@fox-js/foxui-pad 4.1.1-8 → 4.1.1

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.umd.js CHANGED
@@ -1,5 +1 @@
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,dt,F,Ee,Ce){"use strict";/*!
2
- * @fox-js/foxui-desktop v4.0.0 Fri Apr 18 2025 09:01:13 GMT+0800 (中国标准时间)
3
- */const Ut=window,Gr=typeof window<"u";function Xr(){return typeof Ut<"u"?Ut.requestAnimationFrame||Ut.webkitRequestAnimationFrame||function(e){Ut.setTimeout(e,1e3/60)}:function(e){setTimeout(e,1e3/60)}}function Zr(e){Gr?cancelAnimationFrame(e):clearTimeout(e)}const Xn=Xr();/*!
4
- * @fox-js/big-decimal v4.0.1-6 Sat Aug 24 2024 07:04:11 GMT+0800 (中国标准时间)
5
- */function Gt(e,n="0"){let a=0,l=-1;e[0]=="-"&&(a++,l=1,e=e.substring(1),e.length),n[0]=="-"&&(a++,l=2,n=n.substring(1),n.length),e=Be(e),n=Be(n),[e,n]=Jn(Be(e),Be(n)),a==1&&(l==1?e=Zn(e):n=Zn(n));let o=Oa(e,n);return a?a==2?"-"+Be(o):e.length<o.length?Be(o.substring(1)):"-"+Be(Zn(o)):Be(o)}function Zn(e){let n="",a=e.length,l=e.split(".")[1],o=l?l.length:0;for(let i=0;i<a;i++)e[i]>="0"&&e[i]<="9"?n+=9-parseInt(e[i]):n+=e[i];let r=o>0?"0."+new Array(o).join("0")+"1":"1";return Oa(n,r)}function Be(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 Jn(e,n){let a=e.split("."),l=n.split("."),o=a[0].length,r=l[0].length;return o>r?l[0]=new Array(Math.abs(o-r)+1).join("0")+(l[0]?l[0]:""):a[0]=new Array(Math.abs(o-r)+1).join("0")+(a[0]?a[0]:""),o=a[1]?a[1].length:0,r=l[1]?l[1].length:0,(o||r)&&(o>r?l[1]=(l[1]?l[1]:"")+new Array(Math.abs(o-r)+1).join("0"):a[1]=(a[1]?a[1]:"")+new Array(Math.abs(o-r)+1).join("0")),e=a[0]+(a[1]?"."+a[1]:""),n=l[0]+(l[1]?"."+l[1]:""),[e,n]}function Oa(e,n){[e,n]=Jn(e,n);let a="",l=0;for(let o=e.length-1;o>=0;o--){if(e[o]==="."){a="."+a;continue}let r=parseInt(e[o])+parseInt(n[o])+l;a=r%10+a,l=Math.floor(r/10)}return l?l.toString()+a:a}var ke=(e=>(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))(ke||{});function Vt(e,n=0,a=ke.HALF_EVEN){if(a===ke.UNNECESSARY)throw new Error("UNNECESSARY Rounding Mode has not yet been implemented");typeof e=="number"&&(e=e.toString());let l=!1;e[0]==="-"&&(l=!0,e=e.substring(1));let o=e.split("."),r=o[0],i=o[1];if(n<0){if(n=-n,r.length<=n)return"0";{let s=r.substr(0,r.length-n);return e=s+"."+r.substr(r.length-n)+i,s=Vt(e,0,a),(l?"-":"")+s+new Array(n+1).join("0")}}if(n==0)return r.length,Aa(o[1],r,l,a)?(l?"-":"")+Qn(r):(l?"-":"")+r;if(o[1]){if(o[1].length<n)return(l?"-":"")+r+"."+o[1]+new Array(n-o[1].length+1).join("0")}else return(l?"-":"")+r+"."+new Array(n+1).join("0");i=o[1].substring(0,n);let u=o[1].substring(n);return u&&Aa(u,i,l,a)&&(i=Qn(i),i.length>n)?(l?"-":"")+Qn(r,parseInt(i[0]))+"."+i.substring(1):(l?"-":"")+r+"."+i}function Aa(e,n,a,l){if(!e||e===new Array(e.length+1).join("0")||l===ke.DOWN||!a&&l===ke.FLOOR||a&&l===ke.CEILING)return!1;if(l===ke.UP||a&&l===ke.FLOOR||!a&&l===ke.CEILING)return!0;let o="5"+new Array(e.length).join("0");if(e>o)return!0;if(e<o)return!1;switch(l){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 Qn(e,n=0){n||(n=1),typeof e=="number"&&e.toString();let a=e.length-1,l="";for(let o=a;o>=0;o--){let r=parseInt(e[o])+n;r==10?(n=1,r=0):n=0,l+=r}return n&&(l+=n),l.split("").reverse().join("")}function el(e,n){e=e.toString(),n=n.toString();let a=0;e[0]=="-"&&(a++,e=e.substr(1)),n[0]=="-"&&(a++,n=n.substr(1)),e=Ot(e),n=Ot(n);let l=0,o=0;e.indexOf(".")!=-1&&(l=e.length-e.indexOf(".")-1),n.indexOf(".")!=-1&&(o=n.length-n.indexOf(".")-1);let r=l+o;if(e=Ot(e.replace(".","")),n=Ot(n.replace(".","")),e.length<n.length){let d=e;e=n,n=d}if(n=="0")return"0";let i=n.length,u=0,s=[],f=i-1,h="";for(let d=0;d<i;d++)s[d]=e.length-1;for(let d=0;d<2*e.length;d++){let y=0;for(let x=n.length-1;x>=f&&x>=0;x--)s[x]>-1&&s[x]<e.length&&(y+=parseInt(e[s[x]--])*parseInt(n[x]));y+=u,u=Math.floor(y/10),h=y%10+h,f--}return h=Ot(Jr(h,r)),a==1&&(h="-"+h),h}function Jr(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 Ot(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 tl(e,n,a=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 l=0;n[0]=="-"&&(n=n.substring(1),l++),e[0]=="-"&&(e=e.substring(1),l++);var o=n.indexOf(".")>0?n.length-n.indexOf(".")-1:-1;if(n=Be(n.replace(".","")),o>=0){let f=e.indexOf(".")>0?e.length-e.indexOf(".")-1:-1;if(f==-1)e=Be(e+new Array(o+1).join("0"));else if(o>f)e=e.replace(".",""),e=Be(e+new Array(o-f+1).join("0"));else if(o<f){e=e.replace(".","");let h=e.length-f+o;e=Be(e.substring(0,h)+"."+e.substring(h))}else o==f&&(e=Be(e.replace(".","")))}let r=0,i=n.length,u="",s=e.indexOf(".")>-1&&e.indexOf(".")<i?e.substring(0,i+1):e.substring(0,i);if(e=e.indexOf(".")>-1&&e.indexOf(".")<i?e.substring(i+1):e.substring(i),s.indexOf(".")>-1){let f=s.length-s.indexOf(".")-1;s=s.replace(".",""),i>s.length&&(f+=i-s.length,s=s+new Array(i-s.length+1).join("0")),r=f,u="0."+new Array(f).join("0")}for(a=a+2;r<=a;){let f=0;for(;parseInt(s)>=parseInt(n);)s=Gt(s,"-"+n),f++;u+=f,e?(e[0]=="."&&(u+=".",r++,e=e.substring(1)),s=s+e.substring(0,1),e=e.substring(1)):(r||(u+="."),r++,s=s+"0")}return(l==1?"-":"")+Be(Vt(u,a-2))}function nl(e,n){return e=e.toString(),n=n.toString(),n=ll(n),Gt(e,n)}function ll(e){return e[0]=="-"?e=e.substr(1):e="-"+e,e}function Fa(e,n){if(n==0)throw new Error("Cannot divide by 0");e=e.toString(),n=n.toString(),Ma(e),Ma(n);let a="";e[0]=="-"&&(a="-",e=e.substr(1)),n[0]=="-"&&(n=n.substr(1));let l=nl(e,el(n,Vt(tl(e,n),0,ke.FLOOR)));return a+l}function Ma(e){if(e.indexOf(".")!=-1)throw new Error("Modulus of non-integers not supported")}function Ra(e,n){let a=!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),a=!0),[e,n]=Jn(e,n),e.localeCompare(n)==0)return 0;for(let l=0;l<e.length;l++)if(e[l]!=n[l])return e[l]>n[l]?a?-1:1:a?1:-1;return 0}class he{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[a,l]=n.split(/[eE]/);a=Be(a);let o="";a[0]=="-"&&(o="-",a=a.substring(1)),a.indexOf(".")>=0?(l=parseInt(l)+a.indexOf("."),a=a.replace(".","")):l=parseInt(l)+a.length,a.length<l?n=o+a+new Array(l-a.length+1).join("0"):a.length>=l&&l>0?n=o+Be(a.substring(0,l))+(a.length>l?"."+a.substring(l):""):n=o+"0."+new Array(-l+1).join("0")+a}return n}constructor(n="0"){this.value=he.validate(n)}getValue(){return this.value}static getPrettyValue(n,a,l){if(!(a||l))a=3,l=",";else if(!(a&&l))throw Error("Illegal Arguments. Should pass both digits and separator or pass none");n=he.validate(n);let o=n.charAt(0)=="-";o&&(n=n.substring(1));var r=n.indexOf(".");r=r>0?r:n.length;for(var i="",u=r;u>0;)u<a?(a=u,u=0):u-=a,i=n.substring(u,u+a)+(u<r-a&&u>=0?l:"")+i;return(o?"-":"")+i+n.substring(r)}getPrettyValue(n,a){return he.getPrettyValue(this.value,n,a)}static round(n,a=0,l=ke.HALF_EVEN){if(n=he.validate(n),isNaN(a))throw Error("Precision is not a number: "+a);return Vt(n,a,l)}round(n=0,a=ke.HALF_EVEN){if(isNaN(n))throw Error("Precision is not a number: "+n);return new he(Vt(this.value,n,a))}static floor(n){return n=he.validate(n),n.indexOf(".")===-1?n:he.round(n,0,ke.FLOOR)}floor(){return this.value.indexOf(".")===-1?new he(this.value):new he(this.value).round(0,ke.FLOOR)}static ceil(n){return n=he.validate(n),n.indexOf(".")===-1?n:he.round(n,0,ke.CEILING)}ceil(){return this.value.indexOf(".")===-1?new he(this.value):new he(this.value).round(0,ke.CEILING)}static add(n,a){return n=he.validate(n),a=he.validate(a),Gt(n,a)}add(n){return new he(Gt(this.value,n.getValue()))}static subtract(n,a){return n=he.validate(n),a=he.validate(a),nl(n,a)}subtract(n){return new he(nl(this.value,n.getValue()))}static multiply(n,a){return n=he.validate(n),a=he.validate(a),el(n,a)}multiply(n){return new he(el(this.value,n.getValue()))}static divide(n,a,l){return n=he.validate(n),a=he.validate(a),tl(n,a,l)}divide(n,a){return new he(tl(this.value,n.getValue(),a))}static modulus(n,a){return n=he.validate(n),a=he.validate(a),Fa(n,a)}modulus(n){return new he(Fa(this.value,n.getValue()))}static compareTo(n,a){return n=he.validate(n),a=he.validate(a),Ra(n,a)}compareTo(n){return Ra(this.value,n.getValue())}static negate(n){return n=he.validate(n),ll(n)}negate(){return new he(ll(this.value))}}function Ba(e,n){return he.multiply(`${e}`,`${n}`)}function al(e,n,a=8){return he.divide(`${e}`,`${n}`,a)}function ol(e,n){return e=`${e}`,n=`${n}`,he.compareTo(e,n)}function La(e){return he.negate(e)}function Xt(e,n=-1,a=!1,l=3,o=","){let r=`${e}`;if(r.length==0||r==="-")return"";let i=r.charAt(0);i=="-"?r=r.substring(1):i="";let u=r,s="",f=r.indexOf(".");f!=-1&&(u=r.substring(0,f),s=r.substring(f+1)),n!=-1&&(n<s.length?s=s.substring(0,n):a&&n>s.length&&(s=s.padEnd(n,"0")));let h;if(l>0){let d="",y=u.split("").reverse();for(let x=0;x<y.length;x++)d+=y[x]+((x+1)%l==0&&x+1!=y.length?o:"");s.length==0?h=`${i}${d.split("").reverse().join("")}`:h=`${i}${d.split("").reverse().join("")}.${s}`}else s.length==0?h=`${i}${u}`:h=`${i}${u}.${s}`;return h}function Pa(e){let n=`${e}`,a=n.charAt(0);a=="-"?n=n.substring(1):a="";let l=n.replace(/[^\d\.-]/g,"");return`${a}${l}`}const rl=Xn,Qr=Array.isArray,ei=e=>Jt(e)==="[object Map]",ti=e=>Jt(e)==="[object Set]",ot=e=>e instanceof Date,il=e=>typeof e=="function",_a=e=>typeof e=="string",ni=e=>typeof e=="symbol",He=e=>e!==null&&typeof e=="object",Zt=e=>He(e)&&il(e.then)&&il(e.catch),qa=Object.prototype.toString,Jt=e=>qa.call(e),sl=e=>Jt(e)==="[object Object]",za=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol";function li(e){return e.__esModule||za&&e[Symbol.toStringTag]==="Module"}const ai=typeof Promise<"u"&&Promise.toString().indexOf("[native code]")!==-1;function ht(...e){let n=e[0]!==void 0&&e[0]!==null?e[0]:{},a=1,l=e.length,o=!1;for(typeof n=="boolean"&&(o=n,n=e[a]??{},a++),typeof n!="object"&&(n={});a<l;a++)if(e[a]!==null&&e[a]!==void 0){let r=e[a];for(let i in r){let u=n[i],s=r[i];if(u!==s)if(o===!0&&s&&typeof s=="object"){let f;Array.isArray(s)?f=u&&Array.isArray(u)?u:[]:f=u&&typeof u=="object"?u:{},n[i]=ht(o,f,s)}else s!==void 0&&(n[i]=s)}}return n}function ul(e,n,a=!1){if(!a)ht(!0,e,n);else{if(typeof n!="object")return{};typeof e!="object"&&(e={});for(let o in n){let r=e[o],i=n[o];if(r!==i)if(typeof i=="object"){if(!Array.isArray(i)&&!sl(i))continue;r=ul(r,i,a),e[o]=r}else{if(typeof i=="function")continue;e[o]=i}}const l=Object.getOwnPropertySymbols(n);for(let o of l){let r=e[o],i=n[o];if(r!==i)if(typeof i=="object"){if(!Array.isArray(i)&&!sl(i))continue;r=ul(r,i,a),e[o]=r}else{if(typeof i=="function")continue;e[o]=i}}}return e}const cl=ai?Promise.resolve():null;function oi(e,...n){cl!==null?n&&n.length>0?cl.then(()=>{e(n)}):cl.then(e):n&&n.length>0?setTimeout(()=>{e(n)}):setTimeout(e)}function de(e){return e==null?!1:typeof e=="boolean"?e:typeof e=="string"?e.toLocaleLowerCase()==="true":!!e}function ye(e){return typeof e=="number"?e:Number(e)}const ri={"[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 Qt(e){let a=Object.prototype.toString.call(e);return e==null?String(e):ri[a]||"object"}function ja(e){return e&&typeof e=="object"&&"setInterval"in e}function en(e){if(!e)return!0;const{display:n}=window.getComputedStyle(e);return n==="none"}function Ha(e){let n=!!e&&"length"in e&&e.length,a=Qt(e);return a==="function"||ja(e)?!1:a==="array"||n===0||typeof n=="number"&&n>0&&n-1 in e}function Ka(e,n){let a=+n.length,l=0,o=e.length;for(;l<a;l++)e[o++]=n[l];return e.length=o,e}function ii(e,n=[]){let a=n;return e!=null&&(Ha(Object(e))?Ka(a,typeof e=="string"?[e]:e):a.push(e)),a}function Ye(e,n){if(e==n)return!0;if(e===void 0||n===void 0)return!1;let a=Qt(e),l=Qt(n);if(a!==l)return!1;if(a==="object"){let o=Object.keys(e),r=Object.keys(n);if(o.length!==r.length)return!1;for(let i=0;i<o.length;i++){let u=o[i],s=e[u],f=n[u];if(!Ye(s,f))return!1}return!0}else if(a==="array"){if(e.length!==n.length)return!1;for(let o=0;o<e.length;o++){let r=e[o],i=n[o];if(!Ye(r,i))return!1}return!0}return!1}const rt=typeof window<"u";function fl(e){return e==null}function dl(e){return Object.prototype.toString.call(e)==="[object RegExp]"}const me=e=>e==null?!0:typeof e!="string"?!1:e.length===0;function Wa(e){return me(e)?!0:(e.charAt(0)=="-"&&(e=e.substring(1)),me(e)||/^(([1-9][0-9]*\.[0-9]*)|([0]\.[0-9]*)|([0-9]*)|([0]{1}))$/.test(e))}function Ya(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 a=n.indexOf(".");return a==-1?n.length:a}function Ua(e){if(e==null)return 0;const n=`${e}`;if(n.length==0)return 0;const a=n.indexOf(".");return a==-1?0:n.length-(a+1)}function Ga(e,n,a){const l=e.indexOf(n);return l===-1?e:n==="-"&&l!==0?e.slice(0,l):e.slice(0,l+1)+e.slice(l).replace(a,"")}function si(e,n=!0,a=!0){n?e=Ga(e,".",/\./g):e=e.replace(/\./g,""),a?e=Ga(e,"-",/-/g):e=e.replace(/-/,"");const l=n?/[^-0-9.]/g:/[^-0-9]/g;return e.replace(l,"")}function ui(e,n){return typeof e=="object"||Array.isArray(e)?n.findIndex(a=>{if(Ye(e,a))return!0}):n.indexOf(e)}function ci(e,n){if(typeof e=="object"||Array.isArray(e)){let a=n.reverse().findIndex(l=>{if(Ye(e,l))return!0});return a!==-1&&(a=n.length-1-a),a}return n.lastIndexOf(e)}function Xe(e){return e==null||e==null?0:typeof e=="string"?e.length:`${e}`.length}function At(e,...n){const a={};return n.forEach(l=>{for(const o in l)a[o]=e[o]}),a}function Ie(e,...n){const a=[];n.forEach(o=>{Reflect.apply([].push,a,Reflect.ownKeys(o))});const l={};for(const o in e)a.includes(o)||(l[o]=e[o]);return l}const fi=(e,n,a)=>{const l=Object.assign({},e),o=Object.assign({},a);return Object.keys(n).length>0?(Object.keys(l).forEach(r=>{o.hasOwnProperty(r)?typeof o[r]=="string"&&(l[r]=n[o[r]]):n[r]&&(l[r]=n[r])}),l):e},De=Symbol.for("BroadcastKey");class hl{parent;children=[];callbacks=new Map;proxy=null;name;persistantMessages=new Map;constructor(n,a,l){this.parent=n,this.proxy=a,this.name=l,n!==null&&n.addChild(this)}addChild(n){this.children.push(n)}removeChild(n){const a=this.children.findIndex(l=>n===l);a!==-1&&this.children.splice(a,1)}destroy(){this.parent!==null&&this.parent.removeChild(this),this.persistantMessages.clear(),this.parent=null,this.proxy=null}setPersistantMessage(n,a,l){if(!n.uniqueId)return console.warn("[FoxUI]持久化消息,必须设置uniqueId。"),!1;const o=n.uniqueId,r={matched:n,action:a,args:l};return this.persistantMessages.set(o,r),!0}deletePersistantMessage(n){this.persistantMessages.delete(n)}getPersistantMessages(){const n=[];return this.persistantMessages.forEach(a=>{n.push(a)}),n}clearPersistantMessage(){this.persistantMessages.clear()}isMatched(n,a){if(!a||a.messagingPolicy==="Once"&&a.resolved===!0)return!1;let l=!1;return!a.name||a.name==="*"||a.name==="+"||dl(a.name)&&n&&a.name.test(n)?l=!0:typeof a.name=="function"?l=Reflect.apply(a.name,null,[n]):a.name===n&&(l=!0),l}trigger(n,a,l){let o=null;const r=this.callbacks.get(a);typeof r=="function"&&(o=Reflect.apply(r,this.proxy,[...l]));const i=this.proxy??{};typeof i[a]=="function"&&(o=Reflect.apply(i[a],i,[...l])),n.resolved=!0,typeof n.resolve=="function"&&n.resolve(o)}pull(){let n=this.parent;for(;n;){const a=n.getPersistantMessages();Array.isArray(a)&&a.length>0&&a.forEach(l=>{if(this.isMatched(this.name,l.matched))try{this.trigger(l.matched,l.action,l.args)}catch(o){console.error(o)}}),n=n.parent}}emit(n,a,...l){if(n.messagingPolicy==="Once"&&n.resolved===!0)return[];if(n.cachePolicy==="Persistant")this.setPersistantMessage(n,a,l),n.cachePolicy="None";else if(n.cachePolicy==="Unresolved"){if(this.setPersistantMessage(n,a,l)){const i=n.resolve,u=n.uniqueId??"",s=(...f)=>{this.deletePersistantMessage(u),typeof i=="function"&&i(...f)};n.resolve=s}n.cachePolicy="None"}let o=!1;!n.name||n.name==="*"?o=!0:n.name==="+"?(o=!1,n.name="*"):dl(n.name)&&this.name&&n.name.test(this.name)?o=!0:typeof n.name=="function"?o=Reflect.apply(n.name,null,[this.name]):n.name===this.name&&(o=!0);const r=[];if(o){const i=this.callbacks.get(a);if(typeof i=="function"){const s=Reflect.apply(i,this.proxy,[...l]);s!=null&&r.push(s)}const u=this.proxy??{};if(typeof u[a]=="function"){const s=Reflect.apply(u[a],u,[...l]);s!=null&&r.push(s)}if(n.resolved=!0,typeof n.resolve=="function"&&n.resolve(...r),n.messagingPolicy==="Once")return r}return this.children.forEach(i=>{const u=Reflect.apply(i.emit,i,[{...n},a,...l]);u!=null&&Array.isArray(u)&&Reflect.apply([].push,r,[...u])}),r}emitToChildren(n,a,...l){if(n.cachePolicy==="Persistant")this.setPersistantMessage(n,a,l),n.cachePolicy="None";else if(n.cachePolicy==="Unresolved"){if(this.setPersistantMessage(n,a,l)){const r=n.resolve,i=n.uniqueId??"",u=(...s)=>{this.deletePersistantMessage(i),typeof r=="function"&&r(...s)};n.resolve=u}n.cachePolicy="None"}const o=[];return this.children.forEach(r=>{const i=Reflect.apply(r.emit,r,[{...n},a,...l]);i!=null&&Array.isArray(i)&&Reflect.apply([].push,o,[...i])}),o}on(n,a){this.callbacks.set(n,a)}}function tn(e,n,a,l){const o=new hl(n,e,a);if(l&&typeof l=="object")for(const r in l)o.on(r,l[r]);return o}function di(e,n,a){const l=a;if(l[De])return l[De];const o=t.inject(De,null),r=new hl(o,a,e);if(n&&typeof n=="object")for(const i in n)r.on(i,n[i]);return l[De]=r,t.provide(De,r),t.onUnmounted(()=>{r.destroy(),l[De]=void 0}),r}function Ft(e=null){return e||(e=t.getCurrentInstance()?.proxy??null),e?e[De]??t.inject(De,null):t.inject(De,null)}class hi{error(n,a){const l=a,o=a||t.hasInjectionContext()?Ft(a):null;o?o.emit({name:"*"},"setErrorTip",n):typeof l.setErrorTip=="function"&&l.setErrorTip(n)}reset(n){const a=n,l=n||t.hasInjectionContext()?Ft(n):null;l?l.emit({name:"*"},"setErrorTip",""):typeof a.setErrorTip=="function"&&a.setErrorTip("")}success(n){const a=n,l=n||t.hasInjectionContext()?Ft(n):null;l?l.emit({name:"*"},"setErrorTip",""):typeof a.setErrorTip=="function"&&a.setErrorTip("")}decorate(n,a,l){Array.isArray(n)||(n=[n]);const o=l,r=l||t.hasInjectionContext()?Ft(l):null,i=a.find(s=>s.required===!0||s.type==="required"&&s.required!==!1),u=n.find(s=>s.required===!0||s.type==="required"&&s.required!==!1);!i&&u?r?r.emit({name:"*"},"setRequired",!0):typeof o.setRequired=="function"&&o.setRequired(!0):i&&!u&&(r?r.emit({name:"*"},"setRequired",!1):typeof o.setRequired=="function"&&o.setRequired(!1),this.reset(l))}getValue(n){return n.modelValue}}let Mt=new hi;function mi(e){Mt=e}function gi(e){Mt?Object.assign(Mt,e):Mt=e}function yi(e,n){dt.Schema.setValidator(e,n)}function pi(e){dt.Schema.deleteValidator(e)}let Xa=["blur","clear"];function bi(e){Xa=e}function Za(){return Xa}let Ja=["focus","change","setValue"];function vi(e){Ja=e}function Qa(){return Ja}function wi(e){dt.Schema.messages(e)}function Rt(...e){const n=[];return e.forEach(a=>{a.forEach(l=>{const o=n.findIndex(r=>r.type===l.type);o!==-1&&n.splice(o,1),n.push(l)})}),n}function nn(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}const Ue=Symbol("ValidateSchemaKey");class eo{parent=null;validators={};attrRules=[];rules=[];descriptor;proxy;scope=null;constructor(n,a,l){this.parent=n,this.descriptor=a,this.proxy=l,(this.descriptor.validate??!0)&&this.init()}init(){if(this.descriptor.pureDataValidate===!0||!this.descriptor.valueName||!this.proxy)return;let n=this.proxy.$attrs;n&&(this.scope=t.effectScope(!0),this.scope.run(()=>{t.watchEffect(()=>{const a=nn(Rt(this.attrRules,this.rules)),l=[];for(let r in n){let i=n[r];if(this.hasValidator(r,!0)){if(i===!1)continue;let s={type:r};i!==null&&typeof i=="object"&&Object.assign(s,i),l.push(s);continue}let u=this.getValidator(r);if(u!==null){let s={type:r,validator:u};l.push(s)}}this.attrRules=nn(l);const o=Rt(this.attrRules,this.rules);t.nextTick(()=>{this.decorate(o,a)})})}))}destroy(){this.scope&&(this.scope.stop(),this.scope=null),this.parent=null,this.proxy=null}execHandler(n,...a){const l=this.descriptor.validateHandler;if(l&&typeof l[n]=="function")return Reflect.apply(l[n],l,[...a]);const o=Mt;return o&&typeof o[n]=="function"?Reflect.apply(o[n],o,[...a]):null}decorate(n,a){this.descriptor.pureDataValidate!==!0&&this.execHandler("decorate",n,a,this.proxy)}success(){this.descriptor.pureDataValidate!==!0&&this.execHandler("success",this.proxy)}error(n){this.descriptor.pureDataValidate!==!0&&this.execHandler("error",n,this.proxy)}getValue(){return this.proxy===null?null:this.execHandler("getValue",this.proxy)}setValidator(n,a,l=!1){l?dt.Schema.setValidator(n,a):this.validators[n]=a}getValidator(n){let a=this.validators[n]??null;return a||(a=this.parent?.getValidator(n)??null),a}deleteValidator(n,a=!1){a?dt.Schema.deleteValidator(n):Reflect.deleteProperty(this.validators,n)}hasValidator(n,a=!1){if(a)return dt.Schema.hasValidator(n);{let l=Reflect.has(this.validators,n);return!l&&this.parent!==null&&(l=this.parent.hasValidator(n,!1)),l}}setRule(n){const a=Rt(this.attrRules,this.rules);n===null?this.rules=[]:Array.isArray(n)?this.rules=nn(n):this.rules=nn([n]);const l=Rt(this.attrRules,this.rules);t.nextTick(()=>{this.decorate(l,a)})}clear(){this.proxy===null||this.descriptor.pureDataValidate===!0||this.execHandler("reset",this.proxy)}validate(){if(this.descriptor.validate??!0){let a=Rt(this.attrRules,this.rules);const l=this.descriptor.fieldName??"value";if(a.length>0){const o={[`${l}`]:a},r=this.getValue(),i={[`${l}`]:r},u=new dt.Schema(o),s=this.proxy??i;return u.validate(i,{context:s}).then(h=>{if(h.pass)this.success();else{let d="error";Array.isArray(h.errors)&&h.errors.length>0&&(d=h.errors[0].message??d,h.errors=[h.errors[0]],h.errors[0].ref=s),this.error(d)}return h}).catch(h=>{const d=h.message??`${h}`;return this.error(d),h})}}return Promise.resolve({pass:!0})}}function ln(e,n,a){if(a.valueName=a.valueName??"modelValue",a.valueType=a.valueType??"string",!a.validateHandler&&a.valueName!=="modelValue"){const o=a.valueName;a.validateHandler={getValue(r){return r[o]}}}return new eo(n,a,e)}const an=Symbol.for("EventEmitterKey");class to{register=new Map;proxy;constructor(n){this.proxy=n}destroy(){this.proxy=null,this.register.clear()}off(n,a){let l=this.register.get(n);if(l&&Array.isArray(l)){let o=l.findIndex(r=>r===a);o!==-1&&l.splice(o,1)}}on(n,a){let l=this.register.get(n);l||(l=new Array,this.register.set(n,l)),l.push(a)}emit(n,...a){const l=this.register.get(n);l&&l.forEach(o=>{try{Reflect.apply(o,null,[n,...a])}catch(r){console.error(r.message,r)}}),this.proxy&&Reflect.apply(this.proxy.$emit,this.proxy,[n,...a])}}function Ke(e,n){let a=null;return function(...l){a&&clearTimeout(a),a=setTimeout(()=>{a=null,Reflect.apply(e,null,[...l])},n)}}function Si(e,n){let a=0;return function(...l){const o=new Date().getTime();o-a<n||(a=o,Reflect.apply(e,null,[...l]))}}function xi(e,n){const a=Ke((l,o)=>{e=l,o()},n);return t.customRef((l,o)=>({get(){return l(),e},set(r){a(r,o)}}))}function Ci(e){let n=!1;return function(...a){n||(n=!0,Reflect.apply(e,null,[...a]))}}function on(e,n,a,l=0,o=!0,r){let i=n,u=0;if(o){const f=e();if(u++,f){typeof r=="function"&&r(!0);return}if(u>a){typeof r=="function"&&r(!1);return}}const s=()=>{const f=e();if(u++,f){typeof r=="function"&&r(!0);return}if(u>a){typeof r=="function"&&r(!1);return}i+=l,setTimeout(s,i)};setTimeout(s,i)}const je=Symbol("DomainKey"),vt=Symbol("DataItemsKey");class rn{_parent=null;get parent(){return this._parent}set parent(n){this._parent=n}_name=null;get name(){return this._name}_broadcast=null;get broadcast(){return this._broadcast}set broadcast(n){this._broadcast=n}_validateSchema=null;get validateSchema(){return this._validateSchema}set validateSchema(n){this._validateSchema=n}_props=t.reactive({});constructor(n=null){this._name=n}destroy(){this._parent=null,this._broadcast=null,this._validateSchema=null,this._props={}}merge(n,a=[]){for(const l in n){const o=n[l];a.length>0&&a.indexOf(o)!==-1||(this._props[l]=o)}}has(n){if(Reflect.has(this._props,n)){const a=this._props[n];if(a!=null)return!0}return this.parent==null?!1:this.parent.has(n)}delete(n){Reflect.deleteProperty(this._props,n)}set(n,a){this._props[n]=a}get(n,a){if(Reflect.has(this._props,n)){const l=this._props[n];if(l!=null)return l}return this.parent==null?a:this.parent.get(n,a)}getForParent(n,a){return this.parent==null?a:this.parent.get(n,a)}getForSelf(n){return this._props[n]}getAll(n){const a=[];let l=this;for(;l!=null;){if(Reflect.has(l._props,n)){const o=l._props[n];a.push(o)}l=l._parent}return a}}const Ti=new rn;function wt(){return Ti}function it(e=null){return e||(e=t.getCurrentInstance()?.proxy??null),e?e[je]??t.inject(je,null):t.inject(je,null)}const ml=Symbol("OriginalDateKey");function gl(e,n,a=[],l){const o=t.getCurrentInstance();let r=o?.proxy,i=t.inject(je,null);i===null&&(i=wt());const u=e||n.prop||n.name;let s=new rn(u);s.parent=i;const f=m=>{r[ml]||y(m),s?.set("modelValue",m)},h=()=>s?.getForSelf("modelValue")??null,d=()=>r[ml]??null,y=m=>{const g={};ht(!0,g,t.toRaw(m)),r[ml]=g};t.isReactive(n)||typeof n=="function"?t.watch(n,m=>{s?.merge(m,a)},{immediate:!0}):s.merge(n,a),n.modelValue&&y(n.modelValue);const x=(m,g)=>{s?.set(m,g)},w=m=>s?.getForSelf(m)??null;if(r[je]=s,t.provide(je,s),o!==null){const m=t.inject(De,null),g=tn(r,m,u,l);s.broadcast=g,r[De]=g,t.provide(De,g),r.broadcast=(c,E,...B)=>Reflect.apply(g.emit,g,[c,E,...B]);const P=t.inject(Ue,null),b=ln(r,P,{componentName:""});s.validateSchema=b,r[Ue]=b,t.provide(Ue,b),r[vt]=new Map,r.validate=(c=!0)=>{const E=[];let B=null;const I={deep:!1};if(c===!0)B={name:"*"};else if(Array.isArray(c)&&c.length>0){const C=c;B={name:A=>A?C.indexOf(A)!==-1:!1}}else if(c!=null&&typeof c=="object"){const C=c;if(Object.assign(I,C),Array.isArray(C.include)&&C.include.length>0){const A=C.include;B={name:T=>T?A.indexOf(T)!==-1:!1}}else if(Array.isArray(C.exclude)&&C.exclude.length>0){const A=C.exclude;B={name:T=>T?A.indexOf(T)===-1:!1}}else B={name:"*"}}if(B){const C=g?.emitToChildren(B,"validate",I);C&&Reflect.apply([].push,E,C)}return E.length==1?E[0]:E.length>1?Promise.all(E).then(C=>{let A=[];return C.forEach(T=>{T.pass===!1&&Array.isArray(T.errors)&&(A=[...A,...T.errors])}),A.length>0?{pass:!1,errors:A}:{pass:!0}}):Promise.resolve({pass:!0})},r.setNameValidateRules=(c,E=!0,B=!1)=>{if(B===!0){Reflect.ownKeys(c).forEach(C=>{let A=String(C);const T={componentName:"",fieldName:A,pureDataValidate:!0};if(s){const K=lo(s,A,T,g,b);r[vt].set(A,K);const p=c[A];p&&K.validateSchema.setRule(p)}});return}if(E){const I=Reflect.ownKeys(c),C={name:A=>I.includes(A),cachePolicy:"Persistant",uniqueId:"validateRules"};g?.emitToChildren(C,"setNameValidateRules",c,!1)}},r.clearValidate=(c=!0)=>{let E=null;if(c===!0)E={name:"*"};else if(Array.isArray(c)&&c.length>0){const B=c;E={name:I=>I?B.indexOf(I)!==-1:!1}}else if(c!=null&&typeof c=="object"){const B=c;if(Array.isArray(B.include)&&B.include.length>0){const I=B.include;E={name:C=>C?I.indexOf(C)!==-1:!1}}else if(Array.isArray(B.exclude)&&B.exclude.length>0){const I=B.exclude;E={name:C=>C?I.indexOf(C)===-1:!1}}else E={name:"*"}}E&&g?.emitToChildren(E,"clearValidate",!1)},r.resetFields=c=>{const E=h();if(!E)return;const B={};if(ht(!0,B,d()??{}),Array.isArray(c))c.forEach(I=>{E[I]=B[I]});else if(c&&Array.isArray(c.include))(c.include??[]).forEach(C=>{E[C]=B[C]});else if(c&&Array.isArray(c.exclude)){let I=c.exclude??[];Reflect.ownKeys(B).forEach(C=>{I.includes(C)||(E[C]=B[C])})}else Object.assign(E,B);r.clearValidate(c)},r.setModelValue=(c,E)=>{if(!E||E===u)f(c);else{const B={name:E,messagingPolicy:"Once"};g?.emitToChildren(B,"setModelValue",c)}},r.getModelValue=()=>h(),r.setDomainProperty=(c,E)=>{x(c,E)},r.getDomainProperty=c=>w(c),setTimeout(function(){g?.pull()},0)}return t.onUnmounted(function(){s?.validateSchema&&(s.validateSchema.destroy(),r[Ue]=void 0,t.provide(Ue,null)),s?.broadcast&&(s?.broadcast?.destroy(),r[De]=void 0,t.provide(De,null)),s?.destroy(),r[je]=void 0,t.provide(je,null),r[vt]&&(r[vt].clear(),r[vt]=void 0),r.broadcast=null,r.validate=null,r.setNameValidateRules=null,r.clearValidate=null,r.resetFields=null,r.setModelValue=null,r.getModelValue=null,r.setDomainProperty=null,r.getDomainProperty=null,s=null,r=null}),s}function no(e,n,a=[]){let o=t.getCurrentInstance()?.proxy,r=t.inject(je,null);r===null&&(r=wt());const i=e||n.prop||n.name;let u=new rn(i);return u.parent=r,t.isReactive(n)||typeof n=="function"?t.watch(n,s=>{u?.merge(s,a)},{immediate:!0}):u.merge(n,a),o[je]=u,t.provide(je,u),t.onUnmounted(()=>{u?.destroy(),o[je]=void 0,t.provide(je,null),u=null,o=null}),u}function Ne(e,n,a){const o=t.getCurrentInstance()?.proxy,r=n??"",i=t.inject(De,null);let u=tn(o,i,r,a);o[De]=u,t.provide(De,u),o.broadcast=(w,m,...g)=>u?Reflect.apply(u.emit,u,[w,m,...g]):null;const s=t.inject(Ue,null);e.fieldName=e.fieldName??r;let f=ln(o,s,e);o[Ue]=f,t.provide(Ue,f),o.validate=(w=null)=>{if(!f)return Promise.resolve({pass:!0});const m=[];let g=!1,P=!1;if(Array.isArray(w)&&w.indexOf(r)!==-1)P=!0,g=!0;else if(w&&typeof w=="object"){const b=w,c=b.ignoreDisabled??!0,E=b.ignoreReadonly??!0,B=b.ignoreHidden??!0;c===!0&&e.disabled===!0||E===!0&&e.readonly===!0||B===!0&&en(o.$el)?P=!1:(Array.isArray(b.include)&&b.include.indexOf(r)!==-1||Array.isArray(b.exclude)&&b.exclude.indexOf(r),P=!0),g=b.deep??!1}else typeof w=="boolean"&&(g=w),P=!0;if(P){const b=f?.validate();m.push(b)}if(g){let b=null;const c={deep:!1};if(w===!0)b={name:"*"};else if(Array.isArray(w)&&w.length>0){const E=w;b={name:B=>B?E.indexOf(B)!==-1:!1}}else if(w!=null&&typeof w=="object"){const E=w;if(Object.assign(c,E),Array.isArray(E.include)&&E.include.length>0){const B=E.include;b={name:I=>I?B.indexOf(I)!==-1:!1}}else if(Array.isArray(E.exclude)&&E.exclude.length>0){const B=E.exclude;b={name:I=>I?B.indexOf(I)===-1:!1}}else b={name:"*"}}if(b&&u){const E=u.emitToChildren(b,"validate",c);Reflect.apply([].push,m,E)}}return m.length==1?m[0]:m.length>1?Promise.all(m).then(b=>{let c=[];return b.forEach(E=>{E.pass===!1&&Array.isArray(E.errors)&&(c=[...c,...E.errors])}),c.length>0?{pass:!1,errors:c}:{pass:!0}}):Promise.resolve({pass:!0})},o.setValidateRule=w=>f?.setRule(w),o.setNameValidateRules=(w,m=!1)=>{const g=w[r];if(g&&f?.setRule(g),m&&u){const P={name:b=>Reflect.ownKeys(w).includes(b)};u.emitToChildren(P,"setNameValidateRules",w,!1)}},o.clearValidate=(w=null)=>{(!Array.isArray(w)||w.indexOf(n??"")!==-1)&&f?.clear();let m=null;if(w===!0)m={name:"*"};else if(Array.isArray(w)&&w.length>0){const g=w;m={name:P=>P?g.indexOf(P)!==-1:!1}}else if(w!=null&&typeof w=="object"){const g=w;if(Array.isArray(g.include)&&g.include.length>0){const P=g.include;m={name:b=>b?P.indexOf(b)!==-1:!1}}else if(Array.isArray(g.exclude)&&g.exclude.length>0){const P=g.exclude;m={name:b=>b?P.indexOf(b)===-1:!1}}else m={name:"*"}}m&&u&&u.emitToChildren(m,"clearValidate",!1)};let h=new to(o);o[an]=h;const d=Ke((w="validate")=>{f&&(w==="reset"?f.clear():f.validate())},60);return(Array.isArray(e.validateCheckEvents)?e.validateCheckEvents:Za()).forEach(w=>{h&&h.on(w,m=>{d("validate")})}),(Array.isArray(e.validateResetEvents)?e.validateResetEvents:Qa()).forEach(w=>{h&&h.on(w,m=>{d("reset")})}),setTimeout(function(){u?.pull()},0),t.onUnmounted(()=>{u?.destroy(),o[De]=void 0,t.provide(De,null),u=null,f?.destroy(),o[Ue]=void 0,t.provide(Ue,null),f=null,h?.destroy(),o[an]=void 0,h=null,o.broadcast=null,o.validate=null,o.setValidateRule=null,o.setNameValidateRules=null,o.clearValidate=null}),{broadcast:u,validateSchema:f,emitEvent:(w,...m)=>{h&&Reflect.apply(h.emit,h,[w,...m])},onEvent:(w,m)=>{h&&Reflect.apply(h.on,h,[m])},offEvent:(w,m)=>{h&&Reflect.apply(h.off,h,[m])}}}function lo(e,n,a,l,o){const r={},i=n??"",u={getValue(){const h=e.getForSelf("modelValue");return h?h[i]:null},isExist(){const h=e.getForSelf("modelValue");return h?Reflect.has(h,i):!1}};a.fieldName=i,a.validateHandler={getValue(h){return u.getValue()}};let s=ln({},o,a);r.validate=(h=null)=>{if(!u.isExist())return console.warn(`validate error: field [${i}] not exist`),Promise.resolve({pass:!0});const d=[];let y=!1,x=!1;if(Array.isArray(h)&&h.indexOf(i)!==-1)x=!0,y=!0;else if(h&&typeof h=="object"){const w=h;Array.isArray(w.include)&&w.include.indexOf(i)!==-1||Array.isArray(w.exclude)&&w.exclude.indexOf(i),x=!0,y=w.deep??!1}else typeof h=="boolean"&&(y=h),x=!0;if(x&&s){const w=s.validate();d.push(w)}if(y){let w=null;const m={deep:!1};if(h===!0)w={name:"*"};else if(Array.isArray(h)&&h.length>0){const g=h;w={name:P=>P?g.indexOf(P)!==-1:!1}}else if(h!=null&&typeof h=="object"){const g=h;if(Object.assign(m,g),Array.isArray(g.include)&&g.include.length>0){const P=g.include;w={name:b=>b?P.indexOf(b)!==-1:!1}}else if(Array.isArray(g.exclude)&&g.exclude.length>0){const P=g.exclude;w={name:b=>b?P.indexOf(b)===-1:!1}}else w={name:"*"}}if(w&&f){const g=f.emitToChildren(w,"validate",m);Reflect.apply([].push,d,g)}}return d.length==1?d[0]:d.length>1?Promise.all(d).then(w=>{let m=[];return w.forEach(g=>{g.pass===!1&&Array.isArray(g.errors)&&(m=[...m,...g.errors])}),m.length>0?{pass:!1,errors:m}:{pass:!0}}):Promise.resolve({pass:!0})},r.setValidateRule=h=>s?.setRule(h),r.setNameValidateRules=h=>{const d=h[i];d&&s?.setRule(d)};let f=tn(null,l,i,r);return t.onUnmounted(()=>{s=null,f=null}),{broadcast:f,validateSchema:s}}function yl(){let n=t.getCurrentInstance()?.proxy,a=new to(n);return n[an]=a,t.onUnmounted(()=>{a?.destroy(),n[an]=void 0,a=null,n=null}),{emitEvent:(l,...o)=>{a&&Reflect.apply(a.emit,a,[l,...o])},onEvent:(l,o)=>{a&&Reflect.apply(a.on,a,[o])},offEvent:(l,o)=>{a&&Reflect.apply(a.off,a,[o])}}}const Le=(e,n=-1)=>e?typeof e=="string"&&(e.endsWith("%")&&n<=0||e.endsWith("vh")||e.endsWith("vw"))?e:`${be(e,n)}px`:"";function be(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 a=e.indexOf("px");if(a!==-1)return Number(e.substring(0,a));if(a=e.indexOf("rem"),a!==-1){let o=Number(e.substring(0,a)),r=1;if(rt){const{fontSize:i}=window.getComputedStyle(document.documentElement,null),u=i.indexOf("px");u>0&&(r=Number(i.substring(0,u)))}return o*=r,o}if(a=e.indexOf("%"),a!==-1)return Number(e.substring(0,a))/100*n;const l=Number(e);return isNaN(l)?0:l}const st="PageStateKey";function Ze(e){const n={top:null,left:null,bottom:null,right:null};return e&&(e.top!==null&&e.top!==void 0&&(n.top=be(e.top)),e.left!==null&&e.left!==void 0&&(n.left=be(e.left)),e.bottom!==null&&e.bottom!==void 0&&(n.bottom=be(e.bottom)),e.right!==null&&e.right!==void 0&&(n.right=be(e.right))),n}function pl(e,n,a={},l=!0,o=-1,r=-1,i=0,u=0){if(e.headerHeight=be(a.headerHeight??n.headerHeight??-1),e.headerPadding=Ze(a.headerPadding??n.headerPadding),e.footerHeight=be(a.footerHeight??n.footerHeight??-1),e.footerPadding=Ze(a.footerPadding??n.footerPadding),e.contentPadding=Ze(a.contentPadding??n.contentPadding),l){const s=a.height??n.height;s?e.height=be(s,r):e.height=be(r)-be(i,r)-be(u,r),e.width=be(a.width??n.width??0,o)}}function ao(e,n={}){const a={top:null,bottom:null,right:null,left:null},l={width:0,height:0,headerHeight:0,headerPadding:{...a},footerHeight:0,footerPadding:{...a},contentPadding:{...a},contentHeight:null,safeAreaTop:0,safeAreaBottom:0,safeAreaLeft:0,safeAreaRight:0,headerMounted:!1,footerMounted:!1},o=Object.assign(e.get("safeAreaInset")??{},n.safeAreaInset??{});o&&(l.safeAreaTop=be(o.top),l.safeAreaBottom=be(o.bottom),l.safeAreaLeft=be(o.left),l.safeAreaRight=be(o.right));const r=e.get("pageLayout");if(!r)return null;const i=e.get("rootWidth")??-1,u=e.get("rootHeight")??-1,s=e.get("headerBarHeight")??0,f=e.get("footerBarHeight")??0;pl(l,r,n,!0,i,u,s,f);const h=t.reactive(l),d=e.getForParent(st);d&&(l.height=fn(e,d),l.width=dn(e,d),t.watch([()=>fn(e,d),()=>dn(e,d)],([x,w])=>{h.height=x,h.width=w}));const y=!d;return t.watch([()=>n.height,()=>e.get("pageLayout"),()=>e.get("rootWidth"),()=>e.get("rootHeight"),()=>e.get("headerBarHeight"),()=>e.get("footerBarHeight")],([x,w,m=-1,g=-1,P=0,b=0])=>{pl(h,w,n,y,m,g,P,b)}),e.set(st,h),h}function sn(e){return e.get(st)}function un(e,n){if(n=n??e.get(st),n&&n.headerMounted){const a=n.safeAreaTop==-1?0:n.safeAreaTop;return n.headerAllHeight??n.headerHeight+a}return 0}function cn(e,n){if(n=n??e.get(st),n&&n.footerMounted){const a=n.safeAreaBottom==-1?0:n.safeAreaBottom;return n.footerAllHeight??n.footerHeight+a}return 0}function fn(e,n){if(n=n??e.get(st),n){if(n.contentInnerHeight)return n.contentInnerHeight;const a=un(e,n),l=cn(e,n);return n.height-a-l-(n.contentPadding.top??0)-(n.contentPadding.bottom??0)}return 0}function dn(e,n){return n=n??e.get(st),n?n.contentInnerWidth??n.width-(n.contentPadding.left??0)-(n.contentPadding.right??0):0}function $i(e,n){const a=e.get("isInnerPage");return typeof a=="function"?Reflect.apply(a,{},[n,e]):!1}function ki(e){return!!e.getForParent(st)}var We=(e=>(e[e.Parent=0]="Parent",e[e.Near=1]="Near",e))(We||{});function hn(e,n){return e==null?!1:typeof n=="function"?n(e):!0}function Ae(e,n,a=1,l){const o=it();return o==null?e:a===0?t.computed(()=>{const r=o.getAll(n);for(let u=r.length-1;u>=0;u--){const s=r[u];if(hn(s,l))return s}const i=e.value;return hn(i,l)?i:null}):t.computed(()=>{const r=e.value;if(hn(r,l))return r;const i=o.getAll(n);for(let u=0;u<i.length;u++){const s=i[u];if(hn(s,l))return s}return null})}function Fe(e){return Ae(e,"readonly",1)}function Me(e){return Ae(e,"disabled",1)}function ge(e,n="modelValue",a=null,l){const o=t.toRef(e,n);let r=o.value;typeof a=="function"&&(r=a(o.value));const i=t.ref(r);return t.watch(o,u=>{if(typeof a=="function"){const s=a(u);s!==i.value&&(i.value=s,l&&l("setValue",s))}else u!==i.value&&(i.value=u,l&&l("setValue",u))}),i}const oo=new Map,mn=new Map;let bl=null;function Di(e){bl=e}function ro(e,n,a){if(a){let l=mn.get(a);l||(l=new Map,mn.set(a,l)),l.set(e,n)}else oo.set(e,n)}function Pe(e,n,a){!a&&bl&&(a=bl(e)??void 0);let l=null;if(a){let o=mn.get(a);o&&(l=o.get(n))}return l||(l=oo.get(n)),l}function Ni(e,n){for(let a in e){const l=e[a];ro(a,l,n)}}function Ei(e){mn.delete(e)}function Ii(){return{top:0,left:0,bottom:0,right:0}}function Vi(){if(rt){const e=document.documentElement.clientWidth||document.body.clientWidth,n=document.documentElement.clientHeight||document.body.clientHeight;return{rootWidth:e,rootHeight:n,pageLayout:{}}}else return{rootWidth:-1,rootHeight:-1,pageLayout:{}}}function Oi(e,n){if(n.componentPrefix){const a=e.indexOf("-");return`${n.componentPrefix}${e.slice(a)}`}return e}class Ai{packages;installers;_version;get version(){return this._version}constructor(n,a,l){this.packages=n,this.installers=a,this._version=l}install(n,a={}){a?.install!==!1&&(this.packages.forEach(r=>{if(r.install)n.use(r);else if(r.name){const i=Oi(r.name,a);n.component(i,r)}}),this.installers.forEach(r=>{r(n,a)}));const l=["safeAreaInset","pageLayout","headerBarHeight","footerBarHeight"],o=wt();if(this.initPageLayout(a,o),a.autoAdjustPageLayout!==!1&&window.ResizeObserver){const r=Ke(()=>{const u={...a},s=document.documentElement.clientWidth||document.body.clientWidth,f=document.documentElement.clientHeight||document.body.clientHeight;u.width=s,u.height=f,this.initPageLayout(u,o)},120);new window.ResizeObserver(r).observe(window.document.body)}for(const r in a)l.indexOf(r)===-1&&o.set(r,a[r])}initPageLayout(n,a){const l=n.headerBarHeight??0,o=n.footerBarHeight??0,r=ht({},Ii(),n.safeAreaInset),i=Vi(),u=ht({},i.pageLayout,n.pageLayout);a=a??wt(),a.set("safeAreaInset",r),a.set("headerBarHeight",l),a.set("footerBarHeight",o),a.set("pageLayout",u),a.set("rootWidth",i.rootWidth),a.set("rootHeight",i.rootHeight)}setScopeGetter(n){Di(n)}setAPI(n,a,l){ro(n,a,l)}getAPI(n,a,l){return Pe(n,a,l)}batchSetAPI(n,a){Ni(n,a)}clearScopeAPI(n){Ei(n)}getRootDomain(){return wt()}}const Fi=[F.ElAffix,F.ElAlert,F.ElAutocomplete,F.ElAutoResizer,F.ElAvatar,F.ElBacktop,F.ElBadge,F.ElBreadcrumb,F.ElBreadcrumbItem,F.ElButton,F.ElButtonGroup,F.ElCalendar,F.ElCard,F.ElCarousel,F.ElCarouselItem,F.ElCascader,F.ElCascaderPanel,F.ElCheckTag,F.ElCheckbox,F.ElCheckboxButton,F.ElCheckboxGroup,F.ElCol,F.ElCollapse,F.ElCollapseItem,F.ElCollapseTransition,F.ElColorPicker,F.ElConfigProvider,F.ElContainer,F.ElAside,F.ElFooter,F.ElHeader,F.ElMain,F.ElDatePicker,F.ElDescriptions,F.ElDescriptionsItem,F.ElDialog,F.ElDivider,F.ElDrawer,F.ElDropdown,F.ElDropdownItem,F.ElDropdownMenu,F.ElEmpty,F.ElForm,F.ElFormItem,F.ElIcon,F.ElImage,F.ElImageViewer,F.ElInput,F.ElInputNumber,F.ElLink,F.ElMenu,F.ElSubMenu,F.ElMenuItem,F.ElMenuItemGroup,F.ElPageHeader,F.ElPagination,F.ElPopconfirm,F.ElPopover,F.ElPopper,F.ElProgress,F.ElRadio,F.ElRadioButton,F.ElRadioGroup,F.ElRate,F.ElResult,F.ElRow,F.ElScrollbar,F.ElSelect,F.ElOption,F.ElOptionGroup,F.ElSelectV2,F.ElSkeleton,F.ElSkeletonItem,F.ElSlider,F.ElSpace,F.ElSteps,F.ElStep,F.ElSwitch,F.ElTable,F.ElTableColumn,F.ElTableV2,F.ElTabs,F.ElTabPane,F.ElTag,F.ElTimePicker,F.ElTimeSelect,F.ElTimeline,F.ElTimelineItem,F.ElTooltip,F.ElTransfer,F.ElTree,F.ElTreeSelect,F.ElTreeV2,F.ElUpload,F.ElStatistic,F.ElCountdown,F.ElSegmented,F.ElAnchor,F.ElAnchorLink,F.ElWatermark,F.ElMessageBox,F.ElMessage,F.ElNotification],Mi=[F.ElInfiniteScroll,F.ElLoading,F.ElMessage,F.ElMessageBox,F.ElNotification,F.ElPopoverDirective],Ri=(e,n={})=>{const a=n.componentPrefix??"fox",l=a[0].toUpperCase()+a.slice(1);Fi.forEach(o=>{let r=o.name;typeof r=="string"?(r=`${l}${r.slice(2)}`,e.component(r,o)):e.use(o)}),Mi.forEach(o=>{e.use(o)})};function se(e){const n="fox-"+e;return{componentName:n,scope:e.replace("-",""),create(a){return a.baseName=e,a.name=n,a.install=l=>{l.component(a.name,a)},t.defineComponent(a)},createDemo(a){return a.baseName=e,a.name="demo-"+e,t.defineComponent(a)}}}function ve(e,n=null){if(n||(n=t.getCurrentInstance()),n&&n.proxy){let a=n.proxy;Object.assign(a,e)}}const Te={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}},Ve={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,Number],required:!1},hintVisible:{type:[Boolean,String],required:!1,default:()=>!0},hintProps:{type:Object,required:!1,default:()=>{}},appearListen:{type:[Boolean,String],required:!1,default:()=>!1}},io={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}},so={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},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}},uo=[];for(const e in so)uo.push(e);const Bi=Symbol.for("InnerPageScopeKey"),Li={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}},Pi=(e,n)=>({inheritAttrs:!0,props:{...Te,...io,...Li},setup(a,{slots:l}){const o=gl(a.name,a),r=t.inject(Bi,!1);if(o){const h=ao(o,a);ve({getPageContentHeight:()=>fn(o,h),getPageContentWidth:()=>dn(o,h),getPageHeaderHeight:()=>un(o,h),getPageFooterHeight:()=>cn(o,h)}),h&&r&&(h.contentHeight="100%")}const i=t.computed(()=>({[e]:!0})),u=t.computed(()=>({})),s=t.getCurrentInstance(),f=(h,d=!1)=>{const y=s?.proxy;y&&typeof y.setNameValidateRules=="function"&&y.setNameValidateRules(h,!0,d)};return t.watch([()=>a.rules,()=>a.pureDataRules],([h,d],[y,x])=>{if(h&&y){const w=t.toRaw(y),m=t.toRaw(h),g=m?Reflect.ownKeys(m):[];(w?Reflect.ownKeys(w):[]).forEach(b=>{g.includes(b)||(m[b]=[])}),f(m)}if(d&&x){const w=t.toRaw(x),m=t.toRaw(d),g=m?Reflect.ownKeys(m):[];(w?Reflect.ownKeys(w):[]).forEach(b=>{g.includes(b)||(m[b]=[])}),f(m,!0)}},{deep:!0}),t.onMounted(()=>{if(a.rules){const h=t.toRaw(a.rules);f(h)}if(a.pureDataRules){const h=t.toRaw(a.pureDataRules);f(h,!0)}}),()=>{const h={class:i.value,style:u.value};return t.h("div",h,[l?.default?.()])}}}),{componentName:_i,create:qi}=se("page"),vl=qi(Pi(_i));function wl(e){const n=t.unref(e);return{width:n.offsetWidth,height:n.offsetHeight}}function gn(e){const n=t.unref(e),a=window.getComputedStyle(n,null),l=parseFloat(a.getPropertyValue("padding-left")),o=parseFloat(a.getPropertyValue("padding-right")),r=parseFloat(a.getPropertyValue("padding-top")),i=parseFloat(a.getPropertyValue("padding-bottom"));return{width:n.clientWidth-l-o,height:n.clientHeight-r-i}}const zi=(e,n,a,l=!1)=>({props:{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,default:a},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:""}},emits:["back","click-title","click-right","click-right-text"],setup(o,r){const i=it(),u=i?sn(i):null;u&&(u.headerMounted=!0);const s=e,f=t.computed(()=>({[s]:!0,[`${s}--border`]:o.border,[`${s}--fixed`]:o.fixed,[`${s}--safe-area-inset-top`]:o.safeAreaInsetTop})),h=t.computed(()=>({[`${s}__inner`]:!0,[`${s}__inner--${o.align}`]:!0})),d=o.height!==null&&o.height!==void 0?be(o.height):null,y=t.computed(()=>{const p={safeAreaTop:null,height:null,left:null,top:null,right:null,bottom:null};if(i&&u){const L=Ze(o.padding??u.headerPadding);return Object.assign(p,L),d&&(u.headerHeight=d),u.headerHeight>0&&(p.height=u.headerHeight),p.safeAreaTop=u.safeAreaTop===-1?0:u.safeAreaTop,p.safeAreaTop>0&&(p.top=p.safeAreaTop+(L.top??0),p.height&&p.height>0&&(p.height=p.height+p.safeAreaTop)),p}if(d&&(p.height=d),o.padding){const L=Ze(o.padding);Object.assign(p,L)}return p}),x=t.ref(null),w=()=>{if(u&&x.value&&!en(x.value)){if(!l){const p=wl(x.value);u.headerAllHeight=p.height}return u.headerMounted=!0,!0}return!1},m=Ke(w,120);let g=null;t.onMounted(()=>{u&&(on(w,50,5,50,!0),window.ResizeObserver&&x.value&&(g=new window.ResizeObserver(m),g.observe(x.value)))}),t.onUnmounted(()=>{u&&(u.headerMounted=!1,g&&(g.disconnect(),g=null))});const P=t.computed(()=>{const p={};return y.value.height!==null&&y.value.height!==void 0&&(p.height=`${y.value.height}px`),y.value.top!==null&&y.value.top!==void 0&&(p.paddingTop=`${y.value.top}px`),y.value.left!==null&&y.value.left!==void 0&&(p.paddingLeft=`${y.value.left}px`),y.value.right!==null&&y.value.right!==void 0&&(p.paddingRight=`${y.value.right}px`),y.value.bottom!==null&&y.value.bottom!==void 0&&(p.paddingBottom=`${y.value.bottom}px`),p}),b=t.computed(()=>!(y.value.height!==null&&y.value.height!==void 0&&y.value.height<=0));function c(){r.emit("back")}function E(){r.emit("click-title")}function B(){r.emit("click-right")}function I(){r.emit("click-right-text")}const C=()=>{if(!o.leftShow)return null;const p=[];if(r.slots.left)p.push(r.slots.left());else{if(r.slots.leftIcon){const L=t.h("view",{class:"left-icon",onClick:c},[r.slots.leftIcon()]);p.push(L)}else if(o.leftIcon){const L=t.h("view",{class:"left-icon",onClick:c},[t.h(o.leftIcon)]);p.push(L)}if(o.leftText){const L=t.h("view",{class:"left-text",onClick:c},[o.leftText]);p.push(L)}}return p.length===0?null:t.h("view",{class:"fox-header-bar__left"},p)},A=()=>{if(!o.rightShow)return null;const p=[];if(r.slots.right)p.push(r.slots.right());else{if(o.rightText){const L=t.h("view",{class:"right-text",onClick:I},[o.rightText]);p.push(L)}if(r.slots.rightIcon){const L=t.h("view",{class:"right-icon",onClick:B},[r.slots.rightIcon()]);p.push(L)}else if(o.rightIcon){const L=t.h("view",{class:"right-icon",onClick:B},[t.h(o.rightIcon)]);p.push(L)}}return p.length===0?null:t.h("view",{class:"fox-header-bar__right"},p)},T=()=>{if(!o.titleShow)return null;const p=[],L=r.slots.default?r.slots.default():null;if(L)p.push(L);else{if(o.title){const X=t.h("view",{class:"title-text"},[o.title]);p.push(X)}if(r.slots.titleIcon){const X=t.h("view",{class:"title-icon",onClick:E},[r.slots.titleIcon()]);p.push(X)}else if(o.titleIcon){const X=t.h("view",{class:"title-icon",onClick:E},[t.h(o.titleIcon)]);p.push(X)}}return p.length===0?null:t.h("view",{class:"fox-header-bar__title"},p)},K=()=>{const p=[],L=r.slots.bottom?r.slots.bottom():null;return L&&p.push(L),p.length===0?null:t.h("view",{class:"fox-header-bar__bottom"},p)};return()=>{if(!b.value)return null;const p=[];if(r.slots.all)p.push(r.slots.all());else{const X=[],_=C();_&&X.push(_);const N=T();N&&X.push(N);const z=A();if(z&&X.push(z),X.length>0){const Z=t.h("view",{class:h.value},X);p.push(Z)}const R=K();R&&p.push(R)}if(p.length===0)return null;const L={class:f.value,style:P.value,ref:x};return t.h("view",L,p)}}}),{componentName:ji,create:Hi,scope:Ki}=se("header-bar"),Sl=Hi(zi(ji,Ki,Ee.ArrowLeft));function Wi(e,n,a=!1){return{props:{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"}},setup(l,o){const r=it(),i=r?sn(r):null,u=t.computed(()=>{const m=e;return{[m]:!0,[`${m}--${l.align}`]:!0,[`${m}--border`]:l.border,[`${m}--fixed`]:l.fixed,[`${m}--safe-area-inset-bottom`]:l.safeAreaInsetBottom}}),s=l.height!==null&&l.height!==void 0?be(l.height):null,f=t.computed(()=>{const m={safeAreaBottom:null,height:null,left:null,top:null,right:null,bottom:null};if(r&&i){const g=Ze(l.padding??i.footerPadding);return Object.assign(m,g),s&&(i.footerHeight=s),i.footerHeight>0&&(m.height=i.footerHeight),m.safeAreaBottom=i.safeAreaBottom===-1?0:i.safeAreaBottom,m.safeAreaBottom>0&&(m.bottom=m.safeAreaBottom+(g.bottom??0),m.height&&m.height>0&&(m.height=m.height+m.safeAreaBottom)),m}if(s&&(m.height=s),l.padding){const g=Ze(l.padding);Object.assign(m,g)}return m}),h=t.ref(null),d=()=>{if(i&&h.value&&!en(h.value)){if(!a){const m=wl(h.value);i.footerAllHeight=m.height}return i.footerMounted=!0,!0}return!1},y=Ke(d,120);let x=null;t.onMounted(()=>{i&&(on(d,50,5,50,!0),window.ResizeObserver&&(x=new window.ResizeObserver(y),x.observe(h.value)))}),t.onUnmounted(()=>{i&&(i.footerMounted=!1,x&&(x.disconnect(),x=null))});const w=t.computed(()=>{const m={};return f.value.height!==null&&f.value.height!==void 0&&(m.height=Le(f.value.height)),f.value.top!==null&&f.value.top!==void 0&&(m.paddingTop=Le(f.value.top)),f.value.left!==null&&f.value.left!==void 0&&(m.paddingLeft=Le(f.value.left)),f.value.right!==null&&f.value.right!==void 0&&(m.paddingRight=Le(f.value.right)),f.value.bottom!==null&&f.value.bottom!==void 0&&(m.paddingBottom=Le(f.value.bottom)),m});return()=>{const m=o.slots.default?o.slots.default():[],g={ref:h,class:u.value,style:w.value};return t.h("view",g,m)}}}}const{componentName:Yi,create:Ui}=se("footer-bar"),xl=Ui(Wi(Yi));function Gi(e,n){return{props:{padding:{type:[Object],required:!1},tag:{type:[String],required:!1,default:()=>"div"}},setup(a,{slots:l,attrs:o}){const r=it(),i=t.computed(()=>({[e]:!0})),u=r?sn(r):null,s=t.computed(()=>{const x={};if(r&&u){if(a.padding){const B=Ze(a.padding);Object.assign(u.contentPadding,B)}const w=un(r,u),m=cn(r,u);let g="";u.contentHeight?g=`${u.contentHeight}`:g=`${u.height}px`,x.height=g;let P=(u&&u.contentPadding&&u.contentPadding.top)??-1;(P>=0||w>0)&&(P=P<0?0:P,x.paddingTop=`${w+P}px`);let b=(u&&u.contentPadding&&u.contentPadding.bottom)??-1;(b>=0||m>0)&&(b=b<0?0:b,x.paddingBottom=`${m+b}px`);const c=(u&&u.contentPadding&&u.contentPadding.left)??-1;c>=0&&(x.paddingLeft=`${c}px`);const E=(u&&u.contentPadding&&u.contentPadding.right)??-1;return E>=0&&(x.paddingRight=`${E}px`),x}if(a.padding){const w=Ze(a.padding);w.left&&(x.paddingLeft=`${w.left}px`),w.top&&(x.paddingTop=`${w.top}px`),w.right&&(x.paddingRight=`${w.right}px`),w.bottom&&(x.paddingBottom=`${w.bottom}px`)}return x}),f=t.ref(null),h=()=>{if(u&&f.value){const x=gn(f.value);u.contentInnerHeight=x.height,u.contentInnerWidth=x.width}},d=Ke(h,120);let y=null;return t.onMounted(()=>{requestAnimationFrame(h),window.ResizeObserver&&f.value&&(y=new window.ResizeObserver(d),y.observe(f.value))}),t.onUnmounted(()=>{y&&(y.disconnect(),y=null)}),()=>{const x=a.tag??"view",w={...o,ref:f,class:i.value,style:s.value};return t.h(x,w,l)}}}}const{componentName:Xi,create:Zi}=se("content"),Cl=Zi(Gi(Xi)),St="GroupStateKey",co=Symbol.for("GroupScopeKey");function yn(){return t.inject(co,!1)}function pn(e=!0){t.provide(co,e)}function Ji(e,n={}){Reflect.ownKeys(n).forEach(l=>{if(typeof l!="string")return;const o=n[l];fl(o)||(e[l]=o)})}function Qi(e,n={}){const l={type:"grid",width:e.get("width",-1),column:-1,gutter:-1};Ji(l,n);const o=t.shallowRef(l),r=t.markRaw({layout:o,passport:0,order:{index:0}});return e.set(St,r),r}function Tl(e,n,a=-1,l=-1,o=!1,r,i,u){const s=e.get(St);if(!s)return;const f=e.get("groupLayout")??{};a===-1&&(a=f.column??1),l===-1&&(l=f.gutter??0),r||(r=f.minItemWidth??-1),i||(i=f.maxItemWidth??-1);const h=be(r),d=be(i);u||(u=f.type??"grid");const y=()=>{const x=n===""||n===-1,w=be(n);let m=ye(a);const g=be(l);if(!x){let c=(w-(m-1)*g)/m;for(;d!==-1&&c>d;)m++,c=(w-(m-1)*g)/m;for(;h!==-1&&m>1&&c<h;)m--,c=(w-(m-1)*g)/m}let P=!1;const b=s.layout;b.value.width=n,b.value.column!==m&&(b.value.column=m,P=!0),b.value.gutter!==g&&(b.value.gutter=g,P=!0),b.value.type!==u&&(b.value.type=u,P=!0),P&&t.triggerRef(b)};if(o)y();else{const x=++s.passport;setTimeout(()=>{x===s.passport&&y()},50)}}function bn(e,n=!1){let a;return n?a=e.getForParent(St):a=e.get(St),a.layout}function vn(e,n=!1){let a;return n?a=e.getForParent(St):a=e.get(St),a.order}function fo(e,n=1){if(n==="stretch")return-1;const a=ye(n);return a===-1?100:100*a/e}function wn(e,n,a=1,l=0,o){const r={};let i=0;o?i=be(o):i=fo(n.column,a),i>0&&(r.width=`${i}%`);const u=fo(n.column,l);u>0&&(r["margin-left"]=`${u}%`);const s=n.gutter/2;return s>0&&(r["padding-left"]=`${s}px`,r["padding-right"]=`${s}px`),r}function Sn(e,n,a=1,l=0){if(a==="stretch"){const s=e.index%n.column,f=s+(n.column-s);return e.index=e.index+(f-s),{"grid-column":`${s+1} / -1`}}let o=ye(a);if(o===-1){const s=e.index%n.column;return n.column,s==0?e.index=e.index+n.column:e.index=e.index+(n.column-s)+n.column,{"grid-column":"1 / -1"}}if(o>n.column){const s=e.index%n.column;return n.column,s==0?e.index=e.index+n.column:e.index=e.index+(n.column-s)+n.column,{"grid-column":"1 / -1"}}const r=ye(l)%n.column;let i=(e.index+r)%n.column,u=i+o;return u>n.column?(i=0,u=i+o,e.index=e.index+(n.column-i)+o):e.index=e.index+r+o,r>0?{"grid-column":`${i+1} / span ${o}`}:{"grid-column-start":`span ${o}`}}const ho=Symbol("RollingStateKey");function es(e){t.provide(ho,e)}function ts(){return t.inject(ho,null)}function $l(e){let n=0;const a=window.getComputedStyle(e,null);if(a.getPropertyValue("box-sizing")==="content-box"){const o=parseFloat(a.getPropertyValue("padding-top")),r=parseFloat(a.getPropertyValue("padding-bottom"));n=e.clientHeight-o-r}else n=e.offsetHeight;return n}function ns(e){let n=$l(e);if(n<=0){const a=e.cloneNode(!0),l=e.offsetWidth;a.style=`width: ${l}px; height: initial; overflow: initial; visibility: hidden;`,document.body.appendChild(a),n=$l(a),document.body.removeChild(a)}return n}function ls(e,n,a){if(e<=0)return"1fr";const l=(e-(n-1)*a)/n;return l>0?`${l}px`:"1fr"}const as={...Te,...io,...so};function os(e,n,a){return{props:as,emits:["update:collapse","header-click"],setup(l,o){const r=gl(l.prop??l.name,l,uo),i=Qi(r,{type:l.type}),u=yn();pn(!0);const s=l.rollingDisplay?ts():null,f=t.ref(null),h=t.computed(()=>l.rollingDisplay?s&&!s.disabled:!1),d=t.computed(()=>u&&r?bn(r,!0).value:null),y=t.getCurrentInstance(),x=(S,W=!1)=>{const J=y?.proxy;J&&typeof J.setNameValidateRules=="function"&&J.setNameValidateRules(S,!0,W)};t.watch([()=>l.rules,()=>l.pureDataRules],([S,W],[J,k])=>{if(S&&J){const Y=t.toRaw(J),ee=t.toRaw(S),le=ee?Reflect.ownKeys(ee):[];(Y?Reflect.ownKeys(Y):[]).forEach(fe=>{le.includes(fe)||(ee[fe]=[])}),x(ee)}if(W&&k){const Y=t.toRaw(k),ee=t.toRaw(W),le=ee?Reflect.ownKeys(ee):[];(Y?Reflect.ownKeys(Y):[]).forEach(fe=>{le.includes(fe)||(ee[fe]=[])}),x(ee,!0)}},{deep:!0});const w=e,m=t.computed(()=>{const S={};S.height=N.value;const W=u?vn(r,!0):null;if(d.value&&W){if(d.value.type==="grid"){const J=Sn(W,d.value,l.span,l.offset);Object.assign(S,J)}else if(d.value.type==="flow"){const J=wn(W,d.value,l.span,l.offset,l.width);Object.assign(S,J)}}else if(l.width){const J=Le(l.width);S.width=J}return S}),g=t.computed(()=>{const S=i.layout.value.type;return S==="grid"||S==="flow"?{[`${w}--${S}`]:!0,[`${w}--${S}-justify-${l.justify}`]:!0,[`${w}--${S}-align-${l.align}`]:!0,[`${w}--gutter`]:!0}:{[`${w}--${S}`]:!0,[`${w}--gutter`]:!0}}),P=t.computed(()=>{if(i.layout.value.type==="grid"){let W="";if(l.columnWidth)W=`repeat(auto-fill, ${l.columnWidth})`;else{const J=ls(A.value,i.layout.value.column,i.layout.value.gutter);W=`repeat(${i.layout.value.column}, ${J})`}return{"column-gap":`${i.layout.value.gutter}px`,"grid-template-columns":W}}}),b=t.toRef(l,"gutter"),c=t.toRef(l,"column"),E=t.computed(()=>u||h.value?!0:de(l.isWrap)),B=[],I=S=>{B.push(S)},C=()=>{let S=B.length;B.splice(0,S)},A=t.ref(-1),T=S=>{const W=gn(S).width;W>0&&W!==A.value&&(A.value=W)};Tl(r,A.value,c.value,b.value,!0,l.minItemWidth,l.maxItemWidth,l.type),l.autoLayout&&t.watch([A,c,b],([S,W,J])=>{i.order.index=0,Tl(r,S,W,J,!1,l.minItemWidth,l.maxItemWidth,l.type)});const K=t.computed(()=>z.value?l.expandText??"":l.collapseText??""),p=t.computed(()=>({[`${e}__header-collapse-text`]:!0})),L=t.computed(()=>({[`${e}__header-collapse-icon`]:!0,"is-expand":!z.value,"is-collapse":z.value})),X=t.ref(),_=t.ref(),N=t.computed(()=>R.value||Le(l.height)||""),z=t.ref(!1),R=t.ref(""),Z=t.ref(!1);let U=-1;const H=(S,W=!0)=>{const J=X.value;if(J&&z.value!==S){if(U=U===-1?ns(J):U,Z.value=!0,W)if(J.style["will-change"]="height",J.ontransitionend=function(){J.ontransitionend=null,this.style["will-change"]="auto",S||(R.value="",Z.value=!1)},S){let k=0;l.collapseHeight?k=l.collapseHeight:_.value&&_.value.classList.contains(`${e}__header`)&&(k=_.value.offsetHeight),R.value=`${U}px`,t.nextTick(()=>{R.value=`${k}px`})}else R.value=`${U}px`;else if(S){let k=0;l.collapseHeight?k=l.collapseHeight:_.value&&_.value.classList.contains(`${e}__header`)&&(k=_.value.offsetHeight),R.value=`${k}px`}else Z.value=!1,R.value=`${U}px`;z.value=S,o.emit("update:collapse",S)}};t.watch(()=>l.collapse,S=>{H(S)});const te=S=>{o.emit("header-click",S)},D=()=>{O()},O=S=>{S=S??!z.value,H(S)};ve({toggleCollapse:O,doLayout:()=>{B[0]&&(T(B[0]),Tl(r,A.value,c.value,b.value,!0,l.minItemWidth,l.maxItemWidth,l.type))}});let q=null,V=!0;const Q=S=>{if(l.rules){const W=t.toRaw(l.rules);x(W)}if(l.pureDataRules){const W=t.toRaw(l.pureDataRules);x(W,!0)}if(rt&&(S&&H(de(l.collapse),!1),l.autoLayout&&Array.isArray(B)&&B.length>0)){const W=B[0];if(T(W),window.ResizeObserver){const J=Ke(()=>T(W),120);q=new window.ResizeObserver(J),q.observe(W)}}},ne=()=>{q?.disconnect(),q=null},G=!h.value||s?.acquire();G&&(f.value=h.value?!0:null),t.onMounted(()=>{if(G&&(Q(V),V=!1),h.value&&s){let S=null,W=s.initialHeight;s.observe(X.value,J=>{if(J!==f.value)if(J)f.value=!0,z.value||(R.value=""),S=setTimeout(()=>{S=null,f.value!==!1&&(Q(V),V=!1)},100);else{if(S!==null&&clearTimeout(S),f.value=!1,!z.value)if(V)R.value=s.initialHeight;else{let k=$l(X.value);k<=0?R.value=W:(R.value=`${k}px`,W=R.value)}V||ne()}})}}),t.onUnmounted(()=>{q?.disconnect(),s&&s.unobserve(X.value)});const $=(S="right")=>{const W=[];if(K.value){const Y={class:p.value},ee=t.h("span",Y,[K.value]);W.push(ee)}const J={class:L.value},k=a(l.collapseIcon,J);return k&&W.push(k),W.length>0?t.h("div",{class:{[`${w}__header-collapse`]:!0,[`is-${S}`]:!0},onClick:D},W):null},M=(S,W,J,k)=>{const Y={...g.value};return W===0&&(Y[`${w}__first`]=!0),J>=k-1&&(Y[`${w}__last`]=!0),t.h("div",{ref:I,key:`${W}`,class:Y,style:P.value},S)};return()=>{if(h.value&&f.value!==!0){const Y=l.tag||"div";return t.h(Y,{ref:X,prop:l.name,class:{[`${w}`]:!0,"is-collapse":Z.value},style:m.value},[])}i.order.index=0;const S=[];let W=0;if(o.slots.header){const Y={key:`${W++}`,ref:_,class:{[`${w}__header`]:!0,[`${w}__first`]:!0},onClick:te},ee=t.h("div",Y,[o.slots.header()]);S.push(ee)}else{const Y=[],ee=l.collapsePosition==="left";if(ee&&l.showCollapse){const le=$("left");le&&Y.push(le)}if(l.title||o.slots.title){if(l.showMark){const le={class:{[`${w}__header-mark`]:!0}};l.markColor&&(le.style={background:l.markColor});const ue=t.h("div",le);Y.push(ue)}if(o.slots.title){const le=t.h("div",{class:{[`${w}__header-title`]:!0}},[o.slots.title()]);Y.push(le)}else if(l.title){const le=t.h("div",{class:{[`${w}__header-title`]:!0}},[l.title]);Y.push(le)}}if(o.slots.toolbar&&Y.push(o.slots.toolbar()),!ee&&l.showCollapse){const le=$("right");le&&Y.push(le)}if(Y.length>0){const le={key:`${W++}`,ref:_,class:{[`${w}__header`]:!0,[`${w}__first`]:!0},onClick:te},ue=t.h("div",le,Y);S.push(ue)}}C();const J=o.slots.default?o.slots.default():[],k=i.layout.value.type;if(k==="grid"){const Y=M(J,W++,0,J.length);S.push(Y)}else if(k==="flow"){const Y=M(J,W++,0,J.length);S.push(Y)}else for(let Y=0;Y<J.length;Y++){const ee=J[Y],le=M([ee],W++,Y,J.length);S.push(le)}if(E.value){const Y=l.tag||"div";return t.h(Y,{ref:X,prop:l.name,class:{[`${w}`]:!0,"is-collapse":Z.value},style:m.value},[S])}else return S}}}}const{componentName:rs,create:is,scope:ss}=se("group"),kl=is(os(rs,ss,(e,n)=>(e=e??Ee.ArrowUp,t.h(F.ElIcon,n,{default:()=>[t.h(e)]}))));function us(e){return e===window}const cs=/matrix\((.+)\)/,Dl=e=>{const n=t.unref(e);if(!n)return{x:0,y:0};if(us(n))return{x:0,y:0};let a=0,l=0,o=n;for(;o!==null;)a+=o.offsetLeft,l+=o.offsetTop,o=o.offsetParent;let r=0,i=0,u=0,s=0;for(o=n;o!==document;){i+=o.scrollTop,r+=o.scrollLeft;const{transform:f}=window.getComputedStyle(o);if(f){const h=cs.exec(f);if(h){let y=h[1].split(/\s*,\s*/);y.length==6&&(u+=Number(y[4]),s+=Number(y[5]))}}o=o.parentNode}return a-=r,l-=i,a+=u,l+=s,{x:a,y:l}};class fs{watchedListeners=[];add(n){this.watchedListeners.push(n)}remove(n){const a=this.watchedListeners.indexOf(n);a!==-1&&this.watchedListeners.splice(a,1)}size(){return this.watchedListeners.length}listen=()=>{this.watchedListeners.forEach(n=>{try{n()}catch{}})}}class ds{monitorRegister=new WeakMap;watch(n,a){let l=n.parentNode;const o=document.body.parentNode;for(;l&&l!==o;){let r=this.monitorRegister.get(l);r||(r=new fs,l.addEventListener("scroll",r.listen),l===document.body&&l.addEventListener("resize",r.listen),this.monitorRegister.set(l,r)),r.add(a),l=l.parentNode}}unwatch(n,a){let l=n.parentNode;const o=document.body.parentNode;for(;l&&l!==o;){let r=this.monitorRegister.get(l);r&&(r.remove(a),r.size()===0&&(this.monitorRegister.delete(l),l.removeEventListener("scroll",r.listen),l===document.body&&l.removeEventListener("resize",r.listen))),l=l.parentNode}}}const Bt=new ds,mo={price:{type:[Number,String],default:0},needSymbol:{type:Boolean,default:!0},symbol:{type:String,default:"&yen;"},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:hs,create:ms}=se("price"),gs=ms({props:{...mo},setup(e){const n=t.computed(()=>({[hs]:!0})),a=t.computed(()=>e.needSymbol?e.symbol:""),l=t.computed(()=>Xe(e.price)==0?"":Xt(e.price,e.decimalLength,!0,ye(e.digits),e.separator)),o=t.computed(()=>{let i=l.value;if(i.length==0)return"";let u=i.indexOf(".");return i.substring(0,u)}),r=t.computed(()=>{let i=l.value;if(i.length==0)return"";let u=i.indexOf(".");return i.substring(u+1)});return{classes:n,showSymbol:a,intText:o,decimalText:r}}}),Re=(e,n)=>{const a=e.__vccOpts||e;for(const[l,o]of n)a[l]=o;return a},ys=["innerHTML"],ps=["innerHTML"];function bs(e,n,a,l,o,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[e.needSymbol&&e.position=="before"?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(["fox-price--symbol",`fox-price--symbol-${e.size}`]),innerHTML:e.showSymbol},null,10,ys)):t.createCommentVNode("",!0),t.createElementVNode("view",{class:t.normalizeClass(`fox-price--${e.size}`)},t.toDisplayString(e.intText),3),e.decimalText.length!=0?(t.openBlock(),t.createElementBlock("view",{key:1,class:t.normalizeClass(`fox-price--decimal-${e.size}`)},".",2)):t.createCommentVNode("",!0),t.createElementVNode("view",{class:t.normalizeClass(`fox-price--decimal-${e.size}`)},t.toDisplayString(e.decimalText),3),e.needSymbol&&e.position=="after"?(t.openBlock(),t.createElementBlock("view",{key:2,class:t.normalizeClass(["fox-price--symbol",`fox-price--symbol-${e.size}`]),innerHTML:e.showSymbol},null,10,ps)):t.createCommentVNode("",!0)],2)}const xn=Re(gs,[["render",bs]]),{componentName:Nl,create:vs}=se("hint-text"),ws=vs({components:{Price:xn},props:{...mo,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},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]}},emits:["update:visible"],setup(e,n){const a=t.ref({top:null,right:null,bottom:null,left:null}),l=t.ref({x:0,y:0}),o=t.ref(0),r=t.ref(0),i=t.ref(e.placement),u=t.ref(!1),s=t.ref(null),f=(p,L,X,_,N,z)=>{const R=document.documentElement.clientWidth||document.body.clientWidth,Z=document.documentElement.clientHeight||document.body.clientHeight,U=p.split("-");let H=[];U[0]==="top"?H=["top","bottom","right","left"]:U[0]==="bottom"?H=["bottom","top","right","left"]:U[0]==="left"?H=["left","top","bottom","right"]:U[0]==="right"&&(H=["right","top","bottom","left"]);const te={top:null,right:null,bottom:null,left:null},D=[];for(let O=0;O<H.length;O++){const j=H[O];if(D[0]=j,U[1]&&(D[1]=U[1]),j==="top"){const q=L.y-z-e.arrowSize-e.offset;if(q>=0){te.top=q;let V=0;U[1]==="start"?V=L.x:U[1]==="end"?V=L.x+X-N:V=L.x+X/2-N/2;const Q=R-V-N;Q<0?(V+=Q,d.value=-Q):d.value=0,te.left=V<0?0:V;break}}else if(j==="bottom"){const q=L.y+_+e.arrowSize+e.offset;if(q+z<=Z){te.top=q;let V=0;U[1]==="start"?V=L.x:U[1]==="end"?V=L.x+X-N:V=L.x+X/2-N/2;const Q=R-V-N;Q<0?(V+=Q,d.value=-Q):d.value=0,te.left=V<0?0:V;break}}else if(j==="left"){const q=L.x-N-e.arrowSize-e.offset;if(q>=0){te.left=q;let V=0;U[1]==="start"?V=L.y:U[1]==="end"?V=L.y+_-z:V=L.y+_/2-z/2,te.top=V<0?0:V;break}}else if(j==="right"){const q=L.x+X+e.arrowSize+e.offset;if(q+N<=R){te.left=q;let V=0;U[1]==="start"?V=L.y:U[1]==="end"?V=L.y+_-z:V=L.y+_/2-z/2,te.top=V<0?0:V;break}}}return{bestPlacement:D.join("-"),bestInsetRect:te}},h=(p,L,X=10)=>{if(!rt||L===!1||!p)return;l.value=Dl(e.reference),o.value=e.reference.offsetWidth,r.value=e.reference.offsetHeight;const _=s.value.offsetHeight,N=s.value.offsetWidth,{bestPlacement:z,bestInsetRect:R}=f(e.placement,l.value,o.value,r.value,N,_);i.value=z,a.value=R,u.value=!0},d=t.ref(0),y=Ke(()=>{h(e.message,e.visible)},10),x=t.ref(e.visible);t.watch(()=>e.visible,p=>{x.value=p});const w=t.computed(()=>x.value&&m.value),m=t.ref(!0),g=Ke(p=>{const L=p[0];L&&(m.value=L.isIntersecting)},10),P=new IntersectionObserver(g);t.watch([()=>e.message,()=>e.visible],([p,L])=>{setTimeout(()=>{h(e.message,e.visible)},0)}),t.onMounted(()=>{setTimeout(()=>{h(e.message,e.visible)},0),Bt.watch(e.reference,y),P.observe(e.reference)}),t.onBeforeUnmount(()=>{Bt.unwatch(e.reference,y),P.unobserve(e.reference),P.disconnect()});const b=t.computed(()=>{const p={[Nl]:!0};return i.value.startsWith("top")?p["is-top"]=!0:i.value.startsWith("right")?p["is-right"]=!0:i.value.startsWith("bottom")?p["is-bottom"]=!0:i.value.startsWith("right")&&(p["is-right"]=!0),e.size==="small"?p["is-small"]=!0:e.size==="large"&&(p["is-large"]=!0),e.customClass&&typeof e.customClass=="string"&&(p[`${e.customClass}`]=!0),p}),c=t.computed(()=>{const p={};a.value.top!==null&&(p.top=`${a.value.top}px`),a.value.right!==null&&(p.right=`${a.value.right}px`),a.value.bottom!==null&&(p.bottom=`${a.value.bottom}px`),a.value.left!==null&&(p.left=`${a.value.left}px`),e.autoFit&&(p["min-width"]=`${o.value}px`);const L=document.documentElement.clientWidth||document.body.clientWidth;return p["max-width"]=`${L}px`,u.value&&(p.opacity="1"),e.transition||(p.transition="none"),e.zIndex&&(p["z-index"]=`${e.zIndex}`),e.customStyle&&typeof e.customStyle=="object"&&Object.assign(p,e.customStyle),p}),E=t.computed(()=>{const p=[`${Nl}__content`];return e.customTextClass&&p.push(e.customTextClass),p}),B=t.computed(()=>{const p={};return e.customTextStyle&&typeof e.customTextStyle=="object"&&Object.assign(p,e.customTextStyle),p}),I=t.computed(()=>({[`${Nl}__arrow`]:!0})),C=t.computed(()=>{const p={};return e.showArrow?(p.width=`${e.arrowSize}px`,p.height=`${e.arrowSize}px`,i.value==="top"?(p.left="50%",p.bottom=`-${e.arrowSize}px`,p.transform=" translate(-50%, 0%)"):i.value==="top-start"?(p.left=`${e.arrowOffset+d.value}px`,p.bottom=`-${e.arrowSize}px`):i.value==="top-end"?(p.right=`${e.arrowOffset-d.value}px`,p.bottom=`-${e.arrowSize}px`):i.value==="right"?(p.left=`-${e.arrowSize}px`,p.top="50%",p.transform=" translate(0%, -50%)"):i.value==="right-start"?(p.left=`-${e.arrowSize}px`,p.top=`${e.arrowOffset}px`):i.value==="right-end"?(p.left=`-${e.arrowSize}px`,p.bottom=`-${e.arrowOffset}px`):i.value==="bottom"?(p.left="50%",p.top=`-${e.arrowSize}px`,p.transform=" translate(-50%, 0%)"):i.value==="bottom-start"?(p.left=`${e.arrowOffset+d.value}px`,p.top=`-${e.arrowSize}px`):i.value==="bottom-end"?(p.right=`${e.arrowOffset-d.value}px`,p.top=`-${e.arrowSize}px`):i.value==="left"?(p.right=`-${e.arrowSize}px`,p.top="50%",p.transform=" translate(0%, -50%)"):i.value==="left-start"?(p.right=`-${e.arrowSize}px`,p.top=`${e.arrowOffset}px`):i.value==="left-end"&&(p.right=`-${e.arrowSize}px`,p.bottom=`-${e.arrowOffset}px`),p):{display:"none"}}),A=t.computed(()=>w.value&&e.closeOnClick),T=t.computed(()=>{const p={};return e.zIndex&&(p["z-index"]=`${e.zIndex}`),p});return{show:w,tipRef:s,classes:b,styles:c,textClasses:E,textStyles:B,arrowClasses:I,arrowStyles:C,overlayShow:A,overlayStyle:T,onClickOverlay:()=>{x.value=!1,n.emit("update:visible",!1)}}}}),Ss=["innerHTML"];function xs(e,n,a,l,o,r){const i=t.resolveComponent("Price");return t.openBlock(),t.createElementBlock(t.Fragment,null,[e.overlayShow?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-hint-text__overlay",style:t.normalizeStyle(e.overlayStyle),onClick:n[0]||(n[0]=(...u)=>e.onClickOverlay&&e.onClickOverlay(...u))},null,4)):t.createCommentVNode("",!0),t.withDirectives(t.createElementVNode("div",{ref:"tipRef",class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles)},[t.createElementVNode("div",{class:t.normalizeClass(e.textClasses),style:t.normalizeStyle(e.textStyles)},[e.type=="number"?(t.openBlock(),t.createBlock(i,{key:0,price:e.message,position:"before",size:e.size},null,8,["price","size"])):(t.openBlock(),t.createElementBlock("span",{key:1,innerHTML:e.message},null,8,Ss))],6),t.createElementVNode("div",{class:t.normalizeClass(e.arrowClasses),style:t.normalizeStyle(e.arrowStyles)},null,6)],6),[[t.vShow,e.show]])],64)}const Lt=Re(ws,[["render",xs]]);class go{seed=new Date().getTime();constructor(n){this.seed=n??new Date().getTime()}get(){let n=this.seed++;return this.seed<0&&(this.seed=0),n}}const El={},Cs=new go,xt=new Map,Cn=e=>{if(e){const n=document.getElementById(e);xt.delete(e),n&&n.parentNode?.removeChild(n)}else{for(const n of xt.keys()){const a=document.getElementById(n);a&&a.parentNode?.removeChild(a)}xt.clear()}},Ts=e=>{e.unmount=Cn;const n=document.getElementById(e.id);if(n){const a=xt.get(e.id);a?e={...El,...a,...e}:e={...El,...e},e.transition=!1;const l=t.createVNode(Lt,e);t.render(l,n)}return e.id},$s=e=>{e.unmount=Cn;let n=e.id??`hinttext_${Cs.get()}`;e={...El,...e},e.id=n,xt.set(n,e);const a=document.createElement("div");a.id=e.id;const l=t.createVNode(Lt,e);return t.render(l,a),document.body.appendChild(a),n},ks=e=>{if(!e){console.warn("[FoxUI HintText]: msg不能为空");return}},_e={show(e,n,a={},l=!0){ks(n);const o=a.id;return o&&xt.has(o)?Ts({...a,message:n,reference:e}):(l&&Cn(),$s({...a,message:n,reference:e}))},hide(e){Cn(e)},install(e){e.config.globalProperties.$hintText=_e}};function Ds(e,n,a,l=!1){return{inheritAttrs:!0,props:{...Te,...Ve},emits:["appear","disappear"],setup(o,r){const i=o.prop??r.attrs.name;Ne({componentName:e,validate:!1},i);const u=it(),s=yn();pn(!1);const f=t.computed(()=>s&&u?bn(u,!1).value:null),h=e,d=t.ref(null),y=t.computed(()=>{const k={[h]:!0,[`${h}__gutter`]:f.value&&f.value.type!=="flow",[`${h}__stretch`]:o.span==="stretch",[`${h}__input--border`]:de(o.hasBorder)};if(k[o.errorMarkClass]=!!z.value,k[o.warnMarkClass]=!!_.value,k[o.infoMarkClass]=!!L.value,typeof d.value=="function"){const Y=d.value(i);k[Y]=!0}else if(typeof d.value=="string"){const Y=d.value;k[Y]=!0}return k}),x=t.ref(null),w=t.computed(()=>{const k={};if(o.width)o.width!=="auto"&&(k.width=Le(o.width));else{const Y=s&&u?vn(u,!1):null;if(f.value&&Y){if(f.value.type==="grid"){const ee=Sn(Y,f.value,o.span,o.offset);Object.assign(k,ee)}else if(f.value.type==="flow"){const ee=wn(Y,f.value,o.span,o.offset,o.width);Object.assign(k,ee)}}}if(typeof x.value=="function"){const Y=x.value(i);Y&&Object.assign(k,Y)}else if(x.value&&typeof x.value=="object"){const Y=x.value;Object.assign(k,Y)}return k}),m=t.ref(null),g=t.computed({get:()=>m.value??de(o.isRequired),set:k=>{m.value=k}}),P=()=>typeof o.label=="string"&&o.label.length>0||typeof r.slots.label=="function",b=Ae(t.toRef(o,"labelPosition"),"labelPosition",We.Near),c=t.computed(()=>b&&b.value==="top"?"top":b&&b.value==="right"?"right":"left"),E=t.computed(()=>({[`${h}__main`]:!0,[`${h}__main--${c.value}`]:!0})),B=t.computed(()=>({label:!0,[`label--${c.value}`]:!0})),I=Ae(t.toRef(o,"labelWidth"),"labelWidth",We.Near),C=t.computed(()=>I&&I.value?{width:Le(I.value)}:{}),A=t.computed(()=>({"label--string":!0,"label--required":g.value})),T=t.computed(()=>({content:!0,[o.contentClass]:!0})),K=t.computed(()=>({...o.contentStyle})),p=t.shallowReactive({errorTip:"",errorIcon:null,warnTip:"",warnIcon:null,infoTip:"",infoIcon:null});ve({setRequired(k){g.value=k},setErrorTip(k){p.errorTip=k},setErrorIcon(k){p.errorIcon=k},setWarnTip(k){p.warnTip=k},setWarnIcon(k){p.warnIcon=k},setInfoTip(k){p.infoTip=k},setInfoIcon(k){p.infoIcon=k},setCustomClassName(k){d.value=k},setCustomStyle(k){x.value=k}});const L=t.computed(()=>o.infoTip||p.infoTip),X=t.computed(()=>o.infoIcon||p.infoIcon),_=t.computed(()=>o.warnTip||p.warnTip),N=t.computed(()=>o.warnIcon||p.warnIcon),z=t.computed(()=>o.errorTip||p.errorTip),R=t.computed(()=>o.errorIcon||p.errorIcon),Z=t.computed(()=>z.value?"error":_.value?"warn":L.value?"info":""),U=()=>Z.value.length>0,H=t.computed(()=>Z.value==="error"?z.value:Z.value==="warn"?_.value:Z.value==="info"?L.value:""),te=t.computed(()=>Z.value==="error"?R.value:Z.value==="warn"?N.value:Z.value==="info"?X.value:null),D=t.computed(()=>{const k={[`${h}__tip`]:!0,[`${h}__tip--${Z.value}`]:!0,[`${h}--animate`]:!0};return Z.value==="error"&&o.errorClass?k[`${o.errorClass}`]=!0:Z.value==="warn"&&o.warnClass?k[`${o.warnClass}`]=!0:Z.value==="info"&&o.infoClass&&(k[`${o.infoClass}`]=!0),k}),O=t.computed(()=>{const k={};return b&&b.value==="top"||!P()?k["padding-left"]="0px":I&&I.value&&(k["padding-left"]=Le(I.value)),k}),j=t.ref();let q="";t.watch([()=>o.hintVisible,()=>o.hintText,()=>o.hintType,()=>o.hintProps],([k,Y,ee,le])=>{j.value&&(k&&!me(Y)?q?a.show(j.value,Y,{...le,id:q,type:ee},!0):q=a.show(j.value,Y,{...le,type:ee},!0):a.hide(q))});let V=null;const Q=()=>{V||!j.value||(V=new IntersectionObserver(k=>{let Y=!1;for(let ee of k)if(ee.intersectionRatio>0){Y=!0,Y&&r.emit("appear",ee);break}Y||r.emit("disappear")}),V.observe(j.value))},ne=()=>{!V||!j.value||(V.unobserve(j.value),V=null)};t.watch(()=>de(o.appearListen),k=>{k?Q():ne()}),t.onMounted(()=>{de(o.appearListen)&&Q()}),t.onUnmounted(ne);const G=()=>{if(!P())return null;const k=[],Y=r.slots?.label?.()??o.label,ee={class:A.value},le=t.h("div",ee,[Y]);if(k.push(le),r.slots.fixedPreTip){const fe=r.slots.fixedPreTip();k.push(fe)}const ue={class:B.value,style:C.value};return t.h("div",ue,k)},$=()=>{const k=[];if(r.slots.prepend){const ee=r.slots.prepend();k.push(ee)}if(r.slots.default){const ee=r.slots.default();k.push(ee)}if(r.slots.append){const ee=r.slots.append();k.push(ee)}if(r.slots.fixedTip){const ee={class:[`${h}__fixed-tip`]},le=t.h("div",ee,[r.slots.fixedTip()]);k.push(le)}const Y={ref:j,class:T.value,style:K.value};return t.h("div",Y,k)},M=()=>{const k=te.value;return k?typeof k=="function"?t.h("div",{class:"fox-item__tip--icon"},[k()]):t.h("div",{class:"fox-item__tip--icon"},[t.h(k)]):null},S=()=>{const k=H.value;return k?typeof k=="function"?t.h("div",{class:"fox-item__tip--text"},[k()]):t.h("div",{class:"fox-item__tip--text"},[k]):null},W=()=>{if(!U())return null;const k=[],Y=M();Y&&k.push(Y);const ee=S();ee&&k.push(ee);const le={class:D.value,style:O.value};return t.h("div",le,k)},J=()=>r.slots?.hide?.()??null;return()=>{const k=[],Y=[],ee=G();ee&&Y.push(ee);const le=$();le&&Y.push(le);const ue={class:E.value},fe=t.h("div",ue,Y);k.push(fe);const Se=W();Se&&k.push(Se);const pe=J();pe&&k.push(pe);const we={class:y.value,style:w.value,prop:o.prop};return t.h("div",we,k)}}}}const{componentName:Ns,create:Es,scope:Is}=se("item"),$e=Es(Ds(Ns,Is,_e,!1));function Vs(e,n){return{props:{span:{type:[Number,String],required:!1,default:1},offset:{type:[Number,String],default:0},width:{type:[String,Number],required:!1}},setup(a,l){const o=it(),r=yn();pn(!1);const i=t.computed(()=>r&&o?bn(o,!1).value:null),u=e,s=t.computed(()=>({[u]:!0,[`${u}__gutter`]:i.value&&i.value.type!=="flow",[`${u}__stretch`]:a.span==="stretch"})),f=t.computed(()=>{const h={};if(a.width)a.width!=="auto"&&(h.width=Le(a.width));else{const d=r&&o?vn(o,!1):null;if(i.value&&d)if(i.value.type==="grid"){const y=Sn(d,i.value,a.span,a.offset);Object.assign(h,y)}else if(i.value.type==="flow"){const y=wn(d,i.value,a.span,a.offset,a.width);Object.assign(h,y)}else return a.width&&(h.width=Le(a.width)),h}return h});return()=>{const h={class:s.value,style:f.value};return l.slots&&typeof l.slots.default=="function"?t.h("div",h,l.slots.default()):t.h("div",h)}}}}const{componentName:Os,create:As}=se("slot-item"),Il=As(Vs(Os));function Fs(e,n){return{props:{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"},contentClass:{type:[String],required:!1},contentStyle:{type:[Object]},divide:{type:[Boolean,String],required:!1,default:!1}},setup(a,l){const o=e,r=t.computed(()=>({[o]:!0,[`${o}__stretch`]:a.span==="stretch",[`${o}__${a.align}`]:!0})),i=it(),u=yn();pn(!1);const s=t.computed(()=>{const f={};if(u&&i){const h=bn(i,!1),d=vn(i,!1);if(h.value&&d)if(h.value.type==="grid"){const y=Sn(d,h.value,a.span,a.offset);Object.assign(f,y)}else if(h.value.type==="flow"){const y=wn(d,h.value,a.span,a.offset,a.width);Object.assign(f,y)}else a.width&&(f.width=Le(a.width))}else a.width&&(f.width=Le(a.width));return f});return()=>{const f=[];if(l.slots.default){const d=l.slots.default();if(a.divide)for(let y=0;y<d.length;y++){if(y>0){const x=t.h("div",{class:{[`${o}__divide`]:!0}});f.push(x)}f.push(d[y])}else Reflect.apply([].push,f,d)}const h={class:r.value,style:s.value};return t.h("div",h,f)}}}}const{componentName:Ms,create:Rs}=se("row-item"),Vl=Rs(Fs(Ms)),Je=(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},yo={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}};function Bs(e,n,a){return{props:{...Te,...Ve,...yo},emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(l,o){const r=t.ref(null),i=Me(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Fe(t.computed(()=>u.value??l.readonly)),{emitEvent:f}=Ne({componentName:e,get readonly(){return s.value},get disabled(){return i.value}},l.prop??o.attrs.name),{toLocaleRefs:h}=Ce.useFoxI18n(n),d=h(l,["placeholder"]),y=t.ref(!1),x=ge(l,"modelValue",null,f),w=e,m=t.computed(()=>({[w]:!0,[`${w}__disabled`]:i.value,[`${w}__readonly`]:s.value})),g=N=>{x.value=N,f("update:modelValue",N),f("input",N)},P=N=>{f("change",N)};let b=ge(l,"hintText"),c=t.ref(!1);const E=N=>{let R=N.target.value;y.value=!0,me(b.value)||(c.value=!0),f("focus",R,N)},B=N=>{setTimeout(()=>{c.value&&(c.value=!1),y.value=!1},0);let R=N.target.value;l.maxLength&&R.length>Number(l.maxLength)&&(R=R.slice(0,Number(l.maxLength))),f("blur",R,N)},I=()=>{f("clear","")},C=t.ref(!1);let A=null;const T=()=>{l.showTooltip&&C.value===!1&&(A&&clearTimeout(A),A=setTimeout(()=>{C.value=!0},150))},K=()=>{A&&(clearTimeout(A),C.value=!1,A=null)},p=t.computed(()=>C.value||c.value),L=t.computed(()=>C.value?x.value:b.value),X=t.computed(()=>Xe(l.unit)>0),_=t.ref();return ve({focus:()=>{_?.value.focus()},blur:()=>{_?.value.blur()},select:()=>{_?.value.select()},setDisabled:N=>{r.value=N},setReadonly:N=>{u.value=N}}),()=>{const z={...Je(o.attrs),ref:_,class:m.value,placeholder:d.placeholder.value,clearable:l.clearable,disabled:i.value,readonly:s.value,modelValue:x.value,"adjust-position":l.adjustPosition,"always-system":l.alwaysSystem,onClear:I,onChange:P,onInput:g,onFocus:E,onBlur:B,onMouseover:T,onMouseleave:K},R={};o.slots.prepend&&(R.prepend=o.slots.prepend),o.slots.append&&(R.append=o.slots.append),o.slots.prefix&&(R.prefix=o.slots.prefix),o.slots.suffix?R.suffix=o.slots.suffix:X.value&&(R.suffix=()=>[l.unit]);const Z=[],U=t.h(F.ElInput,z,R);Z.push(U);const H={default:()=>Z};H.label=o.slots.default,H.fixedPreTip=o.slots.fixedPreTip,H.fixedTip=o.slots.fixedTip;const D={...Ie(l,yo),hintText:L.value,hintVisible:p.value};return l.prop&&(D.prop=`${l.prop}_item`),t.h(a,D,H)}}}}const{componentName:Ls,create:Ps,scope:_s}=se("input-item"),Ol=Ps(Bs(Ls,_s,$e));function ut(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function Pt(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function po(e,n){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?n[e.childrenKey]||null:n.children??null}function qs(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}let zs=class{proxy;constructor(n){this.proxy=n}async load(n,a,l){if(Array.isArray(a))return a;if(typeof a=="function")return await a(l);const o=Pe(this.proxy,n);return o===null?(console.error(`${n} component not found api function`),[]):(He(l)&&t.isReactive(l)&&(l=t.toRaw(l)),await o(a,l))}};function js(){const e=t.getCurrentInstance();return new zs(e.proxy)}function bo(e,n,a){const l=ut(e,n),o=ut(e,a);if(l!==o)return!1;const r=Pt(e,n),i=Pt(e,a);return r===i}function vo(e,n,a,l){if(l.length===0||n===""||n===null||n===void 0)return null;Array.isArray(n)||(n=[n]);const o=[];return n.forEach(r=>{for(let i of l){const u=po(e,i);if(Array.isArray(u)&&u.length>0){const s=vo(e,r,a,u)??[];Reflect.apply([].push,o,s)}else{let s=!1;if(a==="text")s=ut(e,i)===r;else if(a==="item")s=bo(e,i,r);else{let f=Pt(e,i);f==null&&(f=ut(e,i)),s=f===r}if(s){o.push(i);break}}}}),o}function Hs(e){return{text:e,value:e}}const wo={modelValue:{type:[String,Boolean,Number,Object,Array],required:!1},text:{type:[String],required:!1},source:{type:[Array,Function,String]},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}};function Ks(e,n,a){return{props:{...Te,...Ve,...wo},emits:["change","update:modelValue","update:text","blur","focus","clear","visible-change","remove-tag","selected","setValue"],setup(l,o){const r=t.ref(null),i=Me(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Fe(t.computed(()=>u.value??l.readonly)),{emitEvent:f}=Ne({componentName:e,validateCheckEvents:["blur","update:modelValue","selected"],get readonly(){return s.value},get disabled(){return i.value}},l.prop??o.attrs.name),{toLocaleRefs:h}=Ce.useFoxI18n(n),d=h(l,["placeholder"]),y=t.ref(null),x=t.ref([]),w=t.computed(()=>x.value?x.value.map(W=>ut(l,W)).join(" "):""),m=(S,W,J,k=!0)=>{if(!J||J.length==0){y.value=S,k&&(f("update:modelValue",S),f("change",S));return}const Y=vo(l,S,W,J);if(Y===null){if(x.value===null||x.value.length===0)return;y.value=null,x.value=[],k&&(f("update:modelValue",null),f("update:text",null),f("change",null));return}let ee=!0;if(Y.length!==x.value.length)ee=!1;else for(let le=0;le<Y.length;le++){const ue=Y[le],fe=x.value[le];if(!bo(l,ue,fe)){ee=!1;break}}if(!ee){x.value=Y;let le=[],ue=[],fe=[];Y.forEach(tt=>{const ft=Pt(l,tt),Et=ut(l,tt);le.push(ft),fe.push(Et),l.valueType==="text"?ue.push(Et):l.valueType==="item"?ue.push(tt):ue.push(ft)});let Se,pe,we;de(l.multiple)?(y.value=le,Se=t.toRaw(ue),pe=fe,we=t.toRaw(Y)):(y.value=le[0]??"",Se=t.toRaw(ue[0]??""),pe=fe[0]??"",we=t.toRaw(Y[0])),k&&(f("update:modelValue",Se),f("change",Se,we)),f("update:text",pe)}},g=t.ref(null),P=t.ref(null),b=t.computed(()=>P.value??g.value??[]),c=Ae(t.computed(()=>l.appearLoad),"appearLoad",We.Near,S=>de(S)),E=js(),B=async(S,W)=>{if(S){const J=await E.load("select",S,W);if(J.length>0)if(typeof J[0]=="string"){let ee=J.map(le=>Hs(le));g.value=ee}else g.value=J;else g.value=null}};t.watch([()=>l.source,()=>l.params],([S,W])=>{P.value=null,B(S,W)},{immediate:!c.value});let I=!1;const C=()=>{I||(I=!0,B(l.source,l.params))};t.watch([()=>g.value,()=>l.modelValue],([S,W])=>{if(p()&&de(l.multiple)){Ye(W,y.value)||(y.value=W);return}m(W,l.valueType,b.value,!1),f("setValue",W)}),l.source||(y.value=l.modelValue);let A=null,T=t.ref(!1);typeof l.remoteMethod=="function"&&(A=async S=>{if(S==null){P.value=null;return}T.value=!0;try{const W=await l.remoteMethod(S);W&&(P.value=W)}catch(W){P.value=null,console.error(W)}T.value=!1});let K=null;typeof l.filterMethod=="function"&&(K=async S=>{if(S==null){P.value=null;return}T.value=!0;try{const W=await l.filterMethod(S,g.value);W&&(P.value=W)}catch(W){P.value=null,console.error(W)}T.value=!1});const p=()=>typeof l.remoteMethod=="function"||typeof l.filterMethod=="function",L=t.ref(!1),X=e,_=t.computed(()=>({[X]:!0})),N=S=>{l.allowCreate||p()&&de(l.multiple)?(f("update:modelValue",S),f("change",S),f("update:text",S),y.value=S):m(S,"value",b.value,!0)};let z=ge(l,"hintText"),R=t.ref(!1);const Z=S=>{let J=S.target.value;L.value=!0,me(z.value)||(R.value=!0),f("focus",J,S)},U=S=>{setTimeout(()=>{R.value&&(R.value=!1),L.value=!1},0);let J=S.target.value;l.maxLength&&J.length>Number(l.maxLength)&&(J=J.slice(0,Number(l.maxLength))),Q.value||f("blur",J,S)},H=()=>{f("clear","")},te=t.ref(!1);let D=null;const O=()=>{l.showTooltip&&te.value===!1&&(D&&clearTimeout(D),D=setTimeout(()=>{te.value=!0},150))},j=()=>{D&&(clearTimeout(D),te.value=!1,D=null)},q=t.computed(()=>te.value||R.value),V=t.computed(()=>te.value?w.value:z.value),Q=t.ref(!1),ne=S=>{Q.value=S,f("visible-change",S),S||f("selected")},G=S=>{f("remove-tag",S)},$=(S,W)=>{const J=[];return S.forEach((k,Y)=>{const ee=po(l,k);if(Array.isArray(ee)&&ee.length>0){const le=$(ee,W),ue=ut(l,k),Se={key:`${ue}_${Y}`,label:ue};J.push(t.h(F.ElOptionGroup,Se,{default:()=>le}))}else{const le=Pt(l,k),ue=ut(l,k),fe=qs(l,k),pe={key:`${le}_${Y}`,label:ue,disabled:fe,value:le};if(typeof W=="function")J.push(t.h(F.ElOption,pe,{default:()=>W(k)}));else if(l.optionType==="item"){const we={class:{"fox-select-item__option-left":!0}},tt=t.h("span",we,[le]),ft={class:{"fox-select-item__option-right":!0}},Et=t.h("span",ft,[ue]),Ea=t.h("div",{class:{"fox-select-item__option":!0}},[tt,Et]);J.push(t.h(F.ElOption,pe,{default:()=>Ea}))}else l.optionType==="value"?J.push(t.h(F.ElOption,pe,{default:()=>[le]})):J.push(t.h(F.ElOption,pe))}}),J},M=t.ref();return ve({focus:()=>{M?.value.focus()},blur:()=>{M?.value.blur()},setDisabled:S=>{r.value=S},setReadonly:S=>{u.value=S}}),()=>{const W={...Je(o.attrs),ref:M,class:_.value,clearable:l.clearable,multiple:l.multiple,placeholder:d.placeholder.value,disabled:i.value||s.value,modelValue:y.value,"value-key":l.valueKey,"allow-create":l.allowCreate,onClear:H,onChange:N,onFocus:Z,onBlur:U,onVisibleChange:ne,onRemoveTag:G};typeof A=="function"&&(W["remote-method"]=A,W.loading=T.value),typeof K=="function"&&(W["filter-method"]=K,W.loading=T.value);const J={};o.slots.prefix&&(J.prefix=o.slots.prefix),o.slots.empty&&(J.empty=o.slots.empty),o.slots.options?J.default=o.slots.options:J.default=()=>$(b.value,o.slots.option);const k=[],Y=t.h(F.ElSelect,W,J);k.push(Y);const ee={default:()=>k};ee.label=o.slots.default,ee.fixedPreTip=o.slots.fixedPreTip,ee.fixedTip=o.slots.fixedTip;const ue={...Ie(l,wo),hintText:V.value,hintVisible:q.value,onMouseover:O,onMouseleave:j};return l.prop&&(ue.prop=`${l.prop}_item`),c.value&&(ue["appear-listen"]=!0,ue.onAppear=C),t.h(a,ue,ee)}}}}const{componentName:Ws,create:Ys,scope:Us}=se("select-item"),Al=Ys(Ks(Ws,Us,$e));function nt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Tn={exports:{}},Gs=Tn.exports,So;function Xs(){return So||(So=1,function(e,n){(function(a,l){e.exports=l()})(Gs,function(){var a=1e3,l=6e4,o=36e5,r="millisecond",i="second",u="minute",s="hour",f="day",h="week",d="month",y="quarter",x="year",w="date",m="Invalid Date",g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,P=/\[([^\]]+)]|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(_){var N=["th","st","nd","rd"],z=_%100;return"["+_+(N[(z-20)%10]||N[z]||N[0])+"]"}},c=function(_,N,z){var R=String(_);return!R||R.length>=N?_:""+Array(N+1-R.length).join(z)+_},E={s:c,z:function(_){var N=-_.utcOffset(),z=Math.abs(N),R=Math.floor(z/60),Z=z%60;return(N<=0?"+":"-")+c(R,2,"0")+":"+c(Z,2,"0")},m:function _(N,z){if(N.date()<z.date())return-_(z,N);var R=12*(z.year()-N.year())+(z.month()-N.month()),Z=N.clone().add(R,d),U=z-Z<0,H=N.clone().add(R+(U?-1:1),d);return+(-(R+(z-Z)/(U?Z-H:H-Z))||0)},a:function(_){return _<0?Math.ceil(_)||0:Math.floor(_)},p:function(_){return{M:d,y:x,w:h,d:f,D:w,h:s,m:u,s:i,ms:r,Q:y}[_]||String(_||"").toLowerCase().replace(/s$/,"")},u:function(_){return _===void 0}},B="en",I={};I[B]=b;var C="$isDayjsObject",A=function(_){return _ instanceof L||!(!_||!_[C])},T=function _(N,z,R){var Z;if(!N)return B;if(typeof N=="string"){var U=N.toLowerCase();I[U]&&(Z=U),z&&(I[U]=z,Z=U);var H=N.split("-");if(!Z&&H.length>1)return _(H[0])}else{var te=N.name;I[te]=N,Z=te}return!R&&Z&&(B=Z),Z||!R&&B},K=function(_,N){if(A(_))return _.clone();var z=typeof N=="object"?N:{};return z.date=_,z.args=arguments,new L(z)},p=E;p.l=T,p.i=A,p.w=function(_,N){return K(_,{locale:N.$L,utc:N.$u,x:N.$x,$offset:N.$offset})};var L=function(){function _(z){this.$L=T(z.locale,null,!0),this.parse(z),this.$x=this.$x||z.x||{},this[C]=!0}var N=_.prototype;return N.parse=function(z){this.$d=function(R){var Z=R.date,U=R.utc;if(Z===null)return new Date(NaN);if(p.u(Z))return new Date;if(Z instanceof Date)return new Date(Z);if(typeof Z=="string"&&!/Z$/i.test(Z)){var H=Z.match(g);if(H){var te=H[2]-1||0,D=(H[7]||"0").substring(0,3);return U?new Date(Date.UTC(H[1],te,H[3]||1,H[4]||0,H[5]||0,H[6]||0,D)):new Date(H[1],te,H[3]||1,H[4]||0,H[5]||0,H[6]||0,D)}}return new Date(Z)}(z),this.init()},N.init=function(){var z=this.$d;this.$y=z.getFullYear(),this.$M=z.getMonth(),this.$D=z.getDate(),this.$W=z.getDay(),this.$H=z.getHours(),this.$m=z.getMinutes(),this.$s=z.getSeconds(),this.$ms=z.getMilliseconds()},N.$utils=function(){return p},N.isValid=function(){return this.$d.toString()!==m},N.isSame=function(z,R){var Z=K(z);return this.startOf(R)<=Z&&Z<=this.endOf(R)},N.isAfter=function(z,R){return K(z)<this.startOf(R)},N.isBefore=function(z,R){return this.endOf(R)<K(z)},N.$g=function(z,R,Z){return p.u(z)?this[R]:this.set(Z,z)},N.unix=function(){return Math.floor(this.valueOf()/1e3)},N.valueOf=function(){return this.$d.getTime()},N.startOf=function(z,R){var Z=this,U=!!p.u(R)||R,H=p.p(z),te=function(G,$){var M=p.w(Z.$u?Date.UTC(Z.$y,$,G):new Date(Z.$y,$,G),Z);return U?M:M.endOf(f)},D=function(G,$){return p.w(Z.toDate()[G].apply(Z.toDate("s"),(U?[0,0,0,0]:[23,59,59,999]).slice($)),Z)},O=this.$W,j=this.$M,q=this.$D,V="set"+(this.$u?"UTC":"");switch(H){case x:return U?te(1,0):te(31,11);case d:return U?te(1,j):te(0,j+1);case h:var Q=this.$locale().weekStart||0,ne=(O<Q?O+7:O)-Q;return te(U?q-ne:q+(6-ne),j);case f:case w:return D(V+"Hours",0);case s:return D(V+"Minutes",1);case u:return D(V+"Seconds",2);case i:return D(V+"Milliseconds",3);default:return this.clone()}},N.endOf=function(z){return this.startOf(z,!1)},N.$set=function(z,R){var Z,U=p.p(z),H="set"+(this.$u?"UTC":""),te=(Z={},Z[f]=H+"Date",Z[w]=H+"Date",Z[d]=H+"Month",Z[x]=H+"FullYear",Z[s]=H+"Hours",Z[u]=H+"Minutes",Z[i]=H+"Seconds",Z[r]=H+"Milliseconds",Z)[U],D=U===f?this.$D+(R-this.$W):R;if(U===d||U===x){var O=this.clone().set(w,1);O.$d[te](D),O.init(),this.$d=O.set(w,Math.min(this.$D,O.daysInMonth())).$d}else te&&this.$d[te](D);return this.init(),this},N.set=function(z,R){return this.clone().$set(z,R)},N.get=function(z){return this[p.p(z)]()},N.add=function(z,R){var Z,U=this;z=Number(z);var H=p.p(R),te=function(j){var q=K(U);return p.w(q.date(q.date()+Math.round(j*z)),U)};if(H===d)return this.set(d,this.$M+z);if(H===x)return this.set(x,this.$y+z);if(H===f)return te(1);if(H===h)return te(7);var D=(Z={},Z[u]=l,Z[s]=o,Z[i]=a,Z)[H]||1,O=this.$d.getTime()+z*D;return p.w(O,this)},N.subtract=function(z,R){return this.add(-1*z,R)},N.format=function(z){var R=this,Z=this.$locale();if(!this.isValid())return Z.invalidDate||m;var U=z||"YYYY-MM-DDTHH:mm:ssZ",H=p.z(this),te=this.$H,D=this.$m,O=this.$M,j=Z.weekdays,q=Z.months,V=Z.meridiem,Q=function($,M,S,W){return $&&($[M]||$(R,U))||S[M].slice(0,W)},ne=function($){return p.s(te%12||12,$,"0")},G=V||function($,M,S){var W=$<12?"AM":"PM";return S?W.toLowerCase():W};return U.replace(P,function($,M){return M||function(S){switch(S){case"YY":return String(R.$y).slice(-2);case"YYYY":return p.s(R.$y,4,"0");case"M":return O+1;case"MM":return p.s(O+1,2,"0");case"MMM":return Q(Z.monthsShort,O,q,3);case"MMMM":return Q(q,O);case"D":return R.$D;case"DD":return p.s(R.$D,2,"0");case"d":return String(R.$W);case"dd":return Q(Z.weekdaysMin,R.$W,j,2);case"ddd":return Q(Z.weekdaysShort,R.$W,j,3);case"dddd":return j[R.$W];case"H":return String(te);case"HH":return p.s(te,2,"0");case"h":return ne(1);case"hh":return ne(2);case"a":return G(te,D,!0);case"A":return G(te,D,!1);case"m":return String(D);case"mm":return p.s(D,2,"0");case"s":return String(R.$s);case"ss":return p.s(R.$s,2,"0");case"SSS":return p.s(R.$ms,3,"0");case"Z":return H}return null}($)||H.replace(":","")})},N.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},N.diff=function(z,R,Z){var U,H=this,te=p.p(R),D=K(z),O=(D.utcOffset()-this.utcOffset())*l,j=this-D,q=function(){return p.m(H,D)};switch(te){case x:U=q()/12;break;case d:U=q();break;case y:U=q()/3;break;case h:U=(j-O)/6048e5;break;case f:U=(j-O)/864e5;break;case s:U=j/o;break;case u:U=j/l;break;case i:U=j/a;break;default:U=j}return Z?U:p.a(U)},N.daysInMonth=function(){return this.endOf(d).$D},N.$locale=function(){return I[this.$L]},N.locale=function(z,R){if(!z)return this.$L;var Z=this.clone(),U=T(z,R,!0);return U&&(Z.$L=U),Z},N.clone=function(){return p.w(this.$d,this)},N.toDate=function(){return new Date(this.valueOf())},N.toJSON=function(){return this.isValid()?this.toISOString():null},N.toISOString=function(){return this.$d.toISOString()},N.toString=function(){return this.$d.toUTCString()},_}(),X=L.prototype;return K.prototype=X,[["$ms",r],["$s",i],["$m",u],["$H",s],["$W",f],["$M",d],["$y",x],["$D",w]].forEach(function(_){X[_[1]]=function(N){return this.$g(N,_[0],_[1])}}),K.extend=function(_,N){return _.$i||(_(N,L,K),_.$i=!0),K},K.locale=T,K.isDayjs=A,K.unix=function(_){return K(1e3*_)},K.en=I[B],K.Ls=I,K.p={},K})}(Tn)),Tn.exports}var Zs=Xs();const Qe=nt(Zs);var $n={exports:{}},Js=$n.exports,xo;function Qs(){return xo||(xo=1,function(e,n){(function(a,l){e.exports=l()})(Js,function(){var a={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"},l=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,o=/\d\d/,r=/\d\d?/,i=/\d*[^-_:/,()\s\d]+/,u={},s=function(m){return(m=+m)+(m>68?1900:2e3)},f=function(m){return function(g){this[m]=+g}},h=[/[+-]\d\d:?(\d\d)?|Z/,function(m){(this.zone||(this.zone={})).offset=function(g){if(!g||g==="Z")return 0;var P=g.match(/([+-]|\d\d)/g),b=60*P[1]+(+P[2]||0);return b===0?0:P[0]==="+"?-b:b}(m)}],d=function(m){var g=u[m];return g&&(g.indexOf?g:g.s.concat(g.f))},y=function(m,g){var P,b=u.meridiem;if(b){for(var c=1;c<=24;c+=1)if(m.indexOf(b(c,0,g))>-1){P=c>12;break}}else P=m===(g?"pm":"PM");return P},x={A:[i,function(m){this.afternoon=y(m,!1)}],a:[i,function(m){this.afternoon=y(m,!0)}],S:[/\d/,function(m){this.milliseconds=100*+m}],SS:[o,function(m){this.milliseconds=10*+m}],SSS:[/\d{3}/,function(m){this.milliseconds=+m}],s:[r,f("seconds")],ss:[r,f("seconds")],m:[r,f("minutes")],mm:[r,f("minutes")],H:[r,f("hours")],h:[r,f("hours")],HH:[r,f("hours")],hh:[r,f("hours")],D:[r,f("day")],DD:[o,f("day")],Do:[i,function(m){var g=u.ordinal,P=m.match(/\d+/);if(this.day=P[0],g)for(var b=1;b<=31;b+=1)g(b).replace(/\[|\]/g,"")===m&&(this.day=b)}],M:[r,f("month")],MM:[o,f("month")],MMM:[i,function(m){var g=d("months"),P=(d("monthsShort")||g.map(function(b){return b.slice(0,3)})).indexOf(m)+1;if(P<1)throw new Error;this.month=P%12||P}],MMMM:[i,function(m){var g=d("months").indexOf(m)+1;if(g<1)throw new Error;this.month=g%12||g}],Y:[/[+-]?\d+/,f("year")],YY:[o,function(m){this.year=s(m)}],YYYY:[/\d{4}/,f("year")],Z:h,ZZ:h};function w(m){var g,P;g=m,P=u&&u.formats;for(var b=(m=g.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(T,K,p){var L=p&&p.toUpperCase();return K||P[p]||a[p]||P[L].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(X,_,N){return _||N.slice(1)})})).match(l),c=b.length,E=0;E<c;E+=1){var B=b[E],I=x[B],C=I&&I[0],A=I&&I[1];b[E]=A?{regex:C,parser:A}:B.replace(/^\[|\]$/g,"")}return function(T){for(var K={},p=0,L=0;p<c;p+=1){var X=b[p];if(typeof X=="string")L+=X.length;else{var _=X.regex,N=X.parser,z=T.slice(L),R=_.exec(z)[0];N.call(K,R),T=T.replace(R,"")}}return function(Z){var U=Z.afternoon;if(U!==void 0){var H=Z.hours;U?H<12&&(Z.hours+=12):H===12&&(Z.hours=0),delete Z.afternoon}}(K),K}}return function(m,g,P){P.p.customParseFormat=!0,m&&m.parseTwoDigitYear&&(s=m.parseTwoDigitYear);var b=g.prototype,c=b.parse;b.parse=function(E){var B=E.date,I=E.utc,C=E.args;this.$u=I;var A=C[1];if(typeof A=="string"){var T=C[2]===!0,K=C[3]===!0,p=T||K,L=C[2];K&&(L=C[2]),u=this.$locale(),!T&&L&&(u=P.Ls[L]),this.$d=function(z,R,Z){try{if(["x","X"].indexOf(R)>-1)return new Date((R==="X"?1e3:1)*z);var U=w(R)(z),H=U.year,te=U.month,D=U.day,O=U.hours,j=U.minutes,q=U.seconds,V=U.milliseconds,Q=U.zone,ne=new Date,G=D||(H||te?1:ne.getDate()),$=H||ne.getFullYear(),M=0;H&&!te||(M=te>0?te-1:ne.getMonth());var S=O||0,W=j||0,J=q||0,k=V||0;return Q?new Date(Date.UTC($,M,G,S,W,J,k+60*Q.offset*1e3)):Z?new Date(Date.UTC($,M,G,S,W,J,k)):new Date($,M,G,S,W,J,k)}catch{return new Date("")}}(B,A,I),this.init(),L&&L!==!0&&(this.$L=this.locale(L).$L),p&&B!=this.format(A)&&(this.$d=new Date("")),u={}}else if(A instanceof Array)for(var X=A.length,_=1;_<=X;_+=1){C[1]=A[_-1];var N=P.apply(this,C);if(N.isValid()){this.$d=N.$d,this.$L=N.$L,this.init();break}_===X&&(this.$d=new Date(""))}else c.call(this,E)}}})}($n)),$n.exports}var eu=Qs();const tu=nt(eu);var kn={exports:{}},nu=kn.exports,Co;function lu(){return Co||(Co=1,function(e,n){(function(a,l){e.exports=l()})(nu,function(){return function(a,l){var o=l.prototype,r=o.format;o.format=function(i){var u=this,s=this.$locale();if(!this.isValid())return r.bind(this)(i);var f=this.$utils(),h=(i||"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((u.$M+1)/3);case"Do":return s.ordinal(u.$D);case"gggg":return u.weekYear();case"GGGG":return u.isoWeekYear();case"wo":return s.ordinal(u.week(),"W");case"w":case"ww":return f.s(u.week(),d==="w"?1:2,"0");case"W":case"WW":return f.s(u.isoWeek(),d==="W"?1:2,"0");case"k":case"kk":return f.s(String(u.$H===0?24:u.$H),d==="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 d}});return r.bind(this)(h)}}})}(kn)),kn.exports}var au=lu();const ou=nt(au);var Dn={exports:{}},ru=Dn.exports,To;function iu(){return To||(To=1,function(e,n){(function(a,l){e.exports=l()})(ru,function(){return function(a,l,o){var r=l.prototype,i=function(d){return d&&(d.indexOf?d:d.s)},u=function(d,y,x,w,m){var g=d.name?d:d.$locale(),P=i(g[y]),b=i(g[x]),c=P||b.map(function(B){return B.slice(0,w)});if(!m)return c;var E=g.weekStart;return c.map(function(B,I){return c[(I+(E||0))%7]})},s=function(){return o.Ls[o.locale()]},f=function(d,y){return d.formats[y]||function(x){return x.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(w,m,g){return m||g.slice(1)})}(d.formats[y.toUpperCase()])},h=function(){var d=this;return{months:function(y){return y?y.format("MMMM"):u(d,"months")},monthsShort:function(y){return y?y.format("MMM"):u(d,"monthsShort","months",3)},firstDayOfWeek:function(){return d.$locale().weekStart||0},weekdays:function(y){return y?y.format("dddd"):u(d,"weekdays")},weekdaysMin:function(y){return y?y.format("dd"):u(d,"weekdaysMin","weekdays",2)},weekdaysShort:function(y){return y?y.format("ddd"):u(d,"weekdaysShort","weekdays",3)},longDateFormat:function(y){return f(d.$locale(),y)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return h.bind(this)()},o.localeData=function(){var d=s();return{firstDayOfWeek:function(){return d.weekStart||0},weekdays:function(){return o.weekdays()},weekdaysShort:function(){return o.weekdaysShort()},weekdaysMin:function(){return o.weekdaysMin()},months:function(){return o.months()},monthsShort:function(){return o.monthsShort()},longDateFormat:function(y){return f(d,y)},meridiem:d.meridiem,ordinal:d.ordinal}},o.months=function(){return u(s(),"months")},o.monthsShort=function(){return u(s(),"monthsShort","months",3)},o.weekdays=function(d){return u(s(),"weekdays",null,null,d)},o.weekdaysShort=function(d){return u(s(),"weekdaysShort","weekdays",3,d)},o.weekdaysMin=function(d){return u(s(),"weekdaysMin","weekdays",2,d)}}})}(Dn)),Dn.exports}var su=iu();const uu=nt(su);var Nn={exports:{}},cu=Nn.exports,$o;function fu(){return $o||($o=1,function(e,n){(function(a,l){e.exports=l()})(cu,function(){var a="week",l="year";return function(o,r,i){var u=r.prototype;u.week=function(s){if(s===void 0&&(s=null),s!==null)return this.add(7*(s-this.week()),"day");var f=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var h=i(this).startOf(l).add(1,l).date(f),d=i(this).endOf(a);if(h.isBefore(d))return 1}var y=i(this).startOf(l).date(f).startOf(a).subtract(1,"millisecond"),x=this.diff(y,a,!0);return x<0?i(this).startOf("week").week():Math.ceil(x)},u.weeks=function(s){return s===void 0&&(s=null),this.week(s)}}})}(Nn)),Nn.exports}var du=fu();const hu=nt(du);var En={exports:{}},mu=En.exports,ko;function gu(){return ko||(ko=1,function(e,n){(function(a,l){e.exports=l()})(mu,function(){return function(a,l){l.prototype.weekYear=function(){var o=this.month(),r=this.week(),i=this.year();return r===1&&o===11?i+1:o===0&&r>=52?i-1:i}}})}(En)),En.exports}var yu=gu();const pu=nt(yu);var In={exports:{}},bu=In.exports,Do;function vu(){return Do||(Do=1,function(e,n){(function(a,l){e.exports=l()})(bu,function(){return function(a,l,o){l.prototype.dayOfYear=function(r){var i=Math.round((o(this).startOf("day")-o(this).startOf("year"))/864e5)+1;return r==null?i:this.add(r-i,"day")}}})}(In)),In.exports}var wu=vu();const Su=nt(wu);var Vn={exports:{}},xu=Vn.exports,No;function Cu(){return No||(No=1,function(e,n){(function(a,l){e.exports=l()})(xu,function(){return function(a,l){l.prototype.isSameOrAfter=function(o,r){return this.isSame(o,r)||this.isAfter(o,r)}}})}(Vn)),Vn.exports}var Tu=Cu();const $u=nt(Tu);var On={exports:{}},ku=On.exports,Eo;function Du(){return Eo||(Eo=1,function(e,n){(function(a,l){e.exports=l()})(ku,function(){return function(a,l){l.prototype.isSameOrBefore=function(o,r){return this.isSame(o,r)||this.isBefore(o,r)}}})}(On)),On.exports}var Nu=Du();const Eu=nt(Nu);Qe.extend(uu),Qe.extend(ou),Qe.extend(tu),Qe.extend(hu),Qe.extend(pu),Qe.extend(Su),Qe.extend($u),Qe.extend(Eu);const re={format(e,n){return Qe(e).format(n)},parser(e,n){return Qe(e,n).toDate()},isLeapYear(e){return e%4==0&&e%100!=0||e%400==0},getWhatDay(e,n,a){const o=new Date(e+"/"+n+"/"+a).getDay();return["星期日","星期一","星期二","星期三","星期四","星期五","星期六"][o]},getMonthPreDay(e,n){let l=new Date(e+"/"+n+"/01").getDay();return l==0&&(l=7),l},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){n=n||"-";const a=e.getFullYear(),l=this.getNumTwoBit(e.getMonth()+1),o=this.getNumTwoBit(e.getDate());return[a,l,o].join(n)},getDay(e,n,a){e=e||0;let l=n??new Date;const o=e*(1e3*60*60*24);return l=new Date(l.getTime()+o),a=a??"YYYY-MM-DD",this.format(l,a)},compareDate(e,n){let a;typeof e=="string"?a=new Date(e.replace("-","/").replace("-","/")):a=e;let l;return typeof n=="string"?l=new Date(n.replace("-","/").replace("-","/")):l=n,!(a>=l)},isEqual(e,n){if(e===n)return!0;if(!e||!n)return!1;let a;typeof e=="string"?a=new Date(e).getTime():a=e;let l;return typeof n=="string"?l=new Date(n).getTime():l=n,a==l},getMonthWeek:function(e,n,a,l=0){const o=new Date(Number(e),parseInt(n)-1,Number(a));let r=o.getDay(),i=o.getDate(),u=6-r;return l!==0&&(r=r==0?7:r,u=7-r),Math.ceil((i+u)/7)},getYearWeek:function(e,n,a,l=0){const o=new Date(Number(e),parseInt(n)-1,Number(a)),r=new Date(Number(e),0,1),i=Math.round((o.valueOf()-r.valueOf())/864e5);let u=o.getDay(),s=6-u;return l!==0&&(u=u==0?7:u,s=7-u),Math.ceil((i+s)/7)},getWeekDate:function(e,n,a,l=0){const o=new Date(Number(e),parseInt(n)-1,Number(a)),r=o.getTime();let i=o.getDay();if(l===0){const s=r-i*864e5,f=r+(6-i)*864e5,h=this.date2Str(new Date(s)),d=this.date2Str(new Date(f));return[h,d]}else{i=i==0?7:i;const u=24*60*60*1e3,s=r-(i-1)*u,f=r+(7-i)*u,h=this.date2Str(new Date(s)),d=this.date2Str(new Date(f));return[h,d]}},formatResultDate:function(e){let n=[...e.split("-")];return n[2]=re.getNumTwoBit(Number(n[2])),n[3]=`${n[0]}-${n[1]}-${n[2]}`,n[4]=re.getWhatDay(+n[0],+n[1],+n[2]),n},inScope4Day(e,n,a){const l=new Date(new Date(n).setDate(n.getDate()+a)),o=e.getTime(),r=l.getTime(),i=n.getTime();return r>i?o>=i&&o<=r:o>=r&&o<=i},inScope4Month(e,n,a){const l=new Date(new Date(n).setMonth(n.getMonth()+a)),o=e.getTime(),r=l.getTime(),i=n.getTime();return r>i?o>=i&&o<=r:o>=r&&o<=i}},Io={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"}},Vo={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}};function Iu(e,n,a){return{props:{...Te,...Ve,...Io,...Vo},emits:["change","update:modelValue","update:longTerm","blur","focus","clear","visible-change","calendar-change","panel-change","setValue"],setup(l,o){const r=t.ref(null),i=Me(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Fe(t.computed(()=>u.value??l.readonly)),{emitEvent:f}=Ne({componentName:e,validateCheckEvents:["blur","update:modelValue"],get readonly(){return s.value},get disabled(){return i.value}},l.prop??o.attrs.name),{toLocaleRefs:h}=Ce.useFoxI18n(n),d=h(l,["placeholder"]),y=t.ref(!1),x=ge(l,"modelValue",null,f),w=t.computed(()=>R.value&&Array.isArray(x.value)&&x.value.length==2?x.value[0]:x.value),m=t.computed(()=>R.value?"longTermKey":"normalKey"),g=M=>{if(R.value&&l.type==="daterange"){const S=[...x.value];S[0]=M,x.value=S}else x.value=M;f("update:modelValue",x.value),f("change",x.value)},P=t.computed(()=>R.value&&l.type==="daterange"?"date":l.type),b=e,c=t.computed(()=>({[`${b}`]:!0,"is-long":R.value,"is-readonly":s.value,"is-disabled":i.value}));let E=ge(l,"hintText"),B=t.ref(!1);const I=M=>{let W=M.target.value;y.value=!0,me(E.value)||(B.value=!0),f("focus",W,M)},C=M=>{setTimeout(()=>{B.value&&(B.value=!1),y.value=!1},0);let W=M.target.value;l.maxLength&&W.length>Number(l.maxLength)&&(W=W.slice(0,Number(l.maxLength))),f("blur",W,M)},A=()=>{f("clear","")},T=M=>{f("calendar-change",M)},K=(M,S,W)=>{f("panel-change",M,S,W)},p=M=>{f("visible-change",M)},L=Ae(t.computed(()=>l.longTermText),"longTermText",We.Near),X=Ae(t.computed(()=>l.longTermActionLabel),"longTermActionLabel",We.Near),_=Ae(t.computed(()=>l.longTermValue),"longTermValue",We.Near),N=Ae(t.computed(()=>l.compatibleLongTermValue),"compatibleLongTermValue",We.Near);let z=null;const R=t.ref(de(l.longTerm)),Z=M=>{if(R.value=M,f("update:longTerm",M),M){if(z=x.value,l.type==="daterange"){const S=[];Array.isArray(_.value)?(S[0]=x.value?x.value[0]??_.value[0]:null,S[1]=_.value[1]??_.value[0]):(S[0]=x.value?x.value[0]??_.value:null,S[1]=R.value),S[0]||(S[0]=l.valueFormat?re.format(new Date,l.valueFormat):new Date),S[1]||(S[1]=l.valueFormat?re.format(new Date,l.valueFormat):new Date),x.value=S}else Array.isArray(_.value)?x.value=_.value[1]??_.value[0]:x.value=_.value,x.value||(x.value=l.valueFormat?re.format(new Date,l.valueFormat):new Date);f("update:modelValue",x.value)}else{if(l.type==="daterange"){const S=[];S[0]=Array.isArray(x.value)?x.value[0]:x.value,Array.isArray(z)?S[1]=z[1]:S[1]=z,S[0]||(S[0]=l.valueFormat?re.format(new Date,l.valueFormat):new Date),S[1]||(S[1]=l.valueFormat?re.format(new Date,l.valueFormat):new Date),x.value=S}else x.value=z;f("update:modelValue",x.value),setTimeout(()=>{G()},100)}},U=de(l.isLongTerm);if(U){const M=()=>{if(R.value===!0){if(z=x.value,l.type==="daterange"){const S=[x.value[0]];Array.isArray(_.value)?S[1]=_.value[1]??_.value[0]:S[1]=R.value,S[0]||(S[0]=l.valueFormat?re.format(new Date,l.valueFormat):new Date),S[1]||(S[1]=l.valueFormat?re.format(new Date,l.valueFormat):new Date),x.value=S}else x.value=_.value;f("update:modelValue",x.value)}else Ye(_.value,x.value)&&(R.value=!0)};M(),t.watch([()=>l.longTerm],([S])=>{R.value!==S&&M()}),t.watch([()=>x.value],([S])=>{let W=!1;if(l.type==="daterange"&&Array.isArray(S))try{let J=S[1];if(!J)return;if(S[0]==null){f("update:modelValue",[]);return}typeof J!="string"&&l.valueFormat&&(J=re.format(J,l.valueFormat));let k=Array.isArray(_.value)?_.value[1]:_.value;(J===k||Array.isArray(N.value)&&N.value.findIndex(ee=>J==ee)!==-1)&&(W=!0)}catch(J){console.error(J)}R.value!==W&&(R.value=W)},{immediate:!0})}const H=t.computed(()=>({"fox-date-item__long":!0,"is-active":y.value})),te=t.ref(),D=t.ref(),O=/^\d+$/,j=(M,S)=>typeof l.flashFillThreshold=="function"?l.flashFillThreshold(M,S):O.test(M)&&M.length===l.flashFillThreshold,q=(M,S)=>{let W;if(typeof l.flashFillFormat=="function")W=l.flashFillFormat(M,S);else{const k=l.flashFillFormat??"YYYYMMDD";W=re.parser(M,k)}const J=l.valueFormat??"YYYY-MM-DD";return re.format(W,J)},V=M=>M?M.endsWith("range"):!1,Q=M=>{if(!M.target)return;const S=M.target.value??"";if(j(S,l.type)){const W=q(S,l.type);if(V(l.type)){const J=Array.isArray(x.value)?[...x.value]:[];J[0]=W,g(J)}else g(W)}},ne=M=>{if(!M.target)return;const S=M.target.value??"";if(j(S,l.type)){const W=q(S,l.type);if(V(l.type)){const J=Array.isArray(x.value)?[...x.value]:[];J[1]=W,g(J)}else g(W)}},G=()=>{if(l.flashFill&&te.value&&te.value.$el)if(V(l.type)){const M=te.value.$el.querySelectorAll("input.el-range-input");M[0]&&M[0].addEventListener("input",Q),M[1]&&M[1].addEventListener("input",ne)}else{const M=te.value.$el.querySelector("input.el-input__inner");M&&M.addEventListener("input",Q)}},$=()=>{if(l.flashFill&&te.value&&te.value.$el)if(V(l.type)){const M=te.value.$el.querySelectorAll("input.el-range-input");M[0]&&M[0].removeEventListener("input",Q),M[1]&&M[1].removeEventListener("input",ne)}else{const M=te.value.$el.querySelector("input.el-input__inner");M&&M.removeEventListener("input",Q)}};return t.onMounted(G),t.onBeforeUnmount($),ve({focus:()=>{D?.value.focus()},blur:()=>{D?.value.blur()},handleOpen:()=>{D?.value.handleOpen()},handleClose:()=>{D?.value.handleClose()},setDisabled:M=>{r.value=M},setReadonly:M=>{u.value=M}}),()=>{const S={...o.attrs,key:m.value,type:P.value,ref:D,class:c.value,placeholder:d.placeholder.value,disabled:i.value,readonly:s.value,modelValue:w.value,valueFormat:l.valueFormat,format:l.format,"onUpdate:modelValue":g,onClear:A,onFocus:I,onBlur:C,onCalendarChange:T,onPanelChange:K,onVisibleChange:p},W={};o.slots["range-separator"]&&(W["range-separator"]=o.slots["range-separator"]),o.slots.cell&&(W.default=o.slots.cell);const J=[],k=t.h(F.ElDatePicker,S,W);J.push(k);const Y={default:()=>J};if(Y.label=o.slots.default,Y.fixedPreTip=o.slots.fixedPreTip,Y.fixedTip=o.slots.fixedTip,U){if(R.value){const fe=t.h("span",{class:["fox-date-item__long-splitor"]},["-"]),Se=t.h("input",{class:["fox-date-item__long-text"],value:L.value,readonly:!0}),pe={class:H.value},we=t.h("div",pe,{default:()=>[fe,Se]});J.push(we)}if(!s.value&&!i.value){const fe={label:X.value||L.value,disabled:s.value||i.value,modelValue:R.value,"onUpdate:modelValue":Z},Se=t.h(F.ElCheckbox,fe),pe=t.h("div",{class:{[`${b}__append`]:!0}},[Se]);Y.append=()=>pe}}const le={...Ie(l,Io,Vo),ref:te,class:{[`${b}__wrapper`]:!0,"has-append":U},hintText:E.value,hintVisible:B.value};return l.prop&&(le.prop=`${l.prop}_item`),t.h(a,le,Y)}}}}const{componentName:Vu,create:Ou,scope:Au}=se("date-item"),Fl=Ou(Iu(Vu,Au,$e)),Fu=e=>!!(!e||typeof e=="string"&&e.length==0||Array.isArray(e)&&e.length==0),Ml={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,default:""},confirmText:{type:String,default:""},startText:{type:String,default:""},endText:{type:String,default:""},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}},Rl={visible:{type:Boolean,default:!1},zIndex:{type:[Number,String],default:2e3},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,default:""},closeable:{type:Boolean,default:!1},closeIconPosition:{type:String,default:"top-right"},destroyOnClose:{type:Boolean,default:!0},teleport:{type:[String,Element],default:"body"},overlay:{type:Boolean,default:!0},round:{type:Boolean,default:!1},teleportDisable:{type:Boolean,default:!1},safeAreaInsetBottom:{type:Boolean,default:!1},overlayClass:{type:String,default:""},overlayStyle:{type:Object,default:{}}},Oo=2e3;let Ao=Oo;const Mu=(e,n)=>({components:n,props:{...Rl},emits:["click-pop","click-close-icon","open","close","opend","closed","click-overlay","update:visible"],setup(a,{emit:l}){const o=t.reactive({zIndex:a.zIndex,showSlot:!0,closed:a.closeable}),r=t.computed(()=>({[e]:!0,round:a.round,[`fox-popup--${a.position}`]:!0,[`fox-popup--${a.position}--safebottom`]:a.position==="bottom"&&a.safeAreaInsetBottom,[a.popClass]:!0})),i=t.computed(()=>({zIndex:o.zIndex,transitionDuration:`${a.duration}s`,...a.style})),u=t.computed(()=>a.transition?a.transition:`fox-popup-slide-${a.position}`),s=()=>{a.zIndex!==Oo&&(Ao=Number(a.zIndex)),l("update:visible",!0),o.zIndex=++Ao,a.destroyOnClose&&(o.showSlot=!0),l("open")},f=()=>{l("update:visible",!1),l("close"),a.destroyOnClose&&setTimeout(()=>{o.showSlot=!1},+a.duration*1e3)},h=m=>{l("click-pop",m)},d=m=>{m.stopPropagation(),l("click-close-icon",m),l("update:visible",!1)},y=m=>{l("click-overlay",m),a.closeOnClickOverlay&&l("update:visible",!1)},x=m=>{l("opend",m)},w=m=>{l("closed",m)};return t.watch(()=>a.visible,m=>{a.visible?s():f()}),t.watch(()=>a.closeable,m=>{o.closed=m}),{...t.toRefs(o),popStyle:i,transitionName:u,classes:r,onClick:h,onClickCloseIcon:d,onClickOverlay:y,onOpened:x,onClosed:w}}});let _t=0;const Fo="fox-overflow-hidden",Mo=()=>rt?document.body:{classList:[]},Ru=e=>[()=>{if(e())try{!_t&&Mo().classList.add(Fo),_t++}catch{}},()=>{if(e()&&_t)try{_t--,!_t&&Mo().classList.remove(Fo)}catch{}}],Bu={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:Lu,create:Pu}=se("overlay"),_u=Pu({props:{...Bu},emits:["click","update:visible"],setup(e,{emit:n}){const[a,l]=Ru(()=>e.lockScroll),o=t.computed(()=>({[Lu]:!0,[e.overlayClass]:!0})),r=t.computed(()=>({transitionDuration:`${e.duration}s`,zIndex:e.zIndex,...e.overlayStyle}));return t.watch(()=>e.visible,u=>{u?a():l()}),{classes:o,style:r,onClick:u=>{n("click",u),e.closeOnClickOverlay&&n("update:visible",!1)}}}});function qu(e,n,a,l,o,r){return t.openBlock(),t.createBlock(t.Transition,{name:"overlay-fade"},{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("view",{class:t.normalizeClass(e.classes),onClick:n[0]||(n[0]=t.withModifiers((...i)=>e.onClick&&e.onClick(...i),["stop"])),style:t.normalizeStyle(e.style)},[t.renderSlot(e.$slots,"default")],6),[[t.vShow,e.visible]])]),_:3})}const An=Re(_u,[["render",qu]]),zu=["aria-labelledby"],ju=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 48zm-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 48z",fill:"currentColor","fill-opacity":"0.9"},null,-1),Hu=[ju],Ku=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}){const a=e,l=n,o=s=>{l("click",s)},r=s=>{if(s)return isNaN(Number(s))?String(s):s+"px"},i=t.computed(()=>{const s="fox-icon";return{[s]:!0,[s+"-"+a.name]:a.name,[a.class]:!!a.class}}),u=t.computed(()=>{const s={};return s.height=r(a.height)??r(a.size),s.width=r(a.width)??r(a.size),s.color=a.color,s});return(s,f)=>(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(i.value),style:t.normalizeStyle(u.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},Hu,14,zu))}}),Wu=["aria-labelledby"],Yu=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 512zm0-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.77zM984.615 1024c-10.502 0-21.005-2.626-28.882-10.503L824.451 882.215c-15.754-15.753-15.754-39.384 0-55.138s39.385-15.754 55.139 0l131.282 131.282c15.754 15.754 15.754 39.385 0 55.138-5.251 7.877-15.754 10.503-26.257 10.503z",fill:"currentColor","fill-opacity":"0.9"},null,-1),Uu=[Yu],Gu=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}){const a=e,l=n,o=s=>{l("click",s)},r=s=>{if(s)return isNaN(Number(s))?String(s):s+"px"},i=t.computed(()=>{const s="fox-icon";return{[s]:!0,[s+"-"+a.name]:a.name,[a.class]:!!a.class}}),u=t.computed(()=>{const s={};return s.height=r(a.height)??r(a.size),s.width=r(a.width)??r(a.size),s.color=a.color,s});return(s,f)=>(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(i.value),style:t.normalizeStyle(u.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},Uu,14,Wu))}}),Xu=["aria-labelledby"],Zu=t.createElementVNode("path",{d:"M834.7 920.1h-643c-23.7 0-43-19.2-43-43 0-23.7 19.2-43 43-43h643c23.7 0 43 19.2 43 43 0 23.7-19.3 43-43 43zm0-729.2h-643c-23.7 0-43-19.2-43-43 0-23.7 19.2-43 43-43h643c23.7 0 43 19.2 43 43s-19.3 43-43 43zm0 354.6h-643c-23.7 0-43-19.2-43-43 0-23.7 19.2-43 43-43h643c23.7 0 43 19.2 43 43 0 23.7-19.3 43-43 43z",fill:"currentColor","fill-opacity":"0.9"},null,-1),Ju=[Zu],Qu=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}){const a=e,l=n,o=s=>{l("click",s)},r=s=>{if(s)return isNaN(Number(s))?String(s):s+"px"},i=t.computed(()=>{const s="fox-icon";return{[s]:!0,[s+"-"+a.name]:a.name,[a.class]:!!a.class}}),u=t.computed(()=>{const s={};return s.height=r(a.height)??r(a.size),s.width=r(a.width)??r(a.size),s.color=a.color,s});return(s,f)=>(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(i.value),style:t.normalizeStyle(u.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},Ju,14,Xu))}}),ec=["aria-labelledby"],tc=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.8zM550.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 16-19.2-9.6-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.4l-25.6 48zM121.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.4L121.6 784zM38.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.4H38.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 16l-134.4-80zm160-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.4zM473.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.4V40zm240 43.2c9.6-19.2 35.2-25.6 54.4-16 19.2 9.6 25.6 35.2 16 51.2l-92.8 160c-9.6 19.2-35.2 25.6-54.4 16-19.2-9.6-25.6-35.2-12.8-54.4l89.6-156.8zm188.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.8zM985.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.4h185.6z",fill:"currentColor","fill-opacity":"0.9"},null,-1),nc=[tc],Fn=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}){const a=e,l=n,o=s=>{l("click",s)},r=s=>{if(s)return isNaN(Number(s))?String(s):s+"px"},i=t.computed(()=>{const s="fox-icon";return{[s]:!0,[s+"-"+a.name]:a.name,[a.class]:!!a.class}}),u=t.computed(()=>{const s={};return s.height=r(a.height)??r(a.size),s.width=r(a.width)??r(a.size),s.color=a.color,s});return(s,f)=>(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(i.value),style:t.normalizeStyle(u.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},nc,14,ec))}}),lc=["aria-labelledby"],ac=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 1024z",fill:"currentColor","fill-opacity":"0.9"},null,-1),oc=[ac],Ro=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}){const a=e,l=n,o=s=>{l("click",s)},r=s=>{if(s)return isNaN(Number(s))?String(s):s+"px"},i=t.computed(()=>{const s="fox-icon";return{[s]:!0,[s+"-"+a.name]:a.name,[a.class]:!!a.class}}),u=t.computed(()=>{const s={};return s.height=r(a.height)??r(a.size),s.width=r(a.width)??r(a.size),s.color=a.color,s});return(s,f)=>(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(i.value),style:t.normalizeStyle(u.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1026 1024","aria-labelledby":e.name,role:"presentation"},oc,14,lc))}}),rc=["aria-labelledby"],ic=t.createElementVNode("path",{d:"M159.289 500.622c62.578 0 125.155 17.067 221.867 102.4 8.533 5.69 19.91 5.69 25.6 0 48.355-54.044 238.933-261.689 455.11-329.955 0 0 28.445-5.69 42.667 19.91 8.534 17.067 19.911 34.134-5.689 54.045-22.755 17.067-264.533 179.2-440.888 440.89l-2.845 2.844c-11.378 8.533-68.267 51.2-119.467-14.223-56.888-71.11-85.333-139.377-196.266-196.266-2.845 0-2.845-2.845-5.69-5.69-11.377-11.377-54.044-73.955 25.6-73.955z",fill:"currentColor","fill-opacity":"0.9"},null,-1),sc=[ic],Bo=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}){const a=e,l=n,o=s=>{l("click",s)},r=s=>{if(s)return isNaN(Number(s))?String(s):s+"px"},i=t.computed(()=>{const s="fox-icon";return{[s]:!0,[s+"-"+a.name]:a.name,[a.class]:!!a.class}}),u=t.computed(()=>{const s={};return s.height=r(a.height)??r(a.size),s.width=r(a.width)??r(a.size),s.color=a.color,s});return(s,f)=>(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(i.value),style:t.normalizeStyle(u.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},sc,14,rc))}}),uc=["aria-labelledby"],cc=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 0zm281.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.978z",fill:"currentColor","fill-opacity":"0.9"},null,-1),fc=[cc],dc=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}){const a=e,l=n,o=s=>{l("click",s)},r=s=>{if(s)return isNaN(Number(s))?String(s):s+"px"},i=t.computed(()=>{const s="fox-icon";return{[s]:!0,[s+"-"+a.name]:a.name,[a.class]:!!a.class}}),u=t.computed(()=>{const s={};return s.height=r(a.height)??r(a.size),s.width=r(a.width)??r(a.size),s.color=a.color,s});return(s,f)=>(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(i.value),style:t.normalizeStyle(u.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},fc,14,uc))}}),hc=["aria-labelledby"],mc=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 1024zm0-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.333z",fill:"currentColor","fill-opacity":"0.9"},null,-1),gc=[mc],yc=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}){const a=e,l=n,o=s=>{l("click",s)},r=s=>{if(s)return isNaN(Number(s))?String(s):s+"px"},i=t.computed(()=>{const s="fox-icon";return{[s]:!0,[s+"-"+a.name]:a.name,[a.class]:!!a.class}}),u=t.computed(()=>{const s={};return s.height=r(a.height)??r(a.size),s.width=r(a.width)??r(a.size),s.color=a.color,s});return(s,f)=>(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(i.value),style:t.normalizeStyle(u.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},gc,14,hc))}}),pc=["aria-labelledby"],bc=t.createElementVNode("path",{d:"m387.547 980.846 305.006-397.532a117.102 117.102 0 0 0 0-142.628L387.584 43.154a44.837 44.837 0 0 0-71.131 54.492l305.042 397.568a27.538 27.538 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),vc=[bc],wc=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}){const a=e,l=n,o=s=>{l("click",s)},r=s=>{if(s)return isNaN(Number(s))?String(s):s+"px"},i=t.computed(()=>{const s="fox-icon";return{[s]:!0,[s+"-"+a.name]:a.name,[a.class]:!!a.class}}),u=t.computed(()=>{const s={};return s.height=r(a.height)??r(a.size),s.width=r(a.width)??r(a.size),s.color=a.color,s});return(s,f)=>(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(i.value),style:t.normalizeStyle(u.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":e.name,role:"presentation"},vc,14,pc))}}),{componentName:Sc,create:xc}=se("popup"),Cc=xc(Mu(Sc,{FoxOverLay:An,Close:Ro}));function Tc(e,n,a,l,o,r){const i=t.resolveComponent("FoxOverLay"),u=t.resolveComponent("Close");return t.openBlock(),t.createBlock(t.Teleport,{to:e.teleport,disabled:e.teleportDisable},[e.overlay?(t.openBlock(),t.createBlock(i,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"])):t.createCommentVNode("",!0),t.createVNode(t.Transition,{name:e.transitionName,onAfterEnter:e.onOpened,onAfterLeave:e.onClosed},{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.popStyle),onClick:n[1]||(n[1]=(...s)=>e.onClick&&e.onClick(...s))},[e.showSlot?t.renderSlot(e.$slots,"default",{key:0}):t.createCommentVNode("",!0),e.closed?(t.openBlock(),t.createElementBlock("view",{key:1,onClick:n[0]||(n[0]=(...s)=>e.onClickCloseIcon&&e.onClickCloseIcon(...s)),class:t.normalizeClass(["fox-popup__close-icon","fox-popup__close-icon--"+e.closeIconPosition])},[t.renderSlot(e.$slots,"close-icon",{},()=>[t.createVNode(u)])],2)):t.createCommentVNode("",!0)],6),[[t.vShow,e.visible]])]),_:3},8,["name","onAfterEnter","onAfterLeave"])],8,["to","disabled"])}const mt=Re(Cc,[["render",Tc]]),Lo=39,Po=64,{create:$c,scope:kc}=se("calendar-pane"),Dc=$c({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,default:""},confirmText:{type:String,default:""},startText:{type:String,default:""},endText:{type:String,default:""},defaultValue:{type:[String,Array],default:""},startDate:{type:String,default:re.getDay(0)},endDate:{type:String,default:re.getDay(365)},firstDayOfWeek:{type:Number,default:0}},emits:["choose","update","close","select"],setup(e,{emit:n,slots:a}){const{toLocaleRefs:l,t:o}=Ce.useFoxI18n(kc),r=l(e,["title","confirmText","startText","endText","today"]),i=t.computed(()=>({height:`${Lo}px`})),u=t.computed(()=>({height:`${Po}px`})),s=JSON.parse(o("weekdays")),f=t.ref([...s.slice(e.firstDayOfWeek,7),...s.slice(0,e.firstDayOfWeek)]),h=t.ref(null),d=t.ref(null),y=t.ref(null),x=t.ref(null),w=t.ref(0),m=t.computed(()=>c.monthsData.slice(c.defaultRange[0],c.defaultRange[1])),g=t.computed(()=>a.btn),P=t.computed(()=>a["top-info"]),b=t.computed(()=>a["bottom-info"]),c=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}),E=G=>G.split("-"),B=G=>re.isEqual(c.currDate[0],G),I=G=>re.isEqual(c.currDate[1],G),C=G=>c.currDate?.length>0?c.currDate?.some($=>re.isEqual($,G)):!1,A=(G,$)=>$.curData[0]+"-"+$.curData[1]+"-"+re.getNumTwoBit(+G.day),T=(G,$)=>{const M=A(G,$),{type:S}=e;return G.type=="curr"?re.isEqual(c.currDate,M)||(S=="range"||S=="week")&&(B(M)||I(M))||S=="multiple"&&C(M)?`${c.dayPrefix}--active`:c.propStartDate&&re.compareDate(M,c.propStartDate)||c.propEndDate&&re.compareDate(c.propEndDate,M)?`${c.dayPrefix}--disabled`:(S=="range"||S=="week")&&Array.isArray(c.currDate)&&Object.values(c.currDate).length==2&&re.compareDate(c.currDate[0],M)&&re.compareDate(M,c.currDate[1])?`${c.dayPrefix}--choose`:null:`${c.dayPrefix}--disabled`},K=()=>{const{type:G}=e;if(G=="range"&&c.chooseData.length==2||G!="range"){let $=c.chooseData.slice(0);G=="week"&&($={weekDate:[L(c.chooseData[0]),L(c.chooseData[1])]}),n("choose",$),e.poppable&&n("update")}},p=(G,$,M=!1)=>{if(T(G,$)!=`${c.dayPrefix}--disabled`){const{type:S}=e;let[W,J]=$.curData,k=[...$.curData];if(k[2]=re.getNumTwoBit(Number(G.day)),k[3]=`${k[0]}-${k[1]}-${k[2]}`,k[4]=re.getWhatDay(+k[0],+k[1],+k[2]),S=="multiple")if(c.currDate?.length>0){let Y;c.currDate?.forEach((ee,le)=>{ee==k[3]&&(Y=le)}),M?c.chooseData.push([...k]):Y!==void 0?(c.currDate.splice(Y,1),c.chooseData.splice(Y,1)):(c.currDate.push(k[3]),c.chooseData.push([...k]))}else c.currDate=[k[3]],c.chooseData=[[...k]];else if(S=="range"){let Y=Object.values(c.currDate).length;Y==2||Y==0?c.currDate=[k[3]]:re.compareDate(c.currDate[0],k[3])?Array.isArray(c.currDate)&&c.currDate.push(k[3]):Array.isArray(c.currDate)&&c.currDate.unshift(k[3]),c.chooseData.length==2||!c.chooseData.length?c.chooseData=[[...k]]:re.compareDate(c.chooseData[0][3],k[3])?c.chooseData=[...c.chooseData,[...k]]:c.chooseData=[[...k],...c.chooseData]}else if(S=="week"){let Y=re.getWeekDate(W,J,G.day,e.firstDayOfWeek);c.propStartDate&&re.compareDate(Y[0],c.propStartDate)&&Y.splice(0,1,c.propStartDate),c.propEndDate&&re.compareDate(c.propEndDate,Y[1])&&Y.splice(1,1,c.propEndDate),c.currDate=Y,c.chooseData=[re.formatResultDate(Y[0]),re.formatResultDate(Y[1])]}else c.currDate=k[3],c.chooseData=[...k];if(!M){let Y=c.chooseData;S=="week"&&(Y={weekDate:[L(c.chooseData[0]),L(c.chooseData[1])]}),n("select",Y),(e.isAutoBackFill||!e.poppable)&&K()}}},L=G=>{let[$,M,S]=G;return{date:G,monthWeekNum:re.getMonthWeek($,M,S,e.firstDayOfWeek),yearWeekNum:re.getYearWeek($,M,S,e.firstDayOfWeek)}},X=G=>{const $=c.monthsData[c.monthsData.length-1];let M=parseInt($.curData[0]),S=parseInt($.curData[1].toString().replace(/^0/,""));switch(G){case"prev":S==1&&(M-=1),S=S==1?12:--S;break;case"next":S==12&&(M+=1),S=S==12?1:++S;break}return[M+"",re.getNumTwoBit(S),re.getMonthDays(String(M),String(S))+""]},_=(G,$,M)=>{let{year:S,month:W}=M;return Array.from(Array(G),(J,k)=>({day:String(k+1),type:$,year:S,month:W}))},N=(G,$,M,S)=>{G=G-e.firstDayOfWeek;let{year:W,month:J}=M;return G>=7&&(G-=7),Array.from(Array(S),(Y,ee)=>({day:String(ee+1),type:$,year:W,month:J})).slice(S-G)},z=(G,$)=>{const M=re.getMonthPreDay(+G[0],+G[1]);let S=Number(G[1])-1,W=Number(G[0]);S<=0&&(S=12,W+=1);const J=re.getMonthDays(String(G[0]),String(G[1])),k=re.getMonthDays(W+"",S+""),Y={year:G[0],month:G[1]},ee={curData:G,title:o("monthTitle",{year:Y.year,month:Y.month}),monthData:[...N(M,"prev",{month:String(S),year:String(W)},k),..._(J,"curr",Y)],cssHeight:0,cssScrollHeight:0},le=ee.monthData.length>35?6:5;ee.cssHeight=Lo+Po*le;let ue=0;c.monthsData.length>0&&(ue=c.monthsData[c.monthsData.length-1].cssScrollHeight+c.monthsData[c.monthsData.length-1].cssHeight),ee.cssScrollHeight=ue,(!c.endData||!re.compareDate(`${c.endData[0]}-${c.endData[1]}-${re.getMonthDays(c.endData[0],c.endData[1])}`,`${G[0]}-${G[1]}-${G[2]}`))&&c.monthsData.push(ee)},R=()=>{let G=e.startDate?e.startDate:re.getDay(0),$=e.endDate?e.endDate:re.getDay(365);c.propStartDate=G,c.propEndDate=$,c.startData=E(G),c.endData=E($),(e.defaultValue||Array.isArray(e.defaultValue)&&e.defaultValue.length>0)&&(c.currDate=e.type!=="one"?[...e.defaultValue]:e.defaultValue);const M={year:Number(c.startData[0]),month:Number(c.startData[1])},S={year:Number(c.endData[0]),month:Number(c.endData[1])};let W=S.month-M.month;S.year-M.year>0&&(W=W+12*(S.year-M.year)),W<=0&&(W=1),z(c.startData);let J=1;do z(X("next"));while(J++<W);if(c.monthsNum=W,e.type=="range"&&Array.isArray(c.currDate))c.currDate.length>0&&(G&&re.compareDate(c.currDate[0],G)&&c.currDate.splice(0,1,G),$&&re.compareDate($,c.currDate[1])&&c.currDate.splice(1,1,$),c.defaultData=[...E(c.currDate[0]),...E(c.currDate[1])]);else if(e.type=="multiple"&&Array.isArray(c.currDate)){if(c.currDate.length>0){let k=[],Y={};c.currDate.forEach(ee=>{G&&!re.compareDate(ee,G)&&$&&!re.compareDate($,ee)&&(Object.hasOwnProperty.call(Y,ee)||(k.push(ee),Y[ee]=ee))}),c.currDate=[...k],c.defaultData=[...E(k[0])]}}else if(e.type=="week"&&Array.isArray(c.currDate)){if(c.currDate.length>0){let[k,Y,ee]=E(c.currDate[0]),le=re.getWeekDate(k,Y,ee,e.firstDayOfWeek);c.currDate=le,G&&re.compareDate(c.currDate[0],G)&&c.currDate.splice(0,1,G),$&&re.compareDate($,c.currDate[1])&&c.currDate.splice(1,1,$),c.defaultData=[...E(c.currDate[0]),...E(c.currDate[1])]}}else c.currDate&&(G&&re.compareDate(c.currDate,G)?c.currDate=G:$&&!re.compareDate(c.currDate,$)&&(c.currDate=$),c.defaultData=[...E(c.currDate)])};ve({scrollToDate:G=>{re.compareDate(G,c.propStartDate)?G=c.propStartDate:re.compareDate(G,c.propEndDate)||(G=c.propEndDate);let $=E(G);c.monthsData.forEach((M,S)=>{if(M.title==o("monthTitle",{year:$[0],month:$[1]})&&h.value){let W=c.monthsData[S].cssScrollHeight-h.value.scrollTop;if(e.toDateAnimation){let J=0,k=setInterval(()=>{if(J++,h.value){let Y=W/10;h.value.scrollTop=h.value.scrollTop+Y}J>=10&&(clearInterval(k),h.value&&(h.value.scrollTop=c.monthsData[S].cssScrollHeight))},40)}else h.value.scrollTop=c.monthsData[S].cssScrollHeight}})},initPosition:()=>{h?.value&&(h.value.scrollTop=c.monthsData[c.currentIndex].cssScrollHeight)},doLayout:()=>{let G=0,$=0;c.defaultData.length>0&&c.monthsData.forEach((W,J)=>{W.title==o("monthTitle",{year:c.defaultData[0],month:c.defaultData[1]})&&(G=J),(e.type=="range"||e.type=="week")&&W.title==o("monthTitle",{year:c.defaultData[3],month:c.defaultData[4]})&&($=J)}),te(c.monthsNum,G),c.currentIndex=G,c.yearMonthTitle=c.monthsData[c.currentIndex].title,c.defaultData.length>0&&(c.isRange?(p({day:c.defaultData[2],type:"curr"},c.monthsData[c.currentIndex],!0),p({day:c.defaultData[5],type:"curr"},c.monthsData[$],!0)):e.type=="week"?p({day:c.defaultData[2],type:"curr"},c.monthsData[c.currentIndex],!0):e.type=="multiple"?[...c.currDate].forEach(W=>{let J=E(W),k=c.currentIndex;c.monthsData.forEach((Y,ee)=>{Y.title==o("monthTitle",{year:J[0],month:J[1]})&&(k=ee)}),p({day:J[2],type:"curr"},c.monthsData[k],!0)}):p({day:c.defaultData[2],type:"curr"},c.monthsData[c.currentIndex],!0));let M=c.monthsData[c.monthsData.length-1],S=M.cssHeight+M.cssScrollHeight;Xn(()=>{h?.value&&d?.value&&x?.value&&(w.value=h.value.clientHeight,d.value.style.height=`${S}px`,h.value.scrollTop=c.monthsData[c.currentIndex].cssScrollHeight)}),c.avgHeight=Math.floor(S/(c.monthsNum+1))}});const te=(G,$)=>{G>=3?$>0&&$<G?c.defaultRange=[$-1,$+3]:$==0?c.defaultRange=[$,$+4]:$==G&&(c.defaultRange=[$-2,$+2]):c.defaultRange=[0,G+2];let M=c.monthsData[c.defaultRange[0]].cssScrollHeight;c.translateY=M},D=(G,$)=>(e.type=="range"||e.type=="week")&&G.type=="curr"&&T(G,$)=="fox-calendar__day--active",O=(G,$)=>D(G,$)&&B(A(G,$)),j=(G,$)=>c.currDate.length>=2&&I(A(G,$))?D(G,$):!1,q=()=>{if(c.currDate.length>=2)return re.isEqual(c.currDate[0],c.currDate[1])},V=G=>{const $=`${G.year}-${G.month}-${Number(G.day)<10?"0"+G.day:G.day}`;return re.isEqual($,re.date2Str(new Date))},Q=G=>{if(c.monthsData.length<=1)return;const $=G.target.scrollTop;let M=Math.floor($/c.avgHeight);if(M==0)$>=c.monthsData[M+1].cssScrollHeight&&(M+=1);else if(M>0&&M<c.monthsNum-1)$>=c.monthsData[M+1].cssScrollHeight&&(M+=1),$<c.monthsData[M].cssScrollHeight&&(M-=1);else{const S=Math.round($+w.value);S<c.monthsData[M].cssScrollHeight+c.monthsData[M].cssHeight&&$>c.monthsData[M-1].cssScrollHeight&&(M-=1),M+1<=c.monthsNum&&S>=c.monthsData[M+1].cssScrollHeight+c.monthsData[M+1].cssHeight&&(M+=1),M>=1&&$<c.monthsData[M-1].cssScrollHeight&&(M-=1)}c.currentIndex!==M&&(c.currentIndex=M,te(c.monthsNum,M)),c.yearMonthTitle=c.monthsData[M].title},ne=()=>{c.chooseData.splice(0),c.monthsData.splice(0),R()};return R(),t.watch(()=>e.defaultValue,G=>{G&&e.poppable&&ne()}),{dayTitleStyle:i,dayCellStyle:u,weeks:f,compConthsData:m,showTopBtn:g,topInfo:P,bottomInfo:b,rangeTip:q,mothsViewScroll:Q,getClass:T,isStartTip:O,isEndTip:j,chooseDay:p,isCurrDay:V,confirm:K,months:h,...t.toRefs(c),...t.toRefs(e),...r,monthsPanel:d,weeksPanel:y,viewArea:x}}}),Nc={class:"fox-calendar__header"},Ec={key:0,class:"fox-calendar__header-title"},Ic={key:1,class:"fox-calendar__header-slot"},Vc={key:2,class:"fox-calendar__header-subtitle"},Oc={class:"fox-calendar__weekdays",ref:"weeksPanel"},Ac={class:"fox-calendar__panel",ref:"monthsPanel"},Fc={class:"fox-calendar__days"},Mc=["onClick"],Rc={class:"fox-calendar__day-value"},Bc={key:0,class:"fox-calendar__day-tips fox-calendar__day-tips--top"},Lc={key:1,class:"fox-calendar__day-tips fox-calendar__day-tips--bottom"},Pc={key:2,class:"fox-calendar__day-tips--curr"},_c={key:4,class:"fox-calendar__day-tip"},qc={key:0,class:"fox-calendar__footer"};function zc(e,n,a,l,o,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(["fox-calendar",{"fox-calendar--nopop":!e.poppable,"fox-calendar--nofooter":e.isAutoBackFill}])},[t.createElementVNode("view",Nc,[e.showTitle?(t.openBlock(),t.createElementBlock("view",Ec,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),e.showTopBtn?(t.openBlock(),t.createElementBlock("view",Ic,[t.renderSlot(e.$slots,"btn")])):t.createCommentVNode("",!0),e.showSubTitle?(t.openBlock(),t.createElementBlock("view",Vc,t.toDisplayString(e.yearMonthTitle),1)):t.createCommentVNode("",!0),t.createElementVNode("view",Oc,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.weeks,(i,u)=>(t.openBlock(),t.createElementBlock("view",{class:"fox-calendar__weekday",key:u},t.toDisplayString(i),1))),128))],512)]),t.createElementVNode("view",{class:"fox-calendar__content",ref:"months",onScroll:n[0]||(n[0]=(...i)=>e.mothsViewScroll&&e.mothsViewScroll(...i))},[t.createElementVNode("view",Ac,[t.createElementVNode("view",{class:"fox-calendar__body",ref:"viewArea",style:t.normalizeStyle({transform:`translateY(${e.translateY}px)`})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.compConthsData,(i,u)=>(t.openBlock(),t.createElementBlock("view",{class:"fox-calendar__month",key:u},[t.createElementVNode("view",{class:"fox-calendar__month-title",style:t.normalizeStyle(e.dayTitleStyle)},t.toDisplayString(i.title),5),t.createElementVNode("view",Fc,[t.createElementVNode("view",{class:t.normalizeClass(["fox-calendar__days-item",e.type==="range"?"fox-calendar__days-item--range":""])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(i.monthData,(s,f)=>(t.openBlock(),t.createElementBlock("view",{key:f,class:t.normalizeClass(["fox-calendar__day",e.getClass(s,i)]),style:t.normalizeStyle(e.dayCellStyle),onClick:h=>e.chooseDay(s,i)},[t.createElementVNode("view",Rc,[t.renderSlot(e.$slots,"day",{date:s.type=="curr"?s:""},()=>[t.createTextVNode(t.toDisplayString(s.type=="curr"?s.day:""),1)])]),e.topInfo?(t.openBlock(),t.createElementBlock("view",Bc,[t.renderSlot(e.$slots,"top-info",{date:s.type=="curr"?s:""})])):t.createCommentVNode("",!0),e.bottomInfo?(t.openBlock(),t.createElementBlock("view",Lc,[t.renderSlot(e.$slots,"bottom-info",{date:s.type=="curr"?s:""})])):t.createCommentVNode("",!0),!e.bottomInfo&&e.showToday&&e.isCurrDay(s)?(t.openBlock(),t.createElementBlock("view",Pc,t.toDisplayString(e.today),1)):t.createCommentVNode("",!0),e.isStartTip(s,i)?(t.openBlock(),t.createElementBlock("view",{key:3,class:t.normalizeClass(["fox-calendar__day-tip",{"fox-calendar__day-tips--top":e.rangeTip()}])},t.toDisplayString(e.startText),3)):t.createCommentVNode("",!0),e.isEndTip(s,i)?(t.openBlock(),t.createElementBlock("view",_c,t.toDisplayString(e.endText),1)):t.createCommentVNode("",!0)],14,Mc))),128))],2)])]))),128))],4)],512)],544),e.poppable&&!e.isAutoBackFill?(t.openBlock(),t.createElementBlock("view",qc,[t.createElementVNode("view",{class:"fox-calendar__confirm",onClick:n[1]||(n[1]=(...i)=>e.confirm&&e.confirm(...i))},t.toDisplayString(e.confirmText),1)])):t.createCommentVNode("",!0)],2)}const jc=Re(Dc,[["render",zc]]),{create:Hc}=se("calendar-picker"),Kc=Hc({components:{CalendarPane:jc,Popup:mt},props:{...Ml},emits:["choose","close","update:visible","select"],setup(e,{emit:n,slots:a}){const l=t.computed(()=>a.btn),o=t.computed(()=>a["top-info"]),r=t.computed(()=>a.day),i=t.computed(()=>a["bottom-info"]),u=t.ref(null),s=g=>{u.value?.scrollToDate(g)},f=()=>{u.value?.initPosition()},h=t.computed(()=>{const g=["fox-calendar__popup"];return e.popClass&&g.push(e.popClass),g});t.watch(()=>e.visible,g=>{g&&t.nextTick(()=>{u.value?u.value.doLayout():setTimeout(()=>{u.value&&u.value.doLayout()},250)})}),ve({scrollToDate:s,initPosition:f});const d=()=>{n("update:visible",!1)},y=()=>{n("close"),n("update:visible",!1)};return{popClasses:h,closePopup:()=>{y()},update:d,close:y,select:g=>{n("select",g)},choose:g=>{y(),n("choose",g)},calendarRef:u,showTopBtn:l,topInfo:o,dayInfo:r,bottomInfo:i}}});function Wc(e,n,a,l,o,r){const i=t.resolveComponent("CalendarPane"),u=t.resolveComponent("Popup");return e.poppable?(t.openBlock(),t.createBlock(u,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:t.withCtx(()=>[t.createVNode(i,{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},t.createSlots({_:2},[e.showTopBtn?{name:"btn",fn:t.withCtx(()=>[t.renderSlot(e.$slots,"btn")]),key:"0"}:void 0,e.dayInfo?{name:"day",fn:t.withCtx(s=>[t.renderSlot(e.$slots,"day",{date:s.date})]),key:"1"}:void 0,e.topInfo?{name:"top-info",fn:t.withCtx(s=>[t.renderSlot(e.$slots,"top-info",{date:s.date})]),key:"2"}:void 0,e.bottomInfo?{name:"bottom-info",fn:t.withCtx(s=>[t.renderSlot(e.$slots,"bottom-info",{date:s.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"])):(t.openBlock(),t.createBlock(i,{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},t.createSlots({_:2},[e.showTopBtn?{name:"btn",fn:t.withCtx(()=>[t.renderSlot(e.$slots,"btn")]),key:"0"}:void 0,e.dayInfo?{name:"day",fn:t.withCtx(s=>[t.renderSlot(e.$slots,"day",{date:s.date})]),key:"1"}:void 0,e.topInfo?{name:"top-info",fn:t.withCtx(s=>[t.renderSlot(e.$slots,"top-info",{date:s.date})]),key:"2"}:void 0,e.bottomInfo?{name:"bottom-info",fn:t.withCtx(s=>[t.renderSlot(e.$slots,"bottom-info",{date:s.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"]))}const Mn=Re(Kc,[["render",Wc]]),Bl=(e,n)=>{let a;return ot(e)?a=e:typeof e=="string"&&Xe(e)>0?a=re.parser(e,n):a=new Date,a},Ct=(e,n,a)=>(ot(n)||(n=new Date),re.format(n,a)),Tt=e=>{let n=`${e.getFullYear()}`,a=`${e.getMonth()+1}`,l=`${e.getDate()}`,o=re.date2Str(e),r=re.getWhatDay(e.getFullYear(),e.getMonth()+1,e.getDate());return[n,a,l,o,r]},_o={...Ml,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,default:""},textAlign:{type:String},clearable:{type:Boolean,default:!0}};function Yc(e,n,a){return{props:{...Te,...Ve,..._o},emits:["change","update:modelValue","blur","focus","clear","setValue"],setup(l,o){const r=t.ref(null),i=Me(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Fe(t.computed(()=>u.value??l.readonly)),{emitEvent:f}=Ne({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus","setValue"],get readonly(){return s.value},get disabled(){return i.value}},l.prop??o.attrs.name),{toLocaleRefs:h}=Ce.useFoxI18n(n),d=h(l,["placeholder"]);let y=ge(l,"hintText"),x=t.ref(!1);const w=t.ref(!1),m=t.computed(()=>l.type==="range"),g=t.reactive({startDate:null,endDate:null,startArray:[],endArray:[]}),P=()=>{g.startDate!==null&&(g.startDate=null,g.endDate=null,g.startArray=[],g.endArray=[])},b=(U,H="one",te="YYYY-MM-DD")=>{if(Fu(U)){P();return}if(m.value&&Array.isArray(U)&&U.length==2){let D,O;typeof U[0]=="string"?(D=Bl(U[0],te),O=Bl(U[1],te)):(D=U[0],O=U[1]);let j=Tt(D),q=Tt(O);(g.startDate===null||g.startDate.getTime()!==D.getTime()||g.endDate?.getTime()!==O.getTime())&&(g.startDate=D,g.startArray=j,g.endDate=O,g.endArray=q)}else{let D;typeof U=="string"?D=Bl(U,te):D=U;let O=Tt(D);(g.startDate===null||g.startDate.getTime()!==D.getTime())&&(g.startDate=D,g.startArray=O)}};b(l.modelValue,l.type,l.valueFormat),t.watch(()=>l.modelValue,U=>{b(U,l.type,l.valueFormat),f("setValue",U)});const c=t.computed(()=>{if(g.startDate===null)return"";if(m.value){let U=Ct(l,g.startDate,l.format),H=Ct(l,g.endDate,l.format);return`${U} ${l.rangeSeparator} ${H}`}else{let U=Ct(l,g.startDate,l.format);return l.showWeek&&(U=`${U} ${g.startArray[4]}`),U}}),E=t.computed(()=>{if(g.startDate===null)return null;if(m.value){let U=re.date2Str(g.startDate),H=re.date2Str(g.endDate??new Date);return[U,H]}else return re.date2Str(g.startDate)}),B="fox-input-item",I=t.computed(()=>({[B]:!0,[`${B}__disabled`]:i.value})),C=Ae(t.computed(()=>l.textAlign),"textAlign"),A=t.computed(()=>({textAlign:C.value??"right"})),T=t.ref(!1),K=()=>{s.value||i.value||(T.value=!0)},p=()=>{T.value=!1},L=U=>{T.value=U},X=U=>{if(U){if(m.value&&Array.isArray(U)){let H=U[0],te=ye(H[0]),D=ye(H[1]),O=ye(H[2]),j=new Date(te,D-1,O),q=U[1];te=ye(q[0]),D=ye(q[1]),O=ye(q[2]);let V=new Date(te,D-1,O);if(g.startDate=j,g.startArray=Tt(j),g.endDate=V,g.endArray=Tt(V),l.valueFormat){let Q=Ct(l,j,l.valueFormat),ne=Ct(l,V,l.valueFormat);f("update:modelValue",[Q,ne],{})}else f("update:modelValue",[j,V],{})}else{let H=U,te=ye(H[0]),D=ye(H[1]),O=ye(H[2]),j=new Date(te,D-1,O);if(g.startDate=j,g.startArray=Tt(j),l.valueFormat){let q=Ct(l,j,l.valueFormat);f("update:modelValue",q,{})}else f("update:modelValue",j,{})}f("change",U,{})}},_=U=>{let te=U.target.value;w.value=!0,f("focus",te,U)},N=U=>{setTimeout(()=>{w.value=!1},0);let te=U.target.value;l.maxLength&&te.length>Number(l.maxLength)&&(te=te.slice(0,Number(l.maxLength))),f("blur",te,U)},z=t.computed(()=>Xe(l.unit)>0),R=U=>{P(),f("update:modelValue",null,U),f("change","",U),f("clear","")},Z=t.ref();return ve({showPicker:K,hidePicker:p,focus:()=>{Z?.value.focus()},blur:()=>{Z?.value.blur()},select:()=>{Z?.value.select()},setDisabled:U=>{r.value=U},setReadonly:U=>{u.value=U}}),()=>{const U={class:I.value,style:A.value,type:"text",maxlength:l.maxLength,placeholder:d.placeholder.value,readonly:!0,clearable:l.clearable,value:c.value,onClick:K,onFocus:_,onBlur:N,onClear:R},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:H.prefix=()=>t.h(F.ElIcon,{},{default:()=>t.h(Ee.Calendar)}),o.slots.suffix?H.suffix=o.slots.suffix:z.value&&(H.suffix=()=>[l.unit]);const te=[],D=t.h(F.ElInput,U,H);te.push(D);const O={default:()=>te};O.label=o.slots.default,O.fixedPreTip=o.slots.fixedPreTip,O.fixedTip=o.slots.fixedTip;const j=At(l,Ml);j.visible=T.value,j["onUpdate:visible"]=L,j["default-value"]=E.value,j.onChoose=X;const q={};if(o.slots.btn){const $=o.slots.btn();q.btn=()=>$}o.slots.day&&(q.day=o.slots.day),o.slots.topInfo&&(q.topInfo=o.slots.topInfo),o.slots.bottomInfo&&(q.bottomInfo=o.slots.bottomInfo);const V=t.h(Mn,j,q);O.hide=()=>[V];const ne={...Ie(l,_o),hintText:y.value,hintVisible:x.value};return l.prop&&(ne.prop=`${l.prop}_item`),t.h(a,ne,O)}}}}const{componentName:Uc,create:Gc,scope:Xc}=se("calendar-item"),Ll=Gc(Yc(Uc,Xc,$e)),qo={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1},placeholder:{type:[String],required:!1}};function Zc(e,n,a){return{props:{...Te,...Ve,...qo},emits:["change","update:modelValue","blur","focus","clear","visible-change","setValue"],setup(l,o){const r=t.ref(null),i=Me(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Fe(t.computed(()=>u.value??l.readonly)),{emitEvent:f}=Ne({componentName:e,get readonly(){return s.value},get disabled(){return i.value}},l.prop??o.attrs.name),{toLocaleRefs:h}=Ce.useFoxI18n(n),d=h(l,["placeholder"]),y=t.ref(!1),x=ge(l,"modelValue",null,f),w=e,m=t.computed(()=>({[w]:!0})),g=A=>{x.value=A,f("update:modelValue",A),f("change",A)};let P=ge(l,"hintText"),b=t.ref(!1);const c=A=>{let K=A.target.value;y.value=!0,me(P.value)||(b.value=!0),f("focus",K,A)},E=A=>{setTimeout(()=>{b.value&&(b.value=!1),y.value=!1},0);let K=A.target.value;l.maxLength&&K.length>Number(l.maxLength)&&(K=K.slice(0,Number(l.maxLength))),f("blur",K,A)},B=()=>{f("clear","")},I=A=>{f("visible-change",A)},C=t.ref();return ve({focus:()=>{C?.value.focus()},blur:()=>{C?.value.blur()},handleOpen:()=>{C?.value.handleOpen()},handleClose:()=>{C?.value.handleClose()},setDisabled:A=>{r.value=A},setReadonly:A=>{u.value=A}}),()=>{const T={...o.attrs,ref:C,class:m.value,placeholder:d.placeholder.value,disabled:i.value,readonly:s.value,modelValue:x.value,"onUpdate:modelValue":g,onClear:B,onFocus:c,onBlur:E,onVisibleChange:I},K={},p=[],L=t.h(F.ElTimePicker,T,K);p.push(L);const X={default:()=>p};X.label=o.slots.default,X.fixedPreTip=o.slots.fixedPreTip,X.fixedTip=o.slots.fixedTip;const N={...Ie(l,qo),hintText:P.value,hintVisible:b.value};return l.prop&&(N.prop=`${l.prop}_item`),t.h(a,N,X)}}}}const{componentName:Jc,create:Qc,scope:ef}=se("time-item"),Pl=Qc(Zc(Jc,ef,$e)),zo={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1},placeholder:{type:[String],required:!1}};function tf(e,n,a){return{props:{...Te,...Ve,...zo},emits:["change","update:modelValue","blur","focus","clear","setValue"],setup(l,o){const r=t.ref(null),i=Me(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Fe(t.computed(()=>u.value??l.readonly)),{emitEvent:f}=Ne({componentName:e,get readonly(){return s.value},get disabled(){return i.value}},l.prop??o.attrs.name),{toLocaleRefs:h}=Ce.useFoxI18n(n),d=h(l,["placeholder"]),y=t.ref(!1),x=ge(l,"modelValue",null,f),w=e,m=t.computed(()=>({[w]:!0})),g=C=>{x.value=C,f("update:modelValue",C),f("change",C)};let P=ge(l,"hintText"),b=t.ref(!1);const c=C=>{let T=C.target.value;y.value=!0,me(P.value)||(b.value=!0),f("focus",T,C)},E=C=>{setTimeout(()=>{b.value&&(b.value=!1),y.value=!1},0);let T=C.target.value;l.maxLength&&T.length>Number(l.maxLength)&&(T=T.slice(0,Number(l.maxLength))),f("blur",T,C)},B=()=>{f("clear","")},I=t.ref();return ve({focus:()=>{I?.value.focus()},blur:()=>{I?.value.blur()},handleOpen:()=>{I?.value.handleOpen()},handleClose:()=>{I?.value.handleClose()},setDisabled:C=>{r.value=C},setReadonly:C=>{u.value=C}}),()=>{const A={...o.attrs,ref:I,class:m.value,placeholder:d.placeholder.value,disabled:i.value,readonly:s.value,modelValue:x.value,"onUpdate:modelValue":g,onClear:B,onFocus:c,onBlur:E},T={},K=[],p=t.h(F.ElTimeSelect,A,T);K.push(p);const L={default:()=>K};L.label=o.slots.default,L.fixedPreTip=o.slots.fixedPreTip,L.fixedTip=o.slots.fixedTip;const _={...Ie(l,zo),hintText:P.value,hintVisible:b.value};return l.prop&&(_.prop=`${l.prop}_item`),t.h(a,_,L)}}}}const{componentName:nf,create:lf,scope:af}=se("time-select-item"),_l=lf(tf(nf,af,$e));function jo(e,n=0){let a=`${e}`,l=a.indexOf(".");if(l==-1)return a;let o=l;for(let r=a.length-1;r>=l;r--)if(a.charAt(r)!="0"){o=r;break}return o-l<n?o=l+n+1:o!=l&&(o+=1),o>a.length?a=a.padEnd(o,"0"):a=a.substring(0,o),a}function Ho(e,n,a=20){if(typeof n=="string"&&(n=ye(n)),n==1||n==-1)return`${e}`;if(n==0)return"0";if(n>0){let l=Ba(`${e}`,`${n}`);return jo(l)}else{let l=al(`${e}`,La(`${n}`),20);return jo(l)}}function of(e,n=-1,a=!1,l=3,o=","){return Xt(e,n,a,l,o)}function Ko(e,n,a,l,o=!0){if(e==="")return"";if(e=Pa(e),n=ye(n),n==1)return e;if(l)e=Ho(e,n),a&&(e=="0"&&o?e=`${e}.`.padEnd(ye(a)+2,"0"):e=al(e,1,ye(a)));else{let r=-1*n;e=Ho(e,r)}return e}function Wo(e,n){let a={maxValid:!0,minValid:!0,message:""};if(n.min!==void 0){let l=de(n.minInclude),o=ol(e,n.min);if(l&&o==-1||!l&&(o==0||o==-1)){let r="请输入不小于 {0} 的数值";a.message=r.replace("{0}",n.min),a.minValid=!1}}if(n.max!=null){let l=de(n.maxInclude),o=ol(e,n.max);(l&&o==1||!l&&(o==0||o==1))&&(a.maxValid=!1)}return a}const Yo={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,default:""},textAlign:{type:String,required:!1},adjustPosition:{type:Boolean,default:!0},alwaysSystem:{type:Boolean,default:!1}};function rf(e,n,a){return{props:{...Te,...Ve,...Yo},emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(l,o){const r=t.ref(null),i=Me(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Fe(t.computed(()=>u.value??l.readonly)),{emitEvent:f}=Ne({componentName:e,get readonly(){return s.value},get disabled(){return i.value}},l.prop??o.attrs.name),h=t.ref(!1),d=ge(l,"modelValue",null,f),y=t.ref("");t.watch([()=>d.value,()=>l.rates,()=>l.precision],([N,z,R])=>{if(me(N)){y.value="";return}const Z=Ko(N,z,R,!1);y.value!==Z&&(y.value=Z)},{immediate:!0});const x=t.computed(()=>{let N="";return h.value&&(N=y.value),N}),{t:w}=Ce.useFoxI18n(n),m=t.computed(()=>{let N=l.placeholder??"";return!h.value&&!me(y.value)?N=of(y.value,l.decimalLength,l.autoPadding,l.digits,l.separator):N=w(["placeholder",N]),N}),g=e,P=t.computed(()=>({[g]:!0,[`${g}__disabled`]:i.value,[`${g}__placeholder`]:y.value.length>0})),b=Ae(t.computed(()=>l.textAlign),"textAlign");t.computed(()=>h.value?{textAlign:"left"}:{textAlign:b.value??"right"});const c=t.ref(""),E=t.computed(()=>{let N=c.value;return me(N)&&(N=l.errorTip??""),N}),B=t.ref(""),I=t.ref(!1),C=(N,z)=>{if(N=`${N}`,me(N)){y.value="",d.value="",z.forEach(R=>{f(R,"")}),de(l.showTip)&&I.value&&(I.value=!1);return}if(N.length>=2){let R=N;if(R.charAt(0)=="-"&&(R=R.substring(1)),R.length>=2&&R.charAt(0)=="0"&&R.charAt(1)!="."){t.triggerRef(y);return}}if(N!="-"){if(!Wa(N)){t.triggerRef(y);return}if(l.integerLength!=-1&&Ya(N)>Number(l.integerLength)){t.triggerRef(y);return}if(l.decimalLength&&l.decimalLength!=-1&&Ua(N)>Number(l.decimalLength)){t.triggerRef(y);return}let R=Wo(N,l);if(R.maxValid===!1){c.value=R.message,t.triggerRef(y);return}}else if(l.min!=null&&ye(l.min)>=0){t.triggerRef(y);return}B.value=N,de(l.showTip)&&(I.value=N.length>0),y.value=N,d.value=Ko(N,l.rates,l.precision,!0),z.forEach(R=>{f(R,d.value)})},A=N=>{C(N,["update:modelValue","input"])},T=N=>{C(N,["update:modelValue","change"])},K=N=>{if(h.value=!0,de(l.showTip)){let z=y.value;me(z)&&(z=l.hintText),me(z)||(B.value=z,I.value=!0)}c.value="",f("focus",d.value,N)},p=N=>{if(setTimeout(()=>{h.value=!1,de(l.showTip)&&I.value===!0&&(I.value=!1)},0),!me(y.value)){let z=Wo(y.value,l);if(z.minValid===!1||z.maxValid===!1){c.value=z.message;return}}f("update:modelValue",d.value,N),f("blur",d.value,N)},L=()=>{f("clear","")},X=t.computed(()=>Xe(l.unit)>0),_=t.ref();return ve({focus:()=>{_?.value.focus()},blur:()=>{_?.value.blur()},select:()=>{_?.value.select()},setDisabled:N=>{r.value=N},setReadonly:N=>{u.value=N}}),()=>{const z={...Je(o.attrs),ref:_,class:P.value,type:"digit",maxlength:l.maxLength,placeholder:m.value,clearable:l.clearable,disabled:i.value,readonly:s.value,modelValue:x.value,"adjust-position":l.adjustPosition,"always-system":l.alwaysSystem,onClear:L,onInput:A,onChange:T,onFocus:K,onBlur:p},R={};o.slots.prepend&&(R.prepend=o.slots.prepend),o.slots.append&&(R.append=o.slots.append),o.slots.prefix&&(R.prefix=o.slots.prefix),o.slots.suffix?R.suffix=o.slots.suffix:X.value&&(R.suffix=()=>[l.unit]);const Z=[],U=t.h(F.ElInput,z,R);Z.push(U);const H={default:()=>Z};H.label=o.slots.default,H.fixedPreTip=o.slots.fixedPreTip,H.fixedTip=o.slots.fixedTip;const D={...Ie(l,Yo),errorTip:E.value,hintText:B.value,hintVisible:I.value,hintType:"number"};return l.prop&&(D.prop=`${l.prop}_item`),t.h(a,D,H)}}}}const{componentName:sf,create:uf,scope:cf}=se("money-item"),ql=uf(rf(sf,cf,$e)),Uo={modelValue:{type:[String,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}};function ff(e,n,a){return{props:{...Te,...Ve,...Uo},emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(l,o){const r=t.ref(null),i=Me(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Fe(t.computed(()=>u.value??l.readonly)),{emitEvent:f}=Ne({componentName:e,get readonly(){return s.value},get disabled(){return i.value}},l.prop??o.attrs.name),{toLocaleRefs:h}=Ce.useFoxI18n(n),d=h(l,["placeholder"]),y=t.ref(!1),x=ge(l,"modelValue",null,f),w=e,m=t.computed(()=>({[w]:!0,[`${w}__append`]:A.value})),g=t.computed(()=>({[`${w}__unit`]:!0})),P=K=>{x.value=K,f("update:modelValue",K),f("input",K)},b=K=>{f("change",K)};let c=ge(l,"hintText"),E=t.ref(!1);const B=K=>{let L=K.target.value;y.value=!0,me(c.value)||(E.value=!0),f("focus",L,K)},I=K=>{setTimeout(()=>{E.value&&(E.value=!1),y.value=!1},0);let L=K.target.value;l.maxLength&&L.length>Number(l.maxLength)&&(L=L.slice(0,Number(l.maxLength))),f("blur",L,K)},C=()=>{f("clear","")},A=t.computed(()=>Xe(l.unit)>0),T=t.ref();return ve({focus:()=>{T?.value.focus()},blur:()=>{T?.value.blur()},setDisabled:K=>{r.value=K},setReadonly:K=>{u.value=K}}),()=>{const p={...Je(o.attrs),ref:T,class:m.value,placeholder:d.placeholder.value,clearable:l.clearable,disabled:i.value,readonly:s.value,modelValue:x.value,"adjust-position":l.adjustPosition,"always-system":l.alwaysSystem,onClear:C,onChange:b,onInput:P,onFocus:B,onBlur:I},L={},X=[],_=t.h(F.ElInputNumber,p,L);X.push(_);const N={default:()=>X};N.label=o.slots.default,N.fixedPreTip=o.slots.fixedPreTip,N.fixedTip=o.slots.fixedTip;const R={...Ie(l,Uo),hintText:c.value,hintVisible:E.value};if(l.prop&&(R.prop=`${l.prop}_item`),o.slots.append)N.append=o.slots.append;else if(A.value){const U={class:g.value},H=t.h("div",U,[l.unit]);N.append=()=>H}return t.h(a,R,N)}}}}const{componentName:df,create:hf,scope:mf}=se("input-number-item"),zl=hf(ff(df,mf,$e));function lt(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function gt(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function gf(e,n){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?n[e.childrenKey]||null:n.children??null}let yf=class{proxy;constructor(n){this.proxy=n}async load(n,a,l,o){if(Array.isArray(a))return a;if(typeof a=="function")return await a(l,o);const r=Pe(this.proxy,n);return r===null?(console.error(`${n} component not found api function`),[]):(He(l)&&t.isReactive(l)&&(l=t.toRaw(l)),await r(a,l,o))}};function pf(){const e=t.getCurrentInstance();return new yf(e.proxy)}function jl(e,n,a){const l=lt(e,n),o=lt(e,a);if(l!==o)return!1;const r=gt(e,n),i=gt(e,a);return r===i}function Go(e,n,a,l){if(l.length==0||n===""||n===null||n===void 0)return null;Array.isArray(n)||(n=[n]);const o=[];let r=l;for(let i=0;Array.isArray(r)&&i<n.length;i++){const u=n[i];if(Array.isArray(u)){const s=Go(e,u,a,l);o.push(s)}else{let s=!1;for(let f of r){if(a==="text")s=lt(e,f)===u;else if(a==="item")s=jl(e,f,u);else{let h=gt(e,f);h==null&&(h=lt(e,f)),s=h===u}if(s){o.push(f),r=gf(e,f);break}}if(!s)break}}return o}function bf(e){return{text:e,value:e}}const Xo={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},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}};function vf(e,n,a){return{props:{...Te,...Ve,...Xo},emits:["change","update:modelValue","update:pathNodes","blur","focus","clear","visible-change","expand-change","remove-tag","selected","setValue"],setup(l,o){const r=t.ref(null),i=Me(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Fe(t.computed(()=>u.value??l.readonly)),{emitEvent:f}=Ne({componentName:e,validateCheckEvents:["blur","update:modelValue","selected"],get readonly(){return s.value},get disabled(){return i.value}},l.prop??o.attrs.name),{toLocaleRefs:h}=Ce.useFoxI18n(n),d=h(l,["placeholder"]),y=t.ref(null),x=t.ref([]),w=t.computed(()=>x.value?x.value.map(M=>Array.isArray(M)?M.map(W=>lt(l,W)).join(" "):lt(l,M)).join(" "):""),m=($,M,S,W=!0)=>{if(l.props&&l.props.lazy===!0||l.lazy===!0){if(y.value===$)return;y.value=$;const ee=t.toRaw($);if(W){const le=G?.value.getCheckedNodes();if(le)if(l.multiple){const ue=[];le.forEach(fe=>{const pe=(fe.pathNodes??[]).map(we=>we.data);ue.push(pe)}),f("update:pathNodes",ue)}else{const fe=(le[0]?.pathNodes??[]).map(Se=>Se.data);f("update:pathNodes",fe)}f("update:modelValue",ee),f("change",ee)}return}const J=Go(l,$,M,S);if(J===null){if(x.value.length===0||x.value===null)return;x.value=[],y.value=null,W&&(f("update:pathNodes",[]),f("update:modelValue",null),f("change",null));return}const k=J[J.length-1];if(L.value.checkStrictly!==!0&&k&&!Array.isArray(k)&&Array.isArray(k.children)&&k.children.length>0){const ee=[];J.forEach(le=>{const ue=`${lt(l,le)}`;ee.push(ue)}),ee.length>0&&(K.value=ee.join(l.separator))}else K.value=null;let Y=!0;if(J.length!==x.value.length)Y=!1;else for(let ee=0;ee<J.length;ee++){const le=J[ee],ue=x.value[ee];if(Array.isArray(le)){if(!Array.isArray(ue)||le.length!==ue.length)Y=!1;else for(let fe=0;fe<le.length;fe++)if(!jl(l,le[fe],ue[fe])){Y=!1;break}}else jl(l,le,ue)||(Y=!1);if(!Y)break}if(!Y){x.value=J;let ee=[],le=[];J.forEach(fe=>{if(Array.isArray(fe)){let Se=[],pe=[];for(let we of fe)Se.push(gt(l,we)),l.valueType==="text"?pe.push(lt(l,we)):l.valueType==="item"?pe.push(we):pe.push(gt(l,we));ee.push(Se),le.push(pe)}else ee.push(gt(l,fe)),l.valueType==="text"?le.push(lt(l,fe)):l.valueType==="item"?le.push(fe):le.push(gt(l,fe))}),y.value=ee;const ue=t.toRaw(le);W&&(f("update:pathNodes",J),f("update:modelValue",ue),f("change",ue))}},g=t.ref([]),P=Ae(t.computed(()=>l.appearLoad),"appearLoad",We.Near,$=>de($)),b=pf(),c=async($,M)=>{if($){const S=await b.load("cascader",$,M);if(S.length>0)if(typeof S[0]=="string"){let k=S.map(Y=>bf(Y));g.value=k}else g.value=S}};t.watch([()=>l.source,()=>l.params],async([$,M])=>{c($,M)},{immediate:!(P.value||l.lazy)});let E=!1;const B=()=>{E||(E=!0,c(l.source,l.params))};t.watch([()=>g.value,()=>l.modelValue],([$,M])=>{m(M,l.valueType,$,!1),f("setValue",M)}),l.lazy&&m(l.modelValue,"value",[],!1);let I=null,C=t.ref(!1);typeof l.remoteMethod=="function"&&(I=async $=>{if($!=null){C.value=!0;try{const M=await l.remoteMethod($);g.value=M}catch(M){console.error(M)}C.value=!1}});const A=t.ref(!1),T=e,K=t.ref(null),p=t.computed(()=>({[T]:!0,"is-incomplete":K.value&&K.value.length>0})),L=t.computed(()=>{let $={label:l.textKey,value:l.valueKey,children:l.childrenKey};return l.multiple===!0&&($.multiple=!0),l.props&&Object.assign($,l.props),l.lazy&&($.lazy=!0,typeof l.lazyLoad=="function"?$.lazyLoad=l.lazyLoad:$.lazyLoad=async(M,S)=>{const W=await b.load("cascader",l.source,M,!0);if(M?.config?.checkStrictly!==!0&&Array.isArray(y.value)&&y.value.length===M.level){const J=M.pathLabels??[];let k=[];J.forEach(Y=>{Y&&k.push(Y)}),k.length>0&&(K.value=k.join(l.separator))}else K.value=null;S(W)}),$}),X=$=>{l.allowCreate?(f("update:modelValue",$),f("change",$),y.value=$):m($,"value",g.value,!0)};let _=ge(l,"hintText"),N=t.ref(!1);const z=$=>{let S=$.target.value;A.value=!0,me(_.value)||(N.value=!0),f("focus",S,$)},R=$=>{setTimeout(()=>{N.value&&(N.value=!1),A.value=!1},0);let S=$.target.value;l.maxLength&&S.length>Number(l.maxLength)&&(S=S.slice(0,Number(l.maxLength))),q.value||f("blur",S,$)},Z=()=>{f("clear","")},U=t.ref(!1);let H=null;const te=()=>{l.showTooltip&&U.value===!1&&(H&&clearTimeout(H),H=setTimeout(()=>{U.value=!0},150))},D=()=>{H&&(clearTimeout(H),U.value=!1,H=null)},O=t.computed(()=>U.value||N.value),j=t.computed(()=>U.value?w.value:_.value),q=t.ref(!1),V=$=>{q.value=$,f("visible-change",$),$||f("selected")},Q=$=>{f("remove-tag",$)},ne=$=>{f("expand-change",$)},G=t.ref();return ve({focus:()=>{G?.value.focus()},blur:()=>{G?.value.blur()},getCheckedNodes:()=>G?.value.getCheckedNodes(),setDisabled:$=>{r.value=$},setReadonly:$=>{u.value=$}}),()=>{const M={...o.attrs,ref:G,class:p.value,props:L.value,clearable:l.clearable,placeholder:K.value||d.placeholder.value,disabled:i.value||s.value,options:g.value,modelValue:y.value,separator:l.separator,onClear:Z,onChange:X,onFocus:z,onBlur:R,onVisibleChange:V,onRemoveTag:Q,expandChange:ne};typeof I=="function"&&(M["remote-method"]=I,M.loading=C.value);const S={};o.slots.option&&(S.default=o.slots.option),o.slots.empty&&(S.empty=o.slots.empty);const W=[],J=t.h(F.ElCascader,M,S);W.push(J);const k={default:()=>W};k.label=o.slots.default,k.fixedPreTip=o.slots.fixedPreTip,k.fixedTip=o.slots.fixedTip;const ee={...Ie(l,Xo),hintText:j.value,hintVisible:O.value,onMouseover:te,onMouseleave:D};return l.prop&&(ee.prop=`${l.prop}_item`),P.value&&!l.lazy&&(ee["appear-listen"]=!0,ee.onAppear=B),t.h(a,ee,k)}}}}const{componentName:wf,create:Sf,scope:xf}=se("cascader-item"),Hl=Sf(vf(wf,xf,$e)),Zo={modelValue:{type:[String,Object],required:!1},clearable:{type:[Boolean,String],default:!0},unit:{type:[String],required:!1},placeholder:{type:[String],required:!1}};function Cf(e,n,a){return{props:{...Te,...Ve,...Zo},emits:["change","update:modelValue","blur","focus","clear","input","select","setValue"],setup(l,o){const r=t.ref(null),i=Me(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Fe(t.computed(()=>u.value??l.readonly)),{emitEvent:f}=Ne({componentName:e,get readonly(){return s.value},get disabled(){return i.value}},l.prop??o.attrs.name),{toLocaleRefs:h}=Ce.useFoxI18n(n),d=h(l,["placeholder"]),y=t.ref(!1),x=ge(l,"modelValue",null,f),w=e,m=t.computed(()=>({[w]:!0})),g=T=>{x.value=T,f("update:modelValue",T),f("input",T)},P=T=>{f("change",T)},b=T=>{f("select",T)};let c=ge(l,"hintText"),E=t.ref(!1);const B=T=>{let p=T.target.value;y.value=!0,me(c.value)||(E.value=!0),f("focus",p,T)},I=T=>{setTimeout(()=>{E.value&&(E.value=!1),y.value=!1},0);let p=T.target.value;l.maxLength&&p.length>Number(l.maxLength)&&(p=p.slice(0,Number(l.maxLength))),f("blur",p,T)},C=()=>{f("clear","")},A=t.ref();return ve({focus:()=>{A?.value.focus()},blur:()=>{A?.value.blur()},select:()=>{A?.value.select()},setDisabled:T=>{r.value=T},setReadonly:T=>{u.value=T}}),()=>{const K={...o.attrs,ref:A,class:m.value,placeholder:d.placeholder.value,clearable:l.clearable,disabled:i.value,readonly:s.value,modelValue:x.value,onClear:C,onChange:P,onInput:g,onFocus:B,onBlur:I,onSelect:b},p={};o.slots.prepend&&(p.prepend=o.slots.prepend),o.slots.append&&(p.append=o.slots.append),o.slots.prefix&&(p.prefix=o.slots.prefix),o.slots.suffix&&(p.suffix=o.slots.suffix),o.slots.option&&(p.default=o.slots.option);const L=[],X=t.h(F.ElAutocomplete,K,p);L.push(X);const _={default:()=>L};_.label=o.slots.default,_.fixedPreTip=o.slots.fixedPreTip,_.fixedTip=o.slots.fixedTip;const z={...Ie(l,Zo),hintText:c.value,hintVisible:E.value};return l.prop&&(z.prop=`${l.prop}_item`),t.h(a,z,_)}}}}const{componentName:Tf,create:$f,scope:kf}=se("autocomplete-item"),Kl=$f(Cf(Tf,kf,$e));function Df(e,n,a,l,o){let r=[];Array.isArray(e)?r=e:r=[e];const i=[],u=n[0];if(Array.isArray(e)&&!Array.isArray(u)&&!u[o]){let s=n;for(let f=0;s&&f<r.length;f++){let h=r[f],d=s.find(y=>y[l]===h);if(!d)break;i.push(d[a])}return i}if(Array.isArray(u))for(let s=0;s<n.length&&s<r.length;s++){let f=n[s],h=r[s];const d=f.find(y=>y[l]===h);if(!d)break;i.push(d[a])}else{let s=n;for(let f=0;s&&f<r.length;f++){let h=r[f],d=s.find(y=>y[l]===h);if(!d)break;i.push(d[a]),s=d[o]}}return i}let Nf=class{proxy;constructor(n){this.proxy=n}async load(n,a,l){if(Array.isArray(a))return a;if(typeof a=="function")return await a(l);const o=Pe(this.proxy,n);return o===null?(console.error(`${n} component not found api function`),[]):(He(l)&&t.isReactive(l)&&(l=t.toRaw(l)),await o(a,l))}};function Ef(){const e=t.getCurrentInstance();return new Nf(e.proxy)}const Jo={tag:{type:[String,Object],required:!1,default:"span"},resolveTag:{type:[Boolean],required:!1,default:!1},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],required:!1},separator:{type:[String,Boolean,Number,Array],required:!1,default:"/"},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},emptyTag:{type:[String],required:!1,default:"span"},emptyClass:{type:[String],required:!1}};function If(e,n){return{props:{...Jo},setup(a,{attrs:l,slots:o}){const r=Ef(),i=t.ref([]);t.watch([()=>a.source,()=>a.params],async([f,h])=>{i.value=await r.load(a.sourceType,f,h)},{immediate:!0});const u=t.computed(()=>{if(!Array.isArray(i.value)||i.value.length===0)return"";let f=Df(a.modelValue,i.value,a.textKey,a.valueKey,a.childrenKey);return f.length==0?a.emptyText??"":f.length===1?a.optionType=="item"?`${a.modelValue}${a.separator}${f[0]}`:f[0]:f.join(a.separator)}),s=a.resolveTag?t.resolveComponent(a.tag):a.tag;return()=>{const f={...l};return o.default?o.default({text:u.value,value:a.modelValue}):a.resolveTag?a.emptyText!==void 0&&a.emptyText===u.value?t.h(a.emptyTag??"span",{...l,class:a.emptyClass},u.value):t.h(s,f,{default:()=>u.value}):t.h(s,f,u.value)}}}}const{create:Vf}=se("mapping"),qt=Vf(If());function Of(e,n){let a=n.split("."),l=e;for(let o=0;o<a.length;o++){let r=a[o],i=0,u=r.indexOf("["),s=u==-1?-1:r.indexOf("]",u);for(;u!==-1&&s!==-1;){let f=r.substring(u+1,s);if(/^\d+$/.test(f)){let h=parseInt(f);if(i==0){let d=r.substring(0,u);l=l[d][h]}else l=l[h];i++}u=r.indexOf("[",s),s=u==-1?-1:r.indexOf("]",u)}i===0&&(l=l[r])}return l}function Af(e,n){return{props:{...Jo},setup(a,{attrs:l,slots:o}){return()=>{const r={default:i=>{const u=Of(i.row,i.column.property);return o.default?t.h(qt,{...a,modelValue:u},{default:o.default}):t.h(qt,{...a,modelValue:u})}};for(let i in o)i!=="default"&&(r[i]=o[i]);return t.h(F.ElTableColumn,{...l},r)}}}}const{create:Ff}=se("table-mapping-column"),Wl=Ff(Af()),Mf=Symbol.for("TableStateKey");function Qo(e,n){let a=n.split("."),l=e;for(let o=0;o<a.length;o++){let r=a[o],i=0,u=r.indexOf("["),s=u==-1?-1:r.indexOf("]",u);for(;u!==-1&&s!==-1;){let f=r.substring(u+1,s);if(/^\d+$/.test(f)){let h=parseInt(f);if(i==0){let d=r.substring(0,u);l=l[d][h]}else l=l[h];i++}u=r.indexOf("[",s),s=u==-1?-1:r.indexOf("]",u)}i===0&&(l=l[r])}return l}function Rf(e,n){return{props:{},setup(a,{attrs:l}){const o=t.inject(Mf,{});return()=>{const r=o.currentRow?o.currentRow.value:null,i={default:u=>{const s=Qo(u.row,u.column.property),f=r?Qo(r,u.column.property):null,h=s===f,d={class:{"el-radio__input":!0,"is-checked":h}},y=t.h("span",d,[t.h("span",{class:{"el-radio__inner":!0}})]),x={class:{"el-radio":!0,"is-checked":h}};return t.h("label",x,[y])}};return t.h(F.ElTableColumn,{...l},i)}}}}const{create:Bf}=se("table-radio-column"),Yl=Bf(Rf()),Lf={},Pf={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 _f(e,n){return t.openBlock(),t.createElementBlock("svg",Pf,n[0]||(n[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)]))}const qf=Re(Lf,[["render",_f]]),{create:zf}=se("table-setting"),jf={tableRef:{type:Object},popoverPlacement:{type:[String],required:!1,default:"bottom"},popoverWidth:{type:[String,Number],required:!1,default:280},title:{type:[String],required:!1,default:"列设置"},resetText:{type:[String],required:!1,default:"重置"},leftFixedTitle:{type:[String],required:!1,default:"固定在左侧"},rightFixedTitle:{type:[String],required:!1,default:"固定在右侧"},unFixedTitle:{type:[String],required:!1,default:"不固定"},fixedLeftText:{type:[String],required:!1,default:"固定到列头"},fixedRightText:{type:[String],required:!1,default:"固定到列尾"},unFixedText:{type:[String],required:!1,default:"不固定"}},Hf=zf({components:{FoxPopover:F.ElPopover,FoxCheckbox:F.ElCheckbox,FoxCheckboxGroup:F.ElCheckboxGroup,FoxButton:F.ElButton,FoxIcon:F.ElIcon,DragIcon:qf,Download:Ee.Download,RefreshLeft:Ee.RefreshLeft},props:{...jf},setup(e,{emit:n,attrs:a}){let l=[];const o=t.ref([]),r=t.computed(()=>o.value.filter(V=>V.label===""||V.type?!1:V.fixed===""||V.fixed===!0||V.fixed==="left")),i=t.computed(()=>o.value.filter(V=>V.label===""||V.type?!1:V.fixed==="right")),u=t.computed(()=>o.value.filter(V=>!(V.label===""||V.type||V.fixed!==void 0))),s=t.computed(()=>(r.value.length>0||i.value.length>0)&&u.value.length>0),f=t.computed(()=>r.value.length>0),h=t.computed(()=>i.value.length>0),d=V=>V.length>1,y=(V,Q)=>{Array.isArray(V)&&Array.isArray(Q)&&V.forEach($=>{Q.some(M=>M.prop===$.prop?($.label=M.label,!0):!1)});const ne=[];o.value=V.map(($,M)=>(!($.label===""||$.type)&&$.visible!==!1&&ne.push($.prop),{...$,sortIndex:M})),u.value.length+r.value.length+i.value.length===ne.length?b.value=!0:ne.length>0&&(c.value=!0),I.value=ne},x=V=>V?V.type?V.type:V.label?V.prop:"":"",w=(V,Q)=>{if(V.length!==Q.length)return!1;const ne=V.map(G=>x(G));for(let G of Q){const $=x(G);if(ne.indexOf($)===-1)return!1}return!0},m=V=>{if(!V){const Q=e.tableRef.getColumnSetting(),ne=Q.srcColumnPropertyList;l=ne.map((G,$)=>({...G,sortIndex:$})),V=Q.columnPropertyList,V&&V.length>0&&w(ne,V)||(V=ne)}y(V,l)},g=()=>{e.tableRef.setColumnSetting(o.value)},P=t.computed(()=>({"max-width":`${e.popoverWidth-125}px`})),b=t.ref(!1),c=t.ref(!1),E=V=>{const Q=[];o.value.forEach(G=>{V&&!(G.label===""||G.type)&&Q.push(G.prop),G.visible=V}),b.value=!1,c.value=!1,u.value.length+r.value.length+i.value.length===Q.length?b.value=!0:Q.length>0&&(c.value=!0),I.value=Q,g()},B=()=>{m(l),g()},I=t.ref([]),C=V=>{o.value.forEach(ne=>{if(ne.label===""||ne.type)return;const G=V.indexOf(ne.prop)!==-1;ne.visible=G}),b.value=!1,c.value=!1;const Q=u.value.length+r.value.length+i.value.length;V.length===Q?b.value=!0:V.length>0&&(c.value=!0),g()},A=()=>{m()};t.onMounted(()=>{setTimeout(()=>{m()},50)});const T={currentRow:null,index:null,roleType:null},K=V=>V?V.dataset&&V.dataset.role==="row"?V:V.tagName.toLowerCase()!=="body"?(V=V.parentElement,K(V)):null:null,p=V=>{const Q=V.currentTarget;Q&&Q.dataset&&(T.roleType=Q.dataset.roleType,T.index=Q.dataset.index)},L=V=>{T.currentRow&&(T.currentRow.classList.remove("is-dragover"),T.currentRow=null),T.index=null,T.roleType=null},X=V=>{const Q=V.currentTarget;V.relatedTarget;const ne=K(Q);if(!ne)return;const G=ne.dataset&&ne.dataset.roleType;T.roleType===G&&(V.preventDefault(),T.currentRow&&T.currentRow!==ne&&T.currentRow.classList.remove("is-dragover"),ne.classList.add("is-dragover"),T.currentRow=ne)},_=V=>{V.preventDefault(),T.currentRow&&(T.currentRow.classList.remove("is-dragover"),T.currentRow=null)},N=V=>{const Q=V.currentTarget,ne=K(Q);if(!ne)return;const G=ne.dataset&&ne.dataset.roleType;if(T.roleType!==G)return;V.preventDefault();const $=Number(T.index),M=Number(ne.dataset.index);if($!==M){if($<M){const S=o.value[$];o.value.splice($,1),o.value.splice(M,0,S)}else{const S=o.value[$];o.value.splice($,1),o.value.splice(M+1,0,S)}y(o.value,l),g()}},z=V=>{const Q=o.value[V];Q.fixed="left",g()},R=V=>{const Q=o.value[V];Q.fixed="right",g()},Z=V=>{const Q=o.value[V];Q.fixed=void 0,g()},U=new Map;let H=null;function te(V){const Q=document.createRange();return Q.setStart(V,0),Q.setEnd(V,V.childNodes.length),Q.getBoundingClientRect().width}return{attrs:a,leftFixedColumns:r,rightFixedColumns:i,unFixedColumns:u,isShowNotFixedTitle:s,isShowLeftFixedTitle:f,isShowRightFixedTitle:h,isDraggble:d,isCheckAll:b,isIndeterminate:c,handleCheckAllChange:E,handleReset:B,checkedValue:I,handleCheckChange:C,onShow:A,onDragStart:p,onDragEnd:L,onDragOver:X,onDragLeave:_,onDrop:N,toLeftFixed:z,toRightFixed:R,toUnFixed:Z,checkboxLabelStyle:P,onMouseOverForOverflowText:(V,Q,ne)=>{const G=V.currentTarget;if(G){const $=Math.floor(G.offsetWidth);if(Math.floor(te(G))>$){let S=U.get(Q);if(S){if(S===H)return;_e.hide(S)}S=_e.show(G,ne,{type:"text",placement:"top",closeOnClick:!1}),S&&(U.set(Q,S),H=S)}}},onMouseLeaveForOverflowText:(V,Q)=>{const ne=U.get(Q);ne&&(_e.hide(ne),ne===H&&(H=null))},onMouseOverForTip:(V,Q)=>{const ne=V.currentTarget;ne&&(H&&_e.hide(H),H=_e.show(ne,Q,{type:"text",placement:"top",closeOnClick:!1}))},onMouseLeaveForTip:V=>{H&&(_e.hide(H),H=null)}}}}),Kf={class:"fox-table-setting"},Wf={class:"fox-table-setting__header"},Yf={class:"fox-table-setting__body"},Uf={key:0,class:"fox-table-setting__body-list left-fixed","data-role":"container","data-role-type":"leftFixed"},Gf={key:0,class:"fox-table-setting__body-title"},Xf=["data-index","draggable"],Zf=["onMouseover","onMouseleave"],Jf={class:"tools-item"},Qf={key:1,class:"fox-table-setting__body-list not-fixed","data-role":"container","data-role-type":"unFixed"},ed={key:0,class:"fox-table-setting__body-title"},td=["data-index","draggable"],nd=["onMouseover","onMouseleave"],ld={class:"tools-item"},ad={key:2,class:"fox-table-setting__body-list right-fixed","data-role":"container","data-role-type":"rightFixed"},od={key:0,class:"fox-table-setting__body-title"},rd=["data-index","draggable"],id=["onMouseover","onMouseleave"],sd={class:"tools-item"};function ud(e,n,a,l,o,r){const i=t.resolveComponent("FoxCheckbox"),u=t.resolveComponent("FoxButton"),s=t.resolveComponent("DragIcon"),f=t.resolveComponent("RefreshLeft"),h=t.resolveComponent("FoxIcon"),d=t.resolveComponent("Download"),y=t.resolveComponent("fox-checkbox"),x=t.resolveComponent("FoxCheckboxGroup"),w=t.resolveComponent("FoxPopover");return t.openBlock(),t.createBlock(w,t.mergeProps(e.attrs,{placement:e.popoverPlacement,width:e.popoverWidth,onShow:e.onShow,trigger:"click","popper-class":"fox-table-setting__popper"}),{reference:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),default:t.withCtx(()=>[t.createElementVNode("div",Kf,[t.createElementVNode("div",Wf,[t.createVNode(i,{modelValue:e.isCheckAll,"onUpdate:modelValue":n[0]||(n[0]=m=>e.isCheckAll=m),indeterminate:e.isIndeterminate,onChange:e.handleCheckAllChange},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.title),1)]),_:1},8,["modelValue","indeterminate","onChange"]),t.createVNode(u,{onClick:e.handleReset,link:"",type:"primary"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.resetText),1)]),_:1},8,["onClick"])]),t.createElementVNode("div",Yf,[t.createVNode(x,{modelValue:e.checkedValue,"onUpdate:modelValue":n[28]||(n[28]=m=>e.checkedValue=m),onChange:e.handleCheckChange},{default:t.withCtx(()=>[e.leftFixedColumns.length>0?(t.openBlock(),t.createElementBlock("div",Uf,[e.isShowLeftFixedTitle?(t.openBlock(),t.createElementBlock("div",Gf,t.toDisplayString(e.leftFixedTitle),1)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.leftFixedColumns,m=>(t.openBlock(),t.createElementBlock("div",{key:m.prop,class:"fox-table-setting__body-row","data-role":"row","data-role-type":"leftFixed","data-index":m.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)?(t.openBlock(),t.createBlock(s,{key:0,class:"icon-item"})):t.createCommentVNode("",!0),t.createVNode(i,{class:"checkbox-item",value:m.prop},{default:t.withCtx(()=>[t.createElementVNode("span",{onMouseover:g=>e.onMouseOverForOverflowText(g,m.prop,m.label),onMouseleave:g=>e.onMouseLeaveForOverflowText(g,m.prop),class:"checkbox-item__label",style:t.normalizeStyle(e.checkboxLabelStyle)},t.toDisplayString(m.label),45,Zf)]),_:2},1032,["value"]),t.createElementVNode("div",Jf,[t.createVNode(h,{onClick:g=>e.toUnFixed(m.sortIndex),onMouseover:n[1]||(n[1]=g=>e.onMouseOverForTip(g,e.unFixedText)),onMouseleave:n[2]||(n[2]=g=>e.onMouseLeaveForTip(g))},{default:t.withCtx(()=>[t.createVNode(f)]),_:2},1032,["onClick"]),t.createVNode(h,{onClick:g=>e.toRightFixed(m.sortIndex),onMouseover:n[3]||(n[3]=g=>e.onMouseOverForTip(g,e.fixedRightText)),onMouseleave:n[4]||(n[4]=g=>e.onMouseLeaveForTip(g))},{default:t.withCtx(()=>[t.createVNode(d)]),_:2},1032,["onClick"])])],40,Xf))),128))])):t.createCommentVNode("",!0),e.unFixedColumns.length>0?(t.openBlock(),t.createElementBlock("div",Qf,[e.isShowNotFixedTitle?(t.openBlock(),t.createElementBlock("div",ed,t.toDisplayString(e.unFixedTitle),1)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.unFixedColumns,m=>(t.openBlock(),t.createElementBlock("div",{key:m.prop,class:"fox-table-setting__body-row","data-role":"row","data-role-type":"unFixed","data-index":m.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)?(t.openBlock(),t.createBlock(s,{key:0,class:"icon-item"})):t.createCommentVNode("",!0),t.createVNode(i,{class:"checkbox-item",value:m.prop},{default:t.withCtx(()=>[t.createElementVNode("span",{onMouseover:g=>e.onMouseOverForOverflowText(g,m.prop,m.label),onMouseleave:g=>e.onMouseLeaveForOverflowText(g,m.prop),class:"checkbox-item__label",style:t.normalizeStyle(e.checkboxLabelStyle)},t.toDisplayString(m.label),45,nd)]),_:2},1032,["value"]),t.createElementVNode("div",ld,[t.createVNode(h,{onClick:g=>e.toLeftFixed(m.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:t.withCtx(()=>[t.createVNode(d)]),_:2},1032,["onClick"]),t.createVNode(h,{onClick:g=>e.toRightFixed(m.sortIndex),onMouseover:n[12]||(n[12]=g=>e.onMouseOverForTip(g,e.fixedRightText)),onMouseleave:n[13]||(n[13]=g=>e.onMouseLeaveForTip(g))},{default:t.withCtx(()=>[t.createVNode(d)]),_:2},1032,["onClick"])])],40,td))),128))])):t.createCommentVNode("",!0),e.rightFixedColumns.length>0?(t.openBlock(),t.createElementBlock("div",ad,[e.isShowRightFixedTitle?(t.openBlock(),t.createElementBlock("div",od,t.toDisplayString(e.rightFixedTitle),1)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.rightFixedColumns,m=>(t.openBlock(),t.createElementBlock("div",{key:m.prop,class:"fox-table-setting__body-row","data-role":"row","data-role-type":"rightFixed","data-index":m.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)?(t.openBlock(),t.createBlock(s,{key:0,class:"icon-item"})):t.createCommentVNode("",!0),t.createVNode(y,{class:"checkbox-item",label:m.prop},{default:t.withCtx(()=>[t.createElementVNode("span",{onMouseover:g=>e.onMouseOverForOverflowText(g,m.prop,m.label),onMouseleave:g=>e.onMouseLeaveForOverflowText(g,m.prop),class:"checkbox-item__label",style:t.normalizeStyle(e.checkboxLabelStyle)},t.toDisplayString(m.label),45,id)]),_:2},1032,["label"]),t.createElementVNode("div",sd,[t.createVNode(h,{onClick:g=>e.toUnFixed(m.sortIndex),onMouseover:n[19]||(n[19]=g=>e.onMouseOverForTip(g,e.unFixedText)),onMouseleave:n[20]||(n[20]=g=>e.onMouseLeaveForTip(g))},{default:t.withCtx(()=>[t.createVNode(f)]),_:2},1032,["onClick"]),t.createVNode(h,{onClick:g=>e.toLeftFixed(m.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:t.withCtx(()=>[t.createVNode(d)]),_:2},1032,["onClick"])])],40,rd))),128))])):t.createCommentVNode("",!0)]),_:1},8,["modelValue","onChange"])])])]),_:3},16,["placement","width","onShow"])}const Rn=Re(Hf,[["render",ud]]);let cd=class{proxy;constructor(n){this.proxy=n}async load(n,a,l,o,r,i,u){if(Array.isArray(a)){let f=(l-1)*o,h=f+o;h>a.length&&(h=a.length);const d=a.slice(f,h);return{totalSize:a.length,page:d}}if(typeof a=="function")return await Reflect.apply(a,null,[l,o,r,i,u]);const s=Pe(this.proxy,n);return s===null?(console.error(`${n} component not found api function`),{totalSize:0,page:[]}):(He(r)&&t.isReactive(r)&&(r=t.toRaw(r)),await Reflect.apply(s,null,[a,l,o,r,i,u]))}};function fd(){const e=t.getCurrentInstance();return new cd(e.proxy)}let dd=class{proxy;constructor(n){this.proxy=n}async load(n){let a=null;const l=Pe(this.proxy,"tableSetting");return typeof l=="function"&&(a=await Reflect.apply(l,null,["load",n])),a}save(n,a){const l=Pe(this.proxy,"tableSetting");typeof l=="function"&&Reflect.apply(l,null,["save",n,a])}remove(n){const a=Pe(this.proxy,"tableSetting");typeof a=="function"&&Reflect.apply(a,null,["remove",n])}};function hd(){const e=t.getCurrentInstance();return new dd(e.proxy)}const md=Symbol.for("TableStateKey"),er={data:{type:[String,Array,Function],required:!0},autoLoad:{type:[String,Boolean],required:!1,default:!1},lazyLoad:{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"}},tr={pageIndex:{type:[Number],required:!1,default:1},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:!0},paginationSmall:{type:[Boolean],required:!1,default:!1},showPagination:{type:[Boolean],required:!1,default:!0},hideOnSinglePage:{type:[Boolean],required:!1,default:!0}},Ul={popoverWidth:{type:[String,Number],required:!1,default:280},popoverPlacement:{type:[String],required:!1,default:"top-start"},title:{type:[String],required:!1,default:"列设置"},resetText:{type:[String],required:!1,default:"重置"},leftFixedTitle:{type:[String],required:!1,default:"固定在左侧"},rightFixedTitle:{type:[String],required:!1,default:"固定在右侧"},unFixedTitle:{type:[String],required:!1,default:"不固定"},fixedLeftText:{type:[String],required:!1,default:"固定到列头"},fixedRightText:{type:[String],required:!1,default:"固定到列尾"},unFixedText:{type:[String],required:!1,default:"不固定"}},gd={infiniteLoad:{type:Boolean,default:!1},loadText:{type:String,default:"加载中..."},loadMoreText:{type:String,default:"无更多数据"}};function yd(e,n){let a=n.split("."),l=e;for(let o=0;o<a.length;o++){let r=a[o],i=0,u=r.indexOf("["),s=u==-1?-1:r.indexOf("]",u);for(;u!==-1&&s!==-1;){let f=r.substring(u+1,s);if(/^\d+$/.test(f)){let h=parseInt(f);if(i==0){let d=r.substring(0,u);l=l[d][h]}else l=l[h];i++}u=r.indexOf("[",s),s=u==-1?-1:r.indexOf("]",u)}i===0&&(l=l[r])}return l}function Gl(e,n){return e.filter(l=>{for(let o in n){const r=n[o],i=yd(l,o);if(r!==i)return!1}return!0})}function pd(e,n,a){return{inheritAttrs:!1,props:{...Te,...Ve,...er,...tr,...Ul,...gd},emits:["change","page-size-change","page-index-change","current-change","loaded-data","expand-change","row-click"],setup(l,o){const{locale:r}=Ce.useFoxI18n(n),{emitEvent:i,broadcast:u}=Ne({componentName:e,validateHandler:{getValue(...ae){return C.value}}},l.prop??o.attrs.name),s=e,f=t.computed(()=>({[s]:!0})),h=t.computed(()=>({[`${s}__setting`]:!0})),d=t.computed(()=>({[`${s}__footer`]:!0,[`${s}__footer__${l.footerAlign}`]:!0})),y=t.computed(()=>({[`${s}__pagination`]:!0,[`${s}__pagination__${l.paginationAlign}`]:!0})),x=t.shallowRef({}),w=t.computed(()=>({...x.value,...l.params??{},...l.baseParams??{}})),m=t.ref(l.infiniteLoad===!0?0:l.pageIndex),g=t.ref(l.pageSize),P=de(l.infiniteLoad);P||(t.watch(()=>l.pageIndex,ae=>{m.value=ae}),t.watch(()=>l.pageSize,ae=>{g.value=ae}),t.watch([m,g],([ae,oe],[ie,ce])=>{oe!==ce&&(m.value=1,ae=1),p(l.data,ae,oe,w.value)}));const b=()=>Array.isArray(l.data)?!0:de(l.autoLoad);b()&&t.watch([()=>l.data,w],async([ae,oe],[ie,ce])=>{b()&&(ae!==ie&&(T=!0),!(!Array.isArray(ae)&&Ye(ae,ie)&&Ye(oe,ce))&&(P?(m.value=0,B.value=!0,C.value=[],X()):m.value===1?p(ae,m.value,g.value,oe):m.value=1))},{deep:!0});const c=ae=>{m.value=ae,i("page-index-change",ae)},E=ae=>{g.value=ae,i("page-size-change",ae)},B=t.ref(!0),I=t.ref(0),C=t.ref(),A=fd();let T=!0;const K=Ae(t.computed(()=>l.lazyLoad),"lazyLoad",We.Near,ae=>de(ae)),p=async(ae,oe,ie,ce,ze)=>{T=!1;try{if(ze===!0){if(!B.value)return!1;const xe=await A.load("table",ae,oe,ie,ce,T,r.value);return I.value=xe.totalSize,!xe.page||!Array.isArray(xe.page)||(Reflect.apply([].push,C.value,xe.page),setTimeout(()=>{i("loaded-data")},250),(C.value?.length??0)>=I.value)||xe.page.length<ie?(B.value=!1,!1):!0}else{const xe=await A.load("table",ae,oe,ie,ce,T,r.value);return I.value=xe.totalSize,C.value=xe.page??[],setTimeout(()=>{i("loaded-data")},250),!0}}catch(xe){console.error("[FoxUI] Load Table Data Fail",xe),I.value=0,C.value=[]}return!1};let L=!1;const X=async()=>{if(!L){if(L=!0,!B.value){L=!1;return}m.value+=1,await p(l.data,m.value,g.value,w.value,!0),L=!1}},_=(ae={},oe=!1)=>new Promise(async ie=>{x.value=t.toRaw(ae??{}),oe||(m.value=l.pageIndex??1),P===!0?(m.value=0,C.value=[],B.value=!0,await X()):await p(l.data,m.value,g.value,w.value),ie()}),N=()=>{I.value=0,C.value=[],P===!0&&(m.value=0,B.value=!0)};let z=!1;const R=()=>{z||(z=!0,_())},Z=t.ref(null);if(P===!0){let ae=null;const oe=()=>{Z.value&&(ae=new IntersectionObserver(ce=>{let ze=!1;for(let xe of ce)if(xe.intersectionRatio>0){ze=!0;break}ze&&X()}),ae.observe(Z.value))},ie=()=>{!ae||!Z.value||(ae.unobserve(Z.value),ae=null)};t.onMounted(oe),t.onBeforeUnmount(ie)}b()&&!K.value&&_();const U=t.ref(null);t.provide(md,{currentRow:U});const H=(ae,oe)=>{U.value=ae,i("current-change",ae,oe)},te=(ae,oe,ie)=>{i("row-click",ae,oe,ie),de(l.rowClickSelectable)===!0&&Oe?.value.toggleRowSelection(ae)},D=[],O=(ae,oe)=>{if(i("expand-change",ae,oe),de(l.uniqueExpansion))if(Array.isArray(oe)&&oe.length==0){const ie=D.length;D.splice(0,ie)}else{D.forEach(ce=>{ce!==ae&&Oe?.value.toggleRowExpansion(ce,!1)});const ie=D.length;D.splice(0,ie,ae)}},j=o.attrs.id??l.prop??o.attrs.name,q=hd(),V=t.ref([]);let Q=[];const ne=()=>({srcColumnPropertyList:Q.map(oe=>({...oe})),columnPropertyList:V.value}),G=ae=>{V.value=[...ae],M()},$=async()=>{const ae=await q.load(j);ae&&(V.value=ae)},M=()=>{q.save(j,V.value)},S=()=>{q.remove(j)};$();const W=ae=>ae?ae.type?ae.type:ae.label?ae.prop:"":"",J=t.computed(()=>{if(typeof o.slots.default=="function"){const ae=o.slots.default(),oe=new Map;if(Q=[],ae.forEach(ie=>{const ce=ie;if(!ce.props)return;const ze=W(ce.props);oe.set(ze,ie);const xe={label:"",prop:""};Object.assign(xe,ce.props),Q.push(xe)}),V.value.length===Q.length){const ie=[];for(let ce of V.value){const ze=W(ce),xe=oe.get(ze);if(!xe)return ae;if(ce.visible===!1)continue;const at=xe;at.props.fixed=ce.fixed,ie.push(at)}return ie}return ae}return[]}),k=t.shallowRef(new Map),Y=({row:ae,column:oe,rowIndex:ie,columnIndex:ce})=>{const ze=`${ie}_${oe.property}`,xe=`${ie}_${ce}`;let at=k.value.get(ze);return at||(at=k.value.get(xe)),typeof at=="string"?at:""},ee=ae=>ae?oe=>{const ie=[];let ce=Y(oe);return ce&&ie.push(ce),ce=typeof ae=="function"?ae(oe):ae,ce&&ie.push(ce),ie.length===0?"":ie.join(" ")}:Y,le=(ae=!1)=>{k.value.forEach((oe,ie)=>{ue(ie,oe,ae)})},ue=(ae,oe,ie=!1)=>{const ce=`${ae}_item`;ie?(u.clearPersistantMessage(),Array.isArray(oe)?u.emitToChildren({name:ae},"setCellClassNames",[]):u.emitToChildren({name:ce},"setCustomClassName","")):Array.isArray(oe)?u.emitToChildren({name:ae,cachePolicy:"Persistant",uniqueId:ce},"setCellClassNames",oe):u.emitToChildren({name:ce,cachePolicy:"Persistant",uniqueId:ce},"setCustomClassName",oe)},fe=(ae,oe,ie)=>{const ce=`${ae}_${oe}`;ie?(k.value.set(ce,ie),ue(ce,ie)):(k.value.delete(ce),ue(ce,"",!0)),t.triggerRef(k)},Se=ae=>{le(!0),k.value.clear(),ae.forEach(oe=>{const ie=`${oe.rowIndex}_${oe.column}`;Array.isArray(oe.children)?k.value.set(ie,oe.children):typeof oe.cellClassName=="string"&&k.value.set(ie,oe.cellClassName)}),le(),t.triggerRef(k)},pe=()=>{le(),k.value.clear(),t.triggerRef(k)},we=t.shallowRef(new Map),tt=({rowIndex:ae})=>{const oe=`${ae}`;return we.value.get(oe)??""},ft=ae=>ae?oe=>{const ie=[];let ce=tt(oe);return ce&&ie.push(ce),ce=typeof ae=="function"?ae(oe):ae,ce&&ie.push(ce),ie.length===0?"":ie.join(" ")}:tt,Et=(ae,oe)=>{const ie=`${ae}`;oe?we.value.set(ie,oe):we.value.delete(ie),t.triggerRef(we)},Ea=()=>{we.value.clear(),t.triggerRef(we)},Oe=t.ref();return ve({clearSelection:()=>Oe?.value.clearSelection(),getSelectionRows:()=>Oe?.value.getSelectionRows(),toggleRowSelection:(ae,oe)=>{Oe?.value.toggleRowSelection(ae,oe)},toggleRowSelectionByProp:(ae,oe)=>{if(!C.value)return;const ie=Gl(C.value,ae);ie.length!==0&&ie.forEach(ce=>{Oe?.value.toggleRowSelection(ce,oe)})},toggleAllSelection:()=>{Oe?.value.toggleAllSelection()},toggleRowExpansion:(ae,oe)=>{Oe?.value.toggleRowExpansion(ae,oe)},toggleRowExpansionByProp:(ae,oe)=>{if(!C.value)return;const ie=Gl(C.value,ae);ie.length!==0&&ie.forEach(ce=>{Oe?.value.toggleRowExpansion(ce,oe)})},setCurrentRow:ae=>{Oe?.value.setCurrentRow(ae)},setCurrentRowByProp:ae=>{if(!C.value)return;const oe=Gl(C.value,ae);oe.length!==0&&Oe?.value.setCurrentRow(oe[0])},getCurrentRow:()=>U.value,clearSort:()=>{Oe?.value.clearSort()},clearFilter:ae=>{Oe?.value.clearFilter(ae)},doLayout:()=>{Oe?.value.doLayout()},sort:(ae,oe)=>{Oe?.value.sort(ae,oe)},scrollTo:(ae,oe)=>{Oe?.value.scrollTo(ae,oe)},setScrollTop:ae=>{Oe?.value.setScrollTop(ae)},setScrollLeft:ae=>{Oe?.value.setScrollLeft(ae)},loadData:_,clearData:N,getData(){return C.value},getTotalSize(){return I.value},getPageIndex(){return m.value},getPageSize(){return g.value},getColumnSetting:ne,setColumnSetting:G,removeColumnSetting:S,setCellClassName:fe,setCellClassNames:Se,clearCellClassName:pe,setRowClassName:Et,clearRowClassName:Ea}),()=>{const oe={...Je(o.attrs),onCurrentChange:H,onRowClick:te,onExpandChange:O,data:C.value,ref:Oe,class:f.value,"cell-class-name":ee(l.cellClassName),"row-class-name":ft(l.rowClassName)},ie={};if(o.slots.default&&(ie.default=()=>J.value),o.slots.append&&(ie.append=()=>o.slots.append),o.slots.empty&&(ie.empty=()=>o.slots.empty),P===!0){const Ge=[];if(B.value){const Yt=t.h(Ee.Loading,{class:`${s}__infinite-icon`});Ge.push(Yt);const Va=t.h("span",{class:`${s}__infinite-text`},[l.loadText]);Ge.push(Va)}else{const Yt=t.h("span",{class:`${s}__infinite-text`},[l.loadMoreText]);Ge.push(Yt)}const bt={ref:Z,class:`${s}__infinite`},Ia=t.h("div",bt,Ge);ie.append=()=>Ia}const ce=t.h(F.ElTable,oe,ie),ze=[];if(ze.push(ce),!P){let Ge=null;if(typeof o.slots.pagination=="function")Ge=o.slots.pagination();else if(l.showPagination){const bt={class:y.value,total:I.value,pageSize:g.value,"onUpdate:pageSize":E,pageSizes:l.pageSizes,currentPage:m.value,"onUpdate:currentPage":c,hideOnSinglePage:l.hideOnSinglePage,layout:l.paginationLayout,samll:l.paginationSmall,background:l.paginationBackground};Ge=t.h(F.ElPagination,bt)}if(l.showSetting){const bt=[];Ge&&bt.push(Ge);const Ia=t.h(F.ElIcon,{class:h.value},{default:()=>t.h(Ee.Setting)}),Yt=At(l,Ul),Va=t.h(Rn,{...Yt,tableRef:{getColumnSetting:ne,setColumnSetting:G,removeColumnSetting:S}},{default:()=>Ia});bt.push(Va);const Zy=t.h("div",{class:d.value},bt);ze.push(Zy)}else Ge&&ze.push(Ge)}const xe={default:()=>ze},It={...Ie(l,er,tr,Ul)};return l.prop&&(It.prop=`${l.prop}_item`),It.contentClass=`${s}__wrap`,It.errorMarkClass="is-table-error",K.value&&b()&&(It["appear-listen"]=!0,It.onAppear=R),t.h(a,It,xe)}}}}const{componentName:bd,create:vd,scope:wd}=se("table-item"),Xl=vd(pd(bd,wd,$e));function $t(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function zt(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function Sd(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}let xd=class{proxy;constructor(n){this.proxy=n}async load(n,a,l){if(Array.isArray(a))return a;if(typeof a=="function")return await a(l);const o=Pe(this.proxy,n);return o===null?(console.error(`${n} component not found api function`),[]):(He(l)&&t.isReactive(l)&&(l=t.toRaw(l)),await o(a,l))}};function Cd(){const e=t.getCurrentInstance();return new xd(e.proxy)}function nr(e,n,a){if(n===a)return!0;if(n===null||a===null)return!1;const l=$t(e,n),o=$t(e,a);if(l!==o)return!1;const r=zt(e,n),i=zt(e,a);return r===i}function Td(e,n,a,l){if(l.length==0||n===""||n===null||n===void 0)return null;let o=null;for(let r of l){let i=!1;if(a==="text")i=$t(e,r)===n;else if(a==="item")i=nr(e,r,n);else{let u=zt(e,r);u==null&&(u=$t(e,r)),i=u===n}if(i){o=r;break}}return o}function $d(e){return{text:e,value:e}}function kd(e,n,a){return typeof e.itemOptions=="function"?e.itemOptions(n,a):e.itemOptions}const lr={modelValue:{type:[String,Object,Boolean,Number],required:!1},source:{type:[Array,Function,String],default:[]},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}};function Dd(e,n,a){return{inheritAttrs:!0,props:{...Te,...Ve,...lr},emits:["change","update:modelValue","setValue"],setup(l,o){const r=t.ref(null),i=Me(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Fe(t.computed(()=>u.value??l.readonly)),{emitEvent:f}=Ne({componentName:e,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus","setValue"],get readonly(){return s.value},get disabled(){return i.value}},l.prop??o.attrs.name),h=t.ref(null),d=t.ref(null),y=(T,K,p,L=!0)=>{const X=Td(l,T,K,p);if(X===null){if(d.value===null)return;d.value=null,h.value=null,L&&(f("update:modelValue",null),f("change",null));return}if(!nr(l,X,d.value)){h.value=T;const N=t.toRaw(X);d.value=N;let z=null;l.valueType==="text"?z=$t(l,N):l.valueType==="item"?z=N:z=zt(l,N),L&&(f("update:modelValue",z),f("change",z))}},x=t.ref([]),w=Ae(t.computed(()=>l.appearLoad),"appearLoad",We.Near,T=>de(T)),m=Cd(),g=async(T,K)=>{if(T){const p=await m.load("radio",T,K);if(p.length>0)if(typeof p[0]=="string"){let _=p.map(N=>$d(N));x.value=_}else x.value=p}};t.watch([()=>l.source,()=>l.params],async([T,K])=>{g(T,K)},{immediate:!w.value});let P=!1;const b=()=>{P||(P=!0,g(l.source,l.params))};t.watch([()=>x.value,()=>l.modelValue],([T,K])=>{y(K,l.valueType,T,!1),f("setValue",K)});const c=e,E=t.computed(()=>({[c]:!0,[`is-${l.direction}`]:!0})),B=T=>{y(T,"value",x.value,!0)};let I=ge(l,"hintText"),C=ge(l,"hintVisible");const A=(T,K)=>{const p=[];return T.forEach((L,X)=>{const _=zt(l,L),N=$t(l,L);let z=Sd(l,L);i.value===!0&&(z=i.value),s.value===!0&&(z=s.value);const R=kd(l,L,X)??{},Z=`${_}_${X}`,U={...R,key:Z,value:_,size:l.size,border:de(l.border)};z&&(U.disabled=z),l.itemType==="button"?p.push(t.h(F.ElRadioButton,U,{default:()=>[N]})):typeof K=="function"?p.push(t.h(F.ElRadio,U,{default:()=>K(L)})):p.push(t.h(F.ElRadio,U,{default:()=>[N]}))}),p};return ve({setDisabled:T=>{r.value=T},setReadonly:T=>{u.value=T}}),()=>{const K={...Je(o.attrs),class:E.value,disabled:i.value||s.value,modelValue:h.value,"text-color":l.textColor,fill:l.fill,onChange:B},p=[],L={};o.slots.options?L.default=o.slots.options:L.default=()=>A(x.value,o.slots.text);const X=t.h(F.ElRadioGroup,K,L);p.push(X);const _={default:()=>p};_.label=o.slots.default,_.fixedPreTip=o.slots.fixedPreTip,_.fixedTip=o.slots.fixedTip;const z={...Ie(l,lr),hintText:I.value,hintVisible:C.value};return l.prop&&(z.prop=`${l.prop}_item`),w.value&&(z["appear-listen"]=!0,z.onAppear=b),t.h(a,z,_)}}}}const{componentName:Nd,create:Ed,scope:Id}=se("radio-item"),Zl=Ed(Dd(Nd,Id,$e));function kt(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function Dt(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function Vd(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}let Od=class{proxy;constructor(n){this.proxy=n}async load(n,a,l){if(Array.isArray(a))return a;if(typeof a=="function")return await a(l);const o=Pe(this.proxy,n);return o===null?(console.error(`${n} component not found api function`),[]):(He(l)&&t.isReactive(l)&&(l=t.toRaw(l)),await o(a,l))}};function Ad(){const e=t.getCurrentInstance();return new Od(e.proxy)}function ar(e,n,a){if(n===a)return!0;if(n===null||a===null)return!1;const l=kt(e,n),o=kt(e,a);if(l!==o)return!1;const r=Dt(e,n),i=Dt(e,a);return r===i}function Fd(e,n,a,l){if(l.length==0||n===""||n===null||n===void 0)return null;Array.isArray(n)||(n=[n]);const o=[];return n.forEach(r=>{for(let i of l){let u=!1;if(a==="text")u=kt(e,i)===r;else if(a==="item")u=ar(e,i,r);else{let s=Dt(e,i);s==null&&(s=kt(e,i)),u=s===r}if(u){o.push(i);break}}}),o}function Md(e){return{text:e,value:e}}function Rd(e,n,a){return typeof e.itemOptions=="function"?e.itemOptions(n,a):e.itemOptions}const or={modelValue:{type:[Array,String],required:!1},source:{type:[Array,Function,String],default:[]},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}};function Bd(e,n,a){return{inheritAttrs:!0,props:{...Te,...Ve,...or},emits:["change","update:modelValue","setValue"],setup(l,o){const r=t.ref(null),i=Me(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Fe(t.computed(()=>u.value??l.readonly)),{emitEvent:f}=Ne({componentName:e,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus","setValue"],get readonly(){return s.value},get disabled(){return i.value}},l.prop??o.attrs.name),h=t.ref([]),d=t.ref([]),y=(T,K,p,L=!0)=>{const X=Fd(l,T,K,p);if(X===null){if(d.value===null||d.value.length===0)return;h.value=[],d.value=[],L&&(f("update:modelValue",[]),f("change",[]));return}let _=!0;if(X.length!==d.value.length)_=!1;else for(let N=0;N<X.length;N++){const z=X[N],R=d.value[N];if(!ar(l,z,R)){_=!1;break}}if(!_){d.value=X;let N=[],z=[];X.forEach(Z=>{N.push(Dt(l,Z)),l.valueType==="text"?z.push(kt(l,Z)):l.valueType==="item"?z.push(Z):z.push(Dt(l,Z))}),h.value=N;const R=t.toRaw(z);L&&(f("update:modelValue",R),f("change",R))}},x=t.ref([]),w=Ae(t.computed(()=>l.appearLoad),"appearLoad",We.Near,T=>de(T)),m=Ad(),g=async(T,K)=>{if(T){const p=await m.load("checkbox",T,K);if(p.length>0)if(typeof p[0]=="string"){let _=p.map(N=>Md(N));x.value=_}else x.value=p}};t.watch([()=>l.source,()=>l.params],async([T,K])=>{g(T,K)},{immediate:!w.value});let P=!1;const b=()=>{P||(P=!0,g(l.source,l.params))};t.watch([()=>x.value,()=>l.modelValue],([T,K])=>{y(K,l.valueType,T,!1),f("setValue",K)});const c=e,E=t.computed(()=>({[c]:!0,[`is-${l.direction}`]:!0})),B=T=>{y(T,"value",x.value,!0)};let I=ge(l,"hintText"),C=ge(l,"hintVisible");const A=(T,K)=>{const p=[];return T.forEach((L,X)=>{const _=Dt(l,L),N=kt(l,L);let z=Vd(l,L);i.value===!0&&(z=i.value),s.value===!0&&(z=s.value);const R=Rd(l,L,X)??{},Z=`${_}_${X}`,U={...R,key:Z,class:l.itemClass,value:_,size:l.size,border:de(l.border)};z&&(U.disabled=z),l.itemType==="button"?p.push(t.h(F.ElCheckboxButton,U,{default:()=>[N]})):typeof K=="function"?p.push(t.h(F.ElCheckbox,U,{default:()=>K(L)})):p.push(t.h(F.ElCheckbox,U,{default:()=>[N]}))}),p};return ve({setDisabled:T=>{r.value=T},setReadonly:T=>{u.value=T}}),()=>{const K={...Je(o.attrs),class:E.value,disabled:i.value||s.value,modelValue:h.value,"text-color":l.textColor,fill:l.fill,max:ye(l.max),min:ye(l.min),onChange:B},p=[],L={};o.slots.options?L.default=o.slots.options:L.default=()=>A(x.value,o.slots.text);const X=t.h(F.ElCheckboxGroup,K,L);p.push(X);const _={default:()=>p};_.label=o.slots.default,_.fixedPreTip=o.slots.fixedPreTip,_.fixedTip=o.slots.fixedTip;const z={...Ie(l,or),hintText:I.value,hintVisible:C.value};return l.prop&&(z.prop=`${l.prop}_item`),w.value&&(z["appear-listen"]=!0,z.onAppear=b),t.h(a,z,_)}}}}const{componentName:Ld,create:Pd,scope:_d}=se("checkbox-item"),Jl=Pd(Bd(Ld,_d,$e)),rr={modelValue:{type:[Number,String],required:!1}};function qd(e,n,a){return{props:{...Te,...Ve,...rr},emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(l,o){const r=t.ref(null),i=Me(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Fe(t.computed(()=>u.value??l.readonly)),{emitEvent:f}=Ne({componentName:e,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus","setValue"],get readonly(){return s.value},get disabled(){return i.value}},l.prop??o.attrs.name),h=ge(l,"modelValue",P=>ye(P),f),d=e,y=t.computed(()=>({[d]:!0})),x=P=>{f("update:modelValue",P),f("change",P)};let w=ge(l,"hintText"),m=t.ref(!1);const g=t.ref();return ve({setDisabled:P=>{r.value=P},setReadonly:P=>{u.value=P}}),()=>{const b={...Je(o.attrs),ref:g,class:y.value,readonly:s.value||i.value,modelValue:h.value,onChange:x},c={},E=[],B=t.h(F.ElRate,b,c);E.push(B);const I={default:()=>E};I.label=o.slots.default,I.fixedPreTip=o.slots.fixedPreTip,I.fixedTip=o.slots.fixedTip;const A={...Ie(l,rr),hintText:w.value,hintVisible:m.value};return l.prop&&(A.prop=`${l.prop}_item`),t.h(a,A,I)}}}}const{componentName:zd,create:jd,scope:Hd}=se("rate-item"),Ql=jd(qd(zd,Hd,$e)),ir={modelValue:{type:[Boolean,String,Number],required:!1}};function Kd(e,n,a){return{props:{...Te,...Ve,...ir},emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(l,o){const r=t.ref(null),i=Me(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Fe(t.computed(()=>u.value??l.readonly)),{emitEvent:f}=Ne({componentName:e,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus","setValue"],get readonly(){return s.value},get disabled(){return i.value}},l.prop??o.attrs.name),h=ge(l,"modelValue",null,f),d=e,y=t.computed(()=>({[d]:!0})),x=P=>{f("update:modelValue",P),f("change",P)};let w=ge(l,"hintText"),m=ge(l,"hintVisible");const g=t.ref();return ve({setDisabled:P=>{r.value=P},setReadonly:P=>{u.value=P}}),()=>{const b={...Je(o.attrs),ref:g,class:y.value,readonly:s.value,disabled:i.value,modelValue:h.value,onChange:x},c={},E=[],B=t.h(F.ElSwitch,b,c);E.push(B);const I={default:()=>E};I.label=o.slots.default,I.fixedPreTip=o.slots.fixedPreTip,I.fixedTip=o.slots.fixedTip;const A={...Ie(l,ir),hintText:w.value,hintVisible:m.value};return l.prop&&(A.prop=`${l.prop}_item`),t.h(a,A,I)}}}}const{componentName:Wd,create:Yd,scope:Ud}=se("switch-item"),ea=Yd(Kd(Wd,Ud,$e)),sr={modelValue:{type:[String,Number,Boolean,Array],required:!1}};function Gd(e,n,a){return{props:{...Te,...Ve,...sr},emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(l,o){const r=t.ref(null),i=Me(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Fe(t.computed(()=>u.value??l.readonly)),f=t.ref(!1),{emitEvent:h}=Ne({componentName:e,get readonly(){return s.value},get disabled(){return i.value}},l.prop??o.attrs.name),d=ge(l,"modelValue",null,h),y=e,x=t.computed(()=>({[y]:!0})),w=C=>{h("update:modelValue",C),h("change",C)};let m=ge(l,"hintText"),g=t.ref(!1);const P=C=>{let T=C.target.value;f.value=!0,me(m.value)||(g.value=!0),h("focus",T,C)},b=C=>{setTimeout(()=>{g.value&&(g.value=!1),f.value=!1},0);let T=C.target.value;l.maxLength&&T.length>Number(l.maxLength)&&(T=T.slice(0,Number(l.maxLength))),E.value||h("blur",T,C)},c=()=>{h("clear","")},E=t.ref(!1),B=C=>{E.value=C,h("visible-change",C),C||h("selected")},I=t.ref();return ve({focus:()=>{I?.value.focus()},blur:()=>{I?.value.blur()},setDisabled:C=>{r.value=C},setReadonly:C=>{u.value=C}}),()=>{const A={...Je(o.attrs),ref:I,class:x.value,disabled:i.value||s.value,modelValue:d.value,"onUpdate:modelValue":w,onClear:c,onFocus:P,onBlur:b,onVisibleChange:B},T={};o.slots.option&&(T.default=o.slots.option);const K=[],p=t.h(F.ElTreeSelect,A,T);K.push(p);const L={default:()=>K};L.label=o.slots.default,L.fixedPreTip=o.slots.fixedPreTip,L.fixedTip=o.slots.fixedTip;const _={...Ie(l,sr),hintText:m.value,hintVisible:g.value};return l.prop&&(_.prop=`${l.prop}_item`),t.h(a,_,L)}}}}const{componentName:Xd,create:Zd,scope:Jd}=se("tree-select-item"),ta=Zd(Gd(Xd,Jd,$e));class Qd{proxy;constructor(n){this.proxy=n}async load(n){let a=null;const l=Pe(this.proxy,"tableSetting");return typeof l=="function"&&(a=await Reflect.apply(l,null,["load",n])),a}save(n,a){const l=Pe(this.proxy,"tableSetting");typeof l=="function"&&Reflect.apply(l,null,["save",n,a])}remove(n){const a=Pe(this.proxy,"tableSetting");typeof a=="function"&&Reflect.apply(a,null,["remove",n])}}function eh(){const e=t.getCurrentInstance();return new Qd(e.proxy)}const th={},nh={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 lh(e,n){return t.openBlock(),t.createElementBlock("svg",nh,n[0]||(n[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)]))}const ah=Re(th,[["render",lh]]),{create:oh}=se("group-setting"),rh={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,default:"条件筛选"},resetText:{type:[String],required:!1,default:"重置"},initDelay:{type:[Number],required:!1,default:50},toTopText:{type:[String],required:!1,default:"到顶部"},toBottomText:{type:[String],required:!1,default:"到底部"}},ih=oh({components:{FoxPopover:F.ElPopover,FoxCheckbox:F.ElCheckbox,FoxCheckboxGroup:F.ElCheckboxGroup,FoxButton:F.ElButton,FoxIcon:F.ElIcon,DragIcon:ah,Download:Ee.Download,RefreshLeft:Ee.RefreshLeft},props:{...rh},emits:["change"],setup(e,{emit:n,attrs:a,expose:l}){let o=null;const r=t.ref([]),i=eh(),u=D=>D.length>1,s=()=>{const D=[],O=[...r.value];r.value=O.map((q,V)=>(q.visible!==!1&&D.push(q.prop),{...q,sortIndex:V})),r.value.length===D.length?m.value=!0:D.length>0&&(g.value=!0),c.value=D},f=D=>{let O=null;if(typeof D=="string")O=document.querySelectorAll(`.fox-group[prop="${D}"] > div > .fox-item[prop]`);else if(D&&typeof D=="object"){const q=D.$el??D;typeof q.querySelectorAll=="function"&&(O=q.querySelectorAll(".fox-item[prop]"))}if(!O)return[];const j=[];return O.forEach(q=>{const V=q.querySelector(".label--string");let Q="";V&&(Q=V.textContent??"");const ne=q.getAttribute("prop")??"",$=window.getComputedStyle(q,null).getPropertyValue("display");j.push({label:Q,prop:ne,sortIndex:0,visible:$!=="none"})}),j},h=()=>{if(!o){const D=f(e.groupRef??e.groupProp);if(D.length===0)return!1;o=D}return!0},d=async(D=!1)=>{const O=await i.load(e.groupProp),j=q=>{if(!q||!o)return;const V=o.map(Q=>({...Q}));Array.isArray(O)&&O.forEach(Q=>{V.some(ne=>{if(ne.prop===Q.prop){const G=ne.label;return Object.assign(ne,Q),ne.label=G,!0}return!1})}),r.value=V.sort((Q,ne)=>Q.sortIndex-ne.sortIndex),s(),D&&x(!1)};o?j(!0):on(h,e.initDelay,5,50,!1,j)},y=()=>{const D=o??[];r.value=D.map(O=>({...O})),s(),x()},x=(D=!0)=>{D&&i.save(e.groupProp,r.value);const O=r.value.map(j=>({...j}));n("change",O)},w=t.computed(()=>({"max-width":`${e.popoverWidth-125}px`})),m=t.ref(!1),g=t.ref(!1),P=D=>{const O=[];r.value.forEach(q=>{D&&O.push(q.prop),q.visible=D}),m.value=!1,g.value=!1,r.value.length===O.length?m.value=!0:O.length>0&&(g.value=!0),c.value=O,x()},b=()=>{y()},c=t.ref([]),E=D=>{r.value.forEach(j=>{const q=D.indexOf(j.prop)!==-1;j.visible=q}),m.value=!1,g.value=!1;const O=r.value.length;D.length===O?m.value=!0:D.length>0&&(g.value=!0),x()},B=()=>{d()};t.onMounted(()=>{d(!0)});const I={currentRow:null,index:null},C=D=>D?D.dataset&&D.dataset.role==="row"?D:D.tagName.toLowerCase()!=="body"?(D=D.parentElement,C(D)):null:null,A=D=>{const O=D.currentTarget;O&&O.dataset&&(I.index=O.dataset.index)},T=D=>{I.currentRow&&(I.currentRow.classList.remove("is-dragover"),I.currentRow=null),I.index=null},K=D=>{const O=D.currentTarget;D.relatedTarget;const j=C(O);j&&(D.preventDefault(),I.currentRow&&I.currentRow!==j&&I.currentRow.classList.remove("is-dragover"),j.classList.add("is-dragover"),I.currentRow=j)},p=D=>{D.preventDefault(),I.currentRow&&(I.currentRow.classList.remove("is-dragover"),I.currentRow=null)},L=D=>{const O=D.currentTarget,j=C(O);if(!j)return;D.preventDefault();const q=Number(I.index),V=Number(j.dataset.index);if(q!==V){if(q<V){const Q=r.value[q];r.value.splice(q,1),r.value.splice(V,0,Q)}else{const Q=r.value[q];r.value.splice(q,1),r.value.splice(V+1,0,Q)}s(),x()}},X=D=>{const O=r.value[D];r.value.splice(D,1),r.value.splice(0,0,O),s(),x()},_=D=>{const O=r.value[D];r.value.splice(D,1),r.value.push(O),s(),x()};l({refresh:()=>{o=null,d(!1)}});const N=new Map;let z=null;function R(D){const O=document.createRange();return O.setStart(D,0),O.setEnd(D,D.childNodes.length),O.getBoundingClientRect().width}return{attrs:a,itemPropertyList:r,isDraggble:u,isCheckAll:m,isIndeterminate:g,handleCheckAllChange:P,handleReset:b,checkedValue:c,handleCheckChange:E,onShow:B,onDragStart:A,onDragEnd:T,onDragOver:K,onDragLeave:p,onDrop:L,checkboxLabelStyle:w,toTop:X,toBottom:_,onMouseOverForOverflowText:(D,O,j)=>{const q=D.currentTarget;if(q){const V=Math.floor(q.offsetWidth);if(Math.floor(R(q))>V){let ne=N.get(O);if(ne){if(ne===z)return;_e.hide(ne)}ne=_e.show(q,j,{type:"text",placement:"top",closeOnClick:!1}),N.set(O,ne),z=ne}}},onMouseLeaveForOverflowText:(D,O)=>{const j=N.get(O);j&&(_e.hide(j),j===z&&(z=null))},onMouseOverForTip:(D,O)=>{const j=D.currentTarget;j&&(z&&_e.hide(z),z=_e.show(j,O,{type:"text",placement:"top",closeOnClick:!1}))},onMouseLeaveForTip:D=>{z&&(_e.hide(z),z=null)}}}}),sh={class:"fox-group-setting"},uh={class:"fox-group-setting__header"},ch={class:"fox-group-setting__body"},fh={class:"fox-group-setting__body-list","data-role":"container"},dh=["data-index","draggable"],hh=["onMouseover","onMouseleave"],mh={class:"tools-item"};function gh(e,n,a,l,o,r){const i=t.resolveComponent("FoxCheckbox"),u=t.resolveComponent("FoxButton"),s=t.resolveComponent("DragIcon"),f=t.resolveComponent("Download"),h=t.resolveComponent("FoxIcon"),d=t.resolveComponent("FoxCheckboxGroup"),y=t.resolveComponent("FoxPopover");return t.openBlock(),t.createBlock(y,t.mergeProps(e.attrs,{placement:e.popoverPlacement,width:e.popoverWidth,onShow:e.onShow,trigger:"click","popper-class":"fox-group-setting__popper"}),{reference:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),default:t.withCtx(()=>[t.createElementVNode("div",sh,[t.createElementVNode("div",uh,[t.createVNode(i,{modelValue:e.isCheckAll,"onUpdate:modelValue":n[0]||(n[0]=x=>e.isCheckAll=x),indeterminate:e.isIndeterminate,onChange:e.handleCheckAllChange},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.title),1)]),_:1},8,["modelValue","indeterminate","onChange"]),t.createVNode(u,{onClick:e.handleReset,link:"",type:"primary"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.resetText),1)]),_:1},8,["onClick"])]),t.createElementVNode("div",ch,[t.createVNode(d,{modelValue:e.checkedValue,"onUpdate:modelValue":n[10]||(n[10]=x=>e.checkedValue=x),onChange:e.handleCheckChange},{default:t.withCtx(()=>[t.createElementVNode("div",fh,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.itemPropertyList,x=>(t.openBlock(),t.createElementBlock("div",{key:x.prop,class:"fox-group-setting__body-row","data-role":"row","data-index":x.sortIndex,draggable:e.isDraggble(e.itemPropertyList),onDragstart:n[5]||(n[5]=(...w)=>e.onDragStart&&e.onDragStart(...w)),onDragend:n[6]||(n[6]=(...w)=>e.onDragEnd&&e.onDragEnd(...w)),onDrop:n[7]||(n[7]=(...w)=>e.onDrop&&e.onDrop(...w)),onDragover:n[8]||(n[8]=(...w)=>e.onDragOver&&e.onDragOver(...w)),onDragleave:n[9]||(n[9]=(...w)=>e.onDragLeave&&e.onDragLeave(...w))},[e.isDraggble(e.itemPropertyList)?(t.openBlock(),t.createBlock(s,{key:0,class:"icon-item"})):t.createCommentVNode("",!0),t.createVNode(i,{class:"checkbox-item",label:x.prop},{default:t.withCtx(()=>[t.createElementVNode("span",{onMouseover:w=>e.onMouseOverForOverflowText(w,x.prop,x.label),onMouseleave:w=>e.onMouseLeaveForOverflowText(w,x.prop),class:"checkbox-item__label",style:t.normalizeStyle(e.checkboxLabelStyle)},t.toDisplayString(x.label),45,hh)]),_:2},1032,["label"]),t.createElementVNode("div",mh,[t.createVNode(h,{onClick:w=>e.toTop(x.sortIndex),onMouseover:n[1]||(n[1]=w=>e.onMouseOverForTip(w,e.toTopText)),onMouseleave:n[2]||(n[2]=w=>e.onMouseLeaveForTip(w)),class:"is-reverse"},{default:t.withCtx(()=>[t.createVNode(f)]),_:2},1032,["onClick"]),t.createVNode(h,{onClick:w=>e.toBottom(x.sortIndex),onMouseover:n[3]||(n[3]=w=>e.onMouseOverForTip(w,e.toBottomText)),onMouseleave:n[4]||(n[4]=w=>e.onMouseLeaveForTip(w))},{default:t.withCtx(()=>[t.createVNode(f)]),_:2},1032,["onClick"])])],40,dh))),128))])]),_:1},8,["modelValue","onChange"])])])]),_:3},16,["placement","width","onShow"])}const na=Re(ih,[["render",gh]]),Bn={poppable:{type:[Boolean],default:!1},modelValue:{type:[Array,Number,Boolean,String,Object],default:[]},visible:{type:[Boolean]},disabled:{type:[Boolean,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]},loadMoreText:{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},popClass:{type:String,required:!1},popStyle:{type:Object,required:!1},popCloseable:{type:Boolean,required:!1,default:!0},beforeMethod:{type:Function},beforeClose:{type:Function}};function yh(e,n,a,l="value"){for(let o=0;o<n.length;o++){let r=n[o];if(l==="text"){if(Ln(e,r)===a)return o}else if(l==="item"){if(Ye(a,r))return o}else if(cr(e,r)===a)return o}return-1}function Ln(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function ur(e,n){return typeof e.subTextKey=="string"&&e.subTextKey.length>0?n[e.subTextKey]:n.text}function cr(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function ph(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}function bh(e,n,a){return typeof e.itemOptions=="function"?e.itemOptions(n,a):e.itemOptions}let vh=class{proxy;constructor(n){this.proxy=n}async load(n,a,l,o,r,i,u){if(Array.isArray(a)){let f=a;typeof u=="function"&&(f=f.filter(u));let h=(l-1)*o,d=h+o;d>f.length&&(d=f.length);const y=f.slice(h,d);return{totalSize:f.length,page:y}}if(typeof a=="function")return await Reflect.apply(a,null,[l,o,r,i]);const s=Pe(this.proxy,n);return s===null?(console.error(`${n} component not found api function`),{totalSize:0,page:[]}):(He(r)&&t.isReactive(r)&&(r=t.toRaw(r)),await Reflect.apply(s,null,[a,l,o,r]))}};function wh(){const e=t.getCurrentInstance();return new vh(e.proxy)}function Sh(e,n,a,l,o,r,i,u,s,f,h){return{props:{...Bn},emits:["change","update:modelValue","update:text","loaded-data","update:visible"],setup(d,{slots:y}){const{emitEvent:x}=yl(),{toLocaleRefs:w}=Ce.useFoxI18n(n),m=w(d,["title","loadText","loadMoreText","seachPlaceholder","confirmText"]),g=wh(),P=t.ref([]),b=t.ref(0),c=t.ref(""),E=t.shallowRef(null),B=t.computed(()=>{const $={};return d.params&&Object.assign($,d.params),me(c.value)||($[`${d.searchKey}`]=c.value),E.value&&Object.assign($,E.value),$});let I=!0;const C=async($,M,S)=>{try{if(T.value===!1)return;let W=null;me(c.value)||(W=k=>{const Y=Ln(d,k);if(typeof Y=="string"&&Y.includes(c.value))return!0;const ee=ur(d,k);return!!(typeof ee=="string"&&ee.includes(c.value))});const J=await g.load("actionsheet",$,M,S,B.value,I,W??void 0);I=!1,Array.isArray(J)?(P.value=J,b.value=1,T.value=!1):!Array.isArray(J.page)||J.page.length===0?(console.warn("[FoxUI] can not load more data"),T.value=!1):(Reflect.apply([].push,P.value,J.page),b.value=Math.ceil(P.value.length/d.pageSize),(J.totalSize&&P.value.length>=J.totalSize||S<J.page.length)&&(T.value=!1)),A.value=!1}catch(W){console.error("[FoxUI] ActionSheet load more data fail",W),T.value=!0,b.value=0,P.value=[]}setTimeout(()=>{x("loaded-data")},250)},A=t.ref(!1),T=t.ref(!0),K=async()=>{if(!d.source){A.value=!1;return}await C(d.source,b.value+1,d.pageSize)};t.watch(()=>c.value,($,M)=>{me($)&&!me(M)&&K()}),t.watch([()=>d.source,()=>d.pageSize,()=>d.params],async([$,M,S])=>{d.source&&K()},{immediate:!0});const p=t.computed(()=>!d.multiple&&d.isAutoBackFill),L=t.ref([]);let X=null;const _=t.ref(d.visible);t.watch(()=>d.visible,$=>{_.value!==$&&(_.value=$),$?X=[...L.value]:X=null});const N=($,M)=>{const S=[];return Array.isArray($)||($=[$]),$.forEach(W=>{let J=yh(d,M,W,d.valueType);J!==-1&&S.push(J)}),Ye(S,L.value)?!1:(L.value=S,!0)};t.watch([()=>d.modelValue,()=>P.value],([$,M],[S,W])=>{if(N($,M)){const k=z();R(k)}},{deep:!0});const z=()=>{const $=[],M=[],S=[];for(let Y of L.value){const ee=P.value[Y];M.push(ee);const le=Ln(d,ee);if(S.push(le),d.valueType==="item")$.push(ee);else if(d.valueType==="text")$.push(le);else{const ue=cr(d,ee);$.push(ue)}}let W=null,J=null,k=null;return d.multiple?(W=$,J=S,k=M):(W=$[0]??null,J=S[0]??null,k=M[0]??null),{value:W,text:J,item:k}},R=$=>{x("update:modelValue",$.value),x("update:text",$.text),x("change",$.value,$.item,$.text)},Z=()=>{X&&(L.value=X)},U=$=>{const M=L.value.indexOf($);d.multiple?M===-1?L.value.push($):L.value.splice(M,1):M===-1?L.value=[$]:L.value=[],(p.value||!d.poppable&&!d.showFooter)&&D()},H=$=>{_.value=$,x("update:visible",$)},te=()=>{const $=()=>{Z(),H(!1)},M=d.beforeMethod??d.beforeClose;if(typeof M=="function"){const S=M("close");Zt(S)?S.then(W=>{W!==!1&&$()}).catch(()=>{$()}):S!==!1&&$()}else $()},D=()=>{const $=z(),M=()=>{R($),H(!1)},S=d.beforeMethod??d.beforeClose;if(typeof S=="function"){const W=S("confirm",$.value,$.item,$.text);Zt(W)?W.then(J=>{J!==!1&&M()}).catch(()=>{M()}):W!==!1&&M()}else M()},O=()=>{T.value=!0,b.value=0,P.value=[],d.source&&K()},j=()=>{let $=m.title.value??"";y.title&&($=y.title());const M=t.h("view",{class:["fox-actionsheet__header-title"]},[$]),S=t.h(s,{class:["fox-actionsheet__header-icon"],onClick:te});return t.h("view",{class:["fox-actionsheet__header"]},[M,S])},q=()=>{let $=null;if(y.search)$=y.search();else{const M={onSearch:O,placeholder:m.seachPlaceholder.value,disabled:d.disabled,modelValue:c.value,"onUpdate:modelValue":S=>{c.value=S}};$=t.h(r,M,{leftin:()=>t.h(f)})}return t.h("view",{class:["fox-actionsheet__searchbar"]},[$])},V=($,M,S,W,J)=>{if(y.optionLabel)return y.optionLabel({text:$,checked:M,disabled:S,subText:W,item:J});const k=[],Y=t.h("view",{class:"fox-actionsheet__list-item-text"},[$]);if(k.push(Y),W){const ee=t.h("view",{class:"fox-actionsheet__list-item-subtext"},[W]);k.push(ee)}return t.h("view",{class:["fox-actionsheet__list-item-label"]},k)},Q=($,M,S,W)=>{if(y.optionIcon)return y.optionIcon({checked:$,disabled:M,iconSize:S,item:W});if($){if(y.checkedIcon)return y.checkedIcon({disabled:M,item:W});{const J=d.checkedIcon??u;return t.h(J,{width:S,height:S,class:["fox-actionsheet__list-item-icon"]})}}else{if(y.icon)return y.icon({disabled:M,item:W});{const J=d.icon??i;return t.h(J,{width:S,height:S,class:["fox-actionsheet__list-item-icon"]})}}},ne=()=>{const $=[];for(let M=0;M<P.value.length;M++){const S=P.value[M],W=Ln(d,S),J=ur(d,S),k=["fox-actionsheet__list-item"],Y={};let ee=ph(d,S),le=d.iconSize?be(d.iconSize):null;const ue=bh(d,S,M);ue&&(ee=ee||ue.disabled,ue.class&&k.push(ue.class),ue.style&&Object.assign(Y,ue.style)),ee=!!(d.disabled||ee);const fe=L.value.includes(M);ee&&k.push("is-disabled"),fe&&k.push("is-checked");const Se={class:k,style:Y,key:`${M}`,onClick:()=>{ee||U(M)}};let pe=[];if(y.option)pe.push(y.option({item:S,checked:fe,disabled:ee}));else{const tt=V(W,fe,ee,J,S);pe.push(tt);const ft=Q(fe,ee,le,S);pe.push(ft)}const we=t.h("view",Se,pe);$.push(we)}return $},G=()=>{let $=[];if(y.buttons)$=y.buttons();else{const S=t.h(o,{type:"primary",class:"fox-actionsheet__footer-confirm",block:"block",onClick:D,disabled:d.disabled},{default:()=>m.confirmText.value});$.push(S)}return t.h("view",{class:"fox-actionsheet__footer"},[$])};return ve({search:async($=null,M=!0)=>{E.value=$&&t.toRaw($),t.triggerRef(E),M&&(T.value=!0,b.value=0,P.value=[]),t.nextTick(()=>{K()})},clear:()=>{T.value=!0,b.value=0,P.value=[]},confirm:()=>{D()},cancel:()=>{te()}}),()=>{const $=[];if(d.showHeader){const le=j();$.push(le)}if(d.showSearchbar){const le=q();$.push(le)}let M=null;if(y.content)M=y.content();else{const le=ne(),ue={hasMore:T.value,loadText:m.loadText.value,loadMoreText:m.loadMoreText.value,modelValue:A.value,"onUpdate:modelValue":fe=>{A.value=fe},onLoadMore:K};M=t.h(l,ue,{default:()=>le})}const S={};d.optionsHeight&&(S.height=d.optionsHeight);const W={"fox-actionsheet__list":!0};d.poppable||(W["fox-actionsheet__list--inner"]=!0);const J=t.h("view",{class:W,style:S},[M]);if($.push(J),d.showFooter&&!p.value){const le=G();$.push(le)}const k=t.h("view",{class:"fox-actionsheet"},$);if(!d.poppable)return k;const Y=["fox-actionsheet__popup"];d.popClass&&Y.push(d.popClass);const ee={popClass:Y.join(" "),visible:_.value,closeable:!1,"onUpdate:visible":H,position:d.position,round:"round",onClickOverlay:te,closeOnClickOverlay:d.closeOnClickOverlay};return t.h(a,ee,{default:()=>k})}}}}const xh=/scroll|auto|overlay/i,fr=window;function Ch(e){return e.tagName!=="HTML"&&e.tagName!=="BODY"&&e.nodeType===1}function Th(e,n=fr){let a=e;for(;a&&a!==n&&Ch(a);){const{overflowY:l}=window.getComputedStyle(a);if(xh.test(l))return a;a=a.parentNode}return n}function dr(e,n=fr){const a=t.ref();return t.onMounted(()=>{e.value&&(a.value=Th(e.value,n))}),a}const hr=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,$h={modelValue:{type:[Boolean],default:!1},hasMore:{type:[Boolean],default:!0},threshold:{type:[Number],default:200},loadText:{type:[String]},loadMoreText:{type:[String]},useCapture:{type:[Boolean],default:!1},immediate:{type:[Boolean],default:!1}};function kh(e,n,a){return{props:{...$h},emits:["scroll-change","load-more","update:modelValue"],setup(l,{emit:o,slots:r}){const{toLocaleRefs:i}=Ce.useFoxI18n(n),u=i(l,["pullText","loadText","loadMoreText"]),s=t.ref(),f=dr(s),h=t.reactive({beforeScrollTop:0,isInfiniting:!1,y:0,x:0,distance:0}),d=t.computed(()=>({[e]:!0})),y=b=>b?b.offsetTop+y(b.offsetParent):0,x=()=>{let b=0,c=0,E="down";if(f.value==window){const B=hr();s.value&&(b=y(s.value)+s.value.offsetHeight-B-window.innerHeight),c=B}else{const{scrollHeight:B,clientHeight:I,scrollTop:C}=f.value;b=B-I-C,c=C}return h.beforeScrollTop>c?E="up":E="down",h.beforeScrollTop=c,o("scroll-change",c),b<=l.threshold&&E=="down"},w=()=>{Xn(()=>{if(!x()||!l.hasMore||h.isInfiniting)return!1;h.isInfiniting=!0,o("update:modelValue",!0),t.nextTick(()=>o("load-more"))})},m=()=>{f.value&&f.value.addEventListener("scroll",w,l.useCapture)},g=()=>{f.value&&f.value.removeEventListener("scroll",w,l.useCapture)};t.onMounted(()=>{m(),l.immediate&&w()}),t.onUnmounted(()=>{g()});const P=t.ref(!1);return t.onActivated(()=>{P.value&&(P.value=!1,m())}),t.onDeactivated(()=>{P.value=!0,g()}),t.watch(()=>l.modelValue,b=>{b||(h.isInfiniting=!1)}),()=>{const b={class:"fox-infinite__container"},c=t.h("view",b,[r?.default?.()]),E=[];if(h.isInfiniting){let A=r?.loading?.()??null;if(!A){let p=r?.loadingIcon?.()??null;if(!p){const _={class:["fox-infinite__bottom-box__img"]};p=t.h(a,_)}const L={class:"fox-infinite__bottom-box__text"},X=t.h("view",L,[u.loadText.value]);A=[p,X]}const T={class:"fox-infinite__bottom-box"},K=t.h("view",T,A);E.push(K)}else if(!l.hasMore){let A=r?.finished?.()??null;if(!A){const T={class:"fox-infinite__bottom-tips"};A=t.h("view",T,[u.loadMoreText.value]),E.push(A)}}const B={class:"fox-infinite__bottom"},I=t.h("view",B,E),C={class:d.value,ref:s};return t.h("view",C,[c,I])}}}}const{componentName:Dh,create:Nh,scope:Eh}=se("infinite-loading"),Pn=Nh(kh(Dh,Eh,Fn)),Ih={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},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},inputAlign:{type:String,default:"left"}},Vh=(e,n,a)=>({props:{...Ih},emits:["change","update:modelValue","blur","focus","clear","search","click-input","keyup-input","click-left-icon","click-right-icon"],setup(l,{slots:o}){const{emitEvent:r}=yl(),{toLocaleRefs:i}=Ce.useFoxI18n(n),u=i(l,["placeholder"]),s=t.reactive({active:!1}),f=t.computed(()=>({background:l.background})),h=t.computed(()=>({background:l.inputBackground})),d=T=>{let p=T.target.value;l.maxLength&&p.length>Number(l.maxLength)&&(p=p.slice(0,Number(l.maxLength))),r("update:modelValue",p,T),r("change",p,T)},y=t.ref({}),x=T=>{let p=T.target.value;s.active=!0,y.value=l.focusStyle,r("focus",p,T)},w=T=>{setTimeout(()=>{s.active=!1},0);let p=T.target.value;l.maxLength&&p.length>Number(l.maxLength)&&(p=p.slice(0,Number(l.maxLength))),y.value={},r("blur",p,T)},m=T=>{r("update:modelValue","",T),r("change","",T),r("clear","")},g=t.computed(()=>String(l.modelValue).length>0),P=t.computed(()=>{const T={};return g.value||(T.display="none"),T}),b=()=>{r("search",l.modelValue)},c=T=>{r("keyup-input",T),T.key.toLocaleUpperCase()==="ENTER"&&b()},E=T=>{r("click-input",T)},B=T=>{r("click-left-icon",l.modelValue,T)},I=t.computed(()=>({textAlign:l.inputAlign})),C=t.ref(null);t.onMounted(()=>{l.autofocus&&C.value.focus()});const A=()=>{const T=[];if(o.leftin){const _={class:[`${e}__search-icon`,`${e}__input-left-search-icon`],onClick:B},N=t.h("view",_,[o.leftin()]);T.push(N)}const K={ref:C,class:[`${e}__input-inner`],style:I.value,type:l.inputType,maxlengt:l.maxLength,placeholder:u.placeholder.value,value:l.modelValue,disabled:l.disabled,readonly:l.readonly,onClick:E,onInput:d,onFocus:x,onBlur:w,onkeyup:c},p=t.h("input",K);T.push(p);const L=[];if(l.clearable){const _={class:[`${e}__search-icon`,`${e}__input-clear-icon`],style:P.value,onClick:m},N=o?.clear?.()??l.clearIcon??a,z=t.h("view",_,[t.h(N)]);L.push(z)}if(o.rightin){const _={class:[`${e}__search-icon`,`${e}__input-right-search-icon`]},N=t.h("view",_,[o.rightin()]);L.push(N)}if(L.length>0){const _={class:`${e}__input-inner-right`},N=t.h("view",_,L);T.push(N)}const X={class:[`${e}__search-input`,`${l.shape}`],style:{...h.value,...y.value}};return t.h("view",X,T)};return()=>{const T=[];if(l.label){const L={class:`${e}__search-label`},X=t.h("span",L,[l.label]);T.push(X)}if(o.leftout){const L={class:[`${e}__search-icon`,`${e}__left-search-icon`]},X=t.h("view",L,[o.leftout()]);T.push(X)}const K=A();if(T.push(K),o.rightout){const L={class:[`${e}__search-icon`,`${e}__right-search-icon`]},X=t.h("view",L,[o.rightout()]);T.push(X)}const p={class:`${e}`,style:f.value};return t.h("view",p,T)}}}),{componentName:Oh,create:Ah,scope:Fh}=se("searchbar"),_n=Ah(Vh(Oh,Fh,Ee.CircleClose)),{componentName:Mh,create:Rh,scope:Bh}=se("actionsheet-pane"),qn=Rh(Sh(Mh,Bh,mt,Pn,F.ElButton,_n,yc,dc,Ro,Gu)),mr={type:{type:String,default:"text"},placeholder:{type:String,default:""},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:" "}};function Lh(e,n,a,l,o){return{props:{...Te,...Ve,...mr,...Bn},emits:["change","update:modelValue","blur","focus","clear","update:text","setValue"],setup(r,i){const u=t.ref(null),s=Me(t.computed(()=>u.value??r.disabled)),f=t.ref(null),h=Fe(t.computed(()=>f.value??r.readonly)),{emitEvent:d}=Ne({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus","setValue"],get readonly(){return h.value},get disabled(){return s.value}},r.prop??i.attrs.name),{toLocaleRefs:y}=Ce.useFoxI18n(n),x=y(r,["placeholder"]),w=t.ref(!1),m=ge(r,"modelValue",null,d),g=t.ref(""),P=t.computed(()=>Array.isArray(g.value)?g.value.join(r.separator):g.value),b="fox-input-item",c=t.computed(()=>({[b]:!0,[`${b}__disabled`]:s.value})),E=Ae(t.computed(()=>r.textAlign),"textAlign"),B=t.computed(()=>{const R={};return E.value&&(R["text-align"]=E.value),R}),I=t.ref(!1),C=()=>{I.value=!0},A=R=>{I.value=R},T=R=>{m.value=R,d("update:modelValue",R)},K=(R,Z)=>{d("change",R,Z)},p=R=>{let U=R.target.value;w.value=!0,d("focus",U,R)},L=R=>{setTimeout(()=>{w.value=!1},0);let U=R.target.value;r.maxLength&&U.length>Number(r.maxLength)&&(U=U.slice(0,Number(r.maxLength))),d("blur",U,R)},X=R=>{g.value=R,d("update:text",R)},_=t.computed(()=>Xe(r.unit)>0),N=t.ref(),z=t.ref(null);return ve({focus:()=>{N?.value.focus()},blur:()=>{N?.value.blur()},select:()=>{N?.value.select()},search:R=>{z.value&&z.value.search(R)},clear:()=>{z.value&&z.value.clear},confirm:R=>{z.value&&z.value.confirm()},cancel:()=>{z.value&&z.value.cancel()},setDisabled:R=>{u.value=R},setReadonly:R=>{f.value=R}}),()=>{const R={ref:N,class:c.value,style:B.value,type:"text",maxlength:r.maxLength,placeholder:x.placeholder.value,readonly:!0,value:P.value,onClick:C,onFocus:p,onBlur:L},Z={};i.slots.prepend&&(Z.prepend=i.slots.prepend),i.slots.append&&(Z.append=i.slots.append),i.slots.prefix&&(Z.prefix=i.slots.prefix),i.slots.suffix?Z.suffix=i.slots.suffix:_.value?Z.suffix=()=>[r.unit]:Z.suffix=()=>t.h(F.ElIcon,{},{default:()=>t.h(Ee.ArrowDown)});const U=[],H=t.h(F.ElInput,R,Z);U.push(H);const te={default:()=>U};te.label=i.slots.default,te.prepend=i.slots.prepend,te.append=i.slots.append,te.fixedPreTip=i.slots.fixedPreTip,te.fixedTip=i.slots.fixedTip;const D=At(r,Bn);D.ref=z,D.class=r.actionsheetProps,D.disabled=s.value||h.value,D.visible=I.value,D["onUpdate:visible"]=A,D.modelValue=m.value,D["onUpdate:modelValue"]=T,D.text=g.value,D["onUpdate:text"]=X,D.onChange=K,D.poppable=!0;const O={title:i.slots.title,search:i.slots.search,option:i.slots.option,optionLabel:i.slots.optionLabel,optionIcon:i.slots.optionIcon,buttons:i.slots.buttons},j=t.h(l,D,O);te.hide=()=>[j];const V={...Ie(r,mr,Bn)};return r.prop&&(V.prop=`${r.prop}_item`),t.h(a,V,te)}}}}const{componentName:Ph,create:_h,scope:qh}=se("actionsheet-item"),la=_h(Lh(Ph,qh,$e,qn)),gr={readonly:{type:Boolean,default:!1},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}},aa={...Rl,...gr,modelValue:{type:[String,Number,Boolean,Object,Array],default:""},text:{type:[Array],default:[]},columnOptions:{type:[Object,Function]},source:{type:[Array,Function,String],default:[]},params:{type:Object},valueType:{type:String,required:!1,default:"value"},title:{type:String,default:""},cancelText:{type:String,default:""},clearText:{type:String,default:""},confirmText:{type:String,default:""},isAutoBackFill:{type:[Boolean],default:!0}};function zh(e){return e===window}const oa=e=>{const n=t.unref(e);if(zh(n)){const a=n.innerWidth,l=n.innerHeight;return{top:0,left:0,right:a,bottom:l,width:a,height:l}}return n&&n.getBoundingClientRect?n.getBoundingClientRect():{top:0,left:0,right:0,bottom:0,width:0,height:0}},yr=10;function pr(e,n){return e>n&&e>yr?"horizontal":n>e&&n>yr?"vertical":""}function jt(){const e=window.navigator.userAgent;return"ontouchstart"in window||e.indexOf("touch")!==-1||e.indexOf("mobile")!==-1}function Ht(){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",a=()=>e.direction==="horizontal",l=()=>{e.deltaX=0,e.deltaY=0,e.offsetX=0,e.offsetY=0,e.direction="",e.startTime=0};return{move:i=>{if(i.touches){const f=i.touches[0];e.deltaX=f.clientX-e.startX,e.deltaY=f.clientY-e.startY,e.moveX=f.clientX,e.moveY=f.clientY}else{const s=i;e.deltaX=s.clientX-e.startX,e.deltaY=s.clientY-e.startY,e.moveX=s.clientX,e.moveY=s.clientY}e.offsetX=Math.abs(e.deltaX),e.offsetY=Math.abs(e.deltaY),e.duration=Date.now()-e.startTime,e.direction||(e.direction=pr(e.offsetX,e.offsetY))},start:i=>{if(l(),i.touches){const f=i.touches[0];e.startX=f.clientX,e.startY=f.clientY}else{const s=i;e.startX=s.clientX,e.startY=s.clientY}e.startTime=Date.now()},reset:l,isVertical:n,isHorizontal:a,state:e}}function br(){const e=t.ref(0),n=t.ref(0),a=t.ref(0),l=t.ref(0),o=t.ref(0),r=t.ref(0),i=t.ref(0),u=t.ref(0),s=t.ref(0),f=t.ref(0),h=t.ref(""),d=()=>h.value==="vertical",y=()=>h.value==="horizontal",x=()=>{i.value=0,u.value=0,s.value=0,f.value=0,h.value="",a.value=0};return{move:g=>{if(g.touches){const c=g.touches[0];i.value=c.clientX-e.value,u.value=c.clientY-n.value,o.value=c.clientX,r.value=c.clientY}else{const b=g;i.value=b.clientX-e.value,u.value=b.clientY-n.value,o.value=b.clientX,r.value=b.clientY}s.value=Math.abs(i.value),f.value=Math.abs(u.value),l.value=Date.now()-a.value,h.value||(h.value=pr(s.value,f.value))},start:g=>{if(x(),g.touches){const c=g.touches[0];e.value=c.clientX,n.value=c.clientY}else{const b=g;e.value=b.clientX,n.value=b.clientY}a.value=Date.now()},reset:x,startX:e,startY:n,startTime:a,duration:l,moveX:o,moveY:r,deltaX:i,deltaY:u,offsetX:s,offsetY:f,direction:h,isVertical:d,isHorizontal:y}}let vr=36;function jh(){return vr}function Hh(e){vr=e}function et(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function ra(e,n){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?n[e.childrenKey]:n.children??null}function Kh(e,n,a){typeof e.childrenKey=="string"&&e.childrenKey.length>0&&(n[e.childrenKey]=a),n.children=a}function yt(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function wr(e,n){return typeof e.itemOptions=="function"?e.columnOptions(n):e.columnOptions}let Wh=class{proxy;constructor(n){this.proxy=n}async load(n,a,l){if(Array.isArray(a))return a;if(typeof a=="function")return await a(l);const o=Pe(this.proxy,n);return o===null?(console.error(`${n} component not found api function`),[]):(He(l)&&t.isReactive(l)&&(l=t.toRaw(l)),await o(a,l))}};function Yh(){const e=t.getCurrentInstance();return new Wh(e.proxy)}function Sr(e,n,a){const l=et(e,n),o=et(e,a);if(l!==o)return!1;const r=yt(e,n),i=yt(e,a);return r===i}function Uh(e,n,a,l){if(a.length==0)return[];Array.isArray(n)||(n=[n]);const o=[],r=e.valueType??"value";if(l==="singleColumn"||l==="multipleColumn")for(let i=0;i<n.length&&i<a.length;i++){const u=n[i];let f=a[i].findIndex(h=>{if(r==="text")return et(e,h)===u;if(r==="value"){let d=yt(e,h);return d==null&&(d=et(e,h)),d===u}else if(r==="item")return Sr(e,h,u)});if(f==-1)break;o.push(f)}else{let i=a[0];for(let u=0;u<n.length;u++){const s=n[u];let f=i.findIndex(d=>{if(r==="text")return et(e,d)===s;if(r==="value"){let y=yt(e,d);return y==null&&(y=et(e,d)),y===s}else if(r==="item")return Sr(e,d,s)});if(f==-1)break;o.push(f);const h=ra(e,i[f]);if(!Array.isArray(h))break;i=h}}return o}function xr(e,n,a,l){if(a.length==0)return null;const o={texts:[],values:[],items:[]},r=e.valueType??"value";if(l==="singleColumn"||l==="multipleColumn")for(let i=0;i<n.length&&i<a.length;i++){const u=a[i];let s=n[i];s<0&&s>=u.length&&(s=0);const f=u[s],h=et(e,f);if(o.texts.push(h),o.items.push(f),r==="text")o.values.push(h);else if(r==="value"){let d=yt(e,f);d==null&&(d=h),o.values.push(d)}else o.values.push(f)}else{let i=a[0];for(let u=0;u<n.length;u++){let s=n[u];s<0&&s>=i.length&&(s=0);const f=i[s],h=et(e,f),d=Object.assign({},f);if(d.children=null,o.texts.push(h),o.items.push(d),r==="text")o.values.push(h);else if(r==="value"){let y=yt(e,f);y==null&&(y=h),o.values.push(y)}else o.values.push(d);if(!Array.isArray(f.children))break;i=f.children}}return o}function Cr(e){return{text:e,value:e}}const Gh=15,Xh=300,Zh=200,{create:Jh}=se("picker-column");function Qh(e){e.stopPropagation()}function em(e,n){(typeof e.cancelable!="boolean"||e.cancelable)&&e.preventDefault(),Qh(e)}const tm=Jh({props:{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},...gr},emits:["click","change","update:modelValue"],setup(e,{emit:n}){const a=t.computed(()=>({"fox-picker__list":!0})),l=t.computed(()=>({height:`${ye(e.visibleItemCount)*+e.itemHeight}px`})),o=t.computed(()=>({"fox-picker__content":!0,"fox-picker__content-tile":!e.threeDimensional,"fox-picker__content-roller":e.threeDimensional})),r=t.computed(()=>e.itemHeight*Math.floor(+e.visibleItemCount/2)),i=C=>C>=d.currIndex+8||C<=d.currIndex-8,u=t.computed(()=>({transition:`transform ${d.scrollTime}ms cubic-bezier(0.17, 0.89, 0.45, 1)`,transform:`rotate3d(1, 0, 0, ${d.deg})`,top:`${r.value}px`})),s=C=>`transform: rotate3d(1, 0, 0, ${-d.rotation*C}deg) translate3d(0px, 0px, 104px)`,f=t.computed(()=>({transition:`transform ${d.scrollTime}ms cubic-bezier(0.17, 0.89, 0.45, 1)`,transform:`translate3d(0, ${d.scrollDistance+r.value}px, 0)`})),h=t.ref(null),d=t.reactive({currIndex:e.modelValue,startDistance:0,scrollDistance:0,scrollTime:0,moving:!1,rotation:20,deg:0,transitionEndTrigger:null}),y=C=>et(e,C),x=C=>yt(e,C),w=br(),m=()=>{d.transitionEndTrigger&&(d.transitionEndTrigger(),d.transitionEndTrigger=null)},g=(C,A=!1,T=!1)=>{if(d.currIndex=C,A){const K=()=>{d.moving=!1,n("update:modelValue",C),n("change",C)};T?d.transitionEndTrigger=K:K()}},P=(C,A,T)=>{let K=C+d.startDistance;if(A==="end"){const p=-(e.source.length-1)*e.itemHeight;K<p&&(K=p),K>0&&(K=0);let L=Math.abs(Math.round(-K/e.itemHeight));const X=-L*e.itemHeight,_=`${(L+1)*d.rotation}deg`,N=T?T>0:!1;g(L,!0,N),b(X,A,T,_)}else{let p=(-K/e.itemHeight+1)*d.rotation;const L=(e.source.length+1)*d.rotation,X=0;if(p=Math.min(Math.max(p,X),L),e.threeDimensional&&(p<X||p>L))return;b(K,null,void 0,`${p}deg`)}},b=(C=0,A,T=Zh,K)=>{A==="end"?d.scrollTime=T:d.scrollTime=0,d.deg=K,d.scrollDistance=C},c=(C,A)=>(C=Math.abs(C/A)/.003*(C<0?-1:1),C),E=C=>{e.readonly||(d.startDistance=d.scrollDistance,w.start(C),d.transitionEndTrigger=null)},B=C=>{e.readonly||(d.moving=!0,w.move(C),w.isVertical()&&(d.moving=!0,em(C)),P(w.deltaY.value,"",0))},I=()=>{if(e.readonly)return;const C=w.deltaY.value,A=w.duration.value;if(A<Xh&&Math.abs(C)>Gh){const K=c(C,A);P(K,"end",e.swipeDuration)}else P(C,"end",0)};return t.watch(()=>e.modelValue,C=>{const A=d.currIndex-C;if(A!==0){d.currIndex=C,d.startDistance=d.scrollDistance;const T=A*e.itemHeight;P(T,"",0)}}),t.watch(()=>e.source,C=>{if(d.currIndex>=C.length){const K=(C.length-1-d.currIndex)*e.itemHeight;d.startDistance=d.scrollDistance,P(K,"end",0)}}),t.watch(()=>e.visible,C=>{C===!1&&m()}),t.onMounted(()=>{const C=-e.modelValue*e.itemHeight;P(C)}),{classes:a,styles:l,contentClasses:o,itemText:y,itemValue:x,...t.toRefs(d),roller:h,getItemText:et,onTouchStart:E,onTouchMove:B,onTouchEnd:I,isHidden:i,setRollerStyle:s,touchRollerStyle:u,touchTileStyle:f,stopMomentum:m}}}),nm={key:1,class:"fox-picker__item-tile"};function lm(e,n,a,l,o,r){return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles),onTouchstart:n[0]||(n[0]=(...i)=>e.onTouchStart&&e.onTouchStart(...i)),onTouchmove:n[1]||(n[1]=(...i)=>e.onTouchMove&&e.onTouchMove(...i)),onTouchend:n[2]||(n[2]=(...i)=>e.onTouchEnd&&e.onTouchEnd(...i)),onTouchcancel:n[3]||(n[3]=(...i)=>e.onTouchEnd&&e.onTouchEnd(...i)),onTransitionend:n[4]||(n[4]=(...i)=>e.stopMomentum&&e.stopMomentum(...i))},[t.createElementVNode("view",{ref:"roller",class:t.normalizeClass(e.contentClasses),style:t.normalizeStyle(e.threeDimensional?e.touchRollerStyle:e.touchTileStyle)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.source,(i,u)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:`${e.columnIndex}_${u}`},[e.threeDimensional?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(["fox-picker__item",{"fox-picker__item-hidden":e.isHidden(u+1)}]),style:t.normalizeStyle(e.setRollerStyle(u+1))},t.toDisplayString(e.itemText(i)),7)):(t.openBlock(),t.createElementBlock("view",nm,t.toDisplayString(e.itemText(i)),1))],64))),128))],6)],38)}const am=Re(tm,[["render",lm]]),{create:om,componentName:rm,scope:im}=se("picker"),sm=om({components:{PickerColumn:am,Popup:mt},props:{...aa},emits:["close","change","confirm","update:visible","update:text","update:modelValue","clear"],setup(e,{emit:n}){const{toLocaleRefs:a,t:l}=Ce.useFoxI18n(im),o=a(e,["title","cancelText","clearText","confirmText"]),r=t.ref(null),i=t.ref(jh());t.watch(()=>e.visible,p=>{p&&i.value<=0&&setTimeout(()=>{if(r.value){const L=oa(r.value);i.value=L.height,Hh(i.value)}},50)});const u=t.computed(()=>({[rm]:!0})),s=Yh(),f=t.ref("singleColumn");let h=t.ref([]);t.watch([()=>e.source,()=>e.params],async([p,L])=>{if(p){let X=await s.load("select",p,L);if(X.length>0){let _=X[0];if(Array.isArray(_)){if(typeof _[0]=="string"){let N=X,z=[];N.forEach(R=>{let Z=R.map(U=>Cr(U));z.push(Z)}),h.value=z}else h.value=X;f.value="multipleColumn"}else if(typeof _=="string"){let N=X,z=[],R=N.map(Z=>Cr(Z));z.push(R),h.value=z,f.value="singleColumn"}else{const N=ra(e,_);Array.isArray(N)?(f.value="cascade",h.value=[X]):(f.value="singleColumn",h.value=[X])}}else h.value=[]}},{immediate:!0});const d=t.ref([]),y=t.ref(e.modelValue),x=t.ref([]),w=t.ref([]);t.watch([()=>e.modelValue,()=>h.value],([p,L])=>{let X=Uh(e,p,L,f.value);if(!Ye(X,w.value)){w.value=X;let _=xr(e,X,L,f.value);_&&(d.value=_.texts,n("update:text",d.value))}});const m=t.ref(e.visible);t.watch(()=>e.visible,p=>{m.value=p});const g=p=>{let L=wr(e,p);return He(L)?L.defaultIndex??0:0},P=p=>{if(e.readonly===!0)return!0;let L=wr(e,p);return He(L)?L.readonly??!1:!1},b=(p,L)=>{let X=w.value;X[p]=L;for(let N=0;N<p;N++)X[N]==null&&(X[N]=g(N));if(f.value==="cascade")for(let N=p+1;N<E.value.length;N++){let z=g(N);N<X.length?X[N]=z:X.push(z)}else for(let N=X.length;N<E.value.length;N++){let z=g(N);X.push(z)}w.value=X;let _=xr(e,X,h.value,f.value);_&&(d.value=_.texts,y.value=_.values,x.value=_.items)},c=p=>p<w.value.length?w.value[p]:g(p),E=t.computed(()=>{if(h.value.length==0)return[];if(f.value=="singleColumn"||f.value=="multipleColumn")return h.value;let p=[],L=0,X=h.value[0],_=0;for(;;){let N=X.map(Z=>{let U=Object.assign({},Z);return Kh(e,U,null),U});p.push(N),L>=w.value.length?_=0:_=w.value[L],(_<0||_>=X.length)&&(_=0);let z=X[_];const R=ra(e,z);if(!Array.isArray(R))break;X=R,L++}return p}),B=t.computed(()=>ye(+e.visibleItemCount-1)/2*i.value),I=(p=!1)=>{if(e.readonly===!0){p&&n("update:visible",!1);return}let L=h.value.length-1;for(;L>=0&&!(w.value[L]===null||w.value[L]===void 0);L--);if(L>=0&&b(L,0),f.value==="singleColumn"){let X=y.value.length>0?y.value[0]:"",_=x.value.length>0?x.value[0]:null;n("update:modelValue",X),n("update:text",d.value),n("change",X,_),p&&(n("confirm",X),n("update:visible",!1))}else n("update:modelValue",y.value),n("update:text",d.value),n("change",y.value,x.value),p&&(n("confirm",y.value),n("update:visible",!1))};return{...o,pickerLineRef:r,classes:u,columns:E,dataType:f,show:m,itemHeight:i,top:B,isReadonly:P,getIndex:c,change:(p,L)=>{if(b(p,L),e.isAutoBackFill){const X=!m.value;I(X)}},close:()=>{n("close"),n("update:visible",!1)},confirm:()=>{I(!0)},clear:()=>{if(e.readonly===!0){n("update:visible",!1);return}f.value==="singleColumn"?(n("update:modelValue",""),n("change","")):(n("update:modelValue",[]),n("change",[])),n("clear",""),n("update:visible",!1)}}}}),um={class:"fox-picker__bar"},cm={class:"fox-picker__title"},fm={class:"fox-picker__bar__action"},dm={class:"fox-picker__column"};function hm(e,n,a,l,o,r){const i=t.resolveComponent("PickerColumn"),u=t.resolveComponent("Popup");return t.openBlock(),t.createElementBlock("view",{class:t.normalizeClass(e.classes)},[t.createVNode(u,{position:"bottom",visible:e.show,"onUpdate:visible":n[3]||(n[3]=s=>e.show=s),teleport:e.teleport,"lock-scroll":e.lockScroll,"close-on-click-overlay":e.closeOnClickOverlay,onClose:e.close,round:!0,"teleport-disable":e.teleportDisable},{default:t.withCtx(()=>[t.createElementVNode("view",um,[t.createElementVNode("view",cm,t.toDisplayString(e.title),1),t.createElementVNode("view",fm,[t.createElementVNode("view",{class:"fox-picker__left fox-picker__cancel fox-picker__button",onClick:n[0]||(n[0]=(...s)=>e.close&&e.close(...s))},t.toDisplayString(e.cancelText),1),t.createElementVNode("view",{class:"fox-picker__right fox-picker__confirm fox-picker__button",onClick:n[1]||(n[1]=(...s)=>e.confirm&&e.confirm(...s))},t.toDisplayString(e.confirmText),1),e.clearText?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-picker__right fox-picker__clear fox-picker__button",onClick:n[2]||(n[2]=(...s)=>e.clear&&e.clear(...s))},t.toDisplayString(e.clearText),1)):t.createCommentVNode("",!0)])]),t.renderSlot(e.$slots,"top"),t.createElementVNode("view",dm,[t.createElementVNode("view",{class:"fox-picker__mask",style:t.normalizeStyle({backgroundSize:`100% ${e.top}px`})},null,4),t.createElementVNode("view",{ref:"pickerLineRef",class:"fox-picker__hairline",style:t.normalizeStyle({top:` ${e.top}px`})},null,4),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.columns,(s,f)=>(t.openBlock(),t.createElementBlock("view",{key:f,class:"fox-picker__columnitem"},[t.createVNode(i,{visible:e.show,source:s,readonly:e.isReadonly(f),"column-index":f,modelValue:e.getIndex(f),"onUpdate:modelValue":h=>e.change(f,h),"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))]),t.renderSlot(e.$slots,"default")]),_:3},8,["visible","teleport","lock-scroll","close-on-click-overlay","onClose","teleport-disable"])],2)}const Kt=Re(sm,[["render",hm]]),Tr={...aa,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 mm(e,n,a){return{props:{...Te,...Ve,...Tr},emits:["change","update:modelValue","blur","focus","clear","update:text","setValue"],setup(l,o){const r=t.ref(null),i=Me(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Fe(t.computed(()=>u.value??l.readonly)),{emitEvent:f}=Ne({componentName:e,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus","setValue"],get readonly(){return s.value},get disabled(){return i.value}},l.prop??o.attrs.name),{toLocaleRefs:h}=Ce.useFoxI18n(n),d=h(l,["placeholder"]),y=t.ref(!1),x=e,w=t.computed(()=>({[x]:!0})),m=Ae(t.computed(()=>l.textAlign),"textAlign"),g=t.computed(()=>({textAlign:m.value??"right"})),P=ge(l,"modelValue",null,f),b=t.ref([]),c=t.computed(()=>Array.isArray(b.value)?b.value.join(" "):b.value),E=t.ref(!1),B=()=>{E.value=!0},I=R=>{E.value=R},C=R=>{P.value=R,f("update:modelValue",R)},A=R=>{b.value=R,Array.isArray(R)&&R.length===0?f("update:text",R[0]):f("update:text",R)},T=(R,Z)=>{f("change",R,Z)};let K=ge(l,"hintText"),p=t.ref(!1);const L=R=>{let U=R.target.value;y.value=!0,me(K.value)||(p.value=!0),f("focus",U,R)},X=R=>{setTimeout(()=>{p.value&&(p.value=!1),y.value=!1},0);let U=R.target.value;l.maxLength&&U.length>Number(l.maxLength)&&(U=U.slice(0,Number(l.maxLength))),E.value?setTimeout(()=>{f("blur",U,R)},50):f("blur",U,R)},_=()=>{f("clear","")},N=t.computed(()=>Xe(l.unit)>0),z=t.ref();return ve({focus:()=>{z?.value.focus()},blur:()=>{z?.value.blur()},select:()=>{z?.value.select()},setDisabled:R=>{r.value=R},setReadonly:R=>{u.value=R}}),()=>{const R={class:w.value,style:g.value,type:"text",maxlength:l.maxLength,placeholder:d.placeholder.value,clearable:de(l.clearable),readonly:!0,value:c.value,onClick:B,onFocus:L,onBlur:X},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:N.value?Z.suffix=()=>[l.unit]:Z.suffix=()=>t.h(F.ElIcon,{},{default:()=>t.h(Ee.ArrowDown)});const U=[],H=t.h(F.ElInput,R,Z);U.push(H);const te={default:()=>U};te.label=o.slots.default,te.fixedPreTip=o.slots.fixedPreTip,te.fixedTip=o.slots.fixedTip;const D=At(l,aa);D.disabled=!1,D.readonly=i.value||s.value,D.visible=E.value,D["onUpdate:visible"]=I,D.modelValue=P.value,D["onUpdate:modelValue"]=C,D.text=b.value,D["onUpdate:text"]=A,D.onClear=_,D.onChange=T;const O=t.h(Kt,D);te.hide=()=>[O];const q={...Ie(l,Tr),hintText:K.value,hintVisible:p.value};return l.prop&&(q.prop=`${l.prop}_item`),t.h(a,q,te)}}}}const{componentName:gm,create:ym,scope:pm}=se("picker-item"),ia=ym(mm(gm,pm,$e)),bm={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},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}},$r=(e,n)=>n[e.textKey],Wt=(e,n)=>n[e.valueKey],vm=(e,n)=>n[e.visibleKey],kr=(e,n)=>n[e.disabledKey],wm=(e,n)=>{const a=n[e.doitKey];return de(a)},Sm=(e,n)=>{const a=n[e.numKey];return a==null?null:ye(n[a])},Dr=(e,n,a)=>{const l=e.itemOptions;return typeof l=="function"?l(n,a):l||null};function xm(e,n,a,l=!1){return{props:{...bm},emits:["update:modelValue","change"],setup(o,{slots:r,emit:i}){const u=t.computed(()=>{const D={};return D[`${e}`]=!0,D}),s=t.computed(()=>{const D={};return D[`${e}__titles`]=!0,D[`${o.direction}`]=!0,o.align==="left"&&(D.left=!0),o.scroll===!0&&(D.scrollable=!0),o.shape&&(D[`${o.shape}`]=!0),D}),f=t.computed(()=>({})),h=t.computed(()=>{if(!o.gutter)return 0;const D=be(o.gutter);return D<=0?0:D}),d=t.ref(o.modelValue);t.watch(()=>o.modelValue,D=>{d.value!==D&&(d.value=D,R(!1))});const y=t.ref({"fox-tabs-bar__popup":!0,"fox-tabs-bar__popup--show":!1,"fox-tabs-bar__popup--hide":!1}),x=t.computed(()=>{const D={};return m.value||(D.display="none"),D}),w=t.ref(),m=t.ref(!1),g=()=>{const D=!m.value;P(D)},P=D=>{const O=D;O?(m.value=O,setTimeout(()=>{y.value["fox-tabs-bar__popup--show"]=!0,y.value["fox-tabs-bar__popup--hide"]=!1},0)):(y.value["fox-tabs-bar__popup--show"]=!1,y.value["fox-tabs-bar__popup--hide"]=!0,w.value?w.value.addEventListener("transitionend",()=>{m.value=!1},{once:!0}):setTimeout(()=>{m.value=!1},0))},b=t.ref(),c=t.ref([]),E=(D,O)=>{c.value[O]=D},B=D=>O=>{E(O,D)},I=(D,O)=>{const j=b.value,q=c.value;if(!j||!q||!q[D])return;const V=q[D];let Q=0;o.direction==="vertical"?Q=V.offsetTop-(j.offsetHeight-V.offsetHeight)/2:Q=V.offsetLeft-(j.offsetWidth-V.offsetWidth)/2,C(j,Q,O?0:.3,o.direction)},C=(D,O,j,q)=>{let V=0;const Q=q==="horizontal"?D.scrollLeft:D.scrollTop,ne=j===0?1:Math.round(j*1e3/16);function G(){q==="horizontal"?D.scrollLeft+=(O-Q)/ne:D.scrollTop+=(O-Q)/ne,++V<ne&&rl(G)}G()},A=(D,O)=>{const j=Wt(o,D),q={};return q[`${e}__titles-item`]=!0,q.disabled=kr(o,D),q.active=j===d.value,o.shape&&(q[`${o.shape}`]=!0),o.ellipsis&&(q.ellipsis=!0),O&&(O.class&&(q[`${O.class}`]=!0),O.disabled===!0&&(q.disabled=O.disabled)),q},T=(D,O)=>{const j={};if(h.value>0){const q=Math.abs(h.value/2);o.direction==="vertical"?(j["margin-top"]=`${q}px`,j["margin-bottom"]=`${q}px`):(j["margin-left"]=`${q}px`,j["margin-right"]=`${q}px`)}return O&&O.style&&Object.assign(j,O.style),j},K=(D,O)=>`${Wt(o,D)??O}`,p=(D,O)=>{const j=Wt(o,D),q={};q[`${e}__popup-item`]=!0,q.disabled=kr(o,D),q.active=j===d.value,o.shape&&(q[`${o.shape}`]=!0);const V=Dr(o,D,O);return V&&V.disabled===!0&&(q.disabled=V.disabled),q},L=t.computed(()=>(o.data??[]).filter(O=>vm(o,O)!==!1)),X=(D,O)=>{const j=Wt(o,D);if(d.value==j)return;const q=()=>{d.value=j,o.scroll&&I(O,!1),i("update:modelValue",j),i("change",D,O)};if(typeof o.beforeChange=="function"){const V=o.beforeChange(D,O);Zt(V)?V.then(Q=>{Q!==!1&&q()}).catch(()=>{q()}):V!==!1&&q()}else q()},_=(D,O)=>function(){X(D,O)},N=(D,O)=>{X(D,O),P(!1)},z=(D,O)=>function(){N(D,O)},R=D=>{if(!Array.isArray(o.data)||!o.scroll)return;const O=o.data.findIndex(j=>Wt(o,j)===d.value);O!==-1&&I(O,D)};t.watch(()=>o.data,()=>{setTimeout(R,0)}),t.onMounted(()=>{R(!0)});const Z=(D,O)=>{if(r.item)return r.item({item:D,index:O});const j=Dr(o,D,O),q=[];if(r.text){const G=r.text({item:D,index:O});q.push(G)}else{const G=[];if(j?.doit===!0||wm(o,D)){const W={class:[`${e}__titles-item-tip`,"doit"]},J=t.h("view",W);G.push(J)}const $=j?.num??Sm(o,D);if($){let W="";const J=ye($);J>=100?W="99+":W=`${J}`;const k={class:[`${e}__titles-item-tip`,"num"]},Y=t.h("view",k,[W]);G.push(Y)}const M={class:`${e}__titles-item-text`};G.push($r(o,D));const S=t.h("view",M,G);q.push(S)}const V={class:`${e}__titles-item-line`},Q=t.h("view",V);q.push(Q);const ne={ref:B(O),class:A(D,j),style:T(D,j),key:K(D,O),onClick:_(D,O)};return t.h("view",ne,q)},U=()=>{const D=r.default?r.default():[];if(D.length===0)for(let j=0;j<L.value.length;j++){const q=L.value[j],V=Z(q,j);D.push(V)}const O={ref:b,class:s.value,style:f.value};return t.h("view",O,D)},H=()=>{let D=null;r.navigation?D=r.navigation():D=t.h(a);const O={class:`${e}__navigation`,onClick:g};return t.h("view",O,[D])},te=()=>{const D=[];for(let j=0;j<L.value.length;j++){const q=L.value[j];let V=null;r.popupItem?V=r.popupItem({item:q,index:j}):V=$r(o,q);const Q={class:p(q,j),key:K(q,j),onClick:z(q,j)},ne=t.h("view",Q,[V]);D.push(ne)}const O={class:y.value,style:x.value};return t.h("view",O,D)};return()=>{const D=[],O=U();if(D.push(O),o.showQuickNavigation){const q=H();D.push(q);const V=te();D.push(V)}const j={class:u.value};return t.h("view",j,D)}}}}const{create:Cm,componentName:Tm,scope:$m}=se("tabs-bar"),zn=Cm(xm(Tm,$m,Qu,!1)),Nr=Symbol("TabsStatesKey"),km={modelValue:{type:[String,Number]},direction:{type:[String],default:()=>"horizontal"},lazy:{type:[Boolean],default:()=>!0},draggle:{type:[Boolean],default:()=>!1}},Dm=15,Nm=300,Em=200;function Im(e,n,a=1){return e=Math.abs(e/n)/.003*(e<0?-1:1),e*a}function Er(e,n=0,a,l,o=Em){a==="end"?e.style.transition=`transform ${o}ms linear`:e.style.transition="transform 0ms linear",l==="horizontal"?e.style.transform=`translate3d(${n}px, 0, 0)`:e.style.transform=`translate3d(0, ${n}px, 0)`}let Vm=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(n,a,l,o=1){this.onStart=n,this.onMove=a,this.onEnd=l,this.momentumReduceRatio=o,this.isTouch=jt()}open(n){this.el=n;const a=Ht(),l=(o,r,i)=>{const u={delta:o,direction:r,type:i};this.onMove(u)};this.transitionend=()=>{this.transitionEndTrigger&&(this.transitionEndTrigger(),this.transitionEndTrigger=null)},this.touchstart=o=>{if(this.moving)return;a.start(o),this.transitionEndTrigger=()=>{n.removeEventListener("transitionend",this.transitionend),this.moving=!1,this.onEnd()},this.moving=!0,n.removeEventListener("transitionend",this.transitionend),n.addEventListener("transitionend",this.transitionend),n.addEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),n.addEventListener(this.isTouch?"touchend":"mouseup",this.touchend),this.isTouch&&n.addEventListener("touchcancel",this.touchend);const r={delta:0,type:"start",direction:this.direction};this.onStart(r)},this.touchmove=o=>{if(!this.moving)return;a.move(o);let r=0;if(this.direction==="horizontal"){if(a.isVertical())return;r=a.state.deltaX}else{if(a.isHorizontal())return;r=a.state.deltaY}l(r,this.direction,"move")},this.touchend=()=>{if(!this.moving)return;n.removeEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),n.removeEventListener(this.isTouch?"touchend":"mouseup",this.touchend),this.isTouch&&n.removeEventListener("touchcancel",this.touchend);let o=0;if(this.direction==="horizontal"){if(a.isVertical()){this.moving=!1;return}o=a.state.deltaX}else{if(a.isHorizontal()){this.moving=!1;return}o=a.state.deltaY}const r=a.state.duration;r<Nm&&Math.abs(o)>Dm?(o=Im(o,r,this.momentumReduceRatio),l(o,this.direction,"end")):l(o,this.direction,"end")},n.addEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart)}close(){const n=this.el;this.transitionend&&n.addEventListener("transitionend",this.transitionend),this.touchstart&&n.addEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart),this.touchmove&&n.addEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),this.touchend&&n.addEventListener(this.isTouch?"touchend":"mouseup",this.touchend),this.touchcancel&&this.isTouch&&n.addEventListener("touchcancel",this.touchcancel),this.el=null}};function Om(e,n,a,l=1){return new Vm(e,n,a,l)}function Am(e,n,a=!1){return{props:{...km},emits:["update:modelValue","change"],setup(l,{emit:o,slots:r}){const i=t.shallowRef([]),u={current:t.ref(l.modelValue??""),direction:t.ref(l.direction),tabWidth:t.ref(-1),tabHeight:t.ref(-1),add:I=>{const C={name:I};u.current.value===I&&(C.loaded=!0),i.value.push(C),t.triggerRef(i)},remove:I=>{const C=i.value.findIndex(A=>A.name===I);C!==-1&&i.value.splice(C,1)},isLoaded:I=>{if(!l.lazy)return!0;const C=i.value.findIndex(A=>A.name===I);return C!==-1?u.current.value?i.value[C].loaded??!1:C===0:!1}};t.provide(Nr,u);const s=I=>{const C=i.value.findIndex(A=>A.name===I);C!==-1&&(i.value[C].loaded=!0,t.triggerRef(i))};t.watch([()=>l.modelValue,()=>l.direction],([I,C])=>{u.current.value!==I&&(u.current.value=I??"",s(I??"")),u.direction.value!==C&&(u.direction.value=C)});const f=t.ref(null),h=t.ref(null),d=t.computed(()=>({[e]:!0,[`${l.direction}`]:!0}));let y=!0;const x=t.computed(()=>{const I={},C=i.value.length;if(C<=0)return I;const A=i.value.findIndex(T=>T.name===u.current.value);return u.direction.value==="vertical"?u.tabHeight.value>0&&(I.height=`${C*u.tabHeight.value}px`,A!==-1&&(I.transform=`translate(0, -${A*u.tabHeight.value}px)`)):u.tabWidth.value>0&&(I.width=`${C*u.tabWidth.value}px`,A!==-1&&(I.transform=`translate(-${A*u.tabWidth.value}px, 0)`)),y&&(y=!1,I.transition="transform 0s ease"),I}),w={min:0,max:0,start:0,moved:0,itemDistance:0,triggerAutoMoveRatio:.3},m=I=>{const C=i.value.length,A=i.value.findIndex(T=>T.name===u.current.value);w.moved=0,I.direction==="vertical"?(w.min=-1*(u.tabHeight.value*(C-1)+u.tabHeight.value/4),w.max=u.tabHeight.value/4,w.start=-A*u.tabHeight.value,w.itemDistance=u.tabHeight.value):(w.min=-1*(u.tabWidth.value*(C-1)+u.tabWidth.value/4),w.max=u.tabWidth.value/4,w.start=-A*u.tabWidth.value,w.itemDistance=u.tabWidth.value)},g=I=>{const C=h.value;if(!C)return;let A=w.start+I.delta;if(A>w.max?A=w.max:A<w.min&&(A=w.min),I.type==="move")Er(C,A,"move",I.direction,300);else if(I.type==="end"){let T=Math.floor(Math.abs(A)*1/w.itemDistance);const K=Math.abs(A)%w.itemDistance;w.start>A?K>=w.itemDistance*w.triggerAutoMoveRatio&&(T+=1):K>w.itemDistance-w.itemDistance*w.triggerAutoMoveRatio&&(T+=1),A=-1*T*w.itemDistance,Er(C,A,"end",I.direction,300),w.moved=A;const p=i.value[T].name;u.current.value=p??"",s(p??""),o("update:modelValue",p)}},P=()=>{},b=()=>{if(!f.value)return;const I=gn(f.value);u.tabWidth.value=I.width,u.tabHeight.value=I.height},c=Ke(b,120);let E=null,B=null;return t.onMounted(()=>{f.value&&(window.ResizeObserver&&(B=new window.ResizeObserver(c),B.observe(f.value)),b(),l.draggle&&(E=Om(m,g,P),E.open(h.value)))}),t.onBeforeUnmount(()=>{B&&(B.disconnect(),B=null),E&&E.close()}),()=>{const I={class:`${e}__panes`,style:x.value,ref:h},C=t.h("view",I,[r?.default?.()]),A={class:d.value,ref:f};return t.h("view",A,[C])}}}}const{create:Fm,componentName:Mm,scope:Rm}=se("tabs-container"),jn=Fm(Am(Mm,Rm,!1)),Bm={paneKey:{type:[String,Number],required:!0},loaded:{type:[Boolean,String],default:null},emptyIcon:{type:[Object],required:!1},emptyText:{type:[String],required:!1}};function Lm(e,n,a){return{props:{...Bm},setup(l,{emit:o,slots:r}){const i=t.inject(Nr);t.onMounted(()=>{i.add(l.paneKey)}),t.onBeforeUnmount(()=>{i.remove(l.paneKey)});const u=t.computed(()=>{const f={};return i.direction.value==="vertical"&&i.tabHeight.value>0?f.height=`${i.tabHeight.value}px`:i.tabWidth.value>0&&(f.width=`${i.tabWidth.value}px`),f}),s=t.computed(()=>l.loaded!=null?de(l.loaded):i.isLoaded(l.paneKey));return()=>{let f=[];if(s.value)f=r?.default?.()??[];else if(r.empty)f=r.empty();else{const d={class:`${e}__empty-icon`},y=l.emptyIcon??a,x=t.h(y,d),w={class:`${e}__empty-text`},m=l.emptyText??"Loading",g=t.h("view",w,[m]),P={class:`${e}__empty`},b=t.h("view",P,[x,g]);f.push(b)}const h={class:`${e}`,style:u.value};return t.h("view",h,f)}}}}const{create:Pm,componentName:_m,scope:qm}=se("tabs-pane"),Hn=Pm(Lm(_m,qm,Fn)),zm={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:[Boolean,String]},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 jm(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function Ir(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function Vr(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}function Hm(e,n){return typeof e.visibleKey=="string"&&e.visibleKey.length>0?n[e.visibleKey]:n.visible??null}function sa(e,n){return typeof e.statusKey=="string"&&e.statusKey.length>0?n[e.statusKey]:n.statusKey??null}function Or(e,n){return typeof e.doitKey=="string"&&e.doitKey.length>0?n[e.doitKey]:n.doitKey??null}function Ar(e,n){return typeof e.labelKey=="string"&&e.labelKey.length>0?n[e.labelKey]:n.labelKey??null}function ua(e,n,a){return typeof e.itemOptions=="function"?e.itemOptions(n,a):e.itemOptions}class Km{proxy;constructor(n){this.proxy=n}async load(n,a,l){if(Array.isArray(a))return a;if(typeof a=="function")return await Reflect.apply(a,null,[l]);const o=Pe(this.proxy,n);return o===null?(console.error(`${n} component not found api function`),[]):(He(l)&&t.isReactive(l)&&(l=t.toRaw(l)),await Reflect.apply(o,null,[a,l]))}}function Wm(){const e=t.getCurrentInstance();return new Km(e.proxy)}function Ym(e,n,a,l){return{props:{...zm},emits:["update:modelValue","change","loaded-data"],setup(o,{slots:r,emit:i}){const u=e,s=Wm(),f=t.ref([]),h=t.computed(()=>f.value.filter(O=>Hm(o,O)!==!1)),d=t.ref(-1),y=()=>{const O=o.modelValue,j=h.value.findIndex(q=>Ir(o,q)===O);d.value!==j&&(d.value=j,o.scroll&&te(j))};t.watch([()=>o.modelValue,h],()=>{y()});const x=O=>d.value===O,w=O=>{if(O<0&&O>=h.value.length)return!1;const j=h.value[O],V=(ua(o,j,O)??{}).status??sa(o,j);return x(O)||V},m=t.computed(()=>{const O={[u]:!0};return o.mode?O[`is-${o.mode}`]=!0:o.direction&&(O[`is-${o.direction}`]=!0),o.scroll&&(O["is-scroll"]=!0),O}),g=t.computed(()=>({})),P=(O,j,q,V,Q)=>{const ne={[`${u}__step`]:!0};return Q&&(ne[`${Q}`]=!0),ne[`${b.value}`]=!0,V&&(ne["is-doit"]=!0),O===d.value?ne["is-active"]=!0:j==="done"?ne["is-done"]=!0:j==="error"?ne["is-error"]=!0:j==="half"?ne["is-half"]=!0:q?ne["is-disabled"]=!0:ne["is-normal"]=!0,ne},b=t.computed(()=>{if(o.mode==="simple")return"start";let O=o.align;return O||(o.direction==="vertical"?O="start":O="center"),O}),c=(O,j={})=>{const q={...j};return b.value==="start"&&O===h.value.length-1?q.flex="0 0 auto":o.step?o.direction==="vertical"?q.height=o.step:q.width=o.step:q.flex="1 1 100%",q},E=(O,j)=>{let q={};if(j<h.value.length-1){const V=j+1;w(j)&&w(V)?o.direction==="vertical"?q.height="100%":q.width="100%":q.opacity="0"}return q},B=O=>h.value.length-1===O,I=(O,j)=>{if(o.clickNavigatePolicy==="disabled"||(o.clickNavigatePolicy==="only-back"||o.clickNavigatePolicy==="only-back-reset")&&j>d.value||d.value===j)return;const q=d.value,V=j;d.value=j,o.scroll&&te(j);const Q=Ir(o,O);i("update:modelValue",Q);const ne={fromIndex:q,currentIndex:V,item:O,items:h.value,clickNavigatePolicy:o.clickNavigatePolicy};i("change",Q,ne)},C=t.ref(!0),A=async(O,j)=>{try{const q=await s.load("stesbar",O,j);Array.isArray(q)&&(f.value=q),C.value=!1}catch(q){console.error("[FoxUI] Load StepsBar Data Fail",q),f.value=[]}setTimeout(()=>{i("loaded-data")},250)};t.watch([()=>o.data,()=>o.params],async([O,j])=>{O&&A(O,j)},{immediate:!0});const T=(O,j,q,V,Q)=>{let ne=null;if(r.icon)ne=r.icon({item:O,index:j,status:V});else if(V==="done"){const $={};o.iconSize&&($.width=o.iconSize,$.height=o.iconSize);const M=o.icon??a;ne=t.h(M,$)}else{const $=q??`${j+1}`;ne=t.h("span",{},[$])}const G={class:"fox-steps-bar__icon",onClick:()=>{Q||I(O,j)}};return t.h("view",G,[ne])},K=(O,j,q)=>{const V=t.h("i",{class:"fox-steps-bar__line-inner",style:E(O,j)});return t.h("view",{class:"fox-steps-bar__line"},[V])},p=()=>{let O=null;if(r.markIcon)O=r.markIcon();else{const q={};o.iconSize&&(q.width=o.markIconSize,q.height=o.markIconSize);const V=o.markIcon??l;O=t.h(V,q)}return t.h("view",{class:"fox-steps-bar__mark"},[O])},L=(O,j,q,V,Q)=>{const ne=[];if(!B(j)){const M=K(O,j);ne.push(M)}const G=T(O,j,q,V,Q);ne.push(G);const $={class:"fox-steps-bar__head"};return t.h("view",$,ne)},X=(O,j,q,V)=>{let Q=null;r.main?Q=r.main({item:O,index:j,status:q}):Q=jm(o,O);const ne={class:"fox-steps-bar__main",onClick:()=>{V||I(O,j)}};return t.h("view",ne,[Q])},_=(O,j,q)=>{let V=null;if(r.sub){V=r.sub({item:O,index:j,status:q});const Q={class:"fox-steps-bar__sub"};return t.h("view",Q,[V])}return null},N=(O,j)=>{const q=ua(o,O,j)??{},V=q.status??sa(o,O);let Q=Vr(o,O);q.disabled===!0&&(Q=!0),o.disabled===!0&&(Q=!0);const ne=q.label??Ar(o,O),G=[],$=T(O,j,ne,V,Q);$&&G.push($);const M=X(O,j,V,Q);if(M&&G.push(M),!B(j)){const ee=K(O,j);ee&&G.push(ee)}const S=t.h("view",{class:"fox-steps-bar__head"},G),W=q.class,J=q.style??{};let k=Or(o,O);q.doit===!0&&(k=!0);const Y={ref:H(j),class:P(j,V,Q,k,W),style:c(j,J)};return t.h("view",Y,[S])},z=(O,j)=>{const q=ua(o,O,j)??{},V=q.status??sa(o,O);let Q=Vr(o,O);q.disabled===!0&&(Q=!0),o.disabled===!0&&(Q=!0);const ne=q.label??Ar(o,O),G=[],$=o.layout;for(let k of $)if(k==="head"){const Y=L(O,j,ne,V,Q);G.push(Y)}else if(k==="main"){const Y=X(O,j,V,Q);G.push(Y)}else if(k==="sub"){const Y=_(O,j,V);G.push(Y)}else if(k==="mark"){const Y=p();G.push(Y)}const M=q.class,S=q.style??{};let W=Or(o,O);q.doit===!0&&(W=!0);const J={ref:H(j),class:P(j,V,Q,W,M),style:c(j,S)};return t.h("view",J,G)},R=t.ref(),Z=t.ref([]),U=(O,j)=>{Z.value[j]=O},H=O=>j=>{U(j,O)},te=(O,j)=>{const q=R.value,V=Z.value;if(!q||!V||!V[O])return;const Q=V[O];let ne=0;o.direction==="vertical"?ne=Q.offsetTop-(q.offsetHeight-Q.offsetHeight)/2:ne=Q.offsetLeft-(q.offsetWidth-Q.offsetWidth)/2,D(q,ne,.3,o.direction)},D=(O,j,q,V)=>{let Q=0;const ne=V==="horizontal"?O.scrollLeft:O.scrollTop,G=Math.round(q*1e3/16);function $(){V==="horizontal"?O.scrollLeft+=(j-ne)/G:O.scrollTop+=(j-ne)/G,++Q<G&&rl($)}$()};return()=>{const O=[];if(o.mode==="simple")for(let q=0;q<h.value.length;q++){const V=h.value[q],Q=N(V,q);O.push(Q)}else for(let q=0;q<h.value.length;q++){const V=h.value[q],Q=z(V,q);O.push(Q)}const j={ref:R,class:m.value,style:g.value};return t.h("view",j,O)}}}}const{componentName:Um,create:Gm,scope:Xm}=se("steps-bar"),ca=Gm(Ym(Um,Xm,Bo,wc)),Fr=new Date().getFullYear(),Zm={date:"YYYY-MM-DD",datetime:"YYYY-MM-DD HH:mm:ss",time:"HH:mm:ss","year-month":"YYYY-MM","month-day":"MM-DD",datehour:"YYYY-MM-DD HH","hour-minute":"HH:mm"},Mr=(e,n,a)=>{let l;if(ot(n)?l=n:typeof n=="string"&&Xe(n)>0?l=re.parser(n,a):l=new Date,l.toString()==="Invalid Date")return null;let o=Math.max(l.getTime(),e.minDate.getTime());return o=Math.min(o,e.maxDate.getTime()),new Date(o)},Jm=(e,n,a)=>{ot(n)||(n=e.minDate);let l=Math.max(n.getTime(),e.minDate.getTime());return l=Math.min(l,e.maxDate.getTime()),re.format(new Date(l),a)},Qm={modelValue:{type:[String,Date]},confirmText:{type:String},cancelText:{type:String},type:{type:String,default:()=>"date"},valueFormat:{type:String},visible:{type:Boolean,default:()=>!1},title:{type:String,default:()=>""},isShowChinese:{type:Boolean,default:()=>!0},minuteStep:{type:Number,default:()=>1},minDate:{type:Date,default:()=>new Date(Fr-10,0,1),validator:ot},maxDate:{type:Date,default:()=>new Date(Fr+10,11,31),validator:ot},visibleItemCount:{type:[Number,String],default:()=>7},threeDimensional:{type:Boolean,default:()=>!0},swipeDuration:{type:[Number,String],default:()=>1e3},itemFormatter:{type:Function},itemFilter:{type:Function},teleportDisable:{type:Boolean}},{create:eg,scope:tg}=se("date-picker"),ng=eg({components:{Picker:Kt},props:{...Qm},emits:["click","update:visible","update:modelValue","update:dateIndexs","update:close","cancel","confirm","clear"],setup(e,{emit:n}){const{t:a}=Ce.useFoxI18n(tg),l={day:a("day"),year:a("year"),month:a("month"),hour:a("hour"),minute:a("minute"),seconds:a("seconds"),today:a("today"),fullWeekdays:JSON.parse(a("fullWeekdays"))},o=t.ref(!1);t.watch(()=>e.visible,c=>{o.value=c});function r(c,E){return new Date(c,E,0).getDate()}const i=(c,E)=>{const B=e[`${c}Date`],I=B.getFullYear();let C=1,A=1,T=0,K=0;c==="max"&&(C=12,A=r(E.getFullYear(),E.getMonth()+1),T=23,K=59);const p=K;return E.getFullYear()===I&&(C=B.getMonth()+1,E.getMonth()+1===C&&(A=B.getDate(),E.getDate()===A&&(T=B.getHours(),E.getHours()===T&&(K=B.getMinutes())))),{[`${c}Year`]:I,[`${c}Month`]:C,[`${c}Date`]:A,[`${c}Hour`]:T,[`${c}Minute`]:K,[`${c}Seconds`]:p}},u=t.computed(()=>{if(!y.value)return[];const{maxYear:c,maxDate:E,maxMonth:B,maxHour:I,maxMinute:C,maxSeconds:A}=i("max",y.value),{minYear:T,minDate:K,minMonth:p,minHour:L,minMinute:X,minSeconds:_}=i("min",y.value);let N=[{type:"year",range:[T,c]},{type:"month",range:[p,B]},{type:"day",range:[K,E]},{type:"hour",range:[L,I]},{type:"minute",range:[X,C]},{type:"seconds",range:[_,A]}];switch(e.type){case"date":N=N.slice(0,3);break;case"datetime":N=N.slice(0,5);break;case"time":N=N.slice(3,6);break;case"year-month":N=N.slice(0,2);break;case"month-day":N=N.slice(1,3);break;case"datehour":N=N.slice(0,4);break;case"hour-minute":N=N.slice(3,5);break}return N}),s=(c,E,B,I,C)=>{const A=[];for(;c<=E;){let T=!0;if(typeof e.itemFilter=="function"){const K={text:`${c}`,value:c,type:B,currentYearMonth:I};T=e.itemFilter(K)}if(T)if(typeof e.itemFormatter=="function"){const K={text:`${c}`,value:c,type:B,currentYearMonth:I};e.itemFormatter(K),A.push({text:K.text,value:K.value})}else if(e.isShowChinese){let K=`${c}${l[B]}`;if(B==="day"){if(I[0]===C[0]&&I[1]===C[1]&&c===C[2])K=l.today;else{const L=new Date(I[0],I[1],c).getDay();K=`${K} ${l.fullWeekdays[L]}`}A.push({text:K,value:c})}else A.push({text:c+l[B],value:c})}else A.push({text:`${c}`,value:c});B==="minute"?c+=e.minuteStep:c++}return A},f=t.computed(()=>{const c=new Date,E=[c.getFullYear(),c.getMonth(),c.getDate()],B=[];y.value&&(B[0]=y.value.getFullYear(),B[1]=y.value.getMonth());let I=[];return u.value.forEach(C=>{let A=s(C.range[0],C.range[1],C.type,B,E);A&&I.push(A)}),I}),h=(c,E)=>c==="year"?E.getFullYear():c==="month"?E.getMonth()+1:c==="day"?E.getDate():c==="hour"?E.getHours():c==="minute"?E.getMinutes():c==="seconds"?E.getSeconds():0,d=t.ref(),y=t.ref(null);t.watch(()=>e.modelValue,c=>{let E;if(typeof c=="string"?c.length==0||c==="Invalid Date"?E=new Date:e.valueFormat?E=Mr(e,e.modelValue,e.valueFormat):E=Mr(e,c,Zm[e.type]):ot(c)?E=c:E=new Date,!!E&&(!y.value||E.getTime()!==y.value.getTime())){y.value=E;let B=[];u.value.forEach(I=>{let C=h(I.type,E);B.push(C)}),d.value=B}},{immediate:!0});const x=c=>{if(!c||c.length===0){y.value=new Date;let E=[];u.value.forEach(B=>{let I=h(B.type,y.value);E.push(I)}),d.value=E;return}if(e.type==="date"){const E=c[0],B=c[1]-1,I=Math.min(c[2],r(E,B+1));I!==c[2]&&(c[2]=I),y.value=new Date(E,B,I)}else if(e.type==="datetime"){const E=c[0],B=c[1]-1,I=Math.min(c[2],r(E,B+1)),C=c[3],A=c[4];I!==c[2]&&(c[2]=I),y.value=new Date(E,B,I,C,A)}else if(e.type==="time"){const E=c[0],B=c[1],I=c[2],C=y.value??new Date,A=new Date(C.getFullYear(),C.getMonth(),C.getDate(),E,B,I);y.value=A}else if(e.type==="year-month"){const E=c[0],B=c[1]-1;y.value=new Date(E,B)}else if(e.type==="month-day"){const B=(y.value??new Date).getFullYear(),I=c[0]-1,C=Math.min(c[1],r(B,I+1));C!==c[1]&&(c[1]=C);const A=new Date(B,I,C);y.value=A}else if(e.type==="datehour"){const E=c[0],B=c[1]-1,I=Math.min(c[2],r(E,B+1)),C=c[3];I!==c[2]&&(c[2]=I),y.value=new Date(E,B,I,C)}else if(e.type==="hour-minute"){const E=c[0],B=c[1],I=y.value??new Date,C=new Date(I.getFullYear(),I.getMonth(),I.getDate(),E,B);y.value=C}d.value=c};return{columns:f,dateIndexs:d,show:o,onChange:c=>{x(c)},onClose:()=>{n("update:close",!1)},onConfirm:c=>{x(c);const E=y.value??new Date;if(e.valueFormat){let B=Jm(e,E,e.valueFormat);n("update:modelValue",B)}else n("update:modelValue",E);n("confirm",c)},onClear:()=>{n("clear")},onUpdateVisible:c=>{o.value=c,n("update:visible",c)}}}});function lg(e,n,a,l,o,r){const i=t.resolveComponent("Picker");return t.openBlock(),t.createBlock(i,{visible:e.show,"model-value":e.dateIndexs,source:e.columns,"value-type":"value","confirm-text":e.confirmText,"cancel-text":e.cancelText,title:e.title,onChange:e.onChange,onConfirm:e.onConfirm,onClose:e.onClose,onClear:e.onClear,"onUpdate:visible":e.onUpdateVisible,"visible-item-count":e.visibleItemCount,"three-dimensional":e.threeDimensional,"swipe-duration":e.swipeDuration,"teleport-disable":e.teleportDisable},{top:t.withCtx(()=>[t.renderSlot(e.$slots,"top")]),default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},8,["visible","model-value","source","confirm-text","cancel-text","title","onChange","onConfirm","onClose","onClear","onUpdate:visible","visible-item-count","three-dimensional","swipe-duration","teleport-disable"])}const fa=Re(ng,[["render",lg]]),Kn=(e,n,a)=>e.map(l=>{const{value:o="value",text:r="text",children:i="children"}=a??{},{[o]:u,[r]:s,[i]:f,...h}=l,d={loading:!1,...h,level:n?(n&&n.level||0)+1:0,value:u,text:s,children:f,_parent:n};return d.children&&d.children.length&&(d.children=Kn(d.children,d,a)),d}),Rr=(e,n)=>{let a=0,l;for(;(l=e[a++])&&n(l)!==!0;)l.children&&l.children.length&&Rr(l.children,n)},ag={topId:null,idKey:"id",pidKey:"pid",sortKey:""},og=(e,n)=>{const a={...ag,...n||{}},{topId:l,idKey:o,pidKey:r,sortKey:i}=a;let u=[],s={};return e.forEach(f=>{f={...f};const{[o]:h,[r]:d}=f,y=s[d]=s[d]||[];!u.length&&d===l&&(u=y),y.push(f),f.children=s[h]||(s[h]=[])}),i&&Object.keys(s).forEach(f=>{s[f].length>1&&s[f].sort((h,d)=>h[i]-d[i])}),s=null,u};class Br{nodes;config;constructor(n,a){this.config={value:"value",text:"text",children:"children",...a||{}},this.nodes=Kn(n,null,this.config)}updateChildren(n,a){a?a.children=Kn(n,a,this.config):this.nodes=Kn(n,null,this.config)}getNodeByValue(n){let a;return Rr(this.nodes,l=>{if(l.value===n)return a=l,!0}),a}getPathNodesByValue(n){if(!n.length)return[];const a=[];let l=this.nodes;for(;l&&l.length;){const o=l.find(r=>r.value===n[r.level]);if(!o)break;a.push(o),l=o.children}return a}isLeaf(n,a){const{leaf:l,children:o}=n,r=Array.isArray(o)&&!!o.length;return l||!r&&!a}hasChildren(n,a){if(this.isLeaf(n,a))return!1;const{children:o}=n;return Array.isArray(o)&&!!o.length}}const{create:rg,scope:ig}=se("cascader-pane"),sg=rg({components:{Loading:Fn,Checklist:Bo,TabsBar:zn,TabsContainer:jn,TabsPane:Hn},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}){const{t:a}=Ce.useFoxI18n(ig),l=t.computed(()=>({lazy:e.lazy,lazyLoad:e.lazyLoad,valueKey:e.valueKey,textKey:e.textKey,childrenKey:e.childrenKey,convertConfig:e.convertConfig})),o=t.ref(0),r=t.ref(!1),i=t.ref(e.modelValue),u=t.ref(new Br([],{})),s=t.ref([]),f=t.computed(()=>l.value.lazy&&!!l.value.lazyLoad),h=t.computed(()=>r.value==!0||s.value.length==0?[{text:"Loading",value:0}]:s.value.map((b,c)=>({text:b.selectedNode?b.selectedNode.text:a("select"),value:c}))),d=new Map;let y;const x=async()=>{d.clear(),s.value=[],o.value=0,r.value=!1,y=null;let{options:b}=e;l.value.convertConfig&&(b=og(b,l.value.convertConfig)),u.value=new Br(b,{value:l.value.valueKey,text:l.value.textKey,children:l.value.childrenKey}),f.value&&!u.value.nodes.length&&await m({root:!0,loading:!0,text:"",value:""}),s.value=[{nodes:u.value.nodes,selectedNode:null}],w()},w=async()=>{const b=i.value;if(b===void 0||!u.value.nodes.length)return;if(b.length===0){o.value=0,s.value=[{nodes:u.value.nodes,selectedNode:null}];return}let c=b;if(f.value&&Array.isArray(b)&&b.length){c=[];let E=u.value.nodes.find(B=>B.value===b[0]);if(E){c=[E.value],r.value=!0;const B=await b.slice(1).reduce(async(I,C)=>{const A=await I;await m(A);const T=A?.children?.find(K=>K.value===C);return T&&c.push(C),Promise.resolve(T)},Promise.resolve(E));await m(B),r.value=!1}}c.length&&b===e.modelValue&&u.value.getPathNodesByValue(c).map((B,I)=>{o.value=I,P.handleNode(B,!0)})},m=async b=>{if(!b)return;if(!l.value.lazyLoad){b.leaf=!0;return}if(u.value.isLeaf(b,f.value)||u.value.hasChildren(b,f.value))return;b.loading=!0;const c=b.root?null:b;let E=d.get(b);E||(E=new Promise(I=>{l.value.lazyLoad?.(b,I)}),d.set(b,E));const B=await E;Array.isArray(B)&&B.length>0?u.value.updateChildren(B,c):b.leaf=!0,b.loading=!1,d.delete(b)},g=b=>{const c=b.map(E=>E.value);i.value=c,n("change",c,b),n("update:modelValue",c,b)},P={async handleNode(b,c){const{disabled:E,loading:B}=b;if(!(!c&&E||!s.value[o.value])){if(u.value.isLeaf(b,f.value)){if(b.leaf=!0,s.value[o.value].selectedNode=b,s.value=s.value.slice(0,b.level+1),!c){const I=s.value.map(C=>C.selectedNode);g(I),n("pathChange",I)}return}if(u.value.hasChildren(b,f.value)){const I=b.level+1;if(s.value[o.value].selectedNode=b,s.value=s.value.slice(0,I),s.value.push({nodes:b.children||[],selectedNode:null}),o.value=I,!c){const C=s.value.map(A=>A.selectedNode);n("pathChange",C)}return}y=b,!B&&(await m(b),y===b&&(s.value[o.value].selectedNode=b,P.handleNode(b,c)))}},handleTabChange(b,c){y=null},formatTabTitle(b){return b.selectedNode?b.selectedNode.text:a("select")},isSelected(b,c){return b.selectedNode&&b.selectedNode.value===c.value}};return t.watch([l,()=>e.options],()=>{x()},{deep:!0,immediate:!0}),t.watch(()=>e.modelValue,b=>{b!==i.value&&(i.value=b,w())}),t.watch(()=>e.visible,b=>{b&&Array.isArray(i.value)&&i.value.length>0&&w()}),{panes:s,panesTitles:h,initLoading:r,tabsCursor:o,...P}}}),ug={class:"fox-cascader"},cg={role:"menu",class:"fox-cascader__pane"},fg=["aria-checked","aria-disabled","onClick"],dg={class:"fox-cascader__item__title"};function hg(e,n,a,l,o,r){const i=t.resolveComponent("TabsBar"),u=t.resolveComponent("Loading"),s=t.resolveComponent("Checklist"),f=t.resolveComponent("TabsPane"),h=t.resolveComponent("TabsContainer");return t.openBlock(),t.createElementBlock("view",ug,[t.createVNode(i,{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"]),t.createVNode(h,{modelValue:e.tabsCursor,"onUpdate:modelValue":n[1]||(n[1]=d=>e.tabsCursor=d)},{default:t.withCtx(()=>[!e.initLoading&&e.panes.length?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(e.panes,(d,y)=>(t.openBlock(),t.createBlock(f,{"pane-key":y,key:y},{default:t.withCtx(()=>[t.createElementVNode("view",cg,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(d.nodes,x=>(t.openBlock(),t.createElementBlock("view",{key:x.value,class:t.normalizeClass(["fox-cascader__item",{active:e.isSelected(d,x),disabled:x.disabled}]),"aria-checked":e.isSelected(d,x),"aria-disabled":x.disabled||void 0,role:"menuitemradio",onClick:w=>e.handleNode(x,!1)},[t.createElementVNode("view",dg,t.toDisplayString(x.text),1),x.loading?(t.openBlock(),t.createBlock(u,{key:0,class:"fox-cascader__item__icon-loading",name:"loading"})):(t.openBlock(),t.createBlock(s,{key:1,class:"fox-cascader__item__icon-check",name:"checklist"}))],10,fg))),128))])]),_:2},1032,["pane-key"]))),128)):(t.openBlock(),t.createBlock(f,{key:1,"pane-key":0},{default:t.withCtx(()=>n[2]||(n[2]=[t.createElementVNode("view",{class:"fox-cascader__pane"},null,-1)])),_:1}))]),_:1},8,["modelValue"])])}const mg=Re(sg,[["render",hg]]),{create:gg}=se("cascader-picker"),yg=gg({components:{FoxCascaderPane:mg,FoxPopup:mt},props:{...Rl,modelValue:Array,visible:Boolean,title:String,options:{type:Array,default:()=>[]},lazy:Boolean,lazyLoad:Function,valueKey:{type:String,default:"value"},textKey:{type:String,default:"text"},childrenKey:{type:String,default:"children"},poppable:{type:Boolean,default:!0},convertConfig:Object},emits:["update:modelValue","change","pathChange","update:visible"],setup(e,{emit:n}){const a=t.ref(e.modelValue),l=t.computed({get(){return e.visible},set(i){n("update:visible",i)}}),o=(i,u)=>{a.value=i,l.value=!1,n("change",i,u),n("update:modelValue",i)},r=i=>{n("pathChange",i)};return t.watch(()=>e.modelValue,i=>{i!==a.value&&(a.value=i)}),{onChange:o,onPathChange:r,innerValue:a,innerVisible:l}}}),pg=["innerHTML"];function bg(e,n,a,l,o,r){const i=t.resolveComponent("FoxCascaderPane"),u=t.resolveComponent("FoxPopup");return e.poppable?(t.openBlock(),t.createBlock(u,{key:0,visible:e.innerVisible,"onUpdate:visible":n[0]||(n[0]=s=>e.innerVisible=s),position:"bottom","pop-class":"fox-cascader__popup",round:"",closeable:e.closeable,"destroy-on-close":!1,"close-icon-position":e.closeIconPosition},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"header",{},()=>[e.title?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-cascader__bar",innerHTML:e.title},null,8,pg)):t.createCommentVNode("",!0)]),t.createVNode(i,{onChange:e.onChange,onPathChange:e.onPathChange,modelValue:e.innerValue,options:e.options,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,["visible","closeable","close-icon-position"])):(t.openBlock(),t.createBlock(i,{key:1,onChange:e.onChange,onPathChange:e.onPathChange,modelValue:e.innerValue,options:e.options,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"]))}const da=Re(yg,[["render",bg]]),vg=Symbol.for("InnerPageScopeKey"),wg=Symbol.for("PageWrapperKey");function Sg(e,n){return{props:{class:{type:[String]},title:{type:[String]},hideHeader:{type:[Boolean]},draggable:{type:[Boolean],default:()=>!0},appendToBody:{type:[Boolean],default:!0},closeOnClickModal:{type:[Boolean],default:()=>!1},closeOnPressEscape:{type:[Boolean],default:()=>!0}},setup(a,l){t.provide(vg,!0);const o={};t.provide(wg,o);const r=s=>{typeof o.beforeClose=="function"&&o.beforeClose()},i=t.ref(!0),u=s=>{i.value=s};return()=>{const f={...l.attrs,title:a.title,draggable:a.draggable,modelValue:i.value,"onUpdate:modelValue":u,"append-to-body":a.appendToBody,"close-on-click-modal":a.closeOnClickModal,"close-on-press-escape":a.closeOnPressEscape,"before-close":r},h=["fox-dialog-item "];a.hideHeader&&h.push("hide-header"),a.class&&h.push(a.class),f.class=h.join(" ");const d={};return typeof l.slots.default=="function"&&(d.default=l.slots.default),t.h(F.ElDialog,f,d)}}}}const{create:xg}=se("dialog-item"),ha=xg(Sg()),{create:Cg}=se("toast"),Tg=Cg({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 a=null;const l=t.reactive({mounted:!1});t.onMounted(()=>{l.mounted=!0});const o=()=>{a&&(clearTimeout(a),a=null)},r=()=>{l.mounted=!1},i=()=>{o(),e.duration&&(a=setTimeout(()=>{r()},e.duration))},u=()=>{e.closeOnClickOverlay&&(r(),n("close"))};e.duration&&i(),t.watch(()=>e.duration,x=>{x&&i()});const s=t.computed(()=>e.type!=="text"?!0:!!e.icon),f=()=>{const x=be(e.iconSize);return t.h(e.icon,{width:x,height:x,color:e.iconColor})},h=t.computed(()=>["fox-toast",{"fox-toast-center":e.center},{"fox-toast-has-icon":s.value},{"fox-toast-cover":e.cover},{"fox-toast-loading":e.type==="loading"},e.customClass,"fox-toast-"+e.size]),d=t.computed(()=>["fox-toast-icon-wrapper",{"fox-toast-icon-no-animation":!e.loadingRotate}]);return{state:l,hide:r,clickCover:u,renderIcon:f,hasIcon:s,toastBodyClass:h,toastIconWrapperClass:d,onAfterLeave:()=>{o(),e.unmount(e.id),e.onClose&&e.onClose()}}}}),$g={key:1,class:"fox-toast-title"},kg=["innerHTML"];function Dg(e,n,a,l,o,r){return t.openBlock(),t.createBlock(t.Transition,{name:"toast-fade",onAfterLeave:e.onAfterLeave},{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("view",{class:t.normalizeClass(e.toastBodyClass),style:t.normalizeStyle({bottom:e.center?"auto":e.bottom,"background-color":e.coverColor}),onClick:n[0]||(n[0]=(...i)=>e.clickCover&&e.clickCover(...i))},[t.createElementVNode("view",{class:"fox-toast-inner",style:t.normalizeStyle({"text-align":e.textAlignCenter?"center":"left","background-color":e.bgColor})},[e.hasIcon?(t.openBlock(),t.createElementBlock("view",{key:0,class:t.normalizeClass(e.toastIconWrapperClass)},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.renderIcon())))],2)):t.createCommentVNode("",!0),e.title?(t.openBlock(),t.createElementBlock("div",$g,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),t.createElementVNode("view",{class:"fox-toast-text",innerHTML:e.msg},null,8,kg)],4)],6),[[t.vShow,e.state.mounted]])]),_:1},8,["onAfterLeave"])}const ma=Re(Tg,[["render",Dg]]),Ng={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}},Eg=(e,n,a)=>({props:{...Ng},emits:["change","refresh","update:modelValue"],setup(l,{emit:o,slots:r}){const{toLocaleRefs:i}=Ce.useFoxI18n(n),u=i(l,["pullingText","loosingText","loadingText"]),s=Ht(),f=t.ref(),h=dr(f),d=t.reactive({isPullRefresh:!1,distance:0,status:"normal",moving:!1}),y=t.computed(()=>({[e]:!0})),x=t.computed(()=>{switch(d.status){case"pulling":return r.pulling?"":u.pullingText.value;case"loosing":return r.loosing?"":u.loosingText.value;case"loading":return r.loading?"":u.loadingText.value;default:return""}}),w=t.computed(()=>({transitionDuration:`${l.duration}s`,transform:d.distance?`translate3d(0,${d.distance}px, 0)`:""})),m=t.computed(()=>{const C={};return l.headHeight!=50&&(C.height=Le(l.headHeight)),C}),g=C=>{const A=+(l.pullDistance||l.headHeight);let T=C;return C>A&&(C<A*2?T=(C+A)/2:T=A+C/4),Math.round(T)},P=(C,A)=>{const T=+(l.pullDistance||l.headHeight);d.distance=C,A?d.status="loading":C===0?d.status="normal":C<T?d.status="pulling":d.status="loosing",o("change",{status:d.status,distance:C})},b=()=>d.status!=="loading"&&d.status!=="complete",c=()=>h.value==window?hr()==0:h.value&&h.value.scrollTop==0,E=C=>{b()&&(c()?(s.start(C),d.isPullRefresh=!0,d.moving=!0):(d.distance=0,d.isPullRefresh=!1))},B=C=>{b()&&d.moving&&(s.move(C),s.isVertical()&&s.state.deltaY>0&&d.isPullRefresh&&(C.cancelable&&C.preventDefault(),P(g(s.state.deltaY))))},I=()=>{d.moving=!1,d.isPullRefresh&&b()&&s.state.deltaY&&(d.status==="loosing"?(P(+l.headHeight,!0),o("update:modelValue",!0),t.nextTick(()=>o("refresh"))):P(0)),setTimeout(()=>{s.reset()},0)};return t.watch(()=>l.modelValue,C=>{C?P(+l.headHeight,!0):P(0)}),()=>{const C=[];let A=null;if(d.status==="loading"){if(A=r?.loading?.()??null,!A){const z={class:["fox-pull-refresh-container-topbox-icon"]};A=t.h(a,z)}}else d.status==="pulling"?A=r?.pulling?.()??null:d.status==="loosing"&&(A=r?.loosing?.()??null);A&&C.push(A);const T={class:["fox-pull-refresh-container-topbox-text"]},K=t.h("dive",T,[x.value]);C.push(K);const p={class:["fox-pull-refresh-container-topbox"],style:m.value},L=t.h("div",p,C),X={class:"fox-pull-refresh-container",style:w.value},_=t.h("div",X,[L,r?.default?.()]),N={ref:f,class:y.value};return jt()?Object.assign(N,{onTouchstart:E,onTouchmove:B,onTouchend:I}):Object.assign(N,{onMousedown:E,onMousemove:B,onMouseup:I}),t.h("div",N,[_])}}}),{componentName:Ig,create:Vg,scope:Og}=se("pull-refresh"),ga=Vg(Eg(Ig,Og,Fn));function Ag(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(a,{slots:l}){const o=e,r=t.computed(()=>({[o]:!0})),i=t.computed(()=>a.icon?{[`${o}__icon`]:!0,[`${o}__icon-${a.type}`]:!0}:{[`${o}__mark`]:!0,[`${o}__mark-${a.type}`]:!0}),u=t.computed(()=>a.color?a.icon?{color:a.color}:{background:a.color}:null),s=t.computed(()=>{const h={[`${o}__text`]:!0,[`${o}__text-${a.type}`]:!0};return a.textPosition==="left"?h["is-left"]=!0:h["is-right"]=!0,h}),f=t.computed(()=>a.color?{color:a.color}:null);return()=>{let h=null;if(l.mark)h=l.mark()[0];else{const m={class:i.value,style:u.value};h=t.h(a.icon??"div",m)}const d={class:s.value,style:f.value},y=l.default?l.default():[],x=t.h("div",d,y),w={class:r.value};return a.textPosition==="right"?t.h("div",w,[h,x]):t.h("div",w,[x,h])}}}}const{componentName:Fg,create:Mg}=se("indicator"),ya=Mg(Ag(Fg));function Rg(e,n){const a=document.createRange();a.setStart(e,0),a.setEnd(e,e.childNodes.length);const l=a.getBoundingClientRect().width;if(l>0){n(l);return}e.classList.add("is-selectable"),setTimeout(()=>{a.setStart(e,0),a.setEnd(e,e.childNodes.length);const o=a.getBoundingClientRect().width;e.classList.remove("is-selectable"),n(o)},500)}const Bg={tag:{type:[String],required:!1,default:"span"},showOverflowTooltip:{type:[Boolean],required:!1,default:!0},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},icon:{type:[Object],required:!1},textPosition:{type:String,default:"right"},textColor:{type:String}};function Lg(e,n,a,l=!1){return{props:{...Bg},emits:["click"],setup(o,r){const i=t.ref(null),u=t.computed(()=>{const c={[`${e}`]:!0,"is-truncated":o.truncated};return o.type&&(c[`${e}--${o.type??"default"}`]=!0),o.size&&(c[`${e}--${o.size}`]=!0),c}),s=t.computed(()=>{const c={},E=o.textColor??o.color;return E&&(c.color=E),c}),f=(c,E)=>{let B=null;if(typeof o.highlightFilter=="string"&&o.highlightFilter.length>0){const I=o.highlightFilter;if(c.indexOf(I)!==-1){const A=c.replace(new RegExp(I,"g"),`<span>${I}</span>`);E.innerHTML=A,E.class["is-highlight"]=!0,B=t.h(o.tag,E)}}else if(typeof o.highlightFilter=="function"){const I=o.highlightFilter(c);I&&(E.innerHTML=I,E.class["is-highlight"]=!0,B=t.h(o.tag,E))}return B},h=c=>{r.emit("click",c)};let d="";const y=()=>{const c=i.value;if(!c)return;const E=c.clientWidth;Rg(c,B=>{const I=c.innerHTML??"";me(I)||B<E||(d?a?.show(c,I,{type:"text",id:d,showArrow:o.showArrow},!0):d=a?.show(c,I,{type:"text",showArrow:o.showArrow},!0)??"")})},x=()=>{d&&a?.hide(d)};let w=null;const m=c=>{w||(w=setTimeout(()=>{y(),w=null},o.showAfter??0))},g=c=>{w&&(clearTimeout(w),w=null),setTimeout(()=>{x()},o.hideAfter??0)},P=()=>{const c=i.value;c&&(c.addEventListener("mouseover",m),c.addEventListener("mouseleave",g))},b=()=>{const c=i.value;c&&(c.removeEventListener("mouseover",m),c.removeEventListener("mouseleave",g))};return t.onMounted(()=>{!de(o.showOverflowTooltip)||!a||P()}),t.onBeforeUnmount(()=>{!de(o.showOverflowTooltip)||!a||b()}),()=>{const c={onClick:h,class:u.value,style:s.value,ref:i};let E=null;if(de(o.numberFormat)&&typeof r.slots.default=="function"){const A=r.slots.default();if(Array.isArray(A)&&A.length===1){const T=A[0].type.toString();if(T==="Symbol(Text)"||T==="Symbol(v-txt)"){const K=ye(o.digits),p=ye(o.decimalLength),L=de(o.autoPadding);let X=`${A[0].children}`,_=X.split("").reverse().join("");_=Xt(_,p,L,K,o.separator),X=_.split("").reverse().join(""),o.highlightFilter!==void 0&&(E=f(X,c)),E||(c.innerHTML=X,E=t.h(o.tag,c))}}}else{if(o.highlightFilter!==void 0&&typeof r.slots.default=="function"){const A=r.slots.default();if(Array.isArray(A)&&A.length===1){const T=A[0].type.toString();if(T==="Symbol(Text)"||T==="Symbol(v-txt)"){const K=`${A[0].children}`;E=f(K,c),E||(c.innerHTML=K,E=t.h(o.tag,c))}}}E||(E=t.h(o.tag,c,{default:r.slots.default}))}if(!o.mark&&!o.icon&&!r.slots.mark)return E;let I=null;if(o.icon){const A={[`${e}__mark-wrap`]:!0};o.type&&(A[`${e}__mark-wrap--${o.type}`]=!0);const T={},K=o.color;K&&(T.color=K);const p={class:A,style:T};I=t.h("view",p,t.h(o.icon))}else if(r.slots.mark){const A={[`${e}__mark-wrap`]:!0};o.type&&(A[`${e}__mark-wrap--${o.type}`]=!0);const T={},K=o.color;K&&(T.color=K);const p={class:A,style:T};I=t.h("view",p,{default:r.slots.mark})}else{const A={[`${e}__mark`]:!0};o.type&&(A[`${e}__mark--${o.type??"default"}`]=!0);const T={},K=o.color;K&&(T["background-color"]=K);const p={class:A,style:T};I=t.h("view",p)}const C={class:{"fox-text__wrap":!0,"text-left":o.textPosition==="left","text-right":o.textPosition==="right"}};return t.h("view",C,[I,E])}}}}const{componentName:Pg,create:_g,scope:qg}=se("text"),pa=_g(Lg(Pg,qg,_e,!1)),zg={modelValue:{type:[Boolean],requried:!0},type:{type:[String],requried:!1,default:""},disabled:{type:[Boolean,String],requried:!1},collapseText:{type:[String],requried:!1,default:"收起"},expandText:{type:[String],requried:!1,default:"更多"},icon:{type:[Object],requried:!1,default:Ee.ArrowUp}};function jg(e,n,a){return{props:{...zg},emits:["click","update:modelValue"],setup(l,{emit:o}){const r=t.computed(()=>{const d={[`${e}`]:!0};return l.disabled?d[`${e}__disabled`]=!0:d[`${e}__${l.type}`]=!0,d}),i=ge(l,"modelValue"),u=t.computed(()=>i.value?l.expandText??"":l.collapseText??""),s=t.computed(()=>({[`${e}__text`]:!0})),f=t.computed(()=>({[`${e}__icon`]:!0,"is-expand":!i.value,"is-collapse":i.value})),h=()=>{o("update:modelValue",!i.value)};return()=>{const d=[];if(u.value){const m={class:s.value},g=t.h("span",m,[u.value]);d.push(g)}const y={class:f.value},x=a(l.icon,y);return x&&d.push(x),t.h("div",{class:r.value,onClick:h},d)}}}}const{componentName:Hg,create:Kg,scope:Wg}=se("more-button"),ba=Kg(jg(Hg,Wg,(e,n)=>(e=e??Ee.ArrowUp,t.h(F.ElIcon,n,{default:()=>[t.h(e)]}))));function Yg(e){e.stopPropagation()}let Ug=class{startMove;updateMove;isTouch=!1;els=null;moving=!1;touchstart=null;touchmove=null;touchend=null;constructor(n,a){this.startMove=n,this.updateMove=a,this.isTouch=jt()}open(n){Array.isArray(n)||(n=[n]),this.els=n;const a=Ht(),l=(o,r,i,u)=>{this.updateMove({x:o,y:r})};this.touchstart=o=>{this.moving||(a.start(o),this.startMove({x:a.state.startX,y:a.state.startY}),document.addEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),document.addEventListener(this.isTouch?"touchend":"mouseup",this.touchend),this.moving=!0)},this.touchmove=o=>{this.moving&&(a.move(o),Yg(o),l(a.state.deltaX,a.state.deltaY))},this.touchend=()=>{l(a.state.deltaX,a.state.deltaY),this.touchmove&&document.removeEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),this.touchend&&document.removeEventListener(this.isTouch?"touchend":"mouseup",this.touchend),a.reset(),this.moving=!1},this.els.forEach(o=>{this.touchstart&&o.addEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart)})}close(){Array.isArray(this.els)&&this.els.forEach(n=>{this.touchstart&&n.removeEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart)}),this.els=null}};function Gg(e,n){return new Ug(e,n)}const Xg={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]}},Zg=(e,n,a,l=!1)=>({props:{...Xg},emits:["click"],setup(o,{slots:r,emit:i}){const u=t.reactive({top:o.top,right:o.right,bottom:o.bottom,left:o.left}),s=t.computed(()=>{const b=[`${e}`];return o.customClass&&b.push(o.customClass),b}),f=t.computed(()=>{const b={};return me(u.top)||(b.top=u.top),me(u.right)||(b.right=u.right),me(u.bottom)||(b.bottom=u.bottom),me(u.left)||(b.left=u.left),me(o.width)||(b.width=o.width),me(o.height)||(b.height=o.height),me(o.color)||(b.color=o.color),me(o.background)||(b.background=o.background),me(o.borderRadius)||(b["border-radius"]=o.borderRadius),me(o.zIndex)||(b["z-index"]=o.zIndex),b}),h=t.computed(()=>({[`${e}__icon`]:!0})),d=()=>{i("click")},y=t.ref(null),x=()=>{u.top=null,u.right=null,u.bottom=null,u.left=null},w={x:0,y:0},P=Gg(b=>{if(!y.value)return;const c=y.value;x(),u.left=c.offsetLeft,u.top=c.offsetTop,c.style.left=`${u.left}px`,c.style.top=`${u.top}px`,c.style.right=null,c.style.bottom=null,w.x=u.left,w.y=u.top},b=>{if(!y.value)return;const c=y.value;x(),u.left=w.x+b.x,u.top=w.y+b.y,c.style.left=`${u.left}px`,c.style.top=`${u.top}px`});return t.onMounted(()=>{if(o.draggable&&y.value){const b=[y.value];P.open(b)}}),t.onBeforeUnmount(()=>{o.draggable&&y.value&&P.close()}),()=>{let b=[];const c=typeof r.default=="function"?r.default():[];if(c&&c.length>0)b=c;else{const B=t.h(a,{class:h.value});b.push(B)}const E={ref:B=>{y.value=B},class:s.value,style:f.value,onClick:d};return t.h("view",E,b)}}}),{componentName:Jg,create:Qg,scope:ey}=se("floating-button"),va=Qg(Zg(Jg,ey,Ku,!1)),{componentName:ty,create:ny}=se("tour"),ly=ny({components:{Close:Ee.Close,ElPopover:F.ElPopover},props:{modelValue:{type:Boolean,default:!1},type:{type:String,default:"step"},steps:{type:Array,default:()=>[]},location:{type:String,default:"bottom"},width:{type:String,default:"300px"},popperClass:{type:String,default:""},current:{type:Number,default:0},nextStepText:{type:String,default:"下一步"},prevStepText:{type:String,default:"上一步"},completeText:{type:String,default:"完成"},mask:{type:Boolean,default:!0},offset:{type:Object,default:{left:8,top:10,right:8,botttom:10}},maskWidth:{type:[Number,String],default:""},maskHeight:{type:[Number,String],default:""},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 a=ty,l=t.reactive({showTour:e.modelValue,showPopup:!1,active:0}),o=t.ref({}),r=t.computed(()=>`${a}`),i=t.computed(()=>{const{offset:w,maskWidth:m,maskHeight:g}=e,{width:P,height:b,left:c,top:E}=o.value,B=e.steps[l.active].offset??w,I=[c+P/2,E+b/2],C=Number(m||P),A=Number(g||b);return{width:`${C+ +B.left+B.right}px`,height:`${A+B.top+B.bottom}px`,top:`${I[1]-A/2-+B.top}px`,left:`${I[0]-C/2-+B.left}px`}}),u=w=>{w=="next"?l.active=l.active+1:l.active=l.active-1,l.showPopup=!1,t.nextTick(()=>{l.showPopup=!0,h()}),n("change",l.active)},s=w=>w.popoverWidth??e.width,f=w=>w.location??e.location,h=()=>{const w=document.querySelector(`${e.steps[l.active].target}`),m=oa(w);o.value={x:m.left,y:m.top,top:m.top,left:m.left,width:m.width,height:m.height}},d=()=>{l.showTour=!1,l.showPopup=!1,n("close",l.active),n("update:modelValue",!1)},y=()=>{e.closeOnClickOverlay&&d()},x=(w,m=0)=>{w&&h(),e.steps,l.active=m,l.showTour=w,l.showPopup=w};return t.onMounted(()=>{x(e.modelValue,e.current)}),t.watch(()=>e.modelValue,w=>{x(w)}),{...t.toRefs(l),classes:r,maskStyle:i,changeStep:u,popoverWidth:s,popoverLocation:f,close:d,handleClickMask:y}}}),ay={key:0,class:"fox-tour__content"},oy={key:0,class:"fox-tour__content-top"},ry={class:"fox-tour__content-inner"},iy={class:"fox-tour__content-bottom"},sy={class:"fox-tour__content-bottom-init"},uy={class:"fox-tour__content-bottom-operate"},cy={key:1,class:"fox-tour__content fox-tour__content-tile"},fy={class:"fox-tour__content-inner"};function dy(e,n,a,l,o,r){const i=t.resolveComponent("Close"),u=t.resolveComponent("fox-button"),s=t.resolveComponent("ElPopover");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.classes)},[t.withDirectives(t.createElementVNode("div",{class:"fox-tour__masked",onClick:n[0]||(n[0]=(...f)=>e.handleClickMask&&e.handleClickMask(...f))},null,512),[[t.vShow,e.showTour]]),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.steps,(f,h)=>(t.openBlock(),t.createElementBlock("div",{key:h,style:{height:"0"}},[h==e.active?(t.openBlock(),t.createBlock(s,{key:0,"popper-class":"popperClass",visible:e.showPopup,placement:e.popoverLocation(f),width:e.popoverWidth(f)},{reference:t.withCtx(()=>[e.showTour?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["fox-tour__mask",[e.mask?"":"fox-tour__mask-none"]]),style:t.normalizeStyle(e.maskStyle),id:"fox-tour-popid"},null,6)):t.createCommentVNode("",!0)]),default:t.withCtx(()=>[t.renderSlot(e.$slots,"default",{},()=>[e.type=="step"?(t.openBlock(),t.createElementBlock("div",ay,[e.showTitleBar?(t.openBlock(),t.createElementBlock("div",oy,[t.createElementVNode("div",{onClick:n[1]||(n[1]=(...d)=>e.close&&e.close(...d))},[t.createVNode(i,{class:"fox-tour__content-top-close"})])])):t.createCommentVNode("",!0),t.createElementVNode("div",ry,t.toDisplayString(f.content),1),t.createElementVNode("div",iy,[t.createElementVNode("div",sy,t.toDisplayString(e.active+1)+"/"+t.toDisplayString(e.steps.length),1),t.createElementVNode("div",uy,[t.renderSlot(e.$slots,"prev-step",{},()=>[e.active!=0&&e.showPrevStep?(t.openBlock(),t.createBlock(u,{key:0,small:"",class:"fox-tour__content-bottom-operate-btn",onClick:n[2]||(n[2]=d=>e.changeStep("prev"))},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.prevStepText),1)]),_:1})):t.createCommentVNode("",!0)]),e.steps.length-1==e.active?(t.openBlock(),t.createBlock(u,{key:0,type:"primary",small:"",class:"fox-tour__content-bottom-operate-btn",onClick:e.close},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.completeText),1)]),_:1},8,["onClick"])):t.createCommentVNode("",!0),t.renderSlot(e.$slots,"next-step",{},()=>[e.steps.length-1!=e.active?(t.openBlock(),t.createBlock(u,{key:0,type:"primary",small:"",class:"fox-tour__content-bottom-operate-btn",onClick:n[3]||(n[3]=d=>e.changeStep("next"))},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.nextStepText),1)]),_:1})):t.createCommentVNode("",!0)])])])])):t.createCommentVNode("",!0),e.type=="tile"?(t.openBlock(),t.createElementBlock("div",cy,[t.createElementVNode("div",fy,t.toDisplayString(f.content),1)])):t.createCommentVNode("",!0)])]),_:2},1032,["visible","placement","width"])):t.createCommentVNode("",!0)]))),128))],2)}const wa=Re(ly,[["render",dy]]),qe=e=>typeof e=="number"?`${e}px`:/^d+(\.?d+)$/.test(e)?`${e}px`:e,pt=e=>e==null;class hy{startMove;updateMove;isTouch=!1;els=null;moving=!1;touchstart=null;touchmove=null;touchend=null;constructor(n,a){this.startMove=n,this.updateMove=a,this.isTouch=jt()}open(n){Array.isArray(n)||(n=[n]),this.els=n;const a=Ht(),l=(o,r,i,u)=>{this.updateMove({x:o,y:r})};this.touchstart=o=>{this.moving||(a.start(o),this.startMove({x:a.state.startX,y:a.state.startY}),document.addEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),document.addEventListener(this.isTouch?"touchend":"mouseup",this.touchend),this.moving=!0)},this.touchmove=o=>{this.moving&&(a.move(o),l(a.state.deltaX,a.state.deltaY))},this.touchend=()=>{l(a.state.deltaX,a.state.deltaY),this.touchmove&&document.removeEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),this.touchend&&document.removeEventListener(this.isTouch?"touchend":"mouseup",this.touchend),a.reset(),this.moving=!1},this.els.forEach(o=>{this.touchstart&&o.addEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart)})}close(){Array.isArray(this.els)&&this.els.forEach(n=>{this.touchstart&&n.removeEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart)}),this.els=null}}function Lr(e,n){return new hy(e,n)}const Pr=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;let Nt=[];const _r=e=>{const n=e;n.key==="Escape"&&Nt.forEach(a=>a(n))},my=e=>{t.onMounted(()=>{Nt.length===0&&document.addEventListener("keydown",_r),Pr&&Nt.push(e)}),t.onBeforeUnmount(()=>{Nt=Nt.filter(n=>n!==e),Nt.length===0&&Pr&&document.removeEventListener("keydown",_r)})},Sa="fox-focus-trap.focus-after-trapped",xa="fox-focus-trap.focus-after-released",gy="fox-focus-trap.focusout-prevented",qr={cancelable:!0,bubbles:!1},yy={cancelable:!0,bubbles:!1},zr="foxFocusAfterTrapped",jr="foxFocusAfterReleased",py=Symbol("foxFocusTrap"),Ca=t.ref(),Wn=t.ref(0),Ta=t.ref(0);let Yn=0;const Hr=e=>{const n=[],a=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:l=>{const o=l.tagName==="INPUT"&&l.type==="hidden";return l.disabled||l.hidden||o?NodeFilter.FILTER_SKIP:l.tabIndex>=0||l===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;a.nextNode();)n.push(a.currentNode);return n},by=(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},Kr=(e,n)=>{for(const a of e)if(!by(a,n))return a},vy=e=>{const n=Hr(e),a=Kr(n,e),l=Kr(n.reverse(),e);return[a,l]},wy=e=>e instanceof HTMLInputElement&&"select"in e,ct=(e,n)=>{if(e&&e.focus){const a=document.activeElement;e.focus({preventScroll:!0}),Ta.value=window.performance.now(),e!==a&&wy(e)&&n&&e.select()}};function Wr(e,n){const a=[...e],l=e.indexOf(n);return l!==-1&&a.splice(l,1),a}const Sy=()=>{let e=[];return{push:l=>{const o=e[0];o&&l!==o&&o.pause(),e=Wr(e,l),e.unshift(l)},remove:l=>{e=Wr(e,l),e[0]?.resume?.()}}},xy=(e,n=!1)=>{const a=document.activeElement;for(const l of e)if(ct(l,n),document.activeElement!==a)return},Yr=Sy(),Cy=()=>Wn.value>Ta.value,Un=()=>{Ca.value="pointer",Wn.value=window.performance.now()},Ur=()=>{Ca.value="keyboard",Wn.value=window.performance.now()},Ty=()=>(t.onMounted(()=>{Yn===0&&(document.addEventListener("mousedown",Un),document.addEventListener("touchstart",Un),document.addEventListener("keydown",Ur)),Yn++}),t.onBeforeUnmount(()=>{Yn--,Yn<=0&&(document.removeEventListener("mousedown",Un),document.removeEventListener("touchstart",Un),document.removeEventListener("keydown",Ur))}),{focusReason:Ca,lastUserFocusTimestamp:Wn,lastAutomatedFocusTimestamp:Ta}),Gn=e=>new CustomEvent(gy,{...yy,detail:e}),{create:$y}=se("focus-trap"),ky=$y({props:{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"}},emits:[zr,jr,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{slots:n,emit:a}){const l=t.ref();let o,r;const{focusReason:i}=Ty();my(m=>{de(e.trapped)&&!u.paused&&a("release-requested",m)});const u={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},s=m=>{if(!e.loop&&!de(e.trapped)||u.paused)return;const{key:g,altKey:P,ctrlKey:b,metaKey:c,currentTarget:E,shiftKey:B}=m,{loop:I}=e,C=g==="Tab"&&!P&&!b&&!c,A=document.activeElement;if(C&&A){const T=E,[K,p]=vy(T);if(K&&p){if(!B&&A===p){const X=Gn({focusReason:i.value});a("focusout-prevented",X),X.defaultPrevented||(m.preventDefault(),I&&ct(K,!0))}else if(B&&[K,T].includes(A)){const X=Gn({focusReason:i.value});a("focusout-prevented",X),X.defaultPrevented||(m.preventDefault(),I&&ct(p,!0))}}else if(A===T){const X=Gn({focusReason:i.value});a("focusout-prevented",X),X.defaultPrevented||m.preventDefault()}}};t.provide(py,{focusTrapRef:l,onKeydown:s}),t.watch(()=>e.focusTrapEl,m=>{m&&(l.value=m)},{immediate:!0}),t.watch([l],([m],[g])=>{m&&(m.addEventListener("keydown",s),m.addEventListener("focusin",d),m.addEventListener("focusout",y)),g&&(g.removeEventListener("keydown",s),g.removeEventListener("focusin",d),g.removeEventListener("focusout",y))});const f=m=>{a(zr,m)},h=m=>a(jr,m),d=m=>{const g=t.unref(l);if(!g)return;const P=m.target,b=m.relatedTarget,c=P&&g.contains(P);de(e.trapped)||b&&g.contains(b)||(o=b),c&&a("focusin",m),!u.paused&&de(e.trapped)&&(c?r=P:ct(r,!0))},y=m=>{const g=t.unref(l);if(!(u.paused||!g))if(!e.escape&&de(e.trapped)){const P=m.relatedTarget;!fl(P)&&!g.contains(P)&&setTimeout(()=>{if(!u.paused&&de(e.trapped)){const b=Gn({focusReason:i.value});a("focusout-prevented",b),b.defaultPrevented||ct(r,!0)}},0)}else{const P=m.target;P&&g.contains(P)||a("focusout",m)}};async function x(){await t.nextTick();const m=t.unref(l);if(m){Yr.push(u);const g=m.contains(document.activeElement)?o:document.activeElement;if(o=g,!m.contains(g)){const b=new Event(Sa,qr);m.addEventListener(Sa,f),m.dispatchEvent(b),b.defaultPrevented||t.nextTick(()=>{let c=e.focusStartEl;_a(c)||(ct(c),document.activeElement!==c&&(c="first")),c==="first"&&xy(Hr(m),!0),(document.activeElement===g||c==="container")&&ct(m)})}}}function w(){const m=t.unref(l);if(m){m.removeEventListener(Sa,f);const g=new CustomEvent(xa,{...qr,detail:{focusReason:i.value}});m.addEventListener(xa,h),m.dispatchEvent(g),!g.defaultPrevented&&(i.value=="keyboard"||!Cy())&&ct(o??document.body,!0),m.removeEventListener(xa,f),Yr.remove(u)}}return t.onMounted(()=>{de(e.trapped)&&x(),t.watch(()=>e.trapped,m=>{de(m)?x():w()})}),t.onBeforeUnmount(()=>{de(e.trapped)&&w()}),()=>typeof n.default=="function"?n.default({"handle-keydown":s}):null}}),{componentName:Dy,create:Ny}=se("floating-window"),Ey=Symbol.for("InnerPageScopeKey"),Iy=Symbol.for("PageWrapperKey"),Vy={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}},Oy=Ny({inheritAttrs:!1,components:{FoxIcon:F.ElIcon,FocusTrap:ky},props:{...Vy},emits:["update:modelValue","update:collapse"],setup(e,{emit:n}){const a=Dy,l=t.ref(e.modelValue),o=t.computed(()=>!e.teleport);t.watch(()=>e.modelValue,k=>{l.value=k});const r=t.computed(()=>l.value===!1?!1:!A.value),i=t.ref(e.left),u=t.ref(e.top),s=t.ref(e.right),f=t.ref(e.bottom),h=t.computed(()=>{const k=["fox-floating-window"];return e.customClass&&k.push(e.customClass),k}),d=t.computed(()=>{const k={};return pt(i.value)?k.left="auto":k.left=qe(i.value),pt(u.value)?k.top="auto":k.top=qe(u.value),pt(s.value)?k.right="auto":k.right=qe(s.value),pt(f.value)?k.bottom="auto":k.bottom=qe(f.value),pt(e.zIndex)||(k["z-index"]=qe(e.zIndex)),pt(I.value)||(k.height=I.value),pt(C.value)||(k.width=C.value),k}),y=t.computed(()=>e.closeIcon??Ee.Close),x=t.computed(()=>e.collapseIcon??Ee.ArrowUp),w=t.computed(()=>e.collapseText??""),m=t.computed(()=>e.collapsePosition==="left"?e.expandIcon??Ee.ArrowRight:e.expandIcon??Ee.ArrowLeft),g=t.computed(()=>e.expandText??e.title??"展开"),P=t.computed(()=>({[`${a}__collapse-text`]:!0})),b=t.computed(()=>({[`${a}__collapse-icon`]:!0,"is-expand":!A.value,"is-collapse":A.value})),c=t.ref(),E=t.ref(null),B=t.ref(null),I=t.computed(()=>qe(e.height)||""),C=t.computed(()=>qe(e.width)||""),A=t.ref(de(e.collapse)),T=(k,Y=!0)=>{A.value!==k&&(A.value=k,k?O():j(),n("update:collapse",k),k&&typeof L.onHide=="function"?L.onHide():!k&&typeof L.onShow=="function"&&L.onShow())};t.watch(()=>e.collapse,k=>{T(k)});const K=()=>{p()},p=k=>{k=k??!A.value,T(k)};t.provide(Ey,!0);const L={setCollapse:T,setFixedNavVisible:k=>{H.value=k}};t.provide(Iy,L);const X=()=>{typeof L.beforeClose=="function"?L.beforeClose(()=>{l.value=!1}):l.value=!1},_=t.ref(null),N=t.computed(()=>!e.fixedNavTeleport),z=t.computed(()=>{const k=["fox-floating-window__fixednav"];return e.expandClass&&k.push(e.expandClass),e.collapsePosition==="left"?k.push("is-left"):e.collapsePosition==="right"&&k.push("is-right"),k}),R=t.ref(""),Z=t.computed(()=>{const k={};return R.value?k.top=R.value:e.collapseTop&&(k.top=e.collapseTop),k}),U=t.ref(A.value),H=t.computed({set:k=>{U.value=k},get:()=>l.value===!1?!1:U.value});let te=null;const D=()=>{typeof te=="function"&&(te(),te=null)},O=()=>{_.value&&_.value.classList.add("slide-in"),H.value=!0,te=()=>{_.value&&_.value.classList.remove("slide-in")}},j=()=>{_.value&&_.value.classList.add("slide-out"),te=()=>{_.value&&_.value.classList.remove("slide-out"),H.value=!1}},q=()=>{i.value=null,u.value=null,s.value=null,f.value=null},V={x:0,y:0},G=Lr(k=>{if(!c.value)return;const Y=c.value;if(q(),e.origin==="left-top")i.value=Y.offsetLeft,u.value=Y.offsetTop,V.x=i.value,V.y=u.value;else if(e.origin==="left-bottom"){const ee=document.documentElement.clientHeight||document.body.clientHeight;i.value=Y.offsetLeft,f.value=ee-(Y.offsetTop+Y.offsetHeight),V.x=i.value,V.y=f.value}else if(e.origin==="right-bottom"){const ee=document.documentElement.clientWidth||document.body.clientWidth,le=document.documentElement.clientHeight||document.body.clientHeight;s.value=ee-(Y.offsetLeft+Y.offsetWidth),f.value=le-(Y.offsetTop+Y.offsetHeight),V.x=s.value,V.y=f.value}else{const ee=document.documentElement.clientWidth||document.body.clientWidth;s.value=ee-(Y.offsetLeft+Y.offsetWidth),u.value=Y.offsetTop,V.x=s.value,V.y=u.value}},k=>{if(!c.value)return;const Y=c.value;q(),e.origin==="left-top"?(i.value=V.x+k.x,u.value=V.y+k.y,Y.style.left=qe(i.value),Y.style.top=qe(u.value)):e.origin==="left-bottom"?(i.value=V.x+k.x,f.value=V.y-k.y,Y.style.left=qe(i.value),Y.style.bottom=qe(f.value)):e.origin==="right-bottom"?(s.value=V.x-k.x,f.value=V.y-k.y,Y.style.right=qe(s.value),Y.style.bottom=qe(f.value)):(s.value=V.x-k.x,u.value=V.y+k.y,Y.style.right=qe(s.value),Y.style.top=qe(u.value))}),$={x:0,y:0},W=Lr(k=>{_.value&&($.x=_.value.offsetLeft,$.y=_.value.offsetTop)},k=>{if(!_.value)return;const Y=$.y+k.y;R.value=`${Y}px`}),J=()=>{if(c.value){const k=c.value.querySelector(".fox-floating-window__body > .fox-page > .fox-footer-bar");B.value=k}};return t.onMounted(()=>{if(e.draggable&&c.value){const k=[];E.value&&k.push(E.value),e.footerDraggable&&(J(),B.value&&k.push(B.value)),G.open(k)}e.collapse===!0&&T(e.collapse,!1),_.value&&W.open(_.value)}),t.onBeforeUnmount(()=>{e.draggable&&E.value&&G.close(),_.value&&W.close()}),{classes:h,styles:d,isShow:r,closeIcon:y,onClose:X,dialogRef:c,headerRef:E,onClickToggle:K,collapseIcon:x,collapseText:w,collapseTextClasses:P,collapseIconClasses:b,expandIcon:m,expandText:g,isShowFixedNav:H,fixedNavRef:_,fixedNavClasses:z,fixedNavStyles:Z,onAnimationEnd:D,teleportDisabled:o,fixedNavTeleportDisabled:N}}}),Ay={ref:"headerRef",class:"fox-floating-window__header"},Fy={class:"fox-floating-window__title"},My={class:"fox-floating-window__tools"},Ry={class:"fox-floating-window__body"},By={class:"fox-floating-window__fixednav__text"};function Ly(e,n,a,l,o,r){const i=t.resolveComponent("FoxIcon"),u=t.resolveComponent("FocusTrap");return t.openBlock(),t.createElementBlock(t.Fragment,null,[(t.openBlock(),t.createBlock(t.Teleport,{to:e.teleport,disabled:e.teleportDisabled},[t.createVNode(t.Transition,{name:"fox-floating-window-fade"},{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("div",{ref:"dialogRef",class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles),tabindex:"-1"},[t.createVNode(u,{loop:!0,escape:!0,trapped:e.isShow,"focus-trap-el":e.dialogRef,"focus-start-el":"container"},{default:t.withCtx(()=>[t.createElementVNode("div",Ay,[t.renderSlot(e.$slots,"header",{},()=>[t.createElementVNode("span",Fy,t.toDisplayString(e.title),1),t.createElementVNode("div",My,[e.showCollapse?(t.openBlock(),t.createElementBlock("div",{key:0,class:"fox-floating-window__collapse",onClick:n[0]||(n[0]=(...s)=>e.onClickToggle&&e.onClickToggle(...s))},[t.createElementVNode("span",{class:t.normalizeClass(e.collapseTextClasses)},t.toDisplayString(e.collapseText),3),t.createVNode(i,{class:t.normalizeClass(e.collapseIconClasses)},{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.collapseIcon)))]),_:1},8,["class"])])):t.createCommentVNode("",!0),e.showClose?(t.openBlock(),t.createBlock(i,{key:1,class:"fox-floating-window__close",onClick:e.onClose},{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.closeIcon)))]),_:1},8,["onClick"])):t.createCommentVNode("",!0)])])],512),t.createElementVNode("div",Ry,[t.renderSlot(e.$slots,"default")])]),_:3},8,["trapped","focus-trap-el"])],6),[[t.vShow,e.isShow]])]),_:3})],8,["to","disabled"])),(t.openBlock(),t.createBlock(t.Teleport,{to:e.fixedNavTeleport,disabled:e.fixedNavTeleportDisabled},[t.withDirectives(t.createElementVNode("div",{ref:"fixedNavRef",class:t.normalizeClass(e.fixedNavClasses),style:t.normalizeStyle(e.fixedNavStyles),onAnimationend:n[2]||(n[2]=(...s)=>e.onAnimationEnd&&e.onAnimationEnd(...s))},[t.createElementVNode("div",{class:"fox-floating-window__fixednav__inner",onClick:n[1]||(n[1]=(...s)=>e.onClickToggle&&e.onClickToggle(...s))},[t.createVNode(i,{class:"fox-floating-window__fixednav__icon"},{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.expandIcon)))]),_:1}),t.createElementVNode("div",By,t.toDisplayString(e.expandText),1)])],38),[[t.vShow,e.isShowFixedNav]])],8,["to","disabled"]))],64)}const $a=Re(Oy,[["render",Ly]]),Py={visible:{type:Boolean},reference:{type:Object},referenceInset:{type:Object},width:{type:String},offset:{type:Number,default:()=>6},placement:{type:String,default:()=>"top-start"},autoFit:{type:Boolean,default:()=>!0},title:{type:String},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]}};function _y(e,n,a=!1){return{props:{...Py},emits:["update:visible"],setup(l,{emit:o,slots:r,expose:i}){const u=t.ref({top:null,right:null,bottom:null,left:null}),s=t.ref(0),f=t.ref(0),h=t.ref(0),d=t.ref(0),y=t.ref(l.placement),x=t.ref(!1),w=t.ref(!1),m=t.ref(null),g=()=>typeof l.reference=="string"?document.querySelector(l.reference):l.reference,P=(H,te,D,O,j,q,V,Q=!0)=>{const ne=document.documentElement.clientWidth||document.body.clientWidth,G=document.documentElement.clientHeight||document.body.clientHeight,$=H.split("-");let M=[];Q?$[0]==="top"?M=["top","bottom","right","left"]:$[0]==="bottom"?M=["bottom","top","right","left"]:$[0]==="left"?M=["left","top","bottom","right"]:$[0]==="right"&&(M=["right","top","bottom","left"]):M=[H[0]];const S={top:null,right:null,bottom:null,left:null},W=[];for(let J=0;J<M.length;J++){const k=M[J];if(W[0]=k,$[1]&&(W[1]=$[1]),k==="top"){const Y=D-V-l.arrowSize/2-l.offset;if(Y>=0){S.top=Y;let ee=0;$[1]==="start"?ee=te:$[1]==="end"?ee=te+O-q:ee=te+O/2-q/2;const le=ne-ee-q;le<0?(ee+=le,c.value=-le):c.value=0,S.left=ee<0?0:ee;break}}else if(k==="bottom"){const Y=D+j+l.arrowSize/2+l.offset;if(Y+V<=G){S.top=Y;let ee=0;$[1]==="start"?ee=te:$[1]==="end"?ee=te+O-q:ee=te+O/2-q/2;const le=ne-ee-q;le<0?(ee+=le,c.value=-le):c.value=0,S.left=ee<0?0:ee;break}}else if(k==="left"){const Y=te-q-l.arrowSize/2-l.offset;if(Y>=0){S.left=Y;let ee=0;$[1]==="start"?ee=D:$[1]==="end"?ee=D+j-V:ee=D+j/2-V/2,S.top=ee<0?0:ee;break}}else if(k==="right"){const Y=te+O+l.arrowSize/2+l.offset;if(Y+q<=ne){S.left=Y;let ee=0;$[1]==="start"?ee=D:$[1]==="end"?ee=D+j-V:ee=D+j/2-V/2,S.top=ee<0?0:ee;break}}}return{bestPlacement:W.join("-"),bestInsetRect:S}},b=()=>{const H=l.visible,te=l.autoFit;if(!rt||H===!1)return;if(l.reference){const V=g(),Q=Dl(V);s.value=Q.x,f.value=Q.y,h.value=V.offsetWidth,d.value=V.offsetHeight}else l.referenceInset&&(s.value=l.referenceInset.left,f.value=l.referenceInset.top,h.value=l.referenceInset.right-l.referenceInset.left,d.value=l.referenceInset.bottom-l.referenceInset.top);const D=m.value.offsetWidth,O=m.value.offsetHeight,{bestPlacement:j,bestInsetRect:q}=P(l.placement,s.value,f.value,h.value,d.value,D,O,te);y.value=j,u.value=q},c=t.ref(0),E=Ke(()=>{b()},10),B=t.ref(l.visible);t.watch([()=>l.visible],([H])=>{B.value=H,H?(x.value=H,setTimeout(()=>{b(),w.value=!0},0)):w.value=!1});const I=t.computed(()=>B.value&&C.value),C=t.ref(!0),A=Ke(H=>{const te=H[0];te&&(C.value=te.isIntersecting)},10),T=new IntersectionObserver(A);t.watch([()=>l.reference,()=>l.referenceInset],([H,te],[D,O])=>{!H&&!te||(setTimeout(()=>{b()},0),l.autoFit&&(D&&(Bt.unwatch(D,E),T.unobserve(D)),H&&(Bt.watch(H,E),T.observe(H))))},{immediate:!0}),t.onBeforeUnmount(()=>{l.reference&&(Bt.unwatch(l.reference,E),T.unobserve(l.reference),T.disconnect())});const K=t.computed(()=>{const H={[e]:!0};return y.value.startsWith("top")?H["is-top"]=!0:y.value.startsWith("right")?H["is-right"]=!0:y.value.startsWith("bottom")?H["is-bottom"]=!0:y.value.startsWith("left")&&(H["is-left"]=!0),H[`is-${l.effect}`]=!0,!w.value&&I.value&&(H["is-opacity"]=!0),w.value&&I.value&&(H["is-show"]=!0),I.value||(H["is-hide"]=!0),l.customClass&&typeof l.customClass=="string"&&(H[`${l.customClass}`]=!0),H}),p=t.computed(()=>{const H={};return u.value.top!==null&&(H.top=`${u.value.top}px`),u.value.right!==null&&(H.right=`${u.value.right}px`),u.value.bottom!==null&&(H.bottom=`${u.value.bottom}px`),u.value.left!==null&&(H.left=`${u.value.left}px`),l.width&&(H.width=l.width),l.zIndex&&(H["z-index"]=`${l.zIndex}`),l.customStyle&&typeof l.customStyle=="object"&&Object.assign(H,l.customStyle),H}),L=()=>{B.value=!1,o("update:visible",!1)},X=()=>{if(!l.showOverlay)return null;const H={class:`${e}__overlay`,onClick:L};return t.h("div",H)},_=()=>{let H=null;return r.title?H=t.h("div",{class:`${e}__title`},{default:r.title}):l.title&&(H=t.h("div",{class:`${e}__title`},[l.title])),H},N=t.computed(()=>({[`${e}__arrow`]:!0})),z=t.computed(()=>{const H={};return l.showArrow?(H.width=`${l.arrowSize}px`,H.height=`${l.arrowSize}px`,y.value==="top"?(H.left="50%",H.bottom="0",H.transform="translate(-50%, 50%)"):y.value==="top-start"?(H.left=`${l.arrowOffset+c.value}px`,H.bottom="0",H.transform="translate(-50%, 50%)"):y.value==="top-end"?(H.right=`${l.arrowOffset-c.value}px`,H.bottom="0",H.transform="translate(-50%, 50%)"):y.value==="right"?(H.left="0",H.top="50%",H.transform="translate(-50%, -50%)"):y.value==="right-start"?(H.left="0",H.top=`${l.arrowOffset}px`,H.transform="translate(-50%, 50%)"):y.value==="right-end"?(H.left="0",H.bottom=`-${l.arrowOffset}px`,H.transform="translate(-50%, 50%)"):y.value==="bottom"?(H.left="50%",H.top="0",H.transform="translate(-50%, -50%)"):y.value==="bottom-start"?(H.left=`${l.arrowOffset+c.value}px`,H.top="0",H.transform="translate(-50%, -50%)"):y.value==="bottom-end"?(H.right=`${l.arrowOffset-c.value}px`,H.top="0",H.transform="translate(-50%, -50%)"):y.value==="left"?(H.right="0",H.top="50%",H.transform="translate(50%, -50%)"):y.value==="left-start"?(H.right="0",H.top=`${l.arrowOffset}px`,H.transform="translate(50%, -50%)"):y.value==="left-end"&&(H.right="0",H.bottom=`-${l.arrowOffset}px`,H.transform="translate(50%, -50%)"),H):{display:"none"}}),R=()=>{const H={class:N.value,style:z.value};return t.h("div",H)},Z=()=>{B.value===!1&&(x.value=!1)},U=H=>{if(!m.value||B.value===!1)return;const{relatedTarget:te}=H;m.value.contains(te)||(B.value=!1,o("update:visible",!1))};return i({doLayout:b}),()=>{if(!x.value)return null;const H=[],te=X();te&&H.push(te);const D=[],O=_();if(O&&D.push(O),r.default){const Q=r.default();D.push(Q)}const j=R();j&&D.push(j);const q={ref:m,class:K.value,style:p.value,onAnimationend:Z};l.leaveHide&&(q.onMouseleave=U);const V=t.h("div",q,{default:()=>D});return H.push(V),H}}}}const{componentName:qy,create:zy,scope:jy}=se("popover-dialog"),ka=zy(_y(qy,jy,!1));function Hy(e,n){return{inheritAttrs:!1,props:{name:{type:[String],required:!1,default:""},config:{type:[Object],required:!1,default:{}}},setup(a,{slots:l}){return no(a.name,()=>a.config),()=>typeof l.default=="function"?l.default():null}}}const{create:Ky}=se("domain-provider"),Da=Ky(Hy()),Wy={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 Yy(e,n){return{inheritAttrs:!1,props:Wy,setup(a,{slots:l}){if(rt&&window.IntersectionObserver){const o=new WeakMap;let r=new Map;const i=(y,x)=>{if(h===null){r.set(y,{visible:null,callback:x});return}o.has(y)&&h.unobserve(y),o.set(y,{visible:null,callback:x}),h.observe(y)},u=y=>{if(h===null){r.delete(y);return}o.has(y)&&(o.delete(y),h.unobserve(y))};let s=a.initialVisibleObserverSize;es({acquire:()=>{const y=s>0;return s--,y},get disabled(){return a.disabled},get initialHeight(){return a.initialInvisibleObserverHeight},observe:i,unobserve:u});let h=null;const d=(y,x,w)=>{h=new IntersectionObserver(m=>{for(let g of m){let P=!1;g.intersectionRatio>0&&(P=!0);const b=o.get(g.target);if(b)try{if(a.loadPolicy==="lazy"&&!P&&b.visible!==null)return;b.visible=P,b.callback(P)}catch(c){console.error(c)}}},{root:y,rootMargin:x,threshold:w}),r.forEach((m,g)=>{o.set(g,m),h?.observe(g)}),r.clear()};t.watch([()=>a.root,()=>a.disabled],([y,x])=>{if(x||!y||h)return;let w=null;typeof y=="string"?w=document.querySelector(y):w=y,w&&d(w,a.rootMargin,a.threshold)},{immediate:!0}),t.onUnmounted(()=>{h&&(h.disconnect(),h=null)})}return()=>typeof l.default=="function"?l.default():null}}}const{create:Uy}=se("rolling-provider"),Na=Uy(Yy()),Gy=[vl,Sl,xl,Cl,kl,$e,Il,Vl,Lt,Ol,Al,Fl,Ll,Pl,_l,ql,zl,Hl,Kl,Wl,Yl,Rn,Xl,Zl,Jl,Ql,ea,ta,na,qn,la,ia,zn,jn,Hn,ca,Kt,fa,Mn,da,ha,An,mt,ma,_n,Pn,ga,qt,xn,ya,pa,ba,va,wa,$a,ka,Da,Na],Xy=new Ai(Gy,[Ri],"4.0.0");Object.defineProperty(v,"FoxAffix",{enumerable:!0,get:()=>F.ElAffix}),Object.defineProperty(v,"FoxAlert",{enumerable:!0,get:()=>F.ElAlert}),Object.defineProperty(v,"FoxAnchor",{enumerable:!0,get:()=>F.ElAnchor}),Object.defineProperty(v,"FoxAnchorLink",{enumerable:!0,get:()=>F.ElAnchorLink}),Object.defineProperty(v,"FoxAside",{enumerable:!0,get:()=>F.ElAside}),Object.defineProperty(v,"FoxAutoResizer",{enumerable:!0,get:()=>F.ElAutoResizer}),Object.defineProperty(v,"FoxAutocomplete",{enumerable:!0,get:()=>F.ElAutocomplete}),Object.defineProperty(v,"FoxAvatar",{enumerable:!0,get:()=>F.ElAvatar}),Object.defineProperty(v,"FoxBacktop",{enumerable:!0,get:()=>F.ElBacktop}),Object.defineProperty(v,"FoxBadge",{enumerable:!0,get:()=>F.ElBadge}),Object.defineProperty(v,"FoxBreadcrumb",{enumerable:!0,get:()=>F.ElBreadcrumb}),Object.defineProperty(v,"FoxBreadcrumbItem",{enumerable:!0,get:()=>F.ElBreadcrumbItem}),Object.defineProperty(v,"FoxButton",{enumerable:!0,get:()=>F.ElButton}),Object.defineProperty(v,"FoxButtonGroup",{enumerable:!0,get:()=>F.ElButtonGroup}),Object.defineProperty(v,"FoxCalendar",{enumerable:!0,get:()=>F.ElCalendar}),Object.defineProperty(v,"FoxCard",{enumerable:!0,get:()=>F.ElCard}),Object.defineProperty(v,"FoxCarousel",{enumerable:!0,get:()=>F.ElCarousel}),Object.defineProperty(v,"FoxCarouselItem",{enumerable:!0,get:()=>F.ElCarouselItem}),Object.defineProperty(v,"FoxCascader",{enumerable:!0,get:()=>F.ElCascader}),Object.defineProperty(v,"FoxCascaderPanel",{enumerable:!0,get:()=>F.ElCascaderPanel}),Object.defineProperty(v,"FoxCheckTag",{enumerable:!0,get:()=>F.ElCheckTag}),Object.defineProperty(v,"FoxCheckbox",{enumerable:!0,get:()=>F.ElCheckbox}),Object.defineProperty(v,"FoxCheckboxButton",{enumerable:!0,get:()=>F.ElCheckboxButton}),Object.defineProperty(v,"FoxCheckboxGroup",{enumerable:!0,get:()=>F.ElCheckboxGroup}),Object.defineProperty(v,"FoxCol",{enumerable:!0,get:()=>F.ElCol}),Object.defineProperty(v,"FoxCollapse",{enumerable:!0,get:()=>F.ElCollapse}),Object.defineProperty(v,"FoxCollapseItem",{enumerable:!0,get:()=>F.ElCollapseItem}),Object.defineProperty(v,"FoxCollapseTransition",{enumerable:!0,get:()=>F.ElCollapseTransition}),Object.defineProperty(v,"FoxColorPicker",{enumerable:!0,get:()=>F.ElColorPicker}),Object.defineProperty(v,"FoxConfigProvider",{enumerable:!0,get:()=>F.ElConfigProvider}),Object.defineProperty(v,"FoxContainer",{enumerable:!0,get:()=>F.ElContainer}),Object.defineProperty(v,"FoxCountdown",{enumerable:!0,get:()=>F.ElCountdown}),Object.defineProperty(v,"FoxDatePicker",{enumerable:!0,get:()=>F.ElDatePicker}),Object.defineProperty(v,"FoxDescriptions",{enumerable:!0,get:()=>F.ElDescriptions}),Object.defineProperty(v,"FoxDescriptionsItem",{enumerable:!0,get:()=>F.ElDescriptionsItem}),Object.defineProperty(v,"FoxDialog",{enumerable:!0,get:()=>F.ElDialog}),Object.defineProperty(v,"FoxDivider",{enumerable:!0,get:()=>F.ElDivider}),Object.defineProperty(v,"FoxDrawer",{enumerable:!0,get:()=>F.ElDrawer}),Object.defineProperty(v,"FoxDropdown",{enumerable:!0,get:()=>F.ElDropdown}),Object.defineProperty(v,"FoxDropdownItem",{enumerable:!0,get:()=>F.ElDropdownItem}),Object.defineProperty(v,"FoxDropdownMenu",{enumerable:!0,get:()=>F.ElDropdownMenu}),Object.defineProperty(v,"FoxEmpty",{enumerable:!0,get:()=>F.ElEmpty}),Object.defineProperty(v,"FoxFooter",{enumerable:!0,get:()=>F.ElFooter}),Object.defineProperty(v,"FoxForm",{enumerable:!0,get:()=>F.ElForm}),Object.defineProperty(v,"FoxFormItem",{enumerable:!0,get:()=>F.ElFormItem}),Object.defineProperty(v,"FoxHeader",{enumerable:!0,get:()=>F.ElHeader}),Object.defineProperty(v,"FoxIcon",{enumerable:!0,get:()=>F.ElIcon}),Object.defineProperty(v,"FoxImage",{enumerable:!0,get:()=>F.ElImage}),Object.defineProperty(v,"FoxImageViewer",{enumerable:!0,get:()=>F.ElImageViewer}),Object.defineProperty(v,"FoxInput",{enumerable:!0,get:()=>F.ElInput}),Object.defineProperty(v,"FoxInputNumber",{enumerable:!0,get:()=>F.ElInputNumber}),Object.defineProperty(v,"FoxInputTag",{enumerable:!0,get:()=>F.ElInputTag}),Object.defineProperty(v,"FoxLink",{enumerable:!0,get:()=>F.ElLink}),Object.defineProperty(v,"FoxMain",{enumerable:!0,get:()=>F.ElMain}),Object.defineProperty(v,"FoxMention",{enumerable:!0,get:()=>F.ElMention}),Object.defineProperty(v,"FoxMenu",{enumerable:!0,get:()=>F.ElMenu}),Object.defineProperty(v,"FoxMenuItem",{enumerable:!0,get:()=>F.ElMenuItem}),Object.defineProperty(v,"FoxMenuItemGroup",{enumerable:!0,get:()=>F.ElMenuItemGroup}),Object.defineProperty(v,"FoxMessage",{enumerable:!0,get:()=>F.ElMessage}),Object.defineProperty(v,"FoxMessageBox",{enumerable:!0,get:()=>F.ElMessageBox}),Object.defineProperty(v,"FoxNotification",{enumerable:!0,get:()=>F.ElNotification}),Object.defineProperty(v,"FoxOption",{enumerable:!0,get:()=>F.ElOption}),Object.defineProperty(v,"FoxOptionGroup",{enumerable:!0,get:()=>F.ElOptionGroup}),Object.defineProperty(v,"FoxPageHeader",{enumerable:!0,get:()=>F.ElPageHeader}),Object.defineProperty(v,"FoxPagination",{enumerable:!0,get:()=>F.ElPagination}),Object.defineProperty(v,"FoxPopconfirm",{enumerable:!0,get:()=>F.ElPopconfirm}),Object.defineProperty(v,"FoxPopover",{enumerable:!0,get:()=>F.ElPopover}),Object.defineProperty(v,"FoxPopper",{enumerable:!0,get:()=>F.ElPopper}),Object.defineProperty(v,"FoxProgress",{enumerable:!0,get:()=>F.ElProgress}),Object.defineProperty(v,"FoxRadio",{enumerable:!0,get:()=>F.ElRadio}),Object.defineProperty(v,"FoxRadioButton",{enumerable:!0,get:()=>F.ElRadioButton}),Object.defineProperty(v,"FoxRadioGroup",{enumerable:!0,get:()=>F.ElRadioGroup}),Object.defineProperty(v,"FoxRate",{enumerable:!0,get:()=>F.ElRate}),Object.defineProperty(v,"FoxResult",{enumerable:!0,get:()=>F.ElResult}),Object.defineProperty(v,"FoxRow",{enumerable:!0,get:()=>F.ElRow}),Object.defineProperty(v,"FoxScrollbar",{enumerable:!0,get:()=>F.ElScrollbar}),Object.defineProperty(v,"FoxSegmented",{enumerable:!0,get:()=>F.ElSegmented}),Object.defineProperty(v,"FoxSelect",{enumerable:!0,get:()=>F.ElSelect}),Object.defineProperty(v,"FoxSelectV2",{enumerable:!0,get:()=>F.ElSelectV2}),Object.defineProperty(v,"FoxSkeleton",{enumerable:!0,get:()=>F.ElSkeleton}),Object.defineProperty(v,"FoxSkeletonItem",{enumerable:!0,get:()=>F.ElSkeletonItem}),Object.defineProperty(v,"FoxSlider",{enumerable:!0,get:()=>F.ElSlider}),Object.defineProperty(v,"FoxSpace",{enumerable:!0,get:()=>F.ElSpace}),Object.defineProperty(v,"FoxStatistic",{enumerable:!0,get:()=>F.ElStatistic}),Object.defineProperty(v,"FoxStep",{enumerable:!0,get:()=>F.ElStep}),Object.defineProperty(v,"FoxSteps",{enumerable:!0,get:()=>F.ElSteps}),Object.defineProperty(v,"FoxSubMenu",{enumerable:!0,get:()=>F.ElSubMenu}),Object.defineProperty(v,"FoxSwitch",{enumerable:!0,get:()=>F.ElSwitch}),Object.defineProperty(v,"FoxTabPane",{enumerable:!0,get:()=>F.ElTabPane}),Object.defineProperty(v,"FoxTable",{enumerable:!0,get:()=>F.ElTable}),Object.defineProperty(v,"FoxTableColumn",{enumerable:!0,get:()=>F.ElTableColumn}),Object.defineProperty(v,"FoxTableV2",{enumerable:!0,get:()=>F.ElTableV2}),Object.defineProperty(v,"FoxTabs",{enumerable:!0,get:()=>F.ElTabs}),Object.defineProperty(v,"FoxTag",{enumerable:!0,get:()=>F.ElTag}),Object.defineProperty(v,"FoxTimePicker",{enumerable:!0,get:()=>F.ElTimePicker}),Object.defineProperty(v,"FoxTimeSelect",{enumerable:!0,get:()=>F.ElTimeSelect}),Object.defineProperty(v,"FoxTimeline",{enumerable:!0,get:()=>F.ElTimeline}),Object.defineProperty(v,"FoxTimelineItem",{enumerable:!0,get:()=>F.ElTimelineItem}),Object.defineProperty(v,"FoxTooltip",{enumerable:!0,get:()=>F.ElTooltip}),Object.defineProperty(v,"FoxTransfer",{enumerable:!0,get:()=>F.ElTransfer}),Object.defineProperty(v,"FoxTree",{enumerable:!0,get:()=>F.ElTree}),Object.defineProperty(v,"FoxTreeSelect",{enumerable:!0,get:()=>F.ElTreeSelect}),Object.defineProperty(v,"FoxTreeV2",{enumerable:!0,get:()=>F.ElTreeV2}),Object.defineProperty(v,"FoxUpload",{enumerable:!0,get:()=>F.ElUpload}),Object.defineProperty(v,"FoxWatermark",{enumerable:!0,get:()=>F.ElWatermark}),v.ActionsheetItem=la,v.ActionsheetPane=qn,v.AutocompleteItem=Kl,v.Broadcast=hl,v.BroadcastKey=De,v.CalendarItem=Ll,v.CascaderItem=Hl,v.CheckboxItem=Jl,v.Content=Cl,v.DataItemsKey=vt,v.DateItem=Fl,v.DateUtils=re,v.DialogItem=ha,v.Domain=rn,v.DomainKey=je,v.DomainProvider=Da,v.FloatingButton=va,v.FloatingWindow=$a,v.FooterBar=xl,v.FoxActionsheetItem=la,v.FoxActionsheetPane=qn,v.FoxAutocompleteItem=Kl,v.FoxCalendarItem=Ll,v.FoxCascaderItem=Hl,v.FoxCheckboxItem=Jl,v.FoxContent=Cl,v.FoxDateItem=Fl,v.FoxDialogItem=ha,v.FoxDomainProvider=Da,v.FoxFloatingButton=va,v.FoxFloatingWindow=$a,v.FoxFooterBar=xl,v.FoxGroup=kl,v.FoxGroupSetting=na,v.FoxHeaderBar=Sl,v.FoxHintText=Lt,v.FoxIndicator=ya,v.FoxInfiniteLoading=Pn,v.FoxInputItem=Ol,v.FoxInputNumberItem=zl,v.FoxItem=$e,v.FoxMapping=qt,v.FoxMoneyItem=ql,v.FoxMoreButton=ba,v.FoxOverLay=An,v.FoxPage=vl,v.FoxPickerItem=ia,v.FoxPopoverDialog=ka,v.FoxPopup=mt,v.FoxPrice=xn,v.FoxPullRefresh=ga,v.FoxRadioItem=Zl,v.FoxRateItem=Ql,v.FoxRollingProvider=Na,v.FoxRowItem=Vl,v.FoxSearchBar=_n,v.FoxSelectItem=Al,v.FoxSlotItem=Il,v.FoxStepsBar=ca,v.FoxSwitchItem=ea,v.FoxTableItem=Xl,v.FoxTableMappingColumn=Wl,v.FoxTableRadioColumn=Yl,v.FoxTableSetting=Rn,v.FoxTabsBar=zn,v.FoxTabsContainer=jn,v.FoxTabsPane=Hn,v.FoxText=pa,v.FoxTimeItem=Pl,v.FoxTimeSelectItem=_l,v.FoxToast=ma,v.FoxTour=wa,v.FoxTreeSelectItem=ta,v.Foxcalendarpicker=Mn,v.Foxcascaderpicker=da,v.Foxdatepicker=fa,v.Foxpicker=Kt,v.Group=kl,v.GroupSetting=na,v.HeaderBar=Sl,v.HintText=Lt,v.Indicator=ya,v.InfiniteLoading=Pn,v.InputItem=Ol,v.InputNumberItem=zl,v.Item=$e,v.Mapping=qt,v.MoneyItem=ql,v.MoreButton=ba,v.OverLay=An,v.Page=vl,v.PickerItem=ia,v.PopoverDialog=ka,v.Popup=mt,v.Price=xn,v.PriorityPolicy=We,v.PullRefresh=ga,v.RadioItem=Zl,v.RateItem=Ql,v.RollingProvider=Na,v.RowItem=Vl,v.SearchBar=_n,v.SelectItem=Al,v.SlotItem=Il,v.StepsBar=ca,v.SwitchItem=ea,v.TableItem=Xl,v.TableMappingColumn=Wl,v.TableRadioColumn=Yl,v.TableSetting=Rn,v.TabsBar=zn,v.TabsContainer=jn,v.TabsPane=Hn,v.Text=pa,v.TimeItem=Pl,v.TimeSelectItem=_l,v.Toast=ma,v.Tour=wa,v.TreeSelectItem=ta,v.UniqueID=go,v.ValidateSchema=eo,v.ValidateSchemaKey=Ue,v.calendarpicker=Mn,v.cancelRaf=Zr,v.cascaderpicker=da,v.clearNonNumber=si,v.clone=ul,v.compareTo=ol,v.createBroadcast=tn,v.createValidateSchema=ln,v.datepicker=fa,v.debounce=Ke,v.debounceRef=xi,v.decimalLength=Ua,v.default=Xy,v.defineBroadcast=di,v.defineConfigDomain=no,v.defineDataItem=lo,v.defineDomain=gl,v.defineItem=Ne,v.definePageState=ao,v.defineSimpleItem=yl,v.deleteGlobalValidator=pi,v.disabledProperty=Me,v.divide=al,v.excludeProps=Ie,v.extend=ht,v.floatData=fi,v.getGlobalValidateCheckEvents=Za,v.getGlobalValidateResetEvents=Qa,v.getPageContentAreaHeight=fn,v.getPageContentAreaWidth=dn,v.getPageFooterAreaHeight=cn,v.getPageHeaderAreaHeight=un,v.getRootDomain=wt,v.hasSymbol=za,v.includeProps=At,v.indexOf=ui,v.integerLength=Ya,v.isArray=Qr,v.isArrayLike=Ha,v.isBrowser=rt,v.isDate=ot,v.isESModule=li,v.isEmptyString=me,v.isEqual=Ye,v.isFunction=il,v.isHidden=en,v.isInnerPage=$i,v.isMap=ei,v.isNil=fl,v.isNumberString=Wa,v.isObject=He,v.isPlainObject=sl,v.isPromise=Zt,v.isRegExp=dl,v.isSet=ti,v.isString=_a,v.isSubPage=ki,v.isSymbol=ni,v.isTouch=jt,v.isWindow=ja,v.lastIndexOf=ci,v.makeArray=ii,v.merge=Ka,v.multiply=Ba,v.negate=La,v.nextTick=oi,v.numberFormat=Xt,v.objectToString=qa,v.once=Ci,v.overrideGlobalValidateHandler=gi,v.picker=Kt,v.property=Ae,v.raf=rl,v.readonlyProperty=Fe,v.setGlobalValidateCheckEvents=bi,v.setGlobalValidateHandler=mi,v.setGlobalValidateMessages=wi,v.setGlobalValidateResetEvents=vi,v.setGlobalValidator=yi,v.throttle=Si,v.toBoolean=de,v.toNumber=ye,v.toPadding=Ze,v.toPx=be,v.toPxDesc=Le,v.toTypeString=Jt,v.toValue=ge,v.tryTimes=on,v.typeOf=Qt,v.unNumberFormat=Pa,v.updatePageState=pl,v.useBroadcast=Ft,v.useDomain=it,v.useExpose=ve,v.useInnerSize=gn,v.usePageState=sn,v.usePosition=Dl,v.useRawTouch=Ht,v.useRect=oa,v.useSize=wl,v.useTouch=br,v.valueLength=Xe,Object.defineProperties(v,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
1
+ (function(S,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):(S=typeof globalThis<"u"?globalThis:S||self,t(S.FoxUI={},S.Vue,S.FoxValidator,S.ElementPlus,S.ElementPlusIconsVue,S.FoxI18n))})(this,function(S,t,zt,D,Le,$e){Object.defineProperties(S,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var Mi=Object.create,ar=Object.defineProperty,Ai=Object.getOwnPropertyDescriptor,Pi=Object.getOwnPropertyNames,Ii=Object.getPrototypeOf,_i=Object.prototype.hasOwnProperty,ft=(e,n)=>()=>(n||(e((n={exports:{}}).exports,n),e=null),n.exports),Li=(e,n,l,i)=>{if(n&&typeof n=="object"||typeof n=="function")for(var r=Pi(n),o=0,s=r.length,c;o<s;o++)c=r[o],!_i.call(e,c)&&c!==l&&ar(e,c,{get:(a=>n[a]).bind(null,c),enumerable:!(i=Ai(n,c))||i.enumerable});return e},mt=(e,n,l)=>(l=e!=null?Mi(Ii(e)):{},Li(n||!e||!e.__esModule?ar(l,"default",{value:e,enumerable:!0}):l,e)),vl=window,Ri=typeof window<"u";function Fi(){return typeof vl<"u"?vl.requestAnimationFrame||vl.webkitRequestAnimationFrame||function(e){vl.setTimeout(e,1e3/60)}:function(e){setTimeout(e,1e3/60)}}function Oi(e){Ri?cancelAnimationFrame(e):clearTimeout(e)}var ha=Fi();function Cl(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=Ge(e),n=Ge(n),[e,n]=ga(Ge(e),Ge(n)),l==1&&(i==1?e=pa(e):n=pa(n));let r=nr(e,n);return l?l==2?"-"+Ge(r):e.length<r.length?Ge(r.substring(1)):"-"+Ge(pa(r)):Ge(r)}function pa(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 nr(n,o)}function Ge(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 ga(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 nr(e,n){[e,n]=ga(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 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 Xt(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 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=Xt(e,0,l),(i?"-":"")+a+new Array(n+1).join("0")}}if(n==0)return o.length,rr(r[1],o,i,l)?(i?"-":"")+ya(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&&rr(c,s,i,l)&&(s=ya(s),s.length>n)?(i?"-":"")+ya(o,parseInt(s[0]))+"."+s.substring(1):(i?"-":"")+o+"."+s}function rr(e,n,l,i){if(!e||e===new Array(e.length+1).join("0")||i===He.DOWN||!l&&i===He.FLOOR||l&&i===He.CEILING)return!1;if(i===He.UP||l&&i===He.FLOOR||!l&&i===He.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 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 ya(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 ba(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=Qt(e),n=Qt(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=Qt(e.replace(".","")),n=Qt(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 E=n.length-1;E>=u&&E>=0;E--)a[E]>-1&&a[E]<e.length&&(h+=parseInt(e[a[E]--])*parseInt(n[E]));h+=c,c=Math.floor(h/10),f=h%10+f,u--}return f=Qt(qi(f,o)),l==1&&(f="-"+f),f}function qi(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 Qt(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 Sa(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=Ge(n.replace(".","")),r>=0){let u=e.indexOf(".")>0?e.length-e.indexOf(".")-1:-1;if(u==-1)e=Ge(e+new Array(r+1).join("0"));else if(r>u)e=e.replace(".",""),e=Ge(e+new Array(r-u+1).join("0"));else if(r<u){e=e.replace(".","");let f=e.length-u+r;e=Ge(e.substring(0,f)+"."+e.substring(f))}else r==u&&(e=Ge(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=Cl(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?"-":"")+Ge(Xt(c,l-2))}function wa(e,n){return e=e.toString(),n=n.toString(),n=va(n),Cl(e,n)}function va(e){return e[0]=="-"?e=e.substr(1):e="-"+e,e}function or(e,n){if(n==0)throw new Error("Cannot divide by 0");e=e.toString(),n=n.toString(),ir(e),ir(n);let l="";e[0]=="-"&&(l="-",e=e.substr(1)),n[0]=="-"&&(n=n.substr(1));let i=wa(e,ba(n,Xt(Sa(e,n),0,He.FLOOR)));return l+i}function ir(e){if(e.indexOf(".")!=-1)throw new Error("Modulus of non-integers not supported")}function sr(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]=ga(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 Zt=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,i]=n.split(/[eE]/);l=Ge(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+Ge(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=Ee.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=Ee.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 Ee.getPrettyValue(this.value,n,l)}static round(n,l=0,i=He.HALF_EVEN){if(n=Ee.validate(n),isNaN(l))throw Error("Precision is not a number: "+l);return Xt(n,l,i)}round(n=0,l=He.HALF_EVEN){if(isNaN(n))throw Error("Precision is not a number: "+n);return new Ee(Xt(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),Cl(n,l)}add(n){return new Ee(Cl(this.value,n.getValue()))}static subtract(n,l){return n=Ee.validate(n),l=Ee.validate(l),wa(n,l)}subtract(n){return new Ee(wa(this.value,n.getValue()))}static multiply(n,l){return n=Ee.validate(n),l=Ee.validate(l),ba(n,l)}multiply(n){return new Ee(ba(this.value,n.getValue()))}static divide(n,l,i){return n=Ee.validate(n),l=Ee.validate(l),Sa(n,l,i)}divide(n,l){return new Ee(Sa(this.value,n.getValue(),l))}static modulus(n,l){return n=Ee.validate(n),l=Ee.validate(l),or(n,l)}modulus(n){return new Ee(or(this.value,n.getValue()))}static compareTo(n,l){return n=Ee.validate(n),l=Ee.validate(l),sr(n,l)}compareTo(n){return sr(this.value,n.getValue())}static negate(n){return n=Ee.validate(n),va(n)}negate(){return new Ee(va(this.value))}};function cr(e,n){return Zt.multiply(`${e}`,`${n}`)}function Ca(e,n,l=8){return Zt.divide(`${e}`,`${n}`,l)}var Km=Zt.RoundingModes;function Na(e,n){return e=`${e}`,n=`${n}`,Zt.compareTo(e,n)}function ur(e){return Zt.negate(e)}function Nl(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 E=0;E<h.length;E++)d+=h[E]+((E+1)%i==0&&E+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 dr(e){let n=`${e}`,l=n.charAt(0);l=="-"?n=n.substring(1):l="";let i=n.replace(/[^\d\.-]/g,"");return`${l}${i}`}var xa=ha,Hi=Array.isArray,Ki=e=>kl(e)==="[object Map]",ji=e=>kl(e)==="[object Set]",ka=e=>e instanceof Date,Ta=e=>typeof e=="function",fr=e=>typeof e=="string",Wi=e=>typeof e=="symbol",Ze=e=>e!==null&&typeof e=="object",xl=e=>Ze(e)&&Ta(e.then)&&Ta(e.catch),mr=Object.prototype.toString,kl=e=>mr.call(e),Yi=e=>kl(e)==="[object Object]",hr=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol";function Ui(e){return e.__esModule||hr&&e[Symbol.toStringTag]==="Module"}var Gi=typeof Promise<"u"&&Promise.toString().indexOf("[native code]")!==-1;function It(...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]=It(r,u,a)}else a!==void 0&&(n[s]=a)}}return n}var Ea=Gi?Promise.resolve():null;function Xi(e,...n){Ea!==null?n&&n.length>0?Ea.then(()=>{e(n)}):Ea.then(e):n&&n.length>0?setTimeout(()=>{e(n)}):setTimeout(e)}function we(e){return e==null?!1:typeof e=="boolean"?e:typeof e=="string"?e.toLocaleLowerCase()==="true":!!e}function ke(e){return typeof e=="number"?e:Number(e)}var Qi={"[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 Tl(e){let n=Object.prototype.toString.call(e);return e==null?String(e):Qi[n]||"object"}function za(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 $a(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 pr(e){return e&&typeof e=="object"&&"setInterval"in e}function gr(e){let n=!!e&&"length"in e&&e.length,l=Tl(e);return l==="function"||pr(e)?!1:l==="array"||n===0||typeof n=="number"&&n>0&&n-1 in e}function yr(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 Zi(e,n=[]){let l=n;return e!=null&&(gr(Object(e))?yr(l,typeof e=="string"?[e]:e):l.push(e)),l}function Xe(e,n){if(e==n)return!0;if(e===void 0||n===void 0)return!1;let l=Tl(e);if(l!==Tl(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(!Xe(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(!Xe(r,o))return!1}return!0}return!1}var bt=typeof window<"u";function Ae(e){return e==null}function Ba(e){return Object.prototype.toString.call(e)==="[object RegExp]"}var ve=e=>e==null?!0:typeof e!="string"?!1:e.length===0;function Va(e){return ve(e)?!0:(e.charAt(0)=="-"&&(e=e.substring(1)),ve(e)||/^(([1-9][0-9]*\.[0-9]*)|([0]\.[0-9]*)|([0-9]*)|([0]{1}))$/.test(e))}function br(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 Sr(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 wr(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 Ji(e,n=!0,l=!0){n?e=wr(e,".",/\./g):e=e.replace(/\./g,""),l?e=wr(e,"-",/-/g):e=e.replace(/-/,"");const i=n?/[^-0-9.]/g:/[^-0-9]/g;return e.replace(i,"")}function es(e,n){return typeof e=="object"||Array.isArray(e)?n.findIndex(l=>{if(Xe(e,l))return!0}):n.indexOf(e)}function ts(e,n){if(typeof e=="object"||Array.isArray(e)){let l=n.reverse().findIndex(i=>{if(Xe(e,i))return!0});return l!==-1&&(l=n.length-1-l),l}return n.lastIndexOf(e)}function ht(e){return e==null||e==null?0:typeof e=="string"?e.length:`${e}`.length}function pt(e,...n){const l={};return n.forEach(i=>{for(const r in i)l[r]=e[r]}),l}function Re(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 ls=(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 as(e,n){(typeof e.cancelable!="boolean"||e.cancelable)&&e.preventDefault(),n&&e.stopPropagation()}var ns=(e,n=2)=>{for(e+="";e.length<n;)e="0"+e;return e.toString()},rs=(e,n,l)=>Math.min(Math.max(e,n),l);function Jt(e){return e.split("-").map(n=>n.charAt(0).toUpperCase()+n.slice(1)).join("")}function vr(e){return e.replace(/([A-Z])/g,"-$1").replace(/^-/,"").toLowerCase()}var lt=Symbol.for("BroadcastKey"),Cr=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==="+"||Ba(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="*"):Ba(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]);Ae(s)||r.push(s)}if(this.exposed&&typeof this.exposed[n]=="function"){const s=Reflect.apply(this.exposed[n],this.exposed,[...l]);Ae(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 el(e,n,l,i){const r=new Cr(n,e,l);if(i&&typeof i=="object")for(const o in i)r.on(o,i[o]);return r}function tl(e){let n=e?.[lt];return!n&&(0,t.hasInjectionContext)()&&(n=(0,t.inject)(lt,null)),n}var os=class{error(e,n){const l=tl(n.exposed);l?l.emit({name:"*"},"setErrorTip",e):n.exposed&&typeof n.exposed.setErrorTip=="function"&&n.exposed.setErrorTip(e)}reset(e){const n=tl(e.exposed);n?n.emit({name:"*"},"setErrorTip",""):e.exposed&&typeof e.exposed.setErrorTip=="function"&&e.exposed.setErrorTip("")}success(e){const n=tl(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=tl(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}},ll=new os;function is(e){ll=e}function ss(e){ll?Object.assign(ll,e):ll=e}function cs(e,n){zt.Schema.setValidator(e,n)}function us(e){zt.Schema.deleteValidator(e)}var Nr=["blur","clear"];function ds(e){Nr=e}function xr(){return Nr}var kr=["focus","change","setValue"];function fs(e){kr=e}function Tr(){return kr}function ms(e){zt.Schema.messages(e)}function al(...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 El(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 St=Symbol("ValidateSchemaKey"),Er=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=El(al(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=El(n);const i=al(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=ll;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?zt.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?zt.Schema.deleteValidator(e):Reflect.deleteProperty(this.validators,e)}hasValidator(e,n=!1){if(n)return zt.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=al(this.attrRules,this.rules);e===null?this.rules=[]:Array.isArray(e)?this.rules=El(e):this.rules=El([e]);const l=al(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=al(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 zt.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 zl(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 Er(n,l,i)}var $l=Symbol.for("EventEmitterKey"),zr=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 tt(e,n){let l=null;return function(...i){l&&clearTimeout(l),l=setTimeout(()=>{l=null,Reflect.apply(e,null,[...i])},n)}}function $r(e,n){let l=0;return function(...i){const r=new Date().getTime();r-l<n||(l=r,Reflect.apply(e,null,[...i]))}}function hs(e,n){const l=tt((i,r)=>{e=i,r()},n);return(0,t.customRef)((i,r)=>({get(){return i(),e},set(o){l(o,r)}}))}function ps(e){let n=!1;return function(...l){n||(n=!0,Reflect.apply(e,null,[...l]))}}function Bl(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 wt=Symbol("DomainKey"),nl=Symbol("DataItemsKey"),Vl=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}},gs=new Vl;function _t(){return gs}function vt(){return(0,t.inject)(wt,null)}var Da=Symbol("OriginalDateKey");function Ma(e,n,l){const i=(0,t.hasInjectionContext)(),r=i?(0,t.getCurrentScope)():null;let o=i?(0,t.inject)(wt,null):null;o===null&&(o=_t());const s=n;let c=new Vl(s);c.parent=o;const a=g=>{c?.hasData(Da)||d(g),c?.set("modelValue",g)},u=()=>c?.getForSelf("modelValue")??null,f=()=>c?.getData(Da)??null,d=g=>{const N={};It(!0,N,(0,t.toRaw)(g)),c.setData(Da,N)},h=e.props,E=e.ignorePropKeys;(0,t.isReactive)(h)||typeof h=="function"?(0,t.watch)(h,g=>{c?.merge(g,E),g.modelValue&&d(g.modelValue)},{immediate:!0}):(c.merge(h,E),h.modelValue&&d(h.modelValue));const x=(g,N)=>{c?.set(g,N)},w=g=>c?.getForSelf(g)??null;if(c.componentPublicExposed[wt]=c,(0,t.provide)(wt,c),r!==null){const g=(0,t.inject)(lt,null),N=el(c.componentPublicExposed,g,s,l);c.broadcast=N,c.componentPublicExposed[lt]=N,(0,t.provide)(lt,N),c.componentPublicExposed.broadcast=(k,z,...O)=>{if(N)return Reflect.apply(N.emit,N,[k,z,...O])};const B=(0,t.inject)(St,null),m=zl(c.componentPublicExposed,B,{componentName:"",context:e.context});c.validateSchema=m,c.componentPublicExposed[St]=m,(0,t.provide)(St,m),c.componentPublicExposed[nl]=new Map,c.componentPublicExposed.validate=async(k=!0)=>{const z=[];let O=null;const M={};let A=!1;if(k===!0)O={name:"*"},A=!0;else if(Array.isArray(k)&&k.length>0){const T=k;O={name:$=>$?T.indexOf($)!==-1:!1},A=!0}else if(k!=null&&typeof k=="object"){const T=k;if(T.deep!==!1){if(Object.assign(M,T),Array.isArray(T.include)&&T.include.length>0){const $=T.include;O={name:V=>V?$.indexOf(V)!==-1:!1}}else if(Array.isArray(T.exclude)&&T.exclude.length>0){const $=T.exclude;O={name:V=>V?$.indexOf(V)===-1:!1}}else O={name:"*"};A=!0}}if(A&&O){M.deep=!1;const T=N?.emitToChildren(O,"validate",M);T&&Reflect.apply([].push,z,T)}return z.length==1?z[0]:z.length>1?Promise.all(z).then(T=>{let $=[];return T.forEach(V=>{V.pass===!1&&Array.isArray(V.errors)&&($=[...$,...V.errors])}),$.length>0?{pass:!1,errors:$}:{pass:!0}}):Promise.resolve({pass:!0})};const v=e.context;c.componentPublicExposed.setNameValidateRules=(k,z=!0,O=!1)=>{if(O===!0){Reflect.ownKeys(k).forEach(M=>{let A=String(M);const T={componentName:"",fieldName:A,pureDataValidate:!0,context:v};if(c){const $=Vr(c,A,T,N,m);c.componentPublicExposed[nl].set(A,$);const V=k[A];V&&$.validateSchema.setRule(V)}});return}if(z){const M=Reflect.ownKeys(k);N?.emitToChildren({name:A=>M.includes(A),cachePolicy:"Persistant",uniqueId:"validateRules"},"setNameValidateRules",k,!1)}},c.componentPublicExposed.clearValidate=(k=!0)=>{let z=null;const O={};let M=!1;if(k===!0)z={name:"*"},M=!0;else if(Array.isArray(k)&&k.length>0){const A=k;z={name:T=>T?A.indexOf(T)!==-1:!1},M=!0}else if(k!=null&&typeof k=="object"){const A=k;if(A.deep!==!1){if(Array.isArray(A.include)&&A.include.length>0){const T=A.include;z={name:$=>$?T.indexOf($)!==-1:!1}}else if(Array.isArray(A.exclude)&&A.exclude.length>0){const T=A.exclude;z={name:$=>$?T.indexOf($)===-1:!1}}else z={name:"*"};Object.assign(O,A),M=!0}}M&&z&&(O.deep=!1,N?.emitToChildren(z,"clearValidate",O))},c.componentPublicExposed.resetFields=k=>{const z=u();if(!z)return;const O={};if(It(!0,O,f()??{}),Array.isArray(k))k.forEach(M=>{z[M]=O[M]});else if(k&&Array.isArray(k.include))(k.include??[]).forEach(M=>{z[M]=O[M]});else if(k&&Array.isArray(k.exclude)){let M=k.exclude??[];Reflect.ownKeys(O).forEach(A=>{M.includes(A)||(z[A]=O[A])})}else Object.assign(z,O);c?.componentPublicExposed?.clearValidate(k)},c.componentPublicExposed.setModelValue=(k,z)=>{if(!z||z===s)a(k);else{const O={name:z,messagingPolicy:"Once"};N?.emitToChildren(O,"setModelValue",k)}},c.componentPublicExposed.getModelValue=()=>u(),c.componentPublicExposed.setDomainProperty=(k,z)=>{x(k,z)},c.componentPublicExposed.getDomainProperty=k=>w(k),setTimeout(function(){N?.pull()},0)}(0,t.onScopeDispose)(function(){c?.validateSchema&&c.validateSchema.destroy(),c?.broadcast&&c?.broadcast?.destroy(),c.componentPublicExposed[nl]&&c.componentPublicExposed[nl].clear(),c?.destroy(),c=null});const b=e.context?.expose;return{domain:c,exposeApi:(g={})=>{Object.assign(c.componentPublicExposed,g),b?.(c.componentPublicExposed)}}}function Br(e,n){let l=(0,t.inject)(wt,null);l===null&&(l=_t());let i=new Vl(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[wt]=i,(0,t.provide)(wt,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 Ie(e,n,l){const i={},r=n??e.componentName??"";let o=el(i,(0,t.inject)(lt,null),r,l);i[lt]=o,(0,t.provide)(lt,o),i.broadcast=(d,h,...E)=>o?Reflect.apply(o.emit,o,[d,h,...E]):null;const s=(0,t.inject)(St,null);e.fieldName=e.fieldName??r;let c=zl(i,s,e);i[St]=c,(0,t.provide)(St,c),i.validate=async(d=null)=>{if(!c)return Promise.resolve({pass:!0});const h=[];let E=null;const x={};let w=!1,b=!1;if(d===!0)E={name:"*"},b=!0,w=!0;else if(Array.isArray(d)&&d.indexOf(r)!==-1){const g=d;E={name:N=>N?g.indexOf(N)!==-1:!1},b=!0,w=!0}else if(d&&typeof d=="object"){const g=d,N=g.ignoreDisabled??!0,B=g.ignoreReadonly??!0,m=g.ignoreHidden??!0;N===!0&&e.disabled===!0||B===!0&&e.readonly===!0||m===!0&&za(e.templateRefProxy?.$el??e.templateRefProxy)?b=!1:(Array.isArray(g.include)&&g.include.indexOf(r)!==-1||Array.isArray(g.exclude)&&g.exclude.indexOf(r),b=!0),Object.assign(x,g),w=g.deep??!1}if(b){const g=c?.validate();h.push(g)}if(w&&E){x.deep=!1;const g=o?.emitToChildren(E,"validate",x);g&&Reflect.apply([].push,h,g)}return h.length==1?h[0]:h.length>1?Promise.all(h).then(g=>{let N=[];return g.forEach(B=>{B.pass===!1&&Array.isArray(B.errors)&&(N=[...N,...B.errors])}),N.length>0?{pass:!1,errors:N}:{pass:!0}}):Promise.resolve({pass:!0})},i.setValidateRule=d=>c?.setRule(d),i.setNameValidateRules=(d,h=!1)=>{const E=d[r];E&&c?.setRule(E),h&&o&&o.emitToChildren({name:x=>Reflect.ownKeys(d).includes(x)},"setNameValidateRules",d,!1)},i.clearValidate=(d=!0)=>{if(!c)return;let h=null;const E={};let x=!1,w=!1;if(d===!0)h={name:"*"},w=!0,x=!0;else if(Array.isArray(d)&&d.indexOf(r)!==-1){const b=d;h={name:g=>g?b.indexOf(g)!==-1:!1},w=!0,x=!0}else if(d&&typeof d=="object"){const b=d;(b.ignoreHidden??!0)===!0&&za(e.templateRefProxy?.$el??e.templateRefProxy)?w=!1:(Array.isArray(b.include)&&b.include.indexOf(r)!==-1||Array.isArray(b.exclude)&&b.exclude.indexOf(r),w=!0),Object.assign(E,b),x=b.deep??!1}w&&c?.clear(),x&&h&&(E.deep=!1,o?.emitToChildren(h,"clearValidate",E))};let a=new zr(e.context?.emit);i[$l]=a,i.triggerEvent=(d,...h)=>{a.emit(d,...h)};const u=tt((d="validate")=>{c&&(d==="reset"?c.clear():c.validate())},60);(Array.isArray(e.validateCheckEvents)?e.validateCheckEvents:xr()).forEach(d=>{a&&a.on(d,h=>{u("validate")})}),(Array.isArray(e.validateResetEvents)?e.validateResetEvents:Tr()).forEach(d=>{a&&a.on(d,h=>{u("reset")})}),setTimeout(function(){o?.pull()},0),(0,t.onScopeDispose)(()=>{o?.destroy(),o=null,c?.destroy(),i[St]=null,c=null,a?.destroy(),i[$l]=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 Vr(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=zl({},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 E=!1,x=!1;if(Array.isArray(d)&&d.indexOf(s)!==-1)x=!0,E=!0;else if(d&&typeof d=="object"){const w=d;Array.isArray(w.include)&&w.include.indexOf(s)!==-1||Array.isArray(w.exclude)&&w.exclude.indexOf(s),x=!0,E=w.deep??!1}else typeof d=="boolean"&&(E=d),x=!0;if(x&&a){const w=a.validate();h.push(w)}if(E){let w=null;const b={};if(d===!0)w={name:"*"};else if(Array.isArray(d)&&d.length>0){const g=d;w={name:N=>N?g.indexOf(N)!==-1:!1}}else if(d!=null&&typeof d=="object"){const g=d;if(Object.assign(b,g),Array.isArray(g.include)&&g.include.length>0){const N=g.include;w={name:B=>B?N.indexOf(B)!==-1:!1}}else if(Array.isArray(g.exclude)&&g.exclude.length>0){const N=g.exclude;w={name:B=>B?N.indexOf(B)===-1:!1}}else w={name:"*"}}if(w&&u){b.deep=!1;const g=u.emitToChildren(w,"validate",b);Reflect.apply([].push,h,g)}}return h.length==1?h[0]:h.length>1?Promise.all(h).then(w=>{let b=[];return w.forEach(g=>{g.pass===!1&&Array.isArray(g.errors)&&(b=[...b,...g.errors])}),b.length>0?{pass:!1,errors:b}:{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=el(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 $t(e,n){let l={};if(n){const o=(0,t.inject)(lt,null),s=el(l,o,n,{});l[lt]=s,(0,t.provide)(lt,s)}let i=new zr(e.context?.emit);l[$l]=i,l.triggerEvent=(o,...s)=>{i.emit(o,...s)},(0,t.onScopeDispose)(()=>{i?.destroy(),Reflect.deleteProperty(l,$l),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 xe=(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`:"",ys=xe;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 r=Number(e.substring(0,l)),o=1;if(bt){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 Ct="PageStateKey";function ct(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 Aa(e,n,l={},i=!0,r=-1,o=-1,s=0,c=0){if(e.headerHeight=Se(l.headerHeight??n.headerHeight??-1),e.headerPadding=ct(l.headerPadding??n.headerPadding),e.footerHeight=Se(l.footerHeight??n.footerHeight??-1),e.footerPadding=ct(l.footerPadding??n.footerPadding),e.contentPadding=ct(l.contentPadding??n.contentPadding),i){const a=l.height??n.height;a?e.height=Se(a,o):e.height=Se(o)-Se(s,o)-Se(c,o),e.width=Se(l.width??n.width??0,r)}}function Dr(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=Se(r.top),i.safeAreaBottom=Se(r.bottom),i.safeAreaLeft=Se(r.left),i.safeAreaRight=Se(r.right));const o=e.get("pageLayout");if(!o)return null;Aa(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(Ct);c&&(i.height=Pl(e,c),i.width=Il(e,c),(0,t.watch)([()=>Pl(e,c),()=>Il(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,E=0,x=0])=>{Aa(s,f,n,a,d,h,E,x)}),e.set(Ct,s),s}function Dl(e){return e.get(Ct)}function Ml(e,n){if(n=n??e.get(Ct),n&&n.headerMounted){const l=n.safeAreaTop==-1?0:n.safeAreaTop;return n.headerAllHeight??n.headerHeight+l}return 0}function Al(e,n){if(n=n??e.get(Ct),n&&n.footerMounted){const l=n.safeAreaBottom==-1?0:n.safeAreaBottom;return n.footerAllHeight??n.footerHeight+l}return 0}function Pl(e,n){if(n=n??e.get(Ct),n){if(n.contentInnerHeight)return n.contentInnerHeight;const l=Ml(e,n),i=Al(e,n),r=Se(n.contentPadding.top??0),o=Se(n.contentPadding.bottom??0);return n.height-l-i-r-o}return 0}function Il(e,n){if(n=n??e.get(Ct),n){const l=Se(n.contentPadding.left??0),i=Se(n.contentPadding.right??0);return n.contentInnerWidth??n.width-l-i}return 0}function bs(e){return!!e.getForParent(Ct)}var Pa=Symbol.for("InnerPageScopeKey");function Ia(e){(0,t.provide)(Pa,e)}var _a=Symbol.for("AbstractPageScopeKey");function Mr(e){(0,t.provide)(_a,e)}function rl(){const e={hasHeaderBar:!0,hasFooterBar:!0,hasContent:!0,isAbstractPage:!1,isInnerPage:!1},n=(0,t.inject)(Pa,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)(_a,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 at=(function(e){return e[e.Parent=0]="Parent",e[e.Near=1]="Near",e})({});function _l(e,n){return e==null?!1:typeof n=="function"?n(e):!0}function Fe(e,n,l=1,i){const r=vt();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(_l(a,i))return a}const s=e.value;return _l(s,i)?s:null}):(0,t.computed)(()=>{const o=e.value;if(_l(o,i))return o;const s=r.getAll(n);for(let c=0;c<s.length;c++){const a=s[c];if(_l(a,i))return a}return null})}function Ar(e){return Fe(e,"readonly",1)}function Pr(e){return Fe(e,"disabled",1)}function Ir(e){return Fe(e,"browse",1)}function Ke(e){const n=(0,t.ref)(null),l=(0,t.ref)(null),i=Pr((0,t.computed)(()=>l.value??e.disabled)),r=(0,t.ref)(null);return{itemTemplateRef:n,innerDisabled:l,disabled:i,innerReadonly:r,readonly:Ar((0,t.computed)(()=>r.value??e.readonly)),browse:Ir((0,t.computed)(()=>e.browse))}}function ze(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,Ll=new Map,La=null;function Ss(e){La=e}function ws(){return La}function nt(){return La?.()??null}function Lr(e,n,l){if(l){let i=Ll.get(l);i||(i=new Map,Ll.set(l,i)),i.set(e,n)}else _r.set(e,n)}function Je(e,n){let l=null;if(n){let i=Ll.get(n);i&&(l=i.get(e))}return l||(l=_r.get(e)),l}function vs(e,n){for(let l in e){const i=e[l];Lr(l,i,n)}}function Cs(e){Ll.delete(e)}function Ns(){return{top:0,left:0,bottom:0,right:0}}function xs(){return bt?{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 ks(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 Jt(l)}var Ts=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=ks(i.name,n);e.component(r,i)}}),this.installers.forEach(i=>{i(e,n)}));const l=_t();if(n.autoAdjustPageLayout!==!1){const i={...n},r=this.resizeListener;typeof n.resizeDebounceDelay=="number"?this.resizeListener=tt(()=>{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=It({},Ns(),e.safeAreaInset),o=xs(),s=It({},o.pageLayout,e.pageLayout);n=n??_t(),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){Ss(e)}getScopeGetter(){return ws()}setAPI(e,n,l){Lr(e,n,l)}getAPI(e,n){return Je(e,n)}batchSetAPI(e,n){vs(e,n)}clearScopeAPI(e){Cs(e)}getRootDomain(){return _t()}},Es=[D.ElAffix,D.ElAlert,D.ElAutocomplete,D.ElAutoResizer,D.ElAvatar,D.ElBacktop,D.ElBadge,D.ElBreadcrumb,D.ElBreadcrumbItem,D.ElButton,D.ElButtonGroup,D.ElCalendar,D.ElCard,D.ElCarousel,D.ElCarouselItem,D.ElCascader,D.ElCascaderPanel,D.ElCheckTag,D.ElCheckbox,D.ElCheckboxButton,D.ElCheckboxGroup,D.ElCol,D.ElCollapse,D.ElCollapseItem,D.ElCollapseTransition,D.ElColorPicker,D.ElConfigProvider,D.ElContainer,D.ElAside,D.ElFooter,D.ElHeader,D.ElMain,D.ElDatePicker,D.ElDescriptions,D.ElDescriptionsItem,D.ElDialog,D.ElDivider,D.ElDrawer,D.ElDropdown,D.ElDropdownItem,D.ElDropdownMenu,D.ElEmpty,D.ElForm,D.ElFormItem,D.ElIcon,D.ElImage,D.ElImageViewer,D.ElInput,D.ElInputNumber,D.ElLink,D.ElMenu,D.ElSubMenu,D.ElMenuItem,D.ElMenuItemGroup,D.ElPageHeader,D.ElPagination,D.ElPopconfirm,D.ElPopover,D.ElPopper,D.ElProgress,D.ElRadio,D.ElRadioButton,D.ElRadioGroup,D.ElRate,D.ElResult,D.ElRow,D.ElScrollbar,D.ElSelect,D.ElOption,D.ElOptionGroup,D.ElSelectV2,D.ElSkeleton,D.ElSkeletonItem,D.ElSlider,D.ElSpace,D.ElSteps,D.ElStep,D.ElSwitch,D.ElTable,D.ElTableColumn,D.ElTableV2,D.ElTabs,D.ElTabPane,D.ElTag,D.ElTimePicker,D.ElTimeSelect,D.ElTimeline,D.ElTimelineItem,D.ElTooltip,D.ElTransfer,D.ElTree,D.ElTreeSelect,D.ElTreeV2,D.ElUpload,D.ElStatistic,D.ElCountdown,D.ElSegmented,D.ElAnchor,D.ElAnchorLink,D.ElWatermark,D.ElMessageBox,D.ElMessage,D.ElNotification,D.ElSplitter],zs=[D.ElInfiniteScroll,D.ElLoading,D.ElMessage,D.ElMessageBox,D.ElNotification,D.ElPopoverDirective],$s=(e,n={})=>{const l=n.componentPrefix??"fox";Es.forEach(i=>{if(typeof i.name=="string"){let r="";const o=vr(i.name),s=o.indexOf("-");s!==-1?r=`${l}${o.slice(s)}`:r=`${l}-${o}`,r=Jt(r),e.component(r,i)}else e.use(i)}),zs.forEach(i=>{e.use(i)})};function me(e){const n=`fox-${e}`,l=Jt(n);return{componentName:n,scope:e.replace("-",""),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=Jt(s)),r.component(s,i)},(0,t.defineComponent)(i)},createDemo(i){return i.baseName=e,i.name="demo-"+e,(0,t.defineComponent)(i)}}}var De={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}},Rr={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}},Fr={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}},Or=[];for(const e in Fr)Or.push(e);var Bs={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}},Vs={...De,...Rr,...Bs},Ds=(e,n)=>({inheritAttrs:!0,props:Vs,setup(l,i){const r=rl(),{domain:o,exposeApi:s}=Ma({props:l,context:i},l.name);if(o){const f=Dr(o,l);s({getPageContentHeight:()=>Pl(o,f),getPageContentWidth:()=>Il(o,f),getPageHeaderHeight:()=>Ml(o,f),getPageFooterHeight:()=>Al(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,E])=>{if(f&&h){const x=(0,t.toRaw)(h),w=(0,t.toRaw)(f),b=w?Reflect.ownKeys(w):[];(x?Reflect.ownKeys(x):[]).forEach(g=>{b.includes(g)||(w[g]=[])}),u(w)}if(d&&E){const x=(0,t.toRaw)(E),w=(0,t.toRaw)(d),b=w?Reflect.ownKeys(w):[];(x?Reflect.ownKeys(x):[]).forEach(g=>{b.includes(g)||(w[g]=[])}),u(w,!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:Ms,create:As,scope:Ps}=me("page"),Is=As(Ds(Ms,Ps)),Ra=Is;function Rl(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 Fa(e){return Rl(e).outer}function Oa(e){return Rl(e).inner}var qr={headerbar:{},radio:{},checkbox:{}};function _s(e){Object.assign(qr,e)}function Hr(){return qr}var Ls={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:""}},Rs=(e,n,l,i=!1)=>({props:Ls,emits:["back","click-title","click-right","click-right-text"],setup(r,o){const s=rl(),c=s.hasHeaderBar?vt():null,a=c?Dl(c):null;a&&(a.headerMounted=!0);const u=Hr(),f=e,d=(0,t.computed)(()=>{const V={[f]:!0,[`${f}--border`]:r.border,[`${f}--fixed`]:r.fixed};return s.isInnerPage?V[`${f}--inner`]=!0:V[`${f}--safe-area-inset-top`]=r.safeAreaInsetTop,V[`${f}--abstract`]=s.isAbstractPage,V}),h=(0,t.computed)(()=>({[`${f}__inner`]:!0,[`${f}__inner--${r.align}`]:!0})),E=Ae(r.height)?null:Se(r.height),x=(0,t.computed)(()=>{const V={safeAreaTop:null,height:null,left:null,top:null,right:null,bottom:null};if(!s.hasHeaderBar)return V;if(c&&a){const C=ct(r.padding??a.headerPadding);if(Object.assign(V,C),Ae(E)||(a.headerHeight=E),V.height=a.headerHeight,V.safeAreaTop=a.safeAreaTop===-1?0:a.safeAreaTop,V.safeAreaTop>0){const P=Se(C.top??0);V.top=V.safeAreaTop+P,V.height&&V.height>0&&(V.height=V.height+V.safeAreaTop)}return V}if(Ae(E)||(V.height=E),r.padding){const C=ct(r.padding);Object.assign(V,C)}return V}),w=(0,t.ref)(null),b=()=>{if(a&&w.value&&!$a(w.value)){if(!i){const V=Fa(w.value);a.headerAllHeight=V.height}return a.headerMounted=!0,!0}return!1},g=tt(b,120);let N=null;(0,t.onMounted)(()=>{s.hasHeaderBar&&a&&(Bl(b,50,5,50,!0),window.ResizeObserver&&w.value&&(N=new window.ResizeObserver(g),N.observe(w.value)))}),(0,t.onUnmounted)(()=>{s.hasHeaderBar&&a&&(a.headerMounted=!1,N&&(N.disconnect(),N=null))});const B=(0,t.computed)(()=>{const V={};return s.hasHeaderBar&&(x.value.height!==null&&x.value.height!==void 0&&(V.height=`${x.value.height}px`),x.value.top!==null&&x.value.top!==void 0&&(V.paddingTop=`${x.value.top}px`),x.value.left!==null&&x.value.left!==void 0&&(V.paddingLeft=`${x.value.left}px`),x.value.right!==null&&x.value.right!==void 0&&(V.paddingRight=`${x.value.right}px`),x.value.bottom!==null&&x.value.bottom!==void 0&&(V.paddingBottom=`${x.value.bottom}px`)),V}),m=(0,t.computed)(()=>{const V=x.value?.height;return Ae(V)||V<0?!0:V>0});function v(){o.emit("back")}function k(){o.emit("click-title")}function z(){o.emit("click-right")}function O(){o.emit("click-right-text")}const M=()=>{if(!r.leftShow)return null;const V=[];if(o.slots.left)V.push(o.slots.left());else{if(o.slots.leftIcon){const C=(0,t.h)("view",{class:"left-icon",onClick:v},[o.slots.leftIcon()]);V.push(C)}else{const C=r.leftIcon??u.headerbar.Left??l,P=(0,t.h)("view",{class:"left-icon",onClick:v},[(0,t.h)(C)]);V.push(P)}if(r.leftText){const C=(0,t.h)("view",{class:"left-text",onClick:v},[r.leftText]);V.push(C)}}return V.length===0?null:(0,t.h)("view",{class:"fox-header-bar__left"},V)},A=()=>{if(!r.rightShow)return null;const V=[];if(o.slots.right)V.push(o.slots.right());else{if(r.rightText){const C=(0,t.h)("view",{class:"right-text",onClick:O},[r.rightText]);V.push(C)}if(o.slots.rightIcon){const C=(0,t.h)("view",{class:"right-icon",onClick:z},[o.slots.rightIcon()]);V.push(C)}else if(r.rightIcon){const C=(0,t.h)("view",{class:"right-icon",onClick:z},[(0,t.h)(r.rightIcon)]);V.push(C)}}return V.length===0?null:(0,t.h)("view",{class:"fox-header-bar__right"},V)},T=()=>{if(!r.titleShow)return null;const V=[],C=o.slots.default?o.slots.default():null;if(C)V.push(C);else{if(r.title){const P=(0,t.h)("view",{class:"title-text"},[r.title]);V.push(P)}if(o.slots.titleIcon){const P=(0,t.h)("view",{class:"title-icon",onClick:k},[o.slots.titleIcon()]);V.push(P)}else if(r.titleIcon){const P=(0,t.h)("view",{class:"title-icon",onClick:k},[(0,t.h)(r.titleIcon)]);V.push(P)}}return V.length===0?null:(0,t.h)("view",{class:"fox-header-bar__title"},V)},$=()=>{const V=[],C=o.slots.bottom?o.slots.bottom():null;return C&&V.push(C),V.length===0?null:(0,t.h)("view",{class:"fox-header-bar__bottom"},V)};return()=>{if(!s.hasHeaderBar||!m.value)return null;const V=[];if(o.slots.all)V.push(o.slots.all());else{const C=[],P=M();P&&C.push(P);const R=T();R&&C.push(R);const q=A();if(q&&C.push(q),C.length>0){const U=(0,t.h)("view",{class:h.value},C);V.push(U)}const K=$();K&&V.push(K)}return V.length===0?null:(0,t.h)("view",{class:d.value,style:B.value,ref:w},V)}}}),{componentName:Fs,create:Os,scope:qs}=me("header-bar"),Hs=Os(Rs(Fs,qs,Le.ArrowLeft)),qa=Hs,Ks={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 js(e,n,l=!1){return{props:Ks,setup(i,r){const o=rl(),s=o.hasFooterBar?vt():null,c=s?Dl(s):null,a=e,u=(0,t.computed)(()=>{const N={[a]:!0,[`${a}--${i.align}`]:!0,[`${a}--border`]:i.border,[`${a}--fixed`]:i.fixed};return o.isInnerPage?N[`${a}--inner`]=!0:N[`${a}--safe-area-inset-bottom`]=i.safeAreaInsetBottom,N[`${a}--abstract`]=o.isAbstractPage,N}),f=Ae(i.height)?null:Se(i.height),d=(0,t.computed)(()=>{const N={safeAreaBottom:null,height:null,left:null,top:null,right:null,bottom:null};if(!o.hasFooterBar)return N;if(s&&c){const B=ct(i.padding??c.footerPadding);if(Object.assign(N,B),Ae(f)||(c.footerHeight=f),N.height=c.footerHeight,N.safeAreaBottom=c.safeAreaBottom===-1?0:c.safeAreaBottom,N.safeAreaBottom>0){const m=Se(B.bottom??0);N.bottom=N.safeAreaBottom+m,N.height&&N.height>0&&(N.height=N.height+N.safeAreaBottom)}return N}if(Ae(f)||(N.height=f),i.padding){const B=ct(i.padding);Object.assign(N,B)}return N}),h=(0,t.computed)(()=>{const N=d.value?.height;return Ae(N)||N<0?!0:N>0}),E=(0,t.ref)(null),x=()=>{if(c&&E.value&&!$a(E.value)){if(!l){const N=Fa(E.value);c.footerAllHeight=N.height}return c.footerMounted=!0,!0}return!1},w=tt(x,120);let b=null;(0,t.onMounted)(()=>{o.hasFooterBar&&c&&(Bl(x,50,5,50,!0),window.ResizeObserver&&E.value&&(b=new window.ResizeObserver(w),b.observe(E.value)))}),(0,t.onUnmounted)(()=>{o.hasFooterBar&&c&&(c.footerMounted=!1,b&&(b.disconnect(),b=null))});const g=(0,t.computed)(()=>{const N={};return o.hasFooterBar&&(d.value.height!==null&&d.value.height!==void 0&&(N.height=xe(d.value.height)),d.value.top!==null&&d.value.top!==void 0&&(N.paddingTop=xe(d.value.top)),d.value.left!==null&&d.value.left!==void 0&&(N.paddingLeft=xe(d.value.left)),d.value.right!==null&&d.value.right!==void 0&&(N.paddingRight=xe(d.value.right)),d.value.bottom!==null&&d.value.bottom!==void 0&&(N.paddingBottom=xe(d.value.bottom))),N});return()=>{if(!o.hasFooterBar||!h.value)return null;const N=r.slots.default?r.slots.default():[];return(0,t.h)("view",{ref:E,class:u.value,style:g.value},N)}}}}var{componentName:Ws,create:Ys,scope:Us}=me("footer-bar"),Gs=Ys(js(Ws,Us)),Ha=Gs;function Xs(e){const n={};if(!e)return n;const l=getComputedStyle(e),i=l.getPropertyValue("--fox-content-padding-top").trim();i&&(n.top=Se(i));const r=l.getPropertyValue("--fox-content-padding-right").trim();r&&(n.right=Se(r));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 Qs={padding:{type:[Object],required:!1},tag:{type:[String],required:!1,default:()=>"div"}};function Zs(e,n){return{props:Qs,setup(l,{slots:i,attrs:r}){const o=rl(),s=(0,t.shallowRef)(null),c=o.hasContent?vt():null,a=e,u=(0,t.computed)(()=>({[a]:!0,[`${a}--inner`]:o.isInnerPage})),f=c?Dl(c):null,d=(0,t.computed)(()=>{const b={};if(!o.hasContent)return b;if(c&&f){if(l.padding){const O=ct(l.padding);Object.assign(f.contentPadding,O)}const g=Ml(c,f),N=Al(c,f),B=o.isInnerPage?"":`${f.height}px`;B&&(b.height=B);let m=Se(f?.contentPadding?.top??s.value?.top??-1);(m>=0||g>0)&&(m=m<0?0:m,b.paddingTop=`${g+m}px`);let v=Se(f?.contentPadding?.bottom??s.value?.bottom??-1);(v>=0||N>0)&&(v=v<0?0:v,b.paddingBottom=`${N+v}px`);const k=Se(f?.contentPadding?.left??s.value?.left??-1);k>=0&&(b.paddingLeft=`${k}px`);const z=Se(f?.contentPadding?.right??s.value?.right??-1);return z>=0&&(b.paddingRight=`${z}px`),b}else{const g={};if(l.padding){const k=ct(l.padding);Object.assign(g,k)}const N=Se(g.top??s.value?.top??-1);N>=0&&(b.paddingTop=`${N}px`);const B=Se(g.right??s.value.right??-1);B>=0&&(b.paddingRight=`${B}px`);const m=Se(g.bottom??s.value.bottom??-1);m>=0&&(b.paddingBottom=`${m}px`);const v=Se(g.left??s.value.left??-1);return v>=0&&(b.paddingLeft=`${v}px`),b}}),h=(0,t.ref)(null),E=()=>{if(f&&h.value){const b=Rl(h.value).inner;f.contentInnerHeight=b.height,f.contentInnerWidth=b.width}},x=tt(E,120);let w=null;return(0,t.onMounted)(()=>{o.hasContent&&(h.value&&(s.value=Xs(h.value)),requestAnimationFrame(E),window.ResizeObserver&&h.value&&(w=new window.ResizeObserver(x),w.observe(h.value)))}),(0,t.onUnmounted)(()=>{o.hasContent&&w&&(w.disconnect(),w=null)}),()=>o.hasContent?(0,t.h)(l.tag??"view",{...r,ref:h,class:u.value,style:d.value},i):i.default?.()}}}var{componentName:Js,create:ec,scope:tc}=me("content"),lc=ec(Zs(Js,tc)),Ka=lc,Lt="GroupStateKey",Kr=Symbol.for("GroupScopeKey");function Fl(){return(0,t.inject)(Kr,!1)}function Ol(e=!0){(0,t.provide)(Kr,e)}function ac(e,n={}){Reflect.ownKeys(n).forEach(l=>{if(typeof l!="string")return;const i=n[l];Ae(i)||(e[l]=i)})}function nc(e,n={}){const l={type:"grid",width:e.get("width",-1),column:-1,gutter:-1};ac(l,n);const i=(0,t.markRaw)({layout:(0,t.shallowRef)(l),passport:0,order:{index:0}});return e.set(Lt,i),i}function ja(e,n,l=-1,i=-1,r=!1,o,s,c){const a=e.get(Lt);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=Se(o),d=Se(s);c||(c=u.type??"grid");const h=()=>{const E=n===""||n===-1,x=Se(n);let w=ke(l);const b=Se(i);if(!E){let B=(x-(w-1)*b)/w;for(;d!==-1&&B>d;)w++,B=(x-(w-1)*b)/w;for(;f!==-1&&w>1&&B<f;)w--,B=(x-(w-1)*b)/w}let g=!1;const N=a.layout;N.value.width=n,N.value.column!==w&&(N.value.column=w,g=!0),N.value.gutter!==b&&(N.value.gutter=b,g=!0),N.value.type!==c&&(N.value.type=c,g=!0),g&&(0,t.triggerRef)(N)};if(r)h();else{const E=++a.passport;setTimeout(()=>{E===a.passport&&h()},50)}}function ql(e,n=!1){let l;return n?l=e.getForParent(Lt):l=e.get(Lt),l.layout}function Hl(e,n=!1){let l;return n?l=e.getForParent(Lt):l=e.get(Lt),l.order}function jr(e,n=1){if(n==="stretch")return-1;const l=ke(n);return l===-1?100:100*l/e}function Kl(e,n,l=1,i=0,r){const o={};let s=0;r?s=Se(r):s=jr(n.column,l),s>0&&(o.width=`${s}%`);const c=jr(n.column,i);c>0&&(o["margin-left"]=`${c}%`);const a=Se(n.gutter)/2;return a>0&&(o["padding-left"]=`${a}px`,o["padding-right"]=`${a}px`),o}function jl(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=ke(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=ke(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 Wr=Symbol("RollingStateKey");function rc(e){(0,t.provide)(Wr,e)}function oc(){return(0,t.inject)(Wr,null)}function Wl(e){return e.getBoundingClientRect().height}function ic(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 sc(e){let n=ic(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=Wl(l),document.body.removeChild(l)}return n}function cc(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 Yr(e){const n=[];return e.forEach(l=>{l.type===t.Fragment&&Array.isArray(l.children)?n.push(...Yr(l.children)):n.push(l)}),n}function uc(e){return!(e.type===t.Comment||e.type===t.Text&&typeof e.children=="string"&&e.children.trim()==="")}function ol(e){function n(){return Yr(e?.()??[]).filter(uc)}return{getChildren:n}}var dc={...De,...Rr,...Fr};function fc(e,n,l){return{props:dc,emits:["update:collapse","header-click"],setup(i,r){const{domain:o,exposeApi:s}=Ma({props:i,ignorePropKeys:Or,context:r},i.prop??i.name),c=nc(o,{type:i.type}),a=Fl();Ol(!0);const u=i.rollingDisplay?oc():null,f=(0,t.ref)(null),d=(0,t.computed)(()=>i.rollingDisplay?u&&!u.disabled:!1),h=(0,t.computed)(()=>a&&o?ql(o,!0).value:null),E=(W,le=!1)=>{const se=o?.componentPublicExposed;se&&typeof se.setNameValidateRules=="function"&&se.setNameValidateRules(W,!0,le)};(0,t.watch)([()=>i.rules,()=>i.pureDataRules],([W,le],[se,G])=>{if(W&&se){const p=(0,t.toRaw)(se),y=(0,t.toRaw)(W),L=y?Reflect.ownKeys(y):[];(p?Reflect.ownKeys(p):[]).forEach(J=>{L.includes(J)||(y[J]=[])}),E(y)}if(le&&G){const p=(0,t.toRaw)(G),y=(0,t.toRaw)(le),L=y?Reflect.ownKeys(y):[];(p?Reflect.ownKeys(p):[]).forEach(J=>{L.includes(J)||(y[J]=[])}),E(y,!0)}},{deep:!0});const x=e,w=(0,t.computed)(()=>{const W={};W.height=P.value;const le=a?Hl(o,!0):null;if(h.value&&le){if(h.value.type==="grid"){const se=jl(le,h.value,i.span,i.offset);Object.assign(W,se)}else if(h.value.type==="flow"){const se=Kl(le,h.value,i.span,i.offset,i.width);Object.assign(W,se)}}else i.width&&(W.width=xe(i.width));return W}),b=(0,t.computed)(()=>{const W=c.layout.value.type;return W==="grid"||W==="flow"?{[`${x}--${W}`]:!0,[`${x}--${W}-justify-${i.justify}`]:!0,[`${x}--${W}-align-${i.align}`]:!0,[`${x}--gutter`]:!0}:{[`${x}--${W}`]:!0,[`${x}--gutter`]:!0}}),g=(0,t.computed)(()=>{if(c.layout.value.type==="grid"){let W="";if(i.columnWidth)W=`repeat(auto-fill, ${i.columnWidth})`;else{const le=cc(O.value,c.layout.value.column,c.layout.value.gutter);W=`repeat(${c.layout.value.column}, ${le})`}return{"column-gap":`${c.layout.value.gutter}px`,"grid-template-columns":W}}}),N=(0,t.toRef)(i,"gutter"),B=(0,t.toRef)(i,"column"),m=(0,t.computed)(()=>a||d.value?!0:we(i.isWrap)),v=[],k=W=>{v.push(W)},z=()=>{let W=v.length;v.splice(0,W)},O=(0,t.ref)(-1),M=W=>{const le=Oa(W).width;le>0&&le!==O.value&&(O.value=le)};ja(o,O.value,B.value,N.value,!0,i.minItemWidth,i.maxItemWidth,i.type),i.autoLayout&&(0,t.watch)([O,B,N],([W,le,se])=>{c.order.index=0,ja(o,W,le,se,!1,i.minItemWidth,i.maxItemWidth,i.type)});const A=(0,t.computed)(()=>R.value?i.expandText??"":i.collapseText??""),T=(0,t.computed)(()=>({[`${e}__header-collapse-text`]:!0})),$=(0,t.computed)(()=>({[`${e}__header-collapse-icon`]:!0,"is-expand":!R.value,"is-collapse":R.value})),V=(0,t.ref)(),C=(0,t.ref)(),P=(0,t.computed)(()=>q.value||xe(i.height)||""),R=(0,t.ref)(!1),q=(0,t.ref)(""),K=(0,t.ref)(!1);let U=-1;const X=(W,le=!0)=>{if(Ae(W))return;const se=V.value;if(se&&R.value!==W){if(U=U===-1?sc(se):U,K.value=!0,le)if(se.style["will-change"]="height",se.ontransitionend=function(){se.ontransitionend=null,this.style["will-change"]="auto",W||(q.value="",K.value=!1)},W){let G=0;i.collapseHeight?G=Se(i.collapseHeight):C.value&&C.value.classList.contains(`${e}__header`)&&(G=Wl(C.value)),q.value=`${U}px`,(0,t.nextTick)(()=>{q.value=`${G}px`})}else q.value=`${U}px`;else if(W){let G=0;i.collapseHeight?G=Se(i.collapseHeight):C.value&&C.value.classList.contains(`${e}__header`)&&(G=Wl(C.value)),q.value=`${G}px`}else K.value=!1,q.value=`${U}px`;R.value=W,r.emit("update:collapse",W)}};(0,t.watch)(()=>i.collapse,W=>{X(we(W))});const ae=W=>{r.emit("header-click",W),i.collapseOnClickHeader===!0&&ee()},Z=()=>{i.collapseOnClickHeader!==!0&&ee()},ee=W=>{W=W??!R.value,X(W)};s({toggleCollapse:ee,doLayout:()=>{v[0]&&(M(v[0]),ja(o,O.value,B.value,N.value,!0,i.minItemWidth,i.maxItemWidth,i.type))}});let I=null,_=!0;const te=W=>{if(i.rules){const le=(0,t.toRaw)(i.rules);E(le)}if(i.pureDataRules){const le=(0,t.toRaw)(i.pureDataRules);E(le,!0)}if(bt&&(W&&!Ae(i.collapse)&&X(we(i.collapse),!1),i.autoLayout&&Array.isArray(v)&&v.length>0)){const le=v[0];if(le&&(M(le),window.ResizeObserver)){const se=tt(()=>M(le),120);I=new window.ResizeObserver(se),I.observe(le)}}},ne=()=>{const W=v[0];W&&I?.observe(W),I?.disconnect(),I=null},j=!d.value||u?.acquire();j&&(f.value=d.value?!0:null),(0,t.onMounted)(()=>{if(j&&(te(_),_=!1),d.value&&u){let W=null,le=u.initialHeight;u.observe(V.value,se=>{if(se!==f.value)if(se)f.value=!0,R.value||(q.value=""),W=setTimeout(()=>{W=null,f.value!==!1&&(te(_),_=!1)},100);else{if(W!==null&&clearTimeout(W),f.value=!1,!R.value)if(_)q.value=u.initialHeight;else{let G=Wl(V.value);G<=0?q.value=le:(q.value=`${G}px`,le=q.value)}_||ne()}})}}),(0,t.onUnmounted)(()=>{ne(),u&&u.unobserve(V.value)});const F=(W="right")=>{const le=[];if(A.value){const p=(0,t.h)("span",{class:T.value},[A.value]);le.push(p)}const se={class:$.value},G=l(i.collapseIcon,se);return G&&le.push(G),le.length>0?(0,t.h)("div",{class:{[`${x}__header-collapse`]:!0,[`is-${W}`]:!0},onClick:Z},le):null},Y=(W,le,se,G)=>{const p={...b.value};if(le===0&&(p[`${x}__first`]=!0),se>=G-1&&(p[`${x}__last`]=!0),m.value===!1){const y=r.attrs.class;y&&(p[`${y}`]=!0)}return(0,t.h)("div",{ref:k,key:`${le}`,class:p,style:g.value},W)};return()=>{const W=i.prop??i.name;if(d.value&&f.value!==!0)return(0,t.h)(i.tag||"div",{ref:V,prop:W,class:{[`${x}`]:!0,"is-collapse":K.value},style:w.value},[]);c.order.index=0;const le=[];let se=0;if(r.slots.header){const L=(0,t.h)("div",{key:`${se++}`,ref:C,class:{[`${x}__header`]:!0,[`${x}__first`]:!0},onClick:ae},[r.slots.header()]);le.push(L)}else{const L=[],J=i.collapsePosition==="left";if(J&&i.showCollapse){const ie=F("left");ie&&L.push(ie)}if(i.title||r.slots.title){if(i.showMark){const ie={class:{[`${x}__header-mark`]:!0}};i.markColor&&(ie.style={background:i.markColor});const Q=(0,t.h)("div",ie);L.push(Q)}if(r.slots.title){const ie=(0,t.h)("div",{class:{[`${x}__header-title`]:!0}},[r.slots.title()]);L.push(ie)}else if(i.title){const ie=(0,t.h)("div",{class:{[`${x}__header-title`]:!0}},[i.title]);L.push(ie)}}if(r.slots.toolbar&&L.push(r.slots.toolbar()),!J&&i.showCollapse){const ie=F("right");ie&&L.push(ie)}if(L.length>0){const ie=(0,t.h)("div",{key:`${se++}`,ref:C,class:{[`${x}__header`]:!0,[`${x}__first`]:!0},onClick:ae},L);le.push(ie)}}z();const{getChildren:G}=ol(r.slots.default),p=G(),y=c.layout.value.type;if(y==="grid"){const L=Y(p,se++,0,p.length);le.push(L)}else if(y==="flow"){const L=Y(p,se++,0,p.length);le.push(L)}else for(let L=0;L<p.length;L++){const J=p[L],ie=Y([J],se++,L,p.length);le.push(ie)}return m.value?(0,t.h)(i.tag||"div",{ref:V,prop:W,class:{[`${x}`]:!0,"is-collapse":K.value},style:w.value},[le]):le}}}}var{componentName:mc,create:hc,scope:pc}=me("group"),gc=(e,n)=>(e=e??Le.ArrowUp,(0,t.h)(D.ElIcon,n,{default:()=>[(0,t.h)(e)]})),yc=hc(fc(mc,pc,gc)),Wa=yc;function bc(e){return e===window}var Sc=/matrix\((.+)\)/,Ur=e=>{const n=(0,t.unref)(e);if(!n)return{x:0,y:0};if(bc(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=Sc.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}},wc=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{}})}},vc=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 wc,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}}},il=new vc,Gr={price:{type:[Number,String],default:0},needSymbol:{type:Boolean,default:!0},symbol:{type:String,default:"&yen;"},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:Cc,create:Nc}=me("price"),xc=Nc({props:{...Gr},setup(e){const n=(0,t.computed)(()=>({[Cc]:!0})),l=(0,t.computed)(()=>e.needSymbol?e.symbol:""),i=(0,t.computed)(()=>ht(e.price)==0?"":Nl(e.price,e.decimalLength,!0,ke(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)})}}}),Oe=(e,n)=>{const l=e.__vccOpts||e;for(const[i,r]of n)l[i]=r;return l},kc=["innerHTML"],Tc=["innerHTML"];function Ec(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,kc)):(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,Tc)):(0,t.createCommentVNode)("",!0)],2)}var Yl=Oe(xc,[["render",Ec]]),zc={...Gr,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:Ya,create:$c}=me("hint-text"),Bc=$c({components:{Price:Yl},props:zc,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=(T,$,V,C,P,R)=>{const q=document.documentElement.clientWidth||document.body.clientWidth,K=document.documentElement.clientHeight||document.body.clientHeight,U=T.split("-");let X=[];U[0]==="top"?X=["top","bottom","right","left"]:U[0]==="bottom"?X=["bottom","top","right","left"]:U[0]==="left"?X=["left","top","bottom","right"]:U[0]==="right"&&(X=["right","top","bottom","left"]);const ae={top:null,right:null,bottom:null,left:null},Z=[];for(let ee=0;ee<X.length;ee++){const H=X[ee];if(Z[0]=H,U[1]&&(Z[1]=U[1]),H==="top"){const I=$.y-R-e.arrowSize-e.offset;if(I>=0){ae.top=I;let _=0;U[1]==="start"?_=$.x:U[1]==="end"?_=$.x+V-P:_=$.x+V/2-P/2;const te=q-_-P;te<0?(_+=te,d.value=-te):d.value=0,ae.left=_<0?0:_;break}}else if(H==="bottom"){const I=$.y+C+e.arrowSize+e.offset;if(I+R<=K){ae.top=I;let _=0;U[1]==="start"?_=$.x:U[1]==="end"?_=$.x+V-P:_=$.x+V/2-P/2;const te=q-_-P;te<0?(_+=te,d.value=-te):d.value=0,ae.left=_<0?0:_;break}}else if(H==="left"){const I=$.x-P-e.arrowSize-e.offset;if(I>=0){ae.left=I;let _=0;U[1]==="start"?_=$.y:U[1]==="end"?_=$.y+C-R:_=$.y+C/2-R/2,ae.top=_<0?0:_;break}}else if(H==="right"){const I=$.x+V+e.arrowSize+e.offset;if(I+P<=q){ae.left=I;let _=0;U[1]==="start"?_=$.y:U[1]==="end"?_=$.y+C-R:_=$.y+C/2-R/2,ae.top=_<0?0:_;break}}}return{bestPlacement:Z.join("-"),bestInsetRect:ae}},f=(T,$,V=10)=>{if(!bt||$===!1||!T)return;if(e.reference)i.value=Ur(e.reference),r.value=e.reference.offsetWidth,o.value=e.reference.offsetHeight;else if(e.referenceRect){const K=e.referenceRect.left??0,U=e.referenceRect.right??0,X=e.referenceRect.top??0,ae=e.referenceRect.bottom??0;i.value={x:K,y:X},r.value=U-K,o.value=ae-X}const C=a.value?.offsetHeight??0,P=a.value?.offsetWidth??0,{bestPlacement:R,bestInsetRect:q}=u(e.placement,i.value,r.value,o.value,P,C);s.value=R,l.value=q,c.value=!0},d=(0,t.ref)(0),h=tt(()=>{f(e.message,e.visible)},10),E=(0,t.ref)(e.visible);(0,t.watch)(()=>e.visible,T=>{E.value=T});const x=(0,t.computed)(()=>E.value&&w.value),w=(0,t.ref)(!0),b=tt(T=>{const $=T[0];$&&(w.value=$.isIntersecting)},10),g=new IntersectionObserver(b);(0,t.watch)([()=>e.message,()=>e.visible],([T,$])=>{setTimeout(()=>{f(e.message,e.visible)},0)}),(0,t.onMounted)(()=>{setTimeout(()=>{f(e.message,e.visible)},0),e.reference&&(il.watch(e.reference,h),g.observe(e.reference))}),(0,t.onBeforeUnmount)(()=>{e.reference&&(il.unwatch(e.reference,h),g.unobserve(e.reference),g.disconnect())}),e.referenceRect&&(0,t.watch)(()=>e.referenceRect,()=>{f(e.message,e.visible)});const N=(0,t.computed)(()=>{const T={[Ya]:!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}),B=(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"]=`${r.value}px`),T["max-width"]=`${document.documentElement.clientWidth||document.body.clientWidth}px`,c.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}),m=(0,t.computed)(()=>{const T=[`${Ya}__content`];return e.customTextClass&&T.push(e.customTextClass),T}),v=(0,t.computed)(()=>{const T={};return e.customTextStyle&&typeof e.customTextStyle=="object"&&Object.assign(T,e.customTextStyle),T}),k=(0,t.computed)(()=>({[`${Ya}__arrow`]:!0})),z=(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+d.value}px`,T.bottom=`-${e.arrowSize}px`):s.value==="top-end"?(T.right=`${e.arrowOffset-d.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+d.value}px`,T.top=`-${e.arrowSize}px`):s.value==="bottom-end"?(T.right=`${e.arrowOffset-d.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"}}),O=(0,t.computed)(()=>x.value&&e.closeOnClick),M=(0,t.computed)(()=>{const T={};return e.zIndex&&(T["z-index"]=`${e.zIndex}`),T});return{show:x,tipRef:a,classes:N,styles:B,textClasses:m,textStyles:v,arrowClasses:k,arrowStyles:z,overlayShow:O,overlayStyle:M,onClickOverlay:T=>{T.target===T.currentTarget&&(E.value=!1,n.emit("update:visible",!1))}}}}),Vc=["innerHTML"];function Dc(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,Vc))],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 Xr=Oe(Bc,[["render",Dc]]),Qr=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}},Ua={},Mc=new Qr,Bt=new Map,sl=e=>{if(e){const n=document.getElementById(e);Bt.delete(e),n&&((0,t.render)(null,n),n.parentNode?.removeChild(n))}else{for(const n of Bt.keys()){const l=document.getElementById(n);l&&((0,t.render)(null,l),l.parentNode?.removeChild(l))}Bt.clear()}},Zr=e=>{e.unmount=sl;const n=document.getElementById(e.id);if(n){(0,t.render)(null,n);const l=Bt.get(e.id);l?e={...Ua,...l,...e}:e={...Ua,...e},e.transition=!1,(0,t.render)((0,t.createVNode)(Xr,e),n)}return e.id},Jr=e=>{e.unmount=sl;let n=e.id??`hinttext_${Mc.get()}`;e={...Ua,...e},e.id=n,Bt.set(n,e);const l=document.createElement("div");return l.id=e.id,(0,t.render)((0,t.createVNode)(Xr,e),l),document.body.appendChild(l),n},eo=e=>e?!0:(console.warn("[FoxUI HintText]: msg不能为空"),!1),Ye={show(e,n,l={},i=!0){if(!eo(n))return;const r=l.id;return r&&Bt.has(r)?Zr({...l,message:n,reference:e}):(i&&sl(),Jr({...l,message:n,reference:e}))},showInRect(e,n,l,i){if(!eo(n))return;const r=l.id;return r&&Bt.has(r)?Zr({...l,message:n,referenceRect:e}):(i&&sl(),Jr({...l,message:n,referenceRect:e}))},hide(e){sl(e)},install(e){e.config.globalProperties.$hintText=Ye}};function Ac(e,n,l,i=!1){return{inheritAttrs:!0,props:{...De,..._e},emits:["appear","disappear"],setup(r,o){const s=r.prop??o.attrs.name,c=(0,t.ref)(),{exposeApi:a}=Ie({componentName:e,validate:!1,get props(){return r},context:o,get templateRefProxy(){return c.value}},s),u=vt(),f=Fl();Ol(!1);const d=(0,t.computed)(()=>f&&u?ql(u,!1).value:null),h=e,E=(0,t.ref)(null),x=(0,t.computed)(()=>{const y={[h]:!0,[`${h}__gutter`]:d.value&&d.value.type!=="flow",[`${h}__stretch`]:r.span==="stretch",[`${h}__input--border`]:we(r.hasBorder)};if(y[r.errorMarkClass]=!!K.value,y[r.warnMarkClass]=!!R.value,y[r.infoMarkClass]=!!C.value,typeof E.value=="function"){const L=E.value(s);y[L]=!0}else if(typeof E.value=="string"){const L=E.value;y[L]=!0}return y}),w=(0,t.ref)(null),b=(0,t.computed)(()=>{const y={};if(r.width)r.width!=="auto"&&(y.width=xe(r.width));else{const L=f&&u?Hl(u,!1):null;if(d.value&&L){if(d.value.type==="grid"){const J=jl(L,d.value,r.span,r.offset);Object.assign(y,J)}else if(d.value.type==="flow"){const J=Kl(L,d.value,r.span,r.offset,r.width);Object.assign(y,J)}}}if(typeof w.value=="function"){const L=w.value(s);L&&Object.assign(y,L)}else if(w.value&&typeof w.value=="object"){const L=w.value;Object.assign(y,L)}return y}),g=(0,t.ref)(null),N=(0,t.computed)({get:()=>g.value??we(r.isRequired),set:y=>{g.value=y}}),B=()=>typeof r.label=="string"&&r.label.length>0||typeof o.slots.label=="function",m=Fe((0,t.toRef)(r,"labelPosition"),"labelPosition",at.Near),v=(0,t.computed)(()=>m&&m.value==="top"?"top":m&&m.value==="right"?"right":"left"),k=(0,t.computed)(()=>({[`${h}__main`]:!0,[`${h}__main--${v.value}`]:!0})),z=(0,t.computed)(()=>({label:!0,[`label--${v.value}`]:!0})),O=Fe((0,t.toRef)(r,"labelWidth"),"labelWidth",at.Near),M=(0,t.computed)(()=>O&&O.value?{width:xe(O.value)}:{}),A=(0,t.computed)(()=>({"label--string":!0,"label--required":N.value})),T=(0,t.computed)(()=>({content:!0,[r.contentClass]:!0})),$=(0,t.computed)(()=>({...r.contentStyle})),V=(0,t.shallowReactive)({errorTip:"",errorIcon:null,warnTip:"",warnIcon:null,infoTip:"",infoIcon:null});a({setRequired(y){N.value=y},setErrorTip(y){V.errorTip=y},setErrorIcon(y){V.errorIcon=y},setWarnTip(y){V.warnTip=y},setWarnIcon(y){V.warnIcon=y},setInfoTip(y){V.infoTip=y},setInfoIcon(y){V.infoIcon=y},setCustomClassName(y){E.value=y},setCustomStyle(y){w.value=y}});const C=(0,t.computed)(()=>r.infoTip||V.infoTip),P=(0,t.computed)(()=>r.infoIcon||V.infoIcon),R=(0,t.computed)(()=>r.warnTip||V.warnTip),q=(0,t.computed)(()=>r.warnIcon||V.warnIcon),K=(0,t.computed)(()=>r.errorTip||V.errorTip),U=(0,t.computed)(()=>r.errorIcon||V.errorIcon),X=(0,t.computed)(()=>K.value?"error":R.value?"warn":C.value?"info":""),ae=()=>X.value.length>0,Z=(0,t.computed)(()=>X.value==="error"?K.value:X.value==="warn"?R.value:X.value==="info"?C.value:""),ee=(0,t.computed)(()=>X.value==="error"?U.value:X.value==="warn"?q.value:X.value==="info"?P.value:null),H=(0,t.computed)(()=>{const y={[`${h}__tip`]:!0,[`${h}__tip--${X.value}`]:!0,[`${h}--animate`]:!0};return X.value==="error"&&r.errorClass?y[`${r.errorClass}`]=!0:X.value==="warn"&&r.warnClass?y[`${r.warnClass}`]=!0:X.value==="info"&&r.infoClass&&(y[`${r.infoClass}`]=!0),y}),I=(0,t.computed)(()=>{const y={};return m&&m.value==="top"||!B()?y["padding-left"]="0px":O&&O.value&&(y["padding-left"]=xe(O.value)),y}),_=(0,t.ref)();let te=null;(0,t.watch)([()=>r.hintVisible,()=>r.hintText,()=>r.hintType,()=>r.hintProps],([y,L,J,ie])=>{_.value&&(y&&!ve(L)?te?l.show(_.value,L,{...ie??{},id:te,type:J},!0):te=l.show(_.value,L,{...ie??{},type:J},!0):te&&l.hide(te))});let ne=null;const j=()=>{ne||!_.value||(ne=new IntersectionObserver(y=>{let L=!1;for(let J of y)if(J.isIntersecting){L=!0,L&&o.emit("appear",J);break}L||o.emit("disappear")}),ne.observe(_.value))},F=()=>{ne&&(_.value&&ne.unobserve(_.value),ne.disconnect(),ne=null)};(0,t.watch)(()=>we(r.appearListen),y=>{y?j():F()}),(0,t.onMounted)(()=>{we(r.appearListen)&&j()}),(0,t.onBeforeUnmount)(()=>{F(),te&&l.hide(te)});const Y=()=>{if(!B())return null;const y=[],L=o.slots?.label?.()??r.label,J=(0,t.h)("div",{class:A.value},[L]);if(y.push(J),o.slots.fixedPreTip){const ie=o.slots.fixedPreTip();y.push(ie)}return(0,t.h)("div",{class:z.value,style:M.value},y)},W=()=>{const y=[];if(o.slots.prepend){const L=o.slots.prepend();y.push(L)}if(o.slots.default){const L=o.slots.default();y.push(L)}if(o.slots.append){const L=o.slots.append();y.push(L)}if(o.slots.fixedTip){const L=(0,t.h)("div",{class:[`${h}__fixed-tip`]},[o.slots.fixedTip()]);y.push(L)}return(0,t.h)("div",{ref:_,class:T.value,style:$.value},y)},le=()=>{const y=ee.value;return y?typeof y=="function"?(0,t.h)("div",{class:"fox-item__tip--icon"},[y()]):(0,t.h)("div",{class:"fox-item__tip--icon"},[(0,t.h)(y)]):null},se=()=>{const y=Z.value;return y?typeof y=="function"?(0,t.h)("div",{class:"fox-item__tip--text"},[y()]):(0,t.h)("div",{class:"fox-item__tip--text"},[y]):null},G=()=>{if(!ae())return null;const y=[],L=le();L&&y.push(L);const J=se();return J&&y.push(J),(0,t.h)("div",{class:H.value,style:I.value},y)},p=()=>o.slots?.hide?.()??null;return()=>{const y=[],L=[],J=Y();J&&L.push(J);const ie=W();ie&&L.push(ie);const Q=(0,t.h)("div",{class:k.value},L);y.push(Q);const re=G();re&&y.push(re);const ce=p();return ce&&y.push(ce),(0,t.h)("div",{class:x.value,style:b.value,prop:r.prop,ref:c},y)}}}}var{componentName:Pc,create:Ic,scope:_c}=me("item"),Lc=Ic(Ac(Pc,_c,Ye,!1)),cl=Lc,Ga={span:{type:[Number,String],required:!1,default:1},offset:{type:[Number,String],default:0},width:{type:[String,Number],required:!1}};function Rc(e,n){return{props:Ga,setup(l,i){const r=vt(),o=Fl();Ol(!1);const s=(0,t.computed)(()=>o&&r?ql(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=xe(l.width));else{const d=o&&r?Hl(r,!1):null;if(s.value&&d)if(s.value.type==="grid"){const h=jl(d,s.value,l.span,l.offset);Object.assign(f,h)}else if(s.value.type==="flow"){const h=Kl(d,s.value,l.span,l.offset,l.width);Object.assign(f,h)}else return l.width&&(f.width=xe(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:Fc,create:Oc,scope:qc}=me("slot-item"),Hc=Oc(Rc(Fc,qc)),Ul=Hc,to={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 Kc(e,n){return{props:to,setup(l,i){const r=e,o=(0,t.computed)(()=>({[r]:!0,[`${r}__stretch`]:l.span==="stretch",[`${r}__${l.align}`]:!0})),s=vt(),c=Fl();Ol(!1);const a=(0,t.computed)(()=>{const u={};if(l.width)l.width!=="auto"&&(u.width=xe(l.width));else if(c&&s){const f=ql(s,!1),d=Hl(s,!1);if(f.value&&d)if(f.value.type==="grid"){const h=jl(d,f.value,l.span,l.offset);Object.assign(u,h)}else if(f.value.type==="flow"){const h=Kl(d,f.value,l.span,l.offset,l.width);Object.assign(u,h)}else l.width&&(u.width=xe(l.width))}return l.gutter&&(u["column-gap"]=xe(l.gutter)),l.wrap&&(u["flex-wrap"]=l.wrap),u});return()=>{const u=[];if(i.slots.default){const{getChildren:f}=ol(i.slots.default),d=f();if(l.divide)for(let h=0;h<d.length;h++){if(h>0){const E=(0,t.h)("div",{class:{[`${r}__divide`]:!0}});u.push(E)}u.push(d[h])}else Reflect.apply([].push,u,d)}return(0,t.h)("div",{class:o.value,style:a.value},u)}}}}var{componentName:jc,create:Wc,scope:Yc}=me("row-item"),Uc=Wc(Kc(jc,Yc)),Gl=Uc;function Gc(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 Xc={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 Qc(e,n,l,i=!1){return{props:Xc,emits:["click"],setup(r,o){const s=(0,t.ref)(null),c=(0,t.computed)(()=>{const B={[`${e}`]:!0,"is-truncated":r.truncated};return r.type&&(B[`${e}--${r.type??"default"}`]=!0),r.size&&(B[`${e}--${r.size}`]=!0),B}),a=(0,t.computed)(()=>{const B={},m=r.textColor??r.color;return m&&(B.color=m),B}),u=(B,m)=>{let v=null;if(typeof r.highlightFilter=="string"&&r.highlightFilter.length>0){const k=r.highlightFilter;B.indexOf(k)!==-1&&(m.innerHTML=B.replace(new RegExp(k,"g"),`<span>${k}</span>`),m.class["is-highlight"]=!0,v=(0,t.h)(r.tag,m))}else if(typeof r.highlightFilter=="function"){const k=r.highlightFilter(B);k&&(m.innerHTML=k,m.class["is-highlight"]=!0,v=(0,t.h)(r.tag,m))}return v},f=B=>{o.emit("click",B)};let d="";const h=()=>{const B=s.value;if(!B)return;const m=B.clientWidth;Gc(B,v=>{const k=B.innerHTML??"";ve(k)||v<m||(d?l?.show(B,k,{type:"text",id:d,showArrow:r.showArrow},!0):d=l?.show(B,k,{type:"text",showArrow:r.showArrow},!0)??"")})},E=()=>{d&&l?.hide(d)};let x=null;const w=B=>{x||(x=setTimeout(()=>{h(),x=null},r.showAfter??0))},b=B=>{x&&(clearTimeout(x),x=null),setTimeout(()=>{E()},r.hideAfter??0)},g=()=>{const B=s.value;B&&(B.addEventListener("mouseover",w),B.addEventListener("mouseleave",b))},N=()=>{const B=s.value;B&&(B.removeEventListener("mouseover",w),B.removeEventListener("mouseleave",b))};return(0,t.onMounted)(()=>{!we(r.showOverflowTooltip)||!l||g()}),(0,t.onBeforeUnmount)(()=>{!we(r.showOverflowTooltip)||!l||(N(),E())}),()=>{const B={class:c.value,style:a.value,ref:s,onClick:f};let m=null;if(we(r.numberFormat)&&typeof o.slots.default=="function"){const k=o.slots.default();if(Array.isArray(k)&&k.length===1){const z=k[0].type.toString();if(z==="Symbol(Text)"||z==="Symbol(v-txt)"){const O=ke(r.digits),M=ke(r.decimalLength),A=we(r.autoPadding);let T=`${k[0].children}`,$=T.split("").reverse().join("");$=Nl($,M,A,O,r.separator),T=$.split("").reverse().join(""),r.highlightFilter!==void 0&&(m=u(T,B)),m||(B.innerHTML=T,m=(0,t.h)(r.tag,B))}}}else{if(r.highlightFilter!==void 0&&typeof o.slots.default=="function"){const k=o.slots.default();if(Array.isArray(k)&&k.length===1){const z=k[0].type.toString();if(z==="Symbol(Text)"||z==="Symbol(v-txt)"){const O=`${k[0].children}`;m=u(O,B),m||(B.innerHTML=O,m=(0,t.h)(r.tag,B))}}}m||(m=(0,t.h)(r.tag,B,{default:o.slots.default}))}if(!r.mark&&!o.slots.mark)return m;const v=[];if(o.slots.mark){const k={[`${e}__mark-wrap`]:!0};r.type&&(k[`${e}__mark-wrap--${r.type}`]=!0);const z={},O=r.color;O&&(z.color=O);const M=(0,t.h)("view",{class:k,style:z,onClick:f},{default:o.slots.mark});v.push(M)}else{const k={[`${e}__mark`]:!0};r.type&&(k[`${e}__mark--${r.type??"default"}`]=!0);const z={},O=r.color;O&&(z["background-color"]=O);const M=(0,t.h)("view",{class:k,style:z,onClick:f});v.push(M)}if(r.divide){const k=(0,t.h)("div",{class:{[`${e}__divide`]:!0}});v.push(k)}return v.push(m),(0,t.h)("view",{class:{"fox-text__wrap":!0,"text-left":r.textPosition==="left","text-right":r.textPosition==="right"}},v)}}}}var{componentName:Zc,create:Jc,scope:e0}=me("text"),t0=Jc(Qc(Zc,e0,Ye,!1)),Rt=t0,l0={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,default:()=>6},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]},popperClass:{type:[String]},popperStyle:{type:[Object]},leaveHide:{type:[Boolean]},persistenet:{type:[Boolean],default:()=>!1},teleport:{type:[String,Element],default:()=>"body"},teleportDisable:{type:Boolean,default:()=>!1}};function a0(e,n,l=!1){return{props:l0,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),E=(0,t.ref)(i.placement),x=(0,t.ref)(!1),w=(0,t.ref)(!1),b=(0,t.ref)(null),g=(0,t.ref)(null),N=()=>g.value?g.value?.$el??g.value:i.reference?typeof i.reference=="string"?document.querySelector(i.reference):i.reference:i.referenceInset,B=p=>{if(p instanceof Element){const y=p.getBoundingClientRect();return{left:y.left,top:y.top,right:y.right,bottom:y.bottom}}return p},m=(p,y,L,J,ie,Q,re,ce=!0)=>{const ue=document.documentElement.clientWidth||document.body.clientWidth,fe=document.documentElement.clientHeight||document.body.clientHeight,be=p.split("-");let Ce=[];ce?be[0]==="top"?Ce=["top","bottom","right","left"]:be[0]==="bottom"?Ce=["bottom","top","right","left"]:be[0]==="left"?Ce=["left","top","bottom","right"]:be[0]==="right"&&(Ce=["right","top","bottom","left"]):Ce=[p[0]];const he={top:null,right:null,bottom:null,left:null},Te=[];for(let Be=0;Be<Ce.length;Be++){const Qe=Ce[Be];if(Te[0]=Qe,be[1]&&(Te[1]=be[1]),Qe==="top"){const Pe=L-re-i.arrowSize/2-i.offset;if(Pe>=0){he.top=Pe;let Ne=0;be[1]==="start"?Ne=y:be[1]==="end"?Ne=y+J-Q:Ne=y+J/2-Q/2;const it=ue-Ne-Q;it<0?(Ne+=it,k.value=-it):k.value=0,he.left=Ne<0?0:Ne;break}}else if(Qe==="bottom"){const Pe=L+ie+i.arrowSize/2+i.offset;if(Pe+re<=fe){he.top=Pe;let Ne=0;be[1]==="start"?Ne=y:be[1]==="end"?Ne=y+J-Q:Ne=y+J/2-Q/2;const it=ue-Ne-Q;it<0?(Ne+=it,k.value=-it):k.value=0,he.left=Ne<0?0:Ne;break}}else if(Qe==="left"){const Pe=y-Q-i.arrowSize/2-i.offset;if(Pe>=0){he.left=Pe;let Ne=0;be[1]==="start"?Ne=L:be[1]==="end"?Ne=L+ie-re:Ne=L+ie/2-re/2,he.top=Ne<0?0:Ne;break}}else if(Qe==="right"){const Pe=y+J+i.arrowSize/2+i.offset;if(Pe+Q<=ue){he.left=Pe;let Ne=0;be[1]==="start"?Ne=L:be[1]==="end"?Ne=L+ie-re:Ne=L+ie/2-re/2,he.top=Ne<0?0:Ne;break}}}return{bestPlacement:Te.join("-"),bestInsetRect:he}},v=()=>{const p=i.autoFit;if(!bt||O.value===!1)return;const y=N();if(!y)return;const L=B(y);if(!L)return;u.value=L.left??0,f.value=L.top??0,d.value=(L.right??0)-(L.left??0),h.value=(L.bottom??0)-(L.top??0);const J=b.value.offsetWidth,ie=b.value.offsetHeight,{bestPlacement:Q,bestInsetRect:re}=m(i.placement,u.value,f.value,d.value,h.value,J,ie,p);E.value=Q,a.value=re},k=(0,t.ref)(0),z=tt(()=>{v()},10),O=(0,t.ref)(i.visible),M=p=>{O.value!==p&&(O.value=p,r("update:visible",p),r(p?"open":"close"),p?(x.value=p,setTimeout(()=>{v(),w.value=!0},0)):w.value=!1)};(0,t.watch)([()=>i.visible],([p])=>{M(p)});const A=(0,t.computed)(()=>O.value&&T.value),T=(0,t.ref)(!0),$=tt(p=>{const y=p[0];y&&(T.value=y.isIntersecting)},10),V=new IntersectionObserver($),C=(p,y)=>{p&&(setTimeout(()=>{v()},0),i.autoFit&&(y&&y instanceof Element&&(il.unwatch(y,z),V.unobserve(y)),p&&p instanceof Element&&(il.watch(p,z),V.observe(p))))};(0,t.watch)(()=>i.reference,(p,y)=>{C(p?.$el??p,y?.$el??y)},{immediate:!0}),(0,t.watch)(()=>i.referenceInset,(p,y)=>{C(p,y)},{immediate:!0}),(0,t.watch)(()=>g.value,(p,y)=>{C(p?.$el??p,y?.$el??y)}),(0,t.onBeforeUnmount)(()=>{const p=N();p instanceof Element&&(il.unwatch(p,z),V.unobserve(p)),V?.disconnect()});let P=null,R=null;const q=()=>{P&&(clearTimeout(P),P=null)},K=()=>{R&&(clearTimeout(R),R=null)},U=()=>{K(),i.openDelay>0?(q(),P=setTimeout(()=>{P=null,M(!0)},i.openDelay)):M(!0)},X=()=>{q(),i.closeDelay>0?(K(),R=setTimeout(()=>{R=null,M(!1)},i.closeDelay)):M(!1)},ae=()=>{O.value?X():U()};s({open:U,close:X,doLayout:v});const Z=(p,...y)=>{p&&(Array.isArray(p)?p.forEach(L=>{L(...y)}):p(...y))},ee=p=>{const y=p.props||{},L={...y};switch(i.trigger){case"click":{const J=y.onClick;L.onClick=ie=>{Z(J,ie),ae()};break}case"hover":{const J=y.onMouseenter,ie=y.onMouseleave;L.onMouseenter=Q=>{Z(J,Q),U()},L.onMouseleave=Q=>{Z(ie,Q),X()};break}case"focus":{const J=y.onFocus;L.onFocus=ie=>{Z(J,ie),U()};break}case"contextmenu":{const J=y.onContextmenu;L.onContextmenu=ie=>{ie.preventDefault(),Z(J,ie),ae()};break}default:break}return L},H=()=>{const p=o.reference?.();if(!p?.length)return null;const y=p[0];return(0,t.cloneVNode)(y,{...ee(y),ref:L=>{g.value=L?.ref??L}})},I=(0,t.computed)(()=>{const p={[c]:!0};return E.value.startsWith("top")?p["is-top"]=!0:E.value.startsWith("right")?p["is-right"]=!0:E.value.startsWith("bottom")?p["is-bottom"]=!0:E.value.startsWith("left")&&(p["is-left"]=!0),p[`is-${i.effect}`]=!0,!w.value&&A.value&&(p["is-opacity"]=!0),w.value&&A.value&&(p["is-show"]=!0),A.value||(p["is-hide"]=!0),i.popperClass&&typeof i.popperClass=="string"&&(p[`${i.popperClass}`]=!0),p}),_=(0,t.computed)(()=>{const p={};return a.value.top!==null&&(p.top=`${a.value.top}px`),a.value.right!==null&&(p.right=`${a.value.right}px`),a.value.bottom!==null&&(p.bottom=`${a.value.bottom}px`),a.value.left!==null&&(p.left=`${a.value.left}px`),i.width&&(p.width=i.width),i.zIndex&&(p["z-index"]=`${i.zIndex}`),i.popperStyle&&typeof i.popperStyle=="object"&&Object.assign(p,i.popperStyle),p}),te=()=>{M(!1)},ne=()=>g.value&&i.trigger==="hover"||!i.showOverlay?null:(0,t.h)("div",{class:`${c}__overlay`,onClick:te}),j=()=>{let p=null;return o.title?p=(0,t.h)("div",{class:`${c}__title`},{default:o.title}):i.title&&(p=(0,t.h)("div",{class:`${c}__title`},[i.title])),p},F=(0,t.computed)(()=>({[`${c}__arrow`]:!0})),Y=(0,t.computed)(()=>{const p={};return i.showArrow?(p.width=`${i.arrowSize}px`,p.height=`${i.arrowSize}px`,E.value==="top"?(p.left="50%",p.bottom="0",p.transform="translate(-50%, 50%)"):E.value==="top-start"?(p.left=`${i.arrowOffset+k.value}px`,p.bottom="0",p.transform="translate(-50%, 50%)"):E.value==="top-end"?(p.right=`${i.arrowOffset-k.value}px`,p.bottom="0",p.transform="translate(-50%, 50%)"):E.value==="right"?(p.left="0",p.top="50%",p.transform="translate(-50%, -50%)"):E.value==="right-start"?(p.left="0",p.top=`${i.arrowOffset}px`,p.transform="translate(-50%, 50%)"):E.value==="right-end"?(p.left="0",p.bottom=`-${i.arrowOffset}px`,p.transform="translate(-50%, 50%)"):E.value==="bottom"?(p.left="50%",p.top="0",p.transform="translate(-50%, -50%)"):E.value==="bottom-start"?(p.left=`${i.arrowOffset+k.value}px`,p.top="0",p.transform="translate(-50%, -50%)"):E.value==="bottom-end"?(p.right=`${i.arrowOffset-k.value}px`,p.top="0",p.transform="translate(-50%, -50%)"):E.value==="left"?(p.right="0",p.top="50%",p.transform="translate(50%, -50%)"):E.value==="left-start"?(p.right="0",p.top=`${i.arrowOffset}px`,p.transform="translate(50%, -50%)"):E.value==="left-end"&&(p.right="0",p.bottom=`-${i.arrowOffset}px`,p.transform="translate(50%, -50%)"),p):{display:"none"}}),W=()=>(0,t.h)("div",{class:F.value,style:Y.value}),le=()=>{O.value===!1&&i.persistenet!==!0&&(x.value=!1)},se=p=>{if(!b.value||O.value===!1)return;const{relatedTarget:y}=p;b.value.contains(y)||M(!1)},G=()=>{const p=[],y=j();if(y&&p.push(y),o.default){const ie=o.default();p.push(ie)}const L=W();L&&p.push(L);const J={ref:b,class:I.value,style:_.value,onAnimationend:le};return i.leaveHide&&(J.onMouseleave=se),(0,t.h)("div",J,{default:()=>p})};return()=>{const p=[],y=H();if(y&&p.push(y),!x.value)return p.length===null?null:p;const L=[],J=ne();J&&L.push(J);const ie=G();ie&&L.push(ie);const Q=(0,t.h)(t.Teleport,{to:i.teleport,disabled:i.teleportDisable},{default:()=>L});return p.push(Q),p}}}}var{componentName:n0,create:r0,scope:o0}=me("popover-dialog"),i0=r0(a0(n0,o0,!1)),Xl=i0,lo={type:{type:[String],required:!1,default:()=>"primary"},dropdownPlacement:{type:[String],required:!1,default:()=>"bottom"},maxDisplayCount:{type:[Number],required:!1},moreText:{type:[String],required:!1},moreIcon:{type:[Object],required:!1},morePosition:{type:[String],required:!1,default:()=>"right"}};function s0(e,n,l){return{props:{...to,...lo},emits:["click"],setup(i,{slots:r}){const{toLocaleRefs:o}=(0,$e.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)(),E=(0,t.computed)(()=>h.value?.$el??null),x=(0,t.ref)(!1),w=m=>{x.value=m},b=()=>{x.value=!x.value};function g(m,v){return()=>{v||(x.value=!1,u(m)?.onClick?.())}}function N(m,v){const k=d(m),z=f(m),O=g(m,z),M=[`${c}__dropdown-item`];return z&&M.push("is-disabled"),(0,t.h)("span",{class:M,onClick:O},k)}const B=m=>{const v=i.maxDisplayCount??m.length;if(v>=m.length)return m;const k=[],z=v;for(let $=0;$<z;$++)k.push(m[$]);const O=(r.moreIcon&&r.moreIcon())??(i.moreIcon&&(0,t.h)(i.moreIcon))??(0,t.h)(l),M=(0,t.h)(Rt,{ref:$=>h.value=$,class:`${c}__dropdown-link`,"text-position":"left","show-overflow-tooltip":!1,type:i.type,onClick:b},{default:()=>s.moreText.value,mark:()=>O});i.morePosition==="left"?k.splice(0,0,M):k.push(M);const A=[];for(let $=z;$<m.length;$++){const V=N(m[$],$);A.push(V)}const T=(0,t.h)(Xl,{placement:i.dropdownPlacement,"onUpdate:visible":w,visible:x.value,reference:E.value,"custom-class":`${c}__popover`},{default:()=>A});return k.push(T),k};return()=>{const{getChildren:m}=ol(r?.default),v=m(),k=B(v);return(0,t.h)(Gl,{...Re(i,lo),class:a.value},{default:()=>k})}}}}var{componentName:c0,create:u0,scope:d0}=me("buttons-item"),f0=u0(s0(c0,d0,Le.ArrowDown)),Xa=f0;function je(e,n={}){return(0,t.h)(cl,e,n)}function ao(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text??""}function m0(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function h0(e,n,l,i,r){let o=[];Array.isArray(e)?o=e:o=[e];const s=[],c=n[0];if(Array.isArray(e)&&!Array.isArray(c)&&!c[r]){let a=n;for(let u=0;a&&u<o.length;u++){let 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++){let u=n[a],f=o[a];const 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++){let f=o[u],d=a.find(h=>h[i]===f);if(!d)break;s.push(d[l]),a=d[r]}}return s}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=Je(e,this.scope);return i===null?(console.error(`[FoxUI]${e} component not found api function`),[]):(Ze(l)&&(0,t.isReactive)(l)&&(l=(0,t.toRaw)(l)),await i(n,l))}};function g0(){const e=nt();return new p0(e)}function y0(e){return e&&e.startsWith("fox-")}var no={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 b0(e,n,l=!1){return{props:no,setup(i,{attrs:r,slots:o}){const s=g0(),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 E=ao(i,h);i.optionType==="item"&&(E=`${m0(i,h)}${i.separator}${E}`),f.push(E)}u=f.join(i.separator)}else{const f=i.modelValue;u=ao(i,f)}else{let f=h0(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}):y0(f)?(0,t.h)((0,t.resolveComponent)(f),u,[a.value]):(0,t.h)(f,u,[a.value])}}}}var{componentName:S0,create:w0,scope:v0}=me("mapping"),C0=w0(b0(S0,v0)),Ft=C0;function Ue(e,n){const l="fox-browse-item";let i=null;if(e.source)i=(0,t.h)(Ft,{class:[`${l}__mapping`],modelValue:e.modelValue,source:e.source,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)(Rt,{class:[`${l}__text`]},{default:()=>o.text})});else{const o=e.unit?`${e.modelValue??""}${e.unit}`:`${e.modelValue??""}`;i=(0,t.h)(Rt,{class:[`${l}__text`]},{default:()=>o})}const r={label:n.default,default:()=>i};return(0,t.h)(cl,{class:[l],span:e.span,labelPosition:e.labelPosition,labelWidth:e.labelWidth},r)}var rt=(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},ro={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]}},N0={...De,..._e,...ro};function x0(e,n,l,i){return{props:N0,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}=Ke(r),{emitEvent:h,exposeApi:E}=Ie({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:x}=(0,$e.useFoxI18n)(n),w=x(r,["placeholder"]),b=(0,t.ref)(!1),g=ze(r,"modelValue",null,h),N=e,B=(0,t.computed)(()=>({[`${N}`]:!0,disabled:a.value,readonly:f.value})),m=(0,t.computed)(()=>({[`${N}__content`]:!0})),v=X=>{g.value=X,h("update:modelValue",X),h("input",X)},k=X=>{h("change",X)};let z=ze(r,"hintText"),O=(0,t.ref)(!1);const M=X=>{let ae=X.target.value;b.value=!0,ve(z.value)||(O.value=!0),h("focus",ae,X)},A=X=>{setTimeout(()=>{O.value&&(O.value=!1),b.value=!1},0);let ae=X.target.value;r.maxLength&&ae.length>Number(r.maxLength)&&(ae=ae.slice(0,Number(r.maxLength))),h("blur",ae,X)},T=()=>{h("clear","")},$=(0,t.ref)(!1);let V=null;const C=()=>{r.showTooltip&&$.value===!1&&(V&&clearTimeout(V),V=setTimeout(()=>{$.value=!0},150))},P=()=>{V&&(clearTimeout(V),$.value=!1,V=null)},R=(0,t.computed)(()=>$.value||O.value),q=(0,t.computed)(()=>$.value?g.value:z.value),K=(0,t.computed)(()=>ht(r.unit)>0),U=(0,t.ref)();return E({focus:()=>{U?.value.focus()},blur:()=>{U?.value.blur()},select:()=>{U?.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={...rt(o.attrs),ref:U,class:m.value,placeholder:w.placeholder.value,clearable:r.clearable,disabled:a.value,readonly:f.value,modelValue:g.value,"adjust-position":r.adjustPosition,"always-system":r.alwaysSystem,onClear:T,onChange:k,onInput:v,onFocus:M,onBlur:A,onMouseover:C,onMouseleave:P},ae={};o.slots.prepend&&(ae.prepend=o.slots.prepend),o.slots.append&&(ae.append=o.slots.append),o.slots.prefix&&(ae.prefix=o.slots.prefix),o.slots.suffix?ae.suffix=o.slots.suffix:K.value&&(ae.suffix=()=>[r.unit]);const Z=[],ee=(0,t.h)(D.ElInput,X,ae);Z.push(ee);const H={default:()=>Z};H.label=o.slots.default,H.fixedPreTip=o.slots.fixedPreTip,H.fixedTip=o.slots.fixedTip;const I={...Re(r,ro),class:B.value,ref:s,hintText:q.value,hintVisible:R.value};return r.prop&&(I.prop=`${r.prop}_item`),l(I,H)}}}}var{componentName:k0,create:T0,scope:E0}=me("input-item"),z0=T0(x0(k0,E0,je,Ue)),Ql=z0,{create:$0}=me("textarea-item"),B0=$0({setup(e,{attrs:n,slots:l}){return()=>(0,t.h)(Ql,{...n,type:"textarea"},l)}}),Qa=B0;function Nt(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function ul(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function oo(e,n){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?n[e.childrenKey]||null:n.children??null}function V0(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}var D0=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=Je(e,this.scope);return i===null?(console.error(`[FoxUI]${e} component not found api function`),[]):(Ze(l)&&(0,t.isReactive)(l)&&(l=(0,t.toRaw)(l)),await i(n,l))}};function M0(){const e=nt();return new D0(e)}function io(e,n,l){return!(Nt(e,n)!==Nt(e,l)||ul(e,n)!==ul(e,l))}function so(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=oo(e,s);if(Array.isArray(c)&&c.length>0){const a=so(e,o,l,c)??[];Reflect.apply([].push,r,a)}else{let a=!1;if(l==="text")a=Nt(e,s)===o;else if(l==="item")a=io(e,s,o);else{let u=ul(e,s);u==null&&(u=Nt(e,s)),a=u===o}if(a){r.push(s);break}}}}),r}function A0(e){return{text:e,value:e}}var co={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]}},P0={...De,..._e,...co};function I0(e,n,l,i){return{props:P0,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}=Ke(r),{emitEvent:h,exposeApi:E}=Ie({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:x}=(0,$e.useFoxI18n)(n),w=x(r,["placeholder"]),b=(0,t.ref)(null),g=(0,t.ref)([]),N=(0,t.computed)(()=>g.value?g.value.map(y=>Nt(r,y)).join(" "):""),B=(y,L,J,ie=!0)=>{if(!J||J.length==0){b.value=y,ie&&(h("update:modelValue",y),h("change",y));return}const Q=so(r,y,L,J);if(Q===null){if(g.value===null||g.value.length===0)return;b.value=null,g.value=[],ie&&(h("update:modelValue",null),h("update:text",null),h("change",null));return}let re=!0;if(Q.length!==g.value.length)re=!1;else for(let ce=0;ce<Q.length;ce++){const ue=Q[ce],fe=g.value[ce];if(!io(r,ue,fe)){re=!1;break}}if(!re){g.value=Q;let ce=[],ue=[],fe=[];Q.forEach(Te=>{const Be=ul(r,Te),Qe=Nt(r,Te);ce.push(Be),fe.push(Qe),r.valueType==="text"?ue.push(Qe):r.valueType==="item"?ue.push(Te):ue.push(Be)});let be,Ce,he;we(r.multiple)?(b.value=ce,be=(0,t.toRaw)(ue),Ce=fe,he=(0,t.toRaw)(Q)):(b.value=ce[0]??"",be=(0,t.toRaw)(ue[0]??""),Ce=fe[0]??"",he=(0,t.toRaw)(Q[0])),ie&&(h("update:modelValue",be),h("change",be,he)),h("update:text",Ce)}},m=(0,t.ref)(null),v=(0,t.ref)(null),k=(0,t.computed)(()=>{let y=v.value??m.value??[];return Array.isArray(y)&&typeof r.sourceFilter=="function"&&(y=y.filter(r.sourceFilter)),y}),z=Fe((0,t.computed)(()=>r.appearLoad),"appearLoad",at.Near,y=>we(y)),O=M0(),M=async(y,L)=>{if(y){const J=await O.load("select",y,L);if(J.length>0)if(typeof J[0]=="string"){let ie=J.map(Q=>A0(Q));m.value=ie}else m.value=J;else m.value=null}};(0,t.watch)([()=>r.source,()=>r.params],([y,L])=>{v.value=null,M(y,L)},{immediate:!z.value});let A=!1;const T=()=>{A||(A=!0,M(r.source,r.params))};(0,t.watch)([()=>m.value,()=>r.modelValue],([y,L])=>{if(P()&&we(r.multiple)){Xe(L,b.value)||(b.value=L);return}B(L,r.valueType,k.value,!1),h("setValue",L)}),r.source||(b.value=r.modelValue);let $=null,V=(0,t.ref)(!1);typeof r.remoteMethod=="function"&&($=async y=>{if(y==null){v.value=null;return}V.value=!0;try{const L=await r.remoteMethod(y);L&&(v.value=L)}catch(L){v.value=null,console.error(L)}V.value=!1});let C=null;typeof r.filterMethod=="function"&&(C=async y=>{if(y==null){v.value=null;return}V.value=!0;try{const L=await r.filterMethod(y,m.value);L&&(v.value=L)}catch(L){v.value=null,console.error(L)}V.value=!1});const P=()=>typeof r.remoteMethod=="function"||typeof r.filterMethod=="function",R=(0,t.ref)(!1),q=e,K=(0,t.computed)(()=>({[q]:!0,disabled:a.value,readonly:f.value})),U=(0,t.computed)(()=>({[`${q}__content`]:!0})),X=y=>{r.allowCreate||P()&&we(r.multiple)?(h("update:modelValue",y),h("change",y),h("update:text",y),b.value=y):B(y,"value",k.value,!0)};let ae=ze(r,"hintText"),Z=(0,t.ref)(!1);const ee=y=>{let L=y.target.value;R.value=!0,ve(ae.value)||(Z.value=!0),h("focus",L,y)},H=y=>{setTimeout(()=>{Z.value&&(Z.value=!1),R.value=!1},0);const L=y.target.value;W.value||h("blur",L,y)},I=()=>{h("clear","")},_=(0,t.ref)(!1);let te=null;const ne=()=>{r.showTooltip&&_.value===!1&&(te&&clearTimeout(te),te=setTimeout(()=>{_.value=!0},150))},j=()=>{te&&(clearTimeout(te),_.value=!1,te=null)},F=(0,t.computed)(()=>_.value||Z.value),Y=(0,t.computed)(()=>_.value?N.value:ae.value),W=(0,t.ref)(!1),le=y=>{W.value=y,h("visible-change",y),y||h("selected")},se=y=>{h("remove-tag",y)},G=(y,L)=>{const J=[];return y.forEach((ie,Q)=>{const re=oo(r,ie);if(Array.isArray(re)&&re.length>0){const ce=G(re,L),ue=Nt(r,ie),fe={key:`${ue}_${Q}`,label:ue};J.push((0,t.h)(D.ElOptionGroup,fe,{default:()=>ce}))}else{const ce=ul(r,ie),ue=Nt(r,ie),fe=V0(r,ie),be={key:`${ce}_${Q}`,label:ue,disabled:fe,value:ce};if(typeof L=="function")J.push((0,t.h)(D.ElOption,be,{default:()=>L(ie)}));else if(r.optionType==="item"){const Ce=(0,t.h)("span",{class:{[`${q}__option-left`]:!0}},[ce]),he=(0,t.h)("span",{class:{[`${q}__option-right`]:!0}},[ue]),Te=(0,t.h)("div",{class:{[`${q}__option`]:!0}},[Ce,he]);J.push((0,t.h)(D.ElOption,be,{default:()=>Te}))}else r.optionType==="value"?J.push((0,t.h)(D.ElOption,be,{default:()=>[ce]})):J.push((0,t.h)(D.ElOption,be))}}),J},p=(0,t.ref)();return E({focus:()=>{p?.value.focus()},blur:()=>{p?.value.blur()},setDisabled:y=>{c.value=y},setReadonly:y=>{u.value=y}}),()=>{if(d.value==="on"&&(f.value||a.value))return i({modelValue:b.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 y={...rt(o.attrs),ref:p,class:U.value,clearable:r.clearable,multiple:r.multiple,placeholder:w.placeholder.value,disabled:a.value||f.value,modelValue:b.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:I,onChange:X,onFocus:ee,onBlur:H,onVisibleChange:le,onRemoveTag:se};typeof $=="function"&&(y["remote-method"]=$,y.loading=V.value),typeof C=="function"&&(y["filter-method"]=C,y.loading=V.value);const L={};o.slots.prefix&&(L.prefix=o.slots.prefix),o.slots.empty&&(L.empty=o.slots.empty),o.slots.options?L.default=o.slots.options:L.default=()=>G(k.value,o.slots.option);const J=[],ie=(0,t.h)(D.ElSelect,y,L);J.push(ie);const Q={default:()=>J};Q.label=o.slots.default,Q.fixedPreTip=o.slots.fixedPreTip,Q.fixedTip=o.slots.fixedTip;const re={...Re(r,co),ref:s,class:K.value,hintText:Y.value,hintVisible:F.value,onMouseover:ne,onMouseleave:j};return r.prop&&(re.prop=`${r.prop}_item`),z.value&&(re["appear-listen"]=!0,re.onAppear=T),l(re,Q)}}}}var{componentName:_0,create:L0,scope:R0}=me("select-item"),F0=L0(I0(_0,R0,je,Ue)),Za=F0,O0=ft(((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",E="year",x="date",w="Invalid Date",b=/^(\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,N={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(C){var P=["th","st","nd","rd"],R=C%100;return"["+C+(P[(R-20)%10]||P[R]||P[0])+"]"}},B=function(C,P,R){var q=String(C);return!q||q.length>=P?C:""+Array(P+1-q.length).join(R)+C},m={s:B,z:function(C){var P=-C.utcOffset(),R=Math.abs(P),q=Math.floor(R/60),K=R%60;return(P<=0?"+":"-")+B(q,2,"0")+":"+B(K,2,"0")},m:function C(P,R){if(P.date()<R.date())return-C(R,P);var q=12*(R.year()-P.year())+(R.month()-P.month()),K=P.clone().add(q,d),U=R-K<0,X=P.clone().add(q+(U?-1:1),d);return+(-(q+(R-K)/(U?K-X:X-K))||0)},a:function(C){return C<0?Math.ceil(C)||0:Math.floor(C)},p:function(C){return{M:d,y:E,w:f,d:u,D:x,h:a,m:c,s,ms:o,Q:h}[C]||String(C||"").toLowerCase().replace(/s$/,"")},u:function(C){return C===void 0}},v="en",k={};k[v]=N;var z="$isDayjsObject",O=function(C){return C instanceof $||!(!C||!C[z])},M=function C(P,R,q){var K;if(!P)return v;if(typeof P=="string"){var U=P.toLowerCase();k[U]&&(K=U),R&&(k[U]=R,K=U);var X=P.split("-");if(!K&&X.length>1)return C(X[0])}else{var ae=P.name;k[ae]=P,K=ae}return!q&&K&&(v=K),K||!q&&v},A=function(C,P){if(O(C))return C.clone();var R=typeof P=="object"?P:{};return R.date=C,R.args=arguments,new $(R)},T=m;T.l=M,T.i=O,T.w=function(C,P){return A(C,{locale:P.$L,utc:P.$u,x:P.$x,$offset:P.$offset})};var $=(function(){function C(R){this.$L=M(R.locale,null,!0),this.parse(R),this.$x=this.$x||R.x||{},this[z]=!0}var P=C.prototype;return P.parse=function(R){this.$d=(function(q){var K=q.date,U=q.utc;if(K===null)return new Date(NaN);if(T.u(K))return new Date;if(K instanceof Date)return new Date(K);if(typeof K=="string"&&!/Z$/i.test(K)){var X=K.match(b);if(X){var ae=X[2]-1||0,Z=(X[7]||"0").substring(0,3);return U?new Date(Date.UTC(X[1],ae,X[3]||1,X[4]||0,X[5]||0,X[6]||0,Z)):new Date(X[1],ae,X[3]||1,X[4]||0,X[5]||0,X[6]||0,Z)}}return new Date(K)})(R),this.init()},P.init=function(){var R=this.$d;this.$y=R.getFullYear(),this.$M=R.getMonth(),this.$D=R.getDate(),this.$W=R.getDay(),this.$H=R.getHours(),this.$m=R.getMinutes(),this.$s=R.getSeconds(),this.$ms=R.getMilliseconds()},P.$utils=function(){return T},P.isValid=function(){return this.$d.toString()!==w},P.isSame=function(R,q){var K=A(R);return this.startOf(q)<=K&&K<=this.endOf(q)},P.isAfter=function(R,q){return A(R)<this.startOf(q)},P.isBefore=function(R,q){return this.endOf(q)<A(R)},P.$g=function(R,q,K){return T.u(R)?this[q]:this.set(K,R)},P.unix=function(){return Math.floor(this.valueOf()/1e3)},P.valueOf=function(){return this.$d.getTime()},P.startOf=function(R,q){var K=this,U=!!T.u(q)||q,X=T.p(R),ae=function(j,F){var Y=T.w(K.$u?Date.UTC(K.$y,F,j):new Date(K.$y,F,j),K);return U?Y:Y.endOf(u)},Z=function(j,F){return T.w(K.toDate()[j].apply(K.toDate("s"),(U?[0,0,0,0]:[23,59,59,999]).slice(F)),K)},ee=this.$W,H=this.$M,I=this.$D,_="set"+(this.$u?"UTC":"");switch(X){case E:return U?ae(1,0):ae(31,11);case d:return U?ae(1,H):ae(0,H+1);case f:var te=this.$locale().weekStart||0,ne=(ee<te?ee+7:ee)-te;return ae(U?I-ne:I+(6-ne),H);case u:case x:return Z(_+"Hours",0);case a:return Z(_+"Minutes",1);case c:return Z(_+"Seconds",2);case s:return Z(_+"Milliseconds",3);default:return this.clone()}},P.endOf=function(R){return this.startOf(R,!1)},P.$set=function(R,q){var K,U=T.p(R),X="set"+(this.$u?"UTC":""),ae=(K={},K[u]=X+"Date",K[x]=X+"Date",K[d]=X+"Month",K[E]=X+"FullYear",K[a]=X+"Hours",K[c]=X+"Minutes",K[s]=X+"Seconds",K[o]=X+"Milliseconds",K)[U],Z=U===u?this.$D+(q-this.$W):q;if(U===d||U===E){var ee=this.clone().set(x,1);ee.$d[ae](Z),ee.init(),this.$d=ee.set(x,Math.min(this.$D,ee.daysInMonth())).$d}else ae&&this.$d[ae](Z);return this.init(),this},P.set=function(R,q){return this.clone().$set(R,q)},P.get=function(R){return this[T.p(R)]()},P.add=function(R,q){var K,U=this;R=Number(R);var X=T.p(q),ae=function(H){var I=A(U);return T.w(I.date(I.date()+Math.round(H*R)),U)};if(X===d)return this.set(d,this.$M+R);if(X===E)return this.set(E,this.$y+R);if(X===u)return ae(1);if(X===f)return ae(7);var Z=(K={},K[c]=i,K[a]=r,K[s]=l,K)[X]||1,ee=this.$d.getTime()+R*Z;return T.w(ee,this)},P.subtract=function(R,q){return this.add(-1*R,q)},P.format=function(R){var q=this,K=this.$locale();if(!this.isValid())return K.invalidDate||w;var U=R||"YYYY-MM-DDTHH:mm:ssZ",X=T.z(this),ae=this.$H,Z=this.$m,ee=this.$M,H=K.weekdays,I=K.months,_=K.meridiem,te=function(F,Y,W,le){return F&&(F[Y]||F(q,U))||W[Y].slice(0,le)},ne=function(F){return T.s(ae%12||12,F,"0")},j=_||function(F,Y,W){var le=F<12?"AM":"PM";return W?le.toLowerCase():le};return U.replace(g,(function(F,Y){return Y||(function(W){switch(W){case"YY":return String(q.$y).slice(-2);case"YYYY":return T.s(q.$y,4,"0");case"M":return ee+1;case"MM":return T.s(ee+1,2,"0");case"MMM":return te(K.monthsShort,ee,I,3);case"MMMM":return te(I,ee);case"D":return q.$D;case"DD":return T.s(q.$D,2,"0");case"d":return String(q.$W);case"dd":return te(K.weekdaysMin,q.$W,H,2);case"ddd":return te(K.weekdaysShort,q.$W,H,3);case"dddd":return H[q.$W];case"H":return String(ae);case"HH":return T.s(ae,2,"0");case"h":return ne(1);case"hh":return ne(2);case"a":return j(ae,Z,!0);case"A":return j(ae,Z,!1);case"m":return String(Z);case"mm":return T.s(Z,2,"0");case"s":return String(q.$s);case"ss":return T.s(q.$s,2,"0");case"SSS":return T.s(q.$ms,3,"0");case"Z":return X}return null})(F)||X.replace(":","")}))},P.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},P.diff=function(R,q,K){var U,X=this,ae=T.p(q),Z=A(R),ee=(Z.utcOffset()-this.utcOffset())*i,H=this-Z,I=function(){return T.m(X,Z)};switch(ae){case E:U=I()/12;break;case d:U=I();break;case h:U=I()/3;break;case f:U=(H-ee)/6048e5;break;case u:U=(H-ee)/864e5;break;case a:U=H/r;break;case c:U=H/i;break;case s:U=H/l;break;default:U=H}return K?U:T.a(U)},P.daysInMonth=function(){return this.endOf(d).$D},P.$locale=function(){return k[this.$L]},P.locale=function(R,q){if(!R)return this.$L;var K=this.clone(),U=M(R,q,!0);return U&&(K.$L=U),K},P.clone=function(){return T.w(this.$d,this)},P.toDate=function(){return new Date(this.valueOf())},P.toJSON=function(){return this.isValid()?this.toISOString():null},P.toISOString=function(){return this.$d.toISOString()},P.toString=function(){return this.$d.toUTCString()},C})(),V=$.prototype;return A.prototype=V,[["$ms",o],["$s",s],["$m",c],["$H",a],["$W",u],["$M",d],["$y",E],["$D",x]].forEach((function(C){V[C[1]]=function(P){return this.$g(P,C[0],C[1])}})),A.extend=function(C,P){return C.$i||(C(P,$,A),C.$i=!0),A},A.locale=M,A.isDayjs=O,A.unix=function(C){return A(1e3*C)},A.en=k[v],A.Ls=k,A.p={},A}))})),q0=ft(((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(b){return(b=+b)+(b>68?1900:2e3)},f=function(b){return function(g){this[b]=+g}},d=[/[+-]\d\d:?(\d\d)?|Z/,function(b){(this.zone||(this.zone={})).offset=(function(g){if(!g||g==="Z")return 0;var N=g.match(/([+-]|\d\d)/g),B=60*N[1]+(+N[2]||0);return B===0?0:N[0]==="+"?-B:B})(b)}],h=function(b){var g=a[b];return g&&(g.indexOf?g:g.s.concat(g.f))},E=function(b,g){var N,B=a.meridiem;if(B){for(var m=1;m<=24;m+=1)if(b.indexOf(B(m,0,g))>-1){N=m>12;break}}else N=b===(g?"pm":"PM");return N},x={A:[c,function(b){this.afternoon=E(b,!1)}],a:[c,function(b){this.afternoon=E(b,!0)}],Q:[r,function(b){this.month=3*(b-1)+1}],S:[r,function(b){this.milliseconds=100*+b}],SS:[o,function(b){this.milliseconds=10*+b}],SSS:[/\d{3}/,function(b){this.milliseconds=+b}],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(b){var g=a.ordinal,N=b.match(/\d+/);if(this.day=N[0],g)for(var B=1;B<=31;B+=1)g(B).replace(/\[|\]/g,"")===b&&(this.day=B)}],w:[s,f("week")],ww:[o,f("week")],M:[s,f("month")],MM:[o,f("month")],MMM:[c,function(b){var g=h("months"),N=(h("monthsShort")||g.map((function(B){return B.slice(0,3)}))).indexOf(b)+1;if(N<1)throw new Error;this.month=N%12||N}],MMMM:[c,function(b){var g=h("months").indexOf(b)+1;if(g<1)throw new Error;this.month=g%12||g}],Y:[/[+-]?\d+/,f("year")],YY:[o,function(b){this.year=u(b)}],YYYY:[/\d{4}/,f("year")],Z:d,ZZ:d};function w(b){for(var g=b,N=a&&a.formats,B=(b=g.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(A,T,$){var V=$&&$.toUpperCase();return T||N[$]||l[$]||N[V].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(C,P,R){return P||R.slice(1)}))}))).match(i),m=B.length,v=0;v<m;v+=1){var k=B[v],z=x[k],O=z&&z[0],M=z&&z[1];B[v]=M?{regex:O,parser:M}:k.replace(/^\[|\]$/g,"")}return function(A){for(var T={},$=0,V=0;$<m;$+=1){var C=B[$];if(typeof C=="string")V+=C.length;else{var P=C.regex,R=C.parser,q=A.slice(V),K=P.exec(q)[0];R.call(T,K),A=A.replace(K,"")}}return(function(U){var X=U.afternoon;if(X!==void 0){var ae=U.hours;X?ae<12&&(U.hours+=12):ae===12&&(U.hours=0),delete U.afternoon}})(T),T}}return function(b,g,N){N.p.customParseFormat=!0,b&&b.parseTwoDigitYear&&(u=b.parseTwoDigitYear);var B=g.prototype,m=B.parse;B.parse=function(v){var k=v.date,z=v.utc,O=v.args;this.$u=z;var M=O[1];if(typeof M=="string"){var A=O[2]===!0,T=O[3]===!0,$=A||T,V=O[2];T&&(V=O[2]),a=this.$locale(),!A&&V&&(a=N.Ls[V]),this.$d=(function(q,K,U,X){try{if(["x","X"].indexOf(K)>-1)return new Date((K==="X"?1e3:1)*q);var ae=w(K)(q),Z=ae.year,ee=ae.month,H=ae.day,I=ae.hours,_=ae.minutes,te=ae.seconds,ne=ae.milliseconds,j=ae.zone,F=ae.week,Y=new Date,W=H||(Z||ee?1:Y.getDate()),le=Z||Y.getFullYear(),se=0;Z&&!ee||(se=ee>0?ee-1:Y.getMonth());var G,p=I||0,y=_||0,L=te||0,J=ne||0;return j?new Date(Date.UTC(le,se,W,p,y,L,J+60*j.offset*1e3)):U?new Date(Date.UTC(le,se,W,p,y,L,J)):(G=new Date(le,se,W,p,y,L,J),F&&(G=X(G).week(F).toDate()),G)}catch{return new Date("")}})(k,M,z,N),this.init(),V&&V!==!0&&(this.$L=this.locale(V).$L),$&&k!=this.format(M)&&(this.$d=new Date("")),a={}}else if(M instanceof Array)for(var C=M.length,P=1;P<=C;P+=1){O[1]=M[P-1];var R=N.apply(this,O);if(R.isValid()){this.$d=R.$d,this.$L=R.$L,this.init();break}P===C&&(this.$d=new Date(""))}else m.call(this,v)}}}))})),H0=ft(((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)}}}))})),K0=ft(((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,E,x,w){var b=d.name?d:d.$locale(),g=s(b[h]),N=s(b[E]),B=g||N.map((function(v){return v.slice(0,x)}));if(!w)return B;var m=b.weekStart;return B.map((function(v,k){return B[(k+(m||0))%7]}))},a=function(){return r.Ls[r.locale()]},u=function(d,h){return d.formats[h]||(function(E){return E.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(x,w,b){return w||b.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)}}}))})),j0=ft(((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"),E=this.diff(h,l,!0);return E<0?s(this).startOf("week").week():Math.ceil(E)},c.weeks=function(a){return a===void 0&&(a=null),this.week(a)}}}))})),W0=ft(((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}}}))})),Y0=ft(((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")}}}))})),U0=ft(((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)}}}))})),G0=ft(((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)}}}))})),ut=mt(O0(),1),X0=mt(q0(),1),Q0=mt(H0(),1),Z0=mt(K0(),1),J0=mt(j0(),1),e1=mt(W0(),1),t1=mt(Y0(),1),l1=mt(U0(),1),a1=mt(G0(),1);ut.default.extend(Z0.default),ut.default.extend(Q0.default),ut.default.extend(X0.default),ut.default.extend(J0.default),ut.default.extend(e1.default),ut.default.extend(t1.default),ut.default.extend(l1.default),ut.default.extend(a1.default);var ot={format(e,n="YYYY-MM-DD"){return(0,ut.default)(e).format(n)},parser(e,n){return(0,ut.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")}},uo={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}},fo={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}},n1={...De,..._e,...uo,...fo};function r1(e,n,l,i){return{props:n1,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}=Ke(r),{emitEvent:h,exposeApi:E}=Ie({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:x}=(0,$e.useFoxI18n)(n),w=x(r,["placeholder"]),b=(0,t.ref)(!1),g=ze(r,"modelValue",null,h),N=(0,t.computed)(()=>Z.value&&Array.isArray(g.value)&&g.value.length==2?g.value[0]:g.value),B=(0,t.computed)(()=>Z.value?"longTermKey":"normalKey"),m=p=>{if(Z.value&&r.type==="daterange"){const y=[...g.value];y[0]=p,g.value=y}else g.value=p;h("update:modelValue",g.value),h("change",g.value)},v=(0,t.computed)(()=>Z.value&&r.type==="daterange"?"date":r.type),k=we(r.isLongTerm),z=e,O=(0,t.computed)(()=>({[`${z}`]:!0,"is-long":Z.value,readonly:f.value,disabled:a.value,"has-append":k})),M=(0,t.computed)(()=>({[`${z}__content`]:!0}));let A=ze(r,"hintText"),T=(0,t.ref)(!1);const $=p=>{let y=p.target.value;b.value=!0,ve(A.value)||(T.value=!0),h("focus",y,p)},V=p=>{setTimeout(()=>{T.value&&(T.value=!1),b.value=!1},0);let y=p.target.value;r.maxLength&&y.length>Number(r.maxLength)&&(y=y.slice(0,Number(r.maxLength))),h("blur",y,p)},C=()=>{h("clear","")},P=p=>{h("calendar-change",p)},R=(p,y,L)=>{h("panel-change",p,y,L)},q=p=>{h("visible-change",p)},K=Fe((0,t.computed)(()=>r.longTermText),"longTermText",at.Near),U=Fe((0,t.computed)(()=>r.longTermActionLabel),"longTermActionLabel",at.Near),X=Fe((0,t.computed)(()=>r.longTermValue),"longTermValue",at.Near);Fe((0,t.computed)(()=>r.compatibleLongTermValue),"compatibleLongTermValue",at.Near);let ae=null;const Z=(0,t.ref)(we(r.longTerm)),ee=p=>{const y=[Array.isArray(p)?p[0]:p];return Array.isArray(X.value)?y[1]=X.value[1]??X.value[0]:y[1]=Z.value,y[0]||(y[0]=r.valueFormat?ot.format(new Date,r.valueFormat):new Date),y[1]||(y[1]=r.valueFormat?ot.format(new Date,r.valueFormat):new Date),y},H=p=>{if(Z.value=p,h("update:longTerm",p),p){ae=g.value;const y=ee(g.value);r.type==="daterange"?g.value=y:g.value=y[1],h("update:modelValue",g.value)}else g.value=ae,h("update:modelValue",g.value),setTimeout(()=>{le()},100)};if(k){const p=()=>{if(Z.value===!0){ae=g.value;const y=ee(g.value);r.type==="daterange"?g.value=y:g.value=y[1],h("update:modelValue",g.value)}else Xe(X.value,g.value)&&(Z.value=!0)};p(),(0,t.watch)([()=>r.longTerm],([y])=>{Z.value!==y&&p()})}const I=(0,t.computed)(()=>({"fox-date-item__long":!0,"is-active":b.value})),_=(0,t.ref)(),te=/^\d+$/,ne=(p,y)=>typeof r.flashFillThreshold=="function"?r.flashFillThreshold(p,y):te.test(p)&&p.length===r.flashFillThreshold,j=(p,y)=>{let L;if(typeof r.flashFillFormat=="function")L=r.flashFillFormat(p,y);else{const ie=r.flashFillFormat??"YYYYMMDD";L=ot.parser(p,ie)}const J=r.valueFormat??"YYYY-MM-DD";return ot.format(L,J)},F=p=>p?p.endsWith("range"):!1,Y=p=>{if(!p.target)return;const y=p.target.value??"";if(ne(y,r.type)){const L=j(y,r.type);if(F(r.type)){const J=Array.isArray(g.value)?[...g.value]:[];J[0]=L,m(J)}else m(L)}},W=p=>{if(!p.target)return;const y=p.target.value??"";if(ne(y,r.type)){const L=j(y,r.type);if(F(r.type)){const J=Array.isArray(g.value)?[...g.value]:[];J[1]=L,m(J)}else m(L)}},le=()=>{if(r.flashFill&&s.value&&s.value.$el)if(F(r.type)){const p=s.value.$el.querySelectorAll("input.el-range-input");p[0]&&p[0].addEventListener("input",Y),p[1]&&p[1].addEventListener("input",W)}else{const p=s.value.$el.querySelector("input.el-input__inner");p&&p.addEventListener("input",Y)}},se=()=>{if(r.flashFill&&s.value&&s.value.$el)if(F(r.type)){const p=s.value.$el.querySelectorAll("input.el-range-input");p[0]&&p[0].removeEventListener("input",Y),p[1]&&p[1].removeEventListener("input",W)}else{const p=s.value.$el.querySelector("input.el-input__inner");p&&p.removeEventListener("input",Y)}};(0,t.onMounted)(le),(0,t.onBeforeUnmount)(se),E({focus:()=>{_?.value.focus()},blur:()=>{_?.value.blur()},handleOpen:()=>{_?.value.handleOpen()},handleClose:()=>{_?.value.handleClose()},setDisabled:p=>{c.value=p},setReadonly:p=>{u.value=p}});const G=(0,t.computed)(()=>{if(Ae(N.value))return"";const p=r.rangeSeparator??" - ",y=Array.isArray(N.value)?N.value:[N.value];k&&Z.value&&(y[1]=K.value);const L=[];for(let ie=0;ie<y.length;ie++){const Q=y[ie];if(typeof Q=="string"&&L.push(Q),Q instanceof Date){const re=ot.format(Q,r.format);L.push(re)}}const J=` ${p} `;return L.join(J)});return()=>{if(d.value==="on"&&(f.value||a.value))return i({modelValue:G.value,span:r.span,labelPosition:r.labelPosition,labelWidth:r.labelWidth},o.slots);const p={...o.attrs,key:B.value,type:v.value,ref:_,class:M.value,placeholder:w.placeholder.value,rangeSeparator:r.rangeSeparator,disabled:a.value,readonly:f.value,modelValue:N.value,valueFormat:r.valueFormat,format:r.format,editable:r.editable,"onUpdate:modelValue":m,onClear:C,onFocus:$,onBlur:V,onCalendarChange:P,onPanelChange:R,onVisibleChange:q},y={};o.slots["range-separator"]&&(y["range-separator"]=o.slots["range-separator"]),o.slots.cell&&(y.default=o.slots.cell);const L=[],J=(0,t.h)(D.ElDatePicker,p,y);L.push(J);const ie={default:()=>L};if(ie.label=o.slots.default,ie.fixedPreTip=o.slots.fixedPreTip,ie.fixedTip=o.slots.fixedTip,o.slots.prepend&&(ie.prepend=o.slots.prepend),o.slots.append&&(ie.append=o.slots.append),k){if(Z.value){const re=(0,t.h)("input",{class:["fox-date-item__long-text"],value:K.value,readonly:!0}),ce={class:I.value};if(r.type==="daterange"){const ue=(0,t.h)("span",{class:["fox-date-item__long-splitor"]},["-"]),fe=(0,t.h)("div",ce,{default:()=>[ue,re]});L.push(fe)}else{L.splice(0,L.length);const ue=(0,t.h)("div",ce,{default:()=>[re]});L.push(ue)}}if(!f.value&&!a.value){const re=(0,t.h)(D.ElCheckbox,{label:U.value||K.value,disabled:f.value||a.value,modelValue:Z.value,"onUpdate:modelValue":H}),ce=(0,t.h)("div",{class:{[`${z}__append`]:!0}},[re]);ie.append=()=>ce}}const Q={...Re(r,uo,fo),ref:s,class:O.value,hintText:A.value,hintVisible:T.value};return r.prop&&(Q.prop=`${r.prop}_item`),l(Q,ie)}}}}var{componentName:o1,create:i1,scope:s1}=me("date-item"),c1=i1(r1(o1,s1,je,Ue)),Ja=c1,ye={format(e,n="YYYY-MM-DD"){return ot.format(e,n)},parser(e,n){return ot.parser(e,n)},isLeapYear:function(e){return ot.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]=ye.getNumTwoBit(Number(n[2])),n[3]=`${n[0]}-${n[1]}-${n[2]}`,n[4]=ye.getWhatDay(+n[0],+n[1],+n[2]),n}},u1=e=>!!(!e||typeof e=="string"&&e.length==0||Array.isArray(e)&&e.length==0),en={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}},d1=2e3,mo=()=>d1++,tn={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:{}}},f1=(e,n)=>({components:n,props:tn,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=mo());const o=(0,t.computed)(()=>{const w=e,b=[w,`${w}--${l.position}`];return l.round&&b.push("round"),l.position==="bottom"&&l.safeAreaInsetBottom&&b.push(`${w}--${l.position}--safebottom`),typeof l.popClass=="string"?b.push(l.popClass):Array.isArray(l.popClass)&&l.popClass.forEach(g=>{b.push(g)}),b}),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=mo(),l.destroyOnClose&&(r.showSlot=!0),i("open")},u=()=>{i("update:visible",!1),i("close"),l.destroyOnClose&&setTimeout(()=>{r.showSlot=!1},+l.duration*1e3)},f=w=>{i("click-pop",w)},d=w=>{w.stopPropagation(),i("click-close-icon",w),i("update:visible",!1)},h=w=>{i("click-overlay",w),l.closeOnClickOverlay&&i("update:visible",!1)},E=w=>{i("opend",w)},x=w=>{i("closed",w)};return(0,t.watch)(()=>l.visible,w=>{l.visible?a():u()}),(0,t.watch)(()=>l.closeable,w=>{r.closed=w}),{...(0,t.toRefs)(r),popStyle:s,transitionName:c,classes:o,onClick:f,onClickCloseIcon:d,onClickOverlay:h,onOpened:E,onClosed:x}}}),m1={count:0},ho="fox-overflow-hidden",po=()=>bt?document.body:{classList:[]},h1=(e,n)=>{const l=typeof n=="function"?{count:0}:m1;return[()=>{if(e())try{const o=typeof n=="function"?n():po();!l.count&&o?.classList?.add?.(ho),l.count++}catch{}},()=>{if(e()&&l.count)try{l.count--;const o=typeof n=="function"?n():po();!l.count&&o?.classList?.remove?.(ho)}catch{}}]},p1={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:g1,create:y1}=me("overlay"),b1=y1({props:{...p1},emits:["click","update:visible"],setup(e,{emit:n}){const[l,i]=h1(()=>e.lockScroll),r=(0,t.computed)(()=>({[g1]:!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 S1(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 Zl=Oe(b1,[["render",S1]]),go="fox-icon",jm=(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?`${go}__img`:`${l.fontClassName} ${go} ${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))}}),Wm={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"}]}]},Ym="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("."),w1=["aria-labelledby"],Um=(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,w1))}}),v1=["aria-labelledby"],C1=(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,v1))}}),N1=["aria-labelledby"],Gm=(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,N1))}}),x1=["aria-labelledby"],Xm=(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,x1))}}),k1=["aria-labelledby"],Qm=(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,k1))}}),T1=["aria-labelledby"],Zm=(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,T1))}}),E1=["aria-labelledby"],Jm=(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,E1))}}),z1=["aria-labelledby"],eh=(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,z1))}}),$1=["aria-labelledby"],yo=(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,$1))}}),B1=["aria-labelledby"],th=(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,B1))}}),V1=["aria-labelledby"],D1=(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,V1))}}),M1=["aria-labelledby"],lh=(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,M1))}}),A1=["aria-labelledby"],ah=(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,A1))}}),P1=["aria-labelledby"],nh=(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,P1))}}),I1=["aria-labelledby"],rh=(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,I1))}}),_1=["aria-labelledby"],oh=(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,_1))}}),L1=["aria-labelledby"],ih=(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,L1))}}),R1=["aria-labelledby"],sh=(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,R1))}}),F1=["aria-labelledby"],ch=(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,F1))}}),O1=["aria-labelledby"],uh=(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,O1))}}),q1=["aria-labelledby"],dh=(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,q1))}}),H1=["aria-labelledby"],fh=(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,H1))}}),K1=["aria-labelledby"],mh=(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,K1))}}),j1=["aria-labelledby"],bo=(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,j1))}}),W1=["aria-labelledby"],hh=(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,W1))}}),Y1=["aria-labelledby"],ph=(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,Y1))}}),U1=["aria-labelledby"],gh=(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,U1))}}),G1=["aria-labelledby"],yh=(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,G1))}}),X1=["aria-labelledby"],bh=(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,X1))}}),Q1=["aria-labelledby"],Z1=(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,Q1))}}),J1=["aria-labelledby"],Sh=(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,J1))}}),eu=["aria-labelledby"],wh=(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,eu))}}),tu=["aria-labelledby"],vh=(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,tu))}}),lu=["aria-labelledby"],Ch=(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,lu))}}),au=["aria-labelledby"],Nh=(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,au))}}),nu=["aria-labelledby"],xh=(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,nu))}}),ru=["aria-labelledby"],kh=(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,ru))}}),ou=["aria-labelledby"],Th=(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,ou))}}),iu=["aria-labelledby"],Eh=(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,iu))}}),su=["aria-labelledby"],zh=(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,su))}}),cu=["aria-labelledby"],$h=(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,cu))}}),uu=["aria-labelledby"],Bh=(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,uu))}}),du=["aria-labelledby"],Vh=(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,du))}}),fu=["aria-labelledby"],Dh=(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,fu))}}),mu=["aria-labelledby"],Mh=(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,mu))}}),hu=["aria-labelledby"],Ah=(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,hu))}}),pu=["aria-labelledby"],Ph=(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,pu))}}),gu=["aria-labelledby"],Ih=(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,gu))}}),yu=["aria-labelledby"],_h=(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,yu))}}),bu=["aria-labelledby"],Lh=(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,bu))}}),Su=["aria-labelledby"],Rh=(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,Su))}}),wu=["aria-labelledby"],Fh=(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,wu))}}),vu=["aria-labelledby"],Oh=(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,vu))}}),Cu=["aria-labelledby"],qh=(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,Cu))}}),Nu=["aria-labelledby"],Hh=(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,Nu))}}),xu=["aria-labelledby"],Kh=(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,xu))}}),ku=["aria-labelledby"],jh=(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,ku))}}),Tu=["aria-labelledby"],Wh=(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,Tu))}}),Eu=["aria-labelledby"],Yh=(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,Eu))}}),zu=["aria-labelledby"],Uh=(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,zu))}}),$u=["aria-labelledby"],Gh=(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,$u))}}),Bu=["aria-labelledby"],Xh=(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,Bu))}}),Vu=["aria-labelledby"],Qh=(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,Vu))}}),Du=["aria-labelledby"],Zh=(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,Du))}}),Mu=["aria-labelledby"],Jh=(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,Mu))}}),Au=["aria-labelledby"],e9=(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,Au))}}),Pu=["aria-labelledby"],Iu=(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,Pu))}}),_u=["aria-labelledby"],t9=(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,_u))}}),Lu=["aria-labelledby"],l9=(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,Lu))}}),Ru=["aria-labelledby"],a9=(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,Ru))}}),Fu=["aria-labelledby"],n9=(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,Fu))}}),Ou=["aria-labelledby"],r9=(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,Ou))}}),qu=["aria-labelledby"],o9=(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,qu))}}),Hu=["aria-labelledby"],i9=(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,Hu))}}),Ku=["aria-labelledby"],s9=(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,Ku))}}),ju=["aria-labelledby"],c9=(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,ju))}}),Wu=["aria-labelledby"],u9=(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,Wu))}}),Yu=["aria-labelledby"],d9=(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,Yu))}}),Uu=["aria-labelledby"],f9=(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,Uu))}}),Gu=["aria-labelledby"],m9=(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,Gu))}}),Xu=["aria-labelledby"],h9=(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,Xu))}}),Qu=["aria-labelledby"],p9=(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,Qu))}}),Zu=["aria-labelledby"],g9=(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,Zu))}}),Ju=["aria-labelledby"],dl=(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,Ju))}}),e2=["aria-labelledby"],y9=(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,e2))}}),t2=["aria-labelledby"],l2=(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,t2))}}),a2=["aria-labelledby"],b9=(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,a2))}}),n2=["aria-labelledby"],S9=(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,n2))}}),r2=["aria-labelledby"],w9=(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,r2))}}),o2=["aria-labelledby"],v9=(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,o2))}}),i2=["aria-labelledby"],C9=(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,i2))}}),s2=["aria-labelledby"],N9=(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,s2))}}),c2=["aria-labelledby"],x9=(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,c2))}}),u2=["aria-labelledby"],k9=(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,u2))}}),d2=["aria-labelledby"],T9=(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,d2))}}),f2=["aria-labelledby"],E9=(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,f2))}}),m2=["aria-labelledby"],z9=(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,m2))}}),h2=["aria-labelledby"],$9=(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,h2))}}),p2=["aria-labelledby"],B9=(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,p2))}}),g2=["aria-labelledby"],V9=(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,g2))}}),y2=["aria-labelledby"],D9=(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,y2))}}),b2=["aria-labelledby"],M9=(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,b2))}}),S2=["aria-labelledby"],A9=(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,S2))}}),w2=["aria-labelledby"],P9=(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,w2))}}),v2=["aria-labelledby"],I9=(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,v2))}}),C2=["aria-labelledby"],_9=(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,C2))}}),N2=["aria-labelledby"],L9=(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,N2))}}),x2=["aria-labelledby"],R9=(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,x2))}}),k2=["aria-labelledby"],T2=(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,k2))}}),E2=["aria-labelledby"],F9=(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,E2))}}),z2=["aria-labelledby"],O9=(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,z2))}}),$2=["aria-labelledby"],q9=(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,$2))}}),B2=["aria-labelledby"],H9=(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,B2))}}),V2=["aria-labelledby"],K9=(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,V2))}}),D2=["aria-labelledby"],j9=(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,D2))}}),M2=["aria-labelledby"],W9=(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,M2))}}),A2=["aria-labelledby"],Y9=(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,A2))}}),P2=["aria-labelledby"],U9=(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,P2))}}),I2=["aria-labelledby"],G9=(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,I2))}}),_2=["aria-labelledby"],X9=(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,_2))}}),L2=["aria-labelledby"],Q9=(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,L2))}}),R2=["aria-labelledby"],Z9=(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,R2))}}),F2=["aria-labelledby"],J9=(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,F2))}}),O2=["aria-labelledby"],ep=(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,O2))}}),q2=["aria-labelledby"],tp=(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,q2))}}),H2=["aria-labelledby"],lp=(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,H2))}}),K2=["aria-labelledby"],ap=(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,K2))}}),j2=["aria-labelledby"],ln=(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,j2))}}),W2=["aria-labelledby"],np=(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,W2))}}),Y2=["aria-labelledby"],rp=(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,Y2))}}),U2=["aria-labelledby"],op=(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,U2))}}),G2=["aria-labelledby"],ip=(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,G2))}}),X2=["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,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,X2))}}),Q2=["aria-labelledby"],sp=(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,Q2))}}),Z2=["aria-labelledby"],J2=(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,Z2))}}),ed=["aria-labelledby"],cp=(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,ed))}}),td=["aria-labelledby"],ld=(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,td))}}),ad=["aria-labelledby"],up=(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,ad))}}),nd=["aria-labelledby"],dp=(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,nd))}}),rd=["aria-labelledby"],fp=(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,rd))}}),od=["aria-labelledby"],mp=(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,od))}}),id=["aria-labelledby"],hp=(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,id))}}),sd=["aria-labelledby"],pp=(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,sd))}}),cd=["aria-labelledby"],gp=(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,cd))}}),ud=["aria-labelledby"],yp=(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,ud))}}),dd=["aria-labelledby"],bp=(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,dd))}}),fd=["aria-labelledby"],Sp=(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,fd))}}),md=["aria-labelledby"],hd=(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,md))}}),pd=["aria-labelledby"],wp=(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,pd))}}),gd=["aria-labelledby"],vp=(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,gd))}}),yd=["aria-labelledby"],Cp=(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,yd))}}),bd=["aria-labelledby"],Np=(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,bd))}}),Sd=["aria-labelledby"],xp=(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,Sd))}}),wd=["aria-labelledby"],kp=(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,wd))}}),{componentName:vd,create:Cd}=me("popup"),Nd=Cd(f1(vd,{FoxOverLay:Zl,Close:ln}));function xd(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 gt=Oe(Nd,[["render",xd]]),{create:kd,scope:Td}=me("calendar-pane"),Ed=kd({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:ye.getDay(0)},endDate:{type:String,default:ye.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,$e.useFoxI18n)(Td),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),E=(0,t.ref)(null),x=(0,t.ref)(null),w=(0,t.ref)(0),b=(0,t.computed)(()=>m.monthsData.slice(m.defaultRange[0],m.defaultRange[1])),g=(0,t.computed)(()=>l.btn),N=(0,t.computed)(()=>l["top-info"]),B=(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}),v=F=>F.split("-"),k=F=>ye.isEqual(m.currDate[0],F),z=F=>ye.isEqual(m.currDate[1],F),O=F=>m.currDate?.length>0?m.currDate?.some(Y=>ye.isEqual(Y,F)):!1,M=(F,Y)=>Y.curData[0]+"-"+Y.curData[1]+"-"+ye.getNumTwoBit(+F.day),A=(F,Y)=>{const W=M(F,Y),{type:le}=e;return F.type=="curr"?ye.isEqual(m.currDate,W)||(le=="range"||le=="week")&&(k(W)||z(W))||le=="multiple"&&O(W)?`${m.dayPrefix}--active`:m.propStartDate&&ye.compareDate(W,m.propStartDate)||m.propEndDate&&ye.compareDate(m.propEndDate,W)?`${m.dayPrefix}--disabled`:(le=="range"||le=="week")&&Array.isArray(m.currDate)&&Object.values(m.currDate).length==2&&ye.compareDate(m.currDate[0],W)&&ye.compareDate(W,m.currDate[1])?`${m.dayPrefix}--choose`:null:`${m.dayPrefix}--disabled`},T=()=>{const{type:F}=e;if(F=="range"&&m.chooseData.length==2||F!="range"){let Y=m.chooseData.slice(0);F=="week"&&(Y={weekDate:[V(m.chooseData[0]),V(m.chooseData[1])]}),n("choose",Y),e.poppable&&n("update")}},$=(F,Y,W=!1)=>{if(A(F,Y)!=`${m.dayPrefix}--disabled`){const{type:le}=e;let[se,G]=Y.curData,p=[...Y.curData];if(p[2]=ye.getNumTwoBit(Number(F.day)),p[3]=`${p[0]}-${p[1]}-${p[2]}`,p[4]=ye.getWhatDay(+p[0],+p[1],+p[2]),le=="multiple")if(m.currDate?.length>0){let y;m.currDate?.forEach((L,J)=>{L==p[3]&&(y=J)}),W?m.chooseData.push([...p]):y!==void 0?(m.currDate.splice(y,1),m.chooseData.splice(y,1)):(m.currDate.push(p[3]),m.chooseData.push([...p]))}else m.currDate=[p[3]],m.chooseData=[[...p]];else if(le=="range"){let y=Object.values(m.currDate).length;y==2||y==0?m.currDate=[p[3]]:ye.compareDate(m.currDate[0],p[3])?Array.isArray(m.currDate)&&m.currDate.push(p[3]):Array.isArray(m.currDate)&&m.currDate.unshift(p[3]),m.chooseData.length==2||!m.chooseData.length?m.chooseData=[[...p]]:ye.compareDate(m.chooseData[0][3],p[3])?m.chooseData=[...m.chooseData,[...p]]:m.chooseData=[[...p],...m.chooseData]}else if(le=="week"){let y=ye.getWeekDate(se,G,F.day,e.firstDayOfWeek);m.propStartDate&&ye.compareDate(y[0],m.propStartDate)&&y.splice(0,1,m.propStartDate),m.propEndDate&&ye.compareDate(m.propEndDate,y[1])&&y.splice(1,1,m.propEndDate),m.currDate=y,m.chooseData=[ye.formatResultDate(y[0]),ye.formatResultDate(y[1])]}else m.currDate=p[3],m.chooseData=[...p];if(!W){let y=m.chooseData;le=="week"&&(y={weekDate:[V(m.chooseData[0]),V(m.chooseData[1])]}),n("select",y),(e.isAutoBackFill||!e.poppable)&&T()}}},V=F=>{let[Y,W,le]=F;return{date:F,monthWeekNum:ye.getMonthWeek(Y,W,le,e.firstDayOfWeek),yearWeekNum:ye.getYearWeek(Y,W,le,e.firstDayOfWeek)}},C=F=>{const Y=F=="prev"?m.monthsData[0]:m.monthsData[m.monthsData.length-1];let W=parseInt(Y.curData[0]),le=parseInt(Y.curData[1].toString().replace(/^0/,""));switch(F){case"prev":le==1&&(W-=1),le=le==1?12:--le;break;case"next":le==12&&(W+=1),le=le==12?1:++le;break}return[W+"",ye.getNumTwoBit(le),ye.getMonthDays(String(W),String(le))+""]},P=(F,Y,W)=>{let{year:le,month:se}=W;return Y=="prev"&&F>=7&&(F-=7),Array.from(Array(F),(G,p)=>({day:String(p+1),type:Y,year:le,month:se}))},R=(F,Y,W,le)=>{F=F-e.firstDayOfWeek;let{year:se,month:G}=W;return Y=="prev"&&F>=7&&(F-=7),Array.from(Array(le),(p,y)=>({day:String(y+1),type:Y,year:se,month:G})).slice(le-F)},q=(F,Y)=>{const W=ye.getMonthPreDay(+F[0],+F[1]);let le=Number(F[1])-1,se=Number(F[0]);le<=0&&(le=12,se+=1);const G=ye.getMonthDays(String(F[0]),String(F[1])),p=ye.getMonthDays(se+"",le+""),y={year:F[0],month:F[1]},L={curData:F,title:o("monthTitle",{year:y.year,month:y.month}),monthData:[...R(W,"prev",{month:String(le),year:String(se)},p),...P(G,"curr",y)],cssHeight:0,cssScrollHeight:0};L.cssHeight=39+64*(L.monthData.length>35?6:5);let J=0;m.monthsData.length>0&&(J=m.monthsData[m.monthsData.length-1].cssScrollHeight+m.monthsData[m.monthsData.length-1].cssHeight),L.cssScrollHeight=J,Y=="next"?(!m.endData||!ye.compareDate(`${m.endData[0]}-${m.endData[1]}-${ye.getMonthDays(m.endData[0],m.endData[1])}`,`${F[0]}-${F[1]}-${F[2]}`))&&m.monthsData.push(L):!m.startData||!ye.compareDate(`${F[0]}-${F[1]}-${F[2]}`,`${m.startData[0]}-${m.startData[1]}-01`)?m.monthsData.unshift(L):m.unLoadPrev=!0},K=()=>{let F=e.startDate?e.startDate:ye.getDay(0),Y=e.endDate?e.endDate:ye.getDay(365);m.propStartDate=F,m.propEndDate=Y,m.startData=v(F),m.endData=v(Y),(e.defaultValue||Array.isArray(e.defaultValue)&&e.defaultValue.length>0)&&(m.currDate=e.type!=="one"?[...e.defaultValue]:e.defaultValue);const W={year:Number(m.startData[0]),month:Number(m.startData[1])},le={year:Number(m.endData[0]),month:Number(m.endData[1])};let se=le.month-W.month;le.year-W.year>0&&(se=se+12*(le.year-W.year)),se<=0&&(se=1),q(m.startData,"next");let G=1;do q(C("next"),"next");while(G++<se);if(m.monthsNum=se,e.type=="range"&&Array.isArray(m.currDate))m.currDate.length>0&&(F&&ye.compareDate(m.currDate[0],F)&&m.currDate.splice(0,1,F),Y&&ye.compareDate(Y,m.currDate[1])&&m.currDate.splice(1,1,Y),m.defaultData=[...v(m.currDate[0]),...v(m.currDate[1])]);else if(e.type=="multiple"&&Array.isArray(m.currDate)){if(m.currDate.length>0){let p=[],y={};m.currDate.forEach(L=>{F&&!ye.compareDate(L,F)&&Y&&!ye.compareDate(Y,L)&&(Object.hasOwnProperty.call(y,L)||(p.push(L),y[L]=L))}),m.currDate=[...p],m.defaultData=[...v(p[0])]}}else if(e.type=="week"&&Array.isArray(m.currDate)){if(m.currDate.length>0){let[p,y,L]=v(m.currDate[0]),J=ye.getWeekDate(p,y,L,e.firstDayOfWeek);m.currDate=J,F&&ye.compareDate(m.currDate[0],F)&&m.currDate.splice(0,1,F),Y&&ye.compareDate(Y,m.currDate[1])&&m.currDate.splice(1,1,Y),m.defaultData=[...v(m.currDate[0]),...v(m.currDate[1])]}}else m.currDate&&(F&&ye.compareDate(m.currDate,F)?m.currDate=F:Y&&!ye.compareDate(m.currDate,Y)&&(m.currDate=Y),m.defaultData=[...v(m.currDate)])};i({scrollToDate:F=>{ye.compareDate(F,m.propStartDate)?F=m.propStartDate:ye.compareDate(F,m.propEndDate)||(F=m.propEndDate);let Y=v(F);m.monthsData.forEach((W,le)=>{if(W.title==o("monthTitle",{year:Y[0],month:Y[1]})&&d.value){let se=m.monthsData[le].cssScrollHeight-d.value.scrollTop;if(e.toDateAnimation){let G=0,p=setInterval(()=>{if(G++,d.value){let y=se/10;d.value.scrollTop=d.value.scrollTop+y}G>=10&&(clearInterval(p),d.value&&(d.value.scrollTop=m.monthsData[le].cssScrollHeight))},40)}else d.value.scrollTop=m.monthsData[le].cssScrollHeight}})},initPosition:()=>{d?.value&&(d.value.scrollTop=m.monthsData[m.currentIndex].cssScrollHeight)},doLayout:()=>{let F=0,Y=0;m.defaultData.length>0&&m.monthsData.forEach((se,G)=>{se.title==o("monthTitle",{year:m.defaultData[0],month:m.defaultData[1]})&&(F=G),(e.type=="range"||e.type=="week")&&se.title==o("monthTitle",{year:m.defaultData[3],month:m.defaultData[4]})&&(Y=G)}),Z(m.monthsNum,F),m.currentIndex=F,m.yearMonthTitle=m.monthsData[m.currentIndex].title,m.defaultData.length>0&&(m.isRange?($({day:m.defaultData[2],type:"curr"},m.monthsData[m.currentIndex],!0),$({day:m.defaultData[5],type:"curr"},m.monthsData[Y],!0)):e.type=="week"?$({day:m.defaultData[2],type:"curr"},m.monthsData[m.currentIndex],!0):e.type=="multiple"?[...m.currDate].forEach(se=>{let G=v(se),p=m.currentIndex;m.monthsData.forEach((y,L)=>{y.title==o("monthTitle",{year:G[0],month:G[1]})&&(p=L)}),$({day:G[2],type:"curr"},m.monthsData[p],!0)}):$({day:m.defaultData[2],type:"curr"},m.monthsData[m.currentIndex],!0));let W=m.monthsData[m.monthsData.length-1],le=W.cssHeight+W.cssScrollHeight;ha(()=>{d?.value&&h?.value&&x?.value&&(w.value=d.value.clientHeight,h.value.style.height=`${le}px`,d.value.scrollTop=m.monthsData[m.currentIndex].cssScrollHeight)}),m.avgHeight=Math.floor(le/(m.monthsNum+1))}});const Z=(F,Y)=>{F>=3?Y>0&&Y<F?m.defaultRange=[Y-1,Y+3]:Y==0?m.defaultRange=[Y,Y+4]:Y==F&&(m.defaultRange=[Y-2,Y+2]):m.defaultRange=[0,F+2];let W=m.monthsData[m.defaultRange[0]].cssScrollHeight;m.translateY=W},ee=(F,Y)=>(e.type=="range"||e.type=="week")&&F.type=="curr"&&A(F,Y)=="fox-calendar__day--active",H=(F,Y)=>ee(F,Y)&&k(M(F,Y)),I=(F,Y)=>m.currDate.length>=2&&z(M(F,Y))?ee(F,Y):!1,_=()=>{if(m.currDate.length>=2)return ye.isEqual(m.currDate[0],m.currDate[1])},te=F=>{const Y=`${F.year}-${F.month}-${Number(F.day)<10?"0"+F.day:F.day}`;return ye.isEqual(Y,ye.date2Str(new Date))},ne=F=>{if(m.monthsData.length<=1)return;const Y=F.target.scrollTop;let W=Math.floor(Y/m.avgHeight);if(W==0)Y>=m.monthsData[W+1].cssScrollHeight&&(W+=1);else if(W>0&&W<m.monthsNum-1)Y>=m.monthsData[W+1].cssScrollHeight&&(W+=1),Y<m.monthsData[W].cssScrollHeight&&(W-=1);else{const le=Math.round(Y+w.value);le<m.monthsData[W].cssScrollHeight+m.monthsData[W].cssHeight&&Y>m.monthsData[W-1].cssScrollHeight&&(W-=1),W+1<=m.monthsNum&&le>=m.monthsData[W+1].cssScrollHeight+m.monthsData[W+1].cssHeight&&(W+=1),W>=1&&Y<m.monthsData[W-1].cssScrollHeight&&(W-=1)}m.currentIndex!==W&&(m.currentIndex=W,Z(m.monthsNum,W)),m.yearMonthTitle=m.monthsData[W].title},j=()=>{m.chooseData.splice(0),m.monthsData.splice(0),K()};return K(),(0,t.watch)(()=>e.defaultValue,F=>{F&&e.poppable&&j()}),{dayTitleStyle:c,dayCellStyle:a,weeks:f,compConthsData:b,showTopBtn:g,topInfo:N,bottomInfo:B,rangeTip:_,mothsViewScroll:ne,getClass:A,isStartTip:H,isEndTip:I,chooseDay:$,isCurrDay:te,confirm:T,months:d,...(0,t.toRefs)(m),...(0,t.toRefs)(e),...s,monthsPanel:h,weeksPanel:E,viewArea:x}}}),zd={class:"fox-calendar__header"},$d={key:0,class:"fox-calendar__header-title"},Bd={key:1,class:"fox-calendar__header-slot"},Vd={key:2,class:"fox-calendar__header-subtitle"},Dd={class:"fox-calendar__weekdays",ref:"weeksPanel"},Md={class:"fox-calendar__panel",ref:"monthsPanel"},Ad={class:"fox-calendar__days"},Pd=["onClick"],Id={class:"fox-calendar__day-value"},_d={key:0,class:"fox-calendar__day-tips fox-calendar__day-tips--top"},Ld={key:1,class:"fox-calendar__day-tips fox-calendar__day-tips--bottom"},Rd={key:2,class:"fox-calendar__day-tips--curr"},Fd={key:4,class:"fox-calendar__day-tip"},Od={key:0,class:"fox-calendar__footer"};function qd(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",zd,[e.showTitle?((0,t.openBlock)(),(0,t.createElementBlock)("view",$d,(0,t.toDisplayString)(e.title),1)):(0,t.createCommentVNode)("",!0),e.showTopBtn?((0,t.openBlock)(),(0,t.createElementBlock)("view",Bd,[(0,t.renderSlot)(e.$slots,"btn")])):(0,t.createCommentVNode)("",!0),e.showSubTitle?((0,t.openBlock)(),(0,t.createElementBlock)("view",Vd,(0,t.toDisplayString)(e.yearMonthTitle),1)):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",Dd,[((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",Md,[(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",Ad,[(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",Id,[(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",_d,[(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",Ld,[(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",Rd,(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",Fd,(0,t.toDisplayString)(e.endText),1)):(0,t.createCommentVNode)("",!0)],14,Pd))),128))],2)])]))),128))],4)],512)],544),e.poppable&&!e.isAutoBackFill?((0,t.openBlock)(),(0,t.createElementBlock)("view",Od,[(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 Hd=Oe(Ed,[["render",qd]]),{create:Kd}=me("calendar-picker"),jd=Kd({components:{CalendarPane:Hd,Popup:gt},props:{...en},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)},E=()=>{n("close"),n("update:visible",!1)};return{popClasses:d,closePopup:()=>{E()},update:h,close:E,select:g=>{n("select",g)},choose:g=>{E(),n("choose",g)},calendarRef:a,showTopBtn:r,topInfo:o,dayInfo:s,bottomInfo:c}}});function Wd(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 Jl=Oe(jd,[["render",Wd]]),an=(e,n)=>{let l;return ka(e)?l=e:typeof e=="string"&&ht(e)>0?l=ye.parser(e,n):l=new Date,l},Ot=(e,n,l)=>(ka(n)||(n=new Date),ye.format(n,l)),qt=e=>[`${e.getFullYear()}`,`${e.getMonth()+1}`,`${e.getDate()}`,ye.date2Str(e),ye.getWhatDay(e.getFullYear(),e.getMonth()+1,e.getDate())],wo={...en,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]}},Yd={...De,..._e,...wo};function Ud(e,n,l,i){return{props:Yd,emits:["change","update:modelValue","blur","focus","clear","setValue"],setup(r,o){const{itemTemplateRef:s,innerDisabled:c,disabled:a,innerReadonly:u,readonly:f,browse:d}=Ke(r),{emitEvent:h,exposeApi:E}=Ie({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:x}=(0,$e.useFoxI18n)(n),w=x(r,["placeholder"]);let b=ze(r,"hintText"),g=(0,t.ref)(!1);const N=(0,t.ref)(!1),B=(0,t.computed)(()=>r.type==="range"),m=(0,t.reactive)({startDate:null,endDate:null,startArray:[],endArray:[]}),v=()=>{m.startDate!==null&&(m.startDate=null,m.endDate=null,m.startArray=[],m.endArray=[])},k=(ee,H="one",I="YYYY-MM-DD")=>{if(u1(ee)){v();return}if(B.value&&Array.isArray(ee)&&ee.length==2){let _,te;typeof ee[0]=="string"?(_=an(ee[0],I),te=an(ee[1],I)):(_=ee[0],te=ee[1]);let ne=qt(_),j=qt(te);(m.startDate===null||m.startDate.getTime()!==_.getTime()||m.endDate?.getTime()!==te.getTime())&&(m.startDate=_,m.startArray=ne,m.endDate=te,m.endArray=j)}else{let _;typeof ee=="string"?_=an(ee,I):_=ee;let te=qt(_);(m.startDate===null||m.startDate.getTime()!==_.getTime())&&(m.startDate=_,m.startArray=te)}};k(r.modelValue,r.type,r.valueFormat),(0,t.watch)(()=>r.modelValue,ee=>{k(ee,r.type,r.valueFormat),h("setValue",ee)});const z=(0,t.computed)(()=>{if(m.startDate===null)return"";if(B.value){let ee=Ot(r,m.startDate,r.format),H=Ot(r,m.endDate,r.format);return`${ee} ${r.rangeSeparator} ${H}`}else{let ee=Ot(r,m.startDate,r.format);return r.showWeek&&(ee=`${ee} ${m.startArray[4]}`),ee}}),O=(0,t.computed)(()=>m.startDate===null?null:B.value?[ye.date2Str(m.startDate),ye.date2Str(m.endDate??new Date)]:ye.date2Str(m.startDate)),M=e,A=(0,t.computed)(()=>({[M]:!0,readonly:f.value,disabled:a.value})),T=(0,t.computed)(()=>({[`${M}__content`]:!0})),$=Fe((0,t.computed)(()=>r.textAlign),"textAlign"),V=(0,t.computed)(()=>({textAlign:$.value??"right"})),C=(0,t.ref)(!1),P=()=>{f.value||a.value||(C.value=!0)},R=()=>{C.value=!1},q=ee=>{C.value=ee},K=ee=>{if(ee){if(B.value&&Array.isArray(ee)){let H=ee[0],I=ke(H[0]),_=ke(H[1]),te=ke(H[2]),ne=new Date(I,_-1,te),j=ee[1];I=ke(j[0]),_=ke(j[1]),te=ke(j[2]);let F=new Date(I,_-1,te);if(m.startDate=ne,m.startArray=qt(ne),m.endDate=F,m.endArray=qt(F),r.valueFormat){let Y=Ot(r,ne,r.valueFormat),W=Ot(r,F,r.valueFormat);h("update:modelValue",[Y,W],{})}else h("update:modelValue",[ne,F],{})}else{let H=ee,I=ke(H[0]),_=ke(H[1]),te=ke(H[2]),ne=new Date(I,_-1,te);if(m.startDate=ne,m.startArray=qt(ne),r.valueFormat){let j=Ot(r,ne,r.valueFormat);h("update:modelValue",j,{})}else h("update:modelValue",ne,{})}h("change",ee,{})}},U=ee=>{let H=ee.target.value;N.value=!0,h("focus",H,ee)},X=ee=>{setTimeout(()=>{N.value=!1},0);let H=ee.target.value;r.maxLength&&H.length>Number(r.maxLength)&&(H=H.slice(0,Number(r.maxLength))),h("blur",H,ee)},ae=ee=>{v(),h("update:modelValue",null,ee),h("change","",ee),h("clear","")},Z=(0,t.ref)();return E({showPicker:P,hidePicker:R,focus:()=>{Z?.value.focus()},blur:()=>{Z?.value.blur()},select:()=>{Z?.value.select()},setDisabled:ee=>{c.value=ee},setReadonly:ee=>{u.value=ee}}),()=>{if(d.value==="on"&&(f.value||a.value))return i({modelValue:z.value,span:r.span,labelPosition:r.labelPosition,labelWidth:r.labelWidth},o.slots);const ee={class:T.value,style:V.value,type:"text",maxlength:r.maxLength,placeholder:w.placeholder.value,readonly:!0,clearable:r.clearable,value:z.value,onClick:P,onFocus:U,onBlur:X,onClear:ae},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:H.prefix=()=>(0,t.h)(D.ElIcon,{},{default:()=>(0,t.h)(Le.Calendar)}),o.slots.suffix&&(H.suffix=o.slots.suffix);const I=[],_=(0,t.h)(D.ElInput,ee,H);I.push(_);const te={default:()=>I};te.label=o.slots.default,te.fixedPreTip=o.slots.fixedPreTip,te.fixedTip=o.slots.fixedTip;const ne=pt(r,en);ne.visible=C.value,ne["onUpdate:visible"]=q,ne["default-value"]=O.value,ne.onChoose=K;const j={};if(o.slots.btn){const W=o.slots.btn();j.btn=()=>W}o.slots.day&&(j.day=o.slots.day),o.slots.topInfo&&(j.topInfo=o.slots.topInfo),o.slots.bottomInfo&&(j.bottomInfo=o.slots.bottomInfo);const F=(0,t.h)(Jl,ne,j);te.hide=()=>[F];const Y={...Re(r,wo),ref:s,class:A.value,hintText:b.value,hintVisible:g.value};return r.prop&&(Y.prop=`${r.prop}_item`),l(Y,te)}}}}var{componentName:Gd,create:Xd,scope:Qd}=me("calendar-item"),Zd=Xd(Ud(Gd,Qd,je,Ue)),nn=Zd,vo={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]}},Jd={...De,..._e,...vo};function ef(e,n,l,i){return{props:Jd,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}=Ke(r),{emitEvent:h,exposeApi:E}=Ie({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:x}=(0,$e.useFoxI18n)(n),w=x(r,["placeholder"]),b=(0,t.ref)(!1),g=ze(r,"modelValue",null,h),N=e,B=(0,t.computed)(()=>({[N]:!0,disabled:a.value,readonly:f.value})),m=(0,t.computed)(()=>({[`${N}__content`]:!0})),v=C=>{g.value=C,h("update:modelValue",C),h("change",C)};let k=ze(r,"hintText"),z=(0,t.ref)(!1);const O=C=>{let P=C.target.value;b.value=!0,ve(k.value)||(z.value=!0),h("focus",P,C)},M=C=>{setTimeout(()=>{z.value&&(z.value=!1),b.value=!1},0);let P=C.target.value;r.maxLength&&P.length>Number(r.maxLength)&&(P=P.slice(0,Number(r.maxLength))),h("blur",P,C)},A=()=>{h("clear","")},T=C=>{h("visible-change",C)},$=(0,t.ref)();E({focus:()=>{$?.value.focus()},blur:()=>{$?.value.blur()},handleOpen:()=>{$?.value.handleOpen()},handleClose:()=>{$?.value.handleClose()},setDisabled:C=>{c.value=C},setReadonly:C=>{u.value=C}});const V=(0,t.computed)(()=>{if(Ae(g.value))return"";const C=r.rangeSeparator??" - ",P=Array.isArray(g.value)?g.value:[g.value],R=[];for(let K=0;K<P.length;K++){const U=P[K];if(U==="string"&&R.push(U),U instanceof Date){const X=ot.format(U,r.format);R.push(X)}}const q=` ${C} `;return R.join(q)});return()=>{if(d.value==="on"&&(f.value||a.value))return i({modelValue:V.value,span:r.span,labelPosition:r.labelPosition,labelWidth:r.labelWidth},o.slots);const C={...o.attrs,ref:$,class:m.value,placeholder:w.placeholder.value,rangeSeparator:r.rangeSeparator,format:r.format,disabled:a.value,readonly:f.value,modelValue:g.value,"onUpdate:modelValue":v,onClear:A,onFocus:O,onBlur:M,onVisibleChange:T},P={},R=[],q=(0,t.h)(D.ElTimePicker,C,P);R.push(q);const K={default:()=>R};K.label=o.slots.default,K.fixedPreTip=o.slots.fixedPreTip,K.fixedTip=o.slots.fixedTip;const U={...Re(r,vo),ref:s,class:B.value,hintText:k.value,hintVisible:z.value};return r.prop&&(U.prop=`${r.prop}_item`),l(U,K)}}}}var{componentName:tf,create:lf,scope:af}=me("time-item"),nf=lf(ef(tf,af,je,Ue)),rn=nf,Co={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]}},rf={...De,..._e,...Co};function of(e,n,l,i){return{props:rf,emits:["change","update:modelValue","blur","focus","clear","setValue"],setup(r,o){const{itemTemplateRef:s,innerDisabled:c,disabled:a,innerReadonly:u,readonly:f,browse:d}=Ke(r),{emitEvent:h,exposeApi:E}=Ie({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:x}=(0,$e.useFoxI18n)(n),w=x(r,["placeholder"]),b=(0,t.ref)(!1),g=ze(r,"modelValue",null,h),N=e,B=(0,t.computed)(()=>({[N]:!0,disabled:a.value,readonly:f.value})),m=(0,t.computed)(()=>({[`${N}__content`]:!0})),v=V=>{g.value=V,h("update:modelValue",V),h("change",V)};let k=ze(r,"hintText"),z=(0,t.ref)(!1);const O=V=>{let C=V.target.value;b.value=!0,ve(k.value)||(z.value=!0),h("focus",C,V)},M=V=>{setTimeout(()=>{z.value&&(z.value=!1),b.value=!1},0);let C=V.target.value;r.maxLength&&C.length>Number(r.maxLength)&&(C=C.slice(0,Number(r.maxLength))),h("blur",C,V)},A=()=>{h("clear","")},T=(0,t.ref)();E({focus:()=>{T?.value.focus()},blur:()=>{T?.value.blur()},handleOpen:()=>{T?.value.handleOpen()},handleClose:()=>{T?.value.handleClose()},setDisabled:V=>{c.value=V},setReadonly:V=>{u.value=V}});const $=(0,t.computed)(()=>{if(Ae(g.value))return"";const V=r.rangeSeparator??" - ",C=Array.isArray(g.value)?g.value:[g.value],P=[];for(let q=0;q<C.length;q++){const K=C[q];if(K==="string"&&P.push(K),K instanceof Date){const U=ot.format(K,r.format);P.push(U)}}const R=` ${V} `;return P.join(R)});return()=>{if(d.value==="on"&&(f.value||a.value))return i({modelValue:$.value,span:r.span,labelPosition:r.labelPosition,labelWidth:r.labelWidth},o.slots);const V={...o.attrs,ref:T,class:m.value,placeholder:w.placeholder.value,rangeSeparator:r.rangeSeparator,foramt:r.format,disabled:a.value,readonly:f.value,modelValue:g.value,"onUpdate:modelValue":v,onClear:A,onFocus:O,onBlur:M},C={},P=[],R=(0,t.h)(D.ElTimeSelect,V,C);P.push(R);const q={default:()=>P};q.label=o.slots.default,q.fixedPreTip=o.slots.fixedPreTip,q.fixedTip=o.slots.fixedTip;const K={...Re(r,Co),ref:s,class:B.value,hintText:k.value,hintVisible:z.value};return r.prop&&(K.prop=`${r.prop}_item`),l(K,q)}}}}var{componentName:sf,create:cf,scope:uf}=me("time-select-item"),df=cf(of(sf,uf,je,Ue)),on=df;function No(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 xo(e,n,l=20){return typeof n=="string"&&(n=ke(n)),n==1||n==-1?`${e}`:n==0?"0":n>0?No(cr(`${e}`,`${n}`)):No(Ca(`${e}`,ur(`${n}`),20))}function ff(e,n=-1,l=!1,i=3,r=","){return Nl(e,ke(n),l,i,r)}function ko(e,n,l,i,r=!0){if(e==="")return"";if(e=dr(e),n=ke(n),n==1)return e;if(i)e=xo(e,n),l&&(e=="0"&&r?e=`${e}.`.padEnd(ke(l)+2,"0"):e=Ca(e,1,ke(l)));else{let o=-1*n;e=xo(e,o)}return e}function To(e,n){let l={maxValid:!0,minValid:!0,message:""};if(n.min!==void 0){let i=we(n.minInclude),r=Na(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=we(n.maxInclude),r=Na(e,n.max);(i&&r==1||!i&&(r==0||r==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]}},mf={...De,..._e,...Eo};function hf(e,n,l,i){return{props:mf,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}=Ke(r),{emitEvent:h,exposeApi:E}=Ie({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),x=(0,t.ref)(!1),w=ze(r,"modelValue",null,h),b=(0,t.ref)("");(0,t.watch)([()=>w.value,()=>r.rates,()=>r.precision],([Z,ee,H])=>{if(ve(Z)){b.value="";return}const I=ko(Z,ee,H,!1);b.value!==I&&(b.value=I)},{immediate:!0});const g=(0,t.computed)(()=>{let Z="";return x.value&&(Z=b.value),Z}),{t:N}=(0,$e.useFoxI18n)(n),B=(0,t.computed)(()=>{let Z=r.placeholder??"";return!x.value&&!ve(b.value)?Z=ff(b.value,r.decimalLength,r.autoPadding,r.digits,r.separator):Z=N(["placeholder",Z]),Z}),m=e,v=(0,t.computed)(()=>({[m]:!0,disabled:a.value,readonly:f.value})),k=(0,t.computed)(()=>({[`${m}__content`]:!0,[`${m}__placeholder`]:b.value.length>0})),z=Fe((0,t.computed)(()=>r.textAlign),"textAlign"),O=(0,t.computed)(()=>x.value?{textAlign:"left"}:{textAlign:z.value??"right"}),M=(0,t.ref)(""),A=(0,t.computed)(()=>{let Z=M.value;return ve(Z)&&(Z=r.errorTip??""),Z}),T=(0,t.ref)(""),$=(0,t.ref)(!1),V=(Z,ee)=>{if(Z=`${Z}`,ve(Z)){b.value="",w.value="",ee.forEach(H=>{h(H,"")}),we(r.showTip)&&$.value&&($.value=!1);return}if(Z.length>=2){let H=Z;if(H.charAt(0)=="-"&&(H=H.substring(1)),H.length>=2&&H.charAt(0)=="0"&&H.charAt(1)!="."){(0,t.triggerRef)(b);return}}if(Z!="-"){if(!Va(Z)){(0,t.triggerRef)(b);return}if(r.integerLength!=-1&&br(Z)>Number(r.integerLength)){(0,t.triggerRef)(b);return}if(r.decimalLength&&r.decimalLength!=-1&&Sr(Z)>Number(r.decimalLength)){(0,t.triggerRef)(b);return}let H=To(Z,r);if(H.maxValid===!1){M.value=H.message,(0,t.triggerRef)(b);return}}else if(r.min!=null&&ke(r.min)>=0){(0,t.triggerRef)(b);return}T.value=Z,we(r.showTip)&&($.value=Z.length>0),b.value=Z,w.value=ko(Z,r.rates,r.precision,!0),ee.forEach(H=>{h(H,w.value)})},C=Z=>{V(Z,["update:modelValue","input"])},P=Z=>{V(Z,["update:modelValue","change"])},R=Z=>{if(x.value=!0,we(r.showTip)){let ee=b.value;ve(ee)&&(ee=r.hintText),ve(ee)||(T.value=ee,$.value=!0)}M.value="",h("focus",w.value,Z)},q=Z=>{if(setTimeout(()=>{x.value=!1,we(r.showTip)&&$.value===!0&&($.value=!1)},0),!ve(b.value)){let ee=To(b.value,r);if(ee.minValid===!1||ee.maxValid===!1){M.value=ee.message;return}}h("update:modelValue",w.value,Z),h("blur",w.value,Z)},K=()=>{h("clear","")},U=(0,t.computed)(()=>ht(r.unit)>0),X=(0,t.ref)();E({focus:()=>{X?.value.focus()},blur:()=>{X?.value.blur()},select:()=>{X?.value.select()},setDisabled:Z=>{c.value=Z},setReadonly:Z=>{u.value=Z}});const ae=()=>w.value?B.value:w.value;return()=>{if(d.value==="on"&&(f.value||a.value))return i({modelValue:ae(),unit:r.unit,span:r.span,labelPosition:r.labelPosition,labelWidth:r.labelWidth},o.slots);const Z={...rt(o.attrs),ref:X,class:k.value,style:O.value,type:"digit",maxlength:r.maxLength,placeholder:B.value,clearable:r.clearable,disabled:a.value,readonly:f.value,modelValue:g.value,"adjust-position":r.adjustPosition,"always-system":r.alwaysSystem,onClear:K,onInput:C,onChange:P,onFocus:R,onBlur:q},ee={};o.slots.prepend&&(ee.prepend=o.slots.prepend),o.slots.append&&(ee.append=o.slots.append),o.slots.prefix&&(ee.prefix=o.slots.prefix),o.slots.suffix?ee.suffix=o.slots.suffix:U.value&&(ee.suffix=()=>[r.unit]);const H=[],I=(0,t.h)(D.ElInput,Z,ee);H.push(I);const _={default:()=>H};_.label=o.slots.default,_.fixedPreTip=o.slots.fixedPreTip,_.fixedTip=o.slots.fixedTip;const te={...Re(r,Eo),ref:s,class:v.value,errorTip:A.value,hintText:T.value,hintVisible:$.value,hintType:"number"};return r.prop&&(te.prop=`${r.prop}_item`),l(te,_)}}}}var{componentName:pf,create:gf,scope:yf}=me("money-item"),bf=gf(hf(pf,yf,je,Ue)),sn=bf,zo={modelValue:{type:[String,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]}},Sf={...De,..._e,...zo};function wf(e,n,l,i){return{props:Sf,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}=Ke(r),{emitEvent:h,exposeApi:E}=Ie({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:x}=(0,$e.useFoxI18n)(n),w=x(r,["placeholder"]),b=(0,t.ref)(!1),g=ze(r,"modelValue",null,h),N=e,B=(0,t.computed)(()=>({[N]:!0,disabled:a.value,readonly:f.value})),m=(0,t.computed)(()=>({[`${N}__content`]:!0,[`${N}__append`]:V.value})),v=(0,t.computed)(()=>({[`${N}__unit`]:!0})),k=P=>{g.value=P,h("update:modelValue",P),h("input",P)},z=P=>{h("change",P)};let O=ze(r,"hintText"),M=(0,t.ref)(!1);const A=P=>{let R=P.target.value;b.value=!0,ve(O.value)||(M.value=!0),h("focus",R,P)},T=P=>{setTimeout(()=>{M.value&&(M.value=!1),b.value=!1},0);let R=P.target.value;r.maxLength&&R.length>Number(r.maxLength)&&(R=R.slice(0,Number(r.maxLength))),h("blur",R,P)},$=()=>{h("clear","")},V=(0,t.computed)(()=>ht(r.unit)>0),C=(0,t.ref)();return E({focus:()=>{C?.value.focus()},blur:()=>{C?.value.blur()},setDisabled:P=>{c.value=P},setReadonly:P=>{u.value=P}}),()=>{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 P={...rt(o.attrs),ref:C,class:m.value,placeholder:w.placeholder.value,clearable:r.clearable,disabled:a.value,readonly:f.value,modelValue:g.value,"adjust-position":r.adjustPosition,"always-system":r.alwaysSystem,onClear:$,onChange:z,onInput:k,onFocus:A,onBlur:T},R={},q=[],K=(0,t.h)(D.ElInputNumber,P,R);q.push(K);const U={default:()=>q};U.label=o.slots.default,U.fixedPreTip=o.slots.fixedPreTip,U.fixedTip=o.slots.fixedTip;const X={...Re(r,zo),ref:s,class:B.value,hintText:O.value,hintVisible:M.value};if(r.prop&&(X.prop=`${r.prop}_item`),o.slots.append)U.append=o.slots.append;else if(V.value){const ae=(0,t.h)("div",{class:v.value},[r.unit]);U.append=()=>ae}return l(X,U)}}}}var{componentName:vf,create:Cf,scope:Nf}=me("input-number-item"),xf=Cf(wf(vf,Nf,je,Ue)),cn=xf;function yt(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function Vt(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function kf(e,n){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?n[e.childrenKey]||null:n.children??null}var Tf=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=Je(e,this.scope);return r===null?(console.error(`[FoxUI] ${e} component not found api function`),[]):(Ze(l)&&(0,t.isReactive)(l)&&(l=(0,t.toRaw)(l)),await r(n,l,i))}};function Ef(){const e=nt();return new Tf(e)}function un(e,n,l){return!(yt(e,n)!==yt(e,l)||Vt(e,n)!==Vt(e,l))}function $o(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=$o(e,c,l,i);r.push(a)}else{let a=!1;for(let u of o){if(l==="text")a=yt(e,u)===c;else if(l==="item")a=un(e,u,c);else{let f=Vt(e,u);f==null&&(f=yt(e,u)),a=f===c}if(a){r.push(u),o=kf(e,u);break}}if(!a)break}}return r}function zf(e){return{text:e,value:e}}var Bo={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]}},$f={...De,..._e,...Bo};function Bf(e,n,l,i){return{props:$f,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}=Ke(r),{emitEvent:h,exposeApi:E}=Ie({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:x}=(0,$e.useFoxI18n)(n),w=x(r,["placeholder"]),b=(0,t.ref)(null),g=(0,t.ref)([]),N=(0,t.computed)(()=>g.value?g.value.map(G=>Array.isArray(G)?G.map(p=>yt(r,p)).join(" "):yt(r,G)).join(" "):""),B=(G,p,y,L=!0)=>{if(r.props&&r.props.lazy===!0||r.lazy===!0){if(b.value===G)return;b.value=G;const re=(0,t.toRaw)(G);if(L){const ce=se?.value.getCheckedNodes();if(ce)if(r.multiple){const ue=[];ce.forEach(fe=>{const be=(fe.pathNodes??[]).map(Ce=>Ce.data);ue.push(be)}),h("update:pathNodes",ue)}else{const ue=(ce[0]?.pathNodes??[]).map(fe=>fe.data);h("update:pathNodes",ue)}h("update:modelValue",re),h("change",re)}return}const J=$o(r,G,p,y);if(J===null){if(g.value.length===0||g.value===null)return;g.value=[],b.value=null,L&&(h("update:pathNodes",[]),h("update:modelValue",null),h("change",null));return}const ie=J[J.length-1];if(q.value.checkStrictly!==!0&&ie&&!Array.isArray(ie)&&Array.isArray(ie.children)&&ie.children.length>0){const re=[];J.forEach(ce=>{const ue=`${yt(r,ce)}`;re.push(ue)}),re.length>0&&(C.value=re.join(r.separator))}else C.value=null;let Q=!0;if(J.length!==g.value.length)Q=!1;else for(let re=0;re<J.length;re++){const ce=J[re],ue=g.value[re];if(Array.isArray(ce)){if(!Array.isArray(ue)||ce.length!==ue.length)Q=!1;else for(let fe=0;fe<ce.length;fe++)if(!un(r,ce[fe],ue[fe])){Q=!1;break}}else un(r,ce,ue)||(Q=!1);if(!Q)break}if(!Q){g.value=J;let re=[],ce=[];J.forEach(fe=>{if(Array.isArray(fe)){let be=[],Ce=[];for(let he of fe)be.push(Vt(r,he)),r.valueType==="text"?Ce.push(yt(r,he)):r.valueType==="item"?Ce.push(he):Ce.push(Vt(r,he));re.push(be),ce.push(Ce)}else re.push(Vt(r,fe)),r.valueType==="text"?ce.push(yt(r,fe)):r.valueType==="item"?ce.push(fe):ce.push(Vt(r,fe))}),b.value=re;const ue=(0,t.toRaw)(ce);L&&(h("update:pathNodes",J),h("update:modelValue",ue),h("change",ue))}},m=(0,t.ref)([]),v=Fe((0,t.computed)(()=>r.appearLoad),"appearLoad",at.Near,G=>we(G)),k=Ef(),z=async(G,p)=>{if(G){const y=await k.load("cascader",G,p);if(y.length>0)if(typeof y[0]=="string"){let L=y.map(J=>zf(J));m.value=L}else m.value=y}};(0,t.watch)([()=>r.source,()=>r.params],async([G,p])=>{z(G,p)},{immediate:!(v.value||r.lazy)});let O=!1;const M=()=>{O||(O=!0,z(r.source,r.params))};(0,t.watch)([()=>m.value,()=>r.modelValue],([G,p])=>{B(p,r.valueType,G,!1),h("setValue",p)}),r.lazy&&B(r.modelValue,"value",[],!1);let A=null,T=(0,t.ref)(!1);typeof r.remoteMethod=="function"&&(A=async G=>{if(G!=null){T.value=!0;try{const p=await r.remoteMethod(G);m.value=p}catch(p){console.error(p)}T.value=!1}});const $=(0,t.ref)(!1),V=e,C=(0,t.ref)(r.lazy?r.emptyText:null),P=(0,t.computed)(()=>({[V]:!0,"is-incomplete":C.value&&C.value.length>0,disabled:a.value,readonly:f.value})),R=(0,t.computed)(()=>({[`${V}__content`]:!0})),q=(0,t.computed)(()=>{let G={label:r.textKey,value:r.valueKey,children:r.childrenKey};return r.multiple===!0&&(G.multiple=!0),r.props&&Object.assign(G,r.props),r.lazy&&(G.lazy=!0,typeof r.lazyLoad=="function"?G.lazyLoad=r.lazyLoad:G.lazyLoad=async(p,y)=>{let L={};r.params&&Object.assign(L,r.params),p&&Object.assign(L,p);const J=await k.load("cascader",r.source,L,!0);if(p?.config?.checkStrictly!==!0&&Array.isArray(b.value)&&b.value.length===p.level){const ie=p.pathLabels??[];let Q=[];ie.forEach(re=>{re&&Q.push(re)}),Q.length>0&&(C.value=Q.join(r.separator))}else C.value=r.emptyText??null;y(J)}),G}),K=G=>{r.allowCreate?(h("update:modelValue",G),h("change",G),b.value=G):B(G,"value",m.value,!0)};let U=ze(r,"hintText"),X=(0,t.ref)(!1);const ae=G=>{let p=G.target.value;$.value=!0,ve(U.value)||(X.value=!0),h("focus",p,G)},Z=G=>{setTimeout(()=>{X.value&&(X.value=!1),$.value=!1},0);let p=G.target.value;r.maxLength&&p.length>Number(r.maxLength)&&(p=p.slice(0,Number(r.maxLength))),F.value||h("blur",p,G)},ee=()=>{h("clear","")},H=(0,t.ref)(!1);let I=null;const _=()=>{r.showTooltip&&H.value===!1&&(I&&clearTimeout(I),I=setTimeout(()=>{H.value=!0},150))},te=()=>{I&&(clearTimeout(I),H.value=!1,I=null)},ne=(0,t.computed)(()=>H.value||X.value),j=(0,t.computed)(()=>H.value?N.value:U.value),F=(0,t.ref)(!1),Y=G=>{F.value=G,h("visible-change",G),G||h("selected")},W=G=>{h("remove-tag",G)},le=G=>{h("expand-change",G)},se=(0,t.ref)();return E({focus:()=>{se?.value.focus()},blur:()=>{se?.value.blur()},getCheckedNodes:()=>se?.value.getCheckedNodes(),setDisabled:G=>{c.value=G},setReadonly:G=>{u.value=G}}),()=>{if(d.value==="on"&&(f.value||a.value))return i({modelValue:b.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 G={...o.attrs,ref:se,class:R.value,props:q.value,clearable:r.clearable,placeholder:C.value||w.placeholder.value,disabled:a.value||f.value,options:m.value,modelValue:b.value,separator:r.separator,onClear:ee,onChange:K,onFocus:ae,onBlur:Z,onVisibleChange:Y,onRemoveTag:W,expandChange:le};typeof A=="function"&&(G["remote-method"]=A,G.loading=T.value);const p={};o.slots.option&&(p.default=o.slots.option),o.slots.empty&&(p.empty=o.slots.empty);const y=[],L=(0,t.h)(D.ElCascader,G,p);y.push(L);const J={default:()=>y};J.label=o.slots.default,J.fixedPreTip=o.slots.fixedPreTip,J.fixedTip=o.slots.fixedTip;const ie={...Re(r,Bo),ref:s,class:P.value,hintText:j.value,hintVisible:ne.value,onMouseover:_,onMouseleave:te};return r.prop&&(ie.prop=`${r.prop}_item`),v.value&&!r.lazy&&(ie["appear-listen"]=!0,ie.onAppear=M),l(ie,J)}}}}var{componentName:Vf,create:Df,scope:Mf}=me("cascader-item"),Af=Df(Bf(Vf,Mf,je,Ue)),dn=Af,Vo={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]}},Pf={...De,..._e,...Vo};function If(e,n,l,i){return{props:Pf,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}=Ke(r),{emitEvent:h,exposeApi:E}=Ie({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:x}=(0,$e.useFoxI18n)(n),w=x(r,["placeholder"]),b=(0,t.ref)(!1),g=ze(r,"modelValue",null,h),N=e,B=(0,t.computed)(()=>({[N]:!0,disabled:a.value,readonly:f.value})),m=(0,t.computed)(()=>({[`${N}__content`]:!0})),v=C=>{g.value=C,h("update:modelValue",C),h("input",C)},k=C=>{h("change",C)},z=C=>{h("select",C)};let O=ze(r,"hintText"),M=(0,t.ref)(!1);const A=C=>{let P=C.target.value;b.value=!0,ve(O.value)||(M.value=!0),h("focus",P,C)},T=C=>{setTimeout(()=>{M.value&&(M.value=!1),b.value=!1},0);let P=C.target.value;r.maxLength&&P.length>Number(r.maxLength)&&(P=P.slice(0,Number(r.maxLength))),h("blur",P,C)},$=()=>{h("clear","")},V=(0,t.ref)();return E({focus:()=>{V?.value.focus()},blur:()=>{V?.value.blur()},select:()=>{V?.value.select()},setDisabled:C=>{c.value=C},setReadonly:C=>{u.value=C}}),()=>{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 C={...o.attrs,ref:V,class:m.value,placeholder:w.placeholder.value,clearable:r.clearable,disabled:a.value,readonly:f.value,modelValue:g.value,fetchSuggestions:r.fetchSuggestions,onClear:$,onChange:k,onInput:v,onFocus:A,onBlur:T,onSelect:z},P={};o.slots.prepend&&(P.prepend=o.slots.prepend),o.slots.append&&(P.append=o.slots.append),o.slots.prefix&&(P.prefix=o.slots.prefix),o.slots.suffix&&(P.suffix=o.slots.suffix),o.slots.option&&(P.default=o.slots.option);const R=[],q=(0,t.h)(D.ElAutocomplete,C,P);R.push(q);const K={default:()=>R};K.label=o.slots.default,K.fixedPreTip=o.slots.fixedPreTip,K.fixedTip=o.slots.fixedTip;const U={...Re(r,Vo),ref:s,class:B.value,hintText:O.value,hintVisible:M.value};return r.prop&&(U.prop=`${r.prop}_item`),l(U,K)}}}}var{componentName:_f,create:Lf,scope:Rf}=me("autocomplete-item"),Ff=Lf(If(_f,Rf,je,Ue)),fn=Ff;function Of(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:{...no},setup(l,{attrs:i,slots:r}){return()=>{const o={default:s=>{const c=Of(s.row,s.column.property);return r.default?(0,t.h)(Ft,{...l,modelValue:c},{default:r.default}):(0,t.h)(Ft,{...l,modelValue:c})}};for(let s in r)s!=="default"&&(o[s]=r[s]);return(0,t.h)(D.ElTableColumn,{...i},o)}}}}var{componentName:Hf,create:Kf,scope:jf}=me("table-mapping-column"),Wf=Kf(qf(Hf,jf)),mn=Wf,Yf=Symbol.for("TableStateKey");function Do(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 Uf(e,n){return{props:{prop:{type:[String],require:!1}},setup(l,{attrs:i}){const r=(0,t.inject)(Yf,{});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=Do(u,h)===(a?Do(a,h):null):f=Xe(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)(D.ElTableColumn,{...i},s)}}}}var{componentName:Gf,create:Xf,scope:Qf}=me("table-radio-column"),Zf=Xf(Uf(Gf,Qf)),hn=Zf,Jf={},e4={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 t4(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)("svg",e4,[...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 l4=Oe(Jf,[["render",t4]]),{componentName:Tp,create:a4,scope:n4}=me("table-setting"),r4={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}},o4=a4({components:{FoxPopover:D.ElPopover,FoxCheckbox:D.ElCheckbox,FoxCheckboxGroup:D.ElCheckboxGroup,FoxButton:D.ElButton,FoxIcon:D.ElIcon,DragIcon:l4,Download:Le.Download,RefreshLeft:Le.RefreshLeft},props:r4,setup(e,{emit:n,attrs:l}){const{locale:i,toLocaleRefs:r}=(0,$e.useFoxI18n)(n4),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(j=>j.label===""||j.type?!1:j.fixed===""||j.fixed===!0||j.fixed==="left")),u=(0,t.computed)(()=>c.value.filter(j=>j.label===""||j.type?!1:j.fixed==="right")),f=(0,t.computed)(()=>c.value.filter(j=>!(j.label===""||j.type||j.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),E=(0,t.computed)(()=>u.value.length>0),x=j=>j.length>1,w=(j,F)=>{Array.isArray(j)&&Array.isArray(F)&&j.forEach(W=>{F.some(le=>le.prop===W.prop?(W.label=le.label,!0):!1)});const Y=[];c.value=j.map((W,le)=>(!(W.label===""||W.type)&&W.visible!==!1&&Y.push(W.prop),{...W,sortIndex:le})),f.value.length+a.value.length+u.value.length===Y.length?v.value=!0:Y.length>0&&(k.value=!0),M.value=Y},b=j=>j?j.type?j.type:j.label?j.prop:"":"",g=(j,F)=>{if(j.length!==F.length)return!1;const Y=j.map(W=>b(W));for(let W of F){const le=b(W);if(Y.indexOf(le)===-1)return!1}return!0},N=j=>{if(!j){const F=e.tableRef.getColumnSetting(),Y=F.srcColumnPropertyList;s=Y.map((W,le)=>({...W,sortIndex:le})),j=F.columnPropertyList,j&&j.length>0&&g(Y,j)||(j=Y)}w(j,s)},B=()=>{e.tableRef.setColumnSetting(c.value)},m=(0,t.computed)(()=>({"max-width":`${Se(e.popoverWidth)-125}px`})),v=(0,t.ref)(!1),k=(0,t.ref)(!1),z=j=>{const F=[];c.value.forEach(Y=>{j&&!(Y.label===""||Y.type)&&F.push(Y.prop),Y.visible=j}),v.value=!1,k.value=!1,f.value.length+a.value.length+u.value.length===F.length?v.value=!0:F.length>0&&(k.value=!0),M.value=F,B()},O=()=>{N(s),B()},M=(0,t.ref)([]),A=j=>{c.value.forEach(Y=>{Y.label===""||Y.type||(Y.visible=j.indexOf(Y.prop)!==-1)}),v.value=!1,k.value=!1;const F=f.value.length+a.value.length+u.value.length;j.length===F?v.value=!0:j.length>0&&(k.value=!0),B()},T=()=>{N()};(0,t.onMounted)(()=>{setTimeout(()=>{N()},50)});const $={currentRow:null,index:null,roleType:null},V=j=>j?j.dataset&&j.dataset.role==="row"?j:j.tagName.toLowerCase()!=="body"?(j=j.parentElement,V(j)):null:null,C=j=>{const F=j.currentTarget;F&&F.dataset&&($.roleType=F.dataset.roleType,$.index=F.dataset.index)},P=j=>{$.currentRow&&($.currentRow.classList.remove("is-dragover"),$.currentRow=null),$.index=null,$.roleType=null},R=j=>{const F=j.currentTarget;j.relatedTarget;const Y=V(F);if(!Y)return;const W=Y.dataset&&Y.dataset.roleType;$.roleType===W&&(j.preventDefault(),$.currentRow&&$.currentRow!==Y&&$.currentRow.classList.remove("is-dragover"),Y.classList.add("is-dragover"),$.currentRow=Y)},q=j=>{j.preventDefault(),$.currentRow&&($.currentRow.classList.remove("is-dragover"),$.currentRow=null)},K=j=>{const F=j.currentTarget,Y=V(F);if(!Y)return;const W=Y.dataset&&Y.dataset.roleType;if($.roleType!==W)return;j.preventDefault();const le=Number($.index),se=Number(Y.dataset.index);if(le!==se){if(le<se){const G=c.value[le];c.value.splice(le,1),c.value.splice(se,0,G)}else{const G=c.value[le];c.value.splice(le,1),c.value.splice(se+1,0,G)}w(c.value,s),B()}},U=j=>{const F=c.value[j];F.fixed="left",B()},X=j=>{const F=c.value[j];F.fixed="right",B()},ae=j=>{const F=c.value[j];F.fixed=void 0,B()},Z=new Map;let ee=null;function H(j){const F=document.createRange();return F.setStart(j,0),F.setEnd(j,j.childNodes.length),F.getBoundingClientRect().width}return{...o,attrs:l,leftFixedColumns:a,rightFixedColumns:u,unFixedColumns:f,isShowNotFixedTitle:d,isShowLeftFixedTitle:h,isShowRightFixedTitle:E,isDraggble:x,isCheckAll:v,isIndeterminate:k,handleCheckAllChange:z,handleReset:O,checkedValue:M,handleCheckChange:A,onShow:T,onDragStart:C,onDragEnd:P,onDragOver:R,onDragLeave:q,onDrop:K,toLeftFixed:U,toRightFixed:X,toUnFixed:ae,checkboxLabelStyle:m,onMouseOverForOverflowText:(j,F,Y)=>{const W=j.currentTarget;if(W){const le=Math.floor(W.offsetWidth);if(Math.floor(H(W))>le){let se=Z.get(F);if(se){if(se===ee)return;Ye.hide(se)}se=Ye.show(W,Y,{type:"text",placement:"top",closeOnClick:!1}),se&&(Z.set(F,se),ee=se)}}},onMouseLeaveForOverflowText:(j,F)=>{const Y=Z.get(F);Y&&(Ye.hide(Y),Y===ee&&(ee=null))},onMouseOverForTip:(j,F)=>{const Y=j.currentTarget;Y&&(ee&&Ye.hide(ee),ee=Ye.show(Y,F,{type:"text",placement:"top",closeOnClick:!1}))},onMouseLeaveForTip:j=>{ee&&(Ye.hide(ee),ee=null)}}}}),i4={class:"fox-table-setting"},s4={class:"fox-table-setting__header"},c4={class:"fox-table-setting__body"},u4={key:0,class:"fox-table-setting__body-list left-fixed","data-role":"container","data-role-type":"leftFixed"},d4={key:0,class:"fox-table-setting__body-title"},f4=["data-index","draggable"],m4=["onMouseover","onMouseleave"],h4={class:"tools-item"},p4={key:1,class:"fox-table-setting__body-list not-fixed","data-role":"container","data-role-type":"unFixed"},g4={key:0,class:"fox-table-setting__body-title"},y4=["data-index","draggable"],b4=["onMouseover","onMouseleave"],S4={class:"tools-item"},w4={key:2,class:"fox-table-setting__body-list right-fixed","data-role":"container","data-role-type":"rightFixed"},v4={key:0,class:"fox-table-setting__body-title"},C4=["data-index","draggable"],N4=["onMouseover","onMouseleave"],x4={class:"tools-item"};function k4(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"),E=(0,t.resolveComponent)("FoxCheckboxGroup"),x=(0,t.resolveComponent)("FoxPopover");return(0,t.openBlock)(),(0,t.createBlock)(x,(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",i4,[(0,t.createElementVNode)("div",s4,[(0,t.createVNode)(s,{modelValue:e.isCheckAll,"onUpdate:modelValue":n[0]||(n[0]=w=>e.isCheckAll=w),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",c4,[(0,t.createVNode)(E,{modelValue:e.checkedValue,"onUpdate:modelValue":n[28]||(n[28]=w=>e.checkedValue=w),onChange:e.handleCheckChange},{default:(0,t.withCtx)(()=>[e.leftFixedColumns.length>0?((0,t.openBlock)(),(0,t.createElementBlock)("div",u4,[e.isShowLeftFixedTitle?((0,t.openBlock)(),(0,t.createElementBlock)("div",d4,(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,w=>((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:w.prop,class:"fox-table-setting__body-row","data-role":"row","data-role-type":"leftFixed","data-index":w.sortIndex,draggable:e.isDraggble(e.leftFixedColumns),onDragstart:n[5]||(n[5]=(...b)=>e.onDragStart&&e.onDragStart(...b)),onDragend:n[6]||(n[6]=(...b)=>e.onDragEnd&&e.onDragEnd(...b)),onDrop:n[7]||(n[7]=(...b)=>e.onDrop&&e.onDrop(...b)),onDragover:n[8]||(n[8]=(...b)=>e.onDragOver&&e.onDragOver(...b)),onDragleave:n[9]||(n[9]=(...b)=>e.onDragLeave&&e.onDragLeave(...b))},[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:w.prop},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("span",{onMouseover:b=>e.onMouseOverForOverflowText(b,w.prop,w.label),onMouseleave:b=>e.onMouseLeaveForOverflowText(b,w.prop),class:"checkbox-item__label",style:(0,t.normalizeStyle)(e.checkboxLabelStyle)},(0,t.toDisplayString)(w.label),45,m4)]),_:2},1032,["value"]),(0,t.createElementVNode)("div",h4,[(0,t.createVNode)(f,{onClick:b=>e.toUnFixed(w.sortIndex),onMouseover:n[1]||(n[1]=b=>e.onMouseOverForTip(b,e.unFixedText)),onMouseleave:n[2]||(n[2]=b=>e.onMouseLeaveForTip(b))},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(u)]),_:1},8,["onClick"]),(0,t.createVNode)(f,{onClick:b=>e.toRightFixed(w.sortIndex),onMouseover:n[3]||(n[3]=b=>e.onMouseOverForTip(b,e.fixedRightText)),onMouseleave:n[4]||(n[4]=b=>e.onMouseLeaveForTip(b))},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(d)]),_:1},8,["onClick"])])],40,f4))),128))])):(0,t.createCommentVNode)("",!0),e.unFixedColumns.length>0?((0,t.openBlock)(),(0,t.createElementBlock)("div",p4,[e.isShowNotFixedTitle?((0,t.openBlock)(),(0,t.createElementBlock)("div",g4,(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,w=>((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:w.prop,class:"fox-table-setting__body-row","data-role":"row","data-role-type":"unFixed","data-index":w.sortIndex,draggable:e.isDraggble(e.unFixedColumns),onDragstart:n[14]||(n[14]=(...b)=>e.onDragStart&&e.onDragStart(...b)),onDragend:n[15]||(n[15]=(...b)=>e.onDragEnd&&e.onDragEnd(...b)),onDrop:n[16]||(n[16]=(...b)=>e.onDrop&&e.onDrop(...b)),onDragover:n[17]||(n[17]=(...b)=>e.onDragOver&&e.onDragOver(...b)),onDragleave:n[18]||(n[18]=(...b)=>e.onDragLeave&&e.onDragLeave(...b))},[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:w.prop},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("span",{onMouseover:b=>e.onMouseOverForOverflowText(b,w.prop,w.label),onMouseleave:b=>e.onMouseLeaveForOverflowText(b,w.prop),class:"checkbox-item__label",style:(0,t.normalizeStyle)(e.checkboxLabelStyle)},(0,t.toDisplayString)(w.label),45,b4)]),_:2},1032,["value"]),(0,t.createElementVNode)("div",S4,[(0,t.createVNode)(f,{onClick:b=>e.toLeftFixed(w.sortIndex),onMouseover:n[10]||(n[10]=b=>e.onMouseOverForTip(b,e.fixedLeftText)),onMouseleave:n[11]||(n[11]=b=>e.onMouseLeaveForTip(b)),class:"is-reverse"},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(d)]),_:1},8,["onClick"]),(0,t.createVNode)(f,{onClick:b=>e.toRightFixed(w.sortIndex),onMouseover:n[12]||(n[12]=b=>e.onMouseOverForTip(b,e.fixedRightText)),onMouseleave:n[13]||(n[13]=b=>e.onMouseLeaveForTip(b))},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(d)]),_:1},8,["onClick"])])],40,y4))),128))])):(0,t.createCommentVNode)("",!0),e.rightFixedColumns.length>0?((0,t.openBlock)(),(0,t.createElementBlock)("div",w4,[e.isShowRightFixedTitle?((0,t.openBlock)(),(0,t.createElementBlock)("div",v4,(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,w=>((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:w.prop,class:"fox-table-setting__body-row","data-role":"row","data-role-type":"rightFixed","data-index":w.sortIndex,draggable:e.isDraggble(e.rightFixedColumns),onDragstart:n[23]||(n[23]=(...b)=>e.onDragStart&&e.onDragStart(...b)),onDragend:n[24]||(n[24]=(...b)=>e.onDragEnd&&e.onDragEnd(...b)),onDrop:n[25]||(n[25]=(...b)=>e.onDrop&&e.onDrop(...b)),onDragover:n[26]||(n[26]=(...b)=>e.onDragOver&&e.onDragOver(...b)),onDragleave:n[27]||(n[27]=(...b)=>e.onDragLeave&&e.onDragLeave(...b))},[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:w.prop},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("span",{onMouseover:b=>e.onMouseOverForOverflowText(b,w.prop,w.label),onMouseleave:b=>e.onMouseLeaveForOverflowText(b,w.prop),class:"checkbox-item__label",style:(0,t.normalizeStyle)(e.checkboxLabelStyle)},(0,t.toDisplayString)(w.label),45,N4)]),_:2},1032,["label"]),(0,t.createElementVNode)("div",x4,[(0,t.createVNode)(f,{onClick:b=>e.toUnFixed(w.sortIndex),onMouseover:n[19]||(n[19]=b=>e.onMouseOverForTip(b,e.unFixedText)),onMouseleave:n[20]||(n[20]=b=>e.onMouseLeaveForTip(b))},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(u)]),_:1},8,["onClick"]),(0,t.createVNode)(f,{onClick:b=>e.toLeftFixed(w.sortIndex),onMouseover:n[21]||(n[21]=b=>e.onMouseOverForTip(b,e.fixedLeftText)),onMouseleave:n[22]||(n[22]=b=>e.onMouseLeaveForTip(b)),class:"is-reverse"},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(d)]),_:1},8,["onClick"])])],40,C4))),128))])):(0,t.createCommentVNode)("",!0)]),_:1},8,["modelValue","onChange"])])])]),_:3},16,["placement","width","onShow"])}var ea=Oe(o4,[["render",k4]]),T4=/scroll|auto|overlay/i,Mo=window;function E4(e){return e.tagName!=="HTML"&&e.tagName!=="BODY"&&e.nodeType===1}function Ao(e,n=Mo){let l=e;for(;l&&l!==n&&E4(l);){const{overflowY:i}=window.getComputedStyle(l);if(T4.test(i))return l;l=l.parentNode}return n}function Po(e,n=Mo){const l=(0,t.ref)();return(0,t.onMounted)(()=>{e.value&&(l.value=Ao(e.value,n))}),l}var Io=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,z4=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=Je(e,this.scope);return c===null?(console.error(`[FoxUI]${e} component not found api function`),{totalSize:0,page:[]}):(Ze(r)&&(0,t.isReactive)(r)&&(r=(0,t.toRaw)(r)),await Reflect.apply(c,null,[n,l,i,r,o,s]))}};function $4(){const e=nt();return new z4(e)}var B4=class{scope;constructor(e){this.scope=e}async load(e){let n=null;const l=Je("tableSetting",this.scope);return typeof l=="function"&&(n=await Reflect.apply(l,null,["load",e])),n}save(e,n){const l=Je("tableSetting",this.scope);typeof l=="function"&&Reflect.apply(l,null,["save",e,n])}remove(e){const n=Je("tableSetting",this.scope);typeof n=="function"&&Reflect.apply(n,null,["remove",e])}};function _o(){const e=nt();return new B4(e)}var V4=Symbol.for("TableStateKey"),Lo={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"}},Ro={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}},pn={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}},D4={infiniteLoad:{type:Boolean,default:()=>!0},loadText:{type:String},noMoreText:{type:String}};function M4(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 gn(e,n){return e.filter(l=>{for(let i in n)if(n[i]!==M4(l,i))return!1;return!0})}var A4={...De,..._e,...Lo,...Ro,...pn,...D4};function P4(e,n,l){return{props:A4,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,$e.useFoxI18n)(n),c=s(i,["loadText","noMoreText"]),a=(0,t.ref)(),{emitEvent:u,broadcast:f,exposeApi:d}=Ie({componentName:e,validateHandler:{getValue(...oe){return $.value}},get props(){return i},context:r,get templateRefProxy(){return a.value}},i.prop??r.attrs.name),h=e,E=(0,t.computed)(()=>({[h]:!0})),x=(0,t.computed)(()=>({[`${h}__content`]:!0})),w=(0,t.computed)(()=>({[`${h}__setting`]:!0})),b=(0,t.computed)(()=>({[`${h}__footer`]:!0,[`${h}__footer__${i.footerAlign}`]:!0})),g=(0,t.computed)(()=>({[`${h}__pagination`]:!0,[`${h}__pagination__${i.paginationAlign}`]:!0})),N=(0,t.shallowRef)({}),B=(0,t.computed)(()=>({...N.value,...i.params??{},...i.baseParams??{}})),m=we(i.infiniteLoad),v=(0,t.ref)(m?0:i.pageIndex??1),k=(0,t.ref)(ke(i.pageSize));m||((0,t.watch)(()=>i.pageIndex,oe=>{v.value=oe}),(0,t.watch)(()=>i.pageSize,oe=>{k.value=ke(oe)}),(0,t.watch)([v,k],([oe,de],[pe,ge])=>{const Me=ke(de);Me!==ke(ge)&&(v.value=1,oe=1),q(i.data,oe,Me,B.value)}));const z=()=>Array.isArray(i.data)||!i.data?!0:we(i.autoLoad);z()&&((0,t.watch)(()=>B.value,async(oe,de)=>{z()&&(Xe(oe,de)||(m?X():v.value===1?q(i.data,v.value,k.value,oe):v.value=1))},{deep:!0}),(0,t.watch)(()=>i.data,oe=>{z()&&(m?X():v.value===1?q(oe,v.value,k.value,B.value):v.value=1)},{deep:!1}));const O=oe=>{v.value=oe,u("page-index-change",oe)},M=oe=>{k.value=oe,u("page-size-change",oe)},A=(0,t.ref)(!0),T=(0,t.ref)(0),$=(0,t.ref)([]),V=()=>Array.isArray($.value)?$.value.length:0,C=$4();let P=!0;const R=Fe((0,t.computed)(()=>i.appearLoad),"appearLoad",at.Near,oe=>we(oe)),q=async(oe,de,pe,ge,Me)=>{try{if(Me===!0){if(!A.value)return!1;const Ve=await C.load("table",oe,de,pe,ge,P,o.value);return T.value=Ve?.totalSize??0,!Ve.page||!Array.isArray(Ve.page)?(A.value=!1,!1):(Reflect.apply([].push,$.value,Ve.page),setTimeout(()=>{u("loaded-data")},250),(($.value?.length??0)>=T.value||Ve.page.length<pe)&&(A.value=!1),!0)}else{const Ve=await C.load("table",oe,de,pe,ge,P,o.value);return T.value=Ve?.totalSize??0,$.value=Ve?.page??[],setTimeout(()=>{u("loaded-data")},250),!0}}catch(Ve){console.error("[FoxUI] Load Table Data Fail",Ve),T.value=0,$.value=[]}finally{P=!1}return!1};let K=!1;const U=async()=>{try{if(K)return;K=!0;const oe=v.value+1;await q(i.data,oe,k.value,B.value,!0)&&(v.value=oe)}finally{K=!1,A.value&&setTimeout(()=>{te()&&U()},250)}},X=async(oe=!1)=>{if(K!==!0){K=!0;try{if(oe&&v.value>0){v.value=v.value-1;const pe=v.value*k.value,ge=$.value.length-pe;$.value.splice(pe,ge)}else v.value=0,$.value=[];A.value=!0;const de=v.value+1;await q(i.data,de,k.value,B.value,!0)&&(v.value=de)}finally{K=!1}}},ae=async(oe={},de=!1)=>{if(N.value={...(0,t.toRaw)(oe??{})},m)return X();try{if(K===!0)return;K=!0,de||(v.value=i.pageIndex??1),await q(i.data,v.value,k.value,B.value)}finally{K=!1}},Z=async(oe={},de=100)=>new Promise((pe,ge)=>{setTimeout(async()=>{try{await ae(oe),pe()}catch(Me){ge(Me)}},de)}),ee=()=>{T.value=0,$.value=[],m===!0&&(v.value=0,A.value=!0)};let H=!1;const I=()=>{H||(H=!0,ae())};let _=null;const te=()=>{if(!_&&j.value&&(_=Ao(j.value,qe.value.$el)),!_)return!1;const oe=j.value.getBoundingClientRect(),de=_.getBoundingClientRect();return oe.top<de.bottom&&oe.bottom>de.top};let ne=!1;const j=(0,t.ref)(null),F=(0,t.ref)(!1);if(m===!0){let oe=null;const de=()=>{j.value&&(oe=new IntersectionObserver(ge=>{ge.some(Me=>Me.isIntersecting)&&P===!1&&U()}),oe.observe(j.value),ne=!0)},pe=()=>{oe&&(j.value&&oe.unobserve(j.value),oe.disconnect(),oe=null),ne=!1};(0,t.onMounted)(()=>{F.value=!0}),(0,t.watch)([()=>j.value,()=>F.value],([ge,Me])=>{ge&&Me&&!oe&&de()}),(0,t.onBeforeUnmount)(pe)}z()&&!R.value&&ae();const Y=(0,t.ref)(null);(0,t.provide)(V4,{currentRow:Y});const W=(oe,de)=>{Y.value=oe,u("current-change",oe,de)},le=(oe,de,pe)=>{u("row-click",oe,de,pe),we(i.rowClickSelectable)===!0&&qe?.value.toggleRowSelection(oe)},se=[],G=(oe,de)=>{if(u("expand-change",oe,de),we(i.uniqueExpansion))if(Array.isArray(de)&&de.length==0){const pe=se.length;se.splice(0,pe)}else{se.forEach(ge=>{ge!==oe&&qe?.value.toggleRowExpansion(ge,!1)});const pe=se.length;se.splice(0,pe,oe)}},p=r.attrs.id??i.prop??r.attrs.name,y=_o(),L=(0,t.ref)([]);let J=[];const ie=()=>({srcColumnPropertyList:J.map(oe=>({...oe})),columnPropertyList:L.value}),Q=oe=>{L.value=[...oe],ce()},re=async()=>{const oe=await y.load(p);oe&&(L.value=oe)},ce=()=>{y.save(p,L.value)},ue=()=>{y.remove(p)};re();const fe=oe=>oe?oe.type?oe.type:oe.label?oe.prop:"":"",be=(oe,de={})=>{for(let pe in de){const ge=de[pe];typeof ge!="function"&&(oe[pe]=ge)}},Ce=oe=>{const de=oe?oe():[],pe=new Map;if(J=[],de.forEach(ge=>{const Me=ge;if(!Me.props)return;const Ve=fe(Me.props);pe.set(Ve,Me);const We={label:"",prop:""};be(We,Me.props),J.push(We)}),L.value.length===J.length){const ge=[];for(let Me of L.value){const Ve=fe(Me),We=pe.get(Ve);if(!We)return de;if(Me.visible===!1)continue;const st=We;st.props.fixed=Me.fixed,ge.push(st)}return ge}return de},he=(0,t.shallowRef)(new Map),Te=({row:oe,column:de,rowIndex:pe,columnIndex:ge})=>{const Me=`${pe}_${de.property}`,Ve=`${pe}_${ge}`;let We=he.value.get(Me);return We||(We=he.value.get(Ve)),typeof We=="string"?We:""},Be=oe=>oe?de=>{const pe=[];let ge=Te(de);return ge&&pe.push(ge),ge=typeof oe=="function"?oe(de):oe,ge&&pe.push(ge),pe.length===0?"":pe.join(" ")}:Te,Qe=(oe=!1)=>{he.value.forEach((de,pe)=>{Pe(pe,de,oe)})},Pe=(oe,de,pe=!1)=>{const ge=`${oe}_item`;pe?(f.clearPersistantMessage(),Array.isArray(de)?f.emitToChildren({name:oe},"setCellClassNames",[]):f.emitToChildren({name:ge},"setCustomClassName","")):Array.isArray(de)?f.emitToChildren({name:oe,cachePolicy:"Persistant",uniqueId:ge},"setCellClassNames",de):f.emitToChildren({name:ge,cachePolicy:"Persistant",uniqueId:ge},"setCustomClassName",de)},Ne=(oe,de,pe)=>{const ge=`${oe}_${de}`;pe?(he.value.set(ge,pe),Pe(ge,pe)):(he.value.delete(ge),Pe(ge,"",!0)),(0,t.triggerRef)(he)},it=oe=>{Qe(!0),he.value.clear(),oe.forEach(de=>{const pe=`${de.rowIndex}_${de.column}`;Array.isArray(de.children)?he.value.set(pe,de.children):typeof de.cellClassName=="string"&&he.value.set(pe,de.cellClassName)}),Qe(),(0,t.triggerRef)(he)},At=()=>{Qe(),he.value.clear(),(0,t.triggerRef)(he)},Tt=(0,t.shallowRef)(new Map),Et=({rowIndex:oe})=>{const de=`${oe}`;return Tt.value.get(de)??""},Pt=oe=>oe?de=>{const pe=[];let ge=Et(de);return ge&&pe.push(ge),ge=typeof oe=="function"?oe(de):oe,ge&&pe.push(ge),pe.length===0?"":pe.join(" ")}:Et,qm=(oe,de)=>{const pe=`${oe}`;de?Tt.value.set(pe,de):Tt.value.delete(pe),(0,t.triggerRef)(Tt)},Hm=()=>{Tt.value.clear(),(0,t.triggerRef)(Tt)},qe=(0,t.ref)();return d({clearSelection:()=>qe?.value.clearSelection(),getSelectionRows:()=>qe?.value.getSelectionRows(),toggleRowSelection:(oe,de)=>{qe?.value.toggleRowSelection(oe,de)},toggleRowSelectionByProp:(oe,de)=>{if(!$.value)return;const pe=gn($.value,oe);pe.length!==0&&pe.forEach(ge=>{qe?.value.toggleRowSelection(ge,de)})},toggleAllSelection:()=>{qe?.value.toggleAllSelection()},toggleRowExpansion:(oe,de)=>{qe?.value.toggleRowExpansion(oe,de)},toggleRowExpansionByProp:(oe,de)=>{if(!$.value)return;const pe=gn($.value,oe);pe.length!==0&&pe.forEach(ge=>{qe?.value.toggleRowExpansion(ge,de)})},setCurrentRow:oe=>{qe?.value.setCurrentRow(oe)},setCurrentRowByProp:oe=>{if(!$.value)return;const de=gn($.value,oe);de.length!==0&&qe?.value.setCurrentRow(de[0])},getCurrentRow:()=>Y.value,clearSort:()=>{qe?.value.clearSort()},clearFilter:oe=>{qe?.value.clearFilter(oe)},doLayout:()=>{qe?.value.doLayout()},sort:(oe,de)=>{qe?.value.sort(oe,de)},scrollTo:(oe,de)=>{qe?.value.scrollTo(oe,de)},setScrollTop:oe=>{qe?.value.setScrollTop(oe)},setScrollLeft:oe=>{qe?.value.setScrollLeft(oe)},loadData:ae,delayLoadData:Z,clearData:ee,getData(){return $.value},getTotalSize(){return T.value},getPageIndex(){return v.value},getPageSize(){return k.value},getColumnSetting:ie,setColumnSetting:Q,removeColumnSetting:ue,setCellClassName:Ne,setCellClassNames:it,clearCellClassName:At,setRowClassName:qm,clearRowClassName:Hm}),()=>{const oe={...rt(r.attrs),onCurrentChange:W,onRowClick:le,onExpandChange:G,data:$.value,ref:qe,class:x.value,"cell-class-name":Be(i.cellClassName),"row-class-name":Pt(i.rowClassName)},de={};if(r.slots.default&&(de.default=()=>Ce(r.slots.default)),r.slots.append&&(de.append=r.slots.append),r.slots.empty&&(de.empty=r.slots.empty),m===!0){const We=V();if(ne===!0||We>0){const st=[];if(A.value){const Gt=(0,t.h)(Le.Loading,{class:`${h}__infinite-icon`});st.push(Gt);const lr=(0,t.h)("span",{class:`${h}__infinite-text`},[c.loadText.value]);st.push(lr)}else{let Gt=c.noMoreText.value;(!$.value||$.value.length===0)&&(Gt="");const lr=(0,t.h)("span",{class:`${h}__infinite-text`},[Gt]);st.push(lr)}const ma=[`${h}__infinite`];P&&ma.push("is-hide");const tr=(0,t.h)("div",{ref:j,class:ma},st);de.append=()=>tr}}const pe=(0,t.h)(D.ElTable,oe,de),ge=[];if(ge.push(pe),!m){let We=null;if(typeof r.slots.pagination=="function"?We=r.slots.pagination():i.showPagination&&(We=(0,t.h)(D.ElPagination,{class:g.value,total:T.value,pageSize:k.value,"onUpdate:pageSize":M,pageSizes:i.pageSizes,currentPage:v.value,"onUpdate:currentPage":O,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 st=[];We&&st.push(We);const ma=(0,t.h)(D.ElIcon,{class:w.value},{default:()=>(0,t.h)(Le.Setting)}),tr=(0,t.h)(ea,{...pt(i,pn),tableRef:{getColumnSetting:ie,setColumnSetting:Q,removeColumnSetting:ue}},{default:()=>ma});st.push(tr);const Gt=(0,t.h)("div",{class:b.value},st);ge.push(Gt)}else We&&ge.push(We)}const Me={default:()=>ge},Ve={...Re(i,Lo,Ro,pn),ref:a};return i.prop&&(Ve.prop=`${i.prop}_item`),Ve.class=E.value,Ve.contentClass=`${h}__wrap`,Ve.errorMarkClass="is-table-error",R.value&&z()&&(Ve["appear-listen"]=!0,Ve.onAppear=I),l(Ve,Me)}}}}var{componentName:I4,create:_4,scope:L4}=me("table-item"),R4=_4(P4(I4,L4,je)),yn=R4;function Ht(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function fl(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function F4(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}var O4=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=Je(e,this.scope);return i===null?(console.error(`[FoxUI]${e} component not found api function`),[]):(Ze(l)&&(0,t.isReactive)(l)&&(l=(0,t.toRaw)(l)),await i(n,l))}};function q4(){const e=nt();return new O4(e)}function Fo(e,n,l){return n===l?!0:!(n===null||l===null||Ht(e,n)!==Ht(e,l)||fl(e,n)!==fl(e,l))}function H4(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=Ht(e,o)===n;else if(l==="item")s=Fo(e,o,n);else{let c=fl(e,o);c==null&&(c=Ht(e,o)),s=c===n}if(s){r=o;break}}return r}function K4(e){return{text:e,value:e}}function j4(e,n,l){return typeof e.itemOptions=="function"?e.itemOptions(n,l):e.itemOptions}var Oo={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}},W4={...De,..._e,...Oo};function Y4(e,n,l,i){return{inheritAttrs:!0,props:W4,emits:["change","update:modelValue","setValue"],setup(r,o){const{itemTemplateRef:s,innerDisabled:c,disabled:a,innerReadonly:u,readonly:f,browse:d}=Ke(r),{emitEvent:h,exposeApi:E}=Ie({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),x=(0,t.ref)(null),w=(0,t.ref)(null),b=(C,P,R,q=!0)=>{const K=H4(r,C,P,R);if(K===null){if(w.value===null)return;w.value=null,x.value=null,q&&(h("update:modelValue",null),h("change",null));return}if(!Fo(r,K,w.value)){x.value=C;const U=(0,t.toRaw)(K);w.value=U;let X=null;r.valueType==="text"?X=Ht(r,U):r.valueType==="item"?X=U:X=fl(r,U),q&&(h("update:modelValue",X),h("change",X))}},g=(0,t.ref)([]),N=Fe((0,t.computed)(()=>r.appearLoad),"appearLoad",at.Near,C=>we(C)),B=q4(),m=async(C,P)=>{if(C){const R=await B.load("radio",C,P);if(R.length>0)if(typeof R[0]=="string"){let q=R.map(K=>K4(K));g.value=q}else g.value=R}};(0,t.watch)([()=>r.source,()=>r.params],async([C,P])=>{m(C,P)},{immediate:!N.value});let v=!1;const k=()=>{v||(v=!0,m(r.source,r.params))};(0,t.watch)([()=>g.value,()=>r.modelValue],([C,P])=>{b(P,r.valueType,C,!1),h("setValue",P)});const z=e,O=(0,t.computed)(()=>({[z]:!0,disabled:a.value,readonly:f.value})),M=(0,t.computed)(()=>({[`${z}__content`]:!0,[`is-${r.direction}`]:!0})),A=C=>{b(C,"value",g.value,!0)};let T=ze(r,"hintText"),$=ze(r,"hintVisible");const V=(C,P)=>{typeof r.sourceFilter=="function"&&(C=C.filter(r.sourceFilter));const R=[];return C.forEach((q,K)=>{const U=fl(r,q),X=Ht(r,q);let ae=F4(r,q);a.value===!0&&(ae=a.value),f.value===!0&&(ae=f.value);const Z=j4(r,q,K)??{},ee=`${U}_${K}`,H={...Z,key:ee,value:U,size:r.size,border:we(r.border)};ae&&(H.disabled=ae),r.itemType==="button"?R.push((0,t.h)(D.ElRadioButton,H,{default:()=>[X]})):typeof P=="function"?R.push((0,t.h)(D.ElRadio,H,{default:()=>P(q)})):R.push((0,t.h)(D.ElRadio,H,{default:()=>[X]}))}),R};return E({setDisabled:C=>{c.value=C},setReadonly:C=>{u.value=C}}),()=>{if(d.value==="on"&&(f.value||a.value))return i({modelValue:x.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 C={...rt(o.attrs),class:M.value,disabled:a.value||f.value,modelValue:x.value,"text-color":r.textColor,fill:r.fill,onChange:A},P=[],R={};o.slots.options?R.default=o.slots.options:R.default=()=>V(g.value,o.slots.text);const q=(0,t.h)(D.ElRadioGroup,C,R);P.push(q);const K={default:()=>P};K.label=o.slots.default,K.fixedPreTip=o.slots.fixedPreTip,K.fixedTip=o.slots.fixedTip;const U={...Re(r,Oo),ref:s,class:O.value,hintText:T.value,hintVisible:$.value};return r.prop&&(U.prop=`${r.prop}_item`),N.value&&(U["appear-listen"]=!0,U.onAppear=k),l(U,K)}}}}var{componentName:U4,create:G4,scope:X4}=me("radio-item"),Q4=G4(Y4(U4,X4,je,Ue)),bn=Q4;function Kt(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function jt(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function Z4(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}var J4=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=Je(e,this.scope);return i===null?(console.error(`[FoxUI]${e} component not found api function`),[]):(Ze(l)&&(0,t.isReactive)(l)&&(l=(0,t.toRaw)(l)),await i(n,l))}};function e3(){const e=nt();return new J4(e)}function qo(e,n,l){return n===l?!0:!(n===null||l===null||Kt(e,n)!==Kt(e,l)||jt(e,n)!==jt(e,l))}function t3(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=Kt(e,s)===o;else if(l==="item")c=qo(e,s,o);else{let a=jt(e,s);a==null&&(a=Kt(e,s)),c=a===o}if(c){r.push(s);break}}}),r}function l3(e){return{text:e,value:e}}function a3(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:", "}},n3={...De,..._e,...Ho};function r3(e,n,l,i){return{inheritAttrs:!0,props:n3,emits:["change","update:modelValue","setValue"],setup(r,o){const{itemTemplateRef:s,innerDisabled:c,disabled:a,innerReadonly:u,readonly:f,browse:d}=Ke(r),{emitEvent:h,exposeApi:E}=Ie({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),x=(0,t.ref)([]),w=(0,t.ref)([]),b=(C,P,R,q=!0)=>{const K=t3(r,C,P,R);if(K===null){if(w.value===null||w.value.length===0)return;x.value=[],w.value=[],q&&(h("update:modelValue",[]),h("change",[]));return}let U=!0;if(K.length!==w.value.length)U=!1;else for(let X=0;X<K.length;X++){const ae=K[X],Z=w.value[X];if(!qo(r,ae,Z)){U=!1;break}}if(!U){w.value=K;let X=[],ae=[];K.forEach(ee=>{X.push(jt(r,ee)),r.valueType==="text"?ae.push(Kt(r,ee)):r.valueType==="item"?ae.push(ee):ae.push(jt(r,ee))}),x.value=X;const Z=(0,t.toRaw)(ae);q&&(h("update:modelValue",Z),h("change",Z))}},g=(0,t.ref)([]),N=Fe((0,t.computed)(()=>r.appearLoad),"appearLoad",at.Near,C=>we(C)),B=e3(),m=async(C,P)=>{if(C){const R=await B.load("checkbox",C,P);if(R.length>0)if(typeof R[0]=="string"){let q=R.map(K=>l3(K));g.value=q}else g.value=R}};(0,t.watch)([()=>r.source,()=>r.params],async([C,P])=>{m(C,P)},{immediate:!N.value});let v=!1;const k=()=>{v||(v=!0,m(r.source,r.params))};(0,t.watch)([()=>g.value,()=>r.modelValue],([C,P])=>{b(P,r.valueType,C,!1),h("setValue",P)});const z=e,O=(0,t.computed)(()=>({[z]:!0,disabled:a.value,readonly:f.value})),M=(0,t.computed)(()=>({[`${z}__content`]:!0,[`is-${r.direction}`]:!0})),A=C=>{b(C,"value",g.value,!0)};let T=ze(r,"hintText"),$=ze(r,"hintVisible");const V=(C,P)=>{typeof r.sourceFilter=="function"&&(C=C.filter(r.sourceFilter));const R=[];return C.forEach((q,K)=>{const U=jt(r,q),X=Kt(r,q);let ae=Z4(r,q);a.value===!0&&(ae=a.value),f.value===!0&&(ae=f.value);const Z=a3(r,q,K)??{},ee=`${U}_${K}`,H={...Z,key:ee,value:U,size:r.size,border:we(r.border)};ae&&(H.disabled=ae),r.itemType==="button"?R.push((0,t.h)(D.ElCheckboxButton,H,{default:()=>[X]})):typeof P=="function"?R.push((0,t.h)(D.ElCheckbox,H,{default:()=>P(q)})):R.push((0,t.h)(D.ElCheckbox,H,{default:()=>[X]}))}),R};return E({setDisabled:C=>{c.value=C},setReadonly:C=>{u.value=C}}),()=>{if(d.value==="on"&&(f.value||a.value))return i({modelValue:x.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 C={...rt(o.attrs),class:M.value,disabled:a.value||f.value,modelValue:x.value,"text-color":r.textColor,fill:r.fill,max:ke(r.max),min:ke(r.min),onChange:A},P=[],R={};o.slots.options?R.default=o.slots.options:R.default=()=>V(g.value,o.slots.text);const q=(0,t.h)(D.ElCheckboxGroup,C,R);P.push(q);const K={default:()=>P};K.label=o.slots.default,K.fixedPreTip=o.slots.fixedPreTip,K.fixedTip=o.slots.fixedTip;const U={...Re(r,Ho),ref:s,class:O.value,hintText:T.value,hintVisible:$.value};return r.prop&&(U.prop=`${r.prop}_item`),N.value&&(U["appear-listen"]=!0,U.onAppear=k),l(U,K)}}}}var{componentName:o3,create:i3,scope:s3}=me("checkbox-item"),c3=i3(r3(o3,s3,je,Ue)),Sn=c3,Ko={modelValue:{type:[Number,String],required:!1}},u3={...De,..._e,...Ko};function d3(e,n,l,i){return{props:u3,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}=Ke(r),{emitEvent:h,exposeApi:E}=Ie({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),x=ze(r,"modelValue",k=>ke(k),h),w=e,b=(0,t.computed)(()=>({[w]:!0,disabled:a.value,readonly:f.value})),g=(0,t.computed)(()=>({[`${w}__content`]:!0})),N=k=>{h("update:modelValue",k),h("change",k)};let B=ze(r,"hintText"),m=(0,t.ref)(!1);const v=(0,t.ref)();return E({setDisabled:k=>{c.value=k},setReadonly:k=>{u.value=k}}),()=>{if(d.value==="on"&&(f.value||a.value))return i({modelValue:x.value,span:r.span,labelPosition:r.labelPosition,labelWidth:r.labelWidth},o.slots);const k={...rt(o.attrs),ref:v,class:g.value,readonly:f.value||a.value,modelValue:x.value,onChange:N},z={},O=[],M=(0,t.h)(D.ElRate,k,z);O.push(M);const A={default:()=>O};A.label=o.slots.default,A.fixedPreTip=o.slots.fixedPreTip,A.fixedTip=o.slots.fixedTip;const T={...Re(r,Ko),ref:s,class:b.value,hintText:B.value,hintVisible:m.value};return r.prop&&(T.prop=`${r.prop}_item`),l(T,A)}}}}var{componentName:f3,create:m3,scope:h3}=me("rate-item"),p3=m3(d3(f3,h3,je,Ue)),wn=p3,jo={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}},g3={...De,..._e,...jo};function y3(e,n,l,i){return{props:g3,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}=Ke(r),{emitEvent:h,exposeApi:E}=Ie({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),x=(0,t.ref)(r.modelValue);(0,t.watch)(()=>r.modelValue,z=>{x.value!==z&&(x.value=z)});const w=e,b=(0,t.computed)(()=>({[w]:!0,disabled:a.value,readonly:f.value})),g=(0,t.computed)(()=>({[`${w}__content`]:!0})),N=z=>{x.value=z,h("update:modelValue",z),h("change",z)};let B=ze(r,"hintText"),m=ze(r,"hintVisible");const v=(0,t.ref)();E({setDisabled:z=>{c.value=z},setReadonly:z=>{u.value=z}});const k=(0,t.computed)(()=>{let z=`${x.value}`;return r.inactiveText&&x.value===r.inactiveValue?z=r.inactiveText:r.activeText&&x.value===r.activeValue&&(z=r.activeText),z});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 z={...rt(o.attrs),ref:v,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":x.value,"onUpdate:modelValue":N},O={},M=[],A=(0,t.h)(D.ElSwitch,z,O);M.push(A);const T={default:()=>M};T.label=o.slots.default,T.fixedPreTip=o.slots.fixedPreTip,T.fixedTip=o.slots.fixedTip;const $={...Re(r,jo),ref:s,class:b.value,hintText:B.value,hintVisible:m.value};return r.prop&&($.prop=`${r.prop}_item`),l($,T)}}}}var{componentName:b3,create:S3,scope:w3}=me("switch-item"),v3=S3(y3(b3,w3,je,Ue)),vn=v3,Wo={modelValue:{type:[String,Number,Boolean,Object]},data:{type:[String,Function,Array],required:!0},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"},classKey:{type:[String],required:!1,default:"class"},lazy:{type:[Boolean],required:!1},load:{type:[Function],required:!1}},C3=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=Je(e,this.scope);return o===null?(console.error(`[FoxUI]${e} component not found api function`),[]):(Ze(l)&&(0,t.isReactive)(l)&&(l=(0,t.toRaw)(l)),await o(n,l,i))}};function N3(){const e=nt();return new C3(e)}var Yo={modelValue:{type:[String,Number,Boolean,Array],required:!1},maxLength:{type:[String,Number]}},x3={...De,..._e,...Yo,...Wo};function k3(e,n,l,i){return{props:x3,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}=Ke(r),h=(0,t.ref)(!1),{emitEvent:E,exposeApi:x}=Ie({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),w=ze(r,"modelValue",null,E),b=e,g=(0,t.computed)(()=>({[b]:!0,disabled:a.value,readonly:f.value})),N=(0,t.computed)(()=>({[`${b}__content`]:!0})),B=q=>{w.value=q,E("update:modelValue",q),E("change",q)};let m=ze(r,"hintText"),v=(0,t.ref)(!1);const k=q=>{let K=q.target.value;h.value=!0,ve(m.value)||(v.value=!0),E("focus",K,q)},z=q=>{setTimeout(()=>{v.value&&(v.value=!1),h.value=!1},0);let K=q.target.value;r.maxLength&&K.length>Number(r.maxLength)&&(K=K.slice(0,Number(r.maxLength))),M.value||E("blur",K,q)},O=()=>{E("clear","")},M=(0,t.ref)(!1),A=q=>{M.value=q,E("visible-change",q),q||E("selected")},T=(0,t.ref)([]),$=N3(),V=async(q,K)=>{try{const U=await $.load("treeselect",q,K);T.value=U}catch(U){console.error(U)}};(0,t.watch)([()=>r.data,()=>r.params,()=>r.lazy],([q,K,U])=>{!q||U||V(q,K)},{immediate:!0});let C=null;r.lazy&&(typeof r.load=="function"?C=r.load:C=async(q,K)=>{let U={};r.params&&Object.assign(U,r.params),q&&Object.assign(U,q),K(await $.load("treeselect",r.data,U,!0))});let P={label:r.textKey,value:r.valueKey,children:r.childrenKey,isLeaf:r.leafKey,class:r.classKey};const R=(0,t.ref)();return x({focus:()=>{R?.value.focus()},blur:()=>{R?.value.blur()},setDisabled:q=>{c.value=q},setReadonly:q=>{u.value=q}}),()=>{if(d.value==="on"&&(f.value||a.value))return i({modelValue:w.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 q={...rt(o.attrs),ref:R,class:N.value,disabled:a.value||f.value,modelValue:w.value,"onUpdate:modelValue":B,lazy:r.lazy,props:P,onClear:O,onFocus:k,onBlur:z,onVisibleChange:A};C?q.load=C:q.data=T.value;const K={};o.slots.option&&(K.default=o.slots.option);const U=[],X=(0,t.h)(D.ElTreeSelect,q,K);U.push(X);const ae={default:()=>U};ae.label=o.slots.default,ae.fixedPreTip=o.slots.fixedPreTip,ae.fixedTip=o.slots.fixedTip;const Z={...Re(r,Yo,Wo),ref:s,class:g.value,hintText:m.value,hintVisible:v.value};return r.prop&&(Z.prop=`${r.prop}_item`),l(Z,ae)}}}}var{componentName:T3,create:E3,scope:z3}=me("tree-select-item"),$3=E3(k3(T3,z3,je,Ue)),Cn=$3,B3={},V3={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 D3(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)("svg",V3,[...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 M3=Oe(B3,[["render",D3]]),{componentName:Ep,create:A3,scope:P3}=me("group-setting"),I3={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}},_3=A3({components:{FoxPopover:D.ElPopover,FoxCheckbox:D.ElCheckbox,FoxCheckboxGroup:D.ElCheckboxGroup,FoxButton:D.ElButton,FoxIcon:D.ElIcon,DragIcon:M3,Download:Le.Download,RefreshLeft:Le.RefreshLeft},props:I3,emits:["change"],setup(e,{emit:n,attrs:l,expose:i}){const{locale:r,toLocaleRefs:o}=(0,$e.useFoxI18n)(P3),s=o(e,["title","resetText","toTopText","toBottomText"]);let c=null;const a=(0,t.ref)([]),u=_o(),f=I=>I.length>1,d=()=>{const I=[],_=[...a.value];a.value=_.map((te,ne)=>(te.visible!==!1&&I.push(te.prop),{...te,sortIndex:ne})),a.value.length===I.length?N.value=!0:I.length>0&&(B.value=!0),k.value=I},h=I=>{let _=null;if(typeof I=="string")_=document.querySelectorAll(`.fox-group[prop="${I}"] > div > .fox-item[prop]`);else if(I&&typeof I=="object"){const ne=I.$el??I;typeof ne.querySelectorAll=="function"&&(_=ne.querySelectorAll(".fox-item[prop]"))}if(!_)return[];const te=[];return _.forEach(ne=>{const j=ne.querySelector(".label--string");let F="";j&&(F=j.textContent??"");const Y=ne.getAttribute("prop")??"",W=window.getComputedStyle(ne,null).getPropertyValue("display");te.push({label:F,prop:Y,sortIndex:0,visible:W!=="none"})}),te},E=()=>{if(!c){const I=h(e.groupRef??e.groupProp);if(I.length===0)return!1;c=I}return!0},x=async(I=!1)=>{const _=await u.load(e.groupProp),te=ne=>{if(!ne||!c)return;const j=c.map(F=>({...F}));Array.isArray(_)&&_.forEach(F=>{j.some(Y=>{if(Y.prop===F.prop){const W=Y.label;return Object.assign(Y,F),Y.label=W,!0}return!1})}),a.value=j.sort((F,Y)=>F.sortIndex-Y.sortIndex),d(),I&&b(!1)};c?te(!0):Bl(E,e.initDelay,5,50,!1,te)},w=()=>{a.value=(c??[]).map(I=>({...I})),d(),b()},b=(I=!0)=>{I&&u.save(e.groupProp,a.value),n("change",a.value.map(_=>({..._})))},g=(0,t.computed)(()=>({"max-width":`${Se(e.popoverWidth)-125}px`})),N=(0,t.ref)(!1),B=(0,t.ref)(!1),m=I=>{const _=[];a.value.forEach(te=>{I&&_.push(te.prop),te.visible=I}),N.value=!1,B.value=!1,a.value.length===_.length?N.value=!0:_.length>0&&(B.value=!0),k.value=_,b()},v=()=>{w()},k=(0,t.ref)([]),z=I=>{a.value.forEach(te=>{te.visible=I.indexOf(te.prop)!==-1}),N.value=!1,B.value=!1;const _=a.value.length;I.length===_?N.value=!0:I.length>0&&(B.value=!0),b()},O=()=>{x()};(0,t.onMounted)(()=>{x(!0)});const M={currentRow:null,index:null},A=I=>I?I.dataset&&I.dataset.role==="row"?I:I.tagName.toLowerCase()!=="body"?(I=I.parentElement,A(I)):null:null,T=I=>{const _=I.currentTarget;_&&_.dataset&&(M.index=_.dataset.index)},$=I=>{M.currentRow&&(M.currentRow.classList.remove("is-dragover"),M.currentRow=null),M.index=null},V=I=>{const _=I.currentTarget;I.relatedTarget;const te=A(_);te&&(I.preventDefault(),M.currentRow&&M.currentRow!==te&&M.currentRow.classList.remove("is-dragover"),te.classList.add("is-dragover"),M.currentRow=te)},C=I=>{I.preventDefault(),M.currentRow&&(M.currentRow.classList.remove("is-dragover"),M.currentRow=null)},P=I=>{const _=I.currentTarget,te=A(_);if(!te)return;I.preventDefault();const ne=Number(M.index),j=Number(te.dataset.index);if(ne!==j){if(ne<j){const F=a.value[ne];a.value.splice(ne,1),a.value.splice(j,0,F)}else{const F=a.value[ne];a.value.splice(ne,1),a.value.splice(j+1,0,F)}d(),b()}},R=I=>{const _=a.value[I];a.value.splice(I,1),a.value.splice(0,0,_),d(),b()},q=I=>{const _=a.value[I];a.value.splice(I,1),a.value.push(_),d(),b()};i({refresh:()=>{c=null,x(!1)}});const K=new Map;let U=null;function X(I){const _=document.createRange();return _.setStart(I,0),_.setEnd(I,I.childNodes.length),_.getBoundingClientRect().width}return{...s,attrs:l,itemPropertyList:a,isDraggble:f,isCheckAll:N,isIndeterminate:B,handleCheckAllChange:m,handleReset:v,checkedValue:k,handleCheckChange:z,onShow:O,onDragStart:T,onDragEnd:$,onDragOver:V,onDragLeave:C,onDrop:P,checkboxLabelStyle:g,toTop:R,toBottom:q,onMouseOverForOverflowText:(I,_,te)=>{const ne=I.currentTarget;if(ne){const j=Math.floor(ne.offsetWidth);if(Math.floor(X(ne))>j){let F=K.get(_);if(F){if(F===U)return;Ye.hide(F)}F=Ye.show(ne,te,{type:"text",placement:"top",closeOnClick:!1}),K.set(_,F),U=F}}},onMouseLeaveForOverflowText:(I,_)=>{const te=K.get(_);te&&(Ye.hide(te),te===U&&(U=null))},onMouseOverForTip:(I,_)=>{const te=I.currentTarget;te&&(U&&Ye.hide(U),U=Ye.show(te,_,{type:"text",placement:"top",closeOnClick:!1},!0))},onMouseLeaveForTip:I=>{U&&(Ye.hide(U),U=null)}}}}),L3={class:"fox-group-setting"},R3={class:"fox-group-setting__header"},F3={class:"fox-group-setting__body"},O3={class:"fox-group-setting__body-list","data-role":"container"},q3=["data-index","draggable"],H3=["onMouseover","onMouseleave"],K3={class:"tools-item"};function j3(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",L3,[(0,t.createElementVNode)("div",R3,[(0,t.createVNode)(s,{modelValue:e.isCheckAll,"onUpdate:modelValue":n[0]||(n[0]=E=>e.isCheckAll=E),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",F3,[(0,t.createVNode)(d,{modelValue:e.checkedValue,"onUpdate:modelValue":n[10]||(n[10]=E=>e.checkedValue=E),onChange:e.handleCheckChange},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("div",O3,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.itemPropertyList,E=>((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:E.prop,class:"fox-group-setting__body-row","data-role":"row","data-index":E.sortIndex,draggable:e.isDraggble(e.itemPropertyList),onDragstart:n[5]||(n[5]=(...x)=>e.onDragStart&&e.onDragStart(...x)),onDragend:n[6]||(n[6]=(...x)=>e.onDragEnd&&e.onDragEnd(...x)),onDrop:n[7]||(n[7]=(...x)=>e.onDrop&&e.onDrop(...x)),onDragover:n[8]||(n[8]=(...x)=>e.onDragOver&&e.onDragOver(...x)),onDragleave:n[9]||(n[9]=(...x)=>e.onDragLeave&&e.onDragLeave(...x))},[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:E.prop},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("span",{onMouseover:x=>e.onMouseOverForOverflowText(x,E.prop,E.label),onMouseleave:x=>e.onMouseLeaveForOverflowText(x,E.prop),class:"checkbox-item__label",style:(0,t.normalizeStyle)(e.checkboxLabelStyle)},(0,t.toDisplayString)(E.label),45,H3)]),_:2},1032,["label"]),(0,t.createElementVNode)("div",K3,[(0,t.createVNode)(f,{onClick:x=>e.toTop(E.sortIndex),onMouseover:n[1]||(n[1]=x=>e.onMouseOverForTip(x,e.toTopText)),onMouseleave:n[2]||(n[2]=x=>e.onMouseLeaveForTip(x)),class:"is-reverse"},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(u)]),_:1},8,["onClick"]),(0,t.createVNode)(f,{onClick:x=>e.toBottom(E.sortIndex),onMouseover:n[3]||(n[3]=x=>e.onMouseOverForTip(x,e.toBottomText)),onMouseleave:n[4]||(n[4]=x=>e.onMouseLeaveForTip(x))},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(u)]),_:1},8,["onClick"])])],40,q3))),128))])]),_:1},8,["modelValue","onChange"])])])]),_:3},16,["placement","width","onShow"])}var Nn=Oe(_3,[["render",j3]]),W3={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}},Y3=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=Je(e,this.scope);return o===null?(console.error(`[FoxUI]${e} component not found api function`),[]):(Ze(l)&&(0,t.isReactive)(l)&&(l=(0,t.toRaw)(l)),await o(n,l,i))}};function U3(){const e=nt();return new Y3(e)}var G3={...Ga,...W3};function X3(e,n,l){return{props:G3,setup(i,r){const o=e,s=(0,t.computed)(()=>({[o]:!0})),c=(0,t.computed)(()=>({[`${o}__content`]:!0})),a=(0,t.ref)([]),u=U3(),f=async(m,v)=>{try{const k=await u.load("tree",m,v);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:we(i.autoLoad))&&(0,t.watch)([()=>i.data,()=>h.value],([m,v])=>{m&&f(m,v)},{immediate:!0,deep:!0});let x=null;i.lazy&&(typeof i.load=="function"?x=i.load:x=async(m,v)=>{let k={};i.params&&Object.assign(k,i.params),m&&Object.assign(k,m),v(await u.load("tree",i.data,k,!0))});const w={label:i.textKey,children:i.childrenKey,isLeaf:i.leafKey,class:i.classKey,disabled:i.disabledKey,...i.props??{}},b=(m={})=>new Promise(async v=>{d.value={...(0,t.toRaw)(m??{})},await f(i.data,h.value),v()}),g=function(m,v){if(typeof i.filterNodeMethod=="function")return i.filterNodeMethod(m,v);if(!i.filterKeyword)return!0;const k=`${v[w.label]}`,z=`${m}`;return k.includes(z)},N=(0,t.ref)();(0,t.watch)(()=>i.filterKeyword,m=>{N.value.filter(m)});const B=m=>(...v)=>{const k=N.value[m];return Reflect.apply(k,N.value,[...v])};return r.expose({loadData:b,filter:B("filter"),updateKeyChildren:B("updateKeyChildren"),getCheckedNodes:B("getCheckedNodes"),setCheckedNodes:B("setCheckedNodes"),getCheckedKeys:B("getCheckedKeys"),setCheckedKeys:B("setCheckedKeys"),setChecked:B("setChecked"),getHalfCheckedNodes:B("getHalfCheckedNodes"),getHalfCheckedKeys:B("getHalfCheckedKeys"),getCurrentKey:B("getCurrentKey"),getCurrentNode:B("getCurrentNode"),setCurrentKey:B("setCurrentKey"),setCurrentNode:B("setCurrentNode"),getNode:B("getNode"),remove:B("remove"),append:B("append"),insertBefore:B("insertBefore"),insertAfter:B("insertAfter")}),()=>{const m={...rt(r.attrs),class:c.value,lazy:i.lazy,props:w,nodekey:i.valueKey,ref:O=>N.value=O};x?m.load=x:m.data=a.value,m["filter-node-method"]=g;const v=[],k=(0,t.h)(D.ElTree,m,r.slots);v.push(k);const z={default:()=>v};return(0,t.h)(l,{...pt(i,Ga),class:s.value},z)}}}}var{componentName:Q3,create:Z3,scope:J3}=me("tree-item"),e5=Z3(X3(Q3,J3,Ul)),xn=e5,ta={prop:{type:[String]},poppable:{type:[Boolean],default:!1},modelValue:{type:[Array,Number,String,Object],default:()=>[]},visible:{type:[Boolean]},disabled:{type:[Boolean,String],required:!1},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 xt(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function Uo(e,n){return typeof e.subTextKey=="string"&&e.subTextKey.length>0?n[e.subTextKey]:n.text}function la(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function t5(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}function l5(e,n,l){return typeof e.itemOptions=="function"?e.itemOptions(n,l):e.itemOptions}var a5=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=Je(e,this.scope);return c===null?(console.error(`[FoxUI]${e} component not found api function`),{totalSize:0,page:[]}):(Ze(r)&&(0,t.isReactive)(r)&&(r=(0,t.toRaw)(r)),await Reflect.apply(c,null,[n,l,i,r]))}};function Go(){const e=nt();return new a5(e)}function n5(e,n,l,i,r,o,s,c,a,u,f){return{props:ta,emits:["change","update:modelValue","update:text","loaded-data","update:visible","item-click"],setup(d,h){const{emitEvent:E,exposeApi:x}=$t({context:h},d.prop),{slots:w}=h,{toLocaleRefs:b}=(0,$e.useFoxI18n)(n),g=b(d,["title","loadText","noMoreText","seachPlaceholder","confirmText"]),N="fox-actionsheet",B=(0,t.computed)(()=>({})),m=Go(),v=(0,t.ref)([]),k=(0,t.ref)(0),z=(0,t.ref)(""),O=(0,t.shallowRef)(null),M=(0,t.computed)(()=>{const Q={};return d.params&&Object.assign(Q,d.params),ve(z.value)||(Q[`${d.searchKey}`]=z.value),O.value&&Object.assign(Q,O.value),Q});let A=!0;const T=async(Q,re,ce)=>{try{if(V.value===!1)return;let ue=null;ve(z.value)||(ue=be=>{const Ce=xt(d,be);if(typeof Ce=="string"&&Ce.includes(z.value))return!0;const he=Uo(d,be);return!!(typeof he=="string"&&he.includes(z.value))});const fe=await m.load("actionsheet",Q,re,ce,M.value,A,ue??void 0);A=!1,Array.isArray(fe)?(v.value=fe,k.value=1,V.value=!1):!Array.isArray(fe.page)||fe.page.length===0?(console.warn("[FoxUI] can not load more data"),V.value=!1):(Reflect.apply([].push,v.value,fe.page),k.value=Math.ceil(v.value.length/d.pageSize),(fe.totalSize&&v.value.length>=fe.totalSize||ce<fe.page.length)&&(V.value=!1)),$.value=!1}catch(ue){console.error("[FoxUI] ActionSheet load more data fail",ue),V.value=!0,k.value=0,v.value=[]}setTimeout(()=>{E("loaded-data")},250)},$=(0,t.ref)(!1),V=(0,t.ref)(!0),C=async()=>{if(!d.source){$.value=!1;return}await T(d.source,k.value+1,d.pageSize)};let P=null;(0,t.watch)(z,(Q,re)=>{P&&(clearTimeout(P),P=null),ve(Q)&&!ve(re)&&(P=setTimeout(()=>{K()},d.searchDelayTriggerClear))});const R=()=>Array.isArray(d.source)||!d.source?!0:we(d.autoLoad),q=()=>{V.value=!0,k.value=0,v.value=[],d.source&&C()},K=()=>{q()};R()&&((0,t.watch)([()=>d.source,()=>d.pageSize,()=>d.params],async([Q,re,ce])=>{R()&&d.source&&q()}),d.source&&q());const U=(0,t.computed)(()=>!d.multiple&&d.isAutoBackFill),X=(0,t.shallowRef)([]);let ae=null;const Z=(0,t.ref)(d.visible);(0,t.watch)(()=>d.visible,Q=>{Z.value!==Q&&(Z.value=Q),Q?ae=[...X.value??[]]:ae=null});const ee=(Q,re)=>{Array.isArray(Q)||(Q=[Q]);const ce=Q.filter(ue=>!Ae(ue)&&!ve(ue));return Xe(ce,X.value)?!1:(X.value=ce,!0)};(0,t.watch)([()=>d.modelValue,()=>v.value],([Q,re],[ce,ue])=>{const fe=ee(Q,re),be=H();fe?te(be,!1):te(be,!0)},{deep:!0});const H=()=>{const Q=[],re=[],ce=[];for(let Ce of X.value)if(d.valueType==="item"){const he=Ce,Te=xt(d,he);Q.push(he),ce.push(Te),re.push(he)}else if(d.valueType==="text"){const he=Ce,Te=v.value.find(Be=>xt(d,Be)===he);Q.push(he),ce.push(he),re.push(Te)}else{const he=Ce,Te=v.value.find(Qe=>la(d,Qe)===he),Be=Te?xt(d,Te):`${he}`;Q.push(he),ce.push(Be),re.push(Te)}let ue=null,fe=null,be=null;return d.multiple?(ue=Q,fe=ce,be=re):(ue=Q[0]??null,fe=ce[0]??null,be=re[0]??null),{value:ue,text:fe,item:be}},I=(0,t.computed)(()=>{const Q=[];return Array.isArray(v.value)&&Q.push(...v.value),Array.isArray(d.tagInitSource)&&Q.push(...d.tagInitSource),Q}),_=Q=>{let re;if(d.valueType==="item")re=xt(d,Q);else if(d.valueType==="text")re=Q;else{const ce=I.value.find(ue=>la(d,ue)===Q);re=ce?xt(d,ce):`${Q}`}return typeof d.tagTextFormatter=="function"&&(re=d.tagTextFormatter(re,Q)),re},te=(Q,re=!1)=>{re||(E("update:modelValue",Q.value),E("change",Q.value,Q.item,Q.text)),E("update:text",Q.text)},ne=()=>{ae&&(X.value=ae)},j=Q=>{const re=X.value.findIndex(ue=>Xe(ue,Q));d.multiple?re===-1?X.value.push(Q):X.value.splice(re,1):re===-1?X.value=[Q]:X.value=[],(0,t.triggerRef)(X),(U.value||!d.poppable&&!d.showFooter)&&W();let ce;if(d.valueType==="item")ce=Q;else if(d.valueType==="text"){const ue=Q;ce=v.value.find(fe=>xt(d,fe)===ue)}else{const ue=Q;ce=v.value.find(fe=>la(d,fe)===ue)}E("item-click",ce)},F=Q=>{Z.value=Q,E("update:visible",Q)},Y=()=>{const Q=()=>{ne(),F(!1)},re=d.beforeMethod;if(typeof re=="function"){const ce=re("close");xl(ce)?ce.then(ue=>{ue!==!1&&Q()}).catch(()=>{Q()}):ce!==!1&&Q()}else Q()},W=()=>{const Q=H(),re=()=>{te(Q,!1),F(!1)},ce=d.beforeMethod;if(typeof ce=="function"){const ue=ce("confirm",Q.value,Q.item,Q.text);xl(ue)?ue.then(fe=>{fe!==!1&&re()}).catch(()=>{re()}):ue!==!1&&re()}else re()},le=()=>{let Q=g.title.value??"";return w.title&&(Q=w.title()),(0,t.h)("view",{class:["fox-actionsheet__header"]},[(0,t.h)("view",{class:["fox-actionsheet__header-title"]},[Q]),(0,t.h)(a,{class:["fox-actionsheet__header-icon"],onClick:Y})])},se=()=>{let Q=null;return w.search?Q=w.search():Q=(0,t.h)(o,{onSearch:q,placeholder:g.seachPlaceholder.value,disabled:d.disabled,modelValue:z.value,"onUpdate:modelValue":re=>{z.value=re}},{leftin:()=>(0,t.h)(u)}),(0,t.h)("view",{class:["fox-actionsheet__searchbar"]},[Q])},G=()=>{const Q=[];if(Array.isArray(X.value))for(let ce=0;ce<X.value.length;ce++){const ue=X.value[ce];if(Ae(ue)||ve(ue))continue;const fe=_(ue),be=(0,t.h)("view",{class:`${N}__tag`,onClick:()=>{j(ue)}},[fe]);Q.push(be)}const re=[`${N}__tagbar`];return Q.length===0&&re.push("is-empty"),(0,t.h)("view",{class:re},Q)},p=()=>w.subheader?.()??null,y=(Q,re,ce,ue,fe,be)=>{if(w.optionLabel)return w.optionLabel({text:Q,checked:re,disabled:ce,subText:fe,item:be,index:ue});const Ce=[],he=(0,t.h)("view",{class:`${N}__list-item-text`},[Q]);if(Ce.push(he),fe){const Te=(0,t.h)("view",{class:`${N}__list-item-subtext`},[fe]);Ce.push(Te)}return(0,t.h)("view",{class:[`${N}__list-item-label`]},Ce)},L=(Q,re,ce,ue,fe)=>w.optionIcon?w.optionIcon({checked:Q,disabled:re,iconSize:ue,item:fe,index:ce}):Q?w.checkedIcon?w.checkedIcon({disabled:re,item:fe}):(0,t.h)(d.checkedIcon??c,{width:ue,height:ue,class:[`${N}__list-item-icon`]}):w.icon?w.icon({disabled:re,item:fe}):(0,t.h)(d.icon??s,{width:ue,height:ue,class:["fox-actionsheet__list-item-icon"]}),J=()=>{const Q=d.valueType,re=[];for(let ce=0;ce<v.value.length;ce++){const ue=v.value[ce],fe=la(d,ue),be=xt(d,ue),Ce=Uo(d,ue),he=[`${N}__list-item`],Te={};let Be=t5(d,ue),Qe=d.iconSize?Se(d.iconSize):null;const Pe=l5(d,ue,ce);Pe&&(Be=Be||Pe.disabled,Pe.class&&he.push(Pe.class),Pe.style&&Object.assign(Te,Pe.style)),Be=!!(d.disabled||Be);let Ne=!1;for(let Et=0;Et<X.value.length;Et++){const Pt=X.value[Et];if(Q==="item"?Ne=Xe(Pt,ue):Q==="text"?Ne=Xe(Pt,be):Ne=Xe(Pt,fe),Ne)break}Be&&he.push("is-disabled"),Ne&&he.push("is-checked");const it={class:he,style:Te,key:`${ce}`,onClick:()=>{Be||j(Q==="item"?ue:Q==="text"?be:fe)}};let At=[];if(w.option)At.push(w.option({item:ue,checked:Ne,disabled:Be,index:ce+1}));else{const Et=y(be,Ne,Be,ce+1,Ce,ue);At.push(Et);const Pt=L(Ne,Be,ce+1,Qe,ue);At.push(Pt),d.textPosition==="right"&&At.reverse()}const Tt=(0,t.h)("view",it,At);re.push(Tt)}return re},ie=()=>{let Q=[];if(w.buttons)Q=w.buttons();else{const re=(0,t.h)(r,{type:"primary",class:`${N}__footer-confirm`,block:"block",onClick:W,disabled:d.disabled},{default:()=>g.confirmText.value});Q.push(re)}return(0,t.h)("view",{class:`${N}__footer`},[Q])};return x({search:async(Q=null,re=!0)=>{O.value=(0,t.isRef)(Q)?(0,t.toRaw)(Q):Q,(0,t.triggerRef)(O),re&&(V.value=!0,k.value=0,v.value=[]),(0,t.nextTick)(()=>{C()})},clear:()=>{V.value=!0,k.value=0,v.value=[]},confirm:()=>{W()},cancel:()=>{Y()},getData:()=>v.value}),()=>{const Q=[];if(d.showHeader){const Te=le();Q.push(Te)}if(d.showSearchbar){const Te=se();Q.push(Te)}if(d.showTagbar){const Te=G();Q.push(Te)}const re=p();re&&Q.push(re);let ce=null;if(w.content)ce=w.content();else{const Te=J();ce=(0,t.h)(i,{hasMore:V.value,loadText:g.loadText.value,noMoreText:g.noMoreText.value,modelValue:$.value,"onUpdate:modelValue":Be=>{$.value=Be},onLoadMore:C},{default:()=>Te})}const ue={};d.optionsHeight&&(ue.height=d.optionsHeight);const fe={[`${N}__list`]:!0};d.poppable||(fe[`${N}__list--inner`]=!0);const be=(0,t.h)("view",{class:fe,style:ue},[ce]);if(Q.push(be),d.showFooter&&!U.value){const Te=ie();Q.push(Te)}const Ce=(0,t.h)("view",{class:`${N}`,style:B.value},Q);if(!d.poppable)return Ce;const he=[`${N}__popup`];return d.popClass&&he.push(d.popClass),(0,t.h)(l,{popClass:he.join(" "),visible:Z.value,closeable:!1,"onUpdate:visible":F,position:d.position,round:"round",onClickOverlay:Y,closeOnClickOverlay:d.closeOnClickOverlay},{default:()=>Ce})}}}}var r5={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 o5(e,n,l){return{props:r5,emits:["scroll-change","load-more","update:modelValue"],setup(i,{emit:r,slots:o}){const s=e,{toLocaleRefs:c}=(0,$e.useFoxI18n)(n),a=c(i,["pullText","loadText","noMoreText"]),u=(0,t.ref)(),f=Po(u),d=(0,t.reactive)({beforeScrollTop:0,isInfiniting:!1,y:0,x:0,distance:0}),h=(0,t.computed)(()=>({[s]:!0})),E=(0,t.computed)(()=>{const m=[`${s}__container`];return i.containerClass&&m.push(i.containerClass),m}),x=m=>m?m.offsetTop+x(m.offsetParent):0,w=()=>{let m=0,v=0,k="down";if(f.value==window){const z=Io();u.value&&(m=x(u.value)+u.value.offsetHeight-z-window.innerHeight),v=z}else{const{scrollHeight:z,clientHeight:O,scrollTop:M}=f.value;m=z-O-M,v=M}return d.beforeScrollTop>v?k="up":k="down",d.beforeScrollTop=v,r("scroll-change",v),m<=i.threshold&&k=="down"},b=()=>{ha(()=>{if(!w()||!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",b,i.useCapture)},N=()=>{f.value&&f.value.removeEventListener("scroll",b,i.useCapture)};(0,t.onMounted)(()=>{g(),i.immediate&&b()}),(0,t.onUnmounted)(()=>{N()});const B=(0,t.ref)(!1);return(0,t.onActivated)(()=>{B.value&&(B.value=!1,g())}),(0,t.onDeactivated)(()=>{B.value=!0,N()}),(0,t.watch)(()=>i.modelValue,m=>{m||(d.isInfiniting=!1)}),()=>{const m=(0,t.h)("view",{class:E.value},[o?.default?.()]),v=[];if(d.isInfiniting){let z=o?.loading?.()??null;if(!z){let M=o?.loadingIcon?.()??null;M||(M=(0,t.h)(l,{class:[`${s}__bottom-box__img`]}));const A=(0,t.h)("view",{class:`${s}__bottom-box__text`},[a.loadText.value]);z=[M,A]}const O=(0,t.h)("view",{class:`${s}__bottom-box`},z);v.push(O)}else if(!i.hasMore&&i.showFinished){let z=o?.finished?.()??null;z||(z=(0,t.h)("view",{class:`${s}__bottom-tips`},[a.noMoreText.value]),v.push(z))}const k=[m];if(v.length>0){const z=(0,t.h)("view",{class:`${s}__bottom`},v);k.push(z)}return(0,t.h)("view",{class:h.value,ref:u},k)}}}}var{componentName:i5,create:s5,scope:c5}=me("infinite-loading"),u5=s5(o5(i5,c5,dl)),aa=u5,d5={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"}},f5=(e,n,l)=>({props:d5,emits:["change","update:modelValue","blur","focus","clear","search","click-input","keyup-input","click-left-icon","click-right-icon"],setup(i,r){const{emitEvent:o}=$t({context:r},i.prop),{toLocaleRefs:s}=(0,$e.useFoxI18n)(n),c=s(i,["placeholder"]),{slots:a}=r,u=(0,t.reactive)({active:!1}),f=(0,t.computed)(()=>({background:i.background})),d=(0,t.computed)(()=>({background:i.inputBackground})),h=A=>{let T=A.target.value;i.maxLength&&T.length>Number(i.maxLength)&&(T=T.slice(0,Number(i.maxLength))),o("update:modelValue",T,A),o("change",T,A)},E=(0,t.ref)({}),x=A=>{let T=A.target.value;u.active=!0,E.value=i.focusStyle,o("focus",T,A)},w=A=>{setTimeout(()=>{u.active=!1},0);let T=A.target.value;i.maxLength&&T.length>Number(i.maxLength)&&(T=T.slice(0,Number(i.maxLength))),E.value={},o("blur",T,A)},b=A=>{o("update:modelValue","",A),o("change","",A),o("clear","")},g=(0,t.computed)(()=>String(i.modelValue).length>0),N=(0,t.computed)(()=>{const A={};return g.value||(A.display="none"),A}),B=A=>{i.autoblur&&O.value?.blur(),(typeof A.cancelable!="boolean"||A.cancelable)&&A.preventDefault(),o("search",i.modelValue)},m=A=>{o("keyup-input",A)},v=A=>{o("click-input",A)},k=A=>{o("click-left-icon",i.modelValue,A)},z=(0,t.computed)(()=>({textAlign:i.inputAlign})),O=(0,t.ref)(null);(0,t.onMounted)(()=>{i.autofocus&&O.value.focus()});const M=()=>{const A=[];if(a.leftin){const C=(0,t.h)("view",{class:[`${e}__search-icon`,`${e}__input-left-search-icon`],onClick:k},[a.leftin()]);A.push(C)}const T=(0,t.h)("input",{class:`${e}__input-inner-input`,ref:O,style:z.value,type:i.inputType,maxlengt:i.maxLength,placeholder:c.placeholder.value,value:i.modelValue,disabled:i.disabled,readonly:i.readonly,onClick:v,onInput:h,onFocus:x,onBlur:w,onkeyup:m}),$=(0,t.h)("form",{class:[`${e}__input-inner`],action:"#",onSubmit:B},[T]);A.push($);const V=[];if(i.clearable){const C=(0,t.h)("view",{class:[`${e}__search-icon`,`${e}__input-clear-icon`],style:N.value,onClick:b},[(0,t.h)(a?.clear?.()??i.clearIcon??l)]);V.push(C)}if(a.rightin){const C=(0,t.h)("view",{class:[`${e}__search-icon`,`${e}__input-right-search-icon`]},[a.rightin()]);V.push(C)}if(V.length>0){const C=(0,t.h)("view",{class:`${e}__input-inner-right`},V);A.push(C)}return(0,t.h)("view",{class:[`${e}__search-input`,`${i.shape}`],style:{...d.value,...E.value}},A)};return()=>{const A=[];if(i.label){const $=(0,t.h)("span",{class:`${e}__search-label`},[i.label]);A.push($)}if(a.leftout){const $=(0,t.h)("view",{class:[`${e}__search-icon`,`${e}__left-search-icon`]},[a.leftout()]);A.push($)}const T=M();if(A.push(T),a.rightout){const $=(0,t.h)("view",{class:[`${e}__search-icon`,`${e}__right-search-icon`]},[a.rightout()]);A.push($)}return(0,t.h)("view",{class:`${e}`,style:f.value},A)}}}),{componentName:m5,create:h5,scope:p5}=me("searchbar"),g5=h5(f5(m5,p5,Le.CircleClose)),ml=g5,{componentName:y5,create:b5,scope:S5}=me("actionsheet-pane"),w5=b5(n5(y5,S5,gt,aa,D.ElButton,ml,ld,J2,ln,bo,!1)),na=w5,Xo={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}},v5={...De,..._e,...Xo,...ta};function C5(e,n,l,i,r,o){return{props:v5,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:E}=Ke(s),{emitEvent:x,exposeApi:w}=Ie({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:b}=(0,$e.useFoxI18n)(n),g=b(s,["placeholder"]),N=(0,t.ref)(!1),B=ze(s,"modelValue",null,x),m=(0,t.ref)(""),v=(0,t.computed)(()=>Array.isArray(m.value)&&m.value.length>0?m.value.join(s.separator):m.value?m.value:s.emptyText??""),k=e,z=(0,t.computed)(()=>({[k]:!0,readonly:h.value,disabled:f.value})),O=(0,t.computed)(()=>({[`${k}__content`]:!0})),M=Fe((0,t.computed)(()=>s.textAlign),"textAlign"),A=(0,t.computed)(()=>{const I={};return M.value&&(I["text-align"]=M.value),I}),T=(0,t.ref)(!1),$=()=>{T.value=!0},V=I=>{T.value=I},C=I=>{B.value=I,x("update:modelValue",I)},P=(I,_)=>{x("change",I,_)},R=I=>{x("item-click",I)},q=()=>{x("loaded-data")},K=I=>{let _=I.target.value;N.value=!0,x("focus",_,I)},U=I=>{setTimeout(()=>{N.value=!1},0);let _=I.target.value;s.maxLength&&_.length>Number(s.maxLength)&&(_=_.slice(0,Number(s.maxLength))),x("blur",_,I)},X=I=>{m.value=I,x("update:text",I)},ae=(0,t.computed)(()=>ht(s.unit)>0),Z=(0,t.ref)(),ee=(0,t.ref)(null);w({focus:()=>{Z?.value.focus()},blur:()=>{Z?.value.blur()},select:()=>{Z?.value.select()},search:I=>{ee.value&&ee.value.search(I)},clear:()=>{ee.value&&ee.value.clear},confirm:I=>{ee.value&&ee.value.confirm()},cancel:()=>{ee.value&&ee.value.cancel()},getData:()=>ee.value.getData(),setDisabled:I=>{u.value=I},setReadonly:I=>{d.value=I}});const H=Go();return()=>{if(E.value==="on"&&(h.value||f.value)){const le=async se=>{const G=await H.load("actionsheet",s.source,1,s.pageSize,se,!0);return Array.isArray(G)?G:G.page??[]};return i({modelValue:B.value,unit:s.unit,span:s.span,labelPosition:s.labelPosition,labelWidth:s.labelWidth,source:le,params:s.params},c.slots)}const I={ref:Z,class:O.value,style:A.value,type:"text",maxlength:s.maxLength,placeholder:g.placeholder.value,readonly:!0,value:v.value,onClick:$,onFocus:K,onBlur:U},_={};c.slots.prepend&&(_.prepend=c.slots.prepend),c.slots.append&&(_.append=c.slots.append),c.slots.prefix&&(_.prefix=c.slots.prefix),c.slots.suffix?_.suffix=c.slots.suffix:ae.value?_.suffix=()=>[s.unit]:_.suffix=()=>(0,t.h)(D.ElIcon,{},{default:()=>(0,t.h)(Le.ArrowDown)});const te=[],ne=(0,t.h)(D.ElInput,I,_);te.push(ne);const j={default:()=>te};j.label=c.slots.default,j.prepend=c.slots.prepend,j.append=c.slots.append,j.fixedPreTip=c.slots.fixedPreTip,j.fixedTip=c.slots.fixedTip;const F=pt(s,ta);F.ref=ee,F.class=s.actionSheetClass,F.disabled=f.value||h.value,F.visible=T.value,F["onUpdate:visible"]=V,F.modelValue=B.value,F["onUpdate:modelValue"]=C,F.text=m.value,F["onUpdate:text"]=X,F.onChange=P,F.onItemClick=R,F.onLoadedData=q,F.poppable=!0;const Y=(0,t.h)(r,F,{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});j.hide=()=>[Y];const W={...Re(s,Xo,ta),ref:a,class:z.value};return s.prop&&(W.prop=`${s.prop}_item`),l(W,j)}}}}var{componentName:N5,create:x5,scope:k5}=me("actionsheet-item"),T5=x5(C5(N5,k5,je,Ue,na)),kn=T5,Qo={readonly:{type:Boolean,default:!1},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}},Tn={...tn,...Qo,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}};function E5(e){return e===window}var En=e=>{const n=(0,t.unref)(e);if(E5(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}},Zo=10;function Jo(e,n){return e>n&&e>Zo?"horizontal":n>e&&n>Zo?"vertical":""}function hl(){const e=window.navigator.userAgent;return"ontouchstart"in window||e.indexOf("touch")!==-1||e.indexOf("mobile")!==-1}function pl(){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=Jo(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 ei(){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",E=()=>{s.value=0,c.value=0,a.value=0,u.value=0,f.value="",l.value=0};return{move:(b=>{if(b.touches){const g=b.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=b;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=Jo(a.value,u.value))}),start:(b=>{if(E(),b.touches){const g=b.touches[0];e.value=g.clientX,n.value=g.clientY}else{const g=b;e.value=g.clientX,n.value=g.clientY}l.value=Date.now()}),reset:E,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 ti=36;function z5(){return ti}function $5(e){ti=e}function dt(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function zn(e,n){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?n[e.childrenKey]:n.children??null}function B5(e,n,l){typeof e.childrenKey=="string"&&e.childrenKey.length>0&&(n[e.childrenKey]=l),n.children=l}function Dt(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 V5=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=Je(e,this.scope);return i===null?(console.error(`[FoxUI]${e} component not found api function`),[]):(Ze(l)&&(0,t.isReactive)(l)&&(l=(0,t.toRaw)(l)),await i(n,l))}};function D5(){const e=nt();return new V5(e)}function ai(e,n,l){return!(dt(e,n)!==dt(e,l)||Dt(e,n)!==Dt(e,l))}function M5(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 dt(e,u)===c;if(o==="value"){let f=Dt(e,u);return f==null&&(f=dt(e,u)),f===c}else if(o==="item")return ai(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 dt(e,d)===a;if(o==="value"){let h=Dt(e,d);return h==null&&(h=dt(e,d)),h===a}else if(o==="item")return ai(e,d,a)});if(u==-1)break;r.push(u);const f=zn(e,s[u]);if(!Array.isArray(f))break;s=f}}return r}function ni(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=dt(e,u);if(r.texts.push(f),r.items.push(u),o==="text")r.values.push(f);else if(o==="value"){let d=Dt(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=dt(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=Dt(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 ri(e){return{text:e,value:e}}var A5=15,P5=300,I5=200,{create:_5}=me("picker-column");function L5(e){e.stopPropagation()}function R5(e,n){(typeof e.cancelable!="boolean"||e.cancelable)&&e.preventDefault(),n&&L5(e)}var F5={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},...Qo},O5=_5({props:F5,emits:["click","change","update:modelValue"],setup(e,{emit:n}){const l=(0,t.computed)(()=>({"fox-picker__list":!0})),i=(0,t.computed)(()=>({height:`${ke(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=z=>{const O=z+1;return O>=d.currIndex+8||O<=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=z=>{const O=z+1;return`transform: rotate3d(1, 0, 0, ${-d.rotation*O}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=z=>dt(e,z),E=z=>Dt(e,z),x=ei(),w=()=>{d.transitionEndTrigger&&(d.transitionEndTrigger(),d.transitionEndTrigger=null)},b=(z,O=!1,M=!1)=>{if(d.currIndex=z,O){const A=()=>{d.moving=!1,n("update:modelValue",z),n("change",z)};M?d.transitionEndTrigger=A:A()}},g=(z,O,M)=>{let A=z+d.startDistance;if(O==="end"){const T=-(e.source.length-1)*e.itemHeight;A<T&&(A=T),A>0&&(A=0);let $=Math.abs(Math.round(-A/e.itemHeight));const V=-$*e.itemHeight,C=`${($+1)*d.rotation}deg`;b($,!0,M?M>0:!1),N(V,O,M,C)}else{let T=(-A/e.itemHeight+1)*d.rotation;const $=(e.source.length+1)*d.rotation,V=0;if(T=Math.min(Math.max(T,V),$),e.threeDimensional&&(T<V||T>$))return;N(A,null,void 0,`${T}deg`)}},N=(z=0,O,M=I5,A)=>{O==="end"?d.scrollTime=M:d.scrollTime=0,d.deg=A,d.scrollDistance=z},B=(z,O)=>(z=Math.abs(z/O)/.003*(z<0?-1:1),z),m=z=>{e.readonly||(d.startDistance=d.scrollDistance,x.start(z),d.transitionEndTrigger=null)},v=z=>{e.readonly||(d.moving=!0,x.move(z),x.isVertical()&&(d.moving=!0,R5(z,!0)),g(x.deltaY.value,"",0))},k=()=>{if(e.readonly)return;const z=x.deltaY.value,O=x.duration.value;if(O<P5&&Math.abs(z)>A5){const M=B(z,O);g(M,"end",ke(e.swipeDuration))}else g(z,"end",0)};return(0,t.watch)(()=>e.modelValue,z=>{const O=d.currIndex-z;if(O!==0){d.currIndex=z,d.startDistance=d.scrollDistance;const M=O*e.itemHeight;g(M,"",0)}}),(0,t.watch)(()=>e.source,z=>{if(d.currIndex>=z.length){const O=(z.length-1-d.currIndex)*e.itemHeight;d.startDistance=d.scrollDistance,g(O,"end",0)}}),(0,t.watch)(()=>e.visible,z=>{z===!1&&w()}),(0,t.onMounted)(()=>{const z=-e.modelValue*e.itemHeight;g(z)}),{classes:l,styles:i,contentClasses:r,itemText:h,itemValue:E,...(0,t.toRefs)(d),roller:f,getItemText:dt,onTouchStart:m,onTouchMove:v,onTouchEnd:k,isHidden:s,setRollerStyle:a,touchRollerStyle:c,touchTileStyle:u,stopMomentum:w}}}),q5={key:1,class:"fox-picker__item-tile"};function H5(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",q5,(0,t.toDisplayString)(e.itemText(s)),1))],64))),128))],6)],38)}var K5=Oe(O5,[["render",H5]]),{create:j5,componentName:W5,scope:Y5}=me("picker"),U5=j5({components:{PickerColumn:K5,Popup:gt},props:Tn,emits:["close","change","confirm","update:visible","update:text","update:modelValue","clear"],setup(e,{emit:n}){const{toLocaleRefs:l,t:i}=(0,$e.useFoxI18n)(Y5),r=l(e,["title","cancelText","clearText","confirmText"]),o=(0,t.ref)(null),s=(0,t.ref)(z5());(0,t.watch)(()=>e.visible,$=>{$&&s.value<=0&&setTimeout(()=>{if(o.value){const V=En(o.value);s.value=V.height,$5(s.value)}},50)});const c=(0,t.computed)(()=>({[W5]:!0})),a=D5(),u=(0,t.ref)("singleColumn"),f=(0,t.ref)([]),d=(0,t.computed)(()=>{if(typeof e.sourceFilter=="function"){const $=[];for(let V=0;V<f.value.length;V++){const C=f.value[V];if(Array.isArray(C)){const P=C.filter(e.sourceFilter);$.push(P)}}return $}return f.value});(0,t.watch)([()=>e.source,()=>e.params],async([$,V])=>{if($){let C=await a.load("select",$,V);if(C.length>0){let P=C[0];if(Array.isArray(P)){if(typeof P[0]=="string"){let R=C,q=[];R.forEach(K=>{let U=K.map(X=>ri(X));q.push(U)}),f.value=q}else f.value=C;u.value="multipleColumn"}else if(typeof P=="string"){let R=C,q=[],K=R.map(U=>ri(U));q.push(K),f.value=q,u.value="singleColumn"}else{const R=zn(e,P);Array.isArray(R)?(u.value="cascade",f.value=[C]):(u.value="singleColumn",f.value=[C])}}else f.value=[]}},{immediate:!0});const h=(0,t.ref)([]),E=(0,t.ref)(e.modelValue),x=(0,t.ref)([]),w=(0,t.ref)([]);(0,t.watch)([()=>e.modelValue,()=>d.value],([$,V])=>{let C=M5(e,$,V,u.value);if(!Xe(C,w.value)){w.value=C;let P=ni(e,C,V,u.value);P&&(h.value=P.texts,n("update:text",h.value))}});const b=(0,t.ref)(e.visible);(0,t.watch)(()=>e.visible,$=>{b.value=$});const g=$=>{let V=li(e,$);return Ze(V)?V.defaultIndex??0:0},N=$=>{if(e.readonly===!0)return!0;let V=li(e,$);return Ze(V)?V.readonly??!1:!1},B=($,V)=>{let C=w.value;C[$]=V;for(let R=0;R<$;R++)C[R]==null&&(C[R]=g(R));if(u.value==="cascade")for(let R=$+1;R<v.value.length;R++){let q=g(R);R<C.length?C[R]=q:C.push(q)}else for(let R=C.length;R<v.value.length;R++){let q=g(R);C.push(q)}w.value=C;let P=ni(e,C,d.value,u.value);P&&(h.value=P.texts,E.value=P.values,x.value=P.items)},m=$=>$<w.value.length?w.value[$]:g($),v=(0,t.computed)(()=>{if(d.value.length==0)return[];if(u.value=="singleColumn"||u.value=="multipleColumn")return d.value;let $=[],V=0,C=d.value[0],P=0;for(;;){const R=C.map(U=>{let X=Object.assign({},U);return B5(e,X,null),X});$.push(R),V>=w.value.length?P=0:P=w.value[V],(P<0||P>=C.length)&&(P=0);let q=C[P];const K=zn(e,q);if(!Array.isArray(K))break;C=K,V++}return $}),k=(0,t.computed)(()=>ke(+e.visibleItemCount-1)/2*s.value),z=($=!1)=>{if(e.readonly===!0){$&&n("update:visible",!1);return}let V=d.value.length-1;for(;V>=0&&!(w.value[V]===null||w.value[V]===void 0);V--);if(V>=0&&B(V,0),u.value==="singleColumn"){let C=E.value.length>0?E.value[0]:"",P=x.value.length>0?x.value[0]:null;n("update:modelValue",C),n("update:text",h.value),n("change",C,P),$&&(n("confirm",C),n("update:visible",!1))}else n("update:modelValue",E.value),n("update:text",h.value),n("change",E.value,x.value),$&&(n("confirm",E.value),n("update:visible",!1))};return{...r,pickerLineRef:o,classes:c,columns:v,dataType:u,show:b,itemHeight:s,top:k,isReadonly:N,getIndex:m,change:($,V)=>{if(B($,V),e.isAutoBackFill){const C=!b.value;z(C)}},close:()=>{n("close"),n("update:visible",!1)},confirm:()=>{z(!0)},clear:()=>{if(e.readonly===!0){n("update:visible",!1);return}u.value==="singleColumn"?(n("update:modelValue",""),n("change","")):(n("update:modelValue",[]),n("change",[])),n("clear",""),n("update:visible",!1)}}}}),G5={class:"fox-picker__bar"},X5={class:"fox-picker__title"},Q5={class:"fox-picker__bar__action"},Z5={class:"fox-picker__column"};function J5(e,n,l,i,r,o){const s=(0,t.resolveComponent)("PickerColumn"),c=(0,t.resolveComponent)("Popup");return(0,t.openBlock)(),(0,t.createElementBlock)("view",{class:(0,t.normalizeClass)(e.classes)},[(0,t.createVNode)(c,{position:"bottom","pop-class":"fox-picker__popup",visible:e.show,"onUpdate:visible":n[3]||(n[3]=a=>e.show=a),teleport:e.teleport,"lock-scroll":e.lockScroll,"close-on-click-overlay":e.closeOnClickOverlay,onClose:e.close,round:!0,"teleport-disable":e.teleportDisable},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)("view",G5,[(0,t.createElementVNode)("view",X5,(0,t.toDisplayString)(e.title),1),(0,t.createElementVNode)("view",Q5,[(0,t.createElementVNode)("view",{class:"fox-picker__left fox-picker__cancel fox-picker__button",onClick:n[0]||(n[0]=(...a)=>e.close&&e.close(...a))},(0,t.toDisplayString)(e.cancelText),1),(0,t.createElementVNode)("view",{class:"fox-picker__right fox-picker__confirm fox-picker__button",onClick:n[1]||(n[1]=(...a)=>e.confirm&&e.confirm(...a))},(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]=(...a)=>e.clear&&e.clear(...a))},(0,t.toDisplayString)(e.clearText),1)):(0,t.createCommentVNode)("",!0)])]),(0,t.renderSlot)(e.$slots,"top"),(0,t.createElementVNode)("view",Z5,[(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,(a,u)=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:u,class:"fox-picker__columnitem"},[(0,t.createVNode)(s,{visible:e.show,source:a,readonly:e.isReadonly(u),"column-index":u,modelValue:e.getIndex(u),"onUpdate:modelValue":f=>e.change(u,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,["visible","teleport","lock-scroll","close-on-click-overlay","onClose","teleport-disable"])],2)}var ra=Oe(U5,[["render",J5]]),oi={...Tn,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 e6(e,n,l,i){return{props:{...De,..._e,...oi},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}=Ke(r),{emitEvent:h,exposeApi:E}=Ie({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:x}=(0,$e.useFoxI18n)(n),w=x(r,["placeholder"]),b=(0,t.ref)(!1),g=e,N=(0,t.computed)(()=>({[g]:!0,readonly:f.value,disabled:a.value})),B=(0,t.computed)(()=>({[`${g}__content`]:!0})),m=Fe((0,t.computed)(()=>r.textAlign),"textAlign"),v=(0,t.computed)(()=>({textAlign:m.value??"right"})),k=ze(r,"modelValue",null,h),z=(0,t.ref)([]),O=(0,t.computed)(()=>Array.isArray(z.value)?z.value.join(" "):z.value),M=(0,t.ref)(!1),A=()=>{M.value=!0},T=Z=>{M.value=Z},$=Z=>{k.value=Z,h("update:modelValue",Z)},V=Z=>{z.value=Z,Array.isArray(Z)&&Z.length===0?h("update:text",Z[0]):h("update:text",Z)},C=(Z,ee)=>{h("change",Z,ee)};let P=ze(r,"hintText"),R=(0,t.ref)(!1);const q=Z=>{let ee=Z.target.value;b.value=!0,ve(P.value)||(R.value=!0),h("focus",ee,Z)},K=Z=>{setTimeout(()=>{R.value&&(R.value=!1),b.value=!1},0);let ee=Z.target.value;r.maxLength&&ee.length>Number(r.maxLength)&&(ee=ee.slice(0,Number(r.maxLength))),M.value?setTimeout(()=>{h("blur",ee,Z)},50):h("blur",ee,Z)},U=()=>{h("clear","")},X=(0,t.computed)(()=>ht(r.unit)>0),ae=(0,t.ref)();return E({focus:()=>{ae?.value.focus()},blur:()=>{ae?.value.blur()},select:()=>{ae?.value.select()},setDisabled:Z=>{c.value=Z},setReadonly:Z=>{u.value=Z}}),()=>{if(d.value==="on"&&(f.value||a.value))return i({modelValue:O.value,span:r.span,labelPosition:r.labelPosition,labelWidth:r.labelWidth},o.slots);const Z={class:B.value,style:v.value,type:"text",maxlength:r.maxLength,placeholder:w.placeholder.value,clearable:we(r.clearable),readonly:!0,value:O.value,onClick:A,onFocus:q,onBlur:K},ee={};o.slots.prepend&&(ee.prepend=o.slots.prepend),o.slots.append&&(ee.append=o.slots.append),o.slots.prefix&&(ee.prefix=o.slots.prefix),o.slots.suffix?ee.suffix=o.slots.suffix:X.value?ee.suffix=()=>[r.unit]:ee.suffix=()=>(0,t.h)(D.ElIcon,{},{default:()=>(0,t.h)(Le.ArrowDown)});const H=[],I=(0,t.h)(D.ElInput,Z,ee);H.push(I);const _={default:()=>H};_.label=o.slots.default,_.fixedPreTip=o.slots.fixedPreTip,_.fixedTip=o.slots.fixedTip;const te=pt(r,Tn);te.disabled=!1,te.readonly=a.value||f.value,te.visible=M.value,te["onUpdate:visible"]=T,te.modelValue=k.value,te["onUpdate:modelValue"]=$,te.text=z.value,te["onUpdate:text"]=V,te.onClear=U,te.onChange=C;const ne=(0,t.h)(ra,te);_.hide=()=>[ne];const j={...Re(r,oi),ref:s,class:N.value,hintText:P.value,hintVisible:R.value};return r.prop&&(j.prop=`${r.prop}_item`),l(j,_)}}}}var{componentName:t6,create:l6,scope:a6}=me("picker-item"),n6=l6(e6(t6,a6,je,Ue)),$n=n6,r6={...De,..._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 o6(e,n,l,i){return{props:r6,emits:["click","focus","blur","change"],setup(r,o){const{itemTemplateRef:s,disabled:c,readonly:a}=Ke(r),{emitEvent:u,exposeApi:f}=Ie({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,$e.useFoxI18n)(n),h=d(r,["placeholder"]),E=(0,t.ref)(r.modelValue);(0,t.watch)(()=>r.modelValue,R=>{E.value=R,u("change",R)});const x=e,w=(0,t.computed)(()=>({[`${x}`]:!0,disabled:c.value,readonly:a.value})),b=(0,t.computed)(()=>({[`${x}__content`]:!0})),g=(0,t.computed)(()=>({[`${x}__main`]:!0,[`${x}__placeholder`]:!c.value&&ve(E.value)})),N=Fe((0,t.computed)(()=>r.textAlign),"textAlign"),B=(0,t.computed)(()=>{const R={};return N.value&&(R["text-align"]=N.value),R}),m=(0,t.computed)(()=>!ve(r.modelValue)||o.slots.main?!0:!!ve(r.desc)),v=(0,t.computed)(()=>ve(E.value)?h.placeholder.value:E.value),k=(0,t.computed)(()=>!ve(r.desc)||o.slots.sub),z=(0,t.computed)(()=>({[`${x}__sub`]:!0})),O=(0,t.computed)(()=>{const R={};return N.value&&(R["text-align"]=N.value),R}),M=()=>{u("focus",E.value)},A=()=>{u("blur",E.value)},T=(0,t.computed)(()=>({[`${x}__append`]:!0})),$=(0,t.computed)(()=>ht(r.unit)>0),V=R=>{c.value==!0||a.value==!0||u("click")},C=(0,t.computed)(()=>r.icon??l),P=(0,t.computed)(()=>({action:!0}));return f(),()=>{const R=[];if(typeof o.slots.content=="function"){const H=o.slots.content();R.push(H)}else{const H=[];if(m.value){const _={tabIndex:0,class:g.value,style:B.value,onFocus:M,onBlur:A};let te=null;o.slots.main?te=(0,t.h)("view",_,[o.slots.main(v.value)]):te=(0,t.h)("view",_,[v.value]),H.push(te)}if(k.value){const _={tabIndex:0,class:z.value,style:O.value,onFocus:M,onBlur:A};let te=null;o.slots.sub?te=(0,t.h)("view",_,[o.slots.sub(r.desc)]):te=(0,t.h)("view",_,[r.desc]),H.push(te)}const I=(0,t.h)("view",{class:b.value,onClick:V},H);R.push(I)}const q=[],K=Se(r.iconSize);let U=o.slots.icon;if(!U){const H={width:K,height:K,class:["action-icon"]};U=(0,t.h)(C.value,H)}const X=(0,t.h)("view",{class:P.value,onClick:V},{default:()=>[U]});if(q.push(X),$.value){const H=(0,t.h)("view",{},[r.unit]);q.push(H)}const ae=(0,t.h)("view",{class:T.value},{default:()=>q});R.push(ae);const Z={default:()=>R};Z.label=o.slots.default,Z.prepend=o.slots.prepend,Z.append=o.slots.append,Z.fixedPreTip=o.slots.fixedPreTip,Z.fixedTip=o.slots.fixedTip;const ee={...pt(r,_e,De),ref:s,class:w.value};return r.prop&&(ee.prop=`${r.prop}_item`),i(ee,Z)}}}}var{componentName:i6,create:s6,scope:c6}=me("link-item"),u6=s6(o6(i6,c6,Le.ArrowRight,je)),Bn=u6,Vn={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}},ii=(e,n)=>n[e.textKey],gl=(e,n)=>n[e.valueKey],d6=(e,n)=>n[e.visibleKey],si=(e,n)=>n[e.disabledKey],f6=(e,n)=>{const l=n[e.doitKey];return we(l)},m6=(e,n)=>{const l=n[e.numKey];return l==null?null:ke(n[l])},ci=(e,n,l)=>{const i=e.itemOptions;return typeof i=="function"?i(n,l):i||null};function h6(e,n,l,i,r,o=!1){return{props:Vn,emits:["update:modelValue","change","click"],setup(s,c){const{emitEvent:a,exposeApi:u}=$t({context:c},s.prop),{slots:f}=c,d=(0,t.computed)(()=>{const p={};return p[`${e}`]=!0,p}),h=(0,t.computed)(()=>{const p={};return p[`${e}__titles`]=!0,p[`${s.direction}`]=!0,s.align&&(p[`${s.align}`]=!0),s.scroll===!0&&(p.scrollable=!0),s.shape&&(p[`${s.shape}`]=!0),s.showScrollArrow?(ne.value===!0&&(p["has-left-scroll-arrow "]=!0),j.value===!0&&(p["has-right-scroll-arrow "]=!0)):s.showQuickNavigation&&(p["has-navigation"]=!0),p}),E=(0,t.computed)(()=>({})),x=(0,t.computed)(()=>{if(!s.gutter)return 0;const p=Se(s.gutter);return p<=0?0:p}),w=(0,t.ref)(s.modelValue);(0,t.watch)(()=>s.modelValue,p=>{w.value!==p&&(w.value=p,ae(!1))});const b=(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 p={};return B.value||(p.display="none"),p}),N=(0,t.ref)(),B=(0,t.ref)(!1),m=()=>{const p=!B.value;v(p)},v=p=>{const y=p;y?(B.value=y,setTimeout(()=>{b.value["fox-tabs-bar__popup--show"]=!0,b.value["fox-tabs-bar__popup--hide"]=!1},0)):(b.value["fox-tabs-bar__popup--show"]=!1,b.value["fox-tabs-bar__popup--hide"]=!0,N.value?N.value.addEventListener("transitionend",()=>{B.value=!1},{once:!0}):setTimeout(()=>{B.value=!1},0))},k=(0,t.ref)(),z=(0,t.ref)([]),O=(p,y)=>{z.value[y]=p},M=p=>y=>{O(y,p)},A=(p,y)=>{const L=k.value,J=z.value;if(!L||!J||!J[p])return;const ie=J[p];let Q=0;s.direction==="vertical"?Q=ie.offsetTop-(L.offsetHeight-ie.offsetHeight)/2:Q=ie.offsetLeft-(L.offsetWidth-ie.offsetWidth)/2,T(L,Q,y?0:.3,s.direction)},T=(p,y,L,J)=>{let ie=0;const Q=J==="horizontal"?p.scrollLeft:p.scrollTop,re=L===0?1:Math.round(L*1e3/16);function ce(){J==="horizontal"?p.scrollLeft+=(y-Q)/re:p.scrollTop+=(y-Q)/re,++ie<re&&xa(ce)}ce()},$=(p,y)=>{const L=gl(s,p),J={};return J[`${e}__titles-item`]=!0,J.disabled=si(s,p),J.active=L===w.value,s.shape&&(J[`${s.shape}`]=!0),s.ellipsis&&(J.ellipsis=!0),y&&(y.class&&(J[`${y.class}`]=!0),y.disabled===!0&&(J.disabled=y.disabled)),J},V=(p,y)=>{const L={};if(x.value>0){const J=Math.abs(x.value/2);s.direction==="vertical"?(L["margin-top"]=`${J}px`,L["margin-bottom"]=`${J}px`):(L["margin-left"]=`${J}px`,L["margin-right"]=`${J}px`)}return y&&y.style&&Object.assign(L,y.style),L},C=(p,y)=>`${gl(s,p)??y}`,P=(p,y)=>{const L=gl(s,p),J={};J[`${e}__popup-item`]=!0,J.disabled=si(s,p),J.active=L===w.value,s.shape&&(J[`${s.shape}`]=!0);const ie=ci(s,p,y);return ie&&ie.disabled===!0&&(J.disabled=ie.disabled),J},R=(0,t.computed)(()=>(s.data??[]).filter(p=>d6(s,p)!==!1)),q=(p,y)=>{const L=gl(s,p);if(a("click",p,y),w.value==L)return;const J=()=>{w.value=L,s.scroll&&A(y,!1),a("update:modelValue",L),a("change",p,y)};if(typeof s.beforeChange=="function"){const ie=s.beforeChange(p,y);xl(ie)?ie.then(Q=>{Q!==!1&&J()}).catch(()=>{J()}):ie!==!1&&J()}else J()},K=(p,y)=>function(){q(p,y)},U=(p,y)=>{q(p,y),v(!1)},X=(p,y)=>function(){U(p,y)},ae=p=>{if(!Array.isArray(s.data)||!s.scroll)return;te()&&le();const y=s.data.findIndex(L=>gl(s,L)===w.value);y!==-1&&A(y,p)},Z=()=>{te()||se()};(0,t.watch)(()=>s.data,()=>{setTimeout(ae,0)}),(0,t.onMounted)(()=>{ae(!0)}),(0,t.onBeforeUnmount)(()=>{Z()}),u({});const ee=(p,y)=>{if(f.item)return f.item({item:p,index:y});const L=ci(s,p,y),J=[];if(f.text){const Q=f.text({item:p,index:y});J.push(Q)}else{const Q=[];if(L?.doit===!0||f6(s,p)){const fe=(0,t.h)("view",{class:[`${e}__titles-item-tip`,"doit"]});Q.push(fe)}const re=L?.num??m6(s,p);if(re){let fe="";const be=ke(re);be>=100?fe="99+":fe=`${be}`;const Ce=(0,t.h)("view",{class:[`${e}__titles-item-tip`,"num"]},[fe]);Q.push(Ce)}const ce={class:`${e}__titles-item-text`};Q.push(ii(s,p));const ue=(0,t.h)("view",ce,Q);J.push(ue)}const ie=(0,t.h)("view",{class:`${e}__titles-item-line`});return J.push(ie),(0,t.h)("view",{ref:M(y),class:$(p,L),style:V(p,L),key:C(p,y),onClick:K(p,y)},J)},H=()=>{const p=f.default?f.default():[];if(p.length===0)for(let y=0;y<R.value.length;y++){const L=R.value[y],J=ee(L,y);p.push(J)}return(0,t.h)("view",{ref:k,class:h.value,style:E.value},p)},I=()=>{let p=null;return f.navigation?p=f.navigation():p=(0,t.h)(l),(0,t.h)("view",{class:`${e}__navigation`,onClick:m},[p])},_=()=>{const p=[];for(let y=0;y<R.value.length;y++){const L=R.value[y];let J=null;f.popupItem?J=f.popupItem({item:L,index:y}):J=ii(s,L);const ie=(0,t.h)("view",{class:P(L,y),key:C(L,y),onClick:X(L,y)},[J]);p.push(ie)}return(0,t.h)("view",{class:b.value,style:g.value},p)},te=()=>s.showScrollArrow&&s.direction=="horizontal",ne=(0,t.ref)(!1),j=(0,t.ref)(!1),F=p=>{const y=k.value,L=z.value;if(!(!y||!L))if(p==="left"){const J=y.scrollLeft;let ie=J;for(let Q=0;Q<L.length;Q++){const re=L[Q].offsetLeft;if(J-re<0)break;ie=re}T(y,ie,.3,"horizontal")}else{const J=y.scrollLeft;let ie=J,Q=y.offsetWidth;for(let re=L.length-1;re>=0;re--){const ce=L[re].offsetLeft+L[re].offsetWidth;if(ce-J<y.offsetWidth){ie+=Q-ce;break}Q=ce}T(y,ie,.3,"horizontal")}},Y=tt(()=>{const p=k.value;if(!p)return;let y=p.scrollLeft>0;y!==ne.value&&(ne.value=y);let L=p.scrollWidth-p.scrollLeft>p.offsetWidth;L!==j.value&&(j.value=L)},50),W=p=>{Y()},le=()=>{const p=k.value;p&&(Y(),p.addEventListener("scroll",W))},se=()=>{const p=k.value;p&&p.removeEventListener("scroll",W)},G=p=>{if(p==="left"&&ne.value!==!0||p==="right"&&j.value!==!0)return null;let y=null;return p==="left"?f.leftArrow?y=f.leftArrow():y=(0,t.h)(i):f.rightArrow?y=f.rightArrow():y=(0,t.h)(r),(0,t.h)("view",{class:[`${e}__scroll-arrow`,p],onClick:()=>{F(p)}},[y])};return()=>{const p=[],y=H();if(p.push(y),te()){const L=G("left");L&&p.push(L);const J=G("right");J&&p.push(J)}else if(s.showQuickNavigation){const L=I();p.push(L);const J=_();p.push(J)}return(0,t.h)("view",{class:d.value},p)}}}}var{create:p6,componentName:g6,scope:y6}=me("tabs-bar"),b6=p6(h6(g6,y6,Iu,l2,Z1,!1)),yl=b6,ui=Symbol("TabsStatesKey"),Dn={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]}},S6=15,w6=300,v6=200;function C6(e,n,l=1){return e=Math.abs(e/n)/.003*(e<0?-1:1),e*l}function di(e,n=0,l,i,r=v6){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 N6=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=hl()}open(e){this.el=e;const n=pl(),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<w6&&Math.abs(i)>S6?(i=C6(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 x6(e,n,l,i=1){return new N6(e,n,l,i)}function k6(e,n,l=!1){return{props:Dn,emits:["update:modelValue","change"],setup(i,r){const{emitEvent:o,exposeApi:s}=$t({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:M=>{const A={name:M};u.current.value===M&&(A.loaded=!0),a.value.push(A),(0,t.triggerRef)(a)},remove:M=>{const A=a.value.findIndex(T=>T.name===M);A!==-1&&a.value.splice(A,1)},isLoaded:M=>{if(!i.lazy)return!0;const A=a.value.findIndex(T=>T.name===M);return A!==-1?u.current.value?a.value[A].loaded??!1:A===0:!1}};(0,t.provide)(ui,u);const f=M=>{const A=a.value.findIndex(T=>T.name===M);A!==-1&&(a.value[A].loaded=!0,(0,t.triggerRef)(a))};(0,t.watch)([()=>i.modelValue,()=>i.direction],([M,A])=>{u.current.value!==M&&(u.current.value=M??"",f(M??"")),u.direction.value!==A&&(u.direction.value=A)});const d=(0,t.ref)(null),h=(0,t.ref)(null),E=(0,t.computed)(()=>({[e]:!0,[`${i.direction}`]:!0})),x=(0,t.computed)(()=>{const M={};if(i.width){const A=xe(i.width);A&&(M.width=A)}if(i.height){const A=xe(i.height);A&&(M.height=A)}return M});let w=!0;const b=(0,t.computed)(()=>{const M={};if(i.transition===!1)return M;const A=a.value.length;if(A<=0)return M;const T=a.value.findIndex($=>$.name===u.current.value);return u.direction.value==="vertical"?u.tabHeight.value>0&&(M.height=`${A*u.tabHeight.value}px`,T!==-1&&(M.transform=`translate(0, -${T*u.tabHeight.value}px)`)):u.tabWidth.value>0&&(M.width=`${A*u.tabWidth.value}px`,T!==-1&&(M.transform=`translate(-${T*u.tabWidth.value}px, 0)`)),w&&(w=!1,M.transition="transform 0s ease"),M}),g={min:0,max:0,start:0,moved:0,itemDistance:0,triggerAutoMoveRatio:.3},N=M=>{const A=a.value.length,T=a.value.findIndex($=>$.name===u.current.value);g.moved=0,M.direction==="vertical"?(g.min=-1*(u.tabHeight.value*(A-1)+u.tabHeight.value/4),g.max=u.tabHeight.value/4,g.start=-T*u.tabHeight.value,g.itemDistance=u.tabHeight.value):(g.min=-1*(u.tabWidth.value*(A-1)+u.tabWidth.value/4),g.max=u.tabWidth.value/4,g.start=-T*u.tabWidth.value,g.itemDistance=u.tabWidth.value)},B=M=>{const A=h.value;if(!A)return;let T=g.start+M.delta;if(T>g.max?T=g.max:T<g.min&&(T=g.min),M.type==="move")di(A,T,"move",M.direction,300);else if(M.type==="end"){let $=Math.floor(Math.abs(T)*1/g.itemDistance);const V=Math.abs(T)%g.itemDistance;g.start>T?V>=g.itemDistance*g.triggerAutoMoveRatio&&($+=1):V>g.itemDistance-g.itemDistance*g.triggerAutoMoveRatio&&($+=1),T=-1*$*g.itemDistance,di(A,T,"end",M.direction,300),g.moved=T;const C=a.value[$].name;u.current.value=C??"",f(C??""),o("update:modelValue",C)}},m=()=>{},v=()=>{if(!d.value)return;const M=Oa(d.value);u.tabWidth.value=M.width,u.tabHeight.value=M.height},k=$r(v,250);let z=null,O=null;return(0,t.onMounted)(()=>{i.transition!==!1&&d.value&&(v(),window.ResizeObserver&&(O=new window.ResizeObserver(k),O.observe(d.value)),i.draggle&&(z=x6(N,B,m),z.open(h.value)))}),(0,t.onBeforeUnmount)(()=>{O&&(O.disconnect(),O=null),z&&z.close()}),s({doLayout(){v()}}),()=>{const M=(0,t.h)("view",{class:`${e}__panes`,style:b.value,ref:h},[c?.default?.()]);return(0,t.h)("view",{class:E.value,style:x.value,ref:d},[M])}}}}var{create:T6,componentName:E6,scope:z6}=me("tabs-container"),$6=T6(k6(E6,z6,!1)),bl=$6,B6={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 V6(e,n,l){return{props:B6,setup(i,{emit:r,slots:o}){const s=(0,t.inject)(ui);(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?we(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),E=(0,t.h)("view",{class:`${e}__empty-text`},[i.emptyText??"Loading"]),x=(0,t.h)("view",{class:`${e}__empty`},[h,E]);f.push(x)}return(0,t.h)("view",{class:c.value,style:a.value,prop:i.paneKey},f)}}}}var{create:D6,componentName:M6,scope:A6}=me("tabs-pane"),P6=D6(V6(M6,A6,dl)),oa=P6,I6={...Vn,...Dn,modelValue:{type:[String,Number],default:0},direction:{type:[String]},height:{type:[String,Number]},width:{type:[String]}};function _6(e,n,l,i){return{props:I6,emits:["update:modelValue","change"],setup(r,o){const{emitEvent:s,exposeApi:c}=$t({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 N=xe(r.width);N&&(g.width=N)}if(r.height){const N=xe(r.height);N&&(g.height=N)}return g}),h=(0,t.computed)(()=>[`${u}__bar`]),E=(0,t.computed)(()=>[`${u}__container`]),x=(0,t.ref)(r.modelValue);(0,t.watch)(()=>r.modelValue,g=>{x.value!==g&&(x.value=g)});const w=g=>{s("change",g)},b=g=>{x.value!==g&&(x.value=g,s("update:modelValue",g))};return c({}),()=>{const{getChildren:g}=ol(a.default),N=g(),B=[];if(Array.isArray(r.data))B.push(...r.data);else for(let A=0;A<N.length;A++){const T=N[A].props??{},$={text:T.label??"",value:T["pane-key"]??T.paneKey??""};B.push($)}const m={};for(let A in a)A!=="default"&&(m[A]=a[A]);const v=pt(r,Vn);Object.assign(v,{prop:null,data:B,class:h.value,modelValue:x.value,direction:r.direction,onChange:w,"onUpdate:modelValue":b});const k=(0,t.h)(l,v,m),z={default:()=>N},O=pt(r,Dn);Object.assign(O,{prop:null,class:E.value,modelValue:x.value,onChange:w,"onUpdate:modelValue":b});const M=(0,t.h)(i,O,z);return(0,t.h)("view",{class:f.value,style:d.value},[k,M])}}}}var{create:L6,componentName:R6,scope:F6}=me("tabs-frame"),O6=L6(_6(R6,F6,yl,bl)),Mn=O6,q6={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 H6(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function fi(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function mi(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}function K6(e,n){return typeof e.visibleKey=="string"&&e.visibleKey.length>0?n[e.visibleKey]:n.visible??null}function An(e,n){return typeof e.statusKey=="string"&&e.statusKey.length>0?n[e.statusKey]:n.statusKey??null}function hi(e,n){return typeof e.doitKey=="string"&&e.doitKey.length>0?n[e.doitKey]:n.doitKey??null}function pi(e,n){return typeof e.labelKey=="string"&&e.labelKey.length>0?n[e.labelKey]:n.labelKey??null}function Pn(e,n,l){return typeof e.itemOptions=="function"?e.itemOptions(n,l):e.itemOptions}var j6=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=Je(e,this.scope);return i===null?(console.error(`[FoxUI]${e} component not found api function`),[]):(Ze(l)&&(0,t.isReactive)(l)&&(l=(0,t.toRaw)(l)),await Reflect.apply(i,null,[n,l]))}};function W6(){const e=nt();return new j6(e)}function Y6(e,n,l,i){return{props:q6,emits:["update:modelValue","change","loaded-data","click"],setup(r,o){const{emitEvent:s,exposeApi:c}=$t({context:o},r.prop),a=e,u=W6(),f=(0,t.ref)([]),d=(0,t.computed)(()=>f.value.filter(H=>K6(r,H)!==!1)),h=(0,t.ref)(-1),E=()=>{const H=r.modelValue,I=d.value.findIndex(_=>fi(r,_)===H);h.value!==I&&(h.value=I,r.scroll&&Z(I,!1))};(0,t.watch)([()=>r.modelValue,d],()=>{E()});const x=H=>h.value===H,w=H=>{if(H<0&&H>=d.value.length)return!1;const I=d.value[H],_=(Pn(r,I,H)??{}).status??An(r,I);return x(H)||_},b=(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)(()=>({})),N=(H,I,_,te,ne)=>{const j={[`${a}__step`]:!0};return ne&&(j[`${ne}`]=!0),j[`${B.value}`]=!0,te&&(j["is-doit"]=!0),H===h.value?j["is-active"]=!0:I==="done"?j["is-done"]=!0:I==="error"?j["is-error"]=!0:I==="half"?j["is-half"]=!0:_?j["is-disabled"]=!0:j["is-normal"]=!0,j},B=(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,I={})=>{const _={...I};if(B.value==="start"&&H===d.value.length-1)_.flex="0 0 auto";else if(r.step){const te=typeof r.step=="number"||Va(r.step)?xe(r.step):r.step;r.direction==="vertical"?_.height=te:_.width=te}else _.flex="1 1 100%";return _},v=(H,I)=>{let _={};if(I<d.value.length-1){const te=I+1;w(I)&&w(te)?r.direction==="vertical"?_.height="100%":_.width="100%":_.opacity="0"}return _},k=H=>d.value.length-1===H,z=(H,I)=>{if(r.clickNavigatePolicy==="disabled"||(r.clickNavigatePolicy==="only-back"||r.clickNavigatePolicy==="only-back-reset")&&I>h.value||h.value===I)return;const _=h.value,te=I;h.value=I,r.scroll&&Z(I,!1);const ne=fi(r,H);s("update:modelValue",ne);const j={fromIndex:_,currentIndex:te,item:H,items:d.value,clickNavigatePolicy:r.clickNavigatePolicy};s("change",ne,j)},O=(0,t.ref)(!0),M=async(H,I)=>{try{const _=await u.load("stesbar",H,I);Array.isArray(_)&&(f.value=_),O.value=!1}catch(_){console.error("[FoxUI] Load StepsBar Data Fail",_),f.value=[]}setTimeout(()=>{s("loaded-data")},250)};(0,t.watch)([()=>r.data,()=>r.params],async([H,I])=>{H&&M(H,I)},{immediate:!0}),c({});const A=(H,I,_,te,ne,j)=>{const F=[];let Y=null;if(!j)if(o.slots.icon)Y=o.slots.icon({item:H,index:I,status:te});else if(te==="done"){const W={};r.iconSize&&(W.width=r.iconSize,W.height=r.iconSize),Y=(0,t.h)(r.icon??l,W)}else Y=(0,t.h)("span",{},[_??`${I+1}`]);return Y&&F.push(Y),(0,t.h)("view",{class:"fox-steps-bar__icon",onClick:()=>{s("click",{item:H,index:I}),!ne&&z(H,I)}},F)},T=(H,I,_)=>(0,t.h)("view",{class:"fox-steps-bar__line"},[(0,t.h)("i",{class:"fox-steps-bar__line-inner",style:v(H,I)})]),$=()=>{let H=null;if(o.slots.markIcon)H=o.slots.markIcon();else{const I={};r.iconSize&&(I.width=r.markIconSize,I.height=r.markIconSize),H=(0,t.h)(r.markIcon??i,I)}return(0,t.h)("view",{class:"fox-steps-bar__mark"},[H])},V=(H,I,_,te,ne,j)=>{const F=[];if(!k(I)){const W=T(H,I,te);F.push(W)}const Y=A(H,I,_,te,ne,j);return F.push(Y),(0,t.h)("view",{class:"fox-steps-bar__head"},F)},C=(H,I,_,te)=>{let ne=null;return o.slots.main?ne=o.slots.main({item:H,index:I,status:_}):ne=H6(r,H),(0,t.h)("view",{class:"fox-steps-bar__main",onClick:()=>{s("click",{item:H,index:I}),!te&&z(H,I)}},[ne])},P=(H,I,_)=>{let te=null;return o.slots.sub?(te=o.slots.sub({item:H,index:I,status:_}),(0,t.h)("view",{class:"fox-steps-bar__sub"},[te])):null},R=(H,I)=>{const _=Pn(r,H,I)??{},te=_.status??An(r,H);let ne=mi(r,H);_.disabled===!0&&(ne=!0),r.disabled===!0&&(ne=!0);let j=hi(r,H);_.doit===!0&&(j=!0);const F=_.label??pi(r,H),Y=[],W=A(H,I,F,te,ne,j);W&&Y.push(W);const le=C(H,I,te,ne);if(le&&Y.push(le),!k(I)){const J=T(H,I,te);J&&Y.push(J)}const se=[],G=(0,t.h)("view",{class:"fox-steps-bar__head"},Y);se.push(G);const p=P(H,I,te);p&&se.push(p);const y=_.class,L=_.style??{};return(0,t.h)("view",{ref:ae(I),class:N(I,te,ne,j,y),style:m(I,L)},se)},q=(H,I)=>{const _=Pn(r,H,I)??{},te=_.status??An(r,H);let ne=mi(r,H);_.disabled===!0&&(ne=!0),r.disabled===!0&&(ne=!0);let j=hi(r,H);_.doit===!0&&(j=!0);const F=_.label??pi(r,H),Y=[],W=r.layout;for(let G of W)if(G==="head"){const p=V(H,I,F,te,ne,j);Y.push(p)}else if(G==="main"){const p=C(H,I,te,ne);Y.push(p)}else if(G==="sub"){const p=P(H,I,te);Y.push(p)}else if(G==="mark"){const p=$();Y.push(p)}const le=_.class,se=_.style??{};return(0,t.h)("view",{ref:ae(I),class:N(I,te,ne,j,le),style:m(I,se)},Y)},K=(0,t.ref)(),U=(0,t.ref)([]),X=(H,I)=>{U.value[I]=H},ae=H=>I=>{X(I,H)},Z=(H,I)=>{const _=K.value,te=U.value;if(!_||!te||!te[H])return;const ne=te[H];let j=0;r.direction==="vertical"?j=ne.offsetTop-(_.offsetHeight-ne.offsetHeight)/2:j=ne.offsetLeft-(_.offsetWidth-ne.offsetWidth)/2,ee(_,j,I?0:.3,r.direction)},ee=(H,I,_,te)=>{let ne=0;const j=te==="horizontal"?H.scrollLeft:H.scrollTop,F=_===0?1:Math.round(_*1e3/16);function Y(){te==="horizontal"?H.scrollLeft+=(I-j)/F:H.scrollTop+=(I-j)/F,++ne<F&&xa(Y)}Y()};return()=>{let H=[];if(r.mode==="simple")for(let _=0;_<d.value.length;_++){const te=d.value[_],ne=R(te,_);H.push(ne)}else for(let _=0;_<d.value.length;_++){const te=d.value[_],ne=q(te,_);H.push(ne)}const I={ref:K,class:b.value,style:g.value};return H.length===0&&typeof o.slots.default=="function"&&(H=o.slots.default()),(0,t.h)("view",I,H)}}}}var{componentName:U6,create:G6,scope:X6}=me("steps-bar"),Q6=G6(Y6(U6,X6,So,hd)),In=Q6,et=e=>typeof e=="number"?`${e}px`:/^d+(\.?d+)$/.test(e)?`${e}px`:e,Mt=e=>e==null,Z6=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=hl()}open(e){Array.isArray(e)||(e=[e]),this.els=e;const n=pl(),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 gi(e,n){return new Z6(e,n)}var yi=typeof window<"u"&&typeof document<"u",zp=typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;function bi(e){const n=Object.create(null);return(l=>n[l]||(n[l]=e(l)))}var J6=/\B([A-Z])/g,$p=bi(e=>e.replace(J6,"-$1").toLowerCase()),e8=/-(\w)/g,Bp=bi(e=>e.replace(e8,(n,l)=>l?l.toUpperCase():"")),Wt=[],Si=e=>{const n=e;n.key==="Escape"&&Wt.forEach(l=>l(n))},t8=e=>{(0,t.onMounted)(()=>{Wt.length===0&&document.addEventListener("keydown",Si),yi&&Wt.push(e)}),(0,t.onBeforeUnmount)(()=>{Wt=Wt.filter(n=>n!==e),Wt.length===0&&yi&&document.removeEventListener("keydown",Si)})},_n="fox-focus-trap.focus-after-trapped",wi="fox-focus-trap.focus-after-released",l8="fox-focus-trap.focusout-prevented",vi={cancelable:!0,bubbles:!1},a8={cancelable:!0,bubbles:!1},Ci="foxFocusAfterTrapped",Ni="foxFocusAfterReleased",n8=Symbol("foxFocusTrap"),Ln=(0,t.ref)(),ia=(0,t.ref)(0),Rn=(0,t.ref)(0),sa=0,xi=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},r8=(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},ki=(e,n)=>{for(const l of e)if(!r8(l,n))return l},o8=e=>{const n=xi(e);return[ki(n,e),ki(n.reverse(),e)]},i8=e=>e instanceof HTMLInputElement&&"select"in e,kt=(e,n)=>{if(e&&e.focus){const l=document.activeElement;e.focus({preventScroll:!0}),Rn.value=window.performance.now(),e!==l&&i8(e)&&n&&e.select()}};function Ti(e,n){const l=[...e],i=e.indexOf(n);return i!==-1&&l.splice(i,1),l}var s8=()=>{let e=[];return{push:i=>{const r=e[0];r&&i!==r&&r.pause(),e=Ti(e,i),e.unshift(i)},remove:i=>{e=Ti(e,i),e[0]?.resume?.()}}},c8=(e,n=!1)=>{const l=document.activeElement;for(const i of e)if(kt(i,n),document.activeElement!==l)return},Ei=s8(),u8=()=>ia.value>Rn.value,ca=()=>{Ln.value="pointer",ia.value=window.performance.now()},zi=()=>{Ln.value="keyboard",ia.value=window.performance.now()},d8=()=>((0,t.onMounted)(()=>{sa===0&&(document.addEventListener("mousedown",ca),document.addEventListener("touchstart",ca),document.addEventListener("keydown",zi)),sa++}),(0,t.onBeforeUnmount)(()=>{sa--,sa<=0&&(document.removeEventListener("mousedown",ca),document.removeEventListener("touchstart",ca),document.removeEventListener("keydown",zi))}),{focusReason:Ln,lastUserFocusTimestamp:ia,lastAutomatedFocusTimestamp:Rn}),ua=e=>new CustomEvent(l8,{...a8,detail:e}),{componentName:Vp,create:f8,scope:Dp}=me("focus-trap"),m8={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"}},h8=f8({props:m8,emits:[Ci,Ni,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{slots:n,emit:l}){const i=(0,t.ref)();let r,o;const{focusReason:s}=d8();t8(w=>{we(e.trapped)&&!c.paused&&l("release-requested",w)});const c={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},a=w=>{if(!e.loop&&!we(e.trapped)||c.paused)return;const{key:b,altKey:g,ctrlKey:N,metaKey:B,currentTarget:m,shiftKey:v}=w,{loop:k}=e,z=b==="Tab"&&!g&&!N&&!B,O=document.activeElement;if(z&&O){const M=m,[A,T]=o8(M);if(A&&T){if(!v&&O===T){const $=ua({focusReason:s.value});l("focusout-prevented",$),$.defaultPrevented||(w.preventDefault(),k&&kt(A,!0))}else if(v&&[A,M].includes(O)){const $=ua({focusReason:s.value});l("focusout-prevented",$),$.defaultPrevented||(w.preventDefault(),k&&kt(T,!0))}}else if(O===M){const $=ua({focusReason:s.value});l("focusout-prevented",$),$.defaultPrevented||w.preventDefault()}}};(0,t.provide)(n8,{focusTrapRef:i,onKeydown:a}),(0,t.watch)(()=>e.focusTrapEl,w=>{w&&(i.value=w)},{immediate:!0}),(0,t.watch)([i],([w],[b])=>{w&&(w.addEventListener("keydown",a),w.addEventListener("focusin",d),w.addEventListener("focusout",h)),b&&(b.removeEventListener("keydown",a),b.removeEventListener("focusin",d),b.removeEventListener("focusout",h))});const u=w=>{l(Ci,w)},f=w=>l(Ni,w),d=w=>{const b=(0,t.unref)(i);if(!b)return;const g=w.target,N=w.relatedTarget,B=g&&b.contains(g);we(e.trapped)||N&&b.contains(N)||(r=N),B&&l("focusin",w),!c.paused&&we(e.trapped)&&(B?o=g:kt(o,!0))},h=w=>{const b=(0,t.unref)(i);if(!(c.paused||!b))if(!e.escape&&we(e.trapped)){const g=w.relatedTarget;!Ae(g)&&!b.contains(g)&&setTimeout(()=>{if(!c.paused&&we(e.trapped)){const N=ua({focusReason:s.value});l("focusout-prevented",N),N.defaultPrevented||kt(o,!0)}},0)}else{const g=w.target;g&&b.contains(g)||l("focusout",w)}};async function E(){await(0,t.nextTick)();const w=(0,t.unref)(i);if(w){Ei.push(c);const b=w.contains(document.activeElement)?r:document.activeElement;if(r=b,!w.contains(b)){const g=new Event(_n,vi);w.addEventListener(_n,u),w.dispatchEvent(g),g.defaultPrevented||(0,t.nextTick)(()=>{let N=e.focusStartEl;fr(N)||(kt(N),document.activeElement!==N&&(N="first")),N==="first"&&c8(xi(w),!0),(document.activeElement===b||N==="container")&&kt(w)})}}}function x(){const w=(0,t.unref)(i);if(w){w.removeEventListener(_n,u);const b=new CustomEvent(wi,{...vi,detail:{focusReason:s.value}});w.addEventListener(wi,f,{once:!0}),w.dispatchEvent(b),!b.defaultPrevented&&(s.value=="keyboard"||!u8())&&kt(r??document.body,!0),Ei.remove(c)}}return(0,t.onMounted)(()=>{we(e.trapped)&&E(),(0,t.watch)(()=>e.trapped,w=>{we(w)?E():x()})}),(0,t.onBeforeUnmount)(()=>{we(e.trapped)&&x(),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}}),p8=h8,{componentName:g8,create:y8,scope:Mp}=me("floating-window"),b8=Symbol.for("InnerPageScopeKey"),S8=Symbol.for("PageWrapperKey"),w8={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}},v8=y8({inheritAttrs:!1,components:{FoxIcon:D.ElIcon,FocusTrap:p8},props:{...w8},emits:["update:modelValue","update:collapse"],setup(e,{emit:n}){const l=g8,i=(0,t.ref)(e.modelValue),r=(0,t.computed)(()=>!e.teleport);(0,t.watch)(()=>e.modelValue,G=>{i.value=G});const o=(0,t.computed)(()=>i.value===!1?!1:!O.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 G=["fox-floating-window"];return e.customClass&&G.push(e.customClass),G}),d=(0,t.computed)(()=>{const G={};return Mt(s.value)?G.left="auto":G.left=et(s.value),Mt(c.value)?G.top="auto":G.top=et(c.value),Mt(a.value)?G.right="auto":G.right=et(a.value),Mt(u.value)?G.bottom="auto":G.bottom=et(u.value),Mt(e.zIndex)||(G["z-index"]=et(e.zIndex)),Mt(k.value)||(G.height=k.value),Mt(z.value)||(G.width=z.value),G}),h=(0,t.computed)(()=>e.closeIcon??Le.Close),E=(0,t.computed)(()=>e.collapseIcon??Le.ArrowUp),x=(0,t.computed)(()=>e.collapseText??""),w=(0,t.computed)(()=>e.collapsePosition==="left"?e.expandIcon??Le.ArrowRight:e.expandIcon??Le.ArrowLeft),b=(0,t.computed)(()=>e.expandText??e.title??"展开"),g=(0,t.computed)(()=>({[`${l}__collapse-text`]:!0})),N=(0,t.computed)(()=>({[`${l}__collapse-icon`]:!0,"is-expand":!O.value,"is-collapse":O.value})),B=(0,t.ref)(),m=(0,t.ref)(null),v=(0,t.ref)(null),k=(0,t.computed)(()=>et(e.height)||""),z=(0,t.computed)(()=>et(e.width)||""),O=(0,t.ref)(we(e.collapse)),M=(G,p=!0)=>{O.value!==G&&(O.value=G,G?ee():H(),n("update:collapse",G),G&&typeof $.onHide=="function"?$.onHide():!G&&typeof $.onShow=="function"&&$.onShow())};(0,t.watch)(()=>e.collapse,G=>{M(G)});const A=()=>{T()},T=G=>{G=G??!O.value,M(G)};(0,t.provide)(b8,!0);const $={setCollapse:M,setFixedNavVisible:G=>{X.value=G}};(0,t.provide)(S8,$);const V=()=>{typeof $.beforeClose=="function"?$.beforeClose(()=>{i.value=!1}):i.value=!1},C=(0,t.ref)(null),P=(0,t.computed)(()=>!e.fixedNavTeleport),R=(0,t.computed)(()=>{const G=["fox-floating-window__fixednav"];return e.expandClass&&G.push(e.expandClass),e.collapsePosition==="left"?G.push("is-left"):e.collapsePosition==="right"&&G.push("is-right"),G}),q=(0,t.ref)(""),K=(0,t.computed)(()=>{const G={};return q.value?G.top=q.value:e.collapseTop&&(G.top=e.collapseTop),G}),U=(0,t.ref)(O.value),X=(0,t.computed)({set:G=>{U.value=G},get:()=>i.value===!1?!1:U.value});let ae=null;const Z=()=>{typeof ae=="function"&&(ae(),ae=null)},ee=()=>{C.value&&C.value.classList.add("slide-in"),X.value=!0,ae=()=>{C.value&&C.value.classList.remove("slide-in")}},H=()=>{C.value&&C.value.classList.add("slide-out"),ae=()=>{C.value&&C.value.classList.remove("slide-out"),X.value=!1}},I=()=>{s.value=null,c.value=null,a.value=null,u.value=null},_={x:0,y:0},j=gi(G=>{if(!B.value)return;const p=B.value;if(I(),e.origin==="left-top")s.value=p.offsetLeft,c.value=p.offsetTop,_.x=s.value,_.y=c.value;else if(e.origin==="left-bottom"){const y=document.documentElement.clientHeight||document.body.clientHeight;s.value=p.offsetLeft,u.value=y-(p.offsetTop+p.offsetHeight),_.x=s.value,_.y=u.value}else if(e.origin==="right-bottom"){const y=document.documentElement.clientWidth||document.body.clientWidth,L=document.documentElement.clientHeight||document.body.clientHeight;a.value=y-(p.offsetLeft+p.offsetWidth),u.value=L-(p.offsetTop+p.offsetHeight),_.x=a.value,_.y=u.value}else{const y=document.documentElement.clientWidth||document.body.clientWidth;a.value=y-(p.offsetLeft+p.offsetWidth),c.value=p.offsetTop,_.x=a.value,_.y=c.value}},G=>{if(!B.value)return;const p=B.value;I(),e.origin==="left-top"?(s.value=_.x+G.x,c.value=_.y+G.y,p.style.left=et(s.value),p.style.top=et(c.value)):e.origin==="left-bottom"?(s.value=_.x+G.x,u.value=_.y-G.y,p.style.left=et(s.value),p.style.bottom=et(u.value)):e.origin==="right-bottom"?(a.value=_.x-G.x,u.value=_.y-G.y,p.style.right=et(a.value),p.style.bottom=et(u.value)):(a.value=_.x-G.x,c.value=_.y+G.y,p.style.right=et(a.value),p.style.top=et(c.value))}),F={x:0,y:0},le=gi(G=>{C.value&&(F.x=C.value.offsetLeft,F.y=C.value.offsetTop)},G=>{if(!C.value)return;const p=F.y+G.y;q.value=`${p}px`}),se=()=>{if(B.value){const G=B.value.querySelector(".fox-floating-window__body > .fox-page > .fox-footer-bar");v.value=G}};return(0,t.onMounted)(()=>{if(e.draggable&&B.value){const G=[];m.value&&G.push(m.value),e.footerDraggable&&(se(),v.value&&G.push(v.value)),j.open(G)}e.collapse===!0&&M(e.collapse,!1),C.value&&le.open(C.value)}),(0,t.onBeforeUnmount)(()=>{e.draggable&&m.value&&j.close(),C.value&&le.close()}),{classes:f,styles:d,isShow:o,closeIcon:h,onClose:V,dialogRef:B,headerRef:m,onClickToggle:A,collapseIcon:E,collapseText:x,collapseTextClasses:g,collapseIconClasses:N,expandIcon:w,expandText:b,isShowFixedNav:X,fixedNavRef:C,fixedNavClasses:R,fixedNavStyles:K,onAnimationEnd:Z,teleportDisabled:r,fixedNavTeleportDisabled:P}}}),C8={ref:"headerRef",class:"fox-floating-window__header"},N8={class:"fox-floating-window__title"},x8={class:"fox-floating-window__tools"},k8={class:"fox-floating-window__body"},T8={class:"fox-floating-window__fixednav__text"};function E8(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",C8,[(0,t.renderSlot)(e.$slots,"header",{},()=>[(0,t.createElementVNode)("span",N8,(0,t.toDisplayString)(e.title),1),(0,t.createElementVNode)("div",x8,[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",k8,[(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",T8,(0,t.toDisplayString)(e.expandText),1)])],38),[[t.vShow,e.isShowFixedNav]])],8,["to","disabled"]))],64)}var Fn=Oe(v8,[["render",E8]]);function $i(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=$i(a,n,l,i,r,o);u&&c.push(u)}),c.length>0){const a={...e};return a[r]=c,a}}return null}function z8(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=$i(a,n,l,i,r,o);u&&s.push(u)}return s}var $8=(0,t.defineComponent)({props:{poppable:{type:[Boolean],default:()=>!0}},setup(e,{slots:n,attrs:l}){return()=>e.poppable?(0,t.h)(gt,{...l},n):n?.default?.()??null}}),B8=$8,da=(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=da(d.children,d,l)),d}),Bi=(e,n)=>{let l=0,i;for(;(i=e[l++])&&n(i)!==!0;)i.children&&i.children.length&&Bi(i.children,n)},V8={topId:null,idKey:"id",pidKey:"pid",sortKey:""},D8=(e,n)=>{const{topId:l,idKey:i,pidKey:r,sortKey:o}={...V8,...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},Vi=class{nodes;config;constructor(e,n){this.config={value:"value",text:"text",children:"children",...n||{}},this.nodes=da(e,null,this.config)}updateChildren(e,n){n?n.children=da(e,n,this.config):this.nodes=da(e,null,this.config)}getNodeByValue(e){let n;return Bi(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:M8,scope:A8}=me("cascader-pane"),P8=M8({components:{Loading:dl,Checklist:So,TabsBar:yl,TabsContainer:bl,TabsPane:oa},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,$e.useFoxI18n)(A8),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 Vi([],{})),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((v,k)=>({text:v.selectedNode?v.selectedNode.text:i("select"),value:k}))),E=new Map;let x,w=null;const b=async()=>{E.clear(),f.value=[],o.value=0,c.value=!1,x=null;let{options:v}=e;r.value.convertConfig&&(v=D8(v,r.value.convertConfig)),u.value=new Vi(v,{value:r.value.valueKey,text:r.value.textKey,children:r.value.childrenKey}),d.value&&!u.value.nodes.length&&await N({root:!0,loading:!0,level:0,text:"",value:""}),f.value=[{nodes:u.value.nodes,selectedNode:null}],g(!d.value)},g=async(v=!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 z=k;if(d.value&&Array.isArray(k)&&k.length){z=[];let O=u.value.nodes.find(M=>M.value===k[0]);if(O){z=[O.value],c.value=!0;const M=await k.slice(1).reduce(async(A,T)=>{const $=await A;await N($);const V=$&&$?.children?.find(C=>C.value===T);return V&&z.push(T),Promise.resolve(V)},Promise.resolve(O));await N(M),c.value=!1}}z.length&&k===e.modelValue&&u.value.getPathNodesByValue(z).map((O,M)=>{o.value=M,m.handleNode(O,v)})},N=async v=>{if(!v)return;if(!r.value.lazyLoad){v.leaf=!0;return}if(u.value.isLeaf(v,d.value)||u.value.hasChildren(v,d.value))return;v.loading=!0,w&&typeof w=="object"&&Object.assign(v,w);const k=v.root?null:v;let z=E.get(v);z||(z=new Promise(M=>{r.value.lazyLoad?.(v,M)}),E.set(v,z));const O=await z;Array.isArray(O)&&O.length>0?u.value.updateChildren(O,k):v.leaf=!0,v.loading=!1,E.delete(v)},B=v=>{const k=v.map(z=>z.value);a.value=k,n("change",k,v),n("pathChange",v),n("update:modelValue",k)},m={async handleNode(v,k){const{disabled:z,loading:O}=v;if(!(!k&&z||!f.value[o.value])){if(u.value.isLeaf(v,d.value)){if(v.leaf=!0,f.value[o.value].selectedNode=v,f.value=f.value.slice(0,v.level+1),!k){const M=f.value.map(A=>A.selectedNode);B(M),n("pathChange",M)}return}if(u.value.hasChildren(v,d.value)){const M=v.level+1;f.value[o.value].selectedNode=v,f.value=f.value.slice(0,M),f.value.push({nodes:v.children||[],selectedNode:null}),o.value=M,k||n("pathChange",f.value.map(A=>A.selectedNode));return}x=v,!O&&(await N(v),x===v&&(f.value[o.value].selectedNode=v,m.handleNode(v,k)))}},handleTabChange(v,k){x=null},formatTabTitle(v){return v.selectedNode?v.selectedNode.text:i("select")},isSelected(v,k){return v.selectedNode&&v.selectedNode.value===k.value}};return(0,t.watch)([r,()=>e.options],()=>{b()},{deep:!0,immediate:!0}),(0,t.watch)(()=>e.modelValue,v=>{Xe(v,a.value)||(a.value=v,g(!d.value))}),(0,t.watch)(()=>e.visible,v=>{v&&Array.isArray(a.value)&&a.value.length>0&&g(),v&&s.value&&setTimeout(()=>{s.value.doLayout()},0)}),l({refresh:(v={})=>{w=v,b()}}),{panes:f,panesTitles:h,initLoading:c,tabsCursor:o,tabsContainerRef:s,...m}}}),I8={class:"fox-cascader"},_8={role:"menu",class:"fox-cascader__pane"},L8=["aria-checked","aria-disabled","onClick"],R8={class:"fox-cascader__item__title"};function F8(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",I8,[(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",_8,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(d.nodes,E=>((0,t.openBlock)(),(0,t.createElementBlock)("view",{key:E.value,class:(0,t.normalizeClass)(["fox-cascader__item",{active:e.isSelected(d,E),disabled:E.disabled}]),"aria-checked":e.isSelected(d,E),"aria-disabled":E.disabled||void 0,role:"menuitemradio",onClick:x=>e.handleNode(E,!1)},[(0,t.createElementVNode)("view",R8,(0,t.toDisplayString)(E.text),1),E.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,L8))),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 O8=Oe(P8,[["render",F8]]),{create:q8,scope:H8}=me("cascader"),K8=q8({components:{CascaderPane:O8,Wrapper:B8,SearchBar:ml,Search:bo,Close:ln},props:{...tn,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,$e.useFoxI18n)(H8),i=l(e,["seachPlaceholder"]),r="fox-cascader",o=(0,t.computed)(()=>{const g=[`${r}__bar`];return!e.title&&!e.filterable&&g.push("is-empty"),g}),s=(0,t.ref)(e.modelValue),c=(0,t.computed)({get(){return e.visible},set(g){n("update:visible",g)}}),a=(g,N)=>{s.value=g,c.value=!1,n("change",g,N),n("update:modelValue",g)},u=g=>{n("pathChange",g)};(0,t.watch)(()=>e.modelValue,g=>{g!==s.value&&(s.value=g)});const f=(0,t.useTemplateRef)("cascaderPaneRef"),d=(0,t.ref)(""),h=(0,t.ref)(""),E=()=>{d.value=h.value,e.lazy&&f.value?.refresh({[`${e.searchKey}`]:d.value})},x=()=>{E()};let w=null;(0,t.watch)(()=>h.value,(g,N)=>{w&&(clearTimeout(w),w=null),ve(g)&&!ve(N)&&(w=setTimeout(()=>{x()},e.searchDelayTriggerClear))});const b=(0,t.computed)(()=>e.filterable===!0?z8(e.options,d.value,[e.textKey],e.fiterMethod,e.childrenKey,e.leafKey):e.options);return{...i,headerBarClass:o,onChange:a,onPathChange:u,innerValue:s,innerVisible:c,filterOptions:b,searchModelValue:h,onSearch:E}}}),j8={key:0,class:"fox-cascader__bar-title"};function W8(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",j8,(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,{class:"fox-cascader__bar-search-icon"})]),_: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 On=Oe(K8,[["render",W8]]),Y8=Symbol.for("PageWrapperKey"),U8={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 G8(e,n){return{props:U8,setup(l,i){Ia({hasHeaderBar:!1,hasFooterBar:!0,hasContent:!0});const r={};(0,t.provide)(Y8,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"]=xe(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)(D.ElDialog,u,d)}}}}var{componentName:X8,create:Q8,scope:Z8}=me("dialog-item"),J8=Q8(G8(X8,Z8)),qn=J8,{create:e7}=me("toast"),t7=e7({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,E=>{E&&s()});const a=(0,t.computed)(()=>e.type!=="text"?!0:!!e.icon),u=()=>{const E=Se(e.iconSize);return(0,t.h)(e.icon,{width:E,height:E,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()}}}}),l7={key:1,class:"fox-toast-title"},a7=["innerHTML"];function n7(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",l7,(0,t.toDisplayString)(e.title),1)):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("view",{class:"fox-toast-text",innerHTML:e.msg},null,8,a7)],4)],6),[[t.vShow,e.state.mounted]])]),_:1},8,["onAfterLeave"])}var Hn=Oe(t7,[["render",n7]]),Kn={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},Yt=[],Sl=[],Di=e=>{if(e){const n=document.getElementById(e);Sl=Sl.filter(l=>l.id!==e),Yt=Yt.filter(l=>l!==e),n&&((0,t.render)(null,n),document.body.removeChild(n))}else Yt.forEach(n=>{const l=document.getElementById(n);l&&((0,t.render)(null,l),document.body.removeChild(l))}),Sl=[],Yt=[]},r7=e=>{const n=document.getElementById(e.id);if(n){const l=Sl.find(r=>r.id===e.id);l?e={...Kn,...l,...e}:e={...Kn,...e};const i=(0,t.createVNode)(Hn,e);return(0,t.render)(null,n),(0,t.render)(i,n),Ut}},wl=e=>{e.unmount=Di;let n;if(e.id){if(n=e.id,Yt.find(i=>i===e.id))return r7(e)}else n=new Date().getTime()+"";e={...Kn,...e},e.id=n,Yt.push(e.id),Sl.push(e);const l=document.createElement("div");return l.id=e.id,(0,t.render)((0,t.createVNode)(Hn,e),l),document.body.appendChild(l),Ut},fa=e=>e?!0:(console.warn("[FoxUI Toast]: msg不能为空"),!1),Ut={text(e,n={}){if(fa(e))return wl({...n,type:"text",msg:e})},success(e,n={}){if(fa(e))return wl({icon:D1,...n,msg:e,type:"success"})},fail(e,n={}){if(fa(e))return wl({icon:T2,...n,msg:e,type:"fail"})},warn(e,n={}){if(fa(e))return wl({icon:yo,...n,msg:e,type:"warn"})},loading(e,n={}){return wl({icon:dl,...n,msg:e,type:"loading"})},hide(e){Di(e)},install(e){e.use(Hn),e.config.globalProperties.$toast=Ut}},o7={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]}},i7=(e,n,l)=>({props:o7,emits:["change","refresh","update:modelValue"],setup(i,{emit:r,slots:o}){const s=e,{toLocaleRefs:c}=(0,$e.useFoxI18n)(n),a=c(i,["pullingText","loosingText","loadingText"]),u=pl(),f=(0,t.ref)(),d=Po(f),h=(0,t.reactive)({isPullRefresh:!1,distance:0,status:"normal",moving:!1}),E=(0,t.computed)(()=>({[s]:!0})),x=(0,t.computed)(()=>{const M=[`${s}__container`];return i.containerClass&&M.push(i.containerClass),M}),w=(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""}}),b=(0,t.computed)(()=>({transitionDuration:`${i.duration}s`,transform:h.distance?`translate3d(0,${h.distance}px, 0)`:""})),g=(0,t.computed)(()=>{const M={};return i.headHeight!=50&&(M.height=xe(i.headHeight)),M}),N=M=>{const A=+(i.pullDistance||i.headHeight);let T=M;return M>A&&(M<A*2?T=(M+A)/2:T=A+M/4),Math.round(T)},B=(M,A)=>{const T=+(i.pullDistance||i.headHeight);h.distance=M,A?h.status="loading":M===0?h.status="normal":M<T?h.status="pulling":h.status="loosing",r("change",{status:h.status,distance:M})},m=()=>h.status!=="loading"&&h.status!=="complete",v=()=>d.value==window?Io()==0:d.value&&d.value.scrollTop==0,k=M=>{m()&&(v()?(u.start(M),h.isPullRefresh=!0,h.moving=!0):(h.distance=0,h.isPullRefresh=!1))},z=M=>{m()&&h.moving&&(u.move(M),u.isVertical()&&u.state.deltaY>0&&h.isPullRefresh&&(M.cancelable&&M.preventDefault(),B(N(u.state.deltaY))))},O=()=>{h.moving=!1,h.isPullRefresh&&m()&&u.state.deltaY&&(h.status==="loosing"?(B(+i.headHeight,!0),r("update:modelValue",!0),(0,t.nextTick)(()=>r("refresh"))):B(0)),setTimeout(()=>{u.reset()},0)};return(0,t.watch)(()=>i.modelValue,M=>{M?B(+i.headHeight,!0):B(0)}),()=>{const M=[];let A=null;h.status==="loading"?(A=o?.loading?.()??null,A||(A=(0,t.h)(l,{class:[`${s}__container-topbox-icon`]}))):h.status==="pulling"?A=o?.pulling?.()??null:h.status==="loosing"&&(A=o?.loosing?.()??null),A&&M.push(A);const T=(0,t.h)("dive",{class:[`${s}__container-topbox-text`]},[w.value]);M.push(T);const $=(0,t.h)("div",{class:[`${s}__container-topbox`],style:g.value},M),V=(0,t.h)("div",{class:x.value,style:b.value},[$,o?.default?.()]),C={ref:f,class:E.value};return hl()?Object.assign(C,{onTouchstart:k,onTouchmove:z,onTouchend:O}):Object.assign(C,{onMousedown:k,onMousemove:z,onMouseup:O}),(0,t.h)("div",C,[V])}}}),{componentName:s7,create:c7,scope:u7}=me("pull-refresh"),d7=c7(i7(s7,u7,dl)),jn=d7,f7={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 m7(e,n,l){return{props:f7,emits:["click","update:modelValue"],setup(i,{emit:r,slots:o}){const{toLocaleRefs:s}=(0,$e.useFoxI18n)(n),c=s(i,["collapseText","expandText"]),a=(0,t.computed)(()=>{const x={[`${e}`]:!0};return i.disabled?x[`${e}--disabled`]=!0:x[`${e}--${i.type}`]=!0,x}),u=ze(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})),E=()=>{r("update:modelValue",!u.value)};return()=>{const x=[];if(f.value){const g=(0,t.h)("span",{class:d.value},[f.value]);x.push(g)}const w={class:h.value},b=(o.icon&&o.icon())??(i.icon&&(0,t.h)(i.icon))??(0,t.h)(l);if(b){const g=(0,t.h)("div",w,[b]);x.push(g)}return i.textPosition==="right"&&x.reverse(),(0,t.h)("div",{class:a.value,onClick:E},x)}}}}var{componentName:h7,create:p7,scope:g7}=me("more-button"),y7=p7(m7(h7,g7,Le.ArrowUp)),Wn=y7;function b7(e){e.stopPropagation()}var S7=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=hl()}open(e){Array.isArray(e)||(e=[e]),this.els=e;const n=pl(),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),b7(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 w7(e,n){return new S7(e,n)}var v7={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}},C7=(e,n,l,i=!1)=>({props:v7,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 v=[`${e}`];return r.customClass&&v.push(r.customClass),v}),h=(0,t.computed)(()=>{const v={};return ve(f.top)||(v.top=xe(f.top)),ve(f.right)||(v.right=xe(f.right)),ve(f.bottom)||(v.bottom=xe(f.bottom)),ve(f.left)||(v.left=xe(f.left)),ve(r.width)||(v.width=xe(r.width)),ve(r.height)||(v.height=xe(r.height)),ve(r.color)||(v.color=r.color),ve(r.background)||(v.background=r.background),ve(r.borderRadius)||(v["border-radius"]=r.borderRadius),ve(r.zIndex)||(v["z-index"]=r.zIndex),v}),E=(0,t.computed)(()=>({[`${e}__icon`]:!0})),x=()=>{s("click")},w=(0,t.ref)(null),b=()=>{f.top=null,f.right=null,f.bottom=null,f.left=null},g={x:0,y:0},m=w7(v=>{if(!w.value)return;const k=w.value;b(),f.left=k.offsetLeft,f.top=k.offsetTop,k.style.left=xe(f.left),k.style.top=xe(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},v=>{if(!w.value)return;const k=w.value;b();let z=g.x+v.x;z<0&&(z=0),z>a-f.width&&(z=a-f.width);let O=g.y+v.y;O<0&&(O=0),O>u-f.height&&(O=u-f.height),f.left=xe(z),f.top=xe(O),k.style.left=xe(z),k.style.top=xe(O)});return(0,t.onMounted)(()=>{if(r.draggable&&w.value){const v=[w.value];m.open(v)}}),(0,t.onBeforeUnmount)(()=>{r.draggable&&w.value&&m.close()}),()=>{let v=[];const k=typeof o.default=="function"?o.default():[];if(k&&k.length>0)v=k;else{const O=(0,t.h)(l,{class:E.value});v.push(O)}const z=(0,t.h)("view",{...c,ref:O=>{w.value=O},class:d.value,style:h.value,onClick:x},v);return r.teleportDisable===!1?(0,t.h)(t.Teleport,{to:r.teleport},[z]):z}}}),{componentName:N7,create:x7,scope:k7}=me("floating-button"),T7=x7(C7(N7,k7,C1,!1)),Yn=T7;function E7(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 E={class:s.value,style:c.value};f=(0,t.h)(l.icon??"div",E)}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:z7,create:$7,scope:B7}=me("indicator"),V7=$7(E7(z7,B7)),Un=V7,{componentName:D7,create:M7,scope:Ap}=me("tour"),A7=M7({components:{Close:Le.Close,ElPopover:D.ElPopover},props:{modelValue:{type:Boolean,default:!1},type:{type:String,default:"step"},steps:{type:Array,default:()=>[]},location:{type:String,default:"bottom"},width:{type:String,default:"300px"},popperClass:{type:String,default:""},current:{type:Number,default:0},nextStepText:{type:String,default:"下一步"},prevStepText:{type:String,default:"上一步"},completeText:{type:String,default:"完成"},mask:{type:Boolean,default:!0},offset:{type:Object,default:{left:8,top:10,right:8,botttom:10}},maskWidth:{type:[Number,String],default:""},maskHeight:{type:[Number,String],default:""},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 l=D7,i=(0,t.reactive)({showTour:e.modelValue,showPopup:!1,active:0}),r=(0,t.ref)({}),o=(0,t.computed)(()=>`${l}`),s=(0,t.computed)(()=>{const{offset:x,maskWidth:w,maskHeight:b}=e,{width:g,height:N,left:B,top:m}=r.value,v=e.steps[i.active].offset??x,k=[B+g/2,m+N/2],z=Number(w||g),O=Number(b||N);return{width:`${z+ +v.left+v.right}px`,height:`${O+v.top+v.bottom}px`,top:`${k[1]-O/2-+v.top}px`,left:`${k[0]-z/2-+v.left}px`}}),c=x=>{x=="next"?i.active=i.active+1:i.active=i.active-1,i.showPopup=!1,(0,t.nextTick)(()=>{i.showPopup=!0,f()}),n("change",i.active)},a=x=>x.popoverWidth??e.width,u=x=>x.location??e.location,f=()=>{const x=En(document.querySelector(`${e.steps[i.active].target}`));r.value={x:x.left,y:x.top,top:x.top,left:x.left,width:x.width,height:x.height}},d=()=>{i.showTour=!1,i.showPopup=!1,n("close",i.active),n("update:modelValue",!1)},h=()=>{e.closeOnClickOverlay&&d()},E=(x,w=0)=>{x&&f(),e.steps,i.active=w,i.showTour=x,i.showPopup=x};return(0,t.onMounted)(()=>{E(e.modelValue,e.current)}),(0,t.watch)(()=>e.modelValue,x=>{E(x)}),{...(0,t.toRefs)(i),classes:o,maskStyle:s,changeStep:c,popoverWidth:a,popoverLocation:u,close:d,handleClickMask:h}}}),P7={key:0,class:"fox-tour__content"},I7={key:0,class:"fox-tour__content-top"},_7={class:"fox-tour__content-inner"},L7={class:"fox-tour__content-bottom"},R7={class:"fox-tour__content-bottom-init"},F7={class:"fox-tour__content-bottom-operate"},O7={key:1,class:"fox-tour__content fox-tour__content-tile"},q7={class:"fox-tour__content-inner"};function H7(e,n,l,i,r,o){const s=(0,t.resolveComponent)("Close"),c=(0,t.resolveComponent)("fox-button"),a=(0,t.resolveComponent)("ElPopover");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]=(...u)=>e.handleClickMask&&e.handleClickMask(...u))},null,512),[[t.vShow,e.showTour]]),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.steps,(u,f)=>((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:f,style:{height:"0"}},[f==e.active?((0,t.openBlock)(),(0,t.createBlock)(a,{key:0,"popper-class":"popperClass",visible:e.showPopup,placement:e.popoverLocation(u),width:e.popoverWidth(u)},{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),id:"fox-tour-popid"},null,6)):(0,t.createCommentVNode)("",!0)]),default:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,"default",{},()=>[e.type=="step"?((0,t.openBlock)(),(0,t.createElementBlock)("div",P7,[e.showTitleBar?((0,t.openBlock)(),(0,t.createElementBlock)("div",I7,[(0,t.createElementVNode)("div",{onClick:n[1]||(n[1]=(...d)=>e.close&&e.close(...d))},[(0,t.createVNode)(s,{class:"fox-tour__content-top-close"})])])):(0,t.createCommentVNode)("",!0),(0,t.createElementVNode)("div",_7,(0,t.toDisplayString)(u.content),1),(0,t.createElementVNode)("div",L7,[(0,t.createElementVNode)("div",R7,(0,t.toDisplayString)(e.active+1)+"/"+(0,t.toDisplayString)(e.steps.length),1),(0,t.createElementVNode)("div",F7,[(0,t.renderSlot)(e.$slots,"prev-step",{},()=>[e.active!=0&&e.showPrevStep?((0,t.openBlock)(),(0,t.createBlock)(c,{key:0,small:"",class:"fox-tour__content-bottom-operate-btn",onClick:n[2]||(n[2]=d=>e.changeStep("prev"))},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.prevStepText),1)]),_:1})):(0,t.createCommentVNode)("",!0)]),e.steps.length-1==e.active?((0,t.openBlock)(),(0,t.createBlock)(c,{key:0,type:"primary",small:"",class:"fox-tour__content-bottom-operate-btn",onClick:e.close},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.completeText),1)]),_:1},8,["onClick"])):(0,t.createCommentVNode)("",!0),(0,t.renderSlot)(e.$slots,"next-step",{},()=>[e.steps.length-1!=e.active?((0,t.openBlock)(),(0,t.createBlock)(c,{key:0,type:"primary",small:"",class:"fox-tour__content-bottom-operate-btn",onClick:n[3]||(n[3]=d=>e.changeStep("next"))},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.nextStepText),1)]),_:1})):(0,t.createCommentVNode)("",!0)])])])])):(0,t.createCommentVNode)("",!0),e.type=="tile"?((0,t.openBlock)(),(0,t.createElementBlock)("div",O7,[(0,t.createElementVNode)("div",q7,(0,t.toDisplayString)(u.content),1)])):(0,t.createCommentVNode)("",!0)])]),_:2},1032,["visible","placement","width"])):(0,t.createCommentVNode)("",!0)]))),128))],2)}var Gn=Oe(A7,[["render",H7]]),K7="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=",j7="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:W7,scope:Y7}=me("number-keyboard"),U7=W7({components:{FoxPopup:gt},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,$e.useFoxI18n)(Y7),i=l(e,["confirmText"]),r=(0,t.computed)(()=>{const N=["fox-number-keyboard-popup"];return e.popClass&&N.push(e.popClass),N.join(" ")}),o=(0,t.ref)(void 0),s=(0,t.ref)(e.visible),c=(0,t.ref)();function a(){const{customKey:N}=e;let B={id:"lock",type:"lock"},m=Array.isArray(N)?N:[N];return m.length===1&&(B={id:m[0],type:"custom"}),[...u(),B,{id:0,type:"number"},{id:"delete",type:"delete"}]}function u(){const N=[];for(let B=1;B<=9;B++)N.push({id:B,type:"number"});return e.randomKeys?N.sort(()=>Math.random()>.5?1:-1):N}function f(){const N=u(),{customKey:B}=e;let m=Array.isArray(B)?B:[B];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"?N.push({id:m[0],type:"custom"},{id:0,type:"number"},{id:"delete",type:"delete"}):N.push({id:0,type:"number"},{id:m[0],type:"custom"}):m.length===2&&N.push({id:m[0],type:"custom"},{id:0,type:"number"},{id:m[1],type:"custom"}),N}const d=(0,t.computed)(()=>e.type=="rightColumn"||e.title!=""?f():a()),h=()=>{e.visible&&n("blur")},E=N=>{const B=c.value;B&&!B.contains(N.target)&&h()};(0,t.watch)(()=>e.visible,N=>{s.value=N,N?window.addEventListener("touchstart",E,!1):window.removeEventListener("touchstart",E,!1)});function x(N,B){B.stopPropagation(),o.value=N.id,(N.type=="number"||N.type=="custom")&&(n("input",N.id),e.modelValue.length<Number(e.maxlength)&&n("update:modelValue",e.modelValue+N.id)),N.type=="lock"&&g(),N.type=="delete"&&(n("delete"),n("update:modelValue",e.modelValue.slice(0,e.modelValue.length-1)))}function w(N){N.stopPropagation()}function b(N){N.preventDefault(),o.value=void 0}function g(){n("update:visible",!1),n("close")}return{...i,allPopClass:r,delImg:K7,lockImg:j7,clickKeyIndex:o,defaultKey:a,closeBoard:g,onTouchEnd:b,onTouchMove:w,onTouchstart:x,keysList:d,genCustomKeys:f,getBasicKeys:u,root:c,show:s}}}),G7={ref:"root"},X7={class:"fox-number-keyboard"},Q7={key:0,class:"fox-number-keyboard__header"},Z7={class:"fox-number-keyboard__title"},J7={class:"fox-number-keyboard__body"},em={class:"fox-number-keyboard__keys"},tm=["onTouchstart"],lm=["src"],am=["src"],nm={key:0,class:"fox-number-keyboard__sidebar"},rm={class:"fox-key__wrapper"},om=["src"];function im(e,n,l,i,r,o){const s=(0,t.resolveComponent)("FoxPopup");return(0,t.openBlock)(),(0,t.createElementBlock)("div",G7,[(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",X7,[e.title?((0,t.openBlock)(),(0,t.createElementBlock)("div",Q7,[(0,t.createElementVNode)("h3",Z7,(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",J7,[(0,t.createElementVNode)("div",em,[((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,lm)):(0,t.createCommentVNode)("",!0),c.type=="delete"?((0,t.openBlock)(),(0,t.createElementBlock)("img",{key:2,src:e.delImg},null,8,am)):(0,t.createCommentVNode)("",!0)],42,tm)],2))),128))]),e.type=="rightColumn"?((0,t.openBlock)(),(0,t.createElementBlock)("div",nm,[(0,t.createElementVNode)("div",rm,[(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,om)],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 Xn=Oe(U7,[["render",im]]),{create:sm,scope:cm}=me("short-password"),um=sm({components:{FoxPopup:gt,Tips:yo},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,$e.useFoxI18n)(cm),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}}}),dm={class:"fox-short-password-title"},fm={class:"fox-short-password-subtitle"},mm={class:"fox-short-password-wrapper"},hm={key:0,class:"fox-short-password__item-icon"},pm={class:"fox-short-password__message"},gm={class:"fox-short-password--error"},ym={key:0,class:"fox-short-password--forget"};function bm(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",dm,(0,t.toDisplayString)(e.title),1),(0,t.createElementVNode)("view",fm,(0,t.toDisplayString)(e.desc),1),(0,t.createElementVNode)("div",mm,[(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",hm)):(0,t.createCommentVNode)("",!0)]))),128))],32)]),(0,t.createElementVNode)("view",pm,[(0,t.createElementVNode)("view",gm,(0,t.toDisplayString)(e.errorMsg),1),e.tips?((0,t.openBlock)(),(0,t.createElementBlock)("view",ym,[(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 Qn=Oe(um,[["render",bm]]),{componentName:Sm,create:wm,scope:vm}=me("signature"),Cm=wm({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:D.ElButton},emits:["start","end","signing","confirm","clear"],setup(e,{emit:n,expose:l}){const{toLocaleRefs:i}=(0,$e.useFoxI18n)(vm),r=i(e,["unSupportTpl","reSign","confirmText"]),o=(0,t.ref)(null),s=(0,t.ref)(null),c=(0,t.computed)(()=>({[Sm]:!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],E,!1),o.value.addEventListener(a.events[2],x,!1),o.value.addEventListener(a.events[3],w,!1)},E=m=>{m.preventDefault();let v=a.isSupportTouch?m.touches[0]:m;n("signing",v);let k=o.value.getBoundingClientRect(),z=v.clientX-k.left,O=v.clientY-k.top;a.ctx.lineTo(z,O),a.ctx.stroke()},x=m=>{m.preventDefault(),n("end"),o.value.removeEventListener(a.events[1],E,!1),o.value.removeEventListener(a.events[2],x,!1)},w=m=>{m.preventDefault(),o.value.removeEventListener(a.events[1],E,!1),o.value.removeEventListener(a.events[2],x,!1)},b=()=>{o.value.addEventListener(a.events[2],x,!1),a.ctx.clearRect(0,0,a.canvasWidth,a.canvasHeight),a.ctx.closePath(),n("clear")},g=()=>{B(o.value)},N=m=>{if(!m)return!0;var v=document.createElement("canvas");return v.width=m.width,v.height=m.height,m?.toDataURL()==v.toDataURL()},B=m=>{let v;switch(e.type){case"png":v=m.toDataURL("image/png");break;case"jpg":v=m.toDataURL("image/jpeg",.8);break}n("confirm",N(m)?"请绘制签名":m,N(m)?"":v)};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:b}),{...r,...(0,t.toRefs)(a),canvas:o,wrap:s,isCanvasSupported:u,confirm:g,clear:b,classes:c}}}),Nm={class:"fox-signature__inner",ref:"wrap"},xm=["height","width"],km={key:0,class:"fox-signature-unsopport"},Tm={class:"fox-signature__toolbar"};function Em(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",Nm,[(0,t.withDirectives)((0,t.createElementVNode)("canvas",{ref:"canvas",height:e.canvasHeight,width:e.canvasWidth},null,8,xm),[[t.vShow,e.isCanvasSupported()]]),e.isCanvasSupported()?(0,t.createCommentVNode)("",!0):((0,t.openBlock)(),(0,t.createElementBlock)("p",km,(0,t.toDisplayString)(e.unSupportTpl),1))],512),(0,t.createElementVNode)("div",Tm,[(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 Zn=Oe(Cm,[["render",Em]]),zm={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 $m(e,n){return{inheritAttrs:!1,props:zm,setup(l,i){const{exposeApi:r}=Br({context:i,props:()=>l.config},l.name);return Ae(l.innerPageScope)||Ia(l.innerPageScope),Ae(l.abstractPageScope)||Mr(l.abstractPageScope),r(),()=>typeof i.slots.default=="function"?i.slots.default():null}}}var{componentName:Bm,create:Vm,scope:Dm}=me("domain-provider"),Mm=Vm($m(Bm,Dm)),Jn=Mm,Am={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 Pm(e,n){return{inheritAttrs:!1,props:Am,emits:["change"],setup(l,{slots:i,emit:r}){if(bt&&window.IntersectionObserver){const o=new WeakMap;let s=new Map;const c=(h,E)=>{if(f===null){s.set(h,{visible:null,callback:E});return}o.has(h)&&f.unobserve(h),o.set(h,{visible:null,callback:E}),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;rc({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,E,x)=>{f=new IntersectionObserver(w=>{if(r("change",w),l.loadPolicy!=="always")for(let b of w){let g=!1;b.intersectionRatio>0&&(g=!0);const N=o.get(b.target);if(N)try{if(l.loadPolicy==="lazy"&&!g&&N.visible!==null)return;N.visible=g,N.callback(g)}catch(B){console.error(B)}}},{root:h,rootMargin:E,threshold:x}),s.forEach((w,b)=>{o.set(b,w),f?.observe(b)}),s.clear()};(0,t.watch)([()=>l.root,()=>l.disabled],([h,E])=>{if(E||!h||f)return;let x=null;typeof h=="string"?x=document.querySelector(h):x=h,x&&d(x,l.rootMargin,l.threshold)},{immediate:!0}),(0,t.onUnmounted)(()=>{f&&(f.disconnect(),f=null)})}return()=>typeof i.default=="function"?i.default():null}}}var{componentName:Im,create:_m,scope:Lm}=me("rolling-provider"),Rm=_m(Pm(Im,Lm)),er=Rm,Fm=[Ra,qa,Ha,Ka,Wa,cl,Ul,Gl,Xa,Ye,Ql,Qa,Za,Ja,nn,rn,on,sn,cn,dn,fn,mn,hn,ea,yn,bn,Sn,wn,vn,Cn,Nn,xn,na,kn,$n,Bn,yl,bl,oa,Mn,In,Fn,Xl,ra,Jl,On,qn,Zl,gt,Ut,ml,aa,jn,Wn,Yn,Ft,Yl,Un,Rt,Gn,Xn,Qn,Zn,Jn,er],Om=new Ts(Fm,[$s],"4.0.0");S.AbstractPageScopeKey=_a,S.ActionsheetItem=kn,S.FoxActionsheetItem=kn,S.ActionsheetPane=na,S.FoxActionsheetPane=na,S.AutocompleteItem=fn,S.FoxAutocompleteItem=fn,S.Broadcast=Cr,S.BroadcastKey=lt,S.ButtonsItem=Xa,S.FoxButtonsItem=Xa,S.CalendarItem=nn,S.FoxCalendarItem=nn,S.CascaderItem=dn,S.FoxCascaderItem=dn,S.CheckboxItem=Sn,S.FoxCheckboxItem=Sn,S.Content=Ka,S.FoxContent=Ka,S.DataItemsKey=nl,S.DateItem=Ja,S.FoxDateItem=Ja,S.DateUtils=ot,S.DialogItem=qn,S.FoxDialogItem=qn,S.Domain=Vl,S.DomainKey=wt,S.DomainProvider=Jn,S.FoxDomainProvider=Jn,S.FloatingButton=Yn,S.FoxFloatingButton=Yn,S.FloatingWindow=Fn,S.FoxFloatingWindow=Fn,S.FooterBar=Ha,S.FoxFooterBar=Ha,S.FoxAffix=D.ElAffix,S.FoxAlert=D.ElAlert,S.FoxAnchor=D.ElAnchor,S.FoxAnchorLink=D.ElAnchorLink,S.FoxAside=D.ElAside,S.FoxAutoResizer=D.ElAutoResizer,S.FoxAutocomplete=D.ElAutocomplete,S.FoxAvatar=D.ElAvatar,S.FoxBacktop=D.ElBacktop,S.FoxBadge=D.ElBadge,S.FoxBreadcrumb=D.ElBreadcrumb,S.FoxBreadcrumbItem=D.ElBreadcrumbItem,S.FoxButton=D.ElButton,S.FoxButtonGroup=D.ElButtonGroup,S.FoxCalendar=D.ElCalendar,S.FoxCard=D.ElCard,S.FoxCarousel=D.ElCarousel,S.FoxCarouselItem=D.ElCarouselItem,S.FoxCascader=D.ElCascader,S.FoxCascaderPanel=D.ElCascaderPanel,S.FoxCheckTag=D.ElCheckTag,S.FoxCheckbox=D.ElCheckbox,S.FoxCheckboxButton=D.ElCheckboxButton,S.FoxCheckboxGroup=D.ElCheckboxGroup,S.FoxCol=D.ElCol,S.FoxCollapse=D.ElCollapse,S.FoxCollapseItem=D.ElCollapseItem,S.FoxCollapseTransition=D.ElCollapseTransition,S.FoxColorPicker=D.ElColorPicker,S.FoxConfigProvider=D.ElConfigProvider,S.FoxContainer=D.ElContainer,S.FoxCountdown=D.ElCountdown,S.FoxDatePicker=D.ElDatePicker,S.FoxDescriptions=D.ElDescriptions,S.FoxDescriptionsItem=D.ElDescriptionsItem,S.FoxDialog=D.ElDialog,S.FoxDivider=D.ElDivider,S.FoxDrawer=D.ElDrawer,S.FoxDropdown=D.ElDropdown,S.FoxDropdownItem=D.ElDropdownItem,S.FoxDropdownMenu=D.ElDropdownMenu,S.FoxEmpty=D.ElEmpty,S.FoxFooter=D.ElFooter,S.FoxForm=D.ElForm,S.FoxFormItem=D.ElFormItem,S.FoxGroup=Wa,S.Group=Wa,S.FoxGroupSetting=Nn,S.GroupSetting=Nn,S.FoxHeader=D.ElHeader,S.FoxHeaderBar=qa,S.HeaderBar=qa,S.FoxHintText=Ye,S.HintText=Ye,S.FoxIcon=D.ElIcon,S.FoxImage=D.ElImage,S.FoxImageViewer=D.ElImageViewer,S.FoxIndicator=Un,S.Indicator=Un,S.FoxInfiniteLoading=aa,S.InfiniteLoading=aa,S.FoxInput=D.ElInput,S.FoxInputItem=Ql,S.InputItem=Ql,S.FoxInputNumber=D.ElInputNumber,S.FoxInputNumberItem=cn,S.InputNumberItem=cn,S.FoxInputTag=D.ElInputTag,S.FoxItem=cl,S.Item=cl,S.FoxLink=D.ElLink,S.FoxLinkItem=Bn,S.LinkItem=Bn,S.FoxMain=D.ElMain,S.FoxMapping=Ft,S.Mapping=Ft,S.FoxMention=D.ElMention,S.FoxMenu=D.ElMenu,S.FoxMenuItem=D.ElMenuItem,S.FoxMenuItemGroup=D.ElMenuItemGroup,S.FoxMessage=D.ElMessage,S.FoxMessageBox=D.ElMessageBox,S.FoxMoneyItem=sn,S.MoneyItem=sn,S.FoxMoreButton=Wn,S.MoreButton=Wn,S.FoxNotification=D.ElNotification,S.FoxNumberKeyboard=Xn,S.NumberKeyboard=Xn,S.FoxOption=D.ElOption,S.FoxOptionGroup=D.ElOptionGroup,S.FoxOverLay=Zl,S.OverLay=Zl,S.FoxPage=Ra,S.Page=Ra,S.FoxPageHeader=D.ElPageHeader,S.FoxPagination=D.ElPagination,S.FoxPickerItem=$n,S.PickerItem=$n,S.FoxPopconfirm=D.ElPopconfirm,S.FoxPopover=D.ElPopover,S.FoxPopoverDialog=Xl,S.PopoverDialog=Xl,S.FoxPopper=D.ElPopper,S.FoxPopup=gt,S.Popup=gt,S.FoxPrice=Yl,S.Price=Yl,S.FoxProgress=D.ElProgress,S.FoxPullRefresh=jn,S.PullRefresh=jn,S.FoxRadio=D.ElRadio,S.FoxRadioButton=D.ElRadioButton,S.FoxRadioGroup=D.ElRadioGroup,S.FoxRadioItem=bn,S.RadioItem=bn,S.FoxRate=D.ElRate,S.FoxRateItem=wn,S.RateItem=wn,S.FoxResult=D.ElResult,S.FoxRollingProvider=er,S.RollingProvider=er,S.FoxRow=D.ElRow,S.FoxRowItem=Gl,S.RowItem=Gl,S.FoxScrollbar=D.ElScrollbar,S.FoxSearchBar=ml,S.SearchBar=ml,S.FoxSegmented=D.ElSegmented,S.FoxSelect=D.ElSelect,S.FoxSelectItem=Za,S.SelectItem=Za,S.FoxSelectV2=D.ElSelectV2,S.FoxShortPassword=Qn,S.ShortPassword=Qn,S.FoxSignature=Zn,S.Signature=Zn,S.FoxSkeleton=D.ElSkeleton,S.FoxSkeletonItem=D.ElSkeletonItem,S.FoxSlider=D.ElSlider,S.FoxSlotItem=Ul,S.SlotItem=Ul,S.FoxSpace=D.ElSpace,S.FoxStatistic=D.ElStatistic,S.FoxStep=D.ElStep,S.FoxSteps=D.ElSteps,S.FoxStepsBar=In,S.StepsBar=In,S.FoxSubMenu=D.ElSubMenu,S.FoxSwitch=D.ElSwitch,S.FoxSwitchItem=vn,S.SwitchItem=vn,S.FoxTabPane=D.ElTabPane,S.FoxTable=D.ElTable,S.FoxTableColumn=D.ElTableColumn,S.FoxTableItem=yn,S.TableItem=yn,S.FoxTableMappingColumn=mn,S.TableMappingColumn=mn,S.FoxTableRadioColumn=hn,S.TableRadioColumn=hn,S.FoxTableSetting=ea,S.TableSetting=ea,S.FoxTableV2=D.ElTableV2,S.FoxTabs=D.ElTabs,S.FoxTabsBar=yl,S.TabsBar=yl,S.FoxTabsContainer=bl,S.TabsContainer=bl,S.FoxTabsFrame=Mn,S.TabsFrame=Mn,S.FoxTabsPane=oa,S.TabsPane=oa,S.FoxTag=D.ElTag,S.FoxText=Rt,S.Text=Rt,S.FoxTextareaItem=Qa,S.TextareaItem=Qa,S.FoxTimeItem=rn,S.TimeItem=rn,S.FoxTimePicker=D.ElTimePicker,S.FoxTimeSelect=D.ElTimeSelect,S.FoxTimeSelectItem=on,S.TimeSelectItem=on,S.FoxTimeline=D.ElTimeline,S.FoxTimelineItem=D.ElTimelineItem,S.FoxToast=Ut,S.Toast=Ut,S.FoxTooltip=D.ElTooltip,S.FoxTour=Gn,S.Tour=Gn,S.FoxTransfer=D.ElTransfer,S.FoxTree=D.ElTree,S.FoxTreeItem=xn,S.TreeItem=xn,S.FoxTreeSelect=D.ElTreeSelect,S.FoxTreeSelectItem=Cn,S.TreeSelectItem=Cn,S.FoxTreeV2=D.ElTreeV2,S.FoxUpload=D.ElUpload,S.FoxWatermark=D.ElWatermark,S.Foxcalendarpicker=Jl,S.calendarpicker=Jl,S.Foxcascaderpicker=On,S.cascaderpicker=On,S.Foxpicker=ra,S.picker=ra,S.InnerPageScopeKey=Pa,S.PriorityPolicy=at,S.UniqueID=Qr,S.ValidateSchema=Er,S.ValidateSchemaKey=St,S.browseProperty=Ir,S.cancelRaf=Oi,S.clamp=rs,S.clearNonNumber=Ji,S.compareTo=Na,S.createBroadcast=el,S.createValidateSchema=zl,S.debounce=tt,S.debounceRef=hs,S.decimalLength=Sr,S.default=Om,S.defineConfigDomain=Br,S.defineDataItem=Vr,S.defineDomain=Ma,S.defineDomainItemProperty=Ke,S.defineItem=Ie,S.definePageState=Dr,S.defineSimpleItem=$t,S.deleteGlobalValidator=us,S.disabledProperty=Pr,S.divide=Ca,S.excludeProps=Re,S.extend=It,S.floatData=ls,S.getGlobalIcons=Hr,S.getGlobalValidateCheckEvents=xr,S.getGlobalValidateResetEvents=Tr,S.getPageContentAreaHeight=Pl,S.getPageContentAreaWidth=Il,S.getPageFooterAreaHeight=Al,S.getPageHeaderAreaHeight=Ml,S.getRootDomain=_t,S.hasSymbol=hr,S.includeProps=pt,S.indexOf=es,S.injectPageScopeState=rl,S.integerLength=br,S.isArray=Hi,S.isArrayLike=gr,S.isBrowser=bt,S.isDate=ka,S.isDisplayNone=$a,S.isESModule=Ui,S.isEmptyString=ve,S.isEqual=Xe,S.isFunction=Ta,S.isHidden=za,S.isMap=Ki,S.isNil=Ae,S.isNumberString=Va,S.isObject=Ze,S.isPlainObject=Yi,S.isPromise=xl,S.isRegExp=Ba,S.isSet=ji,S.isString=fr,S.isSubPage=bs,S.isSymbol=Wi,S.isTouch=hl,S.isWindow=pr,S.kebabToPascal=Jt,S.lastIndexOf=ts,S.makeArray=Zi,S.merge=yr,S.multiply=cr,S.negate=ur,S.nextTick=Xi,S.numberFormat=Nl,S.objectToString=mr,S.once=ps,S.overrideGlobalIcons=_s,S.overrideGlobalValidateHandler=ss,S.padZero=ns,S.pascalToKebab=vr,S.preventDefault=as,S.property=Fe,S.provideAbstractPageScope=Mr,S.provideInnerPageScope=Ia,S.raf=xa,S.readonlyProperty=Ar,S.setGlobalValidateCheckEvents=ds,S.setGlobalValidateHandler=is,S.setGlobalValidateMessages=ms,S.setGlobalValidateResetEvents=fs,S.setGlobalValidator=cs,S.throttle=$r,S.toBoolean=we,S.toNumber=ke,S.toPadding=ct,S.toPx=Se,S.toPxDesc=ys,S.toPxString=xe,S.toTypeString=kl,S.toValue=ze,S.tryTimes=Bl,S.typeOf=Tl,S.unNumberFormat=dr,S.updatePageState=Aa,S.useBroadcast=tl,S.useDomain=vt,S.useElementSize=Rl,S.useInnerSize=Oa,S.usePageState=Dl,S.usePosition=Ur,S.useRawTouch=pl,S.useRect=En,S.useSize=Fa,S.useSlotChildren=ol,S.useTouch=ei,S.valueLength=ht});