tav-ui
Version:
25 lines • 6.2 MB
JavaScript
/*! Castianta Vue Admin UI v0.0.0 */import{defineComponent as It,computed as Ce,openBlock as Jt,createElementBlock as Un,normalizeClass as Jr,normalizeStyle as ms,createElementVNode as or,ref as $e,watch as Qt,onMounted as bo,unref as oe,nextTick as nn,resolveComponent as Xn,createBlock as Zr,createVNode as I,h as mt,Fragment as wr,isVNode as nc,Comment as mwt,Text as see,reactive as jo,getCurrentInstance as Ol,onUpdated as Y1,onUnmounted as xu,inject as xo,provide as aa,Transition as V1,Teleport as ub,TransitionGroup as eve,render as x_,watchEffect as ia,onBeforeUnmount as Ea,withDirectives as Lu,resolveDirective as $$,cloneVNode as o7,toRef as La,withModifiers as M$,vShow as js,onBeforeMount as A_,createTextVNode as ea,isRef as tve,toRefs as pd,shallowRef as xi,toRaw as Ma,onActivated as a7,onDeactivated as cee,useAttrs as __,onBeforeUpdate as nve,getCurrentScope as rDe,onScopeDispose as oDe,camelize as fee,renderSlot as Fa,createApp as rve,createCommentVNode as Jn,normalizeProps as Kl,guardReactiveProps as zd,mergeProps as ja,defineAsyncComponent as vwt,withCtx as qn,readonly as aDe,renderList as Ru,toDisplayString as Lr,toHandlers as gwt,resolveDynamicComponent as ove,createSlots as pp,useSlots as ave,withKeys as ywt}from"vue";function qu(e,t){return t.forEach(function(n){n&&typeof n!="string"&&!Array.isArray(n)&&Object.keys(n).forEach(function(r){if(r!=="default"&&!(r in e)){var o=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(e,r,o.get?o:{enumerable:!0,get:function(){return n[r]}})}})}),Object.freeze(e)}const Na=e=>(e.install=function(t){t.component(e.name,e)},e);/**
* (c) Iconify
*
* For the full copyright and license information, please view the license.txt or license.gpl.txt
* files at https://github.com/iconify/iconify
*
* Licensed under Apache 2.0 or GPL 2.0 at your option.
* If derivative product is not compatible with one of licenses, you can pick one of licenses.
*
* @license Apache 2.0
* @license GPL 2.0
* @version 2.2.1
*/const jH=/^[a-z0-9]+(-[a-z0-9]+)*$/,lb=Object.freeze({left:0,top:0,width:16,height:16,rotate:0,vFlip:!1,hFlip:!1});function ive(e){return{...lb,...e}}function bwt(e,t){const n={...e};for(const r in lb){const o=r;if(t[o]!==void 0){const a=t[o];if(n[o]===void 0){n[o]=a;continue}switch(o){case"rotate":n[o]=(n[o]+a)%4;break;case"hFlip":case"vFlip":n[o]=a!==n[o];break;default:n[o]=a}}}return n}function iDe(e,t,n=!1){function r(a,i){if(e.icons[a]!==void 0)return Object.assign({},e.icons[a]);if(i>5)return null;const l=e.aliases;if(l&&l[a]!==void 0){const d=l[a],p=r(d.parent,i+1);return p&&bwt(p,d)}const c=e.chars;return!i&&c&&c[a]!==void 0?r(c[a],i+1):null}const o=r(t,0);if(o)for(const a in lb)o[a]===void 0&&e[a]!==void 0&&(o[a]=e[a]);return o&&n?ive(o):o}function Cwt(e){for(const t in lb)if(e[t]!==void 0)return!0;return!1}function uDe(e,t,n){n=n||{};const r=[];if(typeof e!="object"||typeof e.icons!="object")return r;e.not_found instanceof Array&&e.not_found.forEach(i=>{t(i,null),r.push(i)});const o=e.icons;Object.keys(o).forEach(i=>{const l=iDe(e,i,!0);l&&(t(i,l),r.push(i))});const a=n.aliases||"all";if(a!=="none"&&typeof e.aliases=="object"){const i=e.aliases;Object.keys(i).forEach(l=>{if(a==="variations"&&Cwt(i[l]))return;const c=iDe(e,l,!0);c&&(t(l,c),r.push(l))})}return r}const uve={provider:"string",aliases:"object",not_found:"object"};for(const e in lb)uve[e]=typeof lb[e];function lDe(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object")return null;for(const o in uve)if(e[o]!==void 0&&typeof e[o]!==uve[o])return null;const n=t.icons;for(const o in n){const a=n[o];if(!o.match(jH)||typeof a.body!="string")return null;for(const i in lb)if(a[i]!==void 0&&typeof a[i]!=typeof lb[i])return null}const r=t.aliases;if(r)for(const o in r){const a=r[o],i=a.parent;if(!o.match(jH)||typeof i!="string"||!n[i]&&!r[i])return null;for(const l in lb)if(a[l]!==void 0&&typeof a[l]!=typeof lb[l])return null}return t}const N$=(e,t,n,r="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const l=o.pop(),c=o.pop(),d={provider:o.length>0?o[0]:r,prefix:c,name:l};return t&&!I$(d)?null:d}const a=o[0],i=a.split("-");if(i.length>1){const l={provider:r,prefix:i.shift(),name:i.join("-")};return t&&!I$(l)?null:l}if(n&&r===""){const l={provider:r,prefix:"",name:a};return t&&!I$(l,n)?null:l}return null},I$=(e,t)=>e?!!((e.provider===""||e.provider.match(jH))&&(t&&e.prefix===""||e.prefix.match(jH))&&e.name.match(jH)):!1,sDe=1;let ow=Object.create(null);try{const e=window||self;e&&e._iconifyStorage.version===sDe&&(ow=e._iconifyStorage.storage)}catch{}function wwt(){try{const e=window||self;e&&!e._iconifyStorage&&(e._iconifyStorage={version:sDe,storage:ow})}catch{}}function Ewt(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:Object.create(null)}}function sb(e,t){ow[e]===void 0&&(ow[e]=Object.create(null));const n=ow[e];return n[t]===void 0&&(n[t]=Ewt(e,t)),n[t]}function lve(e,t){if(!lDe(t))return[];const n=Date.now();return uDe(t,(r,o)=>{o?e.icons[r]=o:e.missing[r]=n})}function Fwt(e,t,n){try{if(typeof n.body=="string")return e.icons[t]=Object.freeze(ive(n)),!0}catch{}return!1}function sve(e,t){const n=e.icons[t];return n===void 0?null:n}function xwt(e,t){let n=[],r;return typeof e=="string"?r=[e]:r=Object.keys(ow),r.forEach(o=>{let a;typeof o=="string"&&typeof t=="string"?a=[t]:a=ow[o]===void 0?[]:Object.keys(ow[o]),a.forEach(i=>{const l=sb(o,i),c=Object.keys(l.icons).map(d=>(o!==""?"@"+o+":":"")+i+":"+d);n=n.concat(c)})}),n}let HH=!1;function Awt(e){return typeof e=="boolean"&&(HH=e),HH}function dee(e){const t=typeof e=="string"?N$(e,!0,HH):e;return t?sve(sb(t.provider,t.prefix),t.name):null}function cDe(e,t){const n=N$(e,!0,HH);if(!n)return!1;const r=sb(n.provider,n.prefix);return Fwt(r,n.name,t)}function fDe(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=typeof e.provider=="string"?e.provider:""),HH&&t===""&&(typeof e.prefix!="string"||e.prefix==="")){let r=!1;return lDe(e)&&(e.prefix="",uDe(e,(o,a)=>{a&&cDe(o,a)&&(r=!0)})),r}if(typeof e.prefix!="string"||!I$({provider:t,prefix:e.prefix,name:"a"}))return!1;const n=sb(t,e.prefix);return!!lve(n,e)}function _wt(e){return dee(e)!==null}function Bwt(e){const t=dee(e);return t?{...t}:null}const YH=Object.freeze({inline:!1,width:null,height:null,hAlign:"center",vAlign:"middle",slice:!1,hFlip:!1,vFlip:!1,rotate:0});function pee(e,t){const n={};for(const r in e){const o=r;if(n[o]=e[o],t[o]===void 0)continue;const a=t[o];switch(o){case"inline":case"slice":typeof a=="boolean"&&(n[o]=a);break;case"hFlip":case"vFlip":a===!0&&(n[o]=!n[o]);break;case"hAlign":case"vAlign":typeof a=="string"&&a!==""&&(n[o]=a);break;case"width":case"height":(typeof a=="string"&&a!==""||typeof a=="number"&&a||a===null)&&(n[o]=a);break;case"rotate":typeof a=="number"&&(n[o]+=a);break}}return n}const kwt=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Dwt=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function hee(e,t,n){if(t===1)return e;if(n=n===void 0?100:n,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(kwt);if(r===null||!r.length)return e;const o=[];let a=r.shift(),i=Dwt.test(a);for(;;){if(i){const l=parseFloat(a);isNaN(l)?o.push(a):o.push(Math.ceil(l*t*n)/n)}else o.push(a);if(a=r.shift(),a===void 0)return o.join("");i=!i}}function Swt(e){let t="";switch(e.hAlign){case"left":t+="xMin";break;case"right":t+="xMax";break;default:t+="xMid"}switch(e.vAlign){case"top":t+="YMin";break;case"bottom":t+="YMax";break;default:t+="YMid"}return t+=e.slice?" slice":" meet",t}function cve(e,t){const n={left:e.left,top:e.top,width:e.width,height:e.height};let r=e.body;[e,t].forEach(l=>{const c=[],d=l.hFlip,p=l.vFlip;let v=l.rotate;d?p?v+=2:(c.push("translate("+(n.width+n.left).toString()+" "+(0-n.top).toString()+")"),c.push("scale(-1 1)"),n.top=n.left=0):p&&(c.push("translate("+(0-n.left).toString()+" "+(n.height+n.top).toString()+")"),c.push("scale(1 -1)"),n.top=n.left=0);let h;switch(v<0&&(v-=Math.floor(v/4)*4),v=v%4,v){case 1:h=n.height/2+n.top,c.unshift("rotate(90 "+h.toString()+" "+h.toString()+")");break;case 2:c.unshift("rotate(180 "+(n.width/2+n.left).toString()+" "+(n.height/2+n.top).toString()+")");break;case 3:h=n.width/2+n.left,c.unshift("rotate(-90 "+h.toString()+" "+h.toString()+")");break}v%2===1&&((n.left!==0||n.top!==0)&&(h=n.left,n.left=n.top,n.top=h),n.width!==n.height&&(h=n.width,n.width=n.height,n.height=h)),c.length&&(r='<g transform="'+c.join(" ")+'">'+r+"</g>")});let o,a;t.width===null&&t.height===null?(a="1em",o=hee(a,n.width/n.height)):t.width!==null&&t.height!==null?(o=t.width,a=t.height):t.height!==null?(a=t.height,o=hee(a,n.width/n.height)):(o=t.width,a=hee(o,n.height/n.width)),o==="auto"&&(o=n.width),a==="auto"&&(a=n.height),o=typeof o=="string"?o:o.toString()+"",a=typeof a=="string"?a:a.toString()+"";const i={attributes:{width:o,height:a,preserveAspectRatio:Swt(t),viewBox:n.left.toString()+" "+n.top.toString()+" "+n.width.toString()+" "+n.height.toString()},body:r};return t.inline&&(i.inline=!0),i}function Twt(e,t){return cve(ive(e),t?pee(YH,t):YH)}const Owt=/\sid="(\S+)"/g,$wt="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let Mwt=0;function dDe(e,t=$wt){const n=[];let r;for(;r=Owt.exec(e);)n.push(r[1]);return n.length&&n.forEach(o=>{const a=typeof t=="function"?t(o):t+(Mwt++).toString(),i=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+i+')([")]|\\.[a-z])',"g"),"$1"+a+"$3")}),e}const pDe="iconify2",VH="iconify",hDe=VH+"-count",mDe=VH+"-version",vDe=36e5,Nwt=168,P$={local:!0,session:!0};let fve=!1;const gDe={local:0,session:0},yDe={local:[],session:[]};let mee=typeof window>"u"?{}:window;function bDe(e){const t=e+"Storage";try{if(mee&&mee[t]&&typeof mee[t].length=="number")return mee[t]}catch{}return P$[e]=!1,null}function dve(e,t,n){try{return e.setItem(hDe,n.toString()),gDe[t]=n,!0}catch{return!1}}function CDe(e){const t=e.getItem(hDe);if(t){const n=parseInt(t);return n||0}return 0}function Iwt(e,t){try{e.setItem(mDe,pDe)}catch{}dve(e,t,0)}function Pwt(e){try{const t=CDe(e);for(let n=0;n<t;n++)e.removeItem(VH+n.toString())}catch{}}const wDe=()=>{if(fve)return;fve=!0;const e=Math.floor(Date.now()/vDe)-Nwt;function t(n){const r=bDe(n);if(!r)return;const o=a=>{const i=VH+a.toString(),l=r.getItem(i);if(typeof l!="string")return!1;let c=!0;try{const d=JSON.parse(l);if(typeof d!="object"||typeof d.cached!="number"||d.cached<e||typeof d.provider!="string"||typeof d.data!="object"||typeof d.data.prefix!="string")c=!1;else{const p=d.provider,v=d.data.prefix,h=sb(p,v);c=lve(h,d.data).length>0}}catch{c=!1}return c||r.removeItem(i),c};try{const a=r.getItem(mDe);if(a!==pDe){a&&Pwt(r),Iwt(r,n);return}let i=CDe(r);for(let l=i-1;l>=0;l--)o(l)||(l===i-1?i--:yDe[n].push(l));dve(r,n,i)}catch{}}for(const n in P$)t(n)},Lwt=(e,t)=>{fve||wDe();function n(r){if(!P$[r])return!1;const o=bDe(r);if(!o)return!1;let a=yDe[r].shift();if(a===void 0&&(a=gDe[r],!dve(o,r,a+1)))return!1;try{const i={cached:Math.floor(Date.now()/vDe),provider:e,data:t};o.setItem(VH+a.toString(),JSON.stringify(i))}catch{return!1}return!0}!Object.keys(t.icons).length||(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))},pve={};function EDe(e,t){switch(e){case"local":case"session":P$[e]=t;break;case"all":for(const n in P$)P$[n]=t;break}}const hve=Object.create(null);function FDe(e,t){hve[e]=t}function mve(e){return hve[e]||hve[""]}function vve(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path===void 0?"/":e.path,maxURL:e.maxURL?e.maxURL:500,rotate:e.rotate?e.rotate:750,timeout:e.timeout?e.timeout:5e3,random:e.random===!0,index:e.index?e.index:0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const vee=Object.create(null),UH=["https://api.simplesvg.com","https://api.unisvg.com"],gee=[];for(;UH.length>0;)UH.length===1||Math.random()>.5?gee.push(UH.shift()):gee.push(UH.pop());vee[""]=vve({resources:["https://api.iconify.design"].concat(gee)});function xDe(e,t){const n=vve(t);return n===null?!1:(vee[e]=n,!0)}function yee(e){return vee[e]}function Rwt(){return Object.keys(vee)}const gve=(e,t)=>{let n=e,r=n.indexOf("?")!==-1;function o(a){switch(typeof a){case"boolean":return a?"true":"false";case"number":return encodeURIComponent(a);case"string":return encodeURIComponent(a);default:throw new Error("Invalid parameter")}}return Object.keys(t).forEach(a=>{let i;try{i=o(t[a])}catch{return}n+=(r?"&":"?")+encodeURIComponent(a)+"="+i,r=!0}),n},ADe={},bee={},zwt=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}return null};let Cee=zwt();function jwt(e){Cee=e}function Hwt(){return Cee}function Ywt(e,t){const n=yee(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let a=0;n.resources.forEach(l=>{a=Math.max(a,l.length)});const i=gve(t+".json",{icons:""});r=n.maxURL-a-n.path.length-i.length}const o=e+":"+t;return bee[e]=n.path,ADe[o]=r,r}function Vwt(e){return e===404}const Uwt=(e,t,n)=>{const r=[];let o=ADe[t];o===void 0&&(o=Ywt(e,t));const a="icons";let i={type:a,provider:e,prefix:t,icons:[]},l=0;return n.forEach((c,d)=>{l+=c.length+1,l>=o&&d>0&&(r.push(i),i={type:a,provider:e,prefix:t,icons:[]},l=c.length),i.icons.push(c)}),r.push(i),r};function Wwt(e){if(typeof e=="string"){if(bee[e]===void 0){const t=yee(e);if(!t)return"/";bee[e]=t.path}return bee[e]}return"/"}const qwt=(e,t,n)=>{if(!Cee){n("abort",424);return}let r=Wwt(t.provider);switch(t.type){case"icons":{const a=t.prefix,l=t.icons.join(",");r+=gve(a+".json",{icons:l});break}case"custom":{const a=t.uri;r+=a.slice(0,1)==="/"?a.slice(1):a;break}default:n("abort",400);return}let o=503;Cee(e+r).then(a=>{const i=a.status;if(i!==200){setTimeout(()=>{n(Vwt(i)?"abort":"next",i)});return}return o=501,a.json()}).then(a=>{if(typeof a!="object"||a===null){setTimeout(()=>{n("next",o)});return}setTimeout(()=>{n("success",a)})}).catch(()=>{n("next",o)})},Zwt={prepare:Uwt,send:qwt};function Xwt(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,a)=>o.provider!==a.provider?o.provider.localeCompare(a.provider):o.prefix!==a.prefix?o.prefix.localeCompare(a.prefix):o.name.localeCompare(a.name));let r={provider:"",prefix:"",name:""};return e.forEach(o=>{if(r.name===o.name&&r.prefix===o.prefix&&r.provider===o.provider)return;r=o;const a=o.provider,i=o.prefix,l=o.name;n[a]===void 0&&(n[a]=Object.create(null));const c=n[a];c[i]===void 0&&(c[i]=sb(a,i));const d=c[i];let p;d.icons[l]!==void 0?p=t.loaded:i===""||d.missing[l]!==void 0?p=t.missing:p=t.pending;const v={provider:a,prefix:i,name:l};p.push(v)}),t}const aw=Object.create(null),yve=Object.create(null);function _De(e,t){e.forEach(n=>{const r=n.provider;if(aw[r]===void 0)return;const o=aw[r],a=n.prefix,i=o[a];i&&(o[a]=i.filter(l=>l.id!==t))})}function Kwt(e,t){yve[e]===void 0&&(yve[e]=Object.create(null));const n=yve[e];n[t]||(n[t]=!0,setTimeout(()=>{if(n[t]=!1,aw[e]===void 0||aw[e][t]===void 0)return;const r=aw[e][t].slice(0);if(!r.length)return;const o=sb(e,t);let a=!1;r.forEach(i=>{const l=i.icons,c=l.pending.length;l.pending=l.pending.filter(d=>{if(d.prefix!==t)return!0;const p=d.name;if(o.icons[p]!==void 0)l.loaded.push({provider:e,prefix:t,name:p});else if(o.missing[p]!==void 0)l.missing.push({provider:e,prefix:t,name:p});else return a=!0,!0;return!1}),l.pending.length!==c&&(a||_De([{provider:e,prefix:t}],i.id),i.callback(l.loaded.slice(0),l.missing.slice(0),l.pending.slice(0),i.abort))})}))}let Gwt=0;function Jwt(e,t,n){const r=Gwt++,o=_De.bind(null,n,r);if(!t.pending.length)return o;const a={id:r,icons:t,callback:e,abort:o};return n.forEach(i=>{const l=i.provider,c=i.prefix;aw[l]===void 0&&(aw[l]=Object.create(null));const d=aw[l];d[c]===void 0&&(d[c]=[]),d[c].push(a)}),o}function Qwt(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const a=typeof o=="string"?N$(o,!1,n):o;(!t||I$(a,n))&&r.push({provider:a.provider,prefix:a.prefix,name:a.name})}),r}var BDe={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function eEt(e,t,n,r){const o=e.resources.length,a=e.random?Math.floor(Math.random()*o):e.index;let i;if(e.random){let z=e.resources.slice(0);for(i=[];z.length>1;){const V=Math.floor(Math.random()*z.length);i.push(z[V]),z=z.slice(0,V).concat(z.slice(V+1))}i=i.concat(z)}else i=e.resources.slice(a).concat(e.resources.slice(0,a));const l=Date.now();let c="pending",d=0,p,v=null,h=[],y=[];typeof r=="function"&&y.push(r);function C(){v&&(clearTimeout(v),v=null)}function b(){c==="pending"&&(c="aborted"),C(),h.forEach(z=>{z.status==="pending"&&(z.status="aborted")}),h=[]}function E(z,V){V&&(y=[]),typeof z=="function"&&y.push(z)}function x(){return{startTime:l,payload:t,status:c,queriesSent:d,queriesPending:h.length,subscribe:E,abort:b}}function B(){c="failed",y.forEach(z=>{z(void 0,p)})}function A(){h.forEach(z=>{z.status==="pending"&&(z.status="aborted")}),h=[]}function S(z,V,M){const P=V!=="success";switch(h=h.filter(Y=>Y!==z),c){case"pending":break;case"failed":if(P||!e.dataAfterTimeout)return;break;default:return}if(V==="abort"){p=M,B();return}if(P){p=M,h.length||(i.length?T():B());return}if(C(),A(),!e.random){const Y=e.resources.indexOf(z.resource);Y!==-1&&Y!==e.index&&(e.index=Y)}c="completed",y.forEach(Y=>{Y(M)})}function T(){if(c!=="pending")return;C();const z=i.shift();if(z===void 0){if(h.length){v=setTimeout(()=>{C(),c==="pending"&&(A(),B())},e.timeout);return}B();return}const V={status:"pending",resource:z,callback:(M,P)=>{S(V,M,P)}};h.push(V),d++,v=setTimeout(T,e.rotate),n(z,t,V.callback)}return setTimeout(T),x}function tEt(e){if(typeof e!="object"||typeof e.resources!="object"||!(e.resources instanceof Array)||!e.resources.length)throw new Error("Invalid Reduncancy configuration");const t=Object.create(null);let n;for(n in BDe)e[n]!==void 0?t[n]=e[n]:t[n]=BDe[n];return t}function kDe(e){const t=tEt(e);let n=[];function r(){n=n.filter(l=>l().status==="pending")}function o(l,c,d){const p=eEt(t,l,c,(v,h)=>{r(),d&&d(v,h)});return n.push(p),p}function a(l){const c=n.find(d=>l(d));return c!==void 0?c:null}return{query:o,find:a,setIndex:l=>{t.index=l},getIndex:()=>t.index,cleanup:r}}function DDe(){}const bve=Object.create(null);function nEt(e){if(bve[e]===void 0){const t=yee(e);if(!t)return;const n=kDe(t),r={config:t,redundancy:n};bve[e]=r}return bve[e]}function SDe(e,t,n){let r,o;if(typeof e=="string"){const a=mve(e);if(!a)return n(void 0,424),DDe;o=a.send;const i=nEt(e);i&&(r=i.redundancy)}else{const a=vve(e);if(a){r=kDe(a);const i=e.resources?e.resources[0]:"",l=mve(i);l&&(o=l.send)}}return!r||!o?(n(void 0,424),DDe):r.query(t,o,n)().abort}function TDe(){}const cb=Object.create(null),Cve=Object.create(null),wve=Object.create(null),Eve=Object.create(null);function rEt(e,t){wve[e]===void 0&&(wve[e]=Object.create(null));const n=wve[e];n[t]||(n[t]=!0,setTimeout(()=>{n[t]=!1,Kwt(e,t)}))}const ODe=Object.create(null);function oEt(e,t,n){function r(){const l=(e===""?"":"@"+e+":")+t,c=Math.floor(Date.now()/6e4);ODe[l]<c&&(ODe[l]=c,console.error('Unable to retrieve icons for "'+l+'" because API is not configured properly.'))}Cve[e]===void 0&&(Cve[e]=Object.create(null));const o=Cve[e];Eve[e]===void 0&&(Eve[e]=Object.create(null));const a=Eve[e];cb[e]===void 0&&(cb[e]=Object.create(null));const i=cb[e];o[t]===void 0?o[t]=n:o[t]=o[t].concat(n).sort(),a[t]||(a[t]=!0,setTimeout(()=>{a[t]=!1;const l=o[t];delete o[t];const c=mve(e);if(!c){r();return}c.prepare(e,t,l).forEach(p=>{SDe(e,p,(v,h)=>{const y=sb(e,t);if(typeof v!="object"){if(h!==404)return;const C=Date.now();p.icons.forEach(b=>{y.missing[b]=C})}else try{const C=lve(y,v);if(!C.length)return;const b=i[t];C.forEach(E=>{delete b[E]}),pve.store&&pve.store(e,v)}catch(C){console.error(C)}rEt(e,t)})})}))}const $De=e=>{const t=e.provider,n=e.prefix;return cb[t]&&cb[t][n]&&cb[t][n][e.name]!==void 0},Fve=(e,t)=>{const n=Qwt(e,!0,Awt()),r=Xwt(n);if(!r.pending.length){let d=!0;return t&&setTimeout(()=>{d&&t(r.loaded,r.missing,r.pending,TDe)}),()=>{d=!1}}const o=Object.create(null),a=[];let i,l;r.pending.forEach(d=>{const p=d.provider,v=d.prefix;if(v===l&&p===i)return;i=p,l=v,a.push({provider:p,prefix:v}),cb[p]===void 0&&(cb[p]=Object.create(null));const h=cb[p];h[v]===void 0&&(h[v]=Object.create(null)),o[p]===void 0&&(o[p]=Object.create(null));const y=o[p];y[v]===void 0&&(y[v]=[])});const c=Date.now();return r.pending.forEach(d=>{const p=d.provider,v=d.prefix,h=d.name,y=cb[p][v];y[h]===void 0&&(y[h]=c,o[p][v].push(h))}),a.forEach(d=>{const p=d.provider,v=d.prefix;o[p][v].length&&oEt(p,v,o[p][v])}),t?Jwt(t,r,a):TDe},aEt=e=>new Promise((t,n)=>{const r=typeof e=="string"?N$(e):e;Fve([r||e],o=>{if(o.length&&r){const a=sb(r.provider,r.prefix),i=sve(a,r.name);if(i){t(i);return}}n(e)})}),L$="iconifyFinder"+Date.now(),WH="iconifyData"+Date.now();function MDe(e,t,n,r){let o;try{o=document.createElement("span")}catch{return r?"":null}const a=cve(n,pee(YH,t)),i=e.element,l=e.finder,c=e.name,d=i?i.getAttribute("class"):"",p=l?l.classFilter(d?d.split(/\s+/):[]):[],v="iconify iconify--"+c.prefix+(c.provider===""?"":" iconify--"+c.provider)+(p.length?" "+p.join(" "):""),h='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="'+v+'">'+dDe(a.body)+"</svg>";o.innerHTML=h;const y=o.childNodes[0],C=y.style,b=a.attributes;if(Object.keys(b).forEach(x=>{y.setAttribute(x,b[x])}),a.inline&&(C.verticalAlign="-0.125em"),i){const x=i.attributes;for(let A=0;A<x.length;A++){const S=x.item(A);if(S){const T=S.name;if(T!=="class"&&T!=="style"&&b[T]===void 0)try{y.setAttribute(T,S.value)}catch{}}}const B=i.style;for(let A=0;A<B.length;A++){const S=B[A];C[S]=B[S]}}if(l){const x={name:c,status:"loaded",customisations:t};y[WH]=x,y[L$]=l}const E=r?o.innerHTML:y;return i&&i.parentNode?i.parentNode.replaceChild(y,i):o.removeChild(y),E}let B_=[];function qH(e){for(let t=0;t<B_.length;t++){const n=B_[t];if((typeof n.node=="function"?n.node():n.node)===e)return n}}function NDe(e,t=!1){let n=qH(e);return n?(n.temporary&&(n.temporary=t),n):(n={node:e,temporary:t},B_.push(n),n)}function iEt(){if(document.documentElement)return NDe(document.documentElement);B_.push({node:()=>document.documentElement})}function uEt(e){B_=B_.filter(t=>{const n=typeof t.node=="function"?t.node():t.node;return e!==n})}function ZH(){return B_}function lEt(e){const t=document;t.readyState==="complete"||t.readyState!=="loading"&&!t.documentElement.doScroll?e():(t.addEventListener("DOMContentLoaded",e),window.addEventListener("load",e))}let XH=null;const sEt={childList:!0,subtree:!0,attributes:!0};function IDe(e){if(!e.observer)return;const t=e.observer;t.pendingScan||(t.pendingScan=setTimeout(()=>{delete t.pendingScan,XH&&XH(e)}))}function cEt(e,t){if(!e.observer)return;const n=e.observer;if(!n.pendingScan)for(let r=0;r<t.length;r++){const o=t[r];if(o.addedNodes&&o.addedNodes.length>0||o.type==="attributes"&&o.target[L$]!==void 0){n.paused||IDe(e);return}}}function PDe(e,t){e.observer.instance.observe(t,sEt)}function wee(e){let t=e.observer;if(t&&t.instance)return;const n=typeof e.node=="function"?e.node():e.node;!n||(t||(t={paused:0},e.observer=t),t.instance=new MutationObserver(cEt.bind(null,e)),PDe(e,n),t.paused||IDe(e))}function LDe(){ZH().forEach(wee)}function RDe(e){if(!e.observer)return;const t=e.observer;t.pendingScan&&(clearTimeout(t.pendingScan),delete t.pendingScan),t.instance&&(t.instance.disconnect(),delete t.instance)}function fEt(e){const t=XH!==null;if(XH!==e&&(XH=e,t&&ZH().forEach(RDe)),t){LDe();return}lEt(LDe)}function xve(e){(e?[e]:ZH()).forEach(t=>{if(!t.observer){t.observer={paused:1};return}const n=t.observer;if(n.paused++,n.paused>1||!n.instance)return;n.instance.disconnect()})}function dEt(e){if(e){const t=qH(e);t&&xve(t)}else xve()}function Ave(e){(e?[e]:ZH()).forEach(t=>{if(!t.observer){wee(t);return}const n=t.observer;if(n.paused&&(n.paused--,!n.paused)){const r=typeof t.node=="function"?t.node():t.node;if(r)n.instance?PDe(t,r):wee(t);else return}})}function pEt(e){if(e){const t=qH(e);t&&Ave(t)}else Ave()}function zDe(e,t=!1){const n=NDe(e,t);return wee(n),n}function jDe(e){const t=qH(e);t&&(RDe(t),uEt(e))}const _ve=[];function hEt(e){_ve.indexOf(e)===-1&&_ve.push(e)}function HDe(e){return typeof e=="string"&&(e=N$(e)),e===null||!I$(e)?null:e}function mEt(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let o=0;o<n.length;o++){const a=n[o];if(t[a]!==e[a])return!1}return!0}function vEt(e){const t=[];_ve.forEach(r=>{const o=r.find(e);Array.prototype.forEach.call(o,a=>{const i=a;if(i[L$]!==void 0&&i[L$]!==r)return;const l=HDe(r.name(i));if(l===null)return;i[L$]=r;const c={element:i,finder:r,name:l};t.push(c)})});const n=e.querySelectorAll("svg.iconify");return Array.prototype.forEach.call(n,r=>{const o=r,a=o[L$],i=o[WH];if(!a||!i)return;const l=HDe(a.name(o));if(l===null)return;let c=!1,d;if(l.prefix!==i.name.prefix||l.name!==i.name.name?c=!0:(d=a.customisations(o),mEt(i.customisations,d)||(c=!0)),c){const p={element:o,finder:a,name:l,customisations:d};t.push(p)}}),t}let KH=!1;function gEt(){KH||(KH=!0,setTimeout(()=>{KH&&(KH=!1,R$())}))}const yEt=(e,t)=>e!==null&&t!==null&&e.name===t.name&&e.prefix===t.prefix;function bEt(e){const t=qH(e);t?R$(t):R$({node:e,temporary:!0},!0)}function R$(e,t=!1){KH=!1;const n=Object.create(null);(e?[e]:ZH()).forEach(r=>{const o=typeof r.node=="function"?r.node():r.node;if(!o||!o.querySelectorAll)return;let a=!1,i=!1;vEt(o).forEach(l=>{const c=l.element,d=l.name,p=d.provider,v=d.prefix,h=d.name;let y=c[WH];if(y!==void 0&&yEt(y.name,d))switch(y.status){case"missing":return;case"loading":if($De({provider:p,prefix:v,name:h})){a=!0;return}}const C=sb(p,v);if(C.icons[h]!==void 0){!i&&r.observer&&(xve(r),i=!0);const b=l.customisations!==void 0?l.customisations:l.finder.customisations(c);MDe(l,b,sve(C,h));return}if(C.missing[h]){y={name:d,status:"missing",customisations:{}},c[WH]=y;return}if(!$De({provider:p,prefix:v,name:h})){n[p]===void 0&&(n[p]=Object.create(null));const b=n[p];b[v]===void 0&&(b[v]=Object.create(null)),b[v][h]=!0}y={name:d,status:"loading",customisations:{}},c[WH]=y,a=!0}),r.temporary&&!a?jDe(o):t&&a?zDe(o,!0):i&&r.observer&&Ave(r)}),Object.keys(n).forEach(r=>{const o=n[r];Object.keys(o).forEach(a=>{Fve(Object.keys(o[a]).map(i=>({provider:r,prefix:a,name:i})),gEt)})})}function CEt(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(e);return isNaN(o)?0:r(o)}else if(n!==e){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let a=parseFloat(e.slice(0,e.length-n.length));return isNaN(a)?0:(a=a/o,a%1===0?r(a):0)}}return t}const YDe=/[\s,]+/;function wEt(e,t){t.split(YDe).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function EEt(e,t){t.split(YDe).forEach(n=>{const r=n.trim();switch(r){case"left":case"center":case"right":e.hAlign=r;break;case"top":case"middle":case"bottom":e.vAlign=r;break;case"slice":case"crop":e.slice=!0;break;case"meet":e.slice=!1}})}function z$(e,t){return e.hasAttribute(t)}function GH(e,t){return e.getAttribute(t)}function FEt(e,t){const n=e.getAttribute(t);return n===t||n==="true"?!0:n===""||n==="false"?!1:null}const xEt=["inline","hFlip","vFlip"],AEt=["width","height"],VDe="iconify",Bve="iconify-inline",_Et="i."+VDe+", span."+VDe+", i."+Bve+", span."+Bve,BEt={find:e=>e.querySelectorAll(_Et),name:e=>z$(e,"data-icon")?GH(e,"data-icon"):null,customisations:(e,t={inline:!1})=>{const n=t,r=e.getAttribute("class");if((r?r.split(/\s+/):[]).indexOf(Bve)!==-1&&(n.inline=!0),z$(e,"data-rotate")){const a=CEt(GH(e,"data-rotate"));a&&(n.rotate=a)}return z$(e,"data-flip")&&wEt(n,GH(e,"data-flip")),z$(e,"data-align")&&EEt(n,GH(e,"data-align")),xEt.forEach(a=>{if(z$(e,"data-"+a)){const i=FEt(e,"data-"+a);typeof i=="boolean"&&(n[a]=i)}}),AEt.forEach(a=>{if(z$(e,"data-"+a)){const i=GH(e,"data-"+a);i!==""&&(n[a]=i)}}),n},classFilter:e=>{const t=[];return e.forEach(n=>{n!=="iconify"&&n!==""&&n.slice(0,9)!=="iconify--"&&t.push(n)}),t}};function UDe(e,t,n){const r=dee(e);if(!r)return null;const o=N$(e),a=pee(YH,typeof t=="object"?t:{});return MDe({name:o},a,r,n)}function kEt(){return"2.2.1"}function DEt(e,t){return UDe(e,t,!1)}function SEt(e,t){return UDe(e,t,!0)}function TEt(e,t){const n=dee(e);if(!n)return null;const r=pee(YH,typeof t=="object"?t:{});return cve(n,r)}function OEt(e){e?bEt(e):R$()}if(typeof document<"u"&&typeof window<"u"){iEt(),hEt(BEt);const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!fDe(r))&&console.error(n)}catch{console.error(n)}})}setTimeout(()=>{fEt(R$),R$()})}function $Et(e,t){EDe(e,t!==!1)}function MEt(e){EDe(e,!0)}if(FDe("",Zwt),typeof document<"u"&&typeof window<"u"){pve.store=Lwt,wDe();const e=window;if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(const n in t){const r="IconifyProviders["+n+"] is invalid.";try{const o=t[n];if(typeof o!="object"||!o||o.resources===void 0)continue;xDe(n,o)||console.error(r)}catch{console.error(r)}}}}const NEt={getAPIConfig:yee,setAPIModule:FDe,sendAPIQuery:SDe,setFetch:jwt,getFetch:Hwt,listAPIProviders:Rwt,mergeParams:gve},WDe={_api:NEt,addAPIProvider:xDe,loadIcons:Fve,loadIcon:aEt,iconExists:_wt,getIcon:Bwt,listIcons:xwt,addIcon:cDe,addCollection:fDe,shareStorage:wwt,replaceIDs:dDe,calculateSize:hee,buildIcon:Twt,getVersion:kEt,renderSVG:DEt,renderHTML:SEt,renderIcon:TEt,scan:OEt,observe:zDe,stopObserving:jDe,pauseObserver:dEt,resumeObserver:pEt,enableCache:$Et,disableCache:MEt};try{self.Iconify===void 0&&(self.Iconify=WDe)}catch{}const IEt=Object.prototype.toString;function fb(e,t){return IEt.call(e)===`[object ${t}]`}function iw(e){return typeof e<"u"}function db(e){return!iw(e)}function is(e){return e!==null&&fb(e,"Object")}function qDe(e){return hp(e)||Hs(e)?e.length===0:e instanceof Map||e instanceof Set?e.size===0:is(e)?Object.keys(e).length===0:!1}function PEt(e){return fb(e,"Date")}function Eee(e){return e===null}function LEt(e){return db(e)&&Eee(e)}function df(e){return db(e)||Eee(e)}function Mg(e){return fb(e,"Number")}function REt(e){return fb(e,"Promise")}function Hs(e){return fb(e,"String")}function Ka(e){return typeof e=="function"}function Di(e){return fb(e,"Boolean")}function zEt(e){return fb(e,"RegExp")}function hp(e){return e&&Array.isArray(e)}function ZDe(e){return typeof window<"u"&&fb(e,"Window")}function jEt(e){return is(e)&&!!e.tagName}function XDe(e){return fb(e,"Map")}const kve=typeof window>"u",KDe=!kve;function HEt(e){return/(((^https?:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+(?::\d+)?|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)$/.test(e)}/*!
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
*
* Copyright (c) 2014-2017, Jon Schlinkert.
* Released under the MIT License.
*/function GDe(e){return Object.prototype.toString.call(e)==="[object Object]"}function YEt(e){var t,n;return GDe(e)===!1?!1:(t=e.constructor,t===void 0?!0:(n=t.prototype,!(GDe(n)===!1||n.hasOwnProperty("isPrototypeOf")===!1)))}function JH(){return JH=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},JH.apply(this,arguments)}function JDe(e,t){if(e==null)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)t.indexOf(n=a[r])>=0||(o[n]=e[n]);return o}const VEt={silent:!1,logLevel:"warn"},UEt=["validator"],QDe=Object.prototype,eSe=QDe.toString,WEt=QDe.hasOwnProperty,tSe=/^\s*function (\w+)/;function nSe(e){var t;const n=(t=e?.type)!==null&&t!==void 0?t:e;if(n){const r=n.toString().match(tSe);return r?r[1]:""}return""}const k_=YEt,qEt=e=>e;let Jp=qEt;const j$=(e,t)=>WEt.call(e,t),ZEt=Number.isInteger||function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e},H$=Array.isArray||function(e){return eSe.call(e)==="[object Array]"},Y$=e=>eSe.call(e)==="[object Function]",Fee=e=>k_(e)&&j$(e,"_vueTypes_name"),rSe=e=>k_(e)&&(j$(e,"type")||["_vueTypes_name","validator","default","required"].some(t=>j$(e,t)));function Dve(e,t){return Object.defineProperty(e.bind(t),"__original",{value:e})}function D_(e,t,n=!1){let r,o=!0,a="";r=k_(e)?e:{type:e};const i=Fee(r)?r._vueTypes_name+" - ":"";if(rSe(r)&&r.type!==null){if(r.type===void 0||r.type===!0||!r.required&&t===void 0)return o;H$(r.type)?(o=r.type.some(l=>D_(l,t,!0)===!0),a=r.type.map(l=>nSe(l)).join(" or ")):(a=nSe(r),o=a==="Array"?H$(t):a==="Object"?k_(t):a==="String"||a==="Number"||a==="Boolean"||a==="Function"?function(l){if(l==null)return"";const c=l.constructor.toString().match(tSe);return c?c[1]:""}(t)===a:t instanceof r.type)}if(!o){const l=`${i}value "${t}" should be of type "${a}"`;return n===!1?(Jp(l),!1):l}if(j$(r,"validator")&&Y$(r.validator)){const l=Jp,c=[];if(Jp=d=>{c.push(d)},o=r.validator(t),Jp=l,!o){const d=(c.length>1?"* ":"")+c.join(`
* `);return c.length=0,n===!1?(Jp(d),o):d}}return o}function ev(e,t){const n=Object.defineProperties(t,{_vueTypes_name:{value:e,writable:!0},isRequired:{get(){return this.required=!0,this}},def:{value(o){return o===void 0?(j$(this,"default")&&delete this.default,this):Y$(o)||D_(this,o,!0)===!0?(this.default=H$(o)?()=>[...o]:k_(o)?()=>Object.assign({},o):o,this):(Jp(`${this._vueTypes_name} - invalid default value: "${o}"`),this)}}}),{validator:r}=n;return Y$(r)&&(n.validator=Dve(r,n)),n}function pb(e,t){const n=ev(e,t);return Object.defineProperty(n,"validate",{value(r){return Y$(this.validator)&&Jp(`${this._vueTypes_name} - calling .validate() will overwrite the current custom validator function. Validator info:
${JSON.stringify(this)}`),this.validator=Dve(r,this),this}})}function oSe(e,t,n){const r=function(c){const d={};return Object.getOwnPropertyNames(c).forEach(p=>{d[p]=Object.getOwnPropertyDescriptor(c,p)}),Object.defineProperties({},d)}(t);if(r._vueTypes_name=e,!k_(n))return r;const{validator:o}=n,a=JDe(n,UEt);if(Y$(o)){let{validator:c}=r;c&&(c=(l=(i=c).__original)!==null&&l!==void 0?l:i),r.validator=Dve(c?function(d){return c.call(this,d)&&o.call(this,d)}:o,r)}var i,l;return Object.assign(r,a)}function xee(e){return e.replace(/^(?!\s*$)/gm," ")}const XEt=()=>pb("any",{}),KEt=()=>pb("function",{type:Function}),GEt=()=>pb("boolean",{type:Boolean}),JEt=()=>pb("string",{type:String}),QEt=()=>pb("number",{type:Number}),eFt=()=>pb("array",{type:Array}),tFt=()=>pb("object",{type:Object}),nFt=()=>ev("integer",{type:Number,validator:e=>ZEt(e)}),rFt=()=>ev("symbol",{validator:e=>typeof e=="symbol"});function oFt(e,t="custom validation failed"){if(typeof e!="function")throw new TypeError("[VueTypes error]: You must provide a function as argument");return ev(e.name||"<<anonymous function>>",{type:null,validator(n){const r=e(n);return r||Jp(`${this._vueTypes_name} - ${t}`),r}})}function aFt(e){if(!H$(e))throw new TypeError("[VueTypes error]: You must provide an array as argument.");const t=`oneOf - value should be one of "${e.join('", "')}".`,n=e.reduce((r,o)=>{if(o!=null){const a=o.constructor;r.indexOf(a)===-1&&r.push(a)}return r},[]);return ev("oneOf",{type:n.length>0?n:void 0,validator(r){const o=e.indexOf(r)!==-1;return o||Jp(t),o}})}function iFt(e){if(!H$(e))throw new TypeError("[VueTypes error]: You must provide an array as argument");let t=!1,n=[];for(let o=0;o<e.length;o+=1){const a=e[o];if(rSe(a)){if(Fee(a)&&a._vueTypes_name==="oneOf"&&a.type){n=n.concat(a.type);continue}if(Y$(a.validator)&&(t=!0),a.type===!0||!a.type){Jp('oneOfType - invalid usage of "true" or "null" as types.');continue}n=n.concat(a.type)}else n.push(a)}n=n.filter((o,a)=>n.indexOf(o)===a);const r=n.length>0?n:null;return ev("oneOfType",t?{type:r,validator(o){const a=[],i=e.some(l=>{const c=D_(Fee(l)&&l._vueTypes_name==="oneOf"?l.type||null:l,o,!0);return typeof c=="string"&&a.push(c),c===!0});return i||Jp(`oneOfType - provided value does not match any of the ${a.length} passed-in validators:
${xee(a.join(`
`))}`),i}}:{type:r})}function uFt(e){return ev("arrayOf",{type:Array,validator(t){let n="";const r=t.every(o=>(n=D_(e,o,!0),n===!0));return r||Jp(`arrayOf - value validation error:
${xee(n)}`),r}})}function lFt(e){return ev("instanceOf",{type:e})}function sFt(e){return ev("objectOf",{type:Object,validator(t){let n="";const r=Object.keys(t).every(o=>(n=D_(e,t[o],!0),n===!0));return r||Jp(`objectOf - value validation error:
${xee(n)}`),r}})}function cFt(e){const t=Object.keys(e),n=t.filter(o=>{var a;return!((a=e[o])===null||a===void 0||!a.required)}),r=ev("shape",{type:Object,validator(o){if(!k_(o))return!1;const a=Object.keys(o);if(n.length>0&&n.some(i=>a.indexOf(i)===-1)){const i=n.filter(l=>a.indexOf(l)===-1);return Jp(i.length===1?`shape - required property "${i[0]}" is not defined.`:`shape - required properties "${i.join('", "')}" are not defined.`),!1}return a.every(i=>{if(t.indexOf(i)===-1)return this._vueTypes_isLoose===!0||(Jp(`shape - shape definition does not include a "${i}" property. Allowed keys: "${t.join('", "')}".`),!1);const l=D_(e[i],o[i],!0);return typeof l=="string"&&Jp(`shape - "${i}" property validation error:
${xee(l)}`),l===!0})}});return Object.defineProperty(r,"_vueTypes_isLoose",{writable:!0,value:!1}),Object.defineProperty(r,"loose",{get(){return this._vueTypes_isLoose=!0,this}}),r}const fFt=["name","validate","getter"],dFt=(()=>{var e,t;return t=e=class{static get any(){return XEt()}static get func(){return KEt().def(this.defaults.func)}static get bool(){return GEt().def(this.defaults.bool)}static get string(){return JEt().def(this.defaults.string)}static get number(){return QEt().def(this.defaults.number)}static get array(){return eFt().def(this.defaults.array)}static get object(){return tFt().def(this.defaults.object)}static get integer(){return nFt().def(this.defaults.integer)}static get symbol(){return rFt()}static extend(n){if(H$(n))return n.forEach(d=>this.extend(d)),this;const{name:r,validate:o=!1,getter:a=!1}=n,i=JDe(n,fFt);if(j$(this,r))throw new TypeError(`[VueTypes error]: Type "${r}" already defined`);const{type:l}=i;if(Fee(l))return delete i.type,Object.defineProperty(this,r,a?{get:()=>oSe(r,l,i)}:{value(...d){const p=oSe(r,l,i);return p.validator&&(p.validator=p.validator.bind(p,...d)),p}});let c;return c=a?{get(){const d=Object.assign({},i);return o?pb(r,d):ev(r,d)},enumerable:!0}:{value(...d){const p=Object.assign({},i);let v;return v=o?pb(r,p):ev(r,p),p.validator&&(v.validator=p.validator.bind(v,...d)),v},enumerable:!0},Object.defineProperty(this,r,c)}},e.defaults={},e.sensibleDefaults=void 0,e.config=VEt,e.custom=oFt,e.oneOf=aFt,e.instanceOf=lFt,e.oneOfType=iFt,e.arrayOf=uFt,e.objectOf=sFt,e.shape=cFt,e.utils={validate:(n,r)=>D_(r,n,!0)===!0,toType:(n,r,o=!1)=>o?pb(n,r):ev(n,r)},t})();function aSe(e={func:()=>{},bool:!0,string:"",number:0,array:()=>[],object:()=>({}),integer:0}){var t,n;return n=t=class extends dFt{static get sensibleDefaults(){return JH({},this.defaults)}static set sensibleDefaults(r){this.defaults=r!==!1?JH({},r!==!0?r:e):{}}},t.defaults=JH({},e),n}class u1r extends aSe(){}const no=aSe({func:void 0,bool:void 0,string:void 0,number:void 0,array:void 0,object:void 0,integer:void 0});no.extend([{name:"looseBool",getter:!0,type:Boolean,default:void 0},{name:"style",getter:!0,type:[String,Object],default:void 0},{name:"VNodeChild",getter:!0,type:void 0}]);function pFt(e){return e.default=void 0,e}var na=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n};const hFt=It({name:"SvgIcon",props:{prefix:{type:String,default:"icon"},name:{type:String,required:!0},size:{type:[Number,String],default:16},spin:{type:Boolean,default:!1}},setup(e){const t="ta-icon-svg",n=Ce(()=>`#${e.prefix}-${e.name}`),r=Ce(()=>{const{size:o}=e;let a=`${o}`;return a=`${a.replace("px","")}px`,{width:a,height:a}});return{symbolId:n,prefixCls:t,getStyle:r}}}),mFt=["xlink:href"];function vFt(e,t,n,r,o,a){return Jt(),Un("svg",{class:Jr([e.prefixCls,e.$attrs.class,e.spin&&"svg-icon-spin"]),style:ms(e.getStyle),"aria-hidden":"true"},[or("use",{"xlink:href":e.symbolId},null,8,mFt)],6)}var gFt=na(hFt,[["render",vFt],["__file","icon-svg.vue"]]);const Aee=Na(gFt),iSe="|svg",yFt=It({name:"TaIcon",components:{SvgIcon:Aee},props:{icon:no.string,color:no.string,size:{type:[String,Number],default:16},spin:no.bool.def(!1),prefix:no.string.def("")},setup(e){const t=$e(null),n=Ce(()=>e.icon?.endsWith(iSe)),r=Ce(()=>e.icon.replace(iSe,"")),o=Ce(()=>`${e.prefix?`${e.prefix}:`:""}${e.icon}`),a=async()=>{if(oe(n))return;const l=oe(t);if(!l)return;await nn();const c=oe(o);if(!c)return;const d=WDe.renderSVG(c,{});if(d)l.textContent="",l.appendChild(d);else{const p=document.createElement("span");p.className="iconify",p.dataset.icon=c,l.textContent="",l.appendChild(p)}},i=Ce(()=>{const{size:l,color:c}=e;let d=l;return Hs(l)&&(d=parseInt(l,10)),{fontSize:`${d}px`,color:c,display:"inline-flex"}});return Qt(()=>e.icon,a,{flush:"post"}),bo(a),{elRef:t,getWrapStyle:i,isSvgIcon:n,getSvgIcon:r}}});function bFt(e,t,n,r,o,a){const i=Xn("SvgIcon");return e.isSvgIcon?(Jt(),Zr(i,{key:0,size:e.size,name:e.getSvgIcon,class:Jr([e.$attrs.class,"anticon"]),spin:e.spin},null,8,["size","name","class","spin"])):(Jt(),Un("span",{key:1,ref:"elRef",class:Jr([e.$attrs.class,"app-iconify anticon",e.spin&&"app-iconify-spin"]),style:ms(e.getWrapStyle)},null,6))}var Sve=na(yFt,[["render",bFt],["__file","icon.vue"]]);const hd=Na(Sve),uSe={expand:{type:Boolean},up:{type:Boolean},down:{type:Boolean},inset:{type:Boolean},iconStyle:{type:String}},CFt=It({name:"TaBasicArrow",components:{Icon:hd},props:uSe,setup(e){const t="ta-basic-arrow",n=Ce(()=>{const{expand:r,up:o,down:a,inset:i}=e;return[t,{[`${t}--active`]:r,up:o,inset:i,down:a}]});return{prefixCls:t,getClass:n}}});function wFt(e,t,n,r,o,a){const i=Xn("Icon");return Jt(),Un("span",{class:Jr(e.getClass)},[I(i,{icon:"ion:chevron-forward",style:ms(e.$attrs.iconStyle)},null,8,["style"])],2)}var EFt=na(CFt,[["render",wFt],["__file","basic-arrow.vue"]]);const QH=Na(EFt);function mp(e,t){FFt(e)&&(e="100%");var n=xFt(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function _ee(e){return Math.min(1,Math.max(0,e))}function FFt(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function xFt(e){return typeof e=="string"&&e.indexOf("%")!==-1}function lSe(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Bee(e){return e<=1?"".concat(Number(e)*100,"%"):e}function S_(e){return e.length===1?"0"+e:String(e)}function AFt(e,t,n){return{r:mp(e,255)*255,g:mp(t,255)*255,b:mp(n,255)*255}}function sSe(e,t,n){e=mp(e,255),t=mp(t,255),n=mp(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),a=0,i=0,l=(r+o)/2;if(r===o)i=0,a=0;else{var c=r-o;switch(i=l>.5?c/(2-r-o):c/(r+o),r){case e:a=(t-n)/c+(t<n?6:0);break;case t:a=(n-e)/c+2;break;case n:a=(e-t)/c+4;break}a/=6}return{h:a,s:i,l}}function Tve(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function _Ft(e,t,n){var r,o,a;if(e=mp(e,360),t=mp(t,100),n=mp(n,100),t===0)o=n,a=n,r=n;else{var i=n<.5?n*(1+t):n+t-n*t,l=2*n-i;r=Tve(l,i,e+1/3),o=Tve(l,i,e),a=Tve(l,i,e-1/3)}return{r:r*255,g:o*255,b:a*255}}function Ove(e,t,n){e=mp(e,255),t=mp(t,255),n=mp(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),a=0,i=r,l=r-o,c=r===0?0:l/r;if(r===o)a=0;else{switch(r){case e:a=(t-n)/l+(t<n?6:0);break;case t:a=(n-e)/l+2;break;case n:a=(e-t)/l+4;break}a/=6}return{h:a,s:c,v:i}}function BFt(e,t,n){e=mp(e,360)*6,t=mp(t,100),n=mp(n,100);var r=Math.floor(e),o=e-r,a=n*(1-t),i=n*(1-o*t),l=n*(1-(1-o)*t),c=r%6,d=[n,i,a,a,l,n][c],p=[l,n,n,i,a,a][c],v=[a,a,l,n,n,i][c];return{r:d*255,g:p*255,b:v*255}}function $ve(e,t,n,r){var o=[S_(Math.round(e).toString(16)),S_(Math.round(t).toString(16)),S_(Math.round(n).toString(16))];return r&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function kFt(e,t,n,r,o){var a=[S_(Math.round(e).toString(16)),S_(Math.round(t).toString(16)),S_(Math.round(n).toString(16)),S_(DFt(r))];return o&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))&&a[3].startsWith(a[3].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}function DFt(e){return Math.round(parseFloat(e)*255).toString(16)}function cSe(e){return tv(e)/255}function tv(e){return parseInt(e,16)}function SFt(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var Mve={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function V$(e){var t={r:0,g:0,b:0},n=1,r=null,o=null,a=null,i=!1,l=!1;return typeof e=="string"&&(e=$Ft(e)),typeof e=="object"&&(i7(e.r)&&i7(e.g)&&i7(e.b)?(t=AFt(e.r,e.g,e.b),i=!0,l=String(e.r).substr(-1)==="%"?"prgb":"rgb"):i7(e.h)&&i7(e.s)&&i7(e.v)?(r=Bee(e.s),o=Bee(e.v),t=BFt(e.h,r,o),i=!0,l="hsv"):i7(e.h)&&i7(e.s)&&i7(e.l)&&(r=Bee(e.s),a=Bee(e.l),t=_Ft(e.h,r,a),i=!0,l="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=lSe(n),{ok:i,format:e.format||l,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var TFt="[-\\+]?\\d+%?",OFt="[-\\+]?\\d*\\.\\d+%?",uw="(?:".concat(OFt,")|(?:").concat(TFt,")"),Nve="[\\s|\\(]+(".concat(uw,")[,|\\s]+(").concat(uw,")[,|\\s]+(").concat(uw,")\\s*\\)?"),Ive="[\\s|\\(]+(".concat(uw,")[,|\\s]+(").concat(uw,")[,|\\s]+(").concat(uw,")[,|\\s]+(").concat(uw,")\\s*\\)?"),B2={CSS_UNIT:new RegExp(uw),rgb:new RegExp("rgb"+Nve),rgba:new RegExp("rgba"+Ive),hsl:new RegExp("hsl"+Nve),hsla:new RegExp("hsla"+Ive),hsv:new RegExp("hsv"+Nve),hsva:new RegExp("hsva"+Ive),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function $Ft(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(Mve[e])e=Mve[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=B2.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=B2.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=B2.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=B2.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=B2.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=B2.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=B2.hex8.exec(e),n?{r:tv(n[1]),g:tv(n[2]),b:tv(n[3]),a:cSe(n[4]),format:t?"name":"hex8"}:(n=B2.hex6.exec(e),n?{r:tv(n[1]),g:tv(n[2]),b:tv(n[3]),format:t?"name":"hex"}:(n=B2.hex4.exec(e),n?{r:tv(n[1]+n[1]),g:tv(n[2]+n[2]),b:tv(n[3]+n[3]),a:cSe(n[4]+n[4]),format:t?"name":"hex8"}:(n=B2.hex3.exec(e),n?{r:tv(n[1]+n[1]),g:tv(n[2]+n[2]),b:tv(n[3]+n[3]),format:t?"name":"hex"}:!1