import{a7 as N,p as _e,a8 as me,a9 as xe,aa as be,Y as le,ab as we,U as ye,f as Fe,a5 as Se,l as te,W as re}from"./index.a0309a28.js";/** * tdesign v1.9.9 * (c) 2024 tdesign * @license MIT */function Ee(r){return r==null}var Ce=Ee;/** * tdesign v1.9.9 * (c) 2024 tdesign * @license MIT */function ce(r,e,l,f,s,y,p){try{var i=r[y](p),v=i.value}catch(S){return void l(S)}i.done?e(v):Promise.resolve(v).then(f,s)}function ve(r){return function(){var e=this,l=arguments;return new Promise(function(f,s){var y=r.apply(e,l);function p(v){ce(y,f,s,p,i,"next",v)}function i(v){ce(y,f,s,p,i,"throw",v)}p(void 0)})}}var fe={exports:{}},se={exports:{}};(function(r){function e(l){return r.exports=e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(f){return typeof f}:function(f){return f&&typeof Symbol=="function"&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f},r.exports.__esModule=!0,r.exports.default=r.exports,e(l)}r.exports=e,r.exports.__esModule=!0,r.exports.default=r.exports})(se);se.exports;(function(r){var e=se.exports.default;function l(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */r.exports=l=function(){return s},r.exports.__esModule=!0,r.exports.default=r.exports;var f,s={},y=Object.prototype,p=y.hasOwnProperty,i=Object.defineProperty||function(u,t,o){u[t]=o.value},v=typeof Symbol=="function"?Symbol:{},S=v.iterator||"@@iterator",L=v.asyncIterator||"@@asyncIterator",x=v.toStringTag||"@@toStringTag";function $(u,t,o){return Object.defineProperty(u,t,{value:o,enumerable:!0,configurable:!0,writable:!0}),u[t]}try{$({},"")}catch{$=function(o,h,m){return o[h]=m}}function G(u,t,o,h){var m=t&&t.prototype instanceof d?t:d,g=Object.create(m.prototype),D=new J(h||[]);return i(g,"_invoke",{value:j(u,o,D)}),g}function C(u,t,o){try{return{type:"normal",arg:u.call(t,o)}}catch(h){return{type:"throw",arg:h}}}s.wrap=G;var c="suspendedStart",w="suspendedYield",_="executing",n="completed",a={};function d(){}function F(){}function O(){}var A={};$(A,S,function(){return this});var P=Object.getPrototypeOf,E=P&&P(P(ee([])));E&&E!==y&&p.call(E,S)&&(A=E);var b=O.prototype=d.prototype=Object.create(A);function I(u){["next","throw","return"].forEach(function(t){$(u,t,function(o){return this._invoke(t,o)})})}function M(u,t){function o(m,g,D,q){var R=C(u[m],u,g);if(R.type!=="throw"){var Y=R.arg,z=Y.value;return z&&e(z)=="object"&&p.call(z,"__await")?t.resolve(z.__await).then(function(H){o("next",H,D,q)},function(H){o("throw",H,D,q)}):t.resolve(z).then(function(H){Y.value=H,D(Y)},function(H){return o("throw",H,D,q)})}q(R.arg)}var h;i(this,"_invoke",{value:function(g,D){function q(){return new t(function(R,Y){o(g,D,R,Y)})}return h=h?h.then(q,q):q()}})}function j(u,t,o){var h=c;return function(m,g){if(h===_)throw Error("Generator is already running");if(h===n){if(m==="throw")throw g;return{value:f,done:!0}}for(o.method=m,o.arg=g;;){var D=o.delegate;if(D){var q=U(D,o);if(q){if(q===a)continue;return q}}if(o.method==="next")o.sent=o._sent=o.arg;else if(o.method==="throw"){if(h===c)throw h=n,o.arg;o.dispatchException(o.arg)}else o.method==="return"&&o.abrupt("return",o.arg);h=_;var R=C(u,t,o);if(R.type==="normal"){if(h=o.done?n:w,R.arg===a)continue;return{value:R.arg,done:o.done}}R.type==="throw"&&(h=n,o.method="throw",o.arg=R.arg)}}}function U(u,t){var o=t.method,h=u.iterator[o];if(h===f)return t.delegate=null,o==="throw"&&u.iterator.return&&(t.method="return",t.arg=f,U(u,t),t.method==="throw")||o!=="return"&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+o+"' method")),a;var m=C(h,u.iterator,t.arg);if(m.type==="throw")return t.method="throw",t.arg=m.arg,t.delegate=null,a;var g=m.arg;return g?g.done?(t[u.resultName]=g.value,t.next=u.nextLoc,t.method!=="return"&&(t.method="next",t.arg=f),t.delegate=null,a):g:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,a)}function k(u){var t={tryLoc:u[0]};1 in u&&(t.catchLoc=u[1]),2 in u&&(t.finallyLoc=u[2],t.afterLoc=u[3]),this.tryEntries.push(t)}function T(u){var t=u.completion||{};t.type="normal",delete t.arg,u.completion=t}function J(u){this.tryEntries=[{tryLoc:"root"}],u.forEach(k,this),this.reset(!0)}function ee(u){if(u||u===""){var t=u[S];if(t)return t.call(u);if(typeof u.next=="function")return u;if(!isNaN(u.length)){var o=-1,h=function m(){for(;++o=0;--m){var g=this.tryEntries[m],D=g.completion;if(g.tryLoc==="root")return h("end");if(g.tryLoc<=this.prev){var q=p.call(g,"catchLoc"),R=p.call(g,"finallyLoc");if(q&&R){if(this.prev=0;--h){var m=this.tryEntries[h];if(m.tryLoc<=this.prev&&p.call(m,"finallyLoc")&&this.prev=0;--o){var h=this.tryEntries[o];if(h.finallyLoc===t)return this.complete(h.completion,h.afterLoc),T(h),a}},catch:function(t){for(var o=this.tryEntries.length-1;o>=0;--o){var h=this.tryEntries[o];if(h.tryLoc===t){var m=h.completion;if(m.type==="throw"){var g=m.arg;T(h)}return g}}throw Error("illegal catch attempt")},delegateYield:function(t,o,h){return this.delegate={iterator:ee(t),resultName:o,nextLoc:h},this.method==="next"&&(this.arg=f),a}},s}r.exports=l,r.exports.__esModule=!0,r.exports.default=r.exports})(fe);fe.exports;var Z=fe.exports(),V=Z;try{regeneratorRuntime=Z}catch{(typeof globalThis>"u"?"undefined":_e(globalThis))==="object"?globalThis.regeneratorRuntime=Z:Function("r","regeneratorRuntime = r")(Z)}/** * tdesign v1.9.9 * (c) 2024 tdesign * @license MIT */var Oe=me,Ae=xe,Le=be,de=le,Pe=we;function De(r,e,l,f){if(!de(r))return r;e=Ae(e,r);for(var s=-1,y=e.length,p=y-1,i=r;i!=null&&++s0&&arguments[0]!==void 0?arguments[0]:{},s=arguments.length>1?arguments[1]:void 0;for(var y in s)typeof f[y]>"u"&&(f[y]=s[y]);return f}r.exports=e.default,r.exports.default=e.default})(Q,Q.exports);Q.exports;(function(r,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=C;var l=f(Q.exports);function f(c){return c&&c.__esModule?c:{default:c}}function s(c,w){return i(c)||p(c,w)||S(c,w)||y()}function y(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function p(c,w){var _=c==null?null:typeof Symbol<"u"&&c[Symbol.iterator]||c["@@iterator"];if(_!=null){var n,a,d,F,O=[],A=!0,P=!1;try{if(d=(_=_.call(c)).next,w===0){if(Object(_)!==_)return;A=!1}else for(;!(A=(n=d.call(_)).done)&&(O.push(n.value),O.length!==w);A=!0);}catch(E){P=!0,a=E}finally{try{if(!A&&_.return!=null&&(F=_.return(),Object(F)!==F))return}finally{if(P)throw a}}return O}}function i(c){if(Array.isArray(c))return c}function v(c,w){var _=typeof Symbol<"u"&&c[Symbol.iterator]||c["@@iterator"];if(!_){if(Array.isArray(c)||(_=S(c))||w&&c&&typeof c.length=="number"){_&&(c=_);var n=0,a=function(){};return{s:a,n:function(){return n>=c.length?{done:!0}:{done:!1,value:c[n++]}},e:function(P){throw P},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var d=!0,F=!1,O;return{s:function(){_=_.call(c)},n:function(){var P=_.next();return d=P.done,P},e:function(P){F=!0,O=P},f:function(){try{!d&&_.return!=null&&_.return()}finally{if(F)throw O}}}}function S(c,w){if(!!c){if(typeof c=="string")return L(c,w);var _=Object.prototype.toString.call(c).slice(8,-1);if(_==="Object"&&c.constructor&&(_=c.constructor.name),_==="Map"||_==="Set")return Array.from(c);if(_==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_))return L(c,w)}}function L(c,w){(w==null||w>c.length)&&(w=c.length);for(var _=0,n=new Array(w);_=v&&(typeof S>"u"||L<=S)}r.exports=e.default,r.exports.default=e.default})(X,X.exports);X.exports;var B={exports:{}};(function(r,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=p;var l=s(W.exports),f=s(Q.exports);function s(i){return i&&i.__esModule?i:{default:i}}var y={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1,allow_wildcard:!1,ignore_max_length:!1};function p(i,v){(0,l.default)(i),v=(0,f.default)(v,y),v.allow_trailing_dot&&i[i.length-1]==="."&&(i=i.substring(0,i.length-1)),v.allow_wildcard===!0&&i.indexOf("*.")===0&&(i=i.substring(2));var S=i.split("."),L=S[S.length-1];return v.require_tld&&(S.length<2||!v.allow_numeric_tld&&!/^([a-z\u00A1-\u00A8\u00AA-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}|xn[a-z0-9-]{2,})$/i.test(L)||/\s/.test(L))||!v.allow_numeric_tld&&/^\d+$/.test(L)?!1:S.every(function(x){return!(x.length>63&&!v.ignore_max_length||!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(x)||/[\uff01-\uff5e]/.test(x)||/^-|-$/.test(x)||!v.allow_underscores&&/_/.test(x))})}r.exports=e.default,r.exports.default=e.default})(B,B.exports);B.exports;var K={exports:{}};(function(r,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=S;var l=f(W.exports);function f(L){return L&&L.__esModule?L:{default:L}}var s="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",y="(".concat(s,"[.]){3}").concat(s),p=new RegExp("^".concat(y,"$")),i="(?:[0-9a-fA-F]{1,4})",v=new RegExp("^("+"(?:".concat(i,":){7}(?:").concat(i,"|:)|")+"(?:".concat(i,":){6}(?:").concat(y,"|:").concat(i,"|:)|")+"(?:".concat(i,":){5}(?::").concat(y,"|(:").concat(i,"){1,2}|:)|")+"(?:".concat(i,":){4}(?:(:").concat(i,"){0,1}:").concat(y,"|(:").concat(i,"){1,3}|:)|")+"(?:".concat(i,":){3}(?:(:").concat(i,"){0,2}:").concat(y,"|(:").concat(i,"){1,4}|:)|")+"(?:".concat(i,":){2}(?:(:").concat(i,"){0,3}:").concat(y,"|(:").concat(i,"){1,5}|:)|")+"(?:".concat(i,":){1}(?:(:").concat(i,"){0,4}:").concat(y,"|(:").concat(i,"){1,6}|:)|")+"(?::((?::".concat(i,"){0,5}:").concat(y,"|(?::").concat(i,"){1,7}|:))")+")(%[0-9a-zA-Z-.:]{1,})?$");function S(L){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return(0,l.default)(L),x=String(x),x?x==="4"?p.test(L):x==="6"?v.test(L):!1:S(L,4)||S(L,6)}r.exports=e.default,r.exports.default=e.default})(K,K.exports);K.exports;(function(r,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=_;var l=i(W.exports),f=i(X.exports),s=i(B.exports),y=i(K.exports),p=i(Q.exports);function i(n){return n&&n.__esModule?n:{default:n}}var v={allow_display_name:!1,allow_underscores:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0,blacklisted_chars:"",ignore_max_length:!1,host_blacklist:[],host_whitelist:[]},S=/^([^\x00-\x1F\x7F-\x9F\cX]+)]/.test(a);if(d){if(a===n)return!1;var F=a.split('"').length===a.split('\\"').length;if(!F)return!1}return!0}function _(n,a){if((0,l.default)(n),a=(0,p.default)(a,v),a.require_display_name||a.allow_display_name){var d=n.match(S);if(d){var F=d[1];if(n=n.replace(F,"").replace(/(^<|>$)/g,""),F.endsWith(" ")&&(F=F.slice(0,-1)),!w(F))return!1}else if(a.require_display_name)return!1}if(!a.ignore_max_length&&n.length>c)return!1;var O=n.split("@"),A=O.pop(),P=A.toLowerCase();if(a.host_blacklist.includes(P)||a.host_whitelist.length>0&&!a.host_whitelist.includes(P))return!1;var E=O.join("@");if(a.domain_specific_validation&&(P==="gmail.com"||P==="googlemail.com")){E=E.toLowerCase();var b=E.split("+")[0];if(!(0,f.default)(b.replace(/\./g,""),{min:6,max:30}))return!1;for(var I=b.split("."),M=0;Mn.length)&&(a=n.length);for(var d=0,F=new Array(a);d]/.test(n)||n.indexOf("mailto:")===0||(a=(0,y.default)(a,G),a.validate_length&&n.length>=2083)||!a.allow_fragments&&n.includes("#")||!a.allow_query_components&&(n.includes("?")||n.includes("&")))return!1;var d,F,O,A,P,E,b,I;if(b=n.split("#"),n=b.shift(),b=n.split("?"),n=b.shift(),b=n.split("://"),b.length>1){if(d=b.shift().toLowerCase(),a.require_valid_protocol&&a.protocols.indexOf(d)===-1)return!1}else{if(a.require_protocol)return!1;if(n.slice(0,2)==="//"){if(!a.allow_protocol_relative_urls)return!1;b[0]=n.slice(2)}}if(n=b.join("://"),n==="")return!1;if(b=n.split("/"),n=b.shift(),n===""&&!a.require_host)return!0;if(b=n.split("@"),b.length>1){if(a.disallow_auth||b[0]===""||(F=b.shift(),F.indexOf(":")>=0&&F.split(":").length>2))return!1;var M=F.split(":"),j=i(M,2),U=j[0],k=j[1];if(U===""&&k==="")return!1}A=b.join("@"),E=null,I=null;var T=A.match(C);if(T?(O="",I=T[1],E=T[2]||null):(b=A.split(":"),O=b.shift(),b.length&&(E=b.join(":"))),E!==null&&E.length>0){if(P=parseInt(E,10),!/^[0-9]+$/.test(E)||P<=0||P>65535)return!1}else if(a.require_port)return!1;return a.host_whitelist?w(O,a.host_whitelist):O===""&&!a.require_host?!0:!(!(0,s.default)(O)&&!(0,f.default)(O,a)&&(!I||!(0,s.default)(I,6))||(O=O||I,a.host_blacklist&&w(O,a.host_blacklist)))}r.exports=e.default,r.exports.default=e.default})(ie,ie.exports);var ke=N(ie.exports);function pe(r,e){var l=Object.keys(r);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(r);e&&(f=f.filter(function(s){return Object.getOwnPropertyDescriptor(r,s).enumerable})),l.push.apply(l,f)}return l}function he(r){for(var e=1;e=l:re(e)>=l},len:function(e,l){return re(String(e))===l},number:function(e){return te(e)},enum:function(e,l){return l.includes(e)},idcard:function(e){return/^(\d{18,18}|\d{15,15}|\d{17,17}x)$/i.test(e)},telnumber:function(e){return/^1[3-9]\d{9}$/.test(e)},pattern:function(e,l){return l.test(e)},validator:function(e,l){return l(e)}};function je(r,e){return oe.apply(this,arguments)}function oe(){return oe=ve(V.mark(function r(e,l){var f,s,y,p,i,v,S;return V.wrap(function(x){for(;;)switch(x.prev=x.next){case 0:f={result:!0},s=Object.keys(l),i=0;case 3:if(!(i