codesaaz-core 0.0.37 → 0.0.40

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.
@@ -1,10 +1,28 @@
1
- (function(A,C){typeof exports=="object"&&typeof module<"u"?C(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],C):(A=typeof globalThis<"u"?globalThis:A||self,C(A.Codesaaz={},A.Vue))})(this,function(A,C){"use strict";/*!
1
+ (function(ke,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("vue"),require("vue-router"),require("primevue")):typeof define=="function"&&define.amd?define(["exports","vue","vue-router","primevue"],o):(ke=typeof globalThis<"u"?globalThis:ke||self,o(ke.Codesaaz={},ke.Vue,ke.VueRouter,ke.PrimeVue))})(this,function(ke,o,it,Cr){"use strict";var Er=document.createElement("style");Er.textContent=`.text-color-hint[data-v-8820d348]{color:var( --text-color)}.p-message-wrapper{padding:.5rem}.showHideColor,.sorting-filter-section[data-v-a358808d]:hover,.linked-entity-section[data-v-412eec44]:hover{color:var(--primary-color)}.border-bottom-section[data-v-412eec44]{border-bottom:1px solid var(--surface-border)}.section-heading[data-v-12a444f4]:hover{color:var(--primary-color)}.custom-sidebar[data-v-12a444f4]{padding-left:8%;padding-top:14px;padding-bottom:14px;border-bottom-left-radius:5px;border-bottom-right-radius:5px;background:var(--surface-card);border-top:1px solid var(--surface-border);bottom:0;left:0;position:fixed;right:0;z-index:1111;transition-property:none;transition-duration:.3s;transform:translateY(0)}.custom-sidebar-content[data-v-12a444f4]{display:flex;align-items:center!important;justify-content:space-between;display:inline-flex;word-break:break-word;overflow:visible;flex-grow:1;width:100%}.custom-sidebar-button[data-v-12a444f4]{display:flex;flex-wrap:nowrap;flex-shrink:1}.custom-sidebar-text[data-v-12a444f4]{flex-shrink:100000;width:100%;overflow-x:auto;overflow-y:hidden;display:flex;flex-direction:column;white-space:normal;padding-left:10px}.column-item[data-v-12a444f4]{width:calc(33.33% - 10px);margin-bottom:20px}.tile-grid[data-v-bce4d0f0]{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.tile[data-v-f59ea2d9]:hover{background:var(--surface-hover)}.tile-grid[data-v-066206a2]{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.record-list[data-v-066206a2]{color:var(--primary-color)}.record-head[data-v-066206a2]{color:var(--p-red-400)}.tile[data-v-edc5e5a2]:hover{background:var(--surface-hover)}.error-message[data-v-edc5e5a2]{background-color:#ffe4e4;border:1px solid red;padding:10px;margin-bottom:10px;text-align:center;border-radius:5px}.flex[data-v-c78e676f]{display:flex}.flex-col[data-v-c78e676f]{flex-direction:column}.flex-grow[data-v-c78e676f]{flex-grow:1}.gap-4[data-v-c78e676f]{gap:1rem}.gap-2[data-v-c78e676f]{gap:.5rem}.p-6[data-v-c78e676f]{padding:1.5rem}.bg-white[data-v-c78e676f]{background-color:#fff}.shadow-md[data-v-c78e676f]{box-shadow:0 4px 6px #0000001a}.rounded-lg[data-v-c78e676f]{border-radius:.5rem}.border[data-v-c78e676f]{border-width:1px}.border-gray-300[data-v-c78e676f]{border-color:#d1d5db}.font-bold[data-v-c78e676f]{font-weight:700}.text-gray-700[data-v-c78e676f]{color:#4a5568}.text-gray-600[data-v-c78e676f]{color:#718096}.tile[data-v-037944bc]:hover{background:var(--surface-hover)}.error-message[data-v-037944bc]{background-color:#ffe4e4;border:1px solid red;padding:10px;margin-bottom:10px;text-align:center;border-radius:5px}.flex[data-v-27c0e644]{display:flex}.flex-col[data-v-27c0e644]{flex-direction:column}.flex-grow[data-v-27c0e644]{flex-grow:1}.gap-4[data-v-27c0e644]{gap:1rem}.gap-2[data-v-27c0e644]{gap:.5rem}.p-6[data-v-27c0e644]{padding:1.5rem}.bg-white[data-v-27c0e644]{background-color:#fff}.shadow-md[data-v-27c0e644]{box-shadow:0 4px 6px #0000001a}.rounded-lg[data-v-27c0e644]{border-radius:.5rem}.border[data-v-27c0e644]{border-width:1px}.border-gray-300[data-v-27c0e644]{border-color:#d1d5db}.font-bold[data-v-27c0e644]{font-weight:700}.text-gray-700[data-v-27c0e644]{color:#4a5568}.text-gray-600[data-v-27c0e644]{color:#718096}@media (min-width: 400px) and (max-width: 520px){.responsive-box[data-v-27c0e644]{width:75%}}:root{--vc-clr-primary: #000;--vc-clr-secondary: #090f207f;--vc-clr-white: #ffffff}.carousel,.carousel *{box-sizing:border-box}.carousel{height:var(--vc-carousel-height);overscroll-behavior:none;position:relative;touch-action:pan-y;z-index:1}.carousel.is-dragging{touch-action:none}.carousel__track{display:flex;gap:var(--vc-slide-gap);height:100%;list-style:none;margin:0!important;padding:0!important;position:relative;transition:transform ease-out;transition-duration:var(--vc-transition-duration);width:100%}.carousel__viewport{height:100%;overflow:hidden;width:100%}.carousel__sr-only{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.carousel.is-ttb .carousel__track{flex-direction:column}.carousel.is-btt .carousel__track{flex-direction:column-reverse}.carousel.is-vertical .carousel__slide--clone:first-child{margin-block-start:var(--vc-cloned-offset)}.carousel:not(.is-vertical) .carousel__slide--clone:first-child{margin-inline-start:var(--vc-cloned-offset)}.carousel.is-effect-fade .carousel__track{display:grid;grid-template-columns:100%;grid-template-rows:100%;transition:none}.carousel.is-effect-fade .carousel__slide{grid-area:1 / 1;height:100%!important;opacity:0;pointer-events:none;transition:opacity ease-in-out;transition-duration:var(--vc-transition-duration);width:100%!important}.carousel.is-effect-fade .carousel__slide--active{opacity:1;pointer-events:auto}:root{--vc-icn-width: 1.2em}.carousel__icon{fill:currentColor;height:var(--vc-icn-width);width:var(--vc-icn-width)}:root{--vc-nav-background: transparent;--vc-nav-border-radius: 0;--vc-nav-color: var(--vc-clr-primary);--vc-nav-color-hover: var(--vc-clr-secondary);--vc-nav-height: 30px;--vc-nav-width: 30px}.carousel__next,.carousel__prev{align-items:center;background:var(--vc-nav-background);border:0;border-radius:var(--vc-nav-border-radius);box-sizing:content-box;color:var(--vc-nav-color);cursor:pointer;display:flex;font-size:var(--vc-nav-height);height:var(--vc-nav-height);justify-content:center;margin:0 10px;padding:0;position:absolute;text-align:center;top:50%;transform:translateY(-50%);width:var(--vc-nav-width)}.carousel__next--disabled,.carousel__prev--disabled{cursor:not-allowed;opacity:.5}.carousel__next{right:0}.carousel__prev{left:0}.carousel.is-btt .carousel__next{top:0}.carousel.is-btt .carousel__prev{bottom:0}.carousel.is-rtl .carousel__next{left:0;right:auto}.carousel.is-rtl .carousel__prev{left:auto;right:0}.carousel.is-ttb .carousel__next{bottom:0}.carousel.is-ttb .carousel__prev{top:0}.carousel.is-vertical .carousel__next,.carousel.is-vertical .carousel__prev{left:auto;margin:5px auto;right:50%;top:auto;transform:translate(50%)}@media (hover: hover){.carousel__next:hover,.carousel__prev:hover{color:var(--vc-nav-color-hover)}}:root{--vc-pgn-active-color: var(--vc-clr-primary);--vc-pgn-background-color: var(--vc-clr-secondary);--vc-pgn-border-radius: 0;--vc-pgn-height: 4px;--vc-pgn-margin: 6px 5px;--vc-pgn-width: 16px}.carousel__pagination{bottom:5px;display:flex;justify-content:center;left:50%;line-height:0;list-style:none!important;margin:0!important;padding:0!important;position:absolute;transform:translate(-50%)}.carousel__pagination-button{border:0;cursor:pointer;margin:var(--vc-pgn-margin);background-color:var(--vc-pgn-background-color);border-radius:var(--vc-pgn-border-radius);display:block;height:var(--vc-pgn-height);width:var(--vc-pgn-width);padding:0}.carousel__pagination-button--active{background-color:var(--vc-pgn-active-color)}@media (hover: hover){.carousel__pagination-button:hover{background-color:var(--vc-pgn-active-color)}}.carousel.is-vertical .carousel__pagination{bottom:50%;flex-direction:column;left:auto;right:5px;transform:translateY(50%)}.carousel.is-vertical .carousel__pagination-button{height:var(--vc-pgn-width);width:var(--vc-pgn-height)}.carousel.is-btt .carousel__pagination{flex-direction:column-reverse}.carousel__slide{align-items:center;display:flex;flex-shrink:0;justify-content:center;margin:0;transform:translateZ(0)}.tile[data-v-2c25fd02]:hover{background:var(--surface-hover)}.error-message[data-v-2c25fd02]{background-color:#ffe4e4;border:1px solid red;padding:10px;margin-bottom:10px;text-align:center;border-radius:5px}[data-v-2c25fd02] .carousel__prev,[data-v-2c25fd02] .carousel__next{background-color:var(--primary-color);border-radius:50%;width:40px;height:40px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:20px;transition:background-color .3s}[data-v-2c25fd02] .carousel__prev:hover,[data-v-2c25fd02] .carousel__next:hover{background-color:var(--primary-color)}[data-v-2c25fd02] .carousel__pagination{display:flex;justify-content:center;margin-top:10px}[data-v-2c25fd02] .carousel__pagination-button{width:10px;height:10px;background:gray;border-radius:50%;margin:0 5px;transition:background .3s}[data-v-2c25fd02] .carousel__pagination-button--active{background:var(--primary-color)}@media (min-width: 360px) and (max-width: 520px){[data-v-2c25fd02] .carousel__prev,[data-v-2c25fd02] .carousel__next{background-color:var(--primary-color);border-radius:50%;width:30px;height:30px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:20px;transition:background-color .3s}}.layout-menu-vertical .layout-root-menuitem.is-open>.submenu-vertical[data-v-918f9cb5]{display:block;left:9rem;background-color:#fff;width:12rem}.layout-menu-horizontal .layout-root-menuitem.is-open>.submenu-horizontal[data-v-918f9cb5]{display:block;top:49px;left:0!important}.layout-container.layout-slim-plus .layout-menu .layout-root-menuitem>ul[data-v-918f9cb5]{left:7rem;position:absolute}
2
+ /*$vite$:1*/`,document.head.appendChild(Er);/*!
2
3
  * pinia v2.3.1
3
4
  * (c) 2025 Eduardo San Martin Morote
4
5
  * @license MIT
5
- */let ir;const No=o=>ir=o,ye=Symbol();function Fo(o){return o&&typeof o=="object"&&Object.prototype.toString.call(o)==="[object Object]"&&typeof o.toJSON!="function"}var fo;(function(o){o.direct="direct",o.patchObject="patch object",o.patchFunction="patch function"})(fo||(fo={}));const cr=()=>{};function dr(o,r,e,t=cr){o.push(r);const n=()=>{const a=o.indexOf(r);a>-1&&(o.splice(a,1),t())};return!e&&C.getCurrentScope()&&C.onScopeDispose(n),n}function ao(o,...r){o.slice().forEach(e=>{e(...r)})}const Ce=o=>o(),lr=Symbol(),jo=Symbol();function Ho(o,r){o instanceof Map&&r instanceof Map?r.forEach((e,t)=>o.set(t,e)):o instanceof Set&&r instanceof Set&&r.forEach(o.add,o);for(const e in r){if(!r.hasOwnProperty(e))continue;const t=r[e],n=o[e];Fo(n)&&Fo(t)&&o.hasOwnProperty(e)&&!C.isRef(t)&&!C.isReactive(t)?o[e]=Ho(n,t):o[e]=t}return o}const we=Symbol();function xe(o){return!Fo(o)||!o.hasOwnProperty(we)}const{assign:Z}=Object;function Be(o){return!!(C.isRef(o)&&o.effect)}function Re(o,r,e,t){const{state:n,actions:a,getters:i}=r,c=e.state.value[o];let s;function d(){c||(e.state.value[o]=n?n():{});const l=C.toRefs(e.state.value[o]);return Z(l,a,Object.keys(i||{}).reduce((g,b)=>(g[b]=C.markRaw(C.computed(()=>{No(e);const h=e._s.get(o);return i[b].call(h,h)})),g),{}))}return s=sr(o,d,r,e,t,!0),s}function sr(o,r,e={},t,n,a){let i;const c=Z({actions:{}},e),s={deep:!0};let d,l,g=[],b=[],h;const f=t.state.value[o];!a&&!f&&(t.state.value[o]={}),C.ref({});let m;function p(B){let R;d=l=!1,typeof B=="function"?(B(t.state.value[o]),R={type:fo.patchFunction,storeId:o,events:h}):(Ho(t.state.value[o],B),R={type:fo.patchObject,payload:B,storeId:o,events:h});const W=m=Symbol();C.nextTick().then(()=>{m===W&&(d=!0)}),l=!0,ao(g,R,t.state.value[o])}const y=a?function(){const{state:R}=e,W=R?R():{};this.$patch(M=>{Z(M,W)})}:cr;function S(){i.stop(),g=[],b=[],t._s.delete(o)}const E=(B,R="")=>{if(lr in B)return B[jo]=R,B;const W=function(){No(t);const M=Array.from(arguments),q=[],G=[];function v(I){q.push(I)}function k(I){G.push(I)}ao(b,{args:M,name:W[jo],store:$,after:v,onError:k});let x;try{x=B.apply(this&&this.$id===o?this:$,M)}catch(I){throw ao(G,I),I}return x instanceof Promise?x.then(I=>(ao(q,I),I)).catch(I=>(ao(G,I),Promise.reject(I))):(ao(q,x),x)};return W[lr]=!0,W[jo]=R,W},_={_p:t,$id:o,$onAction:dr.bind(null,b),$patch:p,$reset:y,$subscribe(B,R={}){const W=dr(g,B,R.detached,()=>M()),M=i.run(()=>C.watch(()=>t.state.value[o],q=>{(R.flush==="sync"?l:d)&&B({storeId:o,type:fo.direct,events:h},q)},Z({},s,R)));return W},$dispose:S},$=C.reactive(_);t._s.set(o,$);const P=(t._a&&t._a.runWithContext||Ce)(()=>t._e.run(()=>(i=C.effectScope()).run(()=>r({action:E}))));for(const B in P){const R=P[B];if(C.isRef(R)&&!Be(R)||C.isReactive(R))a||(f&&xe(R)&&(C.isRef(R)?R.value=f[B]:Ho(R,f[B])),t.state.value[o][B]=R);else if(typeof R=="function"){const W=E(R,B);P[B]=W,c.actions[B]=R}}return Z($,P),Z(C.toRaw($),P),Object.defineProperty($,"$state",{get:()=>t.state.value[o],set:B=>{p(R=>{Z(R,B)})}}),t._p.forEach(B=>{Z($,i.run(()=>B({store:$,app:t._a,pinia:t,options:c})))}),f&&a&&e.hydrate&&e.hydrate($.$state,f),d=!0,l=!0,$}/*! #__NO_SIDE_EFFECTS__ */function Mo(o,r,e){let t,n;const a=typeof r=="function";typeof o=="string"?(t=o,n=a?e:r):(n=o,t=o.id);function i(c,s){const d=C.hasInjectionContext();return c=c||(d?C.inject(ye,null):null),c&&No(c),c=ir,c._s.has(t)||(a?sr(t,r,n,c):Re(t,n,c)),c._s.get(t)}return i.$id=t,i}const Q=Mo("globalConfigsStore",{state:()=>({globalConfigs:{}}),actions:{setBaseUrl(o){this.globalConfigs.baseUrl=o},setAppId(o){this.globalConfigs.appId=o}},getters:{getBaseUrl:o=>()=>o.globalConfigs.baseUrl,getAppId:o=>()=>o.globalConfigs.appId}});function ur(o,r){return function(){return o.apply(r,arguments)}}const{toString:Se}=Object.prototype,{getPrototypeOf:Uo}=Object,yo=(o=>r=>{const e=Se.call(r);return o[e]||(o[e]=e.slice(8,-1).toLowerCase())})(Object.create(null)),U=o=>(o=o.toLowerCase(),r=>yo(r)===o),Co=o=>r=>typeof r===o,{isArray:io}=Array,go=Co("undefined");function $e(o){return o!==null&&!go(o)&&o.constructor!==null&&!go(o.constructor)&&H(o.constructor.isBuffer)&&o.constructor.isBuffer(o)}const fr=U("ArrayBuffer");function Ee(o){let r;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?r=ArrayBuffer.isView(o):r=o&&o.buffer&&fr(o.buffer),r}const ze=Co("string"),H=Co("function"),gr=Co("number"),wo=o=>o!==null&&typeof o=="object",_e=o=>o===!0||o===!1,xo=o=>{if(yo(o)!=="object")return!1;const r=Uo(o);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in o)&&!(Symbol.iterator in o)},Oe=U("Date"),De=U("File"),Te=U("Blob"),Pe=U("FileList"),Ie=o=>wo(o)&&H(o.pipe),Ae=o=>{let r;return o&&(typeof FormData=="function"&&o instanceof FormData||H(o.append)&&((r=yo(o))==="formdata"||r==="object"&&H(o.toString)&&o.toString()==="[object FormData]"))},We=U("URLSearchParams"),[Le,Ne,Fe,je]=["ReadableStream","Request","Response","Headers"].map(U),He=o=>o.trim?o.trim():o.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function po(o,r,{allOwnKeys:e=!1}={}){if(o===null||typeof o>"u")return;let t,n;if(typeof o!="object"&&(o=[o]),io(o))for(t=0,n=o.length;t<n;t++)r.call(null,o[t],t,o);else{const a=e?Object.getOwnPropertyNames(o):Object.keys(o),i=a.length;let c;for(t=0;t<i;t++)c=a[t],r.call(null,o[c],c,o)}}function pr(o,r){r=r.toLowerCase();const e=Object.keys(o);let t=e.length,n;for(;t-- >0;)if(n=e[t],r===n.toLowerCase())return n;return null}const oo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,mr=o=>!go(o)&&o!==oo;function Xo(){const{caseless:o}=mr(this)&&this||{},r={},e=(t,n)=>{const a=o&&pr(r,n)||n;xo(r[a])&&xo(t)?r[a]=Xo(r[a],t):xo(t)?r[a]=Xo({},t):io(t)?r[a]=t.slice():r[a]=t};for(let t=0,n=arguments.length;t<n;t++)arguments[t]&&po(arguments[t],e);return r}const Me=(o,r,e,{allOwnKeys:t}={})=>(po(r,(n,a)=>{e&&H(n)?o[a]=ur(n,e):o[a]=n},{allOwnKeys:t}),o),Ue=o=>(o.charCodeAt(0)===65279&&(o=o.slice(1)),o),Xe=(o,r,e,t)=>{o.prototype=Object.create(r.prototype,t),o.prototype.constructor=o,Object.defineProperty(o,"super",{value:r.prototype}),e&&Object.assign(o.prototype,e)},qe=(o,r,e,t)=>{let n,a,i;const c={};if(r=r||{},o==null)return r;do{for(n=Object.getOwnPropertyNames(o),a=n.length;a-- >0;)i=n[a],(!t||t(i,o,r))&&!c[i]&&(r[i]=o[i],c[i]=!0);o=e!==!1&&Uo(o)}while(o&&(!e||e(o,r))&&o!==Object.prototype);return r},Ve=(o,r,e)=>{o=String(o),(e===void 0||e>o.length)&&(e=o.length),e-=r.length;const t=o.indexOf(r,e);return t!==-1&&t===e},Ye=o=>{if(!o)return null;if(io(o))return o;let r=o.length;if(!gr(r))return null;const e=new Array(r);for(;r-- >0;)e[r]=o[r];return e},Ge=(o=>r=>o&&r instanceof o)(typeof Uint8Array<"u"&&Uo(Uint8Array)),Ke=(o,r)=>{const t=(o&&o[Symbol.iterator]).call(o);let n;for(;(n=t.next())&&!n.done;){const a=n.value;r.call(o,a[0],a[1])}},Je=(o,r)=>{let e;const t=[];for(;(e=o.exec(r))!==null;)t.push(e);return t},Ze=U("HTMLFormElement"),Qe=o=>o.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),br=(({hasOwnProperty:o})=>(r,e)=>o.call(r,e))(Object.prototype),ot=U("RegExp"),hr=(o,r)=>{const e=Object.getOwnPropertyDescriptors(o),t={};po(e,(n,a)=>{let i;(i=r(n,a,o))!==!1&&(t[a]=i||n)}),Object.defineProperties(o,t)},rt=o=>{hr(o,(r,e)=>{if(H(o)&&["arguments","caller","callee"].indexOf(e)!==-1)return!1;const t=o[e];if(H(t)){if(r.enumerable=!1,"writable"in r){r.writable=!1;return}r.set||(r.set=()=>{throw Error("Can not rewrite read-only method '"+e+"'")})}})},et=(o,r)=>{const e={},t=n=>{n.forEach(a=>{e[a]=!0})};return io(o)?t(o):t(String(o).split(r)),e},tt=()=>{},nt=(o,r)=>o!=null&&Number.isFinite(o=+o)?o:r,qo="abcdefghijklmnopqrstuvwxyz",vr="0123456789",kr={DIGIT:vr,ALPHA:qo,ALPHA_DIGIT:qo+qo.toUpperCase()+vr},at=(o=16,r=kr.ALPHA_DIGIT)=>{let e="";const{length:t}=r;for(;o--;)e+=r[Math.random()*t|0];return e};function it(o){return!!(o&&H(o.append)&&o[Symbol.toStringTag]==="FormData"&&o[Symbol.iterator])}const ct=o=>{const r=new Array(10),e=(t,n)=>{if(wo(t)){if(r.indexOf(t)>=0)return;if(!("toJSON"in t)){r[n]=t;const a=io(t)?[]:{};return po(t,(i,c)=>{const s=e(i,n+1);!go(s)&&(a[c]=s)}),r[n]=void 0,a}}return t};return e(o,0)},dt=U("AsyncFunction"),lt=o=>o&&(wo(o)||H(o))&&H(o.then)&&H(o.catch),yr=((o,r)=>o?setImmediate:r?((e,t)=>(oo.addEventListener("message",({source:n,data:a})=>{n===oo&&a===e&&t.length&&t.shift()()},!1),n=>{t.push(n),oo.postMessage(e,"*")}))(`axios@${Math.random()}`,[]):e=>setTimeout(e))(typeof setImmediate=="function",H(oo.postMessage)),st=typeof queueMicrotask<"u"?queueMicrotask.bind(oo):typeof process<"u"&&process.nextTick||yr,u={isArray:io,isArrayBuffer:fr,isBuffer:$e,isFormData:Ae,isArrayBufferView:Ee,isString:ze,isNumber:gr,isBoolean:_e,isObject:wo,isPlainObject:xo,isReadableStream:Le,isRequest:Ne,isResponse:Fe,isHeaders:je,isUndefined:go,isDate:Oe,isFile:De,isBlob:Te,isRegExp:ot,isFunction:H,isStream:Ie,isURLSearchParams:We,isTypedArray:Ge,isFileList:Pe,forEach:po,merge:Xo,extend:Me,trim:He,stripBOM:Ue,inherits:Xe,toFlatObject:qe,kindOf:yo,kindOfTest:U,endsWith:Ve,toArray:Ye,forEachEntry:Ke,matchAll:Je,isHTMLForm:Ze,hasOwnProperty:br,hasOwnProp:br,reduceDescriptors:hr,freezeMethods:rt,toObjectSet:et,toCamelCase:Qe,noop:tt,toFiniteNumber:nt,findKey:pr,global:oo,isContextDefined:mr,ALPHABET:kr,generateString:at,isSpecCompliantForm:it,toJSONObject:ct,isAsyncFn:dt,isThenable:lt,setImmediate:yr,asap:st};function w(o,r,e,t,n){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=o,this.name="AxiosError",r&&(this.code=r),e&&(this.config=e),t&&(this.request=t),n&&(this.response=n,this.status=n.status?n.status:null)}u.inherits(w,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:u.toJSONObject(this.config),code:this.code,status:this.status}}});const Cr=w.prototype,wr={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(o=>{wr[o]={value:o}}),Object.defineProperties(w,wr),Object.defineProperty(Cr,"isAxiosError",{value:!0}),w.from=(o,r,e,t,n,a)=>{const i=Object.create(Cr);return u.toFlatObject(o,i,function(s){return s!==Error.prototype},c=>c!=="isAxiosError"),w.call(i,o.message,r,e,t,n),i.cause=o,i.name=o.name,a&&Object.assign(i,a),i};const ut=null;function Vo(o){return u.isPlainObject(o)||u.isArray(o)}function xr(o){return u.endsWith(o,"[]")?o.slice(0,-2):o}function Br(o,r,e){return o?o.concat(r).map(function(n,a){return n=xr(n),!e&&a?"["+n+"]":n}).join(e?".":""):r}function ft(o){return u.isArray(o)&&!o.some(Vo)}const gt=u.toFlatObject(u,{},null,function(r){return/^is[A-Z]/.test(r)});function Bo(o,r,e){if(!u.isObject(o))throw new TypeError("target must be an object");r=r||new FormData,e=u.toFlatObject(e,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,p){return!u.isUndefined(p[m])});const t=e.metaTokens,n=e.visitor||l,a=e.dots,i=e.indexes,s=(e.Blob||typeof Blob<"u"&&Blob)&&u.isSpecCompliantForm(r);if(!u.isFunction(n))throw new TypeError("visitor must be a function");function d(f){if(f===null)return"";if(u.isDate(f))return f.toISOString();if(!s&&u.isBlob(f))throw new w("Blob is not supported. Use a Buffer instead.");return u.isArrayBuffer(f)||u.isTypedArray(f)?s&&typeof Blob=="function"?new Blob([f]):Buffer.from(f):f}function l(f,m,p){let y=f;if(f&&!p&&typeof f=="object"){if(u.endsWith(m,"{}"))m=t?m:m.slice(0,-2),f=JSON.stringify(f);else if(u.isArray(f)&&ft(f)||(u.isFileList(f)||u.endsWith(m,"[]"))&&(y=u.toArray(f)))return m=xr(m),y.forEach(function(E,_){!(u.isUndefined(E)||E===null)&&r.append(i===!0?Br([m],_,a):i===null?m:m+"[]",d(E))}),!1}return Vo(f)?!0:(r.append(Br(p,m,a),d(f)),!1)}const g=[],b=Object.assign(gt,{defaultVisitor:l,convertValue:d,isVisitable:Vo});function h(f,m){if(!u.isUndefined(f)){if(g.indexOf(f)!==-1)throw Error("Circular reference detected in "+m.join("."));g.push(f),u.forEach(f,function(y,S){(!(u.isUndefined(y)||y===null)&&n.call(r,y,u.isString(S)?S.trim():S,m,b))===!0&&h(y,m?m.concat(S):[S])}),g.pop()}}if(!u.isObject(o))throw new TypeError("data must be an object");return h(o),r}function Rr(o){const r={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(o).replace(/[!'()~]|%20|%00/g,function(t){return r[t]})}function Yo(o,r){this._pairs=[],o&&Bo(o,this,r)}const Sr=Yo.prototype;Sr.append=function(r,e){this._pairs.push([r,e])},Sr.toString=function(r){const e=r?function(t){return r.call(this,t,Rr)}:Rr;return this._pairs.map(function(n){return e(n[0])+"="+e(n[1])},"").join("&")};function pt(o){return encodeURIComponent(o).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function $r(o,r,e){if(!r)return o;const t=e&&e.encode||pt;u.isFunction(e)&&(e={serialize:e});const n=e&&e.serialize;let a;if(n?a=n(r,e):a=u.isURLSearchParams(r)?r.toString():new Yo(r,e).toString(t),a){const i=o.indexOf("#");i!==-1&&(o=o.slice(0,i)),o+=(o.indexOf("?")===-1?"?":"&")+a}return o}class Er{constructor(){this.handlers=[]}use(r,e,t){return this.handlers.push({fulfilled:r,rejected:e,synchronous:t?t.synchronous:!1,runWhen:t?t.runWhen:null}),this.handlers.length-1}eject(r){this.handlers[r]&&(this.handlers[r]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(r){u.forEach(this.handlers,function(t){t!==null&&r(t)})}}const zr={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},mt={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Yo,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},Go=typeof window<"u"&&typeof document<"u",Ko=typeof navigator=="object"&&navigator||void 0,bt=Go&&(!Ko||["ReactNative","NativeScript","NS"].indexOf(Ko.product)<0),ht=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",vt=Go&&window.location.href||"http://localhost",L={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Go,hasStandardBrowserEnv:bt,hasStandardBrowserWebWorkerEnv:ht,navigator:Ko,origin:vt},Symbol.toStringTag,{value:"Module"})),...mt};function kt(o,r){return Bo(o,new L.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,a){return L.isNode&&u.isBuffer(e)?(this.append(t,e.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},r))}function yt(o){return u.matchAll(/\w+|\[(\w*)]/g,o).map(r=>r[0]==="[]"?"":r[1]||r[0])}function Ct(o){const r={},e=Object.keys(o);let t;const n=e.length;let a;for(t=0;t<n;t++)a=e[t],r[a]=o[a];return r}function _r(o){function r(e,t,n,a){let i=e[a++];if(i==="__proto__")return!0;const c=Number.isFinite(+i),s=a>=e.length;return i=!i&&u.isArray(n)?n.length:i,s?(u.hasOwnProp(n,i)?n[i]=[n[i],t]:n[i]=t,!c):((!n[i]||!u.isObject(n[i]))&&(n[i]=[]),r(e,t,n[i],a)&&u.isArray(n[i])&&(n[i]=Ct(n[i])),!c)}if(u.isFormData(o)&&u.isFunction(o.entries)){const e={};return u.forEachEntry(o,(t,n)=>{r(yt(t),n,e,0)}),e}return null}function wt(o,r,e){if(u.isString(o))try{return(r||JSON.parse)(o),u.trim(o)}catch(t){if(t.name!=="SyntaxError")throw t}return(0,JSON.stringify)(o)}const mo={transitional:zr,adapter:["xhr","http","fetch"],transformRequest:[function(r,e){const t=e.getContentType()||"",n=t.indexOf("application/json")>-1,a=u.isObject(r);if(a&&u.isHTMLForm(r)&&(r=new FormData(r)),u.isFormData(r))return n?JSON.stringify(_r(r)):r;if(u.isArrayBuffer(r)||u.isBuffer(r)||u.isStream(r)||u.isFile(r)||u.isBlob(r)||u.isReadableStream(r))return r;if(u.isArrayBufferView(r))return r.buffer;if(u.isURLSearchParams(r))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),r.toString();let c;if(a){if(t.indexOf("application/x-www-form-urlencoded")>-1)return kt(r,this.formSerializer).toString();if((c=u.isFileList(r))||t.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return Bo(c?{"files[]":r}:r,s&&new s,this.formSerializer)}}return a||n?(e.setContentType("application/json",!1),wt(r)):r}],transformResponse:[function(r){const e=this.transitional||mo.transitional,t=e&&e.forcedJSONParsing,n=this.responseType==="json";if(u.isResponse(r)||u.isReadableStream(r))return r;if(r&&u.isString(r)&&(t&&!this.responseType||n)){const i=!(e&&e.silentJSONParsing)&&n;try{return JSON.parse(r)}catch(c){if(i)throw c.name==="SyntaxError"?w.from(c,w.ERR_BAD_RESPONSE,this,null,this.response):c}}return r}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:L.classes.FormData,Blob:L.classes.Blob},validateStatus:function(r){return r>=200&&r<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};u.forEach(["delete","get","head","post","put","patch"],o=>{mo.headers[o]={}});const xt=u.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Bt=o=>{const r={};let e,t,n;return o&&o.split(`
6
- `).forEach(function(i){n=i.indexOf(":"),e=i.substring(0,n).trim().toLowerCase(),t=i.substring(n+1).trim(),!(!e||r[e]&&xt[e])&&(e==="set-cookie"?r[e]?r[e].push(t):r[e]=[t]:r[e]=r[e]?r[e]+", "+t:t)}),r},Or=Symbol("internals");function bo(o){return o&&String(o).trim().toLowerCase()}function Ro(o){return o===!1||o==null?o:u.isArray(o)?o.map(Ro):String(o)}function Rt(o){const r=Object.create(null),e=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let t;for(;t=e.exec(o);)r[t[1]]=t[2];return r}const St=o=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(o.trim());function Jo(o,r,e,t,n){if(u.isFunction(t))return t.call(this,r,e);if(n&&(r=e),!!u.isString(r)){if(u.isString(t))return r.indexOf(t)!==-1;if(u.isRegExp(t))return t.test(r)}}function $t(o){return o.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(r,e,t)=>e.toUpperCase()+t)}function Et(o,r){const e=u.toCamelCase(" "+r);["get","set","has"].forEach(t=>{Object.defineProperty(o,t+e,{value:function(n,a,i){return this[t].call(this,r,n,a,i)},configurable:!0})})}class j{constructor(r){r&&this.set(r)}set(r,e,t){const n=this;function a(c,s,d){const l=bo(s);if(!l)throw new Error("header name must be a non-empty string");const g=u.findKey(n,l);(!g||n[g]===void 0||d===!0||d===void 0&&n[g]!==!1)&&(n[g||s]=Ro(c))}const i=(c,s)=>u.forEach(c,(d,l)=>a(d,l,s));if(u.isPlainObject(r)||r instanceof this.constructor)i(r,e);else if(u.isString(r)&&(r=r.trim())&&!St(r))i(Bt(r),e);else if(u.isHeaders(r))for(const[c,s]of r.entries())a(s,c,t);else r!=null&&a(e,r,t);return this}get(r,e){if(r=bo(r),r){const t=u.findKey(this,r);if(t){const n=this[t];if(!e)return n;if(e===!0)return Rt(n);if(u.isFunction(e))return e.call(this,n,t);if(u.isRegExp(e))return e.exec(n);throw new TypeError("parser must be boolean|regexp|function")}}}has(r,e){if(r=bo(r),r){const t=u.findKey(this,r);return!!(t&&this[t]!==void 0&&(!e||Jo(this,this[t],t,e)))}return!1}delete(r,e){const t=this;let n=!1;function a(i){if(i=bo(i),i){const c=u.findKey(t,i);c&&(!e||Jo(t,t[c],c,e))&&(delete t[c],n=!0)}}return u.isArray(r)?r.forEach(a):a(r),n}clear(r){const e=Object.keys(this);let t=e.length,n=!1;for(;t--;){const a=e[t];(!r||Jo(this,this[a],a,r,!0))&&(delete this[a],n=!0)}return n}normalize(r){const e=this,t={};return u.forEach(this,(n,a)=>{const i=u.findKey(t,a);if(i){e[i]=Ro(n),delete e[a];return}const c=r?$t(a):String(a).trim();c!==a&&delete e[a],e[c]=Ro(n),t[c]=!0}),this}concat(...r){return this.constructor.concat(this,...r)}toJSON(r){const e=Object.create(null);return u.forEach(this,(t,n)=>{t!=null&&t!==!1&&(e[n]=r&&u.isArray(t)?t.join(", "):t)}),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([r,e])=>r+": "+e).join(`
7
- `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(r){return r instanceof this?r:new this(r)}static concat(r,...e){const t=new this(r);return e.forEach(n=>t.set(n)),t}static accessor(r){const t=(this[Or]=this[Or]={accessors:{}}).accessors,n=this.prototype;function a(i){const c=bo(i);t[c]||(Et(n,i),t[c]=!0)}return u.isArray(r)?r.forEach(a):a(r),this}}j.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),u.reduceDescriptors(j.prototype,({value:o},r)=>{let e=r[0].toUpperCase()+r.slice(1);return{get:()=>o,set(t){this[e]=t}}}),u.freezeMethods(j);function Zo(o,r){const e=this||mo,t=r||e,n=j.from(t.headers);let a=t.data;return u.forEach(o,function(c){a=c.call(e,a,n.normalize(),r?r.status:void 0)}),n.normalize(),a}function Dr(o){return!!(o&&o.__CANCEL__)}function co(o,r,e){w.call(this,o??"canceled",w.ERR_CANCELED,r,e),this.name="CanceledError"}u.inherits(co,w,{__CANCEL__:!0});function Tr(o,r,e){const t=e.config.validateStatus;!e.status||!t||t(e.status)?o(e):r(new w("Request failed with status code "+e.status,[w.ERR_BAD_REQUEST,w.ERR_BAD_RESPONSE][Math.floor(e.status/100)-4],e.config,e.request,e))}function zt(o){const r=/^([-+\w]{1,25})(:?\/\/|:)/.exec(o);return r&&r[1]||""}function _t(o,r){o=o||10;const e=new Array(o),t=new Array(o);let n=0,a=0,i;return r=r!==void 0?r:1e3,function(s){const d=Date.now(),l=t[a];i||(i=d),e[n]=s,t[n]=d;let g=a,b=0;for(;g!==n;)b+=e[g++],g=g%o;if(n=(n+1)%o,n===a&&(a=(a+1)%o),d-i<r)return;const h=l&&d-l;return h?Math.round(b*1e3/h):void 0}}function Ot(o,r){let e=0,t=1e3/r,n,a;const i=(d,l=Date.now())=>{e=l,n=null,a&&(clearTimeout(a),a=null),o.apply(null,d)};return[(...d)=>{const l=Date.now(),g=l-e;g>=t?i(d,l):(n=d,a||(a=setTimeout(()=>{a=null,i(n)},t-g)))},()=>n&&i(n)]}const So=(o,r,e=3)=>{let t=0;const n=_t(50,250);return Ot(a=>{const i=a.loaded,c=a.lengthComputable?a.total:void 0,s=i-t,d=n(s),l=i<=c;t=i;const g={loaded:i,total:c,progress:c?i/c:void 0,bytes:s,rate:d||void 0,estimated:d&&c&&l?(c-i)/d:void 0,event:a,lengthComputable:c!=null,[r?"download":"upload"]:!0};o(g)},e)},Pr=(o,r)=>{const e=o!=null;return[t=>r[0]({lengthComputable:e,total:o,loaded:t}),r[1]]},Ir=o=>(...r)=>u.asap(()=>o(...r)),Dt=L.hasStandardBrowserEnv?((o,r)=>e=>(e=new URL(e,L.origin),o.protocol===e.protocol&&o.host===e.host&&(r||o.port===e.port)))(new URL(L.origin),L.navigator&&/(msie|trident)/i.test(L.navigator.userAgent)):()=>!0,Tt=L.hasStandardBrowserEnv?{write(o,r,e,t,n,a){const i=[o+"="+encodeURIComponent(r)];u.isNumber(e)&&i.push("expires="+new Date(e).toGMTString()),u.isString(t)&&i.push("path="+t),u.isString(n)&&i.push("domain="+n),a===!0&&i.push("secure"),document.cookie=i.join("; ")},read(o){const r=document.cookie.match(new RegExp("(^|;\\s*)("+o+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove(o){this.write(o,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Pt(o){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(o)}function It(o,r){return r?o.replace(/\/?\/$/,"")+"/"+r.replace(/^\/+/,""):o}function Ar(o,r){return o&&!Pt(r)?It(o,r):r}const Wr=o=>o instanceof j?{...o}:o;function ro(o,r){r=r||{};const e={};function t(d,l,g,b){return u.isPlainObject(d)&&u.isPlainObject(l)?u.merge.call({caseless:b},d,l):u.isPlainObject(l)?u.merge({},l):u.isArray(l)?l.slice():l}function n(d,l,g,b){if(u.isUndefined(l)){if(!u.isUndefined(d))return t(void 0,d,g,b)}else return t(d,l,g,b)}function a(d,l){if(!u.isUndefined(l))return t(void 0,l)}function i(d,l){if(u.isUndefined(l)){if(!u.isUndefined(d))return t(void 0,d)}else return t(void 0,l)}function c(d,l,g){if(g in r)return t(d,l);if(g in o)return t(void 0,d)}const s={url:a,method:a,data:a,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:c,headers:(d,l,g)=>n(Wr(d),Wr(l),g,!0)};return u.forEach(Object.keys(Object.assign({},o,r)),function(l){const g=s[l]||n,b=g(o[l],r[l],l);u.isUndefined(b)&&g!==c||(e[l]=b)}),e}const Lr=o=>{const r=ro({},o);let{data:e,withXSRFToken:t,xsrfHeaderName:n,xsrfCookieName:a,headers:i,auth:c}=r;r.headers=i=j.from(i),r.url=$r(Ar(r.baseURL,r.url),o.params,o.paramsSerializer),c&&i.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):"")));let s;if(u.isFormData(e)){if(L.hasStandardBrowserEnv||L.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((s=i.getContentType())!==!1){const[d,...l]=s?s.split(";").map(g=>g.trim()).filter(Boolean):[];i.setContentType([d||"multipart/form-data",...l].join("; "))}}if(L.hasStandardBrowserEnv&&(t&&u.isFunction(t)&&(t=t(r)),t||t!==!1&&Dt(r.url))){const d=n&&a&&Tt.read(a);d&&i.set(n,d)}return r},At=typeof XMLHttpRequest<"u"&&function(o){return new Promise(function(e,t){const n=Lr(o);let a=n.data;const i=j.from(n.headers).normalize();let{responseType:c,onUploadProgress:s,onDownloadProgress:d}=n,l,g,b,h,f;function m(){h&&h(),f&&f(),n.cancelToken&&n.cancelToken.unsubscribe(l),n.signal&&n.signal.removeEventListener("abort",l)}let p=new XMLHttpRequest;p.open(n.method.toUpperCase(),n.url,!0),p.timeout=n.timeout;function y(){if(!p)return;const E=j.from("getAllResponseHeaders"in p&&p.getAllResponseHeaders()),$={data:!c||c==="text"||c==="json"?p.responseText:p.response,status:p.status,statusText:p.statusText,headers:E,config:o,request:p};Tr(function(P){e(P),m()},function(P){t(P),m()},$),p=null}"onloadend"in p?p.onloadend=y:p.onreadystatechange=function(){!p||p.readyState!==4||p.status===0&&!(p.responseURL&&p.responseURL.indexOf("file:")===0)||setTimeout(y)},p.onabort=function(){p&&(t(new w("Request aborted",w.ECONNABORTED,o,p)),p=null)},p.onerror=function(){t(new w("Network Error",w.ERR_NETWORK,o,p)),p=null},p.ontimeout=function(){let _=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const $=n.transitional||zr;n.timeoutErrorMessage&&(_=n.timeoutErrorMessage),t(new w(_,$.clarifyTimeoutError?w.ETIMEDOUT:w.ECONNABORTED,o,p)),p=null},a===void 0&&i.setContentType(null),"setRequestHeader"in p&&u.forEach(i.toJSON(),function(_,$){p.setRequestHeader($,_)}),u.isUndefined(n.withCredentials)||(p.withCredentials=!!n.withCredentials),c&&c!=="json"&&(p.responseType=n.responseType),d&&([b,f]=So(d,!0),p.addEventListener("progress",b)),s&&p.upload&&([g,h]=So(s),p.upload.addEventListener("progress",g),p.upload.addEventListener("loadend",h)),(n.cancelToken||n.signal)&&(l=E=>{p&&(t(!E||E.type?new co(null,o,p):E),p.abort(),p=null)},n.cancelToken&&n.cancelToken.subscribe(l),n.signal&&(n.signal.aborted?l():n.signal.addEventListener("abort",l)));const S=zt(n.url);if(S&&L.protocols.indexOf(S)===-1){t(new w("Unsupported protocol "+S+":",w.ERR_BAD_REQUEST,o));return}p.send(a||null)})},Wt=(o,r)=>{const{length:e}=o=o?o.filter(Boolean):[];if(r||e){let t=new AbortController,n;const a=function(d){if(!n){n=!0,c();const l=d instanceof Error?d:this.reason;t.abort(l instanceof w?l:new co(l instanceof Error?l.message:l))}};let i=r&&setTimeout(()=>{i=null,a(new w(`timeout ${r} of ms exceeded`,w.ETIMEDOUT))},r);const c=()=>{o&&(i&&clearTimeout(i),i=null,o.forEach(d=>{d.unsubscribe?d.unsubscribe(a):d.removeEventListener("abort",a)}),o=null)};o.forEach(d=>d.addEventListener("abort",a));const{signal:s}=t;return s.unsubscribe=()=>u.asap(c),s}},Lt=function*(o,r){let e=o.byteLength;if(e<r){yield o;return}let t=0,n;for(;t<e;)n=t+r,yield o.slice(t,n),t=n},Nt=async function*(o,r){for await(const e of Ft(o))yield*Lt(e,r)},Ft=async function*(o){if(o[Symbol.asyncIterator]){yield*o;return}const r=o.getReader();try{for(;;){const{done:e,value:t}=await r.read();if(e)break;yield t}}finally{await r.cancel()}},Nr=(o,r,e,t)=>{const n=Nt(o,r);let a=0,i,c=s=>{i||(i=!0,t&&t(s))};return new ReadableStream({async pull(s){try{const{done:d,value:l}=await n.next();if(d){c(),s.close();return}let g=l.byteLength;if(e){let b=a+=g;e(b)}s.enqueue(new Uint8Array(l))}catch(d){throw c(d),d}},cancel(s){return c(s),n.return()}},{highWaterMark:2})},$o=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Fr=$o&&typeof ReadableStream=="function",jt=$o&&(typeof TextEncoder=="function"?(o=>r=>o.encode(r))(new TextEncoder):async o=>new Uint8Array(await new Response(o).arrayBuffer())),jr=(o,...r)=>{try{return!!o(...r)}catch{return!1}},Ht=Fr&&jr(()=>{let o=!1;const r=new Request(L.origin,{body:new ReadableStream,method:"POST",get duplex(){return o=!0,"half"}}).headers.has("Content-Type");return o&&!r}),Hr=64*1024,Qo=Fr&&jr(()=>u.isReadableStream(new Response("").body)),Eo={stream:Qo&&(o=>o.body)};$o&&(o=>{["text","arrayBuffer","blob","formData","stream"].forEach(r=>{!Eo[r]&&(Eo[r]=u.isFunction(o[r])?e=>e[r]():(e,t)=>{throw new w(`Response type '${r}' is not supported`,w.ERR_NOT_SUPPORT,t)})})})(new Response);const Mt=async o=>{if(o==null)return 0;if(u.isBlob(o))return o.size;if(u.isSpecCompliantForm(o))return(await new Request(L.origin,{method:"POST",body:o}).arrayBuffer()).byteLength;if(u.isArrayBufferView(o)||u.isArrayBuffer(o))return o.byteLength;if(u.isURLSearchParams(o)&&(o=o+""),u.isString(o))return(await jt(o)).byteLength},Ut=async(o,r)=>{const e=u.toFiniteNumber(o.getContentLength());return e??Mt(r)},or={http:ut,xhr:At,fetch:$o&&(async o=>{let{url:r,method:e,data:t,signal:n,cancelToken:a,timeout:i,onDownloadProgress:c,onUploadProgress:s,responseType:d,headers:l,withCredentials:g="same-origin",fetchOptions:b}=Lr(o);d=d?(d+"").toLowerCase():"text";let h=Wt([n,a&&a.toAbortSignal()],i),f;const m=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let p;try{if(s&&Ht&&e!=="get"&&e!=="head"&&(p=await Ut(l,t))!==0){let $=new Request(r,{method:"POST",body:t,duplex:"half"}),F;if(u.isFormData(t)&&(F=$.headers.get("content-type"))&&l.setContentType(F),$.body){const[P,B]=Pr(p,So(Ir(s)));t=Nr($.body,Hr,P,B)}}u.isString(g)||(g=g?"include":"omit");const y="credentials"in Request.prototype;f=new Request(r,{...b,signal:h,method:e.toUpperCase(),headers:l.normalize().toJSON(),body:t,duplex:"half",credentials:y?g:void 0});let S=await fetch(f);const E=Qo&&(d==="stream"||d==="response");if(Qo&&(c||E&&m)){const $={};["status","statusText","headers"].forEach(R=>{$[R]=S[R]});const F=u.toFiniteNumber(S.headers.get("content-length")),[P,B]=c&&Pr(F,So(Ir(c),!0))||[];S=new Response(Nr(S.body,Hr,P,()=>{B&&B(),m&&m()}),$)}d=d||"text";let _=await Eo[u.findKey(Eo,d)||"text"](S,o);return!E&&m&&m(),await new Promise(($,F)=>{Tr($,F,{data:_,headers:j.from(S.headers),status:S.status,statusText:S.statusText,config:o,request:f})})}catch(y){throw m&&m(),y&&y.name==="TypeError"&&/fetch/i.test(y.message)?Object.assign(new w("Network Error",w.ERR_NETWORK,o,f),{cause:y.cause||y}):w.from(y,y&&y.code,o,f)}})};u.forEach(or,(o,r)=>{if(o){try{Object.defineProperty(o,"name",{value:r})}catch{}Object.defineProperty(o,"adapterName",{value:r})}});const Mr=o=>`- ${o}`,Xt=o=>u.isFunction(o)||o===null||o===!1,Ur={getAdapter:o=>{o=u.isArray(o)?o:[o];const{length:r}=o;let e,t;const n={};for(let a=0;a<r;a++){e=o[a];let i;if(t=e,!Xt(e)&&(t=or[(i=String(e)).toLowerCase()],t===void 0))throw new w(`Unknown adapter '${i}'`);if(t)break;n[i||"#"+a]=t}if(!t){const a=Object.entries(n).map(([c,s])=>`adapter ${c} `+(s===!1?"is not supported by the environment":"is not available in the build"));let i=r?a.length>1?`since :
8
- `+a.map(Mr).join(`
9
- `):" "+Mr(a[0]):"as no adapter specified";throw new w("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return t},adapters:or};function rr(o){if(o.cancelToken&&o.cancelToken.throwIfRequested(),o.signal&&o.signal.aborted)throw new co(null,o)}function Xr(o){return rr(o),o.headers=j.from(o.headers),o.data=Zo.call(o,o.transformRequest),["post","put","patch"].indexOf(o.method)!==-1&&o.headers.setContentType("application/x-www-form-urlencoded",!1),Ur.getAdapter(o.adapter||mo.adapter)(o).then(function(t){return rr(o),t.data=Zo.call(o,o.transformResponse,t),t.headers=j.from(t.headers),t},function(t){return Dr(t)||(rr(o),t&&t.response&&(t.response.data=Zo.call(o,o.transformResponse,t.response),t.response.headers=j.from(t.response.headers))),Promise.reject(t)})}const qr="1.7.9",zo={};["object","boolean","number","function","string","symbol"].forEach((o,r)=>{zo[o]=function(t){return typeof t===o||"a"+(r<1?"n ":" ")+o}});const Vr={};zo.transitional=function(r,e,t){function n(a,i){return"[Axios v"+qr+"] Transitional option '"+a+"'"+i+(t?". "+t:"")}return(a,i,c)=>{if(r===!1)throw new w(n(i," has been removed"+(e?" in "+e:"")),w.ERR_DEPRECATED);return e&&!Vr[i]&&(Vr[i]=!0,console.warn(n(i," has been deprecated since v"+e+" and will be removed in the near future"))),r?r(a,i,c):!0}},zo.spelling=function(r){return(e,t)=>(console.warn(`${t} is likely a misspelling of ${r}`),!0)};function qt(o,r,e){if(typeof o!="object")throw new w("options must be an object",w.ERR_BAD_OPTION_VALUE);const t=Object.keys(o);let n=t.length;for(;n-- >0;){const a=t[n],i=r[a];if(i){const c=o[a],s=c===void 0||i(c,a,o);if(s!==!0)throw new w("option "+a+" must be "+s,w.ERR_BAD_OPTION_VALUE);continue}if(e!==!0)throw new w("Unknown option "+a,w.ERR_BAD_OPTION)}}const _o={assertOptions:qt,validators:zo},V=_o.validators;class eo{constructor(r){this.defaults=r,this.interceptors={request:new Er,response:new Er}}async request(r,e){try{return await this._request(r,e)}catch(t){if(t instanceof Error){let n={};Error.captureStackTrace?Error.captureStackTrace(n):n=new Error;const a=n.stack?n.stack.replace(/^.+\n/,""):"";try{t.stack?a&&!String(t.stack).endsWith(a.replace(/^.+\n.+\n/,""))&&(t.stack+=`
10
- `+a):t.stack=a}catch{}}throw t}}_request(r,e){typeof r=="string"?(e=e||{},e.url=r):e=r||{},e=ro(this.defaults,e);const{transitional:t,paramsSerializer:n,headers:a}=e;t!==void 0&&_o.assertOptions(t,{silentJSONParsing:V.transitional(V.boolean),forcedJSONParsing:V.transitional(V.boolean),clarifyTimeoutError:V.transitional(V.boolean)},!1),n!=null&&(u.isFunction(n)?e.paramsSerializer={serialize:n}:_o.assertOptions(n,{encode:V.function,serialize:V.function},!0)),_o.assertOptions(e,{baseUrl:V.spelling("baseURL"),withXsrfToken:V.spelling("withXSRFToken")},!0),e.method=(e.method||this.defaults.method||"get").toLowerCase();let i=a&&u.merge(a.common,a[e.method]);a&&u.forEach(["delete","get","head","post","put","patch","common"],f=>{delete a[f]}),e.headers=j.concat(i,a);const c=[];let s=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(e)===!1||(s=s&&m.synchronous,c.unshift(m.fulfilled,m.rejected))});const d=[];this.interceptors.response.forEach(function(m){d.push(m.fulfilled,m.rejected)});let l,g=0,b;if(!s){const f=[Xr.bind(this),void 0];for(f.unshift.apply(f,c),f.push.apply(f,d),b=f.length,l=Promise.resolve(e);g<b;)l=l.then(f[g++],f[g++]);return l}b=c.length;let h=e;for(g=0;g<b;){const f=c[g++],m=c[g++];try{h=f(h)}catch(p){m.call(this,p);break}}try{l=Xr.call(this,h)}catch(f){return Promise.reject(f)}for(g=0,b=d.length;g<b;)l=l.then(d[g++],d[g++]);return l}getUri(r){r=ro(this.defaults,r);const e=Ar(r.baseURL,r.url);return $r(e,r.params,r.paramsSerializer)}}u.forEach(["delete","get","head","options"],function(r){eo.prototype[r]=function(e,t){return this.request(ro(t||{},{method:r,url:e,data:(t||{}).data}))}}),u.forEach(["post","put","patch"],function(r){function e(t){return function(a,i,c){return this.request(ro(c||{},{method:r,headers:t?{"Content-Type":"multipart/form-data"}:{},url:a,data:i}))}}eo.prototype[r]=e(),eo.prototype[r+"Form"]=e(!0)});class er{constructor(r){if(typeof r!="function")throw new TypeError("executor must be a function.");let e;this.promise=new Promise(function(a){e=a});const t=this;this.promise.then(n=>{if(!t._listeners)return;let a=t._listeners.length;for(;a-- >0;)t._listeners[a](n);t._listeners=null}),this.promise.then=n=>{let a;const i=new Promise(c=>{t.subscribe(c),a=c}).then(n);return i.cancel=function(){t.unsubscribe(a)},i},r(function(a,i,c){t.reason||(t.reason=new co(a,i,c),e(t.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(r){if(this.reason){r(this.reason);return}this._listeners?this._listeners.push(r):this._listeners=[r]}unsubscribe(r){if(!this._listeners)return;const e=this._listeners.indexOf(r);e!==-1&&this._listeners.splice(e,1)}toAbortSignal(){const r=new AbortController,e=t=>{r.abort(t)};return this.subscribe(e),r.signal.unsubscribe=()=>this.unsubscribe(e),r.signal}static source(){let r;return{token:new er(function(n){r=n}),cancel:r}}}function Vt(o){return function(e){return o.apply(null,e)}}function Yt(o){return u.isObject(o)&&o.isAxiosError===!0}const tr={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(tr).forEach(([o,r])=>{tr[r]=o});function Yr(o){const r=new eo(o),e=ur(eo.prototype.request,r);return u.extend(e,eo.prototype,r,{allOwnKeys:!0}),u.extend(e,r,null,{allOwnKeys:!0}),e.create=function(n){return Yr(ro(o,n))},e}const O=Yr(mo);O.Axios=eo,O.CanceledError=co,O.CancelToken=er,O.isCancel=Dr,O.VERSION=qr,O.toFormData=Bo,O.AxiosError=w,O.Cancel=O.CanceledError,O.all=function(r){return Promise.all(r)},O.spread=Vt,O.isAxiosError=Yt,O.mergeConfig=ro,O.AxiosHeaders=j,O.formToJSON=o=>_r(u.isHTMLForm(o)?new FormData(o):o),O.getAdapter=Ur.getAdapter,O.HttpStatusCode=tr,O.default=O;const Gt=Mo("loading",{state:()=>({loading:!1}),actions:{setLoading(o){this.loading=o}}});function Kt(){const o=Gt();return{onResponse(r){return o.setLoading(!1),["post","put","delete"].includes(r.config.method)&&console.log("🌐 Operation completed successfully"),r},onError(r){var t,n,a,i,c;o.setLoading(!1);const e=((n=(t=r.response)==null?void 0:t.data)==null?void 0:n.message)||r.message||"Unexpected error occurred";return console.error("🌐 API Error",{url:(a=r.config)==null?void 0:a.url,method:(i=r.config)==null?void 0:i.method,status:(c=r.response)==null?void 0:c.status,message:e}),Promise.reject(r)}}}function Gr(o={}){return{"Content-Type":"application/json",...o}}function ho(){Q();const o=Kt(),r=O.create({headers:Gr()});r.interceptors.response.use(s=>o.onResponse(s),s=>(o.onError(s),Promise.reject(s)));const e=()=>"",t=(s={})=>Gr(s),n=(s={})=>({...s,requestSource:"web"}),a=s=>{const{data:d}=s;return console.log("API Response:",d),d!=null&&d.response||console.warn("Unexpected response format:",d),d},i=s=>{if(s.response){const{status:d,data:l}=s.response;return{success:!1,status:d,message:(l==null?void 0:l.message)||"Something went wrong",data:l||null}}return Promise.reject(s)},c=async({url:s,method:d="get",payload:l=null,headers:g={}})=>{const b=s.startsWith("http")?s:e()+s,h=t(g),f=l?n(l):null;console.log(`Making ${d.toUpperCase()} request to ${b}`),console.log("Payload:",f),console.log("Headers:",h);try{const m={url:b,method:d,headers:h,data:f},p=await r.request(m);return a(p)}catch(m){return i(m)}};return{get:(s,d={})=>c({url:s,method:"get",headers:d}),post:(s,d,l={})=>c({url:s,method:"post",payload:d,headers:l}),put:(s,d,l={})=>c({url:s,method:"put",payload:d,headers:l}),del:(s,d={},l={})=>c({url:s,method:"delete",payload:d,headers:l})}}function Kr(){const o=Q(),{get:r,post:e,put:t,del:n}=ho(),a=()=>o.getAppId();return{getEntities:async()=>{const v=a();return await r(`/api/app/v1/${v}/entity`)},getEntity:async v=>{const k=a();return await r(`/api/app/v1/${k}/entity/${v}`)},saveEntity:async v=>{const k=a();return await e(`/api/app/v1/${k}/entity`,v)},updateEntityGeneralSettings:async(v,k)=>{const x=a();return await t(`/api/app/v1/${x}/entity/${v}/rename`,k)},updateEntityAuditable:async(v,k)=>{const x=a();return await t(`/api/app/v1/${x}/entity/${v}/auditable`,k)},updateEntityRevisionEnabled:async(v,k)=>{const x=a();return await t(`/api/app/v1/${x}/entity/${v}/revision`,k)},updateEntitySoftDelete:async(v,k)=>{const x=a();return await t(`/api/app/v1/${x}/entity/${v}/soft-delete`,k)},updateEntityDeleteProtected:async(v,k)=>{const x=a();return await t(`/api/app/v1/${x}/entity/${v}/delete-protect`,k)},updateEntityColumn:async(v,k)=>{const x=a();return await t(`/api/app/v1/${x}/entity/${v}/column`,k)},saveEntityColumn:async(v,k)=>{const x=a();return await e(`/api/app/v1/${x}/entity/${v}/column`,k)},dropEntityColumn:async(v,k)=>{const x=a();return await n(`/api/app/v1/${x}/entity/${v}/column/${k}`)},saveForeignKey:async(v,k)=>{const x=a();return await t(`/api/app/v1/${x}/entity/foreignKey`,k)},dropForeignKey:async v=>{const k=a();return await n(`/api/app/v1/${k}/entity/foreignKey`,v)},saveUniqueConstraint:async(v,k)=>{const x=a();return await e(`/api/app/v1/${x}/entity/${v}/column/${k}/constraint`)},dropUniqueConstraint:async(v,k)=>{const x=a();return await n(`/api/app/v1/${x}/entity/${v}/column/${k}/constraint`)},saveIndex:async(v,k)=>{const x=a();return await e(`/api/app/v1/${x}/entity/${v}/column-index`,k)},dropIndex:async(v,k)=>{const x=a();return await n(`/api/app/v1/${x}/entity/${v}/column-index`,k)},deleteEntity:async v=>{const k=a();return await n(`/api/app/v1/${k}/entity/${v}`)},getEntityEvents:async v=>{const k=a();return await r(`/api/app/v1/${k}/entity/${v}/event`)},saveEntityEvent:async(v,k)=>{const x=a();return await e(`/api/app/v1/${x}/entity/${v}/event`,k)},deleteEntityEvent:async(v,k)=>{const x=a();return await n(`/api/app/v1/${x}/entity/${v}/event/${k}`)},updateEntityEvent:async(v,k,x)=>{const I=a();return await t(`/api/app/v1/${I}/entity/${v}/event/${k}`,x)},getActionTypes:async()=>{const v=a();return await r(`/api/app/v1/${v}/action-type`)},getActionConfigByType:async v=>{const k=a();return await r(`/api/app/v1/${k}/notification-config/${v}`)}}}const Jt=Mo("entitiesStore",{state:()=>({entities:[],entityService:new Kr}),actions:{async fetchEntities(){try{return await this.entityService.getEntities()}catch(o){console.error("Error fetching entities:",o)}finally{}},async getEntities(){if(this.entities.length===0){const o=await this.fetchEntities();return this.setEntities(o.response),this.entities}else return this.entities},setEntities(o){this.entities=o}},getters:{}}),N=C.reactive({preset:"Aura",primary:"emerald",surface:null,darkTheme:!1,menuMode:"slim-plus",menuTheme:"light"}),D=C.reactive({staticMenuDesktopInactive:!1,overlayMenuActive:!1,configSidebarVisible:!1,staticMenuMobileActive:!1,menuHoverActive:!1,rightMenuActive:!1,topbarMenuActive:!1,sidebarActive:!1,anchored:!1,activeMenuItem:null,overlaySubmenuActive:!1});function Zt(){const o=h=>{if(N.menuMode=h,h==="static"&&(D.staticMenuDesktopInactive=!1),h==="horizontal")if(N.darkTheme){if(!document.startViewTransition){N.menuTheme="dark";return}document.startViewTransition(()=>N.menuTheme="dark")}else{if(!document.startViewTransition){N.menuTheme="light";return}document.startViewTransition(()=>N.menuTheme="light")}},r=h=>{D.activeMenuItem=h.value||h},e=()=>{N.menuMode==="overlay"&&(D.overlayMenuActive=!D.overlayMenuActive),window.innerWidth>991?D.staticMenuDesktopInactive=!D.staticMenuDesktopInactive:D.staticMenuMobileActive=!D.staticMenuMobileActive},t=()=>{n.value&&(D.overlayMenuActive=!1,D.overlaySubmenuActive=!1,D.staticMenuMobileActive=!1,D.menuHoverActive=!1,D.configSidebarVisible=!1),D.configSidebarVisible=!D.configSidebarVisible},n=C.computed(()=>D.overlayMenuActive||D.staticMenuMobileActive||D.overlaySubmenuActive),a=C.computed(()=>window.innerWidth>991),i=C.computed(()=>N.menuMode==="slim"),c=C.computed(()=>N.menuMode==="slim-plus"),s=C.computed(()=>N.menuMode==="horizontal"),d=C.computed(()=>N.menuMode==="overlay"),l=C.computed(()=>N.darkTheme),g=C.computed(()=>N.primary),b=C.computed(()=>N.surface);return{layoutConfig:N,layoutState:D,getPrimary:g,getSurface:b,isDarkTheme:l,setMenuMode:o,toggleMenu:e,isSidebarActive:n,setActiveMenuItem:r,toggleConfigSidebar:t,isSlim:i,isSlimPlus:c,isHorizontal:s,isDesktop:a,isOverlay:d}}var Qt=Object.defineProperty,Jr=Object.getOwnPropertySymbols,on=Object.prototype.hasOwnProperty,rn=Object.prototype.propertyIsEnumerable,Zr=(o,r,e)=>r in o?Qt(o,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[r]=e,en=(o,r)=>{for(var e in r||(r={}))on.call(r,e)&&Zr(o,e,r[e]);if(Jr)for(var e of Jr(r))rn.call(r,e)&&Zr(o,e,r[e]);return o};function nr(o){return o==null||o===""||Array.isArray(o)&&o.length===0||!(o instanceof Date)&&typeof o=="object"&&Object.keys(o).length===0}function tn(o){return!!(o&&o.constructor&&o.call&&o.apply)}function T(o){return!nr(o)}function to(o,r=!0){return o instanceof Object&&o.constructor===Object&&(r||Object.keys(o).length!==0)}function Oo(o,...r){return tn(o)?o(...r):o}function lo(o,r=!0){return typeof o=="string"&&(r||o!=="")}function Qr(o,r=!0){return Array.isArray(o)&&(r||o.length!==0)}function nn(o){return T(o)&&!isNaN(o)}function K(o,r){if(r){const e=r.test(o);return r.lastIndex=0,e}return!1}function oe(...o){const r=(e={},t={})=>{const n=en({},e);return Object.keys(t).forEach(a=>{to(t[a])&&a in e&&to(e[a])?n[a]=r(e[a],t[a]):n[a]=t[a]}),n};return o.reduce((e,t,n)=>n===0?t:r(e,t),{})}function re(o){return o&&o.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g,"").replace(/ {2,}/g," ").replace(/ ([{:}]) /g,"$1").replace(/([;,]) /g,"$1").replace(/ !/g,"!").replace(/: /g,":")}function ee(o){return lo(o)?o.replace(/(_)/g,"-").replace(/[A-Z]/g,(r,e)=>e===0?r:"-"+r.toLowerCase()).toLowerCase():o}function te(o){return lo(o)?o.replace(/[A-Z]/g,(r,e)=>e===0?r:"."+r.toLowerCase()).toLowerCase():o}function an(){const o=new Map;return{on(r,e){let t=o.get(r);return t?t.push(e):t=[e],o.set(r,t),this},off(r,e){let t=o.get(r);return t&&t.splice(t.indexOf(e)>>>0,1),this},emit(r,e){let t=o.get(r);t&&t.slice().map(n=>{n(e)})},clear(){o.clear()}}}var cn=Object.defineProperty,dn=Object.defineProperties,ln=Object.getOwnPropertyDescriptors,Do=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable,ie=(o,r,e)=>r in o?cn(o,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[r]=e,z=(o,r)=>{for(var e in r||(r={}))ne.call(r,e)&&ie(o,e,r[e]);if(Do)for(var e of Do(r))ae.call(r,e)&&ie(o,e,r[e]);return o},so=(o,r)=>dn(o,ln(r)),J=(o,r)=>{var e={};for(var t in o)ne.call(o,t)&&r.indexOf(t)<0&&(e[t]=o[t]);if(o!=null&&Do)for(var t of Do(o))r.indexOf(t)<0&&ae.call(o,t)&&(e[t]=o[t]);return e},sn=an(),no=sn;function ce(o,r){Qr(o)?o.push(...r||[]):to(o)&&Object.assign(o,r)}function un(o){return to(o)&&o.hasOwnProperty("value")&&o.hasOwnProperty("type")?o.value:o}function fn(o){return o.replaceAll(/ /g,"").replace(/[^\w]/g,"-")}function ar(o="",r=""){return fn(`${lo(o,!1)&&lo(r,!1)?`${o}-`:o}${r}`)}function de(o="",r=""){return`--${ar(o,r)}`}function gn(o=""){const r=(o.match(/{/g)||[]).length,e=(o.match(/}/g)||[]).length;return(r+e)%2!==0}function le(o,r="",e="",t=[],n){if(lo(o)){const a=/{([^}]*)}/g,i=o.trim();if(gn(i))return;if(K(i,a)){const c=i.replaceAll(a,l=>{const b=l.replace(/{|}/g,"").split(".").filter(h=>!t.some(f=>K(h,f)));return`var(${de(e,ee(b.join("-")))}${T(n)?`, ${n}`:""})`}),s=/(\d+\s+[\+\-\*\/]\s+\d+)/g,d=/var\([^)]+\)/g;return K(c.replace(d,"0"),s)?`calc(${c})`:c}return i}else if(nn(o))return o}function pn(o,r,e){lo(r,!1)&&o.push(`${r}:${e};`)}function uo(o,r){return o?`${o}{${r}}`:""}var se=(...o)=>mn(Y.getTheme(),...o),mn=(o={},r,e,t)=>{if(r){const{variable:n,options:a}=Y.defaults||{},{prefix:i,transform:c}=(o==null?void 0:o.options)||a||{},d=K(r,/{([^}]*)}/g)?r:`{${r}}`;return t==="value"||nr(t)&&c==="strict"?Y.getTokenValue(r):le(d,void 0,i,[n.excludedKeyRegex],e)}return""},ue=(o={})=>{let{preset:r,options:e}=o;return{preset(t){return r=r?oe(r,t):t,this},options(t){return e=e?z(z({},e),t):t,this},primaryPalette(t){const{semantic:n}=r||{};return r=so(z({},r),{semantic:so(z({},n),{primary:t})}),this},surfacePalette(t){var n,a;const{semantic:i}=r||{},c=t!=null&&t.hasOwnProperty("light")?t==null?void 0:t.light:t,s=t!=null&&t.hasOwnProperty("dark")?t==null?void 0:t.dark:t,d={colorScheme:{light:z(z({},(n=i==null?void 0:i.colorScheme)==null?void 0:n.light),!!c&&{surface:c}),dark:z(z({},(a=i==null?void 0:i.colorScheme)==null?void 0:a.dark),!!s&&{surface:s})}};return r=so(z({},r),{semantic:z(z({},i),d)}),this},define({useDefaultPreset:t=!1,useDefaultOptions:n=!1}={}){return{preset:t?Y.getPreset():r,options:n?Y.getOptions():e}},update({mergePresets:t=!0,mergeOptions:n=!0}={}){const a={preset:t?oe(Y.getPreset(),r):r,options:n?z(z({},Y.getOptions()),e):e};return Y.setTheme(a),a},use(t){const n=this.define(t);return Y.setTheme(n),n}}};function bn(o,r={}){const e=Y.defaults.variable,{prefix:t=e.prefix,selector:n=e.selector,excludedKeyRegex:a=e.excludedKeyRegex}=r,i=(d,l="")=>Object.entries(d).reduce((g,[b,h])=>{const f=K(b,a)?ar(l):ar(l,ee(b)),m=un(h);if(to(m)){const{variables:p,tokens:y}=i(m,f);ce(g.tokens,y),ce(g.variables,p)}else g.tokens.push((t?f.replace(`${t}-`,""):f).replaceAll("-",".")),pn(g.variables,de(f),le(m,f,t,[a]));return g},{variables:[],tokens:[]}),{variables:c,tokens:s}=i(o,t);return{value:c,tokens:s,declarations:c.join(""),css:uo(n,c.join(""))}}var X={regex:{rules:{class:{pattern:/^\.([a-zA-Z][\w-]*)$/,resolve(o){return{type:"class",selector:o,matched:this.pattern.test(o.trim())}}},attr:{pattern:/^\[(.*)\]$/,resolve(o){return{type:"attr",selector:`:root${o}`,matched:this.pattern.test(o.trim())}}},media:{pattern:/^@media (.*)$/,resolve(o){return{type:"media",selector:`${o}{:root{[CSS]}}`,matched:this.pattern.test(o.trim())}}},system:{pattern:/^system$/,resolve(o){return{type:"system",selector:"@media (prefers-color-scheme: dark){:root{[CSS]}}",matched:this.pattern.test(o.trim())}}},custom:{resolve(o){return{type:"custom",selector:o,matched:!0}}}},resolve(o){const r=Object.keys(this.rules).filter(e=>e!=="custom").map(e=>this.rules[e]);return[o].flat().map(e=>{var t;return(t=r.map(n=>n.resolve(e)).find(n=>n.matched))!=null?t:this.rules.custom.resolve(e)})}},_toVariables(o,r){return bn(o,{prefix:r==null?void 0:r.prefix})},getCommon({name:o="",theme:r={},params:e,set:t,defaults:n}){var a,i,c,s,d,l,g;const{preset:b,options:h}=r;let f,m,p,y,S,E,_;if(T(b)&&h.transform!=="strict"){const{primitive:$,semantic:F,extend:P}=b,B=F||{},{colorScheme:R}=B,W=J(B,["colorScheme"]),M=P||{},{colorScheme:q}=M,G=J(M,["colorScheme"]),v=R||{},{dark:k}=v,x=J(v,["dark"]),I=q||{},{dark:Po}=I,Io=J(I,["dark"]),Ao=T($)?this._toVariables({primitive:$},h):{},Wo=T(W)?this._toVariables({semantic:W},h):{},Lo=T(x)?this._toVariables({light:x},h):{},be=T(k)?this._toVariables({dark:k},h):{},he=T(G)?this._toVariables({semantic:G},h):{},ve=T(Io)?this._toVariables({light:Io},h):{},ke=T(Po)?this._toVariables({dark:Po},h):{},[Kc,Jc]=[(a=Ao.declarations)!=null?a:"",Ao.tokens],[Zc,Qc]=[(i=Wo.declarations)!=null?i:"",Wo.tokens||[]],[od,rd]=[(c=Lo.declarations)!=null?c:"",Lo.tokens||[]],[ed,td]=[(s=be.declarations)!=null?s:"",be.tokens||[]],[nd,ad]=[(d=he.declarations)!=null?d:"",he.tokens||[]],[id,cd]=[(l=ve.declarations)!=null?l:"",ve.tokens||[]],[dd,ld]=[(g=ke.declarations)!=null?g:"",ke.tokens||[]];f=this.transformCSS(o,Kc,"light","variable",h,t,n),m=Jc;const sd=this.transformCSS(o,`${Zc}${od}`,"light","variable",h,t,n),ud=this.transformCSS(o,`${ed}`,"dark","variable",h,t,n);p=`${sd}${ud}`,y=[...new Set([...Qc,...rd,...td])];const fd=this.transformCSS(o,`${nd}${id}color-scheme:light`,"light","variable",h,t,n),gd=this.transformCSS(o,`${dd}color-scheme:dark`,"dark","variable",h,t,n);S=`${fd}${gd}`,E=[...new Set([...ad,...cd,...ld])],_=Oo(b.css,{dt:se})}return{primitive:{css:f,tokens:m},semantic:{css:p,tokens:y},global:{css:S,tokens:E},style:_}},getPreset({name:o="",preset:r={},options:e,params:t,set:n,defaults:a,selector:i}){var c,s,d;let l,g,b;if(T(r)&&e.transform!=="strict"){const h=o.replace("-directive",""),f=r,{colorScheme:m,extend:p,css:y}=f,S=J(f,["colorScheme","extend","css"]),E=p||{},{colorScheme:_}=E,$=J(E,["colorScheme"]),F=m||{},{dark:P}=F,B=J(F,["dark"]),R=_||{},{dark:W}=R,M=J(R,["dark"]),q=T(S)?this._toVariables({[h]:z(z({},S),$)},e):{},G=T(B)?this._toVariables({[h]:z(z({},B),M)},e):{},v=T(P)?this._toVariables({[h]:z(z({},P),W)},e):{},[k,x]=[(c=q.declarations)!=null?c:"",q.tokens||[]],[I,Po]=[(s=G.declarations)!=null?s:"",G.tokens||[]],[Io,Ao]=[(d=v.declarations)!=null?d:"",v.tokens||[]],Wo=this.transformCSS(h,`${k}${I}`,"light","variable",e,n,a,i),Lo=this.transformCSS(h,Io,"dark","variable",e,n,a,i);l=`${Wo}${Lo}`,g=[...new Set([...x,...Po,...Ao])],b=Oo(y,{dt:se})}return{css:l,tokens:g,style:b}},getPresetC({name:o="",theme:r={},params:e,set:t,defaults:n}){var a;const{preset:i,options:c}=r,s=(a=i==null?void 0:i.components)==null?void 0:a[o];return this.getPreset({name:o,preset:s,options:c,params:e,set:t,defaults:n})},getPresetD({name:o="",theme:r={},params:e,set:t,defaults:n}){var a;const i=o.replace("-directive",""),{preset:c,options:s}=r,d=(a=c==null?void 0:c.directives)==null?void 0:a[i];return this.getPreset({name:i,preset:d,options:s,params:e,set:t,defaults:n})},applyDarkColorScheme(o){return!(o.darkModeSelector==="none"||o.darkModeSelector===!1)},getColorSchemeOption(o,r){var e;return this.applyDarkColorScheme(o)?this.regex.resolve(o.darkModeSelector===!0?r.options.darkModeSelector:(e=o.darkModeSelector)!=null?e:r.options.darkModeSelector):[]},getLayerOrder(o,r={},e,t){const{cssLayer:n}=r;return n?`@layer ${Oo(n.order||"primeui",e)}`:""},getCommonStyleSheet({name:o="",theme:r={},params:e,props:t={},set:n,defaults:a}){const i=this.getCommon({name:o,theme:r,params:e,set:n,defaults:a}),c=Object.entries(t).reduce((s,[d,l])=>s.push(`${d}="${l}"`)&&s,[]).join(" ");return Object.entries(i||{}).reduce((s,[d,l])=>{if(l!=null&&l.css){const g=re(l==null?void 0:l.css),b=`${d}-variables`;s.push(`<style type="text/css" data-primevue-style-id="${b}" ${c}>${g}</style>`)}return s},[]).join("")},getStyleSheet({name:o="",theme:r={},params:e,props:t={},set:n,defaults:a}){var i;const c={name:o,theme:r,params:e,set:n,defaults:a},s=(i=o.includes("-directive")?this.getPresetD(c):this.getPresetC(c))==null?void 0:i.css,d=Object.entries(t).reduce((l,[g,b])=>l.push(`${g}="${b}"`)&&l,[]).join(" ");return s?`<style type="text/css" data-primevue-style-id="${o}-variables" ${d}>${re(s)}</style>`:""},createTokens(o={},r,e="",t="",n={}){return Object.entries(o).forEach(([a,i])=>{const c=K(a,r.variable.excludedKeyRegex)?e:e?`${e}.${te(a)}`:te(a),s=t?`${t}.${a}`:a;to(i)?this.createTokens(i,r,c,s,n):(n[c]||(n[c]={paths:[],computed(d,l={}){var g,b;return this.paths.length===1?(g=this.paths[0])==null?void 0:g.computed(this.paths[0].scheme,l.binding):d&&d!=="none"?(b=this.paths.find(h=>h.scheme===d))==null?void 0:b.computed(d,l.binding):this.paths.map(h=>h.computed(h.scheme,l[h.scheme]))}}),n[c].paths.push({path:s,value:i,scheme:s.includes("colorScheme.light")?"light":s.includes("colorScheme.dark")?"dark":"none",computed(d,l={}){const g=/{([^}]*)}/g;let b=i;if(l.name=this.path,l.binding||(l.binding={}),K(i,g)){const f=i.trim().replaceAll(g,y=>{var S;const E=y.replace(/{|}/g,""),_=(S=n[E])==null?void 0:S.computed(d,l);return Qr(_)&&_.length===2?`light-dark(${_[0].value},${_[1].value})`:_==null?void 0:_.value}),m=/(\d+\w*\s+[\+\-\*\/]\s+\d+\w*)/g,p=/var\([^)]+\)/g;b=K(f.replace(p,"0"),m)?`calc(${f})`:f}return nr(l.binding)&&delete l.binding,{colorScheme:d,path:this.path,paths:l,value:b.includes("undefined")?void 0:b}}}))}),n},getTokenValue(o,r,e){var t;const a=(s=>s.split(".").filter(l=>!K(l.toLowerCase(),e.variable.excludedKeyRegex)).join("."))(r),i=r.includes("colorScheme.light")?"light":r.includes("colorScheme.dark")?"dark":void 0,c=[(t=o[a])==null?void 0:t.computed(i)].flat().filter(s=>s);return c.length===1?c[0].value:c.reduce((s={},d)=>{const l=d,{colorScheme:g}=l,b=J(l,["colorScheme"]);return s[g]=b,s},void 0)},getSelectorRule(o,r,e,t){return e==="class"||e==="attr"?uo(T(r)?`${o}${r},${o} ${r}`:o,t):uo(o,T(r)?uo(r,t):t)},transformCSS(o,r,e,t,n={},a,i,c){if(T(r)){const{cssLayer:s}=n;if(t!=="style"){const d=this.getColorSchemeOption(n,i);r=e==="dark"?d.reduce((l,{type:g,selector:b})=>(T(b)&&(l+=b.includes("[CSS]")?b.replace("[CSS]",r):this.getSelectorRule(b,c,g,r)),l),""):uo(c??":root",r)}if(s){const d={name:"primeui",order:"primeui"};to(s)&&(d.name=Oo(s.name,{name:o,type:t})),T(d.name)&&(r=uo(`@layer ${d.name}`,r),a==null||a.layerNames(d.name))}return r}return""}},Y={defaults:{variable:{prefix:"p",selector:":root",excludedKeyRegex:/^(primitive|semantic|components|directives|variables|colorscheme|light|dark|common|root|states|extend|css)$/gi},options:{prefix:"p",darkModeSelector:"system",cssLayer:!1}},_theme:void 0,_layerNames:new Set,_loadedStyleNames:new Set,_loadingStyles:new Set,_tokens:{},update(o={}){const{theme:r}=o;r&&(this._theme=so(z({},r),{options:z(z({},this.defaults.options),r.options)}),this._tokens=X.createTokens(this.preset,this.defaults),this.clearLoadedStyleNames())},get theme(){return this._theme},get preset(){var o;return((o=this.theme)==null?void 0:o.preset)||{}},get options(){var o;return((o=this.theme)==null?void 0:o.options)||{}},get tokens(){return this._tokens},getTheme(){return this.theme},setTheme(o){this.update({theme:o}),no.emit("theme:change",o)},getPreset(){return this.preset},setPreset(o){this._theme=so(z({},this.theme),{preset:o}),this._tokens=X.createTokens(o,this.defaults),this.clearLoadedStyleNames(),no.emit("preset:change",o),no.emit("theme:change",this.theme)},getOptions(){return this.options},setOptions(o){this._theme=so(z({},this.theme),{options:o}),this.clearLoadedStyleNames(),no.emit("options:change",o),no.emit("theme:change",this.theme)},getLayerNames(){return[...this._layerNames]},setLayerNames(o){this._layerNames.add(o)},getLoadedStyleNames(){return this._loadedStyleNames},isStyleNameLoaded(o){return this._loadedStyleNames.has(o)},setLoadedStyleName(o){this._loadedStyleNames.add(o)},deleteLoadedStyleName(o){this._loadedStyleNames.delete(o)},clearLoadedStyleNames(){this._loadedStyleNames.clear()},getTokenValue(o){return X.getTokenValue(this.tokens,o,this.defaults)},getCommon(o="",r){return X.getCommon({name:o,theme:this.theme,params:r,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getComponent(o="",r){const e={name:o,theme:this.theme,params:r,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return X.getPresetC(e)},getDirective(o="",r){const e={name:o,theme:this.theme,params:r,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return X.getPresetD(e)},getCustomPreset(o="",r,e,t){const n={name:o,preset:r,options:this.options,selector:e,params:t,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return X.getPreset(n)},getLayerOrderCSS(o=""){return X.getLayerOrder(o,this.options,{names:this.getLayerNames()},this.defaults)},transformCSS(o="",r,e="style",t){return X.transformCSS(o,r,t,e,this.options,{layerNames:this.setLayerNames.bind(this)},this.defaults)},getCommonStyleSheet(o="",r,e={}){return X.getCommonStyleSheet({name:o,theme:this.theme,params:r,props:e,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getStyleSheet(o,r,e={}){return X.getStyleSheet({name:o,theme:this.theme,params:r,props:e,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},onStyleMounted(o){this._loadingStyles.add(o)},onStyleUpdated(o){this._loadingStyles.add(o)},onStyleLoaded(o,{name:r}){this._loadingStyles.size&&(this._loadingStyles.delete(r),no.emit(`theme:${r}:load`,o),!this._loadingStyles.size&&no.emit("theme:load"))}};function hn(o){return ue().surfacePalette(o).update().preset}var vn={root:{transitionDuration:"{transition.duration}"},panel:{borderWidth:"0 0 1px 0",borderColor:"{content.border.color}"},header:{color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{text.color}",padding:"1.125rem",fontWeight:"600",borderRadius:"0",borderWidth:"0",borderColor:"{content.border.color}",background:"{content.background}",hoverBackground:"{content.background}",activeBackground:"{content.background}",activeHoverBackground:"{content.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},toggleIcon:{color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{text.color}",activeHoverColor:"{text.color}"},first:{topBorderRadius:"{content.border.radius}",borderWidth:"0"},last:{bottomBorderRadius:"{content.border.radius}",activeBottomBorderRadius:"0"}},content:{borderWidth:"0",borderColor:"{content.border.color}",background:"{content.background}",color:"{text.color}",padding:"0 1.125rem 1.125rem 1.125rem"}},kn={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}"},overlay:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},list:{padding:"{list.padding}",gap:"{list.gap}"},option:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},optionGroup:{background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},dropdown:{width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"},borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},chip:{borderRadius:"{border.radius.sm}"},emptyMessage:{padding:"{list.option.padding}"},colorScheme:{light:{chip:{focusBackground:"{surface.200}",focusColor:"{surface.800}"},dropdown:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}"}},dark:{chip:{focusBackground:"{surface.700}",focusColor:"{surface.0}"},dropdown:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}"}}}},yn={root:{width:"2rem",height:"2rem",fontSize:"1rem",background:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},icon:{size:"1rem"},group:{borderColor:"{content.background}",offset:"-0.75rem"},lg:{width:"3rem",height:"3rem",fontSize:"1.5rem",icon:{size:"1.5rem"},group:{offset:"-1rem"}},xl:{width:"4rem",height:"4rem",fontSize:"2rem",icon:{size:"2rem"},group:{offset:"-1.5rem"}}},Cn={root:{borderRadius:"{border.radius.md}",padding:"0 0.5rem",fontSize:"0.75rem",fontWeight:"700",minWidth:"1.5rem",height:"1.5rem"},dot:{size:"0.5rem"},sm:{fontSize:"0.625rem",minWidth:"1.25rem",height:"1.25rem"},lg:{fontSize:"0.875rem",minWidth:"1.75rem",height:"1.75rem"},xl:{fontSize:"1rem",minWidth:"2rem",height:"2rem"},colorScheme:{light:{primary:{background:"{primary.color}",color:"{primary.contrast.color}"},secondary:{background:"{surface.100}",color:"{surface.600}"},success:{background:"{green.500}",color:"{surface.0}"},info:{background:"{sky.500}",color:"{surface.0}"},warn:{background:"{orange.500}",color:"{surface.0}"},danger:{background:"{red.500}",color:"{surface.0}"},contrast:{background:"{surface.950}",color:"{surface.0}"}},dark:{primary:{background:"{primary.color}",color:"{primary.contrast.color}"},secondary:{background:"{surface.800}",color:"{surface.300}"},success:{background:"{green.400}",color:"{green.950}"},info:{background:"{sky.400}",color:"{sky.950}"},warn:{background:"{orange.400}",color:"{orange.950}"},danger:{background:"{red.400}",color:"{red.950}"},contrast:{background:"{surface.0}",color:"{surface.950}"}}}},wn={primitive:{borderRadius:{none:"0",xs:"2px",sm:"4px",md:"6px",lg:"8px",xl:"12px"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},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"},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"},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"}},semantic:{transitionDuration:"0.2s",focusRing:{width:"1px",style:"solid",color:"{primary.color}",offset:"2px",shadow:"none"},disabledOpacity:"0.6",iconSize:"1rem",anchorGutter:"2px",primary:{50:"{emerald.50}",100:"{emerald.100}",200:"{emerald.200}",300:"{emerald.300}",400:"{emerald.400}",500:"{emerald.500}",600:"{emerald.600}",700:"{emerald.700}",800:"{emerald.800}",900:"{emerald.900}",950:"{emerald.950}"},formField:{paddingX:"0.75rem",paddingY:"0.5rem",sm:{fontSize:"0.875rem",paddingX:"0.625rem",paddingY:"0.375rem"},lg:{fontSize:"1.125rem",paddingX:"0.875rem",paddingY:"0.625rem"},borderRadius:"{border.radius.md}",focusRing:{width:"0",style:"none",color:"transparent",offset:"0",shadow:"none"},transitionDuration:"{transition.duration}"},list:{padding:"0.25rem 0.25rem",gap:"2px",header:{padding:"0.5rem 1rem 0.25rem 1rem"},option:{padding:"0.5rem 0.75rem",borderRadius:"{border.radius.sm}"},optionGroup:{padding:"0.5rem 0.75rem",fontWeight:"600"}},content:{borderRadius:"{border.radius.md}"},mask:{transitionDuration:"0.15s"},navigation:{list:{padding:"0.25rem 0.25rem",gap:"2px"},item:{padding:"0.5rem 0.75rem",borderRadius:"{border.radius.sm}",gap:"0.5rem"},submenuLabel:{padding:"0.5rem 0.75rem",fontWeight:"600"},submenuIcon:{size:"0.875rem"}},overlay:{select:{borderRadius:"{border.radius.md}",shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"},popover:{borderRadius:"{border.radius.md}",padding:"0.75rem",shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"},modal:{borderRadius:"{border.radius.xl}",padding:"1.25rem",shadow:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1)"},navigation:{shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"}},colorScheme:{light:{surface:{0:"#ffffff",50:"{slate.50}",100:"{slate.100}",200:"{slate.200}",300:"{slate.300}",400:"{slate.400}",500:"{slate.500}",600:"{slate.600}",700:"{slate.700}",800:"{slate.800}",900:"{slate.900}",950:"{slate.950}"},primary:{color:"{primary.500}",contrastColor:"#ffffff",hoverColor:"{primary.600}",activeColor:"{primary.700}"},highlight:{background:"{primary.50}",focusBackground:"{primary.100}",color:"{primary.700}",focusColor:"{primary.800}"},mask:{background:"rgba(0,0,0,0.4)",color:"{surface.200}"},formField:{background:"{surface.0}",disabledBackground:"{surface.200}",filledBackground:"{surface.50}",filledHoverBackground:"{surface.50}",filledFocusBackground:"{surface.50}",borderColor:"{surface.300}",hoverBorderColor:"{surface.400}",focusBorderColor:"{primary.color}",invalidBorderColor:"{red.400}",color:"{surface.700}",disabledColor:"{surface.500}",placeholderColor:"{surface.500}",invalidPlaceholderColor:"{red.600}",floatLabelColor:"{surface.500}",floatLabelFocusColor:"{primary.600}",floatLabelActiveColor:"{surface.500}",floatLabelInvalidColor:"{form.field.invalid.placeholder.color}",iconColor:"{surface.400}",shadow:"0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)"},text:{color:"{surface.700}",hoverColor:"{surface.800}",mutedColor:"{surface.500}",hoverMutedColor:"{surface.600}"},content:{background:"{surface.0}",hoverBackground:"{surface.100}",borderColor:"{surface.200}",color:"{text.color}",hoverColor:"{text.hover.color}"},overlay:{select:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"},popover:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"},modal:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"}},list:{option:{focusBackground:"{surface.100}",selectedBackground:"{highlight.background}",selectedFocusBackground:"{highlight.focus.background}",color:"{text.color}",focusColor:"{text.hover.color}",selectedColor:"{highlight.color}",selectedFocusColor:"{highlight.focus.color}",icon:{color:"{surface.400}",focusColor:"{surface.500}"}},optionGroup:{background:"transparent",color:"{text.muted.color}"}},navigation:{item:{focusBackground:"{surface.100}",activeBackground:"{surface.100}",color:"{text.color}",focusColor:"{text.hover.color}",activeColor:"{text.hover.color}",icon:{color:"{surface.400}",focusColor:"{surface.500}",activeColor:"{surface.500}"}},submenuLabel:{background:"transparent",color:"{text.muted.color}"},submenuIcon:{color:"{surface.400}",focusColor:"{surface.500}",activeColor:"{surface.500}"}}},dark:{surface:{0:"#ffffff",50:"{zinc.50}",100:"{zinc.100}",200:"{zinc.200}",300:"{zinc.300}",400:"{zinc.400}",500:"{zinc.500}",600:"{zinc.600}",700:"{zinc.700}",800:"{zinc.800}",900:"{zinc.900}",950:"{zinc.950}"},primary:{color:"{primary.400}",contrastColor:"{surface.900}",hoverColor:"{primary.300}",activeColor:"{primary.200}"},highlight:{background:"color-mix(in srgb, {primary.400}, transparent 84%)",focusBackground:"color-mix(in srgb, {primary.400}, transparent 76%)",color:"rgba(255,255,255,.87)",focusColor:"rgba(255,255,255,.87)"},mask:{background:"rgba(0,0,0,0.6)",color:"{surface.200}"},formField:{background:"{surface.950}",disabledBackground:"{surface.700}",filledBackground:"{surface.800}",filledHoverBackground:"{surface.800}",filledFocusBackground:"{surface.800}",borderColor:"{surface.600}",hoverBorderColor:"{surface.500}",focusBorderColor:"{primary.color}",invalidBorderColor:"{red.300}",color:"{surface.0}",disabledColor:"{surface.400}",placeholderColor:"{surface.400}",invalidPlaceholderColor:"{red.400}",floatLabelColor:"{surface.400}",floatLabelFocusColor:"{primary.color}",floatLabelActiveColor:"{surface.400}",floatLabelInvalidColor:"{form.field.invalid.placeholder.color}",iconColor:"{surface.400}",shadow:"0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)"},text:{color:"{surface.0}",hoverColor:"{surface.0}",mutedColor:"{surface.400}",hoverMutedColor:"{surface.300}"},content:{background:"{surface.900}",hoverBackground:"{surface.800}",borderColor:"{surface.700}",color:"{text.color}",hoverColor:"{text.hover.color}"},overlay:{select:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"},popover:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"},modal:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"}},list:{option:{focusBackground:"{surface.800}",selectedBackground:"{highlight.background}",selectedFocusBackground:"{highlight.focus.background}",color:"{text.color}",focusColor:"{text.hover.color}",selectedColor:"{highlight.color}",selectedFocusColor:"{highlight.focus.color}",icon:{color:"{surface.500}",focusColor:"{surface.400}"}},optionGroup:{background:"transparent",color:"{text.muted.color}"}},navigation:{item:{focusBackground:"{surface.800}",activeBackground:"{surface.800}",color:"{text.color}",focusColor:"{text.hover.color}",activeColor:"{text.hover.color}",icon:{color:"{surface.500}",focusColor:"{surface.400}",activeColor:"{surface.400}"}},submenuLabel:{background:"transparent",color:"{text.muted.color}"},submenuIcon:{color:"{surface.500}",focusColor:"{surface.400}",activeColor:"{surface.400}"}}}}}},xn={root:{borderRadius:"{content.border.radius}"}},Bn={root:{padding:"1rem",background:"{content.background}",gap:"0.5rem",transitionDuration:"{transition.duration}"},item:{color:"{text.muted.color}",hoverColor:"{text.color}",borderRadius:"{content.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",hoverColor:"{navigation.item.icon.focus.color}"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},separator:{color:"{navigation.item.icon.color}"}},Rn={root:{borderRadius:"{form.field.border.radius}",roundedBorderRadius:"2rem",gap:"0.5rem",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",iconOnlyWidth:"2.5rem",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"},label:{fontWeight:"500"},raisedShadow:"0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"},badgeSize:"1rem",transitionDuration:"{form.field.transition.duration}"},colorScheme:{light:{root:{primary:{background:"{primary.color}",hoverBackground:"{primary.hover.color}",activeBackground:"{primary.active.color}",borderColor:"{primary.color}",hoverBorderColor:"{primary.hover.color}",activeBorderColor:"{primary.active.color}",color:"{primary.contrast.color}",hoverColor:"{primary.contrast.color}",activeColor:"{primary.contrast.color}",focusRing:{color:"{primary.color}",shadow:"none"}},secondary:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",borderColor:"{surface.100}",hoverBorderColor:"{surface.200}",activeBorderColor:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}",focusRing:{color:"{surface.600}",shadow:"none"}},info:{background:"{sky.500}",hoverBackground:"{sky.600}",activeBackground:"{sky.700}",borderColor:"{sky.500}",hoverBorderColor:"{sky.600}",activeBorderColor:"{sky.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{sky.500}",shadow:"none"}},success:{background:"{green.500}",hoverBackground:"{green.600}",activeBackground:"{green.700}",borderColor:"{green.500}",hoverBorderColor:"{green.600}",activeBorderColor:"{green.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{green.500}",shadow:"none"}},warn:{background:"{orange.500}",hoverBackground:"{orange.600}",activeBackground:"{orange.700}",borderColor:"{orange.500}",hoverBorderColor:"{orange.600}",activeBorderColor:"{orange.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{orange.500}",shadow:"none"}},help:{background:"{purple.500}",hoverBackground:"{purple.600}",activeBackground:"{purple.700}",borderColor:"{purple.500}",hoverBorderColor:"{purple.600}",activeBorderColor:"{purple.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{purple.500}",shadow:"none"}},danger:{background:"{red.500}",hoverBackground:"{red.600}",activeBackground:"{red.700}",borderColor:"{red.500}",hoverBorderColor:"{red.600}",activeBorderColor:"{red.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{red.500}",shadow:"none"}},contrast:{background:"{surface.950}",hoverBackground:"{surface.900}",activeBackground:"{surface.800}",borderColor:"{surface.950}",hoverBorderColor:"{surface.900}",activeBorderColor:"{surface.800}",color:"{surface.0}",hoverColor:"{surface.0}",activeColor:"{surface.0}",focusRing:{color:"{surface.950}",shadow:"none"}}},outlined:{primary:{hoverBackground:"{primary.50}",activeBackground:"{primary.100}",borderColor:"{primary.200}",color:"{primary.color}"},secondary:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.200}",color:"{surface.500}"},success:{hoverBackground:"{green.50}",activeBackground:"{green.100}",borderColor:"{green.200}",color:"{green.500}"},info:{hoverBackground:"{sky.50}",activeBackground:"{sky.100}",borderColor:"{sky.200}",color:"{sky.500}"},warn:{hoverBackground:"{orange.50}",activeBackground:"{orange.100}",borderColor:"{orange.200}",color:"{orange.500}"},help:{hoverBackground:"{purple.50}",activeBackground:"{purple.100}",borderColor:"{purple.200}",color:"{purple.500}"},danger:{hoverBackground:"{red.50}",activeBackground:"{red.100}",borderColor:"{red.200}",color:"{red.500}"},contrast:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.700}",color:"{surface.950}"},plain:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.200}",color:"{surface.700}"}},text:{primary:{hoverBackground:"{primary.50}",activeBackground:"{primary.100}",color:"{primary.color}"},secondary:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.500}"},success:{hoverBackground:"{green.50}",activeBackground:"{green.100}",color:"{green.500}"},info:{hoverBackground:"{sky.50}",activeBackground:"{sky.100}",color:"{sky.500}"},warn:{hoverBackground:"{orange.50}",activeBackground:"{orange.100}",color:"{orange.500}"},help:{hoverBackground:"{purple.50}",activeBackground:"{purple.100}",color:"{purple.500}"},danger:{hoverBackground:"{red.50}",activeBackground:"{red.100}",color:"{red.500}"},contrast:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.950}"},plain:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.700}"}},link:{color:"{primary.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}},dark:{root:{primary:{background:"{primary.color}",hoverBackground:"{primary.hover.color}",activeBackground:"{primary.active.color}",borderColor:"{primary.color}",hoverBorderColor:"{primary.hover.color}",activeBorderColor:"{primary.active.color}",color:"{primary.contrast.color}",hoverColor:"{primary.contrast.color}",activeColor:"{primary.contrast.color}",focusRing:{color:"{primary.color}",shadow:"none"}},secondary:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",borderColor:"{surface.800}",hoverBorderColor:"{surface.700}",activeBorderColor:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}",focusRing:{color:"{surface.300}",shadow:"none"}},info:{background:"{sky.400}",hoverBackground:"{sky.300}",activeBackground:"{sky.200}",borderColor:"{sky.400}",hoverBorderColor:"{sky.300}",activeBorderColor:"{sky.200}",color:"{sky.950}",hoverColor:"{sky.950}",activeColor:"{sky.950}",focusRing:{color:"{sky.400}",shadow:"none"}},success:{background:"{green.400}",hoverBackground:"{green.300}",activeBackground:"{green.200}",borderColor:"{green.400}",hoverBorderColor:"{green.300}",activeBorderColor:"{green.200}",color:"{green.950}",hoverColor:"{green.950}",activeColor:"{green.950}",focusRing:{color:"{green.400}",shadow:"none"}},warn:{background:"{orange.400}",hoverBackground:"{orange.300}",activeBackground:"{orange.200}",borderColor:"{orange.400}",hoverBorderColor:"{orange.300}",activeBorderColor:"{orange.200}",color:"{orange.950}",hoverColor:"{orange.950}",activeColor:"{orange.950}",focusRing:{color:"{orange.400}",shadow:"none"}},help:{background:"{purple.400}",hoverBackground:"{purple.300}",activeBackground:"{purple.200}",borderColor:"{purple.400}",hoverBorderColor:"{purple.300}",activeBorderColor:"{purple.200}",color:"{purple.950}",hoverColor:"{purple.950}",activeColor:"{purple.950}",focusRing:{color:"{purple.400}",shadow:"none"}},danger:{background:"{red.400}",hoverBackground:"{red.300}",activeBackground:"{red.200}",borderColor:"{red.400}",hoverBorderColor:"{red.300}",activeBorderColor:"{red.200}",color:"{red.950}",hoverColor:"{red.950}",activeColor:"{red.950}",focusRing:{color:"{red.400}",shadow:"none"}},contrast:{background:"{surface.0}",hoverBackground:"{surface.100}",activeBackground:"{surface.200}",borderColor:"{surface.0}",hoverBorderColor:"{surface.100}",activeBorderColor:"{surface.200}",color:"{surface.950}",hoverColor:"{surface.950}",activeColor:"{surface.950}",focusRing:{color:"{surface.0}",shadow:"none"}}},outlined:{primary:{hoverBackground:"color-mix(in srgb, {primary.color}, transparent 96%)",activeBackground:"color-mix(in srgb, {primary.color}, transparent 84%)",borderColor:"{primary.700}",color:"{primary.color}"},secondary:{hoverBackground:"rgba(255,255,255,0.04)",activeBackground:"rgba(255,255,255,0.16)",borderColor:"{surface.700}",color:"{surface.400}"},success:{hoverBackground:"color-mix(in srgb, {green.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {green.400}, transparent 84%)",borderColor:"{green.700}",color:"{green.400}"},info:{hoverBackground:"color-mix(in srgb, {sky.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {sky.400}, transparent 84%)",borderColor:"{sky.700}",color:"{sky.400}"},warn:{hoverBackground:"color-mix(in srgb, {orange.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {orange.400}, transparent 84%)",borderColor:"{orange.700}",color:"{orange.400}"},help:{hoverBackground:"color-mix(in srgb, {purple.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {purple.400}, transparent 84%)",borderColor:"{purple.700}",color:"{purple.400}"},danger:{hoverBackground:"color-mix(in srgb, {red.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {red.400}, transparent 84%)",borderColor:"{red.700}",color:"{red.400}"},contrast:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{surface.500}",color:"{surface.0}"},plain:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{surface.600}",color:"{surface.0}"}},text:{primary:{hoverBackground:"color-mix(in srgb, {primary.color}, transparent 96%)",activeBackground:"color-mix(in srgb, {primary.color}, transparent 84%)",color:"{primary.color}"},secondary:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.400}"},success:{hoverBackground:"color-mix(in srgb, {green.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {green.400}, transparent 84%)",color:"{green.400}"},info:{hoverBackground:"color-mix(in srgb, {sky.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {sky.400}, transparent 84%)",color:"{sky.400}"},warn:{hoverBackground:"color-mix(in srgb, {orange.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {orange.400}, transparent 84%)",color:"{orange.400}"},help:{hoverBackground:"color-mix(in srgb, {purple.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {purple.400}, transparent 84%)",color:"{purple.400}"},danger:{hoverBackground:"color-mix(in srgb, {red.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {red.400}, transparent 84%)",color:"{red.400}"},contrast:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.0}"},plain:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.0}"}},link:{color:"{primary.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}}}},Sn={root:{background:"{content.background}",borderRadius:"{border.radius.xl}",color:"{content.color}",shadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},body:{padding:"1.25rem",gap:"0.5rem"},caption:{gap:"0.5rem"},title:{fontSize:"1.25rem",fontWeight:"500"},subtitle:{color:"{text.muted.color}"}},$n={root:{transitionDuration:"{transition.duration}"},content:{gap:"0.25rem"},indicatorList:{padding:"1rem",gap:"0.5rem"},indicator:{width:"2rem",height:"0.5rem",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},colorScheme:{light:{indicator:{background:"{surface.200}",hoverBackground:"{surface.300}",activeBackground:"{primary.color}"}},dark:{indicator:{background:"{surface.700}",hoverBackground:"{surface.600}",activeBackground:"{primary.color}"}}}},En={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},dropdown:{width:"2.5rem",color:"{form.field.icon.color}"},overlay:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},list:{padding:"{list.padding}",gap:"{list.gap}",mobileIndent:"1rem"},option:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}",icon:{color:"{list.option.icon.color}",focusColor:"{list.option.icon.focus.color}",size:"0.875rem"}},clearIcon:{color:"{form.field.icon.color}"}},zn={root:{borderRadius:"{border.radius.sm}",width:"1.25rem",height:"1.25rem",background:"{form.field.background}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.border.color}",checkedBorderColor:"{primary.color}",checkedHoverBorderColor:"{primary.hover.color}",checkedFocusBorderColor:"{primary.color}",checkedDisabledBorderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{width:"1rem",height:"1rem"},lg:{width:"1.5rem",height:"1.5rem"}},icon:{size:"0.875rem",color:"{form.field.color}",checkedColor:"{primary.contrast.color}",checkedHoverColor:"{primary.contrast.color}",disabledColor:"{form.field.disabled.color}",sm:{size:"0.75rem"},lg:{size:"1rem"}}},_n={root:{borderRadius:"16px",paddingX:"0.75rem",paddingY:"0.5rem",gap:"0.5rem",transitionDuration:"{transition.duration}"},image:{width:"2rem",height:"2rem"},icon:{size:"1rem"},removeIcon:{size:"1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"}},colorScheme:{light:{root:{background:"{surface.100}",color:"{surface.800}"},icon:{color:"{surface.800}"},removeIcon:{color:"{surface.800}"}},dark:{root:{background:"{surface.800}",color:"{surface.0}"},icon:{color:"{surface.0}"},removeIcon:{color:"{surface.0}"}}}},On={root:{transitionDuration:"{transition.duration}"},preview:{width:"1.5rem",height:"1.5rem",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},panel:{shadow:"{overlay.popover.shadow}",borderRadius:"{overlay.popover.borderRadius}"},colorScheme:{light:{panel:{background:"{surface.800}",borderColor:"{surface.900}"},handle:{color:"{surface.0}"}},dark:{panel:{background:"{surface.900}",borderColor:"{surface.700}"},handle:{color:"{surface.0}"}}}},Dn={icon:{size:"2rem",color:"{overlay.modal.color}"},content:{gap:"1rem"}},Tn={root:{background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",color:"{overlay.popover.color}",borderRadius:"{overlay.popover.border.radius}",shadow:"{overlay.popover.shadow}",gutter:"10px",arrowOffset:"1.25rem"},content:{padding:"{overlay.popover.padding}",gap:"1rem"},icon:{size:"1.5rem",color:"{overlay.popover.color}"},footer:{gap:"0.5rem",padding:"0 {overlay.popover.padding} {overlay.popover.padding} {overlay.popover.padding}"}},Pn={root:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},list:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},item:{focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},submenu:{mobileIndent:"1rem"},submenuIcon:{size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},separator:{borderColor:"{content.border.color}"}},In={root:{transitionDuration:"{transition.duration}"},header:{background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},headerCell:{background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{datatable.border.color}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",gap:"0.5rem",padding:"0.75rem 1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},columnTitle:{fontWeight:"600"},row:{background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},bodyCell:{borderColor:"{datatable.border.color}",padding:"0.75rem 1rem"},footerCell:{background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",padding:"0.75rem 1rem"},columnFooter:{fontWeight:"600"},footer:{background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},dropPoint:{color:"{primary.color}"},columnResizerWidth:"0.5rem",resizeIndicator:{width:"1px",color:"{primary.color}"},sortIcon:{color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},loadingIcon:{size:"2rem"},rowToggleButton:{hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",selectedHoverColor:"{primary.color}",size:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},filter:{inlineGap:"0.5rem",overlaySelect:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},overlayPopover:{background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",borderRadius:"{overlay.popover.border.radius}",color:"{overlay.popover.color}",shadow:"{overlay.popover.shadow}",padding:"{overlay.popover.padding}",gap:"0.5rem"},rule:{borderColor:"{content.border.color}"},constraintList:{padding:"{list.padding}",gap:"{list.gap}"},constraint:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",separator:{borderColor:"{content.border.color}"},padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"}},paginatorTop:{borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},paginatorBottom:{borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},colorScheme:{light:{root:{borderColor:"{content.border.color}"},row:{stripedBackground:"{surface.50}"},bodyCell:{selectedBorderColor:"{primary.100}"}},dark:{root:{borderColor:"{surface.800}"},row:{stripedBackground:"{surface.950}"},bodyCell:{selectedBorderColor:"{primary.900}"}}}},An={root:{borderColor:"transparent",borderWidth:"0",borderRadius:"0",padding:"0"},header:{background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",borderRadius:"0"},content:{background:"{content.background}",color:"{content.color}",borderColor:"transparent",borderWidth:"0",padding:"0",borderRadius:"0"},footer:{background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"1px 0 0 0",padding:"0.75rem 1rem",borderRadius:"0"},paginatorTop:{borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},paginatorBottom:{borderColor:"{content.border.color}",borderWidth:"1px 0 0 0"}},Wn={root:{transitionDuration:"{transition.duration}"},panel:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.popover.shadow}",padding:"{overlay.popover.padding}"},header:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",padding:"0 0 0.5rem 0"},title:{gap:"0.5rem",fontWeight:"500"},dropdown:{width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"},borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},inputIcon:{color:"{form.field.icon.color}"},selectMonth:{hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}"},selectYear:{hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}"},group:{borderColor:"{content.border.color}",gap:"{overlay.popover.padding}"},dayView:{margin:"0.5rem 0 0 0"},weekDay:{padding:"0.25rem",fontWeight:"500",color:"{content.color}"},date:{hoverBackground:"{content.hover.background}",selectedBackground:"{primary.color}",rangeSelectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{primary.contrast.color}",rangeSelectedColor:"{highlight.color}",width:"2rem",height:"2rem",borderRadius:"50%",padding:"0.25rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},monthView:{margin:"0.5rem 0 0 0"},month:{padding:"0.375rem",borderRadius:"{content.border.radius}"},yearView:{margin:"0.5rem 0 0 0"},year:{padding:"0.375rem",borderRadius:"{content.border.radius}"},buttonbar:{padding:"0.5rem 0 0 0",borderColor:"{content.border.color}"},timePicker:{padding:"0.5rem 0 0 0",borderColor:"{content.border.color}",gap:"0.5rem",buttonGap:"0.25rem"},colorScheme:{light:{dropdown:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}"},today:{background:"{surface.200}",color:"{surface.900}"}},dark:{dropdown:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}"},today:{background:"{surface.700}",color:"{surface.0}"}}}},Ln={root:{background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",borderRadius:"{overlay.modal.border.radius}",shadow:"{overlay.modal.shadow}"},header:{padding:"{overlay.modal.padding}",gap:"0.5rem"},title:{fontSize:"1.25rem",fontWeight:"600"},content:{padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},footer:{padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}",gap:"0.5rem"}},Nn={root:{borderColor:"{content.border.color}"},content:{background:"{content.background}",color:"{text.color}"},horizontal:{margin:"1rem 0",padding:"0 1rem",content:{padding:"0 0.5rem"}},vertical:{margin:"0 1rem",padding:"0.5rem 0",content:{padding:"0.5rem 0"}}},Fn={root:{background:"rgba(255, 255, 255, 0.1)",borderColor:"rgba(255, 255, 255, 0.2)",padding:"0.5rem",borderRadius:"{border.radius.xl}"},item:{borderRadius:"{content.border.radius}",padding:"0.5rem",size:"3rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}}},jn={root:{background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",shadow:"{overlay.modal.shadow}"},header:{padding:"{overlay.modal.padding}"},title:{fontSize:"1.5rem",fontWeight:"600"},content:{padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},footer:{padding:"{overlay.modal.padding}"}},Hn={toolbar:{background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}"},toolbarItem:{color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},overlay:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}",padding:"{list.padding}"},overlayOption:{focusBackground:"{list.option.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},content:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"}},Mn={root:{background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",padding:"0 1.125rem 1.125rem 1.125rem",transitionDuration:"{transition.duration}"},legend:{background:"{content.background}",hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",borderRadius:"{content.border.radius}",borderWidth:"1px",borderColor:"transparent",padding:"0.5rem 0.75rem",gap:"0.5rem",fontWeight:"600",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},toggleIcon:{color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}"},content:{padding:"0"}},Un={root:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},header:{background:"transparent",color:"{text.color}",padding:"1.125rem",borderColor:"unset",borderWidth:"0",borderRadius:"0",gap:"0.5rem"},content:{highlightBorderColor:"{primary.color}",padding:"0 1.125rem 1.125rem 1.125rem",gap:"1rem"},file:{padding:"1rem",gap:"1rem",borderColor:"{content.border.color}",info:{gap:"0.5rem"}},fileList:{gap:"0.5rem"},progressbar:{height:"0.25rem"},basic:{gap:"0.5rem"}},Xn={root:{color:"{form.field.float.label.color}",focusColor:"{form.field.float.label.focus.color}",activeColor:"{form.field.float.label.active.color}",invalidColor:"{form.field.float.label.invalid.color}",transitionDuration:"0.2s",positionX:"{form.field.padding.x}",positionY:"{form.field.padding.y}",fontWeight:"500",active:{fontSize:"0.75rem",fontWeight:"400"}},over:{active:{top:"-1.25rem"}},in:{input:{paddingTop:"1.5rem",paddingBottom:"{form.field.padding.y}"},active:{top:"{form.field.padding.y}"}},on:{borderRadius:"{border.radius.xs}",active:{background:"{form.field.background}",padding:"0 0.125rem"}}},qn={root:{borderWidth:"1px",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},navButton:{background:"rgba(255, 255, 255, 0.1)",hoverBackground:"rgba(255, 255, 255, 0.2)",color:"{surface.100}",hoverColor:"{surface.0}",size:"3rem",gutter:"0.5rem",prev:{borderRadius:"50%"},next:{borderRadius:"50%"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},navIcon:{size:"1.5rem"},thumbnailsContent:{background:"{content.background}",padding:"1rem 0.25rem"},thumbnailNavButton:{size:"2rem",borderRadius:"{content.border.radius}",gutter:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},thumbnailNavButtonIcon:{size:"1rem"},caption:{background:"rgba(0, 0, 0, 0.5)",color:"{surface.100}",padding:"1rem"},indicatorList:{gap:"0.5rem",padding:"1rem"},indicatorButton:{width:"1rem",height:"1rem",activeBackground:"{primary.color}",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},insetIndicatorList:{background:"rgba(0, 0, 0, 0.5)"},insetIndicatorButton:{background:"rgba(255, 255, 255, 0.4)",hoverBackground:"rgba(255, 255, 255, 0.6)",activeBackground:"rgba(255, 255, 255, 0.9)"},closeButton:{size:"3rem",gutter:"0.5rem",background:"rgba(255, 255, 255, 0.1)",hoverBackground:"rgba(255, 255, 255, 0.2)",color:"{surface.50}",hoverColor:"{surface.0}",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},closeButtonIcon:{size:"1.5rem"},colorScheme:{light:{thumbnailNavButton:{hoverBackground:"{surface.100}",color:"{surface.600}",hoverColor:"{surface.700}"},indicatorButton:{background:"{surface.200}",hoverBackground:"{surface.300}"}},dark:{thumbnailNavButton:{hoverBackground:"{surface.700}",color:"{surface.400}",hoverColor:"{surface.0}"},indicatorButton:{background:"{surface.700}",hoverBackground:"{surface.600}"}}}},Vn={icon:{color:"{form.field.icon.color}"}},Yn={root:{color:"{form.field.float.label.color}",focusColor:"{form.field.float.label.focus.color}",invalidColor:"{form.field.float.label.invalid.color}",transitionDuration:"0.2s",positionX:"{form.field.padding.x}",top:"{form.field.padding.y}",fontSize:"0.75rem",fontWeight:"400"},input:{paddingTop:"1.5rem",paddingBottom:"{form.field.padding.y}"}},Gn={root:{transitionDuration:"{transition.duration}"},preview:{icon:{size:"1.5rem"},mask:{background:"{mask.background}",color:"{mask.color}"}},toolbar:{position:{left:"auto",right:"1rem",top:"1rem",bottom:"auto"},blur:"8px",background:"rgba(255,255,255,0.1)",borderColor:"rgba(255,255,255,0.2)",borderWidth:"1px",borderRadius:"30px",padding:".5rem",gap:"0.5rem"},action:{hoverBackground:"rgba(255,255,255,0.1)",color:"{surface.50}",hoverColor:"{surface.0}",size:"3rem",iconSize:"1.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}}},Kn={handle:{size:"15px",hoverSize:"30px",background:"rgba(255,255,255,0.3)",hoverBackground:"rgba(255,255,255,0.3)",borderColor:"unset",hoverBorderColor:"unset",borderWidth:"0",borderRadius:"50%",transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"rgba(255,255,255,0.3)",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}}},Jn={root:{padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{content.border.radius}",gap:"0.5rem"},text:{fontWeight:"500"},icon:{size:"1rem"},colorScheme:{light:{info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)"},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)"},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)"},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)"},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)"},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)"}},dark:{info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)"},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)"},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)"},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)"},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)"},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)"}}}},Zn={root:{padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{transition.duration}"},display:{hoverBackground:"{content.hover.background}",hoverColor:"{content.hover.color}"}},Qn={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}"},chip:{borderRadius:"{border.radius.sm}"},colorScheme:{light:{chip:{focusBackground:"{surface.200}",color:"{surface.800}"}},dark:{chip:{focusBackground:"{surface.700}",color:"{surface.0}"}}}},oa={addon:{background:"{form.field.background}",borderColor:"{form.field.border.color}",color:"{form.field.icon.color}",borderRadius:"{form.field.border.radius}",padding:"0.5rem",minWidth:"2.5rem"}},ra={root:{transitionDuration:"{transition.duration}"},button:{width:"2.5rem",borderRadius:"{form.field.border.radius}",verticalPadding:"{form.field.padding.y}"},colorScheme:{light:{button:{background:"transparent",hoverBackground:"{surface.100}",activeBackground:"{surface.200}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",color:"{surface.400}",hoverColor:"{surface.500}",activeColor:"{surface.600}"}},dark:{button:{background:"transparent",hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",color:"{surface.400}",hoverColor:"{surface.300}",activeColor:"{surface.200}"}}}},ea={root:{gap:"0.5rem"},input:{width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"}}},ta={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}}},na={root:{transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},value:{background:"{primary.color}"},range:{background:"{content.border.color}"},text:{color:"{text.muted.color}"}},aa={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",borderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",shadow:"{form.field.shadow}",borderRadius:"{form.field.border.radius}",transitionDuration:"{form.field.transition.duration}"},list:{padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},option:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},optionGroup:{background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},checkmark:{color:"{list.option.color}",gutterStart:"-0.375rem",gutterEnd:"0.375rem"},emptyMessage:{padding:"{list.option.padding}"},colorScheme:{light:{option:{stripedBackground:"{surface.50}"}},dark:{option:{stripedBackground:"{surface.900}"}}}},ia={root:{background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",verticalOrientation:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},horizontalOrientation:{padding:"0.5rem 0.75rem",gap:"0.5rem"},transitionDuration:"{transition.duration}"},baseItem:{borderRadius:"{content.border.radius}",padding:"{navigation.item.padding}"},item:{focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},overlay:{padding:"0",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",shadow:"{overlay.navigation.shadow}",gap:"0.5rem"},submenu:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},submenuLabel:{padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background.}",color:"{navigation.submenu.label.color}"},submenuIcon:{size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},separator:{borderColor:"{content.border.color}"},mobileButton:{borderRadius:"50%",size:"1.75rem",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",hoverBackground:"{content.hover.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}}},ca={root:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},list:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},item:{focusBackground:"{navigation.item.focus.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}"}},submenuLabel:{padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background}",color:"{navigation.submenu.label.color}"},separator:{borderColor:"{content.border.color}"}},da={root:{background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",padding:"0.5rem 0.75rem",transitionDuration:"{transition.duration}"},baseItem:{borderRadius:"{content.border.radius}",padding:"{navigation.item.padding}"},item:{focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},submenu:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",mobileIndent:"1rem",icon:{size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"}},separator:{borderColor:"{content.border.color}"},mobileButton:{borderRadius:"50%",size:"1.75rem",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",hoverBackground:"{content.hover.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}}},la={root:{borderRadius:"{content.border.radius}",borderWidth:"1px",transitionDuration:"{transition.duration}"},content:{padding:"0.5rem 0.75rem",gap:"0.5rem",sm:{padding:"0.375rem 0.625rem"},lg:{padding:"0.625rem 0.875rem"}},text:{fontSize:"1rem",fontWeight:"500",sm:{fontSize:"0.875rem"},lg:{fontSize:"1.125rem"}},icon:{size:"1.125rem",sm:{size:"1rem"},lg:{size:"1.25rem"}},closeButton:{width:"1.75rem",height:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},closeIcon:{size:"1rem",sm:{size:"0.875rem"},lg:{size:"1.125rem"}},outlined:{root:{borderWidth:"1px"}},simple:{content:{padding:"0"}},colorScheme:{light:{info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"{blue.100}",focusRing:{color:"{blue.600}",shadow:"none"}},outlined:{color:"{blue.600}",borderColor:"{blue.600}"},simple:{color:"{blue.600}"}},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"{green.100}",focusRing:{color:"{green.600}",shadow:"none"}},outlined:{color:"{green.600}",borderColor:"{green.600}"},simple:{color:"{green.600}"}},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"{yellow.100}",focusRing:{color:"{yellow.600}",shadow:"none"}},outlined:{color:"{yellow.600}",borderColor:"{yellow.600}"},simple:{color:"{yellow.600}"}},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"{red.100}",focusRing:{color:"{red.600}",shadow:"none"}},outlined:{color:"{red.600}",borderColor:"{red.600}"},simple:{color:"{red.600}"}},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.200}",focusRing:{color:"{surface.600}",shadow:"none"}},outlined:{color:"{surface.500}",borderColor:"{surface.500}"},simple:{color:"{surface.500}"}},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.800}",focusRing:{color:"{surface.50}",shadow:"none"}},outlined:{color:"{surface.950}",borderColor:"{surface.950}"},simple:{color:"{surface.950}"}}},dark:{info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{blue.500}",shadow:"none"}},outlined:{color:"{blue.500}",borderColor:"{blue.500}"},simple:{color:"{blue.500}"}},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{green.500}",shadow:"none"}},outlined:{color:"{green.500}",borderColor:"{green.500}"},simple:{color:"{green.500}"}},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{yellow.500}",shadow:"none"}},outlined:{color:"{yellow.500}",borderColor:"{yellow.500}"},simple:{color:"{yellow.500}"}},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{red.500}",shadow:"none"}},outlined:{color:"{red.500}",borderColor:"{red.500}"},simple:{color:"{red.500}"}},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.700}",focusRing:{color:"{surface.300}",shadow:"none"}},outlined:{color:"{surface.400}",borderColor:"{surface.400}"},simple:{color:"{surface.400}"}},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.100}",focusRing:{color:"{surface.950}",shadow:"none"}},outlined:{color:"{surface.0}",borderColor:"{surface.0}"},simple:{color:"{surface.0}"}}}}},sa={root:{borderRadius:"{content.border.radius}",gap:"1rem"},meters:{background:"{content.border.color}",size:"0.5rem"},label:{gap:"0.5rem"},labelMarker:{size:"0.5rem"},labelIcon:{size:"1rem"},labelList:{verticalGap:"0.5rem",horizontalGap:"1rem"}},ua={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},dropdown:{width:"2.5rem",color:"{form.field.icon.color}"},overlay:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},list:{padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},option:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}",gap:"0.5rem"},optionGroup:{background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},clearIcon:{color:"{form.field.icon.color}"},chip:{borderRadius:"{border.radius.sm}"},emptyMessage:{padding:"{list.option.padding}"}},fa={root:{gap:"1.125rem"},controls:{gap:"0.5rem"}},ga={root:{gutter:"0.75rem",transitionDuration:"{transition.duration}"},node:{background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{content.border.color}",color:"{content.color}",selectedColor:"{highlight.color}",hoverColor:"{content.hover.color}",padding:"0.75rem 1rem",toggleablePadding:"0.75rem 1rem 1.25rem 1rem",borderRadius:"{content.border.radius}"},nodeToggleButton:{background:"{content.background}",hoverBackground:"{content.hover.background}",borderColor:"{content.border.color}",color:"{text.muted.color}",hoverColor:"{text.color}",size:"1.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},connector:{color:"{content.border.color}",borderRadius:"{content.border.radius}",height:"24px"}},pa={root:{outline:{width:"2px",color:"{content.background}"}}},ma={root:{padding:"0.5rem 1rem",gap:"0.25rem",borderRadius:"{content.border.radius}",background:"{content.background}",color:"{content.color}",transitionDuration:"{transition.duration}"},navButton:{background:"transparent",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedColor:"{highlight.color}",width:"2.5rem",height:"2.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},currentPageReport:{color:"{text.muted.color}"},jumpToPageInput:{maxWidth:"2.5rem"}},ba={root:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},header:{background:"transparent",color:"{text.color}",padding:"1.125rem",borderColor:"{content.border.color}",borderWidth:"0",borderRadius:"0"},toggleableHeader:{padding:"0.375rem 1.125rem"},title:{fontWeight:"600"},content:{padding:"0 1.125rem 1.125rem 1.125rem"},footer:{padding:"0 1.125rem 1.125rem 1.125rem"}},ha={root:{gap:"0.5rem",transitionDuration:"{transition.duration}"},panel:{background:"{content.background}",borderColor:"{content.border.color}",borderWidth:"1px",color:"{content.color}",padding:"0.25rem 0.25rem",borderRadius:"{content.border.radius}",first:{borderWidth:"1px",topBorderRadius:"{content.border.radius}"},last:{borderWidth:"1px",bottomBorderRadius:"{content.border.radius}"}},item:{focusBackground:"{navigation.item.focus.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",gap:"0.5rem",padding:"{navigation.item.padding}",borderRadius:"{content.border.radius}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}"}},submenu:{indent:"1rem"},submenuIcon:{color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}"}},va={meter:{background:"{content.border.color}",borderRadius:"{content.border.radius}",height:".75rem"},icon:{color:"{form.field.icon.color}"},overlay:{background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",borderRadius:"{overlay.popover.border.radius}",color:"{overlay.popover.color}",padding:"{overlay.popover.padding}",shadow:"{overlay.popover.shadow}"},content:{gap:"0.5rem"},colorScheme:{light:{strength:{weakBackground:"{red.500}",mediumBackground:"{amber.500}",strongBackground:"{green.500}"}},dark:{strength:{weakBackground:"{red.400}",mediumBackground:"{amber.400}",strongBackground:"{green.400}"}}}},ka={root:{gap:"1.125rem"},controls:{gap:"0.5rem"}},ya={root:{background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",color:"{overlay.popover.color}",borderRadius:"{overlay.popover.border.radius}",shadow:"{overlay.popover.shadow}",gutter:"10px",arrowOffset:"1.25rem"},content:{padding:"{overlay.popover.padding}"}},Ca={root:{background:"{content.border.color}",borderRadius:"{content.border.radius}",height:"1.25rem"},value:{background:"{primary.color}"},label:{color:"{primary.contrast.color}",fontSize:"0.75rem",fontWeight:"600"}},wa={colorScheme:{light:{root:{"color.1":"{red.500}","color.2":"{blue.500}","color.3":"{green.500}","color.4":"{yellow.500}"}},dark:{root:{"color.1":"{red.400}","color.2":"{blue.400}","color.3":"{green.400}","color.4":"{yellow.400}"}}}},xa={root:{width:"1.25rem",height:"1.25rem",background:"{form.field.background}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.border.color}",checkedBorderColor:"{primary.color}",checkedHoverBorderColor:"{primary.hover.color}",checkedFocusBorderColor:"{primary.color}",checkedDisabledBorderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{width:"1rem",height:"1rem"},lg:{width:"1.5rem",height:"1.5rem"}},icon:{size:"0.75rem",checkedColor:"{primary.contrast.color}",checkedHoverColor:"{primary.contrast.color}",disabledColor:"{form.field.disabled.color}",sm:{size:"0.5rem"},lg:{size:"1rem"}}},Ba={root:{gap:"0.25rem",transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},icon:{size:"1rem",color:"{text.muted.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}},Ra={colorScheme:{light:{root:{background:"rgba(0,0,0,0.1)"}},dark:{root:{background:"rgba(255,255,255,0.3)"}}}},Sa={root:{transitionDuration:"{transition.duration}"},bar:{size:"9px",borderRadius:"{border.radius.sm}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},colorScheme:{light:{bar:{background:"{surface.100}"}},dark:{bar:{background:"{surface.800}"}}}},$a={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},dropdown:{width:"2.5rem",color:"{form.field.icon.color}"},overlay:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},list:{padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},option:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},optionGroup:{background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},clearIcon:{color:"{form.field.icon.color}"},checkmark:{color:"{list.option.color}",gutterStart:"-0.375rem",gutterEnd:"0.375rem"},emptyMessage:{padding:"{list.option.padding}"}},Ea={root:{borderRadius:"{form.field.border.radius}"},colorScheme:{light:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}},dark:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}}}},za={root:{borderRadius:"{content.border.radius}"},colorScheme:{light:{root:{background:"{surface.200}",animationBackground:"rgba(255,255,255,0.4)"}},dark:{root:{background:"rgba(255, 255, 255, 0.06)",animationBackground:"rgba(255, 255, 255, 0.04)"}}}},_a={root:{transitionDuration:"{transition.duration}"},track:{background:"{content.border.color}",borderRadius:"{content.border.radius}",size:"3px"},range:{background:"{primary.color}"},handle:{width:"20px",height:"20px",borderRadius:"50%",background:"{content.border.color}",hoverBackground:"{content.border.color}",content:{borderRadius:"50%",hoverBackground:"{content.background}",width:"16px",height:"16px",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.08), 0px 1px 1px 0px rgba(0, 0, 0, 0.14)"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},colorScheme:{light:{handle:{contentBackground:"{surface.0}"}},dark:{handle:{contentBackground:"{surface.950}"}}}},Oa={root:{gap:"0.5rem",transitionDuration:"{transition.duration}"}},Da={root:{borderRadius:"{form.field.border.radius}",roundedBorderRadius:"2rem",raisedShadow:"0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)"}},Ta={root:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",transitionDuration:"{transition.duration}"},gutter:{background:"{content.border.color}"},handle:{size:"24px",background:"transparent",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}}},Pa={root:{transitionDuration:"{transition.duration}"},separator:{background:"{content.border.color}",activeBackground:"{primary.color}",margin:"0 0 0 1.625rem",size:"2px"},step:{padding:"0.5rem",gap:"1rem"},stepHeader:{padding:"0",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},gap:"0.5rem"},stepTitle:{color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},stepNumber:{background:"{content.background}",activeBackground:"{content.background}",borderColor:"{content.border.color}",activeBorderColor:"{content.border.color}",color:"{text.muted.color}",activeColor:"{primary.color}",size:"2rem",fontSize:"1.143rem",fontWeight:"500",borderRadius:"50%",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"},steppanels:{padding:"0.875rem 0.5rem 1.125rem 0.5rem"},steppanel:{background:"{content.background}",color:"{content.color}",padding:"0",indent:"1rem"}},Ia={root:{transitionDuration:"{transition.duration}"},separator:{background:"{content.border.color}"},itemLink:{borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},gap:"0.5rem"},itemLabel:{color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},itemNumber:{background:"{content.background}",activeBackground:"{content.background}",borderColor:"{content.border.color}",activeBorderColor:"{content.border.color}",color:"{text.muted.color}",activeColor:"{primary.color}",size:"2rem",fontSize:"1.143rem",fontWeight:"500",borderRadius:"50%",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"}},Aa={root:{transitionDuration:"{transition.duration}"},tablist:{borderWidth:"0 0 1px 0",background:"{content.background}",borderColor:"{content.border.color}"},item:{background:"transparent",hoverBackground:"transparent",activeBackground:"transparent",borderWidth:"0 0 1px 0",borderColor:"{content.border.color}",hoverBorderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}",padding:"1rem 1.125rem",fontWeight:"600",margin:"0 0 -1px 0",gap:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},itemIcon:{color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},activeBar:{height:"1px",bottom:"-1px",background:"{primary.color}"}},Wa={root:{transitionDuration:"{transition.duration}"},tablist:{borderWidth:"0 0 1px 0",background:"{content.background}",borderColor:"{content.border.color}"},tab:{background:"transparent",hoverBackground:"transparent",activeBackground:"transparent",borderWidth:"0 0 1px 0",borderColor:"{content.border.color}",hoverBorderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}",padding:"1rem 1.125rem",fontWeight:"600",margin:"0 0 -1px 0",gap:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},tabpanel:{background:"{content.background}",color:"{content.color}",padding:"0.875rem 1.125rem 1.125rem 1.125rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"inset {focus.ring.shadow}"}},navButton:{background:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",width:"2.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},activeBar:{height:"1px",bottom:"-1px",background:"{primary.color}"},colorScheme:{light:{navButton:{shadow:"0px 0px 10px 50px rgba(255, 255, 255, 0.6)"}},dark:{navButton:{shadow:"0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)"}}}},La={root:{transitionDuration:"{transition.duration}"},tabList:{background:"{content.background}",borderColor:"{content.border.color}"},tab:{borderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},tabPanel:{background:"{content.background}",color:"{content.color}"},navButton:{background:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}"},colorScheme:{light:{navButton:{shadow:"0px 0px 10px 50px rgba(255, 255, 255, 0.6)"}},dark:{navButton:{shadow:"0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)"}}}},Na={root:{fontSize:"0.875rem",fontWeight:"700",padding:"0.25rem 0.5rem",gap:"0.25rem",borderRadius:"{content.border.radius}",roundedBorderRadius:"{border.radius.xl}"},icon:{size:"0.75rem"},colorScheme:{light:{primary:{background:"{primary.100}",color:"{primary.700}"},secondary:{background:"{surface.100}",color:"{surface.600}"},success:{background:"{green.100}",color:"{green.700}"},info:{background:"{sky.100}",color:"{sky.700}"},warn:{background:"{orange.100}",color:"{orange.700}"},danger:{background:"{red.100}",color:"{red.700}"},contrast:{background:"{surface.950}",color:"{surface.0}"}},dark:{primary:{background:"color-mix(in srgb, {primary.500}, transparent 84%)",color:"{primary.300}"},secondary:{background:"{surface.800}",color:"{surface.300}"},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",color:"{green.300}"},info:{background:"color-mix(in srgb, {sky.500}, transparent 84%)",color:"{sky.300}"},warn:{background:"color-mix(in srgb, {orange.500}, transparent 84%)",color:"{orange.300}"},danger:{background:"color-mix(in srgb, {red.500}, transparent 84%)",color:"{red.300}"},contrast:{background:"{surface.0}",color:"{surface.950}"}}}},Fa={root:{background:"{form.field.background}",borderColor:"{form.field.border.color}",color:"{form.field.color}",height:"18rem",padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{form.field.border.radius}"},prompt:{gap:"0.25rem"},commandResponse:{margin:"2px 0"}},ja={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}}},Ha={root:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},list:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},item:{focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},submenu:{mobileIndent:"1rem"},submenuIcon:{size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},separator:{borderColor:"{content.border.color}"}},Ma={event:{minHeight:"5rem"},horizontal:{eventContent:{padding:"1rem 0"}},vertical:{eventContent:{padding:"0 1rem"}},eventMarker:{size:"1.125rem",borderRadius:"50%",borderWidth:"2px",background:"{content.background}",borderColor:"{content.border.color}",content:{borderRadius:"50%",size:"0.375rem",background:"{primary.color}",insetShadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"}},eventConnector:{color:"{content.border.color}",size:"2px"}},Ua={root:{width:"25rem",borderRadius:"{content.border.radius}",borderWidth:"1px",transitionDuration:"{transition.duration}"},icon:{size:"1.125rem"},content:{padding:"{overlay.popover.padding}",gap:"0.5rem"},text:{gap:"0.5rem"},summary:{fontWeight:"500",fontSize:"1rem"},detail:{fontWeight:"500",fontSize:"0.875rem"},closeButton:{width:"1.75rem",height:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},closeIcon:{size:"1rem"},colorScheme:{light:{blur:"1.5px",info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"{blue.100}",focusRing:{color:"{blue.600}",shadow:"none"}}},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"{green.100}",focusRing:{color:"{green.600}",shadow:"none"}}},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"{yellow.100}",focusRing:{color:"{yellow.600}",shadow:"none"}}},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"{red.100}",focusRing:{color:"{red.600}",shadow:"none"}}},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.200}",focusRing:{color:"{surface.600}",shadow:"none"}}},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.800}",focusRing:{color:"{surface.50}",shadow:"none"}}}},dark:{blur:"10px",info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{blue.500}",shadow:"none"}}},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{green.500}",shadow:"none"}}},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{yellow.500}",shadow:"none"}}},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{red.500}",shadow:"none"}}},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.700}",focusRing:{color:"{surface.300}",shadow:"none"}}},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",detailColor:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.100}",focusRing:{color:"{surface.950}",shadow:"none"}}}}}},Xa={root:{padding:"0.5rem 1rem",borderRadius:"{content.border.radius}",gap:"0.5rem",fontWeight:"500",disabledBackground:"{form.field.disabled.background}",disabledBorderColor:"{form.field.disabled.background}",disabledColor:"{form.field.disabled.color}",invalidBorderColor:"{form.field.invalid.border.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",padding:"0.375rem 0.75rem"},lg:{fontSize:"{form.field.lg.font.size}",padding:"0.625rem 1.25rem"}},icon:{disabledColor:"{form.field.disabled.color}"},content:{left:"0.25rem",top:"0.25rem",checkedShadow:"0px 1px 2px 0px rgba(0, 0, 0, 0.02), 0px 1px 2px 0px rgba(0, 0, 0, 0.04)"},colorScheme:{light:{root:{background:"{surface.100}",checkedBackground:"{surface.100}",hoverBackground:"{surface.100}",borderColor:"{surface.100}",color:"{surface.500}",hoverColor:"{surface.700}",checkedColor:"{surface.900}",checkedBorderColor:"{surface.100}"},content:{checkedBackground:"{surface.0}"},icon:{color:"{surface.500}",hoverColor:"{surface.700}",checkedColor:"{surface.900}"}},dark:{root:{background:"{surface.950}",checkedBackground:"{surface.950}",hoverBackground:"{surface.950}",borderColor:"{surface.950}",color:"{surface.400}",hoverColor:"{surface.300}",checkedColor:"{surface.0}",checkedBorderColor:"{surface.950}"},content:{checkedBackground:"{surface.800}"},icon:{color:"{surface.400}",hoverColor:"{surface.300}",checkedColor:"{surface.0}"}}}},qa={root:{width:"2.5rem",height:"1.5rem",borderRadius:"30px",gap:"0.25rem",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},borderWidth:"1px",borderColor:"transparent",hoverBorderColor:"transparent",checkedBorderColor:"transparent",checkedHoverBorderColor:"transparent",invalidBorderColor:"{form.field.invalid.border.color}",transitionDuration:"{form.field.transition.duration}",slideDuration:"0.2s"},handle:{borderRadius:"50%",size:"1rem"},colorScheme:{light:{root:{background:"{surface.300}",disabledBackground:"{form.field.disabled.background}",hoverBackground:"{surface.400}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}"},handle:{background:"{surface.0}",disabledBackground:"{form.field.disabled.color}",hoverBackground:"{surface.0}",checkedBackground:"{surface.0}",checkedHoverBackground:"{surface.0}",color:"{text.muted.color}",hoverColor:"{text.color}",checkedColor:"{primary.color}",checkedHoverColor:"{primary.hover.color}"}},dark:{root:{background:"{surface.700}",disabledBackground:"{surface.600}",hoverBackground:"{surface.600}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}"},handle:{background:"{surface.400}",disabledBackground:"{surface.900}",hoverBackground:"{surface.300}",checkedBackground:"{surface.900}",checkedHoverBackground:"{surface.900}",color:"{surface.900}",hoverColor:"{surface.800}",checkedColor:"{primary.color}",checkedHoverColor:"{primary.hover.color}"}}}},Va={root:{background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",padding:"0.75rem"}},Ya={root:{maxWidth:"12.5rem",gutter:"0.25rem",shadow:"{overlay.popover.shadow}",padding:"0.5rem 0.75rem",borderRadius:"{overlay.popover.border.radius}"},colorScheme:{light:{root:{background:"{surface.700}",color:"{surface.0}"}},dark:{root:{background:"{surface.700}",color:"{surface.0}"}}}},Ga={root:{background:"{content.background}",color:"{content.color}",padding:"1rem",gap:"2px",indent:"1rem",transitionDuration:"{transition.duration}"},node:{padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{text.color}",hoverColor:"{text.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},gap:"0.25rem"},nodeIcon:{color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedColor:"{highlight.color}"},nodeToggleButton:{borderRadius:"50%",size:"1.75rem",hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedHoverColor:"{primary.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},loadingIcon:{size:"2rem"},filter:{margin:"0 0 0.5rem 0"}},Ka={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},dropdown:{width:"2.5rem",color:"{form.field.icon.color}"},overlay:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},tree:{padding:"{list.padding}"},clearIcon:{color:"{form.field.icon.color}"},emptyMessage:{padding:"{list.option.padding}"},chip:{borderRadius:"{border.radius.sm}"}},Ja={root:{transitionDuration:"{transition.duration}"},header:{background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},headerCell:{background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{treetable.border.color}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",gap:"0.5rem",padding:"0.75rem 1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},columnTitle:{fontWeight:"600"},row:{background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},bodyCell:{borderColor:"{treetable.border.color}",padding:"0.75rem 1rem",gap:"0.5rem"},footerCell:{background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",padding:"0.75rem 1rem"},columnFooter:{fontWeight:"600"},footer:{background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},columnResizerWidth:"0.5rem",resizeIndicator:{width:"1px",color:"{primary.color}"},sortIcon:{color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},loadingIcon:{size:"2rem"},nodeToggleButton:{hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",selectedHoverColor:"{primary.color}",size:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},paginatorTop:{borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},paginatorBottom:{borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},colorScheme:{light:{root:{borderColor:"{content.border.color}"},bodyCell:{selectedBorderColor:"{primary.100}"}},dark:{root:{borderColor:"{surface.800}"},bodyCell:{selectedBorderColor:"{primary.900}"}}}},Za={loader:{mask:{background:"{content.background}",color:"{text.muted.color}"},icon:{size:"2rem"}}};function vo(o){"@babel/helpers - typeof";return vo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},vo(o)}function fe(o,r){var e=Object.keys(o);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(o);r&&(t=t.filter(function(n){return Object.getOwnPropertyDescriptor(o,n).enumerable})),e.push.apply(e,t)}return e}function ge(o){for(var r=1;r<arguments.length;r++){var e=arguments[r]!=null?arguments[r]:{};r%2?fe(Object(e),!0).forEach(function(t){Qa(o,t,e[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(e)):fe(Object(e)).forEach(function(t){Object.defineProperty(o,t,Object.getOwnPropertyDescriptor(e,t))})}return o}function Qa(o,r,e){return(r=oi(r))in o?Object.defineProperty(o,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):o[r]=e,o}function oi(o){var r=ri(o,"string");return vo(r)=="symbol"?r:r+""}function ri(o,r){if(vo(o)!="object"||!o)return o;var e=o[Symbol.toPrimitive];if(e!==void 0){var t=e.call(o,r||"default");if(vo(t)!="object")return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(o)}var ei=ge(ge({},wn),{},{components:{accordion:vn,autocomplete:kn,avatar:yn,badge:Cn,blockui:xn,breadcrumb:Bn,button:Rn,datepicker:Wn,card:Sn,carousel:$n,cascadeselect:En,checkbox:zn,chip:_n,colorpicker:On,confirmdialog:Dn,confirmpopup:Tn,contextmenu:Pn,dataview:An,datatable:In,dialog:Ln,divider:Nn,dock:Fn,drawer:jn,editor:Hn,fieldset:Mn,fileupload:Un,iftalabel:Yn,floatlabel:Xn,galleria:qn,iconfield:Vn,image:Gn,imagecompare:Kn,inlinemessage:Jn,inplace:Zn,inputchips:Qn,inputgroup:oa,inputnumber:ra,inputotp:ea,inputtext:ta,knob:na,listbox:aa,megamenu:ia,menu:ca,menubar:da,message:la,metergroup:sa,multiselect:ua,orderlist:fa,organizationchart:ga,overlaybadge:pa,popover:ya,paginator:ma,password:va,panel:ba,panelmenu:ha,picklist:ka,progressbar:Ca,progressspinner:wa,radiobutton:xa,rating:Ba,scrollpanel:Sa,select:$a,selectbutton:Ea,skeleton:za,slider:_a,speeddial:Oa,splitter:Ta,splitbutton:Da,stepper:Pa,steps:Ia,tabmenu:Aa,tabs:Wa,tabview:La,textarea:ja,tieredmenu:Ha,tag:Na,terminal:Fa,timeline:Ma,togglebutton:Xa,toggleswitch:qa,tree:Ga,treeselect:Ka,treetable:Ja,toast:Ua,toolbar:Va,virtualscroller:Za},directives:{tooltip:Ya,ripple:Ra}}),ti={root:{transitionDuration:"{transition.duration}"},panel:{borderWidth:"0",borderColor:"{content.border.color}"},header:{color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{text.color}",padding:"1.125rem",fontWeight:"700",borderRadius:"0",borderWidth:"0 1px 1px 1px",borderColor:"{content.border.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"inset {focus.ring.shadow}"},toggleIcon:{color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{text.color}",activeHoverColor:"{text.color}"},first:{topBorderRadius:"{content.border.radius}",borderWidth:"1px"},last:{bottomBorderRadius:"{content.border.radius}",activeBottomBorderRadius:"0"}},content:{borderWidth:"0 1px 1px 1px",borderColor:"{content.border.color}",background:"{content.background}",color:"{text.color}",padding:"1.125rem"},colorScheme:{light:{header:{background:"{surface.50}",hoverBackground:"{surface.100}",activeBackground:"{surface.50}",activeHoverBackground:"{surface.100}"}},dark:{header:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.800}",activeHoverBackground:"{surface.700}"}}}},ni={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}"},overlay:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},list:{padding:"{list.padding}",gap:"{list.gap}"},option:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},optionGroup:{background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},dropdown:{width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"},borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"}},chip:{borderRadius:"{border.radius.sm}"},emptyMessage:{padding:"{list.option.padding}"},colorScheme:{light:{chip:{focusBackground:"{surface.200}",focusColor:"{surface.800}"},dropdown:{background:"{surface.50}",hoverBackground:"{surface.100}",activeBackground:"{surface.200}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}"}},dark:{chip:{focusBackground:"{surface.700}",focusColor:"{surface.0}"},dropdown:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}"}}}},ai={root:{width:"2rem",height:"2rem",fontSize:"1rem",background:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},icon:{size:"1rem"},group:{borderColor:"{content.background}",offset:"-0.75rem"},lg:{width:"3rem",height:"3rem",fontSize:"1.5rem",icon:{size:"1.5rem"},group:{offset:"-1rem"}},xl:{width:"4rem",height:"4rem",fontSize:"2rem",icon:{size:"2rem"}}},ii={root:{borderRadius:"{border.radius.md}",padding:"0 0.5rem",fontSize:"0.75rem",fontWeight:"700",minWidth:"1.5rem",height:"1.5rem"},dot:{size:"0.5rem"},sm:{fontSize:"0.625rem",minWidth:"1.25rem",height:"1.25rem"},lg:{fontSize:"0.875rem",minWidth:"1.75rem",height:"1.75rem"},xl:{fontSize:"1rem",minWidth:"2rem",height:"2rem"},colorScheme:{light:{primary:{background:"{primary.color}",color:"{primary.contrast.color}"},secondary:{background:"{surface.100}",color:"{surface.600}"},success:{background:"{green.500}",color:"{surface.0}"},info:{background:"{sky.500}",color:"{surface.0}"},warn:{background:"{orange.500}",color:"{surface.0}"},danger:{background:"{red.500}",color:"{surface.0}"},contrast:{background:"{surface.950}",color:"{surface.0}"}},dark:{primary:{background:"{primary.color}",color:"{primary.contrast.color}"},secondary:{background:"{surface.800}",color:"{surface.300}"},success:{background:"{green.400}",color:"{green.950}"},info:{background:"{sky.400}",color:"{sky.950}"},warn:{background:"{orange.400}",color:"{orange.950}"},danger:{background:"{red.400}",color:"{red.950}"},contrast:{background:"{surface.0}",color:"{surface.950}"}}}},ci={primitive:{borderRadius:{none:"0",xs:"2px",sm:"4px",md:"6px",lg:"8px",xl:"12px"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},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"},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"},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"}},semantic:{transitionDuration:"0.2s",focusRing:{width:"0",style:"none",color:"transparent",offset:"0"},disabledOpacity:"0.6",iconSize:"1rem",anchorGutter:"2px",primary:{50:"{emerald.50}",100:"{emerald.100}",200:"{emerald.200}",300:"{emerald.300}",400:"{emerald.400}",500:"{emerald.500}",600:"{emerald.600}",700:"{emerald.700}",800:"{emerald.800}",900:"{emerald.900}",950:"{emerald.950}"},formField:{paddingX:"0.75rem",paddingY:"0.625rem",sm:{fontSize:"0.875rem",paddingX:"0.625rem",paddingY:"0.5rem"},lg:{fontSize:"1.125rem",paddingX:"0.875rem",paddingY:"0.75rem"},borderRadius:"{border.radius.md}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{transition.duration}"},list:{padding:"0.5rem 0",gap:"0",header:{padding:"0.625rem 1rem 0 1rem"},option:{padding:"0.625rem 1rem",borderRadius:"0"},optionGroup:{padding:"0.625rem 1rem",fontWeight:"600"}},content:{borderRadius:"{border.radius.md}"},mask:{transitionDuration:"0.15s"},navigation:{list:{padding:"0.5rem 0",gap:"0"},item:{padding:"0.625rem 1rem",borderRadius:"0",gap:"0.5rem"},submenuLabel:{padding:"0.625rem 1rem",fontWeight:"600"},submenuIcon:{size:"0.875rem"}},overlay:{select:{borderRadius:"{border.radius.md}",shadow:"0 2px 12px 0 rgba(0, 0, 0, 0.1)"},popover:{borderRadius:"{border.radius.md}",padding:"1rem",shadow:"0 1px 3px rgba(0, 0, 0, 0.1)"},modal:{borderRadius:"{border.radius.xl}",padding:"1.5rem",shadow:"0 1px 3px rgba(0, 0, 0, 0.3)"},navigation:{shadow:"0 2px 12px 0 rgba(0, 0, 0, 0.1)"}},colorScheme:{light:{surface:{0:"#ffffff",50:"{slate.50}",100:"{slate.100}",200:"{slate.200}",300:"{slate.300}",400:"{slate.400}",500:"{slate.500}",600:"{slate.600}",700:"{slate.700}",800:"{slate.800}",900:"{slate.900}",950:"{slate.950}"},primary:{color:"{primary.500}",contrastColor:"#ffffff",hoverColor:"{primary.600}",activeColor:"{primary.700}"},highlight:{background:"{primary.50}",focusBackground:"{primary.100}",color:"{primary.700}",focusColor:"{primary.800}"},focusRing:{shadow:"0 0 0 0.2rem {primary.200}"},mask:{background:"rgba(0,0,0,0.4)",color:"{surface.200}"},formField:{background:"{surface.0}",disabledBackground:"{surface.200}",filledBackground:"{surface.50}",filledHoverBackground:"{surface.50}",filledFocusBackground:"{surface.0}",borderColor:"{surface.300}",hoverBorderColor:"{primary.color}",focusBorderColor:"{primary.color}",invalidBorderColor:"{red.400}",color:"{surface.700}",disabledColor:"{surface.500}",placeholderColor:"{surface.500}",invalidPlaceholderColor:"{red.600}",floatLabelColor:"{surface.500}",floatLabelFocusColor:"{primary.600}",floatLabelActiveColor:"{surface.500}",floatLabelInvalidColor:"{form.field.invalid.placeholder.color}",iconColor:"{surface.500}",shadow:"none"},text:{color:"{surface.700}",hoverColor:"{surface.800}",mutedColor:"{surface.500}",hoverMutedColor:"{surface.600}"},content:{background:"{surface.0}",hoverBackground:"{surface.100}",borderColor:"{surface.200}",color:"{text.color}",hoverColor:"{text.hover.color}"},overlay:{select:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"},popover:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"},modal:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"}},list:{option:{focusBackground:"{surface.100}",selectedBackground:"{highlight.background}",selectedFocusBackground:"{highlight.focus.background}",color:"{text.color}",focusColor:"{text.hover.color}",selectedColor:"{highlight.color}",selectedFocusColor:"{highlight.focus.color}",icon:{color:"{surface.400}",focusColor:"{surface.500}"}},optionGroup:{background:"transparent",color:"{text.color}"}},navigation:{item:{focusBackground:"{surface.100}",activeBackground:"{surface.100}",color:"{text.color}",focusColor:"{text.hover.color}",activeColor:"{text.hover.color}",icon:{color:"{surface.400}",focusColor:"{surface.500}",activeColor:"{surface.500}"}},submenuLabel:{background:"transparent",color:"{text.color}"},submenuIcon:{color:"{surface.400}",focusColor:"{surface.500}",activeColor:"{surface.500}"}}},dark:{surface:{0:"#ffffff",50:"{zinc.50}",100:"{zinc.100}",200:"{zinc.200}",300:"{zinc.300}",400:"{zinc.400}",500:"{zinc.500}",600:"{zinc.600}",700:"{zinc.700}",800:"{zinc.800}",900:"{zinc.900}",950:"{zinc.950}"},primary:{color:"{primary.400}",contrastColor:"{surface.900}",hoverColor:"{primary.300}",activeColor:"{primary.200}"},highlight:{background:"color-mix(in srgb, {primary.400}, transparent 84%)",focusBackground:"color-mix(in srgb, {primary.400}, transparent 76%)",color:"rgba(255,255,255,.87)",focusColor:"rgba(255,255,255,.87)"},focusRing:{shadow:"0 0 0 0.2rem color-mix(in srgb, {primary.color}, transparent 80%)"},mask:{background:"rgba(0,0,0,0.6)",color:"{surface.200}"},formField:{background:"{surface.950}",disabledBackground:"{surface.700}",filledBackground:"{surface.800}",filledHoverBackground:"{surface.800}",filledFocusBackground:"{surface.950}",borderColor:"{surface.600}",hoverBorderColor:"{primary.color}",focusBorderColor:"{primary.color}",invalidBorderColor:"{red.300}",color:"{surface.0}",disabledColor:"{surface.400}",placeholderColor:"{surface.400}",invalidPlaceholderColor:"{red.400}",floatLabelColor:"{surface.400}",floatLabelFocusColor:"{primary.color}",floatLabelActiveColor:"{surface.400}",floatLabelInvalidColor:"{form.field.invalid.placeholder.color}",iconColor:"{surface.400}",shadow:"none"},text:{color:"{surface.0}",hoverColor:"{surface.0}",mutedColor:"{surface.400}",hoverMutedColor:"{surface.300}"},content:{background:"{surface.900}",hoverBackground:"{surface.800}",borderColor:"{surface.700}",color:"{text.color}",hoverColor:"{text.hover.color}"},overlay:{select:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"},popover:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"},modal:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"}},list:{option:{focusBackground:"{surface.800}",selectedBackground:"{highlight.background}",selectedFocusBackground:"{highlight.focus.background}",color:"{text.color}",focusColor:"{text.hover.color}",selectedColor:"{highlight.color}",selectedFocusColor:"{highlight.focus.color}",icon:{color:"{surface.500}",focusColor:"{surface.400}"}},optionGroup:{background:"transparent",color:"{text.color}"}},navigation:{item:{focusBackground:"{surface.800}",activeBackground:"{surface.800}",color:"{text.color}",focusColor:"{text.hover.color}",activeColor:"{text.hover.color}",icon:{color:"{surface.500}",focusColor:"{surface.400}",activeColor:"{surface.400}"}},submenuLabel:{background:"transparent",color:"{text.color}"},submenuIcon:{color:"{surface.500}",focusColor:"{surface.400}",activeColor:"{surface.400}"}}}}}},di={root:{borderRadius:"{content.border.radius}"}},li={root:{padding:"1.25rem",background:"{content.background}",gap:"0.5rem",transitionDuration:"{transition.duration}"},item:{color:"{text.muted.color}",hoverColor:"{text.color}",borderRadius:"{content.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",hoverColor:"{navigation.item.icon.focus.color}"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},separator:{color:"{navigation.item.icon.color}"}},si={root:{borderRadius:"{form.field.border.radius}",roundedBorderRadius:"2rem",gap:"0.5rem",paddingX:"1rem",paddingY:"{form.field.padding.y}",iconOnlyWidth:"2.75rem",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"},label:{fontWeight:"600"},raisedShadow:"0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",offset:"{form.field.focus.ring.offset}"},badgeSize:"1rem",transitionDuration:"{form.field.transition.duration}"},colorScheme:{light:{root:{primary:{background:"{primary.color}",hoverBackground:"{primary.hover.color}",activeBackground:"{primary.active.color}",borderColor:"{primary.color}",hoverBorderColor:"{primary.hover.color}",activeBorderColor:"{primary.active.color}",color:"{primary.contrast.color}",hoverColor:"{primary.contrast.color}",activeColor:"{primary.contrast.color}",focusRing:{color:"transparent",shadow:"0 0 0 0.2rem {primary.200}"}},secondary:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",borderColor:"{surface.100}",hoverBorderColor:"{surface.200}",activeBorderColor:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}",focusRing:{color:"transparent",shadow:"0 0 0 0.2rem {surface.200}"}},info:{background:"{sky.500}",hoverBackground:"{sky.600}",activeBackground:"{sky.700}",borderColor:"{sky.500}",hoverBorderColor:"{sky.600}",activeBorderColor:"{sky.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"transparent",shadow:"0 0 0 0.2rem {sky.200}"}},success:{background:"{green.500}",hoverBackground:"{green.600}",activeBackground:"{green.700}",borderColor:"{green.500}",hoverBorderColor:"{green.600}",activeBorderColor:"{green.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"transparent",shadow:"0 0 0 0.2rem {green.200}"}},warn:{background:"{orange.500}",hoverBackground:"{orange.600}",activeBackground:"{orange.700}",borderColor:"{orange.500}",hoverBorderColor:"{orange.600}",activeBorderColor:"{orange.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"transparent",shadow:"0 0 0 0.2rem {orange.200}"}},help:{background:"{purple.500}",hoverBackground:"{purple.600}",activeBackground:"{purple.700}",borderColor:"{purple.500}",hoverBorderColor:"{purple.600}",activeBorderColor:"{purple.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"transparent",shadow:"0 0 0 0.2rem {purple.200}"}},danger:{background:"{red.500}",hoverBackground:"{red.600}",activeBackground:"{red.700}",borderColor:"{red.500}",hoverBorderColor:"{red.600}",activeBorderColor:"{red.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"transparent",shadow:"0 0 0 0.2rem {red.200}"}},contrast:{background:"{surface.950}",hoverBackground:"{surface.900}",activeBackground:"{surface.800}",borderColor:"{surface.950}",hoverBorderColor:"{surface.900}",activeBorderColor:"{surface.800}",color:"{surface.0}",hoverColor:"{surface.0}",activeColor:"{surface.0}",focusRing:{color:"transparent",shadow:"0 0 0 0.2rem {surface.400}"}}},outlined:{primary:{hoverBackground:"{primary.50}",activeBackground:"{primary.100}",borderColor:"{primary.200}",color:"{primary.color}"},secondary:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.200}",color:"{surface.500}"},success:{hoverBackground:"{green.50}",activeBackground:"{green.100}",borderColor:"{green.200}",color:"{green.500}"},info:{hoverBackground:"{sky.50}",activeBackground:"{sky.100}",borderColor:"{sky.200}",color:"{sky.500}"},warn:{hoverBackground:"{orange.50}",activeBackground:"{orange.100}",borderColor:"{orange.200}",color:"{orange.500}"},help:{hoverBackground:"{purple.50}",activeBackground:"{purple.100}",borderColor:"{purple.200}",color:"{purple.500}"},danger:{hoverBackground:"{red.50}",activeBackground:"{red.100}",borderColor:"{red.200}",color:"{red.500}"},contrast:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.700}",color:"{surface.950}"},plain:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.200}",color:"{surface.700}"}},text:{primary:{hoverBackground:"{primary.50}",activeBackground:"{primary.100}",color:"{primary.color}"},secondary:{hoverBackground:"{surface.100}",activeBackground:"{surface.200}",color:"{surface.600}"},success:{hoverBackground:"{green.50}",activeBackground:"{green.100}",color:"{green.500}"},info:{hoverBackground:"{sky.50}",activeBackground:"{sky.100}",color:"{sky.500}"},warn:{hoverBackground:"{orange.50}",activeBackground:"{orange.100}",color:"{orange.500}"},help:{hoverBackground:"{purple.50}",activeBackground:"{purple.100}",color:"{purple.500}"},danger:{hoverBackground:"{red.50}",activeBackground:"{red.100}",color:"{red.500}"},contrast:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.950}"},plain:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.700}"}},link:{color:"{primary.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}},dark:{root:{primary:{background:"{primary.color}",hoverBackground:"{primary.hover.color}",activeBackground:"{primary.active.color}",borderColor:"{primary.color}",hoverBorderColor:"{primary.hover.color}",activeBorderColor:"{primary.active.color}",color:"{primary.contrast.color}",hoverColor:"{primary.contrast.color}",activeColor:"{primary.contrast.color}",focusRing:{color:"transparent",shadow:"0 0 0 0.2rem color-mix(in srgb, {primary.color}, transparent 80%)"}},secondary:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",borderColor:"{surface.800}",hoverBorderColor:"{surface.700}",activeBorderColor:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}",focusRing:{color:"transparent",shadow:"0 0 0 0.2rem color-mix(in srgb, {surface.300}, transparent 80%)"}},info:{background:"{sky.400}",hoverBackground:"{sky.300}",activeBackground:"{sky.200}",borderColor:"{sky.400}",hoverBorderColor:"{sky.300}",activeBorderColor:"{sky.200}",color:"{sky.950}",hoverColor:"{sky.950}",activeColor:"{sky.950}",focusRing:{color:"transparent",shadow:"0 0 0 0.2rem color-mix(in srgb, {sky.400}, transparent 80%)"}},success:{background:"{green.400}",hoverBackground:"{green.300}",activeBackground:"{green.200}",borderColor:"{green.400}",hoverBorderColor:"{green.300}",activeBorderColor:"{green.200}",color:"{green.950}",hoverColor:"{green.950}",activeColor:"{green.950}",focusRing:{color:"transparent",shadow:"0 0 0 0.2rem color-mix(in srgb, {green.400}, transparent 80%)"}},warn:{background:"{orange.400}",hoverBackground:"{orange.300}",activeBackground:"{orange.200}",borderColor:"{orange.400}",hoverBorderColor:"{orange.300}",activeBorderColor:"{orange.200}",color:"{orange.950}",hoverColor:"{orange.950}",activeColor:"{orange.950}",focusRing:{color:"transparent",shadow:"0 0 0 0.2rem color-mix(in srgb, {orange.400}, transparent 80%)"}},help:{background:"{purple.400}",hoverBackground:"{purple.300}",activeBackground:"{purple.200}",borderColor:"{purple.400}",hoverBorderColor:"{purple.300}",activeBorderColor:"{purple.200}",color:"{purple.950}",hoverColor:"{purple.950}",activeColor:"{purple.950}",focusRing:{color:"transparent",shadow:"0 0 0 0.2rem color-mix(in srgb, {purple.400}, transparent 80%)"}},danger:{background:"{red.400}",hoverBackground:"{red.300}",activeBackground:"{red.200}",borderColor:"{red.400}",hoverBorderColor:"{red.300}",activeBorderColor:"{red.200}",color:"{red.950}",hoverColor:"{red.950}",activeColor:"{red.950}",focusRing:{color:"transparent",shadow:"0 0 0 0.2rem color-mix(in srgb, {red.400}, transparent 80%)"}},contrast:{background:"{surface.0}",hoverBackground:"{surface.100}",activeBackground:"{surface.200}",borderColor:"{surface.0}",hoverBorderColor:"{surface.100}",activeBorderColor:"{surface.200}",color:"{surface.950}",hoverColor:"{surface.950}",activeColor:"{surface.950}",focusRing:{color:"transparent",shadow:"0 0 0 0.2rem color-mix(in srgb, {surface.0}, transparent 80%)"}}},outlined:{primary:{hoverBackground:"color-mix(in srgb, {primary.color}, transparent 96%)",activeBackground:"color-mix(in srgb, {primary.color}, transparent 84%)",borderColor:"{primary.700}",color:"{primary.color}"},secondary:{hoverBackground:"rgba(255,255,255,0.04)",activeBackground:"rgba(255,255,255,0.16)",borderColor:"{surface.700}",color:"{surface.400}"},success:{hoverBackground:"color-mix(in srgb, {green.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {green.400}, transparent 84%)",borderColor:"{green.700}",color:"{green.400}"},info:{hoverBackground:"color-mix(in srgb, {sky.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {sky.400}, transparent 84%)",borderColor:"{sky.700}",color:"{sky.400}"},warn:{hoverBackground:"color-mix(in srgb, {orange.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {orange.400}, transparent 84%)",borderColor:"{orange.700}",color:"{orange.400}"},help:{hoverBackground:"color-mix(in srgb, {help.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {help.400}, transparent 84%)",borderColor:"{purple.700}",color:"{purple.400}"},danger:{hoverBackground:"color-mix(in srgb, {danger.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {danger.400}, transparent 84%)",borderColor:"{red.700}",color:"{red.400}"},contrast:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{surface.500}",color:"{surface.0}"},plain:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{surface.600}",color:"{surface.0}"}},text:{primary:{hoverBackground:"color-mix(in srgb, {primary.color}, transparent 96%)",activeBackground:"color-mix(in srgb, {primary.color}, transparent 84%)",color:"{primary.color}"},secondary:{hoverBackground:"{surface.700}",activeBackground:"{surface.600}",color:"{surface.300}"},success:{hoverBackground:"color-mix(in srgb, {green.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {green.400}, transparent 84%)",color:"{green.400}"},info:{hoverBackground:"color-mix(in srgb, {sky.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {sky.400}, transparent 84%)",color:"{sky.400}"},warn:{hoverBackground:"color-mix(in srgb, {orange.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {orange.400}, transparent 84%)",color:"{orange.400}"},help:{hoverBackground:"color-mix(in srgb, {purple.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {purple.400}, transparent 84%)",color:"{purple.400}"},danger:{hoverBackground:"color-mix(in srgb, {red.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {red.400}, transparent 84%)",color:"{red.400}"},contrast:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.0}"},plain:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.0}"}},link:{color:"{primary.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}}}},ui={root:{background:"{content.background}",borderRadius:"{border.radius.lg}",color:"{content.color}",shadow:"0 .125rem .25rem rgba(0,0,0,.075)"},body:{padding:"1.5rem",gap:"0.75rem"},caption:{gap:"0.5rem"},title:{fontSize:"1.25rem",fontWeight:"700"},subtitle:{color:"{text.muted.color}"}},fi={root:{transitionDuration:"{transition.duration}"},content:{gap:"0.25rem"},indicatorList:{padding:"1rem",gap:"0.5rem"},indicator:{width:"1rem",height:"1rem",borderRadius:"50",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},colorScheme:{light:{indicator:{background:"{surface.200}",hoverBackground:"{surface.300}",activeBackground:"{primary.color}"}},dark:{indicator:{background:"{surface.700}",hoverBackground:"{surface.600}",activeBackground:"{primary.color}"}}}},gi={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},dropdown:{width:"2.5rem",color:"{form.field.icon.color}"},overlay:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},list:{padding:"{list.padding}",gap:"{list.gap}",mobileIndent:"1.25rem"},option:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}",icon:{color:"{list.option.icon.color}",focusColor:"{list.option.icon.focus.color}",size:"0.875rem"}},clearIcon:{color:"{form.field.icon.color}"}},pi={root:{borderRadius:"{border.radius.sm}",width:"1.5rem",height:"1.5rem",background:"{form.field.background}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",checkedBorderColor:"{primary.color}",checkedHoverBorderColor:"{primary.hover.color}",checkedFocusBorderColor:"{primary.color}",checkedDisabledBorderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",shadow:"{form.field.shadow}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{width:"1.25rem",height:"1.25rem"},lg:{width:"1.75rem",height:"1.75rem"}},icon:{size:"1rem",color:"{form.field.color}",checkedColor:"{primary.contrast.color}",checkedHoverColor:"{primary.contrast.color}",disabledColor:"{form.field.disabled.color}",sm:{size:"0.75rem"},lg:{size:"1.25rem"}}},mi={root:{borderRadius:"16px",paddingX:"0.875rem",paddingY:"0.625rem",gap:"0.5rem",transitionDuration:"{transition.duration}"},image:{width:"2rem",height:"2rem"},icon:{size:"1rem"},removeIcon:{size:"1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},colorScheme:{light:{root:{background:"{surface.100}",color:"{surface.800}"},icon:{color:"{surface.800}"},removeIcon:{color:"{surface.800}"}},dark:{root:{background:"{surface.800}",color:"{surface.0}"},icon:{color:"{surface.0}"},removeIcon:{color:"{surface.0}"}}}},bi={root:{transitionDuration:"{transition.duration}"},preview:{width:"1.75rem",height:"1.75rem",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"}},panel:{shadow:"{overlay.popover.shadow}",borderRadius:"{overlay.popover.borderRadius}"},colorScheme:{light:{panel:{background:"{surface.800}",borderColor:"{surface.900}"},handle:{color:"{surface.0}"}},dark:{panel:{background:"{surface.900}",borderColor:"{surface.700}"},handle:{color:"{surface.0}"}}}},hi={icon:{size:"2rem",color:"{overlay.modal.color}"},content:{gap:"1rem"}},vi={root:{background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",color:"{overlay.popover.color}",borderRadius:"{overlay.popover.border.radius}",shadow:"{overlay.popover.shadow}",gutter:"10px",arrowOffset:"1.25rem"},content:{padding:"{overlay.popover.padding}",gap:"1rem"},icon:{size:"1.5rem",color:"{overlay.popover.color}"},footer:{gap:"0.5rem",padding:"0 {overlay.popover.padding} {overlay.popover.padding} {overlay.popover.padding}"}},ki={root:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},list:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},item:{focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},submenu:{mobileIndent:"1.25rem"},submenuLabel:{padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background.}",color:"{navigation.submenu.label.color}"},submenuIcon:{size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},separator:{borderColor:"{content.border.color}"}},yi={root:{transitionDuration:"{transition.duration}"},header:{borderColor:"{datatable.border.color}",borderWidth:"1px 0 1px 0",padding:"0.75rem 1rem"},headerCell:{selectedBackground:"{highlight.background}",borderColor:"{datatable.border.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",gap:"0.5rem",padding:"0.75rem 1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"inset {focus.ring.shadow}"}},columnTitle:{fontWeight:"700"},row:{background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"inset {focus.ring.shadow}"}},bodyCell:{borderColor:"{datatable.border.color}",padding:"0.75rem 1rem"},footerCell:{borderColor:"{datatable.border.color}",padding:"0.75rem 1rem"},columnFooter:{fontWeight:"700"},footer:{borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},dropPoint:{color:"{primary.color}"},columnResizerWidth:"0.5rem",resizeIndicator:{width:"1px",color:"{primary.color}"},sortIcon:{color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},loadingIcon:{size:"2rem"},rowToggleButton:{hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",selectedHoverColor:"{primary.color}",size:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},filter:{inlineGap:"0.5rem",overlaySelect:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},overlayPopover:{background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",borderRadius:"{overlay.popover.border.radius}",color:"{overlay.popover.color}",shadow:"{overlay.popover.shadow}",padding:"{overlay.popover.padding}",gap:"0.5rem"},rule:{borderColor:"{content.border.color}"},constraintList:{padding:"{list.padding}",gap:"{list.gap}"},constraint:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",separator:{borderColor:"{content.border.color}"},padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"}},paginatorTop:{borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},paginatorBottom:{borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},colorScheme:{light:{root:{borderColor:"{content.border.color}"},header:{background:"{surface.50}",color:"{text.color}"},headerCell:{background:"{surface.50}",hoverBackground:"{surface.100}",color:"{text.color}"},footer:{background:"{surface.50}",color:"{text.color}"},footerCell:{background:"{surface.50}",color:"{text.color}"},row:{stripedBackground:"{surface.50}"},bodyCell:{selectedBorderColor:"{primary.100}"}},dark:{root:{borderColor:"{surface.800}"},header:{background:"{surface.800}",color:"{text.color}"},headerCell:{background:"{surface.800}",hoverBackground:"{surface.700}",color:"{text.color}"},footer:{background:"{surface.800}",color:"{text.color}"},footerCell:{background:"{surface.800}",color:"{text.color}"},row:{stripedBackground:"{surface.950}"},bodyCell:{selectedBorderColor:"{primary.900}"}}}},Ci={root:{borderColor:"{content.border.color}",borderWidth:"1px",borderRadius:"4px",padding:"0"},header:{borderColor:"{content.border.color}",borderWidth:"0 0 1px 0",padding:"0.875rem 1.125rem",borderRadius:"5px 5px 0 0"},content:{background:"{content.background}",color:"{content.color}",borderColor:"transparent",borderWidth:"0",padding:"0",borderRadius:"5px"},footer:{background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"1px 0 0 0",padding:"0.875rem 1.125rem",borderRadius:"0 0 5px 5px"},paginatorTop:{borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},paginatorBottom:{borderColor:"{content.border.color}",borderWidth:"1px 0 0 0"},colorScheme:{light:{header:{background:"{surface.50}",color:"{text.color}"}},dark:{header:{background:"{surface.800}",color:"{text.color}"}}}},wi={root:{transitionDuration:"{transition.duration}"},panel:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.popover.shadow}",padding:"{overlay.popover.padding}"},header:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",padding:"0 0 0.75rem 0"},title:{gap:"0.5rem",fontWeight:"700"},dropdown:{width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"},borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"}},inputIcon:{color:"{form.field.icon.color}"},selectMonth:{hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.375rem 0.625rem",borderRadius:"{content.border.radius}"},selectYear:{hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.375rem 0.625rem",borderRadius:"{content.border.radius}"},group:{borderColor:"{content.border.color}",gap:"{overlay.popover.padding}"},dayView:{margin:"0.75rem 0 0 0"},weekDay:{padding:"0.375rem",fontWeight:"700",color:"{content.color}"},date:{hoverBackground:"{content.hover.background}",selectedBackground:"{primary.color}",rangeSelectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{primary.contrast.color}",rangeSelectedColor:"{highlight.color}",width:"2.5rem",height:"2.5rem",borderRadius:"50%",padding:"0.375rem",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"}},monthView:{margin:"0.75rem 0 0 0"},month:{padding:"0.5rem",borderRadius:"{content.border.radius}"},yearView:{margin:"0.75rem 0 0 0"},year:{padding:"0.5rem",borderRadius:"{content.border.radius}"},buttonbar:{padding:"0.75rem 0 0 0",borderColor:"{content.border.color}"},timePicker:{padding:"0.75rem 0 0 0",borderColor:"{content.border.color}",gap:"0.5rem",buttonGap:"0.25rem"},colorScheme:{light:{dropdown:{background:"{surface.50}",hoverBackground:"{surface.100}",activeBackground:"{surface.200}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}"},today:{background:"{surface.200}",color:"{surface.900}"}},dark:{dropdown:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}"},today:{background:"{surface.700}",color:"{surface.0}"}}}},xi={root:{background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",borderRadius:"{overlay.modal.border.radius}",shadow:"{overlay.modal.shadow}"},header:{padding:"{overlay.modal.padding}",gap:"0.5rem"},title:{fontSize:"1.25rem",fontWeight:"600"},content:{padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},footer:{padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}",gap:"0.5rem"}},Bi={root:{borderColor:"{content.border.color}"},content:{background:"{content.background}",color:"{text.color}"},horizontal:{margin:"1.125rem 0",padding:"0 1.125rem",content:{padding:"0 0.625rem"}},vertical:{margin:"0 1.125rem",padding:"1.125rem 0",content:{padding:"0.625rem 0"}}},Ri={root:{background:"rgba(255, 255, 255, 0.1)",borderColor:"rgba(255, 255, 255, 0.2)",padding:"0.5rem",borderRadius:"{border.radius.lg}"},item:{borderRadius:"{content.border.radius}",padding:"0.5rem",size:"3rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}}},Si={root:{background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",shadow:"{overlay.modal.shadow}"},header:{padding:"{overlay.modal.padding}"},title:{fontSize:"1.5rem",fontWeight:"600"},content:{padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},footer:{padding:"{overlay.modal.padding}"}},$i={toolbar:{borderColor:"{content.border.color}",borderRadius:"{content.border.radius}"},toolbarItem:{color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},overlay:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}",padding:"{list.padding}"},overlayOption:{focusBackground:"{list.option.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},content:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},colorScheme:{light:{toolbar:{background:"{surface.50}"}},dark:{toolbar:{background:"{surface.800}"}}}},Ei={root:{background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",padding:"0.75rem 1.125rem 1.125rem 1.125rem",transitionDuration:"{transition.duration}"},legend:{borderRadius:"{content.border.radius}",borderWidth:"1px",borderColor:"{content.border.color}",padding:"0.625rem 0.875rem",gap:"0.5rem",fontWeight:"700",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},toggleIcon:{color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}"},content:{padding:"0"},colorScheme:{light:{legend:{background:"{surface.50}",hoverBackground:"{surface.100}",color:"{text.color}",hoverColor:"{text.hover.color}"}},dark:{legend:{background:"{surface.800}",hoverBackground:"{surface.700}",color:"{text.color}",hoverColor:"{text.hover.color}"}}}},zi={root:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},header:{borderWidth:"0 0 1px 0",borderColor:"{content.border.color}",padding:"1.125rem",borderRadius:"5px 5px 0 0",gap:"0.5rem"},content:{highlightBorderColor:"{primary.color}",padding:"1.125rem",gap:"1rem"},file:{padding:"1rem",gap:"1rem",borderColor:"{content.border.color}",info:{gap:"0.5rem"}},fileList:{gap:"0.5rem"},progressbar:{height:"0.25rem"},basic:{gap:"0.5rem"},colorScheme:{light:{header:{background:"{surface.50}",color:"{text.color}"}},dark:{header:{background:"{surface.800}",color:"{text.color}"}}}},_i={root:{color:"{form.field.float.label.color}",focusColor:"{form.field.float.label.focus.color}",activeColor:"{form.field.float.label.active.color}",invalidColor:"{form.field.float.label.invalid.color}",transitionDuration:"0.2s",positionX:"{form.field.padding.x}",positionY:"{form.field.padding.y}",fontWeight:"500",active:{fontSize:"0.75rem",fontWeight:"400"}},over:{active:{top:"-1.375rem"}},in:{input:{paddingTop:"1.875rem",paddingBottom:"{form.field.padding.y}"},active:{top:"{form.field.padding.y}"}},on:{borderRadius:"{border.radius.xs}",active:{background:"{form.field.background}",padding:"0 0.125rem"}}},Oi={root:{borderWidth:"1px",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},navButton:{background:"rgba(255, 255, 255, 0.1)",hoverBackground:"rgba(255, 255, 255, 0.2)",color:"{surface.100}",hoverColor:"{surface.0}",size:"3rem",gutter:"0",prev:{borderRadius:"0 12px 12px 0"},next:{borderRadius:"12px 0 0 12px"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},navIcon:{size:"1.5rem"},thumbnailsContent:{padding:"1rem 0.25rem"},thumbnailNavButton:{size:"2rem",borderRadius:"{content.border.radius}",gutter:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},thumbnailNavButtonIcon:{size:"1rem"},caption:{background:"rgba(0, 0, 0, 0.5)",color:"{surface.100}",padding:"1rem"},indicatorList:{gap:"0.5rem",padding:"1rem"},indicatorButton:{width:"1rem",height:"1rem",activeBackground:"{primary.color}",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},insetIndicatorList:{background:"rgba(0, 0, 0, 0.5)"},insetIndicatorButton:{background:"rgba(255, 255, 255, 0.4)",hoverBackground:"rgba(255, 255, 255, 0.6)",activeBackground:"rgba(255, 255, 255, 0.9)"},closeButton:{size:"3rem",gutter:"0.5rem",background:"rgba(255, 255, 255, 0.1)",hoverBackground:"rgba(255, 255, 255, 0.2)",color:"{surface.50}",hoverColor:"{surface.0}",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},closeButtonIcon:{size:"1.5rem"},colorScheme:{light:{thumbnailsContent:{background:"{surface.50}"},thumbnailNavButton:{hoverBackground:"{surface.100}",color:"{surface.600}",hoverColor:"{surface.700}"},indicatorButton:{background:"{surface.200}",hoverBackground:"{surface.300}"}},dark:{thumbnailsContent:{background:"{surface.800}"},thumbnailNavButton:{hoverBackground:"{surface.700}",color:"{surface.400}",hoverColor:"{surface.0}"},indicatorButton:{background:"{surface.700}",hoverBackground:"{surface.600}"}}}},Di={icon:{color:"{form.field.icon.color}"}},Ti={root:{color:"{form.field.float.label.color}",focusColor:"{form.field.float.label.focus.color}",invalidColor:"{form.field.float.label.invalid.color}",transitionDuration:"0.2s",positionX:"{form.field.padding.x}",top:"{form.field.padding.y}",fontSize:"0.75rem",fontWeight:"400"},input:{paddingTop:"1.875rem",paddingBottom:"{form.field.padding.y}"}},Pi={root:{transitionDuration:"{transition.duration}"},preview:{icon:{size:"1.5rem"},mask:{background:"{mask.background}",color:"{mask.color}"}},toolbar:{position:{left:"auto",right:"1rem",top:"1rem",bottom:"auto"},blur:"8px",background:"rgba(255,255,255,0.1)",borderColor:"rgba(255,255,255,0.2)",borderWidth:"1px",borderRadius:"{content.border.radius}",padding:".5rem",gap:"0.5rem"},action:{hoverBackground:"rgba(255,255,255,0.1)",color:"{surface.50}",hoverColor:"{surface.0}",size:"3rem",iconSize:"1.5rem",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}}},Ii={handle:{size:"15px",hoverSize:"30px",background:"rgba(255,255,255,0.3)",hoverBackground:"rgba(255,255,255,0.3)",borderColor:"rgba(255,255,255,0.3)",hoverBorderColor:"rgba(255,255,255,0.3)",borderWidth:"3px",borderRadius:"50%",transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"rgba(255,255,255,0.3)",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}}},Ai={root:{padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{content.border.radius}",gap:"0.5rem"},text:{fontWeight:"500"},icon:{size:"1.125rem"},colorScheme:{light:{info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"color-mix(in srgb, {blue.50}, transparent 5%)",color:"{blue.600}",shadow:"none"},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"color-mix(in srgb, {green.50}, transparent 5%)",color:"{green.600}",shadow:"none"},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"color-mix(in srgb,{yellow.50}, transparent 5%)",color:"{yellow.600}",shadow:"none"},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"color-mix(in srgb, {red.50}, transparent 5%)",color:"{red.600}",shadow:"none"},secondary:{background:"{surface.100}",borderColor:"{surface.100}",color:"{surface.600}",shadow:"none"},contrast:{background:"{surface.900}",borderColor:"{surface.900}",color:"{surface.50}",shadow:"none"}},dark:{info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.500}, transparent 84%)",color:"{blue.500}",shadow:"none"},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.500}, transparent 84%)",color:"{green.500}",shadow:"none"},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.500}, transparent 84%)",color:"{yellow.500}",shadow:"none"},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.500}, transparent 84%)",color:"{red.500}",shadow:"none"},secondary:{background:"{surface.800}",borderColor:"{surface.800}",color:"{surface.300}",shadow:"none"},contrast:{background:"{surface.0}",borderColor:"{surface.0}",color:"{surface.950}",shadow:"none"}}}},Wi={root:{padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{transition.duration}"},display:{hoverBackground:"{content.hover.background}",hoverColor:"{content.hover.color}"}},Li={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}"},chip:{borderRadius:"{border.radius.sm}"},colorScheme:{light:{chip:{focusBackground:"{surface.200}",color:"{surface.800}"}},dark:{chip:{focusBackground:"{surface.700}",color:"{surface.0}"}}}},Ni={addon:{borderRadius:"{form.field.border.radius}",padding:"0.625rem 0.5rem",minWidth:"2.75rem"},colorScheme:{light:{addon:{background:"{surface.50}",borderColor:"{form.field.border.color}",color:"{text.muted.color}"}},dark:{addon:{background:"{surface.800}",borderColor:"{form.field.border.color}",color:"{text.muted.color}"}}}},Fi={root:{transitionDuration:"{transition.duration}"},button:{width:"2.5rem",borderRadius:"{form.field.border.radius}",verticalPadding:"{form.field.padding.y}"},colorScheme:{light:{button:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}"}},dark:{button:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.500}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}"}}}},ji={root:{gap:"0.5rem"},input:{width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"}}},Hi={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}}},Mi={root:{transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},value:{background:"{primary.color}"},range:{background:"{content.border.color}"},text:{color:"{text.muted.color}"}},Ui={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",borderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",shadow:"{form.field.shadow}",borderRadius:"{form.field.border.radius}",transitionDuration:"{form.field.transition.duration}"},list:{padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},option:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},optionGroup:{background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},checkmark:{color:"{list.option.color}",gutterStart:"-0.5rem",gutterEnd:"0.5rem"},emptyMessage:{padding:"{list.option.padding}"},colorScheme:{light:{option:{stripedBackground:"{surface.50}"}},dark:{option:{stripedBackground:"{surface.900}"}}}},Xi={root:{borderColor:"transparent",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",verticalOrientation:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},horizontalOrientation:{padding:"0.75rem 1rem",gap:"0.5rem"},transitionDuration:"{transition.duration}"},baseItem:{borderRadius:"{content.border.radius}",padding:"0.75rem 1rem"},item:{focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},overlay:{padding:"0",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",shadow:"{overlay.navigation.shadow}",gap:"0.5rem"},submenu:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},submenuLabel:{padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background.}",color:"{navigation.submenu.label.color}"},submenuIcon:{size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},separator:{borderColor:"{content.border.color}"},mobileButton:{borderRadius:"50%",size:"2rem",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",hoverBackground:"{content.hover.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},colorScheme:{light:{root:{background:"{surface.50}"}},dark:{root:{background:"{surface.800}"}}}},qi={root:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},list:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},item:{focusBackground:"{navigation.item.focus.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}"}},submenuLabel:{padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background.}",color:"{navigation.submenu.label.color}"},separator:{borderColor:"{content.border.color}"}},Vi={root:{borderColor:"transparent",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",padding:"0.75rem 1rem",transitionDuration:"{transition.duration}"},baseItem:{borderRadius:"{content.border.radius}",padding:"0.75rem 1rem"},item:{focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},submenu:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",mobileIndent:"1.25rem",icon:{size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"}},separator:{borderColor:"{content.border.color}"},mobileButton:{borderRadius:"50%",size:"2rem",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",hoverBackground:"{content.hover.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},colorScheme:{light:{root:{background:"{surface.50}"}},dark:{root:{background:"{surface.800}"}}}},Yi={root:{borderRadius:"{content.border.radius}",borderWidth:"1px",transitionDuration:"{transition.duration}"},content:{padding:"0.75rem 1rem",gap:"0.5rem",sm:{padding:"0.5rem 0.625rem"},lg:{padding:"0.75rem 0.875rem"}},text:{fontSize:"1rem",fontWeight:"500",sm:{fontSize:"0.875rem"},lg:{fontSize:"1.125rem"}},icon:{size:"1.25rem",sm:{size:"1rem"},lg:{size:"1.5rem"}},closeButton:{width:"2rem",height:"2rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},closeIcon:{size:"1rem",sm:{fontSize:"0.875rem"},lg:{fontSize:"1.125rem"}},outlined:{root:{borderWidth:"1px"}},simple:{content:{padding:"0"}},colorScheme:{light:{info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"transparent",color:"{blue.600}",shadow:"none",closeButton:{hoverBackground:"{blue.100}",focusRing:{color:"{focus.ring.color}",shadow:"0 0 0 0.2rem {blue.200}"}},outlined:{color:"{blue.600}",borderColor:"{blue.600}"},simple:{color:"{blue.600}"}},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"transparent",color:"{green.600}",shadow:"none",closeButton:{hoverBackground:"{green.100}",focusRing:{color:"{focus.ring.color}",shadow:"0 0 0 0.2rem {green.200}"}},outlined:{color:"{green.600}",borderColor:"{green.600}"},simple:{color:"{green.600}"}},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"transparent",color:"{yellow.600}",shadow:"none",closeButton:{hoverBackground:"{yellow.100}",focusRing:{color:"{focus.ring.color}",shadow:"0 0 0 0.2rem {yellow.200}"}},outlined:{color:"{yellow.600}",borderColor:"{yellow.600}"},simple:{color:"{yellow.600}"}},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"transparent",color:"{red.600}",shadow:"none",closeButton:{hoverBackground:"{red.100}",focusRing:{color:"{focus.ring.color}",shadow:"0 0 0 0.2rem {red.200}"}},outlined:{color:"{red.600}",borderColor:"{red.600}"},simple:{color:"{red.600}"}},secondary:{background:"{surface.100}",borderColor:"transparent",color:"{surface.600}",shadow:"none",closeButton:{hoverBackground:"{surface.200}",focusRing:{color:"{focus.ring.color}",shadow:"0 0 0 0.2rem {surface.200}"}},outlined:{color:"{surface.500}",borderColor:"{surface.500}"},simple:{color:"{surface.500}"}},contrast:{background:"{surface.900}",borderColor:"transparent",color:"{surface.50}",shadow:"none",closeButton:{hoverBackground:"{surface.800}",focusRing:{color:"{focus.ring.color}",shadow:"0 0 0 0.2rem {surface.400}"}},outlined:{color:"{surface.900}",borderColor:"{surface.900}"},simple:{color:"{surface.900}"}}},dark:{info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"transparent",color:"{blue.500}",shadow:"none",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{focus.ring.color}",shadow:"0 0 0 0.2rem color-mix(in srgb, {blue.500}, transparent 80%)"}},outlined:{color:"{blue.500}",borderColor:"{blue.500}"},simple:{color:"{blue.500}"}},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"transparent",color:"{green.500}",shadow:"none",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{focus.ring.color}",shadow:"0 0 0 0.2rem color-mix(in srgb, {green.500}, transparent 80%)"}},outlined:{color:"{green.500}",borderColor:"{green.500}"},simple:{color:"{green.500}"}},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"transparent",color:"{yellow.500}",shadow:"none",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{focus.ring.color}",shadow:"0 0 0 0.2rem color-mix(in srgb, {yellow.500}, transparent 80%)"}},outlined:{color:"{yellow.500}",borderColor:"{yellow.500}"},simple:{color:"{yellow.500}"}},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"transparent",color:"{red.500}",shadow:"none",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{focus.ring.color}",shadow:"0 0 0 0.2rem color-mix(in srgb, {red.500}, transparent 80%)"}},outlined:{color:"{red.500}",borderColor:"{red.500}"},simple:{color:"{red.500}"}},secondary:{background:"{surface.800}",borderColor:"transparent",color:"{surface.300}",shadow:"none",closeButton:{hoverBackground:"{surface.700}",focusRing:{color:"{focus.ring.color}",shadow:"0 0 0 0.2rem color-mix(in srgb, {surface.300}, transparent 80%)"}},outlined:{color:"{surface.400}",borderColor:"{surface.400}"},simple:{color:"{surface.400}"}},contrast:{background:"{surface.0}",borderColor:"transparent",color:"{surface.950}",shadow:"none",closeButton:{hoverBackground:"{surface.100}",focusRing:{color:"{focus.ring.color}",shadow:"0 0 0 0.2rem color-mix(in srgb, {surface.950}, transparent 80%)"}},outlined:{color:"{surface.0}",borderColor:"{surface.0}"},simple:{color:"{surface.0}"}}}}},Gi={root:{borderRadius:"{content.border.radius}",gap:"1rem"},meters:{background:"{content.border.color}",size:"0.625rem"},label:{gap:"0.5rem"},labelMarker:{size:"0.5rem"},labelIcon:{size:"1rem"},labelList:{verticalGap:"0.5rem",horizontalGap:"1rem"}},Ki={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},dropdown:{width:"2.5rem",color:"{form.field.icon.color}"},overlay:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},list:{padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},option:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}",gap:"0.5rem"},optionGroup:{background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},clearIcon:{color:"{form.field.icon.color}"},chip:{borderRadius:"{border.radius.sm}"},emptyMessage:{padding:"{list.option.padding}"}},Ji={root:{gap:"1.125rem"},controls:{gap:"0.5rem"}},Zi={root:{gutter:"0.75rem",transitionDuration:"{transition.duration}"},node:{background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{content.border.color}",color:"{content.color}",selectedColor:"{highlight.color}",hoverColor:"{content.hover.color}",padding:"1rem 1.25rem",toggleablePadding:"1rem 1.25rem 1.5rem 1.25rem",borderRadius:"{content.border.radius}"},nodeToggleButton:{background:"{content.background}",hoverBackground:"{content.hover.background}",borderColor:"{content.border.color}",color:"{text.muted.color}",hoverColor:"{text.color}",size:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},connector:{color:"{content.border.color}",borderRadius:"{content.border.radius}",height:"24px"}},Qi={root:{outline:{width:"2px",color:"{content.background}"}}},oc={root:{padding:"0.5rem 1rem",gap:"0.25rem",borderRadius:"{content.border.radius}",background:"{content.background}",color:"{content.color}",transitionDuration:"{transition.duration}"},navButton:{background:"transparent",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedColor:"{highlight.color}",width:"2.5rem",height:"2.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},currentPageReport:{color:"{text.muted.color}"},jumpToPageInput:{maxWidth:"2.5rem"}},rc={root:{borderColor:"{content.border.color}",borderRadius:"{content.border.radius}"},header:{borderWidth:"0 0 1px 0",borderColor:"{content.border.color}",padding:"1.125rem",borderRadius:"5px 5px 0 0"},toggleableHeader:{padding:"0.25rem 1.125rem"},title:{fontWeight:"700"},content:{padding:"1.125rem"},footer:{padding:"1.125rem"},colorScheme:{light:{header:{background:"{surface.50}",color:"{text.color}"}},dark:{header:{background:"{surface.800}",color:"{text.color}"}}}},ec={root:{gap:"0",transitionDuration:"{transition.duration}"},panel:{background:"{content.background}",borderColor:"{content.border.color}",borderWidth:"1px",color:"{content.color}",padding:"0.25rem 0.25rem",borderRadius:"0",first:{borderWidth:"1px 1px 0 1px",topBorderRadius:"{content.border.radius}"},last:{borderWidth:"0 1px 1px 1px",bottomBorderRadius:"{content.border.radius}"}},item:{focusBackground:"{navigation.item.focus.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",gap:"0.5rem",padding:"{navigation.item.padding}",borderRadius:"{content.border.radius}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}"}},submenu:{indent:"1rem"},submenuIcon:{color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}"}},tc={meter:{background:"{content.border.color}",borderRadius:"{content.border.radius}",height:".75rem"},icon:{color:"{form.field.icon.color}"},overlay:{background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",borderRadius:"{overlay.popover.border.radius}",color:"{overlay.popover.color}",padding:"{overlay.popover.padding}",shadow:"{overlay.popover.shadow}"},content:{gap:"0.75rem"},colorScheme:{light:{strength:{weakBackground:"{red.500}",mediumBackground:"{amber.500}",strongBackground:"{green.500}"}},dark:{strength:{weakBackground:"{red.400}",mediumBackground:"{amber.400}",strongBackground:"{green.400}"}}}},nc={root:{gap:"1.125rem"},controls:{gap:"0.5rem"}},ac={root:{background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",color:"{overlay.popover.color}",borderRadius:"{overlay.popover.border.radius}",shadow:"{overlay.popover.shadow}",gutter:"10px",arrowOffset:"1.25rem"},content:{padding:"{overlay.popover.padding}"}},ic={root:{background:"{content.border.color}",borderRadius:"{content.border.radius}",height:"1.5rem"},value:{background:"{primary.color}"},label:{color:"{primary.contrast.color}",fontSize:"0.875rem",fontWeight:"600"}},cc={colorScheme:{light:{root:{"color.1":"{pink.500}","color.2":"{sky.500}","color.3":"{emerald.500}","color.4":"{amber.500}"}},dark:{root:{"color.1":"{pink.400}","color.2":"{sky.400}","color.3":"{emerald.400}","color.4":"{amber.400}"}}}},dc={root:{width:"1.5rem",height:"1.5rem",background:"{form.field.background}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",checkedBorderColor:"{primary.color}",checkedHoverBorderColor:"{primary.hover.color}",checkedFocusBorderColor:"{primary.color}",checkedDisabledBorderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",shadow:"{form.field.shadow}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{width:"1.25rem",height:"1.25rem"},lg:{width:"1.75rem",height:"1.75rem"}},icon:{size:"1rem",checkedColor:"{primary.contrast.color}",checkedHoverColor:"{primary.contrast.color}",disabledColor:"{form.field.disabled.color}",sm:{size:"0.75rem"},lg:{size:"1.25rem"}}},lc={root:{gap:"0.25rem",transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},icon:{size:"1.25rem",color:"{text.muted.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}},sc={colorScheme:{light:{root:{background:"rgba(0,0,0,0.1)"}},dark:{root:{background:"rgba(255,255,255,0.3)"}}}},uc={root:{transitionDuration:"{transition.duration}"},bar:{size:"9px",borderRadius:"{border.radius.sm}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},colorScheme:{light:{bar:{background:"{surface.200}"}},dark:{bar:{background:"{surface.700}"}}}},fc={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},dropdown:{width:"2.5rem",color:"{form.field.icon.color}"},overlay:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},list:{padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},option:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},optionGroup:{background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},clearIcon:{color:"{form.field.icon.color}"},checkmark:{color:"{list.option.color}",gutterStart:"-0.5rem",gutterEnd:"0.5rem"},emptyMessage:{padding:"{list.option.padding}"}},gc={root:{borderRadius:"{form.field.border.radius}"},colorScheme:{light:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}},dark:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}}}},pc={root:{borderRadius:"{content.border.radius}"},colorScheme:{light:{root:{background:"{surface.200}",animationBackground:"rgba(255,255,255,0.4)"}},dark:{root:{background:"rgba(255, 255, 255, 0.06)",animationBackground:"rgba(255, 255, 255, 0.04)"}}}},mc={root:{transitionDuration:"{transition.duration}"},track:{background:"{content.border.color}",borderRadius:"{content.border.radius}",size:"3px"},range:{background:"{primary.color}"},handle:{width:"16px",height:"16px",borderRadius:"50%",background:"{primary.color}",hoverBackground:"{primary.color}",content:{borderRadius:"50%",hoverBackground:"{primary.color}",width:"12px",height:"12px",shadow:"none"},focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"}},colorScheme:{light:{handle:{contentBackground:"{surface.0}"}},dark:{handle:{contentBackground:"{surface.950}"}}}},bc={root:{gap:"0.5rem",transitionDuration:"{transition.duration}"}},hc={root:{borderRadius:"{form.field.border.radius}",roundedBorderRadius:"2rem",raisedShadow:"0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)"}},vc={root:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",transitionDuration:"{transition.duration}"},gutter:{background:"{content.border.color}"},handle:{size:"24px",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},colorScheme:{light:{handle:{background:"{surface.400}"}},dark:{handle:{background:"{surface.600}"}}}},kc={root:{transitionDuration:"{transition.duration}"},separator:{background:"{content.border.color}",activeBackground:"{primary.color}",margin:"0 0 0 1.625rem",size:"2px"},step:{padding:"0.5rem",gap:"1rem"},stepHeader:{padding:"0",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},gap:"0.5rem"},stepTitle:{color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},stepNumber:{background:"{content.background}",activeBackground:"{primary.color}",borderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",activeColor:"{primary.contrast.color}",size:"2.25rem",fontSize:"1.125rem",fontWeight:"500",borderRadius:"50%",shadow:"none"},steppanels:{padding:"0.875rem 0.5rem 1.125rem 0.5rem"},steppanel:{background:"{content.background}",color:"{content.color}",padding:"0",indent:"1rem"}},yc={root:{transitionDuration:"{transition.duration}"},separator:{background:"{content.border.color}"},itemLink:{borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},gap:"0.5rem"},itemLabel:{color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},itemNumber:{background:"{content.background}",activeBackground:"{primary.color}",borderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",activeColor:"{primary.contrast.color}",size:"2.25rem",fontSize:"1.125rem",fontWeight:"500",borderRadius:"50%",shadow:"none"}},Cc={root:{transitionDuration:"{transition.duration}"},tablist:{borderWidth:"0",background:"{content.background}",borderColor:"{content.border.color}"},item:{borderWidth:"2px 0 0 0",borderColor:"transparent",hoverBorderColor:"transparent",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}",padding:"1rem 1.25rem",fontWeight:"600",margin:"0",gap:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},itemIcon:{color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},activeBar:{height:"0",bottom:"0",background:"transparent"},colorScheme:{light:{item:{background:"{surface.50}",hoverBackground:"{surface.100}",activeBackground:"{surface.0}"}},dark:{item:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.900}"}}}},wc={root:{transitionDuration:"{transition.duration}"},tablist:{borderWidth:"0",background:"{content.background}",borderColor:"{content.border.color}"},tab:{borderWidth:"2px 0 0 0",borderColor:"transparent",hoverBorderColor:"transparent",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}",padding:"1rem 1.25rem",fontWeight:"700",margin:"0",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"inset {focus.ring.shadow}"}},tabpanel:{background:"{content.background}",color:"{content.color}",padding:"0.875rem 1.125rem 1.125rem 1.125rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"inset {focus.ring.shadow}"}},navButton:{background:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",width:"2.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"inset {focus.ring.shadow}"}},activeBar:{height:"0",bottom:"0",background:"transparent"},colorScheme:{light:{navButton:{shadow:"0px 0px 10px 50px rgba(255, 255, 255, 0.6)"},tab:{background:"{surface.50}",hoverBackground:"{surface.100}",activeBackground:"{surface.0}"}},dark:{navButton:{shadow:"0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)"},tab:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.900}"}}}},xc={root:{transitionDuration:"{transition.duration}"},tabList:{background:"{content.background}",borderColor:"{content.border.color}"},tab:{borderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},tabPanel:{background:"{content.background}",color:"{content.color}"},navButton:{background:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}"},colorScheme:{light:{navButton:{shadow:"0px 0px 10px 50px rgba(255, 255, 255, 0.6)"}},dark:{navButton:{shadow:"0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)"}}}},Bc={root:{fontSize:"0.875rem",fontWeight:"700",padding:"0.25rem 0.5rem",gap:"0.25rem",borderRadius:"{content.border.radius}",roundedBorderRadius:"{border.radius.xl}"},icon:{size:"0.75rem"},colorScheme:{light:{primary:{background:"{primary.color}",color:"{primary.contrast.color}"},secondary:{background:"{surface.100}",color:"{surface.600}"},success:{background:"{green.500}",color:"{surface.0}"},info:{background:"{sky.500}",color:"{surface.0}"},warn:{background:"{orange.500}",color:"{surface.0}"},danger:{background:"{red.500}",color:"{surface.0}"},contrast:{background:"{surface.950}",color:"{surface.0}"}},dark:{primary:{background:"{primary.color}",color:"{primary.contrast.color}"},secondary:{background:"{surface.800}",color:"{surface.300}"},success:{background:"{green.400}",color:"{green.950}"},info:{background:"{sky.400}",color:"{sky.950}"},warn:{background:"{orange.400}",color:"{orange.950}"},danger:{background:"{red.400}",color:"{red.950}"},contrast:{background:"{surface.0}",color:"{surface.950}"}}}},Rc={root:{background:"{form.field.background}",borderColor:"{form.field.border.color}",color:"{form.field.color}",height:"18rem",padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{form.field.border.radius}"},prompt:{gap:"0.25rem"},commandResponse:{margin:"2px 0"}},Sc={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}}},$c={root:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},list:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},item:{focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},submenu:{mobileIndent:"1.25rem"},submenuIcon:{size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},separator:{borderColor:"{content.border.color}"}},Ec={event:{minHeight:"5rem"},horizontal:{eventContent:{padding:"1rem 0"}},vertical:{eventContent:{padding:"0 1rem"}},eventMarker:{size:"1.125rem",borderRadius:"50%",borderWidth:"2px",background:"{content.background}",borderColor:"{primary.color}",content:{borderRadius:"50%",size:"0.375rem",background:"transparent",insetShadow:"none"}},eventConnector:{color:"{content.border.color}",size:"2px"}},zc={root:{width:"25rem",borderRadius:"{content.border.radius}",borderWidth:"0 0 0 6px",transitionDuration:"{transition.duration}"},icon:{size:"1.25rem"},content:{padding:"{overlay.popover.padding}",gap:"0.5rem"},text:{gap:"0.5rem"},summary:{fontWeight:"500",fontSize:"1rem"},detail:{fontWeight:"500",fontSize:"0.875rem"},closeButton:{width:"2rem",height:"2rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},closeIcon:{size:"1rem"},colorScheme:{light:{blur:"1.5px",info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.500}",color:"{blue.600}",detailColor:"{surface.700}",shadow:"{overlay.popover.shadow}",closeButton:{hoverBackground:"{blue.100}",focusRing:{color:"{focus.ring.color}",shadow:"0 0 0 0.2rem {blue.200}"}}},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.500}",color:"{green.600}",detailColor:"{surface.700}",shadow:"{overlay.popover.shadow}",closeButton:{hoverBackground:"{green.100}",focusRing:{color:"{focus.ring.color}",shadow:"0 0 0 0.2rem {green.200}"}}},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.500}",color:"{yellow.600}",detailColor:"{surface.700}",shadow:"{overlay.popover.shadow}",closeButton:{hoverBackground:"{yellow.100}",focusRing:{color:"{focus.ring.color}",shadow:"0 0 0 0.2rem {yellow.200}"}}},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.500}",color:"{red.600}",detailColor:"{surface.700}",shadow:"{overlay.popover.shadow}",closeButton:{hoverBackground:"{red.100}",focusRing:{color:"{focus.ring.color}",shadow:"0 0 0 0.2rem {red.200}"}}},secondary:{background:"{surface.100}",borderColor:"{surface.500}",color:"{surface.600}",detailColor:"{surface.700}",shadow:"{overlay.popover.shadow}",closeButton:{hoverBackground:"{surface.200}",focusRing:{color:"{focus.ring.color}",shadow:"0 0 0 0.2rem {surface.200}"}}},contrast:{background:"{surface.900}",borderColor:"{primary.color}",color:"{surface.50}",detailColor:"{surface.0}",shadow:"{overlay.popover.shadow}",closeButton:{hoverBackground:"{surface.800}",focusRing:{color:"{focus.ring.color}",shadow:"0 0 0 0.2rem {surface.400}"}}}},dark:{blur:"10px",info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",detailColor:"{surface.0}",shadow:"{overlay.popover.shadow}",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{focus.ring.color}",shadow:"0 0 0 0.2rem color-mix(in srgb, {blue.500}, transparent 80%)"}}},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",detailColor:"{surface.0}",shadow:"{overlay.popover.shadow}",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{focus.ring.color}",shadow:"0 0 0 0.2rem color-mix(in srgb, {green.500}, transparent 80%)"}}},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",detailColor:"{surface.0}",shadow:"{overlay.popover.shadow}",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{focus.ring.color}",shadow:"0 0 0 0.2rem color-mix(in srgb, {yellow.500}, transparent 80%)"}}},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",detailColor:"{surface.0}",shadow:"{overlay.popover.shadow}",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{focus.ring.color}",shadow:"0 0 0 0.2rem color-mix(in srgb, {red.500}, transparent 80%)"}}},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",detailColor:"{surface.0}",shadow:"{overlay.popover.shadow}",closeButton:{hoverBackground:"{surface.700}",focusRing:{color:"{focus.ring.color}",shadow:"0 0 0 0.2rem color-mix(in srgb, {surface.300}, transparent 80%)"}}},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",detailColor:"{surface.950}",shadow:"{overlay.popover.shadow}",closeButton:{hoverBackground:"{surface.100}",focusRing:{color:"{focus.ring.color}",shadow:"0 0 0 0.2rem color-mix(in srgb, {surface.950}, transparent 80%)"}}}}}},_c={root:{padding:"0.625rem 1rem",borderRadius:"{content.border.radius}",gap:"0.5rem",fontWeight:"500",background:"{form.field.background}",borderColor:"{form.field.border.color}",color:"{form.field.color}",hoverColor:"{form.field.color}",checkedBackground:"{highlight.background}",checkedColor:"{highlight.color}",checkedBorderColor:"{form.field.border.color}",disabledBackground:"{form.field.disabled.background}",disabledBorderColor:"{form.field.disabled.background}",disabledColor:"{form.field.disabled.color}",invalidBorderColor:"{form.field.invalid.border.color}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",padding:"0.5rem 0.75rem"},lg:{fontSize:"{form.field.lg.font.size}",padding:"0.75rem 1.25rem"}},icon:{color:"{text.muted.color}",hoverColor:"{text.muted.color}",checkedColor:"{highlight.color}",disabledColor:"{form.field.disabled.color}"},content:{left:"0.25rem",top:"0.25rem",checkedBackground:"transparent",checkedShadow:"none"},colorScheme:{light:{root:{hoverBackground:"{surface.100}"}},dark:{root:{hoverBackground:"{surface.800}"}}}},Oc={root:{width:"3rem",height:"1.75rem",borderRadius:"30px",gap:"0.25rem",shadow:"{form.field.shadow}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},borderWidth:"1px",borderColor:"transparent",hoverBorderColor:"transparent",checkedBorderColor:"transparent",checkedHoverBorderColor:"transparent",invalidBorderColor:"{form.field.invalid.border.color}",transitionDuration:"{form.field.transition.duration}",slideDuration:"0.2s"},handle:{borderRadius:"50%",size:"1.25rem"},colorScheme:{light:{root:{background:"{surface.300}",disabledBackground:"{form.field.disabled.background}",hoverBackground:"{surface.400}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}"},handle:{background:"{surface.0}",disabledBackground:"{form.field.disabled.color}",hoverBackground:"{surface.0}",checkedBackground:"{surface.0}",checkedHoverBackground:"{surface.0}",color:"{text.muted.color}",hoverColor:"{text.color}",checkedColor:"{primary.color}",checkedHoverColor:"{primary.hover.color}"}},dark:{root:{background:"{surface.700}",disabledBackground:"{surface.600}",hoverBackground:"{surface.600}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}"},handle:{background:"{surface.400}",disabledBackground:"{surface.900}",hoverBackground:"{surface.300}",checkedBackground:"{surface.900}",checkedHoverBackground:"{surface.900}",color:"{surface.900}",hoverColor:"{surface.800}",checkedColor:"{primary.color}",checkedHoverColor:"{primary.hover.color}"}}}},Dc={root:{background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",padding:"0.75rem"},colorScheme:{light:{root:{background:"{surface.50}",color:"{content.color}"}},dark:{root:{background:"{surface.800}",color:"{content.color}"}}}},Tc={root:{maxWidth:"12.5rem",gutter:"0.25rem",shadow:"{overlay.popover.shadow}",padding:"0.625rem 0.75rem",borderRadius:"{overlay.popover.border.radius}"},colorScheme:{light:{root:{background:"{surface.700}",color:"{surface.0}"}},dark:{root:{background:"{surface.700}",color:"{surface.0}"}}}},Pc={root:{background:"{content.background}",color:"{content.color}",padding:"1rem",gap:"2px",indent:"1rem",transitionDuration:"{transition.duration}"},node:{padding:"0.375rem 0.625rem",borderRadius:"{content.border.radius}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{text.color}",hoverColor:"{text.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"inset {focus.ring.shadow}"},gap:"0.25rem"},nodeIcon:{color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedColor:"{highlight.color}"},nodeToggleButton:{borderRadius:"50%",size:"1.75rem",hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedHoverColor:"{primary.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},loadingIcon:{size:"2rem"},filter:{margin:"0 0 0.5rem 0"}},Ic={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},dropdown:{width:"2.5rem",color:"{form.field.icon.color}"},overlay:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},tree:{padding:"{list.padding}"},clearIcon:{color:"{form.field.icon.color}"},emptyMessage:{padding:"{list.option.padding}"},chip:{borderRadius:"{border.radius.sm}"}},Ac={root:{transitionDuration:"{transition.duration}"},header:{borderColor:"{treetable.border.color}",borderWidth:"1px 0 1px 0",padding:"0.75rem 1rem"},headerCell:{selectedBackground:"{highlight.background}",borderColor:"{treetable.border.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",gap:"0.5rem",padding:"0.75rem 1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"inset {focus.ring.shadow}"}},columnTitle:{fontWeight:"700"},row:{background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{sr.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"inset {focus.ring.shadow}"}},bodyCell:{borderColor:"{treetable.border.color}",padding:"0.75rem 1rem",gap:"0.5rem"},footerCell:{borderColor:"{treetable.border.color}",padding:"0.75rem 1rem"},columnFooter:{fontWeight:"700"},footer:{borderColor:"{treetable.border.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},columnResizerWidth:"0.5rem",resizeIndicator:{width:"1px",color:"{primary.color}"},sortIcon:{color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},loadingIcon:{size:"2rem"},nodeToggleButton:{hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",selectedHoverColor:"{primary.color}",size:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},paginatorTop:{borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},paginatorBottom:{borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},colorScheme:{light:{root:{borderColor:"{content.border.color}"},header:{background:"{surface.50}",color:"{text.color}"},headerCell:{background:"{surface.50}",hoverBackground:"{surface.100}",color:"{text.color}"},footer:{background:"{surface.50}",color:"{text.color}"},footerCell:{background:"{surface.50}",color:"{text.color}"},bodyCell:{selectedBorderColor:"{primary.100}"}},dark:{root:{borderColor:"{surface.800}"},header:{background:"{surface.800}",color:"{text.color}"},headerCell:{background:"{surface.800}",hoverBackground:"{surface.700}",color:"{text.color}"},footer:{background:"{surface.800}",color:"{text.color}"},footerCell:{background:"{surface.800}",color:"{text.color}"},bodyCell:{selectedBorderColor:"{primary.900}"}}}},Wc={loader:{mask:{background:"{content.background}",color:"{text.muted.color}"},icon:{size:"2rem"}}};function ko(o){"@babel/helpers - typeof";return ko=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ko(o)}function pe(o,r){var e=Object.keys(o);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(o);r&&(t=t.filter(function(n){return Object.getOwnPropertyDescriptor(o,n).enumerable})),e.push.apply(e,t)}return e}function me(o){for(var r=1;r<arguments.length;r++){var e=arguments[r]!=null?arguments[r]:{};r%2?pe(Object(e),!0).forEach(function(t){Lc(o,t,e[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(e)):pe(Object(e)).forEach(function(t){Object.defineProperty(o,t,Object.getOwnPropertyDescriptor(e,t))})}return o}function Lc(o,r,e){return(r=Nc(r))in o?Object.defineProperty(o,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):o[r]=e,o}function Nc(o){var r=Fc(o,"string");return ko(r)=="symbol"?r:r+""}function Fc(o,r){if(ko(o)!="object"||!o)return o;var e=o[Symbol.toPrimitive];if(e!==void 0){var t=e.call(o,r||"default");if(ko(t)!="object")return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(o)}var jc=me(me({},ci),{},{components:{accordion:ti,autocomplete:ni,avatar:ai,badge:ii,blockui:di,breadcrumb:li,button:si,datepicker:wi,card:ui,carousel:fi,cascadeselect:gi,checkbox:pi,chip:mi,colorpicker:bi,confirmdialog:hi,confirmpopup:vi,contextmenu:ki,dataview:Ci,datatable:yi,dialog:xi,divider:Bi,dock:Ri,drawer:Si,editor:$i,fieldset:Ei,fileupload:zi,iftalabel:Ti,floatlabel:_i,galleria:Oi,iconfield:Di,image:Pi,imagecompare:Ii,inlinemessage:Ai,inplace:Wi,inputchips:Li,inputgroup:Ni,inputnumber:Fi,inputotp:ji,inputtext:Hi,knob:Mi,listbox:Ui,megamenu:Xi,menu:qi,menubar:Vi,message:Yi,metergroup:Gi,multiselect:Ki,orderlist:Ji,organizationchart:Zi,overlaybadge:Qi,popover:ac,paginator:oc,password:tc,panel:rc,panelmenu:ec,picklist:nc,progressbar:ic,progressspinner:cc,radiobutton:dc,rating:lc,scrollpanel:uc,select:fc,selectbutton:gc,skeleton:pc,slider:mc,speeddial:bc,splitter:vc,splitbutton:hc,stepper:kc,steps:yc,tabmenu:Cc,tabs:wc,tabview:xc,textarea:Sc,tieredmenu:$c,tag:Bc,terminal:Rc,timeline:Ec,togglebutton:_c,toggleswitch:Oc,tree:Pc,treeselect:Ic,treetable:Ac,toast:zc,toolbar:Dc,virtualscroller:Wc},directives:{tooltip:Tc,ripple:sc}});function Hc(){const{layoutState:o,layoutConfig:r,setMenuMode:e,isDarkTheme:t}=Zt(),n={Aura:ei,Lara:jc};C.ref(Object.keys(n));const a=C.ref(r.preset);C.ref(r.darkTheme),C.ref(r.menuMode),C.ref([{name:"Light",value:!1},{name:"Dark",value:!0}]);const i=C.ref([{name:"noir",palette:{}},{name:"emerald",palette:{500:"#10b981"}},{name:"green",palette:{500:"#22c55e"}},{name:"lime",palette:{500:"#84cc16"}},{name:"orange",palette:{500:"#f97316"}},{name:"amber",palette:{500:"#f59e0b"}},{name:"yellow",palette:{500:"#eab308"}},{name:"teal",palette:{500:"#14b8a6"}},{name:"cyan",palette:{500:"#06b6d4"}},{name:"sky",palette:{500:"#0ea5e9"}},{name:"blue",palette:{500:"#3b82f6"}},{name:"indigo",palette:{500:"#6366f1"}},{name:"violet",palette:{500:"#8b5cf6"}},{name:"purple",palette:{500:"#a855f7"}},{name:"fuchsia",palette:{500:"#d946ef"}},{name:"pink",palette:{500:"#ec4899"}},{name:"rose",palette:{500:"#f43f5e"}}]),c=C.ref([{name:"slate",palette:{500:"#64748b"}},{name:"gray",palette:{500:"#6b7280"}},{name:"zinc",palette:{500:"#71717a"}},{name:"neutral",palette:{500:"#737373"}},{name:"stone",palette:{500:"#78716c"}},{name:"soho",palette:{500:"#8e8f93"}},{name:"viva",palette:{500:"#87898a"}},{name:"ocean",palette:{500:"#828787"}}]);function s(){if(!document.startViewTransition){d();return}document.startViewTransition(()=>d())}function d(){r.darkTheme=!r.darkTheme,r.menuTheme=t.value?"dark":"light",document.documentElement.classList.toggle("app-dark")}function l(){const f=i.value.find(m=>m.name===r.primary);if(f.name==="noir"){const m=[50,100,200,300,400,500,600,700,800,900,950],p={};return m.forEach(y=>{p[y]=`{surface.${y}}`}),{semantic:{primary:p,colorScheme:{light:{primary:{color:"{primary.950}",contrastColor:"#ffffff",hoverColor:"{primary.800}",activeColor:"{primary.700}"},highlight:{background:"{primary.950}",focusBackground:"{primary.700}",color:"#ffffff",focusColor:"#ffffff"}},dark:{primary:{color:"{primary.50}",contrastColor:"{primary.950}",hoverColor:"{primary.200}",activeColor:"{primary.300}"},highlight:{background:"{primary.50}",focusBackground:"{primary.300}",color:"{primary.950}",focusColor:"{primary.950}"}}}}}}else return{semantic:{primary:f.palette,colorScheme:{light:{primary:{color:"{primary.500}",contrastColor:"#ffffff",hoverColor:"{primary.600}",activeColor:"{primary.700}"},highlight:{background:"{primary.50}",focusBackground:"{primary.100}",color:"{primary.700}",focusColor:"{primary.800}"}},dark:{primary:{color:"{primary.400}",contrastColor:"{surface.900}",hoverColor:"{primary.300}",activeColor:"{primary.200}"},highlight:{background:"color-mix(in srgb, {primary.400}, transparent 84%)",focusBackground:"color-mix(in srgb, {primary.400}, transparent 76%)",color:"rgba(255,255,255,.87)",focusColor:"rgba(255,255,255,.87)"}}}}}}function g(f){var m;if((m=f.semantic)!=null&&m.primary){const p=f.semantic.primary[500];document.documentElement.style.setProperty("--p-button-primary-background",p),document.documentElement.style.setProperty("--p-button-primary-border-color",p)}}function b(f,m){let p;if(f==="primary"){if(p=i.value.find(y=>y.name===m),!p)return;r.primary=p.name,g({semantic:{primary:p.palette}})}if(f==="surface"){if(p=c.value.find(y=>y.name===m),!p)return;r.surface=p.name,hn(p.palette)}}function h(){var p;r.preset=a.value;const f=n[a.value],m=(p=c.value.find(y=>y.name===r.surface))==null?void 0:p.palette;ue().preset(f).preset(l()).surfacePalette(m).use({useDefaultOptions:!0})}return{toggleDarkMode:s,updateColors:b,onPresetChange:h}}function To(){const o=Q(),{get:r,post:e,put:t,del:n}=ho(),a=()=>o.getAppId();return{getEntityRecords:async f=>{const m=a();return await r(`/api/app/v1/${m}/entity/${f}/record`)},searchEntityRecords:async(f,m)=>{const p=a();return await e(`/api/app/v1/${p}/entity/${f}/record/search`,m)},getRelatedEntityRecord:async(f,m)=>{const p=a();return await r(`/api/app/v1/${p}/entity/${f}/link/record/${m}?fetchRelatedEntities=true`)},saveRelatedEntityRecord:async(f,m,p)=>{const y=a();return await e(`/api/app/v1/${y}/entity/${f}/link/record/${m}`,p)},getRecord:async(f,m)=>{const p=a();return await r(`/api/app/v1/${p}/entity/${f}/record/${m}?fetchRelatedEntities=false`)},addRecord:async(f,m)=>{const p=a();return await e(`/api/app/v1/${p}/entity/${f}/record`,m)},updateRecord:async(f,m,p)=>{const y=a();return await t(`/api/app/v1/${y}/entity/${f}/record/${m}`,p)},deleteRecord:async(f,m)=>{const p=a();return await n(`/api/app/v1/${p}/entity/${f}/record/${m}`)}}}function Mc(o){const r=new To;return{getEntityRecord:async(t,n,a)=>{try{const i=await r.getRecord(t,n);if(i&&i.response)return a!=null&&a!=""&&o(a,i.response),i}catch(i){return i}finally{}}}}function Uc(o){const r=new To;return{addEntityRecord:async(t,n,a)=>{const i={dataDefinitions:Object.entries(n).map(([c,s])=>({recordColumnName:c,recordColumnValue:s}))};try{const c=await r.addRecord(t,i);if(c&&c.response)return a!=null&&a!=""&&o(a,c.response),c}catch(c){return c}finally{}}}}function Xc(o){const r=new To;return{deleteEntityRecord:async(t,n,a)=>{try{const i=await r.deleteRecord(t,n);if(i&&i.response)return a!=null&&a!=""&&o(a,i.response),i}catch(i){return i}finally{}}}}function qc(){const o=Q(),{get:r,post:e,put:t,del:n}=ho(),a=()=>o.getAppId();return{getThemes:async()=>{const l=a();return await r(`/api/app/v1/${l}/theme`)},getThemesData:async l=>(a(),await r(`/api/platform/v1/theme/${l}`)),saveTheme:async l=>{const g=a();return await e(`/api/app/v1/${g}/theme`,l)},updatetheme:async l=>{const g=a();return await t(`/api/app/v1/${g}/theme`,l)}}}function Vc(){const o=Q(),{get:r,post:e,put:t,del:n}=ho(),a=()=>o.getAppId();return{getPlatformComponents:async()=>await r("/api/platform/v1/search/COMPONENT_PALLET?page=0&size=50&continue"),getComponent:async g=>{const b=a();return await r(`/api/app/v1/${b}/content/component/${g}`)},getAllComponents:async g=>{const b=a();return await r(`/api/app/v1/${b}/content/component`)},createComponent:async g=>{const b=a();return await e(`/api/app/v1/${b}/content/component`,g)},getComponentTemplates:async g=>await r(`api/platform/v1/search/COMPONENT_TEMPLATE?keyword=${g}&page=0&size=50`)}}function Yc(){Q();const{get:o,post:r,put:e,del:t}=ho();return{getActiveUser:async()=>await o("/users/me")}}const Gc={install(o,r){const e=(t,n)=>{o.component(t,C.defineAsyncComponent(()=>import(`${n}`))),o.component(t.toLowerCase(),C.defineAsyncComponent(()=>import(`${n}`)))};e("CSEntityGrid","./components/Entity-grid/Grid.vue"),e("CSEntityList","./components/Entity-List/EntityList.vue"),e("CSFieldExpression","./components/common/FieldExpression.vue"),e("CSEntityBarChart","./components/Charts/barChart.vue"),e("CSEntityLineChart","./components/Charts/lineChart.vue"),e("CSEntityPieChart","./components/Charts/piechart.vue"),e("CSEntityPolarChart","./components/Charts/polarChart.vue"),e("CSEntityRadarChart","./components/Charts/radarChart.vue"),e("CSEntity360View","./components/Entity-360/Entity360.vue"),e("CSEntityListing","./components/Entity-listing/EntityListing.vue"),e("CSEntityListingTile","./components/Entity-list-tile/EntityListingTile.vue"),e("CSEntityListingCarousel","./components/Entity-list-carousel/EntityListingCarousel.vue"),e("CSEntitySelection","./components/Entity-Explorer/EntitySelection.vue"),e("CSEntityExplorer","./components/Entity-Explorer/EntityExplorer.vue"),e("CSMenu","./components/Menu/Menu.vue"),e("CSTextInput","./components/Inputs/TextInput.vue")}};A.default=Gc,A.useAddEntityRecord=Uc,A.useComponentService=Vc,A.useDeleteEntityRecord=Xc,A.useEntitiesStore=Jt,A.useEntityRecordService=To,A.useEntityService=Kr,A.useGetEntityRecord=Mc,A.useGlobalConfigsStore=Q,A.useSecurityService=Yc,A.useThemeConfig=Hc,A.useThemeService=qc,Object.defineProperties(A,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
6
+ */let Sr;const Fo=e=>Sr=e,Za=Symbol();function Ao(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Lt;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Lt||(Lt={}));const Br=()=>{};function Nr(e,t,r,n=Br){e.push(t);const a=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),n())};return!r&&o.getCurrentScope()&&o.onScopeDispose(a),a}function _t(e,...t){e.slice().forEach(r=>{r(...t)})}const ei=e=>e(),_r=Symbol(),Io=Symbol();function Po(e,t){e instanceof Map&&t instanceof Map?t.forEach((r,n)=>e.set(n,r)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const r in t){if(!t.hasOwnProperty(r))continue;const n=t[r],a=e[r];Ao(a)&&Ao(n)&&e.hasOwnProperty(r)&&!o.isRef(n)&&!o.isReactive(n)?e[r]=Po(a,n):e[r]=n}return e}const ti=Symbol();function oi(e){return!Ao(e)||!e.hasOwnProperty(ti)}const{assign:lt}=Object;function ri(e){return!!(o.isRef(e)&&e.effect)}function ni(e,t,r,n){const{state:a,actions:i,getters:l}=t,c=r.state.value[e];let u;function s(){c||(r.state.value[e]=a?a():{});const d=o.toRefs(r.state.value[e]);return lt(d,i,Object.keys(l||{}).reduce((f,m)=>(f[m]=o.markRaw(o.computed(()=>{Fo(r);const p=r._s.get(e);return l[m].call(p,p)})),f),{}))}return u=Rr(e,s,t,r,n,!0),u}function Rr(e,t,r={},n,a,i){let l;const c=lt({actions:{}},r),u={deep:!0};let s,d,f=[],m=[],p;const g=n.state.value[e];!i&&!g&&(n.state.value[e]={}),o.ref({});let h;function b(y){let E;s=d=!1,typeof y=="function"?(y(n.state.value[e]),E={type:Lt.patchFunction,storeId:e,events:p}):(Po(n.state.value[e],y),E={type:Lt.patchObject,payload:y,storeId:e,events:p});const V=h=Symbol();o.nextTick().then(()=>{h===V&&(s=!0)}),d=!0,_t(f,E,n.state.value[e])}const k=i?function(){const{state:E}=r,V=E?E():{};this.$patch(_=>{lt(_,V)})}:Br;function C(){l.stop(),f=[],m=[],n._s.delete(e)}const S=(y,E="")=>{if(_r in y)return y[Io]=E,y;const V=function(){Fo(n);const _=Array.from(arguments),D=[],P=[];function T(Y){D.push(Y)}function j(Y){P.push(Y)}_t(m,{args:_,name:V[Io],store:R,after:T,onError:j});let I;try{I=y.apply(this&&this.$id===e?this:R,_)}catch(Y){throw _t(P,Y),Y}return I instanceof Promise?I.then(Y=>(_t(D,Y),Y)).catch(Y=>(_t(P,Y),Promise.reject(Y))):(_t(D,I),I)};return V[_r]=!0,V[Io]=E,V},L={_p:n,$id:e,$onAction:Nr.bind(null,m),$patch:b,$reset:k,$subscribe(y,E={}){const V=Nr(f,y,E.detached,()=>_()),_=l.run(()=>o.watch(()=>n.state.value[e],D=>{(E.flush==="sync"?d:s)&&y({storeId:e,type:Lt.direct,events:p},D)},lt({},u,E)));return V},$dispose:C},R=o.reactive(L);n._s.set(e,R);const w=(n._a&&n._a.runWithContext||ei)(()=>n._e.run(()=>(l=o.effectScope()).run(()=>t({action:S}))));for(const y in w){const E=w[y];if(o.isRef(E)&&!ri(E)||o.isReactive(E))i||(g&&oi(E)&&(o.isRef(E)?E.value=g[y]:Po(E,g[y])),n.state.value[e][y]=E);else if(typeof E=="function"){const V=S(E,y);w[y]=V,c.actions[y]=E}}return lt(R,w),lt(o.toRaw(R),w),Object.defineProperty(R,"$state",{get:()=>n.state.value[e],set:y=>{b(E=>{lt(E,y)})}}),n._p.forEach(y=>{lt(R,l.run(()=>y({store:R,app:n._a,pinia:n,options:c})))}),g&&i&&r.hydrate&&r.hydrate(R.$state,g),s=!0,d=!0,R}/*! #__NO_SIDE_EFFECTS__ */function Lo(e,t,r){let n,a;const i=typeof t=="function";typeof e=="string"?(n=e,a=i?r:t):(a=e,n=e.id);function l(c,u){const s=o.hasInjectionContext();return c=c||(s?o.inject(Za,null):null),c&&Fo(c),c=Sr,c._s.has(n)||(i?Rr(n,t,a,c):ni(n,a,c)),c._s.get(n)}return l.$id=n,l}const Ne=Lo("globalConfigsStore",{state:()=>({globalConfigs:{}}),actions:{setBaseUrl(e){this.globalConfigs.baseUrl=e},setAppId(e){this.globalConfigs.appId=e}},getters:{getBaseUrl:e=>()=>e.globalConfigs.baseUrl,getAppId:e=>()=>e.globalConfigs.appId}});function Tr(e,t){return function(){return e.apply(t,arguments)}}const{toString:ai}=Object.prototype,{getPrototypeOf:Mo}=Object,ro=(e=>t=>{const r=ai.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),ze=e=>(e=e.toLowerCase(),t=>ro(t)===e),no=e=>t=>typeof t===e,{isArray:Rt}=Array,Mt=no("undefined");function ii(e){return e!==null&&!Mt(e)&&e.constructor!==null&&!Mt(e.constructor)&&Ie(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Dr=ze("ArrayBuffer");function li(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Dr(e.buffer),t}const si=no("string"),Ie=no("function"),Or=no("number"),ao=e=>e!==null&&typeof e=="object",ci=e=>e===!0||e===!1,io=e=>{if(ro(e)!=="object")return!1;const t=Mo(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},di=ze("Date"),ui=ze("File"),fi=ze("Blob"),mi=ze("FileList"),pi=e=>ao(e)&&Ie(e.pipe),gi=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Ie(e.append)&&((t=ro(e))==="formdata"||t==="object"&&Ie(e.toString)&&e.toString()==="[object FormData]"))},hi=ze("URLSearchParams"),[bi,yi,ki,wi]=["ReadableStream","Request","Response","Headers"].map(ze),xi=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function jt(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,a;if(typeof e!="object"&&(e=[e]),Rt(e))for(n=0,a=e.length;n<a;n++)t.call(null,e[n],n,e);else{const i=r?Object.getOwnPropertyNames(e):Object.keys(e),l=i.length;let c;for(n=0;n<l;n++)c=i[n],t.call(null,e[c],c,e)}}function Vr(e,t){t=t.toLowerCase();const r=Object.keys(e);let n=r.length,a;for(;n-- >0;)if(a=r[n],t===a.toLowerCase())return a;return null}const ht=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,$r=e=>!Mt(e)&&e!==ht;function jo(){const{caseless:e}=$r(this)&&this||{},t={},r=(n,a)=>{const i=e&&Vr(t,a)||a;io(t[i])&&io(n)?t[i]=jo(t[i],n):io(n)?t[i]=jo({},n):Rt(n)?t[i]=n.slice():t[i]=n};for(let n=0,a=arguments.length;n<a;n++)arguments[n]&&jt(arguments[n],r);return t}const vi=(e,t,r,{allOwnKeys:n}={})=>(jt(t,(a,i)=>{r&&Ie(a)?e[i]=Tr(a,r):e[i]=a},{allOwnKeys:n}),e),Ci=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Ei=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},Si=(e,t,r,n)=>{let a,i,l;const c={};if(t=t||{},e==null)return t;do{for(a=Object.getOwnPropertyNames(e),i=a.length;i-- >0;)l=a[i],(!n||n(l,e,t))&&!c[l]&&(t[l]=e[l],c[l]=!0);e=r!==!1&&Mo(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},Bi=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},Ni=e=>{if(!e)return null;if(Rt(e))return e;let t=e.length;if(!Or(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},_i=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Mo(Uint8Array)),Ri=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let a;for(;(a=n.next())&&!a.done;){const i=a.value;t.call(e,i[0],i[1])}},Ti=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},Di=ze("HTMLFormElement"),Oi=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,a){return n.toUpperCase()+a}),Fr=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),Vi=ze("RegExp"),Ar=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};jt(r,(a,i)=>{let l;(l=t(a,i,e))!==!1&&(n[i]=l||a)}),Object.defineProperties(e,n)},$i=e=>{Ar(e,(t,r)=>{if(Ie(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(Ie(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},Fi=(e,t)=>{const r={},n=a=>{a.forEach(i=>{r[i]=!0})};return Rt(e)?n(e):n(String(e).split(t)),r},Ai=()=>{},Ii=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,zo="abcdefghijklmnopqrstuvwxyz",Ir="0123456789",Pr={DIGIT:Ir,ALPHA:zo,ALPHA_DIGIT:zo+zo.toUpperCase()+Ir},Pi=(e=16,t=Pr.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function Li(e){return!!(e&&Ie(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Mi=e=>{const t=new Array(10),r=(n,a)=>{if(ao(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[a]=n;const i=Rt(n)?[]:{};return jt(n,(l,c)=>{const u=r(l,a+1);!Mt(u)&&(i[c]=u)}),t[a]=void 0,i}}return n};return r(e,0)},ji=ze("AsyncFunction"),zi=e=>e&&(ao(e)||Ie(e))&&Ie(e.then)&&Ie(e.catch),Lr=((e,t)=>e?setImmediate:t?((r,n)=>(ht.addEventListener("message",({source:a,data:i})=>{a===ht&&i===r&&n.length&&n.shift()()},!1),a=>{n.push(a),ht.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",Ie(ht.postMessage)),Ui=typeof queueMicrotask<"u"?queueMicrotask.bind(ht):typeof process<"u"&&process.nextTick||Lr,B={isArray:Rt,isArrayBuffer:Dr,isBuffer:ii,isFormData:gi,isArrayBufferView:li,isString:si,isNumber:Or,isBoolean:ci,isObject:ao,isPlainObject:io,isReadableStream:bi,isRequest:yi,isResponse:ki,isHeaders:wi,isUndefined:Mt,isDate:di,isFile:ui,isBlob:fi,isRegExp:Vi,isFunction:Ie,isStream:pi,isURLSearchParams:hi,isTypedArray:_i,isFileList:mi,forEach:jt,merge:jo,extend:vi,trim:xi,stripBOM:Ci,inherits:Ei,toFlatObject:Si,kindOf:ro,kindOfTest:ze,endsWith:Bi,toArray:Ni,forEachEntry:Ri,matchAll:Ti,isHTMLForm:Di,hasOwnProperty:Fr,hasOwnProp:Fr,reduceDescriptors:Ar,freezeMethods:$i,toObjectSet:Fi,toCamelCase:Oi,noop:Ai,toFiniteNumber:Ii,findKey:Vr,global:ht,isContextDefined:$r,ALPHABET:Pr,generateString:Pi,isSpecCompliantForm:Li,toJSONObject:Mi,isAsyncFn:ji,isThenable:zi,setImmediate:Lr,asap:Ui};function oe(e,t,r,n,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),a&&(this.response=a,this.status=a.status?a.status:null)}B.inherits(oe,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:B.toJSONObject(this.config),code:this.code,status:this.status}}});const Mr=oe.prototype,jr={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{jr[e]={value:e}}),Object.defineProperties(oe,jr),Object.defineProperty(Mr,"isAxiosError",{value:!0}),oe.from=(e,t,r,n,a,i)=>{const l=Object.create(Mr);return B.toFlatObject(e,l,function(u){return u!==Error.prototype},c=>c!=="isAxiosError"),oe.call(l,e.message,t,r,n,a),l.cause=e,l.name=e.name,i&&Object.assign(l,i),l};const Wi=null;function Uo(e){return B.isPlainObject(e)||B.isArray(e)}function zr(e){return B.endsWith(e,"[]")?e.slice(0,-2):e}function Ur(e,t,r){return e?e.concat(t).map(function(a,i){return a=zr(a),!r&&i?"["+a+"]":a}).join(r?".":""):t}function qi(e){return B.isArray(e)&&!e.some(Uo)}const Hi=B.toFlatObject(B,{},null,function(t){return/^is[A-Z]/.test(t)});function lo(e,t,r){if(!B.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=B.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(h,b){return!B.isUndefined(b[h])});const n=r.metaTokens,a=r.visitor||d,i=r.dots,l=r.indexes,u=(r.Blob||typeof Blob<"u"&&Blob)&&B.isSpecCompliantForm(t);if(!B.isFunction(a))throw new TypeError("visitor must be a function");function s(g){if(g===null)return"";if(B.isDate(g))return g.toISOString();if(!u&&B.isBlob(g))throw new oe("Blob is not supported. Use a Buffer instead.");return B.isArrayBuffer(g)||B.isTypedArray(g)?u&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function d(g,h,b){let k=g;if(g&&!b&&typeof g=="object"){if(B.endsWith(h,"{}"))h=n?h:h.slice(0,-2),g=JSON.stringify(g);else if(B.isArray(g)&&qi(g)||(B.isFileList(g)||B.endsWith(h,"[]"))&&(k=B.toArray(g)))return h=zr(h),k.forEach(function(S,L){!(B.isUndefined(S)||S===null)&&t.append(l===!0?Ur([h],L,i):l===null?h:h+"[]",s(S))}),!1}return Uo(g)?!0:(t.append(Ur(b,h,i),s(g)),!1)}const f=[],m=Object.assign(Hi,{defaultVisitor:d,convertValue:s,isVisitable:Uo});function p(g,h){if(!B.isUndefined(g)){if(f.indexOf(g)!==-1)throw Error("Circular reference detected in "+h.join("."));f.push(g),B.forEach(g,function(k,C){(!(B.isUndefined(k)||k===null)&&a.call(t,k,B.isString(C)?C.trim():C,h,m))===!0&&p(k,h?h.concat(C):[C])}),f.pop()}}if(!B.isObject(e))throw new TypeError("data must be an object");return p(e),t}function Wr(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Wo(e,t){this._pairs=[],e&&lo(e,this,t)}const qr=Wo.prototype;qr.append=function(t,r){this._pairs.push([t,r])},qr.toString=function(t){const r=t?function(n){return t.call(this,n,Wr)}:Wr;return this._pairs.map(function(a){return r(a[0])+"="+r(a[1])},"").join("&")};function Ki(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Hr(e,t,r){if(!t)return e;const n=r&&r.encode||Ki;B.isFunction(r)&&(r={serialize:r});const a=r&&r.serialize;let i;if(a?i=a(t,r):i=B.isURLSearchParams(t)?t.toString():new Wo(t,r).toString(n),i){const l=e.indexOf("#");l!==-1&&(e=e.slice(0,l)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Kr{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){B.forEach(this.handlers,function(n){n!==null&&t(n)})}}const Yr={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Yi={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Wo,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},qo=typeof window<"u"&&typeof document<"u",Ho=typeof navigator=="object"&&navigator||void 0,Gi=qo&&(!Ho||["ReactNative","NativeScript","NS"].indexOf(Ho.product)<0),Xi=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Ji=qo&&window.location.href||"http://localhost",_e={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:qo,hasStandardBrowserEnv:Gi,hasStandardBrowserWebWorkerEnv:Xi,navigator:Ho,origin:Ji},Symbol.toStringTag,{value:"Module"})),...Yi};function Qi(e,t){return lo(e,new _e.classes.URLSearchParams,Object.assign({visitor:function(r,n,a,i){return _e.isNode&&B.isBuffer(r)?(this.append(n,r.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function Zi(e){return B.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function el(e){const t={},r=Object.keys(e);let n;const a=r.length;let i;for(n=0;n<a;n++)i=r[n],t[i]=e[i];return t}function Gr(e){function t(r,n,a,i){let l=r[i++];if(l==="__proto__")return!0;const c=Number.isFinite(+l),u=i>=r.length;return l=!l&&B.isArray(a)?a.length:l,u?(B.hasOwnProp(a,l)?a[l]=[a[l],n]:a[l]=n,!c):((!a[l]||!B.isObject(a[l]))&&(a[l]=[]),t(r,n,a[l],i)&&B.isArray(a[l])&&(a[l]=el(a[l])),!c)}if(B.isFormData(e)&&B.isFunction(e.entries)){const r={};return B.forEachEntry(e,(n,a)=>{t(Zi(n),a,r,0)}),r}return null}function tl(e,t,r){if(B.isString(e))try{return(t||JSON.parse)(e),B.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(0,JSON.stringify)(e)}const zt={transitional:Yr,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const n=r.getContentType()||"",a=n.indexOf("application/json")>-1,i=B.isObject(t);if(i&&B.isHTMLForm(t)&&(t=new FormData(t)),B.isFormData(t))return a?JSON.stringify(Gr(t)):t;if(B.isArrayBuffer(t)||B.isBuffer(t)||B.isStream(t)||B.isFile(t)||B.isBlob(t)||B.isReadableStream(t))return t;if(B.isArrayBufferView(t))return t.buffer;if(B.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let c;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Qi(t,this.formSerializer).toString();if((c=B.isFileList(t))||n.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return lo(c?{"files[]":t}:t,u&&new u,this.formSerializer)}}return i||a?(r.setContentType("application/json",!1),tl(t)):t}],transformResponse:[function(t){const r=this.transitional||zt.transitional,n=r&&r.forcedJSONParsing,a=this.responseType==="json";if(B.isResponse(t)||B.isReadableStream(t))return t;if(t&&B.isString(t)&&(n&&!this.responseType||a)){const l=!(r&&r.silentJSONParsing)&&a;try{return JSON.parse(t)}catch(c){if(l)throw c.name==="SyntaxError"?oe.from(c,oe.ERR_BAD_RESPONSE,this,null,this.response):c}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:_e.classes.FormData,Blob:_e.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};B.forEach(["delete","get","head","post","put","patch"],e=>{zt.headers[e]={}});const ol=B.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),rl=e=>{const t={};let r,n,a;return e&&e.split(`
7
+ `).forEach(function(l){a=l.indexOf(":"),r=l.substring(0,a).trim().toLowerCase(),n=l.substring(a+1).trim(),!(!r||t[r]&&ol[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},Xr=Symbol("internals");function Ut(e){return e&&String(e).trim().toLowerCase()}function so(e){return e===!1||e==null?e:B.isArray(e)?e.map(so):String(e)}function nl(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const al=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Ko(e,t,r,n,a){if(B.isFunction(n))return n.call(this,t,r);if(a&&(t=r),!!B.isString(t)){if(B.isString(n))return t.indexOf(n)!==-1;if(B.isRegExp(n))return n.test(t)}}function il(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function ll(e,t){const r=B.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(a,i,l){return this[n].call(this,t,a,i,l)},configurable:!0})})}class De{constructor(t){t&&this.set(t)}set(t,r,n){const a=this;function i(c,u,s){const d=Ut(u);if(!d)throw new Error("header name must be a non-empty string");const f=B.findKey(a,d);(!f||a[f]===void 0||s===!0||s===void 0&&a[f]!==!1)&&(a[f||u]=so(c))}const l=(c,u)=>B.forEach(c,(s,d)=>i(s,d,u));if(B.isPlainObject(t)||t instanceof this.constructor)l(t,r);else if(B.isString(t)&&(t=t.trim())&&!al(t))l(rl(t),r);else if(B.isHeaders(t))for(const[c,u]of t.entries())i(u,c,n);else t!=null&&i(r,t,n);return this}get(t,r){if(t=Ut(t),t){const n=B.findKey(this,t);if(n){const a=this[n];if(!r)return a;if(r===!0)return nl(a);if(B.isFunction(r))return r.call(this,a,n);if(B.isRegExp(r))return r.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=Ut(t),t){const n=B.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||Ko(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let a=!1;function i(l){if(l=Ut(l),l){const c=B.findKey(n,l);c&&(!r||Ko(n,n[c],c,r))&&(delete n[c],a=!0)}}return B.isArray(t)?t.forEach(i):i(t),a}clear(t){const r=Object.keys(this);let n=r.length,a=!1;for(;n--;){const i=r[n];(!t||Ko(this,this[i],i,t,!0))&&(delete this[i],a=!0)}return a}normalize(t){const r=this,n={};return B.forEach(this,(a,i)=>{const l=B.findKey(n,i);if(l){r[l]=so(a),delete r[i];return}const c=t?il(i):String(i).trim();c!==i&&delete r[i],r[c]=so(a),n[c]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return B.forEach(this,(n,a)=>{n!=null&&n!==!1&&(r[a]=t&&B.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
8
+ `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(a=>n.set(a)),n}static accessor(t){const n=(this[Xr]=this[Xr]={accessors:{}}).accessors,a=this.prototype;function i(l){const c=Ut(l);n[c]||(ll(a,l),n[c]=!0)}return B.isArray(t)?t.forEach(i):i(t),this}}De.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),B.reduceDescriptors(De.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}}),B.freezeMethods(De);function Yo(e,t){const r=this||zt,n=t||r,a=De.from(n.headers);let i=n.data;return B.forEach(e,function(c){i=c.call(r,i,a.normalize(),t?t.status:void 0)}),a.normalize(),i}function Jr(e){return!!(e&&e.__CANCEL__)}function Tt(e,t,r){oe.call(this,e??"canceled",oe.ERR_CANCELED,t,r),this.name="CanceledError"}B.inherits(Tt,oe,{__CANCEL__:!0});function Qr(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new oe("Request failed with status code "+r.status,[oe.ERR_BAD_REQUEST,oe.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function sl(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function cl(e,t){e=e||10;const r=new Array(e),n=new Array(e);let a=0,i=0,l;return t=t!==void 0?t:1e3,function(u){const s=Date.now(),d=n[i];l||(l=s),r[a]=u,n[a]=s;let f=i,m=0;for(;f!==a;)m+=r[f++],f=f%e;if(a=(a+1)%e,a===i&&(i=(i+1)%e),s-l<t)return;const p=d&&s-d;return p?Math.round(m*1e3/p):void 0}}function dl(e,t){let r=0,n=1e3/t,a,i;const l=(s,d=Date.now())=>{r=d,a=null,i&&(clearTimeout(i),i=null),e.apply(null,s)};return[(...s)=>{const d=Date.now(),f=d-r;f>=n?l(s,d):(a=s,i||(i=setTimeout(()=>{i=null,l(a)},n-f)))},()=>a&&l(a)]}const co=(e,t,r=3)=>{let n=0;const a=cl(50,250);return dl(i=>{const l=i.loaded,c=i.lengthComputable?i.total:void 0,u=l-n,s=a(u),d=l<=c;n=l;const f={loaded:l,total:c,progress:c?l/c:void 0,bytes:u,rate:s||void 0,estimated:s&&c&&d?(c-l)/s:void 0,event:i,lengthComputable:c!=null,[t?"download":"upload"]:!0};e(f)},r)},Zr=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},en=e=>(...t)=>B.asap(()=>e(...t)),ul=_e.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,_e.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(_e.origin),_e.navigator&&/(msie|trident)/i.test(_e.navigator.userAgent)):()=>!0,fl=_e.hasStandardBrowserEnv?{write(e,t,r,n,a,i){const l=[e+"="+encodeURIComponent(t)];B.isNumber(r)&&l.push("expires="+new Date(r).toGMTString()),B.isString(n)&&l.push("path="+n),B.isString(a)&&l.push("domain="+a),i===!0&&l.push("secure"),document.cookie=l.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function ml(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function pl(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function tn(e,t){return e&&!ml(t)?pl(e,t):t}const on=e=>e instanceof De?{...e}:e;function bt(e,t){t=t||{};const r={};function n(s,d,f,m){return B.isPlainObject(s)&&B.isPlainObject(d)?B.merge.call({caseless:m},s,d):B.isPlainObject(d)?B.merge({},d):B.isArray(d)?d.slice():d}function a(s,d,f,m){if(B.isUndefined(d)){if(!B.isUndefined(s))return n(void 0,s,f,m)}else return n(s,d,f,m)}function i(s,d){if(!B.isUndefined(d))return n(void 0,d)}function l(s,d){if(B.isUndefined(d)){if(!B.isUndefined(s))return n(void 0,s)}else return n(void 0,d)}function c(s,d,f){if(f in t)return n(s,d);if(f in e)return n(void 0,s)}const u={url:i,method:i,data:i,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,withXSRFToken:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:c,headers:(s,d,f)=>a(on(s),on(d),f,!0)};return B.forEach(Object.keys(Object.assign({},e,t)),function(d){const f=u[d]||a,m=f(e[d],t[d],d);B.isUndefined(m)&&f!==c||(r[d]=m)}),r}const rn=e=>{const t=bt({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:a,xsrfCookieName:i,headers:l,auth:c}=t;t.headers=l=De.from(l),t.url=Hr(tn(t.baseURL,t.url),e.params,e.paramsSerializer),c&&l.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):"")));let u;if(B.isFormData(r)){if(_e.hasStandardBrowserEnv||_e.hasStandardBrowserWebWorkerEnv)l.setContentType(void 0);else if((u=l.getContentType())!==!1){const[s,...d]=u?u.split(";").map(f=>f.trim()).filter(Boolean):[];l.setContentType([s||"multipart/form-data",...d].join("; "))}}if(_e.hasStandardBrowserEnv&&(n&&B.isFunction(n)&&(n=n(t)),n||n!==!1&&ul(t.url))){const s=a&&i&&fl.read(i);s&&l.set(a,s)}return t},gl=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(r,n){const a=rn(e);let i=a.data;const l=De.from(a.headers).normalize();let{responseType:c,onUploadProgress:u,onDownloadProgress:s}=a,d,f,m,p,g;function h(){p&&p(),g&&g(),a.cancelToken&&a.cancelToken.unsubscribe(d),a.signal&&a.signal.removeEventListener("abort",d)}let b=new XMLHttpRequest;b.open(a.method.toUpperCase(),a.url,!0),b.timeout=a.timeout;function k(){if(!b)return;const S=De.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),R={data:!c||c==="text"||c==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:S,config:e,request:b};Qr(function(w){r(w),h()},function(w){n(w),h()},R),b=null}"onloadend"in b?b.onloadend=k:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)||setTimeout(k)},b.onabort=function(){b&&(n(new oe("Request aborted",oe.ECONNABORTED,e,b)),b=null)},b.onerror=function(){n(new oe("Network Error",oe.ERR_NETWORK,e,b)),b=null},b.ontimeout=function(){let L=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const R=a.transitional||Yr;a.timeoutErrorMessage&&(L=a.timeoutErrorMessage),n(new oe(L,R.clarifyTimeoutError?oe.ETIMEDOUT:oe.ECONNABORTED,e,b)),b=null},i===void 0&&l.setContentType(null),"setRequestHeader"in b&&B.forEach(l.toJSON(),function(L,R){b.setRequestHeader(R,L)}),B.isUndefined(a.withCredentials)||(b.withCredentials=!!a.withCredentials),c&&c!=="json"&&(b.responseType=a.responseType),s&&([m,g]=co(s,!0),b.addEventListener("progress",m)),u&&b.upload&&([f,p]=co(u),b.upload.addEventListener("progress",f),b.upload.addEventListener("loadend",p)),(a.cancelToken||a.signal)&&(d=S=>{b&&(n(!S||S.type?new Tt(null,e,b):S),b.abort(),b=null)},a.cancelToken&&a.cancelToken.subscribe(d),a.signal&&(a.signal.aborted?d():a.signal.addEventListener("abort",d)));const C=sl(a.url);if(C&&_e.protocols.indexOf(C)===-1){n(new oe("Unsupported protocol "+C+":",oe.ERR_BAD_REQUEST,e));return}b.send(i||null)})},hl=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let n=new AbortController,a;const i=function(s){if(!a){a=!0,c();const d=s instanceof Error?s:this.reason;n.abort(d instanceof oe?d:new Tt(d instanceof Error?d.message:d))}};let l=t&&setTimeout(()=>{l=null,i(new oe(`timeout ${t} of ms exceeded`,oe.ETIMEDOUT))},t);const c=()=>{e&&(l&&clearTimeout(l),l=null,e.forEach(s=>{s.unsubscribe?s.unsubscribe(i):s.removeEventListener("abort",i)}),e=null)};e.forEach(s=>s.addEventListener("abort",i));const{signal:u}=n;return u.unsubscribe=()=>B.asap(c),u}},bl=function*(e,t){let r=e.byteLength;if(r<t){yield e;return}let n=0,a;for(;n<r;)a=n+t,yield e.slice(n,a),n=a},yl=async function*(e,t){for await(const r of kl(e))yield*bl(r,t)},kl=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:r,value:n}=await t.read();if(r)break;yield n}}finally{await t.cancel()}},nn=(e,t,r,n)=>{const a=yl(e,t);let i=0,l,c=u=>{l||(l=!0,n&&n(u))};return new ReadableStream({async pull(u){try{const{done:s,value:d}=await a.next();if(s){c(),u.close();return}let f=d.byteLength;if(r){let m=i+=f;r(m)}u.enqueue(new Uint8Array(d))}catch(s){throw c(s),s}},cancel(u){return c(u),a.return()}},{highWaterMark:2})},uo=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",an=uo&&typeof ReadableStream=="function",wl=uo&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),ln=(e,...t)=>{try{return!!e(...t)}catch{return!1}},xl=an&&ln(()=>{let e=!1;const t=new Request(_e.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),sn=64*1024,Go=an&&ln(()=>B.isReadableStream(new Response("").body)),fo={stream:Go&&(e=>e.body)};uo&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!fo[t]&&(fo[t]=B.isFunction(e[t])?r=>r[t]():(r,n)=>{throw new oe(`Response type '${t}' is not supported`,oe.ERR_NOT_SUPPORT,n)})})})(new Response);const vl=async e=>{if(e==null)return 0;if(B.isBlob(e))return e.size;if(B.isSpecCompliantForm(e))return(await new Request(_e.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(B.isArrayBufferView(e)||B.isArrayBuffer(e))return e.byteLength;if(B.isURLSearchParams(e)&&(e=e+""),B.isString(e))return(await wl(e)).byteLength},Cl=async(e,t)=>{const r=B.toFiniteNumber(e.getContentLength());return r??vl(t)},Xo={http:Wi,xhr:gl,fetch:uo&&(async e=>{let{url:t,method:r,data:n,signal:a,cancelToken:i,timeout:l,onDownloadProgress:c,onUploadProgress:u,responseType:s,headers:d,withCredentials:f="same-origin",fetchOptions:m}=rn(e);s=s?(s+"").toLowerCase():"text";let p=hl([a,i&&i.toAbortSignal()],l),g;const h=p&&p.unsubscribe&&(()=>{p.unsubscribe()});let b;try{if(u&&xl&&r!=="get"&&r!=="head"&&(b=await Cl(d,n))!==0){let R=new Request(t,{method:"POST",body:n,duplex:"half"}),N;if(B.isFormData(n)&&(N=R.headers.get("content-type"))&&d.setContentType(N),R.body){const[w,y]=Zr(b,co(en(u)));n=nn(R.body,sn,w,y)}}B.isString(f)||(f=f?"include":"omit");const k="credentials"in Request.prototype;g=new Request(t,{...m,signal:p,method:r.toUpperCase(),headers:d.normalize().toJSON(),body:n,duplex:"half",credentials:k?f:void 0});let C=await fetch(g);const S=Go&&(s==="stream"||s==="response");if(Go&&(c||S&&h)){const R={};["status","statusText","headers"].forEach(E=>{R[E]=C[E]});const N=B.toFiniteNumber(C.headers.get("content-length")),[w,y]=c&&Zr(N,co(en(c),!0))||[];C=new Response(nn(C.body,sn,w,()=>{y&&y(),h&&h()}),R)}s=s||"text";let L=await fo[B.findKey(fo,s)||"text"](C,e);return!S&&h&&h(),await new Promise((R,N)=>{Qr(R,N,{data:L,headers:De.from(C.headers),status:C.status,statusText:C.statusText,config:e,request:g})})}catch(k){throw h&&h(),k&&k.name==="TypeError"&&/fetch/i.test(k.message)?Object.assign(new oe("Network Error",oe.ERR_NETWORK,e,g),{cause:k.cause||k}):oe.from(k,k&&k.code,e,g)}})};B.forEach(Xo,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const cn=e=>`- ${e}`,El=e=>B.isFunction(e)||e===null||e===!1,dn={getAdapter:e=>{e=B.isArray(e)?e:[e];const{length:t}=e;let r,n;const a={};for(let i=0;i<t;i++){r=e[i];let l;if(n=r,!El(r)&&(n=Xo[(l=String(r)).toLowerCase()],n===void 0))throw new oe(`Unknown adapter '${l}'`);if(n)break;a[l||"#"+i]=n}if(!n){const i=Object.entries(a).map(([c,u])=>`adapter ${c} `+(u===!1?"is not supported by the environment":"is not available in the build"));let l=t?i.length>1?`since :
9
+ `+i.map(cn).join(`
10
+ `):" "+cn(i[0]):"as no adapter specified";throw new oe("There is no suitable adapter to dispatch the request "+l,"ERR_NOT_SUPPORT")}return n},adapters:Xo};function Jo(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Tt(null,e)}function un(e){return Jo(e),e.headers=De.from(e.headers),e.data=Yo.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),dn.getAdapter(e.adapter||zt.adapter)(e).then(function(n){return Jo(e),n.data=Yo.call(e,e.transformResponse,n),n.headers=De.from(n.headers),n},function(n){return Jr(n)||(Jo(e),n&&n.response&&(n.response.data=Yo.call(e,e.transformResponse,n.response),n.response.headers=De.from(n.response.headers))),Promise.reject(n)})}const fn="1.7.9",mo={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{mo[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const mn={};mo.transitional=function(t,r,n){function a(i,l){return"[Axios v"+fn+"] Transitional option '"+i+"'"+l+(n?". "+n:"")}return(i,l,c)=>{if(t===!1)throw new oe(a(l," has been removed"+(r?" in "+r:"")),oe.ERR_DEPRECATED);return r&&!mn[l]&&(mn[l]=!0,console.warn(a(l," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(i,l,c):!0}},mo.spelling=function(t){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function Sl(e,t,r){if(typeof e!="object")throw new oe("options must be an object",oe.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let a=n.length;for(;a-- >0;){const i=n[a],l=t[i];if(l){const c=e[i],u=c===void 0||l(c,i,e);if(u!==!0)throw new oe("option "+i+" must be "+u,oe.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new oe("Unknown option "+i,oe.ERR_BAD_OPTION)}}const po={assertOptions:Sl,validators:mo},Ge=po.validators;class yt{constructor(t){this.defaults=t,this.interceptors={request:new Kr,response:new Kr}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let a={};Error.captureStackTrace?Error.captureStackTrace(a):a=new Error;const i=a.stack?a.stack.replace(/^.+\n/,""):"";try{n.stack?i&&!String(n.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(n.stack+=`
11
+ `+i):n.stack=i}catch{}}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=bt(this.defaults,r);const{transitional:n,paramsSerializer:a,headers:i}=r;n!==void 0&&po.assertOptions(n,{silentJSONParsing:Ge.transitional(Ge.boolean),forcedJSONParsing:Ge.transitional(Ge.boolean),clarifyTimeoutError:Ge.transitional(Ge.boolean)},!1),a!=null&&(B.isFunction(a)?r.paramsSerializer={serialize:a}:po.assertOptions(a,{encode:Ge.function,serialize:Ge.function},!0)),po.assertOptions(r,{baseUrl:Ge.spelling("baseURL"),withXsrfToken:Ge.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let l=i&&B.merge(i.common,i[r.method]);i&&B.forEach(["delete","get","head","post","put","patch","common"],g=>{delete i[g]}),r.headers=De.concat(l,i);const c=[];let u=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(r)===!1||(u=u&&h.synchronous,c.unshift(h.fulfilled,h.rejected))});const s=[];this.interceptors.response.forEach(function(h){s.push(h.fulfilled,h.rejected)});let d,f=0,m;if(!u){const g=[un.bind(this),void 0];for(g.unshift.apply(g,c),g.push.apply(g,s),m=g.length,d=Promise.resolve(r);f<m;)d=d.then(g[f++],g[f++]);return d}m=c.length;let p=r;for(f=0;f<m;){const g=c[f++],h=c[f++];try{p=g(p)}catch(b){h.call(this,b);break}}try{d=un.call(this,p)}catch(g){return Promise.reject(g)}for(f=0,m=s.length;f<m;)d=d.then(s[f++],s[f++]);return d}getUri(t){t=bt(this.defaults,t);const r=tn(t.baseURL,t.url);return Hr(r,t.params,t.paramsSerializer)}}B.forEach(["delete","get","head","options"],function(t){yt.prototype[t]=function(r,n){return this.request(bt(n||{},{method:t,url:r,data:(n||{}).data}))}}),B.forEach(["post","put","patch"],function(t){function r(n){return function(i,l,c){return this.request(bt(c||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:i,data:l}))}}yt.prototype[t]=r(),yt.prototype[t+"Form"]=r(!0)});class Qo{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(i){r=i});const n=this;this.promise.then(a=>{if(!n._listeners)return;let i=n._listeners.length;for(;i-- >0;)n._listeners[i](a);n._listeners=null}),this.promise.then=a=>{let i;const l=new Promise(c=>{n.subscribe(c),i=c}).then(a);return l.cancel=function(){n.unsubscribe(i)},l},t(function(i,l,c){n.reason||(n.reason=new Tt(i,l,c),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=n=>{t.abort(n)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new Qo(function(a){t=a}),cancel:t}}}function Bl(e){return function(r){return e.apply(null,r)}}function Nl(e){return B.isObject(e)&&e.isAxiosError===!0}const Zo={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Zo).forEach(([e,t])=>{Zo[t]=e});function pn(e){const t=new yt(e),r=Tr(yt.prototype.request,t);return B.extend(r,yt.prototype,t,{allOwnKeys:!0}),B.extend(r,t,null,{allOwnKeys:!0}),r.create=function(a){return pn(bt(e,a))},r}const xe=pn(zt);xe.Axios=yt,xe.CanceledError=Tt,xe.CancelToken=Qo,xe.isCancel=Jr,xe.VERSION=fn,xe.toFormData=lo,xe.AxiosError=oe,xe.Cancel=xe.CanceledError,xe.all=function(t){return Promise.all(t)},xe.spread=Bl,xe.isAxiosError=Nl,xe.mergeConfig=bt,xe.AxiosHeaders=De,xe.formToJSON=e=>Gr(B.isHTMLForm(e)?new FormData(e):e),xe.getAdapter=dn.getAdapter,xe.HttpStatusCode=Zo,xe.default=xe;const _l=Lo("loading",{state:()=>({loading:!1}),actions:{setLoading(e){this.loading=e}}});function Rl(){const e=_l();return{onResponse(t){return e.setLoading(!1),["post","put","delete"].includes(t.config.method)&&console.log("🌐 Operation completed successfully"),t},onError(t){var n,a,i,l,c;e.setLoading(!1);const r=((a=(n=t.response)==null?void 0:n.data)==null?void 0:a.message)||t.message||"Unexpected error occurred";return console.error("🌐 API Error",{url:(i=t.config)==null?void 0:i.url,method:(l=t.config)==null?void 0:l.method,status:(c=t.response)==null?void 0:c.status,message:r}),Promise.reject(t)}}}function gn(e={}){return{"Content-Type":"application/json",...e}}function kt(){Ne();const e=Rl(),t=xe.create({headers:gn()});t.interceptors.response.use(u=>e.onResponse(u),u=>(e.onError(u),Promise.reject(u)));const r=()=>"",n=(u={})=>gn(u),a=(u={})=>({...u,requestSource:"web"}),i=u=>{const{data:s}=u;return console.log("API Response:",s),s!=null&&s.response||console.warn("Unexpected response format:",s),s},l=u=>{if(u.response){const{status:s,data:d}=u.response;return{success:!1,status:s,message:(d==null?void 0:d.message)||"Something went wrong",data:d||null}}return Promise.reject(u)},c=async({url:u,method:s="get",payload:d=null,headers:f={}})=>{const m=u.startsWith("http")?u:r()+u,p=n(f),g=d?a(d):null;console.log(`Making ${s.toUpperCase()} request to ${m}`),console.log("Payload:",g),console.log("Headers:",p);try{const h={url:m,method:s,headers:p,data:g},b=await t.request(h);return i(b)}catch(h){return l(h)}};return{get:(u,s={})=>c({url:u,method:"get",headers:s}),post:(u,s,d={})=>c({url:u,method:"post",payload:s,headers:d}),put:(u,s,d={})=>c({url:u,method:"put",payload:s,headers:d}),del:(u,s={},d={})=>c({url:u,method:"delete",payload:s,headers:d})}}function Ue(){const e=Ne(),{get:t,post:r,put:n,del:a}=kt(),i=()=>e.getAppId();return{getEntityRecords:async g=>{const h=i();return await t(`/api/app/v1/${h}/entity/${g}/record`)},searchEntityRecords:async(g,h)=>{const b=i();return await r(`/api/app/v1/${b}/entity/${g}/record/search`,h)},getRelatedEntityRecord:async(g,h)=>{const b=i();return await t(`/api/app/v1/${b}/entity/${g}/link/record/${h}?fetchRelatedEntities=true`)},saveRelatedEntityRecord:async(g,h,b)=>{const k=i();return await r(`/api/app/v1/${k}/entity/${g}/link/record/${h}`,b)},getRecord:async(g,h)=>{const b=i();return await t(`/api/app/v1/${b}/entity/${g}/record/${h}?fetchRelatedEntities=false`)},addRecord:async(g,h)=>{const b=i();return await r(`/api/app/v1/${b}/entity/${g}/record`,h)},updateRecord:async(g,h,b)=>{const k=i();return await n(`/api/app/v1/${k}/entity/${g}/record/${h}`,b)},deleteRecord:async(g,h)=>{const b=i();return await a(`/api/app/v1/${b}/entity/${g}/record/${h}`)}}}function Tl(e=""){const t=new Ue,r={gt:"GREATER_THAN",dateAfter:"GREATER_THAN",equals:"EQUAL",dateIs:"EQUAL",notEquals:"NOT_EQUAL",dateIsNot:"NOT_EQUAL",lt:"LESS_THAN",dateBefore:"LESS_THAN",lte:"LESS_THAN_EQUAL",gte:"GREATER_THAN_EQUAL",between:"BETWEEN",contains:"CONTAINS",startsWith:"STARTS_WITH",notContains:"NOT_CONTAINS",endsWith:"ENDS_WITH"};let n=o.ref({}),a=o.ref([]),i=o.ref([]),l=o.ref([]);const c=o.ref(""),u=o.ref(1),s=o.ref(25),d=o.ref(0),f=o.ref(0),m=o.ref(0),p=o.ref(!1),g=o.ref([]),h=o.ref(""),b=o.ref({}),k=async(_,D=!0)=>{p.value=!0;try{const P=await t.getEntityRecords(_);P&&P.response&&(n.value=P.response,a.value=P.response.result,l.value=P.response.entity.entityDefinition.columns,i.value=S(P.response.entity.entityDefinition.columns),f.value=P.response.totalRecords,V())}catch(P){console.error("Error fetching entity:",P.errorMessage)}finally{p.value=!1}},C=async(_=!0)=>{p.value=!0;try{const D={sortBy:[c.value],sortDirection:u.value===1?"ASC":"DESC",pageSize:s.value,currentPage:d.value,columnList:null,filter:g.value,fullTextSearch:h.value};Object.keys(D.filter).length===0&&(D.filter=[]);const P=await t.searchEntityRecords(e,D);P&&P.response&&(p.value=!1,n.value=P.response,a.value=P.response.result,f.value=P.response.totalRecords,m.value=d.value*s.value)}catch(D){console.error("Error fetching entity:",D.errorMessage)}finally{p.value=!1}},S=_=>_.map(D=>({field:D.name,name:D.displayName?D.displayName:D.name,filterable:D.filterable,datatype:D.type,sortable:!0,displayFormatKey:D.displayFormatKey,displayFormat:D.displayFormat})),L=_=>{c.value=_.sortField,u.value=_.sortOrder,m.value=0,C()},R=_=>{s.value=_.rows,d.value=_.page,m.value=_.first,C()},N=()=>{C()},w=()=>{C()},y=_=>{switch(_.toLowerCase()){case"integer":case"int":case"numeric":return"numeric";case"date":return"date";case"bool":case"boolean":return"boolean";default:return"text"}},E=_=>{const D=i.value.find(P=>P.field===_);return D?D.datatype:null},V=()=>{for(let _=0;_<l.value.length;_++){const D=l.value[_];if(D.primaryKey&&D.primaryKey==!0){b.value=D,c.value=D.name;break}}};return{items:a,headers:i,first:m,totalRecords:f,pageSize:s,loading:p,sortBy:c,sortDirection:u,operatorMap:r,filterToSend:g,fullTextSearch:h,listingResponse:n,primarayKeyColumn:b,onFullTextSearch:w,getDatatypeByField:E,getColumnDatatype:y,onSort:L,onPage:R,onFilter:N,fetchEntityFilterData:C,fetchEntityByName:k}}const Oe=(e,t)=>{const r=e.__vccOpts||e;for(const[n,a]of t)r[n]=a;return r},Dl={key:0,class:"field flex flex-col mb-3"},Ol=["for"],Vl={key:0},$l={key:0,class:"font-bold"},Fl={key:1,class:"font-bold text-color-hint"},Al={key:1,class:"flex items-center mb-3"},Il={class:"ml-2"},Pl={key:0},go=Oe({__name:"EntityForm",props:o.mergeModels({column:Object,errors:Array},{modelValue:{},modelModifiers:{}}),emits:o.mergeModels(["input"],["update:modelValue"]),setup(e,{emit:t}){const r=o.useModel(e,"modelValue"),n=t,a=i=>{n("input",i.name)};if(e.column&&!e.column.inputComponent){let i="";switch(e.column.type.toLowerCase()){case"text":i="INPUT_TEXT";break;case"int":i="INPUT_NUMBER";break;case"float":i="INPUT_FLOAT";break;case"boolean":i="INPUT_BOOLEAN";break;case"uuid":i="INPUT_UUID";break;case"date":i="INPUT_DATE";break;default:i="INPUT_STRING"}e.column.inputComponent=i}return(i,l)=>{var f,m,p,g,h;const c=o.resolveComponent("DatePicker"),u=o.resolveComponent("InputNumber"),s=o.resolveComponent("InputText"),d=o.resolveComponent("Checkbox");return o.openBlock(),o.createElementBlock(o.Fragment,null,[e.column.inputComponent.toLowerCase()!="input_boolean"?(o.openBlock(),o.createElementBlock("div",Dl,[o.createElementVNode("label",{class:"mb-1",for:e.column.name},[o.createTextVNode(o.toDisplayString(e.column.displayName||e.column.name)+" ",1),e.column.required?(o.openBlock(),o.createElementBlock("span",Vl,"*")):o.createCommentVNode("",!0)],8,Ol),e.column.inputComponent.toLowerCase()=="input_date"?(o.openBlock(),o.createBlock(c,{key:0,modelValue:r.value,"onUpdate:modelValue":l[0]||(l[0]=b=>r.value=b),id:e.column.name,name:e.column.name,onDateSelect:l[1]||(l[1]=b=>a(e.column)),invalid:((f=e.errors)==null?void 0:f.length)>0},null,8,["modelValue","id","name","invalid"])):e.column.inputComponent.toLowerCase()=="input_number"?(o.openBlock(),o.createBlock(u,{key:1,modelValue:r.value,"onUpdate:modelValue":l[2]||(l[2]=b=>r.value=b),id:e.column.name,name:e.column.name,allowEmpty:!0,format:!1,onInput:l[3]||(l[3]=b=>a(e.column)),invalid:((m=e.errors)==null?void 0:m.length)>0},null,8,["modelValue","id","name","invalid"])):e.column.type.toLowerCase()=="input_float"?(o.openBlock(),o.createBlock(u,{key:2,type:"decimal",minFractionDigits:1,id:e.column.name,allowEmpty:!0,format:!1,name:e.column.name,onInput:l[4]||(l[4]=b=>a(e.column)),invalid:((p=e.errors)==null?void 0:p.length)>0},null,8,["id","name","invalid"])):(o.openBlock(),o.createBlock(s,{key:3,modelValue:r.value,"onUpdate:modelValue":l[5]||(l[5]=b=>r.value=b),id:e.column.name,name:e.column.name,onInput:l[6]||(l[6]=b=>a(e.column)),invalid:((g=e.errors)==null?void 0:g.length)>0},null,8,["modelValue","id","name","invalid"])),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.errors,(b,k)=>(o.openBlock(),o.createElementBlock("div",{key:k,class:"text-red-500 mt-1 ml-2"},[b.includes("hint:")?(o.openBlock(),o.createElementBlock("small",Fl,o.toDisplayString(b.split(":")[1]),1)):(o.openBlock(),o.createElementBlock("small",$l,o.toDisplayString(b),1))]))),128))])):o.createCommentVNode("",!0),e.column.inputComponent.toLowerCase()=="input_boolean"?(o.openBlock(),o.createElementBlock("div",Al,[o.createVNode(d,{modelValue:r.value,"onUpdate:modelValue":l[7]||(l[7]=b=>r.value=b),invalid:((h=e.errors)==null?void 0:h.length)>0,onInput:l[8]||(l[8]=b=>a(e.column.name)),binary:""},null,8,["modelValue","invalid"]),o.createElementVNode("label",Il,[o.createTextVNode(o.toDisplayString(e.column.displayName||e.column.name)+" ",1),e.column.required?(o.openBlock(),o.createElementBlock("span",Pl,"*")):o.createCommentVNode("",!0)])])):o.createCommentVNode("",!0)],64)}}},[["__scopeId","data-v-8820d348"]]);/**
12
+ * vee-validate v4.15.0
13
+ * (c) 2024 Abdelrahman Awad
14
+ * @license MIT
15
+ */function We(e){return typeof e=="function"}function hn(e){return e==null}const Dt=e=>e!==null&&!!e&&typeof e=="object"&&!Array.isArray(e);function er(e){return Number(e)>=0}function Ll(e){return typeof e=="object"&&e!==null}function Ml(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}function bn(e){if(!Ll(e)||Ml(e)!=="[object Object]")return!1;if(Object.getPrototypeOf(e)===null)return!0;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Wt(e,t){return Object.keys(t).forEach(r=>{if(bn(t[r])&&bn(e[r])){e[r]||(e[r]={}),Wt(e[r],t[r]);return}e[r]=t[r]}),e}function ho(e){const t=e.split(".");if(!t.length)return"";let r=String(t[0]);for(let n=1;n<t.length;n++){if(er(t[n])){r+=`[${t[n]}]`;continue}r+=`.${t[n]}`}return r}const jl={};function zl(e){return jl[e]}function yn(e,t,r){typeof r.value=="object"&&(r.value=pe(r.value)),!r.enumerable||r.get||r.set||!r.configurable||!r.writable||t==="__proto__"?Object.defineProperty(e,t,r):e[t]=r.value}function pe(e){if(typeof e!="object")return e;var t=0,r,n,a,i=Object.prototype.toString.call(e);if(i==="[object Object]"?a=Object.create(e.__proto__||null):i==="[object Array]"?a=Array(e.length):i==="[object Set]"?(a=new Set,e.forEach(function(l){a.add(pe(l))})):i==="[object Map]"?(a=new Map,e.forEach(function(l,c){a.set(pe(c),pe(l))})):i==="[object Date]"?a=new Date(+e):i==="[object RegExp]"?a=new RegExp(e.source,e.flags):i==="[object DataView]"?a=new e.constructor(pe(e.buffer)):i==="[object ArrayBuffer]"?a=e.slice(0):i.slice(-6)==="Array]"&&(a=new e.constructor(e)),a){for(n=Object.getOwnPropertySymbols(e);t<n.length;t++)yn(a,n[t],Object.getOwnPropertyDescriptor(e,n[t]));for(t=0,n=Object.getOwnPropertyNames(e);t<n.length;t++)Object.hasOwnProperty.call(a,r=n[t])&&a[r]===e[r]||yn(a,r,Object.getOwnPropertyDescriptor(e,r))}return a||e}const Ul=Symbol("vee-validate-form"),Wl=Symbol("vee-validate-form-context"),ql=typeof window<"u";function Hl(e){return We(e)&&!!e.__locatorRef}function st(e){return!!e&&We(e.parse)&&e.__type==="VVTypedSchema"}function kn(e){return!!e&&We(e.validate)}function Kl(e){return e==="checkbox"||e==="radio"}function Yl(e){return Dt(e)||Array.isArray(e)}function Gl(e){return Array.isArray(e)?e.length===0:Dt(e)&&Object.keys(e).length===0}function bo(e){return/^\[.+\]$/i.test(e)}function Xl(e){return wn(e)&&e.multiple}function wn(e){return e.tagName==="SELECT"}function Jl(e){return xn(e)&&e.target&&"submit"in e.target}function xn(e){return e?!!(typeof Event<"u"&&We(Event)&&e instanceof Event||e&&e.srcElement):!1}function qt(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var r,n,a;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!qt(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!qt(n[1],t.get(n[0])))return!1;return!0}if(Cn(e)&&Cn(t))return!(e.size!==t.size||e.name!==t.name||e.lastModified!==t.lastModified||e.type!==t.type);if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(e[n]!==t[n])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if(a=Object.keys(e),r=a.length-vn(e,a),r!==Object.keys(t).length-vn(t,Object.keys(t)))return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[n]))return!1;for(n=r;n--!==0;){var i=a[n];if(!qt(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function vn(e,t){let r=0;for(let a=t.length;a--!==0;){var n=t[a];e[n]===void 0&&r++}return r}function Cn(e){return ql?e instanceof File:!1}function tr(e){return bo(e)?e.replace(/\[|\]/gi,""):e}function et(e,t,r){return e?bo(t)?e[tr(t)]:(t||"").split(/\.|\[(\d+)\]/).filter(Boolean).reduce((a,i)=>Yl(a)&&i in a?a[i]:r,e):r}function tt(e,t,r){if(bo(t)){e[tr(t)]=r;return}const n=t.split(/\.|\[(\d+)\]/).filter(Boolean);let a=e;for(let i=0;i<n.length;i++){if(i===n.length-1){a[n[i]]=r;return}(!(n[i]in a)||hn(a[n[i]]))&&(a[n[i]]=er(n[i+1])?[]:{}),a=a[n[i]]}}function or(e,t){if(Array.isArray(e)&&er(t)){e.splice(Number(t),1);return}Dt(e)&&delete e[t]}function En(e,t){if(bo(t)){delete e[tr(t)];return}const r=t.split(/\.|\[(\d+)\]/).filter(Boolean);let n=e;for(let i=0;i<r.length;i++){if(i===r.length-1){or(n,r[i]);break}if(!(r[i]in n)||hn(n[r[i]]))break;n=n[r[i]]}const a=r.map((i,l)=>et(e,r.slice(0,l).join(".")));for(let i=a.length-1;i>=0;i--)if(Gl(a[i])){if(i===0){or(e,r[0]);continue}or(a[i-1],r[i-1])}}function Le(e){return Object.keys(e)}function Sn(e,t=0){let r=null,n=[];return function(...a){return r&&clearTimeout(r),r=setTimeout(()=>{const i=e(...a);n.forEach(l=>l(i)),n=[]},t),new Promise(i=>n.push(i))}}function Ql(e,t){let r;return async function(...a){const i=e(...a);r=i;const l=await i;return i!==r?l:(r=void 0,t(l,a))}}function Bn(e){return Array.isArray(e)?e:e?[e]:[]}function yo(e,t){const r={};for(const n in e)t.includes(n)||(r[n]=e[n]);return r}function Zl(e){let t=null,r=[];return function(...n){const a=o.nextTick(()=>{if(t!==a)return;const i=e(...n);r.forEach(l=>l(i)),r=[],t=null});return t=a,new Promise(i=>r.push(i))}}function rr(e){if(Nn(e))return e._value}function Nn(e){return"_value"in e}function es(e){return e.type==="number"||e.type==="range"?Number.isNaN(e.valueAsNumber)?e.value:e.valueAsNumber:e.value}function _n(e){if(!xn(e))return e;const t=e.target;if(Kl(t.type)&&Nn(t))return rr(t);if(t.type==="file"&&t.files){const r=Array.from(t.files);return t.multiple?r:r[0]}if(Xl(t))return Array.from(t.options).filter(r=>r.selected&&!r.disabled).map(rr);if(wn(t)){const r=Array.from(t.options).find(n=>n.selected);return r?rr(r):t.value}return es(t)}function ts(e){const t={};return Object.defineProperty(t,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),e?Dt(e)&&e._$$isNormalized?e:Dt(e)?Object.keys(e).reduce((r,n)=>{const a=os(e[n]);return e[n]!==!1&&(r[n]=Rn(a)),r},t):typeof e!="string"?t:e.split("|").reduce((r,n)=>{const a=rs(n);return a.name&&(r[a.name]=Rn(a.params)),r},t):t}function os(e){return e===!0?[]:Array.isArray(e)||Dt(e)?e:[e]}function Rn(e){const t=r=>typeof r=="string"&&r[0]==="@"?ns(r.slice(1)):r;return Array.isArray(e)?e.map(t):e instanceof RegExp?[e]:Object.keys(e).reduce((r,n)=>(r[n]=t(e[n]),r),{})}const rs=e=>{let t=[];const r=e.split(":")[0];return e.includes(":")&&(t=e.split(":").slice(1).join(":").split(",")),{name:r,params:t}};function ns(e){const t=r=>{var n;return(n=et(r,e))!==null&&n!==void 0?n:r[e]};return t.__locatorRef=e,t}let as=Object.assign({},{generateMessage:({field:e})=>`${e} is not valid.`,bails:!0,validateOnBlur:!0,validateOnChange:!0,validateOnInput:!1,validateOnModelUpdate:!0});const Ht=()=>as;async function is(e,t,r={}){const n=r==null?void 0:r.bails,a={name:(r==null?void 0:r.name)||"{field}",rules:t,label:r==null?void 0:r.label,bails:n??!0,formData:(r==null?void 0:r.values)||{}},i=await ls(a,e);return Object.assign(Object.assign({},i),{valid:!i.errors.length})}async function ls(e,t){const r=e.rules;if(st(r)||kn(r))return cs(t,Object.assign(Object.assign({},e),{rules:r}));if(We(r)||Array.isArray(r)){const c={field:e.label||e.name,name:e.name,label:e.label,form:e.formData,value:t},u=Array.isArray(r)?r:[r],s=u.length,d=[];for(let f=0;f<s;f++){const m=u[f],p=await m(t,c);if(!(typeof p!="string"&&!Array.isArray(p)&&p)){if(Array.isArray(p))d.push(...p);else{const h=typeof p=="string"?p:Dn(c);d.push(h)}if(e.bails)return{errors:d}}}return{errors:d}}const n=Object.assign(Object.assign({},e),{rules:ts(r)}),a=[],i=Object.keys(n.rules),l=i.length;for(let c=0;c<l;c++){const u=i[c],s=await ds(n,t,{name:u,params:n.rules[u]});if(s.error&&(a.push(s.error),e.bails))return{errors:a}}return{errors:a}}function ss(e){return!!e&&e.name==="ValidationError"}function Tn(e){return{__type:"VVTypedSchema",async parse(r,n){var a;try{return{output:await e.validate(r,{abortEarly:!1,context:(n==null?void 0:n.formData)||{}}),errors:[]}}catch(i){if(!ss(i))throw i;if(!(!((a=i.inner)===null||a===void 0)&&a.length)&&i.errors.length)return{errors:[{path:i.path,errors:i.errors}]};const l=i.inner.reduce((c,u)=>{const s=u.path||"";return c[s]||(c[s]={errors:[],path:s}),c[s].errors.push(...u.errors),c},{});return{errors:Object.values(l)}}}}}async function cs(e,t){const n=await(st(t.rules)?t.rules:Tn(t.rules)).parse(e,{formData:t.formData}),a=[];for(const i of n.errors)i.errors.length&&a.push(...i.errors);return{value:n.value,errors:a}}async function ds(e,t,r){const n=zl(r.name);if(!n)throw new Error(`No such validator '${r.name}' exists.`);const a=us(r.params,e.formData),i={field:e.label||e.name,name:e.name,label:e.label,value:t,form:e.formData,rule:Object.assign(Object.assign({},r),{params:a})},l=await n(t,a,i);return typeof l=="string"?{error:l}:{error:l?void 0:Dn(i)}}function Dn(e){const t=Ht().generateMessage;return t?t(e):"Field is invalid"}function us(e,t){const r=n=>Hl(n)?n(t):n;return Array.isArray(e)?e.map(r):Object.keys(e).reduce((n,a)=>(n[a]=r(e[a]),n),{})}async function fs(e,t){const n=await(st(e)?e:Tn(e)).parse(pe(t),{formData:pe(t)}),a={},i={};for(const l of n.errors){const c=l.errors,u=(l.path||"").replace(/\["(\d+)"\]/g,(s,d)=>`[${d}]`);a[u]={valid:!c.length,errors:c},c.length&&(i[u]=c[0])}return{valid:!n.errors.length,results:a,errors:i,values:n.value,source:"schema"}}async function ms(e,t,r){const a=Le(e).map(async s=>{var d,f,m;const p=(d=r==null?void 0:r.names)===null||d===void 0?void 0:d[s],g=await is(et(t,s),e[s],{name:(p==null?void 0:p.name)||s,label:p==null?void 0:p.label,values:t,bails:(m=(f=r==null?void 0:r.bailsMap)===null||f===void 0?void 0:f[s])!==null&&m!==void 0?m:!0});return Object.assign(Object.assign({},g),{path:s})});let i=!0;const l=await Promise.all(a),c={},u={};for(const s of l)c[s.path]={valid:s.valid,errors:s.errors},s.valid||(i=!1,u[s.path]=s.errors[0]);return{valid:i,results:c,errors:u,source:"schema"}}let ps=0;const ko=["bails","fieldsCount","id","multiple","type","validate"];function On(e){const t={},r=Object.assign({},o.toValue(t)),n=o.unref(void 0);return n&&st(n)&&We(n.cast)?pe(n.cast(r)||{}):pe(r)}function Vn(e){var t;const r=ps++,n="Form";let a=0;const i=o.ref(!1),l=o.ref(!1),c=o.ref(0),u=[],s=o.reactive(On()),d=o.ref([]),f=o.ref({}),m=o.ref({}),p=Zl(()=>{m.value=d.value.reduce((x,v)=>(x[ho(o.toValue(v.path))]=v,x),{})});function g(x,v){const F=Y(x);if(!F){typeof x=="string"&&(f.value[ho(x)]=Bn(v));return}if(typeof x=="string"){const q=ho(x);f.value[q]&&delete f.value[q]}F.errors=Bn(v),F.valid=!F.errors.length}function h(x){Le(x).forEach(v=>{g(v,x[v])})}const b=o.computed(()=>{const x=d.value.reduce((v,F)=>(F.errors.length&&(v[o.toValue(F.path)]=F.errors),v),{});return Object.assign(Object.assign({},f.value),x)}),k=o.computed(()=>Le(b.value).reduce((x,v)=>{const F=b.value[v];return F!=null&&F.length&&(x[v]=F[0]),x},{})),C=o.computed(()=>d.value.reduce((x,v)=>(x[o.toValue(v.path)]={name:o.toValue(v.path)||"",label:v.label||""},x),{})),S=o.computed(()=>d.value.reduce((x,v)=>{var F;return x[o.toValue(v.path)]=(F=v.bails)!==null&&F!==void 0?F:!0,x},{})),L=Object.assign({},{}),R=(t=void 0)!==null&&t!==void 0?t:!1,{initialValues:N,originalInitialValues:w,setInitialValues:y}=hs(d,s),E=gs(d,s,w,k),V=o.computed(()=>d.value.reduce((x,v)=>{const F=et(s,o.toValue(v.path));return tt(x,o.toValue(v.path),F),x},{})),_=void 0;function D(x,v){var F,q;const Z=o.computed(()=>et(N.value,o.toValue(x))),re=m.value[o.toValue(x)],X=(v==null?void 0:v.type)==="checkbox"||(v==null?void 0:v.type)==="radio";if(re&&X){re.multiple=!0;const be=a++;return Array.isArray(re.id)?re.id.push(be):re.id=[re.id,be],re.fieldsCount++,re.__flags.pendingUnmount[be]=!1,re}const O=o.computed(()=>et(s,o.toValue(x))),U=o.toValue(x),K=$.findIndex(be=>be===U);K!==-1&&$.splice(K,1);const H=o.computed(()=>{var be,Be,eo,to;const oo=o.toValue(_);if(st(oo))return(Be=(be=oo.describe)===null||be===void 0?void 0:be.call(oo,o.toValue(x)).required)!==null&&Be!==void 0?Be:!1;const vr=o.toValue(v==null?void 0:v.schema);return st(vr)&&(to=(eo=vr.describe)===null||eo===void 0?void 0:eo.call(vr).required)!==null&&to!==void 0?to:!1}),ee=a++,me=o.reactive({id:ee,path:x,touched:!1,pending:!1,valid:!0,validated:!!(!((F=L[U])===null||F===void 0)&&F.length),required:H,initialValue:Z,errors:o.shallowRef([]),bails:(q=v==null?void 0:v.bails)!==null&&q!==void 0?q:!1,label:v==null?void 0:v.label,type:(v==null?void 0:v.type)||"default",value:O,multiple:!1,__flags:{pendingUnmount:{[ee]:!1},pendingReset:!1},fieldsCount:1,validate:v==null?void 0:v.validate,dirty:o.computed(()=>!qt(o.unref(O),o.unref(Z)))});return d.value.push(me),m.value[U]=me,p(),k.value[U]&&!L[U]&&o.nextTick(()=>{Fe(U,{mode:"silent"})}),o.isRef(x)&&o.watch(x,be=>{p();const Be=pe(O.value);m.value[be]=me,o.nextTick(()=>{tt(s,be,Be)})}),me}const P=Sn(je,5),T=Sn(je,5),j=Ql(async x=>await(x==="silent"?P():T()),(x,[v])=>{const F=Le(le.errorBag.value),Z=[...new Set([...Le(x.results),...d.value.map(re=>re.path),...F])].sort().reduce((re,X)=>{var O;const U=X,K=Y(U)||M(U),H=((O=x.results[U])===null||O===void 0?void 0:O.errors)||[],ee=o.toValue(K==null?void 0:K.path)||U,me=bs({errors:H,valid:!H.length},re.results[ee]);return re.results[ee]=me,me.valid||(re.errors[ee]=me.errors[0]),K&&f.value[ee]&&delete f.value[ee],K?(K.valid=me.valid,v==="silent"||v==="validated-only"&&!K.validated||g(K,me.errors),re):(g(ee,H),re)},{valid:x.valid,results:{},errors:{},source:x.source});return x.values&&(Z.values=x.values,Z.source=x.source),Le(Z.results).forEach(re=>{var X;const O=Y(re);O&&v!=="silent"&&(v==="validated-only"&&!O.validated||g(O,(X=Z.results[re])===null||X===void 0?void 0:X.errors))}),Z});function I(x){d.value.forEach(x)}function Y(x){const v=typeof x=="string"?ho(x):x;return typeof v=="string"?m.value[v]:v}function M(x){return d.value.filter(F=>x.startsWith(o.toValue(F.path))).reduce((F,q)=>F?q.path.length>F.path.length?q:F:q,void 0)}let $=[],z;function te(x){return $.push(x),z||(z=o.nextTick(()=>{[...$].sort().reverse().forEach(F=>{En(s,F)}),$=[],z=null})),z}function ne(x){return function(F,q){return function(re){return re instanceof Event&&(re.preventDefault(),re.stopPropagation()),I(X=>X.touched=!0),i.value=!0,c.value++,ye().then(X=>{const O=pe(s);if(X.valid&&typeof F=="function"){const U=pe(V.value);let K=x?U:O;return X.values&&(K=X.source==="schema"?X.values:Object.assign({},K,X.values)),F(K,{evt:re,controlledValues:U,setErrors:h,setFieldError:g,setTouched:de,setFieldTouched:Me,setValues:Re,setFieldValue:he,resetForm:ue,resetField:ce})}!X.valid&&typeof q=="function"&&q({values:O,evt:re,errors:X.errors,results:X.results})}).then(X=>(i.value=!1,X),X=>{throw i.value=!1,X})}}}const G=ne(!1);G.withControlled=ne(!0);function J(x,v){const F=d.value.findIndex(Z=>Z.path===x&&(Array.isArray(Z.id)?Z.id.includes(v):Z.id===v)),q=d.value[F];if(!(F===-1||!q)){if(o.nextTick(()=>{Fe(x,{mode:"silent",warn:!1})}),q.multiple&&q.fieldsCount&&q.fieldsCount--,Array.isArray(q.id)){const Z=q.id.indexOf(v);Z>=0&&q.id.splice(Z,1),delete q.__flags.pendingUnmount[v]}(!q.multiple||q.fieldsCount<=0)&&(d.value.splice(F,1),Ze(x),p(),delete m.value[x])}}function ie(x){Le(m.value).forEach(v=>{v.startsWith(x)&&delete m.value[v]}),d.value=d.value.filter(v=>!v.path.startsWith(x)),o.nextTick(()=>{p()})}const le={name:n,formId:r,values:s,controlledValues:V,errorBag:b,errors:k,schema:_,submitCount:c,meta:E,isSubmitting:i,isValidating:l,fieldArrays:u,keepValuesOnUnmount:R,validateSchema:o.unref(_)?j:void 0,validate:ye,setFieldError:g,validateField:Fe,setFieldValue:he,setValues:Re,setErrors:h,setFieldTouched:Me,setTouched:de,resetForm:ue,resetField:ce,handleSubmit:G,useFieldModel:Nt,defineInputBinds:Q,defineComponentBinds:Ye,defineField:gt,stageInitialValue:Se,unsetInitialValue:Ze,setFieldInitialValue:Ae,createPathState:D,getPathState:Y,unsetPathValue:te,removePathState:J,initialValues:N,getAllPathStates:()=>d.value,destroyPath:ie,isFieldTouched:W,isFieldDirty:A,isFieldValid:se};function he(x,v,F=!0){const q=pe(v),Z=typeof x=="string"?x:x.path;Y(Z)||D(Z),tt(s,Z,q),F&&Fe(Z)}function Pe(x,v=!0){Le(s).forEach(F=>{delete s[F]}),Le(x).forEach(F=>{he(F,x[F],!1)}),v&&ye()}function Re(x,v=!0){Wt(s,x),u.forEach(F=>F&&F.reset()),v&&ye()}function Ke(x,v){const F=Y(o.toValue(x))||D(x);return o.computed({get(){return F.value},set(q){var Z;const re=o.toValue(x);he(re,q,(Z=o.toValue(v))!==null&&Z!==void 0?Z:!1)}})}function Me(x,v){const F=Y(x);F&&(F.touched=v)}function W(x){const v=Y(x);return v?v.touched:d.value.filter(F=>F.path.startsWith(x)).some(F=>F.touched)}function A(x){const v=Y(x);return v?v.dirty:d.value.filter(F=>F.path.startsWith(x)).some(F=>F.dirty)}function se(x){const v=Y(x);return v?v.valid:d.value.filter(F=>F.path.startsWith(x)).every(F=>F.valid)}function de(x){if(typeof x=="boolean"){I(v=>{v.touched=x});return}Le(x).forEach(v=>{Me(v,!!x[v])})}function ce(x,v){var F;const q=v&&"value"in v?v.value:et(N.value,x),Z=Y(x);Z&&(Z.__flags.pendingReset=!0),Ae(x,pe(q),!0),he(x,q,!1),Me(x,(F=v==null?void 0:v.touched)!==null&&F!==void 0?F:!1),g(x,(v==null?void 0:v.errors)||[]),o.nextTick(()=>{Z&&(Z.__flags.pendingReset=!1)})}function ue(x,v){let F=pe(x!=null&&x.values?x.values:w.value);F=v!=null&&v.force?F:Wt(w.value,F),F=st(_)&&We(_.cast)?_.cast(F):F,y(F,{force:v==null?void 0:v.force}),I(q=>{var Z;q.__flags.pendingReset=!0,q.validated=!1,q.touched=((Z=x==null?void 0:x.touched)===null||Z===void 0?void 0:Z[o.toValue(q.path)])||!1,he(o.toValue(q.path),et(F,o.toValue(q.path)),!1),g(o.toValue(q.path),void 0)}),v!=null&&v.force?Pe(F,!1):Re(F,!1),h((x==null?void 0:x.errors)||{}),c.value=(x==null?void 0:x.submitCount)||0,o.nextTick(()=>{ye({mode:"silent"}),I(q=>{q.__flags.pendingReset=!1})})}async function ye(x){const v=(x==null?void 0:x.mode)||"force";if(v==="force"&&I(X=>X.validated=!0),le.validateSchema)return le.validateSchema(v);l.value=!0;const F=await Promise.all(d.value.map(X=>X.validate?X.validate(x).then(O=>({key:o.toValue(X.path),valid:O.valid,errors:O.errors,value:O.value})):Promise.resolve({key:o.toValue(X.path),valid:!0,errors:[],value:void 0})));l.value=!1;const q={},Z={},re={};for(const X of F)q[X.key]={valid:X.valid,errors:X.errors},X.value&&tt(re,X.key,X.value),X.errors.length&&(Z[X.key]=X.errors[0]);return{valid:F.every(X=>X.valid),results:q,errors:Z,values:re,source:"fields"}}async function Fe(x,v){var F;const q=Y(x);return q&&(v==null?void 0:v.mode)!=="silent"&&(q.validated=!0),q!=null&&q.validate?q.validate(v):(!q&&(F=v==null?void 0:v.warn),Promise.resolve({errors:[],valid:!0}))}function Ze(x){En(N.value,x)}function Se(x,v,F=!1){Ae(x,v),tt(s,x,v),F&&tt(w.value,x,pe(v))}function Ae(x,v,F=!1){tt(N.value,x,pe(v)),F&&tt(w.value,x,pe(v))}async function je(){const x=o.unref(_);if(!x)return{valid:!0,results:{},errors:{},source:"none"};l.value=!0;const v=kn(x)||st(x)?await fs(x,s):await ms(x,s,{names:C.value,bailsMap:S.value});return l.value=!1,v}const pt=G((x,{evt:v})=>{Jl(v)&&v.target.submit()});o.onMounted(()=>{le.validateSchema&&le.validateSchema("silent")}),o.isRef(_)&&o.watch(_,()=>{var x;(x=le.validateSchema)===null||x===void 0||x.call(le,"validated-only")}),o.provide(Ul,le);function gt(x,v){const F=We(v)||v==null?void 0:v.label,q=Y(o.toValue(x))||D(x,{label:F}),Z=()=>We(v)?v(yo(q,ko)):v||{};function re(){var H;q.touched=!0,((H=Z().validateOnBlur)!==null&&H!==void 0?H:Ht().validateOnBlur)&&Fe(o.toValue(q.path))}function X(){var H;((H=Z().validateOnInput)!==null&&H!==void 0?H:Ht().validateOnInput)&&o.nextTick(()=>{Fe(o.toValue(q.path))})}function O(){var H;((H=Z().validateOnChange)!==null&&H!==void 0?H:Ht().validateOnChange)&&o.nextTick(()=>{Fe(o.toValue(q.path))})}const U=o.computed(()=>{const H={onChange:O,onInput:X,onBlur:re};return We(v)?Object.assign(Object.assign({},H),v(yo(q,ko)).props||{}):v!=null&&v.props?Object.assign(Object.assign({},H),v.props(yo(q,ko))):H});return[Ke(x,()=>{var H,ee,me;return(me=(H=Z().validateOnModelUpdate)!==null&&H!==void 0?H:(ee=Ht())===null||ee===void 0?void 0:ee.validateOnModelUpdate)!==null&&me!==void 0?me:!0}),U]}function Nt(x){return Array.isArray(x)?x.map(v=>Ke(v,!0)):Ke(x)}function Q(x,v){const[F,q]=gt(x,v);function Z(){q.value.onBlur()}function re(O){const U=_n(O);he(o.toValue(x),U,!1),q.value.onInput()}function X(O){const U=_n(O);he(o.toValue(x),U,!1),q.value.onChange()}return o.computed(()=>Object.assign(Object.assign({},q.value),{onBlur:Z,onInput:re,onChange:X,value:F.value}))}function Ye(x,v){const[F,q]=gt(x,v),Z=Y(o.toValue(x));function re(X){F.value=X}return o.computed(()=>{const X=We(v)?v(yo(Z,ko)):v||{};return Object.assign({[X.model||"modelValue"]:F.value,[`onUpdate:${X.model||"modelValue"}`]:re},q.value)})}const we=Object.assign(Object.assign({},le),{values:o.readonly(s),handleReset:()=>ue(),submitForm:pt});return o.provide(Wl,we),we}function gs(e,t,r,n){const a={touched:"some",pending:"some",valid:"every"},i=o.computed(()=>!qt(t,o.unref(r)));function l(){const u=e.value;return Le(a).reduce((s,d)=>{const f=a[d];return s[d]=u[f](m=>m[d]),s},{})}const c=o.reactive(l());return o.watchEffect(()=>{const u=l();c.touched=u.touched,c.valid=u.valid,c.pending=u.pending}),o.computed(()=>Object.assign(Object.assign({initialValues:o.unref(r)},c),{valid:c.valid&&!Le(n.value).length,dirty:i.value}))}function hs(e,t,r){const n=On(),a=o.ref(n),i=o.ref(pe(n));function l(c,u){u!=null&&u.force?(a.value=pe(c),i.value=pe(c)):(a.value=Wt(pe(a.value)||{},pe(c)),i.value=Wt(pe(i.value)||{},pe(c))),u!=null&&u.updateFields&&e.value.forEach(s=>{if(s.touched)return;const f=et(a.value,o.toValue(s.path));tt(t,o.toValue(s.path),pe(f))})}return{initialValues:a,originalInitialValues:i,setInitialValues:l}}function bs(e,t){return t?{valid:e.valid&&t.valid,errors:[...e.errors,...t.errors]}:e}function $n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var nr,Fn;function ys(){if(Fn)return nr;Fn=1;function e(k){this._maxSize=k,this.clear()}e.prototype.clear=function(){this._size=0,this._values=Object.create(null)},e.prototype.get=function(k){return this._values[k]},e.prototype.set=function(k,C){return this._size>=this._maxSize&&this.clear(),k in this._values||this._size++,this._values[k]=C};var t=/[^.^\]^[]+|(?=\[\]|\.\.)/g,r=/^\d+$/,n=/^\d/,a=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,i=/^\s*(['"]?)(.*?)(\1)\s*$/,l=512,c=new e(l),u=new e(l),s=new e(l);nr={Cache:e,split:f,normalizePath:d,setter:function(k){var C=d(k);return u.get(k)||u.set(k,function(L,R){for(var N=0,w=C.length,y=L;N<w-1;){var E=C[N];if(E==="__proto__"||E==="constructor"||E==="prototype")return L;y=y[C[N++]]}y[C[N]]=R})},getter:function(k,C){var S=d(k);return s.get(k)||s.set(k,function(R){for(var N=0,w=S.length;N<w;)if(R!=null||!C)R=R[S[N++]];else return;return R})},join:function(k){return k.reduce(function(C,S){return C+(p(S)||r.test(S)?"["+S+"]":(C?".":"")+S)},"")},forEach:function(k,C,S){m(Array.isArray(k)?k:f(k),C,S)}};function d(k){return c.get(k)||c.set(k,f(k).map(function(C){return C.replace(i,"$2")}))}function f(k){return k.match(t)||[""]}function m(k,C,S){var L=k.length,R,N,w,y;for(N=0;N<L;N++)R=k[N],R&&(b(R)&&(R='"'+R+'"'),y=p(R),w=!y&&/^\d+$/.test(R),C.call(S,R,y,w,N,k))}function p(k){return typeof k=="string"&&k&&["'",'"'].indexOf(k.charAt(0))!==-1}function g(k){return k.match(n)&&!k.match(r)}function h(k){return a.test(k)}function b(k){return!p(k)&&(g(k)||h(k))}return nr}var wt=ys(),ar,An;function ks(){if(An)return ar;An=1;const e=/[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g,t=d=>d.match(e)||[],r=d=>d[0].toUpperCase()+d.slice(1),n=(d,f)=>t(d).join(f).toLowerCase(),a=d=>t(d).reduce((f,m)=>`${f}${f?m[0].toUpperCase()+m.slice(1).toLowerCase():m.toLowerCase()}`,"");return ar={words:t,upperFirst:r,camelCase:a,pascalCase:d=>r(a(d)),snakeCase:d=>n(d,"_"),kebabCase:d=>n(d,"-"),sentenceCase:d=>r(n(d," ")),titleCase:d=>t(d).map(r).join(" ")},ar}var ir=ks(),wo={exports:{}},In;function ws(){if(In)return wo.exports;In=1,wo.exports=function(a){return e(t(a),a)},wo.exports.array=e;function e(a,i){var l=a.length,c=new Array(l),u={},s=l,d=r(i),f=n(a);for(i.forEach(function(p){if(!f.has(p[0])||!f.has(p[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")});s--;)u[s]||m(a[s],s,new Set);return c;function m(p,g,h){if(h.has(p)){var b;try{b=", node was:"+JSON.stringify(p)}catch{b=""}throw new Error("Cyclic dependency"+b)}if(!f.has(p))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(p));if(!u[g]){u[g]=!0;var k=d.get(p)||new Set;if(k=Array.from(k),g=k.length){h.add(p);do{var C=k[--g];m(C,f.get(C),h)}while(g);h.delete(p)}c[--l]=p}}}function t(a){for(var i=new Set,l=0,c=a.length;l<c;l++){var u=a[l];i.add(u[0]),i.add(u[1])}return Array.from(i)}function r(a){for(var i=new Map,l=0,c=a.length;l<c;l++){var u=a[l];i.has(u[0])||i.set(u[0],new Set),i.has(u[1])||i.set(u[1],new Set),i.get(u[0]).add(u[1])}return i}function n(a){for(var i=new Map,l=0,c=a.length;l<c;l++)i.set(a[l],l);return i}return wo.exports}var xs=ws();const vs=$n(xs),Cs=Object.prototype.toString,Es=Error.prototype.toString,Ss=RegExp.prototype.toString,Bs=typeof Symbol<"u"?Symbol.prototype.toString:()=>"",Ns=/^Symbol\((.*)\)(.*)$/;function _s(e){return e!=+e?"NaN":e===0&&1/e<0?"-0":""+e}function Pn(e,t=!1){if(e==null||e===!0||e===!1)return""+e;const r=typeof e;if(r==="number")return _s(e);if(r==="string")return t?`"${e}"`:e;if(r==="function")return"[Function "+(e.name||"anonymous")+"]";if(r==="symbol")return Bs.call(e).replace(Ns,"Symbol($1)");const n=Cs.call(e).slice(8,-1);return n==="Date"?isNaN(e.getTime())?""+e:e.toISOString(e):n==="Error"||e instanceof Error?"["+Es.call(e)+"]":n==="RegExp"?Ss.call(e):null}function ct(e,t){let r=Pn(e,t);return r!==null?r:JSON.stringify(e,function(n,a){let i=Pn(this[n],t);return i!==null?i:a},2)}function Ln(e){return e==null?[]:[].concat(e)}let Mn,jn,zn,Rs=/\$\{\s*(\w+)\s*\}/g;Mn=Symbol.toStringTag;class Un{constructor(t,r,n,a){this.name=void 0,this.message=void 0,this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=void 0,this.inner=void 0,this[Mn]="Error",this.name="ValidationError",this.value=r,this.path=n,this.type=a,this.errors=[],this.inner=[],Ln(t).forEach(i=>{if(Ve.isError(i)){this.errors.push(...i.errors);const l=i.inner.length?i.inner:[i];this.inner.push(...l)}else this.errors.push(i)}),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0]}}jn=Symbol.hasInstance,zn=Symbol.toStringTag;class Ve extends Error{static formatError(t,r){const n=r.label||r.path||"this";return r=Object.assign({},r,{path:n,originalPath:r.path}),typeof t=="string"?t.replace(Rs,(a,i)=>ct(r[i])):typeof t=="function"?t(r):t}static isError(t){return t&&t.name==="ValidationError"}constructor(t,r,n,a,i){const l=new Un(t,r,n,a);if(i)return l;super(),this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=[],this.inner=[],this[zn]="Error",this.name=l.name,this.message=l.message,this.type=l.type,this.value=l.value,this.path=l.path,this.errors=l.errors,this.inner=l.inner,Error.captureStackTrace&&Error.captureStackTrace(this,Ve)}static[jn](t){return Un[Symbol.hasInstance](t)||super[Symbol.hasInstance](t)}}let Xe={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:e,type:t,value:r,originalValue:n})=>{const a=n!=null&&n!==r?` (cast from the value \`${ct(n,!0)}\`).`:".";return t!=="mixed"?`${e} must be a \`${t}\` type, but the final value was: \`${ct(r,!0)}\``+a:`${e} must match the configured type. The validated value was: \`${ct(r,!0)}\``+a}},$e={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",datetime:"${path} must be a valid ISO date-time",datetime_precision:"${path} must be a valid ISO date-time with a sub-second precision of exactly ${precision} digits",datetime_offset:'${path} must be a valid ISO date-time with UTC "Z" timezone',trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},Ts={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},lr={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},Ds={isValue:"${path} field must be ${value}"},xo={noUnknown:"${path} field has unspecified keys: ${unknown}",exact:"${path} object contains unknown properties: ${properties}"};Object.assign(Object.create(null),{mixed:Xe,string:$e,number:Ts,date:lr,object:xo,array:{min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},boolean:Ds,tuple:{notType:e=>{const{path:t,value:r,spec:n}=e,a=n.types.length;if(Array.isArray(r)){if(r.length<a)return`${t} tuple value has too few items, expected a length of ${a} but got ${r.length} for value: \`${ct(r,!0)}\``;if(r.length>a)return`${t} tuple value has too many items, expected a length of ${a} but got ${r.length} for value: \`${ct(r,!0)}\``}return Ve.formatError(Xe.notType,e)}}});const sr=e=>e&&e.__isYupSchema__;class vo{static fromOptions(t,r){if(!r.then&&!r.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:n,then:a,otherwise:i}=r,l=typeof n=="function"?n:(...c)=>c.every(u=>u===n);return new vo(t,(c,u)=>{var s;let d=l(...c)?a:i;return(s=d==null?void 0:d(u))!=null?s:u})}constructor(t,r){this.fn=void 0,this.refs=t,this.refs=t,this.fn=r}resolve(t,r){let n=this.refs.map(i=>i.getValue(r==null?void 0:r.value,r==null?void 0:r.parent,r==null?void 0:r.context)),a=this.fn(n,t,r);if(a===void 0||a===t)return t;if(!sr(a))throw new TypeError("conditions must return a schema object");return a.resolve(r)}}const Co={context:"$",value:"."};class xt{constructor(t,r={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,typeof t!="string")throw new TypeError("ref must be a string, got: "+t);if(this.key=t.trim(),t==="")throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===Co.context,this.isValue=this.key[0]===Co.value,this.isSibling=!this.isContext&&!this.isValue;let n=this.isContext?Co.context:this.isValue?Co.value:"";this.path=this.key.slice(n.length),this.getter=this.path&&wt.getter(this.path,!0),this.map=r.map}getValue(t,r,n){let a=this.isContext?n:this.isValue?t:r;return this.getter&&(a=this.getter(a||{})),this.map&&(a=this.map(a)),a}cast(t,r){return this.getValue(t,r==null?void 0:r.parent,r==null?void 0:r.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(t){return t&&t.__isYupRef}}xt.prototype.__isYupRef=!0;const vt=e=>e==null;function Ot(e){function t({value:r,path:n="",options:a,originalValue:i,schema:l},c,u){const{name:s,test:d,params:f,message:m,skipAbsent:p}=e;let{parent:g,context:h,abortEarly:b=l.spec.abortEarly,disableStackTrace:k=l.spec.disableStackTrace}=a;function C(_){return xt.isRef(_)?_.getValue(r,g,h):_}function S(_={}){const D=Object.assign({value:r,originalValue:i,label:l.spec.label,path:_.path||n,spec:l.spec,disableStackTrace:_.disableStackTrace||k},f,_.params);for(const T of Object.keys(D))D[T]=C(D[T]);const P=new Ve(Ve.formatError(_.message||m,D),r,D.path,_.type||s,D.disableStackTrace);return P.params=D,P}const L=b?c:u;let R={path:n,parent:g,type:s,from:a.from,createError:S,resolve:C,options:a,originalValue:i,schema:l};const N=_=>{Ve.isError(_)?L(_):_?u(null):L(S())},w=_=>{Ve.isError(_)?L(_):c(_)};if(p&&vt(r))return N(!0);let E;try{var V;if(E=d.call(R,r,R),typeof((V=E)==null?void 0:V.then)=="function"){if(a.sync)throw new Error(`Validation test of type: "${R.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);return Promise.resolve(E).then(N,w)}}catch(_){w(_);return}N(E)}return t.OPTIONS=e,t}function Os(e,t,r,n=r){let a,i,l;return t?(wt.forEach(t,(c,u,s)=>{let d=u?c.slice(1,c.length-1):c;e=e.resolve({context:n,parent:a,value:r});let f=e.type==="tuple",m=s?parseInt(d,10):0;if(e.innerType||f){if(f&&!s)throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${l}" must contain an index to the tuple element, e.g. "${l}[0]"`);if(r&&m>=r.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${c}, in the path: ${t}. because there is no value at that index. `);a=r,r=r&&r[m],e=f?e.spec.types[m]:e.innerType}if(!s){if(!e.fields||!e.fields[d])throw new Error(`The schema does not contain the path: ${t}. (failed at: ${l} which is a type: "${e.type}")`);a=r,r=r&&r[d],e=e.fields[d]}i=d,l=u?"["+c+"]":"."+c}),{schema:e,parent:a,parentPath:i}):{parent:a,parentPath:t,schema:e}}class Eo extends Set{describe(){const t=[];for(const r of this.values())t.push(xt.isRef(r)?r.describe():r);return t}resolveAll(t){let r=[];for(const n of this.values())r.push(t(n));return r}clone(){return new Eo(this.values())}merge(t,r){const n=this.clone();return t.forEach(a=>n.add(a)),r.forEach(a=>n.delete(a)),n}}function Vt(e,t=new Map){if(sr(e)||!e||typeof e!="object")return e;if(t.has(e))return t.get(e);let r;if(e instanceof Date)r=new Date(e.getTime()),t.set(e,r);else if(e instanceof RegExp)r=new RegExp(e),t.set(e,r);else if(Array.isArray(e)){r=new Array(e.length),t.set(e,r);for(let n=0;n<e.length;n++)r[n]=Vt(e[n],t)}else if(e instanceof Map){r=new Map,t.set(e,r);for(const[n,a]of e.entries())r.set(n,Vt(a,t))}else if(e instanceof Set){r=new Set,t.set(e,r);for(const n of e)r.add(Vt(n,t))}else if(e instanceof Object){r={},t.set(e,r);for(const[n,a]of Object.entries(e))r[n]=Vt(a,t)}else throw Error(`Unable to clone ${e}`);return r}class Je{constructor(t){this.type=void 0,this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this.internalTests={},this._whitelist=new Eo,this._blacklist=new Eo,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation(()=>{this.typeError(Xe.notType)}),this.type=t.type,this._typeCheck=t.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,disableStackTrace:!1,nullable:!1,optional:!0,coerce:!0},t==null?void 0:t.spec),this.withMutation(r=>{r.nonNullable()})}get _type(){return this.type}clone(t){if(this._mutate)return t&&Object.assign(this.spec,t),this;const r=Object.create(Object.getPrototypeOf(this));return r.type=this.type,r._typeCheck=this._typeCheck,r._whitelist=this._whitelist.clone(),r._blacklist=this._blacklist.clone(),r.internalTests=Object.assign({},this.internalTests),r.exclusiveTests=Object.assign({},this.exclusiveTests),r.deps=[...this.deps],r.conditions=[...this.conditions],r.tests=[...this.tests],r.transforms=[...this.transforms],r.spec=Vt(Object.assign({},this.spec,t)),r}label(t){let r=this.clone();return r.spec.label=t,r}meta(...t){if(t.length===0)return this.spec.meta;let r=this.clone();return r.spec.meta=Object.assign(r.spec.meta||{},t[0]),r}withMutation(t){let r=this._mutate;this._mutate=!0;let n=t(this);return this._mutate=r,n}concat(t){if(!t||t===this)return this;if(t.type!==this.type&&this.type!=="mixed")throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${t.type}`);let r=this,n=t.clone();const a=Object.assign({},r.spec,n.spec);return n.spec=a,n.internalTests=Object.assign({},r.internalTests,n.internalTests),n._whitelist=r._whitelist.merge(t._whitelist,t._blacklist),n._blacklist=r._blacklist.merge(t._blacklist,t._whitelist),n.tests=r.tests,n.exclusiveTests=r.exclusiveTests,n.withMutation(i=>{t.tests.forEach(l=>{i.test(l.OPTIONS)})}),n.transforms=[...r.transforms,...n.transforms],n}isType(t){return t==null?!!(this.spec.nullable&&t===null||this.spec.optional&&t===void 0):this._typeCheck(t)}resolve(t){let r=this;if(r.conditions.length){let n=r.conditions;r=r.clone(),r.conditions=[],r=n.reduce((a,i)=>i.resolve(a,t),r),r=r.resolve(t)}return r}resolveOptions(t){var r,n,a,i;return Object.assign({},t,{from:t.from||[],strict:(r=t.strict)!=null?r:this.spec.strict,abortEarly:(n=t.abortEarly)!=null?n:this.spec.abortEarly,recursive:(a=t.recursive)!=null?a:this.spec.recursive,disableStackTrace:(i=t.disableStackTrace)!=null?i:this.spec.disableStackTrace})}cast(t,r={}){let n=this.resolve(Object.assign({value:t},r)),a=r.assert==="ignore-optionality",i=n._cast(t,r);if(r.assert!==!1&&!n.isType(i)){if(a&&vt(i))return i;let l=ct(t),c=ct(i);throw new TypeError(`The value of ${r.path||"field"} could not be cast to a value that satisfies the schema type: "${n.type}".
16
+
17
+ attempted value: ${l}
18
+ `+(c!==l?`result of cast: ${c}`:""))}return i}_cast(t,r){let n=t===void 0?t:this.transforms.reduce((a,i)=>i.call(this,a,t,this),t);return n===void 0&&(n=this.getDefault(r)),n}_validate(t,r={},n,a){let{path:i,originalValue:l=t,strict:c=this.spec.strict}=r,u=t;c||(u=this._cast(u,Object.assign({assert:!1},r)));let s=[];for(let d of Object.values(this.internalTests))d&&s.push(d);this.runTests({path:i,value:u,originalValue:l,options:r,tests:s},n,d=>{if(d.length)return a(d,u);this.runTests({path:i,value:u,originalValue:l,options:r,tests:this.tests},n,a)})}runTests(t,r,n){let a=!1,{tests:i,value:l,originalValue:c,path:u,options:s}=t,d=h=>{a||(a=!0,r(h,l))},f=h=>{a||(a=!0,n(h,l))},m=i.length,p=[];if(!m)return f([]);let g={value:l,originalValue:c,path:u,options:s,schema:this};for(let h=0;h<i.length;h++){const b=i[h];b(g,d,function(C){C&&(Array.isArray(C)?p.push(...C):p.push(C)),--m<=0&&f(p)})}}asNestedTest({key:t,index:r,parent:n,parentPath:a,originalParent:i,options:l}){const c=t??r;if(c==null)throw TypeError("Must include `key` or `index` for nested validations");const u=typeof c=="number";let s=n[c];const d=Object.assign({},l,{strict:!0,parent:n,value:s,originalValue:i[c],key:void 0,[u?"index":"key"]:c,path:u||c.includes(".")?`${a||""}[${u?c:`"${c}"`}]`:(a?`${a}.`:"")+t});return(f,m,p)=>this.resolve(d)._validate(s,d,m,p)}validate(t,r){var n;let a=this.resolve(Object.assign({},r,{value:t})),i=(n=r==null?void 0:r.disableStackTrace)!=null?n:a.spec.disableStackTrace;return new Promise((l,c)=>a._validate(t,r,(u,s)=>{Ve.isError(u)&&(u.value=s),c(u)},(u,s)=>{u.length?c(new Ve(u,s,void 0,void 0,i)):l(s)}))}validateSync(t,r){var n;let a=this.resolve(Object.assign({},r,{value:t})),i,l=(n=r==null?void 0:r.disableStackTrace)!=null?n:a.spec.disableStackTrace;return a._validate(t,Object.assign({},r,{sync:!0}),(c,u)=>{throw Ve.isError(c)&&(c.value=u),c},(c,u)=>{if(c.length)throw new Ve(c,t,void 0,void 0,l);i=u}),i}isValid(t,r){return this.validate(t,r).then(()=>!0,n=>{if(Ve.isError(n))return!1;throw n})}isValidSync(t,r){try{return this.validateSync(t,r),!0}catch(n){if(Ve.isError(n))return!1;throw n}}_getDefault(t){let r=this.spec.default;return r==null?r:typeof r=="function"?r.call(this,t):Vt(r)}getDefault(t){return this.resolve(t||{})._getDefault(t)}default(t){return arguments.length===0?this._getDefault():this.clone({default:t})}strict(t=!0){return this.clone({strict:t})}nullability(t,r){const n=this.clone({nullable:t});return n.internalTests.nullable=Ot({message:r,name:"nullable",test(a){return a===null?this.schema.spec.nullable:!0}}),n}optionality(t,r){const n=this.clone({optional:t});return n.internalTests.optionality=Ot({message:r,name:"optionality",test(a){return a===void 0?this.schema.spec.optional:!0}}),n}optional(){return this.optionality(!0)}defined(t=Xe.defined){return this.optionality(!1,t)}nullable(){return this.nullability(!0)}nonNullable(t=Xe.notNull){return this.nullability(!1,t)}required(t=Xe.required){return this.clone().withMutation(r=>r.nonNullable(t).defined(t))}notRequired(){return this.clone().withMutation(t=>t.nullable().optional())}transform(t){let r=this.clone();return r.transforms.push(t),r}test(...t){let r;if(t.length===1?typeof t[0]=="function"?r={test:t[0]}:r=t[0]:t.length===2?r={name:t[0],test:t[1]}:r={name:t[0],message:t[1],test:t[2]},r.message===void 0&&(r.message=Xe.default),typeof r.test!="function")throw new TypeError("`test` is a required parameters");let n=this.clone(),a=Ot(r),i=r.exclusive||r.name&&n.exclusiveTests[r.name]===!0;if(r.exclusive&&!r.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return r.name&&(n.exclusiveTests[r.name]=!!r.exclusive),n.tests=n.tests.filter(l=>!(l.OPTIONS.name===r.name&&(i||l.OPTIONS.test===a.OPTIONS.test))),n.tests.push(a),n}when(t,r){!Array.isArray(t)&&typeof t!="string"&&(r=t,t=".");let n=this.clone(),a=Ln(t).map(i=>new xt(i));return a.forEach(i=>{i.isSibling&&n.deps.push(i.key)}),n.conditions.push(typeof r=="function"?new vo(a,r):vo.fromOptions(a,r)),n}typeError(t){let r=this.clone();return r.internalTests.typeError=Ot({message:t,name:"typeError",skipAbsent:!0,test(n){return this.schema._typeCheck(n)?!0:this.createError({params:{type:this.schema.type}})}}),r}oneOf(t,r=Xe.oneOf){let n=this.clone();return t.forEach(a=>{n._whitelist.add(a),n._blacklist.delete(a)}),n.internalTests.whiteList=Ot({message:r,name:"oneOf",skipAbsent:!0,test(a){let i=this.schema._whitelist,l=i.resolveAll(this.resolve);return l.includes(a)?!0:this.createError({params:{values:Array.from(i).join(", "),resolved:l}})}}),n}notOneOf(t,r=Xe.notOneOf){let n=this.clone();return t.forEach(a=>{n._blacklist.add(a),n._whitelist.delete(a)}),n.internalTests.blacklist=Ot({message:r,name:"notOneOf",test(a){let i=this.schema._blacklist,l=i.resolveAll(this.resolve);return l.includes(a)?this.createError({params:{values:Array.from(i).join(", "),resolved:l}}):!0}}),n}strip(t=!0){let r=this.clone();return r.spec.strip=t,r}describe(t){const r=(t?this.resolve(t):this).clone(),{label:n,meta:a,optional:i,nullable:l}=r.spec;return{meta:a,label:n,optional:i,nullable:l,default:r.getDefault(t),type:r.type,oneOf:r._whitelist.describe(),notOneOf:r._blacklist.describe(),tests:r.tests.map(u=>({name:u.OPTIONS.name,params:u.OPTIONS.params})).filter((u,s,d)=>d.findIndex(f=>f.name===u.name)===s)}}}Je.prototype.__isYupSchema__=!0;for(const e of["validate","validateSync"])Je.prototype[`${e}At`]=function(t,r,n={}){const{parent:a,parentPath:i,schema:l}=Os(this,t,r,n.context);return l[e](a&&a[i],Object.assign({},n,{parent:a,path:t}))};for(const e of["equals","is"])Je.prototype[e]=Je.prototype.oneOf;for(const e of["not","nope"])Je.prototype[e]=Je.prototype.notOneOf;const Vs=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function $s(e){const t=cr(e);if(!t)return Date.parse?Date.parse(e):Number.NaN;if(t.z===void 0&&t.plusMinus===void 0)return new Date(t.year,t.month,t.day,t.hour,t.minute,t.second,t.millisecond).valueOf();let r=0;return t.z!=="Z"&&t.plusMinus!==void 0&&(r=t.hourOffset*60+t.minuteOffset,t.plusMinus==="+"&&(r=0-r)),Date.UTC(t.year,t.month,t.day,t.hour,t.minute+r,t.second,t.millisecond)}function cr(e){var t,r;const n=Vs.exec(e);return n?{year:ot(n[1]),month:ot(n[2],1)-1,day:ot(n[3],1),hour:ot(n[4]),minute:ot(n[5]),second:ot(n[6]),millisecond:n[7]?ot(n[7].substring(0,3)):0,precision:(t=(r=n[7])==null?void 0:r.length)!=null?t:void 0,z:n[8]||void 0,plusMinus:n[9]||void 0,hourOffset:ot(n[10]),minuteOffset:ot(n[11])}:null}function ot(e,t=0){return Number(e)||t}let Fs=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,As=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,Is=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,Ps="^\\d{4}-\\d{2}-\\d{2}",Ls="\\d{2}:\\d{2}:\\d{2}",Ms="(([+-]\\d{2}(:?\\d{2})?)|Z)",js=new RegExp(`${Ps}T${Ls}(\\.\\d+)?${Ms}$`),zs=e=>vt(e)||e===e.trim(),Us={}.toString();function dr(){return new Wn}class Wn extends Je{constructor(){super({type:"string",check(t){return t instanceof String&&(t=t.valueOf()),typeof t=="string"}}),this.withMutation(()=>{this.transform((t,r,n)=>{if(!n.spec.coerce||n.isType(t)||Array.isArray(t))return t;const a=t!=null&&t.toString?t.toString():t;return a===Us?t:a})})}required(t){return super.required(t).withMutation(r=>r.test({message:t||Xe.required,name:"required",skipAbsent:!0,test:n=>!!n.length}))}notRequired(){return super.notRequired().withMutation(t=>(t.tests=t.tests.filter(r=>r.OPTIONS.name!=="required"),t))}length(t,r=$e.length){return this.test({message:r,name:"length",exclusive:!0,params:{length:t},skipAbsent:!0,test(n){return n.length===this.resolve(t)}})}min(t,r=$e.min){return this.test({message:r,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(n){return n.length>=this.resolve(t)}})}max(t,r=$e.max){return this.test({name:"max",exclusive:!0,message:r,params:{max:t},skipAbsent:!0,test(n){return n.length<=this.resolve(t)}})}matches(t,r){let n=!1,a,i;return r&&(typeof r=="object"?{excludeEmptyString:n=!1,message:a,name:i}=r:a=r),this.test({name:i||"matches",message:a||$e.matches,params:{regex:t},skipAbsent:!0,test:l=>l===""&&n||l.search(t)!==-1})}email(t=$e.email){return this.matches(Fs,{name:"email",message:t,excludeEmptyString:!0})}url(t=$e.url){return this.matches(As,{name:"url",message:t,excludeEmptyString:!0})}uuid(t=$e.uuid){return this.matches(Is,{name:"uuid",message:t,excludeEmptyString:!1})}datetime(t){let r="",n,a;return t&&(typeof t=="object"?{message:r="",allowOffset:n=!1,precision:a=void 0}=t:r=t),this.matches(js,{name:"datetime",message:r||$e.datetime,excludeEmptyString:!0}).test({name:"datetime_offset",message:r||$e.datetime_offset,params:{allowOffset:n},skipAbsent:!0,test:i=>{if(!i||n)return!0;const l=cr(i);return l?!!l.z:!1}}).test({name:"datetime_precision",message:r||$e.datetime_precision,params:{precision:a},skipAbsent:!0,test:i=>{if(!i||a==null)return!0;const l=cr(i);return l?l.precision===a:!1}})}ensure(){return this.default("").transform(t=>t===null?"":t)}trim(t=$e.trim){return this.transform(r=>r!=null?r.trim():r).test({message:t,name:"trim",test:zs})}lowercase(t=$e.lowercase){return this.transform(r=>vt(r)?r:r.toLowerCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:r=>vt(r)||r===r.toLowerCase()})}uppercase(t=$e.uppercase){return this.transform(r=>vt(r)?r:r.toUpperCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:r=>vt(r)||r===r.toUpperCase()})}}dr.prototype=Wn.prototype;let Ws=new Date(""),qs=e=>Object.prototype.toString.call(e)==="[object Date]";class So extends Je{constructor(){super({type:"date",check(t){return qs(t)&&!isNaN(t.getTime())}}),this.withMutation(()=>{this.transform((t,r,n)=>!n.spec.coerce||n.isType(t)||t===null?t:(t=$s(t),isNaN(t)?So.INVALID_DATE:new Date(t)))})}prepareParam(t,r){let n;if(xt.isRef(t))n=t;else{let a=this.cast(t);if(!this._typeCheck(a))throw new TypeError(`\`${r}\` must be a Date or a value that can be \`cast()\` to a Date`);n=a}return n}min(t,r=lr.min){let n=this.prepareParam(t,"min");return this.test({message:r,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(a){return a>=this.resolve(n)}})}max(t,r=lr.max){let n=this.prepareParam(t,"max");return this.test({message:r,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(a){return a<=this.resolve(n)}})}}So.INVALID_DATE=Ws,So.prototype;function Hs(e,t=[]){let r=[],n=new Set,a=new Set(t.map(([l,c])=>`${l}-${c}`));function i(l,c){let u=wt.split(l)[0];n.add(u),a.has(`${c}-${u}`)||r.push([c,u])}for(const l of Object.keys(e)){let c=e[l];n.add(l),xt.isRef(c)&&c.isSibling?i(c.path,l):sr(c)&&"deps"in c&&c.deps.forEach(u=>i(u,l))}return vs.array(Array.from(n),r).reverse()}function qn(e,t){let r=1/0;return e.some((n,a)=>{var i;if((i=t.path)!=null&&i.includes(n))return r=a,!0}),r}function Hn(e){return(t,r)=>qn(e,t)-qn(e,r)}const Ks=(e,t,r)=>{if(typeof e!="string")return e;let n=e;try{n=JSON.parse(e)}catch{}return r.isType(n)?n:e};function Bo(e){if("fields"in e){const t={};for(const[r,n]of Object.entries(e.fields))t[r]=Bo(n);return e.setFields(t)}if(e.type==="array"){const t=e.optional();return t.innerType&&(t.innerType=Bo(t.innerType)),t}return e.type==="tuple"?e.optional().clone({types:e.spec.types.map(Bo)}):"optional"in e?e.optional():e}const Ys=(e,t)=>{const r=[...wt.normalizePath(t)];if(r.length===1)return r[0]in e;let n=r.pop(),a=wt.getter(wt.join(r),!0)(e);return!!(a&&n in a)};let Kn=e=>Object.prototype.toString.call(e)==="[object Object]";function Yn(e,t){let r=Object.keys(e.fields);return Object.keys(t).filter(n=>r.indexOf(n)===-1)}const Gs=Hn([]);function ur(e){return new Gn(e)}class Gn extends Je{constructor(t){super({type:"object",check(r){return Kn(r)||typeof r=="function"}}),this.fields=Object.create(null),this._sortErrors=Gs,this._nodes=[],this._excludedEdges=[],this.withMutation(()=>{t&&this.shape(t)})}_cast(t,r={}){var n;let a=super._cast(t,r);if(a===void 0)return this.getDefault(r);if(!this._typeCheck(a))return a;let i=this.fields,l=(n=r.stripUnknown)!=null?n:this.spec.noUnknown,c=[].concat(this._nodes,Object.keys(a).filter(f=>!this._nodes.includes(f))),u={},s=Object.assign({},r,{parent:u,__validating:r.__validating||!1}),d=!1;for(const f of c){let m=i[f],p=f in a;if(m){let g,h=a[f];s.path=(r.path?`${r.path}.`:"")+f,m=m.resolve({value:h,context:r.context,parent:u});let b=m instanceof Je?m.spec:void 0,k=b==null?void 0:b.strict;if(b!=null&&b.strip){d=d||f in a;continue}g=!r.__validating||!k?m.cast(a[f],s):a[f],g!==void 0&&(u[f]=g)}else p&&!l&&(u[f]=a[f]);(p!==f in u||u[f]!==a[f])&&(d=!0)}return d?u:a}_validate(t,r={},n,a){let{from:i=[],originalValue:l=t,recursive:c=this.spec.recursive}=r;r.from=[{schema:this,value:l},...i],r.__validating=!0,r.originalValue=l,super._validate(t,r,n,(u,s)=>{if(!c||!Kn(s)){a(u,s);return}l=l||s;let d=[];for(let f of this._nodes){let m=this.fields[f];!m||xt.isRef(m)||d.push(m.asNestedTest({options:r,key:f,parent:s,parentPath:r.path,originalParent:l}))}this.runTests({tests:d,value:s,originalValue:l,options:r},n,f=>{a(f.sort(this._sortErrors).concat(u),s)})})}clone(t){const r=super.clone(t);return r.fields=Object.assign({},this.fields),r._nodes=this._nodes,r._excludedEdges=this._excludedEdges,r._sortErrors=this._sortErrors,r}concat(t){let r=super.concat(t),n=r.fields;for(let[a,i]of Object.entries(this.fields)){const l=n[a];n[a]=l===void 0?i:l}return r.withMutation(a=>a.setFields(n,[...this._excludedEdges,...t._excludedEdges]))}_getDefault(t){if("default"in this.spec)return super._getDefault(t);if(!this._nodes.length)return;let r={};return this._nodes.forEach(n=>{var a;const i=this.fields[n];let l=t;(a=l)!=null&&a.value&&(l=Object.assign({},l,{parent:l.value,value:l.value[n]})),r[n]=i&&"getDefault"in i?i.getDefault(l):void 0}),r}setFields(t,r){let n=this.clone();return n.fields=t,n._nodes=Hs(t,r),n._sortErrors=Hn(Object.keys(t)),r&&(n._excludedEdges=r),n}shape(t,r=[]){return this.clone().withMutation(n=>{let a=n._excludedEdges;return r.length&&(Array.isArray(r[0])||(r=[r]),a=[...n._excludedEdges,...r]),n.setFields(Object.assign(n.fields,t),a)})}partial(){const t={};for(const[r,n]of Object.entries(this.fields))t[r]="optional"in n&&n.optional instanceof Function?n.optional():n;return this.setFields(t)}deepPartial(){return Bo(this)}pick(t){const r={};for(const n of t)this.fields[n]&&(r[n]=this.fields[n]);return this.setFields(r,this._excludedEdges.filter(([n,a])=>t.includes(n)&&t.includes(a)))}omit(t){const r=[];for(const n of Object.keys(this.fields))t.includes(n)||r.push(n);return this.pick(r)}from(t,r,n){let a=wt.getter(t,!0);return this.transform(i=>{if(!i)return i;let l=i;return Ys(i,t)&&(l=Object.assign({},i),n||delete l[t],l[r]=a(i)),l})}json(){return this.transform(Ks)}exact(t){return this.test({name:"exact",exclusive:!0,message:t||xo.exact,test(r){if(r==null)return!0;const n=Yn(this.schema,r);return n.length===0||this.createError({params:{properties:n.join(", ")}})}})}stripUnknown(){return this.clone({noUnknown:!0})}noUnknown(t=!0,r=xo.noUnknown){typeof t!="boolean"&&(r=t,t=!0);let n=this.test({name:"noUnknown",exclusive:!0,message:r,test(a){if(a==null)return!0;const i=Yn(this.schema,a);return!t||i.length===0||this.createError({params:{unknown:i.join(", ")}})}});return n.spec.noUnknown=t,n}unknown(t=!0,r=xo.noUnknown){return this.noUnknown(!t,r)}transformKeys(t){return this.transform(r=>{if(!r)return r;const n={};for(const a of Object.keys(r))n[t(a)]=r[a];return n})}camelCase(){return this.transformKeys(ir.camelCase)}snakeCase(){return this.transformKeys(ir.snakeCase)}constantCase(){return this.transformKeys(t=>ir.snakeCase(t).toUpperCase())}describe(t){const r=(t?this.resolve(t):this).clone(),n=super.describe(t);n.fields={};for(const[i,l]of Object.entries(r.fields)){var a;let c=t;(a=c)!=null&&a.value&&(c=Object.assign({},c,{parent:c.value,value:c.value[i]})),n.fields[i]=l.describe(c)}return n}}ur.prototype=Gn.prototype;function fr(e,t,r){const n=new Ue;let a=o.ref({});const i=o.ref({}),l=o.ref({});let c=o.ref([]);const u=o.ref(null),s=o.ref([]);let d=o.ref([]),f=o.ref(!1);const m=o.ref({});let{handleSubmit:p,errors:g,setErrors:h}=Vn();const b=async()=>{var M;try{const $=await n.getEntityRecords(e);$&&$.response&&(a.value=$.response,c.value=(M=$.response.entity.entityDefinition)==null?void 0:M.columns,Y(),w(),_())}catch($){toast.add({severity:"error",summary:"Error",detail:$.errorMessage,life:3e3})}finally{}},k=async()=>{var M;try{const $=await n.getRecord(e,t);$&&$.response&&(a.value=$.response,c.value=(M=$.response.entity.entityDefinition)==null?void 0:M.columns,Y(),i.value=JSON.parse(JSON.stringify($.response.result[0])),_())}catch($){console.error("Error fetching entity:",$.errorMessage)}finally{}},C=async()=>{var M,$;try{const z=await n.getRelatedEntityRecord(e,t);z&&z.response&&(a.value=z.response,c.value=($=(M=z.response.entity)==null?void 0:M.entityDefinition)==null?void 0:$.columns,Y(),i.value=JSON.parse(JSON.stringify(z.response.result[0])),i.value.entityName&&delete i.value.entityName,i.value.linkedEntities&&delete i.value.linkedEntities,d.value=z.response.result[0].linkedEntities,l.value=JSON.parse(JSON.stringify(i.value)),_())}catch(z){console.error("Error fetching entity:",z.errorMessage)}finally{}},S=async M=>{try{let $=await n.addRecord(e,M);$&&$.response&&r("onSaveDialog",{entityName:e,recordId:t})}catch($){$.validationErrors&&(s.value=JSON.parse(JSON.stringify($.validationErrors))),console.error("Error fetching entity:",$.errorMessage)}finally{}},L=async(M,$)=>{try{let z=await n.addRecord(e,$);if(z&&z.response){let te=await n.saveRelatedEntityRecord(e,z.response.recordId,M.linkedEntities);te&&te.response&&r("onSaveDialog",{entityName:e,recordId:t})}}catch(z){z.validationErrors&&(s.value=JSON.parse(JSON.stringify(z.validationErrors))),console.error("Error fetching entity:",z.errorMessage)}finally{}},R=async M=>{try{const $=await n.updateRecord(e,t,M);$&&$.response&&(f.value=!1,l.value=JSON.parse(JSON.stringify(i.value)),r("onSaveDialog",{entityName:e,recordId:t}))}catch($){$.validationErrors&&(s.value=JSON.parse(JSON.stringify($.errvalidationErrorsors))),console.error("Error fetching entity:",$.errorMessage)}finally{}},N=async(M,$,z)=>{try{let te=await n.saveRelatedEntityRecord(M,$,z);te&&te.response&&r("onSaveDialog",{entityName:e,enityRecordId:$})}catch(te){te.validationErrors&&(s.value=JSON.parse(JSON.stringify(te.validationErrors))),console.error("Error fetching entity:",te.errorMessage)}finally{}},w=()=>{for(let M=0;M<c.value.length;M++){let $=c.value[M];$.autoGenerated||(i.value[$.name]="")}},y=M=>{let $="";for(let z=0;z<c.value.length;z++){let te=c.value[z];if(M==te.name){$=te.type;break}}return $},E=()=>{const M=c.value.filter(z=>z.autoGenerated).map(z=>z.name);return Object.entries(i.value).filter(([z])=>!M.includes(z)).map(([z,te])=>({recordColumnName:z,recordColumnValue:te,columnType:y(z)}))},V=async(M={})=>{try{await u.value.validate(i.value,{abortEarly:!1}),h({})}catch(z){const te=z.inner.reduce((ae,G)=>(ae[G.path]||(ae[G.path]={messages:[]}),ae[G.path].messages.push(...G.errors),ae),{}),ne=Object.entries(te).reduce((ae,[G,J])=>(ae[G]={messages:J.messages},ae),{});h(ne);return}const $={dataDefinitions:E()};t?await R($):M.relationType=="MANY_TO_ONE"?await L(M,$):await S($)},_=()=>{u.value=ur().shape(c.value.reduce((M,$)=>($.autoGenerated||(M[$.name]=dr().nullable(!1).test({name:"custom-validation",test:function(z){const te=[];let ne="";if($.required&&(!z||z.trim()===""))if($.validations){ne=D($.validations,"VALIDATE_REQUIRED"),te.push(ne);let ae=T($.validations,"VALIDATE_REQUIRED");ae&&(ae="hint:"+ae,te.push(ae))}else ne=$.displayName+" is required.",te.push(ne);else{if($.maxLength&&z.length>$.maxLength)if($.validations){ne=D($.validations,"VALIDATE_MAXLENGTH"),te.push(ne);let ae=T($.validations,"VALIDATE_MAXLENGTH");ae&&(ae="hint:"+ae,te.push(ae))}else ne=$.displayName+" cannot exceed from "+$.maxLength+" characters",te.push(ne);if($.regxId&&!new RegExp(P($.validations,"VALIDATE_REGX")).test(z))if($.validations){ne=D($.validations,"VALIDATE_REGX"),te.push(ne);let ae=T($.validations,"VALIDATE_REGX");ae&&(ae="hint:"+ae,te.push(ae))}else ne=$.displayName+" invalid format.",te.push(ne)}return te.length>0?this.createError({message:te}):!0}})),M),{}))},D=(M,$)=>{for(let z=0;z<M.length;z++)if($==M[z].type)return M[z].message},P=(M,$)=>{for(let z=0;z<M.length;z++)if($==M[z].type)return M[z].regx},T=(M,$)=>{for(let z=0;z<M.length;z++)if($==M[z].type)return M[z].hint},j=M=>{h({...g.value,[M]:null}),f.value=!0},I=()=>{f.value=!1;for(let M in i.value)i.value.hasOwnProperty(M)&&h({...g.value,[M]:null});i.value=JSON.parse(JSON.stringify(l.value))},Y=()=>{for(let M=0;M<c.value.length;M++){const $=c.value[M];if($.primaryKey&&$.primaryKey==!0){m.value=$;break}}};return{formData:i,columns:c,errors:g,backendErrors:s,isDataChange:f,linkedEntities:d,primarayKeyColumn:m,clearErrors:j,saveRecord:V,fetchAllRecords:b,fetchRecord:k,getRelatedEntityRecordById:C,cancleRecord:I,saveRelatedEntityRecord:N}}const Xs={key:0,class:"surface-card"},Js={class:"info"},Qs={key:0,class:"list-none p-0"},Xn={__name:"EntityFormErrors",props:{errors:Array},setup(e){let t=o.ref(!0);const r=()=>{t.value=!t.value};return(n,a)=>{var l;const i=o.resolveComponent("Message");return((l=e.errors)==null?void 0:l.length)>0?(o.openBlock(),o.createElementBlock("div",Xs,[a[1]||(a[1]=o.createElementVNode("h4",{class:"flex-1 font-bold text-red-500"},"Errors",-1)),o.createElementVNode("div",Js,[o.createElementVNode("span",{onClick:a[0]||(a[0]=c=>r()),class:"cursor-pointer underline showHideColor"},o.toDisplayString(o.unref(t)?"Hide":"Show"),1)]),o.unref(t)?(o.openBlock(),o.createElementBlock("ul",Qs,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.errors,(c,u)=>(o.openBlock(),o.createElementBlock("li",{key:u,class:"mb-2"},[o.createVNode(i,{style:{"word-break":"break-all"},closable:!1,severity:"error"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(c.message),1)]),_:2},1024)]))),128))])):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)}}},Zs={class:"field flex flex-col mb-3"},ec=["for"],tc={key:0,class:"flex items-center"},oc={key:1},rc={class:"flex items-center"},Jn={__name:"RelatedEntitySelection",props:{modelValue:{required:!0},entityName:{type:String,required:!0},columnName:{type:String,required:!0},relatedEntityColumn:{type:String,required:!0}},emits:["update:modelValue"],setup(e,{emit:t}){useRoute();const{getEntityRecords:r,searchEntityRecords:n,saveRelatedEntityRecord:a,getRecord:i,addRecord:l,updateRecord:c,deleteRecord:u}=Ue(),s=e,d=o.ref({});let f=o.ref("");const m=t;o.onMounted(()=>{p()});const p=async()=>{try{const b=await r(s.entityName);b&&b.response&&(d.value=b.response,h())}catch{}finally{}},g=()=>{m("update:modelValue",f.value[s.relatedEntityColumn])},h=()=>{for(let b=0;b<d.value.result.length;b++){const k=d.value.result[b];if(k[s.relatedEntityColumn]==s.modelValue){f.value=k;break}}};return(b,k)=>{const C=o.resolveComponent("Select");return o.openBlock(),o.createElementBlock("div",Zs,[o.createElementVNode("label",{for:e.columnName},o.toDisplayString(e.columnName),9,ec),o.createVNode(C,{modelValue:o.unref(f),"onUpdate:modelValue":[k[0]||(k[0]=S=>o.isRef(f)?f.value=S:f=S),g],"item-value":e.relatedEntityColumn,options:d.value.result,filter:"",optionLabel:e.relatedEntityColumn,placeholder:"Select "+e.relatedEntityColumn,class:"w-full"},{value:o.withCtx(S=>[S.value?(o.openBlock(),o.createElementBlock("div",tc,[o.createElementVNode("div",null,o.toDisplayString(S.value[e.relatedEntityColumn]),1)])):(o.openBlock(),o.createElementBlock("span",oc,o.toDisplayString(S.placeholder),1))]),option:o.withCtx(S=>[o.createElementVNode("div",rc,[o.createElementVNode("div",null,o.toDisplayString(S.option[e.relatedEntityColumn]),1)])]),_:1},8,["modelValue","item-value","options","optionLabel","placeholder"])])}}},nc={key:0,style:{"font-weight":"700","font-size":"1.25rem"}},ac={key:1,style:{"font-weight":"700","font-size":"1.25rem"}},ic={__name:"EntityDialog",props:o.mergeModels({entityName:{type:String,required:!0},recordId:{type:[String,Number],default:null}},{showForm:{},showFormModifiers:{}}),emits:o.mergeModels(["onSaveDialog"],["update:showForm"]),setup(e,{emit:t}){const r=o.useModel(e,"showForm"),n=t,{formData:a,columns:i,errors:l,backendErrors:c,clearErrors:u,saveRecord:s,fetchAllRecords:d,fetchRecord:f}=fr(e.entityName,e.recordId,n);return o.onMounted(()=>{e.recordId?f():d()}),(m,p)=>{const g=o.resolveComponent("Button"),h=o.resolveComponent("Dialog");return r.value?(o.openBlock(),o.createBlock(h,{key:0,showFooter:!1,visible:r.value,"onUpdate:visible":p[2]||(p[2]=b=>r.value=b),style:{width:"50rem"},breakpoints:{"1199px":"75vw","575px":"90vw"},modal:!0,class:"p-fluid"},{header:o.withCtx(()=>[e.recordId?(o.openBlock(),o.createElementBlock("span",nc,"Edit "+o.toDisplayString(e.entityName)+" record details",1)):o.createCommentVNode("",!0),e.recordId?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("span",ac,"Add "+o.toDisplayString(e.entityName)+" record details",1))]),footer:o.withCtx(()=>[o.createVNode(g,{type:"button",icon:"",label:"Cancel",severity:"secondary",onClick:p[0]||(p[0]=b=>r.value=!1)}),o.createVNode(g,{type:"button",icon:"",label:"Save",severity:"success",onClick:p[1]||(p[1]=b=>o.unref(s)())})]),default:o.withCtx(()=>{var b;return[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(i),(k,C)=>{var S;return o.openBlock(),o.createElementBlock("div",{key:C},[!k.autoGenerated&&!k.foreignKey?(o.openBlock(),o.createBlock(go,{key:0,modelValue:o.unref(a)[k.name],"onUpdate:modelValue":L=>o.unref(a)[k.name]=L,column:k,errors:(S=o.unref(l)[k.name])==null?void 0:S.messages,onInput:o.unref(u)},null,8,["modelValue","onUpdate:modelValue","column","errors","onInput"])):o.createCommentVNode("",!0),!k.autoGenerated&&k.foreignKey?(o.openBlock(),o.createBlock(Jn,{key:1,modelValue:o.unref(a)[k.name],"onUpdate:modelValue":L=>o.unref(a)[k.name]=L,entityName:k.foreignKey.referencedEntityName,columnName:k.name,relatedEntityColumn:k.foreignKey.referencedColumnName},null,8,["modelValue","onUpdate:modelValue","entityName","columnName","relatedEntityColumn"])):o.createCommentVNode("",!0)])}),128)),((b=o.unref(c))==null?void 0:b.length)>0?(o.openBlock(),o.createBlock(Xn,{key:0,errors:o.unref(c)},null,8,["errors"])):o.createCommentVNode("",!0)]}),_:1},8,["visible"])):o.createCommentVNode("",!0)}}},lc={__name:"DeleteConfirmationDialog",props:o.mergeModels({entityName:{type:String,required:!0},recordId:{type:[String,Number],default:null}},{showDeleteDialog:{},showDeleteDialogModifiers:{}}),emits:o.mergeModels(["onDeleteItem"],["update:showDeleteDialog"]),setup(e,{emit:t}){const r=new Ue,n=o.useModel(e,"showDeleteDialog"),a=t,i=async()=>{try{const l=await r.deleteRecord(e.entityName,e.recordId);l&&l.response&&a("onDeleteItem")}catch(l){console.error("Error deleting record:",l.errorMessage)}finally{}};return(l,c)=>{const u=o.resolveComponent("Button"),s=o.resolveComponent("Dialog");return o.openBlock(),o.createBlock(s,{visible:n.value,"onUpdate:visible":c[1]||(c[1]=d=>n.value=d),style:{width:"450px"},header:"Confirm",modal:!0},{footer:o.withCtx(()=>[o.createVNode(u,{label:"No",icon:"pi pi-times",text:"",onClick:c[0]||(c[0]=d=>n.value=!1)}),o.createVNode(u,{label:"Yes",icon:"pi pi-check",text:"",onClick:i})]),default:o.withCtx(()=>[c[2]||(c[2]=o.createElementVNode("div",{class:"flex items-center justify-center"},[o.createElementVNode("i",{class:"pi pi-exclamation-triangle mr-3",style:{"font-size":"2rem"}}),o.createElementVNode("span",null,"Are you sure you want to delete the selected item?")],-1))]),_:1},8,["visible"])}}};var sc=Object.defineProperty,Qn=Object.getOwnPropertySymbols,cc=Object.prototype.hasOwnProperty,dc=Object.prototype.propertyIsEnumerable,Zn=(e,t,r)=>t in e?sc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,uc=(e,t)=>{for(var r in t||(t={}))cc.call(t,r)&&Zn(e,r,t[r]);if(Qn)for(var r of Qn(t))dc.call(t,r)&&Zn(e,r,t[r]);return e};function mr(e){return e==null||e===""||Array.isArray(e)&&e.length===0||!(e instanceof Date)&&typeof e=="object"&&Object.keys(e).length===0}function fc(e){return!!(e&&e.constructor&&e.call&&e.apply)}function Ce(e){return!mr(e)}function Ct(e,t=!0){return e instanceof Object&&e.constructor===Object&&(t||Object.keys(e).length!==0)}function No(e,...t){return fc(e)?e(...t):e}function $t(e,t=!0){return typeof e=="string"&&(t||e!=="")}function ea(e,t=!0){return Array.isArray(e)&&(t||e.length!==0)}function mc(e){return Ce(e)&&!isNaN(e)}function rt(e,t){if(t){const r=t.test(e);return t.lastIndex=0,r}return!1}function ta(...e){const t=(r={},n={})=>{const a=uc({},r);return Object.keys(n).forEach(i=>{Ct(n[i])&&i in r&&Ct(r[i])?a[i]=t(r[i],n[i]):a[i]=n[i]}),a};return e.reduce((r,n,a)=>a===0?n:t(r,n),{})}function oa(e){return e&&e.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g,"").replace(/ {2,}/g," ").replace(/ ([{:}]) /g,"$1").replace(/([;,]) /g,"$1").replace(/ !/g,"!").replace(/: /g,":")}function ra(e){return $t(e)?e.replace(/(_)/g,"-").replace(/[A-Z]/g,(t,r)=>r===0?t:"-"+t.toLowerCase()).toLowerCase():e}function na(e){return $t(e)?e.replace(/[A-Z]/g,(t,r)=>r===0?t:"."+t.toLowerCase()).toLowerCase():e}var Ft={STARTS_WITH:"startsWith",CONTAINS:"contains",NOT_CONTAINS:"notContains",ENDS_WITH:"endsWith",EQUALS:"equals",NOT_EQUALS:"notEquals",IN:"in",LESS_THAN:"lt",LESS_THAN_OR_EQUAL_TO:"lte",GREATER_THAN:"gt",GREATER_THAN_OR_EQUAL_TO:"gte",BETWEEN:"between",DATE_IS:"dateIs",DATE_IS_NOT:"dateIsNot",DATE_BEFORE:"dateBefore",DATE_AFTER:"dateAfter"},pc={AND:"and",OR:"or"};const gc={key:0},hc={key:1},pr={__name:"RecordColumnRenderer",props:{column:Object,value:null},setup(e){const t=o.ref(null),r=Object.assign({});async function n(){await o.nextTick();const a=r[`/src/directives/${e.column.displayFormatKey}.js`];a&&t.value&&a().then(i=>{i.default.beforeMount(t.value,{value:e.value,arg:e.column.displayFormat})})}return o.onMounted(()=>{n()}),o.onUpdated(()=>{n()}),(a,i)=>e.column.displayFormatKey?(o.openBlock(),o.createElementBlock("span",gc,[o.createElementVNode("span",{ref_key:"el",ref:t},o.toDisplayString(e.value),513)])):(o.openBlock(),o.createElementBlock("span",hc,o.toDisplayString(e.value),1))}},bc={class:"my-2"},yc={class:"flex flex-col md:flex-row md:justify-between md:items-center"},kc={class:"flex flex-row gap-2"},gr={__name:"Grid",props:{entityName:String,showAddButton:Boolean,showClearFilters:Boolean,columnsToShow:Array,editable:Boolean,deleteable:Boolean,showPagination:Boolean},setup(e){const t=Ne(),r=e;console.log("columnsToShow",r.columnsToShow);const n=it.useRoute(),a=o.ref(r.entityName||n.params.entityName),i=o.ref({}),l=o.ref(""),c=o.ref(!1),u=o.ref(!1),{items:s,headers:d,first:f,totalRecords:m,pageSize:p,loading:g,sortBy:h,sortDirection:b,operatorMap:k,filterToSend:C,primarayKeyColumn:S,fullTextSearch:L,listingResponse:R,onFullTextSearch:N,getDatatypeByField:w,getColumnDatatype:y,onSort:E,onPage:V,onFilter:_,fetchEntityFilterData:D,fetchEntityByName:P}=Tl(a.value),T=o.ref();let j=o.ref(!1);const I=G=>{i.value=G.reduce((J,ie)=>{if(!ie.filterable)return J;let le=Ft.CONTAINS;switch(ie.datatype.toLowerCase()){case"string":case"uuid":le=Ft.STARTS_WITH;break;case"date":le=Ft.DATE_IS;break;case"numeric":case"int":case"integer":le=Ft.EQUALS;break;case"bool":case"boolean":le=Ft.EQUALS;break}return ie.datatype=="bool"||ie.datatype=="boolean"?J[ie.field]={value:null,matchMode:Ft.EQUALS}:J[ie.field]={operator:pc.AND,constraints:[{value:null,matchMode:le}]},J},{})},Y=()=>{I(d.value),C.value=ae(i.value),_()},M=G=>{C.value=ae(i.value),_()},$=G=>{G?l.value=G[S.value.name]:l.value="",c.value=!c.value},z=()=>{c.value=!1,D(!1)},te=G=>{l.value=G[S.value.name],u.value=!0},ne=()=>{u.value=!1,D(!1)},ae=G=>Object.keys(G).map(J=>{const ie=G[J];return ie.constraints?ie.constraints.filter(le=>le.value!==null&&le.value!=="").map(le=>({columnName:J,operator:k[le.matchMode]??le.matchMode,value:le.value,columnType:w(J)})):ie.value!==null&&ie.value!==""?{columnName:J,operator:k[ie.matchMode]??ie.matchMode,value:ie.value,columnType:w(J)}:[]}).flat();return o.watch(()=>t.globalConfigs.appId,async G=>{G&&P(a.value)},{immediate:!0}),o.watch(()=>d.value,G=>{!j.value&&G&&G.length&&(I(G),j.value=!0)},{immediate:!0}),(G,J)=>{const ie=o.resolveComponent("Button"),le=o.resolveComponent("Toolbar"),he=o.resolveComponent("ProgressSpinner"),Pe=o.resolveComponent("InputIcon"),Re=o.resolveComponent("IconField"),Ke=o.resolveComponent("DatePicker"),Me=o.resolveComponent("InputNumber"),W=o.resolveComponent("Checkbox"),A=o.resolveComponent("Column"),se=o.resolveComponent("DataTable");return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("div",o.normalizeProps(o.guardReactiveProps(G.$attrs)),[o.renderSlot(G.$slots,"header"),e.showClearFilters||e.showAddButton?(o.openBlock(),o.createBlock(le,{key:0,class:"mb-4 mt-4"},o.createSlots({_:2},[e.showClearFilters?{name:"start",fn:o.withCtx(()=>[o.createElementVNode("div",bc,[o.createVNode(ie,{type:"button",icon:"pi pi-filter-slash",label:"Clear",severity:"warning",onClick:J[0]||(J[0]=de=>Y())})])]),key:"0"}:void 0,e.showAddButton?{name:"end",fn:o.withCtx(()=>[o.createVNode(ie,{label:"Add",icon:"pi pi-plus",class:"mr-2",severity:"success",onClick:J[1]||(J[1]=de=>$())})]),key:"1"}:void 0]),1024)):o.createCommentVNode("",!0),o.createVNode(se,{lazy:"",value:o.unref(s),loading:o.unref(g),ref_key:"dt",ref:T,stripedRows:!0,showGridlines:"",rowHover:!0,paginator:e.showPagination,rows:o.unref(p),rowsPerPageOptions:[10,25,50,100],totalRecords:o.unref(m),first:o.unref(f),sortField:o.unref(h),sortOrder:o.unref(b),filters:i.value,"onUpdate:filters":J[5]||(J[5]=de=>i.value=de),filterDisplay:"menu",scrollable:"",scrollHeight:"400px",onSort:o.unref(E),onPage:o.unref(V),onFilter:J[6]||(J[6]=de=>M()),size:"large",paginatorTemplate:"FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink CurrentPageReport RowsPerPageDropdown",currentPageReportTemplate:"Showing {first} to {last} of {totalRecords} items"},{empty:o.withCtx(()=>J[9]||(J[9]=[o.createTextVNode(" No data found. ")])),loading:o.withCtx(()=>[o.createVNode(he)]),header:o.withCtx(()=>[o.createElementVNode("div",yc,[o.createVNode(Re,{iconPosition:"left",class:"block mt-2 md:mt-0"},{default:o.withCtx(()=>[o.createVNode(Pe,{class:"pi pi-search",onClick:J[2]||(J[2]=de=>o.unref(N)())}),o.createVNode(o.unref(Cr.InputText),{class:"w-full sm:w-auto",onKeyup:J[3]||(J[3]=o.withKeys(de=>o.unref(N)(),["enter"])),modelValue:o.unref(L),"onUpdate:modelValue":J[4]||(J[4]=de=>o.isRef(L)?L.value=de:null),placeholder:"Search..."},null,8,["modelValue"])]),_:1})])]),default:o.withCtx(()=>{var de;return[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(d).filter(ce=>!r.columnsToShow||r.columnsToShow.length===0||r.columnsToShow.includes(ce.field)),ce=>(o.openBlock(),o.createBlock(A,{key:ce.field,dataType:o.unref(y)(ce.datatype),field:ce.field,header:ce.name,sortable:ce.sortable,showAddButton:!1,showFilterOperator:!1,style:{"text-wrap":"nowrap"}},o.createSlots({body:o.withCtx(({data:ue})=>[o.createVNode(pr,{column:ce,value:ue[ce.field]},null,8,["column","value"])]),_:2},[ce.datatype.toLowerCase()==="date"&&ce.filterable?{name:"filter",fn:o.withCtx(({filterModel:ue})=>[o.createVNode(Ke,{modelValue:ue.value,"onUpdate:modelValue":ye=>ue.value=ye,dateFormat:"mm/dd/yy",placeholder:"mm/dd/yyyy"},null,8,["modelValue","onUpdate:modelValue"])]),key:"0"}:ce.datatype.toLowerCase()==="int"&&ce.filterable?{name:"filter",fn:o.withCtx(({filterModel:ue})=>[o.createVNode(Me,{modelValue:ue.value,"onUpdate:modelValue":ye=>ue.value=ye,placeholder:"Search..."},null,8,["modelValue","onUpdate:modelValue"])]),key:"1"}:ce.datatype.toLowerCase()==="boolean"&&ce.filterable?{name:"filter",fn:o.withCtx(({filterModel:ue})=>[o.createVNode(W,{modelValue:ue.value,"onUpdate:modelValue":ye=>ue.value=ye,indeterminate:ue.value===null,binary:""},null,8,["modelValue","onUpdate:modelValue","indeterminate"])]),key:"2"}:ce.filterable?{name:"filter",fn:o.withCtx(({filterModel:ue})=>[o.createVNode(o.unref(Cr.InputText),{style:{width:"150px"},type:"text",modelValue:ue.value,"onUpdate:modelValue":ye=>ue.value=ye,class:"p-column-filter",placeholder:"Search..."},null,8,["modelValue","onUpdate:modelValue"])]),key:"3"}:void 0]),1032,["dataType","field","header","sortable"]))),128)),((de=o.unref(s))==null?void 0:de.length)>0&&(e.editable||e.deleteable)?(o.openBlock(),o.createBlock(A,{key:0,header:"Actions"},{body:o.withCtx(({data:ce})=>[o.createElementVNode("div",kc,[e.editable?(o.openBlock(),o.createBlock(ie,{key:0,onClick:ue=>$(ce),icon:"pi pi-pencil",severity:"success",size:"",rounded:"","aria-label":"Edit"},null,8,["onClick"])):o.createCommentVNode("",!0),e.deleteable?(o.openBlock(),o.createBlock(ie,{key:1,onClick:ue=>te(ce),icon:"pi pi-trash",severity:"danger",rounded:"","aria-label":"Delete"},null,8,["onClick"])):o.createCommentVNode("",!0)])]),_:1})):o.createCommentVNode("",!0)]}),_:1},8,["value","loading","paginator","rows","totalRecords","first","sortField","sortOrder","filters","onSort","onPage"]),o.renderSlot(G.$slots,"footer")],16),c.value?(o.openBlock(),o.createBlock(ic,{key:0,showForm:c.value,"onUpdate:showForm":J[7]||(J[7]=de=>c.value=de),entityName:o.unref(R).entityName,recordId:l.value,onOnSaveDialog:z},null,8,["showForm","entityName","recordId"])):o.createCommentVNode("",!0),u.value?(o.openBlock(),o.createBlock(lc,{key:1,showDeleteDialog:u.value,"onUpdate:showDeleteDialog":J[8]||(J[8]=de=>u.value=de),entityName:o.unref(R).entityName,recordId:l.value,onOnDeleteItem:ne},null,8,["showDeleteDialog","entityName","recordId"])):o.createCommentVNode("",!0)],64)}}},wc={class:"flex flex-col p-3"},xc={class:"flex justify-center flex-row mb-2 cursor-pointer"},vc={style:{"word-break":"break-all"}},Cc={__name:"LinkEntityContent",props:{linkEntityListItem:{type:Object,required:!0}},setup(e){it.useRoute();const t=Ne(),r=o.ref("");t.getAppId()!=null&&t.getAppId()!=""&&(r.value=t.getAppId());const n=o.ref(),a=o.ref(!1),i=o.ref(!1),l=o.ref({}),c=o.ref([{label:"Remove association",icon:"",command:f=>{u()}}]),u=()=>{console.log(l.value),console.log("Function is calling")},s=(f,m)=>{l.value=m,n.value.show(f),i.value=!0},d=()=>{l.value={},i.value=!1};return(f,m)=>{const p=o.resolveComponent("Button"),g=o.resolveComponent("ContextMenu"),h=o.resolveComponent("router-link");return o.openBlock(),o.createElementBlock("div",{onMouseenter:m[4]||(m[4]=o.withModifiers(b=>a.value=!0,["prevent"])),onMouseleave:m[5]||(m[5]=o.withModifiers(b=>a.value=!1,["prevent"])),class:"flex relative m-3",style:{border:"1px solid var(--surface-border)","border-radius":"5px"}},[o.withDirectives(o.createVNode(p,{onClick:m[0]||(m[0]=b=>s(b,e.linkEntityListItem)),class:"!absolute right-0",size:"small",style:{width:"55px",height:"25px","border-radius":"5px","font-size":"12px"}},{default:o.withCtx(()=>m[6]||(m[6]=[o.createTextVNode(" More")])),_:1},512),[[o.vShow,a.value||i.value]]),o.createVNode(g,{ref_key:"menu",ref:n,model:c.value,onMouseenter:m[1]||(m[1]=o.withModifiers(b=>a.value=!0,["prevent"])),onMouseleave:m[2]||(m[2]=o.withModifiers(b=>a.value=!1,["prevent"])),onHide:m[3]||(m[3]=b=>d())},null,8,["model"]),o.createElementVNode("div",wc,[o.createElementVNode("div",xc,[o.createElementVNode("div",vc,o.toDisplayString(e.linkEntityListItem.entityName),1),o.createVNode(h,{to:{name:"entity360view",params:{entityName:e.linkEntityListItem.entityName,id:e.linkEntityListItem.id,appId:r.value}},target:"_blank"},{default:o.withCtx(()=>m[7]||(m[7]=[o.createElementVNode("div",{class:"pi pi-external-link ml-3"},null,-1)])),_:1},8,["to"])]),o.createElementVNode("div",null,"Id: "+o.toDisplayString(e.linkEntityListItem.id),1)])],32)}}},Ec={class:"flex flex-col mt-3"},Sc={class:"flex flex-row items-center"},Bc={class:"flex items-center justify-center mt-5"},Nc={key:0,class:"pi pi-caret-right"},_c={key:1,class:"pi pi-caret-down"},Rc={key:0},Tc={class:"flex flex-col mt-5"},Dc={class:"col-12"},Oc={class:"flex flex-col mt-5"},Vc={class:"col-12 font-bold"},$c={key:0},Fc={class:"flex flex-col mt-5"},Ac={class:"col-12"},Ic={class:"flex flex-col mt-5"},Pc={class:"col-12"},Lc={class:"flex flex-col mt-5"},Mc={class:"col-12"},jc={class:"flex flex-row justify-between items-center mt-5"},zc={key:1,class:"mt-2"},Uc={class:"flex flex-row justify-between items-center"},Wc={key:1,class:"text-red-500"},qc={class:"flex flex-col mt-5"},Hc={class:"flex flex-row justify-between items-center mt-2"},Kc={class:"flex flex-row items-center mt-5 mb-5"},Yc={class:"font-bold"},Gc={class:"font-bold ml-2 flex-1"},Xc={class:"flex flex-row justify-center items-center mb-2"},Jc={class:"ml-2 flex-1"},Qc={key:0,class:"pi pi-exclamation-circle"},Zc={class:"flex flex-col justify-center"},ed={class:"flex flex-row justify-between items-center"},td={class:"justify-start"},od={class:"justify-start"},rd=Oe({__name:"EntityLookup",props:o.mergeModels({linkedEntity:{type:Object,required:!0},entity360Name:{type:String,required:!0},entity360Id:{required:!0},saveExistingRelatedEntityRecord:{type:Function,required:!0}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){it.useRoute();const t=e,r=o.useModel(e,"modelValue"),n=new Ue,a=o.ref({}),i=o.ref([]),l=o.ref({}),c=o.ref([]),u=o.ref([]),s=o.ref({}),d=o.ref("id"),f=o.ref(1),m=o.ref([]),p=o.ref(25),g=o.ref(0),h=o.ref(0),b=o.ref(0);let k=o.ref([]);const C=o.ref(!1),S={gt:"GREATER_THAN",dateAfter:"GREATER_THAN",equals:"EQUAL",dateIs:"EQUAL",notEquals:"NOT_EQUAL",dateIsNot:"NOT_EQUAL",lt:"LESS_THAN",dateBefore:"LESS_THAN",lte:"LESS_THAN_EQUAL",gte:"GREATER_THAN_EQUAL",between:"BETWEEN",contains:"CONTAINS",startsWith:"STARTS_WITH",notContains:"NOT_CONTAINS",endsWith:"ENDS_WITH"},L={gt:"is greater than",dateAfter:"is after",equals:"is equals",dateIs:"is equals",notEquals:"is not equals",dateIsNot:"is not equals",lt:"is less than",dateBefore:"is before",lte:"is less than or equal to",gte:"is greater than or equal to",between:"between",contains:"contains",startsWith:"starts with",notContains:"not contains",endsWith:"ends with"};o.onMounted(()=>{N()});const R=W=>t.linkedEntity.list.some(A=>A[s.value.name]===W),N=async()=>{try{const W={sortBy:[d.value],sortDirection:f.value===1?"ASC":"DESC",pageSize:p.value,currentPage:g.value,columnList:null,filter:k.value,fullTextSearch:""},A=await n.searchEntityRecords(t.linkedEntity.entityName,W);A&&A.response&&(a.value=A.response,c.value=A.response.entity.entityDefinition.columns,u.value=he(A.response.entity.entityDefinition.columns),h.value=A.response.totalRecords,await w(),await y(),E())}catch{}finally{}},w=async()=>{for(let W=0;W<c.value.length;W++){const A=c.value[W];!A.autoGeneerated&&A.foreignKey&&A.foreignKey.referencedEntityName.toLowerCase()==t.entity360Name.toLowerCase()&&(l.value=A)}},y=async()=>{for(let W=0;W<c.value.length;W++){const A=c.value[W];if(A.primaryKey&&A.primaryKey==!0){s.value=A;break}}},E=()=>{for(let W=0;W<t.linkedEntity.list.length;W++){const A=t.linkedEntity.list[W];A.is_deleted==!1&&A[l.value.name]==t.entity360Id&&i.value.push(A[s.value.name])}},V=()=>{let W=JSON.parse(JSON.stringify(i.value));W=W.filter(se=>!R(se));let A={linkEntityName:a.value.entityName,linkRecordIdList:[]};for(let se=0;se<W.length;se++){const de=W[se];A.linkRecordIdList.push(de)}t.saveExistingRelatedEntityRecord(A)},_=()=>{C.value=!C.value},D=[{label:"Starts with",value:"startsWith"},{label:"Contains",value:"contains"},{label:"Not contains",value:"notContains"},{label:"Ends with",value:"endsWith"},{label:"Equals",value:"equals"},{label:"Not equals",value:"notEquals"}],P=[{label:"Equals",value:"equals"},{label:"Not equals",value:"notEquals"},{label:"Less than",value:"lt"},{label:"Less than or equal to",value:"lte"},{label:"Greater than",value:"gt"},{label:"Greater than or equal to",value:"gte"}],T=[{label:"Equals",value:"equals"},{label:"Not equals",value:"notEquals"}],j=[{label:"Date is",value:"dateIs"},{label:"Date is not",value:"dateIsNot"},{label:"Date is before",value:"dateBefore"},{label:"Date is after",value:"dateAfter"}],I=[{label:"ASC",value:1},{label:"DESC",value:-1}];let Y=[];const M=o.computed(()=>u.value.filter(W=>W.sortable)),$=o.computed(()=>u.value.filter(W=>W.filterable)),z=W=>u.value.filter(A=>{var se;return A.filterable?((se=m.value[W])==null?void 0:se.columnName)===A.name?!0:!m.value.some((de,ce)=>ce!==W&&de.columnName===A.name):!1}).map(A=>({label:A.name,value:A.field})),te=W=>{let A="";switch(Re(W.columnName).toLowerCase()){case"string":case"uuid":A="startsWith";break;case"date":A="dateIs";break;case"numeric":case"int":case"integer":A="equals";break;case"bool":case"boolean":A="equals";break}W.operator=A,W.value=""},ne=W=>{const A=Re(W.columnName);switch(A&&A.toLowerCase()){case"integer":case"int":case"numeric":Y=P;break;case"date":Y=j;break;case"bool":case"boolean":Y=T;break;default:Y=D}return Y},ae=W=>{if(W&&W.columnName){const A=Re(W.columnName);return Ke(A)}else return""},G=()=>{for(let W=0;W<m.value.length;W++){const A=m.value[W];A.editing=!1}m.value.push({columnName:"",value:"",operator:"",editing:!0})},J=W=>{m.value.splice(W,1)},ie=W=>{W.editing=!W.editing},le=()=>{let W=JSON.parse(JSON.stringify(m.value));k.value=[];for(let A=0;A<W.length;A++){const se=W[A];delete se.editing,se.columnName&&se.operator&&se.value&&(se.columnType=Re(se.columnName),se.operator=S[se.operator],k.value.push(se))}N()},he=W=>W.map(A=>({field:A.name,name:A.displayName?A.displayName:A.name,filterable:A.filterable,datatype:A.type,sortable:!0,displayFormatKey:A.displayFormatKey,displayFormat:A.displayFormat})),Pe=()=>{N()},Re=W=>{const A=u.value.find(se=>se.field===W);return A?A.datatype:null},Ke=W=>{switch(W.toLowerCase()){case"integer":case"int":case"numeric":return"numeric";case"date":return"date";case"bool":case"boolean":return"boolean";default:return"text"}},Me=W=>{p.value=W.rows,g.value=W.page,b.value=W.first,N()};return(W,A)=>{var gt,Nt;const se=o.resolveComponent("InputIcon"),de=o.resolveComponent("InputText"),ce=o.resolveComponent("IconField"),ue=o.resolveComponent("Select"),ye=o.resolveComponent("Divider"),Fe=o.resolveComponent("InputNumber"),Ze=o.resolveComponent("DatePicker"),Se=o.resolveComponent("Button"),Ae=o.resolveComponent("Checkbox"),je=o.resolveComponent("Paginator"),pt=o.resolveDirective("tooltip");return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("div",Ec,[o.createElementVNode("div",Sc,[o.createVNode(ce,{class:"block mt-2 md:mt-0 w-full"},{default:o.withCtx(()=>[o.createVNode(se,{onClick:A[0]||(A[0]=()=>{}),class:"pi pi-search"}),o.createVNode(de,{class:"w-full",onKeyup:A[1]||(A[1]=o.withKeys(()=>{},["enter"])),placeholder:`Search ${a.value.entityName}`},null,8,["placeholder"])]),_:1})]),o.createElementVNode("div",Bc,[o.createElementVNode("div",{class:"flex items-center cursor-pointer sorting-filter-section flex-1 line-height-4",onClick:A[2]||(A[2]=Q=>_())},[C.value?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",Nc)),C.value?(o.openBlock(),o.createElementBlock("div",_c)):o.createCommentVNode("",!0),A[9]||(A[9]=o.createElementVNode("div",{class:"ml-3 font-bold"}," Sorting & Filters ",-1))])]),C.value?(o.openBlock(),o.createElementBlock("div",Rc,[o.createElementVNode("div",Tc,[A[10]||(A[10]=o.createElementVNode("div",{class:"col-12 font-bold"},"Sort Column",-1)),o.createElementVNode("div",Dc,[o.createVNode(ue,{modelValue:d.value,"onUpdate:modelValue":A[3]||(A[3]=Q=>d.value=Q),options:M.value,optionLabel:"name",optionValue:"field",highlightOnSelect:!1,class:"w-full",onChange:A[4]||(A[4]=Q=>Pe(W.event))},null,8,["modelValue","options"])])]),o.createElementVNode("div",Oc,[A[11]||(A[11]=o.createElementVNode("div",{class:"col-12 font-bold"},[o.createElementVNode("div",{class:"col-12 font-bold"},"Sort Direction")],-1)),o.createElementVNode("div",Vc,[o.createVNode(ue,{modelValue:f.value,"onUpdate:modelValue":A[5]||(A[5]=Q=>f.value=Q),options:I,optionLabel:"label",optionValue:"value",highlightOnSelect:!1,class:"w-full",onChange:A[6]||(A[6]=Q=>Pe(W.event))},null,8,["modelValue"])])]),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(m.value,(Q,Ye)=>(o.openBlock(),o.createElementBlock("div",{key:Ye},[Q.editing?(o.openBlock(),o.createElementBlock("div",$c,[o.createVNode(ye,{class:"mt-5"}),o.createElementVNode("div",Fc,[A[12]||(A[12]=o.createElementVNode("div",{class:"col-12 font-bold"},"Filter Column",-1)),o.createElementVNode("div",Ac,[o.createVNode(ue,{modelValue:Q.columnName,"onUpdate:modelValue":we=>Q.columnName=we,options:z(Ye),optionLabel:"label",placeholder:"Select column",optionValue:"value",highlightOnSelect:!1,class:"w-full",onChange:we=>te(Q)},null,8,["modelValue","onUpdate:modelValue","options","onChange"])])]),o.createElementVNode("div",Ic,[A[13]||(A[13]=o.createElementVNode("div",{class:"col-12 font-bold"},"Filter Operator",-1)),o.createElementVNode("div",Pc,[o.createVNode(ue,{modelValue:Q.operator,"onUpdate:modelValue":we=>Q.operator=we,options:ne(Q),optionLabel:"label",placeholder:"Select operator",optionValue:"value",highlightOnSelect:!1,class:"w-full"},null,8,["modelValue","onUpdate:modelValue","options"])])]),o.createElementVNode("div",Lc,[A[14]||(A[14]=o.createElementVNode("div",{class:"col-12 font-bold"},"Filter value",-1)),o.createElementVNode("div",Mc,[ae(Q)=="numeric"?(o.openBlock(),o.createBlock(Fe,{key:0,format:!1,class:"w-full",modelValue:Q.value,"onUpdate:modelValue":we=>Q.value=we,placeholder:"Search value"},null,8,["modelValue","onUpdate:modelValue"])):ae(Q)=="date"?(o.openBlock(),o.createBlock(Ze,{key:1,class:"w-full",modelValue:Q.value,"onUpdate:modelValue":we=>Q.value=we,dateFormat:"mm/dd/yy",placeholder:"mm/dd/yyyy"},null,8,["modelValue","onUpdate:modelValue"])):(o.openBlock(),o.createBlock(de,{key:2,modelValue:Q.value,"onUpdate:modelValue":we=>Q.value=we,class:"w-full",placeholder:"Search value"},null,8,["modelValue","onUpdate:modelValue"]))])]),o.createElementVNode("div",jc,[o.createVNode(Se,{style:{width:"100px"},label:"Hide",icon:"",severity:"warning",onClick:we=>ie(Q)},null,8,["onClick"]),o.createVNode(Se,{style:{width:"100px"},label:"Delete",icon:"",severity:"danger",onClick:we=>J(Ye)},null,8,["onClick"])])])):o.createCommentVNode("",!0),Q.editing?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",zc,[o.createVNode(ye),o.createElementVNode("div",Uc,[o.createElementVNode("span",null,[Q.columnName||Q.operator||Q.value?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("span",{class:o.normalizeClass({"text-red-500":!Q.columnName})},o.toDisplayString(Q.columnName?" "+Q.columnName:" column"),3),o.createElementVNode("span",{class:o.normalizeClass({"text-red-500":!L[Q.operator]})},o.toDisplayString(Q.operator?" "+L[Q.operator]:" operator"),3),o.createElementVNode("span",{class:o.normalizeClass({"text-red-500":!Q.value})},o.toDisplayString(Q.value?" "+Q.value:" value"),3)],64)):(o.openBlock(),o.createElementBlock("span",Wc,"Filter is empty"))]),o.createVNode(Se,{style:{width:"100px"},label:"Edit",icon:"",severity:"info",onClick:we=>ie(Q)},null,8,["onClick"])])]))]))),128)),o.createElementVNode("div",qc,[o.createVNode(ye),o.createElementVNode("div",Hc,[o.createVNode(Se,{style:{width:"100px"},label:"Add",disabled:$.value.length===m.value.length,icon:"",severity:"success",onClick:G},null,8,["disabled"]),o.createVNode(Se,{style:{width:"100px"},label:"Apply",severity:"info",onClick:le})])])])):o.createCommentVNode("",!0),o.createElementVNode("div",Kc,[o.createElementVNode("div",Yc,o.toDisplayString((gt=a.value)==null?void 0:gt.totalRecords),1),o.createElementVNode("div",Gc,o.toDisplayString((Nt=a.value)==null?void 0:Nt.entityName),1)]),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.value.result,(Q,Ye)=>(o.openBlock(),o.createElementBlock("div",{key:Ye},[o.createElementVNode("div",Xc,[o.createVNode(Ae,{disabled:R(Q[s.value.name]),modelValue:i.value,"onUpdate:modelValue":A[7]||(A[7]=we=>i.value=we),value:Q[s.value.name]},null,8,["disabled","modelValue","value"]),o.createElementVNode("div",Jc,[o.createTextVNode(o.toDisplayString(e.linkedEntity.entityName)+" ",1),o.createElementVNode("span",null,o.toDisplayString(Q[s.value.name]),1)]),R(Q[s.value.name])?o.withDirectives((o.openBlock(),o.createElementBlock("div",Qc,null,512)),[[pt,"This record is already associated.",void 0,{left:!0}]]):o.createCommentVNode("",!0)])]))),128)),o.createVNode(je,{rows:p.value,totalRecords:h.value,rowsPerPageOptions:[10,25,50,100],onPage:Me,template:"FirstPageLink PageLinks LastPageLink CurrentPageReport RowsPerPageDropdown",currentPageReportTemplate:""},null,8,["rows","totalRecords"])]),o.createElementVNode("div",Zc,[o.createVNode(ye,{class:"mt-5"}),o.createElementVNode("div",ed,[o.createElementVNode("div",td,[o.createVNode(Se,{label:"Cancel",icon:"",severity:"secondary",onClick:A[8]||(A[8]=Q=>r.value=!1)})]),o.createElementVNode("div",od,[o.createVNode(Se,{label:"Save",severity:"success",onClick:V})])])])],64)}}},[["__scopeId","data-v-a358808d"]]),nd={class:"field flex flex-col"},ad={key:0,class:"flex items-center"},id={key:1},ld={class:"flex items-center"},sd={class:"flex flex-col justify-center"},cd={class:"flex flex-row justify-between items-center"},dd={class:"justify-start"},ud={class:"justify-start"},fd={__name:"EntityLookupObject",props:o.mergeModels({linkedEntity:{type:Object,required:!0},entity360Name:{type:String,required:!0},entity360Id:{type:[String,Number]},saveExistingEntityObject:{type:Function}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){it.useRoute();const{getEntityRecords:t,searchEntityRecords:r,saveRelatedEntityRecord:n,getRecord:a,addRecord:i,updateRecord:l,deleteRecord:c}=Ue(),u=e,s=o.useModel(e,"modelValue");new EntityRecordService;const d=o.ref({}),f=o.ref({});let m=o.ref("");const p=o.ref({}),g=o.ref({});o.onMounted(async()=>{console.log("linkedEntity"),console.log(u.linkedEntity),console.log("entity360Name"),console.log(u.entity360Name),console.log("entity360Id"),console.log(u.entity360Id),await b(),await h()});const h=async()=>{try{const R=await t(u.linkedEntity.entityName);R&&R.response&&(d.value=R.response,await k(R.response.entity.entityDefinition.columns),await S(),console.log(d.value))}catch{}finally{}},b=async()=>{try{const R=await a(u.entity360Name,u.entity360Id);R&&R.response&&(f.value=R.response,await C(R.response.entity.entityDefinition.columns),console.log(f.value))}catch{}finally{}},k=async R=>{for(let N=0;N<R.length;N++){const w=R[N];if(w.primaryKey&&w.primaryKey==!0){p.value=w;break}}},C=async R=>{for(let N=0;N<R.length;N++){const w=R[N];if(!w.autoGeneerated&&w.foreignKey&&w.foreignKey.referencedEntityName.toLowerCase()==u.linkedEntity.entityName.toLowerCase()){g.value=w;break}}},S=async()=>{for(let R=0;R<d.value.result.length;R++){const N=d.value.result[R];if(N[p.value.name]==f.value.result[0][g.value.name]){m.value=N;break}}},L=()=>{const R={linkedEntityRecordId:m.value[p.value.name],linkedEntityName:u.linkedEntity.entityName,relationType:"ManyToOne"};u.saveExistingEntityObject(R)};return(R,N)=>{const w=o.resolveComponent("Select"),y=o.resolveComponent("Divider"),E=o.resolveComponent("Button");return o.openBlock(),o.createElementBlock("div",nd,[o.createVNode(w,{modelValue:o.unref(m),"onUpdate:modelValue":N[0]||(N[0]=V=>o.isRef(m)?m.value=V:m=V),"item-value":p.value.name,options:d.value.result,filter:"",optionLabel:p.value.name,placeholder:"Select "+p.value.name,class:"w-full"},{value:o.withCtx(V=>[V.value?(o.openBlock(),o.createElementBlock("div",ad,[o.createElementVNode("div",null,o.toDisplayString(V.value[p.value.name]),1)])):(o.openBlock(),o.createElementBlock("span",id,o.toDisplayString(V.placeholder),1))]),option:o.withCtx(V=>[o.createElementVNode("div",ld,[o.createElementVNode("div",null,o.toDisplayString(V.option[p.value.name]),1)])]),_:1},8,["modelValue","item-value","options","optionLabel","placeholder"]),o.createElementVNode("div",sd,[o.createVNode(y),o.createElementVNode("div",cd,[o.createElementVNode("div",dd,[o.createVNode(E,{label:"Cancel",icon:"",severity:"secondary",onClick:N[1]||(N[1]=V=>s.value=!1)})]),o.createElementVNode("div",ud,[o.createVNode(E,{label:"Save",severity:"success",onClick:L})])])])])}}},md={style:{"font-weight":"700","font-size":"1.25rem"}},pd={class:"flex flex-col"},gd={class:"flex flex-row justify-between items-center"},hd={class:"justify-start"},bd={class:"justify-start"},yd="",kd={__name:"CreateRelatedentity",props:o.mergeModels({entity360Id:{required:!0},entity360Name:{type:String,required:!0},linkedEntity:{type:Object,required:!0}},{showCreateRelatedEntityForm:{},showCreateRelatedEntityFormModifiers:{}}),emits:o.mergeModels(["onSaveDialog"],["update:showCreateRelatedEntityForm"]),setup(e,{emit:t}){const r=o.useModel(e,"showCreateRelatedEntityForm");it.useRoute();const n=e,a=n.linkedEntity.entityName,i=t,l=o.ref("Add existing");o.onMounted(()=>{p()});const{formData:c,columns:u,errors:s,backendErrors:d,clearErrors:f,saveRecord:m,fetchAllRecords:p,saveRelatedEntityRecord:g}=fr(a,yd,i),h=()=>{for(let S=0;S<u.value.length;S++){const L=u.value[S];!L.autoGenerated&&L.foreignKey&&(c.value[L.name]=n.entity360Id)}const C={relationType:n.linkedEntity.relationType,linkedEntities:{entityLinkage:[{linkEntityName:n.entity360Name,linkRecordIdList:[n.entity360Id]}]}};m(C)},b=C=>{var S;if(((S=C==null?void 0:C.linkRecordIdList)==null?void 0:S.length)>0){const L={entityLinkage:[{linkEntityName:C.linkEntityName,linkRecordIdList:C.linkRecordIdList}]};g(n.entity360Name,n.entity360Id,L)}},k=C=>{const S={entityLinkage:[{linkEntityName:n.entity360Name,linkRecordIdList:[n.entity360Id]}]};g(C.linkedEntityName,C.linkedEntityRecordId,S)};return(C,S)=>{const L=o.resolveComponent("Tab"),R=o.resolveComponent("TabList"),N=o.resolveComponent("Divider"),w=o.resolveComponent("Button"),y=o.resolveComponent("TabPanel"),E=o.resolveComponent("TabPanels"),V=o.resolveComponent("Tabs"),_=o.resolveComponent("Drawer");return o.openBlock(),o.createBlock(_,{visible:r.value,"onUpdate:visible":S[3]||(S[3]=D=>r.value=D),blockScroll:!0,position:"right",class:"p-fluid layout-profile-sidebar",style:{width:"40%"},pt:{closeButton:"ml-auto"}},{header:o.withCtx(()=>[o.createElementVNode("span",md,o.toDisplayString(l.value)+" "+o.toDisplayString(e.linkedEntity.entityName),1)]),default:o.withCtx(()=>[o.createVNode(V,{value:"1"},{default:o.withCtx(()=>[o.createVNode(R,null,{default:o.withCtx(()=>[o.createVNode(L,{value:"0"},{default:o.withCtx(()=>S[4]||(S[4]=[o.createTextVNode("Create new")])),_:1}),o.createVNode(L,{value:"1"},{default:o.withCtx(()=>S[5]||(S[5]=[o.createTextVNode("Add existing")])),_:1})]),_:1}),o.createVNode(E,null,{default:o.withCtx(()=>[o.createVNode(y,{value:"0"},{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(u),(D,P)=>{var T;return o.openBlock(),o.createElementBlock("div",{key:P,class:"mt-3"},[!D.autoGenerated&&!D.foreignKey?(o.openBlock(),o.createBlock(go,{key:0,modelValue:o.unref(c)[D.name],"onUpdate:modelValue":j=>o.unref(c)[D.name]=j,column:D,errors:(T=o.unref(s)[D.name])==null?void 0:T.messages,onInput:o.unref(f)},null,8,["modelValue","onUpdate:modelValue","column","errors","onInput"])):o.createCommentVNode("",!0)])}),128)),o.createElementVNode("div",pd,[o.createVNode(N),o.createElementVNode("div",gd,[o.createElementVNode("div",hd,[o.createVNode(w,{label:"Cancel",icon:"",severity:"secondary",onClick:S[0]||(S[0]=D=>r.value=!1)})]),o.createElementVNode("div",bd,[o.createVNode(w,{label:"Save",severity:"success",onClick:h})])])])]),_:1}),o.createVNode(y,{value:"1"},{default:o.withCtx(()=>[e.linkedEntity.relationType=="ONE_TO_MANY"?(o.openBlock(),o.createBlock(rd,{key:0,modelValue:r.value,"onUpdate:modelValue":S[1]||(S[1]=D=>r.value=D),linkedEntity:e.linkedEntity,entity360Name:e.entity360Name,entity360Id:e.entity360Id,saveExistingRelatedEntityRecord:b},null,8,["modelValue","linkedEntity","entity360Name","entity360Id"])):o.createCommentVNode("",!0),e.linkedEntity.relationType=="MANY_TO_ONE"?(o.openBlock(),o.createBlock(fd,{key:1,modelValue:r.value,"onUpdate:modelValue":S[2]||(S[2]=D=>r.value=D),linkedEntity:e.linkedEntity,entity360Name:e.entity360Name,entity360Id:e.entity360Id,saveExistingEntityObject:k},null,8,["modelValue","linkedEntity","entity360Name","entity360Id"])):o.createCommentVNode("",!0)]),_:1})]),_:1})]),_:1})]),_:1},8,["visible"])}}},wd={class:"flex flex-col border-bottom-section pb-3 pt-3"},xd={class:"flex items-center pl-3 pr-3 justify-between"},vd={key:0,class:"pi pi-caret-right"},Cd={key:1,class:"pi pi-caret-down"},Ed={class:"ml-3 font-bold"},Sd={class:"ml-1"},Bd={class:"text-right"},Nd={key:0},_d=Oe({__name:"LinkEntitySection",props:{entity360Id:{required:!0},entity360Name:{type:String,required:!0},linkedEntity:{type:Object,required:!0},entity360Name:{type:[String,Number]},onSaveRelatedEnttity:{type:Function}},setup(e){it.useRoute();const t=e,r=o.ref(!1),n=o.ref(!1),a=()=>{r.value=!r.value},i=()=>{n.value=!n.value},l=()=>{n.value=!1,t.onSaveRelatedEnttity()},c=o.computed(()=>t.linkedEntity.list.filter(u=>!u.is_deleted).length);return(u,s)=>{const d=o.resolveComponent("Button");return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("div",wd,[o.createElementVNode("div",xd,[o.createElementVNode("div",{class:"flex cursor-pointer items-center linked-entity-section grow line-height-4",onClick:s[0]||(s[0]=f=>a())},[r.value?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",vd)),r.value?(o.openBlock(),o.createElementBlock("div",Cd)):o.createCommentVNode("",!0),o.createElementVNode("div",Ed,o.toDisplayString(e.linkedEntity.entityName),1),o.createElementVNode("div",Sd," ("+o.toDisplayString(c.value)+") ",1)]),o.createElementVNode("div",Bd,[o.createVNode(d,{label:"Add",icon:"pi pi-plus",size:"small",onClick:s[1]||(s[1]=f=>i())})])]),r.value?(o.openBlock(),o.createElementBlock("div",Nd,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.linkedEntity.list,(f,m)=>(o.openBlock(),o.createElementBlock("div",{class:"flex flex-col",key:m},[f.is_deleted?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(Cc,{key:0,linkEntityListItem:f},null,8,["linkEntityListItem"]))]))),128))])):o.createCommentVNode("",!0)]),n.value?(o.openBlock(),o.createBlock(kd,{key:0,showCreateRelatedEntityForm:n.value,"onUpdate:showCreateRelatedEntityForm":s[2]||(s[2]=f=>n.value=f),linkedEntity:e.linkedEntity,entity360Name:e.entity360Name,entity360Id:e.entity360Id,onOnSaveDialog:l},null,8,["showCreateRelatedEntityForm","linkedEntity","entity360Name","entity360Id"])):o.createCommentVNode("",!0)],64)}}},[["__scopeId","data-v-412eec44"]]),Rd={key:0},Td={class:"flex"},Dd={class:"p-3 mt-3 flex-col items-center"},Od={key:0,class:"pi pi-caret-right"},Vd={key:1,class:"pi pi-caret-down"},$d={class:"font-bold ml-2"},Fd={key:0,class:"flex flex-col mt-4"},Ad={class:"flex flex-col mt-2"},Id={class:"flex flex-row flex-wrap justify-between pl-5"},Pd={class:"flex flex-col"},Ld={class:"font-bold"},Md={class:"mt-2"},jd={key:0,class:"flex flex-col",style:{position:"relative","max-width":"400px","background-color":"var(--surface-card)"}},zd={key:2,style:{width:"350px"},class:"flex flex-col justify-center"},Ud={key:0,class:"custom-sidebar"},Wd={class:"custom-sidebar-content"},qd={class:"custom-sidebar-button"},Hd={class:"custom-sidebar-text"},aa=Oe({__name:"Entity360",props:{entityName:{type:String},recordId:{type:String},variable:{type:String,default:"item"},linkedEntity:Array},emits:["onSaveDialog"],setup(e,{expose:t,emit:r}){var _,D;const n=Ne(),a=it.useRoute(),i=e,l=o.ref(!0),c=o.ref(!1),u=o.ref([]);let s=(_=a==null?void 0:a.params)==null?void 0:_.entityName,d=(D=a==null?void 0:a.params)==null?void 0:D.id;i.entityName&&(s=i.entityName),i.recordId&&(d=i.recordId);const f=r,{formData:m,columns:p,errors:g,backendErrors:h,isDataChange:b,linkedEntities:k,primarayColumn:C,clearErrors:S,saveRecord:L,getRelatedEntityRecordById:R,cancleRecord:N}=fr(s,d,f);o.watch(()=>n.globalConfigs.appId,async P=>{P&&R()},{immediate:!0});const w=()=>{l.value=!l.value},y=()=>{c.value=!c.value},E=()=>{R()},V=P=>{if(!u.value||u.value.length===0)return[];const T=u.value.find(j=>j.entityName===P);return T&&T.list?T.list:(console.log("No related entity found"),[])};return t({getRelatedEntity:V}),o.watch(()=>k.value,P=>{Array.isArray(P)&&P.length>0&&P[0]&&(u.value=P)},{immediate:!0,deep:!0}),(P,T)=>{var ae;const j=o.resolveComponent("SplitterPanel"),I=o.resolveComponent("Tab"),Y=o.resolveComponent("TabList"),M=o.resolveComponent("TabPanel"),$=o.resolveComponent("TabPanels"),z=o.resolveComponent("Tabs"),te=o.resolveComponent("Splitter"),ne=o.resolveComponent("Button");return P.$slots["list-item-display-360"]?(o.openBlock(),o.createElementBlock("div",Rd,[o.renderSlot(P.$slots,"header",{},void 0,!0),o.createElementVNode("div",null,[o.renderSlot(P.$slots,"list-item-display-360",o.normalizeProps({[e.variable||""]:{formData:o.unref(m),columns:o.unref(p),linkedEntities:o.unref(k),errors:o.unref(g),recordId:o.unref(d),entityName:o.unref(s),getRelatedEntity:V}}),void 0,!0)]),o.renderSlot(P.$slots,"footer",{},void 0,!0)])):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("div",Td,[o.createVNode(te,{class:"flex-1",layout:"horizontal",gutterSize:8,size:100},{default:o.withCtx(()=>[o.createVNode(j,{size:20,minSize:10,maxSize:20},{default:o.withCtx(()=>[o.createElementVNode("div",Dd,[o.createElementVNode("div",{onClick:T[0]||(T[0]=G=>w()),class:"section-heading cursor-pointer"},[l.value?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("i",Od)),l.value?(o.openBlock(),o.createElementBlock("i",Vd)):o.createCommentVNode("",!0),o.createElementVNode("span",$d," About this "+o.toDisplayString(o.unref(s)),1)]),l.value?(o.openBlock(),o.createElementBlock("div",Fd,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(p),(G,J)=>{var ie;return o.openBlock(),o.createElementBlock("div",{key:J},[G.autoGenerated?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(go,{key:0,modelValue:o.unref(m)[G.name],"onUpdate:modelValue":le=>o.unref(m)[G.name]=le,column:G,errors:(ie=o.unref(g)[G.name])==null?void 0:ie.messages,onInput:o.unref(S)},null,8,["modelValue","onUpdate:modelValue","column","errors","onInput"]))])}),128))])):o.createCommentVNode("",!0)])]),_:1}),o.createVNode(j,{size:55,minSize:35,style:{height:"100%"}},{default:o.withCtx(()=>[o.createVNode(z,{value:"0"},{default:o.withCtx(()=>[o.createVNode(Y,null,{default:o.withCtx(()=>[o.createVNode(I,{value:"0"},{default:o.withCtx(()=>T[3]||(T[3]=[o.createTextVNode("Overview")])),_:1}),o.createVNode(I,{value:"1"},{default:o.withCtx(()=>T[4]||(T[4]=[o.createTextVNode("Activity")])),_:1})]),_:1}),o.createVNode($,null,{default:o.withCtx(()=>[o.createVNode(M,{value:"0"},{default:o.withCtx(()=>[o.createElementVNode("div",Ad,[T[5]||(T[5]=o.createElementVNode("h3",{class:"mt-2 text-xl font-semibold"},"Data highlights",-1)),o.createElementVNode("div",Id,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(p).filter(G=>G.autoGenerated),(G,J)=>(o.openBlock(),o.createElementBlock("div",{key:J,class:"column-item"},[o.createElementVNode("div",Pd,[o.createElementVNode("div",Ld,o.toDisplayString(G.name),1),o.createElementVNode("div",Md,[o.createVNode(pr,{column:G,value:o.unref(m)[G.name]},null,8,["column","value"])])])]))),128))])])]),_:1}),o.createVNode(M,{value:"1"})]),_:1})]),_:1})]),_:1})]),_:1}),((ae=o.unref(k))==null?void 0:ae.length)>0?(o.openBlock(),o.createElementBlock("div",jd,[c.value?(o.openBlock(),o.createBlock(ne,{key:0,icon:"pi pi-caret-right",rounded:"",onClick:y,"aria-label":"Filter",style:{height:"2rem",width:"2rem",left:"-20px"}})):o.createCommentVNode("",!0),c.value?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(ne,{key:1,icon:"pi pi-caret-left",rounded:"",onClick:y,"aria-label":"Filter",style:{height:"2rem",width:"2rem",left:"-20px"}})),c.value?(o.openBlock(),o.createElementBlock("div",zd,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(k),(G,J)=>(o.openBlock(),o.createElementBlock("div",{key:J},[o.createVNode(_d,{entity360Name:o.unref(s),entity360Id:o.unref(d),linkedEntity:G,onSaveRelatedEnttity:E},null,8,["entity360Name","entity360Id","linkedEntity"])]))),128))])):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)]),o.unref(b)?(o.openBlock(),o.createElementBlock("div",Ud,[o.createElementVNode("div",Wd,[o.createElementVNode("div",qd,[o.createVNode(ne,{severity:"primary",onClick:T[1]||(T[1]=G=>o.unref(L)())},{default:o.withCtx(()=>T[6]||(T[6]=[o.createTextVNode("Save")])),_:1}),o.createVNode(ne,{style:{"margin-left":"10px"},severity:"secondary",onClick:T[2]||(T[2]=G=>o.unref(N)())},{default:o.withCtx(()=>T[7]||(T[7]=[o.createTextVNode("Cancel")])),_:1})]),o.createElementVNode("div",Hd," You've changed property in the "+o.toDisplayString(o.unref(s))+". ",1)])])):o.createCommentVNode("",!0)],64))}}},[["__scopeId","data-v-12a444f4"]]);function _o(){const e=new Ue;let{errors:t,setErrors:r}=Vn(),n=o.reactive({data:null});const a=N=>{n.data=N},i=async N=>{try{const w=await e.getEntityRecords(N);if(w&&w.response)return w}catch(w){return console.error("Error fetching entity:",w.errorMessage),w}finally{}},l=async(N,w)=>{try{let y=await e.addRecord(N.entityName,w);if(y)return y}catch(y){return y}finally{}},c=async(N,w,y)=>{try{const E=await e.updateRecord(N.entityName,w,y);if(E&&E.response)return E}catch(E){return E}finally{}},u=async(N,w)=>{try{w.filter==null&&(w.filter={}),Object.keys(w.filter).length===0&&(w.filter=[]);const y=await e.searchEntityRecords(N.entityName,w);if(y)return y.response.sortBy=w.sortBy,y.response.filters=w.filter,y.response.sortDirection=w.sortDirection,y.response.fullTextSearch=w.fullTextSearch,y}catch(y){return y}finally{}},s=async(N,w)=>{try{const y=await e.deleteRecord(N.entityName,w);if(y)return y}catch(y){console.error("Error on deleting record:",y.errorMessage)}finally{}},d=N=>N.result,f=N=>{var w,y;return(y=(w=N==null?void 0:N.entity)==null?void 0:w.entityDefinition)==null?void 0:y.columns},m=N=>{const w=N.entity.entityDefinition.columns;let y={};for(let E=0;E<w.length;E++){const V=w[E];if(V.primaryKey&&V.primaryKey==!0){y=V;break}}return y},p=N=>{const w=N.entity.entityDefinition.columns;let y={};for(let E=0;E<w.length;E++){let V=w[E];V.autoGenerated||(y[V.name]="")}return y},g=(N,w)=>{let y="";const E=N.entity.entityDefinition.columns;for(let V=0;V<E.length;V++){let _=E[V];if(w==_.name){y=_.type;break}}return y},h=(N,w)=>{const E=N.entity.entityDefinition.columns.filter(_=>_.autoGenerated).map(_=>_.name);return Object.entries(w).filter(([_])=>!E.includes(_)).map(([_,D])=>({recordColumnName:_,recordColumnValue:D,columnType:g(n.data,_)}))},b=()=>{const N=n.data.entity.entityDefinition.columns;return ur().shape(N.reduce((y,E)=>(E.autoGenerated||(y[E.name]=dr().nullable(!1).test({name:"custom-validation",test:function(V){const _=[];let D="";if(E.required&&(!V||V.trim()===""))if(E.validations){D=k(E.validations,"VALIDATE_REQUIRED"),_.push(D);let P=S(E.validations,"VALIDATE_REQUIRED");P&&(P="hint:"+P,_.push(P))}else D=E.displayName+" is required.",_.push(D);else{if(E.maxLength&&V.length>E.maxLength)if(E.validations){D=k(E.validations,"VALIDATE_MAXLENGTH"),_.push(D);let P=S(E.validations,"VALIDATE_MAXLENGTH");P&&(P="hint:"+P,_.push(P))}else D=E.displayName+" cannot exceed from "+E.maxLength+" characters",_.push(D);if(E.regxId&&!new RegExp(C(E.validations,"VALIDATE_REGX")).test(V))if(E.validations){D=k(E.validations,"VALIDATE_REGX"),_.push(D);let P=S(E.validations,"VALIDATE_REGX");P&&(P="hint:"+P,_.push(P))}else D=E.displayName+" invalid format.",_.push(D)}return _.length>0?this.createError({message:_}):!0}})),y),{}))},k=(N,w)=>{for(let y=0;y<N.length;y++)if(w==N[y].type)return N[y].message},C=(N,w)=>{for(let y=0;y<N.length;y++)if(w==N[y].type)return N[y].regx},S=(N,w)=>{for(let y=0;y<N.length;y++)if(w==N[y].type)return N[y].hint};return{state:n,setEntity:a,getEntity:i,addRecord:l,updateRecord:c,searchRecord:u,entityRecordDelete:s,getEntityItems:d,getEntityColumns:f,getPrimaryKeyColumn:m,getFormData:p,createDataToSave:h,createValidationSchema:b,clearErrors:N=>(r({...t.value,[N]:null}),t.value),validateData:async(N,w)=>{try{return await N.validate(w,{abortEarly:!1}),r({}),{validate:!0}}catch(y){const E=y.inner.reduce((D,P)=>(D[P.path]||(D[P.path]={messages:[]}),D[P.path].messages.push(...P.errors),D),{}),V=Object.entries(E).reduce((D,[P,T])=>(D[P]={messages:T.messages},D),{});return r(V),{validate:!1,errors:t.value}}}}}const Ro={__name:"ConfirmDeleteDialog",props:{showDeleteDialog:{},showDeleteDialogModifiers:{}},emits:o.mergeModels(["onDeleteItem"],["update:showDeleteDialog"]),setup(e,{emit:t}){const r=o.useModel(e,"showDeleteDialog"),n=t,a=i=>{n("onDeleteItem",{remove:i})};return(i,l)=>{const c=o.resolveComponent("Button"),u=o.resolveComponent("Dialog");return o.openBlock(),o.createBlock(u,{visible:r.value,"onUpdate:visible":l[2]||(l[2]=s=>r.value=s),style:{width:"450px"},header:"Confirm",modal:!0},{footer:o.withCtx(()=>[o.createVNode(c,{label:"No",icon:"pi pi-times",text:"",onClick:l[0]||(l[0]=s=>a(!1))}),o.createVNode(c,{label:"Yes",icon:"pi pi-check",text:"",onClick:l[1]||(l[1]=s=>a(!0))})]),default:o.withCtx(()=>[l[3]||(l[3]=o.createElementVNode("div",{class:"flex items-center justify-center"},[o.createElementVNode("i",{class:"pi pi-exclamation-triangle mr-3",style:{"font-size":"2rem"}}),o.createElementVNode("span",null,"Are you sure you want to delete the selected item?")],-1))]),_:1},8,["visible"])}}},Kd={key:0,style:{"font-weight":"700","font-size":"1.25rem"}},Yd={key:1,style:{"font-weight":"700","font-size":"1.25rem"}},Kt={__name:"EntityFormDialog",props:o.mergeModels({item:Object},{showEntityForm:{},showEntityFormModifiers:{}}),emits:["update:showEntityForm"],setup(e){const t=o.useModel(e,"showEntityForm"),r=o.inject("entityObject"),n=e;let a=o.ref([]),i=o.ref({}),l=o.ref([]),c=o.ref(null),u=o.ref({});o.onMounted(()=>{a.value=r.getEntityColumns(r.state.data),n.item?i.value=JSON.parse(JSON.stringify(n.item)):i.value=r.getFormData(r.state.data),c.value=r.createValidationSchema()});const s=async()=>{const p=await r.validateData(c.value,i.value);if(!p.validate){u.value=p.errors;return}const g=r.getPrimaryKeyColumn(r.state.data),h=n.item[g.name],b={dataDefinitions:r.createDataToSave(r.state.data,i.value)},k=await r.updateRecord(r.state.data,h,b);if(k&&k.success){t.value=!1;const C={sortBy:r.state.data.sortBy,sortDirection:r.state.data.sortDirection,pageSize:r.state.data.pageSize,currentPage:r.state.data.currentPage,columnList:null,filter:r.state.data.filters,fullTextSearch:r.state.data.fullTextSearch},S=await r.searchRecord(r.state.data,C);if(S!=null&&S.response){let L=S==null?void 0:S.response;r.setEntity(L)}}else k.validationErrors&&(l.value=JSON.parse(JSON.stringify(k.errvalidationErrorsors)))},d=async()=>{const p=await r.validateData(c.value,i.value);if(!p.validate){u.value=p.errors;return}const g={dataDefinitions:r.createDataToSave(r.state.data,i.value)},h=await r.addRecord(r.state.data,g);h&&h.success?(t.value=!1,r.state.data=await r.getEntity(r.state.data.entityName)):h.validationErrors&&(l.value=JSON.parse(JSON.stringify(h.errvalidationErrorsors)))},f=async()=>{n.item?s():d()},m=p=>{u.value=r.clearErrors(p)};return(p,g)=>{const h=o.resolveComponent("Button"),b=o.resolveComponent("Dialog");return t.value?(o.openBlock(),o.createBlock(b,{key:0,showFooter:!1,visible:t.value,"onUpdate:visible":g[2]||(g[2]=k=>t.value=k),style:{width:"50rem"},breakpoints:{"1199px":"75vw","575px":"90vw"},modal:!0,class:"p-fluid"},{header:o.withCtx(()=>[e.item?(o.openBlock(),o.createElementBlock("span",Kd,"Edit "+o.toDisplayString(o.unref(r).state.data.entityName)+" record details",1)):o.createCommentVNode("",!0),e.item?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("span",Yd,"Add "+o.toDisplayString(o.unref(r).state.data.entityName)+" record details",1))]),footer:o.withCtx(()=>[o.createVNode(h,{type:"button",icon:"",label:"Cancel",severity:"secondary",onClick:g[0]||(g[0]=k=>t.value=!1)}),o.createVNode(h,{type:"button",icon:"",label:"Save",severity:"success",onClick:g[1]||(g[1]=k=>f())})]),default:o.withCtx(()=>{var k;return[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(a),(C,S)=>{var L;return o.openBlock(),o.createElementBlock("div",{key:S},[!C.autoGenerated&&!C.foreignKey?(o.openBlock(),o.createBlock(go,{key:0,modelValue:o.unref(i)[C.name],"onUpdate:modelValue":R=>o.unref(i)[C.name]=R,column:C,errors:(L=o.unref(u)[C.name])==null?void 0:L.messages,onInput:m},null,8,["modelValue","onUpdate:modelValue","column","errors"])):o.createCommentVNode("",!0),!C.autoGenerated&&C.foreignKey?(o.openBlock(),o.createBlock(Jn,{key:1,modelValue:o.unref(i)[C.name],"onUpdate:modelValue":R=>o.unref(i)[C.name]=R,entityName:C.foreignKey.referencedEntityName,columnName:C.name,relatedEntityColumn:C.foreignKey.referencedColumnName},null,8,["modelValue","onUpdate:modelValue","entityName","columnName","relatedEntityColumn"])):o.createCommentVNode("",!0)])}),128)),((k=o.unref(l))==null?void 0:k.length)>0?(o.openBlock(),o.createBlock(Xn,{key:0,errors:o.unref(l)},null,8,["errors"])):o.createCommentVNode("",!0)]}),_:1},8,["visible"])):o.createCommentVNode("",!0)}}},Gd={class:"flex justify-between items-start"},Xd={class:"flex-grow-1"},Jd={class:"tile-grid"},Qd={class:"font-bold text-lg text-700"},Zd={class:"flex flex-col gap-2"},eu=Oe({__name:"EntityListSingleRecord",props:{item:Object},setup(e){const t=e,r=o.inject("entityObject"),n=o.ref([]),a=o.ref(!1),i=o.ref(!1);o.onMounted(()=>{n.value=r.getEntityColumns(r.state.data)});const l=()=>{a.value=!0},c=()=>{i.value=!0},u=d=>{d.remove==!0?s():a.value=!1},s=async()=>{const d=r.getPrimaryKeyColumn(r.state.data),f=t.item[d.name],m=await r.entityRecordDelete(r.state.data,f);if(m!=null&&m.success){a.value=!1;const p={sortBy:r.state.data.sortBy,sortDirection:r.state.data.sortDirection,pageSize:r.state.data.pageSize,currentPage:r.state.data.currentPage,columnList:null,filter:r.state.data.filters,fullTextSearch:r.state.data.fullTextSearch},g=await r.searchRecord(r.state.data,p);if(g!=null&&g.response){let h=g==null?void 0:g.response;r.setEntity(h)}console.log(m)}};return(d,f)=>{const m=o.resolveComponent("Button");return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("div",Gd,[o.createElementVNode("div",Xd,[o.createElementVNode("div",Jd,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.value,(p,g)=>(o.openBlock(),o.createElementBlock("div",{key:g},[o.createElementVNode("span",Qd,o.toDisplayString(p.name)+" : ",1),o.createVNode(pr,{column:p,value:e.item[p.name]},null,8,["column","value"])]))),128))])]),o.createElementVNode("div",Zd,[o.createVNode(m,{onClick:f[0]||(f[0]=p=>c()),icon:"pi pi-pencil",severity:"success",size:"",rounded:"","aria-label":"Edit"}),o.createVNode(m,{onClick:f[1]||(f[1]=p=>l()),icon:"pi pi-trash",severity:"danger",rounded:"","aria-label":"Delete"})])]),i.value?(o.openBlock(),o.createBlock(Kt,{key:0,showEntityForm:i.value,"onUpdate:showEntityForm":f[2]||(f[2]=p=>i.value=p),item:e.item},null,8,["showEntityForm","item"])):o.createCommentVNode("",!0),a.value?(o.openBlock(),o.createBlock(Ro,{key:1,showDeleteDialog:a.value,"onUpdate:showDeleteDialog":f[3]||(f[3]=p=>a.value=p),onOnDeleteItem:u},null,8,["showDeleteDialog"])):o.createCommentVNode("",!0)],64)}}},[["__scopeId","data-v-bce4d0f0"]]),tu=Oe({__name:"EntityListRecordParent",props:{listItemDisplay:String},setup(e){const t=o.inject("entityObject"),r=o.ref([]);return o.watch(()=>t.state.data,n=>{n&&(r.value=n.result,console.log("Entity state updated in child:",t))},{immediate:!0}),(n,a)=>(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(r.value,(i,l)=>(o.openBlock(),o.createElementBlock("div",{key:l,class:"card rounded-md p-5 my-2 shadow-lg relative tile"},[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.listItemDisplay!=null&&e.listItemDisplay!=""?e.listItemDisplay:eu),o.mergeProps({ref_for:!0},{item:i}),null,16))]))),128))}},[["__scopeId","data-v-f59ea2d9"]]),ou={};function ru(e,t){return null}const nu=Oe(ou,[["render",ru]]),au={class:"my-2"},iu={class:"m-0"},lu={__name:"EntityListHeaderSlot",setup(e){const t=o.inject("entityObject");let r=o.ref("");return o.watch(()=>t.state.data,n=>{n&&(r.value=n.entityName)},{immediate:!0}),(n,a)=>{const i=o.resolveComponent("Toolbar");return o.openBlock(),o.createBlock(i,{class:"p-2 my-2"},{start:o.withCtx(()=>[o.createElementVNode("div",au,[o.createElementVNode("h2",iu,"EntityName: "+o.toDisplayString(o.unref(r)),1)])]),end:o.withCtx(()=>a[0]||(a[0]=[])),_:1})}}},su={class:"flex flex-col mb-5"},cu={class:"col-12"},du={class:"flex flex-col mb-5"},uu={class:"col-12"},fu={key:0},mu={class:"flex flex-col mb-5"},pu={class:"col-12"},gu={class:"flex flex-col mb-5"},hu={class:"col-12"},bu={class:"flex flex-col mb-5"},yu={class:"col-12"},ku={class:"flex flex-row justify-between items-center"},wu={key:1},xu={class:"flex flex-row justify-between items-center"},vu={key:1,class:"text-red-500"},Cu={class:"flex flex-col"},Eu={class:"flex flex-row justify-between items-center"},Su={__name:"FilterSortSidebar",props:o.mergeModels({headers:Array,operatorMap:Object,sortCallback:Function,filterCallback:Function,getColumnDatatype:Function,getDatatypeByField:Function},{sortBy:{},sortByModifiers:{},sortDirection:{},sortDirectionModifiers:{},showFilter:{},showFilterModifiers:{},filters:{},filtersModifiers:{}}),emits:["update:sortBy","update:sortDirection","update:showFilter","update:filters"],setup(e){const t=o.useModel(e,"sortBy"),r=o.useModel(e,"sortDirection"),n=o.useModel(e,"showFilter"),a=o.useModel(e,"filters"),i={GREATER_THAN:"is greater than",dateAfter:"is after",EQUAL:"is equals",dateIs:"is equals",NOT_EQUAL:"is not equals",dateIsNot:"is not equals",LESS_THAN:"is less than",dateBefore:"is before",LESS_THAN_EQUAL:"is less than or equal to",GREATER_THAN_EQUAL:"is greater than or equal to",between:"between",CONTAINS:"contains",STARTS_WITH:"starts with",NOT_CONTAINS:"not contains",ENDS_WITH:"ends with"},l=[{label:"Starts with",value:"STARTS_WITH"},{label:"Contains",value:"CONTAINS"},{label:"Not contains",value:"NOT_CONTAINS"},{label:"Ends with",value:"ENDS_WITH"},{label:"Equals",value:"EQUAL"},{label:"Not equals",value:"NOT_EQUAL"}],c=[{label:"Equals",value:"EQUAL"},{label:"Not equals",value:"NOT_EQUAL"},{label:"Less than",value:"LESS_THAN"},{label:"Less than or equal to",value:"LESS_THAN_EQUAL"},{label:"Greater than",value:"GREATER_THAN_EQUAL"},{label:"Greater than or equal to",value:"gte"}],u=[{label:"Equals",value:"EQUAL"},{label:"Not equals",value:"NOT_EQUAL"}],s=[{label:"Date is",value:"dateIs"},{label:"Date is not",value:"dateIsNot"},{label:"Date is before",value:"dateBefore"},{label:"Date is after",value:"dateAfter"}],d=[{label:"ASC",value:1},{label:"DESC",value:-1}];let f=[];const m=o.computed(()=>e.headers.filter(w=>w.sortable)),p=o.computed(()=>e.headers.filter(w=>w.filterable)),g=w=>e.headers.filter(y=>{var E;return y.filterable?((E=a.value[w])==null?void 0:E.columnName)===y.name?!0:!a.value.some((V,_)=>_!==w&&V.columnName===y.name):!1}).map(y=>({label:y.name,value:y.field})),h=w=>{let y="";switch(e.getDatatypeByField(w.columnName).toLowerCase()){case"string":case"uuid":y="startsWith";break;case"date":y="dateIs";break;case"numeric":case"int":case"integer":y="equals";break;case"bool":case"boolean":y="equals";break}w.operator=y,w.value=""},b=w=>{const y=e.getDatatypeByField(w.columnName);switch(y&&y.toLowerCase()){case"integer":case"int":case"numeric":f=c;break;case"date":f=s;break;case"bool":case"boolean":f=u;break;default:f=l}return f},k=w=>{if(w&&w.columnName){const y=e.getDatatypeByField(w.columnName);return e.getColumnDatatype(y)}else return""},C=()=>{for(let w=0;w<a.value.length;w++){const y=a.value[w];y.editing=!1}a.value.push({columnName:"",value:"",operator:"",editing:!0})},S=w=>{a.value.splice(w,1)},L=w=>{w.editing=!w.editing},R=()=>{let w=[],y=JSON.parse(JSON.stringify(a.value));for(let E=0;E<y.length;E++){const V=y[E];delete V.editing,V.columnName&&V.operator&&V.value&&(V.columnType=e.getDatatypeByField(V.columnName),V.operator=e.operatorMap[V.operator],w.push(V))}e.filterCallback(w)},N=()=>{e.sortCallback()};return(w,y)=>{const E=o.resolveComponent("Select"),V=o.resolveComponent("Divider"),_=o.resolveComponent("InputNumber"),D=o.resolveComponent("DatePicker"),P=o.resolveComponent("InputText"),T=o.resolveComponent("Button"),j=o.resolveComponent("Drawer");return o.openBlock(),o.createBlock(j,{visible:n.value,"onUpdate:visible":y[4]||(y[4]=I=>n.value=I),header:"Sorting and Filter",blockScroll:!0,position:"right",class:"layout-profile-sidebar !w-full md:!w-80 lg:!w-[30rem]",pt:{closeButton:"ml-auto"}},{default:o.withCtx(()=>[o.createElementVNode("div",su,[y[5]||(y[5]=o.createElementVNode("div",{class:"col-12 font-bold"},"Sort Column",-1)),o.createElementVNode("div",cu,[o.createVNode(E,{modelValue:t.value,"onUpdate:modelValue":y[0]||(y[0]=I=>t.value=I),options:m.value,optionLabel:"name",optionValue:"field",highlightOnSelect:!1,class:"w-full",onChange:y[1]||(y[1]=I=>N(w.event))},null,8,["modelValue","options"])])]),o.createElementVNode("div",du,[y[6]||(y[6]=o.createElementVNode("div",{class:"col-12 font-bold"},[o.createElementVNode("div",{class:"col-12 font-bold"},"Sort Direction")],-1)),o.createElementVNode("div",uu,[o.createVNode(E,{modelValue:r.value,"onUpdate:modelValue":y[2]||(y[2]=I=>r.value=I),options:d,optionLabel:"label",optionValue:"value",highlightOnSelect:!1,class:"w-full",onChange:y[3]||(y[3]=I=>N(w.event))},null,8,["modelValue"])])]),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.value,(I,Y)=>(o.openBlock(),o.createElementBlock("div",{key:Y},[I.editing?(o.openBlock(),o.createElementBlock("div",fu,[o.createVNode(V),o.createElementVNode("div",mu,[y[7]||(y[7]=o.createElementVNode("div",{class:"col-12 font-bold"},"Filter Column",-1)),o.createElementVNode("div",pu,[o.createVNode(E,{modelValue:I.columnName,"onUpdate:modelValue":M=>I.columnName=M,options:g(Y),optionLabel:"label",placeholder:"Select column",optionValue:"value",highlightOnSelect:!1,class:"w-full",onChange:M=>h(I)},null,8,["modelValue","onUpdate:modelValue","options","onChange"])])]),o.createElementVNode("div",gu,[y[8]||(y[8]=o.createElementVNode("div",{class:"col-12 font-bold"},"Filter Operator",-1)),o.createElementVNode("div",hu,[o.createVNode(E,{modelValue:I.operator,"onUpdate:modelValue":M=>I.operator=M,options:b(I),optionLabel:"label",placeholder:"Select operator",optionValue:"value",highlightOnSelect:!1,class:"w-full"},null,8,["modelValue","onUpdate:modelValue","options"])])]),o.createElementVNode("div",bu,[y[9]||(y[9]=o.createElementVNode("div",{class:"col-12 font-bold"},"Filter value",-1)),o.createElementVNode("div",yu,[k(I)=="numeric"?(o.openBlock(),o.createBlock(_,{key:0,format:!1,class:"w-full",modelValue:I.value,"onUpdate:modelValue":M=>I.value=M,placeholder:"Search value"},null,8,["modelValue","onUpdate:modelValue"])):k(I)=="date"?(o.openBlock(),o.createBlock(D,{key:1,class:"w-full",modelValue:I.value,"onUpdate:modelValue":M=>I.value=M,dateFormat:"mm/dd/yy",placeholder:"mm/dd/yyyy"},null,8,["modelValue","onUpdate:modelValue"])):(o.openBlock(),o.createBlock(P,{key:2,modelValue:I.value,"onUpdate:modelValue":M=>I.value=M,class:"w-full",placeholder:"Search value"},null,8,["modelValue","onUpdate:modelValue"]))])]),o.createElementVNode("div",ku,[o.createVNode(T,{label:"Hide",icon:"",severity:"warn",onClick:M=>L(I)},null,8,["onClick"]),o.createVNode(T,{label:"Delete",icon:"",severity:"danger",onClick:M=>S(Y)},null,8,["onClick"])])])):o.createCommentVNode("",!0),I.editing?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",wu,[o.createVNode(V),o.createElementVNode("div",xu,[o.createElementVNode("span",null,[I.columnName||I.operator||I.value?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("span",{class:o.normalizeClass({"text-red-500":!I.columnName})},o.toDisplayString(I.columnName?" "+I.columnName:" column"),3),o.createElementVNode("span",{class:o.normalizeClass({"text-red-500":!i[I.operator]})},o.toDisplayString(I.operator?" "+i[I.operator]:" operator"),3),o.createElementVNode("span",{class:o.normalizeClass({"text-red-500":!I.value})},o.toDisplayString(I.value?" "+I.value:" value"),3)],64)):(o.openBlock(),o.createElementBlock("span",vu,"Filter is empty"))]),o.createVNode(T,{label:"Edit",icon:"",severity:"info",onClick:M=>L(I)},null,8,["onClick"])])]))]))),128)),o.createElementVNode("div",Cu,[o.createVNode(V),o.createElementVNode("div",Eu,[o.createVNode(T,{label:"Add",disabled:p.value.length===a.value.length,icon:"",severity:"success",onClick:C},null,8,["disabled"]),o.createVNode(T,{label:"Apply",severity:"info",onClick:R})])])]),_:1},8,["visible"])}}},Bu={class:"my-2"},dt={__name:"EntityListFilters",props:{externalFilterPayload:Object},setup(e){const t=o.inject("entityObject"),r=o.ref(!1),n=o.ref([]),a=o.ref([]),i=o.ref(""),l=o.ref(1),c=o.ref(""),u=o.ref([]),s=o.ref([]),d=o.ref(!1),f=e;console.log("props externalFilterPayload list filte",f.externalFilterPayload);const m={GREATER_THAN:"GREATER_THAN",dateAfter:"GREATER_THAN",EQUAL:"EQUAL",dateIs:"EQUAL",NOT_EQUAL:"NOT_EQUAL",dateIsNot:"NOT_EQUAL",LESS_THAN:"LESS_THAN",dateBefore:"LESS_THAN",LESS_THAN_EQUAL:"LESS_THAN_EQUAL",GREATER_THAN_EQUAL:"GREATER_THAN_EQUAL",between:"BETWEEN",CONTAINS:"CONTAINS",STARTS_WITH:"STARTS_WITH",NOT_CONTAINS:"NOT_CONTAINS",ENDS_WITH:"ENDS_WITH"},p=()=>{var y;const w=f.externalFilterPayload;i.value=((y=w.sortBy)==null?void 0:y[0])||"",l.value=w.sortDirection==="DESC"?-1:1,c.value=w.fullTextSearch||"",n.value=w.filter||[],a.value=w.filter||[],b()};o.watch(()=>t.state.data,w=>{if(w&&!d.value){if(u.value=t.getEntityColumns(w),s.value=L(u.value),!i.value){const y=t.getPrimaryKeyColumn(w);i.value=(y==null?void 0:y.name)||""}f.externalFilterPayload&&p(),d.value=!0}},{immediate:!0});const g=()=>{r.value=!r.value},h=w=>{a.value=w,b()},b=async()=>{const w=t.state.data,y={sortBy:[i.value],sortDirection:l.value===1?"ASC":"DESC",pageSize:(w==null?void 0:w.pageSize)||25,currentPage:(w==null?void 0:w.currentPage)||0,columnList:null,filter:a.value,fullTextSearch:c.value},E=await t.searchRecord(w,y);E!=null&&E.success&&t.setEntity(E.response)},k=()=>{b()},C=()=>{n.value=[],a.value=[],b()},S=()=>{b()},L=w=>w.map(y=>({field:y.name,name:y.displayName||y.name,filterable:y.filterable,datatype:y.type,sortable:y.indexColumn,displayFormatKey:y.displayFormatKey,displayFormat:y.displayFormat})),R=w=>{switch(w.toLowerCase()){case"integer":case"int":case"numeric":return"numeric";case"date":return"date";case"bool":case"boolean":return"boolean";default:return"text"}},N=w=>{const y=u.value.find(E=>E.name===w);return y?y.type:null};return(w,y)=>{const E=o.resolveComponent("Button"),V=o.resolveComponent("InputIcon"),_=o.resolveComponent("InputText"),D=o.resolveComponent("IconField"),P=o.resolveComponent("Toolbar");return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createVNode(P,{class:"p-2 my-2"},{start:o.withCtx(()=>[o.createElementVNode("div",Bu,[o.createVNode(E,{type:"button",size:"medium",icon:"pi pi-filter",label:"Filter",severity:"info",onClick:y[0]||(y[0]=T=>g())})]),o.createVNode(E,{class:"ml-3",size:"medium",type:"button",icon:"pi pi-filter-slash",label:"Clear",severity:"warn",onClick:y[1]||(y[1]=T=>C())})]),end:o.withCtx(()=>[o.createVNode(D,{iconPosition:"right",class:"block mt-2 md:mt-0"},{default:o.withCtx(()=>[o.createVNode(V,{onClick:y[2]||(y[2]=T=>S()),class:"pi pi-search"}),o.createVNode(_,{class:"w-full sm:w-auto",onKeyup:y[3]||(y[3]=o.withKeys(T=>S(),["enter"])),modelValue:c.value,"onUpdate:modelValue":y[4]||(y[4]=T=>c.value=T),placeholder:"Search..."},null,8,["modelValue"])]),_:1})]),_:1}),o.createVNode(Su,{sortBy:i.value,"onUpdate:sortBy":y[5]||(y[5]=T=>i.value=T),sortDirection:l.value,"onUpdate:sortDirection":y[6]||(y[6]=T=>l.value=T),showFilter:r.value,"onUpdate:showFilter":y[7]||(y[7]=T=>r.value=T),filters:n.value,"onUpdate:filters":y[8]||(y[8]=T=>n.value=T),headers:s.value,operatorMap:m,sortCallback:k,filterCallback:h,getColumnDatatype:R,getDatatypeByField:N},null,8,["sortBy","sortDirection","showFilter","filters","headers"])],64)}}},Yt={__name:"EntityListPagination",setup(e){const t=o.ref(25),r=o.ref(0),n=o.ref(0),a=o.ref(0);let i=o.inject("entityObject");const l=async c=>{t.value=c.rows,r.value=c.page,a.value=c.first;const u={sortBy:i.state.data.sortBy,sortDirection:i.state.data.sortDirection,columnList:null,filter:i.state.data.filters,fullTextSearch:i.state.data.fullTextSearch,pageSize:t.value,currentPage:r.value},s=await i.searchRecord(i.state.data,u);if(s!=null&&s.success){let d=s==null?void 0:s.response;i.setEntity(d),n.value=s.response.totalRecords,a.value=r.value*t.value}};return o.watch(()=>{var c,u;return(u=(c=i==null?void 0:i.state)==null?void 0:c.data)==null?void 0:u.totalRecords},c=>{n&&(n.value=c)},{immediate:!0}),(c,u)=>{const s=o.resolveComponent("Paginator");return o.openBlock(),o.createBlock(s,{class:"my-4",rows:t.value,totalRecords:n.value,rowsPerPageOptions:[10,25,50,100],onPage:l,template:"FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink CurrentPageReport RowsPerPageDropdown",currentPageReportTemplate:"Showing {first} to {last} of {totalRecords} items"},null,8,["rows","totalRecords"])}}},Nu={class:"flex flex-row justify-end p-2 my-2"},ut={__name:"EntityListAddButton",setup(e){const t=o.ref(!1),r=()=>{t.value=!0};return(n,a)=>{const i=o.resolveComponent("Button");return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("div",Nu,[o.createVNode(i,{label:"Add",size:"medium",icon:"pi pi-plus",onClick:a[0]||(a[0]=l=>r())})]),t.value?(o.openBlock(),o.createBlock(Kt,{key:0,showEntityForm:t.value,"onUpdate:showEntityForm":a[1]||(a[1]=l=>t.value=l)},null,8,["showEntityForm"])):o.createCommentVNode("",!0)],64)}}},ia={__name:"EntityList",props:{entityName:String,listDisplay:String,listItemDisplay:String,listHeader:String,listFooter:String,listFilter:String,listPagination:String,showAddButton:Boolean,listFilerSlot:Boolean,className:{type:String,default:"default-class"}},setup(e,{expose:t}){const r=_o(),n=Ne();o.provide("entityObject",r);const a=e;return t({props:a,reload:()=>{console.log("reload data")}}),o.watch(()=>n.globalConfigs.appId,async l=>{if(l){const c=await r.getEntity(a.entityName);c.success?r.setEntity(c.response):r.setEntity({result:[]})}},{immediate:!0}),(l,c)=>{var u,s,d;return l.$slots["list-item-display"]?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[e.showAddButton?(o.openBlock(),o.createBlock(ut,{key:0})):o.createCommentVNode("",!0),e.listFilerSlot?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.listFilter||dt),{key:1})):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(((d=(s=(u=o.unref(r))==null?void 0:u.state)==null?void 0:s.data)==null?void 0:d.result)||[],f=>o.renderSlot(l.$slots,"list-item-display",{item:f})),256))],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.listHeader||lu))),(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.listFilter||dt))),e.showAddButton?(o.openBlock(),o.createBlock(ut,{key:0})):o.createCommentVNode("",!0),(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.listDisplay||tu),o.normalizeProps(o.guardReactiveProps({listItemDisplay:e.listItemDisplay})),null,16)),(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.listPagination||Yt))),(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.listFooter||nu)))],64))}}},_u={key:0},Ru=["href"],Tu={key:1},Du={class:"action-buttons"},Ou=Oe({__name:"EntityListingSingleRecord",props:{item:Object,entityName:String,showAddButton:Boolean,showFilters:Boolean,className:String,listDisplay:String,listHeader:String,listClass:String,listItemClass:String,listFooter:String,listFilter:String,listPagination:String,displayField:String,baseUrl:String,hrefKey:String,listItemDisplay:String,listHeaderSlot:Boolean,showPagination:Boolean,className:{type:String,default:"default-class"},editable:Boolean,deletable:Boolean,linkedEntity:Array,externalFilterPayload:Object},setup(e){const t=e;console.log("props entitylistsingle record",t.item);const r=o.inject("entityObject"),n=o.ref([]),a=o.ref(null),i=o.ref(null),l=o.ref(!1),c=o.ref(!1);o.onMounted(()=>{var m;t.linkedEntity&&t.linkedEntity.length>0?n.value=Object.keys(t.linkedEntity[0]).map(p=>({name:p})):n.value=r==null?void 0:r.getEntityColumns(r.state.data),a.value=((m=n==null?void 0:n.value)==null?void 0:m.find(p=>p.name===t.displayField))||null,a.value&&(i.value=t==null?void 0:t.item[a.value.name])});const u=()=>{l.value=!0},s=()=>{c.value=!0},d=async m=>{m.remove?f():l.value=!1},f=async()=>{const m=r.getPrimaryKeyColumn(r.state.data),p=t.item[m.name],g=await r.entityRecordDelete(r.state.data,p);if(g!=null&&g.success){l.value=!1;const h=await r.searchRecord(r.state.data,{sortBy:r.state.data.sortBy,sortDirection:r.state.data.sortDirection,pageSize:r.state.data.pageSize,currentPage:r.state.data.currentPage,columnList:null,filter:r.state.data.filters,fullTextSearch:r.state.data.fullTextSearch});h!=null&&h.response&&r.setEntity(h.response)}};return(m,p)=>{const g=o.resolveComponent("Button");return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("ul",{class:o.normalizeClass(t.className)},[a.value?(o.openBlock(),o.createElementBlock("li",_u,[o.createElementVNode("a",{href:`${e.baseUrl}/${e.item[e.hrefKey]}`,target:"_blank",class:"hover:underline"},o.toDisplayString(i.value),9,Ru)])):(o.openBlock(),o.createElementBlock("li",Tu,[o.createElementVNode("span",null,"No matching field found for '"+o.toDisplayString(i.value)+"'.",1)])),o.createElementVNode("li",Du,[e.editable?(o.openBlock(),o.createBlock(g,{key:0,onClick:p[0]||(p[0]=h=>s()),icon:"pi pi-pencil",severity:"success",rounded:"","aria-label":"Edit"})):o.createCommentVNode("",!0),e.deletable?(o.openBlock(),o.createBlock(g,{key:1,onClick:p[1]||(p[1]=h=>u()),icon:"pi pi-trash",severity:"danger",rounded:"","aria-label":"Delete"})):o.createCommentVNode("",!0)])],2),c.value?(o.openBlock(),o.createBlock(Kt,{key:0,showEntityForm:c.value,"onUpdate:showEntityForm":p[2]||(p[2]=h=>c.value=h),item:e.item},null,8,["showEntityForm","item"])):o.createCommentVNode("",!0),l.value?(o.openBlock(),o.createBlock(Ro,{key:1,showDeleteDialog:l.value,"onUpdate:showDeleteDialog":p[3]||(p[3]=h=>l.value=h),onOnDeleteItem:d},null,8,["showDeleteDialog"])):o.createCommentVNode("",!0)],64)}}},[["__scopeId","data-v-066206a2"]]),Vu={key:0,class:"error-message"},$u={class:"text-red-500 font-bold"},Fu={key:0},Au={key:1},Iu={key:2},Pu={key:3},Lu={key:1},la=Oe({__name:"EntityListing",props:{entityName:String,listClass:String,listItemClass:String,listHeader:String,listFooter:String,listFilter:String,listPagination:String,listItemDisplay:String,showAddButton:Boolean,showFilters:Boolean,listHeaderSlot:Boolean,showPagination:Boolean,className:{type:String,default:"default-class"},displayField:String,baseUrl:String,hrefKey:String,editable:Boolean,deletable:Boolean,linkedEntity:Array,externalFilterPayload:Object},setup(e,{expose:t,emit:r}){const n=_o(),a=Ne();o.provide("entityObject",n);const i=r,l=e;console.log("props externalFilterPayload",l.externalFilterPayload);const c=o.ref([]);return l.linkedEntity?o.watch(()=>l.linkedEntity,d=>{d&&(c.value=d,i("linkedEntityChanged",d))},{immediate:!0}):o.watch(()=>n.state.data,d=>{d&&(c.value=d.result,i("linkedEntityChanged",d.result))},{immediate:!0}),t({props:l,reload:()=>{console.log("reload data")},filter:d=>{console.log("filter data in unordered",d)}}),o.watch(()=>a.globalConfigs.appId,async d=>{if(d)if(l.linkedEntity&&l.linkedEntity.length>0)n.setEntity(l.linkedEntity);else{const f=await n.getEntity(l.entityName);n.setEntity(f.success?f.response:{result:[]})}},{immediate:!0}),(d,f)=>{var m,p,g;return o.openBlock(),o.createElementBlock("div",o.mergeProps(d.$attrs,{class:"flex flex-col"}),[o.renderSlot(d.$slots,"header",{},void 0,!0),d.$slots["list-item-display"]?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[e.showAddButton?(o.openBlock(),o.createBlock(ut,{key:0})):o.createCommentVNode("",!0),e.showFilters?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.listFilter||dt),{key:1,externalFilterPayload:l.externalFilterPayload},null,8,["externalFilterPayload"])):o.createCommentVNode("",!0),o.createElementVNode("div",{class:o.normalizeClass(e.listClass)},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.linkedEntity&&e.linkedEntity.length>0?e.linkedEntity:((g=(p=(m=o.unref(n))==null?void 0:m.state)==null?void 0:p.data)==null?void 0:g.result)||[],h=>o.renderSlot(d.$slots,"list-item-display",{item:h,class:o.normalizeClass(e.listItemClass)},void 0,!0)),256))],2),e.showPagination?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.listPagination||Yt),{key:2})):o.createCommentVNode("",!0)],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[!e.displayField||!e.baseUrl||!e.hrefKey?(o.openBlock(),o.createElementBlock("div",Vu,[o.createElementVNode("p",$u,[f[0]||(f[0]=o.createTextVNode(" Error: Missing required props - ")),e.entityName?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("span",Fu,"Entity Name")),e.displayField?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("span",Au,"Display Field")),e.baseUrl?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("span",Iu,"Base Url")),e.hrefKey?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("span",Pu,"Href Key"))])])):(o.openBlock(),o.createElementBlock("div",Lu,[e.showFilters?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.listFilter||dt),{key:0,externalFilterPayload:l.externalFilterPayload},null,8,["externalFilterPayload"])):o.createCommentVNode("",!0),e.showAddButton?(o.openBlock(),o.createBlock(ut,{key:1})):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(c.value,(h,b)=>(o.openBlock(),o.createElementBlock("div",{key:b},[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.listItemDisplay!=null&&e.listItemDisplay!=""?e.listItemDisplay:Ou),o.mergeProps({key:h,ref_for:!0},{item:h,...l}),null,16))]))),128)),e.showPagination?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.listPagination||Yt),{key:2})):o.createCommentVNode("",!0)])),o.renderSlot(d.$slots,"footer",{},void 0,!0)],64)),o.renderSlot(d.$slots,"footer",{},void 0,!0)],16)}}},[["__scopeId","data-v-edc5e5a2"]]),Mu={class:"p-6 bg-white shadow-md rounded-lg border border-gray-300 flex flex-col"},ju={class:"flex justify-between items-start gap-4"},zu={class:"flex-grow"},Uu={class:"flex flex-col gap-2"},Wu={class:"font-bold text-gray-700"},qu={class:"text-gray-600"},Hu={class:"flex flex-col gap-2"},Ku=Oe({__name:"EntityListingTileSingleRecord",props:{item:Object,entityName:String,showAddButton:Boolean,showFilters:Boolean,className:String,listDisplay:String,listHeader:String,listFooter:String,listFilter:String,listPagination:String,listItemDisplay:String,listHeaderSlot:Boolean,showPagination:Boolean,className:{type:String,default:"default-class"},editable:Boolean,deletable:Boolean},setup(e){const t=e,r=o.inject("entityObject"),n=o.ref([]),a=o.ref(null),i=o.ref(null),l=o.ref(!1),c=o.ref(!1);o.onMounted(()=>{n.value=r.getEntityColumns(r.state.data),a.value=n.value.find(m=>m.name===t.displayField)||null,a.value&&(i.value=t.item[a.value.name])});const u=()=>{l.value=!0},s=()=>{c.value=!0},d=async m=>{m.remove?f():l.value=!1},f=async()=>{const m=r.getPrimaryKeyColumn(r.state.data),p=t.item[m.name],g=await r.entityRecordDelete(r.state.data,p);if(g!=null&&g.success){l.value=!1;const h=await r.searchRecord(r.state.data,{sortBy:r.state.data.sortBy,sortDirection:r.state.data.sortDirection,pageSize:r.state.data.pageSize,currentPage:r.state.data.currentPage,columnList:null,filter:r.state.data.filters,fullTextSearch:r.state.data.fullTextSearch});h!=null&&h.response&&r.setEntity(h.response)}};return(m,p)=>{const g=o.resolveComponent("Button");return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("div",Mu,[o.createElementVNode("div",ju,[o.createElementVNode("div",zu,[o.createElementVNode("div",Uu,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.value,(h,b)=>(o.openBlock(),o.createElementBlock("div",{key:b,class:"flex flex-col"},[o.createElementVNode("span",Wu,o.toDisplayString(h.displayName||h.name)+":",1),o.createElementVNode("span",qu,o.toDisplayString(e.item[h.name]),1)]))),128))])]),o.createElementVNode("div",Hu,[e.editable?(o.openBlock(),o.createBlock(g,{key:0,onClick:p[0]||(p[0]=h=>s()),icon:"pi pi-pencil",severity:"success",rounded:"","aria-label":"Edit"})):o.createCommentVNode("",!0),e.deletable?(o.openBlock(),o.createBlock(g,{key:1,onClick:p[1]||(p[1]=h=>u()),icon:"pi pi-trash",severity:"danger",rounded:"","aria-label":"Delete"})):o.createCommentVNode("",!0)])])]),c.value?(o.openBlock(),o.createBlock(Kt,{key:0,showEntityForm:c.value,"onUpdate:showEntityForm":p[2]||(p[2]=h=>c.value=h),item:e.item},null,8,["showEntityForm","item"])):o.createCommentVNode("",!0),l.value?(o.openBlock(),o.createBlock(Ro,{key:1,showDeleteDialog:l.value,"onUpdate:showDeleteDialog":p[3]||(p[3]=h=>l.value=h),onOnDeleteItem:d},null,8,["showDeleteDialog"])):o.createCommentVNode("",!0)],64)}}},[["__scopeId","data-v-c78e676f"]]),Yu={class:"flex flex-wrap gap-4 p-2"},Gu={key:0,class:"error-message"},Xu={class:"text-red-500 font-bold"},Ju={key:0},Qu={key:1},Zu={class:"flex flex-wrap gap-4 p-4"},sa=Oe({__name:"EntityListingTile",props:{entityName:String,listDisplay:String,listItemDisplay:String,listHeader:String,listFooter:String,listFilter:String,listPagination:String,showAddButton:Boolean,showFilters:Boolean,listHeaderSlot:Boolean,showPagination:Boolean,className:{type:String,default:"default-class"},editable:Boolean,deletable:Boolean,dynamicPropName:{type:String,default:"item"}},setup(e,{expose:t}){const r=_o(),n=Ne();o.provide("entityObject",r);const a=e,i=o.ref([]);return o.watch(()=>r.state.data,u=>{u&&(i.value=u.result)},{immediate:!0}),t({props:a,reload:()=>{console.log("reload data")},filter:()=>{console.log("filter data in unordered")}}),o.watch(()=>n.globalConfigs.appId,async u=>{if(u){const s=await r.getEntity(a.entityName);r.setEntity(s.success?s.response:{result:[]})}},{immediate:!0}),(u,s)=>{var d,f,m;return o.openBlock(),o.createElementBlock("div",o.normalizeProps(o.guardReactiveProps(u.$attrs)),[u.$slots["list-item-display-tile"]?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.renderSlot(u.$slots,"header",{},void 0,!0),e.showAddButton?(o.openBlock(),o.createBlock(ut,{key:0})):o.createCommentVNode("",!0),e.showFilters?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.listFilter||dt),{key:1})):o.createCommentVNode("",!0),o.createElementVNode("div",Yu,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(((m=(f=(d=o.unref(r))==null?void 0:d.state)==null?void 0:f.data)==null?void 0:m.result)||[],(p,g)=>(o.openBlock(),o.createElementBlock("div",{key:g,class:"flex flex-col p-6 border border-gray-300 shadow-md rounded-lg bg-white w-full sm:w-1/2 md:w-1/3 lg:w-1/4 xl:w-1/5 2xl:w-1/8"},[o.renderSlot(u.$slots,"list-item-display-tile",o.normalizeProps({[e.dynamicPropName||""]:p}),void 0,!0)]))),128))]),o.renderSlot(u.$slots,"footer",{},void 0,!0)],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.renderSlot(u.$slots,"header",{},void 0,!0),e.entityName?(o.openBlock(),o.createElementBlock("div",Qu,[e.showFilters?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.listFilter||dt),{key:0})):o.createCommentVNode("",!0),e.showAddButton?(o.openBlock(),o.createBlock(ut,{key:1})):o.createCommentVNode("",!0),o.createElementVNode("div",Zu,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.value,(p,g)=>(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.listItemDisplay!=null&&e.listItemDisplay!=""?e.listItemDisplay:Ku),o.mergeProps({key:g,ref_for:!0},{item:p,...a}),null,16))),128))]),e.showPagination?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.listPagination||Yt),{key:2})):o.createCommentVNode("",!0)])):(o.openBlock(),o.createElementBlock("div",Gu,[o.createElementVNode("p",Xu,[s[0]||(s[0]=o.createTextVNode(" Error: Missing required props - ")),e.entityName?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("span",Ju,"Entity Name"))])])),o.renderSlot(u.$slots,"footer",{},void 0,!0)],64))],16)}}},[["__scopeId","data-v-037944bc"]]),ef={class:"p-6 bg-white shadow-md rounded-lg border border-gray-300 flex flex-col responsive-box"},tf={class:"flex justify-between items-start gap-4"},of={class:"flex-grow"},rf={class:"flex flex-col gap-2"},nf={class:"font-bold text-gray-700"},af={class:"text-gray-600"},lf={class:"flex flex-col gap-2"},sf=Oe({__name:"EntityListingCarouselSingleRecord",props:{item:Object,entityName:String,showAddButton:Boolean,showFilters:Boolean,className:String,listDisplay:String,listHeader:String,listFooter:String,listFilter:String,listPagination:String,listItemDisplay:String,listHeaderSlot:Boolean,showPagination:Boolean,className:{type:String,default:"default-class"},editable:Boolean,deletable:Boolean},setup(e){const t=e,r=o.inject("entityObject"),n=o.ref([]),a=o.ref(null),i=o.ref(null),l=o.ref(!1),c=o.ref(!1);o.onMounted(()=>{n.value=r.getEntityColumns(r.state.data),a.value=n.value.find(m=>m.name===t.displayField)||null,a.value&&(i.value=t.item[a.value.name])});const u=()=>{l.value=!0},s=()=>{c.value=!0},d=async m=>{m.remove?f():l.value=!1},f=async()=>{const m=r.getPrimaryKeyColumn(r.state.data),p=t.item[m.name],g=await r.entityRecordDelete(r.state.data,p);if(g!=null&&g.success){l.value=!1;const h=await r.searchRecord(r.state.data,{sortBy:r.state.data.sortBy,sortDirection:r.state.data.sortDirection,pageSize:r.state.data.pageSize,currentPage:r.state.data.currentPage,columnList:null,filter:r.state.data.filters,fullTextSearch:r.state.data.fullTextSearch});h!=null&&h.response&&r.setEntity(h.response)}};return(m,p)=>{const g=o.resolveComponent("Button");return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("div",ef,[o.createElementVNode("div",tf,[o.createElementVNode("div",of,[o.createElementVNode("div",rf,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.value,(h,b)=>(o.openBlock(),o.createElementBlock("div",{key:b,class:"flex flex-col"},[o.createElementVNode("span",nf,o.toDisplayString(h.displayName||h.name)+":",1),o.createElementVNode("span",af,o.toDisplayString(e.item[h.name]),1)]))),128))])]),o.createElementVNode("div",lf,[e.editable?(o.openBlock(),o.createBlock(g,{key:0,onClick:p[0]||(p[0]=h=>s()),icon:"pi pi-pencil",severity:"success",rounded:"","aria-label":"Edit"})):o.createCommentVNode("",!0),e.deletable?(o.openBlock(),o.createBlock(g,{key:1,onClick:p[1]||(p[1]=h=>u()),icon:"pi pi-trash",severity:"danger",rounded:"","aria-label":"Delete"})):o.createCommentVNode("",!0)])])]),c.value?(o.openBlock(),o.createBlock(Kt,{key:0,showEntityForm:c.value,"onUpdate:showEntityForm":p[2]||(p[2]=h=>c.value=h),item:e.item},null,8,["showEntityForm","item"])):o.createCommentVNode("",!0),l.value?(o.openBlock(),o.createBlock(Ro,{key:1,showDeleteDialog:l.value,"onUpdate:showDeleteDialog":p[3]||(p[3]=h=>l.value=h),onOnDeleteItem:d},null,8,["showDeleteDialog"])):o.createCommentVNode("",!0)],64)}}},[["__scopeId","data-v-27c0e644"]]);/**
19
+ * Vue 3 Carousel 0.13.0
20
+ * (c) 2025
21
+ * @license MIT
22
+ */const ca=["viewport","carousel"],Gt={"bottom-to-top":"btt","left-to-right":"ltr","right-to-left":"rtl","top-to-bottom":"ttb"},da=["ltr","left-to-right","rtl","right-to-left","ttb","top-to-bottom","btt","bottom-to-top"],cf={ariaGallery:"Gallery",ariaNavigateToPage:"Navigate to page {slideNumber}",ariaNavigateToSlide:"Navigate to slide {slideNumber}",ariaNextSlide:"Navigate to next slide",ariaPreviousSlide:"Navigate to previous slide",iconArrowDown:"Arrow pointing downwards",iconArrowLeft:"Arrow pointing to the left",iconArrowRight:"Arrow pointing to the right",iconArrowUp:"Arrow pointing upwards",itemXofY:"Item {currentSlide} of {slidesCount}"};Object.values(Gt);const ua=["slide","fade"],fa=["center","start","end","center-even","center-odd"],ve={autoplay:0,breakpointMode:ca[0],breakpoints:void 0,dir:da[0],enabled:!0,gap:0,height:"auto",i18n:cf,ignoreAnimations:!1,itemsToScroll:1,itemsToShow:1,modelValue:0,mouseDrag:!0,pauseAutoplayOnHover:!1,preventExcessiveDragging:!1,slideEffect:ua[0],snapAlign:fa[0],touchDrag:!0,transition:300,wrapAround:!1},Et=Symbol("carousel"),df=e=>{const t=o.shallowReactive([]),r=n=>{n!==void 0?t.slice(n).forEach((a,i)=>{var l;(l=a.exposed)===null||l===void 0||l.setIndex(n+i)}):t.forEach((a,i)=>{var l;(l=a.exposed)===null||l===void 0||l.setIndex(i)})};return{cleanup:()=>{t.splice(0,t.length)},getSlides:()=>t,registerSlide:(n,a)=>{if(!n||n.props.isClone)return;const i=a??t.length;t.splice(i,0,n),r(i),e("slide-registered",{slide:n,index:i})},unregisterSlide:n=>{const a=t.indexOf(n);a!==-1&&(e("slide-unregistered",{slide:n,index:a}),t.splice(a,1),r(a))}}};function uf(e){return e.length===0?0:e.reduce((r,n)=>r+n,0)/e.length}function ma({slides:e,position:t,toShow:r}){const n=[],a=t==="before",i=a?-r:0,l=a?0:r;if(e.length<=0)return n;for(let c=i;c<l;c++){const s={index:a?c:c+e.length,isClone:!0,position:t,id:void 0,key:`clone-${t}-${c}`},d=e[(c%e.length+e.length)%e.length].vnode,f=o.cloneVNode(d,s);f.el=null,n.push(f)}return n}const ff='a[href], button, input, textarea, select, details, [tabindex]:not([tabindex="-1"])';function pa(e){if(!e.el||!(e.el instanceof Element))return;const t=e.el.querySelectorAll(ff);for(const r of t)r instanceof HTMLElement&&!r.hasAttribute("disabled")&&r.getAttribute("aria-hidden")!=="true"&&r.setAttribute("tabindex","-1")}function mf(e,t){return Object.keys(e).filter(r=>!t.includes(r)).reduce((r,n)=>(r[n]=e[n],r),{})}function pf(e){const{isVertical:t,isReversed:r,dragged:n,effectiveSlideSize:a}=e,i=t?n.y:n.x;if(i===0)return 0;const l=Math.round(i/a);return r?l:-l}function nt({val:e,max:t,min:r}){return t<r?e:Math.min(Math.max(e,isNaN(r)?e:r),isNaN(t)?e:t)}function gf(e){const{transform:t}=window.getComputedStyle(e);return t.split(/[(,)]/).slice(1,-1).map(r=>parseFloat(r))}function hf(e){let t=1,r=1;return e.forEach(n=>{const a=gf(n);a.length===6&&(t/=a[0],r/=a[3])}),{widthMultiplier:t,heightMultiplier:r}}function bf(e,t){switch(e){case"start":return 0;case"center":case"center-odd":return(t-1)/2;case"center-even":return(t-2)/2;case"end":return t-1;default:return 0}}function yf(e,t,r){switch(e){case"start":return 0;case"center":case"center-odd":return(r-t)/2;case"center-even":return r/2-t;case"end":return r-t;default:return 0}}function hr({slideSize:e,viewportSize:t,align:r,itemsToShow:n}){return n!==void 0?bf(r,n):e!==void 0&&t!==void 0?yf(r,e,t):0}function ga(e="",t={}){return Object.entries(t).reduce((r,[n,a])=>r.replace(`{${n}}`,String(a)),e)}function ha({val:e,max:t,min:r=0}){const n=t-r+1;return((e-r)%n+n)%n+r}function br(e,t=0){let r=!1,n=0,a=null;function i(...l){if(r)return;r=!0;const c=()=>{a=requestAnimationFrame(u=>{u-n>t?(n=u,e(...l),r=!1):c()})};c()}return i.cancel=()=>{a&&(cancelAnimationFrame(a),a=null,r=!1)},i}function To(e,t="px"){if(!(e==null||e===""))return typeof e=="number"||parseFloat(e).toString()===e?`${e}${t}`:e}const kf=o.defineComponent({name:"CarouselAria",setup(){const e=o.inject(Et);return e?()=>o.h("div",{class:["carousel__liveregion","carousel__sr-only"],"aria-live":"polite","aria-atomic":"true"},ga(e.config.i18n.itemXofY,{currentSlide:e.currentSlide+1,slidesCount:e.slidesCount})):()=>""}}),wf={autoplay:{default:ve.autoplay,type:Number},breakpoints:{default:ve.breakpoints,type:Object},breakpointMode:{default:ve.breakpointMode,validator(e){return ca.includes(e)}},enabled:{default:ve.enabled,type:Boolean},gap:{default:ve.gap,type:Number},height:{default:ve.height,type:[Number,String]},ignoreAnimations:{default:!1,type:[Array,Boolean,String]},itemsToScroll:{default:ve.itemsToScroll,type:Number},itemsToShow:{default:ve.itemsToShow,type:[Number,String]},i18n:{default:ve.i18n,type:Object},modelValue:{default:void 0,type:Number},mouseDrag:{default:ve.mouseDrag,type:Boolean},touchDrag:{default:ve.touchDrag,type:Boolean},pauseAutoplayOnHover:{default:ve.pauseAutoplayOnHover,type:Boolean},preventExcessiveDragging:{default:!1,type:Boolean,validator(e,t){return e&&t.wrapAround&&console.warn('[vue3-carousel warn]: "preventExcessiveDragging" cannot be used with wrapAround. The setting will be ignored.'),!0}},snapAlign:{default:ve.snapAlign,validator(e){return fa.includes(e)}},slideEffect:{type:String,default:ve.slideEffect,validator(e){return ua.includes(e)}},transition:{default:ve.transition,type:Number},dir:{type:String,default:ve.dir,validator(e,t){if(!da.includes(e))return!1;const r=e in Gt?Gt[e]:e;return["ttb","btt"].includes(r)&&(!t.height||t.height==="auto")&&console.warn(`[vue3-carousel warn]: The dir "${e}" is not supported with height "auto".`),!0}},wrapAround:{default:ve.wrapAround,type:Boolean}},ba=o.defineComponent({name:"VueCarousel",props:wf,emits:["before-init","drag","init","loop","slide-end","slide-registered","slide-start","slide-unregistered","update:modelValue"],setup(e,{slots:t,emit:r,expose:n}){var a;const i=df(r),l=i.getSlides(),c=o.computed(()=>l.length),u=o.ref(null),s=o.ref(null),d=o.ref(0),f=o.computed(()=>Object.assign(Object.assign(Object.assign({},ve),mf(e,["breakpoints","modelValue"])),{i18n:Object.assign(Object.assign({},ve.i18n),e.i18n)})),m=o.shallowReactive(Object.assign({},f.value)),p=o.ref((a=e.modelValue)!==null&&a!==void 0?a:0),g=o.ref(p.value);o.watch(p,O=>g.value=O);const h=o.ref(0),b=o.computed(()=>Math.ceil((c.value-1)/2)),k=o.computed(()=>c.value-1),C=o.computed(()=>0);let S=null,L=null,R=null;const N=o.computed(()=>d.value+m.gap),w=o.computed(()=>{const O=m.dir||"ltr";return O in Gt?Gt[O]:O}),y=o.computed(()=>["rtl","btt"].includes(w.value)),E=o.computed(()=>["ttb","btt"].includes(w.value)),V=o.computed(()=>m.itemsToShow==="auto"),_=o.computed(()=>E.value?"height":"width");function D(){var O;if(!J.value)return;const U=(f.value.breakpointMode==="carousel"?(O=u.value)===null||O===void 0?void 0:O.getBoundingClientRect().width:typeof window<"u"?window.innerWidth:0)||0,K=Object.keys(e.breakpoints||{}).map(ee=>Number(ee)).sort((ee,me)=>+me-+ee),H={};K.some(ee=>U>=ee?(Object.assign(H,e.breakpoints[ee]),H.i18n&&Object.assign(H.i18n,f.value.i18n,e.breakpoints[ee].i18n),!0):!1),Object.assign(m,f.value,H)}const P=br(()=>{D(),z(),$()}),T=o.shallowReactive(new Set),j=o.ref([]);function I({widthMultiplier:O,heightMultiplier:U}){j.value=l.map(K=>{var H;const ee=(H=K.exposed)===null||H===void 0?void 0:H.getBoundingRect();return{width:ee.width*O,height:ee.height*U}})}const Y=o.ref({width:0,height:0});function M({widthMultiplier:O,heightMultiplier:U}){var K;const H=((K=s.value)===null||K===void 0?void 0:K.getBoundingClientRect())||{width:0,height:0};Y.value={width:H.width*O,height:H.height*U}}function $(){if(!s.value)return;const O=hf(T);if(M(O),I(O),V.value)d.value=uf(j.value.map(U=>U[_.value]));else{const U=Number(m.itemsToShow),K=(U-1)*m.gap;d.value=(Y.value[_.value]-K)/U}}function z(){!m.wrapAround&&c.value>0&&(p.value=nt({val:p.value,max:k.value,min:C.value})),V.value||(m.itemsToShow=nt({val:Number(m.itemsToShow),max:c.value,min:1}))}const te=o.computed(()=>typeof e.ignoreAnimations=="string"?e.ignoreAnimations.split(","):Array.isArray(e.ignoreAnimations)?e.ignoreAnimations:e.ignoreAnimations?!1:[]);o.watchEffect(()=>z()),o.watchEffect(()=>{$()});let ne;const ae=O=>{const U=O.target;if(!(!(U!=null&&U.contains(u.value))||Array.isArray(te.value)&&te.value.includes(O.animationName))&&(T.add(U),!ne)){const K=()=>{ne=requestAnimationFrame(()=>{$(),K()})};K()}},G=O=>{const U=O.target;U&&T.delete(U),ne&&T.size===0&&(cancelAnimationFrame(ne),$())},J=o.ref(!1);typeof document<"u"&&o.watchEffect(()=>{J.value&&te.value!==!1?(document.addEventListener("animationstart",ae),document.addEventListener("animationend",G)):(document.removeEventListener("animationstart",ae),document.removeEventListener("animationend",G))}),o.onMounted(()=>{J.value=!0,D(),ye(),u.value&&(R=new ResizeObserver(P),R.observe(u.value)),r("init")}),o.onBeforeUnmount(()=>{J.value=!1,i.cleanup(),L&&clearTimeout(L),ne&&cancelAnimationFrame(ne),S&&clearInterval(S),R&&(R.disconnect(),R=null),typeof document<"u"&&se(),u.value&&(u.value.removeEventListener("transitionend",$),u.value.removeEventListener("animationiteration",$))});let ie=!1;const le={x:0,y:0},he=o.reactive({x:0,y:0}),Pe=o.ref(!1),Re=o.ref(!1),Ke=()=>{Pe.value=!0},Me=()=>{Pe.value=!1},W=br(O=>{if(!O.ctrlKey)switch(O.key){case"ArrowLeft":case"ArrowUp":E.value===O.key.endsWith("Up")&&(y.value?je(!0):pt(!0));break;case"ArrowRight":case"ArrowDown":E.value===O.key.endsWith("Down")&&(y.value?pt(!0):je(!0));break}},200),A=()=>{document.addEventListener("keydown",W)},se=()=>{document.removeEventListener("keydown",W)};function de(O){const U=O.target.tagName;if(["INPUT","TEXTAREA","SELECT"].includes(U)||Se.value||(ie=O.type==="touchstart",!ie&&(O.preventDefault(),O.button!==0)))return;le.x="touches"in O?O.touches[0].clientX:O.clientX,le.y="touches"in O?O.touches[0].clientY:O.clientY;const K=ie?"touchmove":"mousemove",H=ie?"touchend":"mouseup";document.addEventListener(K,ce,{passive:!1}),document.addEventListener(H,ue,{passive:!0})}const ce=br(O=>{Re.value=!0;const U="touches"in O?O.touches[0].clientX:O.clientX,K="touches"in O?O.touches[0].clientY:O.clientY;he.x=U-le.x,he.y=K-le.y;const H=pf({isVertical:E.value,isReversed:y.value,dragged:he,effectiveSlideSize:N.value});g.value=m.wrapAround?p.value+H:nt({val:p.value+H,max:k.value,min:C.value}),r("drag",{deltaX:he.x,deltaY:he.y})});function ue(){if(ce.cancel(),g.value!==p.value&&!ie){const K=H=>{H.preventDefault(),window.removeEventListener("click",K)};window.addEventListener("click",K)}Ae(g.value),he.x=0,he.y=0,Re.value=!1;const O=ie?"touchmove":"mousemove",U=ie?"touchend":"mouseup";document.removeEventListener(O,ce),document.removeEventListener(U,ue)}function ye(){!m.autoplay||m.autoplay<=0||(S=setInterval(()=>{m.pauseAutoplayOnHover&&Pe.value||je()},m.autoplay))}function Fe(){S&&(clearInterval(S),S=null)}function Ze(){Fe(),ye()}const Se=o.ref(!1);function Ae(O,U=!1){if(!U&&Se.value)return;let K=O,H=O;h.value=p.value,m.wrapAround?H=ha({val:K,max:k.value,min:C.value}):K=nt({val:K,max:k.value,min:C.value}),r("slide-start",{slidingToIndex:O,currentSlideIndex:p.value,prevSlideIndex:h.value,slidesCount:c.value}),Fe(),Se.value=!0,p.value=K,H!==K&&Nt.pause(),r("update:modelValue",H),L=setTimeout(()=>{m.wrapAround&&H!==K&&(Nt.resume(),p.value=H,r("loop",{currentSlideIndex:p.value,slidingToIndex:O})),r("slide-end",{currentSlideIndex:p.value,prevSlideIndex:h.value,slidesCount:c.value}),Se.value=!1,Ze()},m.transition)}function je(O=!1){Ae(p.value+m.itemsToScroll,O)}function pt(O=!1){Ae(p.value-m.itemsToScroll,O)}function gt(){D(),z(),$(),Ze()}o.watch(()=>[f.value,e.breakpoints],()=>D(),{deep:!0}),o.watch(()=>e.autoplay,()=>Ze());const Nt=o.watch(()=>e.modelValue,O=>{O!==p.value&&Ae(Number(O),!0)});r("before-init");const Q=o.computed(()=>{if(!m.wrapAround)return{before:0,after:0};if(V.value)return{before:l.length,after:l.length};const O=Number(m.itemsToShow),U=Math.ceil(O+(m.itemsToScroll-1)),K=U-g.value,H=U-(c.value-(g.value+1));return{before:Math.max(0,K),after:Math.max(0,H)}}),Ye=o.computed(()=>Q.value.before?V.value?j.value.slice(-1*Q.value.before).reduce((O,U)=>O+U[_.value]+m.gap,0)*-1:Q.value.before*N.value*-1:0),we=o.computed(()=>{var O;if(V.value){const U=(p.value%l.length+l.length)%l.length;return hr({slideSize:(O=j.value[U])===null||O===void 0?void 0:O[_.value],viewportSize:Y.value[_.value],align:m.snapAlign})}return hr({align:m.snapAlign,itemsToShow:+m.itemsToShow})}),x=o.computed(()=>{let O=0;if(V.value){if(p.value<0?O=j.value.slice(p.value).reduce((U,K)=>U+K[_.value]+m.gap,0)*-1:O=j.value.slice(0,p.value).reduce((U,K)=>U+K[_.value]+m.gap,0),O-=we.value,!m.wrapAround){const U=j.value.reduce((K,H)=>K+H[_.value]+m.gap,0)-Y.value[_.value]-m.gap;O=nt({val:O,max:U,min:0})}}else{let U=p.value-we.value;m.wrapAround||(U=nt({val:U,max:c.value-+m.itemsToShow,min:0})),O=U*N.value}return O*(y.value?1:-1)}),v=o.computed(()=>{var O,U;if(!V.value){const ee=p.value-we.value;return m.wrapAround?{min:Math.floor(ee),max:Math.ceil(ee+Number(m.itemsToShow)-1)}:{min:Math.floor(nt({val:ee,max:c.value-Number(m.itemsToShow),min:0})),max:Math.ceil(nt({val:ee+Number(m.itemsToShow)-1,max:c.value-1,min:0}))}}let K=0;{let ee=0,me=0-Q.value.before;const be=Math.abs(x.value+Ye.value);for(;ee<=be;){const Be=(me%l.length+l.length)%l.length;ee+=((O=j.value[Be])===null||O===void 0?void 0:O[_.value])+m.gap,me++}K=me-1}let H=0;{let ee=K,me=0;for(ee<0?me=j.value.slice(0,ee).reduce((be,Be)=>be+Be[_.value]+m.gap,0)-Math.abs(x.value+Ye.value):me=j.value.slice(0,ee).reduce((be,Be)=>be+Be[_.value]+m.gap,0)-Math.abs(x.value);me<Y.value[_.value];){const be=(ee%l.length+l.length)%l.length;me+=((U=j.value[be])===null||U===void 0?void 0:U[_.value])+m.gap,ee++}H=ee-1}return{min:Math.floor(K),max:Math.ceil(H)}}),F=o.computed(()=>{if(m.slideEffect==="fade")return;const O=E.value?"Y":"X",U=E.value?he.y:he.x;let K=x.value+U;if(!m.wrapAround&&m.preventExcessiveDragging){let H=0;V.value?H=j.value.reduce((be,Be)=>be+Be[_.value],0):H=(c.value-Number(m.itemsToShow))*N.value;const ee=y.value?0:-1*H,me=y.value?H:0;K=nt({val:K,min:ee,max:me})}return`translate${O}(${K}px)`}),q=o.computed(()=>({"--vc-transition-duration":Se.value?To(m.transition,"ms"):void 0,"--vc-slide-gap":To(m.gap),"--vc-carousel-height":To(m.height),"--vc-cloned-offset":To(Ye.value)})),Z={slideTo:Ae,next:je,prev:pt},re=o.reactive({activeSlide:g,config:m,currentSlide:p,isSliding:Se,isVertical:E,maxSlide:k,minSlide:C,nav:Z,normalizedDir:w,slideRegistry:i,slideSize:d,slides:l,slidesCount:c,viewport:s,visibleRange:v});o.provide(Et,re);const X=o.reactive({config:m,currentSlide:p,maxSlide:k,middleSlide:b,minSlide:C,slideSize:d,slidesCount:c});return n({data:X,nav:Z,next:je,prev:pt,restartCarousel:gt,slideTo:Ae,updateBreakpointsConfig:D,updateSlideSize:$,updateSlidesData:z}),()=>{var O;const U=t.default||t.slides,K=(U==null?void 0:U(X))||[],{before:H,after:ee}=Q.value,me=ma({slides:l,position:"before",toShow:H}),be=ma({slides:l,position:"after",toShow:ee}),Be=[...me,...K,...be];if(!m.enabled||!Be.length)return o.h("section",{ref:u,class:["carousel","is-disabled"]},Be);const eo=((O=t.addons)===null||O===void 0?void 0:O.call(t,X))||[],to=o.h("ol",{class:"carousel__track",style:{transform:F.value},onMousedownCapture:m.mouseDrag?de:null,onTouchstartPassiveCapture:m.touchDrag?de:null},Be),oo=o.h("div",{class:"carousel__viewport",ref:s},to);return o.h("section",{ref:u,class:["carousel",`is-${w.value}`,`is-effect-${m.slideEffect}`,{"is-vertical":E.value,"is-sliding":Se.value,"is-dragging":Re.value,"is-hover":Pe.value}],dir:w.value,style:q.value,"aria-label":m.i18n.ariaGallery,tabindex:"0",onFocus:A,onBlur:se,onMouseenter:Ke,onMouseleave:Me},[oo,eo,o.h(kf)])}}});var yr;(function(e){e.arrowDown="arrowDown",e.arrowLeft="arrowLeft",e.arrowRight="arrowRight",e.arrowUp="arrowUp"})(yr||(yr={}));const ya=e=>`icon${e.charAt(0).toUpperCase()+e.slice(1)}`,xf={arrowDown:"M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z",arrowLeft:"M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z",arrowRight:"M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z",arrowUp:"M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z"};function vf(e){return e in yr}const ka=e=>e&&vf(e),wa=o.defineComponent({props:{name:{type:String,required:!0,validator:ka},title:{type:String,default:e=>e.name?ve.i18n[ya(e.name)]:""}},setup(e){const t=o.inject(Et,null);return()=>{const r=e.name;if(!r||!ka(r))return;const n=xf[r],a=o.h("path",{d:n}),i=(t==null?void 0:t.config.i18n[ya(r)])||e.title,l=o.h("title",i);return o.h("svg",{class:"carousel__icon",viewBox:"0 0 24 24",role:"img","aria-label":i},[l,a])}}}),xa=o.defineComponent({name:"CarouselNavigation",inheritAttrs:!1,setup(e,{slots:t,attrs:r}){const n=o.inject(Et);if(!n)return()=>"";const{next:a,prev:i}=t,l=()=>({btt:"arrowDown",ltr:"arrowLeft",rtl:"arrowRight",ttb:"arrowUp"})[n.normalizedDir],c=()=>({btt:"arrowUp",ltr:"arrowRight",rtl:"arrowLeft",ttb:"arrowDown"})[n.normalizedDir],u=o.computed(()=>!n.config.wrapAround&&n.currentSlide<=n.minSlide),s=o.computed(()=>!n.config.wrapAround&&n.currentSlide>=n.maxSlide);return()=>{const{i18n:d}=n.config,f=o.h("button",Object.assign(Object.assign({type:"button",disabled:u.value,"aria-label":d.ariaPreviousSlide,title:d.ariaPreviousSlide,onClick:n.nav.prev},r),{class:["carousel__prev",{"carousel__prev--disabled":u.value},r.class]}),(i==null?void 0:i())||o.h(wa,{name:l()})),m=o.h("button",Object.assign(Object.assign({type:"button",disabled:s.value,"aria-label":d.ariaNextSlide,title:d.ariaNextSlide,onClick:n.nav.next},r),{class:["carousel__next",{"carousel__next--disabled":s.value},r.class]}),(a==null?void 0:a())||o.h(wa,{name:c()}));return[f,m]}}});o.defineComponent({name:"CarouselPagination",props:{disableOnClick:{type:Boolean},paginateByItemsToShow:{type:Boolean}},setup(e){const t=o.inject(Et);if(!t)return()=>"";const r=o.computed(()=>t.config.itemsToShow),n=o.computed(()=>hr({align:t.config.snapAlign,itemsToShow:r.value})),a=o.computed(()=>e.paginateByItemsToShow&&r.value>1),i=o.computed(()=>Math.ceil((t.activeSlide-n.value)/r.value)),l=o.computed(()=>Math.ceil(t.slidesCount/r.value)),c=u=>ha(a.value?{val:i.value,max:l.value-1,min:0}:{val:t.activeSlide,max:t.maxSlide,min:t.minSlide})===u;return()=>{var u,s;const d=[];for(let f=a.value?0:t.minSlide;f<=(a.value?l.value-1:t.maxSlide);f++){const m=ga(t.config.i18n[a.value?"ariaNavigateToPage":"ariaNavigateToSlide"],{slideNumber:f+1}),p=c(f),g=o.h("button",{type:"button",class:{"carousel__pagination-button":!0,"carousel__pagination-button--active":p},"aria-label":m,"aria-pressed":p,"aria-controls":(s=(u=t.slides[f])===null||u===void 0?void 0:u.exposed)===null||s===void 0?void 0:s.id,title:m,disabled:e.disableOnClick,onClick:()=>t.nav.slideTo(a.value?Math.floor(f*+t.config.itemsToShow+n.value):f)}),h=o.h("li",{class:"carousel__pagination-item",key:f},g);d.push(h)}return o.h("ol",{class:"carousel__pagination"},d)}}});const va=o.defineComponent({name:"CarouselSlide",props:{id:{type:String,default:e=>e.isClone?void 0:o.useId()},index:{type:Number,default:void 0},isClone:{type:Boolean,default:!1},position:{type:String,default:void 0}},setup(e,{attrs:t,slots:r,expose:n}){const a=o.inject(Et);if(o.provide(Et,void 0),!a)return()=>"";const i=o.ref(e.index),l=g=>{i.value=g},c=o.getCurrentInstance(),u=()=>{const g=c.vnode.el;return g?g.getBoundingClientRect():{width:0,height:0}};n({id:e.id,setIndex:l,getBoundingRect:u});const s=o.computed(()=>i.value===a.activeSlide),d=o.computed(()=>i.value===a.activeSlide-1),f=o.computed(()=>i.value===a.activeSlide+1),m=o.computed(()=>i.value>=a.visibleRange.min&&i.value<=a.visibleRange.max),p=o.computed(()=>{if(a.config.itemsToShow==="auto")return;const g=a.config.itemsToShow,h=a.config.gap>0&&g>1?`calc(${100/g}% - ${a.config.gap*(g-1)/g}px)`:`${100/g}%`;return a.isVertical?{height:h}:{width:h}});return a.slideRegistry.registerSlide(c,e.index),o.onUnmounted(()=>{a.slideRegistry.unregisterSlide(c)}),e.isClone&&(o.onMounted(()=>{pa(c.vnode)}),o.onUpdated(()=>{pa(c.vnode)})),()=>{var g,h;return a.config.enabled?o.h("li",{style:[t.style,Object.assign({},p.value)],class:{carousel__slide:!0,"carousel__slide--clone":e.isClone,"carousel__slide--visible":m.value,"carousel__slide--active":s.value,"carousel__slide--prev":d.value,"carousel__slide--next":f.value,"carousel__slide--sliding":a.isSliding},onFocusin:()=>{a.viewport&&(a.viewport.scrollLeft=0),a.nav.slideTo(i.value)},id:e.isClone?void 0:e.id,"aria-hidden":e.isClone||void 0},(h=r.default)===null||h===void 0?void 0:h.call(r,{currentIndex:i.value,isActive:s.value,isClone:e.isClone,isPrev:d.value,isNext:f.value,isSliding:a.isSliding,isVisible:m.value})):(g=r.default)===null||g===void 0?void 0:g.call(r)}}}),Cf={class:"p-4 mb-4 flex flex-wrap gap-2 border border-gray-300 shadow-md rounded-lg"},Ef={key:0,class:"error-message"},Sf={class:"text-red-500 font-bold"},Bf={key:0},Nf={key:1,class:"mb-4 mt-4"},Ca=Oe({__name:"EntityListingCarousel",props:{entityName:String,listDisplay:String,listItemDisplay:String,listHeader:String,listFooter:String,listFilter:String,listPagination:String,showAddButton:Boolean,showFilters:Boolean,listHeaderSlot:Boolean,showPagination:Boolean,className:{type:String,default:"default-class"},editable:Boolean,deletable:Boolean},setup(e,{expose:t}){const r=_o(),n=Ne();o.provide("entityObject",r);const a=e,i=o.ref([]);return o.watch(()=>r.state.data,u=>{u&&(i.value=u.result)},{immediate:!0}),t({props:a,reload:()=>{console.log("reload data")},filter:()=>{console.log("filter data in unordered")}}),o.watch(()=>n.globalConfigs.appId,async u=>{if(u){const s=await r.getEntity(a.entityName);r.setEntity(s.success?s.response:{result:[]})}},{immediate:!0}),(u,s)=>(o.openBlock(),o.createElementBlock("div",o.normalizeProps(o.guardReactiveProps(u.$attrs)),[u.$slots["list-item-display-carousel"]?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.renderSlot(u.$slots,"header",{},void 0,!0),e.showAddButton?(o.openBlock(),o.createBlock(ut,{key:0})):o.createCommentVNode("",!0),e.showFilters?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.listFilter||dt),{key:1})):o.createCommentVNode("",!0),i.value.length>1?(o.openBlock(),o.createBlock(o.unref(ba),{key:2,"items-to-show":5,"wrap-around":!0,autoplay:2e3,pauseAutoplayOnHover:!0,transition:500},{addons:o.withCtx(()=>[o.createVNode(o.unref(xa))]),default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.value,(d,f)=>(o.openBlock(),o.createBlock(o.unref(va),{key:f},{default:o.withCtx(()=>[o.createElementVNode("div",Cf,[o.renderSlot(u.$slots,"list-item-display-carousel",{item:d},void 0,!0)])]),_:2},1024))),128))]),_:3})):o.createCommentVNode("",!0),o.renderSlot(u.$slots,"footer",{},void 0,!0)],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.renderSlot(u.$slots,"header",{},void 0,!0),e.entityName?(o.openBlock(),o.createElementBlock("div",Nf,[e.showFilters?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.listFilter||dt),{key:0})):o.createCommentVNode("",!0),e.showAddButton?(o.openBlock(),o.createBlock(ut,{key:1})):o.createCommentVNode("",!0),i.value.length?(o.openBlock(),o.createBlock(o.unref(ba),{key:2,"items-to-show":3,"wrap-around":!1,mouseDrag:!0,pauseAutoplayOnHover:!0,breakpoints:{1024:{itemsToShow:3},950:{itemsToShow:2},768:{itemsToShow:1},340:{itemsToShow:1}}},{addons:o.withCtx(()=>[o.createVNode(o.unref(xa))]),default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.value,(d,f)=>(o.openBlock(),o.createBlock(o.unref(va),{key:f},{default:o.withCtx(()=>[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.listItemDisplay&&e.listItemDisplay!==""?e.listItemDisplay:sf),o.mergeProps({ref_for:!0},{item:d,...a}),null,16))]),_:2},1024))),128))]),_:1})):o.createCommentVNode("",!0),e.showPagination?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.listPagination||Yt),{key:3})):o.createCommentVNode("",!0)])):(o.openBlock(),o.createElementBlock("div",Ef,[o.createElementVNode("p",Sf,[s[0]||(s[0]=o.createTextVNode(" Error: Missing required props - ")),e.entityName?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("span",Bf,"Entity Name"))])])),o.renderSlot(u.$slots,"footer",{},void 0,!0)],64))],16))}},[["__scopeId","data-v-2c25fd02"]]);function Ea(){const e=Ne(),{get:t,post:r,put:n,del:a}=kt(),i=()=>e.getAppId();return{getEntities:async()=>{const T=i();return await t(`/api/app/v1/${T}/entity`)},getEntity:async T=>{const j=i();return await t(`/api/app/v1/${j}/entity/${T}`)},saveEntity:async T=>{const j=i();return await r(`/api/app/v1/${j}/entity`,T)},updateEntityGeneralSettings:async(T,j)=>{const I=i();return await n(`/api/app/v1/${I}/entity/${T}/rename`,j)},updateEntityAuditable:async(T,j)=>{const I=i();return await n(`/api/app/v1/${I}/entity/${T}/auditable`,j)},updateEntityRevisionEnabled:async(T,j)=>{const I=i();return await n(`/api/app/v1/${I}/entity/${T}/revision`,j)},updateEntitySoftDelete:async(T,j)=>{const I=i();return await n(`/api/app/v1/${I}/entity/${T}/soft-delete`,j)},updateEntityDeleteProtected:async(T,j)=>{const I=i();return await n(`/api/app/v1/${I}/entity/${T}/delete-protect`,j)},updateEntityColumn:async(T,j)=>{const I=i();return await n(`/api/app/v1/${I}/entity/${T}/column`,j)},saveEntityColumn:async(T,j)=>{const I=i();return await r(`/api/app/v1/${I}/entity/${T}/column`,j)},dropEntityColumn:async(T,j)=>{const I=i();return await a(`/api/app/v1/${I}/entity/${T}/column/${j}`)},saveForeignKey:async(T,j)=>{const I=i();return await n(`/api/app/v1/${I}/entity/foreignKey`,j)},dropForeignKey:async T=>{const j=i();return await a(`/api/app/v1/${j}/entity/foreignKey`,T)},saveUniqueConstraint:async(T,j)=>{const I=i();return await r(`/api/app/v1/${I}/entity/${T}/column/${j}/constraint`)},dropUniqueConstraint:async(T,j)=>{const I=i();return await a(`/api/app/v1/${I}/entity/${T}/column/${j}/constraint`)},saveIndex:async(T,j)=>{const I=i();return await r(`/api/app/v1/${I}/entity/${T}/column-index`,j)},dropIndex:async(T,j)=>{const I=i();return await a(`/api/app/v1/${I}/entity/${T}/column-index`,j)},deleteEntity:async T=>{const j=i();return await a(`/api/app/v1/${j}/entity/${T}`)},getEntityEvents:async T=>{const j=i();return await t(`/api/app/v1/${j}/entity/${T}/event`)},saveEntityEvent:async(T,j)=>{const I=i();return await r(`/api/app/v1/${I}/entity/${T}/event`,j)},deleteEntityEvent:async(T,j)=>{const I=i();return await a(`/api/app/v1/${I}/entity/${T}/event/${j}`)},updateEntityEvent:async(T,j,I)=>{const Y=i();return await n(`/api/app/v1/${Y}/entity/${T}/event/${j}`,I)},getActionTypes:async()=>{const T=i();return await t(`/api/app/v1/${T}/action-type`)},getActionConfigByType:async T=>{const j=i();return await t(`/api/app/v1/${j}/notification-config/${T}`)}}}const Sa=Lo("entitiesStore",{state:()=>({entities:[],entityService:new Ea}),actions:{async fetchEntities(){try{return await this.entityService.getEntities()}catch(e){console.error("Error fetching entities:",e)}finally{}},async getEntities(){if(this.entities.length===0){const e=await this.fetchEntities();return this.setEntities(e.response),this.entities}else return this.entities},setEntities(e){this.entities=e}},getters:{}}),_f={class:"field flex flex-col w-full"},Rf={key:0,class:"flex items-center"},Tf={key:1},Df={class:"flex items-center"},kr={__name:"EntitySelection",props:{entityName:String,onEntityChangeCallback:Function},setup(e){const t=Ne(),r=o.ref(""),n=Sa(),a=o.ref([]),i=async()=>{a.value=await n.getEntities(),l()},l=()=>{for(let u=0;u<a.value.length;u++){const s=a.value[u];s.name.toLowerCase()==e.entityName.toLowerCase()&&(r.value=s)}},c=()=>{e.onEntityChangeCallback(r.value.name)};return o.watch(()=>t.globalConfigs.appId,async u=>{u&&await i()},{immediate:!0}),(u,s)=>{const d=o.resolveComponent("Select");return o.openBlock(),o.createElementBlock("div",_f,[o.createVNode(d,{modelValue:r.value,"onUpdate:modelValue":[s[0]||(s[0]=f=>r.value=f),c],options:a.value,filter:"",optionLabel:"name",placeholder:"Select entity",class:"w-full"},{value:o.withCtx(f=>[f.value?(o.openBlock(),o.createElementBlock("div",Rf,[o.createElementVNode("div",null,o.toDisplayString(f.value.name),1)])):(o.openBlock(),o.createElementBlock("span",Tf,o.toDisplayString(f.placeholder),1))]),option:o.withCtx(f=>[o.createElementVNode("div",Df,[o.createElementVNode("div",null,o.toDisplayString(f.option.name),1)])]),_:1},8,["modelValue","options"])])}}},Ba=6048e5,Of=864e5,Na=Symbol.for("constructDateFrom");function ft(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&Na in e?e[Na](t):e instanceof Date?new e.constructor(t):new Date(t)}function qe(e,t){return ft(t||e,e)}let Vf={};function Do(){return Vf}function Xt(e,t){var c,u,s,d;const r=Do(),n=(t==null?void 0:t.weekStartsOn)??((u=(c=t==null?void 0:t.locale)==null?void 0:c.options)==null?void 0:u.weekStartsOn)??r.weekStartsOn??((d=(s=r.locale)==null?void 0:s.options)==null?void 0:d.weekStartsOn)??0,a=qe(e,t==null?void 0:t.in),i=a.getDay(),l=(i<n?7:0)+i-n;return a.setDate(a.getDate()-l),a.setHours(0,0,0,0),a}function Oo(e,t){return Xt(e,{...t,weekStartsOn:1})}function _a(e,t){const r=qe(e,t==null?void 0:t.in),n=r.getFullYear(),a=ft(r,0);a.setFullYear(n+1,0,4),a.setHours(0,0,0,0);const i=Oo(a),l=ft(r,0);l.setFullYear(n,0,4),l.setHours(0,0,0,0);const c=Oo(l);return r.getTime()>=i.getTime()?n+1:r.getTime()>=c.getTime()?n:n-1}function Ra(e){const t=qe(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),+e-+r}function $f(e,...t){const r=ft.bind(null,t.find(n=>typeof n=="object"));return t.map(r)}function Ta(e,t){const r=qe(e,t==null?void 0:t.in);return r.setHours(0,0,0,0),r}function Ff(e,t,r){const[n,a]=$f(r==null?void 0:r.in,e,t),i=Ta(n),l=Ta(a),c=+i-Ra(i),u=+l-Ra(l);return Math.round((c-u)/Of)}function Af(e,t){const r=_a(e,t),n=ft(e,0);return n.setFullYear(r,0,4),n.setHours(0,0,0,0),Oo(n)}function If(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Pf(e){return!(!If(e)&&typeof e!="number"||isNaN(+qe(e)))}function Lf(e,t){const r=qe(e,t==null?void 0:t.in);return r.setFullYear(r.getFullYear(),0,1),r.setHours(0,0,0,0),r}const Mf={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"}},jf=(e,t,r)=>{let n;const a=Mf[e];return typeof a=="string"?n=a:t===1?n=a.one:n=a.other.replace("{{count}}",t.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+n:n+" ago":n};function wr(e){return(t={})=>{const r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}const zf={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Uf={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Wf={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},qf={date:wr({formats:zf,defaultWidth:"full"}),time:wr({formats:Uf,defaultWidth:"full"}),dateTime:wr({formats:Wf,defaultWidth:"full"})},Hf={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Kf=(e,t,r,n)=>Hf[e];function Jt(e){return(t,r)=>{const n=r!=null&&r.context?String(r.context):"standalone";let a;if(n==="formatting"&&e.formattingValues){const l=e.defaultFormattingWidth||e.defaultWidth,c=r!=null&&r.width?String(r.width):l;a=e.formattingValues[c]||e.formattingValues[l]}else{const l=e.defaultWidth,c=r!=null&&r.width?String(r.width):e.defaultWidth;a=e.values[c]||e.values[l]}const i=e.argumentCallback?e.argumentCallback(t):t;return a[i]}}const Yf={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Gf={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Xf={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"]},Jf={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"]},Qf={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"}},Zf={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"}},em={ordinalNumber:(e,t)=>{const r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},era:Jt({values:Yf,defaultWidth:"wide"}),quarter:Jt({values:Gf,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Jt({values:Xf,defaultWidth:"wide"}),day:Jt({values:Jf,defaultWidth:"wide"}),dayPeriod:Jt({values:Qf,defaultWidth:"wide",formattingValues:Zf,defaultFormattingWidth:"wide"})};function Qt(e){return(t,r={})=>{const n=r.width,a=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],i=t.match(a);if(!i)return null;const l=i[0],c=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(c)?om(c,f=>f.test(l)):tm(c,f=>f.test(l));let s;s=e.valueCallback?e.valueCallback(u):u,s=r.valueCallback?r.valueCallback(s):s;const d=t.slice(l.length);return{value:s,rest:d}}}function tm(e,t){for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r}function om(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r}function rm(e){return(t,r={})=>{const n=t.match(e.matchPattern);if(!n)return null;const a=n[0],i=t.match(e.parsePattern);if(!i)return null;let l=e.valueCallback?e.valueCallback(i[0]):i[0];l=r.valueCallback?r.valueCallback(l):l;const c=t.slice(a.length);return{value:l,rest:c}}}const nm=/^(\d+)(th|st|nd|rd)?/i,am=/\d+/i,im={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},lm={any:[/^b/i,/^(a|c)/i]},sm={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},cm={any:[/1/i,/2/i,/3/i,/4/i]},dm={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},um={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]},fm={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},mm={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]},pm={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},gm={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}},hm={ordinalNumber:rm({matchPattern:nm,parsePattern:am,valueCallback:e=>parseInt(e,10)}),era:Qt({matchPatterns:im,defaultMatchWidth:"wide",parsePatterns:lm,defaultParseWidth:"any"}),quarter:Qt({matchPatterns:sm,defaultMatchWidth:"wide",parsePatterns:cm,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Qt({matchPatterns:dm,defaultMatchWidth:"wide",parsePatterns:um,defaultParseWidth:"any"}),day:Qt({matchPatterns:fm,defaultMatchWidth:"wide",parsePatterns:mm,defaultParseWidth:"any"}),dayPeriod:Qt({matchPatterns:pm,defaultMatchWidth:"any",parsePatterns:gm,defaultParseWidth:"any"})},bm={code:"en-US",formatDistance:jf,formatLong:qf,formatRelative:Kf,localize:em,match:hm,options:{weekStartsOn:0,firstWeekContainsDate:1}};function ym(e,t){const r=qe(e,t==null?void 0:t.in);return Ff(r,Lf(r))+1}function km(e,t){const r=qe(e,t==null?void 0:t.in),n=+Oo(r)-+Af(r);return Math.round(n/Ba)+1}function Da(e,t){var d,f,m,p;const r=qe(e,t==null?void 0:t.in),n=r.getFullYear(),a=Do(),i=(t==null?void 0:t.firstWeekContainsDate)??((f=(d=t==null?void 0:t.locale)==null?void 0:d.options)==null?void 0:f.firstWeekContainsDate)??a.firstWeekContainsDate??((p=(m=a.locale)==null?void 0:m.options)==null?void 0:p.firstWeekContainsDate)??1,l=ft((t==null?void 0:t.in)||e,0);l.setFullYear(n+1,0,i),l.setHours(0,0,0,0);const c=Xt(l,t),u=ft((t==null?void 0:t.in)||e,0);u.setFullYear(n,0,i),u.setHours(0,0,0,0);const s=Xt(u,t);return+r>=+c?n+1:+r>=+s?n:n-1}function wm(e,t){var c,u,s,d;const r=Do(),n=(t==null?void 0:t.firstWeekContainsDate)??((u=(c=t==null?void 0:t.locale)==null?void 0:c.options)==null?void 0:u.firstWeekContainsDate)??r.firstWeekContainsDate??((d=(s=r.locale)==null?void 0:s.options)==null?void 0:d.firstWeekContainsDate)??1,a=Da(e,t),i=ft((t==null?void 0:t.in)||e,0);return i.setFullYear(a,0,n),i.setHours(0,0,0,0),Xt(i,t)}function xm(e,t){const r=qe(e,t==null?void 0:t.in),n=+Xt(r,t)-+wm(r,t);return Math.round(n/Ba)+1}function fe(e,t){const r=e<0?"-":"",n=Math.abs(e).toString().padStart(t,"0");return r+n}const mt={y(e,t){const r=e.getFullYear(),n=r>0?r:1-r;return fe(t==="yy"?n%100:n,t.length)},M(e,t){const r=e.getMonth();return t==="M"?String(r+1):fe(r+1,2)},d(e,t){return fe(e.getDate(),t.length)},a(e,t){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h(e,t){return fe(e.getHours()%12||12,t.length)},H(e,t){return fe(e.getHours(),t.length)},m(e,t){return fe(e.getMinutes(),t.length)},s(e,t){return fe(e.getSeconds(),t.length)},S(e,t){const r=t.length,n=e.getMilliseconds(),a=Math.trunc(n*Math.pow(10,r-3));return fe(a,t.length)}},At={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Oa={G:function(e,t,r){const n=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});case"GGGG":default:return r.era(n,{width:"wide"})}},y:function(e,t,r){if(t==="yo"){const n=e.getFullYear(),a=n>0?n:1-n;return r.ordinalNumber(a,{unit:"year"})}return mt.y(e,t)},Y:function(e,t,r,n){const a=Da(e,n),i=a>0?a:1-a;if(t==="YY"){const l=i%100;return fe(l,2)}return t==="Yo"?r.ordinalNumber(i,{unit:"year"}):fe(i,t.length)},R:function(e,t){const r=_a(e);return fe(r,t.length)},u:function(e,t){const r=e.getFullYear();return fe(r,t.length)},Q:function(e,t,r){const n=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return fe(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,r){const n=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return fe(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,r){const n=e.getMonth();switch(t){case"M":case"MM":return mt.M(e,t);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,r){const n=e.getMonth();switch(t){case"L":return String(n+1);case"LL":return fe(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,r,n){const a=xm(e,n);return t==="wo"?r.ordinalNumber(a,{unit:"week"}):fe(a,t.length)},I:function(e,t,r){const n=km(e);return t==="Io"?r.ordinalNumber(n,{unit:"week"}):fe(n,t.length)},d:function(e,t,r){return t==="do"?r.ordinalNumber(e.getDate(),{unit:"date"}):mt.d(e,t)},D:function(e,t,r){const n=ym(e);return t==="Do"?r.ordinalNumber(n,{unit:"dayOfYear"}):fe(n,t.length)},E:function(e,t,r){const n=e.getDay();switch(t){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});case"EEEE":default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,r,n){const a=e.getDay(),i=(a-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return fe(i,2);case"eo":return r.ordinalNumber(i,{unit:"day"});case"eee":return r.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(a,{width:"short",context:"formatting"});case"eeee":default:return r.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,r,n){const a=e.getDay(),i=(a-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return fe(i,t.length);case"co":return r.ordinalNumber(i,{unit:"day"});case"ccc":return r.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(a,{width:"narrow",context:"standalone"});case"cccccc":return r.day(a,{width:"short",context:"standalone"});case"cccc":default:return r.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,r){const n=e.getDay(),a=n===0?7:n;switch(t){case"i":return String(a);case"ii":return fe(a,t.length);case"io":return r.ordinalNumber(a,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});case"iiii":default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,r){const a=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(e,t,r){const n=e.getHours();let a;switch(n===12?a=At.noon:n===0?a=At.midnight:a=n/12>=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(e,t,r){const n=e.getHours();let a;switch(n>=17?a=At.evening:n>=12?a=At.afternoon:n>=4?a=At.morning:a=At.night,t){case"B":case"BB":case"BBB":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(e,t,r){if(t==="ho"){let n=e.getHours()%12;return n===0&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return mt.h(e,t)},H:function(e,t,r){return t==="Ho"?r.ordinalNumber(e.getHours(),{unit:"hour"}):mt.H(e,t)},K:function(e,t,r){const n=e.getHours()%12;return t==="Ko"?r.ordinalNumber(n,{unit:"hour"}):fe(n,t.length)},k:function(e,t,r){let n=e.getHours();return n===0&&(n=24),t==="ko"?r.ordinalNumber(n,{unit:"hour"}):fe(n,t.length)},m:function(e,t,r){return t==="mo"?r.ordinalNumber(e.getMinutes(),{unit:"minute"}):mt.m(e,t)},s:function(e,t,r){return t==="so"?r.ordinalNumber(e.getSeconds(),{unit:"second"}):mt.s(e,t)},S:function(e,t){return mt.S(e,t)},X:function(e,t,r){const n=e.getTimezoneOffset();if(n===0)return"Z";switch(t){case"X":return $a(n);case"XXXX":case"XX":return St(n);case"XXXXX":case"XXX":default:return St(n,":")}},x:function(e,t,r){const n=e.getTimezoneOffset();switch(t){case"x":return $a(n);case"xxxx":case"xx":return St(n);case"xxxxx":case"xxx":default:return St(n,":")}},O:function(e,t,r){const n=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Va(n,":");case"OOOO":default:return"GMT"+St(n,":")}},z:function(e,t,r){const n=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Va(n,":");case"zzzz":default:return"GMT"+St(n,":")}},t:function(e,t,r){const n=Math.trunc(+e/1e3);return fe(n,t.length)},T:function(e,t,r){return fe(+e,t.length)}};function Va(e,t=""){const r=e>0?"-":"+",n=Math.abs(e),a=Math.trunc(n/60),i=n%60;return i===0?r+String(a):r+String(a)+t+fe(i,2)}function $a(e,t){return e%60===0?(e>0?"-":"+")+fe(Math.abs(e)/60,2):St(e,t)}function St(e,t=""){const r=e>0?"-":"+",n=Math.abs(e),a=fe(Math.trunc(n/60),2),i=fe(n%60,2);return r+a+t+i}const Fa=(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"})}},Aa=(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"})}},vm={p:Aa,P:(e,t)=>{const r=e.match(/(P+)(p+)?/)||[],n=r[1],a=r[2];if(!a)return Fa(e,t);let i;switch(n){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}}",Fa(n,t)).replace("{{time}}",Aa(a,t))}},Cm=/^D+$/,Em=/^Y+$/,Sm=["D","DD","YY","YYYY"];function Bm(e){return Cm.test(e)}function Nm(e){return Em.test(e)}function _m(e,t,r){const n=Rm(e,t,r);if(console.warn(n),Sm.includes(e))throw new RangeError(n)}function Rm(e,t,r){const n=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${n} to the input \`${r}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const Tm=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Dm=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Om=/^'([^]*?)'?$/,Vm=/''/g,$m=/[a-zA-Z]/;function Fm(e,t,r){var d,f,m,p;const n=Do(),a=n.locale??bm,i=n.firstWeekContainsDate??((f=(d=n.locale)==null?void 0:d.options)==null?void 0:f.firstWeekContainsDate)??1,l=n.weekStartsOn??((p=(m=n.locale)==null?void 0:m.options)==null?void 0:p.weekStartsOn)??0,c=qe(e,r==null?void 0:r.in);if(!Pf(c))throw new RangeError("Invalid time value");let u=t.match(Dm).map(g=>{const h=g[0];if(h==="p"||h==="P"){const b=vm[h];return b(g,a.formatLong)}return g}).join("").match(Tm).map(g=>{if(g==="''")return{isToken:!1,value:"'"};const h=g[0];if(h==="'")return{isToken:!1,value:Am(g)};if(Oa[h])return{isToken:!0,value:g};if(h.match($m))throw new RangeError("Format string contains an unescaped latin alphabet character `"+h+"`");return{isToken:!1,value:g}});a.localize.preprocessor&&(u=a.localize.preprocessor(c,u));const s={firstWeekContainsDate:i,weekStartsOn:l,locale:a};return u.map(g=>{if(!g.isToken)return g.value;const h=g.value;(Nm(h)||Bm(h))&&_m(h,t,String(e));const b=Oa[h[0]];return b(c,h,a.localize,s)}).join("")}function Am(e){const t=e.match(Om);return t?t[1].replace(Vm,"'"):e}var Vo={exports:{}};/*! @preserve
23
+ * numeral.js
24
+ * version : 2.0.6
25
+ * author : Adam Draper
26
+ * license : MIT
27
+ * http://adamwdraper.github.com/Numeral-js/
28
+ */var Im=Vo.exports,Ia;function Pm(){return Ia||(Ia=1,function(e){(function(t,r){e.exports?e.exports=r():t.numeral=r()})(Im,function(){var t,r,n="2.0.6",a={},i={},l={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},c={currentLocale:l.currentLocale,zeroFormat:l.zeroFormat,nullFormat:l.nullFormat,defaultFormat:l.defaultFormat,scalePercentBy100:l.scalePercentBy100};function u(s,d){this._input=s,this._value=d}return t=function(s){var d,f,m,p;if(t.isNumeral(s))d=s.value();else if(s===0||typeof s>"u")d=0;else if(s===null||r.isNaN(s))d=null;else if(typeof s=="string")if(c.zeroFormat&&s===c.zeroFormat)d=0;else if(c.nullFormat&&s===c.nullFormat||!s.replace(/[^0-9]+/g,"").length)d=null;else{for(f in a)if(p=typeof a[f].regexps.unformat=="function"?a[f].regexps.unformat():a[f].regexps.unformat,p&&s.match(p)){m=a[f].unformat;break}m=m||t._.stringToNumber,d=m(s)}else d=Number(s)||null;return new u(s,d)},t.version=n,t.isNumeral=function(s){return s instanceof u},t._=r={numberToFormat:function(s,d,f){var m=i[t.options.currentLocale],p=!1,g=!1,h=0,b="",k=1e12,C=1e9,S=1e6,L=1e3,R="",N=!1,w,y,E,V,_,D,P;if(s=s||0,y=Math.abs(s),t._.includes(d,"(")?(p=!0,d=d.replace(/[\(|\)]/g,"")):(t._.includes(d,"+")||t._.includes(d,"-"))&&(_=t._.includes(d,"+")?d.indexOf("+"):s<0?d.indexOf("-"):-1,d=d.replace(/[\+|\-]/g,"")),t._.includes(d,"a")&&(w=d.match(/a(k|m|b|t)?/),w=w?w[1]:!1,t._.includes(d," a")&&(b=" "),d=d.replace(new RegExp(b+"a[kmbt]?"),""),y>=k&&!w||w==="t"?(b+=m.abbreviations.trillion,s=s/k):y<k&&y>=C&&!w||w==="b"?(b+=m.abbreviations.billion,s=s/C):y<C&&y>=S&&!w||w==="m"?(b+=m.abbreviations.million,s=s/S):(y<S&&y>=L&&!w||w==="k")&&(b+=m.abbreviations.thousand,s=s/L)),t._.includes(d,"[.]")&&(g=!0,d=d.replace("[.]",".")),E=s.toString().split(".")[0],V=d.split(".")[1],D=d.indexOf(","),h=(d.split(".")[0].split(",")[0].match(/0/g)||[]).length,V?(t._.includes(V,"[")?(V=V.replace("]",""),V=V.split("["),R=t._.toFixed(s,V[0].length+V[1].length,f,V[1].length)):R=t._.toFixed(s,V.length,f),E=R.split(".")[0],t._.includes(R,".")?R=m.delimiters.decimal+R.split(".")[1]:R="",g&&Number(R.slice(1))===0&&(R="")):E=t._.toFixed(s,0,f),b&&!w&&Number(E)>=1e3&&b!==m.abbreviations.trillion)switch(E=String(Number(E)/1e3),b){case m.abbreviations.thousand:b=m.abbreviations.million;break;case m.abbreviations.million:b=m.abbreviations.billion;break;case m.abbreviations.billion:b=m.abbreviations.trillion;break}if(t._.includes(E,"-")&&(E=E.slice(1),N=!0),E.length<h)for(var T=h-E.length;T>0;T--)E="0"+E;return D>-1&&(E=E.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+m.delimiters.thousands)),d.indexOf(".")===0&&(E=""),P=E+R+(b||""),p?P=(p&&N?"(":"")+P+(p&&N?")":""):_>=0?P=_===0?(N?"-":"+")+P:P+(N?"-":"+"):N&&(P="-"+P),P},stringToNumber:function(s){var d=i[c.currentLocale],f=s,m={thousand:3,million:6,billion:9,trillion:12},p,g,h;if(c.zeroFormat&&s===c.zeroFormat)g=0;else if(c.nullFormat&&s===c.nullFormat||!s.replace(/[^0-9]+/g,"").length)g=null;else{g=1,d.delimiters.decimal!=="."&&(s=s.replace(/\./g,"").replace(d.delimiters.decimal,"."));for(p in m)if(h=new RegExp("[^a-zA-Z]"+d.abbreviations[p]+"(?:\\)|(\\"+d.currency.symbol+")?(?:\\))?)?$"),f.match(h)){g*=Math.pow(10,m[p]);break}g*=(s.split("-").length+Math.min(s.split("(").length-1,s.split(")").length-1))%2?1:-1,s=s.replace(/[^0-9\.]+/g,""),g*=Number(s)}return g},isNaN:function(s){return typeof s=="number"&&isNaN(s)},includes:function(s,d){return s.indexOf(d)!==-1},insert:function(s,d,f){return s.slice(0,f)+d+s.slice(f)},reduce:function(s,d){if(this===null)throw new TypeError("Array.prototype.reduce called on null or undefined");if(typeof d!="function")throw new TypeError(d+" is not a function");var f=Object(s),m=f.length>>>0,p=0,g;if(arguments.length===3)g=arguments[2];else{for(;p<m&&!(p in f);)p++;if(p>=m)throw new TypeError("Reduce of empty array with no initial value");g=f[p++]}for(;p<m;p++)p in f&&(g=d(g,f[p],p,f));return g},multiplier:function(s){var d=s.toString().split(".");return d.length<2?1:Math.pow(10,d[1].length)},correctionFactor:function(){var s=Array.prototype.slice.call(arguments);return s.reduce(function(d,f){var m=r.multiplier(f);return d>m?d:m},1)},toFixed:function(s,d,f,m){var p=s.toString().split("."),g=d-(m||0),h,b,k,C;return p.length===2?h=Math.min(Math.max(p[1].length,g),d):h=g,k=Math.pow(10,h),C=(f(s+"e+"+h)/k).toFixed(h),m>d-h&&(b=new RegExp("\\.?0{1,"+(m-(d-h))+"}$"),C=C.replace(b,"")),C}},t.options=c,t.formats=a,t.locales=i,t.locale=function(s){return s&&(c.currentLocale=s.toLowerCase()),c.currentLocale},t.localeData=function(s){if(!s)return i[c.currentLocale];if(s=s.toLowerCase(),!i[s])throw new Error("Unknown locale : "+s);return i[s]},t.reset=function(){for(var s in l)c[s]=l[s]},t.zeroFormat=function(s){c.zeroFormat=typeof s=="string"?s:null},t.nullFormat=function(s){c.nullFormat=typeof s=="string"?s:null},t.defaultFormat=function(s){c.defaultFormat=typeof s=="string"?s:"0.0"},t.register=function(s,d,f){if(d=d.toLowerCase(),this[s+"s"][d])throw new TypeError(d+" "+s+" already registered.");return this[s+"s"][d]=f,f},t.validate=function(s,d){var f,m,p,g,h,b,k,C;if(typeof s!="string"&&(s+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",s)),s=s.trim(),s.match(/^\d+$/))return!0;if(s==="")return!1;try{k=t.localeData(d)}catch{k=t.localeData(t.locale())}return p=k.currency.symbol,h=k.abbreviations,f=k.delimiters.decimal,k.delimiters.thousands==="."?m="\\.":m=k.delimiters.thousands,C=s.match(/^[^\d]+/),C!==null&&(s=s.substr(1),C[0]!==p)||(C=s.match(/[^\d]+$/),C!==null&&(s=s.slice(0,-1),C[0]!==h.thousand&&C[0]!==h.million&&C[0]!==h.billion&&C[0]!==h.trillion))?!1:(b=new RegExp(m+"{2}"),s.match(/[^\d.,]/g)?!1:(g=s.split(f),g.length>2?!1:g.length<2?!!g[0].match(/^\d+.*\d$/)&&!g[0].match(b):g[0].length===1?!!g[0].match(/^\d+$/)&&!g[0].match(b)&&!!g[1].match(/^\d+$/):!!g[0].match(/^\d+.*\d$/)&&!g[0].match(b)&&!!g[1].match(/^\d+$/)))},t.fn=u.prototype={clone:function(){return t(this)},format:function(s,d){var f=this._value,m=s||c.defaultFormat,p,g,h;if(d=d||Math.round,f===0&&c.zeroFormat!==null)g=c.zeroFormat;else if(f===null&&c.nullFormat!==null)g=c.nullFormat;else{for(p in a)if(m.match(a[p].regexps.format)){h=a[p].format;break}h=h||t._.numberToFormat,g=h(f,m,d)}return g},value:function(){return this._value},input:function(){return this._input},set:function(s){return this._value=Number(s),this},add:function(s){var d=r.correctionFactor.call(null,this._value,s);function f(m,p,g,h){return m+Math.round(d*p)}return this._value=r.reduce([this._value,s],f,0)/d,this},subtract:function(s){var d=r.correctionFactor.call(null,this._value,s);function f(m,p,g,h){return m-Math.round(d*p)}return this._value=r.reduce([s],f,Math.round(this._value*d))/d,this},multiply:function(s){function d(f,m,p,g){var h=r.correctionFactor(f,m);return Math.round(f*h)*Math.round(m*h)/Math.round(h*h)}return this._value=r.reduce([this._value,s],d,1),this},divide:function(s){function d(f,m,p,g){var h=r.correctionFactor(f,m);return Math.round(f*h)/Math.round(m*h)}return this._value=r.reduce([this._value,s],d),this},difference:function(s){return Math.abs(t(this._value).subtract(s).value())}},t.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(s){var d=s%10;return~~(s%100/10)===1?"th":d===1?"st":d===2?"nd":d===3?"rd":"th"},currency:{symbol:"$"}}),function(){t.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(s,d,f){var m=t._.includes(d," BPS")?" ":"",p;return s=s*1e4,d=d.replace(/\s?BPS/,""),p=t._.numberToFormat(s,d,f),t._.includes(p,")")?(p=p.split(""),p.splice(-1,0,m+"BPS"),p=p.join("")):p=p+m+"BPS",p},unformat:function(s){return+(t._.stringToNumber(s)*1e-4).toFixed(15)}})}(),function(){var s={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]},d={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},f=s.suffixes.concat(d.suffixes.filter(function(p){return s.suffixes.indexOf(p)<0})),m=f.join("|");m="("+m.replace("B","B(?!PS)")+")",t.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(m)},format:function(p,g,h){var b,k=t._.includes(g,"ib")?d:s,C=t._.includes(g," b")||t._.includes(g," ib")?" ":"",S,L,R;for(g=g.replace(/\s?i?b/,""),S=0;S<=k.suffixes.length;S++)if(L=Math.pow(k.base,S),R=Math.pow(k.base,S+1),p===null||p===0||p>=L&&p<R){C+=k.suffixes[S],L>0&&(p=p/L);break}return b=t._.numberToFormat(p,g,h),b+C},unformat:function(p){var g=t._.stringToNumber(p),h,b;if(g){for(h=s.suffixes.length-1;h>=0;h--){if(t._.includes(p,s.suffixes[h])){b=Math.pow(s.base,h);break}if(t._.includes(p,d.suffixes[h])){b=Math.pow(d.base,h);break}}g*=b||1}return g}})}(),function(){t.register("format","currency",{regexps:{format:/(\$)/},format:function(s,d,f){var m=t.locales[t.options.currentLocale],p={before:d.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:d.match(/([\+|\-|\)|\s|\$]*)$/)[0]},g,h,b;for(d=d.replace(/\s?\$\s?/,""),g=t._.numberToFormat(s,d,f),s>=0?(p.before=p.before.replace(/[\-\(]/,""),p.after=p.after.replace(/[\-\)]/,"")):s<0&&!t._.includes(p.before,"-")&&!t._.includes(p.before,"(")&&(p.before="-"+p.before),b=0;b<p.before.length;b++)switch(h=p.before[b],h){case"$":g=t._.insert(g,m.currency.symbol,b);break;case" ":g=t._.insert(g," ",b+m.currency.symbol.length-1);break}for(b=p.after.length-1;b>=0;b--)switch(h=p.after[b],h){case"$":g=b===p.after.length-1?g+m.currency.symbol:t._.insert(g,m.currency.symbol,-(p.after.length-(1+b)));break;case" ":g=b===p.after.length-1?g+" ":t._.insert(g," ",-(p.after.length-(1+b)+m.currency.symbol.length-1));break}return g}})}(),function(){t.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(s,d,f){var m,p=typeof s=="number"&&!t._.isNaN(s)?s.toExponential():"0e+0",g=p.split("e");return d=d.replace(/e[\+|\-]{1}0/,""),m=t._.numberToFormat(Number(g[0]),d,f),m+"e"+g[1]},unformat:function(s){var d=t._.includes(s,"e+")?s.split("e+"):s.split("e-"),f=Number(d[0]),m=Number(d[1]);m=t._.includes(s,"e-")?m*=-1:m;function p(g,h,b,k){var C=t._.correctionFactor(g,h),S=g*C*(h*C)/(C*C);return S}return t._.reduce([f,Math.pow(10,m)],p,1)}})}(),function(){t.register("format","ordinal",{regexps:{format:/(o)/},format:function(s,d,f){var m=t.locales[t.options.currentLocale],p,g=t._.includes(d," o")?" ":"";return d=d.replace(/\s?o/,""),g+=m.ordinal(s),p=t._.numberToFormat(s,d,f),p+g}})}(),function(){t.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(s,d,f){var m=t._.includes(d," %")?" ":"",p;return t.options.scalePercentBy100&&(s=s*100),d=d.replace(/\s?\%/,""),p=t._.numberToFormat(s,d,f),t._.includes(p,")")?(p=p.split(""),p.splice(-1,0,m+"%"),p=p.join("")):p=p+m+"%",p},unformat:function(s){var d=t._.stringToNumber(s);return t.options.scalePercentBy100?d*.01:d}})}(),function(){t.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(s,d,f){var m=Math.floor(s/60/60),p=Math.floor((s-m*60*60)/60),g=Math.round(s-m*60*60-p*60);return m+":"+(p<10?"0"+p:p)+":"+(g<10?"0"+g:g)},unformat:function(s){var d=s.split(":"),f=0;return d.length===3?(f=f+Number(d[0])*60*60,f=f+Number(d[1])*60,f=f+Number(d[2])):d.length===2&&(f=f+Number(d[0])*60,f=f+Number(d[1])),Number(f)}})}(),t})}(Vo)),Vo.exports}var Lm=Pm();const Pa=$n(Lm),La={__name:"FieldExpression",props:["value","type","displayFormat"],setup(e){const t=o.computed(()=>r()),r=()=>e.type==="DATE"?n():e.type==="NUMBER"?a():e.value,n=()=>Fm(e.value,e.displayFormat?e.displayFormat:"MM/dd/yyyy"),a=()=>e.displayFormat?e.displayFormat==="currency"?Pa(e.value).format("$0,0.00"):Pa(e.value).format(e.displayFormat):e.value;return(i,l)=>(o.openBlock(),o.createElementBlock("span",null,o.toDisplayString(t.value),1))}},Mm={class:"flex flex-col w-full"},jm={class:"w-1/4"},zm={class:"w-full mt-5"},Ma={__name:"EntityExplorer",props:{entityName:String},setup(e){const t=e,r=o.ref(t.entityName);o.watch(r,a=>{console.log("Entity changed to:",a)});const n=a=>{r.value=a};return(a,i)=>(o.openBlock(),o.createElementBlock("div",Mm,[o.createElementVNode("div",jm,[(o.openBlock(),o.createBlock(kr,{key:r.value,entityName:r.value,onEntityChangeCallback:n},null,8,["entityName"]))]),o.createElementVNode("div",zm,[(o.openBlock(),o.createBlock(gr,{key:r.value,entityName:r.value},null,8,["entityName"]))])]))}},Um=["onClick"],Wm=["onClick","href"],qm={class:"layout-menuitem-text text-xs font-medium leading-tight break-words"},Hm=["onClick"],Km=["href"],ja=Oe({__name:"Menu",props:{menuName:{type:String,required:!0},layoutType:{type:String,default:"vertical",validator:e=>["vertical","horizontal"].includes(e)}},setup(e){const t=it.useRouter(),r=e,n=o.ref([]),a=async()=>{try{const c={response:[{displayLabel:"Dashboard",icon:"pi pi-home",url:"/"},{displayLabel:"Entity List",icon:"pi pi-building",url:"/entity-list",children:[{displayLabel:"All Entities",url:"/entity-list/all"},{displayLabel:"Create Entity",url:"/entity-list/create"}],isOpen:!1},{displayLabel:"Entity Grid",icon:"pi pi-user",url:"/entity-grid"},{displayLabel:"Entity Tile",icon:"pi pi-building",url:"/entity-tile"},{displayLabel:"Entity Carousel",icon:"pi pi-building",url:"/entity-carousel"},{displayLabel:"Entity Form",icon:"pi pi-building",url:"/entity-form"},{displayLabel:"Entity 360",icon:"pi pi-bars",url:"/entity360"},{displayLabel:"Entity Explorer",icon:"pi pi-bars",url:"/entity-explorer"},{displayLabel:"Panels",icon:"pi pi-cog",url:"/panels"},{displayLabel:"Menu",icon:"pi pi-cog",url:"/menu",children:[{displayLabel:"Main Menu",url:"/menu/main"},{displayLabel:"Sub Menu",url:"/menu/sub"}],isOpen:!1},{displayLabel:"Components",icon:"pi pi-bars",url:"/components"}]};console.log("[Menu] Fetching menu data...",r.menuName),n.value=c.response||[],n.value.forEach(u=>{u.children&&u.children.length>0&&(u.isOpen=!1)}),console.log("[Menu] Loaded menu:",n.value)}catch(c){console.error("[Menu] Failed to load menu:",c)}};o.onMounted(()=>{a()});const i=c=>{n.value.forEach((u,s)=>{u.isOpen=s===c?!u.isOpen:!1})},l=c=>{const u=n.value[c];u.children&&u.children.length>0?i(c):u!=null&&u.url&&t.push(u.url)};return(c,u)=>(o.openBlock(),o.createElementBlock("div",{class:"card rounded-none p-0",style:o.normalizeStyle(e.layoutType==="horizontal"?"width: 100%;":"width: 12rem;")},[o.createElementVNode("ul",{class:o.normalizeClass(["layout-menu list-none",[e.layoutType==="horizontal"?"layout-menu-horizontal p-0 m-0 flex flex-row items-center gap-6":"layout-menu-vertical p-0 m-0 flex flex-col gap-2"]])},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.value,(s,d)=>(o.openBlock(),o.createElementBlock("li",{key:s.id,class:o.normalizeClass(["layout-root-menuitem relative",{"is-open":s.isOpen}])},[c.$slots["list-item-menu-parent"]?(o.openBlock(),o.createElementBlock("a",{key:0,onClick:f=>l(d)},[o.renderSlot(c.$slots,"list-item-menu-parent",{item:s},void 0,!0)],8,Um)):(o.openBlock(),o.createElementBlock("a",{key:1,onClick:f=>l(d),href:s.children&&s.children.length>0?"#":s.url,class:"flex flex-col items-center text-center px-3 py-2 text-gray-700 hover:text-purple-700 cursor-pointer transition-colors duration-300"},[o.createElementVNode("i",{class:o.normalizeClass([s.icon+" text-2xl mb-1","layout-menuitem-icon"])},null,2),o.createElementVNode("span",qm,o.toDisplayString(s.displayLabel),1)],8,Wm)),s.isOpen?(o.openBlock(),o.createElementBlock("ul",{key:2,style:o.normalizeStyle([{width:"12rem"},[e.layoutType==="horizontal"?"left: 0; top: 49px;":"left: 9rem; top: 0;"]]),class:o.normalizeClass(["submenu rounded-xl bg-white list-none",[e.layoutType==="horizontal"?"submenu-horizontal absolute top-full left-0 mt-2 bg-white shadow-md rounded z-50":"submenu-vertical absolute left-[144px] ml-4 space-y-1"]])},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(s.children,(f,m)=>(o.openBlock(),o.createElementBlock("li",{key:f.id},[c.$slots["list-item-menu-child"]?(o.openBlock(),o.createElementBlock("a",{key:0,onClick:p=>i(d)},[o.renderSlot(c.$slots,"list-item-menu-child",{item:f},void 0,!0)],8,Hm)):(o.openBlock(),o.createElementBlock("a",{key:1,href:f.url,class:"layout-submenu-item flex items-center gap-2 text-sm text-gray-700 hover:bg-gray-100 px-3 py-2 rounded transition"},[o.createElementVNode("i",{class:o.normalizeClass([f.icon?f.icon:"pi pi-bars","text-base"])},null,2),o.createElementVNode("span",null,o.toDisplayString(f.displayLabel),1)],8,Km))]))),128))],6)):o.createCommentVNode("",!0)],2))),128))],2)],4))}},[["__scopeId","data-v-918f9cb5"]]),Ym={class:"absolute left-3 top-[-10px] bg-[var(--bg-label-color)] px-1 text-xs text-gray-600 text"},Gm={class:"absolute left-3 top-1/2 transform -translate-y-1/2 text-[var(--span-color)]"},Xm=["placeholder"],Jm={key:0,style:{color:"var(--secondary-color)"},class:"absolute left-3 top-full mt-1 text-xs"},za={__name:"TextInput",props:o.mergeModels({label:{type:String,default:"Label"},placeholder:{type:String,default:"Enter value"},editable:{type:Boolean,default:!0},icon:{type:String,default:""},error:{type:Boolean,default:!1}},{inputValue:{},inputValueModifiers:{}}),emits:o.mergeModels(["update:error"],["update:inputValue"]),setup(e,{emit:t}){const r=t,n=e,a=o.useModel(e,"inputValue");return o.watch(a,i=>{i&&n.error&&r("update:error",!1)}),(i,l)=>(o.openBlock(),o.createElementBlock("div",o.mergeProps({class:"relative"},i.$attrs),[o.createElementVNode("label",Ym,o.toDisplayString(e.label),1),o.createElementVNode("span",Gm,[o.createElementVNode("i",{class:o.normalizeClass(e.icon),style:{"font-size":"1rem"}},null,2)]),o.withDirectives(o.createElementVNode("input",{class:"w-full h-[40px] pl-10 py-2 border border-[var(--border-color)] rounded-lg placeholder:text-xs focus:border-[var(--primary-fore-color)] focus:ring-0 focus:outline-none text","onUpdate:modelValue":l[0]||(l[0]=c=>a.value=c),placeholder:e.placeholder},null,8,Xm),[[o.vModelText,a.value]]),e.error===!0?(o.openBlock(),o.createElementBlock("small",Jm,[o.createElementVNode("pre",null,o.toDisplayString(e.label)+" is required",1)])):o.createCommentVNode("",!0)],16))}},Te=o.reactive({preset:"Aura",primary:"emerald",surface:null,darkTheme:!1,menuMode:"slim-plus",menuTheme:"light"}),Ee=o.reactive({staticMenuDesktopInactive:!1,overlayMenuActive:!1,configSidebarVisible:!1,staticMenuMobileActive:!1,menuHoverActive:!1,rightMenuActive:!1,topbarMenuActive:!1,sidebarActive:!1,anchored:!1,activeMenuItem:null,overlaySubmenuActive:!1});function Qm(){const e=p=>{if(Te.menuMode=p,p==="static"&&(Ee.staticMenuDesktopInactive=!1),p==="horizontal")if(Te.darkTheme){if(!document.startViewTransition){Te.menuTheme="dark";return}document.startViewTransition(()=>Te.menuTheme="dark")}else{if(!document.startViewTransition){Te.menuTheme="light";return}document.startViewTransition(()=>Te.menuTheme="light")}},t=p=>{Ee.activeMenuItem=p.value||p},r=()=>{Te.menuMode==="overlay"&&(Ee.overlayMenuActive=!Ee.overlayMenuActive),window.innerWidth>991?Ee.staticMenuDesktopInactive=!Ee.staticMenuDesktopInactive:Ee.staticMenuMobileActive=!Ee.staticMenuMobileActive},n=()=>{a.value&&(Ee.overlayMenuActive=!1,Ee.overlaySubmenuActive=!1,Ee.staticMenuMobileActive=!1,Ee.menuHoverActive=!1,Ee.configSidebarVisible=!1),Ee.configSidebarVisible=!Ee.configSidebarVisible},a=o.computed(()=>Ee.overlayMenuActive||Ee.staticMenuMobileActive||Ee.overlaySubmenuActive),i=o.computed(()=>window.innerWidth>991),l=o.computed(()=>Te.menuMode==="slim"),c=o.computed(()=>Te.menuMode==="slim-plus"),u=o.computed(()=>Te.menuMode==="horizontal"),s=o.computed(()=>Te.menuMode==="overlay"),d=o.computed(()=>Te.darkTheme),f=o.computed(()=>Te.primary),m=o.computed(()=>Te.surface);return{layoutConfig:Te,layoutState:Ee,getPrimary:f,getSurface:m,isDarkTheme:d,setMenuMode:e,toggleMenu:r,isSidebarActive:a,setActiveMenuItem:t,toggleConfigSidebar:n,isSlim:l,isSlimPlus:c,isHorizontal:u,isDesktop:i,isOverlay:s}}function Zm(){const e=new Map;return{on(t,r){let n=e.get(t);return n?n.push(r):n=[r],e.set(t,n),this},off(t,r){let n=e.get(t);return n&&n.splice(n.indexOf(r)>>>0,1),this},emit(t,r){let n=e.get(t);n&&n.slice().map(a=>{a(r)})},clear(){e.clear()}}}var ep=Object.defineProperty,tp=Object.defineProperties,op=Object.getOwnPropertyDescriptors,$o=Object.getOwnPropertySymbols,Ua=Object.prototype.hasOwnProperty,Wa=Object.prototype.propertyIsEnumerable,qa=(e,t,r)=>t in e?ep(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ge=(e,t)=>{for(var r in t||(t={}))Ua.call(t,r)&&qa(e,r,t[r]);if($o)for(var r of $o(t))Wa.call(t,r)&&qa(e,r,t[r]);return e},It=(e,t)=>tp(e,op(t)),at=(e,t)=>{var r={};for(var n in e)Ua.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&$o)for(var n of $o(e))t.indexOf(n)<0&&Wa.call(e,n)&&(r[n]=e[n]);return r},rp=Zm(),Bt=rp;function Ha(e,t){ea(e)?e.push(...t||[]):Ct(e)&&Object.assign(e,t)}function np(e){return Ct(e)&&e.hasOwnProperty("value")&&e.hasOwnProperty("type")?e.value:e}function ap(e){return e.replaceAll(/ /g,"").replace(/[^\w]/g,"-")}function xr(e="",t=""){return ap(`${$t(e,!1)&&$t(t,!1)?`${e}-`:e}${t}`)}function Ka(e="",t=""){return`--${xr(e,t)}`}function ip(e=""){const t=(e.match(/{/g)||[]).length,r=(e.match(/}/g)||[]).length;return(t+r)%2!==0}function Ya(e,t="",r="",n=[],a){if($t(e)){const i=/{([^}]*)}/g,l=e.trim();if(ip(l))return;if(rt(l,i)){const c=l.replaceAll(i,d=>{const m=d.replace(/{|}/g,"").split(".").filter(p=>!n.some(g=>rt(p,g)));return`var(${Ka(r,ra(m.join("-")))}${Ce(a)?`, ${a}`:""})`}),u=/(\d+\s+[\+\-\*\/]\s+\d+)/g,s=/var\([^)]+\)/g;return rt(c.replace(s,"0"),u)?`calc(${c})`:c}return l}else if(mc(e))return e}function lp(e,t,r){$t(t,!1)&&e.push(`${t}:${r};`)}function Pt(e,t){return e?`${e}{${t}}`:""}var Ga=(...e)=>sp(Qe.getTheme(),...e),sp=(e={},t,r,n)=>{if(t){const{variable:a,options:i}=Qe.defaults||{},{prefix:l,transform:c}=(e==null?void 0:e.options)||i||{},s=rt(t,/{([^}]*)}/g)?t:`{${t}}`;return n==="value"||mr(n)&&c==="strict"?Qe.getTokenValue(t):Ya(s,void 0,l,[a.excludedKeyRegex],r)}return""},Xa=(e={})=>{let{preset:t,options:r}=e;return{preset(n){return t=t?ta(t,n):n,this},options(n){return r=r?ge(ge({},r),n):n,this},primaryPalette(n){const{semantic:a}=t||{};return t=It(ge({},t),{semantic:It(ge({},a),{primary:n})}),this},surfacePalette(n){var a,i;const{semantic:l}=t||{},c=n!=null&&n.hasOwnProperty("light")?n==null?void 0:n.light:n,u=n!=null&&n.hasOwnProperty("dark")?n==null?void 0:n.dark:n,s={colorScheme:{light:ge(ge({},(a=l==null?void 0:l.colorScheme)==null?void 0:a.light),!!c&&{surface:c}),dark:ge(ge({},(i=l==null?void 0:l.colorScheme)==null?void 0:i.dark),!!u&&{surface:u})}};return t=It(ge({},t),{semantic:ge(ge({},l),s)}),this},define({useDefaultPreset:n=!1,useDefaultOptions:a=!1}={}){return{preset:n?Qe.getPreset():t,options:a?Qe.getOptions():r}},update({mergePresets:n=!0,mergeOptions:a=!0}={}){const i={preset:n?ta(Qe.getPreset(),t):t,options:a?ge(ge({},Qe.getOptions()),r):r};return Qe.setTheme(i),i},use(n){const a=this.define(n);return Qe.setTheme(a),a}}};function cp(e,t={}){const r=Qe.defaults.variable,{prefix:n=r.prefix,selector:a=r.selector,excludedKeyRegex:i=r.excludedKeyRegex}=t,l=(s,d="")=>Object.entries(s).reduce((f,[m,p])=>{const g=rt(m,i)?xr(d):xr(d,ra(m)),h=np(p);if(Ct(h)){const{variables:b,tokens:k}=l(h,g);Ha(f.tokens,k),Ha(f.variables,b)}else f.tokens.push((n?g.replace(`${n}-`,""):g).replaceAll("-",".")),lp(f.variables,Ka(g),Ya(h,g,n,[i]));return f},{variables:[],tokens:[]}),{variables:c,tokens:u}=l(e,n);return{value:c,tokens:u,declarations:c.join(""),css:Pt(a,c.join(""))}}var He={regex:{rules:{class:{pattern:/^\.([a-zA-Z][\w-]*)$/,resolve(e){return{type:"class",selector:e,matched:this.pattern.test(e.trim())}}},attr:{pattern:/^\[(.*)\]$/,resolve(e){return{type:"attr",selector:`:root${e}`,matched:this.pattern.test(e.trim())}}},media:{pattern:/^@media (.*)$/,resolve(e){return{type:"media",selector:`${e}{:root{[CSS]}}`,matched:this.pattern.test(e.trim())}}},system:{pattern:/^system$/,resolve(e){return{type:"system",selector:"@media (prefers-color-scheme: dark){:root{[CSS]}}",matched:this.pattern.test(e.trim())}}},custom:{resolve(e){return{type:"custom",selector:e,matched:!0}}}},resolve(e){const t=Object.keys(this.rules).filter(r=>r!=="custom").map(r=>this.rules[r]);return[e].flat().map(r=>{var n;return(n=t.map(a=>a.resolve(r)).find(a=>a.matched))!=null?n:this.rules.custom.resolve(r)})}},_toVariables(e,t){return cp(e,{prefix:t==null?void 0:t.prefix})},getCommon({name:e="",theme:t={},params:r,set:n,defaults:a}){var i,l,c,u,s,d,f;const{preset:m,options:p}=t;let g,h,b,k,C,S,L;if(Ce(m)&&p.transform!=="strict"){const{primitive:R,semantic:N,extend:w}=m,y=N||{},{colorScheme:E}=y,V=at(y,["colorScheme"]),_=w||{},{colorScheme:D}=_,P=at(_,["colorScheme"]),T=E||{},{dark:j}=T,I=at(T,["dark"]),Y=D||{},{dark:M}=Y,$=at(Y,["dark"]),z=Ce(R)?this._toVariables({primitive:R},p):{},te=Ce(V)?this._toVariables({semantic:V},p):{},ne=Ce(I)?this._toVariables({light:I},p):{},ae=Ce(j)?this._toVariables({dark:j},p):{},G=Ce(P)?this._toVariables({semantic:P},p):{},J=Ce($)?this._toVariables({light:$},p):{},ie=Ce(M)?this._toVariables({dark:M},p):{},[le,he]=[(i=z.declarations)!=null?i:"",z.tokens],[Pe,Re]=[(l=te.declarations)!=null?l:"",te.tokens||[]],[Ke,Me]=[(c=ne.declarations)!=null?c:"",ne.tokens||[]],[W,A]=[(u=ae.declarations)!=null?u:"",ae.tokens||[]],[se,de]=[(s=G.declarations)!=null?s:"",G.tokens||[]],[ce,ue]=[(d=J.declarations)!=null?d:"",J.tokens||[]],[ye,Fe]=[(f=ie.declarations)!=null?f:"",ie.tokens||[]];g=this.transformCSS(e,le,"light","variable",p,n,a),h=he;const Ze=this.transformCSS(e,`${Pe}${Ke}`,"light","variable",p,n,a),Se=this.transformCSS(e,`${W}`,"dark","variable",p,n,a);b=`${Ze}${Se}`,k=[...new Set([...Re,...Me,...A])];const Ae=this.transformCSS(e,`${se}${ce}color-scheme:light`,"light","variable",p,n,a),je=this.transformCSS(e,`${ye}color-scheme:dark`,"dark","variable",p,n,a);C=`${Ae}${je}`,S=[...new Set([...de,...ue,...Fe])],L=No(m.css,{dt:Ga})}return{primitive:{css:g,tokens:h},semantic:{css:b,tokens:k},global:{css:C,tokens:S},style:L}},getPreset({name:e="",preset:t={},options:r,params:n,set:a,defaults:i,selector:l}){var c,u,s;let d,f,m;if(Ce(t)&&r.transform!=="strict"){const p=e.replace("-directive",""),g=t,{colorScheme:h,extend:b,css:k}=g,C=at(g,["colorScheme","extend","css"]),S=b||{},{colorScheme:L}=S,R=at(S,["colorScheme"]),N=h||{},{dark:w}=N,y=at(N,["dark"]),E=L||{},{dark:V}=E,_=at(E,["dark"]),D=Ce(C)?this._toVariables({[p]:ge(ge({},C),R)},r):{},P=Ce(y)?this._toVariables({[p]:ge(ge({},y),_)},r):{},T=Ce(w)?this._toVariables({[p]:ge(ge({},w),V)},r):{},[j,I]=[(c=D.declarations)!=null?c:"",D.tokens||[]],[Y,M]=[(u=P.declarations)!=null?u:"",P.tokens||[]],[$,z]=[(s=T.declarations)!=null?s:"",T.tokens||[]],te=this.transformCSS(p,`${j}${Y}`,"light","variable",r,a,i,l),ne=this.transformCSS(p,$,"dark","variable",r,a,i,l);d=`${te}${ne}`,f=[...new Set([...I,...M,...z])],m=No(k,{dt:Ga})}return{css:d,tokens:f,style:m}},getPresetC({name:e="",theme:t={},params:r,set:n,defaults:a}){var i;const{preset:l,options:c}=t,u=(i=l==null?void 0:l.components)==null?void 0:i[e];return this.getPreset({name:e,preset:u,options:c,params:r,set:n,defaults:a})},getPresetD({name:e="",theme:t={},params:r,set:n,defaults:a}){var i;const l=e.replace("-directive",""),{preset:c,options:u}=t,s=(i=c==null?void 0:c.directives)==null?void 0:i[l];return this.getPreset({name:l,preset:s,options:u,params:r,set:n,defaults:a})},applyDarkColorScheme(e){return!(e.darkModeSelector==="none"||e.darkModeSelector===!1)},getColorSchemeOption(e,t){var r;return this.applyDarkColorScheme(e)?this.regex.resolve(e.darkModeSelector===!0?t.options.darkModeSelector:(r=e.darkModeSelector)!=null?r:t.options.darkModeSelector):[]},getLayerOrder(e,t={},r,n){const{cssLayer:a}=t;return a?`@layer ${No(a.order||"primeui",r)}`:""},getCommonStyleSheet({name:e="",theme:t={},params:r,props:n={},set:a,defaults:i}){const l=this.getCommon({name:e,theme:t,params:r,set:a,defaults:i}),c=Object.entries(n).reduce((u,[s,d])=>u.push(`${s}="${d}"`)&&u,[]).join(" ");return Object.entries(l||{}).reduce((u,[s,d])=>{if(d!=null&&d.css){const f=oa(d==null?void 0:d.css),m=`${s}-variables`;u.push(`<style type="text/css" data-primevue-style-id="${m}" ${c}>${f}</style>`)}return u},[]).join("")},getStyleSheet({name:e="",theme:t={},params:r,props:n={},set:a,defaults:i}){var l;const c={name:e,theme:t,params:r,set:a,defaults:i},u=(l=e.includes("-directive")?this.getPresetD(c):this.getPresetC(c))==null?void 0:l.css,s=Object.entries(n).reduce((d,[f,m])=>d.push(`${f}="${m}"`)&&d,[]).join(" ");return u?`<style type="text/css" data-primevue-style-id="${e}-variables" ${s}>${oa(u)}</style>`:""},createTokens(e={},t,r="",n="",a={}){return Object.entries(e).forEach(([i,l])=>{const c=rt(i,t.variable.excludedKeyRegex)?r:r?`${r}.${na(i)}`:na(i),u=n?`${n}.${i}`:i;Ct(l)?this.createTokens(l,t,c,u,a):(a[c]||(a[c]={paths:[],computed(s,d={}){var f,m;return this.paths.length===1?(f=this.paths[0])==null?void 0:f.computed(this.paths[0].scheme,d.binding):s&&s!=="none"?(m=this.paths.find(p=>p.scheme===s))==null?void 0:m.computed(s,d.binding):this.paths.map(p=>p.computed(p.scheme,d[p.scheme]))}}),a[c].paths.push({path:u,value:l,scheme:u.includes("colorScheme.light")?"light":u.includes("colorScheme.dark")?"dark":"none",computed(s,d={}){const f=/{([^}]*)}/g;let m=l;if(d.name=this.path,d.binding||(d.binding={}),rt(l,f)){const g=l.trim().replaceAll(f,k=>{var C;const S=k.replace(/{|}/g,""),L=(C=a[S])==null?void 0:C.computed(s,d);return ea(L)&&L.length===2?`light-dark(${L[0].value},${L[1].value})`:L==null?void 0:L.value}),h=/(\d+\w*\s+[\+\-\*\/]\s+\d+\w*)/g,b=/var\([^)]+\)/g;m=rt(g.replace(b,"0"),h)?`calc(${g})`:g}return mr(d.binding)&&delete d.binding,{colorScheme:s,path:this.path,paths:d,value:m.includes("undefined")?void 0:m}}}))}),a},getTokenValue(e,t,r){var n;const i=(u=>u.split(".").filter(d=>!rt(d.toLowerCase(),r.variable.excludedKeyRegex)).join("."))(t),l=t.includes("colorScheme.light")?"light":t.includes("colorScheme.dark")?"dark":void 0,c=[(n=e[i])==null?void 0:n.computed(l)].flat().filter(u=>u);return c.length===1?c[0].value:c.reduce((u={},s)=>{const d=s,{colorScheme:f}=d,m=at(d,["colorScheme"]);return u[f]=m,u},void 0)},getSelectorRule(e,t,r,n){return r==="class"||r==="attr"?Pt(Ce(t)?`${e}${t},${e} ${t}`:e,n):Pt(e,Ce(t)?Pt(t,n):n)},transformCSS(e,t,r,n,a={},i,l,c){if(Ce(t)){const{cssLayer:u}=a;if(n!=="style"){const s=this.getColorSchemeOption(a,l);t=r==="dark"?s.reduce((d,{type:f,selector:m})=>(Ce(m)&&(d+=m.includes("[CSS]")?m.replace("[CSS]",t):this.getSelectorRule(m,c,f,t)),d),""):Pt(c??":root",t)}if(u){const s={name:"primeui",order:"primeui"};Ct(u)&&(s.name=No(u.name,{name:e,type:n})),Ce(s.name)&&(t=Pt(`@layer ${s.name}`,t),i==null||i.layerNames(s.name))}return t}return""}},Qe={defaults:{variable:{prefix:"p",selector:":root",excludedKeyRegex:/^(primitive|semantic|components|directives|variables|colorscheme|light|dark|common|root|states|extend|css)$/gi},options:{prefix:"p",darkModeSelector:"system",cssLayer:!1}},_theme:void 0,_layerNames:new Set,_loadedStyleNames:new Set,_loadingStyles:new Set,_tokens:{},update(e={}){const{theme:t}=e;t&&(this._theme=It(ge({},t),{options:ge(ge({},this.defaults.options),t.options)}),this._tokens=He.createTokens(this.preset,this.defaults),this.clearLoadedStyleNames())},get theme(){return this._theme},get preset(){var e;return((e=this.theme)==null?void 0:e.preset)||{}},get options(){var e;return((e=this.theme)==null?void 0:e.options)||{}},get tokens(){return this._tokens},getTheme(){return this.theme},setTheme(e){this.update({theme:e}),Bt.emit("theme:change",e)},getPreset(){return this.preset},setPreset(e){this._theme=It(ge({},this.theme),{preset:e}),this._tokens=He.createTokens(e,this.defaults),this.clearLoadedStyleNames(),Bt.emit("preset:change",e),Bt.emit("theme:change",this.theme)},getOptions(){return this.options},setOptions(e){this._theme=It(ge({},this.theme),{options:e}),this.clearLoadedStyleNames(),Bt.emit("options:change",e),Bt.emit("theme:change",this.theme)},getLayerNames(){return[...this._layerNames]},setLayerNames(e){this._layerNames.add(e)},getLoadedStyleNames(){return this._loadedStyleNames},isStyleNameLoaded(e){return this._loadedStyleNames.has(e)},setLoadedStyleName(e){this._loadedStyleNames.add(e)},deleteLoadedStyleName(e){this._loadedStyleNames.delete(e)},clearLoadedStyleNames(){this._loadedStyleNames.clear()},getTokenValue(e){return He.getTokenValue(this.tokens,e,this.defaults)},getCommon(e="",t){return He.getCommon({name:e,theme:this.theme,params:t,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getComponent(e="",t){const r={name:e,theme:this.theme,params:t,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return He.getPresetC(r)},getDirective(e="",t){const r={name:e,theme:this.theme,params:t,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return He.getPresetD(r)},getCustomPreset(e="",t,r,n){const a={name:e,preset:t,options:this.options,selector:r,params:n,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return He.getPreset(a)},getLayerOrderCSS(e=""){return He.getLayerOrder(e,this.options,{names:this.getLayerNames()},this.defaults)},transformCSS(e="",t,r="style",n){return He.transformCSS(e,t,n,r,this.options,{layerNames:this.setLayerNames.bind(this)},this.defaults)},getCommonStyleSheet(e="",t,r={}){return He.getCommonStyleSheet({name:e,theme:this.theme,params:t,props:r,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getStyleSheet(e,t,r={}){return He.getStyleSheet({name:e,theme:this.theme,params:t,props:r,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},onStyleMounted(e){this._loadingStyles.add(e)},onStyleUpdated(e){this._loadingStyles.add(e)},onStyleLoaded(e,{name:t}){this._loadingStyles.size&&(this._loadingStyles.delete(t),Bt.emit(`theme:${t}:load`,e),!this._loadingStyles.size&&Bt.emit("theme:load"))}};function dp(e){return Xa().surfacePalette(e).update().preset}var up={root:{transitionDuration:"{transition.duration}"},panel:{borderWidth:"0 0 1px 0",borderColor:"{content.border.color}"},header:{color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{text.color}",padding:"1.125rem",fontWeight:"600",borderRadius:"0",borderWidth:"0",borderColor:"{content.border.color}",background:"{content.background}",hoverBackground:"{content.background}",activeBackground:"{content.background}",activeHoverBackground:"{content.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},toggleIcon:{color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{text.color}",activeHoverColor:"{text.color}"},first:{topBorderRadius:"{content.border.radius}",borderWidth:"0"},last:{bottomBorderRadius:"{content.border.radius}",activeBottomBorderRadius:"0"}},content:{borderWidth:"0",borderColor:"{content.border.color}",background:"{content.background}",color:"{text.color}",padding:"0 1.125rem 1.125rem 1.125rem"}},fp={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}"},overlay:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},list:{padding:"{list.padding}",gap:"{list.gap}"},option:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},optionGroup:{background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},dropdown:{width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"},borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},chip:{borderRadius:"{border.radius.sm}"},emptyMessage:{padding:"{list.option.padding}"},colorScheme:{light:{chip:{focusBackground:"{surface.200}",focusColor:"{surface.800}"},dropdown:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}"}},dark:{chip:{focusBackground:"{surface.700}",focusColor:"{surface.0}"},dropdown:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}"}}}},mp={root:{width:"2rem",height:"2rem",fontSize:"1rem",background:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},icon:{size:"1rem"},group:{borderColor:"{content.background}",offset:"-0.75rem"},lg:{width:"3rem",height:"3rem",fontSize:"1.5rem",icon:{size:"1.5rem"},group:{offset:"-1rem"}},xl:{width:"4rem",height:"4rem",fontSize:"2rem",icon:{size:"2rem"},group:{offset:"-1.5rem"}}},pp={root:{borderRadius:"{border.radius.md}",padding:"0 0.5rem",fontSize:"0.75rem",fontWeight:"700",minWidth:"1.5rem",height:"1.5rem"},dot:{size:"0.5rem"},sm:{fontSize:"0.625rem",minWidth:"1.25rem",height:"1.25rem"},lg:{fontSize:"0.875rem",minWidth:"1.75rem",height:"1.75rem"},xl:{fontSize:"1rem",minWidth:"2rem",height:"2rem"},colorScheme:{light:{primary:{background:"{primary.color}",color:"{primary.contrast.color}"},secondary:{background:"{surface.100}",color:"{surface.600}"},success:{background:"{green.500}",color:"{surface.0}"},info:{background:"{sky.500}",color:"{surface.0}"},warn:{background:"{orange.500}",color:"{surface.0}"},danger:{background:"{red.500}",color:"{surface.0}"},contrast:{background:"{surface.950}",color:"{surface.0}"}},dark:{primary:{background:"{primary.color}",color:"{primary.contrast.color}"},secondary:{background:"{surface.800}",color:"{surface.300}"},success:{background:"{green.400}",color:"{green.950}"},info:{background:"{sky.400}",color:"{sky.950}"},warn:{background:"{orange.400}",color:"{orange.950}"},danger:{background:"{red.400}",color:"{red.950}"},contrast:{background:"{surface.0}",color:"{surface.950}"}}}},gp={primitive:{borderRadius:{none:"0",xs:"2px",sm:"4px",md:"6px",lg:"8px",xl:"12px"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},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"},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"},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"}},semantic:{transitionDuration:"0.2s",focusRing:{width:"1px",style:"solid",color:"{primary.color}",offset:"2px",shadow:"none"},disabledOpacity:"0.6",iconSize:"1rem",anchorGutter:"2px",primary:{50:"{emerald.50}",100:"{emerald.100}",200:"{emerald.200}",300:"{emerald.300}",400:"{emerald.400}",500:"{emerald.500}",600:"{emerald.600}",700:"{emerald.700}",800:"{emerald.800}",900:"{emerald.900}",950:"{emerald.950}"},formField:{paddingX:"0.75rem",paddingY:"0.5rem",sm:{fontSize:"0.875rem",paddingX:"0.625rem",paddingY:"0.375rem"},lg:{fontSize:"1.125rem",paddingX:"0.875rem",paddingY:"0.625rem"},borderRadius:"{border.radius.md}",focusRing:{width:"0",style:"none",color:"transparent",offset:"0",shadow:"none"},transitionDuration:"{transition.duration}"},list:{padding:"0.25rem 0.25rem",gap:"2px",header:{padding:"0.5rem 1rem 0.25rem 1rem"},option:{padding:"0.5rem 0.75rem",borderRadius:"{border.radius.sm}"},optionGroup:{padding:"0.5rem 0.75rem",fontWeight:"600"}},content:{borderRadius:"{border.radius.md}"},mask:{transitionDuration:"0.15s"},navigation:{list:{padding:"0.25rem 0.25rem",gap:"2px"},item:{padding:"0.5rem 0.75rem",borderRadius:"{border.radius.sm}",gap:"0.5rem"},submenuLabel:{padding:"0.5rem 0.75rem",fontWeight:"600"},submenuIcon:{size:"0.875rem"}},overlay:{select:{borderRadius:"{border.radius.md}",shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"},popover:{borderRadius:"{border.radius.md}",padding:"0.75rem",shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"},modal:{borderRadius:"{border.radius.xl}",padding:"1.25rem",shadow:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1)"},navigation:{shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"}},colorScheme:{light:{surface:{0:"#ffffff",50:"{slate.50}",100:"{slate.100}",200:"{slate.200}",300:"{slate.300}",400:"{slate.400}",500:"{slate.500}",600:"{slate.600}",700:"{slate.700}",800:"{slate.800}",900:"{slate.900}",950:"{slate.950}"},primary:{color:"{primary.500}",contrastColor:"#ffffff",hoverColor:"{primary.600}",activeColor:"{primary.700}"},highlight:{background:"{primary.50}",focusBackground:"{primary.100}",color:"{primary.700}",focusColor:"{primary.800}"},mask:{background:"rgba(0,0,0,0.4)",color:"{surface.200}"},formField:{background:"{surface.0}",disabledBackground:"{surface.200}",filledBackground:"{surface.50}",filledHoverBackground:"{surface.50}",filledFocusBackground:"{surface.50}",borderColor:"{surface.300}",hoverBorderColor:"{surface.400}",focusBorderColor:"{primary.color}",invalidBorderColor:"{red.400}",color:"{surface.700}",disabledColor:"{surface.500}",placeholderColor:"{surface.500}",invalidPlaceholderColor:"{red.600}",floatLabelColor:"{surface.500}",floatLabelFocusColor:"{primary.600}",floatLabelActiveColor:"{surface.500}",floatLabelInvalidColor:"{form.field.invalid.placeholder.color}",iconColor:"{surface.400}",shadow:"0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)"},text:{color:"{surface.700}",hoverColor:"{surface.800}",mutedColor:"{surface.500}",hoverMutedColor:"{surface.600}"},content:{background:"{surface.0}",hoverBackground:"{surface.100}",borderColor:"{surface.200}",color:"{text.color}",hoverColor:"{text.hover.color}"},overlay:{select:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"},popover:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"},modal:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"}},list:{option:{focusBackground:"{surface.100}",selectedBackground:"{highlight.background}",selectedFocusBackground:"{highlight.focus.background}",color:"{text.color}",focusColor:"{text.hover.color}",selectedColor:"{highlight.color}",selectedFocusColor:"{highlight.focus.color}",icon:{color:"{surface.400}",focusColor:"{surface.500}"}},optionGroup:{background:"transparent",color:"{text.muted.color}"}},navigation:{item:{focusBackground:"{surface.100}",activeBackground:"{surface.100}",color:"{text.color}",focusColor:"{text.hover.color}",activeColor:"{text.hover.color}",icon:{color:"{surface.400}",focusColor:"{surface.500}",activeColor:"{surface.500}"}},submenuLabel:{background:"transparent",color:"{text.muted.color}"},submenuIcon:{color:"{surface.400}",focusColor:"{surface.500}",activeColor:"{surface.500}"}}},dark:{surface:{0:"#ffffff",50:"{zinc.50}",100:"{zinc.100}",200:"{zinc.200}",300:"{zinc.300}",400:"{zinc.400}",500:"{zinc.500}",600:"{zinc.600}",700:"{zinc.700}",800:"{zinc.800}",900:"{zinc.900}",950:"{zinc.950}"},primary:{color:"{primary.400}",contrastColor:"{surface.900}",hoverColor:"{primary.300}",activeColor:"{primary.200}"},highlight:{background:"color-mix(in srgb, {primary.400}, transparent 84%)",focusBackground:"color-mix(in srgb, {primary.400}, transparent 76%)",color:"rgba(255,255,255,.87)",focusColor:"rgba(255,255,255,.87)"},mask:{background:"rgba(0,0,0,0.6)",color:"{surface.200}"},formField:{background:"{surface.950}",disabledBackground:"{surface.700}",filledBackground:"{surface.800}",filledHoverBackground:"{surface.800}",filledFocusBackground:"{surface.800}",borderColor:"{surface.600}",hoverBorderColor:"{surface.500}",focusBorderColor:"{primary.color}",invalidBorderColor:"{red.300}",color:"{surface.0}",disabledColor:"{surface.400}",placeholderColor:"{surface.400}",invalidPlaceholderColor:"{red.400}",floatLabelColor:"{surface.400}",floatLabelFocusColor:"{primary.color}",floatLabelActiveColor:"{surface.400}",floatLabelInvalidColor:"{form.field.invalid.placeholder.color}",iconColor:"{surface.400}",shadow:"0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)"},text:{color:"{surface.0}",hoverColor:"{surface.0}",mutedColor:"{surface.400}",hoverMutedColor:"{surface.300}"},content:{background:"{surface.900}",hoverBackground:"{surface.800}",borderColor:"{surface.700}",color:"{text.color}",hoverColor:"{text.hover.color}"},overlay:{select:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"},popover:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"},modal:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"}},list:{option:{focusBackground:"{surface.800}",selectedBackground:"{highlight.background}",selectedFocusBackground:"{highlight.focus.background}",color:"{text.color}",focusColor:"{text.hover.color}",selectedColor:"{highlight.color}",selectedFocusColor:"{highlight.focus.color}",icon:{color:"{surface.500}",focusColor:"{surface.400}"}},optionGroup:{background:"transparent",color:"{text.muted.color}"}},navigation:{item:{focusBackground:"{surface.800}",activeBackground:"{surface.800}",color:"{text.color}",focusColor:"{text.hover.color}",activeColor:"{text.hover.color}",icon:{color:"{surface.500}",focusColor:"{surface.400}",activeColor:"{surface.400}"}},submenuLabel:{background:"transparent",color:"{text.muted.color}"},submenuIcon:{color:"{surface.500}",focusColor:"{surface.400}",activeColor:"{surface.400}"}}}}}},hp={root:{borderRadius:"{content.border.radius}"}},bp={root:{padding:"1rem",background:"{content.background}",gap:"0.5rem",transitionDuration:"{transition.duration}"},item:{color:"{text.muted.color}",hoverColor:"{text.color}",borderRadius:"{content.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",hoverColor:"{navigation.item.icon.focus.color}"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},separator:{color:"{navigation.item.icon.color}"}},yp={root:{borderRadius:"{form.field.border.radius}",roundedBorderRadius:"2rem",gap:"0.5rem",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",iconOnlyWidth:"2.5rem",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"},label:{fontWeight:"500"},raisedShadow:"0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"},badgeSize:"1rem",transitionDuration:"{form.field.transition.duration}"},colorScheme:{light:{root:{primary:{background:"{primary.color}",hoverBackground:"{primary.hover.color}",activeBackground:"{primary.active.color}",borderColor:"{primary.color}",hoverBorderColor:"{primary.hover.color}",activeBorderColor:"{primary.active.color}",color:"{primary.contrast.color}",hoverColor:"{primary.contrast.color}",activeColor:"{primary.contrast.color}",focusRing:{color:"{primary.color}",shadow:"none"}},secondary:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",borderColor:"{surface.100}",hoverBorderColor:"{surface.200}",activeBorderColor:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}",focusRing:{color:"{surface.600}",shadow:"none"}},info:{background:"{sky.500}",hoverBackground:"{sky.600}",activeBackground:"{sky.700}",borderColor:"{sky.500}",hoverBorderColor:"{sky.600}",activeBorderColor:"{sky.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{sky.500}",shadow:"none"}},success:{background:"{green.500}",hoverBackground:"{green.600}",activeBackground:"{green.700}",borderColor:"{green.500}",hoverBorderColor:"{green.600}",activeBorderColor:"{green.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{green.500}",shadow:"none"}},warn:{background:"{orange.500}",hoverBackground:"{orange.600}",activeBackground:"{orange.700}",borderColor:"{orange.500}",hoverBorderColor:"{orange.600}",activeBorderColor:"{orange.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{orange.500}",shadow:"none"}},help:{background:"{purple.500}",hoverBackground:"{purple.600}",activeBackground:"{purple.700}",borderColor:"{purple.500}",hoverBorderColor:"{purple.600}",activeBorderColor:"{purple.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{purple.500}",shadow:"none"}},danger:{background:"{red.500}",hoverBackground:"{red.600}",activeBackground:"{red.700}",borderColor:"{red.500}",hoverBorderColor:"{red.600}",activeBorderColor:"{red.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{red.500}",shadow:"none"}},contrast:{background:"{surface.950}",hoverBackground:"{surface.900}",activeBackground:"{surface.800}",borderColor:"{surface.950}",hoverBorderColor:"{surface.900}",activeBorderColor:"{surface.800}",color:"{surface.0}",hoverColor:"{surface.0}",activeColor:"{surface.0}",focusRing:{color:"{surface.950}",shadow:"none"}}},outlined:{primary:{hoverBackground:"{primary.50}",activeBackground:"{primary.100}",borderColor:"{primary.200}",color:"{primary.color}"},secondary:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.200}",color:"{surface.500}"},success:{hoverBackground:"{green.50}",activeBackground:"{green.100}",borderColor:"{green.200}",color:"{green.500}"},info:{hoverBackground:"{sky.50}",activeBackground:"{sky.100}",borderColor:"{sky.200}",color:"{sky.500}"},warn:{hoverBackground:"{orange.50}",activeBackground:"{orange.100}",borderColor:"{orange.200}",color:"{orange.500}"},help:{hoverBackground:"{purple.50}",activeBackground:"{purple.100}",borderColor:"{purple.200}",color:"{purple.500}"},danger:{hoverBackground:"{red.50}",activeBackground:"{red.100}",borderColor:"{red.200}",color:"{red.500}"},contrast:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.700}",color:"{surface.950}"},plain:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.200}",color:"{surface.700}"}},text:{primary:{hoverBackground:"{primary.50}",activeBackground:"{primary.100}",color:"{primary.color}"},secondary:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.500}"},success:{hoverBackground:"{green.50}",activeBackground:"{green.100}",color:"{green.500}"},info:{hoverBackground:"{sky.50}",activeBackground:"{sky.100}",color:"{sky.500}"},warn:{hoverBackground:"{orange.50}",activeBackground:"{orange.100}",color:"{orange.500}"},help:{hoverBackground:"{purple.50}",activeBackground:"{purple.100}",color:"{purple.500}"},danger:{hoverBackground:"{red.50}",activeBackground:"{red.100}",color:"{red.500}"},contrast:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.950}"},plain:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.700}"}},link:{color:"{primary.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}},dark:{root:{primary:{background:"{primary.color}",hoverBackground:"{primary.hover.color}",activeBackground:"{primary.active.color}",borderColor:"{primary.color}",hoverBorderColor:"{primary.hover.color}",activeBorderColor:"{primary.active.color}",color:"{primary.contrast.color}",hoverColor:"{primary.contrast.color}",activeColor:"{primary.contrast.color}",focusRing:{color:"{primary.color}",shadow:"none"}},secondary:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",borderColor:"{surface.800}",hoverBorderColor:"{surface.700}",activeBorderColor:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}",focusRing:{color:"{surface.300}",shadow:"none"}},info:{background:"{sky.400}",hoverBackground:"{sky.300}",activeBackground:"{sky.200}",borderColor:"{sky.400}",hoverBorderColor:"{sky.300}",activeBorderColor:"{sky.200}",color:"{sky.950}",hoverColor:"{sky.950}",activeColor:"{sky.950}",focusRing:{color:"{sky.400}",shadow:"none"}},success:{background:"{green.400}",hoverBackground:"{green.300}",activeBackground:"{green.200}",borderColor:"{green.400}",hoverBorderColor:"{green.300}",activeBorderColor:"{green.200}",color:"{green.950}",hoverColor:"{green.950}",activeColor:"{green.950}",focusRing:{color:"{green.400}",shadow:"none"}},warn:{background:"{orange.400}",hoverBackground:"{orange.300}",activeBackground:"{orange.200}",borderColor:"{orange.400}",hoverBorderColor:"{orange.300}",activeBorderColor:"{orange.200}",color:"{orange.950}",hoverColor:"{orange.950}",activeColor:"{orange.950}",focusRing:{color:"{orange.400}",shadow:"none"}},help:{background:"{purple.400}",hoverBackground:"{purple.300}",activeBackground:"{purple.200}",borderColor:"{purple.400}",hoverBorderColor:"{purple.300}",activeBorderColor:"{purple.200}",color:"{purple.950}",hoverColor:"{purple.950}",activeColor:"{purple.950}",focusRing:{color:"{purple.400}",shadow:"none"}},danger:{background:"{red.400}",hoverBackground:"{red.300}",activeBackground:"{red.200}",borderColor:"{red.400}",hoverBorderColor:"{red.300}",activeBorderColor:"{red.200}",color:"{red.950}",hoverColor:"{red.950}",activeColor:"{red.950}",focusRing:{color:"{red.400}",shadow:"none"}},contrast:{background:"{surface.0}",hoverBackground:"{surface.100}",activeBackground:"{surface.200}",borderColor:"{surface.0}",hoverBorderColor:"{surface.100}",activeBorderColor:"{surface.200}",color:"{surface.950}",hoverColor:"{surface.950}",activeColor:"{surface.950}",focusRing:{color:"{surface.0}",shadow:"none"}}},outlined:{primary:{hoverBackground:"color-mix(in srgb, {primary.color}, transparent 96%)",activeBackground:"color-mix(in srgb, {primary.color}, transparent 84%)",borderColor:"{primary.700}",color:"{primary.color}"},secondary:{hoverBackground:"rgba(255,255,255,0.04)",activeBackground:"rgba(255,255,255,0.16)",borderColor:"{surface.700}",color:"{surface.400}"},success:{hoverBackground:"color-mix(in srgb, {green.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {green.400}, transparent 84%)",borderColor:"{green.700}",color:"{green.400}"},info:{hoverBackground:"color-mix(in srgb, {sky.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {sky.400}, transparent 84%)",borderColor:"{sky.700}",color:"{sky.400}"},warn:{hoverBackground:"color-mix(in srgb, {orange.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {orange.400}, transparent 84%)",borderColor:"{orange.700}",color:"{orange.400}"},help:{hoverBackground:"color-mix(in srgb, {purple.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {purple.400}, transparent 84%)",borderColor:"{purple.700}",color:"{purple.400}"},danger:{hoverBackground:"color-mix(in srgb, {red.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {red.400}, transparent 84%)",borderColor:"{red.700}",color:"{red.400}"},contrast:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{surface.500}",color:"{surface.0}"},plain:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{surface.600}",color:"{surface.0}"}},text:{primary:{hoverBackground:"color-mix(in srgb, {primary.color}, transparent 96%)",activeBackground:"color-mix(in srgb, {primary.color}, transparent 84%)",color:"{primary.color}"},secondary:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.400}"},success:{hoverBackground:"color-mix(in srgb, {green.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {green.400}, transparent 84%)",color:"{green.400}"},info:{hoverBackground:"color-mix(in srgb, {sky.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {sky.400}, transparent 84%)",color:"{sky.400}"},warn:{hoverBackground:"color-mix(in srgb, {orange.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {orange.400}, transparent 84%)",color:"{orange.400}"},help:{hoverBackground:"color-mix(in srgb, {purple.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {purple.400}, transparent 84%)",color:"{purple.400}"},danger:{hoverBackground:"color-mix(in srgb, {red.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {red.400}, transparent 84%)",color:"{red.400}"},contrast:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.0}"},plain:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.0}"}},link:{color:"{primary.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}}}},kp={root:{background:"{content.background}",borderRadius:"{border.radius.xl}",color:"{content.color}",shadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},body:{padding:"1.25rem",gap:"0.5rem"},caption:{gap:"0.5rem"},title:{fontSize:"1.25rem",fontWeight:"500"},subtitle:{color:"{text.muted.color}"}},wp={root:{transitionDuration:"{transition.duration}"},content:{gap:"0.25rem"},indicatorList:{padding:"1rem",gap:"0.5rem"},indicator:{width:"2rem",height:"0.5rem",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},colorScheme:{light:{indicator:{background:"{surface.200}",hoverBackground:"{surface.300}",activeBackground:"{primary.color}"}},dark:{indicator:{background:"{surface.700}",hoverBackground:"{surface.600}",activeBackground:"{primary.color}"}}}},xp={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},dropdown:{width:"2.5rem",color:"{form.field.icon.color}"},overlay:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},list:{padding:"{list.padding}",gap:"{list.gap}",mobileIndent:"1rem"},option:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}",icon:{color:"{list.option.icon.color}",focusColor:"{list.option.icon.focus.color}",size:"0.875rem"}},clearIcon:{color:"{form.field.icon.color}"}},vp={root:{borderRadius:"{border.radius.sm}",width:"1.25rem",height:"1.25rem",background:"{form.field.background}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.border.color}",checkedBorderColor:"{primary.color}",checkedHoverBorderColor:"{primary.hover.color}",checkedFocusBorderColor:"{primary.color}",checkedDisabledBorderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{width:"1rem",height:"1rem"},lg:{width:"1.5rem",height:"1.5rem"}},icon:{size:"0.875rem",color:"{form.field.color}",checkedColor:"{primary.contrast.color}",checkedHoverColor:"{primary.contrast.color}",disabledColor:"{form.field.disabled.color}",sm:{size:"0.75rem"},lg:{size:"1rem"}}},Cp={root:{borderRadius:"16px",paddingX:"0.75rem",paddingY:"0.5rem",gap:"0.5rem",transitionDuration:"{transition.duration}"},image:{width:"2rem",height:"2rem"},icon:{size:"1rem"},removeIcon:{size:"1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"}},colorScheme:{light:{root:{background:"{surface.100}",color:"{surface.800}"},icon:{color:"{surface.800}"},removeIcon:{color:"{surface.800}"}},dark:{root:{background:"{surface.800}",color:"{surface.0}"},icon:{color:"{surface.0}"},removeIcon:{color:"{surface.0}"}}}},Ep={root:{transitionDuration:"{transition.duration}"},preview:{width:"1.5rem",height:"1.5rem",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},panel:{shadow:"{overlay.popover.shadow}",borderRadius:"{overlay.popover.borderRadius}"},colorScheme:{light:{panel:{background:"{surface.800}",borderColor:"{surface.900}"},handle:{color:"{surface.0}"}},dark:{panel:{background:"{surface.900}",borderColor:"{surface.700}"},handle:{color:"{surface.0}"}}}},Sp={icon:{size:"2rem",color:"{overlay.modal.color}"},content:{gap:"1rem"}},Bp={root:{background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",color:"{overlay.popover.color}",borderRadius:"{overlay.popover.border.radius}",shadow:"{overlay.popover.shadow}",gutter:"10px",arrowOffset:"1.25rem"},content:{padding:"{overlay.popover.padding}",gap:"1rem"},icon:{size:"1.5rem",color:"{overlay.popover.color}"},footer:{gap:"0.5rem",padding:"0 {overlay.popover.padding} {overlay.popover.padding} {overlay.popover.padding}"}},Np={root:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},list:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},item:{focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},submenu:{mobileIndent:"1rem"},submenuIcon:{size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},separator:{borderColor:"{content.border.color}"}},_p={root:{transitionDuration:"{transition.duration}"},header:{background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},headerCell:{background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{datatable.border.color}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",gap:"0.5rem",padding:"0.75rem 1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},columnTitle:{fontWeight:"600"},row:{background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},bodyCell:{borderColor:"{datatable.border.color}",padding:"0.75rem 1rem"},footerCell:{background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",padding:"0.75rem 1rem"},columnFooter:{fontWeight:"600"},footer:{background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},dropPoint:{color:"{primary.color}"},columnResizerWidth:"0.5rem",resizeIndicator:{width:"1px",color:"{primary.color}"},sortIcon:{color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},loadingIcon:{size:"2rem"},rowToggleButton:{hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",selectedHoverColor:"{primary.color}",size:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},filter:{inlineGap:"0.5rem",overlaySelect:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},overlayPopover:{background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",borderRadius:"{overlay.popover.border.radius}",color:"{overlay.popover.color}",shadow:"{overlay.popover.shadow}",padding:"{overlay.popover.padding}",gap:"0.5rem"},rule:{borderColor:"{content.border.color}"},constraintList:{padding:"{list.padding}",gap:"{list.gap}"},constraint:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",separator:{borderColor:"{content.border.color}"},padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"}},paginatorTop:{borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},paginatorBottom:{borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},colorScheme:{light:{root:{borderColor:"{content.border.color}"},row:{stripedBackground:"{surface.50}"},bodyCell:{selectedBorderColor:"{primary.100}"}},dark:{root:{borderColor:"{surface.800}"},row:{stripedBackground:"{surface.950}"},bodyCell:{selectedBorderColor:"{primary.900}"}}}},Rp={root:{borderColor:"transparent",borderWidth:"0",borderRadius:"0",padding:"0"},header:{background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",borderRadius:"0"},content:{background:"{content.background}",color:"{content.color}",borderColor:"transparent",borderWidth:"0",padding:"0",borderRadius:"0"},footer:{background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"1px 0 0 0",padding:"0.75rem 1rem",borderRadius:"0"},paginatorTop:{borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},paginatorBottom:{borderColor:"{content.border.color}",borderWidth:"1px 0 0 0"}},Tp={root:{transitionDuration:"{transition.duration}"},panel:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.popover.shadow}",padding:"{overlay.popover.padding}"},header:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",padding:"0 0 0.5rem 0"},title:{gap:"0.5rem",fontWeight:"500"},dropdown:{width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"},borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},inputIcon:{color:"{form.field.icon.color}"},selectMonth:{hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}"},selectYear:{hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}"},group:{borderColor:"{content.border.color}",gap:"{overlay.popover.padding}"},dayView:{margin:"0.5rem 0 0 0"},weekDay:{padding:"0.25rem",fontWeight:"500",color:"{content.color}"},date:{hoverBackground:"{content.hover.background}",selectedBackground:"{primary.color}",rangeSelectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{primary.contrast.color}",rangeSelectedColor:"{highlight.color}",width:"2rem",height:"2rem",borderRadius:"50%",padding:"0.25rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},monthView:{margin:"0.5rem 0 0 0"},month:{padding:"0.375rem",borderRadius:"{content.border.radius}"},yearView:{margin:"0.5rem 0 0 0"},year:{padding:"0.375rem",borderRadius:"{content.border.radius}"},buttonbar:{padding:"0.5rem 0 0 0",borderColor:"{content.border.color}"},timePicker:{padding:"0.5rem 0 0 0",borderColor:"{content.border.color}",gap:"0.5rem",buttonGap:"0.25rem"},colorScheme:{light:{dropdown:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}"},today:{background:"{surface.200}",color:"{surface.900}"}},dark:{dropdown:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}"},today:{background:"{surface.700}",color:"{surface.0}"}}}},Dp={root:{background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",borderRadius:"{overlay.modal.border.radius}",shadow:"{overlay.modal.shadow}"},header:{padding:"{overlay.modal.padding}",gap:"0.5rem"},title:{fontSize:"1.25rem",fontWeight:"600"},content:{padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},footer:{padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}",gap:"0.5rem"}},Op={root:{borderColor:"{content.border.color}"},content:{background:"{content.background}",color:"{text.color}"},horizontal:{margin:"1rem 0",padding:"0 1rem",content:{padding:"0 0.5rem"}},vertical:{margin:"0 1rem",padding:"0.5rem 0",content:{padding:"0.5rem 0"}}},Vp={root:{background:"rgba(255, 255, 255, 0.1)",borderColor:"rgba(255, 255, 255, 0.2)",padding:"0.5rem",borderRadius:"{border.radius.xl}"},item:{borderRadius:"{content.border.radius}",padding:"0.5rem",size:"3rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}}},$p={root:{background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",shadow:"{overlay.modal.shadow}"},header:{padding:"{overlay.modal.padding}"},title:{fontSize:"1.5rem",fontWeight:"600"},content:{padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},footer:{padding:"{overlay.modal.padding}"}},Fp={toolbar:{background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}"},toolbarItem:{color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},overlay:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}",padding:"{list.padding}"},overlayOption:{focusBackground:"{list.option.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},content:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"}},Ap={root:{background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",padding:"0 1.125rem 1.125rem 1.125rem",transitionDuration:"{transition.duration}"},legend:{background:"{content.background}",hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",borderRadius:"{content.border.radius}",borderWidth:"1px",borderColor:"transparent",padding:"0.5rem 0.75rem",gap:"0.5rem",fontWeight:"600",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},toggleIcon:{color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}"},content:{padding:"0"}},Ip={root:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},header:{background:"transparent",color:"{text.color}",padding:"1.125rem",borderColor:"unset",borderWidth:"0",borderRadius:"0",gap:"0.5rem"},content:{highlightBorderColor:"{primary.color}",padding:"0 1.125rem 1.125rem 1.125rem",gap:"1rem"},file:{padding:"1rem",gap:"1rem",borderColor:"{content.border.color}",info:{gap:"0.5rem"}},fileList:{gap:"0.5rem"},progressbar:{height:"0.25rem"},basic:{gap:"0.5rem"}},Pp={root:{color:"{form.field.float.label.color}",focusColor:"{form.field.float.label.focus.color}",activeColor:"{form.field.float.label.active.color}",invalidColor:"{form.field.float.label.invalid.color}",transitionDuration:"0.2s",positionX:"{form.field.padding.x}",positionY:"{form.field.padding.y}",fontWeight:"500",active:{fontSize:"0.75rem",fontWeight:"400"}},over:{active:{top:"-1.25rem"}},in:{input:{paddingTop:"1.5rem",paddingBottom:"{form.field.padding.y}"},active:{top:"{form.field.padding.y}"}},on:{borderRadius:"{border.radius.xs}",active:{background:"{form.field.background}",padding:"0 0.125rem"}}},Lp={root:{borderWidth:"1px",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},navButton:{background:"rgba(255, 255, 255, 0.1)",hoverBackground:"rgba(255, 255, 255, 0.2)",color:"{surface.100}",hoverColor:"{surface.0}",size:"3rem",gutter:"0.5rem",prev:{borderRadius:"50%"},next:{borderRadius:"50%"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},navIcon:{size:"1.5rem"},thumbnailsContent:{background:"{content.background}",padding:"1rem 0.25rem"},thumbnailNavButton:{size:"2rem",borderRadius:"{content.border.radius}",gutter:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},thumbnailNavButtonIcon:{size:"1rem"},caption:{background:"rgba(0, 0, 0, 0.5)",color:"{surface.100}",padding:"1rem"},indicatorList:{gap:"0.5rem",padding:"1rem"},indicatorButton:{width:"1rem",height:"1rem",activeBackground:"{primary.color}",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},insetIndicatorList:{background:"rgba(0, 0, 0, 0.5)"},insetIndicatorButton:{background:"rgba(255, 255, 255, 0.4)",hoverBackground:"rgba(255, 255, 255, 0.6)",activeBackground:"rgba(255, 255, 255, 0.9)"},closeButton:{size:"3rem",gutter:"0.5rem",background:"rgba(255, 255, 255, 0.1)",hoverBackground:"rgba(255, 255, 255, 0.2)",color:"{surface.50}",hoverColor:"{surface.0}",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},closeButtonIcon:{size:"1.5rem"},colorScheme:{light:{thumbnailNavButton:{hoverBackground:"{surface.100}",color:"{surface.600}",hoverColor:"{surface.700}"},indicatorButton:{background:"{surface.200}",hoverBackground:"{surface.300}"}},dark:{thumbnailNavButton:{hoverBackground:"{surface.700}",color:"{surface.400}",hoverColor:"{surface.0}"},indicatorButton:{background:"{surface.700}",hoverBackground:"{surface.600}"}}}},Mp={icon:{color:"{form.field.icon.color}"}},jp={root:{color:"{form.field.float.label.color}",focusColor:"{form.field.float.label.focus.color}",invalidColor:"{form.field.float.label.invalid.color}",transitionDuration:"0.2s",positionX:"{form.field.padding.x}",top:"{form.field.padding.y}",fontSize:"0.75rem",fontWeight:"400"},input:{paddingTop:"1.5rem",paddingBottom:"{form.field.padding.y}"}},zp={root:{transitionDuration:"{transition.duration}"},preview:{icon:{size:"1.5rem"},mask:{background:"{mask.background}",color:"{mask.color}"}},toolbar:{position:{left:"auto",right:"1rem",top:"1rem",bottom:"auto"},blur:"8px",background:"rgba(255,255,255,0.1)",borderColor:"rgba(255,255,255,0.2)",borderWidth:"1px",borderRadius:"30px",padding:".5rem",gap:"0.5rem"},action:{hoverBackground:"rgba(255,255,255,0.1)",color:"{surface.50}",hoverColor:"{surface.0}",size:"3rem",iconSize:"1.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}}},Up={handle:{size:"15px",hoverSize:"30px",background:"rgba(255,255,255,0.3)",hoverBackground:"rgba(255,255,255,0.3)",borderColor:"unset",hoverBorderColor:"unset",borderWidth:"0",borderRadius:"50%",transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"rgba(255,255,255,0.3)",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}}},Wp={root:{padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{content.border.radius}",gap:"0.5rem"},text:{fontWeight:"500"},icon:{size:"1rem"},colorScheme:{light:{info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)"},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)"},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)"},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)"},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)"},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)"}},dark:{info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)"},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)"},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)"},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)"},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)"},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)"}}}},qp={root:{padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{transition.duration}"},display:{hoverBackground:"{content.hover.background}",hoverColor:"{content.hover.color}"}},Hp={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}"},chip:{borderRadius:"{border.radius.sm}"},colorScheme:{light:{chip:{focusBackground:"{surface.200}",color:"{surface.800}"}},dark:{chip:{focusBackground:"{surface.700}",color:"{surface.0}"}}}},Kp={addon:{background:"{form.field.background}",borderColor:"{form.field.border.color}",color:"{form.field.icon.color}",borderRadius:"{form.field.border.radius}",padding:"0.5rem",minWidth:"2.5rem"}},Yp={root:{transitionDuration:"{transition.duration}"},button:{width:"2.5rem",borderRadius:"{form.field.border.radius}",verticalPadding:"{form.field.padding.y}"},colorScheme:{light:{button:{background:"transparent",hoverBackground:"{surface.100}",activeBackground:"{surface.200}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",color:"{surface.400}",hoverColor:"{surface.500}",activeColor:"{surface.600}"}},dark:{button:{background:"transparent",hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",color:"{surface.400}",hoverColor:"{surface.300}",activeColor:"{surface.200}"}}}},Gp={root:{gap:"0.5rem"},input:{width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"}}},Xp={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}}},Jp={root:{transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},value:{background:"{primary.color}"},range:{background:"{content.border.color}"},text:{color:"{text.muted.color}"}},Qp={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",borderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",shadow:"{form.field.shadow}",borderRadius:"{form.field.border.radius}",transitionDuration:"{form.field.transition.duration}"},list:{padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},option:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},optionGroup:{background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},checkmark:{color:"{list.option.color}",gutterStart:"-0.375rem",gutterEnd:"0.375rem"},emptyMessage:{padding:"{list.option.padding}"},colorScheme:{light:{option:{stripedBackground:"{surface.50}"}},dark:{option:{stripedBackground:"{surface.900}"}}}},Zp={root:{background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",verticalOrientation:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},horizontalOrientation:{padding:"0.5rem 0.75rem",gap:"0.5rem"},transitionDuration:"{transition.duration}"},baseItem:{borderRadius:"{content.border.radius}",padding:"{navigation.item.padding}"},item:{focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},overlay:{padding:"0",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",shadow:"{overlay.navigation.shadow}",gap:"0.5rem"},submenu:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},submenuLabel:{padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background.}",color:"{navigation.submenu.label.color}"},submenuIcon:{size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},separator:{borderColor:"{content.border.color}"},mobileButton:{borderRadius:"50%",size:"1.75rem",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",hoverBackground:"{content.hover.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}}},eg={root:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},list:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},item:{focusBackground:"{navigation.item.focus.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}"}},submenuLabel:{padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background}",color:"{navigation.submenu.label.color}"},separator:{borderColor:"{content.border.color}"}},tg={root:{background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",padding:"0.5rem 0.75rem",transitionDuration:"{transition.duration}"},baseItem:{borderRadius:"{content.border.radius}",padding:"{navigation.item.padding}"},item:{focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},submenu:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",mobileIndent:"1rem",icon:{size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"}},separator:{borderColor:"{content.border.color}"},mobileButton:{borderRadius:"50%",size:"1.75rem",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",hoverBackground:"{content.hover.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}}},og={root:{borderRadius:"{content.border.radius}",borderWidth:"1px",transitionDuration:"{transition.duration}"},content:{padding:"0.5rem 0.75rem",gap:"0.5rem",sm:{padding:"0.375rem 0.625rem"},lg:{padding:"0.625rem 0.875rem"}},text:{fontSize:"1rem",fontWeight:"500",sm:{fontSize:"0.875rem"},lg:{fontSize:"1.125rem"}},icon:{size:"1.125rem",sm:{size:"1rem"},lg:{size:"1.25rem"}},closeButton:{width:"1.75rem",height:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},closeIcon:{size:"1rem",sm:{size:"0.875rem"},lg:{size:"1.125rem"}},outlined:{root:{borderWidth:"1px"}},simple:{content:{padding:"0"}},colorScheme:{light:{info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"{blue.100}",focusRing:{color:"{blue.600}",shadow:"none"}},outlined:{color:"{blue.600}",borderColor:"{blue.600}"},simple:{color:"{blue.600}"}},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"{green.100}",focusRing:{color:"{green.600}",shadow:"none"}},outlined:{color:"{green.600}",borderColor:"{green.600}"},simple:{color:"{green.600}"}},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"{yellow.100}",focusRing:{color:"{yellow.600}",shadow:"none"}},outlined:{color:"{yellow.600}",borderColor:"{yellow.600}"},simple:{color:"{yellow.600}"}},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"{red.100}",focusRing:{color:"{red.600}",shadow:"none"}},outlined:{color:"{red.600}",borderColor:"{red.600}"},simple:{color:"{red.600}"}},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.200}",focusRing:{color:"{surface.600}",shadow:"none"}},outlined:{color:"{surface.500}",borderColor:"{surface.500}"},simple:{color:"{surface.500}"}},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.800}",focusRing:{color:"{surface.50}",shadow:"none"}},outlined:{color:"{surface.950}",borderColor:"{surface.950}"},simple:{color:"{surface.950}"}}},dark:{info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{blue.500}",shadow:"none"}},outlined:{color:"{blue.500}",borderColor:"{blue.500}"},simple:{color:"{blue.500}"}},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{green.500}",shadow:"none"}},outlined:{color:"{green.500}",borderColor:"{green.500}"},simple:{color:"{green.500}"}},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{yellow.500}",shadow:"none"}},outlined:{color:"{yellow.500}",borderColor:"{yellow.500}"},simple:{color:"{yellow.500}"}},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{red.500}",shadow:"none"}},outlined:{color:"{red.500}",borderColor:"{red.500}"},simple:{color:"{red.500}"}},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.700}",focusRing:{color:"{surface.300}",shadow:"none"}},outlined:{color:"{surface.400}",borderColor:"{surface.400}"},simple:{color:"{surface.400}"}},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.100}",focusRing:{color:"{surface.950}",shadow:"none"}},outlined:{color:"{surface.0}",borderColor:"{surface.0}"},simple:{color:"{surface.0}"}}}}},rg={root:{borderRadius:"{content.border.radius}",gap:"1rem"},meters:{background:"{content.border.color}",size:"0.5rem"},label:{gap:"0.5rem"},labelMarker:{size:"0.5rem"},labelIcon:{size:"1rem"},labelList:{verticalGap:"0.5rem",horizontalGap:"1rem"}},ng={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},dropdown:{width:"2.5rem",color:"{form.field.icon.color}"},overlay:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},list:{padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},option:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}",gap:"0.5rem"},optionGroup:{background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},clearIcon:{color:"{form.field.icon.color}"},chip:{borderRadius:"{border.radius.sm}"},emptyMessage:{padding:"{list.option.padding}"}},ag={root:{gap:"1.125rem"},controls:{gap:"0.5rem"}},ig={root:{gutter:"0.75rem",transitionDuration:"{transition.duration}"},node:{background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{content.border.color}",color:"{content.color}",selectedColor:"{highlight.color}",hoverColor:"{content.hover.color}",padding:"0.75rem 1rem",toggleablePadding:"0.75rem 1rem 1.25rem 1rem",borderRadius:"{content.border.radius}"},nodeToggleButton:{background:"{content.background}",hoverBackground:"{content.hover.background}",borderColor:"{content.border.color}",color:"{text.muted.color}",hoverColor:"{text.color}",size:"1.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},connector:{color:"{content.border.color}",borderRadius:"{content.border.radius}",height:"24px"}},lg={root:{outline:{width:"2px",color:"{content.background}"}}},sg={root:{padding:"0.5rem 1rem",gap:"0.25rem",borderRadius:"{content.border.radius}",background:"{content.background}",color:"{content.color}",transitionDuration:"{transition.duration}"},navButton:{background:"transparent",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedColor:"{highlight.color}",width:"2.5rem",height:"2.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},currentPageReport:{color:"{text.muted.color}"},jumpToPageInput:{maxWidth:"2.5rem"}},cg={root:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},header:{background:"transparent",color:"{text.color}",padding:"1.125rem",borderColor:"{content.border.color}",borderWidth:"0",borderRadius:"0"},toggleableHeader:{padding:"0.375rem 1.125rem"},title:{fontWeight:"600"},content:{padding:"0 1.125rem 1.125rem 1.125rem"},footer:{padding:"0 1.125rem 1.125rem 1.125rem"}},dg={root:{gap:"0.5rem",transitionDuration:"{transition.duration}"},panel:{background:"{content.background}",borderColor:"{content.border.color}",borderWidth:"1px",color:"{content.color}",padding:"0.25rem 0.25rem",borderRadius:"{content.border.radius}",first:{borderWidth:"1px",topBorderRadius:"{content.border.radius}"},last:{borderWidth:"1px",bottomBorderRadius:"{content.border.radius}"}},item:{focusBackground:"{navigation.item.focus.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",gap:"0.5rem",padding:"{navigation.item.padding}",borderRadius:"{content.border.radius}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}"}},submenu:{indent:"1rem"},submenuIcon:{color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}"}},ug={meter:{background:"{content.border.color}",borderRadius:"{content.border.radius}",height:".75rem"},icon:{color:"{form.field.icon.color}"},overlay:{background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",borderRadius:"{overlay.popover.border.radius}",color:"{overlay.popover.color}",padding:"{overlay.popover.padding}",shadow:"{overlay.popover.shadow}"},content:{gap:"0.5rem"},colorScheme:{light:{strength:{weakBackground:"{red.500}",mediumBackground:"{amber.500}",strongBackground:"{green.500}"}},dark:{strength:{weakBackground:"{red.400}",mediumBackground:"{amber.400}",strongBackground:"{green.400}"}}}},fg={root:{gap:"1.125rem"},controls:{gap:"0.5rem"}},mg={root:{background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",color:"{overlay.popover.color}",borderRadius:"{overlay.popover.border.radius}",shadow:"{overlay.popover.shadow}",gutter:"10px",arrowOffset:"1.25rem"},content:{padding:"{overlay.popover.padding}"}},pg={root:{background:"{content.border.color}",borderRadius:"{content.border.radius}",height:"1.25rem"},value:{background:"{primary.color}"},label:{color:"{primary.contrast.color}",fontSize:"0.75rem",fontWeight:"600"}},gg={colorScheme:{light:{root:{"color.1":"{red.500}","color.2":"{blue.500}","color.3":"{green.500}","color.4":"{yellow.500}"}},dark:{root:{"color.1":"{red.400}","color.2":"{blue.400}","color.3":"{green.400}","color.4":"{yellow.400}"}}}},hg={root:{width:"1.25rem",height:"1.25rem",background:"{form.field.background}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.border.color}",checkedBorderColor:"{primary.color}",checkedHoverBorderColor:"{primary.hover.color}",checkedFocusBorderColor:"{primary.color}",checkedDisabledBorderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{width:"1rem",height:"1rem"},lg:{width:"1.5rem",height:"1.5rem"}},icon:{size:"0.75rem",checkedColor:"{primary.contrast.color}",checkedHoverColor:"{primary.contrast.color}",disabledColor:"{form.field.disabled.color}",sm:{size:"0.5rem"},lg:{size:"1rem"}}},bg={root:{gap:"0.25rem",transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},icon:{size:"1rem",color:"{text.muted.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}},yg={colorScheme:{light:{root:{background:"rgba(0,0,0,0.1)"}},dark:{root:{background:"rgba(255,255,255,0.3)"}}}},kg={root:{transitionDuration:"{transition.duration}"},bar:{size:"9px",borderRadius:"{border.radius.sm}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},colorScheme:{light:{bar:{background:"{surface.100}"}},dark:{bar:{background:"{surface.800}"}}}},wg={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},dropdown:{width:"2.5rem",color:"{form.field.icon.color}"},overlay:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},list:{padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},option:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},optionGroup:{background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},clearIcon:{color:"{form.field.icon.color}"},checkmark:{color:"{list.option.color}",gutterStart:"-0.375rem",gutterEnd:"0.375rem"},emptyMessage:{padding:"{list.option.padding}"}},xg={root:{borderRadius:"{form.field.border.radius}"},colorScheme:{light:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}},dark:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}}}},vg={root:{borderRadius:"{content.border.radius}"},colorScheme:{light:{root:{background:"{surface.200}",animationBackground:"rgba(255,255,255,0.4)"}},dark:{root:{background:"rgba(255, 255, 255, 0.06)",animationBackground:"rgba(255, 255, 255, 0.04)"}}}},Cg={root:{transitionDuration:"{transition.duration}"},track:{background:"{content.border.color}",borderRadius:"{content.border.radius}",size:"3px"},range:{background:"{primary.color}"},handle:{width:"20px",height:"20px",borderRadius:"50%",background:"{content.border.color}",hoverBackground:"{content.border.color}",content:{borderRadius:"50%",hoverBackground:"{content.background}",width:"16px",height:"16px",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.08), 0px 1px 1px 0px rgba(0, 0, 0, 0.14)"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},colorScheme:{light:{handle:{contentBackground:"{surface.0}"}},dark:{handle:{contentBackground:"{surface.950}"}}}},Eg={root:{gap:"0.5rem",transitionDuration:"{transition.duration}"}},Sg={root:{borderRadius:"{form.field.border.radius}",roundedBorderRadius:"2rem",raisedShadow:"0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)"}},Bg={root:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",transitionDuration:"{transition.duration}"},gutter:{background:"{content.border.color}"},handle:{size:"24px",background:"transparent",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}}},Ng={root:{transitionDuration:"{transition.duration}"},separator:{background:"{content.border.color}",activeBackground:"{primary.color}",margin:"0 0 0 1.625rem",size:"2px"},step:{padding:"0.5rem",gap:"1rem"},stepHeader:{padding:"0",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},gap:"0.5rem"},stepTitle:{color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},stepNumber:{background:"{content.background}",activeBackground:"{content.background}",borderColor:"{content.border.color}",activeBorderColor:"{content.border.color}",color:"{text.muted.color}",activeColor:"{primary.color}",size:"2rem",fontSize:"1.143rem",fontWeight:"500",borderRadius:"50%",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"},steppanels:{padding:"0.875rem 0.5rem 1.125rem 0.5rem"},steppanel:{background:"{content.background}",color:"{content.color}",padding:"0",indent:"1rem"}},_g={root:{transitionDuration:"{transition.duration}"},separator:{background:"{content.border.color}"},itemLink:{borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},gap:"0.5rem"},itemLabel:{color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},itemNumber:{background:"{content.background}",activeBackground:"{content.background}",borderColor:"{content.border.color}",activeBorderColor:"{content.border.color}",color:"{text.muted.color}",activeColor:"{primary.color}",size:"2rem",fontSize:"1.143rem",fontWeight:"500",borderRadius:"50%",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"}},Rg={root:{transitionDuration:"{transition.duration}"},tablist:{borderWidth:"0 0 1px 0",background:"{content.background}",borderColor:"{content.border.color}"},item:{background:"transparent",hoverBackground:"transparent",activeBackground:"transparent",borderWidth:"0 0 1px 0",borderColor:"{content.border.color}",hoverBorderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}",padding:"1rem 1.125rem",fontWeight:"600",margin:"0 0 -1px 0",gap:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},itemIcon:{color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},activeBar:{height:"1px",bottom:"-1px",background:"{primary.color}"}},Tg={root:{transitionDuration:"{transition.duration}"},tablist:{borderWidth:"0 0 1px 0",background:"{content.background}",borderColor:"{content.border.color}"},tab:{background:"transparent",hoverBackground:"transparent",activeBackground:"transparent",borderWidth:"0 0 1px 0",borderColor:"{content.border.color}",hoverBorderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}",padding:"1rem 1.125rem",fontWeight:"600",margin:"0 0 -1px 0",gap:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},tabpanel:{background:"{content.background}",color:"{content.color}",padding:"0.875rem 1.125rem 1.125rem 1.125rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"inset {focus.ring.shadow}"}},navButton:{background:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",width:"2.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},activeBar:{height:"1px",bottom:"-1px",background:"{primary.color}"},colorScheme:{light:{navButton:{shadow:"0px 0px 10px 50px rgba(255, 255, 255, 0.6)"}},dark:{navButton:{shadow:"0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)"}}}},Dg={root:{transitionDuration:"{transition.duration}"},tabList:{background:"{content.background}",borderColor:"{content.border.color}"},tab:{borderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},tabPanel:{background:"{content.background}",color:"{content.color}"},navButton:{background:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}"},colorScheme:{light:{navButton:{shadow:"0px 0px 10px 50px rgba(255, 255, 255, 0.6)"}},dark:{navButton:{shadow:"0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)"}}}},Og={root:{fontSize:"0.875rem",fontWeight:"700",padding:"0.25rem 0.5rem",gap:"0.25rem",borderRadius:"{content.border.radius}",roundedBorderRadius:"{border.radius.xl}"},icon:{size:"0.75rem"},colorScheme:{light:{primary:{background:"{primary.100}",color:"{primary.700}"},secondary:{background:"{surface.100}",color:"{surface.600}"},success:{background:"{green.100}",color:"{green.700}"},info:{background:"{sky.100}",color:"{sky.700}"},warn:{background:"{orange.100}",color:"{orange.700}"},danger:{background:"{red.100}",color:"{red.700}"},contrast:{background:"{surface.950}",color:"{surface.0}"}},dark:{primary:{background:"color-mix(in srgb, {primary.500}, transparent 84%)",color:"{primary.300}"},secondary:{background:"{surface.800}",color:"{surface.300}"},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",color:"{green.300}"},info:{background:"color-mix(in srgb, {sky.500}, transparent 84%)",color:"{sky.300}"},warn:{background:"color-mix(in srgb, {orange.500}, transparent 84%)",color:"{orange.300}"},danger:{background:"color-mix(in srgb, {red.500}, transparent 84%)",color:"{red.300}"},contrast:{background:"{surface.0}",color:"{surface.950}"}}}},Vg={root:{background:"{form.field.background}",borderColor:"{form.field.border.color}",color:"{form.field.color}",height:"18rem",padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{form.field.border.radius}"},prompt:{gap:"0.25rem"},commandResponse:{margin:"2px 0"}},$g={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}}},Fg={root:{background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},list:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},item:{focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},submenu:{mobileIndent:"1rem"},submenuIcon:{size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},separator:{borderColor:"{content.border.color}"}},Ag={event:{minHeight:"5rem"},horizontal:{eventContent:{padding:"1rem 0"}},vertical:{eventContent:{padding:"0 1rem"}},eventMarker:{size:"1.125rem",borderRadius:"50%",borderWidth:"2px",background:"{content.background}",borderColor:"{content.border.color}",content:{borderRadius:"50%",size:"0.375rem",background:"{primary.color}",insetShadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"}},eventConnector:{color:"{content.border.color}",size:"2px"}},Ig={root:{width:"25rem",borderRadius:"{content.border.radius}",borderWidth:"1px",transitionDuration:"{transition.duration}"},icon:{size:"1.125rem"},content:{padding:"{overlay.popover.padding}",gap:"0.5rem"},text:{gap:"0.5rem"},summary:{fontWeight:"500",fontSize:"1rem"},detail:{fontWeight:"500",fontSize:"0.875rem"},closeButton:{width:"1.75rem",height:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},closeIcon:{size:"1rem"},colorScheme:{light:{blur:"1.5px",info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"{blue.100}",focusRing:{color:"{blue.600}",shadow:"none"}}},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"{green.100}",focusRing:{color:"{green.600}",shadow:"none"}}},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"{yellow.100}",focusRing:{color:"{yellow.600}",shadow:"none"}}},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"{red.100}",focusRing:{color:"{red.600}",shadow:"none"}}},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.200}",focusRing:{color:"{surface.600}",shadow:"none"}}},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.800}",focusRing:{color:"{surface.50}",shadow:"none"}}}},dark:{blur:"10px",info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{blue.500}",shadow:"none"}}},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{green.500}",shadow:"none"}}},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{yellow.500}",shadow:"none"}}},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{red.500}",shadow:"none"}}},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.700}",focusRing:{color:"{surface.300}",shadow:"none"}}},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",detailColor:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.100}",focusRing:{color:"{surface.950}",shadow:"none"}}}}}},Pg={root:{padding:"0.5rem 1rem",borderRadius:"{content.border.radius}",gap:"0.5rem",fontWeight:"500",disabledBackground:"{form.field.disabled.background}",disabledBorderColor:"{form.field.disabled.background}",disabledColor:"{form.field.disabled.color}",invalidBorderColor:"{form.field.invalid.border.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",padding:"0.375rem 0.75rem"},lg:{fontSize:"{form.field.lg.font.size}",padding:"0.625rem 1.25rem"}},icon:{disabledColor:"{form.field.disabled.color}"},content:{left:"0.25rem",top:"0.25rem",checkedShadow:"0px 1px 2px 0px rgba(0, 0, 0, 0.02), 0px 1px 2px 0px rgba(0, 0, 0, 0.04)"},colorScheme:{light:{root:{background:"{surface.100}",checkedBackground:"{surface.100}",hoverBackground:"{surface.100}",borderColor:"{surface.100}",color:"{surface.500}",hoverColor:"{surface.700}",checkedColor:"{surface.900}",checkedBorderColor:"{surface.100}"},content:{checkedBackground:"{surface.0}"},icon:{color:"{surface.500}",hoverColor:"{surface.700}",checkedColor:"{surface.900}"}},dark:{root:{background:"{surface.950}",checkedBackground:"{surface.950}",hoverBackground:"{surface.950}",borderColor:"{surface.950}",color:"{surface.400}",hoverColor:"{surface.300}",checkedColor:"{surface.0}",checkedBorderColor:"{surface.950}"},content:{checkedBackground:"{surface.800}"},icon:{color:"{surface.400}",hoverColor:"{surface.300}",checkedColor:"{surface.0}"}}}},Lg={root:{width:"2.5rem",height:"1.5rem",borderRadius:"30px",gap:"0.25rem",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},borderWidth:"1px",borderColor:"transparent",hoverBorderColor:"transparent",checkedBorderColor:"transparent",checkedHoverBorderColor:"transparent",invalidBorderColor:"{form.field.invalid.border.color}",transitionDuration:"{form.field.transition.duration}",slideDuration:"0.2s"},handle:{borderRadius:"50%",size:"1rem"},colorScheme:{light:{root:{background:"{surface.300}",disabledBackground:"{form.field.disabled.background}",hoverBackground:"{surface.400}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}"},handle:{background:"{surface.0}",disabledBackground:"{form.field.disabled.color}",hoverBackground:"{surface.0}",checkedBackground:"{surface.0}",checkedHoverBackground:"{surface.0}",color:"{text.muted.color}",hoverColor:"{text.color}",checkedColor:"{primary.color}",checkedHoverColor:"{primary.hover.color}"}},dark:{root:{background:"{surface.700}",disabledBackground:"{surface.600}",hoverBackground:"{surface.600}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}"},handle:{background:"{surface.400}",disabledBackground:"{surface.900}",hoverBackground:"{surface.300}",checkedBackground:"{surface.900}",checkedHoverBackground:"{surface.900}",color:"{surface.900}",hoverColor:"{surface.800}",checkedColor:"{primary.color}",checkedHoverColor:"{primary.hover.color}"}}}},Mg={root:{background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",padding:"0.75rem"}},jg={root:{maxWidth:"12.5rem",gutter:"0.25rem",shadow:"{overlay.popover.shadow}",padding:"0.5rem 0.75rem",borderRadius:"{overlay.popover.border.radius}"},colorScheme:{light:{root:{background:"{surface.700}",color:"{surface.0}"}},dark:{root:{background:"{surface.700}",color:"{surface.0}"}}}},zg={root:{background:"{content.background}",color:"{content.color}",padding:"1rem",gap:"2px",indent:"1rem",transitionDuration:"{transition.duration}"},node:{padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{text.color}",hoverColor:"{text.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},gap:"0.25rem"},nodeIcon:{color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedColor:"{highlight.color}"},nodeToggleButton:{borderRadius:"50%",size:"1.75rem",hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedHoverColor:"{primary.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},loadingIcon:{size:"2rem"},filter:{margin:"0 0 0.5rem 0"}},Ug={root:{background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},dropdown:{width:"2.5rem",color:"{form.field.icon.color}"},overlay:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},tree:{padding:"{list.padding}"},clearIcon:{color:"{form.field.icon.color}"},emptyMessage:{padding:"{list.option.padding}"},chip:{borderRadius:"{border.radius.sm}"}},Wg={root:{transitionDuration:"{transition.duration}"},header:{background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},headerCell:{background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{treetable.border.color}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",gap:"0.5rem",padding:"0.75rem 1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},columnTitle:{fontWeight:"600"},row:{background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},bodyCell:{borderColor:"{treetable.border.color}",padding:"0.75rem 1rem",gap:"0.5rem"},footerCell:{background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",padding:"0.75rem 1rem"},columnFooter:{fontWeight:"600"},footer:{background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},columnResizerWidth:"0.5rem",resizeIndicator:{width:"1px",color:"{primary.color}"},sortIcon:{color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},loadingIcon:{size:"2rem"},nodeToggleButton:{hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",selectedHoverColor:"{primary.color}",size:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},paginatorTop:{borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},paginatorBottom:{borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},colorScheme:{light:{root:{borderColor:"{content.border.color}"},bodyCell:{selectedBorderColor:"{primary.100}"}},dark:{root:{borderColor:"{surface.800}"},bodyCell:{selectedBorderColor:"{primary.900}"}}}},qg={loader:{mask:{background:"{content.background}",color:"{text.muted.color}"},icon:{size:"2rem"}}};function Zt(e){"@babel/helpers - typeof";return Zt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Zt(e)}function Ja(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Qa(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Ja(Object(r),!0).forEach(function(n){Hg(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ja(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Hg(e,t,r){return(t=Kg(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kg(e){var t=Yg(e,"string");return Zt(t)=="symbol"?t:t+""}function Yg(e,t){if(Zt(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Zt(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Gg=Qa(Qa({},gp),{},{components:{accordion:up,autocomplete:fp,avatar:mp,badge:pp,blockui:hp,breadcrumb:bp,button:yp,datepicker:Tp,card:kp,carousel:wp,cascadeselect:xp,checkbox:vp,chip:Cp,colorpicker:Ep,confirmdialog:Sp,confirmpopup:Bp,contextmenu:Np,dataview:Rp,datatable:_p,dialog:Dp,divider:Op,dock:Vp,drawer:$p,editor:Fp,fieldset:Ap,fileupload:Ip,iftalabel:jp,floatlabel:Pp,galleria:Lp,iconfield:Mp,image:zp,imagecompare:Up,inlinemessage:Wp,inplace:qp,inputchips:Hp,inputgroup:Kp,inputnumber:Yp,inputotp:Gp,inputtext:Xp,knob:Jp,listbox:Qp,megamenu:Zp,menu:eg,menubar:tg,message:og,metergroup:rg,multiselect:ng,orderlist:ag,organizationchart:ig,overlaybadge:lg,popover:mg,paginator:sg,password:ug,panel:cg,panelmenu:dg,picklist:fg,progressbar:pg,progressspinner:gg,radiobutton:hg,rating:bg,scrollpanel:kg,select:wg,selectbutton:xg,skeleton:vg,slider:Cg,speeddial:Eg,splitter:Bg,splitbutton:Sg,stepper:Ng,steps:_g,tabmenu:Rg,tabs:Tg,tabview:Dg,textarea:$g,tieredmenu:Fg,tag:Og,terminal:Vg,timeline:Ag,togglebutton:Pg,toggleswitch:Lg,tree:zg,treeselect:Ug,treetable:Wg,toast:Ig,toolbar:Mg,virtualscroller:qg},directives:{tooltip:jg,ripple:yg}});function Xg(){const{layoutState:e,layoutConfig:t,setMenuMode:r,isDarkTheme:n}=Qm(),a={Aura:Gg};o.ref(Object.keys(a));const i=o.ref(t.preset);o.ref(t.darkTheme),o.ref(t.menuMode),o.ref([{name:"Light",value:!1},{name:"Dark",value:!0}]);const l=o.ref([{name:"noir",palette:{}},{name:"emerald",palette:{500:"#10b981"}},{name:"green",palette:{500:"#22c55e"}},{name:"lime",palette:{500:"#84cc16"}},{name:"orange",palette:{500:"#f97316"}},{name:"amber",palette:{500:"#f59e0b"}},{name:"yellow",palette:{500:"#eab308"}},{name:"teal",palette:{500:"#14b8a6"}},{name:"cyan",palette:{500:"#06b6d4"}},{name:"sky",palette:{500:"#0ea5e9"}},{name:"blue",palette:{500:"#3b82f6"}},{name:"indigo",palette:{500:"#6366f1"}},{name:"violet",palette:{500:"#8b5cf6"}},{name:"purple",palette:{500:"#a855f7"}},{name:"fuchsia",palette:{500:"#d946ef"}},{name:"pink",palette:{500:"#ec4899"}},{name:"rose",palette:{500:"#f43f5e"}}]),c=o.ref([{name:"slate",palette:{500:"#64748b"}},{name:"gray",palette:{500:"#6b7280"}},{name:"zinc",palette:{500:"#71717a"}},{name:"neutral",palette:{500:"#737373"}},{name:"stone",palette:{500:"#78716c"}},{name:"soho",palette:{500:"#8e8f93"}},{name:"viva",palette:{500:"#87898a"}},{name:"ocean",palette:{500:"#828787"}}]);function u(){if(!document.startViewTransition){s();return}document.startViewTransition(()=>s())}function s(){t.darkTheme=!t.darkTheme,t.menuTheme=n.value?"dark":"light",document.documentElement.classList.toggle("app-dark")}function d(){const g=l.value.find(h=>h.name===t.primary);if(g.name==="noir"){const h=[50,100,200,300,400,500,600,700,800,900,950],b={};return h.forEach(k=>{b[k]=`{surface.${k}}`}),{semantic:{primary:b,colorScheme:{light:{primary:{color:"{primary.950}",contrastColor:"#ffffff",hoverColor:"{primary.800}",activeColor:"{primary.700}"},highlight:{background:"{primary.950}",focusBackground:"{primary.700}",color:"#ffffff",focusColor:"#ffffff"}},dark:{primary:{color:"{primary.50}",contrastColor:"{primary.950}",hoverColor:"{primary.200}",activeColor:"{primary.300}"},highlight:{background:"{primary.50}",focusBackground:"{primary.300}",color:"{primary.950}",focusColor:"{primary.950}"}}}}}}else return{semantic:{primary:g.palette,colorScheme:{light:{primary:{color:"{primary.500}",contrastColor:"#ffffff",hoverColor:"{primary.600}",activeColor:"{primary.700}"},highlight:{background:"{primary.50}",focusBackground:"{primary.100}",color:"{primary.700}",focusColor:"{primary.800}"}},dark:{primary:{color:"{primary.400}",contrastColor:"{surface.900}",hoverColor:"{primary.300}",activeColor:"{primary.200}"},highlight:{background:"color-mix(in srgb, {primary.400}, transparent 84%)",focusBackground:"color-mix(in srgb, {primary.400}, transparent 76%)",color:"rgba(255,255,255,.87)",focusColor:"rgba(255,255,255,.87)"}}}}}}function f(g){var h;if((h=g.semantic)!=null&&h.primary){const b=g.semantic.primary[500];document.documentElement.style.setProperty("--p-button-primary-background",b),document.documentElement.style.setProperty("--p-button-primary-border-color",b)}}function m(g,h){let b;if(g==="primary"){if(b=l.value.find(k=>k.name===h),!b)return;t.primary=b.name,f({semantic:{primary:b.palette}})}if(g==="surface"){if(b=c.value.find(k=>k.name===h),!b)return;t.surface=b.name,dp(b.palette)}}function p(){var b;t.preset=i.value;const g=a[i.value],h=(b=c.value.find(k=>k.name===t.surface))==null?void 0:b.palette;Xa().preset(g).preset(d()).surfacePalette(h).use({useDefaultOptions:!0})}return{toggleDarkMode:u,updateColors:m,onPresetChange:p}}function Jg(e){const t=new Ue;return{getEntityRecord:async(n,a,i)=>{try{const l=await t.getRecord(n,a);if(l&&l.response)return i!=null&&i!=""&&e(i,l.response),l}catch(l){return l}finally{}}}}function Qg(e){const t=new Ue;return{addEntityRecord:async(n,a,i)=>{const l={dataDefinitions:Object.entries(a).map(([c,u])=>({recordColumnName:c,recordColumnValue:u}))};try{const c=await t.addRecord(n,l);if(c&&c.response)return i!=null&&i!=""&&e(i,c.response),c}catch(c){return c}finally{}}}}function Zg(e){const t=new Ue;return{deleteEntityRecord:async(n,a,i)=>{try{const l=await t.deleteRecord(n,a);if(l&&l.response)return i!=null&&i!=""&&e(i,l.response),l}catch(l){return l}finally{}}}}function e0(){const e=Ne(),{get:t,post:r,put:n,del:a}=kt(),i=()=>e.getAppId();return{getThemes:async()=>{const f=i();return await t(`/api/app/v1/${f}/theme`)},getThemesData:async f=>(i(),await t(`/api/platform/v1/theme/${f}`)),saveTheme:async f=>{const m=i();return await r(`/api/app/v1/${m}/theme`,f)},updateTheme:async(f,m)=>{const p=i();return await n(`/api/app/v1/${p}/theme/${f}`,m)},deleteTheme:async f=>{const m=i();return await a(`/api/app/v1/${m}/theme/${f}`)}}}function t0(){const{get:e}=kt();return{getPlatformComponents:async()=>await e("/api/platform/v1/search/COMPONENT_PALLET?page=0&size=50&continue"),getComponentTemplates:async n=>await e(`api/platform/v1/search/COMPONENT_TEMPLATE?keyword=${n}&page=0&size=50`)}}function o0(){Ne();const{get:e,post:t,put:r,del:n}=kt();return{getActiveUser:async()=>await e("/users/me")}}function r0(){const e=Ne(),{get:t,post:r,put:n,del:a}=kt(),i=()=>e.getAppId();return{getPage:async f=>{const m=i();return await t(`/api/app/v1/${m}/content/page/${f}`)},getPages:async()=>{const f=i();return await t(`/api/app/v1/${f}/content/page?page=1&pageSize=50`)},createPage:async f=>{const m=i();return await r(`/api/app/v1/${m}/content/page`,f)},updatePage:async(f,m)=>{const p=i();return await n(`/api/app/v1/${p}/content/page/${f}`,m)},deletePage:async f=>{const m=i();return await a(`/api/app/v1/${m}/content/page/${f}`)}}}function n0(){const e=Ne(),{get:t,post:r,put:n,del:a}=kt(),i=()=>e.getAppId();return{getLayouts:async()=>{const f=i();return await t(`/api/app/v1/${f}/content/layout`)},getLayout:async f=>{const m=i();return await t(`/api/app/v1/${m}/content/layout/${f}`)},updateLayout:async(f,m)=>{const p=i();return await n(`/api/app/v1/${p}/content/layout/${f}`,m)},createLayout:async f=>{const m=i();return await r(`/api/app/v1/${m}/content/layout`,f)},deleteLayout:async f=>{const m=i();return await a(`/api/app/v1/${m}/content/layout/${f}`)}}}const a0={install(e,t){e.component("CSEntityGrid",gr),e.component("csentitygrid",gr),e.component("CSEntityList",ia),e.component("csentitylist",ia),e.component("CSFieldExpression",La),e.component("csfieldexpression",La),e.component("CSEntity360View",aa),e.component("csentity360view",aa),e.component("CSEntityListing",la),e.component("csentitylisting",la),e.component("CSEntityListingTile",sa),e.component("csentitylistingtile",sa),e.component("CSEntityListingCarousel",Ca),e.component("csentitylistingcarousel",Ca),e.component("CSEntitySelection",kr),e.component("csentityselection",kr),e.component("CSEntityExplorer",Ma),e.component("csentityexplorer",Ma),e.component("CSMenu",ja),e.component("csmenu",ja),e.component("CSTextInput",za),e.component("cstextinput",za)}};ke.default=a0,ke.useAddEntityRecord=Qg,ke.useComponentService=t0,ke.useDeleteEntityRecord=Zg,ke.useEntitiesStore=Sa,ke.useEntityRecordService=Ue,ke.useEntityService=Ea,ke.useGetEntityRecord=Jg,ke.useGlobalConfigsStore=Ne,ke.useLayoutService=n0,ke.usePageService=r0,ke.useSecurityService=o0,ke.useThemeConfig=Xg,ke.useThemeService=e0,Object.defineProperties(ke,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});