@fox-js/foxui-pad 4.1.17 → 4.1.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +8926 -8817
- package/dist/index.umd.js +1 -1
- package/dist/style.js +1 -1
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(b,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("vue"),require("@fox-js/validator"),require("element-plus"),require("@element-plus/icons-vue"),require("@fox-js/i18n")):typeof define=="function"&&define.amd?define(["exports","vue","@fox-js/validator","element-plus","@element-plus/icons-vue","@fox-js/i18n"],t):(b=typeof globalThis<"u"?globalThis:b||self,t(b.FoxUI={},b.Vue,b.FoxValidator,b.ElementPlus,b.ElementPlusIconsVue,b.FoxI18n))})(this,function(b,t,Vt,V,He,Be){Object.defineProperties(b,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var Ii=Object.create,rr=Object.defineProperty,Li=Object.getOwnPropertyDescriptor,Ri=Object.getOwnPropertyNames,_i=Object.getPrototypeOf,Fi=Object.prototype.hasOwnProperty,yt=(e,n)=>()=>(n||(e((n={exports:{}}).exports,n),e=null),n.exports),Oi=(e,n,l,i)=>{if(n&&typeof n=="object"||typeof n=="function")for(var r=Ri(n),o=0,s=r.length,c;o<s;o++)c=r[o],!Fi.call(e,c)&&c!==l&&rr(e,c,{get:(a=>n[a]).bind(null,c),enumerable:!(i=Li(n,c))||i.enumerable});return e},bt=(e,n,l)=>(l=e!=null?Ii(_i(e)):{},Oi(n||!e||!e.__esModule?rr(l,"default",{value:e,enumerable:!0}):l,e)),El=window,qi=typeof window<"u";function Hi(){return typeof El<"u"?El.requestAnimationFrame||El.webkitRequestAnimationFrame||function(e){El.setTimeout(e,1e3/60)}:function(e){setTimeout(e,1e3/60)}}function Ki(e){qi?cancelAnimationFrame(e):clearTimeout(e)}var ba=Hi();function zl(e,n="0"){let l=0,i=-1;e[0]=="-"&&(l++,i=1,e=e.substring(1),e.length),n[0]=="-"&&(l++,i=2,n=n.substring(1),n.length),e=Je(e),n=Je(n),[e,n]=wa(Je(e),Je(n)),l==1&&(i==1?e=Sa(e):n=Sa(n));let r=or(e,n);return l?l==2?"-"+Je(r):e.length<r.length?Je(r.substring(1)):"-"+Je(Sa(r)):Je(r)}function Sa(e){let n="",l=e.length,i=e.split(".")[1],r=i?i.length:0;for(let s=0;s<l;s++)e[s]>="0"&&e[s]<="9"?n+=9-parseInt(e[s]):n+=e[s];let o=r>0?"0."+new Array(r).join("0")+"1":"1";return or(n,o)}function Je(e){let n=e.split(".");for(n[0]||(n[0]="0");n[0][0]=="0"&&n[0].length>1;)n[0]=n[0].substring(1);return n[0]+(n[1]?"."+n[1]:"")}function wa(e,n){let l=e.split("."),i=n.split("."),r=l[0].length,o=i[0].length;return r>o?i[0]=new Array(Math.abs(r-o)+1).join("0")+(i[0]?i[0]:""):l[0]=new Array(Math.abs(r-o)+1).join("0")+(l[0]?l[0]:""),r=l[1]?l[1].length:0,o=i[1]?i[1].length:0,(r||o)&&(r>o?i[1]=(i[1]?i[1]:"")+new Array(Math.abs(r-o)+1).join("0"):l[1]=(l[1]?l[1]:"")+new Array(Math.abs(r-o)+1).join("0")),e=l[0]+(l[1]?"."+l[1]:""),n=i[0]+(i[1]?"."+i[1]:""),[e,n]}function or(e,n){[e,n]=wa(e,n);let l="",i=0;for(let r=e.length-1;r>=0;r--){if(e[r]==="."){l="."+l;continue}let o=parseInt(e[r])+parseInt(n[r])+i;l=o%10+l,i=Math.floor(o/10)}return i?i.toString()+l:l}var Ke=(function(e){return e[e.CEILING=0]="CEILING",e[e.DOWN=1]="DOWN",e[e.FLOOR=2]="FLOOR",e[e.HALF_DOWN=3]="HALF_DOWN",e[e.HALF_EVEN=4]="HALF_EVEN",e[e.HALF_UP=5]="HALF_UP",e[e.UNNECESSARY=6]="UNNECESSARY",e[e.UP=7]="UP",e})({});function Zt(e,n=0,l=Ke.HALF_EVEN){if(l===Ke.UNNECESSARY)throw new Error("UNNECESSARY Rounding Mode has not yet been implemented");typeof e=="number"&&(e=e.toString());let i=!1;e[0]==="-"&&(i=!0,e=e.substring(1));let r=e.split("."),o=r[0],s=r[1];if(n<0){if(n=-n,o.length<=n)return"0";{let a=o.substr(0,o.length-n);return e=a+"."+o.substr(o.length-n)+s,a=Zt(e,0,l),(i?"-":"")+a+new Array(n+1).join("0")}}if(n==0)return o.length,ir(r[1],o,i,l)?(i?"-":"")+va(o):(i?"-":"")+o;if(r[1]){if(r[1].length<n)return(i?"-":"")+o+"."+r[1]+new Array(n-r[1].length+1).join("0")}else return(i?"-":"")+o+"."+new Array(n+1).join("0");s=r[1].substring(0,n);let c=r[1].substring(n);return c&&ir(c,s,i,l)&&(s=va(s),s.length>n)?(i?"-":"")+va(o,parseInt(s[0]))+"."+s.substring(1):(i?"-":"")+o+"."+s}function ir(e,n,l,i){if(!e||e===new Array(e.length+1).join("0")||i===Ke.DOWN||!l&&i===Ke.FLOOR||l&&i===Ke.CEILING)return!1;if(i===Ke.UP||l&&i===Ke.FLOOR||!l&&i===Ke.CEILING)return!0;let r="5"+new Array(e.length).join("0");if(e>r)return!0;if(e<r)return!1;switch(i){case Ke.HALF_DOWN:return!1;case Ke.HALF_UP:return!0;case Ke.HALF_EVEN:default:return parseInt(n[n.length-1])%2==1}}function va(e,n=0){n||(n=1),typeof e=="number"&&e.toString();let l=e.length-1,i="";for(let r=l;r>=0;r--){let o=parseInt(e[r])+n;o==10?(n=1,o=0):n=0,i+=o}return n&&(i+=n),i.split("").reverse().join("")}function Ca(e,n){e=e.toString(),n=n.toString();let l=0;e[0]=="-"&&(l++,e=e.substr(1)),n[0]=="-"&&(l++,n=n.substr(1)),e=Jt(e),n=Jt(n);let i=0,r=0;e.indexOf(".")!=-1&&(i=e.length-e.indexOf(".")-1),n.indexOf(".")!=-1&&(r=n.length-n.indexOf(".")-1);let o=i+r;if(e=Jt(e.replace(".","")),n=Jt(n.replace(".","")),e.length<n.length){let d=e;e=n,n=d}if(n=="0")return"0";let s=n.length,c=0,a=[],u=s-1,f="";for(let d=0;d<s;d++)a[d]=e.length-1;for(let d=0;d<2*e.length;d++){let h=0;for(let z=n.length-1;z>=u&&z>=0;z--)a[z]>-1&&a[z]<e.length&&(h+=parseInt(e[a[z]--])*parseInt(n[z]));h+=c,c=Math.floor(h/10),f=h%10+f,u--}return f=Jt(ji(f,o)),l==1&&(f="-"+f),f}function ji(e,n){return n==0?e:(e=n>=e.length?new Array(n-e.length+1).join("0")+e:e,e.substr(0,e.length-n)+"."+e.substr(e.length-n,n))}function Jt(e){for(;e[0]=="0";)e=e.substr(1);if(e.indexOf(".")!=-1)for(;e[e.length-1]=="0";)e=e.substr(0,e.length-1);return e==""||e=="."?e="0":e[e.length-1]=="."&&(e=e.substr(0,e.length-1)),e[0]=="."&&(e="0"+e),e}function Na(e,n,l=8){if(n==0)throw new Error("Cannot divide by 0");if(e=e.toString(),n=n.toString(),e=e.replace(/(\.\d*?[1-9])0+$/g,"$1").replace(/\.0+$/,""),n=n.replace(/(\.\d*?[1-9])0+$/g,"$1").replace(/\.0+$/,""),e==0)return"0";let i=0;n[0]=="-"&&(n=n.substring(1),i++),e[0]=="-"&&(e=e.substring(1),i++);var r=n.indexOf(".")>0?n.length-n.indexOf(".")-1:-1;if(n=Je(n.replace(".","")),r>=0){let u=e.indexOf(".")>0?e.length-e.indexOf(".")-1:-1;if(u==-1)e=Je(e+new Array(r+1).join("0"));else if(r>u)e=e.replace(".",""),e=Je(e+new Array(r-u+1).join("0"));else if(r<u){e=e.replace(".","");let f=e.length-u+r;e=Je(e.substring(0,f)+"."+e.substring(f))}else r==u&&(e=Je(e.replace(".","")))}let o=0,s=n.length,c="",a=e.indexOf(".")>-1&&e.indexOf(".")<s?e.substring(0,s+1):e.substring(0,s);if(e=e.indexOf(".")>-1&&e.indexOf(".")<s?e.substring(s+1):e.substring(s),a.indexOf(".")>-1){let u=a.length-a.indexOf(".")-1;a=a.replace(".",""),s>a.length&&(u+=s-a.length,a=a+new Array(s-a.length+1).join("0")),o=u,c="0."+new Array(u).join("0")}for(l=l+2;o<=l;){let u=0;for(;parseInt(a)>=parseInt(n);)a=zl(a,"-"+n),u++;c+=u,e?(e[0]=="."&&(c+=".",o++,e=e.substring(1)),a=a+e.substring(0,1),e=e.substring(1)):(o||(c+="."),o++,a=a+"0")}return(i==1?"-":"")+Je(Zt(c,l-2))}function ka(e,n){return e=e.toString(),n=n.toString(),n=xa(n),zl(e,n)}function xa(e){return e[0]=="-"?e=e.substr(1):e="-"+e,e}function sr(e,n){if(n==0)throw new Error("Cannot divide by 0");e=e.toString(),n=n.toString(),cr(e),cr(n);let l="";e[0]=="-"&&(l="-",e=e.substr(1)),n[0]=="-"&&(n=n.substr(1));let i=ka(e,Ca(n,Zt(Na(e,n),0,Ke.FLOOR)));return l+i}function cr(e){if(e.indexOf(".")!=-1)throw new Error("Modulus of non-integers not supported")}function ur(e,n){let l=!1;if(e[0]=="-"&&n[0]!="-")return-1;if(e[0]!="-"&&n[0]=="-")return 1;if(e[0]=="-"&&n[0]=="-"&&(e=e.substr(1),n=n.substr(1),l=!0),[e,n]=wa(e,n),e.localeCompare(n)==0)return 0;for(let i=0;i<e.length;i++)if(e[i]!=n[i])return e[i]>n[i]?l?-1:1:l?1:-1;return 0}var el=class $e{value;static RoundingModes=Ke;static validate(n){if(n){if(n=n.toString(),isNaN(n))throw Error("Parameter is not a number: "+n);n[0]=="+"&&(n=n.substring(1))}else n="0";if(n.startsWith(".")?n="0"+n:n.startsWith("-.")&&(n="-0"+n.substr(1)),/e/i.test(n)){let[l,i]=n.split(/[eE]/);l=Je(l);let r="";l[0]=="-"&&(r="-",l=l.substring(1)),l.indexOf(".")>=0?(i=parseInt(i)+l.indexOf("."),l=l.replace(".","")):i=parseInt(i)+l.length,l.length<i?n=r+l+new Array(i-l.length+1).join("0"):l.length>=i&&i>0?n=r+Je(l.substring(0,i))+(l.length>i?"."+l.substring(i):""):n=r+"0."+new Array(-i+1).join("0")+l}return n}constructor(n="0"){this.value=$e.validate(n)}getValue(){return this.value}static getPrettyValue(n,l,i){if(!(l||i))l=3,i=",";else if(!(l&&i))throw Error("Illegal Arguments. Should pass both digits and separator or pass none");n=$e.validate(n);let r=n.charAt(0)=="-";r&&(n=n.substring(1));var o=n.indexOf(".");o=o>0?o:n.length;for(var s="",c=o;c>0;)c<l?(l=c,c=0):c-=l,s=n.substring(c,c+l)+(c<o-l&&c>=0?i:"")+s;return(r?"-":"")+s+n.substring(o)}getPrettyValue(n,l){return $e.getPrettyValue(this.value,n,l)}static round(n,l=0,i=Ke.HALF_EVEN){if(n=$e.validate(n),isNaN(l))throw Error("Precision is not a number: "+l);return Zt(n,l,i)}round(n=0,l=Ke.HALF_EVEN){if(isNaN(n))throw Error("Precision is not a number: "+n);return new $e(Zt(this.value,n,l))}static floor(n){return n=$e.validate(n),n.indexOf(".")===-1?n:$e.round(n,0,Ke.FLOOR)}floor(){return this.value.indexOf(".")===-1?new $e(this.value):new $e(this.value).round(0,Ke.FLOOR)}static ceil(n){return n=$e.validate(n),n.indexOf(".")===-1?n:$e.round(n,0,Ke.CEILING)}ceil(){return this.value.indexOf(".")===-1?new $e(this.value):new $e(this.value).round(0,Ke.CEILING)}static add(n,l){return n=$e.validate(n),l=$e.validate(l),zl(n,l)}add(n){return new $e(zl(this.value,n.getValue()))}static subtract(n,l){return n=$e.validate(n),l=$e.validate(l),ka(n,l)}subtract(n){return new $e(ka(this.value,n.getValue()))}static multiply(n,l){return n=$e.validate(n),l=$e.validate(l),Ca(n,l)}multiply(n){return new $e(Ca(this.value,n.getValue()))}static divide(n,l,i){return n=$e.validate(n),l=$e.validate(l),Na(n,l,i)}divide(n,l){return new $e(Na(this.value,n.getValue(),l))}static modulus(n,l){return n=$e.validate(n),l=$e.validate(l),sr(n,l)}modulus(n){return new $e(sr(this.value,n.getValue()))}static compareTo(n,l){return n=$e.validate(n),l=$e.validate(l),ur(n,l)}compareTo(n){return ur(this.value,n.getValue())}static negate(n){return n=$e.validate(n),xa(n)}negate(){return new $e(xa(this.value))}};function dr(e,n){return el.multiply(`${e}`,`${n}`)}function Ta(e,n,l=8){return el.divide(`${e}`,`${n}`,l)}var Ym=el.RoundingModes;function Ea(e,n){return e=`${e}`,n=`${n}`,el.compareTo(e,n)}function fr(e){return el.negate(e)}function $l(e,n=-1,l=!1,i=3,r=","){let o=`${e}`;if(o.length==0||o==="-")return"";let s=o.charAt(0);s=="-"?o=o.substring(1):s="";let c=o,a="",u=o.indexOf(".");u!=-1&&(c=o.substring(0,u),a=o.substring(u+1)),n!=-1&&(n<a.length?a=a.substring(0,n):l&&n>a.length&&(a=a.padEnd(n,"0")));let f;if(i>0){let d="",h=c.split("").reverse();for(let z=0;z<h.length;z++)d+=h[z]+((z+1)%i==0&&z+1!=h.length?r:"");a.length==0?f=`${s}${d.split("").reverse().join("")}`:f=`${s}${d.split("").reverse().join("")}.${a}`}else a.length==0?f=`${s}${c}`:f=`${s}${c}.${a}`;return f}function mr(e){let n=`${e}`,l=n.charAt(0);l=="-"?n=n.substring(1):l="";let i=n.replace(/[^\d\.-]/g,"");return`${l}${i}`}var za=ba,Wi=Array.isArray,Yi=e=>Vl(e)==="[object Map]",Ui=e=>Vl(e)==="[object Set]",$a=e=>e instanceof Date,Ba=e=>typeof e=="function",hr=e=>typeof e=="string",Gi=e=>typeof e=="symbol",et=e=>e!==null&&typeof e=="object",Bl=e=>et(e)&&Ba(e.then)&&Ba(e.catch),pr=Object.prototype.toString,Vl=e=>pr.call(e),Xi=e=>Vl(e)==="[object Object]",gr=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol";function Qi(e){return e.__esModule||gr&&e[Symbol.toStringTag]==="Module"}var Zi=typeof Promise<"u"&&Promise.toString().indexOf("[native code]")!==-1;function Lt(...e){let n=e[0]!==void 0&&e[0]!==null?e[0]:{},l=1,i=e.length,r=!1;for(typeof n=="boolean"&&(r=n,n=e[l]??{},l++),typeof n!="object"&&(n={});l<i;l++)if(e[l]!==null&&e[l]!==void 0){let o=e[l];for(let s in o){let c=n[s],a=o[s];if(c!==a)if(r===!0&&a&&typeof a=="object"){let u;Array.isArray(a)?u=c&&Array.isArray(c)?c:[]:u=c&&typeof c=="object"?c:{},n[s]=Lt(r,u,a)}else a!==void 0&&(n[s]=a)}}return n}var Va=Zi?Promise.resolve():null;function Ji(e,...n){Va!==null?n&&n.length>0?Va.then(()=>{e(n)}):Va.then(e):n&&n.length>0?setTimeout(()=>{e(n)}):setTimeout(e)}function Ce(e){return e==null?!1:typeof e=="boolean"?e:typeof e=="string"?e.toLocaleLowerCase()==="true":!!e}function Te(e){return typeof e=="number"?e:Number(e)}var es={"[object Boolean]":"boolean","[object Number]":"number","[object String]":"string","[object Function]":"function","[object Array]":"array","[object Date]":"date","[object RegExp]":"regExp","[object Object]":"object"};function Dl(e){let n=Object.prototype.toString.call(e);return e==null?String(e):es[n]||"object"}function tl(e){if(!e||e.nodeType!==1)return!0;let n=e;for(;n;){if(n.hidden)return!0;const l=window.getComputedStyle(n);if(l.display==="none"||l.visibility==="hidden"||l.visibility==="collapse")return!0;n=n.parentElement}return!1}function Da(e){if(!e)return!0;if(e.offsetParent!==null)return!1;if(getComputedStyle(e).position!=="fixed")return!0;let n=e.parentElement;for(;n;){if(getComputedStyle(n).display==="none")return!0;n=n.parentElement}return!1}function yr(e){return e&&typeof e=="object"&&"setInterval"in e}function br(e){let n=!!e&&"length"in e&&e.length,l=Dl(e);return l==="function"||yr(e)?!1:l==="array"||n===0||typeof n=="number"&&n>0&&n-1 in e}function Sr(e,n){let l=+n.length,i=0,r=e.length;for(;i<l;i++)e[r++]=n[i];return e.length=r,e}function ts(e,n=[]){let l=n;return e!=null&&(br(Object(e))?Sr(l,typeof e=="string"?[e]:e):l.push(e)),l}function Qe(e,n){if(e==n)return!0;if(e===void 0||n===void 0)return!1;let l=Dl(e);if(l!==Dl(n))return!1;if(l==="object"){let i=Object.keys(e),r=Object.keys(n);if(i.length!==r.length)return!1;for(let o=0;o<i.length;o++){let s=i[o],c=e[s],a=n[s];if(!Qe(c,a))return!1}return!0}else if(l==="array"){if(e.length!==n.length)return!1;for(let i=0;i<e.length;i++){let r=e[i],o=n[i];if(!Qe(r,o))return!1}return!0}return!1}var Nt=typeof window<"u";function Pe(e){return e==null}function Ma(e){return Object.prototype.toString.call(e)==="[object RegExp]"}var ke=e=>e==null?!0:typeof e!="string"?!1:e.length===0;function Aa(e){return ke(e)?!0:(e.charAt(0)=="-"&&(e=e.substring(1)),ke(e)||/^(([1-9][0-9]*\.[0-9]*)|([0]\.[0-9]*)|([0-9]*)|([0]{1}))$/.test(e))}function wr(e){if(e==null)return 0;let n=`${e}`;if(n.length==0)return 0;n.charAt(0)=="-"&&(n=n.substring(1)),n=n.replace(/[^\d\.-]/g,"");const l=n.indexOf(".");return l==-1?n.length:l}function vr(e){if(e==null)return 0;const n=`${e}`;if(n.length==0)return 0;const l=n.indexOf(".");return l==-1?0:n.length-(l+1)}function Cr(e,n,l){const i=e.indexOf(n);return i===-1?e:n==="-"&&i!==0?e.slice(0,i):e.slice(0,i+1)+e.slice(i).replace(l,"")}function ls(e,n=!0,l=!0){n?e=Cr(e,".",/\./g):e=e.replace(/\./g,""),l?e=Cr(e,"-",/-/g):e=e.replace(/-/,"");const i=n?/[^-0-9.]/g:/[^-0-9]/g;return e.replace(i,"")}function as(e,n){return typeof e=="object"||Array.isArray(e)?n.findIndex(l=>{if(Qe(e,l))return!0}):n.indexOf(e)}function ns(e,n){if(typeof e=="object"||Array.isArray(e)){let l=n.reverse().findIndex(i=>{if(Qe(e,i))return!0});return l!==-1&&(l=n.length-1-l),l}return n.lastIndexOf(e)}function St(e){return e==null||e==null?0:typeof e=="string"?e.length:`${e}`.length}function wt(e,...n){const l={};return n.forEach(i=>{for(const r in i)l[r]=e[r]}),l}function Ie(e,...n){const l=[];n.forEach(r=>{Reflect.apply([].push,l,Reflect.ownKeys(r))});const i={};for(const r in e)l.includes(r)||(i[r]=e[r]);return i}var rs=(e,n,l)=>{const i=Object.assign({},e),r=Object.assign({},l);return Object.keys(n).length>0?(Object.keys(i).forEach(o=>{r.hasOwnProperty(o)?typeof r[o]=="string"&&(i[o]=n[r[o]]):n[o]&&(i[o]=n[o])}),i):e};function os(e,n){(typeof e.cancelable!="boolean"||e.cancelable)&&e.preventDefault(),n&&e.stopPropagation()}var is=(e,n=2)=>{for(e+="";e.length<n;)e="0"+e;return e.toString()},ss=(e,n,l)=>Math.min(Math.max(e,n),l);function ll(e){return e.split("-").map(n=>n.charAt(0).toUpperCase()+n.slice(1)).join("")}function Nr(e){return e.replace(/([A-Z])/g,"-$1").replace(/^-/,"").toLowerCase()}var ot=Symbol.for("BroadcastKey"),kr=class{parent;children=[];callbacks=new Map;exposed=null;name;persistantMessages=new Map;constructor(e,n,l){this.parent=e,this.exposed=n,this.name=l,e!==null&&e.addChild(this)}addChild(e){this.children.push(e)}removeChild(e){const n=this.children.findIndex(l=>e===l);n!==-1&&this.children.splice(n,1)}destroy(){const e=[...this.children];this.children=[],e.forEach(n=>n.destroy()),this.parent!==null&&this.parent.removeChild(this),this.persistantMessages.clear(),this.callbacks=null,this.parent=null,this.exposed=null}setPersistantMessage(e,n,l){if(!e.uniqueId)return console.warn("[FoxUI]持久化消息,必须设置uniqueId。"),!1;const i=e.uniqueId,r={matched:e,action:n,args:l};return this.persistantMessages.set(i,r),!0}deletePersistantMessage(e){this.persistantMessages.delete(e)}getPersistantMessages(){const e=[];return this.persistantMessages.forEach(n=>{e.push(n)}),e}clearPersistantMessage(){this.persistantMessages.clear()}isMatched(e,n){if(!n||n.messagingPolicy==="Once"&&n.resolved===!0)return!1;let l=!1;return!n.name||n.name==="*"||n.name==="+"||Ma(n.name)&&e&&n.name.test(e)?l=!0:typeof n.name=="function"?l=Reflect.apply(n.name,null,[e]):n.name===e&&(l=!0),l}trigger(e,n,l){let i=null;const r=this.callbacks.get(n);typeof r=="function"&&(i=Reflect.apply(r,null,[...l])),this.exposed&&typeof this.exposed[n]=="function"&&(i=Reflect.apply(this.exposed[n],this.exposed,[...l])),e.resolved=!0,typeof e.resolve=="function"&&e.resolve(i)}pull(){let e=this.parent;for(;e;){const n=e.getPersistantMessages();Array.isArray(n)&&n.length>0&&n.forEach(l=>{if(this.isMatched(this.name,l.matched))try{this.trigger(l.matched,l.action,l.args)}catch(i){console.error(i)}}),e=e.parent}}emit(e,n,...l){if(e.messagingPolicy==="Once"&&e.resolved===!0)return[];if(e.cachePolicy==="Persistant")this.setPersistantMessage(e,n,l),e.cachePolicy="None";else if(e.cachePolicy==="Unresolved"){if(this.setPersistantMessage(e,n,l)){const o=e.resolve,s=e.uniqueId??"",c=(...a)=>{this.deletePersistantMessage(s),typeof o=="function"&&o(...a)};e.resolve=c}e.cachePolicy="None"}let i=!1;!e.name||e.name==="*"?i=!0:e.name==="+"?(i=!1,e.name="*"):Ma(e.name)&&this.name&&e.name.test(this.name)?i=!0:typeof e.name=="function"?i=Reflect.apply(e.name,null,[this.name]):e.name===this.name&&(i=!0);const r=[];if(i){const o=this.callbacks.get(n);if(typeof o=="function"){const s=Reflect.apply(o,null,[...l]);Pe(s)||r.push(s)}if(this.exposed&&typeof this.exposed[n]=="function"){const s=Reflect.apply(this.exposed[n],this.exposed,[...l]);Pe(s)||r.push(s)}if(e.resolved=!0,typeof e.resolve=="function"&&e.resolve(...r),e.messagingPolicy==="Once")return r}return this.children.forEach(o=>{const s=Reflect.apply(o.emit,o,[{...e},n,...l]);Array.isArray(s)&&s.length>0&&Reflect.apply([].push,r,[...s])}),r}emitToChildren(e,n,...l){if(e.cachePolicy==="Persistant")this.setPersistantMessage(e,n,l),e.cachePolicy="None";else if(e.cachePolicy==="Unresolved"){if(this.setPersistantMessage(e,n,l)){const r=e.resolve,o=e.uniqueId??"",s=(...c)=>{this.deletePersistantMessage(o),typeof r=="function"&&r(...c)};e.resolve=s}e.cachePolicy="None"}const i=[];return this.children.forEach(r=>{const o=Reflect.apply(r.emit,r,[{...e},n,...l]);Array.isArray(o)&&Reflect.apply([].push,i,[...o])}),i}on(e,n){this.callbacks.set(e,n)}};function al(e,n,l,i){const r=new kr(n,e,l);if(i&&typeof i=="object")for(const o in i)r.on(o,i[o]);return r}function nl(e){let n=e?.[ot];return!n&&(0,t.hasInjectionContext)()&&(n=(0,t.inject)(ot,null)),n}var cs=class{error(e,n){const l=nl(n.exposed);l?l.emit({name:"*"},"setErrorTip",e):n.exposed&&typeof n.exposed.setErrorTip=="function"&&n.exposed.setErrorTip(e)}reset(e){const n=nl(e.exposed);n?n.emit({name:"*"},"setErrorTip",""):e.exposed&&typeof e.exposed.setErrorTip=="function"&&e.exposed.setErrorTip("")}success(e){const n=nl(e.exposed);n?n.emit({name:"*"},"setErrorTip",""):e.exposed&&typeof e.exposed.setErrorTip=="function"&&e.exposed.setErrorTip("")}decorate(e,n,l){Array.isArray(e)||(e=[e]);const i=nl(l.exposed),r=n.find(s=>s.required===!0||s.type==="required"&&s.required!==!1),o=e.find(s=>s.required===!0||s.type==="required"&&s.required!==!1);!r&&o?i?i.emit({name:"*"},"setRequired",!0):l.exposed&&typeof l.exposed.setRequired=="function"&&l.exposed.setRequired(!0):r&&!o&&(i?i.emit({name:"*"},"setRequired",!1):l.exposed&&typeof l.exposed.setRequired=="function"&&l.exposed.setRequired(!1),this.reset(l))}getValue(e){return e.props.modelValue??e.exposed.modelValue}},rl=new cs;function us(e){rl=e}function ds(e){rl?Object.assign(rl,e):rl=e}function fs(e,n){Vt.Schema.setValidator(e,n)}function ms(e){Vt.Schema.deleteValidator(e)}var xr=["blur","clear"];function hs(e){xr=e}function Tr(){return xr}var Er=["focus","change","setValue"];function ps(e){Er=e}function zr(){return Er}function gs(e){Vt.Schema.messages(e)}function ol(...e){const n=[];return e.forEach(l=>{l.forEach(i=>{const r=n.findIndex(o=>o.type===i.type);r!==-1&&n.splice(r,1),n.push(i)})}),n}function Ml(e){return e.forEach(n=>{n.type==="required"&&(n.required===null||n.required===void 0)&&(n.required=!0),!n.type&&(n.required===!0||n.required===!1)&&(n.type="required")}),e}var kt=Symbol("ValidateSchemaKey"),$r=class{parent=null;validators={};attrRules=[];rules=[];descriptor;proxy;scope=null;constructor(e,n,l){this.parent=e,this.descriptor=n,this.proxy=l,(this.descriptor.validate??!0)&&this.init()}init(){this.descriptor.pureDataValidate!==!0&&this.descriptor.valueName&&this.descriptor.context?.attrs&&(this.scope=(0,t.effectScope)(!0),this.scope.run(()=>{(0,t.watchEffect)(()=>{const e=Ml(ol(this.attrRules,this.rules)),n=[],l=this.descriptor.context?.attrs??{};for(let r in l){let o=l[r];if(this.hasValidator(r,!0)){if(o===!1)continue;let c={type:r};o!==null&&typeof o=="object"&&Object.assign(c,o),n.push(c);continue}let s=this.getValidator(r);if(s!==null){let c={type:r,validator:s};n.push(c)}}this.attrRules=Ml(n);const i=ol(this.attrRules,this.rules);(0,t.nextTick)(()=>{this.decorate(i,e)})})}))}destroy(){this.scope&&(this.scope.stop(),this.scope=null),this.parent=null,this.proxy=null}execHandler(e,...n){const l=this.descriptor.validateHandler;if(l&&typeof l[e]=="function")return Reflect.apply(l[e],l,[...n]);const i=rl;return i&&typeof i[e]=="function"?Reflect.apply(i[e],i,[...n]):null}decorate(e,n){this.descriptor.pureDataValidate!==!0&&this.execHandler("decorate",e,n,this.proxy)}success(){this.descriptor.pureDataValidate!==!0&&this.execHandler("success",this.proxy)}error(e){this.descriptor.pureDataValidate!==!0&&this.execHandler("error",e,this.proxy)}getValue(){return this.execHandler("getValue",this.proxy)}setValidator(e,n,l=!1){l?Vt.Schema.setValidator(e,n):this.validators[e]=n}getValidator(e){let n=this.validators[e]??null;return n||(n=this.parent?.getValidator(e)??null),n}deleteValidator(e,n=!1){n?Vt.Schema.deleteValidator(e):Reflect.deleteProperty(this.validators,e)}hasValidator(e,n=!1){if(n)return Vt.Schema.hasValidator(e);{let l=Reflect.has(this.validators,e);return!l&&this.parent!==null&&(l=this.parent.hasValidator(e,!1)),l}}setRule(e){const n=ol(this.attrRules,this.rules);e===null?this.rules=[]:Array.isArray(e)?this.rules=Ml(e):this.rules=Ml([e]);const l=ol(this.attrRules,this.rules);(0,t.nextTick)(()=>{this.decorate(l,n)})}clear(){this.execHandler("reset",this.proxy)}validate(){if(this.descriptor.validate??!0){let e=ol(this.attrRules,this.rules);const n=this.descriptor.fieldName??"value";if(e.length>0){const l={[`${n}`]:e},i=this.getValue(),r={[`${n}`]:i},o=new Vt.Schema(l),s=this.proxy??r;return o.validate(r,{context:s}).then(c=>{if(c.pass)this.success();else{let a="error";Array.isArray(c.errors)&&c.errors.length>0&&(a=c.errors[0].message??a,c.errors=[c.errors[0]],c.errors[0].ref=s),this.error(a)}return c}).catch(c=>{const a=c.message??`${c}`;return this.error(a),c})}}return Promise.resolve({pass:!0})}};function Al(e,n,l){l.valueName=l.valueName??"modelValue",l.valueType=l.valueType??"string";const i={exposed:e,get $el(){return l.templateRefProxy?.$el},get props(){return l.props},get attrs(){return l.context?.attrs}};if(!l.validateHandler&&l.valueName!=="modelValue"){const r=l.valueName;l.validateHandler={getValue(o){return o.props?.[r]??o.exposed[r]}}}return new $r(n,l,i)}var Pl=Symbol.for("EventEmitterKey"),Br=class{register=new Map;emitFn;constructor(e){this.emitFn=e??null}destroy(){this.emitFn=null,this.register.clear()}off(e,n){let l=this.register.get(e);if(l&&Array.isArray(l)){let i=l.findIndex(r=>r===n);i!==-1&&l.splice(i,1)}}on(e,n){let l=this.register.get(e);l||(l=new Array,this.register.set(e,l)),l.push(n)}emit(e,...n){const l=this.register.get(e);l&&l.forEach(i=>{try{Reflect.apply(i,null,[e,...n])}catch(r){console.error(r.message,r)}}),this.emitFn&&Reflect.apply(this.emitFn,null,[e,...n])}};function rt(e,n){let l=null;return function(...i){l&&clearTimeout(l),l=setTimeout(()=>{l=null,Reflect.apply(e,null,[...i])},n)}}function Vr(e,n){let l=0;return function(...i){const r=new Date().getTime();r-l<n||(l=r,Reflect.apply(e,null,[...i]))}}function ys(e,n){const l=rt((i,r)=>{e=i,r()},n);return(0,t.customRef)((i,r)=>({get(){return i(),e},set(o){l(o,r)}}))}function bs(e){let n=!1;return function(...l){n||(n=!0,Reflect.apply(e,null,[...l]))}}function Il(e,n,l,i=0,r=!0,o){let s=n,c=0;if(r){const u=e();if(c++,u){typeof o=="function"&&o(!0);return}if(c>l){typeof o=="function"&&o(!1);return}}const a=()=>{const u=e();if(c++,u){typeof o=="function"&&o(!0);return}if(c>l){typeof o=="function"&&o(!1);return}s+=i,setTimeout(a,s)};setTimeout(a,s)}var xt=Symbol("DomainKey"),il=Symbol("DataItemsKey"),Ll=class{_parent=null;get parent(){return this._parent}set parent(e){this._parent=e}_name=null;get name(){return this._name}_broadcast=null;get broadcast(){return this._broadcast}set broadcast(e){this._broadcast=e}_validateSchema=null;get validateSchema(){return this._validateSchema}set validateSchema(e){this._validateSchema=e}componentPublicExposed={};_props=(0,t.reactive)({});_datas={};constructor(e=null){this._name=e}destroy(){this._parent=null,this._broadcast=null,this._validateSchema=null,this._props={},this._datas={},this.componentPublicExposed={}}setData(e,n){this._datas[e]=n}getData(e){return this._datas[e]}hasData(e){return Reflect.has(this._datas,e)}deleteData(e){return Reflect.deleteProperty(this._datas,e)}merge(e,n=[]){for(const l in e){const i=e[l];n.length>0&&n.indexOf(i)!==-1||(this._props[l]=i)}}has(e){if(Reflect.has(this._props,e)){const n=this._props[e];if(n!=null)return!0}return this.parent==null?!1:this.parent.has(e)}delete(e){Reflect.deleteProperty(this._props,e)}set(e,n){this._props[e]=n}get(e,n){if(Reflect.has(this._props,e)){const l=this._props[e];if(l!=null)return l}return this.parent==null?n:this.parent.get(e,n)}getForParent(e,n){return this.parent==null?n:this.parent.get(e,n)}getForSelf(e){return this._props[e]}getAll(e){const n=[];let l=this;for(;l!=null;){if(Reflect.has(l._props,e)){const i=l._props[e];n.push(i)}l=l._parent}return n}},Ss=new Ll;function Rt(){return Ss}function Tt(){return(0,t.inject)(xt,null)}var Pa=Symbol("OriginalDateKey");function Ia(e,n,l){const i=(0,t.hasInjectionContext)(),r=i?(0,t.getCurrentScope)():null;let o=i?(0,t.inject)(xt,null):null;o===null&&(o=Rt());const s=n;let c=new Ll(s);c.parent=o;const a=g=>{c?.hasData(Pa)||d(g),c?.set("modelValue",g)},u=()=>c?.getForSelf("modelValue")??null,f=()=>c?.getData(Pa)??null,d=g=>{const S={};Lt(!0,S,(0,t.toRaw)(g)),c.setData(Pa,S)},h=e.props,z=e.ignorePropKeys;(0,t.isReactive)(h)||typeof h=="function"?(0,t.watch)(h,g=>{c?.merge(g,z),g.modelValue&&d(g.modelValue)},{immediate:!0}):(c.merge(h,z),h.modelValue&&d(h.modelValue));const T=(g,S)=>{c?.set(g,S)},y=g=>c?.getForSelf(g)??null;if(c.componentPublicExposed[xt]=c,(0,t.provide)(xt,c),r!==null){const g=(0,t.inject)(ot,null),S=al(c.componentPublicExposed,g,s,l);c.broadcast=S,c.componentPublicExposed[ot]=S,(0,t.provide)(ot,S),c.componentPublicExposed.broadcast=(k,E,...Y)=>{if(S)return Reflect.apply(S.emit,S,[k,E,...Y])};const $=(0,t.inject)(kt,null),m=Al(c.componentPublicExposed,$,{componentName:"",context:e.context});c.validateSchema=m,c.componentPublicExposed[kt]=m,(0,t.provide)(kt,m),c.componentPublicExposed[il]=new Map,c.componentPublicExposed.validate=async(k=!0)=>{const E=[];let Y=null;const D={};let O=!1;if(k===!0)Y={name:"*"},O=!0;else if(Array.isArray(k)&&k.length>0){const N=k;Y={name:M=>M?N.indexOf(M)!==-1:!1},O=!0}else if(k!=null&&typeof k=="object"){const N=k;if(N.deep!==!1){if(Object.assign(D,N),Array.isArray(N.include)&&N.include.length>0){const M=N.include;Y={name:L=>L?M.indexOf(L)!==-1:!1}}else if(Array.isArray(N.exclude)&&N.exclude.length>0){const M=N.exclude;Y={name:L=>L?M.indexOf(L)===-1:!1}}else Y={name:"*"};O=!0}}if(O&&Y){D.deep=!1;const N=S?.emitToChildren(Y,"validate",D);N&&Reflect.apply([].push,E,N)}return E.length==1?E[0]:E.length>1?Promise.all(E).then(N=>{let M=[];return N.forEach(L=>{L.pass===!1&&Array.isArray(L.errors)&&(M=[...M,...L.errors])}),M.length>0?{pass:!1,errors:M}:{pass:!0}}):Promise.resolve({pass:!0})};const C=e.context;c.componentPublicExposed.setNameValidateRules=(k,E=!0,Y=!1)=>{if(Y===!0){Reflect.ownKeys(k).forEach(D=>{let O=String(D);const N={componentName:"",fieldName:O,pureDataValidate:!0,context:C};if(c){const M=Mr(c,O,N,S,m);c.componentPublicExposed[il].set(O,M);const L=k[O];L&&M.validateSchema.setRule(L)}});return}if(E){const D=Reflect.ownKeys(k);S?.emitToChildren({name:O=>D.includes(O),cachePolicy:"Persistant",uniqueId:"validateRules"},"setNameValidateRules",k,!1)}},c.componentPublicExposed.clearValidate=(k=!0)=>{let E=null;const Y={};let D=!1;if(k===!0)E={name:"*"},D=!0;else if(Array.isArray(k)&&k.length>0){const O=k;E={name:N=>N?O.indexOf(N)!==-1:!1},D=!0}else if(k!=null&&typeof k=="object"){const O=k;if(O.deep!==!1){if(Array.isArray(O.include)&&O.include.length>0){const N=O.include;E={name:M=>M?N.indexOf(M)!==-1:!1}}else if(Array.isArray(O.exclude)&&O.exclude.length>0){const N=O.exclude;E={name:M=>M?N.indexOf(M)===-1:!1}}else E={name:"*"};Object.assign(Y,O),D=!0}}D&&E&&(Y.deep=!1,S?.emitToChildren(E,"clearValidate",Y))},c.componentPublicExposed.resetFields=k=>{const E=u();if(!E)return;const Y={};if(Lt(!0,Y,f()??{}),Array.isArray(k))k.forEach(D=>{E[D]=Y[D]});else if(k&&Array.isArray(k.include))(k.include??[]).forEach(D=>{E[D]=Y[D]});else if(k&&Array.isArray(k.exclude)){let D=k.exclude??[];Reflect.ownKeys(Y).forEach(O=>{D.includes(O)||(E[O]=Y[O])})}else Object.assign(E,Y);c?.componentPublicExposed?.clearValidate(k)},c.componentPublicExposed.setModelValue=(k,E)=>{if(!E||E===s)a(k);else{const Y={name:E,messagingPolicy:"Once"};S?.emitToChildren(Y,"setModelValue",k)}},c.componentPublicExposed.getModelValue=()=>u(),c.componentPublicExposed.setDomainProperty=(k,E)=>{T(k,E)},c.componentPublicExposed.getDomainProperty=k=>y(k),setTimeout(function(){S?.pull()},0)}(0,t.onScopeDispose)(function(){c?.validateSchema&&c.validateSchema.destroy(),c?.broadcast&&c?.broadcast?.destroy(),c.componentPublicExposed[il]&&c.componentPublicExposed[il].clear(),c?.destroy(),c=null});const p=e.context?.expose;return{domain:c,exposeApi:(g={})=>{Object.assign(c.componentPublicExposed,g),p?.(c.componentPublicExposed)}}}function Dr(e,n){let l=(0,t.inject)(xt,null);l===null&&(l=Rt());let i=new Ll(n);i.parent=l;const r=e.props,o=e.ignorePropKeys;(0,t.isReactive)(r)||typeof r=="function"?(0,t.watch)(r,c=>{i?.merge(c,o)},{immediate:!0}):i.merge(r,o),i.componentPublicExposed[xt]=i,(0,t.provide)(xt,i),(0,t.onScopeDispose)(()=>{i?.destroy(),i=null});const s=e.context?.expose;return{domain:i,exposeApi:(c={})=>{Object.assign(i.componentPublicExposed,c),s?.(i.componentPublicExposed)}}}function Le(e,n,l){const i={},r=n??e.componentName??"";let o=al(i,(0,t.inject)(ot,null),r,l);i[ot]=o,(0,t.provide)(ot,o),i.broadcast=(d,h,...z)=>o?Reflect.apply(o.emit,o,[d,h,...z]):null;const s=(0,t.inject)(kt,null);e.fieldName=e.fieldName??r;let c=Al(i,s,e);i[kt]=c,(0,t.provide)(kt,c),i.validate=async(d=null)=>{if(!c)return Promise.resolve({pass:!0});const h=[];let z=null;const T={};let y=!1,p=!1;if(d===!0)z={name:"*"},p=!0,y=!0;else if(Array.isArray(d)&&d.indexOf(r)!==-1){const g=d;z={name:S=>S?g.indexOf(S)!==-1:!1},p=!0,y=!0}else if(d&&typeof d=="object"){const g=d,S=g.ignoreDisabled??!0,$=g.ignoreReadonly??!0,m=g.ignoreHidden??!0;S===!0&&e.disabled===!0||$===!0&&e.readonly===!0||m===!0&&tl(e.templateRefProxy?.$el??e.templateRefProxy)?p=!1:(Array.isArray(g.include)&&g.include.indexOf(r)!==-1||Array.isArray(g.exclude)&&g.exclude.indexOf(r),p=!0),Object.assign(T,g),y=g.deep??!1}if(p){const g=c?.validate();h.push(g)}if(y&&z){T.deep=!1;const g=o?.emitToChildren(z,"validate",T);g&&Reflect.apply([].push,h,g)}return h.length==1?h[0]:h.length>1?Promise.all(h).then(g=>{let S=[];return g.forEach($=>{$.pass===!1&&Array.isArray($.errors)&&(S=[...S,...$.errors])}),S.length>0?{pass:!1,errors:S}:{pass:!0}}):Promise.resolve({pass:!0})},i.setValidateRule=d=>c?.setRule(d),i.setNameValidateRules=(d,h=!1)=>{const z=d[r];z&&c?.setRule(z),h&&o&&o.emitToChildren({name:T=>Reflect.ownKeys(d).includes(T)},"setNameValidateRules",d,!1)},i.clearValidate=(d=!0)=>{if(!c)return;let h=null;const z={};let T=!1,y=!1;if(d===!0)h={name:"*"},y=!0,T=!0;else if(Array.isArray(d)&&d.indexOf(r)!==-1){const p=d;h={name:g=>g?p.indexOf(g)!==-1:!1},y=!0,T=!0}else if(d&&typeof d=="object"){const p=d;(p.ignoreHidden??!0)===!0&&tl(e.templateRefProxy?.$el??e.templateRefProxy)?y=!1:(Array.isArray(p.include)&&p.include.indexOf(r)!==-1||Array.isArray(p.exclude)&&p.exclude.indexOf(r),y=!0),Object.assign(z,p),T=p.deep??!1}y&&c?.clear(),T&&h&&(z.deep=!1,o?.emitToChildren(h,"clearValidate",z))};let a=new Br(e.context?.emit);i[Pl]=a,i.triggerEvent=(d,...h)=>{a.emit(d,...h)};const u=rt((d="validate")=>{c&&(d==="reset"?c.clear():c.validate())},60);(Array.isArray(e.validateCheckEvents)?e.validateCheckEvents:Tr()).forEach(d=>{a&&a.on(d,h=>{u("validate")})}),(Array.isArray(e.validateResetEvents)?e.validateResetEvents:zr()).forEach(d=>{a&&a.on(d,h=>{u("reset")})}),setTimeout(function(){o?.pull()},0),(0,t.onScopeDispose)(()=>{o?.destroy(),o=null,c?.destroy(),i[kt]=null,c=null,a?.destroy(),i[Pl]=null,a=null,i.broadcast=null,i.validate=null,i.setValidateRule=null,i.setNameValidateRules=null,i.clearValidate=null});const f=e.context?.expose;return{broadcast:o,validateSchema:c,emitEvent:(d,...h)=>{a&&Reflect.apply(a.emit,a,[d,...h])},onEvent:(d,h)=>{a&&Reflect.apply(a.on,a,[h])},offEvent:(d,h)=>{a&&Reflect.apply(a.off,a,[h])},componentPublicExposed:i,exposeApi:(d={})=>{Object.assign(i,d),f?.(i)}}}function Mr(e,n,l,i,r){const o={},s=n??"",c={getValue(){const d=e.getForSelf("modelValue");return d?d[s]:null},isExist(){const d=e.getForSelf("modelValue");return d?Reflect.has(d,s):!1}};l.fieldName=s,l.validateHandler={getValue(d){return c.getValue()}};let a=Al({},r,l);o.validate=async(d=null)=>{if(!c.isExist())return console.warn(`validate error: field [${s}] not exist`),Promise.resolve({pass:!0});const h=[];let z=!1,T=!1;if(Array.isArray(d)&&d.indexOf(s)!==-1)T=!0,z=!0;else if(d&&typeof d=="object"){const y=d;Array.isArray(y.include)&&y.include.indexOf(s)!==-1||Array.isArray(y.exclude)&&y.exclude.indexOf(s),T=!0,z=y.deep??!1}else typeof d=="boolean"&&(z=d),T=!0;if(T&&a){const y=a.validate();h.push(y)}if(z){let y=null;const p={};if(d===!0)y={name:"*"};else if(Array.isArray(d)&&d.length>0){const g=d;y={name:S=>S?g.indexOf(S)!==-1:!1}}else if(d!=null&&typeof d=="object"){const g=d;if(Object.assign(p,g),Array.isArray(g.include)&&g.include.length>0){const S=g.include;y={name:$=>$?S.indexOf($)!==-1:!1}}else if(Array.isArray(g.exclude)&&g.exclude.length>0){const S=g.exclude;y={name:$=>$?S.indexOf($)===-1:!1}}else y={name:"*"}}if(y&&u){p.deep=!1;const g=u.emitToChildren(y,"validate",p);Reflect.apply([].push,h,g)}}return h.length==1?h[0]:h.length>1?Promise.all(h).then(y=>{let p=[];return y.forEach(g=>{g.pass===!1&&Array.isArray(g.errors)&&(p=[...p,...g.errors])}),p.length>0?{pass:!1,errors:p}:{pass:!0}}):Promise.resolve({pass:!0})},o.setValidateRule=d=>a?.setRule(d),o.setNameValidateRules=d=>{const h=d[s];h&&a?.setRule(h)};let u=al(o,i,s);(0,t.onScopeDispose)(()=>{a=null,u=null});const f=l.context?.expose;return{broadcast:u,validateSchema:a,componentPublicExposed:o,exposeApi:(d={})=>{Object.assign(o,d),f?.(o)}}}function Dt(e,n){let l={};if(n){const o=(0,t.inject)(ot,null),s=al(l,o,n,{});l[ot]=s,(0,t.provide)(ot,s)}let i=new Br(e.context?.emit);l[Pl]=i,l.triggerEvent=(o,...s)=>{i.emit(o,...s)},(0,t.onScopeDispose)(()=>{i?.destroy(),Reflect.deleteProperty(l,Pl),l=null,i=null});const r=e.context?.expose;return{emitEvent:(o,...s)=>{i&&Reflect.apply(i.emit,i,[o,...s])},onEvent:(o,s)=>{i&&Reflect.apply(i.on,i,[s])},offEvent:(o,s)=>{i&&Reflect.apply(i.off,i,[s])},componentPublicExposed:l,exposeApi:(o={})=>{Object.assign(l,o),r?.(l)}}}var Ne=(e,n=-1)=>e?typeof e=="string"&&(e.endsWith("%")&&n<=0||e.endsWith("vh")||e.endsWith("vw")||e.endsWith("px"))?e:`${ve(e,n)}px`:"",ws=Ne;function ve(e,n=-1){if(e==null)return 0;if(typeof e=="number")return e>0&&e<1&&n>0?e*n:e;if(e=e.trim().toLocaleLowerCase(),e.length===0)return 0;let l=e.indexOf("px");if(l!==-1)return Number(e.substring(0,l));if(l=e.indexOf("rem"),l!==-1){let r=Number(e.substring(0,l)),o=1;if(Nt){const{fontSize:s}=window.getComputedStyle(document.documentElement,null),c=s.indexOf("px");c>0&&(o=Number(s.substring(0,c)))}return r*=o,r}if(l=e.indexOf("%"),l!==-1)return Number(e.substring(0,l))/100*n;const i=Number(e);return isNaN(i)?0:i}var Et="PageStateKey";function mt(e){const n={top:null,left:null,bottom:null,right:null};return e&&(e.top!==null&&e.top!==void 0&&(n.top=ve(e.top)),e.left!==null&&e.left!==void 0&&(n.left=ve(e.left)),e.bottom!==null&&e.bottom!==void 0&&(n.bottom=ve(e.bottom)),e.right!==null&&e.right!==void 0&&(n.right=ve(e.right))),n}function La(e,n,l={},i=!0,r=-1,o=-1,s=0,c=0){if(e.headerHeight=ve(l.headerHeight??n.headerHeight??-1),e.headerPadding=mt(l.headerPadding??n.headerPadding),e.footerHeight=ve(l.footerHeight??n.footerHeight??-1),e.footerPadding=mt(l.footerPadding??n.footerPadding),e.contentPadding=mt(l.contentPadding??n.contentPadding),i){const a=l.height??n.height;a?e.height=ve(a,o):e.height=ve(o)-ve(s,o)-ve(c,o),e.width=ve(l.width??n.width??0,r)}}function Ar(e,n={}){const l={top:null,bottom:null,right:null,left:null},i={width:0,height:0,headerHeight:0,headerPadding:{...l},footerHeight:0,footerPadding:{...l},contentPadding:{...l},contentHeight:null,safeAreaTop:0,safeAreaBottom:0,safeAreaLeft:0,safeAreaRight:0,headerMounted:!1,footerMounted:!1},r=Object.assign(e.get("safeAreaInset")??{},n.safeAreaInset??{});r&&(i.safeAreaTop=ve(r.top),i.safeAreaBottom=ve(r.bottom),i.safeAreaLeft=ve(r.left),i.safeAreaRight=ve(r.right));const o=e.get("pageLayout");if(!o)return null;La(i,o,n,!0,e.get("rootWidth")??-1,e.get("rootHeight")??-1,e.get("headerBarHeight")??0,e.get("footerBarHeight")??0);const s=(0,t.reactive)(i),c=e.getForParent(Et);c&&(i.height=Ol(e,c),i.width=ql(e,c),(0,t.watch)([()=>Ol(e,c),()=>ql(e,c)],([u,f])=>{s.height=u,s.width=f}));const a=!c;return(0,t.watch)([()=>n.height,()=>e.get("pageLayout"),()=>e.get("rootWidth"),()=>e.get("rootHeight"),()=>e.get("headerBarHeight"),()=>e.get("footerBarHeight")],([u,f,d=-1,h=-1,z=0,T=0])=>{La(s,f,n,a,d,h,z,T)}),e.set(Et,s),s}function Rl(e){return e.get(Et)}function _l(e,n){if(n=n??e.get(Et),n&&n.headerMounted){const l=n.safeAreaTop==-1?0:n.safeAreaTop;return n.headerAllHeight??n.headerHeight+l}return 0}function Fl(e,n){if(n=n??e.get(Et),n&&n.footerMounted){const l=n.safeAreaBottom==-1?0:n.safeAreaBottom;return n.footerAllHeight??n.footerHeight+l}return 0}function Ol(e,n){if(n=n??e.get(Et),n){if(n.contentInnerHeight)return n.contentInnerHeight;const l=_l(e,n),i=Fl(e,n),r=ve(n.contentPadding.top??0),o=ve(n.contentPadding.bottom??0);return n.height-l-i-r-o}return 0}function ql(e,n){if(n=n??e.get(Et),n){const l=ve(n.contentPadding.left??0),i=ve(n.contentPadding.right??0);return n.contentInnerWidth??n.width-l-i}return 0}function vs(e){return!!e.getForParent(Et)}var Ra=Symbol.for("InnerPageScopeKey");function _a(e){(0,t.provide)(Ra,e)}var Fa=Symbol.for("AbstractPageScopeKey");function Pr(e){(0,t.provide)(Fa,e)}function sl(){const e={hasHeaderBar:!0,hasFooterBar:!0,hasContent:!0,isAbstractPage:!1,isInnerPage:!1},n=(0,t.inject)(Ra,null);n&&(e.isInnerPage=!0,typeof n=="object"?(e.hasHeaderBar=n?.hasHeaderBar??!0,e.hasFooterBar=n?.hasFooterBar??!0,e.hasContent=n?.hasContent??!0):(e.hasHeaderBar=!0,e.hasFooterBar=!0,e.hasContent=!0));const l=(0,t.inject)(Fa,null);return l&&(e.isAbstractPage=!0,typeof l=="object"?(e.hasHeaderBar=l?.hasHeaderBar??!1,e.hasFooterBar=l?.hasFooterBar??!1,e.hasContent=l?.hasContent??!1):(e.hasHeaderBar=!1,e.hasFooterBar=!1,e.hasContent=!1)),e}var it=(function(e){return e[e.Parent=0]="Parent",e[e.Near=1]="Near",e})({});function Hl(e,n){return e==null?!1:typeof n=="function"?n(e):!0}function _e(e,n,l=1,i){const r=Tt();return r==null?e:l===0?(0,t.computed)(()=>{const o=r.getAll(n);for(let c=o.length-1;c>=0;c--){const a=o[c];if(Hl(a,i))return a}const s=e.value;return Hl(s,i)?s:null}):(0,t.computed)(()=>{const o=e.value;if(Hl(o,i))return o;const s=r.getAll(n);for(let c=0;c<s.length;c++){const a=s[c];if(Hl(a,i))return a}return null})}function Ir(e){return _e(e,"readonly",1)}function Lr(e){return _e(e,"disabled",1)}function Rr(e){return _e(e,"browse",1)}function je(e){const n=(0,t.ref)(null),l=(0,t.ref)(null),i=Lr((0,t.computed)(()=>l.value??e.disabled)),r=(0,t.ref)(null);return{itemTemplateRef:n,innerDisabled:l,disabled:i,innerReadonly:r,readonly:Ir((0,t.computed)(()=>r.value??e.readonly)),browse:Rr((0,t.computed)(()=>e.browse))}}function Ve(e,n="modelValue",l=null,i){const r=(0,t.toRef)(e,n);let o=r.value;typeof l=="function"&&(o=l(r.value));const s=(0,t.ref)(o);return(0,t.watch)(r,c=>{if(typeof l=="function"){const a=l(c);a!==s.value&&(s.value=a,i&&i("setValue",a))}else c!==s.value&&(s.value=c,i&&i("setValue",c))}),s}var _r=new Map,Kl=new Map,Oa=null;function Cs(e){Oa=e}function Ns(){return Oa}function st(){return Oa?.()??null}function Fr(e,n,l){if(l){let i=Kl.get(l);i||(i=new Map,Kl.set(l,i)),i.set(e,n)}else _r.set(e,n)}function tt(e,n){let l=null;if(n){let i=Kl.get(n);i&&(l=i.get(e))}return l||(l=_r.get(e)),l}function ks(e,n){for(let l in e){const i=e[l];Fr(l,i,n)}}function xs(e){Kl.delete(e)}function Ts(){return{top:0,left:0,bottom:0,right:0}}function Es(){return Nt?{rootWidth:window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,rootHeight:window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,pageLayout:{}}:{rootWidth:-1,rootHeight:-1,pageLayout:{}}}function zs(e,n){let l=e;if(n.componentPrefix){const i=l.indexOf("-");i!==-1?l=`${n.componentPrefix}${l.slice(i)}`:l=`${n.componentPrefix}-${l}`}return ll(l)}var $s=class{packages;installers;resizeListener=null;resizeObserver=null;_version;get version(){return this._version}constructor(e,n,l){this.packages=e,this.installers=n,this._version=l}install(e,n={}){n?.install!==!1&&(this.packages.forEach(i=>{if(i.install)e.use(i,n);else if(i.name){const r=zs(i.name,n);e.component(r,i)}}),this.installers.forEach(i=>{i(e,n)}));const l=Rt();if(n.autoAdjustPageLayout!==!1){const i={...n},r=this.resizeListener;typeof n.resizeDebounceDelay=="number"?this.resizeListener=rt(()=>{const o={...i};this.updateLayout(o,l)},n.resizeDebounceDelay):this.resizeListener=()=>{const o={...i};this.updateLayout(o,l)},window.visualViewport?(r&&window.visualViewport.removeEventListener("resize",r),window.visualViewport.addEventListener("resize",this.resizeListener)):window.ResizeObserver&&(this.resizeObserver&&this.resizeObserver.disconnect(),this.resizeObserver=new window.ResizeObserver(this.resizeListener),this.resizeObserver.observe(window.document.body))}this.updateLayout(n,l)}unInstall(){window.visualViewport?this.resizeListener&&window.visualViewport.removeEventListener("resize",this.resizeListener):window.ResizeObserver&&this.resizeObserver&&this.resizeObserver.disconnect()}updateLayout(e,n){const l=e.headerBarHeight??0,i=e.footerBarHeight??0,r=Lt({},Ts(),e.safeAreaInset),o=Es(),s=Lt({},o.pageLayout,e.pageLayout);n=n??Rt(),n.set("safeAreaInset",r),n.set("headerBarHeight",l),n.set("footerBarHeight",i),n.set("pageLayout",s),n.set("rootWidth",o.rootWidth),n.set("rootHeight",o.rootHeight);const c=["install","componentPrefix","safeAreaInset","headerBarHeight","footerBarHeight","pageLayout","rootWidth","rootHeight"];for(const a in e)c.indexOf(a)===-1&&n.set(a,e[a])}setScopeGetter(e){Cs(e)}getScopeGetter(){return Ns()}setAPI(e,n,l){Fr(e,n,l)}getAPI(e,n){return tt(e,n)}batchSetAPI(e,n){ks(e,n)}clearScopeAPI(e){xs(e)}getRootDomain(){return Rt()}},Bs=[V.ElAffix,V.ElAlert,V.ElAutocomplete,V.ElAutoResizer,V.ElAvatar,V.ElBacktop,V.ElBadge,V.ElBreadcrumb,V.ElBreadcrumbItem,V.ElButton,V.ElButtonGroup,V.ElCalendar,V.ElCard,V.ElCarousel,V.ElCarouselItem,V.ElCascader,V.ElCascaderPanel,V.ElCheckTag,V.ElCheckbox,V.ElCheckboxButton,V.ElCheckboxGroup,V.ElCol,V.ElCollapse,V.ElCollapseItem,V.ElCollapseTransition,V.ElColorPicker,V.ElConfigProvider,V.ElContainer,V.ElAside,V.ElFooter,V.ElHeader,V.ElMain,V.ElDatePicker,V.ElDescriptions,V.ElDescriptionsItem,V.ElDialog,V.ElDivider,V.ElDrawer,V.ElDropdown,V.ElDropdownItem,V.ElDropdownMenu,V.ElEmpty,V.ElForm,V.ElFormItem,V.ElIcon,V.ElImage,V.ElImageViewer,V.ElInput,V.ElInputNumber,V.ElLink,V.ElMenu,V.ElSubMenu,V.ElMenuItem,V.ElMenuItemGroup,V.ElPageHeader,V.ElPagination,V.ElPopconfirm,V.ElPopover,V.ElPopper,V.ElProgress,V.ElRadio,V.ElRadioButton,V.ElRadioGroup,V.ElRate,V.ElResult,V.ElRow,V.ElScrollbar,V.ElSelect,V.ElOption,V.ElOptionGroup,V.ElSelectV2,V.ElSkeleton,V.ElSkeletonItem,V.ElSlider,V.ElSpace,V.ElSteps,V.ElStep,V.ElSwitch,V.ElTable,V.ElTableColumn,V.ElTableV2,V.ElTabs,V.ElTabPane,V.ElTag,V.ElTimePicker,V.ElTimeSelect,V.ElTimeline,V.ElTimelineItem,V.ElTooltip,V.ElTransfer,V.ElTree,V.ElTreeSelect,V.ElTreeV2,V.ElUpload,V.ElStatistic,V.ElCountdown,V.ElSegmented,V.ElAnchor,V.ElAnchorLink,V.ElWatermark,V.ElMessageBox,V.ElMessage,V.ElNotification,V.ElSplitter],Vs=[V.ElInfiniteScroll,V.ElLoading,V.ElMessage,V.ElMessageBox,V.ElNotification,V.ElPopoverDirective],Ds=(e,n={})=>{const l=n.componentPrefix??"fox";Bs.forEach(i=>{if(typeof i.name=="string"){let r="";const o=Nr(i.name),s=o.indexOf("-");s!==-1?r=`${l}${o.slice(s)}`:r=`${l}-${o}`,r=ll(r),e.component(r,i)}else e.use(i)}),Vs.forEach(i=>{e.use(i)})};function pe(e){const n=`fox-${e}`,l=ll(n);return{componentName:n,scope:e.replaceAll("-",""),create(i){return i.baseName=e,i.name=l,i.install=(r,o)=>{let s=i.name;o?.componentPrefix&&(s=`${o.componentPrefix}-${i.baseName}`,s=ll(s)),r.component(s,i)},(0,t.defineComponent)(i)},createDemo(i){return i.baseName=e,i.name="demo-"+e,(0,t.defineComponent)(i)}}}var Ae={browse:{type:[String],required:!1,default:()=>null},disabled:{type:[Boolean,String],required:!1,default:()=>null},readonly:{type:[Boolean,String],required:!1,default:()=>null},labelPosition:{type:String,required:!1,default:()=>null},labelWidth:{type:[String,Number],required:!1,default:()=>null},textAlign:{type:[String],required:!1,default:()=>null},hasBorder:{type:Boolean,required:!1,default:()=>!0}},Re={prop:{type:String,required:!1},label:{type:String,required:!1},isRequired:{type:[String,Boolean],required:!1,default:()=>!1},span:{type:[Number,String],required:!1,default:()=>1},offset:{type:[Number,String],default:()=>0},width:{type:[String,Number],required:!1},infoMarkClass:{type:String,required:!1,default:()=>"is-info"},warnMarkClass:{type:String,required:!1,default:()=>"is-warn"},errorMarkClass:{type:String,required:!1,default:()=>"is-error"},errorTip:{type:String,required:!1},errorIcon:{type:Object,required:!1},errorClass:{type:String,required:!1},warnTip:{type:String,required:!1},warnIcon:{type:Object,required:!1},warnClass:{type:String,required:!1},infoTip:{type:String,required:!1},infoIcon:{type:Object,required:!1},infoClass:{type:String,required:!1},contentClass:{type:String,required:!1,default:()=>"content--default"},contentStyle:{type:Object,required:!1,default:()=>{}},hintType:{type:String,required:!1,default:()=>"text"},hintText:{type:[String],required:!1},hintVisible:{type:[Boolean,String],required:!1,default:()=>!0},hintProps:{type:Object,required:!1,default:()=>{}},appearListen:{type:[Boolean,String],required:!1,default:()=>!1}},Or={column:{type:[String,Number],required:!1},columnWidth:{type:[String,Number],required:!1},gutter:{type:[String,Number],required:!1},minItemWidth:{type:[String,Number],required:!1},maxItemWidth:{type:[String,Number],required:!1}},qr={name:{type:String,required:!1},prop:{type:String,required:!1},tag:{type:String,required:!1,default:()=>"div"},modelValue:{type:String,required:!1},rules:{type:[Object],required:!1},pureDataRules:{type:[Object],required:!1},type:{type:[String],required:!1},justify:{type:[String],required:!1,default:()=>"stretch"},align:{type:[String],required:!1,default:()=>"start"},span:{type:[Number,String],required:!1,default:()=>1},offset:{type:[Number],default:()=>0},autoLayout:{type:[Boolean],required:!1,default:()=>!0},isWrap:{type:[Boolean,String],required:!1,default:()=>!0},width:{type:[String,Number],required:!1},height:{type:[String,Number],required:!1},showMark:{type:[String,Boolean],required:!1,default:()=>!0},markColor:{type:[String],required:!1},title:{type:String,default:()=>""},titleColor:{type:[String],required:!1},collapseOnClickHeader:{type:[Boolean],requried:!1,default:()=>!1},collapse:{type:[String,Boolean],requried:!1},showCollapse:{type:[String,Boolean],required:!1,default:()=>!1},collapsePosition:{type:[String],requried:!1,default:()=>"right"},collapseText:{type:[String],requried:!1},expandText:{type:[String],requried:!1},collapseIcon:{type:[Object],requried:!1},collapseHeight:{type:[String,Number],requried:!1},rollingDisplay:{type:[Boolean],requried:!1,default:()=>!0}},Hr=[];for(const e in qr)Hr.push(e);var Ms={name:{type:String,required:!1,default:()=>""},modelValue:{type:Object,required:!1},width:{type:[Number,String],required:!1},height:{type:[Number,String],required:!1},safeAreaInset:{type:Object,required:!1},contentPadding:{type:Object,required:!1},headerPadding:{type:Object,required:!1},footerPadding:{type:Object,required:!1},headerHeight:{type:[Number,String],required:!1},footerHeight:{type:[Number,String],required:!1},rules:{type:[Object],required:!1},pureDataRules:{type:[Object],required:!1}},As={...Ae,...Or,...Ms},Ps=(e,n)=>({inheritAttrs:!0,props:As,setup(l,i){const r=sl(),{domain:o,exposeApi:s}=Ia({props:l,context:i},l.name);if(o){const f=Ar(o,l);s({getPageContentHeight:()=>Ol(o,f),getPageContentWidth:()=>ql(o,f),getPageHeaderHeight:()=>_l(o,f),getPageFooterHeight:()=>Fl(o,f)})}const c=(0,t.computed)(()=>({[e]:!0,"is-inner":r.isInnerPage})),a=(0,t.computed)(()=>({})),u=(f,d=!1)=>{const h=o.componentPublicExposed;h&&typeof h.setNameValidateRules=="function"&&h.setNameValidateRules(f,!0,d)};return(0,t.watch)([()=>l.rules,()=>l.pureDataRules],([f,d],[h,z])=>{if(f&&h){const T=(0,t.toRaw)(h),y=(0,t.toRaw)(f),p=y?Reflect.ownKeys(y):[];(T?Reflect.ownKeys(T):[]).forEach(g=>{p.includes(g)||(y[g]=[])}),u(y)}if(d&&z){const T=(0,t.toRaw)(z),y=(0,t.toRaw)(d),p=y?Reflect.ownKeys(y):[];(T?Reflect.ownKeys(T):[]).forEach(g=>{p.includes(g)||(y[g]=[])}),u(y,!0)}},{deep:!0}),(0,t.onMounted)(()=>{if(l.rules){const f=(0,t.toRaw)(l.rules);u(f)}if(l.pureDataRules){const f=(0,t.toRaw)(l.pureDataRules);u(f,!0)}}),()=>r.isAbstractPage?i.slots?.default?.():(0,t.h)("div",{class:c.value,style:a.value},[i.slots?.default?.()])}}),{componentName:Is,create:Ls,scope:Rs}=pe("page"),_s=Ls(Ps(Is,Rs)),qa=_s;function jl(e){const n=(0,t.unref)(e),l=window.getComputedStyle(n),i={top:parseFloat(l.paddingTop),right:parseFloat(l.paddingRight),bottom:parseFloat(l.paddingBottom),left:parseFloat(l.paddingLeft)},r={width:n.clientWidth,height:n.clientHeight};return{outer:r,inner:{width:r.width-i.left-i.right,height:r.height-i.top-i.bottom},padding:i}}function Ha(e){return jl(e).outer}function Ka(e){return jl(e).inner}var Kr={headerbar:{},radio:{},checkbox:{}};function Fs(e){Object.assign(Kr,e)}function jr(){return Kr}var Os={fixed:{type:Boolean,required:!1,default:!0},safeAreaInsetTop:{type:Boolean,required:!1,default:!0},border:{type:Boolean,required:!1,default:!1},height:{type:[String,Number],required:!1},align:{type:[String],default:"center"},padding:{type:[Object],required:!1},leftShow:{type:[Boolean,String],required:!1,default:!0},leftIcon:{type:[Object],required:!1},leftText:{type:String,required:!1},titleShow:{type:Boolean,required:!1,default:!0},title:{type:String,required:!1,default:""},titleIcon:{type:[Object],required:!1},rightShow:{type:[String,Boolean],required:!1,default:!0},rightIcon:{type:[Object],required:!1},rightText:{type:String,required:!1,default:""}},qs=(e,n,l,i=!1)=>({props:Os,emits:["back","click-title","click-right","click-right-text"],setup(r,o){const s=sl(),c=s.hasHeaderBar?Tt():null,a=c?Rl(c):null;a&&(a.headerMounted=!0);const u=jr(),f=e,d=(0,t.computed)(()=>{const L={[f]:!0,[`${f}--border`]:r.border,[`${f}--fixed`]:r.fixed};return s.isInnerPage?L[`${f}--inner`]=!0:L[`${f}--safe-area-inset-top`]=r.safeAreaInsetTop,L[`${f}--abstract`]=s.isAbstractPage,L}),h=(0,t.computed)(()=>({[`${f}__inner`]:!0,[`${f}__inner--${r.align}`]:!0})),z=Pe(r.height)?null:ve(r.height),T=(0,t.computed)(()=>{const L={safeAreaTop:null,height:null,left:null,top:null,right:null,bottom:null};if(!s.hasHeaderBar)return L;if(c&&a){const x=mt(r.padding??a.headerPadding);if(Object.assign(L,x),Pe(z)||(a.headerHeight=z),L.height=a.headerHeight,L.safeAreaTop=a.safeAreaTop===-1?0:a.safeAreaTop,L.safeAreaTop>0){const j=ve(x.top??0);L.top=L.safeAreaTop+j,L.height&&L.height>0&&(L.height=L.height+L.safeAreaTop)}return L}if(Pe(z)||(L.height=z),r.padding){const x=mt(r.padding);Object.assign(L,x)}return L}),y=(0,t.ref)(null),p=()=>{if(a&&y.value&&!Da(y.value)){if(!i){const L=Ha(y.value);a.headerAllHeight=L.height}return a.headerMounted=!0,!0}return!1},g=rt(p,120);let S=null;(0,t.onMounted)(()=>{s.hasHeaderBar&&a&&(Il(p,50,5,50,!0),window.ResizeObserver&&y.value&&(S=new window.ResizeObserver(g),S.observe(y.value)))}),(0,t.onUnmounted)(()=>{s.hasHeaderBar&&a&&(a.headerMounted=!1,S&&(S.disconnect(),S=null))});const $=(0,t.computed)(()=>{const L={};return s.hasHeaderBar&&(T.value.height!==null&&T.value.height!==void 0&&(L.height=`${T.value.height}px`),T.value.top!==null&&T.value.top!==void 0&&(L.paddingTop=`${T.value.top}px`),T.value.left!==null&&T.value.left!==void 0&&(L.paddingLeft=`${T.value.left}px`),T.value.right!==null&&T.value.right!==void 0&&(L.paddingRight=`${T.value.right}px`),T.value.bottom!==null&&T.value.bottom!==void 0&&(L.paddingBottom=`${T.value.bottom}px`)),L}),m=(0,t.computed)(()=>{const L=T.value?.height;return Pe(L)||L<0?!0:L>0});function C(){o.emit("back")}function k(){o.emit("click-title")}function E(){o.emit("click-right")}function Y(){o.emit("click-right-text")}const D=()=>{if(!r.leftShow)return null;const L=[];if(o.slots.left)L.push(o.slots.left());else{if(o.slots.leftIcon){const x=(0,t.h)("view",{class:"left-icon",onClick:C},[o.slots.leftIcon()]);L.push(x)}else{const x=r.leftIcon??u.headerbar.Left??l,j=(0,t.h)("view",{class:"left-icon",onClick:C},[(0,t.h)(x)]);L.push(j)}if(r.leftText){const x=(0,t.h)("view",{class:"left-text",onClick:C},[r.leftText]);L.push(x)}}return L.length===0?null:(0,t.h)("view",{class:"fox-header-bar__left"},L)},O=()=>{if(!r.rightShow)return null;const L=[];if(o.slots.right)L.push(o.slots.right());else{if(r.rightText){const x=(0,t.h)("view",{class:"right-text",onClick:Y},[r.rightText]);L.push(x)}if(o.slots.rightIcon){const x=(0,t.h)("view",{class:"right-icon",onClick:E},[o.slots.rightIcon()]);L.push(x)}else if(r.rightIcon){const x=(0,t.h)("view",{class:"right-icon",onClick:E},[(0,t.h)(r.rightIcon)]);L.push(x)}}return L.length===0?null:(0,t.h)("view",{class:"fox-header-bar__right"},L)},N=()=>{if(!r.titleShow)return null;const L=[],x=o.slots.default?o.slots.default():null;if(x)L.push(x);else{if(r.title){const j=(0,t.h)("view",{class:"title-text"},[r.title]);L.push(j)}if(o.slots.titleIcon){const j=(0,t.h)("view",{class:"title-icon",onClick:k},[o.slots.titleIcon()]);L.push(j)}else if(r.titleIcon){const j=(0,t.h)("view",{class:"title-icon",onClick:k},[(0,t.h)(r.titleIcon)]);L.push(j)}}return L.length===0?null:(0,t.h)("view",{class:"fox-header-bar__title"},L)},M=()=>{const L=[],x=o.slots.bottom?o.slots.bottom():null;return x&&L.push(x),L.length===0?null:(0,t.h)("view",{class:"fox-header-bar__bottom"},L)};return()=>{if(!s.hasHeaderBar||!m.value)return null;const L=[];if(o.slots.all)L.push(o.slots.all());else{const x=[],j=D();j&&x.push(j);const _=N();_&&x.push(_);const R=O();if(R&&x.push(R),x.length>0){const I=(0,t.h)("view",{class:h.value},x);L.push(I)}const K=M();K&&L.push(K)}return L.length===0?null:(0,t.h)("view",{class:d.value,style:$.value,ref:y},L)}}}),{componentName:Hs,create:Ks,scope:js}=pe("header-bar"),Ws=Ks(qs(Hs,js,He.ArrowLeft)),ja=Ws,Ys={fixed:{type:Boolean,required:!1,default:!0},safeAreaInsetBottom:{type:Boolean,required:!1,default:!0},border:{type:Boolean,required:!1,default:!1},height:{type:[String,Number],required:!1},padding:{type:[Object],required:!1},align:{type:String,required:!1,default:"center"}};function Us(e,n,l=!1){return{props:Ys,setup(i,r){const o=sl(),s=o.hasFooterBar?Tt():null,c=s?Rl(s):null,a=e,u=(0,t.computed)(()=>{const S={[a]:!0,[`${a}--${i.align}`]:!0,[`${a}--border`]:i.border,[`${a}--fixed`]:i.fixed};return o.isInnerPage?S[`${a}--inner`]=!0:S[`${a}--safe-area-inset-bottom`]=i.safeAreaInsetBottom,S[`${a}--abstract`]=o.isAbstractPage,S}),f=Pe(i.height)?null:ve(i.height),d=(0,t.computed)(()=>{const S={safeAreaBottom:null,height:null,left:null,top:null,right:null,bottom:null};if(!o.hasFooterBar)return S;if(s&&c){const $=mt(i.padding??c.footerPadding);if(Object.assign(S,$),Pe(f)||(c.footerHeight=f),S.height=c.footerHeight,S.safeAreaBottom=c.safeAreaBottom===-1?0:c.safeAreaBottom,S.safeAreaBottom>0){const m=ve($.bottom??0);S.bottom=S.safeAreaBottom+m,S.height&&S.height>0&&(S.height=S.height+S.safeAreaBottom)}return S}if(Pe(f)||(S.height=f),i.padding){const $=mt(i.padding);Object.assign(S,$)}return S}),h=(0,t.computed)(()=>{const S=d.value?.height;return Pe(S)||S<0?!0:S>0}),z=(0,t.ref)(null),T=()=>{if(c&&z.value&&!Da(z.value)){if(!l){const S=Ha(z.value);c.footerAllHeight=S.height}return c.footerMounted=!0,!0}return!1},y=rt(T,120);let p=null;(0,t.onMounted)(()=>{o.hasFooterBar&&c&&(Il(T,50,5,50,!0),window.ResizeObserver&&z.value&&(p=new window.ResizeObserver(y),p.observe(z.value)))}),(0,t.onUnmounted)(()=>{o.hasFooterBar&&c&&(c.footerMounted=!1,p&&(p.disconnect(),p=null))});const g=(0,t.computed)(()=>{const S={};return o.hasFooterBar&&(d.value.height!==null&&d.value.height!==void 0&&(S.height=Ne(d.value.height)),d.value.top!==null&&d.value.top!==void 0&&(S.paddingTop=Ne(d.value.top)),d.value.left!==null&&d.value.left!==void 0&&(S.paddingLeft=Ne(d.value.left)),d.value.right!==null&&d.value.right!==void 0&&(S.paddingRight=Ne(d.value.right)),d.value.bottom!==null&&d.value.bottom!==void 0&&(S.paddingBottom=Ne(d.value.bottom))),S});return()=>{if(!o.hasFooterBar||!h.value)return null;const S=r.slots.default?r.slots.default():[];return(0,t.h)("view",{ref:z,class:u.value,style:g.value},S)}}}}var{componentName:Gs,create:Xs,scope:Qs}=pe("footer-bar"),Zs=Xs(Us(Gs,Qs)),Wa=Zs;function Js(e){const n={};if(!e)return n;const l=getComputedStyle(e),i=l.getPropertyValue("--fox-content-padding-top").trim();i&&(n.top=ve(i));const r=l.getPropertyValue("--fox-content-padding-right").trim();r&&(n.right=ve(r));const o=l.getPropertyValue("--fox-content-padding-bottom").trim();o&&(n.bottom=ve(o));const s=l.getPropertyValue("--fox-content-padding-left").trim();return s&&(n.left=ve(s)),n}var ec={padding:{type:[Object],required:!1},tag:{type:[String],required:!1,default:()=>"div"}};function tc(e,n){return{props:ec,setup(l,{slots:i,attrs:r}){const o=sl(),s=(0,t.shallowRef)(null),c=o.hasContent?Tt():null,a=e,u=(0,t.computed)(()=>({[a]:!0,[`${a}--inner`]:o.isInnerPage})),f=c?Rl(c):null,d=(0,t.computed)(()=>{const p={};if(!o.hasContent)return p;if(c&&f){if(l.padding){const Y=mt(l.padding);Object.assign(f.contentPadding,Y)}const g=_l(c,f),S=Fl(c,f),$=!o.isInnerPage&&f.height>=0?`${f.height}px`:"";$&&(p.height=$);let m=ve(f?.contentPadding?.top??s.value?.top??-1);(m>=0||g>0)&&(m=m<0?0:m,p.paddingTop=`${g+m}px`);let C=ve(f?.contentPadding?.bottom??s.value?.bottom??-1);(C>=0||S>0)&&(C=C<0?0:C,p.paddingBottom=`${S+C}px`);const k=ve(f?.contentPadding?.left??s.value?.left??-1);k>=0&&(p.paddingLeft=`${k}px`);const E=ve(f?.contentPadding?.right??s.value?.right??-1);return E>=0&&(p.paddingRight=`${E}px`),p}else{const g={};if(l.padding){const k=mt(l.padding);Object.assign(g,k)}const S=ve(g.top??s.value?.top??-1);S>=0&&(p.paddingTop=`${S}px`);const $=ve(g.right??s.value.right??-1);$>=0&&(p.paddingRight=`${$}px`);const m=ve(g.bottom??s.value.bottom??-1);m>=0&&(p.paddingBottom=`${m}px`);const C=ve(g.left??s.value.left??-1);return C>=0&&(p.paddingLeft=`${C}px`),p}}),h=(0,t.ref)(null),z=()=>{if(f&&h.value){const p=jl(h.value).inner;f.contentInnerHeight=p.height,f.contentInnerWidth=p.width}},T=rt(z,120);let y=null;return(0,t.onMounted)(()=>{o.hasContent&&(h.value&&(s.value=Js(h.value)),!o.isInnerPage&&(requestAnimationFrame(z),window.ResizeObserver&&h.value&&(y=new window.ResizeObserver(T),y.observe(h.value))))}),(0,t.onUnmounted)(()=>{o.hasContent&&y&&(y.disconnect(),y=null)}),()=>o.hasContent?(0,t.h)(l.tag??"view",{...r,ref:h,class:u.value,style:d.value},i):i.default?.()}}}var{componentName:lc,create:ac,scope:nc}=pe("content"),rc=ac(tc(lc,nc)),Ya=rc,_t="GroupStateKey",Wr=Symbol.for("GroupScopeKey");function Wl(){return(0,t.inject)(Wr,!1)}function Yl(e=!0){(0,t.provide)(Wr,e)}function oc(e,n={}){Reflect.ownKeys(n).forEach(l=>{if(typeof l!="string")return;const i=n[l];Pe(i)||(e[l]=i)})}function ic(e,n={}){const l={type:"grid",width:e.get("width",-1),column:-1,gutter:-1};oc(l,n);const i=(0,t.markRaw)({layout:(0,t.shallowRef)(l),passport:0,order:{index:0}});return e.set(_t,i),i}function Ua(e,n,l=-1,i=-1,r=!1,o,s,c){const a=e.get(_t);if(!a)return;const u=e.get("groupLayout")??{};l===-1&&(l=u.column??1),i===-1&&(i=u.gutter??0),o||(o=u.minItemWidth??-1),s||(s=u.maxItemWidth??-1);const f=ve(o),d=ve(s);c||(c=u.type??"grid");const h=()=>{const z=n===""||n===-1,T=ve(n);let y=Te(l);const p=ve(i);if(!z){let $=(T-(y-1)*p)/y;for(;d!==-1&&$>d;)y++,$=(T-(y-1)*p)/y;for(;f!==-1&&y>1&&$<f;)y--,$=(T-(y-1)*p)/y}let g=!1;const S=a.layout;S.value.width=n,S.value.column!==y&&(S.value.column=y,g=!0),S.value.gutter!==p&&(S.value.gutter=p,g=!0),S.value.type!==c&&(S.value.type=c,g=!0),g&&(0,t.triggerRef)(S)};if(r)h();else{const z=++a.passport;setTimeout(()=>{z===a.passport&&h()},50)}}function Ul(e,n=!1){let l;return n?l=e.getForParent(_t):l=e.get(_t),l.layout}function Gl(e,n=!1){let l;return n?l=e.getForParent(_t):l=e.get(_t),l.order}function Yr(e,n=1){if(n==="stretch")return-1;const l=Te(n);return l===-1?100:100*l/e}function Xl(e,n,l=1,i=0,r){const o={};let s=0;r?s=ve(r):s=Yr(n.column,l),s>0&&(o.width=`${s}%`);const c=Yr(n.column,i);c>0&&(o["margin-left"]=`${c}%`);const a=ve(n.gutter)/2;return a>0&&(o["padding-left"]=`${a}px`,o["padding-right"]=`${a}px`),o}function Ql(e,n,l=1,i=0){if(l==="stretch"){const a=e.index%n.column,u=a+(n.column-a);return e.index=e.index+(u-a),{"grid-column":`${a+1} / -1`}}let r=Te(l);if(r===-1){const a=e.index%n.column;return n.column,a==0?e.index=e.index+n.column:e.index=e.index+(n.column-a)+n.column,{"grid-column":"1 / -1"}}if(r>n.column){const a=e.index%n.column;return n.column,a==0?e.index=e.index+n.column:e.index=e.index+(n.column-a)+n.column,{"grid-column":"1 / -1"}}const o=Te(i)%n.column;let s=(e.index+o)%n.column,c=s+r;return c>n.column?(s=0,c=s+r,e.index=e.index+(n.column-s)+r):e.index=e.index+o+r,o>0?{"grid-column":`${s+1} / span ${r}`}:{"grid-column-start":`span ${r}`}}var Ur=Symbol("RollingStateKey");function sc(e){(0,t.provide)(Ur,e)}function cc(){return(0,t.inject)(Ur,null)}function cl(e){return e.getBoundingClientRect().height}function uc(e){const n=e.getBoundingClientRect(),l=window.getComputedStyle(e);return n.height-(parseFloat(l.paddingTop)||0)-(parseFloat(l.paddingBottom)||0)-(parseFloat(l.borderTopWidth)||0)-(parseFloat(l.borderBottomWidth)||0)}function dc(e){let n=uc(e);if(n<=0){const l=e.cloneNode(!0);l.style=`width: ${e.offsetWidth}px; height: initial; overflow: initial; visibility: hidden;`,document.body.appendChild(l),n=cl(l),document.body.removeChild(l)}return n}function fc(e,n,l){const i=typeof e=="number"?e:parseInt(e),r=typeof n=="number"?n:parseInt(n),o=typeof l=="number"?l:parseInt(l);if(i<=0)return"1fr";const s=(i-(r-1)*o)/r;return s>0?`${s}px`:"1fr"}function Gr(e){const n=[];return e.forEach(l=>{l.type===t.Fragment&&Array.isArray(l.children)?n.push(...Gr(l.children)):n.push(l)}),n}function mc(e){return!(e.type===t.Comment||e.type===t.Text&&typeof e.children=="string"&&e.children.trim()==="")}function ul(e){function n(){return Gr(e?.()??[]).filter(mc)}return{getChildren:n}}var hc={...Ae,...Or,...qr};function pc(e,n,l){return{props:hc,emits:["update:collapse","header-click"],setup(i,r){const{domain:o,exposeApi:s}=Ia({props:i,ignorePropKeys:Hr,context:r},i.prop??i.name),c=ic(o,{type:i.type}),a=Wl();Yl(!0);const u=i.rollingDisplay?cc():null,f=(0,t.ref)(null),d=(0,t.computed)(()=>i.rollingDisplay?u&&!u.disabled:!1),h=(0,t.computed)(()=>a&&o?Ul(o,!0).value:null),z=(ne,U=!1)=>{const v=o?.componentPublicExposed;v&&typeof v.setNameValidateRules=="function"&&v.setNameValidateRules(ne,!0,U)};(0,t.watch)([()=>i.rules,()=>i.pureDataRules],([ne,U],[v,w])=>{if(ne&&v){const G=(0,t.toRaw)(v),le=(0,t.toRaw)(ne),W=le?Reflect.ownKeys(le):[];(G?Reflect.ownKeys(G):[]).forEach(F=>{W.includes(F)||(le[F]=[])}),z(le)}if(U&&w){const G=(0,t.toRaw)(w),le=(0,t.toRaw)(U),W=le?Reflect.ownKeys(le):[];(G?Reflect.ownKeys(G):[]).forEach(F=>{W.includes(F)||(le[F]=[])}),z(le,!0)}},{deep:!0});const T=e,y=(0,t.computed)(()=>{const ne={};ne.height=j.value;const U=a?Gl(o,!0):null;if(h.value&&U){if(h.value.type==="grid"){const v=Ql(U,h.value,i.span,i.offset);Object.assign(ne,v)}else if(h.value.type==="flow"){const v=Xl(U,h.value,i.span,i.offset,i.width);Object.assign(ne,v)}}else i.width&&(ne.width=Ne(i.width));return ne}),p=(0,t.computed)(()=>{const ne=c.layout.value.type;return ne==="grid"||ne==="flow"?{[`${T}--${ne}`]:!0,[`${T}--${ne}-justify-${i.justify}`]:!0,[`${T}--${ne}-align-${i.align}`]:!0,[`${T}--gutter`]:!0}:{[`${T}--${ne}`]:!0,[`${T}--gutter`]:!0}}),g=(0,t.computed)(()=>{if(c.layout.value.type==="grid"){let ne="";if(i.columnWidth)ne=`repeat(auto-fill, ${i.columnWidth})`;else{const U=fc(Y.value,c.layout.value.column,c.layout.value.gutter);ne=`repeat(${c.layout.value.column}, ${U})`}return{"column-gap":`${c.layout.value.gutter}px`,"grid-template-columns":ne}}}),S=(0,t.toRef)(i,"gutter"),$=(0,t.toRef)(i,"column"),m=(0,t.computed)(()=>a||d.value?!0:Ce(i.isWrap)),C=[],k=ne=>{C.push(ne)},E=()=>{let ne=C.length;C.splice(0,ne)},Y=(0,t.ref)(-1),D=ne=>{const U=Ka(ne).width;U>0&&U!==Y.value&&(Y.value=U)};Ua(o,Y.value,$.value,S.value,!0,i.minItemWidth,i.maxItemWidth,i.type),i.autoLayout&&(0,t.watch)([Y,$,S],([ne,U,v])=>{c.order.index=0,Ua(o,ne,U,v,!1,i.minItemWidth,i.maxItemWidth,i.type)});const O=(0,t.computed)(()=>_.value?i.expandText??"":i.collapseText??""),N=(0,t.computed)(()=>({[`${e}__header-collapse-text`]:!0})),M=(0,t.computed)(()=>({[`${e}__header-collapse-icon`]:!0,"is-expand":!_.value,"is-collapse":_.value})),L=(0,t.ref)(),x=(0,t.ref)(),j=(0,t.computed)(()=>R.value||Ne(i.height)||""),_=(0,t.ref)(!1),R=(0,t.ref)(""),K=(0,t.ref)(!1);let I=-1;const q=(ne,U=!0)=>{if(Pe(ne))return;const v=L.value;if(v&&_.value!==ne){if(I=I===-1?dc(v):I,K.value=!0,U)if(v.style["will-change"]="height",v.ontransitionend=function(){v.ontransitionend=null,this.style["will-change"]="auto",ne||(R.value="",K.value=!1)},ne){let w=0;i.collapseHeight?w=ve(i.collapseHeight):x.value&&x.value.classList.contains(`${e}__header`)&&(w=cl(x.value),w===0&&tl(x.value)?P(x.value):R.value=`${w}px`),R.value=`${I}px`,(0,t.nextTick)(()=>{R.value=`${w}px`})}else R.value=`${I}px`;else if(ne)if(i.collapseHeight){const w=i.collapseHeight;R.value=`${w}px`}else if(x.value&&x.value.classList.contains(`${e}__header`)){const w=cl(x.value);w===0&&tl(x.value)?P(x.value):R.value=`${w}px`}else R.value="0px";else K.value=!1,R.value=`${I}px`;_.value=ne,r.emit("update:collapse",ne)}};(0,t.watch)(()=>i.collapse,ne=>{q(Ce(ne))});const ee=ne=>{r.emit("header-click",ne),i.collapseOnClickHeader===!0&&J()},Q=ne=>{i.collapseOnClickHeader!==!0&&(ne.stopPropagation?.(),J())},J=ne=>{ne=ne??!_.value,q(ne)};s({toggleCollapse:J,doLayout:()=>{C[0]&&(D(C[0]),Ua(o,Y.value,$.value,S.value,!0,i.minItemWidth,i.maxItemWidth,i.type))}});let B=null;const P=ne=>{B||(B=new IntersectionObserver(U=>{if(U.some(v=>v.isIntersecting)){if(_.value){const v=cl(x.value);R.value=`${v}px`}B&&(ne&&B.unobserve(ne),B.disconnect(),B=null)}},{threshold:0}),B.observe(ne))};let te=null,ie=!0;const Z=ne=>{if(i.rules){const U=(0,t.toRaw)(i.rules);z(U)}if(i.pureDataRules){const U=(0,t.toRaw)(i.pureDataRules);z(U,!0)}if(Nt&&(ne&&!Pe(i.collapse)&&q(Ce(i.collapse),!1),i.autoLayout&&Array.isArray(C)&&C.length>0)){const U=C[0];if(U&&(D(U),window.ResizeObserver)){const v=rt(()=>D(U),120);te=new window.ResizeObserver(v),te.observe(U)}}},A=()=>{const ne=C[0];ne&&te?.observe(ne),te?.disconnect(),te=null},X=!d.value||u?.acquire();X&&(f.value=d.value?!0:null),(0,t.onMounted)(()=>{if(X&&(Z(ie),ie=!1),d.value&&u){let ne=null,U=u.initialHeight;u.observe(L.value,v=>{if(v!==f.value)if(v)f.value=!0,_.value||(R.value=""),ne=setTimeout(()=>{ne=null,f.value!==!1&&(Z(ie),ie=!1)},100);else{if(ne!==null&&clearTimeout(ne),f.value=!1,!_.value)if(ie)R.value=u.initialHeight;else{let w=cl(L.value);w<=0?R.value=U:(R.value=`${w}px`,U=R.value)}ie||A()}})}}),(0,t.onUnmounted)(()=>{A(),u&&u.unobserve(L.value)});const re=(ne="right")=>{const U=[];if(O.value){const G=(0,t.h)("span",{class:N.value},[O.value]);U.push(G)}const v={class:M.value},w=l(i.collapseIcon,v);return w&&U.push(w),U.length>0?(0,t.h)("div",{class:{[`${T}__header-collapse`]:!0,[`is-${ne}`]:!0},onClick:Q},U):null},de=(ne,U,v,w)=>{const G={...p.value};if(U===0&&(G[`${T}__first`]=!0),v>=w-1&&(G[`${T}__last`]=!0),m.value===!1){const le=r.attrs.class;le&&(G[`${le}`]=!0)}return(0,t.h)("div",{ref:k,key:`${U}`,class:G,style:g.value},ne)};return()=>{const ne=i.prop??i.name;if(d.value&&f.value!==!0)return(0,t.h)(i.tag||"div",{ref:L,prop:ne,class:{[`${T}`]:!0,"is-collapse":K.value},style:y.value},[]);c.order.index=0;const U=[];let v=0;if(r.slots.header){const W=(0,t.h)("div",{key:`${v++}`,ref:x,class:{[`${T}__header`]:!0,[`${T}__first`]:!0},onClick:ee},[r.slots.header()]);U.push(W)}else{const W=[],F=i.collapsePosition==="left";if(F&&i.showCollapse){const ae=re("left");ae&&W.push(ae)}if(i.title||r.slots.title){if(i.showMark){const ae={class:{[`${T}__header-mark`]:!0}};i.markColor&&(ae.style={background:i.markColor});const oe=(0,t.h)("div",ae);W.push(oe)}if(r.slots.title){const ae=(0,t.h)("div",{class:{[`${T}__header-title`]:!0}},[r.slots.title()]);W.push(ae)}else if(i.title){const ae=(0,t.h)("div",{class:{[`${T}__header-title`]:!0}},[i.title]);W.push(ae)}}if(r.slots.toolbar&&W.push(r.slots.toolbar()),!F&&i.showCollapse){const ae=re("right");ae&&W.push(ae)}if(W.length>0){const ae=(0,t.h)("div",{key:`${v++}`,ref:x,class:{[`${T}__header`]:!0,[`${T}__first`]:!0},onClick:ee},W);U.push(ae)}}E();const{getChildren:w}=ul(r.slots.default),G=w(),le=c.layout.value.type;if(le==="grid"){const W=de(G,v++,0,G.length);U.push(W)}else if(le==="flow"){const W=de(G,v++,0,G.length);U.push(W)}else for(let W=0;W<G.length;W++){const F=G[W],ae=de([F],v++,W,G.length);U.push(ae)}return m.value?(0,t.h)(i.tag||"div",{ref:L,prop:ne,class:{[`${T}`]:!0,"is-collapse":K.value},style:y.value},[U]):U}}}}var{componentName:gc,create:yc,scope:bc}=pe("group"),Sc=(e,n)=>(e=e??He.ArrowUp,(0,t.h)(V.ElIcon,n,{default:()=>[(0,t.h)(e)]})),wc=yc(pc(gc,bc,Sc)),Ga=wc;function vc(e){return e===window}var Cc=/matrix\((.+)\)/,Xr=e=>{const n=(0,t.unref)(e);if(!n)return{x:0,y:0};if(vc(n))return{x:0,y:0};let l=0,i=0,r=n;for(;r!==null;)l+=r.offsetLeft,i+=r.offsetTop,r=r.offsetParent;let o=0,s=0,c=0,a=0;for(r=n;r!==document;){s+=r.scrollTop,o+=r.scrollLeft;const{transform:u}=window.getComputedStyle(r);if(u){const f=Cc.exec(u);if(f){let d=f[1].split(/\s*,\s*/);d.length==6&&(c+=Number(d[4]),a+=Number(d[5]))}}r=r.parentNode}return l-=o,i-=s,l+=c,i+=a,{x:l,y:i}},Nc=class{watchedListeners=[];add(e){this.watchedListeners.push(e)}remove(e){const n=this.watchedListeners.indexOf(e);n!==-1&&this.watchedListeners.splice(n,1)}size(){return this.watchedListeners.length}listen=()=>{this.watchedListeners.forEach(e=>{try{e()}catch{}})}},kc=class{monitorRegister=new WeakMap;watch(e,n){let l=e.parentNode;const i=document.body.parentNode;for(;l&&l!==i;){let r=this.monitorRegister.get(l);r||(r=new Nc,l.addEventListener("scroll",r.listen),l===document.body&&l.addEventListener("resize",r.listen),this.monitorRegister.set(l,r)),r.add(n),l=l.parentNode}}unwatch(e,n){let l=e.parentNode;const i=document.body.parentNode;for(;l&&l!==i;){let r=this.monitorRegister.get(l);r&&(r.remove(n),r.size()===0&&(this.monitorRegister.delete(l),l.removeEventListener("scroll",r.listen),l===document.body&&l.removeEventListener("resize",r.listen))),l=l.parentNode}}},dl=new kc,Qr={price:{type:[Number,String],default:0},needSymbol:{type:Boolean,default:!0},symbol:{type:String,default:"¥"},decimalLength:{type:[Number,String],required:!1,default:2},digits:{type:[Number,String],required:!1,default:3},separator:{type:String,required:!1,default:","},position:{type:String,default:"before"},size:{type:String,default:"large"}},{componentName:xc,create:Tc}=pe("price"),Ec=Tc({props:{...Qr},setup(e){const n=(0,t.computed)(()=>({[xc]:!0})),l=(0,t.computed)(()=>e.needSymbol?e.symbol:""),i=(0,t.computed)(()=>St(e.price)==0?"":$l(e.price,e.decimalLength,!0,Te(e.digits),e.separator));return{classes:n,showSymbol:l,intText:(0,t.computed)(()=>{let r=i.value;if(r.length==0)return"";let o=r.indexOf(".");return r.substring(0,o)}),decimalText:(0,t.computed)(()=>{let r=i.value;if(r.length==0)return"";let o=r.indexOf(".");return r.substring(o+1)})}}}),Fe=(e,n)=>{const l=e.__vccOpts||e;for(const[i,r]of n)l[i]=r;return l},zc=["innerHTML"],$c=["innerHTML"];function Bc(e,n,l,i,r,o){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes)},[e.needSymbol&&e.position=="before"?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:(0,t.normalizeClass)(["fox-price--symbol",`fox-price--symbol-${e.size}`]),innerHTML:e.showSymbol},null,10,zc)):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(`fox-price--${e.size}`)},(0,t.toDisplayString)(e.intText),3),e.decimalText.length!=0?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,class:(0,t.normalizeClass)(`fox-price--decimal-${e.size}`)},".",2)):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(`fox-price--decimal-${e.size}`)},(0,t.toDisplayString)(e.decimalText),3),e.needSymbol&&e.position=="after"?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:2,class:(0,t.normalizeClass)(["fox-price--symbol",`fox-price--symbol-${e.size}`]),innerHTML:e.showSymbol},null,10,$c)):(0,t.createCommentVNode)("",!0)],2)}var Zl=Fe(Ec,[["render",Bc]]),Vc={...Qr,type:{type:String,default:"number"},placement:{type:String,default:"top-start"},transition:{type:Boolean,default:!0},size:{type:String,default:"default"},arrowSize:{type:Number,default:6},showArrow:{type:Boolean,default:!0},arrowOffset:{type:Number,default:20},offset:{type:Number,default:12},id:{type:String},reference:{type:Object},referenceRect:{type:Object},autoFit:{type:Boolean,default:!0},message:{type:String,default:""},visible:{type:Boolean,default:!0},unmount:{type:Function},customClass:{type:String},customStyle:{type:Object},customTextClass:{type:String},customTextStyle:{type:Object},closeOnClick:{type:Boolean},zIndex:{type:[String,Number]}},{componentName:Xa,create:Dc}=pe("hint-text"),Mc=Dc({components:{Price:Zl},props:Vc,emits:["update:visible"],setup(e,n){const l=(0,t.ref)({top:null,right:null,bottom:null,left:null}),i=(0,t.ref)({x:0,y:0}),r=(0,t.ref)(0),o=(0,t.ref)(0),s=(0,t.ref)(e.placement),c=(0,t.ref)(!1),a=(0,t.ref)(null),u=(N,M,L,x,j,_)=>{const R=document.documentElement.clientWidth||document.body.clientWidth,K=document.documentElement.clientHeight||document.body.clientHeight,I=N.split("-");let q=[];I[0]==="top"?q=["top","bottom","right","left"]:I[0]==="bottom"?q=["bottom","top","right","left"]:I[0]==="left"?q=["left","top","bottom","right"]:I[0]==="right"&&(q=["right","top","bottom","left"]);const ee={top:null,right:null,bottom:null,left:null},Q=[];for(let J=0;J<q.length;J++){const H=q[J];if(Q[0]=H,I[1]&&(Q[1]=I[1]),H==="top"){const B=M.y-_-e.arrowSize-e.offset;if(B>=0){ee.top=B;let P=0;I[1]==="start"?P=M.x:I[1]==="end"?P=M.x+L-j:P=M.x+L/2-j/2;const te=R-P-j;te<0?(P+=te,d.value=-te):d.value=0,ee.left=P<0?0:P;break}}else if(H==="bottom"){const B=M.y+x+e.arrowSize+e.offset;if(B+_<=K){ee.top=B;let P=0;I[1]==="start"?P=M.x:I[1]==="end"?P=M.x+L-j:P=M.x+L/2-j/2;const te=R-P-j;te<0?(P+=te,d.value=-te):d.value=0,ee.left=P<0?0:P;break}}else if(H==="left"){const B=M.x-j-e.arrowSize-e.offset;if(B>=0){ee.left=B;let P=0;I[1]==="start"?P=M.y:I[1]==="end"?P=M.y+x-_:P=M.y+x/2-_/2,ee.top=P<0?0:P;break}}else if(H==="right"){const B=M.x+L+e.arrowSize+e.offset;if(B+j<=R){ee.left=B;let P=0;I[1]==="start"?P=M.y:I[1]==="end"?P=M.y+x-_:P=M.y+x/2-_/2,ee.top=P<0?0:P;break}}}return{bestPlacement:Q.join("-"),bestInsetRect:ee}},f=(N,M,L=10)=>{if(!Nt||M===!1||!N)return;if(e.reference)i.value=Xr(e.reference),r.value=e.reference.offsetWidth,o.value=e.reference.offsetHeight;else if(e.referenceRect){const K=e.referenceRect.left??0,I=e.referenceRect.right??0,q=e.referenceRect.top??0,ee=e.referenceRect.bottom??0;i.value={x:K,y:q},r.value=I-K,o.value=ee-q}const x=a.value?.offsetHeight??0,j=a.value?.offsetWidth??0,{bestPlacement:_,bestInsetRect:R}=u(e.placement,i.value,r.value,o.value,j,x);s.value=_,l.value=R,c.value=!0},d=(0,t.ref)(0),h=rt(()=>{f(e.message,e.visible)},10),z=(0,t.ref)(e.visible);(0,t.watch)(()=>e.visible,N=>{z.value=N});const T=(0,t.computed)(()=>z.value&&y.value),y=(0,t.ref)(!0),p=rt(N=>{const M=N[0];M&&(y.value=M.isIntersecting)},10),g=new IntersectionObserver(p);(0,t.watch)([()=>e.message,()=>e.visible],([N,M])=>{setTimeout(()=>{f(e.message,e.visible)},0)}),(0,t.onMounted)(()=>{setTimeout(()=>{f(e.message,e.visible)},0),e.reference&&(dl.watch(e.reference,h),g.observe(e.reference))}),(0,t.onBeforeUnmount)(()=>{e.reference&&(dl.unwatch(e.reference,h),g.unobserve(e.reference),g.disconnect())}),e.referenceRect&&(0,t.watch)(()=>e.referenceRect,()=>{f(e.message,e.visible)});const S=(0,t.computed)(()=>{const N={[Xa]:!0};return s.value.startsWith("top")?N["is-top"]=!0:s.value.startsWith("right")?N["is-right"]=!0:s.value.startsWith("bottom")?N["is-bottom"]=!0:s.value.startsWith("right")&&(N["is-right"]=!0),e.size==="small"?N["is-small"]=!0:e.size==="large"&&(N["is-large"]=!0),e.customClass&&typeof e.customClass=="string"&&(N[`${e.customClass}`]=!0),N}),$=(0,t.computed)(()=>{const N={};return l.value.top!==null&&(N.top=`${l.value.top}px`),l.value.right!==null&&(N.right=`${l.value.right}px`),l.value.bottom!==null&&(N.bottom=`${l.value.bottom}px`),l.value.left!==null&&(N.left=`${l.value.left}px`),e.autoFit&&(N["min-width"]=`${r.value}px`),N["max-width"]=`${document.documentElement.clientWidth||document.body.clientWidth}px`,c.value&&(N.opacity="1"),e.transition||(N.transition="none"),e.zIndex&&(N["z-index"]=`${e.zIndex}`),e.customStyle&&typeof e.customStyle=="object"&&Object.assign(N,e.customStyle),N}),m=(0,t.computed)(()=>{const N=[`${Xa}__content`];return e.customTextClass&&N.push(e.customTextClass),N}),C=(0,t.computed)(()=>{const N={};return e.customTextStyle&&typeof e.customTextStyle=="object"&&Object.assign(N,e.customTextStyle),N}),k=(0,t.computed)(()=>({[`${Xa}__arrow`]:!0})),E=(0,t.computed)(()=>{const N={};return e.showArrow?(N.width=`${e.arrowSize}px`,N.height=`${e.arrowSize}px`,s.value==="top"?(N.left="50%",N.bottom=`-${e.arrowSize}px`,N.transform=" translate(-50%, 0%)"):s.value==="top-start"?(N.left=`${e.arrowOffset+d.value}px`,N.bottom=`-${e.arrowSize}px`):s.value==="top-end"?(N.right=`${e.arrowOffset-d.value}px`,N.bottom=`-${e.arrowSize}px`):s.value==="right"?(N.left=`-${e.arrowSize}px`,N.top="50%",N.transform=" translate(0%, -50%)"):s.value==="right-start"?(N.left=`-${e.arrowSize}px`,N.top=`${e.arrowOffset}px`):s.value==="right-end"?(N.left=`-${e.arrowSize}px`,N.bottom=`-${e.arrowOffset}px`):s.value==="bottom"?(N.left="50%",N.top=`-${e.arrowSize}px`,N.transform=" translate(-50%, 0%)"):s.value==="bottom-start"?(N.left=`${e.arrowOffset+d.value}px`,N.top=`-${e.arrowSize}px`):s.value==="bottom-end"?(N.right=`${e.arrowOffset-d.value}px`,N.top=`-${e.arrowSize}px`):s.value==="left"?(N.right=`-${e.arrowSize}px`,N.top="50%",N.transform=" translate(0%, -50%)"):s.value==="left-start"?(N.right=`-${e.arrowSize}px`,N.top=`${e.arrowOffset}px`):s.value==="left-end"&&(N.right=`-${e.arrowSize}px`,N.bottom=`-${e.arrowOffset}px`),N):{display:"none"}}),Y=(0,t.computed)(()=>T.value&&e.closeOnClick),D=(0,t.computed)(()=>{const N={};return e.zIndex&&(N["z-index"]=`${e.zIndex}`),N});return{show:T,tipRef:a,classes:S,styles:$,textClasses:m,textStyles:C,arrowClasses:k,arrowStyles:E,overlayShow:Y,overlayStyle:D,onClickOverlay:N=>{N.target===N.currentTarget&&(z.value=!1,n.emit("update:visible",!1))}}}}),Ac=["innerHTML"];function Pc(e,n,l,i,r,o){const s=(0,t.resolveComponent)("Price");return(0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,null,[e.overlayShow?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:0,class:"fox-hint-text__overlay",style:(0,t.normalizeStyle)(e.overlayStyle),onClick:n[0]||(n[0]=(...c)=>e.onClickOverlay&&e.onClickOverlay(...c))},null,4)):(0,t.createCommentVNode)("",!0),(0,t.withDirectives)((0,t.createElementVNode)("div",{ref:"tipRef",class:(0,t.normalizeClass)(e.classes),style:(0,t.normalizeStyle)(e.styles)},[(0,t.createElementVNode)("div",{class:(0,t.normalizeClass)(e.textClasses),style:(0,t.normalizeStyle)(e.textStyles)},[e.type=="number"?((0,t.openBlock)(),(0,t.createBlock)(s,{key:0,price:e.message,position:"before",size:e.size},null,8,["price","size"])):((0,t.openBlock)(),(0,t.createElementBlock)("span",{key:1,innerHTML:e.message},null,8,Ac))],6),(0,t.createElementVNode)("div",{class:(0,t.normalizeClass)(e.arrowClasses),style:(0,t.normalizeStyle)(e.arrowStyles)},null,6)],6),[[t.vShow,e.show]])],64)}var Zr=Fe(Mc,[["render",Pc]]),Jr=class{seed=new Date().getTime();constructor(e){this.seed=e??new Date().getTime()}get(){let e=this.seed++;return this.seed<0&&(this.seed=0),e}},Qa={},Ic=new Jr,Mt=new Map,fl=e=>{if(e){const n=document.getElementById(e);Mt.delete(e),n&&((0,t.render)(null,n),n.parentNode?.removeChild(n))}else{for(const n of Mt.keys()){const l=document.getElementById(n);l&&((0,t.render)(null,l),l.parentNode?.removeChild(l))}Mt.clear()}},eo=e=>{e.unmount=fl;const n=document.getElementById(e.id);if(n){(0,t.render)(null,n);const l=Mt.get(e.id);l?e={...Qa,...l,...e}:e={...Qa,...e},e.transition=!1,(0,t.render)((0,t.createVNode)(Zr,e),n)}return e.id},to=e=>{e.unmount=fl;let n=e.id??`hinttext_${Ic.get()}`;e={...Qa,...e},e.id=n,Mt.set(n,e);const l=document.createElement("div");return l.id=e.id,(0,t.render)((0,t.createVNode)(Zr,e),l),document.body.appendChild(l),n},lo=e=>e?!0:(console.warn("[FoxUI HintText]: msg不能为空"),!1),Ge={show(e,n,l={},i=!0){if(!lo(n))return;const r=l.id;return r&&Mt.has(r)?eo({...l,message:n,reference:e}):(i&&fl(),to({...l,message:n,reference:e}))},showInRect(e,n,l,i){if(!lo(n))return;const r=l.id;return r&&Mt.has(r)?eo({...l,message:n,referenceRect:e}):(i&&fl(),to({...l,message:n,referenceRect:e}))},hide(e){fl(e)},install(e){e.config.globalProperties.$hintText=Ge}};function Lc(e,n,l,i=!1){return{inheritAttrs:!0,props:{...Ae,...Re},emits:["appear","disappear"],setup(r,o){const s=r.prop??o.attrs.name,c=(0,t.ref)(),{exposeApi:a}=Le({componentName:e,validate:!1,get props(){return r},context:o,get templateRefProxy(){return c.value}},s),u=Tt(),f=Wl();Yl(!1);const d=(0,t.computed)(()=>f&&u?Ul(u,!1).value:null),h=e,z=(0,t.ref)(null),T=(0,t.computed)(()=>{const w={[h]:!0,[`${h}__gutter`]:d.value&&d.value.type!=="flow",[`${h}__stretch`]:r.span==="stretch",[`${h}__input--border`]:Ce(r.hasBorder)};if(w[r.errorMarkClass]=!!K.value,w[r.warnMarkClass]=!!_.value,w[r.infoMarkClass]=!!x.value,typeof z.value=="function"){const G=z.value(s);w[G]=!0}else if(typeof z.value=="string"){const G=z.value;w[G]=!0}return w}),y=(0,t.ref)(null),p=(0,t.computed)(()=>{const w={};if(r.width)r.width!=="auto"&&(w.width=Ne(r.width));else{const G=f&&u?Gl(u,!1):null;if(d.value&&G){if(d.value.type==="grid"){const le=Ql(G,d.value,r.span,r.offset);Object.assign(w,le)}else if(d.value.type==="flow"){const le=Xl(G,d.value,r.span,r.offset,r.width);Object.assign(w,le)}}}if(typeof y.value=="function"){const G=y.value(s);G&&Object.assign(w,G)}else if(y.value&&typeof y.value=="object"){const G=y.value;Object.assign(w,G)}return w}),g=(0,t.ref)(null),S=(0,t.computed)({get:()=>g.value??Ce(r.isRequired),set:w=>{g.value=w}}),$=()=>typeof r.label=="string"&&r.label.length>0||typeof o.slots.label=="function",m=_e((0,t.toRef)(r,"labelPosition"),"labelPosition",it.Near),C=(0,t.computed)(()=>m&&m.value==="top"?"top":m&&m.value==="right"?"right":"left"),k=(0,t.computed)(()=>({[`${h}__main`]:!0,[`${h}__main--${C.value}`]:!0})),E=(0,t.computed)(()=>({label:!0,[`label--${C.value}`]:!0})),Y=_e((0,t.toRef)(r,"labelWidth"),"labelWidth",it.Near),D=(0,t.computed)(()=>Y&&Y.value?{width:Ne(Y.value)}:{}),O=(0,t.computed)(()=>({"label--string":!0,"label--required":S.value})),N=(0,t.computed)(()=>({content:!0,[r.contentClass]:!0})),M=(0,t.computed)(()=>({...r.contentStyle})),L=(0,t.shallowReactive)({errorTip:"",errorIcon:null,warnTip:"",warnIcon:null,infoTip:"",infoIcon:null});a({setRequired(w){S.value=w},setErrorTip(w){L.errorTip=w},setErrorIcon(w){L.errorIcon=w},setWarnTip(w){L.warnTip=w},setWarnIcon(w){L.warnIcon=w},setInfoTip(w){L.infoTip=w},setInfoIcon(w){L.infoIcon=w},setCustomClassName(w){z.value=w},setCustomStyle(w){y.value=w}});const x=(0,t.computed)(()=>r.infoTip||L.infoTip),j=(0,t.computed)(()=>r.infoIcon||L.infoIcon),_=(0,t.computed)(()=>r.warnTip||L.warnTip),R=(0,t.computed)(()=>r.warnIcon||L.warnIcon),K=(0,t.computed)(()=>r.errorTip||L.errorTip),I=(0,t.computed)(()=>r.errorIcon||L.errorIcon),q=(0,t.computed)(()=>K.value?"error":_.value?"warn":x.value?"info":""),ee=()=>q.value.length>0,Q=(0,t.computed)(()=>q.value==="error"?K.value:q.value==="warn"?_.value:q.value==="info"?x.value:""),J=(0,t.computed)(()=>q.value==="error"?I.value:q.value==="warn"?R.value:q.value==="info"?j.value:null),H=(0,t.computed)(()=>{const w={[`${h}__tip`]:!0,[`${h}__tip--${q.value}`]:!0,[`${h}--animate`]:!0};return q.value==="error"&&r.errorClass?w[`${r.errorClass}`]=!0:q.value==="warn"&&r.warnClass?w[`${r.warnClass}`]=!0:q.value==="info"&&r.infoClass&&(w[`${r.infoClass}`]=!0),w}),B=(0,t.computed)(()=>{const w={};return m&&m.value==="top"||!$()?w["padding-left"]="0px":Y&&Y.value&&(w["padding-left"]=Ne(Y.value)),w}),P=(0,t.ref)();let te=null;(0,t.watch)([()=>r.hintVisible,()=>r.hintText,()=>r.hintType,()=>r.hintProps],([w,G,le,W])=>{P.value&&(w&&!ke(G)?te?l.show(P.value,G,{...W??{},id:te,type:le},!0):te=l.show(P.value,G,{...W??{},type:le},!0):te&&l.hide(te))});let ie=null;const Z=()=>{ie||!P.value||(ie=new IntersectionObserver(w=>{let G=!1;for(let le of w)if(le.isIntersecting){G=!0,G&&o.emit("appear",le);break}G||o.emit("disappear")}),ie.observe(P.value))},A=()=>{ie&&(P.value&&ie.unobserve(P.value),ie.disconnect(),ie=null)};(0,t.watch)(()=>Ce(r.appearListen),w=>{w?Z():A()}),(0,t.onMounted)(()=>{Ce(r.appearListen)&&Z()}),(0,t.onBeforeUnmount)(()=>{A(),te&&l.hide(te)});const X=()=>{if(!$())return null;const w=[],G=o.slots?.label?.()??r.label,le=(0,t.h)("div",{class:O.value},[G]);if(w.push(le),o.slots.fixedPreTip){const W=o.slots.fixedPreTip();w.push(W)}return(0,t.h)("div",{class:E.value,style:D.value},w)},re=()=>{const w=[];if(o.slots.prepend){const G=o.slots.prepend();w.push(G)}if(o.slots.default){const G=o.slots.default();w.push(G)}if(o.slots.append){const G=o.slots.append();w.push(G)}if(o.slots.fixedTip){const G=(0,t.h)("div",{class:[`${h}__fixed-tip`]},[o.slots.fixedTip()]);w.push(G)}return(0,t.h)("div",{ref:P,class:N.value,style:M.value},w)},de=()=>{const w=J.value;return w?typeof w=="function"?(0,t.h)("div",{class:"fox-item__tip--icon"},[w()]):(0,t.h)("div",{class:"fox-item__tip--icon"},[(0,t.h)(w)]):null},ne=()=>{const w=Q.value;return w?typeof w=="function"?(0,t.h)("div",{class:"fox-item__tip--text"},[w()]):(0,t.h)("div",{class:"fox-item__tip--text"},[w]):null},U=()=>{if(!ee())return null;const w=[],G=de();G&&w.push(G);const le=ne();return le&&w.push(le),(0,t.h)("div",{class:H.value,style:B.value},w)},v=()=>o.slots?.hide?.()??null;return()=>{const w=[],G=[],le=X();le&&G.push(le);const W=re();W&&G.push(W);const F=(0,t.h)("div",{class:k.value},G);w.push(F);const ae=U();ae&&w.push(ae);const oe=v();return oe&&w.push(oe),(0,t.h)("div",{class:T.value,style:p.value,prop:r.prop,ref:c},w)}}}}var{componentName:Rc,create:_c,scope:Fc}=pe("item"),Oc=_c(Lc(Rc,Fc,Ge,!1)),ml=Oc,Za={span:{type:[Number,String],required:!1,default:1},offset:{type:[Number,String],default:0},width:{type:[String,Number],required:!1}};function qc(e,n){return{props:Za,setup(l,i){const r=Tt(),o=Wl();Yl(!1);const s=(0,t.computed)(()=>o&&r?Ul(r,!1).value:null),c=e,a=(0,t.computed)(()=>({[c]:!0,[`${c}__gutter`]:s.value&&s.value.type!=="flow",[`${c}__stretch`]:l.span==="stretch"})),u=(0,t.computed)(()=>{const f={};if(l.width)l.width!=="auto"&&(f.width=Ne(l.width));else{const d=o&&r?Gl(r,!1):null;if(s.value&&d)if(s.value.type==="grid"){const h=Ql(d,s.value,l.span,l.offset);Object.assign(f,h)}else if(s.value.type==="flow"){const h=Xl(d,s.value,l.span,l.offset,l.width);Object.assign(f,h)}else return l.width&&(f.width=Ne(l.width)),f}return f});return()=>{const f={class:a.value,style:u.value};return i.slots&&typeof i.slots.default=="function"?(0,t.h)("div",f,i.slots.default()):(0,t.h)("div",f)}}}}var{componentName:Hc,create:Kc,scope:jc}=pe("slot-item"),Wc=Kc(qc(Hc,jc)),Jl=Wc,ao={span:{type:[Number,String],required:!1,default:-1},offset:{type:[Number],default:0},width:{type:[String,Number],required:!1},align:{type:[String],required:!1,default:"center"},divide:{type:[Boolean,String],required:!1,default:!1},gutter:{type:[String,Number],required:!1},wrap:{type:[String],required:!1,default:"nowrap"}};function Yc(e,n){return{props:ao,setup(l,i){const r=e,o=(0,t.computed)(()=>({[r]:!0,[`${r}__stretch`]:l.span==="stretch",[`${r}__${l.align}`]:!0})),s=Tt(),c=Wl();Yl(!1);const a=(0,t.computed)(()=>{const u={};if(l.width)l.width!=="auto"&&(u.width=Ne(l.width));else if(c&&s){const f=Ul(s,!1),d=Gl(s,!1);if(f.value&&d)if(f.value.type==="grid"){const h=Ql(d,f.value,l.span,l.offset);Object.assign(u,h)}else if(f.value.type==="flow"){const h=Xl(d,f.value,l.span,l.offset,l.width);Object.assign(u,h)}else l.width&&(u.width=Ne(l.width))}return l.gutter&&(u["column-gap"]=Ne(l.gutter)),l.wrap&&(u["flex-wrap"]=l.wrap),u});return()=>{const u=[];if(i.slots.default){const{getChildren:f}=ul(i.slots.default),d=f();if(l.divide)for(let h=0;h<d.length;h++){if(h>0){const z=(0,t.h)("div",{class:{[`${r}__divide`]:!0}});u.push(z)}u.push(d[h])}else Reflect.apply([].push,u,d)}return(0,t.h)("div",{class:o.value,style:a.value},u)}}}}var{componentName:Uc,create:Gc,scope:Xc}=pe("row-item"),Qc=Gc(Yc(Uc,Xc)),ea=Qc;function Zc(e,n){const l=document.createRange();l.setStart(e,0),l.setEnd(e,e.childNodes.length);const i=l.getBoundingClientRect().width;if(i>0){n(i);return}e.classList.add("is-selectable"),setTimeout(()=>{l.setStart(e,0),l.setEnd(e,e.childNodes.length);const r=l.getBoundingClientRect().width;e.classList.remove("is-selectable"),n(r)},500)}var Jc={tag:{type:[String],required:!1,default:"span"},showOverflowTooltip:{type:[Boolean],required:!1},showArrow:{type:[Boolean],required:!1,default:!0},showAfter:{type:[Number],required:!1,default:300},hideAfter:{type:[Number],required:!1,default:0},type:{type:[String],required:!1},size:{type:[String],required:!1},truncated:{type:[Boolean,String],required:!1,default:!0},numberFormat:{type:[Boolean],required:!1,default:!1},decimalLength:{type:[Number,String],required:!1,default:-1},autoPadding:{type:[Boolean,String],required:!1,default:!1},digits:{type:[Number,String],required:!1,default:4},separator:{type:String,required:!1,default:" "},highlightFilter:{type:[String,Function],required:!1},mark:{type:[Boolean],required:!1},color:{type:[String],required:!1},textPosition:{type:String,default:"right"},textColor:{type:String},divide:{type:[Boolean],required:!1}};function e0(e,n,l,i=!1){return{props:Jc,emits:["click"],setup(r,o){const s=(0,t.ref)(null),c=(0,t.computed)(()=>{const $={[`${e}`]:!0,"is-truncated":r.truncated};return r.type&&($[`${e}--${r.type??"default"}`]=!0),r.size&&($[`${e}--${r.size}`]=!0),$}),a=(0,t.computed)(()=>{const $={},m=r.textColor??r.color;return m&&($.color=m),$}),u=($,m)=>{let C=null;if(typeof r.highlightFilter=="string"&&r.highlightFilter.length>0){const k=r.highlightFilter;$.indexOf(k)!==-1&&(m.innerHTML=$.replace(new RegExp(k,"g"),`<span>${k}</span>`),m.class["is-highlight"]=!0,C=(0,t.h)(r.tag,m))}else if(typeof r.highlightFilter=="function"){const k=r.highlightFilter($);k&&(m.innerHTML=k,m.class["is-highlight"]=!0,C=(0,t.h)(r.tag,m))}return C},f=$=>{o.emit("click",$)};let d="";const h=()=>{const $=s.value;if(!$)return;const m=$.clientWidth;Zc($,C=>{const k=$.innerHTML??"";ke(k)||C<m||(d?l?.show($,k,{type:"text",id:d,showArrow:r.showArrow},!0):d=l?.show($,k,{type:"text",showArrow:r.showArrow},!0)??"")})},z=()=>{d&&l?.hide(d)};let T=null;const y=$=>{T||(T=setTimeout(()=>{h(),T=null},r.showAfter??0))},p=$=>{T&&(clearTimeout(T),T=null),setTimeout(()=>{z()},r.hideAfter??0)},g=()=>{const $=s.value;$&&($.addEventListener("mouseover",y),$.addEventListener("mouseleave",p))},S=()=>{const $=s.value;$&&($.removeEventListener("mouseover",y),$.removeEventListener("mouseleave",p))};return(0,t.onMounted)(()=>{!Ce(r.showOverflowTooltip)||!l||g()}),(0,t.onBeforeUnmount)(()=>{!Ce(r.showOverflowTooltip)||!l||(S(),z())}),()=>{const $={class:c.value,style:a.value,ref:s,onClick:f};let m=null;if(Ce(r.numberFormat)&&typeof o.slots.default=="function"){const k=o.slots.default();if(Array.isArray(k)&&k.length===1){const E=k[0].type.toString();if(E==="Symbol(Text)"||E==="Symbol(v-txt)"){const Y=Te(r.digits),D=Te(r.decimalLength),O=Ce(r.autoPadding);let N=`${k[0].children}`,M=N.split("").reverse().join("");M=$l(M,D,O,Y,r.separator),N=M.split("").reverse().join(""),r.highlightFilter!==void 0&&(m=u(N,$)),m||($.innerHTML=N,m=(0,t.h)(r.tag,$))}}}else{if(r.highlightFilter!==void 0&&typeof o.slots.default=="function"){const k=o.slots.default();if(Array.isArray(k)&&k.length===1){const E=k[0].type.toString();if(E==="Symbol(Text)"||E==="Symbol(v-txt)"){const Y=`${k[0].children}`;m=u(Y,$),m||($.innerHTML=Y,m=(0,t.h)(r.tag,$))}}}m||(m=(0,t.h)(r.tag,$,{default:o.slots.default}))}if(!r.mark&&!o.slots.mark)return m;const C=[];if(o.slots.mark){const k={[`${e}__mark-wrap`]:!0};r.type&&(k[`${e}__mark-wrap--${r.type}`]=!0);const E={},Y=r.color;Y&&(E.color=Y);const D=(0,t.h)("view",{class:k,style:E,onClick:f},{default:o.slots.mark});C.push(D)}else{const k={[`${e}__mark`]:!0};r.type&&(k[`${e}__mark--${r.type??"default"}`]=!0);const E={},Y=r.color;Y&&(E["background-color"]=Y);const D=(0,t.h)("view",{class:k,style:E,onClick:f});C.push(D)}if(r.divide){const k=(0,t.h)("div",{class:{[`${e}__divide`]:!0}});C.push(k)}return C.push(m),(0,t.h)("view",{class:{"fox-text__wrap":!0,"text-left":r.textPosition==="left","text-right":r.textPosition==="right"}},C)}}}}var{componentName:t0,create:l0,scope:a0}=pe("text"),n0=l0(e0(t0,a0,Ge,!1)),Ft=n0,r0={visible:{type:Boolean},reference:{type:[Object,String]},referenceInset:{type:[Object]},trigger:{type:String,default:"click"},placement:{type:String,default:()=>"top-start"},autoFit:{type:Boolean,default:()=>!0},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},title:{type:String},content:{type:String},width:{type:String},offset:{type:[Number,Array],default:()=>[8,8]},effect:{type:String,default:()=>"light"},showArrow:{type:Boolean,default:()=>!0},arrowSize:{type:Number,default:()=>14},arrowOffset:{type:Number,default:()=>20},showOverlay:{type:Boolean,default:()=>!0},closeOnClick:{type:Boolean,default:()=>!0},zIndex:{type:[String,Number]},customClass:{type:[String]},customStyle:{type:[Object]},leaveHide:{type:[Boolean]},persistenet:{type:[Boolean],default:()=>!1},teleport:{type:[String,Element],default:()=>"body"},teleportDisable:{type:Boolean,default:()=>!1}};function o0(e,n,l=!1){return{props:r0,emits:["update:visible","open","close"],setup(i,{emit:r,slots:o,expose:s}){const c=e,a=(0,t.ref)({top:null,right:null,bottom:null,left:null}),u=(0,t.ref)(0),f=(0,t.ref)(0),d=(0,t.ref)(0),h=(0,t.ref)(0),z=(0,t.ref)(i.placement),T=(0,t.ref)(!1),y=(0,t.ref)(!1),p=(0,t.ref)(null),g=(0,t.ref)(null),S=()=>g.value?g.value?.$el??g.value:i.reference?typeof i.reference=="string"?document.querySelector(i.reference):i.reference:i.referenceInset,$=W=>{if(W instanceof Element){const F=W.getBoundingClientRect();return{left:F.left,top:F.top,right:F.right,bottom:F.bottom}}return W},m=(W,F,ae,oe,se,ue,he,ze=!0)=>{const ge=document.documentElement.clientWidth||document.body.clientWidth,xe=document.documentElement.clientHeight||document.body.clientHeight,Ee=W.split("-");let Xe=[];ze?Ee[0]==="top"?Xe=["top","bottom","right","left"]:Ee[0]==="bottom"?Xe=["bottom","top","right","left"]:Ee[0]==="left"?Xe=["left","top","bottom","right"]:Ee[0]==="right"&&(Xe=["right","top","bottom","left"]):Xe=[W[0]];const Oe={top:null,right:null,bottom:null,left:null},at=[],Xt=Array.isArray(i.offset)?i.offset[0]:i.offset,gt=Array.isArray(i.offset)?i.offset[1]:i.offset;for(let ct=0;ct<Xe.length;ct++){const nt=Xe[ct];if(at[0]=nt,Ee[1]&&(at[1]=Ee[1]),nt==="top"){const Ye=ae-he-i.arrowSize/2-Xt;if(Ye>=0){Oe.top=Ye;let fe=0;if(Ee[1]==="start"){fe=F;let ye=0;fe>0&&fe+ue>ge&&(ye=fe+ue-ge,fe-=ye),k.value=(oe<ue?oe:ue)/2+ye}else if(Ee[1]==="end"){fe=F+oe-ue;let ye=0;fe<0&&fe+ue<ge&&(ye=-fe,fe=0),oe<ue?k.value=ue-oe/2-ye:k.value=ue/2-ye}else{fe=F+oe/2-ue/2;let ye=0;fe<0&&fe+ue<ge?(ye=-fe,fe=0):fe>0&&fe+ue>ge&&(ye=fe+ue-ge,fe-=ye,ye=-ye),k.value=ue/2-ye}Oe.left=fe;break}}else if(nt==="bottom"){const Ye=ae+se+i.arrowSize/2+Xt;if(Ye+he<=xe){Oe.top=Ye;let fe=0;if(Ee[1]==="start"){fe=F;let ye=0;fe>0&&fe+ue>ge&&(ye=fe+ue-ge,fe-=ye),k.value=(oe<ue?oe:ue)/2+ye}else if(Ee[1]==="end"){fe=F+oe-ue;let ye=0;fe<0&&fe+ue<ge&&(ye=-fe,fe=0),oe<ue?k.value=ue-oe/2-ye:k.value=ue/2-ye}else{fe=F+oe/2-ue/2;let ye=0;fe<0&&fe+ue<ge?(ye=-fe,fe=0):fe>0&&fe+ue>ge&&(ye=fe+ue-ge,fe-=ye,ye=-ye),k.value=ue/2-ye}Oe.left=fe;break}}else if(nt==="left"){const Ye=F-ue-i.arrowSize/2-gt;if(Ye>=0){Oe.left=Ye;let fe=0;if(Ee[1]==="start"){fe=ae;let ye=0;fe>0&&fe+he>xe&&(ye=fe+he-xe,fe-=ye),E.value=(se<he?se:he)/2+ye}else if(Ee[1]==="end"){fe=ae+se-he;let ye=0;fe<0&&fe+he<xe&&(ye=-fe,fe=0),se<he?E.value=he-se/2-ye:E.value=he/2-ye}else{fe=ae+se/2-he/2;let ye=0;fe<0&&fe+he<xe?(ye=-fe,fe=0):fe>0&&fe+he>xe&&(ye=fe+he-xe,fe-=ye,ye=-ye),E.value=he/2-ye}Oe.top=fe;break}}else if(nt==="right"){const Ye=F+oe+i.arrowSize/2+gt;if(Ye+ue<=ge){Oe.left=Ye;let fe=0;if(Ee[1]==="start"){fe=ae;let ye=0;fe>0&&fe+he>xe&&(ye=fe+he-xe,fe-=ye),E.value=(se<he?se:he)/2+ye}else if(Ee[1]==="end"){fe=ae+se-he;let ye=0;fe<0&&fe+he<xe&&(ye=-fe,fe=0),se<he?E.value=he-se/2-ye:E.value=he/2-ye}else{fe=ae+se/2-he/2;let ye=0;fe<0&&fe+he<xe?(ye=-fe,fe=0):fe>0&&fe+he>xe&&(ye=fe+he-xe,fe-=ye,ye=-ye),E.value=he/2-ye}Oe.top=fe;break}}}return{bestPlacement:at.join("-"),bestInsetRect:Oe}},C=()=>{const W=i.autoFit;if(!Nt||D.value===!1)return;p.value||console.error("[FoxUI] popoverRef is null");const F=S();if(!F)return;const ae=$(F);if(!ae)return;u.value=ae.left??0,f.value=ae.top??0,d.value=(ae.right??0)-(ae.left??0),h.value=(ae.bottom??0)-(ae.top??0);const oe=p.value.offsetWidth,se=p.value.offsetHeight,{bestPlacement:ue,bestInsetRect:he}=m(i.placement,u.value,f.value,d.value,h.value,oe,se,W);z.value=ue,a.value=he},k=(0,t.ref)(0),E=(0,t.ref)(0),Y=rt(()=>{C()},10),D=(0,t.ref)(i.visible),O=W=>{D.value!==W&&(D.value=W,r("update:visible",W),r(W?"open":"close"),W?(T.value=W,setTimeout(()=>{C(),y.value=!0},0)):y.value=!1)};(0,t.watch)([()=>i.visible],([W])=>{O(W)});const N=(0,t.computed)(()=>D.value&&M.value),M=(0,t.ref)(!0),L=rt(W=>{const F=W[0];F&&D.value!==!1&&(M.value=F.isIntersecting)},10),x=new IntersectionObserver(L),j=(W,F)=>{W&&(setTimeout(()=>{C()},0),i.autoFit&&(F&&F instanceof Element&&(dl.unwatch(F,Y),x.unobserve(F)),W&&W instanceof Element&&(dl.watch(W,Y),x.observe(W))))};(0,t.watch)(()=>i.reference,(W,F)=>{j(W?.$el??W,F?.$el??F)},{immediate:!0}),(0,t.watch)(()=>i.referenceInset,(W,F)=>{j(W,F)},{immediate:!0}),(0,t.watch)(()=>g.value,(W,F)=>{j(W?.$el??W,F?.$el??F)}),(0,t.onBeforeUnmount)(()=>{const W=S();W instanceof Element&&(dl.unwatch(W,Y),x.unobserve(W)),x?.disconnect()});let _=null,R=null;const K=()=>{_&&(clearTimeout(_),_=null)},I=()=>{R&&(clearTimeout(R),R=null)},q=()=>{I(),i.openDelay>0?(K(),_=setTimeout(()=>{_=null,O(!0)},i.openDelay)):O(!0)},ee=()=>{K(),i.closeDelay>0?(I(),R=setTimeout(()=>{R=null,O(!1)},i.closeDelay)):O(!1)},Q=()=>{D.value?ee():q()};s({open:q,close:ee,doLayout:C});const J=(W,...F)=>{W&&(Array.isArray(W)?W.forEach(ae=>{ae(...F)}):W(...F))},H=W=>{const F=W.props||{},ae={...F};switch(i.trigger){case"click":{const oe=F.onClick;ae.onClick=se=>{J(oe,se),Q()};break}case"hover":{const oe=F.onMouseenter,se=F.onMouseleave;ae.onMouseenter=ue=>{J(oe,ue),q()},ae.onMouseleave=ue=>{J(se,ue),ee()};break}case"focus":{const oe=F.onFocus;ae.onFocus=se=>{J(oe,se),q()};break}case"contextmenu":{const oe=F.onContextmenu;ae.onContextmenu=se=>{se.preventDefault(),J(oe,se),Q()};break}default:break}return ae},B=()=>{const W=o.reference?.();if(!W?.length)return null;const F=W[0];return(0,t.cloneVNode)(F,{...H(F),ref:ae=>{g.value=ae?.ref??ae}})},P=(0,t.computed)(()=>{const W={[c]:!0};return z.value.startsWith("top")?W["is-top"]=!0:z.value.startsWith("right")?W["is-right"]=!0:z.value.startsWith("bottom")?W["is-bottom"]=!0:z.value.startsWith("left")&&(W["is-left"]=!0),W[`is-${i.effect}`]=!0,!y.value&&N.value&&(W["is-opacity"]=!0),y.value&&N.value&&(W["is-show"]=!0),N.value||(W["is-hide"]=!0),i.customClass&&typeof i.customClass=="string"&&(W[`${i.customClass}`]=!0),W}),te=(0,t.computed)(()=>{const W={};return a.value.top!==null&&(W.top=`${a.value.top}px`),a.value.right!==null&&(W.right=`${a.value.right}px`),a.value.bottom!==null&&(W.bottom=`${a.value.bottom}px`),a.value.left!==null&&(W.left=`${a.value.left}px`),i.width&&(W.width=i.width),i.zIndex&&(W["z-index"]=`${i.zIndex}`),i.customStyle&&typeof i.customStyle=="object"&&Object.assign(W,i.customStyle),W}),ie=()=>{O(!1)},Z=()=>g.value&&i.trigger==="hover"||!i.showOverlay?null:(0,t.h)("div",{class:`${c}__overlay`,onClick:ie}),A=()=>{let W=null;return o.title?W=(0,t.h)("div",{class:`${c}__title`},{default:o.title}):i.title&&(W=(0,t.h)("div",{class:`${c}__title`},[i.title])),W},X=(0,t.computed)(()=>({[`${c}__arrow`]:!0})),re=(0,t.computed)(()=>{const W={};return i.showArrow?(W.width=`${i.arrowSize}px`,W.height=`${i.arrowSize}px`,z.value==="top"||z.value==="top-start"||z.value==="top-end"?(W.left=Ne(k.value+i.arrowOffset),W.bottom="0",W.transform="translate(-50%, 50%)"):z.value==="right"?(W.left="0",W.top=Ne(E.value+i.arrowOffset),W.transform="translate(-50%, -50%)"):z.value==="right-start"||z.value==="right-end"?(W.left="0",W.top=Ne(E.value+i.arrowOffset),W.transform="translate(-50%, 50%)"):z.value==="bottom"||z.value==="bottom-start"?(W.left=Ne(k.value+i.arrowOffset),W.top="0",W.transform="translate(-50%, -50%)"):z.value==="bottom-end"?(W.right=Ne(k.value+i.arrowOffset),W.top="0",W.transform="translate(-50%, -50%)"):(z.value==="left"||z.value==="left-start"||z.value==="left-end")&&(W.right="0",W.top=Ne(E.value+i.arrowOffset),W.transform="translate(50%, -50%)"),W):{display:"none"}}),de=()=>(0,t.h)("div",{class:X.value,style:re.value}),ne=()=>{},U=()=>{D.value===!1&&i.persistenet!==!0&&(T.value=!1)},v=()=>{U()},w=W=>{if(!p.value||D.value===!1)return;const{relatedTarget:F}=W;F&&!p.value.contains(F)&&O(!1)},G=W=>{!p.value||D.value===!1||O(!1)},le=()=>{const W=[],F=A();if(F&&W.push(F),o.default){const se=o.default();W.push(se)}const ae=de();ae&&W.push(ae);const oe={ref:p,class:P.value,style:te.value,onAnimationstart:ne,onAnimationend:U,onAnimationcancel:v};return i.leaveHide&&(oe.onMouseleave=w),i.closeOnClick&&(oe.onClick=G),(0,t.h)("div",oe,{default:()=>W})};return()=>{const W=[],F=B();if(F&&W.push(F),!T.value)return W.length===null?null:W;const ae=[],oe=Z();oe&&ae.push(oe);const se=le();se&&ae.push(se);const ue=(0,t.h)(t.Teleport,{to:i.teleport,disabled:i.teleportDisable},{default:()=>ae});return W.push(ue),W}}}}var{componentName:i0,create:s0,scope:c0}=pe("popover-dialog"),u0=s0(o0(i0,c0,!1)),hl=u0,no={type:{type:[String],required:!1,default:()=>"primary"},dropdownPlacement:{type:[String],required:!1,default:()=>"bottom"},maxDisplayCount:{type:[Number,String],required:!1},moreText:{type:[String],required:!1},moreIcon:{type:[Object],required:!1},morePosition:{type:[String],required:!1,default:()=>"right"}};function d0(e,n,l){return{props:{...ao,...no},emits:["click"],setup(i,{slots:r}){const{toLocaleRefs:o}=(0,Be.useFoxI18n)(n),s=o(i,["moreText"]),c=e,a=(0,t.computed)(()=>({[c]:!0}));function u(m){return m.props||{}}function f(m){return!!u(m).disabled}function d(m){return m.children??[]}const h=(0,t.ref)(),z=(0,t.computed)(()=>h.value?.$el??null),T=(0,t.ref)(!1),y=m=>{T.value=m},p=()=>{T.value=!T.value};function g(m,C){return()=>{C||(T.value=!1,u(m)?.onClick?.())}}function S(m,C){const k=d(m),E=f(m),Y=g(m,E),D=[`${c}__dropdown-item`];return E&&D.push("is-disabled"),(0,t.h)("span",{class:D,onClick:Y},k)}const $=m=>{const C=Te(i.maxDisplayCount??m.length);if(C>=m.length)return m;const k=[],E=C;for(let M=0;M<E;M++)k.push(m[M]);const Y=(r.moreIcon&&r.moreIcon())??(i.moreIcon&&(0,t.h)(i.moreIcon))??(0,t.h)(l),D=(0,t.h)(Ft,{ref:M=>h.value=M,class:`${c}__dropdown-link`,"text-position":"left","show-overflow-tooltip":!1,type:i.type,onClick:p},{default:()=>s.moreText.value,mark:()=>Y});i.morePosition==="left"?k.splice(0,0,D):k.push(D);const O=[];for(let M=E;M<m.length;M++){const L=S(m[M],M);O.push(L)}const N=(0,t.h)(hl,{placement:i.dropdownPlacement,"onUpdate:visible":y,visible:T.value,reference:z.value,"custom-class":`${c}__popover`},{default:()=>O});return k.push(N),k};return()=>{const{getChildren:m}=ul(r?.default),C=m(),k=$(C);return(0,t.h)(ea,{...Ie(i,no),class:a.value},{default:()=>k})}}}}var{componentName:f0,create:m0,scope:h0}=pe("buttons-item"),p0=m0(d0(f0,h0,He.ArrowDown)),Ja=p0;function We(e,n={}){return(0,t.h)(ml,e,n)}function ro(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text??""}function g0(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function y0(e,n,l,i,r){const o=Array.isArray(e)?e:[e],s=[],c=n[0];if(Array.isArray(e)&&!Array.isArray(c)&&!c[r]){const a=n;for(let u=0;a&&u<o.length;u++){const f=o[u],d=a.find(h=>h[i]===f);if(!d)break;s.push(d[l])}return s}if(Array.isArray(c))for(let a=0;a<n.length&&a<o.length;a++){const u=n[a],f=o[a],d=u.find(h=>h[i]===f);if(!d)break;s.push(d[l])}else{let a=n;for(let u=0;a&&u<o.length;u++){const f=o[u],d=a.find(h=>h[i]===f);if(!d)break;s.push(d[l]),a=d[r]}}return s}var b0=class{scope;constructor(e){this.scope=e}async load(e,n,l){if(!n)return[];if(Array.isArray(n))return n;if(typeof n=="function")return await n(l);const i=tt(e,this.scope);return i===null?(console.error(`[FoxUI]${e} component not found api function`),[]):(et(l)&&(0,t.isReactive)(l)&&(l=(0,t.toRaw)(l)),await i(n,l))}};function S0(){const e=st();return new b0(e)}function w0(e){return e&&e.startsWith("fox-")}var oo={tag:{type:[String,Object],required:!1,default:"span"},source:{type:[Array,Function,String],required:!1},sourceType:{type:[String],required:!1,default:"mapping"},params:{type:[Object,String],required:!1},modelValue:{type:[String,Boolean,Number,Array,Object],required:!1},separator:{type:[String],required:!1,default:"/"},unit:{type:[String],required:!1},valueType:{type:String,required:!1},optionType:{type:String,required:!1},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},childrenKey:{type:[String],required:!1,default:"children"},emptyText:{type:[String],required:!1}};function v0(e,n,l=!1){return{props:oo,setup(i,{attrs:r,slots:o}){const s=S0(),c=(0,t.ref)([]);(0,t.watch)([()=>i.source,()=>i.params],async([u,f])=>{c.value=await s.load(i.sourceType,u,f)},{immediate:!0});const a=(0,t.computed)(()=>{if(!Array.isArray(c.value)||c.value.length===0)return i.emptyText;{let u="";if(i.valueType==="text")Array.isArray(i.modelValue)?u=i.modelValue.join(i.separator):u=i.modelValue??i.emptyText??"";else if(i.valueKey==="item")if(Array.isArray(i.modelValue)){const f=[];for(let d=0;d<i.modelValue.length;d++){const h=i.modelValue[d];let z=ro(i,h);i.optionType==="item"&&(z=`${g0(i,h)}${i.separator}${z}`),f.push(z)}u=f.join(i.separator)}else{const f=i.modelValue;u=ro(i,f)}else{let f=y0(i.modelValue,c.value,i.textKey,i.valueKey,i.childrenKey);f.length===0?u=i.emptyText??"":f.length===1?i.optionType=="item"?u=`${i.modelValue}${i.separator}${f[0]}`:u=f[0]:u=f.join(i.separator)}return i.unit&&(u=`${u}${i.unit}`),u}});return()=>{const u={...r};if(o.default)return o.default({text:a.value,value:i.modelValue});const f=i.tag??"span";return typeof f=="object"?(0,t.h)(f,u,{default:()=>a.value}):w0(f)?(0,t.h)((0,t.resolveComponent)(f),u,[a.value]):(0,t.h)(f,u,[a.value])}}}}var{componentName:C0,create:N0,scope:k0}=pe("mapping"),x0=N0(v0(C0,k0)),Ot=x0;function Ze(e,n){const l="fox-browse-item";let i=null;if(e.source)i=(0,t.h)(Ot,{class:[`${l}__mapping`],modelValue:e.modelValue,source:e.source,sourceType:e.sourceType,params:e.params,separator:e.separator,emptyText:e.emptyText,unit:e.unit,valueType:e.valueKey,textKey:e.textKey,valueKey:e.valueKey,childrenKey:e.childrenKey},{default:o=>(0,t.h)(Ft,{class:[`${l}__text`],truncated:!1},{default:()=>o.text})});else{const o=e.unit?`${e.modelValue??""}${e.unit}`:`${e.modelValue??""}`;i=(0,t.h)(Ft,{class:[`${l}__text`],truncated:!1},{default:()=>o})}const r={label:n.default,default:()=>i};return(0,t.h)(ml,{class:[l],span:e.span,labelPosition:e.labelPosition,labelWidth:e.labelWidth},r)}var ut=(e={})=>{if(!e)return{};const n={};return Reflect.ownKeys(e).forEach(l=>{typeof l=="string"&&l.indexOf("data-fox")!==0&&(n[l]=e[l])}),n},io={modelValue:{type:[String,Boolean,Number,Object],required:!1},clearable:{type:[Boolean,String],default:!0},placeholder:{type:[String],required:!1},unit:{type:[String],required:!1},adjustPosition:{type:[Boolean],default:()=>!0},alwaysSystem:{type:[Boolean],default:()=>!1},showTooltip:{type:[Boolean],default:()=>!1},maxLength:{type:[String,Number]}},T0={...Ae,...Re,...io};function E0(e,n,l,i){return{props:T0,emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(r,o){const{itemTemplateRef:s,innerDisabled:c,disabled:a,innerReadonly:u,readonly:f,browse:d}=je(r),{emitEvent:h,exposeApi:z}=Le({componentName:e,get readonly(){return f.value},get disabled(){return a.value},get props(){return r},context:o,get templateRefProxy(){return s.value}},r.prop??o.attrs.name),{toLocaleRefs:T}=(0,Be.useFoxI18n)(n),y=T(r,["placeholder"]),p=(0,t.ref)(!1),g=Ve(r,"modelValue",null,h),S=e,$=(0,t.computed)(()=>({[`${S}`]:!0,disabled:a.value,readonly:f.value})),m=(0,t.computed)(()=>({[`${S}__content`]:!0})),C=q=>{g.value=q,h("update:modelValue",q),h("input",q)},k=q=>{h("change",q)};let E=Ve(r,"hintText"),Y=(0,t.ref)(!1);const D=q=>{let ee=q.target.value;p.value=!0,ke(E.value)||(Y.value=!0),h("focus",ee,q)},O=q=>{setTimeout(()=>{Y.value&&(Y.value=!1),p.value=!1},0);let ee=q.target.value;r.maxLength&&ee.length>Number(r.maxLength)&&(ee=ee.slice(0,Number(r.maxLength))),h("blur",ee,q)},N=()=>{h("clear","")},M=(0,t.ref)(!1);let L=null;const x=()=>{r.showTooltip&&M.value===!1&&(L&&clearTimeout(L),L=setTimeout(()=>{M.value=!0},150))},j=()=>{L&&(clearTimeout(L),M.value=!1,L=null)},_=(0,t.computed)(()=>M.value||Y.value),R=(0,t.computed)(()=>M.value?g.value:E.value),K=(0,t.computed)(()=>St(r.unit)>0),I=(0,t.ref)();return z({focus:()=>{I?.value.focus()},blur:()=>{I?.value.blur()},select:()=>{I?.value.select()},setDisabled:q=>{c.value=q},setReadonly:q=>{u.value=q}}),()=>{if(d.value==="on"&&(f.value||a.value))return i({modelValue:g.value,unit:r.unit,span:r.span,labelPosition:r.labelPosition,labelWidth:r.labelWidth},o.slots);const q=a.value||f.value?"":y.placeholder.value,ee={...ut(o.attrs),ref:I,class:m.value,placeholder:q,clearable:r.clearable,disabled:a.value,readonly:f.value,modelValue:g.value,"adjust-position":r.adjustPosition,"always-system":r.alwaysSystem,onClear:N,onChange:k,onInput:C,onFocus:D,onBlur:O,onMouseover:x,onMouseleave:j},Q={};o.slots.prepend&&(Q.prepend=o.slots.prepend),o.slots.append&&(Q.append=o.slots.append),o.slots.prefix&&(Q.prefix=o.slots.prefix),o.slots.suffix?Q.suffix=o.slots.suffix:K.value&&(Q.suffix=()=>[r.unit]);const J=[],H=(0,t.h)(V.ElInput,ee,Q);J.push(H);const B={default:()=>J};B.label=o.slots.default,B.fixedPreTip=o.slots.fixedPreTip,B.fixedTip=o.slots.fixedTip;const P={...Ie(r,io),class:$.value,ref:s,hintText:R.value,hintVisible:_.value};return r.prop&&(P.prop=`${r.prop}_item`),l(P,B)}}}}var{componentName:z0,create:$0,scope:B0}=pe("input-item"),V0=$0(E0(z0,B0,We,Ze)),ta=V0,{create:D0}=pe("textarea-item"),M0=D0({setup(e,{attrs:n,slots:l}){return()=>(0,t.h)(ta,{...n,type:"textarea"},l)}}),en=M0;function zt(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function pl(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function so(e,n){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?n[e.childrenKey]||null:n.children??null}function A0(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}var P0=class{scope;constructor(e){this.scope=e}async load(e,n,l){if(!n)return[];if(Array.isArray(n))return n;if(typeof n=="function")return await n(l);const i=tt(e,this.scope);return i===null?(console.error(`[FoxUI]${e} component not found api function`),[]):(et(l)&&(0,t.isReactive)(l)&&(l=(0,t.toRaw)(l)),await i(n,l))}};function I0(){const e=st();return new P0(e)}function co(e,n,l){return!(zt(e,n)!==zt(e,l)||pl(e,n)!==pl(e,l))}function uo(e,n,l,i){if(i.length===0||n===""||n===null||n===void 0)return null;Array.isArray(n)||(n=[n]);const r=[];return n.forEach(o=>{for(let s of i){const c=so(e,s);if(Array.isArray(c)&&c.length>0){const a=uo(e,o,l,c)??[];Reflect.apply([].push,r,a)}else{let a=!1;if(l==="text")a=zt(e,s)===o;else if(l==="item")a=co(e,s,o);else{let u=pl(e,s);u==null&&(u=zt(e,s)),a=u===o}if(a){r.push(s);break}}}}),r}function L0(e){return{text:e,value:e}}var fo={modelValue:{type:[String,Boolean,Number,Object,Array],required:!1},text:{type:[String],required:!1},source:{type:[Array,Function,String]},sourceFilter:{type:[Function]},params:{type:Object},clearable:{type:[Boolean,String],default:!0},multiple:{type:[Boolean],default:!1},valueType:{type:String,required:!1,default:"value"},optionType:{type:String,required:!1,default:"text"},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},childrenKey:{type:[String],required:!1,default:"children"},disabledKey:{type:[String],required:!1,default:"disabled"},remoteMethod:{type:[Function],required:!1},filterMethod:{type:[Function],required:!1},allowCreate:{type:[Boolean],default:!1},unit:{type:[String],required:!1},placeholder:{type:[String],required:!1},appearLoad:{type:[Boolean,String],default:!1},showTooltip:{type:[Boolean],default:!1},popperClass:{type:[String],required:!1},popperStyle:{type:[String,Object],required:!1},showArrow:{type:[Boolean],default:!0},teleported:{type:[Boolean],default:!0},appendTo:{type:[String,Object]}},R0={...Ae,...Re,...fo};function _0(e,n,l,i){return{props:R0,emits:["change","update:modelValue","update:text","blur","focus","clear","visible-change","remove-tag","selected","setValue"],setup(r,o){const{itemTemplateRef:s,innerDisabled:c,disabled:a,innerReadonly:u,readonly:f,browse:d}=je(r),{emitEvent:h,exposeApi:z}=Le({componentName:e,validateCheckEvents:["blur","update:modelValue","selected"],get readonly(){return f.value},get disabled(){return a.value},get props(){return r},context:o,get templateRefProxy(){return s.value}},r.prop??o.attrs.name),{toLocaleRefs:T}=(0,Be.useFoxI18n)(n),y=T(r,["placeholder"]),p=(0,t.ref)(null),g=(0,t.ref)([]),S=(0,t.computed)(()=>g.value?g.value.map(w=>zt(r,w)).join(" "):""),$=(w,G,le,W=!0)=>{if(!le||le.length==0){p.value=w,W&&(h("update:modelValue",w),h("change",w));return}const F=uo(r,w,G,le);if(F===null){if(g.value===null||g.value.length===0)return;p.value=null,g.value=[],W&&(h("update:modelValue",null),h("update:text",null),h("change",null));return}let ae=!0;if(F.length!==g.value.length)ae=!1;else for(let oe=0;oe<F.length;oe++){const se=F[oe],ue=g.value[oe];if(!co(r,se,ue)){ae=!1;break}}if(!ae){g.value=F;let oe=[],se=[],ue=[];F.forEach(xe=>{const Ee=pl(r,xe),Xe=zt(r,xe);oe.push(Ee),ue.push(Xe),r.valueType==="text"?se.push(Xe):r.valueType==="item"?se.push(xe):se.push(Ee)});let he,ze,ge;Ce(r.multiple)?(p.value=oe,he=(0,t.toRaw)(se),ze=ue,ge=(0,t.toRaw)(F)):(p.value=oe[0]??"",he=(0,t.toRaw)(se[0]??""),ze=ue[0]??"",ge=(0,t.toRaw)(F[0])),W&&(h("update:modelValue",he),h("change",he,ge)),h("update:text",ze)}},m=(0,t.ref)(null),C=(0,t.ref)(null),k=(0,t.computed)(()=>{let w=C.value??m.value??[];return Array.isArray(w)&&typeof r.sourceFilter=="function"&&(w=w.filter(r.sourceFilter)),w}),E=_e((0,t.computed)(()=>r.appearLoad),"appearLoad",it.Near,w=>Ce(w)),Y=I0(),D=async(w,G)=>{if(w){const le=await Y.load("select",w,G);if(le.length>0)if(typeof le[0]=="string"){let W=le.map(F=>L0(F));m.value=W}else m.value=le;else m.value=null}};(0,t.watch)([()=>r.source,()=>r.params],([w,G])=>{C.value=null,D(w,G)},{immediate:!E.value});let O=!1;const N=()=>{O||(O=!0,D(r.source,r.params))};(0,t.watch)([()=>m.value,()=>r.modelValue],([w,G])=>{if(j()&&Ce(r.multiple)){Qe(G,p.value)||(p.value=G);return}$(G,r.valueType,k.value,!1),h("setValue",G)}),r.source||(p.value=r.modelValue);let M=null,L=(0,t.ref)(!1);typeof r.remoteMethod=="function"&&(M=async w=>{if(w==null){C.value=null;return}L.value=!0;try{const G=await r.remoteMethod(w);G&&(C.value=G)}catch(G){C.value=null,console.error(G)}L.value=!1});let x=null;typeof r.filterMethod=="function"&&(x=async w=>{if(w==null){C.value=null;return}L.value=!0;try{const G=await r.filterMethod(w,m.value);G&&(C.value=G)}catch(G){C.value=null,console.error(G)}L.value=!1});const j=()=>typeof r.remoteMethod=="function"||typeof r.filterMethod=="function",_=(0,t.ref)(!1),R=e,K=(0,t.computed)(()=>({[R]:!0,disabled:a.value,readonly:f.value})),I=(0,t.computed)(()=>({[`${R}__content`]:!0})),q=w=>{r.allowCreate||j()&&Ce(r.multiple)?(h("update:modelValue",w),h("change",w),h("update:text",w),p.value=w):$(w,"value",k.value,!0)};let ee=Ve(r,"hintText"),Q=(0,t.ref)(!1);const J=w=>{let G=w.target.value;_.value=!0,ke(ee.value)||(Q.value=!0),h("focus",G,w)},H=w=>{setTimeout(()=>{Q.value&&(Q.value=!1),_.value=!1},0);const G=w.target.value;re.value||h("blur",G,w)},B=()=>{h("clear","")},P=(0,t.ref)(!1);let te=null;const ie=()=>{r.showTooltip&&P.value===!1&&(te&&clearTimeout(te),te=setTimeout(()=>{P.value=!0},150))},Z=()=>{te&&(clearTimeout(te),P.value=!1,te=null)},A=(0,t.computed)(()=>P.value||Q.value),X=(0,t.computed)(()=>P.value?S.value:ee.value),re=(0,t.ref)(!1),de=w=>{re.value=w,h("visible-change",w),w||h("selected")},ne=w=>{h("remove-tag",w)},U=(w,G)=>{const le=[];return w.forEach((W,F)=>{const ae=so(r,W);if(Array.isArray(ae)&&ae.length>0){const oe=U(ae,G),se=zt(r,W),ue={key:`${se}_${F}`,label:se};le.push((0,t.h)(V.ElOptionGroup,ue,{default:()=>oe}))}else{const oe=pl(r,W),se=zt(r,W),ue=A0(r,W),he={key:`${oe}_${F}`,label:se,disabled:ue,value:oe};if(typeof G=="function")le.push((0,t.h)(V.ElOption,he,{default:()=>G(W)}));else if(r.optionType==="item"){const ze=(0,t.h)("span",{class:{[`${R}__option-left`]:!0}},[oe]),ge=(0,t.h)("span",{class:{[`${R}__option-right`]:!0}},[se]),xe=(0,t.h)("div",{class:{[`${R}__option`]:!0}},[ze,ge]);le.push((0,t.h)(V.ElOption,he,{default:()=>xe}))}else r.optionType==="value"?le.push((0,t.h)(V.ElOption,he,{default:()=>[oe]})):le.push((0,t.h)(V.ElOption,he))}}),le},v=(0,t.ref)();return z({focus:()=>{v?.value.focus()},blur:()=>{v?.value.blur()},setDisabled:w=>{c.value=w},setReadonly:w=>{u.value=w}}),()=>{if(d.value==="on"&&(f.value||a.value))return i({modelValue:p.value,source:k.value,valueType:r.valueType,textKey:r.textKey,valueKey:r.valueKey,unit:r.unit,span:r.span,labelPosition:r.labelPosition,labelWidth:r.labelWidth},o.slots);const w=a.value||f.value?"":y.placeholder.value,G={...ut(o.attrs),ref:v,class:I.value,clearable:r.clearable,multiple:r.multiple,placeholder:w,disabled:a.value||f.value,modelValue:p.value,"value-key":r.valueKey,"allow-create":r.allowCreate,"popper-class":r.popperClass,"popper-style":r.popperStyle,"show-arrow":r.showArrow,"append-to":r.appendTo,onClear:B,onChange:q,onFocus:J,onBlur:H,onVisibleChange:de,onRemoveTag:ne};typeof M=="function"&&(G["remote-method"]=M,G.loading=L.value),typeof x=="function"&&(G["filter-method"]=x,G.loading=L.value);const le={};o.slots.prefix&&(le.prefix=o.slots.prefix),o.slots.empty&&(le.empty=o.slots.empty),o.slots.options?le.default=o.slots.options:le.default=()=>U(k.value,o.slots.option);const W=[],F=(0,t.h)(V.ElSelect,G,le);W.push(F);const ae={default:()=>W};ae.label=o.slots.default,ae.fixedPreTip=o.slots.fixedPreTip,ae.fixedTip=o.slots.fixedTip;const oe={...Ie(r,fo),ref:s,class:K.value,hintText:X.value,hintVisible:A.value,onMouseover:ie,onMouseleave:Z};return r.prop&&(oe.prop=`${r.prop}_item`),E.value&&(oe["appear-listen"]=!0,oe.onAppear=N),l(oe,ae)}}}}var{componentName:F0,create:O0,scope:q0}=pe("select-item"),H0=O0(_0(F0,q0,We,Ze)),tn=H0,K0=yt(((e,n)=>{(function(l,i){typeof e=="object"&&typeof n<"u"?n.exports=i():typeof define=="function"&&define.amd?define(i):(l=typeof globalThis<"u"?globalThis:l||self).dayjs=i()})(e,(function(){"use strict";var l=1e3,i=6e4,r=36e5,o="millisecond",s="second",c="minute",a="hour",u="day",f="week",d="month",h="quarter",z="year",T="date",y="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,S={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(x){var j=["th","st","nd","rd"],_=x%100;return"["+x+(j[(_-20)%10]||j[_]||j[0])+"]"}},$=function(x,j,_){var R=String(x);return!R||R.length>=j?x:""+Array(j+1-R.length).join(_)+x},m={s:$,z:function(x){var j=-x.utcOffset(),_=Math.abs(j),R=Math.floor(_/60),K=_%60;return(j<=0?"+":"-")+$(R,2,"0")+":"+$(K,2,"0")},m:function x(j,_){if(j.date()<_.date())return-x(_,j);var R=12*(_.year()-j.year())+(_.month()-j.month()),K=j.clone().add(R,d),I=_-K<0,q=j.clone().add(R+(I?-1:1),d);return+(-(R+(_-K)/(I?K-q:q-K))||0)},a:function(x){return x<0?Math.ceil(x)||0:Math.floor(x)},p:function(x){return{M:d,y:z,w:f,d:u,D:T,h:a,m:c,s,ms:o,Q:h}[x]||String(x||"").toLowerCase().replace(/s$/,"")},u:function(x){return x===void 0}},C="en",k={};k[C]=S;var E="$isDayjsObject",Y=function(x){return x instanceof M||!(!x||!x[E])},D=function x(j,_,R){var K;if(!j)return C;if(typeof j=="string"){var I=j.toLowerCase();k[I]&&(K=I),_&&(k[I]=_,K=I);var q=j.split("-");if(!K&&q.length>1)return x(q[0])}else{var ee=j.name;k[ee]=j,K=ee}return!R&&K&&(C=K),K||!R&&C},O=function(x,j){if(Y(x))return x.clone();var _=typeof j=="object"?j:{};return _.date=x,_.args=arguments,new M(_)},N=m;N.l=D,N.i=Y,N.w=function(x,j){return O(x,{locale:j.$L,utc:j.$u,x:j.$x,$offset:j.$offset})};var M=(function(){function x(_){this.$L=D(_.locale,null,!0),this.parse(_),this.$x=this.$x||_.x||{},this[E]=!0}var j=x.prototype;return j.parse=function(_){this.$d=(function(R){var K=R.date,I=R.utc;if(K===null)return new Date(NaN);if(N.u(K))return new Date;if(K instanceof Date)return new Date(K);if(typeof K=="string"&&!/Z$/i.test(K)){var q=K.match(p);if(q){var ee=q[2]-1||0,Q=(q[7]||"0").substring(0,3);return I?new Date(Date.UTC(q[1],ee,q[3]||1,q[4]||0,q[5]||0,q[6]||0,Q)):new Date(q[1],ee,q[3]||1,q[4]||0,q[5]||0,q[6]||0,Q)}}return new Date(K)})(_),this.init()},j.init=function(){var _=this.$d;this.$y=_.getFullYear(),this.$M=_.getMonth(),this.$D=_.getDate(),this.$W=_.getDay(),this.$H=_.getHours(),this.$m=_.getMinutes(),this.$s=_.getSeconds(),this.$ms=_.getMilliseconds()},j.$utils=function(){return N},j.isValid=function(){return this.$d.toString()!==y},j.isSame=function(_,R){var K=O(_);return this.startOf(R)<=K&&K<=this.endOf(R)},j.isAfter=function(_,R){return O(_)<this.startOf(R)},j.isBefore=function(_,R){return this.endOf(R)<O(_)},j.$g=function(_,R,K){return N.u(_)?this[R]:this.set(K,_)},j.unix=function(){return Math.floor(this.valueOf()/1e3)},j.valueOf=function(){return this.$d.getTime()},j.startOf=function(_,R){var K=this,I=!!N.u(R)||R,q=N.p(_),ee=function(Z,A){var X=N.w(K.$u?Date.UTC(K.$y,A,Z):new Date(K.$y,A,Z),K);return I?X:X.endOf(u)},Q=function(Z,A){return N.w(K.toDate()[Z].apply(K.toDate("s"),(I?[0,0,0,0]:[23,59,59,999]).slice(A)),K)},J=this.$W,H=this.$M,B=this.$D,P="set"+(this.$u?"UTC":"");switch(q){case z:return I?ee(1,0):ee(31,11);case d:return I?ee(1,H):ee(0,H+1);case f:var te=this.$locale().weekStart||0,ie=(J<te?J+7:J)-te;return ee(I?B-ie:B+(6-ie),H);case u:case T:return Q(P+"Hours",0);case a:return Q(P+"Minutes",1);case c:return Q(P+"Seconds",2);case s:return Q(P+"Milliseconds",3);default:return this.clone()}},j.endOf=function(_){return this.startOf(_,!1)},j.$set=function(_,R){var K,I=N.p(_),q="set"+(this.$u?"UTC":""),ee=(K={},K[u]=q+"Date",K[T]=q+"Date",K[d]=q+"Month",K[z]=q+"FullYear",K[a]=q+"Hours",K[c]=q+"Minutes",K[s]=q+"Seconds",K[o]=q+"Milliseconds",K)[I],Q=I===u?this.$D+(R-this.$W):R;if(I===d||I===z){var J=this.clone().set(T,1);J.$d[ee](Q),J.init(),this.$d=J.set(T,Math.min(this.$D,J.daysInMonth())).$d}else ee&&this.$d[ee](Q);return this.init(),this},j.set=function(_,R){return this.clone().$set(_,R)},j.get=function(_){return this[N.p(_)]()},j.add=function(_,R){var K,I=this;_=Number(_);var q=N.p(R),ee=function(H){var B=O(I);return N.w(B.date(B.date()+Math.round(H*_)),I)};if(q===d)return this.set(d,this.$M+_);if(q===z)return this.set(z,this.$y+_);if(q===u)return ee(1);if(q===f)return ee(7);var Q=(K={},K[c]=i,K[a]=r,K[s]=l,K)[q]||1,J=this.$d.getTime()+_*Q;return N.w(J,this)},j.subtract=function(_,R){return this.add(-1*_,R)},j.format=function(_){var R=this,K=this.$locale();if(!this.isValid())return K.invalidDate||y;var I=_||"YYYY-MM-DDTHH:mm:ssZ",q=N.z(this),ee=this.$H,Q=this.$m,J=this.$M,H=K.weekdays,B=K.months,P=K.meridiem,te=function(A,X,re,de){return A&&(A[X]||A(R,I))||re[X].slice(0,de)},ie=function(A){return N.s(ee%12||12,A,"0")},Z=P||function(A,X,re){var de=A<12?"AM":"PM";return re?de.toLowerCase():de};return I.replace(g,(function(A,X){return X||(function(re){switch(re){case"YY":return String(R.$y).slice(-2);case"YYYY":return N.s(R.$y,4,"0");case"M":return J+1;case"MM":return N.s(J+1,2,"0");case"MMM":return te(K.monthsShort,J,B,3);case"MMMM":return te(B,J);case"D":return R.$D;case"DD":return N.s(R.$D,2,"0");case"d":return String(R.$W);case"dd":return te(K.weekdaysMin,R.$W,H,2);case"ddd":return te(K.weekdaysShort,R.$W,H,3);case"dddd":return H[R.$W];case"H":return String(ee);case"HH":return N.s(ee,2,"0");case"h":return ie(1);case"hh":return ie(2);case"a":return Z(ee,Q,!0);case"A":return Z(ee,Q,!1);case"m":return String(Q);case"mm":return N.s(Q,2,"0");case"s":return String(R.$s);case"ss":return N.s(R.$s,2,"0");case"SSS":return N.s(R.$ms,3,"0");case"Z":return q}return null})(A)||q.replace(":","")}))},j.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},j.diff=function(_,R,K){var I,q=this,ee=N.p(R),Q=O(_),J=(Q.utcOffset()-this.utcOffset())*i,H=this-Q,B=function(){return N.m(q,Q)};switch(ee){case z:I=B()/12;break;case d:I=B();break;case h:I=B()/3;break;case f:I=(H-J)/6048e5;break;case u:I=(H-J)/864e5;break;case a:I=H/r;break;case c:I=H/i;break;case s:I=H/l;break;default:I=H}return K?I:N.a(I)},j.daysInMonth=function(){return this.endOf(d).$D},j.$locale=function(){return k[this.$L]},j.locale=function(_,R){if(!_)return this.$L;var K=this.clone(),I=D(_,R,!0);return I&&(K.$L=I),K},j.clone=function(){return N.w(this.$d,this)},j.toDate=function(){return new Date(this.valueOf())},j.toJSON=function(){return this.isValid()?this.toISOString():null},j.toISOString=function(){return this.$d.toISOString()},j.toString=function(){return this.$d.toUTCString()},x})(),L=M.prototype;return O.prototype=L,[["$ms",o],["$s",s],["$m",c],["$H",a],["$W",u],["$M",d],["$y",z],["$D",T]].forEach((function(x){L[x[1]]=function(j){return this.$g(j,x[0],x[1])}})),O.extend=function(x,j){return x.$i||(x(j,M,O),x.$i=!0),O},O.locale=D,O.isDayjs=Y,O.unix=function(x){return O(1e3*x)},O.en=k[C],O.Ls=k,O.p={},O}))})),j0=yt(((e,n)=>{(function(l,i){typeof e=="object"&&typeof n<"u"?n.exports=i():typeof define=="function"&&define.amd?define(i):(l=typeof globalThis<"u"?globalThis:l||self).dayjs_plugin_customParseFormat=i()})(e,(function(){"use strict";var l={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},i=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,r=/\d/,o=/\d\d/,s=/\d\d?/,c=/\d*[^-_:/,()\s\d]+/,a={},u=function(p){return(p=+p)+(p>68?1900:2e3)},f=function(p){return function(g){this[p]=+g}},d=[/[+-]\d\d:?(\d\d)?|Z/,function(p){(this.zone||(this.zone={})).offset=(function(g){if(!g||g==="Z")return 0;var S=g.match(/([+-]|\d\d)/g),$=60*S[1]+(+S[2]||0);return $===0?0:S[0]==="+"?-$:$})(p)}],h=function(p){var g=a[p];return g&&(g.indexOf?g:g.s.concat(g.f))},z=function(p,g){var S,$=a.meridiem;if($){for(var m=1;m<=24;m+=1)if(p.indexOf($(m,0,g))>-1){S=m>12;break}}else S=p===(g?"pm":"PM");return S},T={A:[c,function(p){this.afternoon=z(p,!1)}],a:[c,function(p){this.afternoon=z(p,!0)}],Q:[r,function(p){this.month=3*(p-1)+1}],S:[r,function(p){this.milliseconds=100*+p}],SS:[o,function(p){this.milliseconds=10*+p}],SSS:[/\d{3}/,function(p){this.milliseconds=+p}],s:[s,f("seconds")],ss:[s,f("seconds")],m:[s,f("minutes")],mm:[s,f("minutes")],H:[s,f("hours")],h:[s,f("hours")],HH:[s,f("hours")],hh:[s,f("hours")],D:[s,f("day")],DD:[o,f("day")],Do:[c,function(p){var g=a.ordinal,S=p.match(/\d+/);if(this.day=S[0],g)for(var $=1;$<=31;$+=1)g($).replace(/\[|\]/g,"")===p&&(this.day=$)}],w:[s,f("week")],ww:[o,f("week")],M:[s,f("month")],MM:[o,f("month")],MMM:[c,function(p){var g=h("months"),S=(h("monthsShort")||g.map((function($){return $.slice(0,3)}))).indexOf(p)+1;if(S<1)throw new Error;this.month=S%12||S}],MMMM:[c,function(p){var g=h("months").indexOf(p)+1;if(g<1)throw new Error;this.month=g%12||g}],Y:[/[+-]?\d+/,f("year")],YY:[o,function(p){this.year=u(p)}],YYYY:[/\d{4}/,f("year")],Z:d,ZZ:d};function y(p){for(var g=p,S=a&&a.formats,$=(p=g.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(O,N,M){var L=M&&M.toUpperCase();return N||S[M]||l[M]||S[L].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(x,j,_){return j||_.slice(1)}))}))).match(i),m=$.length,C=0;C<m;C+=1){var k=$[C],E=T[k],Y=E&&E[0],D=E&&E[1];$[C]=D?{regex:Y,parser:D}:k.replace(/^\[|\]$/g,"")}return function(O){for(var N={},M=0,L=0;M<m;M+=1){var x=$[M];if(typeof x=="string")L+=x.length;else{var j=x.regex,_=x.parser,R=O.slice(L),K=j.exec(R)[0];_.call(N,K),O=O.replace(K,"")}}return(function(I){var q=I.afternoon;if(q!==void 0){var ee=I.hours;q?ee<12&&(I.hours+=12):ee===12&&(I.hours=0),delete I.afternoon}})(N),N}}return function(p,g,S){S.p.customParseFormat=!0,p&&p.parseTwoDigitYear&&(u=p.parseTwoDigitYear);var $=g.prototype,m=$.parse;$.parse=function(C){var k=C.date,E=C.utc,Y=C.args;this.$u=E;var D=Y[1];if(typeof D=="string"){var O=Y[2]===!0,N=Y[3]===!0,M=O||N,L=Y[2];N&&(L=Y[2]),a=this.$locale(),!O&&L&&(a=S.Ls[L]),this.$d=(function(R,K,I,q){try{if(["x","X"].indexOf(K)>-1)return new Date((K==="X"?1e3:1)*R);var ee=y(K)(R),Q=ee.year,J=ee.month,H=ee.day,B=ee.hours,P=ee.minutes,te=ee.seconds,ie=ee.milliseconds,Z=ee.zone,A=ee.week,X=new Date,re=H||(Q||J?1:X.getDate()),de=Q||X.getFullYear(),ne=0;Q&&!J||(ne=J>0?J-1:X.getMonth());var U,v=B||0,w=P||0,G=te||0,le=ie||0;return Z?new Date(Date.UTC(de,ne,re,v,w,G,le+60*Z.offset*1e3)):I?new Date(Date.UTC(de,ne,re,v,w,G,le)):(U=new Date(de,ne,re,v,w,G,le),A&&(U=q(U).week(A).toDate()),U)}catch{return new Date("")}})(k,D,E,S),this.init(),L&&L!==!0&&(this.$L=this.locale(L).$L),M&&k!=this.format(D)&&(this.$d=new Date("")),a={}}else if(D instanceof Array)for(var x=D.length,j=1;j<=x;j+=1){Y[1]=D[j-1];var _=S.apply(this,Y);if(_.isValid()){this.$d=_.$d,this.$L=_.$L,this.init();break}j===x&&(this.$d=new Date(""))}else m.call(this,C)}}}))})),W0=yt(((e,n)=>{(function(l,i){typeof e=="object"&&typeof n<"u"?n.exports=i():typeof define=="function"&&define.amd?define(i):(l=typeof globalThis<"u"?globalThis:l||self).dayjs_plugin_advancedFormat=i()})(e,(function(){"use strict";return function(l,i){var r=i.prototype,o=r.format;r.format=function(s){var c=this,a=this.$locale();if(!this.isValid())return o.bind(this)(s);var u=this.$utils(),f=(s||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(d){switch(d){case"Q":return Math.ceil((c.$M+1)/3);case"Do":return a.ordinal(c.$D);case"gggg":return c.weekYear();case"GGGG":return c.isoWeekYear();case"wo":return a.ordinal(c.week(),"W");case"w":case"ww":return u.s(c.week(),d==="w"?1:2,"0");case"W":case"WW":return u.s(c.isoWeek(),d==="W"?1:2,"0");case"k":case"kk":return u.s(String(c.$H===0?24:c.$H),d==="k"?1:2,"0");case"X":return Math.floor(c.$d.getTime()/1e3);case"x":return c.$d.getTime();case"z":return"["+c.offsetName()+"]";case"zzz":return"["+c.offsetName("long")+"]";default:return d}}));return o.bind(this)(f)}}}))})),Y0=yt(((e,n)=>{(function(l,i){typeof e=="object"&&typeof n<"u"?n.exports=i():typeof define=="function"&&define.amd?define(i):(l=typeof globalThis<"u"?globalThis:l||self).dayjs_plugin_localeData=i()})(e,(function(){"use strict";return function(l,i,r){var o=i.prototype,s=function(d){return d&&(d.indexOf?d:d.s)},c=function(d,h,z,T,y){var p=d.name?d:d.$locale(),g=s(p[h]),S=s(p[z]),$=g||S.map((function(C){return C.slice(0,T)}));if(!y)return $;var m=p.weekStart;return $.map((function(C,k){return $[(k+(m||0))%7]}))},a=function(){return r.Ls[r.locale()]},u=function(d,h){return d.formats[h]||(function(z){return z.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(T,y,p){return y||p.slice(1)}))})(d.formats[h.toUpperCase()])},f=function(){var d=this;return{months:function(h){return h?h.format("MMMM"):c(d,"months")},monthsShort:function(h){return h?h.format("MMM"):c(d,"monthsShort","months",3)},firstDayOfWeek:function(){return d.$locale().weekStart||0},weekdays:function(h){return h?h.format("dddd"):c(d,"weekdays")},weekdaysMin:function(h){return h?h.format("dd"):c(d,"weekdaysMin","weekdays",2)},weekdaysShort:function(h){return h?h.format("ddd"):c(d,"weekdaysShort","weekdays",3)},longDateFormat:function(h){return u(d.$locale(),h)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};o.localeData=function(){return f.bind(this)()},r.localeData=function(){var d=a();return{firstDayOfWeek:function(){return d.weekStart||0},weekdays:function(){return r.weekdays()},weekdaysShort:function(){return r.weekdaysShort()},weekdaysMin:function(){return r.weekdaysMin()},months:function(){return r.months()},monthsShort:function(){return r.monthsShort()},longDateFormat:function(h){return u(d,h)},meridiem:d.meridiem,ordinal:d.ordinal}},r.months=function(){return c(a(),"months")},r.monthsShort=function(){return c(a(),"monthsShort","months",3)},r.weekdays=function(d){return c(a(),"weekdays",null,null,d)},r.weekdaysShort=function(d){return c(a(),"weekdaysShort","weekdays",3,d)},r.weekdaysMin=function(d){return c(a(),"weekdaysMin","weekdays",2,d)}}}))})),U0=yt(((e,n)=>{(function(l,i){typeof e=="object"&&typeof n<"u"?n.exports=i():typeof define=="function"&&define.amd?define(i):(l=typeof globalThis<"u"?globalThis:l||self).dayjs_plugin_weekOfYear=i()})(e,(function(){"use strict";var l="week",i="year";return function(r,o,s){var c=o.prototype;c.week=function(a){if(a===void 0&&(a=null),a!==null)return this.add(7*(a-this.week()),"day");var u=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var f=s(this).startOf(i).add(1,i).date(u),d=s(this).endOf(l);if(f.isBefore(d))return 1}var h=s(this).startOf(i).date(u).startOf(l).subtract(1,"millisecond"),z=this.diff(h,l,!0);return z<0?s(this).startOf("week").week():Math.ceil(z)},c.weeks=function(a){return a===void 0&&(a=null),this.week(a)}}}))})),G0=yt(((e,n)=>{(function(l,i){typeof e=="object"&&typeof n<"u"?n.exports=i():typeof define=="function"&&define.amd?define(i):(l=typeof globalThis<"u"?globalThis:l||self).dayjs_plugin_weekYear=i()})(e,(function(){"use strict";return function(l,i){i.prototype.weekYear=function(){var r=this.month(),o=this.week(),s=this.year();return o===1&&r===11?s+1:r===0&&o>=52?s-1:s}}}))})),X0=yt(((e,n)=>{(function(l,i){typeof e=="object"&&typeof n<"u"?n.exports=i():typeof define=="function"&&define.amd?define(i):(l=typeof globalThis<"u"?globalThis:l||self).dayjs_plugin_dayOfYear=i()})(e,(function(){"use strict";return function(l,i,r){i.prototype.dayOfYear=function(o){var s=Math.round((r(this).startOf("day")-r(this).startOf("year"))/864e5)+1;return o==null?s:this.add(o-s,"day")}}}))})),Q0=yt(((e,n)=>{(function(l,i){typeof e=="object"&&typeof n<"u"?n.exports=i():typeof define=="function"&&define.amd?define(i):(l=typeof globalThis<"u"?globalThis:l||self).dayjs_plugin_isSameOrAfter=i()})(e,(function(){"use strict";return function(l,i){i.prototype.isSameOrAfter=function(r,o){return this.isSame(r,o)||this.isAfter(r,o)}}}))})),Z0=yt(((e,n)=>{(function(l,i){typeof e=="object"&&typeof n<"u"?n.exports=i():typeof define=="function"&&define.amd?define(i):(l=typeof globalThis<"u"?globalThis:l||self).dayjs_plugin_isSameOrBefore=i()})(e,(function(){"use strict";return function(l,i){i.prototype.isSameOrBefore=function(r,o){return this.isSame(r,o)||this.isBefore(r,o)}}}))})),ht=bt(K0(),1),J0=bt(j0(),1),e1=bt(W0(),1),t1=bt(Y0(),1),l1=bt(U0(),1),a1=bt(G0(),1),n1=bt(X0(),1),r1=bt(Q0(),1),o1=bt(Z0(),1);ht.default.extend(t1.default),ht.default.extend(e1.default),ht.default.extend(J0.default),ht.default.extend(l1.default),ht.default.extend(a1.default),ht.default.extend(n1.default),ht.default.extend(r1.default),ht.default.extend(o1.default);var dt={format(e,n="YYYY-MM-DD"){return(0,ht.default)(e).format(n)},parser(e,n){return(0,ht.default)(e,n).toDate()},getDay(e,n,l){let i=n??new Date;const r=e*(1e3*60*60*24);return i=new Date(i.getTime()+r),l=l??"YYYY-MM-DD",this.format(i,l)},isLeapYear(e){return e%4==0&&e%100!=0||e%400==0},getWhatDay(e,n,l){let i=new Date(e+"/"+n+"/"+l).getDay();return i==0&&(i=7),i},getMonthDays(e,n){return/^0/.test(n)&&(n=n.split("")[1]),[0,31,this.isLeapYear(Number(e))?29:28,31,30,31,30,31,31,30,31,30,31][n]},getNumTwoBit(e){return e=Number(e),(e>9?"":"0")+e},date2Str:function(e,n){return n=n||"-",[e.getFullYear(),this.getNumTwoBit(e.getMonth()+1),this.getNumTwoBit(e.getDate())].join(n)},compare(e,n,l){const i=typeof e=="string"?this.parser(e,l):e,r=typeof n=="string"?this.parser(n,l):n,o=i.getTime(),s=r.getTime();return o==s?0:o>s?1:-1},between(e,n,l,i){let r;i==="year"?r=new Date(new Date(n).setFullYear(n.getFullYear()+l)):i==="month"?r=new Date(new Date(n).setMonth(n.getMonth()+l)):r=new Date(new Date(n).setDate(n.getDate()+l));const o=e.getTime(),s=r.getTime(),c=n.getTime();return s>c?o>=c&&o<=s:o>=s&&o<=c},inScope4Day(e,n,l){return this.between(e,n,l,"day")},inScope4Month(e,n,l){return this.between(e,n,l,"month")},inScope4Year(e,n,l){return this.between(e,n,l,"year")}},mo={type:{type:[String],required:!1},modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1},placeholder:{type:[String],required:!1},valueFormat:{type:[String],required:!1},format:{type:[String],required:!1,default:"YYYY-MM-DD"},flashFill:{type:[Boolean],required:!1,default:!0},flashFillThreshold:{type:[Function,Number],required:!1,default:8},flashFillFormat:{type:[Function,String],required:!1,default:"YYYYMMDD"},rangeSeparator:{type:[String],required:!1},maxLength:{type:[String,Number]},editable:{type:[String,Boolean],default:()=>!1}},ho={isLongTerm:{type:[Boolean,String],required:!1,default:!1},longTermText:{type:[String],required:!1},longTermActionLabel:{type:[String],required:!1},longTerm:{type:[Boolean],required:!1,default:!1},longTermValue:{type:[Date,Number,String,Array],required:!1},compatibleLongTermValue:{type:[Date,Number,String,Array],required:!1}},i1={...Ae,...Re,...mo,...ho};function s1(e,n,l,i){return{props:i1,emits:["change","update:modelValue","update:longTerm","blur","focus","clear","visible-change","calendar-change","panel-change","setValue"],setup(r,o){const{itemTemplateRef:s,innerDisabled:c,disabled:a,innerReadonly:u,readonly:f,browse:d}=je(r),{emitEvent:h,exposeApi:z}=Le({componentName:e,validateCheckEvents:["blur","update:modelValue"],get readonly(){return f.value},get disabled(){return a.value},get props(){return r},context:o,get templateRefProxy(){return s.value}},r.prop??o.attrs.name),{toLocaleRefs:T}=(0,Be.useFoxI18n)(n),y=T(r,["placeholder"]),p=(0,t.ref)(!1),g=Ve(r,"modelValue",null,h),S=(0,t.computed)(()=>Q.value&&Array.isArray(g.value)&&g.value.length==2?g.value[0]:g.value),$=(0,t.computed)(()=>Q.value?"longTermKey":"normalKey"),m=v=>{if(Q.value&&r.type==="daterange"){const w=[...g.value];w[0]=v,g.value=w}else g.value=v;h("update:modelValue",g.value),h("change",g.value)},C=(0,t.computed)(()=>Q.value&&r.type==="daterange"?"date":r.type),k=Ce(r.isLongTerm),E=e,Y=(0,t.computed)(()=>({[`${E}`]:!0,"is-long":Q.value,readonly:f.value,disabled:a.value,"has-append":k})),D=(0,t.computed)(()=>({[`${E}__content`]:!0}));let O=Ve(r,"hintText"),N=(0,t.ref)(!1);const M=v=>{let w=v.target.value;p.value=!0,ke(O.value)||(N.value=!0),h("focus",w,v)},L=v=>{setTimeout(()=>{N.value&&(N.value=!1),p.value=!1},0);let w=v.target.value;r.maxLength&&w.length>Number(r.maxLength)&&(w=w.slice(0,Number(r.maxLength))),h("blur",w,v)},x=()=>{h("clear","")},j=v=>{h("calendar-change",v)},_=(v,w,G)=>{h("panel-change",v,w,G)},R=v=>{h("visible-change",v)},K=_e((0,t.computed)(()=>r.longTermText),"longTermText",it.Near),I=_e((0,t.computed)(()=>r.longTermActionLabel),"longTermActionLabel",it.Near),q=_e((0,t.computed)(()=>r.longTermValue),"longTermValue",it.Near);_e((0,t.computed)(()=>r.compatibleLongTermValue),"compatibleLongTermValue",it.Near);let ee=null;const Q=(0,t.ref)(Ce(r.longTerm)),J=v=>{const w=[Array.isArray(v)?v[0]:v];return Array.isArray(q.value)?w[1]=q.value[1]??q.value[0]:w[1]=Q.value,w[0]||(w[0]=r.valueFormat?dt.format(new Date,r.valueFormat):new Date),w[1]||(w[1]=r.valueFormat?dt.format(new Date,r.valueFormat):new Date),w},H=v=>{if(Q.value=v,h("update:longTerm",v),v){ee=g.value;const w=J(g.value);r.type==="daterange"?g.value=w:g.value=w[1],h("update:modelValue",g.value)}else g.value=ee,h("update:modelValue",g.value),setTimeout(()=>{de()},100)};if(k){const v=()=>{if(Q.value===!0){ee=g.value;const w=J(g.value);r.type==="daterange"?g.value=w:g.value=w[1],h("update:modelValue",g.value)}else Qe(q.value,g.value)&&(Q.value=!0)};v(),(0,t.watch)([()=>r.longTerm],([w])=>{Q.value!==w&&v()})}const B=(0,t.computed)(()=>({"fox-date-item__long":!0,"is-active":p.value})),P=(0,t.ref)(),te=/^\d+$/,ie=(v,w)=>typeof r.flashFillThreshold=="function"?r.flashFillThreshold(v,w):te.test(v)&&v.length===r.flashFillThreshold,Z=(v,w)=>{let G;if(typeof r.flashFillFormat=="function")G=r.flashFillFormat(v,w);else{const W=r.flashFillFormat??"YYYYMMDD";G=dt.parser(v,W)}const le=r.valueFormat??"YYYY-MM-DD";return dt.format(G,le)},A=v=>v?v.endsWith("range"):!1,X=v=>{if(!v.target)return;const w=v.target.value??"";if(ie(w,r.type)){const G=Z(w,r.type);if(A(r.type)){const le=Array.isArray(g.value)?[...g.value]:[];le[0]=G,m(le)}else m(G)}},re=v=>{if(!v.target)return;const w=v.target.value??"";if(ie(w,r.type)){const G=Z(w,r.type);if(A(r.type)){const le=Array.isArray(g.value)?[...g.value]:[];le[1]=G,m(le)}else m(G)}},de=()=>{if(r.flashFill&&s.value&&s.value.$el)if(A(r.type)){const v=s.value.$el.querySelectorAll("input.el-range-input");v[0]&&v[0].addEventListener("input",X),v[1]&&v[1].addEventListener("input",re)}else{const v=s.value.$el.querySelector("input.el-input__inner");v&&v.addEventListener("input",X)}},ne=()=>{if(r.flashFill&&s.value&&s.value.$el)if(A(r.type)){const v=s.value.$el.querySelectorAll("input.el-range-input");v[0]&&v[0].removeEventListener("input",X),v[1]&&v[1].removeEventListener("input",re)}else{const v=s.value.$el.querySelector("input.el-input__inner");v&&v.removeEventListener("input",X)}};(0,t.onMounted)(de),(0,t.onBeforeUnmount)(ne),z({focus:()=>{P?.value.focus()},blur:()=>{P?.value.blur()},handleOpen:()=>{P?.value.handleOpen()},handleClose:()=>{P?.value.handleClose()},setDisabled:v=>{c.value=v},setReadonly:v=>{u.value=v}});const U=(0,t.computed)(()=>{if(Pe(S.value))return"";const v=r.rangeSeparator??" - ",w=Array.isArray(S.value)?S.value:[S.value];k&&Q.value&&(w[1]=K.value);const G=[];for(let W=0;W<w.length;W++){const F=w[W];if(typeof F=="string"&&G.push(F),F instanceof Date){const ae=dt.format(F,r.format);G.push(ae)}}const le=` ${v} `;return G.join(le)});return()=>{if(d.value==="on"&&(f.value||a.value))return i({modelValue:U.value,span:r.span,labelPosition:r.labelPosition,labelWidth:r.labelWidth},o.slots);const v=a.value||f.value?"":y.placeholder.value,w={...o.attrs,key:$.value,type:C.value,ref:P,class:D.value,placeholder:v,rangeSeparator:r.rangeSeparator,disabled:a.value,readonly:f.value,modelValue:S.value,valueFormat:r.valueFormat,format:r.format,editable:r.editable,"onUpdate:modelValue":m,onClear:x,onFocus:M,onBlur:L,onCalendarChange:j,onPanelChange:_,onVisibleChange:R},G={};o.slots["range-separator"]&&(G["range-separator"]=o.slots["range-separator"]),o.slots.cell&&(G.default=o.slots.cell);const le=[],W=(0,t.h)(V.ElDatePicker,w,G);le.push(W);const F={default:()=>le};if(F.label=o.slots.default,F.fixedPreTip=o.slots.fixedPreTip,F.fixedTip=o.slots.fixedTip,o.slots.prepend&&(F.prepend=o.slots.prepend),o.slots.append&&(F.append=o.slots.append),k){if(Q.value){const oe=(0,t.h)("input",{class:["fox-date-item__long-text"],value:K.value,readonly:!0}),se={class:B.value};if(r.type==="daterange"){const ue=(0,t.h)("span",{class:["fox-date-item__long-splitor"]},["-"]),he=(0,t.h)("div",se,{default:()=>[ue,oe]});le.push(he)}else{le.splice(0,le.length);const ue=(0,t.h)("div",se,{default:()=>[oe]});le.push(ue)}}if(!f.value&&!a.value){const oe=(0,t.h)(V.ElCheckbox,{label:I.value||K.value,disabled:f.value||a.value,modelValue:Q.value,"onUpdate:modelValue":H}),se=(0,t.h)("div",{class:{[`${E}__append`]:!0}},[oe]);F.append=()=>se}}const ae={...Ie(r,mo,ho),ref:s,class:Y.value,hintText:O.value,hintVisible:N.value};return r.prop&&(ae.prop=`${r.prop}_item`),l(ae,F)}}}}var{componentName:c1,create:u1,scope:d1}=pe("date-item"),f1=u1(s1(c1,d1,We,Ze)),ln=f1,we={format(e,n="YYYY-MM-DD"){return dt.format(e,n)},parser(e,n){return dt.parser(e,n)},isLeapYear:function(e){return dt.isLeapYear(e)},getWhatDay:function(e,n,l){return["星期日","星期一","星期二","星期三","星期四","星期五","星期六"][new Date(e+"/"+n+"/"+l).getDay()]},getMonthPreDay:function(e,n){let l=new Date(e+"/"+n+"/01").getDay();return l==0&&(l=7),l},getMonthDays:function(e,n){return/^0/.test(n)&&(n=n.split("")[1]),[0,31,this.isLeapYear(Number(e))?29:28,31,30,31,30,31,31,30,31,30,31][n]},getNumTwoBit:function(e){return e=Number(e),(e>9?"":"0")+e},date2Str:function(e,n){return n=n||"-",[e.getFullYear(),this.getNumTwoBit(e.getMonth()+1),this.getNumTwoBit(e.getDate())].join(n)},getDay:function(e){e=e||0;let n=new Date;const l=e*(1e3*60*60*24);return n=new Date(n.getTime()+l),this.date2Str(n)},compareDate:function(e,n){return!(new Date(e.replace("-","/").replace("-","/"))>=new Date(n.replace("-","/").replace("-","/")))},isEqual:function(e,n){return new Date(e).getTime()==new Date(n).getTime()},getMonthWeek:function(e,n,l,i=0){const r=new Date(Number(e),parseInt(n)-1,Number(l));let o=r.getDay();const s=r.getDate();let c=6-o;return i!==0&&(o=o==0?7:o,c=7-o),Math.ceil((s+c)/7)},getYearWeek:function(e,n,l,i=0){const r=new Date(Number(e),parseInt(n)-1,Number(l)),o=new Date(Number(e),0,1),s=Math.round((r.valueOf()-o.valueOf())/864e5);return Math.ceil((s+(o.getDay()+1-1))/7)},getWeekDate:function(e,n,l,i=0){const r=new Date(Number(e),parseInt(n)-1,Number(l)),o=r.getTime();let s=r.getDay();if(i===0){const a=o-s*864e5,u=o+(6-s)*864e5;return[this.date2Str(new Date(a)),this.date2Str(new Date(u))]}else{s=s==0?7:s;const c=1440*60*1e3,a=o-(s-1)*c,u=o+(7-s)*c;return[this.date2Str(new Date(a)),this.date2Str(new Date(u))]}},formatResultDate:function(e){const n=[...e.split("-")];return n[2]=we.getNumTwoBit(Number(n[2])),n[3]=`${n[0]}-${n[1]}-${n[2]}`,n[4]=we.getWhatDay(+n[0],+n[1],+n[2]),n}},m1=e=>!!(!e||typeof e=="string"&&e.length==0||Array.isArray(e)&&e.length==0),an={type:{type:String,default:"one"},isAutoBackFill:{type:Boolean,default:!1},toDateAnimation:{type:Boolean,default:!0},poppable:{type:Boolean,default:!0},showTitle:{type:Boolean,default:!0},showSubTitle:{type:Boolean,default:!0},visible:{type:Boolean,default:!1},showToday:{type:Boolean,default:!0},title:{type:String},confirmText:{type:String},startText:{type:String},endText:{type:String},defaultValue:{type:[String,Array]},startDate:{type:String},endDate:{type:String},firstDayOfWeek:{type:Number,default:0,validator:e=>e>=0&&e<=6},popClass:{type:String},popStyle:{type:Object}},h1=2e3,po=()=>h1++,nn={visible:{type:Boolean,default:!1},zIndex:{type:[String,Number]},duration:{type:[Number,String],default:.3},lockScroll:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0},position:{type:String,default:"center"},transition:{type:String,default:""},style:{type:Object,default:{}},popClass:{type:[String,Array],default:""},closeable:{type:Boolean,default:!1},closeIconPosition:{type:String,default:"top-right"},destroyOnClose:{type:Boolean,default:!0},teleport:{type:[String,Element],default:"body"},teleportDisable:{type:Boolean,default:!1},overlay:{type:Boolean,default:!0},round:{type:Boolean,default:!1},safeAreaInsetBottom:{type:Boolean,default:!1},overlayClass:{type:String,default:""},overlayStyle:{type:Object,default:{}}},p1=(e,n)=>({components:n,props:nn,emits:["click-pop","click-close-icon","open","close","opend","closed","click-overlay","update:visible"],setup(l,{emit:i}){const r=(0,t.reactive)({zIndex:0,showSlot:!0,closed:l.closeable});l.visible&&(r.zIndex=po());const o=(0,t.computed)(()=>{const y=e,p=[y,`${y}--${l.position}`];return l.round&&p.push("round"),l.position==="bottom"&&l.safeAreaInsetBottom&&p.push(`${y}--${l.position}--safebottom`),typeof l.popClass=="string"?p.push(l.popClass):Array.isArray(l.popClass)&&l.popClass.forEach(g=>{p.push(g)}),p}),s=(0,t.computed)(()=>({zIndex:r.zIndex,transitionDuration:`${l.duration}s`,...l.style})),c=(0,t.computed)(()=>l.transition?l.transition:`fox-popup-slide-${l.position}`),a=()=>{i("update:visible",!0),l.zIndex?r.zIndex=l.zIndex:r.zIndex=po(),l.destroyOnClose&&(r.showSlot=!0),i("open")},u=()=>{i("update:visible",!1),i("close"),l.destroyOnClose&&setTimeout(()=>{r.showSlot=!1},+l.duration*1e3)},f=y=>{i("click-pop",y)},d=y=>{y.stopPropagation(),i("click-close-icon",y),i("update:visible",!1)},h=y=>{i("click-overlay",y),l.closeOnClickOverlay&&i("update:visible",!1)},z=y=>{i("opend",y)},T=y=>{i("closed",y)};return(0,t.watch)(()=>l.visible,y=>{l.visible?a():u()}),(0,t.watch)(()=>l.closeable,y=>{r.closed=y}),{...(0,t.toRefs)(r),popStyle:s,transitionName:c,classes:o,onClick:f,onClickCloseIcon:d,onClickOverlay:h,onOpened:z,onClosed:T}}}),g1={count:0},go="fox-overflow-hidden",yo=()=>Nt?document.body:{classList:[]},y1=(e,n)=>{const l=typeof n=="function"?{count:0}:g1;return[()=>{if(e())try{const o=typeof n=="function"?n():yo();!l.count&&o?.classList?.add?.(go),l.count++}catch{}},()=>{if(e()&&l.count)try{l.count--;const o=typeof n=="function"?n():yo();!l.count&&o?.classList?.remove?.(go)}catch{}}]},b1={visible:{type:Boolean,default:!1},zIndex:{type:[Number,String],default:2e3},duration:{type:[Number,String],default:.3},lockScroll:{type:Boolean,default:!0},overlayClass:{type:String,default:""},overlayStyle:{type:Object},closeOnClickOverlay:{type:Boolean,default:!0}},{componentName:S1,create:w1}=pe("overlay"),v1=w1({props:{...b1},emits:["click","update:visible"],setup(e,{emit:n}){const[l,i]=y1(()=>e.lockScroll),r=(0,t.computed)(()=>({[S1]:!0,[e.overlayClass]:!0})),o=(0,t.computed)(()=>({transitionDuration:`${e.duration}s`,zIndex:e.zIndex,...e.overlayStyle}));return(0,t.watch)(()=>e.visible,c=>{c?l():i()}),{classes:r,style:o,onClick:c=>{n("click",c),e.closeOnClickOverlay&&n("update:visible",!1)}}}});function C1(e,n,l,i,r,o){return(0,t.openBlock)(),(0,t.createBlock)(t.Transition,{name:"overlay-fade"},{default:(0,t.withCtx)(()=>[(0,t.withDirectives)((0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(e.classes),onClick:n[0]||(n[0]=(0,t.withModifiers)((...s)=>e.onClick&&e.onClick(...s),["stop"])),style:(0,t.normalizeStyle)(e.style)},[(0,t.renderSlot)(e.$slots,"default")],6),[[t.vShow,e.visible]])]),_:3})}var la=Fe(v1,[["render",C1]]),bo="fox-icon",Um=(0,t.defineComponent)({__name:"IconFont",props:{name:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""},classPrefix:{type:String,default:"fox-icon"},fontClassName:{type:String,default:"foxui-iconfont"},color:{type:String,default:""},tag:{type:String,default:"i"}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=d=>{i("click",d)},o=(0,t.useSlots)();(0,t.useAttrs)();let s=()=>l.name?l.name.indexOf("/")!==-1:!1,c=d=>{if(d)return isNaN(Number(d))?String(d):d+"px"},a=s(),u=(0,t.h)(a?"img":l.tag,{class:a?`${bo}__img`:`${l.fontClassName} ${bo} ${l.classPrefix}-${l.name}`,style:{color:l.color,fontSize:c(l.size),width:c(l.width||l.size),height:c(l.height||l.size)},onClick:r,src:a?l.name:""},o.default?.()),f=()=>u;return(d,h)=>((0,t.openBlock)(),(0,t.createBlock)(f))}}),Gm={name:"foxui-icon",data:[{name:"粗体 Icon",nameEn:"Bold Icon",icons:["order","refresh","add","eye","dshop","my2","star","star-fill","del2","more-x","comment","microphone","people","service","cart2","location2","marshalling","fabulous","s-follow","shop","jdl"]},{name:"细体 Icon",nameEn:"Thin Icon",icons:"ask.microphone2.tips.notice.lower.top.download.dongdong.JIMI40.location.scan.addfollow.search.share.follow.del.edit.cart.home.find.category.my.footprint.link.scan2.service2.left.close.location3.shop2.message.ask2.search2.clock.setting.refresh2.horizontal.date.photograph.more-s.more-h.play-stop.play-start.play-double-back.play-double-forward.voice.image.image-error".split(".")},{name:"应用图标",nameEn:"Application Icon",icons:["arrow-up","arrow-down","arrow-up2","arrow-down2","down-arrow","joy-smile","close-little","horizontal-n","share-n","heart","heart-fill","star-n","star-fill-n","triangle-down","triangle-up"]},{name:"基础图标",nameEn:"Basic Icon",icons:"rect-up.rect-down.rect-left.rect-right.uploader.mask-close.circle-close.right.arrow-right.github.screen-little.plus.minus.Check.issue.failure.success.retweet.poweroff-circle-fill.play-circle-fill.checked.checklist.check-disabled.check-normal.check-checked.loading.loading2.more.more-filled".split(".")},{name:"扩展图标",nameEn:"Ext Icon",icons:"locked.drag.filter.introduce.question.person-minus.person-add.horn.horn2.edit2.photograph-fill.phone.phone-fill.phonering.phonering-fill.upload-cloud.download-cloud.garbage-bin.checked2.checked-fill2.close2.close-fill2.history.smile-face.file-upload.picture.mike.person.persons.person2.persons2.merge-forward.items-forward.double-arrow-left.double-arrow-right.transmit".split(".")}],style:[{name:"通用动态样式",nameEn:"Universal Dynamic Style",icons:[{name:"dou-arrow-up","animation-name":"am-jump","animation-time":"am-infinite"},{name:"star","animation-name":"am-blink","animation-time":"am-infinite"},{name:"refresh2","animation-name":"am-rotate","animation-time":"am-infinite"},{name:"heart-fill","animation-name":"am-breathe","animation-time":"am-infinite"},{name:"microphone","animation-name":"am-flash","animation-time":"am-infinite"},{name:"download","animation-name":"am-bounce","animation-time":"am-infinite"},{name:"message","animation-name":"am-shake","animation-time":"am-infinite"}]}]},Xm="Voice.Uploader.UploadCloud.Tuozhuai.TriangleUp.TriangleDown.Transmit.Top.Tips.Suoding.Success.Star.StarN.StarFill.StarFillN.SmileFace.Shop2.Shop.Share.ShareN.Setting.Service2.Service.Search2.Search.ScreenLittle.Scan2.Scan.SFollow.Right.Retweet.Refresh2.Refresh.RectUp.RectRight.RectLeft.RectDown.Question.PoweroffCircleFill.Plus.PlayStop.PlayStart.PlayDoubleForward.PlayDoubleBack.PlayCircleFill.Picture.Photograph.PhotographFill.Phonering.PhoneringFill.Phone.PhoneFill.Persons2.Persons.Person2.Person.PersonMinus.PersonAdd.People.Order.Notice.My2.My.More.MoreX.MoreS.MoreH.MoreFilled.Minus.Mike.Microphone2.Microphone.Message.MergeForward.Menu.MaskClose.Marshalling.Lower.Locked.Location3.Location2.Location.Loading2.Loading.Link.Left.JoySmile.Jdl.ItemsForward.Issue.Introduce.Image.ImageError.Horn2.Horn.Horizontal.HorizontalN.Home.History.Heart.HeartFill.Github.GarbageBin.Footprint.Follow.Find.Filter.FileUpload.Failure.Fabulous.Eye.Edit2.Edit.Dshop.Drag.Download.DownloadCloud.DownArrow.DoubleArrowRight.DoubleArrowLeft.DouArrowUp.Dongdong.Del2.Del.Date.Comment.Close2.Close.CloseLittle.CloseFill2.Clock.CircleClose.Checklist.Checked2.Checked.CheckedFill2.CheckNormal.CheckDisabled.CheckChecked.Category.Cart2.Cart.Ask2.Ask.ArrowUp2.ArrowUp.ArrowRight2.ArrowRight.ArrowDown2.ArrowDown.Addfollow.Add.Jimi40.Check".split("."),N1=["aria-labelledby"],Qm=(0,t.defineComponent)({__name:"Voice",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"m636.165 957.44-70.804-70.81c107.591-92.062 176.03-228.587 176.03-381.317 0-145.495-62.284-276.121-161.177-367.774l70.978-70.979c117.013 109.83 190.51 265.477 190.51 438.61 0 180.444-79.78 341.908-205.537 452.27M445.087 766.356l-72.94-72.929c66.284-36.644 111.191-107.167 111.191-188.257 0-73.615-37.048-138.522-93.47-177.29l71.623-71.614c74.23 57.708 122.189 147.615 122.189 248.904 0 108.657-54.958 204.447-138.593 261.186m-191.12-175.17c-39.577 0-71.67-32.082-71.67-71.675 0-39.598 32.088-71.675 71.67-71.675 39.609 0 71.68 32.077 71.68 71.675 0 39.593-32.071 71.675-71.68 71.675",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,N1))}}),k1=["aria-labelledby"],x1=(0,t.defineComponent)({__name:"Uploader",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M960 572.8H64c-25.6 0-48-22.4-48-48s22.4-48 48-48h896c25.6 0 48 22.4 48 48s-22.4 48-48 48m-448 448c-25.6 0-48-22.4-48-48v-896c0-25.6 22.4-48 48-48s48 22.4 48 48v896c0 25.6-22.4 48-48 48",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,k1))}}),T1=["aria-labelledby"],Zm=(0,t.defineComponent)({__name:"UploadCloud",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M512 113.778a307.2 307.2 0 0 1 306.563 287.22 261.689 261.689 0 1 1-156.558 499.348 34.133 34.133 0 1 1 18.568-65.718 193.422 193.422 0 0 0 97.849-374.283 34.13 34.13 0 0 1-26.032-29.355 35.4 35.4 0 0 1-1.457-10.012 238.933 238.933 0 0 0-477.866 0 34.13 34.13 0 0 1-16.111 28.99 33.77 33.77 0 0 1-17.477 10.377 193.513 193.513 0 1 0 97.85 374.283 34.133 34.133 0 1 1 18.613 65.718A261.689 261.689 0 0 1 205.574 398.95 307.2 307.2 0 0 1 512 113.778m20.207 300.692 3.823 3.276L698.322 578.81a34.133 34.133 0 0 1-44.236 51.746l-3.823-3.322-104.13-103.265v306.609a34.133 34.133 0 0 1-67.948 4.642l-.318-4.642V524.47l-99.488 99.942a34.13 34.13 0 0 1-44.464 3.368l-3.823-3.277a34.13 34.13 0 0 1-3.368-44.464l3.277-3.823 157.833-158.333a34.13 34.13 0 0 1 44.373-3.413",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,T1))}}),E1=["aria-labelledby"],Jm=(0,t.defineComponent)({__name:"Tuozhuai",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M235.84 813.632c-54.528 0-98.816 41.792-98.816 93.312 0 51.584 44.288 93.312 98.816 93.312 54.592 0 98.816-41.728 98.816-93.312 0-51.52-44.224-93.312-98.816-93.312m0-400.832c-54.528 0-98.816 41.792-98.816 93.312s44.288 93.44 98.816 93.44c54.592 0 98.816-41.92 98.816-93.44S290.432 412.8 235.84 412.8m0-400.832c-54.528 0-98.816 41.792-98.816 93.44 0 51.456 44.288 93.248 98.816 93.248 54.592 0 98.816-41.728 98.816-93.312.064-51.584-44.224-93.376-98.816-93.376m527.104 801.664c-54.528 0-98.816 41.792-98.816 93.312 0 51.584 44.288 93.312 98.816 93.312s98.816-41.728 98.816-93.312c0-51.52-44.288-93.312-98.816-93.312m0-400.832c-54.528 0-98.816 41.792-98.816 93.312s44.288 93.44 98.816 93.44 98.816-41.92 98.816-93.44-44.288-93.312-98.816-93.312m0-400.832c-54.528 0-98.816 41.792-98.816 93.44 0 51.456 44.288 93.248 98.816 93.248s98.816-41.728 98.816-93.312-44.288-93.376-98.816-93.376",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,E1))}}),z1=["aria-labelledby"],eh=(0,t.defineComponent)({__name:"TriangleUp",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"m573.056 272 308.8 404.608A76.8 76.8 0 0 1 820.736 800H203.232a76.8 76.8 0 0 1-61.056-123.392L450.976 272a76.8 76.8 0 0 1 122.08 0",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,z1))}}),$1=["aria-labelledby"],th=(0,t.defineComponent)({__name:"TriangleDown",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"m573.056 752 308.8-404.608A76.8 76.8 0 0 0 820.736 224H203.232a76.8 76.8 0 0 0-61.056 123.392L450.976 752a76.8 76.8 0 0 0 122.08 0",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,$1))}}),B1=["aria-labelledby"],lh=(0,t.defineComponent)({__name:"Transmit",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M975.673 125.006a78.69 78.69 0 0 0-78.543-17.15L63.551 385.736c-30.572 10.19-51.14 36.475-53.563 68.662-2.423 32.125 13.857 61.268 42.503 75.933l237.615 121.914V896.51c0 17.15 13.919 31.069 31.069 31.069s31.069-13.919 31.069-31.07V684.123l372.889 191.322c11.309 5.779 23.612 8.7 35.853 8.7 10.937 0 21.935-2.3 32.25-6.96a78.23 78.23 0 0 0 43.931-52.071L998.042 202.18c7.332-27.962-1.305-57.478-22.37-77.175m-37.718 61.64L777.08 809.578c-1.74 6.711-6.524 9.756-9.259 10.936s-8.14 2.797-14.291-.372L381.635 629.316 804.42 338.263a30.994 30.994 0 0 0 7.953-43.186 31.04 31.04 0 0 0-43.185-7.954L318.876 597.191l-237.988-122.1c-8.824-4.537-9.197-12.677-8.948-15.97s1.864-11.31 11.247-14.416l833.517-277.819q2.889-.931 5.406-.932c5.53 0 9.445 2.983 11.122 4.536 2.175 1.927 6.96 7.581 4.723 16.156",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,B1))}}),V1=["aria-labelledby"],ah=(0,t.defineComponent)({__name:"Top",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M136.533 540.444c-11.377 0-25.6-5.688-34.133-17.066-14.222-19.911-11.378-45.511 8.533-59.734L477.867 179.2c19.91-14.222 45.51-11.378 59.733 8.533s11.378 45.511-8.533 59.734L162.133 531.91q-8.533 8.533-25.6 8.533zm745.245 0q-12.8 0-25.6-8.533L489.244 247.467c-19.91-14.223-22.755-42.667-8.533-59.734 14.222-19.91 42.667-22.755 59.733-8.533l366.934 284.444c19.91 14.223 22.755 42.667 8.533 59.734q-12.8 17.067-34.133 17.066M512 1024c-22.756 0-42.667-19.911-42.667-42.667v-768c0-22.755 19.911-42.666 42.667-42.666s42.667 19.91 42.667 42.666v768c0 22.756-19.911 42.667-42.667 42.667M884.622 85.333h-742.4c-22.755 0-42.666-19.91-42.666-42.666S119.466 0 142.222 0h742.4c22.756 0 42.667 19.911 42.667 42.667s-19.911 42.666-42.667 42.666",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,V1))}}),D1=["aria-labelledby"],So=(0,t.defineComponent)({__name:"Tips",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M512 1024C230.4 1024 0 793.6 0 512S230.4 0 512 0s512 230.4 512 512-230.4 512-512 512m0-938.667c-234.667 0-426.667 192-426.667 426.667s192 426.667 426.667 426.667 426.667-192 426.667-426.667S746.667 85.333 512 85.333M448 320a64 64 0 1 0 128 0 64 64 0 1 0-128 0m-17.067 149.333h51.2c12.8 0 21.334 8.534 21.334 21.334v8.533c0 12.8-8.534 21.333-21.334 21.333h-51.2c-12.8 0-25.6-12.8-25.6-25.6s12.8-25.6 25.6-25.6m51.2 0H524.8c25.6 0 51.2 21.334 51.2 51.2v8.534L537.6 755.2c0 8.533-8.533 17.067-21.333 17.067H473.6c-25.6 0-51.2-21.334-51.2-51.2v-8.534L460.8 486.4c4.267-8.533 12.8-17.067 21.333-17.067m8.534 251.734h76.8c12.8 0 25.6 12.8 25.6 25.6s-12.8 25.6-25.6 25.6h-76.8c-12.8 0-21.334-8.534-21.334-21.334v-12.8c4.267-12.8 12.8-17.066 21.334-17.066",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,D1))}}),M1=["aria-labelledby"],nh=(0,t.defineComponent)({__name:"Suoding",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M507.52 4.48A251.52 251.52 0 0 1 759.04 256l-.064 123.52H832c46.656 0 84.48 37.824 84.48 84.48v473.6A84.48 84.48 0 0 1 832 1024H192a84.48 84.48 0 0 1-84.48-84.48V464c0-46.656 37.824-84.48 84.48-84.48h63.936L256 256A251.52 251.52 0 0 1 507.52 4.48M832 444.16H192A19.84 19.84 0 0 0 172.16 464v473.6A19.84 19.84 0 0 0 192 960h640a19.84 19.84 0 0 0 19.84-19.84V464A19.84 19.84 0 0 0 832 444.16m-320.64 128A90.24 90.24 0 0 1 544 746.56v79.04a32 32 0 0 1-32 32.64 32.64 32.64 0 0 1-32.64-32.64l-.064-78.848A90.24 90.24 0 0 1 511.36 572.16m-3.52-493.824A197.12 197.12 0 0 0 311.68 256l-.064 123.52h392.32L704 256A197.12 197.12 0 0 0 507.84 78.336",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,M1))}}),A1=["aria-labelledby"],P1=(0,t.defineComponent)({__name:"Success",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M762.311 391.396C655.36 466.489 566.613 552.96 491.52 659.91c-20.48 27.307-61.44 27.307-79.644-2.275-34.134-52.338-72.818-91.023-125.156-125.156-25.031-15.929-9.102-54.613 20.48-50.062 56.889 11.378 100.124 34.133 143.36 72.818 77.369-93.298 175.218-166.116 286.72-213.903 27.307-9.102 50.062 31.858 25.031 50.063M512 1024C229.831 1024 0 794.169 0 512S229.831 0 512 0s512 229.831 512 512-229.831 512-512 512m0-955.733C266.24 68.267 68.267 266.24 68.267 512S266.24 955.733 512 955.733 955.733 757.76 955.733 512 757.76 68.267 512 68.267",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,A1))}}),I1=["aria-labelledby"],rh=(0,t.defineComponent)({__name:"Star",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M280.598 1008.246q-29.538 0-59.077-11.815c-31.508-15.754-59.077-43.323-70.892-78.77-3.939-15.753-7.877-31.507-7.877-51.2l3.938-196.923-118.153-153.6C4.906 488.37-2.971 448.985.967 413.538s23.631-70.892 51.2-90.584c11.816-11.816 27.57-19.692 43.323-23.63l189.047-55.14L394.813 82.709c43.324-63.016 129.97-78.77 192.985-35.446 15.754 7.876 27.57 23.63 35.446 35.446l110.277 161.477 189.046 55.138c35.446 11.815 63.016 35.446 82.708 66.954 15.754 31.508 19.692 70.892 11.815 106.338-3.938 15.754-11.815 31.508-23.63 43.323l-118.154 153.6 3.938 196.924c0 35.446-11.815 70.892-39.384 98.461-23.631 27.57-59.077 43.323-94.523 43.323-15.754 0-35.447-3.938-51.2-7.877l-181.17-66.954-185.107 66.954c-15.754 3.939-31.508 7.877-47.262 7.877zm232.37-870.4c-7.878 0-11.816 3.939-15.755 7.877L379.06 319.015c-11.816 15.754-23.631 27.57-43.323 31.508L134.875 409.6c-3.938 0-3.938 0-7.877 3.938s-7.877 11.816-7.877 15.754c0 3.939 0 7.877 3.939 15.754l126.03 165.416c11.816 15.753 15.754 31.507 15.754 51.2l-3.938 204.8v7.876q5.907 11.816 11.815 11.816c5.908 0 7.877 3.938 15.754 0l196.923-70.892c15.754-7.877 35.446-7.877 51.2 0l196.923 70.892h7.877c7.877 0 11.815-3.939 15.754-7.877 3.938-3.939 3.938-7.877 3.938-15.754l-3.938-208.738c0-19.693 3.938-35.447 15.754-51.2l129.969-165.416s3.938-3.938 3.938-7.877c3.939-7.877 0-11.815 0-15.754s-3.938-7.876-11.815-7.876l-200.861-59.077c-15.754-3.939-31.508-15.754-43.324-31.508L532.66 141.785c0-3.939-3.939-3.939-3.939-3.939-7.877 3.939-11.815 0-15.754 0zm212.676 102.401",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,I1))}}),L1=["aria-labelledby"],oh=(0,t.defineComponent)({__name:"StarN",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1177 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"m169.694 1094.542 71.698-421.222L-66.31 374.58l427.197-62.737L552.08-70.542l191.194 382.386 427.198 62.736L862.77 673.32l71.697 421.222L552.08 894.387zM552.08 792.815l262.892 137.42-50.786-289.776 212.105-203.144-292.764-41.823-131.447-262.89-131.444 262.89-292.765 41.823L339.976 640.46l-50.785 289.777 262.89-137.421z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,L1))}}),R1=["aria-labelledby"],ih=(0,t.defineComponent)({__name:"StarFill",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"m992.719 364.665-308.14-44.783L546.83 40.626a38.62 38.62 0 0 0-17.597-17.597c-19.176-9.467-42.477-1.578-52.065 17.597L339.422 319.882l-308.14 44.783c-8.496 1.214-16.263 5.219-22.21 11.287-14.928 15.413-14.685 39.929.728 54.978l222.944 217.36-52.672 306.928c-1.456 8.374-.121 17.112 3.884 24.636 9.952 18.933 33.496 26.336 52.429 16.263L512 851.209l275.615 144.908c7.525 4.005 16.263 5.34 24.637 3.883 21.117-3.64 35.317-23.665 31.676-44.782L791.256 648.29 1014.2 430.93c6.068-5.947 10.073-13.714 11.287-22.21 3.276-21.238-11.53-40.9-32.768-44.055",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,R1))}}),_1=["aria-labelledby"],sh=(0,t.defineComponent)({__name:"StarFillN",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1081 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M1047.135 361.244 722.87 312.89 577.802 22.756c-2.844-8.534-11.378-14.223-19.911-17.067-19.911-8.533-45.511-2.845-54.045 17.067L358.78 312.889 34.513 358.4c-8.533 0-17.067 5.689-22.755 11.378-17.067 17.066-14.223 42.666 0 56.889l233.244 227.555-54.044 321.422c-2.845 8.534 0 17.067 2.844 25.6 11.378 19.912 34.133 28.445 54.044 17.067L537.98 867.556l290.133 150.755c8.533 2.845 17.067 5.689 25.6 2.845 22.756-2.845 36.978-25.6 34.133-45.512l-54.044-321.422 233.244-227.555c5.69-5.69 11.378-14.223 11.378-22.756 5.69-19.911-8.533-39.822-31.289-42.667",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,_1))}}),F1=["aria-labelledby"],ch=(0,t.defineComponent)({__name:"SmileFace",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M512 989.867C248.49 989.867 34.133 775.509 34.133 512S248.513 34.133 512 34.133c263.464 0 477.867 214.358 477.867 477.867S775.509 989.867 512 989.867m0-887.467c-225.849 0-409.6 183.751-409.6 409.6S286.151 921.6 512 921.6 921.6 737.849 921.6 512 737.849 102.4 512 102.4m1.138 688.356c-95.141 0-183.387-43.008-242.051-117.988a34.11 34.11 0 1 1 53.749-42.052 237.61 237.61 0 0 0 188.279 91.796c74.798 0 143.883-34.043 189.508-93.39a34.11 34.11 0 1 1 54.159 41.575 305.2 305.2 0 0 1-243.644 120.059m-153.6-275.343a51.177 51.177 0 0 1-51.2-51.2v-68.266a51.177 51.177 0 0 1 51.2-51.2 51.177 51.177 0 0 1 51.2 51.2v68.266a51.2 51.2 0 0 1-51.2 51.2m307.2 0a51.2 51.2 0 0 1-51.2-51.2v-68.266a51.2 51.2 0 1 1 102.4 0v68.266a51.2 51.2 0 0 1-51.2 51.2",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,F1))}}),O1=["aria-labelledby"],uh=(0,t.defineComponent)({__name:"Shop2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1050 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M525.474 635.958c-64.674 0-134.737-24.253-185.937-64.674-18.863-13.473-21.558-40.42-8.084-56.59 13.473-18.862 40.42-21.557 56.59-8.083 37.725 29.642 88.925 48.505 137.43 48.505s102.4-18.863 137.432-45.81c16.169-13.474 43.116-10.78 56.59 5.389 13.473 16.168 10.779 43.116-5.39 56.59-48.505 40.42-121.263 64.673-188.631 64.673m353.01 10.779h-18.863c-70.063 0-150.905-32.337-199.41-78.148-16.169-16.168-16.169-40.42-2.695-56.589 16.168-16.168 40.42-16.168 56.59-2.695 35.03 32.337 97.01 56.59 145.515 56.59h21.558c21.558-2.695 43.116 13.473 45.81 35.031s-13.473 43.116-35.031 45.81h-13.474zm-708.716 0h-13.473c-21.558-2.695-37.727-21.558-35.032-45.81 2.695-21.559 21.558-37.727 45.81-35.032h21.559c51.2 0 115.873-24.253 148.21-56.59 16.169-16.168 40.421-16.168 56.59 0 16.168 16.169 16.168 40.421 0 56.59-48.506 48.505-129.348 78.147-204.8 78.147h-8.085c-2.694 2.695-5.39 2.695-10.779 2.695m800.337-156.295-53.894-261.39c-18.864-86.23-97.011-148.21-183.243-148.21H326.063c-97.01 0-183.242 67.369-199.41 153.6l-45.81 253.305L0 474.274l45.81-253.306C70.064 97.011 191.327 0 323.369 0h406.906C856.926 0 967.41 88.926 994.358 212.884l53.895 261.39zm-808.42 156.295C75.452 646.737 0 571.284 0 479.663c0-21.558 18.863-40.42 40.421-40.42s40.421 18.862 40.421 40.42c0 45.81 37.726 86.232 80.842 86.232 21.558 0 40.421 18.863 40.421 40.42s-18.863 40.422-40.42 40.422m727.578 0c-21.558 0-40.42-18.863-40.42-40.421s18.862-40.421 40.42-40.421c45.81 0 80.842-35.032 80.842-80.842 0-21.558 18.863-40.421 40.421-40.421s40.421 18.863 40.421 40.42c0 88.927-72.758 161.685-161.684 161.685M781.473 1024h-512c-105.094 0-188.63-83.537-188.63-188.632V592.842h80.841v242.526c0 59.285 48.505 107.79 107.79 107.79h512c59.284 0 107.79-48.505 107.79-107.79v-256h80.841v256c0 105.095-83.537 188.632-188.631 188.632z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,O1))}}),q1=["aria-labelledby"],dh=(0,t.defineComponent)({__name:"Shop",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M512 658.286c-58.514 0-124.343-25.6-175.543-65.829-21.943-18.286-25.6-54.857-7.314-76.8s54.857-25.6 76.8-7.314c32.914 25.6 73.143 43.886 109.714 43.886S596.114 537.6 625.371 512c21.943-18.286 58.515-18.286 76.8 7.314s18.286 58.515-7.314 76.8c-51.2 36.572-120.686 62.172-182.857 62.172m303.543-3.657c-65.829 0-135.314-29.258-186.514-73.143-21.943-21.943-21.943-54.857-3.658-76.8 21.943-21.943 54.858-21.943 76.8-3.657 36.572 32.914 87.772 51.2 138.972 40.228 29.257-7.314 58.514 14.629 65.828 43.886 7.315 29.257-14.628 58.514-43.885 65.828-14.629 3.658-29.257 3.658-47.543 3.658m-610.743 0c-14.629 0-32.914 0-47.543-3.658-29.257-7.314-51.2-32.914-43.886-65.828 3.658-29.257 32.915-51.2 62.172-43.886 51.2 10.972 106.057-10.971 138.971-43.886 21.943-21.942 54.857-21.942 76.8 0 21.943 21.943 21.943 54.858 0 76.8-47.543 51.2-117.028 80.458-186.514 80.458m709.486-160.915-51.2-230.4c-14.629-69.485-76.8-117.028-153.6-117.028H318.17c-80.457 0-153.6 54.857-168.228 124.343l-43.886 223.085L0 471.771l43.886-223.085C65.829 128 182.857 36.57 318.17 36.57h391.315c128 0 234.057 84.115 263.314 204.8l51.2 230.4-109.714 21.943zM168.229 650.971C76.8 650.971 0 574.171 0 482.743c0-29.257 25.6-54.857 54.857-54.857s54.857 25.6 54.857 54.857c0 32.914 25.6 58.514 58.515 58.514 29.257 0 54.857 25.6 54.857 54.857s-25.6 54.857-54.857 54.857m687.542 0c-29.257 0-54.857-25.6-54.857-54.857s25.6-54.857 54.857-54.857c32.915 0 58.515-25.6 58.515-58.514 0-29.257 25.6-54.857 54.857-54.857s54.857 25.6 54.857 54.857c0 91.428-76.8 168.228-168.229 168.228m-588.8 336.458c-106.057 0-193.828-87.772-193.828-193.829V585.143h109.714V793.6c0 47.543 36.572 84.114 84.114 84.114h493.715c47.543 0 84.114-36.571 84.114-84.114V585.143h109.714V793.6c0 106.057-87.771 193.829-193.828 193.829z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,q1))}}),H1=["aria-labelledby"],fh=(0,t.defineComponent)({__name:"Share",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1090 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M744.727 992.97H279.273C124.12 992.97 0 868.848 0 713.697V310.303C0 155.152 124.121 31.03 279.273 31.03h108.606c24.824 0 46.545 21.722 46.545 46.546s-21.721 46.545-46.545 46.545H279.273c-102.4 0-186.182 83.782-186.182 186.182v403.394c0 102.4 83.782 186.182 186.182 186.182h465.454c102.4 0 186.182-83.782 186.182-186.182v-400.29c0-24.825 21.721-46.546 46.546-46.546S1024 288.58 1024 313.406v400.291c0 155.151-124.121 279.273-279.273 279.273m170.667-868.85H667.152c-24.825 0-46.546-21.721-46.546-46.545s21.721-46.546 46.546-46.546h248.242c24.824 0 46.545 21.722 46.545 46.546s-21.72 46.545-46.545 46.545M515.103 620.606h-9.31c-24.823-6.206-40.338-27.927-37.235-55.854C512 332.024 670.255 139.636 896.776 34.133c24.824-9.309 49.648 0 62.06 21.722 9.31 24.824 0 49.648-21.72 62.06-201.698 93.091-338.231 260.655-378.57 465.455-3.104 21.72-21.722 37.236-43.443 37.236",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,H1))}}),K1=["aria-labelledby"],mh=(0,t.defineComponent)({__name:"ShareN",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M744.727 992.97H279.273C124.12 992.97 0 868.848 0 713.697V310.303C0 155.152 124.121 31.03 279.273 31.03h108.606c24.824 0 46.545 21.722 46.545 46.546s-21.721 46.545-46.545 46.545H279.273c-102.4 0-186.182 83.782-186.182 186.182v403.394c0 102.4 83.782 186.182 186.182 186.182h465.454c102.4 0 186.182-83.782 186.182-186.182v-400.29c0-24.825 21.721-46.546 46.546-46.546S1024 288.58 1024 313.406v400.291c0 155.151-124.121 279.273-279.273 279.273m170.667-868.85H667.152c-24.825 0-46.546-21.721-46.546-46.545s21.721-46.546 46.546-46.546h248.242c24.824 0 46.545 21.722 46.545 46.546s-21.72 46.545-46.545 46.545M515.103 620.606h-9.31c-24.823-6.206-40.338-27.927-37.235-55.854C512 332.024 670.255 139.636 896.776 34.133c24.824-9.309 49.648 0 62.06 21.722 9.31 24.824 0 49.648-21.72 62.06-201.698 93.091-338.231 260.655-378.57 465.455-3.104 21.72-21.722 37.236-43.443 37.236",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,K1))}}),j1=["aria-labelledby"],hh=(0,t.defineComponent)({__name:"Setting",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M512 1021.305c-24.253 0-51.2-5.39-75.453-18.863l-309.894-158.99c-53.895-26.947-86.232-83.536-86.232-142.82V323.368c0-61.979 32.337-115.873 86.232-142.82l309.894-158.99c45.81-24.253 102.4-24.253 148.21 0l309.896 158.99c53.894 26.947 86.231 83.536 86.231 142.82v377.264c0 61.979-32.337 115.873-86.231 142.82l-309.895 158.99c-21.558 13.474-48.505 18.863-72.758 18.863m0-937.768c-13.474 0-24.253 2.695-37.726 8.084l-309.895 158.99c-26.947 13.473-43.116 43.115-43.116 72.757v377.264c0 29.642 16.169 56.59 43.116 72.757l309.895 158.99c24.252 10.779 51.2 10.779 75.452 0l309.895-158.99c26.947-13.473 43.116-40.42 43.116-72.757V323.368c0-29.642-16.169-56.59-43.116-72.757L549.726 91.62c-13.473-5.39-24.252-8.084-37.726-8.084zm0 644.042c-110.484 0-202.105-91.621-202.105-202.105S401.515 323.368 512 323.368s202.105 91.621 202.105 202.106S622.485 727.579 512 727.579m0-323.368c-67.368 0-121.263 53.894-121.263 121.263S444.632 646.737 512 646.737s121.263-53.895 121.263-121.263S579.368 404.21 512 404.21z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,j1))}}),W1=["aria-labelledby"],ph=(0,t.defineComponent)({__name:"Service2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M838.267 354.657h55.459C865.31 283.212 817.72 222.89 758.072 178.935 690.285 128.98 606.855 100.15 518.25 100.15c-88.607 0-172.034 28.829-239.822 78.784-59.652 43.956-107.238 104.277-135.653 175.722h41.699c15.728 0 30.12 6.474 40.599 16.901l.056.065.062.054c10.444 10.478 16.904 24.864 16.904 40.6V710.31c0 15.745-6.474 30.12-16.904 40.6l-.062.05-.056.067c-10.479 10.443-24.865 16.9-40.6 16.9h-67.161c-34.262 0-65.428-14.03-88.029-36.622l-.116-.117C6.58 708.59-7.456 677.424-7.456 643.168V479.43c0-34.345 14.03-65.544 36.63-88.145l.06.06c13.72-13.712 30.568-24.272 49.33-30.47 30.643-93.997 89.48-173.074 165.365-229 77.62-57.2 173.047-90.206 274.32-90.206 101.266 0 196.7 33.005 274.32 90.205 77.625 57.207 137.421 138.64 167.438 235.475a126.2 126.2 0 0 1 33.497 23.995l.06-.06c22.601 22.601 36.632 53.8 36.632 88.145v163.736c0 34.257-14.035 65.422-36.622 88.022l-.117.116c-22.6 22.591-53.77 36.623-88.03 36.623h-18.638l7.586 5.402c-43.45 60.724-100.182 109.081-164.665 142.223-64.61 33.21-136.954 51.242-211.462 51.242l-2.32-.005c-9.561 9.976-23.032 16.19-37.949 16.19-29.041 0-52.578-23.541-52.578-52.58s23.537-52.576 52.578-52.576c21.12 0 39.333 12.457 47.694 30.424 62.64-1.143 123.187-16.736 177.317-44.558a404 404 0 0 0 122.747-97.156c-10.768-2.43-20.449-7.916-28.073-15.508l-.056-.065-.06-.05c-10.444-10.482-16.906-24.847-16.906-40.601V412.276c0-15.735 6.464-30.12 16.906-40.6l.06-.053.056-.065c10.484-10.443 24.848-16.901 40.603-16.901m-654.652 58.48h-66.303c-18.272 0-34.838 7.427-46.791 19.38v.116c-12.028 12.026-19.497 28.6-19.497 46.798v163.737c0 18.238 7.451 34.826 19.436 46.844 12.019 11.984 28.607 19.438 46.852 19.438h66.303zm721.814 0h-66.302V709.45h66.302c18.243 0 34.835-7.454 46.853-19.438 11.985-12.018 19.434-28.606 19.434-46.844V479.43c0-18.199-7.471-34.772-19.495-46.798v-.116c-11.952-11.952-28.52-19.38-46.792-19.38",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,W1))}}),Y1=["aria-labelledby"],gh=(0,t.defineComponent)({__name:"Service",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M1024 657.723H905.846v-126.03c0-228.431-177.23-413.54-393.846-413.54s-393.846 185.109-393.846 413.54v126.03H0v-126.03C0 236.307 228.43 0 512 0s512 236.308 512 531.692zM196.923 866.462C86.646 866.462 0 779.815 0 669.538s86.646-196.923 196.923-196.923 196.923 86.647 196.923 196.923S307.2 866.462 196.923 866.462m0-275.693c-43.323 0-78.77 35.446-78.77 78.77s35.447 78.769 78.77 78.769 78.77-35.446 78.77-78.77-35.447-78.769-78.77-78.769m630.154 275.693c-110.277 0-196.923-86.647-196.923-196.924S716.8 472.615 827.077 472.615 1024 559.262 1024 669.538s-86.646 196.924-196.923 196.924m0-275.693c-43.323 0-78.77 35.446-78.77 78.77s35.447 78.769 78.77 78.769 78.77-35.446 78.77-78.77-35.447-78.769-78.77-78.769m-149.662 429.293c-23.63 0-47.261-15.754-55.138-43.324-7.877-31.507 7.877-63.015 39.385-74.83 102.4-31.508 189.046-102.4 236.307-196.923 15.754-27.57 51.2-39.385 78.77-23.631s39.384 51.2 23.63 78.77c-63.015 122.091-177.23 216.614-307.2 256-3.938 3.938-11.815 3.938-15.754 3.938",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Y1))}}),U1=["aria-labelledby"],wo=(0,t.defineComponent)({__name:"Search2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M512 886.174c-216.965 0-395.508-178.543-395.508-395.508S295.035 95.16 512 95.16s395.507 178.543 395.507 395.507S728.964 886.174 512 886.174m0-723.214c-180.804 0-327.707 146.903-327.707 327.706S331.196 818.373 512 818.373 839.706 671.47 839.706 490.666 692.803 162.96 512 162.96m361.606 723.214c-9.04 0-18.08-2.26-24.86-9.04l-90.402-90.401c-13.56-13.56-13.56-33.9 0-47.46s33.901-13.562 47.461 0l90.401 90.4c13.561 13.56 13.561 33.901 0 47.461-4.52 6.78-13.56 9.04-22.6 9.04z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,U1))}}),G1=["aria-labelledby"],yh=(0,t.defineComponent)({__name:"Search",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M146.283 475.394c0-181.454 147.664-329.119 329.118-329.119S804.52 293.94 804.52 475.394 656.855 804.512 475.4 804.512a329.484 329.484 0 0 1-329.118-329.118m856.22 423.685L858.788 755.364a472.54 472.54 0 0 0 92.007-279.97C950.795 213.269 737.526 0 475.4 0A475.98 475.98 0 0 0 .008 475.394c0 262.124 213.269 475.393 475.393 475.393a472.54 472.54 0 0 0 279.97-92.007l143.716 143.715a72.92 72.92 0 0 0 103.416 0 73.064 73.064 0 0 0 0-103.416",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,G1))}}),X1=["aria-labelledby"],bh=(0,t.defineComponent)({__name:"ScreenLittle",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M257.471 275.98a56.884 56.884 0 1 1-59.785-96.702c89.82-55.632 179.639-110.923 269.515-166.555a85.33 85.33 0 0 1 89.649 0l269.458 166.441a56.884 56.884 0 1 1-59.785 96.76L511.969 118.81zm0 472.133a56.884 56.884 0 1 0-59.785 96.703L467.2 1011.257a85.33 85.33 0 0 0 89.649 0l269.458-166.441a56.884 56.884 0 1 0-59.785-96.703L511.969 905.17C427.099 852.837 342.285 800.39 257.414 748",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,X1))}}),Q1=["aria-labelledby"],Sh=(0,t.defineComponent)({__name:"Scan2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1079 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M802.595 1024H276.757C154.984 1024 55.35 924.368 55.35 802.595v-69.19c0-22.14 19.373-41.513 41.514-41.513s41.513 19.373 41.513 41.513v69.19c0 77.491 60.887 138.378 138.379 138.378h525.838c77.491 0 138.378-60.887 138.378-138.378v-66.422c0-22.14 19.373-41.514 41.513-41.514S1024 714.032 1024 736.173v66.422C1024 924.368 924.368 1024 802.595 1024M96.865 332.108c-22.14 0-41.514-16.605-41.514-41.513v-69.19C55.351 99.632 154.984 0 276.757 0h525.838C924.368 0 1024 99.632 1024 221.405v69.19c0 22.14-19.373 41.513-41.514 41.513s-41.513-16.605-41.513-41.513v-69.19c0-77.491-60.887-138.378-138.378-138.378H276.757c-77.492 0-138.379 60.887-138.379 138.378v69.19c0 24.908-19.373 41.513-41.513 41.513m940.973 221.406H41.514C19.373 553.514 0 534.14 0 512s19.373-41.514 41.514-41.514h996.324c22.14 0 41.513 19.373 41.513 41.514s-19.373 41.514-41.513 41.514",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Q1))}}),Z1=["aria-labelledby"],wh=(0,t.defineComponent)({__name:"Scan",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M307.2 468.114H160.914C73.143 468.114 0 394.971 0 307.2V160.914C0 73.143 73.143 0 160.914 0H307.2c87.771 0 160.914 73.143 160.914 160.914V307.2c0 87.771-73.143 160.914-160.914 160.914M160.914 87.771c-40.96 0-73.143 32.183-73.143 73.143V307.2c0 40.96 32.183 73.143 73.143 73.143H307.2c40.96 0 73.143-32.183 73.143-73.143V160.914c0-40.96-32.183-73.143-73.143-73.143zm702.172 380.343H716.8c-87.771 0-160.914-73.143-160.914-160.914V160.914C555.886 73.143 629.029 0 716.8 0h146.286C950.857 0 1024 73.143 1024 160.914V307.2c0 87.771-73.143 160.914-160.914 160.914M716.8 87.771c-40.96 0-73.143 32.183-73.143 73.143V307.2c0 40.96 32.183 73.143 73.143 73.143h146.286c40.96 0 73.143-32.183 73.143-73.143V160.914c0-40.96-32.183-73.143-73.143-73.143zM307.2 1024H160.914C73.143 1024 0 950.857 0 863.086V716.8c0-87.771 73.143-160.914 160.914-160.914H307.2c87.771 0 160.914 73.143 160.914 160.914v146.286c0 87.771-73.143 160.914-160.914 160.914M160.914 643.657c-40.96 0-73.143 32.183-73.143 73.143v146.286c0 40.96 32.183 73.143 73.143 73.143H307.2c40.96 0 73.143-32.183 73.143-73.143V716.8c0-40.96-32.183-73.143-73.143-73.143zM204.8 175.543h58.514c17.555 0 29.257 11.703 29.257 29.257v58.514c0 17.555-11.702 29.257-29.257 29.257H204.8c-17.554 0-29.257-11.702-29.257-29.257V204.8c0-17.554 11.703-29.257 29.257-29.257m482.743 833.828c-23.406 0-43.886-20.48-43.886-43.885V643.657c0-23.406 20.48-43.886 43.886-43.886s43.886 20.48 43.886 43.886v321.829c0 23.405-20.48 43.885-43.886 43.885m234.057 0c-23.406 0-43.886-20.48-43.886-43.885V643.657c0-23.406 20.48-43.886 43.886-43.886s43.886 20.48 43.886 43.886v321.829c0 23.405-20.48 43.885-43.886 43.885",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Z1))}}),J1=["aria-labelledby"],vh=(0,t.defineComponent)({__name:"SFollow",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1113 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M1113.6 349.867h-128c0-119.467-98.133-217.6-217.6-217.6-55.467 0-106.667 21.333-149.333 59.733l-4.267 4.267c-34.133 34.133-85.333 34.133-119.467 0-42.666-42.667-93.866-64-149.333-64-119.467 0-217.6 98.133-217.6 217.6H0c0-192 153.6-345.6 345.6-345.6 76.8 0 149.333 25.6 209.067 72.533C614.4 29.867 686.933 4.267 763.733 4.267c196.267 0 349.867 153.6 349.867 345.6M93.867 631.467c-4.267-4.267-8.534-12.8-12.8-17.067-51.2-76.8-76.8-170.667-76.8-260.267h128c0 68.267 21.333 136.534 55.466 192 4.267 0 4.267 4.267 8.534 8.534zm934.4-8.534L921.6 550.4c38.4-59.733 64-128 64-200.533h128c0 98.133-29.867 192-85.333 273.066M558.933 989.867c-12.8 0-29.866-4.267-42.666-8.534-4.267-4.266-8.534-4.266-12.8-4.266C332.8 900.267 192 776.533 85.333 622.933L192 554.667c89.6 136.533 217.6 243.2 362.667 307.2l4.266-4.267C704 789.333 832 682.667 921.6 550.4l106.667 72.533c-102.4 153.6-247.467 277.334-418.134 354.134l-8.533 4.266c-12.8 8.534-29.867 8.534-42.667 8.534m8.534-123.734",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,J1))}}),eu=["aria-labelledby"],tu=(0,t.defineComponent)({__name:"Right",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M381.262 1005.563c-16.132 21.51-45.708 24.198-67.216 8.066-21.51-16.132-24.198-45.708-8.066-67.217C413.526 806.602 518.384 666.79 625.932 529.67c8.066-10.755 8.066-24.198 0-34.953C518.384 354.905 413.526 215.093 305.98 77.972c-16.132-21.51-10.755-51.085 8.066-67.217C335.556-5.377 365.13 0 381.262 18.82c107.547 142.5 212.405 282.31 319.952 419.433 34.952 43.019 34.952 104.858 0 150.565C593.667 728.63 488.81 868.44 381.262 1005.562",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,eu))}}),lu=["aria-labelledby"],Ch=(0,t.defineComponent)({__name:"Retweet",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M136 552h63.6c4.4 0 8-3.6 8-8V288.7h528.6v72.6c0 1.9.6 3.7 1.8 5.2 2.9 3.6 8.1 4.3 11.7 1.4L893 255.4c4.3-5 3.6-10.3 0-13.2L749.7 129.8c-1.5-1.2-3.3-1.8-5.2-1.8-4.6 0-8.4 3.8-8.4 8.4V209H199.7c-39.5 0-71.7 32.2-71.7 71.8V544c0 4.4 3.6 8 8 8m752-80h-63.6c-4.4 0-8 3.6-8 8v255.3H287.8v-72.6c0-1.9-.6-3.7-1.8-5.2-2.9-3.6-8.1-4.3-11.7-1.4L131 768.6c-4.3 5-3.6 10.3 0 13.2l143.3 112.4c1.5 1.2 3.3 1.8 5.2 1.8 4.6 0 8.4-3.8 8.4-8.4V815h536.6c39.5 0 71.7-32.2 71.7-71.8V480c-.2-4.4-3.8-8-8.2-8",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,lu))}}),au=["aria-labelledby"],Nh=(0,t.defineComponent)({__name:"Refresh2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M771.938 315.077h199.55l-13.13 154.913L758.81 364.964c-13.128-7.877-18.38-23.63-10.502-36.759 2.625-7.877 13.128-13.128 23.63-13.128m-535.63 393.846H44.636L57.764 554.01l191.672 105.026c13.128 7.877 18.38 23.63 10.502 36.759-5.25 7.877-15.753 13.128-23.63 13.128M509.374 1024C257.313 1024 44.636 845.456 5.251 596.02 0 575.016 15.754 556.637 36.76 551.386c21.005-2.626 42.01 10.502 44.636 31.507 34.133 210.052 215.302 362.339 427.98 362.339 191.671 0 362.338-128.657 417.476-312.452 5.252-21.005 28.882-34.133 49.887-26.256 21.006 5.251 34.134 28.882 26.257 49.887C937.354 871.713 735.179 1024 509.375 1024zm467.364-551.385c-18.379 0-36.759-13.128-39.384-34.133C903.22 231.056 722.05 78.77 509.374 78.77c-191.671 0-362.338 128.657-414.85 312.452-5.252 21.005-28.883 34.133-49.888 26.256-21.005-5.251-34.133-28.882-26.257-49.887C81.395 152.287 283.57 0 509.374 0c252.062 0 464.739 178.544 504.123 427.98 2.626 21.005-10.502 42.01-31.507 44.635z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,au))}}),nu=["aria-labelledby"],kh=(0,t.defineComponent)({__name:"Refresh",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M776.374 334.77h181.17l-27.57 149.66-169.354-90.584c-15.754-7.877-19.692-27.57-11.815-43.323 3.938-7.877 15.754-15.754 27.569-15.754zM256.497 689.23H59.574l27.57-149.66 181.168 90.584c15.754 7.877 23.631 27.57 15.754 43.323-3.938 7.877-15.754 15.754-27.569 15.754zm256 334.77c-252.062 0-464.738-177.23-512-421.415-3.938-31.508 15.754-63.016 51.2-70.893 31.508-3.938 63.015 15.754 66.954 47.262C154.097 768 319.512 901.908 512.497 901.908c189.046 0 346.585-126.031 389.908-307.2 7.877-31.508 39.384-51.2 70.892-43.323s51.2 39.384 43.323 70.892C961.482 858.585 756.682 1024 512.497 1024M965.42 500.185c-27.57 0-55.138-19.693-59.077-51.2C874.835 256 709.42 118.154 512.497 118.154c-185.108 0-350.523 129.97-389.908 307.2-7.877 31.508-39.384 51.2-70.892 43.323s-51.2-39.385-43.323-70.892C59.574 169.354 272.251 0 512.497 0c256 0 472.615 181.17 512 429.292 3.938 31.508-15.754 63.016-47.262 66.954-3.938 3.939-7.876 3.939-11.815 3.939",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,nu))}}),ru=["aria-labelledby"],xh=(0,t.defineComponent)({__name:"RectUp",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M920.576 778.24c-14.336 0-28.672-5.632-39.936-16.384L515.072 395.264 148.48 760.832c-22.016 22.016-57.856 22.016-79.872 0s-22.016-57.856 0-79.872l406.528-405.504c22.016-22.016 57.856-22.016 79.872 0l405.504 406.528c22.016 22.016 22.016 57.856 0 79.872-11.264 11.264-25.6 16.384-39.936 16.384",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,ru))}}),ou=["aria-labelledby"],Th=(0,t.defineComponent)({__name:"RectRight",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M349.184 983.04c-14.336 0-28.672-5.632-39.936-16.384-22.016-22.016-22.016-57.856 0-79.872l366.08-366.08L309.76 155.136c-22.016-22.016-22.016-57.856 0-79.872s57.856-22.016 79.872 0L795.136 481.28c10.752 10.752 16.384 25.088 16.384 39.936s-6.144 29.184-16.384 39.936L389.12 966.656c-10.752 11.264-25.6 16.384-39.936 16.384",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,ou))}}),iu=["aria-labelledby"],Eh=(0,t.defineComponent)({__name:"RectLeft",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M657.92 983.04c-14.336 0-28.672-5.632-39.936-16.384L211.968 560.64c-10.752-10.752-16.384-25.088-16.384-39.936s6.144-29.184 16.384-39.936L617.984 74.752c22.016-22.016 57.856-22.016 79.872 0s22.016 57.856 0 79.872l-366.08 366.08 366.08 366.08c22.016 22.016 22.016 57.856 0 79.872-11.264 11.264-25.6 16.384-39.936 16.384",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,iu))}}),su=["aria-labelledby"],zh=(0,t.defineComponent)({__name:"RectDown",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M515.072 778.24c-14.336 0-28.672-5.632-39.936-16.384L69.12 356.864c-22.016-22.016-22.016-57.856 0-79.872s57.856-22.016 79.872 0L515.584 642.56 880.64 275.968c22.016-22.016 57.856-22.016 79.872 0s22.016 57.856 0 79.872L555.008 762.368c-10.752 10.752-25.6 15.872-39.936 15.872",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,su))}}),cu=["aria-labelledby"],$h=(0,t.defineComponent)({__name:"Question",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M487.3 722.914c35.885 0 52.529-24.967 52.529-58.255v-17.687c1.043-68.662 26.009-97.268 109.23-154.457 88.945-60.362 145.624-130.045 145.624-230.442 0-156.033-126.895-245.49-284.503-245.49-117.551 0-221.055 55.659-265.262 156.033-10.918 24.456-15.6 48.38-15.6 68.13 0 29.649 17.154 50.465 48.888 50.465 26.52 0 44.207-15.601 52.019-41.1 27.03-98.821 92.052-136.26 176.316-136.26 101.418 0 180.488 57.212 180.488 147.711 0 74.366-46.293 115.976-112.869 162.801-81.667 56.701-141.475 117.552-141.475 209.094v32.756c0 33.288 18.198 56.7 54.593 56.7zm0 284.502c41.078 0 73.855-33.288 73.855-73.855a73.456 73.456 0 0 0-73.855-73.855c-40.567 0-74.388 32.777-74.388 73.855 0 40.567 33.821 73.855 74.388 73.855",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,cu))}}),uu=["aria-labelledby"],Bh=(0,t.defineComponent)({__name:"PoweroffCircleFill",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64m-80 600c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V360c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8zm224 0c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V360c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,uu))}}),du=["aria-labelledby"],Vh=(0,t.defineComponent)({__name:"Plus",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M130.722 414.376h780.993q97.624 0 97.624 97.624t-97.624 97.624H130.722q-97.625 0-97.625-97.624t97.625-97.624M521.218 23.879q97.624 0 97.624 97.624v780.994q0 97.624-97.624 97.624t-97.624-97.624V121.503q0-97.624 97.624-97.624",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,du))}}),fu=["aria-labelledby"],Dh=(0,t.defineComponent)({__name:"PlayStop",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M500.864 952.64c-239.648 0-434.656-194.976-434.656-434.624 0-239.68 195.008-434.624 434.656-434.624 239.68 0 434.656 194.944 434.656 434.624S740.512 952.64 500.864 952.64m0-933.28C225.92 19.36 2.24 243.104 2.24 518.016c0 274.944 223.68 498.624 498.624 498.624S999.52 792.96 999.52 518.016c0-274.912-223.68-498.624-498.656-498.624m-96 306.624a32 32 0 0 0-32 32v320a32 32 0 0 0 64 0v-320a32 32 0 0 0-32-32m192 0a32 32 0 0 0-32 32v320a32 32 0 0 0 64 0v-320a32 32 0 0 0-32-32",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,fu))}}),mu=["aria-labelledby"],Mh=(0,t.defineComponent)({__name:"PlayStart",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M772.7 217.7a32.2 32.1 0 1 0 64.4 0 32.2 32.1 0 1 0-64.4 0M415.8 679.9c5.9 0 11.5-1.6 16.2-4.5l231.1-134.6c10.9-5.2 18.5-16.3 18.5-29.2 0-11.9-6.4-22.3-16-27.8L439.7 352.2c-5.8-6.7-14.4-10.9-23.9-10.9-17.6 0-31.8 14.4-31.8 32.1 0 .6 0 1.2.1 1.8l-.4.2.5 269c-.1 1.1-.2 2.2-.2 3.4 0 17.7 14.3 32.1 31.8 32.1m494-373.3c-5.4-10.5-16.3-17.8-28.9-17.8-17.8 0-32.2 14.4-32.2 32.1 0 6 1.7 11.7 4.6 16.5l-.1.1c26.9 52.4 42.1 111.8 42.1 174.7 0 211.6-171.6 383.2-383.2 383.2S128.8 723.8 128.8 512.2 300.4 129.1 512 129.1c62.5 0 121.5 15 173.6 41.5l.2-.4c4.6 2.6 10 4.1 15.7 4.1 17.8 0 32.2-14.4 32.2-32.1 0-13.1-7.9-24.4-19.3-29.4C653.6 81.9 584.9 64.5 512 64.5 264.7 64.5 64.3 265 64.3 512.2S264.7 959.9 512 959.9s447.7-200.4 447.7-447.7c0-74.1-18-144-49.9-205.6",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,mu))}}),hu=["aria-labelledby"],Ah=(0,t.defineComponent)({__name:"PlayDoubleForward",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M917 248.2c11 0 20 9 20 20v487.6c0 11-9 20-20 20s-20-9-20-20V268.2c0-11 9-20 20-20m-7.2 262.9L486.4 266.7c-.7-.4-1.5.1-1.5.9v488.9c0 .8.8 1.3 1.5.9l423.4-244.5c.7-.4.7-1.4 0-1.8m-417.9 0L68.5 266.7c-.7-.4-1.5.1-1.5.9v488.9c0 .8.8 1.3 1.5.9l423.4-244.5c.7-.4.7-1.4 0-1.8",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,hu))}}),pu=["aria-labelledby"],Ph=(0,t.defineComponent)({__name:"PlayDoubleBack",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M87 775.8c-11 0-20-9-20-20V268.2c0-11 9-20 20-20s20 9 20 20v487.6c0 11-9 20-20 20m7.2-262.9 423.4 244.5c.7.4 1.5-.1 1.5-.9v-489c0-.8-.8-1.3-1.5-.9L94.2 511.1c-.7.4-.7 1.4 0 1.8m417.9 0 423.4 244.5c.7.4 1.5-.1 1.5-.9v-489c0-.8-.8-1.3-1.5-.9L512.1 511.1c-.7.4-.7 1.4 0 1.8",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,pu))}}),gu=["aria-labelledby"],Ih=(0,t.defineComponent)({__name:"PlayCircleFill",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64m144.1 454.9L437.7 677.8c-1.4 1-3 1.5-4.7 1.5-4.4 0-8-3.6-8-8V353.7c0-1.7.5-3.3 1.5-4.7 2.6-3.6 7.6-4.4 11.2-1.8L656.1 506q1.05.75 1.8 1.8c2.6 3.5 1.8 8.5-1.8 11.1",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,gu))}}),yu=["aria-labelledby"],Lh=(0,t.defineComponent)({__name:"Picture",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M900.361 939.198H123.64C61.5 939.198 7.13 884.827 7.13 822.689V201.311c0-62.138 54.37-116.509 116.509-116.509H900.36c62.138 0 116.509 54.371 116.509 116.509v621.378c0 62.138-54.37 116.509-116.509 116.509M123.64 162.475c-23.302 0-38.837 15.534-38.837 38.836v621.378c0 23.302 15.535 38.836 38.837 38.836H900.36c23.302 0 38.837-15.534 38.837-38.836V201.311c0-23.302-15.535-38.836-38.837-38.836z",fill:"currentColor","fill-opacity":"0.9"},null,-1),(0,t.createTextVNode)(",",-1),(0,t.createElementVNode)("path",{d:"M628.508 387.724a1.214 1.214 0 1 0 155.345 0 1.214 1.214 0 1 0-155.345 0M822.69 713.948c-69.906-54.37-100.975-38.836-147.578-15.534-31.07 15.534-77.672 31.068-139.81 23.301-77.673-15.534-108.742-69.905-132.043-116.508-15.535-31.07-31.07-62.138-62.138-77.673-77.672-38.836-147.577 7.768-147.577 7.768-23.302 15.534-54.371 7.767-62.138-7.768s0-46.603 15.534-54.37c7.767 0 108.741-69.905 225.25-15.535 54.37 31.07 77.672 69.905 100.974 108.742 23.302 38.836 38.836 69.905 85.44 77.672 31.068 7.767 54.37 0 85.439-15.535 54.37-23.301 116.508-54.37 225.25 31.07 23.301 15.534 23.301 46.603 15.534 54.37-15.534 7.767-31.069 23.302-62.138 0",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,yu))}}),bu=["aria-labelledby"],Rh=(0,t.defineComponent)({__name:"Photograph",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1141 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M570.514 789.943c-119.954 0-219.428-99.474-219.428-219.429s99.474-219.428 219.428-219.428 219.429 99.474 219.429 219.428-99.474 219.429-219.429 219.429m0-351.086c-73.143 0-131.657 58.514-131.657 131.657s58.514 131.657 131.657 131.657 131.657-58.514 131.657-131.657-58.514-131.657-131.657-131.657M877.714 1024h-614.4C117.03 1024 0 906.971 0 760.686V380.343c0-146.286 117.029-263.314 263.314-263.314h32.183c0-2.926 2.926-8.778 2.926-11.703C315.977 43.886 374.49 0 438.857 0h263.314c70.218 0 128.732 49.737 143.36 117.029h32.183c146.286 0 263.315 117.028 263.315 263.314v380.343C1141.029 906.97 1024 1024 877.714 1024m-614.4-819.2c-96.548 0-175.543 78.994-175.543 175.543v380.343c0 96.548 78.995 175.543 175.543 175.543h614.4c96.549 0 175.543-78.995 175.543-175.543V380.343c0-96.549-78.994-175.543-175.543-175.543H819.2c-32.183 0-58.514-26.331-58.514-58.514S734.354 87.77 702.17 87.77H438.857c-26.331 0-49.737 17.555-55.588 40.96-2.926 5.852-2.926 11.703-2.926 17.555 0 32.183-26.332 58.514-58.514 58.514h-58.515zm-87.771 160.914a73.143 73.143 0 1 0 146.286 0 73.143 73.143 0 1 0-146.286 0",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,bu))}}),Su=["aria-labelledby"],_h=(0,t.defineComponent)({__name:"PhotographFill",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M939.198 230.438H84.802c-32.04 0-58.254 26.214-58.254 58.254v563.125c0 32.04 26.214 58.254 58.254 58.254h854.396c32.04 0 58.254-26.215 58.254-58.254V288.692c0-32.04-26.214-58.254-58.254-58.254M512 812.98c-133.985 0-242.726-108.741-242.726-242.726S378.015 327.53 512 327.53s242.726 108.74 242.726 242.725S645.985 812.98 512 812.98m330.107-368.943c-32.04 0-58.254-26.214-58.254-58.254s26.214-58.254 58.254-58.254 58.254 26.214 58.254 58.254-26.214 58.254-58.254 58.254",fill:"currentColor","fill-opacity":"0.9"},null,-1),(0,t.createTextVNode)(",",-1),(0,t.createElementVNode)("path",{d:"M512 405.2c-90.78 0-165.054 74.274-165.054 165.054S421.22 735.308 512 735.308s165.054-74.274 165.054-165.054S602.78 405.2 512 405.2m242.726-174.762v-58.255c0-32.04-26.215-58.254-58.255-58.254H327.53c-32.04 0-58.255 26.215-58.255 58.254v58.255z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Su))}}),wu=["aria-labelledby"],Fh=(0,t.defineComponent)({__name:"Phonering",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M488.533 110.933q12.8 6.4 25.6 6.4c102.4-17.066 202.667 2.134 283.734 57.6 81.066 53.334 136.533 136.534 153.6 230.4C953.6 422.4 968.533 435.2 985.6 435.2h6.4c19.2-4.267 32-21.333 27.733-40.533-19.2-113.067-85.333-213.334-183.466-277.334s-217.6-89.6-334.934-68.266c-19.2 4.266-32 21.333-27.733 40.533 0 6.4 6.4 14.933 14.933 21.333m0 0",fill:"currentColor","fill-opacity":"0.9"},null,-1),(0,t.createTextVNode)(",",-1),(0,t.createElementVNode)("path",{d:"M780.8 420.267c2.133 17.066 17.067 29.866 34.133 29.866h6.4c8.534-2.133 17.067-6.4 23.467-14.933q6.4-12.8 6.4-25.6c-12.8-72.533-55.467-136.533-117.333-177.067-64-40.533-138.667-57.6-215.467-42.666-19.2 4.266-32 21.333-27.733 40.533 2.133 8.533 6.4 17.067 14.933 23.467q12.8 6.4 25.6 6.4c57.6-10.667 115.2 2.133 164.267 32 44.8 27.733 74.666 74.666 85.333 128m102.4 247.466c-32-21.333-64-42.666-89.6-55.466-46.933-25.6-68.267-27.734-78.933-27.734-25.6 0-49.067 12.8-66.134 38.4-10.666 14.934-19.2 32-25.6 49.067 0 2.133-2.133 4.267-4.266 8.533s-4.267 10.667-6.4 17.067c-10.667-4.267-29.867-14.933-59.734-34.133-38.4-25.6-78.933-57.6-108.8-87.467s-61.866-70.4-87.466-108.8c-21.334-32-29.867-49.067-34.134-59.733 4.267-2.134 10.667-6.4 17.067-8.534l8.533-4.266c17.067-6.4 34.134-14.934 49.067-25.6 25.6-17.067 38.4-40.534 38.4-66.134 0-12.8-4.267-32-27.733-78.933-14.934-27.733-34.134-59.733-55.467-89.6-19.2-25.6-40.533-57.6-66.133-81.067-32-32-55.467-46.933-78.934-46.933C160 6.4 108.8 59.733 74.667 104.533 27.733 170.667 2.133 230.4 2.133 281.6c0 68.267 42.667 151.467 78.934 211.2 49.066 78.933 115.2 164.267 187.733 236.8l23.467 23.467c74.666 72.533 157.866 138.666 236.8 187.733 59.733 36.267 142.933 78.933 211.2 78.933 72.533 0 147.2-51.2 177.066-72.533s98.134-78.933 98.134-134.4c0-23.467-14.934-49.067-46.934-78.933-23.466-19.2-51.2-42.667-85.333-66.134M185.6 106.667c6.4-6.4 12.8-10.667 17.067-12.8 8.533 6.4 36.266 32 81.066 93.866 17.067 23.467 32 51.2 46.934 76.8 8.533 17.067 12.8 27.734 14.933 34.134 0 0-2.133 0-2.133 2.133-6.4 4.267-17.067 8.533-32 14.933-12.8 4.267-29.867 12.8-44.8 21.334-23.467 17.066-36.267 36.266-34.134 59.733 0 25.6 17.067 66.133 53.334 117.333C315.733 556.8 352 601.6 384 635.733c36.267 34.134 81.067 70.4 119.467 98.134C582.4 787.2 612.267 787.2 622.933 787.2c23.467 0 42.667-12.8 59.734-36.267 8.533-14.933 17.066-32 21.333-44.8 6.4-12.8 10.667-23.466 14.933-29.866l2.134-2.134c6.4 2.134 14.933 6.4 34.133 14.934C780.8 704 808.533 718.933 832 736c61.867 42.667 87.467 70.4 93.867 81.067-2.134 4.266-6.4 10.666-12.8 17.066-10.667 12.8-29.867 29.867-51.2 46.934-44.8 32-91.734 53.333-121.6 53.333-36.267 0-96-23.467-164.267-66.133-72.533-44.8-151.467-106.667-221.867-174.934l-23.466-23.466C262.4 599.467 200.533 520.533 155.733 448 113.067 377.6 89.6 317.867 89.6 281.6c0-32 19.2-76.8 53.333-121.6 8.534-21.333 25.6-40.533 42.667-53.333m0 0",fill:"currentColor","fill-opacity":"0.9"},null,-1),(0,t.createTextVNode)(",",-1),(0,t.createElementVNode)("path",{d:"M646.4 354.133c-38.4-25.6-85.333-36.266-132.267-25.6-19.2 4.267-32 21.334-27.733 42.667 4.267 8.533 8.533 17.067 14.933 21.333 6.4 4.267 17.067 6.4 25.6 6.4 27.734-4.266 57.6 0 81.067 14.934s38.4 36.266 42.667 64c2.133 17.066 17.066 29.866 34.133 29.866h6.4c19.2-4.266 32-21.333 27.733-40.533-6.4-49.067-32-89.6-72.533-113.067m0 0",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,wu))}}),vu=["aria-labelledby"],Oh=(0,t.defineComponent)({__name:"PhoneringFill",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"m592.341 76.019-.394.039h-.788a38.2 38.2 0 0 1-39.776-36.43A38.2 38.2 0 0 1 587.497.168c1.024 0 101.647-5.553 205.893 46.944a387.65 387.65 0 0 1 148.08 129.53c46.157 68.054 73.922 153.672 82.35 254.728a38.084 38.084 0 0 1-35.05 40.96c-1.143.275-2.127.275-3.151.275a38.24 38.24 0 0 1-38.241-34.776c-13.076-156.743-75.733-264.888-186.242-321.679C679.613 74.247 599.35 75.823 592.38 76.06zm-208.926 564.75c89.674 89.557 193.448 175.175 234.564 134.295 58.72-58.837 94.952-109.957 224.404-5.947 129.49 104.09 30.01 173.482-26.899 230.39-65.611 65.69-310.455 3.387-552.502-238.503C21.054 519.077-41.093 274.311 24.48 208.621c56.869-57.027 126.418-156.469 230.39-26.9 104.01 129.57 52.85 165.803-5.869 224.484-40.958 41.115 44.66 144.888 134.374 234.564zm287.102-128.782c-20.283 0-37.178-16.54-38.202-37.65-4.608-93.81-63.29-115.195-88.336-119.96l-.906-.119c-20.873-4.214-34.381-24.969-30.325-46.471 4.096-21.582 24.182-35.563 45.015-31.35h.276c27.49 5.278 55.136 18.117 77.742 36.076 31.073 24.692 68.92 72.109 73.133 157.728 1.024 21.779-15.24 40.407-36.31 41.628-.788.118-1.418.118-2.048.118zM628.179 36.87q0 .593 0 0 0 .593 0 0M831 511.987c-17.959 0-33.318-14.887-35.208-34.775-13.744-145.48-85.264-226.965-212.746-242.205-19.493-2.363-33.593-21.503-31.466-42.85 2.127-21.305 19.651-36.703 39.146-34.379 22.45 2.717 90.581 10.869 153.042 58.207a280.5 280.5 0 0 1 78.963 94.756c23.196 44.226 37.847 97.472 43.518 158.398 2.009 21.345-12.21 40.367-31.703 42.533-1.064.276-2.363.276-3.545.276z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,vu))}}),Cu=["aria-labelledby"],qh=(0,t.defineComponent)({__name:"Phone",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M743.3 980h-4.6c-114.5-5.9-264.9-109.7-403.5-277.5l-49.8-60C144.4 471.8 73.6 309.9 91.2 198.4 105.2 110.3 225.6 44 296.7 44c45.3 0 62 26.8 67.1 38.3 33 59.5 80.3 173.4 80.3 219.5l-1.8 11.5c-11.5 30.4-35.4 44-51.2 53-19.9 10.9-20.7 13.3-21.3 21.6.3 0 6.2 27.5 88.9 129.6l37.9 45.5c84.2 99.7 109.5 109.3 110.6 109.6 7.1.8 9.9-.1 25.4-16.6 13.2-14.3 30.6-33.3 60.6-38.1l4.1-.7 6.7.3c49.4 10.4 155.4 81.2 207.9 125.6 7.1 4.8 35 28.9 18.3 81.8C910.6 886.7 825.9 980 743.3 980M296.7 90.6c-53.1 0-150 55.7-159.5 115.1-15.3 96.8 53.6 249 184.1 407.1l49.8 60c130.4 157.9 268.2 255.4 368.7 260.6l3.4 23.3v-23.3c57.1 0 127.1-74.2 142.5-122.6 4.7-15 3.9-26.5-2.1-30.6C824.9 730.6 733 673 699.5 664.3c-14.4 3.7-22.6 12.6-32 22.8-16.4 17.5-34.1 36.2-68.3 31.3-9.2-1.4-36.7-5.6-138.1-125.5L422.8 547c-102.2-126.2-100.2-152.7-99.5-162.6 2.6-35.5 26.2-48.5 45.2-58.9 13.7-7.8 24.1-14.4 28.9-25.4-2.7-37-39.3-132.2-75.2-197.1-4.9-10.6-16.4-12.4-25.5-12.4",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Cu))}}),Nu=["aria-labelledby"],Hh=(0,t.defineComponent)({__name:"PhoneFill",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M776.45 1020.888h-.021l-5.256-.118c-122.28-6.254-287.414-121.346-441.782-307.878l-57.02-68.871C118.003 457.475 37.127 275.284 56.04 156.65 69.389 72.953 193.823 2.32 264.925 2.32c35.02 0 47.708 17.428 52.144 27.834 40.25 71.53 90.052 195.924 90.282 240.54l.015 3.175-1.139 2.965c-8.876 23.452-28.74 34.687-46.263 44.598-23.086 13.046-36.205 21.611-37.807 46.274-.476 7.484 5.979 41.53 107.822 167.072l43.541 52.577c102.125 120.523 134.256 133.496 141.779 134.569 24.627 3.425 36.223-7.373 53.936-26.788 13.483-14.785 28.78-31.563 54.02-35.259l3.195-.455 3.143.667c44.474 9.379 158.312 82.744 222.939 137.212 9.33 6.193 25.614 24.579 12.72 65.194-20.227 63.787-108.409 158.392-188.802 158.392",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Nu))}}),ku=["aria-labelledby"],Kh=(0,t.defineComponent)({__name:"Persons2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1170 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M427.07 634.525a287.15 287.15 0 0 1-288.614-252.848A291.54 291.54 0 0 1 462.689 60.37a286.42 286.42 0 0 1 255.115 285.98A299 299 0 0 1 427.069 634.38zm0-507.963a219.934 219.934 0 1 0 221.908 219.861 224.69 224.69 0 0 0-221.909-219.86M34.083 1024A36.57 36.57 0 0 1 0 990.209a426.34 426.34 0 0 1 427.07-423.193h8.703a36.57 36.57 0 0 1 34.084 33.718 37.01 37.01 0 0 1-34.084 33.791A360.95 360.95 0 0 0 68.826 990.21 38.25 38.25 0 0 1 34.084 1024m0 0 388.963-407.687a16.822 16.822 0 0 1-27.94 7.826 34 34 0 0 1-10.825-23.405 37.01 37.01 0 0 1 34.083-33.718h8.704a36.57 36.57 0 0 1 34.084 33.718 26.26 26.26 0 0 1-2.633 11.337 16.822 16.822 0 0 1-31.45-11.337zm777.267 0a36.57 36.57 0 0 1-34.084-33.791A370.1 370.1 0 0 0 668.141 729.68a15.1 15.1 0 0 0-3.218-2.486 31.377 31.377 0 0 1 0-49.151 12.4 12.4 0 0 0 1.902-2.487 32.328 32.328 0 0 1 50.686 1.39A425.68 425.68 0 0 1 853.846 985.82a16.4 16.4 0 0 1-2.267 8.485 55.8 55.8 0 0 1-40.52 29.695zm-76.798-456.984a36.57 36.57 0 0 1-34.083-33.79 37.01 37.01 0 0 1 34.083-33.792 219.934 219.934 0 1 0 0-439.796 173.93 173.93 0 0 0-109.711 32.84 16.5 16.5 0 0 1-2.706 1.61 36.57 36.57 0 0 1-38.033-6.364 15.87 15.87 0 0 1-5.12-7.314 36.57 36.57 0 0 1 8.557-35.985 16.2 16.2 0 0 1 4.096-3.291A292.56 292.56 0 0 1 734.553-.045 286.64 286.64 0 0 1 1025.288 287.4a280.495 280.495 0 0 1-290.735 279.544zm392.986 389.402a36.57 36.57 0 0 1-34.084-33.791 369.87 369.87 0 0 0-109.199-260.455 13.1 13.1 0 0 0-3.145-2.56 31.67 31.67 0 0 1 1.39-50.247 32.11 32.11 0 0 1 51.198 0 425.83 425.83 0 0 1 136.554 308.873 15.73 15.73 0 0 1-2.267 8.485 55.73 55.73 0 0 1-40.447 29.695m0 0",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,ku))}}),xu=["aria-labelledby"],jh=(0,t.defineComponent)({__name:"Persons",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M557.056 512c61.44-48.128 103.424-123.904 103.424-212.992C659.456 147.456 542.72 30.72 398.336 30.72s-261.12 123.904-261.12 268.288c0 82.944 40.96 157.696 103.424 212.992C157.696 525.312 20.48 601.088 0 786.432V993.28h803.84V786.432C783.36 601.088 646.144 532.48 557.056 512M199.68 306.176c0-109.568 89.088-199.68 199.68-199.68s199.68 89.088 199.68 199.68-89.088 199.68-199.68 199.68-199.68-90.112-199.68-199.68m535.552 618.496H55.296V793.6c20.48-185.344 185.344-212.992 192.512-212.992h288.768c7.168 0 172.032 27.648 192.512 212.992v131.072z",fill:"currentColor","fill-opacity":"0.9"},null,-1),(0,t.createTextVNode)(",",-1),(0,t.createElementVNode)("path",{d:"M824.32 512c34.816-55.296 55.296-109.568 48.128-164.864-7.168-61.44-34.816-109.568-55.296-151.552h-89.088s75.776 61.44 82.944 151.552c0 55.296-20.48 103.424-61.44 151.552l-34.816 40.96 48.128 13.312c7.168 0 185.344 61.44 192.512 288.768H1024C1024 643.072 892.928 552.96 824.32 512",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,xu))}}),Tu=["aria-labelledby"],Wh=(0,t.defineComponent)({__name:"Person2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M798.293 294.482c0-160.751-130.304-291.069-291.061-291.069a288.93 288.93 0 0 0-206.176 85.402 291.2 291.2 0 0 0-40.755 51.917c-84.409 137.014-41.762 316.501 95.252 400.91l15.05 9.352-16.688 6.106C174.5 622.513 55.08 793.115 55.02 984.081v.41c.122 14.94 12.315 26.958 27.238 26.835l.014-.007c14.926-.092 26.948-12.305 26.835-27.245.546-219.706 178.401-397.738 398.125-398.513 160.75 0 291.061-130.328 291.061-291.08m-292.898 225.18c-123.515-.78-223.013-101.556-222.228-225.078.781-123.532 101.56-223.023 225.085-222.238 122.965.785 222.232 100.693 222.229 223.665v1.413c-.782 123.525-101.56 223.024-225.086 222.239m225.697 61.01c-17.285-9.604-39.093-3.358-48.702 13.93-9.591 17.296-3.355 39.097 13.937 48.692C820.292 712.195 897.2 842.868 897.215 984.699c0 19.814 16.07 35.888 35.902 35.888 19.824 0 35.877-16.074 35.877-35.888-.116-167.858-91.156-322.478-237.902-404.026",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Tu))}}),Eu=["aria-labelledby"],Yh=(0,t.defineComponent)({__name:"Person",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M258.938 272.34c0-138.107 113.308-250.08 253.062-250.08 139.776 0 253.062 111.973 253.062 250.08a246.87 246.87 0 0 1-44.834 142.18c-8.103 11.575-43.141 47.682-51.8 54.405 10.729 2.404 54.672 16.073 72.28 24.532 102.4 47.638 171.988 141.2 171.988 248.876v171.209c0 48.706-39.736 88.197-89.222 88.197H200.526c-49.286 0-89.222-39.402-89.222-88.197V742.31c0-107.631 69.566-201.194 171.988-248.877 11.665-5.431 61.551-22.105 72.28-24.487-8.68-6.745-38.4-35.884-51.8-54.427a246.87 246.87 0 0 1-44.834-142.18m111.438 261.053c-113.775 25.51-192.178 111.994-192.178 208.918v171.23c0 12.244 9.95 22.106 22.328 22.106h622.948a22.083 22.083 0 0 0 22.328-22.105V742.31c0-96.902-78.425-183.407-192.178-208.918l-136.727-30.676 110.147-85.704a182.74 182.74 0 0 0 71.146-144.674c0-101.62-83.367-183.986-186.19-183.986-102.845 0-186.19 82.366-186.19 183.986a182.74 182.74 0 0 0 71.124 144.674l110.169 85.704z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Eu))}}),zu=["aria-labelledby"],Uh=(0,t.defineComponent)({__name:"PersonMinus",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M700.572 597.89c-29.735 15.484-55.703 37.205-76.17 63.43-46.828-25.823-100.654-40.52-157.913-40.52-180.855 0-327.467 146.612-327.467 327.467 0 25.92-21.013 46.933-46.933 46.933s-46.933-21.013-46.933-46.933c0-173.538 104.916-322.573 254.78-387.134-81.545-54.046-135.314-146.643-135.314-251.8 0-166.716 135.15-301.866 301.867-301.866s301.867 135.15 301.867 301.866c0 105.157-53.769 197.754-135.314 251.8a420.4 420.4 0 0 1 67.531 36.757zM466.49 517.333c114.876 0 208-93.124 208-208s-93.124-208-208-208-208 93.125-208 208 93.124 208 208 208m191.173 333.654c-25.92 0-46.933-21.013-46.933-46.934s21.013-46.933 46.933-46.933h289.894c25.92 0 46.933 21.013 46.933 46.933 0 25.921-21.013 46.934-46.933 46.934z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,zu))}}),$u=["aria-labelledby"],Gh=(0,t.defineComponent)({__name:"PersonAdd",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M722.433 596.936c-29.643 15.601-55.505 37.415-75.856 63.71-46.693-25.627-100.31-40.202-157.333-40.202-180.854 0-327.466 146.613-327.466 327.467 0 25.92-21.014 46.933-46.934 46.933s-46.933-21.013-46.933-46.933c0-173.917 105.373-323.221 255.759-387.554-82.093-53.952-136.292-146.87-136.292-252.446 0-166.717 135.15-301.867 301.866-301.867s301.867 135.15 301.867 301.867c0 105.577-54.2 198.494-136.292 252.446a420.4 420.4 0 0 1 67.614 36.58m-233.189-81.025c114.876 0 208-93.124 208-208s-93.124-208-208-208-208 93.124-208 208 93.125 208 208 208m289.188 333.653h-98.014c-25.92 0-46.934-21.012-46.934-46.933s21.014-46.933 46.934-46.933h98.014v-98.013c0-25.92 21.013-46.933 46.933-46.933s46.933 21.013 46.933 46.933v98.014h98.013c25.92 0 46.933 21.013 46.933 46.933s-21.013 46.934-46.933 46.934h-98.013v98.012c0 25.92-21.013 46.934-46.933 46.934s-46.933-21.014-46.933-46.934v-98.012z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,$u))}}),Bu=["aria-labelledby"],Xh=(0,t.defineComponent)({__name:"People",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M263.314 1023.999h-3.657c-29.257-3.657-51.2-29.257-51.2-58.514 14.63-149.943 142.63-270.629 292.572-270.629 29.257 0 54.857 25.6 54.857 54.857s-25.6 54.857-54.857 54.857c-95.086 0-175.543 73.143-186.515 168.229 0 29.257-25.6 51.2-51.2 51.2M526.63 585.142c-43.886 0-87.772-21.943-117.029-54.857-18.286-21.942-14.629-58.514 7.314-76.8s58.515-14.628 76.8 7.315c14.629 18.286 43.886 18.286 58.515 0 18.285-21.943 54.857-29.257 76.8-7.314 21.942 18.285 29.257 54.857 7.314 76.8-21.943 32.913-62.172 54.856-109.714 54.856M508.344 373.03c-142.629 0-277.943-29.258-409.6-84.115-29.257-10.971-40.229-43.885-29.257-73.143 10.971-29.257 43.885-40.228 73.143-29.257 117.028 51.2 237.714 73.143 365.714 73.143 95.086 0 190.17-14.628 281.6-43.886 29.257-10.971 58.514 7.315 69.486 36.572 10.97 29.257-7.315 58.514-36.572 69.486-102.4 36.57-208.457 51.2-314.514 51.2m314.513 650.97h-73.143c-80.457 0-146.285-65.829-146.285-146.286S669.257 731.43 749.714 731.43h73.143c80.457 0 146.286 65.828 146.286 146.285S903.313 1024 822.857 1024m-73.143-182.857c-21.943 0-36.571 14.628-36.571 36.571s14.628 36.572 36.57 36.572h73.144c21.943 0 36.572-14.629 36.572-36.572s-14.63-36.57-36.572-36.57zM512 804.57c-18.286 0-29.257-3.657-43.886-3.657C274.286 771.656 128 599.77 128 402.286 128 179.2 307.2 0 530.286 0S932.57 179.2 932.57 402.286c0 65.828-18.285 131.656-47.542 190.17-7.315 14.63-18.286 32.914-29.258 43.886-18.285 25.6-51.2 29.257-76.8 10.971-25.6-18.285-29.257-51.2-10.971-76.8l21.943-32.914c21.943-43.885 36.57-91.428 36.57-138.97 0-160.915-131.656-292.572-292.57-292.572S241.37 237.714 241.37 398.63c0 142.627 106.058 266.97 248.686 288.913 10.972 0 18.286 3.657 29.257 3.657 29.257 0 54.857 25.6 51.2 58.514s-29.257 54.857-58.514 54.857z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Bu))}}),Vu=["aria-labelledby"],Qh=(0,t.defineComponent)({__name:"Order",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M751.543 1024H268.8c-128 0-234.057-109.714-234.057-241.371V362.057c0-135.314 106.057-241.371 234.057-241.371V230.4c-69.486-3.657-124.343 58.514-124.343 131.657V782.63c0 73.142 54.857 131.657 124.343 131.657h486.4c65.829 0 124.343-58.515 124.343-131.657V362.057c0-73.143-54.857-131.657-124.343-131.657V120.686c128 0 234.057 109.714 234.057 241.371V782.63C985.6 914.286 883.2 1024 751.543 1024M601.6 329.143H418.743c-91.429 0-164.572-73.143-164.572-164.572S327.314 0 418.743 0H601.6c91.429 0 164.571 73.143 164.571 164.571S693.03 329.143 601.6 329.143M418.743 109.714c-29.257 0-54.857 25.6-54.857 54.857s25.6 54.858 54.857 54.858H601.6c29.257 0 54.857-25.6 54.857-54.858s-25.6-54.857-54.857-54.857zM601.6 768H418.743c-29.257 0-54.857-25.6-54.857-54.857s25.6-54.857 54.857-54.857H601.6c29.257 0 54.857 25.6 54.857 54.857S630.857 768 601.6 768m0-182.857H418.743c-29.257 0-54.857-25.6-54.857-54.857s25.6-54.857 54.857-54.857H601.6c29.257 0 54.857 25.6 54.857 54.857s-25.6 54.857-54.857 54.857",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Vu))}}),Du=["aria-labelledby"],Zh=(0,t.defineComponent)({__name:"Notice",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1027 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M940.875 819.2h-85.334V430.933c0-192-153.6-345.6-341.333-345.6s-341.333 153.6-341.333 345.6V819.2H87.541V430.933C87.542 192 279.542 0 514.208 0s426.667 192 426.667 430.933zM514.635 1024c-68.267 0-132.267-29.867-174.934-85.333-17.066-17.067-12.8-42.667 4.267-59.734 17.067-12.8 46.933-12.8 59.733 8.534 29.867 34.133 68.267 51.2 110.934 51.2s81.066-17.067 106.666-51.2c12.8-17.067 42.667-21.334 59.734-8.534 17.066 12.8 21.333 42.667 8.533 59.734C646.901 994.133 582.901 1024 514.635 1024m469.333-162.133h-12.8c-294.4-89.6-618.667-89.6-913.067 0-21.333 4.266-46.933-8.534-55.466-29.867s4.266-46.933 29.866-51.2c311.467-93.867 652.8-89.6 964.267 0 21.333 8.533 34.133 29.867 29.867 51.2-8.534 21.333-25.6 29.867-42.667 29.867",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Du))}}),Mu=["aria-labelledby"],Jh=(0,t.defineComponent)({__name:"My2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M511.863 804.296c-223.01 0-402.148-179.139-402.148-402.148S288.855 0 511.863 0s402.146 179.139 402.146 402.148-179.137 402.148-402.146 402.148m0-694.62c-160.86 0-292.472 131.613-292.472 292.472s131.612 292.47 292.472 292.47 292.472-131.61 292.472-292.469-131.613-292.472-292.472-292.472m237.633 913.973c-29.247 0-51.182-21.936-54.838-51.183-7.312-95.052-87.742-168.17-182.795-168.17s-175.483 73.118-182.795 168.17c-3.656 29.247-29.247 54.84-58.494 51.183-29.247 0-51.183-29.247-51.183-58.494 10.97-153.547 138.924-270.536 292.472-270.536s281.504 120.645 292.472 270.536c3.655 29.247-21.936 54.838-51.183 58.494zM511.863 548.383c-47.527 0-91.398-21.935-120.645-58.494-18.28-25.59-14.623-58.494 7.312-76.774 25.591-18.28 58.494-14.623 76.774 7.312s51.182 21.935 69.462 0 54.838-29.247 76.774-7.312c21.935 18.28 29.247 54.84 7.312 76.774-25.592 40.215-69.463 58.494-116.99 58.494z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Mu))}}),Au=["aria-labelledby"],e9=(0,t.defineComponent)({__name:"My",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M512 813.949c-225.805 0-406.974-183.795-406.974-406.975S286.195 0 512 0s406.974 181.17 406.974 406.974S735.18 813.95 512 813.95zm0-735.18c-181.17 0-328.205 147.036-328.205 328.205S330.83 735.18 512 735.18s328.205-147.035 328.205-328.205S693.17 78.77 512 78.77zm202.174 939.98c-21.005 0-39.384-18.38-39.384-39.385 0-89.272-73.518-162.79-162.79-162.79s-162.79 73.518-162.79 162.79c0 21.005-18.38 39.385-39.384 39.385s-39.385-18.38-39.385-39.385c0-133.908 107.651-241.559 241.559-241.559s241.559 107.651 241.559 241.56c0 21.004-15.754 39.384-39.385 39.384M512 525.129c-39.385 0-78.77-13.129-105.026-36.76-15.753-13.128-18.38-39.384-2.625-55.138 13.128-15.754 39.384-18.38 55.138-2.626 23.63 21.005 81.395 21.005 105.026 0 15.754-13.128 42.01-13.128 55.138 5.251 13.128 15.754 13.128 42.01-5.251 55.139C590.77 512 551.385 525.128 512 525.128z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Au))}}),Pu=["aria-labelledby"],t9=(0,t.defineComponent)({__name:"More",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M510.862 894.293a63.716 63.716 0 1 0 0-127.43 63.716 63.716 0 1 0 0 127.43m0-318.577a63.716 63.716 0 1 0 0-127.432 63.716 63.716 0 1 0 0 127.432m0-318.578a63.716 63.716 0 1 0 0-127.431 63.716 63.716 0 1 0 0 127.43",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Pu))}}),Iu=["aria-labelledby"],l9=(0,t.defineComponent)({__name:"MoreX",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M937.115 428.218c-43.442 0-80.679 37.237-80.679 80.679s37.237 80.679 80.68 80.679c43.442 0 80.678-37.237 80.678-80.679s-34.133-80.679-80.679-80.679m-428.218-52.751c-74.473 0-133.43 58.957-133.43 133.43s58.957 133.43 133.43 133.43 133.43-58.957 133.43-133.43-58.957-133.43-133.43-133.43M83.782 428.218c-43.443 0-80.679 37.237-80.679 80.679s34.133 80.679 80.679 80.679 80.679-37.237 80.679-80.679-37.237-80.679-80.68-80.679",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Iu))}}),Lu=["aria-labelledby"],a9=(0,t.defineComponent)({__name:"MoreS",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M48.037 510.62a77.327 77.327 0 1 0 154.655 0 77.327 77.327 0 1 0-154.655 0m386.636 0a77.327 77.327 0 1 0 154.654 0 77.327 77.327 0 1 0-154.654 0m386.635 0a77.327 77.327 0 1 0 154.655 0 77.327 77.327 0 1 0-154.655 0",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Lu))}}),Ru=["aria-labelledby"],_u=(0,t.defineComponent)({__name:"MoreH",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M879.16 976.327H147.57c-26.966 0-48.925-21.845-48.925-48.924 0-26.966 21.846-48.925 48.925-48.925h731.59c26.966 0 48.925 21.846 48.925 48.925 0 26.965-21.959 48.924-48.924 48.924m0-829.667H147.57c-26.966 0-48.925-21.846-48.925-48.925 0-26.965 21.846-48.924 48.925-48.924h731.59c26.966 0 48.925 21.845 48.925 48.924s-21.959 48.925-48.924 48.925m0 403.456H147.57c-26.966 0-48.925-21.846-48.925-48.925 0-26.965 21.846-48.924 48.925-48.924h731.59c26.966 0 48.925 21.845 48.925 48.924 0 26.965-21.959 48.925-48.924 48.925",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Ru))}}),Fu=["aria-labelledby"],n9=(0,t.defineComponent)({__name:"MoreFilled",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M632 152a120 120 0 1 1-240 0 120 120 0 0 1 240 0m0 720a120 120 0 1 1-240 0 120 120 0 0 1 240 0m0-349.152a120 120 0 1 1-240 0 120 120 0 0 1 240 0",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Fu))}}),Ou=["aria-labelledby"],r9=(0,t.defineComponent)({__name:"Minus",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M129.615 414.376h780.993c53.694 0 97.625 43.93 97.625 97.624s-43.931 97.624-97.625 97.624H129.615c-53.693 0-97.624-43.93-97.624-97.624s43.931-97.624 97.624-97.624",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Ou))}}),qu=["aria-labelledby"],o9=(0,t.defineComponent)({__name:"Mike",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M187.346 534.778a9.1 9.1 0 0 1 9.012 7.851 341 341 0 0 0 2.435 15.542c26.942 142.154 151.87 249.651 301.83 249.651 150.231 0 275.273-107.838 301.943-250.31.682-3.619 1.456-8.557 2.32-14.883a9.1 9.1 0 0 1 9.012-7.85h50.495a9.102 9.102 0 0 1 9.033 10.148c-.637 5.507-1.206 9.922-1.706 13.221-26.01 169.029-164.705 300.897-336.964 316.416v106.2a9.1 9.1 0 0 1-9.103 9.103h-50.062a9.1 9.1 0 0 1-9.102-9.103l-.023-106.2c-172.26-15.542-311-147.456-336.941-316.53a379 379 0 0 1-1.707-13.107 9.1 9.1 0 0 1 7.964-10.08l.547-.046h51.017zM500.622 34.133A216.18 216.18 0 0 1 716.8 250.311v250.311a216.178 216.178 0 0 1-432.356 0v-250.31A216.18 216.18 0 0 1 500.622 34.132m0 68.267a147.91 147.91 0 0 0-147.82 142.61l-.09 5.301v250.311a147.911 147.911 0 0 0 295.73 5.302l.091-5.302v-250.31A147.91 147.91 0 0 0 500.623 102.4",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,qu))}}),Hu=["aria-labelledby"],i9=(0,t.defineComponent)({__name:"Microphone2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M725.333 213.333H640c0-12.8 0-21.333-4.267-29.866-12.8-59.734-64-98.134-123.733-98.134s-110.933 38.4-123.733 93.867C384 192 384 200.533 384 213.333h-85.333c0-21.333 4.266-38.4 8.533-55.466C328.533 64 413.867 0 512 0s183.467 64 204.8 162.133c4.267 12.8 8.533 29.867 8.533 51.2M512 682.667c-119.467 0-213.333-93.867-213.333-213.334H384c0 72.534 55.467 128 128 128s128-55.466 128-128h85.333c0 119.467-93.866 213.334-213.333 213.334",fill:"currentColor","fill-opacity":"0.9"},null,-1),(0,t.createTextVNode)(",",-1),(0,t.createElementVNode)("path",{d:"M384 213.333h-85.333c0-21.333 4.266-38.4 8.533-55.466l81.067 21.333C384 192 384 200.533 384 213.333M512 853.333c-213.333 0-384-170.666-384-384 0-25.6 17.067-42.666 42.667-42.666s42.666 17.066 42.666 42.666C213.333 635.733 345.6 768 512 768s298.667-132.267 298.667-298.667c0-25.6 17.066-42.666 42.666-42.666S896 443.733 896 469.333c0 213.334-170.667 384-384 384M682.667 1024H341.333c-25.6 0-42.666-17.067-42.666-42.667s17.066-42.666 42.666-42.666h341.334c25.6 0 42.666 17.066 42.666 42.666S708.267 1024 682.667 1024",fill:"currentColor","fill-opacity":"0.9"},null,-1),(0,t.createTextVNode)(",",-1),(0,t.createElementVNode)("path",{d:"M512 1024c-25.6 0-42.667-17.067-42.667-42.667V810.667C469.333 785.067 486.4 768 512 768s42.667 17.067 42.667 42.667v170.666c0 25.6-17.067 42.667-42.667 42.667M341.333 512c-25.6 0-42.666-17.067-42.666-42.667v-256c0-25.6 17.066-42.666 42.666-42.666S384 187.733 384 213.333v256c0 25.6-17.067 42.667-42.667 42.667M682.667 512c-25.6 0-42.667-17.067-42.667-42.667v-256c0-25.6 17.067-42.666 42.667-42.666s42.666 17.066 42.666 42.666v256c0 25.6-17.066 42.667-42.666 42.667",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Hu))}}),Ku=["aria-labelledby"],s9=(0,t.defineComponent)({__name:"Microphone",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M512 658.286c-142.628 0-256-113.372-256-256V256C256 113.371 369.372 0 512 0s256 113.371 256 256v146.286c0 142.628-113.371 256-256 256m0-548.572c-80.457 0-146.286 65.829-146.286 146.286v146.286c0 80.457 65.829 146.285 146.286 146.285s146.286-65.828 146.286-146.285V256c0-80.457-65.829-146.286-146.286-146.286m0 731.429c-146.286 0-285.257-76.8-358.4-197.486-14.628-25.6-7.314-58.514 18.286-76.8 25.6-14.628 58.514-7.314 76.8 18.286 51.2 91.428 153.6 146.286 263.314 146.286s212.114-54.858 263.314-146.286c14.629-25.6 47.543-32.914 76.8-18.286 25.6 14.629 32.915 47.543 18.286 76.8C797.257 764.343 661.943 841.143 512 841.143M603.43 1024H420.572c-29.258 0-54.858-25.6-54.858-54.857s25.6-54.857 54.858-54.857h182.857c29.257 0 54.857 25.6 54.857 54.857S632.686 1024 603.429 1024z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Ku))}}),ju=["aria-labelledby"],c9=(0,t.defineComponent)({__name:"Message",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M879.59 1024c-5.252 0-13.128 0-18.38-2.626L706.297 981.99c-13.128 5.251-21.005 7.877-28.882 10.502-52.512 18.38-107.65 26.257-165.415 26.257C228.43 1021.374 0 792.944 0 509.374S228.43 0 512 0s512 228.43 512 509.374c0 84.02-21.005 170.667-63.015 244.185-2.626 7.877-10.503 15.754-18.38 28.882l15.754 152.287c2.626 21.005-5.251 42.01-18.38 57.764s-31.507 26.257-55.138 28.882c0 2.626-2.626 2.626-5.251 2.626M703.672 903.221c5.251 0 7.877 0 13.128 2.625l162.79 39.385-13.128-162.79c0-10.503 2.625-23.63 7.876-34.133 7.877-13.129 15.754-23.631 18.38-31.508 34.133-63.015 52.513-133.908 52.513-207.426C945.23 273.067 750.933 78.77 512 78.77S78.77 273.067 78.77 509.374C78.77 748.308 273.066 939.98 512 939.98c47.262 0 94.523-7.876 139.159-23.63 7.877-2.626 18.38-7.877 31.508-13.128 7.877 2.625 13.128 0 21.005 0zM512 735.179c-39.385 0-78.77-13.128-105.026-36.758-15.753-13.129-18.38-39.385-2.625-55.139 13.128-15.754 39.384-18.38 55.138-2.626 23.63 21.006 81.395 21.006 105.026 0 15.754-13.128 42.01-13.128 55.138 5.252 13.128 15.754 13.128 42.01-5.251 55.138-23.63 21.005-63.015 34.133-102.4 34.133",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,ju))}}),Wu=["aria-labelledby"],u9=(0,t.defineComponent)({__name:"MergeForward",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M469.333 96a32 32 0 1 1 0 64h-384a10.667 10.667 0 0 0-10.666 10.667v768c0 5.888 4.778 10.666 10.666 10.666h768A10.667 10.667 0 0 0 864 938.667v-384a32 32 0 1 1 64 0v384a74.667 74.667 0 0 1-74.667 74.666h-768a74.667 74.667 0 0 1-74.666-74.666v-768C10.667 129.45 44.117 96 85.333 96zm227.414-24.96a32 32 0 0 1 42.88-14.336l144.213 72.107a53.333 53.333 0 0 1 13.867 85.418L790.613 321.323a32 32 0 0 1-45.226-45.27l71.893-71.978C569.216 223.7 373.333 445.227 373.333 768a32 32 0 1 1-64 0c0-339.03 200.918-581.845 463.659-623.104l-61.952-30.933a32 32 0 0 1-14.336-42.923z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Wu))}}),Yu=["aria-labelledby"],d9=(0,t.defineComponent)({__name:"Menu",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M476.31 129.613v254.925q0 38.035-26.868 64.904-26.87 26.869-64.904 26.869H129.613q-37.983 0-64.903-26.87-26.87-26.868-26.87-64.903V129.613q0-37.983 26.87-64.903 26.92-26.87 64.903-26.87h254.925q38.035 0 64.904 26.87 26.869 26.92 26.869 64.903m-81.575 0q0-10.197-10.197-10.197H129.613q-10.197 0-10.197 10.197v254.925q0 10.197 10.197 10.197h254.925q10.197 0 10.197-10.197zm81.576 509.85v254.924q0 38.034-26.87 64.903-26.868 26.87-64.903 26.87H129.613q-37.983 0-64.903-26.87-26.87-26.869-26.87-64.903V639.462q0-37.984 26.87-64.904 26.92-26.869 64.903-26.869h254.925q38.035 0 64.904 26.87 26.869 26.92 26.869 64.903m-81.576 0q0-10.198-10.197-10.198H129.613q-10.197 0-10.197 10.197v254.925q0 10.197 10.197 10.197h254.925q10.197 0 10.197-10.197zm152.954-382.387q0-90.754 64.241-154.995t154.994-64.24q90.805 0 154.995 64.24 64.24 64.241 64.24 154.995 0 90.804-64.24 154.994-64.14 64.24-154.995 64.24-90.753 0-154.994-64.24-64.24-64.14-64.24-154.994m81.576 0q0 57.052 40.33 97.38 40.277 40.279 97.38 40.279 57.002 0 97.28-40.278 40.329-40.33 40.329-97.381 0-57.002-40.278-97.33-40.33-40.279-97.382-40.279-57 0-97.33 40.278-40.278 40.278-40.278 97.382zM986.16 639.462v254.925q0 38.034-26.869 64.903t-64.903 26.87H639.462q-37.984 0-64.904-26.87-26.869-26.869-26.869-64.903V639.462q0-37.984 26.87-64.904 26.92-26.869 64.903-26.869h254.925q38.034 0 64.903 26.87 26.87 26.92 26.87 64.903m-81.575 0q0-10.197-10.197-10.197H639.462q-10.197 0-10.197 10.197v254.925q0 10.197 10.197 10.197h254.925q10.197 0 10.197-10.197z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Yu))}}),Uu=["aria-labelledby"],f9=(0,t.defineComponent)({__name:"MaskClose",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M512 14.897C238.594 14.897 14.897 238.594 14.897 512S238.594 1009.103 512 1009.103 1009.103 785.406 1009.103 512 785.406 14.897 512 14.897m207.126 646.234c16.57 16.57 16.57 41.425 0 57.995s-41.425 16.57-57.995 0L512 569.996l-149.13 149.13c-16.57 16.57-41.426 16.57-57.996 0s-16.57-41.425 0-57.995L454.004 512l-149.13-149.13c-16.57-16.57-16.57-41.426 0-57.996s41.425-16.57 57.995 0L512 454.004l149.13-149.13c16.57-16.57 41.426-16.57 57.996 0s16.57 41.425 0 57.995L569.996 512z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Uu))}}),Gu=["aria-labelledby"],m9=(0,t.defineComponent)({__name:"Marshalling",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2043 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M1007.96 698.56c-274.012 0-483.005-208.993-534.092-408.697-9.288-37.154 9.289-74.308 46.443-83.597s74.309 9.289 83.597 46.443c41.799 148.617 199.704 306.522 404.053 306.522 199.704 0 362.254-157.905 404.052-311.167 9.289-37.154 46.443-60.375 83.597-51.087 37.155 9.289 60.376 46.443 51.087 83.597-51.087 204.349-260.08 417.986-538.736 417.986zm404.053 18.577c-23.221 0-46.443-13.933-60.375-37.154l-46.443-78.953c-18.577-32.51-4.644-74.309 27.865-92.886s74.309-4.644 92.886 27.866l46.443 78.953c18.577 32.51 4.644 74.308-27.866 92.885-9.288 4.645-23.221 9.289-32.51 9.289m171.839-320.455q-20.9 0-41.799-13.933l-102.174-69.665c-32.51-23.221-37.154-65.02-18.577-97.53 23.221-32.51 65.02-37.154 97.53-18.577l102.174 69.665c32.51 23.221 37.154 65.02 18.577 97.53-9.288 23.221-32.51 32.51-55.731 32.51M603.908 717.137c-9.288 0-23.221-4.644-32.51-9.289-32.51-18.577-46.443-60.375-27.866-92.885l46.443-78.953c18.577-32.51 60.376-46.443 92.886-27.866s46.443 60.376 27.866 92.886l-46.443 78.953c-9.289 23.221-32.51 37.154-60.376 37.154M432.07 396.682q-34.833 0-55.732-27.866c-23.221-32.51-13.933-74.309 18.577-97.53l102.175-69.664c27.865-23.222 69.664-13.933 92.885 13.932 23.222 32.51 13.933 74.309-18.577 97.53l-97.53 69.665q-20.9 13.933-41.798 13.933m575.89 417.985c-37.154 0-69.664-32.51-69.664-69.664v-92.886c0-37.154 32.51-69.664 69.665-69.664s69.664 32.51 69.664 69.664v92.886c0 37.154-32.51 69.664-69.664 69.664z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Gu))}}),Xu=["aria-labelledby"],h9=(0,t.defineComponent)({__name:"Lower",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M877.319 1024c-5.535 0-13.838 0-19.373-2.768L705.73 982.486c-11.07 5.536-22.14 8.303-27.676 11.07-52.584 16.606-107.935 27.676-166.054 27.676C229.708 1021.232 0 791.524 0 512 0 229.708 229.708 0 512 0s512 229.708 512 509.232c0 85.795-22.14 168.822-60.886 243.546-2.768 8.303-8.303 16.606-16.606 27.676l13.838 152.216c2.768 22.14-5.535 44.281-19.373 60.887-13.838 16.605-33.21 27.675-55.351 30.443zM702.962 899.46c5.535 0 8.303 0 13.838 2.767l163.286 41.514-16.605-160.52c0-11.07 2.768-24.907 8.303-35.978 8.302-13.838 13.838-24.908 19.373-30.443 33.21-60.886 52.584-132.843 52.584-204.8 0-235.243-193.73-426.205-428.973-426.205S83.027 273.989 83.027 509.232 276.757 935.438 512 935.438c47.049 0 94.097-8.303 138.378-22.14 8.303-2.768 16.606-5.536 30.444-11.071 8.302-2.768 13.837-2.768 22.14-2.768zM514.768 678.053c-22.141 0-41.514-19.373-41.514-41.513V384.69c0-22.14 19.373-41.513 41.514-41.513s41.513 19.373 41.513 41.514V636.54c0 24.908-19.373 41.513-41.513 41.513M512 675.286q-12.454 0-24.908-8.302l-119.006-88.562c-19.372-13.838-22.14-38.746-8.302-58.12 13.838-19.372 38.746-22.14 58.119-8.302l119.005 88.562c19.373 13.838 22.14 38.746 8.303 58.12-8.303 11.07-22.14 16.604-33.211 16.604m5.535 0q-20.757 0-33.21-16.605c-13.839-19.373-8.303-44.281 8.302-58.119L611.632 512c19.373-13.838 44.282-8.303 58.12 8.303 13.837 19.373 8.302 44.28-8.303 58.119l-119.006 88.562q-12.453 8.302-24.908 8.302",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Xu))}}),Qu=["aria-labelledby"],p9=(0,t.defineComponent)({__name:"Locked",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M507.52 4.48A251.52 251.52 0 0 1 759.04 256l-.064 123.52H832c46.656 0 84.48 37.824 84.48 84.48v473.6A84.48 84.48 0 0 1 832 1024H192a84.48 84.48 0 0 1-84.48-84.48V464c0-46.656 37.824-84.48 84.48-84.48h63.936L256 256A251.52 251.52 0 0 1 507.52 4.48M832 444.16H192A19.84 19.84 0 0 0 172.16 464v473.6A19.84 19.84 0 0 0 192 960h640a19.84 19.84 0 0 0 19.84-19.84V464A19.84 19.84 0 0 0 832 444.16m-320.64 128A90.24 90.24 0 0 1 544 746.56v79.04a32 32 0 0 1-32 32.64 32.64 32.64 0 0 1-32.64-32.64l-.064-78.848A90.24 90.24 0 0 1 511.36 572.16m-3.52-493.824A197.12 197.12 0 0 0 311.68 256l-.064 123.52h392.32L704 256A197.12 197.12 0 0 0 507.84 78.336",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Qu))}}),Zu=["aria-labelledby"],g9=(0,t.defineComponent)({__name:"Location3",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"m499.512 1001.522-9.99-7.493c-34.966-22.478-52.449-34.966-59.942-39.96-102.4-82.42-164.839-137.367-194.81-169.835-44.955-49.951-77.424-92.41-107.394-142.36-32.469-62.44-52.45-134.87-52.45-209.796 0-114.888 44.957-224.78 127.376-304.702C284.722 44.956 394.615 0 512 0s227.278 44.956 309.698 127.376S949.073 317.19 949.073 432.078c0 74.927-19.98 147.356-54.946 209.795-24.976 44.956-59.942 89.912-104.898 142.361-27.473 32.468-89.912 84.917-197.307 172.332-2.498 2.497-9.99 7.493-47.454 32.468-9.99 7.493-22.478 9.99-32.468 12.488zM512 74.927c-97.405 0-187.317 37.463-257.249 104.897-67.434 67.435-104.897 157.347-104.897 252.254 0 59.942 14.985 122.38 44.956 174.83 24.975 44.955 57.444 84.916 97.405 129.872 24.975 29.971 87.414 82.42 184.82 159.844 2.497 2.498 12.487 9.99 34.965 22.478 17.483-12.487 29.97-19.98 32.468-22.478 99.903-79.922 164.84-134.868 187.317-162.341 42.459-49.951 72.43-89.912 94.908-132.37 29.97-52.45 44.956-112.391 44.956-174.83 0-94.907-37.464-184.82-104.898-252.254C699.317 112.39 609.405 74.927 512 74.927m0 549.463c-102.4 0-187.317-84.917-187.317-187.317S409.6 249.756 512 249.756s187.317 84.917 187.317 187.317S614.4 624.39 512 624.39m0-299.707c-62.439 0-112.39 49.951-112.39 112.39s49.95 112.39 112.39 112.39 112.39-49.95 112.39-112.39-49.95-112.39-112.39-112.39",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Zu))}}),Ju=["aria-labelledby"],y9=(0,t.defineComponent)({__name:"Location2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"m530.286 1005.714-25.6-10.971c-36.572-14.629-58.515-25.6-73.143-36.572-102.4-84.114-164.572-135.314-193.829-171.885-43.885-51.2-76.8-91.429-106.057-142.629C95.086 577.83 76.8 504.686 76.8 431.543c0-117.029 43.886-226.743 128-307.2C285.257 43.886 394.971 0 512 0s226.743 43.886 310.857 128c84.114 80.457 128 190.171 128 307.2 0 73.143-18.286 146.286-54.857 212.114-25.6 43.886-58.514 91.429-106.057 142.629-29.257 32.914-87.772 84.114-197.486 171.886 0 0-7.314 7.314-18.286 10.971zM497.37 874.057s3.658 3.657 14.629 7.314c3.657-3.657 7.314-3.657 10.971-7.314 98.744-76.8 160.916-131.657 182.86-157.257 40.228-47.543 69.485-87.771 91.428-128 25.6-47.543 40.229-102.4 40.229-157.257 0-87.772-32.915-168.229-95.086-230.4-58.514-58.514-142.629-91.429-230.4-91.429S340.114 142.63 277.943 204.8c-62.172 62.171-95.086 142.629-95.086 230.4 0 54.857 14.629 109.714 40.229 157.257 25.6 43.886 54.857 80.457 95.085 124.343 25.6 29.257 84.115 80.457 179.2 157.257zm18.286-248.686c-102.4 0-182.857-80.457-182.857-182.857s80.457-182.857 182.857-182.857 182.857 80.457 182.857 182.857-80.457 182.857-182.857 182.857m0-256c-40.228 0-73.143 32.915-73.143 73.143s32.915 73.143 73.143 73.143 73.143-32.914 73.143-73.143-32.914-73.143-73.143-73.143",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Ju))}}),e2=["aria-labelledby"],b9=(0,t.defineComponent)({__name:"Location",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M512 971.487C259.938 971.487 52.513 764.062 52.513 512S259.938 52.513 512 52.513 971.487 259.938 971.487 512 764.062 971.487 512 971.487m0-840.205c-210.051 0-380.718 170.667-380.718 380.718S301.95 892.718 512 892.718 892.718 722.05 892.718 512 722.05 131.282 512 131.282m0 577.641c-107.651 0-196.923-89.272-196.923-196.923S404.349 315.077 512 315.077 708.923 404.349 708.923 512 619.651 708.923 512 708.923m0-315.077c-65.641 0-118.154 52.513-118.154 118.154S446.36 630.154 512 630.154 630.154 577.64 630.154 512 577.64 393.846 512 393.846m0-210.051c-21.005 0-39.385-18.38-39.385-39.385V39.385C472.615 18.379 490.995 0 512 0s39.385 18.38 39.385 39.385V144.41c0 21.005-18.38 39.385-39.385 39.385M512 1024c-21.005 0-39.385-18.38-39.385-39.385V879.59c0-21.005 18.38-39.385 39.385-39.385s39.385 18.38 39.385 39.385v105.025c0 21.006-18.38 39.385-39.385 39.385m472.615-472.615H879.59c-21.005 0-39.385-18.38-39.385-39.385s18.38-39.385 39.385-39.385h105.025c21.006 0 39.385 18.38 39.385 39.385s-18.38 39.385-39.385 39.385m-840.205 0H39.385C18.379 551.385 0 533.005 0 512s18.38-39.385 39.385-39.385H144.41c21.005 0 39.385 18.38 39.385 39.385s-18.38 39.385-39.385 39.385",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,e2))}}),t2=["aria-labelledby"],S9=(0,t.defineComponent)({__name:"Loading2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M520.665 64.564a29.2 29.2 0 0 0-7.071-.894c-16.211 0-29.35 13.14-29.35 29.35 0 15.83 12.538 28.696 28.223 29.293v.073c.375 0 .751-.014 1.127-.014 216.493 0 389.629 173.942 389.629 390.433 0 216.496-173.136 388.827-389.63 388.827s-389.63-172.333-389.63-388.829c0-.27.01-.536.01-.804h-.01c0-16.209-13.141-29.35-29.35-29.35s-29.35 13.139-29.35 29.35c0 .055.007.11.007.164-.001.214-.007.425-.007.64 0 247.609 200.722 448.331 448.33 448.331s448.33-200.722 448.33-448.33c-.002-245.242-196.917-444.456-441.258-448.24",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,t2))}}),l2=["aria-labelledby"],gl=(0,t.defineComponent)({__name:"Loading",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M784 902.4c9.6 19.2 6.4 41.6-12.8 54.4-19.2 9.6-41.6 3.2-51.2-12.8-9.6-19.2-6.4-41.6 12.8-54.4 16-12.8 38.4-8 51.2 12.8M550.4 984c0 22.4-16 38.4-38.4 38.4s-38.4-16-38.4-38.4v-24c0-22.4 19.2-38.4 41.6-38.4 19.2 0 35.2 16 38.4 38.4v25.6h-3.2zm-240-43.2c-9.6 19.2-35.2 25.6-54.4 16s-25.6-35.2-16-51.2l28.8-51.2c9.6-19.2 35.2-25.6 54.4-16s25.6 35.2 12.8 54.4zM121.6 784c-19.2 9.6-41.6 3.2-54.4-16-9.6-19.2-6.4-41.6 12.8-54.4l76.8-44.8c19.2-9.6 41.6-3.2 54.4 16 9.6 19.2 3.2 41.6-16 54.4zM38.4 552C16 552 0 536 0 513.6s16-38.4 38.4-38.4H160c22.4 0 38.4 19.2 38.4 38.4 0 22.4-16 38.4-38.4 38.4zm44.8-241.6c-19.2-9.6-25.6-35.2-16-51.2 9.6-19.2 35.2-25.6 54.4-16L256 320c19.2 9.6 25.6 35.2 16 54.4s-35.2 25.6-54.4 16zm160-185.6 92.8 160c9.6 19.2 35.2 25.6 54.4 12.8s25.6-35.2 12.8-54.4l-92.8-160C297.6 64 275.2 60.8 256 70.4c-16 12.8-22.4 33.6-12.8 54.4M473.6 40c0-22.4 16-38.4 38.4-38.4s38.4 19.2 38.4 38.4v184c0 22.4-19.2 38.4-38.4 38.4-22.4 0-38.4-19.2-38.4-38.4zm240 43.2c9.6-19.2 35.2-25.6 54.4-16s25.6 35.2 16 51.2l-92.8 160c-9.6 19.2-35.2 25.6-54.4 16S611.2 259.2 624 240zm188.8 160-160 92.8c-19.2 9.6-25.6 35.2-16 54.4 12.8 19.2 35.2 25.6 54.4 12.8l160-92.8c19.2-9.6 25.6-35.2 12.8-54.4-9.6-16-32-25.6-51.2-12.8M985.6 472c22.4 0 38.4 16 38.4 38.4s-16 38.4-38.4 38.4H800c-22.4 0-38.4-19.2-38.4-38.4 0-22.4 19.2-38.4 38.4-38.4z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,l2))}}),a2=["aria-labelledby"],w9=(0,t.defineComponent)({__name:"Link",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M313.034 1004.045c-66.848 0-124.402-24.156-170.798-70.577l-40.854-40.829C54.96 846.218 28.966 783.097 30.83 714.411c3.702-66.85 31.56-131.808 79.819-180.12l137.4-137.373c14.86-14.861 40.855-14.861 55.69 0 14.86 14.861 16.725 38.99 0 55.69l-137.348 137.4a187.47 187.47 0 0 0-55.69 126.24c-1.864 46.422 14.835 89.115 46.396 120.675l40.855 40.855c31.56 31.56 74.253 48.286 120.674 46.421 46.421-1.838 92.843-22.291 126.24-55.69l137.4-137.4c14.862-14.86 40.856-14.86 55.69 0 14.862 14.862 14.862 40.856 0 55.69l-137.4 137.427c-48.285 48.259-113.27 76.117-180.118 79.82a5.645 5.645 0 0 0-7.405 0zm475.294-382.477c-11.133 0-18.563-3.702-27.832-12.997-14.86-14.861-14.86-40.855 0-55.69l115.082-115.108a187.47 187.47 0 0 0 55.716-126.267c1.838-46.395-14.861-89.114-46.421-120.674l-40.855-40.855c-64.985-64.959-176.364-61.257-246.915 9.294L478.266 278.108c-14.835 14.835-40.829 14.835-55.69 0-14.86-14.861-14.86-40.855 0-55.716l118.81-118.81C643.524 1.444 803.163-2.232 899.734 94.287l40.829 40.855c46.421 46.421 72.415 109.541 70.55 178.228-3.702 66.85-31.56 131.807-79.819 180.093L816.186 608.571c-7.43 7.43-18.563 11.133-27.858 12.997m-332.327-1.864c-11.16 0-18.564-3.702-27.832-12.997-14.888-14.835-14.888-40.829 0-55.69l148.506-148.532c14.861-14.862 40.855-14.862 55.69 0 14.861 14.86 14.861 40.854 0 55.69L483.832 606.706c-7.404 7.43-18.563 11.159-27.831 12.997z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,a2))}}),n2=["aria-labelledby"],r2=(0,t.defineComponent)({__name:"Left",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M642.973 1005.542 321.912 587.098a123.28 123.28 0 0 1 0-150.17l321.06-418.443a47.182 47.182 0 0 1 74.83 57.422l-321.088 418.47a28.994 28.994 0 0 0 0 35.3l321.088 418.47a47.155 47.155 0 0 1-74.83 57.395",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,n2))}}),o2=["aria-labelledby"],v9=(0,t.defineComponent)({__name:"JoySmile",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 3072 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M2872.821 445.756A239.976 239.976 0 1 0 2541.654 98.27c-579.18 551.584-1489.407 551.584-2068.589 0A240.094 240.094 0 0 0 141.9 445.758c764.682 728.205 1966.12 728.205 2730.921 0",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,o2))}}),i2=["aria-labelledby"],C9=(0,t.defineComponent)({__name:"Jdl",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1181 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M964.923 1024c-98.461 0-181.17-66.954-208.738-157.538H543.508C515.938 957.046 433.23 1024 334.769 1024s-185.107-66.954-208.738-161.477C59.077 846.77 7.877 787.693 0 716.8V448.985c0-27.57 11.815-51.2 27.57-70.893l153.6-153.6c15.753-15.754 39.384-23.63 63.015-23.63h70.892v-15.754C315.077 82.708 401.723 0 504.123 0h405.662c149.661 0 271.753 122.092 271.753 271.754v535.63c0 118.154-98.461 216.616-216.615 216.616M496.246 748.308h307.2c35.446 0 63.016 27.569 63.016 59.077v7.877c3.938 47.261 47.261 86.646 98.461 86.646 55.139 0 98.462-43.323 98.462-98.462V271.754c0-82.708-70.893-153.6-153.6-153.6H504.123c-39.385 0-66.954 31.508-66.954 66.954v59.077c0 39.384-31.507 70.892-74.83 70.892h-102.4L118.153 456.862v256c0 19.692 19.692 35.446 39.384 35.446h11.816c35.446 0 63.015 27.569 63.015 59.077V819.2c11.816 51.2 51.2 86.646 102.4 86.646s90.585-35.446 98.462-82.708V819.2c0-43.323 27.569-70.892 63.015-70.892zM374.154 472.615c-31.508 0-59.077-27.569-59.077-59.077V256c0-31.508 27.57-59.077 59.077-59.077S433.23 224.493 433.23 256v157.538c0 31.508-27.57 59.077-59.077 59.077z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,i2))}}),s2=["aria-labelledby"],N9=(0,t.defineComponent)({__name:"ItemsForward",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M948.907 677.15a36.41 36.41 0 0 1 36.154 32.15l.255 4.26v182.044a109.227 109.227 0 0 1-102.82 109.045l-6.407.182H147.91A109.227 109.227 0 0 1 38.866 902.012l-.182-6.408V713.56a36.409 36.409 0 0 1 72.563-4.26l.255 4.26v182.044a36.41 36.41 0 0 0 32.15 36.154l4.26.255h728.177a36.41 36.41 0 0 0 36.154-32.186l.255-4.223V713.56a36.41 36.41 0 0 1 36.409-36.41M789.436 7.519l3.167 2.84 205.965 205.965a36.41 36.41 0 0 1 2.84 48.315l-2.84 3.168L792.603 473.77a36.409 36.409 0 0 1-54.322-48.315l2.84-3.168 143.087-143.16H329.956a36.41 36.41 0 0 0-36.154 32.186l-.255 4.224v438.8a36.409 36.409 0 0 1-72.563 4.26l-.255-4.26v-438.8a109.227 109.227 0 0 1 102.819-109.045l6.408-.182h555.636l-144.47-144.47a36.41 36.41 0 0 1-2.84-48.315l2.84-3.168a36.41 36.41 0 0 1 48.314-2.84",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,s2))}}),c2=["aria-labelledby"],k9=(0,t.defineComponent)({__name:"Issue",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M512 1024C229.831 1024 0 794.169 0 512S229.831 0 512 0s512 229.831 512 512-229.831 512-512 512m0-955.733C266.24 68.267 68.267 266.24 68.267 512S266.24 955.733 512 955.733 955.733 757.76 955.733 512 757.76 68.267 512 68.267m31.858 377.742c18.204 0 34.133 15.929 34.133 34.133 0 2.276 0 15.93-2.275 18.205l-34.134 195.697h29.582c18.205 0 34.134 15.93 34.134 34.134s-15.93 34.133-34.134 34.133h-91.022c-18.204 0-34.133-15.929-34.133-34.133v-20.48L480.142 512H450.56c-18.204 0-34.133-15.929-34.133-34.133s15.929-34.134 34.133-34.134h93.298zm-34.134-207.076c38.685 0 68.267 29.583 68.267 68.267s-29.582 68.267-68.267 68.267-68.266-29.583-68.266-68.267 29.582-68.267 68.266-68.267",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,c2))}}),u2=["aria-labelledby"],x9=(0,t.defineComponent)({__name:"Introduce",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M184.32 147.911a36.41 36.41 0 0 0-36.409 36.409v655.36a36.41 36.41 0 0 0 36.409 36.409h655.36a36.41 36.41 0 0 0 36.409-36.409V445.226a36.409 36.409 0 0 1 72.818 0V839.68A109.227 109.227 0 0 1 839.68 948.907H184.32A109.227 109.227 0 0 1 75.093 839.68V184.32A109.227 109.227 0 0 1 184.32 75.093h194.205a36.409 36.409 0 0 1 0 72.818zm291.271 327.68A364.09 364.09 0 0 1 839.68 111.502h36.409a36.409 36.409 0 0 1 0 72.818H839.68a291.27 291.27 0 0 0-291.271 291.271v57.745l47.04-47.113a36.409 36.409 0 1 1 51.555 51.554L537.777 647.004a36.41 36.41 0 0 1-51.554 0L376.996 537.777a36.409 36.409 0 1 1 51.555-51.554l47.04 47.113z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,u2))}}),d2=["aria-labelledby"],T9=(0,t.defineComponent)({__name:"Image",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M875.905 917.92h-523.27l-223.396-.442a20 20 0 0 1-1.933-.098c-26.506-2.65-51.014-14.997-69.01-34.768C40.174 862.702 30.19 836.9 30.19 809.96V248.134c0-59.528 48.43-107.958 107.96-107.958h737.754c59.529 0 107.957 48.43 107.957 107.958v240.548q0 .44-.019.88c-.023.528-2.103 55.172 16.513 91.16 5.032 9.727 1.225 21.69-8.501 26.723-9.725 5.029-21.69 1.227-26.723-8.501-22.72-43.922-21.168-104.153-20.927-110.656V248.135c0-37.66-30.64-68.3-68.299-68.3H138.15c-37.662 0-68.3 30.64-68.3 68.3v561.826c0 34.938 25.942 63.955 60.499 67.86l222.326.44h523.232c37.66 0 68.299-30.64 68.299-68.3l-.408-99.923c-.112-1.866-1.692-20.85-20.853-45.333l-.157-.203-23.16-30.388-125.041-165.46c-.444-.587-41.595-54.242-92.024-48.57-40.89 4.603-81.019 48.175-116.043 126.008-18.789 41.75-36.96 72.82-55.554 94.982-18.78 22.385-38.058 35.755-58.934 40.872-46.318 11.347-86.453-20.262-128.946-53.732l-5.394-4.245c-49.659-39.016-73.334-30.106-168.886 63.576-7.818 7.667-20.373 7.542-28.041-.278-7.666-7.818-7.542-20.373.277-28.04 49.77-48.795 82.714-77.575 114.225-89.901 35.582-13.918 68.56-6.685 106.925 23.46l5.432 4.275c36.185 28.502 67.435 53.115 94.965 46.365 27.326-6.697 56.853-44.921 87.765-113.61 41.75-92.774 91.56-142.962 148.05-149.172 73.018-8.016 125.68 61.232 127.885 64.184l124.93 165.312 23.04 30.233c28.029 35.873 29.156 65.749 29.192 69.04v.137l.41 100.33c.001 59.61-48.426 108.04-107.956 108.04z",fill:"currentColor","fill-opacity":"0.9"},null,-1),(0,t.createTextVNode)(",",-1),(0,t.createElementVNode)("path",{d:"M299.017 442.633c-45.147 0-81.877-36.73-81.877-81.878s36.73-81.876 81.878-81.876 81.876 36.73 81.876 81.877-36.73 81.877-81.877 81.877m0-124.096c-23.28 0-42.218 18.94-42.218 42.218s18.939 42.219 42.219 42.219 42.217-18.94 42.217-42.219-18.938-42.218-42.218-42.218",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,d2))}}),f2=["aria-labelledby"],E9=(0,t.defineComponent)({__name:"ImageError",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M721.84 458.809c46.206 0 83.661-37.228 83.661-83.16s-37.501-83.15-83.66-83.15-83.673 37.229-83.673 83.15 37.456 83.16 83.672 83.16m-182.83 210.91-311.307-295.14a63.9 63.9 0 0 0-17.476 13.176L80.521 523.867l-6.827-253.463c-.83-30.515 23.711-56.217 54.238-57.048l229.57-6.19 53.862-56.888-284.934 7.68c-61.577 1.706-110.126 52.724-108.476 113.97l8.329 308.794 5.12 189.758c1.66 61.236 52.85 109.557 114.46 107.884l200.249-5.404 13.653-.364 53.863-56.889L545.815 676.17z",fill:"currentColor","fill-opacity":"0.9"},null,-1),(0,t.createTextVNode)(",",-1),(0,t.createElementVNode)("path",{d:"m909.892 173.852-276.286-38.525-62.68 47.173 331.332 46.193a55.81 55.81 0 0 1 47.548 62.726L887.99 734.686 750.467 553.722a68.107 68.107 0 0 0-95.039-13.278l-50.062 37.638 74.035 98.02-62.907 47.525-90.533 68.38-62.487 47.195 38.878 5.416 308.03 42.962a110.99 110.99 0 0 0 125.02-90.567 25.5 25.5 0 0 0 .739-3.914l68.87-493.977c8.465-60.667-34.077-116.759-95.119-125.27",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,f2))}}),m2=["aria-labelledby"],z9=(0,t.defineComponent)({__name:"Horn2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M922.514 789.611h.07v-.42ZM776.028 148.82c-5.478-3.288-10.925-5.975-17.57-5.975-16.229 0-29.308 13.152-29.308 29.361 0 11.703 6.927 21.072 16.72 26.391 107.724 62.86 180.16 179.528 180.16 313.235 0 133.603-72.368 250.233-179.95 313.094-9.437 5.164-17.57 14.849-17.57 26.833 0 16.227 13.152 29.377 29.345 29.377 6.504 0 11.666-2.505 17.323-5.76 125.009-72.97 209.083-208.377 209.083-363.544.002-154.814-83.715-289.953-208.233-363.012",fill:"currentColor","fill-opacity":"0.9"},null,-1),(0,t.createTextVNode)(",",-1),(0,t.createElementVNode)("path",{d:"M810.037 511.85c0-90.983-49.316-170.37-122.677-213.094-3.323-1.733-11.134-5.144-16.616-5.144-16.299 0-29.485 13.187-29.485 29.468 0 10.941 5.799 20.682 14.638 25.79 56.706 32.207 94.959 93.103 94.959 162.98 0 71.08-39.597 132.912-97.93 164.694-8.485 5.164-14.105 14.568-14.105 25.245 0 16.3 13.186 29.519 29.449 29.519 6.93.036 15.167-4.031 15.167-4.031 75.516-42.14 126.6-122.782 126.6-215.427M545.416 71.307c-12.34-5.939-27.012-4.312-37.792 4.224-.496.408-52.82 42.001-110.587 84.533-100.475 74.048-129.748 86.386-135.688 88.348h-125.86c-.726 0-1.415.07-2.14.106H69.06c-16.191 0-29.326 13.134-29.326 29.326v468.42c0 16.227 13.099 29.311 29.327 29.311l215.621.032c5.798 2.122 33.446 14.882 122.609 87.608 51.898 42.283 98.423 83.61 98.918 84.002 6.646 5.938 15.131 9.012 23.689 9.012 4.948 0 9.933-1.059 14.635-3.146a35.67 35.67 0 0 0 21.07-32.563s.035-110.657.035-150.428c.92-2.827 1.381-5.835 1.381-8.947 0-3.177-1.417-657.666-1.417-657.666 0-13.716-7.846-26.197-20.185-32.172M507.8 756.02c0 1.7-.532 107.654-.532 107.654-15.803-13.364-33.374-28.035-51.474-42.675-119-96.372-148.486-104.466-168.426-104.466-.423 0-.777.103-1.166.103s-.743-.103-1.167-.103H123.33c-20.523 0-25.314-5.836-25.314-26.45v-359.49c0-14.02 1.662-22.822 18.543-22.822h145.71c19.445 0 49.284-7.954 179.528-103.356 23.192-16.97 45.887-34.063 65.473-49.054 0 0 .425 506.548.532 593.202-.603 2.403-.001 4.913-.001 7.457",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,m2))}}),h2=["aria-labelledby"],$9=(0,t.defineComponent)({__name:"Horn",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M646.169 56.055c-10.146-4.516-22.022-2.697-30.32 4.78L342.443 306.97h-158.11c-82.587 0-112.6 67.326-112.6 112.6v168.872c0 82.601 67.34 112.6 112.6 112.6h158.14l273.435 246.078a27.96 27.96 0 0 0 18.826 7.272c3.87 0 7.83-.79 11.494-2.405 10.175-4.515 16.655-14.662 16.655-25.746V81.771c0-11.084-6.48-21.142-16.714-25.716m-39.586 806.967L372.03 652.015a27.94 27.94 0 0 0-18.797-7.273h-168.9c-9.398 0-56.299-2.756-56.299-56.3V419.57c0-9.411 2.698-56.3 56.3-56.3h168.9c6.978 0 13.665-2.609 18.855-7.271l234.496-211.007v718.03zm168.9-527.902c7.272 0 14.427-2.755 19.881-8.239l112.6-112.572c10.968-10.996 10.968-28.824 0-39.79-10.965-10.997-28.853-10.997-39.819 0L755.543 287.09c-10.966 10.996-10.966 28.824 0 39.792a28.3 28.3 0 0 0 19.94 8.238m168.9 140.722h-168.9c-15.482 0-28.15 12.638-28.15 28.178 0 15.512 12.668 28.12 28.15 28.12h168.901c15.6 0 28.15-12.608 28.15-28.12 0-15.54-12.551-28.178-28.151-28.178m-149.02 205.319c-10.965-10.966-28.853-10.966-39.82 0-10.966 10.996-10.966 28.854 0 39.82l112.601 112.6a28.4 28.4 0 0 0 19.94 8.211c7.27 0 14.426-2.756 19.88-8.21 10.967-10.967 10.967-28.825 0-39.82z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,h2))}}),p2=["aria-labelledby"],B9=(0,t.defineComponent)({__name:"Horizontal",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1090 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M977.455 124.121H46.545C21.721 124.121 0 102.4 0 77.576S21.721 31.03 46.545 31.03h930.91c24.824 0 46.545 21.722 46.545 46.546s-21.721 46.545-46.545 46.545m0 868.849H46.545C21.721 992.97 0 971.248 0 946.424s21.721-46.545 46.545-46.545h930.91c24.824 0 46.545 21.721 46.545 46.545s-21.721 46.546-46.545 46.546m0-434.425H356.848c-24.824 0-46.545-21.72-46.545-46.545s21.721-46.545 46.545-46.545h620.607c24.824 0 46.545 21.72 46.545 46.545s-21.721 46.545-46.545 46.545",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,p2))}}),g2=["aria-labelledby"],V9=(0,t.defineComponent)({__name:"HorizontalN",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M977.455 124.121H46.545C21.721 124.121 0 102.4 0 77.576S21.721 31.03 46.545 31.03h930.91c24.824 0 46.545 21.722 46.545 46.546s-21.721 46.545-46.545 46.545m0 868.849H46.545C21.721 992.97 0 971.248 0 946.424s21.721-46.545 46.545-46.545h930.91c24.824 0 46.545 21.721 46.545 46.545s-21.721 46.546-46.545 46.546m0-434.425H356.848c-24.824 0-46.545-21.72-46.545-46.545s21.721-46.545 46.545-46.545h620.607c24.824 0 46.545 21.72 46.545 46.545s-21.721 46.545-46.545 46.545",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,g2))}}),y2=["aria-labelledby"],D9=(0,t.defineComponent)({__name:"Home",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M892.857 251.395 653.738 81.513c-50.985-36.25-76.987-54.554-104.774-61.539a153.2 153.2 0 0 0-73.928 0c-27.787 6.934-53.738 25.289-104.774 61.539l-239.12 169.882c-37.88 26.92-57 40.533-70.613 57.97-11.982 15.295-20.904 32.732-26.41 51.392-6.17 21.21-6.119 44.714-5.915 91.212l1.326 304.89c.357 85.298.714 128.94 17.692 161.367 14.581 27.94 37.525 50.832 65.566 65.26 32.529 16.826 76.12 17.03 161.47 17.03h475.485c85.348 0 128.991-.204 161.469-16.978 28.041-14.48 50.985-37.372 65.566-65.261 16.978-32.477 17.335-76.12 17.692-161.47l1.326-304.889c.204-46.447.306-69.951-5.915-91.16a153.1 153.1 0 0 0-26.41-51.394c-13.613-17.436-32.732-31.05-70.614-57.97M529.284 99.103q13.052 3.263 77.242 48.843l239.068 169.882q47.263 33.65 53.687 41.807 8.464 10.758 12.288 23.963 2.906 9.942 2.65 67.963l-1.325 304.89q-.51 108.75-8.412 123.995-10.503 20.14-30.693 30.54-15.245 7.903-124.046 7.903H274.257q-108.801 0-124.046-7.903-20.19-10.4-30.693-30.59-7.953-15.194-8.412-123.996l-1.326-304.89q-.255-57.97 2.651-67.912 3.875-13.205 12.339-23.963 6.373-8.157 53.636-41.807l239.119-169.882q64.19-45.58 77.191-48.843 17.335-4.283 34.568 0",fill:"currentColor","fill-opacity":"0.9"},null,-1),(0,t.createTextVNode)(",",-1),(0,t.createElementVNode)("path",{d:"M466.114 918.94h86.674V584.989a43.337 43.337 0 0 0-86.674 0z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,y2))}}),b2=["aria-labelledby"],M9=(0,t.defineComponent)({__name:"History",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1029 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M716.629 477.798H511.966V204.902c0-18.91-15.19-34.235-34.1-34.235-18.943 0-34.133 15.36-34.133 34.235v306.996a34.037 34.037 0 0 0 34.134 34.133h238.796c18.944 0 34.236-15.19 34.236-34.133 0-18.91-15.326-34.1-34.27-34.1M204.8 307.2H102.4V204.8c0-18.842-15.292-34.133-34.133-34.133S34.133 185.958 34.133 204.8v136.533c0 18.842 15.292 34.134 34.134 34.134H204.8c18.842 0 34.133-15.292 34.133-34.134S223.642 307.2 204.8 307.2m-90.658 302.387c-3.209-20.787-16.794-32.153-35.635-32.153-18.842 0-32.12 14.916-32.12 33.792 0 5.905 2.116 10.65 2.492 16.35 51.746 207.94 239.138 362.29 463.121 362.29 263.919 0 477.867-213.947 477.867-477.866S775.919 34.133 512 34.133c-203.708 0-377.173 127.693-445.918 307.2h73.933C204.765 200.431 346.76 102.4 512 102.4c226.202 0 409.6 183.398 409.6 409.6S738.202 921.6 512 921.6c-190.805 0-350.652-130.628-396.186-307.2",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,b2))}}),S2=["aria-labelledby"],A9=(0,t.defineComponent)({__name:"Heart",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1144 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"m592.47 989.176-50.823-31.06s-112.941-73.41-228.705-177.88C245.176 718.116 191.53 656 149.176 596.706q-38.118-55.059-59.294-110.118c-16.94-42.352-25.412-84.706-25.412-124.236 0-42.352 8.472-84.705 25.412-124.234q25.411-55.059 67.765-101.648c28.235-28.234 64.941-50.823 101.647-67.764 93.176-39.53 206.118-31.06 293.648 22.588l33.88 25.412 33.884-25.412c87.53-53.646 200.47-62.118 293.646-22.588Q973.647 94.118 1016 136.47q46.59 42.355 67.764 101.648c16.941 39.53 25.412 81.882 25.412 124.235 0 39.53-8.47 81.883-25.412 124.235-14.117 33.882-33.88 73.412-59.294 110.118-39.528 59.294-93.176 121.412-163.764 183.53C750.588 881.88 643.294 952.47 632 958.116zM389.176 128c-31.06 0-62.118 5.648-90.352 16.94q-42.354 16.943-76.236 50.824c-22.588 22.588-39.53 45.178-50.824 73.412C160.47 297.412 152 328.47 152 359.53s5.647 62.117 19.764 96q16.942 46.589 50.824 93.176c36.706 53.646 87.53 110.118 149.648 169.412C479.53 816.94 586.824 887.53 589.647 887.53l5.647 2.823 2.824-2.823c5.646-2.824 110.118-70.588 217.412-169.412 62.117-59.294 112.94-115.766 149.646-169.412Q999.06 497.884 1016 455.53c14.118-33.882 19.764-64.94 19.764-96s-5.646-62.12-19.764-90.354c-11.294-28.234-28.236-50.823-50.824-73.412-25.412-22.588-48-39.528-76.234-50.822-67.766-28.236-152.472-22.59-217.412 16.94l-25.412 16.94c-8.47 5.648-14.118 14.12-22.588 19.766l-31.06 33.882-31.06-31.06c-8.468-8.468-14.116-14.116-22.586-19.762l-25.412-16.942C476.706 139.294 434.352 128 389.176 128",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,S2))}}),w2=["aria-labelledby"],P9=(0,t.defineComponent)({__name:"HeartFill",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M979.627 252.132c-15.247-35.385-37.092-67.016-64.74-94.208-27.648-27.08-59.733-48.242-95.573-63.147-36.978-15.36-76.118-23.097-116.509-23.097-56.092 0-110.82 15.36-158.378 44.373A297 297 0 0 0 512 138.923a297 297 0 0 0-32.427-22.87C432.014 87.04 377.287 71.68 321.195 71.68c-40.391 0-79.531 7.737-116.509 23.097-35.726 14.791-67.925 36.067-95.573 63.147-27.762 27.192-49.493 58.823-64.74 94.208-15.815 36.75-23.893 75.776-23.893 115.94 0 37.887 7.737 77.368 23.097 117.532 12.857 33.564 31.289 68.38 54.84 103.537 37.32 55.638 88.634 113.664 152.35 172.487 105.585 97.508 210.147 164.864 214.584 167.595l26.965 17.294c11.947 7.623 27.307 7.623 39.254 0l26.965-17.294c4.437-2.844 108.885-70.087 214.585-167.595 63.716-58.823 115.03-116.85 152.348-172.487 23.552-35.157 42.098-69.973 54.841-103.537 15.36-40.164 23.097-79.645 23.097-117.533.114-40.163-7.964-79.19-23.78-115.94",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,w2))}}),v2=["aria-labelledby"],I9=(0,t.defineComponent)({__name:"Github",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M512 12.672c-282.88 0-512 229.248-512 512 0 226.261 146.688 418.133 350.08 485.76 25.6 4.821 34.987-11.008 34.987-24.619 0-12.16-.427-44.373-.64-87.04-142.422 30.891-172.459-68.693-172.459-68.693-23.296-59.093-56.96-74.88-56.96-74.88-46.379-31.744 3.584-31.104 3.584-31.104 51.413 3.584 78.421 52.736 78.421 52.736 45.654 78.293 119.851 55.68 149.12 42.581 4.608-33.109 17.792-55.68 32.427-68.48-113.707-12.8-233.216-56.832-233.216-253.013 0-55.893 19.84-101.547 52.693-137.387-5.76-12.928-23.04-64.981 4.48-135.509 0 0 42.88-13.739 140.8 52.48 40.96-11.392 84.48-17.024 128-17.28 43.52.256 87.04 5.888 128 17.28 97.28-66.219 140.16-52.48 140.16-52.48 27.52 70.528 10.24 122.581 5.12 135.51 32.64 35.84 52.48 81.493 52.48 137.386 0 196.693-119.68 240-233.6 252.587 17.92 15.36 34.56 46.762 34.56 94.72 0 68.522-.64 123.562-.64 140.202 0 13.44 8.96 29.44 35.2 24.32C877.44 942.592 1024 750.592 1024 524.672c0-282.752-229.248-512-512-512",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,v2))}}),C2=["aria-labelledby"],L9=(0,t.defineComponent)({__name:"GarbageBin",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M944 192H755.2v-44.8c0-54.4-44.8-99.2-99.2-99.2H361.6c-54.4 0-99.2 44.8-99.2 99.2V192H83.2c-12.8 0-25.6 9.6-25.6 25.6 0 12.8 9.6 25.6 25.6 25.6H144v633.6c0 54.4 44.8 99.2 99.2 99.2h550.4c54.4 0 99.2-44.8 99.2-99.2V243.2H944c12.8 0 25.6-9.6 25.6-25.6-3.2-12.8-9.6-25.6-25.6-25.6m-627.2-44.8c0-25.6 22.4-48 48-48h294.4c25.6 0 48 22.4 48 48V192H316.8zm524.8 720c0 28.8-16 57.6-41.6 57.6H249.6c-25.6 0-54.4-19.2-54.4-44.8l3.2-636.8h643.2z",fill:"currentColor","fill-opacity":"0.9"},null,-1),(0,t.createTextVNode)(",",-1),(0,t.createElementVNode)("path",{d:"M368 380.8c-16 0-25.6 9.6-25.6 25.6v342.4c0 16 12.8 25.6 25.6 25.6s25.6-9.6 25.6-25.6V406.4c-3.2-12.8-9.6-25.6-25.6-25.6M528 380.8c-16 0-25.6 9.6-25.6 25.6v342.4c0 16 12.8 25.6 25.6 25.6s25.6-9.6 25.6-25.6V406.4c-3.2-12.8-9.6-25.6-25.6-25.6M688 380.8c-16 0-25.6 9.6-25.6 25.6v342.4c0 16 12.8 25.6 25.6 25.6s25.6-9.6 25.6-25.6V406.4c-3.2-12.8-9.6-25.6-25.6-25.6",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,C2))}}),N2=["aria-labelledby"],R9=(0,t.defineComponent)({__name:"Footprint",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M960.385 91.477a42.667 42.667 0 1 1-44.09 73.046c-95.09-57.401-176.497-79.19-315.989-79.19-54.044 0-118.698 10.07-158.492 25.543a42.667 42.667 0 0 1-30.92-79.53C461.498 11.662 536.393 0 600.335 0c154.71 0 251.393 25.884 360.05 91.477m-454.03 581.604a42.75 42.75 0 0 1 17.038-57.885 42.44 42.44 0 0 1 57.656 17.096c4.21 7.793 60.189 147.342 64.854 160.426 1.706 4.779 3.413 9.927 5.29 15.56 2.93 8.817 11.122 34.815 12.09 37.717 18.545 55.808 64.198 92.672 117.333 92.672 67.868 0 116.081-49.494 115.37-122.539-.17-15.701-3.3-34.304-16.782-104.277l-2.901-15.36c-10.81-57.174-15.758-92.132-15.36-120.434.313-22.244 2.076-30.151 17.436-90.311 5.831-22.841 9.245-38.03 11.662-53.078a218.5 218.5 0 0 0 3.13-34.446C893.17 307.4 777.457 256 595.584 256c-179.058 0-297.558 65.508-297.558 160 0 93.64 132.694 181.333 297.558 181.333 23.466 0 42.496 19.115 42.496 42.667s-19.03 42.667-42.496 42.667c-206.166 0-382.578-116.594-382.578-266.667 0-155.364 162.816-245.333 382.578-245.333 223.658 0 382.577 70.599 382.577 227.555 0 15.218-1.45 31.062-4.181 48.071-2.93 18.148-6.827 35.47-13.255 60.644-12.715 49.778-14.592 58.311-14.763 70.315-.284 20.48 4.153 52.024 13.853 103.338l2.901 15.076c15.132 78.734 18.034 96.028 18.29 119.609C982.145 935.538 896.015 1024 780.616 1024c-91.677 0-168.391-61.924-197.974-151.04-1.251-3.67-9.472-29.753-12.145-37.86a644 644 0 0 0-4.694-13.71 11056 11056 0 0 0-59.449-148.31zM310.4 65.934a42.667 42.667 0 1 1-52.566 67.243c-14.108-11.037-38.855-19.4-59.05-19.4-42.098 0-71.112 29.156-71.112 68.552 0 17.18 13.853 38.343 35.613 50.972a42.667 42.667 0 1 1-42.78 73.842C73.8 280.064 42.34 231.936 42.34 182.33c0-86.471 67.186-153.885 156.445-153.885 39.054 0 82.346 14.62 111.616 37.49z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,N2))}}),k2=["aria-labelledby"],_9=(0,t.defineComponent)({__name:"Follow",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1120 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M1120.194 366.158h-93.091c0-136.534-111.71-245.14-245.14-245.14-65.163 0-124.12 24.824-170.666 68.267l-3.103 3.103c-24.824 24.824-65.164 24.824-89.988 0L512 186.182c-46.545-43.443-105.503-68.267-170.667-68.267-136.533 0-245.14 111.71-245.14 245.14H3.104c0-186.182 152.049-338.23 338.23-338.23 80.68 0 158.255 27.927 220.315 80.678 62.061-52.751 139.637-80.679 220.316-80.679 186.181 3.103 338.23 155.152 338.23 341.334zM89.988 645.43c-3.103-6.206-9.31-12.412-12.412-18.618C27.927 549.236 0 459.248 0 366.158h93.09c0 74.472 21.722 148.945 62.062 211.006 3.103 6.206 6.206 9.309 9.309 12.412zm946.424-6.206-77.576-52.751c43.443-65.164 68.267-142.74 68.267-220.315h93.09c0 99.297-27.926 192.387-83.78 273.066zm-474.764 375.467c-9.309 0-21.72-3.103-31.03-6.206q-13.963-4.654-18.618-9.31C338.23 921.6 192.388 797.48 86.885 639.226l77.576-52.752c96.194 142.74 229.624 257.551 387.878 325.818l3.103 3.103s3.103 3.103 6.206 3.103l12.413-6.206c155.151-71.37 288.581-183.079 384.775-328.921l77.576 52.751C930.91 794.376 785.067 918.497 611.297 999.176l-18.618 9.309c-9.31 3.103-21.721 6.206-31.03 6.206z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,k2))}}),x2=["aria-labelledby"],F9=(0,t.defineComponent)({__name:"Find",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M512 1024C230.4 1024 0 793.6 0 512S230.4 0 512 0s512 230.4 512 512-230.4 512-512 512m0-930.91C281.6 93.09 93.09 281.6 93.09 512S281.6 930.91 512 930.91 930.91 742.4 930.91 512 742.4 93.09 512 93.09M377.018 695.856c-20.945 0-39.563-11.637-46.545-32.582l-6.982-16.291 6.982-18.618 69.818-186.182c11.636-32.582 37.236-55.855 67.49-67.491l204.8-76.8L691.2 307.2c11.636 4.655 20.945 16.29 25.6 27.927l4.655 16.291-4.655 18.618-69.818 186.182c-11.637 32.582-37.237 55.855-67.491 67.491l-186.182 69.818c-4.654 2.328-11.636 2.328-16.29 2.328zm218.764-267.637-95.418 34.91q-10.473 3.49-13.964 13.963l-34.91 95.418 95.42-34.909q10.47-3.49 13.963-13.964z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,x2))}}),T2=["aria-labelledby"],O9=(0,t.defineComponent)({__name:"Filter",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M547.84 998.573a32.286 32.286 0 0 1-31.744-32.707V405.978c0-7.83 2.71-15.36 7.71-21.323l240.58-288.768H111.917L332.8 385.8a33.55 33.55 0 0 1 6.807 20.239v334.306l95.473 98.545c5.903 6.144 9.155 14.456 9.095 23.13a33.13 33.13 0 0 1-9.457 23.07 31.02 31.02 0 0 1-44.514 0L285.515 776.907a33.07 33.07 0 0 1-9.276-23.13V417.303L21.745 83.358a33.49 33.49 0 0 1 5.3-45.96 31.2 31.2 0 0 1 19.577-7.047h786.794c8.432 0 16.504 3.434 22.407 9.638a33.37 33.37 0 0 1 1.626 44.453L579.524 418.146v547.72c0 18.07-14.216 32.707-31.684 32.707",fill:"currentColor","fill-opacity":"0.9"},null,-1),(0,t.createTextVNode)(",",-1),(0,t.createElementVNode)("path",{d:"M701.68 504.042a32.286 32.286 0 0 1-31.2-33.13 32.045 32.045 0 0 1 31.321-32.346H946.96c17.529 0 31.744 14.697 31.744 32.768 0 18.07-14.215 32.708-31.684 32.708zm0 202.51a32.286 32.286 0 0 1-31.683-32.767c0-18.071 14.216-32.648 31.684-32.708h245.338c17.469.06 31.624 14.697 31.684 32.768-.06 18.07-14.215 32.647-31.684 32.708zm0 204.8a31.02 31.02 0 0 1-22.407-9.517 33.07 33.07 0 0 1-9.276-23.19c0-18.07 14.216-32.648 31.684-32.708h245.338c17.469 0 31.624 14.697 31.684 32.768-.06 18.07-14.215 32.648-31.684 32.708H701.681z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,T2))}}),E2=["aria-labelledby"],q9=(0,t.defineComponent)({__name:"FileUpload",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M512 378.525a36.26 36.26 0 0 1 25.705 10.631L683.34 534.428a36.409 36.409 0 0 1-51.41 51.555l-83.521-83.304v252.023a36.409 36.409 0 1 1-72.818 0v-251.95l-83.45 83.522a36.409 36.409 0 1 1-51.554-51.482l145.636-145.636.218-.145A36.26 36.26 0 0 1 512 378.525",fill:"currentColor","fill-opacity":"0.9"},null,-1),(0,t.createTextVNode)(",",-1),(0,t.createElementVNode)("path",{d:"M99.342 38.684c-46.895 0-84.906 38.011-84.906 84.979v776.674c0 46.968 38.011 84.979 84.906 84.979h825.316c46.895 0 84.906-38.011 84.906-84.979V269.298c0-46.967-38.011-84.978-84.906-84.978H529.04L418.575 51.792a36.4 36.4 0 0 0-27.962-13.108zm-12.088 84.979c0-6.7 5.388-12.16 12.088-12.16h274.304L484.111 244.03A36.4 36.4 0 0 0 512 257.138h412.658c6.7 0 12.088 5.461 12.088 12.16v631.04a12.16 12.16 0 0 1-12.088 12.16H99.342a12.16 12.16 0 0 1-12.088-12.16z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,E2))}}),z2=["aria-labelledby"],$2=(0,t.defineComponent)({__name:"Failure",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M512 1024C229.831 1024 0 794.169 0 512S229.831 0 512 0s512 229.831 512 512-229.831 512-512 512m0-955.733C266.24 68.267 68.267 266.24 68.267 512S266.24 955.733 512 955.733 955.733 757.76 955.733 512 757.76 68.267 512 68.267m111.502 282.169c13.654-13.654 34.134-13.654 47.787 0 11.378 11.377 13.653 31.857 2.275 45.51l-2.275 2.276-111.502 111.502 111.502 111.503c13.653 13.653 13.653 34.133 0 47.786-13.653 13.654-34.133 13.654-47.787 0L512 557.511 400.498 669.013c-11.378 11.378-31.858 13.654-45.511 2.276l-2.276-2.276c-11.378-11.377-13.653-31.857-2.275-45.51l2.275-2.276 111.502-111.503-111.502-111.502c-13.653-13.653-13.653-34.133 0-47.786s34.133-13.654 47.787 0L512 461.938z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,z2))}}),B2=["aria-labelledby"],H9=(0,t.defineComponent)({__name:"Fabulous",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1061 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M584.06 1024H318.577C144.118 1024 0 883.674 0 705.422s140.326-318.578 318.578-318.578v113.778c-113.778 0-204.8 91.022-204.8 204.8s91.022 204.8 204.8 204.8h265.481zm56.888 0h-53.096c-208.593 0-379.26-170.667-379.26-383.052 0-83.437 26.549-163.081 75.852-231.348l3.793-3.793c15.17-22.755 30.34-60.681 45.511-121.363l7.585-34.133c7.586-18.963 15.17-41.718 18.963-68.267C386.844 22.756 470.281 0 519.586 0c117.57 0 178.251 106.193 178.251 212.385v7.585c0 7.586-3.793 18.963-3.793 37.926C876.09 257.896 1024 405.807 1024 587.852v53.096C1024 853.333 853.333 1024 640.948 1024M519.585 113.778c-30.34 0-41.718 53.096-49.304 87.23-3.792 34.133-11.377 60.68-15.17 83.436l-7.585 34.134c-11.378 45.51-34.133 113.778-60.682 155.496l-7.585 3.793A269.27 269.27 0 0 0 322.37 644.74c0 147.91 121.363 269.274 269.274 269.274h53.097c147.91 0 269.274-121.363 269.274-269.274v-53.097c0-117.57-98.608-216.177-216.178-216.177h-56.889c-18.963-3.793-37.926-15.17-49.304-30.341-11.377-15.17-15.17-37.926-15.17-56.889 7.585-41.718 11.378-64.474 11.378-75.852v-3.792c-3.793 0-3.793-94.815-68.267-94.815z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,B2))}}),V2=["aria-labelledby"],K9=(0,t.defineComponent)({__name:"Eye",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1210 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M605.09 1024C260.656 1024 0 684.218 0 512S260.655 0 605.09 0c321.165 0 605.092 321.164 605.092 512s-283.927 512-605.091 512zm0-884.364c-256 0-465.454 269.964-465.454 372.364s209.455 372.364 465.455 372.364c260.654 0 465.454-265.31 465.454-372.364s-204.8-372.364-465.454-372.364zm0 139.637c51.2 0 97.746 18.618 139.637 46.545h4.655c-51.2 0-93.091 41.891-93.091 93.091S698.18 512 749.38 512c37.237 0 69.819-23.273 83.783-55.855 4.654 18.619 9.309 37.237 9.309 55.855 0 130.327-102.4 232.727-232.728 232.727S377.018 642.327 377.018 512s97.746-232.727 228.073-232.727z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,V2))}}),D2=["aria-labelledby"],j9=(0,t.defineComponent)({__name:"Edit2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M822.095 933.055H192.393c-57.961 0-104.95-47.02-104.95-105.016V197.92c0-58.003 47.678-109.99 105.642-109.99H615.65v52.822H193.085c-28.98 0-53.166 28.17-53.166 57.17v630.119c0 28.997 23.494 52.51 52.474 52.51h629.702c28.98 0 57.653-24.132 57.653-53.131V404.857h52.822v422.56c-.003 57.996-52.512 105.638-110.475 105.638m-313.636-254.47c-7.672 7.678-17.28 11.517-27.185 13.447L251.517 805.68c-25.858 12.007-46.57-11.183-37.04-37.065L328.05 538.704c1.925-9.911 5.764-19.523 13.437-27.201l408.162-408.431c20.492-20.509 53.717-20.509 74.208 0l92.763 92.825c20.495 20.503 20.495 53.754 0 74.259zM264.727 736.86c-6.003 12.106 5.592 24.54 18.521 18.532l141.877-85.937-74.518-74.567zm132.414-169.664 55.661 55.697c10.243 10.253-16.237-16.249 18.55 18.562l296.846-297.04-93.425-92.163L378.592 548.63c9.856 9.86 8.304 8.314 18.551 18.565zM860.96 214.463l-55.658-55.698c-10.244-10.253-26.858-10.253-37.104 0l-54.33 54.362 91.431 94.155 55.661-55.697c10.247-10.25 10.247-26.87 0-37.122",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,D2))}}),M2=["aria-labelledby"],W9=(0,t.defineComponent)({__name:"Edit",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M285.479 992.97H108.606c-27.927 0-55.854-12.412-77.576-31.03C9.31 940.217 0 915.393 0 884.363l3.103-155.152q0-37.236 27.927-65.164L626.812 65.164c83.782-83.782 220.315-83.782 307.2 0 83.782 83.781 83.782 223.418 0 307.2l-605.09 601.988c-12.413 12.412-27.928 18.618-43.443 18.618M781.964 93.09c-31.03 0-65.164 12.413-89.988 37.237L96.194 729.212 93.09 884.364c0 9.309 6.206 15.515 15.515 15.515h161.358l598.884-595.782c49.649-49.649 49.649-127.224 0-173.77l-3.103-3.103c-21.72-21.721-52.751-34.133-83.781-34.133zm-201.946 78.508 65.816-65.847L882.812 342.73l-65.846 65.784zM946.424 992.97H217.212c-24.824 0-46.545-21.722-46.545-46.546s21.72-46.545 46.545-46.545h729.212c24.824 0 46.546 21.721 46.546 46.545s-21.722 46.546-46.546 46.546",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,M2))}}),A2=["aria-labelledby"],Y9=(0,t.defineComponent)({__name:"Dshop",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1327 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M512 663.704c-60.681 0-117.57-22.756-174.46-68.267-22.755-18.963-26.547-56.889-7.584-79.644s56.888-26.549 79.644-7.586c75.852 64.474 136.533 56.89 204.8 0 22.756-18.963 60.681-18.963 79.644 7.586 18.963 22.755 18.963 60.681-7.585 79.644-53.096 45.511-113.778 68.267-174.459 68.267m295.822-3.793q-102.4 0-182.044-79.644c-22.756-22.756-22.756-56.89-3.793-79.645 22.756-22.755 56.89-22.755 79.645-3.792 41.718 41.718 87.23 53.096 136.533 45.51 30.34-7.584 60.681 15.171 68.267 45.512 7.585 30.34-15.17 60.681-45.511 68.267-18.963 3.792-34.134 3.792-53.097 3.792m-595.437 0c-15.17 0-34.133 0-49.304-3.792-30.34-3.793-53.096-34.134-45.51-64.475 3.792-30.34 34.133-53.096 64.473-45.51Q256 557.511 318.578 500.622c22.755-22.755 56.889-22.755 79.644 0 22.756 22.756 22.756 56.89 0 79.645-53.096 53.096-117.57 79.644-185.837 79.644M910.222 496.83l-53.096-219.97c-18.963-79.645-75.852-125.156-151.704-125.156H318.578c-79.645 0-147.911 53.096-163.082 128.948l-41.718 212.385L3.793 470.281l45.51-212.385c18.964-128.948 132.741-219.97 269.275-219.97h390.637c128.948 0 235.14 87.23 261.689 212.385L1024 470.281zM174.46 656.119C79.644 656.119 0 576.474 0 481.659c0-30.34 26.548-56.889 56.889-56.889s56.889 26.549 56.889 56.89c0 34.133 26.548 60.68 60.681 60.68 30.341 0 56.89 26.549 56.89 56.89s-26.549 56.889-56.89 56.889zm675.082 0c-30.341 0-56.89-26.549-56.89-56.89s26.549-56.888 56.89-56.888c34.133 0 60.681-26.548 60.681-60.682 0-30.34 26.548-56.889 56.89-56.889S1024 451.32 1024 481.66c0 94.814-79.644 174.459-174.46 174.459zm257.896-15.17q-102.4 0-182.044-79.645c-22.756-22.756-22.756-56.89-3.793-79.645 22.756-22.755 56.889-22.755 79.644-3.792 34.134 30.34 68.267 45.51 106.193 45.51 11.378 0 30.34 0 37.926-3.792 30.34-7.585 60.681 15.17 68.267 45.511s-15.17 60.682-45.511 68.267c-18.963 7.585-45.512 7.585-60.682 7.585zm49.304-3.793c-30.341 0-56.89-26.549-56.89-56.89s26.549-56.888 56.89-56.888c37.926 0 53.096-30.341 53.096-60.682s26.548-56.889 56.889-56.889 56.889 26.549 56.889 56.89c-3.793 98.607-72.06 174.459-166.874 174.459m-409.6 348.918H276.859c-109.985 0-201.007-91.022-201.007-201.007V587.852H189.63v197.215c0 49.303 37.926 87.23 87.23 87.23h474.073c49.304 0 87.23-37.927 87.23-87.23V587.852h113.778v197.215c-3.793 109.985-94.815 201.007-204.8 201.007zm462.696-508.207-49.304-201.008c-15.17-75.852-79.644-125.155-159.289-125.155H671.29V37.926h329.955c132.741 0 242.726 87.23 273.067 212.385l45.511 201.008zM686.459 986.074c-30.34 0-56.889-26.548-56.889-56.889s26.549-56.889 56.89-56.889h364.088c49.304 0 87.23-37.926 87.23-87.23v-178.25c0-30.34 26.548-56.89 56.889-56.89s56.889 26.55 56.889 56.89v178.252c0 109.985-91.023 201.007-201.008 201.007H686.46z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,A2))}}),P2=["aria-labelledby"],U9=(0,t.defineComponent)({__name:"Drag",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M235.84 813.632c-54.528 0-98.816 41.792-98.816 93.312 0 51.584 44.288 93.312 98.816 93.312 54.592 0 98.816-41.728 98.816-93.312 0-51.52-44.224-93.312-98.816-93.312m0-400.832c-54.528 0-98.816 41.792-98.816 93.312s44.288 93.44 98.816 93.44c54.592 0 98.816-41.92 98.816-93.44S290.432 412.8 235.84 412.8m0-400.832c-54.528 0-98.816 41.792-98.816 93.44 0 51.456 44.288 93.248 98.816 93.248 54.592 0 98.816-41.728 98.816-93.312.064-51.584-44.224-93.376-98.816-93.376m527.104 801.664c-54.528 0-98.816 41.792-98.816 93.312 0 51.584 44.288 93.312 98.816 93.312s98.816-41.728 98.816-93.312c0-51.52-44.288-93.312-98.816-93.312m0-400.832c-54.528 0-98.816 41.792-98.816 93.312s44.288 93.44 98.816 93.44 98.816-41.92 98.816-93.44-44.288-93.312-98.816-93.312m0-400.832c-54.528 0-98.816 41.792-98.816 93.44 0 51.456 44.288 93.248 98.816 93.248s98.816-41.728 98.816-93.312-44.288-93.376-98.816-93.376",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,P2))}}),I2=["aria-labelledby"],G9=(0,t.defineComponent)({__name:"Download",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M512 891.958c-35.032 0-70.063-13.474-99.705-37.726L123.958 590.147c-24.253-21.558-37.726-51.2-40.421-83.536-2.695-32.337 10.779-64.674 32.337-86.232 24.252-24.253 56.59-40.421 88.926-40.421H256V188.632c0-88.927 72.758-161.685 161.684-161.685h185.937c88.926 0 161.684 72.758 161.684 161.685v191.326h51.2c67.369 0 121.263 53.895 121.263 121.263 0 35.032-13.473 67.368-40.42 88.926L609.01 851.537c-24.253 26.947-59.285 40.42-97.011 40.42zM204.8 460.8c-10.779 0-21.558 5.39-29.642 13.474s-10.78 18.863-10.78 29.642 5.39 21.558 13.475 26.947l291.031 261.39c26.948 24.252 64.674 24.252 91.621 0l288.337-261.39c8.084-8.084 13.474-18.863 13.474-29.642 0-21.558-18.863-40.421-40.421-40.421H687.158V188.632c0-45.81-35.032-80.843-80.842-80.843H417.684c-45.81 0-80.842 35.032-80.842 80.843V460.8zM808.421 1024H215.58c-21.558 0-40.421-18.863-40.421-40.421s18.863-40.421 40.42-40.421h592.843c21.558 0 40.421 18.863 40.421 40.42S829.98 1024 808.422 1024z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,I2))}}),L2=["aria-labelledby"],X9=(0,t.defineComponent)({__name:"DownloadCloud",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M512 113.778a307.2 307.2 0 0 1 306.563 287.22 261.689 261.689 0 1 1-156.558 499.348 34.133 34.133 0 1 1 18.568-65.718 193.422 193.422 0 0 0 97.849-374.283 34.13 34.13 0 0 1-26.032-29.355 35.4 35.4 0 0 1-1.457-10.012 238.933 238.933 0 0 0-477.866 0 34.13 34.13 0 0 1-16.111 28.99 33.77 33.77 0 0 1-17.477 10.377 193.513 193.513 0 1 0 97.85 374.283 34.133 34.133 0 1 1 18.613 65.718A261.689 261.689 0 0 1 205.574 398.95 307.2 307.2 0 0 1 512 113.778m0 294.093a34.133 34.133 0 0 1 34.133 34.133v306.563l104.13-103.265 3.823-3.277a34.133 34.133 0 0 1 47.559 47.923l-3.323 3.823L536.03 854.79l-3.823 3.322a34.13 34.13 0 0 1-40.14.182l-4.233-3.64-157.878-158.288-3.277-3.823a34.13 34.13 0 0 1-.273-40.187l3.64-4.278 3.824-3.277a34.13 34.13 0 0 1 40.186-.273l4.278 3.641 99.487 99.806V442.004l.319-4.642A34.13 34.13 0 0 1 512 407.87",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,L2))}}),R2=["aria-labelledby"],Q9=(0,t.defineComponent)({__name:"DownArrow",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M128 349.867C93.867 332.8 34.133 341.333 8.533 384-8.533 418.133 0 477.867 42.667 503.467 179.2 588.8 315.733 665.6 443.733 750.933c42.667 25.6 93.867 25.6 136.534 0C716.8 665.6 853.333 588.8 981.333 503.467c42.667-25.6 51.2-76.8 25.6-119.467s-76.8-51.2-119.466-25.6C768 435.2 640 512 512 588.8 384 512 256 435.2 128 349.867",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,R2))}}),_2=["aria-labelledby"],Z9=(0,t.defineComponent)({__name:"DoubleArrowRight",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M562.972 539.185 123.64 99.851c-15.05-15.049-15.05-39.807 0-54.856 15.049-15.049 39.807-15.049 54.856 0L617.829 484.33c15.049 15.05 15.049 39.807 0 54.856-15.05 15.05-39.808 15.05-54.857 0",fill:"currentColor","fill-opacity":"0.9"},null,-1),(0,t.createTextVNode)(",",-1),(0,t.createElementVNode)("path",{d:"M123.639 923.663 562.972 484.33c15.05-15.049 39.807-15.049 54.857 0 15.049 15.05 15.049 39.807 0 54.856L178.495 978.52c-15.05 15.05-39.807 15.05-54.856 0a38.11 38.11 0 0 1 0-54.856M868.322 539.67 428.988 100.338c-15.05-15.05-15.05-39.807 0-54.856 15.049-15.05 39.807-15.05 54.856 0l439.334 439.334c15.049 15.049 15.049 39.807 0 54.856a38.11 38.11 0 0 1-54.856 0",fill:"currentColor","fill-opacity":"0.9"},null,-1),(0,t.createTextVNode)(",",-1),(0,t.createElementVNode)("path",{d:"m428.988 924.149 439.334-439.334c15.049-15.05 39.807-15.05 54.856 0 15.049 15.049 15.049 39.807 0 54.856L483.844 979.005c-15.05 15.049-39.807 15.049-54.856 0-15.05-15.05-15.05-39.322 0-54.856",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,_2))}}),F2=["aria-labelledby"],J9=(0,t.defineComponent)({__name:"DoubleArrowLeft",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M483.844 539.185 923.178 99.851c15.049-15.049 15.049-39.807 0-54.856-15.05-15.049-39.807-15.049-54.856 0L428.988 484.33c-15.05 15.05-15.05 39.807 0 54.856 15.049 15.05 39.807 15.05 54.856 0",fill:"currentColor","fill-opacity":"0.9"},null,-1),(0,t.createTextVNode)(",",-1),(0,t.createElementVNode)("path",{d:"M923.178 923.663 483.844 484.33c-15.05-15.049-39.807-15.049-54.856 0-15.05 15.05-15.05 39.807 0 54.856L868.322 978.52c15.049 15.05 39.807 15.05 54.856 0 15.049-15.049 15.049-39.807 0-54.856M178.495 539.67l439.334-439.333c15.049-15.05 15.049-39.807 0-54.856-15.05-15.05-39.808-15.05-54.857 0L123.64 484.815c-15.05 15.049-15.05 39.807 0 54.856 15.049 15.534 39.807 15.534 54.856 0",fill:"currentColor","fill-opacity":"0.9"},null,-1),(0,t.createTextVNode)(",",-1),(0,t.createElementVNode)("path",{d:"M617.829 924.149 178.495 484.815c-15.05-15.05-39.807-15.05-54.856 0-15.05 15.049-15.05 39.807 0 54.856l439.333 439.334c15.05 15.049 39.807 15.049 54.857 0 15.049-15.05 15.049-39.322 0-54.856",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,F2))}}),O2=["aria-labelledby"],ep=(0,t.defineComponent)({__name:"DouArrowUp",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M199.36 572.768a31.9 31.9 0 0 0 22.624-9.376l294.144-294.144 285.728 285.728a31.968 31.968 0 1 0 45.248-45.248L538.752 201.376a32 32 0 0 0-45.28 0L176.704 518.144a31.968 31.968 0 0 0 22.656 54.624m339.424-115.392a32 32 0 0 0-45.28 0L176.736 774.144a31.968 31.968 0 1 0 45.248 45.248l294.144-294.144 285.728 285.728a31.968 31.968 0 1 0 45.248-45.248z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,O2))}}),q2=["aria-labelledby"],tp=(0,t.defineComponent)({__name:"Dongdong",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1079 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M802.595 1018.465h-11.07c-58.12-8.303-119.006-22.14-182.66-47.049l-11.07-5.535h-11.07c-16.606 0-30.444 2.768-47.05 2.768C240.779 968.649 0 750.01 0 484.324S240.778 0 539.676 0s539.675 218.638 539.675 484.324c0 152.217-80.26 298.898-218.637 390.227l-2.768 2.768v88.562c0 27.676-24.908 52.584-55.351 52.584m-202.033-135.61c5.535 0 13.838 0 19.373 2.767l19.373 8.302c47.049 16.606 94.097 30.444 135.61 38.746v-71.956c0-19.373 11.071-35.979 27.677-47.05 5.535-2.767 11.07-5.534 13.837-8.302 116.238-77.492 179.892-193.73 179.892-321.038 0-221.405-204.8-401.297-456.648-401.297S83.027 262.919 83.027 484.324s204.8 401.298 456.649 401.298c13.838 0 27.675 0 41.513-2.768zm-60.886-398.53c77.492 0 138.378-24.909 138.378-55.352s-60.886-41.514-138.378-41.514-138.379 11.07-138.379 41.514 60.887 55.351 138.379 55.351zm-226.94-185.428c19.372 11.07 27.675 35.979 13.837 55.352l-27.676 47.048c-11.07 19.373-35.978 27.676-55.351 13.838-19.373-11.07-27.676-35.978-13.838-55.351l27.676-47.049c11.07-19.373 35.978-27.676 55.351-13.838zm456.648 0c-19.373 11.07-27.676 35.979-13.838 55.352l27.676 47.048c11.07 19.373 35.978 27.676 55.351 13.838 19.373-11.07 27.676-35.978 13.838-55.351l-27.676-47.049c-11.07-19.373-35.978-27.676-55.351-13.838M539.676 705.73c-138.379 0-268.454-58.12-351.481-157.752-11.07-11.07-8.303-30.443 2.767-38.746 11.07-11.07 30.443-8.302 38.746 2.768 74.724 88.562 188.195 138.378 309.968 138.378s240.778-52.583 312.735-141.146c11.07-11.07 27.675-13.837 38.746-2.767 11.07 11.07 13.838 27.676 2.767 38.746-83.027 99.632-215.87 160.519-354.248 160.519",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,q2))}}),H2=["aria-labelledby"],lp=(0,t.defineComponent)({__name:"Del2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M683.886 1012.42H336.457c-124.343 0-226.743-102.4-226.743-226.744V204.19h804.572v577.83c0 128-102.4 230.4-230.4 230.4M219.429 313.902v468.115c0 65.828 54.857 117.028 117.028 117.028h347.429c65.828 0 117.028-54.857 117.028-117.028V313.903H219.43zm694.857 0H109.714c-29.257 0-54.857-25.6-54.857-54.857s25.6-54.857 54.857-54.857h804.572c29.257 0 54.857 25.6 54.857 54.857s-25.6 54.857-54.857 54.857M640 131.047H387.657c-29.257 0-54.857-25.6-54.857-54.857s25.6-54.857 54.857-54.857H640c32.914 0 54.857 25.6 54.857 54.857S672.914 131.047 640 131.047",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,H2))}}),K2=["aria-labelledby"],ap=(0,t.defineComponent)({__name:"Del",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M668.444 1024H355.556c-142.223 0-256-113.778-256-256V170.667h824.888V768c0 142.222-113.777 256-256 256M184.89 256v512c0 93.867 76.8 170.667 170.667 170.667h312.888c93.867 0 170.667-76.8 170.667-170.667V256zm753.778 0H85.333c-22.755 0-42.666-19.911-42.666-42.667s19.91-42.666 42.666-42.666h853.334c22.755 0 42.666 19.91 42.666 42.666S961.423 256 938.667 256zM625.777 85.333H398.223c-22.755 0-42.666-19.91-42.666-42.666S375.466 0 398.222 0h227.556c22.755 0 42.666 19.911 42.666 42.667s-19.91 42.666-42.666 42.666z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,K2))}}),j2=["aria-labelledby"],np=(0,t.defineComponent)({__name:"Date",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M774.919 1024H249.08C110.703 1024 0 913.297 0 774.919V304.432c0-138.378 110.703-249.08 249.081-249.08H774.92c138.378 0 249.081 110.702 249.081 249.08V774.92C1024 913.297 913.297 1024 774.919 1024M249.08 138.378c-91.33 0-166.054 74.725-166.054 166.054V774.92c0 91.33 74.724 166.054 166.054 166.054h525.84c91.33 0 166.054-74.724 166.054-166.054V304.432c0-91.33-74.724-166.054-166.054-166.054zm719.57 304.433H41.514C19.373 442.81 0 423.438 0 401.297s19.373-41.513 41.514-41.513h927.135c22.14 0 41.513 19.373 41.513 41.513s-19.373 41.514-41.513 41.514zM595.027 719.568H428.973c-22.14 0-41.514-19.373-41.514-41.514s19.373-41.513 41.514-41.513h166.054c22.14 0 41.514 19.373 41.514 41.513s-19.373 41.514-41.514 41.514M332.108 193.73c-22.14 0-41.513-19.373-41.513-41.514V41.514C290.595 19.373 309.968 0 332.108 0s41.514 19.373 41.514 41.514v110.702c0 22.14-19.373 41.514-41.514 41.514m332.108 0c-22.14 0-41.513-19.373-41.513-41.514V41.514C622.703 19.373 642.076 0 664.216 0s41.514 19.373 41.514 41.514v110.702c0 22.14-19.373 41.514-41.514 41.514",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,j2))}}),W2=["aria-labelledby"],rp=(0,t.defineComponent)({__name:"Comment",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M760.415 876.089H259.793c-132.741 0-242.726-109.985-242.726-242.726V242.726C17.067 109.986 127.052 0 259.793 0h504.414c132.741 0 242.726 109.985 242.726 242.726v394.43c-3.792 132.74-109.985 238.933-246.518 238.933M259.793 113.778c-72.06 0-128.949 56.889-128.949 128.948v394.43c0 72.059 56.89 128.948 128.949 128.948h504.414c68.267 0 128.949-56.89 128.949-128.948v-394.43c0-72.06-56.89-128.948-128.949-128.948zm56.888 887.466c-15.17 0-30.34-3.792-41.718-15.17-22.756-22.755-22.756-56.889 0-79.644l109.985-109.986c22.756-22.755 56.889-22.755 79.645 0s22.755 56.89 0 79.645L354.607 986.074c-7.585 7.585-22.755 15.17-37.926 15.17m193.423-398.222c-45.511 0-91.023-22.755-117.57-56.889-18.964-26.548-15.171-60.681 7.585-79.644 26.548-18.963 60.681-15.17 79.644 7.585 15.17 18.963 45.511 18.963 56.889 0 18.963-22.755 56.889-30.34 79.644-7.585s30.341 56.889 7.585 79.644c-22.755 37.926-68.266 56.89-113.777 56.89z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,W2))}}),Y2=["aria-labelledby"],op=(0,t.defineComponent)({__name:"Close2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1026 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M924.714 962c-10.286 0-20.572-2.572-28.286-10.286L73.572 128.858c-12.858-15.429-12.858-41.143 0-56.571 15.428-12.858 41.142-12.858 56.57 0L953 895.142c15.428 15.429 15.428 38.571 0 54-7.714 10.285-18 12.857-28.286 12.857zm-822.856 0c-10.286 0-20.572-2.572-28.286-10.286-15.43-15.428-15.43-38.572 0-54L896.428 74.858c15.43-15.429 38.572-15.429 54 0 15.43 15.429 15.43 38.571 0 54L127.572 951.714c-5.144 7.714-15.43 10.286-25.714 10.286",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Y2))}}),U2=["aria-labelledby"],yl=(0,t.defineComponent)({__name:"Close",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1026 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M981.577 1024c-11.703 0-23.406-2.926-32.183-11.703L13.166 76.07c-14.629-17.555-14.629-46.812 0-64.366 17.554-14.629 46.811-14.629 64.365 0L1013.76 947.93c17.554 17.555 17.554 43.886 0 61.44-8.777 11.703-20.48 14.629-32.183 14.629zm-936.228 0c-11.703 0-23.406-2.926-32.183-11.703-17.555-17.554-17.555-43.886 0-61.44L949.394 14.63c17.555-17.555 43.886-17.555 61.44 0 17.555 17.554 17.555 43.885 0 61.44L74.606 1012.297C68.754 1021.074 57.05 1024 45.349 1024",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,U2))}}),G2=["aria-labelledby"],ip=(0,t.defineComponent)({__name:"CloseLittle",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1026 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M998.002 26a85.073 85.073 0 0 0-120.415 0L451.795 451.792a85.073 85.073 0 1 0 120.414 120.415l425.793-425.793a85.073 85.073 0 0 0 0-120.414M877.587 998a85.073 85.073 0 1 0 120.415-120.415L146.416 26A85.073 85.073 0 1 0 26.002 146.414L391.588 512 26.002 877.585A85.073 85.073 0 1 0 146.416 998l365.586-365.585z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,G2))}}),X2=["aria-labelledby"],sp=(0,t.defineComponent)({__name:"CloseFill2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M512 45.966C255.682 45.966 45.966 255.682 45.966 512S255.682 978.034 512 978.034 978.034 768.318 978.034 512 768.318 45.966 512 45.966M706.18 651.81c15.535 15.535 15.535 38.836 0 54.37s-38.835 15.535-54.37 0L512 566.372l-139.81 139.81c-15.534 15.534-38.836 15.534-54.37 0s-15.535-38.836 0-54.37L457.628 512l-139.81-139.81c-15.534-15.534-15.534-38.836 0-54.37s38.836-15.535 54.37 0L512 457.628l139.81-139.81c15.534-15.534 38.836-15.534 54.37 0s15.535 38.836 0 54.37L566.372 512z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,X2))}}),Q2=["aria-labelledby"],cp=(0,t.defineComponent)({__name:"Clock",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M512 1024C228.43 1024 0 795.57 0 512S228.43 0 512 0s512 228.43 512 512-228.43 512-512 512m0-945.23C273.067 78.77 78.77 273.066 78.77 512S273.066 945.23 512 945.23 945.23 750.934 945.23 512 750.934 78.77 512 78.77m183.795 498.87H485.744c-21.006 0-39.385-18.38-39.385-39.385s18.38-39.384 39.385-39.384h210.05c21.006 0 39.385 18.38 39.385 39.384S716.8 577.64 695.795 577.64m-210.051 0c-21.006 0-39.385-18.38-39.385-39.385v-210.05c0-21.006 18.38-39.385 39.385-39.385s39.384 18.379 39.384 39.384v210.051c0 21.006-18.38 39.385-39.384 39.385",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Q2))}}),Z2=["aria-labelledby"],up=(0,t.defineComponent)({__name:"CircleClose",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M511.492 73.079a438.418 438.418 0 0 1 310.54 748.94 439.153 439.153 0 1 1-621.08-621.062 435.69 435.69 0 0 1 310.54-127.895m0-73.062C267.494.035 57.476 172.422 9.878 411.727-37.704 651.048 90.397 890.66 315.826 984.031c225.447 93.353 485.436 14.471 620.995-188.413 135.54-202.903 108.883-473.285-63.658-645.81A509.64 509.64 0 0 0 511.492.02zM335.795 635.484l299.668-299.669c12.049-12.048 24.115-12.048 36.163 0l15.496 15.497c12.05 12.066 12.05 24.115 0 36.18l-299.65 299.636c-12.066 12.05-24.115 12.05-36.18 0l-15.497-15.496c-12.049-12.066-12.049-24.115 0-36.182zm0-284.172 15.496-15.497c12.065-12.048 24.114-12.048 36.18 0l299.634 299.67c12.05 12.048 12.05 24.097 0 36.163l-15.496 15.496c-12.05 12.05-24.114 12.05-36.181 0L335.811 387.476c-12.049-12.05-12.049-24.098 0-36.164z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Z2))}}),J2=["aria-labelledby"],vo=(0,t.defineComponent)({__name:"Checklist",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M110.693 499.054c71.2 0 142.399 19.419 252.436 116.509 9.708 6.474 22.653 6.474 29.127 0 55.017-61.49 271.852-297.744 517.814-375.416 0 0 32.364-6.474 48.545 22.653 9.71 19.419 22.655 38.837-6.472 61.492-25.89 19.418-300.98 203.89-501.633 501.635l-3.237 3.235c-12.946 9.709-77.673 58.255-135.927-16.182-64.726-80.908-97.09-158.58-223.307-223.307-3.237 0-3.237-3.237-6.474-6.474-12.944-12.945-61.49-84.145 29.127-84.145z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,J2))}}),ed=["aria-labelledby"],dp=(0,t.defineComponent)({__name:"Checked2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M451.243 802.133a101.72 101.72 0 0 1-73.046-30.72L116.736 552.277a47.787 47.787 0 0 1 62.123-74.41l263.509 221.866c4.779 4.779 7.51 5.462 9.557 5.462a13.65 13.65 0 0 0 6.144 0L854.7 204.8a47.787 47.787 0 0 1 75.093 59.392l-396.63 498.347a105.13 105.13 0 0 1-75.775 38.912z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,ed))}}),td=["aria-labelledby"],ld=(0,t.defineComponent)({__name:"Checked",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M512 0C230.4 0 0 230.4 0 512s230.4 512 512 512 512-230.4 512-512S793.6 0 512 0m281.6 369.778C779.378 381.156 600.178 500.622 472.178 691.2c0 0 0 2.844-2.845 2.844-8.533 5.69-48.355 36.978-88.177-8.533-39.823-51.2-62.578-99.555-142.223-142.222-2.844 0-2.844-2.845-2.844-2.845-8.533-11.377-39.822-56.888 19.911-56.888 45.511 0 91.022 11.377 162.133 73.955 5.69 5.689 14.223 5.689 17.067 0C469.333 517.69 608.711 366.933 768 318.578c0 0 19.911-2.845 31.289 14.222 5.689 11.378 11.378 22.756-5.689 36.978",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,td))}}),ad=["aria-labelledby"],fp=(0,t.defineComponent)({__name:"CheckedFill2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M512 992C246.904 992 32 777.096 32 512S246.904 32 512 32s480 214.904 480 480-214.904 480-480 480M270.243 527.725l161.622 163.812a.57.57 0 0 0 .81.015l321.132-321.908a.29.29 0 0 0-.003-.412l-35.025-34.956a.3.3 0 0 0-.415-.019L432.917 594.642c-.35.32-.934.335-1.295.026l-123.19-105.65a.32.32 0 0 0-.424.02l-37.762 38.274a.29.29 0 0 0-.004.413z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,ad))}}),nd=["aria-labelledby"],rd=(0,t.defineComponent)({__name:"CheckNormal",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M512 1024c-136.533 0-264.533-54.044-361.244-150.756C54.044 776.534 0 648.534 0 512c0-136.533 54.044-264.533 150.756-361.244C247.466 54.044 375.466 0 512 0c136.533 0 264.533 54.044 361.244 150.756C969.956 247.466 1024 375.466 1024 512s-54.044 264.533-150.756 361.244C776.534 969.956 648.534 1024 512 1024m0-938.667c-113.778 0-221.867 45.511-301.511 125.156S85.333 398.222 85.333 512s45.511 221.867 125.156 301.511S398.222 938.667 512 938.667s221.867-45.511 301.511-125.156S938.667 625.778 938.667 512 893.156 290.133 813.51 210.489 625.778 85.333 512 85.333",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,nd))}}),od=["aria-labelledby"],mp=(0,t.defineComponent)({__name:"CheckDisabled",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M506.467 0C227.962 0 .094 227.868.094 506.374s227.868 506.373 506.373 506.373 506.374-227.868 506.374-506.373S787.786 0 506.467 0m202.55 571.077H306.73q-67.515 0-67.516-67.517 0-67.515 67.516-67.516h402.286q67.515 0 67.516 67.516 0 67.517-67.516 67.517z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,od))}}),id=["aria-labelledby"],hp=(0,t.defineComponent)({__name:"CheckChecked",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1032 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M510.613 2.837C229.793 2.837.032 232.598.032 513.418S229.793 1024 510.613 1024s510.582-229.762 510.582-510.582S794.27 2.837 510.613 2.837m0 794.238c-156.01 0-283.656-127.646-283.656-283.657s127.645-283.656 283.656-283.656S794.27 357.407 794.27 513.418 666.624 797.075 510.613 797.075M382.968 513.418a127.645 127.645 0 1 0 255.29 0 127.645 127.645 0 1 0-255.29 0",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,id))}}),sd=["aria-labelledby"],pp=(0,t.defineComponent)({__name:"Category",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M307.2 468.114H160.914C73.143 468.114 0 394.97 0 307.2V160.914C0 73.143 73.143 0 160.914 0H307.2c87.77 0 160.914 73.143 160.914 160.914V307.2c0 87.77-73.143 160.914-160.914 160.914M160.914 87.77c-40.96 0-73.143 32.183-73.143 73.143V307.2c0 40.96 32.183 73.143 73.143 73.143H307.2c40.96 0 73.143-32.183 73.143-73.143V160.914c0-40.96-32.183-73.143-73.143-73.143zM307.2 1023.999H160.914C73.143 1023.999 0 950.856 0 863.085V716.8c0-87.77 73.143-160.914 160.914-160.914H307.2c87.77 0 160.914 73.143 160.914 160.914v146.286C468.114 950.856 394.97 1024 307.2 1024M160.914 643.656c-40.96 0-73.143 32.183-73.143 73.143v146.286c0 40.96 32.183 73.143 73.143 73.143H307.2c40.96 0 73.143-32.183 73.143-73.143V716.8c0-40.96-32.183-73.143-73.143-73.143zm629.028-175.542c-128.732 0-234.057-105.325-234.057-234.057S661.21 0 789.942 0 1024 105.326 1024 234.057 918.673 468.114 789.942 468.114m0-380.343c-81.92 0-146.286 64.366-146.286 146.286s64.366 146.286 146.286 146.286 146.286-64.366 146.286-146.286S871.862 87.77 789.942 87.77m73.143 936.228H716.8c-87.77 0-160.914-73.143-160.914-160.914V716.8c0-87.77 73.143-160.914 160.914-160.914h146.286c87.771 0 160.914 73.143 160.914 160.914v146.286c0 87.771-73.143 160.914-160.914 160.914M716.8 643.656c-40.96 0-73.143 32.183-73.143 73.143v146.286c0 40.96 32.183 73.143 73.143 73.143h146.286c40.96 0 73.143-32.183 73.143-73.143V716.8c0-40.96-32.183-73.143-73.143-73.143z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,sd))}}),cd=["aria-labelledby"],gp=(0,t.defineComponent)({__name:"Cart2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1061 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M948.148 1024c41.719 0 75.852-34.133 75.852-75.852s-34.133-75.852-75.852-75.852-75.852 34.134-75.852 75.852S906.43 1024 948.148 1024M754.726 872.296H402.015V758.52h352.71c68.268 0 128.95-49.304 136.534-117.57l37.926-261.69v-7.585c0-34.133-26.548-68.267-56.889-68.267H250.311l37.926 352.712-113.778 11.377-49.303-477.866h747.14c94.815 0 174.46 83.437 174.46 182.044v22.756l-41.719 261.689c-18.963 121.36-128.948 216.176-250.311 216.176M246.519 1024c-56.89 0-106.193-22.756-147.912-60.681-37.926-37.926-60.681-91.023-60.681-147.912s22.755-106.192 60.681-147.91c37.926-37.927 91.023-60.682 147.912-60.682s109.985 22.755 147.91 60.681 60.682 91.023 60.682 147.911-22.755 109.986-60.681 147.912C352.71 1001.244 303.407 1024 246.519 1024m0-303.407c-26.549 0-49.304 11.377-68.267 26.548-15.17 18.963-26.548 41.718-26.548 68.266s11.377 49.304 26.548 68.267c34.133 34.133 98.607 34.133 132.74 0 18.964-18.963 30.341-41.718 30.341-68.267s-11.377-49.303-26.548-68.266c-18.963-15.17-41.718-26.548-68.266-26.548m-49.304-364.09c-26.548 0-53.096-18.962-56.89-49.303l-18.962-113.778c-3.793-26.548-22.756-45.51-53.096-45.51s-56.89-26.549-56.89-56.89 26.549-56.889 56.89-56.889c87.23 0 155.496 64.474 166.874 147.911l18.963 109.986c3.792 30.34-15.17 60.681-45.511 64.474h-11.378z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,cd))}}),ud=["aria-labelledby"],yp=(0,t.defineComponent)({__name:"Cart",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1092 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M932.978 1024c38.684 0 68.266-29.582 68.266-68.267s-29.582-68.266-68.266-68.266-68.267 29.582-68.267 68.266S894.293 1024 932.978 1024M826.027 864.711H350.436V773.69h475.59c56.89 0 104.676-43.236 113.778-100.125l47.787-373.19v-6.827c0-25.031-20.48-45.511-45.511-45.511H209.351l40.96 430.08-91.022 9.102-50.062-527.93H942.08c75.093 0 136.533 61.44 136.533 136.534v18.205l-47.786 373.19c-13.654 100.125-100.125 177.494-204.8 177.494zM250.31 1024c-47.787 0-93.298-18.204-129.707-52.338-34.133-36.409-52.337-81.92-52.337-129.706s18.204-93.298 52.337-129.707c36.41-34.133 81.92-52.338 129.707-52.338s93.298 18.205 129.707 52.338c34.133 34.133 52.338 79.644 52.338 129.707s-18.205 93.297-52.338 129.706c-36.41 34.134-81.92 52.338-129.707 52.338m0-273.067c-25.031 0-47.787 9.103-63.715 27.307-18.205 15.929-27.307 38.684-27.307 63.716s9.102 47.786 27.307 63.715c34.133 34.133 93.297 34.133 129.706 0 18.205-18.204 27.307-40.96 27.307-63.715s-9.102-47.787-27.307-63.716c-18.204-18.204-40.96-27.307-65.99-27.307zm-91.022-455.11c-22.756 0-40.96-15.93-45.511-38.685l-15.93-111.502c-2.275-31.858-25.03-54.614-52.337-54.614C20.48 91.022 0 70.542 0 45.512S20.48 0 45.511 0c75.093 0 134.258 59.164 143.36 136.533L204.8 243.484c4.551 25.032-13.653 47.787-38.684 52.338h-6.827z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,ud))}}),dd=["aria-labelledby"],bp=(0,t.defineComponent)({__name:"Ask2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M512 1024C228.43 1024 0 795.57 0 512S228.43 0 512 0s512 228.43 512 512-228.43 512-512 512m0-945.23C273.067 78.77 78.77 273.066 78.77 512S273.066 945.23 512 945.23 945.23 750.934 945.23 512 750.934 78.77 512 78.77m0 525.127c-21.005 0-39.385-18.38-39.385-39.384v-44.636c0-26.256 18.38-49.887 44.636-52.513 13.128-2.626 18.38-2.626 18.38-2.626 23.63-10.502 39.384-34.133 39.384-57.764 0-34.133-28.882-63.015-65.64-63.015s-65.642 28.882-65.642 63.015c0 21.005-18.38 39.385-39.384 39.385s-36.76-18.38-36.76-42.01c0-78.77 65.642-141.785 144.411-141.785S656.41 325.58 656.41 404.35c0 57.764-34.133 110.277-89.272 131.282-5.25 2.625-10.502 2.625-15.753 5.251v23.63c0 21.006-18.38 39.385-39.385 39.385zm-65.641 118.154a65.641 65.641 0 1 0 131.282 0 65.641 65.641 0 1 0-131.282 0",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,dd))}}),fd=["aria-labelledby"],Sp=(0,t.defineComponent)({__name:"Ask",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M512 1024C230.4 1024 0 793.6 0 512S230.4 0 512 0s512 230.4 512 512-230.4 512-512 512m0-938.667c-234.667 0-426.667 192-426.667 426.667s192 426.667 426.667 426.667 426.667-192 426.667-426.667S746.667 85.333 512 85.333m0 529.067c-25.6 0-42.667-17.067-42.667-42.667v-38.4c0-29.866 21.334-59.733 55.467-64 8.533 0 12.8-4.266 12.8-4.266 25.6-8.534 38.4-34.134 38.4-59.734 0-34.133-29.867-64-64-64s-64 29.867-64 64c0 25.6-17.067 42.667-42.667 42.667s-42.666-17.067-42.666-42.667C362.667 324.267 430.933 256 512 256s149.333 68.267 149.333 149.333c0 59.734-38.4 115.2-93.866 136.534-4.267 0-8.534 4.266-12.8 4.266v21.334c0 25.6-17.067 46.933-42.667 46.933m-64 110.933a64 64 0 1 0 128 0 64 64 0 1 0-128 0",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,fd))}}),md=["aria-labelledby"],wp=(0,t.defineComponent)({__name:"ArrowUp2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2472 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M323.604 988.793a203.805 203.805 0 1 1-214.2-346.471c321.81-199.32 643.616-397.418 965.628-596.74a305.71 305.71 0 0 1 321.197 0l965.426 596.335a203.805 203.805 0 1 1-214.2 346.672l-912.027-562.91z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,md))}}),hd=["aria-labelledby"],vp=(0,t.defineComponent)({__name:"ArrowUp",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2252 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M1738.587 837.775a135.93 135.93 0 1 0 142.902-231.298c-214.687-132.668-429.373-265.04-644.208-397.782a204.08 204.08 0 0 0-214.316 0c-214.538 132.742-429.224 265.113-643.91 397.782a135.93 135.93 0 1 0 142.9 231.298l608.317-375.683 608.39 375.683",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,hd))}}),pd=["aria-labelledby"],Cp=(0,t.defineComponent)({__name:"ArrowRight2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M312.38 132.53a84.855 84.855 0 1 1 144.254-89.183L704.92 445.389a127.28 127.28 0 0 1 0 133.73L456.634 981.076a84.855 84.855 0 1 1-144.253-89.182l234.284-379.724c-77.982-126.52-156.218-253.037-234.285-379.64",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,pd))}}),gd=["aria-labelledby"],yd=(0,t.defineComponent)({__name:"ArrowRight",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"m387.547 980.846 305.006-397.532a117.1 117.1 0 0 0 0-142.628L387.584 43.154a44.837 44.837 0 0 0-71.131 54.492l305.042 397.568a27.54 27.54 0 0 1 0 33.572L316.489 926.318a44.8 44.8 0 0 0 71.058 54.564",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,gd))}}),bd=["aria-labelledby"],Np=(0,t.defineComponent)({__name:"ArrowDown2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2472 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M2159.114 35.222a203.871 203.871 0 1 1 214.268 346.581l-965.944 596.53a305.81 305.81 0 0 1-321.302 0L120.394 381.805a203.871 203.871 0 1 1 214.27-346.582l912.326 562.89c303.974-187.358 607.946-375.328 912.124-562.89",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,bd))}}),Sd=["aria-labelledby"],kp=(0,t.defineComponent)({__name:"ArrowDown",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2252 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M1792.426 164.507a144.994 144.994 0 1 1 152.43 246.718c-229 141.513-457.998 282.71-687.157 424.3a217.69 217.69 0 0 1-228.603 0c-228.84-141.59-457.84-282.787-686.839-424.3a144.994 144.994 0 1 1 152.35-246.718l648.95 400.729 648.87-400.729",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Sd))}}),wd=["aria-labelledby"],xp=(0,t.defineComponent)({__name:"Addfollow",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1111 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M1111.771 365.714H1024c0-137.508-111.177-251.611-248.686-251.611-64.365 0-125.805 26.331-172.617 70.217l-5.851 5.851c-23.406 23.406-61.44 23.406-84.846 0-2.926-2.925-2.926-5.851-5.851-5.851-46.812-43.886-108.252-70.217-172.618-70.217-134.582 0-245.76 114.103-245.76 251.611H0C0 178.47 152.137 26.331 336.457 26.331c81.92 0 157.989 29.258 219.429 81.92 61.44-52.662 137.508-81.92 219.428-81.92 184.32 0 336.457 152.138 336.457 339.383M122.88 664.137q-21.943 0-35.109-17.554c-2.925-5.852-8.777-11.703-11.702-17.554C26.33 550.034 0 459.337 0 365.714c0-23.405 20.48-43.885 43.886-43.885s43.885 20.48 43.885 43.885c0 76.069 20.48 149.212 61.44 213.577 2.926 5.852 5.852 8.778 8.778 14.629 14.628 20.48 8.777 46.811-11.703 61.44-5.852 5.851-14.629 8.777-23.406 8.777m915.749-93.623c-5.852 0-11.703 0-14.629-2.925-23.406-8.778-35.109-35.109-23.406-55.589 17.555-46.811 26.332-96.549 26.332-146.286-2.926-23.405 17.554-43.885 40.96-43.885s43.885 20.48 43.885 43.885c0 61.44-11.702 122.88-35.108 178.469-5.852 17.554-20.48 26.331-38.034 26.331m-482.743 441.783c-8.777 0-20.48-2.926-29.257-5.851-11.703-5.852-17.555-5.852-20.48-8.777C333.53 918.674 187.246 795.794 81.92 637.806c-14.629-20.48-8.777-46.812 11.703-61.44s46.811-8.777 61.44 11.703c96.548 143.36 231.131 257.462 389.12 330.605l2.926 2.926c2.925 0 2.925 2.926 8.777 2.926l14.628-5.852 52.663-26.331c20.48-11.703 46.812-2.926 58.514 17.554s2.926 46.812-17.554 58.514-40.96 20.48-58.514 29.258l-20.48 8.777c-8.777 5.851-20.48 5.851-29.257 5.851M1038.63 819.2H746.057c-23.406 0-43.886-20.48-43.886-43.886s20.48-43.885 43.886-43.885h292.572c23.405 0 43.885 20.48 43.885 43.885s-20.48 43.886-43.885 43.886zM892.343 965.486c-23.406 0-43.886-20.48-43.886-43.886V629.029c0-23.406 20.48-43.886 43.886-43.886s43.886 20.48 43.886 43.886V921.6c0 23.406-20.48 43.886-43.886 43.886",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,wd))}}),vd=["aria-labelledby"],Tp=(0,t.defineComponent)({__name:"Add",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M888.686 917.942h-204.8c-29.257 0-54.857-25.6-54.857-54.857s25.6-54.857 54.857-54.857h201.143c29.257 0 54.857 25.6 54.857 54.857s-21.943 54.857-51.2 54.857m-102.4 98.743c-29.257 0-54.857-21.943-54.857-54.857V760.685c0-29.257 25.6-54.857 54.857-54.857s54.857 25.6 54.857 54.857v201.143c0 32.914-25.6 54.857-54.857 54.857m-577.829 7.314H204.8c-29.257-3.657-51.2-29.257-51.2-58.514 14.63-149.943 142.63-270.629 292.571-270.629 29.258 0 54.858 25.6 54.858 54.857s-25.6 54.857-54.858 54.857c-95.085 0-175.542 73.143-186.514 168.229 0 29.257-25.6 51.2-51.2 51.2M475.43 548.57c-43.886 0-87.772-21.942-117.029-54.856-18.286-21.943-14.629-58.514 7.314-76.8s58.515-14.628 76.8 7.315c14.63 18.285 43.886 18.285 58.515 0 18.285-21.943 54.857-29.258 76.8-7.315 21.942 18.286 29.257 54.857 7.314 76.8-21.943 32.914-65.829 54.856-109.714 54.856m0 256c-223.086 0-402.286-179.2-402.286-402.284S252.344 0 475.43 0s402.285 179.2 402.285 402.286c0 58.514-14.628 117.027-36.571 171.884-14.63 25.6-43.886 40.23-73.143 25.6-25.6-14.628-40.23-43.885-25.6-73.142 18.286-40.228 29.257-80.457 29.257-124.342 0-160.915-131.657-292.572-292.571-292.572S186.514 241.37 186.514 402.286s131.657 292.57 292.572 292.57c14.628 0 32.914 0 47.543-3.657 29.257-3.657 58.514 14.63 62.17 43.886 3.658 29.257-14.628 58.514-43.885 62.171-25.6 7.314-47.543 7.314-69.485 7.314z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,vd))}}),Cd=["aria-labelledby"],Ep=(0,t.defineComponent)({__name:"Jimi40",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M512.496 1024c-302.08 0-499.2-161.28-499.2-409.6 0-168.96 89.6-332.8 232.96-430.08 0 0 2.56 0 2.56-2.56l-2.56-7.68c-10.24-61.44 25.6-117.76 81.92-133.12 30.72-7.68 61.44-2.56 87.04 10.24 20.48-28.16 56.32-51.2 99.84-51.2 40.96 0 76.8 23.04 97.28 53.76 25.6-12.8 56.32-17.92 87.04-10.24 56.32 15.36 92.16 71.68 81.92 130.56l-2.56 10.24c143.36 97.28 232.96 261.12 232.96 430.08 0 248.32-197.12 409.6-499.2 409.6m-153.6-906.24c-2.56 0-7.68 0-10.24 2.56-17.92 5.12-30.72 23.04-28.16 43.52l5.12 20.48c5.12 23.04-2.56 46.08-23.04 56.32-7.68 5.12-12.8 7.68-15.36 10.24-120.32 79.36-197.12 220.16-197.12 363.52 0 245.76 217.6 332.8 422.4 332.8s422.4-87.04 422.4-332.8c0-143.36-76.8-284.16-199.68-366.08-2.56-2.56-7.68-5.12-12.8-7.68-17.92-12.8-28.16-35.84-23.04-56.32l5.12-25.6c2.56-17.92-7.68-35.84-28.16-40.96s-40.96 7.68-46.08 25.6v2.56c-10.24 33.28-38.4 33.28-43.52 33.28h-30.72l-5.12-33.28v-38.4c0-15.36-17.92-30.72-35.84-30.72-20.48 0-38.4 17.92-38.4 38.4 0 30.72 0 46.08-12.8 58.88l-10.24 10.24h-15.36c-7.68 0-38.4-2.56-40.96-43.52-7.68-15.36-23.04-23.04-38.4-23.04m197.12 7.68V128l35.84 7.68zm-94.72 460.8c0-38.4 38.4-51.2 51.2-51.2s51.2 12.8 51.2 51.2c0 79.36-12.8 148.48-35.84 207.36-2.56 12.8-7.68 25.6-15.36 25.6s-12.8-12.8-15.36-25.6c-23.04-58.88-35.84-128-35.84-207.36m243.2 15.36a64 64 0 1 0 128 0 64 64 0 1 0-128 0m-512 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0m629.76 192c-107.52 0-194.56-87.04-194.56-192s87.04-192 194.56-192c51.2 0 99.84 17.92 135.68 53.76 20.48 17.92 35.84 40.96 46.08 66.56 7.68 20.48 0 40.96-20.48 51.2-20.48 7.68-40.96 0-51.2-20.48-5.12-15.36-15.36-28.16-28.16-38.4-23.04-20.48-51.2-33.28-81.92-33.28-64 0-117.76 51.2-117.76 115.2s53.76 115.2 117.76 115.2c51.2 0 94.72-30.72 112.64-79.36 7.68-20.48 28.16-30.72 48.64-23.04s30.72 28.16 23.04 48.64c-25.6 76.8-99.84 128-184.32 128m-619.52 0c-92.16 0-174.08-66.56-189.44-156.16-5.12-20.48 10.24-40.96 30.72-43.52 20.48-5.12 40.96 7.68 46.08 28.16 10.24 56.32 58.88 94.72 112.64 94.72 64 0 117.76-51.2 117.76-115.2s-51.2-115.2-117.76-115.2c-48.64 0-89.6 28.16-107.52 71.68-7.68 20.48-30.72 30.72-48.64 23.04-20.48-7.68-28.16-30.72-20.48-48.64 28.16-74.24 99.84-120.32 179.2-120.32 107.52 0 194.56 87.04 194.56 192s-89.6 189.44-197.12 189.44",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Cd))}}),Nd=["aria-labelledby"],zp=(0,t.defineComponent)({__name:"Check",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,i=n,r=a=>{i("click",a)},o=a=>{if(a)return isNaN(Number(a))?String(a):a+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),c=(0,t.computed)(()=>{let a={};return a.height=o(l.height)??o(l.size),a.width=o(l.width)??o(l.size),a.color=l.color,a});return(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(c.value),onClick:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...u[0]||=[(0,t.createElementVNode)("path",{d:"M998.4 245.029c-219.429 153.6-398.629 332.8-552.229 552.228-40.228 58.514-128 54.857-164.571-3.657-69.486-106.057-149.943-186.514-256-256-51.2-32.914-18.286-113.371 40.229-98.743C182.857 460.8 274.286 508.343 358.4 585.143c157.257-190.172 358.4-340.114 588.8-435.2 62.171-25.6 106.057 58.514 51.2 95.086",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Nd))}}),{componentName:kd,create:xd}=pe("popup"),Td=xd(p1(kd,{FoxOverLay:la,Close:yl}));function Ed(e,n,l,i,r,o){const s=(0,t.resolveComponent)("FoxOverLay"),c=(0,t.resolveComponent)("Close");return(0,t.openBlock)(),(0,t.createBlock)(t.Teleport,{to:e.teleport,disabled:e.teleportDisable},[e.overlay?((0,t.openBlock)(),(0,t.createBlock)(s,(0,t.mergeProps)({key:0,visible:e.visible,"close-on-click-overlay":e.closeOnClickOverlay,"z-index":e.zIndex,"lock-scroll":e.lockScroll,duration:e.duration,"overlay-class":e.overlayClass,"overlay-style":e.overlayStyle,onClick:e.onClickOverlay},e.$attrs),null,16,["visible","close-on-click-overlay","z-index","lock-scroll","duration","overlay-class","overlay-style","onClick"])):(0,t.createCommentVNode)("",!0),(0,t.createVNode)(t.Transition,{name:e.transitionName,onAfterEnter:e.onOpened,onAfterLeave:e.onClosed},{default:(0,t.withCtx)(()=>[(0,t.withDirectives)((0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(e.classes),style:(0,t.normalizeStyle)(e.popStyle),onClick:n[1]||(n[1]=(...a)=>e.onClick&&e.onClick(...a))},[e.showSlot?(0,t.renderSlot)(e.$slots,"default",{key:0}):(0,t.createCommentVNode)("",!0),e.closed?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,onClick:n[0]||(n[0]=(...a)=>e.onClickCloseIcon&&e.onClickCloseIcon(...a)),class:(0,t.normalizeClass)(["fox-popup__close-icon","fox-popup__close-icon--"+e.closeIconPosition])},[(0,t.renderSlot)(e.$slots,"close-icon",{},()=>[(0,t.createVNode)(c)])],2)):(0,t.createCommentVNode)("",!0)],6),[[t.vShow,e.visible]])]),_:3},8,["name","onAfterEnter","onAfterLeave"])],8,["to","disabled"])}var vt=Fe(Td,[["render",Ed]]),{create:zd,scope:$d}=pe("calendar-pane"),Bd=zd({props:{type:{type:String,default:"one"},valueFormat:{type:String,default:"YYYY-MM-DD"},isAutoBackFill:{type:Boolean,default:!1},toDateAnimation:{type:Boolean,default:!0},poppable:{type:Boolean,default:!0},showTitle:{type:Boolean,default:!0},showSubTitle:{type:Boolean,default:!0},showToday:{type:Boolean,default:!0},title:{type:String},confirmText:{type:String},startText:{type:String},endText:{type:String},defaultValue:{type:[String,Array],default:""},startDate:{type:String,default:we.getDay(0)},endDate:{type:String,default:we.getDay(365)},firstDayOfWeek:{type:Number,default:0}},emits:["choose","update","close","select"],setup(e,{emit:n,slots:l,expose:i}){const{toLocaleRefs:r,t:o}=(0,Be.useFoxI18n)($d),s=r(e,["title","confirmText","startText","endText","today"]),c=(0,t.computed)(()=>({height:"39px"})),a=(0,t.computed)(()=>({height:"64px"})),u=JSON.parse(o("weekdays")),f=(0,t.ref)([...u.slice(e.firstDayOfWeek,7),...u.slice(0,e.firstDayOfWeek)]),d=(0,t.ref)(null),h=(0,t.ref)(null),z=(0,t.ref)(null),T=(0,t.ref)(null),y=(0,t.ref)(0),p=(0,t.computed)(()=>m.monthsData.slice(m.defaultRange[0],m.defaultRange[1])),g=(0,t.computed)(()=>l.btn),S=(0,t.computed)(()=>l["top-info"]),$=(0,t.computed)(()=>l["bottom-info"]),m=(0,t.reactive)({yearMonthTitle:"",defaultRange:[],currDate:"",propStartDate:"",propEndDate:"",unLoadPrev:!1,touchParams:{startY:0,endY:0,startTime:0,endTime:0,lastY:0,lastTime:0},transformY:0,translateY:0,scrollDistance:0,defaultData:[],chooseData:[],monthsData:[],dayPrefix:"fox-calendar__day",startData:"",endData:"",isRange:e.type==="range",timer:0,currentIndex:0,containerHeight:0,avgHeight:0,monthsNum:0}),C=A=>A.split("-"),k=A=>we.isEqual(m.currDate[0],A),E=A=>we.isEqual(m.currDate[1],A),Y=A=>m.currDate?.length>0?m.currDate?.some(X=>we.isEqual(X,A)):!1,D=(A,X)=>X.curData[0]+"-"+X.curData[1]+"-"+we.getNumTwoBit(+A.day),O=(A,X)=>{const re=D(A,X),{type:de}=e;return A.type=="curr"?we.isEqual(m.currDate,re)||(de=="range"||de=="week")&&(k(re)||E(re))||de=="multiple"&&Y(re)?`${m.dayPrefix}--active`:m.propStartDate&&we.compareDate(re,m.propStartDate)||m.propEndDate&&we.compareDate(m.propEndDate,re)?`${m.dayPrefix}--disabled`:(de=="range"||de=="week")&&Array.isArray(m.currDate)&&Object.values(m.currDate).length==2&&we.compareDate(m.currDate[0],re)&&we.compareDate(re,m.currDate[1])?`${m.dayPrefix}--choose`:null:`${m.dayPrefix}--disabled`},N=()=>{const{type:A}=e;if(A=="range"&&m.chooseData.length==2||A!="range"){let X=m.chooseData.slice(0);A=="week"&&(X={weekDate:[L(m.chooseData[0]),L(m.chooseData[1])]}),n("choose",X),e.poppable&&n("update")}},M=(A,X,re=!1)=>{if(O(A,X)!=`${m.dayPrefix}--disabled`){const{type:de}=e;let[ne,U]=X.curData,v=[...X.curData];if(v[2]=we.getNumTwoBit(Number(A.day)),v[3]=`${v[0]}-${v[1]}-${v[2]}`,v[4]=we.getWhatDay(+v[0],+v[1],+v[2]),de=="multiple")if(m.currDate?.length>0){let w;m.currDate?.forEach((G,le)=>{G==v[3]&&(w=le)}),re?m.chooseData.push([...v]):w!==void 0?(m.currDate.splice(w,1),m.chooseData.splice(w,1)):(m.currDate.push(v[3]),m.chooseData.push([...v]))}else m.currDate=[v[3]],m.chooseData=[[...v]];else if(de=="range"){let w=Object.values(m.currDate).length;w==2||w==0?m.currDate=[v[3]]:we.compareDate(m.currDate[0],v[3])?Array.isArray(m.currDate)&&m.currDate.push(v[3]):Array.isArray(m.currDate)&&m.currDate.unshift(v[3]),m.chooseData.length==2||!m.chooseData.length?m.chooseData=[[...v]]:we.compareDate(m.chooseData[0][3],v[3])?m.chooseData=[...m.chooseData,[...v]]:m.chooseData=[[...v],...m.chooseData]}else if(de=="week"){let w=we.getWeekDate(ne,U,A.day,e.firstDayOfWeek);m.propStartDate&&we.compareDate(w[0],m.propStartDate)&&w.splice(0,1,m.propStartDate),m.propEndDate&&we.compareDate(m.propEndDate,w[1])&&w.splice(1,1,m.propEndDate),m.currDate=w,m.chooseData=[we.formatResultDate(w[0]),we.formatResultDate(w[1])]}else m.currDate=v[3],m.chooseData=[...v];if(!re){let w=m.chooseData;de=="week"&&(w={weekDate:[L(m.chooseData[0]),L(m.chooseData[1])]}),n("select",w),(e.isAutoBackFill||!e.poppable)&&N()}}},L=A=>{let[X,re,de]=A;return{date:A,monthWeekNum:we.getMonthWeek(X,re,de,e.firstDayOfWeek),yearWeekNum:we.getYearWeek(X,re,de,e.firstDayOfWeek)}},x=A=>{const X=A=="prev"?m.monthsData[0]:m.monthsData[m.monthsData.length-1];let re=parseInt(X.curData[0]),de=parseInt(X.curData[1].toString().replace(/^0/,""));switch(A){case"prev":de==1&&(re-=1),de=de==1?12:--de;break;case"next":de==12&&(re+=1),de=de==12?1:++de;break}return[re+"",we.getNumTwoBit(de),we.getMonthDays(String(re),String(de))+""]},j=(A,X,re)=>{let{year:de,month:ne}=re;return X=="prev"&&A>=7&&(A-=7),Array.from(Array(A),(U,v)=>({day:String(v+1),type:X,year:de,month:ne}))},_=(A,X,re,de)=>{A=A-e.firstDayOfWeek;let{year:ne,month:U}=re;return X=="prev"&&A>=7&&(A-=7),Array.from(Array(de),(v,w)=>({day:String(w+1),type:X,year:ne,month:U})).slice(de-A)},R=(A,X)=>{const re=we.getMonthPreDay(+A[0],+A[1]);let de=Number(A[1])-1,ne=Number(A[0]);de<=0&&(de=12,ne+=1);const U=we.getMonthDays(String(A[0]),String(A[1])),v=we.getMonthDays(ne+"",de+""),w={year:A[0],month:A[1]},G={curData:A,title:o("monthTitle",{year:w.year,month:w.month}),monthData:[..._(re,"prev",{month:String(de),year:String(ne)},v),...j(U,"curr",w)],cssHeight:0,cssScrollHeight:0};G.cssHeight=39+64*(G.monthData.length>35?6:5);let le=0;m.monthsData.length>0&&(le=m.monthsData[m.monthsData.length-1].cssScrollHeight+m.monthsData[m.monthsData.length-1].cssHeight),G.cssScrollHeight=le,X=="next"?(!m.endData||!we.compareDate(`${m.endData[0]}-${m.endData[1]}-${we.getMonthDays(m.endData[0],m.endData[1])}`,`${A[0]}-${A[1]}-${A[2]}`))&&m.monthsData.push(G):!m.startData||!we.compareDate(`${A[0]}-${A[1]}-${A[2]}`,`${m.startData[0]}-${m.startData[1]}-01`)?m.monthsData.unshift(G):m.unLoadPrev=!0},K=()=>{let A=e.startDate?e.startDate:we.getDay(0),X=e.endDate?e.endDate:we.getDay(365);m.propStartDate=A,m.propEndDate=X,m.startData=C(A),m.endData=C(X),(e.defaultValue||Array.isArray(e.defaultValue)&&e.defaultValue.length>0)&&(m.currDate=e.type!=="one"?[...e.defaultValue]:e.defaultValue);const re={year:Number(m.startData[0]),month:Number(m.startData[1])},de={year:Number(m.endData[0]),month:Number(m.endData[1])};let ne=de.month-re.month;de.year-re.year>0&&(ne=ne+12*(de.year-re.year)),ne<=0&&(ne=1),R(m.startData,"next");let U=1;do R(x("next"),"next");while(U++<ne);if(m.monthsNum=ne,e.type=="range"&&Array.isArray(m.currDate))m.currDate.length>0&&(A&&we.compareDate(m.currDate[0],A)&&m.currDate.splice(0,1,A),X&&we.compareDate(X,m.currDate[1])&&m.currDate.splice(1,1,X),m.defaultData=[...C(m.currDate[0]),...C(m.currDate[1])]);else if(e.type=="multiple"&&Array.isArray(m.currDate)){if(m.currDate.length>0){let v=[],w={};m.currDate.forEach(G=>{A&&!we.compareDate(G,A)&&X&&!we.compareDate(X,G)&&(Object.hasOwnProperty.call(w,G)||(v.push(G),w[G]=G))}),m.currDate=[...v],m.defaultData=[...C(v[0])]}}else if(e.type=="week"&&Array.isArray(m.currDate)){if(m.currDate.length>0){let[v,w,G]=C(m.currDate[0]),le=we.getWeekDate(v,w,G,e.firstDayOfWeek);m.currDate=le,A&&we.compareDate(m.currDate[0],A)&&m.currDate.splice(0,1,A),X&&we.compareDate(X,m.currDate[1])&&m.currDate.splice(1,1,X),m.defaultData=[...C(m.currDate[0]),...C(m.currDate[1])]}}else m.currDate&&(A&&we.compareDate(m.currDate,A)?m.currDate=A:X&&!we.compareDate(m.currDate,X)&&(m.currDate=X),m.defaultData=[...C(m.currDate)])};i({scrollToDate:A=>{we.compareDate(A,m.propStartDate)?A=m.propStartDate:we.compareDate(A,m.propEndDate)||(A=m.propEndDate);let X=C(A);m.monthsData.forEach((re,de)=>{if(re.title==o("monthTitle",{year:X[0],month:X[1]})&&d.value){let ne=m.monthsData[de].cssScrollHeight-d.value.scrollTop;if(e.toDateAnimation){let U=0,v=setInterval(()=>{if(U++,d.value){let w=ne/10;d.value.scrollTop=d.value.scrollTop+w}U>=10&&(clearInterval(v),d.value&&(d.value.scrollTop=m.monthsData[de].cssScrollHeight))},40)}else d.value.scrollTop=m.monthsData[de].cssScrollHeight}})},initPosition:()=>{d?.value&&(d.value.scrollTop=m.monthsData[m.currentIndex].cssScrollHeight)},doLayout:()=>{let A=0,X=0;m.defaultData.length>0&&m.monthsData.forEach((ne,U)=>{ne.title==o("monthTitle",{year:m.defaultData[0],month:m.defaultData[1]})&&(A=U),(e.type=="range"||e.type=="week")&&ne.title==o("monthTitle",{year:m.defaultData[3],month:m.defaultData[4]})&&(X=U)}),Q(m.monthsNum,A),m.currentIndex=A,m.yearMonthTitle=m.monthsData[m.currentIndex].title,m.defaultData.length>0&&(m.isRange?(M({day:m.defaultData[2],type:"curr"},m.monthsData[m.currentIndex],!0),M({day:m.defaultData[5],type:"curr"},m.monthsData[X],!0)):e.type=="week"?M({day:m.defaultData[2],type:"curr"},m.monthsData[m.currentIndex],!0):e.type=="multiple"?[...m.currDate].forEach(ne=>{let U=C(ne),v=m.currentIndex;m.monthsData.forEach((w,G)=>{w.title==o("monthTitle",{year:U[0],month:U[1]})&&(v=G)}),M({day:U[2],type:"curr"},m.monthsData[v],!0)}):M({day:m.defaultData[2],type:"curr"},m.monthsData[m.currentIndex],!0));let re=m.monthsData[m.monthsData.length-1],de=re.cssHeight+re.cssScrollHeight;ba(()=>{d?.value&&h?.value&&T?.value&&(y.value=d.value.clientHeight,h.value.style.height=`${de}px`,d.value.scrollTop=m.monthsData[m.currentIndex].cssScrollHeight)}),m.avgHeight=Math.floor(de/(m.monthsNum+1))}});const Q=(A,X)=>{A>=3?X>0&&X<A?m.defaultRange=[X-1,X+3]:X==0?m.defaultRange=[X,X+4]:X==A&&(m.defaultRange=[X-2,X+2]):m.defaultRange=[0,A+2];let re=m.monthsData[m.defaultRange[0]].cssScrollHeight;m.translateY=re},J=(A,X)=>(e.type=="range"||e.type=="week")&&A.type=="curr"&&O(A,X)=="fox-calendar__day--active",H=(A,X)=>J(A,X)&&k(D(A,X)),B=(A,X)=>m.currDate.length>=2&&E(D(A,X))?J(A,X):!1,P=()=>{if(m.currDate.length>=2)return we.isEqual(m.currDate[0],m.currDate[1])},te=A=>{const X=`${A.year}-${A.month}-${Number(A.day)<10?"0"+A.day:A.day}`;return we.isEqual(X,we.date2Str(new Date))},ie=A=>{if(m.monthsData.length<=1)return;const X=A.target.scrollTop;let re=Math.floor(X/m.avgHeight);if(re==0)X>=m.monthsData[re+1].cssScrollHeight&&(re+=1);else if(re>0&&re<m.monthsNum-1)X>=m.monthsData[re+1].cssScrollHeight&&(re+=1),X<m.monthsData[re].cssScrollHeight&&(re-=1);else{const de=Math.round(X+y.value);de<m.monthsData[re].cssScrollHeight+m.monthsData[re].cssHeight&&X>m.monthsData[re-1].cssScrollHeight&&(re-=1),re+1<=m.monthsNum&&de>=m.monthsData[re+1].cssScrollHeight+m.monthsData[re+1].cssHeight&&(re+=1),re>=1&&X<m.monthsData[re-1].cssScrollHeight&&(re-=1)}m.currentIndex!==re&&(m.currentIndex=re,Q(m.monthsNum,re)),m.yearMonthTitle=m.monthsData[re].title},Z=()=>{m.chooseData.splice(0),m.monthsData.splice(0),K()};return K(),(0,t.watch)(()=>e.defaultValue,A=>{A&&e.poppable&&Z()}),{dayTitleStyle:c,dayCellStyle:a,weeks:f,compConthsData:p,showTopBtn:g,topInfo:S,bottomInfo:$,rangeTip:P,mothsViewScroll:ie,getClass:O,isStartTip:H,isEndTip:B,chooseDay:M,isCurrDay:te,confirm:N,months:d,...(0,t.toRefs)(m),...(0,t.toRefs)(e),...s,monthsPanel:h,weeksPanel:z,viewArea:T}}}),Vd={class:"fox-calendar__header"},Dd={key:0,class:"fox-calendar__header-title"},Md={key:1,class:"fox-calendar__header-slot"},Ad={key:2,class:"fox-calendar__header-subtitle"},Pd={class:"fox-calendar__weekdays",ref:"weeksPanel"},Id={class:"fox-calendar__panel",ref:"monthsPanel"},Ld={class:"fox-calendar__days"},Rd=["onClick"],_d={class:"fox-calendar__day-value"},Fd={key:0,class:"fox-calendar__day-tips fox-calendar__day-tips--top"},Od={key:1,class:"fox-calendar__day-tips fox-calendar__day-tips--bottom"},qd={key:2,class:"fox-calendar__day-tips--curr"},Hd={key:4,class:"fox-calendar__day-tip"},Kd={key:0,class:"fox-calendar__footer"};function jd(e,n,l,i,r,o){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(["fox-calendar",{"fox-calendar--nopop":!e.poppable,"fox-calendar--nofooter":e.isAutoBackFill}])},[(0,t.createElementVNode)("view",Vd,[e.showTitle?((0,t.openBlock)(),(0,t.createElementBlock)("view",Dd,(0,t.toDisplayString)(e.title),1)):(0,t.createCommentVNode)("",!0),e.showTopBtn?((0,t.openBlock)(),(0,t.createElementBlock)("view",Md,[(0,t.renderSlot)(e.$slots,"btn")])):(0,t.createCommentVNode)("",!0),e.showSubTitle?((0,t.openBlock)(),(0,t.createElementBlock)("view",Ad,(0,t.toDisplayString)(e.yearMonthTitle),1)):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",Pd,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.weeks,(s,c)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:"fox-calendar__weekday",key:c},(0,t.toDisplayString)(s),1))),128))],512)]),(0,t.createElementVNode)("view",{class:"fox-calendar__content",ref:"months",onScroll:n[0]||(n[0]=(...s)=>e.mothsViewScroll&&e.mothsViewScroll(...s))},[(0,t.createElementVNode)("view",Id,[(0,t.createElementVNode)("view",{class:"fox-calendar__body",ref:"viewArea",style:(0,t.normalizeStyle)({transform:`translateY(${e.translateY}px)`})},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.compConthsData,(s,c)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:"fox-calendar__month",key:c},[(0,t.createElementVNode)("view",{class:"fox-calendar__month-title",style:(0,t.normalizeStyle)(e.dayTitleStyle)},(0,t.toDisplayString)(s.title),5),(0,t.createElementVNode)("view",Ld,[(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(["fox-calendar__days-item",e.type==="range"?"fox-calendar__days-item--range":""])},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(s.monthData,(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:u,class:(0,t.normalizeClass)(["fox-calendar__day",e.getClass(a,s)]),style:(0,t.normalizeStyle)(e.dayCellStyle),onClick:f=>e.chooseDay(a,s)},[(0,t.createElementVNode)("view",_d,[(0,t.renderSlot)(e.$slots,"day",{date:a.type=="curr"?a:""},()=>[(0,t.createTextVNode)((0,t.toDisplayString)(a.type=="curr"?a.day:""),1)])]),e.topInfo?((0,t.openBlock)(),(0,t.createElementBlock)("view",Fd,[(0,t.renderSlot)(e.$slots,"top-info",{date:a.type=="curr"?a:""})])):(0,t.createCommentVNode)("",!0),e.bottomInfo?((0,t.openBlock)(),(0,t.createElementBlock)("view",Od,[(0,t.renderSlot)(e.$slots,"bottom-info",{date:a.type=="curr"?a:""})])):(0,t.createCommentVNode)("",!0),!e.bottomInfo&&e.showToday&&e.isCurrDay(a)?((0,t.openBlock)(),(0,t.createElementBlock)("view",qd,(0,t.toDisplayString)(e.today),1)):(0,t.createCommentVNode)("",!0),e.isStartTip(a,s)?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:3,class:(0,t.normalizeClass)(["fox-calendar__day-tip",{"fox-calendar__day-tips--top":e.rangeTip()}])},(0,t.toDisplayString)(e.startText),3)):(0,t.createCommentVNode)("",!0),e.isEndTip(a,s)?((0,t.openBlock)(),(0,t.createElementBlock)("view",Hd,(0,t.toDisplayString)(e.endText),1)):(0,t.createCommentVNode)("",!0)],14,Rd))),128))],2)])]))),128))],4)],512)],544),e.poppable&&!e.isAutoBackFill?((0,t.openBlock)(),(0,t.createElementBlock)("view",Kd,[(0,t.createElementVNode)("view",{class:"fox-calendar__confirm",onClick:n[1]||(n[1]=(...s)=>e.confirm&&e.confirm(...s))},(0,t.toDisplayString)(e.confirmText),1)])):(0,t.createCommentVNode)("",!0)],2)}var Wd=Fe(Bd,[["render",jd]]),{create:Yd}=pe("calendar-picker"),Ud=Yd({components:{CalendarPane:Wd,Popup:vt},props:{...an},emits:["choose","close","update:visible","select"],setup(e,{emit:n,slots:l,expose:i}){const r=(0,t.computed)(()=>l.btn),o=(0,t.computed)(()=>l["top-info"]),s=(0,t.computed)(()=>l.day),c=(0,t.computed)(()=>l["bottom-info"]),a=(0,t.ref)(null),u=g=>{a.value?.scrollToDate(g)},f=()=>{a.value?.initPosition()},d=(0,t.computed)(()=>{const g=["fox-calendar__popup"];return e.popClass&&g.push(e.popClass),g});(0,t.watch)(()=>e.visible,g=>{g&&(0,t.nextTick)(()=>{a.value?a.value.doLayout():setTimeout(()=>{a.value&&a.value.doLayout()},250)})}),i({scrollToDate:u,initPosition:f});const h=()=>{n("update:visible",!1)},z=()=>{n("close"),n("update:visible",!1)};return{popClasses:d,closePopup:()=>{z()},update:h,close:z,select:g=>{n("select",g)},choose:g=>{z(),n("choose",g)},calendarRef:a,showTopBtn:r,topInfo:o,dayInfo:s,bottomInfo:c}}});function Gd(e,n,l,i,r,o){const s=(0,t.resolveComponent)("CalendarPane"),c=(0,t.resolveComponent)("Popup");return e.poppable?((0,t.openBlock)(),(0,t.createBlock)(c,(0,t.mergeProps)({key:0,visible:e.visible,position:"bottom",round:"",closeable:""},e.$attrs,{onClickOverlay:e.closePopup,onClickCloseIcon:e.closePopup,"pop-class":e.popClasses,style:e.popStyle}),{default:(0,t.withCtx)(()=>[(0,t.createVNode)(s,{ref:"calendarRef",type:e.type,"is-auto-back-fill":e.isAutoBackFill,poppable:e.poppable,title:e.title,"default-value":e.defaultValue,"start-date":e.startDate,"end-date":e.endDate,onUpdate:e.update,onClose:e.close,onChoose:e.choose,onSelect:e.select,"confirm-text":e.confirmText,"start-text":e.startText,"end-text":e.endText,"show-today":e.showToday,"show-title":e.showTitle,"show-sub-title":e.showSubTitle,"to-date-animation":e.toDateAnimation,"first-day-of-week":e.firstDayOfWeek},(0,t.createSlots)({_:2},[e.showTopBtn?{name:"btn",fn:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,"btn")]),key:"0"}:void 0,e.dayInfo?{name:"day",fn:(0,t.withCtx)(a=>[(0,t.renderSlot)(e.$slots,"day",{date:a.date})]),key:"1"}:void 0,e.topInfo?{name:"top-info",fn:(0,t.withCtx)(a=>[(0,t.renderSlot)(e.$slots,"top-info",{date:a.date})]),key:"2"}:void 0,e.bottomInfo?{name:"bottom-info",fn:(0,t.withCtx)(a=>[(0,t.renderSlot)(e.$slots,"bottom-info",{date:a.date})]),key:"3"}:void 0]),1032,["type","is-auto-back-fill","poppable","title","default-value","start-date","end-date","onUpdate","onClose","onChoose","onSelect","confirm-text","start-text","end-text","show-today","show-title","show-sub-title","to-date-animation","first-day-of-week"])]),_:3},16,["visible","onClickOverlay","onClickCloseIcon","pop-class","style"])):((0,t.openBlock)(),(0,t.createBlock)(s,{key:1,type:e.type,"is-auto-back-fill":e.isAutoBackFill,poppable:e.poppable,title:e.title,ref:"calendarRef","confirm-text":e.confirmText,"start-text":e.startText,"end-text":e.endText,"default-value":e.defaultValue,"start-date":e.startDate,"end-date":e.endDate,onUpdate:e.update,onClose:e.close,onChoose:e.choose,onSelect:e.select,"show-title":e.showTitle,"show-sub-title":e.showSubTitle,"to-date-animation":e.toDateAnimation,"show-today":e.showToday,"first-day-of-week":e.firstDayOfWeek},(0,t.createSlots)({_:2},[e.showTopBtn?{name:"btn",fn:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,"btn")]),key:"0"}:void 0,e.dayInfo?{name:"day",fn:(0,t.withCtx)(a=>[(0,t.renderSlot)(e.$slots,"day",{date:a.date})]),key:"1"}:void 0,e.topInfo?{name:"top-info",fn:(0,t.withCtx)(a=>[(0,t.renderSlot)(e.$slots,"top-info",{date:a.date})]),key:"2"}:void 0,e.bottomInfo?{name:"bottom-info",fn:(0,t.withCtx)(a=>[(0,t.renderSlot)(e.$slots,"bottom-info",{date:a.date})]),key:"3"}:void 0]),1032,["type","is-auto-back-fill","poppable","title","confirm-text","start-text","end-text","default-value","start-date","end-date","onUpdate","onClose","onChoose","onSelect","show-title","show-sub-title","to-date-animation","show-today","first-day-of-week"]))}var aa=Fe(Ud,[["render",Gd]]),rn=(e,n)=>{let l;return $a(e)?l=e:typeof e=="string"&&St(e)>0?l=we.parser(e,n):l=new Date,l},qt=(e,n,l)=>($a(n)||(n=new Date),we.format(n,l)),Ht=e=>[`${e.getFullYear()}`,`${e.getMonth()+1}`,`${e.getDate()}`,we.date2Str(e),we.getWhatDay(e.getFullYear(),e.getMonth()+1,e.getDate())],Co={...an,modelValue:{type:[String,Date,Array],default:null},rangeSeparator:{type:[String],default:"-"},valueFormat:{type:[String],default:"YYYY-MM-DD"},format:{type:[String],default:"YYYY-MM-DD"},showWeek:{type:[Boolean,String],default:!1},placeholder:{type:[String]},textAlign:{type:[String]},clearable:{type:[Boolean],default:!0},maxLength:{type:[String,Number]}},Xd={...Ae,...Re,...Co};function Qd(e,n,l,i){return{props:Xd,emits:["change","update:modelValue","blur","focus","clear","setValue"],setup(r,o){const{itemTemplateRef:s,innerDisabled:c,disabled:a,innerReadonly:u,readonly:f,browse:d}=je(r),{emitEvent:h,exposeApi:z}=Le({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus","setValue"],get readonly(){return f.value},get disabled(){return a.value},get props(){return r},context:o,get templateRefProxy(){return s.value}},r.prop??o.attrs.name),{toLocaleRefs:T}=(0,Be.useFoxI18n)(n),y=T(r,["placeholder"]);let p=Ve(r,"hintText"),g=(0,t.ref)(!1);const S=(0,t.ref)(!1),$=(0,t.computed)(()=>r.type==="range"),m=(0,t.reactive)({startDate:null,endDate:null,startArray:[],endArray:[]}),C=()=>{m.startDate!==null&&(m.startDate=null,m.endDate=null,m.startArray=[],m.endArray=[])},k=(J,H="one",B="YYYY-MM-DD")=>{if(m1(J)){C();return}if($.value&&Array.isArray(J)&&J.length==2){let P,te;typeof J[0]=="string"?(P=rn(J[0],B),te=rn(J[1],B)):(P=J[0],te=J[1]);let ie=Ht(P),Z=Ht(te);(m.startDate===null||m.startDate.getTime()!==P.getTime()||m.endDate?.getTime()!==te.getTime())&&(m.startDate=P,m.startArray=ie,m.endDate=te,m.endArray=Z)}else{let P;typeof J=="string"?P=rn(J,B):P=J;let te=Ht(P);(m.startDate===null||m.startDate.getTime()!==P.getTime())&&(m.startDate=P,m.startArray=te)}};k(r.modelValue,r.type,r.valueFormat),(0,t.watch)(()=>r.modelValue,J=>{k(J,r.type,r.valueFormat),h("setValue",J)});const E=(0,t.computed)(()=>{if(m.startDate===null)return"";if($.value){let J=qt(r,m.startDate,r.format),H=qt(r,m.endDate,r.format);return`${J} ${r.rangeSeparator} ${H}`}else{let J=qt(r,m.startDate,r.format);return r.showWeek&&(J=`${J} ${m.startArray[4]}`),J}}),Y=(0,t.computed)(()=>m.startDate===null?null:$.value?[we.date2Str(m.startDate),we.date2Str(m.endDate??new Date)]:we.date2Str(m.startDate)),D=e,O=(0,t.computed)(()=>({[D]:!0,readonly:f.value,disabled:a.value})),N=(0,t.computed)(()=>({[`${D}__content`]:!0})),M=_e((0,t.computed)(()=>r.textAlign),"textAlign"),L=(0,t.computed)(()=>({textAlign:M.value??"right"})),x=(0,t.ref)(!1),j=()=>{a.value===!0||f.value===!0||(x.value=!0)},_=()=>{x.value=!1},R=J=>{x.value=J},K=J=>{if(J){if($.value&&Array.isArray(J)){let H=J[0],B=Te(H[0]),P=Te(H[1]),te=Te(H[2]),ie=new Date(B,P-1,te),Z=J[1];B=Te(Z[0]),P=Te(Z[1]),te=Te(Z[2]);let A=new Date(B,P-1,te);if(m.startDate=ie,m.startArray=Ht(ie),m.endDate=A,m.endArray=Ht(A),r.valueFormat){let X=qt(r,ie,r.valueFormat),re=qt(r,A,r.valueFormat);h("update:modelValue",[X,re],{})}else h("update:modelValue",[ie,A],{})}else{let H=J,B=Te(H[0]),P=Te(H[1]),te=Te(H[2]),ie=new Date(B,P-1,te);if(m.startDate=ie,m.startArray=Ht(ie),r.valueFormat){let Z=qt(r,ie,r.valueFormat);h("update:modelValue",Z,{})}else h("update:modelValue",ie,{})}h("change",J,{})}},I=J=>{let H=J.target.value;S.value=!0,h("focus",H,J)},q=J=>{setTimeout(()=>{S.value=!1},0);let H=J.target.value;r.maxLength&&H.length>Number(r.maxLength)&&(H=H.slice(0,Number(r.maxLength))),h("blur",H,J)},ee=J=>{C(),h("update:modelValue",null,J),h("change","",J),h("clear","")},Q=(0,t.ref)();return z({showPicker:j,hidePicker:_,focus:()=>{Q?.value.focus()},blur:()=>{Q?.value.blur()},select:()=>{Q?.value.select()},setDisabled:J=>{c.value=J},setReadonly:J=>{u.value=J}}),()=>{if(d.value==="on"&&(f.value||a.value))return i({modelValue:E.value,span:r.span,labelPosition:r.labelPosition,labelWidth:r.labelWidth},o.slots);const J=a.value||f.value?"":y.placeholder.value,H={class:N.value,style:L.value,type:"text",maxlength:r.maxLength,placeholder:J,readonly:!0,clearable:r.clearable,value:E.value,onClick:j,onFocus:I,onBlur:q,onClear:ee},B={};o.slots.prepend&&(B.prepend=o.slots.prepend),o.slots.append&&(B.append=o.slots.append),o.slots.prefix?B.prefix=o.slots.prefix:B.prefix=()=>(0,t.h)(V.ElIcon,{},{default:()=>(0,t.h)(He.Calendar)}),o.slots.suffix&&(B.suffix=o.slots.suffix);const P=[],te=(0,t.h)(V.ElInput,H,B);P.push(te);const ie={default:()=>P};ie.label=o.slots.default,ie.fixedPreTip=o.slots.fixedPreTip,ie.fixedTip=o.slots.fixedTip;const Z=wt(r,an);Z.visible=x.value,Z["onUpdate:visible"]=R,Z["default-value"]=Y.value,Z.onChoose=K;const A={};if(o.slots.btn){const de=o.slots.btn();A.btn=()=>de}o.slots.day&&(A.day=o.slots.day),o.slots.topInfo&&(A.topInfo=o.slots.topInfo),o.slots.bottomInfo&&(A.bottomInfo=o.slots.bottomInfo);const X=(0,t.h)(aa,Z,A);ie.hide=()=>[X];const re={...Ie(r,Co),ref:s,class:O.value,hintText:p.value,hintVisible:g.value};return r.prop&&(re.prop=`${r.prop}_item`),l(re,ie)}}}}var{componentName:Zd,create:Jd,scope:ef}=pe("calendar-item"),tf=Jd(Qd(Zd,ef,We,Ze)),on=tf,No={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1},placeholder:{type:[String],required:!1},rangeSeparator:{type:[String],required:!1},format:{type:[String],required:!1},maxLength:{type:[String,Number]}},lf={...Ae,...Re,...No};function af(e,n,l,i){return{props:lf,emits:["change","update:modelValue","blur","focus","clear","visible-change","setValue"],setup(r,o){const{itemTemplateRef:s,innerDisabled:c,disabled:a,innerReadonly:u,readonly:f,browse:d}=je(r),{emitEvent:h,exposeApi:z}=Le({componentName:e,get readonly(){return f.value},get disabled(){return a.value},get props(){return r},context:o,get templateRefProxy(){return s.value}},r.prop??o.attrs.name),{toLocaleRefs:T}=(0,Be.useFoxI18n)(n),y=T(r,["placeholder"]),p=(0,t.ref)(!1),g=Ve(r,"modelValue",null,h),S=e,$=(0,t.computed)(()=>({[S]:!0,disabled:a.value,readonly:f.value})),m=(0,t.computed)(()=>({[`${S}__content`]:!0})),C=x=>{g.value=x,h("update:modelValue",x),h("change",x)};let k=Ve(r,"hintText"),E=(0,t.ref)(!1);const Y=x=>{let j=x.target.value;p.value=!0,ke(k.value)||(E.value=!0),h("focus",j,x)},D=x=>{setTimeout(()=>{E.value&&(E.value=!1),p.value=!1},0);let j=x.target.value;r.maxLength&&j.length>Number(r.maxLength)&&(j=j.slice(0,Number(r.maxLength))),h("blur",j,x)},O=()=>{h("clear","")},N=x=>{h("visible-change",x)},M=(0,t.ref)();z({focus:()=>{M?.value.focus()},blur:()=>{M?.value.blur()},handleOpen:()=>{M?.value.handleOpen()},handleClose:()=>{M?.value.handleClose()},setDisabled:x=>{c.value=x},setReadonly:x=>{u.value=x}});const L=(0,t.computed)(()=>{if(Pe(g.value))return"";const x=r.rangeSeparator??" - ",j=Array.isArray(g.value)?g.value:[g.value],_=[];for(let K=0;K<j.length;K++){const I=j[K];if(I==="string"&&_.push(I),I instanceof Date){const q=dt.format(I,r.format);_.push(q)}}const R=` ${x} `;return _.join(R)});return()=>{if(d.value==="on"&&(f.value||a.value))return i({modelValue:L.value,span:r.span,labelPosition:r.labelPosition,labelWidth:r.labelWidth},o.slots);const x=a.value||f.value?"":y.placeholder.value,j={...o.attrs,ref:M,class:m.value,placeholder:x,rangeSeparator:r.rangeSeparator,format:r.format,disabled:a.value,readonly:f.value,modelValue:g.value,"onUpdate:modelValue":C,onClear:O,onFocus:Y,onBlur:D,onVisibleChange:N},_={},R=[],K=(0,t.h)(V.ElTimePicker,j,_);R.push(K);const I={default:()=>R};I.label=o.slots.default,I.fixedPreTip=o.slots.fixedPreTip,I.fixedTip=o.slots.fixedTip;const q={...Ie(r,No),ref:s,class:$.value,hintText:k.value,hintVisible:E.value};return r.prop&&(q.prop=`${r.prop}_item`),l(q,I)}}}}var{componentName:nf,create:rf,scope:of}=pe("time-item"),sf=rf(af(nf,of,We,Ze)),sn=sf,ko={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1},placeholder:{type:[String],required:!1},format:{type:[String],required:!1},rangeSeparator:{type:[String],required:!1},maxLength:{type:[String,Number]}},cf={...Ae,...Re,...ko};function uf(e,n,l,i){return{props:cf,emits:["change","update:modelValue","blur","focus","clear","setValue"],setup(r,o){const{itemTemplateRef:s,innerDisabled:c,disabled:a,innerReadonly:u,readonly:f,browse:d}=je(r),{emitEvent:h,exposeApi:z}=Le({componentName:e,get readonly(){return f.value},get disabled(){return a.value},get props(){return r},context:o,get templateRefProxy(){return s.value}},r.prop??o.attrs.name),{toLocaleRefs:T}=(0,Be.useFoxI18n)(n),y=T(r,["placeholder"]),p=(0,t.ref)(!1),g=Ve(r,"modelValue",null,h),S=e,$=(0,t.computed)(()=>({[S]:!0,disabled:a.value,readonly:f.value})),m=(0,t.computed)(()=>({[`${S}__content`]:!0})),C=L=>{g.value=L,h("update:modelValue",L),h("change",L)};let k=Ve(r,"hintText"),E=(0,t.ref)(!1);const Y=L=>{let x=L.target.value;p.value=!0,ke(k.value)||(E.value=!0),h("focus",x,L)},D=L=>{setTimeout(()=>{E.value&&(E.value=!1),p.value=!1},0);let x=L.target.value;r.maxLength&&x.length>Number(r.maxLength)&&(x=x.slice(0,Number(r.maxLength))),h("blur",x,L)},O=()=>{h("clear","")},N=(0,t.ref)();z({focus:()=>{N?.value.focus()},blur:()=>{N?.value.blur()},handleOpen:()=>{N?.value.handleOpen()},handleClose:()=>{N?.value.handleClose()},setDisabled:L=>{c.value=L},setReadonly:L=>{u.value=L}});const M=(0,t.computed)(()=>{if(Pe(g.value))return"";const L=r.rangeSeparator??" - ",x=Array.isArray(g.value)?g.value:[g.value],j=[];for(let R=0;R<x.length;R++){const K=x[R];if(K==="string"&&j.push(K),K instanceof Date){const I=dt.format(K,r.format);j.push(I)}}const _=` ${L} `;return j.join(_)});return()=>{if(d.value==="on"&&(f.value||a.value))return i({modelValue:M.value,span:r.span,labelPosition:r.labelPosition,labelWidth:r.labelWidth},o.slots);const L=a.value||f.value?"":y.placeholder.value,x={...o.attrs,ref:N,class:m.value,placeholder:L,rangeSeparator:r.rangeSeparator,foramt:r.format,disabled:a.value,readonly:f.value,modelValue:g.value,"onUpdate:modelValue":C,onClear:O,onFocus:Y,onBlur:D},j={},_=[],R=(0,t.h)(V.ElTimeSelect,x,j);_.push(R);const K={default:()=>_};K.label=o.slots.default,K.fixedPreTip=o.slots.fixedPreTip,K.fixedTip=o.slots.fixedTip;const I={...Ie(r,ko),ref:s,class:$.value,hintText:k.value,hintVisible:E.value};return r.prop&&(I.prop=`${r.prop}_item`),l(I,K)}}}}var{componentName:df,create:ff,scope:mf}=pe("time-select-item"),hf=ff(uf(df,mf,We,Ze)),cn=hf;function xo(e,n=0){let l=`${e}`,i=l.indexOf(".");if(i==-1)return l;let r=i;for(let o=l.length-1;o>=i;o--)if(l.charAt(o)!="0"){r=o;break}return r-i<n?r=i+n+1:r!=i&&(r+=1),r>l.length?l=l.padEnd(r,"0"):l=l.substring(0,r),l}function To(e,n,l=20){return typeof n=="string"&&(n=Te(n)),n==1||n==-1?`${e}`:n==0?"0":n>0?xo(dr(`${e}`,`${n}`)):xo(Ta(`${e}`,fr(`${n}`),20))}function pf(e,n=-1,l=!1,i=3,r=","){return $l(e,Te(n),l,i,r)}function Eo(e,n,l,i,r=!0){if(e==="")return"";if(e=mr(e),n=Te(n),n==1)return e;if(i)e=To(e,n),l&&(e=="0"&&r?e=`${e}.`.padEnd(Te(l)+2,"0"):e=Ta(e,1,Te(l)));else{let o=-1*n;e=To(e,o)}return e}function zo(e,n){let l={maxValid:!0,minValid:!0,message:""};if(n.min!==void 0){let i=Ce(n.minInclude),r=Ea(e,n.min);(i&&r==-1||!i&&(r==0||r==-1))&&(l.message="请输入不小于 {0} 的数值".replace("{0}",n.min),l.minValid=!1)}if(n.max!=null){let i=Ce(n.maxInclude),r=Ea(e,n.max);(i&&r==1||!i&&(r==0||r==1))&&(l.maxValid=!1)}return l}var $o={modelValue:{type:[String,Number],required:!1},clearable:{type:[Boolean],default:!0},showTip:{type:[Boolean,String],required:!1,default:!0},min:{type:[Number,String],required:!1},minInclude:{type:[Boolean,String],required:!1,default:!0},max:{type:[Number,String],required:!1},maxInclude:{type:[Boolean,String],required:!1,default:!0},unit:{type:[String],required:!1},rates:{type:[Number,String],required:!1,default:1},precision:{type:[Number,String],required:!1},integerLength:{type:[Number,String],required:!1,default:-1},decimalLength:{type:[Number,String],required:!1,default:2},autoPadding:{type:[Boolean],required:!1,default:!0},digits:{type:[Number],required:!1,default:3},separator:{type:[String],required:!1,default:","},placeholder:{type:[String],required:!1},textAlign:{type:[String],required:!1},adjustPosition:{type:[Boolean],default:!0},alwaysSystem:{type:[Boolean],default:!1},maxLength:{type:[String,Number]}},gf={...Ae,...Re,...$o};function yf(e,n,l,i){return{props:gf,emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(r,o){const{itemTemplateRef:s,innerDisabled:c,disabled:a,innerReadonly:u,readonly:f,browse:d}=je(r),{emitEvent:h,exposeApi:z}=Le({componentName:e,get readonly(){return f.value},get disabled(){return a.value},get props(){return r},context:o,get templateRefProxy(){return s.value}},r.prop??o.attrs.name),T=(0,t.ref)(!1),y=Ve(r,"modelValue",null,h),p=(0,t.ref)("");(0,t.watch)([()=>y.value,()=>r.rates,()=>r.precision],([Q,J,H])=>{if(ke(Q)){p.value="";return}const B=Eo(Q,J,H,!1);p.value!==B&&(p.value=B)},{immediate:!0});const g=(0,t.computed)(()=>{let Q="";return T.value&&(Q=p.value),Q}),{t:S}=(0,Be.useFoxI18n)(n),$=(0,t.computed)(()=>{let Q=r.placeholder??"";return!T.value&&!ke(p.value)?Q=pf(p.value,r.decimalLength,r.autoPadding,r.digits,r.separator):f.value||a.value?Q="":Q=ke(Q)?S(["placeholder"]):Q,Q}),m=e,C=(0,t.computed)(()=>({[m]:!0,disabled:a.value,readonly:f.value})),k=(0,t.computed)(()=>({[`${m}__content`]:!0,[`${m}__placeholder`]:p.value.length>0})),E=_e((0,t.computed)(()=>r.textAlign),"textAlign"),Y=(0,t.computed)(()=>T.value?{textAlign:"left"}:{textAlign:E.value??"right"}),D=(0,t.ref)(""),O=(0,t.computed)(()=>{let Q=D.value;return ke(Q)&&(Q=r.errorTip??""),Q}),N=(0,t.ref)(""),M=(0,t.ref)(!1),L=(Q,J)=>{if(Q=`${Q}`,ke(Q)){p.value="",y.value="",J.forEach(H=>{h(H,"")}),Ce(r.showTip)&&M.value&&(M.value=!1);return}if(Q.length>=2){let H=Q;if(H.charAt(0)=="-"&&(H=H.substring(1)),H.length>=2&&H.charAt(0)=="0"&&H.charAt(1)!="."){(0,t.triggerRef)(p);return}}if(Q!="-"){if(!Aa(Q)){(0,t.triggerRef)(p);return}if(r.integerLength!=-1&&wr(Q)>Number(r.integerLength)){(0,t.triggerRef)(p);return}if(r.decimalLength&&r.decimalLength!=-1&&vr(Q)>Number(r.decimalLength)){(0,t.triggerRef)(p);return}let H=zo(Q,r);if(H.maxValid===!1){D.value=H.message,(0,t.triggerRef)(p);return}}else if(r.min!=null&&Te(r.min)>=0){(0,t.triggerRef)(p);return}N.value=Q,Ce(r.showTip)&&(M.value=Q.length>0),p.value=Q,y.value=Eo(Q,r.rates,r.precision,!0),J.forEach(H=>{h(H,y.value)})},x=Q=>{L(Q,["update:modelValue","input"])},j=Q=>{L(Q,["update:modelValue","change"])},_=Q=>{if(T.value=!0,Ce(r.showTip)){let J=p.value;ke(J)&&(J=r.hintText),ke(J)||(N.value=J,M.value=!0)}D.value="",h("focus",y.value,Q)},R=Q=>{if(setTimeout(()=>{T.value=!1,Ce(r.showTip)&&M.value===!0&&(M.value=!1)},0),!ke(p.value)){let J=zo(p.value,r);if(J.minValid===!1||J.maxValid===!1){D.value=J.message;return}}h("update:modelValue",y.value,Q),h("blur",y.value,Q)},K=()=>{h("clear","")},I=(0,t.computed)(()=>St(r.unit)>0),q=(0,t.ref)();z({focus:()=>{q?.value.focus()},blur:()=>{q?.value.blur()},select:()=>{q?.value.select()},setDisabled:Q=>{c.value=Q},setReadonly:Q=>{u.value=Q}});const ee=()=>$.value||y.value;return()=>{if(d.value==="on"&&(f.value||a.value))return i({modelValue:ee(),unit:r.unit,span:r.span,labelPosition:r.labelPosition,labelWidth:r.labelWidth},o.slots);const Q={...ut(o.attrs),ref:q,class:k.value,style:Y.value,type:"digit",maxlength:r.maxLength,placeholder:$.value,clearable:r.clearable,disabled:a.value,readonly:f.value,modelValue:g.value,"adjust-position":r.adjustPosition,"always-system":r.alwaysSystem,onClear:K,onInput:x,onChange:j,onFocus:_,onBlur:R},J={};o.slots.prepend&&(J.prepend=o.slots.prepend),o.slots.append&&(J.append=o.slots.append),o.slots.prefix&&(J.prefix=o.slots.prefix),o.slots.suffix?J.suffix=o.slots.suffix:I.value&&(J.suffix=()=>[r.unit]);const H=[],B=(0,t.h)(V.ElInput,Q,J);H.push(B);const P={default:()=>H};P.label=o.slots.default,P.fixedPreTip=o.slots.fixedPreTip,P.fixedTip=o.slots.fixedTip;const te={...Ie(r,$o),ref:s,class:C.value,errorTip:O.value,hintText:N.value,hintVisible:M.value,hintType:"number"};return r.prop&&(te.prop=`${r.prop}_item`),l(te,P)}}}}var{componentName:bf,create:Sf,scope:wf}=pe("money-item"),vf=Sf(yf(bf,wf,We,Ze)),un=vf,Bo={modelValue:{type:[String,Number],required:!1},max:{type:[Number],required:!1},min:{type:[Number],required:!1},clearable:{type:[Boolean,String],default:!0},placeholder:{type:[String],required:!1},unit:{type:[String],required:!1},adjustPosition:{type:[Boolean],default:!0},alwaysSystem:{type:[Boolean],default:!1},maxLength:{type:[String,Number]}},Cf={...Ae,...Re,...Bo};function Nf(e,n,l,i){return{props:Cf,emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(r,o){const{itemTemplateRef:s,innerDisabled:c,disabled:a,innerReadonly:u,readonly:f,browse:d}=je(r),{emitEvent:h,exposeApi:z}=Le({componentName:e,validateCheckEvents:["blur","update:modelValue"],get readonly(){return f.value},get disabled(){return a.value},get props(){return r},context:o,get templateRefProxy(){return s.value}},r.prop??o.attrs.name),{toLocaleRefs:T}=(0,Be.useFoxI18n)(n),y=T(r,["placeholder"]),p=(0,t.ref)(!1),g=Ve(r,"modelValue",null,h),S=e,$=(0,t.computed)(()=>({[S]:!0,disabled:a.value,readonly:f.value})),m=(0,t.computed)(()=>({[`${S}__content`]:!0,[`${S}__append`]:x.value})),C=(0,t.computed)(()=>({[`${S}__unit`]:!0})),k=_=>{g.value=_,h("update:modelValue",_)},E=_=>{h("input",_)},Y=_=>{h("change",_)};let D=Ve(r,"hintText"),O=(0,t.ref)(!1);const N=_=>{let R=_.target.value;p.value=!0,ke(D.value)||(O.value=!0),h("focus",R,_)},M=_=>{setTimeout(()=>{O.value&&(O.value=!1),p.value=!1},0);let R=_.target.value;r.maxLength&&R.length>Number(r.maxLength)&&(R=R.slice(0,Number(r.maxLength))),h("blur",R,_)},L=()=>{h("clear","")},x=(0,t.computed)(()=>St(r.unit)>0),j=(0,t.ref)();return z({focus:()=>{j?.value.focus()},blur:()=>{j?.value.blur()},setDisabled:_=>{c.value=_},setReadonly:_=>{u.value=_}}),()=>{if(d.value==="on"&&(f.value||a.value))return i({modelValue:g.value,unit:r.unit,span:r.span,labelPosition:r.labelPosition,labelWidth:r.labelWidth},o.slots);const _=a.value||f.value?"":y.placeholder.value,R={...ut(o.attrs),ref:j,class:m.value,placeholder:_,clearable:r.clearable,disabled:a.value,readonly:f.value,modelValue:g.value,"onUpdate:modelValue":k,min:r.min,max:r.max,"adjust-position":r.adjustPosition,"always-system":r.alwaysSystem,onClear:L,onChange:Y,onInput:E,onFocus:N,onBlur:M},K={},I=[],q=(0,t.h)(V.ElInputNumber,R,K);I.push(q);const ee={default:()=>I};ee.label=o.slots.default,ee.fixedPreTip=o.slots.fixedPreTip,ee.fixedTip=o.slots.fixedTip;const Q={...Ie(r,Bo),ref:s,class:$.value,hintText:D.value,hintVisible:O.value};if(r.prop&&(Q.prop=`${r.prop}_item`),o.slots.append)ee.append=o.slots.append;else if(x.value){const J=(0,t.h)("div",{class:C.value},[r.unit]);ee.append=()=>J}return l(Q,ee)}}}}var{componentName:kf,create:xf,scope:Tf}=pe("input-number-item"),Ef=xf(Nf(kf,Tf,We,Ze)),dn=Ef;function Ct(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function At(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function zf(e,n){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?n[e.childrenKey]||null:n.children??null}var $f=class{scope;constructor(e){this.scope=e}async load(e,n,l,i){if(!n)return[];if(Array.isArray(n))return n;if(typeof n=="function")return await n(l,i);const r=tt(e,this.scope);return r===null?(console.error(`[FoxUI] ${e} component not found api function`),[]):(et(l)&&(0,t.isReactive)(l)&&(l=(0,t.toRaw)(l)),await r(n,l,i))}};function Bf(){const e=st();return new $f(e)}function fn(e,n,l){return!(Ct(e,n)!==Ct(e,l)||At(e,n)!==At(e,l))}function Vo(e,n,l,i){if(i.length==0||n===""||n===null||n===void 0)return null;Array.isArray(n)||(n=[n]);const r=[];let o=i;for(let s=0;Array.isArray(o)&&s<n.length;s++){const c=n[s];if(Array.isArray(c)){const a=Vo(e,c,l,i);r.push(a)}else{let a=!1;for(let u of o){if(l==="text")a=Ct(e,u)===c;else if(l==="item")a=fn(e,u,c);else{let f=At(e,u);f==null&&(f=Ct(e,u)),a=f===c}if(a){r.push(u),o=zf(e,u);break}}if(!a)break}}return r}function Vf(e){return{text:e,value:e}}var Do={modelValue:{type:[Array,String],required:!1},pathNodes:{type:[Array],required:!1},source:{type:[Array,Function,String],default:[]},params:{type:Object},clearable:{type:[Boolean,String],default:()=>!0},props:{type:[Object],required:!1},multiple:{type:[Boolean],default:()=>!1},allowCreate:{type:[Boolean]},valueType:{type:String,required:!1,default:"value"},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},childrenKey:{type:[String],required:!1,default:"children"},remoteMethod:{type:[Function],required:!1},appearLoad:{type:[Boolean],default:!1},lazy:{type:[Boolean],default:!1},lazyLoad:{type:[Function]},leafKey:{type:[String],default:"leaf"},showTooltip:{type:Boolean,default:!1},separator:{type:[String],default:" / "},placeholder:{type:[String],required:!1},maxLength:{type:[String,Number]},emptyText:{type:[String]}},Df={...Ae,...Re,...Do};function Mf(e,n,l,i){return{props:Df,emits:["change","update:modelValue","update:pathNodes","blur","focus","clear","visible-change","expand-change","remove-tag","selected","setValue"],setup(r,o){const{itemTemplateRef:s,innerDisabled:c,disabled:a,innerReadonly:u,readonly:f,browse:d}=je(r),{emitEvent:h,exposeApi:z}=Le({componentName:e,validateCheckEvents:["blur","update:modelValue","selected"],get readonly(){return f.value},get disabled(){return a.value},get props(){return r},context:o,get templateRefProxy(){return s.value}},r.prop??o.attrs.name),{toLocaleRefs:T}=(0,Be.useFoxI18n)(n),y=T(r,["placeholder"]),p=(0,t.ref)(null),g=(0,t.ref)([]),S=(0,t.computed)(()=>g.value?g.value.map(U=>Array.isArray(U)?U.map(v=>Ct(r,v)).join(" "):Ct(r,U)).join(" "):""),$=(U,v,w,G=!0)=>{if(r.props&&r.props.lazy===!0||r.lazy===!0){if(p.value===U)return;p.value=U;const ae=(0,t.toRaw)(U);if(G){const oe=ne?.value.getCheckedNodes();if(oe)if(r.multiple){const se=[];oe.forEach(ue=>{const he=(ue.pathNodes??[]).map(ze=>ze.data);se.push(he)}),h("update:pathNodes",se)}else{const se=(oe[0]?.pathNodes??[]).map(ue=>ue.data);h("update:pathNodes",se)}h("update:modelValue",ae),h("change",ae)}return}const le=Vo(r,U,v,w);if(le===null){if(g.value.length===0||g.value===null)return;g.value=[],p.value=null,G&&(h("update:pathNodes",[]),h("update:modelValue",null),h("change",null));return}const W=le[le.length-1];if(R.value.checkStrictly!==!0&&W&&!Array.isArray(W)&&Array.isArray(W.children)&&W.children.length>0){const ae=[];le.forEach(oe=>{const se=`${Ct(r,oe)}`;ae.push(se)}),ae.length>0&&(x.value=ae.join(r.separator))}else x.value=null;let F=!0;if(le.length!==g.value.length)F=!1;else for(let ae=0;ae<le.length;ae++){const oe=le[ae],se=g.value[ae];if(Array.isArray(oe)){if(!Array.isArray(se)||oe.length!==se.length)F=!1;else for(let ue=0;ue<oe.length;ue++)if(!fn(r,oe[ue],se[ue])){F=!1;break}}else fn(r,oe,se)||(F=!1);if(!F)break}if(!F){g.value=le;let ae=[],oe=[];le.forEach(ue=>{if(Array.isArray(ue)){let he=[],ze=[];for(let ge of ue)he.push(At(r,ge)),r.valueType==="text"?ze.push(Ct(r,ge)):r.valueType==="item"?ze.push(ge):ze.push(At(r,ge));ae.push(he),oe.push(ze)}else ae.push(At(r,ue)),r.valueType==="text"?oe.push(Ct(r,ue)):r.valueType==="item"?oe.push(ue):oe.push(At(r,ue))}),p.value=ae;const se=(0,t.toRaw)(oe);G&&(h("update:pathNodes",le),h("update:modelValue",se),h("change",se))}},m=(0,t.ref)([]),C=_e((0,t.computed)(()=>r.appearLoad),"appearLoad",it.Near,U=>Ce(U)),k=Bf(),E=async(U,v)=>{if(U){const w=await k.load("cascader",U,v);if(w.length>0)if(typeof w[0]=="string"){let G=w.map(le=>Vf(le));m.value=G}else m.value=w}};(0,t.watch)([()=>r.source,()=>r.params],async([U,v])=>{E(U,v)},{immediate:!(C.value||r.lazy)});let Y=!1;const D=()=>{Y||(Y=!0,E(r.source,r.params))};(0,t.watch)([()=>m.value,()=>r.modelValue],([U,v])=>{$(v,r.valueType,U,!1),h("setValue",v)}),r.lazy&&$(r.modelValue,"value",[],!1);let O=null,N=(0,t.ref)(!1);typeof r.remoteMethod=="function"&&(O=async U=>{if(U!=null){N.value=!0;try{const v=await r.remoteMethod(U);m.value=v}catch(v){console.error(v)}N.value=!1}});const M=(0,t.ref)(!1),L=e,x=(0,t.ref)(r.lazy?r.emptyText:null),j=(0,t.computed)(()=>({[L]:!0,"is-incomplete":x.value&&x.value.length>0,disabled:a.value,readonly:f.value})),_=(0,t.computed)(()=>({[`${L}__content`]:!0})),R=(0,t.computed)(()=>{let U={label:r.textKey,value:r.valueKey,children:r.childrenKey};return r.multiple===!0&&(U.multiple=!0),r.props&&Object.assign(U,r.props),r.lazy&&(U.lazy=!0,typeof r.lazyLoad=="function"?U.lazyLoad=r.lazyLoad:U.lazyLoad=async(v,w)=>{let G={};r.params&&Object.assign(G,r.params),v&&Object.assign(G,v);const le=await k.load("cascader",r.source,G,!0);if(v?.config?.checkStrictly!==!0&&Array.isArray(p.value)&&p.value.length===v.level){const W=v.pathLabels??[];let F=[];W.forEach(ae=>{ae&&F.push(ae)}),F.length>0&&(x.value=F.join(r.separator))}else x.value=r.emptyText??null;w(le)}),U}),K=U=>{r.allowCreate?(h("update:modelValue",U),h("change",U),p.value=U):$(U,"value",m.value,!0)};let I=Ve(r,"hintText"),q=(0,t.ref)(!1);const ee=U=>{let v=U.target.value;M.value=!0,ke(I.value)||(q.value=!0),h("focus",v,U)},Q=U=>{setTimeout(()=>{q.value&&(q.value=!1),M.value=!1},0);let v=U.target.value;r.maxLength&&v.length>Number(r.maxLength)&&(v=v.slice(0,Number(r.maxLength))),A.value||h("blur",v,U)},J=()=>{h("clear","")},H=(0,t.ref)(!1);let B=null;const P=()=>{r.showTooltip&&H.value===!1&&(B&&clearTimeout(B),B=setTimeout(()=>{H.value=!0},150))},te=()=>{B&&(clearTimeout(B),H.value=!1,B=null)},ie=(0,t.computed)(()=>H.value||q.value),Z=(0,t.computed)(()=>H.value?S.value:I.value),A=(0,t.ref)(!1),X=U=>{A.value=U,h("visible-change",U),U||h("selected")},re=U=>{h("remove-tag",U)},de=U=>{h("expand-change",U)},ne=(0,t.ref)();return z({focus:()=>{ne?.value.focus()},blur:()=>{ne?.value.blur()},getCheckedNodes:()=>ne?.value.getCheckedNodes(),setDisabled:U=>{c.value=U},setReadonly:U=>{u.value=U}}),()=>{if(d.value==="on"&&(f.value||a.value))return i({modelValue:p.value,source:m.value,valueType:r.valueType,textKey:r.textKey,valueKey:r.valueKey,childrenKey:r.childrenKey,separator:r.separator,emptyText:r.emptyText,span:r.span,labelPosition:r.labelPosition,labelWidth:r.labelWidth},o.slots);const U=a.value||f.value?"":y.placeholder.value,v={...o.attrs,ref:ne,class:_.value,props:R.value,clearable:r.clearable,placeholder:x.value||U,disabled:a.value||f.value,options:m.value,modelValue:p.value,separator:r.separator,onClear:J,onChange:K,onFocus:ee,onBlur:Q,onVisibleChange:X,onRemoveTag:re,expandChange:de};typeof O=="function"&&(v["remote-method"]=O,v.loading=N.value);const w={};o.slots.option&&(w.default=o.slots.option),o.slots.empty&&(w.empty=o.slots.empty);const G=[],le=(0,t.h)(V.ElCascader,v,w);G.push(le);const W={default:()=>G};W.label=o.slots.default,W.fixedPreTip=o.slots.fixedPreTip,W.fixedTip=o.slots.fixedTip;const F={...Ie(r,Do),ref:s,class:j.value,hintText:Z.value,hintVisible:ie.value,onMouseover:P,onMouseleave:te};return r.prop&&(F.prop=`${r.prop}_item`),C.value&&!r.lazy&&(F["appear-listen"]=!0,F.onAppear=D),l(F,W)}}}}var{componentName:Af,create:Pf,scope:If}=pe("cascader-item"),Lf=Pf(Mf(Af,If,We,Ze)),mn=Lf,Mo={modelValue:{type:[String,Boolean,Number,Object],required:!1},clearable:{type:[Boolean,String],default:!0},unit:{type:[String],required:!1},placeholder:{type:[String],required:!1},maxLength:{type:[String,Number]},fetchSuggestions:{type:[Function]}},Rf={...Ae,...Re,...Mo};function _f(e,n,l,i){return{props:Rf,emits:["change","update:modelValue","blur","focus","clear","input","select","setValue"],setup(r,o){const{itemTemplateRef:s,innerDisabled:c,disabled:a,innerReadonly:u,readonly:f,browse:d}=je(r),{emitEvent:h,exposeApi:z}=Le({componentName:e,get readonly(){return f.value},get disabled(){return a.value},get props(){return r},context:o,get templateRefProxy(){return s.value}},r.prop??o.attrs.name),{toLocaleRefs:T}=(0,Be.useFoxI18n)(n),y=T(r,["placeholder"]),p=(0,t.ref)(!1),g=Ve(r,"modelValue",null,h),S=e,$=(0,t.computed)(()=>({[S]:!0,disabled:a.value,readonly:f.value})),m=(0,t.computed)(()=>({[`${S}__content`]:!0})),C=x=>{g.value=x,h("update:modelValue",x),h("input",x)},k=x=>{h("change",x)},E=x=>{h("select",x)};let Y=Ve(r,"hintText"),D=(0,t.ref)(!1);const O=x=>{let j=x.target.value;p.value=!0,ke(Y.value)||(D.value=!0),h("focus",j,x)},N=x=>{setTimeout(()=>{D.value&&(D.value=!1),p.value=!1},0);let j=x.target.value;r.maxLength&&j.length>Number(r.maxLength)&&(j=j.slice(0,Number(r.maxLength))),h("blur",j,x)},M=()=>{h("clear","")},L=(0,t.ref)();return z({focus:()=>{L?.value.focus()},blur:()=>{L?.value.blur()},select:()=>{L?.value.select()},setDisabled:x=>{c.value=x},setReadonly:x=>{u.value=x}}),()=>{if(d.value==="on"&&(f.value||a.value))return i({modelValue:g.value,unit:r.unit,span:r.span,labelPosition:r.labelPosition,labelWidth:r.labelWidth},o.slots);const x=a.value||f.value?"":y.placeholder.value,j={...o.attrs,ref:L,class:m.value,placeholder:x,clearable:r.clearable,disabled:a.value,readonly:f.value,modelValue:g.value,fetchSuggestions:r.fetchSuggestions,onClear:M,onChange:k,onInput:C,onFocus:O,onBlur:N,onSelect:E},_={};o.slots.prepend&&(_.prepend=o.slots.prepend),o.slots.append&&(_.append=o.slots.append),o.slots.prefix&&(_.prefix=o.slots.prefix),o.slots.suffix&&(_.suffix=o.slots.suffix),o.slots.option&&(_.default=o.slots.option);const R=[],K=(0,t.h)(V.ElAutocomplete,j,_);R.push(K);const I={default:()=>R};I.label=o.slots.default,I.fixedPreTip=o.slots.fixedPreTip,I.fixedTip=o.slots.fixedTip;const q={...Ie(r,Mo),ref:s,class:$.value,hintText:Y.value,hintVisible:D.value};return r.prop&&(q.prop=`${r.prop}_item`),l(q,I)}}}}var{componentName:Ff,create:Of,scope:qf}=pe("autocomplete-item"),Hf=Of(_f(Ff,qf,We,Ze)),hn=Hf;function Kf(e,n){let l=n.split("."),i=e;for(let r=0;r<l.length;r++){let o=l[r],s=0,c=o.indexOf("["),a=c==-1?-1:o.indexOf("]",c);for(;c!==-1&&a!==-1;){let u=o.substring(c+1,a);if(/^\d+$/.test(u)){let f=parseInt(u);if(s==0){let d=o.substring(0,c);i=i[d][f]}else i=i[f];s++}c=o.indexOf("[",a),a=c==-1?-1:o.indexOf("]",c)}s===0&&(i=i[o])}return i}function jf(e,n){return{props:{...oo},setup(l,{attrs:i,slots:r}){return()=>{const o={default:s=>{const c=Kf(s.row,s.column.property);return r.default?(0,t.h)(Ot,{...l,modelValue:c},{default:r.default}):(0,t.h)(Ot,{...l,modelValue:c})}};for(let s in r)s!=="default"&&(o[s]=r[s]);return(0,t.h)(V.ElTableColumn,{...i},o)}}}}var{componentName:Wf,create:Yf,scope:Uf}=pe("table-mapping-column"),Gf=Yf(jf(Wf,Uf)),pn=Gf,Xf=Symbol.for("TableStateKey");function Ao(e,n){let l=n.split("."),i=e;for(let r=0;r<l.length;r++){let o=l[r],s=0,c=o.indexOf("["),a=c==-1?-1:o.indexOf("]",c);for(;c!==-1&&a!==-1;){let u=o.substring(c+1,a);if(/^\d+$/.test(u)){let f=parseInt(u);if(s==0){let d=o.substring(0,c);i=i[d][f]}else i=i[f];s++}c=o.indexOf("[",a),a=c==-1?-1:o.indexOf("]",c)}s===0&&(i=i[o])}return i}function Qf(e,n){return{props:{prop:{type:[String],require:!1}},setup(l,{attrs:i}){const r=(0,t.inject)(Xf,{});let o=null;return()=>{const s={default:c=>{const a=r.currentRow?r.currentRow.value:null;c.$index!==-1&&(o=c.row);const u=c.$index!==-1?c.row:o;let f=!1;if(u){const h=l.prop??c.column.property;h?f=Ao(u,h)===(a?Ao(a,h):null):f=Qe(u,a)}const d=(0,t.h)("span",{class:{"el-radio__input":!0,"is-checked":f}},[(0,t.h)("span",{class:{"el-radio__inner":!0}})]);return(0,t.h)("label",{class:{"el-radio":!0,"is-checked":f}},[d])}};return(0,t.h)(V.ElTableColumn,{...i},s)}}}}var{componentName:Zf,create:Jf,scope:e4}=pe("table-radio-column"),t4=Jf(Qf(Zf,e4)),gn=t4,l4={},a4={t:"1685254841130",class:"fox-table-setting__drag-icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"721"};function n4(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)("svg",a4,[...n[0]||(n[0]=[(0,t.createElementVNode)("path",{d:"M235.84 813.632c-54.528 0-98.816 41.792-98.816 93.312 0 51.584 44.288 93.312 98.816 93.312 54.592 0 98.816-41.728 98.816-93.312 0-51.52-44.224-93.312-98.816-93.312z m0-400.832c-54.528 0-98.816 41.792-98.816 93.312 0 51.52 44.288 93.44 98.816 93.44 54.592 0 98.816-41.92 98.816-93.44 0-51.52-44.224-93.312-98.816-93.312z m0-400.832C181.312 11.968 137.024 53.76 137.024 105.408c0 51.456 44.288 93.248 98.816 93.248 54.592 0 98.816-41.728 98.816-93.312C334.72 53.76 290.432 11.968 235.84 11.968z m527.104 801.664c-54.528 0-98.816 41.792-98.816 93.312 0 51.584 44.288 93.312 98.816 93.312 54.528 0 98.816-41.728 98.816-93.312 0-51.52-44.288-93.312-98.816-93.312z m0-400.832c-54.528 0-98.816 41.792-98.816 93.312 0 51.52 44.288 93.44 98.816 93.44 54.528 0 98.816-41.92 98.816-93.44 0-51.52-44.288-93.312-98.816-93.312z m0-400.832c-54.528 0-98.816 41.792-98.816 93.44 0 51.456 44.288 93.248 98.816 93.248 54.528 0 98.816-41.728 98.816-93.312 0-51.584-44.288-93.376-98.816-93.376z","p-id":"722"},null,-1)])])}var r4=Fe(l4,[["render",n4]]),{componentName:$p,create:o4,scope:i4}=pe("table-setting"),s4={tableRef:{type:Object},popoverPlacement:{type:[String],required:!1,default:"bottom"},popoverWidth:{type:[String,Number],required:!1,default:280},title:{type:[String],required:!1},resetText:{type:[String],required:!1},leftFixedTitle:{type:[String],required:!1},rightFixedTitle:{type:[String],required:!1},unFixedTitle:{type:[String],required:!1},fixedLeftText:{type:[String],required:!1},fixedRightText:{type:[String],required:!1},unFixedText:{type:[String],required:!1}},c4=o4({components:{FoxPopover:V.ElPopover,FoxCheckbox:V.ElCheckbox,FoxCheckboxGroup:V.ElCheckboxGroup,FoxButton:V.ElButton,FoxIcon:V.ElIcon,DragIcon:r4,Download:He.Download,RefreshLeft:He.RefreshLeft},props:s4,setup(e,{emit:n,attrs:l}){const{locale:i,toLocaleRefs:r}=(0,Be.useFoxI18n)(i4),o=r(e,["title","resetText","leftFixedTitle","rightFixedTitle","unFixedTitle","fixedLeftText","fixedRightText","unFixedText"]);let s=[];const c=(0,t.ref)([]),a=(0,t.computed)(()=>c.value.filter(Z=>Z.label===""||Z.type?!1:Z.fixed===""||Z.fixed===!0||Z.fixed==="left")),u=(0,t.computed)(()=>c.value.filter(Z=>Z.label===""||Z.type?!1:Z.fixed==="right")),f=(0,t.computed)(()=>c.value.filter(Z=>!(Z.label===""||Z.type||Z.fixed!==void 0))),d=(0,t.computed)(()=>(a.value.length>0||u.value.length>0)&&f.value.length>0),h=(0,t.computed)(()=>a.value.length>0),z=(0,t.computed)(()=>u.value.length>0),T=Z=>Z.length>1,y=(Z,A)=>{Array.isArray(Z)&&Array.isArray(A)&&Z.forEach(re=>{A.some(de=>de.prop===re.prop?(re.label=de.label,!0):!1)});const X=[];c.value=Z.map((re,de)=>(!(re.label===""||re.type)&&re.visible!==!1&&X.push(re.prop),{...re,sortIndex:de})),f.value.length+a.value.length+u.value.length===X.length?C.value=!0:X.length>0&&(k.value=!0),D.value=X},p=Z=>Z?Z.type?Z.type:Z.label?Z.prop:"":"",g=(Z,A)=>{if(Z.length!==A.length)return!1;const X=Z.map(re=>p(re));for(let re of A){const de=p(re);if(X.indexOf(de)===-1)return!1}return!0},S=Z=>{if(!Z){const A=e.tableRef.getColumnSetting(),X=A.srcColumnPropertyList;s=X.map((re,de)=>({...re,sortIndex:de})),Z=A.columnPropertyList,Z&&Z.length>0&&g(X,Z)||(Z=X)}y(Z,s)},$=()=>{e.tableRef.setColumnSetting(c.value)},m=(0,t.computed)(()=>({"max-width":`${ve(e.popoverWidth)-125}px`})),C=(0,t.ref)(!1),k=(0,t.ref)(!1),E=Z=>{const A=[];c.value.forEach(X=>{Z&&!(X.label===""||X.type)&&A.push(X.prop),X.visible=Z}),C.value=!1,k.value=!1,f.value.length+a.value.length+u.value.length===A.length?C.value=!0:A.length>0&&(k.value=!0),D.value=A,$()},Y=()=>{S(s),$()},D=(0,t.ref)([]),O=Z=>{c.value.forEach(X=>{X.label===""||X.type||(X.visible=Z.indexOf(X.prop)!==-1)}),C.value=!1,k.value=!1;const A=f.value.length+a.value.length+u.value.length;Z.length===A?C.value=!0:Z.length>0&&(k.value=!0),$()},N=()=>{S()};(0,t.onMounted)(()=>{setTimeout(()=>{S()},50)});const M={currentRow:null,index:null,roleType:null},L=Z=>Z?Z.dataset&&Z.dataset.role==="row"?Z:Z.tagName.toLowerCase()!=="body"?(Z=Z.parentElement,L(Z)):null:null,x=Z=>{const A=Z.currentTarget;A&&A.dataset&&(M.roleType=A.dataset.roleType,M.index=A.dataset.index)},j=Z=>{M.currentRow&&(M.currentRow.classList.remove("is-dragover"),M.currentRow=null),M.index=null,M.roleType=null},_=Z=>{const A=Z.currentTarget;Z.relatedTarget;const X=L(A);if(!X)return;const re=X.dataset&&X.dataset.roleType;M.roleType===re&&(Z.preventDefault(),M.currentRow&&M.currentRow!==X&&M.currentRow.classList.remove("is-dragover"),X.classList.add("is-dragover"),M.currentRow=X)},R=Z=>{Z.preventDefault(),M.currentRow&&(M.currentRow.classList.remove("is-dragover"),M.currentRow=null)},K=Z=>{const A=Z.currentTarget,X=L(A);if(!X)return;const re=X.dataset&&X.dataset.roleType;if(M.roleType!==re)return;Z.preventDefault();const de=Number(M.index),ne=Number(X.dataset.index);if(de!==ne){if(de<ne){const U=c.value[de];c.value.splice(de,1),c.value.splice(ne,0,U)}else{const U=c.value[de];c.value.splice(de,1),c.value.splice(ne+1,0,U)}y(c.value,s),$()}},I=Z=>{const A=c.value[Z];A.fixed="left",$()},q=Z=>{const A=c.value[Z];A.fixed="right",$()},ee=Z=>{const A=c.value[Z];A.fixed=void 0,$()},Q=new Map;let J=null;function H(Z){const A=document.createRange();return A.setStart(Z,0),A.setEnd(Z,Z.childNodes.length),A.getBoundingClientRect().width}return{...o,attrs:l,leftFixedColumns:a,rightFixedColumns:u,unFixedColumns:f,isShowNotFixedTitle:d,isShowLeftFixedTitle:h,isShowRightFixedTitle:z,isDraggble:T,isCheckAll:C,isIndeterminate:k,handleCheckAllChange:E,handleReset:Y,checkedValue:D,handleCheckChange:O,onShow:N,onDragStart:x,onDragEnd:j,onDragOver:_,onDragLeave:R,onDrop:K,toLeftFixed:I,toRightFixed:q,toUnFixed:ee,checkboxLabelStyle:m,onMouseOverForOverflowText:(Z,A,X)=>{const re=Z.currentTarget;if(re){const de=Math.floor(re.offsetWidth);if(Math.floor(H(re))>de){let ne=Q.get(A);if(ne){if(ne===J)return;Ge.hide(ne)}ne=Ge.show(re,X,{type:"text",placement:"top",closeOnClick:!1}),ne&&(Q.set(A,ne),J=ne)}}},onMouseLeaveForOverflowText:(Z,A)=>{const X=Q.get(A);X&&(Ge.hide(X),X===J&&(J=null))},onMouseOverForTip:(Z,A)=>{const X=Z.currentTarget;X&&(J&&Ge.hide(J),J=Ge.show(X,A,{type:"text",placement:"top",closeOnClick:!1}))},onMouseLeaveForTip:Z=>{J&&(Ge.hide(J),J=null)}}}}),u4={class:"fox-table-setting"},d4={class:"fox-table-setting__header"},f4={class:"fox-table-setting__body"},m4={key:0,class:"fox-table-setting__body-list left-fixed","data-role":"container","data-role-type":"leftFixed"},h4={key:0,class:"fox-table-setting__body-title"},p4=["data-index","draggable"],g4=["onMouseover","onMouseleave"],y4={class:"tools-item"},b4={key:1,class:"fox-table-setting__body-list not-fixed","data-role":"container","data-role-type":"unFixed"},S4={key:0,class:"fox-table-setting__body-title"},w4=["data-index","draggable"],v4=["onMouseover","onMouseleave"],C4={class:"tools-item"},N4={key:2,class:"fox-table-setting__body-list right-fixed","data-role":"container","data-role-type":"rightFixed"},k4={key:0,class:"fox-table-setting__body-title"},x4=["data-index","draggable"],T4=["onMouseover","onMouseleave"],E4={class:"tools-item"};function z4(e,n,l,i,r,o){const s=(0,t.resolveComponent)("FoxCheckbox"),c=(0,t.resolveComponent)("FoxButton"),a=(0,t.resolveComponent)("DragIcon"),u=(0,t.resolveComponent)("RefreshLeft"),f=(0,t.resolveComponent)("FoxIcon"),d=(0,t.resolveComponent)("Download"),h=(0,t.resolveComponent)("fox-checkbox"),z=(0,t.resolveComponent)("FoxCheckboxGroup"),T=(0,t.resolveComponent)("FoxPopover");return(0,t.openBlock)(),(0,t.createBlock)(T,(0,t.mergeProps)(e.attrs,{placement:e.popoverPlacement,width:e.popoverWidth,onShow:e.onShow,trigger:"click","popper-class":"fox-table-setting__popper"}),{reference:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,"default")]),default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("div",u4,[(0,t.createElementVNode)("div",d4,[(0,t.createVNode)(s,{modelValue:e.isCheckAll,"onUpdate:modelValue":n[0]||(n[0]=y=>e.isCheckAll=y),indeterminate:e.isIndeterminate,onChange:e.handleCheckAllChange},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.title),1)]),_:1},8,["modelValue","indeterminate","onChange"]),(0,t.createVNode)(c,{onClick:e.handleReset,link:"",type:"primary"},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.resetText),1)]),_:1},8,["onClick"])]),(0,t.createElementVNode)("div",f4,[(0,t.createVNode)(z,{modelValue:e.checkedValue,"onUpdate:modelValue":n[28]||(n[28]=y=>e.checkedValue=y),onChange:e.handleCheckChange},{default:(0,t.withCtx)(()=>[e.leftFixedColumns.length>0?((0,t.openBlock)(),(0,t.createElementBlock)("div",m4,[e.isShowLeftFixedTitle?((0,t.openBlock)(),(0,t.createElementBlock)("div",h4,(0,t.toDisplayString)(e.leftFixedTitle),1)):(0,t.createCommentVNode)("",!0),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.leftFixedColumns,y=>((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:y.prop,class:"fox-table-setting__body-row","data-role":"row","data-role-type":"leftFixed","data-index":y.sortIndex,draggable:e.isDraggble(e.leftFixedColumns),onDragstart:n[5]||(n[5]=(...p)=>e.onDragStart&&e.onDragStart(...p)),onDragend:n[6]||(n[6]=(...p)=>e.onDragEnd&&e.onDragEnd(...p)),onDrop:n[7]||(n[7]=(...p)=>e.onDrop&&e.onDrop(...p)),onDragover:n[8]||(n[8]=(...p)=>e.onDragOver&&e.onDragOver(...p)),onDragleave:n[9]||(n[9]=(...p)=>e.onDragLeave&&e.onDragLeave(...p))},[e.isDraggble(e.leftFixedColumns)?((0,t.openBlock)(),(0,t.createBlock)(a,{key:0,class:"icon-item"})):(0,t.createCommentVNode)("",!0),(0,t.createVNode)(s,{class:"checkbox-item",value:y.prop},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("span",{onMouseover:p=>e.onMouseOverForOverflowText(p,y.prop,y.label),onMouseleave:p=>e.onMouseLeaveForOverflowText(p,y.prop),class:"checkbox-item__label",style:(0,t.normalizeStyle)(e.checkboxLabelStyle)},(0,t.toDisplayString)(y.label),45,g4)]),_:2},1032,["value"]),(0,t.createElementVNode)("div",y4,[(0,t.createVNode)(f,{onClick:p=>e.toUnFixed(y.sortIndex),onMouseover:n[1]||(n[1]=p=>e.onMouseOverForTip(p,e.unFixedText)),onMouseleave:n[2]||(n[2]=p=>e.onMouseLeaveForTip(p))},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(u)]),_:1},8,["onClick"]),(0,t.createVNode)(f,{onClick:p=>e.toRightFixed(y.sortIndex),onMouseover:n[3]||(n[3]=p=>e.onMouseOverForTip(p,e.fixedRightText)),onMouseleave:n[4]||(n[4]=p=>e.onMouseLeaveForTip(p))},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(d)]),_:1},8,["onClick"])])],40,p4))),128))])):(0,t.createCommentVNode)("",!0),e.unFixedColumns.length>0?((0,t.openBlock)(),(0,t.createElementBlock)("div",b4,[e.isShowNotFixedTitle?((0,t.openBlock)(),(0,t.createElementBlock)("div",S4,(0,t.toDisplayString)(e.unFixedTitle),1)):(0,t.createCommentVNode)("",!0),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.unFixedColumns,y=>((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:y.prop,class:"fox-table-setting__body-row","data-role":"row","data-role-type":"unFixed","data-index":y.sortIndex,draggable:e.isDraggble(e.unFixedColumns),onDragstart:n[14]||(n[14]=(...p)=>e.onDragStart&&e.onDragStart(...p)),onDragend:n[15]||(n[15]=(...p)=>e.onDragEnd&&e.onDragEnd(...p)),onDrop:n[16]||(n[16]=(...p)=>e.onDrop&&e.onDrop(...p)),onDragover:n[17]||(n[17]=(...p)=>e.onDragOver&&e.onDragOver(...p)),onDragleave:n[18]||(n[18]=(...p)=>e.onDragLeave&&e.onDragLeave(...p))},[e.isDraggble(e.unFixedColumns)?((0,t.openBlock)(),(0,t.createBlock)(a,{key:0,class:"icon-item"})):(0,t.createCommentVNode)("",!0),(0,t.createVNode)(s,{class:"checkbox-item",value:y.prop},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("span",{onMouseover:p=>e.onMouseOverForOverflowText(p,y.prop,y.label),onMouseleave:p=>e.onMouseLeaveForOverflowText(p,y.prop),class:"checkbox-item__label",style:(0,t.normalizeStyle)(e.checkboxLabelStyle)},(0,t.toDisplayString)(y.label),45,v4)]),_:2},1032,["value"]),(0,t.createElementVNode)("div",C4,[(0,t.createVNode)(f,{onClick:p=>e.toLeftFixed(y.sortIndex),onMouseover:n[10]||(n[10]=p=>e.onMouseOverForTip(p,e.fixedLeftText)),onMouseleave:n[11]||(n[11]=p=>e.onMouseLeaveForTip(p)),class:"is-reverse"},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(d)]),_:1},8,["onClick"]),(0,t.createVNode)(f,{onClick:p=>e.toRightFixed(y.sortIndex),onMouseover:n[12]||(n[12]=p=>e.onMouseOverForTip(p,e.fixedRightText)),onMouseleave:n[13]||(n[13]=p=>e.onMouseLeaveForTip(p))},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(d)]),_:1},8,["onClick"])])],40,w4))),128))])):(0,t.createCommentVNode)("",!0),e.rightFixedColumns.length>0?((0,t.openBlock)(),(0,t.createElementBlock)("div",N4,[e.isShowRightFixedTitle?((0,t.openBlock)(),(0,t.createElementBlock)("div",k4,(0,t.toDisplayString)(e.rightFixedTitle),1)):(0,t.createCommentVNode)("",!0),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.rightFixedColumns,y=>((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:y.prop,class:"fox-table-setting__body-row","data-role":"row","data-role-type":"rightFixed","data-index":y.sortIndex,draggable:e.isDraggble(e.rightFixedColumns),onDragstart:n[23]||(n[23]=(...p)=>e.onDragStart&&e.onDragStart(...p)),onDragend:n[24]||(n[24]=(...p)=>e.onDragEnd&&e.onDragEnd(...p)),onDrop:n[25]||(n[25]=(...p)=>e.onDrop&&e.onDrop(...p)),onDragover:n[26]||(n[26]=(...p)=>e.onDragOver&&e.onDragOver(...p)),onDragleave:n[27]||(n[27]=(...p)=>e.onDragLeave&&e.onDragLeave(...p))},[e.isDraggble(e.rightFixedColumns)?((0,t.openBlock)(),(0,t.createBlock)(a,{key:0,class:"icon-item"})):(0,t.createCommentVNode)("",!0),(0,t.createVNode)(h,{class:"checkbox-item",label:y.prop},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("span",{onMouseover:p=>e.onMouseOverForOverflowText(p,y.prop,y.label),onMouseleave:p=>e.onMouseLeaveForOverflowText(p,y.prop),class:"checkbox-item__label",style:(0,t.normalizeStyle)(e.checkboxLabelStyle)},(0,t.toDisplayString)(y.label),45,T4)]),_:2},1032,["label"]),(0,t.createElementVNode)("div",E4,[(0,t.createVNode)(f,{onClick:p=>e.toUnFixed(y.sortIndex),onMouseover:n[19]||(n[19]=p=>e.onMouseOverForTip(p,e.unFixedText)),onMouseleave:n[20]||(n[20]=p=>e.onMouseLeaveForTip(p))},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(u)]),_:1},8,["onClick"]),(0,t.createVNode)(f,{onClick:p=>e.toLeftFixed(y.sortIndex),onMouseover:n[21]||(n[21]=p=>e.onMouseOverForTip(p,e.fixedLeftText)),onMouseleave:n[22]||(n[22]=p=>e.onMouseLeaveForTip(p)),class:"is-reverse"},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(d)]),_:1},8,["onClick"])])],40,x4))),128))])):(0,t.createCommentVNode)("",!0)]),_:1},8,["modelValue","onChange"])])])]),_:3},16,["placement","width","onShow"])}var na=Fe(c4,[["render",z4]]),$4=/scroll|auto|overlay/i,Po=window;function B4(e){return e.tagName!=="HTML"&&e.tagName!=="BODY"&&e.nodeType===1}function Io(e,n=Po){let l=e;for(;l&&l!==n&&B4(l);){const{overflowY:i}=window.getComputedStyle(l);if($4.test(i))return l;l=l.parentNode}return n}function Lo(e,n=Po){const l=(0,t.ref)();return(0,t.onMounted)(()=>{e.value&&(l.value=Io(e.value,n))}),l}var Ro=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,V4=class{scope;constructor(e){this.scope=e}async load(e,n,l,i,r,o,s){if(!n)return{totalSize:0,page:[]};if(Array.isArray(n)){let a=(l-1)*i,u=a+i;u>n.length&&(u=n.length);const f=n.slice(a,u);return{totalSize:n.length,page:f}}if(typeof n=="function")return await Reflect.apply(n,null,[l,i,r,o,s]);const c=tt(e,this.scope);return c===null?(console.error(`[FoxUI]${e} component not found api function`),{totalSize:0,page:[]}):(et(r)&&(0,t.isReactive)(r)&&(r=(0,t.toRaw)(r)),await Reflect.apply(c,null,[n,l,i,r,o,s]))}};function D4(){const e=st();return new V4(e)}var M4=class{scope;constructor(e){this.scope=e}async load(e){let n=null;const l=tt("tableSetting",this.scope);return typeof l=="function"&&(n=await Reflect.apply(l,null,["load",e])),n}save(e,n){const l=tt("tableSetting",this.scope);typeof l=="function"&&Reflect.apply(l,null,["save",e,n])}remove(e){const n=tt("tableSetting",this.scope);typeof n=="function"&&Reflect.apply(n,null,["remove",e])}};function _o(){const e=st();return new M4(e)}var A4=Symbol.for("TableStateKey"),Fo={data:{type:[String,Array,Function],required:!0},autoLoad:{type:[String,Boolean],required:!1,default:()=>!1},appearLoad:{type:[String,Boolean],required:!1,default:()=>!1},baseParams:{type:[Object]},params:{type:[Object]},rowClassName:{type:[Function,String]},cellClassName:{type:[Function,String]},rowClickSelectable:{type:[String,Boolean],required:!1,default:()=>!1},uniqueExpansion:{type:[String,Boolean],required:!1,default:()=>!1},showSetting:{type:[Boolean],required:!1,default:()=>!1},footerAlign:{type:[String],required:!1,default:()=>"right"}},Oo={showPagination:{type:[Boolean],required:!1,default:()=>!0},pageIndex:{type:[Number],required:!1,default:()=>1},hideOnSinglePage:{type:[Boolean],required:!1,default:()=>!0},pageSize:{type:[Number],required:!1,default:()=>10},pageSizes:{type:[Array],required:!1},paginationLayout:{type:[String],required:!1,default:()=>"total, sizes, prev, pager, next, jumper"},paginationAlign:{type:[String],required:!1,default:()=>"right"},paginationBackground:{type:[Boolean],required:!1,default:()=>!1},paginationSize:{type:[String],required:!1,default:()=>"default"},paginationAppendSizeTo:{type:[String],required:!1},paginationTeleported:{type:[Boolean],required:!1,default:()=>!0},paginationPopperClass:{type:[String],required:!1},paginationpPrevText:{type:[String],required:!1},paginationPrevIcon:{type:[Object,String],required:!1},paginationNextText:{type:[String],required:!1},paginationNextIcon:{type:[Object,String],required:!1},paginationDisabled:{type:[Boolean],required:!1}},yn={popoverWidth:{type:[String,Number],required:!1,default:()=>280},popoverPlacement:{type:[String],required:!1,default:()=>"top-start"},title:{type:[String],required:!1},resetText:{type:[String],required:!1},leftFixedTitle:{type:[String],required:!1},rightFixedTitle:{type:[String],required:!1},unFixedTitle:{type:[String],required:!1},fixedLeftText:{type:[String],required:!1},fixedRightText:{type:[String],required:!1},unFixedText:{type:[String],required:!1}},P4={infiniteLoad:{type:Boolean,default:()=>!0},loadText:{type:String},noMoreText:{type:String}};function I4(e,n){let l=n.split("."),i=e;for(let r=0;r<l.length;r++){let o=l[r],s=0,c=o.indexOf("["),a=c==-1?-1:o.indexOf("]",c);for(;c!==-1&&a!==-1;){let u=o.substring(c+1,a);if(/^\d+$/.test(u)){let f=parseInt(u);if(s==0){let d=o.substring(0,c);i=i[d][f]}else i=i[f];s++}c=o.indexOf("[",a),a=c==-1?-1:o.indexOf("]",c)}s===0&&(i=i[o])}return i}function bn(e,n){return e.filter(l=>{for(let i in n)if(n[i]!==I4(l,i))return!1;return!0})}var L4={...Ae,...Re,...Fo,...Oo,...yn,...P4};function R4(e,n,l){return{props:L4,emits:["change","page-size-change","page-index-change","current-change","loaded-data","expand-change","row-click"],setup(i,r){const{locale:o,toLocaleRefs:s}=(0,Be.useFoxI18n)(n),c=s(i,["loadText","noMoreText"]),a=(0,t.ref)(),{emitEvent:u,broadcast:f,exposeApi:d}=Le({componentName:e,validateHandler:{getValue(...ce){return M.value}},get props(){return i},context:r,get templateRefProxy(){return a.value}},i.prop??r.attrs.name),h=e,z=(0,t.computed)(()=>({[h]:!0})),T=(0,t.computed)(()=>({[`${h}__content`]:!0})),y=(0,t.computed)(()=>({[`${h}__setting`]:!0})),p=(0,t.computed)(()=>({[`${h}__footer`]:!0,[`${h}__footer__${i.footerAlign}`]:!0})),g=(0,t.computed)(()=>({[`${h}__pagination`]:!0,[`${h}__pagination__${i.paginationAlign}`]:!0}));let S={};const $=()=>({...i.baseParams??{},...i.params??{},...S??{}}),m=Ce(i.infiniteLoad),C=(0,t.ref)(m?0:i.pageIndex??1),k=(0,t.ref)(Te(i.pageSize));m||((0,t.watch)(()=>i.pageIndex,ce=>{C.value=ce}),(0,t.watch)(()=>i.pageSize,ce=>{k.value=Te(ce)}),(0,t.watch)([C,k],([ce,me],[be,Se])=>{const Me=Te(me);Me!==Te(Se)&&(j=!0,C.value=1,ce=1);const De=$();R(i.data,ce,Me,De)}));const E=()=>Array.isArray(i.data)||!i.data?!0:Ce(i.autoLoad);E()&&((0,t.watch)([()=>i.params,()=>i.baseParams],async()=>{if(!E())return;const ce=$();m?q():C.value===1?R(i.data,C.value,k.value,ce):C.value=1},{deep:!0}),(0,t.watch)(()=>i.data,ce=>{if(E())if(m)q();else if(C.value===1){const me=$();R(ce,C.value,k.value,me)}else C.value=1},{deep:!1}));const Y=ce=>{C.value=ce,u("page-index-change",ce)},D=ce=>{k.value=ce,u("page-size-change",ce)},O=(0,t.ref)(!0),N=(0,t.ref)(0),M=(0,t.ref)([]),L=()=>Array.isArray(M.value)?M.value.length:0,x=D4();let j=!0;const _=_e((0,t.computed)(()=>i.appearLoad),"appearLoad",it.Near,ce=>Ce(ce)),R=async(ce,me,be,Se,Me)=>{try{if(Me===!0){if(!O.value)return!1;const De=await x.load("table",ce,me,be,Se,j,o.value);return N.value=De?.totalSize??0,!De.page||!Array.isArray(De.page)?(O.value=!1,!1):(Reflect.apply([].push,M.value,De.page),setTimeout(()=>{u("loaded-data")},250),((M.value?.length??0)>=N.value||De.page.length<be)&&(O.value=!1),!0)}else{const De=await x.load("table",ce,me,be,Se,j,o.value);return N.value=De?.totalSize??0,M.value=De?.page??[],setTimeout(()=>{u("loaded-data")},250),!0}}catch(De){console.error("[FoxUI] Load Table Data Fail",De),N.value=0,M.value=[]}finally{j=!1}return!1};let K=!1;const I=async()=>{try{if(K)return;const ce=C.value+1,me=$();await R(i.data,ce,k.value,me,!0)&&(C.value=ce)}finally{K=!1,O.value&&setTimeout(()=>{te()&&I()},250)}},q=async(ce=!1)=>{if(K!==!0){K=!0,j=!0;try{if(ce&&C.value>0){C.value=C.value-1;const Se=C.value*k.value,Me=M.value.length-Se;M.value.splice(Se,Me)}else C.value=0,M.value=[];O.value=!0;const me=C.value+1,be=$();await R(i.data,me,k.value,be,!0)&&(C.value=me)}finally{K=!1}}},ee=async(ce={},me=!1)=>{if(S={...(0,t.toRaw)(ce??{})},m)return q();try{if(K===!0)return;me||(C.value=i.pageIndex??1);const be=$();await R(i.data,C.value,k.value,be.value)}finally{K=!1}},Q=async(ce={},me=100)=>new Promise((be,Se)=>{setTimeout(async()=>{try{await ee(ce),be()}catch(Me){Se(Me)}},me)}),J=()=>{N.value=0,M.value=[],m===!0&&(C.value=0,O.value=!0)};let H=!1;const B=()=>{H||(H=!0,ee())};let P=null;const te=()=>{if(!P&&Z.value&&(P=Io(Z.value,qe.value.$el)),!P)return!1;const ce=Z.value.getBoundingClientRect(),me=P.getBoundingClientRect();return ce.top<me.bottom&&ce.bottom>me.top};let ie=!1;const Z=(0,t.ref)(null),A=(0,t.ref)(!1);if(m===!0){let ce=null;const me=()=>{Z.value&&(ce=new IntersectionObserver(Se=>{Se.some(Me=>Me.isIntersecting)&&j===!1&&I()}),ce.observe(Z.value),ie=!0)},be=()=>{ce&&(Z.value&&ce.unobserve(Z.value),ce.disconnect(),ce=null),ie=!1};(0,t.onMounted)(()=>{A.value=!0}),(0,t.watch)([()=>Z.value,()=>A.value],([Se,Me])=>{Se&&Me&&!ce&&me()}),(0,t.onBeforeUnmount)(be)}E()&&!_.value&&ee();const X=(0,t.ref)(null);(0,t.provide)(A4,{currentRow:X});const re=(ce,me)=>{X.value=ce,u("current-change",ce,me)},de=(ce,me,be)=>{u("row-click",ce,me,be),Ce(i.rowClickSelectable)===!0&&qe?.value.toggleRowSelection(ce)},ne=[],U=(ce,me)=>{if(u("expand-change",ce,me),Ce(i.uniqueExpansion))if(Array.isArray(me)&&me.length==0){const be=ne.length;ne.splice(0,be)}else{ne.forEach(Se=>{Se!==ce&&qe?.value.toggleRowExpansion(Se,!1)});const be=ne.length;ne.splice(0,be,ce)}},v=r.attrs.id??i.prop??r.attrs.name,w=_o(),G=(0,t.ref)([]);let le=[];const W=()=>({srcColumnPropertyList:le.map(ce=>({...ce})),columnPropertyList:G.value}),F=ce=>{G.value=[...ce],oe()},ae=async()=>{const ce=await w.load(v);ce&&(G.value=ce)},oe=()=>{w.save(v,G.value)},se=()=>{w.remove(v)};ae();const ue=ce=>ce?ce.type?ce.type:ce.label?ce.prop:"":"",he=(ce,me={})=>{for(let be in me){const Se=me[be];typeof Se!="function"&&(ce[be]=Se)}},ze=ce=>{const me=ce?ce():[],be=new Map;if(le=[],me.forEach(Se=>{const Me=Se;if(!Me.props)return;const De=ue(Me.props);be.set(De,Me);const Ue={label:"",prop:""};he(Ue,Me.props),le.push(Ue)}),G.value.length===le.length){const Se=[];for(let Me of G.value){const De=ue(Me),Ue=be.get(De);if(!Ue)return me;if(Me.visible===!1)continue;const ft=Ue;ft.props.fixed=Me.fixed,Se.push(ft)}return Se}return me},ge=(0,t.shallowRef)(new Map),xe=({row:ce,column:me,rowIndex:be,columnIndex:Se})=>{const Me=`${be}_${me.property}`,De=`${be}_${Se}`;let Ue=ge.value.get(Me);return Ue||(Ue=ge.value.get(De)),typeof Ue=="string"?Ue:""},Ee=ce=>ce?me=>{const be=[];let Se=xe(me);return Se&&be.push(Se),Se=typeof ce=="function"?ce(me):ce,Se&&be.push(Se),be.length===0?"":be.join(" ")}:xe,Xe=(ce=!1)=>{ge.value.forEach((me,be)=>{Oe(be,me,ce)})},Oe=(ce,me,be=!1)=>{const Se=`${ce}_item`;be?(f.clearPersistantMessage(),Array.isArray(me)?f.emitToChildren({name:ce},"setCellClassNames",[]):f.emitToChildren({name:Se},"setCustomClassName","")):Array.isArray(me)?f.emitToChildren({name:ce,cachePolicy:"Persistant",uniqueId:Se},"setCellClassNames",me):f.emitToChildren({name:Se,cachePolicy:"Persistant",uniqueId:Se},"setCustomClassName",me)},at=(ce,me,be)=>{const Se=`${ce}_${me}`;be?(ge.value.set(Se,be),Oe(Se,be)):(ge.value.delete(Se),Oe(Se,"",!0)),(0,t.triggerRef)(ge)},Xt=ce=>{Xe(!0),ge.value.clear(),ce.forEach(me=>{const be=`${me.rowIndex}_${me.column}`;Array.isArray(me.children)?ge.value.set(be,me.children):typeof me.cellClassName=="string"&&ge.value.set(be,me.cellClassName)}),Xe(),(0,t.triggerRef)(ge)},gt=()=>{Xe(),ge.value.clear(),(0,t.triggerRef)(ge)},ct=(0,t.shallowRef)(new Map),nt=({rowIndex:ce})=>{const me=`${ce}`;return ct.value.get(me)??""},Ye=ce=>ce?me=>{const be=[];let Se=nt(me);return Se&&be.push(Se),Se=typeof ce=="function"?ce(me):ce,Se&&be.push(Se),be.length===0?"":be.join(" ")}:nt,fe=(ce,me)=>{const be=`${ce}`;me?ct.value.set(be,me):ct.value.delete(be),(0,t.triggerRef)(ct)},ye=()=>{ct.value.clear(),(0,t.triggerRef)(ct)},qe=(0,t.ref)();return d({clearSelection:()=>qe?.value.clearSelection(),getSelectionRows:()=>qe?.value.getSelectionRows(),toggleRowSelection:(ce,me)=>{qe?.value.toggleRowSelection(ce,me)},toggleRowSelectionByProp:(ce,me)=>{if(!M.value)return;const be=bn(M.value,ce);be.length!==0&&be.forEach(Se=>{qe?.value.toggleRowSelection(Se,me)})},toggleAllSelection:()=>{qe?.value.toggleAllSelection()},toggleRowExpansion:(ce,me)=>{qe?.value.toggleRowExpansion(ce,me)},toggleRowExpansionByProp:(ce,me)=>{if(!M.value)return;const be=bn(M.value,ce);be.length!==0&&be.forEach(Se=>{qe?.value.toggleRowExpansion(Se,me)})},setCurrentRow:ce=>{qe?.value.setCurrentRow(ce)},setCurrentRowByProp:ce=>{if(!M.value)return;const me=bn(M.value,ce);me.length!==0&&qe?.value.setCurrentRow(me[0])},getCurrentRow:()=>X.value,clearSort:()=>{qe?.value.clearSort()},clearFilter:ce=>{qe?.value.clearFilter(ce)},doLayout:()=>{qe?.value.doLayout()},sort:(ce,me)=>{qe?.value.sort(ce,me)},scrollTo:(ce,me)=>{qe?.value.scrollTo(ce,me)},setScrollTop:ce=>{qe?.value.setScrollTop(ce)},setScrollLeft:ce=>{qe?.value.setScrollLeft(ce)},loadData:ee,delayLoadData:Q,clearData:J,getData(){return M.value},getTotalSize(){return N.value},getPageIndex(){return C.value},getPageSize(){return k.value},getColumnSetting:W,setColumnSetting:F,removeColumnSetting:se,setCellClassName:at,setCellClassNames:Xt,clearCellClassName:gt,setRowClassName:fe,clearRowClassName:ye}),()=>{const ce={...ut(r.attrs),onCurrentChange:re,onRowClick:de,onExpandChange:U,data:M.value,ref:qe,class:T.value,"cell-class-name":Ee(i.cellClassName),"row-class-name":Ye(i.rowClassName)},me={};if(r.slots.default&&(me.default=()=>ze(r.slots.default)),r.slots.append&&(me.append=r.slots.append),r.slots.empty&&(me.empty=r.slots.empty),m===!0){const Ue=L();if(ie===!0||Ue>0){const ft=[];if(O.value){const Qt=(0,t.h)(He.Loading,{class:`${h}__infinite-icon`});ft.push(Qt);const nr=(0,t.h)("span",{class:`${h}__infinite-text`},[c.loadText.value]);ft.push(nr)}else{let Qt=c.noMoreText.value;(!M.value||M.value.length===0)&&(Qt="");const nr=(0,t.h)("span",{class:`${h}__infinite-text`},[Qt]);ft.push(nr)}const ya=[`${h}__infinite`];j&&ya.push("is-hide");const ar=(0,t.h)("div",{ref:Z,class:ya},ft);me.append=()=>ar}}const be=(0,t.h)(V.ElTable,ce,me),Se=[];if(Se.push(be),!m){let Ue=null;if(typeof r.slots.pagination=="function"?Ue=r.slots.pagination():i.showPagination&&(Ue=(0,t.h)(V.ElPagination,{class:g.value,total:N.value,pageSize:k.value,"onUpdate:pageSize":D,pageSizes:i.pageSizes,currentPage:C.value,"onUpdate:currentPage":Y,hideOnSinglePage:i.hideOnSinglePage,layout:i.paginationLayout,size:i.paginationSize,background:i.paginationBackground,appendSizeTo:i.paginationAppendSizeTo,teleported:i.paginationTeleported,popperClass:i.paginationPopperClass,prevText:i.paginationpPrevText,prevIcos:i.paginationPrevIcon,nextText:i.paginationNextText,pnextIcon:i.paginationNextIcon,disabled:i.paginationDisabled})),i.showSetting){const ft=[];Ue&&ft.push(Ue);const ya=(0,t.h)(V.ElIcon,{class:y.value},{default:()=>(0,t.h)(He.Setting)}),ar=(0,t.h)(na,{...wt(i,yn),tableRef:{getColumnSetting:W,setColumnSetting:F,removeColumnSetting:se}},{default:()=>ya});ft.push(ar);const Qt=(0,t.h)("div",{class:p.value},ft);Se.push(Qt)}else Ue&&Se.push(Ue)}const Me={default:()=>Se},De={...Ie(i,Fo,Oo,yn),ref:a};return i.prop&&(De.prop=`${i.prop}_item`),De.class=z.value,De.contentClass=`${h}__wrap`,De.errorMarkClass="is-table-error",_.value&&E()&&(De["appear-listen"]=!0,De.onAppear=B),l(De,Me)}}}}var{componentName:_4,create:F4,scope:O4}=pe("table-item"),q4=F4(R4(_4,O4,We)),Sn=q4;function Kt(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function bl(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function H4(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}var K4=class{scope;constructor(e){this.scope=e}async load(e,n,l){if(!n)return[];if(Array.isArray(n))return n;if(typeof n=="function")return await n(l);const i=tt(e,this.scope);return i===null?(console.error(`[FoxUI]${e} component not found api function`),[]):(et(l)&&(0,t.isReactive)(l)&&(l=(0,t.toRaw)(l)),await i(n,l))}};function j4(){const e=st();return new K4(e)}function qo(e,n,l){return n===l?!0:!(n===null||l===null||Kt(e,n)!==Kt(e,l)||bl(e,n)!==bl(e,l))}function W4(e,n,l,i){if(i.length==0||n===""||n===null||n===void 0)return null;let r=null;for(let o of i){let s=!1;if(l==="text")s=Kt(e,o)===n;else if(l==="item")s=qo(e,o,n);else{let c=bl(e,o);c==null&&(c=Kt(e,o)),s=c===n}if(s){r=o;break}}return r}function Y4(e){return{text:e,value:e}}function U4(e,n,l){return typeof e.itemOptions=="function"?e.itemOptions(n,l):e.itemOptions}var Ho={modelValue:{type:[String,Object,Boolean,Number],required:!1},source:{type:[Array,Function,String],default:[]},sourceFilter:{type:[Function]},params:{type:Object},valueType:{type:String,required:!1,default:"value"},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},disabledKey:{type:[String],required:!1,default:"disabled"},size:{type:[String],required:!1},textColor:{type:[String],required:!1},fill:{type:[String],required:!1},border:{type:[Boolean],required:!1},itemType:{type:[String],required:!1,default:"radio"},itemOptions:{type:[Object,Function],required:!1},direction:{type:[String],required:!1,default:"horizontal"},appearLoad:{type:[Boolean,String],default:!1}},G4={...Ae,...Re,...Ho};function X4(e,n,l,i){return{inheritAttrs:!0,props:G4,emits:["change","update:modelValue","setValue"],setup(r,o){const{itemTemplateRef:s,innerDisabled:c,disabled:a,innerReadonly:u,readonly:f,browse:d}=je(r),{emitEvent:h,exposeApi:z}=Le({componentName:e,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus","setValue"],get readonly(){return f.value},get disabled(){return a.value},get props(){return r},context:o,get templateRefProxy(){return s.value}},r.prop??o.attrs.name),T=(0,t.ref)(null),y=(0,t.ref)(null),p=(x,j,_,R=!0)=>{const K=W4(r,x,j,_);if(K===null){if(y.value===null)return;y.value=null,T.value=null,R&&(h("update:modelValue",null),h("change",null));return}if(!qo(r,K,y.value)){T.value=x;const I=(0,t.toRaw)(K);y.value=I;let q=null;r.valueType==="text"?q=Kt(r,I):r.valueType==="item"?q=I:q=bl(r,I),R&&(h("update:modelValue",q),h("change",q))}},g=(0,t.ref)([]),S=_e((0,t.computed)(()=>r.appearLoad),"appearLoad",it.Near,x=>Ce(x)),$=j4(),m=async(x,j)=>{if(x){const _=await $.load("radio",x,j);if(_.length>0)if(typeof _[0]=="string"){let R=_.map(K=>Y4(K));g.value=R}else g.value=_}};(0,t.watch)([()=>r.source,()=>r.params],async([x,j])=>{m(x,j)},{immediate:!S.value});let C=!1;const k=()=>{C||(C=!0,m(r.source,r.params))};(0,t.watch)([()=>g.value,()=>r.modelValue],([x,j])=>{p(j,r.valueType,x,!1),h("setValue",j)});const E=e,Y=(0,t.computed)(()=>({[E]:!0,disabled:a.value,readonly:f.value})),D=(0,t.computed)(()=>({[`${E}__content`]:!0,[`is-${r.direction}`]:!0})),O=x=>{p(x,"value",g.value,!0)};let N=Ve(r,"hintText"),M=Ve(r,"hintVisible");const L=(x,j)=>{typeof r.sourceFilter=="function"&&(x=x.filter(r.sourceFilter));const _=[];return x.forEach((R,K)=>{const I=bl(r,R),q=Kt(r,R);let ee=H4(r,R);a.value===!0&&(ee=a.value),f.value===!0&&(ee=f.value);const Q=U4(r,R,K)??{},J=`${I}_${K}`,H={...Q,key:J,value:I,size:r.size,border:Ce(r.border)};ee&&(H.disabled=ee),r.itemType==="button"?_.push((0,t.h)(V.ElRadioButton,H,{default:()=>[q]})):typeof j=="function"?_.push((0,t.h)(V.ElRadio,H,{default:()=>j(R)})):_.push((0,t.h)(V.ElRadio,H,{default:()=>[q]}))}),_};return z({setDisabled:x=>{c.value=x},setReadonly:x=>{u.value=x}}),()=>{if(d.value==="on"&&(f.value||a.value))return i({modelValue:T.value,source:g.value,valueType:r.valueType,textKey:r.textKey,valueKey:r.valueKey,span:r.span,labelPosition:r.labelPosition,labelWidth:r.labelWidth},o.slots);const x={...ut(o.attrs),class:D.value,disabled:a.value||f.value,modelValue:T.value,"text-color":r.textColor,fill:r.fill,onChange:O},j=[],_={};o.slots.options?_.default=o.slots.options:_.default=()=>L(g.value,o.slots.text);const R=(0,t.h)(V.ElRadioGroup,x,_);j.push(R);const K={default:()=>j};K.label=o.slots.default,K.fixedPreTip=o.slots.fixedPreTip,K.fixedTip=o.slots.fixedTip;const I={...Ie(r,Ho),ref:s,class:Y.value,hintText:N.value,hintVisible:M.value};return r.prop&&(I.prop=`${r.prop}_item`),S.value&&(I["appear-listen"]=!0,I.onAppear=k),l(I,K)}}}}var{componentName:Q4,create:Z4,scope:J4}=pe("radio-item"),e3=Z4(X4(Q4,J4,We,Ze)),wn=e3;function jt(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function Wt(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function t3(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}var l3=class{scope;constructor(e){this.scope=e}async load(e,n,l){if(!n)return[];if(Array.isArray(n))return n;if(typeof n=="function")return await n(l);const i=tt(e,this.scope);return i===null?(console.error(`[FoxUI]${e} component not found api function`),[]):(et(l)&&(0,t.isReactive)(l)&&(l=(0,t.toRaw)(l)),await i(n,l))}};function a3(){const e=st();return new l3(e)}function Ko(e,n,l){return n===l?!0:!(n===null||l===null||jt(e,n)!==jt(e,l)||Wt(e,n)!==Wt(e,l))}function n3(e,n,l,i){if(i.length==0||n===""||n===null||n===void 0)return null;Array.isArray(n)||(n=[n]);const r=[];return n.forEach(o=>{for(let s of i){let c=!1;if(l==="text")c=jt(e,s)===o;else if(l==="item")c=Ko(e,s,o);else{let a=Wt(e,s);a==null&&(a=jt(e,s)),c=a===o}if(c){r.push(s);break}}}),r}function r3(e){return{text:e,value:e}}function o3(e,n,l){return typeof e.itemOptions=="function"?e.itemOptions(n,l):e.itemOptions}var jo={modelValue:{type:[Array,String],required:!1},source:{type:[Array,Function,String],default:[]},sourceFilter:{type:[Function]},params:{type:Object},valueType:{type:String,required:!1,default:"value"},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},disabledKey:{type:[String],required:!1,default:"disabled"},size:{type:[String],required:!1},textColor:{type:[String],required:!1},fill:{type:[String],required:!1},border:{type:[Boolean],required:!1},min:{type:[String,Number],required:!1},max:{type:[String,Number],required:!1},itemType:{type:[String],required:!1,default:"checkbox"},itemOptions:{type:[Object,Function],required:!1},direction:{type:[String],required:!1,default:"horizontal"},appearLoad:{type:[Boolean,String],default:!1},separator:{type:[String],required:!1,default:", "}},i3={...Ae,...Re,...jo};function s3(e,n,l,i){return{inheritAttrs:!0,props:i3,emits:["change","update:modelValue","setValue"],setup(r,o){const{itemTemplateRef:s,innerDisabled:c,disabled:a,innerReadonly:u,readonly:f,browse:d}=je(r),{emitEvent:h,exposeApi:z}=Le({componentName:e,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus","setValue"],get readonly(){return f.value},get disabled(){return a.value},get props(){return r},context:o,get templateRefProxy(){return s.value}},r.prop??o.attrs.name),T=(0,t.ref)([]),y=(0,t.ref)([]),p=(x,j,_,R=!0)=>{const K=n3(r,x,j,_);if(K===null){if(y.value===null||y.value.length===0)return;T.value=[],y.value=[],R&&(h("update:modelValue",[]),h("change",[]));return}let I=!0;if(K.length!==y.value.length)I=!1;else for(let q=0;q<K.length;q++){const ee=K[q],Q=y.value[q];if(!Ko(r,ee,Q)){I=!1;break}}if(!I){y.value=K;let q=[],ee=[];K.forEach(J=>{q.push(Wt(r,J)),r.valueType==="text"?ee.push(jt(r,J)):r.valueType==="item"?ee.push(J):ee.push(Wt(r,J))}),T.value=q;const Q=(0,t.toRaw)(ee);R&&(h("update:modelValue",Q),h("change",Q))}},g=(0,t.ref)([]),S=_e((0,t.computed)(()=>r.appearLoad),"appearLoad",it.Near,x=>Ce(x)),$=a3(),m=async(x,j)=>{if(x){const _=await $.load("checkbox",x,j);if(_.length>0)if(typeof _[0]=="string"){let R=_.map(K=>r3(K));g.value=R}else g.value=_}};(0,t.watch)([()=>r.source,()=>r.params],async([x,j])=>{m(x,j)},{immediate:!S.value});let C=!1;const k=()=>{C||(C=!0,m(r.source,r.params))};(0,t.watch)([()=>g.value,()=>r.modelValue],([x,j])=>{p(j,r.valueType,x,!1),h("setValue",j)});const E=e,Y=(0,t.computed)(()=>({[E]:!0,disabled:a.value,readonly:f.value})),D=(0,t.computed)(()=>({[`${E}__content`]:!0,[`is-${r.direction}`]:!0})),O=x=>{p(x,"value",g.value,!0)};let N=Ve(r,"hintText"),M=Ve(r,"hintVisible");const L=(x,j)=>{typeof r.sourceFilter=="function"&&(x=x.filter(r.sourceFilter));const _=[];return x.forEach((R,K)=>{const I=Wt(r,R),q=jt(r,R);let ee=t3(r,R);a.value===!0&&(ee=a.value),f.value===!0&&(ee=f.value);const Q=o3(r,R,K)??{},J=`${I}_${K}`,H={...Q,key:J,value:I,size:r.size,border:Ce(r.border)};ee&&(H.disabled=ee),r.itemType==="button"?_.push((0,t.h)(V.ElCheckboxButton,H,{default:()=>[q]})):typeof j=="function"?_.push((0,t.h)(V.ElCheckbox,H,{default:()=>j(R)})):_.push((0,t.h)(V.ElCheckbox,H,{default:()=>[q]}))}),_};return z({setDisabled:x=>{c.value=x},setReadonly:x=>{u.value=x}}),()=>{if(d.value==="on"&&(f.value||a.value))return i({modelValue:T.value,source:g.value,valueType:r.valueType,textKey:r.textKey,valueKey:r.valueKey,separator:r.separator,span:r.span,labelPosition:r.labelPosition,labelWidth:r.labelWidth},o.slots);const x={...ut(o.attrs),class:D.value,disabled:a.value||f.value,modelValue:T.value,"text-color":r.textColor,fill:r.fill,max:Te(r.max),min:Te(r.min),onChange:O},j=[],_={};o.slots.options?_.default=o.slots.options:_.default=()=>L(g.value,o.slots.text);const R=(0,t.h)(V.ElCheckboxGroup,x,_);j.push(R);const K={default:()=>j};K.label=o.slots.default,K.fixedPreTip=o.slots.fixedPreTip,K.fixedTip=o.slots.fixedTip;const I={...Ie(r,jo),ref:s,class:Y.value,hintText:N.value,hintVisible:M.value};return r.prop&&(I.prop=`${r.prop}_item`),S.value&&(I["appear-listen"]=!0,I.onAppear=k),l(I,K)}}}}var{componentName:c3,create:u3,scope:d3}=pe("checkbox-item"),f3=u3(s3(c3,d3,We,Ze)),vn=f3,Wo={modelValue:{type:[Number,String],required:!1}},m3={...Ae,...Re,...Wo};function h3(e,n,l,i){return{props:m3,emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(r,o){const{itemTemplateRef:s,innerDisabled:c,disabled:a,innerReadonly:u,readonly:f,browse:d}=je(r),{emitEvent:h,exposeApi:z}=Le({componentName:e,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus","setValue"],get readonly(){return f.value},get disabled(){return a.value},get props(){return r},context:o,get templateRefProxy(){return s.value}},r.prop??o.attrs.name),T=Ve(r,"modelValue",k=>Te(k),h),y=e,p=(0,t.computed)(()=>({[y]:!0,disabled:a.value,readonly:f.value})),g=(0,t.computed)(()=>({[`${y}__content`]:!0})),S=k=>{h("update:modelValue",k),h("change",k)};let $=Ve(r,"hintText"),m=(0,t.ref)(!1);const C=(0,t.ref)();return z({setDisabled:k=>{c.value=k},setReadonly:k=>{u.value=k}}),()=>{if(d.value==="on"&&(f.value||a.value))return i({modelValue:T.value,span:r.span,labelPosition:r.labelPosition,labelWidth:r.labelWidth},o.slots);const k={...ut(o.attrs),ref:C,class:g.value,readonly:f.value||a.value,modelValue:T.value,onChange:S},E={},Y=[],D=(0,t.h)(V.ElRate,k,E);Y.push(D);const O={default:()=>Y};O.label=o.slots.default,O.fixedPreTip=o.slots.fixedPreTip,O.fixedTip=o.slots.fixedTip;const N={...Ie(r,Wo),ref:s,class:p.value,hintText:$.value,hintVisible:m.value};return r.prop&&(N.prop=`${r.prop}_item`),l(N,O)}}}}var{componentName:p3,create:g3,scope:y3}=pe("rate-item"),b3=g3(h3(p3,y3,We,Ze)),Cn=b3,Yo={modelValue:{type:[Boolean,String,Number],required:!1},activeValue:{type:[Boolean,String,Number],required:!1,default:()=>!0},inactiveValue:{type:[Boolean,String,Number],required:!1,default:()=>!1},activeText:{type:[String],required:!1},inactiveText:{type:[String],required:!1}},S3={...Ae,...Re,...Yo};function w3(e,n,l,i){return{props:S3,emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(r,o){const{itemTemplateRef:s,innerDisabled:c,disabled:a,innerReadonly:u,readonly:f,browse:d}=je(r),{emitEvent:h,exposeApi:z}=Le({componentName:e,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus","setValue"],get readonly(){return f.value},get disabled(){return a.value},get props(){return r},context:o,get templateRefProxy(){return s.value}},r.prop??o.attrs.name),T=(0,t.ref)(r.modelValue);(0,t.watch)(()=>r.modelValue,E=>{T.value!==E&&(T.value=E)});const y=e,p=(0,t.computed)(()=>({[y]:!0,disabled:a.value,readonly:f.value})),g=(0,t.computed)(()=>({[`${y}__content`]:!0})),S=E=>{T.value=E,h("update:modelValue",E),h("change",E)};let $=Ve(r,"hintText"),m=Ve(r,"hintVisible");const C=(0,t.ref)();z({setDisabled:E=>{c.value=E},setReadonly:E=>{u.value=E}});const k=(0,t.computed)(()=>{let E=`${T.value}`;return r.inactiveText&&T.value===r.inactiveValue?E=r.inactiveText:r.activeText&&T.value===r.activeValue&&(E=r.activeText),E});return()=>{if(d.value==="on"&&(f.value||a.value))return i({modelValue:k.value,span:r.span,labelPosition:r.labelPosition,labelWidth:r.labelWidth},o.slots);const E={...ut(o.attrs),ref:C,class:g.value,disabled:a.value||f.value,"active-value":r.activeValue,"inactive-value":r.inactiveValue,"active-text":r.activeText,"inactive-text":r.inactiveText,"model-value":T.value,"onUpdate:modelValue":S},Y={},D=[],O=(0,t.h)(V.ElSwitch,E,Y);D.push(O);const N={default:()=>D};N.label=o.slots.default,N.fixedPreTip=o.slots.fixedPreTip,N.fixedTip=o.slots.fixedTip;const M={...Ie(r,Yo),ref:s,class:p.value,hintText:$.value,hintVisible:m.value};return r.prop&&(M.prop=`${r.prop}_item`),l(M,N)}}}}var{componentName:v3,create:C3,scope:N3}=pe("switch-item"),k3=C3(w3(v3,N3,We,Ze)),Nn=k3,Uo={modelValue:{type:[String,Number,Boolean,Object]},data:{type:[String,Function,Array],required:!0},params:{type:[Object],required:!1},placeholder:{type:[String],required:!1},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},childrenKey:{type:[String],required:!1,default:"children"},leafKey:{type:[String],required:!1,default:"leaf"},classKey:{type:[String],required:!1,default:"class"},lazy:{type:[Boolean],required:!1},load:{type:[Function],required:!1}},x3=class{scope;constructor(e){this.scope=e}async load(e,n,l,i,r){if(!n)return[];if(Array.isArray(n))return n;if(typeof n=="function")return await n(l,i);const o=tt(e,this.scope);return o===null?(console.error(`[FoxUI]${e} component not found api function`),[]):(et(l)&&(0,t.isReactive)(l)&&(l=(0,t.toRaw)(l)),await o(n,l,i))}};function T3(){const e=st();return new x3(e)}var Go={modelValue:{type:[String,Number,Boolean,Array],required:!1},maxLength:{type:[String,Number]}},E3={...Ae,...Re,...Go,...Uo};function z3(e,n,l,i){return{props:E3,emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(r,o){const{itemTemplateRef:s,innerDisabled:c,disabled:a,innerReadonly:u,readonly:f,browse:d}=je(r),h=(0,t.ref)(!1),{emitEvent:z,exposeApi:T}=Le({componentName:e,get readonly(){return f.value},get disabled(){return a.value},get props(){return r},context:o,get templateRefProxy(){return s.value}},r.prop??o.attrs.name),y=Ve(r,"modelValue",null,z),{toLocaleRefs:p}=(0,Be.useFoxI18n)(n),g=p(r,["placeholder"]),S=e,$=(0,t.computed)(()=>({[S]:!0,disabled:a.value,readonly:f.value})),m=(0,t.computed)(()=>({[`${S}__content`]:!0})),C=I=>{y.value=I,z("update:modelValue",I),z("change",I)};let k=Ve(r,"hintText"),E=(0,t.ref)(!1);const Y=I=>{let q=I.target.value;h.value=!0,ke(k.value)||(E.value=!0),z("focus",q,I)},D=I=>{setTimeout(()=>{E.value&&(E.value=!1),h.value=!1},0);let q=I.target.value;r.maxLength&&q.length>Number(r.maxLength)&&(q=q.slice(0,Number(r.maxLength))),N.value||z("blur",q,I)},O=()=>{z("clear","")},N=(0,t.ref)(!1),M=I=>{N.value=I,z("visible-change",I),I||z("selected")},L=(0,t.ref)([]),x=T3(),j=async(I,q)=>{try{const ee=await x.load("treeselect",I,q);L.value=ee}catch(ee){console.error(ee)}};(0,t.watch)([()=>r.data,()=>r.params,()=>r.lazy],([I,q,ee])=>{!I||ee||j(I,q)},{immediate:!0});let _=null;r.lazy&&(typeof r.load=="function"?_=r.load:_=async(I,q)=>{let ee={};r.params&&Object.assign(ee,r.params),I&&Object.assign(ee,I),q(await x.load("treeselect",r.data,ee,!0))});let R={label:r.textKey,value:r.valueKey,children:r.childrenKey,isLeaf:r.leafKey,class:r.classKey};const K=(0,t.ref)();return T({focus:()=>{K?.value.focus()},blur:()=>{K?.value.blur()},setDisabled:I=>{c.value=I},setReadonly:I=>{u.value=I}}),()=>{if(d.value==="on"&&(f.value||a.value))return i({modelValue:y.value,source:r.data,textKey:r.textKey,valueKey:r.valueKey,childrenKey:r.childrenKey,span:r.span,labelPosition:r.labelPosition,labelWidth:r.labelWidth},o.slots);const I=a.value||f.value?"":g.placeholder.value,q={...ut(o.attrs),ref:K,class:m.value,placeholder:I,disabled:a.value||f.value,modelValue:y.value,"onUpdate:modelValue":C,lazy:r.lazy,props:R,onClear:O,onFocus:Y,onBlur:D,onVisibleChange:M};_?q.load=_:q.data=L.value;const ee={};o.slots.option&&(ee.default=o.slots.option);const Q=[],J=(0,t.h)(V.ElTreeSelect,q,ee);Q.push(J);const H={default:()=>Q};H.label=o.slots.default,H.fixedPreTip=o.slots.fixedPreTip,H.fixedTip=o.slots.fixedTip;const B={...Ie(r,Go,Uo),ref:s,class:$.value,hintText:k.value,hintVisible:E.value};return r.prop&&(B.prop=`${r.prop}_item`),l(B,H)}}}}var{componentName:$3,create:B3,scope:V3}=pe("tree-select-item"),D3=B3(z3($3,V3,We,Ze)),kn=D3,M3={},A3={t:"1685254841130",class:"fox-table-setting__drag-icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"721"};function P3(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)("svg",A3,[...n[0]||(n[0]=[(0,t.createElementVNode)("path",{d:"M235.84 813.632c-54.528 0-98.816 41.792-98.816 93.312 0 51.584 44.288 93.312 98.816 93.312 54.592 0 98.816-41.728 98.816-93.312 0-51.52-44.224-93.312-98.816-93.312z m0-400.832c-54.528 0-98.816 41.792-98.816 93.312 0 51.52 44.288 93.44 98.816 93.44 54.592 0 98.816-41.92 98.816-93.44 0-51.52-44.224-93.312-98.816-93.312z m0-400.832C181.312 11.968 137.024 53.76 137.024 105.408c0 51.456 44.288 93.248 98.816 93.248 54.592 0 98.816-41.728 98.816-93.312C334.72 53.76 290.432 11.968 235.84 11.968z m527.104 801.664c-54.528 0-98.816 41.792-98.816 93.312 0 51.584 44.288 93.312 98.816 93.312 54.528 0 98.816-41.728 98.816-93.312 0-51.52-44.288-93.312-98.816-93.312z m0-400.832c-54.528 0-98.816 41.792-98.816 93.312 0 51.52 44.288 93.44 98.816 93.44 54.528 0 98.816-41.92 98.816-93.44 0-51.52-44.288-93.312-98.816-93.312z m0-400.832c-54.528 0-98.816 41.792-98.816 93.44 0 51.456 44.288 93.248 98.816 93.248 54.528 0 98.816-41.728 98.816-93.312 0-51.584-44.288-93.376-98.816-93.376z","p-id":"722"},null,-1)])])}var I3=Fe(M3,[["render",P3]]),{componentName:Bp,create:L3,scope:R3}=pe("group-setting"),_3={groupProp:{type:[String]},groupRef:{type:[Object]},popoverPlacement:{type:[String],required:!1,default:"bottom"},popoverWidth:{type:[String,Number],required:!1,default:280},title:{type:[String],required:!1},resetText:{type:[String],required:!1},initDelay:{type:[Number],required:!1,default:50},toTopText:{type:[String],required:!1},toBottomText:{type:[String],required:!1}},F3=L3({components:{FoxPopover:V.ElPopover,FoxCheckbox:V.ElCheckbox,FoxCheckboxGroup:V.ElCheckboxGroup,FoxButton:V.ElButton,FoxIcon:V.ElIcon,DragIcon:I3,Download:He.Download,RefreshLeft:He.RefreshLeft},props:_3,emits:["change"],setup(e,{emit:n,attrs:l,expose:i}){const{locale:r,toLocaleRefs:o}=(0,Be.useFoxI18n)(R3),s=o(e,["title","resetText","toTopText","toBottomText"]);let c=null;const a=(0,t.ref)([]),u=_o(),f=B=>B.length>1,d=()=>{const B=[],P=[...a.value];a.value=P.map((te,ie)=>(te.visible!==!1&&B.push(te.prop),{...te,sortIndex:ie})),a.value.length===B.length?S.value=!0:B.length>0&&($.value=!0),k.value=B},h=B=>{let P=null;if(typeof B=="string")P=document.querySelectorAll(`.fox-group[prop="${B}"] > div > .fox-item[prop]`);else if(B&&typeof B=="object"){const ie=B.$el??B;typeof ie.querySelectorAll=="function"&&(P=ie.querySelectorAll(".fox-item[prop]"))}if(!P)return[];const te=[];return P.forEach(ie=>{const Z=ie.querySelector(".label--string");let A="";Z&&(A=Z.textContent??"");const X=ie.getAttribute("prop")??"",re=window.getComputedStyle(ie,null).getPropertyValue("display");te.push({label:A,prop:X,sortIndex:0,visible:re!=="none"})}),te},z=()=>{if(!c){const B=h(e.groupRef??e.groupProp);if(B.length===0)return!1;c=B}return!0},T=async(B=!1)=>{const P=await u.load(e.groupProp),te=ie=>{if(!ie||!c)return;const Z=c.map(A=>({...A}));Array.isArray(P)&&P.forEach(A=>{Z.some(X=>{if(X.prop===A.prop){const re=X.label;return Object.assign(X,A),X.label=re,!0}return!1})}),a.value=Z.sort((A,X)=>A.sortIndex-X.sortIndex),d(),B&&p(!1)};c?te(!0):Il(z,e.initDelay,5,50,!1,te)},y=()=>{a.value=(c??[]).map(B=>({...B})),d(),p()},p=(B=!0)=>{B&&u.save(e.groupProp,a.value),n("change",a.value.map(P=>({...P})))},g=(0,t.computed)(()=>({"max-width":`${ve(e.popoverWidth)-125}px`})),S=(0,t.ref)(!1),$=(0,t.ref)(!1),m=B=>{const P=[];a.value.forEach(te=>{B&&P.push(te.prop),te.visible=B}),S.value=!1,$.value=!1,a.value.length===P.length?S.value=!0:P.length>0&&($.value=!0),k.value=P,p()},C=()=>{y()},k=(0,t.ref)([]),E=B=>{a.value.forEach(te=>{te.visible=B.indexOf(te.prop)!==-1}),S.value=!1,$.value=!1;const P=a.value.length;B.length===P?S.value=!0:B.length>0&&($.value=!0),p()},Y=()=>{T()};(0,t.onMounted)(()=>{T(!0)});const D={currentRow:null,index:null},O=B=>B?B.dataset&&B.dataset.role==="row"?B:B.tagName.toLowerCase()!=="body"?(B=B.parentElement,O(B)):null:null,N=B=>{const P=B.currentTarget;P&&P.dataset&&(D.index=P.dataset.index)},M=B=>{D.currentRow&&(D.currentRow.classList.remove("is-dragover"),D.currentRow=null),D.index=null},L=B=>{const P=B.currentTarget;B.relatedTarget;const te=O(P);te&&(B.preventDefault(),D.currentRow&&D.currentRow!==te&&D.currentRow.classList.remove("is-dragover"),te.classList.add("is-dragover"),D.currentRow=te)},x=B=>{B.preventDefault(),D.currentRow&&(D.currentRow.classList.remove("is-dragover"),D.currentRow=null)},j=B=>{const P=B.currentTarget,te=O(P);if(!te)return;B.preventDefault();const ie=Number(D.index),Z=Number(te.dataset.index);if(ie!==Z){if(ie<Z){const A=a.value[ie];a.value.splice(ie,1),a.value.splice(Z,0,A)}else{const A=a.value[ie];a.value.splice(ie,1),a.value.splice(Z+1,0,A)}d(),p()}},_=B=>{const P=a.value[B];a.value.splice(B,1),a.value.splice(0,0,P),d(),p()},R=B=>{const P=a.value[B];a.value.splice(B,1),a.value.push(P),d(),p()};i({refresh:()=>{c=null,T(!1)}});const K=new Map;let I=null;function q(B){const P=document.createRange();return P.setStart(B,0),P.setEnd(B,B.childNodes.length),P.getBoundingClientRect().width}return{...s,attrs:l,itemPropertyList:a,isDraggble:f,isCheckAll:S,isIndeterminate:$,handleCheckAllChange:m,handleReset:C,checkedValue:k,handleCheckChange:E,onShow:Y,onDragStart:N,onDragEnd:M,onDragOver:L,onDragLeave:x,onDrop:j,checkboxLabelStyle:g,toTop:_,toBottom:R,onMouseOverForOverflowText:(B,P,te)=>{const ie=B.currentTarget;if(ie){const Z=Math.floor(ie.offsetWidth);if(Math.floor(q(ie))>Z){let A=K.get(P);if(A){if(A===I)return;Ge.hide(A)}A=Ge.show(ie,te,{type:"text",placement:"top",closeOnClick:!1}),K.set(P,A),I=A}}},onMouseLeaveForOverflowText:(B,P)=>{const te=K.get(P);te&&(Ge.hide(te),te===I&&(I=null))},onMouseOverForTip:(B,P)=>{const te=B.currentTarget;te&&(I&&Ge.hide(I),I=Ge.show(te,P,{type:"text",placement:"top",closeOnClick:!1},!0))},onMouseLeaveForTip:B=>{I&&(Ge.hide(I),I=null)}}}}),O3={class:"fox-group-setting"},q3={class:"fox-group-setting__header"},H3={class:"fox-group-setting__body"},K3={class:"fox-group-setting__body-list","data-role":"container"},j3=["data-index","draggable"],W3=["onMouseover","onMouseleave"],Y3={class:"tools-item"};function U3(e,n,l,i,r,o){const s=(0,t.resolveComponent)("FoxCheckbox"),c=(0,t.resolveComponent)("FoxButton"),a=(0,t.resolveComponent)("DragIcon"),u=(0,t.resolveComponent)("Download"),f=(0,t.resolveComponent)("FoxIcon"),d=(0,t.resolveComponent)("FoxCheckboxGroup"),h=(0,t.resolveComponent)("FoxPopover");return(0,t.openBlock)(),(0,t.createBlock)(h,(0,t.mergeProps)(e.attrs,{placement:e.popoverPlacement,width:e.popoverWidth,onShow:e.onShow,trigger:"click","popper-class":"fox-group-setting__popper"}),{reference:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,"default")]),default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("div",O3,[(0,t.createElementVNode)("div",q3,[(0,t.createVNode)(s,{modelValue:e.isCheckAll,"onUpdate:modelValue":n[0]||(n[0]=z=>e.isCheckAll=z),indeterminate:e.isIndeterminate,onChange:e.handleCheckAllChange},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.title),1)]),_:1},8,["modelValue","indeterminate","onChange"]),(0,t.createVNode)(c,{onClick:e.handleReset,link:"",type:"primary"},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.resetText),1)]),_:1},8,["onClick"])]),(0,t.createElementVNode)("div",H3,[(0,t.createVNode)(d,{modelValue:e.checkedValue,"onUpdate:modelValue":n[10]||(n[10]=z=>e.checkedValue=z),onChange:e.handleCheckChange},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("div",K3,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.itemPropertyList,z=>((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:z.prop,class:"fox-group-setting__body-row","data-role":"row","data-index":z.sortIndex,draggable:e.isDraggble(e.itemPropertyList),onDragstart:n[5]||(n[5]=(...T)=>e.onDragStart&&e.onDragStart(...T)),onDragend:n[6]||(n[6]=(...T)=>e.onDragEnd&&e.onDragEnd(...T)),onDrop:n[7]||(n[7]=(...T)=>e.onDrop&&e.onDrop(...T)),onDragover:n[8]||(n[8]=(...T)=>e.onDragOver&&e.onDragOver(...T)),onDragleave:n[9]||(n[9]=(...T)=>e.onDragLeave&&e.onDragLeave(...T))},[e.isDraggble(e.itemPropertyList)?((0,t.openBlock)(),(0,t.createBlock)(a,{key:0,class:"icon-item"})):(0,t.createCommentVNode)("",!0),(0,t.createVNode)(s,{class:"checkbox-item",label:z.prop},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("span",{onMouseover:T=>e.onMouseOverForOverflowText(T,z.prop,z.label),onMouseleave:T=>e.onMouseLeaveForOverflowText(T,z.prop),class:"checkbox-item__label",style:(0,t.normalizeStyle)(e.checkboxLabelStyle)},(0,t.toDisplayString)(z.label),45,W3)]),_:2},1032,["label"]),(0,t.createElementVNode)("div",Y3,[(0,t.createVNode)(f,{onClick:T=>e.toTop(z.sortIndex),onMouseover:n[1]||(n[1]=T=>e.onMouseOverForTip(T,e.toTopText)),onMouseleave:n[2]||(n[2]=T=>e.onMouseLeaveForTip(T)),class:"is-reverse"},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(u)]),_:1},8,["onClick"]),(0,t.createVNode)(f,{onClick:T=>e.toBottom(z.sortIndex),onMouseover:n[3]||(n[3]=T=>e.onMouseOverForTip(T,e.toBottomText)),onMouseleave:n[4]||(n[4]=T=>e.onMouseLeaveForTip(T))},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(u)]),_:1},8,["onClick"])])],40,j3))),128))])]),_:1},8,["modelValue","onChange"])])])]),_:3},16,["placement","width","onShow"])}var xn=Fe(F3,[["render",U3]]),G3={data:{type:[String,Function,Array],required:!1},params:{type:[Object],required:!1},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},childrenKey:{type:[String],required:!1,default:"children"},leafKey:{type:[String],required:!1,default:"leaf"},disabledKey:{type:[String],required:!1,default:"disabled"},classKey:{type:[String],required:!1,default:"class"},autoLoad:{type:[Boolean],required:!1,default:()=>!0},props:{type:[Object],required:!1},filterKeyword:{type:[String,Boolean,Number,Object],required:!1},filterNodeMethod:{type:[Function],required:!1},lazy:{type:[Boolean],required:!1},load:{type:[Function],required:!1}},X3=class{scope;constructor(e){this.scope=e}async load(e,n,l,i,r){if(Array.isArray(n))return n;if(typeof n=="function")return await n(l,i);const o=tt(e,this.scope);return o===null?(console.error(`[FoxUI]${e} component not found api function`),[]):(et(l)&&(0,t.isReactive)(l)&&(l=(0,t.toRaw)(l)),await o(n,l,i))}};function Q3(){const e=st();return new X3(e)}var Z3={...Za,...G3};function J3(e,n,l){return{props:Z3,setup(i,r){const o=e,s=(0,t.computed)(()=>({[o]:!0})),c=(0,t.computed)(()=>({[`${o}__content`]:!0})),a=(0,t.ref)([]),u=Q3(),f=async(m,C)=>{try{const k=await u.load("tree",m,C);a.value=k}catch(k){console.error(k)}},d=(0,t.shallowRef)({}),h=(0,t.computed)(()=>({...d.value,...i.params??{}}));(Array.isArray(i.data)?!0:i.lazy?!1:Ce(i.autoLoad))&&(0,t.watch)([()=>i.data,()=>h.value],([m,C])=>{m&&f(m,C)},{immediate:!0,deep:!0});let T=null;i.lazy&&(typeof i.load=="function"?T=i.load:T=async(m,C)=>{let k={};i.params&&Object.assign(k,i.params),m&&Object.assign(k,m),C(await u.load("tree",i.data,k,!0))});const y={label:i.textKey,children:i.childrenKey,isLeaf:i.leafKey,class:i.classKey,disabled:i.disabledKey,...i.props??{}},p=(m={})=>new Promise(async C=>{d.value={...(0,t.toRaw)(m??{})},await f(i.data,h.value),C()}),g=function(m,C){if(typeof i.filterNodeMethod=="function")return i.filterNodeMethod(m,C);if(!i.filterKeyword)return!0;const k=`${C[y.label]}`,E=`${m}`;return k.includes(E)},S=(0,t.ref)();(0,t.watch)(()=>i.filterKeyword,m=>{S.value.filter(m)});const $=m=>(...C)=>{const k=S.value[m];return Reflect.apply(k,S.value,[...C])};return r.expose({loadData:p,filter:$("filter"),updateKeyChildren:$("updateKeyChildren"),getCheckedNodes:$("getCheckedNodes"),setCheckedNodes:$("setCheckedNodes"),getCheckedKeys:$("getCheckedKeys"),setCheckedKeys:$("setCheckedKeys"),setChecked:$("setChecked"),getHalfCheckedNodes:$("getHalfCheckedNodes"),getHalfCheckedKeys:$("getHalfCheckedKeys"),getCurrentKey:$("getCurrentKey"),getCurrentNode:$("getCurrentNode"),setCurrentKey:$("setCurrentKey"),setCurrentNode:$("setCurrentNode"),getNode:$("getNode"),remove:$("remove"),append:$("append"),insertBefore:$("insertBefore"),insertAfter:$("insertAfter")}),()=>{const m={...ut(r.attrs),class:c.value,lazy:i.lazy,props:y,nodekey:i.valueKey,ref:Y=>S.value=Y};T?m.load=T:m.data=a.value,m["filter-node-method"]=g;const C=[],k=(0,t.h)(V.ElTree,m,r.slots);C.push(k);const E={default:()=>C};return(0,t.h)(l,{...wt(i,Za),class:s.value},E)}}}}var{componentName:e5,create:t5,scope:l5}=pe("tree-item"),a5=t5(J3(e5,l5,Jl)),Tn=a5,ra={prop:{type:[String]},poppable:{type:[Boolean],default:!1},modelValue:{type:[Array,Number,String,Object],default:()=>[]},visible:{type:[Boolean]},disabled:{type:[Boolean,String],required:!1,default:()=>null},textPosition:{type:[String],required:!1},source:{type:[Array,Function,String],required:!1},params:{type:[Object],required:!1},valueType:{type:String,required:!1,default:"value"},textKey:{type:String,required:!1,default:"text"},subTextKey:{type:String,required:!1,default:"subText"},valueKey:{type:String,required:!1,default:"value"},disabledKey:{type:String,required:!1,default:"disabled"},itemOptions:{type:[Object,Function],required:!1},icon:{type:[Object]},checkedIcon:{type:[Object]},iconSize:{type:[String,Number]},pageSize:{type:[Number],required:!1,default:10},optionsHeight:{type:[String],required:!1},multiple:{type:[Boolean]},position:{type:[String],default:"bottom"},closeOnClickOverlay:{type:[Boolean],default:!0},title:{type:[String]},confirmText:{type:[String]},loadText:{type:[String]},noMoreText:{type:[String]},isAutoBackFill:{type:[Boolean]},showHeader:{type:[Boolean],default:!0},showFooter:{type:[Boolean],default:!0},showSearchbar:{type:[Boolean],default:!0},searchKey:{type:String,required:!1,default:"keyword"},seachPlaceholder:{type:String,required:!1},searchDelayTriggerClear:{type:Number,default:250},showTagbar:{type:[Boolean],default:!0},tagTextFormatter:{type:[Function]},tagInitSource:{type:[Array],required:!1},popClass:{type:String,required:!1},popCloseable:{type:Boolean,required:!1,default:!0},beforeMethod:{type:Function},autoLoad:{type:[Boolean,String],default:()=>!0}};function $t(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function Xo(e,n){return typeof e.subTextKey=="string"&&e.subTextKey.length>0?n[e.subTextKey]:n.text}function oa(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function n5(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}function r5(e,n,l){return typeof e.itemOptions=="function"?e.itemOptions(n,l):e.itemOptions}var o5=class{scope;constructor(e){this.scope=e}async load(e,n,l,i,r,o,s){if(!n)return{totalSize:0,page:[]};if(Array.isArray(n)){let a=n;typeof s=="function"&&(a=a.filter(s));let u=(l-1)*i,f=u+i;f>a.length&&(f=a.length);const d=a.slice(u,f);return{totalSize:a.length,page:d}}if(typeof n=="function")return await Reflect.apply(n,null,[l,i,r,o]);const c=tt(e,this.scope);return c===null?(console.error(`[FoxUI]${e} component not found api function`),{totalSize:0,page:[]}):(et(r)&&(0,t.isReactive)(r)&&(r=(0,t.toRaw)(r)),await Reflect.apply(c,null,[n,l,i,r]))}};function Qo(){const e=st();return new o5(e)}function i5(e,n,l,i,r,o,s,c,a,u,f){return{props:ra,emits:["change","update:modelValue","update:text","loaded-data","update:visible","item-click"],setup(d,h){const{emitEvent:z,exposeApi:T}=Dt({context:h},d.prop),{slots:y}=h,{toLocaleRefs:p}=(0,Be.useFoxI18n)(n),g=p(d,["title","loadText","noMoreText","seachPlaceholder","confirmText"]),S="fox-actionsheet",$=(0,t.computed)(()=>({})),m=Qo(),C=(0,t.ref)([]),k=(0,t.ref)(0),E=(0,t.ref)(""),Y=(0,t.shallowRef)(null),D=(0,t.computed)(()=>{const F={};return d.params&&Object.assign(F,d.params),ke(E.value)||(F[`${d.searchKey}`]=E.value),Y.value&&Object.assign(F,Y.value),F});let O=!0;const N=async(F,ae,oe)=>{try{if(L.value===!1)return;let se=null;ke(E.value)||(se=he=>{const ze=$t(d,he);if(typeof ze=="string"&&ze.includes(E.value))return!0;const ge=Xo(d,he);return!!(typeof ge=="string"&&ge.includes(E.value))});const ue=await m.load("actionsheet",F,ae,oe,D.value,O,se??void 0);O=!1,Array.isArray(ue)?(C.value=ue,k.value=1,L.value=!1):!Array.isArray(ue.page)||ue.page.length===0?(console.warn("[FoxUI] can not load more data"),L.value=!1):(Reflect.apply([].push,C.value,ue.page),k.value=Math.ceil(C.value.length/d.pageSize),(ue.totalSize&&C.value.length>=ue.totalSize||oe<ue.page.length)&&(L.value=!1)),M.value=!1}catch(se){console.error("[FoxUI] ActionSheet load more data fail",se),L.value=!0,k.value=0,C.value=[]}setTimeout(()=>{z("loaded-data")},250)},M=(0,t.ref)(!1),L=(0,t.ref)(!0),x=async()=>{if(!d.source){M.value=!1;return}await N(d.source,k.value+1,d.pageSize)};let j=null;(0,t.watch)(E,(F,ae)=>{j&&(clearTimeout(j),j=null),ke(F)&&!ke(ae)&&(j=setTimeout(()=>{K()},d.searchDelayTriggerClear))});const _=()=>Array.isArray(d.source)||!d.source?!0:Ce(d.autoLoad),R=()=>{L.value=!0,k.value=0,C.value=[],d.source&&x()},K=()=>{R()};_()&&((0,t.watch)([()=>d.source,()=>d.pageSize,()=>d.params],async([F,ae,oe])=>{_()&&d.source&&R()}),d.source&&R());const I=(0,t.computed)(()=>!d.multiple&&d.isAutoBackFill),q=(0,t.shallowRef)([]);let ee=null;const Q=(0,t.ref)(d.visible);(0,t.watch)(()=>d.visible,F=>{Q.value!==F&&(Q.value=F),F?ee=[...q.value??[]]:ee=null});const J=(F,ae)=>{Array.isArray(F)||(F=[F]);const oe=F.filter(se=>!Pe(se)&&!ke(se));return Qe(oe,q.value)?!1:(q.value=oe,!0)};(0,t.watch)([()=>d.modelValue,()=>C.value],([F,ae],[oe,se])=>{const ue=J(F,ae),he=H();ue?te(he,!1):te(he,!0)},{deep:!0});const H=()=>{const F=[],ae=[],oe=[];for(let ze of q.value)if(d.valueType==="item"){const ge=ze,xe=$t(d,ge);F.push(ge),oe.push(xe),ae.push(ge)}else if(d.valueType==="text"){const ge=ze,xe=C.value.find(Ee=>$t(d,Ee)===ge);F.push(ge),oe.push(ge),ae.push(xe)}else{const ge=ze,xe=C.value.find(Xe=>oa(d,Xe)===ge),Ee=xe?$t(d,xe):`${ge}`;F.push(ge),oe.push(Ee),ae.push(xe)}let se=null,ue=null,he=null;return d.multiple?(se=F,ue=oe,he=ae):(se=F[0]??null,ue=oe[0]??null,he=ae[0]??null),{value:se,text:ue,item:he}},B=(0,t.computed)(()=>{const F=[];return Array.isArray(C.value)&&F.push(...C.value),Array.isArray(d.tagInitSource)&&F.push(...d.tagInitSource),F}),P=F=>{let ae;if(d.valueType==="item")ae=$t(d,F);else if(d.valueType==="text")ae=F;else{const oe=B.value.find(se=>oa(d,se)===F);ae=oe?$t(d,oe):`${F}`}return typeof d.tagTextFormatter=="function"&&(ae=d.tagTextFormatter(ae,F)),ae},te=(F,ae=!1)=>{ae||(z("update:modelValue",F.value),z("change",F.value,F.item,F.text)),z("update:text",F.text)},ie=()=>{ee&&(q.value=ee)},Z=F=>{const ae=q.value.findIndex(se=>Qe(se,F));d.multiple?ae===-1?q.value.push(F):q.value.splice(ae,1):ae===-1?q.value=[F]:q.value=[],(0,t.triggerRef)(q),(I.value||!d.poppable&&!d.showFooter)&&re();let oe;if(d.valueType==="item")oe=F;else if(d.valueType==="text"){const se=F;oe=C.value.find(ue=>$t(d,ue)===se)}else{const se=F;oe=C.value.find(ue=>oa(d,ue)===se)}z("item-click",oe)},A=F=>{Q.value=F,z("update:visible",F)},X=()=>{const F=()=>{ie(),A(!1)},ae=d.beforeMethod;if(typeof ae=="function"){const oe=ae("close");Bl(oe)?oe.then(se=>{se!==!1&&F()}).catch(()=>{F()}):oe!==!1&&F()}else F()},re=()=>{const F=H(),ae=()=>{te(F,!1),A(!1)},oe=d.beforeMethod;if(typeof oe=="function"){const se=oe("confirm",F.value,F.item,F.text);Bl(se)?se.then(ue=>{ue!==!1&&ae()}).catch(()=>{ae()}):se!==!1&&ae()}else ae()},de=()=>{let F=g.title.value??"";y.title&&(F=y.title());const ae=(0,t.h)("view",{class:[`${S}__header-title`]},[F]),oe=(0,t.h)(a,{class:[`${S}__header-icon`],onClick:X});return(0,t.h)("view",{class:[`${S}__header`]},[ae,oe])},ne=()=>{let F=null;return y.search?F=y.search():F=(0,t.h)(o,{onSearch:R,placeholder:g.seachPlaceholder.value,disabled:d.disabled,modelValue:E.value,"onUpdate:modelValue":ae=>{E.value=ae}},{leftin:()=>(0,t.h)(u)}),(0,t.h)("view",{class:[`${S}__searchbar`]},[F])},U=()=>{const F=[];if(Array.isArray(q.value))for(let oe=0;oe<q.value.length;oe++){const se=q.value[oe];if(Pe(se)||ke(se))continue;const ue=P(se),he=(0,t.h)("view",{class:`${S}__tag`,onClick:()=>{Z(se)}},[ue]);F.push(he)}const ae=[`${S}__tagbar`];return F.length===0&&ae.push("is-empty"),(0,t.h)("view",{class:ae},F)},v=()=>y.subheader?.()??null,w=(F,ae,oe,se,ue,he)=>{if(y.optionLabel)return y.optionLabel({text:F,checked:ae,disabled:oe,subText:ue,item:he,index:se});const ze=[],ge=(0,t.h)("view",{class:`${S}__list-item-text`},[F]);if(ze.push(ge),ue){const xe=(0,t.h)("view",{class:`${S}__list-item-subtext`},[ue]);ze.push(xe)}return(0,t.h)("view",{class:[`${S}__list-item-label`]},ze)},G=(F,ae,oe,se,ue)=>y.optionIcon?y.optionIcon({checked:F,disabled:ae,iconSize:se,item:ue,index:oe}):F?y.checkedIcon?y.checkedIcon({disabled:ae,item:ue}):(0,t.h)(d.checkedIcon??c,{width:se,height:se,class:[`${S}__list-item-icon`]}):y.icon?y.icon({disabled:ae,item:ue}):(0,t.h)(d.icon??s,{width:se,height:se,class:[`${S}__list-item-icon`]}),le=()=>{const F=d.valueType,ae=[];for(let oe=0;oe<C.value.length;oe++){const se=C.value[oe],ue=oa(d,se),he=$t(d,se),ze=Xo(d,se),ge=[`${S}__list-item`],xe={};let Ee=n5(d,se),Xe=d.iconSize?ve(d.iconSize):null;const Oe=r5(d,se,oe);Oe&&(Ee=Ee||Oe.disabled,Oe.class&&ge.push(Oe.class),Oe.style&&Object.assign(xe,Oe.style)),Ee=!!(d.disabled||Ee);let at=!1;for(let nt=0;nt<q.value.length;nt++){const Ye=q.value[nt];if(F==="item"?at=Qe(Ye,se):F==="text"?at=Qe(Ye,he):at=Qe(Ye,ue),at)break}Ee&&ge.push("is-disabled"),at&&ge.push("is-checked");const Xt={class:ge,style:xe,key:`${oe}`,onClick:()=>{Ee||Z(F==="item"?se:F==="text"?he:ue)}};let gt=[];if(y.option)gt.push(y.option({item:se,checked:at,disabled:Ee,index:oe+1}));else{const nt=w(he,at,Ee,oe+1,ze,se);gt.push(nt);const Ye=G(at,Ee,oe+1,Xe,se);gt.push(Ye),d.textPosition==="right"&>.reverse()}const ct=(0,t.h)("view",Xt,gt);ae.push(ct)}return ae},W=()=>{let F=[];if(y.buttons)F=y.buttons();else{const ae=(0,t.h)(r,{type:"primary",class:`${S}__footer-confirm`,block:"block",onClick:re,disabled:d.disabled},{default:()=>g.confirmText.value});F.push(ae)}return(0,t.h)("view",{class:`${S}__footer`},[F])};return T({search:async(F=null,ae=!0)=>{Y.value=(0,t.isRef)(F)?(0,t.toRaw)(F):F,(0,t.triggerRef)(Y),ae&&(L.value=!0,k.value=0,C.value=[]),(0,t.nextTick)(()=>{x()})},clear:()=>{L.value=!0,k.value=0,C.value=[]},confirm:()=>{re()},cancel:()=>{X()},getData:()=>C.value}),()=>{const F=[];if(d.showHeader){const xe=de();F.push(xe)}if(d.showSearchbar){const xe=ne();F.push(xe)}if(d.showTagbar){const xe=U();F.push(xe)}const ae=v();ae&&F.push(ae);let oe=null;if(y.content)oe=y.content();else{const xe=le();oe=(0,t.h)(i,{hasMore:L.value,loadText:g.loadText.value,noMoreText:g.noMoreText.value,modelValue:M.value,"onUpdate:modelValue":Ee=>{M.value=Ee},onLoadMore:x},{default:()=>xe})}const se={};d.optionsHeight&&(se.height=d.optionsHeight);const ue={[`${S}__list`]:!0};d.poppable||(ue[`${S}__list--inner`]=!0);const he=(0,t.h)("view",{class:ue,style:se},[oe]);if(F.push(he),d.showFooter&&!I.value){const xe=W();F.push(xe)}const ze=(0,t.h)("view",{class:`${S}`,style:$.value},F);if(!d.poppable)return ze;const ge=[`${S}__popup`];return d.popClass&&ge.push(d.popClass),(0,t.h)(l,{popClass:ge.join(" "),visible:Q.value,closeable:!1,"onUpdate:visible":A,position:d.position,round:"round",onClickOverlay:X,closeOnClickOverlay:d.closeOnClickOverlay},{default:()=>ze})}}}}var s5={modelValue:{type:[Boolean],default:!1},hasMore:{type:[Boolean],default:!0},showFinished:{type:[Boolean],default:!0},threshold:{type:[Number],default:200},loadText:{type:[String]},noMoreText:{type:[String]},useCapture:{type:[Boolean],default:!1},immediate:{type:[Boolean],default:!1},containerClass:{type:[String]}};function c5(e,n,l){return{props:s5,emits:["scroll-change","load-more","update:modelValue"],setup(i,{emit:r,slots:o}){const s=e,{toLocaleRefs:c}=(0,Be.useFoxI18n)(n),a=c(i,["pullText","loadText","noMoreText"]),u=(0,t.ref)(),f=Lo(u),d=(0,t.reactive)({beforeScrollTop:0,isInfiniting:!1,y:0,x:0,distance:0}),h=(0,t.computed)(()=>({[s]:!0})),z=(0,t.computed)(()=>{const m=[`${s}__container`];return i.containerClass&&m.push(i.containerClass),m}),T=m=>m?m.offsetTop+T(m.offsetParent):0,y=()=>{let m=0,C=0,k="down";if(f.value==window){const E=Ro();u.value&&(m=T(u.value)+u.value.offsetHeight-E-window.innerHeight),C=E}else{const{scrollHeight:E,clientHeight:Y,scrollTop:D}=f.value;m=E-Y-D,C=D}return d.beforeScrollTop>C?k="up":k="down",d.beforeScrollTop=C,r("scroll-change",C),m<=i.threshold&&k=="down"},p=()=>{ba(()=>{if(!y()||!i.hasMore||d.isInfiniting)return!1;d.isInfiniting=!0,r("update:modelValue",!0),(0,t.nextTick)(()=>r("load-more"))})},g=()=>{f.value&&f.value.addEventListener("scroll",p,i.useCapture)},S=()=>{f.value&&f.value.removeEventListener("scroll",p,i.useCapture)};(0,t.onMounted)(()=>{g(),i.immediate&&p()}),(0,t.onUnmounted)(()=>{S()});const $=(0,t.ref)(!1);return(0,t.onActivated)(()=>{$.value&&($.value=!1,g())}),(0,t.onDeactivated)(()=>{$.value=!0,S()}),(0,t.watch)(()=>i.modelValue,m=>{m||(d.isInfiniting=!1)}),()=>{const m=(0,t.h)("view",{class:z.value},[o?.default?.()]),C=[];if(d.isInfiniting){let E=o?.loading?.()??null;if(!E){let D=o?.loadingIcon?.()??null;D||(D=(0,t.h)(l,{class:[`${s}__bottom-box__img`]}));const O=(0,t.h)("view",{class:`${s}__bottom-box__text`},[a.loadText.value]);E=[D,O]}const Y=(0,t.h)("view",{class:`${s}__bottom-box`},E);C.push(Y)}else if(!i.hasMore&&i.showFinished){let E=o?.finished?.()??null;E||(E=(0,t.h)("view",{class:`${s}__bottom-tips`},[a.noMoreText.value]),C.push(E))}const k=[m];if(C.length>0){const E=(0,t.h)("view",{class:`${s}__bottom`},C);k.push(E)}return(0,t.h)("view",{class:h.value,ref:u},k)}}}}var{componentName:u5,create:d5,scope:f5}=pe("infinite-loading"),m5=d5(c5(u5,f5,gl)),ia=m5,h5={prop:{type:[String]},modelValue:{type:[String,Number],default:""},inputType:{type:String,default:"text"},label:{type:String,default:""},shape:{type:String,default:"round"},maxLength:{type:[String,Number],default:"9999"},placeholder:{type:String,default:""},clearable:{type:Boolean,default:!0},clearIcon:{type:Object},background:{type:String,default:""},inputBackground:{type:String,default:""},focusStyle:{type:Object,default:()=>({})},autofocus:{type:Boolean,default:!1},autoblur:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},inputAlign:{type:String,default:"left"}},p5=(e,n,l)=>({props:h5,emits:["change","update:modelValue","blur","focus","clear","search","click-input","keyup-input","click-left-icon","click-right-icon"],setup(i,r){const{emitEvent:o}=Dt({context:r},i.prop),{toLocaleRefs:s}=(0,Be.useFoxI18n)(n),c=s(i,["placeholder"]),{slots:a,attrs:u}=r,f=(0,t.reactive)({active:!1}),d=(0,t.computed)(()=>({background:i.background})),h=(0,t.computed)(()=>({background:i.inputBackground})),z=N=>{let M=N.target.value;i.maxLength&&M.length>Number(i.maxLength)&&(M=M.slice(0,Number(i.maxLength))),o("update:modelValue",M,N),o("change",M,N)},T=(0,t.ref)({}),y=N=>{let M=N.target.value;f.active=!0,T.value=i.focusStyle,o("focus",M,N)},p=N=>{setTimeout(()=>{f.active=!1},0);let M=N.target.value;i.maxLength&&M.length>Number(i.maxLength)&&(M=M.slice(0,Number(i.maxLength))),T.value={},o("blur",M,N)},g=N=>{o("update:modelValue","",N),o("change","",N),o("clear","")},S=(0,t.computed)(()=>String(i.modelValue).length>0),$=(0,t.computed)(()=>{const N={};return S.value||(N.display="none"),N}),m=N=>{i.autoblur&&D.value?.blur(),(typeof N.cancelable!="boolean"||N.cancelable)&&N.preventDefault(),o("search",i.modelValue)},C=N=>{o("keyup-input",N)},k=N=>{o("click-input",N)},E=N=>{o("click-left-icon",i.modelValue,N)},Y=(0,t.computed)(()=>({textAlign:i.inputAlign})),D=(0,t.ref)(null);(0,t.onMounted)(()=>{i.autofocus&&D.value.focus()});const O=()=>{const N=[];if(a.leftin){const j=(0,t.h)("view",{class:[`${e}__search-icon`,`${e}__input-left-search-icon`],onClick:E},[a.leftin()]);N.push(j)}const M=(0,t.h)("input",{class:`${e}__input-inner-input`,ref:D,style:Y.value,type:i.inputType,maxlengt:i.maxLength,placeholder:c.placeholder.value,value:i.modelValue,disabled:i.disabled,readonly:i.readonly,onClick:k,onInput:z,onFocus:y,onBlur:p,onkeyup:C}),L=(0,t.h)("form",{class:[`${e}__input-inner`],action:"#",onSubmit:m},[M]);N.push(L);const x=[];if(i.clearable){const j=(0,t.h)("view",{class:[`${e}__search-icon`,`${e}__input-clear-icon`],style:$.value,onClick:g},[(0,t.h)(a?.clear?.()??i.clearIcon??l)]);x.push(j)}if(a.rightin){const j=(0,t.h)("view",{class:[`${e}__search-icon`,`${e}__input-right-search-icon`]},[a.rightin()]);x.push(j)}if(x.length>0){const j=(0,t.h)("view",{class:`${e}__input-inner-right`},x);N.push(j)}return(0,t.h)("view",{class:[`${e}__search-input`,`${i.shape}`],style:{...h.value,...T.value}},N)};return()=>{const N=[];if(i.label){const L=(0,t.h)("span",{class:`${e}__search-label`},[i.label]);N.push(L)}if(a.leftout){const L=(0,t.h)("view",{class:[`${e}__search-icon`,`${e}__left-search-icon`]},[a.leftout()]);N.push(L)}const M=O();if(N.push(M),a.rightout){const L=(0,t.h)("view",{class:[`${e}__search-icon`,`${e}__right-search-icon`]},[a.rightout()]);N.push(L)}return(0,t.h)("view",{...u,prop:i.prop,class:`${e}`,style:d.value},N)}}}),{componentName:g5,create:y5,scope:b5}=pe("searchbar"),S5=y5(p5(g5,b5,He.CircleClose)),Sl=S5,{componentName:w5,create:v5,scope:C5}=pe("actionsheet-pane"),N5=v5(i5(w5,C5,vt,ia,V.ElButton,Sl,rd,ld,yl,wo,!1)),sa=N5,Zo={type:{type:String,default:"text"},placeholder:{type:String},textAlign:{type:String},maxLength:{type:[String,Number],required:!1},clearable:{type:Boolean,default:!0},unit:{type:[String],required:!1},text:{type:String},actionSheetClass:{type:String},separator:{type:[String],required:!1,defualt:" "},emptyText:{type:String}},k5={...Ae,...Re,...Zo,...ra};function x5(e,n,l,i,r,o){return{props:k5,emits:["change","update:modelValue","blur","focus","clear","update:text","setValue","item-click","loaded-data"],setup(s,c){const{itemTemplateRef:a,innerDisabled:u,disabled:f,innerReadonly:d,readonly:h,browse:z}=je(s),{emitEvent:T,exposeApi:y}=Le({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus","setValue"],get readonly(){return h.value},get disabled(){return f.value},get props(){return s},context:c,get templateRefProxy(){return a.value}},s.prop??c.attrs.name),{toLocaleRefs:p}=(0,Be.useFoxI18n)(n),g=p(s,["placeholder"]),S=(0,t.ref)(!1),$=Ve(s,"modelValue",null,T),m=(0,t.ref)(""),C=(0,t.computed)(()=>Array.isArray(m.value)&&m.value.length>0?m.value.join(s.separator):m.value?m.value:s.emptyText??""),k=e,E=(0,t.computed)(()=>({[k]:!0,readonly:h.value,disabled:f.value})),Y=(0,t.computed)(()=>({[`${k}__content`]:!0})),D=_e((0,t.computed)(()=>s.textAlign),"textAlign"),O=(0,t.computed)(()=>{const B={};return D.value&&(B["text-align"]=D.value),B}),N=(0,t.ref)(!1),M=()=>{f.value===!0||h.value===!0||(N.value=!0)},L=B=>{N.value=B},x=B=>{$.value=B,T("update:modelValue",B)},j=(B,P)=>{T("change",B,P)},_=B=>{T("item-click",B)},R=()=>{T("loaded-data")},K=B=>{let P=B.target.value;S.value=!0,T("focus",P,B)},I=B=>{setTimeout(()=>{S.value=!1},0);let P=B.target.value;s.maxLength&&P.length>Number(s.maxLength)&&(P=P.slice(0,Number(s.maxLength))),T("blur",P,B)},q=B=>{m.value=B,T("update:text",B)},ee=(0,t.computed)(()=>St(s.unit)>0),Q=(0,t.ref)(),J=(0,t.ref)(null);y({focus:()=>{Q?.value.focus()},blur:()=>{Q?.value.blur()},select:()=>{Q?.value.select()},search:B=>{J.value&&J.value.search(B)},clear:()=>{J.value&&J.value.clear},confirm:B=>{J.value&&J.value.confirm()},cancel:()=>{J.value&&J.value.cancel()},getData:()=>J.value.getData(),setDisabled:B=>{u.value=B},setReadonly:B=>{d.value=B}});const H=Qo();return()=>{if(z.value==="on"&&(h.value||f.value)){const ne=async U=>{const v=await H.load("actionsheet",s.source,1,s.pageSize,U,!0);return Array.isArray(v)?v:v.page??[]};return i({modelValue:$.value,unit:s.unit,span:s.span,labelPosition:s.labelPosition,labelWidth:s.labelWidth,source:ne,params:s.params},c.slots)}const B=f.value||h.value?"":g.placeholder.value,P={ref:Q,class:Y.value,style:O.value,type:"text",maxlength:s.maxLength,placeholder:B,readonly:!0,value:C.value,onClick:M,onFocus:K,onBlur:I},te={};c.slots.prepend&&(te.prepend=c.slots.prepend),c.slots.append&&(te.append=c.slots.append),c.slots.prefix&&(te.prefix=c.slots.prefix),c.slots.suffix?te.suffix=c.slots.suffix:ee.value?te.suffix=()=>[s.unit]:te.suffix=()=>(0,t.h)(V.ElIcon,{},{default:()=>(0,t.h)(He.ArrowDown)});const ie=[],Z=(0,t.h)(V.ElInput,P,te);ie.push(Z);const A={default:()=>ie};A.label=c.slots.default,A.prepend=c.slots.prepend,A.append=c.slots.append,A.fixedPreTip=c.slots.fixedPreTip,A.fixedTip=c.slots.fixedTip;const X=wt(s,ra);X.ref=J,X.class=s.actionSheetClass,X.disabled=f.value||h.value,X.visible=N.value,X["onUpdate:visible"]=L,X.modelValue=$.value,X["onUpdate:modelValue"]=x,X.text=m.value,X["onUpdate:text"]=q,X.onChange=j,X.onItemClick=_,X.onLoadedData=R,X.poppable=!0;const re=(0,t.h)(r,X,{title:c.slots.title,search:c.slots.search,subheader:c.slots.subheader,option:c.slots.option,optionLabel:c.slots.optionLabel,optionIcon:c.slots.optionIcon,buttons:c.slots.buttons});A.hide=()=>[re];const de={...Ie(s,Zo,ra),ref:a,class:E.value};return s.prop&&(de.prop=`${s.prop}_item`),l(de,A)}}}}var{componentName:T5,create:E5,scope:z5}=pe("actionsheet-item"),$5=E5(x5(T5,z5,We,Ze,sa)),En=$5,Jo={readonly:{type:[Boolean],default:()=>null},visibleItemCount:{type:[Number,String],default:7},textKey:{type:String,required:!1,default:"text"},valueKey:{type:String,required:!1,default:"value"},childrenKey:{type:String,required:!1,default:"children"},threeDimensional:{type:Boolean,default:!0},swipeDuration:{type:[Number,String],default:360}},zn={...nn,...Jo,modelValue:{type:[String,Number,Boolean,Object,Array],default:()=>""},text:{type:[Array],default:()=>[]},columnOptions:{type:[Object,Function]},source:{type:[Array,Function,String],default:()=>[]},sourceFilter:{type:[Function]},params:{type:Object},valueType:{type:String,required:!1,default:()=>"value"},title:{type:String},cancelText:{type:String},clearText:{type:String},confirmText:{type:String},isAutoBackFill:{type:[Boolean],default:()=>!0},poppable:{type:[Boolean],default:()=>!0}};function B5(e){return e===window}var $n=e=>{const n=(0,t.unref)(e);if(B5(n)){const l=n.innerWidth,i=n.innerHeight;return{top:0,left:0,right:l,bottom:i,width:l,height:i}}return n&&n.getBoundingClientRect?n.getBoundingClientRect():{top:0,left:0,right:0,bottom:0,width:0,height:0}},ei=10;function ti(e,n){return e>n&&e>ei?"horizontal":n>e&&n>ei?"vertical":""}function wl(){const e=window.navigator.userAgent;return"ontouchstart"in window||e.indexOf("touch")!==-1||e.indexOf("mobile")!==-1}function vl(){const e={startX:0,startY:0,startTime:0,duration:0,moveX:0,moveY:0,deltaX:0,deltaY:0,offsetX:0,offsetY:0,direction:""},n=()=>e.direction==="vertical",l=()=>e.direction==="horizontal",i=()=>{e.deltaX=0,e.deltaY=0,e.offsetX=0,e.offsetY=0,e.direction="",e.startTime=0};return{move:(s=>{if(s.touches){const c=s.touches[0];e.deltaX=c.clientX-e.startX,e.deltaY=c.clientY-e.startY,e.moveX=c.clientX,e.moveY=c.clientY}else{const c=s;e.deltaX=c.clientX-e.startX,e.deltaY=c.clientY-e.startY,e.moveX=c.clientX,e.moveY=c.clientY}e.offsetX=Math.abs(e.deltaX),e.offsetY=Math.abs(e.deltaY),e.duration=Date.now()-e.startTime,e.direction||(e.direction=ti(e.offsetX,e.offsetY))}),start:(s=>{if(i(),s.touches){const c=s.touches[0];e.startX=c.clientX,e.startY=c.clientY}else{const c=s;e.startX=c.clientX,e.startY=c.clientY}e.startTime=Date.now()}),reset:i,isVertical:n,isHorizontal:l,state:e}}function li(){const e=(0,t.ref)(0),n=(0,t.ref)(0),l=(0,t.ref)(0),i=(0,t.ref)(0),r=(0,t.ref)(0),o=(0,t.ref)(0),s=(0,t.ref)(0),c=(0,t.ref)(0),a=(0,t.ref)(0),u=(0,t.ref)(0),f=(0,t.ref)(""),d=()=>f.value==="vertical",h=()=>f.value==="horizontal",z=()=>{s.value=0,c.value=0,a.value=0,u.value=0,f.value="",l.value=0};return{move:(p=>{if(p.touches){const g=p.touches[0];s.value=g.clientX-e.value,c.value=g.clientY-n.value,r.value=g.clientX,o.value=g.clientY}else{const g=p;s.value=g.clientX-e.value,c.value=g.clientY-n.value,r.value=g.clientX,o.value=g.clientY}a.value=Math.abs(s.value),u.value=Math.abs(c.value),i.value=Date.now()-l.value,f.value||(f.value=ti(a.value,u.value))}),start:(p=>{if(z(),p.touches){const g=p.touches[0];e.value=g.clientX,n.value=g.clientY}else{const g=p;e.value=g.clientX,n.value=g.clientY}l.value=Date.now()}),reset:z,startX:e,startY:n,startTime:l,duration:i,moveX:r,moveY:o,deltaX:s,deltaY:c,offsetX:a,offsetY:u,direction:f,isVertical:d,isHorizontal:h}}var ai=36;function V5(){return ai}function D5(e){ai=e}function pt(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function Bn(e,n){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?n[e.childrenKey]:n.children??null}function M5(e,n,l){typeof e.childrenKey=="string"&&e.childrenKey.length>0&&(n[e.childrenKey]=l),n.children=l}function Pt(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function ni(e,n){return typeof e.itemOptions=="function"?e.columnOptions(n):e.columnOptions}var A5=class{scope;constructor(e){this.scope=e}async load(e,n,l){if(!n)return[];if(Array.isArray(n))return n;if(typeof n=="function")return await n(l);const i=tt(e,this.scope);return i===null?(console.error(`[FoxUI]${e} component not found api function`),[]):(et(l)&&(0,t.isReactive)(l)&&(l=(0,t.toRaw)(l)),await i(n,l))}};function P5(){const e=st();return new A5(e)}function ri(e,n,l){return!(pt(e,n)!==pt(e,l)||Pt(e,n)!==Pt(e,l))}function I5(e,n,l,i){if(l.length==0)return[];Array.isArray(n)||(n=[n]);const r=[],o=e.valueType??"value";if(i==="singleColumn"||i==="multipleColumn")for(let s=0;s<n.length&&s<l.length;s++){const c=n[s];let a=l[s].findIndex(u=>{if(o==="text")return pt(e,u)===c;if(o==="value"){let f=Pt(e,u);return f==null&&(f=pt(e,u)),f===c}else if(o==="item")return ri(e,u,c)});if(a==-1)break;r.push(a)}else{let s=l[0];for(let c=0;c<n.length;c++){const a=n[c];let u=s.findIndex(d=>{if(o==="text")return pt(e,d)===a;if(o==="value"){let h=Pt(e,d);return h==null&&(h=pt(e,d)),h===a}else if(o==="item")return ri(e,d,a)});if(u==-1)break;r.push(u);const f=Bn(e,s[u]);if(!Array.isArray(f))break;s=f}}return r}function oi(e,n,l,i){if(l.length==0)return null;const r={texts:[],values:[],items:[]},o=e.valueType??"value";if(i==="singleColumn"||i==="multipleColumn")for(let s=0;s<n.length&&s<l.length;s++){const c=l[s];let a=n[s];a<0&&a>=c.length&&(a=0);const u=c[a],f=pt(e,u);if(r.texts.push(f),r.items.push(u),o==="text")r.values.push(f);else if(o==="value"){let d=Pt(e,u);d==null&&(d=f),r.values.push(d)}else r.values.push(u)}else{let s=l[0];for(let c=0;c<n.length;c++){let a=n[c];a<0&&a>=s.length&&(a=0);const u=s[a],f=pt(e,u),d=Object.assign({},u);if(d.children=null,r.texts.push(f),r.items.push(d),o==="text")r.values.push(f);else if(o==="value"){let h=Pt(e,u);h==null&&(h=f),r.values.push(h)}else r.values.push(d);if(!Array.isArray(u.children))break;s=u.children}}return r}function ii(e){return{text:e,value:e}}var L5=15,R5=300,_5=200,{create:F5}=pe("picker-column");function O5(e){e.stopPropagation()}function q5(e,n){(typeof e.cancelable!="boolean"||e.cancelable)&&e.preventDefault(),n&&O5(e)}var H5={source:{type:Array,default:[]},columnIndex:{type:Number,required:!0,default:0},modelValue:{type:Number,required:!0,default:0},itemHeight:{type:Number,required:!0,default:35},visible:{type:Boolean,default:!1},...Jo},K5=F5({props:H5,emits:["click","change","update:modelValue"],setup(e,{emit:n}){const l=(0,t.computed)(()=>({"fox-picker__list":!0})),i=(0,t.computed)(()=>({height:`${Te(e.visibleItemCount)*+e.itemHeight}px`})),r=(0,t.computed)(()=>({"fox-picker__content":!0,"fox-picker__content-tile":!e.threeDimensional,"fox-picker__content-roller":e.threeDimensional})),o=(0,t.computed)(()=>e.itemHeight*Math.floor(+e.visibleItemCount/2)),s=E=>{const Y=E+1;return Y>=d.currIndex+8||Y<=d.currIndex-8},c=(0,t.computed)(()=>({transition:`transform ${d.scrollTime}ms cubic-bezier(0.17, 0.89, 0.45, 1)`,transform:`rotate3d(1, 0, 0, ${d.deg})`,top:`${o.value}px`})),a=E=>{const Y=E+1;return`transform: rotate3d(1, 0, 0, ${-d.rotation*Y}deg) translate3d(0px, 0px, 104px)`},u=(0,t.computed)(()=>({transition:`transform ${d.scrollTime}ms cubic-bezier(0.17, 0.89, 0.45, 1)`,transform:`translate3d(0, ${d.scrollDistance+o.value}px, 0)`})),f=(0,t.ref)(null),d=(0,t.reactive)({currIndex:e.modelValue,startDistance:0,scrollDistance:0,scrollTime:0,moving:!1,rotation:20,deg:0,transitionEndTrigger:null}),h=E=>pt(e,E),z=E=>Pt(e,E),T=li(),y=()=>{d.transitionEndTrigger&&(d.transitionEndTrigger(),d.transitionEndTrigger=null)},p=(E,Y=!1,D=!1)=>{if(d.currIndex=E,Y){const O=()=>{d.moving=!1,n("update:modelValue",E),n("change",E)};D?d.transitionEndTrigger=O:O()}},g=(E,Y,D)=>{let O=E+d.startDistance;if(Y==="end"){const N=-(e.source.length-1)*e.itemHeight;O<N&&(O=N),O>0&&(O=0);let M=Math.abs(Math.round(-O/e.itemHeight));const L=-M*e.itemHeight,x=`${(M+1)*d.rotation}deg`;p(M,!0,D?D>0:!1),S(L,Y,D,x)}else{let N=(-O/e.itemHeight+1)*d.rotation;const M=(e.source.length+1)*d.rotation,L=0;if(N=Math.min(Math.max(N,L),M),e.threeDimensional&&(N<L||N>M))return;S(O,null,void 0,`${N}deg`)}},S=(E=0,Y,D=_5,O)=>{Y==="end"?d.scrollTime=D:d.scrollTime=0,d.deg=O,d.scrollDistance=E},$=(E,Y)=>(E=Math.abs(E/Y)/.003*(E<0?-1:1),E),m=E=>{e.readonly||(d.startDistance=d.scrollDistance,T.start(E),d.transitionEndTrigger=null)},C=E=>{e.readonly||(d.moving=!0,T.move(E),T.isVertical()&&(d.moving=!0,q5(E,!0)),g(T.deltaY.value,"",0))},k=()=>{if(e.readonly)return;const E=T.deltaY.value,Y=T.duration.value;if(Y<R5&&Math.abs(E)>L5){const D=$(E,Y);g(D,"end",Te(e.swipeDuration))}else g(E,"end",0)};return(0,t.watch)(()=>e.modelValue,E=>{const Y=d.currIndex-E;if(Y!==0){d.currIndex=E,d.startDistance=d.scrollDistance;const D=Y*e.itemHeight;g(D,"",0)}}),(0,t.watch)(()=>e.source,E=>{if(d.currIndex>=E.length){const Y=(E.length-1-d.currIndex)*e.itemHeight;d.startDistance=d.scrollDistance,g(Y,"end",0)}}),(0,t.watch)(()=>e.visible,E=>{E===!1&&y()}),(0,t.onMounted)(()=>{const E=-e.modelValue*e.itemHeight;g(E)}),{classes:l,styles:i,contentClasses:r,itemText:h,itemValue:z,...(0,t.toRefs)(d),roller:f,getItemText:pt,onTouchStart:m,onTouchMove:C,onTouchEnd:k,isHidden:s,setRollerStyle:a,touchRollerStyle:c,touchTileStyle:u,stopMomentum:y}}}),j5={key:1,class:"fox-picker__item-tile"};function W5(e,n,l,i,r,o){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),style:(0,t.normalizeStyle)(e.styles),onTouchstart:n[0]||(n[0]=(...s)=>e.onTouchStart&&e.onTouchStart(...s)),onTouchmove:n[1]||(n[1]=(...s)=>e.onTouchMove&&e.onTouchMove(...s)),onTouchend:n[2]||(n[2]=(...s)=>e.onTouchEnd&&e.onTouchEnd(...s)),onTouchcancel:n[3]||(n[3]=(...s)=>e.onTouchEnd&&e.onTouchEnd(...s)),onTransitionend:n[4]||(n[4]=(...s)=>e.stopMomentum&&e.stopMomentum(...s))},[(0,t.createElementVNode)("view",{ref:"roller",class:(0,t.normalizeClass)(e.contentClasses),style:(0,t.normalizeStyle)(e.threeDimensional?e.touchRollerStyle:e.touchTileStyle)},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.source,(s,c)=>((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:`${e.columnIndex}_${c}`},[e.threeDimensional?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:(0,t.normalizeClass)(["fox-picker__item",{"fox-picker__item-hidden":e.isHidden(c)}]),style:(0,t.normalizeStyle)(e.setRollerStyle(c))},(0,t.toDisplayString)(e.itemText(s)),7)):((0,t.openBlock)(),(0,t.createElementBlock)("view",j5,(0,t.toDisplayString)(e.itemText(s)),1))],64))),128))],6)],38)}var Y5=Fe(K5,[["render",W5]]),U5=(0,t.defineComponent)({props:{position:{type:[String],default:()=>"bottom"},visible:{type:[Boolean]},teleport:{type:[String,Element],default:()=>"body"},lockScroll:{type:[Boolean],default:()=>!0},closeOnClickOverlay:{type:[Boolean],default:()=>!0},round:{type:[Boolean],default:()=>!1},teleportDisable:{type:[Boolean],default:()=>!1},poppable:{type:[Boolean],default:()=>!0},popClass:{type:[String],default:()=>"fox-picker__popup"}},setup(e,{slots:n,attrs:l}){return()=>{if(e.poppable){const i=Ie({...e},{poppable:!1});return Object.assign(i,l),(0,t.h)(vt,i,n)}else return n?.default?.()??null}}}),G5=U5,{create:X5,componentName:si,scope:Q5}=pe("picker"),Z5=X5({components:{Column:Y5,Wrapper:G5,Close:yl},props:zn,emits:["close","change","confirm","update:visible","update:text","update:modelValue","clear"],setup(e,{emit:n}){const{toLocaleRefs:l,t:i}=(0,Be.useFoxI18n)(Q5),r=l(e,["title","clearText","confirmText"]),o=(0,t.ref)(null),s=(0,t.ref)(V5());(0,t.watch)(()=>e.visible,R=>{R&&s.value<=0&&setTimeout(()=>{if(o.value){const K=$n(o.value);s.value=K.height,D5(s.value)}},50)});const c=(0,t.computed)(()=>({[si]:!0})),a=(0,t.computed)(()=>{const R=[];return Array.isArray(e.popClass)?R.push(...e.popClass):typeof e.popClass=="string"&&e.popClass.length>0&&R.push(e.popClass),R.push(`${si}__popup`),R.join(" ")}),u=P5(),f=(0,t.ref)("singleColumn");let d=(0,t.ref)([]);const h=(0,t.computed)(()=>{if(typeof e.sourceFilter=="function"){const R=[];for(let K=0;K<d.value.length;K++){const I=d.value[K];if(Array.isArray(I)){const q=I.filter(e.sourceFilter);R.push(q)}}return R}return d.value});(0,t.watch)([()=>e.source,()=>e.params],async([R,K])=>{if(R){let I=await u.load("select",R,K);if(I.length>0){let q=I[0];if(Array.isArray(q)){if(typeof q[0]=="string"){let ee=I,Q=[];ee.forEach(J=>{let H=J.map(B=>ii(B));Q.push(H)}),d.value=Q}else d.value=I;f.value="multipleColumn"}else if(typeof q=="string"){let ee=I,Q=[],J=ee.map(H=>ii(H));Q.push(J),d.value=Q,f.value="singleColumn"}else{const ee=Bn(e,q);Array.isArray(ee)?(f.value="cascade",d.value=[I]):(f.value="singleColumn",d.value=[I])}}else d.value=[]}},{immediate:!0});const z=(0,t.ref)([]),T=(0,t.ref)(e.modelValue&&!Array.isArray(e.modelValue)?[e.modelValue]:e.modelValue),y=(0,t.ref)([]);let p=null;const g=(0,t.ref)([]);(0,t.watch)([()=>e.modelValue,()=>h.value],([R,K])=>{let I=I5(e,R,K,f.value);if(!Qe(I,g.value)){g.value=I,p||(p=I?[...I]:[]);let q=oi(e,I,K,f.value);q&&(z.value=q.texts,Qe(T.value,q.values)||(T.value=q.values),Qe(y.value,q.items)||(y.value=q.items),n("update:text",z.value))}});let S="";const $=(0,t.ref)(e.visible);(0,t.watch)(()=>e.visible,R=>{$.value=R,R&&(S="active",g.value.length>0&&(p=[...g.value]))});const m=R=>{R?$.value=R:j()},C=R=>{let K=ni(e,R);return et(K)?K.defaultIndex??0:0},k=R=>{if(e.readonly===!0)return!0;let K=ni(e,R);return et(K)?K.readonly??!1:!1},E=(R,K)=>{let I=g.value;I[R]=K;for(let ee=0;ee<R;ee++)I[ee]==null&&(I[ee]=C(ee));if(f.value==="cascade")for(let ee=R+1;ee<D.value.length;ee++){let Q=C(ee);ee<I.length?I[ee]=Q:I.push(Q)}else for(let ee=I.length;ee<D.value.length;ee++){let Q=C(ee);I.push(Q)}g.value=I;let q=oi(e,I,h.value,f.value);q&&(z.value=q.texts,T.value=q.values,y.value=q.items)},Y=R=>R<g.value.length?g.value[R]:C(R),D=(0,t.computed)(()=>{if(h.value.length==0)return[];if(f.value=="singleColumn"||f.value=="multipleColumn")return h.value;let R=[],K=0,I=h.value[0],q=0;for(;;){let ee=I.map(H=>{let B=Object.assign({},H);return M5(e,B,null),B});R.push(ee),K>=g.value.length?q=0:q=g.value[K],(q<0||q>=I.length)&&(q=0);let Q=I[q];const J=Bn(e,Q);if(!Array.isArray(J))break;I=J,K++}return R}),O=(0,t.computed)(()=>Te(+e.visibleItemCount-1)/2*s.value),N=(R=!1)=>{if(e.readonly===!0){R&&n("update:visible",!1);return}let K=h.value.length-1;for(;K>=0&&!(g.value[K]===null||g.value[K]===void 0);K--);if(K>=0&&E(K,0),f.value==="singleColumn"){let I=T.value.length>0?T.value[0]:"",q=y.value.length>0?y.value[0]:null;n("update:modelValue",I),n("update:text",z.value),n("change",I,q),R&&(n("confirm",I),n("update:visible",!1))}else n("update:modelValue",T.value),n("update:text",z.value),n("change",T.value,y.value),R&&(n("confirm",T.value),n("update:visible",!1))},M=(R,K)=>{if(S!=="close"&&(E(R,K),e.isAutoBackFill)){const I=!$.value;N(I)}},L=()=>{S==="active"&&(S="confirm",p=Array.isArray(g.value)?[...g.value]:[],N(!0))},x=()=>{f.value==="singleColumn"?(n("update:modelValue",""),n("update:text",""),n("change","")):(n("update:modelValue",[]),n("update:text",""),n("change",[])),g.value=[],p=null},j=()=>{if(S==="active"){if(S="close",p===null||p.length===0)x();else{if(Array.isArray(p))for(let R=0;R<p.length;R++)E(R,p[R]);N(!1)}n("close"),n("update:visible",!1)}};return{...r,pickerLineRef:o,classes:c,popClasses:a,columns:D,dataType:f,isShow:$,onUpdateShow:m,itemHeight:s,top:O,isReadonly:k,getIndex:Y,change:M,close:j,confirm:L,clear:()=>{if(S==="active"){if(S="clear",e.readonly===!0){n("update:visible",!1);return}x(),p=null,n("clear",""),n("update:visible",!1)}}}}}),J5={key:0,class:"fox-picker__bar"},e6={class:"fox-picker__title"},t6={class:"fox-picker__bar__action"},l6={class:"fox-picker__column"};function a6(e,n,l,i,r,o){const s=(0,t.resolveComponent)("Close"),c=(0,t.resolveComponent)("Column"),a=(0,t.resolveComponent)("Wrapper");return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes)},[(0,t.createVNode)(a,{position:"bottom","pop-class":e.popClasses,visible:e.isShow,"onUpdate:visible":e.onUpdateShow,teleport:e.teleport,"lock-scroll":e.lockScroll,"close-on-click-overlay":e.closeOnClickOverlay,onClose:e.close,round:!0,"teleport-disable":e.teleportDisable,poppable:e.poppable},{default:(0,t.withCtx)(()=>[e.poppable?((0,t.openBlock)(),(0,t.createElementBlock)("view",J5,[(0,t.createElementVNode)("view",e6,(0,t.toDisplayString)(e.title),1),(0,t.createElementVNode)("view",t6,[(0,t.createElementVNode)("view",{class:"fox-picker__left fox-picker__cancel fox-picker__button",onClick:n[0]||(n[0]=(...u)=>e.close&&e.close(...u))},[(0,t.createVNode)(s)]),(0,t.createElementVNode)("view",{class:"fox-picker__right fox-picker__confirm fox-picker__button",onClick:n[1]||(n[1]=(...u)=>e.confirm&&e.confirm(...u))},(0,t.toDisplayString)(e.confirmText),1),e.clearText?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:"fox-picker__right fox-picker__clear fox-picker__button",onClick:n[2]||(n[2]=(...u)=>e.clear&&e.clear(...u))},(0,t.toDisplayString)(e.clearText),1)):(0,t.createCommentVNode)("",!0)])])):(0,t.createCommentVNode)("",!0),(0,t.renderSlot)(e.$slots,"top"),(0,t.createElementVNode)("view",l6,[(0,t.createElementVNode)("view",{class:"fox-picker__mask",style:(0,t.normalizeStyle)({backgroundSize:`100% ${e.top}px`})},null,4),(0,t.createElementVNode)("view",{ref:"pickerLineRef",class:"fox-picker__hairline",style:(0,t.normalizeStyle)({top:` ${e.top}px`})},null,4),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.columns,(u,f)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:f,class:"fox-picker__columnitem"},[(0,t.createVNode)(c,{visible:e.isShow,source:u,readonly:e.isReadonly(f),"column-index":f,modelValue:e.getIndex(f),"onUpdate:modelValue":d=>e.change(f,d),"visible-item-count":e.visibleItemCount,"three-dimensional":e.threeDimensional,"swipe-duration":e.swipeDuration,"item-height":e.itemHeight,"text-key":e.textKey,"value-key":e.valueKey},null,8,["visible","source","readonly","column-index","modelValue","onUpdate:modelValue","visible-item-count","three-dimensional","swipe-duration","item-height","text-key","value-key"])]))),128))]),(0,t.renderSlot)(e.$slots,"default")]),_:3},8,["pop-class","visible","onUpdate:visible","teleport","lock-scroll","close-on-click-overlay","onClose","teleport-disable","poppable"])],2)}var ca=Fe(Z5,[["render",a6]]),ci={...zn,placeholder:{type:String},textAlign:{type:String},maxLength:{type:[String,Number],required:!1},clearable:{type:Boolean,default:!0},unit:{type:[String],required:!1},text:{type:String}};function n6(e,n,l,i){return{props:{...Ae,...Re,...ci},emits:["change","update:modelValue","blur","focus","clear","update:text","setValue"],setup(r,o){const{itemTemplateRef:s,innerDisabled:c,disabled:a,innerReadonly:u,readonly:f,browse:d}=je(r),{emitEvent:h,exposeApi:z}=Le({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus","setValue"],get readonly(){return f.value},get disabled(){return a.value},get props(){return r},context:o,get templateRefProxy(){return s.value}},r.prop??o.attrs.name),{toLocaleRefs:T}=(0,Be.useFoxI18n)(n),y=T(r,["placeholder"]),p=(0,t.ref)(!1),g=e,S=(0,t.computed)(()=>({[g]:!0,readonly:f.value,disabled:a.value})),$=(0,t.computed)(()=>({[`${g}__content`]:!0})),m=_e((0,t.computed)(()=>r.textAlign),"textAlign"),C=(0,t.computed)(()=>({textAlign:m.value??"right"})),k=Ve(r,"modelValue",null,h),E=(0,t.ref)([]),Y=(0,t.computed)(()=>Array.isArray(E.value)?E.value.join(" "):E.value),D=(0,t.ref)(!1),O=()=>{a.value===!0||f.value===!0||(D.value=!0)},N=Q=>{D.value=Q},M=Q=>{k.value=Q,h("update:modelValue",Q)},L=Q=>{E.value=Q,Array.isArray(Q)&&Q.length===0?h("update:text",Q[0]):h("update:text",Q)},x=(Q,J)=>{h("change",Q,J)};let j=Ve(r,"hintText"),_=(0,t.ref)(!1);const R=Q=>{let J=Q.target.value;p.value=!0,ke(j.value)||(_.value=!0),h("focus",J,Q)},K=Q=>{setTimeout(()=>{_.value&&(_.value=!1),p.value=!1},0);let J=Q.target.value;r.maxLength&&J.length>Number(r.maxLength)&&(J=J.slice(0,Number(r.maxLength))),D.value?setTimeout(()=>{h("blur",J,Q)},50):h("blur",J,Q)},I=()=>{h("clear","")},q=(0,t.computed)(()=>St(r.unit)>0),ee=(0,t.ref)();return z({focus:()=>{ee?.value.focus()},blur:()=>{ee?.value.blur()},select:()=>{ee?.value.select()},setDisabled:Q=>{c.value=Q},setReadonly:Q=>{u.value=Q}}),()=>{if(d.value==="on"&&(f.value||a.value))return i({modelValue:Y.value,span:r.span,labelPosition:r.labelPosition,labelWidth:r.labelWidth},o.slots);const Q=a.value||f.value?"":y.placeholder.value,J={class:$.value,style:C.value,type:"text",maxlength:r.maxLength,placeholder:Q,clearable:Ce(r.clearable),readonly:!0,value:Y.value,onClick:O,onFocus:R,onBlur:K},H={};o.slots.prepend&&(H.prepend=o.slots.prepend),o.slots.append&&(H.append=o.slots.append),o.slots.prefix&&(H.prefix=o.slots.prefix),o.slots.suffix?H.suffix=o.slots.suffix:q.value?H.suffix=()=>[r.unit]:H.suffix=()=>(0,t.h)(V.ElIcon,{},{default:()=>(0,t.h)(He.ArrowDown)});const B=[],P=(0,t.h)(V.ElInput,J,H);B.push(P);const te={default:()=>B};te.label=o.slots.default,te.fixedPreTip=o.slots.fixedPreTip,te.fixedTip=o.slots.fixedTip;const ie=wt(r,zn);ie.disabled=!1,ie.readonly=a.value||f.value,ie.visible=D.value,ie["onUpdate:visible"]=N,ie.modelValue=k.value,ie["onUpdate:modelValue"]=M,ie.text=Array.isArray(E.value)?E.value:E.value?[E.value]:[],ie["onUpdate:text"]=L,ie.onClear=I,ie.onChange=x;const Z=(0,t.h)(ca,ie);te.hide=()=>[Z];const A={...Ie(r,ci),ref:s,class:S.value,hintText:j.value,hintVisible:_.value};return r.prop&&(A.prop=`${r.prop}_item`),l(A,te)}}}}var{componentName:r6,create:o6,scope:i6}=pe("picker-item"),s6=o6(n6(r6,i6,We,Ze)),Vn=s6,c6={...Ae,...Re,placeholder:{type:[String]},textAlign:{type:[String]},modelValue:{type:[String],required:!1},desc:{type:[String],required:!1},icon:{type:[Object],required:!1},iconSize:{type:[String],required:!1},unit:{type:[String],required:!1}};function u6(e,n,l,i){return{props:c6,emits:["click","focus","blur","change"],setup(r,o){const{itemTemplateRef:s,disabled:c,readonly:a}=je(r),{emitEvent:u,exposeApi:f}=Le({componentName:e,validateCheckEvents:["change"],validateResetEvents:["focus"],get readonly(){return a.value},get disabled(){return c.value},get props(){return r},context:o,get templateRefProxy(){return s.value}},r.prop??o.attrs.name),{toLocaleRefs:d}=(0,Be.useFoxI18n)(n),h=d(r,["placeholder"]),z=(0,t.ref)(r.modelValue);(0,t.watch)(()=>r.modelValue,_=>{z.value=_,u("change",_)});const T=e,y=(0,t.computed)(()=>({[`${T}`]:!0,disabled:c.value,readonly:a.value})),p=(0,t.computed)(()=>({[`${T}__content`]:!0})),g=(0,t.computed)(()=>({[`${T}__main`]:!0,[`${T}__placeholder`]:!c.value&&ke(z.value)})),S=_e((0,t.computed)(()=>r.textAlign),"textAlign"),$=(0,t.computed)(()=>{const _={};return S.value&&(_["text-align"]=S.value),_}),m=(0,t.computed)(()=>!ke(r.modelValue)||o.slots.main?!0:!!ke(r.desc)),C=(0,t.computed)(()=>ke(z.value)?c.value||a.value?"":h.placeholder.value:z.value),k=(0,t.computed)(()=>!ke(r.desc)||o.slots.sub),E=(0,t.computed)(()=>({[`${T}__sub`]:!0})),Y=(0,t.computed)(()=>{const _={};return S.value&&(_["text-align"]=S.value),_}),D=()=>{u("focus",z.value)},O=()=>{u("blur",z.value)},N=(0,t.computed)(()=>({[`${T}__append`]:!0})),M=(0,t.computed)(()=>St(r.unit)>0),L=_=>{c.value==!0||a.value==!0||u("click")},x=(0,t.computed)(()=>r.icon??l),j=(0,t.computed)(()=>({action:!0}));return f(),()=>{const _=[];if(typeof o.slots.content=="function"){const H=o.slots.content();_.push(H)}else{const H=[];if(m.value){const P={tabIndex:0,class:g.value,style:$.value,onFocus:D,onBlur:O};let te=null;o.slots.main?te=(0,t.h)("view",P,[o.slots.main(C.value)]):te=(0,t.h)("view",P,[C.value]),H.push(te)}if(k.value){const P={tabIndex:0,class:E.value,style:Y.value,onFocus:D,onBlur:O};let te=null;o.slots.sub?te=(0,t.h)("view",P,[o.slots.sub(r.desc)]):te=(0,t.h)("view",P,[r.desc]),H.push(te)}const B=(0,t.h)("view",{class:p.value,onClick:L},H);_.push(B)}const R=[],K=ve(r.iconSize);let I=o.slots.icon;if(!I){const H={width:K,height:K,class:["action-icon"]};I=(0,t.h)(x.value,H)}const q=(0,t.h)("view",{class:j.value,onClick:L},{default:()=>[I]});if(R.push(q),M.value){const H=(0,t.h)("view",{},[r.unit]);R.push(H)}const ee=(0,t.h)("view",{class:N.value},{default:()=>R});_.push(ee);const Q={default:()=>_};Q.label=o.slots.default,Q.prepend=o.slots.prepend,Q.append=o.slots.append,Q.fixedPreTip=o.slots.fixedPreTip,Q.fixedTip=o.slots.fixedTip;const J={...wt(r,Re,Ae),ref:s,class:y.value};return r.prop&&(J.prop=`${r.prop}_item`),i(J,Q)}}}}var{componentName:d6,create:f6,scope:m6}=pe("link-item"),h6=f6(u6(d6,m6,He.ArrowRight,We)),Dn=h6,Mn={prop:{type:[String]},modelValue:{type:[String,Number],default:0},data:{type:[Array]},textKey:{type:String,default:"text"},valueKey:{type:String,default:"value"},visibleKey:{type:String,default:"visibile"},disabledKey:{type:String,default:"disabled"},doitKey:{type:String,default:"doit"},numKey:{type:String,default:"num"},direction:{type:String,default:"horizontal"},size:{type:String,default:"normal"},shape:{type:String},align:{type:String},markShape:{type:String,default:"line"},scroll:{type:Boolean,default:!1},showScrollArrow:{type:Boolean,default:!1},ellipsis:{type:Boolean,default:!0},animatedTime:{type:[Number,String],default:300},gutter:{type:[Number,String],default:0},itemOptions:{type:[Object,Function]},showQuickNavigation:{type:Boolean,default:!1},beforeChange:{type:Function}},ui=(e,n)=>n[e.textKey],Cl=(e,n)=>n[e.valueKey],p6=(e,n)=>n[e.visibleKey],di=(e,n)=>n[e.disabledKey],g6=(e,n)=>{const l=n[e.doitKey];return Ce(l)},y6=(e,n)=>{const l=n[e.numKey];return l==null?null:Te(n[l])},fi=(e,n,l)=>{const i=e.itemOptions;return typeof i=="function"?i(n,l):i||null};function b6(e,n,l,i,r,o=!1){return{props:Mn,emits:["update:modelValue","change","click"],setup(s,c){const{emitEvent:a,exposeApi:u}=Dt({context:c},s.prop),{slots:f}=c,d=(0,t.computed)(()=>{const v={};return v[`${e}`]=!0,v}),h=(0,t.computed)(()=>{const v={};return v[`${e}__titles`]=!0,v[`${s.direction}`]=!0,s.align&&(v[`${s.align}`]=!0),s.scroll===!0&&(v.scrollable=!0),s.shape&&(v[`${s.shape}`]=!0),s.showScrollArrow?(ie.value===!0&&(v["has-left-scroll-arrow "]=!0),Z.value===!0&&(v["has-right-scroll-arrow "]=!0)):s.showQuickNavigation&&(v["has-navigation"]=!0),v}),z=(0,t.computed)(()=>({})),T=(0,t.computed)(()=>{if(!s.gutter)return 0;const v=ve(s.gutter);return v<=0?0:v}),y=(0,t.ref)(s.modelValue);(0,t.watch)(()=>s.modelValue,v=>{y.value!==v&&(y.value=v,ee(!1))});const p=(0,t.ref)({"fox-tabs-bar__popup":!0,"fox-tabs-bar__popup--show":!1,"fox-tabs-bar__popup--hide":!1}),g=(0,t.computed)(()=>{const v={};return $.value||(v.display="none"),v}),S=(0,t.ref)(),$=(0,t.ref)(!1),m=()=>{const v=!$.value;C(v)},C=v=>{const w=v;w?($.value=w,setTimeout(()=>{p.value["fox-tabs-bar__popup--show"]=!0,p.value["fox-tabs-bar__popup--hide"]=!1},0)):(p.value["fox-tabs-bar__popup--show"]=!1,p.value["fox-tabs-bar__popup--hide"]=!0,S.value?S.value.addEventListener("transitionend",()=>{$.value=!1},{once:!0}):setTimeout(()=>{$.value=!1},0))},k=(0,t.ref)(),E=(0,t.ref)([]),Y=(v,w)=>{E.value[w]=v},D=v=>w=>{Y(w,v)},O=(v,w)=>{const G=k.value,le=E.value;if(!G||!le||!le[v])return;const W=le[v];let F=0;s.direction==="vertical"?F=W.offsetTop-(G.offsetHeight-W.offsetHeight)/2:F=W.offsetLeft-(G.offsetWidth-W.offsetWidth)/2,N(G,F,w?0:.3,s.direction)},N=(v,w,G,le)=>{let W=0;const F=le==="horizontal"?v.scrollLeft:v.scrollTop,ae=G===0?1:Math.round(G*1e3/16);function oe(){le==="horizontal"?v.scrollLeft+=(w-F)/ae:v.scrollTop+=(w-F)/ae,++W<ae&&za(oe)}oe()},M=(v,w)=>{const G=Cl(s,v),le={};return le[`${e}__titles-item`]=!0,le.disabled=di(s,v),le.active=G===y.value,s.shape&&(le[`${s.shape}`]=!0),s.ellipsis&&(le.ellipsis=!0),w&&(w.class&&(le[`${w.class}`]=!0),w.disabled===!0&&(le.disabled=w.disabled)),le},L=(v,w)=>{const G={};if(T.value>0){const le=Math.abs(T.value/2);s.direction==="vertical"?(G["margin-top"]=`${le}px`,G["margin-bottom"]=`${le}px`):(G["margin-left"]=`${le}px`,G["margin-right"]=`${le}px`)}return w&&w.style&&Object.assign(G,w.style),G},x=(v,w)=>`${Cl(s,v)??w}`,j=(v,w)=>{const G=Cl(s,v),le={};le[`${e}__popup-item`]=!0,le.disabled=di(s,v),le.active=G===y.value,s.shape&&(le[`${s.shape}`]=!0);const W=fi(s,v,w);return W&&W.disabled===!0&&(le.disabled=W.disabled),le},_=(0,t.computed)(()=>(s.data??[]).filter(v=>p6(s,v)!==!1)),R=(v,w)=>{const G=Cl(s,v);if(a("click",v,w),y.value==G)return;const le=()=>{y.value=G,s.scroll&&O(w,!1),a("update:modelValue",G),a("change",v,w)};if(typeof s.beforeChange=="function"){const W=s.beforeChange(v,w);Bl(W)?W.then(F=>{F!==!1&&le()}).catch(()=>{le()}):W!==!1&&le()}else le()},K=(v,w)=>function(){R(v,w)},I=(v,w)=>{R(v,w),C(!1)},q=(v,w)=>function(){I(v,w)},ee=v=>{if(!Array.isArray(s.data)||!s.scroll)return;te()&&de();const w=s.data.findIndex(G=>Cl(s,G)===y.value);w!==-1&&O(w,v)},Q=()=>{te()||ne()};(0,t.watch)(()=>s.data,()=>{setTimeout(ee,0)}),(0,t.onMounted)(()=>{ee(!0)}),(0,t.onBeforeUnmount)(()=>{Q()}),u({});const J=(v,w)=>{if(f.item)return f.item({item:v,index:w});const G=fi(s,v,w),le=[];if(f.text){const F=f.text({item:v,index:w});le.push(F)}else{const F=[];if(G?.doit===!0||g6(s,v)){const ue=(0,t.h)("view",{class:[`${e}__titles-item-tip`,"doit"]});F.push(ue)}const ae=G?.num??y6(s,v);if(ae){let ue="";const he=Te(ae);he>=100?ue="99+":ue=`${he}`;const ze=(0,t.h)("view",{class:[`${e}__titles-item-tip`,"num"]},[ue]);F.push(ze)}const oe={class:`${e}__titles-item-text`};F.push(ui(s,v));const se=(0,t.h)("view",oe,F);le.push(se)}const W=(0,t.h)("view",{class:`${e}__titles-item-line`});return le.push(W),(0,t.h)("view",{ref:D(w),class:M(v,G),style:L(v,G),key:x(v,w),onClick:K(v,w)},le)},H=()=>{const v=f.default?f.default():[];if(v.length===0)for(let w=0;w<_.value.length;w++){const G=_.value[w],le=J(G,w);v.push(le)}return(0,t.h)("view",{ref:k,class:h.value,style:z.value},v)},B=()=>{let v=null;return f.navigation?v=f.navigation():v=(0,t.h)(l),(0,t.h)("view",{class:`${e}__navigation`,onClick:m},[v])},P=()=>{const v=[];for(let w=0;w<_.value.length;w++){const G=_.value[w];let le=null;f.popupItem?le=f.popupItem({item:G,index:w}):le=ui(s,G);const W=(0,t.h)("view",{class:j(G,w),key:x(G,w),onClick:q(G,w)},[le]);v.push(W)}return(0,t.h)("view",{class:p.value,style:g.value},v)},te=()=>s.showScrollArrow&&s.direction=="horizontal",ie=(0,t.ref)(!1),Z=(0,t.ref)(!1),A=v=>{const w=k.value,G=E.value;if(!(!w||!G))if(v==="left"){const le=w.scrollLeft;let W=le;for(let F=0;F<G.length;F++){const ae=G[F].offsetLeft;if(le-ae<0)break;W=ae}N(w,W,.3,"horizontal")}else{const le=w.scrollLeft;let W=le,F=w.offsetWidth;for(let ae=G.length-1;ae>=0;ae--){const oe=G[ae].offsetLeft+G[ae].offsetWidth;if(oe-le<w.offsetWidth){W+=F-oe;break}F=oe}N(w,W,.3,"horizontal")}},X=rt(()=>{const v=k.value;if(!v)return;let w=v.scrollLeft>0;w!==ie.value&&(ie.value=w);let G=v.scrollWidth-v.scrollLeft>v.offsetWidth;G!==Z.value&&(Z.value=G)},50),re=v=>{X()},de=()=>{const v=k.value;v&&(X(),v.addEventListener("scroll",re))},ne=()=>{const v=k.value;v&&v.removeEventListener("scroll",re)},U=v=>{if(v==="left"&&ie.value!==!0||v==="right"&&Z.value!==!0)return null;let w=null;return v==="left"?f.leftArrow?w=f.leftArrow():w=(0,t.h)(i):f.rightArrow?w=f.rightArrow():w=(0,t.h)(r),(0,t.h)("view",{class:[`${e}__scroll-arrow`,v],onClick:()=>{A(v)}},[w])};return()=>{const v=[],w=H();if(v.push(w),te()){const G=U("left");G&&v.push(G);const le=U("right");le&&v.push(le)}else if(s.showQuickNavigation){const G=B();v.push(G);const le=P();v.push(le)}return(0,t.h)("view",{class:d.value},v)}}}}var{create:S6,componentName:w6,scope:v6}=pe("tabs-bar"),C6=S6(b6(w6,v6,_u,r2,tu,!1)),Nl=C6,mi=Symbol("TabsStatesKey"),An={prop:{type:[String]},modelValue:{type:[String,Number]},direction:{type:[String],default:()=>"horizontal"},lazy:{type:[Boolean],default:()=>!0},draggle:{type:[Boolean],default:()=>!1},transition:{type:[Boolean],default:()=>!0},height:{type:[String,Number]},width:{type:[String,Number]}},N6=15,k6=300,x6=200;function T6(e,n,l=1){return e=Math.abs(e/n)/.003*(e<0?-1:1),e*l}function hi(e,n=0,l,i,r=x6){l==="end"?e.style.transition=`transform ${r}ms linear`:e.style.transition="transform 0ms linear",i==="horizontal"?e.style.transform=`translate3d(${n}px, 0, 0)`:e.style.transform=`translate3d(0, ${n}px, 0)`}var E6=class{el=null;direction="horizontal";transitionEndTrigger=null;moving=!1;isTouch=!1;triggerAutoMoveRatio=.3;momentumReduceRatio=1;transitionend=null;touchstart=null;touchmove=null;touchend=null;touchcancel=null;onStart;onMove;onEnd;constructor(e,n,l,i=1){this.onStart=e,this.onMove=n,this.onEnd=l,this.momentumReduceRatio=i,this.isTouch=wl()}open(e){this.el=e;const n=vl(),l=(i,r,o)=>{const s={delta:i,direction:r,type:o};this.onMove(s)};this.transitionend=()=>{this.transitionEndTrigger&&(this.transitionEndTrigger(),this.transitionEndTrigger=null)},this.touchstart=i=>{if(this.moving)return;n.start(i),this.transitionEndTrigger=()=>{e.removeEventListener("transitionend",this.transitionend),this.moving=!1,this.onEnd()},this.moving=!0,e.removeEventListener("transitionend",this.transitionend),e.addEventListener("transitionend",this.transitionend),e.addEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),e.addEventListener(this.isTouch?"touchend":"mouseup",this.touchend),this.isTouch&&e.addEventListener("touchcancel",this.touchend);const r={delta:0,type:"start",direction:this.direction};this.onStart(r)},this.touchmove=i=>{if(!this.moving)return;n.move(i);let r=0;if(this.direction==="horizontal"){if(n.isVertical())return;r=n.state.deltaX}else{if(n.isHorizontal())return;r=n.state.deltaY}l(r,this.direction,"move")},this.touchend=()=>{if(!this.moving)return;e.removeEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),e.removeEventListener(this.isTouch?"touchend":"mouseup",this.touchend),this.isTouch&&e.removeEventListener("touchcancel",this.touchend);let i=0;if(this.direction==="horizontal"){if(n.isVertical()){this.moving=!1;return}i=n.state.deltaX}else{if(n.isHorizontal()){this.moving=!1;return}i=n.state.deltaY}const r=n.state.duration;r<k6&&Math.abs(i)>N6?(i=T6(i,r,this.momentumReduceRatio),l(i,this.direction,"end")):l(i,this.direction,"end")},e.addEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart)}close(){const e=this.el;this.transitionend&&e.removeEventListener("transitionend",this.transitionend),this.touchstart&&e.removeEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart),this.touchmove&&e.removeEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),this.touchend&&e.removeEventListener(this.isTouch?"touchend":"mouseup",this.touchend),this.touchcancel&&this.isTouch&&e.removeEventListener("touchcancel",this.touchcancel),this.el=null}};function z6(e,n,l,i=1){return new E6(e,n,l,i)}function $6(e,n,l=!1){return{props:An,emits:["update:modelValue","change"],setup(i,r){const{emitEvent:o,exposeApi:s}=Dt({context:r},i.prop),{slots:c}=r,a=(0,t.shallowRef)([]),u={current:(0,t.ref)(i.modelValue??""),direction:(0,t.ref)(i.direction),transition:i.transition,tabWidth:(0,t.ref)(-1),tabHeight:(0,t.ref)(-1),add:D=>{const O={name:D};u.current.value===D&&(O.loaded=!0),a.value.push(O),(0,t.triggerRef)(a)},remove:D=>{const O=a.value.findIndex(N=>N.name===D);O!==-1&&a.value.splice(O,1)},isLoaded:D=>{if(!i.lazy)return!0;const O=a.value.findIndex(N=>N.name===D);return O!==-1?u.current.value?a.value[O].loaded??!1:O===0:!1}};(0,t.provide)(mi,u);const f=D=>{const O=a.value.findIndex(N=>N.name===D);O!==-1&&(a.value[O].loaded=!0,(0,t.triggerRef)(a))};(0,t.watch)([()=>i.modelValue,()=>i.direction],([D,O])=>{u.current.value!==D&&(u.current.value=D??"",f(D??"")),u.direction.value!==O&&(u.direction.value=O)});const d=(0,t.ref)(null),h=(0,t.ref)(null),z=(0,t.computed)(()=>({[e]:!0,[`${i.direction}`]:!0})),T=(0,t.computed)(()=>{const D={};if(i.width){const O=Ne(i.width);O&&(D.width=O)}if(i.height){const O=Ne(i.height);O&&(D.height=O)}return D});let y=!0;const p=(0,t.computed)(()=>{const D={};if(i.transition===!1)return D;const O=a.value.length;if(O<=0)return D;const N=a.value.findIndex(M=>M.name===u.current.value);return u.direction.value==="vertical"?u.tabHeight.value>0&&(D.height=`${O*u.tabHeight.value}px`,N!==-1&&(D.transform=`translate(0, -${N*u.tabHeight.value}px)`)):u.tabWidth.value>0&&(D.width=`${O*u.tabWidth.value}px`,N!==-1&&(D.transform=`translate(-${N*u.tabWidth.value}px, 0)`)),y&&(y=!1,D.transition="transform 0s ease"),D}),g={min:0,max:0,start:0,moved:0,itemDistance:0,triggerAutoMoveRatio:.3},S=D=>{const O=a.value.length,N=a.value.findIndex(M=>M.name===u.current.value);g.moved=0,D.direction==="vertical"?(g.min=-1*(u.tabHeight.value*(O-1)+u.tabHeight.value/4),g.max=u.tabHeight.value/4,g.start=-N*u.tabHeight.value,g.itemDistance=u.tabHeight.value):(g.min=-1*(u.tabWidth.value*(O-1)+u.tabWidth.value/4),g.max=u.tabWidth.value/4,g.start=-N*u.tabWidth.value,g.itemDistance=u.tabWidth.value)},$=D=>{const O=h.value;if(!O)return;let N=g.start+D.delta;if(N>g.max?N=g.max:N<g.min&&(N=g.min),D.type==="move")hi(O,N,"move",D.direction,300);else if(D.type==="end"){let M=Math.floor(Math.abs(N)*1/g.itemDistance);const L=Math.abs(N)%g.itemDistance;g.start>N?L>=g.itemDistance*g.triggerAutoMoveRatio&&(M+=1):L>g.itemDistance-g.itemDistance*g.triggerAutoMoveRatio&&(M+=1),N=-1*M*g.itemDistance,hi(O,N,"end",D.direction,300),g.moved=N;const x=a.value[M].name;u.current.value=x??"",f(x??""),o("update:modelValue",x)}},m=()=>{},C=()=>{if(!d.value)return;const D=Ka(d.value);u.tabWidth.value=D.width,u.tabHeight.value=D.height},k=Vr(C,250);let E=null,Y=null;return(0,t.onMounted)(()=>{i.transition!==!1&&d.value&&(C(),window.ResizeObserver&&(Y=new window.ResizeObserver(k),Y.observe(d.value)),i.draggle&&(E=z6(S,$,m),E.open(h.value)))}),(0,t.onBeforeUnmount)(()=>{Y&&(Y.disconnect(),Y=null),E&&E.close()}),s({doLayout(){C()}}),()=>{const D=(0,t.h)("view",{class:`${e}__panes`,style:p.value,ref:h},[c?.default?.()]);return(0,t.h)("view",{class:z.value,style:T.value,ref:d},[D])}}}}var{create:B6,componentName:V6,scope:D6}=pe("tabs-container"),M6=B6($6(V6,D6,!1)),kl=M6,A6={paneKey:{type:[String,Number],required:!0},loaded:{type:[Boolean,String],default:null},emptyIcon:{type:[Object],required:!1},emptyText:{type:[String],required:!1},label:{type:[String],required:!1}};function P6(e,n,l){return{props:A6,setup(i,{emit:r,slots:o}){const s=(0,t.inject)(mi);(0,t.onMounted)(()=>{s.add(i.paneKey)}),(0,t.onBeforeUnmount)(()=>{s.remove(i.paneKey)});const c=(0,t.computed)(()=>{const f=[e];return s.direction.value==="vertical"?f.push("is-vertical"):f.push("is-horizontal"),s.transition===!1?f.push("is-no-transition"):f.push("is-transition"),f}),a=(0,t.computed)(()=>{const f={};return s.transition===!1?(s.current.value!==i.paneKey&&(f.display="none"),f):(s.direction.value==="vertical"&&s.tabHeight.value>0?f.height=`${s.tabHeight.value}px`:s.tabWidth.value>0&&(f.width=`${s.tabWidth.value}px`),f)}),u=(0,t.computed)(()=>i.loaded!=null?Ce(i.loaded):s.isLoaded(i.paneKey));return()=>{let f=[];if(u.value)f=o?.default?.()??[];else if(o.empty)f=o.empty();else{const d={class:`${e}__empty-icon`},h=(0,t.h)(i.emptyIcon??l,d),z=(0,t.h)("view",{class:`${e}__empty-text`},[i.emptyText??"Loading"]),T=(0,t.h)("view",{class:`${e}__empty`},[h,z]);f.push(T)}return(0,t.h)("view",{class:c.value,style:a.value,prop:i.paneKey},f)}}}}var{create:I6,componentName:L6,scope:R6}=pe("tabs-pane"),_6=I6(P6(L6,R6,gl)),ua=_6,F6={...Mn,...An,modelValue:{type:[String,Number],default:0},direction:{type:[String]},height:{type:[String,Number]},width:{type:[String]}};function O6(e,n,l,i){return{props:F6,emits:["update:modelValue","change"],setup(r,o){const{emitEvent:s,exposeApi:c}=Dt({context:o},r.prop),{slots:a}=o,u=e,f=(0,t.computed)(()=>{const g=[`${u}`];return r.direction==="vertical"?g.push("vertical-tabbar"):g.push("horizontal-tabbar"),g}),d=(0,t.computed)(()=>{const g={};if(r.width){const S=Ne(r.width);S&&(g.width=S)}if(r.height){const S=Ne(r.height);S&&(g.height=S)}return g}),h=(0,t.computed)(()=>[`${u}__bar`]),z=(0,t.computed)(()=>[`${u}__container`]),T=(0,t.ref)(r.modelValue);(0,t.watch)(()=>r.modelValue,g=>{T.value!==g&&(T.value=g)});const y=g=>{s("change",g)},p=g=>{T.value!==g&&(T.value=g,s("update:modelValue",g))};return c({}),()=>{const{getChildren:g}=ul(a.default),S=g(),$=[];if(Array.isArray(r.data))$.push(...r.data);else for(let O=0;O<S.length;O++){const N=S[O].props??{},M={text:N.label??"",value:N["pane-key"]??N.paneKey??""};$.push(M)}const m={};for(let O in a)O!=="default"&&(m[O]=a[O]);const C=wt(r,Mn);Object.assign(C,{prop:null,data:$,class:h.value,modelValue:T.value,direction:r.direction,onChange:y,"onUpdate:modelValue":p});const k=(0,t.h)(l,C,m),E={default:()=>S},Y=wt(r,An);Object.assign(Y,{prop:null,class:z.value,modelValue:T.value,onChange:y,"onUpdate:modelValue":p});const D=(0,t.h)(i,Y,E);return(0,t.h)("view",{class:f.value,style:d.value},[k,D])}}}}var{create:q6,componentName:H6,scope:K6}=pe("tabs-frame"),j6=q6(O6(H6,K6,Nl,kl)),Pn=j6,W6={prop:{type:[String]},direction:{type:[String],default:"horizontal"},mode:{type:[String]},align:{type:[String]},modelValue:{type:[Number,Boolean,String]},disabled:{type:[Boolean,String],required:!1},data:{type:[Array,Function,String],required:!1},params:{type:[Object],required:!1},textKey:{type:String,required:!1,default:"text"},valueKey:{type:String,required:!1,default:"value"},disabledKey:{type:String,required:!1,default:"disabled"},visibleKey:{type:String,required:!1,default:"visible"},statusKey:{type:String,required:!1,default:"status"},doitKey:{type:String,required:!1,default:"doit"},labelKey:{type:String,required:!1,default:"label"},itemOptions:{type:[Object,Function],required:!1},step:{type:[String,Number]},clickNavigatePolicy:{type:[String]},icon:{type:[Object]},iconSize:{type:[String,Number]},markIcon:{type:[Object]},markIconSize:{type:[String,Number]},layout:{type:[Array],default:()=>["head","main","sub"]},scroll:{type:[Boolean]}};function Y6(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function pi(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function gi(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}function U6(e,n){return typeof e.visibleKey=="string"&&e.visibleKey.length>0?n[e.visibleKey]:n.visible??null}function In(e,n){return typeof e.statusKey=="string"&&e.statusKey.length>0?n[e.statusKey]:n.statusKey??null}function yi(e,n){return typeof e.doitKey=="string"&&e.doitKey.length>0?n[e.doitKey]:n.doitKey??null}function bi(e,n){return typeof e.labelKey=="string"&&e.labelKey.length>0?n[e.labelKey]:n.labelKey??null}function Ln(e,n,l){return typeof e.itemOptions=="function"?e.itemOptions(n,l):e.itemOptions}var G6=class{scope;constructor(e){this.scope=e}async load(e,n,l){if(Array.isArray(n))return n;if(typeof n=="function")return await Reflect.apply(n,null,[l]);const i=tt(e,this.scope);return i===null?(console.error(`[FoxUI]${e} component not found api function`),[]):(et(l)&&(0,t.isReactive)(l)&&(l=(0,t.toRaw)(l)),await Reflect.apply(i,null,[n,l]))}};function X6(){const e=st();return new G6(e)}function Q6(e,n,l,i){return{props:W6,emits:["update:modelValue","change","loaded-data","click"],setup(r,o){const{emitEvent:s,exposeApi:c}=Dt({context:o},r.prop),a=e,u=X6(),f=(0,t.ref)([]),d=(0,t.computed)(()=>f.value.filter(H=>U6(r,H)!==!1)),h=(0,t.ref)(-1),z=()=>{const H=r.modelValue,B=d.value.findIndex(P=>pi(r,P)===H);h.value!==B&&(h.value=B,r.scroll&&Q(B,!1))};(0,t.watch)([()=>r.modelValue,d],()=>{z()});const T=H=>h.value===H,y=H=>{if(H<0&&H>=d.value.length)return!1;const B=d.value[H],P=(Ln(r,B,H)??{}).status??In(r,B);return T(H)||P},p=(0,t.computed)(()=>{const H={[a]:!0};return r.mode?H[`is-${r.mode}`]=!0:r.direction&&(H[`is-${r.direction}`]=!0),r.scroll&&(H["is-scroll"]=!0),H}),g=(0,t.computed)(()=>({})),S=(H,B,P,te,ie)=>{const Z={[`${a}__step`]:!0};return ie&&(Z[`${ie}`]=!0),Z[`${$.value}`]=!0,te&&(Z["is-doit"]=!0),H===h.value?Z["is-active"]=!0:B==="done"?Z["is-done"]=!0:B==="error"?Z["is-error"]=!0:B==="half"?Z["is-half"]=!0:P?Z["is-disabled"]=!0:Z["is-normal"]=!0,Z},$=(0,t.computed)(()=>{let H=r.align;if(!H){if(r.mode==="simple")return"start";r.direction==="vertical"?H="start":H="center"}return H}),m=(H,B={})=>{const P={...B};if($.value==="start"&&H===d.value.length-1)P.flex="0 0 auto";else if(r.step){const te=typeof r.step=="number"||Aa(r.step)?Ne(r.step):r.step;r.direction==="vertical"?P.height=te:P.width=te}else P.flex="1 1 100%";return P},C=(H,B)=>{let P={};if(B<d.value.length-1){const te=B+1;y(B)&&y(te)?r.direction==="vertical"?P.height="100%":P.width="100%":P.opacity="0"}return P},k=H=>d.value.length-1===H,E=(H,B)=>{if(r.clickNavigatePolicy==="disabled"||(r.clickNavigatePolicy==="only-back"||r.clickNavigatePolicy==="only-back-reset")&&B>h.value||h.value===B)return;const P=h.value,te=B;h.value=B,r.scroll&&Q(B,!1);const ie=pi(r,H);s("update:modelValue",ie);const Z={fromIndex:P,currentIndex:te,item:H,items:d.value,clickNavigatePolicy:r.clickNavigatePolicy};s("change",ie,Z)},Y=(0,t.ref)(!0),D=async(H,B)=>{try{const P=await u.load("stesbar",H,B);Array.isArray(P)&&(f.value=P),Y.value=!1}catch(P){console.error("[FoxUI] Load StepsBar Data Fail",P),f.value=[]}setTimeout(()=>{s("loaded-data")},250)};(0,t.watch)([()=>r.data,()=>r.params],async([H,B])=>{H&&D(H,B)},{immediate:!0}),c({});const O=(H,B,P,te,ie,Z)=>{const A=[];let X=null;if(!Z)if(o.slots.icon)X=o.slots.icon({item:H,index:B,status:te});else if(te==="done"){const re={};r.iconSize&&(re.width=r.iconSize,re.height=r.iconSize),X=(0,t.h)(r.icon??l,re)}else X=(0,t.h)("span",{},[P??`${B+1}`]);return X&&A.push(X),(0,t.h)("view",{class:"fox-steps-bar__icon",onClick:()=>{s("click",{item:H,index:B}),!ie&&E(H,B)}},A)},N=(H,B,P)=>(0,t.h)("view",{class:"fox-steps-bar__line"},[(0,t.h)("i",{class:"fox-steps-bar__line-inner",style:C(H,B)})]),M=()=>{let H=null;if(o.slots.markIcon)H=o.slots.markIcon();else{const B={};r.iconSize&&(B.width=r.markIconSize,B.height=r.markIconSize),H=(0,t.h)(r.markIcon??i,B)}return(0,t.h)("view",{class:"fox-steps-bar__mark"},[H])},L=(H,B,P,te,ie,Z)=>{const A=[];if(!k(B)){const re=N(H,B,te);A.push(re)}const X=O(H,B,P,te,ie,Z);return A.push(X),(0,t.h)("view",{class:"fox-steps-bar__head"},A)},x=(H,B,P,te)=>{let ie=null;return o.slots.main?ie=o.slots.main({item:H,index:B,status:P}):ie=Y6(r,H),(0,t.h)("view",{class:"fox-steps-bar__main",onClick:()=>{s("click",{item:H,index:B}),!te&&E(H,B)}},[ie])},j=(H,B,P)=>{let te=null;return o.slots.sub?(te=o.slots.sub({item:H,index:B,status:P}),(0,t.h)("view",{class:"fox-steps-bar__sub"},[te])):null},_=(H,B)=>{const P=Ln(r,H,B)??{},te=P.status??In(r,H);let ie=gi(r,H);P.disabled===!0&&(ie=!0),r.disabled===!0&&(ie=!0);let Z=yi(r,H);P.doit===!0&&(Z=!0);const A=P.label??bi(r,H),X=[],re=O(H,B,A,te,ie,Z);re&&X.push(re);const de=x(H,B,te,ie);if(de&&X.push(de),!k(B)){const le=N(H,B,te);le&&X.push(le)}const ne=[],U=(0,t.h)("view",{class:"fox-steps-bar__head"},X);ne.push(U);const v=j(H,B,te);v&&ne.push(v);const w=P.class,G=P.style??{};return(0,t.h)("view",{ref:ee(B),class:S(B,te,ie,Z,w),style:m(B,G)},ne)},R=(H,B)=>{const P=Ln(r,H,B)??{},te=P.status??In(r,H);let ie=gi(r,H);P.disabled===!0&&(ie=!0),r.disabled===!0&&(ie=!0);let Z=yi(r,H);P.doit===!0&&(Z=!0);const A=P.label??bi(r,H),X=[],re=r.layout;for(let U of re)if(U==="head"){const v=L(H,B,A,te,ie,Z);X.push(v)}else if(U==="main"){const v=x(H,B,te,ie);X.push(v)}else if(U==="sub"){const v=j(H,B,te);X.push(v)}else if(U==="mark"){const v=M();X.push(v)}const de=P.class,ne=P.style??{};return(0,t.h)("view",{ref:ee(B),class:S(B,te,ie,Z,de),style:m(B,ne)},X)},K=(0,t.ref)(),I=(0,t.ref)([]),q=(H,B)=>{I.value[B]=H},ee=H=>B=>{q(B,H)},Q=(H,B)=>{const P=K.value,te=I.value;if(!P||!te||!te[H])return;const ie=te[H];let Z=0;r.direction==="vertical"?Z=ie.offsetTop-(P.offsetHeight-ie.offsetHeight)/2:Z=ie.offsetLeft-(P.offsetWidth-ie.offsetWidth)/2,J(P,Z,B?0:.3,r.direction)},J=(H,B,P,te)=>{let ie=0;const Z=te==="horizontal"?H.scrollLeft:H.scrollTop,A=P===0?1:Math.round(P*1e3/16);function X(){te==="horizontal"?H.scrollLeft+=(B-Z)/A:H.scrollTop+=(B-Z)/A,++ie<A&&za(X)}X()};return()=>{let H=[];if(r.mode==="simple")for(let P=0;P<d.value.length;P++){const te=d.value[P],ie=_(te,P);H.push(ie)}else for(let P=0;P<d.value.length;P++){const te=d.value[P],ie=R(te,P);H.push(ie)}const B={ref:K,class:p.value,style:g.value};return H.length===0&&typeof o.slots.default=="function"&&(H=o.slots.default()),(0,t.h)("view",B,H)}}}}var{componentName:Z6,create:J6,scope:e8}=pe("steps-bar"),t8=J6(Q6(Z6,e8,vo,yd)),Rn=t8,lt=e=>typeof e=="number"?`${e}px`:/^d+(\.?d+)$/.test(e)?`${e}px`:e,It=e=>e==null,l8=class{startMove;updateMove;isTouch=!1;els=null;moving=!1;touchstart=null;touchmove=null;touchend=null;constructor(e,n){this.startMove=e,this.updateMove=n,this.isTouch=wl()}open(e){Array.isArray(e)||(e=[e]),this.els=e;const n=vl(),l=(i,r,o,s)=>{this.updateMove({x:i,y:r})};this.touchstart=i=>{this.moving||(n.start(i),this.startMove({x:n.state.startX,y:n.state.startY}),document.addEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),document.addEventListener(this.isTouch?"touchend":"mouseup",this.touchend),this.moving=!0)},this.touchmove=i=>{this.moving&&(n.move(i),l(n.state.deltaX,n.state.deltaY,"",0))},this.touchend=()=>{l(n.state.deltaX,n.state.deltaY,"end"),this.touchmove&&document.removeEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),this.touchend&&document.removeEventListener(this.isTouch?"touchend":"mouseup",this.touchend),n.reset(),this.moving=!1},this.els.forEach(i=>{this.touchstart&&i.addEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart)})}close(){Array.isArray(this.els)&&this.els.forEach(e=>{this.touchstart&&e.removeEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart)}),this.els=null}};function Si(e,n){return new l8(e,n)}var wi=typeof window<"u"&&typeof document<"u",Vp=typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;function vi(e){const n=Object.create(null);return(l=>n[l]||(n[l]=e(l)))}var a8=/\B([A-Z])/g,Dp=vi(e=>e.replace(a8,"-$1").toLowerCase()),n8=/-(\w)/g,Mp=vi(e=>e.replace(n8,(n,l)=>l?l.toUpperCase():"")),Yt=[],Ci=e=>{const n=e;n.key==="Escape"&&Yt.forEach(l=>l(n))},r8=e=>{(0,t.onMounted)(()=>{Yt.length===0&&document.addEventListener("keydown",Ci),wi&&Yt.push(e)}),(0,t.onBeforeUnmount)(()=>{Yt=Yt.filter(n=>n!==e),Yt.length===0&&wi&&document.removeEventListener("keydown",Ci)})},_n="fox-focus-trap.focus-after-trapped",Ni="fox-focus-trap.focus-after-released",o8="fox-focus-trap.focusout-prevented",ki={cancelable:!0,bubbles:!1},i8={cancelable:!0,bubbles:!1},xi="foxFocusAfterTrapped",Ti="foxFocusAfterReleased",s8=Symbol("foxFocusTrap"),Fn=(0,t.ref)(),da=(0,t.ref)(0),On=(0,t.ref)(0),fa=0,Ei=e=>{const n=[],l=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:i=>{const r=i.tagName==="INPUT"&&i.type==="hidden";return i.disabled||i.hidden||r?NodeFilter.FILTER_SKIP:i.tabIndex>=0||i===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;l.nextNode();)n.push(l.currentNode);return n},c8=(e,n)=>{if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(n&&e===n)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1},zi=(e,n)=>{for(const l of e)if(!c8(l,n))return l},u8=e=>{const n=Ei(e);return[zi(n,e),zi(n.reverse(),e)]},d8=e=>e instanceof HTMLInputElement&&"select"in e,Bt=(e,n)=>{if(e&&e.focus){const l=document.activeElement;e.focus({preventScroll:!0}),On.value=window.performance.now(),e!==l&&d8(e)&&n&&e.select()}};function $i(e,n){const l=[...e],i=e.indexOf(n);return i!==-1&&l.splice(i,1),l}var f8=()=>{let e=[];return{push:i=>{const r=e[0];r&&i!==r&&r.pause(),e=$i(e,i),e.unshift(i)},remove:i=>{e=$i(e,i),e[0]?.resume?.()}}},m8=(e,n=!1)=>{const l=document.activeElement;for(const i of e)if(Bt(i,n),document.activeElement!==l)return},Bi=f8(),h8=()=>da.value>On.value,ma=()=>{Fn.value="pointer",da.value=window.performance.now()},Vi=()=>{Fn.value="keyboard",da.value=window.performance.now()},p8=()=>((0,t.onMounted)(()=>{fa===0&&(document.addEventListener("mousedown",ma),document.addEventListener("touchstart",ma),document.addEventListener("keydown",Vi)),fa++}),(0,t.onBeforeUnmount)(()=>{fa--,fa<=0&&(document.removeEventListener("mousedown",ma),document.removeEventListener("touchstart",ma),document.removeEventListener("keydown",Vi))}),{focusReason:Fn,lastUserFocusTimestamp:da,lastAutomatedFocusTimestamp:On}),ha=e=>new CustomEvent(o8,{...i8,detail:e}),{componentName:Ap,create:g8,scope:Pp}=pe("focus-trap"),y8={loop:{type:[Boolean]},trapped:{type:[Boolean,String],required:!1,default:!1},escape:{type:[Boolean],required:!1,default:!1},focusTrapEl:{type:Object},focusStartEl:{type:[Object,String],default:"first"}},b8=g8({props:y8,emits:[xi,Ti,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{slots:n,emit:l}){const i=(0,t.ref)();let r,o;const{focusReason:s}=p8();r8(y=>{Ce(e.trapped)&&!c.paused&&l("release-requested",y)});const c={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},a=y=>{if(!e.loop&&!Ce(e.trapped)||c.paused)return;const{key:p,altKey:g,ctrlKey:S,metaKey:$,currentTarget:m,shiftKey:C}=y,{loop:k}=e,E=p==="Tab"&&!g&&!S&&!$,Y=document.activeElement;if(E&&Y){const D=m,[O,N]=u8(D);if(O&&N){if(!C&&Y===N){const M=ha({focusReason:s.value});l("focusout-prevented",M),M.defaultPrevented||(y.preventDefault(),k&&Bt(O,!0))}else if(C&&[O,D].includes(Y)){const M=ha({focusReason:s.value});l("focusout-prevented",M),M.defaultPrevented||(y.preventDefault(),k&&Bt(N,!0))}}else if(Y===D){const M=ha({focusReason:s.value});l("focusout-prevented",M),M.defaultPrevented||y.preventDefault()}}};(0,t.provide)(s8,{focusTrapRef:i,onKeydown:a}),(0,t.watch)(()=>e.focusTrapEl,y=>{y&&(i.value=y)},{immediate:!0}),(0,t.watch)([i],([y],[p])=>{y&&(y.addEventListener("keydown",a),y.addEventListener("focusin",d),y.addEventListener("focusout",h)),p&&(p.removeEventListener("keydown",a),p.removeEventListener("focusin",d),p.removeEventListener("focusout",h))});const u=y=>{l(xi,y)},f=y=>l(Ti,y),d=y=>{const p=(0,t.unref)(i);if(!p)return;const g=y.target,S=y.relatedTarget,$=g&&p.contains(g);Ce(e.trapped)||S&&p.contains(S)||(r=S),$&&l("focusin",y),!c.paused&&Ce(e.trapped)&&($?o=g:Bt(o,!0))},h=y=>{const p=(0,t.unref)(i);if(!(c.paused||!p))if(!e.escape&&Ce(e.trapped)){const g=y.relatedTarget;!Pe(g)&&!p.contains(g)&&setTimeout(()=>{if(!c.paused&&Ce(e.trapped)){const S=ha({focusReason:s.value});l("focusout-prevented",S),S.defaultPrevented||Bt(o,!0)}},0)}else{const g=y.target;g&&p.contains(g)||l("focusout",y)}};async function z(){await(0,t.nextTick)();const y=(0,t.unref)(i);if(y){Bi.push(c);const p=y.contains(document.activeElement)?r:document.activeElement;if(r=p,!y.contains(p)){const g=new Event(_n,ki);y.addEventListener(_n,u),y.dispatchEvent(g),g.defaultPrevented||(0,t.nextTick)(()=>{let S=e.focusStartEl;hr(S)||(Bt(S),document.activeElement!==S&&(S="first")),S==="first"&&m8(Ei(y),!0),(document.activeElement===p||S==="container")&&Bt(y)})}}}function T(){const y=(0,t.unref)(i);if(y){y.removeEventListener(_n,u);const p=new CustomEvent(Ni,{...ki,detail:{focusReason:s.value}});y.addEventListener(Ni,f,{once:!0}),y.dispatchEvent(p),!p.defaultPrevented&&(s.value=="keyboard"||!h8())&&Bt(r??document.body,!0),Bi.remove(c)}}return(0,t.onMounted)(()=>{Ce(e.trapped)&&z(),(0,t.watch)(()=>e.trapped,y=>{Ce(y)?z():T()})}),(0,t.onBeforeUnmount)(()=>{Ce(e.trapped)&&T(),i.value&&(i.value.removeEventListener("keydown",a),i.value.removeEventListener("focusin",d),i.value.removeEventListener("focusout",h))}),()=>typeof n.default=="function"?n.default({"handle-keydown":a}):null}}),S8=b8,{componentName:w8,create:v8,scope:Ip}=pe("floating-window"),C8=Symbol.for("InnerPageScopeKey"),N8=Symbol.for("PageWrapperKey"),k8={modelValue:{type:[Boolean,String],required:!1,default:!0},title:{type:[String],required:!1},width:{type:[String,Number],required:!1},height:{type:[String,Number],required:!1},origin:{type:[String],required:!1,default:"right-top"},top:{type:[String,Number],required:!1},left:{type:[String,Number],required:!1},bottom:{type:[String,Number],required:!1},right:{type:[String,Number],required:!1},teleport:{type:[String,Element],default:"body"},fixedNavTeleport:{type:[String,Element]},zIndex:{type:[String,Number],required:!1},collapse:{type:[Boolean],requried:!1},showCollapse:{type:[Boolean],required:!1,default:!0},collapseText:{type:[String],requried:!1,default:"收起"},collapseIcon:{type:[Object],requried:!1},collapsePosition:{type:[String],requried:!1,default:"right"},collapseTop:{type:[String],requried:!1,default:"30vh"},expandText:{type:[String],requried:!1},expandIcon:{type:[Object],requried:!1},expandClass:{type:[String],requried:!1},showClose:{type:[Boolean],required:!1,default:!0},closeIcon:{type:[Object],requried:!1},draggable:{type:[Boolean],required:!1,default:!0},footerDraggable:{type:[Boolean],required:!1,default:!0},customClass:{type:[String],required:!1}},x8=v8({inheritAttrs:!1,components:{FoxIcon:V.ElIcon,FocusTrap:S8},props:{...k8},emits:["update:modelValue","update:collapse"],setup(e,{emit:n}){const l=w8,i=(0,t.ref)(e.modelValue),r=(0,t.computed)(()=>!e.teleport);(0,t.watch)(()=>e.modelValue,U=>{i.value=U});const o=(0,t.computed)(()=>i.value===!1?!1:!Y.value),s=(0,t.ref)(e.left),c=(0,t.ref)(e.top),a=(0,t.ref)(e.right),u=(0,t.ref)(e.bottom),f=(0,t.computed)(()=>{const U=["fox-floating-window"];return e.customClass&&U.push(e.customClass),U}),d=(0,t.computed)(()=>{const U={};return It(s.value)?U.left="auto":U.left=lt(s.value),It(c.value)?U.top="auto":U.top=lt(c.value),It(a.value)?U.right="auto":U.right=lt(a.value),It(u.value)?U.bottom="auto":U.bottom=lt(u.value),It(e.zIndex)||(U["z-index"]=lt(e.zIndex)),It(k.value)||(U.height=k.value),It(E.value)||(U.width=E.value),U}),h=(0,t.computed)(()=>e.closeIcon??He.Close),z=(0,t.computed)(()=>e.collapseIcon??He.ArrowUp),T=(0,t.computed)(()=>e.collapseText??""),y=(0,t.computed)(()=>e.collapsePosition==="left"?e.expandIcon??He.ArrowRight:e.expandIcon??He.ArrowLeft),p=(0,t.computed)(()=>e.expandText??e.title??"展开"),g=(0,t.computed)(()=>({[`${l}__collapse-text`]:!0})),S=(0,t.computed)(()=>({[`${l}__collapse-icon`]:!0,"is-expand":!Y.value,"is-collapse":Y.value})),$=(0,t.ref)(),m=(0,t.ref)(null),C=(0,t.ref)(null),k=(0,t.computed)(()=>lt(e.height)||""),E=(0,t.computed)(()=>lt(e.width)||""),Y=(0,t.ref)(Ce(e.collapse)),D=(U,v=!0)=>{Y.value!==U&&(Y.value=U,U?J():H(),n("update:collapse",U),U&&typeof M.onHide=="function"?M.onHide():!U&&typeof M.onShow=="function"&&M.onShow())};(0,t.watch)(()=>e.collapse,U=>{D(U)});const O=()=>{N()},N=U=>{U=U??!Y.value,D(U)};(0,t.provide)(C8,!0);const M={setCollapse:D,setFixedNavVisible:U=>{q.value=U}};(0,t.provide)(N8,M);const L=()=>{typeof M.beforeClose=="function"?M.beforeClose(()=>{i.value=!1}):i.value=!1},x=(0,t.ref)(null),j=(0,t.computed)(()=>!e.fixedNavTeleport),_=(0,t.computed)(()=>{const U=["fox-floating-window__fixednav"];return e.expandClass&&U.push(e.expandClass),e.collapsePosition==="left"?U.push("is-left"):e.collapsePosition==="right"&&U.push("is-right"),U}),R=(0,t.ref)(""),K=(0,t.computed)(()=>{const U={};return R.value?U.top=R.value:e.collapseTop&&(U.top=e.collapseTop),U}),I=(0,t.ref)(Y.value),q=(0,t.computed)({set:U=>{I.value=U},get:()=>i.value===!1?!1:I.value});let ee=null;const Q=()=>{typeof ee=="function"&&(ee(),ee=null)},J=()=>{x.value&&x.value.classList.add("slide-in"),q.value=!0,ee=()=>{x.value&&x.value.classList.remove("slide-in")}},H=()=>{x.value&&x.value.classList.add("slide-out"),ee=()=>{x.value&&x.value.classList.remove("slide-out"),q.value=!1}},B=()=>{s.value=null,c.value=null,a.value=null,u.value=null},P={x:0,y:0},Z=Si(U=>{if(!$.value)return;const v=$.value;if(B(),e.origin==="left-top")s.value=v.offsetLeft,c.value=v.offsetTop,P.x=s.value,P.y=c.value;else if(e.origin==="left-bottom"){const w=document.documentElement.clientHeight||document.body.clientHeight;s.value=v.offsetLeft,u.value=w-(v.offsetTop+v.offsetHeight),P.x=s.value,P.y=u.value}else if(e.origin==="right-bottom"){const w=document.documentElement.clientWidth||document.body.clientWidth,G=document.documentElement.clientHeight||document.body.clientHeight;a.value=w-(v.offsetLeft+v.offsetWidth),u.value=G-(v.offsetTop+v.offsetHeight),P.x=a.value,P.y=u.value}else{const w=document.documentElement.clientWidth||document.body.clientWidth;a.value=w-(v.offsetLeft+v.offsetWidth),c.value=v.offsetTop,P.x=a.value,P.y=c.value}},U=>{if(!$.value)return;const v=$.value;B(),e.origin==="left-top"?(s.value=P.x+U.x,c.value=P.y+U.y,v.style.left=lt(s.value),v.style.top=lt(c.value)):e.origin==="left-bottom"?(s.value=P.x+U.x,u.value=P.y-U.y,v.style.left=lt(s.value),v.style.bottom=lt(u.value)):e.origin==="right-bottom"?(a.value=P.x-U.x,u.value=P.y-U.y,v.style.right=lt(a.value),v.style.bottom=lt(u.value)):(a.value=P.x-U.x,c.value=P.y+U.y,v.style.right=lt(a.value),v.style.top=lt(c.value))}),A={x:0,y:0},de=Si(U=>{x.value&&(A.x=x.value.offsetLeft,A.y=x.value.offsetTop)},U=>{if(!x.value)return;const v=A.y+U.y;R.value=`${v}px`}),ne=()=>{if($.value){const U=$.value.querySelector(".fox-floating-window__body > .fox-page > .fox-footer-bar");C.value=U}};return(0,t.onMounted)(()=>{if(e.draggable&&$.value){const U=[];m.value&&U.push(m.value),e.footerDraggable&&(ne(),C.value&&U.push(C.value)),Z.open(U)}e.collapse===!0&&D(e.collapse,!1),x.value&&de.open(x.value)}),(0,t.onBeforeUnmount)(()=>{e.draggable&&m.value&&Z.close(),x.value&&de.close()}),{classes:f,styles:d,isShow:o,closeIcon:h,onClose:L,dialogRef:$,headerRef:m,onClickToggle:O,collapseIcon:z,collapseText:T,collapseTextClasses:g,collapseIconClasses:S,expandIcon:y,expandText:p,isShowFixedNav:q,fixedNavRef:x,fixedNavClasses:_,fixedNavStyles:K,onAnimationEnd:Q,teleportDisabled:r,fixedNavTeleportDisabled:j}}}),T8={ref:"headerRef",class:"fox-floating-window__header"},E8={class:"fox-floating-window__title"},z8={class:"fox-floating-window__tools"},$8={class:"fox-floating-window__body"},B8={class:"fox-floating-window__fixednav__text"};function V8(e,n,l,i,r,o){const s=(0,t.resolveComponent)("FoxIcon"),c=(0,t.resolveComponent)("FocusTrap");return(0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,null,[((0,t.openBlock)(),(0,t.createBlock)(t.Teleport,{to:e.teleport,disabled:e.teleportDisabled},[(0,t.createVNode)(t.Transition,{name:"fox-floating-window-fade"},{default:(0,t.withCtx)(()=>[(0,t.withDirectives)((0,t.createElementVNode)("div",{ref:"dialogRef",class:(0,t.normalizeClass)(e.classes),style:(0,t.normalizeStyle)(e.styles),tabindex:"-1"},[(0,t.createVNode)(c,{loop:!0,escape:!0,trapped:e.isShow,"focus-trap-el":e.dialogRef,"focus-start-el":"container"},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("div",T8,[(0,t.renderSlot)(e.$slots,"header",{},()=>[(0,t.createElementVNode)("span",E8,(0,t.toDisplayString)(e.title),1),(0,t.createElementVNode)("div",z8,[e.showCollapse?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:0,class:"fox-floating-window__collapse",onClick:n[0]||(n[0]=(...a)=>e.onClickToggle&&e.onClickToggle(...a))},[(0,t.createElementVNode)("span",{class:(0,t.normalizeClass)(e.collapseTextClasses)},(0,t.toDisplayString)(e.collapseText),3),(0,t.createVNode)(s,{class:(0,t.normalizeClass)(e.collapseIconClasses)},{default:(0,t.withCtx)(()=>[((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(e.collapseIcon)))]),_:1},8,["class"])])):(0,t.createCommentVNode)("",!0),e.showClose?((0,t.openBlock)(),(0,t.createBlock)(s,{key:1,class:"fox-floating-window__close",onClick:e.onClose},{default:(0,t.withCtx)(()=>[((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(e.closeIcon)))]),_:1},8,["onClick"])):(0,t.createCommentVNode)("",!0)])])],512),(0,t.createElementVNode)("div",$8,[(0,t.renderSlot)(e.$slots,"default")])]),_:3},8,["trapped","focus-trap-el"])],6),[[t.vShow,e.isShow]])]),_:3})],8,["to","disabled"])),((0,t.openBlock)(),(0,t.createBlock)(t.Teleport,{to:e.fixedNavTeleport,disabled:e.fixedNavTeleportDisabled},[(0,t.withDirectives)((0,t.createElementVNode)("div",{ref:"fixedNavRef",class:(0,t.normalizeClass)(e.fixedNavClasses),style:(0,t.normalizeStyle)(e.fixedNavStyles),onAnimationend:n[2]||(n[2]=(...a)=>e.onAnimationEnd&&e.onAnimationEnd(...a))},[(0,t.createElementVNode)("div",{class:"fox-floating-window__fixednav__inner",onClick:n[1]||(n[1]=(...a)=>e.onClickToggle&&e.onClickToggle(...a))},[(0,t.createVNode)(s,{class:"fox-floating-window__fixednav__icon"},{default:(0,t.withCtx)(()=>[((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(e.expandIcon)))]),_:1}),(0,t.createElementVNode)("div",B8,(0,t.toDisplayString)(e.expandText),1)])],38),[[t.vShow,e.isShowFixedNav]])],8,["to","disabled"]))],64)}var qn=Fe(x8,[["render",V8]]);function Di(e,n=null,l=["text"],i=null,r="children",o="leaf"){let s=!1;if(typeof i=="function"?s=i(e,n):typeof n=="string"&&n.length>0&&(s=l.some(c=>{if(!e[c]||typeof e[c]!="string")return!1;const a=e[c].toLocaleLowerCase(),u=n.toLocaleLowerCase();return a.includes(u)})),s===!0)return e;if(e[o]!==!0&&Array.isArray(e[r])&&e[r].length>0){let c=[];if(e[r].forEach(a=>{const u=Di(a,n,l,i,r,o);u&&c.push(u)}),c.length>0){const a={...e};return a[r]=c,a}}return null}function D8(e,n,l=["text"],i=null,r="children",o="leaf"){if(!n&&!i)return e;const s=[];for(let c=0;c<e.length;c++){const a=e[c],u=Di(a,n,l,i,r,o);u&&s.push(u)}return s}var M8=(0,t.defineComponent)({props:{poppable:{type:[Boolean],default:()=>!0}},setup(e,{slots:n,attrs:l}){return()=>e.poppable?(0,t.h)(vt,{...l},n):n?.default?.()??null}}),A8=M8,pa=(e,n,l)=>e.map(i=>{const{value:r="value",text:o="text",children:s="children"}=l??{},{[r]:c,[o]:a,[s]:u,...f}=i,d={loading:!1,...f,level:n?(n&&n.level||0)+1:0,value:c,text:a,children:u,_parent:n};return d.children&&d.children.length&&(d.children=pa(d.children,d,l)),d}),Mi=(e,n)=>{let l=0,i;for(;(i=e[l++])&&n(i)!==!0;)i.children&&i.children.length&&Mi(i.children,n)},P8={topId:null,idKey:"id",pidKey:"pid",sortKey:""},I8=(e,n)=>{const{topId:l,idKey:i,pidKey:r,sortKey:o}={...P8,...n||{}};let s=[],c={};return e.forEach(a=>{a={...a};const{[i]:u,[r]:f}=a,d=c[f]=c[f]||[];!s.length&&f===l&&(s=d),d.push(a),a.children=c[u]||(c[u]=[])}),o&&Object.keys(c).forEach(a=>{c[a].length>1&&c[a].sort((u,f)=>u[o]-f[o])}),c=null,s},Ai=class{nodes;config;constructor(e,n){this.config={value:"value",text:"text",children:"children",...n||{}},this.nodes=pa(e,null,this.config)}updateChildren(e,n){n?n.children=pa(e,n,this.config):this.nodes=pa(e,null,this.config)}getNodeByValue(e){let n;return Mi(this.nodes,l=>{if(l.value===e)return n=l,!0}),n}getPathNodesByValue(e){if(!e.length)return[];const n=[];let l=this.nodes;for(;l&&l.length;){const i=l.find(r=>r.value===e[r.level]);if(!i)break;n.push(i),l=i.children}return n}isLeaf(e,n){const{leaf:l,children:i}=e,r=Array.isArray(i)&&!!i.length;return l||!r&&!n}hasChildren(e,n){if(this.isLeaf(e,n))return!1;const{children:l}=e;return Array.isArray(l)&&!!l.length}},{create:L8,scope:R8}=pe("cascader-pane"),_8=L8({components:{Loading:gl,Checklist:vo,TabsBar:Nl,TabsContainer:kl,TabsPane:ua},props:{visible:{type:Boolean,required:!0},modelValue:{type:[Array],required:!0},options:{type:[Array],default:()=>[]},lazy:{type:Boolean,required:!1},lazyLoad:{type:Function,required:!1},valueKey:{type:String,default:()=>"value"},textKey:{type:String,default:()=>"text"},childrenKey:{type:String,default:()=>"children"},convertConfig:{type:Object,required:!1}},emits:["update:modelValue","change","pathChange"],setup(e,{emit:n,expose:l}){const{t:i}=(0,Be.useFoxI18n)(R8),r=(0,t.computed)(()=>({lazy:e.lazy,lazyLoad:e.lazyLoad,valueKey:e.valueKey,textKey:e.textKey,childrenKey:e.childrenKey,convertConfig:e.convertConfig})),o=(0,t.ref)(0),s=(0,t.ref)(),c=(0,t.ref)(!1),a=(0,t.ref)(e.modelValue),u=(0,t.ref)(new Ai([],{})),f=(0,t.ref)([]),d=(0,t.computed)(()=>r.value.lazy&&!!r.value.lazyLoad),h=(0,t.computed)(()=>c.value==!0||f.value.length==0?[{text:"Loading",value:0}]:f.value.map((C,k)=>({text:C.selectedNode?C.selectedNode.text:i("select"),value:k}))),z=new Map;let T,y=null;const p=async()=>{z.clear(),f.value=[],o.value=0,c.value=!1,T=null;let{options:C}=e;r.value.convertConfig&&(C=I8(C,r.value.convertConfig)),u.value=new Ai(C,{value:r.value.valueKey,text:r.value.textKey,children:r.value.childrenKey}),d.value&&!u.value.nodes.length&&await S({root:!0,loading:!0,level:0,text:"",value:""}),f.value=[{nodes:u.value.nodes,selectedNode:null}],g(!d.value)},g=async(C=!0)=>{const k=a.value;if(k===void 0||!u.value.nodes.length)return;if(k.length===0){o.value=0,f.value=[{nodes:u.value.nodes,selectedNode:null}];return}let E=k;if(d.value&&Array.isArray(k)&&k.length){E=[];let Y=u.value.nodes.find(D=>D.value===k[0]);if(Y){E=[Y.value],c.value=!0;const D=await k.slice(1).reduce(async(O,N)=>{const M=await O;await S(M);const L=M&&M?.children?.find(x=>x.value===N);return L&&E.push(N),Promise.resolve(L)},Promise.resolve(Y));await S(D),c.value=!1}}E.length&&k===e.modelValue&&u.value.getPathNodesByValue(E).map((Y,D)=>{o.value=D,m.handleNode(Y,C)})},S=async C=>{if(!C)return;if(!r.value.lazyLoad){C.leaf=!0;return}if(u.value.isLeaf(C,d.value)||u.value.hasChildren(C,d.value))return;C.loading=!0,y&&typeof y=="object"&&Object.assign(C,y);const k=C.root?null:C;let E=z.get(C);E||(E=new Promise(D=>{r.value.lazyLoad?.(C,D)}),z.set(C,E));const Y=await E;Array.isArray(Y)&&Y.length>0?u.value.updateChildren(Y,k):C.leaf=!0,C.loading=!1,z.delete(C)},$=C=>{const k=C.map(E=>E.value);a.value=k,n("change",k,C),n("pathChange",C),n("update:modelValue",k)},m={async handleNode(C,k){const{disabled:E,loading:Y}=C;if(!(!k&&E||!f.value[o.value])){if(u.value.isLeaf(C,d.value)){if(C.leaf=!0,f.value[o.value].selectedNode=C,f.value=f.value.slice(0,C.level+1),!k){const D=f.value.map(O=>O.selectedNode);$(D),n("pathChange",D)}return}if(u.value.hasChildren(C,d.value)){const D=C.level+1;f.value[o.value].selectedNode=C,f.value=f.value.slice(0,D),f.value.push({nodes:C.children||[],selectedNode:null}),o.value=D,k||n("pathChange",f.value.map(O=>O.selectedNode));return}T=C,!Y&&(await S(C),T===C&&(f.value[o.value].selectedNode=C,m.handleNode(C,k)))}},handleTabChange(C,k){T=null},formatTabTitle(C){return C.selectedNode?C.selectedNode.text:i("select")},isSelected(C,k){return C.selectedNode&&C.selectedNode.value===k.value}};return(0,t.watch)([r,()=>e.options],()=>{p()},{deep:!0,immediate:!0}),(0,t.watch)(()=>e.modelValue,C=>{Qe(C,a.value)||(a.value=C,g(!d.value))}),(0,t.watch)(()=>e.visible,C=>{C&&Array.isArray(a.value)&&a.value.length>0&&g(),C&&s.value&&setTimeout(()=>{s.value.doLayout()},0)}),l({refresh:(C={})=>{y=C,p()}}),{panes:f,panesTitles:h,initLoading:c,tabsCursor:o,tabsContainerRef:s,...m}}}),F8={class:"fox-cascader"},O8={role:"menu",class:"fox-cascader__pane"},q8=["aria-checked","aria-disabled","onClick"],H8={class:"fox-cascader__item__title"};function K8(e,n,l,i,r,o){const s=(0,t.resolveComponent)("TabsBar"),c=(0,t.resolveComponent)("Loading"),a=(0,t.resolveComponent)("Checklist"),u=(0,t.resolveComponent)("TabsPane"),f=(0,t.resolveComponent)("TabsContainer");return(0,t.openBlock)(),(0,t.createElementBlock)("view",F8,[(0,t.createVNode)(s,{modelValue:e.tabsCursor,"onUpdate:modelValue":n[0]||(n[0]=d=>e.tabsCursor=d),data:e.panesTitles,onChange:e.handleTabChange,scroll:!0,align:"left"},null,8,["modelValue","data","onChange"]),(0,t.createVNode)(f,{ref:"tabsContainerRef",modelValue:e.tabsCursor,"onUpdate:modelValue":n[1]||(n[1]=d=>e.tabsCursor=d)},{default:(0,t.withCtx)(()=>[!e.initLoading&&e.panes.length?((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,{key:0},(0,t.renderList)(e.panes,(d,h)=>((0,t.openBlock)(),(0,t.createBlock)(u,{"pane-key":h,key:h},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("view",O8,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(d.nodes,z=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:z.value,class:(0,t.normalizeClass)(["fox-cascader__item",{active:e.isSelected(d,z),disabled:z.disabled}]),"aria-checked":e.isSelected(d,z),"aria-disabled":z.disabled||void 0,role:"menuitemradio",onClick:T=>e.handleNode(z,!1)},[(0,t.createElementVNode)("view",H8,(0,t.toDisplayString)(z.text),1),z.loading?((0,t.openBlock)(),(0,t.createBlock)(c,{key:0,class:"fox-cascader__item__icon-loading",name:"loading"})):((0,t.openBlock)(),(0,t.createBlock)(a,{key:1,class:"fox-cascader__item__icon-check",name:"checklist"}))],10,q8))),128))])]),_:2},1032,["pane-key"]))),128)):((0,t.openBlock)(),(0,t.createBlock)(u,{key:1,"pane-key":0},{default:(0,t.withCtx)(()=>[...n[2]||(n[2]=[(0,t.createElementVNode)("view",{class:"fox-cascader__pane"},null,-1)])]),_:1}))]),_:1},8,["modelValue"])])}var j8=Fe(_8,[["render",K8]]),{create:W8,scope:Y8}=pe("cascader"),U8=W8({components:{CascaderPane:j8,Wrapper:A8,SearchBar:Sl,Search:wo,Close:yl},props:{...nn,modelValue:{type:[Array]},visible:{type:[Boolean]},title:{type:[String]},options:{type:[Array],default:()=>[]},lazy:{type:[Boolean]},lazyLoad:{type:[Function]},valueKey:{type:String,default:()=>"value"},textKey:{type:String,default:()=>"text"},childrenKey:{type:String,default:()=>"children"},leafKey:{type:String,default:()=>"leaf"},poppable:{type:Boolean,default:()=>!0},convertConfig:{type:[Object]},filterable:{type:Boolean,default:()=>!1},fiterMethod:{type:Function},searchKey:{type:String,required:!1,default:"keyword"},seachPlaceholder:{type:String,required:!1},searchDelayTriggerClear:{type:Number,default:250}},emits:["update:modelValue","change","pathChange","update:visible"],setup(e,{emit:n}){const{toLocaleRefs:l}=(0,Be.useFoxI18n)(Y8),i=l(e,["seachPlaceholder"]),r="fox-cascader",o=(0,t.computed)(()=>{const S=[`${r}__bar`];return!e.title&&!e.filterable&&S.push("is-empty"),S}),s=(0,t.ref)(e.modelValue),c=(0,t.computed)({get(){return e.visible},set(S){n("update:visible",S)}}),a=(S,$)=>{s.value=S,c.value=!1,n("change",S,$),n("update:modelValue",S)},u=S=>{n("pathChange",S)},f=()=>{c.value=!1};(0,t.watch)(()=>e.modelValue,S=>{S!==s.value&&(s.value=S)});const d=(0,t.useTemplateRef)("cascaderPaneRef"),h=(0,t.ref)(""),z=(0,t.ref)(""),T=()=>{h.value=z.value,e.lazy&&d.value?.refresh({[`${e.searchKey}`]:h.value})},y=()=>{T()};let p=null;(0,t.watch)(()=>z.value,(S,$)=>{p&&(clearTimeout(p),p=null),ke(S)&&!ke($)&&(p=setTimeout(()=>{y()},e.searchDelayTriggerClear))});const g=(0,t.computed)(()=>e.filterable===!0?D8(e.options,h.value,[e.textKey],e.fiterMethod,e.childrenKey,e.leafKey):e.options);return{...i,headerBarClass:o,onChange:a,onPathChange:u,innerValue:s,innerVisible:c,filterOptions:g,searchModelValue:z,onSearch:T,onClose:f}}}),G8={key:0,class:"fox-cascader__bar-title"};function X8(e,n,l,i,r,o){const s=(0,t.resolveComponent)("Search"),c=(0,t.resolveComponent)("SearchBar"),a=(0,t.resolveComponent)("CascaderPane"),u=(0,t.resolveComponent)("Wrapper");return(0,t.openBlock)(),(0,t.createBlock)(u,{poppable:e.poppable,visible:e.innerVisible,"onUpdate:visible":n[1]||(n[1]=f=>e.innerVisible=f),position:"bottom","pop-class":"fox-cascader__popup",round:"",closeable:e.closeable,"destroy-on-close":!1,"close-icon-position":e.closeIconPosition},{default:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,"header",{},()=>[(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(e.headerBarClass)},[e.title?((0,t.openBlock)(),(0,t.createElementBlock)("view",G8,(0,t.toDisplayString)(e.title),1)):(0,t.createCommentVNode)("",!0),e.filterable?((0,t.openBlock)(),(0,t.createBlock)(c,{key:1,class:"fox-cascader__bar-search",modelValue:e.searchModelValue,"onUpdate:modelValue":n[0]||(n[0]=f=>e.searchModelValue=f),onSearch:e.onSearch,placeholder:e.seachPlaceholder,clearable:""},{leftin:(0,t.withCtx)(()=>[(0,t.createVNode)(s,{onClick:e.onClose,class:"fox-cascader__bar-search-icon"},null,8,["onClick"])]),_:1},8,["modelValue","onSearch","placeholder"])):(0,t.createCommentVNode)("",!0)],2)]),(0,t.createVNode)(a,{ref:"cascaderPaneRef",onChange:e.onChange,onPathChange:e.onPathChange,modelValue:e.innerValue,options:e.filterOptions,lazy:e.lazy,"lazy-load":e.lazyLoad,"value-key":e.valueKey,"text-key":e.textKey,"children-key":e.childrenKey,"convert-config":e.convertConfig,visible:e.innerVisible},null,8,["onChange","onPathChange","modelValue","options","lazy","lazy-load","value-key","text-key","children-key","convert-config","visible"])]),_:3},8,["poppable","visible","closeable","close-icon-position"])}var Hn=Fe(U8,[["render",X8]]),Q8=Symbol.for("PageWrapperKey"),Z8={class:{type:[String]},title:{type:[String]},height:{type:[String,Number]},hideHeader:{type:[Boolean]},draggable:{type:[Boolean],default:()=>!0},appendToBody:{type:[Boolean],default:!0},closeOnClickModal:{type:[Boolean],default:()=>!1},closeOnPressEscape:{type:[Boolean],default:()=>!0}};function J8(e,n){return{props:Z8,setup(l,i){_a({hasHeaderBar:!1,hasFooterBar:!0,hasContent:!0});const r={};(0,t.provide)(Q8,r);const o=u=>{typeof r.beforeClose=="function"&&r.beforeClose()},s=(0,t.ref)(!0),c=u=>{s.value=u},a=(0,t.computed)(()=>{const u={};return l.height&&(u["--fox-dialog-item-body-height"]=Ne(l.height)),u});return()=>{const u={...i.attrs,style:a.value,title:l.title,draggable:l.draggable,modelValue:s.value,"onUpdate:modelValue":c,"append-to-body":l.appendToBody,"close-on-click-modal":l.closeOnClickModal,"close-on-press-escape":l.closeOnPressEscape,"before-close":o},f=["fox-dialog-item "];l.hideHeader&&f.push("hide-header"),l.class&&f.push(l.class),u.class=f.join(" ");const d={};return typeof i.slots.default=="function"&&(d.default=i.slots.default),(0,t.h)(V.ElDialog,u,d)}}}}var{componentName:e7,create:t7,scope:l7}=pe("dialog-item"),a7=t7(J8(e7,l7)),Kn=a7,{create:n7}=pe("toast"),r7=n7({props:{id:{type:String,required:!1},msg:{type:String,required:!1},duration:{type:Number,default:2e3},center:{type:Boolean,default:!0},type:{type:String,required:!1},customClass:{type:String,required:!1},bottom:{type:String,default:"30px"},size:{type:[String,Number],default:"base"},iconSize:{type:[String,Number],default:20},icon:{type:[Object],required:!1},iconColor:{type:String,required:!1,default:"#ffffff"},textAlignCenter:{type:Boolean,default:!0},loadingRotate:{type:Boolean,default:!0},bgColor:{type:String,default:""},onClose:{type:Function,required:!1},unmount:{type:Function,required:!1},cover:{type:Boolean,default:!1},coverColor:{type:String,default:""},title:{type:String,default:""},closeOnClickOverlay:{type:Boolean,default:!1}},emits:["close"],setup(e,{emit:n}){let l=null;const i=(0,t.reactive)({mounted:!1});(0,t.onMounted)(()=>{i.mounted=!0});const r=()=>{l&&(clearTimeout(l),l=null)},o=()=>{i.mounted=!1},s=()=>{r(),e.duration&&(l=setTimeout(()=>{o()},e.duration))},c=()=>{e.closeOnClickOverlay&&(o(),n("close"))};e.duration&&s(),(0,t.watch)(()=>e.duration,z=>{z&&s()});const a=(0,t.computed)(()=>e.type!=="text"?!0:!!e.icon),u=()=>{const z=ve(e.iconSize);return(0,t.h)(e.icon,{width:z,height:z,color:e.iconColor})},f=(0,t.computed)(()=>["fox-toast",{"fox-toast-center":e.center},{"fox-toast-has-icon":a.value},{"fox-toast-cover":e.cover},{"fox-toast-loading":e.type==="loading"},e.customClass,"fox-toast-"+e.size]),d=(0,t.computed)(()=>["fox-toast-icon-wrapper",{"fox-toast-icon-no-animation":!e.loadingRotate}]);return{state:i,hide:o,clickCover:c,renderIcon:u,hasIcon:a,toastBodyClass:f,toastIconWrapperClass:d,onAfterLeave:()=>{r(),e.unmount(e.id),e.onClose&&e.onClose()}}}}),o7={key:1,class:"fox-toast-title"},i7=["innerHTML"];function s7(e,n,l,i,r,o){return(0,t.openBlock)(),(0,t.createBlock)(t.Transition,{name:"toast-fade",onAfterLeave:e.onAfterLeave},{default:(0,t.withCtx)(()=>[(0,t.withDirectives)((0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(e.toastBodyClass),style:(0,t.normalizeStyle)({bottom:e.center?"auto":e.bottom,"background-color":e.coverColor}),onClick:n[0]||(n[0]=(...s)=>e.clickCover&&e.clickCover(...s))},[(0,t.createElementVNode)("view",{class:"fox-toast-inner",style:(0,t.normalizeStyle)({"text-align":e.textAlignCenter?"center":"left","background-color":e.bgColor})},[e.hasIcon?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:(0,t.normalizeClass)(e.toastIconWrapperClass)},[((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(e.renderIcon())))],2)):(0,t.createCommentVNode)("",!0),e.title?((0,t.openBlock)(),(0,t.createElementBlock)("div",o7,(0,t.toDisplayString)(e.title),1)):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",{class:"fox-toast-text",innerHTML:e.msg},null,8,i7)],4)],6),[[t.vShow,e.state.mounted]])]),_:1},8,["onAfterLeave"])}var jn=Fe(r7,[["render",s7]]),Wn={msg:"",id:"",duration:2e3,center:!0,type:"text",title:"",customClass:"",bottom:"30px",size:"base",iconSize:"20",icon:null,textAlignCenter:!0,loadingRotate:!0,bgColor:"",onClose:null,unmount:null,cover:!1,coverColor:"",closeOnClickOverlay:!1},Ut=[],xl=[],Pi=e=>{if(e){const n=document.getElementById(e);xl=xl.filter(l=>l.id!==e),Ut=Ut.filter(l=>l!==e),n&&((0,t.render)(null,n),document.body.removeChild(n))}else Ut.forEach(n=>{const l=document.getElementById(n);l&&((0,t.render)(null,l),document.body.removeChild(l))}),xl=[],Ut=[]},c7=e=>{const n=document.getElementById(e.id);if(n){const l=xl.find(r=>r.id===e.id);l?e={...Wn,...l,...e}:e={...Wn,...e};const i=(0,t.createVNode)(jn,e);return(0,t.render)(null,n),(0,t.render)(i,n),Gt}},Tl=e=>{e.unmount=Pi;let n;if(e.id){if(n=e.id,Ut.find(i=>i===e.id))return c7(e)}else n=new Date().getTime()+"";e={...Wn,...e},e.id=n,Ut.push(e.id),xl.push(e);const l=document.createElement("div");return l.id=e.id,(0,t.render)((0,t.createVNode)(jn,e),l),document.body.appendChild(l),Gt},ga=e=>e?!0:(console.warn("[FoxUI Toast]: msg不能为空"),!1),Gt={text(e,n={}){if(ga(e))return Tl({...n,type:"text",msg:e})},success(e,n={}){if(ga(e))return Tl({icon:P1,...n,msg:e,type:"success"})},fail(e,n={}){if(ga(e))return Tl({icon:$2,...n,msg:e,type:"fail"})},warn(e,n={}){if(ga(e))return Tl({icon:So,...n,msg:e,type:"warn"})},loading(e,n={}){return Tl({icon:gl,...n,msg:e,type:"loading"})},hide(e){Pi(e)},install(e){e.use(jn),e.config.globalProperties.$toast=Gt}},u7={modelValue:{type:[Boolean],default:!1},pullingText:{type:[String]},loosingText:{type:[String]},loadingText:{type:[String]},headHeight:{type:[String,Number],default:50},pullDistance:{type:[String,Number],default:50},duration:{type:[String,Number],default:.3},containerClass:{type:[String]}},d7=(e,n,l)=>({props:u7,emits:["change","refresh","update:modelValue"],setup(i,{emit:r,slots:o}){const s=e,{toLocaleRefs:c}=(0,Be.useFoxI18n)(n),a=c(i,["pullingText","loosingText","loadingText"]),u=vl(),f=(0,t.ref)(),d=Lo(f),h=(0,t.reactive)({isPullRefresh:!1,distance:0,status:"normal",moving:!1}),z=(0,t.computed)(()=>({[s]:!0})),T=(0,t.computed)(()=>{const D=[`${s}__container`];return i.containerClass&&D.push(i.containerClass),D}),y=(0,t.computed)(()=>{switch(h.status){case"pulling":return o.pulling?"":a.pullingText.value;case"loosing":return o.loosing?"":a.loosingText.value;case"loading":return o.loading?"":a.loadingText.value;default:return""}}),p=(0,t.computed)(()=>({transitionDuration:`${i.duration}s`,transform:h.distance?`translate3d(0,${h.distance}px, 0)`:""})),g=(0,t.computed)(()=>{const D={};return i.headHeight!=50&&(D.height=Ne(i.headHeight)),D}),S=D=>{const O=+(i.pullDistance||i.headHeight);let N=D;return D>O&&(D<O*2?N=(D+O)/2:N=O+D/4),Math.round(N)},$=(D,O)=>{const N=+(i.pullDistance||i.headHeight);h.distance=D,O?h.status="loading":D===0?h.status="normal":D<N?h.status="pulling":h.status="loosing",r("change",{status:h.status,distance:D})},m=()=>h.status!=="loading"&&h.status!=="complete",C=()=>d.value==window?Ro()==0:d.value&&d.value.scrollTop==0,k=D=>{m()&&(C()?(u.start(D),h.isPullRefresh=!0,h.moving=!0):(h.distance=0,h.isPullRefresh=!1))},E=D=>{m()&&h.moving&&(u.move(D),u.isVertical()&&u.state.deltaY>0&&h.isPullRefresh&&(D.cancelable&&D.preventDefault(),$(S(u.state.deltaY))))},Y=()=>{h.moving=!1,h.isPullRefresh&&m()&&u.state.deltaY&&(h.status==="loosing"?($(+i.headHeight,!0),r("update:modelValue",!0),(0,t.nextTick)(()=>r("refresh"))):$(0)),setTimeout(()=>{u.reset()},0)};return(0,t.watch)(()=>i.modelValue,D=>{D?$(+i.headHeight,!0):$(0)}),()=>{const D=[];let O=null;h.status==="loading"?(O=o?.loading?.()??null,O||(O=(0,t.h)(l,{class:[`${s}__container-topbox-icon`]}))):h.status==="pulling"?O=o?.pulling?.()??null:h.status==="loosing"&&(O=o?.loosing?.()??null),O&&D.push(O);const N=(0,t.h)("dive",{class:[`${s}__container-topbox-text`]},[y.value]);D.push(N);const M=(0,t.h)("div",{class:[`${s}__container-topbox`],style:g.value},D),L=(0,t.h)("div",{class:T.value,style:p.value},[M,o?.default?.()]),x={ref:f,class:z.value};return wl()?Object.assign(x,{onTouchstart:k,onTouchmove:E,onTouchend:Y}):Object.assign(x,{onMousedown:k,onMousemove:E,onMouseup:Y}),(0,t.h)("div",x,[L])}}}),{componentName:f7,create:m7,scope:h7}=pe("pull-refresh"),p7=m7(d7(f7,h7,gl)),Yn=p7,g7={modelValue:{type:[Boolean],requried:!0},type:{type:[String],requried:!1,default:""},disabled:{type:[Boolean,String],requried:!1},textPosition:{type:[String],requried:!1},collapseText:{type:[String],requried:!1},expandText:{type:[String],requried:!1},icon:{type:[Object],requried:!1}};function y7(e,n,l){return{props:g7,emits:["click","update:modelValue"],setup(i,{emit:r,slots:o}){const{toLocaleRefs:s}=(0,Be.useFoxI18n)(n),c=s(i,["collapseText","expandText"]),a=(0,t.computed)(()=>{const T={[`${e}`]:!0};return i.disabled?T[`${e}--disabled`]=!0:T[`${e}--${i.type}`]=!0,T}),u=Ve(i,"modelValue"),f=(0,t.computed)(()=>u.value?c.expandText.value??"":c.collapseText.value??""),d=(0,t.computed)(()=>({[`${e}__text`]:!0})),h=(0,t.computed)(()=>({[`${e}__icon`]:!0,"is-expand":!u.value,"is-collapse":u.value})),z=()=>{r("update:modelValue",!u.value)};return()=>{const T=[];if(f.value){const g=(0,t.h)("span",{class:d.value},[f.value]);T.push(g)}const y={class:h.value},p=(o.icon&&o.icon())??(i.icon&&(0,t.h)(i.icon))??(0,t.h)(l);if(p){const g=(0,t.h)("div",y,[p]);T.push(g)}return i.textPosition==="right"&&T.reverse(),(0,t.h)("div",{class:a.value,onClick:z},T)}}}}var{componentName:b7,create:S7,scope:w7}=pe("more-button"),v7=S7(y7(b7,w7,He.ArrowUp)),Un=v7;function C7(e){e.stopPropagation()}var N7=class{startMove;updateMove;isTouch=!1;els=null;moving=!1;touchstart=null;touchmove=null;touchend=null;constructor(e,n){this.startMove=e,this.updateMove=n,this.isTouch=wl()}open(e){Array.isArray(e)||(e=[e]),this.els=e;const n=vl(),l=(i,r,o,s)=>{this.updateMove({x:i,y:r})};this.touchstart=i=>{this.moving||(n.start(i),this.startMove({x:n.state.startX,y:n.state.startY}),document.addEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),document.addEventListener(this.isTouch?"touchend":"mouseup",this.touchend),this.moving=!0)},this.touchmove=i=>{this.moving&&(n.move(i),C7(i),l(n.state.deltaX,n.state.deltaY,"",0))},this.touchend=()=>{l(n.state.deltaX,n.state.deltaY,"end"),this.touchmove&&document.removeEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),this.touchend&&document.removeEventListener(this.isTouch?"touchend":"mouseup",this.touchend),n.reset(),this.moving=!1},this.els.forEach(i=>{this.touchstart&&i.addEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart)})}close(){Array.isArray(this.els)&&this.els.forEach(e=>{this.touchstart&&e.removeEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart)}),this.els=null}};function k7(e,n){return new N7(e,n)}var x7={customClass:{type:[String]},top:{type:[String]},right:{type:[String]},bottom:{type:[String]},left:{type:[String]},width:{type:[String]},height:{type:[String]},color:{type:[String]},background:{type:[String]},borderRadius:{type:[String]},draggable:{type:[Boolean]},zIndex:{type:[String]},teleport:{type:[String,Element],default:"body"},teleportDisable:{type:Boolean,default:!0}},T7=(e,n,l,i=!1)=>({props:x7,emits:["click"],setup(r,{slots:o,emit:s,attrs:c}){let a=-1,u=-1;const f=(0,t.reactive)({top:r.top,right:r.right,bottom:r.bottom,left:r.left,width:0,height:0}),d=(0,t.computed)(()=>{const C=[`${e}`];return r.customClass&&C.push(r.customClass),C}),h=(0,t.computed)(()=>{const C={};return ke(f.top)||(C.top=Ne(f.top)),ke(f.right)||(C.right=Ne(f.right)),ke(f.bottom)||(C.bottom=Ne(f.bottom)),ke(f.left)||(C.left=Ne(f.left)),ke(r.width)||(C.width=Ne(r.width)),ke(r.height)||(C.height=Ne(r.height)),ke(r.color)||(C.color=r.color),ke(r.background)||(C.background=r.background),ke(r.borderRadius)||(C["border-radius"]=r.borderRadius),ke(r.zIndex)||(C["z-index"]=r.zIndex),C}),z=(0,t.computed)(()=>({[`${e}__icon`]:!0})),T=()=>{s("click")},y=(0,t.ref)(null),p=()=>{f.top=null,f.right=null,f.bottom=null,f.left=null},g={x:0,y:0},m=k7(C=>{if(!y.value)return;const k=y.value;p(),f.left=k.offsetLeft,f.top=k.offsetTop,k.style.left=Ne(f.left),k.style.top=Ne(f.top),k.style.right=null,k.style.bottom=null,g.x=k.offsetLeft,g.y=k.offsetTop,f.width=k.offsetWidth,f.height=k.offsetHeight,a=document.documentElement.clientWidth||document.body.clientWidth,u=document.documentElement.clientHeight||document.body.clientHeight},C=>{if(!y.value)return;const k=y.value;p();let E=g.x+C.x;E<0&&(E=0),E>a-f.width&&(E=a-f.width);let Y=g.y+C.y;Y<0&&(Y=0),Y>u-f.height&&(Y=u-f.height),f.left=Ne(E),f.top=Ne(Y),k.style.left=Ne(E),k.style.top=Ne(Y)});return(0,t.onMounted)(()=>{if(r.draggable&&y.value){const C=[y.value];m.open(C)}}),(0,t.onBeforeUnmount)(()=>{r.draggable&&y.value&&m.close()}),()=>{let C=[];const k=typeof o.default=="function"?o.default():[];if(k&&k.length>0)C=k;else{const Y=(0,t.h)(l,{class:z.value});C.push(Y)}const E=(0,t.h)("view",{...c,ref:Y=>{y.value=Y},class:d.value,style:h.value,onClick:T},C);return r.teleportDisable===!1?(0,t.h)(t.Teleport,{to:r.teleport},[E]):E}}}),{componentName:E7,create:z7,scope:$7}=pe("floating-button"),B7=z7(T7(E7,$7,x1,!1)),Gn=B7;function V7(e,n){return{props:{type:{type:[String],required:!1,default:""},color:{type:[String],required:!1,default:""},icon:{type:[Object],required:!1},textPosition:{type:String,default:"right"}},setup(l,{slots:i}){const r=e,o=(0,t.computed)(()=>({[r]:!0})),s=(0,t.computed)(()=>l.icon?{[`${r}__icon`]:!0,[`${r}__icon-${l.type}`]:!0}:{[`${r}__mark`]:!0,[`${r}__mark-${l.type}`]:!0}),c=(0,t.computed)(()=>l.color?l.icon?{color:l.color}:{background:l.color}:null),a=(0,t.computed)(()=>{const f={[`${r}__text`]:!0,[`${r}__text-${l.type}`]:!0};return l.textPosition==="left"?f["is-left"]=!0:f["is-right"]=!0,f}),u=(0,t.computed)(()=>l.color?{color:l.color}:null);return()=>{let f=null;if(i.mark)f=i.mark()[0];else{const z={class:s.value,style:c.value};f=(0,t.h)(l.icon??"div",z)}const d=(0,t.h)("div",{class:a.value,style:u.value},i.default?i.default():[]),h={class:o.value};return l.textPosition==="right"?(0,t.h)("div",h,[f,d]):(0,t.h)("div",h,[d,f])}}}}var{componentName:D7,create:M7,scope:A7}=pe("indicator"),P7=M7(V7(D7,A7)),Xn=P7,{componentName:I7,create:L7,scope:R7}=pe("tour"),_7=L7({components:{FoxPopoverDialog:hl,Close:yl},props:{modelValue:{type:Boolean,default:!1},type:{type:String,default:"step"},steps:{type:Array,default:()=>[]},effect:{type:String,default:"light"},placement:{type:String,default:"bottom"},width:{type:String},popoverClass:{type:String},popoverOffset:{type:Array,default:()=>[0,12]},showArrow:{type:Boolean,default:!0},arrowOffset:{type:Number,default:0},current:{type:Number,default:0},nextStepText:{type:String},prevStepText:{type:String},completeText:{type:String},mask:{type:Boolean,default:!0},offset:{type:[Array],default:()=>[8,8]},maskWidth:{type:[Number,String]},maskHeight:{type:[Number,String]},closeOnClickOverlay:{type:Boolean,default:!0},showPrevStep:{type:Boolean,default:!0},showTitleBar:{type:Boolean,default:!0}},emits:["update:modelValue","change","close"],setup(e,{emit:n}){const{toLocaleRefs:l}=(0,Be.useFoxI18n)(R7),i=l(e,["nextStepText","prevStepText","completeText"]),r=I7,o=(0,t.reactive)({showTour:e.modelValue,showPopup:!1,active:e.current??0});(0,t.watch)(()=>e.current,y=>{u("next",y)});const s=(0,t.ref)({}),c=(0,t.computed)(()=>`${r}`),a=(0,t.computed)(()=>{const{offset:y,maskWidth:p,maskHeight:g}=e,{width:S,height:$,left:m,top:C}=s.value,k=[m+S/2,C+$/2],E=Number(p||S),Y=Number(g||$);return{width:`${E+ +y[1]*2}px`,height:`${Y+ +y[0]*2}px`,top:`${k[1]-Y/2-+y[0]}px`,left:`${k[0]-E/2-+y[1]}px`}}),u=(y,p)=>{p>=0?o.active=p:y=="next"?o.active=o.active+1:o.active=o.active-1,o.showPopup=!1,(0,t.nextTick)(()=>{o.showPopup=!0,f()}),n("change",o.active)},f=()=>{let y=null;const p=e.steps[o.active].target;if(typeof p=="function"?y=p():typeof p=="string"?y=document.querySelector(`${p}`):y=p,y){const g=$n(y);s.value=g}},d=()=>{o.showTour=!1,o.showPopup=!1,n("close",o.active),n("update:modelValue",!1)},h=()=>{e.closeOnClickOverlay&&d()};(0,t.onMounted)(()=>{f()}),(0,t.watch)(()=>e.modelValue,y=>{y&&f(),o.active=e.current??0,o.showTour=y,o.showPopup=y});const z=(0,t.computed)(()=>e.steps?.length??0),T=y=>y+1;return{...i,...(0,t.toRefs)(o),classes:c,maskStyle:a,changeStep:u,close:d,handleClickMask:h,stepsSize:z,stepIndex:T}}}),F7={key:0,class:"fox-tour-content"},O7={key:0,class:"fox-tour-content-top"},q7={class:"fox-tour-content-inner"},H7={class:"fox-tour-content-bottom"},K7={class:"fox-tour-content-bottom-init"},j7={class:"fox-tour-content-bottom-operate"},W7={key:1,class:"fox-tour-content fox-tour-content-tile"},Y7={class:"fox-tour-content-inner"};function U7(e,n,l,i,r,o){const s=(0,t.resolveComponent)("Close"),c=(0,t.resolveComponent)("FoxPopoverDialog");return(0,t.openBlock)(),(0,t.createElementBlock)("div",{class:(0,t.normalizeClass)(e.classes)},[(0,t.withDirectives)((0,t.createElementVNode)("div",{class:"fox-tour-masked",onClick:n[0]||(n[0]=(...a)=>e.handleClickMask&&e.handleClickMask(...a))},null,512),[[t.vShow,e.showTour]]),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.steps,(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:u,style:{height:"0"}},[u==e.active?((0,t.openBlock)(),(0,t.createBlock)(c,{key:0,visible:e.showPopup,"onUpdate:visible":n[5]||(n[5]=f=>e.showPopup=f),placement:a.placement||e.placement,effect:e.effect,"close-on-click":!1,offset:a.popoverOffset||e.popoverOffset,"arrow-offset":a.arrowOffset||e.arrowOffset,"show-arrow":e.showArrow,"show-overlay":!1,"custom-class":e.popoverClass,width:e.width},{reference:(0,t.withCtx)(()=>[e.showTour?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:0,class:(0,t.normalizeClass)(["fox-tour-mask",[e.mask?"":"fox-tour-mask-none"]]),style:(0,t.normalizeStyle)(e.maskStyle)},null,6)):(0,t.createCommentVNode)("",!0)]),default:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,"default",{type:e.type,step:a,stepIndex:e.stepIndex(u),stepsSize:e.stepsSize},()=>[e.type=="step"?((0,t.openBlock)(),(0,t.createElementBlock)("div",F7,[e.showTitleBar?((0,t.openBlock)(),(0,t.createElementBlock)("div",O7,[(0,t.createElementVNode)("div",{onClick:n[1]||(n[1]=(...f)=>e.close&&e.close(...f))},[(0,t.createVNode)(s,{class:"fox-tour-content-top-close"})])])):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("div",q7,[(0,t.renderSlot)(e.$slots,"content",{content:a.content},()=>[(0,t.createTextVNode)((0,t.toDisplayString)(a.content),1)])]),(0,t.createElementVNode)("div",H7,[(0,t.createElementVNode)("div",K7,(0,t.toDisplayString)(e.active+1)+"/"+(0,t.toDisplayString)(e.steps.length),1),(0,t.createElementVNode)("div",j7,[(0,t.renderSlot)(e.$slots,"prev-step",{},()=>[e.active!=0&&e.showPrevStep?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:0,class:"fox-tour-content-bottom-operate-btn",onClick:n[2]||(n[2]=f=>e.changeStep("prev"))},(0,t.toDisplayString)(e.prevStepText),1)):(0,t.createCommentVNode)("",!0)]),(0,t.renderSlot)(e.$slots,"complete-step",{},()=>[e.steps.length-1==e.active?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:0,class:"fox-tour-content-bottom-operate-btn active",onClick:n[3]||(n[3]=(...f)=>e.close&&e.close(...f))},(0,t.toDisplayString)(e.completeText),1)):(0,t.createCommentVNode)("",!0)]),(0,t.renderSlot)(e.$slots,"next-step",{},()=>[e.steps.length-1!=e.active?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:0,class:"fox-tour-content-bottom-operate-btn active",onClick:n[4]||(n[4]=f=>e.changeStep("next"))},(0,t.toDisplayString)(e.nextStepText),1)):(0,t.createCommentVNode)("",!0)])])])])):(0,t.createCommentVNode)("",!0),e.type=="tile"?((0,t.openBlock)(),(0,t.createElementBlock)("div",W7,[(0,t.createElementVNode)("div",Y7,[(0,t.renderSlot)(e.$slots,"content",{content:a.content},()=>[(0,t.createTextVNode)((0,t.toDisplayString)(a.content),1)])])])):(0,t.createCommentVNode)("",!0)])]),_:2},1032,["visible","placement","effect","offset","arrow-offset","show-arrow","custom-class","width"])):(0,t.createCommentVNode)("",!0)]))),128))],2)}var Qn=Fe(_7,[["render",U7]]),G7="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAnCAYAAABJ0cukAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDozOUNBQTQ0MkY3RTMxMUVBQjIzNEJCQkYxNDZGQjg5OCIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDozOUNBQTQ0M0Y3RTMxMUVBQjIzNEJCQkYxNDZGQjg5OCI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjM5Q0FBNDQwRjdFMzExRUFCMjM0QkJCRjE0NkZCODk4IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjM5Q0FBNDQxRjdFMzExRUFCMjM0QkJCRjE0NkZCODk4Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+T12ahwAABClJREFUeNrUWVtIFFEY3pkdrbaCiAINK81VW3d2102pjKLtoXoJrNAswoeEXoyilx7sJXvIh6CHAoMg6yEfSpdECIqE0jCMbMm9qCVYUmR5S8huXmZO39nWOI7mzsy6uzqgM/vvzNnv+y/n/84ZjhBiWMwHF+kA+fn5y0ZHRzNwuTomgDnui9/vfzMvBJxWa7bE87W4tMbY8S8MhNz0BQLVugnY7fZdGORZPNNHJmSPUSf47QD/PN75z3NcpqD1IVEU8wC+dZojDIajyMu6WAG322zBmQf/7LzGnHeAdRtjmuAIKYoleMWxQnUEHA6HVZLldsb0m3oehdQQzzQSVILPJLIcYEw/4HkK/kG86yAsAZvNtgng3059hte/Gf56/uFCaGR8mIJdj3m2hzGNGAkpRM4vCPBzErBYLMko2A//DIQMoQ0WtgcCjWFnCVGswEzxCecqLc0y9Nyww2ariYhAbm7umgRB6GNM/QTgfT7fEzWD4t7dOK0D4TKAcrtcLkENeNx/gUoSpOnx4Gc9BHJyclZNjI8PMqY+judp2jSr1iuENDPi5fDX4WG32WxeogL81NGRIEk3NBNAh10uS9IIY/oIbxR6vd4WLXmJAq9Ayl1kTAUmk8mNyJrUgDfK8hFPV9dnTQSCHiLkO/Ndb8jzrXqKawYJQg4gsu6srKyV4cC/7ujo1CqneRSPxNh74PligPdE3PYVIDHuY6PRWCxPTp7VC35KSvwjwBpwdPP4gXYc86ZdZnr6Pf7S9HqexUs9z0qBLprz8wn+PzWRFknaKGsgjwlvCdLGH42GQ0lg+dqkMP+Enj+lF/yMWYgnJD1qEhhphOWgS2E2yQZDJWa/lEgIvGIa0D2HKJZGA7yiBgaZqO9AermdFstGXQR8fn+BootW4wfPRBE8zXmXoia2SYLgpsJRVwqBBJ2N+pnueRVhPR8l8MGCnaWw8wDCDSWQoasGQCKJnpjGcwkkKqMBfo7ZyQklQCOxWVcRg4QDXmhkSJRjsGvRAD8HCTuNhNPpXKtLzHn9/n0orBqm052GvL2lcfepTMs8PwsJqyRJRbrlNFpBCUBcYWaKE2h4tampqUtV6pP60HNtapuUksTY2NidiLcWUQPnMOhlxvQoITGxxOPxDIVdR2dnb/V2dr7Umn50/Q31261JC4UhUQYSVUxdtPCCUAK10RuvZeQ0LRQ2tD7fddxdyuT3TijJehATF/yinqmJ2wB+jCGRA11TH9xiXAwEQpG4i0gcZHLPjHSqF0Vx76IgEIpEA9a7+3H5K2RK4jnuPvTToXgR0LW9Htpap71iAzPVNsUIMH0XMdXkfLrfD9BdanifksiKW/5w3Emj3mcHBgb6kpKTn6KYzfBCehzg10H6lHPzMdIWq9U8znEpsXE6N4rTO9TjSGgPanG/pfwjwABn1PZcM5XI0AAAAABJRU5ErkJggg0KLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLTkwMjA5MzIyMjIxMzkzMzc2NzAwNjg0MC0tDQo=",X7="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAAgCAYAAACLmoEDAAACb0lEQVRYR+WY33HTMBzHvz/J72QD8tyzhJiAMAHdgDBBywQ0E5BuECYAJqCZAGPl+pxMQPoeSZwUy6ck7sUlBtziJ59P/urj33+ZlFIDa8wHAOcAhujftQYwY5xPSOb5FEQX/WPcI3LumqQQPwEMeg8LrD2sq0DnpdajvkFLIW4AvPJcjx/WJ50x5oX/Gs75qiiKpb9XSg2NMc+r5z+KovDBD3V2pgznz/y91noevSOECBbhxtwVt7dFpfEg7aOWVXk+skTfwqZEk7Isr/ytlPIKzvnKAebc62Kx8C5CKlhqTRG2KcRO0W4Mg1ME/z6sUkNr7ThY0NqbaMHwEYyFJGSMzWJ4CCHGRBRqdPRC7QkAzrml1noWQ6lJu43XepNg/wesz3q72bzdr7kMmMeQEEKck3OhYrAs+xRDQkp5AWtDkykXi0nt+krPEa3qkPBhVdVQRzQiYBti9yTv8QRLidPKkBTrPfHYZBCTbSdhgbr5pK5Pt3nCsEoNsNmog9abZcu0QWCz2U5pWVakDQKMDWDtOjaCEAp5vm3luxr37VPrHW0KB5D/8MHTgvW93nL+vWq378uynFZF/hLOfezM0ESN2syYlzGEjlq2TbvtBPiBc0dz6XpMlu3Eah2JHA2DjvbpRKYZlqhwzl12skOHIkQ0hXOh5pOUcgnnwvTf64toRWEgAT73GtTPxMC7cARJh+o+QscDQH1e6iPkPtNJsOmpts3HpqfcNuu7hd3+J/NnqzctNv/KOB/H6azF+oMlJ1k2qlVJ6qHDv4O9684BY631l98BTN/pBDYkabOVT7bmH4HdsTLR1DeYLqyZwv4CcPRPSfNVZqIAAAAASUVORK5CYIINCi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0wMTYzMDQxMzE1MzQyMTczMjcwODA5NzYtLQ0K",{create:Q7,scope:Z7}=pe("number-keyboard"),J7=Q7({components:{FoxPopup:vt},props:{confirmText:{type:String},title:{type:String},visible:{type:Boolean,default:!1},type:{type:String,default:"default"},customKey:{type:Array,default:()=>[]},modelValue:{type:String,default:""},maxlength:{type:[Number,String],default:6},randomKeys:{type:Boolean,default:!1},popClass:{type:String,default:""}},emits:["input","delete","close","blur","update:modelValue","update:visible"],setup(e,{emit:n}){const{toLocaleRefs:l}=(0,Be.useFoxI18n)(Z7),i=l(e,["confirmText"]),r=(0,t.computed)(()=>{const S=["fox-number-keyboard-popup"];return e.popClass&&S.push(e.popClass),S.join(" ")}),o=(0,t.ref)(void 0),s=(0,t.ref)(e.visible),c=(0,t.ref)();function a(){const{customKey:S}=e;let $={id:"lock",type:"lock"},m=Array.isArray(S)?S:[S];return m.length===1&&($={id:m[0],type:"custom"}),[...u(),$,{id:0,type:"number"},{id:"delete",type:"delete"}]}function u(){const S=[];for(let $=1;$<=9;$++)S.push({id:$,type:"number"});return e.randomKeys?S.sort(()=>Math.random()>.5?1:-1):S}function f(){const S=u(),{customKey:$}=e;let m=Array.isArray($)?$:[$];return m.length>2&&(m=[m[0],m[1]]),m.length==2&&e.title&&e.type!="rightColumn"&&(m=[m[0]]),m.length===1?e.title&&e.type!="rightColumn"?S.push({id:m[0],type:"custom"},{id:0,type:"number"},{id:"delete",type:"delete"}):S.push({id:0,type:"number"},{id:m[0],type:"custom"}):m.length===2&&S.push({id:m[0],type:"custom"},{id:0,type:"number"},{id:m[1],type:"custom"}),S}const d=(0,t.computed)(()=>e.type=="rightColumn"||e.title!=""?f():a()),h=()=>{e.visible&&n("blur")},z=S=>{const $=c.value;$&&!$.contains(S.target)&&h()};(0,t.watch)(()=>e.visible,S=>{s.value=S,S?window.addEventListener("touchstart",z,!1):window.removeEventListener("touchstart",z,!1)});function T(S,$){$.stopPropagation(),o.value=S.id,(S.type=="number"||S.type=="custom")&&(n("input",S.id),e.modelValue.length<Number(e.maxlength)&&n("update:modelValue",e.modelValue+S.id)),S.type=="lock"&&g(),S.type=="delete"&&(n("delete"),n("update:modelValue",e.modelValue.slice(0,e.modelValue.length-1)))}function y(S){S.stopPropagation()}function p(S){S.preventDefault(),o.value=void 0}function g(){n("update:visible",!1),n("close")}return{...i,allPopClass:r,delImg:G7,lockImg:X7,clickKeyIndex:o,defaultKey:a,closeBoard:g,onTouchEnd:p,onTouchMove:y,onTouchstart:T,keysList:d,genCustomKeys:f,getBasicKeys:u,root:c,show:s}}}),em={ref:"root"},tm={class:"fox-number-keyboard"},lm={key:0,class:"fox-number-keyboard__header"},am={class:"fox-number-keyboard__title"},nm={class:"fox-number-keyboard__body"},rm={class:"fox-number-keyboard__keys"},om=["onTouchstart"],im=["src"],sm=["src"],cm={key:0,class:"fox-number-keyboard__sidebar"},um={class:"fox-key__wrapper"},dm=["src"];function fm(e,n,l,i,r,o){const s=(0,t.resolveComponent)("FoxPopup");return(0,t.openBlock)(),(0,t.createElementBlock)("div",em,[(0,t.createVNode)(s,{visible:e.show,"onUpdate:visible":n[7]||(n[7]=c=>e.show=c),position:"bottom",popClass:e.allPopClass,overlay:!1,teleportDisable:!1},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("div",tm,[e.title?((0,t.openBlock)(),(0,t.createElementBlock)("div",lm,[(0,t.createElementVNode)("h3",am,(0,t.toDisplayString)(e.title),1),e.type=="default"?((0,t.openBlock)(),(0,t.createElementBlock)("span",{key:0,class:"fox-number-keyboard__close",onClick:n[0]||(n[0]=c=>e.closeBoard())},(0,t.toDisplayString)(e.confirmText),1)):(0,t.createCommentVNode)("",!0)])):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("div",nm,[(0,t.createElementVNode)("div",rm,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.keysList,c=>((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:"key"+c.id,class:(0,t.normalizeClass)(["fox-key__wrapper",{"fox-key__wrapper--wider":c.id==0&&e.type=="rightColumn"&&Array.isArray(e.customKey)&&e.customKey.length==1}])},[(0,t.createElementVNode)("div",{class:(0,t.normalizeClass)(["fox-key",{"fox-key--active":c.id==e.clickKeyIndex},{"fox-key--lock":c.type=="lock"},{"fox-key--delete":c.type=="delete"}]),onTouchstart:a=>e.onTouchstart(c,a),onTouchmove:n[1]||(n[1]=a=>e.onTouchMove(a)),onTouchend:n[2]||(n[2]=a=>e.onTouchEnd(a))},[c.type=="number"||c.type=="custom"?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:0},[(0,t.createTextVNode)((0,t.toDisplayString)(c.id),1)],64)):(0,t.createCommentVNode)("",!0),c.type=="lock"?((0,t.openBlock)(),(0,t.createElementBlock)("img",{key:1,src:e.lockImg},null,8,im)):(0,t.createCommentVNode)("",!0),c.type=="delete"?((0,t.openBlock)(),(0,t.createElementBlock)("img",{key:2,src:e.delImg},null,8,sm)):(0,t.createCommentVNode)("",!0)],42,om)],2))),128))]),e.type=="rightColumn"?((0,t.openBlock)(),(0,t.createElementBlock)("div",cm,[(0,t.createElementVNode)("div",um,[(0,t.createElementVNode)("div",{class:(0,t.normalizeClass)(["fox-key",{active:e.clickKeyIndex=="delete"}]),onTouchstart:n[3]||(n[3]=c=>e.onTouchstart({id:"delete",type:"delete"},c)),onTouchmove:n[4]||(n[4]=c=>e.onTouchMove(c)),onTouchend:n[5]||(n[5]=(...c)=>e.onTouchEnd&&e.onTouchEnd(...c))},[(0,t.createElementVNode)("img",{src:e.delImg},null,8,dm)],34)]),(0,t.createElementVNode)("div",{class:"fox-key__wrapper fox-key__wrapper--finish",onClick:n[6]||(n[6]=c=>e.closeBoard())},[(0,t.createElementVNode)("div",{class:(0,t.normalizeClass)(["fox-key","fox-key--finish ",{activeFinsh:e.clickKeyIndex=="finish"}])},(0,t.toDisplayString)(e.confirmText),3)])])):(0,t.createCommentVNode)("",!0)])])]),_:1},8,["visible","popClass"])],512)}var Zn=Fe(J7,[["render",fm]]),{create:mm,scope:hm}=pe("short-password"),pm=mm({components:{FoxPopup:vt,Tips:So},props:{title:{type:String},desc:{type:String},tips:{type:String},visible:{type:Boolean,default:!1},modelValue:{type:String,default:""},errorMsg:{type:String},closeOnClickOverlay:{type:Boolean,default:!0},length:{type:[String,Number],default:6}},emits:["update:modelValue","update:visible","complete","tips","close","focus"],setup(e,{emit:n}){const{toLocaleRefs:l}=(0,Be.useFoxI18n)(hm),i=l(e,["title","desc","tips"]),r=(0,t.ref)(e.modelValue),o=(0,t.computed)(()=>u(Number(e.length))),s=(0,t.ref)(e.visible),c=d=>{d.stopPropagation(),n("focus")};(0,t.watch)(()=>e.visible,d=>{s.value=d}),(0,t.watch)(()=>e.modelValue,d=>{r.value=d,String(d).length===o.value&&n("complete",d)});const a=()=>{n("update:visible",!1),n("close")},u=d=>Math.min(Math.max(4,d),6);return{comLen:o,realInput:r,onTouchStart:c,range:u,close:a,onTips:()=>{n("tips")},show:s,...i}}}),gm={class:"fox-short-password-title"},ym={class:"fox-short-password-subtitle"},bm={class:"fox-short-password-wrapper"},Sm={key:0,class:"fox-short-password__item-icon"},wm={class:"fox-short-password__message"},vm={class:"fox-short-password--error"},Cm={key:0,class:"fox-short-password--forget"};function Nm(e,n,l,i,r,o){const s=(0,t.resolveComponent)("Tips"),c=(0,t.resolveComponent)("FoxPopup");return(0,t.openBlock)(),(0,t.createElementBlock)("view",null,[(0,t.createVNode)(c,{style:{padding:"30px 24px 20px 24px",borderRadius:"12px",textAlign:"center",top:"45%"},visible:e.show,"onUpdate:visible":n[2]||(n[2]=a=>e.show=a),closeable:!0,onClickCloseIcon:e.close,"close-on-click-overlay":e.closeOnClickOverlay,onClickOverlay:e.close,teleportDisable:!1},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("view",gm,(0,t.toDisplayString)(e.title),1),(0,t.createElementVNode)("view",ym,(0,t.toDisplayString)(e.desc),1),(0,t.createElementVNode)("div",bm,[(0,t.createElementVNode)("view",{class:"fox-short-password__list",onTouchstart:n[0]||(n[0]=(...a)=>e.onTouchStart&&e.onTouchStart(...a))},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(new Array(e.comLen),(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:"fox-short-password__item",key:u},[String(e.realInput).length>u?((0,t.openBlock)(),(0,t.createElementBlock)("view",Sm)):(0,t.createCommentVNode)("",!0)]))),128))],32)]),(0,t.createElementVNode)("view",wm,[(0,t.createElementVNode)("view",vm,(0,t.toDisplayString)(e.errorMsg),1),e.tips?((0,t.openBlock)(),(0,t.createElementBlock)("view",Cm,[(0,t.createVNode)(s,{class:"icon",width:"11px",height:"11px"}),(0,t.createElementVNode)("view",{onClick:n[1]||(n[1]=(...a)=>e.onTips&&e.onTips(...a))},(0,t.toDisplayString)(e.tips),1)])):(0,t.createCommentVNode)("",!0)])]),_:1},8,["visible","onClickCloseIcon","close-on-click-overlay","onClickOverlay"])])}var Jn=Fe(pm,[["render",Nm]]),{componentName:km,create:xm,scope:Tm}=pe("signature"),Em=xm({props:{customClass:{type:[String],default:""},lineWidth:{type:[Number],default:2},strokeStyle:{type:[String],default:()=>document.getElementsByTagName("body")[0].className.indexOf("fox-theme-dark")==-1?"#000":"#fff"},type:{type:[String],default:"png"},unSupportTpl:{type:[String],default:""}},components:{FoxButton:V.ElButton},emits:["start","end","signing","confirm","clear"],setup(e,{emit:n,expose:l}){const{toLocaleRefs:i}=(0,Be.useFoxI18n)(Tm),r=i(e,["unSupportTpl","reSign","confirmText"]),o=(0,t.ref)(null),s=(0,t.ref)(null),c=(0,t.computed)(()=>({[km]:!0,[`${e.customClass}`]:e.customClass})),a=(0,t.reactive)({canvasHeight:0,canvasWidth:0,ctx:null,isSupportTouch:"ontouchstart"in window,events:"ontouchstart"in window?["touchstart","touchmove","touchend","touchleave"]:["mousedown","mousemove","mouseup","mouseleave"]}),u=()=>{let m=document.createElement("canvas");return!!(m.getContext&&m.getContext("2d"))},f=()=>{o.value.addEventListener(a.events[0],h,!1)},d=()=>{o.value?.removeEventListener(a.events[0],h,!1)},h=m=>{m.preventDefault(),a.ctx.beginPath(),a.ctx.lineWidth=e.lineWidth,a.ctx.strokeStyle=e.strokeStyle,n("start"),o.value.addEventListener(a.events[1],z,!1),o.value.addEventListener(a.events[2],T,!1),o.value.addEventListener(a.events[3],y,!1)},z=m=>{m.preventDefault();let C=a.isSupportTouch?m.touches[0]:m;n("signing",C);let k=o.value.getBoundingClientRect(),E=C.clientX-k.left,Y=C.clientY-k.top;a.ctx.lineTo(E,Y),a.ctx.stroke()},T=m=>{m.preventDefault(),n("end"),o.value.removeEventListener(a.events[1],z,!1),o.value.removeEventListener(a.events[2],T,!1)},y=m=>{m.preventDefault(),o.value.removeEventListener(a.events[1],z,!1),o.value.removeEventListener(a.events[2],T,!1)},p=()=>{o.value.addEventListener(a.events[2],T,!1),a.ctx.clearRect(0,0,a.canvasWidth,a.canvasHeight),a.ctx.closePath(),n("clear")},g=()=>{$(o.value)},S=m=>{if(!m)return!0;var C=document.createElement("canvas");return C.width=m.width,C.height=m.height,m?.toDataURL()==C.toDataURL()},$=m=>{let C;switch(e.type){case"png":C=m.toDataURL("image/png");break;case"jpg":C=m.toDataURL("image/jpeg",.8);break}n("confirm",S(m)?"请绘制签名":m,S(m)?"":C)};return(0,t.onMounted)(()=>{u()&&(a.ctx=o.value.getContext("2d"),a.canvasWidth=s.value.offsetWidth,a.canvasHeight=s.value.offsetHeight,f())}),(0,t.onBeforeUnmount)(()=>{d()}),l({confirm:g,clear:p}),{...r,...(0,t.toRefs)(a),canvas:o,wrap:s,isCanvasSupported:u,confirm:g,clear:p,classes:c}}}),zm={class:"fox-signature__inner",ref:"wrap"},$m=["height","width"],Bm={key:0,class:"fox-signature-unsopport"},Vm={class:"fox-signature__toolbar"};function Dm(e,n,l,i,r,o){const s=(0,t.resolveComponent)("FoxButton");return(0,t.openBlock)(),(0,t.createElementBlock)("div",{class:(0,t.normalizeClass)(e.classes)},[(0,t.createElementVNode)("div",zm,[(0,t.withDirectives)((0,t.createElementVNode)("canvas",{ref:"canvas",height:e.canvasHeight,width:e.canvasWidth},null,8,$m),[[t.vShow,e.isCanvasSupported()]]),e.isCanvasSupported()?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createElementBlock)("p",Bm,(0,t.toDisplayString)(e.unSupportTpl),1))],512),(0,t.createElementVNode)("div",Vm,[(0,t.renderSlot)(e.$slots,"toolbar",{},()=>[(0,t.createVNode)(s,{class:"fox-signature-btn",type:"default",onClick:n[0]||(n[0]=c=>e.clear())},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.reSign),1)]),_:1}),(0,t.createVNode)(s,{class:"fox-signature-btn",type:"primary",onClick:n[1]||(n[1]=c=>e.confirm())},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.confirmText),1)]),_:1})])])],2)}var er=Fe(Em,[["render",Dm]]),Mm={name:{type:[String],required:!1,default:""},config:{type:[Object],required:!1,default:()=>{}},innerPageScope:{type:[Boolean,Object],required:!1},abstractPageScope:{type:[Boolean,Object],required:!1}};function Am(e,n){return{inheritAttrs:!1,props:Mm,setup(l,i){const{exposeApi:r}=Dr({context:i,props:()=>l.config},l.name);return Pe(l.innerPageScope)||_a(l.innerPageScope),Pe(l.abstractPageScope)||Pr(l.abstractPageScope),r(),()=>typeof i.slots.default=="function"?i.slots.default():null}}}var{componentName:Pm,create:Im,scope:Lm}=pe("domain-provider"),Rm=Im(Am(Pm,Lm)),tr=Rm,_m={initialVisibleObserverSize:{type:[Number],required:!1},initialInvisibleObserverHeight:{type:[String],required:!1,default:()=>"250px"},disabled:{type:[Boolean],required:!1},loadPolicy:{type:[String],required:!1,default:()=>"rolling"},rootMargin:{type:[String],required:!1,default:()=>"250px 0px 250px 0px"},threshold:{type:[Array],required:!1,default:()=>[0,.25]},root:{type:[Object,String]}};function Fm(e,n){return{inheritAttrs:!1,props:_m,emits:["change"],setup(l,{slots:i,emit:r}){if(Nt&&window.IntersectionObserver){const o=new WeakMap;let s=new Map;const c=(h,z)=>{if(f===null){s.set(h,{visible:null,callback:z});return}o.has(h)&&f.unobserve(h),o.set(h,{visible:null,callback:z}),f.observe(h)},a=h=>{if(f===null){s.delete(h);return}o.has(h)&&(o.delete(h),f.unobserve(h))};let u=l.initialVisibleObserverSize;sc({acquire:()=>{if(l.loadPolicy==="always")return!0;const h=u>0;return u--,h},get disabled(){return l.disabled},get initialHeight(){return l.initialInvisibleObserverHeight},observe:c,unobserve:a});let f=null;const d=(h,z,T)=>{f=new IntersectionObserver(y=>{if(r("change",y),l.loadPolicy!=="always")for(let p of y){let g=!1;p.isIntersecting&&(g=!0);const S=o.get(p.target);if(S)try{if(l.loadPolicy==="lazy"&&!g&&S.visible!==null)return;S.visible=g,S.callback(g)}catch($){console.error($)}}},{root:h,rootMargin:z,threshold:T}),s.forEach((y,p)=>{o.set(p,y),f?.observe(p)}),s.clear()};(0,t.watch)([()=>l.root,()=>l.disabled],([h,z])=>{if(z||!h||f)return;let T=null;typeof h=="string"?T=document.querySelector(h):T=h,T&&d(T,l.rootMargin,l.threshold)},{immediate:!0}),(0,t.onUnmounted)(()=>{f&&(f.disconnect(),f=null)})}return()=>typeof i.default=="function"?i.default():null}}}var{componentName:Om,create:qm,scope:Hm}=pe("rolling-provider"),Km=qm(Fm(Om,Hm)),lr=Km,jm=[qa,ja,Wa,Ya,Ga,ml,Jl,ea,Ja,Ge,ta,en,tn,ln,on,sn,cn,un,dn,mn,hn,pn,gn,na,Sn,wn,vn,Cn,Nn,kn,xn,Tn,sa,En,Vn,Dn,Nl,kl,ua,Pn,Rn,qn,hl,ca,aa,Hn,Kn,la,vt,Gt,Sl,ia,Yn,Un,Gn,Ot,Zl,Xn,Ft,Qn,Zn,Jn,er,tr,lr],Wm=new $s(jm,[Ds],"4.0.0");b.AbstractPageScopeKey=Fa,b.ActionsheetItem=En,b.FoxActionsheetItem=En,b.ActionsheetPane=sa,b.FoxActionsheetPane=sa,b.AutocompleteItem=hn,b.FoxAutocompleteItem=hn,b.Broadcast=kr,b.BroadcastKey=ot,b.ButtonsItem=Ja,b.FoxButtonsItem=Ja,b.CalendarItem=on,b.FoxCalendarItem=on,b.CascaderItem=mn,b.FoxCascaderItem=mn,b.CheckboxItem=vn,b.FoxCheckboxItem=vn,b.Content=Ya,b.FoxContent=Ya,b.DataItemsKey=il,b.DateItem=ln,b.FoxDateItem=ln,b.DateUtils=dt,b.DialogItem=Kn,b.FoxDialogItem=Kn,b.Domain=Ll,b.DomainKey=xt,b.DomainProvider=tr,b.FoxDomainProvider=tr,b.FloatingButton=Gn,b.FoxFloatingButton=Gn,b.FloatingWindow=qn,b.FoxFloatingWindow=qn,b.FooterBar=Wa,b.FoxFooterBar=Wa,b.FoxAffix=V.ElAffix,b.FoxAlert=V.ElAlert,b.FoxAnchor=V.ElAnchor,b.FoxAnchorLink=V.ElAnchorLink,b.FoxAside=V.ElAside,b.FoxAutoResizer=V.ElAutoResizer,b.FoxAutocomplete=V.ElAutocomplete,b.FoxAvatar=V.ElAvatar,b.FoxBacktop=V.ElBacktop,b.FoxBadge=V.ElBadge,b.FoxBreadcrumb=V.ElBreadcrumb,b.FoxBreadcrumbItem=V.ElBreadcrumbItem,b.FoxButton=V.ElButton,b.FoxButtonGroup=V.ElButtonGroup,b.FoxCalendar=V.ElCalendar,b.FoxCard=V.ElCard,b.FoxCarousel=V.ElCarousel,b.FoxCarouselItem=V.ElCarouselItem,b.FoxCascader=V.ElCascader,b.FoxCascaderPanel=V.ElCascaderPanel,b.FoxCheckTag=V.ElCheckTag,b.FoxCheckbox=V.ElCheckbox,b.FoxCheckboxButton=V.ElCheckboxButton,b.FoxCheckboxGroup=V.ElCheckboxGroup,b.FoxCol=V.ElCol,b.FoxCollapse=V.ElCollapse,b.FoxCollapseItem=V.ElCollapseItem,b.FoxCollapseTransition=V.ElCollapseTransition,b.FoxColorPicker=V.ElColorPicker,b.FoxConfigProvider=V.ElConfigProvider,b.FoxContainer=V.ElContainer,b.FoxCountdown=V.ElCountdown,b.FoxDatePicker=V.ElDatePicker,b.FoxDescriptions=V.ElDescriptions,b.FoxDescriptionsItem=V.ElDescriptionsItem,b.FoxDialog=V.ElDialog,b.FoxDivider=V.ElDivider,b.FoxDrawer=V.ElDrawer,b.FoxDropdown=V.ElDropdown,b.FoxDropdownItem=V.ElDropdownItem,b.FoxDropdownMenu=V.ElDropdownMenu,b.FoxEmpty=V.ElEmpty,b.FoxFooter=V.ElFooter,b.FoxForm=V.ElForm,b.FoxFormItem=V.ElFormItem,b.FoxGroup=Ga,b.Group=Ga,b.FoxGroupSetting=xn,b.GroupSetting=xn,b.FoxHeader=V.ElHeader,b.FoxHeaderBar=ja,b.HeaderBar=ja,b.FoxHintText=Ge,b.HintText=Ge,b.FoxIcon=V.ElIcon,b.FoxImage=V.ElImage,b.FoxImageViewer=V.ElImageViewer,b.FoxIndicator=Xn,b.Indicator=Xn,b.FoxInfiniteLoading=ia,b.InfiniteLoading=ia,b.FoxInput=V.ElInput,b.FoxInputItem=ta,b.InputItem=ta,b.FoxInputNumber=V.ElInputNumber,b.FoxInputNumberItem=dn,b.InputNumberItem=dn,b.FoxInputTag=V.ElInputTag,b.FoxItem=ml,b.Item=ml,b.FoxLink=V.ElLink,b.FoxLinkItem=Dn,b.LinkItem=Dn,b.FoxMain=V.ElMain,b.FoxMapping=Ot,b.Mapping=Ot,b.FoxMention=V.ElMention,b.FoxMenu=V.ElMenu,b.FoxMenuItem=V.ElMenuItem,b.FoxMenuItemGroup=V.ElMenuItemGroup,b.FoxMessage=V.ElMessage,b.FoxMessageBox=V.ElMessageBox,b.FoxMoneyItem=un,b.MoneyItem=un,b.FoxMoreButton=Un,b.MoreButton=Un,b.FoxNotification=V.ElNotification,b.FoxNumberKeyboard=Zn,b.NumberKeyboard=Zn,b.FoxOption=V.ElOption,b.FoxOptionGroup=V.ElOptionGroup,b.FoxOverLay=la,b.OverLay=la,b.FoxPage=qa,b.Page=qa,b.FoxPageHeader=V.ElPageHeader,b.FoxPagination=V.ElPagination,b.FoxPickerItem=Vn,b.PickerItem=Vn,b.FoxPopconfirm=V.ElPopconfirm,b.FoxPopover=V.ElPopover,b.FoxPopoverDialog=hl,b.PopoverDialog=hl,b.FoxPopper=V.ElPopper,b.FoxPopup=vt,b.Popup=vt,b.FoxPrice=Zl,b.Price=Zl,b.FoxProgress=V.ElProgress,b.FoxPullRefresh=Yn,b.PullRefresh=Yn,b.FoxRadio=V.ElRadio,b.FoxRadioButton=V.ElRadioButton,b.FoxRadioGroup=V.ElRadioGroup,b.FoxRadioItem=wn,b.RadioItem=wn,b.FoxRate=V.ElRate,b.FoxRateItem=Cn,b.RateItem=Cn,b.FoxResult=V.ElResult,b.FoxRollingProvider=lr,b.RollingProvider=lr,b.FoxRow=V.ElRow,b.FoxRowItem=ea,b.RowItem=ea,b.FoxScrollbar=V.ElScrollbar,b.FoxSearchBar=Sl,b.SearchBar=Sl,b.FoxSegmented=V.ElSegmented,b.FoxSelect=V.ElSelect,b.FoxSelectItem=tn,b.SelectItem=tn,b.FoxSelectV2=V.ElSelectV2,b.FoxShortPassword=Jn,b.ShortPassword=Jn,b.FoxSignature=er,b.Signature=er,b.FoxSkeleton=V.ElSkeleton,b.FoxSkeletonItem=V.ElSkeletonItem,b.FoxSlider=V.ElSlider,b.FoxSlotItem=Jl,b.SlotItem=Jl,b.FoxSpace=V.ElSpace,b.FoxStatistic=V.ElStatistic,b.FoxStep=V.ElStep,b.FoxSteps=V.ElSteps,b.FoxStepsBar=Rn,b.StepsBar=Rn,b.FoxSubMenu=V.ElSubMenu,b.FoxSwitch=V.ElSwitch,b.FoxSwitchItem=Nn,b.SwitchItem=Nn,b.FoxTabPane=V.ElTabPane,b.FoxTable=V.ElTable,b.FoxTableColumn=V.ElTableColumn,b.FoxTableItem=Sn,b.TableItem=Sn,b.FoxTableMappingColumn=pn,b.TableMappingColumn=pn,b.FoxTableRadioColumn=gn,b.TableRadioColumn=gn,b.FoxTableSetting=na,b.TableSetting=na,b.FoxTableV2=V.ElTableV2,b.FoxTabs=V.ElTabs,b.FoxTabsBar=Nl,b.TabsBar=Nl,b.FoxTabsContainer=kl,b.TabsContainer=kl,b.FoxTabsFrame=Pn,b.TabsFrame=Pn,b.FoxTabsPane=ua,b.TabsPane=ua,b.FoxTag=V.ElTag,b.FoxText=Ft,b.Text=Ft,b.FoxTextareaItem=en,b.TextareaItem=en,b.FoxTimeItem=sn,b.TimeItem=sn,b.FoxTimePicker=V.ElTimePicker,b.FoxTimeSelect=V.ElTimeSelect,b.FoxTimeSelectItem=cn,b.TimeSelectItem=cn,b.FoxTimeline=V.ElTimeline,b.FoxTimelineItem=V.ElTimelineItem,b.FoxToast=Gt,b.Toast=Gt,b.FoxTooltip=V.ElTooltip,b.FoxTour=Qn,b.Tour=Qn,b.FoxTransfer=V.ElTransfer,b.FoxTree=V.ElTree,b.FoxTreeItem=Tn,b.TreeItem=Tn,b.FoxTreeSelect=V.ElTreeSelect,b.FoxTreeSelectItem=kn,b.TreeSelectItem=kn,b.FoxTreeV2=V.ElTreeV2,b.FoxUpload=V.ElUpload,b.FoxWatermark=V.ElWatermark,b.Foxcalendarpicker=aa,b.calendarpicker=aa,b.Foxcascaderpicker=Hn,b.cascaderpicker=Hn,b.Foxpicker=ca,b.picker=ca,b.InnerPageScopeKey=Ra,b.PriorityPolicy=it,b.UniqueID=Jr,b.ValidateSchema=$r,b.ValidateSchemaKey=kt,b.browseProperty=Rr,b.cancelRaf=Ki,b.clamp=ss,b.clearNonNumber=ls,b.compareTo=Ea,b.createBroadcast=al,b.createValidateSchema=Al,b.debounce=rt,b.debounceRef=ys,b.decimalLength=vr,b.default=Wm,b.defineConfigDomain=Dr,b.defineDataItem=Mr,b.defineDomain=Ia,b.defineDomainItemProperty=je,b.defineItem=Le,b.definePageState=Ar,b.defineSimpleItem=Dt,b.deleteGlobalValidator=ms,b.disabledProperty=Lr,b.divide=Ta,b.excludeProps=Ie,b.extend=Lt,b.floatData=rs,b.getGlobalIcons=jr,b.getGlobalValidateCheckEvents=Tr,b.getGlobalValidateResetEvents=zr,b.getPageContentAreaHeight=Ol,b.getPageContentAreaWidth=ql,b.getPageFooterAreaHeight=Fl,b.getPageHeaderAreaHeight=_l,b.getRootDomain=Rt,b.hasSymbol=gr,b.includeProps=wt,b.indexOf=as,b.injectPageScopeState=sl,b.integerLength=wr,b.isArray=Wi,b.isArrayLike=br,b.isBrowser=Nt,b.isDate=$a,b.isDisplayNone=Da,b.isESModule=Qi,b.isEmptyString=ke,b.isEqual=Qe,b.isFunction=Ba,b.isHidden=tl,b.isMap=Yi,b.isNil=Pe,b.isNumberString=Aa,b.isObject=et,b.isPlainObject=Xi,b.isPromise=Bl,b.isRegExp=Ma,b.isSet=Ui,b.isString=hr,b.isSubPage=vs,b.isSymbol=Gi,b.isTouch=wl,b.isWindow=yr,b.kebabToPascal=ll,b.lastIndexOf=ns,b.makeArray=ts,b.merge=Sr,b.multiply=dr,b.negate=fr,b.nextTick=Ji,b.numberFormat=$l,b.objectToString=pr,b.once=bs,b.overrideGlobalIcons=Fs,b.overrideGlobalValidateHandler=ds,b.padZero=is,b.pascalToKebab=Nr,b.preventDefault=os,b.property=_e,b.provideAbstractPageScope=Pr,b.provideInnerPageScope=_a,b.raf=za,b.readonlyProperty=Ir,b.setGlobalValidateCheckEvents=hs,b.setGlobalValidateHandler=us,b.setGlobalValidateMessages=gs,b.setGlobalValidateResetEvents=ps,b.setGlobalValidator=fs,b.throttle=Vr,b.toBoolean=Ce,b.toNumber=Te,b.toPadding=mt,b.toPx=ve,b.toPxDesc=ws,b.toPxString=Ne,b.toTypeString=Vl,b.toValue=Ve,b.tryTimes=Il,b.typeOf=Dl,b.unNumberFormat=mr,b.updatePageState=La,b.useBroadcast=nl,b.useDomain=Tt,b.useElementSize=jl,b.useInnerSize=Ka,b.usePageState=Rl,b.usePosition=Xr,b.useRawTouch=vl,b.useRect=$n,b.useSize=Ha,b.useSlotChildren=ul,b.useTouch=li,b.valueLength=St});
|
|
1
|
+
(function(v,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("vue"),require("@fox-js/validator"),require("element-plus"),require("@element-plus/icons-vue"),require("@fox-js/i18n")):typeof define=="function"&&define.amd?define(["exports","vue","@fox-js/validator","element-plus","@element-plus/icons-vue","@fox-js/i18n"],t):(v=typeof globalThis<"u"?globalThis:v||self,t(v.FoxUI={},v.Vue,v.FoxValidator,v.ElementPlus,v.ElementPlusIconsVue,v.FoxI18n))})(this,function(v,t,Vt,I,Ke,Pe){Object.defineProperties(v,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var Ri=Object.create,rr=Object.defineProperty,Fi=Object.getOwnPropertyDescriptor,Mi=Object.getOwnPropertyNames,Li=Object.getPrototypeOf,or=Object.prototype.hasOwnProperty,pt=(e,n)=>()=>(n||(e((n={exports:{}}).exports,n),e=null),n.exports),_i=(e,n,l,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(var a=Mi(n),o=0,s=a.length,u;o<s;o++)u=a[o],!or.call(e,u)&&u!==l&&rr(e,u,{get:(i=>n[i]).bind(null,u),enumerable:!(r=Fi(n,u))||r.enumerable});return e},vt=(e,n,l)=>(l=e!=null?Ri(Li(e)):{},_i(n||!e||!e.__esModule||!or.call(e,"default")?rr(l,"default",{value:e,enumerable:!0}):l,e)),En=window,qi=typeof window<"u";function zi(){return typeof En<"u"?En.requestAnimationFrame||En.webkitRequestAnimationFrame||function(e){En.setTimeout(e,1e3/60)}:function(e){setTimeout(e,1e3/60)}}function ji(e){qi?cancelAnimationFrame(e):clearTimeout(e)}var wa=zi();function Pn(e,n="0"){let l=0,r=-1;e[0]=="-"&&(l++,r=1,e=e.substring(1),e.length),n[0]=="-"&&(l++,r=2,n=n.substring(1),n.length),e=Je(e),n=Je(n),[e,n]=Ca(Je(e),Je(n)),l==1&&(r==1?e=Sa(e):n=Sa(n));let a=ir(e,n);return l?l==2?"-"+Je(a):e.length<a.length?Je(a.substring(1)):"-"+Je(Sa(a)):Je(a)}function Sa(e){let n="",l=e.length,r=e.split(".")[1],a=r?r.length:0;for(let s=0;s<l;s++)e[s]>="0"&&e[s]<="9"?n+=9-parseInt(e[s]):n+=e[s];let o=a>0?"0."+new Array(a).join("0")+"1":"1";return ir(n,o)}function Je(e){let n=e.split(".");for(n[0]||(n[0]="0");n[0][0]=="0"&&n[0].length>1;)n[0]=n[0].substring(1);return n[0]+(n[1]?"."+n[1]:"")}function Ca(e,n){let l=e.split("."),r=n.split("."),a=l[0].length,o=r[0].length;return a>o?r[0]=new Array(Math.abs(a-o)+1).join("0")+(r[0]?r[0]:""):l[0]=new Array(Math.abs(a-o)+1).join("0")+(l[0]?l[0]:""),a=l[1]?l[1].length:0,o=r[1]?r[1].length:0,(a||o)&&(a>o?r[1]=(r[1]?r[1]:"")+new Array(Math.abs(a-o)+1).join("0"):l[1]=(l[1]?l[1]:"")+new Array(Math.abs(a-o)+1).join("0")),e=l[0]+(l[1]?"."+l[1]:""),n=r[0]+(r[1]?"."+r[1]:""),[e,n]}function ir(e,n){[e,n]=Ca(e,n);let l="",r=0;for(let a=e.length-1;a>=0;a--){if(e[a]==="."){l="."+l;continue}let o=parseInt(e[a])+parseInt(n[a])+r;l=o%10+l,r=Math.floor(o/10)}return r?r.toString()+l:l}var He=(function(e){return e[e.CEILING=0]="CEILING",e[e.DOWN=1]="DOWN",e[e.FLOOR=2]="FLOOR",e[e.HALF_DOWN=3]="HALF_DOWN",e[e.HALF_EVEN=4]="HALF_EVEN",e[e.HALF_UP=5]="HALF_UP",e[e.UNNECESSARY=6]="UNNECESSARY",e[e.UP=7]="UP",e})({});function Zt(e,n=0,l=He.HALF_EVEN){if(l===He.UNNECESSARY)throw new Error("UNNECESSARY Rounding Mode has not yet been implemented");typeof e=="number"&&(e=e.toString());let r=!1;e[0]==="-"&&(r=!0,e=e.substring(1));let a=e.split("."),o=a[0],s=a[1];if(n<0){if(n=-n,o.length<=n)return"0";{let i=o.substr(0,o.length-n);return e=i+"."+o.substr(o.length-n)+s,i=Zt(e,0,l),(r?"-":"")+i+new Array(n+1).join("0")}}if(n==0)return o.length,sr(a[1],o,r,l)?(r?"-":"")+Ta(o):(r?"-":"")+o;if(a[1]){if(a[1].length<n)return(r?"-":"")+o+"."+a[1]+new Array(n-a[1].length+1).join("0")}else return(r?"-":"")+o+"."+new Array(n+1).join("0");s=a[1].substring(0,n);let u=a[1].substring(n);return u&&sr(u,s,r,l)&&(s=Ta(s),s.length>n)?(r?"-":"")+Ta(o,parseInt(s[0]))+"."+s.substring(1):(r?"-":"")+o+"."+s}function sr(e,n,l,r){if(!e||e===new Array(e.length+1).join("0")||r===He.DOWN||!l&&r===He.FLOOR||l&&r===He.CEILING)return!1;if(r===He.UP||l&&r===He.FLOOR||!l&&r===He.CEILING)return!0;let a="5"+new Array(e.length).join("0");if(e>a)return!0;if(e<a)return!1;switch(r){case He.HALF_DOWN:return!1;case He.HALF_UP:return!0;case He.HALF_EVEN:default:return parseInt(n[n.length-1])%2==1}}function Ta(e,n=0){n||(n=1),typeof e=="number"&&e.toString();let l=e.length-1,r="";for(let a=l;a>=0;a--){let o=parseInt(e[a])+n;o==10?(n=1,o=0):n=0,r+=o}return n&&(r+=n),r.split("").reverse().join("")}function xa(e,n){e=e.toString(),n=n.toString();let l=0;e[0]=="-"&&(l++,e=e.substr(1)),n[0]=="-"&&(l++,n=n.substr(1)),e=Jt(e),n=Jt(n);let r=0,a=0;e.indexOf(".")!=-1&&(r=e.length-e.indexOf(".")-1),n.indexOf(".")!=-1&&(a=n.length-n.indexOf(".")-1);let o=r+a;if(e=Jt(e.replace(".","")),n=Jt(n.replace(".","")),e.length<n.length){let f=e;e=n,n=f}if(n=="0")return"0";let s=n.length,u=0,i=[],h=s-1,c="";for(let f=0;f<s;f++)i[f]=e.length-1;for(let f=0;f<2*e.length;f++){let m=0;for(let $=n.length-1;$>=h&&$>=0;$--)i[$]>-1&&i[$]<e.length&&(m+=parseInt(e[i[$]--])*parseInt(n[$]));m+=u,u=Math.floor(m/10),c=m%10+c,h--}return c=Jt(Ki(c,o)),l==1&&(c="-"+c),c}function Ki(e,n){return n==0?e:(e=n>=e.length?new Array(n-e.length+1).join("0")+e:e,e.substr(0,e.length-n)+"."+e.substr(e.length-n,n))}function Jt(e){for(;e[0]=="0";)e=e.substr(1);if(e.indexOf(".")!=-1)for(;e[e.length-1]=="0";)e=e.substr(0,e.length-1);return e==""||e=="."?e="0":e[e.length-1]=="."&&(e=e.substr(0,e.length-1)),e[0]=="."&&(e="0"+e),e}function ka(e,n,l=8){if(n==0)throw new Error("Cannot divide by 0");if(e=e.toString(),n=n.toString(),e=e.replace(/(\.\d*?[1-9])0+$/g,"$1").replace(/\.0+$/,""),n=n.replace(/(\.\d*?[1-9])0+$/g,"$1").replace(/\.0+$/,""),e==0)return"0";let r=0;n[0]=="-"&&(n=n.substring(1),r++),e[0]=="-"&&(e=e.substring(1),r++);var a=n.indexOf(".")>0?n.length-n.indexOf(".")-1:-1;if(n=Je(n.replace(".","")),a>=0){let h=e.indexOf(".")>0?e.length-e.indexOf(".")-1:-1;if(h==-1)e=Je(e+new Array(a+1).join("0"));else if(a>h)e=e.replace(".",""),e=Je(e+new Array(a-h+1).join("0"));else if(a<h){e=e.replace(".","");let c=e.length-h+a;e=Je(e.substring(0,c)+"."+e.substring(c))}else a==h&&(e=Je(e.replace(".","")))}let o=0,s=n.length,u="",i=e.indexOf(".")>-1&&e.indexOf(".")<s?e.substring(0,s+1):e.substring(0,s);if(e=e.indexOf(".")>-1&&e.indexOf(".")<s?e.substring(s+1):e.substring(s),i.indexOf(".")>-1){let h=i.length-i.indexOf(".")-1;i=i.replace(".",""),s>i.length&&(h+=s-i.length,i=i+new Array(s-i.length+1).join("0")),o=h,u="0."+new Array(h).join("0")}for(l=l+2;o<=l;){let h=0;for(;parseInt(i)>=parseInt(n);)i=Pn(i,"-"+n),h++;u+=h,e?(e[0]=="."&&(u+=".",o++,e=e.substring(1)),i=i+e.substring(0,1),e=e.substring(1)):(o||(u+="."),o++,i=i+"0")}return(r==1?"-":"")+Je(Zt(u,l-2))}function $a(e,n){return e=e.toString(),n=n.toString(),n=Na(n),Pn(e,n)}function Na(e){return e[0]=="-"?e=e.substr(1):e="-"+e,e}function ur(e,n){if(n==0)throw new Error("Cannot divide by 0");e=e.toString(),n=n.toString(),cr(e),cr(n);let l="";e[0]=="-"&&(l="-",e=e.substr(1)),n[0]=="-"&&(n=n.substr(1));let r=$a(e,xa(n,Zt(ka(e,n),0,He.FLOOR)));return l+r}function cr(e){if(e.indexOf(".")!=-1)throw new Error("Modulus of non-integers not supported")}function fr(e,n){let l=!1;if(e[0]=="-"&&n[0]!="-")return-1;if(e[0]!="-"&&n[0]=="-")return 1;if(e[0]=="-"&&n[0]=="-"&&(e=e.substr(1),n=n.substr(1),l=!0),[e,n]=Ca(e,n),e.localeCompare(n)==0)return 0;for(let r=0;r<e.length;r++)if(e[r]!=n[r])return e[r]>n[r]?l?-1:1:l?1:-1;return 0}var en=class Ee{value;static RoundingModes=He;static validate(n){if(n){if(n=n.toString(),isNaN(n))throw Error("Parameter is not a number: "+n);n[0]=="+"&&(n=n.substring(1))}else n="0";if(n.startsWith(".")?n="0"+n:n.startsWith("-.")&&(n="-0"+n.substr(1)),/e/i.test(n)){let[l,r]=n.split(/[eE]/);l=Je(l);let a="";l[0]=="-"&&(a="-",l=l.substring(1)),l.indexOf(".")>=0?(r=parseInt(r)+l.indexOf("."),l=l.replace(".","")):r=parseInt(r)+l.length,l.length<r?n=a+l+new Array(r-l.length+1).join("0"):l.length>=r&&r>0?n=a+Je(l.substring(0,r))+(l.length>r?"."+l.substring(r):""):n=a+"0."+new Array(-r+1).join("0")+l}return n}constructor(n="0"){this.value=Ee.validate(n)}getValue(){return this.value}static getPrettyValue(n,l,r){if(!(l||r))l=3,r=",";else if(!(l&&r))throw Error("Illegal Arguments. Should pass both digits and separator or pass none");n=Ee.validate(n);let a=n.charAt(0)=="-";a&&(n=n.substring(1));var o=n.indexOf(".");o=o>0?o:n.length;for(var s="",u=o;u>0;)u<l?(l=u,u=0):u-=l,s=n.substring(u,u+l)+(u<o-l&&u>=0?r:"")+s;return(a?"-":"")+s+n.substring(o)}getPrettyValue(n,l){return Ee.getPrettyValue(this.value,n,l)}static round(n,l=0,r=He.HALF_EVEN){if(n=Ee.validate(n),isNaN(l))throw Error("Precision is not a number: "+l);return Zt(n,l,r)}round(n=0,l=He.HALF_EVEN){if(isNaN(n))throw Error("Precision is not a number: "+n);return new Ee(Zt(this.value,n,l))}static floor(n){return n=Ee.validate(n),n.indexOf(".")===-1?n:Ee.round(n,0,He.FLOOR)}floor(){return this.value.indexOf(".")===-1?new Ee(this.value):new Ee(this.value).round(0,He.FLOOR)}static ceil(n){return n=Ee.validate(n),n.indexOf(".")===-1?n:Ee.round(n,0,He.CEILING)}ceil(){return this.value.indexOf(".")===-1?new Ee(this.value):new Ee(this.value).round(0,He.CEILING)}static add(n,l){return n=Ee.validate(n),l=Ee.validate(l),Pn(n,l)}add(n){return new Ee(Pn(this.value,n.getValue()))}static subtract(n,l){return n=Ee.validate(n),l=Ee.validate(l),$a(n,l)}subtract(n){return new Ee($a(this.value,n.getValue()))}static multiply(n,l){return n=Ee.validate(n),l=Ee.validate(l),xa(n,l)}multiply(n){return new Ee(xa(this.value,n.getValue()))}static divide(n,l,r){return n=Ee.validate(n),l=Ee.validate(l),ka(n,l,r)}divide(n,l){return new Ee(ka(this.value,n.getValue(),l))}static modulus(n,l){return n=Ee.validate(n),l=Ee.validate(l),ur(n,l)}modulus(n){return new Ee(ur(this.value,n.getValue()))}static compareTo(n,l){return n=Ee.validate(n),l=Ee.validate(l),fr(n,l)}compareTo(n){return fr(this.value,n.getValue())}static negate(n){return n=Ee.validate(n),Na(n)}negate(){return new Ee(Na(this.value))}};function dr(e,n){return en.multiply(`${e}`,`${n}`)}function Da(e,n,l=8){return en.divide(`${e}`,`${n}`,l)}var mb=en.RoundingModes;function Ea(e,n){return e=`${e}`,n=`${n}`,en.compareTo(e,n)}function hr(e){return en.negate(e)}function Vn(e,n=-1,l=!1,r=3,a=","){let o=`${e}`;if(o.length==0||o==="-")return"";let s=o.charAt(0);s=="-"?o=o.substring(1):s="";let u=o,i="",h=o.indexOf(".");h!=-1&&(u=o.substring(0,h),i=o.substring(h+1)),n!=-1&&(n<i.length?i=i.substring(0,n):l&&n>i.length&&(i=i.padEnd(n,"0")));let c;if(r>0){let f="",m=u.split("").reverse();for(let $=0;$<m.length;$++)f+=m[$]+(($+1)%r==0&&$+1!=m.length?a:"");i.length==0?c=`${s}${f.split("").reverse().join("")}`:c=`${s}${f.split("").reverse().join("")}.${i}`}else i.length==0?c=`${s}${u}`:c=`${s}${u}.${i}`;return c}function mr(e){let n=`${e}`,l=n.charAt(0);l=="-"?n=n.substring(1):l="";let r=n.replace(/[^\d\.-]/g,"");return`${l}${r}`}var Pa=wa,Hi=Array.isArray,Wi=e=>An(e)==="[object Map]",Yi=e=>An(e)==="[object Set]",Va=e=>e instanceof Date,Ia=e=>typeof e=="function",gr=e=>typeof e=="string",Ui=e=>typeof e=="symbol",et=e=>e!==null&&typeof e=="object",In=e=>et(e)&&Ia(e.then)&&Ia(e.catch),yr=Object.prototype.toString,An=e=>yr.call(e),Gi=e=>An(e)==="[object Object]",pr=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol";function Xi(e){return e.__esModule||pr&&e[Symbol.toStringTag]==="Module"}var Qi=typeof Promise<"u"&&Promise.toString().indexOf("[native code]")!==-1;function Ft(...e){let n=e[0]!==void 0&&e[0]!==null?e[0]:{},l=1,r=e.length,a=!1;for(typeof n=="boolean"&&(a=n,n=e[l]??{},l++),typeof n!="object"&&(n={});l<r;l++)if(e[l]!==null&&e[l]!==void 0){let o=e[l];for(let s in o){let u=n[s],i=o[s];if(u!==i)if(a===!0&&i&&typeof i=="object"){let h;Array.isArray(i)?h=u&&Array.isArray(u)?u:[]:h=u&&typeof u=="object"?u:{},n[s]=Ft(a,h,i)}else i!==void 0&&(n[s]=i)}}return n}var Aa=Qi?Promise.resolve():null;function Zi(e,...n){Aa!==null?n&&n.length>0?Aa.then(()=>{e(n)}):Aa.then(e):n&&n.length>0?setTimeout(()=>{e(n)}):setTimeout(e)}function Ce(e){return e==null?!1:typeof e=="boolean"?e:typeof e=="string"?e.toLocaleLowerCase()==="true":!!e}function De(e){return typeof e=="number"?e:Number(e)}var Ji={"[object Boolean]":"boolean","[object Number]":"number","[object String]":"string","[object Function]":"function","[object Array]":"array","[object Date]":"date","[object RegExp]":"regExp","[object Object]":"object"};function Bn(e){let n=Object.prototype.toString.call(e);return e==null?String(e):Ji[n]||"object"}function tn(e){if(!e||e.nodeType!==1)return!0;let n=e;for(;n;){if(n.hidden)return!0;const l=window.getComputedStyle(n);if(l.display==="none"||l.visibility==="hidden"||l.visibility==="collapse")return!0;n=n.parentElement}return!1}function Ba(e){if(!e)return!0;if(e.offsetParent!==null)return!1;if(getComputedStyle(e).position!=="fixed")return!0;let n=e.parentElement;for(;n;){if(getComputedStyle(n).display==="none")return!0;n=n.parentElement}return!1}function vr(e){return e&&typeof e=="object"&&"setInterval"in e}function br(e){let n=!!e&&"length"in e&&e.length,l=Bn(e);return l==="function"||vr(e)?!1:l==="array"||n===0||typeof n=="number"&&n>0&&n-1 in e}function wr(e,n){let l=+n.length,r=0,a=e.length;for(;r<l;r++)e[a++]=n[r];return e.length=a,e}function es(e,n=[]){let l=n;return e!=null&&(br(Object(e))?wr(l,typeof e=="string"?[e]:e):l.push(e)),l}function Qe(e,n){if(e==n)return!0;if(e===void 0||n===void 0)return!1;let l=Bn(e);if(l!==Bn(n))return!1;if(l==="object"){let r=Object.keys(e),a=Object.keys(n);if(r.length!==a.length)return!1;for(let o=0;o<r.length;o++){let s=r[o],u=e[s],i=n[s];if(!Qe(u,i))return!1}return!0}else if(l==="array"){if(e.length!==n.length)return!1;for(let r=0;r<e.length;r++){let a=e[r],o=n[r];if(!Qe(a,o))return!1}return!0}return!1}var Tt=typeof window<"u";function Oe(e){return e==null}function Oa(e){return Object.prototype.toString.call(e)==="[object RegExp]"}var ke=e=>e==null?!0:typeof e!="string"?!1:e.length===0;function Ra(e){return ke(e)?!0:(e.charAt(0)=="-"&&(e=e.substring(1)),ke(e)||/^(([1-9][0-9]*\.[0-9]*)|([0]\.[0-9]*)|([0-9]*)|([0]{1}))$/.test(e))}function Sr(e){if(e==null)return 0;let n=`${e}`;if(n.length==0)return 0;n.charAt(0)=="-"&&(n=n.substring(1)),n=n.replace(/[^\d\.-]/g,"");const l=n.indexOf(".");return l==-1?n.length:l}function Cr(e){if(e==null)return 0;const n=`${e}`;if(n.length==0)return 0;const l=n.indexOf(".");return l==-1?0:n.length-(l+1)}function Tr(e,n,l){const r=e.indexOf(n);return r===-1?e:n==="-"&&r!==0?e.slice(0,r):e.slice(0,r+1)+e.slice(r).replace(l,"")}function ts(e,n=!0,l=!0){n?e=Tr(e,".",/\./g):e=e.replace(/\./g,""),l?e=Tr(e,"-",/-/g):e=e.replace(/-/,"");const r=n?/[^-0-9.]/g:/[^-0-9]/g;return e.replace(r,"")}function ns(e,n){return typeof e=="object"||Array.isArray(e)?n.findIndex(l=>{if(Qe(e,l))return!0}):n.indexOf(e)}function as(e,n){if(typeof e=="object"||Array.isArray(e)){let l=n.reverse().findIndex(r=>{if(Qe(e,r))return!0});return l!==-1&&(l=n.length-1-l),l}return n.lastIndexOf(e)}function bt(e){return e==null||e==null?0:typeof e=="string"?e.length:`${e}`.length}function wt(e,...n){const l={};return n.forEach(r=>{for(const a in r)l[a]=e[a]}),l}function Me(e,...n){const l=[];n.forEach(a=>{Reflect.apply([].push,l,Reflect.ownKeys(a))});const r={};for(const a in e)l.includes(a)||(r[a]=e[a]);return r}var ls=(e,n,l)=>{const r=Object.assign({},e),a=Object.assign({},l);return Object.keys(n).length>0?(Object.keys(r).forEach(o=>{a.hasOwnProperty(o)?typeof a[o]=="string"&&(r[o]=n[a[o]]):n[o]&&(r[o]=n[o])}),r):e};function rs(e,n){(typeof e.cancelable!="boolean"||e.cancelable)&&e.preventDefault(),n&&e.stopPropagation()}var os=(e,n=2)=>{for(e+="";e.length<n;)e="0"+e;return e.toString()},is=(e,n,l)=>Math.min(Math.max(e,n),l);function nn(e){return e.split("-").map(n=>n.charAt(0).toUpperCase()+n.slice(1)).join("")}function xr(e){return e.replace(/([A-Z])/g,"-$1").replace(/^-/,"").toLowerCase()}var it=Symbol.for("BroadcastKey"),kr=class{parent;children=[];callbacks=new Map;exposed=null;name;persistantMessages=new Map;constructor(e,n,l){this.parent=e,this.exposed=n,this.name=l,e!==null&&e.addChild(this)}addChild(e){this.children.push(e)}removeChild(e){const n=this.children.findIndex(l=>e===l);n!==-1&&this.children.splice(n,1)}destroy(){const e=[...this.children];this.children=[],e.forEach(n=>n.destroy()),this.parent!==null&&this.parent.removeChild(this),this.persistantMessages.clear(),this.callbacks=null,this.parent=null,this.exposed=null}setPersistantMessage(e,n,l){if(!e.uniqueId)return console.warn("[FoxUI]持久化消息,必须设置uniqueId。"),!1;const r=e.uniqueId,a={matched:e,action:n,args:l};return this.persistantMessages.set(r,a),!0}deletePersistantMessage(e){this.persistantMessages.delete(e)}getPersistantMessages(){const e=[];return this.persistantMessages.forEach(n=>{e.push(n)}),e}clearPersistantMessage(){this.persistantMessages.clear()}isMatched(e,n){if(!n||n.messagingPolicy==="Once"&&n.resolved===!0)return!1;let l=!1;return!n.name||n.name==="*"||n.name==="+"||Oa(n.name)&&e&&n.name.test(e)?l=!0:typeof n.name=="function"?l=Reflect.apply(n.name,null,[e]):n.name===e&&(l=!0),l}trigger(e,n,l){let r=null;const a=this.callbacks.get(n);typeof a=="function"&&(r=Reflect.apply(a,null,[...l])),this.exposed&&typeof this.exposed[n]=="function"&&(r=Reflect.apply(this.exposed[n],this.exposed,[...l])),e.resolved=!0,typeof e.resolve=="function"&&e.resolve(r)}pull(){let e=this.parent;for(;e;){const n=e.getPersistantMessages();Array.isArray(n)&&n.length>0&&n.forEach(l=>{if(this.isMatched(this.name,l.matched))try{this.trigger(l.matched,l.action,l.args)}catch(r){console.error(r)}}),e=e.parent}}emit(e,n,...l){if(e.messagingPolicy==="Once"&&e.resolved===!0)return[];if(e.cachePolicy==="Persistant")this.setPersistantMessage(e,n,l),e.cachePolicy="None";else if(e.cachePolicy==="Unresolved"){if(this.setPersistantMessage(e,n,l)){const o=e.resolve,s=e.uniqueId??"",u=(...i)=>{this.deletePersistantMessage(s),typeof o=="function"&&o(...i)};e.resolve=u}e.cachePolicy="None"}let r=!1;!e.name||e.name==="*"?r=!0:e.name==="+"?(r=!1,e.name="*"):Oa(e.name)&&this.name&&e.name.test(this.name)?r=!0:typeof e.name=="function"?r=Reflect.apply(e.name,null,[this.name]):e.name===this.name&&(r=!0);const a=[];if(r){const o=this.callbacks.get(n);if(typeof o=="function"){const s=Reflect.apply(o,null,[...l]);Oe(s)||a.push(s)}if(this.exposed&&typeof this.exposed[n]=="function"){const s=Reflect.apply(this.exposed[n],this.exposed,[...l]);Oe(s)||a.push(s)}if(e.resolved=!0,typeof e.resolve=="function"&&e.resolve(...a),e.messagingPolicy==="Once")return a}return this.children.forEach(o=>{const s=Reflect.apply(o.emit,o,[{...e},n,...l]);Array.isArray(s)&&s.length>0&&Reflect.apply([].push,a,[...s])}),a}emitToChildren(e,n,...l){if(e.cachePolicy==="Persistant")this.setPersistantMessage(e,n,l),e.cachePolicy="None";else if(e.cachePolicy==="Unresolved"){if(this.setPersistantMessage(e,n,l)){const a=e.resolve,o=e.uniqueId??"",s=(...u)=>{this.deletePersistantMessage(o),typeof a=="function"&&a(...u)};e.resolve=s}e.cachePolicy="None"}const r=[];return this.children.forEach(a=>{const o=Reflect.apply(a.emit,a,[{...e},n,...l]);Array.isArray(o)&&Reflect.apply([].push,r,[...o])}),r}on(e,n){this.callbacks.set(e,n)}};function an(e,n,l,r){const a=new kr(n,e,l);if(r&&typeof r=="object")for(const o in r)a.on(o,r[o]);return a}function ln(e){let n=e?.[it];return!n&&(0,t.hasInjectionContext)()&&(n=(0,t.inject)(it,null)),n}var ss=class{error(e,n){const l=ln(n.exposed);l?l.emit({name:"*"},"setErrorTip",e):n.exposed&&typeof n.exposed.setErrorTip=="function"&&n.exposed.setErrorTip(e)}reset(e){const n=ln(e.exposed);n?n.emit({name:"*"},"setErrorTip",""):e.exposed&&typeof e.exposed.setErrorTip=="function"&&e.exposed.setErrorTip("")}success(e){const n=ln(e.exposed);n?n.emit({name:"*"},"setErrorTip",""):e.exposed&&typeof e.exposed.setErrorTip=="function"&&e.exposed.setErrorTip("")}decorate(e,n,l){Array.isArray(e)||(e=[e]);const r=ln(l.exposed),a=n.find(s=>s.required===!0||s.type==="required"&&s.required!==!1),o=e.find(s=>s.required===!0||s.type==="required"&&s.required!==!1);!a&&o?r?r.emit({name:"*"},"setRequired",!0):l.exposed&&typeof l.exposed.setRequired=="function"&&l.exposed.setRequired(!0):a&&!o&&(r?r.emit({name:"*"},"setRequired",!1):l.exposed&&typeof l.exposed.setRequired=="function"&&l.exposed.setRequired(!1),this.reset(l))}getValue(e){return e.props.modelValue??e.exposed.modelValue}},rn=new ss;function us(e){rn=e}function cs(e){rn?Object.assign(rn,e):rn=e}function fs(e,n){Vt.Schema.setValidator(e,n)}function ds(e){Vt.Schema.deleteValidator(e)}var $r=["blur","clear"];function hs(e){$r=e}function Nr(){return $r}var Dr=["focus","change","setValue"];function ms(e){Dr=e}function Er(){return Dr}function gs(e){Vt.Schema.messages(e)}function on(...e){const n=[];return e.forEach(l=>{l.forEach(r=>{const a=n.findIndex(o=>o.type===r.type);a!==-1&&n.splice(a,1),n.push(r)})}),n}function On(e){return e.forEach(n=>{n.type==="required"&&(n.required===null||n.required===void 0)&&(n.required=!0),!n.type&&(n.required===!0||n.required===!1)&&(n.type="required")}),e}var xt=Symbol("ValidateSchemaKey"),Pr=class{parent=null;validators={};attrRules=[];rules=[];descriptor;proxy;scope=null;constructor(e,n,l){this.parent=e,this.descriptor=n,this.proxy=l,(this.descriptor.validate??!0)&&this.init()}init(){this.descriptor.pureDataValidate!==!0&&this.descriptor.valueName&&this.descriptor.context?.attrs&&(this.scope=(0,t.effectScope)(!0),this.scope.run(()=>{(0,t.watchEffect)(()=>{const e=On(on(this.attrRules,this.rules)),n=[],l=this.descriptor.context?.attrs??{};for(let a in l){let o=l[a];if(this.hasValidator(a,!0)){if(o===!1)continue;let u={type:a};o!==null&&typeof o=="object"&&Object.assign(u,o),n.push(u);continue}let s=this.getValidator(a);if(s!==null){let u={type:a,validator:s};n.push(u)}}this.attrRules=On(n);const r=on(this.attrRules,this.rules);(0,t.nextTick)(()=>{this.decorate(r,e)})})}))}destroy(){this.scope&&(this.scope.stop(),this.scope=null),this.parent=null,this.proxy=null}execHandler(e,...n){const l=this.descriptor.validateHandler;if(l&&typeof l[e]=="function")return Reflect.apply(l[e],l,[...n]);const r=rn;return r&&typeof r[e]=="function"?Reflect.apply(r[e],r,[...n]):null}decorate(e,n){this.descriptor.pureDataValidate!==!0&&this.execHandler("decorate",e,n,this.proxy)}success(){this.descriptor.pureDataValidate!==!0&&this.execHandler("success",this.proxy)}error(e){this.descriptor.pureDataValidate!==!0&&this.execHandler("error",e,this.proxy)}getValue(){return this.execHandler("getValue",this.proxy)}setValidator(e,n,l=!1){l?Vt.Schema.setValidator(e,n):this.validators[e]=n}getValidator(e){let n=this.validators[e]??null;return n||(n=this.parent?.getValidator(e)??null),n}deleteValidator(e,n=!1){n?Vt.Schema.deleteValidator(e):Reflect.deleteProperty(this.validators,e)}hasValidator(e,n=!1){if(n)return Vt.Schema.hasValidator(e);{let l=Reflect.has(this.validators,e);return!l&&this.parent!==null&&(l=this.parent.hasValidator(e,!1)),l}}setRule(e){const n=on(this.attrRules,this.rules);e===null?this.rules=[]:Array.isArray(e)?this.rules=On(e):this.rules=On([e]);const l=on(this.attrRules,this.rules);(0,t.nextTick)(()=>{this.decorate(l,n)})}clear(){this.execHandler("reset",this.proxy)}validate(){if(this.descriptor.validate??!0){let e=on(this.attrRules,this.rules);const n=this.descriptor.fieldName??"value";if(e.length>0){const l={[`${n}`]:e},r=this.getValue(),a={[`${n}`]:r},o=new Vt.Schema(l),s=this.proxy??a;return o.validate(a,{context:s}).then(u=>{if(u.pass)this.success();else{let i="error";Array.isArray(u.errors)&&u.errors.length>0&&(i=u.errors[0].message??i,u.errors=[u.errors[0]],u.errors[0].ref=s),this.error(i)}return u}).catch(u=>{const i=u.message??`${u}`;return this.error(i),u})}}return Promise.resolve({pass:!0})}};function Rn(e,n,l){l.valueName=l.valueName??"modelValue",l.valueType=l.valueType??"string";const r={exposed:e,get $el(){return l.templateRefProxy?.$el},get props(){return l.props},get attrs(){return l.context?.attrs}};if(!l.validateHandler&&l.valueName!=="modelValue"){const a=l.valueName;l.validateHandler={getValue(o){return o.props?.[a]??o.exposed[a]}}}return new Pr(n,l,r)}var Fn=Symbol.for("EventEmitterKey"),Vr=class{register=new Map;emitFn;constructor(e){this.emitFn=e??null}destroy(){this.emitFn=null,this.register.clear()}off(e,n){let l=this.register.get(e);if(l&&Array.isArray(l)){let r=l.findIndex(a=>a===n);r!==-1&&l.splice(r,1)}}on(e,n){let l=this.register.get(e);l||(l=new Array,this.register.set(e,l)),l.push(n)}emit(e,...n){const l=this.register.get(e);l&&l.forEach(r=>{try{Reflect.apply(r,null,[e,...n])}catch(a){console.error(a.message,a)}}),this.emitFn&&Reflect.apply(this.emitFn,null,[e,...n])}};function rt(e,n){let l=null;return function(...r){l&&clearTimeout(l),l=setTimeout(()=>{l=null,Reflect.apply(e,null,[...r])},n)}}function Ir(e,n){let l=0;return function(...r){const a=new Date().getTime();a-l<n||(l=a,Reflect.apply(e,null,[...r]))}}function ys(e,n){const l=rt((r,a)=>{e=r,a()},n);return(0,t.customRef)((r,a)=>({get(){return r(),e},set(o){l(o,a)}}))}function ps(e){let n=!1;return function(...l){n||(n=!0,Reflect.apply(e,null,[...l]))}}function Mn(e,n,l,r=0,a=!0,o){let s=n,u=0;if(a){const h=e();if(u++,h){typeof o=="function"&&o(!0);return}if(u>l){typeof o=="function"&&o(!1);return}}const i=()=>{const h=e();if(u++,h){typeof o=="function"&&o(!0);return}if(u>l){typeof o=="function"&&o(!1);return}s+=r,setTimeout(i,s)};setTimeout(i,s)}var kt=Symbol("DomainKey"),sn=Symbol("DataItemsKey"),Ln=class{_parent=null;get parent(){return this._parent}set parent(e){this._parent=e}_name=null;get name(){return this._name}_broadcast=null;get broadcast(){return this._broadcast}set broadcast(e){this._broadcast=e}_validateSchema=null;get validateSchema(){return this._validateSchema}set validateSchema(e){this._validateSchema=e}componentPublicExposed={};_props=(0,t.reactive)({});_datas={};constructor(e=null){this._name=e}destroy(){this._parent=null,this._broadcast=null,this._validateSchema=null,this._props={},this._datas={},this.componentPublicExposed={}}setData(e,n){this._datas[e]=n}getData(e){return this._datas[e]}hasData(e){return Reflect.has(this._datas,e)}deleteData(e){return Reflect.deleteProperty(this._datas,e)}merge(e,n=[]){for(const l in e){const r=e[l];n.length>0&&n.indexOf(r)!==-1||(this._props[l]=r)}}has(e){if(Reflect.has(this._props,e)){const n=this._props[e];if(n!=null)return!0}return this.parent==null?!1:this.parent.has(e)}delete(e){Reflect.deleteProperty(this._props,e)}set(e,n){this._props[e]=n}get(e,n){if(Reflect.has(this._props,e)){const l=this._props[e];if(l!=null)return l}return this.parent==null?n:this.parent.get(e,n)}getForParent(e,n){return this.parent==null?n:this.parent.get(e,n)}getForSelf(e){return this._props[e]}getAll(e){const n=[];let l=this;for(;l!=null;){if(Reflect.has(l._props,e)){const r=l._props[e];n.push(r)}l=l._parent}return n}},vs=new Ln;function Mt(){return vs}function $t(){return(0,t.inject)(kt,null)}var Fa=Symbol("OriginalDateKey");function Ma(e,n,l){const r=(0,t.hasInjectionContext)(),a=r?(0,t.getCurrentScope)():null;let o=r?(0,t.inject)(kt,null):null;o===null&&(o=Mt());const s=n;let u=new Ln(s);u.parent=o;const i=y=>{u?.hasData(Fa)||f(y),u?.set("modelValue",y)},h=()=>u?.getForSelf("modelValue")??null,c=()=>u?.getData(Fa)??null,f=y=>{const b={};Ft(!0,b,(0,t.toRaw)(y)),u.setData(Fa,b)},m=e.props,$=e.ignorePropKeys;(0,t.isReactive)(m)||typeof m=="function"?(0,t.watch)(m,y=>{u?.merge(y,$),y.modelValue&&f(y.modelValue)},{immediate:!0}):(u.merge(m,$),m.modelValue&&f(m.modelValue));const k=(y,b)=>{u?.set(y,b)},p=y=>u?.getForSelf(y)??null;if(u.componentPublicExposed[kt]=u,(0,t.provide)(kt,u),a!==null){const y=(0,t.inject)(it,null),b=an(u.componentPublicExposed,y,s,l);u.broadcast=b,u.componentPublicExposed[it]=b,(0,t.provide)(it,b),u.componentPublicExposed.broadcast=(N,D,...Y)=>{if(b)return Reflect.apply(b.emit,b,[N,D,...Y])};const E=(0,t.inject)(xt,null),d=Rn(u.componentPublicExposed,E,{componentName:"",context:e.context});u.validateSchema=d,u.componentPublicExposed[xt]=d,(0,t.provide)(xt,d),u.componentPublicExposed[sn]=new Map,u.componentPublicExposed.validate=async(N=!0)=>{const D=[];let Y=null;const P={};let q=!1;if(N===!0)Y={name:"*"},q=!0;else if(Array.isArray(N)&&N.length>0){const T=N;Y={name:R=>R?T.indexOf(R)!==-1:!1},q=!0}else if(N!=null&&typeof N=="object"){const T=N;if(T.deep!==!1){if(Object.assign(P,T),Array.isArray(T.include)&&T.include.length>0){const R=T.include;Y={name:_=>_?R.indexOf(_)!==-1:!1}}else if(Array.isArray(T.exclude)&&T.exclude.length>0){const R=T.exclude;Y={name:_=>_?R.indexOf(_)===-1:!1}}else Y={name:"*"};q=!0}}if(q&&Y){P.deep=!1;const T=b?.emitToChildren(Y,"validate",P);T&&Reflect.apply([].push,D,T)}return D.length==1?D[0]:D.length>1?Promise.all(D).then(T=>{let R=[];return T.forEach(_=>{_.pass===!1&&Array.isArray(_.errors)&&(R=[...R,..._.errors])}),R.length>0?{pass:!1,errors:R}:{pass:!0}}):Promise.resolve({pass:!0})};const C=e.context;u.componentPublicExposed.setNameValidateRules=(N,D=!0,Y=!1)=>{if(Y===!0){Reflect.ownKeys(N).forEach(P=>{let q=String(P);const T={componentName:"",fieldName:q,pureDataValidate:!0,context:C};if(u){const R=Br(u,q,T,b,d);u.componentPublicExposed[sn].set(q,R);const _=N[q];_&&R.validateSchema.setRule(_)}});return}if(D){const P=Reflect.ownKeys(N);b?.emitToChildren({name:q=>P.includes(q),cachePolicy:"Persistant",uniqueId:"validateRules"},"setNameValidateRules",N,!1)}},u.componentPublicExposed.clearValidate=(N=!0)=>{let D=null;const Y={};let P=!1;if(N===!0)D={name:"*"},P=!0;else if(Array.isArray(N)&&N.length>0){const q=N;D={name:T=>T?q.indexOf(T)!==-1:!1},P=!0}else if(N!=null&&typeof N=="object"){const q=N;if(q.deep!==!1){if(Array.isArray(q.include)&&q.include.length>0){const T=q.include;D={name:R=>R?T.indexOf(R)!==-1:!1}}else if(Array.isArray(q.exclude)&&q.exclude.length>0){const T=q.exclude;D={name:R=>R?T.indexOf(R)===-1:!1}}else D={name:"*"};Object.assign(Y,q),P=!0}}P&&D&&(Y.deep=!1,b?.emitToChildren(D,"clearValidate",Y))},u.componentPublicExposed.resetFields=N=>{const D=h();if(!D)return;const Y={};if(Ft(!0,Y,c()??{}),Array.isArray(N))N.forEach(P=>{D[P]=Y[P]});else if(N&&Array.isArray(N.include))(N.include??[]).forEach(P=>{D[P]=Y[P]});else if(N&&Array.isArray(N.exclude)){let P=N.exclude??[];Reflect.ownKeys(Y).forEach(q=>{P.includes(q)||(D[q]=Y[q])})}else Object.assign(D,Y);u?.componentPublicExposed?.clearValidate(N)},u.componentPublicExposed.setModelValue=(N,D)=>{if(!D||D===s)i(N);else{const Y={name:D,messagingPolicy:"Once"};b?.emitToChildren(Y,"setModelValue",N)}},u.componentPublicExposed.getModelValue=()=>h(),u.componentPublicExposed.setDomainProperty=(N,D)=>{k(N,D)},u.componentPublicExposed.getDomainProperty=N=>p(N),setTimeout(function(){b?.pull()},0)}(0,t.onScopeDispose)(function(){u?.validateSchema&&u.validateSchema.destroy(),u?.broadcast&&u?.broadcast?.destroy(),u.componentPublicExposed[sn]&&u.componentPublicExposed[sn].clear(),u?.destroy(),u=null});const g=e.context?.expose;return{domain:u,exposeApi:(y={})=>{Object.assign(u.componentPublicExposed,y),g?.(u.componentPublicExposed)}}}function Ar(e,n){let l=(0,t.inject)(kt,null);l===null&&(l=Mt());let r=new Ln(n);r.parent=l;const a=e.props,o=e.ignorePropKeys;(0,t.isReactive)(a)||typeof a=="function"?(0,t.watch)(a,u=>{r?.merge(u,o)},{immediate:!0}):r.merge(a,o),r.componentPublicExposed[kt]=r,(0,t.provide)(kt,r),(0,t.onScopeDispose)(()=>{r?.destroy(),r=null});const s=e.context?.expose;return{domain:r,exposeApi:(u={})=>{Object.assign(r.componentPublicExposed,u),s?.(r.componentPublicExposed)}}}function Le(e,n,l){const r={},a=n??e.componentName??"",o=(0,t.inject)(it,null);let s=an(r,o,a,l);r[it]=s,(0,t.provide)(it,s),r.broadcast=(m,$,...k)=>s?Reflect.apply(s.emit,s,[m,$,...k]):null;const u=(0,t.inject)(xt,null);e.fieldName=e.fieldName??a;let i=Rn(r,u,e);r[xt]=i,(0,t.provide)(xt,i),r.validate=async(m=null)=>{if(!i)return Promise.resolve({pass:!0});const $=[];let k=null;const p={};let g=!1,y=!1;if(m===!0)k={name:"*"},y=!0,g=!0;else if(Array.isArray(m)&&m.indexOf(a)!==-1){const b=m;k={name:E=>E?b.indexOf(E)!==-1:!1},y=!0,g=!0}else if(m&&typeof m=="object"){const b=m,E=b.ignoreDisabled??!0,d=b.ignoreReadonly??!0,C=b.ignoreHidden??!0;E===!0&&e.disabled===!0||d===!0&&e.readonly===!0||C===!0&&tn(e.templateRefProxy?.$el??e.templateRefProxy)?y=!1:(Array.isArray(b.include)&&b.include.indexOf(a)!==-1||Array.isArray(b.exclude)&&b.exclude.indexOf(a),y=!0),Object.assign(p,b),g=b.deep??!1}if(y){const b=i?.validate();$.push(b)}if(g&&k){p.deep=!1;const b=s?.emitToChildren(k,"validate",p);b&&Reflect.apply([].push,$,b)}return $.length==1?$[0]:$.length>1?Promise.all($).then(b=>{let E=[];return b.forEach(d=>{d.pass===!1&&Array.isArray(d.errors)&&(E=[...E,...d.errors])}),E.length>0?{pass:!1,errors:E}:{pass:!0}}):Promise.resolve({pass:!0})},r.setValidateRule=m=>i?.setRule(m),r.setNameValidateRules=(m,$=!1)=>{const k=m[a];k&&i?.setRule(k),$&&s&&s.emitToChildren({name:p=>Reflect.ownKeys(m).includes(p)},"setNameValidateRules",m,!1)},r.clearValidate=(m=!0)=>{if(!i)return;let $=null;const k={};let p=!1,g=!1;if(m===!0)$={name:"*"},g=!0,p=!0;else if(Array.isArray(m)&&m.indexOf(a)!==-1){const y=m;$={name:b=>b?y.indexOf(b)!==-1:!1},g=!0,p=!0}else if(m&&typeof m=="object"){const y=m;(y.ignoreHidden??!0)===!0&&tn(e.templateRefProxy?.$el??e.templateRefProxy)?g=!1:(Array.isArray(y.include)&&y.include.indexOf(a)!==-1||Array.isArray(y.exclude)&&y.exclude.indexOf(a),g=!0),Object.assign(k,y),p=y.deep??!1}g&&i?.clear(),p&&$&&(k.deep=!1,s?.emitToChildren($,"clearValidate",k))};let h=new Vr(e.context?.emit);r[Fn]=h,r.triggerEvent=(m,...$)=>{h.emit(m,...$)};const c=rt((m="validate")=>{i&&(m==="reset"?i.clear():i.validate())},60);(Array.isArray(e.validateCheckEvents)?e.validateCheckEvents:Nr()).forEach(m=>{h&&h.on(m,$=>{c("validate")})}),(Array.isArray(e.validateResetEvents)?e.validateResetEvents:Er()).forEach(m=>{h&&h.on(m,$=>{c("reset")})}),setTimeout(function(){s?.pull()},0),(0,t.onScopeDispose)(()=>{s?.destroy(),s=null,i?.destroy(),r[xt]=null,i=null,h?.destroy(),r[Fn]=null,h=null,r.broadcast=null,r.validate=null,r.setValidateRule=null,r.setNameValidateRules=null,r.clearValidate=null});const f=e.context?.expose;return{broadcast:s,validateSchema:i,emitEvent:(m,...$)=>{h&&Reflect.apply(h.emit,h,[m,...$])},onEvent:(m,$)=>{h&&Reflect.apply(h.on,h,[$])},offEvent:(m,$)=>{h&&Reflect.apply(h.off,h,[$])},componentPublicExposed:r,exposeApi:(m={})=>{Object.assign(r,m),f?.(r)}}}function Br(e,n,l,r,a){const o={},s=n??"",u={getValue(){const f=e.getForSelf("modelValue");return f?f[s]:null},isExist(){const f=e.getForSelf("modelValue");return f?Reflect.has(f,s):!1}};l.fieldName=s,l.validateHandler={getValue(f){return u.getValue()}};let i=Rn({},a,l);o.validate=async(f=null)=>{if(!u.isExist())return console.warn(`validate error: field [${s}] not exist`),Promise.resolve({pass:!0});const m=[];let $=!1,k=!1;if(Array.isArray(f)&&f.indexOf(s)!==-1)k=!0,$=!0;else if(f&&typeof f=="object"){const p=f;Array.isArray(p.include)&&p.include.indexOf(s)!==-1||Array.isArray(p.exclude)&&p.exclude.indexOf(s),k=!0,$=p.deep??!1}else typeof f=="boolean"&&($=f),k=!0;if(k&&i){const p=i.validate();m.push(p)}if($){let p=null;const g={};if(f===!0)p={name:"*"};else if(Array.isArray(f)&&f.length>0){const y=f;p={name:b=>b?y.indexOf(b)!==-1:!1}}else if(f!=null&&typeof f=="object"){const y=f;if(Object.assign(g,y),Array.isArray(y.include)&&y.include.length>0){const b=y.include;p={name:E=>E?b.indexOf(E)!==-1:!1}}else if(Array.isArray(y.exclude)&&y.exclude.length>0){const b=y.exclude;p={name:E=>E?b.indexOf(E)===-1:!1}}else p={name:"*"}}if(p&&h){g.deep=!1;const y=h.emitToChildren(p,"validate",g);Reflect.apply([].push,m,y)}}return m.length==1?m[0]:m.length>1?Promise.all(m).then(p=>{let g=[];return p.forEach(y=>{y.pass===!1&&Array.isArray(y.errors)&&(g=[...g,...y.errors])}),g.length>0?{pass:!1,errors:g}:{pass:!0}}):Promise.resolve({pass:!0})},o.setValidateRule=f=>i?.setRule(f),o.setNameValidateRules=f=>{const m=f[s];m&&i?.setRule(m)};let h=an(o,r,s);(0,t.onScopeDispose)(()=>{i=null,h=null});const c=l.context?.expose;return{broadcast:h,validateSchema:i,componentPublicExposed:o,exposeApi:(f={})=>{Object.assign(o,f),c?.(o)}}}function It(e,n){let l={};if(n){const o=(0,t.inject)(it,null),s=an(l,o,n,{});l[it]=s,(0,t.provide)(it,s)}let r=new Vr(e.context?.emit);l[Fn]=r,l.triggerEvent=(o,...s)=>{r.emit(o,...s)},(0,t.onScopeDispose)(()=>{r?.destroy(),Reflect.deleteProperty(l,Fn),l=null,r=null});const a=e.context?.expose;return{emitEvent:(o,...s)=>{r&&Reflect.apply(r.emit,r,[o,...s])},onEvent:(o,s)=>{r&&Reflect.apply(r.on,r,[s])},offEvent:(o,s)=>{r&&Reflect.apply(r.off,r,[s])},componentPublicExposed:l,exposeApi:(o={})=>{Object.assign(l,o),a?.(l)}}}var Te=(e,n=-1)=>e?typeof e=="string"&&(e.endsWith("%")&&n<=0||e.endsWith("vh")||e.endsWith("vw")||e.endsWith("px"))?e:`${Se(e,n)}px`:"",bs=Te;function Se(e,n=-1){if(e==null)return 0;if(typeof e=="number")return e>0&&e<1&&n>0?e*n:e;if(e=e.trim().toLocaleLowerCase(),e.length===0)return 0;let l=e.indexOf("px");if(l!==-1)return Number(e.substring(0,l));if(l=e.indexOf("rem"),l!==-1){let a=Number(e.substring(0,l)),o=1;if(Tt){const{fontSize:s}=window.getComputedStyle(document.documentElement,null),u=s.indexOf("px");u>0&&(o=Number(s.substring(0,u)))}return a*=o,a}if(l=e.indexOf("%"),l!==-1)return Number(e.substring(0,l))/100*n;const r=Number(e);return isNaN(r)?0:r}var Nt="PageStateKey";function ht(e){const n={top:null,left:null,bottom:null,right:null};return e&&(e.top!==null&&e.top!==void 0&&(n.top=Se(e.top)),e.left!==null&&e.left!==void 0&&(n.left=Se(e.left)),e.bottom!==null&&e.bottom!==void 0&&(n.bottom=Se(e.bottom)),e.right!==null&&e.right!==void 0&&(n.right=Se(e.right))),n}function La(e,n,l={},r=!0,a=-1,o=-1,s=0,u=0){if(e.headerHeight=Se(l.headerHeight??n.headerHeight??-1),e.headerPadding=ht(l.headerPadding??n.headerPadding),e.footerHeight=Se(l.footerHeight??n.footerHeight??-1),e.footerPadding=ht(l.footerPadding??n.footerPadding),e.contentPadding=ht(l.contentPadding??n.contentPadding),r){const i=l.height??n.height;i?e.height=Se(i,o):e.height=Se(o)-Se(s,o)-Se(u,o),e.width=Se(l.width??n.width??0,a)}}function Or(e,n={}){const l={top:null,bottom:null,right:null,left:null},r={width:0,height:0,headerHeight:0,headerPadding:{...l},footerHeight:0,footerPadding:{...l},contentPadding:{...l},contentHeight:null,safeAreaTop:0,safeAreaBottom:0,safeAreaLeft:0,safeAreaRight:0,headerMounted:!1,footerMounted:!1},a=Object.assign(e.get("safeAreaInset")??{},n.safeAreaInset??{});a&&(r.safeAreaTop=Se(a.top),r.safeAreaBottom=Se(a.bottom),r.safeAreaLeft=Se(a.left),r.safeAreaRight=Se(a.right));const o=e.get("pageLayout");if(!o)return null;La(r,o,n,!0,e.get("rootWidth")??-1,e.get("rootHeight")??-1,e.get("headerBarHeight")??0,e.get("footerBarHeight")??0);const s=(0,t.reactive)(r),u=e.getForParent(Nt);u&&(r.height=jn(e,u),r.width=Kn(e,u),(0,t.watch)([()=>jn(e,u),()=>Kn(e,u)],([h,c])=>{s.height=h,s.width=c}));const i=!u;return(0,t.watch)([()=>n.height,()=>e.get("pageLayout"),()=>e.get("rootWidth"),()=>e.get("rootHeight"),()=>e.get("headerBarHeight"),()=>e.get("footerBarHeight")],([h,c,f=-1,m=-1,$=0,k=0])=>{La(s,c,n,i,f,m,$,k)}),e.set(Nt,s),s}function _n(e){return e.get(Nt)}function qn(e,n){if(n=n??e.get(Nt),n&&n.headerMounted){const l=n.safeAreaTop==-1?0:n.safeAreaTop;return n.headerAllHeight??n.headerHeight+l}return 0}function zn(e,n){if(n=n??e.get(Nt),n&&n.footerMounted){const l=n.safeAreaBottom==-1?0:n.safeAreaBottom;return n.footerAllHeight??n.footerHeight+l}return 0}function jn(e,n){if(n=n??e.get(Nt),n){if(n.contentInnerHeight)return n.contentInnerHeight;const l=qn(e,n),r=zn(e,n),a=Se(n.contentPadding.top??0),o=Se(n.contentPadding.bottom??0);return n.height-l-r-a-o}return 0}function Kn(e,n){if(n=n??e.get(Nt),n){const l=Se(n.contentPadding.left??0),r=Se(n.contentPadding.right??0);return n.contentInnerWidth??n.width-l-r}return 0}function ws(e){return!!e.getForParent(Nt)}var _a=Symbol.for("InnerPageScopeKey");function qa(e){(0,t.provide)(_a,e)}var za=Symbol.for("AbstractPageScopeKey");function Rr(e){(0,t.provide)(za,e)}function un(){const e={hasHeaderBar:!0,hasFooterBar:!0,hasContent:!0,isAbstractPage:!1,isInnerPage:!1},n=(0,t.inject)(_a,null);n&&(e.isInnerPage=!0,typeof n=="object"?(e.hasHeaderBar=n?.hasHeaderBar??!0,e.hasFooterBar=n?.hasFooterBar??!0,e.hasContent=n?.hasContent??!0):(e.hasHeaderBar=!0,e.hasFooterBar=!0,e.hasContent=!0));const l=(0,t.inject)(za,null);return l&&(e.isAbstractPage=!0,typeof l=="object"?(e.hasHeaderBar=l?.hasHeaderBar??!1,e.hasFooterBar=l?.hasFooterBar??!1,e.hasContent=l?.hasContent??!1):(e.hasHeaderBar=!1,e.hasFooterBar=!1,e.hasContent=!1)),e}var st=(function(e){return e[e.Parent=0]="Parent",e[e.Near=1]="Near",e})({});function Hn(e,n){return e==null?!1:typeof n=="function"?n(e):!0}function qe(e,n,l=1,r){const a=$t();return a==null?e:l===0?(0,t.computed)(()=>{const o=a.getAll(n);for(let u=o.length-1;u>=0;u--){const i=o[u];if(Hn(i,r))return i}const s=e.value;return Hn(s,r)?s:null}):(0,t.computed)(()=>{const o=e.value;if(Hn(o,r))return o;const s=a.getAll(n);for(let u=0;u<s.length;u++){const i=s[u];if(Hn(i,r))return i}return null})}function Fr(e){return qe(e,"readonly",1)}function Mr(e){return qe(e,"disabled",1)}function Lr(e){return qe(e,"browse",1)}function We(e){const n=(0,t.ref)(null),l=(0,t.ref)(null),r=Mr((0,t.computed)(()=>l.value??e.disabled)),a=(0,t.ref)(null);return{itemTemplateRef:n,innerDisabled:l,disabled:r,innerReadonly:a,readonly:Fr((0,t.computed)(()=>a.value??e.readonly)),browse:Lr((0,t.computed)(()=>e.browse))}}function Ve(e,n="modelValue",l=null,r){const a=(0,t.toRef)(e,n);let o=a.value;typeof l=="function"&&(o=l(a.value));const s=(0,t.ref)(o);return(0,t.watch)(a,u=>{if(typeof l=="function"){const i=l(u);i!==s.value&&(s.value=i,r&&r("setValue",i))}else u!==s.value&&(s.value=u,r&&r("setValue",u))}),s}var _r=new Map,Wn=new Map,ja=null;function Ss(e){ja=e}function Cs(){return ja}function ut(){return ja?.()??null}function qr(e,n,l){if(l){let r=Wn.get(l);r||(r=new Map,Wn.set(l,r)),r.set(e,n)}else _r.set(e,n)}function tt(e,n){let l=null;if(n){let r=Wn.get(n);r&&(l=r.get(e))}return l||(l=_r.get(e)),l}function Ts(e,n){for(let l in e){const r=e[l];qr(l,r,n)}}function xs(e){Wn.delete(e)}function ks(){return{top:0,left:0,bottom:0,right:0}}function $s(){return Tt?{rootWidth:window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,rootHeight:window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,pageLayout:{}}:{rootWidth:-1,rootHeight:-1,pageLayout:{}}}function Ns(e,n){let l=e;if(n.componentPrefix){const r=l.indexOf("-");r!==-1?l=`${n.componentPrefix}${l.slice(r)}`:l=`${n.componentPrefix}-${l}`}return nn(l)}var Ds=class{packages;installers;resizeListener=null;resizeObserver=null;_version;get version(){return this._version}constructor(e,n,l){this.packages=e,this.installers=n,this._version=l}install(e,n={}){n?.install!==!1&&(this.packages.forEach(r=>{if(r.install)e.use(r,n);else if(r.name){const a=Ns(r.name,n);e.component(a,r)}}),this.installers.forEach(r=>{r(e,n)}));const l=Mt();if(n.autoAdjustPageLayout!==!1){const r={...n},a=this.resizeListener;typeof n.resizeDebounceDelay=="number"?this.resizeListener=rt(()=>{const o={...r};this.updateLayout(o,l)},n.resizeDebounceDelay):this.resizeListener=()=>{const o={...r};this.updateLayout(o,l)},window.visualViewport?(a&&window.visualViewport.removeEventListener("resize",a),window.visualViewport.addEventListener("resize",this.resizeListener)):window.ResizeObserver&&(this.resizeObserver&&this.resizeObserver.disconnect(),this.resizeObserver=new window.ResizeObserver(this.resizeListener),this.resizeObserver.observe(window.document.body))}this.updateLayout(n,l)}unInstall(){window.visualViewport?this.resizeListener&&window.visualViewport.removeEventListener("resize",this.resizeListener):window.ResizeObserver&&this.resizeObserver&&this.resizeObserver.disconnect()}updateLayout(e,n){const l=e.headerBarHeight??0,r=e.footerBarHeight??0,a=Ft({},ks(),e.safeAreaInset),o=$s(),s=Ft({},o.pageLayout,e.pageLayout);n=n??Mt(),n.set("safeAreaInset",a),n.set("headerBarHeight",l),n.set("footerBarHeight",r),n.set("pageLayout",s),n.set("rootWidth",o.rootWidth),n.set("rootHeight",o.rootHeight);const u=["install","componentPrefix","safeAreaInset","headerBarHeight","footerBarHeight","pageLayout","rootWidth","rootHeight"];for(const i in e)u.indexOf(i)===-1&&n.set(i,e[i])}setScopeGetter(e){Ss(e)}getScopeGetter(){return Cs()}setAPI(e,n,l){qr(e,n,l)}getAPI(e,n){return tt(e,n)}batchSetAPI(e,n){Ts(e,n)}clearScopeAPI(e){xs(e)}getRootDomain(){return Mt()}},Es=[I.ElAffix,I.ElAlert,I.ElAutocomplete,I.ElAutoResizer,I.ElAvatar,I.ElBacktop,I.ElBadge,I.ElBreadcrumb,I.ElBreadcrumbItem,I.ElButton,I.ElButtonGroup,I.ElCalendar,I.ElCard,I.ElCarousel,I.ElCarouselItem,I.ElCascader,I.ElCascaderPanel,I.ElCheckTag,I.ElCheckbox,I.ElCheckboxButton,I.ElCheckboxGroup,I.ElCol,I.ElCollapse,I.ElCollapseItem,I.ElCollapseTransition,I.ElColorPicker,I.ElConfigProvider,I.ElContainer,I.ElAside,I.ElFooter,I.ElHeader,I.ElMain,I.ElDatePicker,I.ElDescriptions,I.ElDescriptionsItem,I.ElDialog,I.ElDivider,I.ElDrawer,I.ElDropdown,I.ElDropdownItem,I.ElDropdownMenu,I.ElEmpty,I.ElForm,I.ElFormItem,I.ElIcon,I.ElImage,I.ElImageViewer,I.ElInput,I.ElInputNumber,I.ElLink,I.ElMenu,I.ElSubMenu,I.ElMenuItem,I.ElMenuItemGroup,I.ElPageHeader,I.ElPagination,I.ElPopconfirm,I.ElPopover,I.ElPopper,I.ElProgress,I.ElRadio,I.ElRadioButton,I.ElRadioGroup,I.ElRate,I.ElResult,I.ElRow,I.ElScrollbar,I.ElSelect,I.ElOption,I.ElOptionGroup,I.ElSelectV2,I.ElSkeleton,I.ElSkeletonItem,I.ElSlider,I.ElSpace,I.ElSteps,I.ElStep,I.ElSwitch,I.ElTable,I.ElTableColumn,I.ElTableV2,I.ElTabs,I.ElTabPane,I.ElTag,I.ElTimePicker,I.ElTimeSelect,I.ElTimeline,I.ElTimelineItem,I.ElTooltip,I.ElTransfer,I.ElTree,I.ElTreeSelect,I.ElTreeV2,I.ElUpload,I.ElStatistic,I.ElCountdown,I.ElSegmented,I.ElAnchor,I.ElAnchorLink,I.ElWatermark,I.ElMessageBox,I.ElMessage,I.ElNotification,I.ElSplitter],Ps=[I.ElInfiniteScroll,I.ElLoading,I.ElMessage,I.ElMessageBox,I.ElNotification,I.ElPopoverDirective],Vs=(e,n={})=>{const l=n.componentPrefix??"fox";Es.forEach(r=>{if(typeof r.name=="string"){let a="";const o=xr(r.name),s=o.indexOf("-");s!==-1?a=`${l}${o.slice(s)}`:a=`${l}-${o}`,a=nn(a),e.component(a,r)}else e.use(r)}),Ps.forEach(r=>{e.use(r)})};function ge(e){const n=`fox-${e}`,l=nn(n);return{componentName:n,scope:e.replaceAll("-",""),create(r){return r.baseName=e,r.name=l,r.install=(a,o)=>{let s=r.name;o?.componentPrefix&&(s=`${o.componentPrefix}-${r.baseName}`,s=nn(s)),a.component(s,r)},(0,t.defineComponent)(r)},createDemo(r){return r.baseName=e,r.name="demo-"+e,(0,t.defineComponent)(r)}}}var Be={browse:{type:[String],required:!1,default:()=>null},disabled:{type:[Boolean,String],required:!1,default:()=>null},readonly:{type:[Boolean,String],required:!1,default:()=>null},labelPosition:{type:String,required:!1,default:()=>null},labelWidth:{type:[String,Number],required:!1,default:()=>null},textAlign:{type:[String],required:!1,default:()=>null},hasBorder:{type:Boolean,required:!1,default:()=>!0}},_e={prop:{type:String,required:!1},label:{type:String,required:!1},isRequired:{type:[String,Boolean],required:!1,default:()=>!1},span:{type:[Number,String],required:!1,default:()=>1},offset:{type:[Number,String],default:()=>0},width:{type:[String,Number],required:!1},infoMarkClass:{type:String,required:!1,default:()=>"is-info"},warnMarkClass:{type:String,required:!1,default:()=>"is-warn"},errorMarkClass:{type:String,required:!1,default:()=>"is-error"},errorTip:{type:String,required:!1},errorIcon:{type:Object,required:!1},errorClass:{type:String,required:!1},warnTip:{type:String,required:!1},warnIcon:{type:Object,required:!1},warnClass:{type:String,required:!1},infoTip:{type:String,required:!1},infoIcon:{type:Object,required:!1},infoClass:{type:String,required:!1},contentClass:{type:String,required:!1,default:()=>"content--default"},contentStyle:{type:Object,required:!1,default:()=>{}},hintType:{type:String,required:!1,default:()=>"text"},hintText:{type:[String],required:!1},hintVisible:{type:[Boolean,String],required:!1,default:()=>!0},hintProps:{type:Object,required:!1,default:()=>{}},appearListen:{type:[Boolean,String],required:!1,default:()=>!1}},zr={column:{type:[String,Number],required:!1},columnWidth:{type:[String,Number],required:!1},gutter:{type:[String,Number],required:!1},minItemWidth:{type:[String,Number],required:!1},maxItemWidth:{type:[String,Number],required:!1}},jr={name:{type:String,required:!1},prop:{type:String,required:!1},tag:{type:String,required:!1,default:()=>"div"},modelValue:{type:String,required:!1},rules:{type:[Object],required:!1},pureDataRules:{type:[Object],required:!1},type:{type:[String],required:!1},justify:{type:[String],required:!1,default:()=>"stretch"},align:{type:[String],required:!1,default:()=>"start"},span:{type:[Number,String],required:!1,default:()=>1},offset:{type:[Number],default:()=>0},autoLayout:{type:[Boolean],required:!1,default:()=>!0},isWrap:{type:[Boolean,String],required:!1,default:()=>!0},width:{type:[String,Number],required:!1},height:{type:[String,Number],required:!1},showMark:{type:[String,Boolean],required:!1,default:()=>!0},markColor:{type:[String],required:!1},title:{type:String,default:()=>""},titleColor:{type:[String],required:!1},collapseOnClickHeader:{type:[Boolean],requried:!1,default:()=>!1},collapse:{type:[String,Boolean],requried:!1},showCollapse:{type:[String,Boolean],required:!1,default:()=>!1},collapsePosition:{type:[String],requried:!1,default:()=>"right"},collapseText:{type:[String],requried:!1},expandText:{type:[String],requried:!1},collapseIcon:{type:[Object],requried:!1},collapseHeight:{type:[String,Number],requried:!1},rollingDisplay:{type:[Boolean],requried:!1,default:()=>!0}},Kr=[];for(const e in jr)Kr.push(e);var Is={name:{type:String,required:!1,default:()=>""},modelValue:{type:Object,required:!1},width:{type:[Number,String],required:!1},height:{type:[Number,String],required:!1},safeAreaInset:{type:Object,required:!1},contentPadding:{type:Object,required:!1},headerPadding:{type:Object,required:!1},footerPadding:{type:Object,required:!1},headerHeight:{type:[Number,String],required:!1},footerHeight:{type:[Number,String],required:!1},rules:{type:[Object],required:!1},pureDataRules:{type:[Object],required:!1}},As={...Be,...zr,...Is},Bs=(e,n)=>({inheritAttrs:!0,props:As,setup(l,r){const a=un(),{domain:o,exposeApi:s}=Ma({props:l,context:r},l.name);if(o){const c=Or(o,l);s({getPageContentHeight:()=>jn(o,c),getPageContentWidth:()=>Kn(o,c),getPageHeaderHeight:()=>qn(o,c),getPageFooterHeight:()=>zn(o,c)})}const u=(0,t.computed)(()=>({[e]:!0,"is-inner":a.isInnerPage})),i=(0,t.computed)(()=>({})),h=(c,f=!1)=>{const m=o.componentPublicExposed;m&&typeof m.setNameValidateRules=="function"&&m.setNameValidateRules(c,!0,f)};return(0,t.watch)([()=>l.rules,()=>l.pureDataRules],([c,f],[m,$])=>{if(c&&m){const k=(0,t.toRaw)(m),p=(0,t.toRaw)(c),g=p?Reflect.ownKeys(p):[];(k?Reflect.ownKeys(k):[]).forEach(y=>{g.includes(y)||(p[y]=[])}),h(p)}if(f&&$){const k=(0,t.toRaw)($),p=(0,t.toRaw)(f),g=p?Reflect.ownKeys(p):[];(k?Reflect.ownKeys(k):[]).forEach(y=>{g.includes(y)||(p[y]=[])}),h(p,!0)}},{deep:!0}),(0,t.onMounted)(()=>{if(l.rules){const c=(0,t.toRaw)(l.rules);h(c)}if(l.pureDataRules){const c=(0,t.toRaw)(l.pureDataRules);h(c,!0)}}),()=>{if(a.isAbstractPage)return r.slots?.default?.();{const c={class:u.value,style:i.value};return(0,t.h)("div",c,[r.slots?.default?.()])}}}}),{componentName:Os,create:Rs,scope:Fs}=ge("page"),Ms=Rs(Bs(Os,Fs)),Ka=Ms;function Yn(e){const n=(0,t.unref)(e),l=window.getComputedStyle(n),r={top:parseFloat(l.paddingTop),right:parseFloat(l.paddingRight),bottom:parseFloat(l.paddingBottom),left:parseFloat(l.paddingLeft)},a={width:n.clientWidth,height:n.clientHeight};return{outer:a,inner:{width:a.width-r.left-r.right,height:a.height-r.top-r.bottom},padding:r}}function Ha(e){return Yn(e).outer}function Wa(e){return Yn(e).inner}var Hr={headerbar:{},radio:{},checkbox:{}};function Ls(e){Object.assign(Hr,e)}function Wr(){return Hr}var _s={fixed:{type:Boolean,required:!1,default:!0},safeAreaInsetTop:{type:Boolean,required:!1,default:!0},border:{type:Boolean,required:!1,default:!1},height:{type:[String,Number],required:!1},align:{type:[String],default:"center"},padding:{type:[Object],required:!1},leftShow:{type:[Boolean,String],required:!1,default:!0},leftIcon:{type:[Object],required:!1},leftText:{type:String,required:!1},titleShow:{type:Boolean,required:!1,default:!0},title:{type:String,required:!1,default:""},titleIcon:{type:[Object],required:!1},rightShow:{type:[String,Boolean],required:!1,default:!0},rightIcon:{type:[Object],required:!1},rightText:{type:String,required:!1,default:""}},qs=(e,n,l,r=!1)=>({props:_s,emits:["back","click-title","click-right","click-right-text"],setup(a,o){const s=un(),u=s.hasHeaderBar?$t():null,i=u?_n(u):null;i&&(i.headerMounted=!0);const h=Wr(),c=e,f=(0,t.computed)(()=>{const _={[c]:!0,[`${c}--border`]:a.border,[`${c}--fixed`]:a.fixed};return s.isInnerPage?_[`${c}--inner`]=!0:_[`${c}--safe-area-inset-top`]=a.safeAreaInsetTop,_[`${c}--abstract`]=s.isAbstractPage,_}),m=(0,t.computed)(()=>({[`${c}__inner`]:!0,[`${c}__inner--${a.align}`]:!0})),$=Oe(a.height)?null:Se(a.height),k=(0,t.computed)(()=>{const _={safeAreaTop:null,height:null,left:null,top:null,right:null,bottom:null};if(!s.hasHeaderBar)return _;if(u&&i){const x=ht(a.padding??i.headerPadding);if(Object.assign(_,x),Oe($)||(i.headerHeight=$),_.height=i.headerHeight,_.safeAreaTop=i.safeAreaTop===-1?0:i.safeAreaTop,_.safeAreaTop>0){const K=Se(x.top??0);_.top=_.safeAreaTop+K,_.height&&_.height>0&&(_.height=_.height+_.safeAreaTop)}return _}if(Oe($)||(_.height=$),a.padding){const x=ht(a.padding);Object.assign(_,x)}return _}),p=(0,t.ref)(null),g=()=>{if(i&&p.value&&!Ba(p.value)){if(!r){const _=Ha(p.value);i.headerAllHeight=_.height}return i.headerMounted=!0,!0}return!1},y=rt(g,120);let b=null;(0,t.onMounted)(()=>{s.hasHeaderBar&&i&&(Mn(g,50,5,50,!0),window.ResizeObserver&&p.value&&(b=new window.ResizeObserver(y),b.observe(p.value)))}),(0,t.onUnmounted)(()=>{s.hasHeaderBar&&i&&(i.headerMounted=!1,b&&(b.disconnect(),b=null))});const E=(0,t.computed)(()=>{const _={};return s.hasHeaderBar&&(k.value.height!==null&&k.value.height!==void 0&&(_.height=`${k.value.height}px`),k.value.top!==null&&k.value.top!==void 0&&(_.paddingTop=`${k.value.top}px`),k.value.left!==null&&k.value.left!==void 0&&(_.paddingLeft=`${k.value.left}px`),k.value.right!==null&&k.value.right!==void 0&&(_.paddingRight=`${k.value.right}px`),k.value.bottom!==null&&k.value.bottom!==void 0&&(_.paddingBottom=`${k.value.bottom}px`)),_}),d=(0,t.computed)(()=>{const _=k.value?.height;return Oe(_)||_<0?!0:_>0});function C(){o.emit("back")}function N(){o.emit("click-title")}function D(){o.emit("click-right")}function Y(){o.emit("click-right-text")}const P=()=>{if(!a.leftShow)return null;const _=[];if(o.slots.left)_.push(o.slots.left());else{if(o.slots.leftIcon){const x=(0,t.h)("view",{class:"left-icon",onClick:C},[o.slots.leftIcon()]);_.push(x)}else{const x=a.leftIcon??h.headerbar.Left??l,K=(0,t.h)("view",{class:"left-icon",onClick:C},[(0,t.h)(x)]);_.push(K)}if(a.leftText){const x=(0,t.h)("view",{class:"left-text",onClick:C},[a.leftText]);_.push(x)}}return _.length===0?null:(0,t.h)("view",{class:"fox-header-bar__left"},_)},q=()=>{if(!a.rightShow)return null;const _=[];if(o.slots.right)_.push(o.slots.right());else{if(a.rightText){const x=(0,t.h)("view",{class:"right-text",onClick:Y},[a.rightText]);_.push(x)}if(o.slots.rightIcon){const x=(0,t.h)("view",{class:"right-icon",onClick:D},[o.slots.rightIcon()]);_.push(x)}else if(a.rightIcon){const x=(0,t.h)("view",{class:"right-icon",onClick:D},[(0,t.h)(a.rightIcon)]);_.push(x)}}return _.length===0?null:(0,t.h)("view",{class:"fox-header-bar__right"},_)},T=()=>{if(!a.titleShow)return null;const _=[],x=o.slots.default?o.slots.default():null;if(x)_.push(x);else{if(a.title){const K=(0,t.h)("view",{class:"title-text"},[a.title]);_.push(K)}if(o.slots.titleIcon){const K=(0,t.h)("view",{class:"title-icon",onClick:N},[o.slots.titleIcon()]);_.push(K)}else if(a.titleIcon){const K=(0,t.h)("view",{class:"title-icon",onClick:N},[(0,t.h)(a.titleIcon)]);_.push(K)}}return _.length===0?null:(0,t.h)("view",{class:"fox-header-bar__title"},_)},R=()=>{const _=[],x=o.slots.bottom?o.slots.bottom():null;return x&&_.push(x),_.length===0?null:(0,t.h)("view",{class:"fox-header-bar__bottom"},_)};return()=>{if(!s.hasHeaderBar||!d.value)return null;const _=[];if(o.slots.all)_.push(o.slots.all());else{const K=[],M=P();M&&K.push(M);const L=T();L&&K.push(L);const j=q();if(j&&K.push(j),K.length>0){const H=(0,t.h)("view",{class:m.value},K);_.push(H)}const B=R();B&&_.push(B)}if(_.length===0)return null;const x={class:f.value,style:E.value,ref:p};return(0,t.h)("view",x,_)}}}),{componentName:zs,create:js,scope:Ks}=ge("header-bar"),Hs=js(qs(zs,Ks,Ke.ArrowLeft)),Ya=Hs,Ws={fixed:{type:Boolean,required:!1,default:!0},safeAreaInsetBottom:{type:Boolean,required:!1,default:!0},border:{type:Boolean,required:!1,default:!1},height:{type:[String,Number],required:!1},padding:{type:[Object],required:!1},align:{type:String,required:!1,default:"center"}};function Ys(e,n,l=!1){return{props:Ws,setup(r,a){const o=un(),s=o.hasFooterBar?$t():null,u=s?_n(s):null,i=e,h=(0,t.computed)(()=>{const b={[i]:!0,[`${i}--${r.align}`]:!0,[`${i}--border`]:r.border,[`${i}--fixed`]:r.fixed};return o.isInnerPage?b[`${i}--inner`]=!0:b[`${i}--safe-area-inset-bottom`]=r.safeAreaInsetBottom,b[`${i}--abstract`]=o.isAbstractPage,b}),c=Oe(r.height)?null:Se(r.height),f=(0,t.computed)(()=>{const b={safeAreaBottom:null,height:null,left:null,top:null,right:null,bottom:null};if(!o.hasFooterBar)return b;if(s&&u){const E=ht(r.padding??u.footerPadding);if(Object.assign(b,E),Oe(c)||(u.footerHeight=c),b.height=u.footerHeight,b.safeAreaBottom=u.safeAreaBottom===-1?0:u.safeAreaBottom,b.safeAreaBottom>0){const d=Se(E.bottom??0);b.bottom=b.safeAreaBottom+d,b.height&&b.height>0&&(b.height=b.height+b.safeAreaBottom)}return b}if(Oe(c)||(b.height=c),r.padding){const E=ht(r.padding);Object.assign(b,E)}return b}),m=(0,t.computed)(()=>{const b=f.value?.height;return Oe(b)||b<0?!0:b>0}),$=(0,t.ref)(null),k=()=>{if(u&&$.value&&!Ba($.value)){if(!l){const b=Ha($.value);u.footerAllHeight=b.height}return u.footerMounted=!0,!0}return!1},p=rt(k,120);let g=null;(0,t.onMounted)(()=>{o.hasFooterBar&&u&&(Mn(k,50,5,50,!0),window.ResizeObserver&&$.value&&(g=new window.ResizeObserver(p),g.observe($.value)))}),(0,t.onUnmounted)(()=>{o.hasFooterBar&&u&&(u.footerMounted=!1,g&&(g.disconnect(),g=null))});const y=(0,t.computed)(()=>{const b={};return o.hasFooterBar&&(f.value.height!==null&&f.value.height!==void 0&&(b.height=Te(f.value.height)),f.value.top!==null&&f.value.top!==void 0&&(b.paddingTop=Te(f.value.top)),f.value.left!==null&&f.value.left!==void 0&&(b.paddingLeft=Te(f.value.left)),f.value.right!==null&&f.value.right!==void 0&&(b.paddingRight=Te(f.value.right)),f.value.bottom!==null&&f.value.bottom!==void 0&&(b.paddingBottom=Te(f.value.bottom))),b});return()=>{if(!o.hasFooterBar||!m.value)return null;const b=a.slots.default?a.slots.default():[],E={ref:$,class:h.value,style:y.value};return(0,t.h)("view",E,b)}}}}var{componentName:Us,create:Gs,scope:Xs}=ge("footer-bar"),Qs=Gs(Ys(Us,Xs)),Ua=Qs;function Zs(e){const n={};if(!e)return n;const l=getComputedStyle(e),r=l.getPropertyValue("--fox-content-padding-top").trim();r&&(n.top=Se(r));const a=l.getPropertyValue("--fox-content-padding-right").trim();a&&(n.right=Se(a));const o=l.getPropertyValue("--fox-content-padding-bottom").trim();o&&(n.bottom=Se(o));const s=l.getPropertyValue("--fox-content-padding-left").trim();return s&&(n.left=Se(s)),n}var Js={padding:{type:[Object],required:!1},tag:{type:[String],required:!1,default:()=>"div"}};function eu(e,n){return{props:Js,setup(l,{slots:r,attrs:a}){const o=un(),s=(0,t.shallowRef)(null),u=o.hasContent?$t():null,i=e,h=(0,t.computed)(()=>({[i]:!0,[`${i}--inner`]:o.isInnerPage})),c=u?_n(u):null,f=(0,t.computed)(()=>{const g={};if(!o.hasContent)return g;if(u&&c){if(l.padding){const Y=ht(l.padding);Object.assign(c.contentPadding,Y)}const y=qn(u,c),b=zn(u,c),E=!o.isInnerPage&&c.height>=0?`${c.height}px`:"";E&&(g.height=E);let d=Se(c?.contentPadding?.top??s.value?.top??-1);(d>=0||y>0)&&(d=d<0?0:d,g.paddingTop=`${y+d}px`);let C=Se(c?.contentPadding?.bottom??s.value?.bottom??-1);(C>=0||b>0)&&(C=C<0?0:C,g.paddingBottom=`${b+C}px`);const N=Se(c?.contentPadding?.left??s.value?.left??-1);N>=0&&(g.paddingLeft=`${N}px`);const D=Se(c?.contentPadding?.right??s.value?.right??-1);return D>=0&&(g.paddingRight=`${D}px`),g}else{const y={};if(l.padding){const N=ht(l.padding);Object.assign(y,N)}const b=Se(y.top??s.value?.top??-1);b>=0&&(g.paddingTop=`${b}px`);const E=Se(y.right??s.value.right??-1);E>=0&&(g.paddingRight=`${E}px`);const d=Se(y.bottom??s.value.bottom??-1);d>=0&&(g.paddingBottom=`${d}px`);const C=Se(y.left??s.value.left??-1);return C>=0&&(g.paddingLeft=`${C}px`),g}}),m=(0,t.ref)(null),$=()=>{if(c&&m.value){const g=Yn(m.value).inner;c.contentInnerHeight=g.height,c.contentInnerWidth=g.width}},k=rt($,120);let p=null;return(0,t.onMounted)(()=>{o.hasContent&&(m.value&&(s.value=Zs(m.value)),!o.isInnerPage&&(requestAnimationFrame($),window.ResizeObserver&&m.value&&(p=new window.ResizeObserver(k),p.observe(m.value))))}),(0,t.onUnmounted)(()=>{o.hasContent&&p&&(p.disconnect(),p=null)}),()=>{if(o.hasContent){const g=l.tag??"view",y={...a,ref:m,class:h.value,style:f.value};return(0,t.h)(g,y,r)}else return r.default?.()}}}}var{componentName:tu,create:nu,scope:au}=ge("content"),lu=nu(eu(tu,au)),Ga=lu,Lt="GroupStateKey",Yr=Symbol.for("GroupScopeKey");function Un(){return(0,t.inject)(Yr,!1)}function Gn(e=!0){(0,t.provide)(Yr,e)}function ru(e,n={}){Reflect.ownKeys(n).forEach(l=>{if(typeof l!="string")return;const r=n[l];Oe(r)||(e[l]=r)})}function ou(e,n={}){const l={type:"grid",width:e.get("width",-1),column:-1,gutter:-1};ru(l,n);const r=(0,t.shallowRef)(l),a=(0,t.markRaw)({layout:r,passport:0,order:{index:0}});return e.set(Lt,a),a}function Xa(e,n,l=-1,r=-1,a=!1,o,s,u){const i=e.get(Lt);if(!i)return;const h=e.get("groupLayout")??{};l===-1&&(l=h.column??1),r===-1&&(r=h.gutter??0),o||(o=h.minItemWidth??-1),s||(s=h.maxItemWidth??-1);const c=Se(o),f=Se(s);u||(u=h.type??"grid");const m=()=>{const $=n===""||n===-1,k=Se(n);let p=De(l);const g=Se(r);if(!$){let E=(k-(p-1)*g)/p;for(;f!==-1&&E>f;)p++,E=(k-(p-1)*g)/p;for(;c!==-1&&p>1&&E<c;)p--,E=(k-(p-1)*g)/p}let y=!1;const b=i.layout;b.value.width=n,b.value.column!==p&&(b.value.column=p,y=!0),b.value.gutter!==g&&(b.value.gutter=g,y=!0),b.value.type!==u&&(b.value.type=u,y=!0),y&&(0,t.triggerRef)(b)};if(a)m();else{const $=++i.passport;setTimeout(()=>{$===i.passport&&m()},50)}}function Xn(e,n=!1){let l;return n?l=e.getForParent(Lt):l=e.get(Lt),l.layout}function Qn(e,n=!1){let l;return n?l=e.getForParent(Lt):l=e.get(Lt),l.order}function Ur(e,n=1){if(n==="stretch")return-1;const l=De(n);return l===-1?100:100*l/e}function Zn(e,n,l=1,r=0,a){const o={};let s=0;a?s=Se(a):s=Ur(n.column,l),s>0&&(o.width=`${s}%`);const u=Ur(n.column,r);u>0&&(o["margin-left"]=`${u}%`);const i=Se(n.gutter)/2;return i>0&&(o["padding-left"]=`${i}px`,o["padding-right"]=`${i}px`),o}function Jn(e,n,l=1,r=0){if(l==="stretch"){const i=e.index%n.column,h=i+(n.column-i);return e.index=e.index+(h-i),{"grid-column":`${i+1} / -1`}}let a=De(l);if(a===-1){const i=e.index%n.column;return n.column,i==0?e.index=e.index+n.column:e.index=e.index+(n.column-i)+n.column,{"grid-column":"1 / -1"}}if(a>n.column){const i=e.index%n.column;return n.column,i==0?e.index=e.index+n.column:e.index=e.index+(n.column-i)+n.column,{"grid-column":"1 / -1"}}const o=De(r)%n.column;let s=(e.index+o)%n.column,u=s+a;return u>n.column?(s=0,u=s+a,e.index=e.index+(n.column-s)+a):e.index=e.index+o+a,o>0?{"grid-column":`${s+1} / span ${a}`}:{"grid-column-start":`span ${a}`}}var Gr=Symbol("RollingStateKey");function iu(e){(0,t.provide)(Gr,e)}function su(){return(0,t.inject)(Gr,null)}function cn(e){return e.getBoundingClientRect().height}function uu(e){const n=e.getBoundingClientRect(),l=window.getComputedStyle(e);return n.height-(parseFloat(l.paddingTop)||0)-(parseFloat(l.paddingBottom)||0)-(parseFloat(l.borderTopWidth)||0)-(parseFloat(l.borderBottomWidth)||0)}function cu(e){let n=uu(e);if(n<=0){const l=e.cloneNode(!0);l.style=`width: ${e.offsetWidth}px; height: initial; overflow: initial; visibility: hidden;`,document.body.appendChild(l),n=cn(l),document.body.removeChild(l)}return n}function fu(e,n,l){const r=typeof e=="number"?e:parseInt(e),a=typeof n=="number"?n:parseInt(n),o=typeof l=="number"?l:parseInt(l);if(r<=0)return"1fr";const s=(r-(a-1)*o)/a;return s>0?`${s}px`:"1fr"}function Xr(e){const n=[];return e.forEach(l=>{l.type===t.Fragment&&Array.isArray(l.children)?n.push(...Xr(l.children)):n.push(l)}),n}function du(e){return!(e.type===t.Comment||e.type===t.Text&&typeof e.children=="string"&&e.children.trim()==="")}function fn(e){function n(){return Xr(e?.()??[]).filter(du)}return{getChildren:n}}var hu={...Be,...zr,...jr};function mu(e,n,l){return{props:hu,emits:["update:collapse","header-click"],setup(r,a){const{domain:o,exposeApi:s}=Ma({props:r,ignorePropKeys:Kr,context:a},r.prop??r.name),u=ou(o,{type:r.type}),i=Un();Gn(!0);const h=r.rollingDisplay?su():null,c=(0,t.ref)(null),f=(0,t.computed)(()=>r.rollingDisplay?h&&!h.disabled:!1),m=(0,t.computed)(()=>i&&o?Xn(o,!0).value:null),$=(re,U=!1)=>{const S=o?.componentPublicExposed;S&&typeof S.setNameValidateRules=="function"&&S.setNameValidateRules(re,!0,U)};(0,t.watch)([()=>r.rules,()=>r.pureDataRules],([re,U],[S,w])=>{if(re&&S){const G=(0,t.toRaw)(S),te=(0,t.toRaw)(re),F=te?Reflect.ownKeys(te):[];(G?Reflect.ownKeys(G):[]).forEach(z=>{F.includes(z)||(te[z]=[])}),$(te)}if(U&&w){const G=(0,t.toRaw)(w),te=(0,t.toRaw)(U),F=te?Reflect.ownKeys(te):[];(G?Reflect.ownKeys(G):[]).forEach(z=>{F.includes(z)||(te[z]=[])}),$(te,!0)}},{deep:!0});const k=e,p=(0,t.computed)(()=>{const re={};re.height=K.value;const U=i?Qn(o,!0):null;if(m.value&&U){if(m.value.type==="grid"){const S=Jn(U,m.value,r.span,r.offset);Object.assign(re,S)}else if(m.value.type==="flow"){const S=Zn(U,m.value,r.span,r.offset,r.width);Object.assign(re,S)}}else r.width&&(re.width=Te(r.width));return re}),g=(0,t.computed)(()=>{const re=u.layout.value.type;return re==="grid"||re==="flow"?{[`${k}--${re}`]:!0,[`${k}--${re}-justify-${r.justify}`]:!0,[`${k}--${re}-align-${r.align}`]:!0,[`${k}--gutter`]:!0}:{[`${k}--${re}`]:!0,[`${k}--gutter`]:!0}}),y=(0,t.computed)(()=>{if(u.layout.value.type==="grid"){let re="";if(r.columnWidth)re=`repeat(auto-fill, ${r.columnWidth})`;else{const U=fu(Y.value,u.layout.value.column,u.layout.value.gutter);re=`repeat(${u.layout.value.column}, ${U})`}return{"column-gap":`${u.layout.value.gutter}px`,"grid-template-columns":re}}}),b=(0,t.toRef)(r,"gutter"),E=(0,t.toRef)(r,"column"),d=(0,t.computed)(()=>i||f.value?!0:Ce(r.isWrap)),C=[],N=re=>{C.push(re)},D=()=>{let re=C.length;C.splice(0,re)},Y=(0,t.ref)(-1),P=re=>{const U=Wa(re).width;U>0&&U!==Y.value&&(Y.value=U)};Xa(o,Y.value,E.value,b.value,!0,r.minItemWidth,r.maxItemWidth,r.type),r.autoLayout&&(0,t.watch)([Y,E,b],([re,U,S])=>{u.order.index=0,Xa(o,re,U,S,!1,r.minItemWidth,r.maxItemWidth,r.type)});const q=(0,t.computed)(()=>M.value?r.expandText??"":r.collapseText??""),T=(0,t.computed)(()=>({[`${e}__header-collapse-text`]:!0})),R=(0,t.computed)(()=>({[`${e}__header-collapse-icon`]:!0,"is-expand":!M.value,"is-collapse":M.value})),_=(0,t.ref)(),x=(0,t.ref)(),K=(0,t.computed)(()=>L.value||Te(r.height)||""),M=(0,t.ref)(!1),L=(0,t.ref)(""),j=(0,t.ref)(!1);let B=-1;const H=(re,U=!0)=>{if(Oe(re))return;const S=_.value;if(S&&M.value!==re){if(B=B===-1?cu(S):B,j.value=!0,U)if(S.style["will-change"]="height",S.ontransitionend=function(){S.ontransitionend=null,this.style["will-change"]="auto",re||(L.value="",j.value=!1)},re){let w=0;r.collapseHeight?w=Se(r.collapseHeight):x.value&&x.value.classList.contains(`${e}__header`)&&(w=cn(x.value),w===0&&tn(x.value)?O(x.value):L.value=`${w}px`),L.value=`${B}px`,(0,t.nextTick)(()=>{L.value=`${w}px`})}else L.value=`${B}px`;else if(re)if(r.collapseHeight){const w=r.collapseHeight;L.value=`${w}px`}else if(x.value&&x.value.classList.contains(`${e}__header`)){const w=cn(x.value);w===0&&tn(x.value)?O(x.value):L.value=`${w}px`}else L.value="0px";else j.value=!1,L.value=`${B}px`;M.value=re,a.emit("update:collapse",re)}};(0,t.watch)(()=>r.collapse,re=>{H(Ce(re))});const ee=re=>{a.emit("header-click",re),r.collapseOnClickHeader===!0&&J()},Z=re=>{r.collapseOnClickHeader!==!0&&(re.stopPropagation?.(),J())},J=re=>{re=re??!M.value,H(re)};s({toggleCollapse:J,doLayout:()=>{C[0]&&(P(C[0]),Xa(o,Y.value,E.value,b.value,!0,r.minItemWidth,r.maxItemWidth,r.type))}});let V=null;const O=re=>{V||(V=new IntersectionObserver(U=>{if(U.some(S=>S.isIntersecting)){if(M.value){const S=cn(x.value);L.value=`${S}px`}V&&(re&&V.unobserve(re),V.disconnect(),V=null)}},{threshold:0}),V.observe(re))};let ne=null,ie=!0;const Q=re=>{if(r.rules){const U=(0,t.toRaw)(r.rules);$(U)}if(r.pureDataRules){const U=(0,t.toRaw)(r.pureDataRules);$(U,!0)}if(Tt&&(re&&!Oe(r.collapse)&&H(Ce(r.collapse),!1),r.autoLayout&&Array.isArray(C)&&C.length>0)){const U=C[0];if(U&&(P(U),window.ResizeObserver)){const S=rt(()=>P(U),120);ne=new window.ResizeObserver(S),ne.observe(U)}}},A=()=>{const re=C[0];re&&ne?.observe(re),ne?.disconnect(),ne=null},X=!f.value||h?.acquire();X&&(c.value=f.value?!0:null),(0,t.onMounted)(()=>{if(X&&(Q(ie),ie=!1),f.value&&h){let re=null,U=h.initialHeight;h.observe(_.value,S=>{if(S!==c.value)if(S)c.value=!0,M.value||(L.value=""),re=setTimeout(()=>{re=null,c.value!==!1&&(Q(ie),ie=!1)},100);else{if(re!==null&&clearTimeout(re),c.value=!1,!M.value)if(ie)L.value=h.initialHeight;else{let w=cn(_.value);w<=0?L.value=U:(L.value=`${w}px`,U=L.value)}ie||A()}})}}),(0,t.onUnmounted)(()=>{A(),h&&h.unobserve(_.value)});const oe=(re="right")=>{const U=[];if(q.value){const G={class:T.value},te=(0,t.h)("span",G,[q.value]);U.push(te)}const S={class:R.value},w=l(r.collapseIcon,S);return w&&U.push(w),U.length>0?(0,t.h)("div",{class:{[`${k}__header-collapse`]:!0,[`is-${re}`]:!0},onClick:Z},U):null},fe=(re,U,S,w)=>{const G={...g.value};if(U===0&&(G[`${k}__first`]=!0),S>=w-1&&(G[`${k}__last`]=!0),d.value===!1){const te=a.attrs.class;te&&(G[`${te}`]=!0)}return(0,t.h)("div",{ref:N,key:`${U}`,class:G,style:y.value},re)};return()=>{const re=r.prop??r.name;if(f.value&&c.value!==!0){const F=r.tag||"div";return(0,t.h)(F,{ref:_,prop:re,class:{[`${k}`]:!0,"is-collapse":j.value},style:p.value},[])}u.order.index=0;const U=[];let S=0;if(a.slots.header){const F={key:`${S++}`,ref:x,class:{[`${k}__header`]:!0,[`${k}__first`]:!0},onClick:ee},z=(0,t.h)("div",F,[a.slots.header()]);U.push(z)}else{const F=[],z=r.collapsePosition==="left";if(z&&r.showCollapse){const ae=oe("left");ae&&F.push(ae)}if(r.title||a.slots.title){if(r.showMark){const ae={class:{[`${k}__header-mark`]:!0}};r.markColor&&(ae.style={background:r.markColor});const le=(0,t.h)("div",ae);F.push(le)}if(a.slots.title){const ae=(0,t.h)("div",{class:{[`${k}__header-title`]:!0}},[a.slots.title()]);F.push(ae)}else if(r.title){const ae=(0,t.h)("div",{class:{[`${k}__header-title`]:!0}},[r.title]);F.push(ae)}}if(a.slots.toolbar&&F.push(a.slots.toolbar()),!z&&r.showCollapse){const ae=oe("right");ae&&F.push(ae)}if(F.length>0){const ae={key:`${S++}`,ref:x,class:{[`${k}__header`]:!0,[`${k}__first`]:!0},onClick:ee},le=(0,t.h)("div",ae,F);U.push(le)}}D();const{getChildren:w}=fn(a.slots.default),G=w(),te=u.layout.value.type;if(te==="grid"){const F=fe(G,S++,0,G.length);U.push(F)}else if(te==="flow"){const F=fe(G,S++,0,G.length);U.push(F)}else for(let F=0;F<G.length;F++){const z=G[F],ae=fe([z],S++,F,G.length);U.push(ae)}if(d.value){const F=r.tag||"div";return(0,t.h)(F,{ref:_,prop:re,class:{[`${k}`]:!0,"is-collapse":j.value},style:p.value},[U])}else return U}}}}var{componentName:gu,create:yu,scope:pu}=ge("group"),vu=(e,n)=>(e=e??Ke.ArrowUp,(0,t.h)(I.ElIcon,n,{default:()=>[(0,t.h)(e)]})),bu=yu(mu(gu,pu,vu)),Qa=bu;function wu(e){return e===window}var Su=/matrix\((.+)\)/,Qr=e=>{const n=(0,t.unref)(e);if(!n)return{x:0,y:0};if(wu(n))return{x:0,y:0};let l=0,r=0,a=n;for(;a!==null;)l+=a.offsetLeft,r+=a.offsetTop,a=a.offsetParent;let o=0,s=0,u=0,i=0;for(a=n;a!==document;){s+=a.scrollTop,o+=a.scrollLeft;const{transform:h}=window.getComputedStyle(a);if(h){const c=Su.exec(h);if(c){let f=c[1].split(/\s*,\s*/);f.length==6&&(u+=Number(f[4]),i+=Number(f[5]))}}a=a.parentNode}return l-=o,r-=s,l+=u,r+=i,{x:l,y:r}},Cu=class{watchedListeners=[];add(e){this.watchedListeners.push(e)}remove(e){const n=this.watchedListeners.indexOf(e);n!==-1&&this.watchedListeners.splice(n,1)}size(){return this.watchedListeners.length}listen=()=>{this.watchedListeners.forEach(e=>{try{e()}catch{}})}},Tu=class{monitorRegister=new WeakMap;watch(e,n){let l=e.parentNode;const r=document.body.parentNode;for(;l&&l!==r;){let a=this.monitorRegister.get(l);a||(a=new Cu,l.addEventListener("scroll",a.listen),l===document.body&&l.addEventListener("resize",a.listen),this.monitorRegister.set(l,a)),a.add(n),l=l.parentNode}}unwatch(e,n){let l=e.parentNode;const r=document.body.parentNode;for(;l&&l!==r;){let a=this.monitorRegister.get(l);a&&(a.remove(n),a.size()===0&&(this.monitorRegister.delete(l),l.removeEventListener("scroll",a.listen),l===document.body&&l.removeEventListener("resize",a.listen))),l=l.parentNode}}},dn=new Tu,Zr={price:{type:[Number,String],default:0},needSymbol:{type:Boolean,default:!0},symbol:{type:String,default:"¥"},decimalLength:{type:[Number,String],required:!1,default:2},digits:{type:[Number,String],required:!1,default:3},separator:{type:String,required:!1,default:","},position:{type:String,default:"before"},size:{type:String,default:"large"}},{componentName:xu,create:ku}=ge("price"),$u=ku({props:{...Zr},setup(e){const n=(0,t.computed)(()=>({[xu]:!0})),l=(0,t.computed)(()=>e.needSymbol?e.symbol:""),r=(0,t.computed)(()=>bt(e.price)==0?"":Vn(e.price,e.decimalLength,!0,De(e.digits),e.separator));return{classes:n,showSymbol:l,intText:(0,t.computed)(()=>{let a=r.value;if(a.length==0)return"";let o=a.indexOf(".");return a.substring(0,o)}),decimalText:(0,t.computed)(()=>{let a=r.value;if(a.length==0)return"";let o=a.indexOf(".");return a.substring(o+1)})}}}),ze=(e,n)=>{const l=e.__vccOpts||e;for(const[r,a]of n)l[r]=a;return l},Nu=["innerHTML"],Du=["innerHTML"];function Eu(e,n,l,r,a,o){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes)},[e.needSymbol&&e.position=="before"?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:(0,t.normalizeClass)(["fox-price--symbol",`fox-price--symbol-${e.size}`]),innerHTML:e.showSymbol},null,10,Nu)):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(`fox-price--${e.size}`)},(0,t.toDisplayString)(e.intText),3),e.decimalText.length!=0?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,class:(0,t.normalizeClass)(`fox-price--decimal-${e.size}`)},".",2)):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(`fox-price--decimal-${e.size}`)},(0,t.toDisplayString)(e.decimalText),3),e.needSymbol&&e.position=="after"?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:2,class:(0,t.normalizeClass)(["fox-price--symbol",`fox-price--symbol-${e.size}`]),innerHTML:e.showSymbol},null,10,Du)):(0,t.createCommentVNode)("",!0)],2)}var ea=ze($u,[["render",Eu]]),Pu={...Zr,type:{type:String,default:"number"},placement:{type:String,default:"top-start"},transition:{type:Boolean,default:!0},size:{type:String,default:"default"},arrowSize:{type:Number,default:6},showArrow:{type:Boolean,default:!0},arrowOffset:{type:Number,default:20},offset:{type:Number,default:12},id:{type:String},reference:{type:Object},referenceRect:{type:Object},autoFit:{type:Boolean,default:!0},message:{type:String,default:""},visible:{type:Boolean,default:!0},unmount:{type:Function},customClass:{type:String},customStyle:{type:Object},customTextClass:{type:String},customTextStyle:{type:Object},closeOnClick:{type:Boolean},zIndex:{type:[String,Number]}},{componentName:Za,create:Vu}=ge("hint-text"),Iu=Vu({components:{Price:ea},props:Pu,emits:["update:visible"],setup(e,n){const l=(0,t.ref)({top:null,right:null,bottom:null,left:null}),r=(0,t.ref)({x:0,y:0}),a=(0,t.ref)(0),o=(0,t.ref)(0),s=(0,t.ref)(e.placement),u=(0,t.ref)(!1),i=(0,t.ref)(null),h=(T,R,_,x,K,M)=>{const L=document.documentElement.clientWidth||document.body.clientWidth,j=document.documentElement.clientHeight||document.body.clientHeight,B=T.split("-");let H=[];B[0]==="top"?H=["top","bottom","right","left"]:B[0]==="bottom"?H=["bottom","top","right","left"]:B[0]==="left"?H=["left","top","bottom","right"]:B[0]==="right"&&(H=["right","top","bottom","left"]);const ee={top:null,right:null,bottom:null,left:null},Z=[];for(let J=0;J<H.length;J++){const W=H[J];if(Z[0]=W,B[1]&&(Z[1]=B[1]),W==="top"){const V=R.y-M-e.arrowSize-e.offset;if(V>=0){ee.top=V;let O=0;B[1]==="start"?O=R.x:B[1]==="end"?O=R.x+_-K:O=R.x+_/2-K/2;const ne=L-O-K;ne<0?(O+=ne,f.value=-ne):f.value=0,ee.left=O<0?0:O;break}}else if(W==="bottom"){const V=R.y+x+e.arrowSize+e.offset;if(V+M<=j){ee.top=V;let O=0;B[1]==="start"?O=R.x:B[1]==="end"?O=R.x+_-K:O=R.x+_/2-K/2;const ne=L-O-K;ne<0?(O+=ne,f.value=-ne):f.value=0,ee.left=O<0?0:O;break}}else if(W==="left"){const V=R.x-K-e.arrowSize-e.offset;if(V>=0){ee.left=V;let O=0;B[1]==="start"?O=R.y:B[1]==="end"?O=R.y+x-M:O=R.y+x/2-M/2,ee.top=O<0?0:O;break}}else if(W==="right"){const V=R.x+_+e.arrowSize+e.offset;if(V+K<=L){ee.left=V;let O=0;B[1]==="start"?O=R.y:B[1]==="end"?O=R.y+x-M:O=R.y+x/2-M/2,ee.top=O<0?0:O;break}}}return{bestPlacement:Z.join("-"),bestInsetRect:ee}},c=(T,R,_=10)=>{if(!Tt||R===!1||!T)return;if(e.reference)r.value=Qr(e.reference),a.value=e.reference.offsetWidth,o.value=e.reference.offsetHeight;else if(e.referenceRect){const j=e.referenceRect.left??0,B=e.referenceRect.right??0,H=e.referenceRect.top??0,ee=e.referenceRect.bottom??0;r.value={x:j,y:H},a.value=B-j,o.value=ee-H}const x=i.value?.offsetHeight??0,K=i.value?.offsetWidth??0,{bestPlacement:M,bestInsetRect:L}=h(e.placement,r.value,a.value,o.value,K,x);s.value=M,l.value=L,u.value=!0},f=(0,t.ref)(0),m=rt(()=>{c(e.message,e.visible)},10),$=(0,t.ref)(e.visible);(0,t.watch)(()=>e.visible,T=>{$.value=T});const k=(0,t.computed)(()=>$.value&&p.value),p=(0,t.ref)(!0),g=rt(T=>{const R=T[0];R&&(p.value=R.isIntersecting)},10),y=new IntersectionObserver(g);(0,t.watch)([()=>e.message,()=>e.visible],([T,R])=>{setTimeout(()=>{c(e.message,e.visible)},0)}),(0,t.onMounted)(()=>{setTimeout(()=>{c(e.message,e.visible)},0),e.reference&&(dn.watch(e.reference,m),y.observe(e.reference))}),(0,t.onBeforeUnmount)(()=>{e.reference&&(dn.unwatch(e.reference,m),y.unobserve(e.reference),y.disconnect())}),e.referenceRect&&(0,t.watch)(()=>e.referenceRect,()=>{c(e.message,e.visible)});const b=(0,t.computed)(()=>{const T={[Za]:!0};return s.value.startsWith("top")?T["is-top"]=!0:s.value.startsWith("right")?T["is-right"]=!0:s.value.startsWith("bottom")?T["is-bottom"]=!0:s.value.startsWith("right")&&(T["is-right"]=!0),e.size==="small"?T["is-small"]=!0:e.size==="large"&&(T["is-large"]=!0),e.customClass&&typeof e.customClass=="string"&&(T[`${e.customClass}`]=!0),T}),E=(0,t.computed)(()=>{const T={};return l.value.top!==null&&(T.top=`${l.value.top}px`),l.value.right!==null&&(T.right=`${l.value.right}px`),l.value.bottom!==null&&(T.bottom=`${l.value.bottom}px`),l.value.left!==null&&(T.left=`${l.value.left}px`),e.autoFit&&(T["min-width"]=`${a.value}px`),T["max-width"]=`${document.documentElement.clientWidth||document.body.clientWidth}px`,u.value&&(T.opacity="1"),e.transition||(T.transition="none"),e.zIndex&&(T["z-index"]=`${e.zIndex}`),e.customStyle&&typeof e.customStyle=="object"&&Object.assign(T,e.customStyle),T}),d=(0,t.computed)(()=>{const T=[`${Za}__content`];return e.customTextClass&&T.push(e.customTextClass),T}),C=(0,t.computed)(()=>{const T={};return e.customTextStyle&&typeof e.customTextStyle=="object"&&Object.assign(T,e.customTextStyle),T}),N=(0,t.computed)(()=>({[`${Za}__arrow`]:!0})),D=(0,t.computed)(()=>{const T={};return e.showArrow?(T.width=`${e.arrowSize}px`,T.height=`${e.arrowSize}px`,s.value==="top"?(T.left="50%",T.bottom=`-${e.arrowSize}px`,T.transform=" translate(-50%, 0%)"):s.value==="top-start"?(T.left=`${e.arrowOffset+f.value}px`,T.bottom=`-${e.arrowSize}px`):s.value==="top-end"?(T.right=`${e.arrowOffset-f.value}px`,T.bottom=`-${e.arrowSize}px`):s.value==="right"?(T.left=`-${e.arrowSize}px`,T.top="50%",T.transform=" translate(0%, -50%)"):s.value==="right-start"?(T.left=`-${e.arrowSize}px`,T.top=`${e.arrowOffset}px`):s.value==="right-end"?(T.left=`-${e.arrowSize}px`,T.bottom=`-${e.arrowOffset}px`):s.value==="bottom"?(T.left="50%",T.top=`-${e.arrowSize}px`,T.transform=" translate(-50%, 0%)"):s.value==="bottom-start"?(T.left=`${e.arrowOffset+f.value}px`,T.top=`-${e.arrowSize}px`):s.value==="bottom-end"?(T.right=`${e.arrowOffset-f.value}px`,T.top=`-${e.arrowSize}px`):s.value==="left"?(T.right=`-${e.arrowSize}px`,T.top="50%",T.transform=" translate(0%, -50%)"):s.value==="left-start"?(T.right=`-${e.arrowSize}px`,T.top=`${e.arrowOffset}px`):s.value==="left-end"&&(T.right=`-${e.arrowSize}px`,T.bottom=`-${e.arrowOffset}px`),T):{display:"none"}}),Y=(0,t.computed)(()=>k.value&&e.closeOnClick),P=(0,t.computed)(()=>{const T={};return e.zIndex&&(T["z-index"]=`${e.zIndex}`),T});return{show:k,tipRef:i,classes:b,styles:E,textClasses:d,textStyles:C,arrowClasses:N,arrowStyles:D,overlayShow:Y,overlayStyle:P,onClickOverlay:T=>{T.target===T.currentTarget&&($.value=!1,n.emit("update:visible",!1))}}}}),Au=["innerHTML"];function Bu(e,n,l,r,a,o){const s=(0,t.resolveComponent)("Price");return(0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,null,[e.overlayShow?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:0,class:"fox-hint-text__overlay",style:(0,t.normalizeStyle)(e.overlayStyle),onClick:n[0]||(n[0]=(...u)=>e.onClickOverlay&&e.onClickOverlay(...u))},null,4)):(0,t.createCommentVNode)("",!0),(0,t.withDirectives)((0,t.createElementVNode)("div",{ref:"tipRef",class:(0,t.normalizeClass)(e.classes),style:(0,t.normalizeStyle)(e.styles)},[(0,t.createElementVNode)("div",{class:(0,t.normalizeClass)(e.textClasses),style:(0,t.normalizeStyle)(e.textStyles)},[e.type=="number"?((0,t.openBlock)(),(0,t.createBlock)(s,{key:0,price:e.message,position:"before",size:e.size},null,8,["price","size"])):((0,t.openBlock)(),(0,t.createElementBlock)("span",{key:1,innerHTML:e.message},null,8,Au))],6),(0,t.createElementVNode)("div",{class:(0,t.normalizeClass)(e.arrowClasses),style:(0,t.normalizeStyle)(e.arrowStyles)},null,6)],6),[[t.vShow,e.show]])],64)}var Jr=ze(Iu,[["render",Bu]]),eo=class{seed=new Date().getTime();constructor(e){this.seed=e??new Date().getTime()}get(){let e=this.seed++;return this.seed<0&&(this.seed=0),e}},Ja={},Ou=new eo,At=new Map,hn=e=>{if(e){const n=document.getElementById(e);At.delete(e),n&&((0,t.render)(null,n),n.parentNode?.removeChild(n))}else{for(const n of At.keys()){const l=document.getElementById(n);l&&((0,t.render)(null,l),l.parentNode?.removeChild(l))}At.clear()}},to=e=>{e.unmount=hn;const n=document.getElementById(e.id);if(n){(0,t.render)(null,n);const l=At.get(e.id);l?e={...Ja,...l,...e}:e={...Ja,...e},e.transition=!1;const r=(0,t.createVNode)(Jr,e);(0,t.render)(r,n)}return e.id},no=e=>{e.unmount=hn;let n=e.id??`hinttext_${Ou.get()}`;e={...Ja,...e},e.id=n,At.set(n,e);const l=document.createElement("div");l.id=e.id;const r=(0,t.createVNode)(Jr,e);return(0,t.render)(r,l),document.body.appendChild(l),n},ao=e=>e?!0:(console.warn("[FoxUI HintText]: msg不能为空"),!1),Xe={show(e,n,l={},r=!0){if(!ao(n))return;const a=l.id;return a&&At.has(a)?to({...l,message:n,reference:e}):(r&&hn(),no({...l,message:n,reference:e}))},showInRect(e,n,l,r){if(!ao(n))return;const a=l.id;return a&&At.has(a)?to({...l,message:n,referenceRect:e}):(r&&hn(),no({...l,message:n,referenceRect:e}))},hide(e){hn(e)},install(e){e.config.globalProperties.$hintText=Xe}};function Ru(e,n,l,r=!1){return{inheritAttrs:!0,props:{...Be,..._e},emits:["appear","disappear"],setup(a,o){const s=a.prop??o.attrs.name,u=(0,t.ref)(),{exposeApi:i}=Le({componentName:e,validate:!1,get props(){return a},context:o,get templateRefProxy(){return u.value}},s),h=$t(),c=Un();Gn(!1);const f=(0,t.computed)(()=>c&&h?Xn(h,!1).value:null),m=e,$=(0,t.ref)(null),k=(0,t.computed)(()=>{const w={[m]:!0,[`${m}__gutter`]:f.value&&f.value.type!=="flow",[`${m}__stretch`]:a.span==="stretch",[`${m}__input--border`]:Ce(a.hasBorder)};if(w[a.errorMarkClass]=!!j.value,w[a.warnMarkClass]=!!M.value,w[a.infoMarkClass]=!!x.value,typeof $.value=="function"){const G=$.value(s);w[G]=!0}else if(typeof $.value=="string"){const G=$.value;w[G]=!0}return w}),p=(0,t.ref)(null),g=(0,t.computed)(()=>{const w={};if(a.width)a.width!=="auto"&&(w.width=Te(a.width));else{const G=c&&h?Qn(h,!1):null;if(f.value&&G){if(f.value.type==="grid"){const te=Jn(G,f.value,a.span,a.offset);Object.assign(w,te)}else if(f.value.type==="flow"){const te=Zn(G,f.value,a.span,a.offset,a.width);Object.assign(w,te)}}}if(typeof p.value=="function"){const G=p.value(s);G&&Object.assign(w,G)}else if(p.value&&typeof p.value=="object"){const G=p.value;Object.assign(w,G)}return w}),y=(0,t.ref)(null),b=(0,t.computed)({get:()=>y.value??Ce(a.isRequired),set:w=>{y.value=w}}),E=()=>typeof a.label=="string"&&a.label.length>0||typeof o.slots.label=="function",d=qe((0,t.toRef)(a,"labelPosition"),"labelPosition",st.Near),C=(0,t.computed)(()=>d&&d.value==="top"?"top":d&&d.value==="right"?"right":"left"),N=(0,t.computed)(()=>({[`${m}__main`]:!0,[`${m}__main--${C.value}`]:!0})),D=(0,t.computed)(()=>({label:!0,[`label--${C.value}`]:!0})),Y=qe((0,t.toRef)(a,"labelWidth"),"labelWidth",st.Near),P=(0,t.computed)(()=>Y&&Y.value?{width:Te(Y.value)}:{}),q=(0,t.computed)(()=>({"label--string":!0,"label--required":b.value})),T=(0,t.computed)(()=>({content:!0,[a.contentClass]:!0})),R=(0,t.computed)(()=>({...a.contentStyle})),_=(0,t.shallowReactive)({errorTip:"",errorIcon:null,warnTip:"",warnIcon:null,infoTip:"",infoIcon:null});i({setRequired(w){b.value=w},setErrorTip(w){_.errorTip=w},setErrorIcon(w){_.errorIcon=w},setWarnTip(w){_.warnTip=w},setWarnIcon(w){_.warnIcon=w},setInfoTip(w){_.infoTip=w},setInfoIcon(w){_.infoIcon=w},setCustomClassName(w){$.value=w},setCustomStyle(w){p.value=w}});const x=(0,t.computed)(()=>a.infoTip||_.infoTip),K=(0,t.computed)(()=>a.infoIcon||_.infoIcon),M=(0,t.computed)(()=>a.warnTip||_.warnTip),L=(0,t.computed)(()=>a.warnIcon||_.warnIcon),j=(0,t.computed)(()=>a.errorTip||_.errorTip),B=(0,t.computed)(()=>a.errorIcon||_.errorIcon),H=(0,t.computed)(()=>j.value?"error":M.value?"warn":x.value?"info":""),ee=()=>H.value.length>0,Z=(0,t.computed)(()=>H.value==="error"?j.value:H.value==="warn"?M.value:H.value==="info"?x.value:""),J=(0,t.computed)(()=>H.value==="error"?B.value:H.value==="warn"?L.value:H.value==="info"?K.value:null),W=(0,t.computed)(()=>{const w={[`${m}__tip`]:!0,[`${m}__tip--${H.value}`]:!0,[`${m}--animate`]:!0};return H.value==="error"&&a.errorClass?w[`${a.errorClass}`]=!0:H.value==="warn"&&a.warnClass?w[`${a.warnClass}`]=!0:H.value==="info"&&a.infoClass&&(w[`${a.infoClass}`]=!0),w}),V=(0,t.computed)(()=>{const w={};return d&&d.value==="top"||!E()?w["padding-left"]="0px":Y&&Y.value&&(w["padding-left"]=Te(Y.value)),w}),O=(0,t.ref)();let ne=null;(0,t.watch)([()=>a.hintVisible,()=>a.hintText,()=>a.hintType,()=>a.hintProps],([w,G,te,F])=>{O.value&&(w&&!ke(G)?ne?l.show(O.value,G,{...F??{},id:ne,type:te},!0):ne=l.show(O.value,G,{...F??{},type:te},!0):ne&&l.hide(ne))});let ie=null;const Q=()=>{ie||!O.value||(ie=new IntersectionObserver(w=>{let G=!1;for(let te of w)if(te.isIntersecting){G=!0,G&&o.emit("appear",te);break}G||o.emit("disappear")}),ie.observe(O.value))},A=()=>{ie&&(O.value&&ie.unobserve(O.value),ie.disconnect(),ie=null)};(0,t.watch)(()=>Ce(a.appearListen),w=>{w?Q():A()}),(0,t.onMounted)(()=>{Ce(a.appearListen)&&Q()}),(0,t.onBeforeUnmount)(()=>{A(),ne&&l.hide(ne)});const X=()=>{if(!E())return null;const w=[],G=o.slots?.label?.()??a.label,te={class:q.value},F=(0,t.h)("div",te,[G]);if(w.push(F),o.slots.fixedPreTip){const ae=o.slots.fixedPreTip();w.push(ae)}const z={class:D.value,style:P.value};return(0,t.h)("div",z,w)},oe=()=>{const w=[];if(o.slots.prepend){const te=o.slots.prepend();w.push(te)}if(o.slots.default){const te=o.slots.default();w.push(te)}if(o.slots.append){const te=o.slots.append();w.push(te)}if(o.slots.fixedTip){const te={class:[`${m}__fixed-tip`]},F=(0,t.h)("div",te,[o.slots.fixedTip()]);w.push(F)}const G={ref:O,class:T.value,style:R.value};return(0,t.h)("div",G,w)},fe=()=>{const w=J.value;return w?typeof w=="function"?(0,t.h)("div",{class:"fox-item__tip--icon"},[w()]):(0,t.h)("div",{class:"fox-item__tip--icon"},[(0,t.h)(w)]):null},re=()=>{const w=Z.value;return w?typeof w=="function"?(0,t.h)("div",{class:"fox-item__tip--text"},[w()]):(0,t.h)("div",{class:"fox-item__tip--text"},[w]):null},U=()=>{if(!ee())return null;const w=[],G=fe();G&&w.push(G);const te=re();te&&w.push(te);const F={class:W.value,style:V.value};return(0,t.h)("div",F,w)},S=()=>o.slots?.hide?.()??null;return()=>{const w=[],G=[],te=X();te&&G.push(te);const F=oe();F&&G.push(F);const z={class:N.value},ae=(0,t.h)("div",z,G);w.push(ae);const le=U();le&&w.push(le);const se=S();se&&w.push(se);const ce={class:k.value,style:g.value,prop:a.prop,ref:u};return(0,t.h)("div",ce,w)}}}}var{componentName:Fu,create:Mu,scope:Lu}=ge("item"),_u=Mu(Ru(Fu,Lu,Xe,!1)),mn=_u,el={span:{type:[Number,String],required:!1,default:1},offset:{type:[Number,String],default:0},width:{type:[String,Number],required:!1}};function qu(e,n){return{props:el,setup(l,r){const a=$t(),o=Un();Gn(!1);const s=(0,t.computed)(()=>o&&a?Xn(a,!1).value:null),u=e,i=(0,t.computed)(()=>({[u]:!0,[`${u}__gutter`]:s.value&&s.value.type!=="flow",[`${u}__stretch`]:l.span==="stretch"})),h=(0,t.computed)(()=>{const c={};if(l.width)l.width!=="auto"&&(c.width=Te(l.width));else{const f=o&&a?Qn(a,!1):null;if(s.value&&f)if(s.value.type==="grid"){const m=Jn(f,s.value,l.span,l.offset);Object.assign(c,m)}else if(s.value.type==="flow"){const m=Zn(f,s.value,l.span,l.offset,l.width);Object.assign(c,m)}else return l.width&&(c.width=Te(l.width)),c}return c});return()=>{const c={class:i.value,style:h.value};return r.slots&&typeof r.slots.default=="function"?(0,t.h)("div",c,r.slots.default()):(0,t.h)("div",c)}}}}var{componentName:zu,create:ju,scope:Ku}=ge("slot-item"),Hu=ju(qu(zu,Ku)),ta=Hu,lo={span:{type:[Number,String],required:!1,default:-1},offset:{type:[Number],default:0},width:{type:[String,Number],required:!1},align:{type:[String],required:!1,default:"center"},divide:{type:[Boolean,String],required:!1,default:!1},gutter:{type:[String,Number],required:!1},wrap:{type:[String],required:!1,default:"nowrap"}};function Wu(e,n){return{props:lo,setup(l,r){const a=e,o=(0,t.computed)(()=>({[a]:!0,[`${a}__stretch`]:l.span==="stretch",[`${a}__${l.align}`]:!0})),s=$t(),u=Un();Gn(!1);const i=(0,t.computed)(()=>{const h={};if(l.width)l.width!=="auto"&&(h.width=Te(l.width));else if(u&&s){const c=Xn(s,!1),f=Qn(s,!1);if(c.value&&f)if(c.value.type==="grid"){const m=Jn(f,c.value,l.span,l.offset);Object.assign(h,m)}else if(c.value.type==="flow"){const m=Zn(f,c.value,l.span,l.offset,l.width);Object.assign(h,m)}else l.width&&(h.width=Te(l.width))}return l.gutter&&(h["column-gap"]=Te(l.gutter)),l.wrap&&(h["flex-wrap"]=l.wrap),h});return()=>{const h=[];if(r.slots.default){const{getChildren:f}=fn(r.slots.default),m=f();if(l.divide)for(let $=0;$<m.length;$++){if($>0){const k=(0,t.h)("div",{class:{[`${a}__divide`]:!0}});h.push(k)}h.push(m[$])}else Reflect.apply([].push,h,m)}const c={class:o.value,style:i.value};return(0,t.h)("div",c,h)}}}}var{componentName:Yu,create:Uu,scope:Gu}=ge("row-item"),Xu=Uu(Wu(Yu,Gu)),na=Xu;function Qu(e,n){const l=document.createRange();l.setStart(e,0),l.setEnd(e,e.childNodes.length);const r=l.getBoundingClientRect().width;if(r>0){n(r);return}e.classList.add("is-selectable"),setTimeout(()=>{l.setStart(e,0),l.setEnd(e,e.childNodes.length);const a=l.getBoundingClientRect().width;e.classList.remove("is-selectable"),n(a)},500)}var Zu={tag:{type:[String],required:!1,default:"span"},showOverflowTooltip:{type:[Boolean],required:!1},showArrow:{type:[Boolean],required:!1,default:!0},showAfter:{type:[Number],required:!1,default:300},hideAfter:{type:[Number],required:!1,default:0},type:{type:[String],required:!1},size:{type:[String],required:!1},truncated:{type:[Boolean,String],required:!1,default:!0},numberFormat:{type:[Boolean],required:!1,default:!1},decimalLength:{type:[Number,String],required:!1,default:-1},autoPadding:{type:[Boolean,String],required:!1,default:!1},digits:{type:[Number,String],required:!1,default:4},separator:{type:String,required:!1,default:" "},highlightFilter:{type:[String,Function],required:!1},mark:{type:[Boolean],required:!1},color:{type:[String],required:!1},textPosition:{type:String,default:"right"},textColor:{type:String},divide:{type:[Boolean],required:!1}};function Ju(e,n,l,r=!1){return{props:Zu,emits:["click"],setup(a,o){const s=(0,t.ref)(null),u=(0,t.computed)(()=>{const E={[`${e}`]:!0,"is-truncated":a.truncated};return a.type&&(E[`${e}--${a.type??"default"}`]=!0),a.size&&(E[`${e}--${a.size}`]=!0),E}),i=(0,t.computed)(()=>{const E={},d=a.textColor??a.color;return d&&(E.color=d),E}),h=(E,d)=>{let C=null;if(typeof a.highlightFilter=="string"&&a.highlightFilter.length>0){const N=a.highlightFilter;E.indexOf(N)!==-1&&(d.innerHTML=E.replace(new RegExp(N,"g"),`<span>${N}</span>`),d.class["is-highlight"]=!0,C=(0,t.h)(a.tag,d))}else if(typeof a.highlightFilter=="function"){const N=a.highlightFilter(E);N&&(d.innerHTML=N,d.class["is-highlight"]=!0,C=(0,t.h)(a.tag,d))}return C},c=E=>{o.emit("click",E)};let f="";const m=()=>{const E=s.value;if(!E)return;const d=E.clientWidth;Qu(E,C=>{const N=E.innerHTML??"";ke(N)||C<d||(f?l?.show(E,N,{type:"text",id:f,showArrow:a.showArrow},!0):f=l?.show(E,N,{type:"text",showArrow:a.showArrow},!0)??"")})},$=()=>{f&&l?.hide(f)};let k=null;const p=E=>{k||(k=setTimeout(()=>{m(),k=null},a.showAfter??0))},g=E=>{k&&(clearTimeout(k),k=null),setTimeout(()=>{$()},a.hideAfter??0)},y=()=>{const E=s.value;E&&(E.addEventListener("mouseover",p),E.addEventListener("mouseleave",g))},b=()=>{const E=s.value;E&&(E.removeEventListener("mouseover",p),E.removeEventListener("mouseleave",g))};return(0,t.onMounted)(()=>{!Ce(a.showOverflowTooltip)||!l||y()}),(0,t.onBeforeUnmount)(()=>{!Ce(a.showOverflowTooltip)||!l||(b(),$())}),()=>{const E={class:u.value,style:i.value,ref:s,onClick:c};let d=null;if(Ce(a.numberFormat)&&typeof o.slots.default=="function"){const D=o.slots.default();if(Array.isArray(D)&&D.length===1){const Y=D[0].type.toString();if(Y==="Symbol(Text)"||Y==="Symbol(v-txt)"){const P=De(a.digits),q=De(a.decimalLength),T=Ce(a.autoPadding);let R=`${D[0].children}`,_=R.split("").reverse().join("");_=Vn(_,q,T,P,a.separator),R=_.split("").reverse().join(""),a.highlightFilter!==void 0&&(d=h(R,E)),d||(E.innerHTML=R,d=(0,t.h)(a.tag,E))}}}else{if(a.highlightFilter!==void 0&&typeof o.slots.default=="function"){const D=o.slots.default();if(Array.isArray(D)&&D.length===1){const Y=D[0].type.toString();if(Y==="Symbol(Text)"||Y==="Symbol(v-txt)"){const P=`${D[0].children}`;d=h(P,E),d||(E.innerHTML=P,d=(0,t.h)(a.tag,E))}}}d||(d=(0,t.h)(a.tag,E,{default:o.slots.default}))}if(!a.mark&&!o.slots.mark)return d;const C=[];if(o.slots.mark){const D={[`${e}__mark-wrap`]:!0};a.type&&(D[`${e}__mark-wrap--${a.type}`]=!0);const Y={},P=a.color;P&&(Y.color=P);const q=(0,t.h)("view",{class:D,style:Y,onClick:c},{default:o.slots.mark});C.push(q)}else{const D={[`${e}__mark`]:!0};a.type&&(D[`${e}__mark--${a.type??"default"}`]=!0);const Y={},P=a.color;P&&(Y["background-color"]=P);const q=(0,t.h)("view",{class:D,style:Y,onClick:c});C.push(q)}if(a.divide){const D=(0,t.h)("div",{class:{[`${e}__divide`]:!0}});C.push(D)}C.push(d);const N={class:{"fox-text__wrap":!0,"text-left":a.textPosition==="left","text-right":a.textPosition==="right"}};return(0,t.h)("view",N,C)}}}}var{componentName:ec,create:tc,scope:nc}=ge("text"),ac=tc(Ju(ec,nc,Xe,!1)),_t=ac,lc={visible:{type:Boolean},reference:{type:[Object,String]},referenceInset:{type:[Object]},trigger:{type:String,default:"click"},placement:{type:String,default:()=>"top-start"},autoFit:{type:Boolean,default:()=>!0},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},title:{type:String},content:{type:String},width:{type:String},offset:{type:[Number,Array],default:()=>[8,8]},effect:{type:String,default:()=>"light"},showArrow:{type:Boolean,default:()=>!0},arrowSize:{type:Number,default:()=>14},arrowOffset:{type:Number,default:()=>20},showOverlay:{type:Boolean,default:()=>!0},closeOnClick:{type:Boolean,default:()=>!0},zIndex:{type:[String,Number]},customClass:{type:[String]},customStyle:{type:[Object]},leaveHide:{type:[Boolean]},persistenet:{type:[Boolean],default:()=>!1},teleport:{type:[String,Element],default:()=>"body"},teleportDisable:{type:Boolean,default:()=>!1}};function rc(e,n,l=!1){return{props:lc,emits:["update:visible","open","close"],setup(r,{emit:a,slots:o,expose:s}){const u=e,i=(0,t.ref)({top:null,right:null,bottom:null,left:null}),h=(0,t.ref)(0),c=(0,t.ref)(0),f=(0,t.ref)(0),m=(0,t.ref)(0),$=(0,t.ref)(r.placement),k=(0,t.ref)(!1),p=(0,t.ref)(!1),g=(0,t.ref)(null),y=(0,t.ref)(null),b=()=>y.value?y.value?.$el??y.value:r.reference?typeof r.reference=="string"?document.querySelector(r.reference):r.reference:r.referenceInset,E=F=>{if(F instanceof Element){const z=F.getBoundingClientRect();return{left:z.left,top:z.top,right:z.right,bottom:z.bottom}}return F},d=(F,z,ae,le,se,ce,me,Ne=!0)=>{const ye=document.documentElement.clientWidth||document.body.clientWidth,$e=document.documentElement.clientHeight||document.body.clientHeight,xe=F.split("-");let Re=[];Ne?xe[0]==="top"?Re=["top","bottom","right","left"]:xe[0]==="bottom"?Re=["bottom","top","right","left"]:xe[0]==="left"?Re=["left","top","bottom","right"]:xe[0]==="right"&&(Re=["right","top","bottom","left"]):Re=[F[0]];const Fe={top:null,right:null,bottom:null,left:null},at=[],Xt=Array.isArray(r.offset)?r.offset[0]:r.offset,yt=Array.isArray(r.offset)?r.offset[1]:r.offset;for(let ct=0;ct<Re.length;ct++){const lt=Re[ct];if(at[0]=lt,xe[1]&&(at[1]=xe[1]),lt==="top"){const Ue=ae-me-r.arrowSize/2-Xt;if(Ue>=0){Fe.top=Ue;let de=0;if(xe[1]==="start"){de=z;let pe=0;de>0&&de+ce>ye&&(pe=de+ce-ye,de-=pe),N.value=(le<ce?le:ce)/2+pe}else if(xe[1]==="end"){de=z+le-ce;let pe=0;de<0&&de+ce<ye&&(pe=-de,de=0),le<ce?N.value=ce-le/2-pe:N.value=ce/2-pe}else{de=z+le/2-ce/2;let pe=0;de<0&&de+ce<ye?(pe=-de,de=0):de>0&&de+ce>ye&&(pe=de+ce-ye,de-=pe,pe=-pe),N.value=ce/2-pe}Fe.left=de;break}}else if(lt==="bottom"){const Ue=ae+se+r.arrowSize/2+Xt;if(Ue+me<=$e){Fe.top=Ue;let de=0;if(xe[1]==="start"){de=z;let pe=0;de>0&&de+ce>ye&&(pe=de+ce-ye,de-=pe),N.value=(le<ce?le:ce)/2+pe}else if(xe[1]==="end"){de=z+le-ce;let pe=0;de<0&&de+ce<ye&&(pe=-de,de=0),le<ce?N.value=ce-le/2-pe:N.value=ce/2-pe}else{de=z+le/2-ce/2;let pe=0;de<0&&de+ce<ye?(pe=-de,de=0):de>0&&de+ce>ye&&(pe=de+ce-ye,de-=pe,pe=-pe),N.value=ce/2-pe}Fe.left=de;break}}else if(lt==="left"){const Ue=z-ce-r.arrowSize/2-yt;if(Ue>=0){Fe.left=Ue;let de=0;if(xe[1]==="start"){de=ae;let pe=0;de>0&&de+me>$e&&(pe=de+me-$e,de-=pe),D.value=(se<me?se:me)/2+pe}else if(xe[1]==="end"){de=ae+se-me;let pe=0;de<0&&de+me<$e&&(pe=-de,de=0),se<me?D.value=me-se/2-pe:D.value=me/2-pe}else{de=ae+se/2-me/2;let pe=0;de<0&&de+me<$e?(pe=-de,de=0):de>0&&de+me>$e&&(pe=de+me-$e,de-=pe,pe=-pe),D.value=me/2-pe}Fe.top=de;break}}else if(lt==="right"){const Ue=z+le+r.arrowSize/2+yt;if(Ue+ce<=ye){Fe.left=Ue;let de=0;if(xe[1]==="start"){de=ae;let pe=0;de>0&&de+me>$e&&(pe=de+me-$e,de-=pe),D.value=(se<me?se:me)/2+pe}else if(xe[1]==="end"){de=ae+se-me;let pe=0;de<0&&de+me<$e&&(pe=-de,de=0),se<me?D.value=me-se/2-pe:D.value=me/2-pe}else{de=ae+se/2-me/2;let pe=0;de<0&&de+me<$e?(pe=-de,de=0):de>0&&de+me>$e&&(pe=de+me-$e,de-=pe,pe=-pe),D.value=me/2-pe}Fe.top=de;break}}}return{bestPlacement:at.join("-"),bestInsetRect:Fe}},C=()=>{const F=r.autoFit;if(!Tt||P.value===!1)return;g.value||console.error("[FoxUI] popoverRef is null");const z=b();if(!z)return;const ae=E(z);if(!ae)return;h.value=ae.left??0,c.value=ae.top??0,f.value=(ae.right??0)-(ae.left??0),m.value=(ae.bottom??0)-(ae.top??0);const le=g.value.offsetWidth,se=g.value.offsetHeight,{bestPlacement:ce,bestInsetRect:me}=d(r.placement,h.value,c.value,f.value,m.value,le,se,F);$.value=ce,i.value=me},N=(0,t.ref)(0),D=(0,t.ref)(0),Y=rt(()=>{C()},10),P=(0,t.ref)(r.visible),q=F=>{P.value!==F&&(P.value=F,a("update:visible",F),a(F?"open":"close"),F?(k.value=F,setTimeout(()=>{C(),p.value=!0},0)):p.value=!1)};(0,t.watch)([()=>r.visible],([F])=>{q(F)});const T=(0,t.computed)(()=>P.value&&R.value),R=(0,t.ref)(!0),_=rt(F=>{const z=F[0];z&&P.value!==!1&&(R.value=z.isIntersecting)},10),x=new IntersectionObserver(_),K=(F,z)=>{F&&(setTimeout(()=>{C()},0),r.autoFit&&(z&&z instanceof Element&&(dn.unwatch(z,Y),x.unobserve(z)),F&&F instanceof Element&&(dn.watch(F,Y),x.observe(F))))};(0,t.watch)(()=>r.reference,(F,z)=>{K(F?.$el??F,z?.$el??z)},{immediate:!0}),(0,t.watch)(()=>r.referenceInset,(F,z)=>{K(F,z)},{immediate:!0}),(0,t.watch)(()=>y.value,(F,z)=>{K(F?.$el??F,z?.$el??z)}),(0,t.onBeforeUnmount)(()=>{const F=b();F instanceof Element&&(dn.unwatch(F,Y),x.unobserve(F)),x?.disconnect()});let M=null,L=null;const j=()=>{M&&(clearTimeout(M),M=null)},B=()=>{L&&(clearTimeout(L),L=null)},H=()=>{B(),r.openDelay>0?(j(),M=setTimeout(()=>{M=null,q(!0)},r.openDelay)):q(!0)},ee=()=>{j(),r.closeDelay>0?(B(),L=setTimeout(()=>{L=null,q(!1)},r.closeDelay)):q(!1)},Z=()=>{P.value?ee():H()};s({open:H,close:ee,doLayout:C});const J=(F,...z)=>{F&&(Array.isArray(F)?F.forEach(ae=>{ae(...z)}):F(...z))},W=F=>{const z=F.props||{},ae={...z};switch(r.trigger){case"click":{const le=z.onClick;ae.onClick=se=>{J(le,se),Z()};break}case"hover":{const le=z.onMouseenter,se=z.onMouseleave;ae.onMouseenter=ce=>{J(le,ce),H()},ae.onMouseleave=ce=>{J(se,ce),ee()};break}case"focus":{const le=z.onFocus;ae.onFocus=se=>{J(le,se),H()};break}case"contextmenu":{const le=z.onContextmenu;ae.onContextmenu=se=>{se.preventDefault(),J(le,se),Z()};break}}return ae},V=()=>{const F=o.reference?.();if(!F?.length)return null;const z=F[0];return(0,t.cloneVNode)(z,{...W(z),ref:ae=>{y.value=ae?.ref??ae}})},O=(0,t.computed)(()=>{const F={[u]:!0};return $.value.startsWith("top")?F["is-top"]=!0:$.value.startsWith("right")?F["is-right"]=!0:$.value.startsWith("bottom")?F["is-bottom"]=!0:$.value.startsWith("left")&&(F["is-left"]=!0),F[`is-${r.effect}`]=!0,!p.value&&T.value&&(F["is-opacity"]=!0),p.value&&T.value&&(F["is-show"]=!0),T.value||(F["is-hide"]=!0),r.customClass&&typeof r.customClass=="string"&&(F[`${r.customClass}`]=!0),F}),ne=(0,t.computed)(()=>{const F={};return i.value.top!==null&&(F.top=`${i.value.top}px`),i.value.right!==null&&(F.right=`${i.value.right}px`),i.value.bottom!==null&&(F.bottom=`${i.value.bottom}px`),i.value.left!==null&&(F.left=`${i.value.left}px`),r.width&&(F.width=r.width),r.zIndex&&(F["z-index"]=`${r.zIndex}`),r.customStyle&&typeof r.customStyle=="object"&&Object.assign(F,r.customStyle),F}),ie=()=>{q(!1)},Q=()=>{if(y.value&&r.trigger==="hover"||!r.showOverlay)return null;const F={class:`${u}__overlay`,onClick:ie};return(0,t.h)("div",F)},A=()=>{let F=null;return o.title?F=(0,t.h)("div",{class:`${u}__title`},{default:o.title}):r.title&&(F=(0,t.h)("div",{class:`${u}__title`},[r.title])),F},X=(0,t.computed)(()=>({[`${u}__arrow`]:!0})),oe=(0,t.computed)(()=>{const F={};return r.showArrow?(F.width=`${r.arrowSize}px`,F.height=`${r.arrowSize}px`,$.value==="top"||$.value==="top-start"||$.value==="top-end"?(F.left=Te(N.value+r.arrowOffset),F.bottom="0",F.transform="translate(-50%, 50%)"):$.value==="right"?(F.left="0",F.top=Te(D.value+r.arrowOffset),F.transform="translate(-50%, -50%)"):$.value==="right-start"||$.value==="right-end"?(F.left="0",F.top=Te(D.value+r.arrowOffset),F.transform="translate(-50%, 50%)"):$.value==="bottom"||$.value==="bottom-start"?(F.left=Te(N.value+r.arrowOffset),F.top="0",F.transform="translate(-50%, -50%)"):$.value==="bottom-end"?(F.right=Te(N.value+r.arrowOffset),F.top="0",F.transform="translate(-50%, -50%)"):($.value==="left"||$.value==="left-start"||$.value==="left-end")&&(F.right="0",F.top=Te(D.value+r.arrowOffset),F.transform="translate(50%, -50%)"),F):{display:"none"}}),fe=()=>{const F={class:X.value,style:oe.value};return(0,t.h)("div",F)},re=()=>{},U=()=>{P.value===!1&&r.persistenet!==!0&&(k.value=!1)},S=()=>{U()},w=F=>{if(!g.value||P.value===!1)return;const{relatedTarget:z}=F;z&&!g.value.contains(z)&&q(!1)},G=F=>{!g.value||P.value===!1||q(!1)},te=()=>{const F=[],z=A();if(z&&F.push(z),o.default){const se=o.default();F.push(se)}const ae=fe();ae&&F.push(ae);const le={ref:g,class:O.value,style:ne.value,onAnimationstart:re,onAnimationend:U,onAnimationcancel:S};return r.leaveHide&&(le.onMouseleave=w),r.closeOnClick&&(le.onClick=G),(0,t.h)("div",le,{default:()=>F})};return()=>{const F=[],z=V();if(z&&F.push(z),!k.value)return F.length===null?null:F;const ae=[],le=Q();le&&ae.push(le);const se=te();se&&ae.push(se);const ce=(0,t.h)(t.Teleport,{to:r.teleport,disabled:r.teleportDisable},{default:()=>ae});return F.push(ce),F}}}}var{componentName:oc,create:ic,scope:sc}=ge("popover-dialog"),uc=ic(rc(oc,sc,!1)),gn=uc,ro={type:{type:[String],required:!1,default:()=>"primary"},dropdownPlacement:{type:[String],required:!1,default:()=>"bottom"},maxDisplayCount:{type:[Number,String],required:!1},moreText:{type:[String],required:!1},moreIcon:{type:[Object],required:!1},morePosition:{type:[String],required:!1,default:()=>"right"}};function cc(e,n,l){return{props:{...lo,...ro},emits:["click"],setup(r,{slots:a}){const{toLocaleRefs:o}=(0,Pe.useFoxI18n)(n),s=o(r,["moreText"]),u=e,i=(0,t.computed)(()=>({[u]:!0}));function h(d){return d.props||{}}function c(d){return!!h(d).disabled}function f(d){return d.children??[]}const m=(0,t.ref)(),$=(0,t.computed)(()=>m.value?.$el??null),k=(0,t.ref)(!1),p=d=>{k.value=d},g=()=>{k.value=!k.value};function y(d,C){return()=>{C||(k.value=!1,h(d)?.onClick?.())}}function b(d,C){const N=f(d),D=c(d),Y=y(d,D),P=[`${u}__dropdown-item`];return D&&P.push("is-disabled"),(0,t.h)("span",{class:P,onClick:Y},N)}const E=d=>{const C=De(r.maxDisplayCount??d.length);if(C>=d.length)return d;const N=[],D=C;for(let x=0;x<D;x++)N.push(d[x]);const Y=(a.moreIcon&&a.moreIcon())??(r.moreIcon&&(0,t.h)(r.moreIcon))??(0,t.h)(l),P={ref:x=>m.value=x,class:`${u}__dropdown-link`,"text-position":"left","show-overflow-tooltip":!1,type:r.type,onClick:g},q=(0,t.h)(_t,P,{default:()=>s.moreText.value,mark:()=>Y});r.morePosition==="left"?N.splice(0,0,q):N.push(q);const T=[];for(let x=D;x<d.length;x++){const K=b(d[x],x);T.push(K)}const R={placement:r.dropdownPlacement,"onUpdate:visible":p,visible:k.value,reference:$.value,"custom-class":`${u}__popover`},_=(0,t.h)(gn,R,{default:()=>T});return N.push(_),N};return()=>{const{getChildren:d}=fn(a?.default),C=d(),N=E(C),D={...Me(r,ro),class:i.value};return(0,t.h)(na,D,{default:()=>N})}}}}var{componentName:fc,create:dc,scope:hc}=ge("buttons-item"),mc=dc(cc(fc,hc,Ke.ArrowDown)),tl=mc;function Ye(e,n={}){return(0,t.h)(mn,e,n)}function oo(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text??""}function gc(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function yc(e,n,l,r,a){const o=Array.isArray(e)?e:[e],s=[],u=n[0];if(Array.isArray(e)&&!Array.isArray(u)&&!u[a]){const i=n;for(let h=0;i&&h<o.length;h++){const c=o[h],f=i.find(m=>m[r]===c);if(!f)break;s.push(f[l])}return s}if(Array.isArray(u))for(let i=0;i<n.length&&i<o.length;i++){const h=n[i],c=o[i],f=h.find(m=>m[r]===c);if(!f)break;s.push(f[l])}else{let i=n;for(let h=0;i&&h<o.length;h++){const c=o[h],f=i.find(m=>m[r]===c);if(!f)break;s.push(f[l]),i=f[a]}}return s}var pc=class{scope;constructor(e){this.scope=e}async load(e,n,l){if(!n)return[];if(Array.isArray(n))return n;if(typeof n=="function")return await n(l);const r=tt(e,this.scope);return r===null?(console.error(`[FoxUI]${e} component not found api function`),[]):(et(l)&&(0,t.isReactive)(l)&&(l=(0,t.toRaw)(l)),await r(n,l))}};function vc(){const e=ut();return new pc(e)}function bc(e){return e&&e.startsWith("fox-")}var io={tag:{type:[String,Object],required:!1,default:"span"},source:{type:[Array,Function,String],required:!1},sourceType:{type:[String],required:!1,default:"mapping"},params:{type:[Object,String],required:!1},modelValue:{type:[String,Boolean,Number,Array,Object],required:!1},separator:{type:[String],required:!1,default:"/"},unit:{type:[String],required:!1},valueType:{type:String,required:!1},optionType:{type:String,required:!1},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},childrenKey:{type:[String],required:!1,default:"children"},emptyText:{type:[String],required:!1}};function wc(e,n,l=!1){return{props:io,setup(r,{attrs:a,slots:o}){const s=vc(),u=(0,t.ref)([]);(0,t.watch)([()=>r.source,()=>r.params],async([h,c])=>{u.value=await s.load(r.sourceType,h,c)},{immediate:!0});const i=(0,t.computed)(()=>{if(!Array.isArray(u.value)||u.value.length===0)return r.emptyText;{let h="";if(r.valueType==="text")Array.isArray(r.modelValue)?h=r.modelValue.join(r.separator):h=r.modelValue??r.emptyText??"";else if(r.valueKey==="item")if(Array.isArray(r.modelValue)){const c=[];for(let f=0;f<r.modelValue.length;f++){const m=r.modelValue[f];let $=oo(r,m);r.optionType==="item"&&($=`${gc(r,m)}${r.separator}${$}`),c.push($)}h=c.join(r.separator)}else{const c=r.modelValue;h=oo(r,c)}else{let c=yc(r.modelValue,u.value,r.textKey,r.valueKey,r.childrenKey);c.length===0?h=r.emptyText??"":c.length===1?r.optionType=="item"?h=`${r.modelValue}${r.separator}${c[0]}`:h=c[0]:h=c.join(r.separator)}return r.unit&&(h=`${h}${r.unit}`),h}});return()=>{const h={...a};if(o.default)return o.default({text:i.value,value:r.modelValue});const c=r.tag??"span";return typeof c=="object"?(0,t.h)(c,h,{default:()=>i.value}):bc(c)?(0,t.h)((0,t.resolveComponent)(c),h,[i.value]):(0,t.h)(c,h,[i.value])}}}}var{componentName:Sc,create:Cc,scope:Tc}=ge("mapping"),xc=Cc(wc(Sc,Tc)),qt=xc;function Ze(e,n){const l="fox-browse-item";let r=null;if(e.source)r=(0,t.h)(qt,{class:[`${l}__mapping`],modelValue:e.modelValue,source:e.source,sourceType:e.sourceType,params:e.params,separator:e.separator,emptyText:e.emptyText,unit:e.unit,valueType:e.valueKey,textKey:e.textKey,valueKey:e.valueKey,childrenKey:e.childrenKey},{default:o=>(0,t.h)(_t,{class:[`${l}__text`],truncated:!1},{default:()=>o.text})});else{const o=e.unit?`${e.modelValue??""}${e.unit}`:`${e.modelValue??""}`;r=(0,t.h)(_t,{class:[`${l}__text`],truncated:!1},{default:()=>o})}const a={label:n.default,default:()=>r};return(0,t.h)(mn,{class:[l],span:e.span,labelPosition:e.labelPosition,labelWidth:e.labelWidth},a)}var ft=(e={})=>{if(!e)return{};const n={};return Reflect.ownKeys(e).forEach(l=>{typeof l=="string"&&l.indexOf("data-fox")!==0&&(n[l]=e[l])}),n},so={modelValue:{type:[String,Boolean,Number,Object],required:!1},clearable:{type:[Boolean,String],default:!0},placeholder:{type:[String],required:!1},unit:{type:[String],required:!1},adjustPosition:{type:[Boolean],default:()=>!0},alwaysSystem:{type:[Boolean],default:()=>!1},showTooltip:{type:[Boolean],default:()=>!1},maxLength:{type:[String,Number]}},kc={...Be,..._e,...so};function $c(e,n,l,r){return{props:kc,emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(a,o){const{itemTemplateRef:s,innerDisabled:u,disabled:i,innerReadonly:h,readonly:c,browse:f}=We(a),{emitEvent:m,exposeApi:$}=Le({componentName:e,get readonly(){return c.value},get disabled(){return i.value},get props(){return a},context:o,get templateRefProxy(){return s.value}},a.prop??o.attrs.name),{toLocaleRefs:k}=(0,Pe.useFoxI18n)(n),p=k(a,["placeholder"]),g=(0,t.ref)(!1),y=Ve(a,"modelValue",null,m),b=e,E=(0,t.computed)(()=>({[`${b}`]:!0,disabled:i.value,readonly:c.value})),d=(0,t.computed)(()=>({[`${b}__content`]:!0})),C=H=>{y.value=H,m("update:modelValue",H),m("input",H)},N=H=>{m("change",H)};let D=Ve(a,"hintText"),Y=(0,t.ref)(!1);const P=H=>{let ee=H.target.value;g.value=!0,ke(D.value)||(Y.value=!0),m("focus",ee,H)},q=H=>{setTimeout(()=>{Y.value&&(Y.value=!1),g.value=!1},0);let ee=H.target.value;a.maxLength&&ee.length>Number(a.maxLength)&&(ee=ee.slice(0,Number(a.maxLength))),m("blur",ee,H)},T=()=>{m("clear","")},R=(0,t.ref)(!1);let _=null;const x=()=>{a.showTooltip&&R.value===!1&&(_&&clearTimeout(_),_=setTimeout(()=>{R.value=!0},150))},K=()=>{_&&(clearTimeout(_),R.value=!1,_=null)},M=(0,t.computed)(()=>R.value||Y.value),L=(0,t.computed)(()=>R.value?y.value:D.value),j=(0,t.computed)(()=>bt(a.unit)>0),B=(0,t.ref)();return $({focus:()=>{B?.value.focus()},blur:()=>{B?.value.blur()},select:()=>{B?.value.select()},setDisabled:H=>{u.value=H},setReadonly:H=>{h.value=H}}),()=>{if(f.value==="on"&&(c.value||i.value))return r({modelValue:y.value,unit:a.unit,span:a.span,labelPosition:a.labelPosition,labelWidth:a.labelWidth},o.slots);const H=i.value||c.value?"":p.placeholder.value,ee={...ft(o.attrs),ref:B,class:d.value,placeholder:H,clearable:a.clearable,disabled:i.value,readonly:c.value,modelValue:y.value,"adjust-position":a.adjustPosition,"always-system":a.alwaysSystem,onClear:T,onChange:N,onInput:C,onFocus:P,onBlur:q,onMouseover:x,onMouseleave:K},Z={};o.slots.prepend&&(Z.prepend=o.slots.prepend),o.slots.append&&(Z.append=o.slots.append),o.slots.prefix&&(Z.prefix=o.slots.prefix),o.slots.suffix?Z.suffix=o.slots.suffix:j.value&&(Z.suffix=()=>[a.unit]);const J=[],W=(0,t.h)(I.ElInput,ee,Z);J.push(W);const V={default:()=>J};V.label=o.slots.default,V.fixedPreTip=o.slots.fixedPreTip,V.fixedTip=o.slots.fixedTip;const O={...Me(a,so),class:E.value,ref:s,hintText:L.value,hintVisible:M.value};return a.prop&&(O.prop=`${a.prop}_item`),l(O,V)}}}}var{componentName:Nc,create:Dc,scope:Ec}=ge("input-item"),Pc=Dc($c(Nc,Ec,Ye,Ze)),aa=Pc,{create:Vc}=ge("textarea-item"),Ic=Vc({setup(e,{attrs:n,slots:l}){return()=>{const r={...n,type:"textarea"};return(0,t.h)(aa,r,l)}}}),nl=Ic;function Dt(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function yn(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function uo(e,n){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?n[e.childrenKey]||null:n.children??null}function Ac(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}var Bc=class{scope;constructor(e){this.scope=e}async load(e,n,l){if(!n)return[];if(Array.isArray(n))return n;if(typeof n=="function")return await n(l);const r=tt(e,this.scope);return r===null?(console.error(`[FoxUI]${e} component not found api function`),[]):(et(l)&&(0,t.isReactive)(l)&&(l=(0,t.toRaw)(l)),await r(n,l))}};function Oc(){const e=ut();return new Bc(e)}function co(e,n,l){return!(Dt(e,n)!==Dt(e,l)||yn(e,n)!==yn(e,l))}function fo(e,n,l,r){if(r.length===0||n===""||n===null||n===void 0)return null;Array.isArray(n)||(n=[n]);const a=[];return n.forEach(o=>{for(let s of r){const u=uo(e,s);if(Array.isArray(u)&&u.length>0){const i=fo(e,o,l,u)??[];Reflect.apply([].push,a,i)}else{let i=!1;if(l==="text")i=Dt(e,s)===o;else if(l==="item")i=co(e,s,o);else{let h=yn(e,s);h==null&&(h=Dt(e,s)),i=h===o}if(i){a.push(s);break}}}}),a}function Rc(e){return{text:e,value:e}}var ho={modelValue:{type:[String,Boolean,Number,Object,Array],required:!1},text:{type:[String],required:!1},source:{type:[Array,Function,String]},sourceFilter:{type:[Function]},params:{type:Object},clearable:{type:[Boolean,String],default:!0},multiple:{type:[Boolean],default:!1},valueType:{type:String,required:!1,default:"value"},optionType:{type:String,required:!1,default:"text"},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},childrenKey:{type:[String],required:!1,default:"children"},disabledKey:{type:[String],required:!1,default:"disabled"},remoteMethod:{type:[Function],required:!1},filterMethod:{type:[Function],required:!1},allowCreate:{type:[Boolean],default:!1},unit:{type:[String],required:!1},placeholder:{type:[String],required:!1},appearLoad:{type:[Boolean,String],default:!1},showTooltip:{type:[Boolean],default:!1},popperClass:{type:[String],required:!1},popperStyle:{type:[String,Object],required:!1},showArrow:{type:[Boolean],default:!0},teleported:{type:[Boolean],default:!0},appendTo:{type:[String,Object]}},Fc={...Be,..._e,...ho};function Mc(e,n,l,r){return{props:Fc,emits:["change","update:modelValue","update:text","blur","focus","clear","visible-change","remove-tag","selected","setValue"],setup(a,o){const{itemTemplateRef:s,innerDisabled:u,disabled:i,innerReadonly:h,readonly:c,browse:f}=We(a),{emitEvent:m,exposeApi:$}=Le({componentName:e,validateCheckEvents:["blur","update:modelValue","selected"],get readonly(){return c.value},get disabled(){return i.value},get props(){return a},context:o,get templateRefProxy(){return s.value}},a.prop??o.attrs.name),{toLocaleRefs:k}=(0,Pe.useFoxI18n)(n),p=k(a,["placeholder"]),g=(0,t.ref)(null),y=(0,t.ref)([]),b=(0,t.computed)(()=>y.value?y.value.map(w=>Dt(a,w)).join(" "):""),E=(w,G,te,F=!0)=>{if(!te||te.length==0){g.value=w,F&&(m("update:modelValue",w),m("change",w));return}const z=fo(a,w,G,te);if(z===null){if(y.value===null||y.value.length===0)return;g.value=null,y.value=[],F&&(m("update:modelValue",null),m("update:text",null),m("change",null));return}let ae=!0;if(z.length!==y.value.length)ae=!1;else for(let le=0;le<z.length;le++){const se=z[le],ce=y.value[le];if(!co(a,se,ce)){ae=!1;break}}if(!ae){y.value=z;let le=[],se=[],ce=[];z.forEach($e=>{const xe=yn(a,$e),Re=Dt(a,$e);le.push(xe),ce.push(Re),a.valueType==="text"?se.push(Re):a.valueType==="item"?se.push($e):se.push(xe)});let me,Ne,ye;Ce(a.multiple)?(g.value=le,me=(0,t.toRaw)(se),Ne=ce,ye=(0,t.toRaw)(z)):(g.value=le[0]??"",me=(0,t.toRaw)(se[0]??""),Ne=ce[0]??"",ye=(0,t.toRaw)(z[0])),F&&(m("update:modelValue",me),m("change",me,ye)),m("update:text",Ne)}},d=(0,t.ref)(null),C=(0,t.ref)(null),N=(0,t.computed)(()=>{let w=C.value??d.value??[];return Array.isArray(w)&&typeof a.sourceFilter=="function"&&(w=w.filter(a.sourceFilter)),w}),D=qe((0,t.computed)(()=>a.appearLoad),"appearLoad",st.Near,w=>Ce(w)),Y=Oc(),P=async(w,G)=>{if(w){const te=await Y.load("select",w,G);if(te.length>0)if(typeof te[0]=="string"){let F=te.map(z=>Rc(z));d.value=F}else d.value=te;else d.value=null}};(0,t.watch)([()=>a.source,()=>a.params],([w,G])=>{C.value=null,P(w,G)},{immediate:!D.value});let q=!1;const T=()=>{q||(q=!0,P(a.source,a.params))};(0,t.watch)([()=>d.value,()=>a.modelValue],([w,G])=>{if(K()&&Ce(a.multiple)){Qe(G,g.value)||(g.value=G);return}E(G,a.valueType,N.value,!1),m("setValue",G)}),a.source||(g.value=a.modelValue);let R=null,_=(0,t.ref)(!1);typeof a.remoteMethod=="function"&&(R=async w=>{if(w==null){C.value=null;return}_.value=!0;try{const G=await a.remoteMethod(w);G&&(C.value=G)}catch(G){C.value=null,console.error(G)}_.value=!1});let x=null;typeof a.filterMethod=="function"&&(x=async w=>{if(w==null){C.value=null;return}_.value=!0;try{const G=await a.filterMethod(w,d.value);G&&(C.value=G)}catch(G){C.value=null,console.error(G)}_.value=!1});const K=()=>typeof a.remoteMethod=="function"||typeof a.filterMethod=="function",M=(0,t.ref)(!1),L=e,j=(0,t.computed)(()=>({[L]:!0,disabled:i.value,readonly:c.value})),B=(0,t.computed)(()=>({[`${L}__content`]:!0})),H=w=>{a.allowCreate||K()&&Ce(a.multiple)?(m("update:modelValue",w),m("change",w),m("update:text",w),g.value=w):E(w,"value",N.value,!0)};let ee=Ve(a,"hintText"),Z=(0,t.ref)(!1);const J=w=>{let G=w.target.value;M.value=!0,ke(ee.value)||(Z.value=!0),m("focus",G,w)},W=w=>{setTimeout(()=>{Z.value&&(Z.value=!1),M.value=!1},0);const G=w.target.value;oe.value||m("blur",G,w)},V=()=>{m("clear","")},O=(0,t.ref)(!1);let ne=null;const ie=()=>{a.showTooltip&&O.value===!1&&(ne&&clearTimeout(ne),ne=setTimeout(()=>{O.value=!0},150))},Q=()=>{ne&&(clearTimeout(ne),O.value=!1,ne=null)},A=(0,t.computed)(()=>O.value||Z.value),X=(0,t.computed)(()=>O.value?b.value:ee.value),oe=(0,t.ref)(!1),fe=w=>{oe.value=w,m("visible-change",w),w||m("selected")},re=w=>{m("remove-tag",w)},U=(w,G)=>{const te=[];return w.forEach((F,z)=>{const ae=uo(a,F);if(Array.isArray(ae)&&ae.length>0){const le=U(ae,G),se=Dt(a,F),ce={key:`${se}_${z}`,label:se};te.push((0,t.h)(I.ElOptionGroup,ce,{default:()=>le}))}else{const le=yn(a,F),se=Dt(a,F),ce=Ac(a,F),me={key:`${le}_${z}`,label:se,disabled:ce,value:le};if(typeof G=="function")te.push((0,t.h)(I.ElOption,me,{default:()=>G(F)}));else if(a.optionType==="item"){const Ne={class:{[`${L}__option-left`]:!0}},ye=(0,t.h)("span",Ne,[le]),$e={class:{[`${L}__option-right`]:!0}},xe=(0,t.h)("span",$e,[se]),Re=(0,t.h)("div",{class:{[`${L}__option`]:!0}},[ye,xe]);te.push((0,t.h)(I.ElOption,me,{default:()=>Re}))}else a.optionType==="value"?te.push((0,t.h)(I.ElOption,me,{default:()=>[le]})):te.push((0,t.h)(I.ElOption,me))}}),te},S=(0,t.ref)();return $({focus:()=>{S?.value.focus()},blur:()=>{S?.value.blur()},setDisabled:w=>{u.value=w},setReadonly:w=>{h.value=w}}),()=>{if(f.value==="on"&&(c.value||i.value))return r({modelValue:g.value,source:N.value,valueType:a.valueType,textKey:a.textKey,valueKey:a.valueKey,unit:a.unit,span:a.span,labelPosition:a.labelPosition,labelWidth:a.labelWidth},o.slots);const w=i.value||c.value?"":p.placeholder.value,G={...ft(o.attrs),ref:S,class:B.value,clearable:a.clearable,multiple:a.multiple,placeholder:w,disabled:i.value||c.value,modelValue:g.value,"value-key":a.valueKey,"allow-create":a.allowCreate,"popper-class":a.popperClass,"popper-style":a.popperStyle,"show-arrow":a.showArrow,"append-to":a.appendTo,onClear:V,onChange:H,onFocus:J,onBlur:W,onVisibleChange:fe,onRemoveTag:re};typeof R=="function"&&(G["remote-method"]=R,G.loading=_.value),typeof x=="function"&&(G["filter-method"]=x,G.loading=_.value);const te={};o.slots.prefix&&(te.prefix=o.slots.prefix),o.slots.empty&&(te.empty=o.slots.empty),o.slots.options?te.default=o.slots.options:te.default=()=>U(N.value,o.slots.option);const F=[],z=(0,t.h)(I.ElSelect,G,te);F.push(z);const ae={default:()=>F};ae.label=o.slots.default,ae.fixedPreTip=o.slots.fixedPreTip,ae.fixedTip=o.slots.fixedTip;const le={...Me(a,ho),ref:s,class:j.value,hintText:X.value,hintVisible:A.value,onMouseover:ie,onMouseleave:Q};return a.prop&&(le.prop=`${a.prop}_item`),D.value&&(le["appear-listen"]=!0,le.onAppear=T),l(le,ae)}}}}var{componentName:Lc,create:_c,scope:qc}=ge("select-item"),zc=_c(Mc(Lc,qc,Ye,Ze)),al=zc,jc=pt(((e,n)=>{(function(l,r){typeof e=="object"&&typeof n<"u"?n.exports=r():typeof define=="function"&&define.amd?define(r):(l=typeof globalThis<"u"?globalThis:l||self).dayjs=r()})(e,(function(){"use strict";var l=1e3,r=6e4,a=36e5,o="millisecond",s="second",u="minute",i="hour",h="day",c="week",f="month",m="quarter",$="year",k="date",p="Invalid Date",g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,b={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(x){var K=["th","st","nd","rd"],M=x%100;return"["+x+(K[(M-20)%10]||K[M]||K[0])+"]"}},E=function(x,K,M){var L=String(x);return!L||L.length>=K?x:""+Array(K+1-L.length).join(M)+x},d={s:E,z:function(x){var K=-x.utcOffset(),M=Math.abs(K),L=Math.floor(M/60),j=M%60;return(K<=0?"+":"-")+E(L,2,"0")+":"+E(j,2,"0")},m:function x(K,M){if(K.date()<M.date())return-x(M,K);var L=12*(M.year()-K.year())+(M.month()-K.month()),j=K.clone().add(L,f),B=M-j<0,H=K.clone().add(L+(B?-1:1),f);return+(-(L+(M-j)/(B?j-H:H-j))||0)},a:function(x){return x<0?Math.ceil(x)||0:Math.floor(x)},p:function(x){return{M:f,y:$,w:c,d:h,D:k,h:i,m:u,s,ms:o,Q:m}[x]||String(x||"").toLowerCase().replace(/s$/,"")},u:function(x){return x===void 0}},C="en",N={};N[C]=b;var D="$isDayjsObject",Y=function(x){return x instanceof R||!(!x||!x[D])},P=function x(K,M,L){var j;if(!K)return C;if(typeof K=="string"){var B=K.toLowerCase();N[B]&&(j=B),M&&(N[B]=M,j=B);var H=K.split("-");if(!j&&H.length>1)return x(H[0])}else{var ee=K.name;N[ee]=K,j=ee}return!L&&j&&(C=j),j||!L&&C},q=function(x,K){if(Y(x))return x.clone();var M=typeof K=="object"?K:{};return M.date=x,M.args=arguments,new R(M)},T=d;T.l=P,T.i=Y,T.w=function(x,K){return q(x,{locale:K.$L,utc:K.$u,x:K.$x,$offset:K.$offset})};var R=(function(){function x(M){this.$L=P(M.locale,null,!0),this.parse(M),this.$x=this.$x||M.x||{},this[D]=!0}var K=x.prototype;return K.parse=function(M){this.$d=(function(L){var j=L.date,B=L.utc;if(j===null)return new Date(NaN);if(T.u(j))return new Date;if(j instanceof Date)return new Date(j);if(typeof j=="string"&&!/Z$/i.test(j)){var H=j.match(g);if(H){var ee=H[2]-1||0,Z=(H[7]||"0").substring(0,3);return B?new Date(Date.UTC(H[1],ee,H[3]||1,H[4]||0,H[5]||0,H[6]||0,Z)):new Date(H[1],ee,H[3]||1,H[4]||0,H[5]||0,H[6]||0,Z)}}return new Date(j)})(M),this.init()},K.init=function(){var M=this.$d;this.$y=M.getFullYear(),this.$M=M.getMonth(),this.$D=M.getDate(),this.$W=M.getDay(),this.$H=M.getHours(),this.$m=M.getMinutes(),this.$s=M.getSeconds(),this.$ms=M.getMilliseconds()},K.$utils=function(){return T},K.isValid=function(){return this.$d.toString()!==p},K.isSame=function(M,L){var j=q(M);return this.startOf(L)<=j&&j<=this.endOf(L)},K.isAfter=function(M,L){return q(M)<this.startOf(L)},K.isBefore=function(M,L){return this.endOf(L)<q(M)},K.$g=function(M,L,j){return T.u(M)?this[L]:this.set(j,M)},K.unix=function(){return Math.floor(this.valueOf()/1e3)},K.valueOf=function(){return this.$d.getTime()},K.startOf=function(M,L){var j=this,B=!!T.u(L)||L,H=T.p(M),ee=function(Q,A){var X=T.w(j.$u?Date.UTC(j.$y,A,Q):new Date(j.$y,A,Q),j);return B?X:X.endOf(h)},Z=function(Q,A){return T.w(j.toDate()[Q].apply(j.toDate("s"),(B?[0,0,0,0]:[23,59,59,999]).slice(A)),j)},J=this.$W,W=this.$M,V=this.$D,O="set"+(this.$u?"UTC":"");switch(H){case $:return B?ee(1,0):ee(31,11);case f:return B?ee(1,W):ee(0,W+1);case c:var ne=this.$locale().weekStart||0,ie=(J<ne?J+7:J)-ne;return ee(B?V-ie:V+(6-ie),W);case h:case k:return Z(O+"Hours",0);case i:return Z(O+"Minutes",1);case u:return Z(O+"Seconds",2);case s:return Z(O+"Milliseconds",3);default:return this.clone()}},K.endOf=function(M){return this.startOf(M,!1)},K.$set=function(M,L){var j,B=T.p(M),H="set"+(this.$u?"UTC":""),ee=(j={},j[h]=H+"Date",j[k]=H+"Date",j[f]=H+"Month",j[$]=H+"FullYear",j[i]=H+"Hours",j[u]=H+"Minutes",j[s]=H+"Seconds",j[o]=H+"Milliseconds",j)[B],Z=B===h?this.$D+(L-this.$W):L;if(B===f||B===$){var J=this.clone().set(k,1);J.$d[ee](Z),J.init(),this.$d=J.set(k,Math.min(this.$D,J.daysInMonth())).$d}else ee&&this.$d[ee](Z);return this.init(),this},K.set=function(M,L){return this.clone().$set(M,L)},K.get=function(M){return this[T.p(M)]()},K.add=function(M,L){var j,B=this;M=Number(M);var H=T.p(L),ee=function(W){var V=q(B);return T.w(V.date(V.date()+Math.round(W*M)),B)};if(H===f)return this.set(f,this.$M+M);if(H===$)return this.set($,this.$y+M);if(H===h)return ee(1);if(H===c)return ee(7);var Z=(j={},j[u]=r,j[i]=a,j[s]=l,j)[H]||1,J=this.$d.getTime()+M*Z;return T.w(J,this)},K.subtract=function(M,L){return this.add(-1*M,L)},K.format=function(M){var L=this,j=this.$locale();if(!this.isValid())return j.invalidDate||p;var B=M||"YYYY-MM-DDTHH:mm:ssZ",H=T.z(this),ee=this.$H,Z=this.$m,J=this.$M,W=j.weekdays,V=j.months,O=j.meridiem,ne=function(A,X,oe,fe){return A&&(A[X]||A(L,B))||oe[X].slice(0,fe)},ie=function(A){return T.s(ee%12||12,A,"0")},Q=O||function(A,X,oe){var fe=A<12?"AM":"PM";return oe?fe.toLowerCase():fe};return B.replace(y,(function(A,X){return X||(function(oe){switch(oe){case"YY":return String(L.$y).slice(-2);case"YYYY":return T.s(L.$y,4,"0");case"M":return J+1;case"MM":return T.s(J+1,2,"0");case"MMM":return ne(j.monthsShort,J,V,3);case"MMMM":return ne(V,J);case"D":return L.$D;case"DD":return T.s(L.$D,2,"0");case"d":return String(L.$W);case"dd":return ne(j.weekdaysMin,L.$W,W,2);case"ddd":return ne(j.weekdaysShort,L.$W,W,3);case"dddd":return W[L.$W];case"H":return String(ee);case"HH":return T.s(ee,2,"0");case"h":return ie(1);case"hh":return ie(2);case"a":return Q(ee,Z,!0);case"A":return Q(ee,Z,!1);case"m":return String(Z);case"mm":return T.s(Z,2,"0");case"s":return String(L.$s);case"ss":return T.s(L.$s,2,"0");case"SSS":return T.s(L.$ms,3,"0");case"Z":return H}return null})(A)||H.replace(":","")}))},K.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},K.diff=function(M,L,j){var B,H=this,ee=T.p(L),Z=q(M),J=(Z.utcOffset()-this.utcOffset())*r,W=this-Z,V=function(){return T.m(H,Z)};switch(ee){case $:B=V()/12;break;case f:B=V();break;case m:B=V()/3;break;case c:B=(W-J)/6048e5;break;case h:B=(W-J)/864e5;break;case i:B=W/a;break;case u:B=W/r;break;case s:B=W/l;break;default:B=W}return j?B:T.a(B)},K.daysInMonth=function(){return this.endOf(f).$D},K.$locale=function(){return N[this.$L]},K.locale=function(M,L){if(!M)return this.$L;var j=this.clone(),B=P(M,L,!0);return B&&(j.$L=B),j},K.clone=function(){return T.w(this.$d,this)},K.toDate=function(){return new Date(this.valueOf())},K.toJSON=function(){return this.isValid()?this.toISOString():null},K.toISOString=function(){return this.$d.toISOString()},K.toString=function(){return this.$d.toUTCString()},x})(),_=R.prototype;return q.prototype=_,[["$ms",o],["$s",s],["$m",u],["$H",i],["$W",h],["$M",f],["$y",$],["$D",k]].forEach((function(x){_[x[1]]=function(K){return this.$g(K,x[0],x[1])}})),q.extend=function(x,K){return x.$i||(x(K,R,q),x.$i=!0),q},q.locale=P,q.isDayjs=Y,q.unix=function(x){return q(1e3*x)},q.en=N[C],q.Ls=N,q.p={},q}))})),Kc=pt(((e,n)=>{(function(l,r){typeof e=="object"&&typeof n<"u"?n.exports=r():typeof define=="function"&&define.amd?define(r):(l=typeof globalThis<"u"?globalThis:l||self).dayjs_plugin_customParseFormat=r()})(e,(function(){"use strict";var l={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,a=/\d/,o=/\d\d/,s=/\d\d?/,u=/\d*[^-_:/,()\s\d]+/,i={},h=function(g){return(g=+g)+(g>68?1900:2e3)},c=function(g){return function(y){this[g]=+y}},f=[/[+-]\d\d:?(\d\d)?|Z/,function(g){(this.zone||(this.zone={})).offset=(function(y){if(!y||y==="Z")return 0;var b=y.match(/([+-]|\d\d)/g),E=60*b[1]+(+b[2]||0);return E===0?0:b[0]==="+"?-E:E})(g)}],m=function(g){var y=i[g];return y&&(y.indexOf?y:y.s.concat(y.f))},$=function(g,y){var b,E=i.meridiem;if(E){for(var d=1;d<=24;d+=1)if(g.indexOf(E(d,0,y))>-1){b=d>12;break}}else b=g===(y?"pm":"PM");return b},k={A:[u,function(g){this.afternoon=$(g,!1)}],a:[u,function(g){this.afternoon=$(g,!0)}],Q:[a,function(g){this.month=3*(g-1)+1}],S:[a,function(g){this.milliseconds=100*+g}],SS:[o,function(g){this.milliseconds=10*+g}],SSS:[/\d{3}/,function(g){this.milliseconds=+g}],s:[s,c("seconds")],ss:[s,c("seconds")],m:[s,c("minutes")],mm:[s,c("minutes")],H:[s,c("hours")],h:[s,c("hours")],HH:[s,c("hours")],hh:[s,c("hours")],D:[s,c("day")],DD:[o,c("day")],Do:[u,function(g){var y=i.ordinal,b=g.match(/\d+/);if(this.day=b[0],y)for(var E=1;E<=31;E+=1)y(E).replace(/\[|\]/g,"")===g&&(this.day=E)}],w:[s,c("week")],ww:[o,c("week")],M:[s,c("month")],MM:[o,c("month")],MMM:[u,function(g){var y=m("months"),b=(m("monthsShort")||y.map((function(E){return E.slice(0,3)}))).indexOf(g)+1;if(b<1)throw new Error;this.month=b%12||b}],MMMM:[u,function(g){var y=m("months").indexOf(g)+1;if(y<1)throw new Error;this.month=y%12||y}],Y:[/[+-]?\d+/,c("year")],YY:[o,function(g){this.year=h(g)}],YYYY:[/\d{4}/,c("year")],Z:f,ZZ:f};function p(g){for(var y=g,b=i&&i.formats,E=(g=y.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(q,T,R){var _=R&&R.toUpperCase();return T||b[R]||l[R]||b[_].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(x,K,M){return K||M.slice(1)}))}))).match(r),d=E.length,C=0;C<d;C+=1){var N=E[C],D=k[N],Y=D&&D[0],P=D&&D[1];E[C]=P?{regex:Y,parser:P}:N.replace(/^\[|\]$/g,"")}return function(q){for(var T={},R=0,_=0;R<d;R+=1){var x=E[R];if(typeof x=="string")_+=x.length;else{var K=x.regex,M=x.parser,L=q.slice(_),j=K.exec(L)[0];M.call(T,j),q=q.replace(j,"")}}return(function(B){var H=B.afternoon;if(H!==void 0){var ee=B.hours;H?ee<12&&(B.hours+=12):ee===12&&(B.hours=0),delete B.afternoon}})(T),T}}return function(g,y,b){b.p.customParseFormat=!0,g&&g.parseTwoDigitYear&&(h=g.parseTwoDigitYear);var E=y.prototype,d=E.parse;E.parse=function(C){var N=C.date,D=C.utc,Y=C.args;this.$u=D;var P=Y[1];if(typeof P=="string"){var q=Y[2]===!0,T=Y[3]===!0,R=q||T,_=Y[2];T&&(_=Y[2]),i=this.$locale(),!q&&_&&(i=b.Ls[_]),this.$d=(function(L,j,B,H){try{if(["x","X"].indexOf(j)>-1)return new Date((j==="X"?1e3:1)*L);var ee=p(j)(L),Z=ee.year,J=ee.month,W=ee.day,V=ee.hours,O=ee.minutes,ne=ee.seconds,ie=ee.milliseconds,Q=ee.zone,A=ee.week,X=new Date,oe=W||(Z||J?1:X.getDate()),fe=Z||X.getFullYear(),re=0;Z&&!J||(re=J>0?J-1:X.getMonth());var U,S=V||0,w=O||0,G=ne||0,te=ie||0;return Q?new Date(Date.UTC(fe,re,oe,S,w,G,te+60*Q.offset*1e3)):B?new Date(Date.UTC(fe,re,oe,S,w,G,te)):(U=new Date(fe,re,oe,S,w,G,te),A&&(U=H(U).week(A).toDate()),U)}catch{return new Date("")}})(N,P,D,b),this.init(),_&&_!==!0&&(this.$L=this.locale(_).$L),R&&N!=this.format(P)&&(this.$d=new Date("")),i={}}else if(P instanceof Array)for(var x=P.length,K=1;K<=x;K+=1){Y[1]=P[K-1];var M=b.apply(this,Y);if(M.isValid()){this.$d=M.$d,this.$L=M.$L,this.init();break}K===x&&(this.$d=new Date(""))}else d.call(this,C)}}}))})),Hc=pt(((e,n)=>{(function(l,r){typeof e=="object"&&typeof n<"u"?n.exports=r():typeof define=="function"&&define.amd?define(r):(l=typeof globalThis<"u"?globalThis:l||self).dayjs_plugin_advancedFormat=r()})(e,(function(){"use strict";return function(l,r){var a=r.prototype,o=a.format;a.format=function(s){var u=this,i=this.$locale();if(!this.isValid())return o.bind(this)(s);var h=this.$utils(),c=(s||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(f){switch(f){case"Q":return Math.ceil((u.$M+1)/3);case"Do":return i.ordinal(u.$D);case"gggg":return u.weekYear();case"GGGG":return u.isoWeekYear();case"wo":return i.ordinal(u.week(),"W");case"w":case"ww":return h.s(u.week(),f==="w"?1:2,"0");case"W":case"WW":return h.s(u.isoWeek(),f==="W"?1:2,"0");case"k":case"kk":return h.s(String(u.$H===0?24:u.$H),f==="k"?1:2,"0");case"X":return Math.floor(u.$d.getTime()/1e3);case"x":return u.$d.getTime();case"z":return"["+u.offsetName()+"]";case"zzz":return"["+u.offsetName("long")+"]";default:return f}}));return o.bind(this)(c)}}}))})),Wc=pt(((e,n)=>{(function(l,r){typeof e=="object"&&typeof n<"u"?n.exports=r():typeof define=="function"&&define.amd?define(r):(l=typeof globalThis<"u"?globalThis:l||self).dayjs_plugin_localeData=r()})(e,(function(){"use strict";return function(l,r,a){var o=r.prototype,s=function(f){return f&&(f.indexOf?f:f.s)},u=function(f,m,$,k,p){var g=f.name?f:f.$locale(),y=s(g[m]),b=s(g[$]),E=y||b.map((function(C){return C.slice(0,k)}));if(!p)return E;var d=g.weekStart;return E.map((function(C,N){return E[(N+(d||0))%7]}))},i=function(){return a.Ls[a.locale()]},h=function(f,m){return f.formats[m]||(function($){return $.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(k,p,g){return p||g.slice(1)}))})(f.formats[m.toUpperCase()])},c=function(){var f=this;return{months:function(m){return m?m.format("MMMM"):u(f,"months")},monthsShort:function(m){return m?m.format("MMM"):u(f,"monthsShort","months",3)},firstDayOfWeek:function(){return f.$locale().weekStart||0},weekdays:function(m){return m?m.format("dddd"):u(f,"weekdays")},weekdaysMin:function(m){return m?m.format("dd"):u(f,"weekdaysMin","weekdays",2)},weekdaysShort:function(m){return m?m.format("ddd"):u(f,"weekdaysShort","weekdays",3)},longDateFormat:function(m){return h(f.$locale(),m)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};o.localeData=function(){return c.bind(this)()},a.localeData=function(){var f=i();return{firstDayOfWeek:function(){return f.weekStart||0},weekdays:function(){return a.weekdays()},weekdaysShort:function(){return a.weekdaysShort()},weekdaysMin:function(){return a.weekdaysMin()},months:function(){return a.months()},monthsShort:function(){return a.monthsShort()},longDateFormat:function(m){return h(f,m)},meridiem:f.meridiem,ordinal:f.ordinal}},a.months=function(){return u(i(),"months")},a.monthsShort=function(){return u(i(),"monthsShort","months",3)},a.weekdays=function(f){return u(i(),"weekdays",null,null,f)},a.weekdaysShort=function(f){return u(i(),"weekdaysShort","weekdays",3,f)},a.weekdaysMin=function(f){return u(i(),"weekdaysMin","weekdays",2,f)}}}))})),Yc=pt(((e,n)=>{(function(l,r){typeof e=="object"&&typeof n<"u"?n.exports=r():typeof define=="function"&&define.amd?define(r):(l=typeof globalThis<"u"?globalThis:l||self).dayjs_plugin_weekOfYear=r()})(e,(function(){"use strict";var l="week",r="year";return function(a,o,s){var u=o.prototype;u.week=function(i){if(i===void 0&&(i=null),i!==null)return this.add(7*(i-this.week()),"day");var h=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var c=s(this).startOf(r).add(1,r).date(h),f=s(this).endOf(l);if(c.isBefore(f))return 1}var m=s(this).startOf(r).date(h).startOf(l).subtract(1,"millisecond"),$=this.diff(m,l,!0);return $<0?s(this).startOf("week").week():Math.ceil($)},u.weeks=function(i){return i===void 0&&(i=null),this.week(i)}}}))})),Uc=pt(((e,n)=>{(function(l,r){typeof e=="object"&&typeof n<"u"?n.exports=r():typeof define=="function"&&define.amd?define(r):(l=typeof globalThis<"u"?globalThis:l||self).dayjs_plugin_weekYear=r()})(e,(function(){"use strict";return function(l,r){r.prototype.weekYear=function(){var a=this.month(),o=this.week(),s=this.year();return o===1&&a===11?s+1:a===0&&o>=52?s-1:s}}}))})),Gc=pt(((e,n)=>{(function(l,r){typeof e=="object"&&typeof n<"u"?n.exports=r():typeof define=="function"&&define.amd?define(r):(l=typeof globalThis<"u"?globalThis:l||self).dayjs_plugin_dayOfYear=r()})(e,(function(){"use strict";return function(l,r,a){r.prototype.dayOfYear=function(o){var s=Math.round((a(this).startOf("day")-a(this).startOf("year"))/864e5)+1;return o==null?s:this.add(o-s,"day")}}}))})),Xc=pt(((e,n)=>{(function(l,r){typeof e=="object"&&typeof n<"u"?n.exports=r():typeof define=="function"&&define.amd?define(r):(l=typeof globalThis<"u"?globalThis:l||self).dayjs_plugin_isSameOrAfter=r()})(e,(function(){"use strict";return function(l,r){r.prototype.isSameOrAfter=function(a,o){return this.isSame(a,o)||this.isAfter(a,o)}}}))})),Qc=pt(((e,n)=>{(function(l,r){typeof e=="object"&&typeof n<"u"?n.exports=r():typeof define=="function"&&define.amd?define(r):(l=typeof globalThis<"u"?globalThis:l||self).dayjs_plugin_isSameOrBefore=r()})(e,(function(){"use strict";return function(l,r){r.prototype.isSameOrBefore=function(a,o){return this.isSame(a,o)||this.isBefore(a,o)}}}))})),mt=vt(jc(),1),Zc=vt(Kc(),1),Jc=vt(Hc(),1),ef=vt(Wc(),1),tf=vt(Yc(),1),nf=vt(Uc(),1),af=vt(Gc(),1),lf=vt(Xc(),1),rf=vt(Qc(),1);mt.default.extend(ef.default),mt.default.extend(Jc.default),mt.default.extend(Zc.default),mt.default.extend(tf.default),mt.default.extend(nf.default),mt.default.extend(af.default),mt.default.extend(lf.default),mt.default.extend(rf.default);var dt={format(e,n="YYYY-MM-DD"){return(0,mt.default)(e).format(n)},parser(e,n){return(0,mt.default)(e,n).toDate()},getDay(e,n,l){let r=n??new Date;const a=e*864e5;return r=new Date(r.getTime()+a),l=l??"YYYY-MM-DD",this.format(r,l)},isLeapYear(e){return e%4==0&&e%100!=0||e%400==0},getWhatDay(e,n,l){let r=new Date(e+"/"+n+"/"+l).getDay();return r==0&&(r=7),r},getMonthDays(e,n){return/^0/.test(n)&&(n=n.split("")[1]),[0,31,this.isLeapYear(Number(e))?29:28,31,30,31,30,31,31,30,31,30,31][n]},getNumTwoBit(e){return e=Number(e),(e>9?"":"0")+e},date2Str:function(e,n){return n=n||"-",[e.getFullYear(),this.getNumTwoBit(e.getMonth()+1),this.getNumTwoBit(e.getDate())].join(n)},compare(e,n,l){const r=typeof e=="string"?this.parser(e,l):e,a=typeof n=="string"?this.parser(n,l):n,o=r.getTime(),s=a.getTime();return o==s?0:o>s?1:-1},between(e,n,l,r){let a;r==="year"?a=new Date(new Date(n).setFullYear(n.getFullYear()+l)):r==="month"?a=new Date(new Date(n).setMonth(n.getMonth()+l)):a=new Date(new Date(n).setDate(n.getDate()+l));const o=e.getTime(),s=a.getTime(),u=n.getTime();return s>u?o>=u&&o<=s:o>=s&&o<=u},inScope4Day(e,n,l){return this.between(e,n,l,"day")},inScope4Month(e,n,l){return this.between(e,n,l,"month")},inScope4Year(e,n,l){return this.between(e,n,l,"year")}},mo={type:{type:[String],required:!1},modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1},placeholder:{type:[String],required:!1},valueFormat:{type:[String],required:!1},format:{type:[String],required:!1,default:"YYYY-MM-DD"},flashFill:{type:[Boolean],required:!1,default:!0},flashFillThreshold:{type:[Function,Number],required:!1,default:8},flashFillFormat:{type:[Function,String],required:!1,default:"YYYYMMDD"},rangeSeparator:{type:[String],required:!1},maxLength:{type:[String,Number]},editable:{type:[String,Boolean],default:()=>!1}},go={isLongTerm:{type:[Boolean,String],required:!1,default:!1},longTermText:{type:[String],required:!1},longTermActionLabel:{type:[String],required:!1},longTerm:{type:[Boolean],required:!1,default:!1},longTermValue:{type:[Date,Number,String,Array],required:!1},compatibleLongTermValue:{type:[Date,Number,String,Array],required:!1}},of={...Be,..._e,...mo,...go};function sf(e,n,l,r){return{props:of,emits:["change","update:modelValue","update:longTerm","blur","focus","clear","visible-change","calendar-change","panel-change","setValue"],setup(a,o){const{itemTemplateRef:s,innerDisabled:u,disabled:i,innerReadonly:h,readonly:c,browse:f}=We(a),{emitEvent:m,exposeApi:$}=Le({componentName:e,validateCheckEvents:["blur","update:modelValue"],get readonly(){return c.value},get disabled(){return i.value},get props(){return a},context:o,get templateRefProxy(){return s.value}},a.prop??o.attrs.name),{toLocaleRefs:k}=(0,Pe.useFoxI18n)(n),p=k(a,["placeholder"]),g=(0,t.ref)(!1),y=Ve(a,"modelValue",null,m),b=(0,t.computed)(()=>Z.value&&Array.isArray(y.value)&&y.value.length==2?y.value[0]:y.value),E=(0,t.computed)(()=>Z.value?"longTermKey":"normalKey"),d=S=>{if(Z.value&&a.type==="daterange"){const w=[...y.value];w[0]=S,y.value=w}else y.value=S;m("update:modelValue",y.value),m("change",y.value)},C=(0,t.computed)(()=>Z.value&&a.type==="daterange"?"date":a.type),N=Ce(a.isLongTerm),D=e,Y=(0,t.computed)(()=>({[`${D}`]:!0,"is-long":Z.value,readonly:c.value,disabled:i.value,"has-append":N})),P=(0,t.computed)(()=>({[`${D}__content`]:!0}));let q=Ve(a,"hintText"),T=(0,t.ref)(!1);const R=S=>{let w=S.target.value;g.value=!0,ke(q.value)||(T.value=!0),m("focus",w,S)},_=S=>{setTimeout(()=>{T.value&&(T.value=!1),g.value=!1},0);let w=S.target.value;a.maxLength&&w.length>Number(a.maxLength)&&(w=w.slice(0,Number(a.maxLength))),m("blur",w,S)},x=()=>{m("clear","")},K=S=>{m("calendar-change",S)},M=(S,w,G)=>{m("panel-change",S,w,G)},L=S=>{m("visible-change",S)},j=qe((0,t.computed)(()=>a.longTermText),"longTermText",st.Near),B=qe((0,t.computed)(()=>a.longTermActionLabel),"longTermActionLabel",st.Near),H=qe((0,t.computed)(()=>a.longTermValue),"longTermValue",st.Near);qe((0,t.computed)(()=>a.compatibleLongTermValue),"compatibleLongTermValue",st.Near);let ee=null;const Z=(0,t.ref)(Ce(a.longTerm)),J=S=>{const w=[Array.isArray(S)?S[0]:S];return Array.isArray(H.value)?w[1]=H.value[1]??H.value[0]:w[1]=Z.value,w[0]||(w[0]=a.valueFormat?dt.format(new Date,a.valueFormat):new Date),w[1]||(w[1]=a.valueFormat?dt.format(new Date,a.valueFormat):new Date),w},W=S=>{if(Z.value=S,m("update:longTerm",S),S){ee=y.value;const w=J(y.value);a.type==="daterange"?y.value=w:y.value=w[1],m("update:modelValue",y.value)}else y.value=ee,m("update:modelValue",y.value),setTimeout(()=>{fe()},100)};if(N){const S=()=>{if(Z.value===!0){ee=y.value;const w=J(y.value);a.type==="daterange"?y.value=w:y.value=w[1],m("update:modelValue",y.value)}else Qe(H.value,y.value)&&(Z.value=!0)};S(),(0,t.watch)([()=>a.longTerm],([w])=>{Z.value!==w&&S()})}const V=(0,t.computed)(()=>({"fox-date-item__long":!0,"is-active":g.value})),O=(0,t.ref)(),ne=/^\d+$/,ie=(S,w)=>typeof a.flashFillThreshold=="function"?a.flashFillThreshold(S,w):ne.test(S)&&S.length===a.flashFillThreshold,Q=(S,w)=>{let G;if(typeof a.flashFillFormat=="function")G=a.flashFillFormat(S,w);else{const F=a.flashFillFormat??"YYYYMMDD";G=dt.parser(S,F)}const te=a.valueFormat??"YYYY-MM-DD";return dt.format(G,te)},A=S=>S?S.endsWith("range"):!1,X=S=>{if(!S.target)return;const w=S.target.value??"";if(ie(w,a.type)){const G=Q(w,a.type);if(A(a.type)){const te=Array.isArray(y.value)?[...y.value]:[];te[0]=G,d(te)}else d(G)}},oe=S=>{if(!S.target)return;const w=S.target.value??"";if(ie(w,a.type)){const G=Q(w,a.type);if(A(a.type)){const te=Array.isArray(y.value)?[...y.value]:[];te[1]=G,d(te)}else d(G)}},fe=()=>{if(a.flashFill&&s.value&&s.value.$el)if(A(a.type)){const S=s.value.$el.querySelectorAll("input.el-range-input");S[0]&&S[0].addEventListener("input",X),S[1]&&S[1].addEventListener("input",oe)}else{const S=s.value.$el.querySelector("input.el-input__inner");S&&S.addEventListener("input",X)}},re=()=>{if(a.flashFill&&s.value&&s.value.$el)if(A(a.type)){const S=s.value.$el.querySelectorAll("input.el-range-input");S[0]&&S[0].removeEventListener("input",X),S[1]&&S[1].removeEventListener("input",oe)}else{const S=s.value.$el.querySelector("input.el-input__inner");S&&S.removeEventListener("input",X)}};(0,t.onMounted)(fe),(0,t.onBeforeUnmount)(re),$({focus:()=>{O?.value.focus()},blur:()=>{O?.value.blur()},handleOpen:()=>{O?.value.handleOpen()},handleClose:()=>{O?.value.handleClose()},setDisabled:S=>{u.value=S},setReadonly:S=>{h.value=S}});const U=(0,t.computed)(()=>{if(Oe(b.value))return"";const S=a.rangeSeparator??" - ",w=Array.isArray(b.value)?b.value:[b.value];N&&Z.value&&(w[1]=j.value);const G=[];for(let F=0;F<w.length;F++){const z=w[F];if(typeof z=="string"&&G.push(z),z instanceof Date){const ae=dt.format(z,a.format);G.push(ae)}}const te=` ${S} `;return G.join(te)});return()=>{if(f.value==="on"&&(c.value||i.value))return r({modelValue:U.value,span:a.span,labelPosition:a.labelPosition,labelWidth:a.labelWidth},o.slots);const S=i.value||c.value?"":p.placeholder.value,w={...o.attrs,key:E.value,type:C.value,ref:O,class:P.value,placeholder:S,rangeSeparator:a.rangeSeparator,disabled:i.value,readonly:c.value,modelValue:b.value,valueFormat:a.valueFormat,format:a.format,editable:a.editable,"onUpdate:modelValue":d,onClear:x,onFocus:R,onBlur:_,onCalendarChange:K,onPanelChange:M,onVisibleChange:L},G={};o.slots["range-separator"]&&(G["range-separator"]=o.slots["range-separator"]),o.slots.cell&&(G.default=o.slots.cell);const te=[],F=(0,t.h)(I.ElDatePicker,w,G);te.push(F);const z={default:()=>te};if(z.label=o.slots.default,z.fixedPreTip=o.slots.fixedPreTip,z.fixedTip=o.slots.fixedTip,o.slots.prepend&&(z.prepend=o.slots.prepend),o.slots.append&&(z.append=o.slots.append),N){if(Z.value){const le=(0,t.h)("input",{class:["fox-date-item__long-text"],value:j.value,readonly:!0}),se={class:V.value};if(a.type==="daterange"){const ce=(0,t.h)("span",{class:["fox-date-item__long-splitor"]},["-"]),me=(0,t.h)("div",se,{default:()=>[ce,le]});te.push(me)}else{te.splice(0,te.length);const ce=(0,t.h)("div",se,{default:()=>[le]});te.push(ce)}}if(!c.value&&!i.value){const le={label:B.value||j.value,disabled:c.value||i.value,modelValue:Z.value,"onUpdate:modelValue":W},se=(0,t.h)(I.ElCheckbox,le),ce=(0,t.h)("div",{class:{[`${D}__append`]:!0}},[se]);z.append=()=>ce}}const ae={...Me(a,mo,go),ref:s,class:Y.value,hintText:q.value,hintVisible:T.value};return a.prop&&(ae.prop=`${a.prop}_item`),l(ae,z)}}}}var{componentName:uf,create:cf,scope:ff}=ge("date-item"),df=cf(sf(uf,ff,Ye,Ze)),ll=df,we={format(e,n="YYYY-MM-DD"){return dt.format(e,n)},parser(e,n){return dt.parser(e,n)},isLeapYear:function(e){return dt.isLeapYear(e)},getWhatDay:function(e,n,l){return["星期日","星期一","星期二","星期三","星期四","星期五","星期六"][new Date(e+"/"+n+"/"+l).getDay()]},getMonthPreDay:function(e,n){let l=new Date(e+"/"+n+"/01").getDay();return l==0&&(l=7),l},getMonthDays:function(e,n){return/^0/.test(n)&&(n=n.split("")[1]),[0,31,this.isLeapYear(Number(e))?29:28,31,30,31,30,31,31,30,31,30,31][n]},getNumTwoBit:function(e){return e=Number(e),(e>9?"":"0")+e},date2Str:function(e,n){return n=n||"-",[e.getFullYear(),this.getNumTwoBit(e.getMonth()+1),this.getNumTwoBit(e.getDate())].join(n)},getDay:function(e){e=e||0;let n=new Date;const l=e*864e5;return n=new Date(n.getTime()+l),this.date2Str(n)},compareDate:function(e,n){return!(new Date(e.replace("-","/").replace("-","/"))>=new Date(n.replace("-","/").replace("-","/")))},isEqual:function(e,n){return new Date(e).getTime()==new Date(n).getTime()},getMonthWeek:function(e,n,l,r=0){const a=new Date(Number(e),parseInt(n)-1,Number(l));let o=a.getDay();const s=a.getDate();let u=6-o;return r!==0&&(o=o==0?7:o,u=7-o),Math.ceil((s+u)/7)},getYearWeek:function(e,n,l,r=0){const a=new Date(Number(e),parseInt(n)-1,Number(l)),o=new Date(Number(e),0,1),s=Math.round((a.valueOf()-o.valueOf())/864e5);return Math.ceil((s+(o.getDay()+1-1))/7)},getWeekDate:function(e,n,l,r=0){const a=new Date(Number(e),parseInt(n)-1,Number(l)),o=a.getTime();let s=a.getDay();if(r===0){const i=o-s*864e5,h=o+(6-s)*864e5;return[this.date2Str(new Date(i)),this.date2Str(new Date(h))]}else{s=s==0?7:s;const u=864e5,i=o-(s-1)*u,h=o+(7-s)*u;return[this.date2Str(new Date(i)),this.date2Str(new Date(h))]}},formatResultDate:function(e){const n=[...e.split("-")];return n[2]=we.getNumTwoBit(Number(n[2])),n[3]=`${n[0]}-${n[1]}-${n[2]}`,n[4]=we.getWhatDay(+n[0],+n[1],+n[2]),n}},hf=e=>!!(!e||typeof e=="string"&&e.length==0||Array.isArray(e)&&e.length==0),rl={type:{type:String,default:"one"},isAutoBackFill:{type:Boolean,default:!1},toDateAnimation:{type:Boolean,default:!0},poppable:{type:Boolean,default:!0},showTitle:{type:Boolean,default:!0},showSubTitle:{type:Boolean,default:!0},visible:{type:Boolean,default:!1},showToday:{type:Boolean,default:!0},title:{type:String},confirmText:{type:String},startText:{type:String},endText:{type:String},defaultValue:{type:[String,Array]},startDate:{type:String},endDate:{type:String},firstDayOfWeek:{type:Number,default:0,validator:e=>e>=0&&e<=6},popClass:{type:String},popStyle:{type:Object}},mf=2e3,yo=()=>mf++,ol={visible:{type:Boolean,default:!1},zIndex:{type:[String,Number]},duration:{type:[Number,String],default:.3},lockScroll:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0},position:{type:String,default:"center"},transition:{type:String,default:""},style:{type:Object,default:{}},popClass:{type:[String,Array],default:""},closeable:{type:Boolean,default:!1},closeIconPosition:{type:String,default:"top-right"},destroyOnClose:{type:Boolean,default:!0},teleport:{type:[String,Element],default:"body"},teleportDisable:{type:Boolean,default:!1},overlay:{type:Boolean,default:!0},round:{type:Boolean,default:!1},safeAreaInsetBottom:{type:Boolean,default:!1},overlayClass:{type:String,default:""},overlayStyle:{type:Object,default:{}}},gf=(e,n)=>({components:n,props:ol,emits:["click-pop","click-close-icon","open","close","opend","closed","click-overlay","update:visible"],setup(l,{emit:r}){const a=(0,t.reactive)({zIndex:0,showSlot:!0,closed:l.closeable});l.visible&&(a.zIndex=yo());const o=(0,t.computed)(()=>{const p=e,g=[p,`${p}--${l.position}`];return l.round&&g.push("round"),l.position==="bottom"&&l.safeAreaInsetBottom&&g.push(`${p}--${l.position}--safebottom`),typeof l.popClass=="string"?g.push(l.popClass):Array.isArray(l.popClass)&&l.popClass.forEach(y=>{g.push(y)}),g}),s=(0,t.computed)(()=>({zIndex:a.zIndex,transitionDuration:`${l.duration}s`,...l.style})),u=(0,t.computed)(()=>l.transition?l.transition:`fox-popup-slide-${l.position}`),i=()=>{r("update:visible",!0),l.zIndex?a.zIndex=l.zIndex:a.zIndex=yo(),l.destroyOnClose&&(a.showSlot=!0),r("open")},h=()=>{r("update:visible",!1),r("close"),l.destroyOnClose&&setTimeout(()=>{a.showSlot=!1},+l.duration*1e3)},c=p=>{r("click-pop",p)},f=p=>{p.stopPropagation(),r("click-close-icon",p),r("update:visible",!1)},m=p=>{r("click-overlay",p),l.closeOnClickOverlay&&r("update:visible",!1)},$=p=>{r("opend",p)},k=p=>{r("closed",p)};return(0,t.watch)(()=>l.visible,p=>{l.visible?i():h()}),(0,t.watch)(()=>l.closeable,p=>{a.closed=p}),{...(0,t.toRefs)(a),popStyle:s,transitionName:u,classes:o,onClick:c,onClickCloseIcon:f,onClickOverlay:m,onOpened:$,onClosed:k}}}),yf={count:0},po="fox-overflow-hidden",vo=()=>Tt?document.body:{classList:[]},pf=(e,n)=>{const l=typeof n=="function"?{count:0}:yf;return[()=>{if(e())try{const o=typeof n=="function"?n():vo();!l.count&&o?.classList?.add?.(po),l.count++}catch{}},()=>{if(e()&&l.count)try{l.count--;const o=typeof n=="function"?n():vo();!l.count&&o?.classList?.remove?.(po)}catch{}}]},vf={visible:{type:Boolean,default:!1},zIndex:{type:[Number,String],default:2e3},duration:{type:[Number,String],default:.3},lockScroll:{type:Boolean,default:!0},overlayClass:{type:String,default:""},overlayStyle:{type:Object},closeOnClickOverlay:{type:Boolean,default:!0}},{componentName:bf,create:wf}=ge("overlay"),Sf=wf({props:{...vf},emits:["click","update:visible"],setup(e,{emit:n}){const[l,r]=pf(()=>e.lockScroll),a=(0,t.computed)(()=>({[bf]:!0,[e.overlayClass]:!0})),o=(0,t.computed)(()=>({transitionDuration:`${e.duration}s`,zIndex:e.zIndex,...e.overlayStyle}));return(0,t.watch)(()=>e.visible,u=>{u?l():r()}),{classes:a,style:o,onClick:u=>{n("click",u),e.closeOnClickOverlay&&n("update:visible",!1)}}}});function Cf(e,n,l,r,a,o){return(0,t.openBlock)(),(0,t.createBlock)(t.Transition,{name:"overlay-fade"},{default:(0,t.withCtx)(()=>[(0,t.withDirectives)((0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(e.classes),onClick:n[0]||(n[0]=(0,t.withModifiers)((...s)=>e.onClick&&e.onClick(...s),["stop"])),style:(0,t.normalizeStyle)(e.style)},[(0,t.renderSlot)(e.$slots,"default")],6),[[t.vShow,e.visible]])]),_:3})}var la=ze(Sf,[["render",Cf]]),Tf=["aria-labelledby"],xf=(0,t.defineComponent)({__name:"Uploader",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,r=n,a=i=>{r("click",i)},o=i=>{if(i)return isNaN(Number(i))?String(i):i+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),u=(0,t.computed)(()=>{let i={};return i.height=o(l.height)??o(l.size),i.width=o(l.width)??o(l.size),i.color=l.color,i});return(i,h)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(u.value),onClick:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...h[0]||=[(0,t.createElementVNode)("path",{d:"M960 572.8H64c-25.6 0-48-22.4-48-48s22.4-48 48-48h896c25.6 0 48 22.4 48 48s-22.4 48-48 48m-448 448c-25.6 0-48-22.4-48-48v-896c0-25.6 22.4-48 48-48s48 22.4 48 48v896c0 25.6-22.4 48-48 48",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Tf))}}),kf=["aria-labelledby"],bo=(0,t.defineComponent)({__name:"Tips",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,r=n,a=i=>{r("click",i)},o=i=>{if(i)return isNaN(Number(i))?String(i):i+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),u=(0,t.computed)(()=>{let i={};return i.height=o(l.height)??o(l.size),i.width=o(l.width)??o(l.size),i.color=l.color,i});return(i,h)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(u.value),onClick:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...h[0]||=[(0,t.createElementVNode)("path",{d:"M512 1024C230.4 1024 0 793.6 0 512S230.4 0 512 0s512 230.4 512 512-230.4 512-512 512m0-938.667c-234.667 0-426.667 192-426.667 426.667s192 426.667 426.667 426.667 426.667-192 426.667-426.667S746.667 85.333 512 85.333M448 320a64 64 0 1 0 128 0 64 64 0 1 0-128 0m-17.067 149.333h51.2c12.8 0 21.334 8.534 21.334 21.334v8.533c0 12.8-8.534 21.333-21.334 21.333h-51.2c-12.8 0-25.6-12.8-25.6-25.6s12.8-25.6 25.6-25.6m51.2 0H524.8c25.6 0 51.2 21.334 51.2 51.2v8.534L537.6 755.2c0 8.533-8.533 17.067-21.333 17.067H473.6c-25.6 0-51.2-21.334-51.2-51.2v-8.534L460.8 486.4c4.267-8.533 12.8-17.067 21.333-17.067m8.534 251.734h76.8c12.8 0 25.6 12.8 25.6 25.6s-12.8 25.6-25.6 25.6h-76.8c-12.8 0-21.334-8.534-21.334-21.334v-12.8c4.267-12.8 12.8-17.066 21.334-17.066",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,kf))}}),$f=["aria-labelledby"],Nf=(0,t.defineComponent)({__name:"Success",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,r=n,a=i=>{r("click",i)},o=i=>{if(i)return isNaN(Number(i))?String(i):i+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),u=(0,t.computed)(()=>{let i={};return i.height=o(l.height)??o(l.size),i.width=o(l.width)??o(l.size),i.color=l.color,i});return(i,h)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(u.value),onClick:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...h[0]||=[(0,t.createElementVNode)("path",{d:"M762.311 391.396C655.36 466.489 566.613 552.96 491.52 659.91c-20.48 27.307-61.44 27.307-79.644-2.275-34.134-52.338-72.818-91.023-125.156-125.156-25.031-15.929-9.102-54.613 20.48-50.062 56.889 11.378 100.124 34.133 143.36 72.818 77.369-93.298 175.218-166.116 286.72-213.903 27.307-9.102 50.062 31.858 25.031 50.063M512 1024C229.831 1024 0 794.169 0 512S229.831 0 512 0s512 229.831 512 512-229.831 512-512 512m0-955.733C266.24 68.267 68.267 266.24 68.267 512S266.24 955.733 512 955.733 955.733 757.76 955.733 512 757.76 68.267 512 68.267",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,$f))}}),Df=["aria-labelledby"],wo=(0,t.defineComponent)({__name:"Search2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,r=n,a=i=>{r("click",i)},o=i=>{if(i)return isNaN(Number(i))?String(i):i+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),u=(0,t.computed)(()=>{let i={};return i.height=o(l.height)??o(l.size),i.width=o(l.width)??o(l.size),i.color=l.color,i});return(i,h)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(u.value),onClick:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...h[0]||=[(0,t.createElementVNode)("path",{d:"M512 886.174c-216.965 0-395.508-178.543-395.508-395.508S295.035 95.16 512 95.16s395.507 178.543 395.507 395.507S728.964 886.174 512 886.174m0-723.214c-180.804 0-327.707 146.903-327.707 327.706S331.196 818.373 512 818.373 839.706 671.47 839.706 490.666 692.803 162.96 512 162.96m361.606 723.214c-9.04 0-18.08-2.26-24.86-9.04l-90.402-90.401c-13.56-13.56-13.56-33.9 0-47.46s33.901-13.562 47.461 0l90.401 90.4c13.561 13.56 13.561 33.901 0 47.461-4.52 6.78-13.56 9.04-22.6 9.04z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Df))}}),Ef=["aria-labelledby"],Pf=(0,t.defineComponent)({__name:"Right",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,r=n,a=i=>{r("click",i)},o=i=>{if(i)return isNaN(Number(i))?String(i):i+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),u=(0,t.computed)(()=>{let i={};return i.height=o(l.height)??o(l.size),i.width=o(l.width)??o(l.size),i.color=l.color,i});return(i,h)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(u.value),onClick:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...h[0]||=[(0,t.createElementVNode)("path",{d:"M381.262 1005.563c-16.132 21.51-45.708 24.198-67.216 8.066-21.51-16.132-24.198-45.708-8.066-67.217C413.526 806.602 518.384 666.79 625.932 529.67c8.066-10.755 8.066-24.198 0-34.953C518.384 354.905 413.526 215.093 305.98 77.972c-16.132-21.51-10.755-51.085 8.066-67.217C335.556-5.377 365.13 0 381.262 18.82c107.547 142.5 212.405 282.31 319.952 419.433 34.952 43.019 34.952 104.858 0 150.565C593.667 728.63 488.81 868.44 381.262 1005.562",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Ef))}}),Vf=["aria-labelledby"],If=(0,t.defineComponent)({__name:"MoreH",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,r=n,a=i=>{r("click",i)},o=i=>{if(i)return isNaN(Number(i))?String(i):i+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),u=(0,t.computed)(()=>{let i={};return i.height=o(l.height)??o(l.size),i.width=o(l.width)??o(l.size),i.color=l.color,i});return(i,h)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(u.value),onClick:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...h[0]||=[(0,t.createElementVNode)("path",{d:"M879.16 976.327H147.57c-26.966 0-48.925-21.845-48.925-48.924 0-26.966 21.846-48.925 48.925-48.925h731.59c26.966 0 48.925 21.846 48.925 48.925 0 26.965-21.959 48.924-48.924 48.924m0-829.667H147.57c-26.966 0-48.925-21.846-48.925-48.925 0-26.965 21.846-48.924 48.925-48.924h731.59c26.966 0 48.925 21.845 48.925 48.924s-21.959 48.925-48.924 48.925m0 403.456H147.57c-26.966 0-48.925-21.846-48.925-48.925 0-26.965 21.846-48.924 48.925-48.924h731.59c26.966 0 48.925 21.845 48.925 48.924 0 26.965-21.959 48.925-48.924 48.925",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Vf))}}),Af=["aria-labelledby"],pn=(0,t.defineComponent)({__name:"Loading",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,r=n,a=i=>{r("click",i)},o=i=>{if(i)return isNaN(Number(i))?String(i):i+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),u=(0,t.computed)(()=>{let i={};return i.height=o(l.height)??o(l.size),i.width=o(l.width)??o(l.size),i.color=l.color,i});return(i,h)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(u.value),onClick:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...h[0]||=[(0,t.createElementVNode)("path",{d:"M784 902.4c9.6 19.2 6.4 41.6-12.8 54.4-19.2 9.6-41.6 3.2-51.2-12.8-9.6-19.2-6.4-41.6 12.8-54.4 16-12.8 38.4-8 51.2 12.8M550.4 984c0 22.4-16 38.4-38.4 38.4s-38.4-16-38.4-38.4v-24c0-22.4 19.2-38.4 41.6-38.4 19.2 0 35.2 16 38.4 38.4v25.6h-3.2zm-240-43.2c-9.6 19.2-35.2 25.6-54.4 16s-25.6-35.2-16-51.2l28.8-51.2c9.6-19.2 35.2-25.6 54.4-16s25.6 35.2 12.8 54.4zM121.6 784c-19.2 9.6-41.6 3.2-54.4-16-9.6-19.2-6.4-41.6 12.8-54.4l76.8-44.8c19.2-9.6 41.6-3.2 54.4 16 9.6 19.2 3.2 41.6-16 54.4zM38.4 552C16 552 0 536 0 513.6s16-38.4 38.4-38.4H160c22.4 0 38.4 19.2 38.4 38.4 0 22.4-16 38.4-38.4 38.4zm44.8-241.6c-19.2-9.6-25.6-35.2-16-51.2 9.6-19.2 35.2-25.6 54.4-16L256 320c19.2 9.6 25.6 35.2 16 54.4s-35.2 25.6-54.4 16zm160-185.6 92.8 160c9.6 19.2 35.2 25.6 54.4 12.8s25.6-35.2 12.8-54.4l-92.8-160C297.6 64 275.2 60.8 256 70.4c-16 12.8-22.4 33.6-12.8 54.4M473.6 40c0-22.4 16-38.4 38.4-38.4s38.4 19.2 38.4 38.4v184c0 22.4-19.2 38.4-38.4 38.4-22.4 0-38.4-19.2-38.4-38.4zm240 43.2c9.6-19.2 35.2-25.6 54.4-16s25.6 35.2 16 51.2l-92.8 160c-9.6 19.2-35.2 25.6-54.4 16S611.2 259.2 624 240zm188.8 160-160 92.8c-19.2 9.6-25.6 35.2-16 54.4 12.8 19.2 35.2 25.6 54.4 12.8l160-92.8c19.2-9.6 25.6-35.2 12.8-54.4-9.6-16-32-25.6-51.2-12.8M985.6 472c22.4 0 38.4 16 38.4 38.4s-16 38.4-38.4 38.4H800c-22.4 0-38.4-19.2-38.4-38.4 0-22.4 19.2-38.4 38.4-38.4z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Af))}}),Bf=["aria-labelledby"],Of=(0,t.defineComponent)({__name:"Left",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,r=n,a=i=>{r("click",i)},o=i=>{if(i)return isNaN(Number(i))?String(i):i+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),u=(0,t.computed)(()=>{let i={};return i.height=o(l.height)??o(l.size),i.width=o(l.width)??o(l.size),i.color=l.color,i});return(i,h)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(u.value),onClick:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...h[0]||=[(0,t.createElementVNode)("path",{d:"M642.973 1005.542 321.912 587.098a123.28 123.28 0 0 1 0-150.17l321.06-418.443a47.182 47.182 0 0 1 74.83 57.422l-321.088 418.47a28.994 28.994 0 0 0 0 35.3l321.088 418.47a47.155 47.155 0 0 1-74.83 57.395",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Bf))}}),Rf=["aria-labelledby"],Ff=(0,t.defineComponent)({__name:"Failure",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,r=n,a=i=>{r("click",i)},o=i=>{if(i)return isNaN(Number(i))?String(i):i+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),u=(0,t.computed)(()=>{let i={};return i.height=o(l.height)??o(l.size),i.width=o(l.width)??o(l.size),i.color=l.color,i});return(i,h)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(u.value),onClick:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...h[0]||=[(0,t.createElementVNode)("path",{d:"M512 1024C229.831 1024 0 794.169 0 512S229.831 0 512 0s512 229.831 512 512-229.831 512-512 512m0-955.733C266.24 68.267 68.267 266.24 68.267 512S266.24 955.733 512 955.733 955.733 757.76 955.733 512 757.76 68.267 512 68.267m111.502 282.169c13.654-13.654 34.134-13.654 47.787 0 11.378 11.377 13.653 31.857 2.275 45.51l-2.275 2.276-111.502 111.502 111.502 111.503c13.653 13.653 13.653 34.133 0 47.786-13.653 13.654-34.133 13.654-47.787 0L512 557.511 400.498 669.013c-11.378 11.378-31.858 13.654-45.511 2.276l-2.276-2.276c-11.378-11.377-13.653-31.857-2.275-45.51l2.275-2.276 111.502-111.503-111.502-111.502c-13.653-13.653-13.653-34.133 0-47.786s34.133-13.654 47.787 0L512 461.938z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Rf))}}),Mf=["aria-labelledby"],vn=(0,t.defineComponent)({__name:"Close",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,r=n,a=i=>{r("click",i)},o=i=>{if(i)return isNaN(Number(i))?String(i):i+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),u=(0,t.computed)(()=>{let i={};return i.height=o(l.height)??o(l.size),i.width=o(l.width)??o(l.size),i.color=l.color,i});return(i,h)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(u.value),onClick:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1026 1024","aria-labelledby":e.name,role:"presentation"},[...h[0]||=[(0,t.createElementVNode)("path",{d:"M981.577 1024c-11.703 0-23.406-2.926-32.183-11.703L13.166 76.07c-14.629-17.555-14.629-46.812 0-64.366 17.554-14.629 46.811-14.629 64.365 0L1013.76 947.93c17.554 17.555 17.554 43.886 0 61.44-8.777 11.703-20.48 14.629-32.183 14.629zm-936.228 0c-11.703 0-23.406-2.926-32.183-11.703-17.555-17.554-17.555-43.886 0-61.44L949.394 14.63c17.555-17.555 43.886-17.555 61.44 0 17.555 17.554 17.555 43.885 0 61.44L74.606 1012.297C68.754 1021.074 57.05 1024 45.349 1024",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Mf))}}),Lf=["aria-labelledby"],So=(0,t.defineComponent)({__name:"Checklist",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,r=n,a=i=>{r("click",i)},o=i=>{if(i)return isNaN(Number(i))?String(i):i+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),u=(0,t.computed)(()=>{let i={};return i.height=o(l.height)??o(l.size),i.width=o(l.width)??o(l.size),i.color=l.color,i});return(i,h)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(u.value),onClick:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...h[0]||=[(0,t.createElementVNode)("path",{d:"M110.693 499.054c71.2 0 142.399 19.419 252.436 116.509 9.708 6.474 22.653 6.474 29.127 0 55.017-61.49 271.852-297.744 517.814-375.416 0 0 32.364-6.474 48.545 22.653 9.71 19.419 22.655 38.837-6.472 61.492-25.89 19.418-300.98 203.89-501.633 501.635l-3.237 3.235c-12.946 9.709-77.673 58.255-135.927-16.182-64.726-80.908-97.09-158.58-223.307-223.307-3.237 0-3.237-3.237-6.474-6.474-12.944-12.945-61.49-84.145 29.127-84.145z",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Lf))}}),_f=["aria-labelledby"],qf=(0,t.defineComponent)({__name:"Checked",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,r=n,a=i=>{r("click",i)},o=i=>{if(i)return isNaN(Number(i))?String(i):i+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),u=(0,t.computed)(()=>{let i={};return i.height=o(l.height)??o(l.size),i.width=o(l.width)??o(l.size),i.color=l.color,i});return(i,h)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(u.value),onClick:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...h[0]||=[(0,t.createElementVNode)("path",{d:"M512 0C230.4 0 0 230.4 0 512s230.4 512 512 512 512-230.4 512-512S793.6 0 512 0m281.6 369.778C779.378 381.156 600.178 500.622 472.178 691.2c0 0 0 2.844-2.845 2.844-8.533 5.69-48.355 36.978-88.177-8.533-39.823-51.2-62.578-99.555-142.223-142.222-2.844 0-2.844-2.845-2.844-2.845-8.533-11.377-39.822-56.888 19.911-56.888 45.511 0 91.022 11.377 162.133 73.955 5.69 5.689 14.223 5.689 17.067 0C469.333 517.69 608.711 366.933 768 318.578c0 0 19.911-2.845 31.289 14.222 5.689 11.378 11.378 22.756-5.689 36.978",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,_f))}}),zf=["aria-labelledby"],jf=(0,t.defineComponent)({__name:"CheckNormal",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,r=n,a=i=>{r("click",i)},o=i=>{if(i)return isNaN(Number(i))?String(i):i+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),u=(0,t.computed)(()=>{let i={};return i.height=o(l.height)??o(l.size),i.width=o(l.width)??o(l.size),i.color=l.color,i});return(i,h)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(u.value),onClick:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...h[0]||=[(0,t.createElementVNode)("path",{d:"M512 1024c-136.533 0-264.533-54.044-361.244-150.756C54.044 776.534 0 648.534 0 512c0-136.533 54.044-264.533 150.756-361.244C247.466 54.044 375.466 0 512 0c136.533 0 264.533 54.044 361.244 150.756C969.956 247.466 1024 375.466 1024 512s-54.044 264.533-150.756 361.244C776.534 969.956 648.534 1024 512 1024m0-938.667c-113.778 0-221.867 45.511-301.511 125.156S85.333 398.222 85.333 512s45.511 221.867 125.156 301.511S398.222 938.667 512 938.667s221.867-45.511 301.511-125.156S938.667 625.778 938.667 512 893.156 290.133 813.51 210.489 625.778 85.333 512 85.333",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,zf))}}),Kf=["aria-labelledby"],Hf=(0,t.defineComponent)({__name:"ArrowRight",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(e,{emit:n}){let l=e,r=n,a=i=>{r("click",i)},o=i=>{if(i)return isNaN(Number(i))?String(i):i+"px"},s=(0,t.computed)(()=>({"fox-icon":!0,["fox-icon-"+l.name]:l.name,[l.class]:!!l.class})),u=(0,t.computed)(()=>{let i={};return i.height=o(l.height)??o(l.size),i.width=o(l.width)??o(l.size),i.color=l.color,i});return(i,h)=>((0,t.openBlock)(),(0,t.createElementBlock)("svg",{class:(0,t.normalizeClass)(s.value),style:(0,t.normalizeStyle)(u.value),onClick:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},[...h[0]||=[(0,t.createElementVNode)("path",{d:"m387.547 980.846 305.006-397.532a117.1 117.1 0 0 0 0-142.628L387.584 43.154a44.837 44.837 0 0 0-71.131 54.492l305.042 397.568a27.54 27.54 0 0 1 0 33.572L316.489 926.318a44.8 44.8 0 0 0 71.058 54.564",fill:"currentColor","fill-opacity":"0.9"},null,-1)]],14,Kf))}}),{componentName:Wf,create:Yf}=ge("popup"),Uf=Yf(gf(Wf,{FoxOverLay:la,Close:vn}));function Gf(e,n,l,r,a,o){const s=(0,t.resolveComponent)("FoxOverLay"),u=(0,t.resolveComponent)("Close");return(0,t.openBlock)(),(0,t.createBlock)(t.Teleport,{to:e.teleport,disabled:e.teleportDisable},[e.overlay?((0,t.openBlock)(),(0,t.createBlock)(s,(0,t.mergeProps)({key:0,visible:e.visible,"close-on-click-overlay":e.closeOnClickOverlay,"z-index":e.zIndex,"lock-scroll":e.lockScroll,duration:e.duration,"overlay-class":e.overlayClass,"overlay-style":e.overlayStyle,onClick:e.onClickOverlay},e.$attrs),null,16,["visible","close-on-click-overlay","z-index","lock-scroll","duration","overlay-class","overlay-style","onClick"])):(0,t.createCommentVNode)("",!0),(0,t.createVNode)(t.Transition,{name:e.transitionName,onAfterEnter:e.onOpened,onAfterLeave:e.onClosed},{default:(0,t.withCtx)(()=>[(0,t.withDirectives)((0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(e.classes),style:(0,t.normalizeStyle)(e.popStyle),onClick:n[1]||(n[1]=(...i)=>e.onClick&&e.onClick(...i))},[e.showSlot?(0,t.renderSlot)(e.$slots,"default",{},void 0,void 0,0):(0,t.createCommentVNode)("",!0),e.closed?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:1,onClick:n[0]||(n[0]=(...i)=>e.onClickCloseIcon&&e.onClickCloseIcon(...i)),class:(0,t.normalizeClass)(["fox-popup__close-icon","fox-popup__close-icon--"+e.closeIconPosition])},[(0,t.renderSlot)(e.$slots,"close-icon",{},()=>[(0,t.createVNode)(u)])],2)):(0,t.createCommentVNode)("",!0)],6),[[t.vShow,e.visible]])]),_:3},8,["name","onAfterEnter","onAfterLeave"])],8,["to","disabled"])}var St=ze(Uf,[["render",Gf]]),{create:Xf,scope:Qf}=ge("calendar-pane"),Zf=Xf({props:{type:{type:String,default:"one"},valueFormat:{type:String,default:"YYYY-MM-DD"},isAutoBackFill:{type:Boolean,default:!1},toDateAnimation:{type:Boolean,default:!0},poppable:{type:Boolean,default:!0},showTitle:{type:Boolean,default:!0},showSubTitle:{type:Boolean,default:!0},showToday:{type:Boolean,default:!0},title:{type:String},confirmText:{type:String},startText:{type:String},endText:{type:String},defaultValue:{type:[String,Array],default:""},startDate:{type:String,default:we.getDay(0)},endDate:{type:String,default:we.getDay(365)},firstDayOfWeek:{type:Number,default:0}},emits:["choose","update","close","select"],setup(e,{emit:n,slots:l,expose:r}){const{toLocaleRefs:a,t:o}=(0,Pe.useFoxI18n)(Qf),s=a(e,["title","confirmText","startText","endText","today"]),u=(0,t.computed)(()=>({height:"39px"})),i=(0,t.computed)(()=>({height:"64px"})),h=JSON.parse(o("weekdays")),c=(0,t.ref)([...h.slice(e.firstDayOfWeek,7),...h.slice(0,e.firstDayOfWeek)]),f=(0,t.ref)(null),m=(0,t.ref)(null),$=(0,t.ref)(null),k=(0,t.ref)(null),p=(0,t.ref)(0),g=(0,t.computed)(()=>d.monthsData.slice(d.defaultRange[0],d.defaultRange[1])),y=(0,t.computed)(()=>l.btn),b=(0,t.computed)(()=>l["top-info"]),E=(0,t.computed)(()=>l["bottom-info"]),d=(0,t.reactive)({yearMonthTitle:"",defaultRange:[],currDate:"",propStartDate:"",propEndDate:"",unLoadPrev:!1,touchParams:{startY:0,endY:0,startTime:0,endTime:0,lastY:0,lastTime:0},transformY:0,translateY:0,scrollDistance:0,defaultData:[],chooseData:[],monthsData:[],dayPrefix:"fox-calendar__day",startData:"",endData:"",isRange:e.type==="range",timer:0,currentIndex:0,containerHeight:0,avgHeight:0,monthsNum:0}),C=A=>A.split("-"),N=A=>we.isEqual(d.currDate[0],A),D=A=>we.isEqual(d.currDate[1],A),Y=A=>d.currDate?.length>0?d.currDate?.some(X=>we.isEqual(X,A)):!1,P=(A,X)=>X.curData[0]+"-"+X.curData[1]+"-"+we.getNumTwoBit(+A.day),q=(A,X)=>{const oe=P(A,X),{type:fe}=e;return A.type=="curr"?we.isEqual(d.currDate,oe)||(fe=="range"||fe=="week")&&(N(oe)||D(oe))||fe=="multiple"&&Y(oe)?`${d.dayPrefix}--active`:d.propStartDate&&we.compareDate(oe,d.propStartDate)||d.propEndDate&&we.compareDate(d.propEndDate,oe)?`${d.dayPrefix}--disabled`:(fe=="range"||fe=="week")&&Array.isArray(d.currDate)&&Object.values(d.currDate).length==2&&we.compareDate(d.currDate[0],oe)&&we.compareDate(oe,d.currDate[1])?`${d.dayPrefix}--choose`:null:`${d.dayPrefix}--disabled`},T=()=>{const{type:A}=e;if(A=="range"&&d.chooseData.length==2||A!="range"){let X=d.chooseData.slice(0);A=="week"&&(X={weekDate:[_(d.chooseData[0]),_(d.chooseData[1])]}),n("choose",X),e.poppable&&n("update")}},R=(A,X,oe=!1)=>{if(q(A,X)!=`${d.dayPrefix}--disabled`){const{type:fe}=e;let[re,U]=X.curData,S=[...X.curData];if(S[2]=we.getNumTwoBit(Number(A.day)),S[3]=`${S[0]}-${S[1]}-${S[2]}`,S[4]=we.getWhatDay(+S[0],+S[1],+S[2]),fe=="multiple")if(d.currDate?.length>0){let w;d.currDate?.forEach((G,te)=>{G==S[3]&&(w=te)}),oe?d.chooseData.push([...S]):w!==void 0?(d.currDate.splice(w,1),d.chooseData.splice(w,1)):(d.currDate.push(S[3]),d.chooseData.push([...S]))}else d.currDate=[S[3]],d.chooseData=[[...S]];else if(fe=="range"){let w=Object.values(d.currDate).length;w==2||w==0?d.currDate=[S[3]]:we.compareDate(d.currDate[0],S[3])?Array.isArray(d.currDate)&&d.currDate.push(S[3]):Array.isArray(d.currDate)&&d.currDate.unshift(S[3]),d.chooseData.length==2||!d.chooseData.length?d.chooseData=[[...S]]:we.compareDate(d.chooseData[0][3],S[3])?d.chooseData=[...d.chooseData,[...S]]:d.chooseData=[[...S],...d.chooseData]}else if(fe=="week"){let w=we.getWeekDate(re,U,A.day,e.firstDayOfWeek);d.propStartDate&&we.compareDate(w[0],d.propStartDate)&&w.splice(0,1,d.propStartDate),d.propEndDate&&we.compareDate(d.propEndDate,w[1])&&w.splice(1,1,d.propEndDate),d.currDate=w,d.chooseData=[we.formatResultDate(w[0]),we.formatResultDate(w[1])]}else d.currDate=S[3],d.chooseData=[...S];if(!oe){let w=d.chooseData;fe=="week"&&(w={weekDate:[_(d.chooseData[0]),_(d.chooseData[1])]}),n("select",w),(e.isAutoBackFill||!e.poppable)&&T()}}},_=A=>{let[X,oe,fe]=A;return{date:A,monthWeekNum:we.getMonthWeek(X,oe,fe,e.firstDayOfWeek),yearWeekNum:we.getYearWeek(X,oe,fe,e.firstDayOfWeek)}},x=A=>{const X=A=="prev"?d.monthsData[0]:d.monthsData[d.monthsData.length-1];let oe=parseInt(X.curData[0]),fe=parseInt(X.curData[1].toString().replace(/^0/,""));switch(A){case"prev":fe==1&&(oe-=1),fe=fe==1?12:--fe;break;case"next":fe==12&&(oe+=1),fe=fe==12?1:++fe}return[oe+"",we.getNumTwoBit(fe),we.getMonthDays(String(oe),String(fe))+""]},K=(A,X,oe)=>{let{year:fe,month:re}=oe;return X=="prev"&&A>=7&&(A-=7),Array.from(Array(A),(U,S)=>({day:String(S+1),type:X,year:fe,month:re}))},M=(A,X,oe,fe)=>{A=A-e.firstDayOfWeek;let{year:re,month:U}=oe;return X=="prev"&&A>=7&&(A-=7),Array.from(Array(fe),(S,w)=>({day:String(w+1),type:X,year:re,month:U})).slice(fe-A)},L=(A,X)=>{const oe=we.getMonthPreDay(+A[0],+A[1]);let fe=Number(A[1])-1,re=Number(A[0]);fe<=0&&(fe=12,re+=1);const U=we.getMonthDays(String(A[0]),String(A[1])),S=we.getMonthDays(re+"",fe+""),w={year:A[0],month:A[1]},G={curData:A,title:o("monthTitle",{year:w.year,month:w.month}),monthData:[...M(oe,"prev",{month:String(fe),year:String(re)},S),...K(U,"curr",w)],cssHeight:0,cssScrollHeight:0},te=G.monthData.length>35?6:5;G.cssHeight=39+64*te;let F=0;d.monthsData.length>0&&(F=d.monthsData[d.monthsData.length-1].cssScrollHeight+d.monthsData[d.monthsData.length-1].cssHeight),G.cssScrollHeight=F,X=="next"?(!d.endData||!we.compareDate(`${d.endData[0]}-${d.endData[1]}-${we.getMonthDays(d.endData[0],d.endData[1])}`,`${A[0]}-${A[1]}-${A[2]}`))&&d.monthsData.push(G):!d.startData||!we.compareDate(`${A[0]}-${A[1]}-${A[2]}`,`${d.startData[0]}-${d.startData[1]}-01`)?d.monthsData.unshift(G):d.unLoadPrev=!0},j=()=>{let A=e.startDate?e.startDate:we.getDay(0),X=e.endDate?e.endDate:we.getDay(365);d.propStartDate=A,d.propEndDate=X,d.startData=C(A),d.endData=C(X),(e.defaultValue||Array.isArray(e.defaultValue)&&e.defaultValue.length>0)&&(d.currDate=e.type!=="one"?[...e.defaultValue]:e.defaultValue);const oe={year:Number(d.startData[0]),month:Number(d.startData[1])},fe={year:Number(d.endData[0]),month:Number(d.endData[1])};let re=fe.month-oe.month;fe.year-oe.year>0&&(re=re+12*(fe.year-oe.year)),re<=0&&(re=1),L(d.startData,"next");let U=1;do L(x("next"),"next");while(U++<re);if(d.monthsNum=re,e.type=="range"&&Array.isArray(d.currDate))d.currDate.length>0&&(A&&we.compareDate(d.currDate[0],A)&&d.currDate.splice(0,1,A),X&&we.compareDate(X,d.currDate[1])&&d.currDate.splice(1,1,X),d.defaultData=[...C(d.currDate[0]),...C(d.currDate[1])]);else if(e.type=="multiple"&&Array.isArray(d.currDate)){if(d.currDate.length>0){let S=[],w={};d.currDate.forEach(G=>{A&&!we.compareDate(G,A)&&X&&!we.compareDate(X,G)&&(Object.hasOwnProperty.call(w,G)||(S.push(G),w[G]=G))}),d.currDate=[...S],d.defaultData=[...C(S[0])]}}else if(e.type=="week"&&Array.isArray(d.currDate)){if(d.currDate.length>0){let[S,w,G]=C(d.currDate[0]),te=we.getWeekDate(S,w,G,e.firstDayOfWeek);d.currDate=te,A&&we.compareDate(d.currDate[0],A)&&d.currDate.splice(0,1,A),X&&we.compareDate(X,d.currDate[1])&&d.currDate.splice(1,1,X),d.defaultData=[...C(d.currDate[0]),...C(d.currDate[1])]}}else d.currDate&&(A&&we.compareDate(d.currDate,A)?d.currDate=A:X&&!we.compareDate(d.currDate,X)&&(d.currDate=X),d.defaultData=[...C(d.currDate)])};r({scrollToDate:A=>{we.compareDate(A,d.propStartDate)?A=d.propStartDate:we.compareDate(A,d.propEndDate)||(A=d.propEndDate);let X=C(A);d.monthsData.forEach((oe,fe)=>{if(oe.title==o("monthTitle",{year:X[0],month:X[1]})&&f.value){let re=d.monthsData[fe].cssScrollHeight-f.value.scrollTop;if(e.toDateAnimation){let U=0,S=setInterval(()=>{if(U++,f.value){let w=re/10;f.value.scrollTop=f.value.scrollTop+w}U>=10&&(clearInterval(S),f.value&&(f.value.scrollTop=d.monthsData[fe].cssScrollHeight))},40)}else f.value.scrollTop=d.monthsData[fe].cssScrollHeight}})},initPosition:()=>{f?.value&&(f.value.scrollTop=d.monthsData[d.currentIndex].cssScrollHeight)},doLayout:()=>{let A=0,X=0;d.defaultData.length>0&&d.monthsData.forEach((re,U)=>{re.title==o("monthTitle",{year:d.defaultData[0],month:d.defaultData[1]})&&(A=U),(e.type=="range"||e.type=="week")&&re.title==o("monthTitle",{year:d.defaultData[3],month:d.defaultData[4]})&&(X=U)}),Z(d.monthsNum,A),d.currentIndex=A,d.yearMonthTitle=d.monthsData[d.currentIndex].title,d.defaultData.length>0&&(d.isRange?(R({day:d.defaultData[2],type:"curr"},d.monthsData[d.currentIndex],!0),R({day:d.defaultData[5],type:"curr"},d.monthsData[X],!0)):e.type=="week"?R({day:d.defaultData[2],type:"curr"},d.monthsData[d.currentIndex],!0):e.type=="multiple"?[...d.currDate].forEach(re=>{let U=C(re),S=d.currentIndex;d.monthsData.forEach((w,G)=>{w.title==o("monthTitle",{year:U[0],month:U[1]})&&(S=G)}),R({day:U[2],type:"curr"},d.monthsData[S],!0)}):R({day:d.defaultData[2],type:"curr"},d.monthsData[d.currentIndex],!0));let oe=d.monthsData[d.monthsData.length-1],fe=oe.cssHeight+oe.cssScrollHeight;wa(()=>{f?.value&&m?.value&&k?.value&&(p.value=f.value.clientHeight,m.value.style.height=`${fe}px`,f.value.scrollTop=d.monthsData[d.currentIndex].cssScrollHeight)}),d.avgHeight=Math.floor(fe/(d.monthsNum+1))}});const Z=(A,X)=>{A>=3?X>0&&X<A?d.defaultRange=[X-1,X+3]:X==0?d.defaultRange=[X,X+4]:X==A&&(d.defaultRange=[X-2,X+2]):d.defaultRange=[0,A+2];let oe=d.monthsData[d.defaultRange[0]].cssScrollHeight;d.translateY=oe},J=(A,X)=>(e.type=="range"||e.type=="week")&&A.type=="curr"&&q(A,X)=="fox-calendar__day--active",W=(A,X)=>J(A,X)&&N(P(A,X)),V=(A,X)=>d.currDate.length>=2&&D(P(A,X))?J(A,X):!1,O=()=>{if(d.currDate.length>=2)return we.isEqual(d.currDate[0],d.currDate[1])},ne=A=>{const X=`${A.year}-${A.month}-${Number(A.day)<10?"0"+A.day:A.day}`;return we.isEqual(X,we.date2Str(new Date))},ie=A=>{if(d.monthsData.length<=1)return;const X=A.target.scrollTop;let oe=Math.floor(X/d.avgHeight);if(oe==0)X>=d.monthsData[oe+1].cssScrollHeight&&(oe+=1);else if(oe>0&&oe<d.monthsNum-1)X>=d.monthsData[oe+1].cssScrollHeight&&(oe+=1),X<d.monthsData[oe].cssScrollHeight&&(oe-=1);else{const fe=Math.round(X+p.value);fe<d.monthsData[oe].cssScrollHeight+d.monthsData[oe].cssHeight&&X>d.monthsData[oe-1].cssScrollHeight&&(oe-=1),oe+1<=d.monthsNum&&fe>=d.monthsData[oe+1].cssScrollHeight+d.monthsData[oe+1].cssHeight&&(oe+=1),oe>=1&&X<d.monthsData[oe-1].cssScrollHeight&&(oe-=1)}d.currentIndex!==oe&&(d.currentIndex=oe,Z(d.monthsNum,oe)),d.yearMonthTitle=d.monthsData[oe].title},Q=()=>{d.chooseData.splice(0),d.monthsData.splice(0),j()};return j(),(0,t.watch)(()=>e.defaultValue,A=>{A&&e.poppable&&Q()}),{dayTitleStyle:u,dayCellStyle:i,weeks:c,compConthsData:g,showTopBtn:y,topInfo:b,bottomInfo:E,rangeTip:O,mothsViewScroll:ie,getClass:q,isStartTip:W,isEndTip:V,chooseDay:R,isCurrDay:ne,confirm:T,months:f,...(0,t.toRefs)(d),...(0,t.toRefs)(e),...s,monthsPanel:m,weeksPanel:$,viewArea:k}}}),Jf={class:"fox-calendar__header"},ed={key:0,class:"fox-calendar__header-title"},td={key:1,class:"fox-calendar__header-slot"},nd={key:2,class:"fox-calendar__header-subtitle"},ad={class:"fox-calendar__weekdays",ref:"weeksPanel"},ld={class:"fox-calendar__panel",ref:"monthsPanel"},rd={class:"fox-calendar__days"},od=["onClick"],id={class:"fox-calendar__day-value"},sd={key:0,class:"fox-calendar__day-tips fox-calendar__day-tips--top"},ud={key:1,class:"fox-calendar__day-tips fox-calendar__day-tips--bottom"},cd={key:2,class:"fox-calendar__day-tips--curr"},fd={key:4,class:"fox-calendar__day-tip"},dd={key:0,class:"fox-calendar__footer"};function hd(e,n,l,r,a,o){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(["fox-calendar",{"fox-calendar--nopop":!e.poppable,"fox-calendar--nofooter":e.isAutoBackFill}])},[(0,t.createElementVNode)("view",Jf,[e.showTitle?((0,t.openBlock)(),(0,t.createElementBlock)("view",ed,(0,t.toDisplayString)(e.title),1)):(0,t.createCommentVNode)("",!0),e.showTopBtn?((0,t.openBlock)(),(0,t.createElementBlock)("view",td,[(0,t.renderSlot)(e.$slots,"btn")])):(0,t.createCommentVNode)("",!0),e.showSubTitle?((0,t.openBlock)(),(0,t.createElementBlock)("view",nd,(0,t.toDisplayString)(e.yearMonthTitle),1)):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",ad,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.weeks,(s,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:"fox-calendar__weekday",key:u},(0,t.toDisplayString)(s),1))),128))],512)]),(0,t.createElementVNode)("view",{class:"fox-calendar__content",ref:"months",onScroll:n[0]||(n[0]=(...s)=>e.mothsViewScroll&&e.mothsViewScroll(...s))},[(0,t.createElementVNode)("view",ld,[(0,t.createElementVNode)("view",{class:"fox-calendar__body",ref:"viewArea",style:(0,t.normalizeStyle)({transform:`translateY(${e.translateY}px)`})},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.compConthsData,(s,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:"fox-calendar__month",key:u},[(0,t.createElementVNode)("view",{class:"fox-calendar__month-title",style:(0,t.normalizeStyle)(e.dayTitleStyle)},(0,t.toDisplayString)(s.title),5),(0,t.createElementVNode)("view",rd,[(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(["fox-calendar__days-item",e.type==="range"?"fox-calendar__days-item--range":""])},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(s.monthData,(i,h)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:h,class:(0,t.normalizeClass)(["fox-calendar__day",e.getClass(i,s)]),style:(0,t.normalizeStyle)(e.dayCellStyle),onClick:c=>e.chooseDay(i,s)},[(0,t.createElementVNode)("view",id,[(0,t.renderSlot)(e.$slots,"day",{date:i.type=="curr"?i:""},()=>[(0,t.createTextVNode)((0,t.toDisplayString)(i.type=="curr"?i.day:""),1)])]),e.topInfo?((0,t.openBlock)(),(0,t.createElementBlock)("view",sd,[(0,t.renderSlot)(e.$slots,"top-info",{date:i.type=="curr"?i:""})])):(0,t.createCommentVNode)("",!0),e.bottomInfo?((0,t.openBlock)(),(0,t.createElementBlock)("view",ud,[(0,t.renderSlot)(e.$slots,"bottom-info",{date:i.type=="curr"?i:""})])):(0,t.createCommentVNode)("",!0),!e.bottomInfo&&e.showToday&&e.isCurrDay(i)?((0,t.openBlock)(),(0,t.createElementBlock)("view",cd,(0,t.toDisplayString)(e.today),1)):(0,t.createCommentVNode)("",!0),e.isStartTip(i,s)?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:3,class:(0,t.normalizeClass)(["fox-calendar__day-tip",{"fox-calendar__day-tips--top":e.rangeTip()}])},(0,t.toDisplayString)(e.startText),3)):(0,t.createCommentVNode)("",!0),e.isEndTip(i,s)?((0,t.openBlock)(),(0,t.createElementBlock)("view",fd,(0,t.toDisplayString)(e.endText),1)):(0,t.createCommentVNode)("",!0)],14,od))),128))],2)])]))),128))],4)],512)],544),e.poppable&&!e.isAutoBackFill?((0,t.openBlock)(),(0,t.createElementBlock)("view",dd,[(0,t.createElementVNode)("view",{class:"fox-calendar__confirm",onClick:n[1]||(n[1]=(...s)=>e.confirm&&e.confirm(...s))},(0,t.toDisplayString)(e.confirmText),1)])):(0,t.createCommentVNode)("",!0)],2)}var md=ze(Zf,[["render",hd]]),{create:gd}=ge("calendar-picker"),yd=gd({components:{CalendarPane:md,Popup:St},props:{...rl},emits:["choose","close","update:visible","select"],setup(e,{emit:n,slots:l,expose:r}){const a=(0,t.computed)(()=>l.btn),o=(0,t.computed)(()=>l["top-info"]),s=(0,t.computed)(()=>l.day),u=(0,t.computed)(()=>l["bottom-info"]),i=(0,t.ref)(null),h=y=>{i.value?.scrollToDate(y)},c=()=>{i.value?.initPosition()},f=(0,t.computed)(()=>{const y=["fox-calendar__popup"];return e.popClass&&y.push(e.popClass),y});(0,t.watch)(()=>e.visible,y=>{y&&(0,t.nextTick)(()=>{i.value?i.value.doLayout():setTimeout(()=>{i.value&&i.value.doLayout()},250)})}),r({scrollToDate:h,initPosition:c});const m=()=>{n("update:visible",!1)},$=()=>{n("close"),n("update:visible",!1)};return{popClasses:f,closePopup:()=>{$()},update:m,close:$,select:y=>{n("select",y)},choose:y=>{$(),n("choose",y)},calendarRef:i,showTopBtn:a,topInfo:o,dayInfo:s,bottomInfo:u}}});function pd(e,n,l,r,a,o){const s=(0,t.resolveComponent)("CalendarPane"),u=(0,t.resolveComponent)("Popup");return e.poppable?((0,t.openBlock)(),(0,t.createBlock)(u,(0,t.mergeProps)({key:0,visible:e.visible,position:"bottom",round:"",closeable:""},e.$attrs,{onClickOverlay:e.closePopup,onClickCloseIcon:e.closePopup,"pop-class":e.popClasses,style:e.popStyle}),{default:(0,t.withCtx)(()=>[(0,t.createVNode)(s,{ref:"calendarRef",type:e.type,"is-auto-back-fill":e.isAutoBackFill,poppable:e.poppable,title:e.title,"default-value":e.defaultValue,"start-date":e.startDate,"end-date":e.endDate,onUpdate:e.update,onClose:e.close,onChoose:e.choose,onSelect:e.select,"confirm-text":e.confirmText,"start-text":e.startText,"end-text":e.endText,"show-today":e.showToday,"show-title":e.showTitle,"show-sub-title":e.showSubTitle,"to-date-animation":e.toDateAnimation,"first-day-of-week":e.firstDayOfWeek},(0,t.createSlots)({_:2},[e.showTopBtn?{name:"btn",fn:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,"btn")]),key:"0"}:void 0,e.dayInfo?{name:"day",fn:(0,t.withCtx)(i=>[(0,t.renderSlot)(e.$slots,"day",{date:i.date})]),key:"1"}:void 0,e.topInfo?{name:"top-info",fn:(0,t.withCtx)(i=>[(0,t.renderSlot)(e.$slots,"top-info",{date:i.date})]),key:"2"}:void 0,e.bottomInfo?{name:"bottom-info",fn:(0,t.withCtx)(i=>[(0,t.renderSlot)(e.$slots,"bottom-info",{date:i.date})]),key:"3"}:void 0]),1032,["type","is-auto-back-fill","poppable","title","default-value","start-date","end-date","onUpdate","onClose","onChoose","onSelect","confirm-text","start-text","end-text","show-today","show-title","show-sub-title","to-date-animation","first-day-of-week"])]),_:3},16,["visible","onClickOverlay","onClickCloseIcon","pop-class","style"])):((0,t.openBlock)(),(0,t.createBlock)(s,{key:1,type:e.type,"is-auto-back-fill":e.isAutoBackFill,poppable:e.poppable,title:e.title,ref:"calendarRef","confirm-text":e.confirmText,"start-text":e.startText,"end-text":e.endText,"default-value":e.defaultValue,"start-date":e.startDate,"end-date":e.endDate,onUpdate:e.update,onClose:e.close,onChoose:e.choose,onSelect:e.select,"show-title":e.showTitle,"show-sub-title":e.showSubTitle,"to-date-animation":e.toDateAnimation,"show-today":e.showToday,"first-day-of-week":e.firstDayOfWeek},(0,t.createSlots)({_:2},[e.showTopBtn?{name:"btn",fn:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,"btn")]),key:"0"}:void 0,e.dayInfo?{name:"day",fn:(0,t.withCtx)(i=>[(0,t.renderSlot)(e.$slots,"day",{date:i.date})]),key:"1"}:void 0,e.topInfo?{name:"top-info",fn:(0,t.withCtx)(i=>[(0,t.renderSlot)(e.$slots,"top-info",{date:i.date})]),key:"2"}:void 0,e.bottomInfo?{name:"bottom-info",fn:(0,t.withCtx)(i=>[(0,t.renderSlot)(e.$slots,"bottom-info",{date:i.date})]),key:"3"}:void 0]),1032,["type","is-auto-back-fill","poppable","title","confirm-text","start-text","end-text","default-value","start-date","end-date","onUpdate","onClose","onChoose","onSelect","show-title","show-sub-title","to-date-animation","show-today","first-day-of-week"]))}var ra=ze(yd,[["render",pd]]),il=(e,n)=>{let l;return Va(e)?l=e:typeof e=="string"&&bt(e)>0?l=we.parser(e,n):l=new Date,l},zt=(e,n,l)=>(Va(n)||(n=new Date),we.format(n,l)),jt=e=>[`${e.getFullYear()}`,`${e.getMonth()+1}`,`${e.getDate()}`,we.date2Str(e),we.getWhatDay(e.getFullYear(),e.getMonth()+1,e.getDate())],Co={...rl,modelValue:{type:[String,Date,Array],default:null},rangeSeparator:{type:[String],default:"-"},valueFormat:{type:[String],default:"YYYY-MM-DD"},format:{type:[String],default:"YYYY-MM-DD"},showWeek:{type:[Boolean,String],default:!1},placeholder:{type:[String]},textAlign:{type:[String]},clearable:{type:[Boolean],default:!0},maxLength:{type:[String,Number]}},vd={...Be,..._e,...Co};function bd(e,n,l,r){return{props:vd,emits:["change","update:modelValue","blur","focus","clear","setValue"],setup(a,o){const{itemTemplateRef:s,innerDisabled:u,disabled:i,innerReadonly:h,readonly:c,browse:f}=We(a),{emitEvent:m,exposeApi:$}=Le({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus","setValue"],get readonly(){return c.value},get disabled(){return i.value},get props(){return a},context:o,get templateRefProxy(){return s.value}},a.prop??o.attrs.name),{toLocaleRefs:k}=(0,Pe.useFoxI18n)(n),p=k(a,["placeholder"]);let g=Ve(a,"hintText"),y=(0,t.ref)(!1);const b=(0,t.ref)(!1),E=(0,t.computed)(()=>a.type==="range"),d=(0,t.reactive)({startDate:null,endDate:null,startArray:[],endArray:[]}),C=()=>{d.startDate!==null&&(d.startDate=null,d.endDate=null,d.startArray=[],d.endArray=[])},N=(J,W="one",V="YYYY-MM-DD")=>{if(hf(J)){C();return}if(E.value&&Array.isArray(J)&&J.length==2){let O,ne;typeof J[0]=="string"?(O=il(J[0],V),ne=il(J[1],V)):(O=J[0],ne=J[1]);let ie=jt(O),Q=jt(ne);(d.startDate===null||d.startDate.getTime()!==O.getTime()||d.endDate?.getTime()!==ne.getTime())&&(d.startDate=O,d.startArray=ie,d.endDate=ne,d.endArray=Q)}else{let O;typeof J=="string"?O=il(J,V):O=J;let ne=jt(O);(d.startDate===null||d.startDate.getTime()!==O.getTime())&&(d.startDate=O,d.startArray=ne)}};N(a.modelValue,a.type,a.valueFormat),(0,t.watch)(()=>a.modelValue,J=>{N(J,a.type,a.valueFormat),m("setValue",J)});const D=(0,t.computed)(()=>{if(d.startDate===null)return"";if(E.value){let J=zt(a,d.startDate,a.format),W=zt(a,d.endDate,a.format);return`${J} ${a.rangeSeparator} ${W}`}else{let J=zt(a,d.startDate,a.format);return a.showWeek&&(J=`${J} ${d.startArray[4]}`),J}}),Y=(0,t.computed)(()=>d.startDate===null?null:E.value?[we.date2Str(d.startDate),we.date2Str(d.endDate??new Date)]:we.date2Str(d.startDate)),P=e,q=(0,t.computed)(()=>({[P]:!0,readonly:c.value,disabled:i.value})),T=(0,t.computed)(()=>({[`${P}__content`]:!0})),R=qe((0,t.computed)(()=>a.textAlign),"textAlign"),_=(0,t.computed)(()=>({textAlign:R.value??"right"})),x=(0,t.ref)(!1),K=()=>{i.value===!0||c.value===!0||(x.value=!0)},M=()=>{x.value=!1},L=J=>{x.value=J},j=J=>{if(J){if(E.value&&Array.isArray(J)){let W=J[0],V=De(W[0]),O=De(W[1]),ne=De(W[2]),ie=new Date(V,O-1,ne),Q=J[1];V=De(Q[0]),O=De(Q[1]),ne=De(Q[2]);let A=new Date(V,O-1,ne);if(d.startDate=ie,d.startArray=jt(ie),d.endDate=A,d.endArray=jt(A),a.valueFormat){let X=zt(a,ie,a.valueFormat),oe=zt(a,A,a.valueFormat);m("update:modelValue",[X,oe],{})}else m("update:modelValue",[ie,A],{})}else{let W=J,V=De(W[0]),O=De(W[1]),ne=De(W[2]),ie=new Date(V,O-1,ne);if(d.startDate=ie,d.startArray=jt(ie),a.valueFormat){let Q=zt(a,ie,a.valueFormat);m("update:modelValue",Q,{})}else m("update:modelValue",ie,{})}m("change",J,{})}},B=J=>{let W=J.target.value;b.value=!0,m("focus",W,J)},H=J=>{setTimeout(()=>{b.value=!1},0);let W=J.target.value;a.maxLength&&W.length>Number(a.maxLength)&&(W=W.slice(0,Number(a.maxLength))),m("blur",W,J)},ee=J=>{C(),m("update:modelValue",null,J),m("change","",J),m("clear","")},Z=(0,t.ref)();return $({showPicker:K,hidePicker:M,focus:()=>{Z?.value.focus()},blur:()=>{Z?.value.blur()},select:()=>{Z?.value.select()},setDisabled:J=>{u.value=J},setReadonly:J=>{h.value=J}}),()=>{if(f.value==="on"&&(c.value||i.value))return r({modelValue:D.value,span:a.span,labelPosition:a.labelPosition,labelWidth:a.labelWidth},o.slots);const J=i.value||c.value?"":p.placeholder.value,W={class:T.value,style:_.value,type:"text",maxlength:a.maxLength,placeholder:J,readonly:!0,clearable:a.clearable,value:D.value,onClick:K,onFocus:B,onBlur:H,onClear:ee},V={};o.slots.prepend&&(V.prepend=o.slots.prepend),o.slots.append&&(V.append=o.slots.append),o.slots.prefix?V.prefix=o.slots.prefix:V.prefix=()=>(0,t.h)(I.ElIcon,{},{default:()=>(0,t.h)(Ke.Calendar)}),o.slots.suffix&&(V.suffix=o.slots.suffix);const O=[],ne=(0,t.h)(I.ElInput,W,V);O.push(ne);const ie={default:()=>O};ie.label=o.slots.default,ie.fixedPreTip=o.slots.fixedPreTip,ie.fixedTip=o.slots.fixedTip;const Q=wt(a,rl);Q.visible=x.value,Q["onUpdate:visible"]=L,Q["default-value"]=Y.value,Q.onChoose=j;const A={};if(o.slots.btn){const fe=o.slots.btn();A.btn=()=>fe}o.slots.day&&(A.day=o.slots.day),o.slots.topInfo&&(A.topInfo=o.slots.topInfo),o.slots.bottomInfo&&(A.bottomInfo=o.slots.bottomInfo);const X=(0,t.h)(ra,Q,A);ie.hide=()=>[X];const oe={...Me(a,Co),ref:s,class:q.value,hintText:g.value,hintVisible:y.value};return a.prop&&(oe.prop=`${a.prop}_item`),l(oe,ie)}}}}var{componentName:wd,create:Sd,scope:Cd}=ge("calendar-item"),Td=Sd(bd(wd,Cd,Ye,Ze)),sl=Td,To={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1},placeholder:{type:[String],required:!1},rangeSeparator:{type:[String],required:!1},format:{type:[String],required:!1},maxLength:{type:[String,Number]}},xd={...Be,..._e,...To};function kd(e,n,l,r){return{props:xd,emits:["change","update:modelValue","blur","focus","clear","visible-change","setValue"],setup(a,o){const{itemTemplateRef:s,innerDisabled:u,disabled:i,innerReadonly:h,readonly:c,browse:f}=We(a),{emitEvent:m,exposeApi:$}=Le({componentName:e,get readonly(){return c.value},get disabled(){return i.value},get props(){return a},context:o,get templateRefProxy(){return s.value}},a.prop??o.attrs.name),{toLocaleRefs:k}=(0,Pe.useFoxI18n)(n),p=k(a,["placeholder"]),g=(0,t.ref)(!1),y=Ve(a,"modelValue",null,m),b=e,E=(0,t.computed)(()=>({[b]:!0,disabled:i.value,readonly:c.value})),d=(0,t.computed)(()=>({[`${b}__content`]:!0})),C=x=>{y.value=x,m("update:modelValue",x),m("change",x)};let N=Ve(a,"hintText"),D=(0,t.ref)(!1);const Y=x=>{let K=x.target.value;g.value=!0,ke(N.value)||(D.value=!0),m("focus",K,x)},P=x=>{setTimeout(()=>{D.value&&(D.value=!1),g.value=!1},0);let K=x.target.value;a.maxLength&&K.length>Number(a.maxLength)&&(K=K.slice(0,Number(a.maxLength))),m("blur",K,x)},q=()=>{m("clear","")},T=x=>{m("visible-change",x)},R=(0,t.ref)();$({focus:()=>{R?.value.focus()},blur:()=>{R?.value.blur()},handleOpen:()=>{R?.value.handleOpen()},handleClose:()=>{R?.value.handleClose()},setDisabled:x=>{u.value=x},setReadonly:x=>{h.value=x}});const _=(0,t.computed)(()=>{if(Oe(y.value))return"";const x=a.rangeSeparator??" - ",K=Array.isArray(y.value)?y.value:[y.value],M=[];for(let j=0;j<K.length;j++){const B=K[j];if(B==="string"&&M.push(B),B instanceof Date){const H=dt.format(B,a.format);M.push(H)}}const L=` ${x} `;return M.join(L)});return()=>{if(f.value==="on"&&(c.value||i.value))return r({modelValue:_.value,span:a.span,labelPosition:a.labelPosition,labelWidth:a.labelWidth},o.slots);const x=i.value||c.value?"":p.placeholder.value,K={...o.attrs,ref:R,class:d.value,placeholder:x,rangeSeparator:a.rangeSeparator,format:a.format,disabled:i.value,readonly:c.value,modelValue:y.value,"onUpdate:modelValue":C,onClear:q,onFocus:Y,onBlur:P,onVisibleChange:T},M={},L=[],j=(0,t.h)(I.ElTimePicker,K,M);L.push(j);const B={default:()=>L};B.label=o.slots.default,B.fixedPreTip=o.slots.fixedPreTip,B.fixedTip=o.slots.fixedTip;const H={...Me(a,To),ref:s,class:E.value,hintText:N.value,hintVisible:D.value};return a.prop&&(H.prop=`${a.prop}_item`),l(H,B)}}}}var{componentName:$d,create:Nd,scope:Dd}=ge("time-item"),Ed=Nd(kd($d,Dd,Ye,Ze)),ul=Ed,xo={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1},placeholder:{type:[String],required:!1},format:{type:[String],required:!1},rangeSeparator:{type:[String],required:!1},maxLength:{type:[String,Number]}},Pd={...Be,..._e,...xo};function Vd(e,n,l,r){return{props:Pd,emits:["change","update:modelValue","blur","focus","clear","setValue"],setup(a,o){const{itemTemplateRef:s,innerDisabled:u,disabled:i,innerReadonly:h,readonly:c,browse:f}=We(a),{emitEvent:m,exposeApi:$}=Le({componentName:e,get readonly(){return c.value},get disabled(){return i.value},get props(){return a},context:o,get templateRefProxy(){return s.value}},a.prop??o.attrs.name),{toLocaleRefs:k}=(0,Pe.useFoxI18n)(n),p=k(a,["placeholder"]),g=(0,t.ref)(!1),y=Ve(a,"modelValue",null,m),b=e,E=(0,t.computed)(()=>({[b]:!0,disabled:i.value,readonly:c.value})),d=(0,t.computed)(()=>({[`${b}__content`]:!0})),C=_=>{y.value=_,m("update:modelValue",_),m("change",_)};let N=Ve(a,"hintText"),D=(0,t.ref)(!1);const Y=_=>{let x=_.target.value;g.value=!0,ke(N.value)||(D.value=!0),m("focus",x,_)},P=_=>{setTimeout(()=>{D.value&&(D.value=!1),g.value=!1},0);let x=_.target.value;a.maxLength&&x.length>Number(a.maxLength)&&(x=x.slice(0,Number(a.maxLength))),m("blur",x,_)},q=()=>{m("clear","")},T=(0,t.ref)();$({focus:()=>{T?.value.focus()},blur:()=>{T?.value.blur()},handleOpen:()=>{T?.value.handleOpen()},handleClose:()=>{T?.value.handleClose()},setDisabled:_=>{u.value=_},setReadonly:_=>{h.value=_}});const R=(0,t.computed)(()=>{if(Oe(y.value))return"";const _=a.rangeSeparator??" - ",x=Array.isArray(y.value)?y.value:[y.value],K=[];for(let L=0;L<x.length;L++){const j=x[L];if(j==="string"&&K.push(j),j instanceof Date){const B=dt.format(j,a.format);K.push(B)}}const M=` ${_} `;return K.join(M)});return()=>{if(f.value==="on"&&(c.value||i.value))return r({modelValue:R.value,span:a.span,labelPosition:a.labelPosition,labelWidth:a.labelWidth},o.slots);const _=i.value||c.value?"":p.placeholder.value,x={...o.attrs,ref:T,class:d.value,placeholder:_,rangeSeparator:a.rangeSeparator,foramt:a.format,disabled:i.value,readonly:c.value,modelValue:y.value,"onUpdate:modelValue":C,onClear:q,onFocus:Y,onBlur:P},K={},M=[],L=(0,t.h)(I.ElTimeSelect,x,K);M.push(L);const j={default:()=>M};j.label=o.slots.default,j.fixedPreTip=o.slots.fixedPreTip,j.fixedTip=o.slots.fixedTip;const B={...Me(a,xo),ref:s,class:E.value,hintText:N.value,hintVisible:D.value};return a.prop&&(B.prop=`${a.prop}_item`),l(B,j)}}}}var{componentName:Id,create:Ad,scope:Bd}=ge("time-select-item"),Od=Ad(Vd(Id,Bd,Ye,Ze)),cl=Od;function ko(e,n=0){let l=`${e}`,r=l.indexOf(".");if(r==-1)return l;let a=r;for(let o=l.length-1;o>=r;o--)if(l.charAt(o)!="0"){a=o;break}return a-r<n?a=r+n+1:a!=r&&(a+=1),a>l.length?l=l.padEnd(a,"0"):l=l.substring(0,a),l}function $o(e,n,l=20){return typeof n=="string"&&(n=De(n)),n==1||n==-1?`${e}`:n==0?"0":n>0?ko(dr(`${e}`,`${n}`)):ko(Da(`${e}`,hr(`${n}`),20))}function Rd(e,n=-1,l=!1,r=3,a=","){return Vn(e,De(n),l,r,a)}function No(e,n,l,r,a=!0){if(e==="")return"";if(e=mr(e),n=De(n),n==1)return e;if(r)e=$o(e,n),l&&(e=="0"&&a?e=`${e}.`.padEnd(De(l)+2,"0"):e=Da(e,1,De(l)));else{let o=-1*n;e=$o(e,o)}return e}function Do(e,n){let l={maxValid:!0,minValid:!0,message:""};if(n.min!==void 0){let r=Ce(n.minInclude),a=Ea(e,n.min);(r&&a==-1||!r&&(a==0||a==-1))&&(l.message="请输入不小于 {0} 的数值".replace("{0}",n.min),l.minValid=!1)}if(n.max!=null){let r=Ce(n.maxInclude),a=Ea(e,n.max);(r&&a==1||!r&&(a==0||a==1))&&(l.maxValid=!1)}return l}var Eo={modelValue:{type:[String,Number],required:!1},clearable:{type:[Boolean],default:!0},showTip:{type:[Boolean,String],required:!1,default:!0},min:{type:[Number,String],required:!1},minInclude:{type:[Boolean,String],required:!1,default:!0},max:{type:[Number,String],required:!1},maxInclude:{type:[Boolean,String],required:!1,default:!0},unit:{type:[String],required:!1},rates:{type:[Number,String],required:!1,default:1},precision:{type:[Number,String],required:!1},integerLength:{type:[Number,String],required:!1,default:-1},decimalLength:{type:[Number,String],required:!1,default:2},autoPadding:{type:[Boolean],required:!1,default:!0},digits:{type:[Number],required:!1,default:3},separator:{type:[String],required:!1,default:","},placeholder:{type:[String],required:!1},textAlign:{type:[String],required:!1},adjustPosition:{type:[Boolean],default:!0},alwaysSystem:{type:[Boolean],default:!1},maxLength:{type:[String,Number]}},Fd={...Be,..._e,...Eo};function Md(e,n,l,r){return{props:Fd,emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(a,o){const{itemTemplateRef:s,innerDisabled:u,disabled:i,innerReadonly:h,readonly:c,browse:f}=We(a),{emitEvent:m,exposeApi:$}=Le({componentName:e,get readonly(){return c.value},get disabled(){return i.value},get props(){return a},context:o,get templateRefProxy(){return s.value}},a.prop??o.attrs.name),k=(0,t.ref)(!1),p=Ve(a,"modelValue",null,m),g=(0,t.ref)("");(0,t.watch)([()=>p.value,()=>a.rates,()=>a.precision],([Z,J,W])=>{if(ke(Z)){g.value="";return}const V=No(Z,J,W,!1);g.value!==V&&(g.value=V)},{immediate:!0});const y=(0,t.computed)(()=>{let Z="";return k.value&&(Z=g.value),Z}),{t:b}=(0,Pe.useFoxI18n)(n),E=(0,t.computed)(()=>{let Z=a.placeholder??"";return!k.value&&!ke(g.value)?Z=Rd(g.value,a.decimalLength,a.autoPadding,a.digits,a.separator):c.value||i.value?Z="":Z=ke(Z)?b(["placeholder"]):Z,Z}),d=e,C=(0,t.computed)(()=>({[d]:!0,disabled:i.value,readonly:c.value})),N=(0,t.computed)(()=>({[`${d}__content`]:!0,[`${d}__placeholder`]:g.value.length>0})),D=qe((0,t.computed)(()=>a.textAlign),"textAlign"),Y=(0,t.computed)(()=>k.value?{textAlign:"left"}:{textAlign:D.value??"right"}),P=(0,t.ref)(""),q=(0,t.computed)(()=>{let Z=P.value;return ke(Z)&&(Z=a.errorTip??""),Z}),T=(0,t.ref)(""),R=(0,t.ref)(!1),_=(Z,J)=>{if(Z=`${Z}`,ke(Z)){g.value="",p.value="",J.forEach(W=>{m(W,"")}),Ce(a.showTip)&&R.value&&(R.value=!1);return}if(Z.length>=2){let W=Z;if(W.charAt(0)=="-"&&(W=W.substring(1)),W.length>=2&&W.charAt(0)=="0"&&W.charAt(1)!="."){(0,t.triggerRef)(g);return}}if(Z!="-"){if(!Ra(Z)){(0,t.triggerRef)(g);return}if(a.integerLength!=-1&&Sr(Z)>Number(a.integerLength)){(0,t.triggerRef)(g);return}if(a.decimalLength&&a.decimalLength!=-1&&Cr(Z)>Number(a.decimalLength)){(0,t.triggerRef)(g);return}let W=Do(Z,a);if(W.maxValid===!1){P.value=W.message,(0,t.triggerRef)(g);return}}else if(a.min!=null&&De(a.min)>=0){(0,t.triggerRef)(g);return}T.value=Z,Ce(a.showTip)&&(R.value=Z.length>0),g.value=Z,p.value=No(Z,a.rates,a.precision,!0),J.forEach(W=>{m(W,p.value)})},x=Z=>{_(Z,["update:modelValue","input"])},K=Z=>{_(Z,["update:modelValue","change"])},M=Z=>{if(k.value=!0,Ce(a.showTip)){let J=g.value;ke(J)&&(J=a.hintText),ke(J)||(T.value=J,R.value=!0)}P.value="",m("focus",p.value,Z)},L=Z=>{if(setTimeout(()=>{k.value=!1,Ce(a.showTip)&&R.value===!0&&(R.value=!1)},0),!ke(g.value)){let J=Do(g.value,a);if(J.minValid===!1||J.maxValid===!1){P.value=J.message;return}}m("update:modelValue",p.value,Z),m("blur",p.value,Z)},j=()=>{m("clear","")},B=(0,t.computed)(()=>bt(a.unit)>0),H=(0,t.ref)();$({focus:()=>{H?.value.focus()},blur:()=>{H?.value.blur()},select:()=>{H?.value.select()},setDisabled:Z=>{u.value=Z},setReadonly:Z=>{h.value=Z}});const ee=()=>E.value||p.value;return()=>{if(f.value==="on"&&(c.value||i.value))return r({modelValue:ee(),unit:a.unit,span:a.span,labelPosition:a.labelPosition,labelWidth:a.labelWidth},o.slots);const Z={...ft(o.attrs),ref:H,class:N.value,style:Y.value,type:"digit",maxlength:a.maxLength,placeholder:E.value,clearable:a.clearable,disabled:i.value,readonly:c.value,modelValue:y.value,"adjust-position":a.adjustPosition,"always-system":a.alwaysSystem,onClear:j,onInput:x,onChange:K,onFocus:M,onBlur:L},J={};o.slots.prepend&&(J.prepend=o.slots.prepend),o.slots.append&&(J.append=o.slots.append),o.slots.prefix&&(J.prefix=o.slots.prefix),o.slots.suffix?J.suffix=o.slots.suffix:B.value&&(J.suffix=()=>[a.unit]);const W=[],V=(0,t.h)(I.ElInput,Z,J);W.push(V);const O={default:()=>W};O.label=o.slots.default,O.fixedPreTip=o.slots.fixedPreTip,O.fixedTip=o.slots.fixedTip;const ne={...Me(a,Eo),ref:s,class:C.value,errorTip:q.value,hintText:T.value,hintVisible:R.value,hintType:"number"};return a.prop&&(ne.prop=`${a.prop}_item`),l(ne,O)}}}}var{componentName:Ld,create:_d,scope:qd}=ge("money-item"),zd=_d(Md(Ld,qd,Ye,Ze)),fl=zd,Po={modelValue:{type:[String,Number],required:!1},max:{type:[Number],required:!1},min:{type:[Number],required:!1},clearable:{type:[Boolean,String],default:!0},placeholder:{type:[String],required:!1},unit:{type:[String],required:!1},adjustPosition:{type:[Boolean],default:!0},alwaysSystem:{type:[Boolean],default:!1},maxLength:{type:[String,Number]}},jd={...Be,..._e,...Po};function Kd(e,n,l,r){return{props:jd,emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(a,o){const{itemTemplateRef:s,innerDisabled:u,disabled:i,innerReadonly:h,readonly:c,browse:f}=We(a),{emitEvent:m,exposeApi:$}=Le({componentName:e,validateCheckEvents:["blur","update:modelValue"],get readonly(){return c.value},get disabled(){return i.value},get props(){return a},context:o,get templateRefProxy(){return s.value}},a.prop??o.attrs.name),{toLocaleRefs:k}=(0,Pe.useFoxI18n)(n),p=k(a,["placeholder"]),g=(0,t.ref)(!1),y=Ve(a,"modelValue",null,m),b=e,E=(0,t.computed)(()=>({[b]:!0,disabled:i.value,readonly:c.value})),d=(0,t.computed)(()=>({[`${b}__content`]:!0,[`${b}__append`]:x.value})),C=(0,t.computed)(()=>({[`${b}__unit`]:!0})),N=M=>{y.value=M,m("update:modelValue",M)},D=M=>{m("input",M)},Y=M=>{m("change",M)};let P=Ve(a,"hintText"),q=(0,t.ref)(!1);const T=M=>{let L=M.target.value;g.value=!0,ke(P.value)||(q.value=!0),m("focus",L,M)},R=M=>{setTimeout(()=>{q.value&&(q.value=!1),g.value=!1},0);let L=M.target.value;a.maxLength&&L.length>Number(a.maxLength)&&(L=L.slice(0,Number(a.maxLength))),m("blur",L,M)},_=()=>{m("clear","")},x=(0,t.computed)(()=>bt(a.unit)>0),K=(0,t.ref)();return $({focus:()=>{K?.value.focus()},blur:()=>{K?.value.blur()},setDisabled:M=>{u.value=M},setReadonly:M=>{h.value=M}}),()=>{if(f.value==="on"&&(c.value||i.value))return r({modelValue:y.value,unit:a.unit,span:a.span,labelPosition:a.labelPosition,labelWidth:a.labelWidth},o.slots);const M=i.value||c.value?"":p.placeholder.value,L={...ft(o.attrs),ref:K,class:d.value,placeholder:M,clearable:a.clearable,disabled:i.value,readonly:c.value,modelValue:y.value,"onUpdate:modelValue":N,min:a.min,max:a.max,"adjust-position":a.adjustPosition,"always-system":a.alwaysSystem,onClear:_,onChange:Y,onInput:D,onFocus:T,onBlur:R},j={},B=[],H=(0,t.h)(I.ElInputNumber,L,j);B.push(H);const ee={default:()=>B};ee.label=o.slots.default,ee.fixedPreTip=o.slots.fixedPreTip,ee.fixedTip=o.slots.fixedTip;const Z={...Me(a,Po),ref:s,class:E.value,hintText:P.value,hintVisible:q.value};if(a.prop&&(Z.prop=`${a.prop}_item`),o.slots.append)ee.append=o.slots.append;else if(x.value){const J={class:C.value},W=(0,t.h)("div",J,[a.unit]);ee.append=()=>W}return l(Z,ee)}}}}var{componentName:Hd,create:Wd,scope:Yd}=ge("input-number-item"),Ud=Wd(Kd(Hd,Yd,Ye,Ze)),dl=Ud;function Ct(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function Bt(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function Gd(e,n){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?n[e.childrenKey]||null:n.children??null}var Xd=class{scope;constructor(e){this.scope=e}async load(e,n,l,r){if(!n)return[];if(Array.isArray(n))return n;if(typeof n=="function")return await n(l,r);const a=tt(e,this.scope);return a===null?(console.error(`[FoxUI] ${e} component not found api function`),[]):(et(l)&&(0,t.isReactive)(l)&&(l=(0,t.toRaw)(l)),await a(n,l,r))}};function Qd(){const e=ut();return new Xd(e)}function hl(e,n,l){return!(Ct(e,n)!==Ct(e,l)||Bt(e,n)!==Bt(e,l))}function Vo(e,n,l,r){if(r.length==0||n===""||n===null||n===void 0)return null;Array.isArray(n)||(n=[n]);const a=[];let o=r;for(let s=0;Array.isArray(o)&&s<n.length;s++){const u=n[s];if(Array.isArray(u)){const i=Vo(e,u,l,r);a.push(i)}else{let i=!1;for(let h of o){if(l==="text")i=Ct(e,h)===u;else if(l==="item")i=hl(e,h,u);else{let c=Bt(e,h);c==null&&(c=Ct(e,h)),i=c===u}if(i){a.push(h),o=Gd(e,h);break}}if(!i)break}}return a}function Zd(e){return{text:e,value:e}}var Io={modelValue:{type:[Array,String],required:!1},pathNodes:{type:[Array],required:!1},source:{type:[Array,Function,String],default:[]},params:{type:Object},clearable:{type:[Boolean,String],default:()=>!0},props:{type:[Object],required:!1},multiple:{type:[Boolean],default:()=>!1},allowCreate:{type:[Boolean]},valueType:{type:String,required:!1,default:"value"},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},childrenKey:{type:[String],required:!1,default:"children"},remoteMethod:{type:[Function],required:!1},appearLoad:{type:[Boolean],default:!1},lazy:{type:[Boolean],default:!1},lazyLoad:{type:[Function]},leafKey:{type:[String],default:"leaf"},showTooltip:{type:Boolean,default:!1},separator:{type:[String],default:" / "},placeholder:{type:[String],required:!1},maxLength:{type:[String,Number]},emptyText:{type:[String]}},Jd={...Be,..._e,...Io};function eh(e,n,l,r){return{props:Jd,emits:["change","update:modelValue","update:pathNodes","blur","focus","clear","visible-change","expand-change","remove-tag","selected","setValue"],setup(a,o){const{itemTemplateRef:s,innerDisabled:u,disabled:i,innerReadonly:h,readonly:c,browse:f}=We(a),{emitEvent:m,exposeApi:$}=Le({componentName:e,validateCheckEvents:["blur","update:modelValue","selected"],get readonly(){return c.value},get disabled(){return i.value},get props(){return a},context:o,get templateRefProxy(){return s.value}},a.prop??o.attrs.name),{toLocaleRefs:k}=(0,Pe.useFoxI18n)(n),p=k(a,["placeholder"]),g=(0,t.ref)(null),y=(0,t.ref)([]),b=(0,t.computed)(()=>y.value?y.value.map(U=>Array.isArray(U)?U.map(S=>Ct(a,S)).join(" "):Ct(a,U)).join(" "):""),E=(U,S,w,G=!0)=>{if(a.props&&a.props.lazy===!0||a.lazy===!0){if(g.value===U)return;g.value=U;const ae=(0,t.toRaw)(U);if(G){const le=re?.value.getCheckedNodes();if(le)if(a.multiple){const se=[];le.forEach(ce=>{const me=(ce.pathNodes??[]).map(Ne=>Ne.data);se.push(me)}),m("update:pathNodes",se)}else{const se=(le[0]?.pathNodes??[]).map(ce=>ce.data);m("update:pathNodes",se)}m("update:modelValue",ae),m("change",ae)}return}const te=Vo(a,U,S,w);if(te===null){if(y.value.length===0||y.value===null)return;y.value=[],g.value=null,G&&(m("update:pathNodes",[]),m("update:modelValue",null),m("change",null));return}const F=te[te.length-1];if(L.value.checkStrictly!==!0&&F&&!Array.isArray(F)&&Array.isArray(F.children)&&F.children.length>0){const ae=[];te.forEach(le=>{const se=`${Ct(a,le)}`;ae.push(se)}),ae.length>0&&(x.value=ae.join(a.separator))}else x.value=null;let z=!0;if(te.length!==y.value.length)z=!1;else for(let ae=0;ae<te.length;ae++){const le=te[ae],se=y.value[ae];if(Array.isArray(le)){if(!Array.isArray(se)||le.length!==se.length)z=!1;else for(let ce=0;ce<le.length;ce++)if(!hl(a,le[ce],se[ce])){z=!1;break}}else hl(a,le,se)||(z=!1);if(!z)break}if(!z){y.value=te;let ae=[],le=[];te.forEach(ce=>{if(Array.isArray(ce)){let me=[],Ne=[];for(let ye of ce)me.push(Bt(a,ye)),a.valueType==="text"?Ne.push(Ct(a,ye)):a.valueType==="item"?Ne.push(ye):Ne.push(Bt(a,ye));ae.push(me),le.push(Ne)}else ae.push(Bt(a,ce)),a.valueType==="text"?le.push(Ct(a,ce)):a.valueType==="item"?le.push(ce):le.push(Bt(a,ce))}),g.value=ae;const se=(0,t.toRaw)(le);G&&(m("update:pathNodes",te),m("update:modelValue",se),m("change",se))}},d=(0,t.ref)([]),C=qe((0,t.computed)(()=>a.appearLoad),"appearLoad",st.Near,U=>Ce(U)),N=Qd(),D=async(U,S)=>{if(U){const w=await N.load("cascader",U,S);if(w.length>0)if(typeof w[0]=="string"){let G=w.map(te=>Zd(te));d.value=G}else d.value=w}};(0,t.watch)([()=>a.source,()=>a.params],async([U,S])=>{D(U,S)},{immediate:!(C.value||a.lazy)});let Y=!1;const P=()=>{Y||(Y=!0,D(a.source,a.params))};(0,t.watch)([()=>d.value,()=>a.modelValue],([U,S])=>{E(S,a.valueType,U,!1),m("setValue",S)}),a.lazy&&E(a.modelValue,"value",[],!1);let q=null,T=(0,t.ref)(!1);typeof a.remoteMethod=="function"&&(q=async U=>{if(U!=null){T.value=!0;try{const S=await a.remoteMethod(U);d.value=S}catch(S){console.error(S)}T.value=!1}});const R=(0,t.ref)(!1),_=e,x=(0,t.ref)(a.lazy?a.emptyText:null),K=(0,t.computed)(()=>({[_]:!0,"is-incomplete":x.value&&x.value.length>0,disabled:i.value,readonly:c.value})),M=(0,t.computed)(()=>({[`${_}__content`]:!0})),L=(0,t.computed)(()=>{let U={label:a.textKey,value:a.valueKey,children:a.childrenKey};return a.multiple===!0&&(U.multiple=!0),a.props&&Object.assign(U,a.props),a.lazy&&(U.lazy=!0,typeof a.lazyLoad=="function"?U.lazyLoad=a.lazyLoad:U.lazyLoad=async(S,w)=>{let G={};a.params&&Object.assign(G,a.params),S&&Object.assign(G,S);const te=await N.load("cascader",a.source,G,!0);if(S?.config?.checkStrictly!==!0&&Array.isArray(g.value)&&g.value.length===S.level){const F=S.pathLabels??[];let z=[];F.forEach(ae=>{ae&&z.push(ae)}),z.length>0&&(x.value=z.join(a.separator))}else x.value=a.emptyText??null;w(te)}),U}),j=U=>{a.allowCreate?(m("update:modelValue",U),m("change",U),g.value=U):E(U,"value",d.value,!0)};let B=Ve(a,"hintText"),H=(0,t.ref)(!1);const ee=U=>{let S=U.target.value;R.value=!0,ke(B.value)||(H.value=!0),m("focus",S,U)},Z=U=>{setTimeout(()=>{H.value&&(H.value=!1),R.value=!1},0);let S=U.target.value;a.maxLength&&S.length>Number(a.maxLength)&&(S=S.slice(0,Number(a.maxLength))),A.value||m("blur",S,U)},J=()=>{m("clear","")},W=(0,t.ref)(!1);let V=null;const O=()=>{a.showTooltip&&W.value===!1&&(V&&clearTimeout(V),V=setTimeout(()=>{W.value=!0},150))},ne=()=>{V&&(clearTimeout(V),W.value=!1,V=null)},ie=(0,t.computed)(()=>W.value||H.value),Q=(0,t.computed)(()=>W.value?b.value:B.value),A=(0,t.ref)(!1),X=U=>{A.value=U,m("visible-change",U),U||m("selected")},oe=U=>{m("remove-tag",U)},fe=U=>{m("expand-change",U)},re=(0,t.ref)();return $({focus:()=>{re?.value.focus()},blur:()=>{re?.value.blur()},getCheckedNodes:()=>re?.value.getCheckedNodes(),setDisabled:U=>{u.value=U},setReadonly:U=>{h.value=U}}),()=>{if(f.value==="on"&&(c.value||i.value))return r({modelValue:g.value,source:d.value,valueType:a.valueType,textKey:a.textKey,valueKey:a.valueKey,childrenKey:a.childrenKey,separator:a.separator,emptyText:a.emptyText,span:a.span,labelPosition:a.labelPosition,labelWidth:a.labelWidth},o.slots);const U=i.value||c.value?"":p.placeholder.value,S={...o.attrs,ref:re,class:M.value,props:L.value,clearable:a.clearable,placeholder:x.value||U,disabled:i.value||c.value,options:d.value,modelValue:g.value,separator:a.separator,onClear:J,onChange:j,onFocus:ee,onBlur:Z,onVisibleChange:X,onRemoveTag:oe,expandChange:fe};typeof q=="function"&&(S["remote-method"]=q,S.loading=T.value);const w={};o.slots.option&&(w.default=o.slots.option),o.slots.empty&&(w.empty=o.slots.empty);const G=[],te=(0,t.h)(I.ElCascader,S,w);G.push(te);const F={default:()=>G};F.label=o.slots.default,F.fixedPreTip=o.slots.fixedPreTip,F.fixedTip=o.slots.fixedTip;const z={...Me(a,Io),ref:s,class:K.value,hintText:Q.value,hintVisible:ie.value,onMouseover:O,onMouseleave:ne};return a.prop&&(z.prop=`${a.prop}_item`),C.value&&!a.lazy&&(z["appear-listen"]=!0,z.onAppear=P),l(z,F)}}}}var{componentName:th,create:nh,scope:ah}=ge("cascader-item"),lh=nh(eh(th,ah,Ye,Ze)),ml=lh,Ao={modelValue:{type:[String,Boolean,Number,Object],required:!1},clearable:{type:[Boolean,String],default:!0},unit:{type:[String],required:!1},placeholder:{type:[String],required:!1},maxLength:{type:[String,Number]},fetchSuggestions:{type:[Function]}},rh={...Be,..._e,...Ao};function oh(e,n,l,r){return{props:rh,emits:["change","update:modelValue","blur","focus","clear","input","select","setValue"],setup(a,o){const{itemTemplateRef:s,innerDisabled:u,disabled:i,innerReadonly:h,readonly:c,browse:f}=We(a),{emitEvent:m,exposeApi:$}=Le({componentName:e,get readonly(){return c.value},get disabled(){return i.value},get props(){return a},context:o,get templateRefProxy(){return s.value}},a.prop??o.attrs.name),{toLocaleRefs:k}=(0,Pe.useFoxI18n)(n),p=k(a,["placeholder"]),g=(0,t.ref)(!1),y=Ve(a,"modelValue",null,m),b=e,E=(0,t.computed)(()=>({[b]:!0,disabled:i.value,readonly:c.value})),d=(0,t.computed)(()=>({[`${b}__content`]:!0})),C=x=>{y.value=x,m("update:modelValue",x),m("input",x)},N=x=>{m("change",x)},D=x=>{m("select",x)};let Y=Ve(a,"hintText"),P=(0,t.ref)(!1);const q=x=>{let K=x.target.value;g.value=!0,ke(Y.value)||(P.value=!0),m("focus",K,x)},T=x=>{setTimeout(()=>{P.value&&(P.value=!1),g.value=!1},0);let K=x.target.value;a.maxLength&&K.length>Number(a.maxLength)&&(K=K.slice(0,Number(a.maxLength))),m("blur",K,x)},R=()=>{m("clear","")},_=(0,t.ref)();return $({focus:()=>{_?.value.focus()},blur:()=>{_?.value.blur()},select:()=>{_?.value.select()},setDisabled:x=>{u.value=x},setReadonly:x=>{h.value=x}}),()=>{if(f.value==="on"&&(c.value||i.value))return r({modelValue:y.value,unit:a.unit,span:a.span,labelPosition:a.labelPosition,labelWidth:a.labelWidth},o.slots);const x=i.value||c.value?"":p.placeholder.value,K={...o.attrs,ref:_,class:d.value,placeholder:x,clearable:a.clearable,disabled:i.value,readonly:c.value,modelValue:y.value,fetchSuggestions:a.fetchSuggestions,onClear:R,onChange:N,onInput:C,onFocus:q,onBlur:T,onSelect:D},M={};o.slots.prepend&&(M.prepend=o.slots.prepend),o.slots.append&&(M.append=o.slots.append),o.slots.prefix&&(M.prefix=o.slots.prefix),o.slots.suffix&&(M.suffix=o.slots.suffix),o.slots.option&&(M.default=o.slots.option);const L=[],j=(0,t.h)(I.ElAutocomplete,K,M);L.push(j);const B={default:()=>L};B.label=o.slots.default,B.fixedPreTip=o.slots.fixedPreTip,B.fixedTip=o.slots.fixedTip;const H={...Me(a,Ao),ref:s,class:E.value,hintText:Y.value,hintVisible:P.value};return a.prop&&(H.prop=`${a.prop}_item`),l(H,B)}}}}var{componentName:ih,create:sh,scope:uh}=ge("autocomplete-item"),ch=sh(oh(ih,uh,Ye,Ze)),gl=ch;function fh(e,n){let l=n.split("."),r=e;for(let a=0;a<l.length;a++){let o=l[a],s=0,u=o.indexOf("["),i=u==-1?-1:o.indexOf("]",u);for(;u!==-1&&i!==-1;){let h=o.substring(u+1,i);if(/^\d+$/.test(h)){let c=parseInt(h);if(s==0){let f=o.substring(0,u);r=r[f][c]}else r=r[c];s++}u=o.indexOf("[",i),i=u==-1?-1:o.indexOf("]",u)}s===0&&(r=r[o])}return r}function dh(e,n){return{props:{...io},setup(l,{attrs:r,slots:a}){return()=>{const o={default:s=>{const u=fh(s.row,s.column.property);return a.default?(0,t.h)(qt,{...l,modelValue:u},{default:a.default}):(0,t.h)(qt,{...l,modelValue:u})}};for(let s in a)s!=="default"&&(o[s]=a[s]);return(0,t.h)(I.ElTableColumn,{...r},o)}}}}var{componentName:hh,create:mh,scope:gh}=ge("table-mapping-column"),yh=mh(dh(hh,gh)),yl=yh,ph=Symbol.for("TableStateKey");function Bo(e,n){let l=n.split("."),r=e;for(let a=0;a<l.length;a++){let o=l[a],s=0,u=o.indexOf("["),i=u==-1?-1:o.indexOf("]",u);for(;u!==-1&&i!==-1;){let h=o.substring(u+1,i);if(/^\d+$/.test(h)){let c=parseInt(h);if(s==0){let f=o.substring(0,u);r=r[f][c]}else r=r[c];s++}u=o.indexOf("[",i),i=u==-1?-1:o.indexOf("]",u)}s===0&&(r=r[o])}return r}function vh(e,n){return{props:{prop:{type:[String],require:!1}},setup(l,{attrs:r}){const a=(0,t.inject)(ph,{});let o=null;return()=>{const s={default:u=>{const i=a.currentRow?a.currentRow.value:null;u.$index!==-1&&(o=u.row);const h=u.$index!==-1?u.row:o;let c=!1;if(h){const m=l.prop??u.column.property;m?c=Bo(h,m)===(i?Bo(i,m):null):c=Qe(h,i)}const f=(0,t.h)("span",{class:{"el-radio__input":!0,"is-checked":c}},[(0,t.h)("span",{class:{"el-radio__inner":!0}})]);return(0,t.h)("label",{class:{"el-radio":!0,"is-checked":c}},[f])}};return(0,t.h)(I.ElTableColumn,{...r},s)}}}}var{componentName:bh,create:wh,scope:Sh}=ge("table-radio-column"),Ch=wh(vh(bh,Sh)),pl=Ch,Th={},xh={t:"1685254841130",class:"fox-table-setting__drag-icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"721"};function kh(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)("svg",xh,[...n[0]||(n[0]=[(0,t.createElementVNode)("path",{d:"M235.84 813.632c-54.528 0-98.816 41.792-98.816 93.312 0 51.584 44.288 93.312 98.816 93.312 54.592 0 98.816-41.728 98.816-93.312 0-51.52-44.224-93.312-98.816-93.312z m0-400.832c-54.528 0-98.816 41.792-98.816 93.312 0 51.52 44.288 93.44 98.816 93.44 54.592 0 98.816-41.92 98.816-93.44 0-51.52-44.224-93.312-98.816-93.312z m0-400.832C181.312 11.968 137.024 53.76 137.024 105.408c0 51.456 44.288 93.248 98.816 93.248 54.592 0 98.816-41.728 98.816-93.312C334.72 53.76 290.432 11.968 235.84 11.968z m527.104 801.664c-54.528 0-98.816 41.792-98.816 93.312 0 51.584 44.288 93.312 98.816 93.312 54.528 0 98.816-41.728 98.816-93.312 0-51.52-44.288-93.312-98.816-93.312z m0-400.832c-54.528 0-98.816 41.792-98.816 93.312 0 51.52 44.288 93.44 98.816 93.44 54.528 0 98.816-41.92 98.816-93.44 0-51.52-44.288-93.312-98.816-93.312z m0-400.832c-54.528 0-98.816 41.792-98.816 93.44 0 51.456 44.288 93.248 98.816 93.248 54.528 0 98.816-41.728 98.816-93.312 0-51.584-44.288-93.376-98.816-93.376z","p-id":"722"},null,-1)])])}var $h=ze(Th,[["render",kh]]),{componentName:gb,create:Nh,scope:Dh}=ge("table-setting"),Eh={tableRef:{type:Object},popoverPlacement:{type:[String],required:!1,default:"bottom"},popoverWidth:{type:[String,Number],required:!1,default:280},title:{type:[String],required:!1},resetText:{type:[String],required:!1},leftFixedTitle:{type:[String],required:!1},rightFixedTitle:{type:[String],required:!1},unFixedTitle:{type:[String],required:!1},fixedLeftText:{type:[String],required:!1},fixedRightText:{type:[String],required:!1},unFixedText:{type:[String],required:!1}},Ph=Nh({components:{FoxPopover:I.ElPopover,FoxCheckbox:I.ElCheckbox,FoxCheckboxGroup:I.ElCheckboxGroup,FoxButton:I.ElButton,FoxIcon:I.ElIcon,DragIcon:$h,Download:Ke.Download,RefreshLeft:Ke.RefreshLeft},props:Eh,setup(e,{emit:n,attrs:l}){const{locale:r,toLocaleRefs:a}=(0,Pe.useFoxI18n)(Dh),o=a(e,["title","resetText","leftFixedTitle","rightFixedTitle","unFixedTitle","fixedLeftText","fixedRightText","unFixedText"]);let s=[];const u=(0,t.ref)([]),i=(0,t.computed)(()=>u.value.filter(Q=>Q.label===""||Q.type?!1:Q.fixed===""||Q.fixed===!0||Q.fixed==="left")),h=(0,t.computed)(()=>u.value.filter(Q=>Q.label===""||Q.type?!1:Q.fixed==="right")),c=(0,t.computed)(()=>u.value.filter(Q=>!(Q.label===""||Q.type||Q.fixed!==void 0))),f=(0,t.computed)(()=>(i.value.length>0||h.value.length>0)&&c.value.length>0),m=(0,t.computed)(()=>i.value.length>0),$=(0,t.computed)(()=>h.value.length>0),k=Q=>Q.length>1,p=(Q,A)=>{Array.isArray(Q)&&Array.isArray(A)&&Q.forEach(oe=>{A.some(fe=>fe.prop===oe.prop?(oe.label=fe.label,!0):!1)});const X=[];u.value=Q.map((oe,fe)=>(!(oe.label===""||oe.type)&&oe.visible!==!1&&X.push(oe.prop),{...oe,sortIndex:fe})),c.value.length+i.value.length+h.value.length===X.length?C.value=!0:X.length>0&&(N.value=!0),P.value=X},g=Q=>Q?Q.type?Q.type:Q.label?Q.prop:"":"",y=(Q,A)=>{if(Q.length!==A.length)return!1;const X=Q.map(oe=>g(oe));for(let oe of A){const fe=g(oe);if(X.indexOf(fe)===-1)return!1}return!0},b=Q=>{if(!Q){const A=e.tableRef.getColumnSetting(),X=A.srcColumnPropertyList;s=X.map((oe,fe)=>({...oe,sortIndex:fe})),Q=A.columnPropertyList,Q&&Q.length>0&&y(X,Q)||(Q=X)}p(Q,s)},E=()=>{e.tableRef.setColumnSetting(u.value)},d=(0,t.computed)(()=>({"max-width":`${Se(e.popoverWidth)-125}px`})),C=(0,t.ref)(!1),N=(0,t.ref)(!1),D=Q=>{const A=[];u.value.forEach(X=>{Q&&!(X.label===""||X.type)&&A.push(X.prop),X.visible=Q}),C.value=!1,N.value=!1,c.value.length+i.value.length+h.value.length===A.length?C.value=!0:A.length>0&&(N.value=!0),P.value=A,E()},Y=()=>{b(s),E()},P=(0,t.ref)([]),q=Q=>{u.value.forEach(X=>{X.label===""||X.type||(X.visible=Q.indexOf(X.prop)!==-1)}),C.value=!1,N.value=!1;const A=c.value.length+i.value.length+h.value.length;Q.length===A?C.value=!0:Q.length>0&&(N.value=!0),E()},T=()=>{b()};(0,t.onMounted)(()=>{setTimeout(()=>{b()},50)});const R={currentRow:null,index:null,roleType:null},_=Q=>Q?Q.dataset&&Q.dataset.role==="row"?Q:Q.tagName.toLowerCase()!=="body"?(Q=Q.parentElement,_(Q)):null:null,x=Q=>{const A=Q.currentTarget;A&&A.dataset&&(R.roleType=A.dataset.roleType,R.index=A.dataset.index)},K=Q=>{R.currentRow&&(R.currentRow.classList.remove("is-dragover"),R.currentRow=null),R.index=null,R.roleType=null},M=Q=>{const A=Q.currentTarget;Q.relatedTarget;const X=_(A);if(!X)return;const oe=X.dataset&&X.dataset.roleType;R.roleType===oe&&(Q.preventDefault(),R.currentRow&&R.currentRow!==X&&R.currentRow.classList.remove("is-dragover"),X.classList.add("is-dragover"),R.currentRow=X)},L=Q=>{Q.preventDefault(),R.currentRow&&(R.currentRow.classList.remove("is-dragover"),R.currentRow=null)},j=Q=>{const A=Q.currentTarget,X=_(A);if(!X)return;const oe=X.dataset&&X.dataset.roleType;if(R.roleType!==oe)return;Q.preventDefault();const fe=Number(R.index),re=Number(X.dataset.index);if(fe!==re){if(fe<re){const U=u.value[fe];u.value.splice(fe,1),u.value.splice(re,0,U)}else{const U=u.value[fe];u.value.splice(fe,1),u.value.splice(re+1,0,U)}p(u.value,s),E()}},B=Q=>{const A=u.value[Q];A.fixed="left",E()},H=Q=>{const A=u.value[Q];A.fixed="right",E()},ee=Q=>{const A=u.value[Q];A.fixed=void 0,E()},Z=new Map;let J=null;function W(Q){const A=document.createRange();return A.setStart(Q,0),A.setEnd(Q,Q.childNodes.length),A.getBoundingClientRect().width}return{...o,attrs:l,leftFixedColumns:i,rightFixedColumns:h,unFixedColumns:c,isShowNotFixedTitle:f,isShowLeftFixedTitle:m,isShowRightFixedTitle:$,isDraggble:k,isCheckAll:C,isIndeterminate:N,handleCheckAllChange:D,handleReset:Y,checkedValue:P,handleCheckChange:q,onShow:T,onDragStart:x,onDragEnd:K,onDragOver:M,onDragLeave:L,onDrop:j,toLeftFixed:B,toRightFixed:H,toUnFixed:ee,checkboxLabelStyle:d,onMouseOverForOverflowText:(Q,A,X)=>{const oe=Q.currentTarget;if(oe){const fe=Math.floor(oe.offsetWidth);if(Math.floor(W(oe))>fe){let re=Z.get(A);if(re){if(re===J)return;Xe.hide(re)}re=Xe.show(oe,X,{type:"text",placement:"top",closeOnClick:!1}),re&&(Z.set(A,re),J=re)}}},onMouseLeaveForOverflowText:(Q,A)=>{const X=Z.get(A);X&&(Xe.hide(X),X===J&&(J=null))},onMouseOverForTip:(Q,A)=>{const X=Q.currentTarget;X&&(J&&Xe.hide(J),J=Xe.show(X,A,{type:"text",placement:"top",closeOnClick:!1}))},onMouseLeaveForTip:Q=>{J&&(Xe.hide(J),J=null)}}}}),Vh={class:"fox-table-setting"},Ih={class:"fox-table-setting__header"},Ah={class:"fox-table-setting__body"},Bh={key:0,class:"fox-table-setting__body-list left-fixed","data-role":"container","data-role-type":"leftFixed"},Oh={key:0,class:"fox-table-setting__body-title"},Rh=["data-index","draggable"],Fh=["onMouseover","onMouseleave"],Mh={class:"tools-item"},Lh={key:1,class:"fox-table-setting__body-list not-fixed","data-role":"container","data-role-type":"unFixed"},_h={key:0,class:"fox-table-setting__body-title"},qh=["data-index","draggable"],zh=["onMouseover","onMouseleave"],jh={class:"tools-item"},Kh={key:2,class:"fox-table-setting__body-list right-fixed","data-role":"container","data-role-type":"rightFixed"},Hh={key:0,class:"fox-table-setting__body-title"},Wh=["data-index","draggable"],Yh=["onMouseover","onMouseleave"],Uh={class:"tools-item"};function Gh(e,n,l,r,a,o){const s=(0,t.resolveComponent)("FoxCheckbox"),u=(0,t.resolveComponent)("FoxButton"),i=(0,t.resolveComponent)("DragIcon"),h=(0,t.resolveComponent)("RefreshLeft"),c=(0,t.resolveComponent)("FoxIcon"),f=(0,t.resolveComponent)("Download"),m=(0,t.resolveComponent)("fox-checkbox"),$=(0,t.resolveComponent)("FoxCheckboxGroup"),k=(0,t.resolveComponent)("FoxPopover");return(0,t.openBlock)(),(0,t.createBlock)(k,(0,t.mergeProps)(e.attrs,{placement:e.popoverPlacement,width:e.popoverWidth,onShow:e.onShow,trigger:"click","popper-class":"fox-table-setting__popper"}),{reference:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,"default")]),default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("div",Vh,[(0,t.createElementVNode)("div",Ih,[(0,t.createVNode)(s,{modelValue:e.isCheckAll,"onUpdate:modelValue":n[0]||(n[0]=p=>e.isCheckAll=p),indeterminate:e.isIndeterminate,onChange:e.handleCheckAllChange},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.title),1)]),_:1},8,["modelValue","indeterminate","onChange"]),(0,t.createVNode)(u,{onClick:e.handleReset,link:"",type:"primary"},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.resetText),1)]),_:1},8,["onClick"])]),(0,t.createElementVNode)("div",Ah,[(0,t.createVNode)($,{modelValue:e.checkedValue,"onUpdate:modelValue":n[28]||(n[28]=p=>e.checkedValue=p),onChange:e.handleCheckChange},{default:(0,t.withCtx)(()=>[e.leftFixedColumns.length>0?((0,t.openBlock)(),(0,t.createElementBlock)("div",Bh,[e.isShowLeftFixedTitle?((0,t.openBlock)(),(0,t.createElementBlock)("div",Oh,(0,t.toDisplayString)(e.leftFixedTitle),1)):(0,t.createCommentVNode)("",!0),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.leftFixedColumns,p=>((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:p.prop,class:"fox-table-setting__body-row","data-role":"row","data-role-type":"leftFixed","data-index":p.sortIndex,draggable:e.isDraggble(e.leftFixedColumns),onDragstart:n[5]||(n[5]=(...g)=>e.onDragStart&&e.onDragStart(...g)),onDragend:n[6]||(n[6]=(...g)=>e.onDragEnd&&e.onDragEnd(...g)),onDrop:n[7]||(n[7]=(...g)=>e.onDrop&&e.onDrop(...g)),onDragover:n[8]||(n[8]=(...g)=>e.onDragOver&&e.onDragOver(...g)),onDragleave:n[9]||(n[9]=(...g)=>e.onDragLeave&&e.onDragLeave(...g))},[e.isDraggble(e.leftFixedColumns)?((0,t.openBlock)(),(0,t.createBlock)(i,{key:0,class:"icon-item"})):(0,t.createCommentVNode)("",!0),(0,t.createVNode)(s,{class:"checkbox-item",value:p.prop},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("span",{onMouseover:g=>e.onMouseOverForOverflowText(g,p.prop,p.label),onMouseleave:g=>e.onMouseLeaveForOverflowText(g,p.prop),class:"checkbox-item__label",style:(0,t.normalizeStyle)(e.checkboxLabelStyle)},(0,t.toDisplayString)(p.label),45,Fh)]),_:2},1032,["value"]),(0,t.createElementVNode)("div",Mh,[(0,t.createVNode)(c,{onClick:g=>e.toUnFixed(p.sortIndex),onMouseover:n[1]||(n[1]=g=>e.onMouseOverForTip(g,e.unFixedText)),onMouseleave:n[2]||(n[2]=g=>e.onMouseLeaveForTip(g))},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(h)]),_:1},8,["onClick"]),(0,t.createVNode)(c,{onClick:g=>e.toRightFixed(p.sortIndex),onMouseover:n[3]||(n[3]=g=>e.onMouseOverForTip(g,e.fixedRightText)),onMouseleave:n[4]||(n[4]=g=>e.onMouseLeaveForTip(g))},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(f)]),_:1},8,["onClick"])])],40,Rh))),128))])):(0,t.createCommentVNode)("",!0),e.unFixedColumns.length>0?((0,t.openBlock)(),(0,t.createElementBlock)("div",Lh,[e.isShowNotFixedTitle?((0,t.openBlock)(),(0,t.createElementBlock)("div",_h,(0,t.toDisplayString)(e.unFixedTitle),1)):(0,t.createCommentVNode)("",!0),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.unFixedColumns,p=>((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:p.prop,class:"fox-table-setting__body-row","data-role":"row","data-role-type":"unFixed","data-index":p.sortIndex,draggable:e.isDraggble(e.unFixedColumns),onDragstart:n[14]||(n[14]=(...g)=>e.onDragStart&&e.onDragStart(...g)),onDragend:n[15]||(n[15]=(...g)=>e.onDragEnd&&e.onDragEnd(...g)),onDrop:n[16]||(n[16]=(...g)=>e.onDrop&&e.onDrop(...g)),onDragover:n[17]||(n[17]=(...g)=>e.onDragOver&&e.onDragOver(...g)),onDragleave:n[18]||(n[18]=(...g)=>e.onDragLeave&&e.onDragLeave(...g))},[e.isDraggble(e.unFixedColumns)?((0,t.openBlock)(),(0,t.createBlock)(i,{key:0,class:"icon-item"})):(0,t.createCommentVNode)("",!0),(0,t.createVNode)(s,{class:"checkbox-item",value:p.prop},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("span",{onMouseover:g=>e.onMouseOverForOverflowText(g,p.prop,p.label),onMouseleave:g=>e.onMouseLeaveForOverflowText(g,p.prop),class:"checkbox-item__label",style:(0,t.normalizeStyle)(e.checkboxLabelStyle)},(0,t.toDisplayString)(p.label),45,zh)]),_:2},1032,["value"]),(0,t.createElementVNode)("div",jh,[(0,t.createVNode)(c,{onClick:g=>e.toLeftFixed(p.sortIndex),onMouseover:n[10]||(n[10]=g=>e.onMouseOverForTip(g,e.fixedLeftText)),onMouseleave:n[11]||(n[11]=g=>e.onMouseLeaveForTip(g)),class:"is-reverse"},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(f)]),_:1},8,["onClick"]),(0,t.createVNode)(c,{onClick:g=>e.toRightFixed(p.sortIndex),onMouseover:n[12]||(n[12]=g=>e.onMouseOverForTip(g,e.fixedRightText)),onMouseleave:n[13]||(n[13]=g=>e.onMouseLeaveForTip(g))},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(f)]),_:1},8,["onClick"])])],40,qh))),128))])):(0,t.createCommentVNode)("",!0),e.rightFixedColumns.length>0?((0,t.openBlock)(),(0,t.createElementBlock)("div",Kh,[e.isShowRightFixedTitle?((0,t.openBlock)(),(0,t.createElementBlock)("div",Hh,(0,t.toDisplayString)(e.rightFixedTitle),1)):(0,t.createCommentVNode)("",!0),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.rightFixedColumns,p=>((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:p.prop,class:"fox-table-setting__body-row","data-role":"row","data-role-type":"rightFixed","data-index":p.sortIndex,draggable:e.isDraggble(e.rightFixedColumns),onDragstart:n[23]||(n[23]=(...g)=>e.onDragStart&&e.onDragStart(...g)),onDragend:n[24]||(n[24]=(...g)=>e.onDragEnd&&e.onDragEnd(...g)),onDrop:n[25]||(n[25]=(...g)=>e.onDrop&&e.onDrop(...g)),onDragover:n[26]||(n[26]=(...g)=>e.onDragOver&&e.onDragOver(...g)),onDragleave:n[27]||(n[27]=(...g)=>e.onDragLeave&&e.onDragLeave(...g))},[e.isDraggble(e.rightFixedColumns)?((0,t.openBlock)(),(0,t.createBlock)(i,{key:0,class:"icon-item"})):(0,t.createCommentVNode)("",!0),(0,t.createVNode)(m,{class:"checkbox-item",label:p.prop},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("span",{onMouseover:g=>e.onMouseOverForOverflowText(g,p.prop,p.label),onMouseleave:g=>e.onMouseLeaveForOverflowText(g,p.prop),class:"checkbox-item__label",style:(0,t.normalizeStyle)(e.checkboxLabelStyle)},(0,t.toDisplayString)(p.label),45,Yh)]),_:2},1032,["label"]),(0,t.createElementVNode)("div",Uh,[(0,t.createVNode)(c,{onClick:g=>e.toUnFixed(p.sortIndex),onMouseover:n[19]||(n[19]=g=>e.onMouseOverForTip(g,e.unFixedText)),onMouseleave:n[20]||(n[20]=g=>e.onMouseLeaveForTip(g))},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(h)]),_:1},8,["onClick"]),(0,t.createVNode)(c,{onClick:g=>e.toLeftFixed(p.sortIndex),onMouseover:n[21]||(n[21]=g=>e.onMouseOverForTip(g,e.fixedLeftText)),onMouseleave:n[22]||(n[22]=g=>e.onMouseLeaveForTip(g)),class:"is-reverse"},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(f)]),_:1},8,["onClick"])])],40,Wh))),128))])):(0,t.createCommentVNode)("",!0)]),_:1},8,["modelValue","onChange"])])])]),_:3},16,["placement","width","onShow"])}var oa=ze(Ph,[["render",Gh]]),Xh=/scroll|auto|overlay/i,Oo=window;function Qh(e){return e.tagName!=="HTML"&&e.tagName!=="BODY"&&e.nodeType===1}function Ro(e,n=Oo){let l=e;for(;l&&l!==n&&Qh(l);){const{overflowY:r}=window.getComputedStyle(l);if(Xh.test(r))return l;l=l.parentNode}return n}function Fo(e,n=Oo){const l=(0,t.ref)();return(0,t.onMounted)(()=>{e.value&&(l.value=Ro(e.value,n))}),l}var Mo=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,Zh=class{scope;constructor(e){this.scope=e}async load(e,n,l,r,a,o,s){if(!n)return{totalSize:0,page:[]};if(Array.isArray(n)){let i=(l-1)*r,h=i+r;h>n.length&&(h=n.length);const c=n.slice(i,h);return{totalSize:n.length,page:c}}if(typeof n=="function")return await Reflect.apply(n,null,[l,r,a,o,s]);const u=tt(e,this.scope);return u===null?(console.error(`[FoxUI]${e} component not found api function`),{totalSize:0,page:[]}):(et(a)&&(0,t.isReactive)(a)&&(a=(0,t.toRaw)(a)),await Reflect.apply(u,null,[n,l,r,a,o,s]))}};function Jh(){const e=ut();return new Zh(e)}var em=class{scope;constructor(e){this.scope=e}async load(e){let n=null;const l=tt("tableSetting",this.scope);return typeof l=="function"&&(n=await Reflect.apply(l,null,["load",e])),n}save(e,n){const l=tt("tableSetting",this.scope);typeof l=="function"&&Reflect.apply(l,null,["save",e,n])}remove(e){const n=tt("tableSetting",this.scope);typeof n=="function"&&Reflect.apply(n,null,["remove",e])}};function Lo(){const e=ut();return new em(e)}var tm=Symbol.for("TableStateKey"),_o={data:{type:[String,Array,Function],required:!0},autoLoad:{type:[String,Boolean],required:!1,default:()=>!1},appearLoad:{type:[String,Boolean],required:!1,default:()=>!1},baseParams:{type:[Object]},params:{type:[Object]},rowClassName:{type:[Function,String]},cellClassName:{type:[Function,String]},rowClickSelectable:{type:[String,Boolean],required:!1,default:()=>!1},uniqueExpansion:{type:[String,Boolean],required:!1,default:()=>!1},showSetting:{type:[Boolean],required:!1,default:()=>!1},footerAlign:{type:[String],required:!1,default:()=>"right"}},qo={showPagination:{type:[Boolean],required:!1,default:()=>!0},pageIndex:{type:[Number],required:!1,default:()=>1},hideOnSinglePage:{type:[Boolean],required:!1,default:()=>!0},pageSize:{type:[Number],required:!1,default:()=>10},pageSizes:{type:[Array],required:!1},paginationLayout:{type:[String],required:!1,default:()=>"total, sizes, prev, pager, next, jumper"},paginationAlign:{type:[String],required:!1,default:()=>"right"},paginationBackground:{type:[Boolean],required:!1,default:()=>!1},paginationSize:{type:[String],required:!1,default:()=>"default"},paginationAppendSizeTo:{type:[String],required:!1},paginationTeleported:{type:[Boolean],required:!1,default:()=>!0},paginationPopperClass:{type:[String],required:!1},paginationpPrevText:{type:[String],required:!1},paginationPrevIcon:{type:[Object,String],required:!1},paginationNextText:{type:[String],required:!1},paginationNextIcon:{type:[Object,String],required:!1},paginationDisabled:{type:[Boolean],required:!1}},vl={popoverWidth:{type:[String,Number],required:!1,default:()=>280},popoverPlacement:{type:[String],required:!1,default:()=>"top-start"},title:{type:[String],required:!1},resetText:{type:[String],required:!1},leftFixedTitle:{type:[String],required:!1},rightFixedTitle:{type:[String],required:!1},unFixedTitle:{type:[String],required:!1},fixedLeftText:{type:[String],required:!1},fixedRightText:{type:[String],required:!1},unFixedText:{type:[String],required:!1}},nm={infiniteLoad:{type:Boolean,default:()=>!0},loadText:{type:String},noMoreText:{type:String}};function am(e,n){let l=n.split("."),r=e;for(let a=0;a<l.length;a++){let o=l[a],s=0,u=o.indexOf("["),i=u==-1?-1:o.indexOf("]",u);for(;u!==-1&&i!==-1;){let h=o.substring(u+1,i);if(/^\d+$/.test(h)){let c=parseInt(h);if(s==0){let f=o.substring(0,u);r=r[f][c]}else r=r[c];s++}u=o.indexOf("[",i),i=u==-1?-1:o.indexOf("]",u)}s===0&&(r=r[o])}return r}function bl(e,n){return e.filter(l=>{for(let r in n)if(n[r]!==am(l,r))return!1;return!0})}var lm={...Be,..._e,..._o,...qo,...vl,...nm};function rm(e,n,l){return{props:lm,emits:["change","page-size-change","page-index-change","current-change","loaded-data","expand-change","row-click"],setup(r,a){const{locale:o,toLocaleRefs:s}=(0,Pe.useFoxI18n)(n),u=s(r,["loadText","noMoreText"]),i=(0,t.ref)(),{emitEvent:h,broadcast:c,exposeApi:f}=Le({componentName:e,validateHandler:{getValue(...ue){return R.value}},get props(){return r},context:a,get templateRefProxy(){return i.value}},r.prop??a.attrs.name),m=e,$=(0,t.computed)(()=>({[m]:!0})),k=(0,t.computed)(()=>({[`${m}__content`]:!0})),p=(0,t.computed)(()=>({[`${m}__setting`]:!0})),g=(0,t.computed)(()=>({[`${m}__footer`]:!0,[`${m}__footer__${r.footerAlign}`]:!0})),y=(0,t.computed)(()=>({[`${m}__pagination`]:!0,[`${m}__pagination__${r.paginationAlign}`]:!0}));let b={};const E=()=>({...r.baseParams??{},...r.params??{},...b??{}}),d=Ce(r.infiniteLoad),C=(0,t.ref)(d?0:r.pageIndex??1),N=(0,t.ref)(De(r.pageSize));d||((0,t.watch)(()=>r.pageIndex,ue=>{C.value=ue}),(0,t.watch)(()=>r.pageSize,ue=>{N.value=De(ue)}),(0,t.watch)([C,N],([ue,he],[ve,be])=>{const Ae=De(he);Ae!==De(be)&&(K=!0,C.value=1,ue=1);const Ie=E();L(r.data,ue,Ae,Ie)}));const D=()=>Array.isArray(r.data)||!r.data?!0:Ce(r.autoLoad);D()&&((0,t.watch)([()=>r.params,()=>r.baseParams],async()=>{if(!D())return;const ue=E();d?H():C.value===1?L(r.data,C.value,N.value,ue):C.value=1},{deep:!0}),(0,t.watch)(()=>r.data,ue=>{if(D())if(d)H();else if(C.value===1){const he=E();L(ue,C.value,N.value,he)}else C.value=1},{deep:!1}));const Y=ue=>{C.value=ue,h("page-index-change",ue)},P=ue=>{N.value=ue,h("page-size-change",ue)},q=(0,t.ref)(!0),T=(0,t.ref)(0),R=(0,t.ref)([]),_=()=>Array.isArray(R.value)?R.value.length:0,x=Jh();let K=!0;const M=qe((0,t.computed)(()=>r.appearLoad),"appearLoad",st.Near,ue=>Ce(ue)),L=async(ue,he,ve,be,Ae)=>{try{if(Ae===!0){if(!q.value)return!1;const Ie=await x.load("table",ue,he,ve,be,K,o.value);return T.value=Ie?.totalSize??0,!Ie.page||!Array.isArray(Ie.page)?(q.value=!1,!1):(Reflect.apply([].push,R.value,Ie.page),setTimeout(()=>{h("loaded-data")},250),((R.value?.length??0)>=T.value||Ie.page.length<ve)&&(q.value=!1),!0)}else{const Ie=await x.load("table",ue,he,ve,be,K,o.value);return T.value=Ie?.totalSize??0,R.value=Ie?.page??[],setTimeout(()=>{h("loaded-data")},250),!0}}catch(Ie){console.error("[FoxUI] Load Table Data Fail",Ie),T.value=0,R.value=[]}finally{K=!1}return!1};let j=!1;const B=async()=>{try{if(j)return;const ue=C.value+1,he=E();await L(r.data,ue,N.value,he,!0)&&(C.value=ue)}finally{j=!1,q.value&&setTimeout(()=>{ne()&&B()},250)}},H=async(ue=!1)=>{if(j!==!0){j=!0,K=!0;try{if(ue&&C.value>0){C.value=C.value-1;const be=C.value*N.value,Ae=R.value.length-be;R.value.splice(be,Ae)}else C.value=0,R.value=[];q.value=!0;const he=C.value+1,ve=E();await L(r.data,he,N.value,ve,!0)&&(C.value=he)}finally{j=!1}}},ee=async(ue={},he=!1)=>{if(b={...(0,t.toRaw)(ue??{})},d)return H();try{if(j===!0)return;he||(C.value=r.pageIndex??1);const ve=E();await L(r.data,C.value,N.value,ve)}finally{j=!1}},Z=async(ue={},he=100)=>new Promise((ve,be)=>{setTimeout(async()=>{try{await ee(ue),ve()}catch(Ae){be(Ae)}},he)}),J=()=>{T.value=0,R.value=[],d===!0&&(C.value=0,q.value=!0)};let W=!1;const V=()=>{W||(W=!0,ee())};let O=null;const ne=()=>{if(!O&&Q.value&&(O=Ro(Q.value,je.value.$el)),!O)return!1;const ue=Q.value.getBoundingClientRect(),he=O.getBoundingClientRect();return ue.top<he.bottom&&ue.bottom>he.top};let ie=!1;const Q=(0,t.ref)(null),A=(0,t.ref)(!1);if(d===!0){let ue=null;const he=()=>{Q.value&&(ue=new IntersectionObserver(be=>{be.some(Ae=>Ae.isIntersecting)&&K===!1&&B()}),ue.observe(Q.value),ie=!0)},ve=()=>{ue&&(Q.value&&ue.unobserve(Q.value),ue.disconnect(),ue=null),ie=!1};(0,t.onMounted)(()=>{A.value=!0}),(0,t.watch)([()=>Q.value,()=>A.value],([be,Ae])=>{be&&Ae&&!ue&&he()}),(0,t.onBeforeUnmount)(ve)}D()&&!M.value&&ee();const X=(0,t.ref)(null);(0,t.provide)(tm,{currentRow:X});const oe=(ue,he)=>{X.value=ue,h("current-change",ue,he)},fe=(ue,he,ve)=>{h("row-click",ue,he,ve),Ce(r.rowClickSelectable)===!0&&je?.value.toggleRowSelection(ue)},re=[],U=(ue,he)=>{if(h("expand-change",ue,he),Ce(r.uniqueExpansion))if(Array.isArray(he)&&he.length==0){const ve=re.length;re.splice(0,ve)}else{re.forEach(be=>{be!==ue&&je?.value.toggleRowExpansion(be,!1)});const ve=re.length;re.splice(0,ve,ue)}},S=a.attrs.id??r.prop??a.attrs.name,w=Lo(),G=(0,t.ref)([]);let te=[];const F=()=>({srcColumnPropertyList:te.map(ue=>({...ue})),columnPropertyList:G.value}),z=ue=>{G.value=[...ue],le()},ae=async()=>{const ue=await w.load(S);ue&&(G.value=ue)},le=()=>{w.save(S,G.value)},se=()=>{w.remove(S)};ae();const ce=ue=>ue?ue.type?ue.type:ue.label?ue.prop:"":"",me=(ue,he={})=>{for(let ve in he){const be=he[ve];typeof be!="function"&&(ue[ve]=be)}},Ne=ue=>{const he=ue?ue():[],ve=new Map;if(te=[],he.forEach(be=>{const Ae=be;if(!Ae.props)return;const Ie=ce(Ae.props);ve.set(Ie,Ae);const Ge={label:"",prop:""};me(Ge,Ae.props),te.push(Ge)}),G.value.length===te.length){const be=[];for(let Ae of G.value){const Ie=ce(Ae),Ge=ve.get(Ie);if(!Ge)return he;if(Ae.visible===!1)continue;const ot=Ge;ot.props.fixed=Ae.fixed,be.push(ot)}return be}return he},ye=(0,t.shallowRef)(new Map),$e=({row:ue,column:he,rowIndex:ve,columnIndex:be})=>{const Ae=`${ve}_${he.property}`,Ie=`${ve}_${be}`;let Ge=ye.value.get(Ae);return Ge||(Ge=ye.value.get(Ie)),typeof Ge=="string"?Ge:""},xe=ue=>ue?he=>{const ve=[];let be=$e(he);return be&&ve.push(be),be=typeof ue=="function"?ue(he):ue,be&&ve.push(be),ve.length===0?"":ve.join(" ")}:$e,Re=(ue=!1)=>{ye.value.forEach((he,ve)=>{Fe(ve,he,ue)})},Fe=(ue,he,ve=!1)=>{const be=`${ue}_item`;ve?(c.clearPersistantMessage(),Array.isArray(he)?c.emitToChildren({name:ue},"setCellClassNames",[]):c.emitToChildren({name:be},"setCustomClassName","")):Array.isArray(he)?c.emitToChildren({name:ue,cachePolicy:"Persistant",uniqueId:be},"setCellClassNames",he):c.emitToChildren({name:be,cachePolicy:"Persistant",uniqueId:be},"setCustomClassName",he)},at=(ue,he,ve)=>{const be=`${ue}_${he}`;ve?(ye.value.set(be,ve),Fe(be,ve)):(ye.value.delete(be),Fe(be,"",!0)),(0,t.triggerRef)(ye)},Xt=ue=>{Re(!0),ye.value.clear(),ue.forEach(he=>{const ve=`${he.rowIndex}_${he.column}`;Array.isArray(he.children)?ye.value.set(ve,he.children):typeof he.cellClassName=="string"&&ye.value.set(ve,he.cellClassName)}),Re(),(0,t.triggerRef)(ye)},yt=()=>{Re(),ye.value.clear(),(0,t.triggerRef)(ye)},ct=(0,t.shallowRef)(new Map),lt=({rowIndex:ue})=>{const he=`${ue}`;return ct.value.get(he)??""},Ue=ue=>ue?he=>{const ve=[];let be=lt(he);return be&&ve.push(be),be=typeof ue=="function"?ue(he):ue,be&&ve.push(be),ve.length===0?"":ve.join(" ")}:lt,de=(ue,he)=>{const ve=`${ue}`;he?ct.value.set(ve,he):ct.value.delete(ve),(0,t.triggerRef)(ct)},pe=()=>{ct.value.clear(),(0,t.triggerRef)(ct)},je=(0,t.ref)();return f({clearSelection:()=>je?.value.clearSelection(),getSelectionRows:()=>je?.value.getSelectionRows(),toggleRowSelection:(ue,he)=>{je?.value.toggleRowSelection(ue,he)},toggleRowSelectionByProp:(ue,he)=>{if(!R.value)return;const ve=bl(R.value,ue);ve.length!==0&&ve.forEach(be=>{je?.value.toggleRowSelection(be,he)})},toggleAllSelection:()=>{je?.value.toggleAllSelection()},toggleRowExpansion:(ue,he)=>{je?.value.toggleRowExpansion(ue,he)},toggleRowExpansionByProp:(ue,he)=>{if(!R.value)return;const ve=bl(R.value,ue);ve.length!==0&&ve.forEach(be=>{je?.value.toggleRowExpansion(be,he)})},setCurrentRow:ue=>{je?.value.setCurrentRow(ue)},setCurrentRowByProp:ue=>{if(!R.value)return;const he=bl(R.value,ue);he.length!==0&&je?.value.setCurrentRow(he[0])},getCurrentRow:()=>X.value,clearSort:()=>{je?.value.clearSort()},clearFilter:ue=>{je?.value.clearFilter(ue)},doLayout:()=>{je?.value.doLayout()},sort:(ue,he)=>{je?.value.sort(ue,he)},scrollTo:(ue,he)=>{je?.value.scrollTo(ue,he)},setScrollTop:ue=>{je?.value.setScrollTop(ue)},setScrollLeft:ue=>{je?.value.setScrollLeft(ue)},loadData:ee,delayLoadData:Z,clearData:J,getData(){return R.value},getTotalSize(){return T.value},getPageIndex(){return C.value},getPageSize(){return N.value},getColumnSetting:F,setColumnSetting:z,removeColumnSetting:se,setCellClassName:at,setCellClassNames:Xt,clearCellClassName:yt,setRowClassName:de,clearRowClassName:pe}),()=>{const ue={...ft(a.attrs),onCurrentChange:oe,onRowClick:fe,onExpandChange:U,data:R.value,ref:je,class:k.value,"cell-class-name":xe(r.cellClassName),"row-class-name":Ue(r.rowClassName)},he={};if(a.slots.default&&(he.default=()=>Ne(a.slots.default)),a.slots.append&&(he.append=a.slots.append),a.slots.empty&&(he.empty=a.slots.empty),d===!0){const Ge=_();if(ie===!0||Ge>0){const ot=[];if(q.value){const Qt=(0,t.h)(Ke.Loading,{class:`${m}__infinite-icon`});ot.push(Qt);const Dn=(0,t.h)("span",{class:`${m}__infinite-text`},[u.loadText.value]);ot.push(Dn)}else{let Qt=u.noMoreText.value;(!R.value||R.value.length===0)&&(Qt="");const Dn=(0,t.h)("span",{class:`${m}__infinite-text`},[Qt]);ot.push(Dn)}const ba=[`${m}__infinite`];K&&ba.push("is-hide");const lr=(0,t.h)("div",{ref:Q,class:ba},ot);he.append=()=>lr}}const ve=(0,t.h)(I.ElTable,ue,he),be=[];if(be.push(ve),!d){let Ge=null;if(typeof a.slots.pagination=="function")Ge=a.slots.pagination();else if(r.showPagination){const ot={class:y.value,total:T.value,pageSize:N.value,"onUpdate:pageSize":P,pageSizes:r.pageSizes,currentPage:C.value,"onUpdate:currentPage":Y,hideOnSinglePage:r.hideOnSinglePage,layout:r.paginationLayout,size:r.paginationSize,background:r.paginationBackground,appendSizeTo:r.paginationAppendSizeTo,teleported:r.paginationTeleported,popperClass:r.paginationPopperClass,prevText:r.paginationpPrevText,prevIcos:r.paginationPrevIcon,nextText:r.paginationNextText,pnextIcon:r.paginationNextIcon,disabled:r.paginationDisabled};Ge=(0,t.h)(I.ElPagination,ot)}if(r.showSetting){const ot=[];Ge&&ot.push(Ge);const ba=(0,t.h)(I.ElIcon,{class:p.value},{default:()=>(0,t.h)(Ke.Setting)}),lr=wt(r,vl),Qt=(0,t.h)(oa,{...lr,tableRef:{getColumnSetting:F,setColumnSetting:z,removeColumnSetting:se}},{default:()=>ba});ot.push(Qt);const Dn=(0,t.h)("div",{class:g.value},ot);be.push(Dn)}else Ge&&be.push(Ge)}const Ae={default:()=>be},Ie={...Me(r,_o,qo,vl),ref:i};return r.prop&&(Ie.prop=`${r.prop}_item`),Ie.class=$.value,Ie.contentClass=`${m}__wrap`,Ie.errorMarkClass="is-table-error",M.value&&D()&&(Ie["appear-listen"]=!0,Ie.onAppear=V),l(Ie,Ae)}}}}var{componentName:om,create:im,scope:sm}=ge("table-item"),um=im(rm(om,sm,Ye)),wl=um;function Kt(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function bn(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function cm(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}var fm=class{scope;constructor(e){this.scope=e}async load(e,n,l){if(!n)return[];if(Array.isArray(n))return n;if(typeof n=="function")return await n(l);const r=tt(e,this.scope);return r===null?(console.error(`[FoxUI]${e} component not found api function`),[]):(et(l)&&(0,t.isReactive)(l)&&(l=(0,t.toRaw)(l)),await r(n,l))}};function dm(){const e=ut();return new fm(e)}function zo(e,n,l){return n===l?!0:!(n===null||l===null||Kt(e,n)!==Kt(e,l)||bn(e,n)!==bn(e,l))}function hm(e,n,l,r){if(r.length==0||n===""||n===null||n===void 0)return null;let a=null;for(let o of r){let s=!1;if(l==="text")s=Kt(e,o)===n;else if(l==="item")s=zo(e,o,n);else{let u=bn(e,o);u==null&&(u=Kt(e,o)),s=u===n}if(s){a=o;break}}return a}function mm(e){return{text:e,value:e}}function gm(e,n,l){return typeof e.itemOptions=="function"?e.itemOptions(n,l):e.itemOptions}var jo={modelValue:{type:[String,Object,Boolean,Number],required:!1},source:{type:[Array,Function,String],default:[]},sourceFilter:{type:[Function]},params:{type:Object},valueType:{type:String,required:!1,default:"value"},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},disabledKey:{type:[String],required:!1,default:"disabled"},size:{type:[String],required:!1},textColor:{type:[String],required:!1},fill:{type:[String],required:!1},border:{type:[Boolean],required:!1},itemType:{type:[String],required:!1,default:"radio"},itemOptions:{type:[Object,Function],required:!1},direction:{type:[String],required:!1,default:"horizontal"},appearLoad:{type:[Boolean,String],default:!1}},ym={...Be,..._e,...jo};function pm(e,n,l,r){return{inheritAttrs:!0,props:ym,emits:["change","update:modelValue","setValue"],setup(a,o){const{itemTemplateRef:s,innerDisabled:u,disabled:i,innerReadonly:h,readonly:c,browse:f}=We(a),{emitEvent:m,exposeApi:$}=Le({componentName:e,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus","setValue"],get readonly(){return c.value},get disabled(){return i.value},get props(){return a},context:o,get templateRefProxy(){return s.value}},a.prop??o.attrs.name),k=(0,t.ref)(null),p=(0,t.ref)(null),g=(x,K,M,L=!0)=>{const j=hm(a,x,K,M);if(j===null){if(p.value===null)return;p.value=null,k.value=null,L&&(m("update:modelValue",null),m("change",null));return}if(!zo(a,j,p.value)){k.value=x;const B=(0,t.toRaw)(j);p.value=B;let H=null;a.valueType==="text"?H=Kt(a,B):a.valueType==="item"?H=B:H=bn(a,B),L&&(m("update:modelValue",H),m("change",H))}},y=(0,t.ref)([]),b=qe((0,t.computed)(()=>a.appearLoad),"appearLoad",st.Near,x=>Ce(x)),E=dm(),d=async(x,K)=>{if(x){const M=await E.load("radio",x,K);if(M.length>0)if(typeof M[0]=="string"){let L=M.map(j=>mm(j));y.value=L}else y.value=M}};(0,t.watch)([()=>a.source,()=>a.params],async([x,K])=>{d(x,K)},{immediate:!b.value});let C=!1;const N=()=>{C||(C=!0,d(a.source,a.params))};(0,t.watch)([()=>y.value,()=>a.modelValue],([x,K])=>{g(K,a.valueType,x,!1),m("setValue",K)});const D=e,Y=(0,t.computed)(()=>({[D]:!0,disabled:i.value,readonly:c.value})),P=(0,t.computed)(()=>({[`${D}__content`]:!0,[`is-${a.direction}`]:!0})),q=x=>{g(x,"value",y.value,!0)};let T=Ve(a,"hintText"),R=Ve(a,"hintVisible");const _=(x,K)=>{typeof a.sourceFilter=="function"&&(x=x.filter(a.sourceFilter));const M=[];return x.forEach((L,j)=>{const B=bn(a,L),H=Kt(a,L);let ee=cm(a,L);i.value===!0&&(ee=i.value),c.value===!0&&(ee=c.value);const Z=gm(a,L,j)??{},J=`${B}_${j}`,W={...Z,key:J,value:B,size:a.size,border:Ce(a.border)};ee&&(W.disabled=ee),a.itemType==="button"?M.push((0,t.h)(I.ElRadioButton,W,{default:()=>[H]})):typeof K=="function"?M.push((0,t.h)(I.ElRadio,W,{default:()=>K(L)})):M.push((0,t.h)(I.ElRadio,W,{default:()=>[H]}))}),M};return $({setDisabled:x=>{u.value=x},setReadonly:x=>{h.value=x}}),()=>{if(f.value==="on"&&(c.value||i.value))return r({modelValue:k.value,source:y.value,valueType:a.valueType,textKey:a.textKey,valueKey:a.valueKey,span:a.span,labelPosition:a.labelPosition,labelWidth:a.labelWidth},o.slots);const x={...ft(o.attrs),class:P.value,disabled:i.value||c.value,modelValue:k.value,"text-color":a.textColor,fill:a.fill,onChange:q},K=[],M={};o.slots.options?M.default=o.slots.options:M.default=()=>_(y.value,o.slots.text);const L=(0,t.h)(I.ElRadioGroup,x,M);K.push(L);const j={default:()=>K};j.label=o.slots.default,j.fixedPreTip=o.slots.fixedPreTip,j.fixedTip=o.slots.fixedTip;const B={...Me(a,jo),ref:s,class:Y.value,hintText:T.value,hintVisible:R.value};return a.prop&&(B.prop=`${a.prop}_item`),b.value&&(B["appear-listen"]=!0,B.onAppear=N),l(B,j)}}}}var{componentName:vm,create:bm,scope:wm}=ge("radio-item"),Sm=bm(pm(vm,wm,Ye,Ze)),Sl=Sm;function Ht(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function Wt(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function Cm(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}var Tm=class{scope;constructor(e){this.scope=e}async load(e,n,l){if(!n)return[];if(Array.isArray(n))return n;if(typeof n=="function")return await n(l);const r=tt(e,this.scope);return r===null?(console.error(`[FoxUI]${e} component not found api function`),[]):(et(l)&&(0,t.isReactive)(l)&&(l=(0,t.toRaw)(l)),await r(n,l))}};function xm(){const e=ut();return new Tm(e)}function Ko(e,n,l){return n===l?!0:!(n===null||l===null||Ht(e,n)!==Ht(e,l)||Wt(e,n)!==Wt(e,l))}function km(e,n,l,r){if(r.length==0||n===""||n===null||n===void 0)return null;Array.isArray(n)||(n=[n]);const a=[];return n.forEach(o=>{for(let s of r){let u=!1;if(l==="text")u=Ht(e,s)===o;else if(l==="item")u=Ko(e,s,o);else{let i=Wt(e,s);i==null&&(i=Ht(e,s)),u=i===o}if(u){a.push(s);break}}}),a}function $m(e){return{text:e,value:e}}function Nm(e,n,l){return typeof e.itemOptions=="function"?e.itemOptions(n,l):e.itemOptions}var Ho={modelValue:{type:[Array,String],required:!1},source:{type:[Array,Function,String],default:[]},sourceFilter:{type:[Function]},params:{type:Object},valueType:{type:String,required:!1,default:"value"},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},disabledKey:{type:[String],required:!1,default:"disabled"},size:{type:[String],required:!1},textColor:{type:[String],required:!1},fill:{type:[String],required:!1},border:{type:[Boolean],required:!1},min:{type:[String,Number],required:!1},max:{type:[String,Number],required:!1},itemType:{type:[String],required:!1,default:"checkbox"},itemOptions:{type:[Object,Function],required:!1},direction:{type:[String],required:!1,default:"horizontal"},appearLoad:{type:[Boolean,String],default:!1},separator:{type:[String],required:!1,default:", "}},Dm={...Be,..._e,...Ho};function Em(e,n,l,r){return{inheritAttrs:!0,props:Dm,emits:["change","update:modelValue","setValue"],setup(a,o){const{itemTemplateRef:s,innerDisabled:u,disabled:i,innerReadonly:h,readonly:c,browse:f}=We(a),{emitEvent:m,exposeApi:$}=Le({componentName:e,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus","setValue"],get readonly(){return c.value},get disabled(){return i.value},get props(){return a},context:o,get templateRefProxy(){return s.value}},a.prop??o.attrs.name),k=(0,t.ref)([]),p=(0,t.ref)([]),g=(x,K,M,L=!0)=>{const j=km(a,x,K,M);if(j===null){if(p.value===null||p.value.length===0)return;k.value=[],p.value=[],L&&(m("update:modelValue",[]),m("change",[]));return}let B=!0;if(j.length!==p.value.length)B=!1;else for(let H=0;H<j.length;H++){const ee=j[H],Z=p.value[H];if(!Ko(a,ee,Z)){B=!1;break}}if(!B){p.value=j;let H=[],ee=[];j.forEach(J=>{H.push(Wt(a,J)),a.valueType==="text"?ee.push(Ht(a,J)):a.valueType==="item"?ee.push(J):ee.push(Wt(a,J))}),k.value=H;const Z=(0,t.toRaw)(ee);L&&(m("update:modelValue",Z),m("change",Z))}},y=(0,t.ref)([]),b=qe((0,t.computed)(()=>a.appearLoad),"appearLoad",st.Near,x=>Ce(x)),E=xm(),d=async(x,K)=>{if(x){const M=await E.load("checkbox",x,K);if(M.length>0)if(typeof M[0]=="string"){let L=M.map(j=>$m(j));y.value=L}else y.value=M}};(0,t.watch)([()=>a.source,()=>a.params],async([x,K])=>{d(x,K)},{immediate:!b.value});let C=!1;const N=()=>{C||(C=!0,d(a.source,a.params))};(0,t.watch)([()=>y.value,()=>a.modelValue],([x,K])=>{g(K,a.valueType,x,!1),m("setValue",K)});const D=e,Y=(0,t.computed)(()=>({[D]:!0,disabled:i.value,readonly:c.value})),P=(0,t.computed)(()=>({[`${D}__content`]:!0,[`is-${a.direction}`]:!0})),q=x=>{g(x,"value",y.value,!0)};let T=Ve(a,"hintText"),R=Ve(a,"hintVisible");const _=(x,K)=>{typeof a.sourceFilter=="function"&&(x=x.filter(a.sourceFilter));const M=[];return x.forEach((L,j)=>{const B=Wt(a,L),H=Ht(a,L);let ee=Cm(a,L);i.value===!0&&(ee=i.value),c.value===!0&&(ee=c.value);const Z=Nm(a,L,j)??{},J=`${B}_${j}`,W={...Z,key:J,value:B,size:a.size,border:Ce(a.border)};ee&&(W.disabled=ee),a.itemType==="button"?M.push((0,t.h)(I.ElCheckboxButton,W,{default:()=>[H]})):typeof K=="function"?M.push((0,t.h)(I.ElCheckbox,W,{default:()=>K(L)})):M.push((0,t.h)(I.ElCheckbox,W,{default:()=>[H]}))}),M};return $({setDisabled:x=>{u.value=x},setReadonly:x=>{h.value=x}}),()=>{if(f.value==="on"&&(c.value||i.value))return r({modelValue:k.value,source:y.value,valueType:a.valueType,textKey:a.textKey,valueKey:a.valueKey,separator:a.separator,span:a.span,labelPosition:a.labelPosition,labelWidth:a.labelWidth},o.slots);const x={...ft(o.attrs),class:P.value,disabled:i.value||c.value,modelValue:k.value,"text-color":a.textColor,fill:a.fill,max:De(a.max),min:De(a.min),onChange:q},K=[],M={};o.slots.options?M.default=o.slots.options:M.default=()=>_(y.value,o.slots.text);const L=(0,t.h)(I.ElCheckboxGroup,x,M);K.push(L);const j={default:()=>K};j.label=o.slots.default,j.fixedPreTip=o.slots.fixedPreTip,j.fixedTip=o.slots.fixedTip;const B={...Me(a,Ho),ref:s,class:Y.value,hintText:T.value,hintVisible:R.value};return a.prop&&(B.prop=`${a.prop}_item`),b.value&&(B["appear-listen"]=!0,B.onAppear=N),l(B,j)}}}}var{componentName:Pm,create:Vm,scope:Im}=ge("checkbox-item"),Am=Vm(Em(Pm,Im,Ye,Ze)),Cl=Am,Wo={modelValue:{type:[Number,String],required:!1}},Bm={...Be,..._e,...Wo};function Om(e,n,l,r){return{props:Bm,emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(a,o){const{itemTemplateRef:s,innerDisabled:u,disabled:i,innerReadonly:h,readonly:c,browse:f}=We(a),{emitEvent:m,exposeApi:$}=Le({componentName:e,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus","setValue"],get readonly(){return c.value},get disabled(){return i.value},get props(){return a},context:o,get templateRefProxy(){return s.value}},a.prop??o.attrs.name),k=Ve(a,"modelValue",N=>De(N),m),p=e,g=(0,t.computed)(()=>({[p]:!0,disabled:i.value,readonly:c.value})),y=(0,t.computed)(()=>({[`${p}__content`]:!0})),b=N=>{m("update:modelValue",N),m("change",N)};let E=Ve(a,"hintText"),d=(0,t.ref)(!1);const C=(0,t.ref)();return $({setDisabled:N=>{u.value=N},setReadonly:N=>{h.value=N}}),()=>{if(f.value==="on"&&(c.value||i.value))return r({modelValue:k.value,span:a.span,labelPosition:a.labelPosition,labelWidth:a.labelWidth},o.slots);const N={...ft(o.attrs),ref:C,class:y.value,readonly:c.value||i.value,modelValue:k.value,onChange:b},D={},Y=[],P=(0,t.h)(I.ElRate,N,D);Y.push(P);const q={default:()=>Y};q.label=o.slots.default,q.fixedPreTip=o.slots.fixedPreTip,q.fixedTip=o.slots.fixedTip;const T={...Me(a,Wo),ref:s,class:g.value,hintText:E.value,hintVisible:d.value};return a.prop&&(T.prop=`${a.prop}_item`),l(T,q)}}}}var{componentName:Rm,create:Fm,scope:Mm}=ge("rate-item"),Lm=Fm(Om(Rm,Mm,Ye,Ze)),Tl=Lm,Yo={modelValue:{type:[Boolean,String,Number],required:!1},activeValue:{type:[Boolean,String,Number],required:!1,default:()=>!0},inactiveValue:{type:[Boolean,String,Number],required:!1,default:()=>!1},activeText:{type:[String],required:!1},inactiveText:{type:[String],required:!1}},_m={...Be,..._e,...Yo};function qm(e,n,l,r){return{props:_m,emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(a,o){const{itemTemplateRef:s,innerDisabled:u,disabled:i,innerReadonly:h,readonly:c,browse:f}=We(a),{emitEvent:m,exposeApi:$}=Le({componentName:e,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus","setValue"],get readonly(){return c.value},get disabled(){return i.value},get props(){return a},context:o,get templateRefProxy(){return s.value}},a.prop??o.attrs.name),k=(0,t.ref)(a.modelValue);(0,t.watch)(()=>a.modelValue,D=>{k.value!==D&&(k.value=D)});const p=e,g=(0,t.computed)(()=>({[p]:!0,disabled:i.value,readonly:c.value})),y=(0,t.computed)(()=>({[`${p}__content`]:!0})),b=D=>{k.value=D,m("update:modelValue",D),m("change",D)};let E=Ve(a,"hintText"),d=Ve(a,"hintVisible");const C=(0,t.ref)();$({setDisabled:D=>{u.value=D},setReadonly:D=>{h.value=D}});const N=(0,t.computed)(()=>{let D=`${k.value}`;return a.inactiveText&&k.value===a.inactiveValue?D=a.inactiveText:a.activeText&&k.value===a.activeValue&&(D=a.activeText),D});return()=>{if(f.value==="on"&&(c.value||i.value))return r({modelValue:N.value,span:a.span,labelPosition:a.labelPosition,labelWidth:a.labelWidth},o.slots);const D={...ft(o.attrs),ref:C,class:y.value,disabled:i.value||c.value,"active-value":a.activeValue,"inactive-value":a.inactiveValue,"active-text":a.activeText,"inactive-text":a.inactiveText,"model-value":k.value,"onUpdate:modelValue":b},Y={},P=[],q=(0,t.h)(I.ElSwitch,D,Y);P.push(q);const T={default:()=>P};T.label=o.slots.default,T.fixedPreTip=o.slots.fixedPreTip,T.fixedTip=o.slots.fixedTip;const R={...Me(a,Yo),ref:s,class:g.value,hintText:E.value,hintVisible:d.value};return a.prop&&(R.prop=`${a.prop}_item`),l(R,T)}}}}var{componentName:zm,create:jm,scope:Km}=ge("switch-item"),Hm=jm(qm(zm,Km,Ye,Ze)),xl=Hm,Uo={modelValue:{type:[String,Number,Boolean,Object]},data:{type:[String,Function,Array],required:!0},params:{type:[Object],required:!1},placeholder:{type:[String],required:!1},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},childrenKey:{type:[String],required:!1,default:"children"},leafKey:{type:[String],required:!1,default:"leaf"},classKey:{type:[String],required:!1,default:"class"},lazy:{type:[Boolean],required:!1},load:{type:[Function],required:!1}},Wm=class{scope;constructor(e){this.scope=e}async load(e,n,l,r,a){if(!n)return[];if(Array.isArray(n))return n;if(typeof n=="function")return await n(l,r);const o=tt(e,this.scope);return o===null?(console.error(`[FoxUI]${e} component not found api function`),[]):(et(l)&&(0,t.isReactive)(l)&&(l=(0,t.toRaw)(l)),await o(n,l,r))}};function Ym(){const e=ut();return new Wm(e)}var Go={modelValue:{type:[String,Number,Boolean,Array],required:!1},maxLength:{type:[String,Number]}},Um={...Be,..._e,...Go,...Uo};function Gm(e,n,l,r){return{props:Um,emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(a,o){const{itemTemplateRef:s,innerDisabled:u,disabled:i,innerReadonly:h,readonly:c,browse:f}=We(a),m=(0,t.ref)(!1),{emitEvent:$,exposeApi:k}=Le({componentName:e,get readonly(){return c.value},get disabled(){return i.value},get props(){return a},context:o,get templateRefProxy(){return s.value}},a.prop??o.attrs.name),p=Ve(a,"modelValue",null,$),{toLocaleRefs:g}=(0,Pe.useFoxI18n)(n),y=g(a,["placeholder"]),b=e,E=(0,t.computed)(()=>({[b]:!0,disabled:i.value,readonly:c.value})),d=(0,t.computed)(()=>({[`${b}__content`]:!0})),C=B=>{p.value=B,$("update:modelValue",B),$("change",B)};let N=Ve(a,"hintText"),D=(0,t.ref)(!1);const Y=B=>{let H=B.target.value;m.value=!0,ke(N.value)||(D.value=!0),$("focus",H,B)},P=B=>{setTimeout(()=>{D.value&&(D.value=!1),m.value=!1},0);let H=B.target.value;a.maxLength&&H.length>Number(a.maxLength)&&(H=H.slice(0,Number(a.maxLength))),T.value||$("blur",H,B)},q=()=>{$("clear","")},T=(0,t.ref)(!1),R=B=>{T.value=B,$("visible-change",B),B||$("selected")},_=(0,t.ref)([]),x=Ym(),K=async(B,H)=>{try{const ee=await x.load("treeselect",B,H);_.value=ee}catch(ee){console.error(ee)}};(0,t.watch)([()=>a.data,()=>a.params,()=>a.lazy],([B,H,ee])=>{!B||ee||K(B,H)},{immediate:!0});let M=null;a.lazy&&(typeof a.load=="function"?M=a.load:M=async(B,H)=>{let ee={};a.params&&Object.assign(ee,a.params),B&&Object.assign(ee,B),H(await x.load("treeselect",a.data,ee,!0))});let L={label:a.textKey,value:a.valueKey,children:a.childrenKey,isLeaf:a.leafKey,class:a.classKey};const j=(0,t.ref)();return k({focus:()=>{j?.value.focus()},blur:()=>{j?.value.blur()},setDisabled:B=>{u.value=B},setReadonly:B=>{h.value=B}}),()=>{if(f.value==="on"&&(c.value||i.value))return r({modelValue:p.value,source:a.data,textKey:a.textKey,valueKey:a.valueKey,childrenKey:a.childrenKey,span:a.span,labelPosition:a.labelPosition,labelWidth:a.labelWidth},o.slots);const B=i.value||c.value?"":y.placeholder.value,H={...ft(o.attrs),ref:j,class:d.value,placeholder:B,disabled:i.value||c.value,modelValue:p.value,"onUpdate:modelValue":C,lazy:a.lazy,props:L,onClear:q,onFocus:Y,onBlur:P,onVisibleChange:R};M?H.load=M:H.data=_.value;const ee={};o.slots.option&&(ee.default=o.slots.option);const Z=[],J=(0,t.h)(I.ElTreeSelect,H,ee);Z.push(J);const W={default:()=>Z};W.label=o.slots.default,W.fixedPreTip=o.slots.fixedPreTip,W.fixedTip=o.slots.fixedTip;const V={...Me(a,Go,Uo),ref:s,class:E.value,hintText:N.value,hintVisible:D.value};return a.prop&&(V.prop=`${a.prop}_item`),l(V,W)}}}}var{componentName:Xm,create:Qm,scope:Zm}=ge("tree-select-item"),Jm=Qm(Gm(Xm,Zm,Ye,Ze)),kl=Jm,eg={},tg={t:"1685254841130",class:"fox-table-setting__drag-icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"721"};function ng(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)("svg",tg,[...n[0]||(n[0]=[(0,t.createElementVNode)("path",{d:"M235.84 813.632c-54.528 0-98.816 41.792-98.816 93.312 0 51.584 44.288 93.312 98.816 93.312 54.592 0 98.816-41.728 98.816-93.312 0-51.52-44.224-93.312-98.816-93.312z m0-400.832c-54.528 0-98.816 41.792-98.816 93.312 0 51.52 44.288 93.44 98.816 93.44 54.592 0 98.816-41.92 98.816-93.44 0-51.52-44.224-93.312-98.816-93.312z m0-400.832C181.312 11.968 137.024 53.76 137.024 105.408c0 51.456 44.288 93.248 98.816 93.248 54.592 0 98.816-41.728 98.816-93.312C334.72 53.76 290.432 11.968 235.84 11.968z m527.104 801.664c-54.528 0-98.816 41.792-98.816 93.312 0 51.584 44.288 93.312 98.816 93.312 54.528 0 98.816-41.728 98.816-93.312 0-51.52-44.288-93.312-98.816-93.312z m0-400.832c-54.528 0-98.816 41.792-98.816 93.312 0 51.52 44.288 93.44 98.816 93.44 54.528 0 98.816-41.92 98.816-93.44 0-51.52-44.288-93.312-98.816-93.312z m0-400.832c-54.528 0-98.816 41.792-98.816 93.44 0 51.456 44.288 93.248 98.816 93.248 54.528 0 98.816-41.728 98.816-93.312 0-51.584-44.288-93.376-98.816-93.376z","p-id":"722"},null,-1)])])}var ag=ze(eg,[["render",ng]]),{componentName:yb,create:lg,scope:rg}=ge("group-setting"),og={groupProp:{type:[String]},groupRef:{type:[Object]},popoverPlacement:{type:[String],required:!1,default:"bottom"},popoverWidth:{type:[String,Number],required:!1,default:280},title:{type:[String],required:!1},resetText:{type:[String],required:!1},initDelay:{type:[Number],required:!1,default:50},toTopText:{type:[String],required:!1},toBottomText:{type:[String],required:!1}},ig=lg({components:{FoxPopover:I.ElPopover,FoxCheckbox:I.ElCheckbox,FoxCheckboxGroup:I.ElCheckboxGroup,FoxButton:I.ElButton,FoxIcon:I.ElIcon,DragIcon:ag,Download:Ke.Download,RefreshLeft:Ke.RefreshLeft},props:og,emits:["change"],setup(e,{emit:n,attrs:l,expose:r}){const{locale:a,toLocaleRefs:o}=(0,Pe.useFoxI18n)(rg),s=o(e,["title","resetText","toTopText","toBottomText"]);let u=null;const i=(0,t.ref)([]),h=Lo(),c=V=>V.length>1,f=()=>{const V=[],O=[...i.value];i.value=O.map((ne,ie)=>(ne.visible!==!1&&V.push(ne.prop),{...ne,sortIndex:ie})),i.value.length===V.length?b.value=!0:V.length>0&&(E.value=!0),N.value=V},m=V=>{let O=null;if(typeof V=="string")O=document.querySelectorAll(`.fox-group[prop="${V}"] > div > .fox-item[prop]`);else if(V&&typeof V=="object"){const ie=V.$el??V;typeof ie.querySelectorAll=="function"&&(O=ie.querySelectorAll(".fox-item[prop]"))}if(!O)return[];const ne=[];return O.forEach(ie=>{const Q=ie.querySelector(".label--string");let A="";Q&&(A=Q.textContent??"");const X=ie.getAttribute("prop")??"",oe=window.getComputedStyle(ie,null).getPropertyValue("display");ne.push({label:A,prop:X,sortIndex:0,visible:oe!=="none"})}),ne},$=()=>{if(!u){const V=m(e.groupRef??e.groupProp);if(V.length===0)return!1;u=V}return!0},k=async(V=!1)=>{const O=await h.load(e.groupProp),ne=ie=>{if(!ie||!u)return;const Q=u.map(A=>({...A}));Array.isArray(O)&&O.forEach(A=>{Q.some(X=>{if(X.prop===A.prop){const oe=X.label;return Object.assign(X,A),X.label=oe,!0}return!1})}),i.value=Q.sort((A,X)=>A.sortIndex-X.sortIndex),f(),V&&g(!1)};u?ne(!0):Mn($,e.initDelay,5,50,!1,ne)},p=()=>{i.value=(u??[]).map(V=>({...V})),f(),g()},g=(V=!0)=>{V&&h.save(e.groupProp,i.value),n("change",i.value.map(O=>({...O})))},y=(0,t.computed)(()=>({"max-width":`${Se(e.popoverWidth)-125}px`})),b=(0,t.ref)(!1),E=(0,t.ref)(!1),d=V=>{const O=[];i.value.forEach(ne=>{V&&O.push(ne.prop),ne.visible=V}),b.value=!1,E.value=!1,i.value.length===O.length?b.value=!0:O.length>0&&(E.value=!0),N.value=O,g()},C=()=>{p()},N=(0,t.ref)([]),D=V=>{i.value.forEach(ne=>{ne.visible=V.indexOf(ne.prop)!==-1}),b.value=!1,E.value=!1;const O=i.value.length;V.length===O?b.value=!0:V.length>0&&(E.value=!0),g()},Y=()=>{k()};(0,t.onMounted)(()=>{k(!0)});const P={currentRow:null,index:null},q=V=>V?V.dataset&&V.dataset.role==="row"?V:V.tagName.toLowerCase()!=="body"?(V=V.parentElement,q(V)):null:null,T=V=>{const O=V.currentTarget;O&&O.dataset&&(P.index=O.dataset.index)},R=V=>{P.currentRow&&(P.currentRow.classList.remove("is-dragover"),P.currentRow=null),P.index=null},_=V=>{const O=V.currentTarget;V.relatedTarget;const ne=q(O);ne&&(V.preventDefault(),P.currentRow&&P.currentRow!==ne&&P.currentRow.classList.remove("is-dragover"),ne.classList.add("is-dragover"),P.currentRow=ne)},x=V=>{V.preventDefault(),P.currentRow&&(P.currentRow.classList.remove("is-dragover"),P.currentRow=null)},K=V=>{const O=V.currentTarget,ne=q(O);if(!ne)return;V.preventDefault();const ie=Number(P.index),Q=Number(ne.dataset.index);if(ie!==Q){if(ie<Q){const A=i.value[ie];i.value.splice(ie,1),i.value.splice(Q,0,A)}else{const A=i.value[ie];i.value.splice(ie,1),i.value.splice(Q+1,0,A)}f(),g()}},M=V=>{const O=i.value[V];i.value.splice(V,1),i.value.splice(0,0,O),f(),g()},L=V=>{const O=i.value[V];i.value.splice(V,1),i.value.push(O),f(),g()};r({refresh:()=>{u=null,k(!1)}});const j=new Map;let B=null;function H(V){const O=document.createRange();return O.setStart(V,0),O.setEnd(V,V.childNodes.length),O.getBoundingClientRect().width}return{...s,attrs:l,itemPropertyList:i,isDraggble:c,isCheckAll:b,isIndeterminate:E,handleCheckAllChange:d,handleReset:C,checkedValue:N,handleCheckChange:D,onShow:Y,onDragStart:T,onDragEnd:R,onDragOver:_,onDragLeave:x,onDrop:K,checkboxLabelStyle:y,toTop:M,toBottom:L,onMouseOverForOverflowText:(V,O,ne)=>{const ie=V.currentTarget;if(ie){const Q=Math.floor(ie.offsetWidth);if(Math.floor(H(ie))>Q){let A=j.get(O);if(A){if(A===B)return;Xe.hide(A)}A=Xe.show(ie,ne,{type:"text",placement:"top",closeOnClick:!1}),j.set(O,A),B=A}}},onMouseLeaveForOverflowText:(V,O)=>{const ne=j.get(O);ne&&(Xe.hide(ne),ne===B&&(B=null))},onMouseOverForTip:(V,O)=>{const ne=V.currentTarget;ne&&(B&&Xe.hide(B),B=Xe.show(ne,O,{type:"text",placement:"top",closeOnClick:!1},!0))},onMouseLeaveForTip:V=>{B&&(Xe.hide(B),B=null)}}}}),sg={class:"fox-group-setting"},ug={class:"fox-group-setting__header"},cg={class:"fox-group-setting__body"},fg={class:"fox-group-setting__body-list","data-role":"container"},dg=["data-index","draggable"],hg=["onMouseover","onMouseleave"],mg={class:"tools-item"};function gg(e,n,l,r,a,o){const s=(0,t.resolveComponent)("FoxCheckbox"),u=(0,t.resolveComponent)("FoxButton"),i=(0,t.resolveComponent)("DragIcon"),h=(0,t.resolveComponent)("Download"),c=(0,t.resolveComponent)("FoxIcon"),f=(0,t.resolveComponent)("FoxCheckboxGroup"),m=(0,t.resolveComponent)("FoxPopover");return(0,t.openBlock)(),(0,t.createBlock)(m,(0,t.mergeProps)(e.attrs,{placement:e.popoverPlacement,width:e.popoverWidth,onShow:e.onShow,trigger:"click","popper-class":"fox-group-setting__popper"}),{reference:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,"default")]),default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("div",sg,[(0,t.createElementVNode)("div",ug,[(0,t.createVNode)(s,{modelValue:e.isCheckAll,"onUpdate:modelValue":n[0]||(n[0]=$=>e.isCheckAll=$),indeterminate:e.isIndeterminate,onChange:e.handleCheckAllChange},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.title),1)]),_:1},8,["modelValue","indeterminate","onChange"]),(0,t.createVNode)(u,{onClick:e.handleReset,link:"",type:"primary"},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.resetText),1)]),_:1},8,["onClick"])]),(0,t.createElementVNode)("div",cg,[(0,t.createVNode)(f,{modelValue:e.checkedValue,"onUpdate:modelValue":n[10]||(n[10]=$=>e.checkedValue=$),onChange:e.handleCheckChange},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("div",fg,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.itemPropertyList,$=>((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:$.prop,class:"fox-group-setting__body-row","data-role":"row","data-index":$.sortIndex,draggable:e.isDraggble(e.itemPropertyList),onDragstart:n[5]||(n[5]=(...k)=>e.onDragStart&&e.onDragStart(...k)),onDragend:n[6]||(n[6]=(...k)=>e.onDragEnd&&e.onDragEnd(...k)),onDrop:n[7]||(n[7]=(...k)=>e.onDrop&&e.onDrop(...k)),onDragover:n[8]||(n[8]=(...k)=>e.onDragOver&&e.onDragOver(...k)),onDragleave:n[9]||(n[9]=(...k)=>e.onDragLeave&&e.onDragLeave(...k))},[e.isDraggble(e.itemPropertyList)?((0,t.openBlock)(),(0,t.createBlock)(i,{key:0,class:"icon-item"})):(0,t.createCommentVNode)("",!0),(0,t.createVNode)(s,{class:"checkbox-item",label:$.prop},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("span",{onMouseover:k=>e.onMouseOverForOverflowText(k,$.prop,$.label),onMouseleave:k=>e.onMouseLeaveForOverflowText(k,$.prop),class:"checkbox-item__label",style:(0,t.normalizeStyle)(e.checkboxLabelStyle)},(0,t.toDisplayString)($.label),45,hg)]),_:2},1032,["label"]),(0,t.createElementVNode)("div",mg,[(0,t.createVNode)(c,{onClick:k=>e.toTop($.sortIndex),onMouseover:n[1]||(n[1]=k=>e.onMouseOverForTip(k,e.toTopText)),onMouseleave:n[2]||(n[2]=k=>e.onMouseLeaveForTip(k)),class:"is-reverse"},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(h)]),_:1},8,["onClick"]),(0,t.createVNode)(c,{onClick:k=>e.toBottom($.sortIndex),onMouseover:n[3]||(n[3]=k=>e.onMouseOverForTip(k,e.toBottomText)),onMouseleave:n[4]||(n[4]=k=>e.onMouseLeaveForTip(k))},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(h)]),_:1},8,["onClick"])])],40,dg))),128))])]),_:1},8,["modelValue","onChange"])])])]),_:3},16,["placement","width","onShow"])}var $l=ze(ig,[["render",gg]]),yg={data:{type:[String,Function,Array],required:!1},params:{type:[Object],required:!1},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},childrenKey:{type:[String],required:!1,default:"children"},leafKey:{type:[String],required:!1,default:"leaf"},disabledKey:{type:[String],required:!1,default:"disabled"},classKey:{type:[String],required:!1,default:"class"},autoLoad:{type:[Boolean],required:!1,default:()=>!0},props:{type:[Object],required:!1},filterKeyword:{type:[String,Boolean,Number,Object],required:!1},filterNodeMethod:{type:[Function],required:!1},lazy:{type:[Boolean],required:!1},load:{type:[Function],required:!1}},pg=class{scope;constructor(e){this.scope=e}async load(e,n,l,r,a){if(Array.isArray(n))return n;if(typeof n=="function")return await n(l,r);const o=tt(e,this.scope);return o===null?(console.error(`[FoxUI]${e} component not found api function`),[]):(et(l)&&(0,t.isReactive)(l)&&(l=(0,t.toRaw)(l)),await o(n,l,r))}};function vg(){const e=ut();return new pg(e)}var bg={...el,...yg};function wg(e,n,l){return{props:bg,setup(r,a){const o=e,s=(0,t.computed)(()=>({[o]:!0})),u=(0,t.computed)(()=>({[`${o}__content`]:!0})),i=(0,t.ref)([]),h=vg(),c=async(d,C)=>{try{const N=await h.load("tree",d,C);i.value=N}catch(N){console.error(N)}},f=(0,t.shallowRef)({}),m=(0,t.computed)(()=>({...f.value,...r.params??{}}));(Array.isArray(r.data)?!0:r.lazy?!1:Ce(r.autoLoad))&&(0,t.watch)([()=>r.data,()=>m.value],([d,C])=>{d&&c(d,C)},{immediate:!0,deep:!0});let k=null;r.lazy&&(typeof r.load=="function"?k=r.load:k=async(d,C)=>{let N={};r.params&&Object.assign(N,r.params),d&&Object.assign(N,d),C(await h.load("tree",r.data,N,!0))});const p={label:r.textKey,children:r.childrenKey,isLeaf:r.leafKey,class:r.classKey,disabled:r.disabledKey,...r.props??{}},g=(d={})=>new Promise(async C=>{f.value={...(0,t.toRaw)(d??{})},await c(r.data,m.value),C()}),y=function(d,C){if(typeof r.filterNodeMethod=="function")return r.filterNodeMethod(d,C);if(!r.filterKeyword)return!0;const N=`${C[p.label]}`,D=`${d}`;return N.includes(D)},b=(0,t.ref)();(0,t.watch)(()=>r.filterKeyword,d=>{b.value.filter(d)});const E=d=>(...C)=>{const N=b.value[d];return Reflect.apply(N,b.value,[...C])};return a.expose({loadData:g,filter:E("filter"),updateKeyChildren:E("updateKeyChildren"),getCheckedNodes:E("getCheckedNodes"),setCheckedNodes:E("setCheckedNodes"),getCheckedKeys:E("getCheckedKeys"),setCheckedKeys:E("setCheckedKeys"),setChecked:E("setChecked"),getHalfCheckedNodes:E("getHalfCheckedNodes"),getHalfCheckedKeys:E("getHalfCheckedKeys"),getCurrentKey:E("getCurrentKey"),getCurrentNode:E("getCurrentNode"),setCurrentKey:E("setCurrentKey"),setCurrentNode:E("setCurrentNode"),getNode:E("getNode"),remove:E("remove"),append:E("append"),insertBefore:E("insertBefore"),insertAfter:E("insertAfter")}),()=>{const d={...ft(a.attrs),class:u.value,lazy:r.lazy,props:p,nodekey:r.valueKey,ref:P=>b.value=P};k?d.load=k:d.data=i.value,d["filter-node-method"]=y;const C=[],N=(0,t.h)(I.ElTree,d,a.slots);C.push(N);const D={default:()=>C},Y={...wt(r,el),class:s.value};return(0,t.h)(l,Y,D)}}}}var{componentName:Sg,create:Cg,scope:Tg}=ge("tree-item"),xg=Cg(wg(Sg,Tg,ta)),Nl=xg,ia={prop:{type:[String]},poppable:{type:[Boolean],default:!1},modelValue:{type:[Array,Number,String,Object],default:()=>[]},visible:{type:[Boolean]},disabled:{type:[Boolean,String],required:!1,default:()=>null},textPosition:{type:[String],required:!1},source:{type:[Array,Function,String],required:!1},params:{type:[Object],required:!1},valueType:{type:String,required:!1,default:"value"},textKey:{type:String,required:!1,default:"text"},subTextKey:{type:String,required:!1,default:"subText"},valueKey:{type:String,required:!1,default:"value"},disabledKey:{type:String,required:!1,default:"disabled"},itemOptions:{type:[Object,Function],required:!1},icon:{type:[Object]},checkedIcon:{type:[Object]},iconSize:{type:[String,Number]},pageSize:{type:[Number],required:!1,default:10},optionsHeight:{type:[String],required:!1},multiple:{type:[Boolean]},position:{type:[String],default:"bottom"},closeOnClickOverlay:{type:[Boolean],default:!0},title:{type:[String]},confirmText:{type:[String]},loadText:{type:[String]},noMoreText:{type:[String]},isAutoBackFill:{type:[Boolean]},showHeader:{type:[Boolean],default:!0},showFooter:{type:[Boolean],default:!0},showSearchbar:{type:[Boolean],default:!0},searchKey:{type:String,required:!1,default:"keyword"},seachPlaceholder:{type:String,required:!1},searchDelayTriggerClear:{type:Number,default:250},showTagbar:{type:[Boolean],default:!0},tagTextFormatter:{type:[Function]},tagInitSource:{type:[Array],required:!1},popClass:{type:String,required:!1},popCloseable:{type:Boolean,required:!1,default:!0},beforeMethod:{type:Function},autoLoad:{type:[Boolean,String],default:()=>!0}};function Et(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function Xo(e,n){return typeof e.subTextKey=="string"&&e.subTextKey.length>0?n[e.subTextKey]:n.text}function sa(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function kg(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}function $g(e,n,l){return typeof e.itemOptions=="function"?e.itemOptions(n,l):e.itemOptions}var Ng=class{scope;constructor(e){this.scope=e}async load(e,n,l,r,a,o,s){if(!n)return{totalSize:0,page:[]};if(Array.isArray(n)){let i=n;typeof s=="function"&&(i=i.filter(s));let h=(l-1)*r,c=h+r;c>i.length&&(c=i.length);const f=i.slice(h,c);return{totalSize:i.length,page:f}}if(typeof n=="function")return await Reflect.apply(n,null,[l,r,a,o]);const u=tt(e,this.scope);return u===null?(console.error(`[FoxUI]${e} component not found api function`),{totalSize:0,page:[]}):(et(a)&&(0,t.isReactive)(a)&&(a=(0,t.toRaw)(a)),await Reflect.apply(u,null,[n,l,r,a]))}};function Qo(){const e=ut();return new Ng(e)}function Dg(e,n,l,r,a,o,s,u,i,h,c){return{props:ia,emits:["change","update:modelValue","update:text","loaded-data","update:visible","item-click"],setup(f,m){const{emitEvent:$,exposeApi:k}=It({context:m},f.prop),{slots:p}=m,{toLocaleRefs:g}=(0,Pe.useFoxI18n)(n),y=g(f,["title","loadText","noMoreText","seachPlaceholder","confirmText"]),b="fox-actionsheet",E=(0,t.computed)(()=>({})),d=Qo(),C=(0,t.ref)([]),N=(0,t.ref)(0),D=(0,t.ref)(""),Y=(0,t.shallowRef)(null),P=(0,t.computed)(()=>{const z={};return f.params&&Object.assign(z,f.params),ke(D.value)||(z[`${f.searchKey}`]=D.value),Y.value&&Object.assign(z,Y.value),z});let q=!0;const T=async(z,ae,le)=>{try{if(_.value===!1)return;let se=null;ke(D.value)||(se=me=>{const Ne=Et(f,me);if(typeof Ne=="string"&&Ne.includes(D.value))return!0;const ye=Xo(f,me);return!!(typeof ye=="string"&&ye.includes(D.value))});const ce=await d.load("actionsheet",z,ae,le,P.value,q,se??void 0);q=!1,Array.isArray(ce)?(C.value=ce,N.value=1,_.value=!1):!Array.isArray(ce.page)||ce.page.length===0?(console.warn("[FoxUI] can not load more data"),_.value=!1):(Reflect.apply([].push,C.value,ce.page),N.value=Math.ceil(C.value.length/f.pageSize),(ce.totalSize&&C.value.length>=ce.totalSize||le<ce.page.length)&&(_.value=!1)),R.value=!1}catch(se){console.error("[FoxUI] ActionSheet load more data fail",se),_.value=!0,N.value=0,C.value=[]}setTimeout(()=>{$("loaded-data")},250)},R=(0,t.ref)(!1),_=(0,t.ref)(!0),x=async()=>{if(!f.source){R.value=!1;return}await T(f.source,N.value+1,f.pageSize)};let K=null;(0,t.watch)(D,(z,ae)=>{K&&(clearTimeout(K),K=null),ke(z)&&!ke(ae)&&(K=setTimeout(()=>{j()},f.searchDelayTriggerClear))});const M=()=>Array.isArray(f.source)||!f.source?!0:Ce(f.autoLoad),L=()=>{_.value=!0,N.value=0,C.value=[],f.source&&x()},j=()=>{L()};M()&&((0,t.watch)([()=>f.source,()=>f.pageSize,()=>f.params],async([z,ae,le])=>{M()&&f.source&&L()}),f.source&&L());const B=(0,t.computed)(()=>!f.multiple&&f.isAutoBackFill),H=(0,t.shallowRef)([]);let ee=null;const Z=(0,t.ref)(f.visible);(0,t.watch)(()=>f.visible,z=>{Z.value!==z&&(Z.value=z),z?ee=[...H.value??[]]:ee=null});const J=(z,ae)=>{Array.isArray(z)||(z=[z]);const le=z.filter(se=>!Oe(se)&&!ke(se));return Qe(le,H.value)?!1:(H.value=le,!0)};(0,t.watch)([()=>f.modelValue,()=>C.value],([z,ae],[le,se])=>{const ce=J(z,ae),me=W();ce?ne(me,!1):ne(me,!0)},{deep:!0});const W=()=>{const z=[],ae=[],le=[];for(let Ne of H.value)if(f.valueType==="item"){const ye=Ne,$e=Et(f,ye);z.push(ye),le.push($e),ae.push(ye)}else if(f.valueType==="text"){const ye=Ne,$e=C.value.find(xe=>Et(f,xe)===ye);z.push(ye),le.push(ye),ae.push($e)}else{const ye=Ne,$e=C.value.find(Re=>sa(f,Re)===ye),xe=$e?Et(f,$e):`${ye}`;z.push(ye),le.push(xe),ae.push($e)}let se=null,ce=null,me=null;return f.multiple?(se=z,ce=le,me=ae):(se=z[0]??null,ce=le[0]??null,me=ae[0]??null),{value:se,text:ce,item:me}},V=(0,t.computed)(()=>{const z=[];return Array.isArray(C.value)&&z.push(...C.value),Array.isArray(f.tagInitSource)&&z.push(...f.tagInitSource),z}),O=z=>{let ae;if(f.valueType==="item")ae=Et(f,z);else if(f.valueType==="text")ae=z;else{const le=V.value.find(se=>sa(f,se)===z);ae=le?Et(f,le):`${z}`}return typeof f.tagTextFormatter=="function"&&(ae=f.tagTextFormatter(ae,z)),ae},ne=(z,ae=!1)=>{ae||($("update:modelValue",z.value),$("change",z.value,z.item,z.text)),$("update:text",z.text)},ie=()=>{ee&&(H.value=ee)},Q=z=>{const ae=H.value.findIndex(se=>Qe(se,z));f.multiple?ae===-1?H.value.push(z):H.value.splice(ae,1):ae===-1?H.value=[z]:H.value=[],(0,t.triggerRef)(H),(B.value||!f.poppable&&!f.showFooter)&&oe();let le;if(f.valueType==="item")le=z;else if(f.valueType==="text"){const se=z;le=C.value.find(ce=>Et(f,ce)===se)}else{const se=z;le=C.value.find(ce=>sa(f,ce)===se)}$("item-click",le)},A=z=>{Z.value=z,$("update:visible",z)},X=()=>{const z=()=>{ie(),A(!1)},ae=f.beforeMethod;if(typeof ae=="function"){const le=ae("close");In(le)?le.then(se=>{se!==!1&&z()}).catch(()=>{z()}):le!==!1&&z()}else z()},oe=()=>{const z=W(),ae=()=>{ne(z,!1),A(!1)},le=f.beforeMethod;if(typeof le=="function"){const se=le("confirm",z.value,z.item,z.text);In(se)?se.then(ce=>{ce!==!1&&ae()}).catch(()=>{ae()}):se!==!1&&ae()}else ae()},fe=()=>{let z=y.title.value??"";p.title&&(z=p.title());const ae=(0,t.h)("view",{class:[`${b}__header-title`]},[z]),le=(0,t.h)(i,{class:[`${b}__header-icon`],onClick:X});return(0,t.h)("view",{class:[`${b}__header`]},[ae,le])},re=()=>{let z=null;if(p.search)z=p.search();else{const ae={onSearch:L,placeholder:y.seachPlaceholder.value,disabled:f.disabled,modelValue:D.value,"onUpdate:modelValue":le=>{D.value=le}};z=(0,t.h)(o,ae,{leftin:()=>(0,t.h)(h)})}return(0,t.h)("view",{class:[`${b}__searchbar`]},[z])},U=()=>{const z=[];if(Array.isArray(H.value))for(let le=0;le<H.value.length;le++){const se=H.value[le];if(Oe(se)||ke(se))continue;const ce=O(se),me=(0,t.h)("view",{class:`${b}__tag`,onClick:()=>{Q(se)}},[ce]);z.push(me)}const ae=[`${b}__tagbar`];return z.length===0&&ae.push("is-empty"),(0,t.h)("view",{class:ae},z)},S=()=>p.subheader?.()??null,w=(z,ae,le,se,ce,me)=>{if(p.optionLabel)return p.optionLabel({text:z,checked:ae,disabled:le,subText:ce,item:me,index:se});const Ne=[],ye=(0,t.h)("view",{class:`${b}__list-item-text`},[z]);if(Ne.push(ye),ce){const $e=(0,t.h)("view",{class:`${b}__list-item-subtext`},[ce]);Ne.push($e)}return(0,t.h)("view",{class:[`${b}__list-item-label`]},Ne)},G=(z,ae,le,se,ce)=>{if(p.optionIcon)return p.optionIcon({checked:z,disabled:ae,iconSize:se,item:ce,index:le});if(z){if(p.checkedIcon)return p.checkedIcon({disabled:ae,item:ce});{const me=f.checkedIcon??u;return(0,t.h)(me,{width:se,height:se,class:[`${b}__list-item-icon`]})}}else{if(p.icon)return p.icon({disabled:ae,item:ce});{const me=f.icon??s;return(0,t.h)(me,{width:se,height:se,class:[`${b}__list-item-icon`]})}}},te=()=>{const z=f.valueType,ae=[];for(let le=0;le<C.value.length;le++){const se=C.value[le],ce=sa(f,se),me=Et(f,se),Ne=Xo(f,se),ye=[`${b}__list-item`],$e={};let xe=kg(f,se),Re=f.iconSize?Se(f.iconSize):null;const Fe=$g(f,se,le);Fe&&(xe=xe||Fe.disabled,Fe.class&&ye.push(Fe.class),Fe.style&&Object.assign($e,Fe.style)),xe=!!(f.disabled||xe);let at=!1;for(let lt=0;lt<H.value.length;lt++){const Ue=H.value[lt];if(z==="item"?at=Qe(Ue,se):z==="text"?at=Qe(Ue,me):at=Qe(Ue,ce),at)break}xe&&ye.push("is-disabled"),at&&ye.push("is-checked");const Xt={class:ye,style:$e,key:`${le}`,onClick:()=>{xe||Q(z==="item"?se:z==="text"?me:ce)}};let yt=[];if(p.option)yt.push(p.option({item:se,checked:at,disabled:xe,index:le+1}));else{const lt=w(me,at,xe,le+1,Ne,se);yt.push(lt);const Ue=G(at,xe,le+1,Re,se);yt.push(Ue),f.textPosition==="right"&&yt.reverse()}const ct=(0,t.h)("view",Xt,yt);ae.push(ct)}return ae},F=()=>{let z=[];if(p.buttons)z=p.buttons();else{const ae=(0,t.h)(a,{type:"primary",class:`${b}__footer-confirm`,block:"block",onClick:oe,disabled:f.disabled},{default:()=>y.confirmText.value});z.push(ae)}return(0,t.h)("view",{class:`${b}__footer`},[z])};return k({search:async(z=null,ae=!0)=>{Y.value=(0,t.isRef)(z)?(0,t.toRaw)(z):z,(0,t.triggerRef)(Y),ae&&(_.value=!0,N.value=0,C.value=[]),(0,t.nextTick)(()=>{x()})},clear:()=>{_.value=!0,N.value=0,C.value=[]},confirm:()=>{oe()},cancel:()=>{X()},getData:()=>C.value}),()=>{const z=[];if(f.showHeader){const xe=fe();z.push(xe)}if(f.showSearchbar){const xe=re();z.push(xe)}if(f.showTagbar){const xe=U();z.push(xe)}const ae=S();ae&&z.push(ae);let le=null;if(p.content)le=p.content();else{const xe=te(),Re={hasMore:_.value,loadText:y.loadText.value,noMoreText:y.noMoreText.value,modelValue:R.value,"onUpdate:modelValue":Fe=>{R.value=Fe},onLoadMore:x};le=(0,t.h)(r,Re,{default:()=>xe})}const se={};f.optionsHeight&&(se.height=f.optionsHeight);const ce={[`${b}__list`]:!0};f.poppable||(ce[`${b}__list--inner`]=!0);const me=(0,t.h)("view",{class:ce,style:se},[le]);if(z.push(me),f.showFooter&&!B.value){const xe=F();z.push(xe)}const Ne=(0,t.h)("view",{class:`${b}`,style:E.value},z);if(!f.poppable)return Ne;const ye=[`${b}__popup`];f.popClass&&ye.push(f.popClass);const $e={popClass:ye.join(" "),visible:Z.value,closeable:!1,"onUpdate:visible":A,position:f.position,round:"round",onClickOverlay:X,closeOnClickOverlay:f.closeOnClickOverlay};return(0,t.h)(l,$e,{default:()=>Ne})}}}}var Eg={modelValue:{type:[Boolean],default:!1},hasMore:{type:[Boolean],default:!0},showFinished:{type:[Boolean],default:!0},threshold:{type:[Number],default:200},loadText:{type:[String]},noMoreText:{type:[String]},useCapture:{type:[Boolean],default:!1},immediate:{type:[Boolean],default:!1},containerClass:{type:[String]}};function Pg(e,n,l){return{props:Eg,emits:["scroll-change","load-more","update:modelValue"],setup(r,{emit:a,slots:o}){const s=e,{toLocaleRefs:u}=(0,Pe.useFoxI18n)(n),i=u(r,["pullText","loadText","noMoreText"]),h=(0,t.ref)(),c=Fo(h),f=(0,t.reactive)({beforeScrollTop:0,isInfiniting:!1,y:0,x:0,distance:0}),m=(0,t.computed)(()=>({[s]:!0})),$=(0,t.computed)(()=>{const d=[`${s}__container`];return r.containerClass&&d.push(r.containerClass),d}),k=d=>d?d.offsetTop+k(d.offsetParent):0,p=()=>{let d=0,C=0,N="down";if(c.value==window){const D=Mo();h.value&&(d=k(h.value)+h.value.offsetHeight-D-window.innerHeight),C=D}else{const{scrollHeight:D,clientHeight:Y,scrollTop:P}=c.value;d=D-Y-P,C=P}return f.beforeScrollTop>C?N="up":N="down",f.beforeScrollTop=C,a("scroll-change",C),d<=r.threshold&&N=="down"},g=()=>{wa(()=>{if(!p()||!r.hasMore||f.isInfiniting)return!1;f.isInfiniting=!0,a("update:modelValue",!0),(0,t.nextTick)(()=>a("load-more"))})},y=()=>{c.value&&c.value.addEventListener("scroll",g,r.useCapture)},b=()=>{c.value&&c.value.removeEventListener("scroll",g,r.useCapture)};(0,t.onMounted)(()=>{y(),r.immediate&&g()}),(0,t.onUnmounted)(()=>{b()});const E=(0,t.ref)(!1);return(0,t.onActivated)(()=>{E.value&&(E.value=!1,y())}),(0,t.onDeactivated)(()=>{E.value=!0,b()}),(0,t.watch)(()=>r.modelValue,d=>{d||(f.isInfiniting=!1)}),()=>{const d={class:$.value},C=(0,t.h)("view",d,[o?.default?.()]),N=[];if(f.isInfiniting){let P=o?.loading?.()??null;if(!P){let R=o?.loadingIcon?.()??null;if(!R){const K={class:[`${s}__bottom-box__img`]};R=(0,t.h)(l,K)}const _={class:`${s}__bottom-box__text`},x=(0,t.h)("view",_,[i.loadText.value]);P=[R,x]}const q={class:`${s}__bottom-box`},T=(0,t.h)("view",q,P);N.push(T)}else if(!r.hasMore&&r.showFinished){let P=o?.finished?.()??null;if(!P){const q={class:`${s}__bottom-tips`};P=(0,t.h)("view",q,[i.noMoreText.value]),N.push(P)}}const D=[C];if(N.length>0){const P={class:`${s}__bottom`},q=(0,t.h)("view",P,N);D.push(q)}const Y={class:m.value,ref:h};return(0,t.h)("view",Y,D)}}}}var{componentName:Vg,create:Ig,scope:Ag}=ge("infinite-loading"),Bg=Ig(Pg(Vg,Ag,pn)),ua=Bg,Og={prop:{type:[String]},modelValue:{type:[String,Number],default:""},inputType:{type:String,default:"text"},label:{type:String,default:""},shape:{type:String,default:"round"},maxLength:{type:[String,Number],default:"9999"},placeholder:{type:String,default:""},clearable:{type:Boolean,default:!0},clearIcon:{type:Object},background:{type:String,default:""},inputBackground:{type:String,default:""},focusStyle:{type:Object,default:()=>({})},autofocus:{type:Boolean,default:!1},autoblur:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},inputAlign:{type:String,default:"left"}},Rg=(e,n,l)=>({props:Og,emits:["change","update:modelValue","blur","focus","clear","search","click-input","keyup-input","click-left-icon","click-right-icon"],setup(r,a){const{emitEvent:o}=It({context:a},r.prop),{toLocaleRefs:s}=(0,Pe.useFoxI18n)(n),u=s(r,["placeholder"]),{slots:i,attrs:h}=a,c=(0,t.reactive)({active:!1}),f=(0,t.computed)(()=>({background:r.background})),m=(0,t.computed)(()=>({background:r.inputBackground})),$=T=>{let R=T.target.value;r.maxLength&&R.length>Number(r.maxLength)&&(R=R.slice(0,Number(r.maxLength))),o("update:modelValue",R,T),o("change",R,T)},k=(0,t.ref)({}),p=T=>{let R=T.target.value;c.active=!0,k.value=r.focusStyle,o("focus",R,T)},g=T=>{setTimeout(()=>{c.active=!1},0);let R=T.target.value;r.maxLength&&R.length>Number(r.maxLength)&&(R=R.slice(0,Number(r.maxLength))),k.value={},o("blur",R,T)},y=T=>{o("update:modelValue","",T),o("change","",T),o("clear","")},b=(0,t.computed)(()=>String(r.modelValue).length>0),E=(0,t.computed)(()=>{const T={};return b.value||(T.display="none"),T}),d=T=>{r.autoblur&&P.value?.blur(),(typeof T.cancelable!="boolean"||T.cancelable)&&T.preventDefault(),o("search",r.modelValue)},C=T=>{o("keyup-input",T)},N=T=>{o("click-input",T)},D=T=>{o("click-left-icon",r.modelValue,T)},Y=(0,t.computed)(()=>({textAlign:r.inputAlign})),P=(0,t.ref)(null);(0,t.onMounted)(()=>{r.autofocus&&P.value.focus()});const q=()=>{const T=[];if(i.leftin){const j={class:[`${e}__search-icon`,`${e}__input-left-search-icon`],onClick:D},B=(0,t.h)("view",j,[i.leftin()]);T.push(B)}const R={class:`${e}__input-inner-input`,ref:P,style:Y.value,type:r.inputType,maxlengt:r.maxLength,placeholder:u.placeholder.value,value:r.modelValue,disabled:r.disabled,readonly:r.readonly,onClick:N,onInput:$,onFocus:p,onBlur:g,onkeyup:C},_=(0,t.h)("input",R),x={class:[`${e}__input-inner`],action:"#",onSubmit:d},K=(0,t.h)("form",x,[_]);T.push(K);const M=[];if(r.clearable){const j={class:[`${e}__search-icon`,`${e}__input-clear-icon`],style:E.value,onClick:y},B=i?.clear?.()??r.clearIcon??l,H=(0,t.h)("view",j,[(0,t.h)(B)]);M.push(H)}if(i.rightin){const j={class:[`${e}__search-icon`,`${e}__input-right-search-icon`]},B=(0,t.h)("view",j,[i.rightin()]);M.push(B)}if(M.length>0){const j={class:`${e}__input-inner-right`},B=(0,t.h)("view",j,M);T.push(B)}const L={class:[`${e}__search-input`,`${r.shape}`],style:{...m.value,...k.value}};return(0,t.h)("view",L,T)};return()=>{const T=[];if(r.label){const x={class:`${e}__search-label`},K=(0,t.h)("span",x,[r.label]);T.push(K)}if(i.leftout){const x={class:[`${e}__search-icon`,`${e}__left-search-icon`]},K=(0,t.h)("view",x,[i.leftout()]);T.push(K)}const R=q();if(T.push(R),i.rightout){const x={class:[`${e}__search-icon`,`${e}__right-search-icon`]},K=(0,t.h)("view",x,[i.rightout()]);T.push(K)}const _={...h,prop:r.prop,class:`${e}`,style:f.value};return(0,t.h)("view",_,T)}}}),{componentName:Fg,create:Mg,scope:Lg}=ge("searchbar"),_g=Mg(Rg(Fg,Lg,Ke.CircleClose)),wn=_g,{componentName:qg,create:zg,scope:jg}=ge("actionsheet-pane"),Kg=zg(Dg(qg,jg,St,ua,I.ElButton,wn,jf,qf,vn,wo,!1)),ca=Kg,Zo={type:{type:String,default:"text"},placeholder:{type:String},textAlign:{type:String},maxLength:{type:[String,Number],required:!1},clearable:{type:Boolean,default:!0},unit:{type:[String],required:!1},text:{type:String},actionSheetClass:{type:String},separator:{type:[String],required:!1,defualt:" "},emptyText:{type:String}},Hg={...Be,..._e,...Zo,...ia};function Wg(e,n,l,r,a,o){return{props:Hg,emits:["change","update:modelValue","blur","focus","clear","update:text","setValue","item-click","loaded-data"],setup(s,u){const{itemTemplateRef:i,innerDisabled:h,disabled:c,innerReadonly:f,readonly:m,browse:$}=We(s),{emitEvent:k,exposeApi:p}=Le({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus","setValue"],get readonly(){return m.value},get disabled(){return c.value},get props(){return s},context:u,get templateRefProxy(){return i.value}},s.prop??u.attrs.name),{toLocaleRefs:g}=(0,Pe.useFoxI18n)(n),y=g(s,["placeholder"]),b=(0,t.ref)(!1),E=Ve(s,"modelValue",null,k),d=(0,t.ref)(""),C=(0,t.computed)(()=>Array.isArray(d.value)&&d.value.length>0?d.value.join(s.separator):d.value?d.value:s.emptyText??""),N=e,D=(0,t.computed)(()=>({[N]:!0,readonly:m.value,disabled:c.value})),Y=(0,t.computed)(()=>({[`${N}__content`]:!0})),P=qe((0,t.computed)(()=>s.textAlign),"textAlign"),q=(0,t.computed)(()=>{const V={};return P.value&&(V["text-align"]=P.value),V}),T=(0,t.ref)(!1),R=()=>{c.value===!0||m.value===!0||(T.value=!0)},_=V=>{T.value=V},x=V=>{E.value=V,k("update:modelValue",V)},K=(V,O)=>{k("change",V,O)},M=V=>{k("item-click",V)},L=()=>{k("loaded-data")},j=V=>{let O=V.target.value;b.value=!0,k("focus",O,V)},B=V=>{setTimeout(()=>{b.value=!1},0);let O=V.target.value;s.maxLength&&O.length>Number(s.maxLength)&&(O=O.slice(0,Number(s.maxLength))),k("blur",O,V)},H=V=>{d.value=V,k("update:text",V)},ee=(0,t.computed)(()=>bt(s.unit)>0),Z=(0,t.ref)(),J=(0,t.ref)(null);p({focus:()=>{Z?.value.focus()},blur:()=>{Z?.value.blur()},select:()=>{Z?.value.select()},search:V=>{J.value&&J.value.search(V)},clear:()=>{J.value&&J.value.clear},confirm:V=>{J.value&&J.value.confirm()},cancel:()=>{J.value&&J.value.cancel()},getData:()=>J.value.getData(),setDisabled:V=>{h.value=V},setReadonly:V=>{f.value=V}});const W=Qo();return()=>{if($.value==="on"&&(m.value||c.value)){const U=async S=>{const w=await W.load("actionsheet",s.source,1,s.pageSize,S,!0);return Array.isArray(w)?w:w.page??[]};return r({modelValue:E.value,unit:s.unit,span:s.span,labelPosition:s.labelPosition,labelWidth:s.labelWidth,source:U,params:s.params},u.slots)}const V=c.value||m.value?"":y.placeholder.value,O={ref:Z,class:Y.value,style:q.value,type:"text",maxlength:s.maxLength,placeholder:V,readonly:!0,value:C.value,onClick:R,onFocus:j,onBlur:B},ne={};u.slots.prepend&&(ne.prepend=u.slots.prepend),u.slots.append&&(ne.append=u.slots.append),u.slots.prefix&&(ne.prefix=u.slots.prefix),u.slots.suffix?ne.suffix=u.slots.suffix:ee.value?ne.suffix=()=>[s.unit]:ne.suffix=()=>(0,t.h)(I.ElIcon,{},{default:()=>(0,t.h)(Ke.ArrowDown)});const ie=[],Q=(0,t.h)(I.ElInput,O,ne);ie.push(Q);const A={default:()=>ie};A.label=u.slots.default,A.prepend=u.slots.prepend,A.append=u.slots.append,A.fixedPreTip=u.slots.fixedPreTip,A.fixedTip=u.slots.fixedTip;const X=wt(s,ia);X.ref=J,X.class=s.actionSheetClass,X.disabled=c.value||m.value,X.visible=T.value,X["onUpdate:visible"]=_,X.modelValue=E.value,X["onUpdate:modelValue"]=x,X.text=d.value,X["onUpdate:text"]=H,X.onChange=K,X.onItemClick=M,X.onLoadedData=L,X.poppable=!0;const oe={title:u.slots.title,search:u.slots.search,subheader:u.slots.subheader,option:u.slots.option,optionLabel:u.slots.optionLabel,optionIcon:u.slots.optionIcon,buttons:u.slots.buttons},fe=(0,t.h)(a,X,oe);A.hide=()=>[fe];const re={...Me(s,Zo,ia),ref:i,class:D.value};return s.prop&&(re.prop=`${s.prop}_item`),l(re,A)}}}}var{componentName:Yg,create:Ug,scope:Gg}=ge("actionsheet-item"),Xg=Ug(Wg(Yg,Gg,Ye,Ze,ca)),Dl=Xg,Jo={readonly:{type:[Boolean],default:()=>null},visibleItemCount:{type:[Number,String],default:7},textKey:{type:String,required:!1,default:"text"},valueKey:{type:String,required:!1,default:"value"},childrenKey:{type:String,required:!1,default:"children"},threeDimensional:{type:Boolean,default:!0},swipeDuration:{type:[Number,String],default:360}},El={...ol,...Jo,modelValue:{type:[String,Number,Boolean,Object,Array],default:()=>""},text:{type:[Array],default:()=>[]},columnOptions:{type:[Object,Function]},source:{type:[Array,Function,String],default:()=>[]},sourceFilter:{type:[Function]},params:{type:Object},valueType:{type:String,required:!1,default:()=>"value"},title:{type:String},cancelText:{type:String},clearText:{type:String},confirmText:{type:String},isAutoBackFill:{type:[Boolean],default:()=>!0},poppable:{type:[Boolean],default:()=>!0}};function Qg(e){return e===window}var Pl=e=>{const n=(0,t.unref)(e);if(Qg(n)){const l=n.innerWidth,r=n.innerHeight;return{top:0,left:0,right:l,bottom:r,width:l,height:r}}return n&&n.getBoundingClientRect?n.getBoundingClientRect():{top:0,left:0,right:0,bottom:0,width:0,height:0}},ei=10;function ti(e,n){return e>n&&e>ei?"horizontal":n>e&&n>ei?"vertical":""}function Sn(){const e=window.navigator.userAgent;return"ontouchstart"in window||e.indexOf("touch")!==-1||e.indexOf("mobile")!==-1}function Cn(){const e={startX:0,startY:0,startTime:0,duration:0,moveX:0,moveY:0,deltaX:0,deltaY:0,offsetX:0,offsetY:0,direction:""},n=()=>e.direction==="vertical",l=()=>e.direction==="horizontal",r=()=>{e.deltaX=0,e.deltaY=0,e.offsetX=0,e.offsetY=0,e.direction="",e.startTime=0};return{move:(s=>{if(s.touches){const u=s.touches[0];e.deltaX=u.clientX-e.startX,e.deltaY=u.clientY-e.startY,e.moveX=u.clientX,e.moveY=u.clientY}else{const u=s;e.deltaX=u.clientX-e.startX,e.deltaY=u.clientY-e.startY,e.moveX=u.clientX,e.moveY=u.clientY}e.offsetX=Math.abs(e.deltaX),e.offsetY=Math.abs(e.deltaY),e.duration=Date.now()-e.startTime,e.direction||(e.direction=ti(e.offsetX,e.offsetY))}),start:(s=>{if(r(),s.touches){const u=s.touches[0];e.startX=u.clientX,e.startY=u.clientY}else{const u=s;e.startX=u.clientX,e.startY=u.clientY}e.startTime=Date.now()}),reset:r,isVertical:n,isHorizontal:l,state:e}}function ni(){const e=(0,t.ref)(0),n=(0,t.ref)(0),l=(0,t.ref)(0),r=(0,t.ref)(0),a=(0,t.ref)(0),o=(0,t.ref)(0),s=(0,t.ref)(0),u=(0,t.ref)(0),i=(0,t.ref)(0),h=(0,t.ref)(0),c=(0,t.ref)(""),f=()=>c.value==="vertical",m=()=>c.value==="horizontal",$=()=>{s.value=0,u.value=0,i.value=0,h.value=0,c.value="",l.value=0};return{move:(g=>{if(g.touches){const y=g.touches[0];s.value=y.clientX-e.value,u.value=y.clientY-n.value,a.value=y.clientX,o.value=y.clientY}else{const y=g;s.value=y.clientX-e.value,u.value=y.clientY-n.value,a.value=y.clientX,o.value=y.clientY}i.value=Math.abs(s.value),h.value=Math.abs(u.value),r.value=Date.now()-l.value,c.value||(c.value=ti(i.value,h.value))}),start:(g=>{if($(),g.touches){const y=g.touches[0];e.value=y.clientX,n.value=y.clientY}else{const y=g;e.value=y.clientX,n.value=y.clientY}l.value=Date.now()}),reset:$,startX:e,startY:n,startTime:l,duration:r,moveX:a,moveY:o,deltaX:s,deltaY:u,offsetX:i,offsetY:h,direction:c,isVertical:f,isHorizontal:m}}var ai=36;function Zg(){return ai}function Jg(e){ai=e}function gt(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function Vl(e,n){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?n[e.childrenKey]:n.children??null}function e0(e,n,l){typeof e.childrenKey=="string"&&e.childrenKey.length>0&&(n[e.childrenKey]=l),n.children=l}function Ot(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function li(e,n){return typeof e.itemOptions=="function"?e.columnOptions(n):e.columnOptions}var t0=class{scope;constructor(e){this.scope=e}async load(e,n,l){if(!n)return[];if(Array.isArray(n))return n;if(typeof n=="function")return await n(l);const r=tt(e,this.scope);return r===null?(console.error(`[FoxUI]${e} component not found api function`),[]):(et(l)&&(0,t.isReactive)(l)&&(l=(0,t.toRaw)(l)),await r(n,l))}};function n0(){const e=ut();return new t0(e)}function ri(e,n,l){return!(gt(e,n)!==gt(e,l)||Ot(e,n)!==Ot(e,l))}function a0(e,n,l,r){if(l.length==0)return[];Array.isArray(n)||(n=[n]);const a=[],o=e.valueType??"value";if(r==="singleColumn"||r==="multipleColumn")for(let s=0;s<n.length&&s<l.length;s++){const u=n[s];let i=l[s].findIndex(h=>{if(o==="text")return gt(e,h)===u;if(o==="value"){let c=Ot(e,h);return c==null&&(c=gt(e,h)),c===u}else if(o==="item")return ri(e,h,u)});if(i==-1)break;a.push(i)}else{let s=l[0];for(let u=0;u<n.length;u++){const i=n[u];let h=s.findIndex(f=>{if(o==="text")return gt(e,f)===i;if(o==="value"){let m=Ot(e,f);return m==null&&(m=gt(e,f)),m===i}else if(o==="item")return ri(e,f,i)});if(h==-1)break;a.push(h);const c=Vl(e,s[h]);if(!Array.isArray(c))break;s=c}}return a}function oi(e,n,l,r){if(l.length==0)return null;const a={texts:[],values:[],items:[]},o=e.valueType??"value";if(r==="singleColumn"||r==="multipleColumn")for(let s=0;s<n.length&&s<l.length;s++){const u=l[s];let i=n[s];i<0&&i>=u.length&&(i=0);const h=u[i],c=gt(e,h);if(a.texts.push(c),a.items.push(h),o==="text")a.values.push(c);else if(o==="value"){let f=Ot(e,h);f==null&&(f=c),a.values.push(f)}else a.values.push(h)}else{let s=l[0];for(let u=0;u<n.length;u++){let i=n[u];i<0&&i>=s.length&&(i=0);const h=s[i],c=gt(e,h),f=Object.assign({},h);if(f.children=null,a.texts.push(c),a.items.push(f),o==="text")a.values.push(c);else if(o==="value"){let m=Ot(e,h);m==null&&(m=c),a.values.push(m)}else a.values.push(f);if(!Array.isArray(h.children))break;s=h.children}}return a}function ii(e){return{text:e,value:e}}var l0=15,r0=300,o0=200,{create:i0}=ge("picker-column");function s0(e){e.stopPropagation()}function u0(e,n){(typeof e.cancelable!="boolean"||e.cancelable)&&e.preventDefault(),n&&s0(e)}var c0={source:{type:Array,default:[]},columnIndex:{type:Number,required:!0,default:0},modelValue:{type:Number,required:!0,default:0},itemHeight:{type:Number,required:!0,default:35},visible:{type:Boolean,default:!1},...Jo},f0=i0({props:c0,emits:["click","change","update:modelValue"],setup(e,{emit:n}){const l=(0,t.computed)(()=>({"fox-picker__list":!0})),r=(0,t.computed)(()=>({height:`${De(e.visibleItemCount)*+e.itemHeight}px`})),a=(0,t.computed)(()=>({"fox-picker__content":!0,"fox-picker__content-tile":!e.threeDimensional,"fox-picker__content-roller":e.threeDimensional})),o=(0,t.computed)(()=>e.itemHeight*Math.floor(+e.visibleItemCount/2)),s=D=>{const Y=D+1;return Y>=f.currIndex+8||Y<=f.currIndex-8},u=(0,t.computed)(()=>({transition:`transform ${f.scrollTime}ms cubic-bezier(0.17, 0.89, 0.45, 1)`,transform:`rotate3d(1, 0, 0, ${f.deg})`,top:`${o.value}px`})),i=D=>{const Y=D+1;return`transform: rotate3d(1, 0, 0, ${-f.rotation*Y}deg) translate3d(0px, 0px, 104px)`},h=(0,t.computed)(()=>({transition:`transform ${f.scrollTime}ms cubic-bezier(0.17, 0.89, 0.45, 1)`,transform:`translate3d(0, ${f.scrollDistance+o.value}px, 0)`})),c=(0,t.ref)(null),f=(0,t.reactive)({currIndex:e.modelValue,startDistance:0,scrollDistance:0,scrollTime:0,moving:!1,rotation:20,deg:0,transitionEndTrigger:null}),m=D=>gt(e,D),$=D=>Ot(e,D),k=ni(),p=()=>{f.transitionEndTrigger&&(f.transitionEndTrigger(),f.transitionEndTrigger=null)},g=(D,Y=!1,P=!1)=>{if(f.currIndex=D,Y){const q=()=>{f.moving=!1,n("update:modelValue",D),n("change",D)};P?f.transitionEndTrigger=q:q()}},y=(D,Y,P)=>{let q=D+f.startDistance;if(Y==="end"){const T=-(e.source.length-1)*e.itemHeight;q<T&&(q=T),q>0&&(q=0);let R=Math.abs(Math.round(-q/e.itemHeight));const _=-R*e.itemHeight,x=`${(R+1)*f.rotation}deg`;g(R,!0,P?P>0:!1),b(_,Y,P,x)}else{let T=(-q/e.itemHeight+1)*f.rotation;const R=(e.source.length+1)*f.rotation,_=0;if(T=Math.min(Math.max(T,_),R),e.threeDimensional&&(T<_||T>R))return;b(q,null,void 0,`${T}deg`)}},b=(D=0,Y,P=o0,q)=>{Y==="end"?f.scrollTime=P:f.scrollTime=0,f.deg=q,f.scrollDistance=D},E=(D,Y)=>(D=Math.abs(D/Y)/.003*(D<0?-1:1),D),d=D=>{e.readonly||(f.startDistance=f.scrollDistance,k.start(D),f.transitionEndTrigger=null)},C=D=>{e.readonly||(f.moving=!0,k.move(D),k.isVertical()&&(f.moving=!0,u0(D,!0)),y(k.deltaY.value,"",0))},N=()=>{if(e.readonly)return;const D=k.deltaY.value,Y=k.duration.value;if(Y<r0&&Math.abs(D)>l0){const P=E(D,Y);y(P,"end",De(e.swipeDuration))}else y(D,"end",0)};return(0,t.watch)(()=>e.modelValue,D=>{const Y=f.currIndex-D;if(Y!==0){f.currIndex=D,f.startDistance=f.scrollDistance;const P=Y*e.itemHeight;y(P,"",0)}}),(0,t.watch)(()=>e.source,D=>{if(f.currIndex>=D.length){const Y=(D.length-1-f.currIndex)*e.itemHeight;f.startDistance=f.scrollDistance,y(Y,"end",0)}}),(0,t.watch)(()=>e.visible,D=>{D===!1&&p()}),(0,t.onMounted)(()=>{const D=-e.modelValue*e.itemHeight;y(D)}),{classes:l,styles:r,contentClasses:a,itemText:m,itemValue:$,...(0,t.toRefs)(f),roller:c,getItemText:gt,onTouchStart:d,onTouchMove:C,onTouchEnd:N,isHidden:s,setRollerStyle:i,touchRollerStyle:u,touchTileStyle:h,stopMomentum:p}}}),d0={key:1,class:"fox-picker__item-tile"};function h0(e,n,l,r,a,o){return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes),style:(0,t.normalizeStyle)(e.styles),onTouchstart:n[0]||(n[0]=(...s)=>e.onTouchStart&&e.onTouchStart(...s)),onTouchmove:n[1]||(n[1]=(...s)=>e.onTouchMove&&e.onTouchMove(...s)),onTouchend:n[2]||(n[2]=(...s)=>e.onTouchEnd&&e.onTouchEnd(...s)),onTouchcancel:n[3]||(n[3]=(...s)=>e.onTouchEnd&&e.onTouchEnd(...s)),onTransitionend:n[4]||(n[4]=(...s)=>e.stopMomentum&&e.stopMomentum(...s))},[(0,t.createElementVNode)("view",{ref:"roller",class:(0,t.normalizeClass)(e.contentClasses),style:(0,t.normalizeStyle)(e.threeDimensional?e.touchRollerStyle:e.touchTileStyle)},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.source,(s,u)=>((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:`${e.columnIndex}_${u}`},[e.threeDimensional?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:(0,t.normalizeClass)(["fox-picker__item",{"fox-picker__item-hidden":e.isHidden(u)}]),style:(0,t.normalizeStyle)(e.setRollerStyle(u))},(0,t.toDisplayString)(e.itemText(s)),7)):((0,t.openBlock)(),(0,t.createElementBlock)("view",d0,(0,t.toDisplayString)(e.itemText(s)),1))],64))),128))],6)],38)}var m0=ze(f0,[["render",h0]]),g0=(0,t.defineComponent)({props:{position:{type:[String],default:()=>"bottom"},visible:{type:[Boolean]},teleport:{type:[String,Element],default:()=>"body"},lockScroll:{type:[Boolean],default:()=>!0},closeOnClickOverlay:{type:[Boolean],default:()=>!0},round:{type:[Boolean],default:()=>!1},teleportDisable:{type:[Boolean],default:()=>!1},poppable:{type:[Boolean],default:()=>!0},popClass:{type:[String],default:()=>"fox-picker__popup"}},setup(e,{slots:n,attrs:l}){return()=>{if(e.poppable){const r=Me({...e},{poppable:!1});return Object.assign(r,l),(0,t.h)(St,r,n)}else return n?.default?.()??null}}}),y0=g0,{create:p0,componentName:si,scope:v0}=ge("picker"),b0=p0({components:{Column:m0,Wrapper:y0,Close:vn},props:El,emits:["close","change","confirm","update:visible","update:text","update:modelValue","clear"],setup(e,{emit:n}){const{toLocaleRefs:l,t:r}=(0,Pe.useFoxI18n)(v0),a=l(e,["title","clearText","confirmText"]),o=(0,t.ref)(null),s=(0,t.ref)(Zg());(0,t.watch)(()=>e.visible,L=>{L&&s.value<=0&&setTimeout(()=>{if(o.value){const j=Pl(o.value);s.value=j.height,Jg(s.value)}},50)});const u=(0,t.computed)(()=>({[si]:!0})),i=(0,t.computed)(()=>{const L=[];return Array.isArray(e.popClass)?L.push(...e.popClass):typeof e.popClass=="string"&&e.popClass.length>0&&L.push(e.popClass),L.push(`${si}__popup`),L.join(" ")}),h=n0(),c=(0,t.ref)("singleColumn");let f=(0,t.ref)([]);const m=(0,t.computed)(()=>{if(typeof e.sourceFilter=="function"){const L=[];for(let j=0;j<f.value.length;j++){const B=f.value[j];if(Array.isArray(B)){const H=B.filter(e.sourceFilter);L.push(H)}}return L}return f.value});(0,t.watch)([()=>e.source,()=>e.params],async([L,j])=>{if(L){let B=await h.load("select",L,j);if(B.length>0){let H=B[0];if(Array.isArray(H)){if(typeof H[0]=="string"){let ee=B,Z=[];ee.forEach(J=>{let W=J.map(V=>ii(V));Z.push(W)}),f.value=Z}else f.value=B;c.value="multipleColumn"}else if(typeof H=="string"){let ee=B,Z=[],J=ee.map(W=>ii(W));Z.push(J),f.value=Z,c.value="singleColumn"}else{const ee=Vl(e,H);Array.isArray(ee)?(c.value="cascade",f.value=[B]):(c.value="singleColumn",f.value=[B])}}else f.value=[]}},{immediate:!0});const $=(0,t.ref)([]),k=(0,t.ref)(e.modelValue&&!Array.isArray(e.modelValue)?[e.modelValue]:e.modelValue),p=(0,t.ref)([]);let g=null;const y=(0,t.ref)([]);(0,t.watch)([()=>e.modelValue,()=>m.value],([L,j])=>{let B=a0(e,L,j,c.value);if(!Qe(B,y.value)){y.value=B,g||(g=B?[...B]:[]);let H=oi(e,B,j,c.value);H&&($.value=H.texts,Qe(k.value,H.values)||(k.value=H.values),Qe(p.value,H.items)||(p.value=H.items),n("update:text",$.value))}});let b="";const E=(0,t.ref)(e.visible);(0,t.watch)(()=>e.visible,L=>{E.value=L,L&&(b="active",y.value.length>0&&(g=[...y.value]))});const d=L=>{L?E.value=L:K()},C=L=>{let j=li(e,L);return et(j)?j.defaultIndex??0:0},N=L=>{if(e.readonly===!0)return!0;let j=li(e,L);return et(j)?j.readonly??!1:!1},D=(L,j)=>{let B=y.value;B[L]=j;for(let ee=0;ee<L;ee++)B[ee]==null&&(B[ee]=C(ee));if(c.value==="cascade")for(let ee=L+1;ee<P.value.length;ee++){let Z=C(ee);ee<B.length?B[ee]=Z:B.push(Z)}else for(let ee=B.length;ee<P.value.length;ee++){let Z=C(ee);B.push(Z)}y.value=B;let H=oi(e,B,m.value,c.value);H&&($.value=H.texts,k.value=H.values,p.value=H.items)},Y=L=>L<y.value.length?y.value[L]:C(L),P=(0,t.computed)(()=>{if(m.value.length==0)return[];if(c.value=="singleColumn"||c.value=="multipleColumn")return m.value;let L=[],j=0,B=m.value[0],H=0;for(;;){let ee=B.map(W=>{let V=Object.assign({},W);return e0(e,V,null),V});L.push(ee),j>=y.value.length?H=0:H=y.value[j],(H<0||H>=B.length)&&(H=0);let Z=B[H];const J=Vl(e,Z);if(!Array.isArray(J))break;B=J,j++}return L}),q=(0,t.computed)(()=>De(+e.visibleItemCount-1)/2*s.value),T=(L=!1)=>{if(e.readonly===!0){L&&n("update:visible",!1);return}let j=m.value.length-1;for(;j>=0&&!(y.value[j]===null||y.value[j]===void 0);j--);if(j>=0&&D(j,0),c.value==="singleColumn"){let B=k.value.length>0?k.value[0]:"",H=p.value.length>0?p.value[0]:null;n("update:modelValue",B),n("update:text",$.value),n("change",B,H),L&&(n("confirm",B),n("update:visible",!1))}else n("update:modelValue",k.value),n("update:text",$.value),n("change",k.value,p.value),L&&(n("confirm",k.value),n("update:visible",!1))},R=(L,j)=>{if(b!=="close"&&(D(L,j),e.isAutoBackFill)){const B=!E.value;T(B)}},_=()=>{b==="active"&&(b="confirm",g=Array.isArray(y.value)?[...y.value]:[],T(!0))},x=()=>{c.value==="singleColumn"?(n("update:modelValue",""),n("update:text",""),n("change","")):(n("update:modelValue",[]),n("update:text",""),n("change",[])),y.value=[],g=null},K=()=>{if(b==="active"){if(b="close",g===null||g.length===0)x();else{if(Array.isArray(g))for(let L=0;L<g.length;L++)D(L,g[L]);T(!1)}n("close"),n("update:visible",!1)}};return{...a,pickerLineRef:o,classes:u,popClasses:i,columns:P,dataType:c,isShow:E,onUpdateShow:d,itemHeight:s,top:q,isReadonly:N,getIndex:Y,change:R,close:K,confirm:_,clear:()=>{if(b==="active"){if(b="clear",e.readonly===!0){n("update:visible",!1);return}x(),g=null,n("clear",""),n("update:visible",!1)}}}}}),w0={key:0,class:"fox-picker__bar"},S0={class:"fox-picker__title"},C0={class:"fox-picker__bar__action"},T0={class:"fox-picker__column"};function x0(e,n,l,r,a,o){const s=(0,t.resolveComponent)("Close"),u=(0,t.resolveComponent)("Column"),i=(0,t.resolveComponent)("Wrapper");return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes)},[(0,t.createVNode)(i,{position:"bottom","pop-class":e.popClasses,visible:e.isShow,"onUpdate:visible":e.onUpdateShow,teleport:e.teleport,"lock-scroll":e.lockScroll,"close-on-click-overlay":e.closeOnClickOverlay,onClose:e.close,round:!0,"teleport-disable":e.teleportDisable,poppable:e.poppable},{default:(0,t.withCtx)(()=>[e.poppable?((0,t.openBlock)(),(0,t.createElementBlock)("view",w0,[(0,t.createElementVNode)("view",S0,(0,t.toDisplayString)(e.title),1),(0,t.createElementVNode)("view",C0,[(0,t.createElementVNode)("view",{class:"fox-picker__left fox-picker__cancel fox-picker__button",onClick:n[0]||(n[0]=(...h)=>e.close&&e.close(...h))},[(0,t.createVNode)(s)]),(0,t.createElementVNode)("view",{class:"fox-picker__right fox-picker__confirm fox-picker__button",onClick:n[1]||(n[1]=(...h)=>e.confirm&&e.confirm(...h))},(0,t.toDisplayString)(e.confirmText),1),e.clearText?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:"fox-picker__right fox-picker__clear fox-picker__button",onClick:n[2]||(n[2]=(...h)=>e.clear&&e.clear(...h))},(0,t.toDisplayString)(e.clearText),1)):(0,t.createCommentVNode)("",!0)])])):(0,t.createCommentVNode)("",!0),(0,t.renderSlot)(e.$slots,"top"),(0,t.createElementVNode)("view",T0,[(0,t.createElementVNode)("view",{class:"fox-picker__mask",style:(0,t.normalizeStyle)({backgroundSize:`100% ${e.top}px`})},null,4),(0,t.createElementVNode)("view",{ref:"pickerLineRef",class:"fox-picker__hairline",style:(0,t.normalizeStyle)({top:` ${e.top}px`})},null,4),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.columns,(h,c)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:c,class:"fox-picker__columnitem"},[(0,t.createVNode)(u,{visible:e.isShow,source:h,readonly:e.isReadonly(c),"column-index":c,modelValue:e.getIndex(c),"onUpdate:modelValue":f=>e.change(c,f),"visible-item-count":e.visibleItemCount,"three-dimensional":e.threeDimensional,"swipe-duration":e.swipeDuration,"item-height":e.itemHeight,"text-key":e.textKey,"value-key":e.valueKey},null,8,["visible","source","readonly","column-index","modelValue","onUpdate:modelValue","visible-item-count","three-dimensional","swipe-duration","item-height","text-key","value-key"])]))),128))]),(0,t.renderSlot)(e.$slots,"default")]),_:3},8,["pop-class","visible","onUpdate:visible","teleport","lock-scroll","close-on-click-overlay","onClose","teleport-disable","poppable"])],2)}var fa=ze(b0,[["render",x0]]),ui={...El,placeholder:{type:String},textAlign:{type:String},maxLength:{type:[String,Number],required:!1},clearable:{type:Boolean,default:!0},unit:{type:[String],required:!1},text:{type:String}};function k0(e,n,l,r){return{props:{...Be,..._e,...ui},emits:["change","update:modelValue","blur","focus","clear","update:text","setValue"],setup(a,o){const{itemTemplateRef:s,innerDisabled:u,disabled:i,innerReadonly:h,readonly:c,browse:f}=We(a),{emitEvent:m,exposeApi:$}=Le({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus","setValue"],get readonly(){return c.value},get disabled(){return i.value},get props(){return a},context:o,get templateRefProxy(){return s.value}},a.prop??o.attrs.name),{toLocaleRefs:k}=(0,Pe.useFoxI18n)(n),p=k(a,["placeholder"]),g=(0,t.ref)(!1),y=e,b=(0,t.computed)(()=>({[y]:!0,readonly:c.value,disabled:i.value})),E=(0,t.computed)(()=>({[`${y}__content`]:!0})),d=qe((0,t.computed)(()=>a.textAlign),"textAlign"),C=(0,t.computed)(()=>({textAlign:d.value??"right"})),N=Ve(a,"modelValue",null,m),D=(0,t.ref)([]),Y=(0,t.computed)(()=>Array.isArray(D.value)?D.value.join(" "):D.value),P=(0,t.ref)(!1),q=()=>{i.value===!0||c.value===!0||(P.value=!0)},T=Z=>{P.value=Z},R=Z=>{N.value=Z,m("update:modelValue",Z)},_=Z=>{D.value=Z,Array.isArray(Z)&&Z.length===0?m("update:text",Z[0]):m("update:text",Z)},x=(Z,J)=>{m("change",Z,J)};let K=Ve(a,"hintText"),M=(0,t.ref)(!1);const L=Z=>{let J=Z.target.value;g.value=!0,ke(K.value)||(M.value=!0),m("focus",J,Z)},j=Z=>{setTimeout(()=>{M.value&&(M.value=!1),g.value=!1},0);let J=Z.target.value;a.maxLength&&J.length>Number(a.maxLength)&&(J=J.slice(0,Number(a.maxLength))),P.value?setTimeout(()=>{m("blur",J,Z)},50):m("blur",J,Z)},B=()=>{m("clear","")},H=(0,t.computed)(()=>bt(a.unit)>0),ee=(0,t.ref)();return $({focus:()=>{ee?.value.focus()},blur:()=>{ee?.value.blur()},select:()=>{ee?.value.select()},setDisabled:Z=>{u.value=Z},setReadonly:Z=>{h.value=Z}}),()=>{if(f.value==="on"&&(c.value||i.value))return r({modelValue:Y.value,span:a.span,labelPosition:a.labelPosition,labelWidth:a.labelWidth},o.slots);const Z=i.value||c.value?"":p.placeholder.value,J={class:E.value,style:C.value,type:"text",maxlength:a.maxLength,placeholder:Z,clearable:Ce(a.clearable),readonly:!0,value:Y.value,onClick:q,onFocus:L,onBlur:j},W={};o.slots.prepend&&(W.prepend=o.slots.prepend),o.slots.append&&(W.append=o.slots.append),o.slots.prefix&&(W.prefix=o.slots.prefix),o.slots.suffix?W.suffix=o.slots.suffix:H.value?W.suffix=()=>[a.unit]:W.suffix=()=>(0,t.h)(I.ElIcon,{},{default:()=>(0,t.h)(Ke.ArrowDown)});const V=[],O=(0,t.h)(I.ElInput,J,W);V.push(O);const ne={default:()=>V};ne.label=o.slots.default,ne.fixedPreTip=o.slots.fixedPreTip,ne.fixedTip=o.slots.fixedTip;const ie=wt(a,El);ie.disabled=!1,ie.readonly=i.value||c.value,ie.visible=P.value,ie["onUpdate:visible"]=T,ie.modelValue=N.value,ie["onUpdate:modelValue"]=R,ie.text=Array.isArray(D.value)?D.value:D.value?[D.value]:[],ie["onUpdate:text"]=_,ie.onClear=B,ie.onChange=x;const Q=(0,t.h)(fa,ie);ne.hide=()=>[Q];const A={...Me(a,ui),ref:s,class:b.value,hintText:K.value,hintVisible:M.value};return a.prop&&(A.prop=`${a.prop}_item`),l(A,ne)}}}}var{componentName:$0,create:N0,scope:D0}=ge("picker-item"),E0=N0(k0($0,D0,Ye,Ze)),Il=E0,P0={...Be,..._e,placeholder:{type:[String]},textAlign:{type:[String]},modelValue:{type:[String],required:!1},desc:{type:[String],required:!1},icon:{type:[Object],required:!1},iconSize:{type:[String],required:!1},unit:{type:[String],required:!1}};function V0(e,n,l,r){return{props:P0,emits:["click","focus","blur","change"],setup(a,o){const{itemTemplateRef:s,disabled:u,readonly:i}=We(a),{emitEvent:h,exposeApi:c}=Le({componentName:e,validateCheckEvents:["change"],validateResetEvents:["focus"],get readonly(){return i.value},get disabled(){return u.value},get props(){return a},context:o,get templateRefProxy(){return s.value}},a.prop??o.attrs.name),{toLocaleRefs:f}=(0,Pe.useFoxI18n)(n),m=f(a,["placeholder"]),$=(0,t.ref)(a.modelValue);(0,t.watch)(()=>a.modelValue,M=>{$.value=M,h("change",M)});const k=e,p=(0,t.computed)(()=>({[`${k}`]:!0,disabled:u.value,readonly:i.value})),g=(0,t.computed)(()=>({[`${k}__content`]:!0})),y=(0,t.computed)(()=>({[`${k}__main`]:!0,[`${k}__placeholder`]:!u.value&&ke($.value)})),b=qe((0,t.computed)(()=>a.textAlign),"textAlign"),E=(0,t.computed)(()=>{const M={};return b.value&&(M["text-align"]=b.value),M}),d=(0,t.computed)(()=>!ke(a.modelValue)||o.slots.main?!0:!!ke(a.desc)),C=(0,t.computed)(()=>ke($.value)?u.value||i.value?"":m.placeholder.value:$.value),N=(0,t.computed)(()=>!ke(a.desc)||o.slots.sub),D=(0,t.computed)(()=>({[`${k}__sub`]:!0})),Y=(0,t.computed)(()=>{const M={};return b.value&&(M["text-align"]=b.value),M}),P=()=>{h("focus",$.value)},q=()=>{h("blur",$.value)},T=(0,t.computed)(()=>({[`${k}__append`]:!0})),R=(0,t.computed)(()=>bt(a.unit)>0),_=M=>{u.value==!0||i.value==!0||h("click")},x=(0,t.computed)(()=>a.icon??l),K=(0,t.computed)(()=>({action:!0}));return c(),()=>{const M=[];if(typeof o.slots.content=="function"){const O=o.slots.content();M.push(O)}else{const O=[];if(d.value){const Q={tabIndex:0,class:y.value,style:E.value,onFocus:P,onBlur:q};let A=null;o.slots.main?A=(0,t.h)("view",Q,[o.slots.main(C.value)]):A=(0,t.h)("view",Q,[C.value]),O.push(A)}if(N.value){const Q={tabIndex:0,class:D.value,style:Y.value,onFocus:P,onBlur:q};let A=null;o.slots.sub?A=(0,t.h)("view",Q,[o.slots.sub(a.desc)]):A=(0,t.h)("view",Q,[a.desc]),O.push(A)}const ne={class:g.value,onClick:_},ie=(0,t.h)("view",ne,O);M.push(ie)}const L=[],j=Se(a.iconSize);let B=o.slots.icon;if(!B){const O={width:j,height:j,class:["action-icon"]};B=(0,t.h)(x.value,O)}const H={class:K.value,onClick:_},ee=(0,t.h)("view",H,{default:()=>[B]});if(L.push(ee),R.value){const O=(0,t.h)("view",{},[a.unit]);L.push(O)}const Z={class:T.value},J=(0,t.h)("view",Z,{default:()=>L});M.push(J);const W={default:()=>M};W.label=o.slots.default,W.prepend=o.slots.prepend,W.append=o.slots.append,W.fixedPreTip=o.slots.fixedPreTip,W.fixedTip=o.slots.fixedTip;const V={...wt(a,_e,Be),ref:s,class:p.value};return a.prop&&(V.prop=`${a.prop}_item`),r(V,W)}}}}var{componentName:I0,create:A0,scope:B0}=ge("link-item"),O0=A0(V0(I0,B0,Ke.ArrowRight,Ye)),Al=O0,Bl={prop:{type:[String]},modelValue:{type:[String,Number],default:0},data:{type:[Array]},textKey:{type:String,default:"text"},valueKey:{type:String,default:"value"},visibleKey:{type:String,default:"visibile"},disabledKey:{type:String,default:"disabled"},doitKey:{type:String,default:"doit"},numKey:{type:String,default:"num"},direction:{type:String,default:"horizontal"},size:{type:String,default:"normal"},shape:{type:String},align:{type:String},markShape:{type:String,default:"line"},scroll:{type:Boolean,default:!1},showScrollArrow:{type:Boolean,default:!1},ellipsis:{type:Boolean,default:!0},animatedTime:{type:[Number,String],default:300},gutter:{type:[Number,String],default:0},itemOptions:{type:[Object,Function]},showQuickNavigation:{type:Boolean,default:!1},beforeChange:{type:Function}},ci=(e,n)=>n[e.textKey],Tn=(e,n)=>n[e.valueKey],R0=(e,n)=>n[e.visibleKey],fi=(e,n)=>n[e.disabledKey],F0=(e,n)=>{const l=n[e.doitKey];return Ce(l)},M0=(e,n)=>{const l=n[e.numKey];return l==null?null:De(n[l])},di=(e,n,l)=>{const r=e.itemOptions;return typeof r=="function"?r(n,l):r||null};function L0(e,n,l,r,a,o=!1){return{props:Bl,emits:["update:modelValue","change","click"],setup(s,u){const{emitEvent:i,exposeApi:h}=It({context:u},s.prop),{slots:c}=u,f=(0,t.computed)(()=>{const S={};return S[`${e}`]=!0,S}),m=(0,t.computed)(()=>{const S={};return S[`${e}__titles`]=!0,S[`${s.direction}`]=!0,s.align&&(S[`${s.align}`]=!0),s.scroll===!0&&(S.scrollable=!0),s.shape&&(S[`${s.shape}`]=!0),s.showScrollArrow?(ie.value===!0&&(S["has-left-scroll-arrow "]=!0),Q.value===!0&&(S["has-right-scroll-arrow "]=!0)):s.showQuickNavigation&&(S["has-navigation"]=!0),S}),$=(0,t.computed)(()=>({})),k=(0,t.computed)(()=>{if(!s.gutter)return 0;const S=Se(s.gutter);return S<=0?0:S}),p=(0,t.ref)(s.modelValue);(0,t.watch)(()=>s.modelValue,S=>{p.value!==S&&(p.value=S,ee(!1))});const g=(0,t.ref)({"fox-tabs-bar__popup":!0,"fox-tabs-bar__popup--show":!1,"fox-tabs-bar__popup--hide":!1}),y=(0,t.computed)(()=>{const S={};return E.value||(S.display="none"),S}),b=(0,t.ref)(),E=(0,t.ref)(!1),d=()=>{const S=!E.value;C(S)},C=S=>{const w=S;w?(E.value=w,setTimeout(()=>{g.value["fox-tabs-bar__popup--show"]=!0,g.value["fox-tabs-bar__popup--hide"]=!1},0)):(g.value["fox-tabs-bar__popup--show"]=!1,g.value["fox-tabs-bar__popup--hide"]=!0,b.value?b.value.addEventListener("transitionend",()=>{E.value=!1},{once:!0}):setTimeout(()=>{E.value=!1},0))},N=(0,t.ref)(),D=(0,t.ref)([]),Y=(S,w)=>{D.value[w]=S},P=S=>w=>{Y(w,S)},q=(S,w)=>{const G=N.value,te=D.value;if(!G||!te||!te[S])return;const F=te[S];let z=0;s.direction==="vertical"?z=F.offsetTop-(G.offsetHeight-F.offsetHeight)/2:z=F.offsetLeft-(G.offsetWidth-F.offsetWidth)/2,T(G,z,w?0:.3,s.direction)},T=(S,w,G,te)=>{let F=0;const z=te==="horizontal"?S.scrollLeft:S.scrollTop,ae=G===0?1:Math.round(G*1e3/16);function le(){te==="horizontal"?S.scrollLeft+=(w-z)/ae:S.scrollTop+=(w-z)/ae,++F<ae&&Pa(le)}le()},R=(S,w)=>{const G=Tn(s,S),te={};return te[`${e}__titles-item`]=!0,te.disabled=fi(s,S),te.active=G===p.value,s.shape&&(te[`${s.shape}`]=!0),s.ellipsis&&(te.ellipsis=!0),w&&(w.class&&(te[`${w.class}`]=!0),w.disabled===!0&&(te.disabled=w.disabled)),te},_=(S,w)=>{const G={};if(k.value>0){const te=Math.abs(k.value/2);s.direction==="vertical"?(G["margin-top"]=`${te}px`,G["margin-bottom"]=`${te}px`):(G["margin-left"]=`${te}px`,G["margin-right"]=`${te}px`)}return w&&w.style&&Object.assign(G,w.style),G},x=(S,w)=>`${Tn(s,S)??w}`,K=(S,w)=>{const G=Tn(s,S),te={};te[`${e}__popup-item`]=!0,te.disabled=fi(s,S),te.active=G===p.value,s.shape&&(te[`${s.shape}`]=!0);const F=di(s,S,w);return F&&F.disabled===!0&&(te.disabled=F.disabled),te},M=(0,t.computed)(()=>(s.data??[]).filter(S=>R0(s,S)!==!1)),L=(S,w)=>{const G=Tn(s,S);if(i("click",S,w),p.value==G)return;const te=()=>{p.value=G,s.scroll&&q(w,!1),i("update:modelValue",G),i("change",S,w)};if(typeof s.beforeChange=="function"){const F=s.beforeChange(S,w);In(F)?F.then(z=>{z!==!1&&te()}).catch(()=>{te()}):F!==!1&&te()}else te()},j=(S,w)=>function(){L(S,w)},B=(S,w)=>{L(S,w),C(!1)},H=(S,w)=>function(){B(S,w)},ee=S=>{if(!Array.isArray(s.data)||!s.scroll)return;ne()&&fe();const w=s.data.findIndex(G=>Tn(s,G)===p.value);w!==-1&&q(w,S)},Z=()=>{ne()||re()};(0,t.watch)(()=>s.data,()=>{setTimeout(ee,0)}),(0,t.onMounted)(()=>{ee(!0)}),(0,t.onBeforeUnmount)(()=>{Z()}),h({});const J=(S,w)=>{if(c.item)return c.item({item:S,index:w});const G=di(s,S,w),te=[];if(c.text){const le=c.text({item:S,index:w});te.push(le)}else{const le=[];if(G?.doit===!0||F0(s,S)){const Ne={class:[`${e}__titles-item-tip`,"doit"]},ye=(0,t.h)("view",Ne);le.push(ye)}const se=G?.num??M0(s,S);if(se){let Ne="";const ye=De(se);ye>=100?Ne="99+":Ne=`${ye}`;const $e={class:[`${e}__titles-item-tip`,"num"]},xe=(0,t.h)("view",$e,[Ne]);le.push(xe)}const ce={class:`${e}__titles-item-text`};le.push(ci(s,S));const me=(0,t.h)("view",ce,le);te.push(me)}const F={class:`${e}__titles-item-line`},z=(0,t.h)("view",F);te.push(z);const ae={ref:P(w),class:R(S,G),style:_(S,G),key:x(S,w),onClick:j(S,w)};return(0,t.h)("view",ae,te)},W=()=>{const S=c.default?c.default():[];if(S.length===0)for(let G=0;G<M.value.length;G++){const te=M.value[G],F=J(te,G);S.push(F)}const w={ref:N,class:m.value,style:$.value};return(0,t.h)("view",w,S)},V=()=>{let S=null;c.navigation?S=c.navigation():S=(0,t.h)(l);const w={class:`${e}__navigation`,onClick:d};return(0,t.h)("view",w,[S])},O=()=>{const S=[];for(let G=0;G<M.value.length;G++){const te=M.value[G];let F=null;c.popupItem?F=c.popupItem({item:te,index:G}):F=ci(s,te);const z={class:K(te,G),key:x(te,G),onClick:H(te,G)},ae=(0,t.h)("view",z,[F]);S.push(ae)}const w={class:g.value,style:y.value};return(0,t.h)("view",w,S)},ne=()=>s.showScrollArrow&&s.direction=="horizontal",ie=(0,t.ref)(!1),Q=(0,t.ref)(!1),A=S=>{const w=N.value,G=D.value;if(!(!w||!G))if(S==="left"){const te=w.scrollLeft;let F=te;for(let z=0;z<G.length;z++){const ae=G[z].offsetLeft;if(te-ae<0)break;F=ae}T(w,F,.3,"horizontal")}else{const te=w.scrollLeft;let F=te,z=w.offsetWidth;for(let ae=G.length-1;ae>=0;ae--){const le=G[ae].offsetLeft+G[ae].offsetWidth;if(le-te<w.offsetWidth){F+=z-le;break}z=le}T(w,F,.3,"horizontal")}},X=rt(()=>{const S=N.value;if(!S)return;let w=S.scrollLeft>0;w!==ie.value&&(ie.value=w);let G=S.scrollWidth-S.scrollLeft>S.offsetWidth;G!==Q.value&&(Q.value=G)},50),oe=S=>{X()},fe=()=>{const S=N.value;S&&(X(),S.addEventListener("scroll",oe))},re=()=>{const S=N.value;S&&S.removeEventListener("scroll",oe)},U=S=>{if(S==="left"&&ie.value!==!0||S==="right"&&Q.value!==!0)return null;let w=null;S==="left"?c.leftArrow?w=c.leftArrow():w=(0,t.h)(r):c.rightArrow?w=c.rightArrow():w=(0,t.h)(a);const G={class:[`${e}__scroll-arrow`,S],onClick:()=>{A(S)}};return(0,t.h)("view",G,[w])};return()=>{const S=[],w=W();if(S.push(w),ne()){const te=U("left");te&&S.push(te);const F=U("right");F&&S.push(F)}else if(s.showQuickNavigation){const te=V();S.push(te);const F=O();S.push(F)}const G={class:f.value};return(0,t.h)("view",G,S)}}}}var{create:_0,componentName:q0,scope:z0}=ge("tabs-bar"),j0=_0(L0(q0,z0,If,Of,Pf,!1)),xn=j0,hi=Symbol("TabsStatesKey"),Ol={prop:{type:[String]},modelValue:{type:[String,Number]},direction:{type:[String],default:()=>"horizontal"},lazy:{type:[Boolean],default:()=>!0},draggle:{type:[Boolean],default:()=>!1},transition:{type:[Boolean],default:()=>!0},height:{type:[String,Number]},width:{type:[String,Number]}},K0=15,H0=300,W0=200;function Y0(e,n,l=1){return e=Math.abs(e/n)/.003*(e<0?-1:1),e*l}function mi(e,n=0,l,r,a=W0){l==="end"?e.style.transition=`transform ${a}ms linear`:e.style.transition="transform 0ms linear",r==="horizontal"?e.style.transform=`translate3d(${n}px, 0, 0)`:e.style.transform=`translate3d(0, ${n}px, 0)`}var U0=class{el=null;direction="horizontal";transitionEndTrigger=null;moving=!1;isTouch=!1;triggerAutoMoveRatio=.3;momentumReduceRatio=1;transitionend=null;touchstart=null;touchmove=null;touchend=null;touchcancel=null;onStart;onMove;onEnd;constructor(e,n,l,r=1){this.onStart=e,this.onMove=n,this.onEnd=l,this.momentumReduceRatio=r,this.isTouch=Sn()}open(e){this.el=e;const n=Cn(),l=(r,a,o)=>{const s={delta:r,direction:a,type:o};this.onMove(s)};this.transitionend=()=>{this.transitionEndTrigger&&(this.transitionEndTrigger(),this.transitionEndTrigger=null)},this.touchstart=r=>{if(this.moving)return;n.start(r),this.transitionEndTrigger=()=>{e.removeEventListener("transitionend",this.transitionend),this.moving=!1,this.onEnd()},this.moving=!0,e.removeEventListener("transitionend",this.transitionend),e.addEventListener("transitionend",this.transitionend),e.addEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),e.addEventListener(this.isTouch?"touchend":"mouseup",this.touchend),this.isTouch&&e.addEventListener("touchcancel",this.touchend);const a={delta:0,type:"start",direction:this.direction};this.onStart(a)},this.touchmove=r=>{if(!this.moving)return;n.move(r);let a=0;if(this.direction==="horizontal"){if(n.isVertical())return;a=n.state.deltaX}else{if(n.isHorizontal())return;a=n.state.deltaY}l(a,this.direction,"move")},this.touchend=()=>{if(!this.moving)return;e.removeEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),e.removeEventListener(this.isTouch?"touchend":"mouseup",this.touchend),this.isTouch&&e.removeEventListener("touchcancel",this.touchend);let r=0;if(this.direction==="horizontal"){if(n.isVertical()){this.moving=!1;return}r=n.state.deltaX}else{if(n.isHorizontal()){this.moving=!1;return}r=n.state.deltaY}const a=n.state.duration;a<H0&&Math.abs(r)>K0?(r=Y0(r,a,this.momentumReduceRatio),l(r,this.direction,"end")):l(r,this.direction,"end")},e.addEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart)}close(){const e=this.el;this.transitionend&&e.removeEventListener("transitionend",this.transitionend),this.touchstart&&e.removeEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart),this.touchmove&&e.removeEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),this.touchend&&e.removeEventListener(this.isTouch?"touchend":"mouseup",this.touchend),this.touchcancel&&this.isTouch&&e.removeEventListener("touchcancel",this.touchcancel),this.el=null}};function G0(e,n,l,r=1){return new U0(e,n,l,r)}function X0(e,n,l=!1){return{props:Ol,emits:["update:modelValue","change"],setup(r,a){const{emitEvent:o,exposeApi:s}=It({context:a},r.prop),{slots:u}=a,i=(0,t.shallowRef)([]),h={current:(0,t.ref)(r.modelValue??""),direction:(0,t.ref)(r.direction),transition:r.transition,tabWidth:(0,t.ref)(-1),tabHeight:(0,t.ref)(-1),add:P=>{const q={name:P};h.current.value===P&&(q.loaded=!0),i.value.push(q),(0,t.triggerRef)(i)},remove:P=>{const q=i.value.findIndex(T=>T.name===P);q!==-1&&i.value.splice(q,1)},isLoaded:P=>{if(!r.lazy)return!0;const q=i.value.findIndex(T=>T.name===P);return q!==-1?h.current.value?i.value[q].loaded??!1:q===0:!1}};(0,t.provide)(hi,h);const c=P=>{const q=i.value.findIndex(T=>T.name===P);q!==-1&&(i.value[q].loaded=!0,(0,t.triggerRef)(i))};(0,t.watch)([()=>r.modelValue,()=>r.direction],([P,q])=>{h.current.value!==P&&(h.current.value=P??"",c(P??"")),h.direction.value!==q&&(h.direction.value=q)});const f=(0,t.ref)(null),m=(0,t.ref)(null),$=(0,t.computed)(()=>({[e]:!0,[`${r.direction}`]:!0})),k=(0,t.computed)(()=>{const P={};if(r.width){const q=Te(r.width);q&&(P.width=q)}if(r.height){const q=Te(r.height);q&&(P.height=q)}return P});let p=!0;const g=(0,t.computed)(()=>{const P={};if(r.transition===!1)return P;const q=i.value.length;if(q<=0)return P;const T=i.value.findIndex(R=>R.name===h.current.value);return h.direction.value==="vertical"?h.tabHeight.value>0&&(P.height=`${q*h.tabHeight.value}px`,T!==-1&&(P.transform=`translate(0, -${T*h.tabHeight.value}px)`)):h.tabWidth.value>0&&(P.width=`${q*h.tabWidth.value}px`,T!==-1&&(P.transform=`translate(-${T*h.tabWidth.value}px, 0)`)),p&&(p=!1,P.transition="transform 0s ease"),P}),y={min:0,max:0,start:0,moved:0,itemDistance:0,triggerAutoMoveRatio:.3},b=P=>{const q=i.value.length,T=i.value.findIndex(R=>R.name===h.current.value);y.moved=0,P.direction==="vertical"?(y.min=-1*(h.tabHeight.value*(q-1)+h.tabHeight.value/4),y.max=h.tabHeight.value/4,y.start=-T*h.tabHeight.value,y.itemDistance=h.tabHeight.value):(y.min=-1*(h.tabWidth.value*(q-1)+h.tabWidth.value/4),y.max=h.tabWidth.value/4,y.start=-T*h.tabWidth.value,y.itemDistance=h.tabWidth.value)},E=P=>{const q=m.value;if(!q)return;let T=y.start+P.delta;if(T>y.max?T=y.max:T<y.min&&(T=y.min),P.type==="move")mi(q,T,"move",P.direction,300);else if(P.type==="end"){let R=Math.floor(Math.abs(T)*1/y.itemDistance);const _=Math.abs(T)%y.itemDistance;y.start>T?_>=y.itemDistance*y.triggerAutoMoveRatio&&(R+=1):_>y.itemDistance-y.itemDistance*y.triggerAutoMoveRatio&&(R+=1),T=-1*R*y.itemDistance,mi(q,T,"end",P.direction,300),y.moved=T;const x=i.value[R].name;h.current.value=x??"",c(x??""),o("update:modelValue",x)}},d=()=>{},C=()=>{if(!f.value)return;const P=Wa(f.value);h.tabWidth.value=P.width,h.tabHeight.value=P.height},N=Ir(C,250);let D=null,Y=null;return(0,t.onMounted)(()=>{r.transition!==!1&&f.value&&(C(),window.ResizeObserver&&(Y=new window.ResizeObserver(N),Y.observe(f.value)),r.draggle&&(D=G0(b,E,d),D.open(m.value)))}),(0,t.onBeforeUnmount)(()=>{Y&&(Y.disconnect(),Y=null),D&&D.close()}),s({doLayout(){C()}}),()=>{const P={class:`${e}__panes`,style:g.value,ref:m},q=(0,t.h)("view",P,[u?.default?.()]),T={class:$.value,style:k.value,ref:f};return(0,t.h)("view",T,[q])}}}}var{create:Q0,componentName:Z0,scope:J0}=ge("tabs-container"),ey=Q0(X0(Z0,J0,!1)),kn=ey,ty={paneKey:{type:[String,Number],required:!0},loaded:{type:[Boolean,String],default:null},emptyIcon:{type:[Object],required:!1},emptyText:{type:[String],required:!1},label:{type:[String],required:!1}};function ny(e,n,l){return{props:ty,setup(r,{emit:a,slots:o}){const s=(0,t.inject)(hi);(0,t.onMounted)(()=>{s.add(r.paneKey)}),(0,t.onBeforeUnmount)(()=>{s.remove(r.paneKey)});const u=(0,t.computed)(()=>{const c=[e];return s.direction.value==="vertical"?c.push("is-vertical"):c.push("is-horizontal"),s.transition===!1?c.push("is-no-transition"):c.push("is-transition"),c}),i=(0,t.computed)(()=>{const c={};return s.transition===!1?(s.current.value!==r.paneKey&&(c.display="none"),c):(s.direction.value==="vertical"&&s.tabHeight.value>0?c.height=`${s.tabHeight.value}px`:s.tabWidth.value>0&&(c.width=`${s.tabWidth.value}px`),c)}),h=(0,t.computed)(()=>r.loaded!=null?Ce(r.loaded):s.isLoaded(r.paneKey));return()=>{let c=[];if(h.value)c=o?.default?.()??[];else if(o.empty)c=o.empty();else{const m={class:`${e}__empty-icon`},$=r.emptyIcon??l,k=(0,t.h)($,m),p={class:`${e}__empty-text`},g=r.emptyText??"Loading",y=(0,t.h)("view",p,[g]),b={class:`${e}__empty`},E=(0,t.h)("view",b,[k,y]);c.push(E)}const f={class:u.value,style:i.value,prop:r.paneKey};return(0,t.h)("view",f,c)}}}}var{create:ay,componentName:ly,scope:ry}=ge("tabs-pane"),oy=ay(ny(ly,ry,pn)),da=oy,iy={...Bl,...Ol,modelValue:{type:[String,Number],default:0},direction:{type:[String]},height:{type:[String,Number]},width:{type:[String]}};function sy(e,n,l,r){return{props:iy,emits:["update:modelValue","change"],setup(a,o){const{emitEvent:s,exposeApi:u}=It({context:o},a.prop),{slots:i}=o,h=e,c=(0,t.computed)(()=>{const y=[`${h}`];return a.direction==="vertical"?y.push("vertical-tabbar"):y.push("horizontal-tabbar"),y}),f=(0,t.computed)(()=>{const y={};if(a.width){const b=Te(a.width);b&&(y.width=b)}if(a.height){const b=Te(a.height);b&&(y.height=b)}return y}),m=(0,t.computed)(()=>[`${h}__bar`]),$=(0,t.computed)(()=>[`${h}__container`]),k=(0,t.ref)(a.modelValue);(0,t.watch)(()=>a.modelValue,y=>{k.value!==y&&(k.value=y)});const p=y=>{s("change",y)},g=y=>{k.value!==y&&(k.value=y,s("update:modelValue",y))};return u({}),()=>{const{getChildren:y}=fn(i.default),b=y(),E=[];if(Array.isArray(a.data))E.push(...a.data);else for(let T=0;T<b.length;T++){const R=b[T].props??{},_={text:R.label??"",value:R["pane-key"]??R.paneKey??""};E.push(_)}const d={};for(let T in i)T!=="default"&&(d[T]=i[T]);const C=wt(a,Bl);Object.assign(C,{prop:null,data:E,class:m.value,modelValue:k.value,direction:a.direction,onChange:p,"onUpdate:modelValue":g});const N=(0,t.h)(l,C,d),D={default:()=>b},Y=wt(a,Ol);Object.assign(Y,{prop:null,class:$.value,modelValue:k.value,onChange:p,"onUpdate:modelValue":g});const P=(0,t.h)(r,Y,D),q={class:c.value,style:f.value};return(0,t.h)("view",q,[N,P])}}}}var{create:uy,componentName:cy,scope:fy}=ge("tabs-frame"),dy=uy(sy(cy,fy,xn,kn)),Rl=dy,hy={prop:{type:[String]},direction:{type:[String],default:"horizontal"},mode:{type:[String]},align:{type:[String]},modelValue:{type:[Number,Boolean,String]},disabled:{type:[Boolean,String],required:!1},data:{type:[Array,Function,String],required:!1},params:{type:[Object],required:!1},textKey:{type:String,required:!1,default:"text"},valueKey:{type:String,required:!1,default:"value"},disabledKey:{type:String,required:!1,default:"disabled"},visibleKey:{type:String,required:!1,default:"visible"},statusKey:{type:String,required:!1,default:"status"},doitKey:{type:String,required:!1,default:"doit"},labelKey:{type:String,required:!1,default:"label"},itemOptions:{type:[Object,Function],required:!1},step:{type:[String,Number]},clickNavigatePolicy:{type:[String]},icon:{type:[Object]},iconSize:{type:[String,Number]},markIcon:{type:[Object]},markIconSize:{type:[String,Number]},layout:{type:[Array],default:()=>["head","main","sub"]},scroll:{type:[Boolean]}};function my(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function gi(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function yi(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}function gy(e,n){return typeof e.visibleKey=="string"&&e.visibleKey.length>0?n[e.visibleKey]:n.visible??null}function Fl(e,n){return typeof e.statusKey=="string"&&e.statusKey.length>0?n[e.statusKey]:n.statusKey??null}function pi(e,n){return typeof e.doitKey=="string"&&e.doitKey.length>0?n[e.doitKey]:n.doitKey??null}function vi(e,n){return typeof e.labelKey=="string"&&e.labelKey.length>0?n[e.labelKey]:n.labelKey??null}function Ml(e,n,l){return typeof e.itemOptions=="function"?e.itemOptions(n,l):e.itemOptions}var yy=class{scope;constructor(e){this.scope=e}async load(e,n,l){if(Array.isArray(n))return n;if(typeof n=="function")return await Reflect.apply(n,null,[l]);const r=tt(e,this.scope);return r===null?(console.error(`[FoxUI]${e} component not found api function`),[]):(et(l)&&(0,t.isReactive)(l)&&(l=(0,t.toRaw)(l)),await Reflect.apply(r,null,[n,l]))}};function py(){const e=ut();return new yy(e)}function vy(e,n,l,r){return{props:hy,emits:["update:modelValue","change","loaded-data","click"],setup(a,o){const{emitEvent:s,exposeApi:u}=It({context:o},a.prop),i=e,h=py(),c=(0,t.ref)([]),f=(0,t.computed)(()=>c.value.filter(W=>gy(a,W)!==!1)),m=(0,t.ref)(-1),$=()=>{const W=a.modelValue,V=f.value.findIndex(O=>gi(a,O)===W);m.value!==V&&(m.value=V,a.scroll&&Z(V,!1))};(0,t.watch)([()=>a.modelValue,f],()=>{$()});const k=W=>m.value===W,p=W=>{if(W<0&&W>=f.value.length)return!1;const V=f.value[W],O=(Ml(a,V,W)??{}).status??Fl(a,V);return k(W)||O},g=(0,t.computed)(()=>{const W={[i]:!0};return a.mode?W[`is-${a.mode}`]=!0:a.direction&&(W[`is-${a.direction}`]=!0),a.scroll&&(W["is-scroll"]=!0),W}),y=(0,t.computed)(()=>({})),b=(W,V,O,ne,ie)=>{const Q={[`${i}__step`]:!0};return ie&&(Q[`${ie}`]=!0),Q[`${E.value}`]=!0,ne&&(Q["is-doit"]=!0),W===m.value?Q["is-active"]=!0:V==="done"?Q["is-done"]=!0:V==="error"?Q["is-error"]=!0:V==="half"?Q["is-half"]=!0:O?Q["is-disabled"]=!0:Q["is-normal"]=!0,Q},E=(0,t.computed)(()=>{let W=a.align;if(!W){if(a.mode==="simple")return"start";a.direction==="vertical"?W="start":W="center"}return W}),d=(W,V={})=>{const O={...V};if(E.value==="start"&&W===f.value.length-1)O.flex="0 0 auto";else if(a.step){const ne=typeof a.step=="number"||Ra(a.step)?Te(a.step):a.step;a.direction==="vertical"?O.height=ne:O.width=ne}else O.flex="1 1 100%";return O},C=(W,V)=>{let O={};if(V<f.value.length-1){const ne=V+1;p(V)&&p(ne)?a.direction==="vertical"?O.height="100%":O.width="100%":O.opacity="0"}return O},N=W=>f.value.length-1===W,D=(W,V)=>{if(a.clickNavigatePolicy==="disabled"||(a.clickNavigatePolicy==="only-back"||a.clickNavigatePolicy==="only-back-reset")&&V>m.value||m.value===V)return;const O=m.value,ne=V;m.value=V,a.scroll&&Z(V,!1);const ie=gi(a,W);s("update:modelValue",ie);const Q={fromIndex:O,currentIndex:ne,item:W,items:f.value,clickNavigatePolicy:a.clickNavigatePolicy};s("change",ie,Q)},Y=(0,t.ref)(!0),P=async(W,V)=>{try{const O=await h.load("stesbar",W,V);Array.isArray(O)&&(c.value=O),Y.value=!1}catch(O){console.error("[FoxUI] Load StepsBar Data Fail",O),c.value=[]}setTimeout(()=>{s("loaded-data")},250)};(0,t.watch)([()=>a.data,()=>a.params],async([W,V])=>{W&&P(W,V)},{immediate:!0}),u({});const q=(W,V,O,ne,ie,Q)=>{const A=[];let X=null;if(!Q)if(o.slots.icon)X=o.slots.icon({item:W,index:V,status:ne});else if(ne==="done"){const oe={};a.iconSize&&(oe.width=a.iconSize,oe.height=a.iconSize);const fe=a.icon??l;X=(0,t.h)(fe,oe)}else{const oe=O??`${V+1}`;X=(0,t.h)("span",{},[oe])}return X&&A.push(X),(0,t.h)("view",{class:"fox-steps-bar__icon",onClick:()=>{s("click",{item:W,index:V}),!ie&&D(W,V)}},A)},T=(W,V,O)=>{const ne=(0,t.h)("i",{class:"fox-steps-bar__line-inner",style:C(W,V)});return(0,t.h)("view",{class:"fox-steps-bar__line"},[ne])},R=()=>{let W=null;if(o.slots.markIcon)W=o.slots.markIcon();else{const V={};a.iconSize&&(V.width=a.markIconSize,V.height=a.markIconSize);const O=a.markIcon??r;W=(0,t.h)(O,V)}return(0,t.h)("view",{class:"fox-steps-bar__mark"},[W])},_=(W,V,O,ne,ie,Q)=>{const A=[];if(!N(V)){const oe=T(W,V,ne);A.push(oe)}const X=q(W,V,O,ne,ie,Q);return A.push(X),(0,t.h)("view",{class:"fox-steps-bar__head"},A)},x=(W,V,O,ne)=>{let ie=null;return o.slots.main?ie=o.slots.main({item:W,index:V,status:O}):ie=my(a,W),(0,t.h)("view",{class:"fox-steps-bar__main",onClick:()=>{s("click",{item:W,index:V}),!ne&&D(W,V)}},[ie])},K=(W,V,O)=>{let ne=null;return o.slots.sub?(ne=o.slots.sub({item:W,index:V,status:O}),(0,t.h)("view",{class:"fox-steps-bar__sub"},[ne])):null},M=(W,V)=>{const O=Ml(a,W,V)??{},ne=O.status??Fl(a,W);let ie=yi(a,W);O.disabled===!0&&(ie=!0),a.disabled===!0&&(ie=!0);let Q=pi(a,W);O.doit===!0&&(Q=!0);const A=O.label??vi(a,W),X=[],oe=q(W,V,A,ne,ie,Q);oe&&X.push(oe);const fe=x(W,V,ne,ie);if(fe&&X.push(fe),!N(V)){const F=T(W,V,ne);F&&X.push(F)}const re=[],U=(0,t.h)("view",{class:"fox-steps-bar__head"},X);re.push(U);const S=K(W,V,ne);S&&re.push(S);const w=O.class,G=O.style??{},te={ref:ee(V),class:b(V,ne,ie,Q,w),style:d(V,G)};return(0,t.h)("view",te,re)},L=(W,V)=>{const O=Ml(a,W,V)??{},ne=O.status??Fl(a,W);let ie=yi(a,W);O.disabled===!0&&(ie=!0),a.disabled===!0&&(ie=!0);let Q=pi(a,W);O.doit===!0&&(Q=!0);const A=O.label??vi(a,W),X=[],oe=a.layout;for(let S of oe)if(S==="head"){const w=_(W,V,A,ne,ie,Q);X.push(w)}else if(S==="main"){const w=x(W,V,ne,ie);X.push(w)}else if(S==="sub"){const w=K(W,V,ne);X.push(w)}else if(S==="mark"){const w=R();X.push(w)}const fe=O.class,re=O.style??{},U={ref:ee(V),class:b(V,ne,ie,Q,fe),style:d(V,re)};return(0,t.h)("view",U,X)},j=(0,t.ref)(),B=(0,t.ref)([]),H=(W,V)=>{B.value[V]=W},ee=W=>V=>{H(V,W)},Z=(W,V)=>{const O=j.value,ne=B.value;if(!O||!ne||!ne[W])return;const ie=ne[W];let Q=0;a.direction==="vertical"?Q=ie.offsetTop-(O.offsetHeight-ie.offsetHeight)/2:Q=ie.offsetLeft-(O.offsetWidth-ie.offsetWidth)/2,J(O,Q,V?0:.3,a.direction)},J=(W,V,O,ne)=>{let ie=0;const Q=ne==="horizontal"?W.scrollLeft:W.scrollTop,A=O===0?1:Math.round(O*1e3/16);function X(){ne==="horizontal"?W.scrollLeft+=(V-Q)/A:W.scrollTop+=(V-Q)/A,++ie<A&&Pa(X)}X()};return()=>{let W=[];if(a.mode==="simple")for(let O=0;O<f.value.length;O++){const ne=f.value[O],ie=M(ne,O);W.push(ie)}else for(let O=0;O<f.value.length;O++){const ne=f.value[O],ie=L(ne,O);W.push(ie)}const V={ref:j,class:g.value,style:y.value};return W.length===0&&typeof o.slots.default=="function"&&(W=o.slots.default()),(0,t.h)("view",V,W)}}}}var{componentName:by,create:wy,scope:Sy}=ge("steps-bar"),Cy=wy(vy(by,Sy,So,Hf)),Ll=Cy,nt=e=>typeof e=="number"?`${e}px`:/^d+(\.?d+)$/.test(e)?`${e}px`:e,Rt=e=>e==null,Ty=class{startMove;updateMove;isTouch=!1;els=null;moving=!1;touchstart=null;touchmove=null;touchend=null;constructor(e,n){this.startMove=e,this.updateMove=n,this.isTouch=Sn()}open(e){Array.isArray(e)||(e=[e]),this.els=e;const n=Cn(),l=(r,a,o,s)=>{this.updateMove({x:r,y:a})};this.touchstart=r=>{this.moving||(n.start(r),this.startMove({x:n.state.startX,y:n.state.startY}),document.addEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),document.addEventListener(this.isTouch?"touchend":"mouseup",this.touchend),this.moving=!0)},this.touchmove=r=>{this.moving&&(n.move(r),l(n.state.deltaX,n.state.deltaY,"",0))},this.touchend=()=>{l(n.state.deltaX,n.state.deltaY,"end"),this.touchmove&&document.removeEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),this.touchend&&document.removeEventListener(this.isTouch?"touchend":"mouseup",this.touchend),n.reset(),this.moving=!1},this.els.forEach(r=>{this.touchstart&&r.addEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart)})}close(){Array.isArray(this.els)&&this.els.forEach(e=>{this.touchstart&&e.removeEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart)}),this.els=null}};function bi(e,n){return new Ty(e,n)}var wi=typeof window<"u"&&typeof document<"u",pb=typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;function Si(e){const n=Object.create(null);return(l=>n[l]||(n[l]=e(l)))}var xy=/\B([A-Z])/g,vb=Si(e=>e.replace(xy,"-$1").toLowerCase()),ky=/-(\w)/g,bb=Si(e=>e.replace(ky,(n,l)=>l?l.toUpperCase():"")),Yt=[],Ci=e=>{const n=e;n.key==="Escape"&&Yt.forEach(l=>l(n))},$y=e=>{(0,t.onMounted)(()=>{Yt.length===0&&document.addEventListener("keydown",Ci),wi&&Yt.push(e)}),(0,t.onBeforeUnmount)(()=>{Yt=Yt.filter(n=>n!==e),Yt.length===0&&wi&&document.removeEventListener("keydown",Ci)})},_l="fox-focus-trap.focus-after-trapped",Ti="fox-focus-trap.focus-after-released",Ny="fox-focus-trap.focusout-prevented",xi={cancelable:!0,bubbles:!1},Dy={cancelable:!0,bubbles:!1},ki="foxFocusAfterTrapped",$i="foxFocusAfterReleased",Ey=Symbol("foxFocusTrap"),ql=(0,t.ref)(),ha=(0,t.ref)(0),zl=(0,t.ref)(0),ma=0,Ni=e=>{const n=[],l=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const a=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||a?NodeFilter.FILTER_SKIP:r.tabIndex>=0||r===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;l.nextNode();)n.push(l.currentNode);return n},Py=(e,n)=>{if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(n&&e===n)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1},Di=(e,n)=>{for(const l of e)if(!Py(l,n))return l},Vy=e=>{const n=Ni(e);return[Di(n,e),Di(n.reverse(),e)]},Iy=e=>e instanceof HTMLInputElement&&"select"in e,Pt=(e,n)=>{if(e&&e.focus){const l=document.activeElement;e.focus({preventScroll:!0}),zl.value=window.performance.now(),e!==l&&Iy(e)&&n&&e.select()}};function Ei(e,n){const l=[...e],r=e.indexOf(n);return r!==-1&&l.splice(r,1),l}var Ay=()=>{let e=[];return{push:r=>{const a=e[0];a&&r!==a&&a.pause(),e=Ei(e,r),e.unshift(r)},remove:r=>{e=Ei(e,r),e[0]?.resume?.()}}},By=(e,n=!1)=>{const l=document.activeElement;for(const r of e)if(Pt(r,n),document.activeElement!==l)return},Pi=Ay(),Oy=()=>ha.value>zl.value,ga=()=>{ql.value="pointer",ha.value=window.performance.now()},Vi=()=>{ql.value="keyboard",ha.value=window.performance.now()},Ry=()=>((0,t.onMounted)(()=>{ma===0&&(document.addEventListener("mousedown",ga),document.addEventListener("touchstart",ga),document.addEventListener("keydown",Vi)),ma++}),(0,t.onBeforeUnmount)(()=>{ma--,ma<=0&&(document.removeEventListener("mousedown",ga),document.removeEventListener("touchstart",ga),document.removeEventListener("keydown",Vi))}),{focusReason:ql,lastUserFocusTimestamp:ha,lastAutomatedFocusTimestamp:zl}),ya=e=>new CustomEvent(Ny,{...Dy,detail:e}),{componentName:wb,create:Fy,scope:Sb}=ge("focus-trap"),My={loop:{type:[Boolean]},trapped:{type:[Boolean,String],required:!1,default:!1},escape:{type:[Boolean],required:!1,default:!1},focusTrapEl:{type:Object},focusStartEl:{type:[Object,String],default:"first"}},Ly=Fy({props:My,emits:[ki,$i,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{slots:n,emit:l}){const r=(0,t.ref)();let a,o;const{focusReason:s}=Ry();$y(p=>{Ce(e.trapped)&&!u.paused&&l("release-requested",p)});const u={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},i=p=>{if(!e.loop&&!Ce(e.trapped)||u.paused)return;const{key:g,altKey:y,ctrlKey:b,metaKey:E,currentTarget:d,shiftKey:C}=p,{loop:N}=e,D=g==="Tab"&&!y&&!b&&!E,Y=document.activeElement;if(D&&Y){const P=d,[q,T]=Vy(P);if(q&&T){if(!C&&Y===T){const R=ya({focusReason:s.value});l("focusout-prevented",R),R.defaultPrevented||(p.preventDefault(),N&&Pt(q,!0))}else if(C&&[q,P].includes(Y)){const R=ya({focusReason:s.value});l("focusout-prevented",R),R.defaultPrevented||(p.preventDefault(),N&&Pt(T,!0))}}else if(Y===P){const R=ya({focusReason:s.value});l("focusout-prevented",R),R.defaultPrevented||p.preventDefault()}}};(0,t.provide)(Ey,{focusTrapRef:r,onKeydown:i}),(0,t.watch)(()=>e.focusTrapEl,p=>{p&&(r.value=p)},{immediate:!0}),(0,t.watch)([r],([p],[g])=>{p&&(p.addEventListener("keydown",i),p.addEventListener("focusin",f),p.addEventListener("focusout",m)),g&&(g.removeEventListener("keydown",i),g.removeEventListener("focusin",f),g.removeEventListener("focusout",m))});const h=p=>{l(ki,p)},c=p=>l($i,p),f=p=>{const g=(0,t.unref)(r);if(!g)return;const y=p.target,b=p.relatedTarget,E=y&&g.contains(y);Ce(e.trapped)||b&&g.contains(b)||(a=b),E&&l("focusin",p),!u.paused&&Ce(e.trapped)&&(E?o=y:Pt(o,!0))},m=p=>{const g=(0,t.unref)(r);if(!(u.paused||!g))if(!e.escape&&Ce(e.trapped)){const y=p.relatedTarget;!Oe(y)&&!g.contains(y)&&setTimeout(()=>{if(!u.paused&&Ce(e.trapped)){const b=ya({focusReason:s.value});l("focusout-prevented",b),b.defaultPrevented||Pt(o,!0)}},0)}else{const y=p.target;y&&g.contains(y)||l("focusout",p)}};async function $(){await(0,t.nextTick)();const p=(0,t.unref)(r);if(p){Pi.push(u);const g=p.contains(document.activeElement)?a:document.activeElement;if(a=g,!p.contains(g)){const y=new Event(_l,xi);p.addEventListener(_l,h),p.dispatchEvent(y),y.defaultPrevented||(0,t.nextTick)(()=>{let b=e.focusStartEl;gr(b)||(Pt(b),document.activeElement!==b&&(b="first")),b==="first"&&By(Ni(p),!0),(document.activeElement===g||b==="container")&&Pt(p)})}}}function k(){const p=(0,t.unref)(r);if(p){p.removeEventListener(_l,h);const g=new CustomEvent(Ti,{...xi,detail:{focusReason:s.value}});p.addEventListener(Ti,c,{once:!0}),p.dispatchEvent(g),!g.defaultPrevented&&(s.value=="keyboard"||!Oy())&&Pt(a??document.body,!0),Pi.remove(u)}}return(0,t.onMounted)(()=>{Ce(e.trapped)&&$(),(0,t.watch)(()=>e.trapped,p=>{Ce(p)?$():k()})}),(0,t.onBeforeUnmount)(()=>{Ce(e.trapped)&&k(),r.value&&(r.value.removeEventListener("keydown",i),r.value.removeEventListener("focusin",f),r.value.removeEventListener("focusout",m))}),()=>typeof n.default=="function"?n.default({"handle-keydown":i}):null}}),_y=Ly,{componentName:qy,create:zy,scope:Cb}=ge("floating-window"),jy=Symbol.for("InnerPageScopeKey"),Ky=Symbol.for("PageWrapperKey"),Hy={modelValue:{type:[Boolean,String],required:!1,default:!0},title:{type:[String],required:!1},width:{type:[String,Number],required:!1},height:{type:[String,Number],required:!1},origin:{type:[String],required:!1,default:"right-top"},top:{type:[String,Number],required:!1},left:{type:[String,Number],required:!1},bottom:{type:[String,Number],required:!1},right:{type:[String,Number],required:!1},teleport:{type:[String,Element],default:"body"},fixedNavTeleport:{type:[String,Element]},zIndex:{type:[String,Number],required:!1},collapse:{type:[Boolean],requried:!1},showCollapse:{type:[Boolean],required:!1,default:!0},collapseText:{type:[String],requried:!1,default:"收起"},collapseIcon:{type:[Object],requried:!1},collapsePosition:{type:[String],requried:!1,default:"right"},collapseTop:{type:[String],requried:!1,default:"30vh"},expandText:{type:[String],requried:!1},expandIcon:{type:[Object],requried:!1},expandClass:{type:[String],requried:!1},showClose:{type:[Boolean],required:!1,default:!0},closeIcon:{type:[Object],requried:!1},draggable:{type:[Boolean],required:!1,default:!0},footerDraggable:{type:[Boolean],required:!1,default:!0},customClass:{type:[String],required:!1}},Wy=zy({inheritAttrs:!1,components:{FoxIcon:I.ElIcon,FocusTrap:_y},props:{...Hy},emits:["update:modelValue","update:collapse"],setup(e,{emit:n}){const l=qy,r=(0,t.ref)(e.modelValue),a=(0,t.computed)(()=>!e.teleport);(0,t.watch)(()=>e.modelValue,U=>{r.value=U});const o=(0,t.computed)(()=>r.value===!1?!1:!Y.value),s=(0,t.ref)(e.left),u=(0,t.ref)(e.top),i=(0,t.ref)(e.right),h=(0,t.ref)(e.bottom),c=(0,t.computed)(()=>{const U=["fox-floating-window"];return e.customClass&&U.push(e.customClass),U}),f=(0,t.computed)(()=>{const U={};return Rt(s.value)?U.left="auto":U.left=nt(s.value),Rt(u.value)?U.top="auto":U.top=nt(u.value),Rt(i.value)?U.right="auto":U.right=nt(i.value),Rt(h.value)?U.bottom="auto":U.bottom=nt(h.value),Rt(e.zIndex)||(U["z-index"]=nt(e.zIndex)),Rt(N.value)||(U.height=N.value),Rt(D.value)||(U.width=D.value),U}),m=(0,t.computed)(()=>e.closeIcon??Ke.Close),$=(0,t.computed)(()=>e.collapseIcon??Ke.ArrowUp),k=(0,t.computed)(()=>e.collapseText??""),p=(0,t.computed)(()=>e.collapsePosition==="left"?e.expandIcon??Ke.ArrowRight:e.expandIcon??Ke.ArrowLeft),g=(0,t.computed)(()=>e.expandText??e.title??"展开"),y=(0,t.computed)(()=>({[`${l}__collapse-text`]:!0})),b=(0,t.computed)(()=>({[`${l}__collapse-icon`]:!0,"is-expand":!Y.value,"is-collapse":Y.value})),E=(0,t.ref)(),d=(0,t.ref)(null),C=(0,t.ref)(null),N=(0,t.computed)(()=>nt(e.height)||""),D=(0,t.computed)(()=>nt(e.width)||""),Y=(0,t.ref)(Ce(e.collapse)),P=(U,S=!0)=>{Y.value!==U&&(Y.value=U,U?J():W(),n("update:collapse",U),U&&typeof R.onHide=="function"?R.onHide():!U&&typeof R.onShow=="function"&&R.onShow())};(0,t.watch)(()=>e.collapse,U=>{P(U)});const q=()=>{T()},T=U=>{U=U??!Y.value,P(U)};(0,t.provide)(jy,!0);const R={setCollapse:P,setFixedNavVisible:U=>{H.value=U}};(0,t.provide)(Ky,R);const _=()=>{typeof R.beforeClose=="function"?R.beforeClose(()=>{r.value=!1}):r.value=!1},x=(0,t.ref)(null),K=(0,t.computed)(()=>!e.fixedNavTeleport),M=(0,t.computed)(()=>{const U=["fox-floating-window__fixednav"];return e.expandClass&&U.push(e.expandClass),e.collapsePosition==="left"?U.push("is-left"):e.collapsePosition==="right"&&U.push("is-right"),U}),L=(0,t.ref)(""),j=(0,t.computed)(()=>{const U={};return L.value?U.top=L.value:e.collapseTop&&(U.top=e.collapseTop),U}),B=(0,t.ref)(Y.value),H=(0,t.computed)({set:U=>{B.value=U},get:()=>r.value===!1?!1:B.value});let ee=null;const Z=()=>{typeof ee=="function"&&(ee(),ee=null)},J=()=>{x.value&&x.value.classList.add("slide-in"),H.value=!0,ee=()=>{x.value&&x.value.classList.remove("slide-in")}},W=()=>{x.value&&x.value.classList.add("slide-out"),ee=()=>{x.value&&x.value.classList.remove("slide-out"),H.value=!1}},V=()=>{s.value=null,u.value=null,i.value=null,h.value=null},O={x:0,y:0},Q=bi(U=>{if(!E.value)return;const S=E.value;if(V(),e.origin==="left-top")s.value=S.offsetLeft,u.value=S.offsetTop,O.x=s.value,O.y=u.value;else if(e.origin==="left-bottom"){const w=document.documentElement.clientHeight||document.body.clientHeight;s.value=S.offsetLeft,h.value=w-(S.offsetTop+S.offsetHeight),O.x=s.value,O.y=h.value}else if(e.origin==="right-bottom"){const w=document.documentElement.clientWidth||document.body.clientWidth,G=document.documentElement.clientHeight||document.body.clientHeight;i.value=w-(S.offsetLeft+S.offsetWidth),h.value=G-(S.offsetTop+S.offsetHeight),O.x=i.value,O.y=h.value}else{const w=document.documentElement.clientWidth||document.body.clientWidth;i.value=w-(S.offsetLeft+S.offsetWidth),u.value=S.offsetTop,O.x=i.value,O.y=u.value}},U=>{if(!E.value)return;const S=E.value;V(),e.origin==="left-top"?(s.value=O.x+U.x,u.value=O.y+U.y,S.style.left=nt(s.value),S.style.top=nt(u.value)):e.origin==="left-bottom"?(s.value=O.x+U.x,h.value=O.y-U.y,S.style.left=nt(s.value),S.style.bottom=nt(h.value)):e.origin==="right-bottom"?(i.value=O.x-U.x,h.value=O.y-U.y,S.style.right=nt(i.value),S.style.bottom=nt(h.value)):(i.value=O.x-U.x,u.value=O.y+U.y,S.style.right=nt(i.value),S.style.top=nt(u.value))}),A={x:0,y:0},fe=bi(U=>{x.value&&(A.x=x.value.offsetLeft,A.y=x.value.offsetTop)},U=>{if(!x.value)return;const S=A.y+U.y;L.value=`${S}px`}),re=()=>{if(E.value){const U=E.value.querySelector(".fox-floating-window__body > .fox-page > .fox-footer-bar");C.value=U}};return(0,t.onMounted)(()=>{if(e.draggable&&E.value){const U=[];d.value&&U.push(d.value),e.footerDraggable&&(re(),C.value&&U.push(C.value)),Q.open(U)}e.collapse===!0&&P(e.collapse,!1),x.value&&fe.open(x.value)}),(0,t.onBeforeUnmount)(()=>{e.draggable&&d.value&&Q.close(),x.value&&fe.close()}),{classes:c,styles:f,isShow:o,closeIcon:m,onClose:_,dialogRef:E,headerRef:d,onClickToggle:q,collapseIcon:$,collapseText:k,collapseTextClasses:y,collapseIconClasses:b,expandIcon:p,expandText:g,isShowFixedNav:H,fixedNavRef:x,fixedNavClasses:M,fixedNavStyles:j,onAnimationEnd:Z,teleportDisabled:a,fixedNavTeleportDisabled:K}}}),Yy={ref:"headerRef",class:"fox-floating-window__header"},Uy={class:"fox-floating-window__title"},Gy={class:"fox-floating-window__tools"},Xy={class:"fox-floating-window__body"},Qy={class:"fox-floating-window__fixednav__text"};function Zy(e,n,l,r,a,o){const s=(0,t.resolveComponent)("FoxIcon"),u=(0,t.resolveComponent)("FocusTrap");return(0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,null,[((0,t.openBlock)(),(0,t.createBlock)(t.Teleport,{to:e.teleport,disabled:e.teleportDisabled},[(0,t.createVNode)(t.Transition,{name:"fox-floating-window-fade"},{default:(0,t.withCtx)(()=>[(0,t.withDirectives)((0,t.createElementVNode)("div",{ref:"dialogRef",class:(0,t.normalizeClass)(e.classes),style:(0,t.normalizeStyle)(e.styles),tabindex:"-1"},[(0,t.createVNode)(u,{loop:!0,escape:!0,trapped:e.isShow,"focus-trap-el":e.dialogRef,"focus-start-el":"container"},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("div",Yy,[(0,t.renderSlot)(e.$slots,"header",{},()=>[(0,t.createElementVNode)("span",Uy,(0,t.toDisplayString)(e.title),1),(0,t.createElementVNode)("div",Gy,[e.showCollapse?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:0,class:"fox-floating-window__collapse",onClick:n[0]||(n[0]=(...i)=>e.onClickToggle&&e.onClickToggle(...i))},[(0,t.createElementVNode)("span",{class:(0,t.normalizeClass)(e.collapseTextClasses)},(0,t.toDisplayString)(e.collapseText),3),(0,t.createVNode)(s,{class:(0,t.normalizeClass)(e.collapseIconClasses)},{default:(0,t.withCtx)(()=>[((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(e.collapseIcon)))]),_:1},8,["class"])])):(0,t.createCommentVNode)("",!0),e.showClose?((0,t.openBlock)(),(0,t.createBlock)(s,{key:1,class:"fox-floating-window__close",onClick:e.onClose},{default:(0,t.withCtx)(()=>[((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(e.closeIcon)))]),_:1},8,["onClick"])):(0,t.createCommentVNode)("",!0)])])],512),(0,t.createElementVNode)("div",Xy,[(0,t.renderSlot)(e.$slots,"default")])]),_:3},8,["trapped","focus-trap-el"])],6),[[t.vShow,e.isShow]])]),_:3})],8,["to","disabled"])),((0,t.openBlock)(),(0,t.createBlock)(t.Teleport,{to:e.fixedNavTeleport,disabled:e.fixedNavTeleportDisabled},[(0,t.withDirectives)((0,t.createElementVNode)("div",{ref:"fixedNavRef",class:(0,t.normalizeClass)(e.fixedNavClasses),style:(0,t.normalizeStyle)(e.fixedNavStyles),onAnimationend:n[2]||(n[2]=(...i)=>e.onAnimationEnd&&e.onAnimationEnd(...i))},[(0,t.createElementVNode)("div",{class:"fox-floating-window__fixednav__inner",onClick:n[1]||(n[1]=(...i)=>e.onClickToggle&&e.onClickToggle(...i))},[(0,t.createVNode)(s,{class:"fox-floating-window__fixednav__icon"},{default:(0,t.withCtx)(()=>[((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(e.expandIcon)))]),_:1}),(0,t.createElementVNode)("div",Qy,(0,t.toDisplayString)(e.expandText),1)])],38),[[t.vShow,e.isShowFixedNav]])],8,["to","disabled"]))],64)}var jl=ze(Wy,[["render",Zy]]);function Ii(e,n=null,l=["text"],r=null,a="children",o="leaf"){let s=!1;if(typeof r=="function"?s=r(e,n):typeof n=="string"&&n.length>0&&(s=l.some(u=>{if(!e[u]||typeof e[u]!="string")return!1;const i=e[u].toLocaleLowerCase(),h=n.toLocaleLowerCase();return i.includes(h)})),s===!0)return e;if(e[o]!==!0&&Array.isArray(e[a])&&e[a].length>0){let u=[];if(e[a].forEach(i=>{const h=Ii(i,n,l,r,a,o);h&&u.push(h)}),u.length>0){const i={...e};return i[a]=u,i}}return null}function Jy(e,n,l=["text"],r=null,a="children",o="leaf"){if(!n&&!r)return e;const s=[];for(let u=0;u<e.length;u++){const i=e[u],h=Ii(i,n,l,r,a,o);h&&s.push(h)}return s}var ep=(0,t.defineComponent)({props:{poppable:{type:[Boolean],default:()=>!0}},setup(e,{slots:n,attrs:l}){return()=>{if(e.poppable){const r={...l};return(0,t.h)(St,r,n)}else return n?.default?.()??null}}}),tp=ep,pa=(e,n,l)=>e.map(r=>{const{value:a="value",text:o="text",children:s="children"}=l??{},{[a]:u,[o]:i,[s]:h,...c}=r,f={loading:!1,...c,level:n?(n&&n.level||0)+1:0,value:u,text:i,children:h,_parent:n};return f.children&&f.children.length&&(f.children=pa(f.children,f,l)),f}),Ai=(e,n)=>{let l=0,r;for(;(r=e[l++])&&n(r)!==!0;)r.children&&r.children.length&&Ai(r.children,n)},np={topId:null,idKey:"id",pidKey:"pid",sortKey:""},ap=(e,n)=>{const{topId:l,idKey:r,pidKey:a,sortKey:o}={...np,...n||{}};let s=[],u={};return e.forEach(i=>{i={...i};const{[r]:h,[a]:c}=i,f=u[c]=u[c]||[];!s.length&&c===l&&(s=f),f.push(i),i.children=u[h]||(u[h]=[])}),o&&Object.keys(u).forEach(i=>{u[i].length>1&&u[i].sort((h,c)=>h[o]-c[o])}),u=null,s},Bi=class{nodes;config;constructor(e,n){this.config={value:"value",text:"text",children:"children",...n||{}},this.nodes=pa(e,null,this.config)}updateChildren(e,n){n?n.children=pa(e,n,this.config):this.nodes=pa(e,null,this.config)}getNodeByValue(e){let n;return Ai(this.nodes,l=>{if(l.value===e)return n=l,!0}),n}getPathNodesByValue(e){if(!e.length)return[];const n=[];let l=this.nodes;for(;l&&l.length;){const r=l.find(a=>a.value===e[a.level]);if(!r)break;n.push(r),l=r.children}return n}isLeaf(e,n){const{leaf:l,children:r}=e,a=Array.isArray(r)&&!!r.length;return l||!a&&!n}hasChildren(e,n){if(this.isLeaf(e,n))return!1;const{children:l}=e;return Array.isArray(l)&&!!l.length}},{create:lp,scope:rp}=ge("cascader-pane"),op=lp({components:{Loading:pn,Checklist:So,TabsBar:xn,TabsContainer:kn,TabsPane:da},props:{visible:{type:Boolean,required:!0},modelValue:{type:[Array],required:!0},options:{type:[Array],default:()=>[]},lazy:{type:Boolean,required:!1},lazyLoad:{type:Function,required:!1},valueKey:{type:String,default:()=>"value"},textKey:{type:String,default:()=>"text"},childrenKey:{type:String,default:()=>"children"},convertConfig:{type:Object,required:!1}},emits:["update:modelValue","change","pathChange"],setup(e,{emit:n,expose:l}){const{t:r}=(0,Pe.useFoxI18n)(rp),a=(0,t.computed)(()=>({lazy:e.lazy,lazyLoad:e.lazyLoad,valueKey:e.valueKey,textKey:e.textKey,childrenKey:e.childrenKey,convertConfig:e.convertConfig})),o=(0,t.ref)(0),s=(0,t.ref)(),u=(0,t.ref)(!1),i=(0,t.ref)(e.modelValue),h=(0,t.ref)(new Bi([],{})),c=(0,t.ref)([]),f=(0,t.computed)(()=>a.value.lazy&&!!a.value.lazyLoad),m=(0,t.computed)(()=>u.value==!0||c.value.length==0?[{text:"Loading",value:0}]:c.value.map((C,N)=>({text:C.selectedNode?C.selectedNode.text:r("select"),value:N}))),$=new Map;let k,p=null;const g=async()=>{$.clear(),c.value=[],o.value=0,u.value=!1,k=null;let{options:C}=e;a.value.convertConfig&&(C=ap(C,a.value.convertConfig)),h.value=new Bi(C,{value:a.value.valueKey,text:a.value.textKey,children:a.value.childrenKey}),f.value&&!h.value.nodes.length&&await b({root:!0,loading:!0,level:0,text:"",value:""}),c.value=[{nodes:h.value.nodes,selectedNode:null}],y(!f.value)},y=async(C=!0)=>{const N=i.value;if(N===void 0||!h.value.nodes.length)return;if(N.length===0){o.value=0,c.value=[{nodes:h.value.nodes,selectedNode:null}];return}let D=N;if(f.value&&Array.isArray(N)&&N.length){D=[];let Y=h.value.nodes.find(P=>P.value===N[0]);if(Y){D=[Y.value],u.value=!0;const P=await N.slice(1).reduce(async(q,T)=>{const R=await q;await b(R);const _=R&&R?.children?.find(x=>x.value===T);return _&&D.push(T),Promise.resolve(_)},Promise.resolve(Y));await b(P),u.value=!1}}D.length&&N===e.modelValue&&h.value.getPathNodesByValue(D).map((Y,P)=>{o.value=P,d.handleNode(Y,C)})},b=async C=>{if(!C)return;if(!a.value.lazyLoad){C.leaf=!0;return}if(h.value.isLeaf(C,f.value)||h.value.hasChildren(C,f.value))return;C.loading=!0,p&&typeof p=="object"&&Object.assign(C,p);const N=C.root?null:C;let D=$.get(C);D||(D=new Promise(P=>{a.value.lazyLoad?.(C,P)}),$.set(C,D));const Y=await D;Array.isArray(Y)&&Y.length>0?h.value.updateChildren(Y,N):C.leaf=!0,C.loading=!1,$.delete(C)},E=C=>{const N=C.map(D=>D.value);i.value=N,n("change",N,C),n("pathChange",C),n("update:modelValue",N)},d={async handleNode(C,N){const{disabled:D,loading:Y}=C;if(!(!N&&D||!c.value[o.value])){if(h.value.isLeaf(C,f.value)){if(C.leaf=!0,c.value[o.value].selectedNode=C,c.value=c.value.slice(0,C.level+1),!N){const P=c.value.map(q=>q.selectedNode);E(P),n("pathChange",P)}return}if(h.value.hasChildren(C,f.value)){const P=C.level+1;c.value[o.value].selectedNode=C,c.value=c.value.slice(0,P),c.value.push({nodes:C.children||[],selectedNode:null}),o.value=P,N||n("pathChange",c.value.map(q=>q.selectedNode));return}k=C,!Y&&(await b(C),k===C&&(c.value[o.value].selectedNode=C,d.handleNode(C,N)))}},handleTabChange(C,N){k=null},formatTabTitle(C){return C.selectedNode?C.selectedNode.text:r("select")},isSelected(C,N){return C.selectedNode&&C.selectedNode.value===N.value}};return(0,t.watch)([a,()=>e.options],()=>{g()},{deep:!0,immediate:!0}),(0,t.watch)(()=>e.modelValue,C=>{Qe(C,i.value)||(i.value=C,y(!f.value))}),(0,t.watch)(()=>e.visible,C=>{C&&Array.isArray(i.value)&&i.value.length>0&&y(),C&&s.value&&setTimeout(()=>{s.value.doLayout()},0)}),l({refresh:(C={})=>{p=C,g()}}),{panes:c,panesTitles:m,initLoading:u,tabsCursor:o,tabsContainerRef:s,...d}}}),ip={class:"fox-cascader"},sp={role:"menu",class:"fox-cascader__pane"},up=["aria-checked","aria-disabled","onClick"],cp={class:"fox-cascader__item__title"};function fp(e,n,l,r,a,o){const s=(0,t.resolveComponent)("TabsBar"),u=(0,t.resolveComponent)("Loading"),i=(0,t.resolveComponent)("Checklist"),h=(0,t.resolveComponent)("TabsPane"),c=(0,t.resolveComponent)("TabsContainer");return(0,t.openBlock)(),(0,t.createElementBlock)("view",ip,[(0,t.createVNode)(s,{modelValue:e.tabsCursor,"onUpdate:modelValue":n[0]||(n[0]=f=>e.tabsCursor=f),data:e.panesTitles,onChange:e.handleTabChange,scroll:!0,align:"left"},null,8,["modelValue","data","onChange"]),(0,t.createVNode)(c,{ref:"tabsContainerRef",modelValue:e.tabsCursor,"onUpdate:modelValue":n[1]||(n[1]=f=>e.tabsCursor=f)},{default:(0,t.withCtx)(()=>[!e.initLoading&&e.panes.length?((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,{key:0},(0,t.renderList)(e.panes,(f,m)=>((0,t.openBlock)(),(0,t.createBlock)(h,{"pane-key":m,key:m},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("view",sp,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(f.nodes,$=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:$.value,class:(0,t.normalizeClass)(["fox-cascader__item",{active:e.isSelected(f,$),disabled:$.disabled}]),"aria-checked":e.isSelected(f,$),"aria-disabled":$.disabled||void 0,role:"menuitemradio",onClick:k=>e.handleNode($,!1)},[(0,t.createElementVNode)("view",cp,(0,t.toDisplayString)($.text),1),$.loading?((0,t.openBlock)(),(0,t.createBlock)(u,{key:0,class:"fox-cascader__item__icon-loading",name:"loading"})):((0,t.openBlock)(),(0,t.createBlock)(i,{key:1,class:"fox-cascader__item__icon-check",name:"checklist"}))],10,up))),128))])]),_:2},1032,["pane-key"]))),128)):((0,t.openBlock)(),(0,t.createBlock)(h,{key:1,"pane-key":0},{default:(0,t.withCtx)(()=>[...n[2]||(n[2]=[(0,t.createElementVNode)("view",{class:"fox-cascader__pane"},null,-1)])]),_:1}))]),_:1},8,["modelValue"])])}var dp=ze(op,[["render",fp]]),{create:hp,scope:mp}=ge("cascader"),gp=hp({components:{CascaderPane:dp,Wrapper:tp,SearchBar:wn,Search:wo,Close:vn},props:{...ol,modelValue:{type:[Array]},visible:{type:[Boolean]},title:{type:[String]},options:{type:[Array],default:()=>[]},lazy:{type:[Boolean]},lazyLoad:{type:[Function]},valueKey:{type:String,default:()=>"value"},textKey:{type:String,default:()=>"text"},childrenKey:{type:String,default:()=>"children"},leafKey:{type:String,default:()=>"leaf"},poppable:{type:Boolean,default:()=>!0},convertConfig:{type:[Object]},filterable:{type:Boolean,default:()=>!1},fiterMethod:{type:Function},searchKey:{type:String,required:!1,default:"keyword"},seachPlaceholder:{type:String,required:!1},searchDelayTriggerClear:{type:Number,default:250}},emits:["update:modelValue","change","pathChange","update:visible"],setup(e,{emit:n}){const{toLocaleRefs:l}=(0,Pe.useFoxI18n)(mp),r=l(e,["seachPlaceholder"]),a="fox-cascader",o=(0,t.computed)(()=>{const b=[`${a}__bar`];return!e.title&&!e.filterable&&b.push("is-empty"),b}),s=(0,t.ref)(e.modelValue),u=(0,t.computed)({get(){return e.visible},set(b){n("update:visible",b)}}),i=(b,E)=>{s.value=b,u.value=!1,n("change",b,E),n("update:modelValue",b)},h=b=>{n("pathChange",b)},c=()=>{u.value=!1};(0,t.watch)(()=>e.modelValue,b=>{b!==s.value&&(s.value=b)});const f=(0,t.useTemplateRef)("cascaderPaneRef"),m=(0,t.ref)(""),$=(0,t.ref)(""),k=()=>{m.value=$.value,e.lazy&&f.value?.refresh({[`${e.searchKey}`]:m.value})},p=()=>{k()};let g=null;(0,t.watch)(()=>$.value,(b,E)=>{g&&(clearTimeout(g),g=null),ke(b)&&!ke(E)&&(g=setTimeout(()=>{p()},e.searchDelayTriggerClear))});const y=(0,t.computed)(()=>e.filterable===!0?Jy(e.options,m.value,[e.textKey],e.fiterMethod,e.childrenKey,e.leafKey):e.options);return{...r,headerBarClass:o,onChange:i,onPathChange:h,innerValue:s,innerVisible:u,filterOptions:y,searchModelValue:$,onSearch:k,onClose:c}}}),yp={key:0,class:"fox-cascader__bar-title"};function pp(e,n,l,r,a,o){const s=(0,t.resolveComponent)("Search"),u=(0,t.resolveComponent)("SearchBar"),i=(0,t.resolveComponent)("CascaderPane"),h=(0,t.resolveComponent)("Wrapper");return(0,t.openBlock)(),(0,t.createBlock)(h,{poppable:e.poppable,visible:e.innerVisible,"onUpdate:visible":n[1]||(n[1]=c=>e.innerVisible=c),position:"bottom","pop-class":"fox-cascader__popup",round:"",closeable:e.closeable,"destroy-on-close":!1,"close-icon-position":e.closeIconPosition},{default:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,"header",{},()=>[(0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(e.headerBarClass)},[e.title?((0,t.openBlock)(),(0,t.createElementBlock)("view",yp,(0,t.toDisplayString)(e.title),1)):(0,t.createCommentVNode)("",!0),e.filterable?((0,t.openBlock)(),(0,t.createBlock)(u,{key:1,class:"fox-cascader__bar-search",modelValue:e.searchModelValue,"onUpdate:modelValue":n[0]||(n[0]=c=>e.searchModelValue=c),onSearch:e.onSearch,placeholder:e.seachPlaceholder,clearable:""},{leftin:(0,t.withCtx)(()=>[(0,t.createVNode)(s,{onClick:e.onClose,class:"fox-cascader__bar-search-icon"},null,8,["onClick"])]),_:1},8,["modelValue","onSearch","placeholder"])):(0,t.createCommentVNode)("",!0)],2)]),(0,t.createVNode)(i,{ref:"cascaderPaneRef",onChange:e.onChange,onPathChange:e.onPathChange,modelValue:e.innerValue,options:e.filterOptions,lazy:e.lazy,"lazy-load":e.lazyLoad,"value-key":e.valueKey,"text-key":e.textKey,"children-key":e.childrenKey,"convert-config":e.convertConfig,visible:e.innerVisible},null,8,["onChange","onPathChange","modelValue","options","lazy","lazy-load","value-key","text-key","children-key","convert-config","visible"])]),_:3},8,["poppable","visible","closeable","close-icon-position"])}var Kl=ze(gp,[["render",pp]]),vp=Symbol.for("PageWrapperKey"),bp={class:{type:[String]},title:{type:[String]},height:{type:[String,Number]},hideHeader:{type:[Boolean]},draggable:{type:[Boolean],default:()=>!0},appendToBody:{type:[Boolean],default:!0},closeOnClickModal:{type:[Boolean],default:()=>!1},closeOnPressEscape:{type:[Boolean],default:()=>!0}};function wp(e,n){return{props:bp,setup(l,r){qa({hasHeaderBar:!1,hasFooterBar:!0,hasContent:!0});const a={};(0,t.provide)(vp,a);const o=h=>{typeof a.beforeClose=="function"&&a.beforeClose()},s=(0,t.ref)(!0),u=h=>{s.value=h},i=(0,t.computed)(()=>{const h={};return l.height&&(h["--fox-dialog-item-body-height"]=Te(l.height)),h});return()=>{const h={...r.attrs,style:i.value,title:l.title,draggable:l.draggable,modelValue:s.value,"onUpdate:modelValue":u,"append-to-body":l.appendToBody,"close-on-click-modal":l.closeOnClickModal,"close-on-press-escape":l.closeOnPressEscape,"before-close":o},c=["fox-dialog-item "];l.hideHeader&&c.push("hide-header"),l.class&&c.push(l.class),h.class=c.join(" ");const f={};return typeof r.slots.default=="function"&&(f.default=r.slots.default),(0,t.h)(I.ElDialog,h,f)}}}}var{componentName:Sp,create:Cp,scope:Tp}=ge("dialog-item"),xp=Cp(wp(Sp,Tp)),Hl=xp,{create:kp}=ge("toast"),$p=kp({props:{id:{type:String,required:!1},msg:{type:String,required:!1},duration:{type:Number,default:2e3},center:{type:Boolean,default:!0},type:{type:String,required:!1},customClass:{type:String,required:!1},bottom:{type:String,default:"30px"},size:{type:[String,Number],default:"base"},iconSize:{type:[String,Number],default:20},icon:{type:[Object],required:!1},iconColor:{type:String,required:!1,default:"#ffffff"},textAlignCenter:{type:Boolean,default:!0},loadingRotate:{type:Boolean,default:!0},bgColor:{type:String,default:""},onClose:{type:Function,required:!1},unmount:{type:Function,required:!1},cover:{type:Boolean,default:!1},coverColor:{type:String,default:""},title:{type:String,default:""},closeOnClickOverlay:{type:Boolean,default:!1}},emits:["close"],setup(e,{emit:n}){let l=null;const r=(0,t.reactive)({mounted:!1});(0,t.onMounted)(()=>{r.mounted=!0});const a=()=>{l&&(clearTimeout(l),l=null)},o=()=>{r.mounted=!1},s=()=>{a(),e.duration&&(l=setTimeout(()=>{o()},e.duration))},u=()=>{e.closeOnClickOverlay&&(o(),n("close"))};e.duration&&s(),(0,t.watch)(()=>e.duration,$=>{$&&s()});const i=(0,t.computed)(()=>e.type!=="text"?!0:!!e.icon),h=()=>{const $=Se(e.iconSize);return(0,t.h)(e.icon,{width:$,height:$,color:e.iconColor})},c=(0,t.computed)(()=>["fox-toast",{"fox-toast-center":e.center},{"fox-toast-has-icon":i.value},{"fox-toast-cover":e.cover},{"fox-toast-loading":e.type==="loading"},e.customClass,"fox-toast-"+e.size]),f=(0,t.computed)(()=>["fox-toast-icon-wrapper",{"fox-toast-icon-no-animation":!e.loadingRotate}]);return{state:r,hide:o,clickCover:u,renderIcon:h,hasIcon:i,toastBodyClass:c,toastIconWrapperClass:f,onAfterLeave:()=>{a(),e.unmount(e.id),e.onClose&&e.onClose()}}}}),Np={key:1,class:"fox-toast-title"},Dp=["innerHTML"];function Ep(e,n,l,r,a,o){return(0,t.openBlock)(),(0,t.createBlock)(t.Transition,{name:"toast-fade",onAfterLeave:e.onAfterLeave},{default:(0,t.withCtx)(()=>[(0,t.withDirectives)((0,t.createElementVNode)("view",{class:(0,t.normalizeClass)(e.toastBodyClass),style:(0,t.normalizeStyle)({bottom:e.center?"auto":e.bottom,"background-color":e.coverColor}),onClick:n[0]||(n[0]=(...s)=>e.clickCover&&e.clickCover(...s))},[(0,t.createElementVNode)("view",{class:"fox-toast-inner",style:(0,t.normalizeStyle)({"text-align":e.textAlignCenter?"center":"left","background-color":e.bgColor})},[e.hasIcon?((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:0,class:(0,t.normalizeClass)(e.toastIconWrapperClass)},[((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(e.renderIcon())))],2)):(0,t.createCommentVNode)("",!0),e.title?((0,t.openBlock)(),(0,t.createElementBlock)("div",Np,(0,t.toDisplayString)(e.title),1)):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",{class:"fox-toast-text",innerHTML:e.msg},null,8,Dp)],4)],6),[[t.vShow,e.state.mounted]])]),_:1},8,["onAfterLeave"])}var Wl=ze($p,[["render",Ep]]),Yl={msg:"",id:"",duration:2e3,center:!0,type:"text",title:"",customClass:"",bottom:"30px",size:"base",iconSize:"20",icon:null,textAlignCenter:!0,loadingRotate:!0,bgColor:"",onClose:null,unmount:null,cover:!1,coverColor:"",closeOnClickOverlay:!1},Ut=[],$n=[],Oi=e=>{if(e){const n=document.getElementById(e);$n=$n.filter(l=>l.id!==e),Ut=Ut.filter(l=>l!==e),n&&((0,t.render)(null,n),document.body.removeChild(n))}else Ut.forEach(n=>{const l=document.getElementById(n);l&&((0,t.render)(null,l),document.body.removeChild(l))}),$n=[],Ut=[]},Pp=e=>{const n=document.getElementById(e.id);if(n){const l=$n.find(a=>a.id===e.id);l?e={...Yl,...l,...e}:e={...Yl,...e};const r=(0,t.createVNode)(Wl,e);return(0,t.render)(null,n),(0,t.render)(r,n),Gt}},Nn=e=>{e.unmount=Oi;let n;if(e.id){if(n=e.id,Ut.find(a=>a===e.id))return Pp(e)}else n=new Date().getTime()+"";e={...Yl,...e},e.id=n,Ut.push(e.id),$n.push(e);const l=document.createElement("div");l.id=e.id;const r=(0,t.createVNode)(Wl,e);return(0,t.render)(r,l),document.body.appendChild(l),Gt},va=e=>e?!0:(console.warn("[FoxUI Toast]: msg不能为空"),!1),Gt={text(e,n={}){if(va(e))return Nn({...n,type:"text",msg:e})},success(e,n={}){if(va(e))return Nn({icon:Nf,...n,msg:e,type:"success"})},fail(e,n={}){if(va(e))return Nn({icon:Ff,...n,msg:e,type:"fail"})},warn(e,n={}){if(va(e))return Nn({icon:bo,...n,msg:e,type:"warn"})},loading(e,n={}){return Nn({icon:pn,...n,msg:e,type:"loading"})},hide(e){Oi(e)},install(e){e.use(Wl),e.config.globalProperties.$toast=Gt}},Vp={modelValue:{type:[Boolean],default:!1},pullingText:{type:[String]},loosingText:{type:[String]},loadingText:{type:[String]},headHeight:{type:[String,Number],default:50},pullDistance:{type:[String,Number],default:50},duration:{type:[String,Number],default:.3},containerClass:{type:[String]}},Ip=(e,n,l)=>({props:Vp,emits:["change","refresh","update:modelValue"],setup(r,{emit:a,slots:o}){const s=e,{toLocaleRefs:u}=(0,Pe.useFoxI18n)(n),i=u(r,["pullingText","loosingText","loadingText"]),h=Cn(),c=(0,t.ref)(),f=Fo(c),m=(0,t.reactive)({isPullRefresh:!1,distance:0,status:"normal",moving:!1}),$=(0,t.computed)(()=>({[s]:!0})),k=(0,t.computed)(()=>{const P=[`${s}__container`];return r.containerClass&&P.push(r.containerClass),P}),p=(0,t.computed)(()=>{switch(m.status){case"pulling":return o.pulling?"":i.pullingText.value;case"loosing":return o.loosing?"":i.loosingText.value;case"loading":return o.loading?"":i.loadingText.value;default:return""}}),g=(0,t.computed)(()=>({transitionDuration:`${r.duration}s`,transform:m.distance?`translate3d(0,${m.distance}px, 0)`:""})),y=(0,t.computed)(()=>{const P={};return r.headHeight!=50&&(P.height=Te(r.headHeight)),P}),b=P=>{const q=+(r.pullDistance||r.headHeight);let T=P;return P>q&&(P<q*2?T=(P+q)/2:T=q+P/4),Math.round(T)},E=(P,q)=>{const T=+(r.pullDistance||r.headHeight);m.distance=P,q?m.status="loading":P===0?m.status="normal":P<T?m.status="pulling":m.status="loosing",a("change",{status:m.status,distance:P})},d=()=>m.status!=="loading"&&m.status!=="complete",C=()=>f.value==window?Mo()==0:f.value&&f.value.scrollTop==0,N=P=>{d()&&(C()?(h.start(P),m.isPullRefresh=!0,m.moving=!0):(m.distance=0,m.isPullRefresh=!1))},D=P=>{d()&&m.moving&&(h.move(P),h.isVertical()&&h.state.deltaY>0&&m.isPullRefresh&&(P.cancelable&&P.preventDefault(),E(b(h.state.deltaY))))},Y=()=>{m.moving=!1,m.isPullRefresh&&d()&&h.state.deltaY&&(m.status==="loosing"?(E(+r.headHeight,!0),a("update:modelValue",!0),(0,t.nextTick)(()=>a("refresh"))):E(0)),setTimeout(()=>{h.reset()},0)};return(0,t.watch)(()=>r.modelValue,P=>{P?E(+r.headHeight,!0):E(0)}),()=>{const P=[];let q=null;if(m.status==="loading"){if(q=o?.loading?.()??null,!q){const j={class:[`${s}__container-topbox-icon`]};q=(0,t.h)(l,j)}}else m.status==="pulling"?q=o?.pulling?.()??null:m.status==="loosing"&&(q=o?.loosing?.()??null);q&&P.push(q);const T={class:[`${s}__container-topbox-text`]},R=(0,t.h)("dive",T,[p.value]);P.push(R);const _={class:[`${s}__container-topbox`],style:y.value},x=(0,t.h)("div",_,P),K={class:k.value,style:g.value},M=(0,t.h)("div",K,[x,o?.default?.()]),L={ref:c,class:$.value};return Sn()?Object.assign(L,{onTouchstart:N,onTouchmove:D,onTouchend:Y}):Object.assign(L,{onMousedown:N,onMousemove:D,onMouseup:Y}),(0,t.h)("div",L,[M])}}}),{componentName:Ap,create:Bp,scope:Op}=ge("pull-refresh"),Rp=Bp(Ip(Ap,Op,pn)),Ul=Rp,Fp={modelValue:{type:[Boolean],requried:!0},type:{type:[String],requried:!1,default:""},disabled:{type:[Boolean,String],requried:!1},textPosition:{type:[String],requried:!1},collapseText:{type:[String],requried:!1},expandText:{type:[String],requried:!1},icon:{type:[Object],requried:!1}};function Mp(e,n,l){return{props:Fp,emits:["click","update:modelValue"],setup(r,{emit:a,slots:o}){const{toLocaleRefs:s}=(0,Pe.useFoxI18n)(n),u=s(r,["collapseText","expandText"]),i=(0,t.computed)(()=>{const k={[`${e}`]:!0};return r.disabled?k[`${e}--disabled`]=!0:k[`${e}--${r.type}`]=!0,k}),h=Ve(r,"modelValue"),c=(0,t.computed)(()=>h.value?u.expandText.value??"":u.collapseText.value??""),f=(0,t.computed)(()=>({[`${e}__text`]:!0})),m=(0,t.computed)(()=>({[`${e}__icon`]:!0,"is-expand":!h.value,"is-collapse":h.value})),$=()=>{a("update:modelValue",!h.value)};return()=>{const k=[];if(c.value){const y={class:f.value},b=(0,t.h)("span",y,[c.value]);k.push(b)}const p={class:m.value},g=(o.icon&&o.icon())??(r.icon&&(0,t.h)(r.icon))??(0,t.h)(l);if(g){const y=(0,t.h)("div",p,[g]);k.push(y)}return r.textPosition==="right"&&k.reverse(),(0,t.h)("div",{class:i.value,onClick:$},k)}}}}var{componentName:Lp,create:_p,scope:qp}=ge("more-button"),zp=_p(Mp(Lp,qp,Ke.ArrowUp)),Gl=zp;function jp(e){e.stopPropagation()}var Kp=class{startMove;updateMove;isTouch=!1;els=null;moving=!1;touchstart=null;touchmove=null;touchend=null;constructor(e,n){this.startMove=e,this.updateMove=n,this.isTouch=Sn()}open(e){Array.isArray(e)||(e=[e]),this.els=e;const n=Cn(),l=(r,a,o,s)=>{this.updateMove({x:r,y:a})};this.touchstart=r=>{this.moving||(n.start(r),this.startMove({x:n.state.startX,y:n.state.startY}),document.addEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),document.addEventListener(this.isTouch?"touchend":"mouseup",this.touchend),this.moving=!0)},this.touchmove=r=>{this.moving&&(n.move(r),jp(r),l(n.state.deltaX,n.state.deltaY,"",0))},this.touchend=()=>{l(n.state.deltaX,n.state.deltaY,"end"),this.touchmove&&document.removeEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),this.touchend&&document.removeEventListener(this.isTouch?"touchend":"mouseup",this.touchend),n.reset(),this.moving=!1},this.els.forEach(r=>{this.touchstart&&r.addEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart)})}close(){Array.isArray(this.els)&&this.els.forEach(e=>{this.touchstart&&e.removeEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart)}),this.els=null}};function Hp(e,n){return new Kp(e,n)}var Wp={customClass:{type:[String]},top:{type:[String]},right:{type:[String]},bottom:{type:[String]},left:{type:[String]},width:{type:[String]},height:{type:[String]},color:{type:[String]},background:{type:[String]},borderRadius:{type:[String]},draggable:{type:[Boolean]},zIndex:{type:[String]},teleport:{type:[String,Element],default:"body"},teleportDisable:{type:Boolean,default:!0}},Yp=(e,n,l,r=!1)=>({props:Wp,emits:["click"],setup(a,{slots:o,emit:s,attrs:u}){let i=-1,h=-1;const c=(0,t.reactive)({top:a.top,right:a.right,bottom:a.bottom,left:a.left,width:0,height:0}),f=(0,t.computed)(()=>{const C=[`${e}`];return a.customClass&&C.push(a.customClass),C}),m=(0,t.computed)(()=>{const C={};return ke(c.top)||(C.top=Te(c.top)),ke(c.right)||(C.right=Te(c.right)),ke(c.bottom)||(C.bottom=Te(c.bottom)),ke(c.left)||(C.left=Te(c.left)),ke(a.width)||(C.width=Te(a.width)),ke(a.height)||(C.height=Te(a.height)),ke(a.color)||(C.color=a.color),ke(a.background)||(C.background=a.background),ke(a.borderRadius)||(C["border-radius"]=a.borderRadius),ke(a.zIndex)||(C["z-index"]=a.zIndex),C}),$=(0,t.computed)(()=>({[`${e}__icon`]:!0})),k=()=>{s("click")},p=(0,t.ref)(null),g=()=>{c.top=null,c.right=null,c.bottom=null,c.left=null},y={x:0,y:0},d=Hp(C=>{if(!p.value)return;const N=p.value;g(),c.left=N.offsetLeft,c.top=N.offsetTop,N.style.left=Te(c.left),N.style.top=Te(c.top),N.style.right=null,N.style.bottom=null,y.x=N.offsetLeft,y.y=N.offsetTop,c.width=N.offsetWidth,c.height=N.offsetHeight,i=document.documentElement.clientWidth||document.body.clientWidth,h=document.documentElement.clientHeight||document.body.clientHeight},C=>{if(!p.value)return;const N=p.value;g();let D=y.x+C.x;D<0&&(D=0),D>i-c.width&&(D=i-c.width);let Y=y.y+C.y;Y<0&&(Y=0),Y>h-c.height&&(Y=h-c.height),c.left=Te(D),c.top=Te(Y),N.style.left=Te(D),N.style.top=Te(Y)});return(0,t.onMounted)(()=>{if(a.draggable&&p.value){const C=[p.value];d.open(C)}}),(0,t.onBeforeUnmount)(()=>{a.draggable&&p.value&&d.close()}),()=>{let C=[];const N=typeof o.default=="function"?o.default():[];if(N&&N.length>0)C=N;else{const P=(0,t.h)(l,{class:$.value});C.push(P)}const D={...u,ref:P=>{p.value=P},class:f.value,style:m.value,onClick:k},Y=(0,t.h)("view",D,C);return a.teleportDisable===!1?(0,t.h)(t.Teleport,{to:a.teleport},[Y]):Y}}}),{componentName:Up,create:Gp,scope:Xp}=ge("floating-button"),Qp=Gp(Yp(Up,Xp,xf,!1)),Xl=Qp;function Zp(e,n){return{props:{type:{type:[String],required:!1,default:""},color:{type:[String],required:!1,default:""},icon:{type:[Object],required:!1},textPosition:{type:String,default:"right"}},setup(l,{slots:r}){const a=e,o=(0,t.computed)(()=>({[a]:!0})),s=(0,t.computed)(()=>l.icon?{[`${a}__icon`]:!0,[`${a}__icon-${l.type}`]:!0}:{[`${a}__mark`]:!0,[`${a}__mark-${l.type}`]:!0}),u=(0,t.computed)(()=>l.color?l.icon?{color:l.color}:{background:l.color}:null),i=(0,t.computed)(()=>{const c={[`${a}__text`]:!0,[`${a}__text-${l.type}`]:!0};return l.textPosition==="left"?c["is-left"]=!0:c["is-right"]=!0,c}),h=(0,t.computed)(()=>l.color?{color:l.color}:null);return()=>{let c=null;if(r.mark)c=r.mark()[0];else{const p={class:s.value,style:u.value};c=(0,t.h)(l.icon??"div",p)}const f={class:i.value,style:h.value},m=r.default?r.default():[],$=(0,t.h)("div",f,m),k={class:o.value};return l.textPosition==="right"?(0,t.h)("div",k,[c,$]):(0,t.h)("div",k,[$,c])}}}}var{componentName:Jp,create:ev,scope:tv}=ge("indicator"),nv=ev(Zp(Jp,tv)),Ql=nv,{componentName:av,create:lv,scope:rv}=ge("tour"),ov=lv({components:{FoxPopoverDialog:gn,Close:vn},props:{modelValue:{type:Boolean,default:!1},type:{type:String,default:"step"},steps:{type:Array,default:()=>[]},effect:{type:String,default:"light"},placement:{type:String,default:"bottom"},width:{type:String},popoverClass:{type:String},popoverOffset:{type:Array,default:()=>[0,12]},showArrow:{type:Boolean,default:!0},arrowOffset:{type:Number,default:0},current:{type:Number,default:0},nextStepText:{type:String},prevStepText:{type:String},completeText:{type:String},mask:{type:Boolean,default:!0},offset:{type:[Array],default:()=>[8,8]},maskWidth:{type:[Number,String]},maskHeight:{type:[Number,String]},closeOnClickOverlay:{type:Boolean,default:!0},showPrevStep:{type:Boolean,default:!0},showTitleBar:{type:Boolean,default:!0}},emits:["update:modelValue","change","close"],setup(e,{emit:n}){const{toLocaleRefs:l}=(0,Pe.useFoxI18n)(rv),r=l(e,["nextStepText","prevStepText","completeText"]),a=av,o=(0,t.reactive)({showTour:e.modelValue,showPopup:!1,active:e.current??0});(0,t.watch)(()=>e.current,p=>{h("next",p)});const s=(0,t.ref)({}),u=(0,t.computed)(()=>`${a}`),i=(0,t.computed)(()=>{const{offset:p,maskWidth:g,maskHeight:y}=e,{width:b,height:E,left:d,top:C}=s.value,N=[d+b/2,C+E/2],D=Number(g||b),Y=Number(y||E);return{width:`${D+ +p[1]*2}px`,height:`${Y+ +p[0]*2}px`,top:`${N[1]-Y/2-+p[0]}px`,left:`${N[0]-D/2-+p[1]}px`}}),h=(p,g)=>{g>=0?o.active=g:p=="next"?o.active=o.active+1:o.active=o.active-1,o.showPopup=!1,(0,t.nextTick)(()=>{o.showPopup=!0,c()}),n("change",o.active)},c=()=>{let p=null;const g=e.steps[o.active].target;if(typeof g=="function"?p=g():typeof g=="string"?p=document.querySelector(`${g}`):p=g,p){const y=Pl(p);s.value=y}},f=()=>{o.showTour=!1,o.showPopup=!1,n("close",o.active),n("update:modelValue",!1)},m=()=>{e.closeOnClickOverlay&&f()};(0,t.onMounted)(()=>{c()}),(0,t.watch)(()=>e.modelValue,p=>{p&&c(),o.active=e.current??0,o.showTour=p,o.showPopup=p});const $=(0,t.computed)(()=>e.steps?.length??0),k=p=>p+1;return{...r,...(0,t.toRefs)(o),classes:u,maskStyle:i,changeStep:h,close:f,handleClickMask:m,stepsSize:$,stepIndex:k}}}),iv={key:0,class:"fox-tour-content"},sv={key:0,class:"fox-tour-content-top"},uv={class:"fox-tour-content-inner"},cv={class:"fox-tour-content-bottom"},fv={class:"fox-tour-content-bottom-init"},dv={class:"fox-tour-content-bottom-operate"},hv={key:1,class:"fox-tour-content fox-tour-content-tile"},mv={class:"fox-tour-content-inner"};function gv(e,n,l,r,a,o){const s=(0,t.resolveComponent)("Close"),u=(0,t.resolveComponent)("FoxPopoverDialog");return(0,t.openBlock)(),(0,t.createElementBlock)("div",{class:(0,t.normalizeClass)(e.classes)},[(0,t.withDirectives)((0,t.createElementVNode)("div",{class:"fox-tour-masked",onClick:n[0]||(n[0]=(...i)=>e.handleClickMask&&e.handleClickMask(...i))},null,512),[[t.vShow,e.showTour]]),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.steps,(i,h)=>((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:h,style:{height:"0"}},[h==e.active?((0,t.openBlock)(),(0,t.createBlock)(u,{key:0,visible:e.showPopup,"onUpdate:visible":n[5]||(n[5]=c=>e.showPopup=c),placement:i.placement||e.placement,effect:e.effect,"close-on-click":!1,offset:i.popoverOffset||e.popoverOffset,"arrow-offset":i.arrowOffset||e.arrowOffset,"show-arrow":e.showArrow,"show-overlay":!1,"custom-class":e.popoverClass,width:e.width},{reference:(0,t.withCtx)(()=>[e.showTour?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:0,class:(0,t.normalizeClass)(["fox-tour-mask",[e.mask?"":"fox-tour-mask-none"]]),style:(0,t.normalizeStyle)(e.maskStyle)},null,6)):(0,t.createCommentVNode)("",!0)]),default:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,"default",{type:e.type,step:i,stepIndex:e.stepIndex(h),stepsSize:e.stepsSize},()=>[e.type=="step"?((0,t.openBlock)(),(0,t.createElementBlock)("div",iv,[e.showTitleBar?((0,t.openBlock)(),(0,t.createElementBlock)("div",sv,[(0,t.createElementVNode)("div",{onClick:n[1]||(n[1]=(...c)=>e.close&&e.close(...c))},[(0,t.createVNode)(s,{class:"fox-tour-content-top-close"})])])):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("div",uv,[(0,t.renderSlot)(e.$slots,"content",{content:i.content},()=>[(0,t.createTextVNode)((0,t.toDisplayString)(i.content),1)])]),(0,t.createElementVNode)("div",cv,[(0,t.createElementVNode)("div",fv,(0,t.toDisplayString)(e.active+1)+"/"+(0,t.toDisplayString)(e.steps.length),1),(0,t.createElementVNode)("div",dv,[(0,t.renderSlot)(e.$slots,"prev-step",{},()=>[e.active!=0&&e.showPrevStep?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:0,class:"fox-tour-content-bottom-operate-btn",onClick:n[2]||(n[2]=c=>e.changeStep("prev"))},(0,t.toDisplayString)(e.prevStepText),1)):(0,t.createCommentVNode)("",!0)]),(0,t.renderSlot)(e.$slots,"complete-step",{},()=>[e.steps.length-1==e.active?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:0,class:"fox-tour-content-bottom-operate-btn active",onClick:n[3]||(n[3]=(...c)=>e.close&&e.close(...c))},(0,t.toDisplayString)(e.completeText),1)):(0,t.createCommentVNode)("",!0)]),(0,t.renderSlot)(e.$slots,"next-step",{},()=>[e.steps.length-1!=e.active?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:0,class:"fox-tour-content-bottom-operate-btn active",onClick:n[4]||(n[4]=c=>e.changeStep("next"))},(0,t.toDisplayString)(e.nextStepText),1)):(0,t.createCommentVNode)("",!0)])])])])):(0,t.createCommentVNode)("",!0),e.type=="tile"?((0,t.openBlock)(),(0,t.createElementBlock)("div",hv,[(0,t.createElementVNode)("div",mv,[(0,t.renderSlot)(e.$slots,"content",{content:i.content},()=>[(0,t.createTextVNode)((0,t.toDisplayString)(i.content),1)])])])):(0,t.createCommentVNode)("",!0)])]),_:2},1032,["visible","placement","effect","offset","arrow-offset","show-arrow","custom-class","width"])):(0,t.createCommentVNode)("",!0)]))),128))],2)}var Zl=ze(ov,[["render",gv]]),yv="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAnCAYAAABJ0cukAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDozOUNBQTQ0MkY3RTMxMUVBQjIzNEJCQkYxNDZGQjg5OCIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDozOUNBQTQ0M0Y3RTMxMUVBQjIzNEJCQkYxNDZGQjg5OCI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjM5Q0FBNDQwRjdFMzExRUFCMjM0QkJCRjE0NkZCODk4IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjM5Q0FBNDQxRjdFMzExRUFCMjM0QkJCRjE0NkZCODk4Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+T12ahwAABClJREFUeNrUWVtIFFEY3pkdrbaCiAINK81VW3d2102pjKLtoXoJrNAswoeEXoyilx7sJXvIh6CHAoMg6yEfSpdECIqE0jCMbMm9qCVYUmR5S8huXmZO39nWOI7mzsy6uzqgM/vvzNnv+y/n/84ZjhBiWMwHF+kA+fn5y0ZHRzNwuTomgDnui9/vfzMvBJxWa7bE87W4tMbY8S8MhNz0BQLVugnY7fZdGORZPNNHJmSPUSf47QD/PN75z3NcpqD1IVEU8wC+dZojDIajyMu6WAG322zBmQf/7LzGnHeAdRtjmuAIKYoleMWxQnUEHA6HVZLldsb0m3oehdQQzzQSVILPJLIcYEw/4HkK/kG86yAsAZvNtgng3059hte/Gf56/uFCaGR8mIJdj3m2hzGNGAkpRM4vCPBzErBYLMko2A//DIQMoQ0WtgcCjWFnCVGswEzxCecqLc0y9Nyww2ariYhAbm7umgRB6GNM/QTgfT7fEzWD4t7dOK0D4TKAcrtcLkENeNx/gUoSpOnx4Gc9BHJyclZNjI8PMqY+judp2jSr1iuENDPi5fDX4WG32WxeogL81NGRIEk3NBNAh10uS9IIY/oIbxR6vd4WLXmJAq9Ayl1kTAUmk8mNyJrUgDfK8hFPV9dnTQSCHiLkO/Ndb8jzrXqKawYJQg4gsu6srKyV4cC/7ujo1CqneRSPxNh74PligPdE3PYVIDHuY6PRWCxPTp7VC35KSvwjwBpwdPP4gXYc86ZdZnr6Pf7S9HqexUs9z0qBLprz8wn+PzWRFknaKGsgjwlvCdLGH42GQ0lg+dqkMP+Enj+lF/yMWYgnJD1qEhhphOWgS2E2yQZDJWa/lEgIvGIa0D2HKJZGA7yiBgaZqO9AermdFstGXQR8fn+BootW4wfPRBE8zXmXoia2SYLgpsJRVwqBBJ2N+pnueRVhPR8l8MGCnaWw8wDCDSWQoasGQCKJnpjGcwkkKqMBfo7ZyQklQCOxWVcRg4QDXmhkSJRjsGvRAD8HCTuNhNPpXKtLzHn9/n0orBqm052GvL2lcfepTMs8PwsJqyRJRbrlNFpBCUBcYWaKE2h4tampqUtV6pP60HNtapuUksTY2NidiLcWUQPnMOhlxvQoITGxxOPxDIVdR2dnb/V2dr7Umn50/Q31261JC4UhUQYSVUxdtPCCUAK10RuvZeQ0LRQ2tD7fddxdyuT3TijJehATF/yinqmJ2wB+jCGRA11TH9xiXAwEQpG4i0gcZHLPjHSqF0Vx76IgEIpEA9a7+3H5K2RK4jnuPvTToXgR0LW9Htpap71iAzPVNsUIMH0XMdXkfLrfD9BdanifksiKW/5w3Emj3mcHBgb6kpKTn6KYzfBCehzg10H6lHPzMdIWq9U8znEpsXE6N4rTO9TjSGgPanG/pfwjwABn1PZcM5XI0AAAAABJRU5ErkJggg0KLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLTkwMjA5MzIyMjIxMzkzMzc2NzAwNjg0MC0tDQo=",pv="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAAgCAYAAACLmoEDAAACb0lEQVRYR+WY33HTMBzHvz/J72QD8tyzhJiAMAHdgDBBywQ0E5BuECYAJqCZAGPl+pxMQPoeSZwUy6ck7sUlBtziJ59P/urj33+ZlFIDa8wHAOcAhujftQYwY5xPSOb5FEQX/WPcI3LumqQQPwEMeg8LrD2sq0DnpdajvkFLIW4AvPJcjx/WJ50x5oX/Gs75qiiKpb9XSg2NMc+r5z+KovDBD3V2pgznz/y91noevSOECBbhxtwVt7dFpfEg7aOWVXk+skTfwqZEk7Isr/ytlPIKzvnKAebc62Kx8C5CKlhqTRG2KcRO0W4Mg1ME/z6sUkNr7ThY0NqbaMHwEYyFJGSMzWJ4CCHGRBRqdPRC7QkAzrml1noWQ6lJu43XepNg/wesz3q72bzdr7kMmMeQEEKck3OhYrAs+xRDQkp5AWtDkykXi0nt+krPEa3qkPBhVdVQRzQiYBti9yTv8QRLidPKkBTrPfHYZBCTbSdhgbr5pK5Pt3nCsEoNsNmog9abZcu0QWCz2U5pWVakDQKMDWDtOjaCEAp5vm3luxr37VPrHW0KB5D/8MHTgvW93nL+vWq378uynFZF/hLOfezM0ESN2syYlzGEjlq2TbvtBPiBc0dz6XpMlu3Eah2JHA2DjvbpRKYZlqhwzl12skOHIkQ0hXOh5pOUcgnnwvTf64toRWEgAT73GtTPxMC7cARJh+o+QscDQH1e6iPkPtNJsOmpts3HpqfcNuu7hd3+J/NnqzctNv/KOB/H6azF+oMlJ1k2qlVJ6qHDv4O9684BY631l98BTN/pBDYkabOVT7bmH4HdsTLR1DeYLqyZwv4CcPRPSfNVZqIAAAAASUVORK5CYIINCi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0wMTYzMDQxMzE1MzQyMTczMjcwODA5NzYtLQ0K",{create:vv,scope:bv}=ge("number-keyboard"),wv=vv({components:{FoxPopup:St},props:{confirmText:{type:String},title:{type:String},visible:{type:Boolean,default:!1},type:{type:String,default:"default"},customKey:{type:Array,default:()=>[]},modelValue:{type:String,default:""},maxlength:{type:[Number,String],default:6},randomKeys:{type:Boolean,default:!1},popClass:{type:String,default:""}},emits:["input","delete","close","blur","update:modelValue","update:visible"],setup(e,{emit:n}){const{toLocaleRefs:l}=(0,Pe.useFoxI18n)(bv),r=l(e,["confirmText"]),a=(0,t.computed)(()=>{const b=["fox-number-keyboard-popup"];return e.popClass&&b.push(e.popClass),b.join(" ")}),o=(0,t.ref)(void 0),s=(0,t.ref)(e.visible),u=(0,t.ref)();function i(){const{customKey:b}=e;let E={id:"lock",type:"lock"},d=Array.isArray(b)?b:[b];return d.length===1&&(E={id:d[0],type:"custom"}),[...h(),E,{id:0,type:"number"},{id:"delete",type:"delete"}]}function h(){const b=[];for(let E=1;E<=9;E++)b.push({id:E,type:"number"});return e.randomKeys?b.sort(()=>Math.random()>.5?1:-1):b}function c(){const b=h(),{customKey:E}=e;let d=Array.isArray(E)?E:[E];return d.length>2&&(d=[d[0],d[1]]),d.length==2&&e.title&&e.type!="rightColumn"&&(d=[d[0]]),d.length===1?e.title&&e.type!="rightColumn"?b.push({id:d[0],type:"custom"},{id:0,type:"number"},{id:"delete",type:"delete"}):b.push({id:0,type:"number"},{id:d[0],type:"custom"}):d.length===2&&b.push({id:d[0],type:"custom"},{id:0,type:"number"},{id:d[1],type:"custom"}),b}const f=(0,t.computed)(()=>e.type=="rightColumn"||e.title!=""?c():i()),m=()=>{e.visible&&n("blur")},$=b=>{const E=u.value;E&&!E.contains(b.target)&&m()};(0,t.watch)(()=>e.visible,b=>{s.value=b,b?window.addEventListener("touchstart",$,!1):window.removeEventListener("touchstart",$,!1)});function k(b,E){E.stopPropagation(),o.value=b.id,(b.type=="number"||b.type=="custom")&&(n("input",b.id),e.modelValue.length<Number(e.maxlength)&&n("update:modelValue",e.modelValue+b.id)),b.type=="lock"&&y(),b.type=="delete"&&(n("delete"),n("update:modelValue",e.modelValue.slice(0,e.modelValue.length-1)))}function p(b){b.stopPropagation()}function g(b){b.preventDefault(),o.value=void 0}function y(){n("update:visible",!1),n("close")}return{...r,allPopClass:a,delImg:yv,lockImg:pv,clickKeyIndex:o,defaultKey:i,closeBoard:y,onTouchEnd:g,onTouchMove:p,onTouchstart:k,keysList:f,genCustomKeys:c,getBasicKeys:h,root:u,show:s}}}),Sv={ref:"root"},Cv={class:"fox-number-keyboard"},Tv={key:0,class:"fox-number-keyboard__header"},xv={class:"fox-number-keyboard__title"},kv={class:"fox-number-keyboard__body"},$v={class:"fox-number-keyboard__keys"},Nv=["onTouchstart"],Dv=["src"],Ev=["src"],Pv={key:0,class:"fox-number-keyboard__sidebar"},Vv={class:"fox-key__wrapper"},Iv=["src"];function Av(e,n,l,r,a,o){const s=(0,t.resolveComponent)("FoxPopup");return(0,t.openBlock)(),(0,t.createElementBlock)("div",Sv,[(0,t.createVNode)(s,{visible:e.show,"onUpdate:visible":n[7]||(n[7]=u=>e.show=u),position:"bottom",popClass:e.allPopClass,overlay:!1,teleportDisable:!1},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("div",Cv,[e.title?((0,t.openBlock)(),(0,t.createElementBlock)("div",Tv,[(0,t.createElementVNode)("h3",xv,(0,t.toDisplayString)(e.title),1),e.type=="default"?((0,t.openBlock)(),(0,t.createElementBlock)("span",{key:0,class:"fox-number-keyboard__close",onClick:n[0]||(n[0]=u=>e.closeBoard())},(0,t.toDisplayString)(e.confirmText),1)):(0,t.createCommentVNode)("",!0)])):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("div",kv,[(0,t.createElementVNode)("div",$v,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.keysList,u=>((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:"key"+u.id,class:(0,t.normalizeClass)(["fox-key__wrapper",{"fox-key__wrapper--wider":u.id==0&&e.type=="rightColumn"&&Array.isArray(e.customKey)&&e.customKey.length==1}])},[(0,t.createElementVNode)("div",{class:(0,t.normalizeClass)(["fox-key",{"fox-key--active":u.id==e.clickKeyIndex},{"fox-key--lock":u.type=="lock"},{"fox-key--delete":u.type=="delete"}]),onTouchstart:i=>e.onTouchstart(u,i),onTouchmove:n[1]||(n[1]=i=>e.onTouchMove(i)),onTouchend:n[2]||(n[2]=i=>e.onTouchEnd(i))},[u.type=="number"||u.type=="custom"?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:0},[(0,t.createTextVNode)((0,t.toDisplayString)(u.id),1)],64)):(0,t.createCommentVNode)("",!0),u.type=="lock"?((0,t.openBlock)(),(0,t.createElementBlock)("img",{key:1,src:e.lockImg},null,8,Dv)):(0,t.createCommentVNode)("",!0),u.type=="delete"?((0,t.openBlock)(),(0,t.createElementBlock)("img",{key:2,src:e.delImg},null,8,Ev)):(0,t.createCommentVNode)("",!0)],42,Nv)],2))),128))]),e.type=="rightColumn"?((0,t.openBlock)(),(0,t.createElementBlock)("div",Pv,[(0,t.createElementVNode)("div",Vv,[(0,t.createElementVNode)("div",{class:(0,t.normalizeClass)(["fox-key",{active:e.clickKeyIndex=="delete"}]),onTouchstart:n[3]||(n[3]=u=>e.onTouchstart({id:"delete",type:"delete"},u)),onTouchmove:n[4]||(n[4]=u=>e.onTouchMove(u)),onTouchend:n[5]||(n[5]=(...u)=>e.onTouchEnd&&e.onTouchEnd(...u))},[(0,t.createElementVNode)("img",{src:e.delImg},null,8,Iv)],34)]),(0,t.createElementVNode)("div",{class:"fox-key__wrapper fox-key__wrapper--finish",onClick:n[6]||(n[6]=u=>e.closeBoard())},[(0,t.createElementVNode)("div",{class:(0,t.normalizeClass)(["fox-key","fox-key--finish ",{activeFinsh:e.clickKeyIndex=="finish"}])},(0,t.toDisplayString)(e.confirmText),3)])])):(0,t.createCommentVNode)("",!0)])])]),_:1},8,["visible","popClass"])],512)}var Jl=ze(wv,[["render",Av]]),{create:Bv,scope:Ov}=ge("short-password"),Rv=Bv({components:{FoxPopup:St,Tips:bo},props:{title:{type:String},desc:{type:String},tips:{type:String},visible:{type:Boolean,default:!1},modelValue:{type:String,default:""},errorMsg:{type:String},closeOnClickOverlay:{type:Boolean,default:!0},length:{type:[String,Number],default:6}},emits:["update:modelValue","update:visible","complete","tips","close","focus"],setup(e,{emit:n}){const{toLocaleRefs:l}=(0,Pe.useFoxI18n)(Ov),r=l(e,["title","desc","tips"]),a=(0,t.ref)(e.modelValue),o=(0,t.computed)(()=>h(Number(e.length))),s=(0,t.ref)(e.visible),u=f=>{f.stopPropagation(),n("focus")};(0,t.watch)(()=>e.visible,f=>{s.value=f}),(0,t.watch)(()=>e.modelValue,f=>{a.value=f,String(f).length===o.value&&n("complete",f)});const i=()=>{n("update:visible",!1),n("close")},h=f=>Math.min(Math.max(4,f),6);return{comLen:o,realInput:a,onTouchStart:u,range:h,close:i,onTips:()=>{n("tips")},show:s,...r}}}),Fv={class:"fox-short-password-title"},Mv={class:"fox-short-password-subtitle"},Lv={class:"fox-short-password-wrapper"},_v={key:0,class:"fox-short-password__item-icon"},qv={class:"fox-short-password__message"},zv={class:"fox-short-password--error"},jv={key:0,class:"fox-short-password--forget"};function Kv(e,n,l,r,a,o){const s=(0,t.resolveComponent)("Tips"),u=(0,t.resolveComponent)("FoxPopup");return(0,t.openBlock)(),(0,t.createElementBlock)("view",null,[(0,t.createVNode)(u,{style:{padding:"30px 24px 20px 24px",borderRadius:"12px",textAlign:"center",top:"45%"},visible:e.show,"onUpdate:visible":n[2]||(n[2]=i=>e.show=i),closeable:!0,onClickCloseIcon:e.close,"close-on-click-overlay":e.closeOnClickOverlay,onClickOverlay:e.close,teleportDisable:!1},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("view",Fv,(0,t.toDisplayString)(e.title),1),(0,t.createElementVNode)("view",Mv,(0,t.toDisplayString)(e.desc),1),(0,t.createElementVNode)("div",Lv,[(0,t.createElementVNode)("view",{class:"fox-short-password__list",onTouchstart:n[0]||(n[0]=(...i)=>e.onTouchStart&&e.onTouchStart(...i))},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(new Array(e.comLen),(i,h)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{class:"fox-short-password__item",key:h},[String(e.realInput).length>h?((0,t.openBlock)(),(0,t.createElementBlock)("view",_v)):(0,t.createCommentVNode)("",!0)]))),128))],32)]),(0,t.createElementVNode)("view",qv,[(0,t.createElementVNode)("view",zv,(0,t.toDisplayString)(e.errorMsg),1),e.tips?((0,t.openBlock)(),(0,t.createElementBlock)("view",jv,[(0,t.createVNode)(s,{class:"icon",width:"11px",height:"11px"}),(0,t.createElementVNode)("view",{onClick:n[1]||(n[1]=(...i)=>e.onTips&&e.onTips(...i))},(0,t.toDisplayString)(e.tips),1)])):(0,t.createCommentVNode)("",!0)])]),_:1},8,["visible","onClickCloseIcon","close-on-click-overlay","onClickOverlay"])])}var er=ze(Rv,[["render",Kv]]),{componentName:Hv,create:Wv,scope:Yv}=ge("signature"),Uv=Wv({props:{customClass:{type:[String],default:""},lineWidth:{type:[Number],default:2},strokeStyle:{type:[String],default:()=>document.getElementsByTagName("body")[0].className.indexOf("fox-theme-dark")==-1?"#000":"#fff"},type:{type:[String],default:"png"},unSupportTpl:{type:[String],default:""}},components:{FoxButton:I.ElButton},emits:["start","end","signing","confirm","clear"],setup(e,{emit:n,expose:l}){const{toLocaleRefs:r}=(0,Pe.useFoxI18n)(Yv),a=r(e,["unSupportTpl","reSign","confirmText"]),o=(0,t.ref)(null),s=(0,t.ref)(null),u=(0,t.computed)(()=>({[Hv]:!0,[`${e.customClass}`]:e.customClass})),i=(0,t.reactive)({canvasHeight:0,canvasWidth:0,ctx:null,isSupportTouch:"ontouchstart"in window,events:"ontouchstart"in window?["touchstart","touchmove","touchend","touchleave"]:["mousedown","mousemove","mouseup","mouseleave"]}),h=()=>{let d=document.createElement("canvas");return!!(d.getContext&&d.getContext("2d"))},c=()=>{o.value.addEventListener(i.events[0],m,!1)},f=()=>{o.value?.removeEventListener(i.events[0],m,!1)},m=d=>{d.preventDefault(),i.ctx.beginPath(),i.ctx.lineWidth=e.lineWidth,i.ctx.strokeStyle=e.strokeStyle,n("start"),o.value.addEventListener(i.events[1],$,!1),o.value.addEventListener(i.events[2],k,!1),o.value.addEventListener(i.events[3],p,!1)},$=d=>{d.preventDefault();let C=i.isSupportTouch?d.touches[0]:d;n("signing",C);let N=o.value.getBoundingClientRect(),D=C.clientX-N.left,Y=C.clientY-N.top;i.ctx.lineTo(D,Y),i.ctx.stroke()},k=d=>{d.preventDefault(),n("end"),o.value.removeEventListener(i.events[1],$,!1),o.value.removeEventListener(i.events[2],k,!1)},p=d=>{d.preventDefault(),o.value.removeEventListener(i.events[1],$,!1),o.value.removeEventListener(i.events[2],k,!1)},g=()=>{o.value.addEventListener(i.events[2],k,!1),i.ctx.clearRect(0,0,i.canvasWidth,i.canvasHeight),i.ctx.closePath(),n("clear")},y=()=>{E(o.value)},b=d=>{if(!d)return!0;var C=document.createElement("canvas");return C.width=d.width,C.height=d.height,d?.toDataURL()==C.toDataURL()},E=d=>{let C;switch(e.type){case"png":C=d.toDataURL("image/png");break;case"jpg":C=d.toDataURL("image/jpeg",.8)}n("confirm",b(d)?"请绘制签名":d,b(d)?"":C)};return(0,t.onMounted)(()=>{h()&&(i.ctx=o.value.getContext("2d"),i.canvasWidth=s.value.offsetWidth,i.canvasHeight=s.value.offsetHeight,c())}),(0,t.onBeforeUnmount)(()=>{f()}),l({confirm:y,clear:g}),{...a,...(0,t.toRefs)(i),canvas:o,wrap:s,isCanvasSupported:h,confirm:y,clear:g,classes:u}}}),Gv={class:"fox-signature__inner",ref:"wrap"},Xv=["height","width"],Qv={key:0,class:"fox-signature-unsopport"},Zv={class:"fox-signature__toolbar"};function Jv(e,n,l,r,a,o){const s=(0,t.resolveComponent)("FoxButton");return(0,t.openBlock)(),(0,t.createElementBlock)("div",{class:(0,t.normalizeClass)(e.classes)},[(0,t.createElementVNode)("div",Gv,[(0,t.withDirectives)((0,t.createElementVNode)("canvas",{ref:"canvas",height:e.canvasHeight,width:e.canvasWidth},null,8,Xv),[[t.vShow,e.isCanvasSupported()]]),e.isCanvasSupported()?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createElementBlock)("p",Qv,(0,t.toDisplayString)(e.unSupportTpl),1))],512),(0,t.createElementVNode)("div",Zv,[(0,t.renderSlot)(e.$slots,"toolbar",{},()=>[(0,t.createVNode)(s,{class:"fox-signature-btn",type:"default",onClick:n[0]||(n[0]=u=>e.clear())},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.reSign),1)]),_:1}),(0,t.createVNode)(s,{class:"fox-signature-btn",type:"primary",onClick:n[1]||(n[1]=u=>e.confirm())},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.confirmText),1)]),_:1})])])],2)}var tr=ze(Uv,[["render",Jv]]),eb={name:{type:[String],required:!1,default:""},config:{type:[Object],required:!1,default:()=>{}},innerPageScope:{type:[Boolean,Object],required:!1},abstractPageScope:{type:[Boolean,Object],required:!1}};function tb(e,n){return{inheritAttrs:!1,props:eb,setup(l,r){const{exposeApi:a}=Ar({context:r,props:()=>l.config},l.name);return Oe(l.innerPageScope)||qa(l.innerPageScope),Oe(l.abstractPageScope)||Rr(l.abstractPageScope),a(),()=>typeof r.slots.default=="function"?r.slots.default():null}}}var{componentName:nb,create:ab,scope:lb}=ge("domain-provider"),rb=ab(tb(nb,lb)),nr=rb,ob={initialVisibleObserverSize:{type:[Number],required:!1},initialInvisibleObserverHeight:{type:[String],required:!1,default:()=>"250px"},disabled:{type:[Boolean],required:!1},loadPolicy:{type:[String],required:!1,default:()=>"rolling"},rootMargin:{type:[String],required:!1,default:()=>"250px 0px 250px 0px"},threshold:{type:[Array],required:!1,default:()=>[0,.25]},root:{type:[Object,String]}};function ib(e,n){return{inheritAttrs:!1,props:ob,emits:["change"],setup(l,{slots:r,emit:a}){if(Tt&&window.IntersectionObserver){const o=new WeakMap;let s=new Map;const u=(m,$)=>{if(c===null){s.set(m,{visible:null,callback:$});return}o.has(m)&&c.unobserve(m),o.set(m,{visible:null,callback:$}),c.observe(m)},i=m=>{if(c===null){s.delete(m);return}o.has(m)&&(o.delete(m),c.unobserve(m))};let h=l.initialVisibleObserverSize;iu({acquire:()=>{if(l.loadPolicy==="always")return!0;const m=h>0;return h--,m},get disabled(){return l.disabled},get initialHeight(){return l.initialInvisibleObserverHeight},observe:u,unobserve:i});let c=null;const f=(m,$,k)=>{c=new IntersectionObserver(p=>{if(a("change",p),l.loadPolicy!=="always")for(let g of p){let y=!1;g.isIntersecting&&(y=!0);const b=o.get(g.target);if(b)try{if(l.loadPolicy==="lazy"&&!y&&b.visible!==null)return;b.visible=y,b.callback(y)}catch(E){console.error(E)}}},{root:m,rootMargin:$,threshold:k}),s.forEach((p,g)=>{o.set(g,p),c?.observe(g)}),s.clear()};(0,t.watch)([()=>l.root,()=>l.disabled],([m,$])=>{if($||!m||c)return;let k=null;typeof m=="string"?k=document.querySelector(m):k=m,k&&f(k,l.rootMargin,l.threshold)},{immediate:!0}),(0,t.onUnmounted)(()=>{c&&(c.disconnect(),c=null)})}return()=>typeof r.default=="function"?r.default():null}}}var{componentName:sb,create:ub,scope:cb}=ge("rolling-provider"),fb=ub(ib(sb,cb)),ar=fb,db=[Ka,Ya,Ua,Ga,Qa,mn,ta,na,tl,Xe,aa,nl,al,ll,sl,ul,cl,fl,dl,ml,gl,yl,pl,oa,wl,Sl,Cl,Tl,xl,kl,$l,Nl,ca,Dl,Il,Al,xn,kn,da,Rl,Ll,jl,gn,fa,ra,Kl,Hl,la,St,Gt,wn,ua,Ul,Gl,Xl,qt,ea,Ql,_t,Zl,Jl,er,tr,nr,ar],hb=new Ds(db,[Vs],"4.0.0");v.AbstractPageScopeKey=za,v.ActionsheetItem=Dl,v.FoxActionsheetItem=Dl,v.ActionsheetPane=ca,v.FoxActionsheetPane=ca,v.AutocompleteItem=gl,v.FoxAutocompleteItem=gl,v.Broadcast=kr,v.BroadcastKey=it,v.ButtonsItem=tl,v.FoxButtonsItem=tl,v.CalendarItem=sl,v.FoxCalendarItem=sl,v.CascaderItem=ml,v.FoxCascaderItem=ml,v.CheckboxItem=Cl,v.FoxCheckboxItem=Cl,v.Content=Ga,v.FoxContent=Ga,v.DataItemsKey=sn,v.DateItem=ll,v.FoxDateItem=ll,v.DateUtils=dt,v.DialogItem=Hl,v.FoxDialogItem=Hl,v.Domain=Ln,v.DomainKey=kt,v.DomainProvider=nr,v.FoxDomainProvider=nr,v.FloatingButton=Xl,v.FoxFloatingButton=Xl,v.FloatingWindow=jl,v.FoxFloatingWindow=jl,v.FooterBar=Ua,v.FoxFooterBar=Ua,Object.defineProperty(v,"FoxAffix",{enumerable:!0,get:function(){return I.ElAffix}}),Object.defineProperty(v,"FoxAlert",{enumerable:!0,get:function(){return I.ElAlert}}),Object.defineProperty(v,"FoxAnchor",{enumerable:!0,get:function(){return I.ElAnchor}}),Object.defineProperty(v,"FoxAnchorLink",{enumerable:!0,get:function(){return I.ElAnchorLink}}),Object.defineProperty(v,"FoxAside",{enumerable:!0,get:function(){return I.ElAside}}),Object.defineProperty(v,"FoxAutoResizer",{enumerable:!0,get:function(){return I.ElAutoResizer}}),Object.defineProperty(v,"FoxAutocomplete",{enumerable:!0,get:function(){return I.ElAutocomplete}}),Object.defineProperty(v,"FoxAvatar",{enumerable:!0,get:function(){return I.ElAvatar}}),Object.defineProperty(v,"FoxBacktop",{enumerable:!0,get:function(){return I.ElBacktop}}),Object.defineProperty(v,"FoxBadge",{enumerable:!0,get:function(){return I.ElBadge}}),Object.defineProperty(v,"FoxBreadcrumb",{enumerable:!0,get:function(){return I.ElBreadcrumb}}),Object.defineProperty(v,"FoxBreadcrumbItem",{enumerable:!0,get:function(){return I.ElBreadcrumbItem}}),Object.defineProperty(v,"FoxButton",{enumerable:!0,get:function(){return I.ElButton}}),Object.defineProperty(v,"FoxButtonGroup",{enumerable:!0,get:function(){return I.ElButtonGroup}}),Object.defineProperty(v,"FoxCalendar",{enumerable:!0,get:function(){return I.ElCalendar}}),Object.defineProperty(v,"FoxCard",{enumerable:!0,get:function(){return I.ElCard}}),Object.defineProperty(v,"FoxCarousel",{enumerable:!0,get:function(){return I.ElCarousel}}),Object.defineProperty(v,"FoxCarouselItem",{enumerable:!0,get:function(){return I.ElCarouselItem}}),Object.defineProperty(v,"FoxCascader",{enumerable:!0,get:function(){return I.ElCascader}}),Object.defineProperty(v,"FoxCascaderPanel",{enumerable:!0,get:function(){return I.ElCascaderPanel}}),Object.defineProperty(v,"FoxCheckTag",{enumerable:!0,get:function(){return I.ElCheckTag}}),Object.defineProperty(v,"FoxCheckbox",{enumerable:!0,get:function(){return I.ElCheckbox}}),Object.defineProperty(v,"FoxCheckboxButton",{enumerable:!0,get:function(){return I.ElCheckboxButton}}),Object.defineProperty(v,"FoxCheckboxGroup",{enumerable:!0,get:function(){return I.ElCheckboxGroup}}),Object.defineProperty(v,"FoxCol",{enumerable:!0,get:function(){return I.ElCol}}),Object.defineProperty(v,"FoxCollapse",{enumerable:!0,get:function(){return I.ElCollapse}}),Object.defineProperty(v,"FoxCollapseItem",{enumerable:!0,get:function(){return I.ElCollapseItem}}),Object.defineProperty(v,"FoxCollapseTransition",{enumerable:!0,get:function(){return I.ElCollapseTransition}}),Object.defineProperty(v,"FoxColorPicker",{enumerable:!0,get:function(){return I.ElColorPicker}}),Object.defineProperty(v,"FoxConfigProvider",{enumerable:!0,get:function(){return I.ElConfigProvider}}),Object.defineProperty(v,"FoxContainer",{enumerable:!0,get:function(){return I.ElContainer}}),Object.defineProperty(v,"FoxCountdown",{enumerable:!0,get:function(){return I.ElCountdown}}),Object.defineProperty(v,"FoxDatePicker",{enumerable:!0,get:function(){return I.ElDatePicker}}),Object.defineProperty(v,"FoxDescriptions",{enumerable:!0,get:function(){return I.ElDescriptions}}),Object.defineProperty(v,"FoxDescriptionsItem",{enumerable:!0,get:function(){return I.ElDescriptionsItem}}),Object.defineProperty(v,"FoxDialog",{enumerable:!0,get:function(){return I.ElDialog}}),Object.defineProperty(v,"FoxDivider",{enumerable:!0,get:function(){return I.ElDivider}}),Object.defineProperty(v,"FoxDrawer",{enumerable:!0,get:function(){return I.ElDrawer}}),Object.defineProperty(v,"FoxDropdown",{enumerable:!0,get:function(){return I.ElDropdown}}),Object.defineProperty(v,"FoxDropdownItem",{enumerable:!0,get:function(){return I.ElDropdownItem}}),Object.defineProperty(v,"FoxDropdownMenu",{enumerable:!0,get:function(){return I.ElDropdownMenu}}),Object.defineProperty(v,"FoxEmpty",{enumerable:!0,get:function(){return I.ElEmpty}}),Object.defineProperty(v,"FoxFooter",{enumerable:!0,get:function(){return I.ElFooter}}),Object.defineProperty(v,"FoxForm",{enumerable:!0,get:function(){return I.ElForm}}),Object.defineProperty(v,"FoxFormItem",{enumerable:!0,get:function(){return I.ElFormItem}}),v.FoxGroup=Qa,v.Group=Qa,v.FoxGroupSetting=$l,v.GroupSetting=$l,Object.defineProperty(v,"FoxHeader",{enumerable:!0,get:function(){return I.ElHeader}}),v.FoxHeaderBar=Ya,v.HeaderBar=Ya,v.FoxHintText=Xe,v.HintText=Xe,Object.defineProperty(v,"FoxIcon",{enumerable:!0,get:function(){return I.ElIcon}}),Object.defineProperty(v,"FoxImage",{enumerable:!0,get:function(){return I.ElImage}}),Object.defineProperty(v,"FoxImageViewer",{enumerable:!0,get:function(){return I.ElImageViewer}}),v.FoxIndicator=Ql,v.Indicator=Ql,v.FoxInfiniteLoading=ua,v.InfiniteLoading=ua,Object.defineProperty(v,"FoxInput",{enumerable:!0,get:function(){return I.ElInput}}),v.FoxInputItem=aa,v.InputItem=aa,Object.defineProperty(v,"FoxInputNumber",{enumerable:!0,get:function(){return I.ElInputNumber}}),v.FoxInputNumberItem=dl,v.InputNumberItem=dl,Object.defineProperty(v,"FoxInputTag",{enumerable:!0,get:function(){return I.ElInputTag}}),v.FoxItem=mn,v.Item=mn,Object.defineProperty(v,"FoxLink",{enumerable:!0,get:function(){return I.ElLink}}),v.FoxLinkItem=Al,v.LinkItem=Al,Object.defineProperty(v,"FoxMain",{enumerable:!0,get:function(){return I.ElMain}}),v.FoxMapping=qt,v.Mapping=qt,Object.defineProperty(v,"FoxMention",{enumerable:!0,get:function(){return I.ElMention}}),Object.defineProperty(v,"FoxMenu",{enumerable:!0,get:function(){return I.ElMenu}}),Object.defineProperty(v,"FoxMenuItem",{enumerable:!0,get:function(){return I.ElMenuItem}}),Object.defineProperty(v,"FoxMenuItemGroup",{enumerable:!0,get:function(){return I.ElMenuItemGroup}}),Object.defineProperty(v,"FoxMessage",{enumerable:!0,get:function(){return I.ElMessage}}),Object.defineProperty(v,"FoxMessageBox",{enumerable:!0,get:function(){return I.ElMessageBox}}),v.FoxMoneyItem=fl,v.MoneyItem=fl,v.FoxMoreButton=Gl,v.MoreButton=Gl,Object.defineProperty(v,"FoxNotification",{enumerable:!0,get:function(){return I.ElNotification}}),v.FoxNumberKeyboard=Jl,v.NumberKeyboard=Jl,Object.defineProperty(v,"FoxOption",{enumerable:!0,get:function(){return I.ElOption}}),Object.defineProperty(v,"FoxOptionGroup",{enumerable:!0,get:function(){return I.ElOptionGroup}}),v.FoxOverLay=la,v.OverLay=la,v.FoxPage=Ka,v.Page=Ka,Object.defineProperty(v,"FoxPageHeader",{enumerable:!0,get:function(){return I.ElPageHeader}}),Object.defineProperty(v,"FoxPagination",{enumerable:!0,get:function(){return I.ElPagination}}),v.FoxPickerItem=Il,v.PickerItem=Il,Object.defineProperty(v,"FoxPopconfirm",{enumerable:!0,get:function(){return I.ElPopconfirm}}),Object.defineProperty(v,"FoxPopover",{enumerable:!0,get:function(){return I.ElPopover}}),v.FoxPopoverDialog=gn,v.PopoverDialog=gn,Object.defineProperty(v,"FoxPopper",{enumerable:!0,get:function(){return I.ElPopper}}),v.FoxPopup=St,v.Popup=St,v.FoxPrice=ea,v.Price=ea,Object.defineProperty(v,"FoxProgress",{enumerable:!0,get:function(){return I.ElProgress}}),v.FoxPullRefresh=Ul,v.PullRefresh=Ul,Object.defineProperty(v,"FoxRadio",{enumerable:!0,get:function(){return I.ElRadio}}),Object.defineProperty(v,"FoxRadioButton",{enumerable:!0,get:function(){return I.ElRadioButton}}),Object.defineProperty(v,"FoxRadioGroup",{enumerable:!0,get:function(){return I.ElRadioGroup}}),v.FoxRadioItem=Sl,v.RadioItem=Sl,Object.defineProperty(v,"FoxRate",{enumerable:!0,get:function(){return I.ElRate}}),v.FoxRateItem=Tl,v.RateItem=Tl,Object.defineProperty(v,"FoxResult",{enumerable:!0,get:function(){return I.ElResult}}),v.FoxRollingProvider=ar,v.RollingProvider=ar,Object.defineProperty(v,"FoxRow",{enumerable:!0,get:function(){return I.ElRow}}),v.FoxRowItem=na,v.RowItem=na,Object.defineProperty(v,"FoxScrollbar",{enumerable:!0,get:function(){return I.ElScrollbar}}),v.FoxSearchBar=wn,v.SearchBar=wn,Object.defineProperty(v,"FoxSegmented",{enumerable:!0,get:function(){return I.ElSegmented}}),Object.defineProperty(v,"FoxSelect",{enumerable:!0,get:function(){return I.ElSelect}}),v.FoxSelectItem=al,v.SelectItem=al,Object.defineProperty(v,"FoxSelectV2",{enumerable:!0,get:function(){return I.ElSelectV2}}),v.FoxShortPassword=er,v.ShortPassword=er,v.FoxSignature=tr,v.Signature=tr,Object.defineProperty(v,"FoxSkeleton",{enumerable:!0,get:function(){return I.ElSkeleton}}),Object.defineProperty(v,"FoxSkeletonItem",{enumerable:!0,get:function(){return I.ElSkeletonItem}}),Object.defineProperty(v,"FoxSlider",{enumerable:!0,get:function(){return I.ElSlider}}),v.FoxSlotItem=ta,v.SlotItem=ta,Object.defineProperty(v,"FoxSpace",{enumerable:!0,get:function(){return I.ElSpace}}),Object.defineProperty(v,"FoxStatistic",{enumerable:!0,get:function(){return I.ElStatistic}}),Object.defineProperty(v,"FoxStep",{enumerable:!0,get:function(){return I.ElStep}}),Object.defineProperty(v,"FoxSteps",{enumerable:!0,get:function(){return I.ElSteps}}),v.FoxStepsBar=Ll,v.StepsBar=Ll,Object.defineProperty(v,"FoxSubMenu",{enumerable:!0,get:function(){return I.ElSubMenu}}),Object.defineProperty(v,"FoxSwitch",{enumerable:!0,get:function(){return I.ElSwitch}}),v.FoxSwitchItem=xl,v.SwitchItem=xl,Object.defineProperty(v,"FoxTabPane",{enumerable:!0,get:function(){return I.ElTabPane}}),Object.defineProperty(v,"FoxTable",{enumerable:!0,get:function(){return I.ElTable}}),Object.defineProperty(v,"FoxTableColumn",{enumerable:!0,get:function(){return I.ElTableColumn}}),v.FoxTableItem=wl,v.TableItem=wl,v.FoxTableMappingColumn=yl,v.TableMappingColumn=yl,v.FoxTableRadioColumn=pl,v.TableRadioColumn=pl,v.FoxTableSetting=oa,v.TableSetting=oa,Object.defineProperty(v,"FoxTableV2",{enumerable:!0,get:function(){return I.ElTableV2}}),Object.defineProperty(v,"FoxTabs",{enumerable:!0,get:function(){return I.ElTabs}}),v.FoxTabsBar=xn,v.TabsBar=xn,v.FoxTabsContainer=kn,v.TabsContainer=kn,v.FoxTabsFrame=Rl,v.TabsFrame=Rl,v.FoxTabsPane=da,v.TabsPane=da,Object.defineProperty(v,"FoxTag",{enumerable:!0,get:function(){return I.ElTag}}),v.FoxText=_t,v.Text=_t,v.FoxTextareaItem=nl,v.TextareaItem=nl,v.FoxTimeItem=ul,v.TimeItem=ul,Object.defineProperty(v,"FoxTimePicker",{enumerable:!0,get:function(){return I.ElTimePicker}}),Object.defineProperty(v,"FoxTimeSelect",{enumerable:!0,get:function(){return I.ElTimeSelect}}),v.FoxTimeSelectItem=cl,v.TimeSelectItem=cl,Object.defineProperty(v,"FoxTimeline",{enumerable:!0,get:function(){return I.ElTimeline}}),Object.defineProperty(v,"FoxTimelineItem",{enumerable:!0,get:function(){return I.ElTimelineItem}}),v.FoxToast=Gt,v.Toast=Gt,Object.defineProperty(v,"FoxTooltip",{enumerable:!0,get:function(){return I.ElTooltip}}),v.FoxTour=Zl,v.Tour=Zl,Object.defineProperty(v,"FoxTransfer",{enumerable:!0,get:function(){return I.ElTransfer}}),Object.defineProperty(v,"FoxTree",{enumerable:!0,get:function(){return I.ElTree}}),v.FoxTreeItem=Nl,v.TreeItem=Nl,Object.defineProperty(v,"FoxTreeSelect",{enumerable:!0,get:function(){return I.ElTreeSelect}}),v.FoxTreeSelectItem=kl,v.TreeSelectItem=kl,Object.defineProperty(v,"FoxTreeV2",{enumerable:!0,get:function(){return I.ElTreeV2}}),Object.defineProperty(v,"FoxUpload",{enumerable:!0,get:function(){return I.ElUpload}}),Object.defineProperty(v,"FoxWatermark",{enumerable:!0,get:function(){return I.ElWatermark}}),v.Foxcalendarpicker=ra,v.calendarpicker=ra,v.Foxcascaderpicker=Kl,v.cascaderpicker=Kl,v.Foxpicker=fa,v.picker=fa,v.InnerPageScopeKey=_a,v.PriorityPolicy=st,v.UniqueID=eo,v.ValidateSchema=Pr,v.ValidateSchemaKey=xt,v.browseProperty=Lr,v.cancelRaf=ji,v.clamp=is,v.clearNonNumber=ts,v.compareTo=Ea,v.createBroadcast=an,v.createValidateSchema=Rn,v.debounce=rt,v.debounceRef=ys,v.decimalLength=Cr,v.default=hb,v.defineConfigDomain=Ar,v.defineDataItem=Br,v.defineDomain=Ma,v.defineDomainItemProperty=We,v.defineItem=Le,v.definePageState=Or,v.defineSimpleItem=It,v.deleteGlobalValidator=ds,v.disabledProperty=Mr,v.divide=Da,v.excludeProps=Me,v.extend=Ft,v.floatData=ls,v.getGlobalIcons=Wr,v.getGlobalValidateCheckEvents=Nr,v.getGlobalValidateResetEvents=Er,v.getPageContentAreaHeight=jn,v.getPageContentAreaWidth=Kn,v.getPageFooterAreaHeight=zn,v.getPageHeaderAreaHeight=qn,v.getRootDomain=Mt,v.hasSymbol=pr,v.includeProps=wt,v.indexOf=ns,v.injectPageScopeState=un,v.integerLength=Sr,v.isArray=Hi,v.isArrayLike=br,v.isBrowser=Tt,v.isDate=Va,v.isDisplayNone=Ba,v.isESModule=Xi,v.isEmptyString=ke,v.isEqual=Qe,v.isFunction=Ia,v.isHidden=tn,v.isMap=Wi,v.isNil=Oe,v.isNumberString=Ra,v.isObject=et,v.isPlainObject=Gi,v.isPromise=In,v.isRegExp=Oa,v.isSet=Yi,v.isString=gr,v.isSubPage=ws,v.isSymbol=Ui,v.isTouch=Sn,v.isWindow=vr,v.kebabToPascal=nn,v.lastIndexOf=as,v.makeArray=es,v.merge=wr,v.multiply=dr,v.negate=hr,v.nextTick=Zi,v.numberFormat=Vn,v.objectToString=yr,v.once=ps,v.overrideGlobalIcons=Ls,v.overrideGlobalValidateHandler=cs,v.padZero=os,v.pascalToKebab=xr,v.preventDefault=rs,v.property=qe,v.provideAbstractPageScope=Rr,v.provideInnerPageScope=qa,v.raf=Pa,v.readonlyProperty=Fr,v.setGlobalValidateCheckEvents=hs,v.setGlobalValidateHandler=us,v.setGlobalValidateMessages=gs,v.setGlobalValidateResetEvents=ms,v.setGlobalValidator=fs,v.throttle=Ir,v.toBoolean=Ce,v.toNumber=De,v.toPadding=ht,v.toPx=Se,v.toPxDesc=bs,v.toPxString=Te,v.toTypeString=An,v.toValue=Ve,v.tryTimes=Mn,v.typeOf=Bn,v.unNumberFormat=mr,v.updatePageState=La,v.useBroadcast=ln,v.useDomain=$t,v.useElementSize=Yn,v.useInnerSize=Wa,v.usePageState=_n,v.usePosition=Qr,v.useRawTouch=Cn,v.useRect=Pl,v.useSize=Ha,v.useSlotChildren=fn,v.useTouch=ni,v.valueLength=bt});
|