@fox-js/foxui-pad 4.1.1-3 → 4.1.1-31

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,ot,O,$e,ve){"use strict";/*!
2
- * @fox-js/foxui-desktop v4.0.0 Mon Dec 09 2024 20:58:41 GMT+0800 (中国标准时间)
3
- */const jt=window,Br=typeof window<"u";function Mr(){return typeof jt<"u"?jt.requestAnimationFrame||jt.webkitRequestAnimationFrame||function(e){jt.setTimeout(e,1e3/60)}:function(e){setTimeout(e,1e3/60)}}function Rr(e){Br?cancelAnimationFrame(e):clearTimeout(e)}const Fn=Mr();/*!
4
- * @fox-js/big-decimal v4.0.1-6 Sat Aug 24 2024 07:04:11 GMT+0800 (中国标准时间)
5
- */function Ht(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=Oe(e),n=Oe(n),[e,n]=Mn(Oe(e),Oe(n)),a==1&&(l==1?e=Bn(e):n=Bn(n));let o=ma(e,n);return a?a==2?"-"+Oe(o):e.length<o.length?Oe(o.substring(1)):"-"+Oe(Bn(o)):Oe(o)}function Bn(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 ma(n,r)}function Oe(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 Mn(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 ma(e,n){[e,n]=Mn(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 xe=(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))(xe||{});function Ct(e,n=0,a=xe.HALF_EVEN){if(a===xe.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=Ct(e,0,a),(l?"-":"")+s+new Array(n+1).join("0")}}if(n==0)return r.length,ga(o[1],r,l,a)?(l?"-":"")+Rn(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&&ga(u,i,l,a)&&(i=Rn(i),i.length>n)?(l?"-":"")+Rn(r,parseInt(i[0]))+"."+i.substring(1):(l?"-":"")+r+"."+i}function ga(e,n,a,l){if(!e||e===new Array(e.length+1).join("0")||l===xe.DOWN||!a&&l===xe.FLOOR||a&&l===xe.CEILING)return!1;if(l===xe.UP||a&&l===xe.FLOOR||!a&&l===xe.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 xe.HALF_DOWN:return!1;case xe.HALF_UP:return!0;case xe.HALF_EVEN:default:return parseInt(n[n.length-1])%2==1}}function Rn(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 Ln(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=$t(e),n=$t(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=$t(e.replace(".","")),n=$t(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=[],c=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>=c&&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,c--}return h=$t(Lr(h,r)),a==1&&(h="-"+h),h}function Lr(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 $t(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 _n(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=Oe(n.replace(".","")),o>=0){let c=e.indexOf(".")>0?e.length-e.indexOf(".")-1:-1;if(c==-1)e=Oe(e+new Array(o+1).join("0"));else if(o>c)e=e.replace(".",""),e=Oe(e+new Array(o-c+1).join("0"));else if(o<c){e=e.replace(".","");let h=e.length-c+o;e=Oe(e.substring(0,h)+"."+e.substring(h))}else o==c&&(e=Oe(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 c=s.length-s.indexOf(".")-1;s=s.replace(".",""),i>s.length&&(c+=i-s.length,s=s+new Array(i-s.length+1).join("0")),r=c,u="0."+new Array(c).join("0")}for(a=a+2;r<=a;){let c=0;for(;parseInt(s)>=parseInt(n);)s=Ht(s,"-"+n),c++;u+=c,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?"-":"")+Oe(Ct(u,a-2))}function Pn(e,n){return e=e.toString(),n=n.toString(),n=qn(n),Ht(e,n)}function qn(e){return e[0]=="-"?e=e.substr(1):e="-"+e,e}function ya(e,n){if(n==0)throw new Error("Cannot divide by 0");e=e.toString(),n=n.toString(),pa(e),pa(n);let a="";e[0]=="-"&&(a="-",e=e.substr(1)),n[0]=="-"&&(n=n.substr(1));let l=Pn(e,Ln(n,Ct(_n(e,n),0,xe.FLOOR)));return a+l}function pa(e){if(e.indexOf(".")!=-1)throw new Error("Modulus of non-integers not supported")}function ba(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]=Mn(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 fe{value;static RoundingModes=xe;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=Oe(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+Oe(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=fe.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=fe.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 fe.getPrettyValue(this.value,n,a)}static round(n,a=0,l=xe.HALF_EVEN){if(n=fe.validate(n),isNaN(a))throw Error("Precision is not a number: "+a);return Ct(n,a,l)}round(n=0,a=xe.HALF_EVEN){if(isNaN(n))throw Error("Precision is not a number: "+n);return new fe(Ct(this.value,n,a))}static floor(n){return n=fe.validate(n),n.indexOf(".")===-1?n:fe.round(n,0,xe.FLOOR)}floor(){return this.value.indexOf(".")===-1?new fe(this.value):new fe(this.value).round(0,xe.FLOOR)}static ceil(n){return n=fe.validate(n),n.indexOf(".")===-1?n:fe.round(n,0,xe.CEILING)}ceil(){return this.value.indexOf(".")===-1?new fe(this.value):new fe(this.value).round(0,xe.CEILING)}static add(n,a){return n=fe.validate(n),a=fe.validate(a),Ht(n,a)}add(n){return new fe(Ht(this.value,n.getValue()))}static subtract(n,a){return n=fe.validate(n),a=fe.validate(a),Pn(n,a)}subtract(n){return new fe(Pn(this.value,n.getValue()))}static multiply(n,a){return n=fe.validate(n),a=fe.validate(a),Ln(n,a)}multiply(n){return new fe(Ln(this.value,n.getValue()))}static divide(n,a,l){return n=fe.validate(n),a=fe.validate(a),_n(n,a,l)}divide(n,a){return new fe(_n(this.value,n.getValue(),a))}static modulus(n,a){return n=fe.validate(n),a=fe.validate(a),ya(n,a)}modulus(n){return new fe(ya(this.value,n.getValue()))}static compareTo(n,a){return n=fe.validate(n),a=fe.validate(a),ba(n,a)}compareTo(n){return ba(this.value,n.getValue())}static negate(n){return n=fe.validate(n),qn(n)}negate(){return new fe(qn(this.value))}}function va(e,n){return fe.multiply(`${e}`,`${n}`)}function zn(e,n,a=8){return fe.divide(`${e}`,`${n}`,a)}function jn(e,n){return e=`${e}`,n=`${n}`,fe.compareTo(e,n)}function wa(e){return fe.negate(e)}function Kt(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="",c=r.indexOf(".");c!=-1&&(u=r.substring(0,c),s=r.substring(c+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 Sa(e){let n=`${e}`,a=n.charAt(0);a=="-"?n=n.substring(1):a="";let l=n.replace(/[^\d\.-]/g,"");return`${a}${l}`}const Hn=Fn,_r=Array.isArray,Pr=e=>Yt(e)==="[object Map]",qr=e=>Yt(e)==="[object Set]",et=e=>e instanceof Date,Kn=e=>typeof e=="function",xa=e=>typeof e=="string",zr=e=>typeof e=="symbol",Le=e=>e!==null&&typeof e=="object",Wt=e=>Le(e)&&Kn(e.then)&&Kn(e.catch),Ta=Object.prototype.toString,Yt=e=>Ta.call(e),Wn=e=>Yt(e)==="[object Object]",Ca=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol";function jr(e){return e.__esModule||Ca&&e[Symbol.toStringTag]==="Module"}const Hr=typeof Promise<"u"&&Promise.toString().indexOf("[native code]")!==-1;function rt(...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 c;Array.isArray(s)?c=u&&Array.isArray(u)?u:[]:c=u&&typeof u=="object"?u:{},n[i]=rt(o,c,s)}else s!==void 0&&(n[i]=s)}}return n}function Yn(e,n,a=!1){if(!a)rt(!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)&&!Wn(i))continue;r=Yn(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)&&!Wn(i))continue;r=Yn(r,i,a),e[o]=r}else{if(typeof i=="function")continue;e[o]=i}}}return e}const Un=Hr?Promise.resolve():null;function Kr(e,...n){Un!==null?n&&n.length>0?Un.then(()=>{e(n)}):Un.then(e):n&&n.length>0?setTimeout(()=>{e(n)}):setTimeout(e)}function ce(e){return e==null?!1:typeof e=="boolean"?e:typeof e=="string"?e.toLocaleLowerCase()==="true":!!e}function ge(e){return typeof e=="number"?e:Number(e)}const Wr={"[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 Ut(e){let a=Object.prototype.toString.call(e);return e==null?String(e):Wr[a]||"object"}function $a(e){return e&&typeof e=="object"&&"setInterval"in e}function Gt(e){if(!e)return!0;const{display:n}=window.getComputedStyle(e);return n==="none"}function ka(e){let n=!!e&&"length"in e&&e.length,a=Ut(e);return a==="function"||$a(e)?!1:a==="array"||n===0||typeof n=="number"&&n>0&&n-1 in e}function Da(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 Yr(e,n=[]){let a=n;return e!=null&&(ka(Object(e))?Da(a,typeof e=="string"?[e]:e):a.push(e)),a}function Pe(e,n){if(e==n)return!0;if(e===void 0||n===void 0)return!1;let a=Ut(e),l=Ut(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],c=n[u];if(!Pe(s,c))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(!Pe(r,i))return!1}return!0}return!1}const tt=typeof window<"u";function Gn(e){return e==null}function Na(e){return Object.prototype.toString.call(e)==="[object RegExp]"}const de=e=>e==null?!0:typeof e!="string"?!1:e.length===0;function Ea(e){return de(e)?!0:(e.charAt(0)=="-"&&(e=e.substring(1)),de(e)||/^(([1-9][0-9]*\.[0-9]*)|([0]\.[0-9]*)|([0-9]*)|([0]{1}))$/.test(e))}function Va(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 Ia(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 Oa(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 Ur(e,n=!0,a=!0){n?e=Oa(e,".",/\./g):e=e.replace(/\./g,""),a?e=Oa(e,"-",/-/g):e=e.replace(/-/,"");const l=n?/[^-0-9.]/g:/[^-0-9]/g;return e.replace(l,"")}function Gr(e,n){return typeof e=="object"||Array.isArray(e)?n.findIndex(a=>{if(Pe(e,a))return!0}):n.indexOf(e)}function Xr(e,n){if(typeof e=="object"||Array.isArray(e)){let a=n.reverse().findIndex(l=>{if(Pe(e,l))return!0});return a!==-1&&(a=n.length-1-a),a}return n.lastIndexOf(e)}function Ke(e){return e==null||e==null?0:typeof e=="string"?e.length:`${e}`.length}function kt(e,...n){const a={};return n.forEach(l=>{for(const o in l)a[o]=e[o]}),a}function ke(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 Zr=(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},Te=Symbol.for("BroadcastKey");class Xn{parent;children=[];callbacks=new Map;proxy=null;name;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.parent=null,this.proxy=null}emit(n,a,...l){if(n.maxLevel!==void 0&&n.maxLevel!==null&&n.maxLevel>0){if(n.level=n.level??0,n.level>n.maxLevel)return[];n.level++}let o=!1;!n.name||n.name==="*"?o=!0:!n.name||n.name==="+"?(o=!1,n.name="*"):Na(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)}}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){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 Xt(e,n,a,l){const o=new Xn(n,e,a);if(l&&typeof l=="object")for(const r in l)o.on(r,l[r]);return o}function Jr(e,n,a){const l=a;if(l[Te])return l[Te];const o=t.inject(Te,null),r=new Xn(o,a,e);if(n&&typeof n=="object")for(const i in n)r.on(i,n[i]);return l[Te]=r,t.provide(Te,r),t.onUnmounted(()=>{r.destroy(),l[Te]=void 0}),r}function Dt(e=null){return e||(e=t.getCurrentInstance()?.proxy??null),e?e[Te]??t.inject(Te,null):t.inject(Te,null)}const it=e=>e.default??e;class Qr{error(n,a){const l=a,o=a||t.hasInjectionContext()?Dt(a):null;o?o.emit({name:"*",maxLevel:1},"setErrorTip",n):typeof l.setErrorTip=="function"&&l.setErrorTip(n)}reset(n){const a=n,l=n||t.hasInjectionContext()?Dt(n):null;l?l.emit({name:"*",maxLevel:1},"setErrorTip",""):typeof a.setErrorTip=="function"&&a.setErrorTip("")}success(n){const a=n,l=n||t.hasInjectionContext()?Dt(n):null;l?l.emit({name:"*",maxLevel:1},"setErrorTip",""):typeof a.setErrorTip=="function"&&a.setErrorTip("")}decorate(n,a,l){Array.isArray(n)||(n=[n]);const o=l,r=l||t.hasInjectionContext()?Dt(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 Nt=new Qr;function ei(e){Nt=e}function ti(e){Nt?Object.assign(Nt,e):Nt=e}function ni(e,n){it(ot).setValidator(e,n)}function li(e){it(ot).deleteValidator(e)}let Aa=["blur","clear"];function ai(e){Aa=e}function Fa(){return Aa}let Ba=["focus","change","setValue"];function oi(e){Ba=e}function Ma(){return Ba}function ri(e){it(ot).messages(e)}function Et(...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 Zt(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 qe=Symbol("ValidateSchemaKey");class Ra{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=Zt(Et(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=Zt(l);const o=Et(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=Nt;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?it(ot).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?it(ot).deleteValidator(n):Reflect.deleteProperty(this.validators,n)}hasValidator(n,a=!1){if(a)return it(ot).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=Et(this.attrRules,this.rules);n===null?this.rules=[]:Array.isArray(n)?this.rules=Zt(n):this.rules=Zt([n]);const l=Et(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=Et(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=it(ot),s=new u(o),c=this.proxy??i;return s.validate(i,{context:c}).then(d=>{if(d.pass)this.success();else{let y="error";Array.isArray(d.errors)&&d.errors.length>0&&(y=d.errors[0].message??y,d.errors=[d.errors[0]],d.errors[0].ref=c),this.error(y)}return d}).catch(d=>{const y=d.message??`${d}`;return this.error(y),d})}}return Promise.resolve({pass:!0})}}function Jt(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 Ra(n,a,e)}const Qt=Symbol.for("EventEmitterKey");class La{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 st(e,n){let a=null;return function(...l){a&&clearTimeout(a),a=setTimeout(()=>{a=null,Reflect.apply(e,null,[...l])},n)}}function _a(e,n){let a=0;return function(...l){const o=new Date().getTime();o-a<n||(a=o,Reflect.apply(e,null,[...l]))}}function ii(e,n){const a=st((l,o)=>{e=l,o()},n);return t.customRef((l,o)=>({get(){return l(),e},set(r){a(r,o)}}))}function si(e){let n=!1;return function(...a){n||(n=!0,Reflect.apply(e,null,[...a]))}}function en(e,n,a,l=0,o=!0,r){let i=n,u=0;if(o){const c=e();if(u++,c){typeof r=="function"&&r(!0);return}if(u>a){typeof r=="function"&&r(!1);return}}const s=()=>{const c=e();if(u++,c){typeof r=="function"&&r(!0);return}if(u>a){typeof r=="function"&&r(!1);return}i+=l,setTimeout(s,i)};setTimeout(s,i)}const Re=Symbol("DomainKey"),mt=Symbol("DataItemsKey");class tn{_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 ui=new tn;function gt(){return ui}function Xe(e=null){return e||(e=t.getCurrentInstance()?.proxy??null),e?e[Re]??t.inject(Re,null):t.inject(Re,null)}const Zn=Symbol("OriginalDateKey");function Jn(e,n,a=[],l){const o=t.getCurrentInstance();let r=o?.proxy,i=t.inject(Re,null);i===null&&(i=gt());const u=e||n.prop||n.name;let s=new tn(u);s.parent=i;const c=p=>{r[Zn]||y(p),s?.set("modelValue",p)},h=()=>s?.getForSelf("modelValue")??null,d=()=>r[Zn]??null,y=p=>{const g={};rt(!0,g,t.toRaw(p)),r[Zn]=g};t.isReactive(n)||typeof n=="function"?t.watch(n,p=>{s?.merge(p,a)},{immediate:!0}):s.merge(n,a),n.modelValue&&y(n.modelValue);const x=(p,g)=>{s?.set(p,g)},b=p=>s?.getForSelf(p)??null;if(r[Re]=s,t.provide(Re,s),o!==null){const p=t.inject(Te,null),g=Xt(r,p,u,l);s.broadcast=g,r[Te]=g,t.provide(Te,g),r.broadcast=(f,T,...M)=>Reflect.apply(g.emit,g,[f,T,...M]);const H=t.inject(qe,null),m=Jt(r,H,{componentName:""});s.validateSchema=m,r[qe]=m,t.provide(qe,m),r[mt]=new Map,r.validate=(f=!0)=>{const T=[];let M=null;const A={deep:!1};if(f===!0)M={name:"*"};else if(Array.isArray(f)&&f.length>0){const F=f;M={name:z=>z?F.indexOf(z)!==-1:!1}}else if(f!=null&&typeof f=="object"){const F=f;if(Object.assign(A,F),Array.isArray(F.include)&&F.include.length>0){const z=F.include;M={name:$=>$?z.indexOf($)!==-1:!1}}else if(Array.isArray(F.exclude)&&F.exclude.length>0){const z=F.exclude;M={name:$=>$?z.indexOf($)===-1:!1}}else M={name:"*"}}if(M){const F=g?.emitToChildren(M,"validate",A);F&&Reflect.apply([].push,T,F)}return T.length==1?T[0]:T.length>1?Promise.all(T).then(F=>{let z=[];return F.forEach($=>{$.pass===!1&&Array.isArray($.errors)&&(z=[...z,...$.errors])}),z.length>0?{pass:!1,errors:z}:{pass:!0}}):Promise.resolve({pass:!0})},r.setNameValidateRules=(f,T=!0,M=!1)=>{if(M===!0){Reflect.ownKeys(f).forEach(F=>{let z=String(F);const $={componentName:"",fieldName:z,pureDataValidate:!0};if(s){const I=za(s,z,$,g,m);r[mt].set(z,I);const w=f[z];w&&I.validateSchema.setRule(w)}});return}if(T){const A=Reflect.ownKeys(f),F={name:z=>A.includes(z)};g?.emitToChildren(F,"setNameValidateRules",f,!1)}},r.clearValidate=(f=!0)=>{let T=null;if(f===!0)T={name:"*"};else if(Array.isArray(f)&&f.length>0){const M=f;T={name:A=>A?M.indexOf(A)!==-1:!1}}else if(f!=null&&typeof f=="object"){const M=f;if(Array.isArray(M.include)&&M.include.length>0){const A=M.include;T={name:F=>F?A.indexOf(F)!==-1:!1}}else if(Array.isArray(M.exclude)&&M.exclude.length>0){const A=M.exclude;T={name:F=>F?A.indexOf(F)===-1:!1}}else T={name:"*"}}T&&g?.emitToChildren(T,"clearValidate",!1)},r.resetFields=f=>{const T=h();if(!T)return;const M={};if(rt(!0,M,d()??{}),Array.isArray(f))f.forEach(A=>{T[A]=M[A]});else if(f&&Array.isArray(f.include))(f.include??[]).forEach(F=>{T[F]=M[F]});else if(f&&Array.isArray(f.exclude)){let A=f.exclude??[];Reflect.ownKeys(M).forEach(F=>{A.includes(F)||(T[F]=M[F])})}else Object.assign(T,M);r.clearValidate(f)},r.setModelValue=(f,T)=>{!T||T===u?c(f):g?.emitToChildren({name:T},"setModelValue",f)},r.getModelValue=()=>h(),r.setDomainProperty=(f,T)=>{x(f,T)},r.getDomainProperty=f=>b(f)}return t.onUnmounted(function(){s?.validateSchema&&(s.validateSchema.destroy(),r[qe]=void 0,t.provide(qe,null)),s?.broadcast&&(s?.broadcast?.destroy(),r[Te]=void 0,t.provide(Te,null)),s?.destroy(),r[Re]=void 0,t.provide(Re,null),r[mt]&&(r[mt].clear(),r[mt]=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 Pa(e,n,a=[]){let o=t.getCurrentInstance()?.proxy,r=t.inject(Re,null);r===null&&(r=gt());const i=e||n.prop||n.name;let u=new tn(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[Re]=u,t.provide(Re,u),t.onUnmounted(()=>{u?.destroy(),o[Re]=void 0,t.provide(Re,null),u=null,o=null}),u}function qa(e,n,a){const o=Xe(e)?.get("rules");if(!o)return;let r=o[a];r&&(Array.isArray(r)||(r=[r]),n.setRule(r))}function Ce(e,n,a){const o=t.getCurrentInstance()?.proxy,r=n??"",i=t.inject(Te,null);let u=Xt(o,i,r,a);o[Te]=u,t.provide(Te,u),o.broadcast=(b,p,...g)=>u?Reflect.apply(u.emit,u,[b,p,...g]):null;const s=t.inject(qe,null);e.fieldName=e.fieldName??r;let c=Jt(o,s,e);o[qe]=c,t.provide(qe,c),qa(o,c,r),o.validate=(b=null)=>{if(!c)return Promise.resolve({pass:!0});const p=[];let g=!1,H=!1;if(Array.isArray(b)&&b.indexOf(r)!==-1)H=!0,g=!0;else if(b&&typeof b=="object"){const m=b,f=m.ignoreDisabled??!0,T=m.ignoreReadonly??!0,M=m.ignoreHidden??!0;f===!0&&e.disabled===!0||T===!0&&e.readonly===!0||M===!0&&Gt(o.$el)?H=!1:(Array.isArray(m.include)&&m.include.indexOf(r)!==-1||Array.isArray(m.exclude)&&m.exclude.indexOf(r),H=!0),g=m.deep??!1}else typeof b=="boolean"&&(g=b),H=!0;if(H){const m=c?.validate();p.push(m)}if(g){let m=null;const f={deep:!1};if(b===!0)m={name:"*"};else if(Array.isArray(b)&&b.length>0){const T=b;m={name:M=>M?T.indexOf(M)!==-1:!1}}else if(b!=null&&typeof b=="object"){const T=b;if(Object.assign(f,T),Array.isArray(T.include)&&T.include.length>0){const M=T.include;m={name:A=>A?M.indexOf(A)!==-1:!1}}else if(Array.isArray(T.exclude)&&T.exclude.length>0){const M=T.exclude;m={name:A=>A?M.indexOf(A)===-1:!1}}else m={name:"*"}}if(m&&u){const T=u.emitToChildren(m,"validate",f);Reflect.apply([].push,p,T)}}return p.length==1?p[0]:p.length>1?Promise.all(p).then(m=>{let f=[];return m.forEach(T=>{T.pass===!1&&Array.isArray(T.errors)&&(f=[...f,...T.errors])}),f.length>0?{pass:!1,errors:f}:{pass:!0}}):Promise.resolve({pass:!0})},o.setValidateRule=b=>c?.setRule(b),o.setNameValidateRules=(b,p=!1)=>{const g=b[r];if(g&&c?.setRule(g),p&&u){const H={name:m=>Reflect.ownKeys(b).includes(m)};u.emitToChildren(H,"setNameValidateRules",b,!1)}},o.clearValidate=(b=null)=>{(!Array.isArray(b)||b.indexOf(n??"")!==-1)&&c?.clear();let p=null;if(b===!0)p={name:"*"};else if(Array.isArray(b)&&b.length>0){const g=b;p={name:H=>H?g.indexOf(H)!==-1:!1}}else if(b!=null&&typeof b=="object"){const g=b;if(Array.isArray(g.include)&&g.include.length>0){const H=g.include;p={name:m=>m?H.indexOf(m)!==-1:!1}}else if(Array.isArray(g.exclude)&&g.exclude.length>0){const H=g.exclude;p={name:m=>m?H.indexOf(m)===-1:!1}}else p={name:"*"}}p&&u&&u.emitToChildren(p,"clearValidate",!1)};let h=new La(o);o[Qt]=h;const d=st((b="validate")=>{c&&(b==="reset"?c.clear():c.validate())},60);return(Array.isArray(e.validateCheckEvents)?e.validateCheckEvents:Fa()).forEach(b=>{h&&h.on(b,p=>{d("validate")})}),(Array.isArray(e.validateResetEvents)?e.validateResetEvents:Ma()).forEach(b=>{h&&h.on(b,p=>{d("reset")})}),t.onUnmounted(()=>{u?.destroy(),o[Te]=void 0,t.provide(Te,null),u=null,c?.destroy(),o[qe]=void 0,t.provide(qe,null),c=null,h?.destroy(),o[Qt]=void 0,h=null,o.broadcast=null,o.validate=null,o.setValidateRule=null,o.setNameValidateRules=null,o.clearValidate=null}),{broadcast:u,validateSchema:c,emitEvent:(b,...p)=>{h&&Reflect.apply(h.emit,h,[b,...p])},onEvent:(b,p)=>{h&&Reflect.apply(h.on,h,[p])},offEvent:(b,p)=>{h&&Reflect.apply(h.off,h,[p])}}}function za(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=Jt({},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 b=h;Array.isArray(b.include)&&b.include.indexOf(i)!==-1||Array.isArray(b.exclude)&&b.exclude.indexOf(i),x=!0,y=b.deep??!1}else typeof h=="boolean"&&(y=h),x=!0;if(x&&s){const b=s.validate();d.push(b)}if(y){let b=null;const p={deep:!1};if(h===!0)b={name:"*"};else if(Array.isArray(h)&&h.length>0){const g=h;b={name:H=>H?g.indexOf(H)!==-1:!1}}else if(h!=null&&typeof h=="object"){const g=h;if(Object.assign(p,g),Array.isArray(g.include)&&g.include.length>0){const H=g.include;b={name:m=>m?H.indexOf(m)!==-1:!1}}else if(Array.isArray(g.exclude)&&g.exclude.length>0){const H=g.exclude;b={name:m=>m?H.indexOf(m)===-1:!1}}else b={name:"*"}}if(b&&c){const g=c.emitToChildren(b,"validate",p);Reflect.apply([].push,d,g)}}return d.length==1?d[0]:d.length>1?Promise.all(d).then(b=>{let p=[];return b.forEach(g=>{g.pass===!1&&Array.isArray(g.errors)&&(p=[...p,...g.errors])}),p.length>0?{pass:!1,errors:p}:{pass:!0}}):Promise.resolve({pass:!0})},r.setValidateRule=h=>s?.setRule(h),r.setNameValidateRules=h=>{const d=h[i];d&&s?.setRule(d)};let c=Xt(null,l,i,r);return t.onUnmounted(()=>{s=null,c=null}),{broadcast:c,validateSchema:s}}function Qn(){let n=t.getCurrentInstance()?.proxy,a=new La(n);return n[Qt]=a,t.onUnmounted(()=>{a?.destroy(),n[Qt]=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 Ae=(e,n=-1)=>e?typeof e=="string"&&(e.endsWith("%")&&n<=0||e.endsWith("vh")||e.endsWith("vw"))?e:`${pe(e,n)}px`:"";function pe(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(tt){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 nt="PageStateKey";function We(e){const n={top:null,left:null,bottom:null,right:null};return e&&(e.top!==null&&e.top!==void 0&&(n.top=pe(e.top)),e.left!==null&&e.left!==void 0&&(n.left=pe(e.left)),e.bottom!==null&&e.bottom!==void 0&&(n.bottom=pe(e.bottom)),e.right!==null&&e.right!==void 0&&(n.right=pe(e.right))),n}function el(e,n,a={},l=!0,o=-1,r=-1,i=0,u=0){if(e.headerHeight=pe(a.headerHeight??n.headerHeight??-1),e.headerPadding=We(a.headerPadding??n.headerPadding),e.footerHeight=pe(a.footerHeight??n.footerHeight??-1),e.footerPadding=We(a.footerPadding??n.footerPadding),e.contentPadding=We(a.contentPadding??n.contentPadding),l){const s=a.height??n.height;s?e.height=pe(s,r):e.height=pe(r)-pe(i,r)-pe(u,r),e.width=pe(a.width??n.width??0,o)}}function ja(e,n={}){const a={top:null,left:null,bottom:null,right: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=pe(o.top),l.safeAreaBottom=pe(o.bottom),l.safeAreaLeft=pe(o.left),l.safeAreaRight=pe(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,c=e.get("footerBarHeight")??0;el(l,r,n,!0,i,u,s,c);const h=t.reactive(l),d=e.getForParent(nt);d&&(l.height=ln(e,d),l.width=an(e,d),t.watch([()=>ln(e,d),()=>an(e,d)],([x,b])=>{h.height=x,h.width=b}));const y=!d;return t.watch([()=>n.height,()=>e.get("pageLayout"),()=>e.get("rootWidth"),()=>e.get("rootHeight"),()=>e.get("headerBarHeight"),()=>e.get("footerBarHeight")],([x,b,p=-1,g=-1,H=0,m=0])=>{el(h,b,n,y,p,g,H,m)}),e.set(nt,h),h}function nn(e){return e.get(nt)}function Vt(e,n){if(n=n??e.get(nt),n&&n.headerMounted){const a=n.safeAreaTop==-1?0:n.safeAreaTop;return n.headerAllHeight??n.headerHeight+a}return 0}function It(e,n){if(n=n??e.get(nt),n&&n.footerMounted){const a=n.safeAreaBottom==-1?0:n.safeAreaBottom;return n.footerAllHeight??n.footerHeight+a}return 0}function ln(e,n){if(n=n??e.get(nt),n){if(n.contentInnerHeight)return n.contentInnerHeight;const a=Vt(e,n),l=It(e,n);return n.height-a-l-(n.contentPadding.top??0)-(n.contentPadding.bottom??0)}return 0}function an(e,n){return n=n??e.get(nt),n?n.contentInnerWidth??n.width-(n.contentPadding.left??0)-(n.contentPadding.right??0):0}function ci(e,n){const a=e.get("isInnerPage");return typeof a=="function"?Reflect.apply(a,{},[n,e]):!1}function fi(e){return!!e.getForParent(nt)}var _e=(e=>(e[e.Parent=0]="Parent",e[e.Near=1]="Near",e))(_e||{});function on(e,n){return e==null?!1:typeof n=="function"?n(e):!0}function Ee(e,n,a=1,l){const o=Xe();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(on(s,l))return s}const i=e.value;return on(i,l)?i:null}):t.computed(()=>{const r=e.value;if(on(r,l))return r;const i=o.getAll(n);for(let u=0;u<i.length;u++){const s=i[u];if(on(s,l))return s}return null})}function Ve(e){return Ee(e,"readonly",1)}function Ie(e){return Ee(e,"disabled",1)}function he(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 Ha=new Map,rn=new Map;let tl=null;function di(e){tl=e}function Ka(e,n,a){if(a){let l=rn.get(a);l||(l=new Map,rn.set(a,l)),l.set(e,n)}else Ha.set(e,n)}function Fe(e,n,a){!a&&tl&&(a=tl(e)??void 0);let l=null;if(a){let o=rn.get(a);o&&(l=o.get(n))}return l||(l=Ha.get(n)),l}function hi(e,n){for(let a in e){const l=e[a];Ka(a,l,n)}}function mi(e){rn.delete(e)}function gi(){return{top:0,left:0,bottom:0,right:0}}function yi(){if(tt){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 pi(e,n){if(n.componentPrefix){const a=e.indexOf("-");return`${n.componentPrefix}${e.slice(a)}`}return e}class bi{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=pi(r.name,a);n.component(i,r)}}),this.installers.forEach(r=>{r(n,a)}));const l=["safeAreaInset","pageLayout","headerBarHeight","footerBarHeight"],o=gt();if(this.initPageLayout(a,o),a.autoAdjustPageLayout!==!1&&window.ResizeObserver){const r=_a(()=>{const u={...a},s=document.documentElement.clientWidth||document.body.clientWidth,c=document.documentElement.clientHeight||document.body.clientHeight;u.width=s,u.height=c,this.initPageLayout(u,o)},150);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=rt({},gi(),n.safeAreaInset),i=yi(),u=rt({},i.pageLayout,n.pageLayout);a=a??gt(),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){Ka(n,a,l)}getAPI(n,a,l){return Fe(n,a,l)}batchSetAPI(n,a){hi(n,a)}clearScopeAPI(n){mi(n)}getRootDomain(){return gt()}}const vi=[O.ElAffix,O.ElAlert,O.ElAutocomplete,O.ElAutoResizer,O.ElAvatar,O.ElBacktop,O.ElBadge,O.ElBreadcrumb,O.ElBreadcrumbItem,O.ElButton,O.ElButtonGroup,O.ElCalendar,O.ElCard,O.ElCarousel,O.ElCarouselItem,O.ElCascader,O.ElCascaderPanel,O.ElCheckTag,O.ElCheckbox,O.ElCheckboxButton,O.ElCheckboxGroup,O.ElCol,O.ElCollapse,O.ElCollapseItem,O.ElCollapseTransition,O.ElColorPicker,O.ElConfigProvider,O.ElContainer,O.ElAside,O.ElFooter,O.ElHeader,O.ElMain,O.ElDatePicker,O.ElDescriptions,O.ElDescriptionsItem,O.ElDialog,O.ElDivider,O.ElDrawer,O.ElDropdown,O.ElDropdownItem,O.ElDropdownMenu,O.ElEmpty,O.ElForm,O.ElFormItem,O.ElIcon,O.ElImage,O.ElImageViewer,O.ElInput,O.ElInputNumber,O.ElLink,O.ElMenu,O.ElSubMenu,O.ElMenuItem,O.ElMenuItemGroup,O.ElPageHeader,O.ElPagination,O.ElPopconfirm,O.ElPopover,O.ElPopper,O.ElProgress,O.ElRadio,O.ElRadioButton,O.ElRadioGroup,O.ElRate,O.ElResult,O.ElRow,O.ElScrollbar,O.ElSelect,O.ElOption,O.ElOptionGroup,O.ElSelectV2,O.ElSkeleton,O.ElSkeletonItem,O.ElSlider,O.ElSpace,O.ElSteps,O.ElStep,O.ElSwitch,O.ElTable,O.ElTableColumn,O.ElTableV2,O.ElTabs,O.ElTabPane,O.ElTag,O.ElTimePicker,O.ElTimeSelect,O.ElTimeline,O.ElTimelineItem,O.ElTooltip,O.ElTransfer,O.ElTree,O.ElTreeSelect,O.ElTreeV2,O.ElUpload,O.ElStatistic,O.ElCountdown,O.ElSegmented,O.ElAnchor,O.ElAnchorLink,O.ElWatermark,O.ElMessageBox,O.ElMessage,O.ElNotification],wi=[O.ElInfiniteScroll,O.ElLoading,O.ElMessage,O.ElMessageBox,O.ElNotification,O.ElPopoverDirective],Si=(e,n={})=>{const a=n.componentPrefix??"fox",l=a[0].toUpperCase()+a.slice(1);vi.forEach(o=>{let r=o.name;typeof r=="string"?(r=`${l}${r.slice(2)}`,e.component(r,o)):e.use(o)}),wi.forEach(o=>{e.use(o)})};function ue(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 be(e,n=null){if(n||(n=t.getCurrentInstance()),n&&n.proxy){let a=n.proxy;Object.assign(a,e)}}const we={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}},De={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}},Wa={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}},Ya={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}},Ua=[];for(const e in Ya)Ua.push(e);const xi=Symbol.for("InnerPageScopeKey"),Ti={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}},Ci=(e,n)=>({inheritAttrs:!0,props:{...we,...Wa,...Ti},setup(a,{slots:l}){const o=Jn(a.name,a),r=t.inject(xi,!1);if(o){const h=ja(o,a);be({getPageContentHeight:()=>ln(o,h),getPageContentWidth:()=>an(o,h),getPageHeaderHeight:()=>Vt(o,h),getPageFooterHeight:()=>It(o,h)}),h&&r&&(h.contentHeight="100%")}const i=t.computed(()=>({[e]:!0})),u=t.computed(()=>({})),s=t.getCurrentInstance(),c=(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 b=t.toRaw(y),p=t.toRaw(h),g=p?Reflect.ownKeys(p):[];(b?Reflect.ownKeys(b):[]).forEach(m=>{g.includes(m)||(p[m]=[])}),c(p)}if(d&&x){const b=t.toRaw(x),p=t.toRaw(d),g=p?Reflect.ownKeys(p):[];(b?Reflect.ownKeys(b):[]).forEach(m=>{g.includes(m)||(p[m]=[])}),c(p,!0)}},{deep:!0}),t.onMounted(()=>{if(a.rules){const h=t.toRaw(a.rules);c(h)}if(a.pureDataRules){const h=t.toRaw(a.pureDataRules);c(h,!0)}}),()=>{const h={class:i.value,style:u.value};return t.h("div",h,[l?.default?.()])}}}),{componentName:$i,create:ki,scope:Sy}=ue("page"),nl=ki(Ci($i));function ll(e){const n=t.unref(e);return{width:n.offsetWidth,height:n.offsetHeight}}function sn(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 Di=(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=Xe(),u=i?nn(i):null;u&&(u.headerMounted=!0);const s=e,c=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?pe(o.height):null,y=t.computed(()=>{const I={safeAreaTop:null,height:null,left:null,top:null,right:null,bottom:null};if(i&&u){const w=We(o.padding??u.headerPadding);return Object.assign(I,w),d&&(u.headerHeight=d),u.headerHeight>0&&(I.height=u.headerHeight),I.safeAreaTop=u.safeAreaTop===-1?0:u.safeAreaTop,I.safeAreaTop>0&&(I.top=I.safeAreaTop+(w.top??0),I.height&&I.height>0&&(I.height=I.height+I.safeAreaTop)),I}if(d&&(I.height=d),o.padding){const w=We(o.padding);Object.assign(I,w)}return I}),x=t.ref(null),b=()=>{if(u&&x.value&&!Gt(x.value)){if(!l){const I=ll(x.value);u.headerAllHeight=I.height}return u.headerMounted=!0,!0}return!1};let p=null;t.onMounted(()=>{u&&(en(b,50,5,50,!0),window.ResizeObserver&&x.value&&(p=new window.ResizeObserver(()=>{b()}),p.observe(x.value)))}),t.onUnmounted(()=>{u&&(u.headerMounted=!1,p&&(p.disconnect(),p=null))});const g=t.computed(()=>{const I={};return y.value.height!==null&&y.value.height!==void 0&&(I.height=`${y.value.height}px`),y.value.top!==null&&y.value.top!==void 0&&(I.paddingTop=`${y.value.top}px`),y.value.left!==null&&y.value.left!==void 0&&(I.paddingLeft=`${y.value.left}px`),y.value.right!==null&&y.value.right!==void 0&&(I.paddingRight=`${y.value.right}px`),y.value.bottom!==null&&y.value.bottom!==void 0&&(I.paddingBottom=`${y.value.bottom}px`),I}),H=t.computed(()=>!(y.value.height!==null&&y.value.height!==void 0&&y.value.height<=0));function m(){r.emit("back")}function f(){r.emit("click-title")}function T(){r.emit("click-right")}function M(){r.emit("click-right-text")}const A=()=>{if(!o.leftShow)return null;const I=[];if(r.slots.left)I.push(r.slots.left());else{if(r.slots.leftIcon){const w=t.h("view",{class:"left-icon",onClick:m},[r.slots.leftIcon()]);I.push(w)}else if(o.leftIcon){const w=t.h("view",{class:"left-icon",onClick:m},[t.h(o.leftIcon)]);I.push(w)}if(o.leftText){const w=t.h("view",{class:"left-text",onClick:m},[o.leftText]);I.push(w)}}return I.length===0?null:t.h("view",{class:"fox-header-bar__left"},I)},F=()=>{if(!o.rightShow)return null;const I=[];if(r.slots.right)I.push(r.slots.right());else{if(o.rightText){const w=t.h("view",{class:"right-text",onClick:M},[o.rightText]);I.push(w)}if(r.slots.rightIcon){const w=t.h("view",{class:"right-icon",onClick:T},[r.slots.rightIcon()]);I.push(w)}else if(o.rightIcon){const w=t.h("view",{class:"right-icon",onClick:T},[t.h(o.rightIcon)]);I.push(w)}}return I.length===0?null:t.h("view",{class:"fox-header-bar__right"},I)},z=()=>{if(!o.titleShow)return null;const I=[],w=r.slots.default?r.slots.default():null;if(w)I.push(w);else{if(o.title){const K=t.h("view",{class:"title-text"},[o.title]);I.push(K)}if(r.slots.titleIcon){const K=t.h("view",{class:"title-icon",onClick:f},[r.slots.titleIcon()]);I.push(K)}else if(o.titleIcon){const K=t.h("view",{class:"title-icon",onClick:f},[t.h(o.titleIcon)]);I.push(K)}}return I.length===0?null:t.h("view",{class:"fox-header-bar__title"},I)},$=()=>{const I=[],w=r.slots.bottom?r.slots.bottom():null;return w&&I.push(w),I.length===0?null:t.h("view",{class:"fox-header-bar__bottom"},I)};return()=>{if(!H.value)return null;const I=[];if(r.slots.all)I.push(r.slots.all());else{const K=[],J=A();J&&K.push(J);const L=z();L&&K.push(L);const V=F();if(V&&K.push(V),K.length>0){const R=t.h("view",{class:h.value},K);I.push(R)}const P=$();P&&I.push(P)}if(I.length===0)return null;const w={class:c.value,style:g.value,ref:x};return t.h("view",w,I)}}}),{componentName:Ni,create:Ei,scope:Vi}=ue("header-bar"),al=Ei(Di(Ni,Vi,$e.ArrowLeft));function Ii(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=Xe(),i=r?nn(r):null,u=t.computed(()=>{const b=e;return{[b]:!0,[`${b}--${l.align}`]:!0,[`${b}--border`]:l.border,[`${b}--fixed`]:l.fixed,[`${b}--safe-area-inset-bottom`]:l.safeAreaInsetBottom}}),s=l.height!==null&&l.height!==void 0?pe(l.height):null,c=t.computed(()=>{const b={safeAreaBottom:null,height:null,left:null,top:null,right:null,bottom:null};if(r&&i){const p=We(l.padding??i.footerPadding);return Object.assign(b,p),s&&(i.footerHeight=s),i.footerHeight>0&&(b.height=i.footerHeight),b.safeAreaBottom=i.safeAreaBottom===-1?0:i.safeAreaBottom,b.safeAreaBottom>0&&(b.bottom=b.safeAreaBottom+(p.bottom??0),b.height&&b.height>0&&(b.height=b.height+b.safeAreaBottom)),b}if(s&&(b.height=s),l.padding){const p=We(l.padding);Object.assign(b,p)}return b}),h=t.ref(null),d=()=>{if(i&&h.value&&!Gt(h.value)){if(!a){const b=ll(h.value);i.footerAllHeight=b.height}return i.footerMounted=!0,!0}return!1};let y=null;t.onMounted(()=>{i&&(en(d,50,5,50,!0),window.ResizeObserver&&(y=new window.ResizeObserver(()=>{d()}),y.observe(h.value)))}),t.onUnmounted(()=>{i&&(i.footerMounted=!1,y&&(y.disconnect(),y=null))});const x=t.computed(()=>{const b={};return c.value.height!==null&&c.value.height!==void 0&&(b.height=Ae(c.value.height)),c.value.top!==null&&c.value.top!==void 0&&(b.paddingTop=Ae(c.value.top)),c.value.left!==null&&c.value.left!==void 0&&(b.paddingLeft=Ae(c.value.left)),c.value.right!==null&&c.value.right!==void 0&&(b.paddingRight=Ae(c.value.right)),c.value.bottom!==null&&c.value.bottom!==void 0&&(b.paddingBottom=Ae(c.value.bottom)),b});return()=>{const b=o.slots.default?o.slots.default():[],p={ref:h,class:u.value,style:x.value};return t.h("view",p,b)}}}}const{componentName:Oi,create:Ai,scope:xy}=ue("footer-bar"),ol=Ai(Ii(Oi));function Fi(e,n){return{props:{padding:{type:[Object],required:!1}},setup(a){const l=Xe(),o=t.computed(()=>({[e]:!0})),r=l?nn(l):null,i=t.computed(()=>{const c={};if(l&&r){if(a.padding){const x=We(a.padding);Object.assign(r.contentPadding,x)}const h=Vt(l,r),d=It(l,r);let y="";if(r.contentHeight?y=`${r.contentHeight}`:y=`${r.height}px`,r.contentPadding,c.height=y,r.contentPadding.top||h>0){const x=(r&&r.contentPadding&&r.contentPadding.top)??0;c.paddingTop=`${h+x}px`}if(r.contentPadding.bottom||d>0){const x=(r&&r.contentPadding&&r.contentPadding.bottom)??0;c.paddingBottom=`${d+x}px`}return r.contentPadding.left&&(c.paddingLeft=`${r.contentPadding.left}px`),r.contentPadding.right&&(c.paddingRight=`${r.contentPadding.right}px`),c}if(a.padding){const h=We(a.padding);h.left&&(c.paddingLeft=`${h.left}px`),h.top&&(c.paddingTop=`${h.top}px`),h.right&&(c.paddingRight=`${h.right}px`),h.bottom&&(c.paddingBottom=`${h.bottom}px`)}return c}),u=t.ref(null),s=()=>{if(r&&u.value){const c=sn(u.value);r.contentInnerHeight=c.height,r.contentInnerWidth=c.width}};return t.onMounted(()=>{s()}),l&&r&&t.watch([()=>Vt(l),()=>It(l)],([])=>{s()}),{contentRef:u,classes:o,styles:i}}}}const{componentName:Bi,create:Mi,scope:Ty}=ue("content"),Ri=Mi(Fi(Bi));function Li(e,n,a,l,o,r){return t.openBlock(),t.createElementBlock("div",{ref:"contentRef",class:t.normalizeClass(e.classes),style:t.normalizeStyle(e.styles)},[t.renderSlot(e.$slots,"default")],6)}const Ne=(e,n)=>{const a=e.__vccOpts||e;for(const[l,o]of n)a[l]=o;return a},rl=Ne(Ri,[["render",Li]]),yt="GroupStateKey",Ga=Symbol.for("GroupScopeKey");function un(){return t.inject(Ga,!1)}function cn(e=!0){t.provide(Ga,e)}function _i(e,n={}){Reflect.ownKeys(n).forEach(l=>{if(typeof l!="string")return;const o=n[l];Gn(o)||(e[l]=o)})}function Pi(e,n={}){const l={type:"grid",width:e.get("width",-1),column:-1,gutter:-1};_i(l,n);const o=t.shallowRef(l),r=t.markRaw({layout:o,passport:0,order:{index:0}});return e.set(yt,r),r}function il(e,n,a=-1,l=-1,o=!1,r,i,u){const s=e.get(yt);if(!s)return;const c=e.get("groupLayout")??{};a===-1&&(a=c.column??1),l===-1&&(l=c.gutter??0),r||(r=c.minItemWidth??-1),i||(i=c.maxItemWidth??-1);const h=pe(r),d=pe(i);u||(u=c.type??"grid");const y=()=>{const x=n===""||n===-1,b=pe(n);let p=ge(a);const g=pe(l);if(!x){let f=(b-(p-1)*g)/p;for(;d!==-1&&f>d;)p++,f=(b-(p-1)*g)/p;for(;h!==-1&&p>1&&f<h;)p--,f=(b-(p-1)*g)/p}let H=!1;const m=s.layout;m.value.width=n,m.value.column!==p&&(m.value.column=p,H=!0),m.value.gutter!==g&&(m.value.gutter=g,H=!0),m.value.type!==u&&(m.value.type=u,H=!0),H&&t.triggerRef(m)};if(o)y();else{const x=++s.passport;setTimeout(()=>{x===s.passport&&y()},50)}}function fn(e,n=!1){let a;return n?a=e.getForParent(yt):a=e.get(yt),a.layout}function dn(e,n=!1){let a;return n?a=e.getForParent(yt):a=e.get(yt),a.order}function Xa(e,n=1){if(n==="stretch")return-1;const a=ge(n);return a===-1?100:100*a/e}function hn(e,n,a=1,l=0,o){const r={};let i=0;o?i=pe(o):i=Xa(n.column,a),i>0&&(r.width=`${i}%`);const u=Xa(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 mn(e,n,a=1,l=0){if(a==="stretch"){const s=e.index%n.column,c=s+(n.column-s);return e.index=e.index+(c-s),{"grid-column":`${s+1} / -1`}}let o=ge(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=ge(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 Za=Symbol("RollingStateKey");function qi(e){t.provide(Za,e)}function zi(){return t.inject(Za,null)}function sl(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 ji(e){let n=sl(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=sl(a),document.body.removeChild(a)}return n}function Hi(e,n,a){if(e<=0)return"1fr";const l=(e-(n-1)*a)/n;return l>0?`${l}px`:"1fr"}const Ki={...we,...Wa,...Ya};function Wi(e,n,a){return{props:Ki,emits:["update:collapse","header-click"],setup(l,o){const r=Jn(l.prop??l.name,l,Ua),i=Pi(r,{type:l.type}),u=un();cn(!0);const s=l.rollingDisplay?zi():null,c=t.ref(null),h=t.computed(()=>l.rollingDisplay?s&&!s.disabled:!1),d=t.computed(()=>u&&r?fn(r,!0).value:null),y=t.getCurrentInstance(),x=(S,W=!1)=>{const X=y?.proxy;X&&typeof X.setNameValidateRules=="function"&&X.setNameValidateRules(S,!0,W)};t.watch([()=>l.rules,()=>l.pureDataRules],([S,W],[X,k])=>{if(S&&X){const Y=t.toRaw(X),ee=t.toRaw(S),ae=ee?Reflect.ownKeys(ee):[];(Y?Reflect.ownKeys(Y):[]).forEach(oe=>{ae.includes(oe)||(ee[oe]=[])}),x(ee)}if(W&&k){const Y=t.toRaw(k),ee=t.toRaw(W),ae=ee?Reflect.ownKeys(ee):[];(Y?Reflect.ownKeys(Y):[]).forEach(oe=>{ae.includes(oe)||(ee[oe]=[])}),x(ee,!0)}},{deep:!0});const b=e,p=t.computed(()=>{const S={};S.height=V.value;const W=u?dn(r,!0):null;if(d.value&&W){if(d.value.type==="grid"){const X=mn(W,d.value,l.span,l.offset);Object.assign(S,X)}else if(d.value.type==="flow"){const X=hn(W,d.value,l.span,l.offset,l.width);Object.assign(S,X)}}else if(l.width){const X=Ae(l.width);S.width=X}return S}),g=t.computed(()=>{const S=i.layout.value.type;return S==="grid"||S==="flow"?{[`${b}--${S}`]:!0,[`${b}--${S}-justify-${l.justify}`]:!0,[`${b}--${S}-align-${l.align}`]:!0,[`${b}--gutter`]:!0}:{[`${b}--${S}`]:!0,[`${b}--gutter`]:!0}}),H=t.computed(()=>{if(i.layout.value.type==="grid"){let W="";if(l.columnWidth)W=`repeat(auto-fill, ${l.columnWidth})`;else{const X=Hi(z.value,i.layout.value.column,i.layout.value.gutter);W=`repeat(${i.layout.value.column}, ${X})`}return{"column-gap":`${i.layout.value.gutter}px`,"grid-template-columns":W}}}),m=t.toRef(l,"gutter"),f=t.toRef(l,"column"),T=t.computed(()=>u||h.value?!0:ce(l.isWrap)),M=[],A=S=>{M.push(S)},F=()=>{let S=M.length;M.splice(0,S)},z=t.ref(-1),$=S=>{const W=sn(S).width;W>0&&W!==z.value&&(z.value=W)};il(r,z.value,f.value,m.value,!0,l.minItemWidth,l.maxItemWidth,l.type),l.autoLayout&&t.watch([z,f,m],([S,W,X])=>{i.order.index=0,il(r,S,W,X,!1,l.minItemWidth,l.maxItemWidth,l.type)});const I=t.computed(()=>P.value?l.expandText??"":l.collapseText??""),w=t.computed(()=>({[`${e}__header-collapse-text`]:!0})),K=t.computed(()=>({[`${e}__header-collapse-icon`]:!0,"is-expand":!P.value,"is-collapse":P.value})),J=t.ref(),L=t.ref(),V=t.computed(()=>R.value||Ae(l.height)||""),P=t.ref(!1),R=t.ref(""),Z=t.ref(!1);let U=-1;const j=(S,W=!0)=>{const X=J.value;if(X&&P.value!==S){if(U=U===-1?ji(X):U,Z.value=!0,W)if(X.style["will-change"]="height",X.ontransitionend=function(){X.ontransitionend=null,this.style["will-change"]="auto",S||(R.value="",Z.value=!1)},S){let k=0;l.collapseHeight?k=l.collapseHeight:L.value&&L.value.classList.contains(`${e}__header`)&&(k=L.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:L.value&&L.value.classList.contains(`${e}__header`)&&(k=L.value.offsetHeight),R.value=`${k}px`}else Z.value=!1,R.value=`${U}px`;P.value=S,o.emit("update:collapse",S)}};t.watch(()=>l.collapse,S=>{j(S)});const te=S=>{o.emit("header-click",S)},D=()=>{E()},E=S=>{S=S??!P.value,j(S)};be({toggleCollapse:E,doLayout:()=>{M[0]&&($(M[0]),il(r,z.value,f.value,m.value,!0,l.minItemWidth,l.maxItemWidth,l.type))}});let _=null,N=!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(tt&&(S&&j(ce(l.collapse),!1),l.autoLayout&&Array.isArray(M)&&M.length>0)){const W=M[0];$(W),window.ResizeObserver&&(_=new window.ResizeObserver(()=>{$(W)}),_.observe(W))}},le=()=>{_?.disconnect(),_=null},G=!h.value||s?.acquire();G&&(c.value=h.value?!0:null),t.onMounted(()=>{if(G&&(Q(N),N=!1),h.value&&s){let S=null,W=s.initialHeight;s.observe(J.value,X=>{if(X!==c.value)if(X)c.value=!0,P.value||(R.value=""),S=setTimeout(()=>{S=null,c.value!==!1&&(Q(N),N=!1)},100);else{if(S!==null&&clearTimeout(S),c.value=!1,!P.value)if(N)R.value=s.initialHeight;else{let k=sl(J.value);k<=0?R.value=W:(R.value=`${k}px`,W=R.value)}N||le()}})}}),t.onUnmounted(()=>{_?.disconnect(),s&&s.unobserve(J.value)});const C=(S="right")=>{const W=[];if(I.value){const Y={class:w.value},ee=t.h("span",Y,[I.value]);W.push(ee)}const X={class:K.value},k=a(l.collapseIcon,X);return k&&W.push(k),W.length>0?t.h("div",{class:{[`${b}__header-collapse`]:!0,[`is-${S}`]:!0},onClick:D},W):null},B=(S,W,X,k)=>{const Y={...g.value};return W===0&&(Y[`${b}__first`]=!0),X>=k-1&&(Y[`${b}__last`]=!0),t.h("div",{ref:A,key:`${W}`,class:Y,style:H.value},S)};return()=>{if(h.value&&c.value!==!0){const Y=l.tag||"div";return t.h(Y,{ref:J,prop:l.name,class:{[`${b}`]:!0,"is-collapse":Z.value},style:p.value},[])}i.order.index=0;const S=[];let W=0;if(o.slots.header){const Y={key:`${W++}`,ref:L,class:{[`${b}__header`]:!0,[`${b}__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 ae=C("left");ae&&Y.push(ae)}if(l.title||o.slots.title){if(l.showMark){const ae={class:{[`${b}__header-mark`]:!0}};l.markColor&&(ae.style={background:l.markColor});const ne=t.h("div",ae);Y.push(ne)}if(o.slots.title){const ae=t.h("div",{class:{[`${b}__header-title`]:!0}},[o.slots.title()]);Y.push(ae)}else if(l.title){const ae=t.h("div",{class:{[`${b}__header-title`]:!0}},[l.title]);Y.push(ae)}}if(o.slots.toolbar&&Y.push(o.slots.toolbar()),!ee&&l.showCollapse){const ae=C("right");ae&&Y.push(ae)}if(Y.length>0){const ae={key:`${W++}`,ref:L,class:{[`${b}__header`]:!0,[`${b}__first`]:!0},onClick:te},ne=t.h("div",ae,Y);S.push(ne)}}F();const X=o.slots.default?o.slots.default():[],k=i.layout.value.type;if(k==="grid"){const Y=B(X,W++,0,X.length);S.push(Y)}else if(k==="flow"){const Y=B(X,W++,0,X.length);S.push(Y)}else for(let Y=0;Y<X.length;Y++){const ee=X[Y],ae=B([ee],W++,Y,X.length);S.push(ae)}if(T.value){const Y=l.tag||"div";return t.h(Y,{ref:J,prop:l.name,class:{[`${b}`]:!0,"is-collapse":Z.value},style:p.value},[S])}else return S}}}}const{componentName:Yi,create:Ui,scope:Gi}=ue("group"),ul=Ui(Wi(Yi,Gi,(e,n)=>(e=e??$e.ArrowUp,t.h(O.ElIcon,n,{default:()=>[t.h(e)]}))));function Xi(e){return e===window}const Zi=/matrix\((.+)\)/,cl=e=>{const n=t.unref(e);if(!n)return{x:0,y:0};if(Xi(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:c}=window.getComputedStyle(o);if(c){const h=Zi.exec(c);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 Ji{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 Qi{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 Ji,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 Ot=new Qi,Ja={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:es,create:ts}=ue("price"),ns=ts({props:{...Ja},setup(e){const n=t.computed(()=>({[es]:!0})),a=t.computed(()=>e.needSymbol?e.symbol:""),l=t.computed(()=>Ke(e.price)==0?"":Kt(e.price,e.decimalLength,!0,ge(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}}}),ls=["innerHTML"],as=["innerHTML"];function os(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,ls)):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,as)):t.createCommentVNode("",!0)],2)}const gn=Ne(ns,[["render",os]]),{componentName:fl,create:rs}=ue("hint-text"),is=rs({components:{Price:gn},props:{...Ja,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),c=(w,K,J,L,V,P)=>{const R=document.documentElement.clientWidth||document.body.clientWidth,Z=document.documentElement.clientHeight||document.body.clientHeight,U=w.split("-");let j=[];U[0]==="top"?j=["top","bottom","right","left"]:U[0]==="bottom"?j=["bottom","top","right","left"]:U[0]==="left"?j=["left","top","bottom","right"]:U[0]==="right"&&(j=["right","top","bottom","left"]);const te={top:null,right:null,bottom:null,left:null},D=[];for(let E=0;E<j.length;E++){const q=j[E];if(D[0]=q,U[1]&&(D[1]=U[1]),q==="top"){const _=K.y-P-e.arrowSize-e.offset;if(_>=0){te.top=_;let N=0;U[1]==="start"?N=K.x:U[1]==="end"?N=K.x+J-V:N=K.x+J/2-V/2;const Q=R-N-V;Q<0?(N+=Q,d.value=-Q):d.value=0,te.left=N<0?0:N;break}}else if(q==="bottom"){const _=K.y+L+e.arrowSize+e.offset;if(_+P<=Z){te.top=_;let N=0;U[1]==="start"?N=K.x:U[1]==="end"?N=K.x+J-V:N=K.x+J/2-V/2;const Q=R-N-V;Q<0?(N+=Q,d.value=-Q):d.value=0,te.left=N<0?0:N;break}}else if(q==="left"){const _=K.x-V-e.arrowSize-e.offset;if(_>=0){te.left=_;let N=0;U[1]==="start"?N=K.y:U[1]==="end"?N=K.y+L-P:N=K.y+L/2-P/2,te.top=N<0?0:N;break}}else if(q==="right"){const _=K.x+J+e.arrowSize+e.offset;if(_+V<=R){te.left=_;let N=0;U[1]==="start"?N=K.y:U[1]==="end"?N=K.y+L-P:N=K.y+L/2-P/2,te.top=N<0?0:N;break}}}return{bestPlacement:D.join("-"),bestInsetRect:te}},h=(w,K,J=10)=>{if(!tt||K===!1||!w)return;l.value=cl(e.reference),o.value=e.reference.offsetWidth,r.value=e.reference.offsetHeight;const L=s.value.offsetHeight,V=s.value.offsetWidth,{bestPlacement:P,bestInsetRect:R}=c(e.placement,l.value,o.value,r.value,V,L);i.value=P,a.value=R,u.value=!0},d=t.ref(0),y=st(()=>{h(e.message,e.visible)},10),x=t.ref(e.visible);t.watch(()=>e.visible,w=>{x.value=w});const b=t.computed(()=>x.value&&p.value),p=t.ref(!0),g=st(w=>{const K=w[0];K&&(p.value=K.isIntersecting)},10),H=new IntersectionObserver(g);t.watch([()=>e.message,()=>e.visible],([w,K])=>{setTimeout(()=>{h(e.message,e.visible)},0)}),t.onMounted(()=>{setTimeout(()=>{h(e.message,e.visible)},0),Ot.watch(e.reference,y),H.observe(e.reference)}),t.onBeforeUnmount(()=>{Ot.unwatch(e.reference,y),H.unobserve(e.reference),H.disconnect()});const m=t.computed(()=>{const w={[fl]:!0};return i.value.startsWith("top")?w["is-top"]=!0:i.value.startsWith("right")?w["is-right"]=!0:i.value.startsWith("bottom")?w["is-bottom"]=!0:i.value.startsWith("right")&&(w["is-right"]=!0),e.size==="small"?w["is-small"]=!0:e.size==="large"&&(w["is-large"]=!0),e.customClass&&typeof e.customClass=="string"&&(w[`${e.customClass}`]=!0),w}),f=t.computed(()=>{const w={};a.value.top!==null&&(w.top=`${a.value.top}px`),a.value.right!==null&&(w.right=`${a.value.right}px`),a.value.bottom!==null&&(w.bottom=`${a.value.bottom}px`),a.value.left!==null&&(w.left=`${a.value.left}px`),e.autoFit&&(w["min-width"]=`${o.value}px`);const K=document.documentElement.clientWidth||document.body.clientWidth;return w["max-width"]=`${K}px`,u.value&&(w.opacity="1"),e.transition||(w.transition="none"),e.zIndex&&(w["z-index"]=`${e.zIndex}`),e.customStyle&&typeof e.customStyle=="object"&&Object.assign(w,e.customStyle),w}),T=t.computed(()=>{const w=[`${fl}__content`];return e.customTextClass&&w.push(e.customTextClass),w}),M=t.computed(()=>{const w={};return e.customTextStyle&&typeof e.customTextStyle=="object"&&Object.assign(w,e.customTextStyle),w}),A=t.computed(()=>({[`${fl}__arrow`]:!0})),F=t.computed(()=>{const w={};return e.showArrow?(w.width=`${e.arrowSize}px`,w.height=`${e.arrowSize}px`,i.value==="top"?(w.left="50%",w.bottom=`-${e.arrowSize}px`,w.transform=" translate(-50%, 0%)"):i.value==="top-start"?(w.left=`${e.arrowOffset+d.value}px`,w.bottom=`-${e.arrowSize}px`):i.value==="top-end"?(w.right=`${e.arrowOffset-d.value}px`,w.bottom=`-${e.arrowSize}px`):i.value==="right"?(w.left=`-${e.arrowSize}px`,w.top="50%",w.transform=" translate(0%, -50%)"):i.value==="right-start"?(w.left=`-${e.arrowSize}px`,w.top=`${e.arrowOffset}px`):i.value==="right-end"?(w.left=`-${e.arrowSize}px`,w.bottom=`-${e.arrowOffset}px`):i.value==="bottom"?(w.left="50%",w.top=`-${e.arrowSize}px`,w.transform=" translate(-50%, 0%)"):i.value==="bottom-start"?(w.left=`${e.arrowOffset+d.value}px`,w.top=`-${e.arrowSize}px`):i.value==="bottom-end"?(w.right=`${e.arrowOffset-d.value}px`,w.top=`-${e.arrowSize}px`):i.value==="left"?(w.right=`-${e.arrowSize}px`,w.top="50%",w.transform=" translate(0%, -50%)"):i.value==="left-start"?(w.right=`-${e.arrowSize}px`,w.top=`${e.arrowOffset}px`):i.value==="left-end"&&(w.right=`-${e.arrowSize}px`,w.bottom=`-${e.arrowOffset}px`),w):{display:"none"}}),z=t.computed(()=>b.value&&e.closeOnClick),$=t.computed(()=>{const w={};return e.zIndex&&(w["z-index"]=`${e.zIndex}`),w});return{show:b,tipRef:s,classes:m,styles:f,textClasses:T,textStyles:M,arrowClasses:A,arrowStyles:F,overlayShow:z,overlayStyle:$,onClickOverlay:()=>{x.value=!1,n.emit("update:visible",!1)}}}}),ss=["innerHTML"];function us(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 At=Ne(is,[["render",us]]);class Qa{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 dl={},cs=new Qa,pt=new Map,yn=e=>{if(e){const n=document.getElementById(e);pt.delete(e),n&&n.parentNode?.removeChild(n)}else{for(const n of pt.keys()){const a=document.getElementById(n);a&&a.parentNode?.removeChild(a)}pt.clear()}},fs=e=>{e.unmount=yn;const n=document.getElementById(e.id);if(n){const a=pt.get(e.id);a?e={...dl,...a,...e}:e={...dl,...e},e.transition=!1;const l=t.createVNode(At,e);t.render(l,n)}return e.id},ds=e=>{e.unmount=yn;let n=e.id??`hinttext_${cs.get()}`;e={...dl,...e},e.id=n,pt.set(n,e);const a=document.createElement("div");a.id=e.id;const l=t.createVNode(At,e);return t.render(l,a),document.body.appendChild(a),n},hs=e=>{if(!e){console.warn("[FoxUI HintText]: msg不能为空");return}},Be={show(e,n,a={},l=!0){hs(n);const o=a.id;return o&&pt.has(o)?fs({...a,message:n,reference:e}):(l&&yn(),ds({...a,message:n,reference:e}))},hide(e){yn(e)},install(e){e.config.globalProperties.$hintText=Be}};function ms(e,n,a,l=!1){return{inheritAttrs:!0,props:{...we,...De},emits:["appear","disappear"],setup(o,r){const i=o.prop??r.attrs.name;Ce({componentName:e,validate:!1},i);const u=Xe(),s=un();cn(!1);const c=t.computed(()=>s&&u?fn(u,!1).value:null),h=e,d=t.ref(null),y=t.computed(()=>{const k={[h]:!0,[`${h}__gutter`]:c.value&&c.value.type!=="flow",[`${h}__stretch`]:o.span==="stretch",[`${h}__input--border`]:ce(o.hasBorder)};if(k[o.errorMarkClass]=!!P.value,k[o.warnMarkClass]=!!L.value,k[o.infoMarkClass]=!!K.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),b=t.computed(()=>{const k={};if(o.width)o.width!=="auto"&&(k.width=Ae(o.width));else{const Y=s&&u?dn(u,!1):null;if(c.value&&Y){if(c.value.type==="grid"){const ee=mn(Y,c.value,o.span,o.offset);Object.assign(k,ee)}else if(c.value.type==="flow"){const ee=hn(Y,c.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}),p=t.ref(null),g=t.computed({get:()=>p.value??ce(o.isRequired),set:k=>{p.value=k}}),H=()=>typeof o.label=="string"&&o.label.length>0||typeof r.slots.label=="function",m=Ee(t.toRef(o,"labelPosition"),"labelPosition",_e.Near),f=t.computed(()=>m&&m.value==="top"?"top":m&&m.value==="right"?"right":"left"),T=t.computed(()=>({[`${h}__main`]:!0,[`${h}__main--${f.value}`]:!0})),M=t.computed(()=>({label:!0,[`label--${f.value}`]:!0})),A=Ee(t.toRef(o,"labelWidth"),"labelWidth",_e.Near),F=t.computed(()=>A&&A.value?{width:Ae(A.value)}:{}),z=t.computed(()=>({"label--string":!0,"label--required":g.value})),$=t.computed(()=>({content:!0,[o.contentClass]:!0})),I=t.computed(()=>({...o.contentStyle})),w=t.shallowReactive({errorTip:"",errorIcon:null,warnTip:"",warnIcon:null,infoTip:"",infoIcon:null});be({setRequired(k){g.value=k},setErrorTip(k){w.errorTip=k},setErrorIcon(k){w.errorIcon=k},setWarnTip(k){w.warnTip=k},setWarnIcon(k){w.warnIcon=k},setInfoTip(k){w.infoTip=k},setInfoIcon(k){w.infoIcon=k},setCustomClassName(k){d.value=k},setCustomStyle(k){x.value=k}});const K=t.computed(()=>o.infoTip||w.infoTip),J=t.computed(()=>o.infoIcon||w.infoIcon),L=t.computed(()=>o.warnTip||w.warnTip),V=t.computed(()=>o.warnIcon||w.warnIcon),P=t.computed(()=>o.errorTip||w.errorTip),R=t.computed(()=>o.errorIcon||w.errorIcon),Z=t.computed(()=>P.value?"error":L.value?"warn":K.value?"info":""),U=()=>Z.value.length>0,j=t.computed(()=>Z.value==="error"?P.value:Z.value==="warn"?L.value:Z.value==="info"?K.value:""),te=t.computed(()=>Z.value==="error"?R.value:Z.value==="warn"?V.value:Z.value==="info"?J.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}),E=t.computed(()=>{const k={};return m&&m.value==="top"||!H()?k["padding-left"]="0px":A&&A.value&&(k["padding-left"]=Ae(A.value)),k}),q=t.ref();let _="";t.watch([()=>o.hintVisible,()=>o.hintText,()=>o.hintType,()=>o.hintProps],([k,Y,ee,ae])=>{q.value&&(k&&!de(Y)?_?a.show(q.value,Y,{...ae,id:_,type:ee},!0):_=a.show(q.value,Y,{...ae,type:ee},!0):a.hide(_))});let N=null;const Q=()=>{N||!q.value||(N=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")}),N.observe(q.value))},le=()=>{!N||!q.value||(N.unobserve(q.value),N=null)};t.watch(()=>ce(o.appearListen),k=>{k?Q():le()}),t.onMounted(()=>{ce(o.appearListen)&&Q()}),t.onUnmounted(le);const G=()=>{if(!H())return null;const k=[],Y=r.slots?.label?.()??o.label,ee={class:z.value},ae=t.h("div",ee,[Y]);if(k.push(ae),r.slots.fixedPreTip){const oe=r.slots.fixedPreTip();k.push(oe)}const ne={class:M.value,style:F.value};return t.h("div",ne,k)},C=()=>{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`]},ae=t.h("div",ee,[r.slots.fixedTip()]);k.push(ae)}const Y={ref:q,class:$.value,style:I.value};return t.h("div",Y,k)},B=()=>{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=j.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=B();Y&&k.push(Y);const ee=S();ee&&k.push(ee);const ae={class:D.value,style:E.value};return t.h("div",ae,k)},X=()=>r.slots?.hide?.()??null;return()=>{const k=[],Y=[],ee=G();ee&&Y.push(ee);const ae=C();ae&&Y.push(ae);const ne={class:T.value},oe=t.h("div",ne,Y);k.push(oe);const re=W();re&&k.push(re);const se=X();se&&k.push(se);const me={class:y.value,style:b.value,prop:o.prop};return t.h("div",me,k)}}}}const{componentName:gs,create:ys,scope:ps}=ue("item"),Se=ys(ms(gs,ps,Be,!1));function bs(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=Xe(),r=un();cn(!1);const i=t.computed(()=>r&&o?fn(o,!1).value:null),u=e,s=t.computed(()=>({[u]:!0,[`${u}__gutter`]:i.value&&i.value.type!=="flow",[`${u}__stretch`]:a.span==="stretch"})),c=t.computed(()=>{const h={},d=r&&o?dn(o,!1):null;if(i.value&&d)if(i.value.type==="grid"){const y=mn(d,i.value,a.span,a.offset);Object.assign(h,y)}else if(i.value.type==="flow"){const y=hn(d,i.value,a.span,a.offset,a.width);Object.assign(h,y)}else return a.width&&(h.width=Ae(a.width)),h;else a.width&&(h.width=Ae(a.width));return h});return()=>{const h={class:s.value,style:c.value};return l.slots&&typeof l.slots.default=="function"?t.h("div",h,l.slots.default()):t.h("div",h)}}}}const{componentName:vs,create:ws,scope:$y}=ue("slot-item"),hl=ws(bs(vs));function Ss(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=Xe(),u=un();cn(!1);const s=t.computed(()=>{const c={};if(u&&i){const h=fn(i,!1),d=dn(i,!1);if(h.value&&d)if(h.value.type==="grid"){const y=mn(d,h.value,a.span,a.offset);Object.assign(c,y)}else if(h.value.type==="flow"){const y=hn(d,h.value,a.span,a.offset,a.width);Object.assign(c,y)}else a.width&&(c.width=Ae(a.width))}else a.width&&(c.width=Ae(a.width));return c});return()=>{const c=[];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}});c.push(x)}c.push(d[y])}else Reflect.apply([].push,c,d)}const h={class:r.value,style:s.value};return t.h("div",h,c)}}}}const{componentName:xs,create:Ts,scope:ky}=ue("row-item"),ml=Ts(Ss(xs)),Ye=(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},eo={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 Cs(e,n,a){return{props:{...we,...De,...eo},emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(l,o){const r=t.ref(null),i=Ie(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ve(t.computed(()=>u.value??l.readonly)),{emitEvent:c}=Ce({componentName:e,get readonly(){return s.value},get disabled(){return i.value}},l.prop??o.attrs.name),{toLocaleRefs:h}=ve.useFoxI18n(n),d=h(l,["placeholder"]),y=t.ref(!1),x=he(l,"modelValue",null,c),b=e,p=t.computed(()=>({[b]:!0,[`${b}__disabled`]:i.value,[`${b}__readonly`]:s.value})),g=V=>{x.value=V,c("update:modelValue",V),c("input",V)},H=V=>{c("change",V)};let m=he(l,"hintText"),f=t.ref(!1);const T=V=>{let R=V.target.value;y.value=!0,de(m.value)||(f.value=!0),c("focus",R,V)},M=V=>{setTimeout(()=>{f.value&&(f.value=!1),y.value=!1},0);let R=V.target.value;l.maxLength&&R.length>Number(l.maxLength)&&(R=R.slice(0,Number(l.maxLength))),c("blur",R,V)},A=()=>{c("clear","")},F=t.ref(!1);let z=null;const $=()=>{l.showTooltip&&F.value===!1&&(z&&clearTimeout(z),z=setTimeout(()=>{F.value=!0},150))},I=()=>{z&&(clearTimeout(z),F.value=!1,z=null)},w=t.computed(()=>F.value||f.value),K=t.computed(()=>F.value?x.value:m.value),J=t.computed(()=>Ke(l.unit)>0),L=t.ref();return be({focus:()=>{L?.value.focus()},blur:()=>{L?.value.blur()},select:()=>{L?.value.select()},setDisabled:V=>{r.value=V},setReadonly:V=>{u.value=V}}),()=>{const P={...Ye(o.attrs),ref:L,class:p.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:A,onChange:H,onInput:g,onFocus:T,onBlur:M,onMouseover:$,onMouseleave:I},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:J.value&&(R.suffix=()=>[l.unit]);const Z=[],U=t.h(O.ElInput,P,R);Z.push(U);const j={default:()=>Z};o.slots.default&&(j.label=o.slots.default),o.slots.default&&(j.fixedTip=o.slots.fixedTip);const D={...ke(l,eo),hintText:K.value,hintVisible:w.value};return l.prop&&(D.prop=`${l.prop}_item`),t.h(a,D,j)}}}}const{componentName:$s,create:ks,scope:Ds}=ue("input-item"),gl=ks(Cs($s,Ds,Se));function lt(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function Ft(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function to(e,n){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?n[e.childrenKey]||null:n.children??null}function Ns(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}let Es=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=Fe(this.proxy,n);return o===null?(console.error(`${n} component not found api function`),[]):(Le(l)&&t.isReactive(l)&&(l=t.toRaw(l)),await o(a,l))}};function Vs(){const e=t.getCurrentInstance();return new Es(e.proxy)}function no(e,n,a){const l=lt(e,n),o=lt(e,a);if(l!==o)return!1;const r=Ft(e,n),i=Ft(e,a);return r===i}function lo(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=to(e,i);if(Array.isArray(u)&&u.length>0){const s=lo(e,r,a,u)??[];Reflect.apply([].push,o,s)}else{let s=!1;if(a==="text")s=lt(e,i)===r;else if(a==="item")s=no(e,i,r);else{let c=Ft(e,i);c==null&&(c=lt(e,i)),s=c===r}if(s){o.push(i);break}}}}),o}function Is(e){return{text:e,value:e}}const ao={modelValue:{type:[String,Boolean,Number,Object,Array],required:!1},text:{type:[String],required:!1},source:{type:[Array,Function,String],default:[]},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 Os(e,n,a){return{props:{...we,...De,...ao},emits:["change","update:modelValue","update:text","blur","focus","clear","visible-change","remove-tag","selected","setValue"],setup(l,o){const r=t.ref(null),i=Ie(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ve(t.computed(()=>u.value??l.readonly)),{emitEvent:c}=Ce({componentName:e,validateCheckEvents:["blur","update:modelValue","selected"],get readonly(){return s.value},get disabled(){return i.value}},l.prop??o.attrs.name),{toLocaleRefs:h}=ve.useFoxI18n(n),d=h(l,["placeholder"]),y=t.ref(null),x=t.ref([]),b=t.computed(()=>x.value?x.value.map(W=>lt(l,W)).join(" "):""),p=(S,W,X,k=!0)=>{const Y=lo(l,S,W,X);if(Y===null){if(x.value===null||x.value.length===0)return;y.value=null,x.value=[],k&&(c("update:modelValue",null),c("update:text",null),c("change",null));return}let ee=!0;if(Y.length!==x.value.length)ee=!1;else for(let ae=0;ae<Y.length;ae++){const ne=Y[ae],oe=x.value[ae];if(!no(l,ne,oe)){ee=!1;break}}if(!ee){x.value=Y;let ae=[],ne=[],oe=[];Y.forEach(ye=>{const ze=Ft(l,ye),je=lt(l,ye);ae.push(ze),oe.push(je),l.valueType==="text"?ne.push(je):l.valueType==="item"?ne.push(ye):ne.push(ze)});let re,se,me;ce(l.multiple)?(y.value=ae,re=t.toRaw(ne),se=oe,me=t.toRaw(Y)):(y.value=ae[0]??"",re=t.toRaw(ne[0]??""),se=oe[0]??"",me=t.toRaw(Y[0])),k&&(c("update:modelValue",re),c("change",re,me)),c("update:text",se)}},g=t.ref(null),H=t.ref(null),m=t.computed(()=>H.value??g.value??[]),f=Ee(t.computed(()=>l.appearLoad),"appearLoad",_e.Near,S=>ce(S)),T=Vs(),M=async(S,W)=>{if(S){const X=await T.load("select",S,W);if(X.length>0)if(typeof X[0]=="string"){let ee=X.map(ae=>Is(ae));g.value=ee}else g.value=X;else g.value=null}};t.watch([()=>l.source,()=>l.params],([S,W])=>{H.value=null,M(S,W)},{immediate:!f.value});let A=!1;const F=()=>{A||(A=!0,M(l.source,l.params))};t.watch([()=>g.value,()=>l.modelValue],([S,W])=>{if(w()&&ce(l.multiple)){Pe(W,y.value)||(y.value=W);return}p(W,l.valueType,m.value,!1),c("setValue",W)});let z=null,$=t.ref(!1);typeof l.remoteMethod=="function"&&(z=async S=>{if(S==null){H.value=null;return}$.value=!0;try{const W=await l.remoteMethod(S);W&&(H.value=W)}catch(W){H.value=null,console.error(W)}$.value=!1});let I=null;typeof l.filterMethod=="function"&&(I=async S=>{if(S==null){H.value=null;return}$.value=!0;try{const W=await l.filterMethod(S,g.value);W&&(H.value=W)}catch(W){H.value=null,console.error(W)}$.value=!1});const w=()=>typeof l.remoteMethod=="function"||typeof l.filterMethod=="function",K=t.ref(!1),J=e,L=t.computed(()=>({[J]:!0})),V=S=>{l.allowCreate||w()&&ce(l.multiple)?(c("update:modelValue",S),c("change",S),c("update:text",S),y.value=S):p(S,"value",m.value,!0)};let P=he(l,"hintText"),R=t.ref(!1);const Z=S=>{let X=S.target.value;K.value=!0,de(P.value)||(R.value=!0),c("focus",X,S)},U=S=>{setTimeout(()=>{R.value&&(R.value=!1),K.value=!1},0);let X=S.target.value;l.maxLength&&X.length>Number(l.maxLength)&&(X=X.slice(0,Number(l.maxLength))),Q.value||c("blur",X,S)},j=()=>{c("clear","")},te=t.ref(!1);let D=null;const E=()=>{l.showTooltip&&te.value===!1&&(D&&clearTimeout(D),D=setTimeout(()=>{te.value=!0},150))},q=()=>{D&&(clearTimeout(D),te.value=!1,D=null)},_=t.computed(()=>te.value||R.value),N=t.computed(()=>te.value?b.value:P.value),Q=t.ref(!1),le=S=>{Q.value=S,c("visible-change",S),S||c("selected")},G=S=>{c("remove-tag",S)},C=(S,W)=>{const X=[];return S.forEach((k,Y)=>{const ee=to(l,k);if(Array.isArray(ee)&&ee.length>0){const ae=C(ee,W),ne=lt(l,k),re={key:`${ne}_${Y}`,label:ne};X.push(t.h(O.ElOptionGroup,re,{default:()=>ae}))}else{const ae=Ft(l,k),ne=lt(l,k),oe=Ns(l,k),se={key:`${ae}_${Y}`,label:ne,disabled:oe,value:ae};if(typeof W=="function")X.push(t.h(O.ElOption,se,{default:()=>W(k)}));else if(l.optionType==="item"){const me={class:{"fox-select-item__option-left":!0}},ye=t.h("span",me,[ae]),ze={class:{"fox-select-item__option-right":!0}},je=t.h("span",ze,[ne]),Fr=t.h("div",{class:{"fox-select-item__option":!0}},[ye,je]);X.push(t.h(O.ElOption,se,{default:()=>Fr}))}else l.optionType==="value"?X.push(t.h(O.ElOption,se,{default:()=>[ae]})):X.push(t.h(O.ElOption,se))}}),X},B=t.ref();return be({focus:()=>{B?.value.focus()},blur:()=>{B?.value.blur()},setDisabled:S=>{r.value=S},setReadonly:S=>{u.value=S}}),()=>{const W={...Ye(o.attrs),ref:B,class:L.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:j,onChange:V,onFocus:Z,onBlur:U,onVisibleChange:le,onRemoveTag:G};typeof z=="function"&&(W["remote-method"]=z,W.loading=$.value),typeof I=="function"&&(W["filter-method"]=I,W.loading=$.value);const X={};o.slots.prefix&&(X.prefix=o.slots.prefix),o.slots.empty&&(X.empty=o.slots.empty),o.slots.options?X.default=o.slots.options:X.default=()=>C(m.value,o.slots.option);const k=[],Y=t.h(O.ElSelect,W,X);k.push(Y);const ee={default:()=>k};o.slots.default&&(ee.label=o.slots.default),o.slots.fixedTip&&(ee.fixedTip=o.slots.fixedTip);const ne={...ke(l,ao),hintText:N.value,hintVisible:_.value,onMouseover:E,onMouseleave:q};return l.prop&&(ne.prop=`${l.prop}_item`),f.value&&(ne["appear-listen"]=!0,ne.onAppear=F),t.h(a,ne,ee)}}}}const{componentName:As,create:Fs,scope:Bs}=ue("select-item"),yl=Fs(Os(As,Bs,Se));var Ze=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Je(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var oo={exports:{}};(function(e,n){(function(a,l){e.exports=l()})(Ze,function(){var a=1e3,l=6e4,o=36e5,r="millisecond",i="second",u="minute",s="hour",c="day",h="week",d="month",y="quarter",x="year",b="date",p="Invalid Date",g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,H=/\[([^\]]+)]|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,m={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(L){var V=["th","st","nd","rd"],P=L%100;return"["+L+(V[(P-20)%10]||V[P]||V[0])+"]"}},f=function(L,V,P){var R=String(L);return!R||R.length>=V?L:""+Array(V+1-R.length).join(P)+L},T={s:f,z:function(L){var V=-L.utcOffset(),P=Math.abs(V),R=Math.floor(P/60),Z=P%60;return(V<=0?"+":"-")+f(R,2,"0")+":"+f(Z,2,"0")},m:function L(V,P){if(V.date()<P.date())return-L(P,V);var R=12*(P.year()-V.year())+(P.month()-V.month()),Z=V.clone().add(R,d),U=P-Z<0,j=V.clone().add(R+(U?-1:1),d);return+(-(R+(P-Z)/(U?Z-j:j-Z))||0)},a:function(L){return L<0?Math.ceil(L)||0:Math.floor(L)},p:function(L){return{M:d,y:x,w:h,d:c,D:b,h:s,m:u,s:i,ms:r,Q:y}[L]||String(L||"").toLowerCase().replace(/s$/,"")},u:function(L){return L===void 0}},M="en",A={};A[M]=m;var F="$isDayjsObject",z=function(L){return L instanceof K||!(!L||!L[F])},$=function L(V,P,R){var Z;if(!V)return M;if(typeof V=="string"){var U=V.toLowerCase();A[U]&&(Z=U),P&&(A[U]=P,Z=U);var j=V.split("-");if(!Z&&j.length>1)return L(j[0])}else{var te=V.name;A[te]=V,Z=te}return!R&&Z&&(M=Z),Z||!R&&M},I=function(L,V){if(z(L))return L.clone();var P=typeof V=="object"?V:{};return P.date=L,P.args=arguments,new K(P)},w=T;w.l=$,w.i=z,w.w=function(L,V){return I(L,{locale:V.$L,utc:V.$u,x:V.$x,$offset:V.$offset})};var K=function(){function L(P){this.$L=$(P.locale,null,!0),this.parse(P),this.$x=this.$x||P.x||{},this[F]=!0}var V=L.prototype;return V.parse=function(P){this.$d=function(R){var Z=R.date,U=R.utc;if(Z===null)return new Date(NaN);if(w.u(Z))return new Date;if(Z instanceof Date)return new Date(Z);if(typeof Z=="string"&&!/Z$/i.test(Z)){var j=Z.match(g);if(j){var te=j[2]-1||0,D=(j[7]||"0").substring(0,3);return U?new Date(Date.UTC(j[1],te,j[3]||1,j[4]||0,j[5]||0,j[6]||0,D)):new Date(j[1],te,j[3]||1,j[4]||0,j[5]||0,j[6]||0,D)}}return new Date(Z)}(P),this.init()},V.init=function(){var P=this.$d;this.$y=P.getFullYear(),this.$M=P.getMonth(),this.$D=P.getDate(),this.$W=P.getDay(),this.$H=P.getHours(),this.$m=P.getMinutes(),this.$s=P.getSeconds(),this.$ms=P.getMilliseconds()},V.$utils=function(){return w},V.isValid=function(){return this.$d.toString()!==p},V.isSame=function(P,R){var Z=I(P);return this.startOf(R)<=Z&&Z<=this.endOf(R)},V.isAfter=function(P,R){return I(P)<this.startOf(R)},V.isBefore=function(P,R){return this.endOf(R)<I(P)},V.$g=function(P,R,Z){return w.u(P)?this[R]:this.set(Z,P)},V.unix=function(){return Math.floor(this.valueOf()/1e3)},V.valueOf=function(){return this.$d.getTime()},V.startOf=function(P,R){var Z=this,U=!!w.u(R)||R,j=w.p(P),te=function(G,C){var B=w.w(Z.$u?Date.UTC(Z.$y,C,G):new Date(Z.$y,C,G),Z);return U?B:B.endOf(c)},D=function(G,C){return w.w(Z.toDate()[G].apply(Z.toDate("s"),(U?[0,0,0,0]:[23,59,59,999]).slice(C)),Z)},E=this.$W,q=this.$M,_=this.$D,N="set"+(this.$u?"UTC":"");switch(j){case x:return U?te(1,0):te(31,11);case d:return U?te(1,q):te(0,q+1);case h:var Q=this.$locale().weekStart||0,le=(E<Q?E+7:E)-Q;return te(U?_-le:_+(6-le),q);case c:case b:return D(N+"Hours",0);case s:return D(N+"Minutes",1);case u:return D(N+"Seconds",2);case i:return D(N+"Milliseconds",3);default:return this.clone()}},V.endOf=function(P){return this.startOf(P,!1)},V.$set=function(P,R){var Z,U=w.p(P),j="set"+(this.$u?"UTC":""),te=(Z={},Z[c]=j+"Date",Z[b]=j+"Date",Z[d]=j+"Month",Z[x]=j+"FullYear",Z[s]=j+"Hours",Z[u]=j+"Minutes",Z[i]=j+"Seconds",Z[r]=j+"Milliseconds",Z)[U],D=U===c?this.$D+(R-this.$W):R;if(U===d||U===x){var E=this.clone().set(b,1);E.$d[te](D),E.init(),this.$d=E.set(b,Math.min(this.$D,E.daysInMonth())).$d}else te&&this.$d[te](D);return this.init(),this},V.set=function(P,R){return this.clone().$set(P,R)},V.get=function(P){return this[w.p(P)]()},V.add=function(P,R){var Z,U=this;P=Number(P);var j=w.p(R),te=function(q){var _=I(U);return w.w(_.date(_.date()+Math.round(q*P)),U)};if(j===d)return this.set(d,this.$M+P);if(j===x)return this.set(x,this.$y+P);if(j===c)return te(1);if(j===h)return te(7);var D=(Z={},Z[u]=l,Z[s]=o,Z[i]=a,Z)[j]||1,E=this.$d.getTime()+P*D;return w.w(E,this)},V.subtract=function(P,R){return this.add(-1*P,R)},V.format=function(P){var R=this,Z=this.$locale();if(!this.isValid())return Z.invalidDate||p;var U=P||"YYYY-MM-DDTHH:mm:ssZ",j=w.z(this),te=this.$H,D=this.$m,E=this.$M,q=Z.weekdays,_=Z.months,N=Z.meridiem,Q=function(C,B,S,W){return C&&(C[B]||C(R,U))||S[B].slice(0,W)},le=function(C){return w.s(te%12||12,C,"0")},G=N||function(C,B,S){var W=C<12?"AM":"PM";return S?W.toLowerCase():W};return U.replace(H,function(C,B){return B||function(S){switch(S){case"YY":return String(R.$y).slice(-2);case"YYYY":return w.s(R.$y,4,"0");case"M":return E+1;case"MM":return w.s(E+1,2,"0");case"MMM":return Q(Z.monthsShort,E,_,3);case"MMMM":return Q(_,E);case"D":return R.$D;case"DD":return w.s(R.$D,2,"0");case"d":return String(R.$W);case"dd":return Q(Z.weekdaysMin,R.$W,q,2);case"ddd":return Q(Z.weekdaysShort,R.$W,q,3);case"dddd":return q[R.$W];case"H":return String(te);case"HH":return w.s(te,2,"0");case"h":return le(1);case"hh":return le(2);case"a":return G(te,D,!0);case"A":return G(te,D,!1);case"m":return String(D);case"mm":return w.s(D,2,"0");case"s":return String(R.$s);case"ss":return w.s(R.$s,2,"0");case"SSS":return w.s(R.$ms,3,"0");case"Z":return j}return null}(C)||j.replace(":","")})},V.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},V.diff=function(P,R,Z){var U,j=this,te=w.p(R),D=I(P),E=(D.utcOffset()-this.utcOffset())*l,q=this-D,_=function(){return w.m(j,D)};switch(te){case x:U=_()/12;break;case d:U=_();break;case y:U=_()/3;break;case h:U=(q-E)/6048e5;break;case c:U=(q-E)/864e5;break;case s:U=q/o;break;case u:U=q/l;break;case i:U=q/a;break;default:U=q}return Z?U:w.a(U)},V.daysInMonth=function(){return this.endOf(d).$D},V.$locale=function(){return A[this.$L]},V.locale=function(P,R){if(!P)return this.$L;var Z=this.clone(),U=$(P,R,!0);return U&&(Z.$L=U),Z},V.clone=function(){return w.w(this.$d,this)},V.toDate=function(){return new Date(this.valueOf())},V.toJSON=function(){return this.isValid()?this.toISOString():null},V.toISOString=function(){return this.$d.toISOString()},V.toString=function(){return this.$d.toUTCString()},L}(),J=K.prototype;return I.prototype=J,[["$ms",r],["$s",i],["$m",u],["$H",s],["$W",c],["$M",d],["$y",x],["$D",b]].forEach(function(L){J[L[1]]=function(V){return this.$g(V,L[0],L[1])}}),I.extend=function(L,V){return L.$i||(L(V,K,I),L.$i=!0),I},I.locale=$,I.isDayjs=z,I.unix=function(L){return I(1e3*L)},I.en=A[M],I.Ls=A,I.p={},I})})(oo);var Ms=oo.exports;const Ue=Je(Ms);var ro={exports:{}};(function(e,n){(function(a,l){e.exports=l()})(Ze,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(p){return(p=+p)+(p>68?1900:2e3)},c=function(p){return function(g){this[p]=+g}},h=[/[+-]\d\d:?(\d\d)?|Z/,function(p){(this.zone||(this.zone={})).offset=function(g){if(!g||g==="Z")return 0;var H=g.match(/([+-]|\d\d)/g),m=60*H[1]+(+H[2]||0);return m===0?0:H[0]==="+"?-m:m}(p)}],d=function(p){var g=u[p];return g&&(g.indexOf?g:g.s.concat(g.f))},y=function(p,g){var H,m=u.meridiem;if(m){for(var f=1;f<=24;f+=1)if(p.indexOf(m(f,0,g))>-1){H=f>12;break}}else H=p===(g?"pm":"PM");return H},x={A:[i,function(p){this.afternoon=y(p,!1)}],a:[i,function(p){this.afternoon=y(p,!0)}],S:[/\d/,function(p){this.milliseconds=100*+p}],SS:[o,function(p){this.milliseconds=10*+p}],SSS:[/\d{3}/,function(p){this.milliseconds=+p}],s:[r,c("seconds")],ss:[r,c("seconds")],m:[r,c("minutes")],mm:[r,c("minutes")],H:[r,c("hours")],h:[r,c("hours")],HH:[r,c("hours")],hh:[r,c("hours")],D:[r,c("day")],DD:[o,c("day")],Do:[i,function(p){var g=u.ordinal,H=p.match(/\d+/);if(this.day=H[0],g)for(var m=1;m<=31;m+=1)g(m).replace(/\[|\]/g,"")===p&&(this.day=m)}],M:[r,c("month")],MM:[o,c("month")],MMM:[i,function(p){var g=d("months"),H=(d("monthsShort")||g.map(function(m){return m.slice(0,3)})).indexOf(p)+1;if(H<1)throw new Error;this.month=H%12||H}],MMMM:[i,function(p){var g=d("months").indexOf(p)+1;if(g<1)throw new Error;this.month=g%12||g}],Y:[/[+-]?\d+/,c("year")],YY:[o,function(p){this.year=s(p)}],YYYY:[/\d{4}/,c("year")],Z:h,ZZ:h};function b(p){var g,H;g=p,H=u&&u.formats;for(var m=(p=g.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function($,I,w){var K=w&&w.toUpperCase();return I||H[w]||a[w]||H[K].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(J,L,V){return L||V.slice(1)})})).match(l),f=m.length,T=0;T<f;T+=1){var M=m[T],A=x[M],F=A&&A[0],z=A&&A[1];m[T]=z?{regex:F,parser:z}:M.replace(/^\[|\]$/g,"")}return function($){for(var I={},w=0,K=0;w<f;w+=1){var J=m[w];if(typeof J=="string")K+=J.length;else{var L=J.regex,V=J.parser,P=$.slice(K),R=L.exec(P)[0];V.call(I,R),$=$.replace(R,"")}}return function(Z){var U=Z.afternoon;if(U!==void 0){var j=Z.hours;U?j<12&&(Z.hours+=12):j===12&&(Z.hours=0),delete Z.afternoon}}(I),I}}return function(p,g,H){H.p.customParseFormat=!0,p&&p.parseTwoDigitYear&&(s=p.parseTwoDigitYear);var m=g.prototype,f=m.parse;m.parse=function(T){var M=T.date,A=T.utc,F=T.args;this.$u=A;var z=F[1];if(typeof z=="string"){var $=F[2]===!0,I=F[3]===!0,w=$||I,K=F[2];I&&(K=F[2]),u=this.$locale(),!$&&K&&(u=H.Ls[K]),this.$d=function(P,R,Z){try{if(["x","X"].indexOf(R)>-1)return new Date((R==="X"?1e3:1)*P);var U=b(R)(P),j=U.year,te=U.month,D=U.day,E=U.hours,q=U.minutes,_=U.seconds,N=U.milliseconds,Q=U.zone,le=new Date,G=D||(j||te?1:le.getDate()),C=j||le.getFullYear(),B=0;j&&!te||(B=te>0?te-1:le.getMonth());var S=E||0,W=q||0,X=_||0,k=N||0;return Q?new Date(Date.UTC(C,B,G,S,W,X,k+60*Q.offset*1e3)):Z?new Date(Date.UTC(C,B,G,S,W,X,k)):new Date(C,B,G,S,W,X,k)}catch{return new Date("")}}(M,z,A),this.init(),K&&K!==!0&&(this.$L=this.locale(K).$L),w&&M!=this.format(z)&&(this.$d=new Date("")),u={}}else if(z instanceof Array)for(var J=z.length,L=1;L<=J;L+=1){F[1]=z[L-1];var V=H.apply(this,F);if(V.isValid()){this.$d=V.$d,this.$L=V.$L,this.init();break}L===J&&(this.$d=new Date(""))}else f.call(this,T)}}})})(ro);var Rs=ro.exports;const Ls=Je(Rs);var io={exports:{}};(function(e,n){(function(a,l){e.exports=l()})(Ze,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 c=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 c.s(u.week(),d==="w"?1:2,"0");case"W":case"WW":return c.s(u.isoWeek(),d==="W"?1:2,"0");case"k":case"kk":return c.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)}}})})(io);var _s=io.exports;const Ps=Je(_s);var so={exports:{}};(function(e,n){(function(a,l){e.exports=l()})(Ze,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,b,p){var g=d.name?d:d.$locale(),H=i(g[y]),m=i(g[x]),f=H||m.map(function(M){return M.slice(0,b)});if(!p)return f;var T=g.weekStart;return f.map(function(M,A){return f[(A+(T||0))%7]})},s=function(){return o.Ls[o.locale()]},c=function(d,y){return d.formats[y]||function(x){return x.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(b,p,g){return p||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 c(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 c(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)}}})})(so);var qs=so.exports;const zs=Je(qs);var uo={exports:{}};(function(e,n){(function(a,l){e.exports=l()})(Ze,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 c=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var h=i(this).startOf(l).add(1,l).date(c),d=i(this).endOf(a);if(h.isBefore(d))return 1}var y=i(this).startOf(l).date(c).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)}}})})(uo);var js=uo.exports;const Hs=Je(js);var co={exports:{}};(function(e,n){(function(a,l){e.exports=l()})(Ze,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}}})})(co);var Ks=co.exports;const Ws=Je(Ks);var fo={exports:{}};(function(e,n){(function(a,l){e.exports=l()})(Ze,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")}}})})(fo);var Ys=fo.exports;const Us=Je(Ys);var ho={exports:{}};(function(e,n){(function(a,l){e.exports=l()})(Ze,function(){return function(a,l){l.prototype.isSameOrAfter=function(o,r){return this.isSame(o,r)||this.isAfter(o,r)}}})})(ho);var Gs=ho.exports;const Xs=Je(Gs);var mo={exports:{}};(function(e,n){(function(a,l){e.exports=l()})(Ze,function(){return function(a,l){l.prototype.isSameOrBefore=function(o,r){return this.isSame(o,r)||this.isBefore(o,r)}}})})(mo);var Zs=mo.exports;const Js=Je(Zs);Ue.extend(zs),Ue.extend(Ps),Ue.extend(Ls),Ue.extend(Hs),Ue.extend(Ws),Ue.extend(Us),Ue.extend(Xs),Ue.extend(Js);const ie={format(e,n){return Ue(e).format(n)},parser(e,n){return Ue(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,c=r+(6-i)*864e5,h=this.date2Str(new Date(s)),d=this.date2Str(new Date(c));return[h,d]}else{i=i==0?7:i;const u=24*60*60*1e3,s=r-(i-1)*u,c=r+(7-i)*u,h=this.date2Str(new Date(s)),d=this.date2Str(new Date(c));return[h,d]}},formatResultDate:function(e){let n=[...e.split("-")];return n[2]=ie.getNumTwoBit(Number(n[2])),n[3]=`${n[0]}-${n[1]}-${n[2]}`,n[4]=ie.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}},go={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"}},yo={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 Qs(e,n,a){return{props:{...we,...De,...go,...yo},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=Ie(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ve(t.computed(()=>u.value??l.readonly)),{emitEvent:c}=Ce({componentName:e,validateCheckEvents:["blur","update:modelValue"],get readonly(){return s.value},get disabled(){return i.value}},l.prop??o.attrs.name),{toLocaleRefs:h}=ve.useFoxI18n(n),d=h(l,["placeholder"]),y=t.ref(!1),x=he(l,"modelValue",null,c),b=t.computed(()=>R.value&&Array.isArray(x.value)&&x.value.length==2?x.value[0]:x.value),p=t.computed(()=>R.value?"longTermKey":"normalKey"),g=B=>{if(R.value&&l.type==="daterange"){const S=[...x.value];S[0]=B,x.value=S}else x.value=B;c("update:modelValue",x.value),c("change",x.value)},H=t.computed(()=>R.value&&l.type==="daterange"?"date":l.type),m=e,f=t.computed(()=>({[`${m}`]:!0,"is-long":R.value,"is-readonly":s.value,"is-disabled":i.value}));let T=he(l,"hintText"),M=t.ref(!1);const A=B=>{let W=B.target.value;y.value=!0,de(T.value)||(M.value=!0),c("focus",W,B)},F=B=>{setTimeout(()=>{M.value&&(M.value=!1),y.value=!1},0);let W=B.target.value;l.maxLength&&W.length>Number(l.maxLength)&&(W=W.slice(0,Number(l.maxLength))),c("blur",W,B)},z=()=>{c("clear","")},$=B=>{c("calendar-change",B)},I=(B,S,W)=>{c("panel-change",B,S,W)},w=B=>{c("visible-change",B)},K=Ee(t.computed(()=>l.longTermText),"longTermText",_e.Near),J=Ee(t.computed(()=>l.longTermActionLabel),"longTermActionLabel",_e.Near),L=Ee(t.computed(()=>l.longTermValue),"longTermValue",_e.Near),V=Ee(t.computed(()=>l.compatibleLongTermValue),"compatibleLongTermValue",_e.Near);let P=null;const R=t.ref(ce(l.longTerm)),Z=B=>{if(R.value=B,c("update:longTerm",B),B){if(P=x.value,l.type==="daterange"){const S=[];Array.isArray(L.value)?(S[0]=x.value?x.value[0]??L.value[0]:null,S[1]=L.value[1]??L.value[0]):(S[0]=x.value?x.value[0]??L.value:null,S[1]=R.value),S[0]||(S[0]=l.valueFormat?ie.format(new Date,l.valueFormat):new Date),S[1]||(S[1]=l.valueFormat?ie.format(new Date,l.valueFormat):new Date),x.value=S}else Array.isArray(L.value)?x.value=L.value[1]??L.value[0]:x.value=L.value,x.value||(x.value=l.valueFormat?ie.format(new Date,l.valueFormat):new Date);c("update:modelValue",x.value)}else{if(l.type==="daterange"){const S=[];S[0]=Array.isArray(x.value)?x.value[0]:x.value,Array.isArray(P)?S[1]=P[1]:S[1]=P,S[0]||(S[0]=l.valueFormat?ie.format(new Date,l.valueFormat):new Date),S[1]||(S[1]=l.valueFormat?ie.format(new Date,l.valueFormat):new Date),x.value=S}else x.value=P;c("update:modelValue",x.value),setTimeout(()=>{G()},100)}},U=ce(l.isLongTerm);if(U){const B=()=>{if(R.value===!0){if(P=x.value,l.type==="daterange"){const S=[x.value[0]];Array.isArray(L.value)?S[1]=L.value[1]??L.value[0]:S[1]=R.value,S[0]||(S[0]=l.valueFormat?ie.format(new Date,l.valueFormat):new Date),S[1]||(S[1]=l.valueFormat?ie.format(new Date,l.valueFormat):new Date),x.value=S}else x.value=L.value;c("update:modelValue",x.value)}else Pe(L.value,x.value)&&(R.value=!0)};B(),t.watch([()=>l.longTerm],([S])=>{R.value!==S&&B()}),t.watch([()=>x.value],([S])=>{let W=!1;if(l.type==="daterange"&&Array.isArray(S))try{let X=S[1];if(!X)return;if(S[0]==null){c("update:modelValue",[]);return}typeof X!="string"&&l.valueFormat&&(X=ie.format(X,l.valueFormat));let k=Array.isArray(L.value)?L.value[1]:L.value;(X===k||Array.isArray(V.value)&&V.value.findIndex(ee=>X==ee)!==-1)&&(W=!0)}catch(X){console.error(X)}R.value!==W&&(R.value=W)},{immediate:!0})}const j=t.computed(()=>({"fox-date-item__long":!0,"is-active":y.value})),te=t.ref(),D=t.ref(),E=/^\d+$/,q=(B,S)=>typeof l.flashFillThreshold=="function"?l.flashFillThreshold(B,S):E.test(B)&&B.length===l.flashFillThreshold,_=(B,S)=>{let W;if(typeof l.flashFillFormat=="function")W=l.flashFillFormat(B,S);else{const k=l.flashFillFormat??"YYYYMMDD";W=ie.parser(B,k)}const X=l.valueFormat??"YYYY-MM-DD";return ie.format(W,X)},N=B=>B?B.endsWith("range"):!1,Q=B=>{if(!B.target)return;const S=B.target.value??"";if(q(S,l.type)){const W=_(S,l.type);if(N(l.type)){const X=Array.isArray(x.value)?[...x.value]:[];X[0]=W,g(X)}else g(W)}},le=B=>{if(!B.target)return;const S=B.target.value??"";if(q(S,l.type)){const W=_(S,l.type);if(N(l.type)){const X=Array.isArray(x.value)?[...x.value]:[];X[1]=W,g(X)}else g(W)}},G=()=>{if(l.flashFill&&te.value&&te.value.$el)if(N(l.type)){const B=te.value.$el.querySelectorAll("input.el-range-input");B[0]&&B[0].addEventListener("input",Q),B[1]&&B[1].addEventListener("input",le)}else{const B=te.value.$el.querySelector("input.el-input__inner");B&&B.addEventListener("input",Q)}},C=()=>{if(l.flashFill&&te.value&&te.value.$el)if(N(l.type)){const B=te.value.$el.querySelectorAll("input.el-range-input");B[0]&&B[0].removeEventListener("input",Q),B[1]&&B[1].removeEventListener("input",le)}else{const B=te.value.$el.querySelector("input.el-input__inner");B&&B.removeEventListener("input",Q)}};return t.onMounted(G),t.onBeforeUnmount(C),be({focus:()=>{D?.value.focus()},blur:()=>{D?.value.blur()},handleOpen:()=>{D?.value.handleOpen()},handleClose:()=>{D?.value.handleClose()},setDisabled:B=>{r.value=B},setReadonly:B=>{u.value=B}}),()=>{const S={...o.attrs,key:p.value,type:H.value,ref:D,class:f.value,placeholder:d.placeholder.value,disabled:i.value,readonly:s.value,modelValue:b.value,valueFormat:l.valueFormat,format:l.format,"onUpdate:modelValue":g,onClear:z,onFocus:A,onBlur:F,onCalendarChange:$,onPanelChange:I,onVisibleChange:w},W={};o.slots["range-separator"]&&(W["range-separator"]=o.slots["range-separator"]),o.slots.cell&&(W.default=o.slots.cell);const X=[],k=t.h(O.ElDatePicker,S,W);X.push(k);const Y={default:()=>X};if(o.slots.default&&(Y.label=o.slots.default),o.slots.fixedTip&&(Y.fixedTip=o.slots.fixedTip),U){if(R.value){const oe=t.h("span",{class:["fox-date-item__long-splitor"]},["-"]),re=t.h("input",{class:["fox-date-item__long-text"],value:K.value,readonly:!0}),se={class:j.value},me=t.h("div",se,{default:()=>[oe,re]});X.push(me)}if(!s.value&&!i.value){const oe={label:J.value||K.value,disabled:s.value||i.value,modelValue:R.value,"onUpdate:modelValue":Z},re=t.h(O.ElCheckbox,oe),se=t.h("div",{class:{[`${m}__append`]:!0}},[re]);Y.append=()=>se}}const ae={...ke(l,go,yo),ref:te,class:{[`${m}__wrapper`]:!0,"has-append":U},hintText:T.value,hintVisible:M.value};return l.prop&&(ae.prop=`${l.prop}_item`),t.h(a,ae,Y)}}}}const{componentName:eu,create:tu,scope:nu}=ue("date-item"),pl=tu(Qs(eu,nu,Se)),lu=e=>!!(!e||typeof e=="string"&&e.length==0||Array.isArray(e)&&e.length==0),bl={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}},vl={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:{}}},po=2e3;let bo=po;const au=(e,n)=>({components:n,props:{...vl},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!==po&&(bo=Number(a.zIndex)),l("update:visible",!0),o.zIndex=++bo,a.destroyOnClose&&(o.showSlot=!0),l("open")},c=()=>{l("update:visible",!1),l("close"),a.destroyOnClose&&setTimeout(()=>{o.showSlot=!1},+a.duration*1e3)},h=p=>{l("click-pop",p)},d=p=>{p.stopPropagation(),l("click-close-icon",p),l("update:visible",!1)},y=p=>{l("click-overlay",p),a.closeOnClickOverlay&&l("update:visible",!1)},x=p=>{l("opend",p)},b=p=>{l("closed",p)};return t.watch(()=>a.visible,p=>{a.visible?s():c()}),t.watch(()=>a.closeable,p=>{o.closed=p}),{...t.toRefs(o),popStyle:i,transitionName:u,classes:r,onClick:h,onClickCloseIcon:d,onClickOverlay:y,onOpened:x,onClosed:b}}});let Bt=0;const vo="fox-overflow-hidden",wo=()=>tt?document.body:{classList:[]},ou=e=>[()=>{if(e())try{!Bt&&wo().classList.add(vo),Bt++}catch{}},()=>{if(e()&&Bt)try{Bt--,!Bt&&wo().classList.remove(vo)}catch{}}],ru={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:iu,create:su}=ue("overlay"),uu=su({props:{...ru},emits:["click","update:visible"],setup(e,{emit:n}){const[a,l]=ou(()=>e.lockScroll),o=t.computed(()=>({[iu]:!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 cu(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 pn=Ne(uu,[["render",cu]]),fu=["aria-labelledby"],du=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=[du],mu=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,c)=>(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,fu))}}),gu=["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),pu=[yu],bu=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,c)=>(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"},pu,14,gu))}}),vu=["aria-labelledby"],wu=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),Su=[wu],xu=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,c)=>(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"},Su,14,vu))}}),Tu=["aria-labelledby"],Cu=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),$u=[Cu],bn=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,c)=>(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"},$u,14,Tu))}}),ku=["aria-labelledby"],Du=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),Nu=[Du],So=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,c)=>(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"},Nu,14,ku))}}),Eu=["aria-labelledby"],Vu=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),Iu=[Vu],xo=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,c)=>(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"},Iu,14,Eu))}}),Ou=["aria-labelledby"],Au=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),Fu=[Au],Bu=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,c)=>(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"},Fu,14,Ou))}}),Mu=["aria-labelledby"],Ru=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),Lu=[Ru],_u=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,c)=>(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"},Lu,14,Mu))}}),Pu=["aria-labelledby"],qu=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),zu=[qu],ju=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,c)=>(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"},zu,14,Pu))}}),{componentName:Hu,create:Ku}=ue("popup"),Wu=Ku(au(Hu,{FoxOverLay:pn,Close:So}));function Yu(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 ut=Ne(Wu,[["render",Yu]]),To=39,Co=64,{create:Uu,scope:Gu}=ue("calendar-pane"),Xu=Uu({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:ie.getDay(0)},endDate:{type:String,default:ie.getDay(365)},firstDayOfWeek:{type:Number,default:0}},emits:["choose","update","close","select"],setup(e,{emit:n,slots:a}){const{toLocaleRefs:l,t:o}=ve.useFoxI18n(Gu),r=l(e,["title","confirmText","startText","endText","today"]),i=t.computed(()=>({height:`${To}px`})),u=t.computed(()=>({height:`${Co}px`})),s=JSON.parse(o("weekdays")),c=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),b=t.ref(0),p=t.computed(()=>f.monthsData.slice(f.defaultRange[0],f.defaultRange[1])),g=t.computed(()=>a.btn),H=t.computed(()=>a["top-info"]),m=t.computed(()=>a["bottom-info"]),f=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}),T=G=>G.split("-"),M=G=>ie.isEqual(f.currDate[0],G),A=G=>ie.isEqual(f.currDate[1],G),F=G=>f.currDate?.length>0?f.currDate?.some(C=>ie.isEqual(C,G)):!1,z=(G,C)=>C.curData[0]+"-"+C.curData[1]+"-"+ie.getNumTwoBit(+G.day),$=(G,C)=>{const B=z(G,C),{type:S}=e;return G.type=="curr"?ie.isEqual(f.currDate,B)||(S=="range"||S=="week")&&(M(B)||A(B))||S=="multiple"&&F(B)?`${f.dayPrefix}--active`:f.propStartDate&&ie.compareDate(B,f.propStartDate)||f.propEndDate&&ie.compareDate(f.propEndDate,B)?`${f.dayPrefix}--disabled`:(S=="range"||S=="week")&&Array.isArray(f.currDate)&&Object.values(f.currDate).length==2&&ie.compareDate(f.currDate[0],B)&&ie.compareDate(B,f.currDate[1])?`${f.dayPrefix}--choose`:null:`${f.dayPrefix}--disabled`},I=()=>{const{type:G}=e;if(G=="range"&&f.chooseData.length==2||G!="range"){let C=f.chooseData.slice(0);G=="week"&&(C={weekDate:[K(f.chooseData[0]),K(f.chooseData[1])]}),n("choose",C),e.poppable&&n("update")}},w=(G,C,B=!1)=>{if($(G,C)!=`${f.dayPrefix}--disabled`){const{type:S}=e;let[W,X]=C.curData,k=[...C.curData];if(k[2]=ie.getNumTwoBit(Number(G.day)),k[3]=`${k[0]}-${k[1]}-${k[2]}`,k[4]=ie.getWhatDay(+k[0],+k[1],+k[2]),S=="multiple")if(f.currDate?.length>0){let Y;f.currDate?.forEach((ee,ae)=>{ee==k[3]&&(Y=ae)}),B?f.chooseData.push([...k]):Y!==void 0?(f.currDate.splice(Y,1),f.chooseData.splice(Y,1)):(f.currDate.push(k[3]),f.chooseData.push([...k]))}else f.currDate=[k[3]],f.chooseData=[[...k]];else if(S=="range"){let Y=Object.values(f.currDate).length;Y==2||Y==0?f.currDate=[k[3]]:ie.compareDate(f.currDate[0],k[3])?Array.isArray(f.currDate)&&f.currDate.push(k[3]):Array.isArray(f.currDate)&&f.currDate.unshift(k[3]),f.chooseData.length==2||!f.chooseData.length?f.chooseData=[[...k]]:ie.compareDate(f.chooseData[0][3],k[3])?f.chooseData=[...f.chooseData,[...k]]:f.chooseData=[[...k],...f.chooseData]}else if(S=="week"){let Y=ie.getWeekDate(W,X,G.day,e.firstDayOfWeek);f.propStartDate&&ie.compareDate(Y[0],f.propStartDate)&&Y.splice(0,1,f.propStartDate),f.propEndDate&&ie.compareDate(f.propEndDate,Y[1])&&Y.splice(1,1,f.propEndDate),f.currDate=Y,f.chooseData=[ie.formatResultDate(Y[0]),ie.formatResultDate(Y[1])]}else f.currDate=k[3],f.chooseData=[...k];if(!B){let Y=f.chooseData;S=="week"&&(Y={weekDate:[K(f.chooseData[0]),K(f.chooseData[1])]}),n("select",Y),(e.isAutoBackFill||!e.poppable)&&I()}}},K=G=>{let[C,B,S]=G;return{date:G,monthWeekNum:ie.getMonthWeek(C,B,S,e.firstDayOfWeek),yearWeekNum:ie.getYearWeek(C,B,S,e.firstDayOfWeek)}},J=G=>{const C=f.monthsData[f.monthsData.length-1];let B=parseInt(C.curData[0]),S=parseInt(C.curData[1].toString().replace(/^0/,""));switch(G){case"prev":S==1&&(B-=1),S=S==1?12:--S;break;case"next":S==12&&(B+=1),S=S==12?1:++S;break}return[B+"",ie.getNumTwoBit(S),ie.getMonthDays(String(B),String(S))+""]},L=(G,C,B)=>{let{year:S,month:W}=B;return Array.from(Array(G),(X,k)=>({day:String(k+1),type:C,year:S,month:W}))},V=(G,C,B,S)=>{G=G-e.firstDayOfWeek;let{year:W,month:X}=B;return G>=7&&(G-=7),Array.from(Array(S),(Y,ee)=>({day:String(ee+1),type:C,year:W,month:X})).slice(S-G)},P=(G,C)=>{const B=ie.getMonthPreDay(+G[0],+G[1]);let S=Number(G[1])-1,W=Number(G[0]);S<=0&&(S=12,W+=1);const X=ie.getMonthDays(String(G[0]),String(G[1])),k=ie.getMonthDays(W+"",S+""),Y={year:G[0],month:G[1]},ee={curData:G,title:o("monthTitle",{year:Y.year,month:Y.month}),monthData:[...V(B,"prev",{month:String(S),year:String(W)},k),...L(X,"curr",Y)],cssHeight:0,cssScrollHeight:0},ae=ee.monthData.length>35?6:5;ee.cssHeight=To+Co*ae;let ne=0;f.monthsData.length>0&&(ne=f.monthsData[f.monthsData.length-1].cssScrollHeight+f.monthsData[f.monthsData.length-1].cssHeight),ee.cssScrollHeight=ne,(!f.endData||!ie.compareDate(`${f.endData[0]}-${f.endData[1]}-${ie.getMonthDays(f.endData[0],f.endData[1])}`,`${G[0]}-${G[1]}-${G[2]}`))&&f.monthsData.push(ee)},R=()=>{let G=e.startDate?e.startDate:ie.getDay(0),C=e.endDate?e.endDate:ie.getDay(365);f.propStartDate=G,f.propEndDate=C,f.startData=T(G),f.endData=T(C),(e.defaultValue||Array.isArray(e.defaultValue)&&e.defaultValue.length>0)&&(f.currDate=e.type!=="one"?[...e.defaultValue]:e.defaultValue);const B={year:Number(f.startData[0]),month:Number(f.startData[1])},S={year:Number(f.endData[0]),month:Number(f.endData[1])};let W=S.month-B.month;S.year-B.year>0&&(W=W+12*(S.year-B.year)),W<=0&&(W=1),P(f.startData);let X=1;do P(J("next"));while(X++<W);if(f.monthsNum=W,e.type=="range"&&Array.isArray(f.currDate))f.currDate.length>0&&(G&&ie.compareDate(f.currDate[0],G)&&f.currDate.splice(0,1,G),C&&ie.compareDate(C,f.currDate[1])&&f.currDate.splice(1,1,C),f.defaultData=[...T(f.currDate[0]),...T(f.currDate[1])]);else if(e.type=="multiple"&&Array.isArray(f.currDate)){if(f.currDate.length>0){let k=[],Y={};f.currDate.forEach(ee=>{G&&!ie.compareDate(ee,G)&&C&&!ie.compareDate(C,ee)&&(Object.hasOwnProperty.call(Y,ee)||(k.push(ee),Y[ee]=ee))}),f.currDate=[...k],f.defaultData=[...T(k[0])]}}else if(e.type=="week"&&Array.isArray(f.currDate)){if(f.currDate.length>0){let[k,Y,ee]=T(f.currDate[0]),ae=ie.getWeekDate(k,Y,ee,e.firstDayOfWeek);f.currDate=ae,G&&ie.compareDate(f.currDate[0],G)&&f.currDate.splice(0,1,G),C&&ie.compareDate(C,f.currDate[1])&&f.currDate.splice(1,1,C),f.defaultData=[...T(f.currDate[0]),...T(f.currDate[1])]}}else f.currDate&&(G&&ie.compareDate(f.currDate,G)?f.currDate=G:C&&!ie.compareDate(f.currDate,C)&&(f.currDate=C),f.defaultData=[...T(f.currDate)])};be({scrollToDate:G=>{ie.compareDate(G,f.propStartDate)?G=f.propStartDate:ie.compareDate(G,f.propEndDate)||(G=f.propEndDate);let C=T(G);f.monthsData.forEach((B,S)=>{if(B.title==o("monthTitle",{year:C[0],month:C[1]})&&h.value){let W=f.monthsData[S].cssScrollHeight-h.value.scrollTop;if(e.toDateAnimation){let X=0,k=setInterval(()=>{if(X++,h.value){let Y=W/10;h.value.scrollTop=h.value.scrollTop+Y}X>=10&&(clearInterval(k),h.value&&(h.value.scrollTop=f.monthsData[S].cssScrollHeight))},40)}else h.value.scrollTop=f.monthsData[S].cssScrollHeight}})},initPosition:()=>{h?.value&&(h.value.scrollTop=f.monthsData[f.currentIndex].cssScrollHeight)},doLayout:()=>{let G=0,C=0;f.defaultData.length>0&&f.monthsData.forEach((W,X)=>{W.title==o("monthTitle",{year:f.defaultData[0],month:f.defaultData[1]})&&(G=X),(e.type=="range"||e.type=="week")&&W.title==o("monthTitle",{year:f.defaultData[3],month:f.defaultData[4]})&&(C=X)}),te(f.monthsNum,G),f.currentIndex=G,f.yearMonthTitle=f.monthsData[f.currentIndex].title,f.defaultData.length>0&&(f.isRange?(w({day:f.defaultData[2],type:"curr"},f.monthsData[f.currentIndex],!0),w({day:f.defaultData[5],type:"curr"},f.monthsData[C],!0)):e.type=="week"?w({day:f.defaultData[2],type:"curr"},f.monthsData[f.currentIndex],!0):e.type=="multiple"?[...f.currDate].forEach(W=>{let X=T(W),k=f.currentIndex;f.monthsData.forEach((Y,ee)=>{Y.title==o("monthTitle",{year:X[0],month:X[1]})&&(k=ee)}),w({day:X[2],type:"curr"},f.monthsData[k],!0)}):w({day:f.defaultData[2],type:"curr"},f.monthsData[f.currentIndex],!0));let B=f.monthsData[f.monthsData.length-1],S=B.cssHeight+B.cssScrollHeight;Fn(()=>{h?.value&&d?.value&&x?.value&&(b.value=h.value.clientHeight,d.value.style.height=`${S}px`,h.value.scrollTop=f.monthsData[f.currentIndex].cssScrollHeight)}),f.avgHeight=Math.floor(S/(f.monthsNum+1))}});const te=(G,C)=>{G>=3?C>0&&C<G?f.defaultRange=[C-1,C+3]:C==0?f.defaultRange=[C,C+4]:C==G&&(f.defaultRange=[C-2,C+2]):f.defaultRange=[0,G+2];let B=f.monthsData[f.defaultRange[0]].cssScrollHeight;f.translateY=B},D=(G,C)=>(e.type=="range"||e.type=="week")&&G.type=="curr"&&$(G,C)=="fox-calendar__day--active",E=(G,C)=>D(G,C)&&M(z(G,C)),q=(G,C)=>f.currDate.length>=2&&A(z(G,C))?D(G,C):!1,_=()=>{if(f.currDate.length>=2)return ie.isEqual(f.currDate[0],f.currDate[1])},N=G=>{const C=`${G.year}-${G.month}-${Number(G.day)<10?"0"+G.day:G.day}`;return ie.isEqual(C,ie.date2Str(new Date))},Q=G=>{if(f.monthsData.length<=1)return;const C=G.target.scrollTop;let B=Math.floor(C/f.avgHeight);if(B==0)C>=f.monthsData[B+1].cssScrollHeight&&(B+=1);else if(B>0&&B<f.monthsNum-1)C>=f.monthsData[B+1].cssScrollHeight&&(B+=1),C<f.monthsData[B].cssScrollHeight&&(B-=1);else{const S=Math.round(C+b.value);S<f.monthsData[B].cssScrollHeight+f.monthsData[B].cssHeight&&C>f.monthsData[B-1].cssScrollHeight&&(B-=1),B+1<=f.monthsNum&&S>=f.monthsData[B+1].cssScrollHeight+f.monthsData[B+1].cssHeight&&(B+=1),B>=1&&C<f.monthsData[B-1].cssScrollHeight&&(B-=1)}f.currentIndex!==B&&(f.currentIndex=B,te(f.monthsNum,B)),f.yearMonthTitle=f.monthsData[B].title},le=()=>{f.chooseData.splice(0),f.monthsData.splice(0),R()};return R(),t.watch(()=>e.defaultValue,G=>{G&&e.poppable&&le()}),{dayTitleStyle:i,dayCellStyle:u,weeks:c,compConthsData:p,showTopBtn:g,topInfo:H,bottomInfo:m,rangeTip:_,mothsViewScroll:Q,getClass:$,isStartTip:E,isEndTip:q,chooseDay:w,isCurrDay:N,confirm:I,months:h,...t.toRefs(f),...t.toRefs(e),...r,monthsPanel:d,weeksPanel:y,viewArea:x}}}),Zu={class:"fox-calendar__header"},Ju={key:0,class:"fox-calendar__header-title"},Qu={key:1,class:"fox-calendar__header-slot"},ec={key:2,class:"fox-calendar__header-subtitle"},tc={class:"fox-calendar__weekdays",ref:"weeksPanel"},nc={class:"fox-calendar__panel",ref:"monthsPanel"},lc={class:"fox-calendar__days"},ac=["onClick"],oc={class:"fox-calendar__day-value"},rc={key:0,class:"fox-calendar__day-tips fox-calendar__day-tips--top"},ic={key:1,class:"fox-calendar__day-tips fox-calendar__day-tips--bottom"},sc={key:2,class:"fox-calendar__day-tips--curr"},uc={key:4,class:"fox-calendar__day-tip"},cc={key:0,class:"fox-calendar__footer"};function fc(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",Zu,[e.showTitle?(t.openBlock(),t.createElementBlock("view",Ju,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),e.showTopBtn?(t.openBlock(),t.createElementBlock("view",Qu,[t.renderSlot(e.$slots,"btn")])):t.createCommentVNode("",!0),e.showSubTitle?(t.openBlock(),t.createElementBlock("view",ec,t.toDisplayString(e.yearMonthTitle),1)):t.createCommentVNode("",!0),t.createElementVNode("view",tc,[(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",nc,[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",lc,[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,c)=>(t.openBlock(),t.createElementBlock("view",{key:c,class:t.normalizeClass(["fox-calendar__day",e.getClass(s,i)]),style:t.normalizeStyle(e.dayCellStyle),onClick:h=>e.chooseDay(s,i)},[t.createElementVNode("view",oc,[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",rc,[t.renderSlot(e.$slots,"top-info",{date:s.type=="curr"?s:""})])):t.createCommentVNode("",!0),e.bottomInfo?(t.openBlock(),t.createElementBlock("view",ic,[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",sc,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",uc,t.toDisplayString(e.endText),1)):t.createCommentVNode("",!0)],14,ac))),128))],2)])]))),128))],4)],512)],544),e.poppable&&!e.isAutoBackFill?(t.openBlock(),t.createElementBlock("view",cc,[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 dc=Ne(Xu,[["render",fc]]),{create:hc}=ue("calendar-picker"),mc=hc({components:{CalendarPane:dc,Popup:ut},props:{...bl},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)},c=()=>{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)})}),be({scrollToDate:s,initPosition:c});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 gc(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 vn=Ne(mc,[["render",gc]]),wl=(e,n)=>{let a;return et(e)?a=e:typeof e=="string"&&Ke(e)>0?a=ie.parser(e,n):a=new Date,a},bt=(e,n,a)=>(et(n)||(n=new Date),ie.format(n,a)),vt=e=>{let n=`${e.getFullYear()}`,a=`${e.getMonth()+1}`,l=`${e.getDate()}`,o=ie.date2Str(e),r=ie.getWhatDay(e.getFullYear(),e.getMonth()+1,e.getDate());return[n,a,l,o,r]},$o={...bl,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:{...we,...De,...$o},emits:["change","update:modelValue","blur","focus","clear","setValue"],setup(l,o){const r=t.ref(null),i=Ie(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ve(t.computed(()=>u.value??l.readonly)),{emitEvent:c}=Ce({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}=ve.useFoxI18n(n),d=h(l,["placeholder"]);let y=he(l,"hintText"),x=t.ref(!1);const b=t.ref(!1),p=t.computed(()=>l.type==="range"),g=t.reactive({startDate:null,endDate:null,startArray:[],endArray:[]}),H=()=>{g.startDate!==null&&(g.startDate=null,g.endDate=null,g.startArray=[],g.endArray=[])},m=(U,j="one",te="YYYY-MM-DD")=>{if(lu(U)){H();return}if(p.value&&Array.isArray(U)&&U.length==2){let D,E;typeof U[0]=="string"?(D=wl(U[0],te),E=wl(U[1],te)):(D=U[0],E=U[1]);let q=vt(D),_=vt(E);(g.startDate===null||g.startDate.getTime()!==D.getTime()||g.endDate?.getTime()!==E.getTime())&&(g.startDate=D,g.startArray=q,g.endDate=E,g.endArray=_)}else{let D;typeof U=="string"?D=wl(U,te):D=U;let E=vt(D);(g.startDate===null||g.startDate.getTime()!==D.getTime())&&(g.startDate=D,g.startArray=E)}};m(l.modelValue,l.type,l.valueFormat),t.watch(()=>l.modelValue,U=>{m(U,l.type,l.valueFormat),c("setValue",U)});const f=t.computed(()=>{if(g.startDate===null)return"";if(p.value){let U=bt(l,g.startDate,l.format),j=bt(l,g.endDate,l.format);return`${U} ${l.rangeSeparator} ${j}`}else{let U=bt(l,g.startDate,l.format);return l.showWeek&&(U=`${U} ${g.startArray[4]}`),U}}),T=t.computed(()=>{if(g.startDate===null)return null;if(p.value){let U=ie.date2Str(g.startDate),j=ie.date2Str(g.endDate??new Date);return[U,j]}else return ie.date2Str(g.startDate)}),M="fox-input-item",A=t.computed(()=>({[M]:!0,[`${M}__disabled`]:i.value})),F=Ee(t.computed(()=>l.textAlign),"textAlign"),z=t.computed(()=>({textAlign:F.value??"right"})),$=t.ref(!1),I=()=>{s.value||i.value||($.value=!0)},w=()=>{$.value=!1},K=U=>{$.value=U},J=U=>{if(U){if(p.value&&Array.isArray(U)){let j=U[0],te=ge(j[0]),D=ge(j[1]),E=ge(j[2]),q=new Date(te,D-1,E),_=U[1];te=ge(_[0]),D=ge(_[1]),E=ge(_[2]);let N=new Date(te,D-1,E);if(g.startDate=q,g.startArray=vt(q),g.endDate=N,g.endArray=vt(N),l.valueFormat){let Q=bt(l,q,l.valueFormat),le=bt(l,N,l.valueFormat);c("update:modelValue",[Q,le],{})}else c("update:modelValue",[q,N],{})}else{let j=U,te=ge(j[0]),D=ge(j[1]),E=ge(j[2]),q=new Date(te,D-1,E);if(g.startDate=q,g.startArray=vt(q),l.valueFormat){let _=bt(l,q,l.valueFormat);c("update:modelValue",_,{})}else c("update:modelValue",q,{})}c("change",U,{})}},L=U=>{let te=U.target.value;b.value=!0,c("focus",te,U)},V=U=>{setTimeout(()=>{b.value=!1},0);let te=U.target.value;l.maxLength&&te.length>Number(l.maxLength)&&(te=te.slice(0,Number(l.maxLength))),c("blur",te,U)},P=t.computed(()=>Ke(l.unit)>0),R=U=>{H(),c("update:modelValue",null,U),c("change","",U),c("clear","")},Z=t.ref();return be({showPicker:I,hidePicker:w,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:A.value,style:z.value,type:"text",maxlength:l.maxLength,placeholder:d.placeholder.value,readonly:!0,clearable:l.clearable,value:f.value,onClick:I,onFocus:L,onBlur:V,onClear:R},j={};o.slots.prepend&&(j.prepend=o.slots.prepend),o.slots.append&&(j.append=o.slots.append),o.slots.prefix?j.prefix=o.slots.prefix:j.prefix=()=>t.h(O.ElIcon,{},{default:()=>t.h($e.Calendar)}),o.slots.suffix?j.suffix=o.slots.suffix:P.value&&(j.suffix=()=>[l.unit]);const te=[],D=t.h(O.ElInput,U,j);te.push(D);const E={default:()=>te};o.slots.default&&(E.label=o.slots.default),o.slots.fixedTip&&(E.fixedTip=o.slots.fixedTip);const q=kt(l,bl);q.visible=$.value,q["onUpdate:visible"]=K,q["default-value"]=T.value,q.onChoose=J;const _={};if(o.slots.btn){const C=o.slots.btn();_.btn=()=>C}o.slots.day&&(_.day=o.slots.day),o.slots.topInfo&&(_.topInfo=o.slots.topInfo),o.slots.bottomInfo&&(_.bottomInfo=o.slots.bottomInfo);const N=t.h(vn,q,_);E.hide=()=>[N];const le={...ke(l,$o),hintText:y.value,hintVisible:x.value};return l.prop&&(le.prop=`${l.prop}_item`),t.h(a,le,E)}}}}const{componentName:pc,create:bc,scope:vc}=ue("calendar-item"),Sl=bc(yc(pc,vc,Se)),ko={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1},placeholder:{type:[String],required:!1}};function wc(e,n,a){return{props:{...we,...De,...ko},emits:["change","update:modelValue","blur","focus","clear","visible-change","setValue"],setup(l,o){const r=t.ref(null),i=Ie(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ve(t.computed(()=>u.value??l.readonly)),{emitEvent:c}=Ce({componentName:e,get readonly(){return s.value},get disabled(){return i.value}},l.prop??o.attrs.name),{toLocaleRefs:h}=ve.useFoxI18n(n),d=h(l,["placeholder"]),y=t.ref(!1),x=he(l,"modelValue",null,c),b=e,p=t.computed(()=>({[b]:!0})),g=z=>{x.value=z,c("update:modelValue",z),c("change",z)};let H=he(l,"hintText"),m=t.ref(!1);const f=z=>{let I=z.target.value;y.value=!0,de(H.value)||(m.value=!0),c("focus",I,z)},T=z=>{setTimeout(()=>{m.value&&(m.value=!1),y.value=!1},0);let I=z.target.value;l.maxLength&&I.length>Number(l.maxLength)&&(I=I.slice(0,Number(l.maxLength))),c("blur",I,z)},M=()=>{c("clear","")},A=z=>{c("visible-change",z)},F=t.ref();return be({focus:()=>{F?.value.focus()},blur:()=>{F?.value.blur()},handleOpen:()=>{F?.value.handleOpen()},handleClose:()=>{F?.value.handleClose()},setDisabled:z=>{r.value=z},setReadonly:z=>{u.value=z}}),()=>{const $={...o.attrs,ref:F,class:p.value,placeholder:d.placeholder.value,disabled:i.value,readonly:s.value,modelValue:x.value,"onUpdate:modelValue":g,onClear:M,onFocus:f,onBlur:T,onVisibleChange:A},I={},w=[],K=t.h(O.ElTimePicker,$,I);w.push(K);const J={default:()=>w};o.slots.default&&(J.label=o.slots.default),o.slots.fixedTip&&(J.fixedTip=o.slots.fixedTip);const V={...ke(l,ko),hintText:H.value,hintVisible:m.value};return l.prop&&(V.prop=`${l.prop}_item`),t.h(a,V,J)}}}}const{componentName:Sc,create:xc,scope:Tc}=ue("time-item"),xl=xc(wc(Sc,Tc,Se)),Do={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1},placeholder:{type:[String],required:!1}};function Cc(e,n,a){return{props:{...we,...De,...Do},emits:["change","update:modelValue","blur","focus","clear","setValue"],setup(l,o){const r=t.ref(null),i=Ie(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ve(t.computed(()=>u.value??l.readonly)),{emitEvent:c}=Ce({componentName:e,get readonly(){return s.value},get disabled(){return i.value}},l.prop??o.attrs.name),{toLocaleRefs:h}=ve.useFoxI18n(n),d=h(l,["placeholder"]),y=t.ref(!1),x=he(l,"modelValue",null,c),b=e,p=t.computed(()=>({[b]:!0})),g=F=>{x.value=F,c("update:modelValue",F),c("change",F)};let H=he(l,"hintText"),m=t.ref(!1);const f=F=>{let $=F.target.value;y.value=!0,de(H.value)||(m.value=!0),c("focus",$,F)},T=F=>{setTimeout(()=>{m.value&&(m.value=!1),y.value=!1},0);let $=F.target.value;l.maxLength&&$.length>Number(l.maxLength)&&($=$.slice(0,Number(l.maxLength))),c("blur",$,F)},M=()=>{c("clear","")},A=t.ref();return be({focus:()=>{A?.value.focus()},blur:()=>{A?.value.blur()},handleOpen:()=>{A?.value.handleOpen()},handleClose:()=>{A?.value.handleClose()},setDisabled:F=>{r.value=F},setReadonly:F=>{u.value=F}}),()=>{const z={...o.attrs,ref:A,class:p.value,placeholder:d.placeholder.value,disabled:i.value,readonly:s.value,modelValue:x.value,"onUpdate:modelValue":g,onClear:M,onFocus:f,onBlur:T},$={},I=[],w=t.h(O.ElTimeSelect,z,$);I.push(w);const K={default:()=>I};o.slots.default&&(K.label=o.slots.default),o.slots.fixedTip&&(K.fixedTip=o.slots.fixedTip);const L={...ke(l,Do),hintText:H.value,hintVisible:m.value};return l.prop&&(L.prop=`${l.prop}_item`),t.h(a,L,K)}}}}const{componentName:$c,create:kc,scope:Dc}=ue("time-select-item"),Tl=kc(Cc($c,Dc,Se));function No(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 Eo(e,n,a=20){if(typeof n=="string"&&(n=ge(n)),n==1||n==-1)return`${e}`;if(n==0)return"0";if(n>0){let l=va(`${e}`,`${n}`);return No(l)}else{let l=zn(`${e}`,wa(`${n}`),20);return No(l)}}function Nc(e,n=-1,a=!1,l=3,o=","){return Kt(e,n,a,l,o)}function Vo(e,n,a,l,o=!0){if(e==="")return"";if(e=Sa(e),n=ge(n),n==1)return e;if(l)e=Eo(e,n),a&&(e=="0"&&o?e=`${e}.`.padEnd(ge(a)+2,"0"):e=zn(e,1,ge(a)));else{let r=-1*n;e=Eo(e,r)}return e}function Io(e,n){let a={maxValid:!0,minValid:!0,message:""};if(n.min!==void 0){let l=ce(n.minInclude),o=jn(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=ce(n.maxInclude),o=jn(e,n.max);(l&&o==1||!l&&(o==0||o==1))&&(a.maxValid=!1)}return a}const Oo={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 Ec(e,n,a){return{props:{...we,...De,...Oo},emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(l,o){const r=t.ref(null),i=Ie(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ve(t.computed(()=>u.value??l.readonly)),{emitEvent:c}=Ce({componentName:e,get readonly(){return s.value},get disabled(){return i.value}},l.prop??o.attrs.name),h=t.ref(!1),d=he(l,"modelValue",null,c),y=t.ref("");t.watch([()=>d.value,()=>l.rates,()=>l.precision],([V,P,R])=>{if(de(V)){y.value="";return}const Z=Vo(V,P,R,!1);y.value!==Z&&(y.value=Z)},{immediate:!0});const x=t.computed(()=>{let V="";return h.value&&(V=y.value),V}),{t:b}=ve.useFoxI18n(n),p=t.computed(()=>{let V=l.placeholder??"";return!h.value&&!de(y.value)?V=Nc(y.value,l.decimalLength,l.autoPadding,l.digits,l.separator):V=b(["placeholder",V]),V}),g=e,H=t.computed(()=>({[g]:!0,[`${g}__disabled`]:i.value,[`${g}__placeholder`]:y.value.length>0})),m=Ee(t.computed(()=>l.textAlign),"textAlign");t.computed(()=>h.value?{textAlign:"left"}:{textAlign:m.value??"right"});const f=t.ref(""),T=t.computed(()=>{let V=f.value;return de(V)&&(V=l.errorTip??""),V}),M=t.ref(""),A=t.ref(!1),F=(V,P)=>{if(V=`${V}`,de(V)){y.value="",d.value="",P.forEach(R=>{c(R,"")}),ce(l.showTip)&&A.value&&(A.value=!1);return}if(V.length>=2){let R=V;if(R.charAt(0)=="-"&&(R=R.substring(1)),R.length>=2&&R.charAt(0)=="0"&&R.charAt(1)!="."){t.triggerRef(y);return}}if(V!="-"){if(!Ea(V)){t.triggerRef(y);return}if(l.integerLength!=-1&&Va(V)>Number(l.integerLength)){t.triggerRef(y);return}if(l.decimalLength&&l.decimalLength!=-1&&Ia(V)>Number(l.decimalLength)){t.triggerRef(y);return}let R=Io(V,l);if(R.maxValid===!1){f.value=R.message,t.triggerRef(y);return}}else if(l.min!=null&&ge(l.min)>=0){t.triggerRef(y);return}M.value=V,ce(l.showTip)&&(A.value=V.length>0),y.value=V,d.value=Vo(V,l.rates,l.precision,!0),P.forEach(R=>{c(R,d.value)})},z=V=>{F(V,["update:modelValue","input"])},$=V=>{F(V,["update:modelValue","change"])},I=V=>{if(h.value=!0,ce(l.showTip)){let P=y.value;de(P)&&(P=l.hintText),de(P)||(M.value=P,A.value=!0)}f.value="",c("focus",d.value,V)},w=V=>{if(setTimeout(()=>{h.value=!1,ce(l.showTip)&&A.value===!0&&(A.value=!1)},0),!de(y.value)){let P=Io(y.value,l);if(P.minValid===!1||P.maxValid===!1){f.value=P.message;return}}c("update:modelValue",d.value,V),c("blur",d.value,V)},K=()=>{c("clear","")},J=t.computed(()=>Ke(l.unit)>0),L=t.ref();return be({focus:()=>{L?.value.focus()},blur:()=>{L?.value.blur()},select:()=>{L?.value.select()},setDisabled:V=>{r.value=V},setReadonly:V=>{u.value=V}}),()=>{const P={...Ye(o.attrs),ref:L,class:H.value,type:"digit",maxlength:l.maxLength,placeholder:p.value,clearable:l.clearable,disabled:i.value,readonly:s.value,modelValue:x.value,"adjust-position":l.adjustPosition,"always-system":l.alwaysSystem,onClear:K,onInput:z,onChange:$,onFocus:I,onBlur:w},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:J.value&&(R.suffix=()=>[l.unit]);const Z=[],U=t.h(O.ElInput,P,R);Z.push(U);const j={default:()=>Z};o.slots.default&&(j.label=o.slots.default),o.slots.fixedTip&&(j.fixedTip=o.slots.fixedTip);const D={...ke(l,Oo),errorTip:T.value,hintText:M.value,hintVisible:A.value,hintType:"number"};return l.prop&&(D.prop=`${l.prop}_item`),t.h(a,D,j)}}}}const{componentName:Vc,create:Ic,scope:Oc}=ue("money-item"),Cl=Ic(Ec(Vc,Oc,Se)),Ao={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 Ac(e,n,a){return{props:{...we,...De,...Ao},emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(l,o){const r=t.ref(null),i=Ie(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ve(t.computed(()=>u.value??l.readonly)),{emitEvent:c}=Ce({componentName:e,get readonly(){return s.value},get disabled(){return i.value}},l.prop??o.attrs.name),{toLocaleRefs:h}=ve.useFoxI18n(n),d=h(l,["placeholder"]),y=t.ref(!1),x=he(l,"modelValue",null,c),b=e,p=t.computed(()=>({[b]:!0,[`${b}__append`]:z.value})),g=t.computed(()=>({[`${b}__unit`]:!0})),H=I=>{x.value=I,c("update:modelValue",I),c("input",I)},m=I=>{c("change",I)};let f=he(l,"hintText"),T=t.ref(!1);const M=I=>{let K=I.target.value;y.value=!0,de(f.value)||(T.value=!0),c("focus",K,I)},A=I=>{setTimeout(()=>{T.value&&(T.value=!1),y.value=!1},0);let K=I.target.value;l.maxLength&&K.length>Number(l.maxLength)&&(K=K.slice(0,Number(l.maxLength))),c("blur",K,I)},F=()=>{c("clear","")},z=t.computed(()=>Ke(l.unit)>0),$=t.ref();return be({focus:()=>{$?.value.focus()},blur:()=>{$?.value.blur()},setDisabled:I=>{r.value=I},setReadonly:I=>{u.value=I}}),()=>{const w={...Ye(o.attrs),ref:$,class:p.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:F,onChange:m,onInput:H,onFocus:M,onBlur:A},K={},J=[],L=t.h(O.ElInputNumber,w,K);J.push(L);const V={default:()=>J};o.slots.default&&(V.label=o.slots.default),o.slots.fixedTip&&(V.fixedTip=o.slots.fixedTip);const R={...ke(l,Ao),hintText:f.value,hintVisible:T.value};if(l.prop&&(R.prop=`${l.prop}_item`),o.slots.append)V.append=o.slots.append;else if(z.value){const U={class:g.value},j=t.h("div",U,[l.unit]);V.append=()=>j}return t.h(a,R,V)}}}}const{componentName:Fc,create:Bc,scope:Mc}=ue("input-number-item"),$l=Bc(Ac(Fc,Mc,Se));function Qe(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function ct(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function Rc(e,n){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?n[e.childrenKey]||null:n.children??null}let Lc=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=Fe(this.proxy,n);return r===null?(console.error(`${n} component not found api function`),[]):(Le(l)&&t.isReactive(l)&&(l=t.toRaw(l)),await r(a,l,o))}};function _c(){const e=t.getCurrentInstance();return new Lc(e.proxy)}function kl(e,n,a){const l=Qe(e,n),o=Qe(e,a);if(l!==o)return!1;const r=ct(e,n),i=ct(e,a);return r===i}function Fo(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=Fo(e,u,a,l);o.push(s)}else{let s=!1;for(let c of r){if(a==="text")s=Qe(e,c)===u;else if(a==="item")s=kl(e,c,u);else{let h=ct(e,c);h==null&&(h=Qe(e,c)),s=h===u}if(s){o.push(c),r=Rc(e,c);break}}if(!s)break}}return o}function Pc(e){return{text:e,value:e}}const 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},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 qc(e,n,a){return{props:{...we,...De,...Bo},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=Ie(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ve(t.computed(()=>u.value??l.readonly)),{emitEvent:c}=Ce({componentName:e,validateCheckEvents:["blur","update:modelValue","selected"],get readonly(){return s.value},get disabled(){return i.value}},l.prop??o.attrs.name),{toLocaleRefs:h}=ve.useFoxI18n(n),d=h(l,["placeholder"]),y=t.ref(null),x=t.ref([]),b=t.computed(()=>x.value?x.value.map(B=>Array.isArray(B)?B.map(W=>Qe(l,W)).join(" "):Qe(l,B)).join(" "):""),p=(C,B,S,W=!0)=>{if(l.props&&l.props.lazy===!0||l.lazy===!0){if(y.value===C)return;y.value=C;const ee=t.toRaw(C);if(W){const ae=G?.value.getCheckedNodes();if(ae)if(l.multiple){const ne=[];ae.forEach(oe=>{const se=(oe.pathNodes??[]).map(me=>me.data);ne.push(se)}),c("update:pathNodes",ne)}else{const oe=(ae[0]?.pathNodes??[]).map(re=>re.data);c("update:pathNodes",oe)}c("update:modelValue",ee),c("change",ee)}return}const X=Fo(l,C,B,S);if(X===null){if(x.value.length===0||x.value===null)return;x.value=[],y.value=null,W&&(c("update:pathNodes",[]),c("update:modelValue",null),c("change",null));return}const k=X[X.length-1];if(K.value.checkStrictly!==!0&&k&&!Array.isArray(k)&&Array.isArray(k.children)&&k.children.length>0){const ee=[];X.forEach(ae=>{const ne=`${Qe(l,ae)}`;ee.push(ne)}),ee.length>0&&(I.value=ee.join(l.separator))}else I.value=null;let Y=!0;if(X.length!==x.value.length)Y=!1;else for(let ee=0;ee<X.length;ee++){const ae=X[ee],ne=x.value[ee];if(Array.isArray(ae)){if(!Array.isArray(ne)||ae.length!==ne.length)Y=!1;else for(let oe=0;oe<ae.length;oe++)if(!kl(l,ae[oe],ne[oe])){Y=!1;break}}else kl(l,ae,ne)||(Y=!1);if(!Y)break}if(!Y){x.value=X;let ee=[],ae=[];X.forEach(oe=>{if(Array.isArray(oe)){let re=[],se=[];for(let me of oe)re.push(ct(l,me)),l.valueType==="text"?se.push(Qe(l,me)):l.valueType==="item"?se.push(me):se.push(ct(l,me));ee.push(re),ae.push(se)}else ee.push(ct(l,oe)),l.valueType==="text"?ae.push(Qe(l,oe)):l.valueType==="item"?ae.push(oe):ae.push(ct(l,oe))}),y.value=ee;const ne=t.toRaw(ae);W&&(c("update:pathNodes",X),c("update:modelValue",ne),c("change",ne))}},g=t.ref([]),H=Ee(t.computed(()=>l.appearLoad),"appearLoad",_e.Near,C=>ce(C)),m=_c(),f=async(C,B)=>{if(C){const S=await m.load("cascader",C,B);if(S.length>0)if(typeof S[0]=="string"){let k=S.map(Y=>Pc(Y));g.value=k}else g.value=S}};t.watch([()=>l.source,()=>l.params],async([C,B])=>{f(C,B)},{immediate:!(H.value||l.lazy)});let T=!1;const M=()=>{T||(T=!0,f(l.source,l.params))};t.watch([()=>g.value,()=>l.modelValue],([C,B])=>{p(B,l.valueType,C,!1),c("setValue",B)}),l.lazy&&p(l.modelValue,"value",[],!1);let A=null,F=t.ref(!1);typeof l.remoteMethod=="function"&&(A=async C=>{if(C!=null){F.value=!0;try{const B=await l.remoteMethod(C);g.value=B}catch(B){console.error(B)}F.value=!1}});const z=t.ref(!1),$=e,I=t.ref(null),w=t.computed(()=>({[$]:!0,"is-incomplete":I.value&&I.value.length>0})),K=t.computed(()=>{let C={label:l.textKey,value:l.valueKey,children:l.childrenKey};return l.multiple===!0&&(C.multiple=!0),l.props&&Object.assign(C,l.props),l.lazy&&(C.lazy=!0,typeof l.lazyLoad=="function"?C.lazyLoad=l.lazyLoad:C.lazyLoad=async(B,S)=>{const W=await m.load("cascader",l.source,B,!0);if(B?.config?.checkStrictly!==!0&&Array.isArray(y.value)&&y.value.length===B.level){const X=B.pathLabels??[];let k=[];X.forEach(Y=>{Y&&k.push(Y)}),k.length>0&&(I.value=k.join(l.separator))}else I.value=null;S(W)}),C}),J=C=>{l.allowCreate?(c("update:modelValue",C),c("change",C),y.value=C):p(C,"value",g.value,!0)};let L=he(l,"hintText"),V=t.ref(!1);const P=C=>{let S=C.target.value;z.value=!0,de(L.value)||(V.value=!0),c("focus",S,C)},R=C=>{setTimeout(()=>{V.value&&(V.value=!1),z.value=!1},0);let S=C.target.value;l.maxLength&&S.length>Number(l.maxLength)&&(S=S.slice(0,Number(l.maxLength))),_.value||c("blur",S,C)},Z=()=>{c("clear","")},U=t.ref(!1);let j=null;const te=()=>{l.showTooltip&&U.value===!1&&(j&&clearTimeout(j),j=setTimeout(()=>{U.value=!0},150))},D=()=>{j&&(clearTimeout(j),U.value=!1,j=null)},E=t.computed(()=>U.value||V.value),q=t.computed(()=>U.value?b.value:L.value),_=t.ref(!1),N=C=>{_.value=C,c("visible-change",C),C||c("selected")},Q=C=>{c("remove-tag",C)},le=C=>{c("expand-change",C)},G=t.ref();return be({focus:()=>{G?.value.focus()},blur:()=>{G?.value.blur()},getCheckedNodes:()=>G?.value.getCheckedNodes(),setDisabled:C=>{r.value=C},setReadonly:C=>{u.value=C}}),()=>{const B={...o.attrs,ref:G,class:w.value,props:K.value,clearable:l.clearable,placeholder:I.value||d.placeholder.value,disabled:i.value||s.value,options:g.value,modelValue:y.value,separator:l.separator,onClear:Z,onChange:J,onFocus:P,onBlur:R,onVisibleChange:N,onRemoveTag:Q,expandChange:le};typeof A=="function"&&(B["remote-method"]=A,B.loading=F.value);const S={};o.slots.option&&(S.default=o.slots.option),o.slots.empty&&(S.empty=o.slots.empty);const W=[],X=t.h(O.ElCascader,B,S);W.push(X);const k={default:()=>W};o.slots.default&&(k.label=o.slots.default),o.slots.fixedTip&&(k.fixedTip=o.slots.fixedTip);const ee={...ke(l,Bo),hintText:q.value,hintVisible:E.value,onMouseover:te,onMouseleave:D};return l.prop&&(ee.prop=`${l.prop}_item`),H.value&&!l.lazy&&(ee["appear-listen"]=!0,ee.onAppear=M),t.h(a,ee,k)}}}}const{componentName:zc,create:jc,scope:Hc}=ue("cascader-item"),Dl=jc(qc(zc,Hc,Se)),Mo={modelValue:{type:[String,Object],required:!1},clearable:{type:[Boolean,String],default:!0},unit:{type:[String],required:!1},placeholder:{type:[String],required:!1}};function Kc(e,n,a){return{props:{...we,...De,...Mo},emits:["change","update:modelValue","blur","focus","clear","input","select","setValue"],setup(l,o){const r=t.ref(null),i=Ie(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ve(t.computed(()=>u.value??l.readonly)),{emitEvent:c}=Ce({componentName:e,get readonly(){return s.value},get disabled(){return i.value}},l.prop??o.attrs.name),{toLocaleRefs:h}=ve.useFoxI18n(n),d=h(l,["placeholder"]),y=t.ref(!1),x=he(l,"modelValue",null,c),b=e,p=t.computed(()=>({[b]:!0})),g=$=>{x.value=$,c("update:modelValue",$),c("input",$)},H=$=>{c("change",$)},m=$=>{c("select",$)};let f=he(l,"hintText"),T=t.ref(!1);const M=$=>{let w=$.target.value;y.value=!0,de(f.value)||(T.value=!0),c("focus",w,$)},A=$=>{setTimeout(()=>{T.value&&(T.value=!1),y.value=!1},0);let w=$.target.value;l.maxLength&&w.length>Number(l.maxLength)&&(w=w.slice(0,Number(l.maxLength))),c("blur",w,$)},F=()=>{c("clear","")},z=t.ref();return be({focus:()=>{z?.value.focus()},blur:()=>{z?.value.blur()},select:()=>{z?.value.select()},setDisabled:$=>{r.value=$},setReadonly:$=>{u.value=$}}),()=>{const I={...o.attrs,ref:z,class:p.value,placeholder:d.placeholder.value,clearable:l.clearable,disabled:i.value,readonly:s.value,modelValue:x.value,onClear:F,onChange:H,onInput:g,onFocus:M,onBlur:A,onSelect:m},w={};o.slots.prepend&&(w.prepend=o.slots.prepend),o.slots.append&&(w.append=o.slots.append),o.slots.prefix&&(w.prefix=o.slots.prefix),o.slots.suffix&&(w.suffix=o.slots.suffix),o.slots.option&&(w.default=o.slots.option);const K=[],J=t.h(O.ElAutocomplete,I,w);K.push(J);const L={default:()=>K};o.slots.default&&(L.label=o.slots.default),o.slots.fixedTip&&(L.fixedTip=o.slots.fixedTip);const P={...ke(l,Mo),hintText:f.value,hintVisible:T.value};return l.prop&&(P.prop=`${l.prop}_item`),t.h(a,P,L)}}}}const{componentName:Wc,create:Yc,scope:Uc}=ue("autocomplete-item"),Nl=Yc(Kc(Wc,Uc,Se));function Gc(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 c=0;s&&c<r.length;c++){let h=r[c],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 c=n[s],h=r[s];const d=c.find(y=>y[l]===h);if(!d)break;i.push(d[a])}else{let s=n;for(let c=0;s&&c<r.length;c++){let h=r[c],d=s.find(y=>y[l]===h);if(!d)break;i.push(d[a]),s=d[o]}}return i}let Xc=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=Fe(this.proxy,n);return o===null?(console.error(`${n} component not found api function`),[]):(Le(l)&&t.isReactive(l)&&(l=t.toRaw(l)),await o(a,l))}};function Zc(){const e=t.getCurrentInstance();return new Xc(e.proxy)}const Ro={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 Jc(e,n){return{props:{...Ro},setup(a,{attrs:l,slots:o}){const r=Zc(),i=t.ref([]);t.watch([()=>a.source,()=>a.params],async([c,h])=>{i.value=await r.load(a.sourceType,c,h)},{immediate:!0});const u=t.computed(()=>{if(!Array.isArray(i.value)||i.value.length===0)return"";let c=Gc(a.modelValue,i.value,a.textKey,a.valueKey,a.childrenKey);return c.length==0?a.emptyText??"":c.length===1?a.optionType=="item"?`${a.modelValue}${a.separator}${c[0]}`:c[0]:c.join(a.separator)}),s=a.resolveTag?t.resolveComponent(a.tag):a.tag;return()=>{const c={...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,c,{default:()=>u.value}):t.h(s,c,u.value)}}}}const{componentName:Dy,create:Qc,scope:Ny}=ue("mapping"),Mt=Qc(Jc());function ef(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 c=r.substring(u+1,s);if(/^\d+$/.test(c)){let h=parseInt(c);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 tf(e,n){return{props:{...Ro},setup(a,{attrs:l,slots:o}){return()=>{const r={default:i=>{const u=ef(i.row,i.column.property);return o.default?t.h(Mt,{...a,modelValue:u},{default:o.default}):t.h(Mt,{...a,modelValue:u})}};for(let i in o)i!=="default"&&(r[i]=o[i]);return t.h(O.ElTableColumn,{...l},r)}}}}const{componentName:Ey,create:nf,scope:Vy}=ue("table-mapping-column"),El=nf(tf()),lf=Symbol.for("TableStateKey");function Lo(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 c=r.substring(u+1,s);if(/^\d+$/.test(c)){let h=parseInt(c);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:{},setup(a,{attrs:l}){const o=t.inject(lf,{});return()=>{const r=o.currentRow?o.currentRow.value:null,i={default:u=>{const s=Lo(u.row,u.column.property),c=r?Lo(r,u.column.property):null,h=s===c,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(O.ElTableColumn,{...l},i)}}}}const{componentName:Iy,create:of,scope:Oy}=ue("table-radio-column"),Vl=of(af()),rf={},sf={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 uf(e,n){return t.openBlock(),t.createElementBlock("svg",sf,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 cf=Ne(rf,[["render",uf]]),{componentName:Ay,create:ff,scope:Fy}=ue("table-setting"),df={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=ff({components:{FoxPopover:O.ElPopover,FoxCheckbox:O.ElCheckbox,FoxCheckboxGroup:O.ElCheckboxGroup,FoxButton:O.ElButton,FoxIcon:O.ElIcon,DragIcon:cf,Download:$e.Download,RefreshLeft:$e.RefreshLeft},props:{...df},setup(e,{emit:n,attrs:a}){let l=[];const o=t.ref([]),r=t.computed(()=>o.value.filter(N=>N.label===""||N.type?!1:N.fixed===""||N.fixed===!0||N.fixed==="left")),i=t.computed(()=>o.value.filter(N=>N.label===""||N.type?!1:N.fixed==="right")),u=t.computed(()=>o.value.filter(N=>!(N.label===""||N.type||N.fixed!==void 0))),s=t.computed(()=>(r.value.length>0||i.value.length>0)&&u.value.length>0),c=t.computed(()=>r.value.length>0),h=t.computed(()=>i.value.length>0),d=N=>N.length>1,y=(N,Q)=>{Array.isArray(N)&&Array.isArray(Q)&&N.forEach(C=>{Q.some(B=>B.prop===C.prop?(C.label=B.label,!0):!1)});const le=[];o.value=N.map((C,B)=>(!(C.label===""||C.type)&&C.visible!==!1&&le.push(C.prop),{...C,sortIndex:B})),u.value.length+r.value.length+i.value.length===le.length?m.value=!0:le.length>0&&(f.value=!0),A.value=le},x=N=>N?N.type?N.type:N.label?N.prop:"":"",b=(N,Q)=>{if(N.length!==Q.length)return!1;const le=N.map(G=>x(G));for(let G of Q){const C=x(G);if(le.indexOf(C)===-1)return!1}return!0},p=N=>{if(!N){const Q=e.tableRef.getColumnSetting(),le=Q.srcColumnPropertyList;l=le.map((G,C)=>({...G,sortIndex:C})),N=Q.columnPropertyList,N&&N.length>0&&b(le,N)||(N=le)}y(N,l)},g=()=>{e.tableRef.setColumnSetting(o.value)},H=t.computed(()=>({"max-width":`${e.popoverWidth-125}px`})),m=t.ref(!1),f=t.ref(!1),T=N=>{const Q=[];o.value.forEach(G=>{N&&!(G.label===""||G.type)&&Q.push(G.prop),G.visible=N}),m.value=!1,f.value=!1,u.value.length+r.value.length+i.value.length===Q.length?m.value=!0:Q.length>0&&(f.value=!0),A.value=Q,g()},M=()=>{p(l),g()},A=t.ref([]),F=N=>{o.value.forEach(le=>{if(le.label===""||le.type)return;const G=N.indexOf(le.prop)!==-1;le.visible=G}),m.value=!1,f.value=!1;const Q=u.value.length+r.value.length+i.value.length;N.length===Q?m.value=!0:N.length>0&&(f.value=!0),g()},z=()=>{p()};t.onMounted(()=>{setTimeout(()=>{p()},50)});const $={currentRow:null,index:null,roleType:null},I=N=>N?N.dataset&&N.dataset.role==="row"?N:N.tagName.toLowerCase()!=="body"?(N=N.parentElement,I(N)):null:null,w=N=>{const Q=N.currentTarget;Q&&Q.dataset&&($.roleType=Q.dataset.roleType,$.index=Q.dataset.index)},K=N=>{$.currentRow&&($.currentRow.classList.remove("is-dragover"),$.currentRow=null),$.index=null,$.roleType=null},J=N=>{const Q=N.currentTarget;N.relatedTarget;const le=I(Q);if(!le)return;const G=le.dataset&&le.dataset.roleType;$.roleType===G&&(N.preventDefault(),$.currentRow&&$.currentRow!==le&&$.currentRow.classList.remove("is-dragover"),le.classList.add("is-dragover"),$.currentRow=le)},L=N=>{N.preventDefault(),$.currentRow&&($.currentRow.classList.remove("is-dragover"),$.currentRow=null)},V=N=>{const Q=N.currentTarget,le=I(Q);if(!le)return;const G=le.dataset&&le.dataset.roleType;if($.roleType!==G)return;N.preventDefault();const C=Number($.index),B=Number(le.dataset.index);if(C!==B){if(C<B){const S=o.value[C];o.value.splice(C,1),o.value.splice(B,0,S)}else{const S=o.value[C];o.value.splice(C,1),o.value.splice(B+1,0,S)}y(o.value,l),g()}},P=N=>{const Q=o.value[N];Q.fixed="left",g()},R=N=>{const Q=o.value[N];Q.fixed="right",g()},Z=N=>{const Q=o.value[N];Q.fixed=void 0,g()},U=new Map;let j=null;function te(N){const Q=document.createRange();return Q.setStart(N,0),Q.setEnd(N,N.childNodes.length),Q.getBoundingClientRect().width}return{attrs:a,leftFixedColumns:r,rightFixedColumns:i,unFixedColumns:u,isShowNotFixedTitle:s,isShowLeftFixedTitle:c,isShowRightFixedTitle:h,isDraggble:d,isCheckAll:m,isIndeterminate:f,handleCheckAllChange:T,handleReset:M,checkedValue:A,handleCheckChange:F,onShow:z,onDragStart:w,onDragEnd:K,onDragOver:J,onDragLeave:L,onDrop:V,toLeftFixed:P,toRightFixed:R,toUnFixed:Z,checkboxLabelStyle:H,onMouseOverForOverflowText:(N,Q,le)=>{const G=N.currentTarget;if(G){const C=Math.floor(G.offsetWidth);if(Math.floor(te(G))>C){let S=U.get(Q);if(S){if(S===j)return;Be.hide(S)}S=Be.show(G,le,{type:"text",placement:"top",closeOnClick:!1}),S&&(U.set(Q,S),j=S)}}},onMouseLeaveForOverflowText:(N,Q)=>{const le=U.get(Q);le&&(Be.hide(le),le===j&&(j=null))},onMouseOverForTip:(N,Q)=>{const le=N.currentTarget;le&&(j&&Be.hide(j),j=Be.show(le,Q,{type:"text",placement:"top",closeOnClick:!1}))},onMouseLeaveForTip:N=>{j&&(Be.hide(j),j=null)}}}}),mf={class:"fox-table-setting"},gf={class:"fox-table-setting__header"},yf={class:"fox-table-setting__body"},pf={key:0,class:"fox-table-setting__body-list left-fixed","data-role":"container","data-role-type":"leftFixed"},bf={key:0,class:"fox-table-setting__body-title"},vf=["data-index","draggable"],wf=["onMouseover","onMouseleave"],Sf={class:"tools-item"},xf={key:1,class:"fox-table-setting__body-list not-fixed","data-role":"container","data-role-type":"unFixed"},Tf={key:0,class:"fox-table-setting__body-title"},Cf=["data-index","draggable"],$f=["onMouseover","onMouseleave"],kf={class:"tools-item"},Df={key:2,class:"fox-table-setting__body-list right-fixed","data-role":"container","data-role-type":"rightFixed"},Nf={key:0,class:"fox-table-setting__body-title"},Ef=["data-index","draggable"],Vf=["onMouseover","onMouseleave"],If={class:"tools-item"};function Of(e,n,a,l,o,r){const i=t.resolveComponent("FoxCheckbox"),u=t.resolveComponent("FoxButton"),s=t.resolveComponent("DragIcon"),c=t.resolveComponent("RefreshLeft"),h=t.resolveComponent("FoxIcon"),d=t.resolveComponent("Download"),y=t.resolveComponent("fox-checkbox"),x=t.resolveComponent("FoxCheckboxGroup"),b=t.resolveComponent("FoxPopover");return t.openBlock(),t.createBlock(b,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",mf,[t.createElementVNode("div",gf,[t.createVNode(i,{modelValue:e.isCheckAll,"onUpdate:modelValue":n[0]||(n[0]=p=>e.isCheckAll=p),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]=p=>e.checkedValue=p),onChange:e.handleCheckChange},{default:t.withCtx(()=>[e.leftFixedColumns.length>0?(t.openBlock(),t.createElementBlock("div",pf,[e.isShowLeftFixedTitle?(t.openBlock(),t.createElementBlock("div",bf,t.toDisplayString(e.leftFixedTitle),1)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.leftFixedColumns,p=>(t.openBlock(),t.createElementBlock("div",{key:p.prop,class:"fox-table-setting__body-row","data-role":"row","data-role-type":"leftFixed","data-index":p.sortIndex,draggable:e.isDraggble(e.leftFixedColumns),onDragstart:n[5]||(n[5]=(...g)=>e.onDragStart&&e.onDragStart(...g)),onDragend:n[6]||(n[6]=(...g)=>e.onDragEnd&&e.onDragEnd(...g)),onDrop:n[7]||(n[7]=(...g)=>e.onDrop&&e.onDrop(...g)),onDragover:n[8]||(n[8]=(...g)=>e.onDragOver&&e.onDragOver(...g)),onDragleave:n[9]||(n[9]=(...g)=>e.onDragLeave&&e.onDragLeave(...g))},[e.isDraggble(e.leftFixedColumns)?(t.openBlock(),t.createBlock(s,{key:0,class:"icon-item"})):t.createCommentVNode("",!0),t.createVNode(i,{class:"checkbox-item",value:p.prop},{default:t.withCtx(()=>[t.createElementVNode("span",{onMouseover:g=>e.onMouseOverForOverflowText(g,p.prop,p.label),onMouseleave:g=>e.onMouseLeaveForOverflowText(g,p.prop),class:"checkbox-item__label",style:t.normalizeStyle(e.checkboxLabelStyle)},t.toDisplayString(p.label),45,wf)]),_:2},1032,["value"]),t.createElementVNode("div",Sf,[t.createVNode(h,{onClick:g=>e.toUnFixed(p.sortIndex),onMouseover:n[1]||(n[1]=g=>e.onMouseOverForTip(g,e.unFixedText)),onMouseleave:n[2]||(n[2]=g=>e.onMouseLeaveForTip(g))},{default:t.withCtx(()=>[t.createVNode(c)]),_:2},1032,["onClick"]),t.createVNode(h,{onClick:g=>e.toRightFixed(p.sortIndex),onMouseover:n[3]||(n[3]=g=>e.onMouseOverForTip(g,e.fixedRightText)),onMouseleave:n[4]||(n[4]=g=>e.onMouseLeaveForTip(g))},{default:t.withCtx(()=>[t.createVNode(d)]),_:2},1032,["onClick"])])],40,vf))),128))])):t.createCommentVNode("",!0),e.unFixedColumns.length>0?(t.openBlock(),t.createElementBlock("div",xf,[e.isShowNotFixedTitle?(t.openBlock(),t.createElementBlock("div",Tf,t.toDisplayString(e.unFixedTitle),1)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.unFixedColumns,p=>(t.openBlock(),t.createElementBlock("div",{key:p.prop,class:"fox-table-setting__body-row","data-role":"row","data-role-type":"unFixed","data-index":p.sortIndex,draggable:e.isDraggble(e.unFixedColumns),onDragstart:n[14]||(n[14]=(...g)=>e.onDragStart&&e.onDragStart(...g)),onDragend:n[15]||(n[15]=(...g)=>e.onDragEnd&&e.onDragEnd(...g)),onDrop:n[16]||(n[16]=(...g)=>e.onDrop&&e.onDrop(...g)),onDragover:n[17]||(n[17]=(...g)=>e.onDragOver&&e.onDragOver(...g)),onDragleave:n[18]||(n[18]=(...g)=>e.onDragLeave&&e.onDragLeave(...g))},[e.isDraggble(e.unFixedColumns)?(t.openBlock(),t.createBlock(s,{key:0,class:"icon-item"})):t.createCommentVNode("",!0),t.createVNode(i,{class:"checkbox-item",value:p.prop},{default:t.withCtx(()=>[t.createElementVNode("span",{onMouseover:g=>e.onMouseOverForOverflowText(g,p.prop,p.label),onMouseleave:g=>e.onMouseLeaveForOverflowText(g,p.prop),class:"checkbox-item__label",style:t.normalizeStyle(e.checkboxLabelStyle)},t.toDisplayString(p.label),45,$f)]),_:2},1032,["value"]),t.createElementVNode("div",kf,[t.createVNode(h,{onClick:g=>e.toLeftFixed(p.sortIndex),onMouseover:n[10]||(n[10]=g=>e.onMouseOverForTip(g,e.fixedLeftText)),onMouseleave:n[11]||(n[11]=g=>e.onMouseLeaveForTip(g)),class:"is-reverse"},{default:t.withCtx(()=>[t.createVNode(d)]),_:2},1032,["onClick"]),t.createVNode(h,{onClick:g=>e.toRightFixed(p.sortIndex),onMouseover:n[12]||(n[12]=g=>e.onMouseOverForTip(g,e.fixedRightText)),onMouseleave:n[13]||(n[13]=g=>e.onMouseLeaveForTip(g))},{default:t.withCtx(()=>[t.createVNode(d)]),_:2},1032,["onClick"])])],40,Cf))),128))])):t.createCommentVNode("",!0),e.rightFixedColumns.length>0?(t.openBlock(),t.createElementBlock("div",Df,[e.isShowRightFixedTitle?(t.openBlock(),t.createElementBlock("div",Nf,t.toDisplayString(e.rightFixedTitle),1)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.rightFixedColumns,p=>(t.openBlock(),t.createElementBlock("div",{key:p.prop,class:"fox-table-setting__body-row","data-role":"row","data-role-type":"rightFixed","data-index":p.sortIndex,draggable:e.isDraggble(e.rightFixedColumns),onDragstart:n[23]||(n[23]=(...g)=>e.onDragStart&&e.onDragStart(...g)),onDragend:n[24]||(n[24]=(...g)=>e.onDragEnd&&e.onDragEnd(...g)),onDrop:n[25]||(n[25]=(...g)=>e.onDrop&&e.onDrop(...g)),onDragover:n[26]||(n[26]=(...g)=>e.onDragOver&&e.onDragOver(...g)),onDragleave:n[27]||(n[27]=(...g)=>e.onDragLeave&&e.onDragLeave(...g))},[e.isDraggble(e.rightFixedColumns)?(t.openBlock(),t.createBlock(s,{key:0,class:"icon-item"})):t.createCommentVNode("",!0),t.createVNode(y,{class:"checkbox-item",label:p.prop},{default:t.withCtx(()=>[t.createElementVNode("span",{onMouseover:g=>e.onMouseOverForOverflowText(g,p.prop,p.label),onMouseleave:g=>e.onMouseLeaveForOverflowText(g,p.prop),class:"checkbox-item__label",style:t.normalizeStyle(e.checkboxLabelStyle)},t.toDisplayString(p.label),45,Vf)]),_:2},1032,["label"]),t.createElementVNode("div",If,[t.createVNode(h,{onClick:g=>e.toUnFixed(p.sortIndex),onMouseover:n[19]||(n[19]=g=>e.onMouseOverForTip(g,e.unFixedText)),onMouseleave:n[20]||(n[20]=g=>e.onMouseLeaveForTip(g))},{default:t.withCtx(()=>[t.createVNode(c)]),_:2},1032,["onClick"]),t.createVNode(h,{onClick:g=>e.toLeftFixed(p.sortIndex),onMouseover:n[21]||(n[21]=g=>e.onMouseOverForTip(g,e.fixedLeftText)),onMouseleave:n[22]||(n[22]=g=>e.onMouseLeaveForTip(g)),class:"is-reverse"},{default:t.withCtx(()=>[t.createVNode(d)]),_:2},1032,["onClick"])])],40,Ef))),128))])):t.createCommentVNode("",!0)]),_:1},8,["modelValue","onChange"])])])]),_:3},16,["placement","width","onShow"])}const wn=Ne(hf,[["render",Of]]);let Af=class{proxy;constructor(n){this.proxy=n}async load(n,a,l,o,r,i,u){if(Array.isArray(a)){let c=(l-1)*o,h=c+o;h>a.length&&(h=a.length);const d=a.slice(c,h);return{totalSize:a.length,page:d}}if(typeof a=="function")return await Reflect.apply(a,null,[l,o,r,i,u]);const s=Fe(this.proxy,n);return s===null?(console.error(`${n} component not found api function`),{totalSize:0,page:[]}):(Le(r)&&t.isReactive(r)&&(r=t.toRaw(r)),await Reflect.apply(s,null,[a,l,o,r,i,u]))}};function Ff(){const e=t.getCurrentInstance();return new Af(e.proxy)}let Bf=class{proxy;constructor(n){this.proxy=n}async load(n){let a=null;const l=Fe(this.proxy,"tableSetting");return typeof l=="function"&&(a=await Reflect.apply(l,null,["load",n])),a}save(n,a){const l=Fe(this.proxy,"tableSetting");typeof l=="function"&&Reflect.apply(l,null,["save",n,a])}remove(n){const a=Fe(this.proxy,"tableSetting");typeof a=="function"&&Reflect.apply(a,null,["remove",n])}};function Mf(){const e=t.getCurrentInstance();return new Bf(e.proxy)}const Rf=Symbol.for("TableStateKey"),_o={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]},cellClassName:{type:Function},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"}},Po={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}},Il={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:"不固定"}},Lf={infiniteLoad:{type:Boolean,default:!1},loadText:{type:String,default:"加载中..."},loadMoreText:{type:String,default:"无更多数据"}};function _f(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 c=r.substring(u+1,s);if(/^\d+$/.test(c)){let h=parseInt(c);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 Ol(e,n){return e.filter(l=>{for(let o in n){const r=n[o],i=_f(l,o);if(r!==i)return!1}return!0})}function Pf(e,n,a){return{inheritAttrs:!1,props:{...we,...De,..._o,...Po,...Il,...Lf},emits:["change","page-size-change","page-index-change","current-change","loaded-data","expand-change","row-click"],setup(l,o){const{locale:r}=ve.useFoxI18n(n),{emitEvent:i}=Ce({componentName:e,validateHandler:{getValue(...ne){return A.value}}},l.prop??o.attrs.name),u=e,s=t.computed(()=>({[u]:!0})),c=t.computed(()=>({[`${u}__setting`]:!0})),h=t.computed(()=>({[`${u}__footer`]:!0,[`${u}__footer__${l.footerAlign}`]:!0})),d=t.computed(()=>({[`${u}__pagination`]:!0,[`${u}__pagination__${l.paginationAlign}`]:!0})),y=t.shallowRef({}),x=t.computed(()=>({...y.value,...l.params??{},...l.baseParams??{}})),b=t.ref(l.infiniteLoad===!0?0:l.pageIndex),p=t.ref(l.pageSize),g=ce(l.infiniteLoad);g||(t.watch(()=>l.pageIndex,ne=>{b.value=ne}),t.watch(()=>l.pageSize,ne=>{p.value=ne}),t.watch([b,p],([ne,oe],[re,se])=>{oe!==se&&(b.value=1,ne=1),I(l.data,ne,oe,x.value)}));const H=()=>Array.isArray(l.data)?!0:ce(l.autoLoad);H()&&t.watch([()=>l.data,x],async([ne,oe],[re,se])=>{H()&&(ne!==re&&(z=!0),!(!Array.isArray(ne)&&Pe(ne,re)&&Pe(oe,se))&&(g?(b.value=0,T.value=!0,A.value=[],K()):b.value===1?I(ne,b.value,p.value,oe):b.value=1))},{deep:!0});const m=ne=>{b.value=ne,i("page-index-change",ne)},f=ne=>{p.value=ne,i("page-size-change",ne)},T=t.ref(!0),M=t.ref(0),A=t.ref(),F=Ff();let z=!0;const $=Ee(t.computed(()=>l.lazyLoad),"lazyLoad",_e.Near,ne=>ce(ne)),I=async(ne,oe,re,se,me)=>{z=!1;try{if(me===!0){if(!T.value)return!1;const ye=await F.load("table",ne,oe,re,se,z,r.value);return M.value=ye.totalSize,!ye.page||!Array.isArray(ye.page)||(Reflect.apply([].push,A.value,ye.page),setTimeout(()=>{i("loaded-data")},250),(A.value?.length??0)>=M.value)||ye.page.length<re?(T.value=!1,!1):!0}else{const ye=await F.load("table",ne,oe,re,se,z,r.value);return M.value=ye.totalSize,A.value=ye.page??[],setTimeout(()=>{i("loaded-data")},250),!0}}catch(ye){console.error("[FoxUI] Load Table Data Fail",ye),M.value=0,A.value=[]}return!1};let w=!1;const K=async()=>{if(!w){if(w=!0,!T.value){w=!1;return}b.value+=1,await I(l.data,b.value,p.value,x.value,!0),w=!1}},J=(ne={},oe=!1)=>new Promise(async re=>{y.value=t.toRaw(ne??{}),oe||(b.value=l.pageIndex??1),g===!0?(b.value=0,A.value=[],T.value=!0,await K()):await I(l.data,b.value,p.value,x.value),re()}),L=()=>{M.value=0,A.value=[],g===!0&&(b.value=0,T.value=!0)};let V=!1;const P=()=>{V||(V=!0,J())},R=t.ref(null);if(g===!0){let ne=null;const oe=()=>{R.value&&(ne=new IntersectionObserver(se=>{let me=!1;for(let ye of se)if(ye.intersectionRatio>0){me=!0;break}me&&K()}),ne.observe(R.value))},re=()=>{!ne||!R.value||(ne.unobserve(R.value),ne=null)};t.onMounted(oe),t.onBeforeUnmount(re)}H()&&!$.value&&J();const Z=t.ref(null);t.provide(Rf,{currentRow:Z});const U=(ne,oe)=>{Z.value=ne,i("current-change",ne,oe)},j=(ne,oe,re)=>{i("row-click",ne,oe,re),ce(l.rowClickSelectable)===!0&&ae?.value.toggleRowSelection(ne)},te=[],D=(ne,oe)=>{if(i("expand-change",ne,oe),ce(l.uniqueExpansion))if(Array.isArray(oe)&&oe.length==0){const re=te.length;te.splice(0,re)}else{te.forEach(se=>{se!==ne&&ae?.value.toggleRowExpansion(se,!1)});const re=te.length;te.splice(0,re,ne)}},E=o.attrs.id??l.prop??o.attrs.name,q=Mf(),_=t.ref([]);let N=[];const Q=()=>({srcColumnPropertyList:N.map(oe=>({...oe})),columnPropertyList:_.value}),le=ne=>{_.value=[...ne],C()},G=async()=>{const ne=await q.load(E);ne&&(_.value=ne)},C=()=>{q.save(E,_.value)},B=()=>{q.remove(E)};G();const S=ne=>ne?ne.type?ne.type:ne.label?ne.prop:"":"",W=t.computed(()=>{if(typeof o.slots.default=="function"){const ne=o.slots.default(),oe=new Map;if(N=[],ne.forEach(re=>{const se=re;if(!se.props)return;const me=S(se.props);oe.set(me,re);const ye={label:"",prop:""};Object.assign(ye,se.props),N.push(ye)}),_.value.length===N.length){const re=[];for(let se of _.value){const me=S(se),ye=oe.get(me);if(!ye)return ne;if(se.visible===!1)continue;const ze=ye;ze.props.fixed=se.fixed,re.push(ze)}return re}return ne}return[]}),X=t.shallowRef(new Map),k=({column:ne,rowIndex:oe})=>{const re=`${oe}_${ne.property}`;return X.value.get(re)??""},Y=ne=>typeof ne=="function"?oe=>{const re=[];let se=k(oe);return se&&re.push(se),se=ne(oe),se&&re.push(se),re.length===0?"":re.join(" ")}:k,ee=(ne,oe,re)=>{const se=`${ne}_${oe}`;re?X.value.set(se,re):X.value.delete(se),t.triggerRef(X)},ae=t.ref();return be({clearSelection:()=>ae?.value.clearSelection(),getSelectionRows:()=>ae?.value.getSelectionRows(),toggleRowSelection:(ne,oe)=>{ae?.value.toggleRowSelection(ne,oe)},toggleRowSelectionByProp:(ne,oe)=>{if(!A.value)return;const re=Ol(A.value,ne);re.length!==0&&re.forEach(se=>{ae?.value.toggleRowSelection(se,oe)})},toggleAllSelection:()=>{ae?.value.toggleAllSelection()},toggleRowExpansion:(ne,oe)=>{ae?.value.toggleRowExpansion(ne,oe)},toggleRowExpansionByProp:(ne,oe)=>{if(!A.value)return;const re=Ol(A.value,ne);re.length!==0&&re.forEach(se=>{ae?.value.toggleRowExpansion(se,oe)})},setCurrentRow:ne=>{ae?.value.setCurrentRow(ne)},setCurrentRowByProp:ne=>{if(!A.value)return;const oe=Ol(A.value,ne);oe.length!==0&&ae?.value.setCurrentRow(oe[0])},getCurrentRow:()=>Z.value,clearSort:()=>{ae?.value.clearSort()},clearFilter:ne=>{ae?.value.clearFilter(ne)},doLayout:()=>{ae?.value.doLayout()},sort:(ne,oe)=>{ae?.value.sort(ne,oe)},scrollTo:(ne,oe)=>{ae?.value.scrollTo(ne,oe)},setScrollTop:ne=>{ae?.value.setScrollTop(ne)},setScrollLeft:ne=>{ae?.value.setScrollLeft(ne)},loadData:J,clearData:L,getData(){return A.value},getTotalSize(){return M.value},getPageIndex(){return b.value},getPageSize(){return p.value},getColumnSetting:Q,setColumnSetting:le,removeColumnSetting:B,setCellClassName:ee}),()=>{const oe={...Ye(o.attrs),onCurrentChange:U,onRowClick:j,onExpandChange:D,data:A.value,ref:ae,class:s.value,"cell-class-name":Y(l.cellClassName)},re={};if(o.slots.default&&(re.default=()=>W.value),o.slots.append&&(re.append=()=>o.slots.append),o.slots.empty&&(re.empty=()=>o.slots.empty),g===!0){const He=[];if(T.value){const zt=t.h($e.Loading,{class:`${u}__infinite-icon`});He.push(zt);const ha=t.h("span",{class:`${u}__infinite-text`},[l.loadText]);He.push(ha)}else{const zt=t.h("span",{class:`${u}__infinite-text`},[l.loadMoreText]);He.push(zt)}const ht={ref:R,class:`${u}__infinite`},da=t.h("div",ht,He);re.append=()=>da}const se=t.h(O.ElTable,oe,re),me=[];if(me.push(se),!g){let He=null;if(typeof o.slots.pagination=="function")He=o.slots.pagination();else if(l.showPagination){const ht={class:d.value,total:M.value,pageSize:p.value,"onUpdate:pageSize":f,pageSizes:l.pageSizes,currentPage:b.value,"onUpdate:currentPage":m,hideOnSinglePage:l.hideOnSinglePage,layout:l.paginationLayout,samll:l.paginationSmall,background:l.paginationBackground};He=t.h(O.ElPagination,ht)}if(l.showSetting){const ht=[];He&&ht.push(He);const da=t.h(O.ElIcon,{class:c.value},{default:()=>t.h($e.Setting)}),zt=kt(l,Il),ha=t.h(wn,{...zt,tableRef:{getColumnSetting:Q,setColumnSetting:le,removeColumnSetting:B}},{default:()=>da});ht.push(ha);const wy=t.h("div",{class:h.value},ht);me.push(wy)}else He&&me.push(He)}const ye={default:()=>me},je={...ke(l,_o,Po,Il)};return l.prop&&(je.prop=`${l.prop}_item`),je.contentClass=`${u}__wrap`,je.errorMarkClass="is-table-error",$.value&&H()&&(je["appear-listen"]=!0,je.onAppear=P),t.h(a,je,ye)}}}}const{componentName:qf,create:zf,scope:jf}=ue("table-item"),Al=zf(Pf(qf,jf,Se));function wt(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function Rt(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function Hf(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}let Kf=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=Fe(this.proxy,n);return o===null?(console.error(`${n} component not found api function`),[]):(Le(l)&&t.isReactive(l)&&(l=t.toRaw(l)),await o(a,l))}};function Wf(){const e=t.getCurrentInstance();return new Kf(e.proxy)}function qo(e,n,a){if(n===a)return!0;if(n===null||a===null)return!1;const l=wt(e,n),o=wt(e,a);if(l!==o)return!1;const r=Rt(e,n),i=Rt(e,a);return r===i}function Yf(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=wt(e,r)===n;else if(a==="item")i=qo(e,r,n);else{let u=Rt(e,r);u==null&&(u=wt(e,r)),i=u===n}if(i){o=r;break}}return o}function Uf(e){return{text:e,value:e}}function Gf(e,n,a){return typeof e.itemOptions=="function"?e.itemOptions(n,a):e.itemOptions}const zo={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 Xf(e,n,a){return{inheritAttrs:!0,props:{...we,...De,...zo},emits:["change","update:modelValue","setValue"],setup(l,o){const r=t.ref(null),i=Ie(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ve(t.computed(()=>u.value??l.readonly)),{emitEvent:c}=Ce({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=($,I,w,K=!0)=>{const J=Yf(l,$,I,w);if(J===null){if(d.value===null)return;d.value=null,h.value=null,K&&(c("update:modelValue",null),c("change",null));return}if(!qo(l,J,d.value)){h.value=$;const V=t.toRaw(J);d.value=V;let P=null;l.valueType==="text"?P=wt(l,V):l.valueType==="item"?P=V:P=Rt(l,V),K&&(c("update:modelValue",P),c("change",P))}},x=t.ref([]),b=Ee(t.computed(()=>l.appearLoad),"appearLoad",_e.Near,$=>ce($)),p=Wf(),g=async($,I)=>{if($){const w=await p.load("radio",$,I);if(w.length>0)if(typeof w[0]=="string"){let L=w.map(V=>Uf(V));x.value=L}else x.value=w}};t.watch([()=>l.source,()=>l.params],async([$,I])=>{g($,I)},{immediate:!b.value});let H=!1;const m=()=>{H||(H=!0,g(l.source,l.params))};t.watch([()=>x.value,()=>l.modelValue],([$,I])=>{y(I,l.valueType,$,!1),c("setValue",I)});const f=e,T=t.computed(()=>({[f]:!0,[`is-${l.direction}`]:!0})),M=$=>{y($,"value",x.value,!0)};let A=he(l,"hintText"),F=he(l,"hintVisible");const z=($,I)=>{const w=[];return $.forEach((K,J)=>{const L=Rt(l,K),V=wt(l,K);let P=Hf(l,K);i.value===!0&&(P=i.value),s.value===!0&&(P=s.value);const R=Gf(l,K,J)??{},Z=`${L}_${J}`,U={...R,key:Z,value:L,size:l.size,border:ce(l.border)};P&&(U.disabled=P),l.itemType==="button"?w.push(t.h(O.ElRadioButton,U,{default:()=>[V]})):typeof I=="function"?w.push(t.h(O.ElRadio,U,{default:()=>I(K)})):w.push(t.h(O.ElRadio,U,{default:()=>[V]}))}),w};return be({setDisabled:$=>{r.value=$},setReadonly:$=>{u.value=$}}),()=>{const I={...Ye(o.attrs),class:T.value,disabled:i.value||s.value,modelValue:h.value,"text-color":l.textColor,fill:l.fill,onChange:M},w=[],K={};o.slots.options?K.default=o.slots.options:K.default=()=>z(x.value,o.slots.text);const J=t.h(O.ElRadioGroup,I,K);w.push(J);const L={default:()=>w};o.slots.default&&(L.label=o.slots.default),o.slots.fixedTip&&(L.fixedTip=o.slots.fixedTip);const P={...ke(l,zo),hintText:A.value,hintVisible:F.value};return l.prop&&(P.prop=`${l.prop}_item`),b.value&&(P["appear-listen"]=!0,P.onAppear=m),t.h(a,P,L)}}}}const{componentName:Zf,create:Jf,scope:Qf}=ue("radio-item"),Fl=Jf(Xf(Zf,Qf,Se));function St(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function xt(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function ed(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}let td=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=Fe(this.proxy,n);return o===null?(console.error(`${n} component not found api function`),[]):(Le(l)&&t.isReactive(l)&&(l=t.toRaw(l)),await o(a,l))}};function nd(){const e=t.getCurrentInstance();return new td(e.proxy)}function jo(e,n,a){if(n===a)return!0;if(n===null||a===null)return!1;const l=St(e,n),o=St(e,a);if(l!==o)return!1;const r=xt(e,n),i=xt(e,a);return r===i}function ld(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=St(e,i)===r;else if(a==="item")u=jo(e,i,r);else{let s=xt(e,i);s==null&&(s=St(e,i)),u=s===r}if(u){o.push(i);break}}}),o}function ad(e){return{text:e,value:e}}function od(e,n,a){return typeof e.itemOptions=="function"?e.itemOptions(n,a):e.itemOptions}const Ho={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 rd(e,n,a){return{inheritAttrs:!0,props:{...we,...De,...Ho},emits:["change","update:modelValue","setValue"],setup(l,o){const r=t.ref(null),i=Ie(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ve(t.computed(()=>u.value??l.readonly)),{emitEvent:c}=Ce({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=($,I,w,K=!0)=>{const J=ld(l,$,I,w);if(J===null){if(d.value===null||d.value.length===0)return;h.value=[],d.value=[],K&&(c("update:modelValue",[]),c("change",[]));return}let L=!0;if(J.length!==d.value.length)L=!1;else for(let V=0;V<J.length;V++){const P=J[V],R=d.value[V];if(!jo(l,P,R)){L=!1;break}}if(!L){d.value=J;let V=[],P=[];J.forEach(Z=>{V.push(xt(l,Z)),l.valueType==="text"?P.push(St(l,Z)):l.valueType==="item"?P.push(Z):P.push(xt(l,Z))}),h.value=V;const R=t.toRaw(P);K&&(c("update:modelValue",R),c("change",R))}},x=t.ref([]),b=Ee(t.computed(()=>l.appearLoad),"appearLoad",_e.Near,$=>ce($)),p=nd(),g=async($,I)=>{if($){const w=await p.load("checkbox",$,I);if(w.length>0)if(typeof w[0]=="string"){let L=w.map(V=>ad(V));x.value=L}else x.value=w}};t.watch([()=>l.source,()=>l.params],async([$,I])=>{g($,I)},{immediate:!b.value});let H=!1;const m=()=>{H||(H=!0,g(l.source,l.params))};t.watch([()=>x.value,()=>l.modelValue],([$,I])=>{y(I,l.valueType,$,!1),c("setValue",I)});const f=e,T=t.computed(()=>({[f]:!0,[`is-${l.direction}`]:!0})),M=$=>{y($,"value",x.value,!0)};let A=he(l,"hintText"),F=he(l,"hintVisible");const z=($,I)=>{const w=[];return $.forEach((K,J)=>{const L=xt(l,K),V=St(l,K);let P=ed(l,K);i.value===!0&&(P=i.value),s.value===!0&&(P=s.value);const R=od(l,K,J)??{},Z=`${L}_${J}`,U={...R,key:Z,class:l.itemClass,value:L,size:l.size,border:ce(l.border)};P&&(U.disabled=P),l.itemType==="button"?w.push(t.h(O.ElCheckboxButton,U,{default:()=>[V]})):typeof I=="function"?w.push(t.h(O.ElCheckbox,U,{default:()=>I(K)})):w.push(t.h(O.ElCheckbox,U,{default:()=>[V]}))}),w};return be({setDisabled:$=>{r.value=$},setReadonly:$=>{u.value=$}}),()=>{const I={...Ye(o.attrs),class:T.value,disabled:i.value||s.value,modelValue:h.value,"text-color":l.textColor,fill:l.fill,max:ge(l.max),min:ge(l.min),onChange:M},w=[],K={};o.slots.options?K.default=o.slots.options:K.default=()=>z(x.value,o.slots.text);const J=t.h(O.ElCheckboxGroup,I,K);w.push(J);const L={default:()=>w};o.slots.default&&(L.label=o.slots.default),o.slots.fixedTip&&(L.fixedTip=o.slots.fixedTip);const P={...ke(l,Ho),hintText:A.value,hintVisible:F.value};return l.prop&&(P.prop=`${l.prop}_item`),b.value&&(P["appear-listen"]=!0,P.onAppear=m),t.h(a,P,L)}}}}const{componentName:id,create:sd,scope:ud}=ue("checkbox-item"),Bl=sd(rd(id,ud,Se)),Ko={modelValue:{type:[Number,String],required:!1}};function cd(e,n,a){return{props:{...we,...De,...Ko},emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(l,o){const r=t.ref(null),i=Ie(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ve(t.computed(()=>u.value??l.readonly)),{emitEvent:c}=Ce({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=he(l,"modelValue",H=>ge(H),c),d=e,y=t.computed(()=>({[d]:!0})),x=H=>{c("update:modelValue",H),c("change",H)};let b=he(l,"hintText"),p=t.ref(!1);const g=t.ref();return be({setDisabled:H=>{r.value=H},setReadonly:H=>{u.value=H}}),()=>{const m={...Ye(o.attrs),ref:g,class:y.value,readonly:s.value||i.value,modelValue:h.value,onChange:x},f={},T=[],M=t.h(O.ElRate,m,f);T.push(M);const A={default:()=>T};o.slots.default&&(A.label=o.slots.default),o.slots.fixedTip&&(A.fixedTip=o.slots.fixedTip);const z={...ke(l,Ko),hintText:b.value,hintVisible:p.value};return l.prop&&(z.prop=`${l.prop}_item`),t.h(a,z,A)}}}}const{componentName:fd,create:dd,scope:hd}=ue("rate-item"),Ml=dd(cd(fd,hd,Se)),Wo={modelValue:{type:[Boolean,String,Number],required:!1}};function md(e,n,a){return{props:{...we,...De,...Wo},emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(l,o){const r=t.ref(null),i=Ie(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ve(t.computed(()=>u.value??l.readonly)),{emitEvent:c}=Ce({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=he(l,"modelValue",null,c),d=e,y=t.computed(()=>({[d]:!0})),x=H=>{c("update:modelValue",H),c("change",H)};let b=he(l,"hintText"),p=he(l,"hintVisible");const g=t.ref();return be({setDisabled:H=>{r.value=H},setReadonly:H=>{u.value=H}}),()=>{const m={...Ye(o.attrs),ref:g,class:y.value,readonly:s.value,disabled:i.value,modelValue:h.value,onChange:x},f={},T=[],M=t.h(O.ElSwitch,m,f);T.push(M);const A={default:()=>T};o.slots.default&&(A.label=o.slots.default),o.slots.fixedTip&&(A.fixedTip=o.slots.fixedTip);const z={...ke(l,Wo),hintText:b.value,hintVisible:p.value};return l.prop&&(z.prop=`${l.prop}_item`),t.h(a,z,A)}}}}const{componentName:gd,create:yd,scope:pd}=ue("switch-item"),Rl=yd(md(gd,pd,Se)),Yo={modelValue:{type:[String,Number,Boolean,Array],required:!1}};function bd(e,n,a){return{props:{...we,...De,...Yo},emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(l,o){const r=t.ref(null),i=Ie(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ve(t.computed(()=>u.value??l.readonly)),c=t.ref(!1),{emitEvent:h}=Ce({componentName:e,get readonly(){return s.value},get disabled(){return i.value}},l.prop??o.attrs.name),d=he(l,"modelValue",null,h),y=e,x=t.computed(()=>({[y]:!0})),b=F=>{h("update:modelValue",F),h("change",F)};let p=he(l,"hintText"),g=t.ref(!1);const H=F=>{let $=F.target.value;c.value=!0,de(p.value)||(g.value=!0),h("focus",$,F)},m=F=>{setTimeout(()=>{g.value&&(g.value=!1),c.value=!1},0);let $=F.target.value;l.maxLength&&$.length>Number(l.maxLength)&&($=$.slice(0,Number(l.maxLength))),T.value||h("blur",$,F)},f=()=>{h("clear","")},T=t.ref(!1),M=F=>{T.value=F,h("visible-change",F),F||h("selected")},A=t.ref();return be({focus:()=>{A?.value.focus()},blur:()=>{A?.value.blur()},setDisabled:F=>{r.value=F},setReadonly:F=>{u.value=F}}),()=>{const z={...Ye(o.attrs),ref:A,class:x.value,disabled:i.value||s.value,modelValue:d.value,"onUpdate:modelValue":b,onClear:f,onFocus:H,onBlur:m,onVisibleChange:M},$={};o.slots.option&&($.default=o.slots.option);const I=[],w=t.h(O.ElTreeSelect,z,$);I.push(w);const K={default:()=>I};o.slots.default&&(K.label=o.slots.default),o.slots.fixedTip&&(K.fixedTip=o.slots.fixedTip);const L={...ke(l,Yo),hintText:p.value,hintVisible:g.value};return l.prop&&(L.prop=`${l.prop}_item`),t.h(a,L,K)}}}}const{componentName:vd,create:wd,scope:Sd}=ue("tree-select-item"),Ll=wd(bd(vd,Sd,Se));class xd{proxy;constructor(n){this.proxy=n}async load(n){let a=null;const l=Fe(this.proxy,"tableSetting");return typeof l=="function"&&(a=await Reflect.apply(l,null,["load",n])),a}save(n,a){const l=Fe(this.proxy,"tableSetting");typeof l=="function"&&Reflect.apply(l,null,["save",n,a])}remove(n){const a=Fe(this.proxy,"tableSetting");typeof a=="function"&&Reflect.apply(a,null,["remove",n])}}function Td(){const e=t.getCurrentInstance();return new xd(e.proxy)}const Cd={},$d={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 kd(e,n){return t.openBlock(),t.createElementBlock("svg",$d,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 Dd=Ne(Cd,[["render",kd]]),{componentName:By,create:Nd,scope:My}=ue("group-setting"),Ed={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:"到底部"}},Vd=Nd({components:{FoxPopover:O.ElPopover,FoxCheckbox:O.ElCheckbox,FoxCheckboxGroup:O.ElCheckboxGroup,FoxButton:O.ElButton,FoxIcon:O.ElIcon,DragIcon:Dd,Download:$e.Download,RefreshLeft:$e.RefreshLeft},props:{...Ed},emits:["change"],setup(e,{emit:n,attrs:a,expose:l}){let o=null;const r=t.ref([]),i=Td(),u=D=>D.length>1,s=()=>{const D=[],E=[...r.value];r.value=E.map((_,N)=>(_.visible!==!1&&D.push(_.prop),{..._,sortIndex:N})),r.value.length===D.length?p.value=!0:D.length>0&&(g.value=!0),f.value=D},c=D=>{let E=null;if(typeof D=="string")E=document.querySelectorAll(`.fox-group[prop="${D}"] > div > .fox-item[prop]`);else if(D&&typeof D=="object"){const _=D.$el??D;typeof _.querySelectorAll=="function"&&(E=_.querySelectorAll(".fox-item[prop]"))}if(!E)return[];const q=[];return E.forEach(_=>{const N=_.querySelector(".label--string");let Q="";N&&(Q=N.textContent??"");const le=_.getAttribute("prop")??"",C=window.getComputedStyle(_,null).getPropertyValue("display");q.push({label:Q,prop:le,sortIndex:0,visible:C!=="none"})}),q},h=()=>{if(!o){const D=c(e.groupRef??e.groupProp);if(D.length===0)return!1;o=D}return!0},d=async(D=!1)=>{const E=await i.load(e.groupProp),q=_=>{if(!_||!o)return;const N=o.map(Q=>({...Q}));Array.isArray(E)&&E.forEach(Q=>{N.some(le=>{if(le.prop===Q.prop){const G=le.label;return Object.assign(le,Q),le.label=G,!0}return!1})}),r.value=N.sort((Q,le)=>Q.sortIndex-le.sortIndex),s(),D&&x(!1)};o?q(!0):en(h,e.initDelay,5,50,!1,q)},y=()=>{const D=o??[];r.value=D.map(E=>({...E})),s(),x()},x=(D=!0)=>{D&&i.save(e.groupProp,r.value);const E=r.value.map(q=>({...q}));n("change",E)},b=t.computed(()=>({"max-width":`${e.popoverWidth-125}px`})),p=t.ref(!1),g=t.ref(!1),H=D=>{const E=[];r.value.forEach(_=>{D&&E.push(_.prop),_.visible=D}),p.value=!1,g.value=!1,r.value.length===E.length?p.value=!0:E.length>0&&(g.value=!0),f.value=E,x()},m=()=>{y()},f=t.ref([]),T=D=>{r.value.forEach(q=>{const _=D.indexOf(q.prop)!==-1;q.visible=_}),p.value=!1,g.value=!1;const E=r.value.length;D.length===E?p.value=!0:D.length>0&&(g.value=!0),x()},M=()=>{d()};t.onMounted(()=>{d(!0)});const A={currentRow:null,index:null},F=D=>D?D.dataset&&D.dataset.role==="row"?D:D.tagName.toLowerCase()!=="body"?(D=D.parentElement,F(D)):null:null,z=D=>{const E=D.currentTarget;E&&E.dataset&&(A.index=E.dataset.index)},$=D=>{A.currentRow&&(A.currentRow.classList.remove("is-dragover"),A.currentRow=null),A.index=null},I=D=>{const E=D.currentTarget;D.relatedTarget;const q=F(E);q&&(D.preventDefault(),A.currentRow&&A.currentRow!==q&&A.currentRow.classList.remove("is-dragover"),q.classList.add("is-dragover"),A.currentRow=q)},w=D=>{D.preventDefault(),A.currentRow&&(A.currentRow.classList.remove("is-dragover"),A.currentRow=null)},K=D=>{const E=D.currentTarget,q=F(E);if(!q)return;D.preventDefault();const _=Number(A.index),N=Number(q.dataset.index);if(_!==N){if(_<N){const Q=r.value[_];r.value.splice(_,1),r.value.splice(N,0,Q)}else{const Q=r.value[_];r.value.splice(_,1),r.value.splice(N+1,0,Q)}s(),x()}},J=D=>{const E=r.value[D];r.value.splice(D,1),r.value.splice(0,0,E),s(),x()},L=D=>{const E=r.value[D];r.value.splice(D,1),r.value.push(E),s(),x()};l({refresh:()=>{o=null,d(!1)}});const V=new Map;let P=null;function R(D){const E=document.createRange();return E.setStart(D,0),E.setEnd(D,D.childNodes.length),E.getBoundingClientRect().width}return{attrs:a,itemPropertyList:r,isDraggble:u,isCheckAll:p,isIndeterminate:g,handleCheckAllChange:H,handleReset:m,checkedValue:f,handleCheckChange:T,onShow:M,onDragStart:z,onDragEnd:$,onDragOver:I,onDragLeave:w,onDrop:K,checkboxLabelStyle:b,toTop:J,toBottom:L,onMouseOverForOverflowText:(D,E,q)=>{const _=D.currentTarget;if(_){const N=Math.floor(_.offsetWidth);if(Math.floor(R(_))>N){let le=V.get(E);if(le){if(le===P)return;Be.hide(le)}le=Be.show(_,q,{type:"text",placement:"top",closeOnClick:!1}),V.set(E,le),P=le}}},onMouseLeaveForOverflowText:(D,E)=>{const q=V.get(E);q&&(Be.hide(q),q===P&&(P=null))},onMouseOverForTip:(D,E)=>{const q=D.currentTarget;q&&(P&&Be.hide(P),P=Be.show(q,E,{type:"text",placement:"top",closeOnClick:!1}))},onMouseLeaveForTip:D=>{P&&(Be.hide(P),P=null)}}}}),Id={class:"fox-group-setting"},Od={class:"fox-group-setting__header"},Ad={class:"fox-group-setting__body"},Fd={class:"fox-group-setting__body-list","data-role":"container"},Bd=["data-index","draggable"],Md=["onMouseover","onMouseleave"],Rd={class:"tools-item"};function Ld(e,n,a,l,o,r){const i=t.resolveComponent("FoxCheckbox"),u=t.resolveComponent("FoxButton"),s=t.resolveComponent("DragIcon"),c=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",Id,[t.createElementVNode("div",Od,[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",Ad,[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",Fd,[(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]=(...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.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:b=>e.onMouseOverForOverflowText(b,x.prop,x.label),onMouseleave:b=>e.onMouseLeaveForOverflowText(b,x.prop),class:"checkbox-item__label",style:t.normalizeStyle(e.checkboxLabelStyle)},t.toDisplayString(x.label),45,Md)]),_:2},1032,["label"]),t.createElementVNode("div",Rd,[t.createVNode(h,{onClick:b=>e.toTop(x.sortIndex),onMouseover:n[1]||(n[1]=b=>e.onMouseOverForTip(b,e.toTopText)),onMouseleave:n[2]||(n[2]=b=>e.onMouseLeaveForTip(b)),class:"is-reverse"},{default:t.withCtx(()=>[t.createVNode(c)]),_:2},1032,["onClick"]),t.createVNode(h,{onClick:b=>e.toBottom(x.sortIndex),onMouseover:n[3]||(n[3]=b=>e.onMouseOverForTip(b,e.toBottomText)),onMouseleave:n[4]||(n[4]=b=>e.onMouseLeaveForTip(b))},{default:t.withCtx(()=>[t.createVNode(c)]),_:2},1032,["onClick"])])],40,Bd))),128))])]),_:1},8,["modelValue","onChange"])])])]),_:3},16,["placement","width","onShow"])}const _l=Ne(Vd,[["render",Ld]]),Sn={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 _d(e,n,a,l="value"){for(let o=0;o<n.length;o++){let r=n[o];if(l==="text"){if(xn(e,r)===a)return o}else if(l==="item"){if(Pe(a,r))return o}else if(Go(e,r)===a)return o}return-1}function xn(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 Go(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function Pd(e,n){return typeof e.disabledKey=="string"&&e.disabledKey.length>0?n[e.disabledKey]:n.disabled??null}function qd(e,n,a){return typeof e.itemOptions=="function"?e.itemOptions(n,a):e.itemOptions}let zd=class{proxy;constructor(n){this.proxy=n}async load(n,a,l,o,r,i,u){if(Array.isArray(a)){let c=a;typeof u=="function"&&(c=c.filter(u));let h=(l-1)*o,d=h+o;d>c.length&&(d=c.length);const y=c.slice(h,d);return{totalSize:c.length,page:y}}if(typeof a=="function")return await Reflect.apply(a,null,[l,o,r,i]);const s=Fe(this.proxy,n);return s===null?(console.error(`${n} component not found api function`),{totalSize:0,page:[]}):(Le(r)&&t.isReactive(r)&&(r=t.toRaw(r)),await Reflect.apply(s,null,[a,l,o,r]))}};function jd(){const e=t.getCurrentInstance();return new zd(e.proxy)}function Hd(e,n,a,l,o,r,i,u,s,c,h){return{props:{...Sn},emits:["change","update:modelValue","update:text","loaded-data","update:visible"],setup(d,{slots:y}){const{emitEvent:x}=Qn(),{toLocaleRefs:b}=ve.useFoxI18n(n),p=b(d,["title","loadText","loadMoreText","seachPlaceholder","confirmText"]),g=jd(),H=t.ref([]),m=t.ref(0),f=t.ref(""),T=t.shallowRef(null),M=t.computed(()=>{const C={};return d.params&&Object.assign(C,d.params),de(f.value)||(C[`${d.searchKey}`]=f.value),T.value&&Object.assign(C,T.value),C});let A=!0;const F=async(C,B,S)=>{try{if($.value===!1)return;let W=null;de(f.value)||(W=k=>{const Y=xn(d,k);if(typeof Y=="string"&&Y.includes(f.value))return!0;const ee=Uo(d,k);return!!(typeof ee=="string"&&ee.includes(f.value))});const X=await g.load("actionsheet",C,B,S,M.value,A,W??void 0);A=!1,Array.isArray(X)?(H.value=X,m.value=1,$.value=!1):!Array.isArray(X.page)||X.page.length===0?(console.warn("[FoxUI] can not load more data"),$.value=!1):(Reflect.apply([].push,H.value,X.page),m.value=Math.ceil(H.value.length/d.pageSize),(X.totalSize&&H.value.length>=X.totalSize||S<X.page.length)&&($.value=!1)),z.value=!1}catch(W){console.error("[FoxUI] ActionSheet load more data fail",W),$.value=!0,m.value=0,H.value=[]}setTimeout(()=>{x("loaded-data")},250)},z=t.ref(!1),$=t.ref(!0),I=async()=>{if(!d.source){z.value=!1;return}await F(d.source,m.value+1,d.pageSize)};t.watch(()=>f.value,(C,B)=>{de(C)&&!de(B)&&I()}),t.watch([()=>d.source,()=>d.pageSize,()=>d.params],async([C,B,S])=>{d.source&&I()},{immediate:!0});const w=t.computed(()=>!d.multiple&&d.isAutoBackFill),K=t.ref([]);let J=null;const L=t.ref(d.visible);t.watch(()=>d.visible,C=>{L.value!==C&&(L.value=C),C?J=[...K.value]:J=null});const V=(C,B)=>{const S=[];return Array.isArray(C)||(C=[C]),C.forEach(W=>{let X=_d(d,B,W,d.valueType);X!==-1&&S.push(X)}),Pe(S,K.value)?!1:(K.value=S,!0)};t.watch([()=>d.modelValue,()=>H.value],([C,B],[S,W])=>{if(V(C,B)){const k=P();R(k)}},{deep:!0});const P=()=>{const C=[],B=[],S=[];for(let Y of K.value){const ee=H.value[Y];B.push(ee);const ae=xn(d,ee);if(S.push(ae),d.valueType==="item")C.push(ee);else if(d.valueType==="text")C.push(ae);else{const ne=Go(d,ee);C.push(ne)}}let W=null,X=null,k=null;return d.multiple?(W=C,X=S,k=B):(W=C[0]??null,X=S[0]??null,k=B[0]??null),{value:W,text:X,item:k}},R=C=>{x("update:modelValue",C.value),x("update:text",C.text),x("change",C.value,C.item,C.text)},Z=()=>{J&&(K.value=J)},U=C=>{const B=K.value.indexOf(C);d.multiple?B===-1?K.value.push(C):K.value.splice(B,1):B===-1?K.value=[C]:K.value=[],(w.value||!d.poppable&&!d.showFooter)&&D()},j=C=>{L.value=C,x("update:visible",C)},te=()=>{const C=()=>{Z(),j(!1)},B=d.beforeMethod??d.beforeClose;if(typeof B=="function"){const S=B("close");Wt(S)?S.then(W=>{W!==!1&&C()}).catch(()=>{C()}):S!==!1&&C()}else C()},D=()=>{const C=P(),B=()=>{R(C),j(!1)},S=d.beforeMethod??d.beforeClose;if(typeof S=="function"){const W=S("confirm",C.value,C.item,C.text);Wt(W)?W.then(X=>{X!==!1&&B()}).catch(()=>{B()}):W!==!1&&B()}else B()},E=()=>{$.value=!0,m.value=0,H.value=[],d.source&&I()},q=()=>{let C=p.title.value??"";y.title&&(C=y.title());const B=t.h("view",{class:["fox-actionsheet__header-title"]},[C]),S=t.h(s,{class:["fox-actionsheet__header-icon"],onClick:te});return t.h("view",{class:["fox-actionsheet__header"]},[B,S])},_=()=>{let C=null;if(y.search)C=y.search();else{const B={onSearch:E,placeholder:p.seachPlaceholder.value,disabled:d.disabled,modelValue:f.value,"onUpdate:modelValue":S=>{f.value=S}};C=t.h(r,B,{leftin:()=>t.h(c)})}return t.h("view",{class:["fox-actionsheet__searchbar"]},[C])},N=(C,B,S,W,X)=>{if(y.optionLabel)return y.optionLabel({text:C,checked:B,disabled:S,subText:W,item:X});const k=[],Y=t.h("view",{class:"fox-actionsheet__list-item-text"},[C]);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=(C,B,S,W)=>{if(y.optionIcon)return y.optionIcon({checked:C,disabled:B,iconSize:S,item:W});if(C){if(y.checkedIcon)return y.checkedIcon({disabled:B,item:W});{const X=d.checkedIcon??u;return t.h(X,{width:S,height:S,class:["fox-actionsheet__list-item-icon"]})}}else{if(y.icon)return y.icon({disabled:B,item:W});{const X=d.icon??i;return t.h(X,{width:S,height:S,class:["fox-actionsheet__list-item-icon"]})}}},le=()=>{const C=[];for(let B=0;B<H.value.length;B++){const S=H.value[B],W=xn(d,S),X=Uo(d,S),k=["fox-actionsheet__list-item"],Y={};let ee=Pd(d,S),ae=d.iconSize?pe(d.iconSize):null;const ne=qd(d,S,B);ne&&(ee=ee||ne.disabled,ne.class&&k.push(ne.class),ne.style&&Object.assign(Y,ne.style)),ee=!!(d.disabled||ee);const oe=K.value.includes(B);ee&&k.push("is-disabled"),oe&&k.push("is-checked");const re={class:k,style:Y,key:`${B}`,onClick:()=>{ee||U(B)}};let se=[];if(y.option)se.push(y.option({item:S,checked:oe,disabled:ee}));else{const ye=N(W,oe,ee,X,S);se.push(ye);const ze=Q(oe,ee,ae,S);se.push(ze)}const me=t.h("view",re,se);C.push(me)}return C},G=()=>{let C=[];if(y.buttons)C=y.buttons();else{const S=t.h(o,{type:"primary",class:"fox-actionsheet__footer-confirm",block:"block",onClick:D,disabled:d.disabled},{default:()=>p.confirmText.value});C.push(S)}return t.h("view",{class:"fox-actionsheet__footer"},[C])};return be({search:async(C=null,B=!0)=>{T.value=C&&t.toRaw(C),t.triggerRef(T),B&&($.value=!0,m.value=0,H.value=[]),t.nextTick(()=>{I()})},clear:()=>{$.value=!0,m.value=0,H.value=[]},confirm:()=>{D()},cancel:()=>{te()}}),()=>{const C=[];if(d.showHeader){const ae=q();C.push(ae)}if(d.showSearchbar){const ae=_();C.push(ae)}let B=null;if(y.content)B=y.content();else{const ae=le(),ne={hasMore:$.value,loadText:p.loadText.value,loadMoreText:p.loadMoreText.value,modelValue:z.value,"onUpdate:modelValue":oe=>{z.value=oe},onLoadMore:I};B=t.h(l,ne,{default:()=>ae})}const S={};d.optionsHeight&&(S.height=d.optionsHeight);const W={"fox-actionsheet__list":!0};d.poppable||(W["fox-actionsheet__list--inner"]=!0);const X=t.h("view",{class:W,style:S},[B]);if(C.push(X),d.showFooter&&!w.value){const ae=G();C.push(ae)}const k=t.h("view",{class:"fox-actionsheet"},C);if(!d.poppable)return k;const Y=["fox-actionsheet__popup"];d.popClass&&Y.push(d.popClass);const ee={popClass:Y.join(" "),visible:L.value,closeable:!1,"onUpdate:visible":j,position:d.position,round:"round",onClickOverlay:te,closeOnClickOverlay:d.closeOnClickOverlay};return t.h(a,ee,{default:()=>k})}}}}const Kd=/scroll|auto|overlay/i,Xo=window;function Wd(e){return e.tagName!=="HTML"&&e.tagName!=="BODY"&&e.nodeType===1}function Yd(e,n=Xo){let a=e;for(;a&&a!==n&&Wd(a);){const{overflowY:l}=window.getComputedStyle(a);if(Kd.test(l))return a;a=a.parentNode}return n}function Zo(e,n=Xo){const a=t.ref();return t.onMounted(()=>{e.value&&(a.value=Yd(e.value,n))}),a}const Jo=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,Ud={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 Gd(e,n,a){return{props:{...Ud},emits:["scroll-change","load-more","update:modelValue"],setup(l,{emit:o,slots:r}){const{toLocaleRefs:i}=ve.useFoxI18n(n),u=i(l,["pullText","loadText","loadMoreText"]),s=t.ref(),c=Zo(s),h=t.reactive({beforeScrollTop:0,isInfiniting:!1,y:0,x:0,distance:0}),d=t.computed(()=>({[e]:!0})),y=m=>m?m.offsetTop+y(m.offsetParent):0,x=()=>{let m=0,f=0,T="down";if(c.value==window){const M=Jo();s.value&&(m=y(s.value)+s.value.offsetHeight-M-window.innerHeight),f=M}else{const{scrollHeight:M,clientHeight:A,scrollTop:F}=c.value;m=M-A-F,f=F}return h.beforeScrollTop>f?T="up":T="down",h.beforeScrollTop=f,o("scroll-change",f),m<=l.threshold&&T=="down"},b=()=>{Fn(()=>{if(!x()||!l.hasMore||h.isInfiniting)return!1;h.isInfiniting=!0,o("update:modelValue",!0),t.nextTick(()=>o("load-more"))})},p=()=>{c.value&&c.value.addEventListener("scroll",b,l.useCapture)},g=()=>{c.value&&c.value.removeEventListener("scroll",b,l.useCapture)};t.onMounted(()=>{p(),l.immediate&&b()}),t.onUnmounted(()=>{g()});const H=t.ref(!1);return t.onActivated(()=>{H.value&&(H.value=!1,p())}),t.onDeactivated(()=>{H.value=!0,g()}),t.watch(()=>l.modelValue,m=>{m||(h.isInfiniting=!1)}),()=>{const m={class:"fox-infinite__container"},f=t.h("view",m,[r?.default?.()]),T=[];if(h.isInfiniting){let z=r?.loading?.()??null;if(!z){let w=r?.loadingIcon?.()??null;if(!w){const L={class:["fox-infinite__bottom-box__img"]};w=t.h(a,L)}const K={class:"fox-infinite__bottom-box__text"},J=t.h("view",K,[u.loadText.value]);z=[w,J]}const $={class:"fox-infinite__bottom-box"},I=t.h("view",$,z);T.push(I)}else if(!l.hasMore){let z=r?.finished?.()??null;if(!z){const $={class:"fox-infinite__bottom-tips"};z=t.h("view",$,[u.loadMoreText.value]),T.push(z)}}const M={class:"fox-infinite__bottom"},A=t.h("view",M,T),F={class:d.value,ref:s};return t.h("view",F,[f,A])}}}}const{componentName:Xd,create:Zd,scope:Jd}=ue("infinite-loading"),Tn=Zd(Gd(Xd,Jd,bn)),Qd={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"}},eh=(e,n,a)=>({props:{...Qd},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}=Qn(),{toLocaleRefs:i}=ve.useFoxI18n(n),u=i(l,["placeholder"]),s=t.reactive({active:!1}),c=t.computed(()=>({background:l.background})),h=t.computed(()=>({background:l.inputBackground})),d=$=>{let w=$.target.value;l.maxLength&&w.length>Number(l.maxLength)&&(w=w.slice(0,Number(l.maxLength))),r("update:modelValue",w,$),r("change",w,$)},y=t.ref({}),x=$=>{let w=$.target.value;s.active=!0,y.value=l.focusStyle,r("focus",w,$)},b=$=>{setTimeout(()=>{s.active=!1},0);let w=$.target.value;l.maxLength&&w.length>Number(l.maxLength)&&(w=w.slice(0,Number(l.maxLength))),y.value={},r("blur",w,$)},p=$=>{r("update:modelValue","",$),r("change","",$),r("clear","")},g=t.computed(()=>String(l.modelValue).length>0),H=t.computed(()=>{const $={};return g.value||($.display="none"),$}),m=()=>{r("search",l.modelValue)},f=$=>{r("keyup-input",$),$.key.toLocaleUpperCase()==="ENTER"&&m()},T=$=>{r("click-input",$)},M=$=>{r("click-left-icon",l.modelValue,$)},A=t.computed(()=>({textAlign:l.inputAlign})),F=t.ref(null);t.onMounted(()=>{l.autofocus&&F.value.focus()});const z=()=>{const $=[];if(o.leftin){const L={class:[`${e}__search-icon`,`${e}__input-left-search-icon`],onClick:M},V=t.h("view",L,[o.leftin()]);$.push(V)}const I={ref:F,class:[`${e}__input-inner`],style:A.value,type:l.inputType,maxlengt:l.maxLength,placeholder:u.placeholder.value,value:l.modelValue,disabled:l.disabled,readonly:l.readonly,onClick:T,onInput:d,onFocus:x,onBlur:b,onkeyup:f},w=t.h("input",I);$.push(w);const K=[];if(l.clearable){const L={class:[`${e}__search-icon`,`${e}__input-clear-icon`],style:H.value,onClick:p},V=o?.clear?.()??l.clearIcon??a,P=t.h("view",L,[t.h(V)]);K.push(P)}if(o.rightin){const L={class:[`${e}__search-icon`,`${e}__input-right-search-icon`]},V=t.h("view",L,[o.rightin()]);K.push(V)}if(K.length>0){const L={class:`${e}__input-inner-right`},V=t.h("view",L,K);$.push(V)}const J={class:[`${e}__search-input`,`${l.shape}`],style:{...h.value,...y.value}};return t.h("view",J,$)};return()=>{const $=[];if(l.label){const K={class:`${e}__search-label`},J=t.h("span",K,[l.label]);$.push(J)}if(o.leftout){const K={class:[`${e}__search-icon`,`${e}__left-search-icon`]},J=t.h("view",K,[o.leftout()]);$.push(J)}const I=z();if($.push(I),o.rightout){const K={class:[`${e}__search-icon`,`${e}__right-search-icon`]},J=t.h("view",K,[o.rightout()]);$.push(J)}const w={class:`${e}`,style:c.value};return t.h("view",w,$)}}}),{componentName:th,create:nh,scope:lh}=ue("searchbar"),Cn=nh(eh(th,lh,$e.CircleClose)),{componentName:ah,create:oh,scope:rh}=ue("actionsheet-pane"),$n=oh(Hd(ah,rh,ut,Tn,O.ElButton,Cn,_u,Bu,So,bu)),Qo={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 ih(e,n,a,l,o){return{props:{...we,...De,...Qo,...Sn},emits:["change","update:modelValue","blur","focus","clear","update:text","setValue"],setup(r,i){const u=t.ref(null),s=Ie(t.computed(()=>u.value??r.disabled)),c=t.ref(null),h=Ve(t.computed(()=>c.value??r.readonly)),{emitEvent:d}=Ce({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}=ve.useFoxI18n(n),x=y(r,["placeholder"]),b=t.ref(!1),p=he(r,"modelValue",null,d),g=t.ref(""),H=t.computed(()=>Array.isArray(g.value)?g.value.join(r.separator):g.value),m="fox-input-item",f=t.computed(()=>({[m]:!0,[`${m}__disabled`]:s.value})),T=Ee(t.computed(()=>r.textAlign),"textAlign"),M=t.computed(()=>{const R={};return T.value&&(R["text-align"]=T.value),R}),A=t.ref(!1),F=()=>{A.value=!0},z=R=>{A.value=R},$=R=>{p.value=R,d("update:modelValue",R)},I=(R,Z)=>{d("change",R,Z)},w=R=>{let U=R.target.value;b.value=!0,d("focus",U,R)},K=R=>{setTimeout(()=>{b.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)},J=R=>{g.value=R,d("update:text",R)},L=t.computed(()=>Ke(r.unit)>0),V=t.ref(),P=t.ref(null);return be({focus:()=>{V?.value.focus()},blur:()=>{V?.value.blur()},select:()=>{V?.value.select()},search:R=>{P.value&&P.value.search(R)},clear:()=>{P.value&&P.value.clear},confirm:R=>{P.value&&P.value.confirm()},cancel:()=>{P.value&&P.value.cancel()},setDisabled:R=>{u.value=R},setReadonly:R=>{c.value=R}}),()=>{const R={ref:V,class:f.value,style:M.value,type:"text",maxlength:r.maxLength,placeholder:x.placeholder.value,readonly:!0,value:H.value,onClick:F,onFocus:w,onBlur:K},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:L.value?Z.suffix=()=>[r.unit]:Z.suffix=()=>t.h(O.ElIcon,{},{default:()=>t.h($e.ArrowDown)});const U=[],j=t.h(O.ElInput,R,Z);U.push(j);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=kt(r,Sn);D.ref=P,D.class=r.actionsheetProps,D.disabled=s.value||h.value,D.visible=A.value,D["onUpdate:visible"]=z,D.modelValue=p.value,D["onUpdate:modelValue"]=$,D.text=g.value,D["onUpdate:text"]=J,D.onChange=I,D.poppable=!0;const E={title:i.slots.title,search:i.slots.search,option:i.slots.option,optionLabel:i.slots.optionLabel,optionIcon:i.slots.optionIcon,buttons:i.slots.buttons},q=t.h(l,D,E);te.hide=()=>[q];const N={...ke(r,Qo,Sn)};return r.prop&&(N.prop=`${r.prop}_item`),t.h(a,N,te)}}}}const{componentName:sh,create:uh,scope:ch}=ue("actionsheet-item"),Pl=uh(ih(sh,ch,Se,$n)),er={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}},ql={...vl,...er,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 fh(e){return e===window}const zl=e=>{const n=t.unref(e);if(fh(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}},tr=10;function nr(e,n){return e>n&&e>tr?"horizontal":n>e&&n>tr?"vertical":""}function Lt(){const e=window.navigator.userAgent;return"ontouchstart"in window||e.indexOf("touch")!==-1||e.indexOf("mobile")!==-1}function _t(){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 c=i.touches[0];e.deltaX=c.clientX-e.startX,e.deltaY=c.clientY-e.startY,e.moveX=c.clientX,e.moveY=c.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=nr(e.offsetX,e.offsetY))},start:i=>{if(l(),i.touches){const c=i.touches[0];e.startX=c.clientX,e.startY=c.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 lr(){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),c=t.ref(0),h=t.ref(""),d=()=>h.value==="vertical",y=()=>h.value==="horizontal",x=()=>{i.value=0,u.value=0,s.value=0,c.value=0,h.value="",a.value=0};return{move:g=>{if(g.touches){const f=g.touches[0];i.value=f.clientX-e.value,u.value=f.clientY-n.value,o.value=f.clientX,r.value=f.clientY}else{const m=g;i.value=m.clientX-e.value,u.value=m.clientY-n.value,o.value=m.clientX,r.value=m.clientY}s.value=Math.abs(i.value),c.value=Math.abs(u.value),l.value=Date.now()-a.value,h.value||(h.value=nr(s.value,c.value))},start:g=>{if(x(),g.touches){const f=g.touches[0];e.value=f.clientX,n.value=f.clientY}else{const m=g;e.value=m.clientX,n.value=m.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:c,direction:h,isVertical:d,isHorizontal:y}}let ar=36;function dh(){return ar}function hh(e){ar=e}function Ge(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function jl(e,n){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?n[e.childrenKey]:n.children??null}function mh(e,n,a){typeof e.childrenKey=="string"&&e.childrenKey.length>0&&(n[e.childrenKey]=a),n.children=a}function ft(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function or(e,n){return typeof e.itemOptions=="function"?e.columnOptions(n):e.columnOptions}let gh=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=Fe(this.proxy,n);return o===null?(console.error(`${n} component not found api function`),[]):(Le(l)&&t.isReactive(l)&&(l=t.toRaw(l)),await o(a,l))}};function yh(){const e=t.getCurrentInstance();return new gh(e.proxy)}function rr(e,n,a){const l=Ge(e,n),o=Ge(e,a);if(l!==o)return!1;const r=ft(e,n),i=ft(e,a);return r===i}function ph(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 c=a[i].findIndex(h=>{if(r==="text")return Ge(e,h)===u;if(r==="value"){let d=ft(e,h);return d==null&&(d=Ge(e,h)),d===u}else if(r==="item")return rr(e,h,u)});if(c==-1)break;o.push(c)}else{let i=a[0];for(let u=0;u<n.length;u++){const s=n[u];let c=i.findIndex(d=>{if(r==="text")return Ge(e,d)===s;if(r==="value"){let y=ft(e,d);return y==null&&(y=Ge(e,d)),y===s}else if(r==="item")return rr(e,d,s)});if(c==-1)break;o.push(c);const h=jl(e,i[c]);if(!Array.isArray(h))break;i=h}}return o}function ir(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 c=u[s],h=Ge(e,c);if(o.texts.push(h),o.items.push(c),r==="text")o.values.push(h);else if(r==="value"){let d=ft(e,c);d==null&&(d=h),o.values.push(d)}else o.values.push(c)}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 c=i[s],h=Ge(e,c),d=Object.assign({},c);if(d.children=null,o.texts.push(h),o.items.push(d),r==="text")o.values.push(h);else if(r==="value"){let y=ft(e,c);y==null&&(y=h),o.values.push(y)}else o.values.push(d);if(!Array.isArray(c.children))break;i=c.children}}return o}function sr(e){return{text:e,value:e}}const bh=15,vh=300,wh=200,{create:Sh}=ue("picker-column");function xh(e){e.stopPropagation()}function Th(e,n){(typeof e.cancelable!="boolean"||e.cancelable)&&e.preventDefault(),xh(e)}const Ch=Sh({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},...er},emits:["click","change","update:modelValue"],setup(e,{emit:n}){const a=t.computed(()=>({"fox-picker__list":!0})),l=t.computed(()=>({height:`${ge(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=F=>F>=d.currIndex+8||F<=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=F=>`transform: rotate3d(1, 0, 0, ${-d.rotation*F}deg) translate3d(0px, 0px, 104px)`,c=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=F=>Ge(e,F),x=F=>ft(e,F),b=lr(),p=()=>{d.transitionEndTrigger&&(d.transitionEndTrigger(),d.transitionEndTrigger=null)},g=(F,z=!1,$=!1)=>{if(d.currIndex=F,z){const I=()=>{d.moving=!1,n("update:modelValue",F),n("change",F)};$?d.transitionEndTrigger=I:I()}},H=(F,z,$)=>{let I=F+d.startDistance;if(z==="end"){const w=-(e.source.length-1)*e.itemHeight;I<w&&(I=w),I>0&&(I=0);let K=Math.abs(Math.round(-I/e.itemHeight));const J=-K*e.itemHeight,L=`${(K+1)*d.rotation}deg`,V=$?$>0:!1;g(K,!0,V),m(J,z,$,L)}else{let w=(-I/e.itemHeight+1)*d.rotation;const K=(e.source.length+1)*d.rotation,J=0;if(w=Math.min(Math.max(w,J),K),e.threeDimensional&&(w<J||w>K))return;m(I,null,void 0,`${w}deg`)}},m=(F=0,z,$=wh,I)=>{z==="end"?d.scrollTime=$:d.scrollTime=0,d.deg=I,d.scrollDistance=F},f=(F,z)=>(F=Math.abs(F/z)/.003*(F<0?-1:1),F),T=F=>{e.readonly||(d.startDistance=d.scrollDistance,b.start(F),d.transitionEndTrigger=null)},M=F=>{e.readonly||(d.moving=!0,b.move(F),b.isVertical()&&(d.moving=!0,Th(F)),H(b.deltaY.value,"",0))},A=()=>{if(e.readonly)return;const F=b.deltaY.value,z=b.duration.value;if(z<vh&&Math.abs(F)>bh){const I=f(F,z);H(I,"end",e.swipeDuration)}else H(F,"end",0)};return t.watch(()=>e.modelValue,F=>{const z=d.currIndex-F;if(z!==0){d.currIndex=F,d.startDistance=d.scrollDistance;const $=z*e.itemHeight;H($,"",0)}}),t.watch(()=>e.source,F=>{if(d.currIndex>=F.length){const I=(F.length-1-d.currIndex)*e.itemHeight;d.startDistance=d.scrollDistance,H(I,"end",0)}}),t.watch(()=>e.visible,F=>{F===!1&&p()}),t.onMounted(()=>{const F=-e.modelValue*e.itemHeight;H(F)}),{classes:a,styles:l,contentClasses:o,itemText:y,itemValue:x,...t.toRefs(d),roller:h,getItemText:Ge,onTouchStart:T,onTouchMove:M,onTouchEnd:A,isHidden:i,setRollerStyle:s,touchRollerStyle:u,touchTileStyle:c,stopMomentum:p}}}),$h={key:1,class:"fox-picker__item-tile"};function kh(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",$h,t.toDisplayString(e.itemText(i)),1))],64))),128))],6)],38)}const Dh=Ne(Ch,[["render",kh]]),{create:Nh,componentName:Eh,scope:Vh}=ue("picker"),Ih=Nh({components:{PickerColumn:Dh,Popup:ut},props:{...ql},emits:["close","change","confirm","update:visible","update:text","update:modelValue","clear"],setup(e,{emit:n}){const{toLocaleRefs:a,t:l}=ve.useFoxI18n(Vh),o=a(e,["title","cancelText","clearText","confirmText"]),r=t.ref(null),i=t.ref(dh());t.watch(()=>e.visible,w=>{w&&i.value<=0&&setTimeout(()=>{if(r.value){const K=zl(r.value);i.value=K.height,hh(i.value)}},50)});const u=t.computed(()=>({[Eh]:!0})),s=yh(),c=t.ref("singleColumn");let h=t.ref([]);t.watch([()=>e.source,()=>e.params],async([w,K])=>{if(w){let J=await s.load("select",w,K);if(J.length>0){let L=J[0];if(Array.isArray(L)){if(typeof L[0]=="string"){let V=J,P=[];V.forEach(R=>{let Z=R.map(U=>sr(U));P.push(Z)}),h.value=P}else h.value=J;c.value="multipleColumn"}else if(typeof L=="string"){let V=J,P=[],R=V.map(Z=>sr(Z));P.push(R),h.value=P,c.value="singleColumn"}else{const V=jl(e,L);Array.isArray(V)?(c.value="cascade",h.value=[J]):(c.value="singleColumn",h.value=[J])}}else h.value=[]}},{immediate:!0});const d=t.ref([]),y=t.ref(e.modelValue),x=t.ref([]),b=t.ref([]);t.watch([()=>e.modelValue,()=>h.value],([w,K])=>{let J=ph(e,w,K,c.value);if(!Pe(J,b.value)){b.value=J;let L=ir(e,J,K,c.value);L&&(d.value=L.texts,n("update:text",d.value))}});const p=t.ref(e.visible);t.watch(()=>e.visible,w=>{p.value=w});const g=w=>{let K=or(e,w);return Le(K)?K.defaultIndex??0:0},H=w=>{if(e.readonly===!0)return!0;let K=or(e,w);return Le(K)?K.readonly??!1:!1},m=(w,K)=>{let J=b.value;J[w]=K;for(let V=0;V<w;V++)J[V]==null&&(J[V]=g(V));if(c.value==="cascade")for(let V=w+1;V<T.value.length;V++){let P=g(V);V<J.length?J[V]=P:J.push(P)}else for(let V=J.length;V<T.value.length;V++){let P=g(V);J.push(P)}b.value=J;let L=ir(e,J,h.value,c.value);L&&(d.value=L.texts,y.value=L.values,x.value=L.items)},f=w=>w<b.value.length?b.value[w]:g(w),T=t.computed(()=>{if(h.value.length==0)return[];if(c.value=="singleColumn"||c.value=="multipleColumn")return h.value;let w=[],K=0,J=h.value[0],L=0;for(;;){let V=J.map(Z=>{let U=Object.assign({},Z);return mh(e,U,null),U});w.push(V),K>=b.value.length?L=0:L=b.value[K],(L<0||L>=J.length)&&(L=0);let P=J[L];const R=jl(e,P);if(!Array.isArray(R))break;J=R,K++}return w}),M=t.computed(()=>ge(+e.visibleItemCount-1)/2*i.value),A=(w=!1)=>{if(e.readonly===!0){w&&n("update:visible",!1);return}let K=h.value.length-1;for(;K>=0&&!(b.value[K]===null||b.value[K]===void 0);K--);if(K>=0&&m(K,0),c.value==="singleColumn"){let J=y.value.length>0?y.value[0]:"",L=x.value.length>0?x.value[0]:null;n("update:modelValue",J),n("update:text",d.value),n("change",J,L),w&&(n("confirm",J),n("update:visible",!1))}else n("update:modelValue",y.value),n("update:text",d.value),n("change",y.value,x.value),w&&(n("confirm",y.value),n("update:visible",!1))};return{...o,pickerLineRef:r,classes:u,columns:T,dataType:c,show:p,itemHeight:i,top:M,isReadonly:H,getIndex:f,change:(w,K)=>{if(m(w,K),e.isAutoBackFill){const J=!p.value;A(J)}},close:()=>{n("close"),n("update:visible",!1)},confirm:()=>{A(!0)},clear:()=>{if(e.readonly===!0){n("update:visible",!1);return}c.value==="singleColumn"?(n("update:modelValue",""),n("change","")):(n("update:modelValue",[]),n("change",[])),n("clear",""),n("update:visible",!1)}}}}),Oh={class:"fox-picker__bar"},Ah={class:"fox-picker__title"},Fh={class:"fox-picker__bar__action"},Bh={class:"fox-picker__column"};function Mh(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",Oh,[t.createElementVNode("view",Ah,t.toDisplayString(e.title),1),t.createElementVNode("view",Fh,[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",Bh,[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,c)=>(t.openBlock(),t.createElementBlock("view",{key:c,class:"fox-picker__columnitem"},[t.createVNode(i,{visible:e.show,source:s,readonly:e.isReadonly(c),"column-index":c,modelValue:e.getIndex(c),"onUpdate:modelValue":h=>e.change(c,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 Pt=Ne(Ih,[["render",Mh]]),ur={...ql,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 Rh(e,n,a){return{props:{...we,...De,...ur},emits:["change","update:modelValue","blur","focus","clear","update:text","setValue"],setup(l,o){const r=t.ref(null),i=Ie(t.computed(()=>r.value??l.disabled)),u=t.ref(null),s=Ve(t.computed(()=>u.value??l.readonly)),{emitEvent:c}=Ce({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}=ve.useFoxI18n(n),d=h(l,["placeholder"]),y=t.ref(!1),x=e,b=t.computed(()=>({[x]:!0})),p=Ee(t.computed(()=>l.textAlign),"textAlign"),g=t.computed(()=>({textAlign:p.value??"right"})),H=he(l,"modelValue",null,c),m=t.ref([]),f=t.computed(()=>Array.isArray(m.value)?m.value.join(" "):m.value),T=t.ref(!1),M=()=>{T.value=!0},A=R=>{T.value=R},F=R=>{H.value=R,c("update:modelValue",R)},z=R=>{m.value=R,Array.isArray(R)&&R.length===0?c("update:text",R[0]):c("update:text",R)},$=(R,Z)=>{c("change",R,Z)};let I=he(l,"hintText"),w=t.ref(!1);const K=R=>{let U=R.target.value;y.value=!0,de(I.value)||(w.value=!0),c("focus",U,R)},J=R=>{setTimeout(()=>{w.value&&(w.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))),T.value?setTimeout(()=>{c("blur",U,R)},50):c("blur",U,R)},L=()=>{c("clear","")},V=t.computed(()=>Ke(l.unit)>0),P=t.ref();return be({focus:()=>{P?.value.focus()},blur:()=>{P?.value.blur()},select:()=>{P?.value.select()},setDisabled:R=>{r.value=R},setReadonly:R=>{u.value=R}}),()=>{const R={class:b.value,style:g.value,type:"text",maxlength:l.maxLength,placeholder:d.placeholder.value,clearable:ce(l.clearable),readonly:!0,value:f.value,onClick:M,onFocus:K,onBlur:J},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:V.value?Z.suffix=()=>[l.unit]:Z.suffix=()=>t.h(O.ElIcon,{},{default:()=>t.h($e.ArrowDown)});const U=[],j=t.h(O.ElInput,R,Z);U.push(j);const te={default:()=>U};o.slots.default&&(te.label=o.slots.default),o.slots.fixedTip&&(te.fixedTip=o.slots.fixedTip);const D=kt(l,ql);D.disabled=!1,D.readonly=i.value||s.value,D.visible=T.value,D["onUpdate:visible"]=A,D.modelValue=H.value,D["onUpdate:modelValue"]=F,D.text=m.value,D["onUpdate:text"]=z,D.onClear=L,D.onChange=$;const E=t.h(Pt,D);te.hide=()=>[E];const _={...ke(l,ur),hintText:I.value,hintVisible:w.value};return l.prop&&(_.prop=`${l.prop}_item`),t.h(a,_,te)}}}}const{componentName:Lh,create:_h,scope:Ph}=ue("picker-item"),Hl=_h(Rh(Lh,Ph,Se)),qh={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}},cr=(e,n)=>n[e.textKey],qt=(e,n)=>n[e.valueKey],zh=(e,n)=>n[e.visibleKey],fr=(e,n)=>n[e.disabledKey],jh=(e,n)=>{const a=n[e.doitKey];return ce(a)},Hh=(e,n)=>{const a=n[e.numKey];return a==null?null:ge(n[a])},dr=(e,n,a)=>{const l=e.itemOptions;return typeof l=="function"?l(n,a):l||null};function Kh(e,n,a,l=!1){return{props:{...qh},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}),c=t.computed(()=>({})),h=t.computed(()=>{if(!o.gutter)return 0;const D=pe(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 p.value||(D.display="none"),D}),b=t.ref(),p=t.ref(!1),g=()=>{const D=!p.value;H(D)},H=D=>{const E=D;E?(p.value=E,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,b.value?b.value.addEventListener("transitionend",()=>{p.value=!1},{once:!0}):setTimeout(()=>{p.value=!1},0))},m=t.ref(),f=t.ref([]),T=(D,E)=>{f.value[E]=D},M=D=>E=>{T(E,D)},A=(D,E)=>{const q=m.value,_=f.value;if(!q||!_||!_[D])return;const N=_[D];let Q=0;o.direction==="vertical"?Q=N.offsetTop-(q.offsetHeight-N.offsetHeight)/2:Q=N.offsetLeft-(q.offsetWidth-N.offsetWidth)/2,F(q,Q,E?0:.3,o.direction)},F=(D,E,q,_)=>{let N=0;const Q=_==="horizontal"?D.scrollLeft:D.scrollTop,le=q===0?1:Math.round(q*1e3/16);function G(){_==="horizontal"?D.scrollLeft+=(E-Q)/le:D.scrollTop+=(E-Q)/le,++N<le&&Hn(G)}G()},z=(D,E)=>{const q=qt(o,D),_={};return _[`${e}__titles-item`]=!0,_.disabled=fr(o,D),_.active=q===d.value,o.shape&&(_[`${o.shape}`]=!0),o.ellipsis&&(_.ellipsis=!0),E&&(E.class&&(_[`${E.class}`]=!0),E.disabled===!0&&(_.disabled=E.disabled)),_},$=(D,E)=>{const q={};if(h.value>0){const _=Math.abs(h.value/2);o.direction==="vertical"?(q["margin-top"]=`${_}px`,q["margin-bottom"]=`${_}px`):(q["margin-left"]=`${_}px`,q["margin-right"]=`${_}px`)}return E&&E.style&&Object.assign(q,E.style),q},I=(D,E)=>`${qt(o,D)??E}`,w=(D,E)=>{const q=qt(o,D),_={};_[`${e}__popup-item`]=!0,_.disabled=fr(o,D),_.active=q===d.value,o.shape&&(_[`${o.shape}`]=!0);const N=dr(o,D,E);return N&&N.disabled===!0&&(_.disabled=N.disabled),_},K=t.computed(()=>(o.data??[]).filter(E=>zh(o,E)!==!1)),J=(D,E)=>{const q=qt(o,D);if(d.value==q)return;const _=()=>{d.value=q,o.scroll&&A(E,!1),i("update:modelValue",q),i("change",D,E)};if(typeof o.beforeChange=="function"){const N=o.beforeChange(D,E);Wt(N)?N.then(Q=>{Q!==!1&&_()}).catch(()=>{_()}):N!==!1&&_()}else _()},L=(D,E)=>function(){J(D,E)},V=(D,E)=>{J(D,E),H(!1)},P=(D,E)=>function(){V(D,E)},R=D=>{if(!Array.isArray(o.data)||!o.scroll)return;const E=o.data.findIndex(q=>qt(o,q)===d.value);E!==-1&&A(E,D)};t.watch(()=>o.data,()=>{setTimeout(R,0)}),t.onMounted(()=>{R(!0)});const Z=(D,E)=>{if(r.item)return r.item({item:D,index:E});const q=dr(o,D,E),_=[];if(r.text){const G=r.text({item:D,index:E});_.push(G)}else{const G=[];if(q?.doit===!0||jh(o,D)){const W={class:[`${e}__titles-item-tip`,"doit"]},X=t.h("view",W);G.push(X)}const C=q?.num??Hh(o,D);if(C){let W="";const X=ge(C);X>=100?W="99+":W=`${X}`;const k={class:[`${e}__titles-item-tip`,"num"]},Y=t.h("view",k,[W]);G.push(Y)}const B={class:`${e}__titles-item-text`};G.push(cr(o,D));const S=t.h("view",B,G);_.push(S)}const N={class:`${e}__titles-item-line`},Q=t.h("view",N);_.push(Q);const le={ref:M(E),class:z(D,q),style:$(D,q),key:I(D,E),onClick:L(D,E)};return t.h("view",le,_)},U=()=>{const D=r.default?r.default():[];if(D.length===0)for(let q=0;q<K.value.length;q++){const _=K.value[q],N=Z(_,q);D.push(N)}const E={ref:m,class:s.value,style:c.value};return t.h("view",E,D)},j=()=>{let D=null;r.navigation?D=r.navigation():D=t.h(a);const E={class:`${e}__navigation`,onClick:g};return t.h("view",E,[D])},te=()=>{const D=[];for(let q=0;q<K.value.length;q++){const _=K.value[q];let N=null;r.popupItem?N=r.popupItem({item:_,index:q}):N=cr(o,_);const Q={class:w(_,q),key:I(_,q),onClick:P(_,q)},le=t.h("view",Q,[N]);D.push(le)}const E={class:y.value,style:x.value};return t.h("view",E,D)};return()=>{const D=[],E=U();if(D.push(E),o.showQuickNavigation){const _=j();D.push(_);const N=te();D.push(N)}const q={class:u.value};return t.h("view",q,D)}}}}const{create:Wh,componentName:Yh,scope:Uh}=ue("tabs-bar"),kn=Wh(Kh(Yh,Uh,xu,!1)),hr=Symbol("TabsStatesKey"),Gh={modelValue:{type:[String,Number]},direction:{type:[String],default:()=>"horizontal"},lazy:{type:[Boolean],default:()=>!0},draggle:{type:[Boolean],default:()=>!1}},Xh=15,Zh=300,Jh=200;function Qh(e,n,a=1){return e=Math.abs(e/n)/.003*(e<0?-1:1),e*a}function mr(e,n=0,a,l,o=Jh){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 em=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=Lt()}open(n){this.el=n;const a=_t(),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<Zh&&Math.abs(o)>Xh?(o=Qh(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 tm(e,n,a,l=1){return new em(e,n,a,l)}function nm(e,n,a=!1){return{props:{...Gh},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:T=>{const M={name:T};u.current.value===T&&(M.loaded=!0),i.value.push(M),t.triggerRef(i)},remove:T=>{const M=i.value.findIndex(A=>A.name===T);M!==-1&&i.value.splice(M,1)},isLoaded:T=>{if(!l.lazy)return!0;const M=i.value.findIndex(A=>A.name===T);return M!==-1?u.current.value?i.value[M].loaded??!1:M===0:!1}};t.provide(hr,u);const s=T=>{const M=i.value.findIndex(A=>A.name===T);M!==-1&&(i.value[M].loaded=!0,t.triggerRef(i))};t.watch([()=>l.modelValue,()=>l.direction],([T,M])=>{u.current.value!==T&&(u.current.value=T??"",s(T??"")),u.direction.value!==M&&(u.direction.value=M)});const c=t.ref(null),h=t.ref(null),d=t.computed(()=>({[e]:!0,[`${l.direction}`]:!0}));let y=!0;const x=t.computed(()=>{const T={},M=i.value.length;if(M<=0)return T;const A=i.value.findIndex(F=>F.name===u.current.value);return u.direction.value==="vertical"?u.tabHeight.value>0&&(T.height=`${M*u.tabHeight.value}px`,A!==-1&&(T.transform=`translate(0, -${A*u.tabHeight.value}px)`)):u.tabWidth.value>0&&(T.width=`${M*u.tabWidth.value}px`,A!==-1&&(T.transform=`translate(-${A*u.tabWidth.value}px, 0)`)),y&&(y=!1,T.transition="transform 0s ease"),T}),b={min:0,max:0,start:0,moved:0,itemDistance:0,triggerAutoMoveRatio:.3},p=T=>{const M=i.value.length,A=i.value.findIndex(F=>F.name===u.current.value);b.moved=0,T.direction==="vertical"?(b.min=-1*(u.tabHeight.value*(M-1)+u.tabHeight.value/4),b.max=u.tabHeight.value/4,b.start=-A*u.tabHeight.value,b.itemDistance=u.tabHeight.value):(b.min=-1*(u.tabWidth.value*(M-1)+u.tabWidth.value/4),b.max=u.tabWidth.value/4,b.start=-A*u.tabWidth.value,b.itemDistance=u.tabWidth.value)},g=T=>{const M=h.value;if(!M)return;let A=b.start+T.delta;if(A>b.max?A=b.max:A<b.min&&(A=b.min),T.type==="move")mr(M,A,"move",T.direction,300);else if(T.type==="end"){let F=Math.floor(Math.abs(A)*1/b.itemDistance);const z=Math.abs(A)%b.itemDistance;b.start>A?z>=b.itemDistance*b.triggerAutoMoveRatio&&(F+=1):z>b.itemDistance-b.itemDistance*b.triggerAutoMoveRatio&&(F+=1),A=-1*F*b.itemDistance,mr(M,A,"end",T.direction,300),b.moved=A;const $=i.value[F].name;u.current.value=$??"",s($??""),o("update:modelValue",$)}},H=()=>{};let m=null,f=null;return t.onMounted(()=>{if(!c.value)return;const T=()=>{const M=sn(c.value);u.tabWidth.value=M.width,u.tabHeight.value=M.height};window.ResizeObserver&&(f=new window.ResizeObserver(T),f.observe(c.value)),T(),l.draggle&&(m=tm(p,g,H),m.open(h.value))}),t.onBeforeUnmount(()=>{f&&(f.disconnect(),f=null),m&&m.close()}),()=>{const T={class:`${e}__panes`,style:x.value,ref:h},M=t.h("view",T,[r?.default?.()]),A={class:d.value,ref:c};return t.h("view",A,[M])}}}}const{create:lm,componentName:am,scope:om}=ue("tabs-container"),Dn=lm(nm(am,om,!1)),rm={paneKey:{type:[String,Number],required:!0},loaded:{type:[Boolean,String],default:null},emptyIcon:{type:[Object],required:!1},emptyText:{type:[String],required:!1}};function im(e,n,a){return{props:{...rm},setup(l,{emit:o,slots:r}){const i=t.inject(hr);t.onMounted(()=>{i.add(l.paneKey)}),t.onBeforeUnmount(()=>{i.remove(l.paneKey)});const u=t.computed(()=>{const c={};return i.direction.value==="vertical"&&i.tabHeight.value>0?c.height=`${i.tabHeight.value}px`:i.tabWidth.value>0&&(c.width=`${i.tabWidth.value}px`),c}),s=t.computed(()=>l.loaded!=null?ce(l.loaded):i.isLoaded(l.paneKey));return()=>{let c=[];if(s.value)c=r?.default?.()??[];else if(r.empty)c=r.empty();else{const d={class:`${e}__empty-icon`},y=l.emptyIcon??a,x=t.h(y,d),b={class:`${e}__empty-text`},p=l.emptyText??"Loading",g=t.h("view",b,[p]),H={class:`${e}__empty`},m=t.h("view",H,[x,g]);c.push(m)}const h={class:`${e}`,style:u.value};return t.h("view",h,c)}}}}const{create:sm,componentName:um,scope:cm}=ue("tabs-pane"),Nn=sm(im(um,cm,bn)),fm={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 dm(e,n){return typeof e.textKey=="string"&&e.textKey.length>0?n[e.textKey]:n.text}function gr(e,n){return typeof e.valueKey=="string"&&e.valueKey.length>0?n[e.valueKey]:n.value}function yr(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 Kl(e,n){return typeof e.statusKey=="string"&&e.statusKey.length>0?n[e.statusKey]:n.statusKey??null}function pr(e,n){return typeof e.doitKey=="string"&&e.doitKey.length>0?n[e.doitKey]:n.doitKey??null}function br(e,n){return typeof e.labelKey=="string"&&e.labelKey.length>0?n[e.labelKey]:n.labelKey??null}function Wl(e,n,a){return typeof e.itemOptions=="function"?e.itemOptions(n,a):e.itemOptions}class mm{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=Fe(this.proxy,n);return o===null?(console.error(`${n} component not found api function`),[]):(Le(l)&&t.isReactive(l)&&(l=t.toRaw(l)),await Reflect.apply(o,null,[a,l]))}}function gm(){const e=t.getCurrentInstance();return new mm(e.proxy)}function ym(e,n,a,l){return{props:{...fm},emits:["update:modelValue","change","loaded-data"],setup(o,{slots:r,emit:i}){const u=e,s=gm(),c=t.ref([]),h=t.computed(()=>c.value.filter(E=>hm(o,E)!==!1)),d=t.ref(-1),y=()=>{const E=o.modelValue,q=h.value.findIndex(_=>gr(o,_)===E);d.value!==q&&(d.value=q,o.scroll&&te(q))};t.watch([()=>o.modelValue,h],()=>{y()});const x=E=>d.value===E,b=E=>{if(E<0&&E>=h.value.length)return!1;const q=h.value[E],N=(Wl(o,q,E)??{}).status??Kl(o,q);return x(E)||N},p=t.computed(()=>{const E={[u]:!0};return o.mode?E[`is-${o.mode}`]=!0:o.direction&&(E[`is-${o.direction}`]=!0),o.scroll&&(E["is-scroll"]=!0),E}),g=t.computed(()=>({})),H=(E,q,_,N,Q)=>{const le={[`${u}__step`]:!0};return Q&&(le[`${Q}`]=!0),le[`${m.value}`]=!0,N&&(le["is-doit"]=!0),E===d.value?le["is-active"]=!0:q==="done"?le["is-done"]=!0:q==="error"?le["is-error"]=!0:q==="half"?le["is-half"]=!0:_?le["is-disabled"]=!0:le["is-normal"]=!0,le},m=t.computed(()=>{if(o.mode==="simple")return"start";let E=o.align;return E||(o.direction==="vertical"?E="start":E="center"),E}),f=(E,q={})=>{const _={...q};return m.value==="start"&&E===h.value.length-1?_.flex="0 0 auto":o.step?o.direction==="vertical"?_.height=o.step:_.width=o.step:_.flex="1 1 100%",_},T=(E,q)=>{let _={};if(q<h.value.length-1){const N=q+1;b(q)&&b(N)?o.direction==="vertical"?_.height="100%":_.width="100%":_.opacity="0"}return _},M=E=>h.value.length-1===E,A=(E,q)=>{if(o.clickNavigatePolicy==="disabled"||(o.clickNavigatePolicy==="only-back"||o.clickNavigatePolicy==="only-back-reset")&&q>d.value||d.value===q)return;const _=d.value,N=q;d.value=q,o.scroll&&te(q);const Q=gr(o,E);i("update:modelValue",Q);const le={fromIndex:_,currentIndex:N,item:E,items:h.value,clickNavigatePolicy:o.clickNavigatePolicy};i("change",Q,le)},F=t.ref(!0),z=async(E,q)=>{try{const _=await s.load("stesbar",E,q);Array.isArray(_)&&(c.value=_),F.value=!1}catch(_){console.error("[FoxUI] Load StepsBar Data Fail",_),c.value=[]}setTimeout(()=>{i("loaded-data")},250)};t.watch([()=>o.data,()=>o.params],async([E,q])=>{E&&z(E,q)},{immediate:!0});const $=(E,q,_,N,Q)=>{let le=null;if(r.icon)le=r.icon({item:E,index:q,status:N});else if(N==="done"){const C={};o.iconSize&&(C.width=o.iconSize,C.height=o.iconSize);const B=o.icon??a;le=t.h(B,C)}else{const C=_??`${q+1}`;le=t.h("span",{},[C])}const G={class:"fox-steps-bar__icon",onClick:()=>{Q||A(E,q)}};return t.h("view",G,[le])},I=(E,q,_)=>{const N=t.h("i",{class:"fox-steps-bar__line-inner",style:T(E,q)});return t.h("view",{class:"fox-steps-bar__line"},[N])},w=()=>{let E=null;if(r.markIcon)E=r.markIcon();else{const _={};o.iconSize&&(_.width=o.markIconSize,_.height=o.markIconSize);const N=o.markIcon??l;E=t.h(N,_)}return t.h("view",{class:"fox-steps-bar__mark"},[E])},K=(E,q,_,N,Q)=>{const le=[];if(!M(q)){const B=I(E,q);le.push(B)}const G=$(E,q,_,N,Q);le.push(G);const C={class:"fox-steps-bar__head"};return t.h("view",C,le)},J=(E,q,_,N)=>{let Q=null;r.main?Q=r.main({item:E,index:q,status:_}):Q=dm(o,E);const le={class:"fox-steps-bar__main",onClick:()=>{N||A(E,q)}};return t.h("view",le,[Q])},L=(E,q,_)=>{let N=null;if(r.sub){N=r.sub({item:E,index:q,status:_});const Q={class:"fox-steps-bar__sub"};return t.h("view",Q,[N])}return null},V=(E,q)=>{const _=Wl(o,E,q)??{},N=_.status??Kl(o,E);let Q=yr(o,E);_.disabled===!0&&(Q=!0),o.disabled===!0&&(Q=!0);const le=_.label??br(o,E),G=[],C=$(E,q,le,N,Q);C&&G.push(C);const B=J(E,q,N,Q);if(B&&G.push(B),!M(q)){const ee=I(E,q);ee&&G.push(ee)}const S=t.h("view",{class:"fox-steps-bar__head"},G),W=_.class,X=_.style??{};let k=pr(o,E);_.doit===!0&&(k=!0);const Y={ref:j(q),class:H(q,N,Q,k,W),style:f(q,X)};return t.h("view",Y,[S])},P=(E,q)=>{const _=Wl(o,E,q)??{},N=_.status??Kl(o,E);let Q=yr(o,E);_.disabled===!0&&(Q=!0),o.disabled===!0&&(Q=!0);const le=_.label??br(o,E),G=[],C=o.layout;for(let k of C)if(k==="head"){const Y=K(E,q,le,N,Q);G.push(Y)}else if(k==="main"){const Y=J(E,q,N,Q);G.push(Y)}else if(k==="sub"){const Y=L(E,q,N);G.push(Y)}else if(k==="mark"){const Y=w();G.push(Y)}const B=_.class,S=_.style??{};let W=pr(o,E);_.doit===!0&&(W=!0);const X={ref:j(q),class:H(q,N,Q,W,B),style:f(q,S)};return t.h("view",X,G)},R=t.ref(),Z=t.ref([]),U=(E,q)=>{Z.value[q]=E},j=E=>q=>{U(q,E)},te=(E,q)=>{const _=R.value,N=Z.value;if(!_||!N||!N[E])return;const Q=N[E];let le=0;o.direction==="vertical"?le=Q.offsetTop-(_.offsetHeight-Q.offsetHeight)/2:le=Q.offsetLeft-(_.offsetWidth-Q.offsetWidth)/2,D(_,le,.3,o.direction)},D=(E,q,_,N)=>{let Q=0;const le=N==="horizontal"?E.scrollLeft:E.scrollTop,G=Math.round(_*1e3/16);function C(){N==="horizontal"?E.scrollLeft+=(q-le)/G:E.scrollTop+=(q-le)/G,++Q<G&&Hn(C)}C()};return()=>{const E=[];if(o.mode==="simple")for(let _=0;_<h.value.length;_++){const N=h.value[_],Q=V(N,_);E.push(Q)}else for(let _=0;_<h.value.length;_++){const N=h.value[_],Q=P(N,_);E.push(Q)}const q={ref:R,class:p.value,style:g.value};return t.h("view",q,E)}}}}const{componentName:pm,create:bm,scope:vm}=ue("steps-bar"),Yl=bm(ym(pm,vm,xo,ju)),vr=new Date().getFullYear(),wm={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"},wr=(e,n,a)=>{let l;if(et(n)?l=n:typeof n=="string"&&Ke(n)>0?l=ie.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)},Sm=(e,n,a)=>{et(n)||(n=e.minDate);let l=Math.max(n.getTime(),e.minDate.getTime());return l=Math.min(l,e.maxDate.getTime()),ie.format(new Date(l),a)};let xm={modelValue:{type:[String,Date]},confirmText:{type:String,default:""},cancelText:{type:String,default:""},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(vr-10,0,1),validator:et},maxDate:{type:Date,default:()=>new Date(vr+10,11,31),validator:et},visibleItemCount:{type:[Number,String],default:7},threeDimensional:{type:Boolean,default:!0},swipeDuration:{type:[Number,String],default:1e3},teleportDisable:{type:Boolean}};const{create:Tm,scope:Cm}=ue("date-picker"),$m=Tm({components:{Picker:Pt},props:{...xm},emits:["click","update:visible","update:modelValue","update:dateIndexs","update:close","cancel","confirm","clear"],setup(e,{emit:n}){const{t:a}=ve.useFoxI18n(Cm),l={day:a("day"),year:a("year"),month:a("month"),hour:a("hour"),minute:a("minute"),seconds:a("seconds")},o=t.ref(!1);t.watch(()=>e.visible,m=>{o.value=m});function r(m,f){return new Date(m,f,0).getDate()}const i=(m,f)=>{const T=e[`${m}Date`],M=T.getFullYear();let A=1,F=1,z=0,$=0;m==="max"&&(A=12,F=r(f.getFullYear(),f.getMonth()+1),z=23,$=59);const I=$;return f.getFullYear()===M&&(A=T.getMonth()+1,f.getMonth()+1===A&&(F=T.getDate(),f.getDate()===F&&(z=T.getHours(),f.getHours()===z&&($=T.getMinutes())))),{[`${m}Year`]:M,[`${m}Month`]:A,[`${m}Date`]:F,[`${m}Hour`]:z,[`${m}Minute`]:$,[`${m}Seconds`]:I}},u=t.computed(()=>{if(!y.value)return[];const{maxYear:m,maxDate:f,maxMonth:T,maxHour:M,maxMinute:A,maxSeconds:F}=i("max",y.value),{minYear:z,minDate:$,minMonth:I,minHour:w,minMinute:K,minSeconds:J}=i("min",y.value);let L=[{type:"year",range:[z,m]},{type:"month",range:[I,T]},{type:"day",range:[$,f]},{type:"hour",range:[w,M]},{type:"minute",range:[K,A]},{type:"seconds",range:[J,F]}];switch(e.type){case"date":L=L.slice(0,3);break;case"datetime":L=L.slice(0,5);break;case"time":L=L.slice(3,6);break;case"year-month":L=L.slice(0,2);break;case"month-day":L=L.slice(1,3);break;case"datehour":L=L.slice(0,4);break;case"hour-minute":L=L.slice(3,5);break}return L}),s=(m,f,T)=>{if(!(f>m))return null;const M=[];for(;m<=f;)e.isShowChinese?M.push({text:m+l[T],value:m}):M.push({text:`${m}`,value:m}),T==="minute"?m+=e.minuteStep:m++;return M},c=t.computed(()=>{let m=[];return u.value.forEach(f=>{let T=s(f.range[0],f.range[1],f.type);T&&m.push(T)}),m}),h=(m,f)=>m==="year"?f.getFullYear():m==="month"?f.getMonth()+1:m==="day"?f.getDate():m==="hour"?f.getHours():m==="minute"?f.getMinutes():m==="seconds"?f.getSeconds():0,d=t.ref(),y=t.ref(null);t.watch(()=>e.modelValue,m=>{let f;if(typeof m=="string"?m.length==0?f=new Date:e.valueFormat?f=wr(e,e.modelValue,e.valueFormat):f=wr(e,m,wm[e.type]):et(m)?f=m:f=new Date,!!f&&(!y.value||f.getTime()!==y.value.getTime())){y.value=f;let T=[];u.value.forEach(M=>{let A=h(M.type,f);T.push(A)}),d.value=T}},{immediate:!0});const x=m=>{if(e.type==="date"){const f=m[0],T=m[1]-1,M=Math.min(m[2],r(f,T+1));M!==m[2]&&(m[2]=M),y.value=new Date(f,T,M)}else if(e.type==="datetime"){const f=m[0],T=m[1]-1,M=Math.min(m[2],r(f,T+1)),A=m[3],F=m[4];M!==m[2]&&(m[2]=M),y.value=new Date(f,T,M,A,F)}else if(e.type==="time"){const f=m[0],T=m[1],M=m[2],A=y.value??new Date,F=new Date(A.getFullYear(),A.getMonth(),A.getDate(),f,T,M);y.value=F}else if(e.type==="year-month"){const f=m[0],T=m[1]-1;y.value=new Date(f,T)}else if(e.type==="month-day"){const T=(y.value??new Date).getFullYear(),M=m[0]-1,A=Math.min(m[1],r(T,M+1));A!==m[1]&&(m[1]=A);const F=new Date(T,M,A);y.value=F}else if(e.type==="datehour"){const f=m[0],T=m[1]-1,M=Math.min(m[2],r(f,T+1)),A=m[3];M!==m[2]&&(m[2]=M),y.value=new Date(f,T,M,A)}else if(e.type==="hour-minute"){const f=m[0],T=m[1],M=y.value??new Date,A=new Date(M.getFullYear(),M.getMonth(),M.getDate(),f,T);y.value=A}d.value=m};return{columns:c,dateIndexs:d,show:o,onChange:m=>{x(m)},onClose:()=>{o.value=!1,n("update:visible",!1),n("update:close",!1)},onConfirm:m=>{x(m),o.value=!1;let f=y.value??new Date;if(e.valueFormat){let T=Sm(e,f,e.valueFormat);n("update:modelValue",T)}else n("update:modelValue",f);n("update:visible",!1),n("confirm",m)},onClear:()=>{n("clear")}}}});function km(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,"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","visible-item-count","three-dimensional","swipe-duration","teleport-disable"])}const Ul=Ne($m,[["render",km]]),En=(e,n,a)=>e.map(l=>{const{value:o="value",text:r="text",children:i="children"}=a??{},{[o]:u,[r]:s,[i]:c,...h}=l,d={loading:!1,...h,level:n?(n&&n.level||0)+1:0,value:u,text:s,children:c,_parent:n};return d.children&&d.children.length&&(d.children=En(d.children,d,a)),d}),Sr=(e,n)=>{let a=0,l;for(;(l=e[a++])&&n(l)!==!0;)l.children&&l.children.length&&Sr(l.children,n)},Dm={topId:null,idKey:"id",pidKey:"pid",sortKey:""},Nm=(e,n)=>{const a={...Dm,...n||{}},{topId:l,idKey:o,pidKey:r,sortKey:i}=a;let u=[],s={};return e.forEach(c=>{c={...c};const{[o]:h,[r]:d}=c,y=s[d]=s[d]||[];!u.length&&d===l&&(u=y),y.push(c),c.children=s[h]||(s[h]=[])}),i&&Object.keys(s).forEach(c=>{s[c].length>1&&s[c].sort((h,d)=>h[i]-d[i])}),s=null,u};class xr{nodes;config;constructor(n,a){this.config={value:"value",text:"text",children:"children",...a||{}},this.nodes=En(n,null,this.config)}updateChildren(n,a){a?a.children=En(n,a,this.config):this.nodes=En(n,null,this.config)}getNodeByValue(n){let a;return Sr(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:Em,scope:Vm}=ue("cascader-pane"),Im=Em({components:{Loading:bn,Checklist:xo,TabsBar:kn,TabsContainer:Dn,TabsPane:Nn},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}=ve.useFoxI18n(Vm),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 xr([],{})),s=t.ref([]),c=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((m,f)=>({text:m.selectedNode?m.selectedNode.text:a("select"),value:f}))),d=new Map;let y;const x=async()=>{d.clear(),s.value=[],o.value=0,r.value=!1,y=null;let{options:m}=e;l.value.convertConfig&&(m=Nm(m,l.value.convertConfig)),u.value=new xr(m,{value:l.value.valueKey,text:l.value.textKey,children:l.value.childrenKey}),c.value&&!u.value.nodes.length&&await p({root:!0,loading:!0,text:"",value:""}),s.value=[{nodes:u.value.nodes,selectedNode:null}],b()},b=async()=>{const m=i.value;if(m===void 0||!u.value.nodes.length)return;if(m.length===0){o.value=0,s.value=[{nodes:u.value.nodes,selectedNode:null}];return}let f=m;if(c.value&&Array.isArray(m)&&m.length){f=[];let T=u.value.nodes.find(M=>M.value===m[0]);if(T){f=[T.value],r.value=!0;const M=await m.slice(1).reduce(async(A,F)=>{const z=await A;await p(z);const $=z?.children?.find(I=>I.value===F);return $&&f.push(F),Promise.resolve($)},Promise.resolve(T));await p(M),r.value=!1}}f.length&&m===e.modelValue&&u.value.getPathNodesByValue(f).map((M,A)=>{o.value=A,H.handleNode(M,!0)})},p=async m=>{if(!m)return;if(!l.value.lazyLoad){m.leaf=!0;return}if(u.value.isLeaf(m,c.value)||u.value.hasChildren(m,c.value))return;m.loading=!0;const f=m.root?null:m;let T=d.get(m);T||(T=new Promise(A=>{l.value.lazyLoad?.(m,A)}),d.set(m,T));const M=await T;Array.isArray(M)&&M.length>0?u.value.updateChildren(M,f):m.leaf=!0,m.loading=!1,d.delete(m)},g=m=>{const f=m.map(T=>T.value);i.value=f,n("change",f,m),n("update:modelValue",f,m)},H={async handleNode(m,f){const{disabled:T,loading:M}=m;if(!(!f&&T||!s.value[o.value])){if(u.value.isLeaf(m,c.value)){if(m.leaf=!0,s.value[o.value].selectedNode=m,s.value=s.value.slice(0,m.level+1),!f){const A=s.value.map(F=>F.selectedNode);g(A),n("pathChange",A)}return}if(u.value.hasChildren(m,c.value)){const A=m.level+1;if(s.value[o.value].selectedNode=m,s.value=s.value.slice(0,A),s.value.push({nodes:m.children||[],selectedNode:null}),o.value=A,!f){const F=s.value.map(z=>z.selectedNode);n("pathChange",F)}return}y=m,!M&&(await p(m),y===m&&(s.value[o.value].selectedNode=m,H.handleNode(m,f)))}},handleTabChange(m,f){y=null},formatTabTitle(m){return m.selectedNode?m.selectedNode.text:a("select")},isSelected(m,f){return m.selectedNode&&m.selectedNode.value===f.value}};return t.watch([l,()=>e.options],()=>{x()},{deep:!0,immediate:!0}),t.watch(()=>e.modelValue,m=>{m!==i.value&&(i.value=m,b())}),t.watch(()=>e.visible,m=>{m&&Array.isArray(i.value)&&i.value.length>0&&b()}),{panes:s,panesTitles:h,initLoading:r,tabsCursor:o,...H}}}),Om={class:"fox-cascader"},Am={role:"menu",class:"fox-cascader__pane"},Fm=["aria-checked","aria-disabled","onClick"],Bm={class:"fox-cascader__item__title"};function Mm(e,n,a,l,o,r){const i=t.resolveComponent("TabsBar"),u=t.resolveComponent("Loading"),s=t.resolveComponent("Checklist"),c=t.resolveComponent("TabsPane"),h=t.resolveComponent("TabsContainer");return t.openBlock(),t.createElementBlock("view",Om,[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(c,{"pane-key":y,key:y},{default:t.withCtx(()=>[t.createElementVNode("view",Am,[(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:b=>e.handleNode(x,!1)},[t.createElementVNode("view",Bm,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,Fm))),128))])]),_:2},1032,["pane-key"]))),128)):(t.openBlock(),t.createBlock(c,{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 Rm=Ne(Im,[["render",Mm]]),{create:Lm}=ue("cascader-picker"),_m=Lm({components:{FoxCascaderPane:Rm,FoxPopup:ut},props:{...vl,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}}}),Pm=["innerHTML"];function qm(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(()=>[e.title?(t.openBlock(),t.createElementBlock("view",{key:0,class:"fox-cascader__bar",innerHTML:e.title},null,8,Pm)):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"])]),_:1},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 Gl=Ne(_m,[["render",qm]]),zm=Symbol.for("InnerPageScopeKey"),jm=Symbol.for("PageWrapperKey");function Hm(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(zm,!0);const o={};t.provide(jm,o);const r=s=>{typeof o.beforeClose=="function"&&o.beforeClose()},i=t.ref(!0),u=s=>{i.value=s};return()=>{const c={...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),c.class=h.join(" ");const d={};return typeof l.slots.default=="function"&&(d.default=l.slots.default),t.h(O.ElDialog,c,d)}}}}const{componentName:Ry,create:Km,scope:Ly}=ue("dialog-item"),Xl=Km(Hm()),{create:Wm}=ue("toast"),Ym=Wm({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),c=()=>{const x=pe(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:c,hasIcon:s,toastBodyClass:h,toastIconWrapperClass:d,onAfterLeave:()=>{o(),e.unmount(e.id),e.onClose&&e.onClose()}}}}),Um={key:1,class:"fox-toast-title"},Gm=["innerHTML"];function Xm(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",Um,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),t.createElementVNode("view",{class:"fox-toast-text",innerHTML:e.msg},null,8,Gm)],4)],6),[[t.vShow,e.state.mounted]])]),_:1},8,["onAfterLeave"])}const Zl=Ne(Ym,[["render",Xm]]),Zm={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}},Jm=(e,n,a)=>({props:{...Zm},emits:["change","refresh","update:modelValue"],setup(l,{emit:o,slots:r}){const{toLocaleRefs:i}=ve.useFoxI18n(n),u=i(l,["pullingText","loosingText","loadingText"]),s=_t(),c=t.ref(),h=Zo(c),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""}}),b=t.computed(()=>({transitionDuration:`${l.duration}s`,transform:d.distance?`translate3d(0,${d.distance}px, 0)`:""})),p=t.computed(()=>{const F={};return l.headHeight!=50&&(F.height=Ae(l.headHeight)),F}),g=F=>{const z=+(l.pullDistance||l.headHeight);let $=F;return F>z&&(F<z*2?$=(F+z)/2:$=z+F/4),Math.round($)},H=(F,z)=>{const $=+(l.pullDistance||l.headHeight);d.distance=F,z?d.status="loading":F===0?d.status="normal":F<$?d.status="pulling":d.status="loosing",o("change",{status:d.status,distance:F})},m=()=>d.status!=="loading"&&d.status!=="complete",f=()=>h.value==window?Jo()==0:h.value&&h.value.scrollTop==0,T=F=>{m()&&(f()?(s.start(F),d.isPullRefresh=!0,d.moving=!0):(d.distance=0,d.isPullRefresh=!1))},M=F=>{m()&&d.moving&&(s.move(F),s.isVertical()&&s.state.deltaY>0&&d.isPullRefresh&&(F.cancelable&&F.preventDefault(),H(g(s.state.deltaY))))},A=()=>{d.moving=!1,d.isPullRefresh&&m()&&s.state.deltaY&&(d.status==="loosing"?(H(+l.headHeight,!0),o("update:modelValue",!0),t.nextTick(()=>o("refresh"))):H(0)),setTimeout(()=>{s.reset()},0)};return t.watch(()=>l.modelValue,F=>{F?H(+l.headHeight,!0):H(0)}),()=>{const F=[];let z=null;if(d.status==="loading"){if(z=r?.loading?.()??null,!z){const P={class:["fox-pull-refresh-container-topbox-icon"]};z=t.h(a,P)}}else d.status==="pulling"?z=r?.pulling?.()??null:d.status==="loosing"&&(z=r?.loosing?.()??null);z&&F.push(z);const $={class:["fox-pull-refresh-container-topbox-text"]},I=t.h("dive",$,[x.value]);F.push(I);const w={class:["fox-pull-refresh-container-topbox"],style:p.value},K=t.h("div",w,F),J={class:"fox-pull-refresh-container",style:b.value},L=t.h("div",J,[K,r?.default?.()]),V={ref:c,class:y.value};return Lt()?Object.assign(V,{onTouchstart:T,onTouchmove:M,onTouchend:A}):Object.assign(V,{onMousedown:T,onMousemove:M,onMouseup:A}),t.h("div",V,[L])}}}),{componentName:Qm,create:eg,scope:tg}=ue("pull-refresh"),Jl=eg(Jm(Qm,tg,bn));function ng(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}),c=t.computed(()=>a.color?{color:a.color}:null);return()=>{let h=null;if(l.mark)h=l.mark()[0];else{const p={class:i.value,style:u.value};h=t.h(a.icon??"div",p)}const d={class:s.value,style:c.value},y=l.default?l.default():[],x=t.h("div",d,y),b={class:r.value};return a.textPosition==="right"?t.h("div",b,[h,x]):t.h("div",b,[x,h])}}}}const{componentName:lg,create:ag,scope:_y}=ue("indicator"),Ql=ag(ng(lg));function og(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 rg={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 ig(e,n,a,l=!1){return{props:{...rg},emits:["click"],setup(o,r){const i=t.ref(null),u=t.computed(()=>{const f={[`${e}`]:!0,"is-truncated":o.truncated};return o.type&&(f[`${e}--${o.type??"default"}`]=!0),o.size&&(f[`${e}--${o.size}`]=!0),f}),s=t.computed(()=>{const f={},T=o.textColor??o.color;return T&&(f.color=T),f}),c=(f,T)=>{let M=null;if(typeof o.highlightFilter=="string"&&o.highlightFilter.length>0){const A=o.highlightFilter;if(f.indexOf(A)!==-1){const z=f.replace(new RegExp(A,"g"),`<span>${A}</span>`);T.innerHTML=z,T.class["is-highlight"]=!0,M=t.h(o.tag,T)}}else if(typeof o.highlightFilter=="function"){const A=o.highlightFilter(f);A&&(T.innerHTML=A,T.class["is-highlight"]=!0,M=t.h(o.tag,T))}return M},h=f=>{r.emit("click",f)};let d="";const y=()=>{const f=i.value;if(!f)return;const T=f.clientWidth;og(f,M=>{const A=f.innerHTML??"";de(A)||M<T||(d?a?.show(f,A,{type:"text",id:d,showArrow:o.showArrow},!0):d=a?.show(f,A,{type:"text",showArrow:o.showArrow},!0)??"")})},x=()=>{d&&a?.hide(d)};let b=null;const p=f=>{b||(b=setTimeout(()=>{y(),b=null},o.showAfter??0))},g=f=>{b&&(clearTimeout(b),b=null),setTimeout(()=>{x()},o.hideAfter??0)},H=()=>{const f=i.value;f&&(f.addEventListener("mouseover",p),f.addEventListener("mouseleave",g))},m=()=>{const f=i.value;f&&(f.removeEventListener("mouseover",p),f.removeEventListener("mouseleave",g))};return t.onMounted(()=>{!ce(o.showOverflowTooltip)||!a||H()}),t.onBeforeUnmount(()=>{!ce(o.showOverflowTooltip)||!a||m()}),()=>{const f={onClick:h,class:u.value,style:s.value,ref:i};let T=null;if(ce(o.numberFormat)&&typeof r.slots.default=="function"){const z=r.slots.default();if(Array.isArray(z)&&z.length===1){const $=z[0].type.toString();if($==="Symbol(Text)"||$==="Symbol(v-txt)"){const I=ge(o.digits),w=ge(o.decimalLength),K=ce(o.autoPadding);let J=`${z[0].children}`,L=J.split("").reverse().join("");L=Kt(L,w,K,I,o.separator),J=L.split("").reverse().join(""),o.highlightFilter!==void 0&&(T=c(J,f)),T||(f.innerHTML=J,T=t.h(o.tag,f))}}}else{if(o.highlightFilter!==void 0&&typeof r.slots.default=="function"){const z=r.slots.default();if(Array.isArray(z)&&z.length===1){const $=z[0].type.toString();if($==="Symbol(Text)"||$==="Symbol(v-txt)"){const I=`${z[0].children}`;T=c(I,f),T||(f.innerHTML=I,T=t.h(o.tag,f))}}}T||(T=t.h(o.tag,f,{default:r.slots.default}))}if(!o.mark&&!o.icon&&!r.slots.mark)return T;let A=null;if(o.icon){const z={[`${e}__mark-wrap`]:!0};o.type&&(z[`${e}__mark-wrap--${o.type}`]=!0);const $={},I=o.color;I&&($.color=I);const w={class:z,style:$};A=t.h("view",w,t.h(o.icon))}else if(r.slots.mark){const z={[`${e}__mark-wrap`]:!0};o.type&&(z[`${e}__mark-wrap--${o.type}`]=!0);const $={},I=o.color;I&&($.color=I);const w={class:z,style:$};A=t.h("view",w,{default:r.slots.mark})}else{const z={[`${e}__mark`]:!0};o.type&&(z[`${e}__mark--${o.type??"default"}`]=!0);const $={},I=o.color;I&&($["background-color"]=I);const w={class:z,style:$};A=t.h("view",w)}const F={class:{"fox-text__wrap":!0,"text-left":o.textPosition==="left","text-right":o.textPosition==="right"}};return t.h("view",F,[A,T])}}}}const{componentName:sg,create:ug,scope:cg}=ue("text"),ea=ug(ig(sg,cg,Be,!1)),fg={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:$e.ArrowUp}};function dg(e,n,a){return{props:{...fg},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=he(l,"modelValue"),u=t.computed(()=>i.value?l.expandText??"":l.collapseText??""),s=t.computed(()=>({[`${e}__text`]:!0})),c=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 p={class:s.value},g=t.h("span",p,[u.value]);d.push(g)}const y={class:c.value},x=a(l.icon,y);return x&&d.push(x),t.h("div",{class:r.value,onClick:h},d)}}}}const{componentName:hg,create:mg,scope:gg}=ue("more-button"),ta=mg(dg(hg,gg,(e,n)=>(e=e??$e.ArrowUp,t.h(O.ElIcon,n,{default:()=>[t.h(e)]}))));function yg(e){e.stopPropagation()}let pg=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=Lt()}open(n){Array.isArray(n)||(n=[n]),this.els=n;const a=_t(),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 bg(e,n){return new pg(e,n)}const vg={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]}},wg=(e,n,a,l=!1)=>({props:{...vg},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 m=[`${e}`];return o.customClass&&m.push(o.customClass),m}),c=t.computed(()=>{const m={};return de(u.top)||(m.top=u.top),de(u.right)||(m.right=u.right),de(u.bottom)||(m.bottom=u.bottom),de(u.left)||(m.left=u.left),de(o.width)||(m.width=o.width),de(o.height)||(m.height=o.height),de(o.color)||(m.color=o.color),de(o.background)||(m.background=o.background),de(o.borderRadius)||(m["border-radius"]=o.borderRadius),m}),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},b={x:0,y:0},H=bg(m=>{if(!y.value)return;const f=y.value;x(),u.left=f.offsetLeft,u.top=f.offsetTop,f.style.left=`${u.left}px`,f.style.top=`${u.top}px`,f.style.right=null,f.style.bottom=null,b.x=u.left,b.y=u.top},m=>{if(!y.value)return;const f=y.value;x(),u.left=b.x+m.x,u.top=b.y+m.y,f.style.left=`${u.left}px`,f.style.top=`${u.top}px`});return t.onMounted(()=>{if(o.draggable&&y.value){const m=[y.value];H.open(m)}}),t.onBeforeUnmount(()=>{o.draggable&&y.value&&H.close()}),()=>{let m=[];const f=typeof r.default=="function"?r.default():[];if(f&&f.length>0)m=f;else{const M=t.h(a,{class:h.value});m.push(M)}const T={ref:M=>{y.value=M},class:s.value,style:c.value,onClick:d};return t.h("view",T,m)}}}),{componentName:Sg,create:xg,scope:Tg}=ue("floating-button"),na=xg(wg(Sg,Tg,mu,!1)),{componentName:Cg,create:$g,scope:qy}=ue("tour"),kg=$g({components:{Close:$e.Close,ElPopover:O.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=Cg,l=t.reactive({showTour:e.modelValue,showPopup:!1,active:0}),o=t.ref({}),r=t.computed(()=>`${a}`),i=t.computed(()=>{const{offset:b,maskWidth:p,maskHeight:g}=e,{width:H,height:m,left:f,top:T}=o.value,M=e.steps[l.active].offset??b,A=[f+H/2,T+m/2],F=Number(p||H),z=Number(g||m);return{width:`${F+ +M.left+M.right}px`,height:`${z+M.top+M.bottom}px`,top:`${A[1]-z/2-+M.top}px`,left:`${A[0]-F/2-+M.left}px`}}),u=b=>{b=="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=b=>b.popoverWidth??e.width,c=b=>b.location??e.location,h=()=>{const b=document.querySelector(`${e.steps[l.active].target}`),p=zl(b);o.value={x:p.left,y:p.top,top:p.top,left:p.left,width:p.width,height:p.height}},d=()=>{l.showTour=!1,l.showPopup=!1,n("close",l.active),n("update:modelValue",!1)},y=()=>{e.closeOnClickOverlay&&d()},x=(b,p=0)=>{b&&h(),e.steps,l.active=p,l.showTour=b,l.showPopup=b};return t.onMounted(()=>{x(e.modelValue,e.current)}),t.watch(()=>e.modelValue,b=>{x(b)}),{...t.toRefs(l),classes:r,maskStyle:i,changeStep:u,popoverWidth:s,popoverLocation:c,close:d,handleClickMask:y}}}),Dg={key:0,class:"fox-tour__content"},Ng={key:0,class:"fox-tour__content-top"},Eg={class:"fox-tour__content-inner"},Vg={class:"fox-tour__content-bottom"},Ig={class:"fox-tour__content-bottom-init"},Og={class:"fox-tour__content-bottom-operate"},Ag={key:1,class:"fox-tour__content fox-tour__content-tile"},Fg={class:"fox-tour__content-inner"};function Bg(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]=(...c)=>e.handleClickMask&&e.handleClickMask(...c))},null,512),[[t.vShow,e.showTour]]),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.steps,(c,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(c),width:e.popoverWidth(c)},{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",Dg,[e.showTitleBar?(t.openBlock(),t.createElementBlock("div",Ng,[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",Eg,t.toDisplayString(c.content),1),t.createElementVNode("div",Vg,[t.createElementVNode("div",Ig,t.toDisplayString(e.active+1)+"/"+t.toDisplayString(e.steps.length),1),t.createElementVNode("div",Og,[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",Ag,[t.createElementVNode("div",Fg,t.toDisplayString(c.content),1)])):t.createCommentVNode("",!0)])]),_:2},1032,["visible","placement","width"])):t.createCommentVNode("",!0)]))),128))],2)}const la=Ne(kg,[["render",Bg]]),Me=e=>typeof e=="number"?`${e}px`:/^d+(\.?d+)$/.test(e)?`${e}px`:e,dt=e=>e==null;class Mg{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=Lt()}open(n){Array.isArray(n)||(n=[n]),this.els=n;const a=_t(),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 Tr(e,n){return new Mg(e,n)}const Cr=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;let Tt=[];const $r=e=>{const n=e;n.key==="Escape"&&Tt.forEach(a=>a(n))},Rg=e=>{t.onMounted(()=>{Tt.length===0&&document.addEventListener("keydown",$r),Cr&&Tt.push(e)}),t.onBeforeUnmount(()=>{Tt=Tt.filter(n=>n!==e),Tt.length===0&&Cr&&document.removeEventListener("keydown",$r)})},aa="fox-focus-trap.focus-after-trapped",oa="fox-focus-trap.focus-after-released",Lg="fox-focus-trap.focusout-prevented",kr={cancelable:!0,bubbles:!1},_g={cancelable:!0,bubbles:!1},Dr="foxFocusAfterTrapped",Nr="foxFocusAfterReleased",Pg=Symbol("foxFocusTrap"),ra=t.ref(),Vn=t.ref(0),ia=t.ref(0);let In=0;const Er=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},qg=(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},Vr=(e,n)=>{for(const a of e)if(!qg(a,n))return a},zg=e=>{const n=Er(e),a=Vr(n,e),l=Vr(n.reverse(),e);return[a,l]},jg=e=>e instanceof HTMLInputElement&&"select"in e,at=(e,n)=>{if(e&&e.focus){const a=document.activeElement;e.focus({preventScroll:!0}),ia.value=window.performance.now(),e!==a&&jg(e)&&n&&e.select()}};function Ir(e,n){const a=[...e],l=e.indexOf(n);return l!==-1&&a.splice(l,1),a}const Hg=()=>{let e=[];return{push:l=>{const o=e[0];o&&l!==o&&o.pause(),e=Ir(e,l),e.unshift(l)},remove:l=>{e=Ir(e,l),e[0]?.resume?.()}}},Kg=(e,n=!1)=>{const a=document.activeElement;for(const l of e)if(at(l,n),document.activeElement!==a)return},Or=Hg(),Wg=()=>Vn.value>ia.value,On=()=>{ra.value="pointer",Vn.value=window.performance.now()},Ar=()=>{ra.value="keyboard",Vn.value=window.performance.now()},Yg=()=>(t.onMounted(()=>{In===0&&(document.addEventListener("mousedown",On),document.addEventListener("touchstart",On),document.addEventListener("keydown",Ar)),In++}),t.onBeforeUnmount(()=>{In--,In<=0&&(document.removeEventListener("mousedown",On),document.removeEventListener("touchstart",On),document.removeEventListener("keydown",Ar))}),{focusReason:ra,lastUserFocusTimestamp:Vn,lastAutomatedFocusTimestamp:ia}),An=e=>new CustomEvent(Lg,{..._g,detail:e}),{componentName:zy,create:Ug,scope:jy}=ue("focus-trap"),Gg=Ug({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:[Dr,Nr,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{slots:n,emit:a}){const l=t.ref();let o,r;const{focusReason:i}=Yg();Rg(p=>{ce(e.trapped)&&!u.paused&&a("release-requested",p)});const u={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},s=p=>{if(!e.loop&&!ce(e.trapped)||u.paused)return;const{key:g,altKey:H,ctrlKey:m,metaKey:f,currentTarget:T,shiftKey:M}=p,{loop:A}=e,F=g==="Tab"&&!H&&!m&&!f,z=document.activeElement;if(F&&z){const $=T,[I,w]=zg($);if(I&&w){if(!M&&z===w){const J=An({focusReason:i.value});a("focusout-prevented",J),J.defaultPrevented||(p.preventDefault(),A&&at(I,!0))}else if(M&&[I,$].includes(z)){const J=An({focusReason:i.value});a("focusout-prevented",J),J.defaultPrevented||(p.preventDefault(),A&&at(w,!0))}}else if(z===$){const J=An({focusReason:i.value});a("focusout-prevented",J),J.defaultPrevented||p.preventDefault()}}};t.provide(Pg,{focusTrapRef:l,onKeydown:s}),t.watch(()=>e.focusTrapEl,p=>{p&&(l.value=p)},{immediate:!0}),t.watch([l],([p],[g])=>{p&&(p.addEventListener("keydown",s),p.addEventListener("focusin",d),p.addEventListener("focusout",y)),g&&(g.removeEventListener("keydown",s),g.removeEventListener("focusin",d),g.removeEventListener("focusout",y))});const c=p=>{a(Dr,p)},h=p=>a(Nr,p),d=p=>{const g=t.unref(l);if(!g)return;const H=p.target,m=p.relatedTarget,f=H&&g.contains(H);ce(e.trapped)||m&&g.contains(m)||(o=m),f&&a("focusin",p),!u.paused&&ce(e.trapped)&&(f?r=H:at(r,!0))},y=p=>{const g=t.unref(l);if(!(u.paused||!g))if(!e.escape&&ce(e.trapped)){const H=p.relatedTarget;!Gn(H)&&!g.contains(H)&&setTimeout(()=>{if(!u.paused&&ce(e.trapped)){const m=An({focusReason:i.value});a("focusout-prevented",m),m.defaultPrevented||at(r,!0)}},0)}else{const H=p.target;H&&g.contains(H)||a("focusout",p)}};async function x(){await t.nextTick();const p=t.unref(l);if(p){Or.push(u);const g=p.contains(document.activeElement)?o:document.activeElement;if(o=g,!p.contains(g)){const m=new Event(aa,kr);p.addEventListener(aa,c),p.dispatchEvent(m),m.defaultPrevented||t.nextTick(()=>{let f=e.focusStartEl;xa(f)||(at(f),document.activeElement!==f&&(f="first")),f==="first"&&Kg(Er(p),!0),(document.activeElement===g||f==="container")&&at(p)})}}}function b(){const p=t.unref(l);if(p){p.removeEventListener(aa,c);const g=new CustomEvent(oa,{...kr,detail:{focusReason:i.value}});p.addEventListener(oa,h),p.dispatchEvent(g),!g.defaultPrevented&&(i.value=="keyboard"||!Wg())&&at(o??document.body,!0),p.removeEventListener(oa,c),Or.remove(u)}}return t.onMounted(()=>{ce(e.trapped)&&x(),t.watch(()=>e.trapped,p=>{ce(p)?x():b()})}),t.onBeforeUnmount(()=>{ce(e.trapped)&&b()}),()=>typeof n.default=="function"?n.default({"handle-keydown":s}):null}}),{componentName:Xg,create:Zg,scope:Ky}=ue("floating-window"),Jg=Symbol.for("InnerPageScopeKey"),Qg=Symbol.for("PageWrapperKey"),ey={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}},ty=Zg({inheritAttrs:!1,components:{FoxIcon:O.ElIcon,FocusTrap:Gg},props:{...ey},emits:["update:modelValue","update:collapse"],setup(e,{emit:n}){const a=Xg,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:!z.value),i=t.ref(e.left),u=t.ref(e.top),s=t.ref(e.right),c=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 dt(i.value)?k.left="auto":k.left=Me(i.value),dt(u.value)?k.top="auto":k.top=Me(u.value),dt(s.value)?k.right="auto":k.right=Me(s.value),dt(c.value)?k.bottom="auto":k.bottom=Me(c.value),dt(e.zIndex)||(k["z-index"]=Me(e.zIndex)),dt(A.value)||(k.height=A.value),dt(F.value)||(k.width=F.value),k}),y=t.computed(()=>e.closeIcon??$e.Close),x=t.computed(()=>e.collapseIcon??$e.ArrowUp),b=t.computed(()=>e.collapseText??""),p=t.computed(()=>e.collapsePosition==="left"?e.expandIcon??$e.ArrowRight:e.expandIcon??$e.ArrowLeft),g=t.computed(()=>e.expandText??e.title??"展开"),H=t.computed(()=>({[`${a}__collapse-text`]:!0})),m=t.computed(()=>({[`${a}__collapse-icon`]:!0,"is-expand":!z.value,"is-collapse":z.value})),f=t.ref(),T=t.ref(null),M=t.ref(null),A=t.computed(()=>Me(e.height)||""),F=t.computed(()=>Me(e.width)||""),z=t.ref(ce(e.collapse)),$=(k,Y=!0)=>{z.value!==k&&(z.value=k,k?E():q(),n("update:collapse",k),k&&typeof K.onHide=="function"?K.onHide():!k&&typeof K.onShow=="function"&&K.onShow())};t.watch(()=>e.collapse,k=>{$(k)});const I=()=>{w()},w=k=>{k=k??!z.value,$(k)};t.provide(Jg,!0);const K={setCollapse:$,setFixedNavVisible:k=>{j.value=k}};t.provide(Qg,K);const J=()=>{typeof K.beforeClose=="function"?K.beforeClose(()=>{l.value=!1}):l.value=!1},L=t.ref(null),V=t.computed(()=>!e.fixedNavTeleport),P=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(z.value),j=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)},E=()=>{L.value&&L.value.classList.add("slide-in"),j.value=!0,te=()=>{L.value&&L.value.classList.remove("slide-in")}},q=()=>{L.value&&L.value.classList.add("slide-out"),te=()=>{L.value&&L.value.classList.remove("slide-out"),j.value=!1}},_=()=>{i.value=null,u.value=null,s.value=null,c.value=null},N={x:0,y:0},G=Tr(k=>{if(!f.value)return;const Y=f.value;if(_(),e.origin==="left-top")i.value=Y.offsetLeft,u.value=Y.offsetTop,N.x=i.value,N.y=u.value;else if(e.origin==="left-bottom"){const ee=document.documentElement.clientHeight||document.body.clientHeight;i.value=Y.offsetLeft,c.value=ee-(Y.offsetTop+Y.offsetHeight),N.x=i.value,N.y=c.value}else if(e.origin==="right-bottom"){const ee=document.documentElement.clientWidth||document.body.clientWidth,ae=document.documentElement.clientHeight||document.body.clientHeight;s.value=ee-(Y.offsetLeft+Y.offsetWidth),c.value=ae-(Y.offsetTop+Y.offsetHeight),N.x=s.value,N.y=c.value}else{const ee=document.documentElement.clientWidth||document.body.clientWidth;s.value=ee-(Y.offsetLeft+Y.offsetWidth),u.value=Y.offsetTop,N.x=s.value,N.y=u.value}},k=>{if(!f.value)return;const Y=f.value;_(),e.origin==="left-top"?(i.value=N.x+k.x,u.value=N.y+k.y,Y.style.left=Me(i.value),Y.style.top=Me(u.value)):e.origin==="left-bottom"?(i.value=N.x+k.x,c.value=N.y-k.y,Y.style.left=Me(i.value),Y.style.bottom=Me(c.value)):e.origin==="right-bottom"?(s.value=N.x-k.x,c.value=N.y-k.y,Y.style.right=Me(s.value),Y.style.bottom=Me(c.value)):(s.value=N.x-k.x,u.value=N.y+k.y,Y.style.right=Me(s.value),Y.style.top=Me(u.value))}),C={x:0,y:0},W=Tr(k=>{L.value&&(C.x=L.value.offsetLeft,C.y=L.value.offsetTop)},k=>{if(!L.value)return;const Y=C.y+k.y;R.value=`${Y}px`}),X=()=>{if(f.value){const k=f.value.querySelector(".fox-floating-window__body > .fox-page > .fox-footer-bar");M.value=k}};return t.onMounted(()=>{if(e.draggable&&f.value){const k=[];T.value&&k.push(T.value),e.footerDraggable&&(X(),M.value&&k.push(M.value)),G.open(k)}e.collapse===!0&&$(e.collapse,!1),L.value&&W.open(L.value)}),t.onBeforeUnmount(()=>{e.draggable&&T.value&&G.close(),L.value&&W.close()}),{classes:h,styles:d,isShow:r,closeIcon:y,onClose:J,dialogRef:f,headerRef:T,onClickToggle:I,collapseIcon:x,collapseText:b,collapseTextClasses:H,collapseIconClasses:m,expandIcon:p,expandText:g,isShowFixedNav:j,fixedNavRef:L,fixedNavClasses:P,fixedNavStyles:Z,onAnimationEnd:D,teleportDisabled:o,fixedNavTeleportDisabled:V}}}),ny={ref:"headerRef",class:"fox-floating-window__header"},ly={class:"fox-floating-window__title"},ay={class:"fox-floating-window__tools"},oy={class:"fox-floating-window__body"},ry={class:"fox-floating-window__fixednav__text"};function iy(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",ny,[t.renderSlot(e.$slots,"header",{},()=>[t.createElementVNode("span",ly,t.toDisplayString(e.title),1),t.createElementVNode("div",ay,[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",oy,[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",ry,t.toDisplayString(e.expandText),1)])],38),[[t.vShow,e.isShowFixedNav]])],8,["to","disabled"]))],64)}const sa=Ne(ty,[["render",iy]]),sy={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 uy(e,n,a=!1){return{props:{...sy},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),c=t.ref(0),h=t.ref(0),d=t.ref(0),y=t.ref(l.placement),x=t.ref(!1),b=t.ref(!1),p=t.ref(null),g=()=>typeof l.reference=="string"?document.querySelector(l.reference):l.reference,H=(j,te,D,E,q,_,N,Q=!0)=>{const le=document.documentElement.clientWidth||document.body.clientWidth,G=document.documentElement.clientHeight||document.body.clientHeight,C=j.split("-");let B=[];Q?C[0]==="top"?B=["top","bottom","right","left"]:C[0]==="bottom"?B=["bottom","top","right","left"]:C[0]==="left"?B=["left","top","bottom","right"]:C[0]==="right"&&(B=["right","top","bottom","left"]):B=[j[0]];const S={top:null,right:null,bottom:null,left:null},W=[];for(let X=0;X<B.length;X++){const k=B[X];if(W[0]=k,C[1]&&(W[1]=C[1]),k==="top"){const Y=D-N-l.arrowSize/2-l.offset;if(Y>=0){S.top=Y;let ee=0;C[1]==="start"?ee=te:C[1]==="end"?ee=te+E-_:ee=te+E/2-_/2;const ae=le-ee-_;ae<0?(ee+=ae,f.value=-ae):f.value=0,S.left=ee<0?0:ee;break}}else if(k==="bottom"){const Y=D+q+l.arrowSize/2+l.offset;if(Y+N<=G){S.top=Y;let ee=0;C[1]==="start"?ee=te:C[1]==="end"?ee=te+E-_:ee=te+E/2-_/2;const ae=le-ee-_;ae<0?(ee+=ae,f.value=-ae):f.value=0,S.left=ee<0?0:ee;break}}else if(k==="left"){const Y=te-_-l.arrowSize/2-l.offset;if(Y>=0){S.left=Y;let ee=0;C[1]==="start"?ee=D:C[1]==="end"?ee=D+q-N:ee=D+q/2-N/2,S.top=ee<0?0:ee;break}}else if(k==="right"){const Y=te+E+l.arrowSize/2+l.offset;if(Y+_<=le){S.left=Y;let ee=0;C[1]==="start"?ee=D:C[1]==="end"?ee=D+q-N:ee=D+q/2-N/2,S.top=ee<0?0:ee;break}}}return{bestPlacement:W.join("-"),bestInsetRect:S}},m=()=>{const j=l.visible,te=l.autoFit;if(!tt||j===!1)return;if(l.reference){const N=g(),Q=cl(N);s.value=Q.x,c.value=Q.y,h.value=N.offsetWidth,d.value=N.offsetHeight}else l.referenceInset&&(s.value=l.referenceInset.left,c.value=l.referenceInset.top,h.value=l.referenceInset.right-l.referenceInset.left,d.value=l.referenceInset.bottom-l.referenceInset.top);const D=p.value.offsetWidth,E=p.value.offsetHeight,{bestPlacement:q,bestInsetRect:_}=H(l.placement,s.value,c.value,h.value,d.value,D,E,te);y.value=q,u.value=_},f=t.ref(0),T=st(()=>{m()},10),M=t.ref(l.visible);t.watch([()=>l.visible],([j])=>{M.value=j,j?(x.value=j,setTimeout(()=>{m(),b.value=!0},0)):b.value=!1});const A=t.computed(()=>M.value&&F.value),F=t.ref(!0),z=st(j=>{const te=j[0];te&&(F.value=te.isIntersecting)},10),$=new IntersectionObserver(z);t.watch([()=>l.reference,()=>l.referenceInset],([j,te],[D,E])=>{!j&&!te||(setTimeout(()=>{m()},0),l.autoFit&&(D&&(Ot.unwatch(D,T),$.unobserve(D)),j&&(Ot.watch(j,T),$.observe(j))))},{immediate:!0}),t.onBeforeUnmount(()=>{l.reference&&(Ot.unwatch(l.reference,T),$.unobserve(l.reference),$.disconnect())});const I=t.computed(()=>{const j={[e]:!0};return y.value.startsWith("top")?j["is-top"]=!0:y.value.startsWith("right")?j["is-right"]=!0:y.value.startsWith("bottom")?j["is-bottom"]=!0:y.value.startsWith("left")&&(j["is-left"]=!0),j[`is-${l.effect}`]=!0,!b.value&&A.value&&(j["is-opacity"]=!0),b.value&&A.value&&(j["is-show"]=!0),A.value||(j["is-hide"]=!0),l.customClass&&typeof l.customClass=="string"&&(j[`${l.customClass}`]=!0),j}),w=t.computed(()=>{const j={};return u.value.top!==null&&(j.top=`${u.value.top}px`),u.value.right!==null&&(j.right=`${u.value.right}px`),u.value.bottom!==null&&(j.bottom=`${u.value.bottom}px`),u.value.left!==null&&(j.left=`${u.value.left}px`),l.width&&(j.width=l.width),l.zIndex&&(j["z-index"]=`${l.zIndex}`),l.customStyle&&typeof l.customStyle=="object"&&Object.assign(j,l.customStyle),j}),K=()=>{M.value=!1,o("update:visible",!1)},J=()=>{if(!l.showOverlay)return null;const j={class:`${e}__overlay`,onClick:K};return t.h("div",j)},L=()=>{let j=null;return r.title?j=t.h("div",{class:`${e}__title`},{default:r.title}):l.title&&(j=t.h("div",{class:`${e}__title`},[l.title])),j},V=t.computed(()=>({[`${e}__arrow`]:!0})),P=t.computed(()=>{const j={};return l.showArrow?(j.width=`${l.arrowSize}px`,j.height=`${l.arrowSize}px`,y.value==="top"?(j.left="50%",j.bottom="0",j.transform="translate(-50%, 50%)"):y.value==="top-start"?(j.left=`${l.arrowOffset+f.value}px`,j.bottom="0",j.transform="translate(-50%, 50%)"):y.value==="top-end"?(j.right=`${l.arrowOffset-f.value}px`,j.bottom="0",j.transform="translate(-50%, 50%)"):y.value==="right"?(j.left="0",j.top="50%",j.transform="translate(-50%, -50%)"):y.value==="right-start"?(j.left="0",j.top=`${l.arrowOffset}px`,j.transform="translate(-50%, 50%)"):y.value==="right-end"?(j.left="0",j.bottom=`-${l.arrowOffset}px`,j.transform="translate(-50%, 50%)"):y.value==="bottom"?(j.left="50%",j.top="0",j.transform="translate(-50%, -50%)"):y.value==="bottom-start"?(j.left=`${l.arrowOffset+f.value}px`,j.top="0",j.transform="translate(-50%, -50%)"):y.value==="bottom-end"?(j.right=`${l.arrowOffset-f.value}px`,j.top="0",j.transform="translate(-50%, -50%)"):y.value==="left"?(j.right="0",j.top="50%",j.transform="translate(50%, -50%)"):y.value==="left-start"?(j.right="0",j.top=`${l.arrowOffset}px`,j.transform="translate(50%, -50%)"):y.value==="left-end"&&(j.right="0",j.bottom=`-${l.arrowOffset}px`,j.transform="translate(50%, -50%)"),j):{display:"none"}}),R=()=>{const j={class:V.value,style:P.value};return t.h("div",j)},Z=()=>{M.value===!1&&(x.value=!1)},U=j=>{if(!p.value||M.value===!1)return;const{relatedTarget:te}=j;p.value.contains(te)||(M.value=!1,o("update:visible",!1))};return i({doLayout:m}),()=>{if(!x.value)return null;const j=[],te=J();te&&j.push(te);const D=[],E=L();if(E&&D.push(E),r.default){const Q=r.default();D.push(Q)}const q=R();q&&D.push(q);const _={ref:p,class:I.value,style:w.value,onAnimationend:Z};l.leaveHide&&(_.onMouseleave=U);const N=t.h("div",_,{default:()=>D});return j.push(N),j}}}}const{componentName:cy,create:fy,scope:dy}=ue("popover-dialog"),ua=fy(uy(cy,dy,!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 Pa(a.name,()=>a.config),()=>typeof l.default=="function"?l.default():null}}}const{componentName:Wy,create:my,scope:Yy}=ue("domain-provider"),ca=my(hy()),gy={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:gy,setup(a,{slots:l}){if(tt&&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;qi({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,b)=>{h=new IntersectionObserver(p=>{for(let g of p){let H=!1;g.intersectionRatio>0&&(H=!0);const m=o.get(g.target);if(m)try{if(a.loadPolicy==="lazy"&&!H&&m.visible!==null)return;m.visible=H,m.callback(H)}catch(f){console.error(f)}}},{root:y,rootMargin:x,threshold:b}),r.forEach((p,g)=>{o.set(g,p),h?.observe(g)}),r.clear()};t.watch([()=>a.root,()=>a.disabled],([y,x])=>{if(x||!y||h)return;let b=null;typeof y=="string"?b=document.querySelector(y):b=y,b&&d(b,a.rootMargin,a.threshold)},{immediate:!0}),t.onUnmounted(()=>{h&&(h.disconnect(),h=null)})}return()=>typeof l.default=="function"?l.default():null}}}const{componentName:Uy,create:py,scope:Gy}=ue("rolling-provider"),fa=py(yy()),by=[nl,al,ol,rl,ul,Se,hl,ml,At,gl,yl,pl,Sl,xl,Tl,Cl,$l,Dl,Nl,El,Vl,wn,Al,Fl,Bl,Ml,Rl,Ll,_l,$n,Pl,Hl,kn,Dn,Nn,Yl,Pt,Ul,vn,Gl,Xl,pn,ut,Zl,Cn,Tn,Jl,Mt,gn,Ql,ea,ta,na,la,sa,ua,ca,fa],vy=new bi(by,[Si],"4.0.0");Object.defineProperty(v,"FoxAffix",{enumerable:!0,get:()=>O.ElAffix}),Object.defineProperty(v,"FoxAlert",{enumerable:!0,get:()=>O.ElAlert}),Object.defineProperty(v,"FoxAnchor",{enumerable:!0,get:()=>O.ElAnchor}),Object.defineProperty(v,"FoxAnchorLink",{enumerable:!0,get:()=>O.ElAnchorLink}),Object.defineProperty(v,"FoxAside",{enumerable:!0,get:()=>O.ElAside}),Object.defineProperty(v,"FoxAutoResizer",{enumerable:!0,get:()=>O.ElAutoResizer}),Object.defineProperty(v,"FoxAutocomplete",{enumerable:!0,get:()=>O.ElAutocomplete}),Object.defineProperty(v,"FoxAvatar",{enumerable:!0,get:()=>O.ElAvatar}),Object.defineProperty(v,"FoxBacktop",{enumerable:!0,get:()=>O.ElBacktop}),Object.defineProperty(v,"FoxBadge",{enumerable:!0,get:()=>O.ElBadge}),Object.defineProperty(v,"FoxBreadcrumb",{enumerable:!0,get:()=>O.ElBreadcrumb}),Object.defineProperty(v,"FoxBreadcrumbItem",{enumerable:!0,get:()=>O.ElBreadcrumbItem}),Object.defineProperty(v,"FoxButton",{enumerable:!0,get:()=>O.ElButton}),Object.defineProperty(v,"FoxButtonGroup",{enumerable:!0,get:()=>O.ElButtonGroup}),Object.defineProperty(v,"FoxCalendar",{enumerable:!0,get:()=>O.ElCalendar}),Object.defineProperty(v,"FoxCard",{enumerable:!0,get:()=>O.ElCard}),Object.defineProperty(v,"FoxCarousel",{enumerable:!0,get:()=>O.ElCarousel}),Object.defineProperty(v,"FoxCarouselItem",{enumerable:!0,get:()=>O.ElCarouselItem}),Object.defineProperty(v,"FoxCascader",{enumerable:!0,get:()=>O.ElCascader}),Object.defineProperty(v,"FoxCascaderPanel",{enumerable:!0,get:()=>O.ElCascaderPanel}),Object.defineProperty(v,"FoxCheckTag",{enumerable:!0,get:()=>O.ElCheckTag}),Object.defineProperty(v,"FoxCheckbox",{enumerable:!0,get:()=>O.ElCheckbox}),Object.defineProperty(v,"FoxCheckboxButton",{enumerable:!0,get:()=>O.ElCheckboxButton}),Object.defineProperty(v,"FoxCheckboxGroup",{enumerable:!0,get:()=>O.ElCheckboxGroup}),Object.defineProperty(v,"FoxCol",{enumerable:!0,get:()=>O.ElCol}),Object.defineProperty(v,"FoxCollapse",{enumerable:!0,get:()=>O.ElCollapse}),Object.defineProperty(v,"FoxCollapseItem",{enumerable:!0,get:()=>O.ElCollapseItem}),Object.defineProperty(v,"FoxCollapseTransition",{enumerable:!0,get:()=>O.ElCollapseTransition}),Object.defineProperty(v,"FoxColorPicker",{enumerable:!0,get:()=>O.ElColorPicker}),Object.defineProperty(v,"FoxConfigProvider",{enumerable:!0,get:()=>O.ElConfigProvider}),Object.defineProperty(v,"FoxContainer",{enumerable:!0,get:()=>O.ElContainer}),Object.defineProperty(v,"FoxCountdown",{enumerable:!0,get:()=>O.ElCountdown}),Object.defineProperty(v,"FoxDatePicker",{enumerable:!0,get:()=>O.ElDatePicker}),Object.defineProperty(v,"FoxDescriptions",{enumerable:!0,get:()=>O.ElDescriptions}),Object.defineProperty(v,"FoxDescriptionsItem",{enumerable:!0,get:()=>O.ElDescriptionsItem}),Object.defineProperty(v,"FoxDialog",{enumerable:!0,get:()=>O.ElDialog}),Object.defineProperty(v,"FoxDivider",{enumerable:!0,get:()=>O.ElDivider}),Object.defineProperty(v,"FoxDrawer",{enumerable:!0,get:()=>O.ElDrawer}),Object.defineProperty(v,"FoxDropdown",{enumerable:!0,get:()=>O.ElDropdown}),Object.defineProperty(v,"FoxDropdownItem",{enumerable:!0,get:()=>O.ElDropdownItem}),Object.defineProperty(v,"FoxDropdownMenu",{enumerable:!0,get:()=>O.ElDropdownMenu}),Object.defineProperty(v,"FoxEmpty",{enumerable:!0,get:()=>O.ElEmpty}),Object.defineProperty(v,"FoxFooter",{enumerable:!0,get:()=>O.ElFooter}),Object.defineProperty(v,"FoxForm",{enumerable:!0,get:()=>O.ElForm}),Object.defineProperty(v,"FoxFormItem",{enumerable:!0,get:()=>O.ElFormItem}),Object.defineProperty(v,"FoxHeader",{enumerable:!0,get:()=>O.ElHeader}),Object.defineProperty(v,"FoxIcon",{enumerable:!0,get:()=>O.ElIcon}),Object.defineProperty(v,"FoxImage",{enumerable:!0,get:()=>O.ElImage}),Object.defineProperty(v,"FoxImageViewer",{enumerable:!0,get:()=>O.ElImageViewer}),Object.defineProperty(v,"FoxInput",{enumerable:!0,get:()=>O.ElInput}),Object.defineProperty(v,"FoxInputNumber",{enumerable:!0,get:()=>O.ElInputNumber}),Object.defineProperty(v,"FoxLink",{enumerable:!0,get:()=>O.ElLink}),Object.defineProperty(v,"FoxMain",{enumerable:!0,get:()=>O.ElMain}),Object.defineProperty(v,"FoxMenu",{enumerable:!0,get:()=>O.ElMenu}),Object.defineProperty(v,"FoxMenuItem",{enumerable:!0,get:()=>O.ElMenuItem}),Object.defineProperty(v,"FoxMenuItemGroup",{enumerable:!0,get:()=>O.ElMenuItemGroup}),Object.defineProperty(v,"FoxMessage",{enumerable:!0,get:()=>O.ElMessage}),Object.defineProperty(v,"FoxMessageBox",{enumerable:!0,get:()=>O.ElMessageBox}),Object.defineProperty(v,"FoxNotification",{enumerable:!0,get:()=>O.ElNotification}),Object.defineProperty(v,"FoxOption",{enumerable:!0,get:()=>O.ElOption}),Object.defineProperty(v,"FoxOptionGroup",{enumerable:!0,get:()=>O.ElOptionGroup}),Object.defineProperty(v,"FoxPageHeader",{enumerable:!0,get:()=>O.ElPageHeader}),Object.defineProperty(v,"FoxPagination",{enumerable:!0,get:()=>O.ElPagination}),Object.defineProperty(v,"FoxPopconfirm",{enumerable:!0,get:()=>O.ElPopconfirm}),Object.defineProperty(v,"FoxPopover",{enumerable:!0,get:()=>O.ElPopover}),Object.defineProperty(v,"FoxPopper",{enumerable:!0,get:()=>O.ElPopper}),Object.defineProperty(v,"FoxProgress",{enumerable:!0,get:()=>O.ElProgress}),Object.defineProperty(v,"FoxRadio",{enumerable:!0,get:()=>O.ElRadio}),Object.defineProperty(v,"FoxRadioButton",{enumerable:!0,get:()=>O.ElRadioButton}),Object.defineProperty(v,"FoxRadioGroup",{enumerable:!0,get:()=>O.ElRadioGroup}),Object.defineProperty(v,"FoxRate",{enumerable:!0,get:()=>O.ElRate}),Object.defineProperty(v,"FoxResult",{enumerable:!0,get:()=>O.ElResult}),Object.defineProperty(v,"FoxRow",{enumerable:!0,get:()=>O.ElRow}),Object.defineProperty(v,"FoxScrollbar",{enumerable:!0,get:()=>O.ElScrollbar}),Object.defineProperty(v,"FoxSegmented",{enumerable:!0,get:()=>O.ElSegmented}),Object.defineProperty(v,"FoxSelect",{enumerable:!0,get:()=>O.ElSelect}),Object.defineProperty(v,"FoxSelectV2",{enumerable:!0,get:()=>O.ElSelectV2}),Object.defineProperty(v,"FoxSkeleton",{enumerable:!0,get:()=>O.ElSkeleton}),Object.defineProperty(v,"FoxSkeletonItem",{enumerable:!0,get:()=>O.ElSkeletonItem}),Object.defineProperty(v,"FoxSlider",{enumerable:!0,get:()=>O.ElSlider}),Object.defineProperty(v,"FoxSpace",{enumerable:!0,get:()=>O.ElSpace}),Object.defineProperty(v,"FoxStatistic",{enumerable:!0,get:()=>O.ElStatistic}),Object.defineProperty(v,"FoxStep",{enumerable:!0,get:()=>O.ElStep}),Object.defineProperty(v,"FoxSteps",{enumerable:!0,get:()=>O.ElSteps}),Object.defineProperty(v,"FoxSubMenu",{enumerable:!0,get:()=>O.ElSubMenu}),Object.defineProperty(v,"FoxSwitch",{enumerable:!0,get:()=>O.ElSwitch}),Object.defineProperty(v,"FoxTabPane",{enumerable:!0,get:()=>O.ElTabPane}),Object.defineProperty(v,"FoxTable",{enumerable:!0,get:()=>O.ElTable}),Object.defineProperty(v,"FoxTableColumn",{enumerable:!0,get:()=>O.ElTableColumn}),Object.defineProperty(v,"FoxTableV2",{enumerable:!0,get:()=>O.ElTableV2}),Object.defineProperty(v,"FoxTabs",{enumerable:!0,get:()=>O.ElTabs}),Object.defineProperty(v,"FoxTag",{enumerable:!0,get:()=>O.ElTag}),Object.defineProperty(v,"FoxTimePicker",{enumerable:!0,get:()=>O.ElTimePicker}),Object.defineProperty(v,"FoxTimeSelect",{enumerable:!0,get:()=>O.ElTimeSelect}),Object.defineProperty(v,"FoxTimeline",{enumerable:!0,get:()=>O.ElTimeline}),Object.defineProperty(v,"FoxTimelineItem",{enumerable:!0,get:()=>O.ElTimelineItem}),Object.defineProperty(v,"FoxTooltip",{enumerable:!0,get:()=>O.ElTooltip}),Object.defineProperty(v,"FoxTransfer",{enumerable:!0,get:()=>O.ElTransfer}),Object.defineProperty(v,"FoxTree",{enumerable:!0,get:()=>O.ElTree}),Object.defineProperty(v,"FoxTreeSelect",{enumerable:!0,get:()=>O.ElTreeSelect}),Object.defineProperty(v,"FoxTreeV2",{enumerable:!0,get:()=>O.ElTreeV2}),Object.defineProperty(v,"FoxUpload",{enumerable:!0,get:()=>O.ElUpload}),Object.defineProperty(v,"FoxWatermark",{enumerable:!0,get:()=>O.ElWatermark}),v.ActionsheetItem=Pl,v.ActionsheetPane=$n,v.AutocompleteItem=Nl,v.Broadcast=Xn,v.BroadcastKey=Te,v.CalendarItem=Sl,v.CascaderItem=Dl,v.CheckboxItem=Bl,v.Content=rl,v.DataItemsKey=mt,v.DateItem=pl,v.DateUtils=ie,v.DialogItem=Xl,v.Domain=tn,v.DomainKey=Re,v.DomainProvider=ca,v.FloatingButton=na,v.FloatingWindow=sa,v.FooterBar=ol,v.FoxActionsheetItem=Pl,v.FoxActionsheetPane=$n,v.FoxAutocompleteItem=Nl,v.FoxCalendarItem=Sl,v.FoxCascaderItem=Dl,v.FoxCheckboxItem=Bl,v.FoxContent=rl,v.FoxDateItem=pl,v.FoxDialogItem=Xl,v.FoxDomainProvider=ca,v.FoxFloatingButton=na,v.FoxFloatingWindow=sa,v.FoxFooterBar=ol,v.FoxGroup=ul,v.FoxGroupSetting=_l,v.FoxHeaderBar=al,v.FoxHintText=At,v.FoxIndicator=Ql,v.FoxInfiniteLoading=Tn,v.FoxInputItem=gl,v.FoxInputNumberItem=$l,v.FoxItem=Se,v.FoxMapping=Mt,v.FoxMoneyItem=Cl,v.FoxMoreButton=ta,v.FoxOverLay=pn,v.FoxPage=nl,v.FoxPickerItem=Hl,v.FoxPopoverDialog=ua,v.FoxPopup=ut,v.FoxPrice=gn,v.FoxPullRefresh=Jl,v.FoxRadioItem=Fl,v.FoxRateItem=Ml,v.FoxRollingProvider=fa,v.FoxRowItem=ml,v.FoxSearchBar=Cn,v.FoxSelectItem=yl,v.FoxSlotItem=hl,v.FoxStepsBar=Yl,v.FoxSwitchItem=Rl,v.FoxTableItem=Al,v.FoxTableMappingColumn=El,v.FoxTableRadioColumn=Vl,v.FoxTableSetting=wn,v.FoxTabsBar=kn,v.FoxTabsContainer=Dn,v.FoxTabsPane=Nn,v.FoxText=ea,v.FoxTimeItem=xl,v.FoxTimeSelectItem=Tl,v.FoxToast=Zl,v.FoxTour=la,v.FoxTreeSelectItem=Ll,v.Foxcalendarpicker=vn,v.Foxcascaderpicker=Gl,v.Foxdatepicker=Ul,v.Foxpicker=Pt,v.Group=ul,v.GroupSetting=_l,v.HeaderBar=al,v.HintText=At,v.Indicator=Ql,v.InfiniteLoading=Tn,v.InputItem=gl,v.InputNumberItem=$l,v.Item=Se,v.Mapping=Mt,v.MoneyItem=Cl,v.MoreButton=ta,v.OverLay=pn,v.Page=nl,v.PickerItem=Hl,v.PopoverDialog=ua,v.Popup=ut,v.Price=gn,v.PriorityPolicy=_e,v.PullRefresh=Jl,v.RadioItem=Fl,v.RateItem=Ml,v.RollingProvider=fa,v.RowItem=ml,v.SearchBar=Cn,v.SelectItem=yl,v.SlotItem=hl,v.StepsBar=Yl,v.SwitchItem=Rl,v.TableItem=Al,v.TableMappingColumn=El,v.TableRadioColumn=Vl,v.TableSetting=wn,v.TabsBar=kn,v.TabsContainer=Dn,v.TabsPane=Nn,v.Text=ea,v.TimeItem=xl,v.TimeSelectItem=Tl,v.Toast=Zl,v.Tour=la,v.TreeSelectItem=Ll,v.UniqueID=Qa,v.ValidateSchema=Ra,v.ValidateSchemaKey=qe,v.calendarpicker=vn,v.cancelRaf=Rr,v.cascaderpicker=Gl,v.clearNonNumber=Ur,v.clone=Yn,v.compareTo=jn,v.createBroadcast=Xt,v.createValidateSchema=Jt,v.datepicker=Ul,v.debounce=st,v.debounceRef=ii,v.decimalLength=Ia,v.default=vy,v.defineBroadcast=Jr,v.defineConfigDomain=Pa,v.defineDataItem=za,v.defineDomain=Jn,v.defineItem=Ce,v.definePageState=ja,v.defineSimpleItem=Qn,v.deleteGlobalValidator=li,v.disabledProperty=Ie,v.divide=zn,v.excludeProps=ke,v.extend=rt,v.floatData=Zr,v.getGlobalValidateCheckEvents=Fa,v.getGlobalValidateResetEvents=Ma,v.getPageContentAreaHeight=ln,v.getPageContentAreaWidth=an,v.getPageFooterAreaHeight=It,v.getPageHeaderAreaHeight=Vt,v.getRootDomain=gt,v.hasSymbol=Ca,v.includeProps=kt,v.indexOf=Gr,v.installRules=qa,v.integerLength=Va,v.isArray=_r,v.isArrayLike=ka,v.isBrowser=tt,v.isDate=et,v.isESModule=jr,v.isEmptyString=de,v.isEqual=Pe,v.isFunction=Kn,v.isHidden=Gt,v.isInnerPage=ci,v.isMap=Pr,v.isNil=Gn,v.isNumberString=Ea,v.isObject=Le,v.isPlainObject=Wn,v.isPromise=Wt,v.isRegExp=Na,v.isSet=qr,v.isString=xa,v.isSubPage=fi,v.isSymbol=zr,v.isTouch=Lt,v.isWindow=$a,v.lastIndexOf=Xr,v.makeArray=Yr,v.merge=Da,v.multiply=va,v.negate=wa,v.nextTick=Kr,v.numberFormat=Kt,v.objectToString=Ta,v.once=si,v.overrideGlobalValidateHandler=ti,v.picker=Pt,v.property=Ee,v.raf=Hn,v.readonlyProperty=Ve,v.setGlobalValidateCheckEvents=ai,v.setGlobalValidateHandler=ei,v.setGlobalValidateMessages=ri,v.setGlobalValidateResetEvents=oi,v.setGlobalValidator=ni,v.throttle=_a,v.toBoolean=ce,v.toNumber=ge,v.toPadding=We,v.toPx=pe,v.toPxDesc=Ae,v.toTypeString=Yt,v.toValue=he,v.tryTimes=en,v.typeOf=Ut,v.unNumberFormat=Sa,v.updatePageState=el,v.useBroadcast=Dt,v.useDomain=Xe,v.useExpose=be,v.useInnerSize=sn,v.usePageState=nn,v.usePosition=cl,v.useRawTouch=_t,v.useRect=zl,v.useSize=ll,v.useTouch=lr,v.valueLength=Ke,Object.defineProperties(v,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
1
+ (function(w,l){typeof exports=="object"&&typeof module<"u"?l(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"],l):(w=typeof globalThis<"u"?globalThis:w||self,l(w.FoxUI={},w.Vue,w.FoxValidator,w.ElementPlus,w.ElementPlusIconsVue,w.FoxI18n))})(this,function(w,l,St,B,Be,Ne){Object.defineProperties(w,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var bi=Object.create,Ga=Object.defineProperty,Si=Object.getOwnPropertyDescriptor,wi=Object.getOwnPropertyNames,vi=Object.getPrototypeOf,Ni=Object.prototype.hasOwnProperty,ot=(t,a)=>()=>(a||t((a={exports:{}}).exports,a),a.exports),Ci=(t,a,n,i)=>{if(a&&typeof a=="object"||typeof a=="function")for(var o=wi(a),r=0,s=o.length,c;r<s;r++)c=o[r],!Ni.call(t,c)&&c!==n&&Ga(t,c,{get:(e=>a[e]).bind(null,c),enumerable:!(i=Si(a,c))||i.enumerable});return t},it=(t,a,n)=>(n=t!=null?bi(vi(t)):{},Ci(a||!t||!t.__esModule?Ga(n,"default",{value:t,enumerable:!0}):n,t)),dl=window,ki=typeof window<"u";function xi(){return typeof dl<"u"?dl.requestAnimationFrame||dl.webkitRequestAnimationFrame||function(t){dl.setTimeout(t,1e3/60)}:function(t){setTimeout(t,1e3/60)}}function zi(t){ki?cancelAnimationFrame(t):clearTimeout(t)}var rn=xi();function fl(t,a="0"){let n=0,i=-1;t[0]=="-"&&(n++,i=1,t=t.substring(1),t.length),a[0]=="-"&&(n++,i=2,a=a.substring(1),a.length),t=We(t),a=We(a),[t,a]=sn(We(t),We(a)),n==1&&(i==1?t=on(t):a=on(a));let o=Xa(t,a);return n?n==2?"-"+We(o):t.length<o.length?We(o.substring(1)):"-"+We(on(o)):We(o)}function on(t){let a="",n=t.length,i=t.split(".")[1],o=i?i.length:0;for(let s=0;s<n;s++)t[s]>="0"&&t[s]<="9"?a+=9-parseInt(t[s]):a+=t[s];let r=o>0?"0."+new Array(o).join("0")+"1":"1";return Xa(a,r)}function We(t){let a=t.split(".");for(a[0]||(a[0]="0");a[0][0]=="0"&&a[0].length>1;)a[0]=a[0].substring(1);return a[0]+(a[1]?"."+a[1]:"")}function sn(t,a){let n=t.split("."),i=a.split("."),o=n[0].length,r=i[0].length;return o>r?i[0]=new Array(Math.abs(o-r)+1).join("0")+(i[0]?i[0]:""):n[0]=new Array(Math.abs(o-r)+1).join("0")+(n[0]?n[0]:""),o=n[1]?n[1].length:0,r=i[1]?i[1].length:0,(o||r)&&(o>r?i[1]=(i[1]?i[1]:"")+new Array(Math.abs(o-r)+1).join("0"):n[1]=(n[1]?n[1]:"")+new Array(Math.abs(o-r)+1).join("0")),t=n[0]+(n[1]?"."+n[1]:""),a=i[0]+(i[1]?"."+i[1]:""),[t,a]}function Xa(t,a){[t,a]=sn(t,a);let n="",i=0;for(let o=t.length-1;o>=0;o--){if(t[o]==="."){n="."+n;continue}let r=parseInt(t[o])+parseInt(a[o])+i;n=r%10+n,i=Math.floor(r/10)}return i?i.toString()+n:n}var Me=(function(t){return t[t.CEILING=0]="CEILING",t[t.DOWN=1]="DOWN",t[t.FLOOR=2]="FLOOR",t[t.HALF_DOWN=3]="HALF_DOWN",t[t.HALF_EVEN=4]="HALF_EVEN",t[t.HALF_UP=5]="HALF_UP",t[t.UNNECESSARY=6]="UNNECESSARY",t[t.UP=7]="UP",t})({});function Rt(t,a=0,n=Me.HALF_EVEN){if(n===Me.UNNECESSARY)throw new Error("UNNECESSARY Rounding Mode has not yet been implemented");typeof t=="number"&&(t=t.toString());let i=!1;t[0]==="-"&&(i=!0,t=t.substring(1));let o=t.split("."),r=o[0],s=o[1];if(a<0){if(a=-a,r.length<=a)return"0";{let e=r.substr(0,r.length-a);return t=e+"."+r.substr(r.length-a)+s,e=Rt(t,0,n),(i?"-":"")+e+new Array(a+1).join("0")}}if(a==0)return r.length,Qa(o[1],r,i,n)?(i?"-":"")+cn(r):(i?"-":"")+r;if(o[1]){if(o[1].length<a)return(i?"-":"")+r+"."+o[1]+new Array(a-o[1].length+1).join("0")}else return(i?"-":"")+r+"."+new Array(a+1).join("0");s=o[1].substring(0,a);let c=o[1].substring(a);return c&&Qa(c,s,i,n)&&(s=cn(s),s.length>a)?(i?"-":"")+cn(r,parseInt(s[0]))+"."+s.substring(1):(i?"-":"")+r+"."+s}function Qa(t,a,n,i){if(!t||t===new Array(t.length+1).join("0")||i===Me.DOWN||!n&&i===Me.FLOOR||n&&i===Me.CEILING)return!1;if(i===Me.UP||n&&i===Me.FLOOR||!n&&i===Me.CEILING)return!0;let o="5"+new Array(t.length).join("0");if(t>o)return!0;if(t<o)return!1;switch(i){case Me.HALF_DOWN:return!1;case Me.HALF_UP:return!0;case Me.HALF_EVEN:default:return parseInt(a[a.length-1])%2==1}}function cn(t,a=0){a||(a=1),typeof t=="number"&&t.toString();let n=t.length-1,i="";for(let o=n;o>=0;o--){let r=parseInt(t[o])+a;r==10?(a=1,r=0):a=0,i+=r}return a&&(i+=a),i.split("").reverse().join("")}function un(t,a){t=t.toString(),a=a.toString();let n=0;t[0]=="-"&&(n++,t=t.substr(1)),a[0]=="-"&&(n++,a=a.substr(1)),t=Ft(t),a=Ft(a);let i=0,o=0;t.indexOf(".")!=-1&&(i=t.length-t.indexOf(".")-1),a.indexOf(".")!=-1&&(o=a.length-a.indexOf(".")-1);let r=i+o;if(t=Ft(t.replace(".","")),a=Ft(a.replace(".","")),t.length<a.length){let d=t;t=a,a=d}if(a=="0")return"0";let s=a.length,c=0,e=[],u=s-1,h="";for(let d=0;d<s;d++)e[d]=t.length-1;for(let d=0;d<2*t.length;d++){let m=0;for(let T=a.length-1;T>=u&&T>=0;T--)e[T]>-1&&e[T]<t.length&&(m+=parseInt(t[e[T]--])*parseInt(a[T]));m+=c,c=Math.floor(m/10),h=m%10+h,u--}return h=Ft(Ei(h,r)),n==1&&(h="-"+h),h}function Ei(t,a){return a==0?t:(t=a>=t.length?new Array(a-t.length+1).join("0")+t:t,t.substr(0,t.length-a)+"."+t.substr(t.length-a,a))}function Ft(t){for(;t[0]=="0";)t=t.substr(1);if(t.indexOf(".")!=-1)for(;t[t.length-1]=="0";)t=t.substr(0,t.length-1);return t==""||t=="."?t="0":t[t.length-1]=="."&&(t=t.substr(0,t.length-1)),t[0]=="."&&(t="0"+t),t}function dn(t,a,n=8){if(a==0)throw new Error("Cannot divide by 0");if(t=t.toString(),a=a.toString(),t=t.replace(/(\.\d*?[1-9])0+$/g,"$1").replace(/\.0+$/,""),a=a.replace(/(\.\d*?[1-9])0+$/g,"$1").replace(/\.0+$/,""),t==0)return"0";let i=0;a[0]=="-"&&(a=a.substring(1),i++),t[0]=="-"&&(t=t.substring(1),i++);var o=a.indexOf(".")>0?a.length-a.indexOf(".")-1:-1;if(a=We(a.replace(".","")),o>=0){let u=t.indexOf(".")>0?t.length-t.indexOf(".")-1:-1;if(u==-1)t=We(t+new Array(o+1).join("0"));else if(o>u)t=t.replace(".",""),t=We(t+new Array(o-u+1).join("0"));else if(o<u){t=t.replace(".","");let h=t.length-u+o;t=We(t.substring(0,h)+"."+t.substring(h))}else o==u&&(t=We(t.replace(".","")))}let r=0,s=a.length,c="",e=t.indexOf(".")>-1&&t.indexOf(".")<s?t.substring(0,s+1):t.substring(0,s);if(t=t.indexOf(".")>-1&&t.indexOf(".")<s?t.substring(s+1):t.substring(s),e.indexOf(".")>-1){let u=e.length-e.indexOf(".")-1;e=e.replace(".",""),s>e.length&&(u+=s-e.length,e=e+new Array(s-e.length+1).join("0")),r=u,c="0."+new Array(u).join("0")}for(n=n+2;r<=n;){let u=0;for(;parseInt(e)>=parseInt(a);)e=fl(e,"-"+a),u++;c+=u,t?(t[0]=="."&&(c+=".",r++,t=t.substring(1)),e=e+t.substring(0,1),t=t.substring(1)):(r||(c+="."),r++,e=e+"0")}return(i==1?"-":"")+We(Rt(c,n-2))}function fn(t,a){return t=t.toString(),a=a.toString(),a=mn(a),fl(t,a)}function mn(t){return t[0]=="-"?t=t.substr(1):t="-"+t,t}function Za(t,a){if(a==0)throw new Error("Cannot divide by 0");t=t.toString(),a=a.toString(),Ja(t),Ja(a);let n="";t[0]=="-"&&(n="-",t=t.substr(1)),a[0]=="-"&&(a=a.substr(1));let i=fn(t,un(a,Rt(dn(t,a),0,Me.FLOOR)));return n+i}function Ja(t){if(t.indexOf(".")!=-1)throw new Error("Modulus of non-integers not supported")}function er(t,a){let n=!1;if(t[0]=="-"&&a[0]!="-")return-1;if(t[0]!="-"&&a[0]=="-")return 1;if(t[0]=="-"&&a[0]=="-"&&(t=t.substr(1),a=a.substr(1),n=!0),[t,a]=sn(t,a),t.localeCompare(a)==0)return 0;for(let i=0;i<t.length;i++)if(t[i]!=a[i])return t[i]>a[i]?n?-1:1:n?1:-1;return 0}var Ot=class Se{value;static RoundingModes=Me;static validate(a){if(a){if(a=a.toString(),isNaN(a))throw Error("Parameter is not a number: "+a);a[0]=="+"&&(a=a.substring(1))}else a="0";if(a.startsWith(".")?a="0"+a:a.startsWith("-.")&&(a="-0"+a.substr(1)),/e/i.test(a)){let[n,i]=a.split(/[eE]/);n=We(n);let o="";n[0]=="-"&&(o="-",n=n.substring(1)),n.indexOf(".")>=0?(i=parseInt(i)+n.indexOf("."),n=n.replace(".","")):i=parseInt(i)+n.length,n.length<i?a=o+n+new Array(i-n.length+1).join("0"):n.length>=i&&i>0?a=o+We(n.substring(0,i))+(n.length>i?"."+n.substring(i):""):a=o+"0."+new Array(-i+1).join("0")+n}return a}constructor(a="0"){this.value=Se.validate(a)}getValue(){return this.value}static getPrettyValue(a,n,i){if(!(n||i))n=3,i=",";else if(!(n&&i))throw Error("Illegal Arguments. Should pass both digits and separator or pass none");a=Se.validate(a);let o=a.charAt(0)=="-";o&&(a=a.substring(1));var r=a.indexOf(".");r=r>0?r:a.length;for(var s="",c=r;c>0;)c<n?(n=c,c=0):c-=n,s=a.substring(c,c+n)+(c<r-n&&c>=0?i:"")+s;return(o?"-":"")+s+a.substring(r)}getPrettyValue(a,n){return Se.getPrettyValue(this.value,a,n)}static round(a,n=0,i=Me.HALF_EVEN){if(a=Se.validate(a),isNaN(n))throw Error("Precision is not a number: "+n);return Rt(a,n,i)}round(a=0,n=Me.HALF_EVEN){if(isNaN(a))throw Error("Precision is not a number: "+a);return new Se(Rt(this.value,a,n))}static floor(a){return a=Se.validate(a),a.indexOf(".")===-1?a:Se.round(a,0,Me.FLOOR)}floor(){return this.value.indexOf(".")===-1?new Se(this.value):new Se(this.value).round(0,Me.FLOOR)}static ceil(a){return a=Se.validate(a),a.indexOf(".")===-1?a:Se.round(a,0,Me.CEILING)}ceil(){return this.value.indexOf(".")===-1?new Se(this.value):new Se(this.value).round(0,Me.CEILING)}static add(a,n){return a=Se.validate(a),n=Se.validate(n),fl(a,n)}add(a){return new Se(fl(this.value,a.getValue()))}static subtract(a,n){return a=Se.validate(a),n=Se.validate(n),fn(a,n)}subtract(a){return new Se(fn(this.value,a.getValue()))}static multiply(a,n){return a=Se.validate(a),n=Se.validate(n),un(a,n)}multiply(a){return new Se(un(this.value,a.getValue()))}static divide(a,n,i){return a=Se.validate(a),n=Se.validate(n),dn(a,n,i)}divide(a,n){return new Se(dn(this.value,a.getValue(),n))}static modulus(a,n){return a=Se.validate(a),n=Se.validate(n),Za(a,n)}modulus(a){return new Se(Za(this.value,a.getValue()))}static compareTo(a,n){return a=Se.validate(a),n=Se.validate(n),er(a,n)}compareTo(a){return er(this.value,a.getValue())}static negate(a){return a=Se.validate(a),mn(a)}negate(){return new Se(mn(this.value))}};function tr(t,a){return Ot.multiply(`${t}`,`${a}`)}function hn(t,a,n=8){return Ot.divide(`${t}`,`${a}`,n)}var Gp=Ot.RoundingModes;function pn(t,a){return t=`${t}`,a=`${a}`,Ot.compareTo(t,a)}function lr(t){return Ot.negate(t)}function ml(t,a=-1,n=!1,i=3,o=","){let r=`${t}`;if(r.length==0||r==="-")return"";let s=r.charAt(0);s=="-"?r=r.substring(1):s="";let c=r,e="",u=r.indexOf(".");u!=-1&&(c=r.substring(0,u),e=r.substring(u+1)),a!=-1&&(a<e.length?e=e.substring(0,a):n&&a>e.length&&(e=e.padEnd(a,"0")));let h;if(i>0){let d="",m=c.split("").reverse();for(let T=0;T<m.length;T++)d+=m[T]+((T+1)%i==0&&T+1!=m.length?o:"");e.length==0?h=`${s}${d.split("").reverse().join("")}`:h=`${s}${d.split("").reverse().join("")}.${e}`}else e.length==0?h=`${s}${c}`:h=`${s}${c}.${e}`;return h}function nr(t){let a=`${t}`,n=a.charAt(0);n=="-"?a=a.substring(1):n="";let i=a.replace(/[^\d\.-]/g,"");return`${n}${i}`}var gn=rn,Ti=Array.isArray,$i=t=>pl(t)==="[object Map]",Bi=t=>pl(t)==="[object Set]",yn=t=>t instanceof Date,bn=t=>typeof t=="function",ar=t=>typeof t=="string",Vi=t=>typeof t=="symbol",Ye=t=>t!==null&&typeof t=="object",hl=t=>Ye(t)&&bn(t.then)&&bn(t.catch),rr=Object.prototype.toString,pl=t=>rr.call(t),Di=t=>pl(t)==="[object Object]",or=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol";function Mi(t){return t.__esModule||or&&t[Symbol.toStringTag]==="Module"}var Ai=typeof Promise<"u"&&Promise.toString().indexOf("[native code]")!==-1;function kt(...t){let a=t[0]!==void 0&&t[0]!==null?t[0]:{},n=1,i=t.length,o=!1;for(typeof a=="boolean"&&(o=a,a=t[n]??{},n++),typeof a!="object"&&(a={});n<i;n++)if(t[n]!==null&&t[n]!==void 0){let r=t[n];for(let s in r){let c=a[s],e=r[s];if(c!==e)if(o===!0&&e&&typeof e=="object"){let u;Array.isArray(e)?u=c&&Array.isArray(c)?c:[]:u=c&&typeof c=="object"?c:{},a[s]=kt(o,u,e)}else e!==void 0&&(a[s]=e)}}return a}var Sn=Ai?Promise.resolve():null;function Ii(t,...a){Sn!==null?a&&a.length>0?Sn.then(()=>{t(a)}):Sn.then(t):a&&a.length>0?setTimeout(()=>{t(a)}):setTimeout(t)}function he(t){return t==null?!1:typeof t=="boolean"?t:typeof t=="string"?t.toLocaleLowerCase()==="true":!!t}function we(t){return typeof t=="number"?t:Number(t)}var Pi={"[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 gl(t){let a=Object.prototype.toString.call(t);return t==null?String(t):Pi[a]||"object"}function wn(t){if(!t||t.nodeType!==1)return!0;let a=t;for(;a;){if(a.hidden)return!0;const n=window.getComputedStyle(a);if(n.display==="none"||n.visibility==="hidden"||n.visibility==="collapse")return!0;a=a.parentElement}return!1}function vn(t){if(!t)return!0;if(t.offsetParent!==null)return!1;if(getComputedStyle(t).position!=="fixed")return!0;let a=t.parentElement;for(;a;){if(getComputedStyle(a).display==="none")return!0;a=a.parentElement}return!1}function ir(t){return t&&typeof t=="object"&&"setInterval"in t}function sr(t){let a=!!t&&"length"in t&&t.length,n=gl(t);return n==="function"||ir(t)?!1:n==="array"||a===0||typeof a=="number"&&a>0&&a-1 in t}function cr(t,a){let n=+a.length,i=0,o=t.length;for(;i<n;i++)t[o++]=a[i];return t.length=o,t}function Li(t,a=[]){let n=a;return t!=null&&(sr(Object(t))?cr(n,typeof t=="string"?[t]:t):n.push(t)),n}function Xe(t,a){if(t==a)return!0;if(t===void 0||a===void 0)return!1;let n=gl(t);if(n!==gl(a))return!1;if(n==="object"){let i=Object.keys(t),o=Object.keys(a);if(i.length!==o.length)return!1;for(let r=0;r<i.length;r++){let s=i[r],c=t[s],e=a[s];if(!Xe(c,e))return!1}return!0}else if(n==="array"){if(t.length!==a.length)return!1;for(let i=0;i<t.length;i++){let o=t[i],r=a[i];if(!Xe(o,r))return!1}return!0}return!1}var dt=typeof window<"u";function Re(t){return t==null}function Nn(t){return Object.prototype.toString.call(t)==="[object RegExp]"}var ge=t=>t==null?!0:typeof t!="string"?!1:t.length===0;function Cn(t){return ge(t)?!0:(t.charAt(0)=="-"&&(t=t.substring(1)),ge(t)||/^(([1-9][0-9]*\.[0-9]*)|([0]\.[0-9]*)|([0-9]*)|([0]{1}))$/.test(t))}function ur(t){if(t==null)return 0;let a=`${t}`;if(a.length==0)return 0;a.charAt(0)=="-"&&(a=a.substring(1)),a=a.replace(/[^\d\.-]/g,"");const n=a.indexOf(".");return n==-1?a.length:n}function dr(t){if(t==null)return 0;const a=`${t}`;if(a.length==0)return 0;const n=a.indexOf(".");return n==-1?0:a.length-(n+1)}function fr(t,a,n){const i=t.indexOf(a);return i===-1?t:a==="-"&&i!==0?t.slice(0,i):t.slice(0,i+1)+t.slice(i).replace(n,"")}function _i(t,a=!0,n=!0){a?t=fr(t,".",/\./g):t=t.replace(/\./g,""),n?t=fr(t,"-",/-/g):t=t.replace(/-/,"");const i=a?/[^-0-9.]/g:/[^-0-9]/g;return t.replace(i,"")}function Ri(t,a){return typeof t=="object"||Array.isArray(t)?a.findIndex(n=>{if(Xe(t,n))return!0}):a.indexOf(t)}function Fi(t,a){if(typeof t=="object"||Array.isArray(t)){let n=a.reverse().findIndex(i=>{if(Xe(t,i))return!0});return n!==-1&&(n=a.length-1-n),n}return a.lastIndexOf(t)}function ft(t){return t==null||t==null?0:typeof t=="string"?t.length:`${t}`.length}function tt(t,...a){const n={};return a.forEach(i=>{for(const o in i)n[o]=t[o]}),n}function Ae(t,...a){const n=[];a.forEach(o=>{Reflect.apply([].push,n,Reflect.ownKeys(o))});const i={};for(const o in t)n.includes(o)||(i[o]=t[o]);return i}var Oi=(t,a,n)=>{const i=Object.assign({},t),o=Object.assign({},n);return Object.keys(a).length>0?(Object.keys(i).forEach(r=>{o.hasOwnProperty(r)?typeof o[r]=="string"&&(i[r]=a[o[r]]):a[r]&&(i[r]=a[r])}),i):t};function Hi(t,a){(typeof t.cancelable!="boolean"||t.cancelable)&&t.preventDefault(),a&&t.stopPropagation()}var qi=(t,a=2)=>{for(t+="";t.length<a;)t="0"+t;return t.toString()},ji=(t,a,n)=>Math.min(Math.max(t,a),n);function Ht(t){return t.split("-").map(a=>a.charAt(0).toUpperCase()+a.slice(1)).join("")}function mr(t){return t.replace(/([A-Z])/g,"-$1").replace(/^-/,"").toLowerCase()}var Je=Symbol.for("BroadcastKey"),hr=class{parent;children=[];callbacks=new Map;exposed=null;name;persistantMessages=new Map;constructor(t,a,n){this.parent=t,this.exposed=a,this.name=n,t!==null&&t.addChild(this)}addChild(t){this.children.push(t)}removeChild(t){const a=this.children.findIndex(n=>t===n);a!==-1&&this.children.splice(a,1)}destroy(){this.parent!==null&&this.parent.removeChild(this),this.persistantMessages.clear(),this.parent=null,this.callbacks=null,this.exposed=null}setPersistantMessage(t,a,n){if(!t.uniqueId)return console.warn("[FoxUI]持久化消息,必须设置uniqueId。"),!1;const i=t.uniqueId,o={matched:t,action:a,args:n};return this.persistantMessages.set(i,o),!0}deletePersistantMessage(t){this.persistantMessages.delete(t)}getPersistantMessages(){const t=[];return this.persistantMessages.forEach(a=>{t.push(a)}),t}clearPersistantMessage(){this.persistantMessages.clear()}isMatched(t,a){if(!a||a.messagingPolicy==="Once"&&a.resolved===!0)return!1;let n=!1;return!a.name||a.name==="*"||a.name==="+"||Nn(a.name)&&t&&a.name.test(t)?n=!0:typeof a.name=="function"?n=Reflect.apply(a.name,null,[t]):a.name===t&&(n=!0),n}trigger(t,a,n){let i=null;const o=this.callbacks.get(a);typeof o=="function"&&(i=Reflect.apply(o,null,[...n])),this.exposed&&typeof this.exposed[a]=="function"&&(i=Reflect.apply(this.exposed[a],this.exposed,[...n])),t.resolved=!0,typeof t.resolve=="function"&&t.resolve(i)}pull(){let t=this.parent;for(;t;){const a=t.getPersistantMessages();Array.isArray(a)&&a.length>0&&a.forEach(n=>{if(this.isMatched(this.name,n.matched))try{this.trigger(n.matched,n.action,n.args)}catch(i){console.error(i)}}),t=t.parent}}emit(t,a,...n){if(t.messagingPolicy==="Once"&&t.resolved===!0)return[];if(t.cachePolicy==="Persistant")this.setPersistantMessage(t,a,n),t.cachePolicy="None";else if(t.cachePolicy==="Unresolved"){if(this.setPersistantMessage(t,a,n)){const r=t.resolve,s=t.uniqueId??"",c=(...e)=>{this.deletePersistantMessage(s),typeof r=="function"&&r(...e)};t.resolve=c}t.cachePolicy="None"}let i=!1;!t.name||t.name==="*"?i=!0:t.name==="+"?(i=!1,t.name="*"):Nn(t.name)&&this.name&&t.name.test(this.name)?i=!0:typeof t.name=="function"?i=Reflect.apply(t.name,null,[this.name]):t.name===this.name&&(i=!0);const o=[];if(i){const r=this.callbacks.get(a);if(typeof r=="function"){const s=Reflect.apply(r,null,[...n]);Re(s)||o.push(s)}if(this.exposed&&typeof this.exposed[a]=="function"){const s=Reflect.apply(this.exposed[a],this.exposed,[...n]);Re(s)||o.push(s)}if(t.resolved=!0,typeof t.resolve=="function"&&t.resolve(...o),t.messagingPolicy==="Once")return o}return this.children.forEach(r=>{const s=Reflect.apply(r.emit,r,[{...t},a,...n]);Array.isArray(s)&&s.length>0&&Reflect.apply([].push,o,[...s])}),o}emitToChildren(t,a,...n){if(t.cachePolicy==="Persistant")this.setPersistantMessage(t,a,n),t.cachePolicy="None";else if(t.cachePolicy==="Unresolved"){if(this.setPersistantMessage(t,a,n)){const o=t.resolve,r=t.uniqueId??"",s=(...c)=>{this.deletePersistantMessage(r),typeof o=="function"&&o(...c)};t.resolve=s}t.cachePolicy="None"}const i=[];return this.children.forEach(o=>{const r=Reflect.apply(o.emit,o,[{...t},a,...n]);Array.isArray(r)&&Reflect.apply([].push,i,[...r])}),i}on(t,a){this.callbacks.set(t,a)}};function qt(t,a,n,i){const o=new hr(a,t,n);if(i&&typeof i=="object")for(const r in i)o.on(r,i[r]);return o}function jt(t){let a=t?.[Je];return!a&&(0,l.hasInjectionContext)()&&(a=(0,l.inject)(Je,null)),a}var Ki=class{error(t,a){const n=jt(a.exposed);n?n.emit({name:"*"},"setErrorTip",t):a.exposed&&typeof a.exposed.setErrorTip=="function"&&a.exposed.setErrorTip(t)}reset(t){const a=jt(t.exposed);a?a.emit({name:"*"},"setErrorTip",""):t.exposed&&typeof t.exposed.setErrorTip=="function"&&t.exposed.setErrorTip("")}success(t){const a=jt(t.exposed);a?a.emit({name:"*"},"setErrorTip",""):t.exposed&&typeof t.exposed.setErrorTip=="function"&&t.exposed.setErrorTip("")}decorate(t,a,n){Array.isArray(t)||(t=[t]);const i=jt(n.exposed),o=a.find(s=>s.required===!0||s.type==="required"&&s.required!==!1),r=t.find(s=>s.required===!0||s.type==="required"&&s.required!==!1);!o&&r?i?i.emit({name:"*"},"setRequired",!0):n.exposed&&typeof n.exposed.setRequired=="function"&&n.exposed.setRequired(!0):o&&!r&&(i?i.emit({name:"*"},"setRequired",!1):n.exposed&&typeof n.exposed.setRequired=="function"&&n.exposed.setRequired(!1),this.reset(n))}getValue(t){return t.props.modelValue??t.exposed.modelValue}},Kt=new Ki;function Wi(t){Kt=t}function Yi(t){Kt?Object.assign(Kt,t):Kt=t}function Ui(t,a){St.Schema.setValidator(t,a)}function Gi(t){St.Schema.deleteValidator(t)}var pr=["blur","clear"];function Xi(t){pr=t}function gr(){return pr}var yr=["focus","change","setValue"];function Qi(t){yr=t}function br(){return yr}function Zi(t){St.Schema.messages(t)}function Wt(...t){const a=[];return t.forEach(n=>{n.forEach(i=>{const o=a.findIndex(r=>r.type===i.type);o!==-1&&a.splice(o,1),a.push(i)})}),a}function yl(t){return t.forEach(a=>{a.type==="required"&&(a.required===null||a.required===void 0)&&(a.required=!0),!a.type&&(a.required===!0||a.required===!1)&&(a.type="required")}),t}var mt=Symbol("ValidateSchemaKey"),Sr=class{parent=null;validators={};attrRules=[];rules=[];descriptor;proxy;scope=null;constructor(t,a,n){this.parent=t,this.descriptor=a,this.proxy=n,(this.descriptor.validate??!0)&&this.init()}init(){this.descriptor.pureDataValidate!==!0&&this.descriptor.valueName&&this.descriptor.context?.attrs&&(this.scope=(0,l.effectScope)(!0),this.scope.run(()=>{(0,l.watchEffect)(()=>{const t=yl(Wt(this.attrRules,this.rules)),a=[],n=this.descriptor.context?.attrs??{};for(let o in n){let r=n[o];if(this.hasValidator(o,!0)){if(r===!1)continue;let c={type:o};r!==null&&typeof r=="object"&&Object.assign(c,r),a.push(c);continue}let s=this.getValidator(o);if(s!==null){let c={type:o,validator:s};a.push(c)}}this.attrRules=yl(a);const i=Wt(this.attrRules,this.rules);(0,l.nextTick)(()=>{this.decorate(i,t)})})}))}destroy(){this.scope&&(this.scope.stop(),this.scope=null),this.parent=null,this.proxy=null}execHandler(t,...a){const n=this.descriptor.validateHandler;if(n&&typeof n[t]=="function")return Reflect.apply(n[t],n,[...a]);const i=Kt;return i&&typeof i[t]=="function"?Reflect.apply(i[t],i,[...a]):null}decorate(t,a){this.descriptor.pureDataValidate!==!0&&this.execHandler("decorate",t,a,this.proxy)}success(){this.descriptor.pureDataValidate!==!0&&this.execHandler("success",this.proxy)}error(t){this.descriptor.pureDataValidate!==!0&&this.execHandler("error",t,this.proxy)}getValue(){return this.execHandler("getValue",this.proxy)}setValidator(t,a,n=!1){n?St.Schema.setValidator(t,a):this.validators[t]=a}getValidator(t){let a=this.validators[t]??null;return a||(a=this.parent?.getValidator(t)??null),a}deleteValidator(t,a=!1){a?St.Schema.deleteValidator(t):Reflect.deleteProperty(this.validators,t)}hasValidator(t,a=!1){if(a)return St.Schema.hasValidator(t);{let n=Reflect.has(this.validators,t);return!n&&this.parent!==null&&(n=this.parent.hasValidator(t,!1)),n}}setRule(t){const a=Wt(this.attrRules,this.rules);t===null?this.rules=[]:Array.isArray(t)?this.rules=yl(t):this.rules=yl([t]);const n=Wt(this.attrRules,this.rules);(0,l.nextTick)(()=>{this.decorate(n,a)})}clear(){this.execHandler("reset",this.proxy)}validate(){if(this.descriptor.validate??!0){let t=Wt(this.attrRules,this.rules);const a=this.descriptor.fieldName??"value";if(t.length>0){const n={[`${a}`]:t},i=this.getValue(),o={[`${a}`]:i},r=new St.Schema(n),s=this.proxy??o;return r.validate(o,{context:s}).then(c=>{if(c.pass)this.success();else{let e="error";Array.isArray(c.errors)&&c.errors.length>0&&(e=c.errors[0].message??e,c.errors=[c.errors[0]],c.errors[0].ref=s),this.error(e)}return c}).catch(c=>{const e=c.message??`${c}`;return this.error(e),c})}}return Promise.resolve({pass:!0})}};function bl(t,a,n){n.valueName=n.valueName??"modelValue",n.valueType=n.valueType??"string";const i={exposed:t,get $el(){return n.templateRefProxy?.$el},get props(){return n.props},get attrs(){return n.context?.attrs}};if(!n.validateHandler&&n.valueName!=="modelValue"){const o=n.valueName;n.validateHandler={getValue(r){return r.props?.[o]??r.exposed[o]}}}return new Sr(a,n,i)}var Sl=Symbol.for("EventEmitterKey"),wr=class{register=new Map;emitFn;constructor(t){this.emitFn=t??null}destroy(){this.emitFn=null,this.register.clear()}off(t,a){let n=this.register.get(t);if(n&&Array.isArray(n)){let i=n.findIndex(o=>o===a);i!==-1&&n.splice(i,1)}}on(t,a){let n=this.register.get(t);n||(n=new Array,this.register.set(t,n)),n.push(a)}emit(t,...a){const n=this.register.get(t);n&&n.forEach(i=>{try{Reflect.apply(i,null,[t,...a])}catch(o){console.error(o.message,o)}}),this.emitFn&&Reflect.apply(this.emitFn,null,[t,...a])}};function Qe(t,a){let n=null;return function(...i){n&&clearTimeout(n),n=setTimeout(()=>{n=null,Reflect.apply(t,null,[...i])},a)}}function vr(t,a){let n=0;return function(...i){const o=new Date().getTime();o-n<a||(n=o,Reflect.apply(t,null,[...i]))}}function Ji(t,a){const n=Qe((i,o)=>{t=i,o()},a);return(0,l.customRef)((i,o)=>({get(){return i(),t},set(r){n(r,o)}}))}function es(t){let a=!1;return function(...n){a||(a=!0,Reflect.apply(t,null,[...n]))}}function wl(t,a,n,i=0,o=!0,r){let s=a,c=0;if(o){const u=t();if(c++,u){typeof r=="function"&&r(!0);return}if(c>n){typeof r=="function"&&r(!1);return}}const e=()=>{const u=t();if(c++,u){typeof r=="function"&&r(!0);return}if(c>n){typeof r=="function"&&r(!1);return}s+=i,setTimeout(e,s)};setTimeout(e,s)}var ht=Symbol("DomainKey"),Yt=Symbol("DataItemsKey"),vl=class{_parent=null;get parent(){return this._parent}set parent(t){this._parent=t}_name=null;get name(){return this._name}_broadcast=null;get broadcast(){return this._broadcast}set broadcast(t){this._broadcast=t}_validateSchema=null;get validateSchema(){return this._validateSchema}set validateSchema(t){this._validateSchema=t}componentPublicExposed={};_props=(0,l.reactive)({});_datas={};constructor(t=null){this._name=t}destroy(){this._parent=null,this._broadcast=null,this._validateSchema=null,this._props={},this._datas={},this.componentPublicExposed={}}setData(t,a){this._datas[t]=a}getData(t){return this._datas[t]}hasData(t){return Reflect.has(this._datas,t)}deleteData(t){return Reflect.deleteProperty(this._datas,t)}merge(t,a=[]){for(const n in t){const i=t[n];a.length>0&&a.indexOf(i)!==-1||(this._props[n]=i)}}has(t){if(Reflect.has(this._props,t)){const a=this._props[t];if(a!=null)return!0}return this.parent==null?!1:this.parent.has(t)}delete(t){Reflect.deleteProperty(this._props,t)}set(t,a){this._props[t]=a}get(t,a){if(Reflect.has(this._props,t)){const n=this._props[t];if(n!=null)return n}return this.parent==null?a:this.parent.get(t,a)}getForParent(t,a){return this.parent==null?a:this.parent.get(t,a)}getForSelf(t){return this._props[t]}getAll(t){const a=[];let n=this;for(;n!=null;){if(Reflect.has(n._props,t)){const i=n._props[t];a.push(i)}n=n._parent}return a}},ts=new vl;function xt(){return ts}function pt(){return(0,l.inject)(ht,null)}var kn=Symbol("OriginalDateKey");function xn(t,a,n){const i=(0,l.hasInjectionContext)(),o=i?(0,l.getCurrentScope)():null;let r=i?(0,l.inject)(ht,null):null;r===null&&(r=xt());const s=a;let c=new vl(s);c.parent=r;const e=g=>{c?.hasData(kn)||d(g),c?.set("modelValue",g)},u=()=>c?.getForSelf("modelValue")??null,h=()=>c?.getData(kn)??null,d=g=>{const p={};kt(!0,p,(0,l.toRaw)(g)),c.setData(kn,p)},m=t.props,T=t.ignorePropKeys;(0,l.isReactive)(m)||typeof m=="function"?(0,l.watch)(m,g=>{c?.merge(g,T),g.modelValue&&d(g.modelValue)},{immediate:!0}):(c.merge(m,T),m.modelValue&&d(m.modelValue));const E=(g,p)=>{c?.set(g,p)},S=g=>c?.getForSelf(g)??null;if(c.componentPublicExposed[ht]=c,(0,l.provide)(ht,c),o!==null){const g=(0,l.inject)(Je,null),p=qt(c.componentPublicExposed,g,s,n);c.broadcast=p,c.componentPublicExposed[Je]=p,(0,l.provide)(Je,p),c.componentPublicExposed.broadcast=(V,_,...K)=>{if(p)return Reflect.apply(p.emit,p,[V,_,...K])};const v=(0,l.inject)(mt,null),f=bl(c.componentPublicExposed,v,{componentName:"",context:t.context});c.validateSchema=f,c.componentPublicExposed[mt]=f,(0,l.provide)(mt,f),c.componentPublicExposed[Yt]=new Map,c.componentPublicExposed.validate=async(V=!0)=>{const _=[];let K=null;const j={};let q=!1;if(V===!0)K={name:"*"},q=!0;else if(Array.isArray(V)&&V.length>0){const k=V;K={name:R=>R?k.indexOf(R)!==-1:!1},q=!0}else if(V!=null&&typeof V=="object"){const k=V;if(k.deep!==!1){if(Object.assign(j,k),Array.isArray(k.include)&&k.include.length>0){const R=k.include;K={name:z=>z?R.indexOf(z)!==-1:!1}}else if(Array.isArray(k.exclude)&&k.exclude.length>0){const R=k.exclude;K={name:z=>z?R.indexOf(z)===-1:!1}}else K={name:"*"};q=!0}}if(q&&K){j.deep=!1;const k=p?.emitToChildren(K,"validate",j);k&&Reflect.apply([].push,_,k)}return _.length==1?_[0]:_.length>1?Promise.all(_).then(k=>{let R=[];return k.forEach(z=>{z.pass===!1&&Array.isArray(z.errors)&&(R=[...R,...z.errors])}),R.length>0?{pass:!1,errors:R}:{pass:!0}}):Promise.resolve({pass:!0})};const A=t.context;c.componentPublicExposed.setNameValidateRules=(V,_=!0,K=!1)=>{if(K===!0){Reflect.ownKeys(V).forEach(j=>{let q=String(j);const k={componentName:"",fieldName:q,pureDataValidate:!0,context:A};if(c){const R=Cr(c,q,k,p,f);c.componentPublicExposed[Yt].set(q,R);const z=V[q];z&&R.validateSchema.setRule(z)}});return}if(_){const j=Reflect.ownKeys(V);p?.emitToChildren({name:q=>j.includes(q),cachePolicy:"Persistant",uniqueId:"validateRules"},"setNameValidateRules",V,!1)}},c.componentPublicExposed.clearValidate=(V=!0)=>{let _=null;const K={};let j=!1;if(V===!0)_={name:"*"},j=!0;else if(Array.isArray(V)&&V.length>0){const q=V;_={name:k=>k?q.indexOf(k)!==-1:!1},j=!0}else if(V!=null&&typeof V=="object"){const q=V;if(q.deep!==!1){if(Array.isArray(q.include)&&q.include.length>0){const k=q.include;_={name:R=>R?k.indexOf(R)!==-1:!1}}else if(Array.isArray(q.exclude)&&q.exclude.length>0){const k=q.exclude;_={name:R=>R?k.indexOf(R)===-1:!1}}else _={name:"*"};Object.assign(K,q),j=!0}}j&&_&&(K.deep=!1,p?.emitToChildren(_,"clearValidate",K))},c.componentPublicExposed.resetFields=V=>{const _=u();if(!_)return;const K={};if(kt(!0,K,h()??{}),Array.isArray(V))V.forEach(j=>{_[j]=K[j]});else if(V&&Array.isArray(V.include))(V.include??[]).forEach(j=>{_[j]=K[j]});else if(V&&Array.isArray(V.exclude)){let j=V.exclude??[];Reflect.ownKeys(K).forEach(q=>{j.includes(q)||(_[q]=K[q])})}else Object.assign(_,K);c?.componentPublicExposed?.clearValidate(V)},c.componentPublicExposed.setModelValue=(V,_)=>{if(!_||_===s)e(V);else{const K={name:_,messagingPolicy:"Once"};p?.emitToChildren(K,"setModelValue",V)}},c.componentPublicExposed.getModelValue=()=>u(),c.componentPublicExposed.setDomainProperty=(V,_)=>{E(V,_)},c.componentPublicExposed.getDomainProperty=V=>S(V),setTimeout(function(){p?.pull()},0)}(0,l.onScopeDispose)(function(){c?.validateSchema&&c.validateSchema.destroy(),c?.broadcast&&c?.broadcast?.destroy(),c.componentPublicExposed[Yt]&&c.componentPublicExposed[Yt].clear(),c?.destroy(),c=null});const y=t.context?.expose;return{domain:c,exposeApi:(g={})=>{Object.assign(c.componentPublicExposed,g),y?.(c.componentPublicExposed)}}}function Nr(t,a){let n=(0,l.inject)(ht,null);n===null&&(n=xt());let i=new vl(a);i.parent=n;const o=t.props,r=t.ignorePropKeys;(0,l.isReactive)(o)||typeof o=="function"?(0,l.watch)(o,c=>{i?.merge(c,r)},{immediate:!0}):i.merge(o,r),i.componentPublicExposed[ht]=i,(0,l.provide)(ht,i),(0,l.onScopeDispose)(()=>{i?.destroy(),i=null});const s=t.context?.expose;return{domain:i,exposeApi:(c={})=>{Object.assign(i.componentPublicExposed,c),s?.(i.componentPublicExposed)}}}function Te(t,a,n){const i={},o=a??t.componentName??"";let r=qt(i,(0,l.inject)(Je,null),o,n);i[Je]=r,(0,l.provide)(Je,r),i.broadcast=(d,m,...T)=>r?Reflect.apply(r.emit,r,[d,m,...T]):null;const s=(0,l.inject)(mt,null);t.fieldName=t.fieldName??o;let c=bl(i,s,t);i[mt]=c,(0,l.provide)(mt,c),i.validate=async(d=null)=>{if(!c)return Promise.resolve({pass:!0});const m=[];let T=null;const E={};let S=!1,y=!1;if(d===!0)T={name:"*"},y=!0,S=!0;else if(Array.isArray(d)&&d.indexOf(o)!==-1){const g=d;T={name:p=>p?g.indexOf(p)!==-1:!1},y=!0,S=!0}else if(d&&typeof d=="object"){const g=d,p=g.ignoreDisabled??!0,v=g.ignoreReadonly??!0,f=g.ignoreHidden??!0;p===!0&&t.disabled===!0||v===!0&&t.readonly===!0||f===!0&&wn(t.templateRefProxy?.$el??t.templateRefProxy)?y=!1:(Array.isArray(g.include)&&g.include.indexOf(o)!==-1||Array.isArray(g.exclude)&&g.exclude.indexOf(o),y=!0),Object.assign(E,g),S=g.deep??!1}if(y){const g=c?.validate();m.push(g)}if(S&&T){E.deep=!1;const g=r?.emitToChildren(T,"validate",E);g&&Reflect.apply([].push,m,g)}return m.length==1?m[0]:m.length>1?Promise.all(m).then(g=>{let p=[];return g.forEach(v=>{v.pass===!1&&Array.isArray(v.errors)&&(p=[...p,...v.errors])}),p.length>0?{pass:!1,errors:p}:{pass:!0}}):Promise.resolve({pass:!0})},i.setValidateRule=d=>c?.setRule(d),i.setNameValidateRules=(d,m=!1)=>{const T=d[o];T&&c?.setRule(T),m&&r&&r.emitToChildren({name:E=>Reflect.ownKeys(d).includes(E)},"setNameValidateRules",d,!1)},i.clearValidate=(d=!0)=>{if(!c)return;let m=null;const T={};let E=!1,S=!1;if(d===!0)m={name:"*"},S=!0,E=!0;else if(Array.isArray(d)&&d.indexOf(o)!==-1){const y=d;m={name:g=>g?y.indexOf(g)!==-1:!1},S=!0,E=!0}else if(d&&typeof d=="object"){const y=d;(y.ignoreHidden??!0)===!0&&wn(t.templateRefProxy?.$el??t.templateRefProxy)?S=!1:(Array.isArray(y.include)&&y.include.indexOf(o)!==-1||Array.isArray(y.exclude)&&y.exclude.indexOf(o),S=!0),Object.assign(T,y),E=y.deep??!1}S&&c?.clear(),E&&m&&(T.deep=!1,r?.emitToChildren(m,"clearValidate",T))};let e=new wr(t.context?.emit);i[Sl]=e,i.triggerEvent=(d,...m)=>{e.emit(d,...m)};const u=Qe((d="validate")=>{c&&(d==="reset"?c.clear():c.validate())},60);(Array.isArray(t.validateCheckEvents)?t.validateCheckEvents:gr()).forEach(d=>{e&&e.on(d,m=>{u("validate")})}),(Array.isArray(t.validateResetEvents)?t.validateResetEvents:br()).forEach(d=>{e&&e.on(d,m=>{u("reset")})}),setTimeout(function(){r?.pull()},0),(0,l.onScopeDispose)(()=>{r?.destroy(),r=null,c?.destroy(),i[mt]=null,c=null,e?.destroy(),i[Sl]=null,e=null,i.broadcast=null,i.validate=null,i.setValidateRule=null,i.setNameValidateRules=null,i.clearValidate=null});const h=t.context?.expose;return{broadcast:r,validateSchema:c,emitEvent:(d,...m)=>{e&&Reflect.apply(e.emit,e,[d,...m])},onEvent:(d,m)=>{e&&Reflect.apply(e.on,e,[m])},offEvent:(d,m)=>{e&&Reflect.apply(e.off,e,[m])},componentPublicExposed:i,exposeApi:(d={})=>{Object.assign(i,d),h?.(i)}}}function Cr(t,a,n,i,o){const r={},s=a??"",c={getValue(){const d=t.getForSelf("modelValue");return d?d[s]:null},isExist(){const d=t.getForSelf("modelValue");return d?Reflect.has(d,s):!1}};n.fieldName=s,n.validateHandler={getValue(d){return c.getValue()}};let e=bl({},o,n);r.validate=async(d=null)=>{if(!c.isExist())return console.warn(`validate error: field [${s}] not exist`),Promise.resolve({pass:!0});const m=[];let T=!1,E=!1;if(Array.isArray(d)&&d.indexOf(s)!==-1)E=!0,T=!0;else if(d&&typeof d=="object"){const S=d;Array.isArray(S.include)&&S.include.indexOf(s)!==-1||Array.isArray(S.exclude)&&S.exclude.indexOf(s),E=!0,T=S.deep??!1}else typeof d=="boolean"&&(T=d),E=!0;if(E&&e){const S=e.validate();m.push(S)}if(T){let S=null;const y={};if(d===!0)S={name:"*"};else if(Array.isArray(d)&&d.length>0){const g=d;S={name:p=>p?g.indexOf(p)!==-1:!1}}else if(d!=null&&typeof d=="object"){const g=d;if(Object.assign(y,g),Array.isArray(g.include)&&g.include.length>0){const p=g.include;S={name:v=>v?p.indexOf(v)!==-1:!1}}else if(Array.isArray(g.exclude)&&g.exclude.length>0){const p=g.exclude;S={name:v=>v?p.indexOf(v)===-1:!1}}else S={name:"*"}}if(S&&u){y.deep=!1;const g=u.emitToChildren(S,"validate",y);Reflect.apply([].push,m,g)}}return m.length==1?m[0]:m.length>1?Promise.all(m).then(S=>{let y=[];return S.forEach(g=>{g.pass===!1&&Array.isArray(g.errors)&&(y=[...y,...g.errors])}),y.length>0?{pass:!1,errors:y}:{pass:!0}}):Promise.resolve({pass:!0})},r.setValidateRule=d=>e?.setRule(d),r.setNameValidateRules=d=>{const m=d[s];m&&e?.setRule(m)};let u=qt(r,i,s);(0,l.onScopeDispose)(()=>{e=null,u=null});const h=n.context?.expose;return{broadcast:u,validateSchema:e,componentPublicExposed:r,exposeApi:(d={})=>{Object.assign(r,d),h?.(r)}}}function wt(t,a){let n={};if(a){const r=(0,l.inject)(Je,null),s=qt(n,r,a,{});n[Je]=s,(0,l.provide)(Je,s)}let i=new wr(t.context?.emit);n[Sl]=i,n.triggerEvent=(r,...s)=>{i.emit(r,...s)},(0,l.onScopeDispose)(()=>{i?.destroy(),Reflect.deleteProperty(n,Sl),n=null,i=null});const o=t.context?.expose;return{emitEvent:(r,...s)=>{i&&Reflect.apply(i.emit,i,[r,...s])},onEvent:(r,s)=>{i&&Reflect.apply(i.on,i,[s])},offEvent:(r,s)=>{i&&Reflect.apply(i.off,i,[s])},componentPublicExposed:n,exposeApi:(r={})=>{Object.assign(n,r),o?.(n)}}}var ke=(t,a=-1)=>t?typeof t=="string"&&(t.endsWith("%")&&a<=0||t.endsWith("vh")||t.endsWith("vw"))?t:`${ye(t,a)}px`:"",ls=ke;function ye(t,a=-1){if(t==null)return 0;if(typeof t=="number")return t>0&&t<1&&a>0?t*a:t;if(t=t.trim().toLocaleLowerCase(),t.length===0)return 0;let n=t.indexOf("px");if(n!==-1)return Number(t.substring(0,n));if(n=t.indexOf("rem"),n!==-1){let o=Number(t.substring(0,n)),r=1;if(dt){const{fontSize:s}=window.getComputedStyle(document.documentElement,null),c=s.indexOf("px");c>0&&(r=Number(s.substring(0,c)))}return o*=r,o}if(n=t.indexOf("%"),n!==-1)return Number(t.substring(0,n))/100*a;const i=Number(t);return isNaN(i)?0:i}var gt="PageStateKey";function lt(t){const a={top:null,left:null,bottom:null,right:null};return t&&(t.top!==null&&t.top!==void 0&&(a.top=ye(t.top)),t.left!==null&&t.left!==void 0&&(a.left=ye(t.left)),t.bottom!==null&&t.bottom!==void 0&&(a.bottom=ye(t.bottom)),t.right!==null&&t.right!==void 0&&(a.right=ye(t.right))),a}function zn(t,a,n={},i=!0,o=-1,r=-1,s=0,c=0){if(t.headerHeight=ye(n.headerHeight??a.headerHeight??-1),t.headerPadding=lt(n.headerPadding??a.headerPadding),t.footerHeight=ye(n.footerHeight??a.footerHeight??-1),t.footerPadding=lt(n.footerPadding??a.footerPadding),t.contentPadding=lt(n.contentPadding??a.contentPadding),i){const e=n.height??a.height;e?t.height=ye(e,r):t.height=ye(r)-ye(s,r)-ye(c,r),t.width=ye(n.width??a.width??0,o)}}function kr(t,a={}){const n={top:null,bottom:null,right:null,left:null},i={width:0,height:0,headerHeight:0,headerPadding:{...n},footerHeight:0,footerPadding:{...n},contentPadding:{...n},contentHeight:null,safeAreaTop:0,safeAreaBottom:0,safeAreaLeft:0,safeAreaRight:0,headerMounted:!1,footerMounted:!1},o=Object.assign(t.get("safeAreaInset")??{},a.safeAreaInset??{});o&&(i.safeAreaTop=ye(o.top),i.safeAreaBottom=ye(o.bottom),i.safeAreaLeft=ye(o.left),i.safeAreaRight=ye(o.right));const r=t.get("pageLayout");if(!r)return null;zn(i,r,a,!0,t.get("rootWidth")??-1,t.get("rootHeight")??-1,t.get("headerBarHeight")??0,t.get("footerBarHeight")??0);const s=(0,l.reactive)(i),c=t.getForParent(gt);c&&(i.height=xl(t,c),i.width=zl(t,c),(0,l.watch)([()=>xl(t,c),()=>zl(t,c)],([u,h])=>{s.height=u,s.width=h}));const e=!c;return(0,l.watch)([()=>a.height,()=>t.get("pageLayout"),()=>t.get("rootWidth"),()=>t.get("rootHeight"),()=>t.get("headerBarHeight"),()=>t.get("footerBarHeight")],([u,h,d=-1,m=-1,T=0,E=0])=>{zn(s,h,a,e,d,m,T,E)}),t.set(gt,s),s}function Nl(t){return t.get(gt)}function Cl(t,a){if(a=a??t.get(gt),a&&a.headerMounted){const n=a.safeAreaTop==-1?0:a.safeAreaTop;return a.headerAllHeight??a.headerHeight+n}return 0}function kl(t,a){if(a=a??t.get(gt),a&&a.footerMounted){const n=a.safeAreaBottom==-1?0:a.safeAreaBottom;return a.footerAllHeight??a.footerHeight+n}return 0}function xl(t,a){if(a=a??t.get(gt),a){if(a.contentInnerHeight)return a.contentInnerHeight;const n=Cl(t,a),i=kl(t,a),o=ye(a.contentPadding.top??0),r=ye(a.contentPadding.bottom??0);return a.height-n-i-o-r}return 0}function zl(t,a){if(a=a??t.get(gt),a){const n=ye(a.contentPadding.left??0),i=ye(a.contentPadding.right??0);return a.contentInnerWidth??a.width-n-i}return 0}function ns(t){return!!t.getForParent(gt)}var En=Symbol.for("InnerPageScopeKey");function Tn(t){(0,l.provide)(En,t)}function Ut(t=!1){return(0,l.inject)(En,t)}var $n=Symbol.for("AbstractPageScopeKey");function xr(t){(0,l.provide)($n,t)}function Gt(t=!1){return(0,l.inject)($n,t)}function zr(t=!1){const a=Gt(t);return typeof a=="boolean"?a:a&&typeof a=="object"?a.headerBar??t:t}function Er(t=!1){const a=Gt(t);return typeof a=="boolean"?a:a&&typeof a=="object"?a.footerBar??t:t}function Tr(t=!1){const a=Gt(t);return typeof a=="boolean"?a:a&&typeof a=="object"?a.content??t:t}var He=(function(t){return t[t.Parent=0]="Parent",t[t.Near=1]="Near",t})({});function El(t,a){return t==null?!1:typeof a=="function"?a(t):!0}function Ve(t,a,n=He.Near,i){const o=pt();return o==null?t:n===He.Parent?(0,l.computed)(()=>{const r=o.getAll(a);for(let c=r.length-1;c>=0;c--){const e=r[c];if(El(e,i))return e}const s=t.value;return El(s,i)?s:null}):(0,l.computed)(()=>{const r=t.value;if(El(r,i))return r;const s=o.getAll(a);for(let c=0;c<s.length;c++){const e=s[c];if(El(e,i))return e}return null})}function $r(t){return Ve(t,"readonly",He.Near)}function Br(t){return Ve(t,"disabled",He.Near)}function Vr(t){return Ve(t,"browse",He.Near)}function Ie(t){const a=(0,l.ref)(null),n=(0,l.ref)(null),i=Br((0,l.computed)(()=>n.value??t.disabled)),o=(0,l.ref)(null);return{itemTemplateRef:a,innerDisabled:n,disabled:i,innerReadonly:o,readonly:$r((0,l.computed)(()=>o.value??t.readonly)),browse:Vr((0,l.computed)(()=>t.browse))}}function ve(t,a="modelValue",n=null,i){const o=(0,l.toRef)(t,a);let r=o.value;typeof n=="function"&&(r=n(o.value));const s=(0,l.ref)(r);return(0,l.watch)(o,c=>{if(typeof n=="function"){const e=n(c);e!==s.value&&(s.value=e,i&&i("setValue",e))}else c!==s.value&&(s.value=c,i&&i("setValue",c))}),s}var Dr=new Map,Tl=new Map,Bn=null;function as(t){Bn=t}function rs(){return Bn}function Ze(){return Bn?.()??null}function Mr(t,a,n){if(n){let i=Tl.get(n);i||(i=new Map,Tl.set(n,i)),i.set(t,a)}else Dr.set(t,a)}function Fe(t,a){let n=null;if(a){let i=Tl.get(a);i&&(n=i.get(t))}return n||(n=Dr.get(t)),n}function os(t,a){for(let n in t){const i=t[n];Mr(n,i,a)}}function is(t){Tl.delete(t)}function ss(){return{top:0,left:0,bottom:0,right:0}}function cs(){return dt?{rootWidth:document.documentElement.clientWidth||document.body.clientWidth,rootHeight:document.documentElement.clientHeight||document.body.clientHeight,pageLayout:{}}:{rootWidth:-1,rootHeight:-1,pageLayout:{}}}function us(t,a){let n=t;if(a.componentPrefix){const i=n.indexOf("-");i!==-1?n=`${a.componentPrefix}${n.slice(i)}`:n=`${a.componentPrefix}-${n}`}return Ht(n)}var ds=class{packages;installers;_version;get version(){return this._version}constructor(t,a,n){this.packages=t,this.installers=a,this._version=n}install(t,a={}){a?.install!==!1&&(this.packages.forEach(i=>{if(i.install)t.use(i,a);else if(i.name){const o=us(i.name,a);t.component(o,i)}}),this.installers.forEach(i=>{i(t,a)}));const n=xt();if(a.autoAdjustPageLayout!==!1&&window.ResizeObserver){const i={...a},o=Qe(()=>{const r={...i};this.updateLayout(r,n)},120);new window.ResizeObserver(o).observe(window.document.body)}this.updateLayout(a,n)}updateLayout(t,a){const n=t.headerBarHeight??0,i=t.footerBarHeight??0,o=kt({},ss(),t.safeAreaInset),r=cs(),s=kt({},r.pageLayout,t.pageLayout);a=a??xt(),a.set("safeAreaInset",o),a.set("headerBarHeight",n),a.set("footerBarHeight",i),a.set("pageLayout",s),a.set("rootWidth",r.rootWidth),a.set("rootHeight",r.rootHeight);const c=["install","componentPrefix","safeAreaInset","headerBarHeight","footerBarHeight","pageLayout","rootWidth","rootHeight"];for(const e in t)c.indexOf(e)===-1&&a.set(e,t[e])}setScopeGetter(t){as(t)}getScopeGetter(){return rs()}setAPI(t,a,n){Mr(t,a,n)}getAPI(t,a){return Fe(t,a)}batchSetAPI(t,a){os(t,a)}clearScopeAPI(t){is(t)}getRootDomain(){return xt()}},fs=[B.ElAffix,B.ElAlert,B.ElAutocomplete,B.ElAutoResizer,B.ElAvatar,B.ElBacktop,B.ElBadge,B.ElBreadcrumb,B.ElBreadcrumbItem,B.ElButton,B.ElButtonGroup,B.ElCalendar,B.ElCard,B.ElCarousel,B.ElCarouselItem,B.ElCascader,B.ElCascaderPanel,B.ElCheckTag,B.ElCheckbox,B.ElCheckboxButton,B.ElCheckboxGroup,B.ElCol,B.ElCollapse,B.ElCollapseItem,B.ElCollapseTransition,B.ElColorPicker,B.ElConfigProvider,B.ElContainer,B.ElAside,B.ElFooter,B.ElHeader,B.ElMain,B.ElDatePicker,B.ElDescriptions,B.ElDescriptionsItem,B.ElDialog,B.ElDivider,B.ElDrawer,B.ElDropdown,B.ElDropdownItem,B.ElDropdownMenu,B.ElEmpty,B.ElForm,B.ElFormItem,B.ElIcon,B.ElImage,B.ElImageViewer,B.ElInput,B.ElInputNumber,B.ElLink,B.ElMenu,B.ElSubMenu,B.ElMenuItem,B.ElMenuItemGroup,B.ElPageHeader,B.ElPagination,B.ElPopconfirm,B.ElPopover,B.ElPopper,B.ElProgress,B.ElRadio,B.ElRadioButton,B.ElRadioGroup,B.ElRate,B.ElResult,B.ElRow,B.ElScrollbar,B.ElSelect,B.ElOption,B.ElOptionGroup,B.ElSelectV2,B.ElSkeleton,B.ElSkeletonItem,B.ElSlider,B.ElSpace,B.ElSteps,B.ElStep,B.ElSwitch,B.ElTable,B.ElTableColumn,B.ElTableV2,B.ElTabs,B.ElTabPane,B.ElTag,B.ElTimePicker,B.ElTimeSelect,B.ElTimeline,B.ElTimelineItem,B.ElTooltip,B.ElTransfer,B.ElTree,B.ElTreeSelect,B.ElTreeV2,B.ElUpload,B.ElStatistic,B.ElCountdown,B.ElSegmented,B.ElAnchor,B.ElAnchorLink,B.ElWatermark,B.ElMessageBox,B.ElMessage,B.ElNotification,B.ElSplitter],ms=[B.ElInfiniteScroll,B.ElLoading,B.ElMessage,B.ElMessageBox,B.ElNotification,B.ElPopoverDirective],hs=(t,a={})=>{const n=a.componentPrefix??"fox";fs.forEach(i=>{if(typeof i.name=="string"){let o="";const r=mr(i.name),s=r.indexOf("-");s!==-1?o=`${n}${r.slice(s)}`:o=`${n}-${r}`,o=Ht(o),t.component(o,i)}else t.use(i)}),ms.forEach(i=>{t.use(i)})};function ce(t){const a=`fox-${t}`,n=Ht(a);return{componentName:a,scope:t.replace("-",""),create(i){return i.baseName=t,i.name=n,i.install=(o,r)=>{let s=i.name;r?.componentPrefix&&(s=`${r.componentPrefix}-${i.baseName}`,s=Ht(s)),o.component(s,i)},(0,l.defineComponent)(i)},createDemo(i){return i.baseName=t,i.name="demo-"+t,(0,l.defineComponent)(i)}}}var ze={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}},Ar={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}},Ir={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}},Pr=[];for(const t in Ir)Pr.push(t);var ps={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}},gs={...ze,...Ar,...ps},ys=(t,a)=>({inheritAttrs:!0,props:gs,setup(n,i){const o=!!Gt(!1),r=Ut(!1),{domain:s,exposeApi:c}=xn({props:n,context:i},n.name);if(s){const d=kr(s,n);c({getPageContentHeight:()=>xl(s,d),getPageContentWidth:()=>zl(s,d),getPageHeaderHeight:()=>Cl(s,d),getPageFooterHeight:()=>kl(s,d)}),d&&r&&(d.contentHeight="100%")}const e=(0,l.computed)(()=>({[t]:!0,"is-inner":r})),u=(0,l.computed)(()=>({})),h=(d,m=!1)=>{const T=s.componentPublicExposed;T&&typeof T.setNameValidateRules=="function"&&T.setNameValidateRules(d,!0,m)};return(0,l.watch)([()=>n.rules,()=>n.pureDataRules],([d,m],[T,E])=>{if(d&&T){const S=(0,l.toRaw)(T),y=(0,l.toRaw)(d),g=y?Reflect.ownKeys(y):[];(S?Reflect.ownKeys(S):[]).forEach(p=>{g.includes(p)||(y[p]=[])}),h(y)}if(m&&E){const S=(0,l.toRaw)(E),y=(0,l.toRaw)(m),g=y?Reflect.ownKeys(y):[];(S?Reflect.ownKeys(S):[]).forEach(p=>{g.includes(p)||(y[p]=[])}),h(y,!0)}},{deep:!0}),(0,l.onMounted)(()=>{n.rules&&h((0,l.toRaw)(n.rules)),n.pureDataRules&&h((0,l.toRaw)(n.pureDataRules),!0)}),()=>o?i.slots?.default?.():(0,l.h)("div",{class:e.value,style:u.value},[i.slots?.default?.()])}}),{componentName:bs,create:Ss,scope:ws}=ce("page"),vs=Ss(ys(bs,ws)),Vn=vs;function Dn(t){const a=(0,l.unref)(t);return{width:a.offsetWidth,height:a.offsetHeight}}function $l(t){const a=(0,l.unref)(t),n=window.getComputedStyle(a,null),i=parseFloat(n.getPropertyValue("padding-left")),o=parseFloat(n.getPropertyValue("padding-right")),r=parseFloat(n.getPropertyValue("padding-top")),s=parseFloat(n.getPropertyValue("padding-bottom"));return{width:a.clientWidth-i-o,height:a.clientHeight-r-s}}var Lr={headerbar:{},radio:{},checkbox:{}};function Ns(t){Object.assign(Lr,t)}function _r(){return Lr}var Cs=(t,a,n,i=!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:n},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 s=zr(!1),c=Ut(!1),e=s?null:pt(),u=e?Nl(e):null;u&&(u.headerMounted=!0);const h=_r(),d=t,m=(0,l.computed)(()=>{const N={[d]:!0,[`${d}--border`]:o.border,[`${d}--fixed`]:o.fixed};return c||(N[`${d}--safe-area-inset-top`]=o.safeAreaInsetTop),N}),T=(0,l.computed)(()=>({[`${d}__inner`]:!0,[`${d}__inner--${o.align}`]:!0})),E=Re(o.height)?null:ye(o.height),S=(0,l.computed)(()=>{const N={safeAreaTop:null,height:null,left:null,top:null,right:null,bottom:null};if(s)return N;if(e&&u){const L=lt(o.padding??u.headerPadding);if(Object.assign(N,L),Re(E)||(u.headerHeight=E),N.height=u.headerHeight,N.safeAreaTop=u.safeAreaTop===-1?0:u.safeAreaTop,N.safeAreaTop>0){const $=ye(L.top??0);N.top=N.safeAreaTop+$,N.height&&N.height>0&&(N.height=N.height+N.safeAreaTop)}return N}if(Re(E)||(N.height=E),o.padding){const L=lt(o.padding);Object.assign(N,L)}return N}),y=(0,l.ref)(null),g=()=>u&&y.value&&!vn(y.value)?(i||(u.headerAllHeight=Dn(y.value).height),u.headerMounted=!0,!0):!1,p=Qe(g,120);let v=null;(0,l.onMounted)(()=>{s||u&&(wl(g,50,5,50,!0),window.ResizeObserver&&y.value&&(v=new window.ResizeObserver(p),v.observe(y.value)))}),(0,l.onUnmounted)(()=>{s||u&&(u.headerMounted=!1,v&&(v.disconnect(),v=null))});const f=(0,l.computed)(()=>{const N={};return s||(S.value.height!==null&&S.value.height!==void 0&&(N.height=`${S.value.height}px`),S.value.top!==null&&S.value.top!==void 0&&(N.paddingTop=`${S.value.top}px`),S.value.left!==null&&S.value.left!==void 0&&(N.paddingLeft=`${S.value.left}px`),S.value.right!==null&&S.value.right!==void 0&&(N.paddingRight=`${S.value.right}px`),S.value.bottom!==null&&S.value.bottom!==void 0&&(N.paddingBottom=`${S.value.bottom}px`)),N}),A=(0,l.computed)(()=>{const N=S.value?.height;return Re(N)||N<0?!0:N>0});function V(){r.emit("back")}function _(){r.emit("click-title")}function K(){r.emit("click-right")}function j(){r.emit("click-right-text")}const q=()=>{if(!o.leftShow)return null;const N=[];if(r.slots.left)N.push(r.slots.left());else{if(r.slots.leftIcon){const L=(0,l.h)("view",{class:"left-icon",onClick:V},[r.slots.leftIcon()]);N.push(L)}else{const L=o.leftIcon??h.headerbar.Left??n,$=(0,l.h)("view",{class:"left-icon",onClick:V},[(0,l.h)(L)]);N.push($)}if(o.leftText){const L=(0,l.h)("view",{class:"left-text",onClick:V},[o.leftText]);N.push(L)}}return N.length===0?null:(0,l.h)("view",{class:"fox-header-bar__left"},N)},k=()=>{if(!o.rightShow)return null;const N=[];if(r.slots.right)N.push(r.slots.right());else{if(o.rightText){const L=(0,l.h)("view",{class:"right-text",onClick:j},[o.rightText]);N.push(L)}if(r.slots.rightIcon){const L=(0,l.h)("view",{class:"right-icon",onClick:K},[r.slots.rightIcon()]);N.push(L)}else if(o.rightIcon){const L=(0,l.h)("view",{class:"right-icon",onClick:K},[(0,l.h)(o.rightIcon)]);N.push(L)}}return N.length===0?null:(0,l.h)("view",{class:"fox-header-bar__right"},N)},R=()=>{if(!o.titleShow)return null;const N=[],L=r.slots.default?r.slots.default():null;if(L)N.push(L);else{if(o.title){const $=(0,l.h)("view",{class:"title-text"},[o.title]);N.push($)}if(r.slots.titleIcon){const $=(0,l.h)("view",{class:"title-icon",onClick:_},[r.slots.titleIcon()]);N.push($)}else if(o.titleIcon){const $=(0,l.h)("view",{class:"title-icon",onClick:_},[(0,l.h)(o.titleIcon)]);N.push($)}}return N.length===0?null:(0,l.h)("view",{class:"fox-header-bar__title"},N)},z=()=>{const N=[],L=r.slots.bottom?r.slots.bottom():null;return L&&N.push(L),N.length===0?null:(0,l.h)("view",{class:"fox-header-bar__bottom"},N)};return()=>{if(s||!A.value)return null;const N=[];if(r.slots.all)N.push(r.slots.all());else{const L=[],$=q();$&&L.push($);const U=R();U&&L.push(U);const Y=k();if(Y&&L.push(Y),L.length>0){const M=(0,l.h)("view",{class:T.value},L);N.push(M)}const Z=z();Z&&N.push(Z)}return N.length===0?null:(0,l.h)("view",{class:m.value,style:f.value,ref:y},N)}}}),{componentName:ks,create:xs,scope:zs}=ce("header-bar"),Es=xs(Cs(ks,zs,Be.ArrowLeft)),Mn=Es;function Ts(t,a,n=!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(i,o){const r=Er(!1),s=Ut(!1),c=r?null:pt(),e=c?Nl(c):null,u=(0,l.computed)(()=>{const p=t,v={[p]:!0,[`${p}--${i.align}`]:!0,[`${p}--border`]:i.border,[`${p}--fixed`]:i.fixed};return s||(v[`${p}--safe-area-inset-bottom`]=i.safeAreaInsetBottom),v}),h=Re(i.height)?null:ye(i.height),d=(0,l.computed)(()=>{const p={safeAreaBottom:null,height:null,left:null,top:null,right:null,bottom:null};if(r)return p;if(c&&e){const v=lt(i.padding??e.footerPadding);if(Object.assign(p,v),Re(h)||(e.footerHeight=h),p.height=e.footerHeight,p.safeAreaBottom=e.safeAreaBottom===-1?0:e.safeAreaBottom,p.safeAreaBottom>0){const f=ye(v.bottom??0);p.bottom=p.safeAreaBottom+f,p.height&&p.height>0&&(p.height=p.height+p.safeAreaBottom)}return p}if(Re(h)||(p.height=h),i.padding){const v=lt(i.padding);Object.assign(p,v)}return p}),m=(0,l.computed)(()=>{const p=d.value?.height;return Re(p)||p<0?!0:p>0}),T=(0,l.ref)(null),E=()=>e&&T.value&&!vn(T.value)?(n||(e.footerAllHeight=Dn(T.value).height),e.footerMounted=!0,!0):!1,S=Qe(E,120);let y=null;(0,l.onMounted)(()=>{r||e&&(wl(E,50,5,50,!0),window.ResizeObserver&&T.value&&(y=new window.ResizeObserver(S),y.observe(T.value)))}),(0,l.onUnmounted)(()=>{r||e&&(e.footerMounted=!1,y&&(y.disconnect(),y=null))});const g=(0,l.computed)(()=>{const p={};return r||(d.value.height!==null&&d.value.height!==void 0&&(p.height=ke(d.value.height)),d.value.top!==null&&d.value.top!==void 0&&(p.paddingTop=ke(d.value.top)),d.value.left!==null&&d.value.left!==void 0&&(p.paddingLeft=ke(d.value.left)),d.value.right!==null&&d.value.right!==void 0&&(p.paddingRight=ke(d.value.right)),d.value.bottom!==null&&d.value.bottom!==void 0&&(p.paddingBottom=ke(d.value.bottom))),p});return()=>{if(r||!m.value)return null;const p=o.slots.default?o.slots.default():[];return(0,l.h)("view",{ref:T,class:u.value,style:g.value},p)}}}}var{componentName:$s,create:Bs,scope:Vs}=ce("footer-bar"),Ds=Bs(Ts($s,Vs)),An=Ds;function Ms(t,a){return{props:{padding:{type:[Object],required:!1},tag:{type:[String],required:!1,default:()=>"div"}},setup(n,{slots:i,attrs:o}){const r=Tr(!1),s=Ut(!1),c=r?null:pt(),e=(0,l.computed)(()=>({[t]:!0})),u=c?Nl(c):null,h=(0,l.computed)(()=>{const S={};if(r)return S;if(c&&u){if(n.padding){const _=lt(n.padding);Object.assign(u.contentPadding,_)}const y=Cl(c,u),g=kl(c,u);let p="";u.contentHeight?p=`${u.contentHeight}`:p=`${u.height}px`,S.height=p;let v=ye((u&&u.contentPadding&&u.contentPadding.top)??-1);(v>=0||y>0)&&(v=v<0?0:v,S.paddingTop=`${y+v}px`);let f=ye((u&&u.contentPadding&&u.contentPadding.bottom)??-1);(f>=0||g>0)&&(f=f<0?0:f,S.paddingBottom=`${g+f}px`);const A=ye((u&&u.contentPadding&&u.contentPadding.left)??-1);A>=0&&(S.paddingLeft=`${A}px`);const V=ye((u&&u.contentPadding&&u.contentPadding.right)??-1);return V>=0&&(S.paddingRight=`${V}px`),S}if(n.padding){const y=lt(n.padding);y.left&&(S.paddingLeft=`${y.left}px`),y.top&&(S.paddingTop=`${y.top}px`),y.right&&(S.paddingRight=`${y.right}px`),y.bottom&&(S.paddingBottom=`${y.bottom}px`)}return S}),d=(0,l.ref)(null),m=()=>{if(u&&d.value){const S=$l(d.value);u.contentInnerHeight=S.height,u.contentInnerWidth=S.width}},T=Qe(m,120);let E=null;return(0,l.onMounted)(()=>{s||r||(requestAnimationFrame(m),window.ResizeObserver&&d.value&&(E=new window.ResizeObserver(T),E.observe(d.value)))}),(0,l.onUnmounted)(()=>{s||r||E&&(E.disconnect(),E=null)}),()=>r?i.default?.():(0,l.h)(n.tag??"view",{...o,ref:d,class:e.value,style:h.value},i)}}}var{componentName:As,create:Is,scope:Ps}=ce("content"),Ls=Is(Ms(As,Ps)),In=Ls,zt="GroupStateKey",Rr=Symbol.for("GroupScopeKey");function Bl(){return(0,l.inject)(Rr,!1)}function Vl(t=!0){(0,l.provide)(Rr,t)}function _s(t,a={}){Reflect.ownKeys(a).forEach(n=>{if(typeof n!="string")return;const i=a[n];Re(i)||(t[n]=i)})}function Rs(t,a={}){const n={type:"grid",width:t.get("width",-1),column:-1,gutter:-1};_s(n,a);const i=(0,l.markRaw)({layout:(0,l.shallowRef)(n),passport:0,order:{index:0}});return t.set(zt,i),i}function Pn(t,a,n=-1,i=-1,o=!1,r,s,c){const e=t.get(zt);if(!e)return;const u=t.get("groupLayout")??{};n===-1&&(n=u.column??1),i===-1&&(i=u.gutter??0),r||(r=u.minItemWidth??-1),s||(s=u.maxItemWidth??-1);const h=ye(r),d=ye(s);c||(c=u.type??"grid");const m=()=>{const T=a===""||a===-1,E=ye(a);let S=we(n);const y=ye(i);if(!T){let v=(E-(S-1)*y)/S;for(;d!==-1&&v>d;)S++,v=(E-(S-1)*y)/S;for(;h!==-1&&S>1&&v<h;)S--,v=(E-(S-1)*y)/S}let g=!1;const p=e.layout;p.value.width=a,p.value.column!==S&&(p.value.column=S,g=!0),p.value.gutter!==y&&(p.value.gutter=y,g=!0),p.value.type!==c&&(p.value.type=c,g=!0),g&&(0,l.triggerRef)(p)};if(o)m();else{const T=++e.passport;setTimeout(()=>{T===e.passport&&m()},50)}}function Dl(t,a=!1){let n;return a?n=t.getForParent(zt):n=t.get(zt),n.layout}function Ml(t,a=!1){let n;return a?n=t.getForParent(zt):n=t.get(zt),n.order}function Fr(t,a=1){if(a==="stretch")return-1;const n=we(a);return n===-1?100:100*n/t}function Al(t,a,n=1,i=0,o){const r={};let s=0;o?s=ye(o):s=Fr(a.column,n),s>0&&(r.width=`${s}%`);const c=Fr(a.column,i);c>0&&(r["margin-left"]=`${c}%`);const e=ye(a.gutter)/2;return e>0&&(r["padding-left"]=`${e}px`,r["padding-right"]=`${e}px`),r}function Il(t,a,n=1,i=0){if(n==="stretch"){const e=t.index%a.column,u=e+(a.column-e);return t.index=t.index+(u-e),{"grid-column":`${e+1} / -1`}}let o=we(n);if(o===-1){const e=t.index%a.column;return a.column,e==0?t.index=t.index+a.column:t.index=t.index+(a.column-e)+a.column,{"grid-column":"1 / -1"}}if(o>a.column){const e=t.index%a.column;return a.column,e==0?t.index=t.index+a.column:t.index=t.index+(a.column-e)+a.column,{"grid-column":"1 / -1"}}const r=we(i)%a.column;let s=(t.index+r)%a.column,c=s+o;return c>a.column?(s=0,c=s+o,t.index=t.index+(a.column-s)+o):t.index=t.index+r+o,r>0?{"grid-column":`${s+1} / span ${o}`}:{"grid-column-start":`span ${o}`}}var Or=Symbol("RollingStateKey");function Fs(t){(0,l.provide)(Or,t)}function Os(){return(0,l.inject)(Or,null)}function Ln(t){let a=0;const n=window.getComputedStyle(t,null);if(n.getPropertyValue("box-sizing")==="content-box"){const i=parseFloat(n.getPropertyValue("padding-top")),o=parseFloat(n.getPropertyValue("padding-bottom"));a=t.clientHeight-i-o}else a=t.offsetHeight;return a}function Hs(t){let a=Ln(t);if(a<=0){const n=t.cloneNode(!0);n.style=`width: ${t.offsetWidth}px; height: initial; overflow: initial; visibility: hidden;`,document.body.appendChild(n),a=Ln(n),document.body.removeChild(n)}return a}function qs(t,a,n){const i=typeof t=="number"?t:parseInt(t),o=typeof a=="number"?a:parseInt(a),r=typeof n=="number"?n:parseInt(n);if(i<=0)return"1fr";const s=(i-(o-1)*r)/o;return s>0?`${s}px`:"1fr"}function Hr(t){const a=[];return t.forEach(n=>{n.type===l.Fragment&&Array.isArray(n.children)?a.push(...Hr(n.children)):a.push(n)}),a}function js(t){return!(t.type===l.Comment||t.type===l.Text&&typeof t.children=="string"&&t.children.trim()==="")}function Pl(t){function a(){return Hr(t?.()??[]).filter(js)}return{getChildren:a}}var Ks={...ze,...Ar,...Ir};function Ws(t,a,n){return{props:Ks,emits:["update:collapse","header-click"],setup(i,o){const{domain:r,exposeApi:s}=xn({props:i,ignorePropKeys:Pr,context:o},i.prop??i.name),c=Rs(r,{type:i.type}),e=Bl();Vl(!0);const u=i.rollingDisplay?Os():null,h=(0,l.ref)(null),d=(0,l.computed)(()=>i.rollingDisplay?u&&!u.disabled:!1),m=(0,l.computed)(()=>e&&r?Dl(r,!0).value:null),T=(I,J=!1)=>{const Q=r?.componentPublicExposed;Q&&typeof Q.setNameValidateRules=="function"&&Q.setNameValidateRules(I,!0,J)};(0,l.watch)([()=>i.rules,()=>i.pureDataRules],([I,J],[Q,P])=>{if(I&&Q){const b=(0,l.toRaw)(Q),C=(0,l.toRaw)(I),O=C?Reflect.ownKeys(C):[];(b?Reflect.ownKeys(b):[]).forEach(te=>{O.includes(te)||(C[te]=[])}),T(C)}if(J&&P){const b=(0,l.toRaw)(P),C=(0,l.toRaw)(J),O=C?Reflect.ownKeys(C):[];(b?Reflect.ownKeys(b):[]).forEach(te=>{O.includes(te)||(C[te]=[])}),T(C,!0)}},{deep:!0});const E=t,S=(0,l.computed)(()=>{const I={};I.height=L.value;const J=e?Ml(r,!0):null;if(m.value&&J){if(m.value.type==="grid"){const Q=Il(J,m.value,i.span,i.offset);Object.assign(I,Q)}else if(m.value.type==="flow"){const Q=Al(J,m.value,i.span,i.offset,i.width);Object.assign(I,Q)}}else i.width&&(I.width=ke(i.width));return I}),y=(0,l.computed)(()=>{const I=c.layout.value.type;return I==="grid"||I==="flow"?{[`${E}--${I}`]:!0,[`${E}--${I}-justify-${i.justify}`]:!0,[`${E}--${I}-align-${i.align}`]:!0,[`${E}--gutter`]:!0}:{[`${E}--${I}`]:!0,[`${E}--gutter`]:!0}}),g=(0,l.computed)(()=>{if(c.layout.value.type==="grid"){let I="";if(i.columnWidth)I=`repeat(auto-fill, ${i.columnWidth})`;else{const J=qs(K.value,c.layout.value.column,c.layout.value.gutter);I=`repeat(${c.layout.value.column}, ${J})`}return{"column-gap":`${c.layout.value.gutter}px`,"grid-template-columns":I}}}),p=(0,l.toRef)(i,"gutter"),v=(0,l.toRef)(i,"column"),f=(0,l.computed)(()=>e||d.value?!0:he(i.isWrap)),A=[],V=I=>{A.push(I)},_=()=>{let I=A.length;A.splice(0,I)},K=(0,l.ref)(-1),j=I=>{const J=$l(I).width;J>0&&J!==K.value&&(K.value=J)};Pn(r,K.value,v.value,p.value,!0,i.minItemWidth,i.maxItemWidth,i.type),i.autoLayout&&(0,l.watch)([K,v,p],([I,J,Q])=>{c.order.index=0,Pn(r,I,J,Q,!1,i.minItemWidth,i.maxItemWidth,i.type)});const q=(0,l.computed)(()=>$.value?i.expandText??"":i.collapseText??""),k=(0,l.computed)(()=>({[`${t}__header-collapse-text`]:!0})),R=(0,l.computed)(()=>({[`${t}__header-collapse-icon`]:!0,"is-expand":!$.value,"is-collapse":$.value})),z=(0,l.ref)(),N=(0,l.ref)(),L=(0,l.computed)(()=>U.value||ke(i.height)||""),$=(0,l.ref)(!1),U=(0,l.ref)(""),Y=(0,l.ref)(!1);let Z=-1;const M=(I,J=!0)=>{const Q=z.value;if(Q&&$.value!==I){if(Z=Z===-1?Hs(Q):Z,Y.value=!0,J)if(Q.style["will-change"]="height",Q.ontransitionend=function(){Q.ontransitionend=null,this.style["will-change"]="auto",I||(U.value="",Y.value=!1)},I){let P=0;i.collapseHeight?P=ye(i.collapseHeight):N.value&&N.value.classList.contains(`${t}__header`)&&(P=N.value.offsetHeight),U.value=`${Z}px`,(0,l.nextTick)(()=>{U.value=`${P}px`})}else U.value=`${Z}px`;else if(I){let P=0;i.collapseHeight?P=ye(i.collapseHeight):N.value&&N.value.classList.contains(`${t}__header`)&&(P=N.value.offsetHeight),U.value=`${P}px`}else Y.value=!1,U.value=`${Z}px`;$.value=I,o.emit("update:collapse",I)}};(0,l.watch)(()=>i.collapse,I=>{M(he(I))});const F=I=>{o.emit("header-click",I)},D=()=>{X()},X=I=>{I=I??!$.value,M(I)};s({toggleCollapse:X,doLayout:()=>{A[0]&&(j(A[0]),Pn(r,K.value,v.value,p.value,!0,i.minItemWidth,i.maxItemWidth,i.type))}});let W=null,x=!0;const ee=I=>{if(i.rules&&T((0,l.toRaw)(i.rules)),i.pureDataRules&&T((0,l.toRaw)(i.pureDataRules),!0),!!dt&&(I&&M(he(i.collapse),!1),i.autoLayout&&Array.isArray(A)&&A.length>0)){const J=A[0];if(J&&(j(J),window.ResizeObserver)){const Q=Qe(()=>j(J),120);W=new window.ResizeObserver(Q),W.observe(J)}}},ne=()=>{const I=A[0];I&&W?.observe(I),W?.disconnect(),W=null},ae=!d.value||u?.acquire();ae&&(h.value=d.value?!0:null),(0,l.onMounted)(()=>{if(ae&&(ee(x),x=!1),d.value&&u){let I=null,J=u.initialHeight;u.observe(z.value,Q=>{if(Q!==h.value)if(Q)h.value=!0,$.value||(U.value=""),I=setTimeout(()=>{I=null,h.value!==!1&&(ee(x),x=!1)},100);else{if(I!==null&&clearTimeout(I),h.value=!1,!$.value)if(x)U.value=u.initialHeight;else{let P=Ln(z.value);P<=0?U.value=J:(U.value=`${P}px`,J=U.value)}x||ne()}})}}),(0,l.onUnmounted)(()=>{ne(),u&&u.unobserve(z.value)});const G=(I="right")=>{const J=[];if(q.value){const b=(0,l.h)("span",{class:k.value},[q.value]);J.push(b)}const Q={class:R.value},P=n(i.collapseIcon,Q);return P&&J.push(P),J.length>0?(0,l.h)("div",{class:{[`${E}__header-collapse`]:!0,[`is-${I}`]:!0},onClick:D},J):null},le=(I,J,Q,P)=>{const b={...y.value};if(J===0&&(b[`${E}__first`]=!0),Q>=P-1&&(b[`${E}__last`]=!0),f.value===!1){const C=o.attrs.class;C&&(b[`${C}`]=!0)}return(0,l.h)("div",{ref:V,key:`${J}`,class:b,style:g.value},I)};return()=>{const I=i.prop??i.name;if(d.value&&h.value!==!0)return(0,l.h)(i.tag||"div",{ref:z,prop:I,class:{[`${E}`]:!0,"is-collapse":Y.value},style:S.value},[]);c.order.index=0;const J=[];let Q=0;if(o.slots.header){const O=(0,l.h)("div",{key:`${Q++}`,ref:N,class:{[`${E}__header`]:!0,[`${E}__first`]:!0},onClick:F},[o.slots.header()]);J.push(O)}else{const O=[],te=i.collapsePosition==="left";if(te&&i.showCollapse){const re=G("left");re&&O.push(re)}if(i.title||o.slots.title){if(i.showMark){const re={class:{[`${E}__header-mark`]:!0}};i.markColor&&(re.style={background:i.markColor});const se=(0,l.h)("div",re);O.push(se)}if(o.slots.title){const re=(0,l.h)("div",{class:{[`${E}__header-title`]:!0}},[o.slots.title()]);O.push(re)}else if(i.title){const re=(0,l.h)("div",{class:{[`${E}__header-title`]:!0}},[i.title]);O.push(re)}}if(o.slots.toolbar&&O.push(o.slots.toolbar()),!te&&i.showCollapse){const re=G("right");re&&O.push(re)}if(O.length>0){const re=(0,l.h)("div",{key:`${Q++}`,ref:N,class:{[`${E}__header`]:!0,[`${E}__first`]:!0},onClick:F},O);J.push(re)}}_();const{getChildren:P}=Pl(o.slots.default),b=P(),C=c.layout.value.type;if(C==="grid"){const O=le(b,Q++,0,b.length);J.push(O)}else if(C==="flow"){const O=le(b,Q++,0,b.length);J.push(O)}else for(let O=0;O<b.length;O++){const te=b[O],re=le([te],Q++,O,b.length);J.push(re)}return f.value?(0,l.h)(i.tag||"div",{ref:z,prop:I,class:{[`${E}`]:!0,"is-collapse":Y.value},style:S.value},[J]):J}}}}var{componentName:Ys,create:Us,scope:Gs}=ce("group"),Xs=(t,a)=>(t=t??Be.ArrowUp,(0,l.h)(B.ElIcon,a,{default:()=>[(0,l.h)(t)]})),Qs=Us(Ws(Ys,Gs,Xs)),_n=Qs;function Zs(t){return t===window}var Js=/matrix\((.+)\)/,Rn=t=>{const a=(0,l.unref)(t);if(!a)return{x:0,y:0};if(Zs(a))return{x:0,y:0};let n=0,i=0,o=a;for(;o!==null;)n+=o.offsetLeft,i+=o.offsetTop,o=o.offsetParent;let r=0,s=0,c=0,e=0;for(o=a;o!==document;){s+=o.scrollTop,r+=o.scrollLeft;const{transform:u}=window.getComputedStyle(o);if(u){const h=Js.exec(u);if(h){let d=h[1].split(/\s*,\s*/);d.length==6&&(c+=Number(d[4]),e+=Number(d[5]))}}o=o.parentNode}return n-=r,i-=s,n+=c,i+=e,{x:n,y:i}},ec=class{watchedListeners=[];add(t){this.watchedListeners.push(t)}remove(t){const a=this.watchedListeners.indexOf(t);a!==-1&&this.watchedListeners.splice(a,1)}size(){return this.watchedListeners.length}listen=()=>{this.watchedListeners.forEach(t=>{try{t()}catch{}})}},tc=class{monitorRegister=new WeakMap;watch(t,a){let n=t.parentNode;const i=document.body.parentNode;for(;n&&n!==i;){let o=this.monitorRegister.get(n);o||(o=new ec,n.addEventListener("scroll",o.listen),n===document.body&&n.addEventListener("resize",o.listen),this.monitorRegister.set(n,o)),o.add(a),n=n.parentNode}}unwatch(t,a){let n=t.parentNode;const i=document.body.parentNode;for(;n&&n!==i;){let o=this.monitorRegister.get(n);o&&(o.remove(a),o.size()===0&&(this.monitorRegister.delete(n),n.removeEventListener("scroll",o.listen),n===document.body&&n.removeEventListener("resize",o.listen))),n=n.parentNode}}},Xt=new tc,qr={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:lc,create:nc}=ce("price"),ac=nc({props:{...qr},setup(t){const a=(0,l.computed)(()=>({[lc]:!0})),n=(0,l.computed)(()=>t.needSymbol?t.symbol:""),i=(0,l.computed)(()=>ft(t.price)==0?"":ml(t.price,t.decimalLength,!0,we(t.digits),t.separator));return{classes:a,showSymbol:n,intText:(0,l.computed)(()=>{let o=i.value;if(o.length==0)return"";let r=o.indexOf(".");return o.substring(0,r)}),decimalText:(0,l.computed)(()=>{let o=i.value;if(o.length==0)return"";let r=o.indexOf(".");return o.substring(r+1)})}}}),De=(t,a)=>{const n=t.__vccOpts||t;for(const[i,o]of a)n[i]=o;return n},rc=["innerHTML"],oc=["innerHTML"];function ic(t,a,n,i,o,r){return(0,l.openBlock)(),(0,l.createElementBlock)("view",{class:(0,l.normalizeClass)(t.classes)},[t.needSymbol&&t.position=="before"?((0,l.openBlock)(),(0,l.createElementBlock)("view",{key:0,class:(0,l.normalizeClass)(["fox-price--symbol",`fox-price--symbol-${t.size}`]),innerHTML:t.showSymbol},null,10,rc)):(0,l.createCommentVNode)("",!0),(0,l.createElementVNode)("view",{class:(0,l.normalizeClass)(`fox-price--${t.size}`)},(0,l.toDisplayString)(t.intText),3),t.decimalText.length!=0?((0,l.openBlock)(),(0,l.createElementBlock)("view",{key:1,class:(0,l.normalizeClass)(`fox-price--decimal-${t.size}`)},".",2)):(0,l.createCommentVNode)("",!0),(0,l.createElementVNode)("view",{class:(0,l.normalizeClass)(`fox-price--decimal-${t.size}`)},(0,l.toDisplayString)(t.decimalText),3),t.needSymbol&&t.position=="after"?((0,l.openBlock)(),(0,l.createElementBlock)("view",{key:2,class:(0,l.normalizeClass)(["fox-price--symbol",`fox-price--symbol-${t.size}`]),innerHTML:t.showSymbol},null,10,oc)):(0,l.createCommentVNode)("",!0)],2)}var Ll=De(ac,[["render",ic]]),{componentName:Fn,create:sc}=ce("hint-text"),cc=sc({components:{Price:Ll},props:{...qr,type:{type:String,default:"number"},placement:{type:String,default:"top-start"},transition:{type:Boolean,default:!0},size:{type:String,default:"default"},arrowSize:{type:Number,default:6},showArrow:{type:Boolean,default:!0},arrowOffset:{type:Number,default:20},offset:{type:Number,default:12},id:{type:String},reference:{type:Object},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(t,a){const n=(0,l.ref)({top:null,right:null,bottom:null,left:null}),i=(0,l.ref)({x:0,y:0}),o=(0,l.ref)(0),r=(0,l.ref)(0),s=(0,l.ref)(t.placement),c=(0,l.ref)(!1),e=(0,l.ref)(null),u=(k,R,z,N,L,$)=>{const U=document.documentElement.clientWidth||document.body.clientWidth,Y=document.documentElement.clientHeight||document.body.clientHeight,Z=k.split("-");let M=[];Z[0]==="top"?M=["top","bottom","right","left"]:Z[0]==="bottom"?M=["bottom","top","right","left"]:Z[0]==="left"?M=["left","top","bottom","right"]:Z[0]==="right"&&(M=["right","top","bottom","left"]);const F={top:null,right:null,bottom:null,left:null},D=[];for(let X=0;X<M.length;X++){const H=M[X];if(D[0]=H,Z[1]&&(D[1]=Z[1]),H==="top"){const W=R.y-$-t.arrowSize-t.offset;if(W>=0){F.top=W;let x=0;Z[1]==="start"?x=R.x:Z[1]==="end"?x=R.x+z-L:x=R.x+z/2-L/2;const ee=U-x-L;ee<0?(x+=ee,d.value=-ee):d.value=0,F.left=x<0?0:x;break}}else if(H==="bottom"){const W=R.y+N+t.arrowSize+t.offset;if(W+$<=Y){F.top=W;let x=0;Z[1]==="start"?x=R.x:Z[1]==="end"?x=R.x+z-L:x=R.x+z/2-L/2;const ee=U-x-L;ee<0?(x+=ee,d.value=-ee):d.value=0,F.left=x<0?0:x;break}}else if(H==="left"){const W=R.x-L-t.arrowSize-t.offset;if(W>=0){F.left=W;let x=0;Z[1]==="start"?x=R.y:Z[1]==="end"?x=R.y+N-$:x=R.y+N/2-$/2,F.top=x<0?0:x;break}}else if(H==="right"){const W=R.x+z+t.arrowSize+t.offset;if(W+L<=U){F.left=W;let x=0;Z[1]==="start"?x=R.y:Z[1]==="end"?x=R.y+N-$:x=R.y+N/2-$/2,F.top=x<0?0:x;break}}}return{bestPlacement:D.join("-"),bestInsetRect:F}},h=(k,R,z=10)=>{if(!dt||R===!1||!k)return;i.value=Rn(t.reference),o.value=t.reference.offsetWidth,r.value=t.reference.offsetHeight;const N=e.value.offsetHeight,L=e.value.offsetWidth,{bestPlacement:$,bestInsetRect:U}=u(t.placement,i.value,o.value,r.value,L,N);s.value=$,n.value=U,c.value=!0},d=(0,l.ref)(0),m=Qe(()=>{h(t.message,t.visible)},10),T=(0,l.ref)(t.visible);(0,l.watch)(()=>t.visible,k=>{T.value=k});const E=(0,l.computed)(()=>T.value&&S.value),S=(0,l.ref)(!0),y=Qe(k=>{const R=k[0];R&&(S.value=R.isIntersecting)},10),g=new IntersectionObserver(y);(0,l.watch)([()=>t.message,()=>t.visible],([k,R])=>{setTimeout(()=>{h(t.message,t.visible)},0)}),(0,l.onMounted)(()=>{setTimeout(()=>{h(t.message,t.visible)},0),Xt.watch(t.reference,m),g.observe(t.reference)}),(0,l.onBeforeUnmount)(()=>{Xt.unwatch(t.reference,m),g.unobserve(t.reference),g.disconnect()});const p=(0,l.computed)(()=>{const k={[Fn]:!0};return s.value.startsWith("top")?k["is-top"]=!0:s.value.startsWith("right")?k["is-right"]=!0:s.value.startsWith("bottom")?k["is-bottom"]=!0:s.value.startsWith("right")&&(k["is-right"]=!0),t.size==="small"?k["is-small"]=!0:t.size==="large"&&(k["is-large"]=!0),t.customClass&&typeof t.customClass=="string"&&(k[`${t.customClass}`]=!0),k}),v=(0,l.computed)(()=>{const k={};return n.value.top!==null&&(k.top=`${n.value.top}px`),n.value.right!==null&&(k.right=`${n.value.right}px`),n.value.bottom!==null&&(k.bottom=`${n.value.bottom}px`),n.value.left!==null&&(k.left=`${n.value.left}px`),t.autoFit&&(k["min-width"]=`${o.value}px`),k["max-width"]=`${document.documentElement.clientWidth||document.body.clientWidth}px`,c.value&&(k.opacity="1"),t.transition||(k.transition="none"),t.zIndex&&(k["z-index"]=`${t.zIndex}`),t.customStyle&&typeof t.customStyle=="object"&&Object.assign(k,t.customStyle),k}),f=(0,l.computed)(()=>{const k=[`${Fn}__content`];return t.customTextClass&&k.push(t.customTextClass),k}),A=(0,l.computed)(()=>{const k={};return t.customTextStyle&&typeof t.customTextStyle=="object"&&Object.assign(k,t.customTextStyle),k}),V=(0,l.computed)(()=>({[`${Fn}__arrow`]:!0})),_=(0,l.computed)(()=>{const k={};return t.showArrow?(k.width=`${t.arrowSize}px`,k.height=`${t.arrowSize}px`,s.value==="top"?(k.left="50%",k.bottom=`-${t.arrowSize}px`,k.transform=" translate(-50%, 0%)"):s.value==="top-start"?(k.left=`${t.arrowOffset+d.value}px`,k.bottom=`-${t.arrowSize}px`):s.value==="top-end"?(k.right=`${t.arrowOffset-d.value}px`,k.bottom=`-${t.arrowSize}px`):s.value==="right"?(k.left=`-${t.arrowSize}px`,k.top="50%",k.transform=" translate(0%, -50%)"):s.value==="right-start"?(k.left=`-${t.arrowSize}px`,k.top=`${t.arrowOffset}px`):s.value==="right-end"?(k.left=`-${t.arrowSize}px`,k.bottom=`-${t.arrowOffset}px`):s.value==="bottom"?(k.left="50%",k.top=`-${t.arrowSize}px`,k.transform=" translate(-50%, 0%)"):s.value==="bottom-start"?(k.left=`${t.arrowOffset+d.value}px`,k.top=`-${t.arrowSize}px`):s.value==="bottom-end"?(k.right=`${t.arrowOffset-d.value}px`,k.top=`-${t.arrowSize}px`):s.value==="left"?(k.right=`-${t.arrowSize}px`,k.top="50%",k.transform=" translate(0%, -50%)"):s.value==="left-start"?(k.right=`-${t.arrowSize}px`,k.top=`${t.arrowOffset}px`):s.value==="left-end"&&(k.right=`-${t.arrowSize}px`,k.bottom=`-${t.arrowOffset}px`),k):{display:"none"}}),K=(0,l.computed)(()=>E.value&&t.closeOnClick),j=(0,l.computed)(()=>{const k={};return t.zIndex&&(k["z-index"]=`${t.zIndex}`),k});return{show:E,tipRef:e,classes:p,styles:v,textClasses:f,textStyles:A,arrowClasses:V,arrowStyles:_,overlayShow:K,overlayStyle:j,onClickOverlay:()=>{T.value=!1,a.emit("update:visible",!1)}}}}),uc=["innerHTML"];function dc(t,a,n,i,o,r){const s=(0,l.resolveComponent)("Price");return(0,l.openBlock)(),(0,l.createElementBlock)(l.Fragment,null,[t.overlayShow?((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:0,class:"fox-hint-text__overlay",style:(0,l.normalizeStyle)(t.overlayStyle),onClick:a[0]||(a[0]=(...c)=>t.onClickOverlay&&t.onClickOverlay(...c))},null,4)):(0,l.createCommentVNode)("",!0),(0,l.withDirectives)((0,l.createElementVNode)("div",{ref:"tipRef",class:(0,l.normalizeClass)(t.classes),style:(0,l.normalizeStyle)(t.styles)},[(0,l.createElementVNode)("div",{class:(0,l.normalizeClass)(t.textClasses),style:(0,l.normalizeStyle)(t.textStyles)},[t.type=="number"?((0,l.openBlock)(),(0,l.createBlock)(s,{key:0,price:t.message,position:"before",size:t.size},null,8,["price","size"])):((0,l.openBlock)(),(0,l.createElementBlock)("span",{key:1,innerHTML:t.message},null,8,uc))],6),(0,l.createElementVNode)("div",{class:(0,l.normalizeClass)(t.arrowClasses),style:(0,l.normalizeStyle)(t.arrowStyles)},null,6)],6),[[l.vShow,t.show]])],64)}var jr=De(cc,[["render",dc]]),Kr=class{seed=new Date().getTime();constructor(t){this.seed=t??new Date().getTime()}get(){let t=this.seed++;return this.seed<0&&(this.seed=0),t}},On={},fc=new Kr,Et=new Map,_l=t=>{if(t){const a=document.getElementById(t);Et.delete(t),a&&((0,l.render)(null,a),a.parentNode?.removeChild(a))}else{for(const a of Et.keys()){const n=document.getElementById(a);n&&((0,l.render)(null,n),n.parentNode?.removeChild(n))}Et.clear()}},mc=t=>{t.unmount=_l;const a=document.getElementById(t.id);if(a){const n=Et.get(t.id);n?t={...On,...n,...t}:t={...On,...t},t.transition=!1,(0,l.render)((0,l.createVNode)(jr,t),a)}return t.id},hc=t=>{t.unmount=_l;let a=t.id??`hinttext_${fc.get()}`;t={...On,...t},t.id=a,Et.set(a,t);const n=document.createElement("div");return n.id=t.id,(0,l.render)((0,l.createVNode)(jr,t),n),document.body.appendChild(n),a},pc=t=>t?!0:(console.warn("[FoxUI HintText]: msg不能为空"),!1),Oe={show(t,a,n={},i=!0){if(!pc(a))return;const o=n.id;return o&&Et.has(o)?mc({...n,message:a,reference:t}):(i&&_l(),hc({...n,message:a,reference:t}))},hide(t){_l(t)},install(t){t.config.globalProperties.$hintText=Oe}};function gc(t,a,n,i=!1){return{inheritAttrs:!0,props:{...ze,...$e},emits:["appear","disappear"],setup(o,r){const s=o.prop??r.attrs.name,c=(0,l.ref)(),{exposeApi:e}=Te({componentName:t,validate:!1,get props(){return o},context:r,get templateRefProxy(){return c.value}},s),u=pt(),h=Bl();Vl(!1);const d=(0,l.computed)(()=>h&&u?Dl(u,!1).value:null),m=t,T=(0,l.ref)(null),E=(0,l.computed)(()=>{const C={[m]:!0,[`${m}__gutter`]:d.value&&d.value.type!=="flow",[`${m}__stretch`]:o.span==="stretch",[`${m}__input--border`]:he(o.hasBorder)};if(C[o.errorMarkClass]=!!Y.value,C[o.warnMarkClass]=!!$.value,C[o.infoMarkClass]=!!N.value,typeof T.value=="function"){const O=T.value(s);C[O]=!0}else if(typeof T.value=="string"){const O=T.value;C[O]=!0}return C}),S=(0,l.ref)(null),y=(0,l.computed)(()=>{const C={};if(o.width)o.width!=="auto"&&(C.width=ke(o.width));else{const O=h&&u?Ml(u,!1):null;if(d.value&&O){if(d.value.type==="grid"){const te=Il(O,d.value,o.span,o.offset);Object.assign(C,te)}else if(d.value.type==="flow"){const te=Al(O,d.value,o.span,o.offset,o.width);Object.assign(C,te)}}}if(typeof S.value=="function"){const O=S.value(s);O&&Object.assign(C,O)}else if(S.value&&typeof S.value=="object"){const O=S.value;Object.assign(C,O)}return C}),g=(0,l.ref)(null),p=(0,l.computed)({get:()=>g.value??he(o.isRequired),set:C=>{g.value=C}}),v=()=>typeof o.label=="string"&&o.label.length>0||typeof r.slots.label=="function",f=Ve((0,l.toRef)(o,"labelPosition"),"labelPosition",He.Near),A=(0,l.computed)(()=>f&&f.value==="top"?"top":f&&f.value==="right"?"right":"left"),V=(0,l.computed)(()=>({[`${m}__main`]:!0,[`${m}__main--${A.value}`]:!0})),_=(0,l.computed)(()=>({label:!0,[`label--${A.value}`]:!0})),K=Ve((0,l.toRef)(o,"labelWidth"),"labelWidth",He.Near),j=(0,l.computed)(()=>K&&K.value?{width:ke(K.value)}:{}),q=(0,l.computed)(()=>({"label--string":!0,"label--required":p.value})),k=(0,l.computed)(()=>({content:!0,[o.contentClass]:!0})),R=(0,l.computed)(()=>({...o.contentStyle})),z=(0,l.shallowReactive)({errorTip:"",errorIcon:null,warnTip:"",warnIcon:null,infoTip:"",infoIcon:null});e({setRequired(C){p.value=C},setErrorTip(C){z.errorTip=C},setErrorIcon(C){z.errorIcon=C},setWarnTip(C){z.warnTip=C},setWarnIcon(C){z.warnIcon=C},setInfoTip(C){z.infoTip=C},setInfoIcon(C){z.infoIcon=C},setCustomClassName(C){T.value=C},setCustomStyle(C){S.value=C}});const N=(0,l.computed)(()=>o.infoTip||z.infoTip),L=(0,l.computed)(()=>o.infoIcon||z.infoIcon),$=(0,l.computed)(()=>o.warnTip||z.warnTip),U=(0,l.computed)(()=>o.warnIcon||z.warnIcon),Y=(0,l.computed)(()=>o.errorTip||z.errorTip),Z=(0,l.computed)(()=>o.errorIcon||z.errorIcon),M=(0,l.computed)(()=>Y.value?"error":$.value?"warn":N.value?"info":""),F=()=>M.value.length>0,D=(0,l.computed)(()=>M.value==="error"?Y.value:M.value==="warn"?$.value:M.value==="info"?N.value:""),X=(0,l.computed)(()=>M.value==="error"?Z.value:M.value==="warn"?U.value:M.value==="info"?L.value:null),H=(0,l.computed)(()=>{const C={[`${m}__tip`]:!0,[`${m}__tip--${M.value}`]:!0,[`${m}--animate`]:!0};return M.value==="error"&&o.errorClass?C[`${o.errorClass}`]=!0:M.value==="warn"&&o.warnClass?C[`${o.warnClass}`]=!0:M.value==="info"&&o.infoClass&&(C[`${o.infoClass}`]=!0),C}),W=(0,l.computed)(()=>{const C={};return f&&f.value==="top"||!v()?C["padding-left"]="0px":K&&K.value&&(C["padding-left"]=ke(K.value)),C}),x=(0,l.ref)();let ee="";(0,l.watch)([()=>o.hintVisible,()=>o.hintText,()=>o.hintType,()=>o.hintProps],([C,O,te,re])=>{x.value&&(C&&!ge(O)?ee?n.show(x.value,O,{...re,id:ee,type:te},!0):ee=n.show(x.value,O,{...re,type:te},!0):n.hide(ee))});let ne=null;const ae=()=>{ne||!x.value||(ne=new IntersectionObserver(C=>{let O=!1;for(let te of C)if(te.intersectionRatio>0){O=!0,O&&r.emit("appear",te);break}O||r.emit("disappear")}),ne.observe(x.value))},G=()=>{!ne||!x.value||(ne.unobserve(x.value),ne=null)};(0,l.watch)(()=>he(o.appearListen),C=>{C?ae():G()}),(0,l.onMounted)(()=>{he(o.appearListen)&&ae()}),(0,l.onUnmounted)(G);const le=()=>{if(!v())return null;const C=[],O=r.slots?.label?.()??o.label,te=(0,l.h)("div",{class:q.value},[O]);if(C.push(te),r.slots.fixedPreTip){const re=r.slots.fixedPreTip();C.push(re)}return(0,l.h)("div",{class:_.value,style:j.value},C)},I=()=>{const C=[];if(r.slots.prepend){const O=r.slots.prepend();C.push(O)}if(r.slots.default){const O=r.slots.default();C.push(O)}if(r.slots.append){const O=r.slots.append();C.push(O)}if(r.slots.fixedTip){const O=(0,l.h)("div",{class:[`${m}__fixed-tip`]},[r.slots.fixedTip()]);C.push(O)}return(0,l.h)("div",{ref:x,class:k.value,style:R.value},C)},J=()=>{const C=X.value;return C?typeof C=="function"?(0,l.h)("div",{class:"fox-item__tip--icon"},[C()]):(0,l.h)("div",{class:"fox-item__tip--icon"},[(0,l.h)(C)]):null},Q=()=>{const C=D.value;return C?typeof C=="function"?(0,l.h)("div",{class:"fox-item__tip--text"},[C()]):(0,l.h)("div",{class:"fox-item__tip--text"},[C]):null},P=()=>{if(!F())return null;const C=[],O=J();O&&C.push(O);const te=Q();return te&&C.push(te),(0,l.h)("div",{class:H.value,style:W.value},C)},b=()=>r.slots?.hide?.()??null;return()=>{const C=[],O=[],te=le();te&&O.push(te);const re=I();re&&O.push(re);const se=(0,l.h)("div",{class:V.value},O);C.push(se);const ue=P();ue&&C.push(ue);const pe=b();return pe&&C.push(pe),(0,l.h)("div",{class:E.value,style:y.value,prop:o.prop,ref:c},C)}}}}var{componentName:yc,create:bc,scope:Sc}=ce("item"),wc=bc(gc(yc,Sc,Oe,!1)),Qt=wc,Hn={span:{type:[Number,String],required:!1,default:1},offset:{type:[Number,String],default:0},width:{type:[String,Number],required:!1}};function vc(t,a){return{props:Hn,setup(n,i){const o=pt(),r=Bl();Vl(!1);const s=(0,l.computed)(()=>r&&o?Dl(o,!1).value:null),c=t,e=(0,l.computed)(()=>({[c]:!0,[`${c}__gutter`]:s.value&&s.value.type!=="flow",[`${c}__stretch`]:n.span==="stretch"})),u=(0,l.computed)(()=>{const h={};if(n.width)n.width!=="auto"&&(h.width=ke(n.width));else{const d=r&&o?Ml(o,!1):null;if(s.value&&d)if(s.value.type==="grid"){const m=Il(d,s.value,n.span,n.offset);Object.assign(h,m)}else if(s.value.type==="flow"){const m=Al(d,s.value,n.span,n.offset,n.width);Object.assign(h,m)}else return n.width&&(h.width=ke(n.width)),h}return h});return()=>{const h={class:e.value,style:u.value};return i.slots&&typeof i.slots.default=="function"?(0,l.h)("div",h,i.slots.default()):(0,l.h)("div",h)}}}}var{componentName:Nc,create:Cc,scope:kc}=ce("slot-item"),xc=Cc(vc(Nc,kc)),Rl=xc,qn={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 zc(t,a){return{props:qn,setup(n,i){const o=t,r=(0,l.computed)(()=>({[o]:!0,[`${o}__stretch`]:n.span==="stretch",[`${o}__${n.align}`]:!0})),s=pt(),c=Bl();Vl(!1);const e=(0,l.computed)(()=>{const u={};if(n.width)n.width!=="auto"&&(u.width=ke(n.width));else if(c&&s){const h=Dl(s,!1),d=Ml(s,!1);if(h.value&&d)if(h.value.type==="grid"){const m=Il(d,h.value,n.span,n.offset);Object.assign(u,m)}else if(h.value.type==="flow"){const m=Al(d,h.value,n.span,n.offset,n.width);Object.assign(u,m)}else n.width&&(u.width=ke(n.width))}return n.gutter&&(u.gap=ke(n.gutter)),n.wrap&&(u["flex-wrap"]=n.wrap),u});return()=>{const u=[];if(i.slots.default){const h=i.slots.default();if(n.divide)for(let d=0;d<h.length;d++){if(d>0){const m=(0,l.h)("div",{class:{[`${o}__divide`]:!0}});u.push(m)}u.push(h[d])}else Reflect.apply([].push,u,h)}return(0,l.h)("div",{class:r.value,style:e.value},u)}}}}var{componentName:Ec,create:Tc,scope:$c}=ce("row-item"),Bc=Tc(zc(Ec,$c)),Fl=Bc;function Vc(t,a){const n=document.createRange();n.setStart(t,0),n.setEnd(t,t.childNodes.length);const i=n.getBoundingClientRect().width;if(i>0){a(i);return}t.classList.add("is-selectable"),setTimeout(()=>{n.setStart(t,0),n.setEnd(t,t.childNodes.length);const o=n.getBoundingClientRect().width;t.classList.remove("is-selectable"),a(o)},500)}var Dc={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},textPosition:{type:String,default:"right"},textColor:{type:String},divide:{type:[Boolean],required:!1}};function Mc(t,a,n,i=!1){return{props:{...Dc},emits:["click"],setup(o,r){const s=(0,l.ref)(null),c=(0,l.computed)(()=>{const v={[`${t}`]:!0,"is-truncated":o.truncated};return o.type&&(v[`${t}--${o.type??"default"}`]=!0),o.size&&(v[`${t}--${o.size}`]=!0),v}),e=(0,l.computed)(()=>{const v={},f=o.textColor??o.color;return f&&(v.color=f),v}),u=(v,f)=>{let A=null;if(typeof o.highlightFilter=="string"&&o.highlightFilter.length>0){const V=o.highlightFilter;v.indexOf(V)!==-1&&(f.innerHTML=v.replace(new RegExp(V,"g"),`<span>${V}</span>`),f.class["is-highlight"]=!0,A=(0,l.h)(o.tag,f))}else if(typeof o.highlightFilter=="function"){const V=o.highlightFilter(v);V&&(f.innerHTML=V,f.class["is-highlight"]=!0,A=(0,l.h)(o.tag,f))}return A},h=v=>{r.emit("click",v)};let d="";const m=()=>{const v=s.value;if(!v)return;const f=v.clientWidth;Vc(v,A=>{const V=v.innerHTML??"";ge(V)||A<f||(d?n?.show(v,V,{type:"text",id:d,showArrow:o.showArrow},!0):d=n?.show(v,V,{type:"text",showArrow:o.showArrow},!0)??"")})},T=()=>{d&&n?.hide(d)};let E=null;const S=v=>{E||(E=setTimeout(()=>{m(),E=null},o.showAfter??0))},y=v=>{E&&(clearTimeout(E),E=null),setTimeout(()=>{T()},o.hideAfter??0)},g=()=>{const v=s.value;v&&(v.addEventListener("mouseover",S),v.addEventListener("mouseleave",y))},p=()=>{const v=s.value;v&&(v.removeEventListener("mouseover",S),v.removeEventListener("mouseleave",y))};return(0,l.onMounted)(()=>{!he(o.showOverflowTooltip)||!n||g()}),(0,l.onBeforeUnmount)(()=>{!he(o.showOverflowTooltip)||!n||p()}),()=>{const v={onClick:h,class:c.value,style:e.value,ref:s};let f=null;if(he(o.numberFormat)&&typeof r.slots.default=="function"){const V=r.slots.default();if(Array.isArray(V)&&V.length===1){const _=V[0].type.toString();if(_==="Symbol(Text)"||_==="Symbol(v-txt)"){const K=we(o.digits),j=we(o.decimalLength),q=he(o.autoPadding);let k=`${V[0].children}`,R=k.split("").reverse().join("");R=ml(R,j,q,K,o.separator),k=R.split("").reverse().join(""),o.highlightFilter!==void 0&&(f=u(k,v)),f||(v.innerHTML=k,f=(0,l.h)(o.tag,v))}}}else{if(o.highlightFilter!==void 0&&typeof r.slots.default=="function"){const V=r.slots.default();if(Array.isArray(V)&&V.length===1){const _=V[0].type.toString();if(_==="Symbol(Text)"||_==="Symbol(v-txt)"){const K=`${V[0].children}`;f=u(K,v),f||(v.innerHTML=K,f=(0,l.h)(o.tag,v))}}}f||(f=(0,l.h)(o.tag,v,{default:r.slots.default}))}if(!o.mark&&!r.slots.mark)return f;const A=[];if(r.slots.mark){const V={[`${t}__mark-wrap`]:!0};o.type&&(V[`${t}__mark-wrap--${o.type}`]=!0);const _={},K=o.color;K&&(_.color=K);const j=(0,l.h)("view",{onClick:h,class:V,style:_},{default:r.slots.mark});A.push(j)}else{const V={[`${t}__mark`]:!0};o.type&&(V[`${t}__mark--${o.type??"default"}`]=!0);const _={},K=o.color;K&&(_["background-color"]=K);const j=(0,l.h)("view",{onClick:h,class:V,style:_});A.push(j)}if(o.divide){const V=(0,l.h)("div",{class:{[`${t}__divide`]:!0}});A.push(V)}return A.push(f),(0,l.h)("view",{class:{"fox-text__wrap":!0,"text-left":o.textPosition==="left","text-right":o.textPosition==="right"}},A)}}}}var{componentName:Ac,create:Ic,scope:Pc}=ce("text"),Lc=Ic(Mc(Ac,Pc,Oe,!1)),Tt=Lc,_c={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]},teleport:{type:[String,Element],default:()=>"body"},teleportDisable:{type:Boolean,default:()=>!1}};function Rc(t,a,n=!1){return{props:{..._c},emits:["update:visible"],setup(i,{emit:o,slots:r,expose:s}){const c=(0,l.ref)({top:null,right:null,bottom:null,left:null}),e=(0,l.ref)(0),u=(0,l.ref)(0),h=(0,l.ref)(0),d=(0,l.ref)(0),m=(0,l.ref)(i.placement),T=(0,l.ref)(!1),E=(0,l.ref)(!1),S=(0,l.ref)(null),y=()=>typeof i.reference=="string"?document.querySelector(i.reference):i.reference,g=(M,F,D,X,H,W,x,ee=!0)=>{const ne=document.documentElement.clientWidth||document.body.clientWidth,ae=document.documentElement.clientHeight||document.body.clientHeight,G=M.split("-");let le=[];ee?G[0]==="top"?le=["top","bottom","right","left"]:G[0]==="bottom"?le=["bottom","top","right","left"]:G[0]==="left"?le=["left","top","bottom","right"]:G[0]==="right"&&(le=["right","top","bottom","left"]):le=[M[0]];const I={top:null,right:null,bottom:null,left:null},J=[];for(let Q=0;Q<le.length;Q++){const P=le[Q];if(J[0]=P,G[1]&&(J[1]=G[1]),P==="top"){const b=D-x-i.arrowSize/2-i.offset;if(b>=0){I.top=b;let C=0;G[1]==="start"?C=F:G[1]==="end"?C=F+X-W:C=F+X/2-W/2;const O=ne-C-W;O<0?(C+=O,v.value=-O):v.value=0,I.left=C<0?0:C;break}}else if(P==="bottom"){const b=D+H+i.arrowSize/2+i.offset;if(b+x<=ae){I.top=b;let C=0;G[1]==="start"?C=F:G[1]==="end"?C=F+X-W:C=F+X/2-W/2;const O=ne-C-W;O<0?(C+=O,v.value=-O):v.value=0,I.left=C<0?0:C;break}}else if(P==="left"){const b=F-W-i.arrowSize/2-i.offset;if(b>=0){I.left=b;let C=0;G[1]==="start"?C=D:G[1]==="end"?C=D+H-x:C=D+H/2-x/2,I.top=C<0?0:C;break}}else if(P==="right"){const b=F+X+i.arrowSize/2+i.offset;if(b+W<=ne){I.left=b;let C=0;G[1]==="start"?C=D:G[1]==="end"?C=D+H-x:C=D+H/2-x/2,I.top=C<0?0:C;break}}}return{bestPlacement:J.join("-"),bestInsetRect:I}},p=()=>{const M=i.visible,F=i.autoFit;if(!dt||M===!1)return;if(i.reference){const x=y(),ee=Rn(x);e.value=ee.x,u.value=ee.y,h.value=x.offsetWidth,d.value=x.offsetHeight}else i.referenceInset&&(e.value=i.referenceInset.left,u.value=i.referenceInset.top,h.value=i.referenceInset.right-i.referenceInset.left,d.value=i.referenceInset.bottom-i.referenceInset.top);const D=S.value.offsetWidth,X=S.value.offsetHeight,{bestPlacement:H,bestInsetRect:W}=g(i.placement,e.value,u.value,h.value,d.value,D,X,F);m.value=H,c.value=W},v=(0,l.ref)(0),f=Qe(()=>{p()},10),A=(0,l.ref)(i.visible);(0,l.watch)([()=>i.visible],([M])=>{A.value=M,M?(T.value=M,setTimeout(()=>{p(),E.value=!0},0)):E.value=!1});const V=(0,l.computed)(()=>A.value&&_.value),_=(0,l.ref)(!0),K=Qe(M=>{const F=M[0];F&&(_.value=F.isIntersecting)},10),j=new IntersectionObserver(K);(0,l.watch)([()=>i.reference,()=>i.referenceInset],([M,F],[D,X])=>{!M&&!F||(setTimeout(()=>{p()},0),i.autoFit&&(D&&(Xt.unwatch(D,f),j.unobserve(D)),M&&(Xt.watch(M,f),j.observe(M))))},{immediate:!0}),(0,l.onBeforeUnmount)(()=>{i.reference&&(Xt.unwatch(i.reference,f),j.unobserve(i.reference),j.disconnect())});const q=(0,l.computed)(()=>{const M={[t]:!0};return m.value.startsWith("top")?M["is-top"]=!0:m.value.startsWith("right")?M["is-right"]=!0:m.value.startsWith("bottom")?M["is-bottom"]=!0:m.value.startsWith("left")&&(M["is-left"]=!0),M[`is-${i.effect}`]=!0,!E.value&&V.value&&(M["is-opacity"]=!0),E.value&&V.value&&(M["is-show"]=!0),V.value||(M["is-hide"]=!0),i.customClass&&typeof i.customClass=="string"&&(M[`${i.customClass}`]=!0),M}),k=(0,l.computed)(()=>{const M={};return c.value.top!==null&&(M.top=`${c.value.top}px`),c.value.right!==null&&(M.right=`${c.value.right}px`),c.value.bottom!==null&&(M.bottom=`${c.value.bottom}px`),c.value.left!==null&&(M.left=`${c.value.left}px`),i.width&&(M.width=i.width),i.zIndex&&(M["z-index"]=`${i.zIndex}`),i.customStyle&&typeof i.customStyle=="object"&&Object.assign(M,i.customStyle),M}),R=()=>{A.value=!1,o("update:visible",!1)},z=()=>i.showOverlay?(0,l.h)("div",{class:`${t}__overlay`,onClick:R}):null,N=()=>{let M=null;return r.title?M=(0,l.h)("div",{class:`${t}__title`},{default:r.title}):i.title&&(M=(0,l.h)("div",{class:`${t}__title`},[i.title])),M},L=(0,l.computed)(()=>({[`${t}__arrow`]:!0})),$=(0,l.computed)(()=>{const M={};return i.showArrow?(M.width=`${i.arrowSize}px`,M.height=`${i.arrowSize}px`,m.value==="top"?(M.left="50%",M.bottom="0",M.transform="translate(-50%, 50%)"):m.value==="top-start"?(M.left=`${i.arrowOffset+v.value}px`,M.bottom="0",M.transform="translate(-50%, 50%)"):m.value==="top-end"?(M.right=`${i.arrowOffset-v.value}px`,M.bottom="0",M.transform="translate(-50%, 50%)"):m.value==="right"?(M.left="0",M.top="50%",M.transform="translate(-50%, -50%)"):m.value==="right-start"?(M.left="0",M.top=`${i.arrowOffset}px`,M.transform="translate(-50%, 50%)"):m.value==="right-end"?(M.left="0",M.bottom=`-${i.arrowOffset}px`,M.transform="translate(-50%, 50%)"):m.value==="bottom"?(M.left="50%",M.top="0",M.transform="translate(-50%, -50%)"):m.value==="bottom-start"?(M.left=`${i.arrowOffset+v.value}px`,M.top="0",M.transform="translate(-50%, -50%)"):m.value==="bottom-end"?(M.right=`${i.arrowOffset-v.value}px`,M.top="0",M.transform="translate(-50%, -50%)"):m.value==="left"?(M.right="0",M.top="50%",M.transform="translate(50%, -50%)"):m.value==="left-start"?(M.right="0",M.top=`${i.arrowOffset}px`,M.transform="translate(50%, -50%)"):m.value==="left-end"&&(M.right="0",M.bottom=`-${i.arrowOffset}px`,M.transform="translate(50%, -50%)"),M):{display:"none"}}),U=()=>(0,l.h)("div",{class:L.value,style:$.value}),Y=()=>{A.value===!1&&(T.value=!1)},Z=M=>{if(!S.value||A.value===!1)return;const{relatedTarget:F}=M;S.value.contains(F)||(A.value=!1,o("update:visible",!1))};return s({doLayout:p}),()=>{if(!T.value)return null;const M=[],F=z();F&&M.push(F);const D=[],X=N();if(X&&D.push(X),r.default){const ee=r.default();D.push(ee)}const H=U();H&&D.push(H);const W={ref:S,class:q.value,style:k.value,onAnimationend:Y};i.leaveHide&&(W.onMouseleave=Z);const x=(0,l.h)("div",W,{default:()=>D});return M.push(x),(0,l.h)(l.Teleport,{to:i.teleport,disabled:i.teleportDisable},{default:()=>M})}}}}var{componentName:Fc,create:Oc,scope:Hc}=ce("popover-dialog"),qc=Oc(Rc(Fc,Hc,!1)),Ol=qc,jc={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}};function Kc(t,a,n){return{props:{...qn,...jc},emits:["click"],setup(i,{slots:o,attrs:r}){const{toLocaleRefs:s}=(0,Ne.useFoxI18n)(a),c=s(i,["moreText"]),e=t,u=(0,l.computed)(()=>({[e]:!0}));function h(A){return A.props||{}}function d(A){return!!h(A).disabled}function m(A){return A.children??[]}const T=(0,l.ref)(),E=(0,l.computed)(()=>T.value?.$el??null),S=(0,l.ref)(!1),y=A=>{S.value=A},g=()=>{S.value=!S.value};function p(A,V){return()=>{V||(S.value=!1,h(A)?.onClick?.())}}function v(A,V){const _=m(A),K=d(A),j=p(A,K),q=[`${e}__dropdown-item`];return K&&q.push("is-disabled"),(0,l.h)("span",{class:q,onClick:j},_)}const f=A=>{const V=i.maxDisplayCount??A.length;if(V>=A.length)return A;const _=[],K=V-1;for(let z=0;z<K;z++)_.push(A[z]);const j=(o.moreIcon&&o.moreIcon())??(i.moreIcon&&(0,l.h)(i.moreIcon))??(0,l.h)(n),q=(0,l.h)(Tt,{ref:z=>T.value=z,class:`${e}__dropdown-link`,"text-position":"left","show-overflow-tooltip":!1,type:i.type,onClick:g},{default:()=>c.moreText.value,mark:()=>j});_.push(q);const k=[];for(let z=K;z<A.length;z++){const N=v(A[z],z);k.push(N)}const R=(0,l.h)(Ol,{placement:i.dropdownPlacement,"onUpdate:visible":y,visible:S.value,reference:E.value,"custom-class":`${e}__popover`},{default:()=>k});return _.push(R),_};return()=>{const{getChildren:A}=Pl(o?.default),V=f(A()),_=tt(i,qn);return Object.assign(_,r??{}),_.class=u.value,(0,l.h)(Fl,_,{default:()=>V})}}}}var{componentName:Wc,create:Yc,scope:Uc}=ce("buttons-item"),Gc=Yc(Kc(Wc,Uc,Be.ArrowDown)),jn=Gc;function Pe(t,a={}){return(0,l.h)(Qt,t,a)}function Xc(t,a,n,i,o){let r=[];Array.isArray(t)?r=t:r=[t];const s=[],c=a[0];if(Array.isArray(t)&&!Array.isArray(c)&&!c[o]){let e=a;for(let u=0;e&&u<r.length;u++){let h=r[u],d=e.find(m=>m[i]===h);if(!d)break;s.push(d[n])}return s}if(Array.isArray(c))for(let e=0;e<a.length&&e<r.length;e++){let u=a[e],h=r[e];const d=u.find(m=>m[i]===h);if(!d)break;s.push(d[n])}else{let e=a;for(let u=0;e&&u<r.length;u++){let h=r[u],d=e.find(m=>m[i]===h);if(!d)break;s.push(d[n]),e=d[o]}}return s}var Qc=class{scope;constructor(t){this.scope=t}async load(t,a,n){if(!a)return[];if(Array.isArray(a))return a;if(typeof a=="function")return await a(n);const i=Fe(t,this.scope);return i===null?(console.error(`[FoxUI]${t} component not found api function`),[]):(Ye(n)&&(0,l.isReactive)(n)&&(n=(0,l.toRaw)(n)),await i(a,n))}};function Zc(){return new Qc(Ze())}var Wr={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],required:!1},separator:{type:[String],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}};function Jc(t,a){return{props:Wr,setup(n,{attrs:i,slots:o}){const r=Zc(),s=(0,l.ref)([]);(0,l.watch)([()=>n.source,()=>n.params],async([e,u])=>{s.value=await r.load(n.sourceType,e,u)},{immediate:!0});const c=(0,l.computed)(()=>{if(!Array.isArray(s.value)||s.value.length===0)return n.emptyText;let e=Xc(n.modelValue,s.value,n.textKey,n.valueKey,n.childrenKey);return e.length==0?n.emptyText??"":e.length===1?n.optionType=="item"?`${n.modelValue}${n.separator}${e[0]}`:e[0]:e.join(n.separator)});return()=>{const e={...i};if(o.default)return o.default({text:c.value,value:n.modelValue});const u=n.tag??"span";return typeof u=="object"?(0,l.h)(u,e,{default:()=>c.value}):(0,l.h)(u,e,[c.value])}}}}var{componentName:e1,create:t1,scope:l1}=ce("mapping"),n1=t1(Jc(e1,l1)),$t=n1;function qe(t,a,n,i){const o="fox-browse-item";let r=null;n?r=(0,l.h)($t,{class:[`${o}__mapping`],source:n,modelValue:t,separator:i},{default:c=>(0,l.h)(Tt,{class:[`${o}__text`]},{default:()=>c.text})}):r=(0,l.h)(Tt,{class:[`${o}__text`]},{default:()=>t});const s={label:a.default,default:()=>r};return(0,l.h)(Qt,{class:[o]},s)}var et=(t={})=>{if(!t)return{};const a={};return Reflect.ownKeys(t).forEach(n=>{typeof n=="string"&&n.indexOf("data-fox")!==0&&(a[n]=t[n])}),a},Yr={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]}},a1={...ze,...$e,...Yr};function r1(t,a,n,i){return{props:a1,emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(o,r){const{itemTemplateRef:s,innerDisabled:c,disabled:e,innerReadonly:u,readonly:h,browse:d}=Ie(o),{emitEvent:m,exposeApi:T}=Te({componentName:t,get readonly(){return h.value},get disabled(){return e.value},get props(){return o},context:r,get templateRefProxy(){return s.value}},o.prop??r.attrs.name),{toLocaleRefs:E}=(0,Ne.useFoxI18n)(a),S=E(o,["placeholder"]),y=(0,l.ref)(!1),g=ve(o,"modelValue",null,m),p=t,v=(0,l.computed)(()=>({[p]:!0,[`${p}__disabled`]:e.value,[`${p}__readonly`]:h.value})),f=Z=>{g.value=Z,m("update:modelValue",Z),m("input",Z)},A=Z=>{m("change",Z)};let V=ve(o,"hintText"),_=(0,l.ref)(!1);const K=Z=>{let M=Z.target.value;y.value=!0,ge(V.value)||(_.value=!0),m("focus",M,Z)},j=Z=>{setTimeout(()=>{_.value&&(_.value=!1),y.value=!1},0);let M=Z.target.value;o.maxLength&&M.length>Number(o.maxLength)&&(M=M.slice(0,Number(o.maxLength))),m("blur",M,Z)},q=()=>{m("clear","")},k=(0,l.ref)(!1);let R=null;const z=()=>{o.showTooltip&&k.value===!1&&(R&&clearTimeout(R),R=setTimeout(()=>{k.value=!0},150))},N=()=>{R&&(clearTimeout(R),k.value=!1,R=null)},L=(0,l.computed)(()=>k.value||_.value),$=(0,l.computed)(()=>k.value?g.value:V.value),U=(0,l.computed)(()=>ft(o.unit)>0),Y=(0,l.ref)();return T({focus:()=>{Y?.value.focus()},blur:()=>{Y?.value.blur()},select:()=>{Y?.value.select()},setDisabled:Z=>{c.value=Z},setReadonly:Z=>{u.value=Z}}),()=>{if(d.value==="on"&&(h.value||e.value))return i(g.value,r.slots);const Z={...et(r.attrs),ref:Y,class:v.value,placeholder:S.placeholder.value,clearable:o.clearable,disabled:e.value,readonly:h.value,modelValue:g.value,"adjust-position":o.adjustPosition,"always-system":o.alwaysSystem,onClear:q,onChange:A,onInput:f,onFocus:K,onBlur:j,onMouseover:z,onMouseleave:N},M={};r.slots.prepend&&(M.prepend=r.slots.prepend),r.slots.append&&(M.append=r.slots.append),r.slots.prefix&&(M.prefix=r.slots.prefix),r.slots.suffix?M.suffix=r.slots.suffix:U.value&&(M.suffix=()=>[o.unit]);const F=[],D=(0,l.h)(B.ElInput,Z,M);F.push(D);const X={default:()=>F};X.label=r.slots.default,X.fixedPreTip=r.slots.fixedPreTip,X.fixedTip=r.slots.fixedTip;const H={...Ae(o,Yr),ref:s,hintText:$.value,hintVisible:L.value};return o.prop&&(H.prop=`${o.prop}_item`),n(H,X)}}}}var{componentName:o1,create:i1,scope:s1}=ce("input-item"),c1=i1(r1(o1,s1,Pe,qe)),Kn=c1;function yt(t,a){return typeof t.textKey=="string"&&t.textKey.length>0?a[t.textKey]:a.text}function Zt(t,a){return typeof t.valueKey=="string"&&t.valueKey.length>0?a[t.valueKey]:a.value}function Ur(t,a){return typeof t.childrenKey=="string"&&t.childrenKey.length>0?a[t.childrenKey]||null:a.children??null}function u1(t,a){return typeof t.disabledKey=="string"&&t.disabledKey.length>0?a[t.disabledKey]:a.disabled??null}var d1=class{scope;constructor(t){this.scope=t}async load(t,a,n){if(!a)return[];if(Array.isArray(a))return a;if(typeof a=="function")return await a(n);const i=Fe(t,this.scope);return i===null?(console.error(`[FoxUI]${t} component not found api function`),[]):(Ye(n)&&(0,l.isReactive)(n)&&(n=(0,l.toRaw)(n)),await i(a,n))}};function f1(){return new d1(Ze())}function Gr(t,a,n){return!(yt(t,a)!==yt(t,n)||Zt(t,a)!==Zt(t,n))}function Xr(t,a,n,i){if(i.length===0||a===""||a===null||a===void 0)return null;Array.isArray(a)||(a=[a]);const o=[];return a.forEach(r=>{for(let s of i){const c=Ur(t,s);if(Array.isArray(c)&&c.length>0){const e=Xr(t,r,n,c)??[];Reflect.apply([].push,o,e)}else{let e=!1;if(n==="text")e=yt(t,s)===r;else if(n==="item")e=Gr(t,s,r);else{let u=Zt(t,s);u==null&&(u=yt(t,s)),e=u===r}if(e){o.push(s);break}}}}),o}function m1(t){return{text:t,value:t}}var Qr={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}},h1={...ze,...$e,...Qr};function p1(t,a,n,i){return{props:h1,emits:["change","update:modelValue","update:text","blur","focus","clear","visible-change","remove-tag","selected","setValue"],setup(o,r){const{itemTemplateRef:s,innerDisabled:c,disabled:e,innerReadonly:u,readonly:h,browse:d}=Ie(o),{emitEvent:m,exposeApi:T}=Te({componentName:t,validateCheckEvents:["blur","update:modelValue","selected"],get readonly(){return h.value},get disabled(){return e.value},get props(){return o},context:r,get templateRefProxy(){return s.value}},o.prop??r.attrs.name),{toLocaleRefs:E}=(0,Ne.useFoxI18n)(a),S=E(o,["placeholder"]),y=(0,l.ref)(null),g=(0,l.ref)([]),p=(0,l.computed)(()=>g.value?g.value.map(b=>yt(o,b)).join(" "):""),v=(b,C,O,te=!0)=>{if(!O||O.length==0){y.value=b,te&&(m("update:modelValue",b),m("change",b));return}const re=Xr(o,b,C,O);if(re===null){if(g.value===null||g.value.length===0)return;y.value=null,g.value=[],te&&(m("update:modelValue",null),m("update:text",null),m("change",null));return}let se=!0;if(re.length!==g.value.length)se=!1;else for(let ue=0;ue<re.length;ue++){const pe=re[ue],be=g.value[ue];if(!Gr(o,pe,be)){se=!1;break}}if(!se){g.value=re;let ue=[],pe=[],be=[];re.forEach(rt=>{const cl=Zt(o,rt),an=yt(o,rt);ue.push(cl),be.push(an),o.valueType==="text"?pe.push(an):o.valueType==="item"?pe.push(rt):pe.push(cl)});let xe,Le,Ge;he(o.multiple)?(y.value=ue,xe=(0,l.toRaw)(pe),Le=be,Ge=(0,l.toRaw)(re)):(y.value=ue[0]??"",xe=(0,l.toRaw)(pe[0]??""),Le=be[0]??"",Ge=(0,l.toRaw)(re[0])),te&&(m("update:modelValue",xe),m("change",xe,Ge)),m("update:text",Le)}},f=(0,l.ref)(null),A=(0,l.ref)(null),V=(0,l.computed)(()=>{let b=A.value??f.value??[];return Array.isArray(b)&&typeof o.sourceFilter=="function"&&(b=b.filter(o.sourceFilter)),b}),_=Ve((0,l.computed)(()=>o.appearLoad),"appearLoad",He.Near,b=>he(b)),K=f1(),j=async(b,C)=>{if(b){const O=await K.load("select",b,C);O.length>0?typeof O[0]=="string"?f.value=O.map(te=>m1(te)):f.value=O:f.value=null}};(0,l.watch)([()=>o.source,()=>o.params],([b,C])=>{A.value=null,j(b,C)},{immediate:!_.value});let q=!1;const k=()=>{q||(q=!0,j(o.source,o.params))};(0,l.watch)([()=>f.value,()=>o.modelValue],([b,C])=>{if(L()&&he(o.multiple)){Xe(C,y.value)||(y.value=C);return}v(C,o.valueType,V.value,!1),m("setValue",C)}),o.source||(y.value=o.modelValue);let R=null,z=(0,l.ref)(!1);typeof o.remoteMethod=="function"&&(R=async b=>{if(b==null){A.value=null;return}z.value=!0;try{const C=await o.remoteMethod(b);C&&(A.value=C)}catch(C){A.value=null,console.error(C)}z.value=!1});let N=null;typeof o.filterMethod=="function"&&(N=async b=>{if(b==null){A.value=null;return}z.value=!0;try{const C=await o.filterMethod(b,f.value);C&&(A.value=C)}catch(C){A.value=null,console.error(C)}z.value=!1});const L=()=>typeof o.remoteMethod=="function"||typeof o.filterMethod=="function",$=(0,l.ref)(!1),U=t,Y=(0,l.computed)(()=>({[U]:!0})),Z=b=>{o.allowCreate||L()&&he(o.multiple)?(m("update:modelValue",b),m("change",b),m("update:text",b),y.value=b):v(b,"value",V.value,!0)};let M=ve(o,"hintText"),F=(0,l.ref)(!1);const D=b=>{let C=b.target.value;$.value=!0,ge(M.value)||(F.value=!0),m("focus",C,b)},X=b=>{setTimeout(()=>{F.value&&(F.value=!1),$.value=!1},0);const C=b.target.value;le.value||m("blur",C,b)},H=()=>{m("clear","")},W=(0,l.ref)(!1);let x=null;const ee=()=>{o.showTooltip&&W.value===!1&&(x&&clearTimeout(x),x=setTimeout(()=>{W.value=!0},150))},ne=()=>{x&&(clearTimeout(x),W.value=!1,x=null)},ae=(0,l.computed)(()=>W.value||F.value),G=(0,l.computed)(()=>W.value?p.value:M.value),le=(0,l.ref)(!1),I=b=>{le.value=b,m("visible-change",b),b||m("selected")},J=b=>{m("remove-tag",b)},Q=(b,C)=>{const O=[];return b.forEach((te,re)=>{const se=Ur(o,te);if(Array.isArray(se)&&se.length>0){const ue=Q(se,C),pe=yt(o,te),be={key:`${pe}_${re}`,label:pe};O.push((0,l.h)(B.ElOptionGroup,be,{default:()=>ue}))}else{const ue=Zt(o,te),pe=yt(o,te),be=u1(o,te),xe={key:`${ue}_${re}`,label:pe,disabled:be,value:ue};if(typeof C=="function")O.push((0,l.h)(B.ElOption,xe,{default:()=>C(te)}));else if(o.optionType==="item"){const Le=(0,l.h)("div",{class:{"fox-select-item__option":!0}},[(0,l.h)("span",{class:{"fox-select-item__option-left":!0}},[ue]),(0,l.h)("span",{class:{"fox-select-item__option-right":!0}},[pe])]);O.push((0,l.h)(B.ElOption,xe,{default:()=>Le}))}else o.optionType==="value"?O.push((0,l.h)(B.ElOption,xe,{default:()=>[ue]})):O.push((0,l.h)(B.ElOption,xe))}}),O},P=(0,l.ref)();return T({focus:()=>{P?.value.focus()},blur:()=>{P?.value.blur()},setDisabled:b=>{c.value=b},setReadonly:b=>{u.value=b}}),()=>{if(d.value==="on"&&(h.value||e.value))return i(y.value,r.slots,V.value);const b={...et(r.attrs),ref:P,class:Y.value,clearable:o.clearable,multiple:o.multiple,placeholder:S.placeholder.value,disabled:e.value||h.value,modelValue:y.value,"value-key":o.valueKey,"allow-create":o.allowCreate,onClear:H,onChange:Z,onFocus:D,onBlur:X,onVisibleChange:I,onRemoveTag:J};typeof R=="function"&&(b["remote-method"]=R,b.loading=z.value),typeof N=="function"&&(b["filter-method"]=N,b.loading=z.value);const C={};r.slots.prefix&&(C.prefix=r.slots.prefix),r.slots.empty&&(C.empty=r.slots.empty),r.slots.options?C.default=r.slots.options:C.default=()=>Q(V.value,r.slots.option);const O=[],te=(0,l.h)(B.ElSelect,b,C);O.push(te);const re={default:()=>O};re.label=r.slots.default,re.fixedPreTip=r.slots.fixedPreTip,re.fixedTip=r.slots.fixedTip;const se={...Ae(o,Qr),ref:s,hintText:G.value,hintVisible:ae.value,onMouseover:ee,onMouseleave:ne};return o.prop&&(se.prop=`${o.prop}_item`),_.value&&(se["appear-listen"]=!0,se.onAppear=k),n(se,re)}}}}var{componentName:g1,create:y1,scope:b1}=ce("select-item"),S1=y1(p1(g1,b1,Pe,qe)),Wn=S1,w1=ot(((t,a)=>{(function(n,i){typeof t=="object"&&typeof a<"u"?a.exports=i():typeof define=="function"&&define.amd?define(i):(n=typeof globalThis<"u"?globalThis:n||self).dayjs=i()})(t,(function(){"use strict";var n=1e3,i=6e4,o=36e5,r="millisecond",s="second",c="minute",e="hour",u="day",h="week",d="month",m="quarter",T="year",E="date",S="Invalid Date",y=/^(\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,p={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(N){var L=["th","st","nd","rd"],$=N%100;return"["+N+(L[($-20)%10]||L[$]||L[0])+"]"}},v=function(N,L,$){var U=String(N);return!U||U.length>=L?N:""+Array(L+1-U.length).join($)+N},f={s:v,z:function(N){var L=-N.utcOffset(),$=Math.abs(L),U=Math.floor($/60),Y=$%60;return(L<=0?"+":"-")+v(U,2,"0")+":"+v(Y,2,"0")},m:function N(L,$){if(L.date()<$.date())return-N($,L);var U=12*($.year()-L.year())+($.month()-L.month()),Y=L.clone().add(U,d),Z=$-Y<0,M=L.clone().add(U+(Z?-1:1),d);return+(-(U+($-Y)/(Z?Y-M:M-Y))||0)},a:function(N){return N<0?Math.ceil(N)||0:Math.floor(N)},p:function(N){return{M:d,y:T,w:h,d:u,D:E,h:e,m:c,s,ms:r,Q:m}[N]||String(N||"").toLowerCase().replace(/s$/,"")},u:function(N){return N===void 0}},A="en",V={};V[A]=p;var _="$isDayjsObject",K=function(N){return N instanceof R||!(!N||!N[_])},j=function N(L,$,U){var Y;if(!L)return A;if(typeof L=="string"){var Z=L.toLowerCase();V[Z]&&(Y=Z),$&&(V[Z]=$,Y=Z);var M=L.split("-");if(!Y&&M.length>1)return N(M[0])}else{var F=L.name;V[F]=L,Y=F}return!U&&Y&&(A=Y),Y||!U&&A},q=function(N,L){if(K(N))return N.clone();var $=typeof L=="object"?L:{};return $.date=N,$.args=arguments,new R($)},k=f;k.l=j,k.i=K,k.w=function(N,L){return q(N,{locale:L.$L,utc:L.$u,x:L.$x,$offset:L.$offset})};var R=(function(){function N($){this.$L=j($.locale,null,!0),this.parse($),this.$x=this.$x||$.x||{},this[_]=!0}var L=N.prototype;return L.parse=function($){this.$d=(function(U){var Y=U.date,Z=U.utc;if(Y===null)return new Date(NaN);if(k.u(Y))return new Date;if(Y instanceof Date)return new Date(Y);if(typeof Y=="string"&&!/Z$/i.test(Y)){var M=Y.match(y);if(M){var F=M[2]-1||0,D=(M[7]||"0").substring(0,3);return Z?new Date(Date.UTC(M[1],F,M[3]||1,M[4]||0,M[5]||0,M[6]||0,D)):new Date(M[1],F,M[3]||1,M[4]||0,M[5]||0,M[6]||0,D)}}return new Date(Y)})($),this.init()},L.init=function(){var $=this.$d;this.$y=$.getFullYear(),this.$M=$.getMonth(),this.$D=$.getDate(),this.$W=$.getDay(),this.$H=$.getHours(),this.$m=$.getMinutes(),this.$s=$.getSeconds(),this.$ms=$.getMilliseconds()},L.$utils=function(){return k},L.isValid=function(){return this.$d.toString()!==S},L.isSame=function($,U){var Y=q($);return this.startOf(U)<=Y&&Y<=this.endOf(U)},L.isAfter=function($,U){return q($)<this.startOf(U)},L.isBefore=function($,U){return this.endOf(U)<q($)},L.$g=function($,U,Y){return k.u($)?this[U]:this.set(Y,$)},L.unix=function(){return Math.floor(this.valueOf()/1e3)},L.valueOf=function(){return this.$d.getTime()},L.startOf=function($,U){var Y=this,Z=!!k.u(U)||U,M=k.p($),F=function(ae,G){var le=k.w(Y.$u?Date.UTC(Y.$y,G,ae):new Date(Y.$y,G,ae),Y);return Z?le:le.endOf(u)},D=function(ae,G){return k.w(Y.toDate()[ae].apply(Y.toDate("s"),(Z?[0,0,0,0]:[23,59,59,999]).slice(G)),Y)},X=this.$W,H=this.$M,W=this.$D,x="set"+(this.$u?"UTC":"");switch(M){case T:return Z?F(1,0):F(31,11);case d:return Z?F(1,H):F(0,H+1);case h:var ee=this.$locale().weekStart||0,ne=(X<ee?X+7:X)-ee;return F(Z?W-ne:W+(6-ne),H);case u:case E:return D(x+"Hours",0);case e:return D(x+"Minutes",1);case c:return D(x+"Seconds",2);case s:return D(x+"Milliseconds",3);default:return this.clone()}},L.endOf=function($){return this.startOf($,!1)},L.$set=function($,U){var Y,Z=k.p($),M="set"+(this.$u?"UTC":""),F=(Y={},Y[u]=M+"Date",Y[E]=M+"Date",Y[d]=M+"Month",Y[T]=M+"FullYear",Y[e]=M+"Hours",Y[c]=M+"Minutes",Y[s]=M+"Seconds",Y[r]=M+"Milliseconds",Y)[Z],D=Z===u?this.$D+(U-this.$W):U;if(Z===d||Z===T){var X=this.clone().set(E,1);X.$d[F](D),X.init(),this.$d=X.set(E,Math.min(this.$D,X.daysInMonth())).$d}else F&&this.$d[F](D);return this.init(),this},L.set=function($,U){return this.clone().$set($,U)},L.get=function($){return this[k.p($)]()},L.add=function($,U){var Y,Z=this;$=Number($);var M=k.p(U),F=function(H){var W=q(Z);return k.w(W.date(W.date()+Math.round(H*$)),Z)};if(M===d)return this.set(d,this.$M+$);if(M===T)return this.set(T,this.$y+$);if(M===u)return F(1);if(M===h)return F(7);var D=(Y={},Y[c]=i,Y[e]=o,Y[s]=n,Y)[M]||1,X=this.$d.getTime()+$*D;return k.w(X,this)},L.subtract=function($,U){return this.add(-1*$,U)},L.format=function($){var U=this,Y=this.$locale();if(!this.isValid())return Y.invalidDate||S;var Z=$||"YYYY-MM-DDTHH:mm:ssZ",M=k.z(this),F=this.$H,D=this.$m,X=this.$M,H=Y.weekdays,W=Y.months,x=Y.meridiem,ee=function(G,le,I,J){return G&&(G[le]||G(U,Z))||I[le].slice(0,J)},ne=function(G){return k.s(F%12||12,G,"0")},ae=x||function(G,le,I){var J=G<12?"AM":"PM";return I?J.toLowerCase():J};return Z.replace(g,(function(G,le){return le||(function(I){switch(I){case"YY":return String(U.$y).slice(-2);case"YYYY":return k.s(U.$y,4,"0");case"M":return X+1;case"MM":return k.s(X+1,2,"0");case"MMM":return ee(Y.monthsShort,X,W,3);case"MMMM":return ee(W,X);case"D":return U.$D;case"DD":return k.s(U.$D,2,"0");case"d":return String(U.$W);case"dd":return ee(Y.weekdaysMin,U.$W,H,2);case"ddd":return ee(Y.weekdaysShort,U.$W,H,3);case"dddd":return H[U.$W];case"H":return String(F);case"HH":return k.s(F,2,"0");case"h":return ne(1);case"hh":return ne(2);case"a":return ae(F,D,!0);case"A":return ae(F,D,!1);case"m":return String(D);case"mm":return k.s(D,2,"0");case"s":return String(U.$s);case"ss":return k.s(U.$s,2,"0");case"SSS":return k.s(U.$ms,3,"0");case"Z":return M}return null})(G)||M.replace(":","")}))},L.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},L.diff=function($,U,Y){var Z,M=this,F=k.p(U),D=q($),X=(D.utcOffset()-this.utcOffset())*i,H=this-D,W=function(){return k.m(M,D)};switch(F){case T:Z=W()/12;break;case d:Z=W();break;case m:Z=W()/3;break;case h:Z=(H-X)/6048e5;break;case u:Z=(H-X)/864e5;break;case e:Z=H/o;break;case c:Z=H/i;break;case s:Z=H/n;break;default:Z=H}return Y?Z:k.a(Z)},L.daysInMonth=function(){return this.endOf(d).$D},L.$locale=function(){return V[this.$L]},L.locale=function($,U){if(!$)return this.$L;var Y=this.clone(),Z=j($,U,!0);return Z&&(Y.$L=Z),Y},L.clone=function(){return k.w(this.$d,this)},L.toDate=function(){return new Date(this.valueOf())},L.toJSON=function(){return this.isValid()?this.toISOString():null},L.toISOString=function(){return this.$d.toISOString()},L.toString=function(){return this.$d.toUTCString()},N})(),z=R.prototype;return q.prototype=z,[["$ms",r],["$s",s],["$m",c],["$H",e],["$W",u],["$M",d],["$y",T],["$D",E]].forEach((function(N){z[N[1]]=function(L){return this.$g(L,N[0],N[1])}})),q.extend=function(N,L){return N.$i||(N(L,R,q),N.$i=!0),q},q.locale=j,q.isDayjs=K,q.unix=function(N){return q(1e3*N)},q.en=V[A],q.Ls=V,q.p={},q}))})),v1=ot(((t,a)=>{(function(n,i){typeof t=="object"&&typeof a<"u"?a.exports=i():typeof define=="function"&&define.amd?define(i):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_customParseFormat=i()})(t,(function(){"use strict";var n={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,o=/\d/,r=/\d\d/,s=/\d\d?/,c=/\d*[^-_:/,()\s\d]+/,e={},u=function(y){return(y=+y)+(y>68?1900:2e3)},h=function(y){return function(g){this[y]=+g}},d=[/[+-]\d\d:?(\d\d)?|Z/,function(y){(this.zone||(this.zone={})).offset=(function(g){if(!g||g==="Z")return 0;var p=g.match(/([+-]|\d\d)/g),v=60*p[1]+(+p[2]||0);return v===0?0:p[0]==="+"?-v:v})(y)}],m=function(y){var g=e[y];return g&&(g.indexOf?g:g.s.concat(g.f))},T=function(y,g){var p,v=e.meridiem;if(v){for(var f=1;f<=24;f+=1)if(y.indexOf(v(f,0,g))>-1){p=f>12;break}}else p=y===(g?"pm":"PM");return p},E={A:[c,function(y){this.afternoon=T(y,!1)}],a:[c,function(y){this.afternoon=T(y,!0)}],Q:[o,function(y){this.month=3*(y-1)+1}],S:[o,function(y){this.milliseconds=100*+y}],SS:[r,function(y){this.milliseconds=10*+y}],SSS:[/\d{3}/,function(y){this.milliseconds=+y}],s:[s,h("seconds")],ss:[s,h("seconds")],m:[s,h("minutes")],mm:[s,h("minutes")],H:[s,h("hours")],h:[s,h("hours")],HH:[s,h("hours")],hh:[s,h("hours")],D:[s,h("day")],DD:[r,h("day")],Do:[c,function(y){var g=e.ordinal;if(this.day=y.match(/\d+/)[0],g)for(var p=1;p<=31;p+=1)g(p).replace(/\[|\]/g,"")===y&&(this.day=p)}],w:[s,h("week")],ww:[r,h("week")],M:[s,h("month")],MM:[r,h("month")],MMM:[c,function(y){var g=m("months"),p=(m("monthsShort")||g.map((function(v){return v.slice(0,3)}))).indexOf(y)+1;if(p<1)throw new Error;this.month=p%12||p}],MMMM:[c,function(y){var g=m("months").indexOf(y)+1;if(g<1)throw new Error;this.month=g%12||g}],Y:[/[+-]?\d+/,h("year")],YY:[r,function(y){this.year=u(y)}],YYYY:[/\d{4}/,h("year")],Z:d,ZZ:d};function S(y){for(var g=y,p=e&&e.formats,v=(y=g.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(q,k,R){var z=R&&R.toUpperCase();return k||p[R]||n[R]||p[z].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(N,L,$){return L||$.slice(1)}))}))).match(i),f=v.length,A=0;A<f;A+=1){var V=v[A],_=E[V],K=_&&_[0],j=_&&_[1];v[A]=j?{regex:K,parser:j}:V.replace(/^\[|\]$/g,"")}return function(q){for(var k={},R=0,z=0;R<f;R+=1){var N=v[R];if(typeof N=="string")z+=N.length;else{var L=N.regex,$=N.parser,U=q.slice(z),Y=L.exec(U)[0];$.call(k,Y),q=q.replace(Y,"")}}return(function(Z){var M=Z.afternoon;if(M!==void 0){var F=Z.hours;M?F<12&&(Z.hours+=12):F===12&&(Z.hours=0),delete Z.afternoon}})(k),k}}return function(y,g,p){p.p.customParseFormat=!0,y&&y.parseTwoDigitYear&&(u=y.parseTwoDigitYear);var v=g.prototype,f=v.parse;v.parse=function(A){var V=A.date,_=A.utc,K=A.args;this.$u=_;var j=K[1];if(typeof j=="string"){var q=K[2]===!0,k=K[3]===!0,R=q||k,z=K[2];k&&(z=K[2]),e=this.$locale(),!q&&z&&(e=p.Ls[z]),this.$d=(function(U,Y,Z,M){try{if(["x","X"].indexOf(Y)>-1)return new Date((Y==="X"?1e3:1)*U);var F=S(Y)(U),D=F.year,X=F.month,H=F.day,W=F.hours,x=F.minutes,ee=F.seconds,ne=F.milliseconds,ae=F.zone,G=F.week,le=new Date,I=H||(D||X?1:le.getDate()),J=D||le.getFullYear(),Q=0;D&&!X||(Q=X>0?X-1:le.getMonth());var P,b=W||0,C=x||0,O=ee||0,te=ne||0;return ae?new Date(Date.UTC(J,Q,I,b,C,O,te+60*ae.offset*1e3)):Z?new Date(Date.UTC(J,Q,I,b,C,O,te)):(P=new Date(J,Q,I,b,C,O,te),G&&(P=M(P).week(G).toDate()),P)}catch{return new Date("")}})(V,j,_,p),this.init(),z&&z!==!0&&(this.$L=this.locale(z).$L),R&&V!=this.format(j)&&(this.$d=new Date("")),e={}}else if(j instanceof Array)for(var N=j.length,L=1;L<=N;L+=1){K[1]=j[L-1];var $=p.apply(this,K);if($.isValid()){this.$d=$.$d,this.$L=$.$L,this.init();break}L===N&&(this.$d=new Date(""))}else f.call(this,A)}}}))})),N1=ot(((t,a)=>{(function(n,i){typeof t=="object"&&typeof a<"u"?a.exports=i():typeof define=="function"&&define.amd?define(i):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_advancedFormat=i()})(t,(function(){"use strict";return function(n,i){var o=i.prototype,r=o.format;o.format=function(s){var c=this,e=this.$locale();if(!this.isValid())return r.bind(this)(s);var u=this.$utils(),h=(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 e.ordinal(c.$D);case"gggg":return c.weekYear();case"GGGG":return c.isoWeekYear();case"wo":return e.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 r.bind(this)(h)}}}))})),C1=ot(((t,a)=>{(function(n,i){typeof t=="object"&&typeof a<"u"?a.exports=i():typeof define=="function"&&define.amd?define(i):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_localeData=i()})(t,(function(){"use strict";return function(n,i,o){var r=i.prototype,s=function(d){return d&&(d.indexOf?d:d.s)},c=function(d,m,T,E,S){var y=d.name?d:d.$locale(),g=s(y[m]),p=s(y[T]),v=g||p.map((function(A){return A.slice(0,E)}));if(!S)return v;var f=y.weekStart;return v.map((function(A,V){return v[(V+(f||0))%7]}))},e=function(){return o.Ls[o.locale()]},u=function(d,m){return d.formats[m]||(function(T){return T.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(E,S,y){return S||y.slice(1)}))})(d.formats[m.toUpperCase()])},h=function(){var d=this;return{months:function(m){return m?m.format("MMMM"):c(d,"months")},monthsShort:function(m){return m?m.format("MMM"):c(d,"monthsShort","months",3)},firstDayOfWeek:function(){return d.$locale().weekStart||0},weekdays:function(m){return m?m.format("dddd"):c(d,"weekdays")},weekdaysMin:function(m){return m?m.format("dd"):c(d,"weekdaysMin","weekdays",2)},weekdaysShort:function(m){return m?m.format("ddd"):c(d,"weekdaysShort","weekdays",3)},longDateFormat:function(m){return u(d.$locale(),m)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return h.bind(this)()},o.localeData=function(){var d=e();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(m){return u(d,m)},meridiem:d.meridiem,ordinal:d.ordinal}},o.months=function(){return c(e(),"months")},o.monthsShort=function(){return c(e(),"monthsShort","months",3)},o.weekdays=function(d){return c(e(),"weekdays",null,null,d)},o.weekdaysShort=function(d){return c(e(),"weekdaysShort","weekdays",3,d)},o.weekdaysMin=function(d){return c(e(),"weekdaysMin","weekdays",2,d)}}}))})),k1=ot(((t,a)=>{(function(n,i){typeof t=="object"&&typeof a<"u"?a.exports=i():typeof define=="function"&&define.amd?define(i):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_weekOfYear=i()})(t,(function(){"use strict";var n="week",i="year";return function(o,r,s){var c=r.prototype;c.week=function(e){if(e===void 0&&(e=null),e!==null)return this.add(7*(e-this.week()),"day");var u=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var h=s(this).startOf(i).add(1,i).date(u),d=s(this).endOf(n);if(h.isBefore(d))return 1}var m=s(this).startOf(i).date(u).startOf(n).subtract(1,"millisecond"),T=this.diff(m,n,!0);return T<0?s(this).startOf("week").week():Math.ceil(T)},c.weeks=function(e){return e===void 0&&(e=null),this.week(e)}}}))})),x1=ot(((t,a)=>{(function(n,i){typeof t=="object"&&typeof a<"u"?a.exports=i():typeof define=="function"&&define.amd?define(i):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_weekYear=i()})(t,(function(){"use strict";return function(n,i){i.prototype.weekYear=function(){var o=this.month(),r=this.week(),s=this.year();return r===1&&o===11?s+1:o===0&&r>=52?s-1:s}}}))})),z1=ot(((t,a)=>{(function(n,i){typeof t=="object"&&typeof a<"u"?a.exports=i():typeof define=="function"&&define.amd?define(i):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_dayOfYear=i()})(t,(function(){"use strict";return function(n,i,o){i.prototype.dayOfYear=function(r){var s=Math.round((o(this).startOf("day")-o(this).startOf("year"))/864e5)+1;return r==null?s:this.add(r-s,"day")}}}))})),E1=ot(((t,a)=>{(function(n,i){typeof t=="object"&&typeof a<"u"?a.exports=i():typeof define=="function"&&define.amd?define(i):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_isSameOrAfter=i()})(t,(function(){"use strict";return function(n,i){i.prototype.isSameOrAfter=function(o,r){return this.isSame(o,r)||this.isAfter(o,r)}}}))})),T1=ot(((t,a)=>{(function(n,i){typeof t=="object"&&typeof a<"u"?a.exports=i():typeof define=="function"&&define.amd?define(i):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_isSameOrBefore=i()})(t,(function(){"use strict";return function(n,i){i.prototype.isSameOrBefore=function(o,r){return this.isSame(o,r)||this.isBefore(o,r)}}}))})),nt=it(w1(),1),$1=it(v1(),1),B1=it(N1(),1),V1=it(C1(),1),D1=it(k1(),1),M1=it(x1(),1),A1=it(z1(),1),I1=it(E1(),1),P1=it(T1(),1);nt.default.extend(V1.default),nt.default.extend(B1.default),nt.default.extend($1.default),nt.default.extend(D1.default),nt.default.extend(M1.default),nt.default.extend(A1.default),nt.default.extend(I1.default),nt.default.extend(P1.default);var je={format(t,a="YYYY-MM-DD"){return(0,nt.default)(t).format(a)},parser(t,a){return(0,nt.default)(t,a).toDate()},getDay(t,a,n){let i=a??new Date;const o=t*(1e3*60*60*24);return i=new Date(i.getTime()+o),n=n??"YYYY-MM-DD",this.format(i,n)},isLeapYear(t){return t%4==0&&t%100!=0||t%400==0},getWhatDay(t,a,n){let i=new Date(t+"/"+a+"/"+n).getDay();return i==0&&(i=7),i},getMonthDays(t,a){return/^0/.test(a)&&(a=a.split("")[1]),[0,31,this.isLeapYear(Number(t))?29:28,31,30,31,30,31,31,30,31,30,31][a]},getNumTwoBit(t){return t=Number(t),(t>9?"":"0")+t},date2Str:function(t,a){return a=a||"-",[t.getFullYear(),this.getNumTwoBit(t.getMonth()+1),this.getNumTwoBit(t.getDate())].join(a)},compare(t,a,n){const i=typeof t=="string"?this.parser(t,n):t,o=typeof a=="string"?this.parser(a,n):a,r=i.getTime(),s=o.getTime();return r==s?0:r>s?1:-1},between(t,a,n,i){let o;i==="year"?o=new Date(new Date(a).setFullYear(a.getFullYear()+n)):i==="month"?o=new Date(new Date(a).setMonth(a.getMonth()+n)):o=new Date(new Date(a).setDate(a.getDate()+n));const r=t.getTime(),s=o.getTime(),c=a.getTime();return s>c?r>=c&&r<=s:r>=s&&r<=c},inScope4Day(t,a,n){return this.between(t,a,n,"day")},inScope4Month(t,a,n){return this.between(t,a,n,"month")},inScope4Year(t,a,n){return this.between(t,a,n,"year")}},Zr={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]}},Jr={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}},L1={...ze,...$e,...Zr,...Jr};function _1(t,a,n,i){return{props:L1,emits:["change","update:modelValue","update:longTerm","blur","focus","clear","visible-change","calendar-change","panel-change","setValue"],setup(o,r){const{itemTemplateRef:s,innerDisabled:c,disabled:e,innerReadonly:u,readonly:h,browse:d}=Ie(o),{emitEvent:m,exposeApi:T}=Te({componentName:t,validateCheckEvents:["blur","update:modelValue"],get readonly(){return h.value},get disabled(){return e.value},get props(){return o},context:r,get templateRefProxy(){return s.value}},o.prop??r.attrs.name),{toLocaleRefs:E}=(0,Ne.useFoxI18n)(a),S=E(o,["placeholder"]),y=(0,l.ref)(!1),g=ve(o,"modelValue",null,m),p=(0,l.computed)(()=>F.value&&Array.isArray(g.value)&&g.value.length==2?g.value[0]:g.value),v=(0,l.computed)(()=>F.value?"longTermKey":"normalKey"),f=P=>{if(F.value&&o.type==="daterange"){const b=[...g.value];b[0]=P,g.value=b}else g.value=P;m("update:modelValue",g.value),m("change",g.value)},A=(0,l.computed)(()=>F.value&&o.type==="daterange"?"date":o.type),V=t,_=(0,l.computed)(()=>({[`${V}`]:!0,"is-long":F.value,"is-readonly":h.value,"is-disabled":e.value}));let K=ve(o,"hintText"),j=(0,l.ref)(!1);const q=P=>{let b=P.target.value;y.value=!0,ge(K.value)||(j.value=!0),m("focus",b,P)},k=P=>{setTimeout(()=>{j.value&&(j.value=!1),y.value=!1},0);let b=P.target.value;o.maxLength&&b.length>Number(o.maxLength)&&(b=b.slice(0,Number(o.maxLength))),m("blur",b,P)},R=()=>{m("clear","")},z=P=>{m("calendar-change",P)},N=(P,b,C)=>{m("panel-change",P,b,C)},L=P=>{m("visible-change",P)},$=Ve((0,l.computed)(()=>o.longTermText),"longTermText",He.Near),U=Ve((0,l.computed)(()=>o.longTermActionLabel),"longTermActionLabel",He.Near),Y=Ve((0,l.computed)(()=>o.longTermValue),"longTermValue",He.Near),Z=Ve((0,l.computed)(()=>o.compatibleLongTermValue),"compatibleLongTermValue",He.Near);let M=null;const F=(0,l.ref)(he(o.longTerm)),D=P=>{if(F.value=P,m("update:longTerm",P),P){if(M=g.value,o.type==="daterange"){const b=[];Array.isArray(Y.value)?(b[0]=g.value?g.value[0]??Y.value[0]:null,b[1]=Y.value[1]??Y.value[0]):(b[0]=g.value?g.value[0]??Y.value:null,b[1]=F.value),b[0]||(b[0]=o.valueFormat?je.format(new Date,o.valueFormat):new Date),b[1]||(b[1]=o.valueFormat?je.format(new Date,o.valueFormat):new Date),g.value=b}else Array.isArray(Y.value)?g.value=Y.value[1]??Y.value[0]:g.value=Y.value,g.value||(g.value=o.valueFormat?je.format(new Date,o.valueFormat):new Date);m("update:modelValue",g.value)}else{if(o.type==="daterange"){const b=[];b[0]=Array.isArray(g.value)?g.value[0]:g.value,Array.isArray(M)?b[1]=M[1]:b[1]=M,b[0]||(b[0]=o.valueFormat?je.format(new Date,o.valueFormat):new Date),b[1]||(b[1]=o.valueFormat?je.format(new Date,o.valueFormat):new Date),g.value=b}else g.value=M;m("update:modelValue",g.value),setTimeout(()=>{I()},100)}},X=he(o.isLongTerm);if(X){const P=()=>{if(F.value===!0){if(M=g.value,o.type==="daterange"){const b=[g.value[0]];Array.isArray(Y.value)?b[1]=Y.value[1]??Y.value[0]:b[1]=F.value,b[0]||(b[0]=o.valueFormat?je.format(new Date,o.valueFormat):new Date),b[1]||(b[1]=o.valueFormat?je.format(new Date,o.valueFormat):new Date),g.value=b}else g.value=Y.value;m("update:modelValue",g.value)}else Xe(Y.value,g.value)&&(F.value=!0)};P(),(0,l.watch)([()=>o.longTerm],([b])=>{F.value!==b&&P()}),(0,l.watch)([()=>g.value],([b])=>{let C=!1;if(o.type==="daterange"&&Array.isArray(b))try{let O=b[1];if(!O)return;if(b[0]==null){m("update:modelValue",[]);return}typeof O!="string"&&o.valueFormat&&(O=je.format(O,o.valueFormat));let te=Array.isArray(Y.value)?Y.value[1]:Y.value;(O===te||Array.isArray(Z.value)&&Z.value.findIndex(re=>O==re)!==-1)&&(C=!0)}catch(O){console.error(O)}F.value!==C&&(F.value=C)},{immediate:!0})}const H=(0,l.computed)(()=>({"fox-date-item__long":!0,"is-active":y.value})),W=(0,l.ref)(),x=/^\d+$/,ee=(P,b)=>typeof o.flashFillThreshold=="function"?o.flashFillThreshold(P,b):x.test(P)&&P.length===o.flashFillThreshold,ne=(P,b)=>{let C;if(typeof o.flashFillFormat=="function")C=o.flashFillFormat(P,b);else{const te=o.flashFillFormat??"YYYYMMDD";C=je.parser(P,te)}const O=o.valueFormat??"YYYY-MM-DD";return je.format(C,O)},ae=P=>P?P.endsWith("range"):!1,G=P=>{if(!P.target)return;const b=P.target.value??"";if(ee(b,o.type)){const C=ne(b,o.type);if(ae(o.type)){const O=Array.isArray(g.value)?[...g.value]:[];O[0]=C,f(O)}else f(C)}},le=P=>{if(!P.target)return;const b=P.target.value??"";if(ee(b,o.type)){const C=ne(b,o.type);if(ae(o.type)){const O=Array.isArray(g.value)?[...g.value]:[];O[1]=C,f(O)}else f(C)}},I=()=>{if(o.flashFill&&s.value&&s.value.$el)if(ae(o.type)){const P=s.value.$el.querySelectorAll("input.el-range-input");P[0]&&P[0].addEventListener("input",G),P[1]&&P[1].addEventListener("input",le)}else{const P=s.value.$el.querySelector("input.el-input__inner");P&&P.addEventListener("input",G)}},J=()=>{if(o.flashFill&&s.value&&s.value.$el)if(ae(o.type)){const P=s.value.$el.querySelectorAll("input.el-range-input");P[0]&&P[0].removeEventListener("input",G),P[1]&&P[1].removeEventListener("input",le)}else{const P=s.value.$el.querySelector("input.el-input__inner");P&&P.removeEventListener("input",G)}};(0,l.onMounted)(I),(0,l.onBeforeUnmount)(J),T({focus:()=>{W?.value.focus()},blur:()=>{W?.value.blur()},handleOpen:()=>{W?.value.handleOpen()},handleClose:()=>{W?.value.handleClose()},setDisabled:P=>{c.value=P},setReadonly:P=>{u.value=P}});const Q=(0,l.computed)(()=>{if(Re(p.value))return"";const P=o.rangeSeparator??" - ",b=Array.isArray(p.value)?p.value:[p.value];X&&F.value&&(b[1]=$.value);const C=[];for(let te=0;te<b.length;te++){const re=b[te];if(typeof re=="string"&&C.push(re),re instanceof Date){const se=je.format(re,o.format);C.push(se)}}const O=` ${P} `;return C.join(O)});return()=>{if(d.value==="on"&&(h.value||e.value))return i(Q.value,r.slots);const P={...r.attrs,key:v.value,type:A.value,ref:W,class:_.value,placeholder:S.placeholder.value,rangeSeparator:o.rangeSeparator,disabled:e.value,readonly:h.value,modelValue:p.value,valueFormat:o.valueFormat,format:o.format,"onUpdate:modelValue":f,onClear:R,onFocus:q,onBlur:k,onCalendarChange:z,onPanelChange:N,onVisibleChange:L},b={};r.slots["range-separator"]&&(b["range-separator"]=r.slots["range-separator"]),r.slots.cell&&(b.default=r.slots.cell);const C=[],O=(0,l.h)(B.ElDatePicker,P,b);C.push(O);const te={default:()=>C};if(te.label=r.slots.default,te.fixedPreTip=r.slots.fixedPreTip,te.fixedTip=r.slots.fixedTip,X){if(F.value){const se=(0,l.h)("span",{class:["fox-date-item__long-splitor"]},["-"]),ue=(0,l.h)("input",{class:["fox-date-item__long-text"],value:$.value,readonly:!0}),pe=(0,l.h)("div",{class:H.value},{default:()=>[se,ue]});C.push(pe)}if(!h.value&&!e.value){const se=(0,l.h)(B.ElCheckbox,{label:U.value||$.value,disabled:h.value||e.value,modelValue:F.value,"onUpdate:modelValue":D}),ue=(0,l.h)("div",{class:{[`${V}__append`]:!0}},[se]);te.append=()=>ue}}const re={...Ae(o,Zr,Jr),ref:s,class:{[`${V}__wrapper`]:!0,"has-append":X},hintText:K.value,hintVisible:j.value};return o.prop&&(re.prop=`${o.prop}_item`),n(re,te)}}}}var{componentName:R1,create:F1,scope:O1}=ce("date-item"),H1=F1(_1(R1,O1,Pe,qe)),Yn=H1,fe={format(t,a="YYYY-MM-DD"){return je.format(t,a)},parser(t,a){return je.parser(t,a)},isLeapYear:function(t){return je.isLeapYear(t)},getWhatDay:function(t,a,n){return["星期日","星期一","星期二","星期三","星期四","星期五","星期六"][new Date(t+"/"+a+"/"+n).getDay()]},getMonthPreDay:function(t,a){let n=new Date(t+"/"+a+"/01").getDay();return n==0&&(n=7),n},getMonthDays:function(t,a){return/^0/.test(a)&&(a=a.split("")[1]),[0,31,this.isLeapYear(Number(t))?29:28,31,30,31,30,31,31,30,31,30,31][a]},getNumTwoBit:function(t){return t=Number(t),(t>9?"":"0")+t},date2Str:function(t,a){return a=a||"-",[t.getFullYear(),this.getNumTwoBit(t.getMonth()+1),this.getNumTwoBit(t.getDate())].join(a)},getDay:function(t){t=t||0;let a=new Date;const n=t*(1e3*60*60*24);return a=new Date(a.getTime()+n),this.date2Str(a)},compareDate:function(t,a){return!(new Date(t.replace("-","/").replace("-","/"))>=new Date(a.replace("-","/").replace("-","/")))},isEqual:function(t,a){return new Date(t).getTime()==new Date(a).getTime()},getMonthWeek:function(t,a,n,i=0){const o=new Date(Number(t),parseInt(a)-1,Number(n));let r=o.getDay();const s=o.getDate();let c=6-r;return i!==0&&(r=r==0?7:r,c=7-r),Math.ceil((s+c)/7)},getYearWeek:function(t,a,n,i=0){const o=new Date(Number(t),parseInt(a)-1,Number(n)),r=new Date(Number(t),0,1),s=Math.round((o.valueOf()-r.valueOf())/864e5);return Math.ceil((s+(r.getDay()+1-1))/7)},getWeekDate:function(t,a,n,i=0){const o=new Date(Number(t),parseInt(a)-1,Number(n)),r=o.getTime();let s=o.getDay();if(i===0){const e=r-s*864e5,u=r+(6-s)*864e5;return[this.date2Str(new Date(e)),this.date2Str(new Date(u))]}else{s=s==0?7:s;const c=1440*60*1e3,e=r-(s-1)*c,u=r+(7-s)*c;return[this.date2Str(new Date(e)),this.date2Str(new Date(u))]}},formatResultDate:function(t){const a=[...t.split("-")];return a[2]=fe.getNumTwoBit(Number(a[2])),a[3]=`${a[0]}-${a[1]}-${a[2]}`,a[4]=fe.getWhatDay(+a[0],+a[1],+a[2]),a}},q1=t=>!!(!t||typeof t=="string"&&t.length==0||Array.isArray(t)&&t.length==0),Un={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:t=>t>=0&&t<=6},popClass:{type:String},popStyle:{type:Object}},Gn={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:{}}},eo=2e3,to=eo,j1=(t,a)=>({components:a,props:{...Gn},emits:["click-pop","click-close-icon","open","close","opend","closed","click-overlay","update:visible"],setup(n,{emit:i}){const o=(0,l.reactive)({zIndex:n.zIndex,showSlot:!0,closed:n.closeable}),r=(0,l.computed)(()=>({[t]:!0,round:n.round,[`fox-popup--${n.position}`]:!0,[`fox-popup--${n.position}--safebottom`]:n.position==="bottom"&&n.safeAreaInsetBottom,[n.popClass]:!0})),s=(0,l.computed)(()=>({zIndex:o.zIndex,transitionDuration:`${n.duration}s`,...n.style})),c=(0,l.computed)(()=>n.transition?n.transition:`fox-popup-slide-${n.position}`),e=()=>{n.zIndex!==eo&&(to=Number(n.zIndex)),i("update:visible",!0),o.zIndex=++to,n.destroyOnClose&&(o.showSlot=!0),i("open")},u=()=>{i("update:visible",!1),i("close"),n.destroyOnClose&&setTimeout(()=>{o.showSlot=!1},+n.duration*1e3)},h=S=>{i("click-pop",S)},d=S=>{S.stopPropagation(),i("click-close-icon",S),i("update:visible",!1)},m=S=>{i("click-overlay",S),n.closeOnClickOverlay&&i("update:visible",!1)},T=S=>{i("opend",S)},E=S=>{i("closed",S)};return(0,l.watch)(()=>n.visible,S=>{n.visible?e():u()}),(0,l.watch)(()=>n.closeable,S=>{o.closed=S}),{...(0,l.toRefs)(o),popStyle:s,transitionName:c,classes:r,onClick:h,onClickCloseIcon:d,onClickOverlay:m,onOpened:T,onClosed:E}}}),Jt=0,lo="fox-overflow-hidden",no=()=>dt?document.body:{classList:[]},K1=t=>[()=>{if(t())try{!Jt&&no().classList.add(lo),Jt++}catch{}},()=>{if(t()&&Jt)try{Jt--,!Jt&&no().classList.remove(lo)}catch{}}],W1={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:Y1,create:U1}=ce("overlay"),G1=U1({props:{...W1},emits:["click","update:visible"],setup(t,{emit:a}){const[n,i]=K1(()=>t.lockScroll),o=(0,l.computed)(()=>({[Y1]:!0,[t.overlayClass]:!0})),r=(0,l.computed)(()=>({transitionDuration:`${t.duration}s`,zIndex:t.zIndex,...t.overlayStyle}));return(0,l.watch)(()=>t.visible,c=>{c?n():i()}),{classes:o,style:r,onClick:c=>{a("click",c),t.closeOnClickOverlay&&a("update:visible",!1)}}}});function X1(t,a,n,i,o,r){return(0,l.openBlock)(),(0,l.createBlock)(l.Transition,{name:"overlay-fade"},{default:(0,l.withCtx)(()=>[(0,l.withDirectives)((0,l.createElementVNode)("view",{class:(0,l.normalizeClass)(t.classes),onClick:a[0]||(a[0]=(0,l.withModifiers)((...s)=>t.onClick&&t.onClick(...s),["stop"])),style:(0,l.normalizeStyle)(t.style)},[(0,l.renderSlot)(t.$slots,"default")],6),[[l.vShow,t.visible]])]),_:3})}var Hl=De(G1,[["render",X1]]),ao="fox-icon",Xp=(0,l.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(t,{emit:a}){var n;const i=t,o=a,r=m=>{o("click",m)},s=(0,l.useSlots)();(0,l.useAttrs)();const c=()=>i.name?i.name.indexOf("/")!==-1:!1,e=m=>{if(m)return isNaN(Number(m))?String(m):m+"px"},u=c();let h=(0,l.h)(u?"img":i.tag,{class:u?`${ao}__img`:`${i.fontClassName} ${ao} ${i.classPrefix}-${i.name}`,style:{color:i.color,fontSize:e(i.size),width:e(i.width||i.size),height:e(i.height||i.size)},onClick:r,src:u?i.name:""},(n=s.default)==null?void 0:n.call(s));const d=()=>h;return(m,T)=>((0,l.openBlock)(),(0,l.createBlock)(d))}}),Qp={name:"foxui-icon",data:[{name:"粗体 Icon",nameEn:"Bold Icon",icons:["order","refresh","add","eye","dshop","my2","star","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","locationg3","share","shop3","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"]},{name:"应用图标",nameEn:"Application Icon",icons:["arrow-up","arrow-down","arrow-up2","arrow-down2","down-arrow","joy-smile","close-little","horizontal-n","share-n","heart1","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","loading1"]},{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"]}],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"}]}]},Zp=["Voice","Uploader","UploadCloud","Tuozhuai","TriangleUp","TriangleDown","Transmit","Top","Tips","Suoding","Success","Star2","Star11","Star1","Star","StarN","StarFill2","StarFill1","StarFill","StarFillN","SmileFace","Shop3","Shop","Share1","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","Minus","Mike","Microphone2","Microphone","Message","MergeForward","MaskClose","Marshalling","Lower","Locked","Locationg3","Location2","Location","Loading1","Loading","Link","Left","JoySmile","Jdl","ItemsForward","Issue","Introduce","Image","ImageError","Horn2","Horn","Horizontal","HorizontalN","Home","History","Heart2","Heart1","Heart","HeartN","HeartFill3","HeartFill2","HeartFill1","HeartFill","HeartFillN","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"],Q1=["aria-labelledby"],Z1=[(0,l.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.27zM445.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.186zm-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.675z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Jp=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},Z1,14,Q1))}}),J1=["aria-labelledby"],e0=[(0,l.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)],t0=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},e0,14,J1))}}),l0=["aria-labelledby"],n0=[(0,l.createElementVNode)("path",{d:"M512 138.667a288 288 0 0 1 287.403 269.269 245.333 245.333 0 1 1-146.774 468.139 32 32 0 1 1 17.408-61.611 181.333 181.333 0 0 0 91.734-350.89 32 32 0 0 1-24.406-27.52 33.152 33.152 0 0 1-1.365-9.387 224 224 0 0 0-448 0 32 32 0 0 1-15.104 27.178 31.659 31.659 0 0 1-16.384 9.728 181.419 181.419 0 1 0 91.733 350.891 32 32 0 1 1 17.451 61.61 245.333 245.333 0 0 1-140.97-470.058A288 288 0 0 1 512 138.666zm18.944 281.898 3.584 3.072 152.15 150.998a32 32 0 0 1-41.473 48.512l-3.584-3.115L544 523.222v287.445a32 32 0 0 1-63.701 4.352l-.299-4.352V523.69l-93.27 93.696a32 32 0 0 1-41.685 3.157l-3.584-3.072a32 32 0 0 1-3.157-41.685l3.072-3.584 147.968-148.438a32 32 0 0 1 41.6-3.2z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],eg=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},n0,14,l0))}}),a0=["aria-labelledby"],r0=[(0,l.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.312zm0-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.312zm0-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.376zm527.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.312zm0-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.312zm0-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",fill:"currentColor","fill-opacity":"0.9"},null,-1)],tg=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},r0,14,a0))}}),o0=["aria-labelledby"],i0=[(0,l.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 0z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],lg=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},i0,14,o0))}}),s0=["aria-labelledby"],c0=[(0,l.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 0z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],ng=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},c0,14,s0))}}),u0=["aria-labelledby"],d0=[(0,l.createElementVNode)("path",{d:"M946.693 149.193a73.767 73.767 0 0 0-73.633-16.078L91.58 393.627c-28.662 9.554-47.944 34.196-50.216 64.371-2.272 30.118 12.99 57.439 39.846 71.187L303.974 643.48v228.997c0 16.078 13.05 29.127 29.127 29.127s29.127-13.049 29.127-29.127V673.364L711.812 852.73c10.602 5.418 22.137 8.156 33.613 8.156a73.398 73.398 0 0 0 30.234-6.525 73.342 73.342 0 0 0 41.185-48.817l150.82-583.999c6.875-26.214-1.223-53.885-20.971-72.351zm-35.36 57.788-150.82 583.998c-1.632 6.292-6.117 9.146-8.68 10.253s-7.632 2.622-13.399-.35L389.783 621.985l396.361-272.863a29.057 29.057 0 0 0 7.457-40.486 29.098 29.098 0 0 0-40.487-7.457L330.946 591.867l-223.114-114.47c-8.272-4.253-8.621-11.884-8.388-14.971.233-3.088 1.747-10.603 10.544-13.515L891.41 188.456c1.806-.582 3.495-.874 5.068-.874 5.184 0 8.855 2.796 10.427 4.253 2.04 1.806 6.525 7.107 4.428 15.146z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],ag=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},d0,14,u0))}}),f0=["aria-labelledby"],m0=[(0,l.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.91c-5.689 5.689-14.222 8.533-25.6 8.533zm745.245 0c-8.534 0-17.067-2.844-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.734-8.533 11.378-19.911 17.066-34.133 17.066zM512 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.667zM884.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.666z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],rg=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},m0,14,f0))}}),h0=["aria-labelledby"],p0=[(0,l.createElementVNode)("path",{d:"M512 1024C230.4 1024 0 793.6 0 512S230.4 0 512 0s512 230.4 512 512-230.4 512-512 512zm0-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.333zM448 320a64 64 0 1 0 128 0 64 64 0 1 0-128 0zm-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.6zm51.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.067zm8.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.066z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],ro=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},p0,14,h0))}}),g0=["aria-labelledby"],y0=[(0,l.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.48zM832 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.16zm-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.16zm-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.336z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],og=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},y0,14,g0))}}),b0=["aria-labelledby"],S0=[(0,l.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 512zm0-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.267z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],w0=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},S0,14,b0))}}),v0=["aria-labelledby"],N0=[(0,l.createElementVNode)("path",{d:"m908.1 353.1-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3-12.3 12.7-12.1 32.9.6 45.3l183.7 179.1-43.4 252.9c-1.2 6.9-.1 14.1 3.2 20.3 8.2 15.6 27.6 21.7 43.2 13.4L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3zM664.8 561.6l36.1 210.3L512 672.7 323.1 772l36.1-210.3-152.8-149L417.6 382 512 190.7 606.4 382l211.2 30.7-152.8 148.9z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],ig=(0,l.defineComponent)({__name:"Star2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},N0,14,v0))}}),C0=["aria-labelledby"],k0=[(0,l.createElementVNode)("path",{d:"m211.145 1024 63.016-370.215L3.72 391.22l375.466-55.139L547.227 0l168.041 336.082 375.467 55.139-270.441 262.564L883.309 1024 547.227 848.082 211.145 1024zm336.082-265.19 231.057 120.78-44.636-254.687 186.42-178.544L662.756 409.6 547.227 178.544 431.7 409.6l-257.313 36.759 186.42 178.544-44.635 254.687 231.056-120.78z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],sg=(0,l.defineComponent)({__name:"Star11",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1177 1024","aria-labelledby":t.name,role:"presentation"},k0,14,C0))}}),x0=["aria-labelledby"],z0=[(0,l.createElementVNode)("path",{d:"m908.1 353.1-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3-12.3 12.7-12.1 32.9.6 45.3l183.7 179.1-43.4 252.9c-1.2 6.9-.1 14.1 3.2 20.3 8.2 15.6 27.6 21.7 43.2 13.4L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3zM664.8 561.6l36.1 210.3L512 672.7 323.1 772l36.1-210.3-152.8-149L417.6 382 512 190.7 606.4 382l211.2 30.7-152.8 148.9z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],cg=(0,l.defineComponent)({__name:"Star1",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},z0,14,x0))}}),E0=["aria-labelledby"],T0=[(0,l.createElementVNode)("path",{d:"M280.598 1008.246c-19.692 0-39.385-3.938-59.077-11.815-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.876c3.938 7.877 7.877 11.816 11.815 11.816s7.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 0zM158.505 681.354zm-7.877-27.57zM300.29 240.247zm425.354 0z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],ug=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},T0,14,E0))}}),$0=["aria-labelledby"],B0=[(0,l.createElementVNode)("path",{d:"m211.145 1024 63.016-370.215L3.72 391.22l375.466-55.139L547.227 0l168.041 336.082 375.467 55.139-270.441 262.564L883.309 1024 547.227 848.082 211.145 1024zm336.082-265.19 231.057 120.78-44.636-254.687 186.42-178.544L662.756 409.6 547.227 178.544 431.7 409.6l-257.313 36.759 186.42 178.544-44.635 254.687 231.056-120.78z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],dg=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1177 1024","aria-labelledby":t.name,role:"presentation"},B0,14,$0))}}),V0=["aria-labelledby"],D0=[(0,l.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.667z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],fg=(0,l.defineComponent)({__name:"StarFill2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1081 1024","aria-labelledby":t.name,role:"presentation"},D0,14,V0))}}),M0=["aria-labelledby"],A0=[(0,l.createElementVNode)("path",{d:"m908.1 353.1-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3-12.3 12.7-12.1 32.9.6 45.3l183.7 179.1-43.4 252.9c-1.2 6.9-.1 14.1 3.2 20.3 8.2 15.6 27.6 21.7 43.2 13.4L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],mg=(0,l.defineComponent)({__name:"StarFill1",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},A0,14,M0))}}),I0=["aria-labelledby"],P0=[(0,l.createElementVNode)("path",{d:"m908.1 353.1-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3-12.3 12.7-12.1 32.9.6 45.3l183.7 179.1-43.4 252.9c-1.2 6.9-.1 14.1 3.2 20.3 8.2 15.6 27.6 21.7 43.2 13.4L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],hg=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},P0,14,I0))}}),L0=["aria-labelledby"],_0=[(0,l.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.667z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],pg=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1081 1024","aria-labelledby":t.name,role:"presentation"},_0,14,L0))}}),R0=["aria-labelledby"],F0=[(0,l.createElementVNode)("path",{d:"M512 960C264.96 960 64 759.04 64 512S264.981 64 512 64c246.997 0 448 200.96 448 448S759.04 960 512 960zm0-832c-211.733 0-384 172.267-384 384s172.267 384 384 384 384-172.267 384-384-172.267-384-384-384zm1.067 645.333c-89.195 0-171.926-40.32-226.923-110.613a31.979 31.979 0 1 1 50.39-39.424 222.763 222.763 0 0 0 176.511 86.059c70.123 0 134.891-31.915 177.664-87.552a31.979 31.979 0 1 1 50.774 38.976 286.123 286.123 0 0 1-228.416 112.554zm-144-258.133a47.979 47.979 0 0 1-48-48v-64a47.979 47.979 0 0 1 48-48 47.979 47.979 0 0 1 48 48v64a48 48 0 0 1-48 48zm288 0a48 48 0 0 1-48-48v-64a48 48 0 1 1 96 0v64a48 48 0 0 1-48 48z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],gg=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},F0,14,R0))}}),O0=["aria-labelledby"],H0=[(0,l.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.505 48.506 0 102.4-18.863 137.432-45.81 16.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.673zm353.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.695zm800.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.39-78.148 16.168zm-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.422zm727.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.685zM781.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)],yg=(0,l.defineComponent)({__name:"Shop3",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1050 1024","aria-labelledby":t.name,role:"presentation"},H0,14,O0))}}),q0=["aria-labelledby"],j0=[(0,l.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.8 18.286-21.943 54.857-25.6 76.8-7.314 32.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.172zm303.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.658zm-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.458zm709.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.857zm687.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.228zm-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.829H266.97z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],bg=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},j0,14,q0))}}),K0=["aria-labelledby"],W0=[(0,l.createElementVNode)("path",{d:"M714.24 942.08H286.72c-140.8 0-256-115.2-256-256v-371.2c0-140.8 115.2-256 256-256H384c23.04 0 43.52 17.92 43.52 43.52s-17.92 43.52-40.96 43.52h-97.28c-94.72 0-171.52 76.8-171.52 171.52v368.64c0 94.72 76.8 171.52 171.52 171.52H716.8c94.72 0 171.52-76.8 171.52-171.52V317.44c0-23.04 17.92-43.52 43.52-43.52s43.52 17.92 43.52 43.52v368.64c-5.12 140.8-120.32 256-261.12 256zM870.4 145.92H642.56c-23.04 0-43.52-17.92-43.52-43.52s17.92-43.52 43.52-43.52H870.4c23.04 0 43.52 17.92 43.52 43.52s-20.48 43.52-43.52 43.52zM501.76 599.04h-7.68c-23.04-5.12-38.4-25.6-33.28-51.2 40.96-212.48 184.32-389.12 391.68-486.4 20.48-10.24 46.08 0 56.32 20.48 10.24 20.48 0 46.08-20.48 56.32-181.76 84.48-307.2 238.08-343.04 424.96-5.12 23.04-23.04 35.84-43.52 35.84z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Sg=(0,l.defineComponent)({__name:"Share1",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},W0,14,K0))}}),Y0=["aria-labelledby"],U0=[(0,l.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.273zm170.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.545zM515.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.236z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],wg=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1090 1024","aria-labelledby":t.name,role:"presentation"},U0,14,Y0))}}),G0=["aria-labelledby"],X0=[(0,l.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.273zm170.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.545zM515.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.236z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],vg=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},X0,14,G0))}}),Q0=["aria-labelledby"],Z0=[(0,l.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.863zm0-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.579zm0-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)],Ng=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},Z0,14,Q0))}}),J0=["aria-labelledby"],eu=[(0,l.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.222 126.222 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.036 404.036 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.901zm-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.303V413.136zm721.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.38z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Cg=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},eu,14,J0))}}),tu=["aria-labelledby"],lu=[(0,l.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.692v126.031zM196.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.462zm0-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.769zm630.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.924zm0-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.769zm-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.938z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],kg=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},lu,14,tu))}}),nu=["aria-labelledby"],au=[(0,l.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)],ru=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},au,14,nu))}}),ou=["aria-labelledby"],iu=[(0,l.createElementVNode)("path",{d:"M512 1023.999c-280.87 0-512-231.13-512-512S231.13 0 512 0s511.999 231.13 511.999 512-231.13 511.999-512 511.999zm0-936.228c-234.057 0-424.23 190.172-424.23 424.228S277.944 936.23 512 936.23s424.228-190.173 424.228-424.23S746.056 87.772 512 87.772zm468.113 936.228c-11.703 0-23.405-2.926-32.183-11.703L830.902 895.269c-17.554-17.555-17.554-43.886 0-61.44s43.886-17.555 61.44 0l117.028 117.028c17.555 17.554 17.555 43.886 0 61.44-5.851 8.777-17.554 11.703-29.257 11.703z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],xg=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},iu,14,ou))}}),su=["aria-labelledby"],cu=[(0,l.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.325 85.325 0 0 1 89.649 0l269.458 166.441a56.884 56.884 0 1 1-59.785 96.76L511.969 118.81 257.47 275.98m0 472.133a56.884 56.884 0 1 0-59.785 96.703L467.2 1011.257a85.325 85.325 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)],zg=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},cu,14,su))}}),uu=["aria-labelledby"],du=[(0,l.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 1024zM96.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.513zm940.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.514z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Eg=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1079 1024","aria-labelledby":t.name,role:"presentation"},du,14,uu))}}),fu=["aria-labelledby"],mu=[(0,l.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.914zM160.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.143H160.914zm702.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.914zM716.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.143H716.8zM307.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.914zM160.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.143H160.914zM204.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.257zm482.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.885zm234.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.885z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Tg=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},mu,14,fu))}}),hu=["aria-labelledby"],pu=[(0,l.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.6zM588.8 102.4zM93.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.534l-102.4 76.8zm934.4-8.534L921.6 550.4c38.4-59.733 64-128 64-200.533h128c0 98.133-29.867 192-85.333 273.066zM558.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.534zM550.4 866.133zm17.067 0z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],$g=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1113 1024","aria-labelledby":t.name,role:"presentation"},pu,14,hu))}}),gu=["aria-labelledby"],yu=[(0,l.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)],bu=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},yu,14,gu))}}),Su=["aria-labelledby"],wu=[(0,l.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 8zm752-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-8z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Bg=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},wu,14,Su))}}),vu=["aria-labelledby"],Nu=[(0,l.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.128zm-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.128zM509.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.635h-5.252z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Vg=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},Nu,14,vu))}}),Cu=["aria-labelledby"],ku=[(0,l.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.323 31.508 7.877 51.2 39.384 43.323 70.892C961.482 858.585 756.682 1024 512.497 1024zM965.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.323-31.508-7.877-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.939z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Dg=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},ku,14,Cu))}}),xu=["aria-labelledby"],zu=[(0,l.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.384z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Mg=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},zu,14,xu))}}),Eu=["aria-labelledby"],Tu=[(0,l.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.936 0 14.848-6.144 29.184-16.384 39.936L389.12 966.656c-10.752 11.264-25.6 16.384-39.936 16.384z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Ag=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},Tu,14,Eu))}}),$u=["aria-labelledby"],Bu=[(0,l.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.936 0-14.848 6.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.384z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Ig=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},Bu,14,$u))}}),Vu=["aria-labelledby"],Du=[(0,l.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.872z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Pg=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},Du,14,Vu))}}),Mu=["aria-labelledby"],Au=[(0,l.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.855z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Lg=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},Au,14,Mu))}}),Iu=["aria-labelledby"],Pu=[(0,l.createElementVNode)("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-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 8v304zm224 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 8v304z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],_g=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},Pu,14,Iu))}}),Lu=["aria-labelledby"],_u=[(0,l.createElementVNode)("path",{d:"M345.6 460.8h409.6q51.2 0 51.2 51.2t-51.2 51.2H345.6q-51.2 0-51.2-51.2t51.2-51.2zM550.4 256q51.2 0 51.2 51.2v409.6q0 51.2-51.2 51.2t-51.2-51.2V307.2q0-51.2 51.2-51.2z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Rg=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},_u,14,Lu))}}),Ru=["aria-labelledby"],Fu=[(0,l.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.624 0 239.68-195.008 434.624-434.656 434.624m0-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)],Fg=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},Fu,14,Ru))}}),Ou=["aria-labelledby"],Hu=[(0,l.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 0zM415.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.1zm494-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.6z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Og=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},Hu,14,Ou))}}),qu=["aria-labelledby"],ju=[(0,l.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-20zm-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.8zm-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.8z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Hg=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},ju,14,qu))}}),Ku=["aria-labelledby"],Wu=[(0,l.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 20zm7.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.8zm417.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.8z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],qg=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},Wu,14,Ku))}}),Yu=["aria-labelledby"],Uu=[(0,l.createElementVNode)("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm144.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 506c.7.5 1.3 1.1 1.8 1.8 2.6 3.5 1.8 8.5-1.8 11.1z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],jg=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},Uu,14,Yu))}}),Gu=["aria-labelledby"],Xu=(0,l.createElementVNode)("path",{d:"M853.333 887.467H170.667c-54.614 0-102.4-47.787-102.4-102.4V238.933c0-54.613 47.786-102.4 102.4-102.4h682.666c54.614 0 102.4 47.787 102.4 102.4v546.134c0 54.613-47.786 102.4-102.4 102.4zM170.667 204.8c-20.48 0-34.134 13.653-34.134 34.133v546.134c0 20.48 13.654 34.133 34.134 34.133h682.666c20.48 0 34.134-13.653 34.134-34.133V238.933c0-20.48-13.654-34.133-34.134-34.133H170.667z",fill:"currentColor","fill-opacity":"0.9"},null,-1),Qu=(0,l.createElementVNode)("path",{d:"M614.4000000000001 402.773a1.067 1.067 0 1 0 136.533 0 1.067 1.067 0 1 0-136.533 0ZM785.067 689.493c-61.44-47.786-88.747-34.133-129.707-13.653-27.307 13.653-68.267 27.307-122.88 20.48-68.267-13.653-95.573-61.44-116.053-102.4-13.654-27.307-27.307-54.613-54.614-68.267-68.266-34.133-129.706 6.827-129.706 6.827-20.48 13.653-47.787 6.827-54.614-6.827-6.826-13.653 0-40.96 13.654-47.786 6.826 0 95.573-61.44 197.973-13.654 47.787 27.307 68.267 61.44 88.747 95.574 20.48 34.133 34.133 61.44 75.093 68.266 27.307 6.827 47.787 0 75.093-13.653 47.787-20.48 102.4-47.787 197.974 27.307 20.48 13.653 20.48 40.96 13.653 47.786-13.653 6.827-27.307 20.48-54.613 0z",fill:"currentColor","fill-opacity":"0.9"},null,-1),Kg=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},[Xu,(0,l.createTextVNode)(","),Qu],14,Gu))}}),Zu=["aria-labelledby"],Ju=[(0,l.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.429zm0-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.657zM877.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 1024zm-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 0z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Wg=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1141 1024","aria-labelledby":t.name,role:"presentation"},Ju,14,Zu))}}),e2=["aria-labelledby"],t2=(0,l.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.254zM512 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.98zm330.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.254z",fill:"currentColor","fill-opacity":"0.9"},null,-1),l2=(0,l.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.2zm242.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.255h485.452z",fill:"currentColor","fill-opacity":"0.9"},null,-1),Yg=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},[t2,(0,l.createTextVNode)(","),l2],14,e2))}}),n2=["aria-labelledby"],a2=(0,l.createElementVNode)("path",{d:"M488.533 110.933c8.534 4.267 17.067 6.4 25.6 6.4 102.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.333zm0 0",fill:"currentColor","fill-opacity":"0.9"},null,-1),r2=(0,l.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.933 4.267-8.533 6.4-17.067 6.4-25.6-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.467 8.533 4.266 17.067 6.4 25.6 6.4 57.6-10.667 115.2 2.133 164.267 32 44.8 27.733 74.666 74.666 85.333 128zm102.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.467-29.866-29.867-61.866-70.4-87.466-108.8-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.533 29.867-21.333 98.134-78.933 98.134-134.4 0-23.467-14.934-49.067-46.934-78.933-23.466-19.2-51.2-42.667-85.333-66.134zM185.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.333zm0 0",fill:"currentColor","fill-opacity":"0.9"},null,-1),o2=(0,l.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.934 23.467 14.933 38.4 36.266 42.667 64 2.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.067zm0 0",fill:"currentColor","fill-opacity":"0.9"},null,-1),Ug=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},[a2,(0,l.createTextVNode)(","),r2,(0,l.createTextVNode)(","),o2],14,n2))}}),i2=["aria-labelledby"],s2=[(0,l.createElementVNode)("path",{d:"M592.341 76.019a39.304 39.304 0 0 1-.394.039h-.788a38.202 38.202 0 0 1-39.776-36.43A38.202 38.202 0 0 1 587.497.168c1.024 0 101.647-5.553 205.893 46.944a387.646 387.646 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.87c0 .395 0 .395 0 0 0 .395 0 .395 0 0zM831 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.484 280.484 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)],Gg=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},s2,14,i2))}}),c2=["aria-labelledby"],u2=[(0,l.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 980zM296.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.4z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Xg=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},u2,14,c2))}}),d2=["aria-labelledby"],f2=[(0,l.createElementVNode)("path",{d:"M759.922 989.082h-.02l-4.927-.11c-114.638-5.864-269.451-113.762-414.171-288.636l-53.457-64.567c-144.72-174.886-220.54-345.69-202.81-456.91C97.052 100.395 213.71 34.176 280.367 34.176c32.832 0 44.727 16.34 48.885 26.096 37.734 67.059 84.424 183.678 84.64 225.506l.014 2.976-1.068 2.78c-8.322 21.986-26.943 32.52-43.372 41.81-21.643 12.23-33.942 20.261-35.444 43.382-.446 7.016 5.605 38.935 101.083 156.63l40.82 49.29C571.667 695.637 601.79 707.8 608.842 708.806c23.088 3.21 33.96-6.912 50.565-25.114 12.641-13.86 26.982-29.59 50.644-33.055l2.996-.427 2.946.626C757.687 659.627 864.411 728.407 925 779.47c8.747 5.806 24.013 23.042 11.925 61.119-18.963 59.8-101.633 148.492-177.002 148.492z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Qg=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},f2,14,d2))}}),m2=["aria-labelledby"],h2=[(0,l.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.689 224.689 0 0 0-221.909-219.86zM34.083 1024A36.57 36.57 0 0 1 0 990.209a426.338 426.338 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.253 38.253 0 0 1 34.084 1024zm0 0 388.963-407.687a16.822 16.822 0 0 1-27.94 7.826 34.01 34.01 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.258 26.258 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.093 370.093 0 0 0 668.141 729.68a15.14 15.14 0 0 0-3.218-2.486 31.377 31.377 0 0 1 0-49.151 12.434 12.434 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.384 16.384 0 0 1-2.267 8.485 55.806 55.806 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.929 173.929 0 0 0-109.711 32.84 16.53 16.53 0 0 1-2.706 1.61 36.57 36.57 0 0 1-38.033-6.364 15.872 15.872 0 0 1-5.12-7.314 36.57 36.57 0 0 1 8.557-35.985 16.237 16.237 0 0 1 4.096-3.291A292.563 292.563 0 0 1 734.553-.045 286.639 286.639 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.873 369.873 0 0 0-109.199-260.455 13.092 13.092 0 0 0-3.145-2.56 31.67 31.67 0 0 1 1.39-50.247 32.109 32.109 0 0 1 51.198 0 425.826 425.826 0 0 1 136.554 308.873 15.725 15.725 0 0 1-2.267 8.485 55.733 55.733 0 0 1-40.447 29.695zm0 0",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Zg=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1170 1024","aria-labelledby":t.name,role:"presentation"},h2,14,m2))}}),p2=["aria-labelledby"],g2=(0,l.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 512zM199.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.68zm535.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.072h6.144z",fill:"currentColor","fill-opacity":"0.9"},null,-1),y2=(0,l.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 512z",fill:"currentColor","fill-opacity":"0.9"},null,-1),Jg=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},[g2,(0,l.createTextVNode)(","),y2],14,p2))}}),b2=["aria-labelledby"],S2=[(0,l.createElementVNode)("path",{d:"M798.293 294.482c0-160.751-130.304-291.069-291.061-291.069a288.932 288.932 0 0 0-206.176 85.402 291.181 291.181 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.08zm-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.239zm225.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.026z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],ey=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},S2,14,b2))}}),w2=["aria-labelledby"],v2=[(0,l.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.873 246.873 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.873 246.873 0 0 1-44.834-142.18zm111.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.704-136.727 30.676z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],ty=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},v2,14,w2))}}),N2=["aria-labelledby"],C2=[(0,l.createElementVNode)("path",{d:"M731.453 612.522c-27.877 14.516-52.222 34.88-71.41 59.466C616.142 647.778 565.68 634 512 634c-169.551 0-307 137.449-307 307 0 24.3-19.7 44-44 44s-44-19.7-44-44c0-162.692 98.359-302.412 238.856-362.938C279.408 527.394 229 440.584 229 342c0-156.297 126.703-283 283-283s283 126.703 283 283c0 98.584-50.408 185.394-126.856 236.062a394.134 394.134 0 0 1 63.31 34.46zM512 537c107.696 0 195-87.304 195-195s-87.304-195-195-195-195 87.304-195 195 87.304 195 195 195zm179.225 312.8c-24.3 0-44-19.699-44-44 0-24.3 19.7-44 44-44H963c24.3 0 44 19.7 44 44 0 24.301-19.7 44-44 44H691.225z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],ly=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},C2,14,N2))}}),k2=["aria-labelledby"],x2=[(0,l.createElementVNode)("path",{d:"M730.614 612.961c-27.79 14.626-52.036 35.076-71.115 59.728C615.725 648.664 565.459 635 512 635c-169.551 0-307 137.449-307 307 0 24.3-19.7 44-44 44s-44-19.7-44-44c0-163.047 98.787-303.02 239.774-363.332C279.812 528.088 229 440.978 229 342c0-156.297 126.703-283 283-283s283 126.703 283 283c0 98.978-50.812 186.088-127.774 236.668a394.09 394.09 0 0 1 63.388 34.293zM512 537c107.696 0 195-87.304 195-195s-87.304-195-195-195-195 87.304-195 195 87.304 195 195 195zm271.113 312.8h-91.888c-24.3 0-44-19.699-44-44 0-24.3 19.7-44 44-44h91.888v-91.887c0-24.3 19.7-44 44-44s44 19.7 44 44v91.888H963c24.3 0 44 19.7 44 44s-19.7 44-44 44h-91.887v91.887c0 24.3-19.7 44-44 44s-44-19.7-44-44v-91.887z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],ny=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},x2,14,k2))}}),z2=["aria-labelledby"],E2=[(0,l.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.2zM526.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.8 21.943-18.285 58.515-14.628 76.8 7.315 14.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.856zM508.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.2zm314.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 1024zm-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.57h-73.143zM512 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.514-3.657 32.915-29.257 54.857-58.514 54.857z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],ay=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},E2,14,z2))}}),T2=["aria-labelledby"],$2=[(0,l.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 1024zM601.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.143zM418.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.857H418.743zM601.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 768zm0-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.857z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],ry=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},$2,14,T2))}}),B2=["aria-labelledby"],V2=[(0,l.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.933V819.2zM514.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 1024zm469.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.867-8.534-21.333 4.266-46.933 29.866-51.2 311.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.867z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],oy=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1027 1024","aria-labelledby":t.name,role:"presentation"},V2,14,B2))}}),D2=["aria-labelledby"],M2=[(0,l.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.148zm0-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.472zm237.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.494h-3.656zM511.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)],iy=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},M2,14,D2))}}),A2=["aria-labelledby"],I2=[(0,l.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.79-89.272 0-162.79 73.518-162.79 162.79 0 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.384zM512 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)],sy=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},I2,14,A2))}}),P2=["aria-labelledby"],L2=[(0,l.createElementVNode)("path",{d:"M176 511a56 56 0 1 0 112 0 56 56 0 1 0-112 0zm280 0a56 56 0 1 0 112 0 56 56 0 1 0-112 0zm280 0a56 56 0 1 0 112 0 56 56 0 1 0-112 0z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],cy=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 3891 1024","aria-labelledby":t.name,role:"presentation"},L2,14,P2))}}),_2=["aria-labelledby"],R2=[(0,l.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)],uy=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},R2,14,_2))}}),F2=["aria-labelledby"],O2=[(0,l.createElementVNode)("path",{d:"M176 511a56 56 0 1 0 112 0 56 56 0 1 0-112 0zm280 0a56 56 0 1 0 112 0 56 56 0 1 0-112 0zm280 0a56 56 0 1 0 112 0 56 56 0 1 0-112 0z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],dy=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},O2,14,F2))}}),H2=["aria-labelledby"],q2=[(0,l.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)],j2=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},q2,14,H2))}}),K2=["aria-labelledby"],W2=[(0,l.createElementVNode)("path",{d:"M299.52 460.8h409.6c28.16 0 51.2 23.04 51.2 51.2s-23.04 51.2-51.2 51.2h-409.6c-28.16 0-51.2-23.04-51.2-51.2s23.04-51.2 51.2-51.2z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],fy=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},W2,14,K2))}}),Y2=["aria-labelledby"],U2=[(0,l.createElementVNode)("path",{d:"M207.637 533.355a8.533 8.533 0 0 1 8.448 7.36 320 320 0 0 0 2.283 14.57c25.259 133.27 142.379 234.048 282.965 234.048 140.843 0 258.07-101.098 283.072-234.666.64-3.392 1.366-8.022 2.176-13.952a8.533 8.533 0 0 1 8.448-7.36h47.339a8.533 8.533 0 0 1 8.47 9.514c-.598 5.163-1.131 9.302-1.6 12.395-24.385 158.464-154.411 282.09-315.905 296.64v99.563A8.533 8.533 0 0 1 524.8 960h-46.933a8.533 8.533 0 0 1-8.534-8.533l-.021-99.563c-161.493-14.57-291.563-138.24-315.883-296.747a355.477 355.477 0 0 1-1.6-12.288 8.533 8.533 0 0 1 7.467-9.45l.512-.043h47.83zM501.333 64A202.667 202.667 0 0 1 704 266.667v234.666a202.667 202.667 0 0 1-405.333 0V266.667A202.667 202.667 0 0 1 501.333 64zm0 64a138.667 138.667 0 0 0-138.581 133.696l-.085 4.97v234.667a138.667 138.667 0 0 0 277.248 4.971l.085-4.97V266.666A138.667 138.667 0 0 0 501.333 128z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],my=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},U2,14,Y2))}}),G2=["aria-labelledby"],X2=(0,l.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.2zM512 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.334z",fill:"currentColor","fill-opacity":"0.9"},null,-1),Q2=(0,l.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.333zM512 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 384zM682.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 1024z",fill:"currentColor","fill-opacity":"0.9"},null,-1),Z2=(0,l.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.667zM341.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.667zM682.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.667z",fill:"currentColor","fill-opacity":"0.9"},null,-1),hy=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},[X2,(0,l.createTextVNode)(","),Q2,(0,l.createTextVNode)(","),Z2],14,G2))}}),J2=["aria-labelledby"],e3=[(0,l.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 256zm0-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.286zm0 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.143zM603.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)],py=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},e3,14,J2))}}),t3=["aria-labelledby"],l3=[(0,l.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.764-13.128 15.754-31.507 26.257-55.138 28.882 0 2.626-2.626 2.626-5.251 2.626zm-165.416-44.636zm-10.502-76.143c5.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.133z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],gy=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},l3,14,t3))}}),n3=["aria-labelledby"],a3=[(0,l.createElementVNode)("path",{d:"M472 122a30 30 0 1 1 0 60H112a10 10 0 0 0-10 10v720c0 5.52 4.48 10 10 10h720a10 10 0 0 0 10-10V552a30 30 0 1 1 60 0v360a70 70 0 0 1-70 70H112a70 70 0 0 1-70-70V192c0-38.64 31.36-70 70-70zm213.2-23.4a30 30 0 0 1 40.2-13.44l135.2 67.6a50 50 0 0 1 13 80.08l-100.4 100.4a30 30 0 0 1-42.4-42.44l67.4-67.48C565.64 241.72 382 449.4 382 752a30 30 0 1 1-60 0c0-317.84 188.36-545.48 434.68-584.16l-58.08-29a30 30 0 0 1-13.44-40.24z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],yy=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},a3,14,n3))}}),r3=["aria-labelledby"],o3=[(0,l.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.897zm207.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 512l149.13 149.13z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],by=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},o3,14,r3))}}),i3=["aria-labelledby"],s3=[(0,l.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.597 37.154-9.289 74.309 9.289 83.597 46.443 41.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.886 32.51-18.577 74.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.289zm171.839-320.455c-13.933 0-27.866-4.645-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.51zM603.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.154zM432.07 396.682c-23.222 0-41.799-9.289-55.732-27.866-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.665c-13.933 9.288-27.866 13.933-41.798 13.933zm575.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)],Sy=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2043 1024","aria-labelledby":t.name,role:"presentation"},s3,14,i3))}}),c3=["aria-labelledby"],u3=[(0,l.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.443h-8.303zM702.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.513zM512 675.286c-8.303 0-16.605-2.767-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.604zm5.535 0c-13.838 0-24.908-5.535-33.21-16.605-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.562c-8.302 5.535-16.605 8.302-24.908 8.302z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],wy=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},u3,14,c3))}}),d3=["aria-labelledby"],f3=[(0,l.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.48zM832 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.16zm-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.16zm-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.336z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],vy=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},f3,14,d3))}}),m3=["aria-labelledby"],h3=[(0,l.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.376c82.42 82.42 127.375 189.814 127.375 304.702 0 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.488h-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.927zm0 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.39zm0-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.39z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Ny=(0,l.defineComponent)({__name:"Locationg3",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},h3,14,m3))}}),p3=["aria-labelledby"],g3=[(0,l.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.971l-43.885 32.914zM497.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.857zm0-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.143z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Cy=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},g3,14,p3))}}),y3=["aria-labelledby"],b3=[(0,l.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.487zm0-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.282zm0 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.923zm0-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.846zm0-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.385zM512 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.385zm472.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.385zm-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.385z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],ky=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},b3,14,y3))}}),S3=["aria-labelledby"],w3=[(0,l.createElementVNode)("path",{d:"M520.665 64.564a29.244 29.244 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.331 247.607 0 448.33-200.722 448.33-448.33-.002-245.242-196.917-444.456-441.258-448.24z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],xy=(0,l.defineComponent)({__name:"Loading1",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},w3,14,S3))}}),v3=["aria-labelledby"],N3=[(0,l.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)],el=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},N3,14,v3))}}),C3=["aria-labelledby"],k3=[(0,l.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.997zm-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)],zy=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},k3,14,C3))}}),x3=["aria-labelledby"],z3=[(0,l.createElementVNode)("path",{d:"M642.973 1005.542 321.912 587.098a123.278 123.278 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)],E3=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},z3,14,x3))}}),T3=["aria-labelledby"],$3=[(0,l.createElementVNode)("path",{d:"M2185.74 479.429a117.992 117.992 0 1 0-162.829-170.852c-284.772 271.204-732.314 271.204-1017.087 0A118.05 118.05 0 0 0 842.996 479.43c375.98 358.045 966.705 358.045 1342.744 0",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Ey=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 3072 1024","aria-labelledby":t.name,role:"presentation"},$3,14,T3))}}),B3=["aria-labelledby"],V3=[(0,l.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.616zM496.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.892zm-378.092 66.954zm129.97-496.247zm19.691-7.877zm47.262-66.953zm43.323-43.323zm15.754 271.753c-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)],Ty=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1181 1024","aria-labelledby":t.name,role:"presentation"},V3,14,B3))}}),D3=["aria-labelledby"],M3=[(0,l.createElementVNode)("path",{d:"M921.6 666.829a34.133 34.133 0 0 1 33.894 30.14l.24 3.993V871.63a102.4 102.4 0 0 1-96.393 102.23l-6.008.17H170.667a102.4 102.4 0 0 1-102.23-96.393l-.17-6.007V700.962a34.133 34.133 0 0 1 68.027-3.993l.24 3.993V871.63a34.133 34.133 0 0 0 30.14 33.894l3.993.24h682.666a34.133 34.133 0 0 0 33.895-30.175l.239-3.96V700.963A34.133 34.133 0 0 1 921.6 666.83zM772.096 39.049l2.97 2.662 193.092 193.092a34.133 34.133 0 0 1 2.662 45.295l-2.662 2.97L775.066 476.16a34.133 34.133 0 0 1-50.927-45.295l2.662-2.97 134.144-134.212H341.333a34.133 34.133 0 0 0-33.894 30.174l-.239 3.96V739.19a34.133 34.133 0 0 1-68.028 3.994l-.239-3.994V327.817a102.4 102.4 0 0 1 96.393-102.23l6.007-.17h520.91L726.8 89.975a34.133 34.133 0 0 1-2.662-45.294l2.662-2.97a34.133 34.133 0 0 1 45.295-2.662z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],$y=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},M3,14,D3))}}),A3=["aria-labelledby"],I3=[(0,l.createElementVNode)("path",{d:"M512 1024C229.831 1024 0 794.169 0 512S229.831 0 512 0s512 229.831 512 512-229.831 512-512 512zm0-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.267zm31.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.267z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],By=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},I3,14,A3))}}),P3=["aria-labelledby"],L3=[(0,l.createElementVNode)("path",{d:"M184.32 147.911a36.409 36.409 0 0 0-36.409 36.409v655.36a36.409 36.409 0 0 0 36.409 36.409h655.36a36.409 36.409 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.818H184.32zm291.271 327.68A364.089 364.089 0 0 1 839.68 111.502h36.409a36.409 36.409 0 0 1 0 72.818H839.68a291.271 291.271 0 0 0-291.271 291.271v57.745l47.04-47.113a36.409 36.409 0 1 1 51.555 51.554L537.777 647.004a36.409 36.409 0 0 1-51.554 0L376.996 537.777a36.409 36.409 0 1 1 51.555-51.554l47.04 47.113V475.59z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Vy=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},L3,14,P3))}}),_3=["aria-labelledby"],R3=[(0,l.createElementVNode)("path",{d:"M853.161 892.55H362.595l-209.433-.414a18.5 18.5 0 0 1-1.813-.092c-24.849-2.485-47.825-14.06-64.696-32.595-16.991-18.665-26.35-42.855-26.35-68.112V264.626c0-55.808 45.404-101.211 101.212-101.211H853.16c55.808 0 101.21 45.403 101.21 101.211v225.513c0 .275-.006.552-.018.826-.022.494-1.972 51.723 15.481 85.462 4.717 9.119 1.148 20.335-7.97 25.053-9.117 4.714-20.335 1.15-25.053-7.97-21.3-41.177-19.845-97.643-19.619-103.74V264.627c0-35.307-28.724-64.031-64.03-64.031H161.515c-35.308 0-64.032 28.724-64.032 64.031v526.711c0 32.755 24.321 59.958 56.718 63.62l208.431.412h490.53c35.306 0 64.03-28.725 64.03-64.032l-.382-93.677c-.105-1.75-1.587-19.548-19.55-42.5a9.548 9.548 0 0 1-.147-.19l-21.712-28.489-117.227-155.119c-.416-.55-38.995-50.852-86.272-45.534-38.335 4.315-75.955 45.164-108.79 118.132-17.615 39.141-34.65 68.269-52.082 89.046-17.607 20.986-35.68 33.52-55.251 38.317-43.423 10.638-81.05-18.995-120.887-50.373l-5.057-3.98c-46.555-36.578-68.75-28.224-158.33 59.602-7.33 7.188-19.1 7.071-26.289-.26-7.187-7.33-7.07-19.1.26-26.287 46.659-45.746 77.544-72.727 107.086-84.283 33.358-13.048 64.275-6.267 100.242 21.994l5.093 4.008c33.923 26.72 63.22 49.795 89.029 43.467 25.618-6.279 53.3-42.114 82.28-106.509 39.14-86.976 85.838-134.027 138.797-139.849 68.454-7.515 117.824 57.405 119.892 60.172l117.122 154.98 21.6 28.344c26.277 33.631 27.334 61.639 27.367 64.725l.001.128.384 94.06c.001 55.884-45.4 101.287-101.209 101.287zM312.328 446.968c-42.325 0-76.759-34.434-76.759-76.76s34.434-76.759 76.76-76.759 76.759 34.435 76.759 76.76-34.434 76.759-76.76 76.759zm0-116.34c-21.824 0-39.579 17.756-39.579 39.58s17.755 39.58 39.58 39.58 39.579-17.756 39.579-39.58-17.755-39.58-39.58-39.58z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Dy=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},R3,14,_3))}}),F3=["aria-labelledby"],O3=[(0,l.createElementVNode)("path",{d:"M696.43 465.25c40.61 0 73.53-32.72 73.53-73.09s-32.96-73.08-73.53-73.08-73.54 32.72-73.54 73.08 32.92 73.09 73.54 73.09zM535.74 650.62l-273.61-259.4a56.19 56.19 0 0 0-15.36 11.58l-114 119.63-6-222.77c-.73-26.82 20.84-49.41 47.67-50.14l201.77-5.44 47.34-50-250.43 6.75C119 202.33 76.33 247.17 77.78 301l7.32 271.4 4.5 166.78C91.06 793 136.05 835.47 190.2 834l176-4.75 12-.32 47.34-50 116.18-122.64zM861.71 214.8l-242.83-33.86-55.09 41.46L855 263a49.05 49.05 0 0 1 41.79 55.13l-54.33 389.59-120.87-159.05A59.86 59.86 0 0 0 638.06 537l-44 33.08 65.07 86.15L603.84 698l-79.57 60.1-54.92 41.48 34.17 4.76 270.73 37.76a97.55 97.55 0 0 0 109.88-79.6 22.37 22.37 0 0 0 .65-3.44l60.53-434.16c7.44-53.32-29.95-102.62-83.6-110.1z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],My=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},O3,14,F3))}}),H3=["aria-labelledby"],q3=(0,l.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.012z",fill:"currentColor","fill-opacity":"0.9"},null,-1),j3=(0,l.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.427zM545.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.666 35.666 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.172zM507.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.457z",fill:"currentColor","fill-opacity":"0.9"},null,-1),Ay=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},[q3,(0,l.createTextVNode)(","),j3],14,H3))}}),K3=["aria-labelledby"],W3=[(0,l.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.955 27.955 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.716zm-39.586 806.967L372.03 652.015a27.936 27.936 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.305 28.305 0 0 0 19.94 8.238zm168.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.178zm-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.396 28.396 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.82l-112.6-112.601z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Iy=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},W3,14,K3))}}),Y3=["aria-labelledby"],U3=[(0,l.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.545zm0 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.546zm0-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.545z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Py=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1090 1024","aria-labelledby":t.name,role:"presentation"},U3,14,Y3))}}),G3=["aria-labelledby"],X3=[(0,l.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.545zm0 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.546zm0-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.545z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Ly=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},X3,14,G3))}}),Q3=["aria-labelledby"],Z3=[(0,l.createElementVNode)("path",{d:"M761.436 1024H262.564c-131.282 0-236.308-105.026-236.308-236.308V404.35c0-52.513 26.257-102.4 68.267-131.282L467.364 21.005c26.257-18.38 60.39-18.38 89.272 0l372.84 252.062c42.011 28.882 68.268 78.769 68.268 131.282v383.343c0 131.282-105.026 236.308-236.308 236.308zM139.159 338.708c-21.005 15.754-34.133 39.384-34.133 65.64v383.344c0 86.646 70.892 157.539 157.538 157.539h498.872c86.646 0 157.538-70.893 157.538-157.539V404.35c0-26.257-13.128-49.887-34.133-65.641L512 86.646 139.159 338.708zm451.61 396.471H433.231c-21.005 0-39.385-18.379-39.385-39.384s18.38-39.385 39.385-39.385h157.538c21.005 0 39.385 18.38 39.385 39.385s-18.38 39.384-39.385 39.384z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],_y=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},Z3,14,Q3))}}),J3=["aria-labelledby"],ed=[(0,l.createElementVNode)("path",{d:"M703.84 479.936H511.968v-255.84c0-17.728-14.24-32.096-31.968-32.096-17.76 0-32 14.4-32 32.096v287.808c0 17.76 14.272 32 32 32h223.872c17.76 0 32.096-14.24 32.096-32 0-17.728-14.368-31.968-32.128-31.968zM224 320h-96v-96c0-17.664-14.336-32-32-32s-32 14.336-32 32v128c0 17.664 14.336 32 32 32h128c17.664 0 32-14.336 32-32s-14.336-32-32-32zm-84.992 283.488C136 584 123.264 573.344 105.6 573.344s-30.112 13.984-30.112 31.68c0 5.536 1.984 9.984 2.336 15.328C126.336 815.296 302.016 960 512 960c247.424 0 448-200.576 448-448S759.424 64 512 64C321.024 64 158.4 183.712 93.952 352h69.312C223.968 219.904 357.088 128 512 128c212.064 0 384 171.936 384 384S724.064 896 512 896c-178.88 0-328.736-122.464-371.424-288",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Ry=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1029 1024","aria-labelledby":t.name,role:"presentation"},ed,14,J3))}}),td=["aria-labelledby"],ld=[(0,l.createElementVNode)("path",{d:"M923 283.6c-13.4-31.1-32.6-58.9-56.9-82.8-24.3-23.8-52.5-42.4-84-55.5-32.5-13.5-66.9-20.3-102.4-20.3-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5-24.4 23.9-43.5 51.7-56.9 82.8-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Fy=(0,l.defineComponent)({__name:"Heart2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},ld,14,td))}}),nd=["aria-labelledby"],ad=[(0,l.createElementVNode)("path",{d:"M923 283.6c-13.4-31.1-32.6-58.9-56.9-82.8-24.3-23.8-52.5-42.4-84-55.5-32.5-13.5-66.9-20.3-102.4-20.3-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5-24.4 23.9-43.5 51.7-56.9 82.8-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Oy=(0,l.defineComponent)({__name:"Heart1",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},ad,14,nd))}}),rd=["aria-labelledby"],od=[(0,l.createElementVNode)("path",{d:"M1104.113 216.425a336.535 336.535 0 0 0-73.638-107.158 342.167 342.167 0 0 0-108.724-71.83 343.371 343.371 0 0 0-132.518-26.263c-63.76 0-126.012 17.468-180.104 50.477a335.694 335.694 0 0 0-36.894 26.021 337.348 337.348 0 0 0-36.894-26.021 345.63 345.63 0 0 0-180.103-50.507c-45.96 0-90.474 8.794-132.518 26.262a341.444 341.444 0 0 0-108.725 71.83A334.456 334.456 0 0 0 13.161 348.25c0 43.099 8.825 88.004 26.293 133.723 14.607 38.159 35.57 77.763 62.344 117.76 42.466 63.247 100.834 129.265 173.297 196.156 120.109 110.923 239.043 187.543 244.073 190.645l30.69 19.666a41.562 41.562 0 0 0 44.634 0l30.66-19.666c5.06-3.253 123.874-79.722 244.073-190.645 72.494-66.891 130.831-132.91 173.297-196.186 26.805-39.967 47.887-79.571 62.344-117.76 17.498-45.689 26.293-90.594 26.293-133.693a329.487 329.487 0 0 0-27.046-131.855zM572.235 903.831s-460.71-295.153-460.71-555.55c0-131.856 109.087-238.743 243.683-238.743 94.6 0 176.64 52.796 217.027 129.927 40.358-77.13 122.429-129.927 217.028-129.927 134.596 0 243.652 106.887 243.652 238.742.03 260.398-460.68 555.58-460.68 555.58z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Hy=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1144 1024","aria-labelledby":t.name,role:"presentation"},od,14,rd))}}),id=["aria-labelledby"],sd=[(0,l.createElementVNode)("path",{d:"M923 283.6c-13.4-31.1-32.6-58.9-56.9-82.8-24.3-23.8-52.5-42.4-84-55.5-32.5-13.5-66.9-20.3-102.4-20.3-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5-24.4 23.9-43.5 51.7-56.9 82.8-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],qy=(0,l.defineComponent)({__name:"HeartN",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},sd,14,id))}}),cd=["aria-labelledby"],ud=[(0,l.createElementVNode)("path",{d:"M923 283.6c-13.4-31.1-32.6-58.9-56.9-82.8-24.3-23.8-52.5-42.4-84-55.5-32.5-13.5-66.9-20.3-102.4-20.3-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5-24.4 23.9-43.5 51.7-56.9 82.8-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],jy=(0,l.defineComponent)({__name:"HeartFill3",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},ud,14,cd))}}),dd=["aria-labelledby"],fd=[(0,l.createElementVNode)("path",{d:"m572.235 1020.988-54.211-33.13s-120.471-78.305-243.953-189.74C201.788 731.858 144.565 665.6 99.388 602.353 72.282 563.2 51.2 524.047 36.141 484.894c-18.07-45.176-27.106-90.353-27.106-132.518 0-45.176 9.036-90.352 27.106-132.517 18.07-39.153 42.165-75.294 72.283-108.424 30.117-30.117 69.27-54.211 108.423-72.282 99.388-42.165 219.859-33.13 313.224 24.094l36.14 27.106 36.142-27.106C695.718 6.024 816.188-3.012 915.576 39.153c42.165 18.07 78.306 42.165 108.424 72.282 33.13 30.118 57.224 66.26 72.282 108.424 18.07 42.165 27.106 87.341 27.106 132.517 0 42.165-9.035 87.342-27.106 132.518-15.058 36.141-36.14 78.306-63.247 117.459-42.164 63.247-99.388 129.506-174.682 195.765C740.894 906.54 626.447 981.835 614.4 987.858l-42.165 33.13zM355.388 102.4c-33.13 0-66.259 6.024-96.376 18.07-30.118 12.048-57.224 30.118-81.318 54.212-24.094 24.094-42.165 48.189-54.212 78.306-12.047 30.118-21.082 63.247-21.082 96.377s6.024 66.259 21.082 102.4c12.047 33.13 30.118 66.259 54.212 99.388 39.153 57.223 93.365 117.459 159.624 180.706C451.765 837.27 566.212 912.565 569.224 912.565l6.023 3.011 3.012-3.011c6.023-3.012 117.459-75.294 231.906-180.706 66.259-63.247 120.47-123.483 159.623-180.706 24.094-36.141 42.165-69.27 54.212-99.388 15.059-36.141 21.082-69.27 21.082-102.4s-6.023-66.26-21.082-96.377c-12.047-30.117-30.118-54.212-54.212-78.306-27.106-24.094-51.2-42.164-81.317-54.211-72.283-30.118-162.636-24.095-231.906 18.07l-27.106 18.07c-9.035 6.024-15.059 15.06-24.094 21.083l-33.13 36.141-33.13-33.13c-9.034-9.034-15.058-15.058-24.093-21.081l-27.106-18.071c-39.153-27.106-84.33-39.153-132.518-39.153z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Ky=(0,l.defineComponent)({__name:"HeartFill2",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1144 1024","aria-labelledby":t.name,role:"presentation"},fd,14,dd))}}),md=["aria-labelledby"],hd=[(0,l.createElementVNode)("path",{d:"M1104.113 216.425a336.535 336.535 0 0 0-73.638-107.158 342.167 342.167 0 0 0-108.724-71.83 343.371 343.371 0 0 0-132.518-26.263c-63.76 0-126.012 17.468-180.104 50.477a335.694 335.694 0 0 0-36.894 26.021 337.348 337.348 0 0 0-36.894-26.021 345.63 345.63 0 0 0-180.103-50.507c-45.96 0-90.474 8.794-132.518 26.262a341.444 341.444 0 0 0-108.725 71.83A334.456 334.456 0 0 0 13.161 348.25c0 43.099 8.825 88.004 26.293 133.723 14.607 38.159 35.57 77.763 62.344 117.76 42.466 63.247 100.834 129.265 173.297 196.156 120.109 110.923 239.043 187.543 244.073 190.645l30.69 19.666a41.562 41.562 0 0 0 44.634 0l30.66-19.666c5.06-3.253 123.874-79.722 244.073-190.645 72.494-66.891 130.831-132.91 173.297-196.186 26.805-39.967 47.887-79.571 62.344-117.76 17.498-45.689 26.293-90.594 26.293-133.693a329.487 329.487 0 0 0-27.046-131.855z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Wy=(0,l.defineComponent)({__name:"HeartFill1",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1144 1024","aria-labelledby":t.name,role:"presentation"},hd,14,md))}}),pd=["aria-labelledby"],gd=[(0,l.createElementVNode)("path",{d:"M923 283.6c-13.4-31.1-32.6-58.9-56.9-82.8-24.3-23.8-52.5-42.4-84-55.5-32.5-13.5-66.9-20.3-102.4-20.3-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5-24.4 23.9-43.5 51.7-56.9 82.8-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Yy=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},gd,14,pd))}}),yd=["aria-labelledby"],bd=[(0,l.createElementVNode)("path",{d:"M923 283.6c-13.4-31.1-32.6-58.9-56.9-82.8-24.3-23.8-52.5-42.4-84-55.5-32.5-13.5-66.9-20.3-102.4-20.3-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5-24.4 23.9-43.5 51.7-56.9 82.8-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Uy=(0,l.defineComponent)({__name:"HeartFillN",props:{class:{type:String,default:""},name:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""}},emits:["click"],setup(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},bd,14,yd))}}),Sd=["aria-labelledby"],wd=[(0,l.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)],Gy=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},wd,14,Sd))}}),vd=["aria-labelledby"],Nd=(0,l.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.6zm-627.2-44.8c0-25.6 22.4-48 48-48h294.4c25.6 0 48 22.4 48 48V192H316.8v-44.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.2v624z",fill:"currentColor","fill-opacity":"0.9"},null,-1),Cd=(0,l.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.6zM528 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.6zM688 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.6z",fill:"currentColor","fill-opacity":"0.9"},null,-1),Xy=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},[Nd,(0,l.createTextVNode)(","),Cd],14,vd))}}),kd=["aria-labelledby"],xd=[(0,l.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.477zm-454.03 581.604a42.752 42.752 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.453 218.453 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.86a643.527 643.527 0 0 0-4.694-13.71 11056.384 11056.384 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)],Qy=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},xd,14,kd))}}),zd=["aria-labelledby"],Ed=[(0,l.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.412L89.988 645.43zm946.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.206-9.309-3.103-15.515-6.206-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)],Zy=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1120 1024","aria-labelledby":t.name,role:"presentation"},Ed,14,zd))}}),Td=["aria-labelledby"],$d=[(0,l.createElementVNode)("path",{d:"M512 1024C230.4 1024 0 793.6 0 512S230.4 0 512 0s512 230.4 512 512-230.4 512-512 512zm0-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.09zM377.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.91c-6.982 2.327-11.637 6.981-13.964 13.963l-34.91 95.418 95.42-34.909c6.98-2.327 11.635-6.982 13.963-13.964l34.909-95.418z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Jy=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},$d,14,Td))}}),Bd=["aria-labelledby"],Vd=(0,l.createElementVNode)("path",{d:"M547.84 969.547a32.286 32.286 0 0 1-31.744-32.707V376.952c0-7.83 2.71-15.36 7.71-21.323l240.58-288.768H111.917L332.8 356.774a33.551 33.551 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.021 31.021 0 0 1-44.514 0L285.515 747.881a33.07 33.07 0 0 1-9.276-23.13V388.277L21.745 54.332a33.49 33.49 0 0 1 5.3-45.96 31.202 31.202 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 389.12v547.72c0 18.07-14.216 32.707-31.684 32.707",fill:"currentColor","fill-opacity":"0.9"},null,-1),Dd=(0,l.createElementVNode)("path",{d:"M701.68 475.016a32.286 32.286 0 0 1-31.2-33.13A32.045 32.045 0 0 1 701.8 409.54H946.96c17.529 0 31.744 14.697 31.744 32.768 0 18.07-14.215 32.708-31.684 32.708H701.681zm0 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.708H701.681zm0 204.8a31.021 31.021 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),eb=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},[Vd,(0,l.createTextVNode)(","),Dd],14,Bd))}}),Md=["aria-labelledby"],Ad=(0,l.createElementVNode)("path",{d:"M512 394.688a31.872 31.872 0 0 1 22.592 9.344l128 127.68a32 32 0 0 1-45.184 45.312L544 503.808v221.504a32 32 0 1 1-64 0v-221.44l-73.344 73.408a32 32 0 1 1-45.312-45.248l128-128 .192-.128A31.872 31.872 0 0 1 512 394.688z",fill:"currentColor","fill-opacity":"0.9"},null,-1),Id=(0,l.createElementVNode)("path",{d:"M149.312 96c-41.216 0-74.624 33.408-74.624 74.688v682.624c0 41.28 33.408 74.688 74.624 74.688h725.376c41.216 0 74.624-33.408 74.624-74.688V298.688c0-41.28-33.408-74.688-74.624-74.688H526.976l-97.088-116.48A32 32 0 0 0 405.312 96h-256zm-10.624 74.688c0-5.888 4.736-10.688 10.624-10.688H390.4l97.088 116.48A32 32 0 0 0 512 288h362.688c5.888 0 10.624 4.8 10.624 10.688v554.624A10.688 10.688 0 0 1 874.688 864H149.312a10.688 10.688 0 0 1-10.624-10.688V170.688z",fill:"currentColor","fill-opacity":"0.9"},null,-1),tb=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},[Ad,(0,l.createTextVNode)(","),Id],14,Md))}}),Pd=["aria-labelledby"],Ld=[(0,l.createElementVNode)("path",{d:"M512 1024C229.831 1024 0 794.169 0 512S229.831 0 512 0s512 229.831 512 512-229.831 512-512 512zm0-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.267zm111.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.938l111.502-111.502z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],_d=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},Ld,14,Pd))}}),Rd=["aria-labelledby"],Fd=[(0,l.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.481V1024zm56.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 1024zM519.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.274 269.274 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)],lb=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1061 1024","aria-labelledby":t.name,role:"presentation"},Fd,14,Rd))}}),Od=["aria-labelledby"],Hd=[(0,l.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)],nb=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1210 1024","aria-labelledby":t.name,role:"presentation"},Hd,14,Od))}}),qd=["aria-labelledby"],jd=[(0,l.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.638zm-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.259L508.46 678.585zM264.727 736.86c-6.003 12.106 5.592 24.54 18.521 18.532l141.877-85.937-74.518-74.567-85.88 141.973zm132.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.122z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],ab=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},jd,14,qd))}}),Kd=["aria-labelledby"],Wd=[(0,l.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.152c0-24.824 9.31-46.545 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.618zM781.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.546z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],rb=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},Wd,14,Kd))}}),Yd=["aria-labelledby"],Ud=[(0,l.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.644 18.963-22.756 56.888-26.549 79.644-7.586 75.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.267zm295.822-3.793c-68.266 0-128.948-26.548-182.044-79.644-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.792zm-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.51 49.304 7.585 94.815-7.586 136.534-45.512 22.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.644zM910.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.281 910.222 496.83zM174.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.17c-68.267 0-128.948-26.549-182.044-79.645-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.511 7.585 30.341-15.17 60.682-45.511 68.267-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.459zm-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.008-109.985 26.548zM686.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)],ob=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1327 1024","aria-labelledby":t.name,role:"presentation"},Ud,14,Yd))}}),Gd=["aria-labelledby"],Xd=[(0,l.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.312zm0-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.312zm0-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.376zm527.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.312zm0-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.312zm0-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",fill:"currentColor","fill-opacity":"0.9"},null,-1)],ib=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},Xd,14,Gd))}}),Qd=["aria-labelledby"],Zd=[(0,l.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.8H204.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)],sb=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},Zd,14,Qd))}}),Jd=["aria-labelledby"],e4=[(0,l.createElementVNode)("path",{d:"M512 138.667a288 288 0 0 1 287.403 269.269 245.333 245.333 0 1 1-146.774 468.139 32 32 0 1 1 17.408-61.611 181.333 181.333 0 0 0 91.734-350.89 32 32 0 0 1-24.406-27.52 33.152 33.152 0 0 1-1.365-9.387 224 224 0 0 0-448 0 32 32 0 0 1-15.104 27.178 31.659 31.659 0 0 1-16.384 9.728 181.419 181.419 0 1 0 91.733 350.891 32 32 0 1 1 17.451 61.61 245.333 245.333 0 0 1-140.97-470.058A288 288 0 0 1 512 138.666zm0 275.712a32 32 0 0 1 32 32V733.78l97.621-96.81 3.584-3.072a32 32 0 0 1 44.587 44.928l-3.115 3.584-152.149 150.954-3.584 3.115a32 32 0 0 1-37.632.17l-3.968-3.413-148.01-148.394-3.073-3.584a32 32 0 0 1-.256-37.675l3.414-4.01 3.584-3.073a32 32 0 0 1 37.674-.256l4.011 3.414 93.27 93.568V446.379l.298-4.352A32 32 0 0 1 512 414.379z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],cb=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},e4,14,Jd))}}),t4=["aria-labelledby"],l4=[(0,l.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)],ub=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},l4,14,t4))}}),n4=["aria-labelledby"],a4=(0,l.createElementVNode)("path",{d:"M556.8 535.893 170.667 149.76c-13.227-13.227-13.227-34.987 0-48.213 13.226-13.227 34.986-13.227 48.213 0L605.013 487.68c13.227 13.227 13.227 34.987 0 48.213-13.226 13.227-34.986 13.227-48.213 0z",fill:"currentColor","fill-opacity":"0.9"},null,-1),r4=(0,l.createElementVNode)("path",{d:"M170.667 873.813 556.8 487.68c13.227-13.227 34.987-13.227 48.213 0 13.227 13.227 13.227 34.987 0 48.213L218.88 922.027c-13.227 13.226-34.987 13.226-48.213 0a33.493 33.493 0 0 1 0-48.214zM825.173 536.32 439.04 150.187c-13.227-13.227-13.227-34.987 0-48.214 13.227-13.226 34.987-13.226 48.213 0l386.134 386.134c13.226 13.226 13.226 34.986 0 48.213a33.493 33.493 0 0 1-48.214 0z",fill:"currentColor","fill-opacity":"0.9"},null,-1),o4=(0,l.createElementVNode)("path",{d:"m439.04 874.24 386.133-386.133c13.227-13.227 34.987-13.227 48.214 0 13.226 13.226 13.226 34.986 0 48.213L487.253 922.453c-13.226 13.227-34.986 13.227-48.213 0-13.227-13.226-13.227-34.56 0-48.213z",fill:"currentColor","fill-opacity":"0.9"},null,-1),db=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},[a4,(0,l.createTextVNode)(","),r4,(0,l.createTextVNode)(","),o4],14,n4))}}),i4=["aria-labelledby"],s4=(0,l.createElementVNode)("path",{d:"M487.253 535.893 873.387 149.76c13.226-13.227 13.226-34.987 0-48.213-13.227-13.227-34.987-13.227-48.214 0L439.04 487.68c-13.227 13.227-13.227 34.987 0 48.213 13.227 13.227 34.987 13.227 48.213 0z",fill:"currentColor","fill-opacity":"0.9"},null,-1),c4=(0,l.createElementVNode)("path",{d:"M873.387 873.813 487.253 487.68c-13.226-13.227-34.986-13.227-48.213 0-13.227 13.227-13.227 34.987 0 48.213l386.133 386.134c13.227 13.226 34.987 13.226 48.214 0 13.226-13.227 13.226-34.987 0-48.214zM218.88 536.32l386.133-386.133c13.227-13.227 13.227-34.987 0-48.214-13.226-13.226-34.986-13.226-48.213 0L170.667 488.107c-13.227 13.226-13.227 34.986 0 48.213 13.226 13.653 34.986 13.653 48.213 0z",fill:"currentColor","fill-opacity":"0.9"},null,-1),u4=(0,l.createElementVNode)("path",{d:"M605.013 874.24 218.88 488.107c-13.227-13.227-34.987-13.227-48.213 0-13.227 13.226-13.227 34.986 0 48.213L556.8 922.453c13.227 13.227 34.987 13.227 48.213 0 13.227-13.226 13.227-34.56 0-48.213z",fill:"currentColor","fill-opacity":"0.9"},null,-1),fb=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},[s4,(0,l.createTextVNode)(","),c4,(0,l.createTextVNode)(","),u4],14,i4))}}),d4=["aria-labelledby"],f4=[(0,l.createElementVNode)("path",{d:"M199.36 572.768a31.904 31.904 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.624zm339.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.248l-308.32-308.352z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],mb=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},f4,14,d4))}}),m4=["aria-labelledby"],h4=[(0,l.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.584zm-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.768h19.373zm243.546 0zm-304.432-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.838zM539.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.378 121.773 0 240.778-52.583 312.735-141.146 11.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.519z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],hb=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1079 1024","aria-labelledby":t.name,role:"presentation"},h4,14,m4))}}),p4=["aria-labelledby"],g4=[(0,l.createElementVNode)("path",{d:"M683.886 991.086H336.457c-124.343 0-226.743-102.4-226.743-226.743V182.857h804.572v577.829c0 128-102.4 230.4-230.4 230.4zM219.429 292.57v468.115c0 65.828 54.857 117.028 117.028 117.028h347.429c65.828 0 117.028-54.857 117.028-117.028V292.57H219.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.857zM640 109.714H387.657c-29.257 0-54.857-25.6-54.857-54.857S358.4 0 387.657 0H640c32.914 0 54.857 25.6 54.857 54.857S672.914 109.714 640 109.714z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],pb=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},g4,14,p4))}}),y4=["aria-labelledby"],b4=[(0,l.createElementVNode)("path",{d:"M668.444 1024H355.556c-142.223 0-256-113.778-256-256V170.667h824.888V768c0 142.222-113.777 256-256 256zM184.89 256v512c0 93.867 76.8 170.667 170.667 170.667h312.888c93.867 0 170.667-76.8 170.667-170.667V256H184.89zm753.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)],gb=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},b4,14,y4))}}),S4=["aria-labelledby"],w4=[(0,l.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 1024zM249.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.054H249.08zm719.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.514zM332.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.514zm332.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.514z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],yb=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},w4,14,S4))}}),v4=["aria-labelledby"],N4=[(0,l.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.933zM259.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.948H259.793zm56.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.17zm193.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)],bb=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},N4,14,v4))}}),C4=["aria-labelledby"],k4=[(0,l.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.286z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Sb=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1026 1024","aria-labelledby":t.name,role:"presentation"},k4,14,C4))}}),x4=["aria-labelledby"],z4=[(0,l.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)],oo=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1026 1024","aria-labelledby":t.name,role:"presentation"},z4,14,x4))}}),E4=["aria-labelledby"],T4=[(0,l.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.414zM877.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.585L877.587 998z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],wb=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1026 1024","aria-labelledby":t.name,role:"presentation"},T4,14,E4))}}),$4=["aria-labelledby"],B4=[(0,l.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.966zM706.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 512l139.81 139.81z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],vb=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},B4,14,$4))}}),V4=["aria-labelledby"],D4=[(0,l.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.77zm183.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.64zm-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.385z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Nb=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},D4,14,V4))}}),M4=["aria-labelledby"],A4=[(0,l.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.688 435.688 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.637 509.637 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)],Cb=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},A4,14,M4))}}),I4=["aria-labelledby"],P4=[(0,l.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)],io=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},P4,14,I4))}}),L4=["aria-labelledby"],_4=[(0,l.createElementVNode)("path",{d:"M451.243 802.133a101.717 101.717 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.653 13.653 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)],kb=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},_4,14,L4))}}),R4=["aria-labelledby"],F4=[(0,l.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)],O4=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},F4,14,R4))}}),H4=["aria-labelledby"],q4=[(0,l.createElementVNode)("path",{d:"M512 992C246.904 992 32 777.096 32 512S246.904 32 512 32s480 214.904 480 480-214.904 480-480 480zM270.243 527.725l161.622 163.812a.57.57 0 0 0 .81.015l321.132-321.908a.292.292 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.319.319 0 0 0-.424.02l-37.762 38.274a.288.288 0 0 0-.004.413z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],xb=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},q4,14,H4))}}),j4=["aria-labelledby"],K4=[(0,l.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)],W4=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},K4,14,j4))}}),Y4=["aria-labelledby"],U4=[(0,l.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 0zm202.55 571.077H306.73c-45.01 0-67.516-22.506-67.516-67.517 0-45.01 22.505-67.516 67.516-67.516h402.286c45.01 0 67.516 22.505 67.516 67.516 0 45.011-22.505 67.517-67.516 67.517z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],zb=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},U4,14,Y4))}}),G4=["aria-labelledby"],X4=[(0,l.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.837zm0 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.075zM382.968 513.418a127.645 127.645 0 1 0 255.29 0 127.645 127.645 0 1 0-255.29 0z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Eb=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1032 1024","aria-labelledby":t.name,role:"presentation"},X4,14,G4))}}),Q4=["aria-labelledby"],Z4=[(0,l.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.914zM160.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.143H160.914zM307.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 1024zM160.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.143H160.914zm629.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.114zm0-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.77zm73.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.914zM716.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.143H716.8z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Tb=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},Z4,14,Q4))}}),J4=["aria-labelledby"],ef=[(0,l.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 1024zM754.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.176zM246.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 1024zm0-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.548zm-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)],$b=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1061 1024","aria-labelledby":t.name,role:"presentation"},ef,14,J4))}}),tf=["aria-labelledby"],lf=[(0,l.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 1024zM826.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.338zm0-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)],Bb=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1092 1024","aria-labelledby":t.name,role:"presentation"},lf,14,tf))}}),nf=["aria-labelledby"],af=[(0,l.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.77zm0 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 0z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Vb=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},af,14,nf))}}),rf=["aria-labelledby"],of=[(0,l.createElementVNode)("path",{d:"M512 1024C230.4 1024 0 793.6 0 512S230.4 0 512 0s512 230.4 512 512-230.4 512-512 512zm0-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.333zm0 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.933zm-64 110.933a64 64 0 1 0 128 0 64 64 0 1 0-128 0z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Db=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},of,14,rf))}}),sf=["aria-labelledby"],cf=[(0,l.createElementVNode)("path",{d:"M623.406 815.479A129.722 129.722 0 1 1 487.068 594.95C691.9 468.083 896.73 341.993 1101.691 215.125a194.583 194.583 0 0 1 204.442 0l614.494 379.567a129.722 129.722 0 1 1-136.338 220.657l-580.506-358.292-580.377 358.422",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Mb=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2472 1024","aria-labelledby":t.name,role:"presentation"},cf,14,sf))}}),uf=["aria-labelledby"],df=[(0,l.createElementVNode)("path",{d:"M1489.611 733.18a92.288 92.288 0 1 0 97.021-157.036c-145.758-90.073-291.516-179.945-437.375-270.068a138.558 138.558 0 0 0-145.506 0C858.094 396.199 712.336 486.07 566.578 576.144a92.288 92.288 0 1 0 97.02 157.036l413.007-255.064 413.057 255.064",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Ab=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2252 1024","aria-labelledby":t.name,role:"presentation"},df,14,uf))}}),ff=["aria-labelledby"],mf=[(0,l.createElementVNode)("path",{d:"M312.38 132.53a84.855 84.855 0 1 1 144.254-89.183L704.92 445.389a127.282 127.282 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)],Ib=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},mf,14,ff))}}),hf=["aria-labelledby"],pf=[(0,l.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)],gf=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},pf,14,hf))}}),yf=["aria-labelledby"],bf=[(0,l.createElementVNode)("path",{d:"M1741.19 227.497a121.654 121.654 0 1 1 127.858 206.812L1292.65 790.27a182.482 182.482 0 0 1-191.727 0L524.646 434.31a121.654 121.654 0 1 1 127.859-206.812l544.403 335.887c181.387-111.8 362.773-223.965 544.282-335.887",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Pb=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2472 1024","aria-labelledby":t.name,role:"presentation"},bf,14,yf))}}),Sf=["aria-labelledby"],wf=[(0,l.createElementVNode)("path",{d:"M1517.651 260.347a105.004 105.004 0 1 1 110.389 178.672c-165.84 102.483-331.68 204.737-497.636 307.277a157.649 157.649 0 0 1-165.554 0c-165.725-102.54-331.566-204.794-497.406-307.277a105.004 105.004 0 1 1 110.331-178.672l469.967 290.206 469.91-290.206",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Lb=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2252 1024","aria-labelledby":t.name,role:"presentation"},wf,14,Sf))}}),vf=["aria-labelledby"],Nf=[(0,l.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.383zM122.88 664.137c-14.629 0-26.331-5.851-35.109-17.554-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.777zm915.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.331zm-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.554 11.703 20.48 2.926 46.812-17.554 58.514-20.48 11.703-40.96 20.48-58.514 29.258l-20.48 8.777c-8.777 5.851-20.48 5.851-29.257 5.851zm-5.852-84.846zm11.703 0zM1038.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.886z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],_b=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1111 1024","aria-labelledby":t.name,role:"presentation"},Nf,14,vf))}}),Cf=["aria-labelledby"],kf=[(0,l.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.857zm-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.857zm-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.2zM475.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.8 21.943-18.285 58.515-14.628 76.8 7.315 14.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.856zm0 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)],Rb=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},kf,14,Cf))}}),xf=["aria-labelledby"],zf=[(0,l.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.6zm-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.96-20.48-5.12-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.04zm404.48 56.32zm-207.36-48.64V128l35.84 7.68-35.84-10.24zm-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.36zm243.2 15.36a64 64 0 1 0 128 0 64 64 0 1 0-128 0zm-512 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0zm629.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 128zm-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.44z",fill:"currentColor","fill-opacity":"0.9"},null,-1)],Fb=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},zf,14,xf))}}),Ef=["aria-labelledby"],Tf=[(0,l.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)],Ob=(0,l.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(t,{emit:a}){const n=t,i=a,o=e=>{i("click",e)},r=e=>{if(e)return isNaN(Number(e))?String(e):e+"px"},s=(0,l.computed)(()=>{const e="fox-icon";return{[e]:!0,[e+"-"+n.name]:n.name,[n.class]:!!n.class}}),c=(0,l.computed)(()=>{const e={};return e.height=r(n.height)??r(n.size),e.width=r(n.width)??r(n.size),e.color=n.color,e});return(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{class:(0,l.normalizeClass)(s.value),style:(0,l.normalizeStyle)(c.value),onClick:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024","aria-labelledby":t.name,role:"presentation"},Tf,14,Ef))}}),{componentName:$f,create:Bf}=ce("popup"),Vf=Bf(j1($f,{FoxOverLay:Hl,Close:oo}));function Df(t,a,n,i,o,r){const s=(0,l.resolveComponent)("FoxOverLay"),c=(0,l.resolveComponent)("Close");return(0,l.openBlock)(),(0,l.createBlock)(l.Teleport,{to:t.teleport,disabled:t.teleportDisable},[t.overlay?((0,l.openBlock)(),(0,l.createBlock)(s,(0,l.mergeProps)({key:0,visible:t.visible,"close-on-click-overlay":t.closeOnClickOverlay,"z-index":t.zIndex,"lock-scroll":t.lockScroll,duration:t.duration,"overlay-class":t.overlayClass,"overlay-style":t.overlayStyle,onClick:t.onClickOverlay},t.$attrs),null,16,["visible","close-on-click-overlay","z-index","lock-scroll","duration","overlay-class","overlay-style","onClick"])):(0,l.createCommentVNode)("",!0),(0,l.createVNode)(l.Transition,{name:t.transitionName,onAfterEnter:t.onOpened,onAfterLeave:t.onClosed},{default:(0,l.withCtx)(()=>[(0,l.withDirectives)((0,l.createElementVNode)("view",{class:(0,l.normalizeClass)(t.classes),style:(0,l.normalizeStyle)(t.popStyle),onClick:a[1]||(a[1]=(...e)=>t.onClick&&t.onClick(...e))},[t.showSlot?(0,l.renderSlot)(t.$slots,"default",{key:0}):(0,l.createCommentVNode)("",!0),t.closed?((0,l.openBlock)(),(0,l.createElementBlock)("view",{key:1,onClick:a[0]||(a[0]=(...e)=>t.onClickCloseIcon&&t.onClickCloseIcon(...e)),class:(0,l.normalizeClass)(["fox-popup__close-icon","fox-popup__close-icon--"+t.closeIconPosition])},[(0,l.renderSlot)(t.$slots,"close-icon",{},()=>[(0,l.createVNode)(c)])],2)):(0,l.createCommentVNode)("",!0)],6),[[l.vShow,t.visible]])]),_:3},8,["name","onAfterEnter","onAfterLeave"])],8,["to","disabled"])}var st=De(Vf,[["render",Df]]),{create:Mf,scope:Af}=ce("calendar-pane"),If=Mf({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:fe.getDay(0)},endDate:{type:String,default:fe.getDay(365)},firstDayOfWeek:{type:Number,default:0}},emits:["choose","update","close","select"],setup(t,{emit:a,slots:n,expose:i}){const{toLocaleRefs:o,t:r}=(0,Ne.useFoxI18n)(Af),s=o(t,["title","confirmText","startText","endText","today"]),c=(0,l.computed)(()=>({height:"39px"})),e=(0,l.computed)(()=>({height:"64px"})),u=JSON.parse(r("weekdays")),h=(0,l.ref)([...u.slice(t.firstDayOfWeek,7),...u.slice(0,t.firstDayOfWeek)]),d=(0,l.ref)(null),m=(0,l.ref)(null),T=(0,l.ref)(null),E=(0,l.ref)(null),S=(0,l.ref)(0),y=(0,l.computed)(()=>f.monthsData.slice(f.defaultRange[0],f.defaultRange[1])),g=(0,l.computed)(()=>n.btn),p=(0,l.computed)(()=>n["top-info"]),v=(0,l.computed)(()=>n["bottom-info"]),f=(0,l.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:t.type==="range",timer:0,currentIndex:0,containerHeight:0,avgHeight:0,monthsNum:0}),A=G=>G.split("-"),V=G=>fe.isEqual(f.currDate[0],G),_=G=>fe.isEqual(f.currDate[1],G),K=G=>f.currDate?.length>0?f.currDate?.some(le=>fe.isEqual(le,G)):!1,j=(G,le)=>le.curData[0]+"-"+le.curData[1]+"-"+fe.getNumTwoBit(+G.day),q=(G,le)=>{const I=j(G,le),{type:J}=t;return G.type=="curr"?fe.isEqual(f.currDate,I)||(J=="range"||J=="week")&&(V(I)||_(I))||J=="multiple"&&K(I)?`${f.dayPrefix}--active`:f.propStartDate&&fe.compareDate(I,f.propStartDate)||f.propEndDate&&fe.compareDate(f.propEndDate,I)?`${f.dayPrefix}--disabled`:(J=="range"||J=="week")&&Array.isArray(f.currDate)&&Object.values(f.currDate).length==2&&fe.compareDate(f.currDate[0],I)&&fe.compareDate(I,f.currDate[1])?`${f.dayPrefix}--choose`:null:`${f.dayPrefix}--disabled`},k=()=>{const{type:G}=t;if(G=="range"&&f.chooseData.length==2||G!="range"){let le=f.chooseData.slice(0);G=="week"&&(le={weekDate:[z(f.chooseData[0]),z(f.chooseData[1])]}),a("choose",le),t.poppable&&a("update")}},R=(G,le,I=!1)=>{if(q(G,le)!=`${f.dayPrefix}--disabled`){const{type:J}=t;let[Q,P]=le.curData,b=[...le.curData];if(b[2]=fe.getNumTwoBit(Number(G.day)),b[3]=`${b[0]}-${b[1]}-${b[2]}`,b[4]=fe.getWhatDay(+b[0],+b[1],+b[2]),J=="multiple")if(f.currDate?.length>0){let C;f.currDate?.forEach((O,te)=>{O==b[3]&&(C=te)}),I?f.chooseData.push([...b]):C!==void 0?(f.currDate.splice(C,1),f.chooseData.splice(C,1)):(f.currDate.push(b[3]),f.chooseData.push([...b]))}else f.currDate=[b[3]],f.chooseData=[[...b]];else if(J=="range"){let C=Object.values(f.currDate).length;C==2||C==0?f.currDate=[b[3]]:fe.compareDate(f.currDate[0],b[3])?Array.isArray(f.currDate)&&f.currDate.push(b[3]):Array.isArray(f.currDate)&&f.currDate.unshift(b[3]),f.chooseData.length==2||!f.chooseData.length?f.chooseData=[[...b]]:fe.compareDate(f.chooseData[0][3],b[3])?f.chooseData=[...f.chooseData,[...b]]:f.chooseData=[[...b],...f.chooseData]}else if(J=="week"){let C=fe.getWeekDate(Q,P,G.day,t.firstDayOfWeek);f.propStartDate&&fe.compareDate(C[0],f.propStartDate)&&C.splice(0,1,f.propStartDate),f.propEndDate&&fe.compareDate(f.propEndDate,C[1])&&C.splice(1,1,f.propEndDate),f.currDate=C,f.chooseData=[fe.formatResultDate(C[0]),fe.formatResultDate(C[1])]}else f.currDate=b[3],f.chooseData=[...b];if(!I){let C=f.chooseData;J=="week"&&(C={weekDate:[z(f.chooseData[0]),z(f.chooseData[1])]}),a("select",C),(t.isAutoBackFill||!t.poppable)&&k()}}},z=G=>{let[le,I,J]=G;return{date:G,monthWeekNum:fe.getMonthWeek(le,I,J,t.firstDayOfWeek),yearWeekNum:fe.getYearWeek(le,I,J,t.firstDayOfWeek)}},N=G=>{const le=G=="prev"?f.monthsData[0]:f.monthsData[f.monthsData.length-1];let I=parseInt(le.curData[0]),J=parseInt(le.curData[1].toString().replace(/^0/,""));switch(G){case"prev":J==1&&(I-=1),J=J==1?12:--J;break;case"next":J==12&&(I+=1),J=J==12?1:++J;break}return[I+"",fe.getNumTwoBit(J),fe.getMonthDays(String(I),String(J))+""]},L=(G,le,I)=>{let{year:J,month:Q}=I;return le=="prev"&&G>=7&&(G-=7),Array.from(Array(G),(P,b)=>({day:String(b+1),type:le,year:J,month:Q}))},$=(G,le,I,J)=>{G=G-t.firstDayOfWeek;let{year:Q,month:P}=I;return le=="prev"&&G>=7&&(G-=7),Array.from(Array(J),(b,C)=>({day:String(C+1),type:le,year:Q,month:P})).slice(J-G)},U=(G,le)=>{const I=fe.getMonthPreDay(+G[0],+G[1]);let J=Number(G[1])-1,Q=Number(G[0]);J<=0&&(J=12,Q+=1);const P=fe.getMonthDays(String(G[0]),String(G[1])),b=fe.getMonthDays(Q+"",J+""),C={year:G[0],month:G[1]},O={curData:G,title:r("monthTitle",{year:C.year,month:C.month}),monthData:[...$(I,"prev",{month:String(J),year:String(Q)},b),...L(P,"curr",C)],cssHeight:0,cssScrollHeight:0};O.cssHeight=39+64*(O.monthData.length>35?6:5);let te=0;f.monthsData.length>0&&(te=f.monthsData[f.monthsData.length-1].cssScrollHeight+f.monthsData[f.monthsData.length-1].cssHeight),O.cssScrollHeight=te,le=="next"?(!f.endData||!fe.compareDate(`${f.endData[0]}-${f.endData[1]}-${fe.getMonthDays(f.endData[0],f.endData[1])}`,`${G[0]}-${G[1]}-${G[2]}`))&&f.monthsData.push(O):!f.startData||!fe.compareDate(`${G[0]}-${G[1]}-${G[2]}`,`${f.startData[0]}-${f.startData[1]}-01`)?f.monthsData.unshift(O):f.unLoadPrev=!0},Y=()=>{let G=t.startDate?t.startDate:fe.getDay(0),le=t.endDate?t.endDate:fe.getDay(365);f.propStartDate=G,f.propEndDate=le,f.startData=A(G),f.endData=A(le),(t.defaultValue||Array.isArray(t.defaultValue)&&t.defaultValue.length>0)&&(f.currDate=t.type!=="one"?[...t.defaultValue]:t.defaultValue);const I={year:Number(f.startData[0]),month:Number(f.startData[1])},J={year:Number(f.endData[0]),month:Number(f.endData[1])};let Q=J.month-I.month;J.year-I.year>0&&(Q=Q+12*(J.year-I.year)),Q<=0&&(Q=1),U(f.startData,"next");let P=1;do U(N("next"),"next");while(P++<Q);if(f.monthsNum=Q,t.type=="range"&&Array.isArray(f.currDate))f.currDate.length>0&&(G&&fe.compareDate(f.currDate[0],G)&&f.currDate.splice(0,1,G),le&&fe.compareDate(le,f.currDate[1])&&f.currDate.splice(1,1,le),f.defaultData=[...A(f.currDate[0]),...A(f.currDate[1])]);else if(t.type=="multiple"&&Array.isArray(f.currDate)){if(f.currDate.length>0){let b=[],C={};f.currDate.forEach(O=>{G&&!fe.compareDate(O,G)&&le&&!fe.compareDate(le,O)&&(Object.hasOwnProperty.call(C,O)||(b.push(O),C[O]=O))}),f.currDate=[...b],f.defaultData=[...A(b[0])]}}else if(t.type=="week"&&Array.isArray(f.currDate)){if(f.currDate.length>0){let[b,C,O]=A(f.currDate[0]);f.currDate=fe.getWeekDate(b,C,O,t.firstDayOfWeek),G&&fe.compareDate(f.currDate[0],G)&&f.currDate.splice(0,1,G),le&&fe.compareDate(le,f.currDate[1])&&f.currDate.splice(1,1,le),f.defaultData=[...A(f.currDate[0]),...A(f.currDate[1])]}}else f.currDate&&(G&&fe.compareDate(f.currDate,G)?f.currDate=G:le&&!fe.compareDate(f.currDate,le)&&(f.currDate=le),f.defaultData=[...A(f.currDate)])};i({scrollToDate:G=>{fe.compareDate(G,f.propStartDate)?G=f.propStartDate:fe.compareDate(G,f.propEndDate)||(G=f.propEndDate);let le=A(G);f.monthsData.forEach((I,J)=>{if(I.title==r("monthTitle",{year:le[0],month:le[1]})&&d.value){let Q=f.monthsData[J].cssScrollHeight-d.value.scrollTop;if(t.toDateAnimation){let P=0,b=setInterval(()=>{if(P++,d.value){let C=Q/10;d.value.scrollTop=d.value.scrollTop+C}P>=10&&(clearInterval(b),d.value&&(d.value.scrollTop=f.monthsData[J].cssScrollHeight))},40)}else d.value.scrollTop=f.monthsData[J].cssScrollHeight}})},initPosition:()=>{d?.value&&(d.value.scrollTop=f.monthsData[f.currentIndex].cssScrollHeight)},doLayout:()=>{let G=0,le=0;f.defaultData.length>0&&f.monthsData.forEach((Q,P)=>{Q.title==r("monthTitle",{year:f.defaultData[0],month:f.defaultData[1]})&&(G=P),(t.type=="range"||t.type=="week")&&Q.title==r("monthTitle",{year:f.defaultData[3],month:f.defaultData[4]})&&(le=P)}),D(f.monthsNum,G),f.currentIndex=G,f.yearMonthTitle=f.monthsData[f.currentIndex].title,f.defaultData.length>0&&(f.isRange?(R({day:f.defaultData[2],type:"curr"},f.monthsData[f.currentIndex],!0),R({day:f.defaultData[5],type:"curr"},f.monthsData[le],!0)):t.type=="week"?R({day:f.defaultData[2],type:"curr"},f.monthsData[f.currentIndex],!0):t.type=="multiple"?[...f.currDate].forEach(Q=>{let P=A(Q),b=f.currentIndex;f.monthsData.forEach((C,O)=>{C.title==r("monthTitle",{year:P[0],month:P[1]})&&(b=O)}),R({day:P[2],type:"curr"},f.monthsData[b],!0)}):R({day:f.defaultData[2],type:"curr"},f.monthsData[f.currentIndex],!0));let I=f.monthsData[f.monthsData.length-1],J=I.cssHeight+I.cssScrollHeight;rn(()=>{d?.value&&m?.value&&E?.value&&(S.value=d.value.clientHeight,m.value.style.height=`${J}px`,d.value.scrollTop=f.monthsData[f.currentIndex].cssScrollHeight)}),f.avgHeight=Math.floor(J/(f.monthsNum+1))}});const D=(G,le)=>{G>=3?le>0&&le<G?f.defaultRange=[le-1,le+3]:le==0?f.defaultRange=[le,le+4]:le==G&&(f.defaultRange=[le-2,le+2]):f.defaultRange=[0,G+2],f.translateY=f.monthsData[f.defaultRange[0]].cssScrollHeight},X=(G,le)=>(t.type=="range"||t.type=="week")&&G.type=="curr"&&q(G,le)=="fox-calendar__day--active",H=(G,le)=>X(G,le)&&V(j(G,le)),W=(G,le)=>f.currDate.length>=2&&_(j(G,le))?X(G,le):!1,x=()=>{if(f.currDate.length>=2)return fe.isEqual(f.currDate[0],f.currDate[1])},ee=G=>{const le=`${G.year}-${G.month}-${Number(G.day)<10?"0"+G.day:G.day}`;return fe.isEqual(le,fe.date2Str(new Date))},ne=G=>{if(f.monthsData.length<=1)return;const le=G.target.scrollTop;let I=Math.floor(le/f.avgHeight);if(I==0)le>=f.monthsData[I+1].cssScrollHeight&&(I+=1);else if(I>0&&I<f.monthsNum-1)le>=f.monthsData[I+1].cssScrollHeight&&(I+=1),le<f.monthsData[I].cssScrollHeight&&(I-=1);else{const J=Math.round(le+S.value);J<f.monthsData[I].cssScrollHeight+f.monthsData[I].cssHeight&&le>f.monthsData[I-1].cssScrollHeight&&(I-=1),I+1<=f.monthsNum&&J>=f.monthsData[I+1].cssScrollHeight+f.monthsData[I+1].cssHeight&&(I+=1),I>=1&&le<f.monthsData[I-1].cssScrollHeight&&(I-=1)}f.currentIndex!==I&&(f.currentIndex=I,D(f.monthsNum,I)),f.yearMonthTitle=f.monthsData[I].title},ae=()=>{f.chooseData.splice(0),f.monthsData.splice(0),Y()};return Y(),(0,l.watch)(()=>t.defaultValue,G=>{G&&t.poppable&&ae()}),{dayTitleStyle:c,dayCellStyle:e,weeks:h,compConthsData:y,showTopBtn:g,topInfo:p,bottomInfo:v,rangeTip:x,mothsViewScroll:ne,getClass:q,isStartTip:H,isEndTip:W,chooseDay:R,isCurrDay:ee,confirm:k,months:d,...(0,l.toRefs)(f),...(0,l.toRefs)(t),...s,monthsPanel:m,weeksPanel:T,viewArea:E}}}),Pf={class:"fox-calendar__header"},Lf={key:0,class:"fox-calendar__header-title"},_f={key:1,class:"fox-calendar__header-slot"},Rf={key:2,class:"fox-calendar__header-subtitle"},Ff={class:"fox-calendar__weekdays",ref:"weeksPanel"},Of={class:"fox-calendar__panel",ref:"monthsPanel"},Hf={class:"fox-calendar__days"},qf=["onClick"],jf={class:"fox-calendar__day-value"},Kf={key:0,class:"fox-calendar__day-tips fox-calendar__day-tips--top"},Wf={key:1,class:"fox-calendar__day-tips fox-calendar__day-tips--bottom"},Yf={key:2,class:"fox-calendar__day-tips--curr"},Uf={key:4,class:"fox-calendar__day-tip"},Gf={key:0,class:"fox-calendar__footer"};function Xf(t,a,n,i,o,r){return(0,l.openBlock)(),(0,l.createElementBlock)("view",{class:(0,l.normalizeClass)(["fox-calendar",{"fox-calendar--nopop":!t.poppable,"fox-calendar--nofooter":t.isAutoBackFill}])},[(0,l.createElementVNode)("view",Pf,[t.showTitle?((0,l.openBlock)(),(0,l.createElementBlock)("view",Lf,(0,l.toDisplayString)(t.title),1)):(0,l.createCommentVNode)("",!0),t.showTopBtn?((0,l.openBlock)(),(0,l.createElementBlock)("view",_f,[(0,l.renderSlot)(t.$slots,"btn")])):(0,l.createCommentVNode)("",!0),t.showSubTitle?((0,l.openBlock)(),(0,l.createElementBlock)("view",Rf,(0,l.toDisplayString)(t.yearMonthTitle),1)):(0,l.createCommentVNode)("",!0),(0,l.createElementVNode)("view",Ff,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(t.weeks,(s,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("view",{class:"fox-calendar__weekday",key:c},(0,l.toDisplayString)(s),1))),128))],512)]),(0,l.createElementVNode)("view",{class:"fox-calendar__content",ref:"months",onScroll:a[0]||(a[0]=(...s)=>t.mothsViewScroll&&t.mothsViewScroll(...s))},[(0,l.createElementVNode)("view",Of,[(0,l.createElementVNode)("view",{class:"fox-calendar__body",ref:"viewArea",style:(0,l.normalizeStyle)({transform:`translateY(${t.translateY}px)`})},[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(t.compConthsData,(s,c)=>((0,l.openBlock)(),(0,l.createElementBlock)("view",{class:"fox-calendar__month",key:c},[(0,l.createElementVNode)("view",{class:"fox-calendar__month-title",style:(0,l.normalizeStyle)(t.dayTitleStyle)},(0,l.toDisplayString)(s.title),5),(0,l.createElementVNode)("view",Hf,[(0,l.createElementVNode)("view",{class:(0,l.normalizeClass)(["fox-calendar__days-item",t.type==="range"?"fox-calendar__days-item--range":""])},[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(s.monthData,(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("view",{key:u,class:(0,l.normalizeClass)(["fox-calendar__day",t.getClass(e,s)]),style:(0,l.normalizeStyle)(t.dayCellStyle),onClick:h=>t.chooseDay(e,s)},[(0,l.createElementVNode)("view",jf,[(0,l.renderSlot)(t.$slots,"day",{date:e.type=="curr"?e:""},()=>[(0,l.createTextVNode)((0,l.toDisplayString)(e.type=="curr"?e.day:""),1)])]),t.topInfo?((0,l.openBlock)(),(0,l.createElementBlock)("view",Kf,[(0,l.renderSlot)(t.$slots,"top-info",{date:e.type=="curr"?e:""})])):(0,l.createCommentVNode)("",!0),t.bottomInfo?((0,l.openBlock)(),(0,l.createElementBlock)("view",Wf,[(0,l.renderSlot)(t.$slots,"bottom-info",{date:e.type=="curr"?e:""})])):(0,l.createCommentVNode)("",!0),!t.bottomInfo&&t.showToday&&t.isCurrDay(e)?((0,l.openBlock)(),(0,l.createElementBlock)("view",Yf,(0,l.toDisplayString)(t.today),1)):(0,l.createCommentVNode)("",!0),t.isStartTip(e,s)?((0,l.openBlock)(),(0,l.createElementBlock)("view",{key:3,class:(0,l.normalizeClass)(["fox-calendar__day-tip",{"fox-calendar__day-tips--top":t.rangeTip()}])},(0,l.toDisplayString)(t.startText),3)):(0,l.createCommentVNode)("",!0),t.isEndTip(e,s)?((0,l.openBlock)(),(0,l.createElementBlock)("view",Uf,(0,l.toDisplayString)(t.endText),1)):(0,l.createCommentVNode)("",!0)],14,qf))),128))],2)])]))),128))],4)],512)],544),t.poppable&&!t.isAutoBackFill?((0,l.openBlock)(),(0,l.createElementBlock)("view",Gf,[(0,l.createElementVNode)("view",{class:"fox-calendar__confirm",onClick:a[1]||(a[1]=(...s)=>t.confirm&&t.confirm(...s))},(0,l.toDisplayString)(t.confirmText),1)])):(0,l.createCommentVNode)("",!0)],2)}var Qf=De(If,[["render",Xf]]),{create:Zf}=ce("calendar-picker"),Jf=Zf({components:{CalendarPane:Qf,Popup:st},props:{...Un},emits:["choose","close","update:visible","select"],setup(t,{emit:a,slots:n,expose:i}){const o=(0,l.computed)(()=>n.btn),r=(0,l.computed)(()=>n["top-info"]),s=(0,l.computed)(()=>n.day),c=(0,l.computed)(()=>n["bottom-info"]),e=(0,l.ref)(null),u=g=>{e.value?.scrollToDate(g)},h=()=>{e.value?.initPosition()},d=(0,l.computed)(()=>{const g=["fox-calendar__popup"];return t.popClass&&g.push(t.popClass),g});(0,l.watch)(()=>t.visible,g=>{g&&(0,l.nextTick)(()=>{e.value?e.value.doLayout():setTimeout(()=>{e.value&&e.value.doLayout()},250)})}),i({scrollToDate:u,initPosition:h});const m=()=>{a("update:visible",!1)},T=()=>{a("close"),a("update:visible",!1)};return{popClasses:d,closePopup:()=>{T()},update:m,close:T,select:g=>{a("select",g)},choose:g=>{T(),a("choose",g)},calendarRef:e,showTopBtn:o,topInfo:r,dayInfo:s,bottomInfo:c}}});function e5(t,a,n,i,o,r){const s=(0,l.resolveComponent)("CalendarPane"),c=(0,l.resolveComponent)("Popup");return t.poppable?((0,l.openBlock)(),(0,l.createBlock)(c,(0,l.mergeProps)({key:0,visible:t.visible,position:"bottom",round:"",closeable:""},t.$attrs,{onClickOverlay:t.closePopup,onClickCloseIcon:t.closePopup,"pop-class":t.popClasses,style:t.popStyle}),{default:(0,l.withCtx)(()=>[(0,l.createVNode)(s,{ref:"calendarRef",type:t.type,"is-auto-back-fill":t.isAutoBackFill,poppable:t.poppable,title:t.title,"default-value":t.defaultValue,"start-date":t.startDate,"end-date":t.endDate,onUpdate:t.update,onClose:t.close,onChoose:t.choose,onSelect:t.select,"confirm-text":t.confirmText,"start-text":t.startText,"end-text":t.endText,"show-today":t.showToday,"show-title":t.showTitle,"show-sub-title":t.showSubTitle,"to-date-animation":t.toDateAnimation,"first-day-of-week":t.firstDayOfWeek},(0,l.createSlots)({_:2},[t.showTopBtn?{name:"btn",fn:(0,l.withCtx)(()=>[(0,l.renderSlot)(t.$slots,"btn")]),key:"0"}:void 0,t.dayInfo?{name:"day",fn:(0,l.withCtx)(e=>[(0,l.renderSlot)(t.$slots,"day",{date:e.date})]),key:"1"}:void 0,t.topInfo?{name:"top-info",fn:(0,l.withCtx)(e=>[(0,l.renderSlot)(t.$slots,"top-info",{date:e.date})]),key:"2"}:void 0,t.bottomInfo?{name:"bottom-info",fn:(0,l.withCtx)(e=>[(0,l.renderSlot)(t.$slots,"bottom-info",{date:e.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,l.openBlock)(),(0,l.createBlock)(s,{key:1,type:t.type,"is-auto-back-fill":t.isAutoBackFill,poppable:t.poppable,title:t.title,ref:"calendarRef","confirm-text":t.confirmText,"start-text":t.startText,"end-text":t.endText,"default-value":t.defaultValue,"start-date":t.startDate,"end-date":t.endDate,onUpdate:t.update,onClose:t.close,onChoose:t.choose,onSelect:t.select,"show-title":t.showTitle,"show-sub-title":t.showSubTitle,"to-date-animation":t.toDateAnimation,"show-today":t.showToday,"first-day-of-week":t.firstDayOfWeek},(0,l.createSlots)({_:2},[t.showTopBtn?{name:"btn",fn:(0,l.withCtx)(()=>[(0,l.renderSlot)(t.$slots,"btn")]),key:"0"}:void 0,t.dayInfo?{name:"day",fn:(0,l.withCtx)(e=>[(0,l.renderSlot)(t.$slots,"day",{date:e.date})]),key:"1"}:void 0,t.topInfo?{name:"top-info",fn:(0,l.withCtx)(e=>[(0,l.renderSlot)(t.$slots,"top-info",{date:e.date})]),key:"2"}:void 0,t.bottomInfo?{name:"bottom-info",fn:(0,l.withCtx)(e=>[(0,l.renderSlot)(t.$slots,"bottom-info",{date:e.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 ql=De(Jf,[["render",e5]]),Xn=(t,a)=>{let n;return yn(t)?n=t:typeof t=="string"&&ft(t)>0?n=fe.parser(t,a):n=new Date,n},Bt=(t,a,n)=>(yn(a)||(a=new Date),fe.format(a,n)),Vt=t=>[`${t.getFullYear()}`,`${t.getMonth()+1}`,`${t.getDate()}`,fe.date2Str(t),fe.getWhatDay(t.getFullYear(),t.getMonth()+1,t.getDate())],so={...Un,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]}},t5={...ze,...$e,...so};function l5(t,a,n,i){return{props:t5,emits:["change","update:modelValue","blur","focus","clear","setValue"],setup(o,r){const{itemTemplateRef:s,innerDisabled:c,disabled:e,innerReadonly:u,readonly:h,browse:d}=Ie(o),{emitEvent:m,exposeApi:T}=Te({componentName:t,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus","setValue"],get readonly(){return h.value},get disabled(){return e.value},get props(){return o},context:r,get templateRefProxy(){return s.value}},o.prop??r.attrs.name),{toLocaleRefs:E}=(0,Ne.useFoxI18n)(a),S=E(o,["placeholder"]);let y=ve(o,"hintText"),g=(0,l.ref)(!1);const p=(0,l.ref)(!1),v=(0,l.computed)(()=>o.type==="range"),f=(0,l.reactive)({startDate:null,endDate:null,startArray:[],endArray:[]}),A=()=>{f.startDate!==null&&(f.startDate=null,f.endDate=null,f.startArray=[],f.endArray=[])},V=(D,X="one",H="YYYY-MM-DD")=>{if(q1(D)){A();return}if(v.value&&Array.isArray(D)&&D.length==2){let W,x;typeof D[0]=="string"?(W=Xn(D[0],H),x=Xn(D[1],H)):(W=D[0],x=D[1]);let ee=Vt(W),ne=Vt(x);(f.startDate===null||f.startDate.getTime()!==W.getTime()||f.endDate?.getTime()!==x.getTime())&&(f.startDate=W,f.startArray=ee,f.endDate=x,f.endArray=ne)}else{let W;typeof D=="string"?W=Xn(D,H):W=D;let x=Vt(W);(f.startDate===null||f.startDate.getTime()!==W.getTime())&&(f.startDate=W,f.startArray=x)}};V(o.modelValue,o.type,o.valueFormat),(0,l.watch)(()=>o.modelValue,D=>{V(D,o.type,o.valueFormat),m("setValue",D)});const _=(0,l.computed)(()=>{if(f.startDate===null)return"";if(v.value){let D=Bt(o,f.startDate,o.format),X=Bt(o,f.endDate,o.format);return`${D} ${o.rangeSeparator} ${X}`}else{let D=Bt(o,f.startDate,o.format);return o.showWeek&&(D=`${D} ${f.startArray[4]}`),D}}),K=(0,l.computed)(()=>f.startDate===null?null:v.value?[fe.date2Str(f.startDate),fe.date2Str(f.endDate??new Date)]:fe.date2Str(f.startDate)),j="fox-input-item",q=(0,l.computed)(()=>({[j]:!0,[`${j}__disabled`]:e.value})),k=Ve((0,l.computed)(()=>o.textAlign),"textAlign"),R=(0,l.computed)(()=>({textAlign:k.value??"right"})),z=(0,l.ref)(!1),N=()=>{h.value||e.value||(z.value=!0)},L=()=>{z.value=!1},$=D=>{z.value=D},U=D=>{if(D){if(v.value&&Array.isArray(D)){let X=D[0],H=we(X[0]),W=we(X[1]),x=we(X[2]),ee=new Date(H,W-1,x),ne=D[1];H=we(ne[0]),W=we(ne[1]),x=we(ne[2]);let ae=new Date(H,W-1,x);f.startDate=ee,f.startArray=Vt(ee),f.endDate=ae,f.endArray=Vt(ae),o.valueFormat?m("update:modelValue",[Bt(o,ee,o.valueFormat),Bt(o,ae,o.valueFormat)],{}):m("update:modelValue",[ee,ae],{})}else{let X=D,H=we(X[0]),W=we(X[1]),x=we(X[2]),ee=new Date(H,W-1,x);f.startDate=ee,f.startArray=Vt(ee),o.valueFormat?m("update:modelValue",Bt(o,ee,o.valueFormat),{}):m("update:modelValue",ee,{})}m("change",D,{})}},Y=D=>{let X=D.target.value;p.value=!0,m("focus",X,D)},Z=D=>{setTimeout(()=>{p.value=!1},0);let X=D.target.value;o.maxLength&&X.length>Number(o.maxLength)&&(X=X.slice(0,Number(o.maxLength))),m("blur",X,D)},M=D=>{A(),m("update:modelValue",null,D),m("change","",D),m("clear","")},F=(0,l.ref)();return T({showPicker:N,hidePicker:L,focus:()=>{F?.value.focus()},blur:()=>{F?.value.blur()},select:()=>{F?.value.select()},setDisabled:D=>{c.value=D},setReadonly:D=>{u.value=D}}),()=>{if(d.value==="on"&&(h.value||e.value))return i(_.value,r.slots);const D={class:q.value,style:R.value,type:"text",maxlength:o.maxLength,placeholder:S.placeholder.value,readonly:!0,clearable:o.clearable,value:_.value,onClick:N,onFocus:Y,onBlur:Z,onClear:M},X={};r.slots.prepend&&(X.prepend=r.slots.prepend),r.slots.append&&(X.append=r.slots.append),r.slots.prefix?X.prefix=r.slots.prefix:X.prefix=()=>(0,l.h)(B.ElIcon,{},{default:()=>(0,l.h)(Be.Calendar)}),r.slots.suffix&&(X.suffix=r.slots.suffix);const H=[],W=(0,l.h)(B.ElInput,D,X);H.push(W);const x={default:()=>H};x.label=r.slots.default,x.fixedPreTip=r.slots.fixedPreTip,x.fixedTip=r.slots.fixedTip;const ee=tt(o,Un);ee.visible=z.value,ee["onUpdate:visible"]=$,ee["default-value"]=K.value,ee.onChoose=U;const ne={};if(r.slots.btn){const le=r.slots.btn();ne.btn=()=>le}r.slots.day&&(ne.day=r.slots.day),r.slots.topInfo&&(ne.topInfo=r.slots.topInfo),r.slots.bottomInfo&&(ne.bottomInfo=r.slots.bottomInfo);const ae=(0,l.h)(ql,ee,ne);x.hide=()=>[ae];const G={...Ae(o,so),ref:s,hintText:y.value,hintVisible:g.value};return o.prop&&(G.prop=`${o.prop}_item`),n(G,x)}}}}var{componentName:n5,create:a5,scope:r5}=ce("calendar-item"),o5=a5(l5(n5,r5,Pe,qe)),Qn=o5,co={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]}},i5={...ze,...$e,...co};function s5(t,a,n,i){return{props:i5,emits:["change","update:modelValue","blur","focus","clear","visible-change","setValue"],setup(o,r){const{itemTemplateRef:s,innerDisabled:c,disabled:e,innerReadonly:u,readonly:h,browse:d}=Ie(o),{emitEvent:m,exposeApi:T}=Te({componentName:t,get readonly(){return h.value},get disabled(){return e.value},get props(){return o},context:r,get templateRefProxy(){return s.value}},o.prop??r.attrs.name),{toLocaleRefs:E}=(0,Ne.useFoxI18n)(a),S=E(o,["placeholder"]),y=(0,l.ref)(!1),g=ve(o,"modelValue",null,m),p=t,v=(0,l.computed)(()=>({[p]:!0})),f=z=>{g.value=z,m("update:modelValue",z),m("change",z)};let A=ve(o,"hintText"),V=(0,l.ref)(!1);const _=z=>{let N=z.target.value;y.value=!0,ge(A.value)||(V.value=!0),m("focus",N,z)},K=z=>{setTimeout(()=>{V.value&&(V.value=!1),y.value=!1},0);let N=z.target.value;o.maxLength&&N.length>Number(o.maxLength)&&(N=N.slice(0,Number(o.maxLength))),m("blur",N,z)},j=()=>{m("clear","")},q=z=>{m("visible-change",z)},k=(0,l.ref)();T({focus:()=>{k?.value.focus()},blur:()=>{k?.value.blur()},handleOpen:()=>{k?.value.handleOpen()},handleClose:()=>{k?.value.handleClose()},setDisabled:z=>{c.value=z},setReadonly:z=>{u.value=z}});const R=(0,l.computed)(()=>{if(Re(g.value))return"";const z=o.rangeSeparator??" - ",N=Array.isArray(g.value)?g.value:[g.value],L=[];for(let U=0;U<N.length;U++){const Y=N[U];if(Y==="string"&&L.push(Y),Y instanceof Date){const Z=je.format(Y,o.format);L.push(Z)}}const $=` ${z} `;return L.join($)});return()=>{if(d.value==="on"&&(h.value||e.value))return i(R.value,r.slots);const z={...r.attrs,ref:k,class:v.value,placeholder:S.placeholder.value,rangeSeparator:o.rangeSeparator,format:o.format,disabled:e.value,readonly:h.value,modelValue:g.value,"onUpdate:modelValue":f,onClear:j,onFocus:_,onBlur:K,onVisibleChange:q},N={},L=[],$=(0,l.h)(B.ElTimePicker,z,N);L.push($);const U={default:()=>L};U.label=r.slots.default,U.fixedPreTip=r.slots.fixedPreTip,U.fixedTip=r.slots.fixedTip;const Y={...Ae(o,co),ref:s,hintText:A.value,hintVisible:V.value};return o.prop&&(Y.prop=`${o.prop}_item`),n(Y,U)}}}}var{componentName:c5,create:u5,scope:d5}=ce("time-item"),f5=u5(s5(c5,d5,Pe,qe)),Zn=f5,uo={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]}},m5={...ze,...$e,...uo};function h5(t,a,n,i){return{props:m5,emits:["change","update:modelValue","blur","focus","clear","setValue"],setup(o,r){const{itemTemplateRef:s,innerDisabled:c,disabled:e,innerReadonly:u,readonly:h,browse:d}=Ie(o),{emitEvent:m,exposeApi:T}=Te({componentName:t,get readonly(){return h.value},get disabled(){return e.value},get props(){return o},context:r,get templateRefProxy(){return s.value}},o.prop??r.attrs.name),{toLocaleRefs:E}=(0,Ne.useFoxI18n)(a),S=E(o,["placeholder"]),y=(0,l.ref)(!1),g=ve(o,"modelValue",null,m),p=t,v=(0,l.computed)(()=>({[p]:!0})),f=R=>{g.value=R,m("update:modelValue",R),m("change",R)};let A=ve(o,"hintText"),V=(0,l.ref)(!1);const _=R=>{let z=R.target.value;y.value=!0,ge(A.value)||(V.value=!0),m("focus",z,R)},K=R=>{setTimeout(()=>{V.value&&(V.value=!1),y.value=!1},0);let z=R.target.value;o.maxLength&&z.length>Number(o.maxLength)&&(z=z.slice(0,Number(o.maxLength))),m("blur",z,R)},j=()=>{m("clear","")},q=(0,l.ref)();T({focus:()=>{q?.value.focus()},blur:()=>{q?.value.blur()},handleOpen:()=>{q?.value.handleOpen()},handleClose:()=>{q?.value.handleClose()},setDisabled:R=>{c.value=R},setReadonly:R=>{u.value=R}});const k=(0,l.computed)(()=>{if(Re(g.value))return"";const R=o.rangeSeparator??" - ",z=Array.isArray(g.value)?g.value:[g.value],N=[];for(let $=0;$<z.length;$++){const U=z[$];if(U==="string"&&N.push(U),U instanceof Date){const Y=je.format(U,o.format);N.push(Y)}}const L=` ${R} `;return N.join(L)});return()=>{if(d.value==="on"&&(h.value||e.value))return i(k.value,r.slots);const R={...r.attrs,ref:q,class:v.value,placeholder:S.placeholder.value,rangeSeparator:o.rangeSeparator,foramt:o.format,disabled:e.value,readonly:h.value,modelValue:g.value,"onUpdate:modelValue":f,onClear:j,onFocus:_,onBlur:K},z={},N=[],L=(0,l.h)(B.ElTimeSelect,R,z);N.push(L);const $={default:()=>N};$.label=r.slots.default,$.fixedPreTip=r.slots.fixedPreTip,$.fixedTip=r.slots.fixedTip;const U={...Ae(o,uo),ref:s,hintText:A.value,hintVisible:V.value};return o.prop&&(U.prop=`${o.prop}_item`),n(U,$)}}}}var{componentName:p5,create:g5,scope:y5}=ce("time-select-item"),b5=g5(h5(p5,y5,Pe,qe)),Jn=b5;function fo(t,a=0){let n=`${t}`,i=n.indexOf(".");if(i==-1)return n;let o=i;for(let r=n.length-1;r>=i;r--)if(n.charAt(r)!="0"){o=r;break}return o-i<a?o=i+a+1:o!=i&&(o+=1),o>n.length?n=n.padEnd(o,"0"):n=n.substring(0,o),n}function mo(t,a,n=20){return typeof a=="string"&&(a=we(a)),a==1||a==-1?`${t}`:a==0?"0":a>0?fo(tr(`${t}`,`${a}`)):fo(hn(`${t}`,lr(`${a}`),20))}function S5(t,a=-1,n=!1,i=3,o=","){return ml(t,we(a),n,i,o)}function ho(t,a,n,i,o=!0){if(t==="")return"";if(t=nr(t),a=we(a),a==1)return t;if(i)t=mo(t,a),n&&(t=="0"&&o?t=`${t}.`.padEnd(we(n)+2,"0"):t=hn(t,1,we(n)));else{let r=-1*a;t=mo(t,r)}return t}function po(t,a){let n={maxValid:!0,minValid:!0,message:""};if(a.min!==void 0){let i=he(a.minInclude),o=pn(t,a.min);(i&&o==-1||!i&&(o==0||o==-1))&&(n.message="请输入不小于 {0} 的数值".replace("{0}",a.min),n.minValid=!1)}if(a.max!=null){let i=he(a.maxInclude),o=pn(t,a.max);(i&&o==1||!i&&(o==0||o==1))&&(n.maxValid=!1)}return n}var go={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]}},w5={...ze,...$e,...go};function v5(t,a,n,i){return{props:w5,emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(o,r){const{itemTemplateRef:s,innerDisabled:c,disabled:e,innerReadonly:u,readonly:h,browse:d}=Ie(o),{emitEvent:m,exposeApi:T}=Te({componentName:t,get readonly(){return h.value},get disabled(){return e.value},get props(){return o},context:r,get templateRefProxy(){return s.value}},o.prop??r.attrs.name),E=(0,l.ref)(!1),S=ve(o,"modelValue",null,m),y=(0,l.ref)("");(0,l.watch)([()=>S.value,()=>o.rates,()=>o.precision],([F,D,X])=>{if(ge(F)){y.value="";return}const H=ho(F,D,X,!1);y.value!==H&&(y.value=H)},{immediate:!0});const g=(0,l.computed)(()=>{let F="";return E.value&&(F=y.value),F}),{t:p}=(0,Ne.useFoxI18n)(a),v=(0,l.computed)(()=>{let F=o.placeholder??"";return!E.value&&!ge(y.value)?F=S5(y.value,o.decimalLength,o.autoPadding,o.digits,o.separator):F=p(["placeholder",F]),F}),f=t,A=(0,l.computed)(()=>({[f]:!0,[`${f}__disabled`]:e.value,[`${f}__placeholder`]:y.value.length>0})),V=Ve((0,l.computed)(()=>o.textAlign),"textAlign"),_=(0,l.computed)(()=>E.value?{textAlign:"left"}:{textAlign:V.value??"right"}),K=(0,l.ref)(""),j=(0,l.computed)(()=>{let F=K.value;return ge(F)&&(F=o.errorTip??""),F}),q=(0,l.ref)(""),k=(0,l.ref)(!1),R=(F,D)=>{if(F=`${F}`,ge(F)){y.value="",S.value="",D.forEach(X=>{m(X,"")}),he(o.showTip)&&k.value&&(k.value=!1);return}if(F.length>=2){let X=F;if(X.charAt(0)=="-"&&(X=X.substring(1)),X.length>=2&&X.charAt(0)=="0"&&X.charAt(1)!="."){(0,l.triggerRef)(y);return}}if(F!="-"){if(!Cn(F)){(0,l.triggerRef)(y);return}if(o.integerLength!=-1&&ur(F)>Number(o.integerLength)){(0,l.triggerRef)(y);return}if(o.decimalLength&&o.decimalLength!=-1&&dr(F)>Number(o.decimalLength)){(0,l.triggerRef)(y);return}let X=po(F,o);if(X.maxValid===!1){K.value=X.message,(0,l.triggerRef)(y);return}}else if(o.min!=null&&we(o.min)>=0){(0,l.triggerRef)(y);return}q.value=F,he(o.showTip)&&(k.value=F.length>0),y.value=F,S.value=ho(F,o.rates,o.precision,!0),D.forEach(X=>{m(X,S.value)})},z=F=>{R(F,["update:modelValue","input"])},N=F=>{R(F,["update:modelValue","change"])},L=F=>{if(E.value=!0,he(o.showTip)){let D=y.value;ge(D)&&(D=o.hintText),ge(D)||(q.value=D,k.value=!0)}K.value="",m("focus",S.value,F)},$=F=>{if(setTimeout(()=>{E.value=!1,he(o.showTip)&&k.value===!0&&(k.value=!1)},0),!ge(y.value)){let D=po(y.value,o);if(D.minValid===!1||D.maxValid===!1){K.value=D.message;return}}m("update:modelValue",S.value,F),m("blur",S.value,F)},U=()=>{m("clear","")},Y=(0,l.computed)(()=>ft(o.unit)>0),Z=(0,l.ref)();T({focus:()=>{Z?.value.focus()},blur:()=>{Z?.value.blur()},select:()=>{Z?.value.select()},setDisabled:F=>{c.value=F},setReadonly:F=>{u.value=F}});const M=()=>S.value?v.value:S.value;return()=>{if(d.value==="on"&&(h.value||e.value))return i(M(),r.slots);const F={...et(r.attrs),ref:Z,class:A.value,style:_.value,type:"digit",maxlength:o.maxLength,placeholder:v.value,clearable:o.clearable,disabled:e.value,readonly:h.value,modelValue:g.value,"adjust-position":o.adjustPosition,"always-system":o.alwaysSystem,onClear:U,onInput:z,onChange:N,onFocus:L,onBlur:$},D={};r.slots.prepend&&(D.prepend=r.slots.prepend),r.slots.append&&(D.append=r.slots.append),r.slots.prefix&&(D.prefix=r.slots.prefix),r.slots.suffix?D.suffix=r.slots.suffix:Y.value&&(D.suffix=()=>[o.unit]);const X=[],H=(0,l.h)(B.ElInput,F,D);X.push(H);const W={default:()=>X};W.label=r.slots.default,W.fixedPreTip=r.slots.fixedPreTip,W.fixedTip=r.slots.fixedTip;const x={...Ae(o,go),ref:s,errorTip:j.value,hintText:q.value,hintVisible:k.value,hintType:"number"};return o.prop&&(x.prop=`${o.prop}_item`),n(x,W)}}}}var{componentName:N5,create:C5,scope:k5}=ce("money-item"),x5=C5(v5(N5,k5,Pe,qe)),ea=x5,yo={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]}},z5={...ze,...$e,...yo};function E5(t,a,n,i){return{props:z5,emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(o,r){const{itemTemplateRef:s,innerDisabled:c,disabled:e,innerReadonly:u,readonly:h,browse:d}=Ie(o),{emitEvent:m,exposeApi:T}=Te({componentName:t,validateCheckEvents:["blur","update:modelValue"],get readonly(){return h.value},get disabled(){return e.value},get props(){return o},context:r,get templateRefProxy(){return s.value}},o.prop??r.attrs.name),{toLocaleRefs:E}=(0,Ne.useFoxI18n)(a),S=E(o,["placeholder"]),y=(0,l.ref)(!1),g=ve(o,"modelValue",null,m),p=t,v=(0,l.computed)(()=>({[p]:!0,[`${p}__append`]:R.value})),f=(0,l.computed)(()=>({[`${p}__unit`]:!0})),A=N=>{g.value=N,m("update:modelValue",N),m("input",N)},V=N=>{m("change",N)};let _=ve(o,"hintText"),K=(0,l.ref)(!1);const j=N=>{let L=N.target.value;y.value=!0,ge(_.value)||(K.value=!0),m("focus",L,N)},q=N=>{setTimeout(()=>{K.value&&(K.value=!1),y.value=!1},0);let L=N.target.value;o.maxLength&&L.length>Number(o.maxLength)&&(L=L.slice(0,Number(o.maxLength))),m("blur",L,N)},k=()=>{m("clear","")},R=(0,l.computed)(()=>ft(o.unit)>0),z=(0,l.ref)();return T({focus:()=>{z?.value.focus()},blur:()=>{z?.value.blur()},setDisabled:N=>{c.value=N},setReadonly:N=>{u.value=N}}),()=>{if(d.value==="on"&&(h.value||e.value))return i(g.value,r.slots);const N={...et(r.attrs),ref:z,class:v.value,placeholder:S.placeholder.value,clearable:o.clearable,disabled:e.value,readonly:h.value,modelValue:g.value,"adjust-position":o.adjustPosition,"always-system":o.alwaysSystem,onClear:k,onChange:V,onInput:A,onFocus:j,onBlur:q},L={},$=[],U=(0,l.h)(B.ElInputNumber,N,L);$.push(U);const Y={default:()=>$};Y.label=r.slots.default,Y.fixedPreTip=r.slots.fixedPreTip,Y.fixedTip=r.slots.fixedTip;const Z={...Ae(o,yo),ref:s,hintText:_.value,hintVisible:K.value};if(o.prop&&(Z.prop=`${o.prop}_item`),r.slots.append)Y.append=r.slots.append;else if(R.value){const M=(0,l.h)("div",{class:f.value},[o.unit]);Y.append=()=>M}return n(Z,Y)}}}}var{componentName:T5,create:$5,scope:B5}=ce("input-number-item"),V5=$5(E5(T5,B5,Pe,qe)),ta=V5;function ct(t,a){return typeof t.textKey=="string"&&t.textKey.length>0?a[t.textKey]:a.text}function vt(t,a){return typeof t.valueKey=="string"&&t.valueKey.length>0?a[t.valueKey]:a.value}function D5(t,a){return typeof t.childrenKey=="string"&&t.childrenKey.length>0?a[t.childrenKey]||null:a.children??null}var M5=class{scope;constructor(t){this.scope=t}async load(t,a,n,i){if(!a)return[];if(Array.isArray(a))return a;if(typeof a=="function")return await a(n,i);const o=Fe(t,this.scope);return o===null?(console.error(`[FoxUI] ${t} component not found api function`),[]):(Ye(n)&&(0,l.isReactive)(n)&&(n=(0,l.toRaw)(n)),await o(a,n,i))}};function A5(){return new M5(Ze())}function la(t,a,n){return!(ct(t,a)!==ct(t,n)||vt(t,a)!==vt(t,n))}function bo(t,a,n,i){if(i.length==0||a===""||a===null||a===void 0)return null;Array.isArray(a)||(a=[a]);const o=[];let r=i;for(let s=0;Array.isArray(r)&&s<a.length;s++){const c=a[s];if(Array.isArray(c)){const e=bo(t,c,n,i);o.push(e)}else{let e=!1;for(let u of r){if(n==="text")e=ct(t,u)===c;else if(n==="item")e=la(t,u,c);else{let h=vt(t,u);h==null&&(h=ct(t,u)),e=h===c}if(e){o.push(u),r=D5(t,u);break}}if(!e)break}}return o}function I5(t){return{text:t,value:t}}var So={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]}},P5={...ze,...$e,...So};function L5(t,a,n,i){return{props:P5,emits:["change","update:modelValue","update:pathNodes","blur","focus","clear","visible-change","expand-change","remove-tag","selected","setValue"],setup(o,r){const{itemTemplateRef:s,innerDisabled:c,disabled:e,innerReadonly:u,readonly:h,browse:d}=Ie(o),{emitEvent:m,exposeApi:T}=Te({componentName:t,validateCheckEvents:["blur","update:modelValue","selected"],get readonly(){return h.value},get disabled(){return e.value},get props(){return o},context:r,get templateRefProxy(){return s.value}},o.prop??r.attrs.name),{toLocaleRefs:E}=(0,Ne.useFoxI18n)(a),S=E(o,["placeholder"]),y=(0,l.ref)(null),g=(0,l.ref)([]),p=(0,l.computed)(()=>g.value?g.value.map(Q=>Array.isArray(Q)?Q.map(P=>ct(o,P)).join(" "):ct(o,Q)).join(" "):""),v=(Q,P,b,C=!0)=>{if(o.props&&o.props.lazy===!0||o.lazy===!0){if(y.value===Q)return;y.value=Q;const se=(0,l.toRaw)(Q);if(C){const ue=J?.value.getCheckedNodes();if(ue)if(o.multiple){const pe=[];ue.forEach(be=>{const xe=(be.pathNodes??[]).map(Le=>Le.data);pe.push(xe)}),m("update:pathNodes",pe)}else m("update:pathNodes",(ue[0]?.pathNodes??[]).map(pe=>pe.data));m("update:modelValue",se),m("change",se)}return}const O=bo(o,Q,P,b);if(O===null){if(g.value.length===0||g.value===null)return;g.value=[],y.value=null,C&&(m("update:pathNodes",[]),m("update:modelValue",null),m("change",null));return}const te=O[O.length-1];if($.value.checkStrictly!==!0&&te&&!Array.isArray(te)&&Array.isArray(te.children)&&te.children.length>0){const se=[];O.forEach(ue=>{const pe=`${ct(o,ue)}`;se.push(pe)}),se.length>0&&(N.value=se.join(o.separator))}else N.value=null;let re=!0;if(O.length!==g.value.length)re=!1;else for(let se=0;se<O.length;se++){const ue=O[se],pe=g.value[se];if(Array.isArray(ue)){if(!Array.isArray(pe)||ue.length!==pe.length)re=!1;else for(let be=0;be<ue.length;be++)if(!la(o,ue[be],pe[be])){re=!1;break}}else la(o,ue,pe)||(re=!1);if(!re)break}if(!re){g.value=O;let se=[],ue=[];O.forEach(be=>{if(Array.isArray(be)){let xe=[],Le=[];for(let Ge of be)xe.push(vt(o,Ge)),o.valueType==="text"?Le.push(ct(o,Ge)):o.valueType==="item"?Le.push(Ge):Le.push(vt(o,Ge));se.push(xe),ue.push(Le)}else se.push(vt(o,be)),o.valueType==="text"?ue.push(ct(o,be)):o.valueType==="item"?ue.push(be):ue.push(vt(o,be))}),y.value=se;const pe=(0,l.toRaw)(ue);C&&(m("update:pathNodes",O),m("update:modelValue",pe),m("change",pe))}},f=(0,l.ref)([]),A=Ve((0,l.computed)(()=>o.appearLoad),"appearLoad",He.Near,Q=>he(Q)),V=A5(),_=async(Q,P)=>{if(Q){const b=await V.load("cascader",Q,P);b.length>0&&(typeof b[0]=="string"?f.value=b.map(C=>I5(C)):f.value=b)}};(0,l.watch)([()=>o.source,()=>o.params],async([Q,P])=>{_(Q,P)},{immediate:!(A.value||o.lazy)});let K=!1;const j=()=>{K||(K=!0,_(o.source,o.params))};(0,l.watch)([()=>f.value,()=>o.modelValue],([Q,P])=>{v(P,o.valueType,Q,!1),m("setValue",P)}),o.lazy&&v(o.modelValue,"value",[],!1);let q=null,k=(0,l.ref)(!1);typeof o.remoteMethod=="function"&&(q=async Q=>{if(Q!=null){k.value=!0;try{f.value=await o.remoteMethod(Q)}catch(P){console.error(P)}k.value=!1}});const R=(0,l.ref)(!1),z=t,N=(0,l.ref)(null),L=(0,l.computed)(()=>({[z]:!0,"is-incomplete":N.value&&N.value.length>0})),$=(0,l.computed)(()=>{let Q={label:o.textKey,value:o.valueKey,children:o.childrenKey};return o.multiple===!0&&(Q.multiple=!0),o.props&&Object.assign(Q,o.props),o.lazy&&(Q.lazy=!0,typeof o.lazyLoad=="function"?Q.lazyLoad=o.lazyLoad:Q.lazyLoad=async(P,b)=>{let C={};o.params&&Object.assign(C,o.params),P&&Object.assign(C,P);const O=await V.load("cascader",o.source,C,!0);if(P?.config?.checkStrictly!==!0&&Array.isArray(y.value)&&y.value.length===P.level){const te=P.pathLabels??[];let re=[];te.forEach(se=>{se&&re.push(se)}),re.length>0&&(N.value=re.join(o.separator))}else N.value=null;b(O)}),Q}),U=Q=>{o.allowCreate?(m("update:modelValue",Q),m("change",Q),y.value=Q):v(Q,"value",f.value,!0)};let Y=ve(o,"hintText"),Z=(0,l.ref)(!1);const M=Q=>{let P=Q.target.value;R.value=!0,ge(Y.value)||(Z.value=!0),m("focus",P,Q)},F=Q=>{setTimeout(()=>{Z.value&&(Z.value=!1),R.value=!1},0);let P=Q.target.value;o.maxLength&&P.length>Number(o.maxLength)&&(P=P.slice(0,Number(o.maxLength))),ae.value||m("blur",P,Q)},D=()=>{m("clear","")},X=(0,l.ref)(!1);let H=null;const W=()=>{o.showTooltip&&X.value===!1&&(H&&clearTimeout(H),H=setTimeout(()=>{X.value=!0},150))},x=()=>{H&&(clearTimeout(H),X.value=!1,H=null)},ee=(0,l.computed)(()=>X.value||Z.value),ne=(0,l.computed)(()=>X.value?p.value:Y.value),ae=(0,l.ref)(!1),G=Q=>{ae.value=Q,m("visible-change",Q),Q||m("selected")},le=Q=>{m("remove-tag",Q)},I=Q=>{m("expand-change",Q)},J=(0,l.ref)();return T({focus:()=>{J?.value.focus()},blur:()=>{J?.value.blur()},getCheckedNodes:()=>J?.value.getCheckedNodes(),setDisabled:Q=>{c.value=Q},setReadonly:Q=>{u.value=Q}}),()=>{if(d.value==="on"&&(h.value||e.value))return i(y.value,r.slots,f.value,o.separator);const Q={...r.attrs,ref:J,class:L.value,props:$.value,clearable:o.clearable,placeholder:N.value||S.placeholder.value,disabled:e.value||h.value,options:f.value,modelValue:y.value,separator:o.separator,onClear:D,onChange:U,onFocus:M,onBlur:F,onVisibleChange:G,onRemoveTag:le,expandChange:I};typeof q=="function"&&(Q["remote-method"]=q,Q.loading=k.value);const P={};r.slots.option&&(P.default=r.slots.option),r.slots.empty&&(P.empty=r.slots.empty);const b=[],C=(0,l.h)(B.ElCascader,Q,P);b.push(C);const O={default:()=>b};O.label=r.slots.default,O.fixedPreTip=r.slots.fixedPreTip,O.fixedTip=r.slots.fixedTip;const te={...Ae(o,So),ref:s,hintText:ne.value,hintVisible:ee.value,onMouseover:W,onMouseleave:x};return o.prop&&(te.prop=`${o.prop}_item`),A.value&&!o.lazy&&(te["appear-listen"]=!0,te.onAppear=j),n(te,O)}}}}var{componentName:_5,create:R5,scope:F5}=ce("cascader-item"),O5=R5(L5(_5,F5,Pe,qe)),na=O5,wo={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]}},H5={...ze,...$e,...wo};function q5(t,a,n,i){return{props:H5,emits:["change","update:modelValue","blur","focus","clear","input","select","setValue"],setup(o,r){const{itemTemplateRef:s,innerDisabled:c,disabled:e,innerReadonly:u,readonly:h,browse:d}=Ie(o),{emitEvent:m,exposeApi:T}=Te({componentName:t,get readonly(){return h.value},get disabled(){return e.value},get props(){return o},context:r,get templateRefProxy(){return s.value}},o.prop??r.attrs.name),{toLocaleRefs:E}=(0,Ne.useFoxI18n)(a),S=E(o,["placeholder"]),y=(0,l.ref)(!1),g=ve(o,"modelValue",null,m),p=t,v=(0,l.computed)(()=>({[p]:!0})),f=z=>{g.value=z,m("update:modelValue",z),m("input",z)},A=z=>{m("change",z)},V=z=>{m("select",z)};let _=ve(o,"hintText"),K=(0,l.ref)(!1);const j=z=>{let N=z.target.value;y.value=!0,ge(_.value)||(K.value=!0),m("focus",N,z)},q=z=>{setTimeout(()=>{K.value&&(K.value=!1),y.value=!1},0);let N=z.target.value;o.maxLength&&N.length>Number(o.maxLength)&&(N=N.slice(0,Number(o.maxLength))),m("blur",N,z)},k=()=>{m("clear","")},R=(0,l.ref)();return T({focus:()=>{R?.value.focus()},blur:()=>{R?.value.blur()},select:()=>{R?.value.select()},setDisabled:z=>{c.value=z},setReadonly:z=>{u.value=z}}),()=>{if(d.value==="on"&&(h.value||e.value))return i(g.value,r.slots);const z={...r.attrs,ref:R,class:v.value,placeholder:S.placeholder.value,clearable:o.clearable,disabled:e.value,readonly:h.value,modelValue:g.value,onClear:k,onChange:A,onInput:f,onFocus:j,onBlur:q,onSelect:V},N={};r.slots.prepend&&(N.prepend=r.slots.prepend),r.slots.append&&(N.append=r.slots.append),r.slots.prefix&&(N.prefix=r.slots.prefix),r.slots.suffix&&(N.suffix=r.slots.suffix),r.slots.option&&(N.default=r.slots.option);const L=[],$=(0,l.h)(B.ElAutocomplete,z,N);L.push($);const U={default:()=>L};U.label=r.slots.default,U.fixedPreTip=r.slots.fixedPreTip,U.fixedTip=r.slots.fixedTip;const Y={...Ae(o,wo),ref:s,hintText:_.value,hintVisible:K.value};return o.prop&&(Y.prop=`${o.prop}_item`),n(o,U)}}}}var{componentName:j5,create:K5,scope:W5}=ce("autocomplete-item"),Y5=K5(q5(j5,W5,Pe,qe)),aa=Y5;function U5(t,a){let n=a.split("."),i=t;for(let o=0;o<n.length;o++){let r=n[o],s=0,c=r.indexOf("["),e=c==-1?-1:r.indexOf("]",c);for(;c!==-1&&e!==-1;){let u=r.substring(c+1,e);if(/^\d+$/.test(u)){let h=parseInt(u);if(s==0){let d=r.substring(0,c);i=i[d][h]}else i=i[h];s++}c=r.indexOf("[",e),e=c==-1?-1:r.indexOf("]",c)}s===0&&(i=i[r])}return i}function G5(t,a){return{props:{...Wr},setup(n,{attrs:i,slots:o}){return()=>{const r={default:s=>{const c=U5(s.row,s.column.property);return o.default?(0,l.h)($t,{...n,modelValue:c},{default:o.default}):(0,l.h)($t,{...n,modelValue:c})}};for(let s in o)s!=="default"&&(r[s]=o[s]);return(0,l.h)(B.ElTableColumn,{...i},r)}}}}var{componentName:X5,create:Q5,scope:Z5}=ce("table-mapping-column"),J5=Q5(G5(X5,Z5)),ra=J5,e6=Symbol.for("TableStateKey");function vo(t,a){let n=a.split("."),i=t;for(let o=0;o<n.length;o++){let r=n[o],s=0,c=r.indexOf("["),e=c==-1?-1:r.indexOf("]",c);for(;c!==-1&&e!==-1;){let u=r.substring(c+1,e);if(/^\d+$/.test(u)){let h=parseInt(u);if(s==0){let d=r.substring(0,c);i=i[d][h]}else i=i[h];s++}c=r.indexOf("[",e),e=c==-1?-1:r.indexOf("]",c)}s===0&&(i=i[r])}return i}function t6(t,a){return{props:{prop:{type:[String],require:!1}},setup(n,{attrs:i}){const o=(0,l.inject)(e6,{});let r=null;return()=>{const s={default:c=>{const e=o.currentRow?o.currentRow.value:null;c.$index!==-1&&(r=c.row);const u=c.$index!==-1?c.row:r;let h=!1;if(u){const m=n.prop??c.column.property;m?h=vo(u,m)===(e?vo(e,m):null):h=Xe(u,e)}const d=(0,l.h)("span",{class:{"el-radio__input":!0,"is-checked":h}},[(0,l.h)("span",{class:{"el-radio__inner":!0}})]);return(0,l.h)("label",{class:{"el-radio":!0,"is-checked":h}},[d])}};return(0,l.h)(B.ElTableColumn,{...i},s)}}}}var{componentName:l6,create:n6,scope:a6}=ce("table-radio-column"),r6=n6(t6(l6,a6)),oa=r6,o6={},i6={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 s6(t,a){return(0,l.openBlock)(),(0,l.createElementBlock)("svg",i6,[...a[0]||(a[0]=[(0,l.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 c6=De(o6,[["render",s6]]),{componentName:Hb,create:u6,scope:qb}=ce("table-setting"),d6={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:"不固定"}},f6=u6({components:{FoxPopover:B.ElPopover,FoxCheckbox:B.ElCheckbox,FoxCheckboxGroup:B.ElCheckboxGroup,FoxButton:B.ElButton,FoxIcon:B.ElIcon,DragIcon:c6,Download:Be.Download,RefreshLeft:Be.RefreshLeft},props:{...d6},setup(t,{emit:a,attrs:n}){let i=[];const o=(0,l.ref)([]),r=(0,l.computed)(()=>o.value.filter(x=>x.label===""||x.type?!1:x.fixed===""||x.fixed===!0||x.fixed==="left")),s=(0,l.computed)(()=>o.value.filter(x=>x.label===""||x.type?!1:x.fixed==="right")),c=(0,l.computed)(()=>o.value.filter(x=>!(x.label===""||x.type||x.fixed!==void 0))),e=(0,l.computed)(()=>(r.value.length>0||s.value.length>0)&&c.value.length>0),u=(0,l.computed)(()=>r.value.length>0),h=(0,l.computed)(()=>s.value.length>0),d=x=>x.length>1,m=(x,ee)=>{Array.isArray(x)&&Array.isArray(ee)&&x.forEach(ae=>{ee.some(G=>G.prop===ae.prop?(ae.label=G.label,!0):!1)});const ne=[];o.value=x.map((ae,G)=>(!(ae.label===""||ae.type)&&ae.visible!==!1&&ne.push(ae.prop),{...ae,sortIndex:G})),c.value.length+r.value.length+s.value.length===ne.length?p.value=!0:ne.length>0&&(v.value=!0),V.value=ne},T=x=>x?x.type?x.type:x.label?x.prop:"":"",E=(x,ee)=>{if(x.length!==ee.length)return!1;const ne=x.map(ae=>T(ae));for(let ae of ee){const G=T(ae);if(ne.indexOf(G)===-1)return!1}return!0},S=x=>{if(!x){const ee=t.tableRef.getColumnSetting(),ne=ee.srcColumnPropertyList;i=ne.map((ae,G)=>({...ae,sortIndex:G})),x=ee.columnPropertyList,x&&x.length>0&&E(ne,x)||(x=ne)}m(x,i)},y=()=>{t.tableRef.setColumnSetting(o.value)},g=(0,l.computed)(()=>({"max-width":`${t.popoverWidth-125}px`})),p=(0,l.ref)(!1),v=(0,l.ref)(!1),f=x=>{const ee=[];o.value.forEach(ne=>{x&&!(ne.label===""||ne.type)&&ee.push(ne.prop),ne.visible=x}),p.value=!1,v.value=!1,c.value.length+r.value.length+s.value.length===ee.length?p.value=!0:ee.length>0&&(v.value=!0),V.value=ee,y()},A=()=>{S(i),y()},V=(0,l.ref)([]),_=x=>{o.value.forEach(ne=>{ne.label===""||ne.type||(ne.visible=x.indexOf(ne.prop)!==-1)}),p.value=!1,v.value=!1;const ee=c.value.length+r.value.length+s.value.length;x.length===ee?p.value=!0:x.length>0&&(v.value=!0),y()},K=()=>{S()};(0,l.onMounted)(()=>{setTimeout(()=>{S()},50)});const j={currentRow:null,index:null,roleType:null},q=x=>x?x.dataset&&x.dataset.role==="row"?x:x.tagName.toLowerCase()!=="body"?(x=x.parentElement,q(x)):null:null,k=x=>{const ee=x.currentTarget;ee&&ee.dataset&&(j.roleType=ee.dataset.roleType,j.index=ee.dataset.index)},R=x=>{j.currentRow&&(j.currentRow.classList.remove("is-dragover"),j.currentRow=null),j.index=null,j.roleType=null},z=x=>{const ee=x.currentTarget;x.relatedTarget;const ne=q(ee);if(!ne)return;const ae=ne.dataset&&ne.dataset.roleType;j.roleType===ae&&(x.preventDefault(),j.currentRow&&j.currentRow!==ne&&j.currentRow.classList.remove("is-dragover"),ne.classList.add("is-dragover"),j.currentRow=ne)},N=x=>{x.preventDefault(),j.currentRow&&(j.currentRow.classList.remove("is-dragover"),j.currentRow=null)},L=x=>{const ee=x.currentTarget,ne=q(ee);if(!ne)return;const ae=ne.dataset&&ne.dataset.roleType;if(j.roleType!==ae)return;x.preventDefault();const G=Number(j.index),le=Number(ne.dataset.index);if(G!==le){if(G<le){const I=o.value[G];o.value.splice(G,1),o.value.splice(le,0,I)}else{const I=o.value[G];o.value.splice(G,1),o.value.splice(le+1,0,I)}m(o.value,i),y()}},$=x=>{const ee=o.value[x];ee.fixed="left",y()},U=x=>{const ee=o.value[x];ee.fixed="right",y()},Y=x=>{const ee=o.value[x];ee.fixed=void 0,y()},Z=new Map;let M=null;function F(x){const ee=document.createRange();return ee.setStart(x,0),ee.setEnd(x,x.childNodes.length),ee.getBoundingClientRect().width}return{attrs:n,leftFixedColumns:r,rightFixedColumns:s,unFixedColumns:c,isShowNotFixedTitle:e,isShowLeftFixedTitle:u,isShowRightFixedTitle:h,isDraggble:d,isCheckAll:p,isIndeterminate:v,handleCheckAllChange:f,handleReset:A,checkedValue:V,handleCheckChange:_,onShow:K,onDragStart:k,onDragEnd:R,onDragOver:z,onDragLeave:N,onDrop:L,toLeftFixed:$,toRightFixed:U,toUnFixed:Y,checkboxLabelStyle:g,onMouseOverForOverflowText:(x,ee,ne)=>{const ae=x.currentTarget;if(ae){const G=Math.floor(ae.offsetWidth);if(Math.floor(F(ae))>G){let le=Z.get(ee);if(le){if(le===M)return;Oe.hide(le)}le=Oe.show(ae,ne,{type:"text",placement:"top",closeOnClick:!1}),le&&(Z.set(ee,le),M=le)}}},onMouseLeaveForOverflowText:(x,ee)=>{const ne=Z.get(ee);ne&&(Oe.hide(ne),ne===M&&(M=null))},onMouseOverForTip:(x,ee)=>{const ne=x.currentTarget;ne&&(M&&Oe.hide(M),M=Oe.show(ne,ee,{type:"text",placement:"top",closeOnClick:!1}))},onMouseLeaveForTip:x=>{M&&(Oe.hide(M),M=null)}}}}),m6={class:"fox-table-setting"},h6={class:"fox-table-setting__header"},p6={class:"fox-table-setting__body"},g6={key:0,class:"fox-table-setting__body-list left-fixed","data-role":"container","data-role-type":"leftFixed"},y6={key:0,class:"fox-table-setting__body-title"},b6=["data-index","draggable"],S6=["onMouseover","onMouseleave"],w6={class:"tools-item"},v6={key:1,class:"fox-table-setting__body-list not-fixed","data-role":"container","data-role-type":"unFixed"},N6={key:0,class:"fox-table-setting__body-title"},C6=["data-index","draggable"],k6=["onMouseover","onMouseleave"],x6={class:"tools-item"},z6={key:2,class:"fox-table-setting__body-list right-fixed","data-role":"container","data-role-type":"rightFixed"},E6={key:0,class:"fox-table-setting__body-title"},T6=["data-index","draggable"],$6=["onMouseover","onMouseleave"],B6={class:"tools-item"};function V6(t,a,n,i,o,r){const s=(0,l.resolveComponent)("FoxCheckbox"),c=(0,l.resolveComponent)("FoxButton"),e=(0,l.resolveComponent)("DragIcon"),u=(0,l.resolveComponent)("RefreshLeft"),h=(0,l.resolveComponent)("FoxIcon"),d=(0,l.resolveComponent)("Download"),m=(0,l.resolveComponent)("fox-checkbox"),T=(0,l.resolveComponent)("FoxCheckboxGroup"),E=(0,l.resolveComponent)("FoxPopover");return(0,l.openBlock)(),(0,l.createBlock)(E,(0,l.mergeProps)(t.attrs,{placement:t.popoverPlacement,width:t.popoverWidth,onShow:t.onShow,trigger:"click","popper-class":"fox-table-setting__popper"}),{reference:(0,l.withCtx)(()=>[(0,l.renderSlot)(t.$slots,"default")]),default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",m6,[(0,l.createElementVNode)("div",h6,[(0,l.createVNode)(s,{modelValue:t.isCheckAll,"onUpdate:modelValue":a[0]||(a[0]=S=>t.isCheckAll=S),indeterminate:t.isIndeterminate,onChange:t.handleCheckAllChange},{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(t.title),1)]),_:1},8,["modelValue","indeterminate","onChange"]),(0,l.createVNode)(c,{onClick:t.handleReset,link:"",type:"primary"},{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(t.resetText),1)]),_:1},8,["onClick"])]),(0,l.createElementVNode)("div",p6,[(0,l.createVNode)(T,{modelValue:t.checkedValue,"onUpdate:modelValue":a[28]||(a[28]=S=>t.checkedValue=S),onChange:t.handleCheckChange},{default:(0,l.withCtx)(()=>[t.leftFixedColumns.length>0?((0,l.openBlock)(),(0,l.createElementBlock)("div",g6,[t.isShowLeftFixedTitle?((0,l.openBlock)(),(0,l.createElementBlock)("div",y6,(0,l.toDisplayString)(t.leftFixedTitle),1)):(0,l.createCommentVNode)("",!0),((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(t.leftFixedColumns,S=>((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:S.prop,class:"fox-table-setting__body-row","data-role":"row","data-role-type":"leftFixed","data-index":S.sortIndex,draggable:t.isDraggble(t.leftFixedColumns),onDragstart:a[5]||(a[5]=(...y)=>t.onDragStart&&t.onDragStart(...y)),onDragend:a[6]||(a[6]=(...y)=>t.onDragEnd&&t.onDragEnd(...y)),onDrop:a[7]||(a[7]=(...y)=>t.onDrop&&t.onDrop(...y)),onDragover:a[8]||(a[8]=(...y)=>t.onDragOver&&t.onDragOver(...y)),onDragleave:a[9]||(a[9]=(...y)=>t.onDragLeave&&t.onDragLeave(...y))},[t.isDraggble(t.leftFixedColumns)?((0,l.openBlock)(),(0,l.createBlock)(e,{key:0,class:"icon-item"})):(0,l.createCommentVNode)("",!0),(0,l.createVNode)(s,{class:"checkbox-item",value:S.prop},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("span",{onMouseover:y=>t.onMouseOverForOverflowText(y,S.prop,S.label),onMouseleave:y=>t.onMouseLeaveForOverflowText(y,S.prop),class:"checkbox-item__label",style:(0,l.normalizeStyle)(t.checkboxLabelStyle)},(0,l.toDisplayString)(S.label),45,S6)]),_:2},1032,["value"]),(0,l.createElementVNode)("div",w6,[(0,l.createVNode)(h,{onClick:y=>t.toUnFixed(S.sortIndex),onMouseover:a[1]||(a[1]=y=>t.onMouseOverForTip(y,t.unFixedText)),onMouseleave:a[2]||(a[2]=y=>t.onMouseLeaveForTip(y))},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(u)]),_:1},8,["onClick"]),(0,l.createVNode)(h,{onClick:y=>t.toRightFixed(S.sortIndex),onMouseover:a[3]||(a[3]=y=>t.onMouseOverForTip(y,t.fixedRightText)),onMouseleave:a[4]||(a[4]=y=>t.onMouseLeaveForTip(y))},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(d)]),_:1},8,["onClick"])])],40,b6))),128))])):(0,l.createCommentVNode)("",!0),t.unFixedColumns.length>0?((0,l.openBlock)(),(0,l.createElementBlock)("div",v6,[t.isShowNotFixedTitle?((0,l.openBlock)(),(0,l.createElementBlock)("div",N6,(0,l.toDisplayString)(t.unFixedTitle),1)):(0,l.createCommentVNode)("",!0),((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(t.unFixedColumns,S=>((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:S.prop,class:"fox-table-setting__body-row","data-role":"row","data-role-type":"unFixed","data-index":S.sortIndex,draggable:t.isDraggble(t.unFixedColumns),onDragstart:a[14]||(a[14]=(...y)=>t.onDragStart&&t.onDragStart(...y)),onDragend:a[15]||(a[15]=(...y)=>t.onDragEnd&&t.onDragEnd(...y)),onDrop:a[16]||(a[16]=(...y)=>t.onDrop&&t.onDrop(...y)),onDragover:a[17]||(a[17]=(...y)=>t.onDragOver&&t.onDragOver(...y)),onDragleave:a[18]||(a[18]=(...y)=>t.onDragLeave&&t.onDragLeave(...y))},[t.isDraggble(t.unFixedColumns)?((0,l.openBlock)(),(0,l.createBlock)(e,{key:0,class:"icon-item"})):(0,l.createCommentVNode)("",!0),(0,l.createVNode)(s,{class:"checkbox-item",value:S.prop},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("span",{onMouseover:y=>t.onMouseOverForOverflowText(y,S.prop,S.label),onMouseleave:y=>t.onMouseLeaveForOverflowText(y,S.prop),class:"checkbox-item__label",style:(0,l.normalizeStyle)(t.checkboxLabelStyle)},(0,l.toDisplayString)(S.label),45,k6)]),_:2},1032,["value"]),(0,l.createElementVNode)("div",x6,[(0,l.createVNode)(h,{onClick:y=>t.toLeftFixed(S.sortIndex),onMouseover:a[10]||(a[10]=y=>t.onMouseOverForTip(y,t.fixedLeftText)),onMouseleave:a[11]||(a[11]=y=>t.onMouseLeaveForTip(y)),class:"is-reverse"},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(d)]),_:1},8,["onClick"]),(0,l.createVNode)(h,{onClick:y=>t.toRightFixed(S.sortIndex),onMouseover:a[12]||(a[12]=y=>t.onMouseOverForTip(y,t.fixedRightText)),onMouseleave:a[13]||(a[13]=y=>t.onMouseLeaveForTip(y))},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(d)]),_:1},8,["onClick"])])],40,C6))),128))])):(0,l.createCommentVNode)("",!0),t.rightFixedColumns.length>0?((0,l.openBlock)(),(0,l.createElementBlock)("div",z6,[t.isShowRightFixedTitle?((0,l.openBlock)(),(0,l.createElementBlock)("div",E6,(0,l.toDisplayString)(t.rightFixedTitle),1)):(0,l.createCommentVNode)("",!0),((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(t.rightFixedColumns,S=>((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:S.prop,class:"fox-table-setting__body-row","data-role":"row","data-role-type":"rightFixed","data-index":S.sortIndex,draggable:t.isDraggble(t.rightFixedColumns),onDragstart:a[23]||(a[23]=(...y)=>t.onDragStart&&t.onDragStart(...y)),onDragend:a[24]||(a[24]=(...y)=>t.onDragEnd&&t.onDragEnd(...y)),onDrop:a[25]||(a[25]=(...y)=>t.onDrop&&t.onDrop(...y)),onDragover:a[26]||(a[26]=(...y)=>t.onDragOver&&t.onDragOver(...y)),onDragleave:a[27]||(a[27]=(...y)=>t.onDragLeave&&t.onDragLeave(...y))},[t.isDraggble(t.rightFixedColumns)?((0,l.openBlock)(),(0,l.createBlock)(e,{key:0,class:"icon-item"})):(0,l.createCommentVNode)("",!0),(0,l.createVNode)(m,{class:"checkbox-item",label:S.prop},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("span",{onMouseover:y=>t.onMouseOverForOverflowText(y,S.prop,S.label),onMouseleave:y=>t.onMouseLeaveForOverflowText(y,S.prop),class:"checkbox-item__label",style:(0,l.normalizeStyle)(t.checkboxLabelStyle)},(0,l.toDisplayString)(S.label),45,$6)]),_:2},1032,["label"]),(0,l.createElementVNode)("div",B6,[(0,l.createVNode)(h,{onClick:y=>t.toUnFixed(S.sortIndex),onMouseover:a[19]||(a[19]=y=>t.onMouseOverForTip(y,t.unFixedText)),onMouseleave:a[20]||(a[20]=y=>t.onMouseLeaveForTip(y))},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(u)]),_:1},8,["onClick"]),(0,l.createVNode)(h,{onClick:y=>t.toLeftFixed(S.sortIndex),onMouseover:a[21]||(a[21]=y=>t.onMouseOverForTip(y,t.fixedLeftText)),onMouseleave:a[22]||(a[22]=y=>t.onMouseLeaveForTip(y)),class:"is-reverse"},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(d)]),_:1},8,["onClick"])])],40,T6))),128))])):(0,l.createCommentVNode)("",!0)]),_:1},8,["modelValue","onChange"])])])]),_:3},16,["placement","width","onShow"])}var jl=De(f6,[["render",V6]]),D6=class{scope;constructor(t){this.scope=t}async load(t,a,n,i,o,r,s){if(!a)return{totalSize:0,page:[]};if(Array.isArray(a)){let e=(n-1)*i,u=e+i;u>a.length&&(u=a.length);const h=a.slice(e,u);return{totalSize:a.length,page:h}}if(typeof a=="function")return await Reflect.apply(a,null,[n,i,o,r,s]);const c=Fe(t,this.scope);return c===null?(console.error(`[FoxUI]${t} component not found api function`),{totalSize:0,page:[]}):(Ye(o)&&(0,l.isReactive)(o)&&(o=(0,l.toRaw)(o)),await Reflect.apply(c,null,[a,n,i,o,r,s]))}};function M6(){return new D6(Ze())}var A6=class{scope;constructor(t){this.scope=t}async load(t){let a=null;const n=Fe("tableSetting",this.scope);return typeof n=="function"&&(a=await Reflect.apply(n,null,["load",t])),a}save(t,a){const n=Fe("tableSetting",this.scope);typeof n=="function"&&Reflect.apply(n,null,["save",t,a])}remove(t){const a=Fe("tableSetting",this.scope);typeof a=="function"&&Reflect.apply(a,null,["remove",t])}};function I6(){return new A6(Ze())}var P6=Symbol.for("TableStateKey"),No={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"}},Co={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:()=>"large"},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}},ia={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:"不固定"}},L6={infiniteLoad:{type:Boolean,default:!0},loadText:{type:String,default:"加载中..."},noMoreText:{type:String,default:"无更多数据"}};function _6(t,a){let n=a.split("."),i=t;for(let o=0;o<n.length;o++){let r=n[o],s=0,c=r.indexOf("["),e=c==-1?-1:r.indexOf("]",c);for(;c!==-1&&e!==-1;){let u=r.substring(c+1,e);if(/^\d+$/.test(u)){let h=parseInt(u);if(s==0){let d=r.substring(0,c);i=i[d][h]}else i=i[h];s++}c=r.indexOf("[",e),e=c==-1?-1:r.indexOf("]",c)}s===0&&(i=i[r])}return i}function sa(t,a){return t.filter(n=>{for(let i in a)if(a[i]!==_6(n,i))return!1;return!0})}var R6={...ze,...$e,...No,...Co,...ia,...L6};function F6(t,a,n){return{props:R6,emits:["change","page-size-change","page-index-change","current-change","loaded-data","expand-change","row-click"],setup(i,o){const{locale:r,toLocaleRefs:s}=(0,Ne.useFoxI18n)(a),c=s(i,["loadText","noMoreText"]),e=(0,l.ref)(),{emitEvent:u,broadcast:h,exposeApi:d}=Te({componentName:t,validateHandler:{getValue(...oe){return k.value}},get props(){return i},context:o,get templateRefProxy(){return e.value}},i.prop??o.attrs.name),m=t,T=(0,l.computed)(()=>({[m]:!0})),E=(0,l.computed)(()=>({[`${m}__setting`]:!0})),S=(0,l.computed)(()=>({[`${m}__footer`]:!0,[`${m}__footer__${i.footerAlign}`]:!0})),y=(0,l.computed)(()=>({[`${m}__pagination`]:!0,[`${m}__pagination__${i.paginationAlign}`]:!0})),g=(0,l.shallowRef)({}),p=(0,l.computed)(()=>({...g.value,...i.params??{},...i.baseParams??{}})),v=(0,l.ref)(i.infiniteLoad===!0?0:i.pageIndex),f=(0,l.ref)(i.pageSize),A=he(i.infiniteLoad);A||((0,l.watch)(()=>i.pageIndex,oe=>{v.value=oe}),(0,l.watch)(()=>i.pageSize,oe=>{f.value=oe}),(0,l.watch)([v,f],([oe,ie],[de,me])=>{ie!==me&&(v.value=1,oe=1),L(i.data,oe,ie,p.value)}));const V=()=>Array.isArray(i.data)?!0:he(i.autoLoad);V()&&(0,l.watch)([()=>i.data,p],async([oe,ie],[de,me])=>{V()&&(oe!==de&&(z.value=!0),!(!Array.isArray(oe)&&Xe(oe,de)&&Xe(ie,me))&&(A?(v.value=0,j.value=!0,k.value=[],U()):v.value===1?L(oe,v.value,f.value,ie):v.value=1))},{deep:!0});const _=oe=>{v.value=oe,u("page-index-change",oe)},K=oe=>{f.value=oe,u("page-size-change",oe)},j=(0,l.ref)(!0),q=(0,l.ref)(0),k=(0,l.ref)([]),R=M6();let z=(0,l.ref)(!0);const N=Ve((0,l.computed)(()=>i.lazyLoad),"lazyLoad",He.Near,oe=>he(oe)),L=async(oe,ie,de,me,Ke)=>{try{if(Ke===!0){if(!j.value)return!1;const Ce=await R.load("table",oe,ie,de,me,z.value,r.value);return q.value=Ce.totalSize,!Ce.page||!Array.isArray(Ce.page)||(Reflect.apply([].push,k.value,Ce.page),setTimeout(()=>{u("loaded-data")},250),(k.value?.length??0)>=q.value)||Ce.page.length<de?(j.value=!1,!1):!0}else{const Ce=await R.load("table",oe,ie,de,me,z.value,r.value);return q.value=Ce.totalSize,k.value=Ce.page??[],setTimeout(()=>{u("loaded-data")},250),!0}}catch(Ce){console.error("[FoxUI] Load Table Data Fail",Ce),q.value=0,k.value=[]}finally{z.value=!1}return!1};let $=!1;const U=async()=>{if(!$){if($=!0,!j.value){$=!1;return}v.value+=1,await L(i.data,v.value,f.value,p.value,!0),$=!1}},Y=(oe={},ie=!1)=>new Promise(async de=>{g.value={...(0,l.toRaw)(oe??{})},ie||(v.value=i.pageIndex??1),A===!0?(v.value=0,k.value=[],j.value=!0,await U()):await L(i.data,v.value,f.value,p.value),de()}),Z=()=>{q.value=0,k.value=[],A===!0&&(v.value=0,j.value=!0)};let M=!1;const F=()=>{M||(M=!0,Y())},D=(0,l.ref)(null);if(A===!0){let oe=null;const ie=()=>{D.value&&(oe=new IntersectionObserver(me=>{let Ke=!1;for(let Ce of me)if(Ce.intersectionRatio>0){Ke=!0;break}Ke&&z.value===!1&&U()}),oe.observe(D.value))},de=()=>{!oe||!D.value||(oe.unobserve(D.value),oe=null)};(0,l.onMounted)(ie),(0,l.onBeforeUnmount)(de)}V()&&!N.value&&Y();const X=(0,l.ref)(null);(0,l.provide)(P6,{currentRow:X});const H=(oe,ie)=>{X.value=oe,u("current-change",oe,ie)},W=(oe,ie,de)=>{u("row-click",oe,ie,de),he(i.rowClickSelectable)===!0&&_e?.value.toggleRowSelection(oe)},x=[],ee=(oe,ie)=>{if(u("expand-change",oe,ie),he(i.uniqueExpansion))if(Array.isArray(ie)&&ie.length==0){const de=x.length;x.splice(0,de)}else{x.forEach(me=>{me!==oe&&_e?.value.toggleRowExpansion(me,!1)});const de=x.length;x.splice(0,de,oe)}},ne=o.attrs.id??i.prop??o.attrs.name,ae=I6(),G=(0,l.ref)([]);let le=[];const I=()=>({srcColumnPropertyList:le.map(oe=>({...oe})),columnPropertyList:G.value}),J=oe=>{G.value=[...oe],P()},Q=async()=>{const oe=await ae.load(ne);oe&&(G.value=oe)},P=()=>{ae.save(ne,G.value)},b=()=>{ae.remove(ne)};Q();const C=oe=>oe?oe.type?oe.type:oe.label?oe.prop:"":"",O=(oe,ie={})=>{for(let de in ie){const me=ie[de];typeof me!="function"&&(oe[de]=me)}},te=oe=>{const ie=oe?oe():[],de=new Map;if(le=[],ie.forEach(me=>{const Ke=me;if(!Ke.props)return;const Ce=C(Ke.props);de.set(Ce,Ke);const Ee={label:"",prop:""};O(Ee,Ke.props),le.push(Ee)}),G.value.length===le.length){const me=[];for(let Ke of G.value){const Ce=C(Ke),Ee=de.get(Ce);if(!Ee)return ie;if(Ke.visible===!1)continue;const ut=Ee;ut.props.fixed=Ke.fixed,me.push(ut)}return me}return ie},re=(0,l.shallowRef)(new Map),se=({row:oe,column:ie,rowIndex:de,columnIndex:me})=>{const Ke=`${de}_${ie.property}`,Ce=`${de}_${me}`;let Ee=re.value.get(Ke);return Ee||(Ee=re.value.get(Ce)),typeof Ee=="string"?Ee:""},ue=oe=>oe?ie=>{const de=[];let me=se(ie);return me&&de.push(me),me=typeof oe=="function"?oe(ie):oe,me&&de.push(me),de.length===0?"":de.join(" ")}:se,pe=(oe=!1)=>{re.value.forEach((ie,de)=>{be(de,ie,oe)})},be=(oe,ie,de=!1)=>{const me=`${oe}_item`;de?(h.clearPersistantMessage(),Array.isArray(ie)?h.emitToChildren({name:oe},"setCellClassNames",[]):h.emitToChildren({name:me},"setCustomClassName","")):Array.isArray(ie)?h.emitToChildren({name:oe,cachePolicy:"Persistant",uniqueId:me},"setCellClassNames",ie):h.emitToChildren({name:me,cachePolicy:"Persistant",uniqueId:me},"setCustomClassName",ie)},xe=(oe,ie,de)=>{const me=`${oe}_${ie}`;de?(re.value.set(me,de),be(me,de)):(re.value.delete(me),be(me,"",!0)),(0,l.triggerRef)(re)},Le=oe=>{pe(!0),re.value.clear(),oe.forEach(ie=>{const de=`${ie.rowIndex}_${ie.column}`;Array.isArray(ie.children)?re.value.set(de,ie.children):typeof ie.cellClassName=="string"&&re.value.set(de,ie.cellClassName)}),pe(),(0,l.triggerRef)(re)},Ge=()=>{pe(),re.value.clear(),(0,l.triggerRef)(re)},rt=(0,l.shallowRef)(new Map),cl=({rowIndex:oe})=>{const ie=`${oe}`;return rt.value.get(ie)??""},an=oe=>oe?ie=>{const de=[];let me=cl(ie);return me&&de.push(me),me=typeof oe=="function"?oe(ie):oe,me&&de.push(me),de.length===0?"":de.join(" ")}:cl,Yp=(oe,ie)=>{const de=`${oe}`;ie?rt.value.set(de,ie):rt.value.delete(de),(0,l.triggerRef)(rt)},Up=()=>{rt.value.clear(),(0,l.triggerRef)(rt)},_e=(0,l.ref)();return d({clearSelection:()=>_e?.value.clearSelection(),getSelectionRows:()=>_e?.value.getSelectionRows(),toggleRowSelection:(oe,ie)=>{_e?.value.toggleRowSelection(oe,ie)},toggleRowSelectionByProp:(oe,ie)=>{if(!k.value)return;const de=sa(k.value,oe);de.length!==0&&de.forEach(me=>{_e?.value.toggleRowSelection(me,ie)})},toggleAllSelection:()=>{_e?.value.toggleAllSelection()},toggleRowExpansion:(oe,ie)=>{_e?.value.toggleRowExpansion(oe,ie)},toggleRowExpansionByProp:(oe,ie)=>{if(!k.value)return;const de=sa(k.value,oe);de.length!==0&&de.forEach(me=>{_e?.value.toggleRowExpansion(me,ie)})},setCurrentRow:oe=>{_e?.value.setCurrentRow(oe)},setCurrentRowByProp:oe=>{if(!k.value)return;const ie=sa(k.value,oe);ie.length!==0&&_e?.value.setCurrentRow(ie[0])},getCurrentRow:()=>X.value,clearSort:()=>{_e?.value.clearSort()},clearFilter:oe=>{_e?.value.clearFilter(oe)},doLayout:()=>{_e?.value.doLayout()},sort:(oe,ie)=>{_e?.value.sort(oe,ie)},scrollTo:(oe,ie)=>{_e?.value.scrollTo(oe,ie)},setScrollTop:oe=>{_e?.value.setScrollTop(oe)},setScrollLeft:oe=>{_e?.value.setScrollLeft(oe)},loadData:Y,clearData:Z,getData(){return k.value},getTotalSize(){return q.value},getPageIndex(){return v.value},getPageSize(){return f.value},getColumnSetting:I,setColumnSetting:J,removeColumnSetting:b,setCellClassName:xe,setCellClassNames:Le,clearCellClassName:Ge,setRowClassName:Yp,clearRowClassName:Up}),()=>{const oe={...et(o.attrs),onCurrentChange:H,onRowClick:W,onExpandChange:ee,data:k.value,ref:_e,class:T.value,"cell-class-name":ue(i.cellClassName),"row-class-name":an(i.rowClassName)},ie={};if(o.slots.default&&(ie.default=()=>te(o.slots.default)),o.slots.append&&(ie.append=o.slots.append),o.slots.empty&&(ie.empty=o.slots.empty),A===!0){const Ee=[];if(j.value){const _t=(0,l.h)(Be.Loading,{class:`${m}__infinite-icon`});Ee.push(_t);const ul=(0,l.h)("span",{class:`${m}__infinite-text`},[c.loadText.value]);Ee.push(ul)}else{let _t=c.noMoreText.value;(!k.value||k.value.length===0)&&(_t="");const ul=(0,l.h)("span",{class:`${m}__infinite-text`},[_t]);Ee.push(ul)}const ut=[`${m}__infinite`];z.value&&ut.push("is-hide");const Ua=(0,l.h)("div",{ref:D,class:ut},Ee);ie.append=()=>Ua}const de=(0,l.h)(B.ElTable,oe,ie),me=[];if(me.push(de),!A){let Ee=null;if(typeof o.slots.pagination=="function"?Ee=o.slots.pagination():i.showPagination&&(Ee=(0,l.h)(B.ElPagination,{class:y.value,total:q.value,pageSize:f.value,"onUpdate:pageSize":K,pageSizes:i.pageSizes,currentPage:v.value,"onUpdate:currentPage":_,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 ut=[];Ee&&ut.push(Ee);const Ua=(0,l.h)(B.ElIcon,{class:E.value},{default:()=>(0,l.h)(Be.Setting)}),_t=(0,l.h)(jl,{...tt(i,ia),tableRef:{getColumnSetting:I,setColumnSetting:J,removeColumnSetting:b}},{default:()=>Ua});ut.push(_t);const ul=(0,l.h)("div",{class:S.value},ut);me.push(ul)}else Ee&&me.push(Ee)}const Ke={default:()=>me},Ce={...Ae(i,No,Co,ia),ref:e};return i.prop&&(Ce.prop=`${i.prop}_item`),Ce.contentClass=`${m}__wrap`,Ce.errorMarkClass="is-table-error",N.value&&V()&&(Ce["appear-listen"]=!0,Ce.onAppear=F),n(Ce,Ke)}}}}var{componentName:O6,create:H6,scope:q6}=ce("table-item"),j6=H6(F6(O6,q6,Pe)),ca=j6;function Dt(t,a){return typeof t.textKey=="string"&&t.textKey.length>0?a[t.textKey]:a.text}function tl(t,a){return typeof t.valueKey=="string"&&t.valueKey.length>0?a[t.valueKey]:a.value}function K6(t,a){return typeof t.disabledKey=="string"&&t.disabledKey.length>0?a[t.disabledKey]:a.disabled??null}var W6=class{scope;constructor(t){this.scope=t}async load(t,a,n){if(!a)return[];if(Array.isArray(a))return a;if(typeof a=="function")return await a(n);const i=Fe(t,this.scope);return i===null?(console.error(`[FoxUI]${t} component not found api function`),[]):(Ye(n)&&(0,l.isReactive)(n)&&(n=(0,l.toRaw)(n)),await i(a,n))}};function Y6(){return new W6(Ze())}function ko(t,a,n){return a===n?!0:!(a===null||n===null||Dt(t,a)!==Dt(t,n)||tl(t,a)!==tl(t,n))}function U6(t,a,n,i){if(i.length==0||a===""||a===null||a===void 0)return null;let o=null;for(let r of i){let s=!1;if(n==="text")s=Dt(t,r)===a;else if(n==="item")s=ko(t,r,a);else{let c=tl(t,r);c==null&&(c=Dt(t,r)),s=c===a}if(s){o=r;break}}return o}function G6(t){return{text:t,value:t}}function X6(t,a,n){return typeof t.itemOptions=="function"?t.itemOptions(a,n):t.itemOptions}var xo={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}},Q6={...ze,...$e,...xo};function Z6(t,a,n,i){return{inheritAttrs:!0,props:Q6,emits:["change","update:modelValue","setValue"],setup(o,r){const{itemTemplateRef:s,innerDisabled:c,disabled:e,innerReadonly:u,readonly:h,browse:d}=Ie(o),{emitEvent:m,exposeApi:T}=Te({componentName:t,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus","setValue"],get readonly(){return h.value},get disabled(){return e.value},get props(){return o},context:r,get templateRefProxy(){return s.value}},o.prop??r.attrs.name),E=(0,l.ref)(null),S=(0,l.ref)(null),y=(z,N,L,$=!0)=>{const U=U6(o,z,N,L);if(U===null){if(S.value===null)return;S.value=null,E.value=null,$&&(m("update:modelValue",null),m("change",null));return}if(!ko(o,U,S.value)){E.value=z;const Y=(0,l.toRaw)(U);S.value=Y;let Z=null;o.valueType==="text"?Z=Dt(o,Y):o.valueType==="item"?Z=Y:Z=tl(o,Y),$&&(m("update:modelValue",Z),m("change",Z))}},g=(0,l.ref)([]),p=Ve((0,l.computed)(()=>o.appearLoad),"appearLoad",He.Near,z=>he(z)),v=Y6(),f=async(z,N)=>{if(z){const L=await v.load("radio",z,N);L.length>0&&(typeof L[0]=="string"?g.value=L.map($=>G6($)):g.value=L)}};(0,l.watch)([()=>o.source,()=>o.params],async([z,N])=>{f(z,N)},{immediate:!p.value});let A=!1;const V=()=>{A||(A=!0,f(o.source,o.params))};(0,l.watch)([()=>g.value,()=>o.modelValue],([z,N])=>{y(N,o.valueType,z,!1),m("setValue",N)});const _=t,K=(0,l.computed)(()=>({[_]:!0,[`is-${o.direction}`]:!0})),j=z=>{y(z,"value",g.value,!0)};let q=ve(o,"hintText"),k=ve(o,"hintVisible");const R=(z,N)=>{typeof o.sourceFilter=="function"&&(z=z.filter(o.sourceFilter));const L=[];return z.forEach(($,U)=>{const Y=tl(o,$),Z=Dt(o,$);let M=K6(o,$);e.value===!0&&(M=e.value),h.value===!0&&(M=h.value);const F=X6(o,$,U)??{},D=`${Y}_${U}`,X={...F,key:D,value:Y,size:o.size,border:he(o.border)};M&&(X.disabled=M),o.itemType==="button"?L.push((0,l.h)(B.ElRadioButton,X,{default:()=>[Z]})):typeof N=="function"?L.push((0,l.h)(B.ElRadio,X,{default:()=>N($)})):L.push((0,l.h)(B.ElRadio,X,{default:()=>[Z]}))}),L};return T({setDisabled:z=>{c.value=z},setReadonly:z=>{u.value=z}}),()=>{if(d.value==="on"&&(h.value||e.value))return i(E.value,r.slots,g.value);const z={...et(r.attrs),class:K.value,disabled:e.value||h.value,modelValue:E.value,"text-color":o.textColor,fill:o.fill,onChange:j},N=[],L={};r.slots.options?L.default=r.slots.options:L.default=()=>R(g.value,r.slots.text);const $=(0,l.h)(B.ElRadioGroup,z,L);N.push($);const U={default:()=>N};U.label=r.slots.default,U.fixedPreTip=r.slots.fixedPreTip,U.fixedTip=r.slots.fixedTip;const Y={...Ae(o,xo),ref:s,hintText:q.value,hintVisible:k.value};return o.prop&&(Y.prop=`${o.prop}_item`),p.value&&(Y["appear-listen"]=!0,Y.onAppear=V),n(Y,U)}}}}var{componentName:J6,create:e8,scope:t8}=ce("radio-item"),l8=e8(Z6(J6,t8,Pe,qe)),ua=l8;function Mt(t,a){return typeof t.textKey=="string"&&t.textKey.length>0?a[t.textKey]:a.text}function At(t,a){return typeof t.valueKey=="string"&&t.valueKey.length>0?a[t.valueKey]:a.value}function n8(t,a){return typeof t.disabledKey=="string"&&t.disabledKey.length>0?a[t.disabledKey]:a.disabled??null}var a8=class{scope;constructor(t){this.scope=t}async load(t,a,n){if(!a)return[];if(Array.isArray(a))return a;if(typeof a=="function")return await a(n);const i=Fe(t,this.scope);return i===null?(console.error(`[FoxUI]${t} component not found api function`),[]):(Ye(n)&&(0,l.isReactive)(n)&&(n=(0,l.toRaw)(n)),await i(a,n))}};function r8(){return new a8(Ze())}function zo(t,a,n){return a===n?!0:!(a===null||n===null||Mt(t,a)!==Mt(t,n)||At(t,a)!==At(t,n))}function o8(t,a,n,i){if(i.length==0||a===""||a===null||a===void 0)return null;Array.isArray(a)||(a=[a]);const o=[];return a.forEach(r=>{for(let s of i){let c=!1;if(n==="text")c=Mt(t,s)===r;else if(n==="item")c=zo(t,s,r);else{let e=At(t,s);e==null&&(e=Mt(t,s)),c=e===r}if(c){o.push(s);break}}}),o}function i8(t){return{text:t,value:t}}function s8(t,a,n){return typeof t.itemOptions=="function"?t.itemOptions(a,n):t.itemOptions}var Eo={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:", "}},c8={...ze,...$e,...Eo};function u8(t,a,n,i){return{inheritAttrs:!0,props:c8,emits:["change","update:modelValue","setValue"],setup(o,r){const{itemTemplateRef:s,innerDisabled:c,disabled:e,innerReadonly:u,readonly:h,browse:d}=Ie(o),{emitEvent:m,exposeApi:T}=Te({componentName:t,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus","setValue"],get readonly(){return h.value},get disabled(){return e.value},get props(){return o},context:r,get templateRefProxy(){return s.value}},o.prop??r.attrs.name),E=(0,l.ref)([]),S=(0,l.ref)([]),y=(z,N,L,$=!0)=>{const U=o8(o,z,N,L);if(U===null){if(S.value===null||S.value.length===0)return;E.value=[],S.value=[],$&&(m("update:modelValue",[]),m("change",[]));return}let Y=!0;if(U.length!==S.value.length)Y=!1;else for(let Z=0;Z<U.length;Z++){const M=U[Z],F=S.value[Z];if(!zo(o,M,F)){Y=!1;break}}if(!Y){S.value=U;let Z=[],M=[];U.forEach(D=>{Z.push(At(o,D)),o.valueType==="text"?M.push(Mt(o,D)):o.valueType==="item"?M.push(D):M.push(At(o,D))}),E.value=Z;const F=(0,l.toRaw)(M);$&&(m("update:modelValue",F),m("change",F))}},g=(0,l.ref)([]),p=Ve((0,l.computed)(()=>o.appearLoad),"appearLoad",He.Near,z=>he(z)),v=r8(),f=async(z,N)=>{if(z){const L=await v.load("checkbox",z,N);L.length>0&&(typeof L[0]=="string"?g.value=L.map($=>i8($)):g.value=L)}};(0,l.watch)([()=>o.source,()=>o.params],async([z,N])=>{f(z,N)},{immediate:!p.value});let A=!1;const V=()=>{A||(A=!0,f(o.source,o.params))};(0,l.watch)([()=>g.value,()=>o.modelValue],([z,N])=>{y(N,o.valueType,z,!1),m("setValue",N)});const _=t,K=(0,l.computed)(()=>({[_]:!0,[`is-${o.direction}`]:!0})),j=z=>{y(z,"value",g.value,!0)};let q=ve(o,"hintText"),k=ve(o,"hintVisible");const R=(z,N)=>{typeof o.sourceFilter=="function"&&(z=z.filter(o.sourceFilter));const L=[];return z.forEach(($,U)=>{const Y=At(o,$),Z=Mt(o,$);let M=n8(o,$);e.value===!0&&(M=e.value),h.value===!0&&(M=h.value);const F=s8(o,$,U)??{},D=`${Y}_${U}`,X={...F,key:D,value:Y,size:o.size,border:he(o.border)};M&&(X.disabled=M),o.itemType==="button"?L.push((0,l.h)(B.ElCheckboxButton,X,{default:()=>[Z]})):typeof N=="function"?L.push((0,l.h)(B.ElCheckbox,X,{default:()=>N($)})):L.push((0,l.h)(B.ElCheckbox,X,{default:()=>[Z]}))}),L};return T({setDisabled:z=>{c.value=z},setReadonly:z=>{u.value=z}}),()=>{if(d.value==="on"&&(h.value||e.value))return i(E.value,r.slots,g.value,o.separator);const z={...et(r.attrs),class:K.value,disabled:e.value||h.value,modelValue:E.value,"text-color":o.textColor,fill:o.fill,max:we(o.max),min:we(o.min),onChange:j},N=[],L={};r.slots.options?L.default=r.slots.options:L.default=()=>R(g.value,r.slots.text);const $=(0,l.h)(B.ElCheckboxGroup,z,L);N.push($);const U={default:()=>N};U.label=r.slots.default,U.fixedPreTip=r.slots.fixedPreTip,U.fixedTip=r.slots.fixedTip;const Y={...Ae(o,Eo),ref:s,hintText:q.value,hintVisible:k.value};return o.prop&&(Y.prop=`${o.prop}_item`),p.value&&(Y["appear-listen"]=!0,Y.onAppear=V),n(Y,U)}}}}var{componentName:d8,create:f8,scope:m8}=ce("checkbox-item"),h8=f8(u8(d8,m8,Pe,qe)),da=h8,To={modelValue:{type:[Number,String],required:!1}},p8={...ze,...$e,...To};function g8(t,a,n,i){return{props:p8,emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(o,r){const{itemTemplateRef:s,innerDisabled:c,disabled:e,innerReadonly:u,readonly:h,browse:d}=Ie(o),{emitEvent:m,exposeApi:T}=Te({componentName:t,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus","setValue"],get readonly(){return h.value},get disabled(){return e.value},get props(){return o},context:r,get templateRefProxy(){return s.value}},o.prop??r.attrs.name),E=ve(o,"modelValue",A=>we(A),m),S=t,y=(0,l.computed)(()=>({[S]:!0})),g=A=>{m("update:modelValue",A),m("change",A)};let p=ve(o,"hintText"),v=(0,l.ref)(!1);const f=(0,l.ref)();return T({setDisabled:A=>{c.value=A},setReadonly:A=>{u.value=A}}),()=>{if(d.value==="on"&&(h.value||e.value))return i(E.value,r.slots);const A={...et(r.attrs),ref:f,class:y.value,readonly:h.value||e.value,modelValue:E.value,onChange:g},V={},_=[],K=(0,l.h)(B.ElRate,A,V);_.push(K);const j={default:()=>_};j.label=r.slots.default,j.fixedPreTip=r.slots.fixedPreTip,j.fixedTip=r.slots.fixedTip;const q={...Ae(o,To),ref:s,hintText:p.value,hintVisible:v.value};return o.prop&&(q.prop=`${o.prop}_item`),n(q,j)}}}}var{componentName:y8,create:b8,scope:S8}=ce("rate-item"),w8=b8(g8(y8,S8,Pe,qe)),fa=w8,$o={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}};({...ze,...$e,...$o});function v8(t,a,n,i){return{props:{},emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(o,r){const{itemTemplateRef:s,innerDisabled:c,disabled:e,innerReadonly:u,readonly:h,browse:d}=Ie(o),{emitEvent:m,exposeApi:T}=Te({componentName:t,validateCheckEvents:["blur","update:modelValue"],validateResetEvents:["focus","setValue"],get readonly(){return h.value},get disabled(){return e.value},get props(){return o},context:r,get templateRefProxy(){return s.value}},o.prop??r.attrs.name),E=(0,l.ref)(o.modelValue);(0,l.watch)(()=>o.modelValue,V=>{E.value!==V&&(E.value=V)});const S=t,y=(0,l.computed)(()=>({[S]:!0})),g=V=>{E.value=V,m("update:modelValue",V),m("change",V)};let p=ve(o,"hintText"),v=ve(o,"hintVisible");const f=(0,l.ref)();T({setDisabled:V=>{c.value=V},setReadonly:V=>{u.value=V}});const A=(0,l.computed)(()=>{let V=`${E.value}`;return o.inactiveText&&E.value===o.inactiveValue?V=o.inactiveText:o.activeText&&E.value===o.activeValue&&(V=o.activeText),V});return()=>{if(d.value==="on"&&(h.value||e.value))return i(A.value,r.slots);const V={...et(r.attrs),ref:f,class:y.value,readonly:h.value,disabled:e.value,"active-value":o.activeValue,"inactive-value":o.inactiveValue,"active-text":o.activeText,"inactive-text":o.inactiveText,modelValue:E.value,"onUpdate:modelValue":g},_={},K=[],j=(0,l.h)(B.ElSwitch,V,_);K.push(j);const q={default:()=>K};q.label=r.slots.default,q.fixedPreTip=r.slots.fixedPreTip,q.fixedTip=r.slots.fixedTip;const k={...Ae(o,$o),ref:s,hintText:p.value,hintVisible:v.value};return o.prop&&(k.prop=`${o.prop}_item`),n(k,q)}}}}var{componentName:N8,create:C8,scope:k8}=ce("switch-item"),x8=C8(v8(N8,k8,Pe,qe)),ma=x8,Bo={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}},z8=class{scope;constructor(t){this.scope=t}async load(t,a,n,i,o){if(!a)return[];if(Array.isArray(a))return a;if(typeof a=="function")return await a(n,i);const r=Fe(t,this.scope);return r===null?(console.error(`[FoxUI]${t} component not found api function`),[]):(Ye(n)&&(0,l.isReactive)(n)&&(n=(0,l.toRaw)(n)),await r(a,n,i))}};function E8(){return new z8(Ze())}var Vo={modelValue:{type:[String,Number,Boolean,Array],required:!1},maxLength:{type:[String,Number]}},T8={...ze,...$e,...Vo,...Bo};function $8(t,a,n,i){return{props:T8,emits:["change","update:modelValue","blur","focus","clear","input","setValue"],setup(o,r){const{itemTemplateRef:s,innerDisabled:c,disabled:e,innerReadonly:u,readonly:h,browse:d}=Ie(o),m=(0,l.ref)(!1),{emitEvent:T,exposeApi:E}=Te({componentName:t,get readonly(){return h.value},get disabled(){return e.value},get props(){return o},context:r,get templateRefProxy(){return s.value}},o.prop??r.attrs.name),S=ve(o,"modelValue",null,T),y=t,g=(0,l.computed)(()=>({[y]:!0})),p=$=>{S.value=$,T("update:modelValue",$),T("change",$)};let v=ve(o,"hintText"),f=(0,l.ref)(!1);const A=$=>{let U=$.target.value;m.value=!0,ge(v.value)||(f.value=!0),T("focus",U,$)},V=$=>{setTimeout(()=>{f.value&&(f.value=!1),m.value=!1},0);let U=$.target.value;o.maxLength&&U.length>Number(o.maxLength)&&(U=U.slice(0,Number(o.maxLength))),K.value||T("blur",U,$)},_=()=>{T("clear","")},K=(0,l.ref)(!1),j=$=>{K.value=$,T("visible-change",$),$||T("selected")},q=(0,l.ref)([]),k=E8(),R=async($,U)=>{try{q.value=await k.load("treeselect",$,U)}catch(Y){console.error(Y)}};(0,l.watch)([()=>o.data,()=>o.params,()=>o.lazy],([$,U,Y])=>{!$||Y||R($,U)},{immediate:!0});let z=null;o.lazy&&(typeof o.load=="function"?z=o.load:z=async($,U)=>{let Y={};o.params&&Object.assign(Y,o.params),$&&Object.assign(Y,$),U(await k.load("treeselect",o.data,Y,!0))});let N={label:o.textKey,value:o.valueKey,children:o.childrenKey,isLeaf:o.leafKey,class:o.classKey};const L=(0,l.ref)();return E({focus:()=>{L?.value.focus()},blur:()=>{L?.value.blur()},setDisabled:$=>{c.value=$},setReadonly:$=>{u.value=$}}),()=>{if(d.value==="on"&&(h.value||e.value))return i(S.value,r.slots);const $={...et(r.attrs),ref:L,class:g.value,disabled:e.value||h.value,modelValue:S.value,"onUpdate:modelValue":p,lazy:o.lazy,props:N,onClear:_,onFocus:A,onBlur:V,onVisibleChange:j};z?$.load=z:$.data=q.value;const U={};r.slots.option&&(U.default=r.slots.option);const Y=[],Z=(0,l.h)(B.ElTreeSelect,$,U);Y.push(Z);const M={default:()=>Y};M.label=r.slots.default,M.fixedPreTip=r.slots.fixedPreTip,M.fixedTip=r.slots.fixedTip;const F={...Ae(o,Vo,Bo),ref:s,hintText:v.value,hintVisible:f.value};return o.prop&&(F.prop=`${o.prop}_item`),n(F,M)}}}}var{componentName:B8,create:V8,scope:D8}=ce("tree-select-item"),M8=V8($8(B8,D8,Pe,qe)),ha=M8,A8=class{scope;constructor(t){this.scope=t}async load(t){let a=null;const n=Fe("tableSetting",this.scope);return typeof n=="function"&&(a=await Reflect.apply(n,null,["load",t])),a}save(t,a){const n=Fe("tableSetting",this.scope);typeof n=="function"&&Reflect.apply(n,null,["save",t,a])}remove(t){const a=Fe("tableSetting",this.scope);typeof a=="function"&&Reflect.apply(a,null,["remove",t])}};function I8(){return new A8(Ze())}var P8={},L8={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 _8(t,a){return(0,l.openBlock)(),(0,l.createElementBlock)("svg",L8,[...a[0]||(a[0]=[(0,l.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 R8=De(P8,[["render",_8]]),{componentName:jb,create:F8,scope:Kb}=ce("group-setting"),O8={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:"到底部"}},H8=F8({components:{FoxPopover:B.ElPopover,FoxCheckbox:B.ElCheckbox,FoxCheckboxGroup:B.ElCheckboxGroup,FoxButton:B.ElButton,FoxIcon:B.ElIcon,DragIcon:R8,Download:Be.Download,RefreshLeft:Be.RefreshLeft},props:{...O8},emits:["change"],setup(t,{emit:a,attrs:n,expose:i}){let o=null;const r=(0,l.ref)([]),s=I8(),c=D=>D.length>1,e=()=>{const D=[];r.value=[...r.value].map((X,H)=>(X.visible!==!1&&D.push(X.prop),{...X,sortIndex:H})),r.value.length===D.length?S.value=!0:D.length>0&&(y.value=!0),v.value=D},u=D=>{let X=null;if(typeof D=="string")X=document.querySelectorAll(`.fox-group[prop="${D}"] > div > .fox-item[prop]`);else if(D&&typeof D=="object"){const W=D.$el??D;typeof W.querySelectorAll=="function"&&(X=W.querySelectorAll(".fox-item[prop]"))}if(!X)return[];const H=[];return X.forEach(W=>{const x=W.querySelector(".label--string");let ee="";x&&(ee=x.textContent??"");const ne=W.getAttribute("prop")??"",ae=window.getComputedStyle(W,null).getPropertyValue("display");H.push({label:ee,prop:ne,sortIndex:0,visible:ae!=="none"})}),H},h=()=>{if(!o){const D=u(t.groupRef??t.groupProp);if(D.length===0)return!1;o=D}return!0},d=async(D=!1)=>{const X=await s.load(t.groupProp),H=W=>{if(!W||!o)return;const x=o.map(ee=>({...ee}));Array.isArray(X)&&X.forEach(ee=>{x.some(ne=>{if(ne.prop===ee.prop){const ae=ne.label;return Object.assign(ne,ee),ne.label=ae,!0}return!1})}),r.value=x.sort((ee,ne)=>ee.sortIndex-ne.sortIndex),e(),D&&T(!1)};o?H(!0):wl(h,t.initDelay,5,50,!1,H)},m=()=>{r.value=(o??[]).map(D=>({...D})),e(),T()},T=(D=!0)=>{D&&s.save(t.groupProp,r.value),a("change",r.value.map(X=>({...X})))},E=(0,l.computed)(()=>({"max-width":`${t.popoverWidth-125}px`})),S=(0,l.ref)(!1),y=(0,l.ref)(!1),g=D=>{const X=[];r.value.forEach(H=>{D&&X.push(H.prop),H.visible=D}),S.value=!1,y.value=!1,r.value.length===X.length?S.value=!0:X.length>0&&(y.value=!0),v.value=X,T()},p=()=>{m()},v=(0,l.ref)([]),f=D=>{r.value.forEach(H=>{H.visible=D.indexOf(H.prop)!==-1}),S.value=!1,y.value=!1;const X=r.value.length;D.length===X?S.value=!0:D.length>0&&(y.value=!0),T()},A=()=>{d()};(0,l.onMounted)(()=>{d(!0)});const V={currentRow:null,index:null},_=D=>D?D.dataset&&D.dataset.role==="row"?D:D.tagName.toLowerCase()!=="body"?(D=D.parentElement,_(D)):null:null,K=D=>{const X=D.currentTarget;X&&X.dataset&&(V.index=X.dataset.index)},j=D=>{V.currentRow&&(V.currentRow.classList.remove("is-dragover"),V.currentRow=null),V.index=null},q=D=>{const X=D.currentTarget;D.relatedTarget;const H=_(X);H&&(D.preventDefault(),V.currentRow&&V.currentRow!==H&&V.currentRow.classList.remove("is-dragover"),H.classList.add("is-dragover"),V.currentRow=H)},k=D=>{D.preventDefault(),V.currentRow&&(V.currentRow.classList.remove("is-dragover"),V.currentRow=null)},R=D=>{const X=D.currentTarget,H=_(X);if(!H)return;D.preventDefault();const W=Number(V.index),x=Number(H.dataset.index);if(W!==x){if(W<x){const ee=r.value[W];r.value.splice(W,1),r.value.splice(x,0,ee)}else{const ee=r.value[W];r.value.splice(W,1),r.value.splice(x+1,0,ee)}e(),T()}},z=D=>{const X=r.value[D];r.value.splice(D,1),r.value.splice(0,0,X),e(),T()},N=D=>{const X=r.value[D];r.value.splice(D,1),r.value.push(X),e(),T()};i({refresh:()=>{o=null,d(!1)}});const L=new Map;let $=null;function U(D){const X=document.createRange();return X.setStart(D,0),X.setEnd(D,D.childNodes.length),X.getBoundingClientRect().width}return{attrs:n,itemPropertyList:r,isDraggble:c,isCheckAll:S,isIndeterminate:y,handleCheckAllChange:g,handleReset:p,checkedValue:v,handleCheckChange:f,onShow:A,onDragStart:K,onDragEnd:j,onDragOver:q,onDragLeave:k,onDrop:R,checkboxLabelStyle:E,toTop:z,toBottom:N,onMouseOverForOverflowText:(D,X,H)=>{const W=D.currentTarget;if(W){const x=Math.floor(W.offsetWidth);if(Math.floor(U(W))>x){let ee=L.get(X);if(ee){if(ee===$)return;Oe.hide(ee)}ee=Oe.show(W,H,{type:"text",placement:"top",closeOnClick:!1}),L.set(X,ee),$=ee}}},onMouseLeaveForOverflowText:(D,X)=>{const H=L.get(X);H&&(Oe.hide(H),H===$&&($=null))},onMouseOverForTip:(D,X)=>{const H=D.currentTarget;H&&($&&Oe.hide($),$=Oe.show(H,X,{type:"text",placement:"top",closeOnClick:!1},!0))},onMouseLeaveForTip:D=>{$&&(Oe.hide($),$=null)}}}}),q8={class:"fox-group-setting"},j8={class:"fox-group-setting__header"},K8={class:"fox-group-setting__body"},W8={class:"fox-group-setting__body-list","data-role":"container"},Y8=["data-index","draggable"],U8=["onMouseover","onMouseleave"],G8={class:"tools-item"};function X8(t,a,n,i,o,r){const s=(0,l.resolveComponent)("FoxCheckbox"),c=(0,l.resolveComponent)("FoxButton"),e=(0,l.resolveComponent)("DragIcon"),u=(0,l.resolveComponent)("Download"),h=(0,l.resolveComponent)("FoxIcon"),d=(0,l.resolveComponent)("FoxCheckboxGroup"),m=(0,l.resolveComponent)("FoxPopover");return(0,l.openBlock)(),(0,l.createBlock)(m,(0,l.mergeProps)(t.attrs,{placement:t.popoverPlacement,width:t.popoverWidth,onShow:t.onShow,trigger:"click","popper-class":"fox-group-setting__popper"}),{reference:(0,l.withCtx)(()=>[(0,l.renderSlot)(t.$slots,"default")]),default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",q8,[(0,l.createElementVNode)("div",j8,[(0,l.createVNode)(s,{modelValue:t.isCheckAll,"onUpdate:modelValue":a[0]||(a[0]=T=>t.isCheckAll=T),indeterminate:t.isIndeterminate,onChange:t.handleCheckAllChange},{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(t.title),1)]),_:1},8,["modelValue","indeterminate","onChange"]),(0,l.createVNode)(c,{onClick:t.handleReset,link:"",type:"primary"},{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(t.resetText),1)]),_:1},8,["onClick"])]),(0,l.createElementVNode)("div",K8,[(0,l.createVNode)(d,{modelValue:t.checkedValue,"onUpdate:modelValue":a[10]||(a[10]=T=>t.checkedValue=T),onChange:t.handleCheckChange},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",W8,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(t.itemPropertyList,T=>((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:T.prop,class:"fox-group-setting__body-row","data-role":"row","data-index":T.sortIndex,draggable:t.isDraggble(t.itemPropertyList),onDragstart:a[5]||(a[5]=(...E)=>t.onDragStart&&t.onDragStart(...E)),onDragend:a[6]||(a[6]=(...E)=>t.onDragEnd&&t.onDragEnd(...E)),onDrop:a[7]||(a[7]=(...E)=>t.onDrop&&t.onDrop(...E)),onDragover:a[8]||(a[8]=(...E)=>t.onDragOver&&t.onDragOver(...E)),onDragleave:a[9]||(a[9]=(...E)=>t.onDragLeave&&t.onDragLeave(...E))},[t.isDraggble(t.itemPropertyList)?((0,l.openBlock)(),(0,l.createBlock)(e,{key:0,class:"icon-item"})):(0,l.createCommentVNode)("",!0),(0,l.createVNode)(s,{class:"checkbox-item",label:T.prop},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("span",{onMouseover:E=>t.onMouseOverForOverflowText(E,T.prop,T.label),onMouseleave:E=>t.onMouseLeaveForOverflowText(E,T.prop),class:"checkbox-item__label",style:(0,l.normalizeStyle)(t.checkboxLabelStyle)},(0,l.toDisplayString)(T.label),45,U8)]),_:2},1032,["label"]),(0,l.createElementVNode)("div",G8,[(0,l.createVNode)(h,{onClick:E=>t.toTop(T.sortIndex),onMouseover:a[1]||(a[1]=E=>t.onMouseOverForTip(E,t.toTopText)),onMouseleave:a[2]||(a[2]=E=>t.onMouseLeaveForTip(E)),class:"is-reverse"},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(u)]),_:1},8,["onClick"]),(0,l.createVNode)(h,{onClick:E=>t.toBottom(T.sortIndex),onMouseover:a[3]||(a[3]=E=>t.onMouseOverForTip(E,t.toBottomText)),onMouseleave:a[4]||(a[4]=E=>t.onMouseLeaveForTip(E))},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(u)]),_:1},8,["onClick"])])],40,Y8))),128))])]),_:1},8,["modelValue","onChange"])])])]),_:3},16,["placement","width","onShow"])}var pa=De(H8,[["render",X8]]),Q8={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}},Z8=class{scope;constructor(t){this.scope=t}async load(t,a,n,i,o){if(Array.isArray(a))return a;if(typeof a=="function")return await a(n,i);const r=Fe(t,this.scope);return r===null?(console.error(`[FoxUI]${t} component not found api function`),[]):(Ye(n)&&(0,l.isReactive)(n)&&(n=(0,l.toRaw)(n)),await r(a,n,i))}};function J8(){return new Z8(Ze())}var e7={...Hn,...Q8};function t7(t,a,n){return{props:e7,setup(i,o){const r=t,s=(0,l.computed)(()=>({[r]:!0})),c=(0,l.ref)([]),e=J8(),u=async(v,f)=>{try{c.value=await e.load("tree",v,f)}catch(A){console.error(A)}},h=(0,l.shallowRef)({}),d=(0,l.computed)(()=>({...h.value,...i.params??{}}));(Array.isArray(i.data)?!0:i.lazy?!1:he(i.autoLoad))&&(0,l.watch)([()=>i.data,()=>d.value],([v,f])=>{v&&u(v,f)},{immediate:!0,deep:!0});let T=null;i.lazy&&(typeof i.load=="function"?T=i.load:T=async(v,f)=>{let A={};i.params&&Object.assign(A,i.params),v&&Object.assign(A,v),f(await e.load("treeselect",i.data,A,!0))});const E={label:i.textKey,value:i.valueKey,children:i.childrenKey,isLeaf:i.leafKey,class:i.classKey,disabled:i.disabledKey,...i.props??{}},S=(v={})=>new Promise(async f=>{h.value={...(0,l.toRaw)(v??{})},await u(i.data,d.value),f()}),y=function(v,f){if(typeof i.filterNodeMethod=="function")return i.filterNodeMethod(v,f);if(!i.filterKeyword)return!0;const A=`${f[E.label]}`,V=`${v}`;return A.includes(V)},g=(0,l.ref)();(0,l.watch)(()=>i.filterKeyword,v=>{g.value.filter(v)});const p=v=>(...f)=>{const A=g.value[v];return Reflect.apply(A,g.value,[...f])};return o.expose({loadData:S,filter:p("filter"),updateKeyChildren:p("updateKeyChildren"),getCheckedNodes:p("getCheckedNodes"),setCheckedNodes:p("setCheckedNodes"),getCheckedKeys:p("getCheckedKeys"),setCheckedKeys:p("setCheckedKeys"),setChecked:p("setChecked"),getHalfCheckedNodes:p("getHalfCheckedNodes"),getHalfCheckedKeys:p("getHalfCheckedKeys"),getCurrentKey:p("getCurrentKey"),getCurrentNode:p("getCurrentNode"),setCurrentKey:p("setCurrentKey"),setCurrentNode:p("setCurrentNode"),getNode:p("getNode"),remove:p("remove"),append:p("append"),insertBefore:p("insertBefore"),insertAfter:p("insertAfter")}),()=>{const v={...et(o.attrs),class:s.value,lazy:i.lazy,props:E,ref:_=>g.value=_};T?v.load=T:v.data=c.value,v["filter-node-method"]=y;const f=[],A=(0,l.h)(B.ElTree,v,o.slots);f.push(A);const V={default:()=>f};return(0,l.h)(n,{...tt(i,Hn)},V)}}}}var{componentName:l7,create:n7,scope:a7}=ce("tree-item"),r7=n7(t7(l7,a7,Rl)),ga=r7,Kl={prop:{type:[String]},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]},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},popClass:{type:String,required:!1},popStyle:{type:Object,required:!1},popCloseable:{type:Boolean,required:!1,default:!0},beforeMethod:{type:Function},beforeClose:{type:Function}};function o7(t,a,n,i="value"){for(let o=0;o<a.length;o++){let r=a[o];if(i==="text"){if(Wl(t,r)===n)return o}else if(i==="item"){if(Xe(n,r))return o}else if(Mo(t,r)===n)return o}return-1}function Wl(t,a){return typeof t.textKey=="string"&&t.textKey.length>0?a[t.textKey]:a.text}function Do(t,a){return typeof t.subTextKey=="string"&&t.subTextKey.length>0?a[t.subTextKey]:a.text}function Mo(t,a){return typeof t.valueKey=="string"&&t.valueKey.length>0?a[t.valueKey]:a.value}function i7(t,a){return typeof t.disabledKey=="string"&&t.disabledKey.length>0?a[t.disabledKey]:a.disabled??null}function s7(t,a,n){return typeof t.itemOptions=="function"?t.itemOptions(a,n):t.itemOptions}var c7=class{scope;constructor(t){this.scope=t}async load(t,a,n,i,o,r,s){if(!a)return{totalSize:0,page:[]};if(Array.isArray(a)){let e=a;typeof s=="function"&&(e=e.filter(s));let u=(n-1)*i,h=u+i;h>e.length&&(h=e.length);const d=e.slice(u,h);return{totalSize:e.length,page:d}}if(typeof a=="function")return await Reflect.apply(a,null,[n,i,o,r]);const c=Fe(t,this.scope);return c===null?(console.error(`[FoxUI]${t} component not found api function`),{totalSize:0,page:[]}):(Ye(o)&&(0,l.isReactive)(o)&&(o=(0,l.toRaw)(o)),await Reflect.apply(c,null,[a,n,i,o]))}};function u7(){return new c7(Ze())}function d7(t,a,n,i,o,r,s,c,e,u,h){return{props:Kl,emits:["change","update:modelValue","update:text","loaded-data","update:visible"],setup(d,m){const{emitEvent:T,exposeApi:E}=wt({context:m},d.prop),{slots:S}=m,{toLocaleRefs:y}=(0,Ne.useFoxI18n)(a),g=y(d,["title","loadText","noMoreText","seachPlaceholder","confirmText"]),p=u7(),v=(0,l.ref)([]),f=(0,l.ref)(0),A=(0,l.ref)(""),V=(0,l.shallowRef)(null),_=(0,l.computed)(()=>{const I={};return d.params&&Object.assign(I,d.params),ge(A.value)||(I[`${d.searchKey}`]=A.value),V.value&&Object.assign(I,V.value),I});let K=!0;const j=async(I,J,Q)=>{try{if(k.value===!1)return;let P=null;ge(A.value)||(P=C=>{const O=Wl(d,C);if(typeof O=="string"&&O.includes(A.value))return!0;const te=Do(d,C);return!!(typeof te=="string"&&te.includes(A.value))});const b=await p.load("actionsheet",I,J,Q,_.value,K,P??void 0);K=!1,Array.isArray(b)?(v.value=b,f.value=1,k.value=!1):!Array.isArray(b.page)||b.page.length===0?(console.warn("[FoxUI] can not load more data"),k.value=!1):(Reflect.apply([].push,v.value,b.page),f.value=Math.ceil(v.value.length/d.pageSize),(b.totalSize&&v.value.length>=b.totalSize||Q<b.page.length)&&(k.value=!1)),q.value=!1}catch(P){console.error("[FoxUI] ActionSheet load more data fail",P),k.value=!0,f.value=0,v.value=[]}setTimeout(()=>{T("loaded-data")},250)},q=(0,l.ref)(!1),k=(0,l.ref)(!0),R=async()=>{if(!d.source){q.value=!1;return}await j(d.source,f.value+1,d.pageSize)};(0,l.watch)(()=>A.value,(I,J)=>{ge(I)&&!ge(J)&&R()}),(0,l.watch)([()=>d.source,()=>d.pageSize,()=>d.params],async([I,J,Q])=>{d.source&&R()},{immediate:!0});const z=(0,l.computed)(()=>!d.multiple&&d.isAutoBackFill),N=(0,l.ref)([]);let L=null;const $=(0,l.ref)(d.visible);(0,l.watch)(()=>d.visible,I=>{$.value!==I&&($.value=I),I?L=[...N.value]:L=null});const U=(I,J)=>{const Q=[];return Array.isArray(I)||(I=[I]),I.forEach(P=>{let b=o7(d,J,P,d.valueType);b!==-1&&Q.push(b)}),Xe(Q,N.value)?!1:(N.value=Q,!0)};(0,l.watch)([()=>d.modelValue,()=>v.value],([I,J],[Q,P])=>{U(I,J)&&Z(Y())},{deep:!0});const Y=()=>{const I=[],J=[],Q=[];for(let O of N.value){const te=v.value[O];J.push(te);const re=Wl(d,te);if(Q.push(re),d.valueType==="item")I.push(te);else if(d.valueType==="text")I.push(re);else{const se=Mo(d,te);I.push(se)}}let P=null,b=null,C=null;return d.multiple?(P=I,b=Q,C=J):(P=I[0]??null,b=Q[0]??null,C=J[0]??null),{value:P,text:b,item:C}},Z=I=>{T("update:modelValue",I.value),T("update:text",I.text),T("change",I.value,I.item,I.text)},M=()=>{L&&(N.value=L)},F=I=>{const J=N.value.indexOf(I);d.multiple?J===-1?N.value.push(I):N.value.splice(J,1):J===-1?N.value=[I]:N.value=[],(z.value||!d.poppable&&!d.showFooter)&&H()},D=I=>{$.value=I,T("update:visible",I)},X=()=>{const I=()=>{M(),D(!1)},J=d.beforeMethod??d.beforeClose;if(typeof J=="function"){const Q=J("close");hl(Q)?Q.then(P=>{P!==!1&&I()}).catch(()=>{I()}):Q!==!1&&I()}else I()},H=()=>{const I=Y(),J=()=>{Z(I),D(!1)},Q=d.beforeMethod??d.beforeClose;if(typeof Q=="function"){const P=Q("confirm",I.value,I.item,I.text);hl(P)?P.then(b=>{b!==!1&&J()}).catch(()=>{J()}):P!==!1&&J()}else J()},W=()=>{k.value=!0,f.value=0,v.value=[],d.source&&R()},x=()=>{let I=g.title.value??"";return S.title&&(I=S.title()),(0,l.h)("view",{class:["fox-actionsheet__header"]},[(0,l.h)("view",{class:["fox-actionsheet__header-title"]},[I]),(0,l.h)(e,{class:["fox-actionsheet__header-icon"],onClick:X})])},ee=()=>{let I=null;return S.search?I=S.search():I=(0,l.h)(r,{onSearch:W,placeholder:g.seachPlaceholder.value,disabled:d.disabled,modelValue:A.value,"onUpdate:modelValue":J=>{A.value=J}},{leftin:()=>(0,l.h)(u)}),(0,l.h)("view",{class:["fox-actionsheet__searchbar"]},[I])},ne=(I,J,Q,P,b)=>{if(S.optionLabel)return S.optionLabel({text:I,checked:J,disabled:Q,subText:P,item:b});const C=[],O=(0,l.h)("view",{class:"fox-actionsheet__list-item-text"},[I]);if(C.push(O),P){const te=(0,l.h)("view",{class:"fox-actionsheet__list-item-subtext"},[P]);C.push(te)}return(0,l.h)("view",{class:["fox-actionsheet__list-item-label"]},C)},ae=(I,J,Q,P)=>S.optionIcon?S.optionIcon({checked:I,disabled:J,iconSize:Q,item:P}):I?S.checkedIcon?S.checkedIcon({disabled:J,item:P}):(0,l.h)(d.checkedIcon??c,{width:Q,height:Q,class:["fox-actionsheet__list-item-icon"]}):S.icon?S.icon({disabled:J,item:P}):(0,l.h)(d.icon??s,{width:Q,height:Q,class:["fox-actionsheet__list-item-icon"]}),G=()=>{const I=[];for(let J=0;J<v.value.length;J++){const Q=v.value[J],P=Wl(d,Q),b=Do(d,Q),C=["fox-actionsheet__list-item"],O={};let te=i7(d,Q),re=d.iconSize?ye(d.iconSize):null;const se=s7(d,Q,J);se&&(te=te||se.disabled,se.class&&C.push(se.class),se.style&&Object.assign(O,se.style)),te=!!(d.disabled||te);const ue=N.value.includes(J);te&&C.push("is-disabled"),ue&&C.push("is-checked");const pe={class:C,style:O,key:`${J}`,onClick:()=>{te||F(J)}};let be=[];if(S.option)be.push(S.option({item:Q,checked:ue,disabled:te}));else{const Le=ne(P,ue,te,b,Q);be.push(Le);const Ge=ae(ue,te,re,Q);be.push(Ge)}const xe=(0,l.h)("view",pe,be);I.push(xe)}return I},le=()=>{let I=[];if(S.buttons)I=S.buttons();else{const J=(0,l.h)(o,{type:"primary",class:"fox-actionsheet__footer-confirm",block:"block",onClick:H,disabled:d.disabled},{default:()=>g.confirmText.value});I.push(J)}return(0,l.h)("view",{class:"fox-actionsheet__footer"},[I])};return E({search:async(I=null,J=!0)=>{V.value=I&&(0,l.toRaw)(I),(0,l.triggerRef)(V),J&&(k.value=!0,f.value=0,v.value=[]),(0,l.nextTick)(()=>{R()})},clear:()=>{k.value=!0,f.value=0,v.value=[]},confirm:()=>{H()},cancel:()=>{X()}}),()=>{const I=[];if(d.showHeader){const te=x();I.push(te)}if(d.showSearchbar){const te=ee();I.push(te)}let J=null;if(S.content)J=S.content();else{const te=G();J=(0,l.h)(i,{hasMore:k.value,loadText:g.loadText.value,noMoreText:g.noMoreText.value,modelValue:q.value,"onUpdate:modelValue":re=>{q.value=re},onLoadMore:R},{default:()=>te})}const Q={};d.optionsHeight&&(Q.height=d.optionsHeight);const P={"fox-actionsheet__list":!0};d.poppable||(P["fox-actionsheet__list--inner"]=!0);const b=(0,l.h)("view",{class:P,style:Q},[J]);if(I.push(b),d.showFooter&&!z.value){const te=le();I.push(te)}const C=(0,l.h)("view",{class:"fox-actionsheet"},I);if(!d.poppable)return C;const O=["fox-actionsheet__popup"];return d.popClass&&O.push(d.popClass),(0,l.h)(n,{popClass:O.join(" "),visible:$.value,closeable:!1,"onUpdate:visible":D,position:d.position,round:"round",onClickOverlay:X,closeOnClickOverlay:d.closeOnClickOverlay},{default:()=>C})}}}}var f7=/scroll|auto|overlay/i,Ao=window;function m7(t){return t.tagName!=="HTML"&&t.tagName!=="BODY"&&t.nodeType===1}function h7(t,a=Ao){let n=t;for(;n&&n!==a&&m7(n);){const{overflowY:i}=window.getComputedStyle(n);if(f7.test(i))return n;n=n.parentNode}return a}function Io(t,a=Ao){const n=(0,l.ref)();return(0,l.onMounted)(()=>{t.value&&(n.value=h7(t.value,a))}),n}var Po=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,p7={modelValue:{type:[Boolean],default:!1},hasMore:{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}};function g7(t,a,n){return{props:{...p7},emits:["scroll-change","load-more","update:modelValue"],setup(i,{emit:o,slots:r}){const{toLocaleRefs:s}=(0,Ne.useFoxI18n)(a),c=s(i,["pullText","loadText","noMoreText"]),e=(0,l.ref)(),u=Io(e),h=(0,l.reactive)({beforeScrollTop:0,isInfiniting:!1,y:0,x:0,distance:0}),d=(0,l.computed)(()=>({[t]:!0})),m=p=>p?p.offsetTop+m(p.offsetParent):0,T=()=>{let p=0,v=0,f="down";if(u.value==window){const A=Po();e.value&&(p=m(e.value)+e.value.offsetHeight-A-window.innerHeight),v=A}else{const{scrollHeight:A,clientHeight:V,scrollTop:_}=u.value;p=A-V-_,v=_}return h.beforeScrollTop>v?f="up":f="down",h.beforeScrollTop=v,o("scroll-change",v),p<=i.threshold&&f=="down"},E=()=>{rn(()=>{if(!T()||!i.hasMore||h.isInfiniting)return!1;h.isInfiniting=!0,o("update:modelValue",!0),(0,l.nextTick)(()=>o("load-more"))})},S=()=>{u.value&&u.value.addEventListener("scroll",E,i.useCapture)},y=()=>{u.value&&u.value.removeEventListener("scroll",E,i.useCapture)};(0,l.onMounted)(()=>{S(),i.immediate&&E()}),(0,l.onUnmounted)(()=>{y()});const g=(0,l.ref)(!1);return(0,l.onActivated)(()=>{g.value&&(g.value=!1,S())}),(0,l.onDeactivated)(()=>{g.value=!0,y()}),(0,l.watch)(()=>i.modelValue,p=>{p||(h.isInfiniting=!1)}),()=>{const p=(0,l.h)("view",{class:"fox-infinite__container"},[r?.default?.()]),v=[];if(h.isInfiniting){let A=r?.loading?.()??null;if(!A){let _=r?.loadingIcon?.()??null;_||(_=(0,l.h)(n,{class:["fox-infinite__bottom-box__img"]}));const K=(0,l.h)("view",{class:"fox-infinite__bottom-box__text"},[c.loadText.value]);A=[_,K]}const V=(0,l.h)("view",{class:"fox-infinite__bottom-box"},A);v.push(V)}else if(!i.hasMore){let A=r?.finished?.()??null;A||(A=(0,l.h)("view",{class:"fox-infinite__bottom-tips"},[c.noMoreText.value]),v.push(A))}const f=(0,l.h)("view",{class:"fox-infinite__bottom"},v);return(0,l.h)("view",{class:d.value,ref:e},[p,f])}}}}var{componentName:y7,create:b7,scope:S7}=ce("infinite-loading"),w7=b7(g7(y7,S7,el)),Yl=w7,v7={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},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"}},N7=(t,a,n)=>({props:v7,emits:["change","update:modelValue","blur","focus","clear","search","click-input","keyup-input","click-left-icon","click-right-icon"],setup(i,o){const{emitEvent:r,exposeApi:s}=wt({context:o},i.prop),{toLocaleRefs:c}=(0,Ne.useFoxI18n)(a),e=c(i,["placeholder"]),{slots:u}=o,h=(0,l.reactive)({active:!1}),d=(0,l.computed)(()=>({background:i.background})),m=(0,l.computed)(()=>({background:i.inputBackground})),T=k=>{let R=k.target.value;i.maxLength&&R.length>Number(i.maxLength)&&(R=R.slice(0,Number(i.maxLength))),r("update:modelValue",R,k),r("change",R,k)},E=(0,l.ref)({}),S=k=>{let R=k.target.value;h.active=!0,E.value=i.focusStyle,r("focus",R,k)},y=k=>{setTimeout(()=>{h.active=!1},0);let R=k.target.value;i.maxLength&&R.length>Number(i.maxLength)&&(R=R.slice(0,Number(i.maxLength))),E.value={},r("blur",R,k)},g=k=>{r("update:modelValue","",k),r("change","",k),r("clear","")},p=(0,l.computed)(()=>String(i.modelValue).length>0),v=(0,l.computed)(()=>{const k={};return p.value||(k.display="none"),k}),f=()=>{r("search",i.modelValue)},A=k=>{r("keyup-input",k),k.key.toLocaleUpperCase()==="ENTER"&&f()},V=k=>{r("click-input",k)},_=k=>{r("click-left-icon",i.modelValue,k)},K=(0,l.computed)(()=>({textAlign:i.inputAlign})),j=(0,l.ref)(null);(0,l.onMounted)(()=>{i.autofocus&&j.value.focus()});const q=()=>{const k=[];if(u.leftin){const N=(0,l.h)("view",{class:[`${t}__search-icon`,`${t}__input-left-search-icon`],onClick:_},[u.leftin()]);k.push(N)}const R=(0,l.h)("input",{ref:j,class:[`${t}__input-inner`],style:K.value,type:i.inputType,maxlengt:i.maxLength,placeholder:e.placeholder.value,value:i.modelValue,disabled:i.disabled,readonly:i.readonly,onClick:V,onInput:T,onFocus:S,onBlur:y,onkeyup:A});k.push(R);const z=[];if(i.clearable){const N=(0,l.h)("view",{class:[`${t}__search-icon`,`${t}__input-clear-icon`],style:v.value,onClick:g},[(0,l.h)(u?.clear?.()??i.clearIcon??n)]);z.push(N)}if(u.rightin){const N=(0,l.h)("view",{class:[`${t}__search-icon`,`${t}__input-right-search-icon`]},[u.rightin()]);z.push(N)}if(z.length>0){const N=(0,l.h)("view",{class:`${t}__input-inner-right`},z);k.push(N)}return(0,l.h)("view",{class:[`${t}__search-input`,`${i.shape}`],style:{...m.value,...E.value}},k)};return()=>{const k=[];if(i.label){const z=(0,l.h)("span",{class:`${t}__search-label`},[i.label]);k.push(z)}if(u.leftout){const z=(0,l.h)("view",{class:[`${t}__search-icon`,`${t}__left-search-icon`]},[u.leftout()]);k.push(z)}const R=q();if(k.push(R),u.rightout){const z=(0,l.h)("view",{class:[`${t}__search-icon`,`${t}__right-search-icon`]},[u.rightout()]);k.push(z)}return(0,l.h)("view",{class:`${t}`,style:d.value},k)}}}),{componentName:C7,create:k7,scope:x7}=ce("searchbar"),z7=k7(N7(C7,x7,Be.CircleClose)),Ul=z7,{componentName:E7,create:T7,scope:$7}=ce("actionsheet-pane"),B7=T7(d7(E7,$7,st,Yl,B.ElButton,Ul,W4,O4,oo,ru,!1)),Gl=B7,Lo={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:" "}},V7={...ze,...$e,...Lo,...Kl};function D7(t,a,n,i,o,r){return{props:V7,emits:["change","update:modelValue","blur","focus","clear","update:text","setValue"],setup(s,c){const{itemTemplateRef:e,innerDisabled:u,disabled:h,innerReadonly:d,readonly:m,browse:T}=Ie(s),{emitEvent:E,exposeApi:S}=Te({componentName:t,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus","setValue"],get readonly(){return m.value},get disabled(){return h.value},get props(){return s},context:c,get templateRefProxy(){return e.value}},s.prop??c.attrs.name),{toLocaleRefs:y}=(0,Ne.useFoxI18n)(a),g=y(s,["placeholder"]),p=(0,l.ref)(!1),v=ve(s,"modelValue",null,E),f=(0,l.ref)(""),A=(0,l.computed)(()=>Array.isArray(f.value)?f.value.join(s.separator):f.value),V="fox-input-item",_=(0,l.computed)(()=>({[V]:!0,[`${V}__disabled`]:h.value})),K=Ve((0,l.computed)(()=>s.textAlign),"textAlign"),j=(0,l.computed)(()=>{const F={};return K.value&&(F["text-align"]=K.value),F}),q=(0,l.ref)(!1),k=()=>{q.value=!0},R=F=>{q.value=F},z=F=>{v.value=F,E("update:modelValue",F)},N=(F,D)=>{E("change",F,D)},L=F=>{let D=F.target.value;p.value=!0,E("focus",D,F)},$=F=>{setTimeout(()=>{p.value=!1},0);let D=F.target.value;s.maxLength&&D.length>Number(s.maxLength)&&(D=D.slice(0,Number(s.maxLength))),E("blur",D,F)},U=F=>{f.value=F,E("update:text",F)},Y=(0,l.computed)(()=>ft(s.unit)>0),Z=(0,l.ref)(),M=(0,l.ref)(null);return S({focus:()=>{Z?.value.focus()},blur:()=>{Z?.value.blur()},select:()=>{Z?.value.select()},search:F=>{M.value&&M.value.search(F)},clear:()=>{M.value&&M.value.clear},confirm:F=>{M.value&&M.value.confirm()},cancel:()=>{M.value&&M.value.cancel()},setDisabled:F=>{u.value=F},setReadonly:F=>{d.value=F}}),()=>{if(T.value==="on"&&(m.value||h.value))return i(A.value,c.slots);const F={ref:Z,class:_.value,style:j.value,type:"text",maxlength:s.maxLength,placeholder:g.placeholder.value,readonly:!0,value:A.value,onClick:k,onFocus:L,onBlur:$},D={};c.slots.prepend&&(D.prepend=c.slots.prepend),c.slots.append&&(D.append=c.slots.append),c.slots.prefix&&(D.prefix=c.slots.prefix),c.slots.suffix?D.suffix=c.slots.suffix:Y.value?D.suffix=()=>[s.unit]:D.suffix=()=>(0,l.h)(B.ElIcon,{},{default:()=>(0,l.h)(Be.ArrowDown)});const X=[],H=(0,l.h)(B.ElInput,F,D);X.push(H);const W={default:()=>X};W.label=c.slots.default,W.prepend=c.slots.prepend,W.append=c.slots.append,W.fixedPreTip=c.slots.fixedPreTip,W.fixedTip=c.slots.fixedTip;const x=tt(s,Kl);x.ref=M,x.class=s.actionSheetClass,x.disabled=h.value||m.value,x.visible=q.value,x["onUpdate:visible"]=R,x.modelValue=v.value,x["onUpdate:modelValue"]=z,x.text=f.value,x["onUpdate:text"]=U,x.onChange=N,x.poppable=!0;const ee=(0,l.h)(o,x,{title:c.slots.title,search:c.slots.search,option:c.slots.option,optionLabel:c.slots.optionLabel,optionIcon:c.slots.optionIcon,buttons:c.slots.buttons});W.hide=()=>[ee];const ne={...Ae(s,Lo,Kl),ref:e};return s.prop&&(ne.prop=`${s.prop}_item`),n(ne,W)}}}}var{componentName:M7,create:A7,scope:I7}=ce("actionsheet-item"),P7=A7(D7(M7,I7,Pe,qe,Gl)),ya=P7,_o={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}},ba={...Gn,..._o,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 L7(t){return t===window}var Sa=t=>{const a=(0,l.unref)(t);if(L7(a)){const n=a.innerWidth,i=a.innerHeight;return{top:0,left:0,right:n,bottom:i,width:n,height:i}}return a&&a.getBoundingClientRect?a.getBoundingClientRect():{top:0,left:0,right:0,bottom:0,width:0,height:0}},Ro=10;function Fo(t,a){return t>a&&t>Ro?"horizontal":a>t&&a>Ro?"vertical":""}function ll(){const t=window.navigator.userAgent;return"ontouchstart"in window||t.indexOf("touch")!==-1||t.indexOf("mobile")!==-1}function nl(){const t={startX:0,startY:0,startTime:0,duration:0,moveX:0,moveY:0,deltaX:0,deltaY:0,offsetX:0,offsetY:0,direction:""},a=()=>t.direction==="vertical",n=()=>t.direction==="horizontal",i=()=>{t.deltaX=0,t.deltaY=0,t.offsetX=0,t.offsetY=0,t.direction="",t.startTime=0};return{move:(s=>{if(s.touches){const c=s.touches[0];t.deltaX=c.clientX-t.startX,t.deltaY=c.clientY-t.startY,t.moveX=c.clientX,t.moveY=c.clientY}else{const c=s;t.deltaX=c.clientX-t.startX,t.deltaY=c.clientY-t.startY,t.moveX=c.clientX,t.moveY=c.clientY}t.offsetX=Math.abs(t.deltaX),t.offsetY=Math.abs(t.deltaY),t.duration=Date.now()-t.startTime,t.direction||(t.direction=Fo(t.offsetX,t.offsetY))}),start:(s=>{if(i(),s.touches){const c=s.touches[0];t.startX=c.clientX,t.startY=c.clientY}else{const c=s;t.startX=c.clientX,t.startY=c.clientY}t.startTime=Date.now()}),reset:i,isVertical:a,isHorizontal:n,state:t}}function Oo(){const t=(0,l.ref)(0),a=(0,l.ref)(0),n=(0,l.ref)(0),i=(0,l.ref)(0),o=(0,l.ref)(0),r=(0,l.ref)(0),s=(0,l.ref)(0),c=(0,l.ref)(0),e=(0,l.ref)(0),u=(0,l.ref)(0),h=(0,l.ref)(""),d=()=>h.value==="vertical",m=()=>h.value==="horizontal",T=()=>{s.value=0,c.value=0,e.value=0,u.value=0,h.value="",n.value=0};return{move:(y=>{if(y.touches){const g=y.touches[0];s.value=g.clientX-t.value,c.value=g.clientY-a.value,o.value=g.clientX,r.value=g.clientY}else{const g=y;s.value=g.clientX-t.value,c.value=g.clientY-a.value,o.value=g.clientX,r.value=g.clientY}e.value=Math.abs(s.value),u.value=Math.abs(c.value),i.value=Date.now()-n.value,h.value||(h.value=Fo(e.value,u.value))}),start:(y=>{if(T(),y.touches){const g=y.touches[0];t.value=g.clientX,a.value=g.clientY}else{const g=y;t.value=g.clientX,a.value=g.clientY}n.value=Date.now()}),reset:T,startX:t,startY:a,startTime:n,duration:i,moveX:o,moveY:r,deltaX:s,deltaY:c,offsetX:e,offsetY:u,direction:h,isVertical:d,isHorizontal:m}}var Ho=36;function _7(){return Ho}function R7(t){Ho=t}function at(t,a){return typeof t.textKey=="string"&&t.textKey.length>0?a[t.textKey]:a.text}function wa(t,a){return typeof t.childrenKey=="string"&&t.childrenKey.length>0?a[t.childrenKey]:a.children??null}function F7(t,a,n){typeof t.childrenKey=="string"&&t.childrenKey.length>0&&(a[t.childrenKey]=n),a.children=n}function Nt(t,a){return typeof t.valueKey=="string"&&t.valueKey.length>0?a[t.valueKey]:a.value}function qo(t,a){return typeof t.itemOptions=="function"?t.columnOptions(a):t.columnOptions}var O7=class{scope;constructor(t){this.scope=t}async load(t,a,n){if(!a)return[];if(Array.isArray(a))return a;if(typeof a=="function")return await a(n);const i=Fe(t,this.scope);return i===null?(console.error(`[FoxUI]${t} component not found api function`),[]):(Ye(n)&&(0,l.isReactive)(n)&&(n=(0,l.toRaw)(n)),await i(a,n))}};function H7(){return new O7(Ze())}function jo(t,a,n){return!(at(t,a)!==at(t,n)||Nt(t,a)!==Nt(t,n))}function q7(t,a,n,i){if(n.length==0)return[];Array.isArray(a)||(a=[a]);const o=[],r=t.valueType??"value";if(i==="singleColumn"||i==="multipleColumn")for(let s=0;s<a.length&&s<n.length;s++){const c=a[s];let e=n[s].findIndex(u=>{if(r==="text")return at(t,u)===c;if(r==="value"){let h=Nt(t,u);return h==null&&(h=at(t,u)),h===c}else if(r==="item")return jo(t,u,c)});if(e==-1)break;o.push(e)}else{let s=n[0];for(let c=0;c<a.length;c++){const e=a[c];let u=s.findIndex(d=>{if(r==="text")return at(t,d)===e;if(r==="value"){let m=Nt(t,d);return m==null&&(m=at(t,d)),m===e}else if(r==="item")return jo(t,d,e)});if(u==-1)break;o.push(u);const h=wa(t,s[u]);if(!Array.isArray(h))break;s=h}}return o}function Ko(t,a,n,i){if(n.length==0)return null;const o={texts:[],values:[],items:[]},r=t.valueType??"value";if(i==="singleColumn"||i==="multipleColumn")for(let s=0;s<a.length&&s<n.length;s++){const c=n[s];let e=a[s];e<0&&e>=c.length&&(e=0);const u=c[e],h=at(t,u);if(o.texts.push(h),o.items.push(u),r==="text")o.values.push(h);else if(r==="value"){let d=Nt(t,u);d==null&&(d=h),o.values.push(d)}else o.values.push(u)}else{let s=n[0];for(let c=0;c<a.length;c++){let e=a[c];e<0&&e>=s.length&&(e=0);const u=s[e],h=at(t,u),d=Object.assign({},u);if(d.children=null,o.texts.push(h),o.items.push(d),r==="text")o.values.push(h);else if(r==="value"){let m=Nt(t,u);m==null&&(m=h),o.values.push(m)}else o.values.push(d);if(!Array.isArray(u.children))break;s=u.children}}return o}function Wo(t){return{text:t,value:t}}var j7=15,K7=300,W7=200,{create:Y7}=ce("picker-column");function U7(t){t.stopPropagation()}function G7(t,a){(typeof t.cancelable!="boolean"||t.cancelable)&&t.preventDefault(),a&&U7(t)}var X7={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},..._o},Q7=Y7({props:X7,emits:["click","change","update:modelValue"],setup(t,{emit:a}){const n=(0,l.computed)(()=>({"fox-picker__list":!0})),i=(0,l.computed)(()=>({height:`${we(t.visibleItemCount)*+t.itemHeight}px`})),o=(0,l.computed)(()=>({"fox-picker__content":!0,"fox-picker__content-tile":!t.threeDimensional,"fox-picker__content-roller":t.threeDimensional})),r=(0,l.computed)(()=>t.itemHeight*Math.floor(+t.visibleItemCount/2)),s=_=>{const K=_+1;return K>=d.currIndex+8||K<=d.currIndex-8},c=(0,l.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`})),e=_=>{const K=_+1;return`transform: rotate3d(1, 0, 0, ${-d.rotation*K}deg) translate3d(0px, 0px, 104px)`},u=(0,l.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=(0,l.ref)(null),d=(0,l.reactive)({currIndex:t.modelValue,startDistance:0,scrollDistance:0,scrollTime:0,moving:!1,rotation:20,deg:0,transitionEndTrigger:null}),m=_=>at(t,_),T=_=>Nt(t,_),E=Oo(),S=()=>{d.transitionEndTrigger&&(d.transitionEndTrigger(),d.transitionEndTrigger=null)},y=(_,K=!1,j=!1)=>{if(d.currIndex=_,K){const q=()=>{d.moving=!1,a("update:modelValue",_),a("change",_)};j?d.transitionEndTrigger=q:q()}},g=(_,K,j)=>{let q=_+d.startDistance;if(K==="end"){const k=-(t.source.length-1)*t.itemHeight;q<k&&(q=k),q>0&&(q=0);let R=Math.abs(Math.round(-q/t.itemHeight));const z=-R*t.itemHeight,N=`${(R+1)*d.rotation}deg`;y(R,!0,j?j>0:!1),p(z,K,j,N)}else{let k=(-q/t.itemHeight+1)*d.rotation;const R=(t.source.length+1)*d.rotation,z=0;if(k=Math.min(Math.max(k,z),R),t.threeDimensional&&(k<z||k>R))return;p(q,null,void 0,`${k}deg`)}},p=(_=0,K,j=W7,q)=>{K==="end"?d.scrollTime=j:d.scrollTime=0,d.deg=q,d.scrollDistance=_},v=(_,K)=>(_=Math.abs(_/K)/.003*(_<0?-1:1),_),f=_=>{t.readonly||(d.startDistance=d.scrollDistance,E.start(_),d.transitionEndTrigger=null)},A=_=>{t.readonly||(d.moving=!0,E.move(_),E.isVertical()&&(d.moving=!0,G7(_,!0)),g(E.deltaY.value,"",0))},V=()=>{if(t.readonly)return;const _=E.deltaY.value,K=E.duration.value;K<K7&&Math.abs(_)>j7?g(v(_,K),"end",we(t.swipeDuration)):g(_,"end",0)};return(0,l.watch)(()=>t.modelValue,_=>{const K=d.currIndex-_;K!==0&&(d.currIndex=_,d.startDistance=d.scrollDistance,g(K*t.itemHeight,"",0))}),(0,l.watch)(()=>t.source,_=>{if(d.currIndex>=_.length){const K=(_.length-1-d.currIndex)*t.itemHeight;d.startDistance=d.scrollDistance,g(K,"end",0)}}),(0,l.watch)(()=>t.visible,_=>{_===!1&&S()}),(0,l.onMounted)(()=>{g(-t.modelValue*t.itemHeight)}),{classes:n,styles:i,contentClasses:o,itemText:m,itemValue:T,...(0,l.toRefs)(d),roller:h,getItemText:at,onTouchStart:f,onTouchMove:A,onTouchEnd:V,isHidden:s,setRollerStyle:e,touchRollerStyle:c,touchTileStyle:u,stopMomentum:S}}}),Z7={key:1,class:"fox-picker__item-tile"};function J7(t,a,n,i,o,r){return(0,l.openBlock)(),(0,l.createElementBlock)("view",{class:(0,l.normalizeClass)(t.classes),style:(0,l.normalizeStyle)(t.styles),onTouchstart:a[0]||(a[0]=(...s)=>t.onTouchStart&&t.onTouchStart(...s)),onTouchmove:a[1]||(a[1]=(...s)=>t.onTouchMove&&t.onTouchMove(...s)),onTouchend:a[2]||(a[2]=(...s)=>t.onTouchEnd&&t.onTouchEnd(...s)),onTouchcancel:a[3]||(a[3]=(...s)=>t.onTouchEnd&&t.onTouchEnd(...s)),onTransitionend:a[4]||(a[4]=(...s)=>t.stopMomentum&&t.stopMomentum(...s))},[(0,l.createElementVNode)("view",{ref:"roller",class:(0,l.normalizeClass)(t.contentClasses),style:(0,l.normalizeStyle)(t.threeDimensional?t.touchRollerStyle:t.touchTileStyle)},[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(t.source,(s,c)=>((0,l.openBlock)(),(0,l.createElementBlock)(l.Fragment,{key:`${t.columnIndex}_${c}`},[t.threeDimensional?((0,l.openBlock)(),(0,l.createElementBlock)("view",{key:0,class:(0,l.normalizeClass)(["fox-picker__item",{"fox-picker__item-hidden":t.isHidden(c)}]),style:(0,l.normalizeStyle)(t.setRollerStyle(c))},(0,l.toDisplayString)(t.itemText(s)),7)):((0,l.openBlock)(),(0,l.createElementBlock)("view",Z7,(0,l.toDisplayString)(t.itemText(s)),1))],64))),128))],6)],38)}var em=De(Q7,[["render",J7]]),{create:tm,componentName:lm,scope:nm}=ce("picker"),am=tm({components:{PickerColumn:em,Popup:st},props:ba,emits:["close","change","confirm","update:visible","update:text","update:modelValue","clear"],setup(t,{emit:a}){const{toLocaleRefs:n,t:i}=(0,Ne.useFoxI18n)(nm),o=n(t,["title","cancelText","clearText","confirmText"]),r=(0,l.ref)(null),s=(0,l.ref)(_7());(0,l.watch)(()=>t.visible,R=>{R&&s.value<=0&&setTimeout(()=>{r.value&&(s.value=Sa(r.value).height,R7(s.value))},50)});const c=(0,l.computed)(()=>({[lm]:!0})),e=H7(),u=(0,l.ref)("singleColumn"),h=(0,l.ref)([]),d=(0,l.computed)(()=>{if(typeof t.sourceFilter=="function"){const R=[];for(let z=0;z<h.value.length;z++){const N=h.value[z];if(Array.isArray(N)){const L=N.filter(t.sourceFilter);R.push(L)}}return R}return h.value});(0,l.watch)([()=>t.source,()=>t.params],async([R,z])=>{if(R){let N=await e.load("select",R,z);if(N.length>0){let L=N[0];if(Array.isArray(L)){if(typeof L[0]=="string"){let $=N,U=[];$.forEach(Y=>{let Z=Y.map(M=>Wo(M));U.push(Z)}),h.value=U}else h.value=N;u.value="multipleColumn"}else if(typeof L=="string"){let $=N,U=[],Y=$.map(Z=>Wo(Z));U.push(Y),h.value=U,u.value="singleColumn"}else{const $=wa(t,L);Array.isArray($)?(u.value="cascade",h.value=[N]):(u.value="singleColumn",h.value=[N])}}else h.value=[]}},{immediate:!0});const m=(0,l.ref)([]),T=(0,l.ref)(t.modelValue),E=(0,l.ref)([]),S=(0,l.ref)([]);(0,l.watch)([()=>t.modelValue,()=>d.value],([R,z])=>{let N=q7(t,R,z,u.value);if(!Xe(N,S.value)){S.value=N;let L=Ko(t,N,z,u.value);L&&(m.value=L.texts,a("update:text",m.value))}});const y=(0,l.ref)(t.visible);(0,l.watch)(()=>t.visible,R=>{y.value=R});const g=R=>{let z=qo(t,R);return Ye(z)?z.defaultIndex??0:0},p=R=>{if(t.readonly===!0)return!0;let z=qo(t,R);return Ye(z)?z.readonly??!1:!1},v=(R,z)=>{let N=S.value;N[R]=z;for(let $=0;$<R;$++)N[$]==null&&(N[$]=g($));if(u.value==="cascade")for(let $=R+1;$<A.value.length;$++){let U=g($);$<N.length?N[$]=U:N.push(U)}else for(let $=N.length;$<A.value.length;$++){let U=g($);N.push(U)}S.value=N;let L=Ko(t,N,d.value,u.value);L&&(m.value=L.texts,T.value=L.values,E.value=L.items)},f=R=>R<S.value.length?S.value[R]:g(R),A=(0,l.computed)(()=>{if(d.value.length==0)return[];if(u.value=="singleColumn"||u.value=="multipleColumn")return d.value;let R=[],z=0,N=d.value[0],L=0;for(;;){const $=N.map(Z=>{let M=Object.assign({},Z);return F7(t,M,null),M});R.push($),z>=S.value.length?L=0:L=S.value[z],(L<0||L>=N.length)&&(L=0);let U=N[L];const Y=wa(t,U);if(!Array.isArray(Y))break;N=Y,z++}return R}),V=(0,l.computed)(()=>we(+t.visibleItemCount-1)/2*s.value),_=(R=!1)=>{if(t.readonly===!0){R&&a("update:visible",!1);return}let z=d.value.length-1;for(;z>=0&&!(S.value[z]===null||S.value[z]===void 0);z--);if(z>=0&&v(z,0),u.value==="singleColumn"){let N=T.value.length>0?T.value[0]:"",L=E.value.length>0?E.value[0]:null;a("update:modelValue",N),a("update:text",m.value),a("change",N,L),R&&(a("confirm",N),a("update:visible",!1))}else a("update:modelValue",T.value),a("update:text",m.value),a("change",T.value,E.value),R&&(a("confirm",T.value),a("update:visible",!1))};return{...o,pickerLineRef:r,classes:c,columns:A,dataType:u,show:y,itemHeight:s,top:V,isReadonly:p,getIndex:f,change:(R,z)=>{v(R,z),t.isAutoBackFill&&_(!y.value)},close:()=>{a("close"),a("update:visible",!1)},confirm:()=>{_(!0)},clear:()=>{if(t.readonly===!0){a("update:visible",!1);return}u.value==="singleColumn"?(a("update:modelValue",""),a("change","")):(a("update:modelValue",[]),a("change",[])),a("clear",""),a("update:visible",!1)}}}}),rm={class:"fox-picker__bar"},om={class:"fox-picker__title"},im={class:"fox-picker__bar__action"},sm={class:"fox-picker__column"};function cm(t,a,n,i,o,r){const s=(0,l.resolveComponent)("PickerColumn"),c=(0,l.resolveComponent)("Popup");return(0,l.openBlock)(),(0,l.createElementBlock)("view",{class:(0,l.normalizeClass)(t.classes)},[(0,l.createVNode)(c,{position:"bottom","pop-class":"fox-picker__popup",visible:t.show,"onUpdate:visible":a[3]||(a[3]=e=>t.show=e),teleport:t.teleport,"lock-scroll":t.lockScroll,"close-on-click-overlay":t.closeOnClickOverlay,onClose:t.close,round:!0,"teleport-disable":t.teleportDisable},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("view",rm,[(0,l.createElementVNode)("view",om,(0,l.toDisplayString)(t.title),1),(0,l.createElementVNode)("view",im,[(0,l.createElementVNode)("view",{class:"fox-picker__left fox-picker__cancel fox-picker__button",onClick:a[0]||(a[0]=(...e)=>t.close&&t.close(...e))},(0,l.toDisplayString)(t.cancelText),1),(0,l.createElementVNode)("view",{class:"fox-picker__right fox-picker__confirm fox-picker__button",onClick:a[1]||(a[1]=(...e)=>t.confirm&&t.confirm(...e))},(0,l.toDisplayString)(t.confirmText),1),t.clearText?((0,l.openBlock)(),(0,l.createElementBlock)("view",{key:0,class:"fox-picker__right fox-picker__clear fox-picker__button",onClick:a[2]||(a[2]=(...e)=>t.clear&&t.clear(...e))},(0,l.toDisplayString)(t.clearText),1)):(0,l.createCommentVNode)("",!0)])]),(0,l.renderSlot)(t.$slots,"top"),(0,l.createElementVNode)("view",sm,[(0,l.createElementVNode)("view",{class:"fox-picker__mask",style:(0,l.normalizeStyle)({backgroundSize:`100% ${t.top}px`})},null,4),(0,l.createElementVNode)("view",{ref:"pickerLineRef",class:"fox-picker__hairline",style:(0,l.normalizeStyle)({top:` ${t.top}px`})},null,4),((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(t.columns,(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("view",{key:u,class:"fox-picker__columnitem"},[(0,l.createVNode)(s,{visible:t.show,source:e,readonly:t.isReadonly(u),"column-index":u,modelValue:t.getIndex(u),"onUpdate:modelValue":h=>t.change(u,h),"visible-item-count":t.visibleItemCount,"three-dimensional":t.threeDimensional,"swipe-duration":t.swipeDuration,"item-height":t.itemHeight,"text-key":t.textKey,"value-key":t.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,l.renderSlot)(t.$slots,"default")]),_:3},8,["visible","teleport","lock-scroll","close-on-click-overlay","onClose","teleport-disable"])],2)}var Xl=De(am,[["render",cm]]),Yo={...ba,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 um(t,a,n,i){return{props:{...ze,...$e,...Yo},emits:["change","update:modelValue","blur","focus","clear","update:text","setValue"],setup(o,r){const{itemTemplateRef:s,innerDisabled:c,disabled:e,innerReadonly:u,readonly:h,browse:d}=Ie(o),{emitEvent:m,exposeApi:T}=Te({componentName:t,validateCheckEvents:["blur","clear","change"],validateResetEvents:["focus","setValue"],get readonly(){return h.value},get disabled(){return e.value},get props(){return o},context:r,get templateRefProxy(){return s.value}},o.prop??r.attrs.name),{toLocaleRefs:E}=(0,Ne.useFoxI18n)(a),S=E(o,["placeholder"]),y=(0,l.ref)(!1),g=t,p=(0,l.computed)(()=>({[g]:!0})),v=Ve((0,l.computed)(()=>o.textAlign),"textAlign"),f=(0,l.computed)(()=>({textAlign:v.value??"right"})),A=ve(o,"modelValue",null,m),V=(0,l.ref)([]),_=(0,l.computed)(()=>Array.isArray(V.value)?V.value.join(" "):V.value),K=(0,l.ref)(!1),j=()=>{K.value=!0},q=F=>{K.value=F},k=F=>{A.value=F,m("update:modelValue",F)},R=F=>{V.value=F,Array.isArray(F)&&F.length===0?m("update:text",F[0]):m("update:text",F)},z=(F,D)=>{m("change",F,D)};let N=ve(o,"hintText"),L=(0,l.ref)(!1);const $=F=>{let D=F.target.value;y.value=!0,ge(N.value)||(L.value=!0),m("focus",D,F)},U=F=>{setTimeout(()=>{L.value&&(L.value=!1),y.value=!1},0);let D=F.target.value;o.maxLength&&D.length>Number(o.maxLength)&&(D=D.slice(0,Number(o.maxLength))),K.value?setTimeout(()=>{m("blur",D,F)},50):m("blur",D,F)},Y=()=>{m("clear","")},Z=(0,l.computed)(()=>ft(o.unit)>0),M=(0,l.ref)();return T({focus:()=>{M?.value.focus()},blur:()=>{M?.value.blur()},select:()=>{M?.value.select()},setDisabled:F=>{c.value=F},setReadonly:F=>{u.value=F}}),()=>{if(d.value==="on"&&(h.value||e.value))return i(_.value,r.slots);const F={class:p.value,style:f.value,type:"text",maxlength:o.maxLength,placeholder:S.placeholder.value,clearable:he(o.clearable),readonly:!0,value:_.value,onClick:j,onFocus:$,onBlur:U},D={};r.slots.prepend&&(D.prepend=r.slots.prepend),r.slots.append&&(D.append=r.slots.append),r.slots.prefix&&(D.prefix=r.slots.prefix),r.slots.suffix?D.suffix=r.slots.suffix:Z.value?D.suffix=()=>[o.unit]:D.suffix=()=>(0,l.h)(B.ElIcon,{},{default:()=>(0,l.h)(Be.ArrowDown)});const X=[],H=(0,l.h)(B.ElInput,F,D);X.push(H);const W={default:()=>X};W.label=r.slots.default,W.fixedPreTip=r.slots.fixedPreTip,W.fixedTip=r.slots.fixedTip;const x=tt(o,ba);x.disabled=!1,x.readonly=e.value||h.value,x.visible=K.value,x["onUpdate:visible"]=q,x.modelValue=A.value,x["onUpdate:modelValue"]=k,x.text=V.value,x["onUpdate:text"]=R,x.onClear=Y,x.onChange=z;const ee=(0,l.h)(Xl,x);W.hide=()=>[ee];const ne={...Ae(o,Yo),ref:s,hintText:N.value,hintVisible:L.value};return o.prop&&(ne.prop=`${o.prop}_item`),n(ne,W)}}}}var{componentName:dm,create:fm,scope:mm}=ce("picker-item"),hm=fm(um(dm,mm,Pe,qe)),va=hm,pm={...ze,...$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}};function gm(t,a,n,i){return{props:pm,emits:["click","focus","blur","change"],setup(o,r){const{itemTemplateRef:s,disabled:c,readonly:e}=Ie(o),{emitEvent:u,exposeApi:h}=Te({componentName:t,validateCheckEvents:["change"],validateResetEvents:["focus"],get readonly(){return e.value},get disabled(){return c.value},get props(){return o},context:r,get templateRefProxy(){return s.value}},o.prop??r.attrs.name),{toLocaleRefs:d}=(0,Ne.useFoxI18n)(a),m=d(o,["placeholder"]),T=(0,l.ref)(o.modelValue);(0,l.watch)(()=>o.modelValue,z=>{T.value=z,u("change",z)});const E=(0,l.computed)(()=>({[`${t}`]:!0})),S=(0,l.computed)(()=>({[`${t}__main`]:!0,[`${t}__placeholder`]:!c.value&&ge(T.value),"is-disabled":c.value,"is-readonly":e.value})),y=Ve((0,l.computed)(()=>o.textAlign),"textAlign"),g=(0,l.computed)(()=>{const z={};return y.value&&(z["text-align"]=y.value),z}),p=(0,l.computed)(()=>!ge(o.modelValue)||r.slots.main?!0:!!ge(o.desc)),v=(0,l.computed)(()=>ge(T.value)?m.placeholder.value:T.value),f=(0,l.computed)(()=>!ge(o.desc)||r.slots.sub),A=(0,l.computed)(()=>({[`${t}__sub`]:!0})),V=(0,l.computed)(()=>{const z={};return y.value&&(z["text-align"]=y.value),z}),_=()=>{u("focus",T.value)},K=()=>{u("blur",T.value)},j=(0,l.computed)(()=>({[`${t}__append`]:!0,"is-disabled":c.value,"is-readonly":e.value})),q=z=>{c.value==!0||e.value==!0||u("click")},k=(0,l.computed)(()=>o.icon??n),R=(0,l.computed)(()=>({action:!0}));return h(),()=>{const z=[];if(typeof r.slots.content=="function"){const F=r.slots.content();z.push(F)}else{const F=[];if(p.value){const X={tabIndex:0,class:S.value,style:g.value,onFocus:_,onBlur:K};let H=null;r.slots.main?H=(0,l.h)("view",X,[r.slots.main(v.value)]):H=(0,l.h)("view",X,[v.value]),F.push(H)}if(f.value){const X={tabIndex:0,class:A.value,style:V.value,onFocus:_,onBlur:K};let H=null;r.slots.sub?H=(0,l.h)("view",X,[r.slots.sub(o.desc)]):H=(0,l.h)("view",X,[o.desc]),F.push(H)}const D=(0,l.h)("view",{class:E.value,onClick:q},F);z.push(D)}const N=[],L=ye(o.iconSize);let $=r.slots.icon;if(!$){const F={width:L,height:L,class:["action-icon"]};$=(0,l.h)(k.value,F)}const U=(0,l.h)("view",{class:R.value,onClick:q},{default:()=>[$]});N.push(U);const Y=(0,l.h)("view",{class:j.value},{default:()=>N});z.push(Y);const Z={default:()=>z};Z.label=r.slots.default,Z.prepend=r.slots.prepend,Z.append=r.slots.append,Z.fixedPreTip=r.slots.fixedPreTip,Z.fixedTip=r.slots.fixedTip;const M={...tt(o,$e,ze),ref:s};return o.prop&&(M.prop=`${o.prop}_item`),i(M,Z)}}}}var{componentName:ym,create:bm,scope:Sm}=ce("link-item"),wm=bm(gm(ym,Sm,Be.ArrowRight,Pe)),Na=wm,Ca={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}},Uo=(t,a)=>a[t.textKey],al=(t,a)=>a[t.valueKey],vm=(t,a)=>a[t.visibleKey],Go=(t,a)=>a[t.disabledKey],Nm=(t,a)=>{const n=a[t.doitKey];return he(n)},Cm=(t,a)=>{const n=a[t.numKey];return n==null?null:we(a[n])},Xo=(t,a,n)=>{const i=t.itemOptions;return typeof i=="function"?i(a,n):i||null};function km(t,a,n,i,o,r=!1){return{props:Ca,emits:["update:modelValue","change","click"],setup(s,c){const{emitEvent:e,exposeApi:u}=wt({context:c},s.prop),{slots:h}=c,d=(0,l.computed)(()=>{const b={};return b[`${t}`]=!0,b}),m=(0,l.computed)(()=>{const b={};return b[`${t}__titles`]=!0,b[`${s.direction}`]=!0,s.align&&(b[`${s.align}`]=!0),s.scroll===!0&&(b.scrollable=!0),s.shape&&(b[`${s.shape}`]=!0),s.showScrollArrow?(ne.value===!0&&(b["has-left-scroll-arrow "]=!0),ae.value===!0&&(b["has-right-scroll-arrow "]=!0)):s.showQuickNavigation&&(b["has-navigation"]=!0),b}),T=(0,l.computed)(()=>({})),E=(0,l.computed)(()=>{if(!s.gutter)return 0;const b=ye(s.gutter);return b<=0?0:b}),S=(0,l.ref)(s.modelValue);(0,l.watch)(()=>s.modelValue,b=>{S.value!==b&&(S.value=b,F(!1))});const y=(0,l.ref)({"fox-tabs-bar__popup":!0,"fox-tabs-bar__popup--show":!1,"fox-tabs-bar__popup--hide":!1}),g=(0,l.computed)(()=>{const b={};return v.value||(b.display="none"),b}),p=(0,l.ref)(),v=(0,l.ref)(!1),f=()=>{A(!v.value)},A=b=>{const C=b;C?(v.value=C,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,p.value?p.value.addEventListener("transitionend",()=>{v.value=!1},{once:!0}):setTimeout(()=>{v.value=!1},0))},V=(0,l.ref)(),_=(0,l.ref)([]),K=(b,C)=>{_.value[C]=b},j=b=>C=>{K(C,b)},q=(b,C)=>{const O=V.value,te=_.value;if(!O||!te||!te[b])return;const re=te[b];let se=0;s.direction==="vertical"?se=re.offsetTop-(O.offsetHeight-re.offsetHeight)/2:se=re.offsetLeft-(O.offsetWidth-re.offsetWidth)/2,k(O,se,C?0:.3,s.direction)},k=(b,C,O,te)=>{let re=0;const se=te==="horizontal"?b.scrollLeft:b.scrollTop,ue=O===0?1:Math.round(O*1e3/16);function pe(){te==="horizontal"?b.scrollLeft+=(C-se)/ue:b.scrollTop+=(C-se)/ue,++re<ue&&gn(pe)}pe()},R=(b,C)=>{const O=al(s,b),te={};return te[`${t}__titles-item`]=!0,te.disabled=Go(s,b),te.active=O===S.value,s.shape&&(te[`${s.shape}`]=!0),s.ellipsis&&(te.ellipsis=!0),C&&(C.class&&(te[`${C.class}`]=!0),C.disabled===!0&&(te.disabled=C.disabled)),te},z=(b,C)=>{const O={};if(E.value>0){const te=Math.abs(E.value/2);s.direction==="vertical"?(O["margin-top"]=`${te}px`,O["margin-bottom"]=`${te}px`):(O["margin-left"]=`${te}px`,O["margin-right"]=`${te}px`)}return C&&C.style&&Object.assign(O,C.style),O},N=(b,C)=>`${al(s,b)??C}`,L=(b,C)=>{const O=al(s,b),te={};te[`${t}__popup-item`]=!0,te.disabled=Go(s,b),te.active=O===S.value,s.shape&&(te[`${s.shape}`]=!0);const re=Xo(s,b,C);return re&&re.disabled===!0&&(te.disabled=re.disabled),te},$=(0,l.computed)(()=>(s.data??[]).filter(b=>vm(s,b)!==!1)),U=(b,C)=>{const O=al(s,b);if(e("click",b,C),S.value==O)return;const te=()=>{S.value=O,s.scroll&&q(C,!1),e("update:modelValue",O),e("change",b,C)};if(typeof s.beforeChange=="function"){const re=s.beforeChange(b,C);hl(re)?re.then(se=>{se!==!1&&te()}).catch(()=>{te()}):re!==!1&&te()}else te()},Y=(b,C)=>function(){U(b,C)},Z=(b,C)=>{U(b,C),A(!1)},M=(b,C)=>function(){Z(b,C)},F=b=>{if(!Array.isArray(s.data)||!s.scroll)return;ee()&&J();const C=s.data.findIndex(O=>al(s,O)===S.value);C!==-1&&q(C,b)},D=()=>{ee()||Q()};(0,l.watch)(()=>s.data,()=>{setTimeout(F,0)}),(0,l.onMounted)(()=>{F(!0)}),(0,l.onBeforeUnmount)(()=>{D()}),u({});const X=(b,C)=>{if(h.item)return h.item({item:b,index:C});const O=Xo(s,b,C),te=[];if(h.text){const se=h.text({item:b,index:C});te.push(se)}else{const se=[];if(O?.doit===!0||Nm(s,b)){const xe=(0,l.h)("view",{class:[`${t}__titles-item-tip`,"doit"]});se.push(xe)}const ue=O?.num??Cm(s,b);if(ue){let xe="";const Le=we(ue);Le>=100?xe="99+":xe=`${Le}`;const Ge=(0,l.h)("view",{class:[`${t}__titles-item-tip`,"num"]},[xe]);se.push(Ge)}const pe={class:`${t}__titles-item-text`};se.push(Uo(s,b));const be=(0,l.h)("view",pe,se);te.push(be)}const re=(0,l.h)("view",{class:`${t}__titles-item-line`});return te.push(re),(0,l.h)("view",{ref:j(C),class:R(b,O),style:z(b,O),key:N(b,C),onClick:Y(b,C)},te)},H=()=>{const b=h.default?h.default():[];if(b.length===0)for(let C=0;C<$.value.length;C++){const O=$.value[C],te=X(O,C);b.push(te)}return(0,l.h)("view",{ref:V,class:m.value,style:T.value},b)},W=()=>{let b=null;return h.navigation?b=h.navigation():b=(0,l.h)(n),(0,l.h)("view",{class:`${t}__navigation`,onClick:f},[b])},x=()=>{const b=[];for(let C=0;C<$.value.length;C++){const O=$.value[C];let te=null;h.popupItem?te=h.popupItem({item:O,index:C}):te=Uo(s,O);const re=(0,l.h)("view",{class:L(O,C),key:N(O,C),onClick:M(O,C)},[te]);b.push(re)}return(0,l.h)("view",{class:y.value,style:g.value},b)},ee=()=>s.showScrollArrow&&s.direction=="horizontal",ne=(0,l.ref)(!1),ae=(0,l.ref)(!1),G=b=>{const C=V.value,O=_.value;if(!(!C||!O))if(b==="left"){const te=C.scrollLeft;let re=te;for(let se=0;se<O.length;se++){const ue=O[se].offsetLeft;if(te-ue<0)break;re=ue}k(C,re,.3,"horizontal")}else{const te=C.scrollLeft;let re=te,se=C.offsetWidth;for(let ue=O.length-1;ue>=0;ue--){const pe=O[ue].offsetLeft+O[ue].offsetWidth;if(pe-te<C.offsetWidth){re+=se-pe;break}se=pe}k(C,re,.3,"horizontal")}},le=Qe(()=>{const b=V.value;if(!b)return;let C=b.scrollLeft>0;C!==ne.value&&(ne.value=C);let O=b.scrollWidth-b.scrollLeft>b.offsetWidth;O!==ae.value&&(ae.value=O)},50),I=b=>{le()},J=()=>{const b=V.value;b&&(le(),b.addEventListener("scroll",I))},Q=()=>{const b=V.value;b&&b.removeEventListener("scroll",I)},P=b=>{if(b==="left"&&ne.value!==!0||b==="right"&&ae.value!==!0)return null;let C=null;return b==="left"?h.leftArrow?C=h.leftArrow():C=(0,l.h)(i):h.rightArrow?C=h.rightArrow():C=(0,l.h)(o),(0,l.h)("view",{class:[`${t}__scroll-arrow`,b],onClick:()=>{G(b)}},[C])};return()=>{const b=[],C=H();if(b.push(C),ee()){const O=P("left");O&&b.push(O);const te=P("right");te&&b.push(te)}else if(s.showQuickNavigation){const O=W();b.push(O);const te=x();b.push(te)}return(0,l.h)("view",{class:d.value},b)}}}}var{create:xm,componentName:zm,scope:Em}=ce("tabs-bar"),Tm=xm(km(zm,Em,j2,E3,bu,!1)),rl=Tm,Qo=Symbol("TabsStatesKey"),ka={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]}},$m=15,Bm=300,Vm=200;function Dm(t,a,n=1){return t=Math.abs(t/a)/.003*(t<0?-1:1),t*n}function Zo(t,a=0,n,i,o=Vm){n==="end"?t.style.transition=`transform ${o}ms linear`:t.style.transition="transform 0ms linear",i==="horizontal"?t.style.transform=`translate3d(${a}px, 0, 0)`:t.style.transform=`translate3d(0, ${a}px, 0)`}var Mm=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(t,a,n,i=1){this.onStart=t,this.onMove=a,this.onEnd=n,this.momentumReduceRatio=i,this.isTouch=ll()}open(t){this.el=t;const a=nl(),n=(i,o,r)=>{const s={delta:i,direction:o,type:r};this.onMove(s)};this.transitionend=()=>{this.transitionEndTrigger&&(this.transitionEndTrigger(),this.transitionEndTrigger=null)},this.touchstart=i=>{if(this.moving)return;a.start(i),this.transitionEndTrigger=()=>{t.removeEventListener("transitionend",this.transitionend),this.moving=!1,this.onEnd()},this.moving=!0,t.removeEventListener("transitionend",this.transitionend),t.addEventListener("transitionend",this.transitionend),t.addEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),t.addEventListener(this.isTouch?"touchend":"mouseup",this.touchend),this.isTouch&&t.addEventListener("touchcancel",this.touchend);const o={delta:0,type:"start",direction:this.direction};this.onStart(o)},this.touchmove=i=>{if(!this.moving)return;a.move(i);let o=0;if(this.direction==="horizontal"){if(a.isVertical())return;o=a.state.deltaX}else{if(a.isHorizontal())return;o=a.state.deltaY}n(o,this.direction,"move")},this.touchend=()=>{if(!this.moving)return;t.removeEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),t.removeEventListener(this.isTouch?"touchend":"mouseup",this.touchend),this.isTouch&&t.removeEventListener("touchcancel",this.touchend);let i=0;if(this.direction==="horizontal"){if(a.isVertical()){this.moving=!1;return}i=a.state.deltaX}else{if(a.isHorizontal()){this.moving=!1;return}i=a.state.deltaY}const o=a.state.duration;o<Bm&&Math.abs(i)>$m?(i=Dm(i,o,this.momentumReduceRatio),n(i,this.direction,"end")):n(i,this.direction,"end")},t.addEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart)}close(){const t=this.el;this.transitionend&&t.addEventListener("transitionend",this.transitionend),this.touchstart&&t.addEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart),this.touchmove&&t.addEventListener(this.isTouch?"touchmove":"mousemove",this.touchmove),this.touchend&&t.addEventListener(this.isTouch?"touchend":"mouseup",this.touchend),this.touchcancel&&this.isTouch&&t.addEventListener("touchcancel",this.touchcancel),this.el=null}};function Am(t,a,n,i=1){return new Mm(t,a,n,i)}function Im(t,a,n=!1){return{props:ka,emits:["update:modelValue","change"],setup(i,o){const{emitEvent:r,exposeApi:s}=wt({context:o},i.prop),{slots:c}=o,e=(0,l.shallowRef)([]),u={current:(0,l.ref)(i.modelValue??""),direction:(0,l.ref)(i.direction),transition:i.transition,tabWidth:(0,l.ref)(-1),tabHeight:(0,l.ref)(-1),add:j=>{const q={name:j};u.current.value===j&&(q.loaded=!0),e.value.push(q),(0,l.triggerRef)(e)},remove:j=>{const q=e.value.findIndex(k=>k.name===j);q!==-1&&e.value.splice(q,1)},isLoaded:j=>{if(!i.lazy)return!0;const q=e.value.findIndex(k=>k.name===j);return q!==-1?u.current.value?e.value[q].loaded??!1:q===0:!1}};(0,l.provide)(Qo,u);const h=j=>{const q=e.value.findIndex(k=>k.name===j);q!==-1&&(e.value[q].loaded=!0,(0,l.triggerRef)(e))};(0,l.watch)([()=>i.modelValue,()=>i.direction],([j,q])=>{u.current.value!==j&&(u.current.value=j??"",h(j??"")),u.direction.value!==q&&(u.direction.value=q)});const d=(0,l.ref)(null),m=(0,l.ref)(null),T=(0,l.computed)(()=>({[t]:!0,[`${i.direction}`]:!0})),E=(0,l.computed)(()=>{const j={};if(i.width){const q=ke(i.width);q&&(j.width=q)}if(i.height){const q=ke(i.height);q&&(j.height=q)}return j});let S=!0;const y=(0,l.computed)(()=>{const j={};if(i.transition===!1)return j;const q=e.value.length;if(q<=0)return j;const k=e.value.findIndex(R=>R.name===u.current.value);return u.direction.value==="vertical"?u.tabHeight.value>0&&(j.height=`${q*u.tabHeight.value}px`,k!==-1&&(j.transform=`translate(0, -${k*u.tabHeight.value}px)`)):u.tabWidth.value>0&&(j.width=`${q*u.tabWidth.value}px`,k!==-1&&(j.transform=`translate(-${k*u.tabWidth.value}px, 0)`)),S&&(S=!1,j.transition="transform 0s ease"),j}),g={min:0,max:0,start:0,moved:0,itemDistance:0,triggerAutoMoveRatio:.3},p=j=>{const q=e.value.length,k=e.value.findIndex(R=>R.name===u.current.value);g.moved=0,j.direction==="vertical"?(g.min=-1*(u.tabHeight.value*(q-1)+u.tabHeight.value/4),g.max=u.tabHeight.value/4,g.start=-k*u.tabHeight.value,g.itemDistance=u.tabHeight.value):(g.min=-1*(u.tabWidth.value*(q-1)+u.tabWidth.value/4),g.max=u.tabWidth.value/4,g.start=-k*u.tabWidth.value,g.itemDistance=u.tabWidth.value)},v=j=>{const q=m.value;if(!q)return;let k=g.start+j.delta;if(k>g.max?k=g.max:k<g.min&&(k=g.min),j.type==="move")Zo(q,k,"move",j.direction,300);else if(j.type==="end"){let R=Math.floor(Math.abs(k)*1/g.itemDistance);const z=Math.abs(k)%g.itemDistance;g.start>k?z>=g.itemDistance*g.triggerAutoMoveRatio&&(R+=1):z>g.itemDistance-g.itemDistance*g.triggerAutoMoveRatio&&(R+=1),k=-1*R*g.itemDistance,Zo(q,k,"end",j.direction,300),g.moved=k;const N=e.value[R].name;u.current.value=N??"",h(N??""),r("update:modelValue",N)}},f=()=>{},A=()=>{if(!d.value)return;const j=$l(d.value);u.tabWidth.value=j.width,u.tabHeight.value=j.height},V=vr(A,250);let _=null,K=null;return(0,l.onMounted)(()=>{i.transition!==!1&&d.value&&(A(),window.ResizeObserver&&(K=new window.ResizeObserver(V),K.observe(d.value)),i.draggle&&(_=Am(p,v,f),_.open(m.value)))}),(0,l.onBeforeUnmount)(()=>{K&&(K.disconnect(),K=null),_&&_.close()}),s({doLayout(){A()}}),()=>{const j=(0,l.h)("view",{class:`${t}__panes`,style:y.value,ref:m},[c?.default?.()]);return(0,l.h)("view",{class:T.value,style:E.value,ref:d},[j])}}}}var{create:Pm,componentName:Lm,scope:_m}=ce("tabs-container"),Rm=Pm(Im(Lm,_m,!1)),ol=Rm,Fm={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 Om(t,a,n){return{props:Fm,setup(i,{emit:o,slots:r}){const s=(0,l.inject)(Qo);(0,l.onMounted)(()=>{s.add(i.paneKey)}),(0,l.onBeforeUnmount)(()=>{s.remove(i.paneKey)});const c=(0,l.computed)(()=>{const h=[t];return s.direction.value==="vertical"?h.push("is-vertical"):h.push("is-horizontal"),s.transition===!1?h.push("is-no-transition"):h.push("is-transition"),h}),e=(0,l.computed)(()=>{const h={};return s.transition===!1?(s.current.value!==i.paneKey&&(h.display="none"),h):(s.direction.value==="vertical"&&s.tabHeight.value>0?h.height=`${s.tabHeight.value}px`:s.tabWidth.value>0&&(h.width=`${s.tabWidth.value}px`),h)}),u=(0,l.computed)(()=>i.loaded!=null?he(i.loaded):s.isLoaded(i.paneKey));return()=>{let h=[];if(u.value)h=r?.default?.()??[];else if(r.empty)h=r.empty();else{const d={class:`${t}__empty-icon`},m=(0,l.h)(i.emptyIcon??n,d),T=(0,l.h)("view",{class:`${t}__empty-text`},[i.emptyText??"Loading"]),E=(0,l.h)("view",{class:`${t}__empty`},[m,T]);h.push(E)}return(0,l.h)("view",{class:c.value,style:e.value,prop:i.paneKey},h)}}}}var{create:Hm,componentName:qm,scope:jm}=ce("tabs-pane"),Km=Hm(Om(qm,jm,el)),Ql=Km,Wm={...Ca,...ka,modelValue:{type:[String,Number],default:0},direction:{type:[String]},height:{type:[String,Number]},width:{type:[String]}};function Ym(t,a,n,i){return{props:Wm,emits:["update:modelValue","change"],setup(o,r){const{emitEvent:s,exposeApi:c}=wt({context:r},o.prop),{slots:e}=r,u=t,h=(0,l.computed)(()=>{const g=[`${u}`];return o.direction==="vertical"?g.push("vertical-tabbar"):g.push("horizontal-tabbar"),g}),d=(0,l.computed)(()=>{const g={};if(o.width){const p=ke(o.width);p&&(g.width=p)}if(o.height){const p=ke(o.height);p&&(g.height=p)}return g}),m=(0,l.computed)(()=>[`${u}__bar`]),T=(0,l.computed)(()=>[`${u}__container`]),E=(0,l.ref)(o.modelValue);(0,l.watch)(()=>o.modelValue,g=>{E.value!==g&&(E.value=g)});const S=g=>{s("change",g)},y=g=>{E.value!==g&&(E.value=g,s("update:modelValue",g))};return c({}),()=>{const{getChildren:g}=Pl(e.default),p=g(),v=[];if(Array.isArray(o.data))v.push(...o.data);else for(let q=0;q<p.length;q++){const k=p[q].props??{},R={text:k.label??"",value:k["pane-key"]??k.paneKey??""};v.push(R)}const f={};for(let q in e)q!=="default"&&(f[q]=e[q]);const A=tt(o,Ca);Object.assign(A,{prop:null,data:v,class:m.value,modelValue:E.value,direction:o.direction,onChange:S,"onUpdate:modelValue":y});const V=(0,l.h)(n,A,f),_={default:()=>p},K=tt(o,ka);Object.assign(K,{prop:null,class:T.value,modelValue:E.value,onChange:S,"onUpdate:modelValue":y});const j=(0,l.h)(i,K,_);return(0,l.h)("view",{class:h.value,style:d.value},[V,j])}}}}var{create:Um,componentName:Gm,scope:Xm}=ce("tabs-frame"),Qm=Um(Ym(Gm,Xm,rl,ol)),xa=Qm,Zm={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 Jm(t,a){return typeof t.textKey=="string"&&t.textKey.length>0?a[t.textKey]:a.text}function Jo(t,a){return typeof t.valueKey=="string"&&t.valueKey.length>0?a[t.valueKey]:a.value}function ei(t,a){return typeof t.disabledKey=="string"&&t.disabledKey.length>0?a[t.disabledKey]:a.disabled??null}function eh(t,a){return typeof t.visibleKey=="string"&&t.visibleKey.length>0?a[t.visibleKey]:a.visible??null}function za(t,a){return typeof t.statusKey=="string"&&t.statusKey.length>0?a[t.statusKey]:a.statusKey??null}function ti(t,a){return typeof t.doitKey=="string"&&t.doitKey.length>0?a[t.doitKey]:a.doitKey??null}function li(t,a){return typeof t.labelKey=="string"&&t.labelKey.length>0?a[t.labelKey]:a.labelKey??null}function Ea(t,a,n){return typeof t.itemOptions=="function"?t.itemOptions(a,n):t.itemOptions}var th=class{scope;constructor(t){this.scope=t}async load(t,a,n){if(Array.isArray(a))return a;if(typeof a=="function")return await Reflect.apply(a,null,[n]);const i=Fe(t,this.scope);return i===null?(console.error(`[FoxUI]${t} component not found api function`),[]):(Ye(n)&&(0,l.isReactive)(n)&&(n=(0,l.toRaw)(n)),await Reflect.apply(i,null,[a,n]))}};function lh(){return new th(Ze())}function nh(t,a,n,i){return{props:Zm,emits:["update:modelValue","change","loaded-data","click"],setup(o,r){const{emitEvent:s,exposeApi:c}=wt({context:r},o.prop),e=t,u=lh(),h=(0,l.ref)([]),d=(0,l.computed)(()=>h.value.filter(H=>eh(o,H)!==!1)),m=(0,l.ref)(-1),T=()=>{const H=o.modelValue,W=d.value.findIndex(x=>Jo(o,x)===H);m.value!==W&&(m.value=W,o.scroll&&D(W,!1))};(0,l.watch)([()=>o.modelValue,d],()=>{T()});const E=H=>m.value===H,S=H=>{if(H<0&&H>=d.value.length)return!1;const W=d.value[H],x=(Ea(o,W,H)??{}).status??za(o,W);return E(H)||x},y=(0,l.computed)(()=>{const H={[e]:!0};return o.mode?H[`is-${o.mode}`]=!0:o.direction&&(H[`is-${o.direction}`]=!0),o.scroll&&(H["is-scroll"]=!0),H}),g=(0,l.computed)(()=>({})),p=(H,W,x,ee,ne)=>{const ae={[`${e}__step`]:!0};return ne&&(ae[`${ne}`]=!0),ae[`${v.value}`]=!0,ee&&(ae["is-doit"]=!0),H===m.value?ae["is-active"]=!0:W==="done"?ae["is-done"]=!0:W==="error"?ae["is-error"]=!0:W==="half"?ae["is-half"]=!0:x?ae["is-disabled"]=!0:ae["is-normal"]=!0,ae},v=(0,l.computed)(()=>{let H=o.align;if(!H){if(o.mode==="simple")return"start";o.direction==="vertical"?H="start":H="center"}return H}),f=(H,W={})=>{const x={...W};if(v.value==="start"&&H===d.value.length-1)x.flex="0 0 auto";else if(o.step){const ee=typeof o.step=="number"||Cn(o.step)?ke(o.step):o.step;o.direction==="vertical"?x.height=ee:x.width=ee}else x.flex="1 1 100%";return x},A=(H,W)=>{let x={};if(W<d.value.length-1){const ee=W+1;S(W)&&S(ee)?o.direction==="vertical"?x.height="100%":x.width="100%":x.opacity="0"}return x},V=H=>d.value.length-1===H,_=(H,W)=>{if(o.clickNavigatePolicy==="disabled"||(o.clickNavigatePolicy==="only-back"||o.clickNavigatePolicy==="only-back-reset")&&W>m.value||m.value===W)return;const x=m.value,ee=W;m.value=W,o.scroll&&D(W,!1);const ne=Jo(o,H);s("update:modelValue",ne),s("change",ne,{fromIndex:x,currentIndex:ee,item:H,items:d.value,clickNavigatePolicy:o.clickNavigatePolicy})},K=(0,l.ref)(!0),j=async(H,W)=>{try{const x=await u.load("stesbar",H,W);Array.isArray(x)&&(h.value=x),K.value=!1}catch(x){console.error("[FoxUI] Load StepsBar Data Fail",x),h.value=[]}setTimeout(()=>{s("loaded-data")},250)};(0,l.watch)([()=>o.data,()=>o.params],async([H,W])=>{H&&j(H,W)},{immediate:!0}),c({});const q=(H,W,x,ee,ne,ae)=>{const G=[];let le=null;if(!ae)if(r.slots.icon)le=r.slots.icon({item:H,index:W,status:ee});else if(ee==="done"){const I={};o.iconSize&&(I.width=o.iconSize,I.height=o.iconSize),le=(0,l.h)(o.icon??n,I)}else le=(0,l.h)("span",{},[x??`${W+1}`]);return le&&G.push(le),(0,l.h)("view",{class:"fox-steps-bar__icon",onClick:()=>{s("click",{item:H,index:W}),!ne&&_(H,W)}},G)},k=(H,W,x)=>(0,l.h)("view",{class:"fox-steps-bar__line"},[(0,l.h)("i",{class:"fox-steps-bar__line-inner",style:A(H,W)})]),R=()=>{let H=null;if(r.slots.markIcon)H=r.slots.markIcon();else{const W={};o.iconSize&&(W.width=o.markIconSize,W.height=o.markIconSize),H=(0,l.h)(o.markIcon??i,W)}return(0,l.h)("view",{class:"fox-steps-bar__mark"},[H])},z=(H,W,x,ee,ne,ae)=>{const G=[];if(!V(W)){const I=k(H,W,ee);G.push(I)}const le=q(H,W,x,ee,ne,ae);return G.push(le),(0,l.h)("view",{class:"fox-steps-bar__head"},G)},N=(H,W,x,ee)=>{let ne=null;return r.slots.main?ne=r.slots.main({item:H,index:W,status:x}):ne=Jm(o,H),(0,l.h)("view",{class:"fox-steps-bar__main",onClick:()=>{s("click",{item:H,index:W}),!ee&&_(H,W)}},[ne])},L=(H,W,x)=>{let ee=null;return r.slots.sub?(ee=r.slots.sub({item:H,index:W,status:x}),(0,l.h)("view",{class:"fox-steps-bar__sub"},[ee])):null},$=(H,W)=>{const x=Ea(o,H,W)??{},ee=x.status??za(o,H);let ne=ei(o,H);x.disabled===!0&&(ne=!0),o.disabled===!0&&(ne=!0);let ae=ti(o,H);x.doit===!0&&(ae=!0);const G=x.label??li(o,H),le=[],I=q(H,W,G,ee,ne,ae);I&&le.push(I);const J=N(H,W,ee,ne);if(J&&le.push(J),!V(W)){const te=k(H,W,ee);te&&le.push(te)}const Q=[],P=(0,l.h)("view",{class:"fox-steps-bar__head"},le);Q.push(P);const b=L(H,W,ee);b&&Q.push(b);const C=x.class,O=x.style??{};return(0,l.h)("view",{ref:F(W),class:p(W,ee,ne,ae,C),style:f(W,O)},Q)},U=(H,W)=>{const x=Ea(o,H,W)??{},ee=x.status??za(o,H);let ne=ei(o,H);x.disabled===!0&&(ne=!0),o.disabled===!0&&(ne=!0);let ae=ti(o,H);x.doit===!0&&(ae=!0);const G=x.label??li(o,H),le=[],I=o.layout;for(let P of I)if(P==="head"){const b=z(H,W,G,ee,ne,ae);le.push(b)}else if(P==="main"){const b=N(H,W,ee,ne);le.push(b)}else if(P==="sub"){const b=L(H,W,ee);le.push(b)}else if(P==="mark"){const b=R();le.push(b)}const J=x.class,Q=x.style??{};return(0,l.h)("view",{ref:F(W),class:p(W,ee,ne,ae,J),style:f(W,Q)},le)},Y=(0,l.ref)(),Z=(0,l.ref)([]),M=(H,W)=>{Z.value[W]=H},F=H=>W=>{M(W,H)},D=(H,W)=>{const x=Y.value,ee=Z.value;if(!x||!ee||!ee[H])return;const ne=ee[H];let ae=0;o.direction==="vertical"?ae=ne.offsetTop-(x.offsetHeight-ne.offsetHeight)/2:ae=ne.offsetLeft-(x.offsetWidth-ne.offsetWidth)/2,X(x,ae,W?0:.3,o.direction)},X=(H,W,x,ee)=>{let ne=0;const ae=ee==="horizontal"?H.scrollLeft:H.scrollTop,G=x===0?1:Math.round(x*1e3/16);function le(){ee==="horizontal"?H.scrollLeft+=(W-ae)/G:H.scrollTop+=(W-ae)/G,++ne<G&&gn(le)}le()};return()=>{let H=[];if(o.mode==="simple")for(let x=0;x<d.value.length;x++){const ee=d.value[x],ne=$(ee,x);H.push(ne)}else for(let x=0;x<d.value.length;x++){const ee=d.value[x],ne=U(ee,x);H.push(ne)}const W={ref:Y,class:y.value,style:g.value};return H.length===0&&typeof r.slots.default=="function"&&(H=r.slots.default()),(0,l.h)("view",W,H)}}}}var{componentName:ah,create:rh,scope:oh}=ce("steps-bar"),ih=rh(nh(ah,oh,io,gf)),Ta=ih,Ue=t=>typeof t=="number"?`${t}px`:/^d+(\.?d+)$/.test(t)?`${t}px`:t,Ct=t=>t==null,sh=class{startMove;updateMove;isTouch=!1;els=null;moving=!1;touchstart=null;touchmove=null;touchend=null;constructor(t,a){this.startMove=t,this.updateMove=a,this.isTouch=ll()}open(t){Array.isArray(t)||(t=[t]),this.els=t;const a=nl(),n=(i,o,r,s)=>{this.updateMove({x:i,y:o})};this.touchstart=i=>{this.moving||(a.start(i),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=i=>{this.moving&&(a.move(i),n(a.state.deltaX,a.state.deltaY,"",0))},this.touchend=()=>{n(a.state.deltaX,a.state.deltaY,"end"),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(i=>{this.touchstart&&i.addEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart)})}close(){Array.isArray(this.els)&&this.els.forEach(t=>{this.touchstart&&t.removeEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart)}),this.els=null}};function ni(t,a){return new sh(t,a)}var ai=typeof window<"u"&&typeof document<"u",Wb=typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;function ri(t){const a=Object.create(null);return(n=>a[n]||(a[n]=t(n)))}var ch=/\B([A-Z])/g,Yb=ri(t=>t.replace(ch,"-$1").toLowerCase()),uh=/-(\w)/g,Ub=ri(t=>t.replace(uh,(a,n)=>n?n.toUpperCase():"")),It=[],oi=t=>{const a=t;a.key==="Escape"&&It.forEach(n=>n(a))},dh=t=>{(0,l.onMounted)(()=>{It.length===0&&document.addEventListener("keydown",oi),ai&&It.push(t)}),(0,l.onBeforeUnmount)(()=>{It=It.filter(a=>a!==t),It.length===0&&ai&&document.removeEventListener("keydown",oi)})},$a="fox-focus-trap.focus-after-trapped",Ba="fox-focus-trap.focus-after-released",fh="fox-focus-trap.focusout-prevented",ii={cancelable:!0,bubbles:!1},mh={cancelable:!0,bubbles:!1},si="foxFocusAfterTrapped",ci="foxFocusAfterReleased",hh=Symbol("foxFocusTrap"),Va=(0,l.ref)(),Zl=(0,l.ref)(0),Da=(0,l.ref)(0),Jl=0,ui=t=>{const a=[],n=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:i=>{const o=i.tagName==="INPUT"&&i.type==="hidden";return i.disabled||i.hidden||o?NodeFilter.FILTER_SKIP:i.tabIndex>=0||i===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)a.push(n.currentNode);return a},ph=(t,a)=>{if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(a&&t===a)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1},di=(t,a)=>{for(const n of t)if(!ph(n,a))return n},gh=t=>{const a=ui(t);return[di(a,t),di(a.reverse(),t)]},yh=t=>t instanceof HTMLInputElement&&"select"in t,bt=(t,a)=>{if(t&&t.focus){const n=document.activeElement;t.focus({preventScroll:!0}),Da.value=window.performance.now(),t!==n&&yh(t)&&a&&t.select()}};function fi(t,a){const n=[...t],i=t.indexOf(a);return i!==-1&&n.splice(i,1),n}var bh=()=>{let t=[];return{push:i=>{const o=t[0];o&&i!==o&&o.pause(),t=fi(t,i),t.unshift(i)},remove:i=>{t=fi(t,i),t[0]?.resume?.()}}},Sh=(t,a=!1)=>{const n=document.activeElement;for(const i of t)if(bt(i,a),document.activeElement!==n)return},mi=bh(),wh=()=>Zl.value>Da.value,en=()=>{Va.value="pointer",Zl.value=window.performance.now()},hi=()=>{Va.value="keyboard",Zl.value=window.performance.now()},vh=()=>((0,l.onMounted)(()=>{Jl===0&&(document.addEventListener("mousedown",en),document.addEventListener("touchstart",en),document.addEventListener("keydown",hi)),Jl++}),(0,l.onBeforeUnmount)(()=>{Jl--,Jl<=0&&(document.removeEventListener("mousedown",en),document.removeEventListener("touchstart",en),document.removeEventListener("keydown",hi))}),{focusReason:Va,lastUserFocusTimestamp:Zl,lastAutomatedFocusTimestamp:Da}),tn=t=>new CustomEvent(fh,{...mh,detail:t}),{componentName:Gb,create:Nh,scope:Xb}=ce("focus-trap"),Ch={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"}},kh=Nh({props:Ch,emits:[si,ci,"focusin","focusout","focusout-prevented","release-requested"],setup(t,{slots:a,emit:n}){const i=(0,l.ref)();let o,r;const{focusReason:s}=vh();dh(S=>{he(t.trapped)&&!c.paused&&n("release-requested",S)});const c={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},e=S=>{if(!t.loop&&!he(t.trapped)||c.paused)return;const{key:y,altKey:g,ctrlKey:p,metaKey:v,currentTarget:f,shiftKey:A}=S,{loop:V}=t,_=y==="Tab"&&!g&&!p&&!v,K=document.activeElement;if(_&&K){const j=f,[q,k]=gh(j);if(q&&k){if(!A&&K===k){const R=tn({focusReason:s.value});n("focusout-prevented",R),R.defaultPrevented||(S.preventDefault(),V&&bt(q,!0))}else if(A&&[q,j].includes(K)){const R=tn({focusReason:s.value});n("focusout-prevented",R),R.defaultPrevented||(S.preventDefault(),V&&bt(k,!0))}}else if(K===j){const R=tn({focusReason:s.value});n("focusout-prevented",R),R.defaultPrevented||S.preventDefault()}}};(0,l.provide)(hh,{focusTrapRef:i,onKeydown:e}),(0,l.watch)(()=>t.focusTrapEl,S=>{S&&(i.value=S)},{immediate:!0}),(0,l.watch)([i],([S],[y])=>{S&&(S.addEventListener("keydown",e),S.addEventListener("focusin",d),S.addEventListener("focusout",m)),y&&(y.removeEventListener("keydown",e),y.removeEventListener("focusin",d),y.removeEventListener("focusout",m))});const u=S=>{n(si,S)},h=S=>n(ci,S),d=S=>{const y=(0,l.unref)(i);if(!y)return;const g=S.target,p=S.relatedTarget,v=g&&y.contains(g);he(t.trapped)||p&&y.contains(p)||(o=p),v&&n("focusin",S),!c.paused&&he(t.trapped)&&(v?r=g:bt(r,!0))},m=S=>{const y=(0,l.unref)(i);if(!(c.paused||!y))if(!t.escape&&he(t.trapped)){const g=S.relatedTarget;!Re(g)&&!y.contains(g)&&setTimeout(()=>{if(!c.paused&&he(t.trapped)){const p=tn({focusReason:s.value});n("focusout-prevented",p),p.defaultPrevented||bt(r,!0)}},0)}else{const g=S.target;g&&y.contains(g)||n("focusout",S)}};async function T(){await(0,l.nextTick)();const S=(0,l.unref)(i);if(S){mi.push(c);const y=S.contains(document.activeElement)?o:document.activeElement;if(o=y,!S.contains(y)){const g=new Event($a,ii);S.addEventListener($a,u),S.dispatchEvent(g),g.defaultPrevented||(0,l.nextTick)(()=>{let p=t.focusStartEl;ar(p)||(bt(p),document.activeElement!==p&&(p="first")),p==="first"&&Sh(ui(S),!0),(document.activeElement===y||p==="container")&&bt(S)})}}}function E(){const S=(0,l.unref)(i);if(S){S.removeEventListener($a,u);const y=new CustomEvent(Ba,{...ii,detail:{focusReason:s.value}});S.addEventListener(Ba,h),S.dispatchEvent(y),!y.defaultPrevented&&(s.value=="keyboard"||!wh())&&bt(o??document.body,!0),S.removeEventListener(Ba,u),mi.remove(c)}}return(0,l.onMounted)(()=>{he(t.trapped)&&T(),(0,l.watch)(()=>t.trapped,S=>{he(S)?T():E()})}),(0,l.onBeforeUnmount)(()=>{he(t.trapped)&&E()}),()=>typeof a.default=="function"?a.default({"handle-keydown":e}):null}}),xh=kh,{componentName:zh,create:Eh,scope:Qb}=ce("floating-window"),Th=Symbol.for("InnerPageScopeKey"),$h=Symbol.for("PageWrapperKey"),Bh={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}},Vh=Eh({inheritAttrs:!1,components:{FoxIcon:B.ElIcon,FocusTrap:xh},props:{...Bh},emits:["update:modelValue","update:collapse"],setup(t,{emit:a}){const n=zh,i=(0,l.ref)(t.modelValue),o=(0,l.computed)(()=>!t.teleport);(0,l.watch)(()=>t.modelValue,P=>{i.value=P});const r=(0,l.computed)(()=>i.value===!1?!1:!K.value),s=(0,l.ref)(t.left),c=(0,l.ref)(t.top),e=(0,l.ref)(t.right),u=(0,l.ref)(t.bottom),h=(0,l.computed)(()=>{const P=["fox-floating-window"];return t.customClass&&P.push(t.customClass),P}),d=(0,l.computed)(()=>{const P={};return Ct(s.value)?P.left="auto":P.left=Ue(s.value),Ct(c.value)?P.top="auto":P.top=Ue(c.value),Ct(e.value)?P.right="auto":P.right=Ue(e.value),Ct(u.value)?P.bottom="auto":P.bottom=Ue(u.value),Ct(t.zIndex)||(P["z-index"]=Ue(t.zIndex)),Ct(V.value)||(P.height=V.value),Ct(_.value)||(P.width=_.value),P}),m=(0,l.computed)(()=>t.closeIcon??Be.Close),T=(0,l.computed)(()=>t.collapseIcon??Be.ArrowUp),E=(0,l.computed)(()=>t.collapseText??""),S=(0,l.computed)(()=>t.collapsePosition==="left"?t.expandIcon??Be.ArrowRight:t.expandIcon??Be.ArrowLeft),y=(0,l.computed)(()=>t.expandText??t.title??"展开"),g=(0,l.computed)(()=>({[`${n}__collapse-text`]:!0})),p=(0,l.computed)(()=>({[`${n}__collapse-icon`]:!0,"is-expand":!K.value,"is-collapse":K.value})),v=(0,l.ref)(),f=(0,l.ref)(null),A=(0,l.ref)(null),V=(0,l.computed)(()=>Ue(t.height)||""),_=(0,l.computed)(()=>Ue(t.width)||""),K=(0,l.ref)(he(t.collapse)),j=(P,b=!0)=>{K.value!==P&&(K.value=P,P?X():H(),a("update:collapse",P),P&&typeof R.onHide=="function"?R.onHide():!P&&typeof R.onShow=="function"&&R.onShow())};(0,l.watch)(()=>t.collapse,P=>{j(P)});const q=()=>{k()},k=P=>{P=P??!K.value,j(P)};(0,l.provide)(Th,!0);const R={setCollapse:j,setFixedNavVisible:P=>{M.value=P}};(0,l.provide)($h,R);const z=()=>{typeof R.beforeClose=="function"?R.beforeClose(()=>{i.value=!1}):i.value=!1},N=(0,l.ref)(null),L=(0,l.computed)(()=>!t.fixedNavTeleport),$=(0,l.computed)(()=>{const P=["fox-floating-window__fixednav"];return t.expandClass&&P.push(t.expandClass),t.collapsePosition==="left"?P.push("is-left"):t.collapsePosition==="right"&&P.push("is-right"),P}),U=(0,l.ref)(""),Y=(0,l.computed)(()=>{const P={};return U.value?P.top=U.value:t.collapseTop&&(P.top=t.collapseTop),P}),Z=(0,l.ref)(K.value),M=(0,l.computed)({set:P=>{Z.value=P},get:()=>i.value===!1?!1:Z.value});let F=null;const D=()=>{typeof F=="function"&&(F(),F=null)},X=()=>{N.value&&N.value.classList.add("slide-in"),M.value=!0,F=()=>{N.value&&N.value.classList.remove("slide-in")}},H=()=>{N.value&&N.value.classList.add("slide-out"),F=()=>{N.value&&N.value.classList.remove("slide-out"),M.value=!1}},W=()=>{s.value=null,c.value=null,e.value=null,u.value=null},x={x:0,y:0},ae=ni(P=>{if(!v.value)return;const b=v.value;if(W(),t.origin==="left-top")s.value=b.offsetLeft,c.value=b.offsetTop,x.x=s.value,x.y=c.value;else if(t.origin==="left-bottom"){const C=document.documentElement.clientHeight||document.body.clientHeight;s.value=b.offsetLeft,u.value=C-(b.offsetTop+b.offsetHeight),x.x=s.value,x.y=u.value}else if(t.origin==="right-bottom"){const C=document.documentElement.clientWidth||document.body.clientWidth,O=document.documentElement.clientHeight||document.body.clientHeight;e.value=C-(b.offsetLeft+b.offsetWidth),u.value=O-(b.offsetTop+b.offsetHeight),x.x=e.value,x.y=u.value}else e.value=(document.documentElement.clientWidth||document.body.clientWidth)-(b.offsetLeft+b.offsetWidth),c.value=b.offsetTop,x.x=e.value,x.y=c.value},P=>{if(!v.value)return;const b=v.value;W(),t.origin==="left-top"?(s.value=x.x+P.x,c.value=x.y+P.y,b.style.left=Ue(s.value),b.style.top=Ue(c.value)):t.origin==="left-bottom"?(s.value=x.x+P.x,u.value=x.y-P.y,b.style.left=Ue(s.value),b.style.bottom=Ue(u.value)):t.origin==="right-bottom"?(e.value=x.x-P.x,u.value=x.y-P.y,b.style.right=Ue(e.value),b.style.bottom=Ue(u.value)):(e.value=x.x-P.x,c.value=x.y+P.y,b.style.right=Ue(e.value),b.style.top=Ue(c.value))}),G={x:0,y:0},J=ni(P=>{N.value&&(G.x=N.value.offsetLeft,G.y=N.value.offsetTop)},P=>{N.value&&(U.value=`${G.y+P.y}px`)}),Q=()=>{v.value&&(A.value=v.value.querySelector(".fox-floating-window__body > .fox-page > .fox-footer-bar"))};return(0,l.onMounted)(()=>{if(t.draggable&&v.value){const P=[];f.value&&P.push(f.value),t.footerDraggable&&(Q(),A.value&&P.push(A.value)),ae.open(P)}t.collapse===!0&&j(t.collapse,!1),N.value&&J.open(N.value)}),(0,l.onBeforeUnmount)(()=>{t.draggable&&f.value&&ae.close(),N.value&&J.close()}),{classes:h,styles:d,isShow:r,closeIcon:m,onClose:z,dialogRef:v,headerRef:f,onClickToggle:q,collapseIcon:T,collapseText:E,collapseTextClasses:g,collapseIconClasses:p,expandIcon:S,expandText:y,isShowFixedNav:M,fixedNavRef:N,fixedNavClasses:$,fixedNavStyles:Y,onAnimationEnd:D,teleportDisabled:o,fixedNavTeleportDisabled:L}}}),Dh={ref:"headerRef",class:"fox-floating-window__header"},Mh={class:"fox-floating-window__title"},Ah={class:"fox-floating-window__tools"},Ih={class:"fox-floating-window__body"},Ph={class:"fox-floating-window__fixednav__text"};function Lh(t,a,n,i,o,r){const s=(0,l.resolveComponent)("FoxIcon"),c=(0,l.resolveComponent)("FocusTrap");return(0,l.openBlock)(),(0,l.createElementBlock)(l.Fragment,null,[((0,l.openBlock)(),(0,l.createBlock)(l.Teleport,{to:t.teleport,disabled:t.teleportDisabled},[(0,l.createVNode)(l.Transition,{name:"fox-floating-window-fade"},{default:(0,l.withCtx)(()=>[(0,l.withDirectives)((0,l.createElementVNode)("div",{ref:"dialogRef",class:(0,l.normalizeClass)(t.classes),style:(0,l.normalizeStyle)(t.styles),tabindex:"-1"},[(0,l.createVNode)(c,{loop:!0,escape:!0,trapped:t.isShow,"focus-trap-el":t.dialogRef,"focus-start-el":"container"},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",Dh,[(0,l.renderSlot)(t.$slots,"header",{},()=>[(0,l.createElementVNode)("span",Mh,(0,l.toDisplayString)(t.title),1),(0,l.createElementVNode)("div",Ah,[t.showCollapse?((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:0,class:"fox-floating-window__collapse",onClick:a[0]||(a[0]=(...e)=>t.onClickToggle&&t.onClickToggle(...e))},[(0,l.createElementVNode)("span",{class:(0,l.normalizeClass)(t.collapseTextClasses)},(0,l.toDisplayString)(t.collapseText),3),(0,l.createVNode)(s,{class:(0,l.normalizeClass)(t.collapseIconClasses)},{default:(0,l.withCtx)(()=>[((0,l.openBlock)(),(0,l.createBlock)((0,l.resolveDynamicComponent)(t.collapseIcon)))]),_:1},8,["class"])])):(0,l.createCommentVNode)("",!0),t.showClose?((0,l.openBlock)(),(0,l.createBlock)(s,{key:1,class:"fox-floating-window__close",onClick:t.onClose},{default:(0,l.withCtx)(()=>[((0,l.openBlock)(),(0,l.createBlock)((0,l.resolveDynamicComponent)(t.closeIcon)))]),_:1},8,["onClick"])):(0,l.createCommentVNode)("",!0)])])],512),(0,l.createElementVNode)("div",Ih,[(0,l.renderSlot)(t.$slots,"default")])]),_:3},8,["trapped","focus-trap-el"])],6),[[l.vShow,t.isShow]])]),_:3})],8,["to","disabled"])),((0,l.openBlock)(),(0,l.createBlock)(l.Teleport,{to:t.fixedNavTeleport,disabled:t.fixedNavTeleportDisabled},[(0,l.withDirectives)((0,l.createElementVNode)("div",{ref:"fixedNavRef",class:(0,l.normalizeClass)(t.fixedNavClasses),style:(0,l.normalizeStyle)(t.fixedNavStyles),onAnimationend:a[2]||(a[2]=(...e)=>t.onAnimationEnd&&t.onAnimationEnd(...e))},[(0,l.createElementVNode)("div",{class:"fox-floating-window__fixednav__inner",onClick:a[1]||(a[1]=(...e)=>t.onClickToggle&&t.onClickToggle(...e))},[(0,l.createVNode)(s,{class:"fox-floating-window__fixednav__icon"},{default:(0,l.withCtx)(()=>[((0,l.openBlock)(),(0,l.createBlock)((0,l.resolveDynamicComponent)(t.expandIcon)))]),_:1}),(0,l.createElementVNode)("div",Ph,(0,l.toDisplayString)(t.expandText),1)])],38),[[l.vShow,t.isShowFixedNav]])],8,["to","disabled"]))],64)}var Ma=De(Vh,[["render",Lh]]),ln=(t,a,n)=>t.map(i=>{const{value:o="value",text:r="text",children:s="children"}=n??{},{[o]:c,[r]:e,[s]:u,...h}=i,d={loading:!1,...h,level:a?(a&&a.level||0)+1:0,value:c,text:e,children:u,_parent:a};return d.children&&d.children.length&&(d.children=ln(d.children,d,n)),d}),pi=(t,a)=>{let n=0,i;for(;(i=t[n++])&&a(i)!==!0;)i.children&&i.children.length&&pi(i.children,a)},_h={topId:null,idKey:"id",pidKey:"pid",sortKey:""},Rh=(t,a)=>{const{topId:n,idKey:i,pidKey:o,sortKey:r}={..._h,...a||{}};let s=[],c={};return t.forEach(e=>{e={...e};const{[i]:u,[o]:h}=e,d=c[h]=c[h]||[];!s.length&&h===n&&(s=d),d.push(e),e.children=c[u]||(c[u]=[])}),r&&Object.keys(c).forEach(e=>{c[e].length>1&&c[e].sort((u,h)=>u[r]-h[r])}),c=null,s},gi=class{nodes;config;constructor(t,a){this.config={value:"value",text:"text",children:"children",...a||{}},this.nodes=ln(t,null,this.config)}updateChildren(t,a){a?a.children=ln(t,a,this.config):this.nodes=ln(t,null,this.config)}getNodeByValue(t){let a;return pi(this.nodes,n=>{if(n.value===t)return a=n,!0}),a}getPathNodesByValue(t){if(!t.length)return[];const a=[];let n=this.nodes;for(;n&&n.length;){const i=n.find(o=>o.value===t[o.level]);if(!i)break;a.push(i),n=i.children}return a}isLeaf(t,a){const{leaf:n,children:i}=t,o=Array.isArray(i)&&!!i.length;return n||!o&&!a}hasChildren(t,a){if(this.isLeaf(t,a))return!1;const{children:n}=t;return Array.isArray(n)&&!!n.length}},{create:Fh,scope:Oh}=ce("cascader-pane"),Hh=Fh({components:{Loading:el,Checklist:io,TabsBar:rl,TabsContainer:ol,TabsPane:Ql},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(t,{emit:a}){const{t:n}=(0,Ne.useFoxI18n)(Oh),i=(0,l.computed)(()=>({lazy:t.lazy,lazyLoad:t.lazyLoad,valueKey:t.valueKey,textKey:t.textKey,childrenKey:t.childrenKey,convertConfig:t.convertConfig})),o=(0,l.ref)(0),r=(0,l.ref)(!1),s=(0,l.ref)(t.modelValue),c=(0,l.ref)(new gi([],{})),e=(0,l.ref)([]),u=(0,l.computed)(()=>i.value.lazy&&!!i.value.lazyLoad),h=(0,l.computed)(()=>r.value==!0||e.value.length==0?[{text:"Loading",value:0}]:e.value.map((p,v)=>({text:p.selectedNode?p.selectedNode.text:n("select"),value:v}))),d=new Map;let m;const T=async()=>{d.clear(),e.value=[],o.value=0,r.value=!1,m=null;let{options:p}=t;i.value.convertConfig&&(p=Rh(p,i.value.convertConfig)),c.value=new gi(p,{value:i.value.valueKey,text:i.value.textKey,children:i.value.childrenKey}),u.value&&!c.value.nodes.length&&await S({root:!0,loading:!0,text:"",value:""}),e.value=[{nodes:c.value.nodes,selectedNode:null}],E()},E=async()=>{const p=s.value;if(p===void 0||!c.value.nodes.length)return;if(p.length===0){o.value=0,e.value=[{nodes:c.value.nodes,selectedNode:null}];return}let v=p;if(u.value&&Array.isArray(p)&&p.length){v=[];let f=c.value.nodes.find(A=>A.value===p[0]);f&&(v=[f.value],r.value=!0,await S(await p.slice(1).reduce(async(A,V)=>{const _=await A;await S(_);const K=_&&_?.children?.find(j=>j.value===V);return K&&v.push(V),Promise.resolve(K)},Promise.resolve(f))),r.value=!1)}v.length&&p===t.modelValue&&c.value.getPathNodesByValue(v).map((f,A)=>{o.value=A,g.handleNode(f,!0)})},S=async p=>{if(!p)return;if(!i.value.lazyLoad){p.leaf=!0;return}if(c.value.isLeaf(p,u.value)||c.value.hasChildren(p,u.value))return;p.loading=!0;const v=p.root?null:p;let f=d.get(p);f||(f=new Promise(V=>{i.value.lazyLoad?.(p,V)}),d.set(p,f));const A=await f;Array.isArray(A)&&A.length>0?c.value.updateChildren(A,v):p.leaf=!0,p.loading=!1,d.delete(p)},y=p=>{const v=p.map(f=>f.value);s.value=v,a("change",v,p),a("update:modelValue",v,p)},g={async handleNode(p,v){const{disabled:f,loading:A}=p;if(!(!v&&f||!e.value[o.value])){if(c.value.isLeaf(p,u.value)){if(p.leaf=!0,e.value[o.value].selectedNode=p,e.value=e.value.slice(0,p.level+1),!v){const V=e.value.map(_=>_.selectedNode);y(V),a("pathChange",V)}return}if(c.value.hasChildren(p,u.value)){const V=p.level+1;e.value[o.value].selectedNode=p,e.value=e.value.slice(0,V),e.value.push({nodes:p.children||[],selectedNode:null}),o.value=V,v||a("pathChange",e.value.map(_=>_.selectedNode));return}m=p,!A&&(await S(p),m===p&&(e.value[o.value].selectedNode=p,g.handleNode(p,v)))}},handleTabChange(p,v){m=null},formatTabTitle(p){return p.selectedNode?p.selectedNode.text:n("select")},isSelected(p,v){return p.selectedNode&&p.selectedNode.value===v.value}};return(0,l.watch)([i,()=>t.options],()=>{T()},{deep:!0,immediate:!0}),(0,l.watch)(()=>t.modelValue,p=>{p!==s.value&&(s.value=p,E())}),(0,l.watch)(()=>t.visible,p=>{p&&Array.isArray(s.value)&&s.value.length>0&&E()}),{panes:e,panesTitles:h,initLoading:r,tabsCursor:o,...g}}}),qh={class:"fox-cascader"},jh={role:"menu",class:"fox-cascader__pane"},Kh=["aria-checked","aria-disabled","onClick"],Wh={class:"fox-cascader__item__title"};function Yh(t,a,n,i,o,r){const s=(0,l.resolveComponent)("TabsBar"),c=(0,l.resolveComponent)("Loading"),e=(0,l.resolveComponent)("Checklist"),u=(0,l.resolveComponent)("TabsPane"),h=(0,l.resolveComponent)("TabsContainer");return(0,l.openBlock)(),(0,l.createElementBlock)("view",qh,[(0,l.createVNode)(s,{modelValue:t.tabsCursor,"onUpdate:modelValue":a[0]||(a[0]=d=>t.tabsCursor=d),data:t.panesTitles,onChange:t.handleTabChange,scroll:!0,align:"left"},null,8,["modelValue","data","onChange"]),(0,l.createVNode)(h,{modelValue:t.tabsCursor,"onUpdate:modelValue":a[1]||(a[1]=d=>t.tabsCursor=d)},{default:(0,l.withCtx)(()=>[!t.initLoading&&t.panes.length?((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,{key:0},(0,l.renderList)(t.panes,(d,m)=>((0,l.openBlock)(),(0,l.createBlock)(u,{"pane-key":m,key:m},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("view",jh,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(d.nodes,T=>((0,l.openBlock)(),(0,l.createElementBlock)("view",{key:T.value,class:(0,l.normalizeClass)(["fox-cascader__item",{active:t.isSelected(d,T),disabled:T.disabled}]),"aria-checked":t.isSelected(d,T),"aria-disabled":T.disabled||void 0,role:"menuitemradio",onClick:E=>t.handleNode(T,!1)},[(0,l.createElementVNode)("view",Wh,(0,l.toDisplayString)(T.text),1),T.loading?((0,l.openBlock)(),(0,l.createBlock)(c,{key:0,class:"fox-cascader__item__icon-loading",name:"loading"})):((0,l.openBlock)(),(0,l.createBlock)(e,{key:1,class:"fox-cascader__item__icon-check",name:"checklist"}))],10,Kh))),128))])]),_:2},1032,["pane-key"]))),128)):((0,l.openBlock)(),(0,l.createBlock)(u,{key:1,"pane-key":0},{default:(0,l.withCtx)(()=>[...a[2]||(a[2]=[(0,l.createElementVNode)("view",{class:"fox-cascader__pane"},null,-1)])]),_:1}))]),_:1},8,["modelValue"])])}var Uh=De(Hh,[["render",Yh]]),{create:Gh}=ce("cascader-picker"),Xh=Gh({components:{FoxCascaderPane:Uh,FoxPopup:st},props:{...Gn,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(t,{emit:a}){const n=(0,l.ref)(t.modelValue),i=(0,l.computed)({get(){return t.visible},set(s){a("update:visible",s)}}),o=(s,c)=>{n.value=s,i.value=!1,a("change",s,c),a("update:modelValue",s)},r=s=>{a("pathChange",s)};return(0,l.watch)(()=>t.modelValue,s=>{s!==n.value&&(n.value=s)}),{onChange:o,onPathChange:r,innerValue:n,innerVisible:i}}}),Qh=["innerHTML"];function Zh(t,a,n,i,o,r){const s=(0,l.resolveComponent)("FoxCascaderPane"),c=(0,l.resolveComponent)("FoxPopup");return t.poppable?((0,l.openBlock)(),(0,l.createBlock)(c,{key:0,visible:t.innerVisible,"onUpdate:visible":a[0]||(a[0]=e=>t.innerVisible=e),position:"bottom","pop-class":"fox-cascader__popup",round:"",closeable:t.closeable,"destroy-on-close":!1,"close-icon-position":t.closeIconPosition},{default:(0,l.withCtx)(()=>[(0,l.renderSlot)(t.$slots,"header",{},()=>[t.title?((0,l.openBlock)(),(0,l.createElementBlock)("view",{key:0,class:"fox-cascader__bar",innerHTML:t.title},null,8,Qh)):(0,l.createCommentVNode)("",!0)]),(0,l.createVNode)(s,{onChange:t.onChange,onPathChange:t.onPathChange,modelValue:t.innerValue,options:t.options,lazy:t.lazy,"lazy-load":t.lazyLoad,"value-key":t.valueKey,"text-key":t.textKey,"children-key":t.childrenKey,"convert-config":t.convertConfig,visible:t.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"])):((0,l.openBlock)(),(0,l.createBlock)(s,{key:1,onChange:t.onChange,onPathChange:t.onPathChange,modelValue:t.innerValue,options:t.options,lazy:t.lazy,"lazy-load":t.lazyLoad,"value-key":t.valueKey,"text-key":t.textKey,"children-key":t.childrenKey,"convert-config":t.convertConfig,visible:t.innerVisible},null,8,["onChange","onPathChange","modelValue","options","lazy","lazy-load","value-key","text-key","children-key","convert-config","visible"]))}var Aa=De(Xh,[["render",Zh]]),Jh=Symbol.for("PageWrapperKey");function e9(t,a){return{props:{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}},setup(n,i){Tn(!0);const o={};(0,l.provide)(Jh,o);const r=u=>{typeof o.beforeClose=="function"&&o.beforeClose()},s=(0,l.ref)(!0),c=u=>{s.value=u},e=(0,l.computed)(()=>{const u={};return n.height&&(u["--fox-dialog-item-body-height"]=ke(n.height)),u});return()=>{const u={...i.attrs,style:e.value,title:n.title,draggable:n.draggable,modelValue:s.value,"onUpdate:modelValue":c,"append-to-body":n.appendToBody,"close-on-click-modal":n.closeOnClickModal,"close-on-press-escape":n.closeOnPressEscape,"before-close":r},h=["fox-dialog-item "];n.hideHeader&&h.push("hide-header"),n.class&&h.push(n.class),u.class=h.join(" ");const d={};return typeof i.slots.default=="function"&&(d.default=i.slots.default),(0,l.h)(B.ElDialog,u,d)}}}}var{componentName:t9,create:l9,scope:n9}=ce("dialog-item"),a9=l9(e9(t9,n9)),Ia=a9,{create:r9}=ce("toast"),o9=r9({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(t,{emit:a}){let n=null;const i=(0,l.reactive)({mounted:!1});(0,l.onMounted)(()=>{i.mounted=!0});const o=()=>{n&&(clearTimeout(n),n=null)},r=()=>{i.mounted=!1},s=()=>{o(),t.duration&&(n=setTimeout(()=>{r()},t.duration))},c=()=>{t.closeOnClickOverlay&&(r(),a("close"))};t.duration&&s(),(0,l.watch)(()=>t.duration,T=>{T&&s()});const e=(0,l.computed)(()=>t.type!=="text"?!0:!!t.icon),u=()=>{const T=ye(t.iconSize);return(0,l.h)(t.icon,{width:T,height:T,color:t.iconColor})},h=(0,l.computed)(()=>["fox-toast",{"fox-toast-center":t.center},{"fox-toast-has-icon":e.value},{"fox-toast-cover":t.cover},{"fox-toast-loading":t.type==="loading"},t.customClass,"fox-toast-"+t.size]),d=(0,l.computed)(()=>["fox-toast-icon-wrapper",{"fox-toast-icon-no-animation":!t.loadingRotate}]);return{state:i,hide:r,clickCover:c,renderIcon:u,hasIcon:e,toastBodyClass:h,toastIconWrapperClass:d,onAfterLeave:()=>{o(),t.unmount(t.id),t.onClose&&t.onClose()}}}}),i9={key:1,class:"fox-toast-title"},s9=["innerHTML"];function c9(t,a,n,i,o,r){return(0,l.openBlock)(),(0,l.createBlock)(l.Transition,{name:"toast-fade",onAfterLeave:t.onAfterLeave},{default:(0,l.withCtx)(()=>[(0,l.withDirectives)((0,l.createElementVNode)("view",{class:(0,l.normalizeClass)(t.toastBodyClass),style:(0,l.normalizeStyle)({bottom:t.center?"auto":t.bottom,"background-color":t.coverColor}),onClick:a[0]||(a[0]=(...s)=>t.clickCover&&t.clickCover(...s))},[(0,l.createElementVNode)("view",{class:"fox-toast-inner",style:(0,l.normalizeStyle)({"text-align":t.textAlignCenter?"center":"left","background-color":t.bgColor})},[t.hasIcon?((0,l.openBlock)(),(0,l.createElementBlock)("view",{key:0,class:(0,l.normalizeClass)(t.toastIconWrapperClass)},[((0,l.openBlock)(),(0,l.createBlock)((0,l.resolveDynamicComponent)(t.renderIcon())))],2)):(0,l.createCommentVNode)("",!0),t.title?((0,l.openBlock)(),(0,l.createElementBlock)("div",i9,(0,l.toDisplayString)(t.title),1)):(0,l.createCommentVNode)("",!0),(0,l.createElementVNode)("view",{class:"fox-toast-text",innerHTML:t.msg},null,8,s9)],4)],6),[[l.vShow,t.state.mounted]])]),_:1},8,["onAfterLeave"])}var Pa=De(o9,[["render",c9]]),La={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},Pt=[],il=[],yi=t=>{if(t){const a=document.getElementById(t);il=il.filter(n=>n.id!==t),Pt=Pt.filter(n=>n!==t),a&&((0,l.render)(null,a),document.body.removeChild(a))}else Pt.forEach(a=>{const n=document.getElementById(a);n&&((0,l.render)(null,n),document.body.removeChild(n))}),il=[],Pt=[]},u9=t=>{const a=document.getElementById(t.id);if(a){const n=il.find(o=>o.id===t.id);n?t={...La,...n,...t}:t={...La,...t};const i=(0,l.createVNode)(Pa,t);return(0,l.render)(null,a),(0,l.render)(i,a),Lt}},sl=t=>{t.unmount=yi;let a;if(t.id){if(a=t.id,Pt.find(i=>i===t.id))return u9(t)}else a=new Date().getTime()+"";t={...La,...t},t.id=a,Pt.push(t.id),il.push(t);const n=document.createElement("div");return n.id=t.id,(0,l.render)((0,l.createVNode)(Pa,t),n),document.body.appendChild(n),Lt},nn=t=>t?!0:(console.warn("[FoxUI Toast]: msg不能为空"),!1),Lt={text(t,a={}){if(nn(t))return sl({...a,type:"text",msg:t})},success(t,a={}){if(nn(t))return sl({icon:w0,...a,msg:t,type:"success"})},fail(t,a={}){if(nn(t))return sl({icon:_d,...a,msg:t,type:"fail"})},warn(t,a={}){if(nn(t))return sl({icon:ro,...a,msg:t,type:"warn"})},loading(t,a={}){return sl({icon:el,...a,msg:t,type:"loading"})},hide(t){yi(t)},install(t){t.use(Pa),t.config.globalProperties.$toast=Lt}},d9={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}},f9=(t,a,n)=>({props:{...d9},emits:["change","refresh","update:modelValue"],setup(i,{emit:o,slots:r}){const{toLocaleRefs:s}=(0,Ne.useFoxI18n)(a),c=s(i,["pullingText","loosingText","loadingText"]),e=nl(),u=(0,l.ref)(),h=Io(u),d=(0,l.reactive)({isPullRefresh:!1,distance:0,status:"normal",moving:!1}),m=(0,l.computed)(()=>({[t]:!0})),T=(0,l.computed)(()=>{switch(d.status){case"pulling":return r.pulling?"":c.pullingText.value;case"loosing":return r.loosing?"":c.loosingText.value;case"loading":return r.loading?"":c.loadingText.value;default:return""}}),E=(0,l.computed)(()=>({transitionDuration:`${i.duration}s`,transform:d.distance?`translate3d(0,${d.distance}px, 0)`:""})),S=(0,l.computed)(()=>{const _={};return i.headHeight!=50&&(_.height=ke(i.headHeight)),_}),y=_=>{const K=+(i.pullDistance||i.headHeight);let j=_;return _>K&&(_<K*2?j=(_+K)/2:j=K+_/4),Math.round(j)},g=(_,K)=>{const j=+(i.pullDistance||i.headHeight);d.distance=_,K?d.status="loading":_===0?d.status="normal":_<j?d.status="pulling":d.status="loosing",o("change",{status:d.status,distance:_})},p=()=>d.status!=="loading"&&d.status!=="complete",v=()=>h.value==window?Po()==0:h.value&&h.value.scrollTop==0,f=_=>{p()&&(v()?(e.start(_),d.isPullRefresh=!0,d.moving=!0):(d.distance=0,d.isPullRefresh=!1))},A=_=>{p()&&d.moving&&(e.move(_),e.isVertical()&&e.state.deltaY>0&&d.isPullRefresh&&(_.cancelable&&_.preventDefault(),g(y(e.state.deltaY))))},V=()=>{d.moving=!1,d.isPullRefresh&&p()&&e.state.deltaY&&(d.status==="loosing"?(g(+i.headHeight,!0),o("update:modelValue",!0),(0,l.nextTick)(()=>o("refresh"))):g(0)),setTimeout(()=>{e.reset()},0)};return(0,l.watch)(()=>i.modelValue,_=>{_?g(+i.headHeight,!0):g(0)}),()=>{const _=[];let K=null;d.status==="loading"?(K=r?.loading?.()??null,K||(K=(0,l.h)(n,{class:["fox-pull-refresh-container-topbox-icon"]}))):d.status==="pulling"?K=r?.pulling?.()??null:d.status==="loosing"&&(K=r?.loosing?.()??null),K&&_.push(K);const j=(0,l.h)("dive",{class:["fox-pull-refresh-container-topbox-text"]},[T.value]);_.push(j);const q=(0,l.h)("div",{class:["fox-pull-refresh-container-topbox"],style:S.value},_),k=(0,l.h)("div",{class:"fox-pull-refresh-container",style:E.value},[q,r?.default?.()]),R={ref:u,class:m.value};return ll()?Object.assign(R,{onTouchstart:f,onTouchmove:A,onTouchend:V}):Object.assign(R,{onMousedown:f,onMousemove:A,onMouseup:V}),(0,l.h)("div",R,[k])}}}),{componentName:m9,create:h9,scope:p9}=ce("pull-refresh"),g9=h9(f9(m9,p9,el)),_a=g9,y9={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 b9(t,a,n){return{props:{...y9},emits:["click","update:modelValue"],setup(i,{emit:o,slots:r}){const{toLocaleRefs:s}=(0,Ne.useFoxI18n)(a),c=s(i,["collapseText","expandText"]),e=(0,l.computed)(()=>{const E={[`${t}`]:!0};return i.disabled?E[`${t}--disabled`]=!0:E[`${t}--${i.type}`]=!0,E}),u=ve(i,"modelValue"),h=(0,l.computed)(()=>u.value?c.expandText.value??"":c.collapseText.value??""),d=(0,l.computed)(()=>({[`${t}__text`]:!0})),m=(0,l.computed)(()=>({[`${t}__icon`]:!0,"is-expand":!u.value,"is-collapse":u.value})),T=()=>{o("update:modelValue",!u.value)};return()=>{const E=[];if(h.value){const g=(0,l.h)("span",{class:d.value},[h.value]);E.push(g)}const S={class:m.value},y=(r.icon&&r.icon())??(i.icon&&(0,l.h)(i.icon))??(0,l.h)(n);if(y){const g=(0,l.h)("div",S,[y]);E.push(g)}return i.textPosition==="right"&&E.reverse(),(0,l.h)("div",{class:e.value,onClick:T},E)}}}}var{componentName:S9,create:w9,scope:v9}=ce("more-button"),N9=w9(b9(S9,v9,Be.ArrowUp)),Ra=N9;function C9(t){t.stopPropagation()}var k9=class{startMove;updateMove;isTouch=!1;els=null;moving=!1;touchstart=null;touchmove=null;touchend=null;constructor(t,a){this.startMove=t,this.updateMove=a,this.isTouch=ll()}open(t){Array.isArray(t)||(t=[t]),this.els=t;const a=nl(),n=(i,o,r,s)=>{this.updateMove({x:i,y:o})};this.touchstart=i=>{this.moving||(a.start(i),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=i=>{this.moving&&(a.move(i),C9(i),n(a.state.deltaX,a.state.deltaY,"",0))},this.touchend=()=>{n(a.state.deltaX,a.state.deltaY,"end"),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(i=>{this.touchstart&&i.addEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart)})}close(){Array.isArray(this.els)&&this.els.forEach(t=>{this.touchstart&&t.removeEventListener(this.isTouch?"touchstart":"mousedown",this.touchstart)}),this.els=null}};function x9(t,a){return new k9(t,a)}var z9={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]}},E9=(t,a,n,i=!1)=>({props:{...z9},emits:["click"],setup(o,{slots:r,emit:s}){const c=(0,l.reactive)({top:o.top,right:o.right,bottom:o.bottom,left:o.left}),e=(0,l.computed)(()=>{const p=[`${t}`];return o.customClass&&p.push(o.customClass),p}),u=(0,l.computed)(()=>{const p={};return ge(c.top)||(p.top=c.top),ge(c.right)||(p.right=c.right),ge(c.bottom)||(p.bottom=c.bottom),ge(c.left)||(p.left=c.left),ge(o.width)||(p.width=o.width),ge(o.height)||(p.height=o.height),ge(o.color)||(p.color=o.color),ge(o.background)||(p.background=o.background),ge(o.borderRadius)||(p["border-radius"]=o.borderRadius),ge(o.zIndex)||(p["z-index"]=o.zIndex),p}),h=(0,l.computed)(()=>({[`${t}__icon`]:!0})),d=()=>{s("click")},m=(0,l.ref)(null),T=()=>{c.top=null,c.right=null,c.bottom=null,c.left=null},E={x:0,y:0},g=x9(p=>{if(!m.value)return;const v=m.value;T(),c.left=v.offsetLeft,c.top=v.offsetTop,v.style.left=`${c.left}px`,v.style.top=`${c.top}px`,v.style.right=null,v.style.bottom=null,E.x=c.left,E.y=c.top},p=>{if(!m.value)return;const v=m.value;T(),c.left=E.x+p.x,c.top=E.y+p.y,v.style.left=`${c.left}px`,v.style.top=`${c.top}px`});return(0,l.onMounted)(()=>{if(o.draggable&&m.value){const p=[m.value];g.open(p)}}),(0,l.onBeforeUnmount)(()=>{o.draggable&&m.value&&g.close()}),()=>{let p=[];const v=typeof r.default=="function"?r.default():[];if(v&&v.length>0)p=v;else{const f=(0,l.h)(n,{class:h.value});p.push(f)}return(0,l.h)("view",{ref:f=>{m.value=f},class:e.value,style:u.value,onClick:d},p)}}}),{componentName:T9,create:$9,scope:B9}=ce("floating-button"),V9=$9(E9(T9,B9,t0,!1)),Fa=V9;function D9(t,a){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(n,{slots:i}){const o=t,r=(0,l.computed)(()=>({[o]:!0})),s=(0,l.computed)(()=>n.icon?{[`${o}__icon`]:!0,[`${o}__icon-${n.type}`]:!0}:{[`${o}__mark`]:!0,[`${o}__mark-${n.type}`]:!0}),c=(0,l.computed)(()=>n.color?n.icon?{color:n.color}:{background:n.color}:null),e=(0,l.computed)(()=>{const h={[`${o}__text`]:!0,[`${o}__text-${n.type}`]:!0};return n.textPosition==="left"?h["is-left"]=!0:h["is-right"]=!0,h}),u=(0,l.computed)(()=>n.color?{color:n.color}:null);return()=>{let h=null;if(i.mark)h=i.mark()[0];else{const T={class:s.value,style:c.value};h=(0,l.h)(n.icon??"div",T)}const d=(0,l.h)("div",{class:e.value,style:u.value},i.default?i.default():[]),m={class:r.value};return n.textPosition==="right"?(0,l.h)("div",m,[h,d]):(0,l.h)("div",m,[d,h])}}}}var{componentName:M9,create:A9,scope:I9}=ce("indicator"),P9=A9(D9(M9,I9)),Oa=P9,{componentName:L9,create:_9,scope:Zb}=ce("tour"),R9=_9({components:{Close:Be.Close,ElPopover:B.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(t,{emit:a}){const n=L9,i=(0,l.reactive)({showTour:t.modelValue,showPopup:!1,active:0}),o=(0,l.ref)({}),r=(0,l.computed)(()=>`${n}`),s=(0,l.computed)(()=>{const{offset:E,maskWidth:S,maskHeight:y}=t,{width:g,height:p,left:v,top:f}=o.value,A=t.steps[i.active].offset??E,V=[v+g/2,f+p/2],_=Number(S||g),K=Number(y||p);return{width:`${_+ +A.left+A.right}px`,height:`${K+A.top+A.bottom}px`,top:`${V[1]-K/2-+A.top}px`,left:`${V[0]-_/2-+A.left}px`}}),c=E=>{E=="next"?i.active=i.active+1:i.active=i.active-1,i.showPopup=!1,(0,l.nextTick)(()=>{i.showPopup=!0,h()}),a("change",i.active)},e=E=>E.popoverWidth??t.width,u=E=>E.location??t.location,h=()=>{const E=Sa(document.querySelector(`${t.steps[i.active].target}`));o.value={x:E.left,y:E.top,top:E.top,left:E.left,width:E.width,height:E.height}},d=()=>{i.showTour=!1,i.showPopup=!1,a("close",i.active),a("update:modelValue",!1)},m=()=>{t.closeOnClickOverlay&&d()},T=(E,S=0)=>{E&&h(),t.steps,i.active=S,i.showTour=E,i.showPopup=E};return(0,l.onMounted)(()=>{T(t.modelValue,t.current)}),(0,l.watch)(()=>t.modelValue,E=>{T(E)}),{...(0,l.toRefs)(i),classes:r,maskStyle:s,changeStep:c,popoverWidth:e,popoverLocation:u,close:d,handleClickMask:m}}}),F9={key:0,class:"fox-tour__content"},O9={key:0,class:"fox-tour__content-top"},H9={class:"fox-tour__content-inner"},q9={class:"fox-tour__content-bottom"},j9={class:"fox-tour__content-bottom-init"},K9={class:"fox-tour__content-bottom-operate"},W9={key:1,class:"fox-tour__content fox-tour__content-tile"},Y9={class:"fox-tour__content-inner"};function U9(t,a,n,i,o,r){const s=(0,l.resolveComponent)("Close"),c=(0,l.resolveComponent)("fox-button"),e=(0,l.resolveComponent)("ElPopover");return(0,l.openBlock)(),(0,l.createElementBlock)("div",{class:(0,l.normalizeClass)(t.classes)},[(0,l.withDirectives)((0,l.createElementVNode)("div",{class:"fox-tour__masked",onClick:a[0]||(a[0]=(...u)=>t.handleClickMask&&t.handleClickMask(...u))},null,512),[[l.vShow,t.showTour]]),((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(t.steps,(u,h)=>((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:h,style:{height:"0"}},[h==t.active?((0,l.openBlock)(),(0,l.createBlock)(e,{key:0,"popper-class":"popperClass",visible:t.showPopup,placement:t.popoverLocation(u),width:t.popoverWidth(u)},{reference:(0,l.withCtx)(()=>[t.showTour?((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:0,class:(0,l.normalizeClass)(["fox-tour__mask",[t.mask?"":"fox-tour__mask-none"]]),style:(0,l.normalizeStyle)(t.maskStyle),id:"fox-tour-popid"},null,6)):(0,l.createCommentVNode)("",!0)]),default:(0,l.withCtx)(()=>[(0,l.renderSlot)(t.$slots,"default",{},()=>[t.type=="step"?((0,l.openBlock)(),(0,l.createElementBlock)("div",F9,[t.showTitleBar?((0,l.openBlock)(),(0,l.createElementBlock)("div",O9,[(0,l.createElementVNode)("div",{onClick:a[1]||(a[1]=(...d)=>t.close&&t.close(...d))},[(0,l.createVNode)(s,{class:"fox-tour__content-top-close"})])])):(0,l.createCommentVNode)("",!0),(0,l.createElementVNode)("div",H9,(0,l.toDisplayString)(u.content),1),(0,l.createElementVNode)("div",q9,[(0,l.createElementVNode)("div",j9,(0,l.toDisplayString)(t.active+1)+"/"+(0,l.toDisplayString)(t.steps.length),1),(0,l.createElementVNode)("div",K9,[(0,l.renderSlot)(t.$slots,"prev-step",{},()=>[t.active!=0&&t.showPrevStep?((0,l.openBlock)(),(0,l.createBlock)(c,{key:0,small:"",class:"fox-tour__content-bottom-operate-btn",onClick:a[2]||(a[2]=d=>t.changeStep("prev"))},{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(t.prevStepText),1)]),_:1})):(0,l.createCommentVNode)("",!0)]),t.steps.length-1==t.active?((0,l.openBlock)(),(0,l.createBlock)(c,{key:0,type:"primary",small:"",class:"fox-tour__content-bottom-operate-btn",onClick:t.close},{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(t.completeText),1)]),_:1},8,["onClick"])):(0,l.createCommentVNode)("",!0),(0,l.renderSlot)(t.$slots,"next-step",{},()=>[t.steps.length-1!=t.active?((0,l.openBlock)(),(0,l.createBlock)(c,{key:0,type:"primary",small:"",class:"fox-tour__content-bottom-operate-btn",onClick:a[3]||(a[3]=d=>t.changeStep("next"))},{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(t.nextStepText),1)]),_:1})):(0,l.createCommentVNode)("",!0)])])])])):(0,l.createCommentVNode)("",!0),t.type=="tile"?((0,l.openBlock)(),(0,l.createElementBlock)("div",W9,[(0,l.createElementVNode)("div",Y9,(0,l.toDisplayString)(u.content),1)])):(0,l.createCommentVNode)("",!0)])]),_:2},1032,["visible","placement","width"])):(0,l.createCommentVNode)("",!0)]))),128))],2)}var Ha=De(R9,[["render",U9]]),G9="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=",X9="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:Q9,scope:Z9}=ce("number-keyboard"),J9=Q9({components:{FoxPopup:st},props:{confirmText:{type:String},title:{type:String},visible:{type:Boolean,default:!1},type:{type:String,default:"default"},customKey:{type:Array,default:()=>[]},modelValue:{type:String,default:""},maxlength:{type:[Number,String],default:6},randomKeys:{type:Boolean,default:!1},popClass:{type:String,default:""}},emits:["input","delete","close","blur","update:modelValue","update:visible"],setup(t,{emit:a}){const{toLocaleRefs:n}=(0,Ne.useFoxI18n)(Z9),i=n(t,["confirmText"]),o=(0,l.computed)(()=>{const p=["fox-number-keyboard-popup"];return t.popClass&&p.push(t.popClass),p.join(" ")}),r=(0,l.ref)(void 0),s=(0,l.ref)(t.visible),c=(0,l.ref)();function e(){const{customKey:p}=t;let v={id:"lock",type:"lock"},f=Array.isArray(p)?p:[p];return f.length===1&&(v={id:f[0],type:"custom"}),[...u(),v,{id:0,type:"number"},{id:"delete",type:"delete"}]}function u(){const p=[];for(let v=1;v<=9;v++)p.push({id:v,type:"number"});return t.randomKeys?p.sort(()=>Math.random()>.5?1:-1):p}function h(){const p=u(),{customKey:v}=t;let f=Array.isArray(v)?v:[v];return f.length>2&&(f=[f[0],f[1]]),f.length==2&&t.title&&t.type!="rightColumn"&&(f=[f[0]]),f.length===1?t.title&&t.type!="rightColumn"?p.push({id:f[0],type:"custom"},{id:0,type:"number"},{id:"delete",type:"delete"}):p.push({id:0,type:"number"},{id:f[0],type:"custom"}):f.length===2&&p.push({id:f[0],type:"custom"},{id:0,type:"number"},{id:f[1],type:"custom"}),p}const d=(0,l.computed)(()=>t.type=="rightColumn"||t.title!=""?h():e()),m=()=>{t.visible&&a("blur")},T=p=>{const v=c.value;v&&!v.contains(p.target)&&m()};(0,l.watch)(()=>t.visible,p=>{s.value=p,p?window.addEventListener("touchstart",T,!1):window.removeEventListener("touchstart",T,!1)});function E(p,v){v.stopPropagation(),r.value=p.id,(p.type=="number"||p.type=="custom")&&(a("input",p.id),t.modelValue.length<Number(t.maxlength)&&a("update:modelValue",t.modelValue+p.id)),p.type=="lock"&&g(),p.type=="delete"&&(a("delete"),a("update:modelValue",t.modelValue.slice(0,t.modelValue.length-1)))}function S(p){p.stopPropagation()}function y(p){p.preventDefault(),r.value=void 0}function g(){a("update:visible",!1),a("close")}return{...i,allPopClass:o,delImg:G9,lockImg:X9,clickKeyIndex:r,defaultKey:e,closeBoard:g,onTouchEnd:y,onTouchMove:S,onTouchstart:E,keysList:d,genCustomKeys:h,getBasicKeys:u,root:c,show:s}}}),ep={ref:"root"},tp={class:"fox-number-keyboard"},lp={key:0,class:"fox-number-keyboard__header"},np={class:"fox-number-keyboard__title"},ap={class:"fox-number-keyboard__body"},rp={class:"fox-number-keyboard__keys"},op=["onTouchstart"],ip=["src"],sp=["src"],cp={key:0,class:"fox-number-keyboard__sidebar"},up={class:"fox-key__wrapper"},dp=["src"];function fp(t,a,n,i,o,r){const s=(0,l.resolveComponent)("FoxPopup");return(0,l.openBlock)(),(0,l.createElementBlock)("div",ep,[(0,l.createVNode)(s,{visible:t.show,"onUpdate:visible":a[7]||(a[7]=c=>t.show=c),position:"bottom",popClass:t.allPopClass,overlay:!1,teleportDisable:!1},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",tp,[t.title?((0,l.openBlock)(),(0,l.createElementBlock)("div",lp,[(0,l.createElementVNode)("h3",np,(0,l.toDisplayString)(t.title),1),t.type=="default"?((0,l.openBlock)(),(0,l.createElementBlock)("span",{key:0,class:"fox-number-keyboard__close",onClick:a[0]||(a[0]=c=>t.closeBoard())},(0,l.toDisplayString)(t.confirmText),1)):(0,l.createCommentVNode)("",!0)])):(0,l.createCommentVNode)("",!0),(0,l.createElementVNode)("div",ap,[(0,l.createElementVNode)("div",rp,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(t.keysList,c=>((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:"key"+c.id,class:(0,l.normalizeClass)(["fox-key__wrapper",{"fox-key__wrapper--wider":c.id==0&&t.type=="rightColumn"&&Array.isArray(t.customKey)&&t.customKey.length==1}])},[(0,l.createElementVNode)("div",{class:(0,l.normalizeClass)(["fox-key",{"fox-key--active":c.id==t.clickKeyIndex},{"fox-key--lock":c.type=="lock"},{"fox-key--delete":c.type=="delete"}]),onTouchstart:e=>t.onTouchstart(c,e),onTouchmove:a[1]||(a[1]=e=>t.onTouchMove(e)),onTouchend:a[2]||(a[2]=e=>t.onTouchEnd(e))},[c.type=="number"||c.type=="custom"?((0,l.openBlock)(),(0,l.createElementBlock)(l.Fragment,{key:0},[(0,l.createTextVNode)((0,l.toDisplayString)(c.id),1)],64)):(0,l.createCommentVNode)("",!0),c.type=="lock"?((0,l.openBlock)(),(0,l.createElementBlock)("img",{key:1,src:t.lockImg},null,8,ip)):(0,l.createCommentVNode)("",!0),c.type=="delete"?((0,l.openBlock)(),(0,l.createElementBlock)("img",{key:2,src:t.delImg},null,8,sp)):(0,l.createCommentVNode)("",!0)],42,op)],2))),128))]),t.type=="rightColumn"?((0,l.openBlock)(),(0,l.createElementBlock)("div",cp,[(0,l.createElementVNode)("div",up,[(0,l.createElementVNode)("div",{class:(0,l.normalizeClass)(["fox-key",{active:t.clickKeyIndex=="delete"}]),onTouchstart:a[3]||(a[3]=c=>t.onTouchstart({id:"delete",type:"delete"},c)),onTouchmove:a[4]||(a[4]=c=>t.onTouchMove(c)),onTouchend:a[5]||(a[5]=(...c)=>t.onTouchEnd&&t.onTouchEnd(...c))},[(0,l.createElementVNode)("img",{src:t.delImg},null,8,dp)],34)]),(0,l.createElementVNode)("div",{class:"fox-key__wrapper fox-key__wrapper--finish",onClick:a[6]||(a[6]=c=>t.closeBoard())},[(0,l.createElementVNode)("div",{class:(0,l.normalizeClass)(["fox-key","fox-key--finish ",{activeFinsh:t.clickKeyIndex=="finish"}])},(0,l.toDisplayString)(t.confirmText),3)])])):(0,l.createCommentVNode)("",!0)])])]),_:1},8,["visible","popClass"])],512)}var qa=De(J9,[["render",fp]]),{create:mp,scope:hp}=ce("short-password"),pp=mp({components:{FoxPopup:st,Tips:ro},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(t,{emit:a}){const{toLocaleRefs:n}=(0,Ne.useFoxI18n)(hp),i=n(t,["title","desc","tips"]),o=(0,l.ref)(t.modelValue),r=(0,l.computed)(()=>u(Number(t.length))),s=(0,l.ref)(t.visible),c=d=>{d.stopPropagation(),a("focus")};(0,l.watch)(()=>t.visible,d=>{s.value=d}),(0,l.watch)(()=>t.modelValue,d=>{o.value=d,String(d).length===r.value&&a("complete",d)});const e=()=>{a("update:visible",!1),a("close")},u=d=>Math.min(Math.max(4,d),6);return{comLen:r,realInput:o,onTouchStart:c,range:u,close:e,onTips:()=>{a("tips")},show:s,...i}}}),gp={class:"fox-short-password-title"},yp={class:"fox-short-password-subtitle"},bp={class:"fox-short-password-wrapper"},Sp={key:0,class:"fox-short-password__item-icon"},wp={class:"fox-short-password__message"},vp={class:"fox-short-password--error"},Np={key:0,class:"fox-short-password--forget"};function Cp(t,a,n,i,o,r){const s=(0,l.resolveComponent)("Tips"),c=(0,l.resolveComponent)("FoxPopup");return(0,l.openBlock)(),(0,l.createElementBlock)("view",null,[(0,l.createVNode)(c,{style:{padding:"30px 24px 20px 24px",borderRadius:"12px",textAlign:"center",top:"45%"},visible:t.show,"onUpdate:visible":a[2]||(a[2]=e=>t.show=e),closeable:!0,onClickCloseIcon:t.close,"close-on-click-overlay":t.closeOnClickOverlay,onClickOverlay:t.close,teleportDisable:!1},{default:(0,l.withCtx)(()=>[(0,l.createElementVNode)("view",gp,(0,l.toDisplayString)(t.title),1),(0,l.createElementVNode)("view",yp,(0,l.toDisplayString)(t.desc),1),(0,l.createElementVNode)("div",bp,[(0,l.createElementVNode)("view",{class:"fox-short-password__list",onTouchstart:a[0]||(a[0]=(...e)=>t.onTouchStart&&t.onTouchStart(...e))},[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(new Array(t.comLen),(e,u)=>((0,l.openBlock)(),(0,l.createElementBlock)("view",{class:"fox-short-password__item",key:u},[String(t.realInput).length>u?((0,l.openBlock)(),(0,l.createElementBlock)("view",Sp)):(0,l.createCommentVNode)("",!0)]))),128))],32)]),(0,l.createElementVNode)("view",wp,[(0,l.createElementVNode)("view",vp,(0,l.toDisplayString)(t.errorMsg),1),t.tips?((0,l.openBlock)(),(0,l.createElementBlock)("view",Np,[(0,l.createVNode)(s,{class:"icon",width:"11px",height:"11px"}),(0,l.createElementVNode)("view",{onClick:a[1]||(a[1]=(...e)=>t.onTips&&t.onTips(...e))},(0,l.toDisplayString)(t.tips),1)])):(0,l.createCommentVNode)("",!0)])]),_:1},8,["visible","onClickCloseIcon","close-on-click-overlay","onClickOverlay"])])}var ja=De(pp,[["render",Cp]]),{componentName:kp,create:xp,scope:zp}=ce("signature"),Ep=xp({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:B.ElButton},emits:["start","end","signing","confirm","clear"],setup(t,{emit:a,expose:n}){const{toLocaleRefs:i}=(0,Ne.useFoxI18n)(zp),o=i(t,["unSupportTpl","reSign","confirmText"]),r=(0,l.ref)(null),s=(0,l.ref)(null),c=(0,l.computed)(()=>({[kp]:!0,[`${t.customClass}`]:t.customClass})),e=(0,l.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 v=document.createElement("canvas");return!!(v.getContext&&v.getContext("2d"))},h=()=>{r.value.addEventListener(e.events[0],d,!1)},d=v=>{v.preventDefault(),e.ctx.beginPath(),e.ctx.lineWidth=t.lineWidth,e.ctx.strokeStyle=t.strokeStyle,a("start"),r.value.addEventListener(e.events[1],m,!1),r.value.addEventListener(e.events[2],T,!1),r.value.addEventListener(e.events[3],E,!1)},m=v=>{v.preventDefault();let f=e.isSupportTouch?v.touches[0]:v;a("signing",f);let A=r.value.getBoundingClientRect(),V=f.clientX-A.left,_=f.clientY-A.top;e.ctx.lineTo(V,_),e.ctx.stroke()},T=v=>{v.preventDefault(),a("end"),r.value.removeEventListener(e.events[1],m,!1),r.value.removeEventListener(e.events[2],T,!1)},E=v=>{v.preventDefault(),r.value.removeEventListener(e.events[1],m,!1),r.value.removeEventListener(e.events[2],T,!1)},S=()=>{r.value.addEventListener(e.events[2],T,!1),e.ctx.clearRect(0,0,e.canvasWidth,e.canvasHeight),e.ctx.closePath(),a("clear")},y=()=>{p(r.value)},g=v=>{if(!v)return!0;var f=document.createElement("canvas");return f.width=v.width,f.height=v.height,v?.toDataURL()==f.toDataURL()},p=v=>{let f;switch(t.type){case"png":f=v.toDataURL("image/png");break;case"jpg":f=v.toDataURL("image/jpeg",.8);break}a("confirm",g(v)?"请绘制签名":v,g(v)?"":f)};return(0,l.onMounted)(()=>{u()&&(e.ctx=r.value.getContext("2d"),e.canvasWidth=s.value.offsetWidth,e.canvasHeight=s.value.offsetHeight,h())}),n({confirm:y,clear:S}),{...o,...(0,l.toRefs)(e),canvas:r,wrap:s,isCanvasSupported:u,confirm:y,clear:S,classes:c}}}),Tp={class:"fox-signature__inner",ref:"wrap"},$p=["height","width"],Bp={key:0,class:"fox-signature-unsopport"},Vp={class:"fox-signature__toolbar"};function Dp(t,a,n,i,o,r){const s=(0,l.resolveComponent)("FoxButton");return(0,l.openBlock)(),(0,l.createElementBlock)("div",{class:(0,l.normalizeClass)(t.classes)},[(0,l.createElementVNode)("div",Tp,[(0,l.withDirectives)((0,l.createElementVNode)("canvas",{ref:"canvas",height:t.canvasHeight,width:t.canvasWidth},null,8,$p),[[l.vShow,t.isCanvasSupported()]]),t.isCanvasSupported()?(0,l.createCommentVNode)("",!0):((0,l.openBlock)(),(0,l.createElementBlock)("p",Bp,(0,l.toDisplayString)(t.unSupportTpl),1))],512),(0,l.createElementVNode)("div",Vp,[(0,l.renderSlot)(t.$slots,"toolbar",{},()=>[(0,l.createVNode)(s,{class:"fox-signature-btn",type:"default",onClick:a[0]||(a[0]=c=>t.clear())},{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(t.reSign),1)]),_:1}),(0,l.createVNode)(s,{class:"fox-signature-btn",type:"primary",onClick:a[1]||(a[1]=c=>t.confirm())},{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(t.confirmText),1)]),_:1})])])],2)}var Ka=De(Ep,[["render",Dp]]),Mp={name:{type:[String],required:!1,default:""},config:{type:[Object],required:!1,default:()=>{}},innerPageScope:{type:[Boolean],required:!1},abstractPageScope:{type:[Boolean,Object],required:!1}};function Ap(t,a){return{inheritAttrs:!1,props:Mp,setup(n,i){const{exposeApi:o}=Nr({context:i,props:()=>n.config},n.name);return Re(n.innerPageScope)||Tn(n.innerPageScope),Re(n.abstractPageScope)||xr(n.abstractPageScope),o(),()=>typeof i.slots.default=="function"?i.slots.default():null}}}var{componentName:Ip,create:Pp,scope:Lp}=ce("domain-provider"),_p=Pp(Ap(Ip,Lp)),Wa=_p,Rp={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 Fp(t,a){return{inheritAttrs:!1,props:Rp,emits:["change"],setup(n,{slots:i,emit:o}){if(dt&&window.IntersectionObserver){const r=new WeakMap;let s=new Map;const c=(m,T)=>{if(h===null){s.set(m,{visible:null,callback:T});return}r.has(m)&&h.unobserve(m),r.set(m,{visible:null,callback:T}),h.observe(m)},e=m=>{if(h===null){s.delete(m);return}r.has(m)&&(r.delete(m),h.unobserve(m))};let u=n.initialVisibleObserverSize;Fs({acquire:()=>{if(n.loadPolicy==="always")return!0;const m=u>0;return u--,m},get disabled(){return n.disabled},get initialHeight(){return n.initialInvisibleObserverHeight},observe:c,unobserve:e});let h=null;const d=(m,T,E)=>{h=new IntersectionObserver(S=>{if(o("change",S),n.loadPolicy!=="always")for(let y of S){let g=!1;y.intersectionRatio>0&&(g=!0);const p=r.get(y.target);if(p)try{if(n.loadPolicy==="lazy"&&!g&&p.visible!==null)return;p.visible=g,p.callback(g)}catch(v){console.error(v)}}},{root:m,rootMargin:T,threshold:E}),s.forEach((S,y)=>{r.set(y,S),h?.observe(y)}),s.clear()};(0,l.watch)([()=>n.root,()=>n.disabled],([m,T])=>{if(T||!m||h)return;let E=null;typeof m=="string"?E=document.querySelector(m):E=m,E&&d(E,n.rootMargin,n.threshold)},{immediate:!0}),(0,l.onUnmounted)(()=>{h&&(h.disconnect(),h=null)})}return()=>typeof i.default=="function"?i.default():null}}}var{componentName:Op,create:Hp,scope:qp}=ce("rolling-provider"),jp=Hp(Fp(Op,qp)),Ya=jp,Kp=[Vn,Mn,An,In,_n,Qt,Rl,Fl,jn,Oe,Kn,Wn,Yn,Qn,Zn,Jn,ea,ta,na,aa,ra,oa,jl,ca,ua,da,fa,ma,ha,pa,ga,Gl,ya,va,Na,rl,ol,Ql,xa,Ta,Ma,Ol,Xl,ql,Aa,Ia,Hl,st,Lt,Ul,Yl,_a,Ra,Fa,$t,Ll,Oa,Tt,Ha,qa,ja,Ka,Wa,Ya],Wp=new ds(Kp,[hs],"4.0.0");w.AbstractPageScopeKey=$n,w.ActionsheetItem=ya,w.FoxActionsheetItem=ya,w.ActionsheetPane=Gl,w.FoxActionsheetPane=Gl,w.AutocompleteItem=aa,w.FoxAutocompleteItem=aa,w.Broadcast=hr,w.BroadcastKey=Je,w.ButtonsItem=jn,w.FoxButtonsItem=jn,w.CalendarItem=Qn,w.FoxCalendarItem=Qn,w.CascaderItem=na,w.FoxCascaderItem=na,w.CheckboxItem=da,w.FoxCheckboxItem=da,w.Content=In,w.FoxContent=In,w.DataItemsKey=Yt,w.DateItem=Yn,w.FoxDateItem=Yn,w.DateUtils=je,w.DialogItem=Ia,w.FoxDialogItem=Ia,w.Domain=vl,w.DomainKey=ht,w.DomainProvider=Wa,w.FoxDomainProvider=Wa,w.FloatingButton=Fa,w.FoxFloatingButton=Fa,w.FloatingWindow=Ma,w.FoxFloatingWindow=Ma,w.FooterBar=An,w.FoxFooterBar=An,w.FoxAffix=B.ElAffix,w.FoxAlert=B.ElAlert,w.FoxAnchor=B.ElAnchor,w.FoxAnchorLink=B.ElAnchorLink,w.FoxAside=B.ElAside,w.FoxAutoResizer=B.ElAutoResizer,w.FoxAutocomplete=B.ElAutocomplete,w.FoxAvatar=B.ElAvatar,w.FoxBacktop=B.ElBacktop,w.FoxBadge=B.ElBadge,w.FoxBreadcrumb=B.ElBreadcrumb,w.FoxBreadcrumbItem=B.ElBreadcrumbItem,w.FoxButton=B.ElButton,w.FoxButtonGroup=B.ElButtonGroup,w.FoxCalendar=B.ElCalendar,w.FoxCard=B.ElCard,w.FoxCarousel=B.ElCarousel,w.FoxCarouselItem=B.ElCarouselItem,w.FoxCascader=B.ElCascader,w.FoxCascaderPanel=B.ElCascaderPanel,w.FoxCheckTag=B.ElCheckTag,w.FoxCheckbox=B.ElCheckbox,w.FoxCheckboxButton=B.ElCheckboxButton,w.FoxCheckboxGroup=B.ElCheckboxGroup,w.FoxCol=B.ElCol,w.FoxCollapse=B.ElCollapse,w.FoxCollapseItem=B.ElCollapseItem,w.FoxCollapseTransition=B.ElCollapseTransition,w.FoxColorPicker=B.ElColorPicker,w.FoxConfigProvider=B.ElConfigProvider,w.FoxContainer=B.ElContainer,w.FoxCountdown=B.ElCountdown,w.FoxDatePicker=B.ElDatePicker,w.FoxDescriptions=B.ElDescriptions,w.FoxDescriptionsItem=B.ElDescriptionsItem,w.FoxDialog=B.ElDialog,w.FoxDivider=B.ElDivider,w.FoxDrawer=B.ElDrawer,w.FoxDropdown=B.ElDropdown,w.FoxDropdownItem=B.ElDropdownItem,w.FoxDropdownMenu=B.ElDropdownMenu,w.FoxEmpty=B.ElEmpty,w.FoxFooter=B.ElFooter,w.FoxForm=B.ElForm,w.FoxFormItem=B.ElFormItem,w.FoxGroup=_n,w.Group=_n,w.FoxGroupSetting=pa,w.GroupSetting=pa,w.FoxHeader=B.ElHeader,w.FoxHeaderBar=Mn,w.HeaderBar=Mn,w.FoxHintText=Oe,w.HintText=Oe,w.FoxIcon=B.ElIcon,w.FoxImage=B.ElImage,w.FoxImageViewer=B.ElImageViewer,w.FoxIndicator=Oa,w.Indicator=Oa,w.FoxInfiniteLoading=Yl,w.InfiniteLoading=Yl,w.FoxInput=B.ElInput,w.FoxInputItem=Kn,w.InputItem=Kn,w.FoxInputNumber=B.ElInputNumber,w.FoxInputNumberItem=ta,w.InputNumberItem=ta,w.FoxInputTag=B.ElInputTag,w.FoxItem=Qt,w.Item=Qt,w.FoxLink=B.ElLink,w.FoxLinkItem=Na,w.LinkItem=Na,w.FoxMain=B.ElMain,w.FoxMapping=$t,w.Mapping=$t,w.FoxMention=B.ElMention,w.FoxMenu=B.ElMenu,w.FoxMenuItem=B.ElMenuItem,w.FoxMenuItemGroup=B.ElMenuItemGroup,w.FoxMessage=B.ElMessage,w.FoxMessageBox=B.ElMessageBox,w.FoxMoneyItem=ea,w.MoneyItem=ea,w.FoxMoreButton=Ra,w.MoreButton=Ra,w.FoxNotification=B.ElNotification,w.FoxNumberKeyboard=qa,w.NumberKeyboard=qa,w.FoxOption=B.ElOption,w.FoxOptionGroup=B.ElOptionGroup,w.FoxOverLay=Hl,w.OverLay=Hl,w.FoxPage=Vn,w.Page=Vn,w.FoxPageHeader=B.ElPageHeader,w.FoxPagination=B.ElPagination,w.FoxPickerItem=va,w.PickerItem=va,w.FoxPopconfirm=B.ElPopconfirm,w.FoxPopover=B.ElPopover,w.FoxPopoverDialog=Ol,w.PopoverDialog=Ol,w.FoxPopper=B.ElPopper,w.FoxPopup=st,w.Popup=st,w.FoxPrice=Ll,w.Price=Ll,w.FoxProgress=B.ElProgress,w.FoxPullRefresh=_a,w.PullRefresh=_a,w.FoxRadio=B.ElRadio,w.FoxRadioButton=B.ElRadioButton,w.FoxRadioGroup=B.ElRadioGroup,w.FoxRadioItem=ua,w.RadioItem=ua,w.FoxRate=B.ElRate,w.FoxRateItem=fa,w.RateItem=fa,w.FoxResult=B.ElResult,w.FoxRollingProvider=Ya,w.RollingProvider=Ya,w.FoxRow=B.ElRow,w.FoxRowItem=Fl,w.RowItem=Fl,w.FoxScrollbar=B.ElScrollbar,w.FoxSearchBar=Ul,w.SearchBar=Ul,w.FoxSegmented=B.ElSegmented,w.FoxSelect=B.ElSelect,w.FoxSelectItem=Wn,w.SelectItem=Wn,w.FoxSelectV2=B.ElSelectV2,w.FoxShortPassword=ja,w.ShortPassword=ja,w.FoxSignature=Ka,w.Signature=Ka,w.FoxSkeleton=B.ElSkeleton,w.FoxSkeletonItem=B.ElSkeletonItem,w.FoxSlider=B.ElSlider,w.FoxSlotItem=Rl,w.SlotItem=Rl,w.FoxSpace=B.ElSpace,w.FoxStatistic=B.ElStatistic,w.FoxStep=B.ElStep,w.FoxSteps=B.ElSteps,w.FoxStepsBar=Ta,w.StepsBar=Ta,w.FoxSubMenu=B.ElSubMenu,w.FoxSwitch=B.ElSwitch,w.FoxSwitchItem=ma,w.SwitchItem=ma,w.FoxTabPane=B.ElTabPane,w.FoxTable=B.ElTable,w.FoxTableColumn=B.ElTableColumn,w.FoxTableItem=ca,w.TableItem=ca,w.FoxTableMappingColumn=ra,w.TableMappingColumn=ra,w.FoxTableRadioColumn=oa,w.TableRadioColumn=oa,w.FoxTableSetting=jl,w.TableSetting=jl,w.FoxTableV2=B.ElTableV2,w.FoxTabs=B.ElTabs,w.FoxTabsBar=rl,w.TabsBar=rl,w.FoxTabsContainer=ol,w.TabsContainer=ol,w.FoxTabsFrame=xa,w.TabsFrame=xa,w.FoxTabsPane=Ql,w.TabsPane=Ql,w.FoxTag=B.ElTag,w.FoxText=Tt,w.Text=Tt,w.FoxTimeItem=Zn,w.TimeItem=Zn,w.FoxTimePicker=B.ElTimePicker,w.FoxTimeSelect=B.ElTimeSelect,w.FoxTimeSelectItem=Jn,w.TimeSelectItem=Jn,w.FoxTimeline=B.ElTimeline,w.FoxTimelineItem=B.ElTimelineItem,w.FoxToast=Lt,w.Toast=Lt,w.FoxTooltip=B.ElTooltip,w.FoxTour=Ha,w.Tour=Ha,w.FoxTransfer=B.ElTransfer,w.FoxTree=B.ElTree,w.FoxTreeItem=ga,w.TreeItem=ga,w.FoxTreeSelect=B.ElTreeSelect,w.FoxTreeSelectItem=ha,w.TreeSelectItem=ha,w.FoxTreeV2=B.ElTreeV2,w.FoxUpload=B.ElUpload,w.FoxWatermark=B.ElWatermark,w.Foxcalendarpicker=ql,w.calendarpicker=ql,w.Foxcascaderpicker=Aa,w.cascaderpicker=Aa,w.Foxpicker=Xl,w.picker=Xl,w.InnerPageScopeKey=En,w.PriorityPolicy=He,w.UniqueID=Kr,w.ValidateSchema=Sr,w.ValidateSchemaKey=mt,w.browseProperty=Vr,w.cancelRaf=zi,w.clamp=ji,w.clearNonNumber=_i,w.compareTo=pn,w.createBroadcast=qt,w.createValidateSchema=bl,w.debounce=Qe,w.debounceRef=Ji,w.decimalLength=dr,w.default=Wp,w.defineConfigDomain=Nr,w.defineDataItem=Cr,w.defineDomain=xn,w.defineDomainItemProperty=Ie,w.defineItem=Te,w.definePageState=kr,w.defineSimpleItem=wt,w.deleteGlobalValidator=Gi,w.disabledProperty=Br,w.divide=hn,w.excludeProps=Ae,w.extend=kt,w.floatData=Oi,w.getGlobalIcons=_r,w.getGlobalValidateCheckEvents=gr,w.getGlobalValidateResetEvents=br,w.getPageContentAreaHeight=xl,w.getPageContentAreaWidth=zl,w.getPageFooterAreaHeight=kl,w.getPageHeaderAreaHeight=Cl,w.getRootDomain=xt,w.hasSymbol=or,w.includeProps=tt,w.indexOf=Ri,w.injectAbstractPageScope=Gt,w.injectAbstractPageScopeForContent=Tr,w.injectAbstractPageScopeForFooterBar=Er,w.injectAbstractPageScopeForHeaderBar=zr,w.injectInnerPageScope=Ut,w.integerLength=ur,w.isArray=Ti,w.isArrayLike=sr,w.isBrowser=dt,w.isDate=yn,w.isDisplayNone=vn,w.isESModule=Mi,w.isEmptyString=ge,w.isEqual=Xe,w.isFunction=bn,w.isHidden=wn,w.isMap=$i,w.isNil=Re,w.isNumberString=Cn,w.isObject=Ye,w.isPlainObject=Di,w.isPromise=hl,w.isRegExp=Nn,w.isSet=Bi,w.isString=ar,w.isSubPage=ns,w.isSymbol=Vi,w.isTouch=ll,w.isWindow=ir,w.kebabToPascal=Ht,w.lastIndexOf=Fi,w.makeArray=Li,w.merge=cr,w.multiply=tr,w.negate=lr,w.nextTick=Ii,w.numberFormat=ml,w.objectToString=rr,w.once=es,w.overrideGlobalIcons=Ns,w.overrideGlobalValidateHandler=Yi,w.padZero=qi,w.pascalToKebab=mr,w.preventDefault=Hi,w.property=Ve,w.provideAbstractPageScope=xr,w.provideInnerPageScope=Tn,w.raf=gn,w.readonlyProperty=$r,w.setGlobalValidateCheckEvents=Xi,w.setGlobalValidateHandler=Wi,w.setGlobalValidateMessages=Zi,w.setGlobalValidateResetEvents=Qi,w.setGlobalValidator=Ui,w.throttle=vr,w.toBoolean=he,w.toNumber=we,w.toPadding=lt,w.toPx=ye,w.toPxDesc=ls,w.toPxString=ke,w.toTypeString=pl,w.toValue=ve,w.tryTimes=wl,w.typeOf=gl,w.unNumberFormat=nr,w.updatePageState=zn,w.useBroadcast=jt,w.useDomain=pt,w.useInnerSize=$l,w.usePageState=Nl,w.usePosition=Rn,w.useRawTouch=nl,w.useRect=Sa,w.useSize=Dn,w.useSlotChildren=Pl,w.useTouch=Oo,w.valueLength=ft});