@fox-js/foxui-pc 4.0.1-0 → 4.0.1-10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";/*!
2
- * @fox-js/foxui-desktop v4.0.0 Wed Nov 02 2022 22:06:23 GMT+0800 (中国标准时间)
3
- */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("vue"),j=require("@fox-js/fox"),Rn=require("@fox-js/validator"),y=require("element-plus"),Oe=require("@fox-js/i18n"),In=e=>e&&typeof e=="object"&&"default"in e?e:{default:e},be=In(Rn);/*!
2
+ * @fox-js/foxui-desktop v4.0.0 Fri Dec 09 2022 15:16:24 GMT+0800 (中国标准时间)
3
+ */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("vue"),L=require("@fox-js/fox"),Er=require("@fox-js/validator"),d=require("element-plus"),me=require("@fox-js/i18n"),Pr=e=>e&&typeof e=="object"&&"default"in e?e:{default:e},Ee=Pr(Er);/*!
4
4
  * @fox-js/big-decimal v4.0.1-3 Wed Nov 02 2022 21:59:56 GMT+0800 (中国标准时间)
5
- */function Le(e,t="0"){let n=0,r=-1;e[0]=="-"&&(n++,r=1,e=e.substring(1),e.length),t[0]=="-"&&(n++,r=2,t=t.substring(1),t.length),e=Z(e),t=Z(t),[e,t]=gt(Z(e),Z(t)),n==1&&(r==1?e=rt(e):t=rt(t));let o=kt(e,t);return n?n==2?"-"+Z(o):e.length<o.length?Z(o.substring(1)):"-"+Z(rt(o)):Z(o)}function rt(e){let t="",n=e.length,r=e.split(".")[1],o=r?r.length:0;for(let u=0;u<n;u++)e[u]>="0"&&e[u]<="9"?t+=9-parseInt(e[u]):t+=e[u];let s=o>0?"0."+new Array(o).join("0")+"1":"1";return kt(t,s)}function Z(e){let t=e.split(".");for(t[0]||(t[0]="0");t[0][0]=="0"&&t[0].length>1;)t[0]=t[0].substring(1);return t[0]+(t[1]?"."+t[1]:"")}function gt(e,t){let n=e.split("."),r=t.split("."),o=n[0].length,s=r[0].length;return o>s?r[0]=new Array(Math.abs(o-s)+1).join("0")+(r[0]?r[0]:""):n[0]=new Array(Math.abs(o-s)+1).join("0")+(n[0]?n[0]:""),o=n[1]?n[1].length:0,s=r[1]?r[1].length:0,(o||s)&&(o>s?r[1]=(r[1]?r[1]:"")+new Array(Math.abs(o-s)+1).join("0"):n[1]=(n[1]?n[1]:"")+new Array(Math.abs(o-s)+1).join("0")),e=n[0]+(n[1]?"."+n[1]:""),t=r[0]+(r[1]?"."+r[1]:""),[e,t]}function kt(e,t){[e,t]=gt(e,t);let n="",r=0;for(let o=e.length-1;o>=0;o--){if(e[o]==="."){n="."+n;continue}let s=parseInt(e[o])+parseInt(t[o])+r;n=s%10+n,r=Math.floor(s/10)}return r?r.toString()+n:n}var W=(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))(W||{});function Me(e,t=0,n=W.HALF_EVEN){if(n===W.UNNECESSARY)throw new Error("UNNECESSARY Rounding Mode has not yet been implemented");typeof e=="number"&&(e=e.toString());let r=!1;e[0]==="-"&&(r=!0,e=e.substring(1));let o=e.split("."),s=o[0],u=o[1];if(t<0){if(t=-t,s.length<=t)return"0";{let c=s.substr(0,s.length-t);return e=c+"."+s.substr(s.length-t)+u,c=Me(e,0,n),(r?"-":"")+c+new Array(t+1).join("0")}}if(t==0)return s.length,xt(o[1],s,r,n)?(r?"-":"")+ot(s):(r?"-":"")+s;if(o[1]){if(o[1].length<t)return(r?"-":"")+s+"."+o[1]+new Array(t-o[1].length+1).join("0")}else return(r?"-":"")+s+"."+new Array(t+1).join("0");u=o[1].substring(0,t);let i=o[1].substring(t);return i&&xt(i,u,r,n)&&(u=ot(u),u.length>t)?(r?"-":"")+ot(s,parseInt(u[0]))+"."+u.substring(1):(r?"-":"")+s+"."+u}function xt(e,t,n,r){if(!e||e===new Array(e.length+1).join("0")||r===W.DOWN||!n&&r===W.FLOOR||n&&r===W.CEILING)return!1;if(r===W.UP||n&&r===W.FLOOR||!n&&r===W.CEILING)return!0;let o="5"+new Array(e.length).join("0");if(e>o)return!0;if(e<o)return!1;switch(r){case W.HALF_DOWN:return!1;case W.HALF_UP:return!0;case W.HALF_EVEN:default:return parseInt(t[t.length-1])%2==1}}function ot(e,t=0){t||(t=1),typeof e=="number"&&e.toString();let n=e.length-1,r="";for(let o=n;o>=0;o--){let s=parseInt(e[o])+t;s==10?(t=1,s=0):t=0,r+=s}return t&&(r+=t),r.split("").reverse().join("")}function it(e,t){e=e.toString(),t=t.toString();let n=0;e[0]=="-"&&(n++,e=e.substr(1)),t[0]=="-"&&(n++,t=t.substr(1)),e=Ae(e),t=Ae(t);let r=0,o=0;e.indexOf(".")!=-1&&(r=e.length-e.indexOf(".")-1),t.indexOf(".")!=-1&&(o=t.length-t.indexOf(".")-1);let s=r+o;if(e=Ae(e.replace(".","")),t=Ae(t.replace(".","")),e.length<t.length){let f=e;e=t,t=f}if(t=="0")return"0";let u=t.length,i=0,c=[],l=u-1,d="";for(let f=0;f<u;f++)c[f]=e.length-1;for(let f=0;f<2*e.length;f++){let S=0;for(let C=t.length-1;C>=l&&C>=0;C--)c[C]>-1&&c[C]<e.length&&(S+=parseInt(e[c[C]--])*parseInt(t[C]));S+=i,i=Math.floor(S/10),d=S%10+d,l--}return d=Ae(Vn(d,s)),n==1&&(d="-"+d),d}function Vn(e,t){return t==0?e:(e=t>=e.length?new Array(t-e.length+1).join("0")+e:e,e.substr(0,e.length-t)+"."+e.substr(e.length-t,t))}function Ae(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 lt(e,t,n=8){if(t==0)throw new Error("Cannot divide by 0");if(e=e.toString(),t=t.toString(),e=e.replace(/(\.\d*?[1-9])0+$/g,"$1").replace(/\.0+$/,""),t=t.replace(/(\.\d*?[1-9])0+$/g,"$1").replace(/\.0+$/,""),e==0)return"0";let r=0;t[0]=="-"&&(t=t.substring(1),r++),e[0]=="-"&&(e=e.substring(1),r++);var o=t.indexOf(".")>0?t.length-t.indexOf(".")-1:-1;if(t=Z(t.replace(".","")),o>=0){let l=e.indexOf(".")>0?e.length-e.indexOf(".")-1:-1;if(l==-1)e=Z(e+new Array(o+1).join("0"));else if(o>l)e=e.replace(".",""),e=Z(e+new Array(o-l+1).join("0"));else if(o<l){e=e.replace(".","");let d=e.length-l+o;e=Z(e.substring(0,d)+"."+e.substring(d))}else o==l&&(e=Z(e.replace(".","")))}let s=0,u=t.length,i="",c=e.indexOf(".")>-1&&e.indexOf(".")<u?e.substring(0,u+1):e.substring(0,u);if(e=e.indexOf(".")>-1&&e.indexOf(".")<u?e.substring(u+1):e.substring(u),c.indexOf(".")>-1){let l=c.length-c.indexOf(".")-1;c=c.replace(".",""),u>c.length&&(l+=u-c.length,c=c+new Array(u-c.length+1).join("0")),s=l,i="0."+new Array(l).join("0")}for(n=n+2;s<=n;){let l=0;for(;parseInt(c)>=parseInt(t);)c=Le(c,"-"+t),l++;i+=l,e?(e[0]=="."&&(i+=".",s++,e=e.substring(1)),c=c+e.substring(0,1),e=e.substring(1)):(s||(i+="."),s++,c=c+"0")}return(r==1?"-":"")+Z(Me(i,n-2))}function ut(e,t){return e=e.toString(),t=t.toString(),t=ct(t),Le(e,t)}function ct(e){return e[0]=="-"?e=e.substr(1):e="-"+e,e}function Et(e,t){if(t==0)throw new Error("Cannot divide by 0");e=e.toString(),t=t.toString(),Pt(e),Pt(t);let n="";e[0]=="-"&&(n="-",e=e.substr(1)),t[0]=="-"&&(t=t.substr(1));let r=ut(e,it(t,Me(lt(e,t),0,W.FLOOR)));return n+r}function Pt(e){if(e.indexOf(".")!=-1)throw new Error("Modulus of non-integers not supported")}function Ot(e,t){let n=!1;if(e[0]=="-"&&t[0]!="-")return-1;if(e[0]!="-"&&t[0]=="-")return 1;if(e[0]=="-"&&t[0]=="-"&&(e=e.substr(1),t=t.substr(1),n=!0),[e,t]=gt(e,t),e.localeCompare(t)==0)return 0;for(let r=0;r<e.length;r++)if(e[r]!=t[r])return e[r]>t[r]?n?-1:1:n?1:-1;return 0}class H{value;static RoundingModes=W;static validate(t){if(t){if(t=t.toString(),isNaN(t))throw Error("Parameter is not a number: "+t);t[0]=="+"&&(t=t.substring(1))}else t="0";if(t.startsWith(".")?t="0"+t:t.startsWith("-.")&&(t="-0"+t.substr(1)),/e/i.test(t)){let[n,r]=t.split(/[eE]/);n=Z(n);let o="";n[0]=="-"&&(o="-",n=n.substring(1)),n.indexOf(".")>=0?(r=parseInt(r)+n.indexOf("."),n=n.replace(".","")):r=parseInt(r)+n.length,n.length<r?t=o+n+new Array(r-n.length+1).join("0"):n.length>=r&&r>0?t=o+Z(n.substring(0,r))+(n.length>r?"."+n.substring(r):""):t=o+"0."+new Array(-r+1).join("0")+n}return t}constructor(t="0"){this.value=H.validate(t)}getValue(){return this.value}static getPrettyValue(t,n,r){if(!(n||r))n=3,r=",";else if(!(n&&r))throw Error("Illegal Arguments. Should pass both digits and separator or pass none");t=H.validate(t);let o=t.charAt(0)=="-";o&&(t=t.substring(1));var s=t.indexOf(".");s=s>0?s:t.length;for(var u="",i=s;i>0;)i<n?(n=i,i=0):i-=n,u=t.substring(i,i+n)+(i<s-n&&i>=0?r:"")+u;return(o?"-":"")+u+t.substring(s)}getPrettyValue(t,n){return H.getPrettyValue(this.value,t,n)}static round(t,n=0,r=W.HALF_EVEN){if(t=H.validate(t),isNaN(n))throw Error("Precision is not a number: "+n);return Me(t,n,r)}round(t=0,n=W.HALF_EVEN){if(isNaN(t))throw Error("Precision is not a number: "+t);return new H(Me(this.value,t,n))}static floor(t){return t=H.validate(t),t.indexOf(".")===-1?t:H.round(t,0,W.FLOOR)}floor(){return this.value.indexOf(".")===-1?new H(this.value):new H(this.value).round(0,W.FLOOR)}static ceil(t){return t=H.validate(t),t.indexOf(".")===-1?t:H.round(t,0,W.CEILING)}ceil(){return this.value.indexOf(".")===-1?new H(this.value):new H(this.value).round(0,W.CEILING)}static add(t,n){return t=H.validate(t),n=H.validate(n),Le(t,n)}add(t){return new H(Le(this.value,t.getValue()))}static subtract(t,n){return t=H.validate(t),n=H.validate(n),ut(t,n)}subtract(t){return new H(ut(this.value,t.getValue()))}static multiply(t,n){return t=H.validate(t),n=H.validate(n),it(t,n)}multiply(t){return new H(it(this.value,t.getValue()))}static divide(t,n,r){return t=H.validate(t),n=H.validate(n),lt(t,n,r)}divide(t,n){return new H(lt(this.value,t.getValue(),n))}static modulus(t,n){return t=H.validate(t),n=H.validate(n),Et(t,n)}modulus(t){return new H(Et(this.value,t.getValue()))}static compareTo(t,n){return t=H.validate(t),n=H.validate(n),Ot(t,n)}compareTo(t){return Ot(this.value,t.getValue())}static negate(t){return t=H.validate(t),ct(t)}negate(){return new H(ct(this.value))}}function Mn(e,t){return H.multiply(`${e}`,`${t}`)}function Dn(e,t,n=8){return H.divide(`${e}`,`${t}`,n)}function _n(e,t){return e=`${e}`,t=`${t}`,H.compareTo(e,t)}function Bn(e){return H.negate(e)}function Lt(e,t=-1,n=!1,r=3,o=","){let s=`${e}`;if(s.length==0||s==="-")return"";let u=s.charAt(0);u=="-"?s=s.substring(1):u="";let i=s,c="",l=s.indexOf(".");l!=-1&&(i=s.substring(0,l),c=s.substring(l+1)),t!=-1&&(t<c.length?c=c.substring(0,t):n&&t>c.length&&(c=c.padEnd(t,"0")));let d;if(r>0){let f="",S=i.split("").reverse();for(let C=0;C<S.length;C++)f+=S[C]+((C+1)%r==0&&C+1!=S.length?o:"");c.length==0?d=`${u}${f.split("").reverse().join("")}`:d=`${u}${f.split("").reverse().join("")}.${c}`}else c.length==0?d=`${u}${i}`:d=`${u}${i}.${c}`;return d}function kn(e){let t=`${e}`,n=t.charAt(0);n=="-"?t=t.substring(1):n="";let r=t.replace(/[^\d\.-]/g,"");return`${n}${r}`}const _e=typeof window<"u",Ln=_e&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout;function Ht(e){return Object.prototype.toString.call(e)==="[object RegExp]"}const ce=e=>e==null?!0:typeof e!="string"?!1:e.length===0;function Hn(e){return ce(e)?!0:(e.charAt(0)=="-"&&(e=e.substring(1)),ce(e)||/^(([1-9][0-9]*\.[0-9]*)|([0]\.[0-9]*)|([0-9]*)|([0]{1}))$/.test(e))}function qn(e){if(e==null)return 0;let t=`${e}`;if(t.length==0)return 0;t.charAt(0)=="-"&&(t=t.substring(1)),t=t.replace(/[^\d\.-]/g,"");const n=t.indexOf(".");return n==-1?t.length:n}function jn(e){if(e==null)return 0;const t=`${e}`;if(t.length==0)return 0;const n=t.indexOf(".");return n==-1?0:t.length-(n+1)}function Ct(e,t,n){const r=e.indexOf(t);return r===-1?e:t==="-"&&r!==0?e.slice(0,r):e.slice(0,r+1)+e.slice(r).replace(n,"")}function Fn(e,t=!0,n=!0){t?e=Ct(e,".",/\./g):e=e.replace(/\./g,""),n?e=Ct(e,"-",/-/g):e=e.replace(/-/,"");const r=t?/[^-0-9.]/g:/[^-0-9]/g;return e.replace(r,"")}function zn(e,t){return typeof e=="object"||Array.isArray(e)?t.findIndex(n=>{if(j.isEqual(e,n))return!0}):t.indexOf(e)}function Wn(e,t){if(typeof e=="object"||Array.isArray(e)){let n=t.reverse().findIndex(r=>{if(j.isEqual(e,r))return!0});return n!==-1&&(n=t.length-1-n),n}return t.lastIndexOf(e)}function qt(e){return e==null||e==null?0:typeof e=="string"?e.length:`${e}`.length}function Yn(e,...t){const n={};return t.forEach(r=>{for(const o in r)n[o]=e[o]}),n}function Se(e,...t){const n=[];t.forEach(o=>{Reflect.apply([].push,n,Reflect.ownKeys(o))});const r={};for(const o in e)n.includes(o)||(r[o]=e[o]);return r}const Gn=(e,t,n)=>{const r=Object.assign({},e),o=Object.assign({},n);return Object.keys(t).length>0?(Object.keys(r).forEach(s=>{o.hasOwnProperty(s)?(typeof o[s]=="function"&&(r[s]=o[s](t)),typeof o[s]=="string"&&(r[s]=t[o[s]])):t[s]&&(r[s]=t[s])}),r):e},G=Symbol("BroadcastKey");class mt{parent;children=[];callbacks=new Map;instance=null;name;constructor(t,n,r){this.parent=t,this.instance=n,this.name=r,t!==null&&t.addChild(this)}addChild(t){this.children.push(t)}removeChild(t){const n=this.children.findIndex(r=>t===r);n!==-1&&this.children.splice(n,1)}destroy(){this.parent!==null&&this.parent.removeChild(this),this.parent=null,this.instance=null}emit(t,n,...r){if(t.maxLevel!==void 0&&t.maxLevel!==null&&t.maxLevel>0){if(t.level=t.level??0,t.level>t.maxLevel)return[];t.level++}let o=!1;!t.name||t.name==="*"?o=!0:!t.name||t.name==="+"?(o=!1,t.name="*"):Ht(t.name)&&this.name&&t.name.test(this.name)?o=!0:typeof t.name=="function"?o=Reflect.apply(t.name,null,[this.name]):t.name===this.name&&(o=!0);const s=[];if(o){const u=this.callbacks.get(n);if(typeof u=="function"){const l=Reflect.apply(u,this.instance?.proxy,[...r]);l!=null&&s.push(l)}const i=this.instance?.exposed??{};if(typeof i[n]=="function"){const l=Reflect.apply(i[n],i,[...r]);l!=null&&s.push(l)}const c=this.instance?.proxy??{};if(typeof c[n]=="function"){const l=Reflect.apply(c[n],c,[...r]);l!=null&&s.push(l)}}return this.children.forEach(u=>{const i=Reflect.apply(u.emit,u,[{...t},n,...r]);i!=null&&Array.isArray(i)&&Reflect.apply([].push,s,[...i])}),s}emitToChildren(t,n,...r){const o=[];return this.children.forEach(s=>{const u=Reflect.apply(s.emit,s,[{...t},n,...r]);u!=null&&Array.isArray(u)&&Reflect.apply([].push,o,[...u])}),o}on(t,n){this.callbacks.set(t,n)}}function yt(e,t,n,r){const o=new mt(t,e,n);if(r&&typeof r=="object")for(const s in r)o.on(s,r[s]);return o}function Kn(e,t){const n=a.getCurrentInstance();if(n===null)return null;const r=n.proxy;if(r[G])return r[G];const o=a.inject(G,null),s=new mt(o,n,e);if(t&&typeof t=="object")for(const u in t)s.on(u,t[u]);return r[G]=s,a.provide(G,s),a.onUnmounted(()=>{s.destroy(),r[G]=void 0}),s}function Ie(e=null){return e||(e=a.getCurrentInstance()?.proxy??null),e?e[G]??a.inject(G,null):a.inject(G,null)}class Un{error(t,n,r){const o=n,s=Ie(n);s?s.emit({name:"*"},"setErrorTip",t):typeof o.setErrorTip=="function"&&o.setErrorTip(t)}reset(t,n){const r=t,o=Ie(t);o?o.emit({name:"*"},"setErrorTip",""):typeof r.setErrorTip=="function"&&r.setErrorTip("")}success(t,n){const r=t,o=Ie(t);o?o.emit({name:"*"},"setErrorTip",""):typeof r.setErrorTip=="function"&&r.setErrorTip("")}decorate(t,n,r,o){Array.isArray(t)||(t=[t]);const s=r,u=Ie(r),i=n.find(l=>l.required===!0||l.type==="required"&&l.required!==!1),c=t.find(l=>l.required===!0||l.type==="required"&&l.required!==!1);!i&&c?u?u.emit({name:"*"},"setRequired",!0):typeof s.setRequired=="function"&&s.setRequired(!0):i&&!c&&(u?u.emit({name:"*"},"setRequired",!1):typeof s.setRequired=="function"&&s.setRequired(!1),this.reset(r,o))}getValue(t,n){return t.modelValue}}let jt=new Un;function Zn(e){jt=e}function Xn(e,t){be.default.setValidator(e,t)}function Jn(e){be.default.deleteValidator(e)}let Ft=["blur","clear"];function Qn(e){Ft=e}function zt(){return Ft}let Wt=["focus","change"];function er(e){Wt=e}function Yt(){return Wt}function tr(e){be.default.messages(e)}function Te(...e){const t=[];return e.forEach(n=>{n.forEach(r=>{const o=t.findIndex(s=>s.type===r.type);o!==-1&&t.splice(o,1),t.push(r)})}),t}function Be(e){return e.forEach(t=>{t.type==="required"&&(t.required===null||t.required===void 0)&&(t.required=!0),!t.type&&(t.required===!0||t.required===!1)&&(t.type="required")}),e}const ne=Symbol("ValidateSchemaKey");class Gt{parent=null;validators={};attrRules=[];rules=[];descriptor;instance;scope=null;constructor(t,n,r){this.parent=t,this.descriptor=n,this.instance=r,(this.descriptor.validate??!0)&&this.init()}init(){if(!this.descriptor.valueName)return;let t=this.instance.proxy;if(!t)return;let n=t.$attrs;!n||(this.scope=a.effectScope(),this.scope.run(()=>{a.watchEffect(()=>{const r=Be(Te(this.attrRules,this.rules)),o=[];for(let u in n){let i=n[u];if(this.hasValidator(u,!0)){if(i===!1)continue;let l={type:u};i!==null&&typeof i=="object"&&Object.assign(l,i),o.push(l);continue}let c=this.getValidator(u);if(c!==null){let l={type:u,validator:c};o.push(l)}}this.attrRules=Be(o);const s=Te(this.attrRules,this.rules);a.nextTick(()=>{this.decorate(s,r)})})}))}destroy(){this.scope&&(this.scope.stop(),this.scope=null),this.parent=null}execHandler(t,...n){const r=this.descriptor.validateHandler;if(r&&typeof r[t]=="function")return Reflect.apply(r[t],r,[...n]);const o=jt;return o&&typeof o[t]=="function"?Reflect.apply(o[t],o,[...n]):null}decorate(t,n){let r=this.instance.proxy;r!==null&&this.execHandler("decorate",t,n,r,this.instance)}success(){let t=this.instance.proxy;t!==null&&this.execHandler("success",t,this.instance)}error(t){let n=this.instance.proxy;n!==null&&this.execHandler("error",t,n,this.instance)}getValue(){let t=this.instance.proxy;return t===null?null:this.execHandler("getValue",t,this.instance)}setValidator(t,n,r=!1){r?be.default.setValidator(t,n):this.validators[t]=n}getValidator(t){let n=this.validators[t]??null;return n||(n=this.parent?.getValidator(t)??null),n}deleteValidator(t,n=!1){n?be.default.deleteValidator(t):Reflect.deleteProperty(this.validators,t)}hasValidator(t,n=!1){if(n)return be.default.hasValidator(t);{let r=Reflect.has(this.validators,t);return!r&&this.parent!==null&&(r=this.parent.hasValidator(t,!1)),r}}setRule(t){const n=Te(this.attrRules,this.rules);t===null?this.rules=[]:Array.isArray(t)?this.rules=Be(t):this.rules=Be([t]);const r=Te(this.attrRules,this.rules);a.nextTick(()=>{this.decorate(r,n)})}clear(){let t=this.instance.proxy;t!==null&&this.execHandler("reset",t,this.instance)}validate(){if(this.descriptor.validate??!0){let n=Te(this.attrRules,this.rules);const r=this.descriptor.fieldName??"value";if(n.length>0){const o={[`${r}`]:n};if(!this.instance.proxy)return Promise.resolve({pass:!0});const u=this.getValue(),i={[`${r}`]:u},c=new be.default(o),l=this.instance?.proxy??i;return c.validate(i,{context:l}).then(f=>{if(f.pass)this.success();else{let S="error";Array.isArray(f.errors)&&f.errors.length>0&&(S=f.errors[0].message??S,f.errors=[f.errors[0]],f.errors[0].ref=l),this.error(S)}return f}).catch(f=>{const S=f.message??`${f}`;return this.error(S),f})}}return Promise.resolve({pass:!0})}}function vt(e,t,n){if(n.valueName=n.valueName??"modelValue",n.valueType=n.valueType??"string",!n.validateHandler&&n.valueName!=="modelValue"){const o=n.valueName;n.validateHandler={getValue(s,u){return s[o]}}}return new Gt(t,n,e)}const Nt=Symbol("EventEmitterKey");class nr{register=new Map;proxy;constructor(t){this.proxy=t}destroy(){this.proxy=null,this.register.clear()}off(t,n){let r=this.register.get(t);if(r&&Array.isArray(r)){let o=r.findIndex(s=>s===n);o!==-1&&r.splice(o,1)}}on(t,n){let r=this.register.get(t);r||(r=new Array,this.register.set(t,r)),r.push(n)}emit(t,...n){const r=this.register.get(t);r&&r.forEach(o=>{try{Reflect.apply(o,null,[t,...n])}catch(s){console.error(s.message,s)}}),this.proxy&&Reflect.apply(this.proxy.$emit,this.proxy,[t,...n])}}function rr(e,t){let n=0;return function(...r){const o=Date.now();o-n>t&&(Reflect.apply(e,{},[...r]),n=o)}}function bt(e,t){let n,r=null;return function(...o){r=o,n||(n=setTimeout(()=>{n=null,Reflect.apply(e,{},[...r??[]])},t))}}const ue=Symbol("DomainKey");class $t{_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}_props=a.reactive({});constructor(t=null){this._name=t}destroy(){this._parent=null,this._broadcast=null,this._validateSchema=null,this._props={}}merge(t,n=[]){for(const r in t){const o=t[r];n.length>0&&n.indexOf(o)!==-1||(this._props[r]=o)}}has(t){if(Reflect.has(this._props,t)){const n=this._props[t];if(n!=null)return!0}return this.parent==null?!1:this.parent.has(t)}delete(t){Reflect.deleteProperty(this._props,t)}set(t,n){this._props[t]=n}get(t,n){if(Reflect.has(this._props,t)){const r=this._props[t];if(r!=null)return r}return this.parent==null?n:this.parent.get(t,n)}getForParent(t,n){return this.parent==null?n:this.parent.get(t,n)}getForSelf(t){return this._props[t]}getAll(t){const n=[];let r=this;for(;r!=null;){if(Reflect.has(r._props,t)){const o=r._props[t];n.push(o)}r=r._parent}return n}}const or=new $t;function Ve(){return or}function he(e=null){e||(e=a.getCurrentInstance());const t=e?.proxy;return t?t[ue]??a.inject(ue,null):a.inject(ue,null)}function wt(e,t,n=[],r){const o=a.getCurrentInstance();let s=a.inject(ue,null);s===null&&(s=Ve());const u=e||t.prop||t.name,i=new $t(u);i.parent=s,a.isReactive(t)?a.watchEffect(()=>{i.merge(t,n)}):i.merge(t,n);const c=o?.proxy;c[ue]=i,a.provide(ue,i);let l=null,d=null;if(o!==null){const f=a.inject(G,null);l=yt(o,f,u,r),i.broadcast=l,c[G]=l,a.provide(G,l),c.fox_broadcast=(C,v,...p)=>Reflect.apply(l.emit,l,[C,v,...p]);const S=a.inject(ne,null);d=vt(o,S,{componentName:""}),i.validateSchema=d,c[ne]=d,a.provide(ne,d),c.fox_validate=(C=!0)=>{const v=[];let p=null;if(C===!0)p={name:"*"};else if(Array.isArray(C)&&C.length>0){const m=C;p={name:P=>m.indexOf(P)!==-1}}else if(C!=null&&typeof C=="object"){const m=C;if(Array.isArray(m.include)&&m.include.length>0){const P=m.include;p={name:V=>P.indexOf(V)!==-1}}else if(Array.isArray(m.exclude)&&m.exclude.length>0){const P=m.exclude;p={name:V=>P.indexOf(V)===-1}}}if(p){const m=l?.emitToChildren(p,"fox_validate",!1);m&&Reflect.apply([].push,v,m)}return v.length==1?v[0]:v.length>1?Promise.all(v).then(m=>{let P=[];return m.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})},c.fox_setNameValidateRules=(C,v=!0)=>{if(v){const p={name:m=>Reflect.ownKeys(C).includes(m)};l?.emitToChildren(p,"fox_setNameValidateRules",C,!1)}},c.fox_clearValidate=(C=!0)=>{let v=null;if(C===!0)v={name:"*"};else if(Array.isArray(C)&&C.length>0){const p=C;v={name:m=>p.indexOf(m)!==-1}}else if(C!=null&&typeof C=="object"){const p=C;if(Array.isArray(p.include)&&p.include.length>0){const m=p.include;v={name:P=>m.indexOf(P)!==-1}}else if(Array.isArray(p.exclude)&&p.exclude.length>0){const m=p.exclude;v={name:P=>m.indexOf(P)===-1}}}v&&l?.emitToChildren(v,"fox_clearValidate",!1)}}return a.onUnmounted(()=>{i.destroy(),c[ue]=void 0,l!==null&&(l.destroy(),c[G]=void 0),d!==null&&(d.destroy(),c[ne]=void 0)}),i}function pe(e,t,n){const r=a.getCurrentInstance(),o=t??"",s=a.inject(G,null),u=yt(r,s,o,n),i=r?.proxy;i[G]=u,a.provide(G,u),i.fox_broadcast=(v,p,...m)=>Reflect.apply(u.emit,u,[v,p,...m]);const c=a.inject(ne,null);e.fieldName=e.fieldName??o;const l=vt(r,c,e);i[ne]=l,a.provide(ne,l),i.fox_validate=(v=null)=>{const p=[];if(!Array.isArray(v)||v.indexOf(o)!==-1){const P=l?.validate();p.push(P)}let m=null;if(v===!0)m={name:"*"};else if(Array.isArray(v)&&v.length>0){const P=v;m={name:V=>P.indexOf(V)!==-1}}else if(v!=null&&typeof v=="object"){const P=v;if(Array.isArray(P.include)&&P.include.length>0){const V=P.include;m={name:D=>V.indexOf(D)!==-1}}else if(Array.isArray(P.exclude)&&P.exclude.length>0){const V=P.exclude;m={name:D=>V.indexOf(D)===-1}}}if(m){const P=u.emitToChildren(m,"fox_validate",!1);Reflect.apply([].push,p,P)}return p.length==1?p[0]:p.length>1?Promise.all(p).then(P=>{let V=[];return P.forEach(D=>{D.pass===!1&&Array.isArray(D.errors)&&(V=[...V,...D.errors])}),V.length>0?{pass:!1,errors:V}:{pass:!0}}):Promise.resolve({pass:!0})},i.fox_setValidateRule=v=>l?.setRule(v),i.fox_setNameValidateRules=(v,p=!1)=>{const m=v[o];if(m&&l?.setRule(m),p){const P={name:V=>Reflect.ownKeys(v).includes(V)};u.emitToChildren(P,"fox_setNameValidateRules",v,!1)}},i.fox_clearValidate=(v=null)=>{(!Array.isArray(v)||v.indexOf(t??"")!==-1)&&l?.clear();let p=null;if(v===!0)p={name:"*"};else if(Array.isArray(v)&&v.length>0){const m=v;p={name:P=>m.indexOf(P)!==-1}}else if(v!=null&&typeof v=="object"){const m=v;if(Array.isArray(m.include)&&m.include.length>0){const P=m.include;p={name:V=>P.indexOf(V)!==-1}}else if(Array.isArray(m.exclude)&&m.exclude.length>0){const P=m.exclude;p={name:V=>P.indexOf(V)===-1}}}p&&u.emitToChildren(p,"fox_clearValidate",!1)};const d=new nr(i);i[Nt]=d;const f=bt((v="validate")=>{v==="reset"?l.clear():l.validate()},60);return(Array.isArray(e.validateCheckEvents)?e.validateCheckEvents:zt()).forEach(v=>{d.on(v,p=>{f("validate")})}),(Array.isArray(e.validateResetEvents)?e.validateResetEvents:Yt()).forEach(v=>{d.on(v,p=>{f("reset")})}),a.onUnmounted(()=>{u.destroy(),i[G]=void 0,l.destroy(),i[ne]=void 0,d.destroy(),i[Nt]=void 0}),{broadcast:u,validateSchema:l,emitEvent:(v,...p)=>{Reflect.apply(d.emit,d,[v,...p])},onEvent:(v,p)=>{Reflect.apply(d.on,d,[p])},offEvent:(v,p)=>{Reflect.apply(d.off,d,[p])}}}const le=e=>e?`${K(e)}px`:"";function K(e,t=-1){if(typeof e=="number")return e<1?e*t:e;if(e=e.trim().toLocaleLowerCase(),e.length===0)return 0;let n=e.indexOf("px");if(n!==-1)return Number(e.substring(0,n));if(n=e.indexOf("rem"),n!==-1){let o=Number(e.substring(0,n)),s=1;if(_e){const{fontSize:u}=window.getComputedStyle(document.documentElement,null),i=u.indexOf("px");i>0&&(s=Number(u.substring(0,i)))}return o*=s,o}if(n=e.indexOf("%"),n!==-1)return Number(e.substring(0,n))*t;const r=Number(e);return isNaN(r)?0:r}const fe="PageStateKey";function ee(e){const t={top:null,left:null,bottom:null,right:null};return e&&(e.top!==null&&e.top!==void 0&&(t.top=K(e.top)),e.left!==null&&e.left!==void 0&&(t.left=K(e.left)),e.bottom!==null&&e.bottom!==void 0&&(t.bottom=K(e.bottom)),e.right!==null&&e.right!==void 0&&(t.right=K(e.right))),t}function ft(e,t,n={},r=!0,o=-1,s=-1,u=0,i=0){e.headerHeight=K(n.headerHeight??t.headerHeight),e.headerPadding=ee(n.headerPadding??t.headerPadding),e.footerHeight=K(n.footerHeight??t.footerHeight),e.footerPadding=ee(n.footerPadding??t.footerPadding),e.contentPadding=ee(n.contentPadding??t.contentPadding),r&&(e.height=K(n.height??t.height,s)-K(u,s)-K(i,s),e.width=K(n.width??t.width,o))}function Kt(e,t={}){const n={top:null,left:null,bottom:null,right:null},r={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(e.get("safeAreaInset")??{},t.safeAreaInset??{});o&&(r.safeAreaTop=K(o.top),r.safeAreaBottom=K(o.bottom),r.safeAreaLeft=K(o.left),r.safeAreaRight=K(o.right));const s=e.get("pageLayout");if(!s)return null;const u=e.get("rootWidth")??-1,i=e.get("rootHeight")??-1,c=e.get("headerBarHeight")??0,l=e.get("footerBarHeight")??0;ft(r,s,t,!0,u,i,c,l);const d=a.reactive(r),f=e.getForParent(fe);f&&(r.height=He(e,f),r.width=qe(e,f),a.watch([()=>f.height,()=>f.width,()=>f.contentPadding,()=>f.headerMounted,()=>f.footerMounted],()=>{d.height=He(e,f),d.width=qe(e,f)}));const S=!f;return a.watch([()=>e.get("pageLayout"),()=>e.get("rootWidth"),()=>e.get("rootHeight"),()=>e.get("headerBarHeight"),()=>e.get("footerBarHeight")],([C,v=-1,p=-1,m=0,P=0])=>{ft(d,C,t,S,v,p,m,P)}),e.set(fe,d),d}function Ge(e){return e.get(fe)}function Ke(e,t){return t=t??e.get(fe),t&&t.headerMounted?t.headerHeight+t.safeAreaTop:0}function Ue(e,t){return t=t??e.get(fe),t&&t.footerMounted?t.footerHeight+t.safeAreaBottom:0}function He(e,t){if(t=t??e.get(fe),t){const n=Ke(e,t),r=Ue(e,t);return t.height-n-r-(t.contentPadding.top??0)-(t.contentPadding.bottom??0)}return 0}function qe(e,t){return t=t??e.get(fe),t?t.width-(t.contentPadding.left??0)-(t.contentPadding.right??0):0}function ar(e,t){const n=e.get("isInnerPage");return typeof n=="function"?Reflect.apply(n,{},[t,e]):!1}function sr(e){return!!e.getForParent(fe)}var je=(e=>(e[e.Parent=0]="Parent",e[e.Near=1]="Near",e))(je||{});function at(e,t){return e==null?!1:typeof t=="function"?t(e):!0}function De(e,t,n=1,r){const o=he();return o==null?e:n===0?a.computed(()=>{const s=o.getAll(t);for(let i=s.length-1;i>=0;i--){const c=s[i];if(at(c,r))return c}const u=e.value;return at(u,r)?u:null}):a.computed(()=>{const s=e.value;return at(s,r)?s:o?.get(t)})}function Ce(e){return De(e,"readonly",0,function(n){return j.toBoolean(n)})}function Ne(e){return De(e,"disabled",0,function(n){return j.toBoolean(n)})}function te(e,t="modelValue",n){const r=a.toRef(e,t);let o=r.value;typeof n=="function"&&(o=n(r.value));const s=a.ref(o);return a.watch(r,u=>{if(typeof n=="function"){const i=n(u);i!==s.value&&(s.value=i)}else u!==s.value&&(s.value=u)}),s}const Ut=new Map,Fe=new Map;let dt=null;function ir(e){dt=e}function Zt(e,t,n){if(n){let r=Fe.get(n);r||(r=new Map,Fe.set(n,r)),r.set(e,t)}else Ut.set(e,t)}function St(e,t,n){!n&&dt&&(n=dt(e)??void 0);let r=null;if(n){let o=Fe.get(n);o&&(r=o.get(t))}return r||(r=Ut.get(t)),r}function lr(e,t){for(let n in e){const r=e[n];Zt(n,r,t)}}function ur(e){Fe.delete(e)}function cr(){return{top:0,left:0,bottom:0,right:0}}function fr(){if(_e){const e=document.documentElement.clientWidth||document.body.clientWidth,t=document.documentElement.clientHeight||document.body.clientHeight;return{width:e,height:t,headerHeight:44,footerHeight:44}}else return{width:"100%",height:"100%",headerHeight:44,footerHeight:44}}class dr{packages;installers;_version;get version(){return this._version}constructor(t,n,r){this.packages=t,this.installers=n,this._version=r}install(t,n={}){this.packages.forEach(s=>{s.install?t.use(s):s.name&&t.component(s.name,s)}),this.installers.forEach(s=>{s(t)});const r=["safeAreaInset","pageLayout","headerBarHeight","footerBarHeight"],o=Ve();if(this.initPageLayout(n,o),n.autoAdjustPageLayout!==!1&&window.ResizeObserver){const s=bt(()=>{const i={...n},c=document.documentElement.clientWidth||document.body.clientWidth,l=document.documentElement.clientHeight||document.body.clientHeight;i.width=c,i.height=l,this.initPageLayout(i,o)},150);new window.ResizeObserver(s).observe(window.document.body)}for(const s in n)r.indexOf(s)===-1&&o.set(s,n[s])}initPageLayout(t,n){const r=j.extend({},cr(),t.safeAreaInset),o=j.extend({},fr(),t.pageLayout);n=n??Ve(),n.set("safeAreaInset",r),n.set("headerBarHeight",t.headerBarHeight??0),n.set("footerBarHeight",t.footerBarHeight??0),n.set("pageLayout",o),n.set("rootWidth",o.width),n.set("rootHeight",o.height)}setScopeGetter(t){ir(t)}setAPI(t,n,r){Zt(t,n,r)}getAPI(t,n,r){return St(t,n,r)}batchSetAPI(t,n){lr(t,n)}clearScopeAPI(t){ur(t)}getRootDomain(){return Ve()}}const hr=[y.ElAffix,y.ElAlert,y.ElAutocomplete,y.ElAutoResizer,y.ElAvatar,y.ElBacktop,y.ElBadge,y.ElBreadcrumb,y.ElBreadcrumbItem,y.ElButton,y.ElButtonGroup,y.ElCalendar,y.ElCard,y.ElCarousel,y.ElCarouselItem,y.ElCascader,y.ElCascaderPanel,y.ElCheckTag,y.ElCheckbox,y.ElCheckboxButton,y.ElCheckboxGroup,y.ElCol,y.ElCollapse,y.ElCollapseItem,y.ElCollapseTransition,y.ElColorPicker,y.ElConfigProvider,y.ElContainer,y.ElAside,y.ElFooter,y.ElHeader,y.ElMain,y.ElDatePicker,y.ElDescriptions,y.ElDescriptionsItem,y.ElDialog,y.ElDivider,y.ElDrawer,y.ElDropdown,y.ElDropdownItem,y.ElDropdownMenu,y.ElEmpty,y.ElForm,y.ElFormItem,y.ElIcon,y.ElImage,y.ElImageViewer,y.ElInput,y.ElInputNumber,y.ElLink,y.ElMenu,y.ElSubMenu,y.ElMenuItem,y.ElMenuItemGroup,y.ElPageHeader,y.ElPagination,y.ElPopconfirm,y.ElPopover,y.ElPopper,y.ElProgress,y.ElRadio,y.ElRadioButton,y.ElRadioGroup,y.ElRate,y.ElResult,y.ElRow,y.ElScrollbar,y.ElSelect,y.ElOption,y.ElOptionGroup,y.ElSelectV2,y.ElSkeleton,y.ElSkeletonItem,y.ElSlider,y.ElSpace,y.ElSteps,y.ElStep,y.ElSwitch,y.ElTable,y.ElTableColumn,y.ElTableV2,y.ElTabs,y.ElTabPane,y.ElTag,y.ElTimePicker,y.ElTimeSelect,y.ElTimeline,y.ElTimelineItem,y.ElTooltip,y.ElTransfer,y.ElTree,y.ElTreeSelect,y.ElTreeV2,y.ElUpload],pr=[y.ElInfiniteScroll,y.ElLoading,y.ElMessage,y.ElMessageBox,y.ElNotification,y.ElPopoverDirective],gr=e=>{hr.forEach(t=>{let n=t.name;typeof n=="string"?(n=`Fox${n.slice(2)}`,e.component(n,t)):e.use(t)}),pr.forEach(t=>{e.use(t)})};function U(e){const t="fox-"+e;return{componentName:t,scope:e.replace("-",""),create(n){return n.baseName=e,n.name=t,n.install=r=>{r.component(n.name,n)},a.defineComponent(n)},createDemo(n){return n.baseName=e,n.name="demo-"+e,a.defineComponent(n)}}}const re={disabled:{type:[Boolean,String],required:!1},readonly:{type:[Boolean,String],required:!1},labelPosition:{type:String,required:!1},labelWidth:{type:[String,Number],required:!1},hasBorder:{type:Boolean,default:!0}},xe={prop:{type:String,required:!1},label:{type:String,required:!1},labelPosition:{type:String,required:!1},labelWidth:{type:[String,Number],required:!1},isRequired:{type:[String,Boolean],required:!1,default:!1},span:{type:[Number,String],required:!1,default:1},offset:{type:[Number],default:0},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:!1},hintProps:{type:Object,required:!1,default:{}},hasBorder:{type:Boolean,default:!0}},Xt={column:{type:[String,Number],required:!1},gutter:{type:[String,Number],required:!1},justify:{type:[String],required:!1,default:"start"},align:{type:[String],required:!1,default:"start"},flexWrap:{type:[String],default:"nowrap"}},Jt={name:{type:String,required:!1},rules:{type:[Object],required:!1},type:{type:[String],required:!1,default:"flex"},title:{type:String,default:""},span:{type:[Number,String],required:!1,default:1},offset:{type:[Number],default:0},autoLayout:{type:[Boolean],required:!1,default:!0},isWrap:{type:[Boolean],required:!1,default:!1}},Qt=[];for(const e in Jt)Qt.push(e);function ge(e,t=null){if(t||(t=a.getCurrentInstance()),t&&t.proxy){let n=t.proxy;Object.assign(n,e)}}const mr=Symbol.for("InnerPageScopeKey"),yr=(e,t)=>({props:{...re,...Xt,name:{type:String,required:!1,default:""},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}},setup(n,r){const o=wt(n.name,n);if(o){const l=Kt(o,n);ge({getPageContentHeight:()=>He(o,l),getPageContentWidth:()=>qe(o,l),getPageHeaderHeight:()=>Ke(o,l),getPageFooterHeight:()=>Ue(o,l)});const d=a.inject(mr,!1);l&&d&&(l.contentHeight="100%")}const s=a.computed(()=>({[e]:!0})),u=a.computed(()=>({})),i=a.getCurrentInstance(),c=l=>{const d=i?.proxy;d&&typeof d.fox_setNameValidateRules=="function"&&d.fox_setNameValidateRules(l,!0)};return a.watch(()=>n.rules,(l,d)=>{if(!l&&!d)return;const f=a.toRaw(d),S=a.toRaw(l),C=S?Reflect.ownKeys(S):[];(f?Reflect.ownKeys(f):[]).forEach(p=>{C.includes(p)||(S[p]=[])}),c(S)},{deep:!0}),a.onMounted(()=>{if(n.rules){const l=a.toRaw(n.rules);c(l)}}),{classes:s,styles:u}}}),{componentName:vr,create:br,scope:oa}=U("page"),$r=br(yr(vr));function wr(e,t,n,r,o,s){return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(e.classes),style:a.normalizeStyle(e.styles)},[a.renderSlot(e.$slots,"default")],6)}const Ee=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},en=Ee($r,[["render",wr]]),Sr=(e,t)=>({props:{padding:{type:[Object],required:!1}},emits:[],setup(n,r){const o=he(),s=o?Ge(o):null;s&&(s.headerMounted=!0);const u=a.computed(()=>({[e]:!0})),i=a.computed(()=>{const l={safeAreaTop:null,height:null,left:null,top:null,right:null,bottom:null};if(o&&s){const d=ee(n.padding??s.footerPadding);return Object.assign(l,d),l.height=s.headerHeight,l.safeAreaTop=s.safeAreaTop,l.safeAreaTop&&(l.top=l.safeAreaTop+(d.top??0),l.height=l.height+s.safeAreaTop),console.debug("[header] height",l.height),console.debug("[header] safeBottom",l.safeAreaTop),l}if(n.padding){const d=ee(n.padding);Object.assign(l,d)}return l});a.onUnmounted(()=>{s&&(s.headerMounted=!1)});const c=a.computed(()=>{const l={};return i.value.height&&(l.height=`${i.value.height}px`),i.value.top&&(l.paddingTop=`${i.value.top}px`),i.value.left&&(l.paddingLeft=`${i.value.left}px`),i.value.right&&(l.paddingRight=`${i.value.right}px`),i.value.bottom&&(l.paddingBottom=`${i.value.bottom}px`),l});return{classes:u,styles:c}}}),{componentName:xr,create:Er,scope:aa}=U("header-bar"),Pr=Er(Sr(xr));function Or(e,t,n,r,o,s){return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(e.classes),style:a.normalizeStyle(e.styles)},[a.renderSlot(e.$slots,"default")],6)}const tn=Ee(Pr,[["render",Or]]);function Cr(e,t){return{props:{padding:{type:[Object],required:!1},align:{type:String,required:!1,default:"center"}},setup(n,r){const o=he(),s=o?Ge(o):null;s&&(s.footerMounted=!0);const u=a.computed(()=>{const l=e;let d=e;return n.align==="left"?d=`${d}__left`:n.align==="right"?d=`${d}__right`:d=`${d}__center`,{[l]:!0,[d]:!0}}),i=a.computed(()=>{const l={safeAreaBottom:null,height:null,left:null,top:null,right:null,bottom:null};if(o&&s){const d=ee(n.padding??s.footerPadding);return Object.assign(l,d),l.safeAreaBottom=s.safeAreaBottom,l.safeAreaBottom&&(l.height=s.footerHeight+s.safeAreaBottom,l.bottom=l.safeAreaBottom+(d.bottom??0)),console.debug("[footer] height",l.height),console.debug("[footer] safeAreaBottom",l.safeAreaBottom),l}if(n.padding){const d=ee(n.padding);Object.assign(l,d)}return l});a.onUnmounted(()=>{s&&(s.footerMounted=!1)});const c=a.computed(()=>{const l={};return i.value&&(l.height=`${i.value.height}px`),i.value&&(l.paddingTop=`${i.value.top}px`),i.value&&(l.paddingLeft=`${i.value.left}px`),i.value&&(l.paddingRight=`${i.value.right}px`),i.value&&(l.paddingBottom=`${i.value.bottom}px`),l});return{classes:u,styles:c}}}}const{componentName:Nr,create:Ar,scope:sa}=U("footer-bar"),Tr=Ar(Cr(Nr));function Rr(e,t,n,r,o,s){return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(e.classes),style:a.normalizeStyle(e.styles)},[a.renderSlot(e.$slots,"default")],6)}const nn=Ee(Tr,[["render",Rr]]);function Ir(e,t){return{props:{padding:{type:[Object],required:!1}},setup(n){const r=he(),o=a.computed(()=>({[e]:!0})),s=a.computed(()=>{const u={};if(r){const i=Ge(r);if(i){if(n.padding){const f=ee(n.padding);Object.assign(i.contentPadding,f)}const c=Ke(r,i),l=Ue(r,i);let d="";if(i.contentHeight?d=`${i.contentHeight}`:d=`${i.height}px`,console.debug("[content]page height:",d),console.debug("[content]header height:",c),console.debug("[content]footer height:",l),console.debug("[content]padding:",i.contentPadding),u.height=d,i.contentPadding.top||c>0){const f=(i&&i.contentPadding&&i.contentPadding.top)??0;u.paddingTop=`${c+f}px`}if(i.contentPadding.bottom||l>0){const f=(i&&i.contentPadding&&i.contentPadding.bottom)??0;u.paddingBottom=`${l+f}px`}return i.contentPadding.left&&(u.paddingLeft=`${i.contentPadding.left}px`),i.contentPadding.right&&(u.paddingRight=`${i.contentPadding.right}px`),u}}if(n.padding){const i=ee(n.padding);i.left&&(u.paddingLeft=`${i.left}px`),i.top&&(u.paddingTop=`${i.top}px`),i.right&&(u.paddingRight=`${i.right}px`),i.bottom&&(u.paddingBottom=`${i.bottom}px`)}return u});return{classes:o,styles:s}}}}const{componentName:Vr,create:Mr,scope:ia}=U("content"),Dr=Mr(Ir(Vr));function _r(e,t,n,r,o,s){return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(e.classes),style:a.normalizeStyle(e.styles)},[a.renderSlot(e.$slots,"default")],6)}const rn=Ee(Dr,[["render",_r]]),ze="GroupStateKey",on=Symbol.for("GroupScopeKey");function Ze(){return a.inject(on,!1)}function Xe(e=!0){a.provide(on,e)}function Br(e,t={}){const n=e.get("width",-1),r={type:"form",width:n,column:-1,gutter:-1};Object.assign(r,t);const o=a.shallowRef(r),s=a.markRaw({layout:o,passport:0});return e.set(ze,s),s}function At(e,t,n=-1,r=-1,o=!1){const s=e.get(ze);if(!s)return;const u=e.get("groupLayout")??{};n===-1&&(n=u.column??1),r===-1&&(r=u.gutter??0);const i=u.minItemWidth??-1,c=()=>{const l=t===""||t===-1,d=K(t);let f=j.toNumber(n);const S=K(r);if(!l){let p=(d-(f-1)*S)/f;for(;i!==-1&&f>1&&p<i;)f--,p=(d-(f-1)*S)/f}let C=!1;const v=s.layout;v.value.width=t,v.value.column!==f&&(v.value.column=f,C=!0),v.value.gutter!==S&&(v.value.gutter=S,C=!0),C&&a.triggerRef(v)};if(o)c();else{const l=++s.passport;setTimeout(()=>{l===s.passport&&c()},50)}}function Je(e,t=!1){let n;return t?n=e.getForParent(ze):n=e.get(ze),n.layout}function de(e,t=1){return t==="stretch"?-1:t===-1?100:100*t/e}function kr(e){return e===window}const We=e=>{const t=a.unref(e);if(kr(t)){const n=t.innerWidth,r=t.innerHeight;return{top:0,left:0,right:n,bottom:r,width:n,height:r}}return t&&t.getBoundingClientRect?t.getBoundingClientRect():{top:0,left:0,right:0,bottom:0,width:0,height:0}},Re=(e,t)=>e?t?`fox-group__${e}-${t}`:"":`fox-group__${t}`,Lr=e=>{if(!e.props||e.props.span===null||e.props.span===void 0){const t=e.type,n=(t.props&&t.props.span&&t.props.span.default)??1;return typeof n=="function"?n():n}return e.props.span},Hr=e=>{if(!e.props||e.props.offset===null||e.props.offset===void 0){const n=e.type,r=(n.props&&n.props.offset&&n.props.offset.default)??0;return typeof r=="function"?r():r}const t=j.toNumber(e.props.offset);return t<0?0:t};function qr(e,t){return{props:{...re,...Xt,...Jt},setup(n,r){const o=wt(n.name,n,Qt),s=Br(o,{type:n.type}),u=Ze();Xe(!0);const i=a.getCurrentInstance(),c=M=>{const x=i?.proxy;x&&typeof x.fox_setNameValidateRules=="function"&&x.fox_setNameValidateRules(M,!0)};a.watch(()=>n.rules,(M,x)=>{if(!M&&!x)return;const g=a.toRaw(x),N=a.toRaw(M),E=N?Reflect.ownKeys(N):[];(g?Reflect.ownKeys(g):[]).forEach($=>{E.includes($)||(N[$]=[])}),c(N)},{deep:!0}),a.onMounted(()=>{if(n.rules){const M=a.toRaw(n.rules);c(M)}});const l=e,d=a.computed(()=>{if(u&&o){const M=Je(o,!0);if(M.value.type!=="flex")return{};const x={},g=de(M.value.column,n.span);g>0&&(x.width=`${g}%`);const N=de(M.value.column,n.offset);N>0&&(x["margin-left"]=`${N}%`);const E=M.value.gutter/2;return E>0&&(x["padding-left"]=`${E}px`,x["padding-right"]=`${E}px`),x}return{}}),f=a.computed(()=>n.type==="flex"?{[`${Re("",n.type)}`]:!0,[`${Re("justify",n.justify)}`]:!0,[`${Re("align",n.align)}`]:!0,[`${Re("flex",n.flexWrap)}`]:!0,[`${l}__gutter`]:!0}:{[`${Re("",n.type)}`]:!0,[`${l}__gutter`]:!0}),S=a.toRef(n,"title"),C=a.toRef(n,"gutter"),v=a.toRef(n,"column"),p=a.computed(()=>u?!0:n.isWrap),m=a.ref([]),P=M=>{m.value.push(M)},V=a.ref(-1);if(At(o,V.value,v.value,C.value,!0),n.autoLayout){a.watch([V,v,C],([x,g,N])=>{At(o,x,g,N,!1)});let M=null;a.onMounted(()=>{if(_e&&m.value&&m.value.length>0){const x=m.value[0];V.value=We(x).width,window.ResizeObserver&&(M=new window.ResizeObserver(()=>{const g=We(x).width;g>0&&g!==V.value&&(V.value=g)}),M.observe(x))}}),a.onUnmounted(()=>{M?.disconnect()})}const D=(M,x,g,N)=>{const E={...f.value};return x===0&&(E[`${l}__first`]=!0),g>=N-1&&(E[`${l}__last`]=!0),a.h("div",{ref:P,key:`${x}`,class:E},M)};return()=>{const M=[];let x=0;if(r.slots.title){const T={key:`${x++}`,class:{[`${l}__title`]:!0,[`${l}__first`]:!0}},$=a.h("div",T,[r.slots.title()]);M.push($)}else if(S.value){const T={key:`${x++}`,class:{[`${l}__title`]:!0,[`${l}__first`]:!0}},$=a.h("div",{class:{[`${l}__title-mark`]:!0}}),k=a.h("div",{class:{[`${l}__title-text`]:!0}},[S.value]),q=a.h("div",T,[$,k]);M.push(q)}const g=r.slots.default?r.slots.default():[];let N=[],E=0;if(n.type==="flex"){for(let T=0;T<g.length;T++){const $=g[T],k=Lr($),q=Hr($);if(k==="stretch"){if(E<s.layout.value.column){N.push($);const h=D([...N],x++,T,g.length);M.push(h)}else{const h=D([...N],x++,T-1,g.length);M.push(h);const A=D([$],x++,T,g.length);M.push(A)}E=0,N=[];continue}let I=j.toNumber(k);if(I===-1){if(N.length>0){const A=D([...N],x++,T-1,g.length);M.push(A)}const h=D([$],x++,T,g.length);M.push(h),E=0,N=[];continue}I>s.layout.value.column?I=s.layout.value.column:I<=0&&(I=1);const O=E+I+q;if(O>s.layout.value.column){const h=D([...N],x++,T-1,g.length);M.push(h),E=I+q,N=[$]}else N.push($),E=O}if(N.length>0){const T=D([...N],x++,g.length,g.length);M.push(T)}}else for(let T=0;T<g.length;T++){const $=g[T],k=D([$],x++,T,g.length);M.push(k)}return p.value?a.h("div",{class:{[`${l}`]:!0},style:d.value},[M]):M}}}}const{componentName:jr,create:Fr,scope:la}=U("group"),an=Fr(qr(jr)),sn={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,required:!1,default:3},separator:{type:String,required:!1,default:","},position:{type:String,default:"before"},size:{type:String,default:"large"}},{componentName:zr,create:Wr}=U("price"),Yr=Wr({props:{...sn},setup(e){const t=a.computed(()=>({[zr]:!0})),n=a.computed(()=>e.needSymbol?e.symbol:""),r=a.computed(()=>qt(e.price)==0?"":Lt(e.price,e.decimalLength,!0,e.digits,e.separator)),o=a.computed(()=>{let u=r.value;if(u.length==0)return"";let i=u.indexOf(".");return u.substring(0,i)}),s=a.computed(()=>{let u=r.value;if(u.length==0)return"";let i=u.indexOf(".");return u.substring(i+1)});return{classes:t,showSymbol:n,intText:o,decimalText:s}}}),Gr=["innerHTML"],Kr=["innerHTML"];function Ur(e,t,n,r,o,s){return a.openBlock(),a.createElementBlock("view",{class:a.normalizeClass(e.classes)},[e.needSymbol&&e.position=="before"?(a.openBlock(),a.createElementBlock("view",{key:0,class:a.normalizeClass(["fox-price--symbol",`fox-price--symbol-${e.size}`]),innerHTML:e.showSymbol},null,10,Gr)):a.createCommentVNode("",!0),a.createElementVNode("view",{class:a.normalizeClass(`fox-price--${e.size}`)},a.toDisplayString(e.intText),3),e.decimalText.length!=0?(a.openBlock(),a.createElementBlock("view",{key:1,class:a.normalizeClass(`fox-price--decimal-${e.size}`)},".",2)):a.createCommentVNode("",!0),a.createElementVNode("view",{class:a.normalizeClass(`fox-price--decimal-${e.size}`)},a.toDisplayString(e.decimalText),3),e.needSymbol&&e.position=="after"?(a.openBlock(),a.createElementBlock("view",{key:2,class:a.normalizeClass(["fox-price--symbol",`fox-price--symbol-${e.size}`]),innerHTML:e.showSymbol},null,10,Kr)):a.createCommentVNode("",!0)],2)}const Ye=Ee(Yr,[["render",Ur]]),{componentName:st,create:Zr}=U("hint-text"),Xr=Zr({components:{[Ye.name]:Ye},props:{...sn,type:{type:String,default:"number"},id:{type:String},startPoint:{type:Object},width:{type:Number},height:{type:Number,default:40},message:{type:String,default:""},visible:{type:Boolean,default:!0},unmount:{type:Function}},setup(e,t){const o=a.computed(()=>({[st]:!0})),s=a.computed(()=>({left:le(e.startPoint.x),top:le(e.startPoint.y-e.height-10-4),height:le(e.height),width:le(e.width)})),u=a.computed(()=>({[`${st}__content`]:!0})),i=a.computed(()=>({})),c=a.computed(()=>({[`${st}__arrow`]:!0})),l=a.computed(()=>({top:le(e.height)}));return{classes:o,styles:s,textClasses:u,textStyles:i,arrowClasses:c,arrowStyles:l}}}),Jr={key:1,class:"text"};function Qr(e,t,n,r,o,s){const u=a.resolveComponent("fox-price");return a.openBlock(),a.createBlock(a.Transition,{name:"hint-text-fade"},{default:a.withCtx(()=>[a.withDirectives(a.createElementVNode("div",{class:a.normalizeClass(e.classes),style:a.normalizeStyle(e.styles)},[a.createElementVNode("div",{class:a.normalizeClass(e.textClasses),style:a.normalizeStyle(e.textStyles)},[e.type=="number"?(a.openBlock(),a.createBlock(u,{key:0,price:e.message,position:"before"},null,8,["price"])):(a.openBlock(),a.createElementBlock("span",Jr,a.toDisplayString(e.message),1))],6),a.createElementVNode("div",{class:a.normalizeClass(e.arrowClasses),style:a.normalizeStyle(e.arrowStyles)},null,6)],6),[[a.vShow,e.visible]])]),_:1})}const Qe=Ee(Xr,[["render",Qr]]);class ln{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}}function eo(e){return e===window}const un=e=>{const t=a.unref(e);if(!t)return{x:0,y:0};if(eo(t))return{x:0,y:0};let n=0,r=0,o=t;for(;o!==null;)r+=o.scrollTop,n+=o.scrollLeft,o=o.parentElement;const s=t.getBoundingClientRect(),u=s.x+n,i=s.y+r;return{x:u,y:i}},ht={},to=new ln,Pe=new Map,pt=e=>{if(e){const t=document.getElementById(e);Pe.delete(e),t&&document.body.removeChild(t)}else{for(const t of Pe.keys()){const n=document.getElementById(t);n&&document.body.removeChild(n)}Pe.clear()}},no=e=>{const t=document.getElementById(e.id);if(t){const n=Pe.get(e.id);n?e={...ht,...n,...e}:e={...ht,...e};const r=a.createVNode(Qe,e);return a.render(r,t),e.id}},ro=e=>{e.unmount=pt;let t;if(e.id){if(t=e.id,Pe.has(t))return no(e)}else t=`hinttext_${to.get()}`;e={...ht,...e},e.id=t,Pe.set(t,e);const n=document.createElement("div");n.id=e.id;const r=a.createVNode(Qe,e);return a.render(r,n),document.body.appendChild(n),t},oo=e=>{if(!e){console.warn("[FoxUI HintText]: msg\u4E0D\u80FD\u4E3A\u7A7A");return}},ke={show(e,t,n={},r=!0){r&&pt(),oo(t);const o=un(e),s={x:o.x,y:o.y},i=We(e).width;return ro({...n,message:t,startPoint:s,width:i})},hide(e){pt(e)},install(e){e.config.globalProperties.$hintText=ke}},{componentName:Tt,create:ao}=U("item"),so=ao({inheritAttrs:!0,props:{...re,...xe},setup(e,t){pe({componentName:Tt,validate:!1},e.prop??e.name);const n=he(),r=Ze();Xe(!1);const o=Tt,s=a.computed(()=>({[o]:!0,[`${o}__gutter`]:!0,[`${o}__input--border`]:e.hasBorder,"is-error":!!E.value,"is-warn":!!g.value,"is-info":!!M.value})),u=a.computed(()=>{if(r&&n){const w=Je(n,!1);if(w.value.type!=="flex")return{};const R={},_=de(w.value.column,e.span);_>0&&(R.width=`${_}%`);const B=de(w.value.column,e.offset);B>0&&(R["margin-left"]=`${B}%`);const L=w.value.gutter/2;return L>0&&(R["padding-left"]=`${L}px`,R["padding-right"]=`${L}px`),R}return{}}),i=a.ref(null),c=a.computed({get:()=>i.value??j.toBoolean(e.isRequired),set:w=>{i.value=w}}),l=a.computed(()=>typeof e.label=="string"&&e.label.length>0||typeof t.slots.label=="function"),d=De(a.toRef(e,"labelPosition"),"labelPosition",je.Near),f=a.computed(()=>d&&d.value==="top"?"top":d&&d.value==="right"?"right":"left"),S=a.computed(()=>({[`${o}__main`]:!0,[`${o}__main--${f.value}`]:!0})),C=a.computed(()=>({label:!0,[`label-${f.value}`]:!0})),v=De(a.toRef(e,"labelWidth"),"labelWidth",je.Near),p=a.computed(()=>v&&v.value?{width:`${le(v.value)}`}:{}),m=a.computed(()=>({["label--string"]:!0,["label--required"]:c.value})),P=a.computed(()=>({content:!0,[e.contentClass]:!0})),V=a.computed(()=>({...e.contentStyle})),D=a.reactive({errorTip:"",errorIcon:null,warnTip:"",warnIcon:null,infoTip:"",infoIcon:null});ge({setRequired(w){c.value=w},setErrorTip(w){D.errorTip=w},setErrorIcon(w){D.errorIcon=w},setWarnTip(w){D.warnTip=w},setWarnIcon(w){D.warnIcon=w},setInfoTip(w){D.infoTip=w},setInfoIcon(w){D.infoIcon=w}});const M=a.computed(()=>e.infoTip||D.infoTip),x=a.computed(()=>e.infoIcon||D.infoIcon),g=a.computed(()=>e.warnTip||D.warnTip),N=a.computed(()=>e.warnIcon||D.warnIcon),E=a.computed(()=>e.errorTip||D.errorTip),T=a.computed(()=>e.errorIcon||D.errorIcon),$=a.computed(()=>E.value?"error":g.value?"warn":M.value?"info":""),k=a.computed(()=>$.value.length>0),q=a.computed(()=>$.value==="error"?E.value:$.value==="warn"?g.value:$.value==="info"?M.value:""),I=a.computed(()=>$.value==="error"?T.value:$.value==="warn"?N.value:$.value==="info"?x.value:null),O=a.computed(()=>{let w={[`${o}__tip`]:!0,[`${o}__tip--${$.value}`]:!0};return $.value==="error"&&e.errorClass?w[`${e.errorClass}`]=!0:$.value==="warn"&&e.warnClass?w[`${e.warnClass}`]=!0:$.value==="info"&&e.infoClass&&(w[`${e.infoClass}`]=!0),w}),h=a.computed(()=>{let w={};return d&&d.value==="top"?w["padding-left"]="0px":v&&v.value&&(w["padding-left"]=le(v.value)),w}),A=a.ref();let b="";return a.watch([()=>e.hintVisible,()=>e.hintText,()=>e.hintType,()=>e.hintProps],([w,R,_,B])=>{!A.value||(w?b?ke.show(A.value,R,{...B,id:b,type:_}):b=ke.show(A.value,R,{...B,type:_}):ke.hide(b))}),{classes:s,styles:u,mainClasses:S,hasLabel:l,labelClasses:C,labelStyles:p,labelStringClasses:m,contentClasses:P,contentStyles:V,contentRef:A,hasTip:k,mTip:q,mIcon:I,tipClasses:O,tipStyles:h}}}),io={key:0,class:"fox-item__tip-icon"},lo={class:"fox-item__tip-text"};function uo(e,t,n,r,o,s){return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(e.classes),style:a.normalizeStyle(e.styles)},[a.createElementVNode("div",{class:a.normalizeClass(e.mainClasses)},[e.hasLabel?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(e.labelClasses),style:a.normalizeStyle(e.labelStyles)},[a.createElementVNode("div",{class:a.normalizeClass(e.labelStringClasses)},[a.renderSlot(e.$slots,"label",{},()=>[a.createTextVNode(a.toDisplayString(e.label),1)])],2)],6)):a.createCommentVNode("",!0),a.createElementVNode("div",{ref:"contentRef",class:a.normalizeClass(e.contentClasses),style:a.normalizeStyle(e.contentStyles)},[a.renderSlot(e.$slots,"prepend"),a.renderSlot(e.$slots,"default"),a.renderSlot(e.$slots,"append")],6)],2),a.createVNode(a.Transition,{name:"fox-item__animate"},{default:a.withCtx(()=>[e.hasTip?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(e.tipClasses),style:a.normalizeStyle(e.tipStyles)},[e.mIcon?(a.openBlock(),a.createElementBlock("div",io,a.toDisplayString(e.mIcon),1)):a.createCommentVNode("",!0),a.createElementVNode("div",lo,a.toDisplayString(e.mTip),1)],6)):a.createCommentVNode("",!0)]),_:1}),a.renderSlot(e.$slots,"hide")],6)}const me=Ee(so,[["render",uo]]),{componentName:co,create:fo}=U("slot-item"),cn=fo({props:{span:{type:[Number,String],required:!1,default:1},offset:{type:[Number],default:0}},setup(e,t){const n=co,r=a.computed(()=>({[n]:!0})),o=he(),s=Ze();Xe(!1);const u=a.computed(()=>{if(s&&o){const i=Je(o,!1);if(i.value.type!=="flex")return{};const c={},l=de(i.value.column,e.span);l>0&&(c.width=`${l}%`);const d=de(i.value.column,e.offset);d>0&&(c["margin-left"]=`${d}%`);const f=i.value.gutter/2;return f>0&&(c["padding-left"]=`${f}px`,c["padding-right"]=`${f}px`),c}return{}});return()=>{let i={class:r.value,style:u.value};return a.h("div",i)}}}),{componentName:ho,create:po}=U("row-item"),fn=po({props:{span:{type:[Number,String],required:!1,default:-1},offset:{type:[Number],default:0},align:{type:[String],required:!1,default:"center"},contentClass:{type:[String],required:!1},contentStyle:{type:[Object]}},setup(e,t){const n=ho,r=a.computed(()=>({[n]:!0,[`${n}__${e.align}`]:!0}));let o=he();const s=Ze();Xe(!1);const u=a.computed(()=>{if(s&&o){const c=Je(o,!1);if(c.value.type!=="flex")return{};const l={},d=de(c.value.column,e.span);d>0&&(l.width=`${d}%`);const f=de(c.value.column,e.offset);f>0&&(l["margin-left"]=`${f}%`);const S=c.value.gutter/2;return S>0&&(l["padding-left"]=`${S}px`,l["padding-right"]=`${S}px`),l}return{}}),i=a.computed(()=>({[`${n}__content`]:!0}));return()=>{const c=[];t.slots.default&&c.push(t.slots.default());const l={class:i.value},d=a.h("div",l,c),f={class:r.value,style:u.value};return a.h("div",f,[d])}}}),Rt={modelValue:{type:[String,Object],required:!1},clearable:{type:[Boolean,String],default:!0},unit:{type:[String],required:!1}};function go(e,t,n){return{props:{...re,...xe,...Rt},emits:["change","update:modelValue","blur","focus","clear","input"],setup(r,o){const{emitEvent:s}=pe({componentName:e},r.prop??r.name),{toLocaleRefs:u}=Oe.useFoxI18n(t),i=u(r,["placeholder"]),c=a.ref(!1),l=Ne(a.computed(()=>r.disabled)),d=Ce(a.computed(()=>r.readonly)),f=te(r,"modelValue"),S=e,C=a.computed(()=>({[S]:!0})),v=g=>{f.value=g,s("update:modelValue",g),s("input",g)},p=g=>{s("change",g)};let m=te(r,"hintText"),P=a.ref(!1);const V=g=>{let E=g.target.value;c.value=!0,ce(m.value)||(P.value=!0),s("focus",E,g)},D=g=>{setTimeout(()=>{P.value&&(P.value=!1),c.value=!1},0);let E=g.target.value;r.maxLength&&E.length>Number(r.maxLength)&&(E=E.slice(0,Number(r.maxLength))),s("blur",E,g)},M=()=>{s("clear","")},x=a.ref();return ge({focus:()=>{x?.value.focus()},blur:()=>{x?.value.blur()},select:()=>{x?.value.select()}}),()=>{const N={...o.attrs,ref:x,class:C.value,placeholder:i.placeholder.value,clearable:r.clearable,disabled:l.value,readonly:d.value,modelValue:f.value,onClear:M,onChange:p,onInput:v,onFocus:V,onBlur:D},E={};o.slots.prepend&&(E.prepend=o.slots.prepend),o.slots.append&&(E.append=o.slots.append),o.slots.prefix&&(E.prefix=o.slots.prefix),o.slots.suffix&&(E.suffix=o.slots.suffix);const T=[],$=a.h(y.ElInput,N,E);T.push($);const k={default:()=>T};if(o.slots.default){const h=o.slots.default();k.label=()=>h}const I={...Se(r,Rt),hintText:m.value,hintVisible:P.value,prop:`${r.prop}_item`};return a.h(n,I,k)}}}}const{componentName:mo,create:yo,scope:vo}=U("input-item"),dn=yo(go(mo,vo,me));function we(e,t){return typeof e.textKey=="string"&&e.textKey.length>0?t[e.textKey]:t.text}function $e(e,t){return typeof e.valueKey=="string"&&e.valueKey.length>0?t[e.valueKey]:t.value}function hn(e,t){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?t[e.childrenKey]||null:t.children??null}class bo{proxy;constructor(t){this.proxy=t}async load(t,n,r){if(Array.isArray(n))return n;if(typeof n=="function")return await n(r);const o=St(this.proxy,t);return o===null?(console.error(`${t} component not found api function`),[]):(j.isObject(r)&&a.isReactive(r)&&(r=a.toRaw(r)),await o(n,r))}}function $o(){const e=a.getCurrentInstance();return new bo(e.proxy)}function pn(e,t,n){const r=we(e,t),o=we(e,n);if(r!==o)return!1;const s=$e(e,t),u=$e(e,n);return s===u}function gn(e,t,n,r){if(r.length==0)return[];if(t===""||t===null||t===void 0)return[];Array.isArray(t)||(t=[t]);const o=[];return t.forEach(s=>{for(let u of r){const i=hn(e,u);if(Array.isArray(i)&&i.length>0){const c=gn(e,s,n,i);Reflect.apply([].push,o,c)}else{let c=!1;if(n==="text")c=we(e,u)===s;else if(n==="item")c=pn(e,u,s);else{let l=$e(e,u);l==null&&(l=we(e,u)),c=l===s}if(c){o.push(u);break}}}}),o}function wo(e){return{text:e,value:e}}const It={modelValue:{type:[String,Object,Boolean,Number],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"},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},allowCreate:{type:Boolean,default:!1},unit:{type:[String],required:!1}};function So(e,t,n){return{props:{...re,...xe,...It},emits:["change","update:modelValue","blur","focus","clear","visible-change","remove-tag"],setup(r,o){const{emitEvent:s}=pe({componentName:e},r.prop??r.name),{toLocaleRefs:u}=Oe.useFoxI18n(t),i=u(r,["placeholder"]),c=a.ref(),l=a.ref([]),d=(h,A,b,w=!0)=>{const R=gn(r,h,A,b);let _=!0;if(R.length!==l.value.length)_=!1;else for(let B=0;B<R.length;B++){const L=R[B],F=l.value[B];if(!pn(r,L,F)){_=!1;break}}if(!_){l.value=R;let B=[],L=[];R.forEach(z=>(B.push($e(r,z)),r.valueType==="text"?L.push(we(r,z)):r.valueType==="item"?L.push(z):L.push($e(r,z)),$e(r,z)));let F;r.multiple?(c.value=B,F=a.toRaw(L)):(c.value=B[0]??"",F=a.toRaw(L[0]??"")),w&&(s("update:modelValue",F),s("change",F))}},f=a.ref([]),S=$o();a.watchEffect(async()=>{if(r.source){let h=await S.load("select",r.source,r.params);if(h.length>0)if(typeof h[0]=="string"){let w=h.map(R=>wo(R));f.value=w}else f.value=h}}),a.watch([()=>f.value,()=>r.modelValue],([h,A])=>{d(A,r.valueType,h,!1)});let C=null,v=a.ref(!1);typeof r.remoteMethod=="function"&&(C=async h=>{if(h!=null){v.value=!0;try{const A=await r.remoteMethod(h);f.value=A}catch(A){console.error(A)}v.value=!1}});const p=a.ref(!1),m=Ne(a.computed(()=>r.disabled)),P=Ce(a.computed(()=>r.readonly)),V=e,D=a.computed(()=>({[V]:!0})),M=h=>{r.allowCreate?(s("update:modelValue",h),s("change",h),c.value=h):d(h,"value",f.value,!0)};let x=te(r,"hintText"),g=a.ref(!1);const N=h=>{let b=h.target.value;p.value=!0,ce(x.value)||(g.value=!0),s("focus",b,h)},E=h=>{setTimeout(()=>{g.value&&(g.value=!1),p.value=!1},0);let b=h.target.value;r.maxLength&&b.length>Number(r.maxLength)&&(b=b.slice(0,Number(r.maxLength))),$.value?setTimeout(()=>{s("blur",b,h)},50):s("blur",b,h)},T=()=>{s("clear","")},$=a.ref(!1),k=h=>{$.value=h,s("visible-change",h)},q=h=>{s("remove-tag",h)},I=(h,A)=>{const b=[];return h.forEach((w,R)=>{const _=hn(r,w);if(Array.isArray(_)&&_.length>0){const B=I(_,A),L=we(r,w),z={key:`${L}_${R}`,label:L};b.push(a.h(y.ElOptionGroup,z,{default:()=>B}))}else{const B=$e(r,w),L=we(r,w),F=j.toBoolean(w.disabled),X={key:`${B}_${R}`,label:L,disabled:F,value:B};typeof A=="function"||b.push(a.h(y.ElOption,X))}}),b},O=a.ref();return ge({focus:()=>{O?.value.focus()},blur:()=>{O?.value.blur()}}),()=>{const A={...o.attrs,ref:O,class:D.value,clearable:r.clearable,multiple:r.multiple,placeholder:i.placeholder.value,disabled:m.value||P.value,modelValue:c.value,["value-key"]:r.valueKey,["allow-create"]:r.allowCreate,onClear:T,onChange:M,onFocus:N,onBlur:E,onVisibleChange:k,onRemoveTag:q};typeof C=="function"&&(A["remote-method"]=C,A.loading=v.value);const b={};o.slots.prefix&&(b.prefix=o.slots.prefix),o.slots.empty&&(b.empty=o.slots.empty),b.default=()=>I(f.value,o.slots.option);const w=[],R=a.h(y.ElSelect,A,b);w.push(R);const _={default:()=>w};if(o.slots.default){const z=o.slots.default();_.label=()=>z}const L={...Se(r,It),hintText:x.value,hintVisible:g.value,prop:`${r.prop}_item`};return a.h(n,L,_)}}}}const{componentName:xo,create:Eo,scope:Po}=U("select-item"),mn=Eo(So(xo,Po,me)),Vt={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1}};function Oo(e,t,n){return{props:{...re,...xe,...Vt},emits:["change","update:modelValue","blur","focus","clear","visible-change","calendar-change","panel-change"],setup(r,o){const{emitEvent:s}=pe({componentName:e},r.prop??r.name),{toLocaleRefs:u}=Oe.useFoxI18n(t),i=u(r,["placeholder"]),c=a.ref(!1),l=Ne(a.computed(()=>r.disabled)),d=Ce(a.computed(()=>r.readonly)),f=te(r,"modelValue"),S=e,C=a.computed(()=>({[S]:!0})),v=E=>{f.value=E,s("update:modelValue",E),s("change",E)};let p=te(r,"hintText"),m=a.ref(!1);const P=E=>{let $=E.target.value;c.value=!0,ce(p.value)||(m.value=!0),s("focus",$,E)},V=E=>{setTimeout(()=>{m.value&&(m.value=!1),c.value=!1},0);let $=E.target.value;r.maxLength&&$.length>Number(r.maxLength)&&($=$.slice(0,Number(r.maxLength))),s("blur",$,E)},D=()=>{s("clear","")},M=E=>{s("calendar-change",E)},x=(E,T,$)=>{s("panel-change",E,T,$)},g=E=>{s("visible-change",E)},N=a.ref();return ge({focus:()=>{N?.value.focus()},blur:()=>{N?.value.blur()},handleOpen:()=>{N?.value.handleOpen()},handleClose:()=>{N?.value.handleClose()}}),()=>{const T={...o.attrs,ref:N,class:C.value,placeholder:i.placeholder.value,disabled:l.value,readonly:d.value,modelValue:f.value,["onUpdate:modelValue"]:v,onClear:D,onFocus:P,onBlur:V,onCalendarChange:M,onPanelChange:x,onVisibleChange:g},$={};o.slots["range-separator"]&&($["range-separator"]=o.slots["range-separator"]),o.slots.cell&&($.default=o.slots.cell);const k=[],q=a.h(y.ElDatePicker,T,$);k.push(q);const I={default:()=>k};if(o.slots.default){const b=o.slots.default();I.label=()=>b}const h={...Se(r,Vt),hintText:p.value,hintVisible:m.value,prop:`${r.prop}_item`};return a.h(n,h,I)}}}}const{componentName:Co,create:No,scope:Ao}=U("date-item"),yn=No(Oo(Co,Ao,me)),Mt={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1}};function To(e,t,n){return{props:{...re,...xe,...Mt},emits:["change","update:modelValue","blur","focus","clear","visible-change"],setup(r,o){const{emitEvent:s}=pe({componentName:e},r.prop??r.name),{toLocaleRefs:u}=Oe.useFoxI18n(t),i=u(r,["placeholder"]),c=a.ref(!1),l=Ne(a.computed(()=>r.disabled)),d=Ce(a.computed(()=>r.readonly)),f=te(r,"modelValue"),S=e,C=a.computed(()=>({[S]:!0})),v=g=>{f.value=g,s("update:modelValue",g),s("change",g)};let p=te(r,"hintText"),m=a.ref(!1);const P=g=>{let E=g.target.value;c.value=!0,ce(p.value)||(m.value=!0),s("focus",E,g)},V=g=>{setTimeout(()=>{m.value&&(m.value=!1),c.value=!1},0);let E=g.target.value;r.maxLength&&E.length>Number(r.maxLength)&&(E=E.slice(0,Number(r.maxLength))),s("blur",E,g)},D=()=>{s("clear","")},M=g=>{s("visible-change",g)},x=a.ref();return ge({focus:()=>{x?.value.focus()},blur:()=>{x?.value.blur()},handleOpen:()=>{x?.value.handleOpen()},handleClose:()=>{x?.value.handleClose()}}),()=>{const N={...o.attrs,ref:x,class:C.value,placeholder:i.placeholder.value,disabled:l.value,readonly:d.value,modelValue:f.value,["onUpdate:modelValue"]:v,onClear:D,onFocus:P,onBlur:V,onVisibleChange:M},E={},T=[],$=a.h(y.ElTimePicker,N,E);T.push($);const k={default:()=>T};if(o.slots.default){const h=o.slots.default();k.label=()=>h}const I={...Se(r,Mt),hintText:p.value,hintVisible:m.value,prop:`${r.prop}_item`};return a.h(n,I,k)}}}}const{componentName:Ro,create:Io,scope:Vo}=U("time-item"),vn=Io(To(Ro,Vo,me)),Dt={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1}};function Mo(e,t,n){return{props:{...re,...xe,...Dt},emits:["change","update:modelValue","blur","focus","clear"],setup(r,o){const{emitEvent:s}=pe({componentName:e},r.prop??r.name),{toLocaleRefs:u}=Oe.useFoxI18n(t),i=u(r,["placeholder"]),c=a.ref(!1),l=Ne(a.computed(()=>r.disabled)),d=Ce(a.computed(()=>r.readonly)),f=te(r,"modelValue"),S=e,C=a.computed(()=>({[S]:!0})),v=x=>{f.value=x,s("update:modelValue",x),s("change",x)};let p=te(r,"hintText"),m=a.ref(!1);const P=x=>{let N=x.target.value;c.value=!0,ce(p.value)||(m.value=!0),s("focus",N,x)},V=x=>{setTimeout(()=>{m.value&&(m.value=!1),c.value=!1},0);let N=x.target.value;r.maxLength&&N.length>Number(r.maxLength)&&(N=N.slice(0,Number(r.maxLength))),s("blur",N,x)},D=()=>{s("clear","")},M=a.ref();return ge({focus:()=>{M?.value.focus()},blur:()=>{M?.value.blur()},handleOpen:()=>{M?.value.handleOpen()},handleClose:()=>{M?.value.handleClose()}}),()=>{const g={...o.attrs,ref:M,class:C.value,placeholder:i.placeholder.value,disabled:l.value,readonly:d.value,modelValue:f.value,["onUpdate:modelValue"]:v,onClear:D,onFocus:P,onBlur:V},N={},E=[],T=a.h(y.ElTimeSelect,g,N);E.push(T);const $={default:()=>E};if(o.slots.default){const O=o.slots.default();$.label=()=>O}const q={...Se(r,Dt),hintText:p.value,hintVisible:m.value,prop:`${r.prop}_item`};return a.h(n,q,$)}}}}const{componentName:Do,create:_o,scope:Bo}=U("time-select-item"),bn=_o(Mo(Do,Bo,me));class ko{proxy;constructor(t){this.proxy=t}async load(t,n,r,o,s,u,i){if(Array.isArray(n)){let l=(r-1)*o,d=l+o;d>n.length&&(d=n.length);const f=n.slice(l,d);return{totalSize:n.length,page:f}}if(typeof n=="function")return await Reflect.apply(n,null,[r,o,s,u,i]);const c=St(this.proxy,t);return c===null?(console.error(`${t} component not found api function`),{totalSize:0,page:[]}):(j.isObject(s)&&a.isReactive(s)&&(s=a.toRaw(s)),await await Reflect.apply(c,null,[n,r,o,s,u,i]))}}function Lo(){const e=a.getCurrentInstance();return new ko(e.proxy)}const _t={data:{type:[String,Array,Function],required:!0},baseParams:{type:[String,Object]},params:{type:[String,Object]}},Bt={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"},paginationVisible:{type:[Boolean],required:!1,default:!0},hideOnSinglePage:{type:[Boolean],required:!1,default:!0}};function Ho(e,t,n){return{props:{...re,...xe,..._t,...Bt},emits:["change","page-size-change","page-index-change"],setup(r,o){const{locale:s}=Oe.useFoxI18n(t),{emitEvent:u}=pe({componentName:e},r.prop??r.name),i=e,c=a.computed(()=>({[i]:!0})),l=a.computed(()=>({[`${i}__pagination`]:!0,[`${i}__pagination__${r.paginationAlign}`]:!0})),d=a.ref(r.pageIndex);a.watch(()=>r.pageIndex,g=>{d.value=g});const f=g=>{d.value=g,u("page-index-change",g)},S=a.ref(r.pageSize);a.watch(()=>r.pageSize,g=>{S.value=g});const C=g=>{S.value=g,u("page-size-change",g)},v=a.computed(()=>({...r.params??{},...r.baseParams??{}})),p=a.ref(0),m=a.ref(),P=Lo();let V=!0;const D=async(g,N,E,T,$=!1)=>{try{const k=await P.load("table",g,N,E,T,$,s.value);p.value=k.totalSize,m.value=k.page}catch(k){console.error("[FoxUI] Load Table Data Fail",k),p.value=0,m.value=[]}};a.watch([()=>r.data,d,S,v],([g,N,E,T],[$,k,q,I])=>{E!==q&&(d.value=1,N=1),g!==$&&(V=!0),D(g,N,E,T,V)},{immediate:!0});const M=()=>{setTimeout(()=>{D(r.data,d.value,S.value,v.value,V)},0)},x=a.ref();return o.expose({clearSelection:()=>x?.value.clearSelection(),getSelectionRows:()=>x?.value.getSelectionRows(),toggleRowSelection:(g,N)=>{x?.value.toggleRowSelection(g,N)},toggleAllSelection:()=>{x?.value.toggleAllSelection()},toggleRowExpansion:(g,N)=>{x?.value.toggleRowExpansion(g,N)},setCurrentRow:g=>{x?.value.setCurrentRow(g)},clearSort:()=>{x?.value.clearSort()},clearFilter:g=>{x?.value.clearFilter(g)},doLayout:()=>{x?.value.doLayout()},sort:(g,N)=>{x?.value.sort(g,N)},scrollTo:(g,N)=>{x?.value.scrollTo(g,N)},setScrollTop:g=>{x?.value.setScrollTop(g)},setScrollLeft:g=>{x?.value.setScrollLeft(g)},refresh:M}),()=>{const N={...o.attrs,data:m.value,ref:x,class:c.value},E={};o.slots.default&&(E.default=o.slots.default),o.slots.append&&(E.append=o.slots.append),o.slots.empty&&(E.empty=o.slots.empty);const T=[],$=a.h(y.ElTable,N,E);if(T.push($),typeof o.slots.pagination=="function"){const h=o.slots.pagination();T.push(h)}else if(r.paginationVisible){const h={class:l.value,total:p.value,pageSize:S.value,["onUpdate:pageSize"]:C,pageSizes:r.pageSizes,currentPage:d.value,["onUpdate:currentPage"]:f,hideOnSinglePage:r.hideOnSinglePage,layout:r.paginationLayout,small:!0},A=a.h(y.ElPagination,h);T.push(A)}const k={default:()=>T},I={...Se(r,_t,Bt),prop:`${r.prop}_item`};return I.contentClass=`${i}__wrap`,a.h(n,I,k)}}}}const{componentName:qo,create:jo,scope:Fo}=U("table-item"),$n=jo(Ho(qo,Fo,me)),zo=Symbol.for("InnerPageScopeKey");function Wo(e,t){return{props:{draggable:{type:[Boolean],default:!0},appendToBody:{type:[Boolean],default:!0},closeOnClickModal:{type:[Boolean],default:!1},closeOnPressEscape:{type:[Boolean],default:!1},beforeClose:{type:[Function]}},setup(n,r){a.provide(zo,!0);const o=a.ref(!0),s=u=>{o.value=u};return()=>{const i={...r.attrs,draggable:n.draggable,modelValue:o.value,"onUpdate:modelValue":s,"append-to-body":n.appendToBody,"close-on-click-modal":n.closeOnClickModal,"close-on-press-escape":n.closeOnPressEscape,"before-close":n.beforeClose},c={};if(typeof r.slots.default=="function"){const l=r.slots.default();c.default=()=>l}return a.h(y.ElDialog,i,c)}}}}const{componentName:ua,create:Yo,scope:ca}=U("dialog-item"),wn=Yo(Wo());var oe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Sn={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(oe,function(){var n=1e3,r=6e4,o=36e5,s="millisecond",u="second",i="minute",c="hour",l="day",d="week",f="month",S="quarter",C="year",v="date",p="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,P=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,V={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("_")},D=function(I,O,h){var A=String(I);return!A||A.length>=O?I:""+Array(O+1-A.length).join(h)+I},M={s:D,z:function(I){var O=-I.utcOffset(),h=Math.abs(O),A=Math.floor(h/60),b=h%60;return(O<=0?"+":"-")+D(A,2,"0")+":"+D(b,2,"0")},m:function I(O,h){if(O.date()<h.date())return-I(h,O);var A=12*(h.year()-O.year())+(h.month()-O.month()),b=O.clone().add(A,f),w=h-b<0,R=O.clone().add(A+(w?-1:1),f);return+(-(A+(h-b)/(w?b-R:R-b))||0)},a:function(I){return I<0?Math.ceil(I)||0:Math.floor(I)},p:function(I){return{M:f,y:C,w:d,d:l,D:v,h:c,m:i,s:u,ms:s,Q:S}[I]||String(I||"").toLowerCase().replace(/s$/,"")},u:function(I){return I===void 0}},x="en",g={};g[x]=V;var N=function(I){return I instanceof k},E=function I(O,h,A){var b;if(!O)return x;if(typeof O=="string"){var w=O.toLowerCase();g[w]&&(b=w),h&&(g[w]=h,b=w);var R=O.split("-");if(!b&&R.length>1)return I(R[0])}else{var _=O.name;g[_]=O,b=_}return!A&&b&&(x=b),b||!A&&x},T=function(I,O){if(N(I))return I.clone();var h=typeof O=="object"?O:{};return h.date=I,h.args=arguments,new k(h)},$=M;$.l=E,$.i=N,$.w=function(I,O){return T(I,{locale:O.$L,utc:O.$u,x:O.$x,$offset:O.$offset})};var k=function(){function I(h){this.$L=E(h.locale,null,!0),this.parse(h)}var O=I.prototype;return O.parse=function(h){this.$d=function(A){var b=A.date,w=A.utc;if(b===null)return new Date(NaN);if($.u(b))return new Date;if(b instanceof Date)return new Date(b);if(typeof b=="string"&&!/Z$/i.test(b)){var R=b.match(m);if(R){var _=R[2]-1||0,B=(R[7]||"0").substring(0,3);return w?new Date(Date.UTC(R[1],_,R[3]||1,R[4]||0,R[5]||0,R[6]||0,B)):new Date(R[1],_,R[3]||1,R[4]||0,R[5]||0,R[6]||0,B)}}return new Date(b)}(h),this.$x=h.x||{},this.init()},O.init=function(){var h=this.$d;this.$y=h.getFullYear(),this.$M=h.getMonth(),this.$D=h.getDate(),this.$W=h.getDay(),this.$H=h.getHours(),this.$m=h.getMinutes(),this.$s=h.getSeconds(),this.$ms=h.getMilliseconds()},O.$utils=function(){return $},O.isValid=function(){return this.$d.toString()!==p},O.isSame=function(h,A){var b=T(h);return this.startOf(A)<=b&&b<=this.endOf(A)},O.isAfter=function(h,A){return T(h)<this.startOf(A)},O.isBefore=function(h,A){return this.endOf(A)<T(h)},O.$g=function(h,A,b){return $.u(h)?this[A]:this.set(b,h)},O.unix=function(){return Math.floor(this.valueOf()/1e3)},O.valueOf=function(){return this.$d.getTime()},O.startOf=function(h,A){var b=this,w=!!$.u(A)||A,R=$.p(h),_=function(Q,Y){var J=$.w(b.$u?Date.UTC(b.$y,Y,Q):new Date(b.$y,Y,Q),b);return w?J:J.endOf(l)},B=function(Q,Y){return $.w(b.toDate()[Q].apply(b.toDate("s"),(w?[0,0,0,0]:[23,59,59,999]).slice(Y)),b)},L=this.$W,F=this.$M,z=this.$D,X="set"+(this.$u?"UTC":"");switch(R){case C:return w?_(1,0):_(31,11);case f:return w?_(1,F):_(0,F+1);case d:var ve=this.$locale().weekStart||0,ae=(L<ve?L+7:L)-ve;return _(w?z-ae:z+(6-ae),F);case l:case v:return B(X+"Hours",0);case c:return B(X+"Minutes",1);case i:return B(X+"Seconds",2);case u:return B(X+"Milliseconds",3);default:return this.clone()}},O.endOf=function(h){return this.startOf(h,!1)},O.$set=function(h,A){var b,w=$.p(h),R="set"+(this.$u?"UTC":""),_=(b={},b[l]=R+"Date",b[v]=R+"Date",b[f]=R+"Month",b[C]=R+"FullYear",b[c]=R+"Hours",b[i]=R+"Minutes",b[u]=R+"Seconds",b[s]=R+"Milliseconds",b)[w],B=w===l?this.$D+(A-this.$W):A;if(w===f||w===C){var L=this.clone().set(v,1);L.$d[_](B),L.init(),this.$d=L.set(v,Math.min(this.$D,L.daysInMonth())).$d}else _&&this.$d[_](B);return this.init(),this},O.set=function(h,A){return this.clone().$set(h,A)},O.get=function(h){return this[$.p(h)]()},O.add=function(h,A){var b,w=this;h=Number(h);var R=$.p(A),_=function(F){var z=T(w);return $.w(z.date(z.date()+Math.round(F*h)),w)};if(R===f)return this.set(f,this.$M+h);if(R===C)return this.set(C,this.$y+h);if(R===l)return _(1);if(R===d)return _(7);var B=(b={},b[i]=r,b[c]=o,b[u]=n,b)[R]||1,L=this.$d.getTime()+h*B;return $.w(L,this)},O.subtract=function(h,A){return this.add(-1*h,A)},O.format=function(h){var A=this,b=this.$locale();if(!this.isValid())return b.invalidDate||p;var w=h||"YYYY-MM-DDTHH:mm:ssZ",R=$.z(this),_=this.$H,B=this.$m,L=this.$M,F=b.weekdays,z=b.months,X=function(Y,J,se,ie){return Y&&(Y[J]||Y(A,w))||se[J].slice(0,ie)},ve=function(Y){return $.s(_%12||12,Y,"0")},ae=b.meridiem||function(Y,J,se){var ie=Y<12?"AM":"PM";return se?ie.toLowerCase():ie},Q={YY:String(this.$y).slice(-2),YYYY:this.$y,M:L+1,MM:$.s(L+1,2,"0"),MMM:X(b.monthsShort,L,z,3),MMMM:X(z,L),D:this.$D,DD:$.s(this.$D,2,"0"),d:String(this.$W),dd:X(b.weekdaysMin,this.$W,F,2),ddd:X(b.weekdaysShort,this.$W,F,3),dddd:F[this.$W],H:String(_),HH:$.s(_,2,"0"),h:ve(1),hh:ve(2),a:ae(_,B,!0),A:ae(_,B,!1),m:String(B),mm:$.s(B,2,"0"),s:String(this.$s),ss:$.s(this.$s,2,"0"),SSS:$.s(this.$ms,3,"0"),Z:R};return w.replace(P,function(Y,J){return J||Q[Y]||R.replace(":","")})},O.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},O.diff=function(h,A,b){var w,R=$.p(A),_=T(h),B=(_.utcOffset()-this.utcOffset())*r,L=this-_,F=$.m(this,_);return F=(w={},w[C]=F/12,w[f]=F,w[S]=F/3,w[d]=(L-B)/6048e5,w[l]=(L-B)/864e5,w[c]=L/o,w[i]=L/r,w[u]=L/n,w)[R]||L,b?F:$.a(F)},O.daysInMonth=function(){return this.endOf(f).$D},O.$locale=function(){return g[this.$L]},O.locale=function(h,A){if(!h)return this.$L;var b=this.clone(),w=E(h,A,!0);return w&&(b.$L=w),b},O.clone=function(){return $.w(this.$d,this)},O.toDate=function(){return new Date(this.valueOf())},O.toJSON=function(){return this.isValid()?this.toISOString():null},O.toISOString=function(){return this.$d.toISOString()},O.toString=function(){return this.$d.toUTCString()},I}(),q=k.prototype;return T.prototype=q,[["$ms",s],["$s",u],["$m",i],["$H",c],["$W",l],["$M",f],["$y",C],["$D",v]].forEach(function(I){q[I[1]]=function(O){return this.$g(O,I[0],I[1])}}),T.extend=function(I,O){return I.$i||(I(O,k,T),I.$i=!0),T},T.locale=E,T.isDayjs=N,T.unix=function(I){return T(1e3*I)},T.en=g[x],T.Ls=g,T.p={},T})})(Sn);const ye=Sn.exports;var xn={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(oe,function(){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"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,o=/\d\d/,s=/\d\d?/,u=/\d*[^-_:/,()\s\d]+/,i={},c=function(p){return(p=+p)+(p>68?1900:2e3)},l=function(p){return function(m){this[p]=+m}},d=[/[+-]\d\d:?(\d\d)?|Z/,function(p){(this.zone||(this.zone={})).offset=function(m){if(!m||m==="Z")return 0;var P=m.match(/([+-]|\d\d)/g),V=60*P[1]+(+P[2]||0);return V===0?0:P[0]==="+"?-V:V}(p)}],f=function(p){var m=i[p];return m&&(m.indexOf?m:m.s.concat(m.f))},S=function(p,m){var P,V=i.meridiem;if(V){for(var D=1;D<=24;D+=1)if(p.indexOf(V(D,0,m))>-1){P=D>12;break}}else P=p===(m?"pm":"PM");return P},C={A:[u,function(p){this.afternoon=S(p,!1)}],a:[u,function(p){this.afternoon=S(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:[s,l("seconds")],ss:[s,l("seconds")],m:[s,l("minutes")],mm:[s,l("minutes")],H:[s,l("hours")],h:[s,l("hours")],HH:[s,l("hours")],hh:[s,l("hours")],D:[s,l("day")],DD:[o,l("day")],Do:[u,function(p){var m=i.ordinal,P=p.match(/\d+/);if(this.day=P[0],m)for(var V=1;V<=31;V+=1)m(V).replace(/\[|\]/g,"")===p&&(this.day=V)}],M:[s,l("month")],MM:[o,l("month")],MMM:[u,function(p){var m=f("months"),P=(f("monthsShort")||m.map(function(V){return V.slice(0,3)})).indexOf(p)+1;if(P<1)throw new Error;this.month=P%12||P}],MMMM:[u,function(p){var m=f("months").indexOf(p)+1;if(m<1)throw new Error;this.month=m%12||m}],Y:[/[+-]?\d+/,l("year")],YY:[o,function(p){this.year=c(p)}],YYYY:[/\d{4}/,l("year")],Z:d,ZZ:d};function v(p){var m,P;m=p,P=i&&i.formats;for(var V=(p=m.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(T,$,k){var q=k&&k.toUpperCase();return $||P[k]||n[k]||P[q].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(I,O,h){return O||h.slice(1)})})).match(r),D=V.length,M=0;M<D;M+=1){var x=V[M],g=C[x],N=g&&g[0],E=g&&g[1];V[M]=E?{regex:N,parser:E}:x.replace(/^\[|\]$/g,"")}return function(T){for(var $={},k=0,q=0;k<D;k+=1){var I=V[k];if(typeof I=="string")q+=I.length;else{var O=I.regex,h=I.parser,A=T.slice(q),b=O.exec(A)[0];h.call($,b),T=T.replace(b,"")}}return function(w){var R=w.afternoon;if(R!==void 0){var _=w.hours;R?_<12&&(w.hours+=12):_===12&&(w.hours=0),delete w.afternoon}}($),$}}return function(p,m,P){P.p.customParseFormat=!0,p&&p.parseTwoDigitYear&&(c=p.parseTwoDigitYear);var V=m.prototype,D=V.parse;V.parse=function(M){var x=M.date,g=M.utc,N=M.args;this.$u=g;var E=N[1];if(typeof E=="string"){var T=N[2]===!0,$=N[3]===!0,k=T||$,q=N[2];$&&(q=N[2]),i=this.$locale(),!T&&q&&(i=P.Ls[q]),this.$d=function(A,b,w){try{if(["x","X"].indexOf(b)>-1)return new Date((b==="X"?1e3:1)*A);var R=v(b)(A),_=R.year,B=R.month,L=R.day,F=R.hours,z=R.minutes,X=R.seconds,ve=R.milliseconds,ae=R.zone,Q=new Date,Y=L||(_||B?1:Q.getDate()),J=_||Q.getFullYear(),se=0;_&&!B||(se=B>0?B-1:Q.getMonth());var ie=F||0,et=z||0,tt=X||0,nt=ve||0;return ae?new Date(Date.UTC(J,se,Y,ie,et,tt,nt+60*ae.offset*1e3)):w?new Date(Date.UTC(J,se,Y,ie,et,tt,nt)):new Date(J,se,Y,ie,et,tt,nt)}catch{return new Date("")}}(x,E,g),this.init(),q&&q!==!0&&(this.$L=this.locale(q).$L),k&&x!=this.format(E)&&(this.$d=new Date("")),i={}}else if(E instanceof Array)for(var I=E.length,O=1;O<=I;O+=1){N[1]=E[O-1];var h=P.apply(this,N);if(h.isValid()){this.$d=h.$d,this.$L=h.$L,this.init();break}O===I&&(this.$d=new Date(""))}else D.call(this,M)}}})})(xn);const Go=xn.exports;var En={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(oe,function(){return function(n,r,o){var s=r.prototype,u=s.format;o.en.ordinal=function(i){var c=["th","st","nd","rd"],l=i%100;return"["+i+(c[(l-20)%10]||c[l]||c[0])+"]"},s.format=function(i){var c=this,l=this.$locale();if(!this.isValid())return u.bind(this)(i);var d=this.$utils(),f=(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(S){switch(S){case"Q":return Math.ceil((c.$M+1)/3);case"Do":return l.ordinal(c.$D);case"gggg":return c.weekYear();case"GGGG":return c.isoWeekYear();case"wo":return l.ordinal(c.week(),"W");case"w":case"ww":return d.s(c.week(),S==="w"?1:2,"0");case"W":case"WW":return d.s(c.isoWeek(),S==="W"?1:2,"0");case"k":case"kk":return d.s(String(c.$H===0?24:c.$H),S==="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 S}});return u.bind(this)(f)}}})})(En);const Ko=En.exports;var Pn={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(oe,function(){return function(n,r,o){var s=r.prototype,u=function(f){return f&&(f.indexOf?f:f.s)},i=function(f,S,C,v,p){var m=f.name?f:f.$locale(),P=u(m[S]),V=u(m[C]),D=P||V.map(function(x){return x.slice(0,v)});if(!p)return D;var M=m.weekStart;return D.map(function(x,g){return D[(g+(M||0))%7]})},c=function(){return o.Ls[o.locale()]},l=function(f,S){return f.formats[S]||function(C){return C.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(v,p,m){return p||m.slice(1)})}(f.formats[S.toUpperCase()])},d=function(){var f=this;return{months:function(S){return S?S.format("MMMM"):i(f,"months")},monthsShort:function(S){return S?S.format("MMM"):i(f,"monthsShort","months",3)},firstDayOfWeek:function(){return f.$locale().weekStart||0},weekdays:function(S){return S?S.format("dddd"):i(f,"weekdays")},weekdaysMin:function(S){return S?S.format("dd"):i(f,"weekdaysMin","weekdays",2)},weekdaysShort:function(S){return S?S.format("ddd"):i(f,"weekdaysShort","weekdays",3)},longDateFormat:function(S){return l(f.$locale(),S)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};s.localeData=function(){return d.bind(this)()},o.localeData=function(){var f=c();return{firstDayOfWeek:function(){return f.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(S){return l(f,S)},meridiem:f.meridiem,ordinal:f.ordinal}},o.months=function(){return i(c(),"months")},o.monthsShort=function(){return i(c(),"monthsShort","months",3)},o.weekdays=function(f){return i(c(),"weekdays",null,null,f)},o.weekdaysShort=function(f){return i(c(),"weekdaysShort","weekdays",3,f)},o.weekdaysMin=function(f){return i(c(),"weekdaysMin","weekdays",2,f)}}})})(Pn);const Uo=Pn.exports;var On={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(oe,function(){var n="week",r="year";return function(o,s,u){var i=s.prototype;i.week=function(c){if(c===void 0&&(c=null),c!==null)return this.add(7*(c-this.week()),"day");var l=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var d=u(this).startOf(r).add(1,r).date(l),f=u(this).endOf(n);if(d.isBefore(f))return 1}var S=u(this).startOf(r).date(l).startOf(n).subtract(1,"millisecond"),C=this.diff(S,n,!0);return C<0?u(this).startOf("week").week():Math.ceil(C)},i.weeks=function(c){return c===void 0&&(c=null),this.week(c)}}})})(On);const Zo=On.exports;var Cn={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(oe,function(){return function(n,r){r.prototype.weekYear=function(){var o=this.month(),s=this.week(),u=this.year();return s===1&&o===11?u+1:o===0&&s>=52?u-1:u}}})})(Cn);const Xo=Cn.exports;var Nn={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(oe,function(){return function(n,r,o){r.prototype.dayOfYear=function(s){var u=Math.round((o(this).startOf("day")-o(this).startOf("year"))/864e5)+1;return s==null?u:this.add(s-u,"day")}}})})(Nn);const Jo=Nn.exports;var An={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(oe,function(){return function(n,r){r.prototype.isSameOrAfter=function(o,s){return this.isSame(o,s)||this.isAfter(o,s)}}})})(An);const Qo=An.exports;var Tn={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(oe,function(){return function(n,r){r.prototype.isSameOrBefore=function(o,s){return this.isSame(o,s)||this.isBefore(o,s)}}})})(Tn);const ea=Tn.exports;ye.extend(Uo);ye.extend(Ko);ye.extend(Go);ye.extend(Zo);ye.extend(Xo);ye.extend(Jo);ye.extend(Qo);ye.extend(ea);const ta=[en,tn,nn,rn,an,me,cn,fn,Qe,dn,mn,yn,vn,bn,$n,wn,Ye],na=new dr(ta,[gr],"4.0.0");Object.defineProperty(exports,"clone",{enumerable:!0,get:()=>j.clone});Object.defineProperty(exports,"extend",{enumerable:!0,get:()=>j.extend});Object.defineProperty(exports,"isArray",{enumerable:!0,get:()=>j.isArray});Object.defineProperty(exports,"isDate",{enumerable:!0,get:()=>j.isDate});Object.defineProperty(exports,"isESModule",{enumerable:!0,get:()=>j.isESModule});Object.defineProperty(exports,"isEqual",{enumerable:!0,get:()=>j.isEqual});Object.defineProperty(exports,"isFunction",{enumerable:!0,get:()=>j.isFunction});Object.defineProperty(exports,"isMap",{enumerable:!0,get:()=>j.isMap});Object.defineProperty(exports,"isObject",{enumerable:!0,get:()=>j.isObject});Object.defineProperty(exports,"isPlainObject",{enumerable:!0,get:()=>j.isPlainObject});Object.defineProperty(exports,"isPromise",{enumerable:!0,get:()=>j.isPromise});Object.defineProperty(exports,"isSet",{enumerable:!0,get:()=>j.isSet});Object.defineProperty(exports,"isString",{enumerable:!0,get:()=>j.isString});Object.defineProperty(exports,"isSymbol",{enumerable:!0,get:()=>j.isSymbol});Object.defineProperty(exports,"toBoolean",{enumerable:!0,get:()=>j.toBoolean});Object.defineProperty(exports,"toNumber",{enumerable:!0,get:()=>j.toNumber});Object.defineProperty(exports,"toTypeString",{enumerable:!0,get:()=>j.toTypeString});exports.Broadcast=mt;exports.BroadcastKey=G;exports.Content=rn;exports.DateItem=yn;exports.DialogItem=wn;exports.Domain=$t;exports.DomainKey=ue;exports.FooterBar=nn;exports.Group=an;exports.HeaderBar=tn;exports.HintText=Qe;exports.InputItem=dn;exports.Item=me;exports.Page=en;exports.Price=Ye;exports.PriorityPolicy=je;exports.RowItem=fn;exports.SelectItem=mn;exports.SlotItem=cn;exports.TableItem=$n;exports.TimeItem=vn;exports.TimeSelectItem=bn;exports.UniqueID=ln;exports.ValidateSchema=Gt;exports.ValidateSchemaKey=ne;exports.clearNonNumber=Fn;exports.compareTo=_n;exports.createBroadcast=yt;exports.createValidateSchema=vt;exports.debounce=rr;exports.decimalLength=jn;exports.default=na;exports.defineBroadcast=Kn;exports.defineDomain=wt;exports.defineItem=pe;exports.definePageState=Kt;exports.deleteGlobalValidator=Jn;exports.disabledProperty=Ne;exports.divide=Dn;exports.excludeProps=Se;exports.floatData=Gn;exports.getGlobalValidateCheckEvents=zt;exports.getGlobalValidateResetEvents=Yt;exports.getPageContentAreaHeight=He;exports.getPageContentAreaWidth=qe;exports.getPageFooterAreaHeight=Ue;exports.getPageHeaderAreaHeight=Ke;exports.getRootDomain=Ve;exports.includeProps=Yn;exports.indexOf=zn;exports.integerLength=qn;exports.isBrowser=_e;exports.isEmptyString=ce;exports.isInnerPage=ar;exports.isNumberString=Hn;exports.isRegExp=Ht;exports.isSubPage=sr;exports.lastIndexOf=Wn;exports.multiply=Mn;exports.negate=Bn;exports.numberFormat=Lt;exports.property=De;exports.raf=Ln;exports.readonlyProperty=Ce;exports.setGlobalValidateCheckEvents=Qn;exports.setGlobalValidateHandler=Zn;exports.setGlobalValidateMessages=tr;exports.setGlobalValidateResetEvents=er;exports.setGlobalValidator=Xn;exports.throttle=bt;exports.toPadding=ee;exports.toPx=K;exports.toPxDesc=le;exports.toValue=te;exports.unNumberFormat=kn;exports.updatePageState=ft;exports.useBroadcast=Ie;exports.useDomain=he;exports.useExpose=ge;exports.usePageState=Ge;exports.usePosition=un;exports.useRect=We;exports.valueLength=qt;
5
+ */function Ye(e,t="0"){let r=0,n=-1;e[0]=="-"&&(r++,n=1,e=e.substring(1),e.length),t[0]=="-"&&(r++,n=2,t=t.substring(1),t.length),e=te(e),t=te(t),[e,t]=Vt(te(e),te(t)),r==1&&(n==1?e=mt(e):t=mt(t));let a=dn(e,t);return r?r==2?"-"+te(a):e.length<a.length?te(a.substring(1)):"-"+te(mt(a)):te(a)}function mt(e){let t="",r=e.length,n=e.split(".")[1],a=n?n.length:0;for(let s=0;s<r;s++)e[s]>="0"&&e[s]<="9"?t+=9-parseInt(e[s]):t+=e[s];let o=a>0?"0."+new Array(a).join("0")+"1":"1";return dn(t,o)}function te(e){let t=e.split(".");for(t[0]||(t[0]="0");t[0][0]=="0"&&t[0].length>1;)t[0]=t[0].substring(1);return t[0]+(t[1]?"."+t[1]:"")}function Vt(e,t){let r=e.split("."),n=t.split("."),a=r[0].length,o=n[0].length;return a>o?n[0]=new Array(Math.abs(a-o)+1).join("0")+(n[0]?n[0]:""):r[0]=new Array(Math.abs(a-o)+1).join("0")+(r[0]?r[0]:""),a=r[1]?r[1].length:0,o=n[1]?n[1].length:0,(a||o)&&(a>o?n[1]=(n[1]?n[1]:"")+new Array(Math.abs(a-o)+1).join("0"):r[1]=(r[1]?r[1]:"")+new Array(Math.abs(a-o)+1).join("0")),e=r[0]+(r[1]?"."+r[1]:""),t=n[0]+(n[1]?"."+n[1]:""),[e,t]}function dn(e,t){[e,t]=Vt(e,t);let r="",n=0;for(let a=e.length-1;a>=0;a--){if(e[a]==="."){r="."+r;continue}let o=parseInt(e[a])+parseInt(t[a])+n;r=o%10+r,n=Math.floor(o/10)}return n?n.toString()+r:r}var U=(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))(U||{});function _e(e,t=0,r=U.HALF_EVEN){if(r===U.UNNECESSARY)throw new Error("UNNECESSARY Rounding Mode has not yet been implemented");typeof e=="number"&&(e=e.toString());let n=!1;e[0]==="-"&&(n=!0,e=e.substring(1));let a=e.split("."),o=a[0],s=a[1];if(t<0){if(t=-t,o.length<=t)return"0";{let i=o.substr(0,o.length-t);return e=i+"."+o.substr(o.length-t)+s,i=_e(e,0,r),(n?"-":"")+i+new Array(t+1).join("0")}}if(t==0)return o.length,Mt(a[1],o,n,r)?(n?"-":"")+gt(o):(n?"-":"")+o;if(a[1]){if(a[1].length<t)return(n?"-":"")+o+"."+a[1]+new Array(t-a[1].length+1).join("0")}else return(n?"-":"")+o+"."+new Array(t+1).join("0");s=a[1].substring(0,t);let u=a[1].substring(t);return u&&Mt(u,s,n,r)&&(s=gt(s),s.length>t)?(n?"-":"")+gt(o,parseInt(s[0]))+"."+s.substring(1):(n?"-":"")+o+"."+s}function Mt(e,t,r,n){if(!e||e===new Array(e.length+1).join("0")||n===U.DOWN||!r&&n===U.FLOOR||r&&n===U.CEILING)return!1;if(n===U.UP||r&&n===U.FLOOR||!r&&n===U.CEILING)return!0;let a="5"+new Array(e.length).join("0");if(e>a)return!0;if(e<a)return!1;switch(n){case U.HALF_DOWN:return!1;case U.HALF_UP:return!0;case U.HALF_EVEN:default:return parseInt(t[t.length-1])%2==1}}function gt(e,t=0){t||(t=1),typeof e=="number"&&e.toString();let r=e.length-1,n="";for(let a=r;a>=0;a--){let o=parseInt(e[a])+t;o==10?(t=1,o=0):t=0,n+=o}return t&&(n+=t),n.split("").reverse().join("")}function vt(e,t){e=e.toString(),t=t.toString();let r=0;e[0]=="-"&&(r++,e=e.substr(1)),t[0]=="-"&&(r++,t=t.substr(1)),e=Me(e),t=Me(t);let n=0,a=0;e.indexOf(".")!=-1&&(n=e.length-e.indexOf(".")-1),t.indexOf(".")!=-1&&(a=t.length-t.indexOf(".")-1);let o=n+a;if(e=Me(e.replace(".","")),t=Me(t.replace(".","")),e.length<t.length){let h=e;e=t,t=h}if(t=="0")return"0";let s=t.length,u=0,i=[],c=s-1,f="";for(let h=0;h<s;h++)i[h]=e.length-1;for(let h=0;h<2*e.length;h++){let E=0;for(let R=t.length-1;R>=c&&R>=0;R--)i[R]>-1&&i[R]<e.length&&(E+=parseInt(e[i[R]--])*parseInt(t[R]));E+=u,u=Math.floor(E/10),f=E%10+f,c--}return f=Me(Cr(f,o)),r==1&&(f="-"+f),f}function Cr(e,t){return t==0?e:(e=t>=e.length?new Array(t-e.length+1).join("0")+e:e,e.substr(0,e.length-t)+"."+e.substr(e.length-t,t))}function Me(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 xt(e,t,r=8){if(t==0)throw new Error("Cannot divide by 0");if(e=e.toString(),t=t.toString(),e=e.replace(/(\.\d*?[1-9])0+$/g,"$1").replace(/\.0+$/,""),t=t.replace(/(\.\d*?[1-9])0+$/g,"$1").replace(/\.0+$/,""),e==0)return"0";let n=0;t[0]=="-"&&(t=t.substring(1),n++),e[0]=="-"&&(e=e.substring(1),n++);var a=t.indexOf(".")>0?t.length-t.indexOf(".")-1:-1;if(t=te(t.replace(".","")),a>=0){let c=e.indexOf(".")>0?e.length-e.indexOf(".")-1:-1;if(c==-1)e=te(e+new Array(a+1).join("0"));else if(a>c)e=e.replace(".",""),e=te(e+new Array(a-c+1).join("0"));else if(a<c){e=e.replace(".","");let f=e.length-c+a;e=te(e.substring(0,f)+"."+e.substring(f))}else a==c&&(e=te(e.replace(".","")))}let o=0,s=t.length,u="",i=e.indexOf(".")>-1&&e.indexOf(".")<s?e.substring(0,s+1):e.substring(0,s);if(e=e.indexOf(".")>-1&&e.indexOf(".")<s?e.substring(s+1):e.substring(s),i.indexOf(".")>-1){let c=i.length-i.indexOf(".")-1;i=i.replace(".",""),s>i.length&&(c+=s-i.length,i=i+new Array(s-i.length+1).join("0")),o=c,u="0."+new Array(c).join("0")}for(r=r+2;o<=r;){let c=0;for(;parseInt(i)>=parseInt(t);)i=Ye(i,"-"+t),c++;u+=c,e?(e[0]=="."&&(u+=".",o++,e=e.substring(1)),i=i+e.substring(0,1),e=e.substring(1)):(o||(u+="."),o++,i=i+"0")}return(n==1?"-":"")+te(_e(u,r-2))}function St(e,t){return e=e.toString(),t=t.toString(),t=wt(t),Ye(e,t)}function wt(e){return e[0]=="-"?e=e.substr(1):e="-"+e,e}function Bt(e,t){if(t==0)throw new Error("Cannot divide by 0");e=e.toString(),t=t.toString(),qt(e),qt(t);let r="";e[0]=="-"&&(r="-",e=e.substr(1)),t[0]=="-"&&(t=t.substr(1));let n=St(e,vt(t,_e(xt(e,t),0,U.FLOOR)));return r+n}function qt(e){if(e.indexOf(".")!=-1)throw new Error("Modulus of non-integers not supported")}function Ft(e,t){let r=!1;if(e[0]=="-"&&t[0]!="-")return-1;if(e[0]!="-"&&t[0]=="-")return 1;if(e[0]=="-"&&t[0]=="-"&&(e=e.substr(1),t=t.substr(1),r=!0),[e,t]=Vt(e,t),e.localeCompare(t)==0)return 0;for(let n=0;n<e.length;n++)if(e[n]!=t[n])return e[n]>t[n]?r?-1:1:r?1:-1;return 0}class H{value;static RoundingModes=U;static validate(t){if(t){if(t=t.toString(),isNaN(t))throw Error("Parameter is not a number: "+t);t[0]=="+"&&(t=t.substring(1))}else t="0";if(t.startsWith(".")?t="0"+t:t.startsWith("-.")&&(t="-0"+t.substr(1)),/e/i.test(t)){let[r,n]=t.split(/[eE]/);r=te(r);let a="";r[0]=="-"&&(a="-",r=r.substring(1)),r.indexOf(".")>=0?(n=parseInt(n)+r.indexOf("."),r=r.replace(".","")):n=parseInt(n)+r.length,r.length<n?t=a+r+new Array(n-r.length+1).join("0"):r.length>=n&&n>0?t=a+te(r.substring(0,n))+(r.length>n?"."+r.substring(n):""):t=a+"0."+new Array(-n+1).join("0")+r}return t}constructor(t="0"){this.value=H.validate(t)}getValue(){return this.value}static getPrettyValue(t,r,n){if(!(r||n))r=3,n=",";else if(!(r&&n))throw Error("Illegal Arguments. Should pass both digits and separator or pass none");t=H.validate(t);let a=t.charAt(0)=="-";a&&(t=t.substring(1));var o=t.indexOf(".");o=o>0?o:t.length;for(var s="",u=o;u>0;)u<r?(r=u,u=0):u-=r,s=t.substring(u,u+r)+(u<o-r&&u>=0?n:"")+s;return(a?"-":"")+s+t.substring(o)}getPrettyValue(t,r){return H.getPrettyValue(this.value,t,r)}static round(t,r=0,n=U.HALF_EVEN){if(t=H.validate(t),isNaN(r))throw Error("Precision is not a number: "+r);return _e(t,r,n)}round(t=0,r=U.HALF_EVEN){if(isNaN(t))throw Error("Precision is not a number: "+t);return new H(_e(this.value,t,r))}static floor(t){return t=H.validate(t),t.indexOf(".")===-1?t:H.round(t,0,U.FLOOR)}floor(){return this.value.indexOf(".")===-1?new H(this.value):new H(this.value).round(0,U.FLOOR)}static ceil(t){return t=H.validate(t),t.indexOf(".")===-1?t:H.round(t,0,U.CEILING)}ceil(){return this.value.indexOf(".")===-1?new H(this.value):new H(this.value).round(0,U.CEILING)}static add(t,r){return t=H.validate(t),r=H.validate(r),Ye(t,r)}add(t){return new H(Ye(this.value,t.getValue()))}static subtract(t,r){return t=H.validate(t),r=H.validate(r),St(t,r)}subtract(t){return new H(St(this.value,t.getValue()))}static multiply(t,r){return t=H.validate(t),r=H.validate(r),vt(t,r)}multiply(t){return new H(vt(this.value,t.getValue()))}static divide(t,r,n){return t=H.validate(t),r=H.validate(r),xt(t,r,n)}divide(t,r){return new H(xt(this.value,t.getValue(),r))}static modulus(t,r){return t=H.validate(t),r=H.validate(r),Bt(t,r)}modulus(t){return new H(Bt(this.value,t.getValue()))}static compareTo(t,r){return t=H.validate(t),r=H.validate(r),Ft(t,r)}compareTo(t){return Ft(this.value,t.getValue())}static negate(t){return t=H.validate(t),wt(t)}negate(){return new H(wt(this.value))}}function hn(e,t){return H.multiply(`${e}`,`${t}`)}function Tt(e,t,r=8){return H.divide(`${e}`,`${t}`,r)}function $t(e,t){return e=`${e}`,t=`${t}`,H.compareTo(e,t)}function mn(e){return H.negate(e)}function It(e,t=-1,r=!1,n=3,a=","){let o=`${e}`;if(o.length==0||o==="-")return"";let s=o.charAt(0);s=="-"?o=o.substring(1):s="";let u=o,i="",c=o.indexOf(".");c!=-1&&(u=o.substring(0,c),i=o.substring(c+1)),t!=-1&&(t<i.length?i=i.substring(0,t):r&&t>i.length&&(i=i.padEnd(t,"0")));let f;if(n>0){let h="",E=u.split("").reverse();for(let R=0;R<E.length;R++)h+=E[R]+((R+1)%n==0&&R+1!=E.length?a:"");i.length==0?f=`${s}${h.split("").reverse().join("")}`:f=`${s}${h.split("").reverse().join("")}.${i}`}else i.length==0?f=`${s}${u}`:f=`${s}${u}.${i}`;return f}function gn(e){let t=`${e}`,r=t.charAt(0);r=="-"?t=t.substring(1):r="";let n=t.replace(/[^\d\.-]/g,"");return`${r}${n}`}const Ke=typeof window<"u",Or=Ke&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout;function pn(e){return Object.prototype.toString.call(e)==="[object RegExp]"}const X=e=>e==null?!0:typeof e!="string"?!1:e.length===0;function yn(e){return X(e)?!0:(e.charAt(0)=="-"&&(e=e.substring(1)),X(e)||/^(([1-9][0-9]*\.[0-9]*)|([0]\.[0-9]*)|([0-9]*)|([0]{1}))$/.test(e))}function bn(e){if(e==null)return 0;let t=`${e}`;if(t.length==0)return 0;t.charAt(0)=="-"&&(t=t.substring(1)),t=t.replace(/[^\d\.-]/g,"");const r=t.indexOf(".");return r==-1?t.length:r}function vn(e){if(e==null)return 0;const t=`${e}`;if(t.length==0)return 0;const r=t.indexOf(".");return r==-1?0:t.length-(r+1)}function Lt(e,t,r){const n=e.indexOf(t);return n===-1?e:t==="-"&&n!==0?e.slice(0,n):e.slice(0,n+1)+e.slice(n).replace(r,"")}function Nr(e,t=!0,r=!0){t?e=Lt(e,".",/\./g):e=e.replace(/\./g,""),r?e=Lt(e,"-",/-/g):e=e.replace(/-/,"");const n=t?/[^-0-9.]/g:/[^-0-9]/g;return e.replace(n,"")}function Vr(e,t){return typeof e=="object"||Array.isArray(e)?t.findIndex(r=>{if(L.isEqual(e,r))return!0}):t.indexOf(e)}function Tr(e,t){if(typeof e=="object"||Array.isArray(e)){let r=t.reverse().findIndex(n=>{if(L.isEqual(e,n))return!0});return r!==-1&&(r=t.length-1-r),r}return t.lastIndexOf(e)}function ze(e){return e==null||e==null?0:typeof e=="string"?e.length:`${e}`.length}function Ir(e,...t){const r={};return t.forEach(n=>{for(const a in n)r[a]=e[a]}),r}function ae(e,...t){const r=[];t.forEach(a=>{Reflect.apply([].push,r,Reflect.ownKeys(a))});const n={};for(const a in e)r.includes(a)||(n[a]=e[a]);return n}const Ar=(e,t,r)=>{const n=Object.assign({},e),a=Object.assign({},r);return Object.keys(t).length>0?(Object.keys(n).forEach(o=>{a.hasOwnProperty(o)?typeof a[o]=="string"&&(n[o]=t[a[o]]):t[o]&&(n[o]=t[o])}),n):e},Q=Symbol("BroadcastKey");class At{parent;children=[];callbacks=new Map;proxy=null;name;constructor(t,r,n){this.parent=t,this.proxy=r,this.name=n,t!==null&&t.addChild(this)}addChild(t){this.children.push(t)}removeChild(t){const r=this.children.findIndex(n=>t===n);r!==-1&&this.children.splice(r,1)}destroy(){this.parent!==null&&this.parent.removeChild(this),this.parent=null,this.proxy=null}emit(t,r,...n){if(t.maxLevel!==void 0&&t.maxLevel!==null&&t.maxLevel>0){if(t.level=t.level??0,t.level>t.maxLevel)return[];t.level++}let a=!1;!t.name||t.name==="*"?a=!0:!t.name||t.name==="+"?(a=!1,t.name="*"):pn(t.name)&&this.name&&t.name.test(this.name)?a=!0:typeof t.name=="function"?a=Reflect.apply(t.name,null,[this.name]):t.name===this.name&&(a=!0);const o=[];if(a){const s=this.callbacks.get(r);if(typeof s=="function"){const i=Reflect.apply(s,this.proxy,[...n]);i!=null&&o.push(i)}const u=this.proxy??{};if(typeof u[r]=="function"){const i=Reflect.apply(u[r],u,[...n]);i!=null&&o.push(i)}}return this.children.forEach(s=>{const u=Reflect.apply(s.emit,s,[{...t},r,...n]);u!=null&&Array.isArray(u)&&Reflect.apply([].push,o,[...u])}),o}emitToChildren(t,r,...n){const a=[];return this.children.forEach(o=>{const s=Reflect.apply(o.emit,o,[{...t},r,...n]);s!=null&&Array.isArray(s)&&Reflect.apply([].push,a,[...s])}),a}on(t,r){this.callbacks.set(t,r)}}function nt(e,t,r,n){const a=new At(t,e,r);if(n&&typeof n=="object")for(const o in n)a.on(o,n[o]);return a}function Rr(e,t,r){const n=r;if(n[Q])return n[Q];const a=l.inject(Q,null),o=new At(a,r,e);if(t&&typeof t=="object")for(const s in t)o.on(s,t[s]);return n[Q]=o,l.provide(Q,o),l.onUnmounted(()=>{o.destroy(),n[Q]=void 0}),o}function Fe(e=null){return e||(e=l.getCurrentInstance()?.proxy??null),e?e[Q]??l.inject(Q,null):l.inject(Q,null)}class jr{error(t,r){const n=r,a=Fe(r);a?a.emit({name:"*"},"setErrorTip",t):typeof n.setErrorTip=="function"&&n.setErrorTip(t)}reset(t){const r=t,n=Fe(t);n?n.emit({name:"*"},"setErrorTip",""):typeof r.setErrorTip=="function"&&r.setErrorTip("")}success(t){const r=t,n=Fe(t);n?n.emit({name:"*"},"setErrorTip",""):typeof r.setErrorTip=="function"&&r.setErrorTip("")}decorate(t,r,n){Array.isArray(t)||(t=[t]);const a=n,o=Fe(n),s=r.find(i=>i.required===!0||i.type==="required"&&i.required!==!1),u=t.find(i=>i.required===!0||i.type==="required"&&i.required!==!1);!s&&u?o?o.emit({name:"*"},"setRequired",!0):typeof a.setRequired=="function"&&a.setRequired(!0):s&&!u&&(o?o.emit({name:"*"},"setRequired",!1):typeof a.setRequired=="function"&&a.setRequired(!1),this.reset(n))}getValue(t){return t.modelValue}}let xn=new jr;function kr(e){xn=e}function Dr(e,t){Ee.default.setValidator(e,t)}function Mr(e){Ee.default.deleteValidator(e)}let Sn=["blur","clear"];function Br(e){Sn=e}function wn(){return Sn}let $n=["focus","change"];function qr(e){$n=e}function En(){return $n}function Fr(e){Ee.default.messages(e)}function Be(...e){const t=[];return e.forEach(r=>{r.forEach(n=>{const a=t.findIndex(o=>o.type===n.type);a!==-1&&t.splice(a,1),t.push(n)})}),t}function Ge(e){return e.forEach(t=>{t.type==="required"&&(t.required===null||t.required===void 0)&&(t.required=!0),!t.type&&(t.required===!0||t.required===!1)&&(t.type="required")}),e}const ge=Symbol("ValidateSchemaKey");class Pn{parent=null;validators={};attrRules=[];rules=[];descriptor;proxy;scope=null;constructor(t,r,n){this.parent=t,this.descriptor=r,this.proxy=n,(this.descriptor.validate??!0)&&this.init()}init(){if(this.descriptor.pureDataValidate===!0||!this.descriptor.valueName||!this.proxy)return;let t=this.proxy.$attrs;!t||(this.scope=l.effectScope(),this.scope.run(()=>{l.watchEffect(()=>{const r=Ge(Be(this.attrRules,this.rules)),n=[];for(let o in t){let s=t[o];if(this.hasValidator(o,!0)){if(s===!1)continue;let i={type:o};s!==null&&typeof s=="object"&&Object.assign(i,s),n.push(i);continue}let u=this.getValidator(o);if(u!==null){let i={type:o,validator:u};n.push(i)}}this.attrRules=Ge(n);const a=Be(this.attrRules,this.rules);l.nextTick(()=>{this.decorate(a,r)})})}))}destroy(){this.scope&&(this.scope.stop(),this.scope=null),this.parent=null}execHandler(t,...r){const n=this.descriptor.validateHandler;if(n&&typeof n[t]=="function")return Reflect.apply(n[t],n,[...r]);const a=xn;return a&&typeof a[t]=="function"?Reflect.apply(a[t],a,[...r]):null}decorate(t,r){this.descriptor.pureDataValidate!==!0&&this.execHandler("decorate",t,r,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.proxy===null?null:this.execHandler("getValue",this.proxy)}setValidator(t,r,n=!1){n?Ee.default.setValidator(t,r):this.validators[t]=r}getValidator(t){let r=this.validators[t]??null;return r||(r=this.parent?.getValidator(t)??null),r}deleteValidator(t,r=!1){r?Ee.default.deleteValidator(t):Reflect.deleteProperty(this.validators,t)}hasValidator(t,r=!1){if(r)return Ee.default.hasValidator(t);{let n=Reflect.has(this.validators,t);return!n&&this.parent!==null&&(n=this.parent.hasValidator(t,!1)),n}}setRule(t){const r=Be(this.attrRules,this.rules);t===null?this.rules=[]:Array.isArray(t)?this.rules=Ge(t):this.rules=Ge([t]);const n=Be(this.attrRules,this.rules);l.nextTick(()=>{this.decorate(n,r)})}clear(){this.proxy===null||this.descriptor.pureDataValidate===!0||this.execHandler("reset",this.proxy)}validate(){if(this.descriptor.validate??!0){let r=Be(this.attrRules,this.rules);const n=this.descriptor.fieldName??"value";if(r.length>0){const a={[`${n}`]:r},o=this.getValue(),s={[`${n}`]:o},u=new Ee.default(a),i=this.proxy??s;return u.validate(s,{context:i}).then(f=>{if(f.pass)this.success();else{let h="error";Array.isArray(f.errors)&&f.errors.length>0&&(h=f.errors[0].message??h,f.errors=[f.errors[0]],f.errors[0].ref=i),this.error(h)}return f}).catch(f=>{const h=f.message??`${f}`;return this.error(h),f})}}return Promise.resolve({pass:!0})}}function rt(e,t,r){if(r.valueName=r.valueName??"modelValue",r.valueType=r.valueType??"string",!r.validateHandler&&r.valueName!=="modelValue"){const a=r.valueName;r.validateHandler={getValue(o){return o[a]}}}return new Pn(t,r,e)}const _t=Symbol("EventEmitterKey");class Lr{register=new Map;proxy;constructor(t){this.proxy=t}destroy(){this.proxy=null,this.register.clear()}off(t,r){let n=this.register.get(t);if(n&&Array.isArray(n)){let a=n.findIndex(o=>o===r);a!==-1&&n.splice(a,1)}}on(t,r){let n=this.register.get(t);n||(n=new Array,this.register.set(t,n)),n.push(r)}emit(t,...r){const n=this.register.get(t);n&&n.forEach(a=>{try{Reflect.apply(a,null,[t,...r])}catch(o){console.error(o.message,o)}}),this.proxy&&Reflect.apply(this.proxy.$emit,this.proxy,[t,...r])}}function _r(e,t){let r=0;return function(...n){const a=Date.now();a-r>t&&(Reflect.apply(e,{},[...n]),r=a)}}function Rt(e,t){let r,n=null;return function(...a){n=a,r||(r=setTimeout(()=>{r=null,Reflect.apply(e,{},[...n??[]])},t))}}const ve=Symbol("DomainKey"),Ve=Symbol("DataItemsKey");class jt{_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}_props=l.reactive({});constructor(t=null){this._name=t}destroy(){this._parent=null,this._broadcast=null,this._validateSchema=null,this._props={}}merge(t,r=[]){for(const n in t){const a=t[n];r.length>0&&r.indexOf(a)!==-1||(this._props[n]=a)}}has(t){if(Reflect.has(this._props,t)){const r=this._props[t];if(r!=null)return!0}return this.parent==null?!1:this.parent.has(t)}delete(t){Reflect.deleteProperty(this._props,t)}set(t,r){this._props[t]=r}get(t,r){if(Reflect.has(this._props,t)){const n=this._props[t];if(n!=null)return n}return this.parent==null?r:this.parent.get(t,r)}getForParent(t,r){return this.parent==null?r:this.parent.get(t,r)}getForSelf(t){return this._props[t]}getAll(t){const r=[];let n=this;for(;n!=null;){if(Reflect.has(n._props,t)){const a=n._props[t];r.push(a)}n=n._parent}return r}}const Hr=new jt;function Le(){return Hr}function we(e=null){e||(e=l.getCurrentInstance());const t=e?.proxy;return t?t[ve]??l.inject(ve,null):l.inject(ve,null)}const pt=Symbol("OriginalDateKey");function kt(e,t,r=[],n){const a=l.getCurrentInstance(),o=a?.proxy;let s=l.inject(ve,null);s===null&&(s=Le());const u=e||t.prop||t.name,i=new jt(u);i.parent=s;const c=S=>{o[pt]||E(S),i.set("modelValue",S)},f=()=>i.getForSelf("modelValue")??null,h=()=>o[pt]??null,E=S=>{const A={};L.extend(!0,A,l.toRaw(S)),o[pt]=A};l.isReactive(t)?l.watchEffect(()=>{i.merge(t,r)}):i.merge(t,r),t.modelValue&&E(t.modelValue),o[ve]=i,l.provide(ve,i);let R=null,P=null;if(a!==null){const S=l.inject(Q,null);R=nt(o,S,u,n),i.broadcast=R,o[Q]=R,l.provide(Q,R),o.broadcast=(C,j,...O)=>Reflect.apply(R.emit,R,[C,j,...O]);const A=l.inject(ge,null);P=rt(o,A,{componentName:""}),i.validateSchema=P,o[ge]=P,l.provide(ge,P),o[Ve]=new Map,o.validate=(C=!0)=>{const j=[];let O=null;if(C===!0)O={name:"*"};else if(Array.isArray(C)&&C.length>0){const y=C;O={name:p=>p?y.indexOf(p)!==-1:!1}}else if(C!=null&&typeof C=="object"){const y=C;if(Array.isArray(y.include)&&y.include.length>0){const p=y.include;O={name:x=>x?p.indexOf(x)!==-1:!1}}else if(Array.isArray(y.exclude)&&y.exclude.length>0){const p=y.exclude;O={name:x=>x?p.indexOf(x)===-1:!1}}}if(O){const y=R?.emitToChildren(O,"validate",!1);y&&Reflect.apply([].push,j,y)}return j.length==1?j[0]:j.length>1?Promise.all(j).then(y=>{let p=[];return y.forEach(x=>{x.pass===!1&&Array.isArray(x.errors)&&(p=[...p,...x.errors])}),p.length>0?{pass:!1,errors:p}:{pass:!0}}):Promise.resolve({pass:!0})},o.setNameValidateRules=(C,j=!0)=>{if(j){const O=Reflect.ownKeys(C),y=[...O],p={name:x=>{const m=O.includes(x);if(m){const v=y.findIndex(T=>x===T);v!==-1&&y.splice(v,1)}return m}};R?.emitToChildren(p,"setNameValidateRules",C,!1),y.length>0&&y.forEach(x=>{let m=String(x);const T=Cn(i,m,{componentName:"",fieldName:m,pureDataValidate:!0},R,P);o[Ve].set(m,T);const b=C[m];b&&T.validateSchema.setRule(b)})}},o.clearValidate=(C=!0)=>{let j=null;if(C===!0)j={name:"*"};else if(Array.isArray(C)&&C.length>0){const O=C;j={name:y=>y?O.indexOf(y)!==-1:!1}}else if(C!=null&&typeof C=="object"){const O=C;if(Array.isArray(O.include)&&O.include.length>0){const y=O.include;j={name:p=>p?y.indexOf(p)!==-1:!1}}else if(Array.isArray(O.exclude)&&O.exclude.length>0){const y=O.exclude;j={name:p=>p?y.indexOf(p)===-1:!1}}}j&&R?.emitToChildren(j,"clearValidate",!1)},o.resetFields=C=>{const j=f();if(!j)return;const O={};if(L.extend(!0,O,h()??{}),Array.isArray(C))C.forEach(y=>{j[y]=O[y]});else if(C&&Array.isArray(C.include))(C.include??[]).forEach(p=>{j[p]=O[p]});else if(C&&Array.isArray(C.exclude)){let y=C.exclude??[];Reflect.ownKeys(O).forEach(p=>{y.includes(p)||(j[p]=O[p])})}else Object.assign(j,O);o.clearValidate(C)},o.setModelValue=(C,j)=>{!j||j===u?c(C):R?.emitToChildren({name:j},"setModelValue",C)},o.getModelValue=()=>f()}return l.onUnmounted(()=>{i.destroy(),o[ve]=void 0,o[Ve]&&(o[Ve].clear(),o[Ve]=void 0),R!==null&&(R.destroy(),o[Q]=void 0),P!==null&&(P.destroy(),o[ge]=void 0)}),i}function ne(e,t,r){const a=l.getCurrentInstance()?.proxy,o=t??"",s=l.inject(Q,null),u=nt(a,s,o,r);a[Q]=u,l.provide(Q,u),a.broadcast=(P,S,...A)=>Reflect.apply(u.emit,u,[P,S,...A]);const i=l.inject(ge,null);e.fieldName=e.fieldName??o;const c=rt(a,i,e);a[ge]=c,l.provide(ge,c),a.validate=(P=null)=>{const S=[];if(!Array.isArray(P)||P.indexOf(o)!==-1){const C=c?.validate();S.push(C)}let A=null;if(P===!0)A={name:"*"};else if(Array.isArray(P)&&P.length>0){const C=P;A={name:j=>j?C.indexOf(j)!==-1:!1}}else if(P!=null&&typeof P=="object"){const C=P;if(Array.isArray(C.include)&&C.include.length>0){const j=C.include;A={name:O=>O?j.indexOf(O)!==-1:!1}}else if(Array.isArray(C.exclude)&&C.exclude.length>0){const j=C.exclude;A={name:O=>O?j.indexOf(O)===-1:!1}}}if(A){const C=u.emitToChildren(A,"validate",!1);Reflect.apply([].push,S,C)}return S.length==1?S[0]:S.length>1?Promise.all(S).then(C=>{let j=[];return C.forEach(O=>{O.pass===!1&&Array.isArray(O.errors)&&(j=[...j,...O.errors])}),j.length>0?{pass:!1,errors:j}:{pass:!0}}):Promise.resolve({pass:!0})},a.setValidateRule=P=>c?.setRule(P),a.setNameValidateRules=(P,S=!1)=>{const A=P[o];if(A&&c?.setRule(A),S){const C={name:j=>Reflect.ownKeys(P).includes(j)};u.emitToChildren(C,"setNameValidateRules",P,!1)}},a.clearValidate=(P=null)=>{(!Array.isArray(P)||P.indexOf(t??"")!==-1)&&c?.clear();let S=null;if(P===!0)S={name:"*"};else if(Array.isArray(P)&&P.length>0){const A=P;S={name:C=>C?A.indexOf(C)!==-1:!1}}else if(P!=null&&typeof P=="object"){const A=P;if(Array.isArray(A.include)&&A.include.length>0){const C=A.include;S={name:j=>j?C.indexOf(j)!==-1:!1}}else if(Array.isArray(A.exclude)&&A.exclude.length>0){const C=A.exclude;S={name:j=>j?C.indexOf(j)===-1:!1}}}S&&u.emitToChildren(S,"clearValidate",!1)};const f=new Lr(a);a[_t]=f;const h=Rt((P="validate")=>{P==="reset"?c.clear():c.validate()},60);return(Array.isArray(e.validateCheckEvents)?e.validateCheckEvents:wn()).forEach(P=>{f.on(P,S=>{h("validate")})}),(Array.isArray(e.validateResetEvents)?e.validateResetEvents:En()).forEach(P=>{f.on(P,S=>{h("reset")})}),l.onUnmounted(()=>{u.destroy(),a[Q]=void 0,c.destroy(),a[ge]=void 0,f.destroy(),a[_t]=void 0}),{broadcast:u,validateSchema:c,emitEvent:(P,...S)=>{Reflect.apply(f.emit,f,[P,...S])},onEvent:(P,S)=>{Reflect.apply(f.on,f,[S])},offEvent:(P,S)=>{Reflect.apply(f.off,f,[S])}}}function Cn(e,t,r,n,a){const o={},s=t??"";r.fieldName=s,r.validateHandler={getValue(c){const f=e.getForSelf("modelValue");return f?f[s]:null}};const u=rt({},a,r);o.validate=(c=null)=>{const f=[];if(!Array.isArray(c)||c.indexOf(s)!==-1){const E=u?.validate();f.push(E)}let h=null;if(c===!0)h={name:"*"};else if(Array.isArray(c)&&c.length>0){const E=c;h={name:R=>R?E.indexOf(R)!==-1:!1}}else if(c!=null&&typeof c=="object"){const E=c;if(Array.isArray(E.include)&&E.include.length>0){const R=E.include;h={name:P=>P?R.indexOf(P)!==-1:!1}}else if(Array.isArray(E.exclude)&&E.exclude.length>0){const R=E.exclude;h={name:P=>P?R.indexOf(P)===-1:!1}}}if(h){const E=i.emitToChildren(h,"validate",!1);Reflect.apply([].push,f,E)}return f.length==1?f[0]:f.length>1?Promise.all(f).then(E=>{let R=[];return E.forEach(P=>{P.pass===!1&&Array.isArray(P.errors)&&(R=[...R,...P.errors])}),R.length>0?{pass:!1,errors:R}:{pass:!0}}):Promise.resolve({pass:!0})},o.setValidateRule=c=>u?.setRule(c),o.setNameValidateRules=c=>{const f=c[s];f&&u?.setRule(f)};const i=nt(null,n,s,o);return{broadcast:i,validateSchema:u}}const z=(e,t=-1)=>e?typeof e=="string"&&(e.endsWith("%")&&t<=0||e.endsWith("vh")||e.endsWith("vw"))?e:`${Z(e,t)}px`:"";function Z(e,t=-1){if(typeof e=="number")return e>0&&e<1&&t>0?e*t:e;if(e=e.trim().toLocaleLowerCase(),e.length===0)return 0;let r=e.indexOf("px");if(r!==-1)return Number(e.substring(0,r));if(r=e.indexOf("rem"),r!==-1){let a=Number(e.substring(0,r)),o=1;if(Ke){const{fontSize:s}=window.getComputedStyle(document.documentElement,null),u=s.indexOf("px");u>0&&(o=Number(s.substring(0,u)))}return a*=o,a}if(r=e.indexOf("%"),r!==-1)return Number(e.substring(0,r))*t;const n=Number(e);return isNaN(n)?0:n}const xe="PageStateKey";function he(e){const t={top:null,left:null,bottom:null,right:null};return e&&(e.top!==null&&e.top!==void 0&&(t.top=Z(e.top)),e.left!==null&&e.left!==void 0&&(t.left=Z(e.left)),e.bottom!==null&&e.bottom!==void 0&&(t.bottom=Z(e.bottom)),e.right!==null&&e.right!==void 0&&(t.right=Z(e.right))),t}function Et(e,t,r={},n=!0,a=-1,o=-1,s=0,u=0){e.headerHeight=Z(r.headerHeight??t.headerHeight),e.headerPadding=he(r.headerPadding??t.headerPadding),e.footerHeight=Z(r.footerHeight??t.footerHeight),e.footerPadding=he(r.footerPadding??t.footerPadding),e.contentPadding=he(r.contentPadding??t.contentPadding),n&&(e.height=Z(r.height??t.height,o)-Z(s,o)-Z(u,o),e.width=Z(r.width??t.width,a))}function On(e,t={}){const r={top:null,left:null,bottom:null,right:null},n={width:0,height:0,headerHeight:0,headerPadding:{...r},footerHeight:0,footerPadding:{...r},contentPadding:{...r},contentHeight:null,safeAreaTop:0,safeAreaBottom:0,safeAreaLeft:0,safeAreaRight:0,headerMounted:!1,footerMounted:!1},a=Object.assign(e.get("safeAreaInset")??{},t.safeAreaInset??{});a&&(n.safeAreaTop=Z(a.top),n.safeAreaBottom=Z(a.bottom),n.safeAreaLeft=Z(a.left),n.safeAreaRight=Z(a.right));const o=e.get("pageLayout");if(!o)return null;const s=e.get("rootWidth")??-1,u=e.get("rootHeight")??-1,i=e.get("headerBarHeight")??0,c=e.get("footerBarHeight")??0;Et(n,o,t,!0,s,u,i,c);const f=l.reactive(n),h=e.getForParent(xe);h&&(n.height=Ue(e,h),n.width=Ze(e,h),l.watch([()=>h.height,()=>h.width,()=>h.contentPadding,()=>h.headerMounted,()=>h.footerMounted],()=>{f.height=Ue(e,h),f.width=Ze(e,h)}));const E=!h;return l.watch([()=>e.get("pageLayout"),()=>e.get("rootWidth"),()=>e.get("rootHeight"),()=>e.get("headerBarHeight"),()=>e.get("footerBarHeight")],([R,P=-1,S=-1,A=0,C=0])=>{Et(f,R,t,E,P,S,A,C)}),e.set(xe,f),f}function lt(e){return e.get(xe)}function at(e,t){return t=t??e.get(xe),t&&t.headerMounted?t.headerHeight+t.safeAreaTop:0}function ot(e,t){return t=t??e.get(xe),t&&t.footerMounted?t.footerHeight+t.safeAreaBottom:0}function Ue(e,t){if(t=t??e.get(xe),t){const r=at(e,t),n=ot(e,t);return t.height-r-n-(t.contentPadding.top??0)-(t.contentPadding.bottom??0)}return 0}function Ze(e,t){return t=t??e.get(xe),t?t.width-(t.contentPadding.left??0)-(t.contentPadding.right??0):0}function Kr(e,t){const r=e.get("isInnerPage");return typeof r=="function"?Reflect.apply(r,{},[t,e]):!1}function zr(e){return!!e.getForParent(xe)}var Xe=(e=>(e[e.Parent=0]="Parent",e[e.Near=1]="Near",e))(Xe||{});function yt(e,t){return e==null?!1:typeof t=="function"?t(e):!0}function Re(e,t,r=1,n){const a=we();return a==null?e:r===0?l.computed(()=>{const o=a.getAll(t);for(let u=o.length-1;u>=0;u--){const i=o[u];if(yt(i,n))return i}const s=e.value;return yt(s,n)?s:null}):l.computed(()=>{const o=e.value;return yt(o,n)?o:a?.get(t)})}function se(e){return Re(e,"readonly",0,function(r){return L.toBoolean(r)})}function ue(e){return Re(e,"disabled",0,function(r){return L.toBoolean(r)})}function Y(e,t="modelValue",r){const n=l.toRef(e,t);let a=n.value;typeof r=="function"&&(a=r(n.value));const o=l.ref(a);return l.watch(n,s=>{if(typeof r=="function"){const u=r(s);u!==o.value&&(o.value=u)}else s!==o.value&&(o.value=s)}),o}const Nn=new Map,Je=new Map;let Pt=null;function Gr(e){Pt=e}function Vn(e,t,r){if(r){let n=Je.get(r);n||(n=new Map,Je.set(r,n)),n.set(e,t)}else Nn.set(e,t)}function Oe(e,t,r){!r&&Pt&&(r=Pt(e)??void 0);let n=null;if(r){let a=Je.get(r);a&&(n=a.get(t))}return n||(n=Nn.get(t)),n}function Wr(e,t){for(let r in e){const n=e[r];Vn(r,n,t)}}function Yr(e){Je.delete(e)}function Ur(){return{top:0,left:0,bottom:0,right:0}}function Zr(){if(Ke){const e=document.documentElement.clientWidth||document.body.clientWidth,t=document.documentElement.clientHeight||document.body.clientHeight;return{width:e,height:t,headerHeight:44,footerHeight:44}}else return{width:"100%",height:"100%",headerHeight:44,footerHeight:44}}class Xr{packages;installers;_version;get version(){return this._version}constructor(t,r,n){this.packages=t,this.installers=r,this._version=n}install(t,r={}){this.packages.forEach(o=>{o.install?t.use(o):o.name&&t.component(o.name,o)}),this.installers.forEach(o=>{o(t)});const n=["safeAreaInset","pageLayout","headerBarHeight","footerBarHeight"],a=Le();if(this.initPageLayout(r,a),r.autoAdjustPageLayout!==!1&&window.ResizeObserver){const o=Rt(()=>{const u={...r},i=document.documentElement.clientWidth||document.body.clientWidth,c=document.documentElement.clientHeight||document.body.clientHeight;u.width=i,u.height=c,this.initPageLayout(u,a)},150);new window.ResizeObserver(o).observe(window.document.body)}for(const o in r)n.indexOf(o)===-1&&a.set(o,r[o])}initPageLayout(t,r){const n=L.extend({},Ur(),t.safeAreaInset),a=L.extend({},Zr(),t.pageLayout);r=r??Le(),r.set("safeAreaInset",n),r.set("headerBarHeight",t.headerBarHeight??0),r.set("footerBarHeight",t.footerBarHeight??0),r.set("pageLayout",a),r.set("rootWidth",a.width),r.set("rootHeight",a.height)}setScopeGetter(t){Gr(t)}setAPI(t,r,n){Vn(t,r,n)}getAPI(t,r,n){return Oe(t,r,n)}batchSetAPI(t,r){Wr(t,r)}clearScopeAPI(t){Yr(t)}getRootDomain(){return Le()}}const Jr=[d.ElAffix,d.ElAlert,d.ElAutocomplete,d.ElAutoResizer,d.ElAvatar,d.ElBacktop,d.ElBadge,d.ElBreadcrumb,d.ElBreadcrumbItem,d.ElButton,d.ElButtonGroup,d.ElCalendar,d.ElCard,d.ElCarousel,d.ElCarouselItem,d.ElCascader,d.ElCascaderPanel,d.ElCheckTag,d.ElCheckbox,d.ElCheckboxButton,d.ElCheckboxGroup,d.ElCol,d.ElCollapse,d.ElCollapseItem,d.ElCollapseTransition,d.ElColorPicker,d.ElConfigProvider,d.ElContainer,d.ElAside,d.ElFooter,d.ElHeader,d.ElMain,d.ElDatePicker,d.ElDescriptions,d.ElDescriptionsItem,d.ElDialog,d.ElDivider,d.ElDrawer,d.ElDropdown,d.ElDropdownItem,d.ElDropdownMenu,d.ElEmpty,d.ElForm,d.ElFormItem,d.ElIcon,d.ElImage,d.ElImageViewer,d.ElInput,d.ElInputNumber,d.ElLink,d.ElMenu,d.ElSubMenu,d.ElMenuItem,d.ElMenuItemGroup,d.ElPageHeader,d.ElPagination,d.ElPopconfirm,d.ElPopover,d.ElPopper,d.ElProgress,d.ElRadio,d.ElRadioButton,d.ElRadioGroup,d.ElRate,d.ElResult,d.ElRow,d.ElScrollbar,d.ElSelect,d.ElOption,d.ElOptionGroup,d.ElSelectV2,d.ElSkeleton,d.ElSkeletonItem,d.ElSlider,d.ElSpace,d.ElSteps,d.ElStep,d.ElSwitch,d.ElTable,d.ElTableColumn,d.ElTableV2,d.ElTabs,d.ElTabPane,d.ElTag,d.ElTimePicker,d.ElTimeSelect,d.ElTimeline,d.ElTimelineItem,d.ElTooltip,d.ElTransfer,d.ElTree,d.ElTreeSelect,d.ElTreeV2,d.ElUpload],Qr=[d.ElInfiniteScroll,d.ElLoading,d.ElMessage,d.ElMessageBox,d.ElNotification,d.ElPopoverDirective],el=e=>{Jr.forEach(t=>{let r=t.name;typeof r=="string"?(r=`Fox${r.slice(2)}`,e.component(r,t)):e.use(t)}),Qr.forEach(t=>{e.use(t)})};function G(e){const t="fox-"+e;return{componentName:t,scope:e.replace("-",""),create(r){return r.baseName=e,r.name=t,r.install=n=>{n.component(r.name,r)},l.defineComponent(r)},createDemo(r){return r.baseName=e,r.name="demo-"+e,l.defineComponent(r)}}}const ee={disabled:{type:[Boolean,String],required:!1},readonly:{type:[Boolean,String],required:!1},labelPosition:{type:String,required:!1},labelWidth:{type:[String,Number],required:!1},hasBorder:{type:Boolean,required:!1,default:!0}},oe={prop:{type:String,required:!1},label:{type:String,required:!1},labelPosition:{type:String,required:!1},labelWidth:{type:[String,Number],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},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:{}},hasBorder:{type:Boolean,default:!0}},Tn={column:{type:[String,Number],required:!1},gutter:{type:[String,Number],required:!1},justify:{type:[String],required:!1,default:"start"},align:{type:[String],required:!1,default:"start"},flexWrap:{type:[String],default:"nowrap"}},In={name:{type:String,required:!1},modelValue:{type:String,required:!1},rules:{type:[Object],required:!1},type:{type:[String],required:!1,default:"flex"},title:{type:String,default:""},span:{type:[Number,String],required:!1,default:1},offset:{type:[Number],default:0},autoLayout:{type:[Boolean],required:!1,default:!0},isWrap:{type:[Boolean],required:!1,default:!0},width:{type:[String,Number],required:!1},height:{type:[String,Number],required:!1},showMark:{type:[String,Boolean],required:!1,default:!0}},An=[];for(const e in In)An.push(e);function ie(e,t=null){if(t||(t=l.getCurrentInstance()),t&&t.proxy){let r=t.proxy;Object.assign(r,e)}}const tl=Symbol.for("InnerPageScopeKey"),nl=(e,t)=>({inheritAttrs:!0,props:{...ee,...Tn,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}},setup(r,n){const a=kt(r.name,r);if(a){const c=On(a,r);ie({getPageContentHeight:()=>Ue(a,c),getPageContentWidth:()=>Ze(a,c),getPageHeaderHeight:()=>at(a,c),getPageFooterHeight:()=>ot(a,c)});const f=l.inject(tl,!1);c&&f&&(c.contentHeight="100%")}const o=l.computed(()=>({[e]:!0})),s=l.computed(()=>({})),u=l.getCurrentInstance(),i=c=>{const f=u?.proxy;f&&typeof f.setNameValidateRules=="function"&&f.setNameValidateRules(c,!0)};return l.watch(()=>r.rules,(c,f)=>{if(!c&&!f)return;const h=l.toRaw(f),E=l.toRaw(c),R=E?Reflect.ownKeys(E):[];(h?Reflect.ownKeys(h):[]).forEach(S=>{R.includes(S)||(E[S]=[])}),i(E)},{deep:!0}),l.onMounted(()=>{if(r.rules){const c=l.toRaw(r.rules);i(c)}}),{classes:o,styles:s}}}),{componentName:rl,create:ll,scope:Xo}=G("page"),al=ll(nl(rl));function ol(e,t,r,n,a,o){return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(e.classes),style:l.normalizeStyle(e.styles)},[l.renderSlot(e.$slots,"default")],6)}const Ne=(e,t)=>{const r=e.__vccOpts||e;for(const[n,a]of t)r[n]=a;return r},Rn=Ne(al,[["render",ol]]),il=(e,t)=>({props:{height:{type:[String,Number],required:!1},padding:{type:[Object],required:!1},leftShow:{type:[Boolean,String],required:!1,default:!0},leftIcon:{type:[String,Object],required:!1,default:"left"},leftText:{type:String,required:!1,default:""},titleShow:{type:Boolean,required:!1,default:!0},title:{type:String,required:!1,default:""},titleIcon:{type:[String,Object],required:!1,default:""},rightShow:{type:[String,Boolean],required:!1,default:!0},rightIcon:{type:[String,Object],required:!1,default:""},rightText:{type:String,required:!1,default:""}},emits:["back","click-title","click-right","click-right-text"],setup(r,n){const a=we(),o=a?lt(a):null;o&&(o.headerMounted=!0);const s=l.computed(()=>({[e]:!0})),u=r.height!==null&&r.height!==void 0?Z(r.height):null,i=l.computed(()=>{const m={safeAreaTop:null,height:null,left:null,top:null,right:null,bottom:null};if(a&&o){const v=he(r.padding??o.footerPadding);return Object.assign(m,v),u&&(o.headerHeight=u),m.height=o.headerHeight,m.safeAreaTop=o.safeAreaTop,m.safeAreaTop&&(m.top=m.safeAreaTop+(v.top??0),m.height=m.height+o.safeAreaTop),m.height,m.safeAreaTop,m}if(u&&(m.height=u),r.padding){const v=he(r.padding);Object.assign(m,v)}return m});l.onUnmounted(()=>{o&&(o.headerMounted=!1)});const c=l.computed(()=>{const m={};return i.value.height!==null&&i.value.height!==void 0&&(m.height=`${i.value.height}px`),i.value.top!==null&&i.value.top!==void 0&&(m.paddingTop=`${i.value.top}px`),i.value.left!==null&&i.value.left!==void 0&&(m.paddingLeft=`${i.value.left}px`),i.value.right!==null&&i.value.right!==void 0&&(m.paddingRight=`${i.value.right}px`),i.value.bottom!==null&&i.value.bottom!==void 0&&(m.paddingBottom=`${i.value.bottom}px`),m}),f=l.computed(()=>{const m={};return i.value.safeAreaTop!==null&&i.value.safeAreaTop!==void 0&&(m.top=`${i.value.safeAreaTop}px`),m}),h=l.computed(()=>{const m={};return i.value.safeAreaTop!==null&&i.value.safeAreaTop!==void 0&&(m.top=`${i.value.safeAreaTop}px`),m}),E=l.computed(()=>r.leftShow?r.leftIcon||r.leftText||n.slots.left:!1),R=l.computed(()=>!(i.value.height!==null&&i.value.height!==void 0&&i.value.height<=0)),P=l.computed(()=>r.titleShow?r.title||r.titleIcon||n.slots.default:!1),S=l.computed(()=>r.rightShow?r.rightIcon||r.rightText||n.slots.right:!1),A=l.computed(()=>{let m={};return typeof r.leftIcon=="object"?Object.assign(m,r.leftIcon):m.name=r.leftIcon,m}),C=l.computed(()=>{let m={};return typeof r.titleIcon=="object"?Object.assign(m,r.titleIcon):m.name=r.titleIcon,m}),j=l.computed(()=>{let m={};return typeof r.rightIcon=="object"?Object.assign(m,r.rightIcon):m.name=r.rightIcon,m});function O(){n.emit("back")}function y(){n.emit("click-title")}function p(){n.emit("click-right")}function x(){n.emit("click-right-text")}return{classes:s,styles:c,mHeaderShow:R,leftStyles:f,rightStyles:h,mLeftShow:E,mTitleShow:P,mRightShow:S,mLeftIcon:A,mTitleIcon:C,mRightIcon:j,handleLeft:O,handleCenter:y,handleRight:p,handleRightText:x}}}),{componentName:sl,create:ul,scope:Jo}=G("header-bar"),cl=ul(il(sl)),fl={key:1,class:"fox-header-bar__title"};function dl(e,t,r,n,a,o){const s=l.resolveComponent("fox-ext-icon");return e.mHeaderShow?(l.openBlock(),l.createElementBlock("view",{key:0,class:l.normalizeClass(e.classes),style:l.normalizeStyle(e.styles)},[l.renderSlot(e.$slots,"all",{},()=>[e.mLeftShow?(l.openBlock(),l.createElementBlock("view",{key:0,class:"fox-header-bar__left",style:l.normalizeStyle(e.leftStyles)},[l.renderSlot(e.$slots,"left",{},()=>[e.leftIcon?(l.openBlock(),l.createBlock(s,{key:0,color:e.mLeftIcon.color,name:e.mLeftIcon.name,onClick:e.handleLeft},null,8,["color","name","onClick"])):l.createCommentVNode("",!0),e.leftText?(l.openBlock(),l.createElementBlock("view",{key:1,onClick:t[0]||(t[0]=(...u)=>e.handleLeft&&e.handleLeft(...u))},l.toDisplayString(e.leftText),1)):l.createCommentVNode("",!0)])],4)):l.createCommentVNode("",!0),e.mTitleShow?(l.openBlock(),l.createElementBlock("view",fl,[l.renderSlot(e.$slots,"default",{},()=>[e.title?(l.openBlock(),l.createElementBlock("view",{key:0,class:"text-title",onClick:t[1]||(t[1]=(...u)=>e.handleTitle&&e.handleTitle(...u))},l.toDisplayString(e.title),1)):l.createCommentVNode("",!0),e.titleIcon?(l.openBlock(),l.createBlock(s,{key:1,class:"icon-title",color:e.mTitleIcon.color,name:e.mTitleIcon.name,onClick:e.handleCenter},null,8,["color","name","onClick"])):l.createCommentVNode("",!0)])])):l.createCommentVNode("",!0),e.mRightShow?(l.openBlock(),l.createElementBlock("view",{key:2,class:"fox-header-bar__right",style:l.normalizeStyle(e.rightStyles)},[l.renderSlot(e.$slots,"right",{},()=>[e.rightText?(l.openBlock(),l.createElementBlock("view",{key:0,onClick:t[2]||(t[2]=(...u)=>e.handleRightText&&e.handleRightText(...u))},l.toDisplayString(e.rightText),1)):l.createCommentVNode("",!0),e.rightIcon?(l.openBlock(),l.createBlock(s,{key:1,class:"right-icon",color:e.mRightIcon.color,name:e.mRightIcon.name,onClick:e.handleRight},null,8,["color","name","onClick"])):l.createCommentVNode("",!0)])],4)):l.createCommentVNode("",!0)])],6)):l.createCommentVNode("",!0)}const jn=Ne(cl,[["render",dl]]);function hl(e,t){return{props:{height:{type:[String,Number],required:!1},padding:{type:[Object],required:!1},align:{type:String,required:!1,default:"center"}},setup(r,n){const a=we(),o=a?lt(a):null;o&&(o.footerMounted=!0);const s=l.computed(()=>{const f=e;let h=e;return r.align==="left"?h=`${h}__left`:r.align==="right"?h=`${h}__right`:h=`${h}__center`,{[f]:!0,[h]:!0}}),u=r.height!==null&&r.height!==void 0?Z(r.height):null,i=l.computed(()=>{const f={safeAreaBottom:null,height:null,left:null,top:null,right:null,bottom:null};if(a&&o){const h=he(r.padding??o.footerPadding);return Object.assign(f,h),u&&(o.footerHeight=u),f.height=o.footerHeight,f.safeAreaBottom=o.safeAreaBottom,f.safeAreaBottom&&(f.height=f.height+o.safeAreaBottom,f.bottom=f.safeAreaBottom+(h.bottom??0)),f}if(u&&(f.height=u),r.padding){const h=he(r.padding);Object.assign(f,h)}return f});l.onUnmounted(()=>{o&&(o.footerMounted=!1)});const c=l.computed(()=>{const f={};return i.value.height!==null&&i.value.height!==void 0&&(f.height=z(i.value.height)),i.value.top!==null&&i.value.top!==void 0&&(f.paddingTop=z(i.value.top)),i.value.left!==null&&i.value.left!==void 0&&(f.paddingLeft=z(i.value.left)),i.value.right!==null&&i.value.right!==void 0&&(f.paddingRight=z(i.value.right)),i.value.bottom!==null&&i.value.bottom!==void 0&&(f.paddingBottom=z(i.value.bottom)),f});return{classes:s,styles:c}}}}const{componentName:ml,create:gl,scope:Qo}=G("footer-bar"),pl=gl(hl(ml));function yl(e,t,r,n,a,o){return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(e.classes),style:l.normalizeStyle(e.styles)},[l.renderSlot(e.$slots,"default")],6)}const kn=Ne(pl,[["render",yl]]);function bl(e,t){return{props:{padding:{type:[Object],required:!1}},setup(r){const n=we(),a=l.computed(()=>({[e]:!0})),o=l.computed(()=>{const s={};if(n){const u=lt(n);if(u){if(r.padding){const h=he(r.padding);Object.assign(u.contentPadding,h)}const i=at(n,u),c=ot(n,u);let f="";if(u.contentHeight?f=`${u.contentHeight}`:f=`${u.height}px`,u.contentPadding,s.height=f,u.contentPadding.top!==null&&u.contentPadding.top!==void 0||i>0){const h=(u&&u.contentPadding&&u.contentPadding.top)??0;s.paddingTop=`${i+h}px`}if(u.contentPadding.bottom!==null&&u.contentPadding.bottom!==void 0||c>0){const h=(u&&u.contentPadding&&u.contentPadding.bottom)??0;s.paddingBottom=`${c+h}px`}return u.contentPadding.left!==null&&u.contentPadding.left!==void 0&&(s.paddingLeft=`${u.contentPadding.left}px`),u.contentPadding.right!==null&&u.contentPadding.right!==void 0&&(s.paddingRight=`${u.contentPadding.right}px`),s}}if(r.padding){const u=he(r.padding);u.left!==null&&u.left!==void 0&&(s.paddingLeft=`${u.left}px`),u.top!==null&&u.top!==void 0&&(s.paddingTop=`${u.top}px`),u.right!==null&&u.right!==void 0&&(s.paddingRight=`${u.right}px`),u.bottom!==null&&u.bottom!==void 0&&(s.paddingBottom=`${u.bottom}px`)}return s});return{classes:a,styles:o}}}}const{componentName:vl,create:xl,scope:ei}=G("content"),Sl=xl(bl(vl));function wl(e,t,r,n,a,o){return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(e.classes),style:l.normalizeStyle(e.styles)},[l.renderSlot(e.$slots,"default")],6)}const Dn=Ne(Sl,[["render",wl]]),Qe="GroupStateKey",Mn=Symbol.for("GroupScopeKey");function it(){return l.inject(Mn,!1)}function st(e=!0){l.provide(Mn,e)}function $l(e,t={}){const r=e.get("width",-1),n={type:"form",width:r,column:-1,gutter:-1};Object.assign(n,t);const a=l.shallowRef(n),o=l.markRaw({layout:a,passport:0});return e.set(Qe,o),o}function Ht(e,t,r=-1,n=-1,a=!1){const o=e.get(Qe);if(!o)return;const s=e.get("groupLayout")??{};r===-1&&(r=s.column??1),n===-1&&(n=s.gutter??0);const u=s.minItemWidth??-1,i=()=>{const c=t===""||t===-1,f=Z(t);let h=L.toNumber(r);const E=Z(n);if(!c){let S=(f-(h-1)*E)/h;for(;u!==-1&&h>1&&S<u;)h--,S=(f-(h-1)*E)/h}let R=!1;const P=o.layout;P.value.width=t,P.value.column!==h&&(P.value.column=h,R=!0),P.value.gutter!==E&&(P.value.gutter=E,R=!0),R&&l.triggerRef(P)};if(a)i();else{const c=++o.passport;setTimeout(()=>{c===o.passport&&i()},50)}}function ut(e,t=!1){let r;return t?r=e.getForParent(Qe):r=e.get(Qe),r.layout}function Se(e,t=1){return t==="stretch"?-1:(t=L.toNumber(t),t===-1?100:100*t/e)}function El(e){return e===window}const et=e=>{const t=l.unref(e);if(El(t)){const r=t.innerWidth,n=t.innerHeight;return{top:0,left:0,right:r,bottom:n,width:r,height:n}}return t&&t.getBoundingClientRect?t.getBoundingClientRect():{top:0,left:0,right:0,bottom:0,width:0,height:0}},qe=(e,t)=>e?t?`fox-group__${e}-${t}`:"":`fox-group__${t}`,Pl=e=>{if(!e.props||e.props.span===null||e.props.span===void 0){const t=e.type,r=(t.props&&t.props.span&&t.props.span.default)??1;return typeof r=="function"?r():r}return e.props.span},Cl=e=>{if(!e.props||e.props.offset===null||e.props.offset===void 0){const r=e.type,n=(r.props&&r.props.offset&&r.props.offset.default)??0;return typeof n=="function"?n():n}const t=L.toNumber(e.props.offset);return t<0?0:t},Ol=e=>{if(!e.props||e.props.foxItemType===null||e.props.foxItemType===void 0){const t=e.type,r=(t.props&&t.props.foxItemType&&t.props.foxItemType.default)??"Item";return typeof r=="function"?r():r}return e.props.foxItemType??"Item"},Nl=e=>{if(!e.props||e.props.foxSubItemCount===null||e.props.foxSubItemCount===void 0){const r=e.type,n=(r.props&&r.props.foxSubItemCount&&r.props.foxSubItemCount.default)??"Item";return typeof n=="function"?n():n}const t=L.toNumber(e.props.foxSubItemCount);return t<0?1:t};function Vl(e,t){return{props:{...ee,...Tn,...In},setup(r,n){const a=kt(r.name,r,An),o=$l(a,{type:r.type}),s=it();st(!0);const u=l.getCurrentInstance(),i=y=>{const p=u?.proxy;p&&typeof p.setNameValidateRules=="function"&&p.setNameValidateRules(y,!0)};l.watch(()=>r.rules,(y,p)=>{if(!y&&!p)return;const x=l.toRaw(p),m=l.toRaw(y),v=m?Reflect.ownKeys(m):[];(x?Reflect.ownKeys(x):[]).forEach(b=>{v.includes(b)||(m[b]=[])}),i(m)},{deep:!0}),l.onMounted(()=>{if(r.rules){const y=l.toRaw(r.rules);i(y)}});const c=e,f=l.computed(()=>{const y={};if(s&&a){const p=ut(a,!0);if(p.value.type!=="flex")return{};if(r.width){const v=z(r.width);y.width=v}else{const v=Se(p.value.column,r.span);v>0&&(y.width=`${v}%`)}if(r.height){const v=z(r.height);y.height=v}const x=Se(p.value.column,r.offset);x>0&&(y["margin-left"]=`${x}%`);const m=p.value.gutter/2;m>0&&(y["padding-left"]=`${m}px`,y["padding-right"]=`${m}px`)}else{if(r.width){const p=z(r.width);y.width=p}if(r.height){const p=z(r.height);y.height=p}}return y}),h=l.computed(()=>r.type==="flex"?{[`${qe("",r.type)}`]:!0,[`${qe("justify",r.justify)}`]:!0,[`${qe("align",r.align)}`]:!0,[`${qe("flex",r.flexWrap)}`]:!0,[`${c}__gutter`]:!0}:{[`${qe("",r.type)}`]:!0,[`${c}__gutter`]:!0}),E=l.toRef(r,"title"),R=l.toRef(r,"gutter"),P=l.toRef(r,"column"),S=l.computed(()=>s?!0:r.isWrap),A=l.ref([]),C=y=>{A.value.push(y)},j=l.ref(-1);if(Ht(a,j.value,P.value,R.value,!0),r.autoLayout){l.watch([j,P,R],([p,x,m])=>{Ht(a,p,x,m,!1)});let y=null;l.onMounted(()=>{if(Ke&&A.value&&A.value.length>0){const p=A.value[0];j.value=et(p).width,window.ResizeObserver&&(y=new window.ResizeObserver(()=>{const x=et(p).width;x>0&&x!==j.value&&(j.value=x)}),y.observe(p))}}),l.onUnmounted(()=>{y?.disconnect()})}const O=(y,p,x,m)=>{const v={...h.value};return p===0&&(v[`${c}__first`]=!0),x>=m-1&&(v[`${c}__last`]=!0),l.h("div",{ref:C,key:`${p}`,class:v},y)};return()=>{const y=[];let p=0;if(n.slots.title){const T={key:`${p++}`,class:{[`${c}__title`]:!0,[`${c}__first`]:!0}},b=l.h("div",T,[n.slots.title()]);y.push(b)}else if(E.value){const T={key:`${p++}`,class:{[`${c}__title`]:!0,[`${c}__first`]:!0}},b=[];if(r.showMark){const V=l.h("div",{class:{[`${c}__title-mark`]:!0}});b.push(V)}const k=l.h("div",{class:{[`${c}__title-text`]:!0}},[E.value]);b.push(k);const B=l.h("div",T,b);y.push(B)}const x=n.slots.default?n.slots.default():[];let m=[],v=0;if(r.type==="flex"){for(let T=0;T<x.length;T++){const b=x[T];if(Ol(b)==="fragment"){let w=Nl(b);w>o.layout.value.column?w=o.layout.value.column:w<=0&&(w=1);const $=v+w;if($>o.layout.value.column){const N=O([...m],p++,T-1,x.length);y.push(N),v=w,m=[b]}else m.push(b),v=$;continue}const B=Pl(b),V=Cl(b);if(B==="stretch"){if(v<o.layout.value.column){m.push(b);const w=O([...m],p++,T,x.length);y.push(w)}else{const w=O([...m],p++,T-1,x.length);y.push(w);const $=O([b],p++,T,x.length);y.push($)}v=0,m=[];continue}let I=L.toNumber(B);if(I===-1){if(m.length>0){const $=O([...m],p++,T-1,x.length);y.push($)}const w=O([b],p++,T,x.length);y.push(w),v=0,m=[];continue}I>o.layout.value.column?I=o.layout.value.column:I<=0&&(I=1);const g=v+I+V;if(g>o.layout.value.column){const w=O([...m],p++,T-1,x.length);y.push(w),v=I+V,m=[b]}else m.push(b),v=g}if(m.length>0){const T=O([...m],p++,x.length,x.length);y.push(T)}}else for(let T=0;T<x.length;T++){const b=x[T],k=O([b],p++,T,x.length);y.push(k)}return S.value?l.h("div",{class:{[`${c}`]:!0},style:f.value},[y]):y}}}}const{componentName:Tl,create:Il,scope:ti}=G("group"),Bn=Il(Vl(Tl)),qn={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:Al,create:Rl}=G("price"),jl=Rl({props:{...qn},setup(e){const t=l.computed(()=>({[Al]:!0})),r=l.computed(()=>e.needSymbol?e.symbol:""),n=l.computed(()=>ze(e.price)==0?"":It(e.price,e.decimalLength,!0,L.toNumber(e.digits),e.separator)),a=l.computed(()=>{let s=n.value;if(s.length==0)return"";let u=s.indexOf(".");return s.substring(0,u)}),o=l.computed(()=>{let s=n.value;if(s.length==0)return"";let u=s.indexOf(".");return s.substring(u+1)});return{classes:t,showSymbol:r,intText:a,decimalText:o}}}),kl=["innerHTML"],Dl=["innerHTML"];function Ml(e,t,r,n,a,o){return l.openBlock(),l.createElementBlock("view",{class:l.normalizeClass(e.classes)},[e.needSymbol&&e.position=="before"?(l.openBlock(),l.createElementBlock("view",{key:0,class:l.normalizeClass(["fox-price--symbol",`fox-price--symbol-${e.size}`]),innerHTML:e.showSymbol},null,10,kl)):l.createCommentVNode("",!0),l.createElementVNode("view",{class:l.normalizeClass(`fox-price--${e.size}`)},l.toDisplayString(e.intText),3),e.decimalText.length!=0?(l.openBlock(),l.createElementBlock("view",{key:1,class:l.normalizeClass(`fox-price--decimal-${e.size}`)},".",2)):l.createCommentVNode("",!0),l.createElementVNode("view",{class:l.normalizeClass(`fox-price--decimal-${e.size}`)},l.toDisplayString(e.decimalText),3),e.needSymbol&&e.position=="after"?(l.openBlock(),l.createElementBlock("view",{key:2,class:l.normalizeClass(["fox-price--symbol",`fox-price--symbol-${e.size}`]),innerHTML:e.showSymbol},null,10,Dl)):l.createCommentVNode("",!0)],2)}const tt=Ne(jl,[["render",Ml]]),{componentName:bt,create:Bl}=G("hint-text"),ql=Bl({components:{[tt.name]:tt},props:{...qn,type:{type:String,default:"number"},id:{type:String},startPoint:{type:Object},width:{type:Number},height:{type:Number,default:40},message:{type:String,default:""},visible:{type:Boolean,default:!0},unmount:{type:Function}},setup(e,t){const a=l.computed(()=>({[bt]:!0})),o=l.computed(()=>({left:z(e.startPoint.x),top:z(e.startPoint.y-e.height-10-4),height:z(e.height),width:z(e.width)})),s=l.computed(()=>({[`${bt}__content`]:!0})),u=l.computed(()=>({})),i=l.computed(()=>({[`${bt}__arrow`]:!0})),c=l.computed(()=>({top:z(e.height)}));return{classes:a,styles:o,textClasses:s,textStyles:u,arrowClasses:i,arrowStyles:c}}}),Fl={key:1,class:"text"};function Ll(e,t,r,n,a,o){const s=l.resolveComponent("fox-price");return l.openBlock(),l.createBlock(l.Transition,{name:"hint-text-fade"},{default:l.withCtx(()=>[l.withDirectives(l.createElementVNode("div",{class:l.normalizeClass(e.classes),style:l.normalizeStyle(e.styles)},[l.createElementVNode("div",{class:l.normalizeClass(e.textClasses),style:l.normalizeStyle(e.textStyles)},[e.type=="number"?(l.openBlock(),l.createBlock(s,{key:0,price:e.message,position:"before"},null,8,["price"])):(l.openBlock(),l.createElementBlock("span",Fl,l.toDisplayString(e.message),1))],6),l.createElementVNode("div",{class:l.normalizeClass(e.arrowClasses),style:l.normalizeStyle(e.arrowStyles)},null,6)],6),[[l.vShow,e.visible]])]),_:1})}const ct=Ne(ql,[["render",Ll]]);class Fn{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}}function _l(e){return e===window}const Ln=e=>{const t=l.unref(e);if(!t)return{x:0,y:0};if(_l(t))return{x:0,y:0};let r=0,n=0,a=t;for(;a!==null;)r+=a.offsetLeft,n+=a.offsetTop,a=a.offsetParent;let o=0,s=0;for(a=t;a!==document;)s+=a.scrollTop,o+=a.scrollLeft,a=a.parentNode;return r-=o,n-=s,{x:r,y:n}},Ct={},Hl=new Fn,Te=new Map,Ot=e=>{if(e){const t=document.getElementById(e);Te.delete(e),t&&document.body.removeChild(t)}else{for(const t of Te.keys()){const r=document.getElementById(t);r&&document.body.removeChild(r)}Te.clear()}},Kl=e=>{const t=document.getElementById(e.id);if(t){const r=Te.get(e.id);r?e={...Ct,...r,...e}:e={...Ct,...e};const n=l.createVNode(ct,e);return l.render(n,t),e.id}},zl=e=>{e.unmount=Ot;let t;if(e.id){if(t=e.id,Te.has(t))return Kl(e)}else t=`hinttext_${Hl.get()}`;e={...Ct,...e},e.id=t,Te.set(t,e);const r=document.createElement("div");r.id=e.id;const n=l.createVNode(ct,e);return l.render(n,r),document.body.appendChild(r),t},Gl=e=>{if(!e){console.warn("[FoxUI HintText]: msg\u4E0D\u80FD\u4E3A\u7A7A");return}},We={show(e,t,r={},n=!0){n&&Ot(),Gl(t);const a=Ln(e),o={x:a.x,y:a.y},u=et(e).width;return zl({...r,message:t,startPoint:o,width:u})},hide(e){Ot(e)},install(e){e.config.globalProperties.$hintText=We}},{componentName:Kt,create:Wl}=G("item"),Yl=Wl({inheritAttrs:!0,props:{...ee,...oe},setup(e,t){ne({componentName:Kt,validate:!1},e.prop??e.name);const r=we(),n=it();st(!1);const a=Kt,o=l.computed(()=>({[a]:!0,[`${a}__gutter`]:!0,[`${a}__stretch`]:e.span==="stretch",[`${a}__input--border`]:e.hasBorder,"is-error":!!v.value,"is-warn":!!x.value,"is-info":!!y.value})),s=l.computed(()=>{const N={};if(n&&r){const D=ut(r,!1);if(D.value.type!=="flex")return e.width&&(N.width=z(e.width)),N;if(e.width)N.width=z(e.width);else{const F=Se(D.value.column,e.span);F>0&&(N.width=`${F}%`)}const M=Se(D.value.column,e.offset);M>0&&(N["margin-left"]=`${M}%`);const q=D.value.gutter/2;q>0&&(N["padding-left"]=`${q}px`,N["padding-right"]=`${q}px`)}else e.width&&(N.width=z(e.width));return N}),u=l.ref(null),i=l.computed({get:()=>u.value??L.toBoolean(e.isRequired),set:N=>{u.value=N}}),c=l.computed(()=>typeof e.label=="string"&&e.label.length>0||typeof t.slots.label=="function"),f=Re(l.toRef(e,"labelPosition"),"labelPosition",Xe.Near),h=l.computed(()=>f&&f.value==="top"?"top":f&&f.value==="right"?"right":"left"),E=l.computed(()=>({[`${a}__main`]:!0,[`${a}__main--${h.value}`]:!0})),R=l.computed(()=>({label:!0,[`label--${h.value}`]:!0})),P=Re(l.toRef(e,"labelWidth"),"labelWidth",Xe.Near),S=l.computed(()=>P&&P.value?{width:z(P.value)}:{}),A=l.computed(()=>({["label--string"]:!0,["label--required"]:i.value})),C=l.computed(()=>({content:!0,[e.contentClass]:!0})),j=l.computed(()=>({...e.contentStyle})),O=l.reactive({errorTip:"",errorIcon:null,warnTip:"",warnIcon:null,infoTip:"",infoIcon:null});ie({setRequired(N){i.value=N},setErrorTip(N){O.errorTip=N},setErrorIcon(N){O.errorIcon=N},setWarnTip(N){O.warnTip=N},setWarnIcon(N){O.warnIcon=N},setInfoTip(N){O.infoTip=N},setInfoIcon(N){O.infoIcon=N}});const y=l.computed(()=>e.infoTip||O.infoTip),p=l.computed(()=>e.infoIcon||O.infoIcon),x=l.computed(()=>e.warnTip||O.warnTip),m=l.computed(()=>e.warnIcon||O.warnIcon),v=l.computed(()=>e.errorTip||O.errorTip),T=l.computed(()=>e.errorIcon||O.errorIcon),b=l.computed(()=>v.value?"error":x.value?"warn":y.value?"info":""),k=l.computed(()=>b.value.length>0),B=l.computed(()=>b.value==="error"?v.value:b.value==="warn"?x.value:b.value==="info"?y.value:""),V=l.computed(()=>b.value==="error"?T.value:b.value==="warn"?m.value:b.value==="info"?p.value:null),I=l.computed(()=>{let N={[`${a}__tip`]:!0,[`${a}__tip--${b.value}`]:!0};return b.value==="error"&&e.errorClass?N[`${e.errorClass}`]=!0:b.value==="warn"&&e.warnClass?N[`${e.warnClass}`]=!0:b.value==="info"&&e.infoClass&&(N[`${e.infoClass}`]=!0),N}),g=l.computed(()=>{let N={};return f&&f.value==="top"?N["padding-left"]="0px":P&&P.value&&(N["padding-left"]=z(P.value)),N}),w=l.ref();let $="";return l.watch([()=>e.hintVisible,()=>e.hintText,()=>e.hintType,()=>e.hintProps],([N,D,M,q])=>{!w.value||(N&&!X(D)?$?We.show(w.value,D,{...q,id:$,type:M}):$=We.show(w.value,D,{...q,type:M}):We.hide($))}),{classes:o,styles:s,mainClasses:E,hasLabel:c,labelClasses:R,labelStyles:S,labelStringClasses:A,contentClasses:C,contentStyles:j,contentRef:w,hasTip:k,mTip:B,mIcon:V,tipClasses:I,tipStyles:g}}}),Ul={key:0,class:"fox-item__tip-icon"},Zl={class:"fox-item__tip-text"};function Xl(e,t,r,n,a,o){return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(e.classes),style:l.normalizeStyle(e.styles)},[l.createElementVNode("div",{class:l.normalizeClass(e.mainClasses)},[e.hasLabel?(l.openBlock(),l.createElementBlock("div",{key:0,class:l.normalizeClass(e.labelClasses),style:l.normalizeStyle(e.labelStyles)},[l.createElementVNode("div",{class:l.normalizeClass(e.labelStringClasses)},[l.renderSlot(e.$slots,"label",{},()=>[l.createTextVNode(l.toDisplayString(e.label),1)])],2)],6)):l.createCommentVNode("",!0),l.createElementVNode("div",{ref:"contentRef",class:l.normalizeClass(e.contentClasses),style:l.normalizeStyle(e.contentStyles)},[l.renderSlot(e.$slots,"prepend"),l.renderSlot(e.$slots,"default"),l.renderSlot(e.$slots,"append")],6)],2),l.createVNode(l.Transition,{name:"fox-item__animate"},{default:l.withCtx(()=>[e.hasTip?(l.openBlock(),l.createElementBlock("div",{key:0,class:l.normalizeClass(e.tipClasses),style:l.normalizeStyle(e.tipStyles)},[e.mIcon?(l.openBlock(),l.createElementBlock("div",Ul,l.toDisplayString(e.mIcon),1)):l.createCommentVNode("",!0),l.createElementVNode("div",Zl,l.toDisplayString(e.mTip),1)],6)):l.createCommentVNode("",!0)]),_:1}),l.renderSlot(e.$slots,"hide")],6)}const re=Ne(Yl,[["render",Xl]]);function Jl(e,t){return{props:{span:{type:[Number,String],required:!1,default:1},offset:{type:[Number],default:0},width:{type:[String,Number],required:!1}},setup(r,n){const a=e,o=l.computed(()=>({[a]:!0,[`${a}__stretch`]:r.span==="stretch"})),s=we(),u=it();st(!1);const i=l.computed(()=>{const c={};if(u&&s){const f=ut(s,!1);if(f.value.type!=="flex")return r.width&&(c.width=z(r.width)),c;if(r.width)c.width=z(r.width);else{const R=Se(f.value.column,r.span);R>0&&(c.width=`${R}%`)}const h=Se(f.value.column,r.offset);h>0&&(c["margin-left"]=`${h}%`);const E=f.value.gutter/2;E>0&&(c["padding-left"]=`${E}px`,c["padding-right"]=`${E}px`)}else r.width&&(c.width=z(r.width));return c});return()=>{const c={class:o.value,style:i.value};return n.slots&&typeof n.slots.default=="function"?l.h("div",c,n.slots.default()):l.h("div",c)}}}}const{componentName:Ql,create:ea,scope:ni}=G("slot-item"),_n=ea(Jl(Ql));function ta(e,t){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],required:!1,default:!1}},setup(r,n){const a=e,o=l.computed(()=>({[a]:!0,[`${a}__stretch`]:r.span==="stretch",[`${a}__${r.align}`]:!0})),s=we(),u=it();st(!1);const i=l.computed(()=>{const f={};if(u&&s){const h=ut(s,!1);if(h.value.type!=="flex")return r.width&&(f.width=z(r.width)),f;if(r.width)f.width=z(r.width);else{const P=Se(h.value.column,r.span);P>0&&(f.width=`${P}%`)}const E=Se(h.value.column,r.offset);E>0&&(f["margin-left"]=`${E}%`);const R=h.value.gutter/2;R>0&&(f["padding-left"]=`${R}px`,f["padding-right"]=`${R}px`)}else r.width&&(f.width=z(r.width));return f}),c=l.computed(()=>({[`${a}__content`]:!0}));return()=>{const f=[];if(n.slots.default){const P=n.slots.default();if(r.divide)for(let S=0;S<P.length;S++){if(S>0){const A=l.h("div",{class:{[`${a}__divide`]:!0}});f.push(A)}f.push(P[S])}else Reflect.apply([].push,f,P)}const h={class:c.value},E=l.h("div",h,f),R={class:o.value,style:i.value};return l.h("div",R,[E])}}}}const{componentName:na,create:ra,scope:ri}=G("row-item"),Hn=ra(ta(na)),zt={modelValue:{type:[String,Object],required:!1},clearable:{type:[Boolean,String],default:!0},unit:{type:[String],required:!1},adjustPosition:{type:Boolean,default:!0},alwaysSystem:{type:Boolean,default:!1}};function la(e,t,r){return{props:{...ee,...oe,...zt},emits:["change","update:modelValue","blur","focus","clear","input"],setup(n,a){const{emitEvent:o}=ne({componentName:e},n.prop??n.name),{toLocaleRefs:s}=me.useFoxI18n(t),u=s(n,["placeholder"]),i=l.ref(!1),c=ue(l.computed(()=>n.disabled)),f=se(l.computed(()=>n.readonly)),h=Y(n,"modelValue"),E=e,R=l.computed(()=>({[E]:!0})),P=m=>{h.value=m,o("update:modelValue",m),o("input",m)},S=m=>{o("change",m)};let A=Y(n,"hintText"),C=l.ref(!1);const j=m=>{let T=m.target.value;i.value=!0,X(A.value)||(C.value=!0),o("focus",T,m)},O=m=>{setTimeout(()=>{C.value&&(C.value=!1),i.value=!1},0);let T=m.target.value;n.maxLength&&T.length>Number(n.maxLength)&&(T=T.slice(0,Number(n.maxLength))),o("blur",T,m)},y=()=>{o("clear","")},p=l.computed(()=>ze(n.unit)>0),x=l.ref();return ie({focus:()=>{x?.value.focus()},blur:()=>{x?.value.blur()},select:()=>{x?.value.select()}}),()=>{const v={...a.attrs,ref:x,class:R.value,placeholder:u.placeholder.value,clearable:n.clearable,disabled:c.value,readonly:f.value,modelValue:h.value,"adjust-position":n.adjustPosition,"always-system":n.alwaysSystem,onClear:y,onChange:S,onInput:P,onFocus:j,onBlur:O},T={};a.slots.prepend&&(T.prepend=a.slots.prepend),a.slots.append&&(T.append=a.slots.append),a.slots.prefix&&(T.prefix=a.slots.prefix),a.slots.suffix?T.suffix=a.slots.suffix:p.value&&(T.suffix=()=>[n.unit]);const b=[],k=l.h(d.ElInput,v,T);b.push(k);const B={default:()=>b};if(a.slots.default){const w=a.slots.default();B.label=()=>w}const I={...ae(n,zt),hintText:A.value,hintVisible:C.value,prop:`${n.prop}_item`};return l.h(r,I,B)}}}}const{componentName:aa,create:oa,scope:ia}=G("input-item"),Kn=oa(la(aa,ia,re));function Ce(e,t){return typeof e.textKey=="string"&&e.textKey.length>0?t[e.textKey]:t.text}function Ie(e,t){return typeof e.valueKey=="string"&&e.valueKey.length>0?t[e.valueKey]:t.value}function zn(e,t){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?t[e.childrenKey]||null:t.children??null}class sa{proxy;constructor(t){this.proxy=t}async load(t,r,n){if(Array.isArray(r))return r;if(typeof r=="function")return await r(n);const a=Oe(this.proxy,t);return a===null?(console.error(`${t} component not found api function`),[]):(L.isObject(n)&&l.isReactive(n)&&(n=l.toRaw(n)),await a(r,n))}}function ua(){const e=l.getCurrentInstance();return new sa(e.proxy)}function Gn(e,t,r){const n=Ce(e,t),a=Ce(e,r);if(n!==a)return!1;const o=Ie(e,t),s=Ie(e,r);return o===s}function Wn(e,t,r,n){if(n.length===0||t===""||t===null||t===void 0)return null;Array.isArray(t)||(t=[t]);const a=[];return t.forEach(o=>{for(let s of n){const u=zn(e,s);if(Array.isArray(u)&&u.length>0){const i=Wn(e,o,r,u)??[];Reflect.apply([].push,a,i)}else{let i=!1;if(r==="text")i=Ce(e,s)===o;else if(r==="item")i=Gn(e,s,o);else{let c=Ie(e,s);c==null&&(c=Ce(e,s)),i=c===o}if(i){a.push(s);break}}}}),a}function ca(e){return{text:e,value:e}}const Gt={modelValue:{type:[String,Object,Boolean,Number],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"},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},allowCreate:{type:Boolean,default:!1},unit:{type:[String],required:!1}};function fa(e,t,r){return{props:{...ee,...oe,...Gt},emits:["change","update:modelValue","blur","focus","clear","visible-change","remove-tag"],setup(n,a){const{emitEvent:o}=ne({componentName:e},n.prop??n.name),{toLocaleRefs:s}=me.useFoxI18n(t),u=s(n,["placeholder"]),i=l.ref(null),c=l.ref([]),f=(g,w,$,N=!0)=>{const D=Wn(n,g,w,$);if(D===null){if(c.value===null||c.value.length===0)return;i.value=null,c.value=[],N&&(o("update:modelValue",null),o("change",null));return}let M=!0;if(D.length!==c.value.length)M=!1;else for(let q=0;q<D.length;q++){const F=D[q],_=c.value[q];if(!Gn(n,F,_)){M=!1;break}}if(!M){c.value=D;let q=[],F=[];D.forEach(K=>{q.push(Ie(n,K)),n.valueType==="text"?F.push(Ce(n,K)):n.valueType==="item"?F.push(K):F.push(Ie(n,K))});let _;n.multiple?(i.value=q,_=l.toRaw(F)):(i.value=q[0]??"",_=l.toRaw(F[0]??"")),N&&(o("update:modelValue",_),o("change",_))}},h=l.ref([]),E=ua();l.watch([()=>n.source,()=>n.params],async([g,w])=>{if(g){const $=await E.load("select",g,w);if($.length>0)if(typeof $[0]=="string"){let M=$.map(q=>ca(q));h.value=M}else h.value=$}},{immediate:!0}),l.watch([()=>h.value,()=>n.modelValue],([g,w])=>{f(w,n.valueType,g,!1)});let R=null,P=l.ref(!1);typeof n.remoteMethod=="function"&&(R=async g=>{if(g!=null){P.value=!0;try{const w=await n.remoteMethod(g);h.value=w}catch(w){console.error(w)}P.value=!1}});const S=l.ref(!1),A=ue(l.computed(()=>n.disabled)),C=se(l.computed(()=>n.readonly)),j=e,O=l.computed(()=>({[j]:!0})),y=g=>{n.allowCreate?(o("update:modelValue",g),o("change",g),i.value=g):f(g,"value",h.value,!0)};let p=Y(n,"hintText"),x=l.ref(!1);const m=g=>{let $=g.target.value;S.value=!0,X(p.value)||(x.value=!0),o("focus",$,g)},v=g=>{setTimeout(()=>{x.value&&(x.value=!1),S.value=!1},0);let $=g.target.value;n.maxLength&&$.length>Number(n.maxLength)&&($=$.slice(0,Number(n.maxLength))),b.value?setTimeout(()=>{o("blur",$,g)},50):o("blur",$,g)},T=()=>{o("clear","")},b=l.ref(!1),k=g=>{b.value=g,o("visible-change",g)},B=g=>{o("remove-tag",g)},V=(g,w)=>{const $=[];return g.forEach((N,D)=>{const M=zn(n,N);if(Array.isArray(M)&&M.length>0){const q=V(M,w),F=Ce(n,N),K={key:`${F}_${D}`,label:F};$.push(l.h(d.ElOptionGroup,K,{default:()=>q}))}else{const q=Ie(n,N),F=Ce(n,N),_=L.toBoolean(N.disabled),W={key:`${q}_${D}`,label:F,disabled:_,value:q};typeof w=="function"?$.push(l.h(d.ElOption,W,{default:w})):$.push(l.h(d.ElOption,W))}}),$},I=l.ref();return ie({focus:()=>{I?.value.focus()},blur:()=>{I?.value.blur()}}),()=>{const w={...a.attrs,ref:I,class:O.value,clearable:n.clearable,multiple:n.multiple,placeholder:u.placeholder.value,disabled:A.value||C.value,modelValue:i.value,["value-key"]:n.valueKey,["allow-create"]:n.allowCreate,onClear:T,onChange:y,onFocus:m,onBlur:v,onVisibleChange:k,onRemoveTag:B};typeof R=="function"&&(w["remote-method"]=R,w.loading=P.value);const $={};a.slots.prefix&&($.prefix=a.slots.prefix),a.slots.empty&&($.empty=a.slots.empty),$.default=()=>V(h.value,a.slots.option);const N=[],D=l.h(d.ElSelect,w,$);N.push(D);const M={default:()=>N};if(a.slots.default){const K=a.slots.default();M.label=()=>K}const F={...ae(n,Gt),hintText:p.value,hintVisible:x.value,prop:`${n.prop??n.name}_item`};return l.h(r,F,M)}}}}const{componentName:da,create:ha,scope:ma}=G("select-item"),Yn=ha(fa(da,ma,re)),Wt={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1}};function ga(e,t,r){return{props:{...ee,...oe,...Wt},emits:["change","update:modelValue","blur","focus","clear","visible-change","calendar-change","panel-change"],setup(n,a){const{emitEvent:o}=ne({componentName:e},n.prop??n.name),{toLocaleRefs:s}=me.useFoxI18n(t),u=s(n,["placeholder"]),i=l.ref(!1),c=ue(l.computed(()=>n.disabled)),f=se(l.computed(()=>n.readonly)),h=Y(n,"modelValue"),E=e,R=l.computed(()=>({[E]:!0})),P=v=>{h.value=v,o("update:modelValue",v),o("change",v)};let S=Y(n,"hintText"),A=l.ref(!1);const C=v=>{let b=v.target.value;i.value=!0,X(S.value)||(A.value=!0),o("focus",b,v)},j=v=>{setTimeout(()=>{A.value&&(A.value=!1),i.value=!1},0);let b=v.target.value;n.maxLength&&b.length>Number(n.maxLength)&&(b=b.slice(0,Number(n.maxLength))),o("blur",b,v)},O=()=>{o("clear","")},y=v=>{o("calendar-change",v)},p=(v,T,b)=>{o("panel-change",v,T,b)},x=v=>{o("visible-change",v)},m=l.ref();return ie({focus:()=>{m?.value.focus()},blur:()=>{m?.value.blur()},handleOpen:()=>{m?.value.handleOpen()},handleClose:()=>{m?.value.handleClose()}}),()=>{const T={...a.attrs,ref:m,class:R.value,placeholder:u.placeholder.value,disabled:c.value,readonly:f.value,modelValue:h.value,["onUpdate:modelValue"]:P,onClear:O,onFocus:C,onBlur:j,onCalendarChange:y,onPanelChange:p,onVisibleChange:x},b={};a.slots["range-separator"]&&(b["range-separator"]=a.slots["range-separator"]),a.slots.cell&&(b.default=a.slots.cell);const k=[],B=l.h(d.ElDatePicker,T,b);k.push(B);const V={default:()=>k};if(a.slots.default){const $=a.slots.default();V.label=()=>$}const g={...ae(n,Wt),hintText:S.value,hintVisible:A.value,prop:`${n.prop}_item`};return l.h(r,g,V)}}}}const{componentName:pa,create:ya,scope:ba}=G("date-item"),Un=ya(ga(pa,ba,re)),Yt={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1}};function va(e,t,r){return{props:{...ee,...oe,...Yt},emits:["change","update:modelValue","blur","focus","clear","visible-change"],setup(n,a){const{emitEvent:o}=ne({componentName:e},n.prop??n.name),{toLocaleRefs:s}=me.useFoxI18n(t),u=s(n,["placeholder"]),i=l.ref(!1),c=ue(l.computed(()=>n.disabled)),f=se(l.computed(()=>n.readonly)),h=Y(n,"modelValue"),E=e,R=l.computed(()=>({[E]:!0})),P=x=>{h.value=x,o("update:modelValue",x),o("change",x)};let S=Y(n,"hintText"),A=l.ref(!1);const C=x=>{let v=x.target.value;i.value=!0,X(S.value)||(A.value=!0),o("focus",v,x)},j=x=>{setTimeout(()=>{A.value&&(A.value=!1),i.value=!1},0);let v=x.target.value;n.maxLength&&v.length>Number(n.maxLength)&&(v=v.slice(0,Number(n.maxLength))),o("blur",v,x)},O=()=>{o("clear","")},y=x=>{o("visible-change",x)},p=l.ref();return ie({focus:()=>{p?.value.focus()},blur:()=>{p?.value.blur()},handleOpen:()=>{p?.value.handleOpen()},handleClose:()=>{p?.value.handleClose()}}),()=>{const m={...a.attrs,ref:p,class:R.value,placeholder:u.placeholder.value,disabled:c.value,readonly:f.value,modelValue:h.value,["onUpdate:modelValue"]:P,onClear:O,onFocus:C,onBlur:j,onVisibleChange:y},v={},T=[],b=l.h(d.ElTimePicker,m,v);T.push(b);const k={default:()=>T};if(a.slots.default){const g=a.slots.default();k.label=()=>g}const V={...ae(n,Yt),hintText:S.value,hintVisible:A.value,prop:`${n.prop}_item`};return l.h(r,V,k)}}}}const{componentName:xa,create:Sa,scope:wa}=G("time-item"),Zn=Sa(va(xa,wa,re)),Ut={modelValue:{type:[Date,Number,String,Array],required:!1},unit:{type:[String],required:!1}};function $a(e,t,r){return{props:{...ee,...oe,...Ut},emits:["change","update:modelValue","blur","focus","clear"],setup(n,a){const{emitEvent:o}=ne({componentName:e},n.prop??n.name),{toLocaleRefs:s}=me.useFoxI18n(t),u=s(n,["placeholder"]),i=l.ref(!1),c=ue(l.computed(()=>n.disabled)),f=se(l.computed(()=>n.readonly)),h=Y(n,"modelValue"),E=e,R=l.computed(()=>({[E]:!0})),P=p=>{h.value=p,o("update:modelValue",p),o("change",p)};let S=Y(n,"hintText"),A=l.ref(!1);const C=p=>{let m=p.target.value;i.value=!0,X(S.value)||(A.value=!0),o("focus",m,p)},j=p=>{setTimeout(()=>{A.value&&(A.value=!1),i.value=!1},0);let m=p.target.value;n.maxLength&&m.length>Number(n.maxLength)&&(m=m.slice(0,Number(n.maxLength))),o("blur",m,p)},O=()=>{o("clear","")},y=l.ref();return ie({focus:()=>{y?.value.focus()},blur:()=>{y?.value.blur()},handleOpen:()=>{y?.value.handleOpen()},handleClose:()=>{y?.value.handleClose()}}),()=>{const x={...a.attrs,ref:y,class:R.value,placeholder:u.placeholder.value,disabled:c.value,readonly:f.value,modelValue:h.value,["onUpdate:modelValue"]:P,onClear:O,onFocus:C,onBlur:j},m={},v=[],T=l.h(d.ElTimeSelect,x,m);v.push(T);const b={default:()=>v};if(a.slots.default){const I=a.slots.default();b.label=()=>I}const B={...ae(n,Ut),hintText:S.value,hintVisible:A.value,prop:`${n.prop}_item`};return l.h(r,B,b)}}}}const{componentName:Ea,create:Pa,scope:Ca}=G("time-select-item"),Xn=Pa($a(Ea,Ca,re));function Zt(e,t=0){let r=`${e}`,n=r.indexOf(".");if(n==-1)return r;let a=n;for(let o=r.length-1;o>=n;o--)if(r.charAt(o)!="0"){a=o;break}return a-n<t?a=n+t+1:a!=n&&(a+=1),a>r.length?r=r.padEnd(a,"0"):r=r.substring(0,a),r}function Xt(e,t,r=20){if(typeof t=="string"&&(t=L.toNumber(t)),t==1||t==-1)return`${e}`;if(t==0)return"0";if(t>0){let n=hn(`${e}`,`${t}`);return Zt(n)}else{let n=Tt(`${e}`,mn(`${t}`),20);return Zt(n)}}function Oa(e,t=-1,r=!1,n=3,a=","){return It(e,t,r,n,a)}function Jt(e,t,r,n,a=!0){if(e=="")return"";if(e=gn(e),t=L.toNumber(t),t==1)return e;if(n)e=Xt(e,t),r&&(e=="0"&&a?e=`${e}.`.padEnd(L.toNumber(r)+2,"0"):e=Tt(e,1,L.toNumber(r)));else{let o=-1*t;e=Xt(e,o)}return e}function Qt(e,t){let r={maxValid:!0,minValid:!0,message:""};if(t.min!==void 0){let n=L.toBoolean(t.minInclude),a=$t(e,t.min);if(n&&a==-1||!n&&(a==0||a==-1)){let o="\u8BF7\u8F93\u5165\u4E0D\u5C0F\u4E8E {0} \u7684\u6570\u503C";r.message=o.replace("{0}",t.min),r.minValid=!1}}if(t.max!=null){let n=L.toBoolean(t.maxInclude),a=$t(e,t.max);(n&&a==1||!n&&(a==0||a==1))&&(r.maxValid=!1)}return r}const en={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 Na(e,t,r){return{props:{...ee,...oe,...en},emits:["change","update:modelValue","blur","focus","clear","input"],setup(n,a){const{emitEvent:o}=ne({componentName:e},n.prop??n.name),s=l.ref(!1),u=ue(l.computed(()=>n.disabled)),i=se(l.computed(()=>n.readonly)),c=Y(n,"modelValue"),f=l.ref("");l.watch([()=>c.value,()=>n.rates,()=>n.precision],([V,I,g])=>{if(X(V))return"";const w=Jt(V,I,g,!1);f.value!==w&&(f.value=w)},{immediate:!0});const h=l.computed(()=>{let V="";return s.value&&(V=f.value),V}),{t:E}=me.useFoxI18n(t),R=l.computed(()=>{let V=n.placeholder??"";return!s.value&&!X(f.value)?V=Oa(f.value,n.decimalLength,n.autoPadding,n.digits,n.separator):V=E(["placeholder",V]),V}),P=e,S=l.computed(()=>({[P]:!0,[`${P}__disabled`]:u.value,[`${P}__placeholder`]:f.value.length>0})),A=Re(l.computed(()=>n.textAlign),"textAlign");l.computed(()=>s.value?{textAlign:"left"}:{textAlign:A.value??"right"});const C=l.ref(""),j=l.computed(()=>{let V=C.value;return X(V)&&(V=n.errorTip??""),V}),O=l.ref(""),y=l.ref(!1),p=(V,I)=>{if(V=`${V}`,X(V)){f.value="",c.value="",I.forEach(g=>{o(g,"")}),L.toBoolean(n.showTip)&&y.value&&(y.value=!1);return}if(V.length>=2){let g=V;if(g.charAt(0)=="-"&&(g=g.substring(1)),g.length>=2&&g.charAt(0)=="0"&&g.charAt(1)!="."){l.triggerRef(f);return}}if(V!="-"){if(!yn(V)){l.triggerRef(f);return}if(n.integerLength!=-1&&bn(V)>Number(n.integerLength)){l.triggerRef(f);return}if(n.decimalLength&&n.decimalLength!=-1&&vn(V)>Number(n.decimalLength)){l.triggerRef(f);return}let g=Qt(V,n);if(g.maxValid===!1){C.value=g.message,l.triggerRef(f);return}}else if(n.min!=null&&L.toNumber(n.min)>=0){l.triggerRef(f);return}O.value=V,L.toBoolean(n.showTip)&&(y.value=V.length>0),f.value=V,c.value=Jt(V,n.rates,n.precision,!0),I.forEach(g=>{o(g,c.value)})},x=V=>{p(V,["update:modelValue","input"])},m=V=>{p(V,["update:modelValue","change"])},v=V=>{if(s.value=!0,L.toBoolean(n.showTip)){let I=f.value;X(I)&&(I=n.hintText),X(I)||(O.value=I,y.value=!0)}C.value="",o("focus",c.value,V)},T=V=>{if(setTimeout(()=>{s.value=!1,L.toBoolean(n.showTip)&&y.value===!0&&(y.value=!1)},0),!X(f.value)){let I=Qt(f.value,n);if(I.minValid===!1||I.maxValid){C.value=I.message;return}}o("update:modelValue",c.value,V),o("blur",c.value,V)},b=()=>{o("clear","")},k=l.computed(()=>ze(n.unit)>0),B=l.ref();return ie({focus:()=>{B?.value.focus()},blur:()=>{B?.value.blur()},select:()=>{B?.value.select()}}),()=>{const I={...a.attrs,ref:B,class:S.value,type:"digit",maxlength:n.maxLength,placeholder:R.value,clearable:n.clearable,disabled:u.value,readonly:i.value,modelValue:h.value,"adjust-position":n.adjustPosition,"always-system":n.alwaysSystem,onClear:b,onInput:x,onChange:m,onFocus:v,onBlur:T},g={};a.slots.prepend&&(g.prepend=a.slots.prepend),a.slots.append&&(g.append=a.slots.append),a.slots.prefix&&(g.prefix=a.slots.prefix),a.slots.suffix?g.suffix=a.slots.suffix:k.value&&(g.suffix=()=>[n.unit]);const w=[],$=l.h(d.ElInput,I,g);w.push($);const N={default:()=>w};if(a.slots.default){const F=a.slots.default();N.label=()=>F}const M={...ae(n,en),errorTip:j.value,hintText:O.value,hintVisible:y.value,hintType:"number",prop:`${n.prop}_item`};return l.h(r,M,N)}}}}const{componentName:Va,create:Ta,scope:Ia}=G("money-item"),Jn=Ta(Na(Va,Ia,re)),tn={modelValue:{type:[String,Number],required:!1},clearable:{type:[Boolean,String],default:!0},unit:{type:[String],required:!1},adjustPosition:{type:Boolean,default:!0},alwaysSystem:{type:Boolean,default:!1}};function Aa(e,t,r){return{props:{...ee,...oe,...tn},emits:["change","update:modelValue","blur","focus","clear","input"],setup(n,a){const{emitEvent:o}=ne({componentName:e},n.prop??n.name),{toLocaleRefs:s}=me.useFoxI18n(t),u=s(n,["placeholder"]),i=l.ref(!1),c=ue(l.computed(()=>n.disabled)),f=se(l.computed(()=>n.readonly)),h=Y(n,"modelValue"),E=e,R=l.computed(()=>({[E]:!0,[`${E}__append`]:x.value})),P=l.computed(()=>({[`${E}__unit`]:!0})),S=v=>{h.value=v,o("update:modelValue",v),o("input",v)},A=v=>{o("change",v)};let C=Y(n,"hintText"),j=l.ref(!1);const O=v=>{let b=v.target.value;i.value=!0,X(C.value)||(j.value=!0),o("focus",b,v)},y=v=>{setTimeout(()=>{j.value&&(j.value=!1),i.value=!1},0);let b=v.target.value;n.maxLength&&b.length>Number(n.maxLength)&&(b=b.slice(0,Number(n.maxLength))),o("blur",b,v)},p=()=>{o("clear","")},x=l.computed(()=>ze(n.unit)>0),m=l.ref();return ie({focus:()=>{m?.value.focus()},blur:()=>{m?.value.blur()}}),()=>{const T={...a.attrs,ref:m,class:R.value,placeholder:u.placeholder.value,clearable:n.clearable,disabled:c.value,readonly:f.value,modelValue:h.value,"adjust-position":n.adjustPosition,"always-system":n.alwaysSystem,onClear:p,onChange:A,onInput:S,onFocus:O,onBlur:y},b={},k=[],B=l.h(d.ElInputNumber,T,b);k.push(B);const V={default:()=>k};if(a.slots.default){const $=a.slots.default();V.label=()=>$}const g={...ae(n,tn),hintText:C.value,hintVisible:j.value,prop:`${n.prop}_item`};if(a.slots.append)V.append=a.slots.append;else if(x.value){const $={class:P.value},N=l.h("div",$,[n.unit]);V.append=()=>N}return l.h(r,g,V)}}}}const{componentName:Ra,create:ja,scope:ka}=G("input-number-item"),Qn=ja(Aa(Ra,ka,re));function je(e,t){return typeof e.textKey=="string"&&e.textKey.length>0?t[e.textKey]:t.text}function Pe(e,t){return typeof e.valueKey=="string"&&e.valueKey.length>0?t[e.valueKey]:t.value}function Da(e,t){return typeof e.childrenKey=="string"&&e.childrenKey.length>0?t[e.childrenKey]||null:t.children??null}class Ma{proxy;constructor(t){this.proxy=t}async load(t,r,n){if(Array.isArray(r))return r;if(typeof r=="function")return await r(n);const a=Oe(this.proxy,t);return a===null?(console.error(`${t} component not found api function`),[]):(L.isObject(n)&&l.isReactive(n)&&(n=l.toRaw(n)),await a(r,n))}}function Ba(){const e=l.getCurrentInstance();return new Ma(e.proxy)}function Nt(e,t,r){const n=je(e,t),a=je(e,r);if(n!==a)return!1;const o=Pe(e,t),s=Pe(e,r);return o===s}function er(e,t,r,n){if(n.length==0||t===""||t===null||t===void 0)return null;Array.isArray(t)||(t=[t]);const a=[];let o=n;for(let s=0;Array.isArray(o)&&s<t.length;s++){const u=t[s];if(Array.isArray(u)){const i=er(e,u,r,n);a.push(i)}else{let i=!1;for(let c of o){if(r==="text")i=je(e,c)===u;else if(r==="item")i=Nt(e,c,u);else{let f=Pe(e,c);f==null&&(f=je(e,c)),i=f===u}if(i){a.push(c),o=Da(e,c);break}}if(!i)break}}return a}function qa(e){return{text:e,value:e}}const nn={modelValue:{type:[Array,String],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}};function Fa(e,t,r){return{props:{...ee,...oe,...nn},emits:["change","update:modelValue","blur","focus","clear","visible-change","expand-change","remove-tag"],setup(n,a){const{emitEvent:o}=ne({componentName:e},n.prop??n.name),{toLocaleRefs:s}=me.useFoxI18n(t),u=s(n,["placeholder"]),i=l.ref(null),c=l.ref([]),f=(w,$,N,D=!0)=>{if(n.props&&n.props.lazy===!0){if(i.value===w)return;i.value=w;const F=l.toRaw(w);D&&(o("update:modelValue",F),o("change",F))}const M=er(n,w,$,N);if(M===null){if(c.value.length===0||c.value===null)return;c.value=[],i.value=null,D&&(o("update:modelValue",null),o("change",null));return}let q=!0;if(M.length!==c.value.length)q=!1;else for(let F=0;F<M.length;F++){const _=M[F],K=c.value[F];if(Array.isArray(_)){if(!Array.isArray(K)||_.length!==K.length)q=!1;else for(let W=0;W<_.length;W++)if(!Nt(n,_[W],K[W])){q=!1;break}}else Nt(n,_,K)||(q=!1);if(!q)break}if(!q){c.value=M;let F=[],_=[];M.forEach(W=>{if(Array.isArray(W)){let de=[],ce=[];for(let le of W)de.push(Pe(n,le)),n.valueType==="text"?ce.push(je(n,le)):n.valueType==="item"?ce.push(le):ce.push(Pe(n,le));F.push(de),_.push(ce)}else F.push(Pe(n,W)),n.valueType==="text"?_.push(je(n,W)):n.valueType==="item"?_.push(W):_.push(Pe(n,W))}),i.value=F;const K=l.toRaw(_);D&&(o("update:modelValue",K),o("change",K))}},h=l.ref([]),E=Ba();l.watch([()=>n.source,()=>n.params],async([w,$])=>{if(w){const N=await E.load("cascader",w,$);if(N.length>0)if(typeof N[0]=="string"){let q=N.map(F=>qa(F));h.value=q}else h.value=N}},{immediate:!0}),l.watch([()=>h.value,()=>n.modelValue],([w,$])=>{f($,n.valueType,w,!1)});let R=null,P=l.ref(!1);typeof n.remoteMethod=="function"&&(R=async w=>{if(w!=null){P.value=!0;try{const $=await n.remoteMethod(w);h.value=$}catch($){console.error($)}P.value=!1}});const S=l.ref(!1),A=ue(l.computed(()=>n.disabled)),C=se(l.computed(()=>n.readonly)),j=e,O=l.computed(()=>({[j]:!0})),y=l.computed(()=>{let w={label:n.textKey,value:n.valueKey,children:n.childrenKey};return n.multiple===!0&&(w.multiple=!0),n.props&&Object.assign(w,n.props),w}),p=w=>{n.allowCreate?(o("update:modelValue",w),o("change",w),i.value=w):f(w,"value",h.value,!0)};let x=Y(n,"hintText"),m=l.ref(!1);const v=w=>{let N=w.target.value;S.value=!0,X(x.value)||(m.value=!0),o("focus",N,w)},T=w=>{setTimeout(()=>{m.value&&(m.value=!1),S.value=!1},0);let N=w.target.value;n.maxLength&&N.length>Number(n.maxLength)&&(N=N.slice(0,Number(n.maxLength))),k.value?setTimeout(()=>{o("blur",N,w)},50):o("blur",N,w)},b=()=>{o("clear","")},k=l.ref(!1),B=w=>{k.value=w,o("visible-change",w)},V=w=>{o("remove-tag",w)},I=w=>{o("expand-change",w)},g=l.ref();return ie({focus:()=>{g?.value.focus()},blur:()=>{g?.value.blur()},getCheckedNodes:()=>g?.value.getCheckedNodes()}),()=>{const $={...a.attrs,ref:g,class:O.value,props:y.value,clearable:n.clearable,placeholder:u.placeholder.value,disabled:A.value||C.value,options:h.value,modelValue:i.value,onClear:b,onChange:p,onFocus:v,onBlur:T,onVisibleChange:B,onRemoveTag:V,expandChange:I};typeof R=="function"&&($["remote-method"]=R,$.loading=P.value);const N={};a.slots.option&&(N.default=a.slots.option),a.slots.empty&&(N.empty=a.slots.empty);const D=[],M=l.h(d.ElCascader,$,N);D.push(M);const q={default:()=>D};if(a.slots.default){const W=a.slots.default();q.label=()=>W}const _={...ae(n,nn),hintText:x.value,hintVisible:m.value,prop:`${n.prop??n.name}_item`};return l.h(r,_,q)}}}}const{componentName:La,create:_a,scope:Ha}=G("cascader-item"),tr=_a(Fa(La,Ha,re)),rn={modelValue:{type:[String,Object],required:!1},clearable:{type:[Boolean,String],default:!0},unit:{type:[String],required:!1}};function Ka(e,t,r){return{props:{...ee,...oe,...rn},emits:["change","update:modelValue","blur","focus","clear","input","select"],setup(n,a){const{emitEvent:o}=ne({componentName:e},n.prop??n.name),{toLocaleRefs:s}=me.useFoxI18n(t),u=s(n,["placeholder"]),i=l.ref(!1),c=ue(l.computed(()=>n.disabled)),f=se(l.computed(()=>n.readonly)),h=Y(n,"modelValue"),E=e,R=l.computed(()=>({[E]:!0})),P=x=>{h.value=x,o("update:modelValue",x),o("input",x)},S=x=>{o("change",x)};let A=Y(n,"hintText"),C=l.ref(!1);const j=x=>{let v=x.target.value;i.value=!0,X(A.value)||(C.value=!0),o("focus",v,x)},O=x=>{setTimeout(()=>{C.value&&(C.value=!1),i.value=!1},0);let v=x.target.value;n.maxLength&&v.length>Number(n.maxLength)&&(v=v.slice(0,Number(n.maxLength))),o("blur",v,x)},y=()=>{o("clear","")},p=l.ref();return ie({focus:()=>{p?.value.focus()},blur:()=>{p?.value.blur()},select:()=>{p?.value.select()}}),()=>{const m={...a.attrs,ref:p,class:R.value,placeholder:u.placeholder.value,clearable:n.clearable,disabled:c.value,readonly:f.value,modelValue:h.value,onClear:y,onChange:S,onInput:P,onFocus:j,onBlur:O},v={};a.slots.prepend&&(v.prepend=a.slots.prepend),a.slots.append&&(v.append=a.slots.append),a.slots.prefix&&(v.prefix=a.slots.prefix),a.slots.suffix&&(v.suffix=a.slots.suffix),a.slots.option&&(v.default=a.slots.option);const T=[],b=l.h(d.ElAutocomplete,m,v);T.push(b);const k={default:()=>T};if(a.slots.default){const g=a.slots.default();k.label=()=>g}const V={...ae(n,rn),hintText:A.value,hintVisible:C.value,prop:`${n.prop}_item`};return l.h(r,V,k)}}}}const{componentName:za,create:Ga,scope:Wa}=G("autocomplete-item"),nr=Ga(Ka(za,Wa,re));function Ya(e,t,r,n,a){let o=[];Array.isArray(e)?o=e:o=[e];const s=[],u=t[0];if(Array.isArray(u))for(let i=0;i<t.length&&i<o.length;i++){let c=t[i],f=o[i];const h=c.find(E=>E[n]===f);if(!h)break;s.push(h[r])}else{let i=t;for(let c=0;i&&c<o.length;c++){let f=o[c],h=i.find(E=>E[n]===f);if(!h)break;s.push(h[r]),i=h[a]}}return s}class Ua{proxy;constructor(t){this.proxy=t}async load(t,r,n){if(Array.isArray(r))return r;if(typeof r=="function")return await r(n);const a=Oe(this.proxy,t);return a===null?(console.error(`${t} component not found api function`),[]):(L.isObject(n)&&l.isReactive(n)&&(n=l.toRaw(n)),await a(r,n))}}function Za(){const e=l.getCurrentInstance();return new Ua(e.proxy)}const rr={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:"/"},textKey:{type:[String],required:!1,default:"text"},valueKey:{type:[String],required:!1,default:"value"},childrenKey:{type:[String],required:!1,default:"children"}};function Xa(e,t){return{props:{...rr},setup(r,{attrs:n}){const a=Za(),o=l.ref([]);l.watch([()=>r.source,()=>r.params],async([i,c])=>{o.value=await a.load(r.sourceType,i,c)},{immediate:!0});const s=l.computed(()=>{if(!Array.isArray(o.value)||o.value.length===0)return"";let i=Ya(r.modelValue,o.value,r.textKey,r.valueKey,r.childrenKey);return i.length==0?"":i.length===1?i[0]:i.join(r.separator)}),u=r.resolveTag?l.resolveComponent(r.tag):r.tag;return()=>{const i={...n};return r.resolveTag?l.h(u,i,{default:()=>s.value}):l.h(u,i,s.value)}}}}const{componentName:li,create:Ja,scope:ai}=G("mapping"),Dt=Ja(Xa());function Qa(e,t){return{props:{...rr},setup(r,{attrs:n}){return()=>{const a={default:o=>{const s=o.row[o.column.property];return l.h(Dt,{...r,modelValue:s})}};return l.h(d.ElTableColumn,{...n},a)}}}}const{componentName:oi,create:eo,scope:ii}=G("table-mapping-column"),lr=eo(Qa());class to{proxy;constructor(t){this.proxy=t}async load(t,r,n,a,o,s,u){if(Array.isArray(r)){let c=(n-1)*a,f=c+a;f>r.length&&(f=r.length);const h=r.slice(c,f);return{totalSize:r.length,page:h}}if(typeof r=="function")return await Reflect.apply(r,null,[n,a,o,s,u]);const i=Oe(this.proxy,t);return i===null?(console.error(`${t} component not found api function`),{totalSize:0,page:[]}):(L.isObject(o)&&l.isReactive(o)&&(o=l.toRaw(o)),await await Reflect.apply(i,null,[r,n,a,o,s,u]))}}function no(){const e=l.getCurrentInstance();return new to(e.proxy)}const ln={data:{type:[String,Array,Function],required:!0},autoLoad:{type:[String,Boolean],required:!1,default:!1},baseParams:{type:[Object]},params:{type:[Object]}},an={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"},paginationVisible:{type:[Boolean],required:!1,default:!0},hideOnSinglePage:{type:[Boolean],required:!1,default:!0}};function ro(e,t,r){return{inheritAttrs:!1,props:{...ee,...oe,...ln,...an},emits:["change","page-size-change","page-index-change","current-change"],setup(n,a){const{locale:o}=me.useFoxI18n(t),{emitEvent:s}=ne({componentName:e},n.prop??n.name),u=e,i=l.computed(()=>({[u]:!0})),c=l.computed(()=>({[`${u}__pagination`]:!0,[`${u}__pagination__${n.paginationAlign}`]:!0})),f=l.ref(n.pageIndex);l.watch(()=>n.pageIndex,k=>{f.value=k});const h=k=>{f.value=k,s("page-index-change",k)},E=l.ref(n.pageSize);l.watch(()=>n.pageSize,k=>{E.value=k});const R=k=>{E.value=k,s("page-size-change",k)},P=l.shallowRef({}),S=l.computed(()=>({...P.value,...n.params??{},...n.baseParams??{}})),A=l.ref(0),C=l.ref(),j=no();let O=!0;const y=()=>Array.isArray(n.data)||typeof n.data=="function"?!0:L.toBoolean(n.autoLoad),p=async(k,B,V,I)=>{try{const g=await j.load("table",k,B,V,I,O,o.value);A.value=g.totalSize,C.value=g.page}catch(g){console.error("[FoxUI] Load Table Data Fail",g),A.value=0,C.value=[]}O=!1};l.watch([f,E],([k,B],[V,I])=>{B!==I&&(f.value=1,k=1),p(n.data,k,B,S.value)}),l.watch([()=>n.data,S],([k,B],[V,I])=>{!y()||(k!==V&&(O=!0),p(k,f.value,E.value,B))});const x=(k={})=>{P.value=l.toRaw(k??{}),l.triggerRef(P),l.nextTick(()=>{p(n.data,f.value,E.value,S.value)})},m=()=>{A.value=0,C.value=[]};y()&&x();let v=null;const T=(k,B)=>{v=k,s("current-change",k,B)},b=l.ref();return ie({clearSelection:()=>b?.value.clearSelection(),getSelectionRows:()=>b?.value.getSelectionRows(),toggleRowSelection:(k,B)=>{b?.value.toggleRowSelection(k,B)},toggleAllSelection:()=>{b?.value.toggleAllSelection()},toggleRowExpansion:(k,B)=>{b?.value.toggleRowExpansion(k,B)},setCurrentRow:k=>{b?.value.setCurrentRow(k)},getCurrentRow:()=>v,clearSort:()=>{b?.value.clearSort()},clearFilter:k=>{b?.value.clearFilter(k)},doLayout:()=>{b?.value.doLayout()},sort:(k,B)=>{b?.value.sort(k,B)},scrollTo:(k,B)=>{b?.value.scrollTo(k,B)},setScrollTop:k=>{b?.value.setScrollTop(k)},setScrollLeft:k=>{b?.value.setScrollLeft(k)},loadData:x,clearData:m}),()=>{const B={...a.attrs,onCurrentChange:T,data:C.value,ref:b,class:i.value},V={};a.slots.default&&(V.default=a.slots.default),a.slots.append&&(V.append=a.slots.append),a.slots.empty&&(V.empty=a.slots.empty);const I=[],g=l.h(d.ElTable,B,V);if(I.push(g),typeof a.slots.pagination=="function"){const M=a.slots.pagination();I.push(M)}else if(n.paginationVisible){const M={class:c.value,total:A.value,pageSize:E.value,["onUpdate:pageSize"]:R,pageSizes:n.pageSizes,currentPage:f.value,["onUpdate:currentPage"]:h,hideOnSinglePage:n.hideOnSinglePage,layout:n.paginationLayout,small:!0},q=l.h(d.ElPagination,M);I.push(q)}const w={default:()=>I},N={...ae(n,ln,an),prop:`${n.prop}_item`};return N.contentClass=`${u}__wrap`,l.h(r,N,w)}}}}const{componentName:lo,create:ao,scope:oo}=G("table-item"),ar=ao(ro(lo,oo,re));function ke(e,t){return typeof e.textKey=="string"&&e.textKey.length>0?t[e.textKey]:t.text}function He(e,t){return typeof e.valueKey=="string"&&e.valueKey.length>0?t[e.valueKey]:t.value}class io{proxy;constructor(t){this.proxy=t}async load(t,r,n){if(Array.isArray(r))return r;if(typeof r=="function")return await r(n);const a=Oe(this.proxy,t);return a===null?(console.error(`${t} component not found api function`),[]):(L.isObject(n)&&l.isReactive(n)&&(n=l.toRaw(n)),await a(r,n))}}function so(){const e=l.getCurrentInstance();return new io(e.proxy)}function or(e,t,r){if(t===r)return!0;if(t===null||r===null)return!1;const n=ke(e,t),a=ke(e,r);if(n!==a)return!1;const o=He(e,t),s=He(e,r);return o===s}function uo(e,t,r,n){if(n.length==0||t===""||t===null||t===void 0)return null;let a=null;for(let o of n){let s=!1;if(r==="text")s=ke(e,o)===t;else if(r==="item")s=or(e,o,t);else{let u=He(e,o);u==null&&(u=ke(e,o)),s=u===t}if(s){a=o;break}}return a}function co(e){return{text:e,value:e}}const on={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"},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"},itemClass:{type:[String],required:!1}};function fo(e,t,r){return{inheritAttrs:!0,props:{...ee,...oe,...on},emits:["change","update:modelValue"],setup(n,a){const{emitEvent:o}=ne({componentName:e},n.prop??n.name),s=l.ref(null),u=l.ref(null),i=(O,y,p,x=!0)=>{const m=uo(n,O,y,p);if(m===null){if(u.value===null)return;u.value=null,s.value=null,x&&(o("update:modelValue",null),o("change",null));return}if(!or(n,m,u.value)){s.value=O;const T=l.toRaw(m);u.value=T;let b=null;n.valueType==="text"?b=ke(n,T):n.valueType==="item"?b=T:b=He(n,T),x&&(o("update:modelValue",b),o("change",b))}},c=l.ref([]),f=so();l.watch([()=>n.source,()=>n.params],async([O,y])=>{if(O){const p=await f.load("radio",O,y);if(p.length>0)if(typeof p[0]=="string"){let v=p.map(T=>co(T));c.value=v}else c.value=p}},{immediate:!0}),l.watch([()=>c.value,()=>n.modelValue],([O,y])=>{i(y,n.valueType,O,!1)});const h=ue(l.computed(()=>n.disabled)),E=se(l.computed(()=>n.readonly)),R=e,P=l.computed(()=>({[R]:!0})),S=O=>{i(O,"value",c.value,!0)};let A=Y(n,"hintText"),C=Y(n,"hintVisible");const j=O=>{const y=[];return O.forEach((p,x)=>{const m=He(n,p),v=ke(n,p),T=L.toBoolean(p.disabled),k={key:`${m}_${x}`,class:n.itemClass,label:m,disabled:T,size:n.size,border:L.toBoolean(n.border)};n.itemType==="button"?y.push(l.h(d.ElRadioButton,k,{default:()=>[v]})):y.push(l.h(d.ElRadio,k,{default:()=>[v]}))}),y};return()=>{const y={...a.attrs,class:P.value,disabled:h.value||E.value,modelValue:s.value,["text-color"]:n.textColor,fill:n.fill,onChange:S},p=[],x={};a.slots.options?x.default=a.slots.options:x.default=()=>j(c.value);const m=l.h(d.ElRadioGroup,y,x);p.push(m);const v={default:()=>p};if(a.slots.default){const B=a.slots.default();v.label=()=>B}const b={...ae(n,on),hintText:A.value,hintVisible:C.value,prop:`${n.prop??n.name}_item`};return l.h(r,b,v)}}}}const{componentName:ho,create:mo,scope:go}=G("radio-item"),ir=mo(fo(ho,go,re));function De(e,t){return typeof e.textKey=="string"&&e.textKey.length>0?t[e.textKey]:t.text}function Ae(e,t){return typeof e.valueKey=="string"&&e.valueKey.length>0?t[e.valueKey]:t.value}class po{proxy;constructor(t){this.proxy=t}async load(t,r,n){if(Array.isArray(r))return r;if(typeof r=="function")return await r(n);const a=Oe(this.proxy,t);return a===null?(console.error(`${t} component not found api function`),[]):(L.isObject(n)&&l.isReactive(n)&&(n=l.toRaw(n)),await a(r,n))}}function yo(){const e=l.getCurrentInstance();return new po(e.proxy)}function sr(e,t,r){if(t===r)return!0;if(t===null||r===null)return!1;const n=De(e,t),a=De(e,r);if(n!==a)return!1;const o=Ae(e,t),s=Ae(e,r);return o===s}function bo(e,t,r,n){if(n.length==0||t===""||t===null||t===void 0)return null;Array.isArray(t)||(t=[t]);const a=[];return t.forEach(o=>{for(let s of n){let u=!1;if(r==="text")u=De(e,s)===o;else if(r==="item")u=sr(e,s,o);else{let i=Ae(e,s);i==null&&(i=De(e,s)),u=i===o}if(u){a.push(s);break}}}),a}function vo(e){return{text:e,value:e}}const sn={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"},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"},itemClass:{type:[String],required:!1}};function xo(e,t,r){return{inheritAttrs:!1,props:{...ee,...oe,...sn},emits:["change","update:modelValue"],setup(n,a){const{emitEvent:o}=ne({componentName:e},n.prop??n.name),s=l.ref([]),u=l.ref([]),i=(O,y,p,x=!0)=>{const m=bo(n,O,y,p);if(m===null){if(u.value===null||u.value.length===0)return;s.value=[],u.value=[],x&&(o("update:modelValue",[]),o("change",[]));return}let v=!0;if(m.length!==u.value.length)v=!1;else for(let T=0;T<m.length;T++){const b=m[T],k=u.value[T];if(!sr(n,b,k)){v=!1;break}}if(!v){u.value=m;let T=[],b=[];m.forEach(B=>{T.push(Ae(n,B)),n.valueType==="text"?b.push(De(n,B)):n.valueType==="item"?b.push(B):b.push(Ae(n,B))}),s.value=T;const k=l.toRaw(b);x&&(o("update:modelValue",k),o("change",k))}},c=l.ref([]),f=yo();l.watch([()=>n.source,()=>n.params],async([O,y])=>{if(O){const p=await f.load("checkbox",O,y);if(p.length>0)if(typeof p[0]=="string"){let v=p.map(T=>vo(T));c.value=v}else c.value=p}},{immediate:!0}),l.watch([()=>c.value,()=>n.modelValue],([O,y])=>{i(y,n.valueType,O,!1)});const h=ue(l.computed(()=>n.disabled)),E=se(l.computed(()=>n.readonly)),R=e,P=l.computed(()=>({[R]:!0})),S=O=>{i(O,"value",c.value,!0)};let A=Y(n,"hintText"),C=Y(n,"hintVisible");const j=O=>{const y=[];return O.forEach((p,x)=>{const m=Ae(n,p),v=De(n,p),T=L.toBoolean(p.disabled),k={key:`${m}_${x}`,class:n.itemClass,label:m,disabled:T,size:n.size,border:L.toBoolean(n.border)};n.itemType==="button"?y.push(l.h(d.ElCheckboxButton,k,{default:()=>[v]})):y.push(l.h(d.ElCheckbox,k,{default:()=>[v]}))}),y};return()=>{const y={...a.attrs,class:P.value,disabled:h.value||E.value,modelValue:s.value,["text-color"]:n.textColor,fill:n.fill,max:L.toNumber(n.max),min:L.toNumber(n.min),onChange:S},p=[],x={};a.slots.options?x.default=a.slots.options:x.default=()=>j(c.value);const m=l.h(d.ElCheckboxGroup,y,x);p.push(m);const v={default:()=>p};if(a.slots.default){const B=a.slots.default();v.label=()=>B}const b={...ae(n,sn),hintText:A.value,hintVisible:C.value,prop:`${n.prop??n.name}_item`};return l.h(r,b,v)}}}}const{componentName:So,create:wo,scope:$o}=G("checkbox-item"),ur=wo(xo(So,$o,re)),un={modelValue:{type:[Number,String],required:!1}};function Eo(e,t,r){return{props:{...ee,...oe,...un},emits:["change","update:modelValue","blur","focus","clear","input"],setup(n,a){const{emitEvent:o}=ne({componentName:e},n.prop??n.name),s=ue(l.computed(()=>n.disabled)),u=se(l.computed(()=>n.readonly)),i=Y(n,"modelValue",S=>L.toNumber(S)),c=e,f=l.computed(()=>({[c]:!0})),h=S=>{o("update:modelValue",S),o("change",S)};let E=Y(n,"hintText"),R=l.ref(!1);const P=l.ref();return ie({}),()=>{const A={...a.attrs,ref:P,class:f.value,readonly:u.value||s.value,modelValue:i.value,onChange:h},C={},j=[],O=l.h(d.ElRate,A,C);j.push(O);const y={default:()=>j};if(a.slots.default){const v=a.slots.default();y.label=()=>v}const x={...ae(n,un),hintText:E.value,hintVisible:R.value,prop:`${n.prop}_item`};return l.h(r,x,y)}}}}const{componentName:Po,create:Co,scope:Oo}=G("rate-item"),cr=Co(Eo(Po,Oo,re)),cn={modelValue:{type:[Boolean,String,Number],required:!1}};function No(e,t,r){return{props:{...ee,...oe,...cn},emits:["change","update:modelValue","blur","focus","clear","input"],setup(n,a){const{emitEvent:o}=ne({componentName:e},n.prop??n.name),s=ue(l.computed(()=>n.disabled)),u=se(l.computed(()=>n.readonly)),i=Y(n,"modelValue"),c=e,f=l.computed(()=>({[c]:!0})),h=S=>{o("update:modelValue",S),o("change",S)};let E=Y(n,"hintText"),R=Y(n,"hintVisible");const P=l.ref();return ie({}),()=>{const A={...a.attrs,ref:P,class:f.value,readonly:u.value,disabled:s.value,modelValue:i.value,onChange:h},C={},j=[],O=l.h(d.ElSwitch,A,C);j.push(O);const y={default:()=>j};if(a.slots.default){const v=a.slots.default();y.label=()=>v}const x={...ae(n,cn),hintText:E.value,hintVisible:R.value,prop:`${n.prop}_item`};return l.h(r,x,y)}}}}const{componentName:Vo,create:To,scope:Io}=G("switch-item"),fr=To(No(Vo,Io,re)),Ao=Symbol.for("InnerPageScopeKey"),Ro=Symbol.for("DialogItemStateKey");function jo(e,t){return{props:{title:{type:[String]},draggable:{type:[Boolean],default:!0},appendToBody:{type:[Boolean],default:!0},closeOnClickModal:{type:[Boolean],default:!1},closeOnPressEscape:{type:[Boolean],default:!0}},setup(r,n){l.provide(Ao,!0);const a={};l.provide(Ro,a);const o=i=>{typeof a.beforeClose=="function"&&a.beforeClose(i)},s=l.ref(!0),u=i=>{s.value=i};return()=>{const c={...n.attrs,title:r.title,draggable:r.draggable,modelValue:s.value,"onUpdate:modelValue":u,"append-to-body":r.appendToBody,"close-on-click-modal":r.closeOnClickModal,"close-on-press-escape":r.closeOnPressEscape,"before-close":o},f={};if(typeof n.slots.default=="function"){const h=n.slots.default();f.default=()=>h}return l.h(d.ElDialog,c,f)}}}}const{componentName:si,create:ko,scope:ui}=G("dialog-item"),dr=ko(jo()),{componentName:fn,create:Do}=G("ext-icon"),hr=Do({props:{name:{type:String,default:""},size:{type:[String,Number],default:""},classPrefix:{type:String,default:"fox-icon"},fontClassName:{type:String,default:"foxui-iconfont"},color:{type:String,default:""},tag:{type:String,default:"i"}},emits:["click"],setup(e,{emit:t,slots:r}){const n=o=>{t("click",o)},a=l.computed(()=>e.name?e.name.indexOf("/")!==-1:!1);return()=>{const o=a.value;return l.h(o?"img":e.tag,{class:o?`${fn}__img`:`${e.fontClassName} ${fn} ${e.classPrefix}-${e.name}`,style:{color:e.color,fontSize:z(e.size),width:z(e.size),height:z(e.size)},onClick:n,src:o?e.name:""},r.default?.())}}});function Mo(e,t){return{props:{type:{type:[String],required:!1,default:""},color:{type:[String],required:!1,default:""}},setup(r,{slots:n}){const a=e,o=l.computed(()=>({[a]:!0})),s=l.computed(()=>({[`${a}__mark`]:!0,[`${a}__mark-${r.type}`]:!0})),u=l.computed(()=>r.color?{background:r.color}:null),i=l.computed(()=>({[`${a}__text`]:!0,[`${a}__text-${r.type}`]:!0})),c=l.computed(()=>r.color?{color:r.color}:null);return()=>{let f=null;if(n.mark)f=n.mark()[0];else{const S={class:s.value,style:u.value};f=l.h("div",S)}const h={class:i.value,style:c.value},E=n.default?n.default():[],R=l.h("div",h,E),P={class:o.value};return l.h("div",P,[f,R])}}}}const{componentName:Bo,create:qo,scope:ci}=G("indicator"),mr=qo(Mo(Bo));var pe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},gr={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(pe,function(){var r=1e3,n=6e4,a=36e5,o="millisecond",s="second",u="minute",i="hour",c="day",f="week",h="month",E="quarter",R="year",P="date",S="Invalid Date",A=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,C=/\[([^\]]+)]|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,j={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("_")},O=function(V,I,g){var w=String(V);return!w||w.length>=I?V:""+Array(I+1-w.length).join(g)+V},y={s:O,z:function(V){var I=-V.utcOffset(),g=Math.abs(I),w=Math.floor(g/60),$=g%60;return(I<=0?"+":"-")+O(w,2,"0")+":"+O($,2,"0")},m:function V(I,g){if(I.date()<g.date())return-V(g,I);var w=12*(g.year()-I.year())+(g.month()-I.month()),$=I.clone().add(w,h),N=g-$<0,D=I.clone().add(w+(N?-1:1),h);return+(-(w+(g-$)/(N?$-D:D-$))||0)},a:function(V){return V<0?Math.ceil(V)||0:Math.floor(V)},p:function(V){return{M:h,y:R,w:f,d:c,D:P,h:i,m:u,s,ms:o,Q:E}[V]||String(V||"").toLowerCase().replace(/s$/,"")},u:function(V){return V===void 0}},p="en",x={};x[p]=j;var m=function(V){return V instanceof k},v=function V(I,g,w){var $;if(!I)return p;if(typeof I=="string"){var N=I.toLowerCase();x[N]&&($=N),g&&(x[N]=g,$=N);var D=I.split("-");if(!$&&D.length>1)return V(D[0])}else{var M=I.name;x[M]=I,$=M}return!w&&$&&(p=$),$||!w&&p},T=function(V,I){if(m(V))return V.clone();var g=typeof I=="object"?I:{};return g.date=V,g.args=arguments,new k(g)},b=y;b.l=v,b.i=m,b.w=function(V,I){return T(V,{locale:I.$L,utc:I.$u,x:I.$x,$offset:I.$offset})};var k=function(){function V(g){this.$L=v(g.locale,null,!0),this.parse(g)}var I=V.prototype;return I.parse=function(g){this.$d=function(w){var $=w.date,N=w.utc;if($===null)return new Date(NaN);if(b.u($))return new Date;if($ instanceof Date)return new Date($);if(typeof $=="string"&&!/Z$/i.test($)){var D=$.match(A);if(D){var M=D[2]-1||0,q=(D[7]||"0").substring(0,3);return N?new Date(Date.UTC(D[1],M,D[3]||1,D[4]||0,D[5]||0,D[6]||0,q)):new Date(D[1],M,D[3]||1,D[4]||0,D[5]||0,D[6]||0,q)}}return new Date($)}(g),this.$x=g.x||{},this.init()},I.init=function(){var g=this.$d;this.$y=g.getFullYear(),this.$M=g.getMonth(),this.$D=g.getDate(),this.$W=g.getDay(),this.$H=g.getHours(),this.$m=g.getMinutes(),this.$s=g.getSeconds(),this.$ms=g.getMilliseconds()},I.$utils=function(){return b},I.isValid=function(){return this.$d.toString()!==S},I.isSame=function(g,w){var $=T(g);return this.startOf(w)<=$&&$<=this.endOf(w)},I.isAfter=function(g,w){return T(g)<this.startOf(w)},I.isBefore=function(g,w){return this.endOf(w)<T(g)},I.$g=function(g,w,$){return b.u(g)?this[w]:this.set($,g)},I.unix=function(){return Math.floor(this.valueOf()/1e3)},I.valueOf=function(){return this.$d.getTime()},I.startOf=function(g,w){var $=this,N=!!b.u(w)||w,D=b.p(g),M=function(le,J){var fe=b.w($.$u?Date.UTC($.$y,J,le):new Date($.$y,J,le),$);return N?fe:fe.endOf(c)},q=function(le,J){return b.w($.toDate()[le].apply($.toDate("s"),(N?[0,0,0,0]:[23,59,59,999]).slice(J)),$)},F=this.$W,_=this.$M,K=this.$D,W="set"+(this.$u?"UTC":"");switch(D){case R:return N?M(1,0):M(31,11);case h:return N?M(1,_):M(0,_+1);case f:var de=this.$locale().weekStart||0,ce=(F<de?F+7:F)-de;return M(N?K-ce:K+(6-ce),_);case c:case P:return q(W+"Hours",0);case i:return q(W+"Minutes",1);case u:return q(W+"Seconds",2);case s:return q(W+"Milliseconds",3);default:return this.clone()}},I.endOf=function(g){return this.startOf(g,!1)},I.$set=function(g,w){var $,N=b.p(g),D="set"+(this.$u?"UTC":""),M=($={},$[c]=D+"Date",$[P]=D+"Date",$[h]=D+"Month",$[R]=D+"FullYear",$[i]=D+"Hours",$[u]=D+"Minutes",$[s]=D+"Seconds",$[o]=D+"Milliseconds",$)[N],q=N===c?this.$D+(w-this.$W):w;if(N===h||N===R){var F=this.clone().set(P,1);F.$d[M](q),F.init(),this.$d=F.set(P,Math.min(this.$D,F.daysInMonth())).$d}else M&&this.$d[M](q);return this.init(),this},I.set=function(g,w){return this.clone().$set(g,w)},I.get=function(g){return this[b.p(g)]()},I.add=function(g,w){var $,N=this;g=Number(g);var D=b.p(w),M=function(_){var K=T(N);return b.w(K.date(K.date()+Math.round(_*g)),N)};if(D===h)return this.set(h,this.$M+g);if(D===R)return this.set(R,this.$y+g);if(D===c)return M(1);if(D===f)return M(7);var q=($={},$[u]=n,$[i]=a,$[s]=r,$)[D]||1,F=this.$d.getTime()+g*q;return b.w(F,this)},I.subtract=function(g,w){return this.add(-1*g,w)},I.format=function(g){var w=this,$=this.$locale();if(!this.isValid())return $.invalidDate||S;var N=g||"YYYY-MM-DDTHH:mm:ssZ",D=b.z(this),M=this.$H,q=this.$m,F=this.$M,_=$.weekdays,K=$.months,W=function(J,fe,ye,be){return J&&(J[fe]||J(w,N))||ye[fe].slice(0,be)},de=function(J){return b.s(M%12||12,J,"0")},ce=$.meridiem||function(J,fe,ye){var be=J<12?"AM":"PM";return ye?be.toLowerCase():be},le={YY:String(this.$y).slice(-2),YYYY:this.$y,M:F+1,MM:b.s(F+1,2,"0"),MMM:W($.monthsShort,F,K,3),MMMM:W(K,F),D:this.$D,DD:b.s(this.$D,2,"0"),d:String(this.$W),dd:W($.weekdaysMin,this.$W,_,2),ddd:W($.weekdaysShort,this.$W,_,3),dddd:_[this.$W],H:String(M),HH:b.s(M,2,"0"),h:de(1),hh:de(2),a:ce(M,q,!0),A:ce(M,q,!1),m:String(q),mm:b.s(q,2,"0"),s:String(this.$s),ss:b.s(this.$s,2,"0"),SSS:b.s(this.$ms,3,"0"),Z:D};return N.replace(C,function(J,fe){return fe||le[J]||D.replace(":","")})},I.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},I.diff=function(g,w,$){var N,D=b.p(w),M=T(g),q=(M.utcOffset()-this.utcOffset())*n,F=this-M,_=b.m(this,M);return _=(N={},N[R]=_/12,N[h]=_,N[E]=_/3,N[f]=(F-q)/6048e5,N[c]=(F-q)/864e5,N[i]=F/a,N[u]=F/n,N[s]=F/r,N)[D]||F,$?_:b.a(_)},I.daysInMonth=function(){return this.endOf(h).$D},I.$locale=function(){return x[this.$L]},I.locale=function(g,w){if(!g)return this.$L;var $=this.clone(),N=v(g,w,!0);return N&&($.$L=N),$},I.clone=function(){return b.w(this.$d,this)},I.toDate=function(){return new Date(this.valueOf())},I.toJSON=function(){return this.isValid()?this.toISOString():null},I.toISOString=function(){return this.$d.toISOString()},I.toString=function(){return this.$d.toUTCString()},V}(),B=k.prototype;return T.prototype=B,[["$ms",o],["$s",s],["$m",u],["$H",i],["$W",c],["$M",h],["$y",R],["$D",P]].forEach(function(V){B[V[1]]=function(I){return this.$g(I,V[0],V[1])}}),T.extend=function(V,I){return V.$i||(V(I,k,T),V.$i=!0),T},T.locale=v,T.isDayjs=m,T.unix=function(V){return T(1e3*V)},T.en=x[p],T.Ls=x,T.p={},T})})(gr);const $e=gr.exports;var pr={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(pe,function(){var r={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"},n=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,a=/\d\d/,o=/\d\d?/,s=/\d*[^-_:/,()\s\d]+/,u={},i=function(S){return(S=+S)+(S>68?1900:2e3)},c=function(S){return function(A){this[S]=+A}},f=[/[+-]\d\d:?(\d\d)?|Z/,function(S){(this.zone||(this.zone={})).offset=function(A){if(!A||A==="Z")return 0;var C=A.match(/([+-]|\d\d)/g),j=60*C[1]+(+C[2]||0);return j===0?0:C[0]==="+"?-j:j}(S)}],h=function(S){var A=u[S];return A&&(A.indexOf?A:A.s.concat(A.f))},E=function(S,A){var C,j=u.meridiem;if(j){for(var O=1;O<=24;O+=1)if(S.indexOf(j(O,0,A))>-1){C=O>12;break}}else C=S===(A?"pm":"PM");return C},R={A:[s,function(S){this.afternoon=E(S,!1)}],a:[s,function(S){this.afternoon=E(S,!0)}],S:[/\d/,function(S){this.milliseconds=100*+S}],SS:[a,function(S){this.milliseconds=10*+S}],SSS:[/\d{3}/,function(S){this.milliseconds=+S}],s:[o,c("seconds")],ss:[o,c("seconds")],m:[o,c("minutes")],mm:[o,c("minutes")],H:[o,c("hours")],h:[o,c("hours")],HH:[o,c("hours")],hh:[o,c("hours")],D:[o,c("day")],DD:[a,c("day")],Do:[s,function(S){var A=u.ordinal,C=S.match(/\d+/);if(this.day=C[0],A)for(var j=1;j<=31;j+=1)A(j).replace(/\[|\]/g,"")===S&&(this.day=j)}],M:[o,c("month")],MM:[a,c("month")],MMM:[s,function(S){var A=h("months"),C=(h("monthsShort")||A.map(function(j){return j.slice(0,3)})).indexOf(S)+1;if(C<1)throw new Error;this.month=C%12||C}],MMMM:[s,function(S){var A=h("months").indexOf(S)+1;if(A<1)throw new Error;this.month=A%12||A}],Y:[/[+-]?\d+/,c("year")],YY:[a,function(S){this.year=i(S)}],YYYY:[/\d{4}/,c("year")],Z:f,ZZ:f};function P(S){var A,C;A=S,C=u&&u.formats;for(var j=(S=A.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(T,b,k){var B=k&&k.toUpperCase();return b||C[k]||r[k]||C[B].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(V,I,g){return I||g.slice(1)})})).match(n),O=j.length,y=0;y<O;y+=1){var p=j[y],x=R[p],m=x&&x[0],v=x&&x[1];j[y]=v?{regex:m,parser:v}:p.replace(/^\[|\]$/g,"")}return function(T){for(var b={},k=0,B=0;k<O;k+=1){var V=j[k];if(typeof V=="string")B+=V.length;else{var I=V.regex,g=V.parser,w=T.slice(B),$=I.exec(w)[0];g.call(b,$),T=T.replace($,"")}}return function(N){var D=N.afternoon;if(D!==void 0){var M=N.hours;D?M<12&&(N.hours+=12):M===12&&(N.hours=0),delete N.afternoon}}(b),b}}return function(S,A,C){C.p.customParseFormat=!0,S&&S.parseTwoDigitYear&&(i=S.parseTwoDigitYear);var j=A.prototype,O=j.parse;j.parse=function(y){var p=y.date,x=y.utc,m=y.args;this.$u=x;var v=m[1];if(typeof v=="string"){var T=m[2]===!0,b=m[3]===!0,k=T||b,B=m[2];b&&(B=m[2]),u=this.$locale(),!T&&B&&(u=C.Ls[B]),this.$d=function(w,$,N){try{if(["x","X"].indexOf($)>-1)return new Date(($==="X"?1e3:1)*w);var D=P($)(w),M=D.year,q=D.month,F=D.day,_=D.hours,K=D.minutes,W=D.seconds,de=D.milliseconds,ce=D.zone,le=new Date,J=F||(M||q?1:le.getDate()),fe=M||le.getFullYear(),ye=0;M&&!q||(ye=q>0?q-1:le.getMonth());var be=_||0,ft=K||0,dt=W||0,ht=de||0;return ce?new Date(Date.UTC(fe,ye,J,be,ft,dt,ht+60*ce.offset*1e3)):N?new Date(Date.UTC(fe,ye,J,be,ft,dt,ht)):new Date(fe,ye,J,be,ft,dt,ht)}catch{return new Date("")}}(p,v,x),this.init(),B&&B!==!0&&(this.$L=this.locale(B).$L),k&&p!=this.format(v)&&(this.$d=new Date("")),u={}}else if(v instanceof Array)for(var V=v.length,I=1;I<=V;I+=1){m[1]=v[I-1];var g=C.apply(this,m);if(g.isValid()){this.$d=g.$d,this.$L=g.$L,this.init();break}I===V&&(this.$d=new Date(""))}else O.call(this,y)}}})})(pr);const Fo=pr.exports;var yr={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(pe,function(){return function(r,n,a){var o=n.prototype,s=o.format;a.en.ordinal=function(u){var i=["th","st","nd","rd"],c=u%100;return"["+u+(i[(c-20)%10]||i[c]||i[0])+"]"},o.format=function(u){var i=this,c=this.$locale();if(!this.isValid())return s.bind(this)(u);var f=this.$utils(),h=(u||"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(E){switch(E){case"Q":return Math.ceil((i.$M+1)/3);case"Do":return c.ordinal(i.$D);case"gggg":return i.weekYear();case"GGGG":return i.isoWeekYear();case"wo":return c.ordinal(i.week(),"W");case"w":case"ww":return f.s(i.week(),E==="w"?1:2,"0");case"W":case"WW":return f.s(i.isoWeek(),E==="W"?1:2,"0");case"k":case"kk":return f.s(String(i.$H===0?24:i.$H),E==="k"?1:2,"0");case"X":return Math.floor(i.$d.getTime()/1e3);case"x":return i.$d.getTime();case"z":return"["+i.offsetName()+"]";case"zzz":return"["+i.offsetName("long")+"]";default:return E}});return s.bind(this)(h)}}})})(yr);const Lo=yr.exports;var br={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(pe,function(){return function(r,n,a){var o=n.prototype,s=function(h){return h&&(h.indexOf?h:h.s)},u=function(h,E,R,P,S){var A=h.name?h:h.$locale(),C=s(A[E]),j=s(A[R]),O=C||j.map(function(p){return p.slice(0,P)});if(!S)return O;var y=A.weekStart;return O.map(function(p,x){return O[(x+(y||0))%7]})},i=function(){return a.Ls[a.locale()]},c=function(h,E){return h.formats[E]||function(R){return R.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(P,S,A){return S||A.slice(1)})}(h.formats[E.toUpperCase()])},f=function(){var h=this;return{months:function(E){return E?E.format("MMMM"):u(h,"months")},monthsShort:function(E){return E?E.format("MMM"):u(h,"monthsShort","months",3)},firstDayOfWeek:function(){return h.$locale().weekStart||0},weekdays:function(E){return E?E.format("dddd"):u(h,"weekdays")},weekdaysMin:function(E){return E?E.format("dd"):u(h,"weekdaysMin","weekdays",2)},weekdaysShort:function(E){return E?E.format("ddd"):u(h,"weekdaysShort","weekdays",3)},longDateFormat:function(E){return c(h.$locale(),E)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};o.localeData=function(){return f.bind(this)()},a.localeData=function(){var h=i();return{firstDayOfWeek:function(){return h.weekStart||0},weekdays:function(){return a.weekdays()},weekdaysShort:function(){return a.weekdaysShort()},weekdaysMin:function(){return a.weekdaysMin()},months:function(){return a.months()},monthsShort:function(){return a.monthsShort()},longDateFormat:function(E){return c(h,E)},meridiem:h.meridiem,ordinal:h.ordinal}},a.months=function(){return u(i(),"months")},a.monthsShort=function(){return u(i(),"monthsShort","months",3)},a.weekdays=function(h){return u(i(),"weekdays",null,null,h)},a.weekdaysShort=function(h){return u(i(),"weekdaysShort","weekdays",3,h)},a.weekdaysMin=function(h){return u(i(),"weekdaysMin","weekdays",2,h)}}})})(br);const _o=br.exports;var vr={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(pe,function(){var r="week",n="year";return function(a,o,s){var u=o.prototype;u.week=function(i){if(i===void 0&&(i=null),i!==null)return this.add(7*(i-this.week()),"day");var c=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var f=s(this).startOf(n).add(1,n).date(c),h=s(this).endOf(r);if(f.isBefore(h))return 1}var E=s(this).startOf(n).date(c).startOf(r).subtract(1,"millisecond"),R=this.diff(E,r,!0);return R<0?s(this).startOf("week").week():Math.ceil(R)},u.weeks=function(i){return i===void 0&&(i=null),this.week(i)}}})})(vr);const Ho=vr.exports;var xr={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(pe,function(){return function(r,n){n.prototype.weekYear=function(){var a=this.month(),o=this.week(),s=this.year();return o===1&&a===11?s+1:a===0&&o>=52?s-1:s}}})})(xr);const Ko=xr.exports;var Sr={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(pe,function(){return function(r,n,a){n.prototype.dayOfYear=function(o){var s=Math.round((a(this).startOf("day")-a(this).startOf("year"))/864e5)+1;return o==null?s:this.add(o-s,"day")}}})})(Sr);const zo=Sr.exports;var wr={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(pe,function(){return function(r,n){n.prototype.isSameOrAfter=function(a,o){return this.isSame(a,o)||this.isAfter(a,o)}}})})(wr);const Go=wr.exports;var $r={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(pe,function(){return function(r,n){n.prototype.isSameOrBefore=function(a,o){return this.isSame(a,o)||this.isBefore(a,o)}}})})($r);const Wo=$r.exports;$e.extend(_o);$e.extend(Lo);$e.extend(Fo);$e.extend(Ho);$e.extend(Ko);$e.extend(zo);$e.extend(Go);$e.extend(Wo);const Yo=[Rn,jn,kn,Dn,Bn,re,_n,Hn,ct,Kn,Yn,Un,Zn,Xn,Jn,Qn,tr,nr,lr,ar,ir,ur,cr,fr,dr,Dt,tt,hr,mr],Uo=new Xr(Yo,[el],"4.0.0");Object.defineProperty(exports,"clone",{enumerable:!0,get:()=>L.clone});Object.defineProperty(exports,"extend",{enumerable:!0,get:()=>L.extend});Object.defineProperty(exports,"isArray",{enumerable:!0,get:()=>L.isArray});Object.defineProperty(exports,"isDate",{enumerable:!0,get:()=>L.isDate});Object.defineProperty(exports,"isESModule",{enumerable:!0,get:()=>L.isESModule});Object.defineProperty(exports,"isEqual",{enumerable:!0,get:()=>L.isEqual});Object.defineProperty(exports,"isFunction",{enumerable:!0,get:()=>L.isFunction});Object.defineProperty(exports,"isMap",{enumerable:!0,get:()=>L.isMap});Object.defineProperty(exports,"isObject",{enumerable:!0,get:()=>L.isObject});Object.defineProperty(exports,"isPlainObject",{enumerable:!0,get:()=>L.isPlainObject});Object.defineProperty(exports,"isPromise",{enumerable:!0,get:()=>L.isPromise});Object.defineProperty(exports,"isSet",{enumerable:!0,get:()=>L.isSet});Object.defineProperty(exports,"isString",{enumerable:!0,get:()=>L.isString});Object.defineProperty(exports,"isSymbol",{enumerable:!0,get:()=>L.isSymbol});Object.defineProperty(exports,"toBoolean",{enumerable:!0,get:()=>L.toBoolean});Object.defineProperty(exports,"toNumber",{enumerable:!0,get:()=>L.toNumber});Object.defineProperty(exports,"toTypeString",{enumerable:!0,get:()=>L.toTypeString});Object.defineProperty(exports,"FoxAffix",{enumerable:!0,get:()=>d.ElAffix});Object.defineProperty(exports,"FoxAlert",{enumerable:!0,get:()=>d.ElAlert});Object.defineProperty(exports,"FoxAside",{enumerable:!0,get:()=>d.ElAside});Object.defineProperty(exports,"FoxAutoResizer",{enumerable:!0,get:()=>d.ElAutoResizer});Object.defineProperty(exports,"FoxAutocomplete",{enumerable:!0,get:()=>d.ElAutocomplete});Object.defineProperty(exports,"FoxAvatar",{enumerable:!0,get:()=>d.ElAvatar});Object.defineProperty(exports,"FoxBacktop",{enumerable:!0,get:()=>d.ElBacktop});Object.defineProperty(exports,"FoxBadge",{enumerable:!0,get:()=>d.ElBadge});Object.defineProperty(exports,"FoxBreadcrumb",{enumerable:!0,get:()=>d.ElBreadcrumb});Object.defineProperty(exports,"FoxBreadcrumbItem",{enumerable:!0,get:()=>d.ElBreadcrumbItem});Object.defineProperty(exports,"FoxButton",{enumerable:!0,get:()=>d.ElButton});Object.defineProperty(exports,"FoxButtonGroup",{enumerable:!0,get:()=>d.ElButtonGroup});Object.defineProperty(exports,"FoxCalendar",{enumerable:!0,get:()=>d.ElCalendar});Object.defineProperty(exports,"FoxCard",{enumerable:!0,get:()=>d.ElCard});Object.defineProperty(exports,"FoxCarousel",{enumerable:!0,get:()=>d.ElCarousel});Object.defineProperty(exports,"FoxCarouselItem",{enumerable:!0,get:()=>d.ElCarouselItem});Object.defineProperty(exports,"FoxCascader",{enumerable:!0,get:()=>d.ElCascader});Object.defineProperty(exports,"FoxCascaderPanel",{enumerable:!0,get:()=>d.ElCascaderPanel});Object.defineProperty(exports,"FoxCheckTag",{enumerable:!0,get:()=>d.ElCheckTag});Object.defineProperty(exports,"FoxCheckbox",{enumerable:!0,get:()=>d.ElCheckbox});Object.defineProperty(exports,"FoxCheckboxButton",{enumerable:!0,get:()=>d.ElCheckboxButton});Object.defineProperty(exports,"FoxCheckboxGroup",{enumerable:!0,get:()=>d.ElCheckboxGroup});Object.defineProperty(exports,"FoxCol",{enumerable:!0,get:()=>d.ElCol});Object.defineProperty(exports,"FoxCollapse",{enumerable:!0,get:()=>d.ElCollapse});Object.defineProperty(exports,"FoxCollapseItem",{enumerable:!0,get:()=>d.ElCollapseItem});Object.defineProperty(exports,"FoxCollapseTransition",{enumerable:!0,get:()=>d.ElCollapseTransition});Object.defineProperty(exports,"FoxColorPicker",{enumerable:!0,get:()=>d.ElColorPicker});Object.defineProperty(exports,"FoxConfigProvider",{enumerable:!0,get:()=>d.ElConfigProvider});Object.defineProperty(exports,"FoxContainer",{enumerable:!0,get:()=>d.ElContainer});Object.defineProperty(exports,"FoxDatePicker",{enumerable:!0,get:()=>d.ElDatePicker});Object.defineProperty(exports,"FoxDescriptions",{enumerable:!0,get:()=>d.ElDescriptions});Object.defineProperty(exports,"FoxDescriptionsItem",{enumerable:!0,get:()=>d.ElDescriptionsItem});Object.defineProperty(exports,"FoxDialog",{enumerable:!0,get:()=>d.ElDialog});Object.defineProperty(exports,"FoxDivider",{enumerable:!0,get:()=>d.ElDivider});Object.defineProperty(exports,"FoxDrawer",{enumerable:!0,get:()=>d.ElDrawer});Object.defineProperty(exports,"FoxDropdown",{enumerable:!0,get:()=>d.ElDropdown});Object.defineProperty(exports,"FoxDropdownItem",{enumerable:!0,get:()=>d.ElDropdownItem});Object.defineProperty(exports,"FoxDropdownMenu",{enumerable:!0,get:()=>d.ElDropdownMenu});Object.defineProperty(exports,"FoxEmpty",{enumerable:!0,get:()=>d.ElEmpty});Object.defineProperty(exports,"FoxFooter",{enumerable:!0,get:()=>d.ElFooter});Object.defineProperty(exports,"FoxForm",{enumerable:!0,get:()=>d.ElForm});Object.defineProperty(exports,"FoxFormItem",{enumerable:!0,get:()=>d.ElFormItem});Object.defineProperty(exports,"FoxHeader",{enumerable:!0,get:()=>d.ElHeader});Object.defineProperty(exports,"FoxIcon",{enumerable:!0,get:()=>d.ElIcon});Object.defineProperty(exports,"FoxImage",{enumerable:!0,get:()=>d.ElImage});Object.defineProperty(exports,"FoxImageViewer",{enumerable:!0,get:()=>d.ElImageViewer});Object.defineProperty(exports,"FoxInput",{enumerable:!0,get:()=>d.ElInput});Object.defineProperty(exports,"FoxInputNumber",{enumerable:!0,get:()=>d.ElInputNumber});Object.defineProperty(exports,"FoxLink",{enumerable:!0,get:()=>d.ElLink});Object.defineProperty(exports,"FoxMain",{enumerable:!0,get:()=>d.ElMain});Object.defineProperty(exports,"FoxMenu",{enumerable:!0,get:()=>d.ElMenu});Object.defineProperty(exports,"FoxMenuItem",{enumerable:!0,get:()=>d.ElMenuItem});Object.defineProperty(exports,"FoxMenuItemGroup",{enumerable:!0,get:()=>d.ElMenuItemGroup});Object.defineProperty(exports,"FoxOption",{enumerable:!0,get:()=>d.ElOption});Object.defineProperty(exports,"FoxOptionGroup",{enumerable:!0,get:()=>d.ElOptionGroup});Object.defineProperty(exports,"FoxPageHeader",{enumerable:!0,get:()=>d.ElPageHeader});Object.defineProperty(exports,"FoxPagination",{enumerable:!0,get:()=>d.ElPagination});Object.defineProperty(exports,"FoxPopconfirm",{enumerable:!0,get:()=>d.ElPopconfirm});Object.defineProperty(exports,"FoxPopover",{enumerable:!0,get:()=>d.ElPopover});Object.defineProperty(exports,"FoxPopper",{enumerable:!0,get:()=>d.ElPopper});Object.defineProperty(exports,"FoxProgress",{enumerable:!0,get:()=>d.ElProgress});Object.defineProperty(exports,"FoxRadio",{enumerable:!0,get:()=>d.ElRadio});Object.defineProperty(exports,"FoxRadioButton",{enumerable:!0,get:()=>d.ElRadioButton});Object.defineProperty(exports,"FoxRadioGroup",{enumerable:!0,get:()=>d.ElRadioGroup});Object.defineProperty(exports,"FoxRate",{enumerable:!0,get:()=>d.ElRate});Object.defineProperty(exports,"FoxResult",{enumerable:!0,get:()=>d.ElResult});Object.defineProperty(exports,"FoxRow",{enumerable:!0,get:()=>d.ElRow});Object.defineProperty(exports,"FoxScrollbar",{enumerable:!0,get:()=>d.ElScrollbar});Object.defineProperty(exports,"FoxSelect",{enumerable:!0,get:()=>d.ElSelect});Object.defineProperty(exports,"FoxSelectV2",{enumerable:!0,get:()=>d.ElSelectV2});Object.defineProperty(exports,"FoxSkeleton",{enumerable:!0,get:()=>d.ElSkeleton});Object.defineProperty(exports,"FoxSkeletonItem",{enumerable:!0,get:()=>d.ElSkeletonItem});Object.defineProperty(exports,"FoxSlider",{enumerable:!0,get:()=>d.ElSlider});Object.defineProperty(exports,"FoxSpace",{enumerable:!0,get:()=>d.ElSpace});Object.defineProperty(exports,"FoxStep",{enumerable:!0,get:()=>d.ElStep});Object.defineProperty(exports,"FoxSteps",{enumerable:!0,get:()=>d.ElSteps});Object.defineProperty(exports,"FoxSubMenu",{enumerable:!0,get:()=>d.ElSubMenu});Object.defineProperty(exports,"FoxSwitch",{enumerable:!0,get:()=>d.ElSwitch});Object.defineProperty(exports,"FoxTabPane",{enumerable:!0,get:()=>d.ElTabPane});Object.defineProperty(exports,"FoxTable",{enumerable:!0,get:()=>d.ElTable});Object.defineProperty(exports,"FoxTableColumn",{enumerable:!0,get:()=>d.ElTableColumn});Object.defineProperty(exports,"FoxTableV2",{enumerable:!0,get:()=>d.ElTableV2});Object.defineProperty(exports,"FoxTabs",{enumerable:!0,get:()=>d.ElTabs});Object.defineProperty(exports,"FoxTag",{enumerable:!0,get:()=>d.ElTag});Object.defineProperty(exports,"FoxTimePicker",{enumerable:!0,get:()=>d.ElTimePicker});Object.defineProperty(exports,"FoxTimeSelect",{enumerable:!0,get:()=>d.ElTimeSelect});Object.defineProperty(exports,"FoxTimeline",{enumerable:!0,get:()=>d.ElTimeline});Object.defineProperty(exports,"FoxTimelineItem",{enumerable:!0,get:()=>d.ElTimelineItem});Object.defineProperty(exports,"FoxTooltip",{enumerable:!0,get:()=>d.ElTooltip});Object.defineProperty(exports,"FoxTransfer",{enumerable:!0,get:()=>d.ElTransfer});Object.defineProperty(exports,"FoxTree",{enumerable:!0,get:()=>d.ElTree});Object.defineProperty(exports,"FoxTreeSelect",{enumerable:!0,get:()=>d.ElTreeSelect});Object.defineProperty(exports,"FoxTreeV2",{enumerable:!0,get:()=>d.ElTreeV2});Object.defineProperty(exports,"FoxUpload",{enumerable:!0,get:()=>d.ElUpload});exports.AutocompleteItem=nr;exports.Broadcast=At;exports.BroadcastKey=Q;exports.CascaderItem=tr;exports.CheckboxItem=ur;exports.Content=Dn;exports.DataItemsKey=Ve;exports.DateItem=Un;exports.DialogItem=dr;exports.Domain=jt;exports.DomainKey=ve;exports.ExtIcon=hr;exports.FooterBar=kn;exports.Group=Bn;exports.HeaderBar=jn;exports.HintText=ct;exports.Indicator=mr;exports.InputItem=Kn;exports.InputNumberItem=Qn;exports.Item=re;exports.Mapping=Dt;exports.MoneyItem=Jn;exports.Page=Rn;exports.Price=tt;exports.PriorityPolicy=Xe;exports.RadioItem=ir;exports.RateItem=cr;exports.RowItem=Hn;exports.SelectItem=Yn;exports.SlotItem=_n;exports.SwitchItem=fr;exports.TableItem=ar;exports.TableMappingColumn=lr;exports.TimeItem=Zn;exports.TimeSelectItem=Xn;exports.UniqueID=Fn;exports.ValidateSchema=Pn;exports.ValidateSchemaKey=ge;exports.clearNonNumber=Nr;exports.compareTo=$t;exports.createBroadcast=nt;exports.createValidateSchema=rt;exports.debounce=_r;exports.decimalLength=vn;exports.default=Uo;exports.defineBroadcast=Rr;exports.defineDataItem=Cn;exports.defineDomain=kt;exports.defineItem=ne;exports.definePageState=On;exports.deleteGlobalValidator=Mr;exports.disabledProperty=ue;exports.divide=Tt;exports.excludeProps=ae;exports.floatData=Ar;exports.getGlobalValidateCheckEvents=wn;exports.getGlobalValidateResetEvents=En;exports.getPageContentAreaHeight=Ue;exports.getPageContentAreaWidth=Ze;exports.getPageFooterAreaHeight=ot;exports.getPageHeaderAreaHeight=at;exports.getRootDomain=Le;exports.includeProps=Ir;exports.indexOf=Vr;exports.integerLength=bn;exports.isBrowser=Ke;exports.isEmptyString=X;exports.isInnerPage=Kr;exports.isNumberString=yn;exports.isRegExp=pn;exports.isSubPage=zr;exports.lastIndexOf=Tr;exports.multiply=hn;exports.negate=mn;exports.numberFormat=It;exports.property=Re;exports.raf=Or;exports.readonlyProperty=se;exports.setGlobalValidateCheckEvents=Br;exports.setGlobalValidateHandler=kr;exports.setGlobalValidateMessages=Fr;exports.setGlobalValidateResetEvents=qr;exports.setGlobalValidator=Dr;exports.throttle=Rt;exports.toPadding=he;exports.toPx=Z;exports.toPxDesc=z;exports.toValue=Y;exports.unNumberFormat=gn;exports.updatePageState=Et;exports.useBroadcast=Fe;exports.useDomain=we;exports.useExpose=ie;exports.usePageState=lt;exports.usePosition=Ln;exports.useRect=et;exports.valueLength=ze;