@zlooks.cn/password-auth-server 1.1.7 → 1.1.9

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.
Files changed (20) hide show
  1. package/.hile-rsc/build-mvc5mab8-8aa6ad01/client-browser/chunks/chunk-3XS5CUKE.js +252 -0
  2. package/.hile-rsc/build-mvc5mab8-8aa6ad01/client-browser/src-plugin-page-frame-07c4de56a6-GLDPP7WQ.css +1 -0
  3. package/.hile-rsc/build-mvc5mab8-8aa6ad01/client-browser/src-plugin-page-frame-07c4de56a6-NNLB6KOI.js +16 -0
  4. package/.hile-rsc/build-mvc5mab8-8aa6ad01/client-browser/src-plugin-password-form-3bd63d69e5-HJ5W2OPR.js +6 -0
  5. package/.hile-rsc/build-mvc5mab8-8aa6ad01/client-browser/src-plugin-password-form-3bd63d69e5-XRKUN4RP.css +1 -0
  6. package/.hile-rsc/build-mvc5mab8-8aa6ad01/client-ssr/chunks/chunk-PN3C7DWD.js +123 -0
  7. package/.hile-rsc/build-mvc5mab8-8aa6ad01/client-ssr/src-plugin-page-frame-07c4de56a6-VK2OTNLD.js +146 -0
  8. package/.hile-rsc/build-mvc5mab8-8aa6ad01/client-ssr/src-plugin-password-form-3bd63d69e5-K3D6TQTX.js +352 -0
  9. package/.hile-rsc/{build-mv634mou-8e8c1ca3 → build-mvc5mab8-8aa6ad01}/plugin.json +35 -35
  10. package/.hile-rsc/{build-mv634mou-8e8c1ca3 → build-mvc5mab8-8aa6ad01}/server-rsc/index.js +6 -2
  11. package/package.json +6 -6
  12. package/.hile-rsc/build-mv634mou-8e8c1ca3/client-browser/chunks/chunk-UYTFSLNG.js +0 -42775
  13. package/.hile-rsc/build-mv634mou-8e8c1ca3/client-browser/src-plugin-page-frame-07c4de56a6-25BOCBWI.js +0 -2304
  14. package/.hile-rsc/build-mv634mou-8e8c1ca3/client-browser/src-plugin-page-frame-07c4de56a6-3F24AYCH.css +0 -170
  15. package/.hile-rsc/build-mv634mou-8e8c1ca3/client-browser/src-plugin-password-form-3bd63d69e5-GJ25JW7M.js +0 -4768
  16. package/.hile-rsc/build-mv634mou-8e8c1ca3/client-browser/src-plugin-password-form-3bd63d69e5-TRYMJX4F.css +0 -195
  17. package/.hile-rsc/build-mv634mou-8e8c1ca3/client-ssr/chunks/chunk-A2AYEE2Z.js +0 -36628
  18. package/.hile-rsc/build-mv634mou-8e8c1ca3/client-ssr/src-plugin-page-frame-07c4de56a6-WXFM6XOG.js +0 -15601
  19. package/.hile-rsc/build-mv634mou-8e8c1ca3/client-ssr/src-plugin-password-form-3bd63d69e5-ZZ55VGCF.js +0 -120668
  20. /package/.hile-rsc/{build-mv634mou-8e8c1ca3 → build-mvc5mab8-8aa6ad01}/styles/4b3193c4f2b317ffed425ccf401342a4bdd6ccfd5f9c42def3315e776f166975.css +0 -0
@@ -0,0 +1,252 @@
1
+ var Fk=Object.create;var Lf=Object.defineProperty;var Uk=Object.getOwnPropertyDescriptor;var Vk=Object.getOwnPropertyNames;var Bk=Object.getPrototypeOf,Hk=Object.prototype.hasOwnProperty;var zo=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(o){throw t=0,o}},fo=(e,t)=>{for(var o in t)Lf(e,o,{get:t[o],enumerable:!0})},Zk=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of Vk(t))!Hk.call(e,r)&&r!==o&&Lf(e,r,{get:()=>t[r],enumerable:!(n=Uk(t,r))||n.enumerable});return e};var tn=(e,t,o)=>(o=e!=null?Fk(Bk(e)):{},Zk(t||!e||!e.__esModule?Lf(o,"default",{value:e,enumerable:!0}):o,e));var xw=zo(nt=>{"use strict";var rx=Symbol.for("react.transitional.element"),ox=Symbol.for("react.portal"),xu=Symbol.for("react.fragment"),yu=Symbol.for("react.strict_mode"),bu=Symbol.for("react.profiler"),$u=Symbol.for("react.consumer"),Su=Symbol.for("react.context"),Cu=Symbol.for("react.forward_ref"),_u=Symbol.for("react.suspense"),wu=Symbol.for("react.suspense_list"),Eu=Symbol.for("react.memo"),Ru=Symbol.for("react.lazy"),wO=Symbol.for("react.view_transition"),EO=Symbol.for("react.client.reference");function Hr(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case rx:switch(e=e.type,e){case xu:case bu:case yu:case _u:case wu:case wO:return e;default:switch(e=e&&e.$$typeof,e){case Su:case Cu:case Ru:case Eu:return e;case $u:return e;default:return t}}case ox:return t}}}nt.ContextConsumer=$u;nt.ContextProvider=Su;nt.Element=rx;nt.ForwardRef=Cu;nt.Fragment=xu;nt.Lazy=Ru;nt.Memo=Eu;nt.Portal=ox;nt.Profiler=bu;nt.StrictMode=yu;nt.Suspense=_u;nt.SuspenseList=wu;nt.isContextConsumer=function(e){return Hr(e)===$u};nt.isContextProvider=function(e){return Hr(e)===Su};nt.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===rx};nt.isForwardRef=function(e){return Hr(e)===Cu};nt.isFragment=function(e){return Hr(e)===xu};nt.isLazy=function(e){return Hr(e)===Ru};nt.isMemo=function(e){return Hr(e)===Eu};nt.isPortal=function(e){return Hr(e)===ox};nt.isProfiler=function(e){return Hr(e)===bu};nt.isStrictMode=function(e){return Hr(e)===yu};nt.isSuspense=function(e){return Hr(e)===_u};nt.isSuspenseList=function(e){return Hr(e)===wu};nt.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===xu||e===bu||e===yu||e===_u||e===wu||typeof e=="object"&&e!==null&&(e.$$typeof===Ru||e.$$typeof===Eu||e.$$typeof===Su||e.$$typeof===$u||e.$$typeof===Cu||e.$$typeof===EO||e.getModuleId!==void 0)};nt.typeOf=Hr});var bw=zo((ZB,yw)=>{"use strict";yw.exports=xw()});var Aw=zo((h5,Nu)=>{"use strict";Nu.exports=vx;Nu.exports.isMobile=vx;Nu.exports.default=vx;var WO=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|redmi|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,GO=/CrOS/,qO=/android|ipad|playbook|silk/i;function vx(e){e||(e={});let t=e.ua;if(!t&&typeof navigator<"u"&&(t=navigator.userAgent),t&&t.headers&&typeof t.headers["user-agent"]=="string"&&(t=t.headers["user-agent"]),typeof t!="string")return!1;let o=WO.test(t)&&!GO.test(t)||!!e.tablet&&qO.test(t);return!o&&e.tablet&&e.featureDetect&&navigator&&navigator.maxTouchPoints>1&&t.indexOf("Macintosh")!==-1&&t.indexOf("Safari")!==-1&&(o=!0),o}});var TR=zo(Jy=>{"use strict";Object.defineProperty(Jy,"__esModule",{value:!0});var SD={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"};Jy.default=SD});var XR=zo(nb=>{"use strict";Object.defineProperty(nb,"__esModule",{value:!0});var OD={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"};nb.default=OD});var cI=zo(cb=>{"use strict";Object.defineProperty(cb,"__esModule",{value:!0});var GD={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"};cb.default=GD});var KP=zo(d$=>{"use strict";Object.defineProperty(d$,"__esModule",{value:!0});var vj={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};d$.default=vj});var YP=zo(m$=>{"use strict";Object.defineProperty(m$,"__esModule",{value:!0});var bj={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"};m$.default=bj});var eN=zo(g$=>{"use strict";Object.defineProperty(g$,"__esModule",{value:!0});var Cj={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"};g$.default=Cj});var j={};fo(j,{Activity:()=>Wk,Children:()=>rs,Component:()=>Ff,Fragment:()=>Ct,Profiler:()=>Gk,PureComponent:()=>Uf,StrictMode:()=>qk,Suspense:()=>Xk,act:()=>Kk,cache:()=>Jk,cacheSignal:()=>Yk,captureOwnerStack:()=>Qk,cloneElement:()=>kt,createContext:()=>be,createElement:()=>y,createRef:()=>Vf,default:()=>_,forwardRef:()=>re,isValidElement:()=>Vr,lazy:()=>ez,memo:()=>rn,startTransition:()=>tz,unstable_useCacheRefresh:()=>rz,use:()=>oz,useActionState:()=>nz,useCallback:()=>ft,useContext:()=>M,useDebugValue:()=>iz,useDeferredValue:()=>az,useEffect:()=>K,useEffectEvent:()=>sz,useId:()=>Bf,useImperativeHandle:()=>Te,useInsertionEffect:()=>Hf,useLayoutEffect:()=>os,useMemo:()=>A,useOptimistic:()=>cz,useReducer:()=>Zf,useRef:()=>k,useState:()=>W,useSyncExternalStore:()=>lz,useTransition:()=>uz,version:()=>Wf});var Re=globalThis.__HILE_RSC_REACT__;if(!Re)throw new Error("Hile RSC host did not install the shared React runtime");var _=Re,Wk=Re.Activity,rs=Re.Children,Ff=Re.Component,Ct=Re.Fragment,Gk=Re.Profiler,Uf=Re.PureComponent,qk=Re.StrictMode,Xk=Re.Suspense,Kk=Re.act,Jk=Re.cache,Yk=Re.cacheSignal,Qk=Re.captureOwnerStack,kt=Re.cloneElement,be=Re.createContext,y=Re.createElement,Vf=Re.createRef,re=Re.forwardRef,Vr=Re.isValidElement,ez=Re.lazy,rn=Re.memo,tz=Re.startTransition,rz=Re.unstable_useCacheRefresh,oz=Re.use,nz=Re.useActionState,ft=Re.useCallback,M=Re.useContext,iz=Re.useDebugValue,az=Re.useDeferredValue,K=Re.useEffect,sz=Re.useEffectEvent,Bf=Re.useId,Te=Re.useImperativeHandle,Hf=Re.useInsertionEffect,os=Re.useLayoutEffect,A=Re.useMemo,cz=Re.useOptimistic,Zf=Re.useReducer,k=Re.useRef,W=Re.useState,lz=Re.useSyncExternalStore,uz=Re.useTransition,Wf=Re.version;function Ii(e,t){try{let o=new URL(e,t);return o.protocol==="http:"||o.protocol==="https:"?o:void 0}catch{return}}function eS(e,t,o){if(e.defaultPrevented||e.button!==0||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||t.target!==void 0&&t.target!==""&&t.target.toLowerCase()!=="_self"||t.download!==void 0&&t.download!==!1)return!1;let n=Ii(o,o),r=Ii(t.href,o);return n!==void 0&&r!==void 0&&r.origin===n.origin}var dz=Symbol.for("@hile/rsc/client/navigation/runtime");function fz(){let e=globalThis;return e[dz]??={installations:[]}}function tS(){return fz().installations.at(-1)?.navigation}function ns(){return typeof window>"u"?void 0:window.location}function Gf(e,t){let o=Ii(e,t.href);if(!o)throw new TypeError("RSC navigation href must use HTTP or HTTPS");return o}function Pi(){return tS()}var rS=Object.freeze({push(e,t){let o=ns();if(!o)return;let n=Gf(e,o),r=Pi();if(r&&n.origin===o.origin){r.push(e,t);return}o.assign(n.href)},replace(e,t){let o=ns();if(!o)return;let n=Gf(e,o),r=Pi();if(r&&n.origin===o.origin){r.replace(e,t);return}o.replace(n.href)},refresh(){let e=Pi();e?e.refresh():ns()?.reload()},prefetch(e){let t=ns();if(!t)return;let o=Gf(e,t),n=Pi();n&&o.origin===t.origin&&n.prefetch(e)}});function GF(){return rS}function oS(e,t){let o=Ii(t,t),n=Ii(e,t);return o!==void 0&&n!==void 0&&n.origin===o.origin}function mz(e,t,o){return oS(t,o)&&e.prefetchRoute?.(t)===!0}function pz(e,t){typeof e=="function"?e(t):e&&(e.current=t)}var qF=re(function({href:t,replace:o=!1,scroll:n,prefetch:r=!1,target:i,download:a,onClick:s,onFocus:l,onPointerEnter:c,...u},d){let f=k(null),m=k(void 0),p=ft(v=>{f.current=v,pz(d,v)},[d]),g=ft(()=>{let v=ns(),$=Pi();return!v||!$||m.current===t||!oS(t,v.href)||!mz($,t,v.href)?!1:(m.current=t,!0)},[t]);K(()=>{if(r!=="viewport"||typeof IntersectionObserver>"u"||!f.current)return;let v=new IntersectionObserver($=>{$.some(({isIntersecting:S})=>S)&&g()&&v.disconnect()});return v.observe(f.current),()=>v.disconnect()},[r,g]);function x(v){if(s?.(v),typeof window>"u"||!eS(v,{href:t,target:i,download:a},window.location.href))return;let $=Pi();if(!$&&!o)return;v.preventDefault();let S=n===void 0?void 0:{scroll:n};o?rS.replace(t,S):$.push(t,S)}function h(v){l?.(v),r==="intent"&&!v.defaultPrevented&&g()}function b(v){c?.(v),r==="intent"&&!v.defaultPrevented&&g()}return _.createElement("a",{...u,ref:p,href:t,target:i,download:a,onClick:x,onFocus:h,onPointerEnter:b})});var is=globalThis.__HILE_RSC_JSX_RUNTIME__;if(!is)throw new Error("Hile RSC host did not install the shared JSX runtime");var KF=is.Fragment,JF=is.jsx,YF=is.jsxs,QF=is.jsxDEV;var Ee={};fo(Ee,{$brand:()=>Xf,$input:()=>hg,$output:()=>gg,NEVER:()=>qf,TimePrecision:()=>bg,ZodAny:()=>lv,ZodArray:()=>mv,ZodBase64:()=>nu,ZodBase64URL:()=>iu,ZodBigInt:()=>aa,ZodBigIntFormat:()=>cu,ZodBoolean:()=>ia,ZodCIDRv4:()=>ru,ZodCIDRv6:()=>ou,ZodCUID:()=>Xl,ZodCUID2:()=>Kl,ZodCatch:()=>Av,ZodCodec:()=>Ms,ZodCustom:()=>js,ZodCustomStringFormat:()=>oa,ZodDate:()=>zs,ZodDefault:()=>Pv,ZodDiscriminatedUnion:()=>gv,ZodE164:()=>au,ZodEmail:()=>Wl,ZodEmoji:()=>Gl,ZodEnum:()=>ta,ZodError:()=>ZT,ZodExactOptional:()=>Ev,ZodFile:()=>_v,ZodFirstPartyTypeKind:()=>qv,ZodFunction:()=>Zv,ZodGUID:()=>Rs,ZodIPv4:()=>eu,ZodIPv6:()=>tu,ZodISODate:()=>Fl,ZodISODateTime:()=>Ll,ZodISODuration:()=>Vl,ZodISOTime:()=>Ul,ZodIntersection:()=>hv,ZodIssueCode:()=>GT,ZodJWT:()=>su,ZodKSUID:()=>Ql,ZodLazy:()=>Vv,ZodLiteral:()=>Cv,ZodMAC:()=>rv,ZodMap:()=>$v,ZodNaN:()=>Mv,ZodNanoID:()=>ql,ZodNever:()=>dv,ZodNonOptional:()=>pu,ZodNull:()=>sv,ZodNullable:()=>Iv,ZodNumber:()=>na,ZodNumberFormat:()=>Xn,ZodObject:()=>Os,ZodOptional:()=>mu,ZodPipe:()=>Ds,ZodPrefault:()=>kv,ZodPreprocess:()=>jv,ZodPromise:()=>Hv,ZodReadonly:()=>Lv,ZodRealError:()=>Cr,ZodRecord:()=>ea,ZodSet:()=>Sv,ZodString:()=>ra,ZodStringFormat:()=>Qe,ZodSuccess:()=>Ov,ZodSymbol:()=>iv,ZodTemplateLiteral:()=>Uv,ZodTransform:()=>wv,ZodTuple:()=>xv,ZodType:()=>Pe,ZodULID:()=>Jl,ZodURL:()=>ks,ZodUUID:()=>ho,ZodUndefined:()=>av,ZodUnion:()=>As,ZodUnknown:()=>uv,ZodVoid:()=>fv,ZodXID:()=>Yl,ZodXor:()=>pv,_ZodString:()=>Zl,_default:()=>Nv,_function:()=>Z_,any:()=>S_,array:()=>Ts,base64:()=>i_,base64url:()=>a_,bigint:()=>v_,boolean:()=>nv,catch:()=>Dv,check:()=>W_,cidrv4:()=>o_,cidrv6:()=>n_,clone:()=>lr,codec:()=>U_,coerce:()=>Xv,config:()=>bt,core:()=>Ao,cuid:()=>XC,cuid2:()=>KC,custom:()=>G_,date:()=>__,decode:()=>Xh,decodeAsync:()=>Jh,describe:()=>q_,discriminatedUnion:()=>N_,e164:()=>s_,email:()=>LC,emoji:()=>GC,encode:()=>qh,encodeAsync:()=>Kh,endsWith:()=>Hi,enum:()=>du,exactOptional:()=>Rv,file:()=>M_,flattenError:()=>ms,float32:()=>m_,float64:()=>p_,formatError:()=>ps,fromJSONSchema:()=>tw,function:()=>Z_,getErrorMap:()=>XT,globalRegistry:()=>Bt,gt:()=>po,gte:()=>dr,guid:()=>FC,hash:()=>f_,hex:()=>d_,hostname:()=>u_,httpUrl:()=>WC,includes:()=>Vi,instanceof:()=>K_,int:()=>Bl,int32:()=>g_,int64:()=>x_,intersection:()=>vv,invertCodec:()=>V_,ipv4:()=>e_,ipv6:()=>r_,iso:()=>Qi,json:()=>Y_,jwt:()=>c_,keyof:()=>w_,ksuid:()=>QC,lazy:()=>Bv,length:()=>Gn,literal:()=>D_,locales:()=>Ss,looseObject:()=>I_,looseRecord:()=>z_,lowercase:()=>Fi,lt:()=>mo,lte:()=>zr,mac:()=>t_,map:()=>T_,maxLength:()=>Wn,maxSize:()=>un,meta:()=>X_,mime:()=>Zi,minLength:()=>Oo,minSize:()=>go,multipleOf:()=>ln,nan:()=>F_,nanoid:()=>qC,nativeEnum:()=>A_,negative:()=>Pl,never:()=>lu,nonnegative:()=>kl,nonoptional:()=>Tv,nonpositive:()=>Nl,normalize:()=>Wi,null:()=>cv,nullable:()=>Ps,nullish:()=>j_,number:()=>ov,object:()=>E_,optional:()=>Is,overwrite:()=>Jr,parse:()=>Hh,parseAsync:()=>Zh,partialRecord:()=>k_,pipe:()=>Hl,positive:()=>Il,prefault:()=>zv,preprocess:()=>Q_,prettifyError:()=>cm,promise:()=>H_,property:()=>zl,readonly:()=>Fv,record:()=>bv,refine:()=>Wv,regex:()=>Li,regexes:()=>kr,registry:()=>sl,safeDecode:()=>Qh,safeDecodeAsync:()=>tv,safeEncode:()=>Yh,safeEncodeAsync:()=>ev,safeParse:()=>Wh,safeParseAsync:()=>Gh,set:()=>O_,setErrorMap:()=>qT,size:()=>Zn,slugify:()=>Ki,startsWith:()=>Bi,strictObject:()=>R_,string:()=>Es,stringFormat:()=>l_,stringbool:()=>J_,success:()=>L_,superRefine:()=>Gv,symbol:()=>b_,templateLiteral:()=>B_,toJSONSchema:()=>Dl,toLowerCase:()=>qi,toUpperCase:()=>Xi,transform:()=>fu,treeifyError:()=>sm,trim:()=>Gi,tuple:()=>yv,uint32:()=>h_,uint64:()=>y_,ulid:()=>JC,undefined:()=>$_,union:()=>uu,unknown:()=>qn,uppercase:()=>Ui,url:()=>ZC,util:()=>H,uuid:()=>UC,uuidv4:()=>VC,uuidv6:()=>BC,uuidv7:()=>HC,void:()=>C_,xid:()=>YC,xor:()=>P_});var Ao={};fo(Ao,{$ZodAny:()=>Mp,$ZodArray:()=>Vp,$ZodAsyncError:()=>Kr,$ZodBase64:()=>Rp,$ZodBase64URL:()=>Ip,$ZodBigInt:()=>Qc,$ZodBigIntFormat:()=>Tp,$ZodBoolean:()=>xs,$ZodCIDRv4:()=>_p,$ZodCIDRv6:()=>wp,$ZodCUID:()=>fp,$ZodCUID2:()=>mp,$ZodCatch:()=>ag,$ZodCheck:()=>ot,$ZodCheckBigIntFormat:()=>Vm,$ZodCheckEndsWith:()=>ep,$ZodCheckGreaterThan:()=>Gc,$ZodCheckIncludes:()=>Ym,$ZodCheckLengthEquals:()=>qm,$ZodCheckLessThan:()=>Wc,$ZodCheckLowerCase:()=>Km,$ZodCheckMaxLength:()=>Wm,$ZodCheckMaxSize:()=>Bm,$ZodCheckMimeType:()=>rp,$ZodCheckMinLength:()=>Gm,$ZodCheckMinSize:()=>Hm,$ZodCheckMultipleOf:()=>Fm,$ZodCheckNumberFormat:()=>Um,$ZodCheckOverwrite:()=>op,$ZodCheckProperty:()=>tp,$ZodCheckRegex:()=>Xm,$ZodCheckSizeEquals:()=>Zm,$ZodCheckStartsWith:()=>Qm,$ZodCheckStringFormat:()=>Mi,$ZodCheckUpperCase:()=>Jm,$ZodCodec:()=>bs,$ZodCustom:()=>pg,$ZodCustomStringFormat:()=>kp,$ZodDate:()=>Up,$ZodDefault:()=>rg,$ZodDiscriminatedUnion:()=>Zp,$ZodE164:()=>Pp,$ZodEmail:()=>cp,$ZodEmoji:()=>up,$ZodEncodeError:()=>on,$ZodEnum:()=>Kp,$ZodError:()=>fs,$ZodExactOptional:()=>eg,$ZodFile:()=>Yp,$ZodFunction:()=>dg,$ZodGUID:()=>ap,$ZodIPv4:()=>$p,$ZodIPv6:()=>Sp,$ZodISODate:()=>xp,$ZodISODateTime:()=>vp,$ZodISODuration:()=>bp,$ZodISOTime:()=>yp,$ZodIntersection:()=>Wp,$ZodJWT:()=>Np,$ZodKSUID:()=>hp,$ZodLazy:()=>mg,$ZodLiteral:()=>Jp,$ZodMAC:()=>Cp,$ZodMap:()=>qp,$ZodNaN:()=>sg,$ZodNanoID:()=>dp,$ZodNever:()=>Lp,$ZodNonOptional:()=>ng,$ZodNull:()=>Dp,$ZodNullable:()=>tg,$ZodNumber:()=>Yc,$ZodNumberFormat:()=>zp,$ZodObject:()=>OS,$ZodObjectJIT:()=>Bp,$ZodOptional:()=>tl,$ZodPipe:()=>rl,$ZodPrefault:()=>og,$ZodPreprocess:()=>cg,$ZodPromise:()=>fg,$ZodReadonly:()=>lg,$ZodRealError:()=>Sr,$ZodRecord:()=>Gp,$ZodRegistry:()=>al,$ZodSet:()=>Xp,$ZodString:()=>Hn,$ZodStringFormat:()=>Ye,$ZodSuccess:()=>ig,$ZodSymbol:()=>Op,$ZodTemplateLiteral:()=>ug,$ZodTransform:()=>Qp,$ZodTuple:()=>el,$ZodType:()=>_e,$ZodULID:()=>pp,$ZodURL:()=>lp,$ZodUUID:()=>sp,$ZodUndefined:()=>Ap,$ZodUnion:()=>ys,$ZodUnknown:()=>jp,$ZodVoid:()=>Fp,$ZodXID:()=>gp,$ZodXor:()=>Hp,$brand:()=>Xf,$constructor:()=>I,$input:()=>hg,$output:()=>gg,Doc:()=>vs,JSONSchema:()=>DC,JSONSchemaGenerator:()=>Ml,NEVER:()=>qf,TimePrecision:()=>bg,_any:()=>Ug,_array:()=>qg,_base64:()=>_l,_base64url:()=>wl,_bigint:()=>Og,_boolean:()=>zg,_catch:()=>MT,_check:()=>AC,_cidrv4:()=>Sl,_cidrv6:()=>Cl,_coercedBigint:()=>Ag,_coercedBoolean:()=>Tg,_coercedDate:()=>Wg,_coercedNumber:()=>Eg,_coercedString:()=>xg,_cuid:()=>gl,_cuid2:()=>hl,_custom:()=>Kg,_date:()=>Zg,_decode:()=>Mc,_decodeAsync:()=>Lc,_default:()=>OT,_discriminatedUnion:()=>ST,_e164:()=>El,_email:()=>cl,_emoji:()=>ml,_encode:()=>Dc,_encodeAsync:()=>jc,_endsWith:()=>Hi,_enum:()=>IT,_file:()=>Xg,_float32:()=>Ig,_float64:()=>Pg,_gt:()=>po,_gte:()=>dr,_guid:()=>Cs,_includes:()=>Vi,_int:()=>Rg,_int32:()=>Ng,_int64:()=>Dg,_intersection:()=>CT,_ipv4:()=>bl,_ipv6:()=>$l,_isoDate:()=>Sg,_isoDateTime:()=>$g,_isoDuration:()=>_g,_isoTime:()=>Cg,_jwt:()=>Rl,_ksuid:()=>yl,_lazy:()=>UT,_length:()=>Gn,_literal:()=>NT,_lowercase:()=>Fi,_lt:()=>mo,_lte:()=>zr,_mac:()=>yg,_map:()=>ET,_max:()=>zr,_maxLength:()=>Wn,_maxSize:()=>un,_mime:()=>Zi,_min:()=>dr,_minLength:()=>Oo,_minSize:()=>go,_multipleOf:()=>ln,_nan:()=>Gg,_nanoid:()=>pl,_nativeEnum:()=>PT,_negative:()=>Pl,_never:()=>Bg,_nonnegative:()=>kl,_nonoptional:()=>AT,_nonpositive:()=>Nl,_normalize:()=>Wi,_null:()=>Fg,_nullable:()=>TT,_number:()=>wg,_optional:()=>zT,_overwrite:()=>Jr,_parse:()=>Ti,_parseAsync:()=>Oi,_pipe:()=>jT,_positive:()=>Il,_promise:()=>VT,_property:()=>zl,_readonly:()=>LT,_record:()=>wT,_refine:()=>Jg,_regex:()=>Li,_safeDecode:()=>Uc,_safeDecodeAsync:()=>Bc,_safeEncode:()=>Fc,_safeEncodeAsync:()=>Vc,_safeParse:()=>Ai,_safeParseAsync:()=>Di,_set:()=>RT,_size:()=>Zn,_slugify:()=>Ki,_startsWith:()=>Bi,_string:()=>vg,_stringFormat:()=>Ji,_stringbool:()=>th,_success:()=>DT,_superRefine:()=>Yg,_symbol:()=>jg,_templateLiteral:()=>FT,_toLowerCase:()=>qi,_toUpperCase:()=>Xi,_transform:()=>kT,_trim:()=>Gi,_tuple:()=>_T,_uint32:()=>kg,_uint64:()=>Mg,_ulid:()=>vl,_undefined:()=>Lg,_union:()=>bT,_unknown:()=>Vg,_uppercase:()=>Ui,_url:()=>_s,_uuid:()=>ll,_uuidv4:()=>ul,_uuidv6:()=>dl,_uuidv7:()=>fl,_void:()=>Hg,_xid:()=>xl,_xor:()=>$T,clone:()=>lr,config:()=>bt,createStandardJSONSchemaMethod:()=>Yi,createToJSONSchemaMethod:()=>rh,decode:()=>Vz,decodeAsync:()=>Hz,describe:()=>Qg,encode:()=>Uz,encodeAsync:()=>Bz,extractDefs:()=>fn,finalize:()=>mn,flattenError:()=>ms,formatError:()=>ps,globalConfig:()=>Un,globalRegistry:()=>Bt,initializeContext:()=>dn,isValidBase64:()=>Ep,isValidBase64URL:()=>NS,isValidJWT:()=>kS,locales:()=>Ss,meta:()=>eh,parse:()=>Oc,parseAsync:()=>Ac,prettifyError:()=>cm,process:()=>Ge,regexes:()=>kr,registry:()=>sl,safeDecode:()=>Wz,safeDecodeAsync:()=>qz,safeEncode:()=>Zz,safeEncodeAsync:()=>Gz,safeParse:()=>lm,safeParseAsync:()=>um,toDotPath:()=>lS,toJSONSchema:()=>Dl,treeifyError:()=>sm,util:()=>H,version:()=>np});var nS,qf=Object.freeze({status:"aborted"});function I(e,t,o){function n(s,l){if(s._zod||Object.defineProperty(s,"_zod",{value:{def:l,constr:a,traits:new Set},enumerable:!1}),s._zod.traits.has(e))return;s._zod.traits.add(e),t(s,l);let c=a.prototype,u=Object.keys(c);for(let d=0;d<u.length;d++){let f=u[d];f in s||(s[f]=c[f].bind(s))}}let r=o?.Parent??Object;class i extends r{}Object.defineProperty(i,"name",{value:e});function a(s){var l;let c=o?.Parent?new i:this;n(c,s),(l=c._zod).deferred??(l.deferred=[]);for(let u of c._zod.deferred)u();return c}return Object.defineProperty(a,"init",{value:n}),Object.defineProperty(a,Symbol.hasInstance,{value:s=>o?.Parent&&s instanceof o.Parent?!0:s?._zod?.traits?.has(e)}),Object.defineProperty(a,"name",{value:e}),a}var Xf=Symbol("zod_brand"),Kr=class extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}},on=class extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}};(nS=globalThis).__zod_globalConfig??(nS.__zod_globalConfig={});var Un=globalThis.__zod_globalConfig;function bt(e){return e&&Object.assign(Un,e),Un}var H={};fo(H,{BIGINT_FORMAT_RANGES:()=>im,Class:()=>Jf,NUMBER_FORMAT_RANGES:()=>nm,aborted:()=>cn,allowsEval:()=>em,assert:()=>yz,assertEqual:()=>gz,assertIs:()=>vz,assertNever:()=>xz,assertNotEqual:()=>hz,assignProp:()=>an,base64ToUint8Array:()=>aS,base64urlToUint8Array:()=>Dz,cached:()=>ki,captureStackTrace:()=>Tc,cleanEnum:()=>Az,cleanRegex:()=>cs,clone:()=>lr,cloneDef:()=>$z,createTransparentProxy:()=>Rz,defineLazy:()=>ze,esc:()=>zc,escapeRegex:()=>Br,explicitlyAborted:()=>am,extend:()=>Nz,finalizeIssue:()=>ur,floatSafeRemainder:()=>Yf,getElementAtPath:()=>Sz,getEnumValues:()=>ss,getLengthableOrigin:()=>ds,getParsedType:()=>Ez,getSizableOrigin:()=>us,hexToUint8Array:()=>jz,isObject:()=>Vn,isPlainObject:()=>sn,issue:()=>zi,joinValues:()=>T,jsonStringifyReplacer:()=>Ni,merge:()=>zz,mergeDefs:()=>To,normalizeParams:()=>X,nullish:()=>nn,numKeys:()=>wz,objectClone:()=>bz,omit:()=>Pz,optionalKeys:()=>om,parsedType:()=>V,partial:()=>Tz,pick:()=>Iz,prefixIssues:()=>$r,primitiveTypes:()=>rm,promiseAllObject:()=>Cz,propertyKeyTypes:()=>ls,randomString:()=>_z,required:()=>Oz,safeExtend:()=>kz,shallowClone:()=>tm,slugify:()=>Qf,stringifyPrimitive:()=>U,uint8ArrayToBase64:()=>sS,uint8ArrayToBase64url:()=>Mz,uint8ArrayToHex:()=>Lz,unwrapMessage:()=>as});function gz(e){return e}function hz(e){return e}function vz(e){}function xz(e){throw new Error("Unexpected value in exhaustive check")}function yz(e){}function ss(e){let t=Object.values(e).filter(n=>typeof n=="number");return Object.entries(e).filter(([n,r])=>t.indexOf(+n)===-1).map(([n,r])=>r)}function T(e,t="|"){return e.map(o=>U(o)).join(t)}function Ni(e,t){return typeof t=="bigint"?t.toString():t}function ki(e){return{get value(){{let o=e();return Object.defineProperty(this,"value",{value:o}),o}throw new Error("cached value already set")}}}function nn(e){return e==null}function cs(e){let t=e.startsWith("^")?1:0,o=e.endsWith("$")?e.length-1:e.length;return e.slice(t,o)}function Yf(e,t){let o=e/t,n=Math.round(o),r=Number.EPSILON*Math.max(Math.abs(o),1);return Math.abs(o-n)<r?0:o-n}var iS=Symbol("evaluating");function ze(e,t,o){let n;Object.defineProperty(e,t,{get(){if(n!==iS)return n===void 0&&(n=iS,n=o()),n},set(r){Object.defineProperty(e,t,{value:r})},configurable:!0})}function bz(e){return Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e))}function an(e,t,o){Object.defineProperty(e,t,{value:o,writable:!0,enumerable:!0,configurable:!0})}function To(...e){let t={};for(let o of e){let n=Object.getOwnPropertyDescriptors(o);Object.assign(t,n)}return Object.defineProperties({},t)}function $z(e){return To(e._zod.def)}function Sz(e,t){return t?t.reduce((o,n)=>o?.[n],e):e}function Cz(e){let t=Object.keys(e),o=t.map(n=>e[n]);return Promise.all(o).then(n=>{let r={};for(let i=0;i<t.length;i++)r[t[i]]=n[i];return r})}function _z(e=10){let t="abcdefghijklmnopqrstuvwxyz",o="";for(let n=0;n<e;n++)o+=t[Math.floor(Math.random()*t.length)];return o}function zc(e){return JSON.stringify(e)}function Qf(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}var Tc="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function Vn(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}var em=ki(()=>{if(Un.jitless||typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{let e=Function;return new e(""),!0}catch{return!1}});function sn(e){if(Vn(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!="function")return!0;let o=t.prototype;return!(Vn(o)===!1||Object.prototype.hasOwnProperty.call(o,"isPrototypeOf")===!1)}function tm(e){return sn(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}function wz(e){let t=0;for(let o in e)Object.prototype.hasOwnProperty.call(e,o)&&t++;return t}var Ez=e=>{let t=typeof e;switch(t){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(e)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":return Array.isArray(e)?"array":e===null?"null":e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?"promise":typeof Map<"u"&&e instanceof Map?"map":typeof Set<"u"&&e instanceof Set?"set":typeof Date<"u"&&e instanceof Date?"date":typeof File<"u"&&e instanceof File?"file":"object";default:throw new Error(`Unknown data type: ${t}`)}},ls=new Set(["string","number","symbol"]),rm=new Set(["string","number","bigint","boolean","symbol","undefined"]);function Br(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function lr(e,t,o){let n=new e._zod.constr(t??e._zod.def);return(!t||o?.parent)&&(n._zod.parent=e),n}function X(e){let t=e;if(!t)return{};if(typeof t=="string")return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error=="string"?{...t,error:()=>t.error}:t}function Rz(e){let t;return new Proxy({},{get(o,n,r){return t??(t=e()),Reflect.get(t,n,r)},set(o,n,r,i){return t??(t=e()),Reflect.set(t,n,r,i)},has(o,n){return t??(t=e()),Reflect.has(t,n)},deleteProperty(o,n){return t??(t=e()),Reflect.deleteProperty(t,n)},ownKeys(o){return t??(t=e()),Reflect.ownKeys(t)},getOwnPropertyDescriptor(o,n){return t??(t=e()),Reflect.getOwnPropertyDescriptor(t,n)},defineProperty(o,n,r){return t??(t=e()),Reflect.defineProperty(t,n,r)}})}function U(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}function om(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}var nm={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},im={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function Iz(e,t){let o=e._zod.def,n=o.checks;if(n&&n.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");let i=To(e._zod.def,{get shape(){let a={};for(let s in t){if(!(s in o.shape))throw new Error(`Unrecognized key: "${s}"`);t[s]&&(a[s]=o.shape[s])}return an(this,"shape",a),a},checks:[]});return lr(e,i)}function Pz(e,t){let o=e._zod.def,n=o.checks;if(n&&n.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");let i=To(e._zod.def,{get shape(){let a={...e._zod.def.shape};for(let s in t){if(!(s in o.shape))throw new Error(`Unrecognized key: "${s}"`);t[s]&&delete a[s]}return an(this,"shape",a),a},checks:[]});return lr(e,i)}function Nz(e,t){if(!sn(t))throw new Error("Invalid input to extend: expected a plain object");let o=e._zod.def.checks;if(o&&o.length>0){let i=e._zod.def.shape;for(let a in t)if(Object.getOwnPropertyDescriptor(i,a)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let r=To(e._zod.def,{get shape(){let i={...e._zod.def.shape,...t};return an(this,"shape",i),i}});return lr(e,r)}function kz(e,t){if(!sn(t))throw new Error("Invalid input to safeExtend: expected a plain object");let o=To(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return an(this,"shape",n),n}});return lr(e,o)}function zz(e,t){if(e._zod.def.checks?.length)throw new Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");let o=To(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t._zod.def.shape};return an(this,"shape",n),n},get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]});return lr(e,o)}function Tz(e,t,o){let r=t._zod.def.checks;if(r&&r.length>0)throw new Error(".partial() cannot be used on object schemas containing refinements");let a=To(t._zod.def,{get shape(){let s=t._zod.def.shape,l={...s};if(o)for(let c in o){if(!(c in s))throw new Error(`Unrecognized key: "${c}"`);o[c]&&(l[c]=e?new e({type:"optional",innerType:s[c]}):s[c])}else for(let c in s)l[c]=e?new e({type:"optional",innerType:s[c]}):s[c];return an(this,"shape",l),l},checks:[]});return lr(t,a)}function Oz(e,t,o){let n=To(t._zod.def,{get shape(){let r=t._zod.def.shape,i={...r};if(o)for(let a in o){if(!(a in i))throw new Error(`Unrecognized key: "${a}"`);o[a]&&(i[a]=new e({type:"nonoptional",innerType:r[a]}))}else for(let a in r)i[a]=new e({type:"nonoptional",innerType:r[a]});return an(this,"shape",i),i}});return lr(t,n)}function cn(e,t=0){if(e.aborted===!0)return!0;for(let o=t;o<e.issues.length;o++)if(e.issues[o]?.continue!==!0)return!0;return!1}function am(e,t=0){if(e.aborted===!0)return!0;for(let o=t;o<e.issues.length;o++)if(e.issues[o]?.continue===!1)return!0;return!1}function $r(e,t){return t.map(o=>{var n;return(n=o).path??(n.path=[]),o.path.unshift(e),o})}function as(e){return typeof e=="string"?e:e?.message}function ur(e,t,o){let n=e.message?e.message:as(e.inst?._zod.def?.error?.(e))??as(t?.error?.(e))??as(o.customError?.(e))??as(o.localeError?.(e))??"Invalid input",{inst:r,continue:i,input:a,...s}=e;return s.path??(s.path=[]),s.message=n,t?.reportInput&&(s.input=a),s}function us(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}function ds(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function V(e){let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"nan":"number";case"object":{if(e===null)return"null";if(Array.isArray(e))return"array";let o=e;if(o&&Object.getPrototypeOf(o)!==Object.prototype&&"constructor"in o&&o.constructor)return o.constructor.name}}return t}function zi(...e){let[t,o,n]=e;return typeof t=="string"?{message:t,code:"custom",input:o,inst:n}:{...t}}function Az(e){return Object.entries(e).filter(([t,o])=>Number.isNaN(Number.parseInt(t,10))).map(t=>t[1])}function aS(e){let t=atob(e),o=new Uint8Array(t.length);for(let n=0;n<t.length;n++)o[n]=t.charCodeAt(n);return o}function sS(e){let t="";for(let o=0;o<e.length;o++)t+=String.fromCharCode(e[o]);return btoa(t)}function Dz(e){let t=e.replace(/-/g,"+").replace(/_/g,"/"),o="=".repeat((4-t.length%4)%4);return aS(t+o)}function Mz(e){return sS(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function jz(e){let t=e.replace(/^0x/,"");if(t.length%2!==0)throw new Error("Invalid hex string length");let o=new Uint8Array(t.length/2);for(let n=0;n<t.length;n+=2)o[n/2]=Number.parseInt(t.slice(n,n+2),16);return o}function Lz(e){return Array.from(e).map(t=>t.toString(16).padStart(2,"0")).join("")}var Jf=class{constructor(...t){}};var cS=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,Ni,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},fs=I("$ZodError",cS),Sr=I("$ZodError",cS,{Parent:Error});function ms(e,t=o=>o.message){let o={},n=[];for(let r of e.issues)r.path.length>0?(o[r.path[0]]=o[r.path[0]]||[],o[r.path[0]].push(t(r))):n.push(t(r));return{formErrors:n,fieldErrors:o}}function ps(e,t=o=>o.message){let o={_errors:[]},n=(r,i=[])=>{for(let a of r.issues)if(a.code==="invalid_union"&&a.errors.length)a.errors.map(s=>n({issues:s},[...i,...a.path]));else if(a.code==="invalid_key")n({issues:a.issues},[...i,...a.path]);else if(a.code==="invalid_element")n({issues:a.issues},[...i,...a.path]);else{let s=[...i,...a.path];if(s.length===0)o._errors.push(t(a));else{let l=o,c=0;for(;c<s.length;){let u=s[c];c===s.length-1?(l[u]=l[u]||{_errors:[]},l[u]._errors.push(t(a))):l[u]=l[u]||{_errors:[]},l=l[u],c++}}}};return n(e),o}function sm(e,t=o=>o.message){let o={errors:[]},n=(r,i=[])=>{var a,s;for(let l of r.issues)if(l.code==="invalid_union"&&l.errors.length)l.errors.map(c=>n({issues:c},[...i,...l.path]));else if(l.code==="invalid_key")n({issues:l.issues},[...i,...l.path]);else if(l.code==="invalid_element")n({issues:l.issues},[...i,...l.path]);else{let c=[...i,...l.path];if(c.length===0){o.errors.push(t(l));continue}let u=o,d=0;for(;d<c.length;){let f=c[d],m=d===c.length-1;typeof f=="string"?(u.properties??(u.properties={}),(a=u.properties)[f]??(a[f]={errors:[]}),u=u.properties[f]):(u.items??(u.items=[]),(s=u.items)[f]??(s[f]={errors:[]}),u=u.items[f]),m&&u.errors.push(t(l)),d++}}};return n(e),o}function lS(e){let t=[],o=e.map(n=>typeof n=="object"?n.key:n);for(let n of o)typeof n=="number"?t.push(`[${n}]`):typeof n=="symbol"?t.push(`[${JSON.stringify(String(n))}]`):/[^\w$]/.test(n)?t.push(`[${JSON.stringify(n)}]`):(t.length&&t.push("."),t.push(n));return t.join("")}function cm(e){let t=[],o=[...e.issues].sort((n,r)=>(n.path??[]).length-(r.path??[]).length);for(let n of o)t.push(`\u2716 ${n.message}`),n.path?.length&&t.push(` \u2192 at ${lS(n.path)}`);return t.join(`
2
+ `)}var Ti=e=>(t,o,n,r)=>{let i=n?{...n,async:!1}:{async:!1},a=t._zod.run({value:o,issues:[]},i);if(a instanceof Promise)throw new Kr;if(a.issues.length){let s=new(r?.Err??e)(a.issues.map(l=>ur(l,i,bt())));throw Tc(s,r?.callee),s}return a.value},Oc=Ti(Sr),Oi=e=>async(t,o,n,r)=>{let i=n?{...n,async:!0}:{async:!0},a=t._zod.run({value:o,issues:[]},i);if(a instanceof Promise&&(a=await a),a.issues.length){let s=new(r?.Err??e)(a.issues.map(l=>ur(l,i,bt())));throw Tc(s,r?.callee),s}return a.value},Ac=Oi(Sr),Ai=e=>(t,o,n)=>{let r=n?{...n,async:!1}:{async:!1},i=t._zod.run({value:o,issues:[]},r);if(i instanceof Promise)throw new Kr;return i.issues.length?{success:!1,error:new(e??fs)(i.issues.map(a=>ur(a,r,bt())))}:{success:!0,data:i.value}},lm=Ai(Sr),Di=e=>async(t,o,n)=>{let r=n?{...n,async:!0}:{async:!0},i=t._zod.run({value:o,issues:[]},r);return i instanceof Promise&&(i=await i),i.issues.length?{success:!1,error:new e(i.issues.map(a=>ur(a,r,bt())))}:{success:!0,data:i.value}},um=Di(Sr),Dc=e=>(t,o,n)=>{let r=n?{...n,direction:"backward"}:{direction:"backward"};return Ti(e)(t,o,r)},Uz=Dc(Sr),Mc=e=>(t,o,n)=>Ti(e)(t,o,n),Vz=Mc(Sr),jc=e=>async(t,o,n)=>{let r=n?{...n,direction:"backward"}:{direction:"backward"};return Oi(e)(t,o,r)},Bz=jc(Sr),Lc=e=>async(t,o,n)=>Oi(e)(t,o,n),Hz=Lc(Sr),Fc=e=>(t,o,n)=>{let r=n?{...n,direction:"backward"}:{direction:"backward"};return Ai(e)(t,o,r)},Zz=Fc(Sr),Uc=e=>(t,o,n)=>Ai(e)(t,o,n),Wz=Uc(Sr),Vc=e=>async(t,o,n)=>{let r=n?{...n,direction:"backward"}:{direction:"backward"};return Di(e)(t,o,r)},Gz=Vc(Sr),Bc=e=>async(t,o,n)=>Di(e)(t,o,n),qz=Bc(Sr);var kr={};fo(kr,{base64:()=>Em,base64url:()=>Hc,bigint:()=>Tm,boolean:()=>Am,browserEmail:()=>r1,cidrv4:()=>_m,cidrv6:()=>wm,cuid:()=>dm,cuid2:()=>fm,date:()=>Pm,datetime:()=>km,domain:()=>i1,duration:()=>vm,e164:()=>Im,email:()=>ym,emoji:()=>bm,extendedDuration:()=>Xz,guid:()=>xm,hex:()=>a1,hostname:()=>n1,html5Email:()=>Qz,httpProtocol:()=>Rm,idnEmail:()=>t1,integer:()=>Om,ipv4:()=>$m,ipv6:()=>Sm,ksuid:()=>gm,lowercase:()=>jm,mac:()=>Cm,md5_base64:()=>c1,md5_base64url:()=>l1,md5_hex:()=>s1,nanoid:()=>hm,null:()=>Dm,number:()=>Zc,rfc5322Email:()=>e1,sha1_base64:()=>d1,sha1_base64url:()=>f1,sha1_hex:()=>u1,sha256_base64:()=>p1,sha256_base64url:()=>g1,sha256_hex:()=>m1,sha384_base64:()=>v1,sha384_base64url:()=>x1,sha384_hex:()=>h1,sha512_base64:()=>b1,sha512_base64url:()=>$1,sha512_hex:()=>y1,string:()=>zm,time:()=>Nm,ulid:()=>mm,undefined:()=>Mm,unicodeEmail:()=>uS,uppercase:()=>Lm,uuid:()=>Bn,uuid4:()=>Kz,uuid6:()=>Jz,uuid7:()=>Yz,xid:()=>pm});var dm=/^[cC][0-9a-z]{6,}$/,fm=/^[0-9a-z]+$/,mm=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,pm=/^[0-9a-vA-V]{20}$/,gm=/^[A-Za-z0-9]{27}$/,hm=/^[a-zA-Z0-9_-]{21}$/,vm=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,Xz=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,xm=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,Bn=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,Kz=Bn(4),Jz=Bn(6),Yz=Bn(7),ym=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,Qz=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,e1=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,uS=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,t1=uS,r1=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,o1="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function bm(){return new RegExp(o1,"u")}var $m=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Sm=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,Cm=e=>{let t=Br(e??":");return new RegExp(`^(?:[0-9A-F]{2}${t}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${t}){5}[0-9a-f]{2}$`)},_m=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,wm=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Em=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,Hc=/^[A-Za-z0-9_-]*$/,n1=/^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/,i1=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,Rm=/^https?$/,Im=/^\+[1-9]\d{6,14}$/,dS="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",Pm=new RegExp(`^${dS}$`);function fS(e){let t="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function Nm(e){return new RegExp(`^${fS(e)}$`)}function km(e){let t=fS({precision:e.precision}),o=["Z"];e.local&&o.push(""),e.offset&&o.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let n=`${t}(?:${o.join("|")})`;return new RegExp(`^${dS}T(?:${n})$`)}var zm=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)},Tm=/^-?\d+n?$/,Om=/^-?\d+$/,Zc=/^-?\d+(?:\.\d+)?$/,Am=/^(?:true|false)$/i,Dm=/^null$/i;var Mm=/^undefined$/i;var jm=/^[^A-Z]*$/,Lm=/^[^a-z]*$/,a1=/^[0-9a-fA-F]*$/;function gs(e,t){return new RegExp(`^[A-Za-z0-9+/]{${e}}${t}$`)}function hs(e){return new RegExp(`^[A-Za-z0-9_-]{${e}}$`)}var s1=/^[0-9a-fA-F]{32}$/,c1=gs(22,"=="),l1=hs(22),u1=/^[0-9a-fA-F]{40}$/,d1=gs(27,"="),f1=hs(27),m1=/^[0-9a-fA-F]{64}$/,p1=gs(43,"="),g1=hs(43),h1=/^[0-9a-fA-F]{96}$/,v1=gs(64,""),x1=hs(64),y1=/^[0-9a-fA-F]{128}$/,b1=gs(86,"=="),$1=hs(86);var ot=I("$ZodCheck",(e,t)=>{var o;e._zod??(e._zod={}),e._zod.def=t,(o=e._zod).onattach??(o.onattach=[])}),pS={number:"number",bigint:"bigint",object:"date"},Wc=I("$ZodCheckLessThan",(e,t)=>{ot.init(e,t);let o=pS[typeof t.value];e._zod.onattach.push(n=>{let r=n._zod.bag,i=(t.inclusive?r.maximum:r.exclusiveMaximum)??Number.POSITIVE_INFINITY;t.value<i&&(t.inclusive?r.maximum=t.value:r.exclusiveMaximum=t.value)}),e._zod.check=n=>{(t.inclusive?n.value<=t.value:n.value<t.value)||n.issues.push({origin:o,code:"too_big",maximum:typeof t.value=="object"?t.value.getTime():t.value,input:n.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),Gc=I("$ZodCheckGreaterThan",(e,t)=>{ot.init(e,t);let o=pS[typeof t.value];e._zod.onattach.push(n=>{let r=n._zod.bag,i=(t.inclusive?r.minimum:r.exclusiveMinimum)??Number.NEGATIVE_INFINITY;t.value>i&&(t.inclusive?r.minimum=t.value:r.exclusiveMinimum=t.value)}),e._zod.check=n=>{(t.inclusive?n.value>=t.value:n.value>t.value)||n.issues.push({origin:o,code:"too_small",minimum:typeof t.value=="object"?t.value.getTime():t.value,input:n.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),Fm=I("$ZodCheckMultipleOf",(e,t)=>{ot.init(e,t),e._zod.onattach.push(o=>{var n;(n=o._zod.bag).multipleOf??(n.multipleOf=t.value)}),e._zod.check=o=>{if(typeof o.value!=typeof t.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof o.value=="bigint"?o.value%t.value===BigInt(0):Yf(o.value,t.value)===0)||o.issues.push({origin:typeof o.value,code:"not_multiple_of",divisor:t.value,input:o.value,inst:e,continue:!t.abort})}}),Um=I("$ZodCheckNumberFormat",(e,t)=>{ot.init(e,t),t.format=t.format||"float64";let o=t.format?.includes("int"),n=o?"int":"number",[r,i]=nm[t.format];e._zod.onattach.push(a=>{let s=a._zod.bag;s.format=t.format,s.minimum=r,s.maximum=i,o&&(s.pattern=Om)}),e._zod.check=a=>{let s=a.value;if(o){if(!Number.isInteger(s)){a.issues.push({expected:n,format:t.format,code:"invalid_type",continue:!1,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>0?a.issues.push({input:s,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:n,inclusive:!0,continue:!t.abort}):a.issues.push({input:s,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:n,inclusive:!0,continue:!t.abort});return}}s<r&&a.issues.push({origin:"number",input:s,code:"too_small",minimum:r,inclusive:!0,inst:e,continue:!t.abort}),s>i&&a.issues.push({origin:"number",input:s,code:"too_big",maximum:i,inclusive:!0,inst:e,continue:!t.abort})}}),Vm=I("$ZodCheckBigIntFormat",(e,t)=>{ot.init(e,t);let[o,n]=im[t.format];e._zod.onattach.push(r=>{let i=r._zod.bag;i.format=t.format,i.minimum=o,i.maximum=n}),e._zod.check=r=>{let i=r.value;i<o&&r.issues.push({origin:"bigint",input:i,code:"too_small",minimum:o,inclusive:!0,inst:e,continue:!t.abort}),i>n&&r.issues.push({origin:"bigint",input:i,code:"too_big",maximum:n,inclusive:!0,inst:e,continue:!t.abort})}}),Bm=I("$ZodCheckMaxSize",(e,t)=>{var o;ot.init(e,t),(o=e._zod.def).when??(o.when=n=>{let r=n.value;return!nn(r)&&r.size!==void 0}),e._zod.onattach.push(n=>{let r=n._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<r&&(n._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{let r=n.value;r.size<=t.maximum||n.issues.push({origin:us(r),code:"too_big",maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Hm=I("$ZodCheckMinSize",(e,t)=>{var o;ot.init(e,t),(o=e._zod.def).when??(o.when=n=>{let r=n.value;return!nn(r)&&r.size!==void 0}),e._zod.onattach.push(n=>{let r=n._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>r&&(n._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{let r=n.value;r.size>=t.minimum||n.issues.push({origin:us(r),code:"too_small",minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Zm=I("$ZodCheckSizeEquals",(e,t)=>{var o;ot.init(e,t),(o=e._zod.def).when??(o.when=n=>{let r=n.value;return!nn(r)&&r.size!==void 0}),e._zod.onattach.push(n=>{let r=n._zod.bag;r.minimum=t.size,r.maximum=t.size,r.size=t.size}),e._zod.check=n=>{let r=n.value,i=r.size;if(i===t.size)return;let a=i>t.size;n.issues.push({origin:us(r),...a?{code:"too_big",maximum:t.size}:{code:"too_small",minimum:t.size},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),Wm=I("$ZodCheckMaxLength",(e,t)=>{var o;ot.init(e,t),(o=e._zod.def).when??(o.when=n=>{let r=n.value;return!nn(r)&&r.length!==void 0}),e._zod.onattach.push(n=>{let r=n._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<r&&(n._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{let r=n.value;if(r.length<=t.maximum)return;let a=ds(r);n.issues.push({origin:a,code:"too_big",maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Gm=I("$ZodCheckMinLength",(e,t)=>{var o;ot.init(e,t),(o=e._zod.def).when??(o.when=n=>{let r=n.value;return!nn(r)&&r.length!==void 0}),e._zod.onattach.push(n=>{let r=n._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>r&&(n._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{let r=n.value;if(r.length>=t.minimum)return;let a=ds(r);n.issues.push({origin:a,code:"too_small",minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),qm=I("$ZodCheckLengthEquals",(e,t)=>{var o;ot.init(e,t),(o=e._zod.def).when??(o.when=n=>{let r=n.value;return!nn(r)&&r.length!==void 0}),e._zod.onattach.push(n=>{let r=n._zod.bag;r.minimum=t.length,r.maximum=t.length,r.length=t.length}),e._zod.check=n=>{let r=n.value,i=r.length;if(i===t.length)return;let a=ds(r),s=i>t.length;n.issues.push({origin:a,...s?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),Mi=I("$ZodCheckStringFormat",(e,t)=>{var o,n;ot.init(e,t),e._zod.onattach.push(r=>{let i=r._zod.bag;i.format=t.format,t.pattern&&(i.patterns??(i.patterns=new Set),i.patterns.add(t.pattern))}),t.pattern?(o=e._zod).check??(o.check=r=>{t.pattern.lastIndex=0,!t.pattern.test(r.value)&&r.issues.push({origin:"string",code:"invalid_format",format:t.format,input:r.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(n=e._zod).check??(n.check=()=>{})}),Xm=I("$ZodCheckRegex",(e,t)=>{Mi.init(e,t),e._zod.check=o=>{t.pattern.lastIndex=0,!t.pattern.test(o.value)&&o.issues.push({origin:"string",code:"invalid_format",format:"regex",input:o.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),Km=I("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=jm),Mi.init(e,t)}),Jm=I("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=Lm),Mi.init(e,t)}),Ym=I("$ZodCheckIncludes",(e,t)=>{ot.init(e,t);let o=Br(t.includes),n=new RegExp(typeof t.position=="number"?`^.{${t.position}}${o}`:o);t.pattern=n,e._zod.onattach.push(r=>{let i=r._zod.bag;i.patterns??(i.patterns=new Set),i.patterns.add(n)}),e._zod.check=r=>{r.value.includes(t.includes,t.position)||r.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:r.value,inst:e,continue:!t.abort})}}),Qm=I("$ZodCheckStartsWith",(e,t)=>{ot.init(e,t);let o=new RegExp(`^${Br(t.prefix)}.*`);t.pattern??(t.pattern=o),e._zod.onattach.push(n=>{let r=n._zod.bag;r.patterns??(r.patterns=new Set),r.patterns.add(o)}),e._zod.check=n=>{n.value.startsWith(t.prefix)||n.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:n.value,inst:e,continue:!t.abort})}}),ep=I("$ZodCheckEndsWith",(e,t)=>{ot.init(e,t);let o=new RegExp(`.*${Br(t.suffix)}$`);t.pattern??(t.pattern=o),e._zod.onattach.push(n=>{let r=n._zod.bag;r.patterns??(r.patterns=new Set),r.patterns.add(o)}),e._zod.check=n=>{n.value.endsWith(t.suffix)||n.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:n.value,inst:e,continue:!t.abort})}});function mS(e,t,o){e.issues.length&&t.issues.push(...$r(o,e.issues))}var tp=I("$ZodCheckProperty",(e,t)=>{ot.init(e,t),e._zod.check=o=>{let n=t.schema._zod.run({value:o.value[t.property],issues:[]},{});if(n instanceof Promise)return n.then(r=>mS(r,o,t.property));mS(n,o,t.property)}}),rp=I("$ZodCheckMimeType",(e,t)=>{ot.init(e,t);let o=new Set(t.mime);e._zod.onattach.push(n=>{n._zod.bag.mime=t.mime}),e._zod.check=n=>{o.has(n.value.type)||n.issues.push({code:"invalid_value",values:t.mime,input:n.value.type,inst:e,continue:!t.abort})}}),op=I("$ZodCheckOverwrite",(e,t)=>{ot.init(e,t),e._zod.check=o=>{o.value=t.tx(o.value)}});var vs=class{constructor(t=[]){this.content=[],this.indent=0,this&&(this.args=t)}indented(t){this.indent+=1,t(this),this.indent-=1}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}let n=t.split(`
3
+ `).filter(a=>a),r=Math.min(...n.map(a=>a.length-a.trimStart().length)),i=n.map(a=>a.slice(r)).map(a=>" ".repeat(this.indent*2)+a);for(let a of i)this.content.push(a)}compile(){let t=Function,o=this?.args,r=[...(this?.content??[""]).map(i=>` ${i}`)];return new t(...o,r.join(`
4
+ `))}};var np={major:4,minor:4,patch:3};var _e=I("$ZodType",(e,t)=>{var o;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=np;let n=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&n.unshift(e);for(let r of n)for(let i of r._zod.onattach)i(e);if(n.length===0)(o=e._zod).deferred??(o.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let r=(a,s,l)=>{let c=cn(a),u;for(let d of s){if(d._zod.def.when){if(am(a)||!d._zod.def.when(a))continue}else if(c)continue;let f=a.issues.length,m=d._zod.check(a);if(m instanceof Promise&&l?.async===!1)throw new Kr;if(u||m instanceof Promise)u=(u??Promise.resolve()).then(async()=>{await m,a.issues.length!==f&&(c||(c=cn(a,f)))});else{if(a.issues.length===f)continue;c||(c=cn(a,f))}}return u?u.then(()=>a):a},i=(a,s,l)=>{if(cn(a))return a.aborted=!0,a;let c=r(s,n,l);if(c instanceof Promise){if(l.async===!1)throw new Kr;return c.then(u=>e._zod.parse(u,l))}return e._zod.parse(c,l)};e._zod.run=(a,s)=>{if(s.skipChecks)return e._zod.parse(a,s);if(s.direction==="backward"){let c=e._zod.parse({value:a.value,issues:[]},{...s,skipChecks:!0});return c instanceof Promise?c.then(u=>i(u,a,s)):i(c,a,s)}let l=e._zod.parse(a,s);if(l instanceof Promise){if(s.async===!1)throw new Kr;return l.then(c=>r(c,n,s))}return r(l,n,s)}}ze(e,"~standard",()=>({validate:r=>{try{let i=lm(e,r);return i.success?{value:i.data}:{issues:i.error?.issues}}catch{return um(e,r).then(a=>a.success?{value:a.data}:{issues:a.error?.issues})}},vendor:"zod",version:1}))}),Hn=I("$ZodString",(e,t)=>{_e.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??zm(e._zod.bag),e._zod.parse=(o,n)=>{if(t.coerce)try{o.value=String(o.value)}catch{}return typeof o.value=="string"||o.issues.push({expected:"string",code:"invalid_type",input:o.value,inst:e}),o}}),Ye=I("$ZodStringFormat",(e,t)=>{Mi.init(e,t),Hn.init(e,t)}),ap=I("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=xm),Ye.init(e,t)}),sp=I("$ZodUUID",(e,t)=>{if(t.version){let n={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(n===void 0)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=Bn(n))}else t.pattern??(t.pattern=Bn());Ye.init(e,t)}),cp=I("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=ym),Ye.init(e,t)}),lp=I("$ZodURL",(e,t)=>{Ye.init(e,t),e._zod.check=o=>{try{let n=o.value.trim();if(!t.normalize&&t.protocol?.source===Rm.source&&!/^https?:\/\//i.test(n)){o.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:o.value,inst:e,continue:!t.abort});return}let r=new URL(n);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(r.hostname)||o.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:o.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(r.protocol.endsWith(":")?r.protocol.slice(0,-1):r.protocol)||o.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:o.value,inst:e,continue:!t.abort})),t.normalize?o.value=r.href:o.value=n;return}catch{o.issues.push({code:"invalid_format",format:"url",input:o.value,inst:e,continue:!t.abort})}}}),up=I("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=bm()),Ye.init(e,t)}),dp=I("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=hm),Ye.init(e,t)}),fp=I("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=dm),Ye.init(e,t)}),mp=I("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=fm),Ye.init(e,t)}),pp=I("$ZodULID",(e,t)=>{t.pattern??(t.pattern=mm),Ye.init(e,t)}),gp=I("$ZodXID",(e,t)=>{t.pattern??(t.pattern=pm),Ye.init(e,t)}),hp=I("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=gm),Ye.init(e,t)}),vp=I("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=km(t)),Ye.init(e,t)}),xp=I("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=Pm),Ye.init(e,t)}),yp=I("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=Nm(t)),Ye.init(e,t)}),bp=I("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=vm),Ye.init(e,t)}),$p=I("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=$m),Ye.init(e,t),e._zod.bag.format="ipv4"}),Sp=I("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=Sm),Ye.init(e,t),e._zod.bag.format="ipv6",e._zod.check=o=>{try{new URL(`http://[${o.value}]`)}catch{o.issues.push({code:"invalid_format",format:"ipv6",input:o.value,inst:e,continue:!t.abort})}}}),Cp=I("$ZodMAC",(e,t)=>{t.pattern??(t.pattern=Cm(t.delimiter)),Ye.init(e,t),e._zod.bag.format="mac"}),_p=I("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=_m),Ye.init(e,t)}),wp=I("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=wm),Ye.init(e,t),e._zod.check=o=>{let n=o.value.split("/");try{if(n.length!==2)throw new Error;let[r,i]=n;if(!i)throw new Error;let a=Number(i);if(`${a}`!==i)throw new Error;if(a<0||a>128)throw new Error;new URL(`http://[${r}]`)}catch{o.issues.push({code:"invalid_format",format:"cidrv6",input:o.value,inst:e,continue:!t.abort})}}});function Ep(e){if(e==="")return!0;if(/\s/.test(e)||e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}var Rp=I("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=Em),Ye.init(e,t),e._zod.bag.contentEncoding="base64",e._zod.check=o=>{Ep(o.value)||o.issues.push({code:"invalid_format",format:"base64",input:o.value,inst:e,continue:!t.abort})}});function NS(e){if(!Hc.test(e))return!1;let t=e.replace(/[-_]/g,n=>n==="-"?"+":"/"),o=t.padEnd(Math.ceil(t.length/4)*4,"=");return Ep(o)}var Ip=I("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=Hc),Ye.init(e,t),e._zod.bag.contentEncoding="base64url",e._zod.check=o=>{NS(o.value)||o.issues.push({code:"invalid_format",format:"base64url",input:o.value,inst:e,continue:!t.abort})}}),Pp=I("$ZodE164",(e,t)=>{t.pattern??(t.pattern=Im),Ye.init(e,t)});function kS(e,t=null){try{let o=e.split(".");if(o.length!==3)return!1;let[n]=o;if(!n)return!1;let r=JSON.parse(atob(n));return!("typ"in r&&r?.typ!=="JWT"||!r.alg||t&&(!("alg"in r)||r.alg!==t))}catch{return!1}}var Np=I("$ZodJWT",(e,t)=>{Ye.init(e,t),e._zod.check=o=>{kS(o.value,t.alg)||o.issues.push({code:"invalid_format",format:"jwt",input:o.value,inst:e,continue:!t.abort})}}),kp=I("$ZodCustomStringFormat",(e,t)=>{Ye.init(e,t),e._zod.check=o=>{t.fn(o.value)||o.issues.push({code:"invalid_format",format:t.format,input:o.value,inst:e,continue:!t.abort})}}),Yc=I("$ZodNumber",(e,t)=>{_e.init(e,t),e._zod.pattern=e._zod.bag.pattern??Zc,e._zod.parse=(o,n)=>{if(t.coerce)try{o.value=Number(o.value)}catch{}let r=o.value;if(typeof r=="number"&&!Number.isNaN(r)&&Number.isFinite(r))return o;let i=typeof r=="number"?Number.isNaN(r)?"NaN":Number.isFinite(r)?void 0:"Infinity":void 0;return o.issues.push({expected:"number",code:"invalid_type",input:r,inst:e,...i?{received:i}:{}}),o}}),zp=I("$ZodNumberFormat",(e,t)=>{Um.init(e,t),Yc.init(e,t)}),xs=I("$ZodBoolean",(e,t)=>{_e.init(e,t),e._zod.pattern=Am,e._zod.parse=(o,n)=>{if(t.coerce)try{o.value=!!o.value}catch{}let r=o.value;return typeof r=="boolean"||o.issues.push({expected:"boolean",code:"invalid_type",input:r,inst:e}),o}}),Qc=I("$ZodBigInt",(e,t)=>{_e.init(e,t),e._zod.pattern=Tm,e._zod.parse=(o,n)=>{if(t.coerce)try{o.value=BigInt(o.value)}catch{}return typeof o.value=="bigint"||o.issues.push({expected:"bigint",code:"invalid_type",input:o.value,inst:e}),o}}),Tp=I("$ZodBigIntFormat",(e,t)=>{Vm.init(e,t),Qc.init(e,t)}),Op=I("$ZodSymbol",(e,t)=>{_e.init(e,t),e._zod.parse=(o,n)=>{let r=o.value;return typeof r=="symbol"||o.issues.push({expected:"symbol",code:"invalid_type",input:r,inst:e}),o}}),Ap=I("$ZodUndefined",(e,t)=>{_e.init(e,t),e._zod.pattern=Mm,e._zod.values=new Set([void 0]),e._zod.parse=(o,n)=>{let r=o.value;return typeof r>"u"||o.issues.push({expected:"undefined",code:"invalid_type",input:r,inst:e}),o}}),Dp=I("$ZodNull",(e,t)=>{_e.init(e,t),e._zod.pattern=Dm,e._zod.values=new Set([null]),e._zod.parse=(o,n)=>{let r=o.value;return r===null||o.issues.push({expected:"null",code:"invalid_type",input:r,inst:e}),o}}),Mp=I("$ZodAny",(e,t)=>{_e.init(e,t),e._zod.parse=o=>o}),jp=I("$ZodUnknown",(e,t)=>{_e.init(e,t),e._zod.parse=o=>o}),Lp=I("$ZodNever",(e,t)=>{_e.init(e,t),e._zod.parse=(o,n)=>(o.issues.push({expected:"never",code:"invalid_type",input:o.value,inst:e}),o)}),Fp=I("$ZodVoid",(e,t)=>{_e.init(e,t),e._zod.parse=(o,n)=>{let r=o.value;return typeof r>"u"||o.issues.push({expected:"void",code:"invalid_type",input:r,inst:e}),o}}),Up=I("$ZodDate",(e,t)=>{_e.init(e,t),e._zod.parse=(o,n)=>{if(t.coerce)try{o.value=new Date(o.value)}catch{}let r=o.value,i=r instanceof Date;return i&&!Number.isNaN(r.getTime())||o.issues.push({expected:"date",code:"invalid_type",input:r,...i?{received:"Invalid Date"}:{},inst:e}),o}});function hS(e,t,o){e.issues.length&&t.issues.push(...$r(o,e.issues)),t.value[o]=e.value}var Vp=I("$ZodArray",(e,t)=>{_e.init(e,t),e._zod.parse=(o,n)=>{let r=o.value;if(!Array.isArray(r))return o.issues.push({expected:"array",code:"invalid_type",input:r,inst:e}),o;o.value=Array(r.length);let i=[];for(let a=0;a<r.length;a++){let s=r[a],l=t.element._zod.run({value:s,issues:[]},n);l instanceof Promise?i.push(l.then(c=>hS(c,o,a))):hS(l,o,a)}return i.length?Promise.all(i).then(()=>o):o}});function Jc(e,t,o,n,r,i){let a=o in n;if(e.issues.length){if(r&&i&&!a)return;t.issues.push(...$r(o,e.issues))}if(!a&&!r){e.issues.length||t.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[o]});return}e.value===void 0?a&&(t.value[o]=void 0):t.value[o]=e.value}function zS(e){let t=Object.keys(e.shape);for(let n of t)if(!e.shape?.[n]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${n}": expected a Zod schema`);let o=om(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(o)}}function TS(e,t,o,n,r,i){let a=[],s=r.keySet,l=r.catchall._zod,c=l.def.type,u=l.optin==="optional",d=l.optout==="optional";for(let f in t){if(f==="__proto__"||s.has(f))continue;if(c==="never"){a.push(f);continue}let m=l.run({value:t[f],issues:[]},n);m instanceof Promise?e.push(m.then(p=>Jc(p,o,f,t,u,d))):Jc(m,o,f,t,u,d)}return a.length&&o.issues.push({code:"unrecognized_keys",keys:a,input:t,inst:i}),e.length?Promise.all(e).then(()=>o):o}var OS=I("$ZodObject",(e,t)=>{if(_e.init(e,t),!Object.getOwnPropertyDescriptor(t,"shape")?.get){let s=t.shape;Object.defineProperty(t,"shape",{get:()=>{let l={...s};return Object.defineProperty(t,"shape",{value:l}),l}})}let n=ki(()=>zS(t));ze(e._zod,"propValues",()=>{let s=t.shape,l={};for(let c in s){let u=s[c]._zod;if(u.values){l[c]??(l[c]=new Set);for(let d of u.values)l[c].add(d)}}return l});let r=Vn,i=t.catchall,a;e._zod.parse=(s,l)=>{a??(a=n.value);let c=s.value;if(!r(c))return s.issues.push({expected:"object",code:"invalid_type",input:c,inst:e}),s;s.value={};let u=[],d=a.shape;for(let f of a.keys){let m=d[f],p=m._zod.optin==="optional",g=m._zod.optout==="optional",x=m._zod.run({value:c[f],issues:[]},l);x instanceof Promise?u.push(x.then(h=>Jc(h,s,f,c,p,g))):Jc(x,s,f,c,p,g)}return i?TS(u,c,s,l,n.value,e):u.length?Promise.all(u).then(()=>s):s}}),Bp=I("$ZodObjectJIT",(e,t)=>{OS.init(e,t);let o=e._zod.parse,n=ki(()=>zS(t)),r=f=>{let m=new vs(["shape","payload","ctx"]),p=n.value,g=v=>{let $=zc(v);return`shape[${$}]._zod.run({ value: input[${$}], issues: [] }, ctx)`};m.write("const input = payload.value;");let x=Object.create(null),h=0;for(let v of p.keys)x[v]=`key_${h++}`;m.write("const newResult = {};");for(let v of p.keys){let $=x[v],S=zc(v),C=f[v],w=C?._zod?.optin==="optional",R=C?._zod?.optout==="optional";m.write(`const ${$} = ${g(v)};`),w&&R?m.write(`
5
+ if (${$}.issues.length) {
6
+ if (${S} in input) {
7
+ payload.issues = payload.issues.concat(${$}.issues.map(iss => ({
8
+ ...iss,
9
+ path: iss.path ? [${S}, ...iss.path] : [${S}]
10
+ })));
11
+ }
12
+ }
13
+
14
+ if (${$}.value === undefined) {
15
+ if (${S} in input) {
16
+ newResult[${S}] = undefined;
17
+ }
18
+ } else {
19
+ newResult[${S}] = ${$}.value;
20
+ }
21
+
22
+ `):w?m.write(`
23
+ if (${$}.issues.length) {
24
+ payload.issues = payload.issues.concat(${$}.issues.map(iss => ({
25
+ ...iss,
26
+ path: iss.path ? [${S}, ...iss.path] : [${S}]
27
+ })));
28
+ }
29
+
30
+ if (${$}.value === undefined) {
31
+ if (${S} in input) {
32
+ newResult[${S}] = undefined;
33
+ }
34
+ } else {
35
+ newResult[${S}] = ${$}.value;
36
+ }
37
+
38
+ `):m.write(`
39
+ const ${$}_present = ${S} in input;
40
+ if (${$}.issues.length) {
41
+ payload.issues = payload.issues.concat(${$}.issues.map(iss => ({
42
+ ...iss,
43
+ path: iss.path ? [${S}, ...iss.path] : [${S}]
44
+ })));
45
+ }
46
+ if (!${$}_present && !${$}.issues.length) {
47
+ payload.issues.push({
48
+ code: "invalid_type",
49
+ expected: "nonoptional",
50
+ input: undefined,
51
+ path: [${S}]
52
+ });
53
+ }
54
+
55
+ if (${$}_present) {
56
+ if (${$}.value === undefined) {
57
+ newResult[${S}] = undefined;
58
+ } else {
59
+ newResult[${S}] = ${$}.value;
60
+ }
61
+ }
62
+
63
+ `)}m.write("payload.value = newResult;"),m.write("return payload;");let b=m.compile();return(v,$)=>b(f,v,$)},i,a=Vn,s=!Un.jitless,c=s&&em.value,u=t.catchall,d;e._zod.parse=(f,m)=>{d??(d=n.value);let p=f.value;return a(p)?s&&c&&m?.async===!1&&m.jitless!==!0?(i||(i=r(t.shape)),f=i(f,m),u?TS([],p,f,m,d,e):f):o(f,m):(f.issues.push({expected:"object",code:"invalid_type",input:p,inst:e}),f)}});function vS(e,t,o,n){for(let i of e)if(i.issues.length===0)return t.value=i.value,t;let r=e.filter(i=>!cn(i));return r.length===1?(t.value=r[0].value,r[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:o,errors:e.map(i=>i.issues.map(a=>ur(a,n,bt())))}),t)}var ys=I("$ZodUnion",(e,t)=>{_e.init(e,t),ze(e._zod,"optin",()=>t.options.some(n=>n._zod.optin==="optional")?"optional":void 0),ze(e._zod,"optout",()=>t.options.some(n=>n._zod.optout==="optional")?"optional":void 0),ze(e._zod,"values",()=>{if(t.options.every(n=>n._zod.values))return new Set(t.options.flatMap(n=>Array.from(n._zod.values)))}),ze(e._zod,"pattern",()=>{if(t.options.every(n=>n._zod.pattern)){let n=t.options.map(r=>r._zod.pattern);return new RegExp(`^(${n.map(r=>cs(r.source)).join("|")})$`)}});let o=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(n,r)=>{if(o)return o(n,r);let i=!1,a=[];for(let s of t.options){let l=s._zod.run({value:n.value,issues:[]},r);if(l instanceof Promise)a.push(l),i=!0;else{if(l.issues.length===0)return l;a.push(l)}}return i?Promise.all(a).then(s=>vS(s,n,e,r)):vS(a,n,e,r)}});function xS(e,t,o,n){let r=e.filter(i=>i.issues.length===0);return r.length===1?(t.value=r[0].value,t):(r.length===0?t.issues.push({code:"invalid_union",input:t.value,inst:o,errors:e.map(i=>i.issues.map(a=>ur(a,n,bt())))}):t.issues.push({code:"invalid_union",input:t.value,inst:o,errors:[],inclusive:!1}),t)}var Hp=I("$ZodXor",(e,t)=>{ys.init(e,t),t.inclusive=!1;let o=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(n,r)=>{if(o)return o(n,r);let i=!1,a=[];for(let s of t.options){let l=s._zod.run({value:n.value,issues:[]},r);l instanceof Promise?(a.push(l),i=!0):a.push(l)}return i?Promise.all(a).then(s=>xS(s,n,e,r)):xS(a,n,e,r)}}),Zp=I("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,ys.init(e,t);let o=e._zod.parse;ze(e._zod,"propValues",()=>{let r={};for(let i of t.options){let a=i._zod.propValues;if(!a||Object.keys(a).length===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(i)}"`);for(let[s,l]of Object.entries(a)){r[s]||(r[s]=new Set);for(let c of l)r[s].add(c)}}return r});let n=ki(()=>{let r=t.options,i=new Map;for(let a of r){let s=a._zod.propValues?.[t.discriminator];if(!s||s.size===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(a)}"`);for(let l of s){if(i.has(l))throw new Error(`Duplicate discriminator value "${String(l)}"`);i.set(l,a)}}return i});e._zod.parse=(r,i)=>{let a=r.value;if(!Vn(a))return r.issues.push({code:"invalid_type",expected:"object",input:a,inst:e}),r;let s=n.value.get(a?.[t.discriminator]);return s?s._zod.run(r,i):t.unionFallback||i.direction==="backward"?o(r,i):(r.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,options:Array.from(n.value.keys()),input:a,path:[t.discriminator],inst:e}),r)}}),Wp=I("$ZodIntersection",(e,t)=>{_e.init(e,t),e._zod.parse=(o,n)=>{let r=o.value,i=t.left._zod.run({value:r,issues:[]},n),a=t.right._zod.run({value:r,issues:[]},n);return i instanceof Promise||a instanceof Promise?Promise.all([i,a]).then(([l,c])=>yS(o,l,c)):yS(o,i,a)}});function ip(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(sn(e)&&sn(t)){let o=Object.keys(t),n=Object.keys(e).filter(i=>o.indexOf(i)!==-1),r={...e,...t};for(let i of n){let a=ip(e[i],t[i]);if(!a.valid)return{valid:!1,mergeErrorPath:[i,...a.mergeErrorPath]};r[i]=a.data}return{valid:!0,data:r}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let o=[];for(let n=0;n<e.length;n++){let r=e[n],i=t[n],a=ip(r,i);if(!a.valid)return{valid:!1,mergeErrorPath:[n,...a.mergeErrorPath]};o.push(a.data)}return{valid:!0,data:o}}return{valid:!1,mergeErrorPath:[]}}function yS(e,t,o){let n=new Map,r;for(let s of t.issues)if(s.code==="unrecognized_keys"){r??(r=s);for(let l of s.keys)n.has(l)||n.set(l,{}),n.get(l).l=!0}else e.issues.push(s);for(let s of o.issues)if(s.code==="unrecognized_keys")for(let l of s.keys)n.has(l)||n.set(l,{}),n.get(l).r=!0;else e.issues.push(s);let i=[...n].filter(([,s])=>s.l&&s.r).map(([s])=>s);if(i.length&&r&&e.issues.push({...r,keys:i}),cn(e))return e;let a=ip(t.value,o.value);if(!a.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(a.mergeErrorPath)}`);return e.value=a.data,e}var el=I("$ZodTuple",(e,t)=>{_e.init(e,t);let o=t.items;e._zod.parse=(n,r)=>{let i=n.value;if(!Array.isArray(i))return n.issues.push({input:i,inst:e,expected:"tuple",code:"invalid_type"}),n;n.value=[];let a=[],s=bS(o,"optin"),l=bS(o,"optout");if(!t.rest){if(i.length<s)return n.issues.push({code:"too_small",minimum:s,inclusive:!0,input:i,inst:e,origin:"array"}),n;i.length>o.length&&n.issues.push({code:"too_big",maximum:o.length,inclusive:!0,input:i,inst:e,origin:"array"})}let c=new Array(o.length);for(let u=0;u<o.length;u++){let d=o[u]._zod.run({value:i[u],issues:[]},r);d instanceof Promise?a.push(d.then(f=>{c[u]=f})):c[u]=d}if(t.rest){let u=o.length-1,d=i.slice(o.length);for(let f of d){u++;let m=t.rest._zod.run({value:f,issues:[]},r);m instanceof Promise?a.push(m.then(p=>$S(p,n,u))):$S(m,n,u)}}return a.length?Promise.all(a).then(()=>SS(c,n,o,i,l)):SS(c,n,o,i,l)}});function bS(e,t){for(let o=e.length-1;o>=0;o--)if(e[o]._zod[t]!=="optional")return o+1;return 0}function $S(e,t,o){e.issues.length&&t.issues.push(...$r(o,e.issues)),t.value[o]=e.value}function SS(e,t,o,n,r){for(let i=0;i<o.length;i++){let a=e[i],s=i<n.length;if(a.issues.length){if(!s&&i>=r){t.value.length=i;break}t.issues.push(...$r(i,a.issues))}t.value[i]=a.value}for(let i=t.value.length-1;i>=n.length&&(o[i]._zod.optout==="optional"&&t.value[i]===void 0);i--)t.value.length=i;return t}var Gp=I("$ZodRecord",(e,t)=>{_e.init(e,t),e._zod.parse=(o,n)=>{let r=o.value;if(!sn(r))return o.issues.push({expected:"record",code:"invalid_type",input:r,inst:e}),o;let i=[],a=t.keyType._zod.values;if(a){o.value={};let s=new Set;for(let c of a)if(typeof c=="string"||typeof c=="number"||typeof c=="symbol"){s.add(typeof c=="number"?c.toString():c);let u=t.keyType._zod.run({value:c,issues:[]},n);if(u instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(u.issues.length){o.issues.push({code:"invalid_key",origin:"record",issues:u.issues.map(m=>ur(m,n,bt())),input:c,path:[c],inst:e});continue}let d=u.value,f=t.valueType._zod.run({value:r[c],issues:[]},n);f instanceof Promise?i.push(f.then(m=>{m.issues.length&&o.issues.push(...$r(c,m.issues)),o.value[d]=m.value})):(f.issues.length&&o.issues.push(...$r(c,f.issues)),o.value[d]=f.value)}let l;for(let c in r)s.has(c)||(l=l??[],l.push(c));l&&l.length>0&&o.issues.push({code:"unrecognized_keys",input:r,inst:e,keys:l})}else{o.value={};for(let s of Reflect.ownKeys(r)){if(s==="__proto__"||!Object.prototype.propertyIsEnumerable.call(r,s))continue;let l=t.keyType._zod.run({value:s,issues:[]},n);if(l instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof s=="string"&&Zc.test(s)&&l.issues.length){let d=t.keyType._zod.run({value:Number(s),issues:[]},n);if(d instanceof Promise)throw new Error("Async schemas not supported in object keys currently");d.issues.length===0&&(l=d)}if(l.issues.length){t.mode==="loose"?o.value[s]=r[s]:o.issues.push({code:"invalid_key",origin:"record",issues:l.issues.map(d=>ur(d,n,bt())),input:s,path:[s],inst:e});continue}let u=t.valueType._zod.run({value:r[s],issues:[]},n);u instanceof Promise?i.push(u.then(d=>{d.issues.length&&o.issues.push(...$r(s,d.issues)),o.value[l.value]=d.value})):(u.issues.length&&o.issues.push(...$r(s,u.issues)),o.value[l.value]=u.value)}}return i.length?Promise.all(i).then(()=>o):o}}),qp=I("$ZodMap",(e,t)=>{_e.init(e,t),e._zod.parse=(o,n)=>{let r=o.value;if(!(r instanceof Map))return o.issues.push({expected:"map",code:"invalid_type",input:r,inst:e}),o;let i=[];o.value=new Map;for(let[a,s]of r){let l=t.keyType._zod.run({value:a,issues:[]},n),c=t.valueType._zod.run({value:s,issues:[]},n);l instanceof Promise||c instanceof Promise?i.push(Promise.all([l,c]).then(([u,d])=>{CS(u,d,o,a,r,e,n)})):CS(l,c,o,a,r,e,n)}return i.length?Promise.all(i).then(()=>o):o}});function CS(e,t,o,n,r,i,a){e.issues.length&&(ls.has(typeof n)?o.issues.push(...$r(n,e.issues)):o.issues.push({code:"invalid_key",origin:"map",input:r,inst:i,issues:e.issues.map(s=>ur(s,a,bt()))})),t.issues.length&&(ls.has(typeof n)?o.issues.push(...$r(n,t.issues)):o.issues.push({origin:"map",code:"invalid_element",input:r,inst:i,key:n,issues:t.issues.map(s=>ur(s,a,bt()))})),o.value.set(e.value,t.value)}var Xp=I("$ZodSet",(e,t)=>{_e.init(e,t),e._zod.parse=(o,n)=>{let r=o.value;if(!(r instanceof Set))return o.issues.push({input:r,inst:e,expected:"set",code:"invalid_type"}),o;let i=[];o.value=new Set;for(let a of r){let s=t.valueType._zod.run({value:a,issues:[]},n);s instanceof Promise?i.push(s.then(l=>_S(l,o))):_S(s,o)}return i.length?Promise.all(i).then(()=>o):o}});function _S(e,t){e.issues.length&&t.issues.push(...e.issues),t.value.add(e.value)}var Kp=I("$ZodEnum",(e,t)=>{_e.init(e,t);let o=ss(t.entries),n=new Set(o);e._zod.values=n,e._zod.pattern=new RegExp(`^(${o.filter(r=>ls.has(typeof r)).map(r=>typeof r=="string"?Br(r):r.toString()).join("|")})$`),e._zod.parse=(r,i)=>{let a=r.value;return n.has(a)||r.issues.push({code:"invalid_value",values:o,input:a,inst:e}),r}}),Jp=I("$ZodLiteral",(e,t)=>{if(_e.init(e,t),t.values.length===0)throw new Error("Cannot create literal schema with no valid values");let o=new Set(t.values);e._zod.values=o,e._zod.pattern=new RegExp(`^(${t.values.map(n=>typeof n=="string"?Br(n):n?Br(n.toString()):String(n)).join("|")})$`),e._zod.parse=(n,r)=>{let i=n.value;return o.has(i)||n.issues.push({code:"invalid_value",values:t.values,input:i,inst:e}),n}}),Yp=I("$ZodFile",(e,t)=>{_e.init(e,t),e._zod.parse=(o,n)=>{let r=o.value;return r instanceof File||o.issues.push({expected:"file",code:"invalid_type",input:r,inst:e}),o}}),Qp=I("$ZodTransform",(e,t)=>{_e.init(e,t),e._zod.optin="optional",e._zod.parse=(o,n)=>{if(n.direction==="backward")throw new on(e.constructor.name);let r=t.transform(o.value,o);if(n.async)return(r instanceof Promise?r:Promise.resolve(r)).then(a=>(o.value=a,o.fallback=!0,o));if(r instanceof Promise)throw new Kr;return o.value=r,o.fallback=!0,o}});function wS(e,t){return t===void 0&&(e.issues.length||e.fallback)?{issues:[],value:void 0}:e}var tl=I("$ZodOptional",(e,t)=>{_e.init(e,t),e._zod.optin="optional",e._zod.optout="optional",ze(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),ze(e._zod,"pattern",()=>{let o=t.innerType._zod.pattern;return o?new RegExp(`^(${cs(o.source)})?$`):void 0}),e._zod.parse=(o,n)=>{if(t.innerType._zod.optin==="optional"){let r=o.value,i=t.innerType._zod.run(o,n);return i instanceof Promise?i.then(a=>wS(a,r)):wS(i,r)}return o.value===void 0?o:t.innerType._zod.run(o,n)}}),eg=I("$ZodExactOptional",(e,t)=>{tl.init(e,t),ze(e._zod,"values",()=>t.innerType._zod.values),ze(e._zod,"pattern",()=>t.innerType._zod.pattern),e._zod.parse=(o,n)=>t.innerType._zod.run(o,n)}),tg=I("$ZodNullable",(e,t)=>{_e.init(e,t),ze(e._zod,"optin",()=>t.innerType._zod.optin),ze(e._zod,"optout",()=>t.innerType._zod.optout),ze(e._zod,"pattern",()=>{let o=t.innerType._zod.pattern;return o?new RegExp(`^(${cs(o.source)}|null)$`):void 0}),ze(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(o,n)=>o.value===null?o:t.innerType._zod.run(o,n)}),rg=I("$ZodDefault",(e,t)=>{_e.init(e,t),e._zod.optin="optional",ze(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(o,n)=>{if(n.direction==="backward")return t.innerType._zod.run(o,n);if(o.value===void 0)return o.value=t.defaultValue,o;let r=t.innerType._zod.run(o,n);return r instanceof Promise?r.then(i=>ES(i,t)):ES(r,t)}});function ES(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}var og=I("$ZodPrefault",(e,t)=>{_e.init(e,t),e._zod.optin="optional",ze(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(o,n)=>(n.direction==="backward"||o.value===void 0&&(o.value=t.defaultValue),t.innerType._zod.run(o,n))}),ng=I("$ZodNonOptional",(e,t)=>{_e.init(e,t),ze(e._zod,"values",()=>{let o=t.innerType._zod.values;return o?new Set([...o].filter(n=>n!==void 0)):void 0}),e._zod.parse=(o,n)=>{let r=t.innerType._zod.run(o,n);return r instanceof Promise?r.then(i=>RS(i,e)):RS(r,e)}});function RS(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}var ig=I("$ZodSuccess",(e,t)=>{_e.init(e,t),e._zod.parse=(o,n)=>{if(n.direction==="backward")throw new on("ZodSuccess");let r=t.innerType._zod.run(o,n);return r instanceof Promise?r.then(i=>(o.value=i.issues.length===0,o)):(o.value=r.issues.length===0,o)}}),ag=I("$ZodCatch",(e,t)=>{_e.init(e,t),e._zod.optin="optional",ze(e._zod,"optout",()=>t.innerType._zod.optout),ze(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(o,n)=>{if(n.direction==="backward")return t.innerType._zod.run(o,n);let r=t.innerType._zod.run(o,n);return r instanceof Promise?r.then(i=>(o.value=i.value,i.issues.length&&(o.value=t.catchValue({...o,error:{issues:i.issues.map(a=>ur(a,n,bt()))},input:o.value}),o.issues=[],o.fallback=!0),o)):(o.value=r.value,r.issues.length&&(o.value=t.catchValue({...o,error:{issues:r.issues.map(i=>ur(i,n,bt()))},input:o.value}),o.issues=[],o.fallback=!0),o)}}),sg=I("$ZodNaN",(e,t)=>{_e.init(e,t),e._zod.parse=(o,n)=>((typeof o.value!="number"||!Number.isNaN(o.value))&&o.issues.push({input:o.value,inst:e,expected:"nan",code:"invalid_type"}),o)}),rl=I("$ZodPipe",(e,t)=>{_e.init(e,t),ze(e._zod,"values",()=>t.in._zod.values),ze(e._zod,"optin",()=>t.in._zod.optin),ze(e._zod,"optout",()=>t.out._zod.optout),ze(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(o,n)=>{if(n.direction==="backward"){let i=t.out._zod.run(o,n);return i instanceof Promise?i.then(a=>qc(a,t.in,n)):qc(i,t.in,n)}let r=t.in._zod.run(o,n);return r instanceof Promise?r.then(i=>qc(i,t.out,n)):qc(r,t.out,n)}});function qc(e,t,o){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues,fallback:e.fallback},o)}var bs=I("$ZodCodec",(e,t)=>{_e.init(e,t),ze(e._zod,"values",()=>t.in._zod.values),ze(e._zod,"optin",()=>t.in._zod.optin),ze(e._zod,"optout",()=>t.out._zod.optout),ze(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(o,n)=>{if((n.direction||"forward")==="forward"){let i=t.in._zod.run(o,n);return i instanceof Promise?i.then(a=>Xc(a,t,n)):Xc(i,t,n)}else{let i=t.out._zod.run(o,n);return i instanceof Promise?i.then(a=>Xc(a,t,n)):Xc(i,t,n)}}});function Xc(e,t,o){if(e.issues.length)return e.aborted=!0,e;if((o.direction||"forward")==="forward"){let r=t.transform(e.value,e);return r instanceof Promise?r.then(i=>Kc(e,i,t.out,o)):Kc(e,r,t.out,o)}else{let r=t.reverseTransform(e.value,e);return r instanceof Promise?r.then(i=>Kc(e,i,t.in,o)):Kc(e,r,t.in,o)}}function Kc(e,t,o,n){return e.issues.length?(e.aborted=!0,e):o._zod.run({value:t,issues:e.issues},n)}var cg=I("$ZodPreprocess",(e,t)=>{rl.init(e,t)}),lg=I("$ZodReadonly",(e,t)=>{_e.init(e,t),ze(e._zod,"propValues",()=>t.innerType._zod.propValues),ze(e._zod,"values",()=>t.innerType._zod.values),ze(e._zod,"optin",()=>t.innerType?._zod?.optin),ze(e._zod,"optout",()=>t.innerType?._zod?.optout),e._zod.parse=(o,n)=>{if(n.direction==="backward")return t.innerType._zod.run(o,n);let r=t.innerType._zod.run(o,n);return r instanceof Promise?r.then(IS):IS(r)}});function IS(e){return e.value=Object.freeze(e.value),e}var ug=I("$ZodTemplateLiteral",(e,t)=>{_e.init(e,t);let o=[];for(let n of t.parts)if(typeof n=="object"&&n!==null){if(!n._zod.pattern)throw new Error(`Invalid template literal part, no pattern found: ${[...n._zod.traits].shift()}`);let r=n._zod.pattern instanceof RegExp?n._zod.pattern.source:n._zod.pattern;if(!r)throw new Error(`Invalid template literal part: ${n._zod.traits}`);let i=r.startsWith("^")?1:0,a=r.endsWith("$")?r.length-1:r.length;o.push(r.slice(i,a))}else if(n===null||rm.has(typeof n))o.push(Br(`${n}`));else throw new Error(`Invalid template literal part: ${n}`);e._zod.pattern=new RegExp(`^${o.join("")}$`),e._zod.parse=(n,r)=>typeof n.value!="string"?(n.issues.push({input:n.value,inst:e,expected:"string",code:"invalid_type"}),n):(e._zod.pattern.lastIndex=0,e._zod.pattern.test(n.value)||n.issues.push({input:n.value,inst:e,code:"invalid_format",format:t.format??"template_literal",pattern:e._zod.pattern.source}),n)}),dg=I("$ZodFunction",(e,t)=>(_e.init(e,t),e._def=t,e._zod.def=t,e.implement=o=>{if(typeof o!="function")throw new Error("implement() must be called with a function");return function(...n){let r=e._def.input?Oc(e._def.input,n):n,i=Reflect.apply(o,this,r);return e._def.output?Oc(e._def.output,i):i}},e.implementAsync=o=>{if(typeof o!="function")throw new Error("implementAsync() must be called with a function");return async function(...n){let r=e._def.input?await Ac(e._def.input,n):n,i=await Reflect.apply(o,this,r);return e._def.output?await Ac(e._def.output,i):i}},e._zod.parse=(o,n)=>typeof o.value!="function"?(o.issues.push({code:"invalid_type",expected:"function",input:o.value,inst:e}),o):(e._def.output&&e._def.output._zod.def.type==="promise"?o.value=e.implementAsync(o.value):o.value=e.implement(o.value),o),e.input=(...o)=>{let n=e.constructor;return Array.isArray(o[0])?new n({type:"function",input:new el({type:"tuple",items:o[0],rest:o[1]}),output:e._def.output}):new n({type:"function",input:o[0],output:e._def.output})},e.output=o=>{let n=e.constructor;return new n({type:"function",input:e._def.input,output:o})},e)),fg=I("$ZodPromise",(e,t)=>{_e.init(e,t),e._zod.parse=(o,n)=>Promise.resolve(o.value).then(r=>t.innerType._zod.run({value:r,issues:[]},n))}),mg=I("$ZodLazy",(e,t)=>{_e.init(e,t),ze(e._zod,"innerType",()=>{let o=t;return o._cachedInner||(o._cachedInner=t.getter()),o._cachedInner}),ze(e._zod,"pattern",()=>e._zod.innerType?._zod?.pattern),ze(e._zod,"propValues",()=>e._zod.innerType?._zod?.propValues),ze(e._zod,"optin",()=>e._zod.innerType?._zod?.optin??void 0),ze(e._zod,"optout",()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(o,n)=>e._zod.innerType._zod.run(o,n)}),pg=I("$ZodCustom",(e,t)=>{ot.init(e,t),_e.init(e,t),e._zod.parse=(o,n)=>o,e._zod.check=o=>{let n=o.value,r=t.fn(n);if(r instanceof Promise)return r.then(i=>PS(i,o,n,e));PS(r,o,n,e)}});function PS(e,t,o,n){if(!e){let r={code:"custom",input:o,inst:n,path:[...n._zod.def.path??[]],continue:!n._zod.def.abort};n._zod.def.params&&(r.params=n._zod.def.params),t.issues.push(zi(r))}}var Ss={};fo(Ss,{ar:()=>AS,az:()=>DS,be:()=>jS,bg:()=>LS,ca:()=>FS,cs:()=>US,da:()=>VS,de:()=>BS,el:()=>HS,en:()=>ol,eo:()=>ZS,es:()=>WS,fa:()=>GS,fi:()=>qS,fr:()=>XS,frCA:()=>KS,he:()=>JS,hr:()=>YS,hu:()=>QS,hy:()=>tC,id:()=>rC,is:()=>oC,it:()=>nC,ja:()=>iC,ka:()=>aC,kh:()=>sC,km:()=>nl,ko:()=>cC,lt:()=>uC,mk:()=>dC,ms:()=>fC,nl:()=>mC,no:()=>pC,ota:()=>gC,pl:()=>vC,ps:()=>hC,pt:()=>xC,ro:()=>yC,ru:()=>$C,sl:()=>SC,sv:()=>CC,ta:()=>_C,th:()=>wC,tr:()=>EC,ua:()=>RC,uk:()=>il,ur:()=>IC,uz:()=>PC,vi:()=>NC,yo:()=>TC,zhCN:()=>kC,zhTW:()=>zC});var C1=()=>{let e={string:{unit:"\u062D\u0631\u0641",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},file:{unit:"\u0628\u0627\u064A\u062A",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},array:{unit:"\u0639\u0646\u0635\u0631",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},set:{unit:"\u0639\u0646\u0635\u0631",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"}};function t(r){return e[r]??null}let o={regex:"\u0645\u062F\u062E\u0644",email:"\u0628\u0631\u064A\u062F \u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",url:"\u0631\u0627\u0628\u0637",emoji:"\u0625\u064A\u0645\u0648\u062C\u064A",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u062A\u0627\u0631\u064A\u062E \u0648\u0648\u0642\u062A \u0628\u0645\u0639\u064A\u0627\u0631 ISO",date:"\u062A\u0627\u0631\u064A\u062E \u0628\u0645\u0639\u064A\u0627\u0631 ISO",time:"\u0648\u0642\u062A \u0628\u0645\u0639\u064A\u0627\u0631 ISO",duration:"\u0645\u062F\u0629 \u0628\u0645\u0639\u064A\u0627\u0631 ISO",ipv4:"\u0639\u0646\u0648\u0627\u0646 IPv4",ipv6:"\u0639\u0646\u0648\u0627\u0646 IPv6",cidrv4:"\u0645\u062F\u0649 \u0639\u0646\u0627\u0648\u064A\u0646 \u0628\u0635\u064A\u063A\u0629 IPv4",cidrv6:"\u0645\u062F\u0649 \u0639\u0646\u0627\u0648\u064A\u0646 \u0628\u0635\u064A\u063A\u0629 IPv6",base64:"\u0646\u064E\u0635 \u0628\u062A\u0631\u0645\u064A\u0632 base64-encoded",base64url:"\u0646\u064E\u0635 \u0628\u062A\u0631\u0645\u064A\u0632 base64url-encoded",json_string:"\u0646\u064E\u0635 \u0639\u0644\u0649 \u0647\u064A\u0626\u0629 JSON",e164:"\u0631\u0642\u0645 \u0647\u0627\u062A\u0641 \u0628\u0645\u0639\u064A\u0627\u0631 E.164",jwt:"JWT",template_literal:"\u0645\u062F\u062E\u0644"},n={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 instanceof ${r.expected}\u060C \u0648\u0644\u0643\u0646 \u062A\u0645 \u0625\u062F\u062E\u0627\u0644 ${s}`:`\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 ${i}\u060C \u0648\u0644\u0643\u0646 \u062A\u0645 \u0625\u062F\u062E\u0627\u0644 ${s}`}case"invalid_value":return r.values.length===1?`\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 ${U(r.values[0])}`:`\u0627\u062E\u062A\u064A\u0627\u0631 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062A\u0648\u0642\u0639 \u0627\u0646\u062A\u0642\u0627\u0621 \u0623\u062D\u062F \u0647\u0630\u0647 \u0627\u0644\u062E\u064A\u0627\u0631\u0627\u062A: ${T(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?` \u0623\u0643\u0628\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0623\u0646 \u062A\u0643\u0648\u0646 ${r.origin??"\u0627\u0644\u0642\u064A\u0645\u0629"} ${i} ${r.maximum.toString()} ${a.unit??"\u0639\u0646\u0635\u0631"}`:`\u0623\u0643\u0628\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0623\u0646 \u062A\u0643\u0648\u0646 ${r.origin??"\u0627\u0644\u0642\u064A\u0645\u0629"} ${i} ${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`\u0623\u0635\u063A\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0644\u0640 ${r.origin} \u0623\u0646 \u064A\u0643\u0648\u0646 ${i} ${r.minimum.toString()} ${a.unit}`:`\u0623\u0635\u063A\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0644\u0640 ${r.origin} \u0623\u0646 \u064A\u0643\u0648\u0646 ${i} ${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0628\u062F\u0623 \u0628\u0640 "${r.prefix}"`:i.format==="ends_with"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0646\u062A\u0647\u064A \u0628\u0640 "${i.suffix}"`:i.format==="includes"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u062A\u0636\u0645\u0651\u064E\u0646 "${i.includes}"`:i.format==="regex"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0637\u0627\u0628\u0642 \u0627\u0644\u0646\u0645\u0637 ${i.pattern}`:`${o[i.format]??r.format} \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644`}case"not_multiple_of":return`\u0631\u0642\u0645 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0643\u0648\u0646 \u0645\u0646 \u0645\u0636\u0627\u0639\u0641\u0627\u062A ${r.divisor}`;case"unrecognized_keys":return`\u0645\u0639\u0631\u0641${r.keys.length>1?"\u0627\u062A":""} \u063A\u0631\u064A\u0628${r.keys.length>1?"\u0629":""}: ${T(r.keys,"\u060C ")}`;case"invalid_key":return`\u0645\u0639\u0631\u0641 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644 \u0641\u064A ${r.origin}`;case"invalid_union":return"\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644";case"invalid_element":return`\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644 \u0641\u064A ${r.origin}`;default:return"\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644"}}};function AS(){return{localeError:C1()}}var _1=()=>{let e={string:{unit:"simvol",verb:"olmal\u0131d\u0131r"},file:{unit:"bayt",verb:"olmal\u0131d\u0131r"},array:{unit:"element",verb:"olmal\u0131d\u0131r"},set:{unit:"element",verb:"olmal\u0131d\u0131r"}};function t(r){return e[r]??null}let o={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},n={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n instanceof ${r.expected}, daxil olan ${s}`:`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${i}, daxil olan ${s}`}case"invalid_value":return r.values.length===1?`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${U(r.values[0])}`:`Yanl\u0131\u015F se\xE7im: a\u015Fa\u011F\u0131dak\u0131lardan biri olmal\u0131d\u0131r: ${T(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`\xC7ox b\xF6y\xFCk: g\xF6zl\u0259nil\u0259n ${r.origin??"d\u0259y\u0259r"} ${i}${r.maximum.toString()} ${a.unit??"element"}`:`\xC7ox b\xF6y\xFCk: g\xF6zl\u0259nil\u0259n ${r.origin??"d\u0259y\u0259r"} ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`\xC7ox ki\xE7ik: g\xF6zl\u0259nil\u0259n ${r.origin} ${i}${r.minimum.toString()} ${a.unit}`:`\xC7ox ki\xE7ik: g\xF6zl\u0259nil\u0259n ${r.origin} ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Yanl\u0131\u015F m\u0259tn: "${i.prefix}" il\u0259 ba\u015Flamal\u0131d\u0131r`:i.format==="ends_with"?`Yanl\u0131\u015F m\u0259tn: "${i.suffix}" il\u0259 bitm\u0259lidir`:i.format==="includes"?`Yanl\u0131\u015F m\u0259tn: "${i.includes}" daxil olmal\u0131d\u0131r`:i.format==="regex"?`Yanl\u0131\u015F m\u0259tn: ${i.pattern} \u015Fablonuna uy\u011Fun olmal\u0131d\u0131r`:`Yanl\u0131\u015F ${o[i.format]??r.format}`}case"not_multiple_of":return`Yanl\u0131\u015F \u0259d\u0259d: ${r.divisor} il\u0259 b\xF6l\xFCn\u0259 bil\u0259n olmal\u0131d\u0131r`;case"unrecognized_keys":return`Tan\u0131nmayan a\xE7ar${r.keys.length>1?"lar":""}: ${T(r.keys,", ")}`;case"invalid_key":return`${r.origin} daxilind\u0259 yanl\u0131\u015F a\xE7ar`;case"invalid_union":return"Yanl\u0131\u015F d\u0259y\u0259r";case"invalid_element":return`${r.origin} daxilind\u0259 yanl\u0131\u015F d\u0259y\u0259r`;default:return"Yanl\u0131\u015F d\u0259y\u0259r"}}};function DS(){return{localeError:_1()}}function MS(e,t,o,n){let r=Math.abs(e),i=r%10,a=r%100;return a>=11&&a<=19?n:i===1?t:i>=2&&i<=4?o:n}var w1=()=>{let e={string:{unit:{one:"\u0441\u0456\u043C\u0432\u0430\u043B",few:"\u0441\u0456\u043C\u0432\u0430\u043B\u044B",many:"\u0441\u0456\u043C\u0432\u0430\u043B\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},array:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},set:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},file:{unit:{one:"\u0431\u0430\u0439\u0442",few:"\u0431\u0430\u0439\u0442\u044B",many:"\u0431\u0430\u0439\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"}};function t(r){return e[r]??null}let o={regex:"\u0443\u0432\u043E\u0434",email:"email \u0430\u0434\u0440\u0430\u0441",url:"URL",emoji:"\u044D\u043C\u043E\u0434\u0437\u0456",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0434\u0430\u0442\u0430 \u0456 \u0447\u0430\u0441",date:"ISO \u0434\u0430\u0442\u0430",time:"ISO \u0447\u0430\u0441",duration:"ISO \u043F\u0440\u0430\u0446\u044F\u0433\u043B\u0430\u0441\u0446\u044C",ipv4:"IPv4 \u0430\u0434\u0440\u0430\u0441",ipv6:"IPv6 \u0430\u0434\u0440\u0430\u0441",cidrv4:"IPv4 \u0434\u044B\u044F\u043F\u0430\u0437\u043E\u043D",cidrv6:"IPv6 \u0434\u044B\u044F\u043F\u0430\u0437\u043E\u043D",base64:"\u0440\u0430\u0434\u043E\u043A \u0443 \u0444\u0430\u0440\u043C\u0430\u0446\u0435 base64",base64url:"\u0440\u0430\u0434\u043E\u043A \u0443 \u0444\u0430\u0440\u043C\u0430\u0446\u0435 base64url",json_string:"JSON \u0440\u0430\u0434\u043E\u043A",e164:"\u043D\u0443\u043C\u0430\u0440 E.164",jwt:"JWT",template_literal:"\u0443\u0432\u043E\u0434"},n={nan:"NaN",number:"\u043B\u0456\u043A",array:"\u043C\u0430\u0441\u0456\u045E"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u045E\u0441\u044F instanceof ${r.expected}, \u0430\u0442\u0440\u044B\u043C\u0430\u043D\u0430 ${s}`:`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u045E\u0441\u044F ${i}, \u0430\u0442\u0440\u044B\u043C\u0430\u043D\u0430 ${s}`}case"invalid_value":return r.values.length===1?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F ${U(r.values[0])}`:`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0432\u0430\u0440\u044B\u044F\u043D\u0442: \u0447\u0430\u043A\u0430\u045E\u0441\u044F \u0430\u0434\u0437\u0456\u043D \u0437 ${T(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);if(a){let s=Number(r.maximum),l=MS(s,a.unit.one,a.unit.few,a.unit.many);return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u0432\u044F\u043B\u0456\u043A\u0456: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${r.origin??"\u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435"} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 ${a.verb} ${i}${r.maximum.toString()} ${l}`}return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u0432\u044F\u043B\u0456\u043A\u0456: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${r.origin??"\u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435"} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 \u0431\u044B\u0446\u044C ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);if(a){let s=Number(r.minimum),l=MS(s,a.unit.one,a.unit.few,a.unit.many);return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u043C\u0430\u043B\u044B: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${r.origin} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 ${a.verb} ${i}${r.minimum.toString()} ${l}`}return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u043C\u0430\u043B\u044B: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${r.origin} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 \u0431\u044B\u0446\u044C ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u043F\u0430\u0447\u044B\u043D\u0430\u0446\u0446\u0430 \u0437 "${i.prefix}"`:i.format==="ends_with"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0437\u0430\u043A\u0430\u043D\u0447\u0432\u0430\u0446\u0446\u0430 \u043D\u0430 "${i.suffix}"`:i.format==="includes"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0437\u043C\u044F\u0448\u0447\u0430\u0446\u044C "${i.includes}"`:i.format==="regex"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0430\u0434\u043F\u0430\u0432\u044F\u0434\u0430\u0446\u044C \u0448\u0430\u0431\u043B\u043E\u043D\u0443 ${i.pattern}`:`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B ${o[i.format]??r.format}`}case"not_multiple_of":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u043B\u0456\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0431\u044B\u0446\u044C \u043A\u0440\u0430\u0442\u043D\u044B\u043C ${r.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0441\u043F\u0430\u0437\u043D\u0430\u043D\u044B ${r.keys.length>1?"\u043A\u043B\u044E\u0447\u044B":"\u043A\u043B\u044E\u0447"}: ${T(r.keys,", ")}`;case"invalid_key":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u043A\u043B\u044E\u0447 \u0443 ${r.origin}`;case"invalid_union":return"\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434";case"invalid_element":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u0430\u0435 \u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435 \u045E ${r.origin}`;default:return"\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434"}}};function jS(){return{localeError:w1()}}var E1=()=>{let e={string:{unit:"\u0441\u0438\u043C\u0432\u043E\u043B\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"},file:{unit:"\u0431\u0430\u0439\u0442\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"},array:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"},set:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"}};function t(r){return e[r]??null}let o={regex:"\u0432\u0445\u043E\u0434",email:"\u0438\u043C\u0435\u0439\u043B \u0430\u0434\u0440\u0435\u0441",url:"URL",emoji:"\u0435\u043C\u043E\u0434\u0436\u0438",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0432\u0440\u0435\u043C\u0435",date:"ISO \u0434\u0430\u0442\u0430",time:"ISO \u0432\u0440\u0435\u043C\u0435",duration:"ISO \u043F\u0440\u043E\u0434\u044A\u043B\u0436\u0438\u0442\u0435\u043B\u043D\u043E\u0441\u0442",ipv4:"IPv4 \u0430\u0434\u0440\u0435\u0441",ipv6:"IPv6 \u0430\u0434\u0440\u0435\u0441",cidrv4:"IPv4 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",cidrv6:"IPv6 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",base64:"base64-\u043A\u043E\u0434\u0438\u0440\u0430\u043D \u043D\u0438\u0437",base64url:"base64url-\u043A\u043E\u0434\u0438\u0440\u0430\u043D \u043D\u0438\u0437",json_string:"JSON \u043D\u0438\u0437",e164:"E.164 \u043D\u043E\u043C\u0435\u0440",jwt:"JWT",template_literal:"\u0432\u0445\u043E\u0434"},n={nan:"NaN",number:"\u0447\u0438\u0441\u043B\u043E",array:"\u043C\u0430\u0441\u0438\u0432"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D instanceof ${r.expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D ${s}`:`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D ${i}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D ${s}`}case"invalid_value":return r.values.length===1?`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D ${U(r.values[0])}`:`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430 \u043E\u043F\u0446\u0438\u044F: \u043E\u0447\u0430\u043A\u0432\u0430\u043D\u043E \u0435\u0434\u043D\u043E \u043E\u0442 ${T(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`\u0422\u0432\u044A\u0440\u0434\u0435 \u0433\u043E\u043B\u044F\u043C\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${r.origin??"\u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442"} \u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430 ${i}${r.maximum.toString()} ${a.unit??"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430"}`:`\u0422\u0432\u044A\u0440\u0434\u0435 \u0433\u043E\u043B\u044F\u043C\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${r.origin??"\u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442"} \u0434\u0430 \u0431\u044A\u0434\u0435 ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`\u0422\u0432\u044A\u0440\u0434\u0435 \u043C\u0430\u043B\u043A\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${r.origin} \u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430 ${i}${r.minimum.toString()} ${a.unit}`:`\u0422\u0432\u044A\u0440\u0434\u0435 \u043C\u0430\u043B\u043A\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${r.origin} \u0434\u0430 \u0431\u044A\u0434\u0435 ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;if(i.format==="starts_with")return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0437\u0430\u043F\u043E\u0447\u0432\u0430 \u0441 "${i.prefix}"`;if(i.format==="ends_with")return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0437\u0430\u0432\u044A\u0440\u0448\u0432\u0430 \u0441 "${i.suffix}"`;if(i.format==="includes")return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0432\u043A\u043B\u044E\u0447\u0432\u0430 "${i.includes}"`;if(i.format==="regex")return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0441\u044A\u0432\u043F\u0430\u0434\u0430 \u0441 ${i.pattern}`;let a="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D";return i.format==="emoji"&&(a="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E"),i.format==="datetime"&&(a="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E"),i.format==="date"&&(a="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430"),i.format==="time"&&(a="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E"),i.format==="duration"&&(a="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430"),`${a} ${o[i.format]??r.format}`}case"not_multiple_of":return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E \u0447\u0438\u0441\u043B\u043E: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u043A\u0440\u0430\u0442\u043D\u043E \u043D\u0430 ${r.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0437\u043F\u043E\u0437\u043D\u0430\u0442${r.keys.length>1?"\u0438":""} \u043A\u043B\u044E\u0447${r.keys.length>1?"\u043E\u0432\u0435":""}: ${T(r.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043A\u043B\u044E\u0447 \u0432 ${r.origin}`;case"invalid_union":return"\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434";case"invalid_element":return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430 \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442 \u0432 ${r.origin}`;default:return"\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434"}}};function LS(){return{localeError:E1()}}var R1=()=>{let e={string:{unit:"car\xE0cters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"}};function t(r){return e[r]??null}let o={regex:"entrada",email:"adre\xE7a electr\xF2nica",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i hora ISO",date:"data ISO",time:"hora ISO",duration:"durada ISO",ipv4:"adre\xE7a IPv4",ipv6:"adre\xE7a IPv6",cidrv4:"rang IPv4",cidrv6:"rang IPv6",base64:"cadena codificada en base64",base64url:"cadena codificada en base64url",json_string:"cadena JSON",e164:"n\xFAmero E.164",jwt:"JWT",template_literal:"entrada"},n={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`Tipus inv\xE0lid: s'esperava instanceof ${r.expected}, s'ha rebut ${s}`:`Tipus inv\xE0lid: s'esperava ${i}, s'ha rebut ${s}`}case"invalid_value":return r.values.length===1?`Valor inv\xE0lid: s'esperava ${U(r.values[0])}`:`Opci\xF3 inv\xE0lida: s'esperava una de ${T(r.values," o ")}`;case"too_big":{let i=r.inclusive?"com a m\xE0xim":"menys de",a=t(r.origin);return a?`Massa gran: s'esperava que ${r.origin??"el valor"} contingu\xE9s ${i} ${r.maximum.toString()} ${a.unit??"elements"}`:`Massa gran: s'esperava que ${r.origin??"el valor"} fos ${i} ${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?"com a m\xEDnim":"m\xE9s de",a=t(r.origin);return a?`Massa petit: s'esperava que ${r.origin} contingu\xE9s ${i} ${r.minimum.toString()} ${a.unit}`:`Massa petit: s'esperava que ${r.origin} fos ${i} ${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Format inv\xE0lid: ha de comen\xE7ar amb "${i.prefix}"`:i.format==="ends_with"?`Format inv\xE0lid: ha d'acabar amb "${i.suffix}"`:i.format==="includes"?`Format inv\xE0lid: ha d'incloure "${i.includes}"`:i.format==="regex"?`Format inv\xE0lid: ha de coincidir amb el patr\xF3 ${i.pattern}`:`Format inv\xE0lid per a ${o[i.format]??r.format}`}case"not_multiple_of":return`N\xFAmero inv\xE0lid: ha de ser m\xFAltiple de ${r.divisor}`;case"unrecognized_keys":return`Clau${r.keys.length>1?"s":""} no reconeguda${r.keys.length>1?"s":""}: ${T(r.keys,", ")}`;case"invalid_key":return`Clau inv\xE0lida a ${r.origin}`;case"invalid_union":return"Entrada inv\xE0lida";case"invalid_element":return`Element inv\xE0lid a ${r.origin}`;default:return"Entrada inv\xE0lida"}}};function FS(){return{localeError:R1()}}var I1=()=>{let e={string:{unit:"znak\u016F",verb:"m\xEDt"},file:{unit:"bajt\u016F",verb:"m\xEDt"},array:{unit:"prvk\u016F",verb:"m\xEDt"},set:{unit:"prvk\u016F",verb:"m\xEDt"}};function t(r){return e[r]??null}let o={regex:"regul\xE1rn\xED v\xFDraz",email:"e-mailov\xE1 adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"datum a \u010Das ve form\xE1tu ISO",date:"datum ve form\xE1tu ISO",time:"\u010Das ve form\xE1tu ISO",duration:"doba trv\xE1n\xED ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"\u0159et\u011Bzec zak\xF3dovan\xFD ve form\xE1tu base64",base64url:"\u0159et\u011Bzec zak\xF3dovan\xFD ve form\xE1tu base64url",json_string:"\u0159et\u011Bzec ve form\xE1tu JSON",e164:"\u010D\xEDslo E.164",jwt:"JWT",template_literal:"vstup"},n={nan:"NaN",number:"\u010D\xEDslo",string:"\u0159et\u011Bzec",function:"funkce",array:"pole"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no instanceof ${r.expected}, obdr\u017Eeno ${s}`:`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${i}, obdr\u017Eeno ${s}`}case"invalid_value":return r.values.length===1?`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${U(r.values[0])}`:`Neplatn\xE1 mo\u017Enost: o\u010Dek\xE1v\xE1na jedna z hodnot ${T(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`Hodnota je p\u0159\xEDli\u0161 velk\xE1: ${r.origin??"hodnota"} mus\xED m\xEDt ${i}${r.maximum.toString()} ${a.unit??"prvk\u016F"}`:`Hodnota je p\u0159\xEDli\u0161 velk\xE1: ${r.origin??"hodnota"} mus\xED b\xFDt ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`Hodnota je p\u0159\xEDli\u0161 mal\xE1: ${r.origin??"hodnota"} mus\xED m\xEDt ${i}${r.minimum.toString()} ${a.unit??"prvk\u016F"}`:`Hodnota je p\u0159\xEDli\u0161 mal\xE1: ${r.origin??"hodnota"} mus\xED b\xFDt ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED za\u010D\xEDnat na "${i.prefix}"`:i.format==="ends_with"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED kon\u010Dit na "${i.suffix}"`:i.format==="includes"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED obsahovat "${i.includes}"`:i.format==="regex"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED odpov\xEDdat vzoru ${i.pattern}`:`Neplatn\xFD form\xE1t ${o[i.format]??r.format}`}case"not_multiple_of":return`Neplatn\xE9 \u010D\xEDslo: mus\xED b\xFDt n\xE1sobkem ${r.divisor}`;case"unrecognized_keys":return`Nezn\xE1m\xE9 kl\xED\u010De: ${T(r.keys,", ")}`;case"invalid_key":return`Neplatn\xFD kl\xED\u010D v ${r.origin}`;case"invalid_union":return"Neplatn\xFD vstup";case"invalid_element":return`Neplatn\xE1 hodnota v ${r.origin}`;default:return"Neplatn\xFD vstup"}}};function US(){return{localeError:I1()}}var P1=()=>{let e={string:{unit:"tegn",verb:"havde"},file:{unit:"bytes",verb:"havde"},array:{unit:"elementer",verb:"indeholdt"},set:{unit:"elementer",verb:"indeholdt"}};function t(r){return e[r]??null}let o={regex:"input",email:"e-mailadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkesl\xE6t",date:"ISO-dato",time:"ISO-klokkesl\xE6t",duration:"ISO-varighed",ipv4:"IPv4-omr\xE5de",ipv6:"IPv6-omr\xE5de",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodet streng",base64url:"base64url-kodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},n={nan:"NaN",string:"streng",number:"tal",boolean:"boolean",array:"liste",object:"objekt",set:"s\xE6t",file:"fil"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`Ugyldigt input: forventede instanceof ${r.expected}, fik ${s}`:`Ugyldigt input: forventede ${i}, fik ${s}`}case"invalid_value":return r.values.length===1?`Ugyldig v\xE6rdi: forventede ${U(r.values[0])}`:`Ugyldigt valg: forventede en af f\xF8lgende ${T(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin),s=n[r.origin]??r.origin;return a?`For stor: forventede ${s??"value"} ${a.verb} ${i} ${r.maximum.toString()} ${a.unit??"elementer"}`:`For stor: forventede ${s??"value"} havde ${i} ${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin),s=n[r.origin]??r.origin;return a?`For lille: forventede ${s} ${a.verb} ${i} ${r.minimum.toString()} ${a.unit}`:`For lille: forventede ${s} havde ${i} ${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Ugyldig streng: skal starte med "${i.prefix}"`:i.format==="ends_with"?`Ugyldig streng: skal ende med "${i.suffix}"`:i.format==="includes"?`Ugyldig streng: skal indeholde "${i.includes}"`:i.format==="regex"?`Ugyldig streng: skal matche m\xF8nsteret ${i.pattern}`:`Ugyldig ${o[i.format]??r.format}`}case"not_multiple_of":return`Ugyldigt tal: skal v\xE6re deleligt med ${r.divisor}`;case"unrecognized_keys":return`${r.keys.length>1?"Ukendte n\xF8gler":"Ukendt n\xF8gle"}: ${T(r.keys,", ")}`;case"invalid_key":return`Ugyldig n\xF8gle i ${r.origin}`;case"invalid_union":return"Ugyldigt input: matcher ingen af de tilladte typer";case"invalid_element":return`Ugyldig v\xE6rdi i ${r.origin}`;default:return"Ugyldigt input"}}};function VS(){return{localeError:P1()}}var N1=()=>{let e={string:{unit:"Zeichen",verb:"zu haben"},file:{unit:"Bytes",verb:"zu haben"},array:{unit:"Elemente",verb:"zu haben"},set:{unit:"Elemente",verb:"zu haben"}};function t(r){return e[r]??null}let o={regex:"Eingabe",email:"E-Mail-Adresse",url:"URL",emoji:"Emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-Datum und -Uhrzeit",date:"ISO-Datum",time:"ISO-Uhrzeit",duration:"ISO-Dauer",ipv4:"IPv4-Adresse",ipv6:"IPv6-Adresse",cidrv4:"IPv4-Bereich",cidrv6:"IPv6-Bereich",base64:"Base64-codierter String",base64url:"Base64-URL-codierter String",json_string:"JSON-String",e164:"E.164-Nummer",jwt:"JWT",template_literal:"Eingabe"},n={nan:"NaN",number:"Zahl",array:"Array"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`Ung\xFCltige Eingabe: erwartet instanceof ${r.expected}, erhalten ${s}`:`Ung\xFCltige Eingabe: erwartet ${i}, erhalten ${s}`}case"invalid_value":return r.values.length===1?`Ung\xFCltige Eingabe: erwartet ${U(r.values[0])}`:`Ung\xFCltige Option: erwartet eine von ${T(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`Zu gro\xDF: erwartet, dass ${r.origin??"Wert"} ${i}${r.maximum.toString()} ${a.unit??"Elemente"} hat`:`Zu gro\xDF: erwartet, dass ${r.origin??"Wert"} ${i}${r.maximum.toString()} ist`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`Zu klein: erwartet, dass ${r.origin} ${i}${r.minimum.toString()} ${a.unit} hat`:`Zu klein: erwartet, dass ${r.origin} ${i}${r.minimum.toString()} ist`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Ung\xFCltiger String: muss mit "${i.prefix}" beginnen`:i.format==="ends_with"?`Ung\xFCltiger String: muss mit "${i.suffix}" enden`:i.format==="includes"?`Ung\xFCltiger String: muss "${i.includes}" enthalten`:i.format==="regex"?`Ung\xFCltiger String: muss dem Muster ${i.pattern} entsprechen`:`Ung\xFCltig: ${o[i.format]??r.format}`}case"not_multiple_of":return`Ung\xFCltige Zahl: muss ein Vielfaches von ${r.divisor} sein`;case"unrecognized_keys":return`${r.keys.length>1?"Unbekannte Schl\xFCssel":"Unbekannter Schl\xFCssel"}: ${T(r.keys,", ")}`;case"invalid_key":return`Ung\xFCltiger Schl\xFCssel in ${r.origin}`;case"invalid_union":return"Ung\xFCltige Eingabe";case"invalid_element":return`Ung\xFCltiger Wert in ${r.origin}`;default:return"Ung\xFCltige Eingabe"}}};function BS(){return{localeError:N1()}}var k1=()=>{let e={string:{unit:"\u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03AE\u03C1\u03B5\u03C2",verb:"\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9"},file:{unit:"bytes",verb:"\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9"},array:{unit:"\u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1",verb:"\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9"},set:{unit:"\u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1",verb:"\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9"},map:{unit:"\u03BA\u03B1\u03C4\u03B1\u03C7\u03C9\u03C1\u03AE\u03C3\u03B5\u03B9\u03C2",verb:"\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9"}};function t(r){return e[r]??null}let o={regex:"\u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2",email:"\u03B4\u03B9\u03B5\u03CD\u03B8\u03C5\u03BD\u03C3\u03B7 email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u03BA\u03B1\u03B9 \u03CE\u03C1\u03B1",date:"ISO \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1",time:"ISO \u03CE\u03C1\u03B1",duration:"ISO \u03B4\u03B9\u03AC\u03C1\u03BA\u03B5\u03B9\u03B1",ipv4:"\u03B4\u03B9\u03B5\u03CD\u03B8\u03C5\u03BD\u03C3\u03B7 IPv4",ipv6:"\u03B4\u03B9\u03B5\u03CD\u03B8\u03C5\u03BD\u03C3\u03B7 IPv6",mac:"\u03B4\u03B9\u03B5\u03CD\u03B8\u03C5\u03BD\u03C3\u03B7 MAC",cidrv4:"\u03B5\u03CD\u03C1\u03BF\u03C2 IPv4",cidrv6:"\u03B5\u03CD\u03C1\u03BF\u03C2 IPv6",base64:"\u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC \u03BA\u03C9\u03B4\u03B9\u03BA\u03BF\u03C0\u03BF\u03B9\u03B7\u03BC\u03AD\u03BD\u03B7 \u03C3\u03B5 base64",base64url:"\u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC \u03BA\u03C9\u03B4\u03B9\u03BA\u03BF\u03C0\u03BF\u03B9\u03B7\u03BC\u03AD\u03BD\u03B7 \u03C3\u03B5 base64url",json_string:"\u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC JSON",e164:"\u03B1\u03C1\u03B9\u03B8\u03BC\u03CC\u03C2 E.164",jwt:"JWT",template_literal:"\u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2"},n={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return typeof r.expected=="string"&&/^[A-Z]/.test(r.expected)?`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD instanceof ${r.expected}, \u03BB\u03AE\u03C6\u03B8\u03B7\u03BA\u03B5 ${s}`:`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD ${i}, \u03BB\u03AE\u03C6\u03B8\u03B7\u03BA\u03B5 ${s}`}case"invalid_value":return r.values.length===1?`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD ${U(r.values[0])}`:`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD \u03AD\u03BD\u03B1 \u03B1\u03C0\u03CC ${T(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`\u03A0\u03BF\u03BB\u03CD \u03BC\u03B5\u03B3\u03AC\u03BB\u03BF: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD ${r.origin??"\u03C4\u03B9\u03BC\u03AE"} \u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9 ${i}${r.maximum.toString()} ${a.unit??"\u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1"}`:`\u03A0\u03BF\u03BB\u03CD \u03BC\u03B5\u03B3\u03AC\u03BB\u03BF: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD ${r.origin??"\u03C4\u03B9\u03BC\u03AE"} \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`\u03A0\u03BF\u03BB\u03CD \u03BC\u03B9\u03BA\u03C1\u03CC: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD ${r.origin} \u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9 ${i}${r.minimum.toString()} ${a.unit}`:`\u03A0\u03BF\u03BB\u03CD \u03BC\u03B9\u03BA\u03C1\u03CC: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD ${r.origin} \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC: \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03BE\u03B5\u03BA\u03B9\u03BD\u03AC \u03BC\u03B5 "${i.prefix}"`:i.format==="ends_with"?`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC: \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03C4\u03B5\u03BB\u03B5\u03B9\u03CE\u03BD\u03B5\u03B9 \u03BC\u03B5 "${i.suffix}"`:i.format==="includes"?`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC: \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03C0\u03B5\u03C1\u03B9\u03AD\u03C7\u03B5\u03B9 "${i.includes}"`:i.format==="regex"?`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC: \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03C4\u03B1\u03B9\u03C1\u03B9\u03AC\u03B6\u03B5\u03B9 \u03BC\u03B5 \u03C4\u03BF \u03BC\u03BF\u03C4\u03AF\u03B2\u03BF ${i.pattern}`:`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03BF: ${o[i.format]??r.format}`}case"not_multiple_of":return`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03BF\u03C2 \u03B1\u03C1\u03B9\u03B8\u03BC\u03CC\u03C2: \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 \u03C0\u03BF\u03BB\u03BB\u03B1\u03C0\u03BB\u03AC\u03C3\u03B9\u03BF \u03C4\u03BF\u03C5 ${r.divisor}`;case"unrecognized_keys":return`\u0386\u03B3\u03BD\u03C9\u03C3\u03C4${r.keys.length>1?"\u03B1":"\u03BF"} \u03BA\u03BB\u03B5\u03B9\u03B4${r.keys.length>1?"\u03B9\u03AC":"\u03AF"}: ${T(r.keys,", ")}`;case"invalid_key":return`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03BF \u03BA\u03BB\u03B5\u03B9\u03B4\u03AF \u03C3\u03C4\u03BF ${r.origin}`;case"invalid_union":return"\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2";case"invalid_element":return`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03C4\u03B9\u03BC\u03AE \u03C3\u03C4\u03BF ${r.origin}`;default:return"\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2"}}};function HS(){return{localeError:k1()}}var z1=()=>{let e={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"},map:{unit:"entries",verb:"to have"}};function t(r){return e[r]??null}let o={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},n={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return`Invalid input: expected ${i}, received ${s}`}case"invalid_value":return r.values.length===1?`Invalid input: expected ${U(r.values[0])}`:`Invalid option: expected one of ${T(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`Too big: expected ${r.origin??"value"} to have ${i}${r.maximum.toString()} ${a.unit??"elements"}`:`Too big: expected ${r.origin??"value"} to be ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`Too small: expected ${r.origin} to have ${i}${r.minimum.toString()} ${a.unit}`:`Too small: expected ${r.origin} to be ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Invalid string: must start with "${i.prefix}"`:i.format==="ends_with"?`Invalid string: must end with "${i.suffix}"`:i.format==="includes"?`Invalid string: must include "${i.includes}"`:i.format==="regex"?`Invalid string: must match pattern ${i.pattern}`:`Invalid ${o[i.format]??r.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${r.divisor}`;case"unrecognized_keys":return`Unrecognized key${r.keys.length>1?"s":""}: ${T(r.keys,", ")}`;case"invalid_key":return`Invalid key in ${r.origin}`;case"invalid_union":return r.options&&Array.isArray(r.options)&&r.options.length>0?`Invalid discriminator value. Expected ${r.options.map(a=>`'${a}'`).join(" | ")}`:"Invalid input";case"invalid_element":return`Invalid value in ${r.origin}`;default:return"Invalid input"}}};function ol(){return{localeError:z1()}}var T1=()=>{let e={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"}};function t(r){return e[r]??null}let o={regex:"enigo",email:"retadreso",url:"URL",emoji:"emo\u011Dio",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datotempo",date:"ISO-dato",time:"ISO-tempo",duration:"ISO-da\u016Dro",ipv4:"IPv4-adreso",ipv6:"IPv6-adreso",cidrv4:"IPv4-rango",cidrv6:"IPv6-rango",base64:"64-ume kodita karaktraro",base64url:"URL-64-ume kodita karaktraro",json_string:"JSON-karaktraro",e164:"E.164-nombro",jwt:"JWT",template_literal:"enigo"},n={nan:"NaN",number:"nombro",array:"tabelo",null:"senvalora"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`Nevalida enigo: atendi\u011Dis instanceof ${r.expected}, ricevi\u011Dis ${s}`:`Nevalida enigo: atendi\u011Dis ${i}, ricevi\u011Dis ${s}`}case"invalid_value":return r.values.length===1?`Nevalida enigo: atendi\u011Dis ${U(r.values[0])}`:`Nevalida opcio: atendi\u011Dis unu el ${T(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`Tro granda: atendi\u011Dis ke ${r.origin??"valoro"} havu ${i}${r.maximum.toString()} ${a.unit??"elementojn"}`:`Tro granda: atendi\u011Dis ke ${r.origin??"valoro"} havu ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`Tro malgranda: atendi\u011Dis ke ${r.origin} havu ${i}${r.minimum.toString()} ${a.unit}`:`Tro malgranda: atendi\u011Dis ke ${r.origin} estu ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Nevalida karaktraro: devas komenci\u011Di per "${i.prefix}"`:i.format==="ends_with"?`Nevalida karaktraro: devas fini\u011Di per "${i.suffix}"`:i.format==="includes"?`Nevalida karaktraro: devas inkluzivi "${i.includes}"`:i.format==="regex"?`Nevalida karaktraro: devas kongrui kun la modelo ${i.pattern}`:`Nevalida ${o[i.format]??r.format}`}case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${r.divisor}`;case"unrecognized_keys":return`Nekonata${r.keys.length>1?"j":""} \u015Dlosilo${r.keys.length>1?"j":""}: ${T(r.keys,", ")}`;case"invalid_key":return`Nevalida \u015Dlosilo en ${r.origin}`;case"invalid_union":return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${r.origin}`;default:return"Nevalida enigo"}}};function ZS(){return{localeError:T1()}}var O1=()=>{let e={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}};function t(r){return e[r]??null}let o={regex:"entrada",email:"direcci\xF3n de correo electr\xF3nico",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"fecha y hora ISO",date:"fecha ISO",time:"hora ISO",duration:"duraci\xF3n ISO",ipv4:"direcci\xF3n IPv4",ipv6:"direcci\xF3n IPv6",cidrv4:"rango IPv4",cidrv6:"rango IPv6",base64:"cadena codificada en base64",base64url:"URL codificada en base64",json_string:"cadena JSON",e164:"n\xFAmero E.164",jwt:"JWT",template_literal:"entrada"},n={nan:"NaN",string:"texto",number:"n\xFAmero",boolean:"booleano",array:"arreglo",object:"objeto",set:"conjunto",file:"archivo",date:"fecha",bigint:"n\xFAmero grande",symbol:"s\xEDmbolo",undefined:"indefinido",null:"nulo",function:"funci\xF3n",map:"mapa",record:"registro",tuple:"tupla",enum:"enumeraci\xF3n",union:"uni\xF3n",literal:"literal",promise:"promesa",void:"vac\xEDo",never:"nunca",unknown:"desconocido",any:"cualquiera"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`Entrada inv\xE1lida: se esperaba instanceof ${r.expected}, recibido ${s}`:`Entrada inv\xE1lida: se esperaba ${i}, recibido ${s}`}case"invalid_value":return r.values.length===1?`Entrada inv\xE1lida: se esperaba ${U(r.values[0])}`:`Opci\xF3n inv\xE1lida: se esperaba una de ${T(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin),s=n[r.origin]??r.origin;return a?`Demasiado grande: se esperaba que ${s??"valor"} tuviera ${i}${r.maximum.toString()} ${a.unit??"elementos"}`:`Demasiado grande: se esperaba que ${s??"valor"} fuera ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin),s=n[r.origin]??r.origin;return a?`Demasiado peque\xF1o: se esperaba que ${s} tuviera ${i}${r.minimum.toString()} ${a.unit}`:`Demasiado peque\xF1o: se esperaba que ${s} fuera ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Cadena inv\xE1lida: debe comenzar con "${i.prefix}"`:i.format==="ends_with"?`Cadena inv\xE1lida: debe terminar en "${i.suffix}"`:i.format==="includes"?`Cadena inv\xE1lida: debe incluir "${i.includes}"`:i.format==="regex"?`Cadena inv\xE1lida: debe coincidir con el patr\xF3n ${i.pattern}`:`Inv\xE1lido ${o[i.format]??r.format}`}case"not_multiple_of":return`N\xFAmero inv\xE1lido: debe ser m\xFAltiplo de ${r.divisor}`;case"unrecognized_keys":return`Llave${r.keys.length>1?"s":""} desconocida${r.keys.length>1?"s":""}: ${T(r.keys,", ")}`;case"invalid_key":return`Llave inv\xE1lida en ${n[r.origin]??r.origin}`;case"invalid_union":return"Entrada inv\xE1lida";case"invalid_element":return`Valor inv\xE1lido en ${n[r.origin]??r.origin}`;default:return"Entrada inv\xE1lida"}}};function WS(){return{localeError:O1()}}var A1=()=>{let e={string:{unit:"\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},file:{unit:"\u0628\u0627\u06CC\u062A",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},array:{unit:"\u0622\u06CC\u062A\u0645",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},set:{unit:"\u0622\u06CC\u062A\u0645",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"}};function t(r){return e[r]??null}let o={regex:"\u0648\u0631\u0648\u062F\u06CC",email:"\u0622\u062F\u0631\u0633 \u0627\u06CC\u0645\u06CC\u0644",url:"URL",emoji:"\u0627\u06CC\u0645\u0648\u062C\u06CC",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u062A\u0627\u0631\u06CC\u062E \u0648 \u0632\u0645\u0627\u0646 \u0627\u06CC\u0632\u0648",date:"\u062A\u0627\u0631\u06CC\u062E \u0627\u06CC\u0632\u0648",time:"\u0632\u0645\u0627\u0646 \u0627\u06CC\u0632\u0648",duration:"\u0645\u062F\u062A \u0632\u0645\u0627\u0646 \u0627\u06CC\u0632\u0648",ipv4:"IPv4 \u0622\u062F\u0631\u0633",ipv6:"IPv6 \u0622\u062F\u0631\u0633",cidrv4:"IPv4 \u062F\u0627\u0645\u0646\u0647",cidrv6:"IPv6 \u062F\u0627\u0645\u0646\u0647",base64:"base64-encoded \u0631\u0634\u062A\u0647",base64url:"base64url-encoded \u0631\u0634\u062A\u0647",json_string:"JSON \u0631\u0634\u062A\u0647",e164:"E.164 \u0639\u062F\u062F",jwt:"JWT",template_literal:"\u0648\u0631\u0648\u062F\u06CC"},n={nan:"NaN",number:"\u0639\u062F\u062F",array:"\u0622\u0631\u0627\u06CC\u0647"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A instanceof ${r.expected} \u0645\u06CC\u200C\u0628\u0648\u062F\u060C ${s} \u062F\u0631\u06CC\u0627\u0641\u062A \u0634\u062F`:`\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A ${i} \u0645\u06CC\u200C\u0628\u0648\u062F\u060C ${s} \u062F\u0631\u06CC\u0627\u0641\u062A \u0634\u062F`}case"invalid_value":return r.values.length===1?`\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A ${U(r.values[0])} \u0645\u06CC\u200C\u0628\u0648\u062F`:`\u06AF\u0632\u06CC\u0646\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A \u06CC\u06A9\u06CC \u0627\u0632 ${T(r.values,"|")} \u0645\u06CC\u200C\u0628\u0648\u062F`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`\u062E\u06CC\u0644\u06CC \u0628\u0632\u0631\u06AF: ${r.origin??"\u0645\u0642\u062F\u0627\u0631"} \u0628\u0627\u06CC\u062F ${i}${r.maximum.toString()} ${a.unit??"\u0639\u0646\u0635\u0631"} \u0628\u0627\u0634\u062F`:`\u062E\u06CC\u0644\u06CC \u0628\u0632\u0631\u06AF: ${r.origin??"\u0645\u0642\u062F\u0627\u0631"} \u0628\u0627\u06CC\u062F ${i}${r.maximum.toString()} \u0628\u0627\u0634\u062F`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`\u062E\u06CC\u0644\u06CC \u06A9\u0648\u0686\u06A9: ${r.origin} \u0628\u0627\u06CC\u062F ${i}${r.minimum.toString()} ${a.unit} \u0628\u0627\u0634\u062F`:`\u062E\u06CC\u0644\u06CC \u06A9\u0648\u0686\u06A9: ${r.origin} \u0628\u0627\u06CC\u062F ${i}${r.minimum.toString()} \u0628\u0627\u0634\u062F`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 "${i.prefix}" \u0634\u0631\u0648\u0639 \u0634\u0648\u062F`:i.format==="ends_with"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 "${i.suffix}" \u062A\u0645\u0627\u0645 \u0634\u0648\u062F`:i.format==="includes"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0634\u0627\u0645\u0644 "${i.includes}" \u0628\u0627\u0634\u062F`:i.format==="regex"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 \u0627\u0644\u06AF\u0648\u06CC ${i.pattern} \u0645\u0637\u0627\u0628\u0642\u062A \u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F`:`${o[i.format]??r.format} \u0646\u0627\u0645\u0639\u062A\u0628\u0631`}case"not_multiple_of":return`\u0639\u062F\u062F \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0645\u0636\u0631\u0628 ${r.divisor} \u0628\u0627\u0634\u062F`;case"unrecognized_keys":return`\u06A9\u0644\u06CC\u062F${r.keys.length>1?"\u0647\u0627\u06CC":""} \u0646\u0627\u0634\u0646\u0627\u0633: ${T(r.keys,", ")}`;case"invalid_key":return`\u06A9\u0644\u06CC\u062F \u0646\u0627\u0634\u0646\u0627\u0633 \u062F\u0631 ${r.origin}`;case"invalid_union":return"\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631";case"invalid_element":return`\u0645\u0642\u062F\u0627\u0631 \u0646\u0627\u0645\u0639\u062A\u0628\u0631 \u062F\u0631 ${r.origin}`;default:return"\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631"}}};function GS(){return{localeError:A1()}}var D1=()=>{let e={string:{unit:"merkki\xE4",subject:"merkkijonon"},file:{unit:"tavua",subject:"tiedoston"},array:{unit:"alkiota",subject:"listan"},set:{unit:"alkiota",subject:"joukon"},number:{unit:"",subject:"luvun"},bigint:{unit:"",subject:"suuren kokonaisluvun"},int:{unit:"",subject:"kokonaisluvun"},date:{unit:"",subject:"p\xE4iv\xE4m\xE4\xE4r\xE4n"}};function t(r){return e[r]??null}let o={regex:"s\xE4\xE4nn\xF6llinen lauseke",email:"s\xE4hk\xF6postiosoite",url:"URL-osoite",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-aikaleima",date:"ISO-p\xE4iv\xE4m\xE4\xE4r\xE4",time:"ISO-aika",duration:"ISO-kesto",ipv4:"IPv4-osoite",ipv6:"IPv6-osoite",cidrv4:"IPv4-alue",cidrv6:"IPv6-alue",base64:"base64-koodattu merkkijono",base64url:"base64url-koodattu merkkijono",json_string:"JSON-merkkijono",e164:"E.164-luku",jwt:"JWT",template_literal:"templaattimerkkijono"},n={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`Virheellinen tyyppi: odotettiin instanceof ${r.expected}, oli ${s}`:`Virheellinen tyyppi: odotettiin ${i}, oli ${s}`}case"invalid_value":return r.values.length===1?`Virheellinen sy\xF6te: t\xE4ytyy olla ${U(r.values[0])}`:`Virheellinen valinta: t\xE4ytyy olla yksi seuraavista: ${T(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`Liian suuri: ${a.subject} t\xE4ytyy olla ${i}${r.maximum.toString()} ${a.unit}`.trim():`Liian suuri: arvon t\xE4ytyy olla ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`Liian pieni: ${a.subject} t\xE4ytyy olla ${i}${r.minimum.toString()} ${a.unit}`.trim():`Liian pieni: arvon t\xE4ytyy olla ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Virheellinen sy\xF6te: t\xE4ytyy alkaa "${i.prefix}"`:i.format==="ends_with"?`Virheellinen sy\xF6te: t\xE4ytyy loppua "${i.suffix}"`:i.format==="includes"?`Virheellinen sy\xF6te: t\xE4ytyy sis\xE4lt\xE4\xE4 "${i.includes}"`:i.format==="regex"?`Virheellinen sy\xF6te: t\xE4ytyy vastata s\xE4\xE4nn\xF6llist\xE4 lauseketta ${i.pattern}`:`Virheellinen ${o[i.format]??r.format}`}case"not_multiple_of":return`Virheellinen luku: t\xE4ytyy olla luvun ${r.divisor} monikerta`;case"unrecognized_keys":return`${r.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${T(r.keys,", ")}`;case"invalid_key":return"Virheellinen avain tietueessa";case"invalid_union":return"Virheellinen unioni";case"invalid_element":return"Virheellinen arvo joukossa";default:return"Virheellinen sy\xF6te"}}};function qS(){return{localeError:D1()}}var M1=()=>{let e={string:{unit:"caract\xE8res",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"\xE9l\xE9ments",verb:"avoir"},set:{unit:"\xE9l\xE9ments",verb:"avoir"}};function t(r){return e[r]??null}let o={regex:"entr\xE9e",email:"adresse e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date et heure ISO",date:"date ISO",time:"heure ISO",duration:"dur\xE9e ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"cha\xEEne encod\xE9e en base64",base64url:"cha\xEEne encod\xE9e en base64url",json_string:"cha\xEEne JSON",e164:"num\xE9ro E.164",jwt:"JWT",template_literal:"entr\xE9e"},n={string:"cha\xEEne",number:"nombre",int:"entier",boolean:"bool\xE9en",bigint:"grand entier",symbol:"symbole",undefined:"ind\xE9fini",null:"null",never:"jamais",void:"vide",date:"date",array:"tableau",object:"objet",tuple:"tuple",record:"enregistrement",map:"carte",set:"ensemble",file:"fichier",nonoptional:"non-optionnel",nan:"NaN",function:"fonction"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`Entr\xE9e invalide : instanceof ${r.expected} attendu, ${s} re\xE7u`:`Entr\xE9e invalide : ${i} attendu, ${s} re\xE7u`}case"invalid_value":return r.values.length===1?`Entr\xE9e invalide : ${U(r.values[0])} attendu`:`Option invalide : une valeur parmi ${T(r.values,"|")} attendue`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`Trop grand : ${n[r.origin]??"valeur"} doit ${a.verb} ${i}${r.maximum.toString()} ${a.unit??"\xE9l\xE9ment(s)"}`:`Trop grand : ${n[r.origin]??"valeur"} doit \xEAtre ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`Trop petit : ${n[r.origin]??"valeur"} doit ${a.verb} ${i}${r.minimum.toString()} ${a.unit}`:`Trop petit : ${n[r.origin]??"valeur"} doit \xEAtre ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Cha\xEEne invalide : doit commencer par "${i.prefix}"`:i.format==="ends_with"?`Cha\xEEne invalide : doit se terminer par "${i.suffix}"`:i.format==="includes"?`Cha\xEEne invalide : doit inclure "${i.includes}"`:i.format==="regex"?`Cha\xEEne invalide : doit correspondre au mod\xE8le ${i.pattern}`:`${o[i.format]??r.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit \xEAtre un multiple de ${r.divisor}`;case"unrecognized_keys":return`Cl\xE9${r.keys.length>1?"s":""} non reconnue${r.keys.length>1?"s":""} : ${T(r.keys,", ")}`;case"invalid_key":return`Cl\xE9 invalide dans ${r.origin}`;case"invalid_union":return"Entr\xE9e invalide";case"invalid_element":return`Valeur invalide dans ${r.origin}`;default:return"Entr\xE9e invalide"}}};function XS(){return{localeError:M1()}}var j1=()=>{let e={string:{unit:"caract\xE8res",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"\xE9l\xE9ments",verb:"avoir"},set:{unit:"\xE9l\xE9ments",verb:"avoir"}};function t(r){return e[r]??null}let o={regex:"entr\xE9e",email:"adresse courriel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date-heure ISO",date:"date ISO",time:"heure ISO",duration:"dur\xE9e ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"cha\xEEne encod\xE9e en base64",base64url:"cha\xEEne encod\xE9e en base64url",json_string:"cha\xEEne JSON",e164:"num\xE9ro E.164",jwt:"JWT",template_literal:"entr\xE9e"},n={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`Entr\xE9e invalide : attendu instanceof ${r.expected}, re\xE7u ${s}`:`Entr\xE9e invalide : attendu ${i}, re\xE7u ${s}`}case"invalid_value":return r.values.length===1?`Entr\xE9e invalide : attendu ${U(r.values[0])}`:`Option invalide : attendu l'une des valeurs suivantes ${T(r.values,"|")}`;case"too_big":{let i=r.inclusive?"\u2264":"<",a=t(r.origin);return a?`Trop grand : attendu que ${r.origin??"la valeur"} ait ${i}${r.maximum.toString()} ${a.unit}`:`Trop grand : attendu que ${r.origin??"la valeur"} soit ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?"\u2265":">",a=t(r.origin);return a?`Trop petit : attendu que ${r.origin} ait ${i}${r.minimum.toString()} ${a.unit}`:`Trop petit : attendu que ${r.origin} soit ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Cha\xEEne invalide : doit commencer par "${i.prefix}"`:i.format==="ends_with"?`Cha\xEEne invalide : doit se terminer par "${i.suffix}"`:i.format==="includes"?`Cha\xEEne invalide : doit inclure "${i.includes}"`:i.format==="regex"?`Cha\xEEne invalide : doit correspondre au motif ${i.pattern}`:`${o[i.format]??r.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit \xEAtre un multiple de ${r.divisor}`;case"unrecognized_keys":return`Cl\xE9${r.keys.length>1?"s":""} non reconnue${r.keys.length>1?"s":""} : ${T(r.keys,", ")}`;case"invalid_key":return`Cl\xE9 invalide dans ${r.origin}`;case"invalid_union":return"Entr\xE9e invalide";case"invalid_element":return`Valeur invalide dans ${r.origin}`;default:return"Entr\xE9e invalide"}}};function KS(){return{localeError:j1()}}var L1=()=>{let e={string:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA",gender:"f"},number:{label:"\u05DE\u05E1\u05E4\u05E8",gender:"m"},boolean:{label:"\u05E2\u05E8\u05DA \u05D1\u05D5\u05DC\u05D9\u05D0\u05E0\u05D9",gender:"m"},bigint:{label:"BigInt",gender:"m"},date:{label:"\u05EA\u05D0\u05E8\u05D9\u05DA",gender:"m"},array:{label:"\u05DE\u05E2\u05E8\u05DA",gender:"m"},object:{label:"\u05D0\u05D5\u05D1\u05D9\u05D9\u05E7\u05D8",gender:"m"},null:{label:"\u05E2\u05E8\u05DA \u05E8\u05D9\u05E7 (null)",gender:"m"},undefined:{label:"\u05E2\u05E8\u05DA \u05DC\u05D0 \u05DE\u05D5\u05D2\u05D3\u05E8 (undefined)",gender:"m"},symbol:{label:"\u05E1\u05D9\u05DE\u05D1\u05D5\u05DC (Symbol)",gender:"m"},function:{label:"\u05E4\u05D5\u05E0\u05E7\u05E6\u05D9\u05D4",gender:"f"},map:{label:"\u05DE\u05E4\u05D4 (Map)",gender:"f"},set:{label:"\u05E7\u05D1\u05D5\u05E6\u05D4 (Set)",gender:"f"},file:{label:"\u05E7\u05D5\u05D1\u05E5",gender:"m"},promise:{label:"Promise",gender:"m"},NaN:{label:"NaN",gender:"m"},unknown:{label:"\u05E2\u05E8\u05DA \u05DC\u05D0 \u05D9\u05D3\u05D5\u05E2",gender:"m"},value:{label:"\u05E2\u05E8\u05DA",gender:"m"}},t={string:{unit:"\u05EA\u05D5\u05D5\u05D9\u05DD",shortLabel:"\u05E7\u05E6\u05E8",longLabel:"\u05D0\u05E8\u05D5\u05DA"},file:{unit:"\u05D1\u05D9\u05D9\u05D8\u05D9\u05DD",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"},array:{unit:"\u05E4\u05E8\u05D9\u05D8\u05D9\u05DD",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"},set:{unit:"\u05E4\u05E8\u05D9\u05D8\u05D9\u05DD",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"},number:{unit:"",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"}},o=c=>c?e[c]:void 0,n=c=>{let u=o(c);return u?u.label:c??e.unknown.label},r=c=>`\u05D4${n(c)}`,i=c=>(o(c)?.gender??"m")==="f"?"\u05E6\u05E8\u05D9\u05DB\u05D4 \u05DC\u05D4\u05D9\u05D5\u05EA":"\u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA",a=c=>c?t[c]??null:null,s={regex:{label:"\u05E7\u05DC\u05D8",gender:"m"},email:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA \u05D0\u05D9\u05DE\u05D9\u05D9\u05DC",gender:"f"},url:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA \u05E8\u05E9\u05EA",gender:"f"},emoji:{label:"\u05D0\u05D9\u05DE\u05D5\u05D2'\u05D9",gender:"m"},uuid:{label:"UUID",gender:"m"},nanoid:{label:"nanoid",gender:"m"},guid:{label:"GUID",gender:"m"},cuid:{label:"cuid",gender:"m"},cuid2:{label:"cuid2",gender:"m"},ulid:{label:"ULID",gender:"m"},xid:{label:"XID",gender:"m"},ksuid:{label:"KSUID",gender:"m"},datetime:{label:"\u05EA\u05D0\u05E8\u05D9\u05DA \u05D5\u05D6\u05DE\u05DF ISO",gender:"m"},date:{label:"\u05EA\u05D0\u05E8\u05D9\u05DA ISO",gender:"m"},time:{label:"\u05D6\u05DE\u05DF ISO",gender:"m"},duration:{label:"\u05DE\u05E9\u05DA \u05D6\u05DE\u05DF ISO",gender:"m"},ipv4:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA IPv4",gender:"f"},ipv6:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA IPv6",gender:"f"},cidrv4:{label:"\u05D8\u05D5\u05D5\u05D7 IPv4",gender:"m"},cidrv6:{label:"\u05D8\u05D5\u05D5\u05D7 IPv6",gender:"m"},base64:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D1\u05D1\u05E1\u05D9\u05E1 64",gender:"f"},base64url:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D1\u05D1\u05E1\u05D9\u05E1 64 \u05DC\u05DB\u05EA\u05D5\u05D1\u05D5\u05EA \u05E8\u05E9\u05EA",gender:"f"},json_string:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA JSON",gender:"f"},e164:{label:"\u05DE\u05E1\u05E4\u05E8 E.164",gender:"m"},jwt:{label:"JWT",gender:"m"},ends_with:{label:"\u05E7\u05DC\u05D8",gender:"m"},includes:{label:"\u05E7\u05DC\u05D8",gender:"m"},lowercase:{label:"\u05E7\u05DC\u05D8",gender:"m"},starts_with:{label:"\u05E7\u05DC\u05D8",gender:"m"},uppercase:{label:"\u05E7\u05DC\u05D8",gender:"m"}},l={nan:"NaN"};return c=>{switch(c.code){case"invalid_type":{let u=c.expected,d=l[u??""]??n(u),f=V(c.input),m=l[f]??e[f]?.label??f;return/^[A-Z]/.test(c.expected)?`\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA instanceof ${c.expected}, \u05D4\u05EA\u05E7\u05D1\u05DC ${m}`:`\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${d}, \u05D4\u05EA\u05E7\u05D1\u05DC ${m}`}case"invalid_value":{if(c.values.length===1)return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D4\u05E2\u05E8\u05DA \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA ${U(c.values[0])}`;let u=c.values.map(m=>U(m));if(c.values.length===2)return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D4\u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA \u05D4\u05DE\u05EA\u05D0\u05D9\u05DE\u05D5\u05EA \u05D4\u05DF ${u[0]} \u05D0\u05D5 ${u[1]}`;let d=u[u.length-1];return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D4\u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA \u05D4\u05DE\u05EA\u05D0\u05D9\u05DE\u05D5\u05EA \u05D4\u05DF ${u.slice(0,-1).join(", ")} \u05D0\u05D5 ${d}`}case"too_big":{let u=a(c.origin),d=r(c.origin??"value");if(c.origin==="string")return`${u?.longLabel??"\u05D0\u05E8\u05D5\u05DA"} \u05DE\u05D3\u05D9: ${d} \u05E6\u05E8\u05D9\u05DB\u05D4 \u05DC\u05D4\u05DB\u05D9\u05DC ${c.maximum.toString()} ${u?.unit??""} ${c.inclusive?"\u05D0\u05D5 \u05E4\u05D7\u05D5\u05EA":"\u05DC\u05DB\u05DC \u05D4\u05D9\u05D5\u05EA\u05E8"}`.trim();if(c.origin==="number"){let p=c.inclusive?`\u05E7\u05D8\u05DF \u05D0\u05D5 \u05E9\u05D5\u05D5\u05D4 \u05DC-${c.maximum}`:`\u05E7\u05D8\u05DF \u05DE-${c.maximum}`;return`\u05D2\u05D3\u05D5\u05DC \u05DE\u05D3\u05D9: ${d} \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${p}`}if(c.origin==="array"||c.origin==="set"){let p=c.origin==="set"?"\u05E6\u05E8\u05D9\u05DB\u05D4":"\u05E6\u05E8\u05D9\u05DA",g=c.inclusive?`${c.maximum} ${u?.unit??""} \u05D0\u05D5 \u05E4\u05D7\u05D5\u05EA`:`\u05E4\u05D7\u05D5\u05EA \u05DE-${c.maximum} ${u?.unit??""}`;return`\u05D2\u05D3\u05D5\u05DC \u05DE\u05D3\u05D9: ${d} ${p} \u05DC\u05D4\u05DB\u05D9\u05DC ${g}`.trim()}let f=c.inclusive?"<=":"<",m=i(c.origin??"value");return u?.unit?`${u.longLabel} \u05DE\u05D3\u05D9: ${d} ${m} ${f}${c.maximum.toString()} ${u.unit}`:`${u?.longLabel??"\u05D2\u05D3\u05D5\u05DC"} \u05DE\u05D3\u05D9: ${d} ${m} ${f}${c.maximum.toString()}`}case"too_small":{let u=a(c.origin),d=r(c.origin??"value");if(c.origin==="string")return`${u?.shortLabel??"\u05E7\u05E6\u05E8"} \u05DE\u05D3\u05D9: ${d} \u05E6\u05E8\u05D9\u05DB\u05D4 \u05DC\u05D4\u05DB\u05D9\u05DC ${c.minimum.toString()} ${u?.unit??""} ${c.inclusive?"\u05D0\u05D5 \u05D9\u05D5\u05EA\u05E8":"\u05DC\u05E4\u05D7\u05D5\u05EA"}`.trim();if(c.origin==="number"){let p=c.inclusive?`\u05D2\u05D3\u05D5\u05DC \u05D0\u05D5 \u05E9\u05D5\u05D5\u05D4 \u05DC-${c.minimum}`:`\u05D2\u05D3\u05D5\u05DC \u05DE-${c.minimum}`;return`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${d} \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${p}`}if(c.origin==="array"||c.origin==="set"){let p=c.origin==="set"?"\u05E6\u05E8\u05D9\u05DB\u05D4":"\u05E6\u05E8\u05D9\u05DA";if(c.minimum===1&&c.inclusive){let x=(c.origin==="set","\u05DC\u05E4\u05D7\u05D5\u05EA \u05E4\u05E8\u05D9\u05D8 \u05D0\u05D7\u05D3");return`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${d} ${p} \u05DC\u05D4\u05DB\u05D9\u05DC ${x}`}let g=c.inclusive?`${c.minimum} ${u?.unit??""} \u05D0\u05D5 \u05D9\u05D5\u05EA\u05E8`:`\u05D9\u05D5\u05EA\u05E8 \u05DE-${c.minimum} ${u?.unit??""}`;return`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${d} ${p} \u05DC\u05D4\u05DB\u05D9\u05DC ${g}`.trim()}let f=c.inclusive?">=":">",m=i(c.origin??"value");return u?.unit?`${u.shortLabel} \u05DE\u05D3\u05D9: ${d} ${m} ${f}${c.minimum.toString()} ${u.unit}`:`${u?.shortLabel??"\u05E7\u05D8\u05DF"} \u05DE\u05D3\u05D9: ${d} ${m} ${f}${c.minimum.toString()}`}case"invalid_format":{let u=c;if(u.format==="starts_with")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05EA\u05D7\u05D9\u05DC \u05D1 "${u.prefix}"`;if(u.format==="ends_with")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05E1\u05EA\u05D9\u05D9\u05DD \u05D1 "${u.suffix}"`;if(u.format==="includes")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05DB\u05DC\u05D5\u05DC "${u.includes}"`;if(u.format==="regex")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05EA\u05D0\u05D9\u05DD \u05DC\u05EA\u05D1\u05E0\u05D9\u05EA ${u.pattern}`;let d=s[u.format],f=d?.label??u.format,p=(d?.gender??"m")==="f"?"\u05EA\u05E7\u05D9\u05E0\u05D4":"\u05EA\u05E7\u05D9\u05DF";return`${f} \u05DC\u05D0 ${p}`}case"not_multiple_of":return`\u05DE\u05E1\u05E4\u05E8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA \u05DE\u05DB\u05E4\u05DC\u05D4 \u05E9\u05DC ${c.divisor}`;case"unrecognized_keys":return`\u05DE\u05E4\u05EA\u05D7${c.keys.length>1?"\u05D5\u05EA":""} \u05DC\u05D0 \u05DE\u05D6\u05D5\u05D4${c.keys.length>1?"\u05D9\u05DD":"\u05D4"}: ${T(c.keys,", ")}`;case"invalid_key":return"\u05E9\u05D3\u05D4 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF \u05D1\u05D0\u05D5\u05D1\u05D9\u05D9\u05E7\u05D8";case"invalid_union":return"\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF";case"invalid_element":return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF \u05D1${r(c.origin??"array")}`;default:return"\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF"}}};function JS(){return{localeError:L1()}}var F1=()=>{let e={string:{unit:"znakova",verb:"imati"},file:{unit:"bajtova",verb:"imati"},array:{unit:"stavki",verb:"imati"},set:{unit:"stavki",verb:"imati"}};function t(r){return e[r]??null}let o={regex:"unos",email:"email adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum i vrijeme",date:"ISO datum",time:"ISO vrijeme",duration:"ISO trajanje",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"IPv4 raspon",cidrv6:"IPv6 raspon",base64:"base64 kodirani tekst",base64url:"base64url kodirani tekst",json_string:"JSON tekst",e164:"E.164 broj",jwt:"JWT",template_literal:"unos"},n={nan:"NaN",string:"tekst",number:"broj",boolean:"boolean",array:"niz",object:"objekt",set:"skup",file:"datoteka",date:"datum",bigint:"bigint",symbol:"simbol",undefined:"undefined",null:"null",function:"funkcija",map:"mapa"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`Neispravan unos: o\u010Dekuje se instanceof ${r.expected}, a primljeno je ${s}`:`Neispravan unos: o\u010Dekuje se ${i}, a primljeno je ${s}`}case"invalid_value":return r.values.length===1?`Neispravna vrijednost: o\u010Dekivano ${U(r.values[0])}`:`Neispravna opcija: o\u010Dekivano jedno od ${T(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin),s=n[r.origin]??r.origin;return a?`Preveliko: o\u010Dekivano da ${s??"vrijednost"} ima ${i}${r.maximum.toString()} ${a.unit??"elemenata"}`:`Preveliko: o\u010Dekivano da ${s??"vrijednost"} bude ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin),s=n[r.origin]??r.origin;return a?`Premalo: o\u010Dekivano da ${s} ima ${i}${r.minimum.toString()} ${a.unit}`:`Premalo: o\u010Dekivano da ${s} bude ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Neispravan tekst: mora zapo\u010Dinjati s "${i.prefix}"`:i.format==="ends_with"?`Neispravan tekst: mora zavr\u0161avati s "${i.suffix}"`:i.format==="includes"?`Neispravan tekst: mora sadr\u017Eavati "${i.includes}"`:i.format==="regex"?`Neispravan tekst: mora odgovarati uzorku ${i.pattern}`:`Neispravna ${o[i.format]??r.format}`}case"not_multiple_of":return`Neispravan broj: mora biti vi\u0161ekratnik od ${r.divisor}`;case"unrecognized_keys":return`Neprepoznat${r.keys.length>1?"i klju\u010Devi":" klju\u010D"}: ${T(r.keys,", ")}`;case"invalid_key":return`Neispravan klju\u010D u ${n[r.origin]??r.origin}`;case"invalid_union":return"Neispravan unos";case"invalid_element":return`Neispravna vrijednost u ${n[r.origin]??r.origin}`;default:return"Neispravan unos"}}};function YS(){return{localeError:F1()}}var U1=()=>{let e={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"}};function t(r){return e[r]??null}let o={regex:"bemenet",email:"email c\xEDm",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO id\u0151b\xE9lyeg",date:"ISO d\xE1tum",time:"ISO id\u0151",duration:"ISO id\u0151intervallum",ipv4:"IPv4 c\xEDm",ipv6:"IPv6 c\xEDm",cidrv4:"IPv4 tartom\xE1ny",cidrv6:"IPv6 tartom\xE1ny",base64:"base64-k\xF3dolt string",base64url:"base64url-k\xF3dolt string",json_string:"JSON string",e164:"E.164 sz\xE1m",jwt:"JWT",template_literal:"bemenet"},n={nan:"NaN",number:"sz\xE1m",array:"t\xF6mb"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k instanceof ${r.expected}, a kapott \xE9rt\xE9k ${s}`:`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${i}, a kapott \xE9rt\xE9k ${s}`}case"invalid_value":return r.values.length===1?`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${U(r.values[0])}`:`\xC9rv\xE9nytelen opci\xF3: valamelyik \xE9rt\xE9k v\xE1rt ${T(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`T\xFAl nagy: ${r.origin??"\xE9rt\xE9k"} m\xE9rete t\xFAl nagy ${i}${r.maximum.toString()} ${a.unit??"elem"}`:`T\xFAl nagy: a bemeneti \xE9rt\xE9k ${r.origin??"\xE9rt\xE9k"} t\xFAl nagy: ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`T\xFAl kicsi: a bemeneti \xE9rt\xE9k ${r.origin} m\xE9rete t\xFAl kicsi ${i}${r.minimum.toString()} ${a.unit}`:`T\xFAl kicsi: a bemeneti \xE9rt\xE9k ${r.origin} t\xFAl kicsi ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\xC9rv\xE9nytelen string: "${i.prefix}" \xE9rt\xE9kkel kell kezd\u0151dnie`:i.format==="ends_with"?`\xC9rv\xE9nytelen string: "${i.suffix}" \xE9rt\xE9kkel kell v\xE9gz\u0151dnie`:i.format==="includes"?`\xC9rv\xE9nytelen string: "${i.includes}" \xE9rt\xE9ket kell tartalmaznia`:i.format==="regex"?`\xC9rv\xE9nytelen string: ${i.pattern} mint\xE1nak kell megfelelnie`:`\xC9rv\xE9nytelen ${o[i.format]??r.format}`}case"not_multiple_of":return`\xC9rv\xE9nytelen sz\xE1m: ${r.divisor} t\xF6bbsz\xF6r\xF6s\xE9nek kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${r.keys.length>1?"s":""}: ${T(r.keys,", ")}`;case"invalid_key":return`\xC9rv\xE9nytelen kulcs ${r.origin}`;case"invalid_union":return"\xC9rv\xE9nytelen bemenet";case"invalid_element":return`\xC9rv\xE9nytelen \xE9rt\xE9k: ${r.origin}`;default:return"\xC9rv\xE9nytelen bemenet"}}};function QS(){return{localeError:U1()}}function eC(e,t,o){return Math.abs(e)===1?t:o}function ji(e){if(!e)return"";let t=["\u0561","\u0565","\u0568","\u056B","\u0578","\u0578\u0582","\u0585"],o=e[e.length-1];return e+(t.includes(o)?"\u0576":"\u0568")}var V1=()=>{let e={string:{unit:{one:"\u0576\u0577\u0561\u0576",many:"\u0576\u0577\u0561\u0576\u0576\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"},file:{unit:{one:"\u0562\u0561\u0575\u0569",many:"\u0562\u0561\u0575\u0569\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"},array:{unit:{one:"\u057F\u0561\u0580\u0580",many:"\u057F\u0561\u0580\u0580\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"},set:{unit:{one:"\u057F\u0561\u0580\u0580",many:"\u057F\u0561\u0580\u0580\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"}};function t(r){return e[r]??null}let o={regex:"\u0574\u0578\u0582\u057F\u0584",email:"\u0567\u056C. \u0570\u0561\u057D\u0581\u0565",url:"URL",emoji:"\u0567\u0574\u0578\u057B\u056B",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0561\u0574\u057D\u0561\u0569\u056B\u057E \u0587 \u056A\u0561\u0574",date:"ISO \u0561\u0574\u057D\u0561\u0569\u056B\u057E",time:"ISO \u056A\u0561\u0574",duration:"ISO \u057F\u0587\u0578\u0572\u0578\u0582\u0569\u0575\u0578\u0582\u0576",ipv4:"IPv4 \u0570\u0561\u057D\u0581\u0565",ipv6:"IPv6 \u0570\u0561\u057D\u0581\u0565",cidrv4:"IPv4 \u0574\u056B\u057B\u0561\u056F\u0561\u0575\u0584",cidrv6:"IPv6 \u0574\u056B\u057B\u0561\u056F\u0561\u0575\u0584",base64:"base64 \u0571\u0587\u0561\u0579\u0561\u0583\u0578\u057E \u057F\u0578\u0572",base64url:"base64url \u0571\u0587\u0561\u0579\u0561\u0583\u0578\u057E \u057F\u0578\u0572",json_string:"JSON \u057F\u0578\u0572",e164:"E.164 \u0570\u0561\u0574\u0561\u0580",jwt:"JWT",template_literal:"\u0574\u0578\u0582\u057F\u0584"},n={nan:"NaN",number:"\u0569\u056B\u057E",array:"\u0566\u0561\u0576\u0563\u057E\u0561\u056E"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 instanceof ${r.expected}, \u057D\u057F\u0561\u0581\u057E\u0565\u056C \u0567 ${s}`:`\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 ${i}, \u057D\u057F\u0561\u0581\u057E\u0565\u056C \u0567 ${s}`}case"invalid_value":return r.values.length===1?`\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 ${U(r.values[1])}`:`\u054D\u056D\u0561\u056C \u057F\u0561\u0580\u0562\u0565\u0580\u0561\u056F\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 \u0570\u0565\u057F\u0587\u0575\u0561\u056C\u0576\u0565\u0580\u056B\u0581 \u0574\u0565\u056F\u0568\u055D ${T(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);if(a){let s=Number(r.maximum),l=eC(s,a.unit.one,a.unit.many);return`\u0549\u0561\u0583\u0561\u0566\u0561\u0576\u0581 \u0574\u0565\u056E \u0561\u0580\u056A\u0565\u0584\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567, \u0578\u0580 ${ji(r.origin??"\u0561\u0580\u056A\u0565\u0584")} \u056F\u0578\u0582\u0576\u0565\u0576\u0561 ${i}${r.maximum.toString()} ${l}`}return`\u0549\u0561\u0583\u0561\u0566\u0561\u0576\u0581 \u0574\u0565\u056E \u0561\u0580\u056A\u0565\u0584\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567, \u0578\u0580 ${ji(r.origin??"\u0561\u0580\u056A\u0565\u0584")} \u056C\u056B\u0576\u056B ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);if(a){let s=Number(r.minimum),l=eC(s,a.unit.one,a.unit.many);return`\u0549\u0561\u0583\u0561\u0566\u0561\u0576\u0581 \u0583\u0578\u0584\u0580 \u0561\u0580\u056A\u0565\u0584\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567, \u0578\u0580 ${ji(r.origin)} \u056F\u0578\u0582\u0576\u0565\u0576\u0561 ${i}${r.minimum.toString()} ${l}`}return`\u0549\u0561\u0583\u0561\u0566\u0561\u0576\u0581 \u0583\u0578\u0584\u0580 \u0561\u0580\u056A\u0565\u0584\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567, \u0578\u0580 ${ji(r.origin)} \u056C\u056B\u0576\u056B ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u054D\u056D\u0561\u056C \u057F\u0578\u0572\u2024 \u057A\u0565\u057F\u0584 \u0567 \u057D\u056F\u057D\u057E\u056B "${i.prefix}"-\u0578\u057E`:i.format==="ends_with"?`\u054D\u056D\u0561\u056C \u057F\u0578\u0572\u2024 \u057A\u0565\u057F\u0584 \u0567 \u0561\u057E\u0561\u0580\u057F\u057E\u056B "${i.suffix}"-\u0578\u057E`:i.format==="includes"?`\u054D\u056D\u0561\u056C \u057F\u0578\u0572\u2024 \u057A\u0565\u057F\u0584 \u0567 \u057A\u0561\u0580\u0578\u0582\u0576\u0561\u056F\u056B "${i.includes}"`:i.format==="regex"?`\u054D\u056D\u0561\u056C \u057F\u0578\u0572\u2024 \u057A\u0565\u057F\u0584 \u0567 \u0570\u0561\u0574\u0561\u057A\u0561\u057F\u0561\u057D\u056D\u0561\u0576\u056B ${i.pattern} \u0571\u0587\u0561\u0579\u0561\u0583\u056B\u0576`:`\u054D\u056D\u0561\u056C ${o[i.format]??r.format}`}case"not_multiple_of":return`\u054D\u056D\u0561\u056C \u0569\u056B\u057E\u2024 \u057A\u0565\u057F\u0584 \u0567 \u0562\u0561\u0566\u0574\u0561\u057A\u0561\u057F\u056B\u056F \u056C\u056B\u0576\u056B ${r.divisor}-\u056B`;case"unrecognized_keys":return`\u0549\u0573\u0561\u0576\u0561\u0579\u057E\u0561\u056E \u0562\u0561\u0576\u0561\u056C\u056B${r.keys.length>1?"\u0576\u0565\u0580":""}. ${T(r.keys,", ")}`;case"invalid_key":return`\u054D\u056D\u0561\u056C \u0562\u0561\u0576\u0561\u056C\u056B ${ji(r.origin)}-\u0578\u0582\u0574`;case"invalid_union":return"\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574";case"invalid_element":return`\u054D\u056D\u0561\u056C \u0561\u0580\u056A\u0565\u0584 ${ji(r.origin)}-\u0578\u0582\u0574`;default:return"\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574"}}};function tC(){return{localeError:V1()}}var B1=()=>{let e={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"}};function t(r){return e[r]??null}let o={regex:"input",email:"alamat email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tanggal dan waktu format ISO",date:"tanggal format ISO",time:"jam format ISO",duration:"durasi format ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"rentang alamat IPv4",cidrv6:"rentang alamat IPv6",base64:"string dengan enkode base64",base64url:"string dengan enkode base64url",json_string:"string JSON",e164:"angka E.164",jwt:"JWT",template_literal:"input"},n={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`Input tidak valid: diharapkan instanceof ${r.expected}, diterima ${s}`:`Input tidak valid: diharapkan ${i}, diterima ${s}`}case"invalid_value":return r.values.length===1?`Input tidak valid: diharapkan ${U(r.values[0])}`:`Pilihan tidak valid: diharapkan salah satu dari ${T(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`Terlalu besar: diharapkan ${r.origin??"value"} memiliki ${i}${r.maximum.toString()} ${a.unit??"elemen"}`:`Terlalu besar: diharapkan ${r.origin??"value"} menjadi ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`Terlalu kecil: diharapkan ${r.origin} memiliki ${i}${r.minimum.toString()} ${a.unit}`:`Terlalu kecil: diharapkan ${r.origin} menjadi ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`String tidak valid: harus dimulai dengan "${i.prefix}"`:i.format==="ends_with"?`String tidak valid: harus berakhir dengan "${i.suffix}"`:i.format==="includes"?`String tidak valid: harus menyertakan "${i.includes}"`:i.format==="regex"?`String tidak valid: harus sesuai pola ${i.pattern}`:`${o[i.format]??r.format} tidak valid`}case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${r.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${r.keys.length>1?"s":""}: ${T(r.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${r.origin}`;case"invalid_union":return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${r.origin}`;default:return"Input tidak valid"}}};function rC(){return{localeError:B1()}}var H1=()=>{let e={string:{unit:"stafi",verb:"a\xF0 hafa"},file:{unit:"b\xE6ti",verb:"a\xF0 hafa"},array:{unit:"hluti",verb:"a\xF0 hafa"},set:{unit:"hluti",verb:"a\xF0 hafa"}};function t(r){return e[r]??null}let o={regex:"gildi",email:"netfang",url:"vefsl\xF3\xF0",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dagsetning og t\xEDmi",date:"ISO dagsetning",time:"ISO t\xEDmi",duration:"ISO t\xEDmalengd",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded strengur",base64url:"base64url-encoded strengur",json_string:"JSON strengur",e164:"E.164 t\xF6lugildi",jwt:"JWT",template_literal:"gildi"},n={nan:"NaN",number:"n\xFAmer",array:"fylki"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`Rangt gildi: \xDE\xFA sl\xF3st inn ${s} \xFEar sem \xE1 a\xF0 vera instanceof ${r.expected}`:`Rangt gildi: \xDE\xFA sl\xF3st inn ${s} \xFEar sem \xE1 a\xF0 vera ${i}`}case"invalid_value":return r.values.length===1?`Rangt gildi: gert r\xE1\xF0 fyrir ${U(r.values[0])}`:`\xD3gilt val: m\xE1 vera eitt af eftirfarandi ${T(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`Of st\xF3rt: gert er r\xE1\xF0 fyrir a\xF0 ${r.origin??"gildi"} hafi ${i}${r.maximum.toString()} ${a.unit??"hluti"}`:`Of st\xF3rt: gert er r\xE1\xF0 fyrir a\xF0 ${r.origin??"gildi"} s\xE9 ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`Of l\xEDti\xF0: gert er r\xE1\xF0 fyrir a\xF0 ${r.origin} hafi ${i}${r.minimum.toString()} ${a.unit}`:`Of l\xEDti\xF0: gert er r\xE1\xF0 fyrir a\xF0 ${r.origin} s\xE9 ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\xD3gildur strengur: ver\xF0ur a\xF0 byrja \xE1 "${i.prefix}"`:i.format==="ends_with"?`\xD3gildur strengur: ver\xF0ur a\xF0 enda \xE1 "${i.suffix}"`:i.format==="includes"?`\xD3gildur strengur: ver\xF0ur a\xF0 innihalda "${i.includes}"`:i.format==="regex"?`\xD3gildur strengur: ver\xF0ur a\xF0 fylgja mynstri ${i.pattern}`:`Rangt ${o[i.format]??r.format}`}case"not_multiple_of":return`R\xF6ng tala: ver\xF0ur a\xF0 vera margfeldi af ${r.divisor}`;case"unrecognized_keys":return`\xD3\xFEekkt ${r.keys.length>1?"ir lyklar":"ur lykill"}: ${T(r.keys,", ")}`;case"invalid_key":return`Rangur lykill \xED ${r.origin}`;case"invalid_union":return"Rangt gildi";case"invalid_element":return`Rangt gildi \xED ${r.origin}`;default:return"Rangt gildi"}}};function oC(){return{localeError:H1()}}var Z1=()=>{let e={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"}};function t(r){return e[r]??null}let o={regex:"input",email:"indirizzo email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e ora ISO",date:"data ISO",time:"ora ISO",duration:"durata ISO",ipv4:"indirizzo IPv4",ipv6:"indirizzo IPv6",cidrv4:"intervallo IPv4",cidrv6:"intervallo IPv6",base64:"stringa codificata in base64",base64url:"URL codificata in base64",json_string:"stringa JSON",e164:"numero E.164",jwt:"JWT",template_literal:"input"},n={nan:"NaN",number:"numero",array:"vettore"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`Input non valido: atteso instanceof ${r.expected}, ricevuto ${s}`:`Input non valido: atteso ${i}, ricevuto ${s}`}case"invalid_value":return r.values.length===1?`Input non valido: atteso ${U(r.values[0])}`:`Opzione non valida: atteso uno tra ${T(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`Troppo grande: ${r.origin??"valore"} deve avere ${i}${r.maximum.toString()} ${a.unit??"elementi"}`:`Troppo grande: ${r.origin??"valore"} deve essere ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`Troppo piccolo: ${r.origin} deve avere ${i}${r.minimum.toString()} ${a.unit}`:`Troppo piccolo: ${r.origin} deve essere ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Stringa non valida: deve iniziare con "${i.prefix}"`:i.format==="ends_with"?`Stringa non valida: deve terminare con "${i.suffix}"`:i.format==="includes"?`Stringa non valida: deve includere "${i.includes}"`:i.format==="regex"?`Stringa non valida: deve corrispondere al pattern ${i.pattern}`:`Input non valido: ${o[i.format]??r.format}`}case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${r.divisor}`;case"unrecognized_keys":return`Chiav${r.keys.length>1?"i":"e"} non riconosciut${r.keys.length>1?"e":"a"}: ${T(r.keys,", ")}`;case"invalid_key":return`Chiave non valida in ${r.origin}`;case"invalid_union":return"Input non valido";case"invalid_element":return`Valore non valido in ${r.origin}`;default:return"Input non valido"}}};function nC(){return{localeError:Z1()}}var W1=()=>{let e={string:{unit:"\u6587\u5B57",verb:"\u3067\u3042\u308B"},file:{unit:"\u30D0\u30A4\u30C8",verb:"\u3067\u3042\u308B"},array:{unit:"\u8981\u7D20",verb:"\u3067\u3042\u308B"},set:{unit:"\u8981\u7D20",verb:"\u3067\u3042\u308B"}};function t(r){return e[r]??null}let o={regex:"\u5165\u529B\u5024",email:"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9",url:"URL",emoji:"\u7D75\u6587\u5B57",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO\u65E5\u6642",date:"ISO\u65E5\u4ED8",time:"ISO\u6642\u523B",duration:"ISO\u671F\u9593",ipv4:"IPv4\u30A2\u30C9\u30EC\u30B9",ipv6:"IPv6\u30A2\u30C9\u30EC\u30B9",cidrv4:"IPv4\u7BC4\u56F2",cidrv6:"IPv6\u7BC4\u56F2",base64:"base64\u30A8\u30F3\u30B3\u30FC\u30C9\u6587\u5B57\u5217",base64url:"base64url\u30A8\u30F3\u30B3\u30FC\u30C9\u6587\u5B57\u5217",json_string:"JSON\u6587\u5B57\u5217",e164:"E.164\u756A\u53F7",jwt:"JWT",template_literal:"\u5165\u529B\u5024"},n={nan:"NaN",number:"\u6570\u5024",array:"\u914D\u5217"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`\u7121\u52B9\u306A\u5165\u529B: instanceof ${r.expected}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F\u304C\u3001${s}\u304C\u5165\u529B\u3055\u308C\u307E\u3057\u305F`:`\u7121\u52B9\u306A\u5165\u529B: ${i}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F\u304C\u3001${s}\u304C\u5165\u529B\u3055\u308C\u307E\u3057\u305F`}case"invalid_value":return r.values.length===1?`\u7121\u52B9\u306A\u5165\u529B: ${U(r.values[0])}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F`:`\u7121\u52B9\u306A\u9078\u629E: ${T(r.values,"\u3001")}\u306E\u3044\u305A\u308C\u304B\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`;case"too_big":{let i=r.inclusive?"\u4EE5\u4E0B\u3067\u3042\u308B":"\u3088\u308A\u5C0F\u3055\u3044",a=t(r.origin);return a?`\u5927\u304D\u3059\u304E\u308B\u5024: ${r.origin??"\u5024"}\u306F${r.maximum.toString()}${a.unit??"\u8981\u7D20"}${i}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u5927\u304D\u3059\u304E\u308B\u5024: ${r.origin??"\u5024"}\u306F${r.maximum.toString()}${i}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`}case"too_small":{let i=r.inclusive?"\u4EE5\u4E0A\u3067\u3042\u308B":"\u3088\u308A\u5927\u304D\u3044",a=t(r.origin);return a?`\u5C0F\u3055\u3059\u304E\u308B\u5024: ${r.origin}\u306F${r.minimum.toString()}${a.unit}${i}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u5C0F\u3055\u3059\u304E\u308B\u5024: ${r.origin}\u306F${r.minimum.toString()}${i}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${i.prefix}"\u3067\u59CB\u307E\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:i.format==="ends_with"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${i.suffix}"\u3067\u7D42\u308F\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:i.format==="includes"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${i.includes}"\u3092\u542B\u3080\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:i.format==="regex"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: \u30D1\u30BF\u30FC\u30F3${i.pattern}\u306B\u4E00\u81F4\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u7121\u52B9\u306A${o[i.format]??r.format}`}case"not_multiple_of":return`\u7121\u52B9\u306A\u6570\u5024: ${r.divisor}\u306E\u500D\u6570\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`;case"unrecognized_keys":return`\u8A8D\u8B58\u3055\u308C\u3066\u3044\u306A\u3044\u30AD\u30FC${r.keys.length>1?"\u7FA4":""}: ${T(r.keys,"\u3001")}`;case"invalid_key":return`${r.origin}\u5185\u306E\u7121\u52B9\u306A\u30AD\u30FC`;case"invalid_union":return"\u7121\u52B9\u306A\u5165\u529B";case"invalid_element":return`${r.origin}\u5185\u306E\u7121\u52B9\u306A\u5024`;default:return"\u7121\u52B9\u306A\u5165\u529B"}}};function iC(){return{localeError:W1()}}var G1=()=>{let e={string:{unit:"\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"},file:{unit:"\u10D1\u10D0\u10D8\u10E2\u10D8",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"},array:{unit:"\u10D4\u10DA\u10D4\u10DB\u10D4\u10DC\u10E2\u10D8",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"},set:{unit:"\u10D4\u10DA\u10D4\u10DB\u10D4\u10DC\u10E2\u10D8",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"}};function t(r){return e[r]??null}let o={regex:"\u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0",email:"\u10D4\u10DA-\u10E4\u10DD\u10E1\u10E2\u10D8\u10E1 \u10DB\u10D8\u10E1\u10D0\u10DB\u10D0\u10E0\u10D7\u10D8",url:"URL",emoji:"\u10D4\u10DB\u10DD\u10EF\u10D8",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u10D7\u10D0\u10E0\u10D8\u10E6\u10D8-\u10D3\u10E0\u10DD",date:"\u10D7\u10D0\u10E0\u10D8\u10E6\u10D8",time:"\u10D3\u10E0\u10DD",duration:"\u10EE\u10D0\u10DC\u10D2\u10E0\u10EB\u10DA\u10D8\u10D5\u10DD\u10D1\u10D0",ipv4:"IPv4 \u10DB\u10D8\u10E1\u10D0\u10DB\u10D0\u10E0\u10D7\u10D8",ipv6:"IPv6 \u10DB\u10D8\u10E1\u10D0\u10DB\u10D0\u10E0\u10D7\u10D8",cidrv4:"IPv4 \u10D3\u10D8\u10D0\u10DE\u10D0\u10D6\u10DD\u10DC\u10D8",cidrv6:"IPv6 \u10D3\u10D8\u10D0\u10DE\u10D0\u10D6\u10DD\u10DC\u10D8",base64:"base64-\u10D9\u10DD\u10D3\u10D8\u10E0\u10D4\u10D1\u10E3\u10DA\u10D8 \u10D5\u10D4\u10DA\u10D8",base64url:"base64url-\u10D9\u10DD\u10D3\u10D8\u10E0\u10D4\u10D1\u10E3\u10DA\u10D8 \u10D5\u10D4\u10DA\u10D8",json_string:"JSON \u10D5\u10D4\u10DA\u10D8",e164:"E.164 \u10DC\u10DD\u10DB\u10D4\u10E0\u10D8",jwt:"JWT",template_literal:"\u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0"},n={nan:"NaN",number:"\u10E0\u10D8\u10EA\u10EE\u10D5\u10D8",string:"\u10D5\u10D4\u10DA\u10D8",boolean:"\u10D1\u10E3\u10DA\u10D4\u10D0\u10DC\u10D8",function:"\u10E4\u10E3\u10DC\u10E5\u10EA\u10D8\u10D0",array:"\u10DB\u10D0\u10E1\u10D8\u10D5\u10D8"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 instanceof ${r.expected}, \u10DB\u10D8\u10E6\u10D4\u10D1\u10E3\u10DA\u10D8 ${s}`:`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${i}, \u10DB\u10D8\u10E6\u10D4\u10D1\u10E3\u10DA\u10D8 ${s}`}case"invalid_value":return r.values.length===1?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${U(r.values[0])}`:`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D5\u10D0\u10E0\u10D8\u10D0\u10DC\u10E2\u10D8: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8\u10D0 \u10D4\u10E0\u10D7-\u10D4\u10E0\u10D7\u10D8 ${T(r.values,"|")}-\u10D3\u10D0\u10DC`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10D3\u10D8\u10D3\u10D8: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${r.origin??"\u10DB\u10DC\u10D8\u10E8\u10D5\u10DC\u10D4\u10DA\u10DD\u10D1\u10D0"} ${a.verb} ${i}${r.maximum.toString()} ${a.unit}`:`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10D3\u10D8\u10D3\u10D8: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${r.origin??"\u10DB\u10DC\u10D8\u10E8\u10D5\u10DC\u10D4\u10DA\u10DD\u10D1\u10D0"} \u10D8\u10E7\u10DD\u10E1 ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10DE\u10D0\u10E2\u10D0\u10E0\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${r.origin} ${a.verb} ${i}${r.minimum.toString()} ${a.unit}`:`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10DE\u10D0\u10E2\u10D0\u10E0\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${r.origin} \u10D8\u10E7\u10DD\u10E1 ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D5\u10D4\u10DA\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10D8\u10EC\u10E7\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 "${i.prefix}"-\u10D8\u10D7`:i.format==="ends_with"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D5\u10D4\u10DA\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10DB\u10D7\u10D0\u10D5\u10E0\u10D3\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 "${i.suffix}"-\u10D8\u10D7`:i.format==="includes"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D5\u10D4\u10DA\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1 "${i.includes}"-\u10E1`:i.format==="regex"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D5\u10D4\u10DA\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D4\u10E1\u10D0\u10D1\u10D0\u10DB\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 \u10E8\u10D0\u10D1\u10DA\u10DD\u10DC\u10E1 ${i.pattern}`:`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 ${o[i.format]??r.format}`}case"not_multiple_of":return`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E0\u10D8\u10EA\u10EE\u10D5\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10D8\u10E7\u10DD\u10E1 ${r.divisor}-\u10D8\u10E1 \u10EF\u10D4\u10E0\u10D0\u10D3\u10D8`;case"unrecognized_keys":return`\u10E3\u10EA\u10DC\u10DD\u10D1\u10D8 \u10D2\u10D0\u10E1\u10D0\u10E6\u10D4\u10D1${r.keys.length>1?"\u10D4\u10D1\u10D8":"\u10D8"}: ${T(r.keys,", ")}`;case"invalid_key":return`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D2\u10D0\u10E1\u10D0\u10E6\u10D4\u10D1\u10D8 ${r.origin}-\u10E8\u10D8`;case"invalid_union":return"\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0";case"invalid_element":return`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10DB\u10DC\u10D8\u10E8\u10D5\u10DC\u10D4\u10DA\u10DD\u10D1\u10D0 ${r.origin}-\u10E8\u10D8`;default:return"\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0"}}};function aC(){return{localeError:G1()}}var q1=()=>{let e={string:{unit:"\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},file:{unit:"\u1794\u17C3",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},array:{unit:"\u1792\u17B6\u178F\u17BB",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},set:{unit:"\u1792\u17B6\u178F\u17BB",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"}};function t(r){return e[r]??null}let o={regex:"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B",email:"\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793\u17A2\u17CA\u17B8\u1798\u17C2\u179B",url:"URL",emoji:"\u179F\u1789\u17D2\u1789\u17B6\u17A2\u17B6\u179A\u1798\u17D2\u1798\u178E\u17CD",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u1780\u17B6\u179B\u1794\u179A\u17B7\u1785\u17D2\u1786\u17C1\u1791 \u1793\u17B7\u1784\u1798\u17C9\u17C4\u1784 ISO",date:"\u1780\u17B6\u179B\u1794\u179A\u17B7\u1785\u17D2\u1786\u17C1\u1791 ISO",time:"\u1798\u17C9\u17C4\u1784 ISO",duration:"\u179A\u1799\u17C8\u1796\u17C1\u179B ISO",ipv4:"\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv4",ipv6:"\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv6",cidrv4:"\u178A\u17C2\u1793\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv4",cidrv6:"\u178A\u17C2\u1793\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv6",base64:"\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u17A2\u17CA\u17B7\u1780\u17BC\u178A base64",base64url:"\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u17A2\u17CA\u17B7\u1780\u17BC\u178A base64url",json_string:"\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A JSON",e164:"\u179B\u17C1\u1781 E.164",jwt:"JWT",template_literal:"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B"},n={nan:"NaN",number:"\u179B\u17C1\u1781",array:"\u17A2\u17B6\u179A\u17C1 (Array)",null:"\u1782\u17D2\u1798\u17B6\u1793\u178F\u1798\u17D2\u179B\u17C3 (null)"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A instanceof ${r.expected} \u1794\u17C9\u17BB\u1793\u17D2\u178F\u17C2\u1791\u1791\u17BD\u179B\u1794\u17B6\u1793 ${s}`:`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${i} \u1794\u17C9\u17BB\u1793\u17D2\u178F\u17C2\u1791\u1791\u17BD\u179B\u1794\u17B6\u1793 ${s}`}case"invalid_value":return r.values.length===1?`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${U(r.values[0])}`:`\u1787\u1798\u17D2\u179A\u17BE\u179F\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1787\u17B6\u1798\u17BD\u1799\u1780\u17D2\u1793\u17BB\u1784\u1785\u17C6\u178E\u17C4\u1798 ${T(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`\u1792\u17C6\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${r.origin??"\u178F\u1798\u17D2\u179B\u17C3"} ${i} ${r.maximum.toString()} ${a.unit??"\u1792\u17B6\u178F\u17BB"}`:`\u1792\u17C6\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${r.origin??"\u178F\u1798\u17D2\u179B\u17C3"} ${i} ${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`\u178F\u17BC\u1785\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${r.origin} ${i} ${r.minimum.toString()} ${a.unit}`:`\u178F\u17BC\u1785\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${r.origin} ${i} ${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1785\u17B6\u1794\u17CB\u1795\u17D2\u178F\u17BE\u1798\u178A\u17C4\u1799 "${i.prefix}"`:i.format==="ends_with"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1794\u1789\u17D2\u1785\u1794\u17CB\u178A\u17C4\u1799 "${i.suffix}"`:i.format==="includes"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1798\u17B6\u1793 "${i.includes}"`:i.format==="regex"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u178F\u17C2\u1795\u17D2\u1782\u17BC\u1795\u17D2\u1782\u1784\u1793\u17B9\u1784\u1791\u1798\u17D2\u179A\u1784\u17CB\u178A\u17C2\u179B\u1794\u17B6\u1793\u1780\u17C6\u178E\u178F\u17CB ${i.pattern}`:`\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 ${o[i.format]??r.format}`}case"not_multiple_of":return`\u179B\u17C1\u1781\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u178F\u17C2\u1787\u17B6\u1796\u17A0\u17BB\u1782\u17BB\u178E\u1793\u17C3 ${r.divisor}`;case"unrecognized_keys":return`\u179A\u1780\u1783\u17BE\u1789\u179F\u17C4\u1798\u17B7\u1793\u179F\u17D2\u1782\u17B6\u179B\u17CB\u17D6 ${T(r.keys,", ")}`;case"invalid_key":return`\u179F\u17C4\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u1793\u17C5\u1780\u17D2\u1793\u17BB\u1784 ${r.origin}`;case"invalid_union":return"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C";case"invalid_element":return`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u1793\u17C5\u1780\u17D2\u1793\u17BB\u1784 ${r.origin}`;default:return"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C"}}};function nl(){return{localeError:q1()}}function sC(){return nl()}var X1=()=>{let e={string:{unit:"\uBB38\uC790",verb:"to have"},file:{unit:"\uBC14\uC774\uD2B8",verb:"to have"},array:{unit:"\uAC1C",verb:"to have"},set:{unit:"\uAC1C",verb:"to have"}};function t(r){return e[r]??null}let o={regex:"\uC785\uB825",email:"\uC774\uBA54\uC77C \uC8FC\uC18C",url:"URL",emoji:"\uC774\uBAA8\uC9C0",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \uB0A0\uC9DC\uC2DC\uAC04",date:"ISO \uB0A0\uC9DC",time:"ISO \uC2DC\uAC04",duration:"ISO \uAE30\uAC04",ipv4:"IPv4 \uC8FC\uC18C",ipv6:"IPv6 \uC8FC\uC18C",cidrv4:"IPv4 \uBC94\uC704",cidrv6:"IPv6 \uBC94\uC704",base64:"base64 \uC778\uCF54\uB529 \uBB38\uC790\uC5F4",base64url:"base64url \uC778\uCF54\uB529 \uBB38\uC790\uC5F4",json_string:"JSON \uBB38\uC790\uC5F4",e164:"E.164 \uBC88\uD638",jwt:"JWT",template_literal:"\uC785\uB825"},n={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`\uC798\uBABB\uB41C \uC785\uB825: \uC608\uC0C1 \uD0C0\uC785\uC740 instanceof ${r.expected}, \uBC1B\uC740 \uD0C0\uC785\uC740 ${s}\uC785\uB2C8\uB2E4`:`\uC798\uBABB\uB41C \uC785\uB825: \uC608\uC0C1 \uD0C0\uC785\uC740 ${i}, \uBC1B\uC740 \uD0C0\uC785\uC740 ${s}\uC785\uB2C8\uB2E4`}case"invalid_value":return r.values.length===1?`\uC798\uBABB\uB41C \uC785\uB825: \uAC12\uC740 ${U(r.values[0])} \uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4`:`\uC798\uBABB\uB41C \uC635\uC158: ${T(r.values,"\uB610\uB294 ")} \uC911 \uD558\uB098\uC5EC\uC57C \uD569\uB2C8\uB2E4`;case"too_big":{let i=r.inclusive?"\uC774\uD558":"\uBBF8\uB9CC",a=i==="\uBBF8\uB9CC"?"\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4":"\uC5EC\uC57C \uD569\uB2C8\uB2E4",s=t(r.origin),l=s?.unit??"\uC694\uC18C";return s?`${r.origin??"\uAC12"}\uC774 \uB108\uBB34 \uD07D\uB2C8\uB2E4: ${r.maximum.toString()}${l} ${i}${a}`:`${r.origin??"\uAC12"}\uC774 \uB108\uBB34 \uD07D\uB2C8\uB2E4: ${r.maximum.toString()} ${i}${a}`}case"too_small":{let i=r.inclusive?"\uC774\uC0C1":"\uCD08\uACFC",a=i==="\uC774\uC0C1"?"\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4":"\uC5EC\uC57C \uD569\uB2C8\uB2E4",s=t(r.origin),l=s?.unit??"\uC694\uC18C";return s?`${r.origin??"\uAC12"}\uC774 \uB108\uBB34 \uC791\uC2B5\uB2C8\uB2E4: ${r.minimum.toString()}${l} ${i}${a}`:`${r.origin??"\uAC12"}\uC774 \uB108\uBB34 \uC791\uC2B5\uB2C8\uB2E4: ${r.minimum.toString()} ${i}${a}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${i.prefix}"(\uC73C)\uB85C \uC2DC\uC791\uD574\uC57C \uD569\uB2C8\uB2E4`:i.format==="ends_with"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${i.suffix}"(\uC73C)\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4`:i.format==="includes"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${i.includes}"\uC744(\uB97C) \uD3EC\uD568\uD574\uC57C \uD569\uB2C8\uB2E4`:i.format==="regex"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: \uC815\uADDC\uC2DD ${i.pattern} \uD328\uD134\uACFC \uC77C\uCE58\uD574\uC57C \uD569\uB2C8\uB2E4`:`\uC798\uBABB\uB41C ${o[i.format]??r.format}`}case"not_multiple_of":return`\uC798\uBABB\uB41C \uC22B\uC790: ${r.divisor}\uC758 \uBC30\uC218\uC5EC\uC57C \uD569\uB2C8\uB2E4`;case"unrecognized_keys":return`\uC778\uC2DD\uD560 \uC218 \uC5C6\uB294 \uD0A4: ${T(r.keys,", ")}`;case"invalid_key":return`\uC798\uBABB\uB41C \uD0A4: ${r.origin}`;case"invalid_union":return"\uC798\uBABB\uB41C \uC785\uB825";case"invalid_element":return`\uC798\uBABB\uB41C \uAC12: ${r.origin}`;default:return"\uC798\uBABB\uB41C \uC785\uB825"}}};function cC(){return{localeError:X1()}}var $s=e=>e.charAt(0).toUpperCase()+e.slice(1);function lC(e){let t=Math.abs(e),o=t%10,n=t%100;return n>=11&&n<=19||o===0?"many":o===1?"one":"few"}var K1=()=>{let e={string:{unit:{one:"simbolis",few:"simboliai",many:"simboli\u0173"},verb:{smaller:{inclusive:"turi b\u016Bti ne ilgesn\u0117 kaip",notInclusive:"turi b\u016Bti trumpesn\u0117 kaip"},bigger:{inclusive:"turi b\u016Bti ne trumpesn\u0117 kaip",notInclusive:"turi b\u016Bti ilgesn\u0117 kaip"}}},file:{unit:{one:"baitas",few:"baitai",many:"bait\u0173"},verb:{smaller:{inclusive:"turi b\u016Bti ne didesnis kaip",notInclusive:"turi b\u016Bti ma\u017Eesnis kaip"},bigger:{inclusive:"turi b\u016Bti ne ma\u017Eesnis kaip",notInclusive:"turi b\u016Bti didesnis kaip"}}},array:{unit:{one:"element\u0105",few:"elementus",many:"element\u0173"},verb:{smaller:{inclusive:"turi tur\u0117ti ne daugiau kaip",notInclusive:"turi tur\u0117ti ma\u017Eiau kaip"},bigger:{inclusive:"turi tur\u0117ti ne ma\u017Eiau kaip",notInclusive:"turi tur\u0117ti daugiau kaip"}}},set:{unit:{one:"element\u0105",few:"elementus",many:"element\u0173"},verb:{smaller:{inclusive:"turi tur\u0117ti ne daugiau kaip",notInclusive:"turi tur\u0117ti ma\u017Eiau kaip"},bigger:{inclusive:"turi tur\u0117ti ne ma\u017Eiau kaip",notInclusive:"turi tur\u0117ti daugiau kaip"}}}};function t(r,i,a,s){let l=e[r]??null;return l===null?l:{unit:l.unit[i],verb:l.verb[s][a?"inclusive":"notInclusive"]}}let o={regex:"\u012Fvestis",email:"el. pa\u0161to adresas",url:"URL",emoji:"jaustukas",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO data ir laikas",date:"ISO data",time:"ISO laikas",duration:"ISO trukm\u0117",ipv4:"IPv4 adresas",ipv6:"IPv6 adresas",cidrv4:"IPv4 tinklo prefiksas (CIDR)",cidrv6:"IPv6 tinklo prefiksas (CIDR)",base64:"base64 u\u017Ekoduota eilut\u0117",base64url:"base64url u\u017Ekoduota eilut\u0117",json_string:"JSON eilut\u0117",e164:"E.164 numeris",jwt:"JWT",template_literal:"\u012Fvestis"},n={nan:"NaN",number:"skai\u010Dius",bigint:"sveikasis skai\u010Dius",string:"eilut\u0117",boolean:"login\u0117 reik\u0161m\u0117",undefined:"neapibr\u0117\u017Eta reik\u0161m\u0117",function:"funkcija",symbol:"simbolis",array:"masyvas",object:"objektas",null:"nulin\u0117 reik\u0161m\u0117"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`Gautas tipas ${s}, o tik\u0117tasi - instanceof ${r.expected}`:`Gautas tipas ${s}, o tik\u0117tasi - ${i}`}case"invalid_value":return r.values.length===1?`Privalo b\u016Bti ${U(r.values[0])}`:`Privalo b\u016Bti vienas i\u0161 ${T(r.values,"|")} pasirinkim\u0173`;case"too_big":{let i=n[r.origin]??r.origin,a=t(r.origin,lC(Number(r.maximum)),r.inclusive??!1,"smaller");if(a?.verb)return`${$s(i??r.origin??"reik\u0161m\u0117")} ${a.verb} ${r.maximum.toString()} ${a.unit??"element\u0173"}`;let s=r.inclusive?"ne didesnis kaip":"ma\u017Eesnis kaip";return`${$s(i??r.origin??"reik\u0161m\u0117")} turi b\u016Bti ${s} ${r.maximum.toString()} ${a?.unit}`}case"too_small":{let i=n[r.origin]??r.origin,a=t(r.origin,lC(Number(r.minimum)),r.inclusive??!1,"bigger");if(a?.verb)return`${$s(i??r.origin??"reik\u0161m\u0117")} ${a.verb} ${r.minimum.toString()} ${a.unit??"element\u0173"}`;let s=r.inclusive?"ne ma\u017Eesnis kaip":"didesnis kaip";return`${$s(i??r.origin??"reik\u0161m\u0117")} turi b\u016Bti ${s} ${r.minimum.toString()} ${a?.unit}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Eilut\u0117 privalo prasid\u0117ti "${i.prefix}"`:i.format==="ends_with"?`Eilut\u0117 privalo pasibaigti "${i.suffix}"`:i.format==="includes"?`Eilut\u0117 privalo \u012Ftraukti "${i.includes}"`:i.format==="regex"?`Eilut\u0117 privalo atitikti ${i.pattern}`:`Neteisingas ${o[i.format]??r.format}`}case"not_multiple_of":return`Skai\u010Dius privalo b\u016Bti ${r.divisor} kartotinis.`;case"unrecognized_keys":return`Neatpa\u017Eint${r.keys.length>1?"i":"as"} rakt${r.keys.length>1?"ai":"as"}: ${T(r.keys,", ")}`;case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":return"Klaidinga \u012Fvestis";case"invalid_element":{let i=n[r.origin]??r.origin;return`${$s(i??r.origin??"reik\u0161m\u0117")} turi klaiding\u0105 \u012Fvest\u012F`}default:return"Klaidinga \u012Fvestis"}}};function uC(){return{localeError:K1()}}var J1=()=>{let e={string:{unit:"\u0437\u043D\u0430\u0446\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},file:{unit:"\u0431\u0430\u0458\u0442\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},array:{unit:"\u0441\u0442\u0430\u0432\u043A\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},set:{unit:"\u0441\u0442\u0430\u0432\u043A\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"}};function t(r){return e[r]??null}let o={regex:"\u0432\u043D\u0435\u0441",email:"\u0430\u0434\u0440\u0435\u0441\u0430 \u043D\u0430 \u0435-\u043F\u043E\u0448\u0442\u0430",url:"URL",emoji:"\u0435\u043C\u043E\u045F\u0438",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0434\u0430\u0442\u0443\u043C \u0438 \u0432\u0440\u0435\u043C\u0435",date:"ISO \u0434\u0430\u0442\u0443\u043C",time:"ISO \u0432\u0440\u0435\u043C\u0435",duration:"ISO \u0432\u0440\u0435\u043C\u0435\u0442\u0440\u0430\u0435\u045A\u0435",ipv4:"IPv4 \u0430\u0434\u0440\u0435\u0441\u0430",ipv6:"IPv6 \u0430\u0434\u0440\u0435\u0441\u0430",cidrv4:"IPv4 \u043E\u043F\u0441\u0435\u0433",cidrv6:"IPv6 \u043E\u043F\u0441\u0435\u0433",base64:"base64-\u0435\u043D\u043A\u043E\u0434\u0438\u0440\u0430\u043D\u0430 \u043D\u0438\u0437\u0430",base64url:"base64url-\u0435\u043D\u043A\u043E\u0434\u0438\u0440\u0430\u043D\u0430 \u043D\u0438\u0437\u0430",json_string:"JSON \u043D\u0438\u0437\u0430",e164:"E.164 \u0431\u0440\u043E\u0458",jwt:"JWT",template_literal:"\u0432\u043D\u0435\u0441"},n={nan:"NaN",number:"\u0431\u0440\u043E\u0458",array:"\u043D\u0438\u0437\u0430"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 instanceof ${r.expected}, \u043F\u0440\u0438\u043C\u0435\u043D\u043E ${s}`:`\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${i}, \u043F\u0440\u0438\u043C\u0435\u043D\u043E ${s}`}case"invalid_value":return r.values.length===1?`Invalid input: expected ${U(r.values[0])}`:`\u0413\u0440\u0435\u0448\u0430\u043D\u0430 \u043E\u043F\u0446\u0438\u0458\u0430: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 \u0435\u0434\u043D\u0430 ${T(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u0433\u043E\u043B\u0435\u043C: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${r.origin??"\u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442\u0430"} \u0434\u0430 \u0438\u043C\u0430 ${i}${r.maximum.toString()} ${a.unit??"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438"}`:`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u0433\u043E\u043B\u0435\u043C: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${r.origin??"\u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442\u0430"} \u0434\u0430 \u0431\u0438\u0434\u0435 ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u043C\u0430\u043B: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${r.origin} \u0434\u0430 \u0438\u043C\u0430 ${i}${r.minimum.toString()} ${a.unit}`:`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u043C\u0430\u043B: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${r.origin} \u0434\u0430 \u0431\u0438\u0434\u0435 ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0437\u0430\u043F\u043E\u0447\u043D\u0443\u0432\u0430 \u0441\u043E "${i.prefix}"`:i.format==="ends_with"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0437\u0430\u0432\u0440\u0448\u0443\u0432\u0430 \u0441\u043E "${i.suffix}"`:i.format==="includes"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0432\u043A\u043B\u0443\u0447\u0443\u0432\u0430 "${i.includes}"`:i.format==="regex"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u043E\u0434\u0433\u043E\u0430\u0440\u0430 \u043D\u0430 \u043F\u0430\u0442\u0435\u0440\u043D\u043E\u0442 ${i.pattern}`:`Invalid ${o[i.format]??r.format}`}case"not_multiple_of":return`\u0413\u0440\u0435\u0448\u0435\u043D \u0431\u0440\u043E\u0458: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0431\u0438\u0434\u0435 \u0434\u0435\u043B\u0438\u0432 \u0441\u043E ${r.divisor}`;case"unrecognized_keys":return`${r.keys.length>1?"\u041D\u0435\u043F\u0440\u0435\u043F\u043E\u0437\u043D\u0430\u0435\u043D\u0438 \u043A\u043B\u0443\u0447\u0435\u0432\u0438":"\u041D\u0435\u043F\u0440\u0435\u043F\u043E\u0437\u043D\u0430\u0435\u043D \u043A\u043B\u0443\u0447"}: ${T(r.keys,", ")}`;case"invalid_key":return`\u0413\u0440\u0435\u0448\u0435\u043D \u043A\u043B\u0443\u0447 \u0432\u043E ${r.origin}`;case"invalid_union":return"\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441";case"invalid_element":return`\u0413\u0440\u0435\u0448\u043D\u0430 \u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442 \u0432\u043E ${r.origin}`;default:return"\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441"}}};function dC(){return{localeError:J1()}}var Y1=()=>{let e={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"}};function t(r){return e[r]??null}let o={regex:"input",email:"alamat e-mel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tarikh masa ISO",date:"tarikh ISO",time:"masa ISO",duration:"tempoh ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"julat IPv4",cidrv6:"julat IPv6",base64:"string dikodkan base64",base64url:"string dikodkan base64url",json_string:"string JSON",e164:"nombor E.164",jwt:"JWT",template_literal:"input"},n={nan:"NaN",number:"nombor"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`Input tidak sah: dijangka instanceof ${r.expected}, diterima ${s}`:`Input tidak sah: dijangka ${i}, diterima ${s}`}case"invalid_value":return r.values.length===1?`Input tidak sah: dijangka ${U(r.values[0])}`:`Pilihan tidak sah: dijangka salah satu daripada ${T(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`Terlalu besar: dijangka ${r.origin??"nilai"} ${a.verb} ${i}${r.maximum.toString()} ${a.unit??"elemen"}`:`Terlalu besar: dijangka ${r.origin??"nilai"} adalah ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`Terlalu kecil: dijangka ${r.origin} ${a.verb} ${i}${r.minimum.toString()} ${a.unit}`:`Terlalu kecil: dijangka ${r.origin} adalah ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`String tidak sah: mesti bermula dengan "${i.prefix}"`:i.format==="ends_with"?`String tidak sah: mesti berakhir dengan "${i.suffix}"`:i.format==="includes"?`String tidak sah: mesti mengandungi "${i.includes}"`:i.format==="regex"?`String tidak sah: mesti sepadan dengan corak ${i.pattern}`:`${o[i.format]??r.format} tidak sah`}case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${r.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${T(r.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${r.origin}`;case"invalid_union":return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${r.origin}`;default:return"Input tidak sah"}}};function fC(){return{localeError:Y1()}}var Q1=()=>{let e={string:{unit:"tekens",verb:"heeft"},file:{unit:"bytes",verb:"heeft"},array:{unit:"elementen",verb:"heeft"},set:{unit:"elementen",verb:"heeft"}};function t(r){return e[r]??null}let o={regex:"invoer",email:"emailadres",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum en tijd",date:"ISO datum",time:"ISO tijd",duration:"ISO duur",ipv4:"IPv4-adres",ipv6:"IPv6-adres",cidrv4:"IPv4-bereik",cidrv6:"IPv6-bereik",base64:"base64-gecodeerde tekst",base64url:"base64 URL-gecodeerde tekst",json_string:"JSON string",e164:"E.164-nummer",jwt:"JWT",template_literal:"invoer"},n={nan:"NaN",number:"getal"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`Ongeldige invoer: verwacht instanceof ${r.expected}, ontving ${s}`:`Ongeldige invoer: verwacht ${i}, ontving ${s}`}case"invalid_value":return r.values.length===1?`Ongeldige invoer: verwacht ${U(r.values[0])}`:`Ongeldige optie: verwacht \xE9\xE9n van ${T(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin),s=r.origin==="date"?"laat":r.origin==="string"?"lang":"groot";return a?`Te ${s}: verwacht dat ${r.origin??"waarde"} ${i}${r.maximum.toString()} ${a.unit??"elementen"} ${a.verb}`:`Te ${s}: verwacht dat ${r.origin??"waarde"} ${i}${r.maximum.toString()} is`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin),s=r.origin==="date"?"vroeg":r.origin==="string"?"kort":"klein";return a?`Te ${s}: verwacht dat ${r.origin} ${i}${r.minimum.toString()} ${a.unit} ${a.verb}`:`Te ${s}: verwacht dat ${r.origin} ${i}${r.minimum.toString()} is`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Ongeldige tekst: moet met "${i.prefix}" beginnen`:i.format==="ends_with"?`Ongeldige tekst: moet op "${i.suffix}" eindigen`:i.format==="includes"?`Ongeldige tekst: moet "${i.includes}" bevatten`:i.format==="regex"?`Ongeldige tekst: moet overeenkomen met patroon ${i.pattern}`:`Ongeldig: ${o[i.format]??r.format}`}case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${r.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${r.keys.length>1?"s":""}: ${T(r.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${r.origin}`;case"invalid_union":return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${r.origin}`;default:return"Ongeldige invoer"}}};function mC(){return{localeError:Q1()}}var eT=()=>{let e={string:{unit:"tegn",verb:"\xE5 ha"},file:{unit:"bytes",verb:"\xE5 ha"},array:{unit:"elementer",verb:"\xE5 inneholde"},set:{unit:"elementer",verb:"\xE5 inneholde"}};function t(r){return e[r]??null}let o={regex:"input",email:"e-postadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslett",date:"ISO-dato",time:"ISO-klokkeslett",duration:"ISO-varighet",ipv4:"IPv4-omr\xE5de",ipv6:"IPv6-omr\xE5de",cidrv4:"IPv4-spekter",cidrv6:"IPv6-spekter",base64:"base64-enkodet streng",base64url:"base64url-enkodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},n={nan:"NaN",number:"tall",array:"liste"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`Ugyldig input: forventet instanceof ${r.expected}, fikk ${s}`:`Ugyldig input: forventet ${i}, fikk ${s}`}case"invalid_value":return r.values.length===1?`Ugyldig verdi: forventet ${U(r.values[0])}`:`Ugyldig valg: forventet en av ${T(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`For stor(t): forventet ${r.origin??"value"} til \xE5 ha ${i}${r.maximum.toString()} ${a.unit??"elementer"}`:`For stor(t): forventet ${r.origin??"value"} til \xE5 ha ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`For lite(n): forventet ${r.origin} til \xE5 ha ${i}${r.minimum.toString()} ${a.unit}`:`For lite(n): forventet ${r.origin} til \xE5 ha ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Ugyldig streng: m\xE5 starte med "${i.prefix}"`:i.format==="ends_with"?`Ugyldig streng: m\xE5 ende med "${i.suffix}"`:i.format==="includes"?`Ugyldig streng: m\xE5 inneholde "${i.includes}"`:i.format==="regex"?`Ugyldig streng: m\xE5 matche m\xF8nsteret ${i.pattern}`:`Ugyldig ${o[i.format]??r.format}`}case"not_multiple_of":return`Ugyldig tall: m\xE5 v\xE6re et multiplum av ${r.divisor}`;case"unrecognized_keys":return`${r.keys.length>1?"Ukjente n\xF8kler":"Ukjent n\xF8kkel"}: ${T(r.keys,", ")}`;case"invalid_key":return`Ugyldig n\xF8kkel i ${r.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${r.origin}`;default:return"Ugyldig input"}}};function pC(){return{localeError:eT()}}var tT=()=>{let e={string:{unit:"harf",verb:"olmal\u0131d\u0131r"},file:{unit:"bayt",verb:"olmal\u0131d\u0131r"},array:{unit:"unsur",verb:"olmal\u0131d\u0131r"},set:{unit:"unsur",verb:"olmal\u0131d\u0131r"}};function t(r){return e[r]??null}let o={regex:"giren",email:"epostag\xE2h",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO heng\xE2m\u0131",date:"ISO tarihi",time:"ISO zaman\u0131",duration:"ISO m\xFCddeti",ipv4:"IPv4 ni\u015F\xE2n\u0131",ipv6:"IPv6 ni\u015F\xE2n\u0131",cidrv4:"IPv4 menzili",cidrv6:"IPv6 menzili",base64:"base64-\u015Fifreli metin",base64url:"base64url-\u015Fifreli metin",json_string:"JSON metin",e164:"E.164 say\u0131s\u0131",jwt:"JWT",template_literal:"giren"},n={nan:"NaN",number:"numara",array:"saf",null:"gayb"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`F\xE2sit giren: umulan instanceof ${r.expected}, al\u0131nan ${s}`:`F\xE2sit giren: umulan ${i}, al\u0131nan ${s}`}case"invalid_value":return r.values.length===1?`F\xE2sit giren: umulan ${U(r.values[0])}`:`F\xE2sit tercih: m\xFBteberler ${T(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`Fazla b\xFCy\xFCk: ${r.origin??"value"}, ${i}${r.maximum.toString()} ${a.unit??"elements"} sahip olmal\u0131yd\u0131.`:`Fazla b\xFCy\xFCk: ${r.origin??"value"}, ${i}${r.maximum.toString()} olmal\u0131yd\u0131.`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`Fazla k\xFC\xE7\xFCk: ${r.origin}, ${i}${r.minimum.toString()} ${a.unit} sahip olmal\u0131yd\u0131.`:`Fazla k\xFC\xE7\xFCk: ${r.origin}, ${i}${r.minimum.toString()} olmal\u0131yd\u0131.`}case"invalid_format":{let i=r;return i.format==="starts_with"?`F\xE2sit metin: "${i.prefix}" ile ba\u015Flamal\u0131.`:i.format==="ends_with"?`F\xE2sit metin: "${i.suffix}" ile bitmeli.`:i.format==="includes"?`F\xE2sit metin: "${i.includes}" ihtiv\xE2 etmeli.`:i.format==="regex"?`F\xE2sit metin: ${i.pattern} nak\u015F\u0131na uymal\u0131.`:`F\xE2sit ${o[i.format]??r.format}`}case"not_multiple_of":return`F\xE2sit say\u0131: ${r.divisor} kat\u0131 olmal\u0131yd\u0131.`;case"unrecognized_keys":return`Tan\u0131nmayan anahtar ${r.keys.length>1?"s":""}: ${T(r.keys,", ")}`;case"invalid_key":return`${r.origin} i\xE7in tan\u0131nmayan anahtar var.`;case"invalid_union":return"Giren tan\u0131namad\u0131.";case"invalid_element":return`${r.origin} i\xE7in tan\u0131nmayan k\u0131ymet var.`;default:return"K\u0131ymet tan\u0131namad\u0131."}}};function gC(){return{localeError:tT()}}var rT=()=>{let e={string:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"},file:{unit:"\u0628\u0627\u06CC\u067C\u0633",verb:"\u0648\u0644\u0631\u064A"},array:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"},set:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"}};function t(r){return e[r]??null}let o={regex:"\u0648\u0631\u0648\u062F\u064A",email:"\u0628\u0631\u06CC\u069A\u0646\u0627\u0644\u06CC\u06A9",url:"\u06CC\u0648 \u0622\u0631 \u0627\u0644",emoji:"\u0627\u06CC\u0645\u0648\u062C\u064A",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0646\u06CC\u067C\u0647 \u0627\u0648 \u0648\u062E\u062A",date:"\u0646\u06D0\u067C\u0647",time:"\u0648\u062E\u062A",duration:"\u0645\u0648\u062F\u0647",ipv4:"\u062F IPv4 \u067E\u062A\u0647",ipv6:"\u062F IPv6 \u067E\u062A\u0647",cidrv4:"\u062F IPv4 \u0633\u0627\u062D\u0647",cidrv6:"\u062F IPv6 \u0633\u0627\u062D\u0647",base64:"base64-encoded \u0645\u062A\u0646",base64url:"base64url-encoded \u0645\u062A\u0646",json_string:"JSON \u0645\u062A\u0646",e164:"\u062F E.164 \u0634\u0645\u06D0\u0631\u0647",jwt:"JWT",template_literal:"\u0648\u0631\u0648\u062F\u064A"},n={nan:"NaN",number:"\u0639\u062F\u062F",array:"\u0627\u0631\u06D0"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F instanceof ${r.expected} \u0648\u0627\u06CC, \u0645\u06AB\u0631 ${s} \u062A\u0631\u0644\u0627\u0633\u0647 \u0634\u0648`:`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F ${i} \u0648\u0627\u06CC, \u0645\u06AB\u0631 ${s} \u062A\u0631\u0644\u0627\u0633\u0647 \u0634\u0648`}case"invalid_value":return r.values.length===1?`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F ${U(r.values[0])} \u0648\u0627\u06CC`:`\u0646\u0627\u0633\u0645 \u0627\u0646\u062A\u062E\u0627\u0628: \u0628\u0627\u06CC\u062F \u06CC\u0648 \u0644\u0647 ${T(r.values,"|")} \u0685\u062E\u0647 \u0648\u0627\u06CC`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`\u0689\u06CC\u0631 \u0644\u0648\u06CC: ${r.origin??"\u0627\u0631\u0632\u069A\u062A"} \u0628\u0627\u06CC\u062F ${i}${r.maximum.toString()} ${a.unit??"\u0639\u0646\u0635\u0631\u0648\u0646\u0647"} \u0648\u0644\u0631\u064A`:`\u0689\u06CC\u0631 \u0644\u0648\u06CC: ${r.origin??"\u0627\u0631\u0632\u069A\u062A"} \u0628\u0627\u06CC\u062F ${i}${r.maximum.toString()} \u0648\u064A`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`\u0689\u06CC\u0631 \u06A9\u0648\u0686\u0646\u06CC: ${r.origin} \u0628\u0627\u06CC\u062F ${i}${r.minimum.toString()} ${a.unit} \u0648\u0644\u0631\u064A`:`\u0689\u06CC\u0631 \u06A9\u0648\u0686\u0646\u06CC: ${r.origin} \u0628\u0627\u06CC\u062F ${i}${r.minimum.toString()} \u0648\u064A`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F "${i.prefix}" \u0633\u0631\u0647 \u067E\u06CC\u0644 \u0634\u064A`:i.format==="ends_with"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F "${i.suffix}" \u0633\u0631\u0647 \u067E\u0627\u06CC \u062A\u0647 \u0648\u0631\u0633\u064A\u0696\u064A`:i.format==="includes"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F "${i.includes}" \u0648\u0644\u0631\u064A`:i.format==="regex"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F ${i.pattern} \u0633\u0631\u0647 \u0645\u0637\u0627\u0628\u0642\u062A \u0648\u0644\u0631\u064A`:`${o[i.format]??r.format} \u0646\u0627\u0633\u0645 \u062F\u06CC`}case"not_multiple_of":return`\u0646\u0627\u0633\u0645 \u0639\u062F\u062F: \u0628\u0627\u06CC\u062F \u062F ${r.divisor} \u0645\u0636\u0631\u0628 \u0648\u064A`;case"unrecognized_keys":return`\u0646\u0627\u0633\u0645 ${r.keys.length>1?"\u06A9\u0644\u06CC\u0689\u0648\u0646\u0647":"\u06A9\u0644\u06CC\u0689"}: ${T(r.keys,", ")}`;case"invalid_key":return`\u0646\u0627\u0633\u0645 \u06A9\u0644\u06CC\u0689 \u067E\u0647 ${r.origin} \u06A9\u06D0`;case"invalid_union":return"\u0646\u0627\u0633\u0645\u0647 \u0648\u0631\u0648\u062F\u064A";case"invalid_element":return`\u0646\u0627\u0633\u0645 \u0639\u0646\u0635\u0631 \u067E\u0647 ${r.origin} \u06A9\u06D0`;default:return"\u0646\u0627\u0633\u0645\u0647 \u0648\u0631\u0648\u062F\u064A"}}};function hC(){return{localeError:rT()}}var oT=()=>{let e={string:{unit:"znak\xF3w",verb:"mie\u0107"},file:{unit:"bajt\xF3w",verb:"mie\u0107"},array:{unit:"element\xF3w",verb:"mie\u0107"},set:{unit:"element\xF3w",verb:"mie\u0107"}};function t(r){return e[r]??null}let o={regex:"wyra\u017Cenie",email:"adres email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i godzina w formacie ISO",date:"data w formacie ISO",time:"godzina w formacie ISO",duration:"czas trwania ISO",ipv4:"adres IPv4",ipv6:"adres IPv6",cidrv4:"zakres IPv4",cidrv6:"zakres IPv6",base64:"ci\u0105g znak\xF3w zakodowany w formacie base64",base64url:"ci\u0105g znak\xF3w zakodowany w formacie base64url",json_string:"ci\u0105g znak\xF3w w formacie JSON",e164:"liczba E.164",jwt:"JWT",template_literal:"wej\u015Bcie"},n={nan:"NaN",number:"liczba",array:"tablica"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano instanceof ${r.expected}, otrzymano ${s}`:`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${i}, otrzymano ${s}`}case"invalid_value":return r.values.length===1?`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${U(r.values[0])}`:`Nieprawid\u0142owa opcja: oczekiwano jednej z warto\u015Bci ${T(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`Za du\u017Ca warto\u015B\u0107: oczekiwano, \u017Ce ${r.origin??"warto\u015B\u0107"} b\u0119dzie mie\u0107 ${i}${r.maximum.toString()} ${a.unit??"element\xF3w"}`:`Zbyt du\u017C(y/a/e): oczekiwano, \u017Ce ${r.origin??"warto\u015B\u0107"} b\u0119dzie wynosi\u0107 ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`Za ma\u0142a warto\u015B\u0107: oczekiwano, \u017Ce ${r.origin??"warto\u015B\u0107"} b\u0119dzie mie\u0107 ${i}${r.minimum.toString()} ${a.unit??"element\xF3w"}`:`Zbyt ma\u0142(y/a/e): oczekiwano, \u017Ce ${r.origin??"warto\u015B\u0107"} b\u0119dzie wynosi\u0107 ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi zaczyna\u0107 si\u0119 od "${i.prefix}"`:i.format==="ends_with"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi ko\u0144czy\u0107 si\u0119 na "${i.suffix}"`:i.format==="includes"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi zawiera\u0107 "${i.includes}"`:i.format==="regex"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi odpowiada\u0107 wzorcowi ${i.pattern}`:`Nieprawid\u0142ow(y/a/e) ${o[i.format]??r.format}`}case"not_multiple_of":return`Nieprawid\u0142owa liczba: musi by\u0107 wielokrotno\u015Bci\u0105 ${r.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${r.keys.length>1?"s":""}: ${T(r.keys,", ")}`;case"invalid_key":return`Nieprawid\u0142owy klucz w ${r.origin}`;case"invalid_union":return"Nieprawid\u0142owe dane wej\u015Bciowe";case"invalid_element":return`Nieprawid\u0142owa warto\u015B\u0107 w ${r.origin}`;default:return"Nieprawid\u0142owe dane wej\u015Bciowe"}}};function vC(){return{localeError:oT()}}var nT=()=>{let e={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}};function t(r){return e[r]??null}let o={regex:"padr\xE3o",email:"endere\xE7o de e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e hora ISO",date:"data ISO",time:"hora ISO",duration:"dura\xE7\xE3o ISO",ipv4:"endere\xE7o IPv4",ipv6:"endere\xE7o IPv6",cidrv4:"faixa de IPv4",cidrv6:"faixa de IPv6",base64:"texto codificado em base64",base64url:"URL codificada em base64",json_string:"texto JSON",e164:"n\xFAmero E.164",jwt:"JWT",template_literal:"entrada"},n={nan:"NaN",number:"n\xFAmero",null:"nulo"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`Tipo inv\xE1lido: esperado instanceof ${r.expected}, recebido ${s}`:`Tipo inv\xE1lido: esperado ${i}, recebido ${s}`}case"invalid_value":return r.values.length===1?`Entrada inv\xE1lida: esperado ${U(r.values[0])}`:`Op\xE7\xE3o inv\xE1lida: esperada uma das ${T(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`Muito grande: esperado que ${r.origin??"valor"} tivesse ${i}${r.maximum.toString()} ${a.unit??"elementos"}`:`Muito grande: esperado que ${r.origin??"valor"} fosse ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`Muito pequeno: esperado que ${r.origin} tivesse ${i}${r.minimum.toString()} ${a.unit}`:`Muito pequeno: esperado que ${r.origin} fosse ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Texto inv\xE1lido: deve come\xE7ar com "${i.prefix}"`:i.format==="ends_with"?`Texto inv\xE1lido: deve terminar com "${i.suffix}"`:i.format==="includes"?`Texto inv\xE1lido: deve incluir "${i.includes}"`:i.format==="regex"?`Texto inv\xE1lido: deve corresponder ao padr\xE3o ${i.pattern}`:`${o[i.format]??r.format} inv\xE1lido`}case"not_multiple_of":return`N\xFAmero inv\xE1lido: deve ser m\xFAltiplo de ${r.divisor}`;case"unrecognized_keys":return`Chave${r.keys.length>1?"s":""} desconhecida${r.keys.length>1?"s":""}: ${T(r.keys,", ")}`;case"invalid_key":return`Chave inv\xE1lida em ${r.origin}`;case"invalid_union":return"Entrada inv\xE1lida";case"invalid_element":return`Valor inv\xE1lido em ${r.origin}`;default:return"Campo inv\xE1lido"}}};function xC(){return{localeError:nT()}}var iT=()=>{let e={string:{unit:"caractere",verb:"s\u0103 aib\u0103"},file:{unit:"octe\u021Bi",verb:"s\u0103 aib\u0103"},array:{unit:"elemente",verb:"s\u0103 aib\u0103"},set:{unit:"elemente",verb:"s\u0103 aib\u0103"},map:{unit:"intr\u0103ri",verb:"s\u0103 aib\u0103"}};function t(r){return e[r]??null}let o={regex:"intrare",email:"adres\u0103 de email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"dat\u0103 \u0219i or\u0103 ISO",date:"dat\u0103 ISO",time:"or\u0103 ISO",duration:"durat\u0103 ISO",ipv4:"adres\u0103 IPv4",ipv6:"adres\u0103 IPv6",mac:"adres\u0103 MAC",cidrv4:"interval IPv4",cidrv6:"interval IPv6",base64:"\u0219ir codat base64",base64url:"\u0219ir codat base64url",json_string:"\u0219ir JSON",e164:"num\u0103r E.164",jwt:"JWT",template_literal:"intrare"},n={nan:"NaN",string:"\u0219ir",number:"num\u0103r",boolean:"boolean",function:"func\u021Bie",array:"matrice",object:"obiect",undefined:"nedefinit",symbol:"simbol",bigint:"num\u0103r mare",void:"void",never:"never",map:"hart\u0103",set:"set"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return`Intrare invalid\u0103: a\u0219teptat ${i}, primit ${s}`}case"invalid_value":return r.values.length===1?`Intrare invalid\u0103: a\u0219teptat ${U(r.values[0])}`:`Op\u021Biune invalid\u0103: a\u0219teptat una dintre ${T(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`Prea mare: a\u0219teptat ca ${r.origin??"valoarea"} ${a.verb} ${i}${r.maximum.toString()} ${a.unit??"elemente"}`:`Prea mare: a\u0219teptat ca ${r.origin??"valoarea"} s\u0103 fie ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`Prea mic: a\u0219teptat ca ${r.origin} ${a.verb} ${i}${r.minimum.toString()} ${a.unit}`:`Prea mic: a\u0219teptat ca ${r.origin} s\u0103 fie ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u0218ir invalid: trebuie s\u0103 \xEEnceap\u0103 cu "${i.prefix}"`:i.format==="ends_with"?`\u0218ir invalid: trebuie s\u0103 se termine cu "${i.suffix}"`:i.format==="includes"?`\u0218ir invalid: trebuie s\u0103 includ\u0103 "${i.includes}"`:i.format==="regex"?`\u0218ir invalid: trebuie s\u0103 se potriveasc\u0103 cu modelul ${i.pattern}`:`Format invalid: ${o[i.format]??r.format}`}case"not_multiple_of":return`Num\u0103r invalid: trebuie s\u0103 fie multiplu de ${r.divisor}`;case"unrecognized_keys":return`Chei nerecunoscute: ${T(r.keys,", ")}`;case"invalid_key":return`Cheie invalid\u0103 \xEEn ${r.origin}`;case"invalid_union":return"Intrare invalid\u0103";case"invalid_element":return`Valoare invalid\u0103 \xEEn ${r.origin}`;default:return"Intrare invalid\u0103"}}};function yC(){return{localeError:iT()}}function bC(e,t,o,n){let r=Math.abs(e),i=r%10,a=r%100;return a>=11&&a<=19?n:i===1?t:i>=2&&i<=4?o:n}var aT=()=>{let e={string:{unit:{one:"\u0441\u0438\u043C\u0432\u043E\u043B",few:"\u0441\u0438\u043C\u0432\u043E\u043B\u0430",many:"\u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"},file:{unit:{one:"\u0431\u0430\u0439\u0442",few:"\u0431\u0430\u0439\u0442\u0430",many:"\u0431\u0430\u0439\u0442"},verb:"\u0438\u043C\u0435\u0442\u044C"},array:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"},set:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"}};function t(r){return e[r]??null}let o={regex:"\u0432\u0432\u043E\u0434",email:"email \u0430\u0434\u0440\u0435\u0441",url:"URL",emoji:"\u044D\u043C\u043E\u0434\u0437\u0438",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0434\u0430\u0442\u0430 \u0438 \u0432\u0440\u0435\u043C\u044F",date:"ISO \u0434\u0430\u0442\u0430",time:"ISO \u0432\u0440\u0435\u043C\u044F",duration:"ISO \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C",ipv4:"IPv4 \u0430\u0434\u0440\u0435\u0441",ipv6:"IPv6 \u0430\u0434\u0440\u0435\u0441",cidrv4:"IPv4 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",cidrv6:"IPv6 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",base64:"\u0441\u0442\u0440\u043E\u043A\u0430 \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435 base64",base64url:"\u0441\u0442\u0440\u043E\u043A\u0430 \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435 base64url",json_string:"JSON \u0441\u0442\u0440\u043E\u043A\u0430",e164:"\u043D\u043E\u043C\u0435\u0440 E.164",jwt:"JWT",template_literal:"\u0432\u0432\u043E\u0434"},n={nan:"NaN",number:"\u0447\u0438\u0441\u043B\u043E",array:"\u043C\u0430\u0441\u0441\u0438\u0432"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C instanceof ${r.expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043E ${s}`:`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C ${i}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043E ${s}`}case"invalid_value":return r.values.length===1?`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C ${U(r.values[0])}`:`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0430\u0440\u0438\u0430\u043D\u0442: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0434\u043D\u043E \u0438\u0437 ${T(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);if(a){let s=Number(r.maximum),l=bC(s,a.unit.one,a.unit.few,a.unit.many);return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${r.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435"} \u0431\u0443\u0434\u0435\u0442 \u0438\u043C\u0435\u0442\u044C ${i}${r.maximum.toString()} ${l}`}return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${r.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435"} \u0431\u0443\u0434\u0435\u0442 ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);if(a){let s=Number(r.minimum),l=bC(s,a.unit.one,a.unit.few,a.unit.many);return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u0430\u043B\u0435\u043D\u044C\u043A\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${r.origin} \u0431\u0443\u0434\u0435\u0442 \u0438\u043C\u0435\u0442\u044C ${i}${r.minimum.toString()} ${l}`}return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u0430\u043B\u0435\u043D\u044C\u043A\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${r.origin} \u0431\u0443\u0434\u0435\u0442 ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u043D\u0430\u0447\u0438\u043D\u0430\u0442\u044C\u0441\u044F \u0441 "${i.prefix}"`:i.format==="ends_with"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u0437\u0430\u043A\u0430\u043D\u0447\u0438\u0432\u0430\u0442\u044C\u0441\u044F \u043D\u0430 "${i.suffix}"`:i.format==="includes"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u0441\u043E\u0434\u0435\u0440\u0436\u0430\u0442\u044C "${i.includes}"`:i.format==="regex"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043E\u0432\u0430\u0442\u044C \u0448\u0430\u0431\u043B\u043E\u043D\u0443 ${i.pattern}`:`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 ${o[i.format]??r.format}`}case"not_multiple_of":return`\u041D\u0435\u0432\u0435\u0440\u043D\u043E\u0435 \u0447\u0438\u0441\u043B\u043E: \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u043A\u0440\u0430\u0442\u043D\u044B\u043C ${r.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0441\u043F\u043E\u0437\u043D\u0430\u043D\u043D${r.keys.length>1?"\u044B\u0435":"\u044B\u0439"} \u043A\u043B\u044E\u0447${r.keys.length>1?"\u0438":""}: ${T(r.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u043A\u043B\u044E\u0447 \u0432 ${r.origin}`;case"invalid_union":return"\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0435 \u0432\u0445\u043E\u0434\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435";case"invalid_element":return`\u041D\u0435\u0432\u0435\u0440\u043D\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0432 ${r.origin}`;default:return"\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0435 \u0432\u0445\u043E\u0434\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435"}}};function $C(){return{localeError:aT()}}var sT=()=>{let e={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"}};function t(r){return e[r]??null}let o={regex:"vnos",email:"e-po\u0161tni naslov",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum in \u010Das",date:"ISO datum",time:"ISO \u010Das",duration:"ISO trajanje",ipv4:"IPv4 naslov",ipv6:"IPv6 naslov",cidrv4:"obseg IPv4",cidrv6:"obseg IPv6",base64:"base64 kodiran niz",base64url:"base64url kodiran niz",json_string:"JSON niz",e164:"E.164 \u0161tevilka",jwt:"JWT",template_literal:"vnos"},n={nan:"NaN",number:"\u0161tevilo",array:"tabela"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`Neveljaven vnos: pri\u010Dakovano instanceof ${r.expected}, prejeto ${s}`:`Neveljaven vnos: pri\u010Dakovano ${i}, prejeto ${s}`}case"invalid_value":return r.values.length===1?`Neveljaven vnos: pri\u010Dakovano ${U(r.values[0])}`:`Neveljavna mo\u017Enost: pri\u010Dakovano eno izmed ${T(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`Preveliko: pri\u010Dakovano, da bo ${r.origin??"vrednost"} imelo ${i}${r.maximum.toString()} ${a.unit??"elementov"}`:`Preveliko: pri\u010Dakovano, da bo ${r.origin??"vrednost"} ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`Premajhno: pri\u010Dakovano, da bo ${r.origin} imelo ${i}${r.minimum.toString()} ${a.unit}`:`Premajhno: pri\u010Dakovano, da bo ${r.origin} ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Neveljaven niz: mora se za\u010Deti z "${i.prefix}"`:i.format==="ends_with"?`Neveljaven niz: mora se kon\u010Dati z "${i.suffix}"`:i.format==="includes"?`Neveljaven niz: mora vsebovati "${i.includes}"`:i.format==="regex"?`Neveljaven niz: mora ustrezati vzorcu ${i.pattern}`:`Neveljaven ${o[i.format]??r.format}`}case"not_multiple_of":return`Neveljavno \u0161tevilo: mora biti ve\u010Dkratnik ${r.divisor}`;case"unrecognized_keys":return`Neprepoznan${r.keys.length>1?"i klju\u010Di":" klju\u010D"}: ${T(r.keys,", ")}`;case"invalid_key":return`Neveljaven klju\u010D v ${r.origin}`;case"invalid_union":return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${r.origin}`;default:return"Neveljaven vnos"}}};function SC(){return{localeError:sT()}}var cT=()=>{let e={string:{unit:"tecken",verb:"att ha"},file:{unit:"bytes",verb:"att ha"},array:{unit:"objekt",verb:"att inneh\xE5lla"},set:{unit:"objekt",verb:"att inneh\xE5lla"}};function t(r){return e[r]??null}let o={regex:"regulj\xE4rt uttryck",email:"e-postadress",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datum och tid",date:"ISO-datum",time:"ISO-tid",duration:"ISO-varaktighet",ipv4:"IPv4-intervall",ipv6:"IPv6-intervall",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodad str\xE4ng",base64url:"base64url-kodad str\xE4ng",json_string:"JSON-str\xE4ng",e164:"E.164-nummer",jwt:"JWT",template_literal:"mall-literal"},n={nan:"NaN",number:"antal",array:"lista"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`Ogiltig inmatning: f\xF6rv\xE4ntat instanceof ${r.expected}, fick ${s}`:`Ogiltig inmatning: f\xF6rv\xE4ntat ${i}, fick ${s}`}case"invalid_value":return r.values.length===1?`Ogiltig inmatning: f\xF6rv\xE4ntat ${U(r.values[0])}`:`Ogiltigt val: f\xF6rv\xE4ntade en av ${T(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`F\xF6r stor(t): f\xF6rv\xE4ntade ${r.origin??"v\xE4rdet"} att ha ${i}${r.maximum.toString()} ${a.unit??"element"}`:`F\xF6r stor(t): f\xF6rv\xE4ntat ${r.origin??"v\xE4rdet"} att ha ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`F\xF6r lite(t): f\xF6rv\xE4ntade ${r.origin??"v\xE4rdet"} att ha ${i}${r.minimum.toString()} ${a.unit}`:`F\xF6r lite(t): f\xF6rv\xE4ntade ${r.origin??"v\xE4rdet"} att ha ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Ogiltig str\xE4ng: m\xE5ste b\xF6rja med "${i.prefix}"`:i.format==="ends_with"?`Ogiltig str\xE4ng: m\xE5ste sluta med "${i.suffix}"`:i.format==="includes"?`Ogiltig str\xE4ng: m\xE5ste inneh\xE5lla "${i.includes}"`:i.format==="regex"?`Ogiltig str\xE4ng: m\xE5ste matcha m\xF6nstret "${i.pattern}"`:`Ogiltig(t) ${o[i.format]??r.format}`}case"not_multiple_of":return`Ogiltigt tal: m\xE5ste vara en multipel av ${r.divisor}`;case"unrecognized_keys":return`${r.keys.length>1?"Ok\xE4nda nycklar":"Ok\xE4nd nyckel"}: ${T(r.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${r.origin??"v\xE4rdet"}`;case"invalid_union":return"Ogiltig input";case"invalid_element":return`Ogiltigt v\xE4rde i ${r.origin??"v\xE4rdet"}`;default:return"Ogiltig input"}}};function CC(){return{localeError:cT()}}var lT=()=>{let e={string:{unit:"\u0B8E\u0BB4\u0BC1\u0BA4\u0BCD\u0BA4\u0BC1\u0B95\u0BCD\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},file:{unit:"\u0BAA\u0BC8\u0B9F\u0BCD\u0B9F\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},array:{unit:"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},set:{unit:"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"}};function t(r){return e[r]??null}let o={regex:"\u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1",email:"\u0BAE\u0BBF\u0BA9\u0BCD\u0BA9\u0B9E\u0BCD\u0B9A\u0BB2\u0BCD \u0BAE\u0BC1\u0B95\u0BB5\u0BB0\u0BBF",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0BA4\u0BC7\u0BA4\u0BBF \u0BA8\u0BC7\u0BB0\u0BAE\u0BCD",date:"ISO \u0BA4\u0BC7\u0BA4\u0BBF",time:"ISO \u0BA8\u0BC7\u0BB0\u0BAE\u0BCD",duration:"ISO \u0B95\u0BBE\u0BB2 \u0B85\u0BB3\u0BB5\u0BC1",ipv4:"IPv4 \u0BAE\u0BC1\u0B95\u0BB5\u0BB0\u0BBF",ipv6:"IPv6 \u0BAE\u0BC1\u0B95\u0BB5\u0BB0\u0BBF",cidrv4:"IPv4 \u0BB5\u0BB0\u0BAE\u0BCD\u0BAA\u0BC1",cidrv6:"IPv6 \u0BB5\u0BB0\u0BAE\u0BCD\u0BAA\u0BC1",base64:"base64-encoded \u0B9A\u0BB0\u0BAE\u0BCD",base64url:"base64url-encoded \u0B9A\u0BB0\u0BAE\u0BCD",json_string:"JSON \u0B9A\u0BB0\u0BAE\u0BCD",e164:"E.164 \u0B8E\u0BA3\u0BCD",jwt:"JWT",template_literal:"input"},n={nan:"NaN",number:"\u0B8E\u0BA3\u0BCD",array:"\u0B85\u0BA3\u0BBF",null:"\u0BB5\u0BC6\u0BB1\u0BC1\u0BAE\u0BC8"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 instanceof ${r.expected}, \u0BAA\u0BC6\u0BB1\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${s}`:`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${i}, \u0BAA\u0BC6\u0BB1\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${s}`}case"invalid_value":return r.values.length===1?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${U(r.values[0])}`:`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BB5\u0BBF\u0BB0\u0BC1\u0BAA\u0BCD\u0BAA\u0BAE\u0BCD: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${T(r.values,"|")} \u0B87\u0BB2\u0BCD \u0B92\u0BA9\u0BCD\u0BB1\u0BC1`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`\u0BAE\u0BBF\u0B95 \u0BAA\u0BC6\u0BB0\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${r.origin??"\u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1"} ${i}${r.maximum.toString()} ${a.unit??"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD"} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:`\u0BAE\u0BBF\u0B95 \u0BAA\u0BC6\u0BB0\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${r.origin??"\u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1"} ${i}${r.maximum.toString()} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`\u0BAE\u0BBF\u0B95\u0B9A\u0BCD \u0B9A\u0BBF\u0BB1\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${r.origin} ${i}${r.minimum.toString()} ${a.unit} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:`\u0BAE\u0BBF\u0B95\u0B9A\u0BCD \u0B9A\u0BBF\u0BB1\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${r.origin} ${i}${r.minimum.toString()} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${i.prefix}" \u0B87\u0BB2\u0BCD \u0BA4\u0BCA\u0B9F\u0B99\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:i.format==="ends_with"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${i.suffix}" \u0B87\u0BB2\u0BCD \u0BAE\u0BC1\u0B9F\u0BBF\u0BB5\u0B9F\u0BC8\u0BAF \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:i.format==="includes"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${i.includes}" \u0B90 \u0B89\u0BB3\u0BCD\u0BB3\u0B9F\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:i.format==="regex"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: ${i.pattern} \u0BAE\u0BC1\u0BB1\u0BC8\u0BAA\u0BBE\u0B9F\u0BCD\u0B9F\u0BC1\u0B9F\u0BA9\u0BCD \u0BAA\u0BCA\u0BB0\u0BC1\u0BA8\u0BCD\u0BA4 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 ${o[i.format]??r.format}`}case"not_multiple_of":return`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B8E\u0BA3\u0BCD: ${r.divisor} \u0B87\u0BA9\u0BCD \u0BAA\u0BB2\u0BAE\u0BBE\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`;case"unrecognized_keys":return`\u0B85\u0B9F\u0BC8\u0BAF\u0BBE\u0BB3\u0BAE\u0BCD \u0BA4\u0BC6\u0BB0\u0BBF\u0BAF\u0BBE\u0BA4 \u0BB5\u0BBF\u0B9A\u0BC8${r.keys.length>1?"\u0B95\u0BB3\u0BCD":""}: ${T(r.keys,", ")}`;case"invalid_key":return`${r.origin} \u0B87\u0BB2\u0BCD \u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BB5\u0BBF\u0B9A\u0BC8`;case"invalid_union":return"\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1";case"invalid_element":return`${r.origin} \u0B87\u0BB2\u0BCD \u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1`;default:return"\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1"}}};function _C(){return{localeError:lT()}}var uT=()=>{let e={string:{unit:"\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},file:{unit:"\u0E44\u0E1A\u0E15\u0E4C",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},array:{unit:"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},set:{unit:"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"}};function t(r){return e[r]??null}let o={regex:"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E1B\u0E49\u0E2D\u0E19",email:"\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48\u0E2D\u0E35\u0E40\u0E21\u0E25",url:"URL",emoji:"\u0E2D\u0E34\u0E42\u0E21\u0E08\u0E34",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E40\u0E27\u0E25\u0E32\u0E41\u0E1A\u0E1A ISO",date:"\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E41\u0E1A\u0E1A ISO",time:"\u0E40\u0E27\u0E25\u0E32\u0E41\u0E1A\u0E1A ISO",duration:"\u0E0A\u0E48\u0E27\u0E07\u0E40\u0E27\u0E25\u0E32\u0E41\u0E1A\u0E1A ISO",ipv4:"\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48 IPv4",ipv6:"\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48 IPv6",cidrv4:"\u0E0A\u0E48\u0E27\u0E07 IP \u0E41\u0E1A\u0E1A IPv4",cidrv6:"\u0E0A\u0E48\u0E27\u0E07 IP \u0E41\u0E1A\u0E1A IPv6",base64:"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A Base64",base64url:"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A Base64 \u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A URL",json_string:"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A JSON",e164:"\u0E40\u0E1A\u0E2D\u0E23\u0E4C\u0E42\u0E17\u0E23\u0E28\u0E31\u0E1E\u0E17\u0E4C\u0E23\u0E30\u0E2B\u0E27\u0E48\u0E32\u0E07\u0E1B\u0E23\u0E30\u0E40\u0E17\u0E28 (E.164)",jwt:"\u0E42\u0E17\u0E40\u0E04\u0E19 JWT",template_literal:"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E1B\u0E49\u0E2D\u0E19"},n={nan:"NaN",number:"\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02",array:"\u0E2D\u0E32\u0E23\u0E4C\u0E40\u0E23\u0E22\u0E4C (Array)",null:"\u0E44\u0E21\u0E48\u0E21\u0E35\u0E04\u0E48\u0E32 (null)"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 instanceof ${r.expected} \u0E41\u0E15\u0E48\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A ${s}`:`\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 ${i} \u0E41\u0E15\u0E48\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A ${s}`}case"invalid_value":return r.values.length===1?`\u0E04\u0E48\u0E32\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 ${U(r.values[0])}`:`\u0E15\u0E31\u0E27\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E43\u0E19 ${T(r.values,"|")}`;case"too_big":{let i=r.inclusive?"\u0E44\u0E21\u0E48\u0E40\u0E01\u0E34\u0E19":"\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32",a=t(r.origin);return a?`\u0E40\u0E01\u0E34\u0E19\u0E01\u0E33\u0E2B\u0E19\u0E14: ${r.origin??"\u0E04\u0E48\u0E32"} \u0E04\u0E27\u0E23\u0E21\u0E35${i} ${r.maximum.toString()} ${a.unit??"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23"}`:`\u0E40\u0E01\u0E34\u0E19\u0E01\u0E33\u0E2B\u0E19\u0E14: ${r.origin??"\u0E04\u0E48\u0E32"} \u0E04\u0E27\u0E23\u0E21\u0E35${i} ${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?"\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22":"\u0E21\u0E32\u0E01\u0E01\u0E27\u0E48\u0E32",a=t(r.origin);return a?`\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32\u0E01\u0E33\u0E2B\u0E19\u0E14: ${r.origin} \u0E04\u0E27\u0E23\u0E21\u0E35${i} ${r.minimum.toString()} ${a.unit}`:`\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32\u0E01\u0E33\u0E2B\u0E19\u0E14: ${r.origin} \u0E04\u0E27\u0E23\u0E21\u0E35${i} ${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E15\u0E49\u0E2D\u0E07\u0E02\u0E36\u0E49\u0E19\u0E15\u0E49\u0E19\u0E14\u0E49\u0E27\u0E22 "${i.prefix}"`:i.format==="ends_with"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E15\u0E49\u0E2D\u0E07\u0E25\u0E07\u0E17\u0E49\u0E32\u0E22\u0E14\u0E49\u0E27\u0E22 "${i.suffix}"`:i.format==="includes"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35 "${i.includes}" \u0E2D\u0E22\u0E39\u0E48\u0E43\u0E19\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21`:i.format==="regex"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E15\u0E49\u0E2D\u0E07\u0E15\u0E23\u0E07\u0E01\u0E31\u0E1A\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E17\u0E35\u0E48\u0E01\u0E33\u0E2B\u0E19\u0E14 ${i.pattern}`:`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: ${o[i.format]??r.format}`}case"not_multiple_of":return`\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E15\u0E49\u0E2D\u0E07\u0E40\u0E1B\u0E47\u0E19\u0E08\u0E33\u0E19\u0E27\u0E19\u0E17\u0E35\u0E48\u0E2B\u0E32\u0E23\u0E14\u0E49\u0E27\u0E22 ${r.divisor} \u0E44\u0E14\u0E49\u0E25\u0E07\u0E15\u0E31\u0E27`;case"unrecognized_keys":return`\u0E1E\u0E1A\u0E04\u0E35\u0E22\u0E4C\u0E17\u0E35\u0E48\u0E44\u0E21\u0E48\u0E23\u0E39\u0E49\u0E08\u0E31\u0E01: ${T(r.keys,", ")}`;case"invalid_key":return`\u0E04\u0E35\u0E22\u0E4C\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E43\u0E19 ${r.origin}`;case"invalid_union":return"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E44\u0E21\u0E48\u0E15\u0E23\u0E07\u0E01\u0E31\u0E1A\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E22\u0E39\u0E40\u0E19\u0E35\u0E22\u0E19\u0E17\u0E35\u0E48\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E44\u0E27\u0E49";case"invalid_element":return`\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E43\u0E19 ${r.origin}`;default:return"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07"}}};function wC(){return{localeError:uT()}}var dT=()=>{let e={string:{unit:"karakter",verb:"olmal\u0131"},file:{unit:"bayt",verb:"olmal\u0131"},array:{unit:"\xF6\u011Fe",verb:"olmal\u0131"},set:{unit:"\xF6\u011Fe",verb:"olmal\u0131"}};function t(r){return e[r]??null}let o={regex:"girdi",email:"e-posta adresi",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO tarih ve saat",date:"ISO tarih",time:"ISO saat",duration:"ISO s\xFCre",ipv4:"IPv4 adresi",ipv6:"IPv6 adresi",cidrv4:"IPv4 aral\u0131\u011F\u0131",cidrv6:"IPv6 aral\u0131\u011F\u0131",base64:"base64 ile \u015Fifrelenmi\u015F metin",base64url:"base64url ile \u015Fifrelenmi\u015F metin",json_string:"JSON dizesi",e164:"E.164 say\u0131s\u0131",jwt:"JWT",template_literal:"\u015Eablon dizesi"},n={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`Ge\xE7ersiz de\u011Fer: beklenen instanceof ${r.expected}, al\u0131nan ${s}`:`Ge\xE7ersiz de\u011Fer: beklenen ${i}, al\u0131nan ${s}`}case"invalid_value":return r.values.length===1?`Ge\xE7ersiz de\u011Fer: beklenen ${U(r.values[0])}`:`Ge\xE7ersiz se\xE7enek: a\u015Fa\u011F\u0131dakilerden biri olmal\u0131: ${T(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`\xC7ok b\xFCy\xFCk: beklenen ${r.origin??"de\u011Fer"} ${i}${r.maximum.toString()} ${a.unit??"\xF6\u011Fe"}`:`\xC7ok b\xFCy\xFCk: beklenen ${r.origin??"de\u011Fer"} ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`\xC7ok k\xFC\xE7\xFCk: beklenen ${r.origin} ${i}${r.minimum.toString()} ${a.unit}`:`\xC7ok k\xFC\xE7\xFCk: beklenen ${r.origin} ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Ge\xE7ersiz metin: "${i.prefix}" ile ba\u015Flamal\u0131`:i.format==="ends_with"?`Ge\xE7ersiz metin: "${i.suffix}" ile bitmeli`:i.format==="includes"?`Ge\xE7ersiz metin: "${i.includes}" i\xE7ermeli`:i.format==="regex"?`Ge\xE7ersiz metin: ${i.pattern} desenine uymal\u0131`:`Ge\xE7ersiz ${o[i.format]??r.format}`}case"not_multiple_of":return`Ge\xE7ersiz say\u0131: ${r.divisor} ile tam b\xF6l\xFCnebilmeli`;case"unrecognized_keys":return`Tan\u0131nmayan anahtar${r.keys.length>1?"lar":""}: ${T(r.keys,", ")}`;case"invalid_key":return`${r.origin} i\xE7inde ge\xE7ersiz anahtar`;case"invalid_union":return"Ge\xE7ersiz de\u011Fer";case"invalid_element":return`${r.origin} i\xE7inde ge\xE7ersiz de\u011Fer`;default:return"Ge\xE7ersiz de\u011Fer"}}};function EC(){return{localeError:dT()}}var fT=()=>{let e={string:{unit:"\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},file:{unit:"\u0431\u0430\u0439\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},array:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},set:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"}};function t(r){return e[r]??null}let o={regex:"\u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456",email:"\u0430\u0434\u0440\u0435\u0441\u0430 \u0435\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0457 \u043F\u043E\u0448\u0442\u0438",url:"URL",emoji:"\u0435\u043C\u043E\u0434\u0437\u0456",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0434\u0430\u0442\u0430 \u0442\u0430 \u0447\u0430\u0441 ISO",date:"\u0434\u0430\u0442\u0430 ISO",time:"\u0447\u0430\u0441 ISO",duration:"\u0442\u0440\u0438\u0432\u0430\u043B\u0456\u0441\u0442\u044C ISO",ipv4:"\u0430\u0434\u0440\u0435\u0441\u0430 IPv4",ipv6:"\u0430\u0434\u0440\u0435\u0441\u0430 IPv6",cidrv4:"\u0434\u0456\u0430\u043F\u0430\u0437\u043E\u043D IPv4",cidrv6:"\u0434\u0456\u0430\u043F\u0430\u0437\u043E\u043D IPv6",base64:"\u0440\u044F\u0434\u043E\u043A \u0443 \u043A\u043E\u0434\u0443\u0432\u0430\u043D\u043D\u0456 base64",base64url:"\u0440\u044F\u0434\u043E\u043A \u0443 \u043A\u043E\u0434\u0443\u0432\u0430\u043D\u043D\u0456 base64url",json_string:"\u0440\u044F\u0434\u043E\u043A JSON",e164:"\u043D\u043E\u043C\u0435\u0440 E.164",jwt:"JWT",template_literal:"\u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456"},n={nan:"NaN",number:"\u0447\u0438\u0441\u043B\u043E",array:"\u043C\u0430\u0441\u0438\u0432"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F instanceof ${r.expected}, \u043E\u0442\u0440\u0438\u043C\u0430\u043D\u043E ${s}`:`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F ${i}, \u043E\u0442\u0440\u0438\u043C\u0430\u043D\u043E ${s}`}case"invalid_value":return r.values.length===1?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F ${U(r.values[0])}`:`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0430 \u043E\u043F\u0446\u0456\u044F: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F \u043E\u0434\u043D\u0435 \u0437 ${T(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u0432\u0435\u043B\u0438\u043A\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${r.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F"} ${a.verb} ${i}${r.maximum.toString()} ${a.unit??"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432"}`:`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u0432\u0435\u043B\u0438\u043A\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${r.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F"} \u0431\u0443\u0434\u0435 ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u043C\u0430\u043B\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${r.origin} ${a.verb} ${i}${r.minimum.toString()} ${a.unit}`:`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u043C\u0430\u043B\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${r.origin} \u0431\u0443\u0434\u0435 ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u043F\u043E\u0447\u0438\u043D\u0430\u0442\u0438\u0441\u044F \u0437 "${i.prefix}"`:i.format==="ends_with"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u0437\u0430\u043A\u0456\u043D\u0447\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u043D\u0430 "${i.suffix}"`:i.format==="includes"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u043C\u0456\u0441\u0442\u0438\u0442\u0438 "${i.includes}"`:i.format==="regex"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0442\u0438 \u0448\u0430\u0431\u043B\u043E\u043D\u0443 ${i.pattern}`:`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 ${o[i.format]??r.format}`}case"not_multiple_of":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0435 \u0447\u0438\u0441\u043B\u043E: \u043F\u043E\u0432\u0438\u043D\u043D\u043E \u0431\u0443\u0442\u0438 \u043A\u0440\u0430\u0442\u043D\u0438\u043C ${r.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u043E\u0437\u043F\u0456\u0437\u043D\u0430\u043D\u0438\u0439 \u043A\u043B\u044E\u0447${r.keys.length>1?"\u0456":""}: ${T(r.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u043A\u043B\u044E\u0447 \u0443 ${r.origin}`;case"invalid_union":return"\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456";case"invalid_element":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F \u0443 ${r.origin}`;default:return"\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456"}}};function il(){return{localeError:fT()}}function RC(){return il()}var mT=()=>{let e={string:{unit:"\u062D\u0631\u0648\u0641",verb:"\u06C1\u0648\u0646\u0627"},file:{unit:"\u0628\u0627\u0626\u0679\u0633",verb:"\u06C1\u0648\u0646\u0627"},array:{unit:"\u0622\u0626\u0679\u0645\u0632",verb:"\u06C1\u0648\u0646\u0627"},set:{unit:"\u0622\u0626\u0679\u0645\u0632",verb:"\u06C1\u0648\u0646\u0627"}};function t(r){return e[r]??null}let o={regex:"\u0627\u0646 \u067E\u0679",email:"\u0627\u06CC \u0645\u06CC\u0644 \u0627\u06CC\u0688\u0631\u06CC\u0633",url:"\u06CC\u0648 \u0622\u0631 \u0627\u06CC\u0644",emoji:"\u0627\u06CC\u0645\u0648\u062C\u06CC",uuid:"\u06CC\u0648 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",uuidv4:"\u06CC\u0648 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC \u0648\u06CC 4",uuidv6:"\u06CC\u0648 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC \u0648\u06CC 6",nanoid:"\u0646\u06CC\u0646\u0648 \u0622\u0626\u06CC \u0688\u06CC",guid:"\u062C\u06CC \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",cuid:"\u0633\u06CC \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",cuid2:"\u0633\u06CC \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC 2",ulid:"\u06CC\u0648 \u0627\u06CC\u0644 \u0622\u0626\u06CC \u0688\u06CC",xid:"\u0627\u06CC\u06A9\u0633 \u0622\u0626\u06CC \u0688\u06CC",ksuid:"\u06A9\u06D2 \u0627\u06CC\u0633 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",datetime:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u0688\u06CC\u0679 \u0679\u0627\u0626\u0645",date:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u062A\u0627\u0631\u06CC\u062E",time:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u0648\u0642\u062A",duration:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u0645\u062F\u062A",ipv4:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 4 \u0627\u06CC\u0688\u0631\u06CC\u0633",ipv6:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 6 \u0627\u06CC\u0688\u0631\u06CC\u0633",cidrv4:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 4 \u0631\u06CC\u0646\u062C",cidrv6:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 6 \u0631\u06CC\u0646\u062C",base64:"\u0628\u06CC\u0633 64 \u0627\u0646 \u06A9\u0648\u0688\u0688 \u0633\u0679\u0631\u0646\u06AF",base64url:"\u0628\u06CC\u0633 64 \u06CC\u0648 \u0622\u0631 \u0627\u06CC\u0644 \u0627\u0646 \u06A9\u0648\u0688\u0688 \u0633\u0679\u0631\u0646\u06AF",json_string:"\u062C\u06D2 \u0627\u06CC\u0633 \u0627\u0648 \u0627\u06CC\u0646 \u0633\u0679\u0631\u0646\u06AF",e164:"\u0627\u06CC 164 \u0646\u0645\u0628\u0631",jwt:"\u062C\u06D2 \u0688\u0628\u0644\u06CC\u0648 \u0679\u06CC",template_literal:"\u0627\u0646 \u067E\u0679"},n={nan:"NaN",number:"\u0646\u0645\u0628\u0631",array:"\u0622\u0631\u06D2",null:"\u0646\u0644"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: instanceof ${r.expected} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627\u060C ${s} \u0645\u0648\u0635\u0648\u0644 \u06C1\u0648\u0627`:`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: ${i} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627\u060C ${s} \u0645\u0648\u0635\u0648\u0644 \u06C1\u0648\u0627`}case"invalid_value":return r.values.length===1?`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: ${U(r.values[0])} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`:`\u063A\u0644\u0637 \u0622\u067E\u0634\u0646: ${T(r.values,"|")} \u0645\u06CC\u06BA \u0633\u06D2 \u0627\u06CC\u06A9 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`\u0628\u06C1\u062A \u0628\u0691\u0627: ${r.origin??"\u0648\u06CC\u0644\u06CC\u0648"} \u06A9\u06D2 ${i}${r.maximum.toString()} ${a.unit??"\u0639\u0646\u0627\u0635\u0631"} \u06C1\u0648\u0646\u06D2 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u06D2`:`\u0628\u06C1\u062A \u0628\u0691\u0627: ${r.origin??"\u0648\u06CC\u0644\u06CC\u0648"} \u06A9\u0627 ${i}${r.maximum.toString()} \u06C1\u0648\u0646\u0627 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`\u0628\u06C1\u062A \u0686\u06BE\u0648\u0679\u0627: ${r.origin} \u06A9\u06D2 ${i}${r.minimum.toString()} ${a.unit} \u06C1\u0648\u0646\u06D2 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u06D2`:`\u0628\u06C1\u062A \u0686\u06BE\u0648\u0679\u0627: ${r.origin} \u06A9\u0627 ${i}${r.minimum.toString()} \u06C1\u0648\u0646\u0627 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${i.prefix}" \u0633\u06D2 \u0634\u0631\u0648\u0639 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:i.format==="ends_with"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${i.suffix}" \u067E\u0631 \u062E\u062A\u0645 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:i.format==="includes"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${i.includes}" \u0634\u0627\u0645\u0644 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:i.format==="regex"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: \u067E\u06CC\u0679\u0631\u0646 ${i.pattern} \u0633\u06D2 \u0645\u06CC\u0686 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:`\u063A\u0644\u0637 ${o[i.format]??r.format}`}case"not_multiple_of":return`\u063A\u0644\u0637 \u0646\u0645\u0628\u0631: ${r.divisor} \u06A9\u0627 \u0645\u0636\u0627\u0639\u0641 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`;case"unrecognized_keys":return`\u063A\u06CC\u0631 \u062A\u0633\u0644\u06CC\u0645 \u0634\u062F\u06C1 \u06A9\u06CC${r.keys.length>1?"\u0632":""}: ${T(r.keys,"\u060C ")}`;case"invalid_key":return`${r.origin} \u0645\u06CC\u06BA \u063A\u0644\u0637 \u06A9\u06CC`;case"invalid_union":return"\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679";case"invalid_element":return`${r.origin} \u0645\u06CC\u06BA \u063A\u0644\u0637 \u0648\u06CC\u0644\u06CC\u0648`;default:return"\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679"}}};function IC(){return{localeError:mT()}}var pT=()=>{let e={string:{unit:"belgi",verb:"bo\u2018lishi kerak"},file:{unit:"bayt",verb:"bo\u2018lishi kerak"},array:{unit:"element",verb:"bo\u2018lishi kerak"},set:{unit:"element",verb:"bo\u2018lishi kerak"},map:{unit:"yozuv",verb:"bo\u2018lishi kerak"}};function t(r){return e[r]??null}let o={regex:"kirish",email:"elektron pochta manzili",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO sana va vaqti",date:"ISO sana",time:"ISO vaqt",duration:"ISO davomiylik",ipv4:"IPv4 manzil",ipv6:"IPv6 manzil",mac:"MAC manzil",cidrv4:"IPv4 diapazon",cidrv6:"IPv6 diapazon",base64:"base64 kodlangan satr",base64url:"base64url kodlangan satr",json_string:"JSON satr",e164:"E.164 raqam",jwt:"JWT",template_literal:"kirish"},n={nan:"NaN",number:"raqam",array:"massiv"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`Noto\u2018g\u2018ri kirish: kutilgan instanceof ${r.expected}, qabul qilingan ${s}`:`Noto\u2018g\u2018ri kirish: kutilgan ${i}, qabul qilingan ${s}`}case"invalid_value":return r.values.length===1?`Noto\u2018g\u2018ri kirish: kutilgan ${U(r.values[0])}`:`Noto\u2018g\u2018ri variant: quyidagilardan biri kutilgan ${T(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`Juda katta: kutilgan ${r.origin??"qiymat"} ${i}${r.maximum.toString()} ${a.unit} ${a.verb}`:`Juda katta: kutilgan ${r.origin??"qiymat"} ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`Juda kichik: kutilgan ${r.origin} ${i}${r.minimum.toString()} ${a.unit} ${a.verb}`:`Juda kichik: kutilgan ${r.origin} ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Noto\u2018g\u2018ri satr: "${i.prefix}" bilan boshlanishi kerak`:i.format==="ends_with"?`Noto\u2018g\u2018ri satr: "${i.suffix}" bilan tugashi kerak`:i.format==="includes"?`Noto\u2018g\u2018ri satr: "${i.includes}" ni o\u2018z ichiga olishi kerak`:i.format==="regex"?`Noto\u2018g\u2018ri satr: ${i.pattern} shabloniga mos kelishi kerak`:`Noto\u2018g\u2018ri ${o[i.format]??r.format}`}case"not_multiple_of":return`Noto\u2018g\u2018ri raqam: ${r.divisor} ning karralisi bo\u2018lishi kerak`;case"unrecognized_keys":return`Noma\u2019lum kalit${r.keys.length>1?"lar":""}: ${T(r.keys,", ")}`;case"invalid_key":return`${r.origin} dagi kalit noto\u2018g\u2018ri`;case"invalid_union":return"Noto\u2018g\u2018ri kirish";case"invalid_element":return`${r.origin} da noto\u2018g\u2018ri qiymat`;default:return"Noto\u2018g\u2018ri kirish"}}};function PC(){return{localeError:pT()}}var gT=()=>{let e={string:{unit:"k\xFD t\u1EF1",verb:"c\xF3"},file:{unit:"byte",verb:"c\xF3"},array:{unit:"ph\u1EA7n t\u1EED",verb:"c\xF3"},set:{unit:"ph\u1EA7n t\u1EED",verb:"c\xF3"}};function t(r){return e[r]??null}let o={regex:"\u0111\u1EA7u v\xE0o",email:"\u0111\u1ECBa ch\u1EC9 email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ng\xE0y gi\u1EDD ISO",date:"ng\xE0y ISO",time:"gi\u1EDD ISO",duration:"kho\u1EA3ng th\u1EDDi gian ISO",ipv4:"\u0111\u1ECBa ch\u1EC9 IPv4",ipv6:"\u0111\u1ECBa ch\u1EC9 IPv6",cidrv4:"d\u1EA3i IPv4",cidrv6:"d\u1EA3i IPv6",base64:"chu\u1ED7i m\xE3 h\xF3a base64",base64url:"chu\u1ED7i m\xE3 h\xF3a base64url",json_string:"chu\u1ED7i JSON",e164:"s\u1ED1 E.164",jwt:"JWT",template_literal:"\u0111\u1EA7u v\xE0o"},n={nan:"NaN",number:"s\u1ED1",array:"m\u1EA3ng"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i instanceof ${r.expected}, nh\u1EADn \u0111\u01B0\u1EE3c ${s}`:`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${i}, nh\u1EADn \u0111\u01B0\u1EE3c ${s}`}case"invalid_value":return r.values.length===1?`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${U(r.values[0])}`:`T\xF9y ch\u1ECDn kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i m\u1ED9t trong c\xE1c gi\xE1 tr\u1ECB ${T(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`Qu\xE1 l\u1EDBn: mong \u0111\u1EE3i ${r.origin??"gi\xE1 tr\u1ECB"} ${a.verb} ${i}${r.maximum.toString()} ${a.unit??"ph\u1EA7n t\u1EED"}`:`Qu\xE1 l\u1EDBn: mong \u0111\u1EE3i ${r.origin??"gi\xE1 tr\u1ECB"} ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`Qu\xE1 nh\u1ECF: mong \u0111\u1EE3i ${r.origin} ${a.verb} ${i}${r.minimum.toString()} ${a.unit}`:`Qu\xE1 nh\u1ECF: mong \u0111\u1EE3i ${r.origin} ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i b\u1EAFt \u0111\u1EA7u b\u1EB1ng "${i.prefix}"`:i.format==="ends_with"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i k\u1EBFt th\xFAc b\u1EB1ng "${i.suffix}"`:i.format==="includes"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i bao g\u1ED3m "${i.includes}"`:i.format==="regex"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i kh\u1EDBp v\u1EDBi m\u1EABu ${i.pattern}`:`${o[i.format]??r.format} kh\xF4ng h\u1EE3p l\u1EC7`}case"not_multiple_of":return`S\u1ED1 kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i l\xE0 b\u1ED9i s\u1ED1 c\u1EE7a ${r.divisor}`;case"unrecognized_keys":return`Kh\xF3a kh\xF4ng \u0111\u01B0\u1EE3c nh\u1EADn d\u1EA1ng: ${T(r.keys,", ")}`;case"invalid_key":return`Kh\xF3a kh\xF4ng h\u1EE3p l\u1EC7 trong ${r.origin}`;case"invalid_union":return"\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7";case"invalid_element":return`Gi\xE1 tr\u1ECB kh\xF4ng h\u1EE3p l\u1EC7 trong ${r.origin}`;default:return"\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7"}}};function NC(){return{localeError:gT()}}var hT=()=>{let e={string:{unit:"\u5B57\u7B26",verb:"\u5305\u542B"},file:{unit:"\u5B57\u8282",verb:"\u5305\u542B"},array:{unit:"\u9879",verb:"\u5305\u542B"},set:{unit:"\u9879",verb:"\u5305\u542B"}};function t(r){return e[r]??null}let o={regex:"\u8F93\u5165",email:"\u7535\u5B50\u90AE\u4EF6",url:"URL",emoji:"\u8868\u60C5\u7B26\u53F7",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO\u65E5\u671F\u65F6\u95F4",date:"ISO\u65E5\u671F",time:"ISO\u65F6\u95F4",duration:"ISO\u65F6\u957F",ipv4:"IPv4\u5730\u5740",ipv6:"IPv6\u5730\u5740",cidrv4:"IPv4\u7F51\u6BB5",cidrv6:"IPv6\u7F51\u6BB5",base64:"base64\u7F16\u7801\u5B57\u7B26\u4E32",base64url:"base64url\u7F16\u7801\u5B57\u7B26\u4E32",json_string:"JSON\u5B57\u7B26\u4E32",e164:"E.164\u53F7\u7801",jwt:"JWT",template_literal:"\u8F93\u5165"},n={nan:"NaN",number:"\u6570\u5B57",array:"\u6570\u7EC4",null:"\u7A7A\u503C(null)"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B instanceof ${r.expected}\uFF0C\u5B9E\u9645\u63A5\u6536 ${s}`:`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${i}\uFF0C\u5B9E\u9645\u63A5\u6536 ${s}`}case"invalid_value":return r.values.length===1?`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${U(r.values[0])}`:`\u65E0\u6548\u9009\u9879\uFF1A\u671F\u671B\u4EE5\u4E0B\u4E4B\u4E00 ${T(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`\u6570\u503C\u8FC7\u5927\uFF1A\u671F\u671B ${r.origin??"\u503C"} ${i}${r.maximum.toString()} ${a.unit??"\u4E2A\u5143\u7D20"}`:`\u6570\u503C\u8FC7\u5927\uFF1A\u671F\u671B ${r.origin??"\u503C"} ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`\u6570\u503C\u8FC7\u5C0F\uFF1A\u671F\u671B ${r.origin} ${i}${r.minimum.toString()} ${a.unit}`:`\u6570\u503C\u8FC7\u5C0F\uFF1A\u671F\u671B ${r.origin} ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u4EE5 "${i.prefix}" \u5F00\u5934`:i.format==="ends_with"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u4EE5 "${i.suffix}" \u7ED3\u5C3E`:i.format==="includes"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u5305\u542B "${i.includes}"`:i.format==="regex"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u6EE1\u8DB3\u6B63\u5219\u8868\u8FBE\u5F0F ${i.pattern}`:`\u65E0\u6548${o[i.format]??r.format}`}case"not_multiple_of":return`\u65E0\u6548\u6570\u5B57\uFF1A\u5FC5\u987B\u662F ${r.divisor} \u7684\u500D\u6570`;case"unrecognized_keys":return`\u51FA\u73B0\u672A\u77E5\u7684\u952E(key): ${T(r.keys,", ")}`;case"invalid_key":return`${r.origin} \u4E2D\u7684\u952E(key)\u65E0\u6548`;case"invalid_union":return"\u65E0\u6548\u8F93\u5165";case"invalid_element":return`${r.origin} \u4E2D\u5305\u542B\u65E0\u6548\u503C(value)`;default:return"\u65E0\u6548\u8F93\u5165"}}};function kC(){return{localeError:hT()}}var vT=()=>{let e={string:{unit:"\u5B57\u5143",verb:"\u64C1\u6709"},file:{unit:"\u4F4D\u5143\u7D44",verb:"\u64C1\u6709"},array:{unit:"\u9805\u76EE",verb:"\u64C1\u6709"},set:{unit:"\u9805\u76EE",verb:"\u64C1\u6709"}};function t(r){return e[r]??null}let o={regex:"\u8F38\u5165",email:"\u90F5\u4EF6\u5730\u5740",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u65E5\u671F\u6642\u9593",date:"ISO \u65E5\u671F",time:"ISO \u6642\u9593",duration:"ISO \u671F\u9593",ipv4:"IPv4 \u4F4D\u5740",ipv6:"IPv6 \u4F4D\u5740",cidrv4:"IPv4 \u7BC4\u570D",cidrv6:"IPv6 \u7BC4\u570D",base64:"base64 \u7DE8\u78BC\u5B57\u4E32",base64url:"base64url \u7DE8\u78BC\u5B57\u4E32",json_string:"JSON \u5B57\u4E32",e164:"E.164 \u6578\u503C",jwt:"JWT",template_literal:"\u8F38\u5165"},n={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA instanceof ${r.expected}\uFF0C\u4F46\u6536\u5230 ${s}`:`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${i}\uFF0C\u4F46\u6536\u5230 ${s}`}case"invalid_value":return r.values.length===1?`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${U(r.values[0])}`:`\u7121\u6548\u7684\u9078\u9805\uFF1A\u9810\u671F\u70BA\u4EE5\u4E0B\u5176\u4E2D\u4E4B\u4E00 ${T(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`\u6578\u503C\u904E\u5927\uFF1A\u9810\u671F ${r.origin??"\u503C"} \u61C9\u70BA ${i}${r.maximum.toString()} ${a.unit??"\u500B\u5143\u7D20"}`:`\u6578\u503C\u904E\u5927\uFF1A\u9810\u671F ${r.origin??"\u503C"} \u61C9\u70BA ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`\u6578\u503C\u904E\u5C0F\uFF1A\u9810\u671F ${r.origin} \u61C9\u70BA ${i}${r.minimum.toString()} ${a.unit}`:`\u6578\u503C\u904E\u5C0F\uFF1A\u9810\u671F ${r.origin} \u61C9\u70BA ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u4EE5 "${i.prefix}" \u958B\u982D`:i.format==="ends_with"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u4EE5 "${i.suffix}" \u7D50\u5C3E`:i.format==="includes"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u5305\u542B "${i.includes}"`:i.format==="regex"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u7B26\u5408\u683C\u5F0F ${i.pattern}`:`\u7121\u6548\u7684 ${o[i.format]??r.format}`}case"not_multiple_of":return`\u7121\u6548\u7684\u6578\u5B57\uFF1A\u5FC5\u9808\u70BA ${r.divisor} \u7684\u500D\u6578`;case"unrecognized_keys":return`\u7121\u6CD5\u8B58\u5225\u7684\u9375\u503C${r.keys.length>1?"\u5011":""}\uFF1A${T(r.keys,"\u3001")}`;case"invalid_key":return`${r.origin} \u4E2D\u6709\u7121\u6548\u7684\u9375\u503C`;case"invalid_union":return"\u7121\u6548\u7684\u8F38\u5165\u503C";case"invalid_element":return`${r.origin} \u4E2D\u6709\u7121\u6548\u7684\u503C`;default:return"\u7121\u6548\u7684\u8F38\u5165\u503C"}}};function zC(){return{localeError:vT()}}var xT=()=>{let e={string:{unit:"\xE0mi",verb:"n\xED"},file:{unit:"bytes",verb:"n\xED"},array:{unit:"nkan",verb:"n\xED"},set:{unit:"nkan",verb:"n\xED"}};function t(r){return e[r]??null}let o={regex:"\u1EB9\u0300r\u1ECD \xECb\xE1w\u1ECDl\xE9",email:"\xE0d\xEDr\u1EB9\u0301s\xEC \xECm\u1EB9\u0301l\xEC",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\xE0k\xF3k\xF2 ISO",date:"\u1ECDj\u1ECD\u0301 ISO",time:"\xE0k\xF3k\xF2 ISO",duration:"\xE0k\xF3k\xF2 t\xF3 p\xE9 ISO",ipv4:"\xE0d\xEDr\u1EB9\u0301s\xEC IPv4",ipv6:"\xE0d\xEDr\u1EB9\u0301s\xEC IPv6",cidrv4:"\xE0gb\xE8gb\xE8 IPv4",cidrv6:"\xE0gb\xE8gb\xE8 IPv6",base64:"\u1ECD\u0300r\u1ECD\u0300 t\xED a k\u1ECD\u0301 n\xED base64",base64url:"\u1ECD\u0300r\u1ECD\u0300 base64url",json_string:"\u1ECD\u0300r\u1ECD\u0300 JSON",e164:"n\u1ECD\u0301mb\xE0 E.164",jwt:"JWT",template_literal:"\u1EB9\u0300r\u1ECD \xECb\xE1w\u1ECDl\xE9"},n={nan:"NaN",number:"n\u1ECD\u0301mb\xE0",array:"akop\u1ECD"};return r=>{switch(r.code){case"invalid_type":{let i=n[r.expected]??r.expected,a=V(r.input),s=n[a]??a;return/^[A-Z]/.test(r.expected)?`\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi instanceof ${r.expected}, \xE0m\u1ECD\u0300 a r\xED ${s}`:`\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi ${i}, \xE0m\u1ECD\u0300 a r\xED ${s}`}case"invalid_value":return r.values.length===1?`\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi ${U(r.values[0])}`:`\xC0\u1E63\xE0y\xE0n a\u1E63\xEC\u1E63e: yan \u1ECD\u0300kan l\xE1ra ${T(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`T\xF3 p\u1ECD\u0300 j\xF9: a n\xED l\xE1ti j\u1EB9\u0301 p\xE9 ${r.origin??"iye"} ${a.verb} ${i}${r.maximum} ${a.unit}`:`T\xF3 p\u1ECD\u0300 j\xF9: a n\xED l\xE1ti j\u1EB9\u0301 ${i}${r.maximum}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`K\xE9r\xE9 ju: a n\xED l\xE1ti j\u1EB9\u0301 p\xE9 ${r.origin} ${a.verb} ${i}${r.minimum} ${a.unit}`:`K\xE9r\xE9 ju: a n\xED l\xE1ti j\u1EB9\u0301 ${i}${r.minimum}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 b\u1EB9\u0300r\u1EB9\u0300 p\u1EB9\u0300l\xFA "${i.prefix}"`:i.format==="ends_with"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 par\xED p\u1EB9\u0300l\xFA "${i.suffix}"`:i.format==="includes"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 n\xED "${i.includes}"`:i.format==="regex"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 b\xE1 \xE0p\u1EB9\u1EB9r\u1EB9 mu ${i.pattern}`:`A\u1E63\xEC\u1E63e: ${o[i.format]??r.format}`}case"not_multiple_of":return`N\u1ECD\u0301mb\xE0 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 j\u1EB9\u0301 \xE8y\xE0 p\xEDp\xEDn ti ${r.divisor}`;case"unrecognized_keys":return`B\u1ECDt\xECn\xEC \xE0\xECm\u1ECD\u0300: ${T(r.keys,", ")}`;case"invalid_key":return`B\u1ECDt\xECn\xEC a\u1E63\xEC\u1E63e n\xEDn\xFA ${r.origin}`;case"invalid_union":return"\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e";case"invalid_element":return`Iye a\u1E63\xEC\u1E63e n\xEDn\xFA ${r.origin}`;default:return"\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e"}}};function TC(){return{localeError:xT()}}var OC,gg=Symbol("ZodOutput"),hg=Symbol("ZodInput"),al=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...o){let n=o[0];return this._map.set(t,n),n&&typeof n=="object"&&"id"in n&&this._idmap.set(n.id,t),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){let o=this._map.get(t);return o&&typeof o=="object"&&"id"in o&&this._idmap.delete(o.id),this._map.delete(t),this}get(t){let o=t._zod.parent;if(o){let n={...this.get(o)??{}};delete n.id;let r={...n,...this._map.get(t)};return Object.keys(r).length?r:void 0}return this._map.get(t)}has(t){return this._map.has(t)}};function sl(){return new al}(OC=globalThis).__zod_globalRegistry??(OC.__zod_globalRegistry=sl());var Bt=globalThis.__zod_globalRegistry;function vg(e,t){return new e({type:"string",...X(t)})}function xg(e,t){return new e({type:"string",coerce:!0,...X(t)})}function cl(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...X(t)})}function Cs(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...X(t)})}function ll(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...X(t)})}function ul(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...X(t)})}function dl(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...X(t)})}function fl(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...X(t)})}function _s(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...X(t)})}function ml(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...X(t)})}function pl(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...X(t)})}function gl(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...X(t)})}function hl(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...X(t)})}function vl(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...X(t)})}function xl(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...X(t)})}function yl(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...X(t)})}function bl(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...X(t)})}function $l(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...X(t)})}function yg(e,t){return new e({type:"string",format:"mac",check:"string_format",abort:!1,...X(t)})}function Sl(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...X(t)})}function Cl(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...X(t)})}function _l(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...X(t)})}function wl(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...X(t)})}function El(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...X(t)})}function Rl(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...X(t)})}var bg={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function $g(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...X(t)})}function Sg(e,t){return new e({type:"string",format:"date",check:"string_format",...X(t)})}function Cg(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...X(t)})}function _g(e,t){return new e({type:"string",format:"duration",check:"string_format",...X(t)})}function wg(e,t){return new e({type:"number",checks:[],...X(t)})}function Eg(e,t){return new e({type:"number",coerce:!0,checks:[],...X(t)})}function Rg(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...X(t)})}function Ig(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float32",...X(t)})}function Pg(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float64",...X(t)})}function Ng(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"int32",...X(t)})}function kg(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"uint32",...X(t)})}function zg(e,t){return new e({type:"boolean",...X(t)})}function Tg(e,t){return new e({type:"boolean",coerce:!0,...X(t)})}function Og(e,t){return new e({type:"bigint",...X(t)})}function Ag(e,t){return new e({type:"bigint",coerce:!0,...X(t)})}function Dg(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...X(t)})}function Mg(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...X(t)})}function jg(e,t){return new e({type:"symbol",...X(t)})}function Lg(e,t){return new e({type:"undefined",...X(t)})}function Fg(e,t){return new e({type:"null",...X(t)})}function Ug(e){return new e({type:"any"})}function Vg(e){return new e({type:"unknown"})}function Bg(e,t){return new e({type:"never",...X(t)})}function Hg(e,t){return new e({type:"void",...X(t)})}function Zg(e,t){return new e({type:"date",...X(t)})}function Wg(e,t){return new e({type:"date",coerce:!0,...X(t)})}function Gg(e,t){return new e({type:"nan",...X(t)})}function mo(e,t){return new Wc({check:"less_than",...X(t),value:e,inclusive:!1})}function zr(e,t){return new Wc({check:"less_than",...X(t),value:e,inclusive:!0})}function po(e,t){return new Gc({check:"greater_than",...X(t),value:e,inclusive:!1})}function dr(e,t){return new Gc({check:"greater_than",...X(t),value:e,inclusive:!0})}function Il(e){return po(0,e)}function Pl(e){return mo(0,e)}function Nl(e){return zr(0,e)}function kl(e){return dr(0,e)}function ln(e,t){return new Fm({check:"multiple_of",...X(t),value:e})}function un(e,t){return new Bm({check:"max_size",...X(t),maximum:e})}function go(e,t){return new Hm({check:"min_size",...X(t),minimum:e})}function Zn(e,t){return new Zm({check:"size_equals",...X(t),size:e})}function Wn(e,t){return new Wm({check:"max_length",...X(t),maximum:e})}function Oo(e,t){return new Gm({check:"min_length",...X(t),minimum:e})}function Gn(e,t){return new qm({check:"length_equals",...X(t),length:e})}function Li(e,t){return new Xm({check:"string_format",format:"regex",...X(t),pattern:e})}function Fi(e){return new Km({check:"string_format",format:"lowercase",...X(e)})}function Ui(e){return new Jm({check:"string_format",format:"uppercase",...X(e)})}function Vi(e,t){return new Ym({check:"string_format",format:"includes",...X(t),includes:e})}function Bi(e,t){return new Qm({check:"string_format",format:"starts_with",...X(t),prefix:e})}function Hi(e,t){return new ep({check:"string_format",format:"ends_with",...X(t),suffix:e})}function zl(e,t,o){return new tp({check:"property",property:e,schema:t,...X(o)})}function Zi(e,t){return new rp({check:"mime_type",mime:e,...X(t)})}function Jr(e){return new op({check:"overwrite",tx:e})}function Wi(e){return Jr(t=>t.normalize(e))}function Gi(){return Jr(e=>e.trim())}function qi(){return Jr(e=>e.toLowerCase())}function Xi(){return Jr(e=>e.toUpperCase())}function Ki(){return Jr(e=>Qf(e))}function qg(e,t,o){return new e({type:"array",element:t,...X(o)})}function bT(e,t,o){return new e({type:"union",options:t,...X(o)})}function $T(e,t,o){return new e({type:"union",options:t,inclusive:!1,...X(o)})}function ST(e,t,o,n){return new e({type:"union",options:o,discriminator:t,...X(n)})}function CT(e,t,o){return new e({type:"intersection",left:t,right:o})}function _T(e,t,o,n){let r=o instanceof _e,i=r?n:o,a=r?o:null;return new e({type:"tuple",items:t,rest:a,...X(i)})}function wT(e,t,o,n){return new e({type:"record",keyType:t,valueType:o,...X(n)})}function ET(e,t,o,n){return new e({type:"map",keyType:t,valueType:o,...X(n)})}function RT(e,t,o){return new e({type:"set",valueType:t,...X(o)})}function IT(e,t,o){let n=Array.isArray(t)?Object.fromEntries(t.map(r=>[r,r])):t;return new e({type:"enum",entries:n,...X(o)})}function PT(e,t,o){return new e({type:"enum",entries:t,...X(o)})}function NT(e,t,o){return new e({type:"literal",values:Array.isArray(t)?t:[t],...X(o)})}function Xg(e,t){return new e({type:"file",...X(t)})}function kT(e,t){return new e({type:"transform",transform:t})}function zT(e,t){return new e({type:"optional",innerType:t})}function TT(e,t){return new e({type:"nullable",innerType:t})}function OT(e,t,o){return new e({type:"default",innerType:t,get defaultValue(){return typeof o=="function"?o():tm(o)}})}function AT(e,t,o){return new e({type:"nonoptional",innerType:t,...X(o)})}function DT(e,t){return new e({type:"success",innerType:t})}function MT(e,t,o){return new e({type:"catch",innerType:t,catchValue:typeof o=="function"?o:()=>o})}function jT(e,t,o){return new e({type:"pipe",in:t,out:o})}function LT(e,t){return new e({type:"readonly",innerType:t})}function FT(e,t,o){return new e({type:"template_literal",parts:t,...X(o)})}function UT(e,t){return new e({type:"lazy",getter:t})}function VT(e,t){return new e({type:"promise",innerType:t})}function Kg(e,t,o){let n=X(o);return n.abort??(n.abort=!0),new e({type:"custom",check:"custom",fn:t,...n})}function Jg(e,t,o){return new e({type:"custom",check:"custom",fn:t,...X(o)})}function Yg(e,t){let o=AC(n=>(n.addIssue=r=>{if(typeof r=="string")n.issues.push(zi(r,n.value,o._zod.def));else{let i=r;i.fatal&&(i.continue=!1),i.code??(i.code="custom"),i.input??(i.input=n.value),i.inst??(i.inst=o),i.continue??(i.continue=!o._zod.def.abort),n.issues.push(zi(i))}},e(n.value,n)),t);return o}function AC(e,t){let o=new ot({check:"custom",...X(t)});return o._zod.check=e,o}function Qg(e){let t=new ot({check:"describe"});return t._zod.onattach=[o=>{let n=Bt.get(o)??{};Bt.add(o,{...n,description:e})}],t._zod.check=()=>{},t}function eh(e){let t=new ot({check:"meta"});return t._zod.onattach=[o=>{let n=Bt.get(o)??{};Bt.add(o,{...n,...e})}],t._zod.check=()=>{},t}function th(e,t){let o=X(t),n=o.truthy??["true","1","yes","on","y","enabled"],r=o.falsy??["false","0","no","off","n","disabled"];o.case!=="sensitive"&&(n=n.map(m=>typeof m=="string"?m.toLowerCase():m),r=r.map(m=>typeof m=="string"?m.toLowerCase():m));let i=new Set(n),a=new Set(r),s=e.Codec??bs,l=e.Boolean??xs,c=e.String??Hn,u=new c({type:"string",error:o.error}),d=new l({type:"boolean",error:o.error}),f=new s({type:"pipe",in:u,out:d,transform:((m,p)=>{let g=m;return o.case!=="sensitive"&&(g=g.toLowerCase()),i.has(g)?!0:a.has(g)?!1:(p.issues.push({code:"invalid_value",expected:"stringbool",values:[...i,...a],input:p.value,inst:f,continue:!1}),{})}),reverseTransform:((m,p)=>m===!0?n[0]||"true":r[0]||"false"),error:o.error});return f}function Ji(e,t,o,n={}){let r=X(n),i={...X(n),check:"string_format",type:"string",format:t,fn:typeof o=="function"?o:s=>o.test(s),...r};return o instanceof RegExp&&(i.pattern=o),new e(i)}function dn(e){let t=e?.target??"draft-2020-12";return t==="draft-4"&&(t="draft-04"),t==="draft-7"&&(t="draft-07"),{processors:e.processors??{},metadataRegistry:e?.metadata??Bt,target:t,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,cycles:e?.cycles??"ref",reused:e?.reused??"inline",external:e?.external??void 0}}function Ge(e,t,o={path:[],schemaPath:[]}){var n;let r=e._zod.def,i=t.seen.get(e);if(i)return i.count++,o.schemaPath.includes(e)&&(i.cycle=o.path),i.schema;let a={schema:{},count:1,cycle:void 0,path:o.path};t.seen.set(e,a);let s=e._zod.toJSONSchema?.();if(s)a.schema=s;else{let u={...o,schemaPath:[...o.schemaPath,e],path:o.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,a.schema,u);else{let f=a.schema,m=t.processors[r.type];if(!m)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${r.type}`);m(e,t,f,u)}let d=e._zod.parent;d&&(a.ref||(a.ref=d),Ge(d,t,u),t.seen.get(d).isParent=!0)}let l=t.metadataRegistry.get(e);return l&&Object.assign(a.schema,l),t.io==="input"&&fr(e)&&(delete a.schema.examples,delete a.schema.default),t.io==="input"&&"_prefault"in a.schema&&((n=a.schema).default??(n.default=a.schema._prefault)),delete a.schema._prefault,t.seen.get(e).schema}function fn(e,t){let o=e.seen.get(t);if(!o)throw new Error("Unprocessed schema. This is a bug in Zod.");let n=new Map;for(let a of e.seen.entries()){let s=e.metadataRegistry.get(a[0])?.id;if(s){let l=n.get(s);if(l&&l!==a[0])throw new Error(`Duplicate schema id "${s}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);n.set(s,a[0])}}let r=a=>{let s=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){let d=e.external.registry.get(a[0])?.id,f=e.external.uri??(p=>p);if(d)return{ref:f(d)};let m=a[1].defId??a[1].schema.id??`schema${e.counter++}`;return a[1].defId=m,{defId:m,ref:`${f("__shared")}#/${s}/${m}`}}if(a[1]===o)return{ref:"#"};let c=`#/${s}/`,u=a[1].schema.id??`__schema${e.counter++}`;return{defId:u,ref:c+u}},i=a=>{if(a[1].schema.$ref)return;let s=a[1],{ref:l,defId:c}=r(a);s.def={...s.schema},c&&(s.defId=c);let u=s.schema;for(let d in u)delete u[d];u.$ref=l};if(e.cycles==="throw")for(let a of e.seen.entries()){let s=a[1];if(s.cycle)throw new Error(`Cycle detected: #/${s.cycle?.join("/")}/<root>
64
+
65
+ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let a of e.seen.entries()){let s=a[1];if(t===a[0]){i(a);continue}if(e.external){let c=e.external.registry.get(a[0])?.id;if(t!==a[0]&&c){i(a);continue}}if(e.metadataRegistry.get(a[0])?.id){i(a);continue}if(s.cycle){i(a);continue}if(s.count>1&&e.reused==="ref"){i(a);continue}}}function mn(e,t){let o=e.seen.get(t);if(!o)throw new Error("Unprocessed schema. This is a bug in Zod.");let n=s=>{let l=e.seen.get(s);if(l.ref===null)return;let c=l.def??l.schema,u={...c},d=l.ref;if(l.ref=null,d){n(d);let m=e.seen.get(d),p=m.schema;if(p.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(c.allOf=c.allOf??[],c.allOf.push(p)):Object.assign(c,p),Object.assign(c,u),s._zod.parent===d)for(let x in c)x==="$ref"||x==="allOf"||x in u||delete c[x];if(p.$ref&&m.def)for(let x in c)x==="$ref"||x==="allOf"||x in m.def&&JSON.stringify(c[x])===JSON.stringify(m.def[x])&&delete c[x]}let f=s._zod.parent;if(f&&f!==d){n(f);let m=e.seen.get(f);if(m?.schema.$ref&&(c.$ref=m.schema.$ref,m.def))for(let p in c)p==="$ref"||p==="allOf"||p in m.def&&JSON.stringify(c[p])===JSON.stringify(m.def[p])&&delete c[p]}e.override({zodSchema:s,jsonSchema:c,path:l.path??[]})};for(let s of[...e.seen.entries()].reverse())n(s[0]);let r={};if(e.target==="draft-2020-12"?r.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?r.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?r.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){let s=e.external.registry.get(t)?.id;if(!s)throw new Error("Schema is missing an `id` property");r.$id=e.external.uri(s)}Object.assign(r,o.def??o.schema);let i=e.metadataRegistry.get(t)?.id;i!==void 0&&r.id===i&&delete r.id;let a=e.external?.defs??{};for(let s of e.seen.entries()){let l=s[1];l.def&&l.defId&&(l.def.id===l.defId&&delete l.def.id,a[l.defId]=l.def)}e.external||Object.keys(a).length>0&&(e.target==="draft-2020-12"?r.$defs=a:r.definitions=a);try{let s=JSON.parse(JSON.stringify(r));return Object.defineProperty(s,"~standard",{value:{...t["~standard"],jsonSchema:{input:Yi(t,"input",e.processors),output:Yi(t,"output",e.processors)}},enumerable:!1,writable:!1}),s}catch{throw new Error("Error converting schema to JSON.")}}function fr(e,t){let o=t??{seen:new Set};if(o.seen.has(e))return!1;o.seen.add(e);let n=e._zod.def;if(n.type==="transform")return!0;if(n.type==="array")return fr(n.element,o);if(n.type==="set")return fr(n.valueType,o);if(n.type==="lazy")return fr(n.getter(),o);if(n.type==="promise"||n.type==="optional"||n.type==="nonoptional"||n.type==="nullable"||n.type==="readonly"||n.type==="default"||n.type==="prefault")return fr(n.innerType,o);if(n.type==="intersection")return fr(n.left,o)||fr(n.right,o);if(n.type==="record"||n.type==="map")return fr(n.keyType,o)||fr(n.valueType,o);if(n.type==="pipe")return e._zod.traits.has("$ZodCodec")?!0:fr(n.in,o)||fr(n.out,o);if(n.type==="object"){for(let r in n.shape)if(fr(n.shape[r],o))return!0;return!1}if(n.type==="union"){for(let r of n.options)if(fr(r,o))return!0;return!1}if(n.type==="tuple"){for(let r of n.items)if(fr(r,o))return!0;return!!(n.rest&&fr(n.rest,o))}return!1}var rh=(e,t={})=>o=>{let n=dn({...o,processors:t});return Ge(e,n),fn(n,e),mn(n,e)},Yi=(e,t,o={})=>n=>{let{libraryOptions:r,target:i}=n??{},a=dn({...r??{},target:i,io:t,processors:o});return Ge(e,a),fn(a,e),mn(a,e)};var BT={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},oh=(e,t,o,n)=>{let r=o;r.type="string";let{minimum:i,maximum:a,format:s,patterns:l,contentEncoding:c}=e._zod.bag;if(typeof i=="number"&&(r.minLength=i),typeof a=="number"&&(r.maxLength=a),s&&(r.format=BT[s]??s,r.format===""&&delete r.format,s==="time"&&delete r.format),c&&(r.contentEncoding=c),l&&l.size>0){let u=[...l];u.length===1?r.pattern=u[0].source:u.length>1&&(r.allOf=[...u.map(d=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:d.source}))])}},nh=(e,t,o,n)=>{let r=o,{minimum:i,maximum:a,format:s,multipleOf:l,exclusiveMaximum:c,exclusiveMinimum:u}=e._zod.bag;typeof s=="string"&&s.includes("int")?r.type="integer":r.type="number";let d=typeof u=="number"&&u>=(i??Number.NEGATIVE_INFINITY),f=typeof c=="number"&&c<=(a??Number.POSITIVE_INFINITY),m=t.target==="draft-04"||t.target==="openapi-3.0";d?m?(r.minimum=u,r.exclusiveMinimum=!0):r.exclusiveMinimum=u:typeof i=="number"&&(r.minimum=i),f?m?(r.maximum=c,r.exclusiveMaximum=!0):r.exclusiveMaximum=c:typeof a=="number"&&(r.maximum=a),typeof l=="number"&&(r.multipleOf=l)},ih=(e,t,o,n)=>{o.type="boolean"},ah=(e,t,o,n)=>{if(t.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema")},sh=(e,t,o,n)=>{if(t.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema")},ch=(e,t,o,n)=>{t.target==="openapi-3.0"?(o.type="string",o.nullable=!0,o.enum=[null]):o.type="null"},lh=(e,t,o,n)=>{if(t.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema")},uh=(e,t,o,n)=>{if(t.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema")},dh=(e,t,o,n)=>{o.not={}},fh=(e,t,o,n)=>{},mh=(e,t,o,n)=>{},ph=(e,t,o,n)=>{if(t.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema")},gh=(e,t,o,n)=>{let r=e._zod.def,i=ss(r.entries);i.every(a=>typeof a=="number")&&(o.type="number"),i.every(a=>typeof a=="string")&&(o.type="string"),o.enum=i},hh=(e,t,o,n)=>{let r=e._zod.def,i=[];for(let a of r.values)if(a===void 0){if(t.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof a=="bigint"){if(t.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");i.push(Number(a))}else i.push(a);if(i.length!==0)if(i.length===1){let a=i[0];o.type=a===null?"null":typeof a,t.target==="draft-04"||t.target==="openapi-3.0"?o.enum=[a]:o.const=a}else i.every(a=>typeof a=="number")&&(o.type="number"),i.every(a=>typeof a=="string")&&(o.type="string"),i.every(a=>typeof a=="boolean")&&(o.type="boolean"),i.every(a=>a===null)&&(o.type="null"),o.enum=i},vh=(e,t,o,n)=>{if(t.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema")},xh=(e,t,o,n)=>{let r=o,i=e._zod.pattern;if(!i)throw new Error("Pattern not found in template literal");r.type="string",r.pattern=i.source},yh=(e,t,o,n)=>{let r=o,i={type:"string",format:"binary",contentEncoding:"binary"},{minimum:a,maximum:s,mime:l}=e._zod.bag;a!==void 0&&(i.minLength=a),s!==void 0&&(i.maxLength=s),l?l.length===1?(i.contentMediaType=l[0],Object.assign(r,i)):(Object.assign(r,i),r.anyOf=l.map(c=>({contentMediaType:c}))):Object.assign(r,i)},bh=(e,t,o,n)=>{o.type="boolean"},$h=(e,t,o,n)=>{if(t.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},Sh=(e,t,o,n)=>{if(t.unrepresentable==="throw")throw new Error("Function types cannot be represented in JSON Schema")},Ch=(e,t,o,n)=>{if(t.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},_h=(e,t,o,n)=>{if(t.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema")},wh=(e,t,o,n)=>{if(t.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema")},Eh=(e,t,o,n)=>{let r=o,i=e._zod.def,{minimum:a,maximum:s}=e._zod.bag;typeof a=="number"&&(r.minItems=a),typeof s=="number"&&(r.maxItems=s),r.type="array",r.items=Ge(i.element,t,{...n,path:[...n.path,"items"]})},Rh=(e,t,o,n)=>{let r=o,i=e._zod.def;r.type="object",r.properties={};let a=i.shape;for(let c in a)r.properties[c]=Ge(a[c],t,{...n,path:[...n.path,"properties",c]});let s=new Set(Object.keys(a)),l=new Set([...s].filter(c=>{let u=i.shape[c]._zod;return t.io==="input"?u.optin===void 0:u.optout===void 0}));l.size>0&&(r.required=Array.from(l)),i.catchall?._zod.def.type==="never"?r.additionalProperties=!1:i.catchall?i.catchall&&(r.additionalProperties=Ge(i.catchall,t,{...n,path:[...n.path,"additionalProperties"]})):t.io==="output"&&(r.additionalProperties=!1)},Ol=(e,t,o,n)=>{let r=e._zod.def,i=r.inclusive===!1,a=r.options.map((s,l)=>Ge(s,t,{...n,path:[...n.path,i?"oneOf":"anyOf",l]}));i?o.oneOf=a:o.anyOf=a},Ih=(e,t,o,n)=>{let r=e._zod.def,i=Ge(r.left,t,{...n,path:[...n.path,"allOf",0]}),a=Ge(r.right,t,{...n,path:[...n.path,"allOf",1]}),s=c=>"allOf"in c&&Object.keys(c).length===1,l=[...s(i)?i.allOf:[i],...s(a)?a.allOf:[a]];o.allOf=l},Ph=(e,t,o,n)=>{let r=o,i=e._zod.def;r.type="array";let a=t.target==="draft-2020-12"?"prefixItems":"items",s=t.target==="draft-2020-12"||t.target==="openapi-3.0"?"items":"additionalItems",l=i.items.map((f,m)=>Ge(f,t,{...n,path:[...n.path,a,m]})),c=i.rest?Ge(i.rest,t,{...n,path:[...n.path,s,...t.target==="openapi-3.0"?[i.items.length]:[]]}):null;t.target==="draft-2020-12"?(r.prefixItems=l,c&&(r.items=c)):t.target==="openapi-3.0"?(r.items={anyOf:l},c&&r.items.anyOf.push(c),r.minItems=l.length,c||(r.maxItems=l.length)):(r.items=l,c&&(r.additionalItems=c));let{minimum:u,maximum:d}=e._zod.bag;typeof u=="number"&&(r.minItems=u),typeof d=="number"&&(r.maxItems=d)},Nh=(e,t,o,n)=>{let r=o,i=e._zod.def;r.type="object";let a=i.keyType,l=a._zod.bag?.patterns;if(i.mode==="loose"&&l&&l.size>0){let u=Ge(i.valueType,t,{...n,path:[...n.path,"patternProperties","*"]});r.patternProperties={};for(let d of l)r.patternProperties[d.source]=u}else(t.target==="draft-07"||t.target==="draft-2020-12")&&(r.propertyNames=Ge(i.keyType,t,{...n,path:[...n.path,"propertyNames"]})),r.additionalProperties=Ge(i.valueType,t,{...n,path:[...n.path,"additionalProperties"]});let c=a._zod.values;if(c){let u=[...c].filter(d=>typeof d=="string"||typeof d=="number");u.length>0&&(r.required=u)}},kh=(e,t,o,n)=>{let r=e._zod.def,i=Ge(r.innerType,t,n),a=t.seen.get(e);t.target==="openapi-3.0"?(a.ref=r.innerType,o.nullable=!0):o.anyOf=[i,{type:"null"}]},zh=(e,t,o,n)=>{let r=e._zod.def;Ge(r.innerType,t,n);let i=t.seen.get(e);i.ref=r.innerType},Th=(e,t,o,n)=>{let r=e._zod.def;Ge(r.innerType,t,n);let i=t.seen.get(e);i.ref=r.innerType,o.default=JSON.parse(JSON.stringify(r.defaultValue))},Oh=(e,t,o,n)=>{let r=e._zod.def;Ge(r.innerType,t,n);let i=t.seen.get(e);i.ref=r.innerType,t.io==="input"&&(o._prefault=JSON.parse(JSON.stringify(r.defaultValue)))},Ah=(e,t,o,n)=>{let r=e._zod.def;Ge(r.innerType,t,n);let i=t.seen.get(e);i.ref=r.innerType;let a;try{a=r.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}o.default=a},Dh=(e,t,o,n)=>{let r=e._zod.def,i=r.in._zod.traits.has("$ZodTransform"),a=t.io==="input"?i?r.out:r.in:r.out;Ge(a,t,n);let s=t.seen.get(e);s.ref=a},Mh=(e,t,o,n)=>{let r=e._zod.def;Ge(r.innerType,t,n);let i=t.seen.get(e);i.ref=r.innerType,o.readOnly=!0},jh=(e,t,o,n)=>{let r=e._zod.def;Ge(r.innerType,t,n);let i=t.seen.get(e);i.ref=r.innerType},Al=(e,t,o,n)=>{let r=e._zod.def;Ge(r.innerType,t,n);let i=t.seen.get(e);i.ref=r.innerType},Lh=(e,t,o,n)=>{let r=e._zod.innerType;Ge(r,t,n);let i=t.seen.get(e);i.ref=r},Tl={string:oh,number:nh,boolean:ih,bigint:ah,symbol:sh,null:ch,undefined:lh,void:uh,never:dh,any:fh,unknown:mh,date:ph,enum:gh,literal:hh,nan:vh,template_literal:xh,file:yh,success:bh,custom:$h,function:Sh,transform:Ch,map:_h,set:wh,array:Eh,object:Rh,union:Ol,intersection:Ih,tuple:Ph,record:Nh,nullable:kh,nonoptional:zh,default:Th,prefault:Oh,catch:Ah,pipe:Dh,readonly:Mh,promise:jh,optional:Al,lazy:Lh};function Dl(e,t){if("_idmap"in e){let n=e,r=dn({...t,processors:Tl}),i={};for(let l of n._idmap.entries()){let[c,u]=l;Ge(u,r)}let a={},s={registry:n,uri:t?.uri,defs:i};r.external=s;for(let l of n._idmap.entries()){let[c,u]=l;fn(r,u),a[c]=mn(r,u)}if(Object.keys(i).length>0){let l=r.target==="draft-2020-12"?"$defs":"definitions";a.__shared={[l]:i}}return{schemas:a}}let o=dn({...t,processors:Tl});return Ge(e,o),fn(o,e),mn(o,e)}var Ml=class{get metadataRegistry(){return this.ctx.metadataRegistry}get target(){return this.ctx.target}get unrepresentable(){return this.ctx.unrepresentable}get override(){return this.ctx.override}get io(){return this.ctx.io}get counter(){return this.ctx.counter}set counter(t){this.ctx.counter=t}get seen(){return this.ctx.seen}constructor(t){let o=t?.target??"draft-2020-12";o==="draft-4"&&(o="draft-04"),o==="draft-7"&&(o="draft-07"),this.ctx=dn({processors:Tl,target:o,...t?.metadata&&{metadata:t.metadata},...t?.unrepresentable&&{unrepresentable:t.unrepresentable},...t?.override&&{override:t.override},...t?.io&&{io:t.io}})}process(t,o={path:[],schemaPath:[]}){return Ge(t,this.ctx,o)}emit(t,o){o&&(o.cycles&&(this.ctx.cycles=o.cycles),o.reused&&(this.ctx.reused=o.reused),o.external&&(this.ctx.external=o.external)),fn(this.ctx,t);let n=mn(this.ctx,t),{"~standard":r,...i}=n;return i}};var DC={};var ws={};fo(ws,{ZodAny:()=>lv,ZodArray:()=>mv,ZodBase64:()=>nu,ZodBase64URL:()=>iu,ZodBigInt:()=>aa,ZodBigIntFormat:()=>cu,ZodBoolean:()=>ia,ZodCIDRv4:()=>ru,ZodCIDRv6:()=>ou,ZodCUID:()=>Xl,ZodCUID2:()=>Kl,ZodCatch:()=>Av,ZodCodec:()=>Ms,ZodCustom:()=>js,ZodCustomStringFormat:()=>oa,ZodDate:()=>zs,ZodDefault:()=>Pv,ZodDiscriminatedUnion:()=>gv,ZodE164:()=>au,ZodEmail:()=>Wl,ZodEmoji:()=>Gl,ZodEnum:()=>ta,ZodExactOptional:()=>Ev,ZodFile:()=>_v,ZodFunction:()=>Zv,ZodGUID:()=>Rs,ZodIPv4:()=>eu,ZodIPv6:()=>tu,ZodIntersection:()=>hv,ZodJWT:()=>su,ZodKSUID:()=>Ql,ZodLazy:()=>Vv,ZodLiteral:()=>Cv,ZodMAC:()=>rv,ZodMap:()=>$v,ZodNaN:()=>Mv,ZodNanoID:()=>ql,ZodNever:()=>dv,ZodNonOptional:()=>pu,ZodNull:()=>sv,ZodNullable:()=>Iv,ZodNumber:()=>na,ZodNumberFormat:()=>Xn,ZodObject:()=>Os,ZodOptional:()=>mu,ZodPipe:()=>Ds,ZodPrefault:()=>kv,ZodPreprocess:()=>jv,ZodPromise:()=>Hv,ZodReadonly:()=>Lv,ZodRecord:()=>ea,ZodSet:()=>Sv,ZodString:()=>ra,ZodStringFormat:()=>Qe,ZodSuccess:()=>Ov,ZodSymbol:()=>iv,ZodTemplateLiteral:()=>Uv,ZodTransform:()=>wv,ZodTuple:()=>xv,ZodType:()=>Pe,ZodULID:()=>Jl,ZodURL:()=>ks,ZodUUID:()=>ho,ZodUndefined:()=>av,ZodUnion:()=>As,ZodUnknown:()=>uv,ZodVoid:()=>fv,ZodXID:()=>Yl,ZodXor:()=>pv,_ZodString:()=>Zl,_default:()=>Nv,_function:()=>Z_,any:()=>S_,array:()=>Ts,base64:()=>i_,base64url:()=>a_,bigint:()=>v_,boolean:()=>nv,catch:()=>Dv,check:()=>W_,cidrv4:()=>o_,cidrv6:()=>n_,codec:()=>U_,cuid:()=>XC,cuid2:()=>KC,custom:()=>G_,date:()=>__,describe:()=>q_,discriminatedUnion:()=>N_,e164:()=>s_,email:()=>LC,emoji:()=>GC,enum:()=>du,exactOptional:()=>Rv,file:()=>M_,float32:()=>m_,float64:()=>p_,function:()=>Z_,guid:()=>FC,hash:()=>f_,hex:()=>d_,hostname:()=>u_,httpUrl:()=>WC,instanceof:()=>K_,int:()=>Bl,int32:()=>g_,int64:()=>x_,intersection:()=>vv,invertCodec:()=>V_,ipv4:()=>e_,ipv6:()=>r_,json:()=>Y_,jwt:()=>c_,keyof:()=>w_,ksuid:()=>QC,lazy:()=>Bv,literal:()=>D_,looseObject:()=>I_,looseRecord:()=>z_,mac:()=>t_,map:()=>T_,meta:()=>X_,nan:()=>F_,nanoid:()=>qC,nativeEnum:()=>A_,never:()=>lu,nonoptional:()=>Tv,null:()=>cv,nullable:()=>Ps,nullish:()=>j_,number:()=>ov,object:()=>E_,optional:()=>Is,partialRecord:()=>k_,pipe:()=>Hl,prefault:()=>zv,preprocess:()=>Q_,promise:()=>H_,readonly:()=>Fv,record:()=>bv,refine:()=>Wv,set:()=>O_,strictObject:()=>R_,string:()=>Es,stringFormat:()=>l_,stringbool:()=>J_,success:()=>L_,superRefine:()=>Gv,symbol:()=>b_,templateLiteral:()=>B_,transform:()=>fu,tuple:()=>yv,uint32:()=>h_,uint64:()=>y_,ulid:()=>JC,undefined:()=>$_,union:()=>uu,unknown:()=>qn,url:()=>ZC,uuid:()=>UC,uuidv4:()=>VC,uuidv6:()=>BC,uuidv7:()=>HC,void:()=>C_,xid:()=>YC,xor:()=>P_});var jl={};fo(jl,{endsWith:()=>Hi,gt:()=>po,gte:()=>dr,includes:()=>Vi,length:()=>Gn,lowercase:()=>Fi,lt:()=>mo,lte:()=>zr,maxLength:()=>Wn,maxSize:()=>un,mime:()=>Zi,minLength:()=>Oo,minSize:()=>go,multipleOf:()=>ln,negative:()=>Pl,nonnegative:()=>kl,nonpositive:()=>Nl,normalize:()=>Wi,overwrite:()=>Jr,positive:()=>Il,property:()=>zl,regex:()=>Li,size:()=>Zn,slugify:()=>Ki,startsWith:()=>Bi,toLowerCase:()=>qi,toUpperCase:()=>Xi,trim:()=>Gi,uppercase:()=>Ui});var Qi={};fo(Qi,{ZodISODate:()=>Fl,ZodISODateTime:()=>Ll,ZodISODuration:()=>Vl,ZodISOTime:()=>Ul,date:()=>Uh,datetime:()=>Fh,duration:()=>Bh,time:()=>Vh});var Ll=I("ZodISODateTime",(e,t)=>{vp.init(e,t),Qe.init(e,t)});function Fh(e){return $g(Ll,e)}var Fl=I("ZodISODate",(e,t)=>{xp.init(e,t),Qe.init(e,t)});function Uh(e){return Sg(Fl,e)}var Ul=I("ZodISOTime",(e,t)=>{yp.init(e,t),Qe.init(e,t)});function Vh(e){return Cg(Ul,e)}var Vl=I("ZodISODuration",(e,t)=>{bp.init(e,t),Qe.init(e,t)});function Bh(e){return _g(Vl,e)}var MC=(e,t)=>{fs.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:o=>ps(e,o)},flatten:{value:o=>ms(e,o)},addIssue:{value:o=>{e.issues.push(o),e.message=JSON.stringify(e.issues,Ni,2)}},addIssues:{value:o=>{e.issues.push(...o),e.message=JSON.stringify(e.issues,Ni,2)}},isEmpty:{get(){return e.issues.length===0}}})},ZT=I("ZodError",MC),Cr=I("ZodError",MC,{Parent:Error});var Hh=Ti(Cr),Zh=Oi(Cr),Wh=Ai(Cr),Gh=Di(Cr),qh=Dc(Cr),Xh=Mc(Cr),Kh=jc(Cr),Jh=Lc(Cr),Yh=Fc(Cr),Qh=Uc(Cr),ev=Vc(Cr),tv=Bc(Cr);var jC=new WeakMap;function Ns(e,t,o){let n=Object.getPrototypeOf(e),r=jC.get(n);if(r||(r=new Set,jC.set(n,r)),!r.has(t)){r.add(t);for(let i in o){let a=o[i];Object.defineProperty(n,i,{configurable:!0,enumerable:!1,get(){let s=a.bind(this);return Object.defineProperty(this,i,{configurable:!0,writable:!0,enumerable:!0,value:s}),s},set(s){Object.defineProperty(this,i,{configurable:!0,writable:!0,enumerable:!0,value:s})}})}}}var Pe=I("ZodType",(e,t)=>(_e.init(e,t),Object.assign(e["~standard"],{jsonSchema:{input:Yi(e,"input"),output:Yi(e,"output")}}),e.toJSONSchema=rh(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.parse=(o,n)=>Hh(e,o,n,{callee:e.parse}),e.safeParse=(o,n)=>Wh(e,o,n),e.parseAsync=async(o,n)=>Zh(e,o,n,{callee:e.parseAsync}),e.safeParseAsync=async(o,n)=>Gh(e,o,n),e.spa=e.safeParseAsync,e.encode=(o,n)=>qh(e,o,n),e.decode=(o,n)=>Xh(e,o,n),e.encodeAsync=async(o,n)=>Kh(e,o,n),e.decodeAsync=async(o,n)=>Jh(e,o,n),e.safeEncode=(o,n)=>Yh(e,o,n),e.safeDecode=(o,n)=>Qh(e,o,n),e.safeEncodeAsync=async(o,n)=>ev(e,o,n),e.safeDecodeAsync=async(o,n)=>tv(e,o,n),Ns(e,"ZodType",{check(...o){let n=this.def;return this.clone(H.mergeDefs(n,{checks:[...n.checks??[],...o.map(r=>typeof r=="function"?{_zod:{check:r,def:{check:"custom"},onattach:[]}}:r)]}),{parent:!0})},with(...o){return this.check(...o)},clone(o,n){return lr(this,o,n)},brand(){return this},register(o,n){return o.add(this,n),this},refine(o,n){return this.check(Wv(o,n))},superRefine(o,n){return this.check(Gv(o,n))},overwrite(o){return this.check(Jr(o))},optional(){return Is(this)},exactOptional(){return Rv(this)},nullable(){return Ps(this)},nullish(){return Is(Ps(this))},nonoptional(o){return Tv(this,o)},array(){return Ts(this)},or(o){return uu([this,o])},and(o){return vv(this,o)},transform(o){return Hl(this,fu(o))},default(o){return Nv(this,o)},prefault(o){return zv(this,o)},catch(o){return Dv(this,o)},pipe(o){return Hl(this,o)},readonly(){return Fv(this)},describe(o){let n=this.clone();return Bt.add(n,{description:o}),n},meta(...o){if(o.length===0)return Bt.get(this);let n=this.clone();return Bt.add(n,o[0]),n},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(o){return o(this)}}),Object.defineProperty(e,"description",{get(){return Bt.get(e)?.description},configurable:!0}),e)),Zl=I("_ZodString",(e,t)=>{Hn.init(e,t),Pe.init(e,t),e._zod.processJSONSchema=(n,r,i)=>oh(e,n,r,i);let o=e._zod.bag;e.format=o.format??null,e.minLength=o.minimum??null,e.maxLength=o.maximum??null,Ns(e,"_ZodString",{regex(...n){return this.check(Li(...n))},includes(...n){return this.check(Vi(...n))},startsWith(...n){return this.check(Bi(...n))},endsWith(...n){return this.check(Hi(...n))},min(...n){return this.check(Oo(...n))},max(...n){return this.check(Wn(...n))},length(...n){return this.check(Gn(...n))},nonempty(...n){return this.check(Oo(1,...n))},lowercase(n){return this.check(Fi(n))},uppercase(n){return this.check(Ui(n))},trim(){return this.check(Gi())},normalize(...n){return this.check(Wi(...n))},toLowerCase(){return this.check(qi())},toUpperCase(){return this.check(Xi())},slugify(){return this.check(Ki())}})}),ra=I("ZodString",(e,t)=>{Hn.init(e,t),Zl.init(e,t),e.email=o=>e.check(cl(Wl,o)),e.url=o=>e.check(_s(ks,o)),e.jwt=o=>e.check(Rl(su,o)),e.emoji=o=>e.check(ml(Gl,o)),e.guid=o=>e.check(Cs(Rs,o)),e.uuid=o=>e.check(ll(ho,o)),e.uuidv4=o=>e.check(ul(ho,o)),e.uuidv6=o=>e.check(dl(ho,o)),e.uuidv7=o=>e.check(fl(ho,o)),e.nanoid=o=>e.check(pl(ql,o)),e.guid=o=>e.check(Cs(Rs,o)),e.cuid=o=>e.check(gl(Xl,o)),e.cuid2=o=>e.check(hl(Kl,o)),e.ulid=o=>e.check(vl(Jl,o)),e.base64=o=>e.check(_l(nu,o)),e.base64url=o=>e.check(wl(iu,o)),e.xid=o=>e.check(xl(Yl,o)),e.ksuid=o=>e.check(yl(Ql,o)),e.ipv4=o=>e.check(bl(eu,o)),e.ipv6=o=>e.check($l(tu,o)),e.cidrv4=o=>e.check(Sl(ru,o)),e.cidrv6=o=>e.check(Cl(ou,o)),e.e164=o=>e.check(El(au,o)),e.datetime=o=>e.check(Fh(o)),e.date=o=>e.check(Uh(o)),e.time=o=>e.check(Vh(o)),e.duration=o=>e.check(Bh(o))});function Es(e){return vg(ra,e)}var Qe=I("ZodStringFormat",(e,t)=>{Ye.init(e,t),Zl.init(e,t)}),Wl=I("ZodEmail",(e,t)=>{cp.init(e,t),Qe.init(e,t)});function LC(e){return cl(Wl,e)}var Rs=I("ZodGUID",(e,t)=>{ap.init(e,t),Qe.init(e,t)});function FC(e){return Cs(Rs,e)}var ho=I("ZodUUID",(e,t)=>{sp.init(e,t),Qe.init(e,t)});function UC(e){return ll(ho,e)}function VC(e){return ul(ho,e)}function BC(e){return dl(ho,e)}function HC(e){return fl(ho,e)}var ks=I("ZodURL",(e,t)=>{lp.init(e,t),Qe.init(e,t)});function ZC(e){return _s(ks,e)}function WC(e){return _s(ks,{protocol:kr.httpProtocol,hostname:kr.domain,...H.normalizeParams(e)})}var Gl=I("ZodEmoji",(e,t)=>{up.init(e,t),Qe.init(e,t)});function GC(e){return ml(Gl,e)}var ql=I("ZodNanoID",(e,t)=>{dp.init(e,t),Qe.init(e,t)});function qC(e){return pl(ql,e)}var Xl=I("ZodCUID",(e,t)=>{fp.init(e,t),Qe.init(e,t)});function XC(e){return gl(Xl,e)}var Kl=I("ZodCUID2",(e,t)=>{mp.init(e,t),Qe.init(e,t)});function KC(e){return hl(Kl,e)}var Jl=I("ZodULID",(e,t)=>{pp.init(e,t),Qe.init(e,t)});function JC(e){return vl(Jl,e)}var Yl=I("ZodXID",(e,t)=>{gp.init(e,t),Qe.init(e,t)});function YC(e){return xl(Yl,e)}var Ql=I("ZodKSUID",(e,t)=>{hp.init(e,t),Qe.init(e,t)});function QC(e){return yl(Ql,e)}var eu=I("ZodIPv4",(e,t)=>{$p.init(e,t),Qe.init(e,t)});function e_(e){return bl(eu,e)}var rv=I("ZodMAC",(e,t)=>{Cp.init(e,t),Qe.init(e,t)});function t_(e){return yg(rv,e)}var tu=I("ZodIPv6",(e,t)=>{Sp.init(e,t),Qe.init(e,t)});function r_(e){return $l(tu,e)}var ru=I("ZodCIDRv4",(e,t)=>{_p.init(e,t),Qe.init(e,t)});function o_(e){return Sl(ru,e)}var ou=I("ZodCIDRv6",(e,t)=>{wp.init(e,t),Qe.init(e,t)});function n_(e){return Cl(ou,e)}var nu=I("ZodBase64",(e,t)=>{Rp.init(e,t),Qe.init(e,t)});function i_(e){return _l(nu,e)}var iu=I("ZodBase64URL",(e,t)=>{Ip.init(e,t),Qe.init(e,t)});function a_(e){return wl(iu,e)}var au=I("ZodE164",(e,t)=>{Pp.init(e,t),Qe.init(e,t)});function s_(e){return El(au,e)}var su=I("ZodJWT",(e,t)=>{Np.init(e,t),Qe.init(e,t)});function c_(e){return Rl(su,e)}var oa=I("ZodCustomStringFormat",(e,t)=>{kp.init(e,t),Qe.init(e,t)});function l_(e,t,o={}){return Ji(oa,e,t,o)}function u_(e){return Ji(oa,"hostname",kr.hostname,e)}function d_(e){return Ji(oa,"hex",kr.hex,e)}function f_(e,t){let o=t?.enc??"hex",n=`${e}_${o}`,r=kr[n];if(!r)throw new Error(`Unrecognized hash format: ${n}`);return Ji(oa,n,r,t)}var na=I("ZodNumber",(e,t)=>{Yc.init(e,t),Pe.init(e,t),e._zod.processJSONSchema=(n,r,i)=>nh(e,n,r,i),Ns(e,"ZodNumber",{gt(n,r){return this.check(po(n,r))},gte(n,r){return this.check(dr(n,r))},min(n,r){return this.check(dr(n,r))},lt(n,r){return this.check(mo(n,r))},lte(n,r){return this.check(zr(n,r))},max(n,r){return this.check(zr(n,r))},int(n){return this.check(Bl(n))},safe(n){return this.check(Bl(n))},positive(n){return this.check(po(0,n))},nonnegative(n){return this.check(dr(0,n))},negative(n){return this.check(mo(0,n))},nonpositive(n){return this.check(zr(0,n))},multipleOf(n,r){return this.check(ln(n,r))},step(n,r){return this.check(ln(n,r))},finite(){return this}});let o=e._zod.bag;e.minValue=Math.max(o.minimum??Number.NEGATIVE_INFINITY,o.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(o.maximum??Number.POSITIVE_INFINITY,o.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(o.format??"").includes("int")||Number.isSafeInteger(o.multipleOf??.5),e.isFinite=!0,e.format=o.format??null});function ov(e){return wg(na,e)}var Xn=I("ZodNumberFormat",(e,t)=>{zp.init(e,t),na.init(e,t)});function Bl(e){return Rg(Xn,e)}function m_(e){return Ig(Xn,e)}function p_(e){return Pg(Xn,e)}function g_(e){return Ng(Xn,e)}function h_(e){return kg(Xn,e)}var ia=I("ZodBoolean",(e,t)=>{xs.init(e,t),Pe.init(e,t),e._zod.processJSONSchema=(o,n,r)=>ih(e,o,n,r)});function nv(e){return zg(ia,e)}var aa=I("ZodBigInt",(e,t)=>{Qc.init(e,t),Pe.init(e,t),e._zod.processJSONSchema=(n,r,i)=>ah(e,n,r,i),e.gte=(n,r)=>e.check(dr(n,r)),e.min=(n,r)=>e.check(dr(n,r)),e.gt=(n,r)=>e.check(po(n,r)),e.gte=(n,r)=>e.check(dr(n,r)),e.min=(n,r)=>e.check(dr(n,r)),e.lt=(n,r)=>e.check(mo(n,r)),e.lte=(n,r)=>e.check(zr(n,r)),e.max=(n,r)=>e.check(zr(n,r)),e.positive=n=>e.check(po(BigInt(0),n)),e.negative=n=>e.check(mo(BigInt(0),n)),e.nonpositive=n=>e.check(zr(BigInt(0),n)),e.nonnegative=n=>e.check(dr(BigInt(0),n)),e.multipleOf=(n,r)=>e.check(ln(n,r));let o=e._zod.bag;e.minValue=o.minimum??null,e.maxValue=o.maximum??null,e.format=o.format??null});function v_(e){return Og(aa,e)}var cu=I("ZodBigIntFormat",(e,t)=>{Tp.init(e,t),aa.init(e,t)});function x_(e){return Dg(cu,e)}function y_(e){return Mg(cu,e)}var iv=I("ZodSymbol",(e,t)=>{Op.init(e,t),Pe.init(e,t),e._zod.processJSONSchema=(o,n,r)=>sh(e,o,n,r)});function b_(e){return jg(iv,e)}var av=I("ZodUndefined",(e,t)=>{Ap.init(e,t),Pe.init(e,t),e._zod.processJSONSchema=(o,n,r)=>lh(e,o,n,r)});function $_(e){return Lg(av,e)}var sv=I("ZodNull",(e,t)=>{Dp.init(e,t),Pe.init(e,t),e._zod.processJSONSchema=(o,n,r)=>ch(e,o,n,r)});function cv(e){return Fg(sv,e)}var lv=I("ZodAny",(e,t)=>{Mp.init(e,t),Pe.init(e,t),e._zod.processJSONSchema=(o,n,r)=>fh(e,o,n,r)});function S_(){return Ug(lv)}var uv=I("ZodUnknown",(e,t)=>{jp.init(e,t),Pe.init(e,t),e._zod.processJSONSchema=(o,n,r)=>mh(e,o,n,r)});function qn(){return Vg(uv)}var dv=I("ZodNever",(e,t)=>{Lp.init(e,t),Pe.init(e,t),e._zod.processJSONSchema=(o,n,r)=>dh(e,o,n,r)});function lu(e){return Bg(dv,e)}var fv=I("ZodVoid",(e,t)=>{Fp.init(e,t),Pe.init(e,t),e._zod.processJSONSchema=(o,n,r)=>uh(e,o,n,r)});function C_(e){return Hg(fv,e)}var zs=I("ZodDate",(e,t)=>{Up.init(e,t),Pe.init(e,t),e._zod.processJSONSchema=(n,r,i)=>ph(e,n,r,i),e.min=(n,r)=>e.check(dr(n,r)),e.max=(n,r)=>e.check(zr(n,r));let o=e._zod.bag;e.minDate=o.minimum?new Date(o.minimum):null,e.maxDate=o.maximum?new Date(o.maximum):null});function __(e){return Zg(zs,e)}var mv=I("ZodArray",(e,t)=>{Vp.init(e,t),Pe.init(e,t),e._zod.processJSONSchema=(o,n,r)=>Eh(e,o,n,r),e.element=t.element,Ns(e,"ZodArray",{min(o,n){return this.check(Oo(o,n))},nonempty(o){return this.check(Oo(1,o))},max(o,n){return this.check(Wn(o,n))},length(o,n){return this.check(Gn(o,n))},unwrap(){return this.element}})});function Ts(e,t){return qg(mv,e,t)}function w_(e){let t=e._zod.def.shape;return du(Object.keys(t))}var Os=I("ZodObject",(e,t)=>{Bp.init(e,t),Pe.init(e,t),e._zod.processJSONSchema=(o,n,r)=>Rh(e,o,n,r),H.defineLazy(e,"shape",()=>t.shape),Ns(e,"ZodObject",{keyof(){return du(Object.keys(this._zod.def.shape))},catchall(o){return this.clone({...this._zod.def,catchall:o})},passthrough(){return this.clone({...this._zod.def,catchall:qn()})},loose(){return this.clone({...this._zod.def,catchall:qn()})},strict(){return this.clone({...this._zod.def,catchall:lu()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(o){return H.extend(this,o)},safeExtend(o){return H.safeExtend(this,o)},merge(o){return H.merge(this,o)},pick(o){return H.pick(this,o)},omit(o){return H.omit(this,o)},partial(...o){return H.partial(mu,this,o[0])},required(...o){return H.required(pu,this,o[0])}})});function E_(e,t){let o={type:"object",shape:e??{},...H.normalizeParams(t)};return new Os(o)}function R_(e,t){return new Os({type:"object",shape:e,catchall:lu(),...H.normalizeParams(t)})}function I_(e,t){return new Os({type:"object",shape:e,catchall:qn(),...H.normalizeParams(t)})}var As=I("ZodUnion",(e,t)=>{ys.init(e,t),Pe.init(e,t),e._zod.processJSONSchema=(o,n,r)=>Ol(e,o,n,r),e.options=t.options});function uu(e,t){return new As({type:"union",options:e,...H.normalizeParams(t)})}var pv=I("ZodXor",(e,t)=>{As.init(e,t),Hp.init(e,t),e._zod.processJSONSchema=(o,n,r)=>Ol(e,o,n,r),e.options=t.options});function P_(e,t){return new pv({type:"union",options:e,inclusive:!1,...H.normalizeParams(t)})}var gv=I("ZodDiscriminatedUnion",(e,t)=>{As.init(e,t),Zp.init(e,t)});function N_(e,t,o){return new gv({type:"union",options:t,discriminator:e,...H.normalizeParams(o)})}var hv=I("ZodIntersection",(e,t)=>{Wp.init(e,t),Pe.init(e,t),e._zod.processJSONSchema=(o,n,r)=>Ih(e,o,n,r)});function vv(e,t){return new hv({type:"intersection",left:e,right:t})}var xv=I("ZodTuple",(e,t)=>{el.init(e,t),Pe.init(e,t),e._zod.processJSONSchema=(o,n,r)=>Ph(e,o,n,r),e.rest=o=>e.clone({...e._zod.def,rest:o})});function yv(e,t,o){let n=t instanceof _e,r=n?o:t,i=n?t:null;return new xv({type:"tuple",items:e,rest:i,...H.normalizeParams(r)})}var ea=I("ZodRecord",(e,t)=>{Gp.init(e,t),Pe.init(e,t),e._zod.processJSONSchema=(o,n,r)=>Nh(e,o,n,r),e.keyType=t.keyType,e.valueType=t.valueType});function bv(e,t,o){return!t||!t._zod?new ea({type:"record",keyType:Es(),valueType:e,...H.normalizeParams(t)}):new ea({type:"record",keyType:e,valueType:t,...H.normalizeParams(o)})}function k_(e,t,o){let n=lr(e);return n._zod.values=void 0,new ea({type:"record",keyType:n,valueType:t,...H.normalizeParams(o)})}function z_(e,t,o){return new ea({type:"record",keyType:e,valueType:t,mode:"loose",...H.normalizeParams(o)})}var $v=I("ZodMap",(e,t)=>{qp.init(e,t),Pe.init(e,t),e._zod.processJSONSchema=(o,n,r)=>_h(e,o,n,r),e.keyType=t.keyType,e.valueType=t.valueType,e.min=(...o)=>e.check(go(...o)),e.nonempty=o=>e.check(go(1,o)),e.max=(...o)=>e.check(un(...o)),e.size=(...o)=>e.check(Zn(...o))});function T_(e,t,o){return new $v({type:"map",keyType:e,valueType:t,...H.normalizeParams(o)})}var Sv=I("ZodSet",(e,t)=>{Xp.init(e,t),Pe.init(e,t),e._zod.processJSONSchema=(o,n,r)=>wh(e,o,n,r),e.min=(...o)=>e.check(go(...o)),e.nonempty=o=>e.check(go(1,o)),e.max=(...o)=>e.check(un(...o)),e.size=(...o)=>e.check(Zn(...o))});function O_(e,t){return new Sv({type:"set",valueType:e,...H.normalizeParams(t)})}var ta=I("ZodEnum",(e,t)=>{Kp.init(e,t),Pe.init(e,t),e._zod.processJSONSchema=(n,r,i)=>gh(e,n,r,i),e.enum=t.entries,e.options=Object.values(t.entries);let o=new Set(Object.keys(t.entries));e.extract=(n,r)=>{let i={};for(let a of n)if(o.has(a))i[a]=t.entries[a];else throw new Error(`Key ${a} not found in enum`);return new ta({...t,checks:[],...H.normalizeParams(r),entries:i})},e.exclude=(n,r)=>{let i={...t.entries};for(let a of n)if(o.has(a))delete i[a];else throw new Error(`Key ${a} not found in enum`);return new ta({...t,checks:[],...H.normalizeParams(r),entries:i})}});function du(e,t){let o=Array.isArray(e)?Object.fromEntries(e.map(n=>[n,n])):e;return new ta({type:"enum",entries:o,...H.normalizeParams(t)})}function A_(e,t){return new ta({type:"enum",entries:e,...H.normalizeParams(t)})}var Cv=I("ZodLiteral",(e,t)=>{Jp.init(e,t),Pe.init(e,t),e._zod.processJSONSchema=(o,n,r)=>hh(e,o,n,r),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function D_(e,t){return new Cv({type:"literal",values:Array.isArray(e)?e:[e],...H.normalizeParams(t)})}var _v=I("ZodFile",(e,t)=>{Yp.init(e,t),Pe.init(e,t),e._zod.processJSONSchema=(o,n,r)=>yh(e,o,n,r),e.min=(o,n)=>e.check(go(o,n)),e.max=(o,n)=>e.check(un(o,n)),e.mime=(o,n)=>e.check(Zi(Array.isArray(o)?o:[o],n))});function M_(e){return Xg(_v,e)}var wv=I("ZodTransform",(e,t)=>{Qp.init(e,t),Pe.init(e,t),e._zod.processJSONSchema=(o,n,r)=>Ch(e,o,n,r),e._zod.parse=(o,n)=>{if(n.direction==="backward")throw new on(e.constructor.name);o.addIssue=i=>{if(typeof i=="string")o.issues.push(H.issue(i,o.value,t));else{let a=i;a.fatal&&(a.continue=!1),a.code??(a.code="custom"),a.input??(a.input=o.value),a.inst??(a.inst=e),o.issues.push(H.issue(a))}};let r=t.transform(o.value,o);return r instanceof Promise?r.then(i=>(o.value=i,o.fallback=!0,o)):(o.value=r,o.fallback=!0,o)}});function fu(e){return new wv({type:"transform",transform:e})}var mu=I("ZodOptional",(e,t)=>{tl.init(e,t),Pe.init(e,t),e._zod.processJSONSchema=(o,n,r)=>Al(e,o,n,r),e.unwrap=()=>e._zod.def.innerType});function Is(e){return new mu({type:"optional",innerType:e})}var Ev=I("ZodExactOptional",(e,t)=>{eg.init(e,t),Pe.init(e,t),e._zod.processJSONSchema=(o,n,r)=>Al(e,o,n,r),e.unwrap=()=>e._zod.def.innerType});function Rv(e){return new Ev({type:"optional",innerType:e})}var Iv=I("ZodNullable",(e,t)=>{tg.init(e,t),Pe.init(e,t),e._zod.processJSONSchema=(o,n,r)=>kh(e,o,n,r),e.unwrap=()=>e._zod.def.innerType});function Ps(e){return new Iv({type:"nullable",innerType:e})}function j_(e){return Is(Ps(e))}var Pv=I("ZodDefault",(e,t)=>{rg.init(e,t),Pe.init(e,t),e._zod.processJSONSchema=(o,n,r)=>Th(e,o,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function Nv(e,t){return new Pv({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():H.shallowClone(t)}})}var kv=I("ZodPrefault",(e,t)=>{og.init(e,t),Pe.init(e,t),e._zod.processJSONSchema=(o,n,r)=>Oh(e,o,n,r),e.unwrap=()=>e._zod.def.innerType});function zv(e,t){return new kv({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():H.shallowClone(t)}})}var pu=I("ZodNonOptional",(e,t)=>{ng.init(e,t),Pe.init(e,t),e._zod.processJSONSchema=(o,n,r)=>zh(e,o,n,r),e.unwrap=()=>e._zod.def.innerType});function Tv(e,t){return new pu({type:"nonoptional",innerType:e,...H.normalizeParams(t)})}var Ov=I("ZodSuccess",(e,t)=>{ig.init(e,t),Pe.init(e,t),e._zod.processJSONSchema=(o,n,r)=>bh(e,o,n,r),e.unwrap=()=>e._zod.def.innerType});function L_(e){return new Ov({type:"success",innerType:e})}var Av=I("ZodCatch",(e,t)=>{ag.init(e,t),Pe.init(e,t),e._zod.processJSONSchema=(o,n,r)=>Ah(e,o,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function Dv(e,t){return new Av({type:"catch",innerType:e,catchValue:typeof t=="function"?t:()=>t})}var Mv=I("ZodNaN",(e,t)=>{sg.init(e,t),Pe.init(e,t),e._zod.processJSONSchema=(o,n,r)=>vh(e,o,n,r)});function F_(e){return Gg(Mv,e)}var Ds=I("ZodPipe",(e,t)=>{rl.init(e,t),Pe.init(e,t),e._zod.processJSONSchema=(o,n,r)=>Dh(e,o,n,r),e.in=t.in,e.out=t.out});function Hl(e,t){return new Ds({type:"pipe",in:e,out:t})}var Ms=I("ZodCodec",(e,t)=>{Ds.init(e,t),bs.init(e,t)});function U_(e,t,o){return new Ms({type:"pipe",in:e,out:t,transform:o.decode,reverseTransform:o.encode})}function V_(e){let t=e._zod.def;return new Ms({type:"pipe",in:t.out,out:t.in,transform:t.reverseTransform,reverseTransform:t.transform})}var jv=I("ZodPreprocess",(e,t)=>{Ds.init(e,t),cg.init(e,t)}),Lv=I("ZodReadonly",(e,t)=>{lg.init(e,t),Pe.init(e,t),e._zod.processJSONSchema=(o,n,r)=>Mh(e,o,n,r),e.unwrap=()=>e._zod.def.innerType});function Fv(e){return new Lv({type:"readonly",innerType:e})}var Uv=I("ZodTemplateLiteral",(e,t)=>{ug.init(e,t),Pe.init(e,t),e._zod.processJSONSchema=(o,n,r)=>xh(e,o,n,r)});function B_(e,t){return new Uv({type:"template_literal",parts:e,...H.normalizeParams(t)})}var Vv=I("ZodLazy",(e,t)=>{mg.init(e,t),Pe.init(e,t),e._zod.processJSONSchema=(o,n,r)=>Lh(e,o,n,r),e.unwrap=()=>e._zod.def.getter()});function Bv(e){return new Vv({type:"lazy",getter:e})}var Hv=I("ZodPromise",(e,t)=>{fg.init(e,t),Pe.init(e,t),e._zod.processJSONSchema=(o,n,r)=>jh(e,o,n,r),e.unwrap=()=>e._zod.def.innerType});function H_(e){return new Hv({type:"promise",innerType:e})}var Zv=I("ZodFunction",(e,t)=>{dg.init(e,t),Pe.init(e,t),e._zod.processJSONSchema=(o,n,r)=>Sh(e,o,n,r)});function Z_(e){return new Zv({type:"function",input:Array.isArray(e?.input)?yv(e?.input):e?.input??Ts(qn()),output:e?.output??qn()})}var js=I("ZodCustom",(e,t)=>{pg.init(e,t),Pe.init(e,t),e._zod.processJSONSchema=(o,n,r)=>$h(e,o,n,r)});function W_(e){let t=new ot({check:"custom"});return t._zod.check=e,t}function G_(e,t){return Kg(js,e??(()=>!0),t)}function Wv(e,t={}){return Jg(js,e,t)}function Gv(e,t){return Yg(e,t)}var q_=Qg,X_=eh;function K_(e,t={}){let o=new js({type:"custom",check:"custom",fn:n=>n instanceof e,abort:!0,...H.normalizeParams(t)});return o._zod.bag.Class=e,o._zod.check=n=>{n.value instanceof e||n.issues.push({code:"invalid_type",expected:e.name,input:n.value,inst:o,path:[...o._zod.def.path??[]]})},o}var J_=(...e)=>th({Codec:Ms,Boolean:ia,String:ra},...e);function Y_(e){let t=Bv(()=>uu([Es(e),ov(),nv(),cv(),Ts(t),bv(Es(),t)]));return t}function Q_(e,t){return new jv({type:"pipe",in:fu(e),out:t})}var GT={invalid_type:"invalid_type",too_big:"too_big",too_small:"too_small",invalid_format:"invalid_format",not_multiple_of:"not_multiple_of",unrecognized_keys:"unrecognized_keys",invalid_union:"invalid_union",invalid_key:"invalid_key",invalid_element:"invalid_element",invalid_value:"invalid_value",custom:"custom"};function qT(e){bt({customError:e})}function XT(){return bt().customError}var qv;qv||(qv={});var te={...ws,...jl,iso:Qi},KT=new Set(["$schema","$ref","$defs","definitions","$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor","type","enum","const","anyOf","oneOf","allOf","not","properties","required","additionalProperties","patternProperties","propertyNames","minProperties","maxProperties","items","prefixItems","additionalItems","minItems","maxItems","uniqueItems","contains","minContains","maxContains","minLength","maxLength","pattern","format","minimum","maximum","exclusiveMinimum","exclusiveMaximum","multipleOf","description","default","contentEncoding","contentMediaType","contentSchema","unevaluatedItems","unevaluatedProperties","if","then","else","dependentSchemas","dependentRequired","nullable","readOnly"]);function JT(e,t){let o=e.$schema;return o==="https://json-schema.org/draft/2020-12/schema"?"draft-2020-12":o==="http://json-schema.org/draft-07/schema#"?"draft-7":o==="http://json-schema.org/draft-04/schema#"?"draft-4":t??"draft-2020-12"}function YT(e,t){if(!e.startsWith("#"))throw new Error("External $ref is not supported, only local refs (#/...) are allowed");let o=e.slice(1).split("/").filter(Boolean);if(o.length===0)return t.rootSchema;let n=t.version==="draft-2020-12"?"$defs":"definitions";if(o[0]===n){let r=o[1];if(!r||!t.defs[r])throw new Error(`Reference not found: ${e}`);return t.defs[r]}throw new Error(`Reference not found: ${e}`)}function ew(e,t){if(e.not!==void 0){if(typeof e.not=="object"&&Object.keys(e.not).length===0)return te.never();throw new Error("not is not supported in Zod (except { not: {} } for never)")}if(e.unevaluatedItems!==void 0)throw new Error("unevaluatedItems is not supported");if(e.unevaluatedProperties!==void 0)throw new Error("unevaluatedProperties is not supported");if(e.if!==void 0||e.then!==void 0||e.else!==void 0)throw new Error("Conditional schemas (if/then/else) are not supported");if(e.dependentSchemas!==void 0||e.dependentRequired!==void 0)throw new Error("dependentSchemas and dependentRequired are not supported");if(e.$ref){let r=e.$ref;if(t.refs.has(r))return t.refs.get(r);if(t.processing.has(r))return te.lazy(()=>{if(!t.refs.has(r))throw new Error(`Circular reference not resolved: ${r}`);return t.refs.get(r)});t.processing.add(r);let i=YT(r,t),a=Yt(i,t);return t.refs.set(r,a),t.processing.delete(r),a}if(e.enum!==void 0){let r=e.enum;if(t.version==="openapi-3.0"&&e.nullable===!0&&r.length===1&&r[0]===null)return te.null();if(r.length===0)return te.never();if(r.length===1)return te.literal(r[0]);if(r.every(a=>typeof a=="string"))return te.enum(r);let i=r.map(a=>te.literal(a));return i.length<2?i[0]:te.union([i[0],i[1],...i.slice(2)])}if(e.const!==void 0)return te.literal(e.const);let o=e.type;if(Array.isArray(o)){let r=o.map(i=>{let a={...e,type:i};return ew(a,t)});return r.length===0?te.never():r.length===1?r[0]:te.union(r)}if(!o)return te.any();let n;switch(o){case"string":{let r=te.string();if(e.format){let i=e.format;i==="email"?r=r.check(te.email()):i==="uri"||i==="uri-reference"?r=r.check(te.url()):i==="uuid"||i==="guid"?r=r.check(te.uuid()):i==="date-time"?r=r.check(te.iso.datetime()):i==="date"?r=r.check(te.iso.date()):i==="time"?r=r.check(te.iso.time()):i==="duration"?r=r.check(te.iso.duration()):i==="ipv4"?r=r.check(te.ipv4()):i==="ipv6"?r=r.check(te.ipv6()):i==="mac"?r=r.check(te.mac()):i==="cidr"?r=r.check(te.cidrv4()):i==="cidr-v6"?r=r.check(te.cidrv6()):i==="base64"?r=r.check(te.base64()):i==="base64url"?r=r.check(te.base64url()):i==="e164"?r=r.check(te.e164()):i==="jwt"?r=r.check(te.jwt()):i==="emoji"?r=r.check(te.emoji()):i==="nanoid"?r=r.check(te.nanoid()):i==="cuid"?r=r.check(te.cuid()):i==="cuid2"?r=r.check(te.cuid2()):i==="ulid"?r=r.check(te.ulid()):i==="xid"?r=r.check(te.xid()):i==="ksuid"&&(r=r.check(te.ksuid()))}typeof e.minLength=="number"&&(r=r.min(e.minLength)),typeof e.maxLength=="number"&&(r=r.max(e.maxLength)),e.pattern&&(r=r.regex(new RegExp(e.pattern))),n=r;break}case"number":case"integer":{let r=o==="integer"?te.number().int():te.number();typeof e.minimum=="number"&&(r=r.min(e.minimum)),typeof e.maximum=="number"&&(r=r.max(e.maximum)),typeof e.exclusiveMinimum=="number"?r=r.gt(e.exclusiveMinimum):e.exclusiveMinimum===!0&&typeof e.minimum=="number"&&(r=r.gt(e.minimum)),typeof e.exclusiveMaximum=="number"?r=r.lt(e.exclusiveMaximum):e.exclusiveMaximum===!0&&typeof e.maximum=="number"&&(r=r.lt(e.maximum)),typeof e.multipleOf=="number"&&(r=r.multipleOf(e.multipleOf)),n=r;break}case"boolean":{n=te.boolean();break}case"null":{n=te.null();break}case"object":{let r={},i=e.properties||{},a=new Set(e.required||[]);for(let[l,c]of Object.entries(i)){let u=Yt(c,t);r[l]=a.has(l)?u:u.optional()}if(e.propertyNames){let l=Yt(e.propertyNames,t),c=e.additionalProperties&&typeof e.additionalProperties=="object"?Yt(e.additionalProperties,t):te.any();if(Object.keys(r).length===0){n=te.record(l,c);break}let u=te.object(r).passthrough(),d=te.looseRecord(l,c);n=te.intersection(u,d);break}if(e.patternProperties){let l=e.patternProperties,c=Object.keys(l),u=[];for(let f of c){let m=Yt(l[f],t),p=te.string().regex(new RegExp(f));u.push(te.looseRecord(p,m))}let d=[];if(Object.keys(r).length>0&&d.push(te.object(r).passthrough()),d.push(...u),d.length===0)n=te.object({}).passthrough();else if(d.length===1)n=d[0];else{let f=te.intersection(d[0],d[1]);for(let m=2;m<d.length;m++)f=te.intersection(f,d[m]);n=f}break}let s=te.object(r);e.additionalProperties===!1?n=s.strict():typeof e.additionalProperties=="object"?n=s.catchall(Yt(e.additionalProperties,t)):n=s.passthrough();break}case"array":{let r=e.prefixItems,i=e.items;if(r&&Array.isArray(r)){let a=r.map(l=>Yt(l,t)),s=i&&typeof i=="object"&&!Array.isArray(i)?Yt(i,t):void 0;s?n=te.tuple(a).rest(s):n=te.tuple(a),typeof e.minItems=="number"&&(n=n.check(te.minLength(e.minItems))),typeof e.maxItems=="number"&&(n=n.check(te.maxLength(e.maxItems)))}else if(Array.isArray(i)){let a=i.map(l=>Yt(l,t)),s=e.additionalItems&&typeof e.additionalItems=="object"?Yt(e.additionalItems,t):void 0;s?n=te.tuple(a).rest(s):n=te.tuple(a),typeof e.minItems=="number"&&(n=n.check(te.minLength(e.minItems))),typeof e.maxItems=="number"&&(n=n.check(te.maxLength(e.maxItems)))}else if(i!==void 0){let a=Yt(i,t),s=te.array(a);typeof e.minItems=="number"&&(s=s.min(e.minItems)),typeof e.maxItems=="number"&&(s=s.max(e.maxItems)),n=s}else n=te.array(te.any());break}default:throw new Error(`Unsupported type: ${o}`)}return n}function Yt(e,t){if(typeof e=="boolean")return e?te.any():te.never();let o=ew(e,t),n=e.type||e.enum!==void 0||e.const!==void 0;if(e.anyOf&&Array.isArray(e.anyOf)){let s=e.anyOf.map(c=>Yt(c,t)),l=te.union(s);o=n?te.intersection(o,l):l}if(e.oneOf&&Array.isArray(e.oneOf)){let s=e.oneOf.map(c=>Yt(c,t)),l=te.xor(s);o=n?te.intersection(o,l):l}if(e.allOf&&Array.isArray(e.allOf))if(e.allOf.length===0)o=n?o:te.any();else{let s=n?o:Yt(e.allOf[0],t),l=n?0:1;for(let c=l;c<e.allOf.length;c++)s=te.intersection(s,Yt(e.allOf[c],t));o=s}e.nullable===!0&&t.version==="openapi-3.0"&&(o=te.nullable(o)),e.readOnly===!0&&(o=te.readonly(o)),e.default!==void 0&&(o=o.default(e.default));let r={},i=["$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor"];for(let s of i)s in e&&(r[s]=e[s]);let a=["contentEncoding","contentMediaType","contentSchema"];for(let s of a)s in e&&(r[s]=e[s]);for(let s of Object.keys(e))KT.has(s)||(r[s]=e[s]);return Object.keys(r).length>0&&t.registry.add(o,r),e.description&&(o=o.describe(e.description)),o}function tw(e,t){if(typeof e=="boolean")return e?te.any():te.never();let o;try{o=JSON.parse(JSON.stringify(e))}catch{throw new Error("fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas")}let n=JT(o,t?.defaultTarget),r=o.$defs||o.definitions||{},i={version:n,defs:r,refs:new Map,processing:new Set,rootSchema:o,registry:t?.registry??Bt};return Yt(o,i)}var Xv={};fo(Xv,{bigint:()=>rO,boolean:()=>tO,date:()=>oO,number:()=>eO,string:()=>QT});function QT(e){return xg(ra,e)}function eO(e){return Eg(na,e)}function tO(e){return Tg(ia,e)}function rO(e){return Ag(aa,e)}function oO(e){return Wg(zs,e)}bt(ol());var nO="/-";var JV=64*1024;var iO=Ee.string().regex(/^[a-z][a-z0-9]*(?:\.[a-z][a-z0-9]*)+$/),YV=Ee.string().min(1).max(64).regex(/^[a-z][a-z0-9]*(?:[.-][a-z0-9]+)*$/),rw=Ee.string().min(1).max(2048).regex(/^\/(?!\/)[^?#\s]*$/),aO=Ee.iso.datetime({offset:!0}),Kv=Ee.string().regex(/^[A-Za-z][A-Za-z0-9_.-]{0,127}$/),sO=Ee.enum(["GET","POST","PUT","PATCH","DELETE"]),Kn=Ee.string().max(8192),cO=Ee.strictObject({code:Ee.literal(0),data:Ee.unknown().refine(e=>e!==void 0)}).readonly(),lO=Ee.strictObject({code:Ee.number().int().safe().refine(e=>e!==0),error:Ee.string().trim().min(1).max(500)}).readonly(),ow=Ee.union([cO,lO]),QV=Ee.strictObject({accept:Kn.optional(),"accept-language":Kn.optional(),"content-type":Kn.optional(),"if-modified-since":Kn.optional(),"if-none-match":Kn.optional(),origin:Ee.string().max(2048).optional(),range:Kn.optional(),referer:Kn.optional()}).readonly(),uO=Ee.union([Ee.string().max(512),Ee.array(Ee.string().max(512)).max(20).readonly()]),dO=Ee.record(Ee.string().regex(/^[a-z][a-zA-Z0-9_-]{0,63}$/),uO).refine(e=>Object.keys(e).length<=20,{message:"Browser API query has too many fields"}).readonly(),eB=Ee.record(Kv,Ee.string().min(1).max(4096)).refine(e=>Object.keys(e).length<=8,{message:"Browser API context has too many cookies"}).readonly(),tB=Ee.strictObject({ipAddress:Ee.union([Ee.ipv4(),Ee.ipv6()]),userAgent:Ee.string().trim().min(1).max(1024).nullable()}).readonly(),rB=Ee.strictObject({method:sO,path:rw,origin:Ee.string().max(2048).optional(),clientKey:Ee.string().regex(/^[a-f0-9]{64}$/),query:dO.optional(),body:Ee.unknown().optional()}).readonly(),fO=Ee.discriminatedUnion("action",[Ee.strictObject({action:Ee.literal("set"),name:Kv,value:Ee.string().min(1).max(4096),expiresAt:aO}),Ee.strictObject({action:Ee.literal("clear"),name:Kv})]).readonly(),mO=Ee.array(fO).max(8).refine(e=>new Set(e.map(t=>t.name)).size===e.length,"Cookie effects must target unique names").readonly(),oB=Ee.strictObject({status:Ee.number().int().min(200).max(599).refine(e=>e<300||e>=400),body:ow,cookieEffects:mO.optional()}).superRefine((e,t)=>{(e.status>=200&&e.status<300)!==!Jv(e.body)&&t.addIssue({code:"custom",message:"HTTP status and browser API response code disagree",path:["body","code"]})}).readonly();function nB(e,t){return`${nO}/${iO.parse(e)}${rw.parse(t)}`}function nw(e){return ow.parse(e)}function Jv(e){return e.code!==0}var pO="\u8BF7\u6C42\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5",gu=-1,Do=class extends Error{code;status;reported=!0;constructor(t,o,n,r){super(o,r),this.code=t,this.status=n,this.name="RequestError"}};function gO(e){return e instanceof Do}async function iw(e,t,o,n,r={}){let i=hO(r.errorMessage),a;try{a=await t(o,n)}catch(l){if(Yv(l))throw l;return Ls(e,new Do(gu,i,void 0,{cause:l}))}let s;try{s=nw(await a.json())}catch(l){if(Yv(l))throw l;return Ls(e,new Do(gu,i,a.status,{cause:l}))}if(Jv(s))return Ls(e,new Do(s.code,s.error,a.status));if(!a.ok)return Ls(e,new Do(gu,i,a.status));try{return r.parse?await r.parse(s.data):s.data}catch(l){if(Yv(l))throw l;return Ls(e,new Do(gu,i,a.status,{cause:l}))}}function Ls(e,t){return e.error(t.message),Promise.reject(t)}function hO(e){let t=e?.trim();return t&&t.length<=500?t:pO}function Yv(e){return e!==null&&typeof e=="object"&&"name"in e&&e.name==="AbortError"}var Qv=_.createContext({}),vO=_.createContext({message:{},notification:{},modal:{}}),hu=vO;var xO=()=>_.useContext(hu),aw=xO;function sw(e){return e&&typeof e=="object"&&Object.hasOwn(e,"default")?e.default:e}var cw=sw(aw);function bB(){let{message:e}=cw();return ft((t,o,n)=>iw(e,fetch,t,o,n),[e])}function lw(e){var t,o,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(o=lw(e[t]))&&(n&&(n+=" "),n+=o)}else for(o in e)e[o]&&(n&&(n+=" "),n+=o);return n}function E(){for(var e,t,o=0,n="",r=arguments.length;o<r;o++)(e=arguments[o])&&(t=lw(e))&&(n&&(n+=" "),n+=t);return n}function yO(){return{...j}.useId}var uw=0;var dw=yO(),Yr=dw?function(t){let o=dw();return t||o}:function(t){let[o,n]=W("ssr-id");return K(()=>{let r=uw;uw+=1,n(`rc_unique_${r}`)},[]),t||o};var bO=e=>{let t=k(e);return t.current=e,ft((...n)=>t.current?.(...n),[])},xe=bO;function $t(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var fw=$t()?os:K,$O=(e,t)=>{let o=k(!0);fw(()=>e(o.current),t),fw(()=>(o.current=!1,()=>{o.current=!0}),[])};var et=$O;var SO=e=>{let t=k(!1),[o,n]=W(e);K(()=>(t.current=!1,()=>{t.current=!0}),[]);function r(i,a){a&&t.current||n(i)}return[o,r]},sa=SO;function Tr(e,t){let[o,n]=W(e),r=t!==void 0?t:o;return et(i=>{i||n(t)},[t]),[r,n]}var pw=e=>+setTimeout(e,16),gw=e=>clearTimeout(e);typeof window<"u"&&"requestAnimationFrame"in window&&(pw=e=>window.requestAnimationFrame(e),gw=e=>window.cancelAnimationFrame(e));var mw=0,ex=new Map;function hw(e){ex.delete(e)}var vw=(e,t=1)=>{mw+=1;let o=mw;function n(r){if(r===0)hw(o),e();else{let i=pw(()=>{n(r-1)});ex.set(o,i)}}return n(t),o};vw.cancel=e=>{let t=ex.get(e);return hw(e),gw(t)};var St=vw;function vu(e){let[t,o]=W(e),n=k(null),r=xe(()=>{if(n.current){let[a,s]=n.current;a?St.cancel(s):clearTimeout(s),n.current=null}}),i=xe((a,s)=>{let l=s||{frame:1};r(),l===!0?o(a):"ms"in l?n.current=[!1,setTimeout(()=>o(a),l.ms)]:n.current=[!0,St(()=>o(a),l.frame)]});return[t,i]}function pn(e,t,o){let n=k({});return(!("value"in n.current)||o(n.current.condition,t))&&(n.current.value=e(),n.current.condition=t),n.current.value}function _O(e){let[,t]=Zf(i=>i+1,0),o=k(e),n=xe(()=>o.current),r=xe(i=>{o.current=typeof i=="function"?i(o.current):i,t()});return[n,r]}var tx=_O;var Us=tn(bw());var RO=Symbol.for("react.element"),IO=Symbol.for("react.transitional.element"),PO=Symbol.for("react.fragment");function Fs(e){return e&&typeof e=="object"&&(e.$$typeof===RO||e.$$typeof===IO)&&e.type===PO}var NO=Number(Wf.split(".")[0]),$w=(e,t)=>{typeof e=="function"?e(t):typeof e=="object"&&e&&"current"in e&&(e.current=t)},_r=(...e)=>{let t=e.filter(Boolean);return t.length<=1?t[0]:o=>{e.forEach(n=>{$w(n,o)})}},Or=(...e)=>pn(()=>_r(...e),e,(t,o)=>t.length!==o.length||t.every((n,r)=>n!==o[r])),gn=e=>{if(!e)return!1;if(nx(e)&&NO>=19)return!0;let t=(0,Us.isMemo)(e)?e.type.type:e.type;return!(typeof t=="function"&&!t.prototype?.render&&t.$$typeof!==Us.ForwardRef||typeof e=="function"&&!e.prototype?.render&&e.$$typeof!==Us.ForwardRef)};function nx(e){return Vr(e)&&!Fs(e)}var ix=e=>nx(e)&&gn(e),Qr=e=>{if(e&&nx(e)){let t=e;return t.props.propertyIsEnumerable("ref")?t.props.ref:t.ref}return null};function Jn(e,t){if(!e)return!1;if(e.contains)return e.contains(t);let o=t;for(;o;){if(o===e)return!0;o=o.parentNode}return!1}var Sw="data-rc-order",Cw="data-rc-priority",kO="rc-util-key",ax=new Map;function _w({mark:e}={}){return e?e.startsWith("data-")?e:`data-${e}`:kO}function Iu(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function zO(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function sx(e){return Array.from((ax.get(e)||e).children).filter(t=>t.tagName==="STYLE")}function cx(e,t={}){if(!$t())return null;let{csp:o,prepend:n,priority:r=0}=t,i=zO(n),a=i==="prependQueue",s=document.createElement("style");s.setAttribute(Sw,i),a&&r&&s.setAttribute(Cw,`${r}`),o?.nonce&&(s.nonce=o?.nonce),s.innerHTML=e;let l=Iu(t),{firstChild:c}=l;if(n){if(a){let u=(t.styles||sx(l)).filter(d=>{if(!["prepend","prependQueue"].includes(d.getAttribute(Sw)))return!1;let f=Number(d.getAttribute(Cw)||0);return r>=f});if(u.length)return l.insertBefore(s,u[u.length-1].nextSibling),s}l.insertBefore(s,c)}else l.appendChild(s);return s}function ww(e,t={}){let{styles:o}=t;return o||=sx(Iu(t)),o.find(n=>n.getAttribute(_w(t))===e)}function ca(e,t={}){let o=ww(e,t);o&&Iu(t).removeChild(o)}function TO(e,t){let o=ax.get(e);if(!o||!Jn(document,o)){let n=cx("",t),{parentNode:r}=n;ax.set(e,r),e.removeChild(n)}}function Vs(e,t,o={}){let n=Iu(o),r=sx(n),i={...o,styles:r};TO(n,i);let a=ww(t,i);if(a)return i.csp?.nonce&&a.nonce!==i.csp?.nonce&&(a.nonce=i.csp?.nonce),a.innerHTML!==e&&(a.innerHTML=e),a;let s=cx(e,i);return s.setAttribute(_w(i),t),s}function vo(e){return e instanceof HTMLElement||e instanceof SVGElement}function Yn(e){return e&&typeof e=="object"&&vo(e.nativeElement)?e.nativeElement:vo(e)?e:null}var Qn=(e=>{if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){let{width:t,height:o}=e.getBBox();if(t||o)return!0}if(e.getBoundingClientRect){let{width:t,height:o}=e.getBoundingClientRect();if(t||o)return!0}}return!1});function Ew(e,t=!1){if(Qn(e)){let o=e.nodeName.toLowerCase(),n=["input","select","textarea","button"].includes(o)||e.isContentEditable||o==="a"&&!!e.getAttribute("href"),r=e.getAttribute("tabindex"),i=Number(r),a=null;return r&&!Number.isNaN(i)?a=i:n&&a===null&&(a=0),n&&e.disabled&&(a=null),a!==null&&(a>=0||t&&a<0)}return!1}function dx(e,t=!1){let o=[...e.querySelectorAll("*")].filter(n=>Ew(n,t));return Ew(e,t)&&o.unshift(e),o}function ua(e,t){if(!e)return;e.focus(t);let{cursor:o}=t||{};if(o&&(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement)){let n=e.value.length;switch(o){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(n,n);break;default:e.setSelectionRange(0,n)}}}var la=null,hn=[],ux=new Map,fx=new Map;function mx(){return hn[hn.length-1]}function OO(e){let t=mx();if(e&&t){let o;for(let[r,i]of ux.entries())if(i===t){o=r;break}let n=fx.get(o);return!!n&&(n===e||n.contains(e))}return!1}function AO(e){let{activeElement:t}=document;return e===t||e.contains(t)}function lx(){let e=mx(),{activeElement:t}=document;if(!OO(t))if(e&&!AO(e)){let o=dx(e);(o.includes(la)?la:o[0])?.focus({preventScroll:!0})}else la=t}function Rw(e){if(e.key==="Tab"){let{activeElement:t}=document,o=mx(),n=dx(o),r=n[n.length-1];e.shiftKey&&t===n[0]?la=r:!e.shiftKey&&t===r&&(la=n[0])}}function Iw(e,t){return e&&(ux.set(t,e),hn=hn.filter(o=>o!==e),hn.push(e),window.addEventListener("focusin",lx),window.addEventListener("keydown",Rw,!0),lx()),()=>{la=null,hn=hn.filter(o=>o!==e),ux.delete(t),fx.delete(t),hn.length===0&&(window.removeEventListener("focusin",lx),window.removeEventListener("keydown",Rw,!0))}}function DO(e,t){let o=k(0),[n,r]=W(0);K(()=>{o.current=0},t),K(()=>{let[i,a]=e(o.current);return a||(o.current+=1,r(s=>s+1)),i},[...t,n])}function px(e,t){let o=Yr(),n=k(t);return n.current=t,DO(a=>{if(!e)return[void 0,!0];let s=n.current();return s?[Iw(s,o),!0]:[void 0,a>=1]},[o,e]),[a=>{a&&fx.set(o,a)}]}function Pw(e){return e?.getRootNode?.()}function MO(e){return Pw(e)instanceof ShadowRoot}function da(e){return MO(e)?Pw(e):null}var Nw=e=>{if($t()&&window.document.documentElement){let t=Array.isArray(e)?e:[e],{documentElement:o}=window.document;return t.some(n=>n in o.style)}return!1},jO=(e,t)=>{if(!Nw(e))return!1;let o=document.createElement("div"),n=o.style[e];return o.style[e]=t,o.style[e]!==n};function kw(e,t){return!Array.isArray(e)&&t!==void 0?jO(e,t):Nw(e)}var $e={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(t){let{keyCode:o}=t;if(t.altKey&&!t.ctrlKey||t.metaKey||o>=$e.F1&&o<=$e.F12)return!1;switch(o){case $e.ALT:case $e.CAPS_LOCK:case $e.CONTEXT_MENU:case $e.CTRL:case $e.DOWN:case $e.END:case $e.ESC:case $e.HOME:case $e.INSERT:case $e.LEFT:case $e.MAC_FF_META:case $e.META:case $e.NUMLOCK:case $e.NUM_CENTER:case $e.PAGE_DOWN:case $e.PAGE_UP:case $e.PAUSE:case $e.PRINT_SCREEN:case $e.RIGHT:case $e.SHIFT:case $e.UP:case $e.WIN_KEY:case $e.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=$e.ZERO&&t<=$e.NINE||t>=$e.NUM_ZERO&&t<=$e.NUM_MULTIPLY||t>=$e.A&&t<=$e.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&t===0)return!0;switch(t){case $e.SPACE:case $e.QUESTION_MARK:case $e.NUM_PLUS:case $e.NUM_MINUS:case $e.NUM_PERIOD:case $e.NUM_DIVISION:case $e.SEMICOLON:case $e.DASH:case $e.EQUALS:case $e.COMMA:case $e.PERIOD:case $e.SLASH:case $e.APOSTROPHE:case $e.SINGLE_QUOTE:case $e.OPEN_SQUARE_BRACKET:case $e.BACKSLASH:case $e.CLOSE_SQUARE_BRACKET:return!0;default:return!1}},isEditableTarget:function(t){let o=t.target;if(!(o instanceof HTMLElement))return!1;let n=o.tagName;return!!(n==="INPUT"||n==="TEXTAREA"||n==="SELECT"||o.isContentEditable)}},LO=$e;function FO(e){let t=`rc-scrollbar-measure-${Math.random().toString(36).substring(7)}`,o=document.createElement("div");o.id=t;let n=o.style;n.position="absolute",n.left="0",n.top="0",n.width="100px",n.height="100px",n.overflow="scroll";let r,i;if(e){let l=getComputedStyle(e);n.scrollbarColor=l.scrollbarColor,n.scrollbarWidth=l.scrollbarWidth;let c=getComputedStyle(e,"::-webkit-scrollbar"),u=parseInt(c.width,10),d=parseInt(c.height,10);try{let f=u?`width: ${c.width};`:"",m=d?`height: ${c.height};`:"";Vs(`
66
+ #${t}::-webkit-scrollbar {
67
+ ${f}
68
+ ${m}
69
+ }`,t)}catch(f){console.error(f),r=u,i=d}}document.body.appendChild(o);let a=e&&r&&!Number.isNaN(r)?r:o.offsetWidth-o.clientWidth,s=e&&i&&!Number.isNaN(i)?i:o.offsetHeight-o.clientHeight;return document.body.removeChild(o),ca(t),{width:a,height:s}}function gx(e){return typeof document>"u"||!e||!(e instanceof Element)?{width:0,height:0}:FO(e)}var hx={},UO=[],VO=e=>{UO.push(e)};function BO(e,t){}function HO(e,t){}function zw(){hx={}}function Tw(e,t,o){!t&&!hx[o]&&(e(!1,o),hx[o]=!0)}function Pu(e,t){Tw(BO,e,t)}function Ow(e,t){Tw(HO,e,t)}Pu.preMessage=VO;Pu.resetWarned=zw;Pu.noteOnce=Ow;var At=Pu;function ZO(e,t,o=!1){let n=new Set;function r(i,a,s=1){let l=n.has(i);if(At(!l,"Warning: There may be circular references"),l)return!1;if(i===a)return!0;if(o&&s>1)return!1;n.add(i);let c=s+1;if(Array.isArray(i)){if(!Array.isArray(a)||i.length!==a.length)return!1;for(let u=0;u<i.length;u++)if(!r(i[u],a[u],c))return!1;return!0}if(i&&a&&typeof i=="object"&&typeof a=="object"){let u=Object.keys(i);return u.length!==Object.keys(a).length?!1:u.every(d=>r(i[d],a[d],c))}return!1}return r(e,t)}var fa=ZO;var XO=tn(Aw());function mr(e,t){let o=Object.assign({},e);return Array.isArray(t)&&t.forEach(n=>{delete o[n]}),o}var KO=`accept acceptCharset accessKey action allowFullScreen allowTransparency
70
+ alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
71
+ charSet checked classID className colSpan cols content contentEditable contextMenu
72
+ controls coords crossOrigin data dateTime default defer dir disabled download draggable
73
+ encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
74
+ headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
75
+ is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
76
+ mediaGroup method min minLength multiple muted name noValidate nonce open
77
+ optimum pattern placeholder poster preload radioGroup readOnly rel required
78
+ reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
79
+ shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
80
+ summary tabIndex target title type useMap value width wmode wrap`,JO=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
81
+ onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
82
+ onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
83
+ onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
84
+ onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
85
+ onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
86
+ onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad
87
+ onPointerDown onPointerMove onPointerUp onPointerCancel onPointerEnter onPointerLeave onPointerOver onPointerOut onGotPointerCapture onLostPointerCapture
88
+ onAnimationStart onAnimationEnd onAnimationIteration
89
+ onTransitionEnd onTransitionRun onTransitionStart onTransitionCancel
90
+ onBeforeInput onReset onInvalid
91
+ onAuxClick onToggle onBeforeToggle onCancel onClose onResize onScrollEnd`,YO=`${KO} ${JO}`.split(/[\s\n]+/),QO="aria-",e4="data-";function Dw(e,t){return e.indexOf(t)===0}function xo(e,t=!1){let o;t===!1?o={aria:!0,data:!0,attr:!0}:t===!0?o={aria:!0}:o={...t};let n={};return Object.keys(e).forEach(r=>{(o.aria&&(r==="role"||Dw(r,QO))||o.data&&Dw(r,e4)||o.attr&&YO.includes(r))&&(n[r]=e[r])}),n}function wr(e,t={}){let o=[];return _.Children.forEach(e,n=>{n==null&&!t.keepEmpty||(Array.isArray(n)?o=o.concat(wr(n)):Fs(n)&&n.props?o=o.concat(wr(n.props.children,t)):o.push(n))}),o}function t4(...e){let t={};for(let o of e)if(o)for(let n of Object.keys(o))o[n]!==void 0&&(t[n]=o[n]);return t}var ku=t4;function zt(e,t){let o=e;for(let n=0;n<t.length;n+=1){if(o==null)return;o=o[t[n]]}return o}function jw(e,t,o,n){if(!t.length)return o;let[r,...i]=t,a;return!e&&typeof r=="number"?a=[]:Array.isArray(e)?a=[...e]:a={...e},n&&o===void 0&&i.length===1?delete a[r][i[0]]:a[r]=jw(a[r],i,o,n),a}function Ht(e,t,o,n=!1){return t.length&&n&&o===void 0&&!zt(e,t.slice(0,-1))?e:jw(e,t,o,n)}function r4(e){return typeof e=="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function Mw(e){return Array.isArray(e)?[]:{}}var o4=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function Lw(e,t={}){let{prepareArray:o}=t,n=o||(()=>[]),r=Mw(e[0]);return e.forEach(i=>{function a(s,l){let c=new Set(l),u=zt(i,s),d=Array.isArray(u);if(d||r4(u)){if(!c.has(u)){c.add(u);let f=zt(r,s);d?r=Ht(r,s,n(f,u)):(!f||typeof f!="object")&&(r=Ht(r,s,Mw(u))),o4(u).forEach(m=>{Object.getOwnPropertyDescriptor(u,m).enumerable&&a([...s,m],c)})}}else r=Ht(r,s,u)}a([])}),r}function yo(...e){return Lw(e)}var zu=globalThis.__HILE_RSC_REACT_DOM_CLIENT__;if(!zu)throw new Error("Hile RSC host did not install the shared ReactDOM client runtime");var Fw=zu.createRoot,I5=zu.hydrateRoot,P5=zu.version;var Tu="__rc_react_root__";function Ou(e,t){let o=t[Tu]||Fw(t);o.render(e),t[Tu]=o}async function Au(e){return Promise.resolve().then(()=>{e[Tu]?.unmount(),delete e[Tu]})}var Er=globalThis.__HILE_RSC_REACT_DOM__;if(!Er)throw new Error("Hile RSC host did not install the shared ReactDOM runtime");var Du=Er.createPortal,Uw=Er.flushSync,O5=Er.preconnect,A5=Er.prefetchDNS,D5=Er.preinit,M5=Er.preinitModule,j5=Er.preload,L5=Er.preloadModule,F5=Er.requestFormReset,U5=Er.unstable_batchedUpdates,V5=Er.useFormState,B5=Er.useFormStatus,H5=Er.version;function n4(){}var{resetWarned:UH}=At;var Vw=be({}),xx=()=>{let e=()=>{};return e.deprecated=n4,e},vn=xx;var ei="ant",Bs="anticon",yx=["outlined","borderless","filled","underlined"],i4=(e,t)=>t||(e?`${ei}-${e}`:ei),he=be({getPrefixCls:i4,iconPrefixCls:Bs}),{Consumer:a4}=he,Bw={};function Xe(e){let t=M(he),{getPrefixCls:o,direction:n,getPopupContainer:r,renderEmpty:i}=t,a=t[e];return{classNames:Bw,styles:Bw,...a,getPrefixCls:o,direction:n,getPopupContainer:r,renderEmpty:i}}var Zt=e=>e!=null,mt=e=>Zt(e)&&e!==!1&&e!=="",pr=e=>typeof e=="number"&&!Number.isNaN(e),bo=e=>typeof e=="string",Be=e=>e!==null&&typeof e=="object",Le=e=>typeof e=="function",Mu=e=>Zt(e)&&Le(e.then);var ju=e=>Be(e)&&"propertyName"in e&&bo(e.propertyName);function Hs(e,t){(t==null||t>e.length)&&(t=e.length);for(var o=0,n=Array(t);o<t;o++)n[o]=e[o];return n}function Hw(e){if(Array.isArray(e))return Hs(e)}function Zw(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Lu(e,t){if(e){if(typeof e=="string")return Hs(e,t);var o={}.toString.call(e).slice(8,-1);return o==="Object"&&e.constructor&&(o=e.constructor.name),o==="Map"||o==="Set"?Array.from(e):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Hs(e,t):void 0}}function Ww(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
92
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Et(e){return Hw(e)||Zw(e)||Lu(e)||Ww()}var Fu=(e,t)=>{let o={...e};return Object.keys(t).forEach(n=>{t[n]._default?o[n]||(o[n]={}):o[n]=Fu(o[n],t[n])}),o};var Gw=(e={},...t)=>t.filter(o=>!!o).reduce((o,n)=>(Object.keys(n).forEach(r=>{let i=e[r],a=n[r];if(i)if(Be(a))o[r]=Gw(i,o[r],a);else{let{_default:s}=i;s&&(o[r]=o[r]||{},o[r][s]=E(o[r][s],a))}else o[r]=E(o[r],a)}),o),{}),s4=(e,...t)=>A(()=>Gw.apply(void 0,[e].concat(t)),[e].concat(t)),c4=(...e)=>e.filter(t=>!!t).reduce((t,o={})=>(Object.keys(o).forEach(n=>{t[n]={...t[n],...o[n]}}),t),{}),l4=(...e)=>A(()=>c4.apply(void 0,e),[].concat(e)),qe=(e,t="root")=>A(()=>e?{[t]:e}:void 0,[e,t]),xn=(e,t)=>Le(e)?e(t):e,tt=(e,t,o,n)=>{let r=e.map(l=>l?xn(l,o):void 0),i=t.map(l=>l?xn(l,o):void 0),a=s4.apply(void 0,[n].concat(Et(r))),s=l4.apply(void 0,Et(i));return A(()=>n?[Fu(a,n),Fu(s,n)]:[a,s],[a,s,n])};var qw="6.6.1";var Xw=qw;function u4(e){for(var t=0,o,n=0,r=e.length;r>=4;++n,r-=4)o=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,o=(o&65535)*1540483477+((o>>>16)*59797<<16),o^=o>>>24,t=(o&65535)*1540483477+((o>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(r){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var yn=u4;function bn(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function bx(e,t){if(!e)return!1;if(e.contains)return e.contains(t);let o=t;for(;o;){if(o===e)return!0;o=o.parentNode}return!1}var Kw="data-rc-order",Jw="data-rc-priority",d4="rc-util-key",$x=new Map;function Yw({mark:e}={}){return e?e.startsWith("data-")?e:`data-${e}`:d4}function Uu(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function f4(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function Sx(e){return Array.from(($x.get(e)||e).children).filter(t=>t.tagName==="STYLE")}function Qw(e,t={}){if(!bn())return null;let{csp:o,prepend:n,priority:r=0}=t,i=f4(n),a=i==="prependQueue",s=document.createElement("style");s.setAttribute(Kw,i),a&&r&&s.setAttribute(Jw,`${r}`),o?.nonce&&(s.nonce=o?.nonce),s.innerHTML=e;let l=Uu(t),{firstChild:c}=l;if(n){if(a){let u=(t.styles||Sx(l)).filter(d=>{if(!["prepend","prependQueue"].includes(d.getAttribute(Kw)))return!1;let f=Number(d.getAttribute(Jw)||0);return r>=f});if(u.length)return l.insertBefore(s,u[u.length-1].nextSibling),s}l.insertBefore(s,c)}else l.appendChild(s);return s}function e0(e,t={}){let{styles:o}=t;return o||=Sx(Uu(t)),o.find(n=>n.getAttribute(Yw(t))===e)}function Zs(e,t={}){let o=e0(e,t);o&&Uu(t).removeChild(o)}function m4(e,t){let o=$x.get(e);if(!o||!bx(document,o)){let n=Qw("",t),{parentNode:r}=n;$x.set(e,r),e.removeChild(n)}}function Mo(e,t,o={}){let n=Uu(o),r=Sx(n),i={...o,styles:r};m4(n,i);let a=e0(t,i);if(a)return i.csp?.nonce&&a.nonce!==i.csp?.nonce&&(a.nonce=i.csp?.nonce),a.innerHTML!==e&&(a.innerHTML=e),a;let s=Qw(e,i);return s.setAttribute(Yw(i),t),s}var Cx={},p4=[],g4=e=>{p4.push(e)};function t0(e,t){}function h4(e,t){}function v4(){Cx={}}function r0(e,t,o){!t&&!Cx[o]&&(e(!1,o),Cx[o]=!0)}function _x(e,t){r0(t0,e,t)}function x4(e,t){r0(h4,e,t)}_x.preMessage=g4;_x.resetWarned=v4;_x.noteOnce=x4;function Vu(e){return e.join("%")}var o0=0,wx=class{instanceId;constructor(t){this.instanceId=t}cache=new Map;updateTimes=new Map;extracted=new Set;get(t){return this.opGet(Vu(t))}opGet(t){return this.cache.get(t)||null}update(t,o){return this.opUpdate(Vu(t),o)}opUpdate(t,o){let n=this.cache.get(t),r=o(n);r===null?(this.cache.delete(t),this.updateTimes.delete(t)):(this.cache.set(t,r),this.updateTimes.set(t,o0),o0+=1)}},n0=wx;var ti="data-token-hash",gr="data-css-hash";var $o="__cssinjs_instance__";function i0(){let e=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){let t=document.body.querySelectorAll(`style[${gr}]`)||[],{firstChild:o}=document.head;Array.from(t).forEach(r=>{r[$o]||=e,r[$o]===e&&document.head.insertBefore(r,o)});let n={};Array.from(document.querySelectorAll(`style[${gr}]`)).forEach(r=>{let i=r.getAttribute(gr);n[i]?r[$o]===e&&r.parentNode?.removeChild(r):n[i]=!0})}return new n0(e)}var b4=be({hashPriority:"low",cache:i0(),defaultCache:!0,autoPrefix:!1});var eo=b4;var S4="CALC_UNIT",OZ=new RegExp(S4,"g");function C4(e,t){if(e.length!==t.length)return!1;for(let o=0;o<e.length;o++)if(e[o]!==t[o])return!1;return!0}var ma=class e{static MAX_CACHE_SIZE=20;static MAX_CACHE_OFFSET=5;cache;keys;cacheCallTimes;constructor(){this.cache=new Map,this.keys=[],this.cacheCallTimes=0}size(){return this.keys.length}internalGet(t,o=!1){let n={map:this.cache};return t.forEach(r=>{n?n=n?.map?.get(r):n=void 0}),n?.value&&o&&(n.value[1]=this.cacheCallTimes++),n?.value}get(t){return this.internalGet(t,!0)?.[0]}has(t){return!!this.internalGet(t)}set(t,o){if(!this.has(t)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){let[r]=this.keys.reduce((i,a)=>{let[,s]=i;return this.internalGet(a)[1]<s?[a,this.internalGet(a)[1]]:i},[this.keys[0],this.cacheCallTimes]);this.delete(r)}this.keys.push(t)}let n=this.cache;t.forEach((r,i)=>{if(i===t.length-1)n.set(r,{value:[o,this.cacheCallTimes++]});else{let a=n.get(r);a?a.map||(a.map=new Map):n.set(r,{map:new Map}),n=n.get(r).map}})}deleteByPath(t,o){let n=t.get(o[0]);if(o.length===1)return n.map?t.set(o[0],{map:n.map}):t.delete(o[0]),n.value?.[0];let r=this.deleteByPath(n.map,o.slice(1));return(!n.map||n.map.size===0)&&!n.value&&t.delete(o[0]),r}delete(t){if(this.has(t))return this.keys=this.keys.filter(o=>!C4(o,t)),this.deleteByPath(this.cache,t)}};var a0=0,jo=class{derivatives;id;constructor(t){this.derivatives=Array.isArray(t)?t:[t],this.id=a0,t.length===0&&(t.length>0,void 0),a0+=1}getDerivativeToken(t){return this.derivatives.reduce((o,n)=>n(t,o),void 0)}};var Ex=new ma;function So(e){let t=Array.isArray(e)?e:[e];return Ex.has(t)||Ex.set(t,new jo(t)),Ex.get(t)}var w4=new WeakMap,Rx={};function c0(e,t){let o=w4;for(let n=0;n<t.length;n+=1){let r=t[n];o.has(r)||o.set(r,new WeakMap),o=o.get(r)}return o.has(Rx)||o.set(Rx,e()),o.get(Rx)}var s0=new WeakMap;function pa(e){let t=s0.get(e)||"";return t||(Object.keys(e).forEach(o=>{let n=e[o];t+=o,n instanceof jo?t+=n.id:n&&typeof n=="object"?t+=pa(n):t+=n}),t=yn(t),s0.set(e,t)),t}function l0(e,t){return yn(`${t}_${pa(e)}`)}var iW=`random-${Date.now()}-${Math.random()}`.replace(/\./g,"");var Ws=bn();function B(e){return typeof e=="number"?`${e}px`:e}function $n(e,t,o,n={},r=!1){if(r)return e;let i={...n,[ti]:t,[gr]:o};return`<style ${Object.keys(i).map(s=>{let l=i[s];return l?`${s}="${l}"`:null}).filter(s=>s).join(" ")}>${e}</style>`}function Bu(e){let{hashCls:t,hashPriority:o="low"}=e||{};if(!t)return"";let n=`.${t}`;return o==="low"?`:where(${n})`:n}var u0=e=>e!=null;function ga(e,t){let o=typeof t=="function"?t():t;return o?{...e,csp:{...e.csp,nonce:o}}:e}var ha=(e,t="")=>`--${t?`${t}-`:""}${e}`.replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase(),E4=(e,t,o)=>{let{hashCls:n,hashPriority:r="low",scope:i}=o||{};if(!Object.keys(e).length)return"";let a=`${Bu({hashCls:n,hashPriority:r})}.${t}`,s=[i].flat().filter(Boolean);return`${s.length?s.map(c=>`${a}.${c}`).join(", "):a}{${Object.entries(e).map(([c,u])=>`${c}:${u};`).join("")}}`},Hu=(e,t,o)=>{let{hashCls:n,hashPriority:r="low",prefix:i,unitless:a,ignore:s,preserve:l}=o||{},c={},u={};return Object.entries(e).forEach(([d,f])=>{if(l?.[d])u[d]=f;else if((typeof f=="string"||typeof f=="number")&&!s?.[d]){let m=ha(d,i);c[m]=typeof f=="number"&&!a?.[d]?`${f}px`:String(f),u[d]=`var(${m})`}}),[u,E4(c,t,{scope:o?.scope,hashCls:n,hashPriority:r})]};function R4(){return!1}var d0=R4;var Zu=new Map;function ri(e,t,o,n,r){let{cache:i}=M(eo),a=[e,...t],s=Vu(a),l=d0(),c=f=>{i.opUpdate(s,m=>{let[p=0,g]=m||[void 0,void 0],h=g||o(),b=[p,h];return f?f(b):b})};A(()=>{c()},[s]);let d=i.opGet(s)[1];return Hf(()=>(c(([f,m])=>[f+1,m]),Zu.has(s)||(r?.(d),Zu.set(s,!0),Promise.resolve().then(()=>{Zu.delete(s)})),()=>{i.opUpdate(s,f=>{let[m=0,p]=f||[];return m-1===0?(n?.(p,!1),Zu.delete(s),null):[m-1,p]})}),[s]),d}var I4={},P4="css",oi=new Map;function N4(e){oi.set(e,(oi.get(e)||0)+1)}function k4(e,t){typeof document<"u"&&document.querySelectorAll(`style[${ti}="${e}"]`).forEach(n=>{n[$o]===t&&n.parentNode?.removeChild(n)})}var z4=-1;function T4(e,t){oi.set(e,(oi.get(e)||0)-1);let o=new Set;oi.forEach((n,r)=>{n<=0&&o.add(r)}),oi.size-o.size>z4&&o.forEach(n=>{k4(n,t),oi.delete(n)})}var Wu=(e,t,o,n)=>{let i={...o.getDerivativeToken(e),...t};return n&&(i=n(i)),i},Ix="token";function Gu(e,t,o){let{cache:{instanceId:n},container:r,hashPriority:i}=M(eo),{salt:a="",override:s=I4,formatToken:l,getComputedToken:c,cssVar:u,nonce:d}=o,f=c0(()=>Object.assign({},...t),t),m=pa(f),p=pa(s),g=pa(u);return ri(Ix,[a,e.id,m,p,g],()=>{let h=c?c(f,s,e):Wu(f,s,e,l),b={...h},v=`${a}_${u.prefix}`,$=yn(v),S=`${P4}-${$}`;b._tokenKey=l0(b,v);let[C,w]=Hu(h,u.key,{prefix:u.prefix,ignore:u.ignore,unitless:u.unitless,preserve:u.preserve,hashPriority:i,hashCls:u.hashed?S:void 0});return C._hashId=$,N4(u.key),[C,S,b,w,u.key]},([,,,,h])=>{T4(h,n)},([,,,h,b])=>{if(!h)return;let v={mark:gr,prepend:"queue",attachTo:r,priority:-999};v=ga(v,d);let $=Mo(h,yn(`css-var-${b}`),v);$[$o]=n,$.setAttribute(ti,b)})}var f0=(e,t,o)=>{let[,,n,r,i]=e,{plain:a}=o||{};if(!r)return null;let s=n._tokenKey,l=-999,c={"data-rc-order":"prependQueue","data-rc-priority":`${l}`},u=$n(r,i,s,c,a);return[l,s,u]};var O4={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Px=O4;var it="-ms-",ni="-moz-",Fe="-webkit-",qu="comm",va="rule",xa="decl";var m0="@import";var p0="@namespace",Xu="@keyframes";var g0="@layer";var h0=Math.abs,ii=String.fromCharCode,Gs=Object.assign;function v0(e,t){return ht(e,0)^45?(((t<<2^ht(e,0))<<2^ht(e,1))<<2^ht(e,2))<<2^ht(e,3):0}function Ku(e){return e.trim()}function to(e,t){return(e=t.exec(e))?e[0]:e}function Ne(e,t,o){return e.replace(t,o)}function Ju(e,t){return e.indexOf(t)}function ht(e,t){return e.charCodeAt(t)|0}function ro(e,t,o){return e.slice(t,o)}function Qt(e){return e.length}function Yu(e){return e.length}function ai(e,t){return t.push(e),e}function x0(e,t){return e.map(t).join("")}function Nx(e,t){return e.filter(function(o){return!to(o,t)})}var Qu=1,ya=1,y0=0,Zr=0,Rt=0,$a="";function qs(e,t,o,n,r,i,a,s){return{value:e,root:t,parent:o,type:n,props:r,children:i,line:Qu,column:ya,length:a,return:"",siblings:s}}function Lo(e,t){return Gs(qs("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function si(e){for(;e.root;)e=Lo(e.root,{children:[e]});ai(e,e.siblings)}function b0(){return Rt}function $0(){return Rt=Zr>0?ht($a,--Zr):0,ya--,Rt===10&&(ya=1,Qu--),Rt}function Wr(){return Rt=Zr<y0?ht($a,Zr++):0,ya++,Rt===10&&(ya=1,Qu++),Rt}function Fo(){return ht($a,Zr)}function Xs(){return Zr}function ed(e,t){return ro($a,e,t)}function ba(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function S0(e){return Qu=ya=1,y0=Qt($a=e),Zr=0,[]}function C0(e){return $a="",e}function td(e){return Ku(ed(Zr-1,kx(e===91?e+2:e===40?e+1:e)))}function _0(e){for(;(Rt=Fo())&&Rt<33;)Wr();return ba(e)>2||ba(Rt)>3?"":" "}function w0(e,t){for(;--t&&Wr()&&!(Rt<48||Rt>102||Rt>57&&Rt<65||Rt>70&&Rt<97););return ed(e,Xs()+(t<6&&Fo()==32&&Wr()==32))}function kx(e){for(;Wr();)switch(Rt){case e:return Zr;case 34:case 39:e!==34&&e!==39&&kx(Rt);break;case 40:e===41&&kx(e);break;case 92:Wr();break}return Zr}function E0(e,t){for(;Wr()&&e+Rt!==57;)if(e+Rt===84&&Fo()===47)break;return"/*"+ed(t,Zr-1)+"*"+ii(e===47?e:Wr())}function R0(e){for(;!ba(Fo());)Wr();return ed(e,Zr)}function zx(e){return C0(rd("",null,null,null,[""],e=S0(e),0,[0],e))}function rd(e,t,o,n,r,i,a,s,l){for(var c=0,u=0,d=a,f=0,m=0,p=0,g=1,x=1,h=1,b=0,v=0,$="",S=r,C=i,w=n,R=$;x;)switch(p=v,v=Wr()){case 40:p!=108&&ht(R,d-1)==58?(b++,R+="("):R+=td(v);break;case 41:b--,R+=")";break;case 34:case 39:case 91:R+=td(v);break;case 9:case 10:case 13:case 32:if(b>0){R+=ii(v);break}R+=_0(p);break;case 92:R+=w0(Xs()-1,7);continue;case 47:switch(Fo()){case 42:case 47:ai(A4(E0(Wr(),Xs()),t,o,l),l),(ba(p||1)==5||ba(Fo()||1)==5)&&Qt(R)&&ro(R,-1,void 0)!==" "&&(R+=" ");break;default:R+="/"}break;case 123*g:s[c++]=Qt(R)*h;case 125*g:case 59:case 0:if(b>0&&v){R+=ii(v);break}switch(v){case 0:case 125:x=0;case 59+u:h==-1&&(R=Ne(R,/\f/g,"")),m>0&&(Qt(R)-d||g===0)&&ai(m>32?P0(R+";",n,o,d-1,l):P0(Ne(R," ","")+";",n,o,d-2,l),l);break;case 59:R+=";";default:if(ai(w=I0(R,t,o,c,u,r,s,$,S=[],C=[],d,i),i),v===123)if(u===0)rd(R,t,w,w,S,i,d,s,C);else{switch(f){case 99:if(ht(R,3)===110)break;case 108:if(ht(R,2)===97)break;default:u=0;case 100:case 109:case 115:}u?rd(e,w,w,n&&ai(I0(e,w,w,0,0,r,s,$,r,S=[],d,C),C),r,C,d,s,n?S:C):rd(R,w,w,w,[""],C,0,s,C)}}c=u=m=0,g=h=1,$=R="",d=a;break;case 58:d=1+Qt(R),m=p;default:if(g<1){if(v==123)--g;else if(v==125&&g++==0&&$0()==125)continue}switch(R+=ii(v),v*g){case 38:h=u>0?1:(R+="\f",-1);break;case 44:if(b>0)break;s[c++]=(Qt(R)-1)*h,h=1;break;case 64:Fo()===45&&(R+=td(Wr())),f=Fo(),u=d=Qt($=R+=R0(Xs())),v++;break;case 45:p===45&&Qt(R)==2&&(g=0)}}return i}function I0(e,t,o,n,r,i,a,s,l,c,u,d){for(var f=r-1,m=r===0?i:[""],p=Yu(m),g=0,x=0,h=0;g<n;++g)for(var b=0,v=ro(e,f+1,f=h0(x=a[g])),$=e;b<p;++b)($=Ku(x>0?m[b]+" "+v:Ne(v,/&\f/g,m[b])))&&(l[h++]=$);return qs(e,t,o,r===0?va:s,l,c,u,d)}function A4(e,t,o,n){return qs(e,t,o,qu,ii(b0()),ro(e,2,-2),0,n)}function P0(e,t,o,n,r){return qs(e,t,o,xa,ro(e,0,n),ro(e,n+1,-1),n,r)}function Tx(e,t,o){switch(v0(e,t)){case 5103:return Fe+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return Fe+e+e;case 4855:return Fe+e.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+e;case 4789:return ni+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Fe+e+ni+e+it+e+e;case 5936:switch(ht(e,t+11)){case 114:return Fe+e+it+Ne(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Fe+e+it+Ne(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Fe+e+it+Ne(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return Fe+e+it+e+e;case 6165:return Fe+e+it+"flex-"+e+e;case 5187:return Fe+e+Ne(e,/(\w+).+(:[^]+)/,Fe+"box-$1$2"+it+"flex-$1$2")+e;case 5443:return Fe+e+it+"flex-item-"+Ne(e,/flex-|-self/g,"")+(to(e,/flex-|baseline/)?"":it+"grid-row-"+Ne(e,/flex-|-self/g,""))+e;case 4675:return Fe+e+it+"flex-line-pack"+Ne(e,/align-content|flex-|-self/g,"")+e;case 5548:return Fe+e+it+Ne(e,"shrink","negative")+e;case 5292:return Fe+e+it+Ne(e,"basis","preferred-size")+e;case 6060:return Fe+"box-"+Ne(e,"-grow","")+Fe+e+it+Ne(e,"grow","positive")+e;case 4554:return Fe+Ne(e,/([^-])(transform)/g,"$1"+Fe+"$2")+e;case 6187:return Ne(Ne(Ne(e,/(zoom-|grab)/,Fe+"$1"),/(image-set)/,Fe+"$1"),e,"")+e;case 5495:case 3959:return Ne(e,/(image-set\([^]*)/,Fe+"$1$`$1");case 4968:return Ne(Ne(e,/(.+:)(flex-)?(.*)/,Fe+"box-pack:$3"+it+"flex-pack:$3"),/space-between/,"justify")+Fe+e+e;case 4200:if(!to(e,/flex-|baseline/))return it+"grid-column-align"+ro(e,t)+e;break;case 2592:case 3360:return it+Ne(e,"template-","")+e;case 4384:case 3616:return o&&o.some(function(n,r){return t=r,to(n.props,/grid-\w+-end/)})?~Ju(e+(o=o[t].value),"span")?e:it+Ne(e,"-start","")+e+it+"grid-row-span:"+(~Ju(o,"span")?to(o,/\d+/):+to(o,/\d+/)-+to(e,/\d+/))+";":it+Ne(e,"-start","")+e;case 4896:case 4128:return o&&o.some(function(n){return to(n.props,/grid-\w+-start/)})?e:it+Ne(Ne(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return Ne(e,/(.+)-inline(.+)/,Fe+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Qt(e)-1-t>6)switch(ht(e,t+1)){case 109:if(ht(e,t+4)!==45)break;case 102:return Ne(e,/(.+:)(.+)-([^]+)/,"$1"+Fe+"$2-$3$1"+ni+(ht(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Ju(e,"stretch")?Tx(Ne(e,"stretch","fill-available"),t,o)+e:e}break;case 5152:case 5920:return Ne(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,r,i,a,s,l,c){return it+r+":"+i+c+(a?it+r+"-span:"+(s?l:+l-+i)+c:"")+e});case 4949:if(ht(e,t+6)===121)return Ne(e,":",":"+Fe)+e;break;case 6444:switch(ht(e,ht(e,14)===45?18:11)){case 120:return Ne(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Fe+(ht(e,14)===45?"inline-":"")+"box$3$1"+Fe+"$2$3$1"+it+"$2box$3")+e;case 100:return Ne(e,":",":"+it)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Ne(e,"scroll-","scroll-snap-")+e}return e}function ci(e,t){for(var o="",n=0;n<e.length;n++)o+=t(e[n],n,e,t)||"";return o}function Ox(e,t,o,n){switch(e.type){case g0:if(e.children.length)break;case m0:case p0:case xa:return e.return=e.return||e.value;case qu:return"";case Xu:return e.return=e.value+"{"+ci(e.children,n)+"}";case va:if(!Qt(e.value=e.props.join(",")))return""}return Qt(o=ci(e.children,n))?e.return=e.value+"{"+o+"}":""}function N0(e){var t=Yu(e);return function(o,n,r,i){for(var a="",s=0;s<t;s++)a+=e[s](o,n,r,i)||"";return a}}function k0(e,t,o,n){if(e.length>-1&&!e.return)switch(e.type){case xa:e.return=Tx(e.value,e.length,o);return;case Xu:return ci([Lo(e,{value:Ne(e.value,"@","@"+Fe)})],n);case va:if(e.length)return x0(o=e.props,function(r){switch(to(r,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":si(Lo(e,{props:[Ne(r,/:(read-\w+)/,":"+ni+"$1")]})),si(Lo(e,{props:[r]})),Gs(e,{props:Nx(o,n)});break;case"::placeholder":si(Lo(e,{props:[Ne(r,/:(plac\w+)/,":"+Fe+"input-$1")]})),si(Lo(e,{props:[Ne(r,/:(plac\w+)/,":"+ni+"$1")]})),si(Lo(e,{props:[Ne(r,/:(plac\w+)/,it+"input-$1")]})),si(Lo(e,{props:[r]})),Gs(e,{props:Nx(o,n)});break}return""})}}var Ax="data-ant-cssinjs-cache-path",Dx="_FILE_STYLE__";var li,z0=!0;function F4(){if(!li&&(li={},bn())){let e=document.createElement("div");e.className=Ax,e.style.position="fixed",e.style.visibility="hidden",e.style.top="-9999px",document.body.appendChild(e);let t=getComputedStyle(e).content||"";t=t.replace(/^"/,"").replace(/"$/,""),t.split(";").forEach(n=>{let[r,i]=n.split(":");li[r]=i});let o=document.querySelector(`style[${Ax}]`);o&&(z0=!1,o.parentNode?.removeChild(o)),document.body.removeChild(e)}}function T0(e){return F4(),!!li[e]}function O0(e){let t=li[e],o=null;if(t&&bn())if(z0)o=Dx;else{let n=document.querySelector(`style[${gr}="${li[e]}"]`);n?o=n.innerHTML:delete li[e]}return[o,t]}var U4="_skip_check_",D0="_multi_value_";function od(e,t){return(t?ci(zx(e),N0([k0,Ox])):ci(zx(e),Ox)).replace(/\{%%%\:[^;];}/g,";")}function V4(e){return typeof e=="object"&&e&&(U4 in e||D0 in e)}function A0(e,t,o="high"){if(!t)return e;let n=Bu({hashCls:t,hashPriority:o});return e.split(",").map(i=>{let a=i.trim().split(/\s+/),s=a[0]||"",l=s.match(/^\w+/)?.[0]||"";return s=`${l}${n}${s.slice(l.length)}`,[s,...a.slice(1)].join(" ")}).join(",")}var Mx=(e,t={},{root:o,injectHash:n,parentSelectors:r}={root:!0,parentSelectors:[]})=>{let{hashId:i,layer:a,path:s,hashPriority:l,transformers:c=[],linters:u=[]}=t,d="",f={};function m(x){let h=x.getName(i);if(!f[h]){let[b]=Mx(x.style,t,{root:!1,parentSelectors:r});f[h]=`@keyframes ${x.getName(i)}${b}`}}function p(x,h=[]){return x.forEach(b=>{Array.isArray(b)?p(b,h):b&&h.push(b)}),h}return p(Array.isArray(e)?e:[e]).forEach(x=>{let h=typeof x=="string"&&!o?{}:x;if(typeof h=="string")d+=`${h}
93
+ `;else if(h._keyframe)m(h);else{let b=c.reduce((v,$)=>$?.visit?.(v)||v,h);Object.keys(b).forEach(v=>{let $=b[v];if(typeof $=="object"&&$&&(v!=="animationName"||!$._keyframe)&&!V4($)){let S=!1,C=v.trim(),w=!1;(o||n)&&i?C.startsWith("@")?S=!0:C==="&"?C=A0("",i,l):C=A0(v,i,l):o&&!i&&(C==="&"||C==="")&&(C="",w=!0);let[R,N]=Mx($,t,{root:w,injectHash:S,parentSelectors:[...r,C]});f={...f,...N},d+=`${C}${R}`}else{let S=function(w,R){let N=w.replace(/[A-Z]/g,P=>`-${P.toLowerCase()}`),O=R;!Px[w]&&typeof O=="number"&&O!==0&&(O=`${O}px`),w==="animationName"&&R?._keyframe&&(m(R),O=R.getName(i)),d+=`${N}:${O};`},C=$?.value??$;typeof $=="object"&&$?.[D0]&&Array.isArray(C)?C.forEach(w=>{S(v,w)}):u0(C)&&S(v,C)}})}}),o?a&&(d&&(d=`@layer ${a.name} {${d}}`),a.dependencies&&(f[`@layer ${a.name}`]=a.dependencies.map(x=>`@layer ${x}, ${a.name};`).join(`
94
+ `))):d=`{${d}}`,[d,f]};function jx(e,t){return yn(`${e.join("%")}${t}`)}var Lx="style";function Sn(e,t){let{path:o,hashId:n,layer:r,nonce:i,clientOnly:a,order:s=0}=e,{mock:l,hashPriority:c,container:u,transformers:d,linters:f,cache:m,layer:p,autoPrefix:g}=M(eo),x=[n||""];p&&x.push("layer"),x.push(...o);let h=Ws;ri(Lx,x,()=>{let b=x.join("|");if(T0(b)){let[R,N]=O0(b);if(R)return[R,N,{},a,s]}let v=t(),[$,S]=Mx(v,{hashId:n,hashPriority:c,layer:p?r:void 0,path:o.join("-"),transformers:d,linters:f}),C=od($,g||!1),w=jx(x,C);return[C,w,S,a,s]},(b,v)=>{let[,$]=b;v&&Ws&&Zs($,{mark:gr,attachTo:u})},b=>{let[v,$,S,,C]=b;if(h&&v!==Dx){let w={mark:gr,prepend:p?!1:"queue",attachTo:u,priority:C};w=ga(w,i);let R=[],N=[];Object.keys(S).forEach(P=>{P.startsWith("@layer")?R.push(P):N.push(P)}),R.forEach(P=>{Mo(od(S[P],g||!1),`_layer-${P}`,{...w,prepend:!0})});let O=Mo(v,$,w);O[$o]=m.instanceId,N.forEach(P=>{Mo(od(S[P],g||!1),`_effect-${P}`,w)})}})}var M0=(e,t,o)=>{let[n,r,i,a,s]=e,{plain:l,autoPrefix:c}=o||{};if(a)return null;let u=n,d={"data-rc-order":"prependQueue","data-rc-priority":`${s}`};return u=$n(n,void 0,r,d,l),i&&Object.keys(i).forEach(f=>{if(!t[f]){t[f]=!0;let m=od(i[f],c||!1),p=$n(m,void 0,`_effect-${f}`,d,l);f.startsWith("@layer")?u=p+u:u+=p}}),[s,r,u]};var Fx="cssVar",B4=(e,t)=>{let{key:o,prefix:n,unitless:r,ignore:i,token:a,hashId:s,scope:l,nonce:c}=e,{cache:{instanceId:u},container:d,hashPriority:f}=M(eo),{_tokenKey:m}=a,p=Array.isArray(l)?l.join("@@"):l,g=[...e.path,o,p,m];return ri(Fx,g,()=>{let h=t(),[b,v]=Hu(h,o,{prefix:n,unitless:r,ignore:i,scope:l,hashPriority:f,hashCls:s}),$=jx(g,v);return[b,v,$,o]},([,,h])=>{Ws&&Zs(h,{mark:gr,attachTo:d})},([,h,b])=>{if(!h)return;let v={mark:gr,prepend:"queue",attachTo:d,priority:-999};v=ga(v,c);let $=Mo(h,b,v);$[$o]=u,$.setAttribute(ti,o)})},j0=(e,t,o)=>{let[,n,r,i]=e,{plain:a}=o||{};if(!n)return null;let s=-999,l={"data-rc-order":"prependQueue","data-rc-priority":`${s}`},c=$n(n,i,r,l,a);return[s,r,c]},Ux=B4;var H9={[Lx]:M0,[Ix]:f0,[Fx]:j0};var Vx=class{name;style;constructor(t,o){this.name=t,this.style=o}getName(t=""){return t?`${t}-${this.name}`:this.name}_keyframe=!0},_t=Vx;function Sa(e){return e.notSplit=!0,e}var G9={inset:["top","right","bottom","left"],insetBlock:["top","bottom"],insetBlockStart:["top"],insetBlockEnd:["bottom"],insetInline:["left","right"],insetInlineStart:["left"],insetInlineEnd:["right"],marginBlock:["marginTop","marginBottom"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],marginInline:["marginLeft","marginRight"],marginInlineStart:["marginLeft"],marginInlineEnd:["marginRight"],paddingBlock:["paddingTop","paddingBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"],paddingInline:["paddingLeft","paddingRight"],paddingInlineStart:["paddingLeft"],paddingInlineEnd:["paddingRight"],borderBlock:Sa(["borderTop","borderBottom"]),borderBlockStart:Sa(["borderTop"]),borderBlockEnd:Sa(["borderBottom"]),borderInline:Sa(["borderLeft","borderRight"]),borderInlineStart:Sa(["borderLeft"]),borderInlineEnd:Sa(["borderRight"]),borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndWidth:["borderBottomWidth"],borderInlineWidth:["borderLeftWidth","borderRightWidth"],borderInlineStartWidth:["borderLeftWidth"],borderInlineEndWidth:["borderRightWidth"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderBlockStartStyle:["borderTopStyle"],borderBlockEndStyle:["borderBottomStyle"],borderInlineStyle:["borderLeftStyle","borderRightStyle"],borderInlineStartStyle:["borderLeftStyle"],borderInlineEndStyle:["borderRightStyle"],borderBlockColor:["borderTopColor","borderBottomColor"],borderBlockStartColor:["borderTopColor"],borderBlockEndColor:["borderBottomColor"],borderInlineColor:["borderLeftColor","borderRightColor"],borderInlineStartColor:["borderLeftColor"],borderInlineEndColor:["borderRightColor"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"]};var H4=be({}),Ca=H4;var L0=be(void 0);var Z4={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"},F0=Z4;var U0={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0};var W4={...U0,locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",week:"Week",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",previousMonth:"Previous month",nextMonth:"Next month",previousYear:"Last year",nextYear:"Next year",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},V0=W4;var G4={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},nd=G4;var q4={lang:{placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"],...V0},timePickerLocale:{...nd}},id=q4;var B0=id;var Ar="${label} is not a valid ${type}",X4={locale:"en",Pagination:F0,DatePicker:id,TimePicker:nd,Calendar:B0,global:{placeholder:"Please select",close:"Close",sortable:"sortable",show:"Show",hide:"Hide"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckAll:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",deselectAll:"Deselect all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Carousel:{prevSlide:"Previous slide",nextSlide:"Next slide"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:Ar,method:Ar,array:Ar,object:Ar,number:Ar,date:Ar,boolean:Ar,integer:Ar,float:Ar,regexp:Ar,email:Ar,url:Ar,hex:Ar},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty",transparent:"Transparent",singleColor:"Single",gradientColor:"Gradient"}},er=X4;var ad={...er.Modal},sd=[],H0=()=>sd.reduce((e,t)=>({...e,...t}),er.Modal);function Z0(e){if(e){let t={...e};return sd.push(t),ad=H0(),()=>{sd=sd.filter(o=>o!==t),ad=H0()}}ad={...er.Modal}}function W0(){return ad}var K4=be(void 0),_a=K4;var J4=(e,t)=>{let o=M(_a),n=A(()=>{let i=t||er[e],a=o?.[e]??{};return{...Le(i)?i():i,...a||{}}},[e,t,o]),r=A(()=>{let i=o?.locale;return o?.exist&&!i?er.locale:i},[o]);return[n,r]},Wt=J4;var G0="internalMark",Y4=e=>{let{locale:t={},children:o,_ANT_MARK__:n}=e;K(()=>Z0(t?.Modal),[t]);let r=A(()=>({...t,exist:!0}),[t]);return y(_a.Provider,{value:r},o)},q0=Y4;var Js={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},Q4={...Js,colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
95
+ 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
96
+ 'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,focusOutline:!0,motion:!0},oo=Q4;var X0={aliceblue:"9ehhb",antiquewhite:"9sgk7",aqua:"1ekf",aquamarine:"4zsno",azure:"9eiv3",beige:"9lhp8",bisque:"9zg04",black:"0",blanchedalmond:"9zhe5",blue:"73",blueviolet:"5e31e",brown:"6g016",burlywood:"8ouiv",cadetblue:"3qba8",chartreuse:"4zshs",chocolate:"87k0u",coral:"9yvyo",cornflowerblue:"3xael",cornsilk:"9zjz0",crimson:"8l4xo",cyan:"1ekf",darkblue:"3v",darkcyan:"rkb",darkgoldenrod:"776yz",darkgray:"6mbhl",darkgreen:"jr4",darkgrey:"6mbhl",darkkhaki:"7ehkb",darkmagenta:"5f91n",darkolivegreen:"3bzfz",darkorange:"9yygw",darkorchid:"5z6x8",darkred:"5f8xs",darksalmon:"9441m",darkseagreen:"5lwgf",darkslateblue:"2th1n",darkslategray:"1ugcv",darkslategrey:"1ugcv",darkturquoise:"14up",darkviolet:"5rw7n",deeppink:"9yavn",deepskyblue:"11xb",dimgray:"442g9",dimgrey:"442g9",dodgerblue:"16xof",firebrick:"6y7tu",floralwhite:"9zkds",forestgreen:"1cisi",fuchsia:"9y70f",gainsboro:"8m8kc",ghostwhite:"9pq0v",goldenrod:"8j4f4",gold:"9zda8",gray:"50i2o",green:"pa8",greenyellow:"6senj",grey:"50i2o",honeydew:"9eiuo",hotpink:"9yrp0",indianred:"80gnw",indigo:"2xcoy",ivory:"9zldc",khaki:"9edu4",lavenderblush:"9ziet",lavender:"90c8q",lawngreen:"4vk74",lemonchiffon:"9zkct",lightblue:"6s73a",lightcoral:"9dtog",lightcyan:"8s1rz",lightgoldenrodyellow:"9sjiq",lightgray:"89jo3",lightgreen:"5nkwg",lightgrey:"89jo3",lightpink:"9z6wx",lightsalmon:"9z2ii",lightseagreen:"19xgq",lightskyblue:"5arju",lightslategray:"4nwk9",lightslategrey:"4nwk9",lightsteelblue:"6wau6",lightyellow:"9zlcw",lime:"1edc",limegreen:"1zcxe",linen:"9shk6",magenta:"9y70f",maroon:"4zsow",mediumaquamarine:"40eju",mediumblue:"5p",mediumorchid:"79qkz",mediumpurple:"5r3rv",mediumseagreen:"2d9ip",mediumslateblue:"4tcku",mediumspringgreen:"1di2",mediumturquoise:"2uabw",mediumvioletred:"7rn9h",midnightblue:"z980",mintcream:"9ljp6",mistyrose:"9zg0x",moccasin:"9zfzp",navajowhite:"9zest",navy:"3k",oldlace:"9wq92",olive:"50hz4",olivedrab:"472ub",orange:"9z3eo",orangered:"9ykg0",orchid:"8iu3a",palegoldenrod:"9bl4a",palegreen:"5yw0o",paleturquoise:"6v4ku",palevioletred:"8k8lv",papayawhip:"9zi6t",peachpuff:"9ze0p",peru:"80oqn",pink:"9z8wb",plum:"8nba5",powderblue:"6wgdi",purple:"4zssg",rebeccapurple:"3zk49",red:"9y6tc",rosybrown:"7cv4f",royalblue:"2jvtt",saddlebrown:"5fmkz",salmon:"9rvci",sandybrown:"9jn1c",seagreen:"1tdnb",seashell:"9zje6",sienna:"6973h",silver:"7ir40",skyblue:"5arjf",slateblue:"45e4t",slategray:"4e100",slategrey:"4e100",snow:"9zke2",springgreen:"1egv",steelblue:"2r1kk",tan:"87yx8",teal:"pds",thistle:"8ggk8",tomato:"9yqfb",turquoise:"2j4r4",violet:"9b10u",wheat:"9ld4j",white:"9zldr",whitesmoke:"9lhpx",yellow:"9zl6o",yellowgreen:"61fzm"};var Dt=Math.round;function Bx(e,t){let o=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],n=o.map(r=>parseFloat(r));for(let r=0;r<3;r+=1)n[r]=t(n[r]||0,o[r]||"",r);return o[3]?n[3]=o[3].includes("%")?n[3]/100:n[3]:n[3]=1,n}var K0=(e,t,o)=>o===0?e:e/100;function Ys(e,t){let o=t||255;return e>o?o:e<0?0:e}var Ke=class e{isValid=!0;r=0;g=0;b=0;a=1;_h;_hsl_s;_hsv_s;_l;_v;_max;_min;_brightness;constructor(t){function o(n){return n[0]in t&&n[1]in t&&n[2]in t}if(t)if(typeof t=="string"){let r=function(i){return n.startsWith(i)},n=t.trim();if(/^#?[A-F\d]{3,8}$/i.test(n))this.fromHexString(n);else if(r("rgb"))this.fromRgbString(n);else if(r("hsl"))this.fromHslString(n);else if(r("hsv")||r("hsb"))this.fromHsvString(n);else{let i=X0[n.toLowerCase()];i&&this.fromHexString(parseInt(i,36).toString(16).padStart(6,"0"))}}else if(t instanceof e)this.r=t.r,this.g=t.g,this.b=t.b,this.a=t.a,this._h=t._h,this._hsl_s=t._hsl_s,this._hsv_s=t._hsv_s,this._l=t._l,this._v=t._v;else if(o("rgb"))this.r=Ys(t.r),this.g=Ys(t.g),this.b=Ys(t.b),this.a=typeof t.a=="number"?Ys(t.a,1):1;else if(o("hsl"))this.fromHsl(t);else if(o("hsv"))this.fromHsv(t);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(t))}setR(t){return this._sc("r",t)}setG(t){return this._sc("g",t)}setB(t){return this._sc("b",t)}setA(t){return this._sc("a",t,1)}setHue(t){let o=this.toHsv();return o.h=t,this._c(o)}getLuminance(){function t(i){let a=i/255;return a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4)}let o=t(this.r),n=t(this.g),r=t(this.b);return .2126*o+.7152*n+.0722*r}getHue(){if(typeof this._h>"u"){let t=this.getMax()-this.getMin();t===0?this._h=0:this._h=Dt(60*(this.r===this.getMax()?(this.g-this.b)/t+(this.g<this.b?6:0):this.g===this.getMax()?(this.b-this.r)/t+2:(this.r-this.g)/t+4))}return this._h}getSaturation(){return this.getHSVSaturation()}getHSVSaturation(){if(typeof this._hsv_s>"u"){let t=this.getMax()-this.getMin();t===0?this._hsv_s=0:this._hsv_s=t/this.getMax()}return this._hsv_s}getHSLSaturation(){if(typeof this._hsl_s>"u"){let t=this.getMax()-this.getMin();if(t===0)this._hsl_s=0;else{let o=this.getLightness();this._hsl_s=t/255/(1-Math.abs(2*o-1))}}return this._hsl_s}getLightness(){return typeof this._l>"u"&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return typeof this._v>"u"&&(this._v=this.getMax()/255),this._v}getBrightness(){return typeof this._brightness>"u"&&(this._brightness=(this.r*299+this.g*587+this.b*114)/1e3),this._brightness}darken(t=10){let o=this.getHue(),n=this.getSaturation(),r=this.getLightness()-t/100;return r<0&&(r=0),this._c({h:o,s:n,l:r,a:this.a})}lighten(t=10){let o=this.getHue(),n=this.getSaturation(),r=this.getLightness()+t/100;return r>1&&(r=1),this._c({h:o,s:n,l:r,a:this.a})}mix(t,o=50){let n=this._c(t),r=o/100,i=s=>(n[s]-this[s])*r+this[s],a={r:Dt(i("r")),g:Dt(i("g")),b:Dt(i("b")),a:Dt(i("a")*100)/100};return this._c(a)}tint(t=10){return this.mix({r:255,g:255,b:255,a:1},t)}shade(t=10){return this.mix({r:0,g:0,b:0,a:1},t)}onBackground(t){let o=this._c(t),n=this.a+o.a*(1-this.a),r=i=>Dt((this[i]*this.a+o[i]*o.a*(1-this.a))/n);return this._c({r:r("r"),g:r("g"),b:r("b"),a:n})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(t){return this.r===t.r&&this.g===t.g&&this.b===t.b&&this.a===t.a}clone(){return this._c(this)}toHexString(){let t="#",o=(this.r||0).toString(16);t+=o.length===2?o:"0"+o;let n=(this.g||0).toString(16);t+=n.length===2?n:"0"+n;let r=(this.b||0).toString(16);if(t+=r.length===2?r:"0"+r,typeof this.a=="number"&&this.a>=0&&this.a<1){let i=Dt(this.a*255).toString(16);t+=i.length===2?i:"0"+i}return t}toHsl(){return{h:this.getHue(),s:this.getHSLSaturation(),l:this.getLightness(),a:this.a}}toHslString(){let t=this.getHue(),o=Dt(this.getHSLSaturation()*100),n=Dt(this.getLightness()*100);return this.a!==1?`hsla(${t},${o}%,${n}%,${this.a})`:`hsl(${t},${o}%,${n}%)`}toHsv(){return{h:this.getHue(),s:this.getHSVSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(t,o,n){let r=this.clone();return r[t]=Ys(o,n),r}_c(t){return new this.constructor(t)}getMax(){return typeof this._max>"u"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min>"u"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(t){let o=t.replace("#","");function n(r,i){return parseInt(o[r]+o[i||r],16)}o.length<6?(this.r=n(0),this.g=n(1),this.b=n(2),this.a=o[3]?n(3)/255:1):(this.r=n(0,1),this.g=n(2,3),this.b=n(4,5),this.a=o[6]?n(6,7)/255:1)}fromHsl({h:t,s:o,l:n,a:r}){let i=(t%360+360)%360;if(this._h=i,this._hsl_s=o,this._l=n,this.a=typeof r=="number"?r:1,o<=0){let m=Dt(n*255);this.r=m,this.g=m,this.b=m;return}let a=0,s=0,l=0,c=i/60,u=(1-Math.abs(2*n-1))*o,d=u*(1-Math.abs(c%2-1));c>=0&&c<1?(a=u,s=d):c>=1&&c<2?(a=d,s=u):c>=2&&c<3?(s=u,l=d):c>=3&&c<4?(s=d,l=u):c>=4&&c<5?(a=d,l=u):c>=5&&c<6&&(a=u,l=d);let f=n-u/2;this.r=Dt((a+f)*255),this.g=Dt((s+f)*255),this.b=Dt((l+f)*255)}fromHsv({h:t,s:o,v:n,a:r}){let i=(t%360+360)%360;this._h=i,this._hsv_s=o,this._v=n,this.a=typeof r=="number"?r:1;let a=Dt(n*255);if(this.r=a,this.g=a,this.b=a,o<=0)return;let s=i/60,l=Math.floor(s),c=s-l,u=Dt(n*(1-o)*255),d=Dt(n*(1-o*c)*255),f=Dt(n*(1-o*(1-c))*255);switch(l){case 0:this.g=f,this.b=u;break;case 1:this.r=d,this.b=u;break;case 2:this.r=u,this.b=f;break;case 3:this.r=u,this.g=d;break;case 4:this.r=f,this.g=u;break;default:this.g=u,this.b=d;break}}fromHsvString(t){let o=Bx(t,K0);this.fromHsv({h:o[0],s:o[1],v:o[2],a:o[3]})}fromHslString(t){let o=Bx(t,K0);this.fromHsl({h:o[0],s:o[1],l:o[2],a:o[3]})}fromRgbString(t){let o=Bx(t,(n,r)=>r.includes("%")?Dt(n/100*255):n);this.r=o[0],this.g=o[1],this.b=o[2],this.a=o[3]}};var cd=2,J0=.16,eA=.05,tA=.05,rA=.15,tE=5,rE=4,oA=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function Y0(e,t,o){let n;return Math.round(e.h)>=60&&Math.round(e.h)<=240?n=o?Math.round(e.h)-cd*t:Math.round(e.h)+cd*t:n=o?Math.round(e.h)+cd*t:Math.round(e.h)-cd*t,n<0?n+=360:n>=360&&(n-=360),n}function Q0(e,t,o){if(e.h===0&&e.s===0)return e.s;let n;return o?n=e.s-J0*t:t===rE?n=e.s+J0:n=e.s+eA*t,n>1&&(n=1),o&&t===tE&&n>.1&&(n=.1),n<.06&&(n=.06),Math.round(n*100)/100}function eE(e,t,o){let n;return o?n=e.v+tA*t:n=e.v-rA*t,n=Math.max(0,Math.min(1,n)),Math.round(n*100)/100}function Co(e,t={}){let o=[],n=new Ke(e),r=n.toHsv();for(let i=tE;i>0;i-=1){let a=new Ke({h:Y0(r,i,!0),s:Q0(r,i,!0),v:eE(r,i,!0)});o.push(a)}o.push(n);for(let i=1;i<=rE;i+=1){let a=new Ke({h:Y0(r,i),s:Q0(r,i),v:eE(r,i)});o.push(a)}return t.theme==="dark"?oA.map(({index:i,amount:a})=>new Ke(t.backgroundColor||"#141414").mix(o[i],a).toHexString()):o.map(i=>i.toHexString())}var ld={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},Hx=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];Hx.primary=Hx[5];var Zx=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];Zx.primary=Zx[5];var Wx=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];Wx.primary=Wx[5];var Gx=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];Gx.primary=Gx[5];var qx=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];qx.primary=qx[5];var Xx=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];Xx.primary=Xx[5];var Kx=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];Kx.primary=Kx[5];var Jx=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];Jx.primary=Jx[5];var Yx=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];Yx.primary=Yx[5];var Qx=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];Qx.primary=Qx[5];var ey=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];ey.primary=ey[5];var ty=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];ty.primary=ty[5];var ry=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];ry.primary=ry[5];var ud={red:Hx,volcano:Zx,orange:Wx,gold:Gx,yellow:qx,lime:Xx,green:Kx,cyan:Jx,blue:Yx,geekblue:Qx,purple:ey,magenta:ty,grey:ry},oE=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];oE.primary=oE[5];var nE=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];nE.primary=nE[5];var iE=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];iE.primary=iE[5];var aE=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];aE.primary=aE[5];var sE=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];sE.primary=sE[5];var cE=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];cE.primary=cE[5];var lE=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];lE.primary=lE[5];var uE=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];uE.primary=uE[5];var dE=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];dE.primary=dE[5];var fE=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];fE.primary=fE[5];var mE=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];mE.primary=mE[5];var pE=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];pE.primary=pE[5];var gE=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];gE.primary=gE[5];var It=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"];function Qs(e,{generateColorPalettes:t,generateNeutralColorPalettes:o}){let{colorSuccess:n,colorWarning:r,colorError:i,colorInfo:a,colorPrimary:s,colorBgBase:l,colorTextBase:c}=e,u=t(s),d=t(n),f=t(r),m=t(i),p=t(a),g=o(l,c),x=e.colorLink||e.colorInfo,h=t(x),b=new Ke(m[1]).mix(new Ke(m[3]),50).toHexString(),v={};return It.forEach($=>{let S=e[$];if(S){let C=t(S);v[`${$}Hover`]=C[5],v[`${$}Active`]=C[7]}}),{...g,colorPrimaryBg:u[1],colorPrimaryBgHover:u[2],colorPrimaryBorder:u[3],colorPrimaryBorderHover:u[4],colorPrimaryHover:u[5],colorPrimary:u[6],colorPrimaryActive:u[7],colorPrimaryTextHover:u[8],colorPrimaryText:u[9],colorPrimaryTextActive:u[10],colorSuccessBg:d[1],colorSuccessBgHover:d[2],colorSuccessBorder:d[3],colorSuccessBorderHover:d[4],colorSuccessHover:d[4],colorSuccess:d[6],colorSuccessActive:d[7],colorSuccessTextHover:d[8],colorSuccessText:d[9],colorSuccessTextActive:d[10],colorErrorBg:m[1],colorErrorBgHover:m[2],colorErrorBgFilledHover:b,colorErrorBgActive:m[3],colorErrorBorder:m[3],colorErrorBorderHover:m[4],colorErrorHover:m[5],colorError:m[6],colorErrorActive:m[7],colorErrorTextHover:m[8],colorErrorText:m[9],colorErrorTextActive:m[10],colorWarningBg:f[1],colorWarningBgHover:f[2],colorWarningBorder:f[3],colorWarningBorderHover:f[4],colorWarningHover:f[4],colorWarning:f[6],colorWarningActive:f[7],colorWarningTextHover:f[8],colorWarningText:f[9],colorWarningTextActive:f[10],colorInfoBg:p[1],colorInfoBgHover:p[2],colorInfoBorder:p[3],colorInfoBorderHover:p[4],colorInfoHover:p[4],colorInfo:p[6],colorInfoActive:p[7],colorInfoTextHover:p[8],colorInfoText:p[9],colorInfoTextActive:p[10],colorLinkHover:h[4],colorLink:h[6],colorLinkActive:h[7],...v,colorBgMask:new Ke("#000").setA(.45).toRgbString(),colorWhite:"#fff"}}var nA=e=>{let t=e,o=e,n=e,r=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?o=4:e<8&&e>=7?o=5:e<14&&e>=8?o=6:e<16&&e>=14?o=7:e>=16&&(o=8),e<6&&e>=2?n=1:e>=6&&(n=2),e>4&&e<8?r=4:e>=8&&(r=6),{borderRadius:e,borderRadiusXS:n,borderRadiusSM:o,borderRadiusLG:t,borderRadiusOuter:r}},hE=nA;function oy(e){let{motionUnit:t,motionBase:o,borderRadius:n,lineWidth:r}=e;return{motionDurationFast:`${(o+t).toFixed(1)}s`,motionDurationMid:`${(o+t*2).toFixed(1)}s`,motionDurationSlow:`${(o+t*3).toFixed(1)}s`,lineWidthBold:r+1,...hE(n)}}var iA=e=>{let{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}},dd=iA;function wa(e){return(e+8)/e}function ny(e){let t=Array.from({length:10}).map((o,n)=>{let r=n-1,i=e*Math.E**(r/5),a=n>1?Math.floor(i):Math.ceil(i);return Math.floor(a/2)*2});return t[1]=e,t.map(o=>({size:o,lineHeight:wa(o)}))}var aA=e=>{let t=ny(e),o=t.map(u=>u.size),n=t.map(u=>u.lineHeight),r=o[1],i=o[0],a=o[2],s=n[1],l=n[0],c=n[2];return{fontSizeSM:i,fontSize:r,fontSizeLG:a,fontSizeXL:o[3],fontSizeHeading1:o[6],fontSizeHeading2:o[5],fontSizeHeading3:o[4],fontSizeHeading4:o[3],fontSizeHeading5:o[2],lineHeight:s,lineHeightLG:c,lineHeightSM:l,fontHeight:Math.round(s*r),fontHeightLG:Math.round(c*a),fontHeightSM:Math.round(l*i),lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}},fd=aA;function iy(e){let{sizeUnit:t,sizeStep:o}=e;return{sizeXXL:t*(o+8),sizeXL:t*(o+4),sizeLG:t*(o+2),sizeMD:t*(o+1),sizeMS:t*o,size:t*o,sizeSM:t*(o-1),sizeXS:t*(o-2),sizeXXS:t*(o-3)}}var Dr=(e,t)=>new Ke(e).setA(t).toRgbString(),ui=(e,t)=>new Ke(e).darken(t).toHexString();var vE=e=>{let t=Co(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},xE=(e,t,o)=>{let n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorShadow:o||"#000",colorText:Dr(r,.88),colorTextSecondary:Dr(r,.65),colorTextTertiary:Dr(r,.45),colorTextQuaternary:Dr(r,.25),colorFill:Dr(r,.15),colorFillSecondary:Dr(r,.06),colorFillTertiary:Dr(r,.04),colorFillQuaternary:Dr(r,.02),colorBgSolid:Dr(r,1),colorBgSolidHover:Dr(r,.75),colorBgSolidActive:Dr(r,.95),colorBgLayout:ui(n,4),colorBgContainer:ui(n,0),colorBgElevated:ui(n,0),colorBgSpotlight:Dr(r,.85),colorBgBlur:"transparent",colorBorder:ui(n,15),colorBorderDisabled:ui(n,15),colorBorderSecondary:ui(n,6)}};function Uo(e){ld.pink=ld.magenta,ud.pink=ud.magenta;let t=Object.keys(Js).map(o=>{let n=e[o]===ld[o]?ud[o]:Co(e[o]);return Array.from({length:10},()=>1).reduce((r,i,a)=>(r[`${o}-${a+1}`]=n[a],r[`${o}${a+1}`]=n[a],r),{})}).reduce((o,n)=>(o={...o,...n},o),{});return{...e,...t,...Qs(e,{generateColorPalettes:vE,generateNeutralColorPalettes:xE}),...fd(e.fontSize),...iy(e),...dd(e),...oy(e)}}var sA=So(Uo),di=sA;var Cn={token:oo,override:{override:oo},hashed:!0},fi=_.createContext(Cn);var cA=be(null),md=cA;var yE=!1;function ay(e){return typeof e=="boolean"&&(yE=e),yE}var bE=[];function sy(e,t){let[o]=W(()=>$t()?document.createElement("div"):null),n=k(!1),r=M(md),[i,a]=W(bE),s=r||(n.current?void 0:u=>{a(d=>[u,...d])});function l(){o.parentElement||document.body.appendChild(o),n.current=!0}function c(){o.parentElement?.removeChild(o),n.current=!1}return et(()=>(e?r?r(l):l():c(),c),[e]),et(()=>{i.length&&(i.forEach(u=>u()),a(bE))},[i]),[o,s]}function $E(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var lA=`rc-util-locker-${Date.now()}`,SE=0;function cy(e){let t=!!e,[o]=W(()=>(SE+=1,`${lA}_${SE}`));et(()=>{if(t){let n=gx(document.body).width,r=$E();Vs(`
97
+ html body {
98
+ overflow-y: hidden;
99
+ ${r?`width: calc(100% - ${n}px);`:""}
100
+ }`,o)}else ca(o);return()=>{ca(o)}},[t,o])}var mi=[],uA=200,CE=0;var _E=e=>{if(e.key==="Escape"&&!e.isComposing){if(Date.now()-CE<uA)return;let o=mi.length;for(let n=o-1;n>=0;n-=1)mi[n].onEsc({top:n===o-1,event:e})}},wE=()=>{CE=Date.now()};function dA(){window.addEventListener("keydown",_E),window.addEventListener("compositionend",wE)}function fA(){mi.length===0&&(window.removeEventListener("keydown",_E),window.removeEventListener("compositionend",wE))}function ly(e,t){let o=Yr(),n=xe(t),r=()=>{mi.find(a=>a.id===o)||mi.push({id:o,onEsc:n})},i=()=>{mi=mi.filter(a=>a.id!==o)};A(()=>{e?r():e||i()},[e]),K(()=>{if(e)return r(),dA(),()=>{i(),fA()}},[e])}var EE=e=>e===!1?!1:!$t()||!e?null:typeof e=="string"?document.querySelector(e):typeof e=="function"?e():e,mA=re((e,t)=>{let{open:o,autoLock:n,getContainer:r,debug:i,autoDestroy:a=!0,children:s,onEsc:l}=e,[c,u]=W(o),d=c||o;K(()=>{(a||o)&&u(o)},[o,a]);let[f,m]=W(()=>EE(r));K(()=>{let S=EE(r);m(()=>S??null)});let[p,g]=sy(d&&!f,i),x=f??p;cy(n&&o&&$t()&&(x===p||x===document.body)),ly(o,l);let h=null;s&&gn(s)&&t&&(h=Qr(s));let b=Or(h,t);if(!d||!$t()||f===void 0)return null;let v=x===!1||ay(),$=s;return t&&($=kt(s,{ref:b})),y(md.Provider,{value:g},v?$:Du($,x))}),RE=mA;var pi=RE;var pd=be(null);function IE({children:e,onBatchResize:t}){let o=k(0),n=k([]),r=M(pd),i=ft((a,s,l)=>{o.current+=1;let c=o.current;n.current.push({size:a,element:s,data:l}),Promise.resolve().then(()=>{c===o.current&&(t?.(n.current),n.current=[])}),r?.(a,s,l)},[t,r]);return y(pd.Provider,{value:i},e)}var _n=new Map;function pA(e){e.forEach(t=>{let{target:o}=t;_n.get(o)?.forEach(n=>n(o))})}var uy;function PE(){return uy||(uy=new ResizeObserver(pA)),uy}function NE(e,t){_n.has(e)||(_n.set(e,new Set),PE().observe(e)),_n.get(e).add(t)}function kE(e,t){_n.has(e)&&(_n.get(e).delete(t),_n.get(e).size||(PE().unobserve(e),_n.delete(e)))}function Ea(e,t,o,n){let r=k({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),i=xe(l=>{let{width:c,height:u}=l.getBoundingClientRect(),{offsetWidth:d,offsetHeight:f}=l,m=Math.floor(c),p=Math.floor(u);if(r.current.width!==m||r.current.height!==p||r.current.offsetWidth!==d||r.current.offsetHeight!==f){let g={width:m,height:p,offsetWidth:d,offsetHeight:f};r.current=g;let x=d===Math.round(c)?c:d,h=f===Math.round(u)?u:f,b={...g,offsetWidth:x,offsetHeight:h};n?.(b,l),Promise.resolve().then(()=>{o?.(b,l)})}}),a=typeof t=="function",s=k(0);K(()=>{let l=a?t():t;return l&&e?NE(l,i):e&&a&&(s.current+=1),()=>{l&&kE(l,i)}},[e,a?s.current:t])}function gA(e,t){let{children:o,disabled:n,onResize:r,data:i}=e,a=k(null),s=M(pd),l=typeof o=="function",c=l?o(a):o,u=!l&&Vr(c)&&gn(c),d=u?Qr(c):null,f=Or(d,a),m=()=>Yn(a.current);return Te(t,()=>m()),Ea(!n,m,r,(p,g)=>{s?.(p,g,i)}),u?kt(c,{ref:f}):c}var hA=re(gA),zE=hA;function dy(){return dy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},dy.apply(this,arguments)}var vA="rc-observer-key";function xA(e,t){let{children:o}=e;return(typeof o=="function"?[o]:wr(o)).map((r,i)=>{let a=r?.key||`${vA}-${i}`;return y(zE,dy({},e,{key:a,ref:i===0?t:void 0}),r)})}var TE=re(xA);TE.Collection=IE;var gd=TE;var fy=be({}),yA=e=>{let{children:t,...o}=e,n=A(()=>({motion:o.motion}),[o.motion]);return y(fy.Provider,{value:n},t)},my=yA;var Gr="none",ec="appear",tc="enter",rc="leave",py="none",Rr="prepare",_o="start",Vo="active";var hd="prepared";function OE(e,t){let o={};return o[e.toLowerCase()]=t.toLowerCase(),o[`Webkit${e}`]=`webkit${t}`,o[`Moz${e}`]=`moz${t}`,o[`ms${e}`]=`MS${t}`,o[`O${e}`]=`o${t.toLowerCase()}`,o}function bA(e,t){let o={animationend:OE("Animation","AnimationEnd"),transitionend:OE("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete o.animationend.animation,"TransitionEvent"in t||delete o.transitionend.transition),o}var $A=bA($t(),typeof window<"u"?window:{}),AE={};$t()&&({style:AE}=document.createElement("div"));var vd={};function DE(e){if(vd[e])return vd[e];let t=$A[e];if(t){let o=Object.keys(t),n=o.length;for(let r=0;r<n;r+=1){let i=o[r];if(Object.prototype.hasOwnProperty.call(t,i)&&i in AE)return vd[e]=t[i],vd[e]}}return""}var ME=DE("animationend"),jE=DE("transitionend"),xd=!!(ME&&jE),gy=ME||"animationend",hy=jE||"transitionend";function vy(e,t){if(!e)return null;if(typeof e=="object"){let o=t.replace(/-\w/g,n=>n[1].toUpperCase());return e[o]}return`${e}-${t}`}var LE=(e=>{let t=k();function o(r){r&&(r.removeEventListener(hy,e),r.removeEventListener(gy,e))}function n(r){t.current&&t.current!==r&&o(t.current),r&&r!==t.current&&(r.addEventListener(hy,e),r.addEventListener(gy,e),t.current=r)}return K(()=>()=>{o(t.current),t.current=null},[]),[n,o]});var SA=$t()?os:K,yd=SA;var FE=(()=>{let e=k(null);function t(){St.cancel(e.current)}function o(n,r=2){t();let i=St(()=>{r<=1?n({isCanceled:()=>i!==e.current}):o(n,r-1)});e.current=i}return K(()=>()=>{t()},[]),[o,t]});var CA=[Rr,_o,Vo,"end"],_A=[Rr,hd],yy=!1,UE=!0;function bd(e){return e===Vo||e==="end"}var VE=((e,t,o)=>{let[n,r]=sa(py),[i,a]=FE();function s(){r(Rr,!0)}let l=t?_A:CA;return yd(()=>{if(n!==py&&n!=="end"){let c=l.indexOf(n),u=l[c+1],d=o(n);d===yy?r(u,!0):u&&i(f=>{function m(){f.isCanceled()||r(u,!0)}d===!0?m():Promise.resolve(d).then(m)})}},[e,n]),K(()=>()=>{a()},[]),[s,n]});function by(e,t,o,{motionEnter:n=!0,motionAppear:r=!0,motionLeave:i=!0,motionDeadline:a,motionLeaveImmediately:s,onAppearPrepare:l,onEnterPrepare:c,onLeavePrepare:u,onAppearStart:d,onEnterStart:f,onLeaveStart:m,onAppearActive:p,onEnterActive:g,onLeaveActive:x,onAppearEnd:h,onEnterEnd:b,onLeaveEnd:v,onVisibleChanged:$}){let[S,C]=W(),[w,R]=tx(Gr),[N,O]=W([null,null]),P=w(),z=k(!1),D=k(null);function L(){return o()}let F=k(!1);function Z(){R(Gr),O([null,null])}let J=xe(ae=>{let le=w();if(le===Gr)return;let Se=L();if(ae&&!ae.deadline&&ae.target!==Se)return;let we=F.current,q;le===ec&&we?q=h?.(Se,ae):le===tc&&we?q=b?.(Se,ae):le===rc&&we&&(q=v?.(Se,ae)),we&&q!==!1&&Z()}),[G]=LE(J),ne=ae=>{switch(ae){case ec:return{[Rr]:l,[_o]:d,[Vo]:p};case tc:return{[Rr]:c,[_o]:f,[Vo]:g};case rc:return{[Rr]:u,[_o]:m,[Vo]:x};default:return{}}},Y=A(()=>ne(P),[P]),[Q,ee]=VE(P,!e,ae=>{if(ae===Rr){let le=Y[Rr];return le?le(L()):yy}return ae in Y&&O([Y[ae]?.(L(),null)||null,ae]),ae===Vo&&P!==Gr&&(G(L()),a>0&&(clearTimeout(D.current),D.current=setTimeout(()=>{J({deadline:!0})},a))),ae===hd&&Z(),UE}),se=bd(ee);F.current=se;let ce=k(null);yd(()=>{if(z.current&&ce.current===t)return;C(t);let ae=z.current;z.current=!0;let le;!ae&&t&&r&&(le=ec),ae&&t&&n&&(le=tc),(ae&&!t&&i||!ae&&s&&!t&&i)&&(le=rc);let Se=ne(le);le&&(e||Se[Rr])?(R(le),Q()):R(Gr),ce.current=t},[t]),K(()=>{(P===ec&&!r||P===tc&&!n||P===rc&&!i)&&R(Gr)},[r,n,i]),K(()=>()=>{z.current=!1,clearTimeout(D.current)},[]);let oe=k(!1);K(()=>{S&&(oe.current=!0),S!==void 0&&P===Gr&&((oe.current||S)&&$?.(S),oe.current=!0)},[S,P]);let de=N[0];Y[Rr]&&ee===_o&&(de={transition:"none",...de});let ve=N[1];return[w,ee,de,S??t,!z.current&&P===Gr&&e&&r?"NONE":ee===_o||ee===Vo?ve===ee:!0]}function $y(e){return e?.length<2}function BE(e){let t=e;typeof e=="object"&&({transitionSupport:t}=e);function o(r,i){return!!(r.motionName&&t&&i!==!1)}let n=re((r,i)=>{let{visible:a=!0,removeOnLeave:s=!0,forceRender:l,children:c,motionName:u,leavedClassName:d,eventProps:f}=r,{motion:m}=M(fy),p=o(r,m),g=k();function x(){return Yn(g.current)}let[h,b,v,$,S]=by(p,a,x,r),C=h(),w=k($);$&&(w.current=!0);let R=A(()=>{let P={};return Object.defineProperties(P,{nativeElement:{enumerable:!0,get:x},inMotion:{enumerable:!0,get:()=>()=>h()!==Gr},enableMotion:{enumerable:!0,get:()=>()=>p}}),P},[]);Te(i,()=>R,[]);let N=k(0);S&&(N.current+=1);let O=A(()=>{if(S==="NONE")return null;let P,z={...f,visible:a};if(!c)P=null;else if(C===Gr)$?P=c({...z},g):!s&&w.current&&d?P=c({...z,className:d},g):l||!s&&!d?P=c({...z,style:{display:"none"}},g):P=null;else{let D;b===Rr?D="prepare":bd(b)?D="active":b===_o&&(D="start");let L=vy(u,`${C}-${D}`);P=c({...z,className:E(vy(u,C),{[L]:L&&D,[u]:typeof u=="string"}),style:v},g)}return P},[N.current]);if($y(c)&&ix(O)){let P=Qr(O);if(P!==g)return kt(O,{ref:_r(P,g)})}return O});return n.displayName="CSSMotion",n}var $d=BE(xd);var Sd="keep",Cd="remove",wd="removed";function wA(e){let t;return e&&typeof e=="object"&&"key"in e?t=e:t={key:e},{...t,key:String(t.key)}}function _d(e=[]){return e.map(wA)}function HE(e=[],t=[]){let o=[],n=0,r=t.length,i=_d(e),a=_d(t);i.forEach(c=>{let u=!1;for(let d=n;d<r;d+=1){let f=a[d];if(f.key===c.key){n<d&&(o=o.concat(a.slice(n,d).map(m=>({...m,status:"add"}))),n=d),o.push({...f,status:Sd}),n+=1,u=!0;break}}u||o.push({...c,status:Cd})}),n<r&&(o=o.concat(a.slice(n).map(c=>({...c,status:"add"}))));let s={};return o.forEach(({key:c})=>{s[c]=(s[c]||0)+1}),Object.keys(s).filter(c=>s[c]>1).forEach(c=>{o=o.filter(({key:u,status:d})=>u!==c||d!==Cd),o.forEach(u=>{u.key===c&&(u.status=Sd)})}),o}function Sy(){return Sy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},Sy.apply(this,arguments)}var RA=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function IA(e,t=$d){class o extends Ff{static defaultProps={component:"div"};state={keyEntities:[]};static getDerivedStateFromProps({keys:r},{keyEntities:i}){let a=_d(r);return{keyEntities:HE(i,a).filter(l=>{let c=i.find(({key:u})=>l.key===u);return!(c&&c.status===wd&&l.status===Cd)})}}removeKey=r=>{this.setState(i=>({keyEntities:i.keyEntities.map(s=>s.key!==r?s:{...s,status:wd})}),()=>{let{keyEntities:i}=this.state;i.filter(({status:s})=>s!==wd).length===0&&this.props.onAllRemoved&&this.props.onAllRemoved()})};render(){let{keyEntities:r}=this.state,{component:i,children:a,onVisibleChanged:s,onAllRemoved:l,...c}=this.props,u=i||Ct,d={};return RA.forEach(f=>{d[f]=c[f],delete c[f]}),delete c.keys,y(u,c,r.map(({status:f,...m},p)=>{let g=f==="add"||f===Sd;return y(t,Sy({},d,{key:m.key,visible:g,eventProps:m,onVisibleChanged:x=>{s?.(x,{key:m.key}),x||this.removeKey(m.key)}}),$y(a)?x=>a({...x,index:p}):(x,h)=>a({...x,index:p},h))}))}}return o}var Cy=IA(xd);var tr=$d;function _y(e){let{prefixCls:t,align:o,arrow:n,arrowPos:r}=e,{className:i,content:a,style:s}=n||{},{x:l=0,y:c=0}=r,u=k(null);if(!o||!o.points)return null;let d={position:"absolute"};if(o.autoArrow!==!1){let f=o.points[0],m=o.points[1],p=f[0],g=f[1],x=m[0],h=m[1];p===x||!["t","b"].includes(p)?d.top=c:p==="t"?d.top=0:d.bottom=0,g===h||!["l","r"].includes(g)?d.left=l:g==="l"?d.left=0:d.right=0}return y("div",{ref:u,className:E(`${t}-arrow`,i),style:{...d,...s}},a)}function wy(){return wy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},wy.apply(this,arguments)}function Ey(e){let{prefixCls:t,open:o,zIndex:n,mask:r,motion:i,mobile:a}=e;return r?y(tr,wy({},i,{motionAppear:!0,visible:o,removeOnLeave:!0}),({className:s})=>y("div",{style:{zIndex:n},className:E(`${t}-mask`,a&&`${t}-mobile-mask`,s)})):null}var PA=rn(({children:e})=>e,(e,t)=>t.cache),ZE=PA;function oc(e,t,o,n,r,i,a,s){let l="auto",c=e?{}:{left:"-1000vw",top:"-1000vh",right:l,bottom:l};if(!e&&(t||!o)){let{points:u}=n,d=n.dynamicInset||n._experimental?.dynamicInset,f=d&&u[0][1]==="r",m=d&&u[0][0]==="b";f?(c.right=r,c.left=l):(c.left=a,c.right=l),m?(c.bottom=i,c.top=l):(c.top=s,c.bottom=l)}return c}function Ry(){return Ry=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},Ry.apply(this,arguments)}var NA=re((e,t)=>{let{onEsc:o,popup:n,className:r,prefixCls:i,style:a,target:s,onVisibleChanged:l,open:c,keepDom:u,fresh:d,onClick:f,mask:m,arrow:p,arrowPos:g,align:x,motion:h,maskMotion:b,mobile:v,forceRender:$,getPopupContainer:S,autoDestroy:C,portal:w,children:R,zIndex:N,onMouseEnter:O,onMouseLeave:P,onPointerEnter:z,onPointerDownCapture:D,ready:L,offsetX:F,offsetY:Z,offsetR:J,offsetB:G,onAlign:ne,onPrepare:Y,onResize:Q,stretch:ee,targetWidth:se,targetHeight:ce}=e,oe=typeof n=="function"?n():n,de=c||u,ve=!!v,[ae,le,Se]=A(()=>v?[v.mask,v.maskMotion,v.motion]:[m,b,h],[v,m,b,h]),we=S?.length>0,[q,ke]=W(!S||!we);et(()=>{!q&&we&&s&&ke(!0)},[q,we,s]);let fe=xe((ue,pe)=>{Q?.(ue,pe),ne()}),me=oc(ve,L,c,x,J,G,F,Z);if(!q)return null;let Ce={};return ee&&(ee.includes("height")&&ce?Ce.height=ce:ee.includes("minHeight")&&ce&&(Ce.minHeight=ce),ee.includes("width")&&se?Ce.width=se:ee.includes("minWidth")&&se&&(Ce.minWidth=se)),c||(Ce.pointerEvents="none"),y(w,{open:$||de,getContainer:S&&(()=>S(s)),autoDestroy:C,onEsc:o},y(Ey,{prefixCls:i,open:c,zIndex:N,mask:ae,motion:le,mobile:ve}),y(gd,{onResize:fe,disabled:!c},ue=>y(tr,Ry({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:$,leavedClassName:`${i}-hidden`},Se,{onAppearPrepare:Y,onEnterPrepare:Y,visible:c,onVisibleChanged:pe=>{h?.onVisibleChanged?.(pe),l(pe)}}),({className:pe,style:Me},at)=>{let Tt=E(i,pe,r,{[`${i}-mobile`]:ve});return y("div",{ref:_r(ue,t,at),className:Tt,style:{"--arrow-x":`${g.x||0}px`,"--arrow-y":`${g.y||0}px`,...me,...Ce,...Me,boxSizing:"border-box",zIndex:N,...a},onMouseEnter:O,onMouseLeave:P,onPointerEnter:z,onClick:f,onPointerDownCapture:D},p&&y(_y,{prefixCls:i,arrow:p,arrowPos:g,align:x}),y(ZE,{cache:!c&&!d},oe))})),R)}),Ed=NA;var kA=be(null),Ra=kA,Rd=be(null);function WE(e){return e?Array.isArray(e)?e:[e]:[]}function Iy(e,t,o){return A(()=>{let n=WE(t??e),r=WE(o??e),i=new Set(n),a=new Set(r);return i.has("hover")&&!i.has("click")&&i.add("touch"),a.has("hover")&&!a.has("click")&&a.add("touch"),[i,a]},[e,t,o])}function zA(e=[],t=[],o){let n=(r,i)=>r[i]||"";return o?n(e,0)===n(t,0):n(e,0)===n(t,0)&&n(e,1)===n(t,1)}function Id(e,t,o,n){let{points:r}=o,i=Object.keys(e);for(let a=0;a<i.length;a+=1){let s=i[a];if(zA(e[s]?.points,r,n))return`${t}-placement-${s}`}return""}function wn(e){return e.ownerDocument.defaultView}function ic(e){let t=[],o=e?.parentElement,n=["hidden","scroll","clip","auto"];for(;o;){let{overflowX:r,overflowY:i,overflow:a}=wn(o).getComputedStyle(o);[r,i,a].some(s=>n.includes(s))&&t.push(o),o=o.parentElement}return t}function Ia(e,t=1){return Number.isNaN(e)?t:e}function nc(e){return Ia(parseFloat(e),0)}function Py(e,t){let o={...e};return(t||[]).forEach(n=>{if(n instanceof HTMLBodyElement||n instanceof HTMLHtmlElement)return;let{overflow:r,overflowClipMargin:i,borderTopWidth:a,borderBottomWidth:s,borderLeftWidth:l,borderRightWidth:c}=wn(n).getComputedStyle(n),u=n.getBoundingClientRect(),{offsetHeight:d,clientHeight:f,offsetWidth:m,clientWidth:p}=n,g=nc(a),x=nc(s),h=nc(l),b=nc(c),v=Ia(Math.round(u.width/m*1e3)/1e3),$=Ia(Math.round(u.height/d*1e3)/1e3),S=(m-p-h-b)*v,C=(d-f-g-x)*$,w=g*$,R=x*$,N=h*v,O=b*v,P=0,z=0;if(r==="clip"){let J=nc(i);P=J*v,z=J*$}let D=u.x+N-P,L=u.y+w-z,F=D+u.width+2*P-N-O-S,Z=L+u.height+2*z-w-R-C;o.left=Math.max(o.left,D),o.top=Math.max(o.top,L),o.right=Math.min(o.right,F),o.bottom=Math.min(o.bottom,Z)}),o}function GE(e,t=0){let o=`${t}`,n=o.match(/^(.*)\%$/);return n?e*(parseFloat(n[1])/100):parseFloat(o)}function qE(e,t){let[o,n]=t||[];return[GE(e.width,o),GE(e.height,n)]}function XE(e=""){return[e[0],e[1]]}function Pa(e,t){let o=t[0],n=t[1],r,i;return o==="t"?i=e.y:o==="b"?i=e.y+e.height:i=e.y+e.height/2,n==="l"?r=e.x:n==="r"?r=e.x+e.width:r=e.x+e.width/2,{x:r,y:i}}function En(e,t){let o={t:"b",b:"t",l:"r",r:"l"},n=[...e];return n[t]=o[e[t]]||"c",n}function KE(e){return e.join("")}function ac(e,t,o,n,r,i,a,s){let[l,c]=W({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:r[n]||{}}),u=k(0),d=A(()=>!t||s?[]:ic(t),[t]),f=k({});e||(f.current={});let p=xe(()=>{if(t&&o&&e&&!s){let Je=function(ge,cr,Jt=Ce){let ts=F.x+ge,Fn=F.y+cr,Ic=ts+oe,Pc=Fn+ce,Nc=Math.max(ts,Jt.left),J$=Math.max(Fn,Jt.top),Mf=Math.min(Ic,Jt.right),jf=Math.min(Pc,Jt.bottom);return Math.max(0,(Mf-Nc)*(jf-J$))},_i=function(){Po=F.y+je,Xo=Po+ce,No=F.x+Ze,Ko=No+oe},h=t,b=h.ownerDocument,v=wn(h),{position:$}=v.getComputedStyle(h),S=h.style.left,C=h.style.top,w=h.style.right,R=h.style.bottom,N=h.style.overflow,O=h.style.overflowX,P=h.style.overflowY,z={...r[n],...i},D=b.createElement("div");h.parentElement?.appendChild(D),D.style.left=`${h.offsetLeft}px`,D.style.top=`${h.offsetTop}px`,D.style.position=$,D.style.height=`${h.offsetHeight}px`,D.style.width=`${h.offsetWidth}px`,h.style.left="0",h.style.top="0",h.style.right="auto",h.style.bottom="auto",h.style.overflow="hidden";let L;if(Array.isArray(o))L={x:o[0],y:o[1],width:0,height:0};else{let ge=o.getBoundingClientRect();ge.x=ge.x??ge.left,ge.y=ge.y??ge.top,L={x:ge.x,y:ge.y,width:ge.width,height:ge.height}}let F=h.getBoundingClientRect(),{height:Z,width:J}=v.getComputedStyle(h);F.x=F.x??F.left,F.y=F.y??F.top;let{clientWidth:G,clientHeight:ne,scrollWidth:Y,scrollHeight:Q,scrollTop:ee,scrollLeft:se}=b.documentElement,ce=F.height,oe=F.width,de=L.height,ve=L.width,ae={left:0,top:0,right:G,bottom:ne},le={left:-se,top:-ee,right:Y-se,bottom:Q-ee},{htmlRegion:Se}=z,we="visible",q="visibleFirst";Se!=="scroll"&&Se!==q&&(Se=we);let ke=Se===q,fe=Py(le,d),me=Py(ae,d),Ce=Se===we?me:fe,ue=ke?me:Ce;h.style.left="auto",h.style.top="auto",h.style.right="0",h.style.bottom="0";let pe=h.getBoundingClientRect();h.style.left=S,h.style.top=C,h.style.right=w,h.style.bottom=R,h.style.overflow=N,h.style.overflowX=O,h.style.overflowY=P,h.parentElement?.removeChild(D);let Me=Ia(Math.round(oe/parseFloat(J)*1e3)/1e3),at=Ia(Math.round(ce/parseFloat(Z)*1e3)/1e3);if(Me===0||at===0||vo(o)&&!Qn(o))return;let{offset:Tt,targetOffset:De}=z,[st,vt]=qE(F,Tt),[Lr,Ot]=qE(L,De);L.x-=Lr,L.y-=Ot;let[Fr,qt]=z.points||[],jt=XE(qt),ct=XE(Fr),xr=Pa(L,jt),He=Pa(F,ct),Nt={...z},Ve=[ct,jt],Ze=xr.x-He.x+st,je=xr.y-He.y+vt,xt=Je(Ze,je),wt=Je(Ze,je,me),lt=Pa(L,["t","l"]),Lt=Pa(F,["t","l"]),Xt=Pa(L,["b","r"]),yr=Pa(F,["b","r"]),Ft=z.overflow||{},{adjustX:Ut,adjustY:nr,shiftX:Oe,shiftY:Nr}=Ft,Ur=ge=>typeof ge=="boolean"?ge:ge>=0,Po,Xo,No,Ko;_i();let wi=Ur(nr),Ei=ct[0]===jt[0];if(wi&&ct[0]==="t"&&(Xo>ue.bottom||f.current.bt)){let ge=je;Ei?ge-=ce-de:ge=lt.y-yr.y-vt;let cr=Je(Ze,ge),Jt=Je(Ze,ge,me);cr>xt||cr===xt&&(!ke||Jt>=wt)?(f.current.bt=!0,je=ge,vt=-vt,Ve=[En(Ve[0],0),En(Ve[1],0)]):f.current.bt=!1}if(wi&&ct[0]==="b"&&(Po<ue.top||f.current.tb)){let ge=je;Ei?ge+=ce-de:ge=Xt.y-Lt.y-vt;let cr=Je(Ze,ge),Jt=Je(Ze,ge,me);cr>xt||cr===xt&&(!ke||Jt>=wt)?(f.current.tb=!0,je=ge,vt=-vt,Ve=[En(Ve[0],0),En(Ve[1],0)]):f.current.tb=!1}let Jo=Ur(Ut),ao=ct[1]===jt[1];if(Jo&&ct[1]==="l"&&(Ko>ue.right||f.current.rl)){let ge=Ze;ao?ge-=oe-ve:ge=lt.x-yr.x-st;let cr=Je(ge,je),Jt=Je(ge,je,me);cr>xt||cr===xt&&(!ke||Jt>=wt)?(f.current.rl=!0,Ze=ge,st=-st,Ve=[En(Ve[0],1),En(Ve[1],1)]):f.current.rl=!1}if(Jo&&ct[1]==="r"&&(No<ue.left||f.current.lr)){let ge=Ze;ao?ge+=oe-ve:ge=Xt.x-Lt.x-st;let cr=Je(ge,je),Jt=Je(ge,je,me);cr>xt||cr===xt&&(!ke||Jt>=wt)?(f.current.lr=!0,Ze=ge,st=-st,Ve=[En(Ve[0],1),En(Ve[1],1)]):f.current.lr=!1}Nt.points=[KE(Ve[0]),KE(Ve[1])],_i();let ir=Oe===!0?0:Oe;typeof ir=="number"&&(No<me.left&&(Ze-=No-me.left-st,L.x+ve<me.left+ir&&(Ze+=L.x-me.left+ve-ir)),Ko>me.right&&(Ze-=Ko-me.right-st,L.x>me.right-ir&&(Ze+=L.x-me.right+ir)));let Vt=Nr===!0?0:Nr;typeof Vt=="number"&&(Po<me.top&&(je-=Po-me.top-vt,L.y+de<me.top+Vt&&(je+=L.y-me.top+de-Vt)),Xo>me.bottom&&(je-=Xo-me.bottom-vt,L.y>me.bottom-Vt&&(je+=L.y-me.bottom+Vt)));let Kt=F.x+Ze,Yo=Kt+oe,ar=F.y+je,sr=ar+ce,Ln=L.x,Ya=Ln+ve,pt=L.y,Ri=pt+de,Qa=Math.max(Kt,Ln),yt=Math.min(Yo,Ya),so=(Qa+yt)/2-Kt,co=Math.max(ar,pt),Qo=Math.min(sr,Ri),en=(co+Qo)/2-ar;a?.(t,Nt);let uo=pe.right-F.x-(Ze+F.width),ko=pe.bottom-F.y-(je+F.height);Me===1&&(Ze=Math.floor(Ze),uo=Math.floor(uo)),at===1&&(je=Math.floor(je),ko=Math.floor(ko));let es={ready:!0,offsetX:Ze/Me,offsetY:je/at,offsetR:uo/Me,offsetB:ko/at,arrowX:so/Me,arrowY:en/at,scaleX:Me,scaleY:at,align:Nt};c(es)}}),g=()=>{u.current+=1;let h=u.current;Promise.resolve().then(()=>{u.current===h&&p()})},x=()=>{c(h=>({...h,ready:!1}))};return et(x,[n]),et(()=>{e||x()},[e]),[l.ready,l.offsetX,l.offsetY,l.offsetR,l.offsetB,l.arrowX,l.arrowY,l.scaleX,l.scaleY,l.align,g]}function sc(){let e=k(null),t=()=>{e.current&&(clearTimeout(e.current),e.current=null)},o=(n,r)=>{t(),r===0?n():e.current=setTimeout(()=>{n()},r*1e3)};return K(()=>()=>{t()},[]),o}function Ny(e,t,o,n,r){et(()=>{if(e&&t&&o){let d=function(){n(),r()},i=t,a=o,s=ic(i),l=ic(a),c=wn(a),u=new Set([c,...s,...l]);return u.forEach(f=>{f.addEventListener("scroll",d,{passive:!0})}),c.addEventListener("resize",d,{passive:!0}),n(),()=>{u.forEach(f=>{f.removeEventListener("scroll",d),c.removeEventListener("resize",d)})}}},[e,t,o])}function ky(e,t,o,n,r,i,a,s){let l=k(e);l.current=e;let c=k(!1);K(()=>{if(t&&n&&(!r||i)){let d=()=>{c.current=!1},f=g=>{l.current&&!a(g.composedPath?.()?.[0]||g.target)&&!c.current&&s(!1)},m=wn(n);m.addEventListener("pointerdown",d,!0),m.addEventListener("mousedown",f,!0),m.addEventListener("contextmenu",f,!0);let p=da(o);return p&&(p.addEventListener("mousedown",f,!0),p.addEventListener("contextmenu",f,!0)),()=>{m.removeEventListener("pointerdown",d,!0),m.removeEventListener("mousedown",f,!0),m.removeEventListener("contextmenu",f,!0),p&&(p.removeEventListener("mousedown",f,!0),p.removeEventListener("contextmenu",f,!0))}}},[t,o,n,r,i]);function u(){c.current=!0}return u}function zy(){let[e,t]=_.useState(null),[o,n]=_.useState(!1),[r,i]=_.useState(!1),a=_.useRef(null),s=xe(c=>{c===!1?(a.current=null,n(!1)):r&&o?a.current=c:(n(!0),t(c),a.current=null,o||i(!0))}),l=xe(c=>{c?(i(!1),a.current&&(t(a.current),a.current=null)):(i(!1),a.current=null)});return[s,o,e,l]}function Ty(){return Ty=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},Ty.apply(this,arguments)}var TA=e=>{let{prefixCls:t,isMobile:o,ready:n,open:r,align:i,offsetR:a,offsetB:s,offsetX:l,offsetY:c,arrowPos:u,popupSize:d,motion:f,uniqueContainerClassName:m,uniqueContainerStyle:p}=e,g=`${t}-unique-container`,[x,h]=_.useState(!1),b=oc(o,n,r,i,a,s,l,c),v=_.useRef(b);n&&(v.current=b);let $={};return d&&($.width=d.width,$.height=d.height),_.createElement(tr,Ty({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,leavedClassName:`${g}-hidden`},f,{visible:r,onVisibleChanged:S=>{h(S)}}),({className:S,style:C})=>{let w=E(g,S,m,{[`${g}-visible`]:x});return _.createElement("div",{className:w,style:{"--arrow-x":`${u?.x||0}px`,"--arrow-y":`${u?.y||0}px`,...v.current,...$,...C,...p}})})},JE=TA;var OA=({children:e,postTriggerProps:t})=>{let[o,n,r,i]=zy(),a=A(()=>!r||!t?r:t(r),[r,t]),[s,l]=W(null),[c,u]=W(null),d=k(null),f=xe(G=>{d.current=G,vo(G)&&s!==G&&l(G)}),m=k(null),p=sc(),g=xe((G,ne)=>{m.current=ne,p(()=>{o(G)},G.delay)}),x=G=>{p(()=>{m.current?.()||o(!1)},G)},h=xe(G=>{i(G)}),[b,v,$,S,C,w,R,,,N,O]=ac(n,s,a?.target,a?.popupPlacement,a?.builtinPlacements||{},a?.popupAlign,void 0,!1),P=A(()=>{if(!a)return"";let G=Id(a.builtinPlacements||{},a.prefixCls||"",N,!1);return E(G,a.getPopupClassNameFromAlign?.(N))},[N,a?.getPopupClassNameFromAlign,a?.builtinPlacements,a?.prefixCls]),z=A(()=>({show:g,hide:x}),[]);K(()=>{O()},[a?.target]);let D=xe(()=>(O(),Promise.resolve())),L=k({}),F=M(Ra),Z=A(()=>({registerSubPopup:(G,ne)=>{L.current[G]=ne,F?.registerSubPopup(G,ne)}}),[F]),J=a?.prefixCls;return y(Rd.Provider,{value:z},e,a&&y(Ra.Provider,{value:Z},y(Ed,{ref:f,portal:pi,onEsc:a.onEsc,prefixCls:J,popup:a.popup,className:E(a.popupClassName,P,`${J}-unique-controlled`),style:a.popupStyle,target:a.target,open:n,keepDom:!0,fresh:!0,autoDestroy:!1,onVisibleChanged:h,ready:b,offsetX:v,offsetY:$,offsetR:S,offsetB:C,onAlign:O,onPrepare:D,onResize:G=>u({width:G.offsetWidth,height:G.offsetHeight}),arrowPos:{x:w,y:R},align:N,zIndex:a.zIndex,mask:a.mask,arrow:a.arrow,motion:a.popupMotion,maskMotion:a.maskMotion,getPopupContainer:a.getPopupContainer},y(JE,{prefixCls:J,isMobile:!1,ready:b,open:n,align:N,offsetR:S,offsetB:C,offsetX:v,offsetY:$,arrowPos:{x:w,y:R},popupSize:c,motion:a.popupMotion,uniqueContainerClassName:E(a.uniqueContainerClassName,P),uniqueContainerStyle:a.uniqueContainerStyle}))))},Oy=OA;function AA(e=pi){return re((o,n)=>{let{prefixCls:r="rc-trigger-popup",children:i,action:a="hover",showAction:s,hideAction:l,disabled:c=!1,popupVisible:u,defaultPopupVisible:d,onOpenChange:f,afterOpenChange:m,onPopupVisibleChange:p,afterPopupVisibleChange:g,mouseEnterDelay:x,mouseLeaveDelay:h=.1,focusDelay:b,blurDelay:v,mask:$,maskClosable:S=!0,getPopupContainer:C,forceRender:w,autoDestroy:R,popup:N,popupClassName:O,uniqueContainerClassName:P,uniqueContainerStyle:z,popupStyle:D,popupPlacement:L,builtinPlacements:F={},popupAlign:Z,zIndex:J,stretch:G,getPopupClassNameFromAlign:ne,fresh:Y,unique:Q,alignPoint:ee,onPopupClick:se,onPopupAlign:ce,arrow:oe,popupMotion:de,maskMotion:ve,mobile:ae,...le}=o,Se=R||!1,we=u===void 0,q=!!ae,ke=k({}),fe=M(Ra),me=A(()=>({registerSubPopup:(ie,We)=>{ke.current[ie]=We,fe?.registerSubPopup(ie,We)}}),[fe]),Ce=M(Rd),ue=Yr(),[pe,Me]=W(null),at=k(null),Tt=xe(ie=>{at.current=ie,vo(ie)&&pe!==ie&&Me(ie),fe?.registerSubPopup(ue,ie)}),[De,st]=W(null),vt=k(null),Lr=xe(ie=>{let We=Yn(ie);vo(We)&&De!==We&&(st(We),vt.current=We)}),Ot={},Fr=xe(ie=>{let We=De;return We?.contains(ie)||da(We)?.host===ie||ie===We||pe?.contains(ie)||da(pe)?.host===ie||ie===pe||Object.values(ke.current).some(kc=>kc?.contains(ie)||ie===kc)}),qt=oe?{...oe!==!0?oe:{}}:null,[jt,ct]=Tr(d||!1,u),xr=jt||!1,He=xr&&!c,Nt=A(()=>{let ie=typeof i=="function"?i({open:He}):i;return rs.only(ie)},[i,He]),Ve=Nt?.props||{},Ze=xe(()=>He),je=xe((ie=0)=>({popup:N,target:De,delay:ie,prefixCls:r,popupClassName:O,uniqueContainerClassName:P,uniqueContainerStyle:z,popupStyle:D,popupPlacement:L,builtinPlacements:F,popupAlign:Z,zIndex:J,mask:$,maskClosable:S,popupMotion:de,maskMotion:ve,arrow:qt,getPopupContainer:C,getPopupClassNameFromAlign:ne,id:ue,onEsc:Lt}));et(()=>{Ce&&Q&&De&&!we&&!fe&&(He?Ce.show(je(x),Ze):Ce.hide(h))},[He,De]);let Je=k(He);Je.current=He;let xt=xe(ie=>{Uw(()=>{xr!==ie&&(ct(ie),f?.(ie),p?.(ie))})}),wt=sc(),lt=(ie,We=0)=>{if(u!==void 0){wt(()=>{xt(ie)},We);return}if(Ce&&Q&&we&&!fe){ie?Ce.show(je(We),Ze):Ce.hide(We);return}wt(()=>{xt(ie)},We)};function Lt({top:ie}){ie&&lt(!1)}let[Xt,yr]=W(!1);et(ie=>{(!ie||He)&&yr(!0)},[He]);let[Ft,Ut]=W(null),[nr,Oe]=W(null),Nr=ie=>{Oe([ie.clientX,ie.clientY])},[Ur,Po,Xo,No,Ko,_i,wi,Ei,Jo,ao,ir]=ac(He,pe,ee&&nr!==null?nr:De,L,F,Z,ce,q),[Vt,Kt]=Iy(a,s,l),Yo=Vt.has("click"),ar=Kt.has("click")||Kt.has("contextMenu"),sr=xe(()=>{Xt||ir()});Ny(He,De,pe,sr,()=>{Je.current&&ee&&ar&&lt(!1)}),et(()=>{sr()},[nr,L]),et(()=>{He&&!F?.[L]&&sr()},[JSON.stringify(Z)]);let Ya=A(()=>{let ie=Id(F,r,ao,ee);return E(ie,ne?.(ao))},[ao,ne,F,r,ee]);Te(n,()=>({nativeElement:vt.current,popupElement:at.current,forceAlign:sr}));let[pt,Ri]=W(0),[Qa,yt]=W(0),br=()=>{if(G&&De){let ie=De.getBoundingClientRect();Ri(ie.width),yt(ie.height)}},so=()=>{br(),sr()},co=ie=>{yr(!1),ir(),m?.(ie),g?.(ie)},Qo=()=>new Promise(ie=>{br(),Ut(()=>ie)});et(()=>{Ft&&(ir(),Ft(),Ut(null))},[Ft]);function lo(ie,We,kc,jk,Y$){Ot[ie]=(Q$,...Lk)=>{(!Y$||!Y$())&&(jk?.(Q$),lt(We,kc)),Ve[ie]?.(Q$,...Lk)}}let en=Vt.has("touch"),uo=Kt.has("touch"),ko=k(!1);(en||uo)&&(Ot.onTouchStart=(...ie)=>{ko.current=!0,Je.current&&uo?lt(!1):!Je.current&&en&&lt(!0),Ve.onTouchStart?.(...ie)}),(Yo||ar)&&(Ot.onClick=(ie,...We)=>{Je.current&&ar?lt(!1):!Je.current&&Yo&&(Nr(ie),lt(!0)),Ve.onClick?.(ie,...We),ko.current=!1});let es=ky(He,ar||uo,De,pe,$,S,Fr,lt),ge=Vt.has("hover"),cr=Kt.has("hover"),Jt,ts,Fn=()=>ko.current;if(ge){let ie=We=>{Nr(We)};lo("onMouseEnter",!0,x,ie,Fn),lo("onPointerEnter",!0,x,ie,Fn),Jt=We=>{(He||Xt)&&pe?.contains(We.target)&&lt(!0,x)},ee&&(Ot.onMouseMove=We=>{Ve.onMouseMove?.(We)})}cr&&(lo("onMouseLeave",!1,h,void 0,Fn),lo("onPointerLeave",!1,h,void 0,Fn),ts=()=>{lt(!1,h)}),Vt.has("focus")&&lo("onFocus",!0,b),Kt.has("focus")&&lo("onBlur",!1,v),Vt.has("contextMenu")&&(Ot.onContextMenu=(ie,...We)=>{Je.current&&Kt.has("contextMenu")?lt(!1):(Nr(ie),lt(!0)),ie.preventDefault(),Ve.onContextMenu?.(ie,...We)});let Ic=k(!1);Ic.current||=w||He||Xt;let Pc={...Ve,...Ot},Nc={};["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"].forEach(ie=>{le[ie]&&(Nc[ie]=(...We)=>{Pc[ie]?.(...We),le[ie](...We)})});let Mf={x:_i,y:wi};Ea(He,De,so);let jf=Or(Lr,Qr(Nt)),Mk=kt(Nt,{...Pc,...Nc,ref:jf});return y(Ct,null,Mk,Ic.current&&(!Ce||!Q)&&y(Ra.Provider,{value:me},y(Ed,{portal:e,ref:Tt,prefixCls:r,popup:N,className:E(O,!q&&Ya),style:D,target:De,onMouseEnter:Jt,onMouseLeave:ts,onPointerEnter:Jt,zIndex:J,open:He,keepDom:Xt,fresh:Y,onClick:se,onPointerDownCapture:es,mask:$,motion:de,maskMotion:ve,onVisibleChanged:co,onPrepare:Qo,forceRender:w,autoDestroy:Se,getPopupContainer:C,onEsc:Lt,align:ao,arrow:qt,arrowPos:Mf,ready:Ur,offsetX:Po,offsetY:Xo,offsetR:No,offsetB:Ko,onAlign:sr,stretch:G,targetWidth:pt/Ei,targetHeight:Qa/Jo,mobile:ae})))})}var YE=AA(pi);function Pd(e){return e&&_.isValidElement(e)&&e.type===_.Fragment}var DA=(e,t,o)=>_.isValidElement(e)?_.cloneElement(e,Le(o)?o(e.props||{}):o):t;function Bo(e,t){return DA(e,e,t)}var MA=({children:e})=>{let{getPrefixCls:t}=_.useContext(he),o=t();return _.isValidElement(e)?_.createElement(tr,{visible:!0,motionName:`${o}-fade`,motionAppear:!0,motionEnter:!0,motionLeave:!1,removeOnLeave:!1},({style:n,className:r})=>Bo(e,i=>({className:E(i.className,r),style:{...i.style,...n}}))):e},QE=MA;var Nd=[null,null];function jA(e){if(Nd[0]!==e){let t={};Object.keys(e).forEach(o=>{t[o]={...e[o],dynamicInset:!1}}),Nd[0]=e,Nd[1]=t}return Nd[1]}var LA=({children:e})=>{let t=o=>{let{id:n,builtinPlacements:r,popup:i}=o,a=Le(i)?i():i,s=jA(r);return{...o,getPopupContainer:null,arrow:!1,popup:_.createElement(QE,{key:n},a),builtinPlacements:s}};return _.createElement(Oy,{postTriggerProps:t},e)},kd=LA;var Ay=be(!1),zd=({children:e,disabled:t})=>{let o=M(Ay);return y(Ay.Provider,{value:t??o},e)},Rn=Ay;var Dy=be(void 0),eR=({children:e,size:t})=>{let o=M(Dy);return y(Dy.Provider,{value:t||o},e)},gi=Dy;function FA(){let e=M(Rn),t=M(gi);return{componentDisabled:e,componentSize:t}}var tR=FA;function Mt(e){"@babel/helpers - typeof";return Mt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mt(e)}function rR(e){if(Array.isArray(e))return e}function oR(e,t){var o=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(o!=null){var n,r,i,a,s=[],l=!0,c=!1;try{if(i=(o=o.call(e)).next,t===0){if(Object(o)!==o)return;l=!1}else for(;!(l=(n=i.call(o)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(u){c=!0,r=u}finally{try{if(!l&&o.return!=null&&(a=o.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}function nR(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
101
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Td(e,t){return rR(e)||oR(e,t)||Lu(e,t)||nR()}function iR(e,t){if(Mt(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(Mt(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Od(e){var t=iR(e,"string");return Mt(t)=="symbol"?t:t+""}function rr(e,t,o){return(t=Od(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function aR(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),o.push.apply(o,n)}return o}function Gt(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?aR(Object(o),!0).forEach(function(n){rr(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):aR(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function wo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sR(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Od(n.key),n)}}function Eo(e,t,o){return t&&sR(e.prototype,t),o&&sR(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e}function In(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ad(e,t){return Ad=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,n){return o.__proto__=n,o},Ad(e,t)}function Dd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ad(e,t)}function cc(e){return cc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},cc(e)}function My(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(My=function(){return!!e})()}function cR(e,t){if(t&&(Mt(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return In(e)}function Md(e){var t=My();return function(){var o,n=cc(e);if(t){var r=cc(this).constructor;o=Reflect.construct(n,arguments,r)}else o=n.apply(this,arguments);return cR(this,o)}}var UA=Eo(function e(){wo(this,e)}),jd=UA;var lR="CALC_UNIT",VA=new RegExp(lR,"g");function jy(e){return typeof e=="number"?"".concat(e).concat(lR):e}var uR=(function(e){Dd(o,e);var t=Md(o);function o(n,r){var i;wo(this,o),i=t.call(this),rr(In(i),"result",""),rr(In(i),"unitlessCssVar",void 0),rr(In(i),"lowPriority",void 0);var a=Mt(n);return i.unitlessCssVar=r,n instanceof o?i.result="(".concat(n.result,")"):a==="number"?i.result=jy(n):a==="string"&&(i.result=n),i}return Eo(o,[{key:"add",value:function(r){return r instanceof o?this.result="".concat(this.result," + ").concat(r.getResult()):(typeof r=="number"||typeof r=="string")&&(this.result="".concat(this.result," + ").concat(jy(r))),this.lowPriority=!0,this}},{key:"sub",value:function(r){return r instanceof o?this.result="".concat(this.result," - ").concat(r.getResult()):(typeof r=="number"||typeof r=="string")&&(this.result="".concat(this.result," - ").concat(jy(r))),this.lowPriority=!0,this}},{key:"mul",value:function(r){return this.lowPriority&&(this.result="(".concat(this.result,")")),r instanceof o?this.result="".concat(this.result," * ").concat(r.getResult(!0)):(typeof r=="number"||typeof r=="string")&&(this.result="".concat(this.result," * ").concat(r)),this.lowPriority=!1,this}},{key:"div",value:function(r){return this.lowPriority&&(this.result="(".concat(this.result,")")),r instanceof o?this.result="".concat(this.result," / ").concat(r.getResult(!0)):(typeof r=="number"||typeof r=="string")&&(this.result="".concat(this.result," / ").concat(r)),this.lowPriority=!1,this}},{key:"getResult",value:function(r){return this.lowPriority||r?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(r){var i=this,a=r||{},s=a.unit,l=!0;return typeof s=="boolean"?l=s:Array.from(this.unitlessCssVar).some(function(c){return i.result.includes(c)})&&(l=!1),this.result=this.result.replace(VA,l?"px":""),typeof this.lowPriority<"u"?"calc(".concat(this.result,")"):this.result}}]),o})(jd);var BA=(function(e){Dd(o,e);var t=Md(o);function o(n){var r;return wo(this,o),r=t.call(this),rr(In(r),"result",0),n instanceof o?r.result=n.result:typeof n=="number"&&(r.result=n),r}return Eo(o,[{key:"add",value:function(r){return r instanceof o?this.result+=r.result:typeof r=="number"&&(this.result+=r),this}},{key:"sub",value:function(r){return r instanceof o?this.result-=r.result:typeof r=="number"&&(this.result-=r),this}},{key:"mul",value:function(r){return r instanceof o?this.result*=r.result:typeof r=="number"&&(this.result*=r),this}},{key:"div",value:function(r){return r instanceof o?this.result/=r.result:typeof r=="number"&&(this.result/=r),this}},{key:"equal",value:function(){return this.result}}]),o})(jd),dR=BA;var HA=function(t,o){var n=t==="css"?uR:dR;return function(r){return new n(r,o)}},Ld=HA;var ZA=function(t,o){return"".concat([o,t.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-"))},Ly=ZA;function WA(e,t,o,n){var r=Gt({},t[e]);if(n!=null&&n.deprecatedTokens){var i=n.deprecatedTokens;i.forEach(function(s){var l=Td(s,2),c=l[0],u=l[1];if(r!=null&&r[c]||r!=null&&r[u]){var d;(d=r[u])!==null&&d!==void 0||(r[u]=r?.[c])}})}var a=Gt(Gt({},o),r);return Object.keys(a).forEach(function(s){a[s]===t[s]&&delete a[s]}),a}var Fy=WA;var fR=typeof CSSINJS_STATISTIC<"u",Uy=!0;function Ie(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];if(!fR)return Object.assign.apply(Object,[{}].concat(t));Uy=!1;var n={};return t.forEach(function(r){if(Mt(r)==="object"){var i=Object.keys(r);i.forEach(function(a){Object.defineProperty(n,a,{configurable:!0,enumerable:!0,get:function(){return r[a]}})})}}),Uy=!0,n}var Fd={};function GA(){}var qA=function(t){var o,n=t,r=GA;return fR&&typeof Proxy<"u"&&(o=new Set,n=new Proxy(t,{get:function(a,s){if(Uy){var l;(l=o)===null||l===void 0||l.add(s)}return a[s]}}),r=function(a,s){var l;Fd[a]={global:Array.from(o),component:Gt(Gt({},(l=Fd[a])===null||l===void 0?void 0:l.component),s)}}),{token:n,keys:o,flush:r}},Ud=qA;function XA(e,t,o){if(typeof o=="function"){var n;return o(Ie(t,(n=t[e])!==null&&n!==void 0?n:{}))}return o??{}}var Vy=XA;function KA(e){return e==="js"?{max:Math.max,min:Math.min}:{max:function(){for(var o=arguments.length,n=new Array(o),r=0;r<o;r++)n[r]=arguments[r];return"max(".concat(n.map(function(i){return B(i)}).join(","),")")},min:function(){for(var o=arguments.length,n=new Array(o),r=0;r<o;r++)n[r]=arguments[r];return"min(".concat(n.map(function(i){return B(i)}).join(","),")")}}}var mR=KA;var JA=1e3*60*10,YA=(function(){function e(){wo(this,e),rr(this,"map",new Map),rr(this,"objectIDMap",new WeakMap),rr(this,"nextID",0),rr(this,"lastAccessBeat",new Map),rr(this,"accessBeat",0)}return Eo(e,[{key:"set",value:function(o,n){this.clear();var r=this.getCompositeKey(o);this.map.set(r,n),this.lastAccessBeat.set(r,Date.now())}},{key:"get",value:function(o){var n=this.getCompositeKey(o),r=this.map.get(n);return this.lastAccessBeat.set(n,Date.now()),this.accessBeat+=1,r}},{key:"getCompositeKey",value:function(o){var n=this,r=o.map(function(i){return i&&Mt(i)==="object"?"obj_".concat(n.getObjectID(i)):"".concat(Mt(i),"_").concat(i)});return r.join("|")}},{key:"getObjectID",value:function(o){if(this.objectIDMap.has(o))return this.objectIDMap.get(o);var n=this.nextID;return this.objectIDMap.set(o,n),this.nextID+=1,n}},{key:"clear",value:function(){var o=this;if(this.accessBeat>1e4){var n=Date.now();this.lastAccessBeat.forEach(function(r,i){n-r>JA&&(o.map.delete(i),o.lastAccessBeat.delete(i))}),this.accessBeat=0}}}]),e})(),pR=new YA;function QA(e,t){return _.useMemo(function(){var o=pR.get(t);if(o)return o;var n=e();return pR.set(t,n),n},t)}var gR=QA;var eD=function(){return{}},hR=eD;function tD(e){var t=e.useCSP,o=t===void 0?hR:t,n=e.useToken,r=e.usePrefix,i=e.getResetStyles,a=e.getCommonStyle,s=e.getCompUnitless;function l(f,m,p,g){var x=Array.isArray(f)?f[0]:f;function h(R){return"".concat(String(x)).concat(R.slice(0,1).toUpperCase()).concat(R.slice(1))}var b=g?.unitless||{},v=typeof s=="function"?s(f):{},$=Gt(Gt({},v),{},rr({},h("zIndexPopup"),!0));Object.keys(b).forEach(function(R){$[h(R)]=b[R]});var S=Gt(Gt({},g),{},{unitless:$,prefixToken:h}),C=u(f,m,p,S),w=c(x,p,S);return function(R){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:R,O=C(R,N),P=g?.extraCssVarPrefixCls,z=typeof P=="function"?P({prefixCls:R,rootCls:N}):P,D=w(z!=null&&z.length?[N].concat(Et(z)):N);return[O,D]}}function c(f,m,p){var g=p.unitless,x=p.prefixToken,h=p.ignore;return function(b){var v=n(),$=v.cssVar,S=v.realToken,C=o();return Ux({path:[f],prefix:$.prefix,key:$.key,unitless:g,ignore:h,token:S,scope:b,nonce:function(){return C.nonce}},function(){var w=Vy(f,S,m),R=Fy(f,S,w,{deprecatedTokens:p?.deprecatedTokens});return w&&Object.keys(w).forEach(function(N){R[x(N)]=R[N],delete R[N]}),R}),$?.key}}function u(f,m,p){var g=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},x=Array.isArray(f)?f:[f,f],h=Td(x,1),b=h[0],v=x.join("-"),$=e.layer||{name:"antd"};return function(S){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:S,w=n(),R=w.theme,N=w.realToken,O=w.hashId,P=w.token,z=w.cssVar,D=w.zeroRuntime,L=A(function(){return D},[]);if(L)return O;var F=r(),Z=F.rootPrefixCls,J=F.iconPrefixCls,G=o(),ne="css",Y=gR(function(){var oe=new Set;return Object.keys(g.unitless||{}).forEach(function(de){oe.add(ha(de,z.prefix)),oe.add(ha(de,Ly(b,z.prefix)))}),Ld(ne,oe)},[ne,b,z?.prefix]),Q=mR(ne),ee=Q.max,se=Q.min,ce={theme:R,token:P,hashId:O,nonce:function(){return G.nonce},clientOnly:g.clientOnly,layer:$,order:g.order||-999};return typeof i=="function"&&Sn(Gt(Gt({},ce),{},{clientOnly:!1,path:["Shared",Z]}),function(){return i(P,{prefix:{rootPrefixCls:Z,iconPrefixCls:J},csp:G})}),Sn(Gt(Gt({},ce),{},{path:[v,S,J]}),function(){if(g.injectStyle===!1)return[];var oe=Ud(P),de=oe.token,ve=oe.flush,ae=Vy(b,N,p),le=".".concat(S),Se=Fy(b,N,ae,{deprecatedTokens:g.deprecatedTokens});ae&&Mt(ae)==="object"&&Object.keys(ae).forEach(function(fe){ae[fe]="var(".concat(ha(fe,Ly(b,z.prefix)),")")});var we=Ie(de,{componentCls:le,prefixCls:S,iconCls:".".concat(J),antCls:".".concat(Z),calc:Y,max:ee,min:se},ae),q=m(we,{hashId:O,prefixCls:S,rootPrefixCls:Z,iconPrefixCls:J});ve(b,Se);var ke=typeof a=="function"?a(we,S,C,g.resetFont):null;return[g.resetStyle===!1?null:ke,q]}),O}}function d(f,m,p){var g=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},x=u(f,m,p,Gt({resetStyle:!1,order:-998},g)),h=function(v){var $=v.prefixCls,S=v.rootCls,C=S===void 0?$:S;return x($,C),null};return h}return{genStyleHooks:l,genSubStyleComponent:d,genComponentStyleHook:u}}var By=tD;function Hy(e){return e>=0&&e<=255}function rD(e,t){let{r:o,g:n,b:r,a:i}=new Ke(e).toRgb();if(i<1)return e;let{r:a,g:s,b:l}=new Ke(t).toRgb();for(let c=.01;c<=1;c+=.01){let u=Math.round((o-a*(1-c))/c),d=Math.round((n-s*(1-c))/c),f=Math.round((r-l*(1-c))/c);if(Hy(u)&&Hy(d)&&Hy(f))return new Ke({r:u,g:d,b:f,a:Math.round(c*100)/100}).toRgbString()}return new Ke({r:o,g:n,b:r,a:1}).toRgbString()}var hi=rD;function lc(e){let{override:t,...o}=e,n={...t};Object.keys(oo).forEach(x=>{delete n[x]});let r={...o,...n},i=new Ke(r.colorShadow),a=i.a,s=x=>i.clone().setA(a*x).toRgbString(),l=480,c=576,u=768,d=992,f=1200,m=1600,p=1920;return r.motion===!1&&(r.motionDurationFast="0s",r.motionDurationMid="0s",r.motionDurationSlow="0s"),{...r,colorFillContent:r.colorFillSecondary,colorFillContentHover:r.colorFill,colorFillAlter:r.colorFillQuaternary,colorBgContainerDisabled:r.colorFillTertiary,colorBorderBg:r.colorBgContainer,colorSplit:hi(r.colorBorderSecondary,r.colorBgContainer),colorTextPlaceholder:r.colorTextQuaternary,colorTextDisabled:r.colorTextQuaternary,colorTextHeading:r.colorText,colorTextLabel:r.colorTextSecondary,colorTextDescription:r.colorTextTertiary,colorTextLightSolid:r.colorWhite,colorHighlight:r.colorError,colorBgTextHover:r.colorFillSecondary,colorBgTextActive:r.colorFill,colorIcon:r.colorTextTertiary,colorIconHover:r.colorText,colorErrorOutline:hi(r.colorErrorBg,r.colorBgContainer),colorWarningOutline:hi(r.colorWarningBg,r.colorBgContainer),colorErrorAffix:r.colorError,colorWarningAffix:r.colorWarning,fontSizeIcon:r.fontSizeSM,lineWidthFocus:r.focusOutline===!1?0:r.lineWidth*3,lineWidth:r.lineWidth,controlOutlineWidth:r.lineWidth*2,controlInteractiveSize:r.controlHeight/2,controlItemBgHover:r.colorFillTertiary,controlItemBgActive:r.colorPrimaryBg,controlItemBgActiveHover:r.colorPrimaryBgHover,controlItemBgActiveDisabled:r.colorFill,controlTmpOutline:r.colorFillQuaternary,controlOutline:hi(r.colorPrimaryBg,r.colorBgContainer),lineType:r.lineType,borderRadius:r.borderRadius,borderRadiusXS:r.borderRadiusXS,borderRadiusSM:r.borderRadiusSM,borderRadiusLG:r.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:r.sizeXXS,paddingXS:r.sizeXS,paddingSM:r.sizeSM,padding:r.size,paddingMD:r.sizeMD,paddingLG:r.sizeLG,paddingXL:r.sizeXL,paddingContentHorizontalLG:r.sizeLG,paddingContentVerticalLG:r.sizeMS,paddingContentHorizontal:r.sizeMS,paddingContentVertical:r.sizeSM,paddingContentHorizontalSM:r.size,paddingContentVerticalSM:r.sizeXS,marginXXS:r.sizeXXS,marginXS:r.sizeXS,marginSM:r.sizeSM,margin:r.size,marginMD:r.sizeMD,marginLG:r.sizeLG,marginXL:r.sizeXL,marginXXL:r.sizeXXL,boxShadow:`
102
+ 0 6px 16px 0 ${s(.08)},
103
+ 0 3px 6px -4px ${s(.12)},
104
+ 0 9px 28px 8px ${s(.05)}
105
+ `,boxShadowSecondary:`
106
+ 0 6px 16px 0 ${s(.08)},
107
+ 0 3px 6px -4px ${s(.12)},
108
+ 0 9px 28px 8px ${s(.05)}
109
+ `,boxShadowTertiary:`
110
+ 0 1px 2px 0 ${s(.05)},
111
+ 0 1px 6px -1px ${s(.03)},
112
+ 0 2px 4px 0 ${s(.03)}
113
+ `,screenXS:l,screenXSMin:l,screenXSMax:c-1,screenSM:c,screenSMMin:c,screenSMMax:u-1,screenMD:u,screenMDMin:u,screenMDMax:d-1,screenLG:d,screenLGMin:d,screenLGMax:f-1,screenXL:f,screenXLMin:f,screenXLMax:m-1,screenXXL:m,screenXXLMin:m,screenXXLMax:p-1,screenXXXL:p,screenXXXLMin:p,boxShadowPopoverArrow:`2px 2px 5px ${s(.05)}`,dropShadowPopover:`drop-shadow(0 6px 16px ${s(.08)}) drop-shadow(0 3px 6px ${s(.12)}) drop-shadow(0 9px 28px ${s(.05)})`,boxShadowCard:`
114
+ 0 1px 2px -2px ${s(.16)},
115
+ 0 3px 6px 0 ${s(.12)},
116
+ 0 5px 12px 4px ${s(.09)}
117
+ `,boxShadowDrawerRight:`
118
+ -6px 0 16px 0 ${s(.08)},
119
+ -3px 0 6px -4px ${s(.12)},
120
+ -9px 0 28px 8px ${s(.05)}
121
+ `,boxShadowDrawerLeft:`
122
+ 6px 0 16px 0 ${s(.08)},
123
+ 3px 0 6px -4px ${s(.12)},
124
+ 9px 0 28px 8px ${s(.05)}
125
+ `,boxShadowDrawerUp:`
126
+ 0 6px 16px 0 ${s(.08)},
127
+ 0 3px 6px -4px ${s(.12)},
128
+ 0 9px 28px 8px ${s(.05)}
129
+ `,boxShadowDrawerDown:`
130
+ 0 -6px 16px 0 ${s(.08)},
131
+ 0 -3px 6px -4px ${s(.12)},
132
+ 0 -9px 28px 8px ${s(.05)}
133
+ `,boxShadowTabsOverflowLeft:`inset 10px 0 8px -8px ${s(.08)}`,boxShadowTabsOverflowRight:`inset -10px 0 8px -8px ${s(.08)}`,boxShadowTabsOverflowTop:`inset 0 10px 8px -8px ${s(.08)}`,boxShadowTabsOverflowBottom:`inset 0 -10px 8px -8px ${s(.08)}`,...n}}var Zy={lineHeight:!0,lineHeightSM:!0,lineHeightLG:!0,lineHeightHeading1:!0,lineHeightHeading2:!0,lineHeightHeading3:!0,lineHeightHeading4:!0,lineHeightHeading5:!0,opacityLoading:!0,fontWeightStrong:!0,zIndexPopupBase:!0,zIndexBase:!0,opacityImage:!0},oD={motionBase:!0,motionUnit:!0},nD={screenXS:!0,screenXSMin:!0,screenXSMax:!0,screenSM:!0,screenSMMin:!0,screenSMMax:!0,screenMD:!0,screenMDMin:!0,screenMDMax:!0,screenLG:!0,screenLGMin:!0,screenLGMax:!0,screenXL:!0,screenXLMin:!0,screenXLMax:!0,screenXXL:!0,screenXXLMin:!0,screenXXLMax:!0,screenXXXL:!0,screenXXXLMin:!0},vR=(e,t,o)=>{let n=o.getDerivativeToken(e),{override:r,...i}=t,a={...n,override:r};return a=lc(a),i&&Object.entries(i).forEach(([s,l])=>{let{theme:c,...u}=l,d=u;c&&(d=vR({...a,...u},{override:u},c)),a[s]=d}),a};function ut(){let{token:e,hashed:t,theme:o,override:n,cssVar:r,zeroRuntime:i}=_.useContext(fi),{csp:a,getPrefixCls:s}=_.useContext(he),l={prefix:r?.prefix??s(),key:r?.key??"css-var-root"},c=`${Xw}-${t||""}`,u=o||di,[d,f,m]=Gu(u,[oo,e],{salt:c,override:n,getComputedToken:vR,cssVar:{...l,unitless:Zy,ignore:oD,preserve:nD},nonce:a?.nonce});return[u,m,t?f:"",d,l,!!i]}var rJ={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},hr=(e,t=!1)=>({boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}),Wy=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block",verticalAlign:"inherit"}}),iD=new _t("loadingCircle",{"100%":{transform:"rotate(360deg)"}}),Vd=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),uc=(e,t)=>({outline:`${B(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:t??1,transition:["outline-offset","outline"].map(o=>`${o} 0s`).join(", ")}),Pn=(e,t)=>({"&:focus-visible":uc(e,t)}),xR=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active, &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},...Pn(e),"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),yR=(e,t,o,n)=>{let r=`[class^="${t}"], [class*=" ${t}"]`,i=o?`.${o}`:r,a={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},s={};return n!==!1&&(s={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[i]:{...s,...a,[r]:a}}},Bd=e=>({[`.${e}`]:{...Wy(),"&::before":{display:"none"},"&[tabindex]":{cursor:"pointer"}},[`.${e} .${e}-icon`]:{display:"block"},[`.${e}-spin`]:{animationName:iD,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}}),oJ=e=>({color:e.colorLink,textDecoration:e.linkDecoration,outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,border:0,padding:0,background:"none",userSelect:"none",...Pn(e),"&:hover":{color:e.colorLinkHover,textDecoration:e.linkHoverDecoration},"&:focus":{color:e.colorLinkHover,textDecoration:e.linkFocusDecoration},"&:active":{color:e.colorLinkActive,textDecoration:e.linkHoverDecoration}});var{genStyleHooks:Ae,genComponentStyleHook:Gy,genSubStyleComponent:Ho}=By({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:t}=M(he);return{rootPrefixCls:e(),iconPrefixCls:t}},useToken:()=>{let[e,t,o,n,r,i]=ut();return{theme:e,realToken:t,hashId:o,token:n,cssVar:r,zeroRuntime:i}},useCSP:()=>{let{csp:e}=M(he);return e??{}},getResetStyles:(e,t)=>{let o=xR(e);return[o,{"&":o},Bd(t?.prefix.iconPrefixCls??Bs)]},getCommonStyle:yR,getCompUnitless:()=>Zy}),gt=(e,t)=>{let o=`--${e.replace(/\./g,"")}-${t}-`;return[i=>`${o}${i}`,(i,a)=>a?`var(${o}${i}, ${a})`:`var(${o}${i})`]};function Hd(e,t){return It.reduce((o,n)=>{let r=e[`${n}1`],i=e[`${n}3`],a=e[`${n}6`],s=e[`${n}7`];return{...o,...t(n,{lightColor:r,lightBorderColor:i,darkColor:a,textColor:s})}},{})}var aD=(e,t)=>{let[o,n]=ut();return Sn({theme:o,token:n,hashId:"",path:["ant-design-icons",e],nonce:()=>t?.nonce,layer:{name:"antd"}},()=>Bd(e))},Zd=aD;function qy(e,t,o){let n=vn("ConfigProvider"),r=e||{},i=r.inherit===!1||!t?{...Cn,hashed:t?.hashed??Cn.hashed,cssVar:t?.cssVar}:t,a=Bf();return pn(()=>{if(!e)return t;let s={...i.components};Object.keys(e.components||{}).forEach(u=>{s[u]={...s[u],...e.components[u]}});let l=`css-var-${a.replace(/:/g,"")}`,c={prefix:o?.prefixCls,...i.cssVar,...r.cssVar,key:r.cssVar?.key||l};return{...i,...r,token:{...i.token,...r.token},components:s,cssVar:c}},[r,i,o?.prefixCls,a],(s,l)=>s.some((c,u)=>{let d=l[u];return!fa(c,d,!0)}))}var bR=be(!0);function Xy(e){let t=M(bR),{children:o}=e,[,n]=ut(),{motion:r}=n,i=k(!1);return i.current||(i.current=t!==r),i.current?y(bR.Provider,{value:r},y(my,{motion:r},o)):o}var $R=()=>null;var sD=({iconPrefixCls:e,csp:t})=>(Zd(e,t),null);var cD=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"],lD,uD,dD,fD;var mD=e=>{let{prefixCls:t,iconPrefixCls:o,theme:n,holderRender:r}=e;t!==void 0&&(lD=t),o!==void 0&&(uD=o),"holderRender"in e&&(fD=r),n&&(dD=n)};var pD=e=>{let{children:t,csp:o,autoInsertSpaceInButton:n,alert:r,affix:i,anchor:a,app:s,form:l,locale:c,componentSize:u,direction:d,space:f,splitter:m,virtual:p,dropdownMatchSelectWidth:g,popupMatchSelectWidth:x,popupOverflow:h,legacyLocale:b,parentContext:v,iconPrefixCls:$,theme:S,componentDisabled:C,segmented:w,statistic:R,spin:N,calendar:O,carousel:P,cascader:z,collapse:D,typography:L,checkbox:F,descriptions:Z,divider:J,drawer:G,skeleton:ne,steps:Y,image:Q,layout:ee,list:se,listy:ce,mentions:oe,modal:de,progress:ve,result:ae,slider:le,breadcrumb:Se,masonry:we,menu:q,pagination:ke,input:fe,inputPassword:me,inputSearch:Ce,textArea:ue,otp:pe,empty:Me,badge:at,borderBeam:Tt,radio:De,rate:st,ribbon:vt,switch:Lr,transfer:Ot,avatar:Fr,message:qt,tag:jt,table:ct,card:xr,cardMeta:He,tabs:Nt,timeline:Ve,timePicker:Ze,upload:je,notification:Je,tree:xt,colorPicker:wt,datePicker:lt,rangePicker:Lt,flex:Xt,wave:yr,dropdown:Ft,warning:Ut,tour:nr,tooltip:Oe,popover:Nr,popconfirm:Ur,qrcode:Po,floatButton:Xo,floatButtonGroup:No,variant:Ko,inputNumber:_i,treeSelect:wi,watermark:Ei}=e,Jo=A(()=>Be(c)&&Object.prototype.hasOwnProperty.call(c,"default")&&c.default?.locale?c.default:c,[c]),ao=ft((yt,br)=>{let{prefixCls:so}=e;if(br)return br;let co=so||v.getPrefixCls("");return yt?`${co}-${yt}`:co},[v.getPrefixCls,e.prefixCls]),ir=$||v.iconPrefixCls||Bs,Vt=o||v.csp,Kt=qy(S,v.theme,{prefixCls:ao("")}),Yo={csp:Vt,autoInsertSpaceInButton:n,alert:r,affix:i,anchor:a,app:s,locale:Jo||b,direction:d,space:f,splitter:m,virtual:p,popupMatchSelectWidth:x??g,popupOverflow:h,getPrefixCls:ao,iconPrefixCls:ir,theme:Kt,segmented:w,statistic:R,spin:N,calendar:O,carousel:P,cascader:z,collapse:D,typography:L,checkbox:F,descriptions:Z,divider:J,drawer:G,skeleton:ne,steps:Y,image:Q,input:fe,inputPassword:me,inputSearch:Ce,textArea:ue,otp:pe,layout:ee,list:se,listy:ce,mentions:oe,modal:de,progress:ve,result:ae,slider:le,breadcrumb:Se,masonry:we,menu:q,pagination:ke,empty:Me,badge:at,borderBeam:Tt,radio:De,rate:st,ribbon:vt,switch:Lr,transfer:Ot,avatar:Fr,message:qt,tag:jt,table:ct,card:xr,cardMeta:He,tabs:Nt,timeline:Ve,timePicker:Ze,upload:je,notification:Je,tree:xt,colorPicker:wt,datePicker:lt,rangePicker:Lt,flex:Xt,wave:yr,dropdown:Ft,warning:Ut,tour:nr,tooltip:Oe,popover:Nr,popconfirm:Ur,qrcode:Po,floatButton:Xo,floatButtonGroup:No,variant:Ko,inputNumber:_i,treeSelect:wi,watermark:Ei},ar={...v};Object.keys(Yo).forEach(yt=>{Yo[yt]!==void 0&&(ar[yt]=Yo[yt])}),cD.forEach(yt=>{let br=e[yt];br&&(ar[yt]=br)}),typeof n<"u"&&(ar.button={autoInsertSpace:n,...ar.button});let sr=pn(()=>ar,ar,(yt,br)=>{let so=Object.keys(yt),co=Object.keys(br);return so.length!==co.length||so.some(Qo=>yt[Qo]!==br[Qo])}),{layer:Ln}=M(eo),Ya=A(()=>({prefixCls:ir,csp:Vt,layer:Ln?"antd":void 0,zeroRuntime:!!Ln||Kt?.zeroRuntime}),[ir,Vt,Ln,Kt?.zeroRuntime]),pt=y(Ct,null,y(sD,{iconPrefixCls:ir,csp:Vt}),y($R,{dropdownMatchSelectWidth:g}),t),Ri=A(()=>yo(er.Form?.defaultValidateMessages||{},sr.locale?.Form?.defaultValidateMessages||{},sr.form?.validateMessages||{},l?.validateMessages||{}),[sr,l?.validateMessages]);Object.keys(Ri).length>0&&(pt=y(L0.Provider,{value:Ri},pt)),Jo&&(pt=y(q0,{locale:Jo,_ANT_MARK__:G0},pt)),(ir||Vt)&&(pt=y(Ca.Provider,{value:Ya},pt)),u&&(pt=y(eR,{size:u},pt)),pt=y(Xy,null,pt),Oe?.unique&&(pt=y(kd,null,pt));let Qa=A(()=>{let{algorithm:yt,token:br,components:so,cssVar:co,...Qo}=Kt||{},lo=yt&&(!Array.isArray(yt)||yt.length>0)?So(yt):di,en={};Object.entries(so||{}).forEach(([ko,es])=>{let ge={...es};"algorithm"in ge&&(ge.algorithm===!0?ge.theme=lo:(Array.isArray(ge.algorithm)||Le(ge.algorithm))&&(ge.theme=So(ge.algorithm)),delete ge.algorithm),en[ko]=ge});let uo={...oo,...br};return{...Qo,theme:lo,token:uo,components:en,override:{override:uo,...en},cssVar:co}},[Kt]);return S&&(pt=y(fi.Provider,{value:Qa},pt)),sr.warning&&(pt=y(Vw.Provider,{value:sr.warning},pt)),C!==void 0&&(pt=y(zd,{disabled:C},pt)),y(he.Provider,{value:sr},pt)},Na=e=>{let t=M(he),o=M(_a);return y(pD,{parentContext:t,legacyLocale:o,...e})};Na.ConfigContext=he;Na.SizeContext=gi;Na.config=mD;Na.useConfig=tR;Object.defineProperty(Na,"SizeContext",{get:()=>gi});var SR=Na;var CR=e=>e==="horizontal"||e==="vertical",Nn=(e,t,o)=>A(()=>{let n=CR(e),r;return n?r=e:typeof t=="boolean"?r=t?"vertical":"horizontal":r=CR(o)?o:"horizontal",[r,r==="vertical"]},[o,e,t]);var gD=e=>{let t=_.useContext(gi);return _.useMemo(()=>e?bo(e)?e??t:Le(e)?e(t):t:t,[e,t])},or=gD;var _R=/^[\u4E00-\u9FA5]{2}$/,Wd=_R.test.bind(_R);function Gd(e){return e==="danger"?{danger:!0}:{type:e}}function qd(e){return e==="text"||e==="link"}function hD(e,t,o,n){if(!mt(e))return;let r=t?" ":"";return!bo(e)&&!pr(e)&&bo(e.type)&&Wd(e.props.children)?Bo(e,i=>{let a=E(i.className,n)||void 0,s={...o,...i.style};return{...i,children:i.children.split("").join(r),className:a,style:s}}):bo(e)?_.createElement("span",{className:n,style:o},Wd(e)?e.split("").join(r):e):Pd(e)?_.createElement("span",{className:n,style:o},e):Bo(e,i=>({...i,className:E(i.className,n)||void 0,style:{...i.style,...o}}))}function wR(e,t,o,n){let r=!1,i=[];return _.Children.forEach(e,a=>{let s=bo(a)||pr(a);if(r&&s){let l=i.length-1,c=i[l];i[l]=`${c}${a}`}else i.push(a);r=s}),_.Children.map(i,a=>hD(a,t,o,n))}var yY=["default","primary","danger"].concat(Et(It));var vD=e=>{let{componentCls:t,colorPrimary:o,motionDurationSlow:n,motionEaseInOut:r,motionEaseOutCirc:i,antCls:a}=e,[,s]=gt(a,"wave");return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:s("color",o),boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:["box-shadow 0.4s","opacity 2s"].map(l=>`${l} ${i}`).join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:["box-shadow","opacity"].map(l=>`${l} ${n} ${r}`).join(",")}}}}},ER=Gy("Wave",vD);var Xd=`${ei}-wave-target`;var RR=e=>e?bo(e)&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&!/rgba\((?:\d*, ){3}0\)/i.test(e)&&!/^#(?:[0-9a-f]{3}0|[0-9a-f]{6}00)$/i.test(e)&&e!=="transparent"&&e!=="canvastext":!1;function IR(e,t=null){let o=getComputedStyle(e),{borderTopColor:n,borderColor:r,backgroundColor:i}=o;return t&&RR(o[t])?o[t]:[n,r,i].find(RR)??null}function Ky(e){return Number.isNaN(e)?0:e}var xD=e=>{let{className:t,target:o,component:n,colorSource:r}=e,i=k(null),{getPrefixCls:a}=M(he),s=a(),[l]=gt(s,"wave"),[c,u]=W(null),[d,f]=W([]),[m,p]=W(0),[g,x]=W(0),[h,b]=W(0),[v,$]=W(0),[S,C]=W(!1),w={left:m,top:g,width:h,height:v,borderRadius:d.map(O=>`${O}px`).join(" ")};c&&(w[l("color")]=c);function R(){let O=getComputedStyle(o);u(IR(o,r));let P=O.position==="static",{borderLeftWidth:z,borderTopWidth:D}=O;p(P?o.offsetLeft:Ky(-Number.parseFloat(z))),x(P?o.offsetTop:Ky(-Number.parseFloat(D))),b(o.offsetWidth),$(o.offsetHeight);let{borderTopLeftRadius:L,borderTopRightRadius:F,borderBottomLeftRadius:Z,borderBottomRightRadius:J}=O;f([L,F,J,Z].map(G=>Ky(Number.parseFloat(G))))}if(K(()=>{if(o){let O=St(()=>{R(),C(!0)}),P;return typeof ResizeObserver<"u"&&(P=new ResizeObserver(R),P.observe(o)),()=>{St.cancel(O),P?.disconnect()}}},[o]),!S)return null;let N=(n==="Checkbox"||n==="Radio")&&o?.classList.contains(Xd);return y(tr,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(O,P)=>{if(P.deadline||ju(P)&&P.propertyName==="opacity"){let z=i.current?.parentElement;Au(z).then(()=>{z?.remove()})}return!1}},({className:O},P)=>y("div",{ref:_r(i,P),className:E(t,O,{"wave-quick":N}),style:w}))},yD=(e,t)=>{let{component:o}=t;if(o==="Checkbox"&&!e.querySelector("input")?.checked)return;let n=document.createElement("div");n.style.position="absolute",n.style.left="0px",n.style.top="0px",e?.insertBefore(n,e?.firstChild),Ou(y(xD,{...t,target:e}),n)},PR=yD;var bD=(e,t,o,n)=>{let{wave:r}=M(he),[,i,a]=ut(),s=xe(u=>{let d=e.current;if(r?.disabled||!d)return;let f=d.querySelector(`.${Xd}`)||d,{showEffect:m}=r||{};(m||PR)(f,{className:t,token:i,component:o,event:u,hashId:a,colorSource:n})}),l=k(null);return K(()=>()=>{St.cancel(l.current)},[]),u=>{St.cancel(l.current),l.current=St(()=>{s(u)})}},NR=bD;var kR={click:"click",mousedown:"mousedown",mouseup:"mouseup",pointerdown:"pointerdown",pointerup:"pointerup"},$D=e=>{let{children:t,disabled:o,component:n,colorSource:r}=e,{getPrefixCls:i,wave:a}=M(he),s=k(null),l=i("wave"),c=ER(l),u=NR(s,E(l,c),n,r);if(_.useEffect(()=>{let f=s.current;if(!f||f.nodeType!==window.Node.ELEMENT_NODE||o)return;let m=x=>{!Qn(x.target)||!f.getAttribute||f.getAttribute("disabled")||f.disabled||f.className.includes("disabled")&&!f.className.includes("disabled:")||f.getAttribute("aria-disabled")==="true"||f.className.includes("-leave")||u(x)},p=a?.triggerType,g=p&&p in kR?kR[p]:"click";return f.addEventListener(g,m,!0),()=>{f.removeEventListener(g,m,!0)}},[o,a?.triggerType]),!_.isValidElement(t))return t??null;let d=gn(t)?_r(Qr(t),s):s;return Bo(t,{ref:d})},zR=$D;var qR=tn(TR());var OR="data-rc-order",AR="data-rc-priority",CD="rc-util-key",Yy=new Map;function MR(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function _D(e,t){if(!e||!t)return!1;if(e.contains)return e.contains(t);let o=t;for(;o;){if(o===e)return!0;o=o.parentNode}return!1}function jR({mark:e}={}){return e?e.startsWith("data-")?e:`data-${e}`:CD}function Qy(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function wD(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function eb(e){return Array.from((Yy.get(e)||e).children).filter(t=>t.tagName==="STYLE")}function LR(e,t={}){if(!MR())return null;let{csp:o,prepend:n,priority:r=0}=t,i=wD(n),a=i==="prependQueue",s=document.createElement("style");s.setAttribute(OR,i),a&&r&&s.setAttribute(AR,`${r}`),o?.nonce&&(s.nonce=o.nonce),s.innerHTML=e;let l=Qy(t),{firstChild:c}=l;if(n){if(a){let u=(t.styles||eb(l)).filter(d=>{if(!["prepend","prependQueue"].includes(d.getAttribute(OR)))return!1;let f=Number(d.getAttribute(AR)||0);return r>=f});if(u.length)return l.insertBefore(s,u[u.length-1].nextSibling),s}l.insertBefore(s,c)}else l.appendChild(s);return s}function ED(e,t={}){let{styles:o}=t;return o||=eb(Qy(t)),o.find(n=>n.getAttribute(jR(t))===e)}function RD(e,t){let o=Yy.get(e);if(!o||!_D(document,o)){let n=LR("",t);if(!n)return;let{parentNode:r}=n;Yy.set(e,r),e.removeChild(n)}}function FR(e,t,o={}){if(!MR())return null;let n=Qy(o),r=eb(n),i={...o,styles:r};RD(n,i);let a=ED(t,i);if(a)return i.csp?.nonce&&a.nonce!==i.csp.nonce&&(a.nonce=i.csp.nonce),a.innerHTML!==e&&(a.innerHTML=e),a;let s=LR(e,i);return s?.setAttribute(jR(i),t),s}function ID(e){return e?.getRootNode?.()}function UR(e){let t=ID(e);return typeof ShadowRoot<"u"&&t instanceof ShadowRoot?t:null}var DR={};function VR(e,t){e||DR[t]||(DR[t]=!0)}function PD(e){return e.replace(/-(.)/g,(t,o)=>o.toUpperCase())}function HR(e,t){VR(e,`[@ant-design/icons] ${t}`)}function tb(e){return typeof e=="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(typeof e.icon=="object"||typeof e.icon=="function")}function BR(e={}){return Object.keys(e).reduce((t,o)=>{let n=e[o];return o==="class"?(t.className=n,delete t.class):(delete t[o],t[PD(o)]=n),t},{})}function Kd(e,t,o){return o?_.createElement(e.tag,{key:t,...BR(e.attrs),...o},(e.children||[]).map((n,r)=>Kd(n,`${t}-${e.tag}-${r}`))):_.createElement(e.tag,{key:t,...BR(e.attrs)},(e.children||[]).map((n,r)=>Kd(n,`${t}-${e.tag}-${r}`)))}var ND=`
134
+ .anticon {
135
+ display: inline-flex;
136
+ align-items: center;
137
+ color: inherit;
138
+ font-style: normal;
139
+ line-height: 0;
140
+ text-align: center;
141
+ text-transform: none;
142
+ vertical-align: -0.125em;
143
+ text-rendering: optimizeLegibility;
144
+ -webkit-font-smoothing: antialiased;
145
+ -moz-osx-font-smoothing: grayscale;
146
+ }
147
+
148
+ .anticon > * {
149
+ line-height: 1;
150
+ }
151
+
152
+ .anticon svg {
153
+ display: inline-block;
154
+ vertical-align: inherit;
155
+ }
156
+
157
+ .anticon::before {
158
+ display: none;
159
+ }
160
+
161
+ .anticon .anticon-icon {
162
+ display: block;
163
+ }
164
+
165
+ .anticon[tabindex] {
166
+ cursor: pointer;
167
+ }
168
+
169
+ .anticon-spin {
170
+ -webkit-animation: loadingCircle 1s infinite linear;
171
+ animation: loadingCircle 1s infinite linear;
172
+ }
173
+
174
+ @-webkit-keyframes loadingCircle {
175
+ 100% {
176
+ -webkit-transform: rotate(360deg);
177
+ transform: rotate(360deg);
178
+ }
179
+ }
180
+
181
+ @keyframes loadingCircle {
182
+ 100% {
183
+ -webkit-transform: rotate(360deg);
184
+ transform: rotate(360deg);
185
+ }
186
+ }
187
+ `,ZR=e=>{let{csp:t,prefixCls:o,layer:n,zeroRuntime:r}=M(Ca),i=ND;o&&(i=i.replace(/anticon/g,o)),n&&(i=`@layer ${n} {
188
+ ${i}
189
+ }`),K(()=>{if(r)return;let a=e.current,s=UR(a);FR(i,"@ant-design-icons",{prepend:!n,csp:t,attachTo:s})},[])};var WR=e=>{let{icon:t,className:o,onClick:n,style:r,primaryColor:i,secondaryColor:a,...s}=e,l=k(null);if(ZR(l),HR(tb(t),`icon should be icon definiton, but got ${t}`),!tb(t))return null;let c=t;return Kd(c.icon,`svg-${c.name}`,{className:o,onClick:n,style:r,"data-icon":c.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",...s,ref:l})};WR.displayName="IconReact";var GR=WR;function rb(){return rb=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},rb.apply(this,arguments)}var kD=re((e,t)=>{let{className:o,icon:n,spin:r,rotate:i,tabIndex:a,onClick:s,twoToneColor:l,...c}=e,{prefixCls:u="anticon",rootClassName:d}=M(Ca),f=E(d,u,{[`${u}-${n.name}`]:!!n.name,[`${u}-spin`]:!!r||n.name==="loading"},o),m=a;m===void 0&&s&&(m=-1);let p=i?{msTransform:`rotate(${i}deg)`,transform:`rotate(${i}deg)`}:void 0;return y("span",rb({role:"img","aria-label":n.name},c,{ref:t,tabIndex:m,onClick:s,className:f}),y(GR,{icon:n,style:p}))}),qr=kD;function ob(){return ob=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},ob.apply(this,arguments)}var zD=(e,t)=>y(qr,ob({},e,{ref:t,icon:qR.default})),TD=re(zD),kn=TD;function zn(...e){return e.find(t=>t!==void 0)}var Jd=e=>{let{allowClear:t,clearIcon:o,contextAllowClear:n,contextClearIcon:r,defaultAllowClear:i,componentName:a}=e;return A(()=>t??n??i?{clearIcon:zn(Be(t)?t?.clearIcon:o,Be(n)?n?.clearIcon:r,_.createElement(kn,null)),disabled:(Be(t)?t?.disabled:void 0)??(Be(n)?n?.disabled:void 0)}:!1,[t,o,n,r,i])};var KR=tn(XR());function ib(){return ib=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},ib.apply(this,arguments)}var AD=(e,t)=>y(qr,ib({},e,{ref:t,icon:KR.default})),DD=re(AD),Zo=DD;var ka=e=>{if(!e)return;let{closable:t,closeIcon:o}=e;return{closable:t,closeIcon:o}},YR={},JR=(e,t)=>{if(!e&&(e===!1||t===!1||t===null))return!1;if(!Zt(e)&&!Zt(t))return null;let o={closeIcon:typeof t!="boolean"&&Zt(t)?t:void 0};return Be(e)&&(o={...o,...e}),o},MD=(e,t,o)=>e===!1?!1:e?ku(o,t,e):t===!1?!1:t?ku(o,t):o.closable?o:!1,jD=(e,t,o)=>{let{closeIconRender:n}=t,{closeIcon:r,...i}=e,a=r,s=xo(i,!0);return Zt(a)&&(n&&(a=n(a)),a=_.isValidElement(a)?_.cloneElement(a,{"aria-label":o,...a.props,...s}):_.createElement("span",{"aria-label":o,...s},a)),[a,{"aria-label":o,...s}]},ab=(e,t,o=YR,n="Close")=>{let r=JR(e?.closable,e?.closeIcon),i=JR(t?.closable,t?.closeIcon),a={closeIcon:_.createElement(Zo,null),...o},s=MD(r,i,a),l=typeof s!="boolean"?!!s?.disabled:!1;if(s===!1)return[!1,null,l,{}];let[c,u]=jD(s,a,n);return[!0,c,l,u]},QR=(e,t,o=YR)=>{let[n]=Wt("global",er.global);return _.useMemo(()=>ab(e,t,{closeIcon:_.createElement(Zo,null),...o},n.close),[e,t,o,n.close])};var eI=()=>_.useReducer(e=>e+1,0);var Yd=(e,t)=>{let o={};return Be(e)&&(o=e),typeof e=="boolean"&&(o={enabled:e}),o.closable===void 0&&t!==void 0&&(o.closable=t),o},tI=(e,t,o,n)=>A(()=>{let r=Yd(e,n),i=Yd(t),a={blur:!1,...i,...r,closable:r.closable??n??i.closable??!0},s=a.blur?`${o}-mask-blur`:void 0;return[a.enabled!==!1,{mask:s},!!a.closable]},[e,t,o,n]);var rI=()=>{let[e,t]=W([]),o=ft(n=>(t(r=>[].concat(Et(r),[n])),()=>{t(r=>r.filter(i=>i!==n))}),[]);return[e,o]};var LD=_.createContext(void 0),za=LD;var Wo=100,FD=10,vi=Wo*FD,LQ=vi+Wo,oI={Modal:Wo,Drawer:Wo,Popover:Wo,Popconfirm:Wo,Tooltip:Wo,Tour:Wo,FloatButton:Wo},UD={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1},VD=e=>e in oI,Qd=(e,t)=>{let[,o]=ut(),n=_.useContext(za),r=VD(e),i;if(t!==void 0)i=[t,t];else{let a=n??0;r?a+=(n?0:o.zIndexPopupBase)+oI[e]:a+=UD[e],i=[n===void 0?t:a,a]}return i};var BD=e=>{let{componentCls:t}=e;return{[t]:{display:"inline-flex","&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"}}}},nI=Ae(["Space","Compact"],BD,()=>({}),{resetStyle:!1});var ef=be(null),Tn=(e,t)=>{let o=M(ef),n=A(()=>{if(!o)return"";let{compactDirection:r,isFirstItem:i,isLastItem:a}=o,s=r==="vertical"?"-vertical-":"-";return E(`${e}-compact${s}item`,{[`${e}-compact${s}first-item`]:i,[`${e}-compact${s}last-item`]:a,[`${e}-compact${s}item-rtl`]:t==="rtl"})},[e,t,o]);return{compactSize:o?.compactSize,compactDirection:o?.compactDirection,compactItemClassnames:n}},iI=e=>{let{children:t}=e;return y(ef.Provider,{value:null},t)},HD=e=>{let{children:t,...o}=e;return y(ef.Provider,{value:A(()=>o,[o])},t)},ZD=re((e,t)=>{let{getPrefixCls:o,direction:n}=M(he),{size:r,direction:i,orientation:a,block:s,prefixCls:l,className:c,rootClassName:u,children:d,vertical:f,...m}=e,[p,g]=Nn(a,f,i),x=or(R=>r??R),h=o("space-compact",l),[b]=nI(h),v=E(h,b,{[`${h}-rtl`]:n==="rtl",[`${h}-block`]:s,[`${h}-vertical`]:g},c,u),$=M(ef),S=k(null);Te(t,()=>({nativeElement:S.current}));let C=wr(d),w=A(()=>C.map((R,N)=>{let O=R?.key||`${h}-item-${N}`;return y(HD,{key:O,compactSize:x,compactDirection:p,isFirstItem:N===0&&(!$||$?.isFirstItem),isLastItem:N===C.length-1&&(!$||$?.isLastItem)},R)}),[C,$,p,x,h]);return C.length===0?null:y("div",{ref:S,className:v,...m},w)}),aI=ZD;var sb=be(void 0),WD=e=>{let{getPrefixCls:t,direction:o}=M(he),{prefixCls:n,size:r,className:i,...a}=e,s=t("btn-group",n),[,,l]=ut(),c=A(()=>{switch(r){case"large":return"lg";case"small":return"sm";default:return""}},[r]),u=E(s,{[`${s}-${c}`]:c,[`${s}-rtl`]:o==="rtl"},i,l);return y(sb.Provider,{value:r},y("div",{...a,className:u}))},sI=WD;var lI=tn(cI());function lb(){return lb=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},lb.apply(this,arguments)}var qD=(e,t)=>y(qr,lb({},e,{ref:t,icon:lI.default})),XD=re(qD),Ta=XD;var KD=re((e,t)=>{let{className:o,style:n,children:r,prefixCls:i}=e,a=E(`${i}-icon`,o);return _.createElement("span",{ref:t,className:a,style:n},r)}),tf=KD;var uI=re((e,t)=>{let{prefixCls:o,className:n,style:r,iconClassName:i}=e,a=E(`${o}-loading-icon`,n);return _.createElement(tf,{prefixCls:o,className:a,style:r,ref:t},_.createElement(Ta,{className:i}))}),ub=()=>({width:0,opacity:0,transform:"scale(0)"}),db=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),JD=e=>{let{prefixCls:t,loading:o,existIcon:n,className:r,style:i,mount:a}=e,s=!!o;return n?_.createElement(uI,{prefixCls:t,className:r,style:i}):_.createElement(tr,{visible:s,motionName:`${t}-loading-icon-motion`,motionAppear:!a,motionEnter:!a,motionLeave:!a,removeOnLeave:!0,onAppearStart:ub,onAppearActive:db,onEnterStart:ub,onEnterActive:db,onLeaveStart:db,onLeaveActive:ub},({className:l,style:c},u)=>{let d={...i,...c};return _.createElement(uI,{prefixCls:t,className:E(r,l),style:d,ref:u})})},dI=JD;var YD=e=>{let{componentCls:t,antCls:o,motionDurationMid:n,motionEaseInOut:r}=e;return{[t]:{[`${o}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`${["height","opacity"].map(i=>`${i} ${n} ${r}`).join(", ")} !important`}},[`${o}-motion-collapse`]:{overflow:"hidden",transition:`${["height","opacity"].map(i=>`${i} ${n} ${r}`).join(", ")} !important`}}}},QD=YD;var fI=e=>({animationDuration:e,animationFillMode:"both"}),rf=(e,t,o,n,r=!1)=>{let i=r?"&":"";return{[`
190
+ ${i}${e}-enter,
191
+ ${i}${e}-appear
192
+ `]:{...fI(n),animationPlayState:"paused"},[`${i}${e}-leave`]:{...fI(n),animationPlayState:"paused"},[`
193
+ ${i}${e}-enter${e}-enter-active,
194
+ ${i}${e}-appear${e}-appear-active
195
+ `]:{animationName:t,animationPlayState:"running"},[`${i}${e}-leave${e}-leave-active`]:{animationName:o,animationPlayState:"running",pointerEvents:"none"}}};var mI=new _t("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),pI=new _t("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),dc=(e,t=!1)=>{let{antCls:o}=e,n=`${o}-fade`,r=t?"&":"";return[rf(n,mI,pI,e.motionDurationMid,t),{[`
196
+ ${r}${n}-enter,
197
+ ${r}${n}-appear
198
+ `]:{opacity:0,animationTimingFunction:"linear"},[`${r}${n}-leave`]:{animationTimingFunction:"linear"}}]};var fb=()=>({"@media (prefers-reduced-motion: reduce)":{"&, &::before, &::after":{transition:"none",animation:"none"}}});var gI=new _t("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),hI=new _t("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),mb=new _t("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),pb=new _t("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),vI=new _t("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),xI=new _t("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),yI=new _t("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),bI=new _t("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),$I=new _t("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),SI=new _t("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),CI=new _t("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),_I=new _t("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),e6={zoom:{inKeyframes:gI,outKeyframes:hI},"zoom-big":{inKeyframes:mb,outKeyframes:pb},"zoom-big-fast":{inKeyframes:mb,outKeyframes:pb},"zoom-left":{inKeyframes:yI,outKeyframes:bI},"zoom-right":{inKeyframes:$I,outKeyframes:SI},"zoom-up":{inKeyframes:vI,outKeyframes:xI},"zoom-down":{inKeyframes:CI,outKeyframes:_I}},xi=(e,t)=>{let{antCls:o}=e,n=`${o}-${t}`,{inKeyframes:r,outKeyframes:i}=e6[t];return[rf(n,r,i,t==="zoom-big-fast"?e.motionDurationFast:e.motionDurationMid),{[`
199
+ ${n}-enter,
200
+ ${n}-appear
201
+ `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]};var wI=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),t6=e=>{let{componentCls:t,fontSize:o,lineWidth:n,groupBorderColor:r,colorErrorHover:i}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(n).mul(-1).equal(),[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:o}},wI(`${t}-primary`,r),wI(`${t}-danger`,i)]}},EI=t6;var gb=e=>Math.round(Number(e||0)),r6=e=>{if(e instanceof Ke)return e;if(e&&typeof e=="object"&&"h"in e&&"b"in e){let{b:t,...o}=e;return{...o,v:t}}return typeof e=="string"&&/hsb/.test(e)?e.replace(/hsb/,"hsv"):e},vr=class extends Ke{constructor(t){super(r6(t))}toHsbString(){let t=this.toHsb(),o=gb(t.s*100),n=gb(t.b*100),r=gb(t.h),i=t.a,a=`hsb(${r}, ${o}%, ${n}%)`,s=`hsba(${r}, ${o}%, ${n}%, ${i.toFixed(i===0?0:2)})`;return i===1?a:s}toHsb(){let{v:t,...o}=this.toHsv();return{...o,b:t,a:this.a}}};var hb=e=>e instanceof vr?e:new vr(e),o6=hb("#1677ff");var u6=(e,t)=>e?.replace(/[^0-9a-f]/gi,"").slice(0,t?8:6)||"",d6=(e,t)=>e?u6(e,t):"",fc=(function(){function e(t){if(wo(this,e),this.cleared=!1,t instanceof e){this.metaColor=t.metaColor.clone(),this.colors=t.colors?.map(n=>({color:new e(n.color),percent:n.percent})),this.cleared=t.cleared;return}let o=Array.isArray(t);o&&t.length?(this.colors=t.map(({color:n,percent:r})=>({color:new e(n),percent:r})),this.metaColor=new vr(this.colors[0].color.metaColor)):this.metaColor=new vr(o?"":t),(!t||o&&!this.colors)&&(this.metaColor=this.metaColor.setA(0),this.cleared=!0)}return Eo(e,[{key:"toHsb",value:function(){return this.metaColor.toHsb()}},{key:"toHsbString",value:function(){return this.metaColor.toHsbString()}},{key:"toHex",value:function(){return d6(this.toHexString(),this.metaColor.a<1)}},{key:"toHexString",value:function(){return this.metaColor.toHexString()}},{key:"toRgb",value:function(){return this.metaColor.toRgb()}},{key:"toRgbString",value:function(){return this.metaColor.toRgbString()}},{key:"isGradient",value:function(){return!!this.colors&&!this.cleared}},{key:"getColors",value:function(){return this.colors||[{color:this,percent:0}]}},{key:"toCssString",value:function(){let{colors:o}=this;return o?`linear-gradient(90deg, ${o.map(r=>`${r.color.toRgbString()} ${r.percent}%`).join(", ")})`:this.metaColor.toRgbString()}},{key:"equals",value:function(o){return!o||this.isGradient()!==o.isGradient()?!1:this.isGradient()?this.colors.length===o.colors.length&&this.colors.every((n,r)=>{let i=o.colors[r];return n.percent===i.percent&&n.color.equals(i.color)}):this.toHexString()===o.toHexString()}}])})();var vb=()=>({height:0,opacity:0}),II=e=>({height:e?.scrollHeight??0,opacity:e?1:0}),f6=e=>({height:e?.offsetHeight??0}),xb=(e,t)=>t?.deadline===!0||ju(t)&&t.propertyName==="height",m6=(e=ei)=>({motionName:`${e}-motion-collapse`,onAppearStart:vb,onEnterStart:vb,onAppearActive:II,onEnterActive:II,onLeaveStart:f6,onLeaveActive:vb,onAppearEnd:xb,onEnterEnd:xb,onLeaveEnd:xb,motionDeadline:500});var Ro=(e,t,o)=>o!==void 0?o:`${e}-${t}`;var Wte=m6;var PI=e=>e instanceof fc?e:new fc(e);var NI=(e,t)=>{let{r:o,g:n,b:r,a:i}=e.toRgb(),a=new vr(e.toRgbString()).onBackground(t).toHsv();return i<=.5?a.v>.5:o*.299+n*.587+r*.114>192};var of=e=>{let{paddingInline:t,onlyIconSize:o,borderColorDisabled:n}=e;return Ie(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:0,buttonIconOnlyFontSize:o,colorBorderDisabled:n})},nf=e=>{let t=e.contentFontSize??e.fontSize,o=e.contentFontSizeSM??e.fontSize,n=e.contentFontSizeLG??e.fontSizeLG,r=e.contentLineHeight??wa(t),i=e.contentLineHeightSM??wa(o),a=e.contentLineHeightLG??wa(n),s=NI(new fc(e.colorBgSolid),"#fff")?"#000":"#fff",l=It.reduce((d,f)=>({...d,[`${f}ShadowColor`]:`0 ${B(e.controlOutlineWidth)} 0 ${hi(e[`${f}1`],e.colorBgContainer)}`}),{}),c=e.colorBgContainerDisabled,u=e.colorBgContainerDisabled;return{...l,fontWeight:400,iconGap:e.marginXS,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorderDisabled,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:"inherit",onlyIconSizeSM:"inherit",onlyIconSizeLG:"inherit",groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textTextColor:e.colorText,textTextHoverColor:e.colorText,textTextActiveColor:e.colorText,textHoverBg:e.colorFillTertiary,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,solidTextColor:s,contentFontSize:t,contentFontSizeSM:o,contentFontSizeLG:n,contentLineHeight:r,contentLineHeightSM:i,contentLineHeightLG:a,paddingBlock:Math.max((e.controlHeight-t*r)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-o*i)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-n*a)/2-e.lineWidth,0),defaultBgDisabled:c,dashedBgDisabled:u}};var p6=e=>{let{componentCls:t,antCls:o,lineWidth:n,lineType:r}=e,[i,a]=gt(o,"btn");return{[t]:[{[i("border-width")]:n,[i("border-color")]:"#000",[i("border-color-hover")]:a("border-color"),[i("border-color-active")]:a("border-color"),[i("border-color-disabled")]:a("border-color"),[i("border-style")]:r,[i("text-color")]:"#000",[i("text-color-hover")]:a("text-color"),[i("text-color-active")]:a("text-color"),[i("text-color-disabled")]:a("text-color"),[i("bg-color")]:"#ddd",[i("bg-color-hover")]:a("bg-color"),[i("bg-color-active")]:a("bg-color"),[i("bg-color-disabled")]:e.colorBgContainerDisabled,[i("bg-color-container")]:e.colorBgContainer,[i("shadow")]:"none"},{border:[a("border-width"),a("border-style"),a("border-color")].join(" "),color:a("text-color"),backgroundColor:a("bg-color"),[`&:not(:disabled):not(${t}-disabled)`]:{"&:hover":{border:[a("border-width"),a("border-style"),a("border-color-hover")].join(" "),color:a("text-color-hover"),backgroundColor:a("bg-color-hover")},"&:active":{border:[a("border-width"),a("border-style"),a("border-color-active")].join(" "),color:a("text-color-active"),backgroundColor:a("bg-color-active")}}},{[`&${t}-variant-solid`]:{[i("solid-bg-color")]:a("color-base"),[i("solid-bg-color-hover")]:a("color-hover"),[i("solid-bg-color-active")]:a("color-active"),[i("border-color")]:"transparent",[i("text-color")]:e.colorTextLightSolid,[i("bg-color")]:a("solid-bg-color"),[i("bg-color-hover")]:a("solid-bg-color-hover"),[i("bg-color-active")]:a("solid-bg-color-active"),boxShadow:a("shadow")},[`&${t}-variant-outlined, &${t}-variant-dashed`]:{[i("border-color")]:a("color-base"),[i("border-color-hover")]:a("color-hover"),[i("border-color-active")]:a("color-active"),[i("bg-color")]:a("bg-color-container"),[i("text-color")]:a("color-base"),[i("text-color-hover")]:a("color-hover"),[i("text-color-active")]:a("color-active"),boxShadow:a("shadow")},[`&${t}-variant-dashed`]:{[i("border-style")]:"dashed",[i("bg-color-disabled")]:e.dashedBgDisabled},[`&${t}-variant-filled`]:{[i("border-color")]:"transparent",[i("text-color")]:a("color-base"),[i("bg-color")]:a("color-light"),[i("bg-color-hover")]:a("color-light-hover"),[i("bg-color-active")]:a("color-light-active")},[`&${t}-variant-text, &${t}-variant-link`]:{[i("border-color")]:"transparent",[i("text-color")]:a("color-base"),[i("text-color-hover")]:a("color-hover"),[i("text-color-active")]:a("color-active"),[i("bg-color")]:"transparent",[i("bg-color-hover")]:"transparent",[i("bg-color-active")]:"transparent",[`&:disabled, &${e.componentCls}-disabled`]:{background:"transparent",borderColor:"transparent"}},[`&${t}-variant-text`]:{[i("bg-color-hover")]:a("color-light"),[i("bg-color-active")]:a("color-light-active")}},{[`&${t}-variant-link`]:{[i("color-base")]:e.colorLink,[i("color-hover")]:e.colorLinkHover,[i("color-active")]:e.colorLinkActive,[i("bg-color-hover")]:e.linkHoverBg},[`&${t}-color-primary`]:{[i("color-base")]:e.colorPrimary,[i("color-hover")]:e.colorPrimaryHover,[i("color-active")]:e.colorPrimaryActive,[i("color-light")]:e.colorPrimaryBg,[i("color-light-hover")]:e.colorPrimaryBgHover,[i("color-light-active")]:e.colorPrimaryBorder,[i("shadow")]:e.primaryShadow,[`&${t}-variant-solid`]:{[i("text-color")]:e.primaryColor,[i("text-color-hover")]:a("text-color"),[i("text-color-active")]:a("text-color")}},[`&${t}-color-dangerous`]:{[i("color-base")]:e.colorError,[i("color-hover")]:e.colorErrorHover,[i("color-active")]:e.colorErrorActive,[i("color-light")]:e.colorErrorBg,[i("color-light-hover")]:e.colorErrorBgFilledHover,[i("color-light-active")]:e.colorErrorBgActive,[i("shadow")]:e.dangerShadow,[`&${t}-variant-solid`]:{[i("text-color")]:e.dangerColor,[i("text-color-hover")]:a("text-color"),[i("text-color-active")]:a("text-color")}},[`&${t}-color-default`]:{[i("solid-bg-color")]:e.colorBgSolid,[i("solid-bg-color-hover")]:e.colorBgSolidHover,[i("solid-bg-color-active")]:e.colorBgSolidActive,[i("color-base")]:e.defaultBorderColor,[i("color-hover")]:e.defaultHoverBorderColor,[i("color-active")]:e.defaultActiveBorderColor,[i("color-light")]:e.colorFillTertiary,[i("color-light-hover")]:e.colorFillSecondary,[i("color-light-active")]:e.colorFill,[i("text-color")]:e.defaultColor,[i("text-color-hover")]:e.defaultHoverColor,[i("text-color-active")]:e.defaultActiveColor,[i("shadow")]:e.defaultShadow,[`&${t}-variant-outlined`]:{[i("bg-color-disabled")]:e.defaultBgDisabled},[`&${t}-variant-solid`]:{[i("text-color")]:e.solidTextColor,[i("text-color-hover")]:a("text-color"),[i("text-color-active")]:a("text-color")},[`&${t}-variant-filled, &${t}-variant-text`]:{[i("text-color-hover")]:a("text-color"),[i("text-color-active")]:a("text-color")},[`&${t}-variant-outlined, &${t}-variant-dashed`]:{[i("text-color")]:e.defaultColor,[i("text-color-hover")]:e.defaultHoverColor,[i("text-color-active")]:e.defaultActiveColor,[i("bg-color-container")]:e.defaultBg,[i("bg-color-hover")]:e.defaultHoverBg,[i("bg-color-active")]:e.defaultActiveBg},[`&${t}-variant-text`]:{[i("text-color")]:e.textTextColor,[i("text-color-hover")]:e.textTextHoverColor,[i("text-color-active")]:e.textTextActiveColor,[i("bg-color-hover")]:e.textHoverBg},[`&${t}-background-ghost`]:{[`&${t}-variant-outlined, &${t}-variant-dashed`]:{[i("text-color")]:e.defaultGhostColor,[i("border-color")]:e.defaultGhostBorderColor}}}},It.map(s=>{let l=e[`${s}6`],c=e[`${s}1`],u=e[`${s}Hover`],d=e[`${s}2`],f=e[`${s}3`],m=e[`${s}Active`],p=e[`${s}ShadowColor`];return{[`&${t}-color-${s}`]:{[i("color-base")]:l,[i("color-hover")]:u,[i("color-active")]:m,[i("color-light")]:c,[i("color-light-hover")]:d,[i("color-light-active")]:f,[i("shadow")]:p}}}),{[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",borderColor:e.colorBorderDisabled,background:a("bg-color-disabled"),color:e.colorTextDisabled,boxShadow:"none"}},{[`&${t}-background-ghost`]:{[i("bg-color")]:e.ghostBg,[i("bg-color-hover")]:e.ghostBg,[i("bg-color-active")]:e.ghostBg,[i("shadow")]:"none",[`&${t}-variant-outlined, &${t}-variant-dashed`]:{[i("bg-color-hover")]:e.ghostBg,[i("bg-color-active")]:e.ghostBg}}}]}},kI=p6;var g6=e=>{let{componentCls:t,iconCls:o,fontWeight:n,opacityLoading:r,motionDurationSlow:i,motionEaseInOut:a,iconGap:s,calc:l}=e;return{[t]:{outline:"none",position:"relative",display:"inline-flex",gap:s,alignItems:"center",justifyContent:"center",fontWeight:n,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",...fb(),"&:disabled > *":{pointerEvents:"none"},[`${t}-icon > svg`]:Wy(),[`${t}-icon`]:{display:"inline-flex",alignItems:"center",[o]:{verticalAlign:"middle","&:before":{content:'"\\a0"',display:"inline-block",width:0}}},"> a":{color:"currentColor"},"&:not(:disabled)":Pn(e),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${o})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&${t}-icon-only`]:{paddingInline:0,[`&${t}-compact-item`]:{flex:"none"}},[`&${t}-loading`]:{opacity:r,cursor:"default"},[`${t}-loading-icon`]:{transition:["width","opacity","margin"].map(c=>`${c} ${i} ${a}`).join(",")},[`&:not(${t}-icon-end)`]:{[`${t}-loading-icon-motion`]:{"&-appear-start, &-enter-start, &-appear-prepare, &-enter-prepare":{marginInlineEnd:l(s).mul(-1).equal(),opacity:0},"&-appear-active, &-enter-active":{marginInlineEnd:0},"&-leave-start":{marginInlineEnd:0},"&-leave-active":{marginInlineEnd:l(s).mul(-1).equal()}}},"&-icon-end":{flexDirection:"row-reverse",[`${t}-loading-icon-motion`]:{"&-appear-start, &-enter-start, &-appear-prepare, &-enter-prepare":{marginInlineStart:l(s).mul(-1).equal(),opacity:0},"&-appear-active, &-enter-active":{marginInlineStart:0},"&-leave-start":{marginInlineStart:0},"&-leave-active":{marginInlineStart:l(s).mul(-1).equal()}}}}}},h6=e=>({minWidth:e.controlHeight,paddingInline:0,borderRadius:"50%"}),yb=(e,t="")=>{let{componentCls:o,controlHeight:n,fontSize:r,borderRadius:i,buttonPaddingHorizontal:a,iconCls:s,buttonPaddingVertical:l,buttonIconOnlyFontSize:c}=e;return[{[t]:{fontSize:r,height:n,padding:`${B(l)} ${B(a)}`,borderRadius:i,[`&${o}-icon-only`]:{width:n,[s]:{fontSize:c}}}},{[`${o}${o}-circle${t}`]:h6(e)},{[`${o}${o}-round${t}`]:{borderRadius:e.controlHeight,[`&:not(${o}-icon-only)`]:{paddingInline:e.buttonPaddingHorizontal}}}]},v6=e=>{let t=Ie(e,{fontSize:e.contentFontSize});return yb(t,e.componentCls)},x6=e=>{let t=Ie(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:0,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM});return yb(t,`${e.componentCls}-sm`)},y6=e=>{let t=Ie(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:0,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return yb(t,`${e.componentCls}-lg`)},b6=e=>{let{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},zI=Ae("Button",e=>{let t=of(e);return[g6(t),v6(t),x6(t),y6(t),b6(t),kI(t),EI(t)]},nf,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});function $6(e,t,o,n){let{focusElCls:r,focus:i,borderElCls:a}=o,s=a?"> *":"",l=s?` ${s}`:"",c=f=>f.filter(Boolean).map(m=>`&:${m}${l}`).join(","),u=c(["hover",r?`hover${r}`:null]),d=c([i?"focus":null,"active"]);return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},[`&-item:not(${n}-status-success)`]:{zIndex:2},"&-item":{[d]:{zIndex:3},[u]:{zIndex:4},...r?{[`&${r}`]:{zIndex:3}}:{},[`&[disabled] ${s}`]:{zIndex:0}}}}function S6(e,t,o){let{borderElCls:n}=o,r=n?`> ${n}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${r}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${r}, &${e}-sm ${r}, &${e}-lg ${r}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${r}, &${e}-sm ${r}, &${e}-lg ${r}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function Oa(e,t={focus:!0}){let{componentCls:o}=e,{componentCls:n}=t,r=n||o,i=`${r}-compact`;return{[i]:{...$6(e,i,t,r),...S6(r,i,t)}}}function C6(e,t,o){return{[`&-item:not(${t}-last-item)`]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},[`&-item:not(${o}-status-success)`]:{zIndex:2},"&-item":{"&:focus,&:active":{zIndex:3},"&:hover":{zIndex:4},"&[disabled]":{zIndex:0}}}}function _6(e,t){return{[`&-item:not(${t}-first-item):not(${t}-last-item)`]:{borderRadius:0},[`&-item${t}-first-item:not(${t}-last-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${t}-last-item:not(${t}-first-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function TI(e){let t=`${e.componentCls}-compact-vertical`;return{[t]:{...C6(e,t,e.componentCls),..._6(e.componentCls,t)}}}var w6=e=>{let{antCls:t,componentCls:o,lineWidth:n,calc:r,colorBgContainer:i}=e,a=`${o}-variant-solid:not([disabled])`,s=r(n).mul(-1).equal(),[l,c]=gt(t,"btn"),u=d=>({[`${o}-compact${d?"-vertical":""}-item`]:{[l("compact-connect-border-color")]:c("bg-color-hover"),[`&${a}`]:{transition:"none",[`& + ${a}:before`]:[{position:"absolute",backgroundColor:c("compact-connect-border-color"),content:'""'},d?{top:s,insetInline:s,height:n}:{insetBlock:s,insetInlineStart:s,width:n}],"&:hover:before":{display:"none"}}}});return[u(),u(!0),{[`${a}${o}-color-default`]:{[l("compact-connect-border-color")]:`color-mix(in srgb, ${c("bg-color-hover")} 75%, ${i})`}}]},OI=Ho(["Button","compact"],e=>{let t=of(e);return[Oa(t),TI(t),w6(t)]},nf);function E6(e){if(Be(e)){let t=e?.delay;return t=pr(t)?t:0,{loading:t<=0,delay:t}}return{loading:!!e,delay:0}}var R6={default:["default","outlined"],primary:["primary","solid"],dashed:["default","dashed"],link:["link","link"],text:["default","text"]},I6=_.forwardRef((e,t)=>{let{_skipSemantic:o,loading:n=!1,prefixCls:r,color:i,variant:a,type:s,danger:l=!1,shape:c,size:u,disabled:d,className:f,rootClassName:m,children:p,icon:g,iconPosition:x,iconPlacement:h,ghost:b=!1,block:v=!1,htmlType:$="button",classNames:S,styles:C,style:w,autoInsertSpace:R,autoFocus:N,...O}=e,P=wr(p),z=s||"default",{getPrefixCls:D,direction:L,autoInsertSpace:F,className:Z,style:J,classNames:G,styles:ne,loadingIcon:Y,shape:Q,color:ee,variant:se}=Xe("button"),ce=c||Q||"default",[oe,de]=A(()=>{if(i&&a)return[i,a];if(s||l){let Oe=R6[z]||[];return l?["danger",Oe[1]]:Oe}return a==="solid"?["primary",a]:ee&&se?[ee,se]:se==="solid"?["primary",se]:["default","outlined"]},[i,a,s,l,ee,se,z]),[ve,ae]=A(()=>b&&de==="solid"?[oe,"outlined"]:[oe,de],[oe,de,b]),le=ve==="danger",Se=le?"dangerous":ve,we=R??F??!0,q=D("btn",r),[ke,fe]=zI(q),me=M(Rn),Ce=d??me,ue=M(sb),pe=A(()=>E6(n),[n]),[Me,at]=vu(pe.loading),[Tt,De]=W(!1),st=k(null),vt=Or(t,st),Lr=P.length===1&&!g&&!qd(ae),Ot=k(!0);_.useEffect(()=>(Ot.current=!1,()=>{Ot.current=!0}),[]),et(()=>{pe.delay>0?at(!0,{ms:pe.delay}):at(pe.loading,!0)},[pe.delay,pe.loading]),K(()=>{if(!st.current||!we)return;let Oe=st.current.textContent||"";Lr&&Wd(Oe)?Tt||De(!0):Tt&&De(!1)}),K(()=>{N&&st.current?.focus()},[]);let Fr=_.useCallback(Oe=>{if(Me||Ce){Oe.preventDefault();return}e.onClick?.(("href"in e,Oe))},[e.onClick,Me,Ce]),{compactSize:qt,compactItemClassnames:jt}=Tn(q,L),ct=or(Oe=>u??qt??ue??Oe),xr=Me?"loading":g,He=h??x??"start",Nt=mr(O,["navigate"]),Ve={...e,type:z,color:ve,variant:ae,danger:le,shape:ce,size:ct,disabled:Ce,loading:Me,iconPlacement:He},Ze=qe(J),je=qe(w),[Je,xt]=tt([o?void 0:G,S],[o?void 0:ne,Ze,C,je],{props:Ve}),wt=E(q,ke,fe,{[`${q}-${ce}`]:ce!=="default"&&ce!=="square"&&ce,[`${q}-${z}`]:z,[`${q}-dangerous`]:l,[`${q}-color-${Se}`]:Se,[`${q}-variant-${ae}`]:ae,[`${q}-lg`]:ct==="large",[`${q}-sm`]:ct==="small",[`${q}-icon-only`]:!p&&p!==0&&!!xr,[`${q}-background-ghost`]:b&&!qd(ae),[`${q}-loading`]:Me,[`${q}-two-chinese-chars`]:Tt&&we&&!Me,[`${q}-block`]:v,[`${q}-rtl`]:L==="rtl",[`${q}-icon-end`]:He==="end"},jt,f,m,Z,Je.root),lt={className:Je.icon,style:xt.icon},Lt=Oe=>_.createElement(tf,{prefixCls:q,...lt},Oe),Xt=_.createElement(dI,{existIcon:!!g,prefixCls:q,loading:Me,mount:Ot.current,...lt}),yr=Be(n)&&n.icon||Y,Ft;g&&!Me?Ft=Lt(g):n&&yr?Ft=Lt(yr):Ft=Xt;let Ut=mt(p)?wR(p,Lr&&we,xt.content,Je.content):null;if(Nt.href!==void 0)return _.createElement("a",{...Nt,className:E(wt,{[`${q}-disabled`]:Ce}),href:Ce?void 0:Nt.href,style:xt.root,onClick:Fr,ref:vt,tabIndex:Ce?-1:0,"aria-disabled":Ce},Ft,Ut);let nr=_.createElement("button",{...O,type:$,className:wt,style:xt.root,onClick:Fr,disabled:Ce,ref:vt},Ft,Ut,jt&&_.createElement(OI,{prefixCls:q}));return qd(ae)||(nr=_.createElement(zR,{component:"Button",disabled:Me},nr)),nr}),bb=I6;bb.Group=sI;bb.__ANT_BUTTON=!0;var Aa=bb;var no="RC_FORM_INTERNAL_HOOKS",rt=()=>{At(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},P6=be({getFieldValue:rt,getFieldsValue:rt,getFieldError:rt,getFieldWarning:rt,getFieldsError:rt,isFieldsTouched:rt,isFieldTouched:rt,isFieldValidating:rt,isFieldsValidating:rt,resetFields:rt,setFields:rt,setFieldValue:rt,setFieldsValue:rt,validateFields:rt,submit:rt,getInternalHooks:()=>(rt(),{dispatch:rt,initEntityValue:rt,registerField:rt,useSubscribe:rt,setInitialValues:rt,destroyForm:rt,setCallbacks:rt,registerWatch:rt,getFields:rt,setValidateMessages:rt,setPreserve:rt,getInitialValue:rt})}),io=P6;function mc(e){return e==null?[]:Array.isArray(e)?e:[e]}function AI(e){return e&&!!e._init}function dt(e){return mc(e)}function $b(e,t){let o={};return t.forEach(n=>{let r=zt(e,n);o=Ht(o,n,r)}),o}function On(e,t,o=!1){return e&&e.some(n=>Da(t,n,o))}function Da(e,t,o=!1){return!e||!t||!o&&e.length!==t.length?!1:t.every((n,r)=>e[r]===n)}function DI(e,t){if(e===t)return!0;if(!e&&t||e&&!t||!e||!t||typeof e!="object"||typeof t!="object")return!1;let o=Object.keys(e),n=Object.keys(t);return[...new Set([...o,...n])].every(i=>{let a=e[i],s=t[i];return typeof a=="function"&&typeof s=="function"?!0:a===s})}function MI(e,...t){let o=t[0];return o&&o.target&&typeof o.target=="object"&&e in o.target?o.target[e]:o}function Sb(e,t,o){let{length:n}=e;if(t<0||t>=n||o<0||o>=n)return e;let r=e[t],i=t-o;return i>0?[...e.slice(0,o),r,...e.slice(o,t),...e.slice(t+1,n)]:i<0?[...e.slice(0,t),...e.slice(t+1,o+1),r,...e.slice(o+1,n)]:e}function Cb(e){try{return JSON.stringify(e)}catch{return Math.random()}}function N6(...e){let[t,o={}]=e,n=AI(o)?{form:o}:o,r=n.form,[i,a]=W(()=>typeof t=="function"?t({}):void 0),s=A(()=>Cb(i),[i]),l=k(s);l.current=s;let c=M(io),u=r||c,d=u&&u._init,{getFieldsValue:f,getInternalHooks:m}=u,{registerWatch:p}=m(no),g=xe((h,b)=>{let v=n.preserve?b??f(!0):h??f(),$=typeof t=="function"?t(v):zt(v,dt(t));Cb(i)!==Cb($)&&a($)}),x=typeof t=="function"?t:JSON.stringify(t);return K(()=>{d&&g()},[d,x]),K(()=>d?p((b,v)=>{g(b,v)}):void 0,[d]),i}var jI=N6;var k6=be(null),An=k6;function af(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",tel:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone(){let e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var sf=af();var z6=/%[sdj%]/g,FI=()=>{};typeof process<"u"&&process.env;function cf(e){if(!e||!e.length)return null;let t={};return e.forEach(o=>{let n=o.field;t[n]=t[n]||[],t[n].push(o)}),t}function Pt(e,...t){let o=0,n=t.length;return typeof e=="function"?e.apply(null,t):typeof e=="string"?e.replace(z6,i=>{if(i==="%%")return"%";if(o>=n)return i;switch(i){case"%s":return String(t[o++]);case"%d":return Number(t[o++]);case"%j":try{return JSON.stringify(t[o++])}catch{return"[Circular]"}break;default:return i}}):e}function T6(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"||e==="tel"}function Ue(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||T6(t)&&typeof e=="string"&&!e)}function O6(e,t,o){let n=[],r=0,i=e.length;function a(s){n.push(...s||[]),r++,r===i&&o(n)}e.forEach(s=>{t(s,a)})}function LI(e,t,o){let n=0,r=e.length;function i(a){if(a&&a.length){o(a);return}let s=n;n=n+1,s<r?t(e[s],i):o([])}i([])}function A6(e){let t=[];return Object.keys(e).forEach(o=>{t.push(...e[o]||[])}),t}var lf=class extends Error{errors;fields;constructor(t,o){super("Async Validation Error"),this.errors=t,this.fields=o}};function UI(e,t,o,n,r){if(t.first){let d=new Promise((f,m)=>{let p=x=>(n(x),x.length?m(new lf(x,cf(x))):f(r)),g=A6(e);LI(g,o,p)});return d.catch(f=>f),d}let i=t.firstFields===!0?Object.keys(e):t.firstFields||[],a=Object.keys(e),s=a.length,l=0,c=[],u=new Promise((d,f)=>{let m=p=>{if(c.push.apply(c,p),l++,l===s)return n(c),c.length?f(new lf(c,cf(c))):d(r)};a.length||(n(c),d(r)),a.forEach(p=>{let g=e[p];i.indexOf(p)!==-1?LI(g,o,m):O6(g,o,m)})});return u.catch(d=>d),u}function D6(e){return!!(e&&e.message!==void 0)}function M6(e,t){let o=e;for(let n=0;n<t.length;n++){if(o==null)return o;o=o[t[n]]}return o}function _b(e,t){return o=>{let n;return e.fullFields?n=M6(t,e.fullFields):n=t[o.field||e.fullField],D6(o)?(o.field=o.field||e.fullField,o.fieldValue=n,o):{message:typeof o=="function"?o():o,fieldValue:n,field:o.field||e.fullField}}}function wb(e,t){if(t){for(let o in t)if(t.hasOwnProperty(o)){let n=t[o];typeof n=="object"&&typeof e[o]=="object"?e[o]={...e[o],...n}:e[o]=n}}return e}var Ma="enum",j6=(e,t,o,n,r)=>{e[Ma]=Array.isArray(e[Ma])?e[Ma]:[],e[Ma].indexOf(t)===-1&&n.push(Pt(r.messages[Ma],e.fullField,e[Ma].join(", ")))},VI=j6;var L6=(e,t,o,n,r)=>{e.pattern&&(e.pattern instanceof RegExp?(e.pattern.lastIndex=0,e.pattern.test(t)||n.push(Pt(r.messages.pattern.mismatch,e.fullField,t,e.pattern))):typeof e.pattern=="string"&&(new RegExp(e.pattern).test(t)||n.push(Pt(r.messages.pattern.mismatch,e.fullField,t,e.pattern))))},BI=L6;var F6=(e,t,o,n,r)=>{let i=typeof e.len=="number",a=typeof e.min=="number",s=typeof e.max=="number",l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=t,u=null,d=typeof t=="number",f=typeof t=="string",m=Array.isArray(t);if(d?u="number":f?u="string":m&&(u="array"),!u)return!1;m&&(c=t.length),f&&(c=t.replace(l,"_").length),i?c!==e.len&&n.push(Pt(r.messages[u].len,e.fullField,e.len)):a&&!s&&c<e.min?n.push(Pt(r.messages[u].min,e.fullField,e.min)):s&&!a&&c>e.max?n.push(Pt(r.messages[u].max,e.fullField,e.max)):a&&s&&(c<e.min||c>e.max)&&n.push(Pt(r.messages[u].range,e.fullField,e.min,e.max))},HI=F6;var U6=(e,t,o,n,r,i)=>{e.required&&(!o.hasOwnProperty(e.field)||Ue(t,i||e.type))&&n.push(Pt(r.messages.required,e.fullField))},uf=U6;var df,ZI=(()=>{if(df)return df;let e="[a-fA-F\\d:]",t=S=>S&&S.includeBoundaries?`(?:(?<=\\s|^)(?=${e})|(?<=${e})(?=\\s|$))`:"",o="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",n="[a-fA-F\\d]{1,4}",a=`(?:${[`(?:${n}:){7}(?:${n}|:)`,`(?:${n}:){6}(?:${o}|:${n}|:)`,`(?:${n}:){5}(?::${o}|(?::${n}){1,2}|:)`,`(?:${n}:){4}(?:(?::${n}){0,1}:${o}|(?::${n}){1,3}|:)`,`(?:${n}:){3}(?:(?::${n}){0,2}:${o}|(?::${n}){1,4}|:)`,`(?:${n}:){2}(?:(?::${n}){0,3}:${o}|(?::${n}){1,5}|:)`,`(?:${n}:){1}(?:(?::${n}){0,4}:${o}|(?::${n}){1,6}|:)`,`(?::(?:(?::${n}){0,5}:${o}|(?::${n}){1,7}|:))`].join("|")})(?:%[0-9a-zA-Z]{1,})?`,s=new RegExp(`(?:^${o}$)|(?:^${a}$)`),l=new RegExp(`^${o}$`),c=new RegExp(`^${a}$`),u=S=>S&&S.exact?s:new RegExp(`(?:${t(S)}${o}${t(S)})|(?:${t(S)}${a}${t(S)})`,"g");u.v4=S=>S&&S.exact?l:new RegExp(`${t(S)}${o}${t(S)}`,"g"),u.v6=S=>S&&S.exact?c:new RegExp(`${t(S)}${a}${t(S)}`,"g");let d="(?:(?:[a-z]+:)?//)",f="(?:\\S+(?::\\S*)?@)?",m=u.v4().source,p=u.v6().source,$=`(?:${d}|www\\.)${f}(?:localhost|${m}|${p}|(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))(?::\\d{2,5})?(?:[/?#][^\\s"]*)?`;return df=new RegExp(`(?:^${$}$)`,"i"),df});var Eb={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,tel:/^(\+[0-9]{1,3}[-\s\u2011]?)?(\([0-9]{1,4}\)[-\s\u2011]?)?([0-9]+[-\s\u2011]?)*[0-9]+$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},pc={integer(e){return pc.number(e)&&parseInt(e,10)===e},float(e){return pc.number(e)&&!pc.integer(e)},array(e){return Array.isArray(e)},regexp(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch{return!1}},date(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number(e){return isNaN(e)?!1:typeof e=="number"},object(e){return typeof e=="object"&&!pc.array(e)},method(e){return typeof e=="function"},email(e){return typeof e=="string"&&e.length<=320&&!!e.match(Eb.email)},tel(e){return typeof e=="string"&&e.length<=32&&!!e.match(Eb.tel)},url(e){return typeof e=="string"&&e.length<=2048&&!!e.match(ZI())},hex(e){return typeof e=="string"&&!!e.match(Eb.hex)}},V6=(e,t,o,n,r)=>{if(e.required&&t===void 0){uf(e,t,o,n,r);return}let i=["integer","float","array","regexp","object","method","email","tel","number","date","url","hex"],a=e.type;i.indexOf(a)>-1?pc[a](t)||n.push(Pt(r.messages.types[a],e.fullField,e.type)):a&&typeof t!==e.type&&n.push(Pt(r.messages.types[a],e.fullField,e.type))},WI=V6;var B6=(e,t,o,n,r)=>{(/^\s+$/.test(t)||t==="")&&n.push(Pt(r.messages.whitespace,e.fullField))},GI=B6;var ye={required:uf,whitespace:GI,type:WI,range:HI,enum:VI,pattern:BI};var H6=(e,t,o,n,r)=>{let i=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(Ue(t)&&!e.required)return o();ye.required(e,t,n,i,r)}o(i)},qI=H6;var Z6=(e,t,o,n,r)=>{let i=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(t==null&&!e.required)return o();ye.required(e,t,n,i,r,"array"),t!=null&&(ye.type(e,t,n,i,r),ye.range(e,t,n,i,r))}o(i)},XI=Z6;var W6=(e,t,o,n,r)=>{let i=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(Ue(t)&&!e.required)return o();ye.required(e,t,n,i,r),t!==void 0&&ye.type(e,t,n,i,r)}o(i)},KI=W6;var G6=(e,t,o,n,r)=>{let i=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(Ue(t,"date")&&!e.required)return o();if(ye.required(e,t,n,i,r),!Ue(t,"date")){let s;t instanceof Date?s=t:s=new Date(t),ye.type(e,s,n,i,r),s&&ye.range(e,s.getTime(),n,i,r)}}o(i)},JI=G6;var q6="enum",X6=(e,t,o,n,r)=>{let i=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(Ue(t)&&!e.required)return o();ye.required(e,t,n,i,r),t!==void 0&&ye[q6](e,t,n,i,r)}o(i)},YI=X6;var K6=(e,t,o,n,r)=>{let i=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(Ue(t)&&!e.required)return o();ye.required(e,t,n,i,r),t!==void 0&&(ye.type(e,t,n,i,r),ye.range(e,t,n,i,r))}o(i)},QI=K6;var J6=(e,t,o,n,r)=>{let i=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(Ue(t)&&!e.required)return o();ye.required(e,t,n,i,r),t!==void 0&&(ye.type(e,t,n,i,r),ye.range(e,t,n,i,r))}o(i)},eP=J6;var Y6=(e,t,o,n,r)=>{let i=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(Ue(t)&&!e.required)return o();ye.required(e,t,n,i,r),t!==void 0&&ye.type(e,t,n,i,r)}o(i)},tP=Y6;var Q6=(e,t,o,n,r)=>{let i=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(t===""&&(t=void 0),Ue(t)&&!e.required)return o();ye.required(e,t,n,i,r),t!==void 0&&(ye.type(e,t,n,i,r),ye.range(e,t,n,i,r))}o(i)},rP=Q6;var eM=(e,t,o,n,r)=>{let i=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(Ue(t)&&!e.required)return o();ye.required(e,t,n,i,r),t!==void 0&&ye.type(e,t,n,i,r)}o(i)},oP=eM;var tM=(e,t,o,n,r)=>{let i=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(Ue(t,"string")&&!e.required)return o();ye.required(e,t,n,i,r),Ue(t,"string")||ye.pattern(e,t,n,i,r)}o(i)},nP=tM;var rM=(e,t,o,n,r)=>{let i=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(Ue(t)&&!e.required)return o();ye.required(e,t,n,i,r),Ue(t)||ye.type(e,t,n,i,r)}o(i)},iP=rM;var oM=(e,t,o,n,r)=>{let i=[],a=Array.isArray(t)?"array":typeof t;ye.required(e,t,n,i,r,a),o(i)},aP=oM;var nM=(e,t,o,n,r)=>{let i=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(Ue(t,"string")&&!e.required)return o();ye.required(e,t,n,i,r,"string"),Ue(t,"string")||(ye.type(e,t,n,i,r),ye.range(e,t,n,i,r),ye.pattern(e,t,n,i,r),e.whitespace===!0&&ye.whitespace(e,t,n,i,r))}o(i)},sP=nM;var iM=(e,t,o,n,r)=>{let i=e.type,a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(Ue(t,i)&&!e.required)return o();ye.required(e,t,n,a,r,i),Ue(t,i)||ye.type(e,t,n,a,r)}o(a)},gc=iM;var ja={string:sP,method:tP,number:rP,boolean:KI,regexp:iP,integer:eP,float:QI,array:XI,object:oP,enum:YI,pattern:nP,date:JI,url:gc,hex:gc,email:gc,tel:gc,required:aP,any:qI};var Rb=class e{static register=function(o,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");ja[o]=n};static warning=FI;static messages=sf;static validators=ja;rules=null;_messages=sf;constructor(t){this.define(t)}define(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={},Object.keys(t).forEach(o=>{let n=t[o];this.rules[o]=Array.isArray(n)?n:[n]})}messages(t){return t&&(this._messages=wb(af(),t)),this._messages}validate(t,o={},n=()=>{}){let r=t,i=o,a=n;if(typeof i=="function"&&(a=i,i={}),!this.rules||Object.keys(this.rules).length===0)return a&&a(null,r),Promise.resolve(r);function s(d){let f=[],m={};function p(g){Array.isArray(g)?f=f.concat(...g):f.push(g)}for(let g=0;g<d.length;g++)p(d[g]);f.length?(m=cf(f),a(f,m)):a(null,r)}if(i.messages){let d=this.messages();d===sf&&(d=af()),wb(d,i.messages),i.messages=d}else i.messages=this.messages();let l={};(i.keys||Object.keys(this.rules)).forEach(d=>{let f=this.rules[d],m=r[d];f.forEach(p=>{let g=p;typeof g.transform=="function"&&(r===t&&(r={...r}),m=r[d]=g.transform(m),m!=null&&(g.type=g.type||(Array.isArray(m)?"array":typeof m))),typeof g=="function"?g={validator:g}:g={...g},g.validator=this.getValidationMethod(g),g.validator&&(g.field=d,g.fullField=g.fullField||d,g.type=this.getType(g),l[d]=l[d]||[],l[d].push({rule:g,value:m,source:r,field:d}))})});let u={};return UI(l,i,(d,f)=>{let m=d.rule,p=(m.type==="object"||m.type==="array")&&(typeof m.fields=="object"||typeof m.defaultField=="object");p=p&&(m.required||!m.required&&d.value),m.field=d.field;function g(b,v){return{...v,fullField:`${m.fullField}.${b}`,fullFields:m.fullFields?[...m.fullFields,b]:[b]}}function x(b=[]){let v=Array.isArray(b)?b:[b];!i.suppressWarning&&v.length&&e.warning("async-validator:",v),v.length&&m.message!==void 0&&m.message!==null&&(v=[].concat(m.message));let $=v.map(_b(m,r));if(i.first&&$.length)return u[m.field]=1,f($);if(!p)f($);else{if(m.required&&!d.value)return m.message!==void 0?$=[].concat(m.message).map(_b(m,r)):i.error&&($=[i.error(m,Pt(i.messages.required,m.field))]),f($);let S={};m.defaultField&&Object.keys(d.value).map(R=>{S[R]=m.defaultField}),S={...S,...d.rule.fields};let C={};Object.keys(S).forEach(R=>{let N=S[R],O=Array.isArray(N)?N:[N];C[R]=O.map(g.bind(null,R))});let w=new e(C);w.messages(i.messages),d.rule.options&&(d.rule.options.messages=i.messages,d.rule.options.error=i.error),w.validate(d.value,d.rule.options||i,R=>{let N=[];$&&$.length&&N.push(...$),R&&R.length&&N.push(...R),f(N.length?N:null)})}}let h;if(m.asyncValidator)h=m.asyncValidator(m,d.value,x,d.source,i);else if(m.validator){try{h=m.validator(m,d.value,x,d.source,i)}catch(b){console.error?.(b),i.suppressValidatorError||setTimeout(()=>{throw b},0),x(b.message)}h===!0?x():h===!1?x(typeof m.message=="function"?m.message(m.fullField||m.field):m.message||`${m.fullField||m.field} fails`):h instanceof Array?x(h):h instanceof Error&&x(h.message)}h&&h.then&&h.then(()=>x(),b=>x(b))},d=>{s(d)},r)}getType(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!ja.hasOwnProperty(t.type))throw new Error(Pt("Unknown rule type %s",t.type));return t.type||"string"}getValidationMethod(t){if(typeof t.validator=="function")return t.validator;let o=Object.keys(t),n=o.indexOf("message");return n!==-1&&o.splice(n,1),o.length===1&&o[0]==="required"?ja.required:ja[this.getType(t)]||void 0}},cP=Rb;var Ir="'${name}' is not a valid ${type}",ff={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:Ir,method:Ir,array:Ir,object:Ir,number:Ir,date:Ir,boolean:Ir,integer:Ir,float:Ir,regexp:Ir,email:Ir,tel:Ir,url:Ir,hex:Ir},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}};var lP=cP;function aM(e,t){return e.replace(/\\?\$\{\w+\}/g,o=>{if(o.startsWith("\\"))return o.slice(1);let n=o.slice(2,-1);return t[n]})}var uP="CODE_LOGIC_ERROR";async function Ib(e,t,o,n,r){let i={...o};if(delete i.ruleIndex,lP.warning=()=>{},i.validator){let f=i.validator;i.validator=(...m)=>{try{return f(...m)}catch(p){return console.error(p),Promise.reject(uP)}}}let a=null;i&&i.type==="array"&&i.defaultField&&(a=i.defaultField,delete i.defaultField);let s=new lP({[e]:[i]}),l=yo(ff,n.validateMessages);s.messages(l);let c=[];try{await Promise.resolve(s.validate({[e]:t},{...n}))}catch(f){f.errors&&(c=f.errors.map(({message:m},p)=>{let g=m===uP?l.default:m;return Vr(g)?kt(g,{key:`error_${p}`}):g}))}if(!c.length&&a&&Array.isArray(t)&&t.length>0)return(await Promise.all(t.map((m,p)=>Ib(`${e}.${p}`,m,a,n,r)))).reduce((m,p)=>[...m,...p],[]);let u={...o,name:e,enum:(o.enum||[]).join(", "),...r};return c.map(f=>typeof f=="string"?aM(f,u):f)}function dP(e,t,o,n,r,i){let a=e.join("."),s=o.map((c,u)=>{let d=c.validator,f={...c,ruleIndex:u};return d&&(f.validator=(m,p,g)=>{let x=!1,b=d(m,p,(...v)=>{Promise.resolve().then(()=>{At(!x,"Your validator function has already return a promise. `callback` will be ignored."),x||g(...v)})});x=b&&typeof b.then=="function"&&typeof b.catch=="function",At(x,"`callback` is deprecated. Please return a promise instead."),x&&b.then(()=>{g()}).catch(v=>{g(v||" ")})}),f}).sort(({warningOnly:c,ruleIndex:u},{warningOnly:d,ruleIndex:f})=>!!c==!!d?u-f:c?1:-1),l;if(r===!0)l=new Promise(async(c,u)=>{for(let d=0;d<s.length;d+=1){let f=s[d],m=await Ib(a,t,f,n,i);if(m.length){u([{errors:m,rule:f}]);return}}c([])});else{let c=s.map(u=>Ib(a,t,u,n,i).then(d=>({errors:d,rule:u})));l=(r?cM(c):sM(c)).then(u=>Promise.reject(u))}return l.catch(c=>c),l}async function sM(e){return Promise.all(e).then(t=>[].concat(...t))}async function cM(e){let t=0;return new Promise(o=>{e.forEach(n=>{n.then(r=>{r.errors.length&&o([r]),t+=1,t===e.length&&o([])})})})}var Pb=e=>{let t=new MessageChannel;t.port1.onmessage=e,t.port2.postMessage(null)},hc=class{namePathList=[];taskId=0;watcherList=new Set;form;constructor(t){this.form=t}register(t){return this.watcherList.add(t),()=>{this.watcherList.delete(t)}}notify(t){t.forEach(o=>{this.namePathList.every(n=>!Da(n,o))&&this.namePathList.push(o)}),this.doBatch()}doBatch(){this.taskId+=1;let t=this.taskId;Pb(()=>{if(t===this.taskId&&this.watcherList.size){let o=this.form.getForm(),n=o.getFieldsValue(),r=o.getFieldsValue(!0);this.watcherList.forEach(i=>{i(n,r,this.namePathList)}),this.namePathList=[]}})}};async function Nb(){return new Promise(e=>{Pb(()=>{St(()=>{e()})})})}function zb(){return zb=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},zb.apply(this,arguments)}var yi=[],vc=[];function kb(e,t,o,n,r,i){return typeof e=="function"?e(t,o,"source"in i?{source:i.source}:{}):n!==r}var Tb=class extends Uf{static contextType=io;state={resetCount:0};cancelRegisterFunc=null;mounted=!1;touched=!1;dirty=!1;validatePromise;prevValidating;errors=yi;warnings=vc;constructor(t){if(super(t),t.fieldContext){let{getInternalHooks:o}=t.fieldContext,{initEntityValue:n}=o(no);n(this)}}componentDidMount(){let{shouldUpdate:t,fieldContext:o}=this.props;if(this.mounted=!0,o){let{getInternalHooks:n}=o,{registerField:r}=n(no);this.cancelRegisterFunc=r(this)}t===!0&&this.reRender()}componentWillUnmount(){this.cancelRegister(),this.triggerMetaEvent(!0),this.mounted=!1}cancelRegister=()=>{let{preserve:t,isListField:o,name:n}=this.props;this.cancelRegisterFunc&&this.cancelRegisterFunc(o,t,dt(n)),this.cancelRegisterFunc=null};getNamePath=()=>{let{name:t,fieldContext:o}=this.props,{prefixName:n=[]}=o;return t!==void 0?[...n,...t]:[]};getRules=()=>{let{rules:t=[],fieldContext:o}=this.props;return t.map(n=>typeof n=="function"?n(o):n)};reRender(){this.mounted&&this.forceUpdate()}refresh=()=>{this.mounted&&this.setState(({resetCount:t})=>({resetCount:t+1}))};metaCache=null;triggerMetaEvent=t=>{let{onMetaChange:o}=this.props;if(o){let n={...this.getMeta(),destroy:t};fa(this.metaCache,n)||o(n),this.metaCache=n}else this.metaCache=null};onStoreChange=(t,o,n)=>{let{shouldUpdate:r,dependencies:i=[],onReset:a}=this.props,{store:s}=n,l=this.getNamePath(),c=this.getValue(t),u=this.getValue(s),d=o&&On(o,l);switch(n.type==="valueUpdate"&&n.source==="external"&&!fa(c,u)&&(this.touched=!0,this.dirty=!0,this.validatePromise=null,this.errors=yi,this.warnings=vc,this.triggerMetaEvent()),n.type){case"reset":if(!o||d){this.touched=!1,this.dirty=!1,this.validatePromise=void 0,this.errors=yi,this.warnings=vc,this.triggerMetaEvent(),a?.(),this.refresh();return}break;case"remove":{if(r&&kb(r,t,s,c,u,n)){this.reRender();return}break}case"setField":{let{data:f}=n;if(d){"touched"in f&&(this.touched=f.touched),"validating"in f&&!("originRCField"in f)&&(this.validatePromise=f.validating?Promise.resolve([]):null),"errors"in f&&(this.errors=f.errors||yi),"warnings"in f&&(this.warnings=f.warnings||vc),this.dirty=!0,this.triggerMetaEvent(),this.reRender();return}else if("value"in f&&On(o,l,!0)){this.reRender();return}if(r&&!l.length&&kb(r,t,s,c,u,n)){this.reRender();return}break}case"dependenciesUpdate":{if(i.map(dt).some(m=>On(n.relatedFields,m))){this.reRender();return}break}default:if(d||(!i.length||l.length||r)&&kb(r,t,s,c,u,n)){this.reRender();return}break}r===!0&&this.reRender()};validateRules=t=>{let o=this.getNamePath(),n=this.getValue(),{triggerName:r,validateOnly:i=!1,delayFrame:a}=t||{},s=Promise.resolve().then(async()=>{if(!this.mounted)return[];let{validateFirst:l=!1,messageVariables:c,validateDebounce:u}=this.props;a&&await Nb();let d=this.getRules();if(r&&(d=d.filter(m=>m).filter(m=>{let{validateTrigger:p}=m;return p?mc(p).includes(r):!0})),u&&r&&(await new Promise(m=>{setTimeout(m,u)}),this.validatePromise!==s))return[];let f=dP(o,n,d,t,l,c);return f.catch(m=>m).then((m=yi)=>{if(this.validatePromise===s){this.validatePromise=null;let p=[],g=[];m.forEach?.(({rule:{warningOnly:x},errors:h=yi})=>{x?g.push(...h):p.push(...h)}),this.errors=p,this.warnings=g,this.triggerMetaEvent(),this.reRender()}}),f});return i||(this.validatePromise=s,this.dirty=!0,this.errors=yi,this.warnings=vc,this.triggerMetaEvent(),this.reRender()),s};isFieldValidating=()=>!!this.validatePromise;isFieldTouched=()=>this.touched;isFieldDirty=()=>{if(this.dirty||this.props.initialValue!==void 0)return!0;let{fieldContext:t}=this.props,{getInitialValue:o}=t.getInternalHooks(no);return o(this.getNamePath())!==void 0};getErrors=()=>this.errors;getWarnings=()=>this.warnings;isListField=()=>this.props.isListField;isList=()=>this.props.isList;isPreserve=()=>this.props.preserve;getMeta=()=>(this.prevValidating=this.isFieldValidating(),{touched:this.isFieldTouched(),validating:this.prevValidating,errors:this.errors,warnings:this.warnings,name:this.getNamePath(),validated:this.validatePromise===null});getOnlyChild=t=>{if(typeof t=="function"){let n=this.getMeta();return{...this.getOnlyChild(t(this.getControlled(),n,this.props.fieldContext)),isFunction:!0}}let o=wr(t);return o.length!==1||!Vr(o[0])?{child:o,isFunction:!1}:{child:o[0],isFunction:!1}};getValue=t=>{let{getFieldsValue:o}=this.props.fieldContext,n=this.getNamePath();return zt(t||o(!0),n)};getControlled=(t={})=>{let{name:o,trigger:n="onChange",validateTrigger:r,getValueFromEvent:i,normalize:a,valuePropName:s="value",getValueProps:l,fieldContext:c}=this.props,u=r!==void 0?r:c.validateTrigger,d=this.getNamePath(),{getInternalHooks:f,getFieldsValue:m}=c,{dispatch:p}=f(no),g=this.getValue(),x=l||(S=>({[s]:S})),h=t[n],b=o!==void 0?x(g):{},v={...t,...b};return v[n]=(...S)=>{this.touched=!0,this.dirty=!0,this.triggerMetaEvent();let C=this.getValue(),w;i?w=i(...S):w=MI(s,...S),a&&(w=a(w,C,m(!0))),w!==C&&p({type:"updateValue",namePath:d,value:w}),h&&h(...S)},mc(u||[]).forEach(S=>{let C=v[S];v[S]=(...w)=>{C&&C(...w);let{rules:R}=this.props;R&&R.length&&p({type:"validateField",namePath:d,triggerName:S})}}),v};render(){let{resetCount:t}=this.state,{children:o}=this.props,{child:n,isFunction:r}=this.getOnlyChild(o),i;return r?i=n:Vr(n)?i=kt(n,this.getControlled(n.props)):(At(!n,"`children` of Field is not validate ReactElement."),i=n),y(Ct,{key:t},i)}};function lM({name:e,...t}){let o=M(io),n=M(An),r=e!==void 0?dt(e):void 0,i=t.isListField??!!n,a="keep";return i||(a=`_${(r||[]).join("_")}`),y(Tb,zb({key:a,name:r,isListField:i},t,{fieldContext:o}))}var mf=lM;function uM({name:e,initialValue:t,children:o,rules:n,validateTrigger:r,isListField:i}){let a=M(io),s=M(An),c=k({keys:[],id:0}).current,u=A(()=>[...dt(a.prefixName)||[],...dt(e)],[a.prefixName,e]),d=A(()=>({...a,prefixName:u}),[a,u]),f=A(()=>({getKey:p=>{let g=u.length,x=p[g];return[c.keys[x],p.slice(g+1)]}}),[c,u]);if(typeof o!="function")return At(!1,"Form.List only accepts function as children."),null;let m=(p,g,{source:x})=>x==="internal"?!1:p!==g;return y(An.Provider,{value:f},y(io.Provider,{value:d},y(mf,{name:[],shouldUpdate:m,rules:n,validateTrigger:r,initialValue:t,isList:!0,isListField:i??!!s},({value:p=[],onChange:g},x)=>{let{getFieldValue:h}=a,b=()=>h(u||[])||[],v={add:(S,C)=>{let w=b();C>=0&&C<=w.length?(c.keys=[...c.keys.slice(0,C),c.id,...c.keys.slice(C)],g([...w.slice(0,C),S,...w.slice(C)])):(c.keys=[...c.keys,c.id],g([...w,S])),c.id+=1},remove:S=>{let C=b(),w=new Set(Array.isArray(S)?S:[S]);w.size<=0||(c.keys=c.keys.filter((R,N)=>!w.has(N)),g(C.filter((R,N)=>!w.has(N))))},move(S,C){if(S===C)return;let w=b();S<0||S>=w.length||C<0||C>=w.length||(c.keys=Sb(c.keys,S,C),g(Sb(w,S,C)))}},$=p||[];return Array.isArray($)||($=[]),o($.map((S,C)=>{let w=c.keys[C];return w===void 0&&(c.keys[C]=c.id,w=c.keys[C],c.id+=1),{name:C,key:w,isListField:!0}}),v,x)})))}var fP=uM;function mP(e){let t=!1,o=e.length,n=[];return e.length?new Promise((r,i)=>{e.forEach((a,s)=>{a.catch(l=>(t=!0,l)).then(l=>{o-=1,n[s]=l,!(o>0)&&(t&&i(n),r(n))})})}):Promise.resolve([])}var Ob="__@field_split__";function pf(e){return e.map(t=>`${typeof t}:${t}`).join(Ob)}var Ab=class{kvs=new Map;set(t,o){this.kvs.set(pf(t),o)}get(t){return this.kvs.get(pf(t))}getAsPrefix(t){let o=pf(t),n=o+Ob,r=[],i=this.kvs.get(o);return i!==void 0&&r.push(i),this.kvs.forEach((a,s)=>{s.startsWith(n)&&r.push(a)}),r}update(t,o){let n=this.get(t),r=o(n);r?this.set(t,r):this.delete(t)}delete(t){this.kvs.delete(pf(t))}map(t){return[...this.kvs.entries()].map(([o,n])=>{let r=o.split(Ob);return t({key:r.map(i=>{let[,a,s]=i.match(/^([^:]*):(.*)$/);return a==="number"?Number(s):s}),value:n})})}toJSON(){let t={};return this.map(({key:o,value:n})=>(t[o.join(".")]=n,null)),t}},bi=Ab;var Db=class{formHooked=!1;forceRootUpdate;subscribable=!0;store={};fieldEntities=[];initialValues={};callbacks={};validateMessages=null;preserve=null;lastValidatePromise=null;watcherCenter=new hc(this);constructor(t){this.forceRootUpdate=t}getForm=()=>({getFieldValue:this.getFieldValue,getFieldsValue:this.getFieldsValue,getFieldError:this.getFieldError,getFieldWarning:this.getFieldWarning,getFieldsError:this.getFieldsError,isFieldsTouched:this.isFieldsTouched,isFieldTouched:this.isFieldTouched,isFieldValidating:this.isFieldValidating,isFieldsValidating:this.isFieldsValidating,resetFields:this.resetFields,setFields:this.setFields,setFieldValue:this.setFieldValue,setFieldsValue:this.setFieldsValue,validateFields:this.validateFields,submit:this.submit,_init:!0,getInternalHooks:this.getInternalHooks});getInternalHooks=t=>t===no?(this.formHooked=!0,{dispatch:this.dispatch,initEntityValue:this.initEntityValue,registerField:this.registerField,useSubscribe:this.useSubscribe,setInitialValues:this.setInitialValues,destroyForm:this.destroyForm,setCallbacks:this.setCallbacks,setValidateMessages:this.setValidateMessages,getFields:this.getFields,setPreserve:this.setPreserve,getInitialValue:this.getInitialValue,registerWatch:this.registerWatch}):(At(!1,"`getInternalHooks` is internal usage. Should not call directly."),null);useSubscribe=t=>{this.subscribable=t};prevWithoutPreserves=null;setInitialValues=(t,o)=>{if(this.initialValues=t||{},o){let n=yo(t,this.store);this.prevWithoutPreserves?.map(({key:r})=>{n=Ht(n,r,zt(t,r))}),this.prevWithoutPreserves=null,this.updateStore(n)}};destroyForm=t=>{if(t)this.updateStore({});else{let o=new bi;this.getFieldEntities(!0).forEach(n=>{this.isMergedPreserve(n.isPreserve())||o.set(n.getNamePath(),!0)}),this.prevWithoutPreserves=o}};getInitialValue=t=>{let o=zt(this.initialValues,t);return t.length?yo(o):o};setCallbacks=t=>{this.callbacks=t};setValidateMessages=t=>{this.validateMessages=t};setPreserve=t=>{this.preserve=t};registerWatch=t=>this.watcherCenter.register(t);notifyWatch=(t=[])=>{this.watcherCenter.notify(t)};timeoutId=null;warningUnhooked=()=>{};updateStore=t=>{this.store=t};getFieldEntities=(t=!1)=>t?this.fieldEntities.filter(o=>o.getNamePath().length):this.fieldEntities;getFieldsMap=(t=!1)=>{let o=new bi;return this.getFieldEntities(t).forEach(n=>{let r=n.getNamePath();o.set(r,n)}),o};getFieldEntitiesForNamePathList=(t,o=!1)=>{if(!t)return this.getFieldEntities(!0);let n=this.getFieldsMap(!0);return o?t.flatMap(r=>{let i=dt(r),a=n.getAsPrefix(i);return a.length?a:[{INVALIDATE_NAME_PATH:i}]}):t.map(r=>{let i=dt(r);return n.get(i)||{INVALIDATE_NAME_PATH:dt(r)}})};getFieldsValue=(t,o)=>{this.warningUnhooked();let n,r;if(t===!0||Array.isArray(t)?(n=t,r=o):t&&typeof t=="object"&&(r=t.filter),n===!0&&!r)return this.store;let i=this.getFieldEntitiesForNamePathList(Array.isArray(n)?n:null,!0),a=[],s=[];i.forEach(c=>{let u=c.INVALIDATE_NAME_PATH||c.getNamePath();if(c.isList?.()){s.push(u);return}if(!r)a.push(u);else{let d="getMeta"in c?c.getMeta():null;r(d)&&a.push(u)}});let l=$b(this.store,a.map(dt));return s.forEach(c=>{zt(l,c)||(l=Ht(l,c,[]))}),l};getFieldValue=t=>{this.warningUnhooked();let o=dt(t);return zt(this.store,o)};getFieldsError=t=>(this.warningUnhooked(),this.getFieldEntitiesForNamePathList(t).map((n,r)=>n&&!n.INVALIDATE_NAME_PATH?{name:n.getNamePath(),errors:n.getErrors(),warnings:n.getWarnings()}:{name:dt(t[r]),errors:[],warnings:[]}));getFieldError=t=>{this.warningUnhooked();let o=dt(t);return this.getFieldsError([o])[0].errors};getFieldWarning=t=>{this.warningUnhooked();let o=dt(t);return this.getFieldsError([o])[0].warnings};isFieldsTouched=(...t)=>{this.warningUnhooked();let[o,n]=t,r,i=!1;t.length===0?r=null:t.length===1?Array.isArray(o)?(r=o.map(dt),i=!1):(r=null,i=o):(r=o.map(dt),i=n);let a=this.getFieldEntities(!0),s=d=>d.isFieldTouched();if(!r)return i?a.every(d=>s(d)||d.isList()):a.some(s);let l=new bi;r.forEach(d=>{l.set(d,[])}),a.forEach(d=>{let f=d.getNamePath();r.forEach(m=>{m.every((p,g)=>f[g]===p)&&l.update(m,p=>[...p,d])})});let c=d=>d.some(s),u=l.map(({value:d})=>d);return i?u.every(c):u.some(c)};isFieldTouched=t=>(this.warningUnhooked(),this.isFieldsTouched([t]));isFieldsValidating=t=>{this.warningUnhooked();let o=this.getFieldEntities();if(!t)return o.some(r=>r.isFieldValidating());let n=t.map(dt);return o.some(r=>{let i=r.getNamePath();return On(n,i)&&r.isFieldValidating()})};isFieldValidating=t=>(this.warningUnhooked(),this.isFieldsValidating([t]));resetWithFieldInitialValue=(t={})=>{let o=new bi,n=this.getFieldEntities(!0);n.forEach(a=>{let{initialValue:s}=a.props,l=a.getNamePath();if(s!==void 0){let c=o.get(l)||new Set;c.add({entity:a,value:s}),o.set(l,c)}});let r=a=>{a.forEach(s=>{let{initialValue:l}=s.props;if(l!==void 0){let c=s.getNamePath();if(this.getInitialValue(c)!==void 0)At(!1,`Form already set 'initialValues' with path '${c.join(".")}'. Field can not overwrite it.`);else{let d=o.get(c);if(d&&d.size>1)At(!1,`Multiple Field with path '${c.join(".")}' set 'initialValue'. Can not decide which one to pick.`);else if(d){let f=this.getFieldValue(c);!s.isListField()&&(!t.skipExist||f===void 0)&&this.updateStore(Ht(this.store,c,[...d][0].value))}}}})},i;t.entities?i=t.entities:t.namePathList?(i=[],t.namePathList.forEach(a=>{let s=o.get(a);s&&i.push(...[...s].map(l=>l.entity))})):i=n,r(i)};resetFields=t=>{this.warningUnhooked();let o=this.store;if(!t){this.updateStore(yo(this.initialValues)),this.resetWithFieldInitialValue(),this.notifyObservers(o,null,{type:"reset"}),this.notifyWatch();return}let n=t.map(dt);n.forEach(r=>{let i=this.getInitialValue(r);this.updateStore(Ht(this.store,r,i))}),this.resetWithFieldInitialValue({namePathList:n}),this.notifyObservers(o,n,{type:"reset"}),this.notifyWatch(n)};setFields=t=>{this.warningUnhooked();let o=this.store,n=[];t.forEach(r=>{let{name:i,...a}=r,s=dt(i);n.push(s),"value"in a&&this.updateStore(Ht(this.store,s,a.value)),this.notifyObservers(o,[s],{type:"setField",data:r})}),this.notifyWatch(n)};getFields=()=>this.getFieldEntities(!0).map(n=>{let r=n.getNamePath(),a={...n.getMeta(),name:r,value:this.getFieldValue(r)};return Object.defineProperty(a,"originRCField",{value:!0}),a});initEntityValue=t=>{let{initialValue:o}=t.props;if(o!==void 0){let n=t.getNamePath();zt(this.store,n)===void 0&&this.updateStore(Ht(this.store,n,o))}};isMergedPreserve=t=>(t!==void 0?t:this.preserve)??!0;registerField=t=>{this.fieldEntities.push(t);let o=t.getNamePath();if(this.notifyWatch([o]),t.props.initialValue!==void 0){let n=this.store;this.resetWithFieldInitialValue({entities:[t],skipExist:!0}),this.notifyObservers(n,[t.getNamePath()],{type:"valueUpdate",source:"internal"})}return(n,r,i=[])=>{if(this.fieldEntities=this.fieldEntities.filter(a=>a!==t),!this.isMergedPreserve(r)&&(!n||i.length>1)){let a=n?void 0:this.getInitialValue(o);if(o.length&&this.getFieldValue(o)!==a&&this.fieldEntities.every(s=>!Da(s.getNamePath(),o))){let s=this.store;this.updateStore(Ht(s,o,a,!0)),this.notifyObservers(s,[o],{type:"remove"}),this.triggerDependenciesUpdate(s,o)}}this.notifyWatch([o])}};dispatch=t=>{switch(t.type){case"updateValue":{let{namePath:o,value:n}=t;this.updateValue(o,n);break}case"validateField":{let{namePath:o,triggerName:n}=t;this.validateFields([o],{triggerName:n});break}default:}};notifyObservers=(t,o,n)=>{if(this.subscribable){let r={...n,store:this.getFieldsValue(!0)};this.getFieldEntities().forEach(({onStoreChange:i})=>{i(t,o,r)})}else this.forceRootUpdate()};triggerDependenciesUpdate=(t,o)=>{let n=this.getDependencyChildrenFields(o);return n.length&&this.validateFields(n,{delayFrame:!0}),this.notifyObservers(t,n,{type:"dependenciesUpdate",relatedFields:[o,...n]}),n};updateValue=(t,o)=>{let n=dt(t),r=this.store;this.updateStore(Ht(this.store,n,o)),this.notifyObservers(r,[n],{type:"valueUpdate",source:"internal"}),this.notifyWatch([n]);let i=this.triggerDependenciesUpdate(r,n),{onValuesChange:a}=this.callbacks;if(a){let s=$b(this.store,[n]),l=this.getFieldsValue(),c=Ht(l,n,zt(s,n));a(s,c)}this.triggerOnFieldsChange([n,...i])};setFieldsValue=t=>{this.warningUnhooked();let o=this.store;if(t){let n=yo(this.store,t);this.updateStore(n)}this.notifyObservers(o,null,{type:"valueUpdate",source:"external"}),this.notifyWatch()};setFieldValue=(t,o)=>{this.setFields([{name:t,value:o,errors:[],warnings:[],touched:!0}])};getDependencyChildrenFields=t=>{let o=new Set,n=[],r=new bi;this.getFieldEntities().forEach(a=>{let{dependencies:s}=a.props;(s||[]).forEach(l=>{let c=dt(l);r.update(c,(u=new Set)=>(u.add(a),u))})});let i=a=>{(r.get(a)||new Set).forEach(l=>{if(!o.has(l)){o.add(l);let c=l.getNamePath();l.isFieldDirty()&&c.length&&(n.push(c),i(c))}})};return i(t),n};triggerOnFieldsChange=(t,o)=>{let{onFieldsChange:n}=this.callbacks;if(n){let r=this.getFields();if(o){let a=new bi;o.forEach(({name:s,errors:l})=>{a.set(s,l)}),r.forEach(s=>{s.errors=a.get(s.name)||s.errors})}let i=r.filter(({name:a})=>On(t,a));i.length&&n(i,r)}};validateFields=(t,o)=>{this.warningUnhooked();let n,r;Array.isArray(t)||typeof t=="string"||typeof o=="string"?(n=t,r=o):r=t;let i=!!n,a=i?n.map(dt):[],s=[...a],l=[],c=String(Date.now()),u=new Set,{recursive:d,dirty:f}=r||{};this.getFieldEntities(!0).forEach(x=>{let h=x.getNamePath();if(i||((!x.isList()||!a.some(b=>Da(b,h,!0)))&&s.push(h),a.push(h)),!(!x.props.rules||!x.props.rules.length)&&!(f&&!x.isFieldDirty())&&(u.add(h.join(c)),!i||On(a,h,d))){let b=x.validateRules({validateMessages:{...ff,...this.validateMessages},...r});l.push(b.then(()=>({name:h,errors:[],warnings:[]})).catch(v=>{let $=[],S=[];return v.forEach?.(({rule:{warningOnly:C},errors:w})=>{C?S.push(...w):$.push(...w)}),$.length?Promise.reject({name:h,errors:$,warnings:S}):{name:h,errors:$,warnings:S}}))}});let m=mP(l);this.lastValidatePromise=m,m.catch(x=>x).then(x=>{let h=x.map(({name:b})=>b);this.notifyObservers(this.store,h,{type:"validateFinish"}),this.triggerOnFieldsChange(h,x)});let p=m.then(()=>this.lastValidatePromise===m?Promise.resolve(this.getFieldsValue(s)):Promise.reject([])).catch(x=>{let h=x.filter(v=>v&&v.errors.length),b=h[0]?.errors?.[0];return Promise.reject({message:b,values:this.getFieldsValue(a),errorFields:h,outOfDate:this.lastValidatePromise!==m})});p.catch(x=>x);let g=a.filter(x=>u.has(x.join(c)));return this.triggerOnFieldsChange(g),p};submit=()=>{this.warningUnhooked(),this.validateFields().then(t=>{let{onFinish:o}=this.callbacks;if(o)try{o(t)}catch(n){console.error(n)}}).catch(t=>{let{onFinishFailed:o}=this.callbacks;o&&o(t)})}};function dM(e){let t=k(null),[,o]=W({});if(!t.current)if(e)t.current=e;else{let n=()=>{o({})},r=new Db(n);t.current=r.getForm()}return[t.current]}var gf=dM;var Mb=be({triggerFormChange:()=>{},triggerFormFinish:()=>{},registerForm:()=>{},unregisterForm:()=>{}}),hf=({validateMessages:e,onFormChange:t,onFormFinish:o,children:n})=>{let r=M(Mb),i=k({});return y(Mb.Provider,{value:{...r,validateMessages:{...r.validateMessages,...e},triggerFormChange:(a,s)=>{t&&t(a,{changedFields:s,forms:i.current}),r.triggerFormChange(a,s)},triggerFormFinish:(a,s)=>{o&&o(a,{values:s,forms:i.current}),r.triggerFormFinish(a,s)},registerForm:(a,s)=>{a&&(i.current={...i.current,[a]:s}),r.registerForm(a,s)},unregisterForm:a=>{let s={...i.current};delete s[a],i.current=s,r.unregisterForm(a)}}},n)};var pP=Mb;function jb(){return jb=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},jb.apply(this,arguments)}var fM=(e,t)=>{let{name:o,initialValues:n,fields:r,form:i,preserve:a,children:s,component:l="form",validateMessages:c,validateTrigger:u="onChange",onValuesChange:d,onFieldsChange:f,onFinish:m,onFinishFailed:p,clearOnDestroy:g,...x}=e,h=k(null),b=M(pP),[v]=gf(i),{useSubscribe:$,setInitialValues:S,setCallbacks:C,setValidateMessages:w,setPreserve:R,destroyForm:N}=v.getInternalHooks(no);Te(t,()=>({...v,nativeElement:h.current})),K(()=>(b.registerForm(o,v),()=>{b.unregisterForm(o)}),[b,v,o]),w({...b.validateMessages,...c}),C({onValuesChange:d,onFieldsChange:(Z,...J)=>{b.triggerFormChange(o,Z),f&&f(Z,...J)},onFinish:Z=>{b.triggerFormFinish(o,Z),m&&m(Z)},onFinishFailed:p}),R(a);let O=k(null);S(n,!O.current),O.current||(O.current=!0),K(()=>()=>N(g),[]);let P,z=typeof s=="function";if(z){let Z=v.getFieldsValue(!0);P=s(Z,v)}else P=s;$(!z);let D=k(null);K(()=>{DI(D.current||[],r||[])||v.setFields(r||[]),D.current=r},[r,v]);let L=A(()=>({...v,validateTrigger:u}),[v,u]),F=y(An.Provider,{value:null},y(io.Provider,{value:L},P));return l===!1?F:y(l,jb({},x,{ref:h,onSubmit:Z=>{Z.preventDefault(),Z.stopPropagation(),v.submit()},onReset:Z=>{Z.preventDefault(),v.resetFields(),x.onReset?.(Z)}}),F)},gP=fM;var mM=re(gP),La=mM;La.FormProvider=hf;La.Field=mf;La.List=fP;La.useForm=gf;La.useWatch=jI;var Oie=La;var jie=be({labelAlign:"right",layout:"horizontal",itemRef:()=>{}}),Lie=be(null),Fie=e=>{let t=mr(e,["prefixCls"]);return y(hf,{...t})},Uie=be({prefixCls:""}),Fa=be({}),hP=({children:e,status:t,override:o})=>{let n=M(Fa),r=A(()=>{let i={...n};return o&&delete i.isFormItemInput,t&&(delete i.status,delete i.hasFeedback,delete i.feedbackIcon),i},[t,o,n]);return y(Fa.Provider,{value:r},e)},vP=be(void 0);var pM=e=>{let{prefixCls:t,className:o,style:n,size:r,shape:i}=e,a=E({[`${t}-lg`]:r==="large",[`${t}-sm`]:r==="small"}),s=E({[`${t}-circle`]:i==="circle",[`${t}-square`]:i==="square",[`${t}-round`]:i==="round"}),l=A(()=>pr(r)?{width:r,height:r,lineHeight:`${r}px`}:{},[r]);return y("span",{className:E(t,a,s,o),style:{...l,...n}})},Dn=pM;var gM=new _t("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),Vb=e=>({height:e,lineHeight:B(e)}),Mn=e=>({width:e,...Vb(e)}),hM=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:gM,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),Lb=(e,t)=>({width:t(e).mul(5).equal(),minWidth:t(e).mul(5).equal(),...Vb(e)}),vM=e=>{let{skeletonAvatarCls:t,gradientFromColor:o,controlHeight:n,controlHeightLG:r,controlHeightSM:i}=e;return{[t]:{display:"inline-block",verticalAlign:"top",background:o,...Mn(n)},[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:{...Mn(r)},[`${t}${t}-sm`]:{...Mn(i)}}},xM=e=>{let{controlHeight:t,borderRadiusSM:o,skeletonInputCls:n,controlHeightLG:r,controlHeightSM:i,gradientFromColor:a,calc:s}=e;return{[n]:{display:"inline-block",verticalAlign:"top",background:a,borderRadius:o,...Lb(t,s)},[`${n}-lg`]:{...Lb(r,s)},[`${n}-sm`]:{...Lb(i,s)}}},xP=e=>{let{gradientFromColor:t,borderRadiusSM:o,imageSizeBase:n,calc:r}=e;return{display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle",background:t,borderRadius:o,...Mn(r(n).mul(2).equal())}},yM=e=>({[e.skeletonNodeCls]:{...xP(e)}}),bM=e=>{let{skeletonImageCls:t,imageSizeBase:o,calc:n}=e;return{[t]:{...xP(e),[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:{...Mn(o),maxWidth:n(o).mul(4).equal(),maxHeight:n(o).mul(4).equal()},[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}},[`${t}${t}-circle`]:{borderRadius:"50%"}}},Fb=(e,t,o)=>{let{skeletonButtonCls:n}=e;return{[`${o}${n}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${o}${n}-round`]:{borderRadius:t}}},Ub=(e,t)=>({width:t(e).mul(2).equal(),minWidth:t(e).mul(2).equal(),...Vb(e)}),$M=e=>{let{borderRadiusSM:t,skeletonButtonCls:o,controlHeight:n,controlHeightLG:r,controlHeightSM:i,gradientFromColor:a,calc:s}=e;return{[o]:{display:"inline-block",verticalAlign:"top",background:a,borderRadius:t,width:s(n).mul(2).equal(),minWidth:s(n).mul(2).equal(),...Ub(n,s)},...Fb(e,n,o),[`${o}-lg`]:{...Ub(r,s)},...Fb(e,r,`${o}-lg`),[`${o}-sm`]:{...Ub(i,s)},...Fb(e,i,`${o}-sm`)}},SM=e=>{let{componentCls:t,skeletonAvatarCls:o,skeletonTitleCls:n,skeletonParagraphCls:r,skeletonButtonCls:i,skeletonInputCls:a,skeletonNodeCls:s,skeletonImageCls:l,controlHeight:c,controlHeightLG:u,controlHeightSM:d,gradientFromColor:f,padding:m,marginSM:p,borderRadius:g,titleHeight:x,blockRadius:h,paragraphLiHeight:b,controlHeightXS:v,paragraphMarginTop:$}=e;return{[t]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:m,verticalAlign:"top",[o]:{display:"inline-block",verticalAlign:"top",background:f,...Mn(c)},[`${o}-circle`]:{borderRadius:"50%"},[`${o}-lg`]:{...Mn(u)},[`${o}-sm`]:{...Mn(d)}},[`${t}-section`]:{display:"table-cell",width:"100%",verticalAlign:"top",[n]:{width:"100%",height:x,background:f,borderRadius:h,[`+ ${r}`]:{marginBlockStart:d}},[r]:{padding:0,"> li":{width:"100%",height:b,listStyle:"none",background:f,borderRadius:h,"+ li":{marginBlockStart:v}}},[`${r}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-section`]:{[`${n}, ${r} > li`]:{borderRadius:g}}},[`${t}-with-avatar ${t}-section`]:{[n]:{marginBlockStart:p,[`+ ${r}`]:{marginBlockStart:$}}},[`${t}${t}-element`]:{display:"inline-block",width:"auto",...$M(e),...vM(e),...xM(e),...yM(e),...bM(e)},[`${t}${t}-block`]:{width:"100%",[i]:{width:"100%"},[a]:{width:"100%"}},[`${t}${t}-active`]:{[`
202
+ ${n},
203
+ ${r} > li,
204
+ ${o},
205
+ ${i},
206
+ ${a},
207
+ ${s},
208
+ ${l}
209
+ `]:{...hM(e)}}}},CM=e=>{let{colorFillContent:t,colorFill:o}=e,n=t,r=o;return{color:n,colorGradientEnd:r,gradientFromColor:n,gradientToColor:r,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},Io=Ae("Skeleton",e=>{let{componentCls:t,calc:o}=e,n=Ie(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonNodeCls:`${t}-node`,skeletonImageCls:`${t}-image`,imageSizeBase:o(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return SM(n)},CM,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]});var _M=e=>{let{prefixCls:t,className:o,classNames:n,rootClassName:r,active:i,style:a,styles:s,shape:l="circle",size:c,...u}=e,{getPrefixCls:d}=M(he),f=d("skeleton",t),[m,p]=Io(f),g=or(h=>c??h),x=E(f,`${f}-element`,{[`${f}-active`]:i},n?.root,o,r,m,p);return y("div",{className:x,style:s?.root},y(Dn,{prefixCls:`${f}-avatar`,className:n?.content,style:{...s?.content,...a},shape:l,size:g,...u}))},yP=_M;var wM=e=>{let{prefixCls:t,className:o,rootClassName:n,classNames:r,active:i,style:a,styles:s,block:l=!1,size:c,...u}=e,{getPrefixCls:d}=M(he),f=d("skeleton",t),[m,p]=Io(f),g=or(h=>c??h),x=E(f,`${f}-element`,{[`${f}-active`]:i,[`${f}-block`]:l},r?.root,o,n,m,p);return y("div",{className:x,style:s?.root},y(Dn,{prefixCls:`${f}-button`,className:r?.content,style:{...s?.content,...a},size:g,...u}))},bP=wM;var EM=e=>{let{prefixCls:t,className:o,classNames:n,rootClassName:r,internalClassName:i,style:a,styles:s,active:l,children:c}=e,{getPrefixCls:u}=M(he),d=u("skeleton",t),[f,m]=Io(d),p=E(d,`${d}-element`,{[`${d}-active`]:l},f,n?.root,o,r,m);return y("div",{className:p,style:s?.root},y("div",{className:E(n?.content,i||`${d}-node`),style:{...s?.content,...a}},c))},vf=EM;var RM=e=>{let{getPrefixCls:t}=M(he),o=t("skeleton",e.prefixCls);return y(vf,{...e,internalClassName:`${o}-image`},y("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${o}-image-svg`},y("title",null,"Image placeholder"),y("path",{d:"M365.7 329.1q0 45.8-32 77.7t-77.7 32-77.7-32-32-77.7 32-77.6 77.7-32 77.7 32 32 77.6M951 548.6v256H146.3V694.9L329 512l91.5 91.4L713 311zm54.8-402.3H91.4q-7.4 0-12.8 5.4T73 164.6v694.8q0 7.5 5.5 12.9t12.8 5.4h914.3q7.5 0 12.9-5.4t5.4-12.9V164.6q0-7.5-5.4-12.9t-12.9-5.4m91.4 18.3v694.8q0 37.8-26.8 64.6t-64.6 26.9H91.4q-37.7 0-64.6-26.9T0 859.4V164.6q0-37.8 26.8-64.6T91.4 73h914.3q37.8 0 64.6 26.9t26.8 64.6",className:`${o}-image-path`})))},$P=RM;var IM=e=>{let{prefixCls:t,className:o,classNames:n,rootClassName:r,active:i,block:a,style:s,styles:l,size:c,...u}=e,{getPrefixCls:d}=M(he),f=d("skeleton",t),[m,p]=Io(f),g=or(h=>c??h),x=E(f,`${f}-element`,{[`${f}-active`]:i,[`${f}-block`]:a},n?.root,o,r,m,p);return y("div",{className:x,style:l?.root},y(Dn,{prefixCls:`${f}-input`,className:n?.content,style:{...l?.content,...s},size:g,...u}))},SP=IM;var PM=(e,t)=>{let{width:o,rows:n=2}=t;if(Array.isArray(o))return o[e];if(n-1===e)return o},NM=e=>{let{prefixCls:t,className:o,style:n,rows:r=0}=e,i=Array.from({length:r}).map((a,s)=>y("li",{key:s,style:{width:PM(s,e)}}));return y("ul",{className:E(t,o),style:n},i)},CP=NM;var kM=({prefixCls:e,className:t,width:o,style:n})=>y("h3",{className:E(e,t),style:{width:o,...n}}),_P=kM;function Bb(e){return Be(e)?e:{}}function zM(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function TM(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function OM(e,t){let o={};return(!e||!t)&&(o.width="61%"),!e&&t?o.rows=3:o.rows=2,o}var Ua=_.forwardRef((e,t)=>{let{prefixCls:o,loading:n,className:r,rootClassName:i,classNames:a,style:s,styles:l,children:c,avatar:u=!1,title:d=!0,paragraph:f=!0,active:m,round:p}=e,{getPrefixCls:g,direction:x,className:h,style:b,classNames:v,styles:$}=Xe("skeleton"),S=g("skeleton",o),[C,w]=Io(S),R={...e,avatar:u,title:d,paragraph:f},N=qe(b),O=qe(s),[P,z]=tt([v,a],[$,N,l,O],{props:R}),D=_.useRef(null);if(_.useImperativeHandle(t,()=>({nativeElement:D.current})),n||!("loading"in e)){let L=!!u,F=!!d,Z=!!f,J;if(L){let Y={className:P.avatar,prefixCls:`${S}-avatar`,...zM(F,Z),...Bb(u),style:z.avatar};J=_.createElement("div",{className:E(P.header,`${S}-header`),style:z.header},_.createElement(Dn,{...Y}))}let G;if(F||Z){let Y;if(F){let ee={className:P.title,prefixCls:`${S}-title`,...TM(L,Z),...Bb(d),style:z.title};Y=_.createElement(_P,{...ee})}let Q;if(Z){let ee={className:P.paragraph,prefixCls:`${S}-paragraph`,...OM(L,F),...Bb(f),style:z.paragraph};Q=_.createElement(CP,{...ee})}G=_.createElement("div",{className:E(P.section,`${S}-section`),style:z.section},Y,Q)}let ne=E(S,{[`${S}-with-avatar`]:L,[`${S}-active`]:m,[`${S}-rtl`]:x==="rtl",[`${S}-round`]:p},P.root,h,r,i,C,w);return _.createElement("div",{ref:D,className:ne,style:z.root},J,G)}return c??null});Ua.Button=bP;Ua.Avatar=yP;Ua.Input=SP;Ua.Image=$P;Ua.Node=vf;var wP=Ua;var EP=wP;var xf=be({});function Hb(e,t,o){let n=t;return!n&&o&&(n=`${e}-${o}`),n}function RP(e,t){let o=e[`page${t?"Y":"X"}Offset`],n=`scroll${t?"Top":"Left"}`;if(typeof o!="number"){let r=e.document;o=r.documentElement[n],typeof o!="number"&&(o=r.body[n])}return o}function IP(e){let t=e.getBoundingClientRect(),o={left:t.left,top:t.top},n=e.ownerDocument,r=n.defaultView||n.parentWindow;return o.left+=RP(r),o.top+=RP(r,!0),o}var PP=rn(({children:e})=>e,(e,{shouldUpdate:t})=>!t);function yf(){return yf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},yf.apply(this,arguments)}var AM=_.forwardRef((e,t)=>{let{prefixCls:o,className:n,style:r,title:i,ariaId:a,footer:s,closable:l,closeIcon:c,onClose:u,children:d,bodyStyle:f,bodyProps:m,modalRender:p,onMouseDown:g,onMouseUp:x,holderRef:h,visible:b,forceRender:v,width:$,height:S,classNames:C,styles:w,isFixedPos:R,focusTrap:N}=e,{panel:O}=_.useContext(xf),P=k(null),z=Or(h,O,P),[D]=px(b&&R&&N!==!1,()=>P.current);_.useImperativeHandle(t,()=>({focus:()=>{P.current?.focus({preventScroll:!0})}}));let L={};$!==void 0&&(L.width=$),S!==void 0&&(L.height=S);let F=s?_.createElement("div",{className:E(`${o}-footer`,C?.footer),style:{...w?.footer}},s):null,Z=i?_.createElement("div",{className:E(`${o}-header`,C?.header),style:{...w?.header}},_.createElement("div",{className:E(`${o}-title`,C?.title),id:a,style:{...w?.title}},i)):null,J=A(()=>typeof l=="object"&&l!==null?l:l?{closeIcon:c??_.createElement("span",{className:`${o}-close-x`})}:{},[l,c,o]),G=xo(J,!0),ne=typeof l=="object"&&l.disabled,Y=l?_.createElement("button",yf({type:"button",onClick:u,"aria-label":"Close"},G,{className:E(`${o}-close`,C?.close),disabled:ne,style:w?.close}),J.closeIcon):null,Q=_.createElement("div",{className:E(`${o}-container`,C?.container),style:w?.container},Y,Z,_.createElement("div",yf({className:E(`${o}-body`,C?.body),style:{...f,...w?.body}},m),d),F);return _.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":i?a:null,"aria-modal":"true",ref:z,style:{...r,...L},className:E(o,n),onMouseDown:g,onMouseUp:x,tabIndex:-1,onFocus:ee=>{D(ee.target)}},_.createElement(PP,{shouldUpdate:b||v},p?p(Q):Q))}),Zb=AM;function Wb(){return Wb=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},Wb.apply(this,arguments)}var DM=re((e,t)=>{let{prefixCls:o,title:n,style:r,className:i,visible:a,forceRender:s,destroyOnHidden:l,motionName:c,ariaId:u,onVisibleChanged:d,mousePosition:f}=e,m=k(null),p=k(null);Te(t,()=>({...p.current,inMotion:m.current.inMotion,enableMotion:m.current.enableMotion}));let[g,x]=W(),h={};g&&(h.transformOrigin=g);function b(){if(!m.current?.nativeElement)return;let v=IP(m.current.nativeElement);x(f&&(f.x||f.y)?`${f.x-v.left}px ${f.y-v.top}px`:"")}return y(tr,{visible:a,onVisibleChanged:d,onAppearPrepare:b,onEnterPrepare:b,forceRender:s,motionName:c,removeOnLeave:l,ref:m},({className:v,style:$},S)=>y(Zb,Wb({},e,{ref:p,title:n,ariaId:u,prefixCls:o,holderRef:S,style:{...$,...r,...h},className:E(i,v)})))}),NP=DM;function Gb(){return Gb=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},Gb.apply(this,arguments)}var MM=e=>{let{prefixCls:t,style:o,visible:n,maskProps:r,motionName:i,className:a}=e;return y(tr,{key:"mask",visible:n,motionName:i,leavedClassName:`${t}-mask-hidden`},({className:s,style:l},c)=>y("div",Gb({ref:c,style:{...l,...o},className:E(`${t}-mask`,s,a)},r)))},kP=MM;function xc(){return xc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},xc.apply(this,arguments)}var jM=e=>{let{prefixCls:t="rc-dialog",zIndex:o,visible:n=!1,focusTriggerAfterClose:r=!0,wrapStyle:i,wrapClassName:a,wrapProps:s,onClose:l,afterOpenChange:c,afterClose:u,transitionName:d,animation:f,closable:m=!0,mask:p=!0,maskTransitionName:g,maskAnimation:x,maskClosable:h=!0,maskStyle:b,maskProps:v,rootClassName:$,rootStyle:S,classNames:C,styles:w}=e,R=k(null),N=k(null),O=k(null),[P,z]=W(n),[D,L]=W(!1),F=Yr();function Z(){Jn(N.current,document.activeElement)||(R.current=document.activeElement)}function J(){Jn(N.current,document.activeElement)||O.current?.focus()}function G(){if(z(!1),p&&R.current&&r){try{R.current.focus({preventScroll:!0})}catch{}R.current=null}P&&u?.()}function ne(oe){oe?J():G(),c?.(oe)}function Y(oe){l?.(oe)}let Q=k(!1),ee=null;h&&(ee=oe=>{N.current===oe.target&&Q.current&&Y(oe)});function se(oe){Q.current=oe.target===N.current}K(()=>{if(n){if(Q.current=!1,z(!0),Z(),N.current){let oe=getComputedStyle(N.current);L(oe.position==="fixed")}}else P&&O.current.enableMotion()&&!O.current.inMotion()&&G()},[n]);let ce={zIndex:o,...i,...w?.wrapper,display:P?null:"none"};return y("div",xc({className:E(`${t}-root`,$),style:S},xo(e,{data:!0})),y(kP,{prefixCls:t,visible:p&&n,motionName:Hb(t,g,x),style:{zIndex:o,...b,...w?.mask},maskProps:v,className:C?.mask}),y("div",xc({className:E(`${t}-wrap`,a,C?.wrapper),ref:N,onClick:ee,onMouseDown:se,style:ce},s),y(NP,xc({},e,{isFixedPos:D,ref:O,closable:m,ariaId:F,prefixCls:t,visible:n&&P,onClose:Y,onVisibleChanged:ne,motionName:Hb(t,d,f)}))))},zP=jM;function qb(){return qb=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},qb.apply(this,arguments)}var LM=e=>{let{visible:t,getContainer:o,forceRender:n,destroyOnHidden:r=!1,afterClose:i,closable:a,panelRef:s,keyboard:l=!0,scrollLock:c=!0,onClose:u}=e,{scrollLock:d,...f}=e,[m,p]=W(t),g=A(()=>({panel:s}),[s]),x=({top:h,event:b})=>{if(h&&l){b.stopPropagation(),u?.(b);return}};return K(()=>{t&&p(!0)},[t]),!n&&r&&!m?null:y(xf.Provider,{value:g},y(pi,{open:t||n||m,onEsc:x,autoDestroy:!1,getContainer:o,autoLock:c&&(t||m)},y(zP,qb({},f,{destroyOnHidden:r,afterClose:()=>{let h=a&&typeof a=="object"?a:{},{afterClose:b}=h||{};b?.(),i?.(),p(!1)}}))))},TP=LM;var OP=TP;var FM=e=>{let{space:t,form:o,children:n}=e;if(!mt(n))return null;let r=n;return o&&(r=_.createElement(hP,{override:!0,status:!0},r)),t&&(r=_.createElement(iI,null,r)),r},$i=FM;var AP=()=>$t()&&window.document.documentElement;var UM=e=>`${e}-css-var`,Pr=UM;function Xb(e,t,o){return A(()=>({...{trap:t??!0,focusTriggerAfterClose:o??!0},...e}),[e,t,o])}function DP(){}var VM=be({add:DP,remove:DP});function MP(e){let t=M(VM),o=k(null);return xe(r=>{if(r){let i=e?r.querySelector(e):r;i&&(t.add(i),o.current=i)}else t.remove(o.current)})}var Go=_.createContext({}),{Provider:bf}=Go;var BM=()=>{let{cancelButtonProps:e,cancelTextLocale:t,onCancel:o}=M(Go);return _.createElement(Aa,{onClick:o,...e},t)},Kb=BM;var HM=()=>{let{confirmLoading:e,okButtonProps:t,okType:o,okTextLocale:n,onOk:r}=M(Go);return _.createElement(Aa,{...Gd(o),loading:e,onClick:r,...t},n)},Jb=HM;function jP(e,t){return _.createElement("span",{className:`${e}-close-x`},t||_.createElement(Zo,{className:`${e}-close-icon`}))}var LP=e=>{let{okText:t,okType:o="primary",cancelText:n,confirmLoading:r,onOk:i,onCancel:a,okButtonProps:s,cancelButtonProps:l,footer:c}=e,[u]=Wt("Modal",W0()),d=t||u?.okText,f=n||u?.cancelText,m=_.useMemo(()=>({confirmLoading:r,okButtonProps:s,cancelButtonProps:l,okTextLocale:d,cancelTextLocale:f,okType:o,onOk:i,onCancel:a}),[r,s,l,d,f,o,i,a]),p;return Le(c)||typeof c>"u"?(p=_.createElement(_.Fragment,null,_.createElement(Kb,null),_.createElement(Jb,null)),Le(c)&&(p=c(p,{OkBtn:Jb,CancelBtn:Kb})),p=_.createElement(bf,{value:m},p)):p=c,_.createElement(zd,{disabled:!1},p)};var ZM=e=>{let{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},WM=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},GM=(e,t)=>{let{componentCls:o,gridColumns:n,antCls:r}=e,[i,a]=gt(r,"grid"),[,s]=gt(r,"col"),l={};for(let c=n;c>=0;c--)c===0?(l[`${o}${t}-${c}`]={display:"none"},l[`${o}-push-${c}`]={insetInlineStart:"auto"},l[`${o}-pull-${c}`]={insetInlineEnd:"auto"},l[`${o}${t}-push-${c}`]={insetInlineStart:"auto"},l[`${o}${t}-pull-${c}`]={insetInlineEnd:"auto"},l[`${o}${t}-offset-${c}`]={marginInlineStart:0},l[`${o}${t}-order-${c}`]={order:0}):(l[`${o}${t}-${c}`]=[{[i("display")]:"block",display:"block"},{display:a("display"),flex:`0 0 ${c/n*100}%`,maxWidth:`${c/n*100}%`}],l[`${o}${t}-push-${c}`]={insetInlineStart:`${c/n*100}%`},l[`${o}${t}-pull-${c}`]={insetInlineEnd:`${c/n*100}%`},l[`${o}${t}-offset-${c}`]={marginInlineStart:`${c/n*100}%`},l[`${o}${t}-order-${c}`]={order:c});return l[`${o}${t}-flex`]={flex:s(`${t.replace(/-/,"")}-flex`)},l},Yb=(e,t)=>GM(e,t),qM=(e,t,o)=>({[`@media (min-width: ${B(t)})`]:{...Yb(e,o)}}),XM=()=>({}),KM=()=>({}),rce=Ae("Grid",ZM,XM),Qb=e=>({xs:e.screenXSMin,sm:e.screenSMMin,md:e.screenMDMin,lg:e.screenLGMin,xl:e.screenXLMin,xxl:e.screenXXLMin,xxxl:e.screenXXXLMin}),oce=Ae("Grid",e=>{let t=Ie(e,{gridColumns:24}),o=Qb(t);return delete o.xs,[WM(t),Yb(t,""),Yb(t,"-xs"),Object.keys(o).map(n=>qM(t,o[n],`-${n}`)).reduce((n,r)=>({...n,...r}),{})]},KM);function FP(e){return{position:e,inset:0}}var JM=e=>{let{componentCls:t,antCls:o}=e;return[{[`${t}-root`]:{[`${t}${o}-zoom-enter, ${t}${o}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${o}-zoom-leave ${t}-container`]:{pointerEvents:"none"},[`${t}-mask`]:{...FP("fixed"),zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`&${t}-mask-blur`]:{backdropFilter:"blur(4px)"},[`${t}-hidden`]:{display:"none"}},[`${t}-wrap`]:{...FP("fixed"),zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"}}},{[`${t}-root`]:dc(e)}]},YM=e=>{let{componentCls:t,motionDurationMid:o}=e;return[{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${B(e.marginXS)} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:{...hr(e),pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${B(e.calc(e.margin).mul(2).equal())})`,margin:"0 auto","&:focus-visible":{borderRadius:e.borderRadiusLG,...uc(e)},[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${t}-container`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:e.contentPadding},[`${t}-close`]:{position:"absolute",top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:["color","background-color"].map(n=>`${n} ${o}`).join(", "),"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:B(e.modalCloseBtnSize),justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:disabled":{pointerEvents:"none"},"&:hover":{color:e.modalCloseIconHoverColor,backgroundColor:e.colorBgTextHover,textDecoration:"none"},"&:active":{backgroundColor:e.colorBgTextActive},...Pn(e)},[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${B(e.borderRadiusLG)} ${B(e.borderRadiusLG)} 0 0`,marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word",padding:e.bodyPadding,[`${t}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",margin:`${B(e.margin)} auto`}},[`${t}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,[`> ${e.antCls}-btn + ${e.antCls}-btn`]:{marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}}},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-container,
210
+ ${t}-body,
211
+ ${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},QM=e=>{let{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},ej=e=>{let{componentCls:t}=e,o=Qb(e),n={...o};delete n.xs;let r=`--${t.replace(".","")}-`,i=Object.keys(n).map(a=>({[`@media (min-width: ${B(n[a])})`]:{width:`var(${r}${a}-width)`}}));return{[`${t}-root`]:{[t]:[].concat(Et(Object.keys(o).map((a,s)=>{let l=Object.keys(o)[s-1];return l?{[`${r}${a}-width`]:`var(${r}${l}-width)`}:null})),[{width:`var(${r}xs-width)`}],Et(i))}}},e$=e=>{let t=e.padding,o=e.fontSizeHeading5,n=e.lineHeightHeading5;return Ie(e,{modalHeaderHeight:e.calc(e.calc(n).mul(o).equal()).add(e.calc(t).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalCloseIconColor:e.colorIcon,modalCloseIconHoverColor:e.colorIconHover,modalCloseBtnSize:e.controlHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()})},t$=e=>({footerBg:"transparent",headerBg:"transparent",titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,contentPadding:e.wireframe?0:`${B(e.paddingMD)} ${B(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${B(e.padding)} ${B(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${B(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${B(e.paddingXS)} ${B(e.padding)}`:0,footerBorderTop:e.wireframe?`${B(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",footerBorderRadius:e.wireframe?`0 0 ${B(e.borderRadiusLG)} ${B(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${B(e.padding*2)} ${B(e.padding*2)} ${B(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM,mask:!0}),UP=Ae("Modal",e=>{let t=e$(e);return[YM(t),QM(t),JM(t),xi(t,"zoom"),ej(t)]},t$,{unitless:{titleLineHeight:!0}});var r$,tj=e=>{r$={x:e.pageX,y:e.pageY},setTimeout(()=>{r$=null},100)};AP()&&document.documentElement.addEventListener("click",tj,!0);var rj=e=>{let{prefixCls:t,className:o,rootClassName:n,open:r,wrapClassName:i,centered:a,getContainer:s,style:l,width:c=520,footer:u,classNames:d,styles:f,children:m,loading:p,confirmLoading:g,zIndex:x,mousePosition:h,onOk:b,onCancel:v,okButtonProps:$,cancelButtonProps:S,destroyOnHidden:C,destroyOnClose:w,panelRef:R=null,closable:N,mask:O,modalRender:P,maskClosable:z,_semanticOmit:D,scrollLock:L,focusTriggerAfterClose:F,focusable:Z,_renderSemanticContent:J,...G}=e,{getPopupContainer:ne,getPrefixCls:Y,direction:Q,className:ee,style:se,classNames:ce,styles:oe,centered:de,cancelButtonProps:ve,okButtonProps:ae,mask:le,focusable:Se}=Xe("modal"),{modal:we}=M(he),[q,ke]=A(()=>typeof N=="boolean"?[void 0,void 0]:[N?.afterClose,N?.onClose],[N]),fe=Y("modal",t),me=Y(),[Ce,ue,pe]=tI(O,le,fe,z),Me=Xb({...Se,...Z},Ce,F),at=Oe=>{g||(v?.(Oe),ke?.())},Tt=Oe=>{b?.(Oe),ke?.()},De=Pr(fe),[st,vt]=UP(fe,De),Lr=E(i,{[`${fe}-centered`]:a??de,[`${fe}-wrap-rtl`]:Q==="rtl"}),Ot=u!==null&&!p?y(LP,{...e,okButtonProps:{...ae,...$},onOk:Tt,cancelButtonProps:{...ve,...S},onCancel:at}):null,[Fr,qt,jt,ct]=QR(ka(e),ka(we),{closable:!0,closeIcon:y(Zo,{className:`${fe}-close-icon`}),closeIconRender:Oe=>jP(fe,Oe)}),xr=Fr?{disabled:jt,closeIcon:qt,afterClose:q,...ct}:!1,He=P?Oe=>y("div",{className:`${fe}-render`},P(Oe)):void 0,Nt=`.${fe}-${P?"render":"container"}`,Ve=MP(Nt),Ze=_r(R,Ve),[je,Je]=Qd("Modal",x),xt={...e,width:c,panelRef:R,focusTriggerAfterClose:Me.focusTriggerAfterClose,focusable:Me,mask:Ce,maskClosable:pe,zIndex:je},[wt,lt]=tt([ce,d,ue],[oe,f],{props:xt}),Lt=D?mr(wt,D):wt,Xt=D?mr(lt,D):lt,yr=J?J({classNames:wt,styles:lt}):m,[Ft,Ut]=A(()=>Be(c)?[void 0,c]:[c,void 0],[c]),nr=A(()=>{let Oe={};return Ut&&Object.keys(Ut).forEach(Nr=>{let Ur=Ut[Nr];Zt(Ur)&&(Oe[`--${fe}-${Nr}-width`]=pr(Ur)?`${Ur}px`:Ur)}),Oe},[fe,Ut]);return y($i,{form:!0,space:!0},y(za.Provider,{value:Je},y(OP,{width:Ft,...G,zIndex:je,getContainer:s===void 0?ne:s,prefixCls:fe,rootClassName:E(st,n,vt,De,Lt.root),rootStyle:Xt.root,footer:Ot,visible:r,mousePosition:h??r$,onClose:at,closable:xr,closeIcon:qt,transitionName:Ro(me,"zoom",e.transitionName),maskTransitionName:Ro(me,"fade",e.maskTransitionName),mask:Ce,maskClosable:pe,scrollLock:L,className:E(st,o,ee),style:{...se,...l,...nr},classNames:{...Lt,wrapper:E(Lt.wrapper,Lr)},styles:Xt,panelRef:Ze,destroyOnHidden:C??w,modalRender:He,focusTriggerAfterClose:Me.focusTriggerAfterClose,focusTrap:Me.trap},p?y(EP,{active:!0,title:!1,paragraph:{rows:4},className:`${fe}-body-skeleton`}):yr)))},VP=rj;function o$(){let[e,t]=W({}),o=ft((n,r)=>{if(!r){t(a=>{if(!(n in a))return a;let s={...a};return delete s[n],s});return}let i={width:r.offsetWidth,height:r.offsetHeight};t(a=>{let s=a[n];return s&&s.width===i.width&&s.height===i.height?a:{...a,[n]:i}})},[]);return[e,o]}function n$(e,t,o=0){let[n,r]=o$(),[i,a,s,l]=A(()=>{let c=0,u=0,d=t?.threshold??0,f=new Map,m,p;return e.slice().reverse().forEach((g,x)=>{let h=String(g.key),b=n[h]?.height??0,v=t&&x>0?c+(t.offset??0)-b:c;f.set(h,v),x===0&&(m=b,p=n[h]?.width??0),(!t||x<d)&&(u=Math.max(u,v+b)),t?c=v+b:c+=b+o}),[f,u,m,p]},[e,o,n,t]);return[i,r,a,s,l]}var oj=e=>{let t={offset:8,threshold:3};return e&&typeof e=="object"&&(t.offset=e.offset??8,t.threshold=e.threshold??3),[!!e,t]},BP=oj;function i$(e,t,o){let r=Math.max(typeof e=="number"?e:0,0)*1e3,i=xe(t),a=xe(o),[s,l]=W(r>0),c=k(0),u=k(null);function d(){let p=Date.now(),g=u.current;g!==null&&(c.current+=p-g),u.current=p}let f=ft(()=>{d(),l(!1)},[]),m=ft(()=>{r>0?(u.current=Date.now(),l(!0)):a(0)},[r]);return K(()=>{c.current=0,l(r>0)},[r]),K(()=>{if(!s)return;let p=null;function g(){d(),c.current>=r?(a(1),i()):(a(Math.min(c.current/r,1)),p=St(g))}return g(),()=>{St.cancel(p)}},[r,s]),[m,f]}function a$(e){let t=A(()=>e===!1?{closeIcon:null,disabled:!0}:typeof e=="object"&&e!==null?e:{},[e]),o=A(()=>({...t,closeIcon:"closeIcon"in t?t.closeIcon:"\xD7",disabled:t.disabled??!1}),[t]),n=A(()=>xo(o,!0),[o]);return[!!e,o,n]}var nj=({className:e,style:t,percent:o})=>y("progress",{className:e,max:"100",value:o,style:t}),s$=nj;function $f(){return $f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},$f.apply(this,arguments)}var ij=re((e,t)=>{let{prefixCls:o,className:n,style:r,classNames:i,styles:a,components:s,title:l,description:c,icon:u,actions:d,role:f,closable:m,offset:p,notificationIndex:g,stackInThreshold:x,props:h,duration:b=4.5,showProgress:v,hovering:$,pauseOnHover:S=!0,onClick:C,onMouseEnter:w,onMouseLeave:R,onClose:N}=e,[O,P]=W(0),z=`${o}-notice`,[D,L,F]=a$(m),Z=xe(()=>{L.onClose?.(),N?.()}),[J,G]=W(!1),[ne,Y]=i$(b,Z,P),Q=100-Math.min(Math.max(O*100,0),100),ee=s?.progress||s$;K(()=>{S&&($?Y():J||ne())},[$,J,Y,ne,S]);function se(pe){G(!0),S&&Y(),w?.(pe)}function ce(pe){G(!1),S&&!$&&ne(),R?.(pe)}function oe(pe){pe.preventDefault(),pe.stopPropagation(),Z()}let de=k(p);p!==void 0&&(de.current=p);let ve=k(g);g!==void 0&&(ve.current=g);let ae=p??de.current,le=g??ve.current??0,Se=l!=null?y("div",{className:E(`${z}-title`,i?.title),style:a?.title},l):null,we=c!=null?y("div",{className:E(`${z}-description`,i?.description),style:a?.description},c):null,q=Se!==null,ke=we!==null,fe=null;q&&ke?fe=y("div",{className:E(`${z}-section`,i?.section),style:a?.section},Se,we):fe=Se||we,u!=null&&(fe=y("div",{className:E(`${z}-wrapper`,i?.wrapper),style:a?.wrapper},y("div",{className:E(`${z}-icon`,i?.icon),style:a?.icon},u),fe));let me=d?y("div",{className:E(`${z}-actions`,i?.actions),style:a?.actions},d):null,Ce={"--notification-index":le,...a?.root,...r};ae!==void 0&&(Ce["--notification-y"]=`${ae}px`);let ue=f??h?.role??"alert";return y("div",$f({},h,{ref:t,role:ue,"data-notification-index":le,className:E(z,n,i?.root,{[`${z}-closable`]:D,[`${z}-stack-in-threshold`]:x}),style:Ce,onClick:C,onMouseEnter:se,onMouseLeave:ce}),fe,me,D&&y("button",$f({className:E(`${z}-close`,i?.close),"aria-label":"Close"},F,{style:a?.close,onClick:oe}),L.closeIcon),v&&typeof b=="number"&&b>0&&y(ee,{className:E(`${z}-progress`,i?.progress),percent:Q,style:a?.progress}))}),yc=ij;var c$=be({}),aj=({children:e,classNames:t})=>{let o=A(()=>({classNames:t}),[t]);return y(c$.Provider,{value:o},e)},bc=aj;function l$(){return l$=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},l$.apply(this,arguments)}var sj=re((e,t)=>{let{listPrefixCls:o,height:n,topNoticeHeight:r=0,topNoticeWidth:i=0,className:a,style:s,...l}=e,c=`${o}-content`,u=k(n),d=u.current,f=n<d?"decrease":"increase";u.current=n;let m={...s,height:n,"--top-notificiation-height":`${r}px`,"--top-notificiation-width":`${i}px`};return y("div",l$({},l,{className:E(c,`${c}-${f}`,a),style:m,ref:t}))}),HP=sj;function Sf(){return Sf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},Sf.apply(this,arguments)}var ZP=["wrapper","root","icon","section","title","description","actions","close","progress"];function cj(e){return ZP.reduce((t,o)=>(t[o]=E(...e.map(n=>n?.[o])),t),{})}function lj(e){return ZP.reduce((t,o)=>(t[o]=Object.assign({},...e.map(n=>n?.[o])),t),{})}function uj(e,t){let o=String(t),n=e.findIndex(r=>r.key===o);if(n!==-1)return e.length-n-1}var dj=e=>{let{config:t,components:o,contextClassNames:n,classNames:r,styles:i,className:a,style:s,nodeRef:l,listHovering:c,stackEnabled:u,pauseOnHover:d,setNodeSize:f,onNoticeClose:m,...p}=e,{key:g,placement:x,...h}=t,b=String(g),v=ft(S=>{f(b,S)},[f,b]),$=Or(l,v);return y(yc,Sf({},h,p,{ref:$,className:E(n?.notice,t.className,a),style:{...s,...t.style},classNames:cj([r,t.classNames]),styles:lj([i,t.styles]),components:{...o,...t.components},hovering:u&&c,pauseOnHover:t.pauseOnHover??d,onClose:()=>{t.onClose?.(),m?.(g)}}))},fj=e=>{let{configList:t=[],prefixCls:o="rc-notification",pauseOnHover:n,classNames:r,styles:i,components:a,stack:s,motion:l,placement:c,className:u,style:d,onNoticeClose:f,onAllRemoved:m}=e,{classNames:p}=M(c$),g=A(()=>t.map(G=>({config:G,key:String(G.key)})),[t]),x=typeof l=="function"?l(c):l,[h,{offset:b,threshold:v}]=BP(s),[$,S]=W(!1),C=h&&($||g.length<=v),w=A(()=>{if(!(!h||C))return{offset:b,threshold:v}},[C,b,h,v]),[R,N]=W(0),O=k(null),[P,z,D,L,F]=n$(t,w,R),Z=!!t.length;K(()=>{let G=O.current;if(!G)return;let{gap:ne,rowGap:Y}=window.getComputedStyle(G),Q=parseFloat(Y||ne)||0;N(ee=>ee===Q?ee:Q)},[Z]);let J=`${o}-list`;return y("div",{className:E(o,J,`${o}-${c}`,p?.list,u,r?.list,{[`${o}-stack`]:h,[`${o}-stack-expanded`]:C,[`${J}-hovered`]:$}),onMouseEnter:()=>{S(!0)},onMouseLeave:()=>{S(!1)},style:{...i?.list,...d}},y(HP,{listPrefixCls:J,height:D,topNoticeHeight:L,topNoticeWidth:F,className:r?.listContent,style:i?.listContent,ref:O},y(Cy,Sf({component:!1,keys:g,motionAppear:!0},x,{onAllRemoved:()=>{c&&m?.(c)}}),({config:G,className:ne,style:Y},Q)=>{let{key:ee}=G,se=String(ee),ce=uj(g,ee),oe=h&&ce!==void 0&&ce<v;return y(dj,{key:ee,config:G,components:a,contextClassNames:p,classNames:r,styles:i,className:ne,style:Y,nodeRef:Q,prefixCls:o,offset:P.get(se),notificationIndex:ce,stackInThreshold:oe,listHovering:$,stackEnabled:h,pauseOnHover:n,setNodeSize:z,onNoticeClose:f})})))},u$=fj;var mj=re((e,t)=>{let{prefixCls:o="rc-notification",container:n,motion:r,maxCount:i,pauseOnHover:a,classNames:s,styles:l,components:c,className:u,style:d,onAllRemoved:f,stack:m,renderNotifications:p}=e,[g,x]=W([]),[h,b]=W({}),v=k(!1);Te(t,()=>({open:C=>{x(w=>{let R=[...w],N=R.findIndex(P=>P.key===C.key),O={...C};return N>=0?(O.times=(w[N]?.times??0)+1,R[N]=O):(O.times=0,R.push(O)),i&&i>0&&R.length>i&&(R=R.slice(-i)),R})},close:C=>{x(w=>w.filter(R=>R.key!==C))},destroy:()=>{x([])}})),K(()=>{let C={};g.forEach(w=>{let R=w.placement??"topRight";C[R]=C[R]||[],C[R].push(w)}),Object.keys(h).forEach(w=>{C[w]=C[w]||[]}),b(C)},[g]);let $=xe(C=>{b(w=>{let R={...w};return(R[C]||[]).length||delete R[C],R})});if(K(()=>{Object.keys(h).length>0?v.current=!0:v.current&&(f?.(),v.current=!1)},[h,f]),!n)return null;let S=Object.keys(h);return Du(y(Ct,null,S.map(C=>{let w=y(u$,{key:C,configList:h[C],placement:C,prefixCls:o,pauseOnHover:a,classNames:s,styles:l,components:c,className:u?.(C),style:d?.(C),motion:r,stack:m,onNoticeClose:R=>{x(N=>N.filter(O=>O.key!==R))},onAllRemoved:$});return p?kt(p(w,{prefixCls:o,key:C}),{key:C}):w})),n)}),WP=mj;var pj=()=>document.body,GP=0;function gj(...e){let t={};return e.forEach(o=>{o&&Object.keys(o).forEach(n=>{let r=o[n];r!==void 0&&(t[n]=r)})}),t}function Va(e={}){let{getContainer:t=pj,motion:o,prefixCls:n,placement:r,closable:i,duration:a,showProgress:s,pauseOnHover:l,classNames:c,styles:u,components:d,maxCount:f,className:m,style:p,onAllRemoved:g,stack:x,renderNotifications:h}=e,b={placement:r,closable:i,duration:a,showProgress:s},[v,$]=W(),S=k(null),[C,w]=W([]),R=y(WP,{container:v,ref:S,prefixCls:n,motion:o,maxCount:f,pauseOnHover:l,classNames:c,styles:u,components:d,className:m,style:p,onAllRemoved:g,stack:x,renderNotifications:h}),N=xe(P=>{let z=gj(b,P);(z.key===null||z.key===void 0)&&(z.key=`rc-notification-${GP}`,GP+=1),w(D=>[...D,{type:"open",config:z}])}),O=A(()=>({open:N,close:P=>{w(z=>[...z,{type:"close",key:P}])},destroy:()=>{w(P=>[...P,{type:"destroy"}])}}),[]);return K(()=>{$(t())}),K(()=>{S.current&&C.length&&(C.forEach(P=>{switch(P.type){case"open":S.current?.open(P.config);break;case"close":S.current?.close(P.key);break;case"destroy":S.current?.destroy();break}}),w(P=>{let z=P.filter(D=>!C.includes(D));return z.length===P.length?P:z}))},[C]),[O,R]}var hj=(e,t)=>A(()=>{let o=e??t;return o?{...Be(t)?t:{},...Be(o)?o:{}}:!1},[e,t]),Cf=hj;function _f(e,t){return{...Zt(e)&&{"--notification-top":B(e)},...Zt(t)&&{"--notification-bottom":B(t)}}}function qP(e){return{motionName:`${e}-fade`}}function XP(e,t,o){return typeof e<"u"?e:typeof t?.closeIcon<"u"?t.closeIcon:o?.closeIcon}var JP=tn(KP());function f$(){return f$=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},f$.apply(this,arguments)}var xj=(e,t)=>y(qr,f$({},e,{ref:t,icon:JP.default})),yj=re(xj),Ba=yj;var QP=tn(YP());function p$(){return p$=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},p$.apply(this,arguments)}var $j=(e,t)=>y(qr,p$({},e,{ref:t,icon:QP.default})),Sj=re($j),Ha=Sj;var tN=tn(eN());function h$(){return h$=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},h$.apply(this,arguments)}var _j=(e,t)=>y(qr,h$({},e,{ref:t,icon:tN.default})),wj=re(_j),Za=wj;var Ej=e=>{let{motionDurationMid:t,motionEaseInOut:o}=e,n=`${t} ${o}`;return{transform:"scale(var(--notification-scale, 1))",transition:["transform","inset","clip-path","opacity"].map(r=>`${r} ${n}`).join(", ")}},v$=(e,t)=>{let{componentCls:o,antCls:n,colorSuccess:r,colorInfo:i,colorWarning:a,colorError:s,colorTextHeading:l,colorText:c,boxShadow:u,borderRadiusLG:d,fontSize:f,lineHeight:m,notificationBg:p,notificationPadding:g,notificationMarginEdge:x,margin:h,calc:b}=e,v=`${o}-notice`,[$,S]=gt(n,"notification");return{[v]:{position:"absolute",width:t.width,maxWidth:`calc(100vw - ${B(b(x).mul(2).equal())})`,padding:g,pointerEvents:"auto",[$("icon-font-size")]:t.iconFontSize,[$("title-font-size")]:t.titleFontSize,[$("title-line-height")]:t.titleLineHeight,boxSizing:"border-box",color:c,background:p,borderRadius:d,boxShadow:u,fontSize:f,lineHeight:m,wordWrap:"break-word",overflow:"visible",...Ej(e),...t.noticeStyle,"&::after":{position:"absolute",insetInline:0,top:b(h).mul(-1).equal(),height:h,content:'""'},...t.typeStyle&&{"&-success":{background:S("color-success-bg",p)},"&-error":{background:S("color-error-bg",p)},"&-info":{background:S("color-info-bg",p)},"&-warning":{background:S("color-warning-bg",p)}}},[`${v}-wrapper`]:{display:"flex",...t.contentStyle},[`${v}-title`]:{color:l,fontSize:S("title-font-size"),lineHeight:S("title-line-height")},[`${v}-icon`]:{flex:"none",fontSize:S("icon-font-size"),lineHeight:1,[`&${v}-icon-success`]:{color:r},[`&${v}-icon-info, &${v}-icon-loading`]:{color:i},[`&${v}-icon-warning`]:{color:a},[`&${v}-icon-error`]:{color:s}}}},rN=e=>{let{componentCls:t,progressBg:o,notificationProgressHeight:n,fontSize:r,borderRadiusLG:i,width:a,notificationIconSize:s,colorText:l,motionDurationMid:c,fontSizeLG:u,lineHeightLG:d,marginSM:f,marginXS:m,paddingLG:p,notificationPaddingVertical:g,notificationPaddingHorizontal:x,notificationCloseButtonSize:h,colorIcon:b,borderRadiusSM:v,colorIconHover:$,colorBgTextHover:S,colorBgTextActive:C}=e,w=`${t}-notice`;return{...v$(e,{width:a,iconFontSize:s,titleFontSize:u,titleLineHeight:d,contentStyle:{alignItems:"flex-start",gap:f},typeStyle:!0}),[`${w}-section`]:{display:"flex",flexDirection:"column",flex:"auto",gap:m,minWidth:0},[`${w}-description`]:{color:l,fontSize:r},[`${w}-closable`]:{[`${w}-title, ${w}-description`]:{paddingInlineEnd:p},[`${w}-title + ${w}-description`]:{paddingInlineEnd:0}},[`${w}-close`]:{position:"absolute",top:g,insetInlineEnd:x,display:"flex",alignItems:"center",justifyContent:"center",width:h,height:h,color:b,background:"none",border:"none",borderRadius:v,outline:"none",transition:["color","background-color"].map(R=>`${R} ${c}`).join(", "),"&:hover":{color:$,backgroundColor:S},"&:active":{backgroundColor:C},...Pn(e)},[`${w}-progress`]:{position:"absolute",bottom:0,display:"block",appearance:"none",inlineSize:`calc(100% - ${B(i)} * 2)`,blockSize:n,border:0,left:{_skip_check_:!0,value:i},right:{_skip_check_:!0,value:i},"&, &::-webkit-progress-bar":{borderRadius:i,backgroundColor:"rgba(0, 0, 0, 0.04)"},"&::-moz-progress-bar":{background:o},"&::-webkit-progress-value":{borderRadius:i,background:o}},[`${w}-actions`]:{float:"right",marginTop:f}}},oN=e=>{let{componentCls:t,width:o}=e,n=`${t}-notice`,r=`${n}-actions`,i=rN(e);return{[`${n}-pure-panel`]:{width:o,maxWidth:"100%",...i,[n]:{...i[n],position:"relative",width:"100%",maxWidth:"100%"},[r]:{...i[r],float:"none",textAlign:"end"}}}},Rj=e=>{let{componentCls:t}=e;return{[t]:rN(e)}},nN=Rj;var iN=["top","topLeft","topRight","bottom","bottomLeft","bottomRight"];var Ij="--notification-margin-edge",Pj=(e,t)=>({blockEnd:e==="top"?"bottom":"top",inlineEnd:t==="left"?"right":"left"}),aN=e=>{let t=e?.x??"0",o=e?.y??"0";return`translate3d(${t}, ${o}, 0) scale(var(--notification-scale, 1))`},Nj=(e,t)=>{let o=e.startsWith("bottom")?"bottom":"top",n=e.endsWith("Right")?"right":"left",{blockEnd:r,inlineEnd:i}=Pj(o,n),a=e==="top"||e==="bottom",s=e==="top"||e.endsWith("Left")?`-${t}`:t;return{placement:e,vertical:o,blockEnd:r,horizontal:n,inlineEnd:i,motionOffset:a?{x:"-50%",y:s}:{x:s},baseMotionOffset:a?{x:"-50%"}:void 0,isCenterPlacement:a}},kj=e=>e==="bottom"?"column-reverse":"column",zj=e=>{let t=`var(${Ij}, 0px)`;return`calc(var(--notification-${e}, ${t}) - ${t})`},Tj=e=>e==="bottom"?"center top":"center bottom",sN=e=>B(e.calc(e.marginXXL).mul(-1).equal()),Oj=e=>{let t=sN(e);return`inset(${t} ${t} ${t} ${t})`},Aj=(e,t)=>{let o=sN(e);return t==="bottom"?`inset(${o} ${o} 50% ${o})`:`inset(50% ${o} ${o} ${o})`},Dj=(e,t)=>{let{componentCls:o}=e,{placement:n,vertical:r,blockEnd:i,horizontal:a,inlineEnd:s,isCenterPlacement:l}=t,c=`${o}-notice`,u=`${c}${o}-fade`,d=aN(t.motionOffset),f=aN(t.baseMotionOffset),m=Tj(r);return{[`&${o}-${n}`]:{[r]:zj(r),[i]:"auto",display:"flex",flexDirection:kj(r),...l?{marginInline:0,left:"50%",right:"auto",transform:"translateX(-50%)"}:{[a]:0,[s]:"auto"},[c]:{[r]:"var(--notification-y, 0)",...l?{left:"50%",transform:f}:{[a]:"var(--notification-x, 0)"},transformOrigin:m},[`${u}-appear-prepare, ${u}-enter-prepare`]:{opacity:0,transform:d,transition:"none"},[`${u}-appear-start, ${u}-enter-start`]:{opacity:0,transform:d},[`${u}-appear-active, ${u}-enter-active`]:{opacity:1,transform:f},[`${u}-leave-start`]:{opacity:1,transform:f},[`${u}-leave-active`]:{opacity:0,transform:d},[`&${o}-stack:not(${o}-stack-expanded)`]:{[c]:{clipPath:Aj(e,r)},[`${c}[data-notification-index='0']`]:{clipPath:Oj(e)}}}}},Mj=(e,t=iN)=>{let{notificationMotionOffset:o}=e,n=B(o);return{...t.reduce((r,i)=>({...r,...Dj(e,Nj(i,n))}),{})}},jj=e=>{let{componentCls:t}=e;return{[t]:Mj(e)}},cN=jj;var Lj=3,lN=e=>({zIndexPopup:e.zIndexPopupBase+vi+50,width:384,progressBg:`linear-gradient(90deg, ${e.colorPrimaryBorderHover}, ${e.colorPrimary})`,colorSuccessBg:void 0,colorErrorBg:void 0,colorInfoBg:void 0,colorWarningBg:void 0}),wf=e=>{let t=e.paddingMD,o=e.paddingLG;return Ie(e,{notificationBg:e.colorBgElevated,notificationPaddingVertical:t,notificationPaddingHorizontal:o,notificationIconSize:e.calc(e.fontSizeLG).mul(e.lineHeightLG).equal(),notificationCloseButtonSize:e.calc(e.controlHeightLG).mul(.55).equal(),notificationMarginBottom:e.margin,notificationPadding:`${B(e.paddingMD)} ${B(e.paddingContentHorizontalLG)}`,notificationMarginEdge:e.marginLG,notificationProgressHeight:2,notificationMotionOffset:64})},Fj=e=>`inset(${e} ${e} ${e} ${e})`,Uj=e=>{let{componentCls:t,motionDurationMid:o,motionDurationSlow:n,motionEaseInOut:r}=e,a=`${`${t}-list`}-content`;return{[a]:{position:"relative",display:"flex",flexShrink:0,flexDirection:"column",gap:e.notificationMarginBottom,width:"100%",willChange:"height, transform",transition:"none",[`&${a}-decrease`]:{transition:`height calc(${n} * 2) ${r} ${o}`}},[`${t}-fade`]:{backfaceVisibility:"hidden",willChange:"transform, opacity"}}},Vj=(e,t)=>{let{componentCls:o,notificationMarginEdge:n}=e,r="--notification-margin-edge",i=`${o}-notice`,a=`${o}-list`,s=t.listWidthKey?e.calc(e[t.listWidthKey]).add(e.calc(n).mul(2)).equal():"100%",l=t.stackVisibleCount??Lj,c=`${i}:nth-last-child(n + ${l+1})`,u=B(e.calc(e.marginXXL).mul(-1).equal()),d=Fj(u);return{[o]:{...hr(e),[r]:B(n),position:"fixed",zIndex:e.zIndexPopup,width:s,maxWidth:"100vw",height:"100vh",overflow:"hidden",overscrollBehavior:"contain",[`${o}-hook-holder`]:{position:"relative"},[`&${a}`]:{maxHeight:"100vh",padding:`var(${r})`,overflowX:"hidden",overflowY:"auto",overscrollBehavior:"contain",scrollbarWidth:"none",msOverflowStyle:"none",pointerEvents:"none","&::-webkit-scrollbar":{display:"none",width:0,height:0}},...Uj(e),[`&${o}-stack`]:{[i]:{clipPath:d},[`&:not(${o}-stack-expanded)`]:{[i]:{"--notification-scale":"calc(1 - min(var(--notification-index, 0), 2) * 0.06)"},[`${i}:not(${i}-stack-in-threshold)`]:{opacity:0,pointerEvents:"none"},[c]:{opacity:0,pointerEvents:"none"}}},"&-rtl":{direction:"rtl",[`${i}-actions`]:{float:"left"}}}}},Wle=Ho(["Notification","PurePanel"],e=>oN(wf(e)),lN),x$=(e,t)=>{let o=t.itemStyle??nN;return[Vj(e,t),o(e),cN(e)]},uN=Ae("Notification",e=>{let t=wf(e);return x$(t,{listWidthKey:"width"})},lN);var dN=e=>{let t=e.calc(e.controlHeightLG).sub(e.calc(e.fontSize).mul(e.lineHeight)).div(2).equal(),o=e.paddingSM;return Ie(wf(e),{notificationBg:e.contentBg,notificationPadding:e.contentPadding,notificationPaddingVertical:t,notificationPaddingHorizontal:o})},fN=e=>({zIndexPopup:e.zIndexPopupBase+vi+10,contentBg:e.colorBgElevated,contentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`}),y$=e=>{let{fontSize:t,fontSizeLG:o,lineHeight:n}=e;return v$(e,{width:"max-content",iconFontSize:o,titleFontSize:t,titleLineHeight:n,contentStyle:{alignItems:"center",gap:e.marginXS},noticeStyle:{zIndex:1}})},Bj=e=>{let{componentCls:t}=e,o=`${t}-notice`,n=`${t}-list-content`,r=y$(e),{"&::after":i,...a}=r[o],s={...a,position:"absolute",zIndex:-1,left:"50%",height:e.calc(e.marginXS).mul(2).equal(),padding:0,boxShadow:e.boxShadowTertiary,opacity:0,pointerEvents:"none",transform:"translateX(-50%) translateY(100%)",transition:[`opacity ${e.motionDurationFast} ${e.motionEaseInOut}`,`transform ${e.motionDurationFast} ${e.motionEaseInOut}`,`width ${e.motionDurationSlow} ${e.motionEaseInOut}`].join(", "),content:'""'};return{[t]:{[`&${t}-stack`]:{[n]:{isolation:"isolate","&::before":{...s,top:`calc(var(--top-notificiation-height) - ${B(e.marginXS)})`,width:`calc(var(--top-notificiation-width) - ${B(e.margin)})`},"&::after":{...s,zIndex:-2,top:"var(--top-notificiation-height)",width:`calc(var(--top-notificiation-width) - ${B(e.calc(e.margin).mul(2).equal())})`}},[`&:not(${t}-stack-expanded)`]:{[n]:{"&::before, &::after":{opacity:1,transform:"translateX(-50%) translateY(0)"}}}}}}},Hj=e=>{let{componentCls:t}=e,o=`${t}-notice`,n=y$(e);return{[`${o}-pure-panel`]:{width:"max-content",maxWidth:"100%",...n,[o]:{...n[o],position:"relative",width:"max-content",maxWidth:"100%"}}}},Qle=Ho(["Message","PurePanel"],e=>Hj(dN(e)),fN),Zj=e=>({[e.componentCls]:y$(e)}),mN=Ae("Message",e=>{let t=dN(e);return[x$(t,{stackVisibleCount:1,itemStyle:Zj}),Bj(t)]},fN);var Wj={info:y(Za,null),success:y(Ba,null),error:y(kn,null),warning:y(Ha,null),loading:y(Ta,null)},pN=(e,t)=>t||e&&Wj[e]||null;function gN(e,t){return{motionName:t??`${e}-fade`}}function hN(e){let t,o=new Promise(r=>{t=e(()=>{r(!0)})}),n=()=>{t?.()};return n.then=(r,i)=>o.then(r,i),n.promise=o,n}var Gj=8,qj=3,Xj=!1,Kj=({children:e,prefixCls:t})=>{let o=Pr(t),[n,r]=mN(t,o);return y(bc,{classNames:{list:E(n,r,o)}},e)},Jj=(e,{prefixCls:t,key:o})=>y(Kj,{prefixCls:t,key:o},e),Yj=re((e,t)=>{let{top:o,prefixCls:n,getContainer:r,maxCount:i,duration:a=qj,rtl:s,classNames:l,styles:c,transitionName:u,pauseOnHover:d=!0,stack:f,onAllRemoved:m}=e,{getPrefixCls:p,direction:g,getPopupContainer:x}=Xe("message"),{message:h}=M(he),b=n||p("message"),v=qe(h?.style),[$,S]=tt([h?.classNames,l],[h?.styles,v,c],{props:e}),C=()=>_f(o??Gj),w=()=>E({[`${b}-rtl`]:s??g==="rtl"}),R=()=>gN(b,u),N=Cf(f,Xj),[O,P]=Va({prefixCls:b,style:C,className:w,motion:R,closable:!1,duration:a,getContainer:()=>r?.()||x?.()||document.body,maxCount:i,onAllRemoved:m,classNames:$,styles:S,renderNotifications:Jj,pauseOnHover:d,stack:N});return Te(t,()=>({...O,prefixCls:b,message:h})),P}),vN=0;function Qj(e){let t=k(null),o=vn("Message");return[A(()=>{let r=c=>{t.current?.close(c)},i=c=>{if(!t.current){let F=()=>{};return F.then=()=>{},F}let{open:u,prefixCls:d,message:f}=t.current,m=f?.className||{},p=`${d}-notice`,{content:g,icon:x,type:h,key:b,className:v,style:$,onClose:S,classNames:C={},styles:w={},...R}=c,N=b;Zt(N)||(vN+=1,N=`antd-message-${vN}`);let O={...e,...c},P=xn(C,{props:O}),z=xn(w,{props:O}),D=pN(h,x),L=h?`${p}-icon-${h}`:void 0;return hN(F=>(u({...R,key:N,icon:D,title:g,classNames:{...P,wrapper:E(h&&`${d}-${h}`,P?.wrapper),icon:E(L,P?.icon)},styles:z,placement:"top",className:E({[`${p}-${h}`]:h},v,m),style:$,onClose:()=>{S?.(),F()}}),()=>{r(N)}))},s={open:i,destroy:c=>{c!==void 0?r(c):t.current?.destroy()}};return["info","success","warning","error","loading"].forEach(c=>{let u=(d,f,m)=>{let p;Be(d)&&"content"in d?p=d:p={content:d};let g,x;Le(f)?x=f:(g=f,x=m);let h={onClose:x,duration:g,...p,type:c};return i(h)};s[c]=u}),s},[]),y(Yj,{key:"message-holder",...e,ref:t})]}function b$(e){return Qj(e)}var eL=e=>{let{type:t,children:o,prefixCls:n,buttonProps:r,close:i,autoFocus:a,emitEvent:s,isSilent:l,quitOnNullishReturnValue:c,actionFn:u}=e,d=k(!1),f=k(null),[m,p]=sa(!1),g=(...b)=>{i?.(...b)};K(()=>{let b=null;return a&&(b=setTimeout(()=>{f.current?.focus({preventScroll:!0})})),()=>{b&&clearTimeout(b)}},[a]);let x=b=>{Mu(b)&&(p(!0),b.then((...v)=>{p(!1,!0),g.apply(void 0,v),d.current=!1},v=>{if(p(!1,!0),d.current=!1,!l?.())return Promise.reject(v)}))},h=b=>{if(d.current)return;if(d.current=!0,!u){g();return}let v;if(s){if(v=u(b),c&&!Mu(v)){d.current=!1,g(b);return}}else if(u.length)v=u(i),d.current=!1;else if(v=u(),!Mu(v)){g();return}x(v)};return y(Aa,{...Gd(t),onClick:h,loading:m,prefixCls:n,...r,ref:f},o)},Ef=eL;var tL=()=>{let{autoFocusButton:e,cancelButtonProps:t,cancelTextLocale:o,isSilent:n,mergedOkCancel:r,rootPrefixCls:i,close:a,onCancel:s,onConfirm:l,onClose:c}=M(Go);return r?_.createElement(Ef,{isSilent:n,actionFn:s,close:(...u)=>{a?.(...u),l?.(!1),c?.()},autoFocus:e==="cancel",buttonProps:t,prefixCls:`${i}-btn`},o):null},$$=tL;var rL=()=>{let{autoFocusButton:e,close:t,isSilent:o,okButtonProps:n,rootPrefixCls:r,okTextLocale:i,okType:a,onConfirm:s,onOk:l,onClose:c}=M(Go);return _.createElement(Ef,{isSilent:o,type:a||"primary",actionFn:l,close:(...u)=>{t?.(...u),s?.(!0),c?.()},autoFocus:e==="ok",buttonProps:n,prefixCls:`${r}-btn`},i)},S$=rL;var oL=e=>{let{componentCls:t,titleFontSize:o,titleLineHeight:n,modalConfirmIconSize:r,fontSize:i,lineHeight:a,modalTitleHeight:s,fontHeight:l,confirmBodyPadding:c}=e,u=`${t}-confirm`;return{[u]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${u}-body-wrapper`]:{...Vd()},[`&${t} ${t}-body`]:{padding:c},[`${u}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${e.iconCls}`]:{flex:"none",fontSize:r,marginInlineEnd:e.confirmIconMarginInlineEnd,marginTop:e.calc(e.calc(l).sub(r).equal()).div(2).equal()},[`&-has-title > ${e.iconCls}`]:{marginTop:e.calc(e.calc(s).sub(r).equal()).div(2).equal()}},[`${u}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:e.marginXS,maxWidth:`calc(100% - ${B(e.marginSM)})`},[`${u}-body-no-icon ${u}-paragraph`]:{maxWidth:"100%"},[`${e.iconCls} + ${u}-paragraph`]:{maxWidth:`calc(100% - ${B(e.calc(e.modalConfirmIconSize).add(e.marginSM).equal())})`},[`${u}-title`]:{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:o,lineHeight:n},[`${u}-container`]:{color:e.colorText,fontSize:i,lineHeight:a},[`${u}-btns`]:{textAlign:"end",marginTop:e.confirmBtnsMarginTop,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${u}-error ${u}-body > ${e.iconCls}`]:{color:e.colorError},[`${u}-warning ${u}-body > ${e.iconCls},
212
+ ${u}-confirm ${u}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${u}-info ${u}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${u}-success ${u}-body > ${e.iconCls}`]:{color:e.colorSuccess}}},xN=Ho(["Modal","confirm"],e=>{let t=e$(e);return oL(t)},t$,{order:-1e3});var nL=["body"],iL=e=>{let{prefixCls:t,icon:o,okText:n,cancelText:r,confirmPrefixCls:i,type:a,okCancel:s,footer:l,locale:c,autoFocusButton:u,focusable:d,contentClassName:f,contentStyle:m,...p}=e,{infoIcon:g,successIcon:x,errorIcon:h,warningIcon:b}=Xe("modal"),v=o;if(o===void 0)switch(a){case"info":v=zn(g,y(Za,null));break;case"success":v=zn(x,y(Ba,null));break;case"error":v=zn(h,y(kn,null));break;default:v=zn(b,y(Ha,null))}let $=s??a==="confirm",S=A(()=>{let J=d?.autoFocusButton||u;return J||J===null?J:"ok"},[u,d?.autoFocusButton]),[C]=Wt("Modal"),w=c||C,R=n||($?w?.okText:w?.justOkText),N=r||w?.cancelText,{closable:O}=p,{onClose:P}=Be(O)?O:{},z=A(()=>({autoFocusButton:S,cancelTextLocale:N,okTextLocale:R,mergedOkCancel:$,onClose:P,...p}),[S,N,R,$,P,p]),D=y(Ct,null,y($$,null),y(S$,null)),L=mt(e.title),F=mt(v),Z=`${i}-body`;return y("div",{className:`${i}-body-wrapper`},y("div",{className:E(Z,{[`${Z}-has-title`]:L,[`${Z}-no-icon`]:!F})},v,y("div",{className:`${i}-paragraph`},L&&y("span",{className:`${i}-title`},e.title),y("div",{className:E(`${i}-content`,f),style:m},e.content))),l===void 0||Le(l)?y(bf,{value:z},y("div",{className:`${i}-btns`},Le(l)?l(D,{OkBtn:S$,CancelBtn:$$}):D)):l,y(xN,{prefixCls:t}))},aL=e=>{let{close:t,zIndex:o,maskStyle:n,direction:r,prefixCls:i,wrapClassName:a,rootPrefixCls:s,bodyStyle:l,closable:c=!1,onConfirm:u,styles:d,title:f,mask:m,maskClosable:p,okButtonProps:g,cancelButtonProps:x}=e,{cancelButtonProps:h,okButtonProps:b}=Xe("modal"),v=`${i}-confirm`,$=e.width||416,S=e.style||{},C=Le(d)?z=>({body:l,mask:n,...d(z)}):{body:l,mask:n,...d},w=mr(e,["bodyStyle","maskStyle"]),R=E(v,`${v}-${e.type}`,{[`${v}-rtl`]:r==="rtl"},e.className),N=A(()=>{let z=Yd(m,p);return z.closable??(z.closable=!1),z},[m,p]),[,O]=ut(),P=A(()=>o!==void 0?o:O.zIndexPopupBase+vi,[o,O]);return y(VP,{...w,className:R,wrapClassName:E({[`${v}-centered`]:!!e.centered},a),onCancel:()=>{t?.({triggerCancel:!0}),u?.(!1)},title:f,footer:null,transitionName:Ro(s||"","zoom",e.transitionName),maskTransitionName:Ro(s||"","fade",e.maskTransitionName),mask:N,style:S,styles:C,width:$,zIndex:P,closable:c,_semanticOmit:nL,_renderSemanticContent:({classNames:z,styles:D})=>y(iL,{...e,confirmPrefixCls:v,okButtonProps:{...b,...g},cancelButtonProps:{...h,...x},contentClassName:z.body,contentStyle:D.body})})},sL=e=>{let{rootPrefixCls:t,iconPrefixCls:o,direction:n,theme:r}=e;return y(SR,{prefixCls:t,iconPrefixCls:o,direction:n,theme:r},y(aL,{...e}))},yN=sL;var cL=[],bN=cL;function $N(e){return{...e,type:"warning"}}function SN(e){return{...e,type:"info"}}function CN(e){return{...e,type:"success"}}function _N(e){return{...e,type:"error"}}function wN(e){return{...e,type:"confirm"}}var lL=re((e,t)=>{let{afterClose:o,config:n,...r}=e,[i,a]=W(!0),[s,l]=W(n),{direction:c,getPrefixCls:u}=M(he),d=u("modal"),f=u(),m=()=>{o(),s.afterClose?.()},p=(...h)=>{a(!1),h.some(v=>v?.triggerCancel)&&s.onCancel?.(()=>{},...h.slice(1))};Te(t,()=>({destroy:p,update:h=>{l(b=>{let v=Le(h)?h(b):h;return{...b,...v}})}}));let g=s.okCancel??s.type==="confirm",[x]=Wt("Modal",er.Modal);return y(yN,{prefixCls:d,rootPrefixCls:f,...s,close:p,open:i,afterClose:m,okText:s.okText||(g?x?.okText:x?.justOkText),direction:s.direction||c,cancelText:s.cancelText||x?.cancelText,...r})}),EN=lL;var RN=0,uL=rn(re((e,t)=>{let[o,n]=rI();return Te(t,()=>({patchElement:n}),[n]),y(Ct,null,o)}));function dL(){let e=k(null),[t,o]=W([]);K(()=>{t.length&&(Et(t).forEach(a=>{a()}),o([]))},[t]);let n=ft(i=>function(s){RN+=1;let l=Vf(),c,u=new Promise(g=>{c=g}),d=!1,f,m=y(EN,{key:`modal-${RN}`,config:i(s),ref:l,afterClose:()=>{f?.()},isSilent:()=>d,onConfirm:g=>{c(g)}});return f=e.current?.patchElement(m),f&&bN.push(f),{destroy:()=>{function g(){l.current?.destroy()}l.current?g():o(x=>[].concat(Et(x),[g]))},update:g=>{function x(){l.current?.update(g)}l.current?x():o(h=>[].concat(Et(h),[x]))},then:g=>(d=!0,u.then(g))}},[]);return[A(()=>({info:n(SN),success:n(CN),error:n(_N),warning:n($N),confirm:n(wN)}),[n]),y(uL,{key:"modal-holder",ref:e})]}var IN=dL;var PN={info:y(Za,null),success:y(Ba,null),error:y(kn,null),warning:y(Ha,null),loading:y(Ta,null)};function C$(e,t){return t===null||t===!1?null:t||y(Zo,{className:`${e}-close-icon`})}var fL=4.5,mL="topRight",pL={offset:8},gL=({children:e,prefixCls:t})=>{let o=Pr(t),[n,r]=uN(t,o);return _.createElement(bc,{classNames:{list:E(n,r,o)}},e)},hL=(e,{prefixCls:t,key:o})=>_.createElement(gL,{prefixCls:t,key:o},e),vL=_.forwardRef((e,t)=>{let{top:o,bottom:n,prefixCls:r,getContainer:i,maxCount:a,rtl:s,onAllRemoved:l,stack:c,duration:u=fL,pauseOnHover:d=!0,showProgress:f}=e,{getPrefixCls:m,getPopupContainer:p,direction:g}=Xe("notification"),{notification:x}=M(he),[h]=Wt("global",er.global),b=r||m("notification"),v=A(()=>pr(u)&&u>0?u:!1,[u]),$=qe(x?.style),[S,C]=tt([x?.classNames,e?.classNames],[x?.styles,$,e?.styles],{props:e}),w=()=>_f(o,n),R=()=>E({[`${b}-rtl`]:s??g==="rtl"}),N=()=>qP(b),O=Cf(c,pL),[P,z]=Va({prefixCls:b,style:w,className:R,motion:N,closable:{closeIcon:C$(b)},duration:v,getContainer:()=>i?.()||p?.()||document.body,maxCount:a,pauseOnHover:d,showProgress:f,classNames:S,styles:C,onAllRemoved:l,renderNotifications:hL,stack:O});return _.useImperativeHandle(t,()=>({...P,prefixCls:b,notification:x,closeLabel:h.close??er.global?.close??"Close"})),z});function xL(e){let t=_.useRef(null),o=vn("Notification"),{notification:n}=_.useContext(he);return[_.useMemo(()=>{let i=c=>{if(!t.current)return;let{open:u,prefixCls:d,notification:f,closeLabel:m}=t.current,p=f?.className||{},g=`${d}-notice`,{title:x,message:h,description:b,icon:v,type:$,btn:S,actions:C,className:w,style:R,role:N="alert",closeIcon:O,closable:P,classNames:z={},styles:D={},...L}=c,F=x??h,Z=mt(F),J=C??S,G=C$(g,XP(O,e,f)),[ne,Y,,Q]=ab(ka({...e||{},...c}),ka(n),{closable:!0,closeIcon:G},m),ee=ne?{onClose:Be(P)?P.onClose:void 0,closeIcon:Y,...Q}:!1,se=xn(z,{props:c}),ce=xn(D,{props:c}),oe=v||($?PN[$]:null),de=!v&&$?`${g}-icon-${$}`:void 0;return u({placement:e?.placement??mL,...L,title:Z?F:null,description:b,icon:oe,actions:J,role:N,classNames:{...se,icon:E(de,se?.icon)},styles:ce,className:E({[`${g}-${$}`]:$},w,p),style:R,closable:ee})},s={open:i,destroy:c=>{c!==void 0?t.current?.close(c):t.current?.destroy()}};return["success","info","warning","error"].forEach(c=>{s[c]=u=>i({...u,type:c})}),s},[e,n]),_.createElement(vL,{key:"notification-holder",...e,ref:t})]}function _$(e){return xL(e)}var yL=e=>{let{componentCls:t,colorText:o,fontSize:n,lineHeight:r,fontFamily:i}=e;return{[t]:{color:o,fontSize:n,lineHeight:r,fontFamily:i,[`&${t}-rtl`]:{direction:"rtl"}}}},bL=()=>({}),NN=Ae("App",yL,bL);var $L=_.forwardRef((e,t)=>{let{prefixCls:o,children:n,className:r,rootClassName:i,message:a,notification:s,style:l,component:c="div"}=e,{direction:u,getPrefixCls:d,className:f,style:m}=Xe("app"),p=d("app",o),[g,x]=NN(p),h=E(g,p,r,i,x,{[`${p}-rtl`]:u==="rtl"}),b=M(Qv),v=_.useMemo(()=>({message:{...b.message,...a},notification:{...b.notification,...s}}),[a,s,b.message,b.notification]),[$,S]=b$(v.message),[C,w]=_$(v.notification),[R,N]=IN(),O=_.useMemo(()=>({message:$,notification:C,modal:R}),[$,C,R]),P=xx("App");P(!(x&&c===!1&&!!(r||i||l||f||m)),"usage","When using cssVar, ensure `component` is assigned a valid React component string."),P(!t||c!==!1,"usage","`ref` is not supported when `component` is `false`. Please provide a valid `component` instead.");let D=c===!1?_.Fragment:c,L={className:E(f,h),style:{...m,...l}};return _.createElement(hu.Provider,{value:O},_.createElement(Qv.Provider,{value:v},_.createElement(D,{...c===!1?void 0:{...L,ref:t}},N,S,w,n)))}),sfe=$L;var SL=e=>{let t=e?.algorithm?So(e.algorithm):di,o={...oo,...e?.token};return Wu(o,{override:e?.token},t,lc)},kN=SL;function w$(e){let{sizeUnit:t,sizeStep:o}=e,n=o-2;return{sizeXXL:t*(n+10),sizeXL:t*(n+6),sizeLG:t*(n+2),sizeMD:t*(n+2),sizeMS:t*(n+1),size:t*n,sizeSM:t*n,sizeXS:t*(n-1),sizeXXS:t*(n-1)}}var CL=(e,t)=>{let o=t??Uo(e),n=o.fontSizeSM,r=o.controlHeight-4;return{...o,...w$(t??e),...fd(n),controlHeight:r,...dd({...o,controlHeight:r})}},zN=CL;var Mr=(e,t)=>new Ke(e).setA(t).toRgbString(),jn=(e,t)=>new Ke(e).lighten(t).toHexString();var E$=e=>{let t=Co(e,{theme:"dark"});return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[6],6:t[5],7:t[4],8:t[6],9:t[5],10:t[4]}},TN=(e,t,o)=>{let n=e||"#000",r=t||"#fff";return{colorBgBase:n,colorTextBase:r,colorShadow:o||"rgba(255, 255, 255, 0.2)",colorText:Mr(r,.85),colorTextSecondary:Mr(r,.65),colorTextTertiary:Mr(r,.45),colorTextQuaternary:Mr(r,.25),colorFill:Mr(r,.18),colorFillSecondary:Mr(r,.12),colorFillTertiary:Mr(r,.08),colorFillQuaternary:Mr(r,.04),colorBgSolid:Mr(r,.95),colorBgSolidHover:Mr(r,1),colorBgSolidActive:Mr(r,.9),colorBgElevated:jn(n,12),colorBgContainer:jn(n,8),colorBgLayout:jn(n,0),colorBgSpotlight:jn(n,26),colorBgBlur:Mr(r,.04),colorBorder:jn(n,26),colorBorderDisabled:jn(n,26),colorBorderSecondary:jn(n,19)}};var _L=(e,t)=>{let o=Object.keys(Js).map(a=>{let s=Co(e[a],{theme:"dark"});return Array.from({length:10},()=>1).reduce((l,c,u)=>(l[`${a}-${u+1}`]=s[u],l[`${a}${u+1}`]=s[u],l),{})}).reduce((a,s)=>(a={...a,...s},a),{}),n=t??Uo(e),r=Qs(e,{generateColorPalettes:E$,generateNeutralColorPalettes:TN}),i=It.reduce((a,s)=>{let l=e[s];if(l){let c=E$(l);a[`${s}Hover`]=c[7],a[`${s}Active`]=c[5]}return a},{});return{...n,...o,...r,...i,colorPrimaryBg:r.colorPrimaryBorder,colorPrimaryBgHover:r.colorPrimaryBorderHover}},ON=_L;function wL(){let[e,t,o,n]=ut();return{theme:e,token:t,hashId:o,cssVar:n}}var EL={defaultSeed:Cn.token,useToken:wL,defaultAlgorithm:Uo,darkAlgorithm:ON,compactAlgorithm:zN,getDesignToken:kN,defaultConfig:Cn,_internalContext:fi},Mfe=EL;function RL(e){if(e!==null&&typeof e=="object"&&!Object.isFrozen(e)){Object.freeze(e);for(let t of Object.values(e))RL(t)}return e}var IL=e=>{let{componentCls:t}=e;return{[t]:{"&-horizontal":{[`&${t}`]:{"&-sm":{marginBlock:e.marginXS},"&-md":{marginBlock:e.margin}}}}}},PL=e=>{let{componentCls:t,sizePaddingEdgeHorizontal:o,colorSplit:n,lineWidth:r,textPaddingInline:i,orientationMargin:a,verticalMarginInline:s}=e,l=`${t}-rail`;return{[t]:{...hr(e),borderBlockStart:`${B(r)} solid ${n}`,[l]:{borderBlockStart:`${B(r)} solid ${n}`},"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:s,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${B(r)} solid ${n}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${B(e.marginLG)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${B(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${n}`,[`${l}-start, ${l}-end`]:{width:"50%",borderBlockStartColor:"inherit",borderBlockEnd:0,content:"''"}},[`&-horizontal${t}-with-text-start`]:{[`${l}-start`]:{width:`calc(${a} * 100%)`},[`${l}-end`]:{width:`calc(100% - ${a} * 100%)`}},[`&-horizontal${t}-with-text-end`]:{[`${l}-start`]:{width:`calc(100% - ${a} * 100%)`},[`${l}-end`]:{width:`calc(${a} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:i},"&-dashed":{background:"none",borderColor:n,borderStyle:"dashed",borderWidth:`${B(r)} 0 0`,[l]:{borderBlockStart:`${B(r)} dashed ${n}`}},[`&-horizontal${t}-with-text${t}-dashed`]:{[`${l}-start, ${l}-end`]:{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:r,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:n,borderStyle:"dotted",borderWidth:`${B(r)} 0 0`,[l]:{borderBlockStart:`${B(r)} dotted ${n}`}},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{borderInlineStartWidth:r,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-start${t}-no-default-orientation-margin-start`]:{[`${l}-start`]:{width:0},[`${l}-end`]:{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:o}},[`&-horizontal${t}-with-text-end${t}-no-default-orientation-margin-end`]:{[`${l}-start`]:{width:"100%"},[`${l}-end`]:{width:0},[`${t}-inner-text`]:{paddingInlineEnd:o}}}}},NL=e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),AN=Ae("Divider",e=>{let t=Ie(e,{dividerHorizontalWithTextGutterMargin:e.margin,sizePaddingEdgeHorizontal:0});return[PL(t),IL(t)]},NL,{unitless:{orientationMargin:!0}});var kL=["left","right","center","start","end"],zL=re((e,t)=>{let{getPrefixCls:o,direction:n,className:r,style:i,classNames:a,styles:s}=Xe("divider"),{prefixCls:l,type:c,orientation:u,vertical:d,titlePlacement:f,orientationMargin:m,className:p,rootClassName:g,children:x,dashed:h,variant:b="solid",plain:v,style:$,size:S,classNames:C,styles:w,...R}=e,N=o("divider",l),O=`${N}-rail`,[P,z]=AN(N),D=or(S),L=!!x,F=kL.includes(u||""),Z=A(()=>{let le=f??(F?u:"center");return le==="left"?n==="rtl"?"end":"start":le==="right"?n==="rtl"?"start":"end":le},[n,u,f,F]),J=Z==="start"&&m!=null,G=Z==="end"&&m!=null,[ne,Y]=Nn(u,d,c),Q={...e,orientation:ne,titlePlacement:Z,size:D},ee=qe(i),[se,ce]=tt([a,C],[s,ee,w],{props:Q}),oe=E(N,r,P,z,`${N}-${ne}`,{[`${N}-with-text`]:L,[`${N}-with-text-${Z}`]:L,[`${N}-dashed`]:!!h,[`${N}-${b}`]:b!=="solid",[`${N}-plain`]:!!v,[`${N}-rtl`]:n==="rtl",[`${N}-no-default-orientation-margin-start`]:J,[`${N}-no-default-orientation-margin-end`]:G,[`${N}-md`]:D==="medium"||D==="middle",[`${N}-sm`]:D==="small",[O]:!x,[se.rail]:se.rail&&!x},p,g,se.root),de=A(()=>pr(m)?m:/^\d+$/.test(m)?Number(m):m,[m]),ve={marginInlineStart:J?de:void 0,marginInlineEnd:G?de:void 0},ae=k(null);return Te(t,()=>({nativeElement:ae.current})),y("div",{ref:ae,className:oe,style:{...ce.root,...x?{}:ce.rail,...$},...R,role:"separator"},x&&!Y&&y(Ct,null,y("div",{className:E(O,`${O}-start`,se.rail),style:ce.rail}),y("span",{className:E(`${N}-inner-text`,se.content),style:{...ve,...ce.content}},x),y("div",{className:E(O,`${O}-end`,se.rail),style:ce.rail})))}),Jfe=zL;var qo=(e,t)=>e?.startsWith("var(")||t?.startsWith("var(")?e:new Ke(e).onBackground(t).toHexString();var TL=()=>{let[,e]=ut(),[t]=Wt("Empty"),{colorBgContainer:o,colorFill:n,colorFillSecondary:r,colorFillTertiary:i,colorTextQuaternary:a}=e,{panelBgColor:s,borderColor:l,detailColor:c,shadowColor:u,iconColor:d}=A(()=>({panelBgColor:qo(i,o),borderColor:qo(a,o),detailColor:qo(n,o),shadowColor:qo(r,o),iconColor:o}),[o,n,r,i,a]);return y("svg",{width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},y("title",null,t?.description||"Empty"),y("g",{fill:"none",fillRule:"evenodd"},y("g",{transform:"translate(24 31.7)"},y("ellipse",{fillOpacity:".8",fill:u,cx:"67.8",cy:"106.9",rx:"67.8",ry:"12.7"}),y("path",{fill:l,d:"M122 69.7 98.1 40.2a6 6 0 0 0-4.6-2.2H42.1a6 6 0 0 0-4.6 2.2l-24 29.5V85H122z"}),y("path",{fill:s,d:"M33.8 0h68a4 4 0 0 1 4 4v93.3a4 4 0 0 1-4 4h-68a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4"}),y("path",{fill:c,d:"M42.7 10h50.2a2 2 0 0 1 2 2v25a2 2 0 0 1-2 2H42.7a2 2 0 0 1-2-2V12a2 2 0 0 1 2-2m.2 39.8h49.8a2.3 2.3 0 1 1 0 4.5H42.9a2.3 2.3 0 0 1 0-4.5m0 11.7h49.8a2.3 2.3 0 1 1 0 4.6H42.9a2.3 2.3 0 0 1 0-4.6m79 43.5a7 7 0 0 1-6.8 5.4H20.5a7 7 0 0 1-6.7-5.4l-.2-1.8V69.7h26.3c2.9 0 5.2 2.4 5.2 5.4s2.4 5.4 5.3 5.4h34.8c2.9 0 5.3-2.4 5.3-5.4s2.3-5.4 5.2-5.4H122v33.5q0 1-.2 1.8"})),y("path",{fill:c,d:"m149.1 33.3-6.8 2.6a1 1 0 0 1-1.3-1.2l2-6.2q-4.1-4.5-4.2-10.4c0-10 10.1-18.1 22.6-18.1S184 8.1 184 18.1s-10.1 18-22.6 18q-6.8 0-12.3-2.8"}),y("g",{fill:d,transform:"translate(149.7 15.4)"},y("circle",{cx:"20.7",cy:"3.2",r:"2.8"}),y("path",{d:"M5.7 5.6H0L2.9.7zM9.3.7h5v5h-5z"}))))},DN=TL;var OL=()=>{let[,e]=ut(),[t]=Wt("Empty"),{colorFill:o,colorFillTertiary:n,colorFillQuaternary:r,colorBgContainer:i}=e,{borderColor:a,shadowColor:s,contentColor:l}=A(()=>({borderColor:qo(o,i),shadowColor:qo(n,i),contentColor:qo(r,i)}),[o,n,r,i]);return y("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},y("title",null,t?.description||"Empty"),y("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},y("ellipse",{fill:s,cx:"32",cy:"33",rx:"32",ry:"7"}),y("g",{fillRule:"nonzero",stroke:a},y("path",{d:"M55 12.8 44.9 1.3Q44 0 42.9 0H21.1q-1.2 0-2 1.3L9 12.8V22h46z"}),y("path",{d:"M41.6 16c0-1.7 1-3 2.2-3H55v18.1c0 2.2-1.3 3.9-3 3.9H12c-1.7 0-3-1.7-3-3.9V13h11.2c1.2 0 2.2 1.3 2.2 3s1 2.9 2.2 2.9h14.8c1.2 0 2.2-1.4 2.2-3",fill:l}))))},MN=OL;var AL=e=>{let{componentCls:t,margin:o,marginXS:n,marginXL:r,fontSize:i,lineHeight:a}=e;return{[t]:{marginInline:n,fontSize:i,lineHeight:a,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:n,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorTextDescription},[`${t}-footer`]:{marginTop:o},"&-normal":{marginBlock:r,color:e.colorTextDescription,[`${t}-description`]:{color:e.colorTextDescription},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:n,color:e.colorTextDescription,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}},jN=Ae("Empty",e=>{let{componentCls:t,controlHeightLG:o,calc:n}=e,r=Ie(e,{emptyImgCls:`${t}-img`,emptyImgHeight:n(o).mul(2.5).equal(),emptyImgHeightMD:o,emptyImgHeightSM:n(o).mul(.875).equal()});return AL(r)});var LN=y(DN,null),FN=y(MN,null),R$=re((e,t)=>{let{className:o,rootClassName:n,prefixCls:r,image:i,description:a,children:s,imageStyle:l,style:c,classNames:u,styles:d,...f}=e,{getPrefixCls:m,direction:p,className:g,style:x,classNames:h,styles:b,image:v}=Xe("empty"),$=m("empty",r),[S,C]=jN($),w=qe(x),R=qe(c),[N,O]=tt([h,u],[b,w,d,R],{props:e}),[P]=Wt("Empty"),z=typeof a<"u"?a:P?.description,D=typeof z=="string"?z:"empty",L=i??v??LN,F=null;typeof L=="string"?F=y("img",{draggable:!1,alt:D,src:L}):F=L;let Z=k(null);return Te(t,()=>({nativeElement:Z.current})),y("div",{ref:Z,className:E(S,C,$,g,{[`${$}-normal`]:L===FN,[`${$}-rtl`]:p==="rtl"},o,n,N.root),style:O.root,...f},y("div",{className:E(`${$}-image`,N.image),style:{...l,...O.image}},F),z&&y("div",{className:E(`${$}-description`,N.description),style:O.description},z),s&&y("div",{className:E(`${$}-footer`,N.footer),style:O.footer},s))});R$.PRESENTED_IMAGE_DEFAULT=LN;R$.PRESENTED_IMAGE_SIMPLE=FN;var bme=R$;function Wa(e){return["small","middle","medium","large"].includes(e)}function I$(e){return e?pr(e):!1}var P$=["wrap","nowrap","wrap-reverse"],N$=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],k$=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],DL=(e,t)=>{let o=t.wrap===!0?"wrap":t.wrap;return{[`${e}-wrap-${o}`]:o&&P$.includes(o)}},ML=(e,t)=>{let o={};return k$.forEach(n=>{o[`${e}-align-${n}`]=t.align===n}),o[`${e}-align-stretch`]=!t.align&&!!t.vertical,o},jL=(e,t)=>{let o={};return N$.forEach(n=>{o[`${e}-justify-${n}`]=t.justify===n}),o},LL=(e,t)=>E({...DL(e,t),...ML(e,t),...jL(e,t)}),UN=LL;var FL=e=>{let{componentCls:t}=e;return{[t]:{display:"flex",margin:0,padding:0,"&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},UL=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-medium, &-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},VL=e=>{let{componentCls:t}=e,o={};return P$.forEach(n=>{o[`${t}-wrap-${n}`]={flexWrap:n}}),o},BL=e=>{let{componentCls:t}=e,o={};return k$.forEach(n=>{o[`${t}-align-${n}`]={alignItems:n}}),o},HL=e=>{let{componentCls:t}=e,o={};return N$.forEach(n=>{o[`${t}-justify-${n}`]={justifyContent:n}}),o},ZL=()=>({}),VN=Ae("Flex",e=>{let{paddingXS:t,padding:o,paddingLG:n}=e,r=Ie(e,{flexGapSM:t,flexGap:o,flexGapLG:n});return[FL(r),UL(r),VL(r),BL(r),HL(r)]},ZL,{resetStyle:!1});var WL=_.forwardRef((e,t)=>{let{prefixCls:o,rootClassName:n,className:r,style:i,flex:a,gap:s,vertical:l,orientation:c,component:u="div",children:d,...f}=e,{flex:m,direction:p,getPrefixCls:g}=_.useContext(he),x=g("flex",o),[h,b]=VN(x),[,v]=Nn(c,l??m?.vertical),$=E(r,n,m?.className,x,h,b,UN(x,{...e,vertical:v}),{[`${x}-rtl`]:p==="rtl",[`${x}-gap-${s}`]:Wa(s),[`${x}-vertical`]:v}),S={...m?.style,...i};return Zt(a)&&(S.flex=a),Zt(s)&&!Wa(s)&&(S.gap=s),_.createElement(u,{ref:t,className:$,style:S,...mr(f,["justify","wrap","align"])},d)}),jme=WL;var GL=e=>{let{children:t,prefixCls:o,id:n,classNames:r,styles:i,className:a,style:s}=e;return y("div",{id:n,className:E(`${o}-container`,r?.container,a),style:{...i?.container,...s},role:"tooltip"},typeof t=="function"?t():t)},Si=GL;var Ga={shiftX:64,adjustY:1},qa={adjustX:1,shiftY:!0},Xr=[0,0],BN={left:{points:["cr","cl"],overflow:qa,offset:[-4,0],targetOffset:Xr},right:{points:["cl","cr"],overflow:qa,offset:[4,0],targetOffset:Xr},top:{points:["bc","tc"],overflow:Ga,offset:[0,-4],targetOffset:Xr},bottom:{points:["tc","bc"],overflow:Ga,offset:[0,4],targetOffset:Xr},topLeft:{points:["bl","tl"],overflow:Ga,offset:[0,-4],targetOffset:Xr},leftTop:{points:["tr","tl"],overflow:qa,offset:[-4,0],targetOffset:Xr},topRight:{points:["br","tr"],overflow:Ga,offset:[0,-4],targetOffset:Xr},rightTop:{points:["tl","tr"],overflow:qa,offset:[4,0],targetOffset:Xr},bottomRight:{points:["tr","br"],overflow:Ga,offset:[0,4],targetOffset:Xr},rightBottom:{points:["bl","br"],overflow:qa,offset:[4,0],targetOffset:Xr},bottomLeft:{points:["tl","bl"],overflow:Ga,offset:[0,4],targetOffset:Xr},leftBottom:{points:["br","bl"],overflow:qa,offset:[-4,0],targetOffset:Xr}};function z$(){return z$=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},z$.apply(this,arguments)}var qL=re((e,t)=>{let{trigger:o=["hover"],mouseEnterDelay:n=0,mouseLeaveDelay:r=.1,prefixCls:i="rc-tooltip",children:a,onVisibleChange:s,afterVisibleChange:l,motion:c,placement:u="right",align:d={},destroyOnHidden:f=!1,defaultVisible:m,getTooltipContainer:p,arrowContent:g,overlay:x,id:h,showArrow:b=!0,classNames:v,styles:$,...S}=e,C=Yr(h),w=k(null);Te(t,()=>w.current);let R={...S};"visible"in e&&(R.popupVisible=e.visible);let N=A(()=>{if(!b)return!1;let P=b===!0?{}:b;return{...P,className:E(P.className,v?.arrow),style:{...P.style,...$?.arrow},content:P.content??g}},[b,v?.arrow,$?.arrow,g]),O=({open:P})=>{let z=rs.only(a);return kt(z,{"aria-describedby":x&&P?C:void 0})};return y(YE,z$({popupClassName:v?.root,prefixCls:i,popup:y(Si,{key:"content",prefixCls:i,id:C,classNames:v,styles:$},x),action:o,builtinPlacements:BN,popupPlacement:u,ref:w,popupAlign:d,getPopupContainer:p,onOpenChange:s,afterOpenChange:l,popupMotion:c,defaultPopupVisible:m,autoDestroy:f,mouseLeaveDelay:r,popupStyle:$?.root,mouseEnterDelay:n,arrow:N,uniqueContainerClassName:v?.uniqueContainer,uniqueContainerStyle:$?.uniqueContainer},R),O)}),HN=qL;var ZN=HN;function Rf(e){let{sizePopupArrow:t,borderRadiusXS:o,borderRadiusOuter:n}=e,r=t/2,i=0,a=r,s=n*1/Math.sqrt(2),l=r-n*(1-1/Math.sqrt(2)),c=r-o*(1/Math.sqrt(2)),u=n*(Math.sqrt(2)-1)+o*(1/Math.sqrt(2)),d=2*r-c,f=u,m=2*r-s,p=l,g=2*r-i,x=a,h=r*Math.sqrt(2)+n*(Math.sqrt(2)-2),b=n*(Math.sqrt(2)-1),v=`polygon(${b}px 100%, 50% ${b}px, ${2*r-b}px 100%, ${b}px 100%)`,$=`path('M ${i} ${a} A ${n} ${n} 0 0 0 ${s} ${l} L ${c} ${u} A ${o} ${o} 0 0 1 ${d} ${f} L ${m} ${p} A ${n} ${n} 0 0 0 ${g} ${x} Z')`;return{arrowShadowWidth:h,arrowPath:$,arrowPolygon:v}}var WN=(e,t,o)=>{let{sizePopupArrow:n,arrowPolygon:r,arrowPath:i,arrowShadowWidth:a,borderRadiusXS:s,calc:l}=e,c={content:'""',position:"absolute",width:a,height:a,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${B(s)} 0`},transform:"translateY(50%) rotate(-135deg)",zIndex:0,background:"transparent"};return o&&(c.boxShadow=o),{pointerEvents:"none",width:n,height:n,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:n,height:l(n).div(2).equal(),background:t,clipPath:{_multi_value_:!0,value:[r,i]},content:'""'},"&::after":c}};var T$=8;function Xa(e){let{contentRadius:t,limitVerticalRadius:o}=e,n=t>12?t+2:12;return{arrowOffsetHorizontal:n,arrowOffsetVertical:o?T$:n}}var XL=(e,t,o)=>{let{componentCls:n,boxShadowPopoverArrow:r,arrowOffsetVertical:i,arrowOffsetHorizontal:a,antCls:s}=e,[l]=gt(s,"tooltip"),{arrowDistance:c=0,arrowShadow:u=!0}=o||{};return{[n]:{[`${n}-arrow`]:[{position:"absolute",zIndex:1,display:"block",...WN(e,t,u?r:!1),"&:before":{background:t}}],[[`&-placement-top > ${n}-arrow`,`&-placement-topLeft > ${n}-arrow`,`&-placement-topRight > ${n}-arrow`].join(",")]:{bottom:c,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{[l("arrow-offset-x")]:a,[`> ${n}-arrow`]:{left:{_skip_check_:!0,value:a}}},"&-placement-topRight":{[l("arrow-offset-x")]:`calc(100% - ${B(a)})`,[`> ${n}-arrow`]:{right:{_skip_check_:!0,value:a}}},[[`&-placement-bottom > ${n}-arrow`,`&-placement-bottomLeft > ${n}-arrow`,`&-placement-bottomRight > ${n}-arrow`].join(",")]:{top:c,transform:"translateY(-100%)"},[`&-placement-bottom > ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{[l("arrow-offset-x")]:a,[`> ${n}-arrow`]:{left:{_skip_check_:!0,value:a}}},"&-placement-bottomRight":{[l("arrow-offset-x")]:`calc(100% - ${B(a)})`,[`> ${n}-arrow`]:{right:{_skip_check_:!0,value:a}}},[[`&-placement-left > ${n}-arrow`,`&-placement-leftTop > ${n}-arrow`,`&-placement-leftBottom > ${n}-arrow`].join(",")]:{right:{_skip_check_:!0,value:c},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${n}-arrow`]:{top:i},[`&-placement-leftBottom > ${n}-arrow`]:{bottom:i},[[`&-placement-right > ${n}-arrow`,`&-placement-rightTop > ${n}-arrow`,`&-placement-rightBottom > ${n}-arrow`].join(",")]:{left:{_skip_check_:!0,value:c},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${n}-arrow`]:{top:i},[`&-placement-rightBottom > ${n}-arrow`]:{bottom:i}}}},If=XL;function KL(e,t,o,n){if(n===!1)return{adjustX:!1,adjustY:!1};let r=Be(n)?n:{},i={};switch(e){case"top":case"bottom":i.shiftX=t.arrowOffsetHorizontal*2+o,i.shiftY=!0,i.adjustY=!0;break;case"left":case"right":i.shiftY=t.arrowOffsetVertical*2+o,i.shiftX=!0,i.adjustX=!0;break}let a={...i,...r};return a.shiftX||(a.adjustX=!0),a.shiftY||(a.adjustY=!0),a}var GN={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},JL={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},YL=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function O$(e){let{arrowWidth:t,autoAdjustOverflow:o,arrowPointAtCenter:n,offset:r,borderRadius:i,visibleFirst:a}=e,s=t/2,l={},c=Xa({contentRadius:i,limitVerticalRadius:!0});return Object.keys(GN).forEach(u=>{let f={...n&&JL[u]||GN[u],offset:[0,0],dynamicInset:!0};switch(l[u]=f,YL.has(u)&&(f.autoArrow=!1),u){case"top":case"topLeft":case"topRight":f.offset[1]=-s-r;break;case"bottom":case"bottomLeft":case"bottomRight":f.offset[1]=s+r;break;case"left":case"leftTop":case"leftBottom":f.offset[0]=-s-r;break;case"right":case"rightTop":case"rightBottom":f.offset[0]=s+r;break}if(n)switch(u){case"topLeft":case"bottomLeft":f.offset[0]=-c.arrowOffsetHorizontal-s;break;case"topRight":case"bottomRight":f.offset[0]=c.arrowOffsetHorizontal+s;break;case"leftTop":case"rightTop":f.offset[1]=-c.arrowOffsetHorizontal*2+s;break;case"leftBottom":case"rightBottom":f.offset[1]=c.arrowOffsetHorizontal*2-s;break}f.overflow=KL(u,c,t,o),a&&(f.htmlRegion="visibleFirst")}),l}var QL=_.createContext(!1),qN=QL;var eF=(e,t)=>{let o=n=>typeof n=="boolean"?{show:n}:n||{};return _.useMemo(()=>{let n=o(e),r=o(t);return{...r,...n,show:n.show??r.show??!0}},[e,t])},Pf=eF;var XN="50%",tF=e=>{let{calc:t,componentCls:o,tooltipMaxWidth:n,tooltipColor:r,tooltipBg:i,tooltipBorderRadius:a,zIndexPopup:s,controlHeight:l,dropShadowPopover:c,paddingSM:u,paddingXS:d,arrowOffsetHorizontal:f,sizePopupArrow:m,antCls:p}=e,[g,x]=gt(p,"tooltip"),h=t(a).add(m).add(f).equal(),v={minWidth:t(a).mul(2).add(m).equal(),minHeight:l,padding:`${B(e.calc(u).div(2).equal())} ${B(d)}`,color:x("overlay-color",r),textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:i,borderRadius:a,boxSizing:"border-box"},$={[g("valid-offset-x")]:x("arrow-offset-x","var(--arrow-x)"),transformOrigin:[x("valid-offset-x",XN),`var(--arrow-y, ${XN})`].join(" ")};return[{[o]:{...hr(e),position:"absolute",zIndex:s,display:"block",width:"max-content",maxWidth:n,visibility:"visible",filter:c,...$,"&-hidden":{display:"none"},[g("arrow-background-color")]:i,[`${o}-container`]:[v,dc(e,!0)],[`&:has(~ ${o}-unique-container)`]:{[`${o}-container`]:{border:"none",background:"transparent"}},[["&-placement-topLeft","&-placement-topRight","&-placement-bottomLeft","&-placement-bottomRight"].join(",")]:{minWidth:h},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${o}-inner`]:{borderRadius:e.min(a,T$)}},[`${o}-content`]:{position:"relative"},...Hd(e,(S,{darkColor:C})=>({[`&${o}-${S}`]:{[`${o}-container`]:{backgroundColor:C},[`${o}-arrow`]:{[g("arrow-background-color")]:C}}})),"&-rtl":{direction:"rtl"}}},If(e,x("arrow-background-color"),{arrowShadow:!1}),{[`${o}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}},{[`${o}-unique-container`]:{...v,...$,position:"absolute",zIndex:t(s).sub(1).equal(),filter:c,"&-hidden":{display:"none"},"&-visible":{transition:`all ${e.motionDurationSlow}`}}}]},rF=e=>({zIndexPopup:e.zIndexPopupBase+70,maxWidth:250,...Xa({contentRadius:e.borderRadius,limitVerticalRadius:!0}),...Rf(Ie(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)}))}),Nf=(e,t,o=!0)=>Ae("Tooltip",r=>{let{borderRadius:i,colorTextLightSolid:a,colorBgSpotlight:s,maxWidth:l}=r,c=Ie(r,{tooltipMaxWidth:l,tooltipColor:a,tooltipBorderRadius:i,tooltipBg:s});return[tF(c),xi(r,"zoom-big-fast")]},rF,{resetStyle:!1,injectStyle:o})(e,t);var oF=It.map(e=>`${e}-inverse`);function KN(e,t=!0){return t?[].concat(Et(oF),Et(It)).includes(e):It.includes(e)}var kf=(e,t,o)=>{let n=KN(o),[r]=gt(e,"tooltip"),i=E({[`${t}-${o}`]:o&&n}),a={},s={},l=PI(o).toRgb(),u=(.299*l.r+.587*l.g+.114*l.b)/255<.5?"#FFF":"#000";return o&&!n&&(a.background=o,a[r("overlay-color")]=u,s[r("arrow-background-color")]=o),{className:i,overlayStyle:a,arrowStyle:s}};var nF=e=>{let{prefixCls:t,className:o,placement:n="top",title:r,color:i,overlayInnerStyle:a,classNames:s,styles:l}=e,{getPrefixCls:c}=M(he),u=c("tooltip",t),d=c(),f=Pr(u),[m,p]=Nf(u,f),g=kf(d,u,i),x=g.arrowStyle,h=A(()=>({container:{...a,...g.overlayStyle}}),[a,g.overlayStyle]),b={...e,placement:n},[v,$]=tt([s],[h,l],{props:b}),S=E(f,m,p,u,`${u}-pure`,`${u}-placement-${n}`,o,g.className);return y("div",{className:S,style:x},y("div",{className:`${u}-arrow`}),y(Si,{...e,className:m,prefixCls:u,classNames:v,styles:$},r))},JN=nF;var iF=re((e,t)=>{let{prefixCls:o,openClassName:n,getTooltipContainer:r,color:i,children:a,afterOpenChange:s,arrow:l,destroyTooltipOnHide:c,destroyOnHidden:u,title:d,overlay:f,trigger:m,builtinPlacements:p,autoAdjustOverflow:g=!0,motion:x,getPopupContainer:h,placement:b="top",mouseEnterDelay:v,mouseLeaveDelay:$,rootClassName:S,styles:C,classNames:w,onOpenChange:R,overlayInnerStyle:N,overlayStyle:O,overlayClassName:P,...z}=e,[,D]=ut(),L=e["data-popover-inject"],{getPopupContainer:F,getPrefixCls:Z,direction:J,...G}=Xe("tooltip"),{className:ne,style:Y,classNames:Q,styles:ee,arrow:se,trigger:ce,mouseEnterDelay:oe,mouseLeaveDelay:de}=L?{}:G,ve=v??oe??.1,ae=$??de??.1,le=Pf(l,se),Se=le.show,we=m||ce||"hover",q=h||F,ke=u??!!c,fe=M(qN),me=vn("Tooltip"),Ce=k(null),ue=()=>{Ce.current?.forceAlign()};Te(t,()=>({forceAlign:ue,nativeElement:Ce.current?.nativeElement,popupElement:Ce.current?.popupElement}));let[pe,Me]=Tr(e.defaultOpen??!1,e.open),at=!d&&!f&&d!==0,Tt=Oe=>{Me(at?!1:Oe),!at&&R&&R(Oe)},De=A(()=>p||O$({arrowPointAtCenter:le?.pointAtCenter??!1,autoAdjustOverflow:g,arrowWidth:Se?D.sizePopupArrow:0,borderRadius:D.borderRadius,offset:D.marginXXS,visibleFirst:!0}),[le,p,D,Se,g]),st=A(()=>d===0?d:f||d||"",[f,d]),vt=y($i,{space:!0,form:!0},Le(st)?st():st),Lr={...e,trigger:we,builtinPlacements:De,getPopupContainer:q,destroyOnHidden:ke,mouseEnterDelay:ve,mouseLeaveDelay:ae},Ot=qe(Y),Fr=qe(O),[qt,jt]=tt([Q,w],[ee,Ot,C,Fr],{props:Lr}),ct=Z("tooltip",o),xr=Z(),He=pe;(!("open"in e)&&at||fe)&&(He=!1);let Nt=Vr(a)&&!Pd(a)?a:y("span",null,a),Ve=Nt.props,Ze=!Ve.className||typeof Ve.className=="string"?E(Ve.className,n||`${ct}-open`):Ve.className,je=Pr(ct),[Je,xt]=Nf(ct,je,!L),wt=kf(xr,ct,i),lt=wt.arrowStyle,Lt=E(je,Je,xt),Xt=E(P,{[`${ct}-rtl`]:J==="rtl"},wt.className,S,Lt,ne,qt.root),[yr,Ft]=Qd("Tooltip",z.zIndex),Ut={...jt.container,...N,...wt.overlayStyle},nr=y(ZN,{unique:!0,...z,zIndex:yr,showArrow:Se,placement:b,mouseEnterDelay:ve,mouseLeaveDelay:ae,prefixCls:ct,classNames:{root:Xt,container:qt.container,arrow:qt.arrow,uniqueContainer:E(Lt,qt.container)},styles:{root:{...lt,...jt.root},container:Ut,uniqueContainer:Ut,arrow:jt.arrow},ref:Ce,overlay:vt,visible:He,onVisibleChange:Tt,afterVisibleChange:s,arrowContent:y("span",{className:`${ct}-arrow-content`}),motion:{motionName:Ro(xr,"zoom-big-fast",typeof x?.motionName=="string"?x?.motionName:void 0),motionDeadline:1e3},trigger:we,builtinPlacements:De,getTooltipContainer:q,destroyOnHidden:ke},He&&!z.disabled?Bo(Nt,{className:Ze}):Nt);return y(za.Provider,{value:Ft},nr)}),A$=iF;A$._InternalPanelDoNotUseOrYouWillBeFired=JN;A$.UniqueProvider=kd;var YN=A$;var Ka=e=>mt(e)?Le(e)?e():e:null;var QN="50%",aF=e=>{let{componentCls:t,popoverColor:o,titleMinWidth:n,fontWeightStrong:r,innerPadding:i,dropShadowPopover:a,colorTextHeading:s,borderRadiusLG:l,zIndexPopup:c,titleMarginBottom:u,colorBgElevated:d,popoverBg:f,titleBorderBottom:m,innerContentPadding:p,titlePadding:g,antCls:x}=e,[h,b]=gt(x,"tooltip");return[{[t]:{...hr(e),position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:c,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",filter:a,[h("valid-offset-x")]:b("arrow-offset-x","var(--arrow-x)"),transformOrigin:[b("valid-offset-x",QN),`var(--arrow-y, ${QN})`].join(" "),[h("arrow-background-color")]:d,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-container`]:{backgroundColor:f,backgroundClip:"padding-box",borderRadius:l,padding:i},[`${t}-title`]:{minWidth:n,marginBottom:u,color:s,fontWeight:r,borderBottom:m,padding:g},[`${t}-content`]:{color:o,padding:p}}},If(e,b("arrow-background-color"),{arrowShadow:!1}),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block"}}]},sF=e=>{let{componentCls:t,antCls:o}=e,[n]=gt(o,"tooltip");return{[t]:It.map(r=>{let i=e[`${r}6`];return{[`&${t}-${r}`]:{[n("arrow-background-color")]:i,[`${t}-inner`]:{backgroundColor:i},[`${t}-arrow`]:{background:"transparent"}}}})}},cF=e=>{let{lineWidth:t,controlHeight:o,fontHeight:n,padding:r,wireframe:i,zIndexPopupBase:a,borderRadiusLG:s,marginXS:l,lineType:c,colorSplit:u,paddingSM:d}=e,f=o-n,m=f/2,p=f/2-t,g=r;return{titleMinWidth:177,zIndexPopup:a+30,...Rf(e),...Xa({contentRadius:s,limitVerticalRadius:!0}),innerPadding:i?0:12,titleMarginBottom:i?0:l,titlePadding:i?`${m}px ${g}px ${p}px`:0,titleBorderBottom:i?`${t}px ${c} ${u}`:"none",innerContentPadding:i?`${d}px ${g}px`:0}},zf=Ae("Popover",e=>{let{colorBgElevated:t,colorText:o}=e,n=Ie(e,{popoverBg:t,popoverColor:o});return[aF(n),sF(n),xi(n,"zoom-big")]},cF,{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]});var D$=e=>{let{title:t,content:o,prefixCls:n,classNames:r,styles:i}=e;return!mt(t)&&!mt(o)?null:y(Ct,null,mt(t)&&y("div",{className:E(`${n}-title`,r?.title),style:i?.title},t),mt(o)&&y("div",{className:E(`${n}-content`,r?.content),style:i?.content},o))},lF=e=>{let{hashId:t,prefixCls:o,className:n,style:r,placement:i="top",title:a,content:s,children:l,classNames:c,styles:u}=e,d=Ka(a),f=Ka(s),m={...e,placement:i},[p,g]=tt([c],[u],{props:m}),x=E(t,o,`${o}-pure`,`${o}-placement-${i}`,n);return y("div",{className:x,style:r},y("div",{className:`${o}-arrow`}),y(Si,{...e,className:t,prefixCls:o,classNames:p,styles:g},l||y(D$,{prefixCls:o,title:d,content:f,classNames:p,styles:g})))},uF=e=>{let{prefixCls:t,className:o,...n}=e,{getPrefixCls:r}=M(he),i=r("popover",t),[a,s]=zf(i);return y(lF,{...n,prefixCls:i,hashId:a,className:E(o,s)})},ek=uF;var dF=re((e,t)=>{let{prefixCls:o,title:n,content:r,overlayClassName:i,placement:a="top",trigger:s,children:l,mouseEnterDelay:c,mouseLeaveDelay:u,onOpenChange:d,overlayStyle:f={},styles:m,classNames:p,motion:g,arrow:x,...h}=e,{getPrefixCls:b,className:v,style:$,classNames:S,styles:C,arrow:w,trigger:R,mouseEnterDelay:N,mouseLeaveDelay:O}=Xe("popover"),P=c??N??.1,z=u??O??.1,D=b("popover",o),[L,F]=zf(D),Z=b(),J=Pf(x,w),G=s||R||"hover",ne={...e,placement:a,trigger:G,mouseEnterDelay:P,mouseLeaveDelay:z,overlayStyle:f,styles:m,classNames:p},Y=qe($),Q=qe(f),[ee,se]=tt([S,p],[C,Y,m,Q],{props:ne}),ce=E(i,L,F,v,ee.root),[oe,de]=Tr(e.defaultOpen??!1,e.open),ve=Se=>{de(Se),d?.(Se)},ae=Ka(n),le=Ka(r);return y(YN,{unique:!1,arrow:J,placement:a,trigger:G,mouseEnterDelay:P,mouseLeaveDelay:z,...h,prefixCls:D,classNames:{root:ce,container:ee.container,arrow:ee.arrow},styles:{root:se.root,container:se.container,arrow:se.arrow},ref:t,open:oe,onOpenChange:ve,overlay:mt(ae)||mt(le)?y(D$,{prefixCls:D,title:ae,content:le,classNames:ee,styles:se}):null,motion:{motionName:Ro(Z,"zoom-big",typeof g?.motionName=="string"?g?.motionName:void 0)},"data-popover-inject":!0},l)}),tk=dF;tk._InternalPanelDoNotUseOrYouWillBeFired=ek;var zge=tk;var Ci=(e,t,o)=>E({[`${e}-status-success`]:t==="success",[`${e}-status-warning`]:t==="warning",[`${e}-status-error`]:t==="error",[`${e}-status-validating`]:t==="validating",[`${e}-has-feedback`]:o}),Tf=(e,t)=>t||e;var fF=e=>{let{componentCls:t,borderRadius:o,paddingSM:n,colorBorder:r,paddingXS:i,fontSizeLG:a,fontSizeSM:s,borderRadiusLG:l,borderRadiusSM:c,colorBgContainerDisabled:u,lineWidth:d,lineType:f,antCls:m}=e,[p,g]=gt(m,"space-addon");return{[t]:[{...hr(e),display:"inline-flex",alignItems:"center",gap:0,whiteSpace:"nowrap",paddingInline:n,margin:0,borderWidth:d,borderStyle:f,borderRadius:o,"&:hover":{zIndex:0},[`&${t}-disabled`]:{color:e.colorTextDisabled},"&-large":{fontSize:a,borderRadius:l},"&-small":{paddingInline:i,borderRadius:c,fontSize:s},"&-compact-last-item":{borderEndStartRadius:0,borderStartStartRadius:0},"&-compact-first-item":{borderEndEndRadius:0,borderStartEndRadius:0},"&-compact-item:not(:first-child):not(:last-child)":{borderRadius:0},"&-compact-item:not(:last-child)":{borderInlineEndWidth:0},"&-compact-item:not(:first-child)":{borderInlineStartWidth:0}},{[p("addon-border-color")]:r,[p("addon-background")]:u,[p("addon-border-color-outlined")]:r,[p("addon-background-filled")]:u,borderColor:g("addon-border-color"),background:g("addon-background"),"&-variant-outlined":{[p("addon-border-color")]:g("addon-border-color-outlined")},"&-variant-filled":{[p("addon-border-color")]:"transparent",[p("addon-background")]:g("addon-background-filled"),[`&${t}-disabled`]:{[p("addon-border-color")]:r,[p("addon-background")]:u}},"&-variant-borderless":{border:"none",background:"transparent"},"&-variant-underlined":{border:"none",background:"transparent"}},{"&-status-error":{[p("addon-border-color-outlined")]:e.colorError,[p("addon-background-filled")]:e.colorErrorBg,color:e.colorError},"&-status-warning":{[p("addon-border-color-outlined")]:e.colorWarning,[p("addon-background-filled")]:e.colorWarningBg,color:e.colorWarning}}]}},rk=Ae("Addon",e=>[fF(e),Oa(e,{focus:!1})]);var mF=_.forwardRef((e,t)=>{let{className:o,children:n,style:r,prefixCls:i,variant:a="outlined",disabled:s,status:l,...c}=e,{getPrefixCls:u,direction:d}=_.useContext(he),f=u("space-addon",i),[m,p]=rk(f),{compactItemClassnames:g,compactSize:x}=Tn(f,d),h=Ci(f,l),b=E(f,m,g,p,`${f}-variant-${a}`,h,{[`${f}-${x}`]:x,[`${f}-disabled`]:s},o);return _.createElement("div",{ref:t,className:b,style:r,...c},n)}),ok=mF;var M$=_.createContext({latestIndex:0}),nk=M$.Provider;var pF=e=>{let{className:t,prefix:o,index:n,children:r,separator:i,style:a,classNames:s,styles:l}=e,{latestIndex:c}=M(M$);return mt(r)?y(Ct,null,y("div",{className:t,style:a},r),n<c&&i&&y("span",{className:E(`${o}-item-separator`,s?.separator),style:l?.separator},i)):null},ik=pF;var gF=e=>{let{componentCls:t,antCls:o}=e;return{[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${t}-item:empty`]:{display:"none"},[`${t}-item > ${o}-badge-not-a-wrapper:only-child`]:{display:"block"}}}},hF=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-medium, &-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-medium, &-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}};var ak=Ae("Space",e=>{let t=Ie(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[gF(t),hF(t)]},()=>({}),{resetStyle:!1});var vF=re((e,t)=>{let{getPrefixCls:o,direction:n,size:r,className:i,style:a,classNames:s,styles:l}=Xe("space"),{size:c=r??"small",align:u,className:d,rootClassName:f,children:m,direction:p,orientation:g,prefixCls:x,split:h,separator:b,style:v,vertical:$,wrap:S=!1,classNames:C,styles:w,...R}=e,[N,O]=Array.isArray(c)?c:[c,c],P=Wa(O),z=Wa(N),D=I$(O),L=I$(N),F=wr(m,{keepEmpty:!0}),[Z,J]=Nn(g,$,p),G=u===void 0&&!J?"center":u,ne=b??h,Y=o("space",x),[Q,ee]=ak(Y),se={...e,size:c,orientation:Z,align:G},ce=qe(a),oe=qe(v),[de,ve]=tt([s,C],[l,ce,w,oe],{props:se}),ae=E(Y,i,Q,`${Y}-${Z}`,{[`${Y}-rtl`]:n==="rtl",[`${Y}-align-${G}`]:G,[`${Y}-gap-row-${O}`]:P,[`${Y}-gap-col-${N}`]:z},d,f,ee,de.root),le=E(`${Y}-item`,de.item),Se=F.map((ke,fe)=>{let me=ke?.key||`${le}-${fe}`;return y(ik,{prefix:Y,classNames:de,styles:ve,className:le,key:me,index:fe,separator:ne,style:ve.item},ke)}),we=A(()=>({latestIndex:F.reduce((fe,me,Ce)=>mt(me)?Ce:fe,0)}),[F]);if(F.length===0)return null;let q={};return S&&(q.flexWrap="wrap"),!z&&L&&(q.columnGap=N),!P&&D&&(q.rowGap=O),y("div",{ref:t,className:ae,style:{...q,...ve.root},...R},y(nk,{value:we},Se))}),j$=vF;j$.Compact=aI;j$.Addon=ok;var phe=j$;function ck(e){return!!(e.addonBefore||e.addonAfter)}function lk(e){return!!(e.prefix||e.suffix||e.allowClear)}function sk(e,t,o){let n=t.cloneNode(!0),r=Object.create(e,{target:{value:n},currentTarget:{value:n}});return n.value=o,typeof t.selectionStart=="number"&&typeof t.selectionEnd=="number"&&(n.selectionStart=t.selectionStart,n.selectionEnd=t.selectionEnd),n.setSelectionRange=(...i)=>{t.setSelectionRange(...i)},r}function Ja(e,t,o,n){if(!o)return;let r=t;if(t.type==="click"){r=sk(t,e,""),o(r);return}if(e.type!=="file"&&n!==void 0){r=sk(t,e,n),o(r);return}o(r)}function L$(){return L$=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},L$.apply(this,arguments)}var xF=_.forwardRef((e,t)=>{let{inputElement:o,children:n,prefixCls:r,prefix:i,suffix:a,addonBefore:s,addonAfter:l,className:c,style:u,disabled:d,readOnly:f,focused:m,triggerFocus:p,allowClear:g,value:x,handleReset:h,hidden:b,classes:v,classNames:$,dataAttrs:S,styles:C,components:w,onClear:R}=e,N=n??o,O=w?.affixWrapper||"span",P=w?.groupWrapper||"span",z=w?.wrapper||"span",D=w?.groupAddon||"span",L=k(null),F=ne=>{L.current?.contains(ne.target)&&p?.()},Z=lk(e),J=kt(N,{value:x,className:E(N.props?.className,!Z&&$?.variant)||null}),G=k(null);if(_.useImperativeHandle(t,()=>({nativeElement:G.current||L.current})),Z){let ne=null;if(g){let se=!d&&!f&&x&&!(typeof g=="object"&&g.disabled),ce=`${r}-clear-icon`,oe=typeof g=="object"&&g?.clearIcon?g.clearIcon:"\u2716";ne=_.createElement("button",{type:"button",onClick:de=>{h?.(de),R?.()},onMouseDown:de=>de.preventDefault(),className:E(ce,{[`${ce}-hidden`]:!se,[`${ce}-has-suffix`]:!!a},$?.clear),style:C?.clear},oe)}let Y=`${r}-affix-wrapper`,Q=E(Y,{[`${r}-disabled`]:d,[`${Y}-disabled`]:d,[`${Y}-focused`]:m,[`${Y}-readonly`]:f,[`${Y}-input-with-clear-btn`]:a&&g&&x},v?.affixWrapper,$?.affixWrapper,$?.variant),ee=(a||g)&&_.createElement("span",{className:E(`${r}-suffix`,$?.suffix),style:C?.suffix},ne,a);J=_.createElement(O,L$({className:Q,style:C?.affixWrapper,onClick:F},S?.affixWrapper,{ref:L}),i&&_.createElement("span",{className:E(`${r}-prefix`,$?.prefix),style:C?.prefix},i),J,ee)}if(ck(e)){let ne=`${r}-group`,Y=`${ne}-addon`,Q=`${ne}-wrapper`,ee=E(`${r}-wrapper`,ne,v?.wrapper,$?.wrapper),se=E(Q,{[`${Q}-disabled`]:d},v?.group,$?.groupWrapper);J=_.createElement(P,{className:se,ref:G},_.createElement(z,{className:ee},s&&_.createElement(D,{className:Y},s),J,l&&_.createElement(D,{className:Y},l)))}return _.cloneElement(J,{className:E(J.props?.className,c)||null,style:{...J.props?.style,...u},hidden:b})}),$c=xF;function Sc(e,t){return A(()=>{let o={};t&&(o.show=typeof t=="object"&&t.formatter?t.formatter:!!t),o={...o,...e};let{show:n,...r}=o;return{...r,show:!!n,showFormatter:typeof n=="function"?n:void 0,strategy:r.strategy||(i=>i.length)}},[e,t])}function Cc({countConfig:e,value:t,maxLength:o}){return A(()=>{let n=e.max??o,r=e.strategy(t),i=!!n&&r>n,a=Number(n)>0,s=e.show?e.showFormatter?e.showFormatter({value:t,count:r,maxLength:n}):`${r}${a?` / ${n}`:""}`:void 0;return{mergedMax:n,isOutOfRange:i,dataCount:s}},[e,o,t])}function _c({countConfig:e,getTarget:t}){let[o,n]=W(null),r=k(t);return K(()=>{r.current=t},[t]),K(()=>{o&&(r.current()?.setSelectionRange(...o),n(null))},[o]),ft((a,s)=>{let l=a;return!s&&e.exceedFormatter&&e.max&&e.strategy(a)>e.max&&(l=e.exceedFormatter(a,{max:e.max}),a!==l&&n([r.current()?.selectionStart||0,r.current()?.selectionEnd||0])),l},[e])}function wc(e,t){let[o,n]=Tr(e,t),r=o==null?"":String(o);return{value:o,setValue:n,formatValue:r}}function Of(){return Of=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},Of.apply(this,arguments)}var yF=re((e,t)=>{let{autoComplete:o,onChange:n,onFocus:r,onBlur:i,onPressEnter:a,onKeyDown:s,onKeyUp:l,prefixCls:c="rc-input",disabled:u,htmlSize:d,className:f,maxLength:m,suffix:p,showCount:g,count:x,type:h="text",classes:b,classNames:v,styles:$,onCompositionStart:S,onCompositionEnd:C,...w}=e,[R,N]=W(!1),O=k(!1),P=k(!1),z=k(null),D=k(null),L=q=>{z.current&&ua(z.current,q)},{setValue:F,formatValue:Z}=wc(e.defaultValue,e.value),J=Sc(x,g),{isOutOfRange:G,dataCount:ne}=Cc({countConfig:J,value:Z,maxLength:m}),Y=_c({countConfig:J,getTarget:()=>z.current});Te(t,()=>({focus:L,blur:()=>{z.current?.blur()},setSelectionRange:(q,ke,fe)=>{z.current?.setSelectionRange(q,ke,fe)},select:()=>{z.current?.select()},input:z.current,nativeElement:D.current?.nativeElement||z.current})),K(()=>{P.current&&(P.current=!1),N(q=>q&&u?!1:q)},[u]);let Q=(q,ke,fe)=>{let me=Y(ke,O.current);fe.source==="compositionEnd"&&ke===me||(F(me),z.current&&Ja(z.current,q,n,me))},ee=q=>{Q(q,q.target.value,{source:"change"})},se=q=>{O.current=!1,Q(q,q.currentTarget.value,{source:"compositionEnd"}),C?.(q)},ce=q=>{a&&q.key==="Enter"&&!P.current&&!q.nativeEvent.isComposing&&(P.current=!0,a(q)),s?.(q)},oe=q=>{q.key==="Enter"&&(P.current=!1),l?.(q)},de=q=>{N(!0),r?.(q)},ve=q=>{P.current&&(P.current=!1),N(!1),i?.(q)},ae=q=>{F(""),L(),z.current&&Ja(z.current,q,n)},le=G&&`${c}-out-of-range`,Se=()=>{let q=mr(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]);return _.createElement("input",Of({autoComplete:o},q,{onChange:ee,onFocus:de,onBlur:ve,onKeyDown:ce,onKeyUp:oe,className:E(c,{[`${c}-disabled`]:u},v?.input),style:$?.input,ref:z,size:d,type:h,onCompositionStart:ke=>{O.current=!0,S?.(ke)},onCompositionEnd:se}))},we=()=>p||J.show?_.createElement(_.Fragment,null,J.show&&_.createElement("span",{className:E(`${c}-show-count-suffix`,{[`${c}-show-count-has-suffix`]:!!p},v?.count),style:{...$?.count}},ne),p):null;return _.createElement($c,Of({},w,{prefixCls:c,className:E(f,le),handleReset:ae,value:Z,focused:R,triggerFocus:L,suffix:we(),disabled:u,classes:b,classNames:v,styles:$,ref:D}),Se())}),uk=yF;var bF=`
213
+ min-height:0 !important;
214
+ max-height:none !important;
215
+ height:0 !important;
216
+ visibility:hidden !important;
217
+ overflow:hidden !important;
218
+ position:absolute !important;
219
+ z-index:-1000 !important;
220
+ top:0 !important;
221
+ right:0 !important;
222
+ pointer-events: none !important;
223
+ `,$F=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],F$={},jr;function SF(e,t=!1){let o=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&F$[o])return F$[o];let n=window.getComputedStyle(e),r=n.getPropertyValue("box-sizing")||n.getPropertyValue("-moz-box-sizing")||n.getPropertyValue("-webkit-box-sizing"),i=parseFloat(n.getPropertyValue("padding-bottom"))+parseFloat(n.getPropertyValue("padding-top")),a=parseFloat(n.getPropertyValue("border-bottom-width"))+parseFloat(n.getPropertyValue("border-top-width")),l={sizingStyle:$F.map(c=>`${c}:${n.getPropertyValue(c)}`).join(";"),paddingSize:i,borderSize:a,boxSizing:r};return t&&o&&(F$[o]=l),l}function U$(e,t=!1,o=null,n=null){jr||(jr=document.createElement("textarea"),jr.setAttribute("tab-index","-1"),jr.setAttribute("aria-hidden","true"),jr.setAttribute("name","hiddenTextarea"),document.body.appendChild(jr)),e.getAttribute("wrap")?jr.setAttribute("wrap",e.getAttribute("wrap")):jr.removeAttribute("wrap");let{paddingSize:r,borderSize:i,boxSizing:a,sizingStyle:s}=SF(e,t);jr.setAttribute("style",`${s};${bF}`),jr.value=e.value||e.placeholder||"";let l,c,u,d=jr.scrollHeight;if(a==="border-box"?d+=i:a==="content-box"&&(d-=r),o!==null||n!==null){jr.value=" ";let m=jr.scrollHeight-r;o!==null&&(l=m*o,a==="border-box"&&(l=l+r+i),d=Math.max(l,d)),n!==null&&(c=m*n,a==="border-box"&&(c=c+r+i),u=d>c?void 0:"hidden",d=Math.min(c,d))}let f={height:d,overflowY:u,resize:"none"};return l&&(f.minHeight=l),c&&(f.maxHeight=c),f}function Z$(){return Z$=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},Z$.apply(this,arguments)}var V$=0,B$=1,H$=2,CF=re((e,t)=>{let{prefixCls:o,defaultValue:n,value:r,autoSize:i,onResize:a,className:s,style:l,disabled:c,onChange:u,onInternalAutoSize:d,...f}=e,[m,p]=Tr(n,r),g=m??"",x=F=>{p(F.target.value),u?.(F)},h=k(null);Te(t,()=>({textArea:h.current}));let[b,v]=A(()=>i&&typeof i=="object"?[i.minRows,i.maxRows]:[],[i]),$=!!i,[S,C]=W(H$),[w,R]=W(),N=()=>{C(V$)};et(()=>{$&&N()},[r,b,v,$]),et(()=>{if(S===V$)C(B$);else if(S===B$){let F=U$(h.current,!1,b,v);C(H$),R(F)}},[S]);let O=k(void 0),P=()=>{O.current!==void 0&&St.cancel(O.current)},z=F=>{S===H$&&(a?.(F),i&&(P(),O.current=St(()=>{N()})))};K(()=>P,[]);let L={...l,...$?w:null};return(S===V$||S===B$)&&(L.overflowY="hidden",L.overflowX="hidden"),y(gd,{onResize:z,disabled:!(i||a)},y("textarea",Z$({},f,{ref:h,style:L,className:E(o,s,{[`${o}-disabled`]:c}),disabled:c,value:g,onChange:x})))}),W$=CF;function G$(){return G$=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},G$.apply(this,arguments)}var _F=_.forwardRef(({defaultValue:e,value:t,onFocus:o,onBlur:n,onChange:r,allowClear:i,maxLength:a,onCompositionStart:s,onCompositionEnd:l,suffix:c,prefixCls:u="rc-textarea",showCount:d,count:f,className:m,style:p,disabled:g,hidden:x,classNames:h,styles:b,onResize:v,onClear:$,onPressEnter:S,readOnly:C,autoSize:w,onKeyDown:R,...N},O)=>{let[P,z]=_.useState(!1),D=_.useRef(!1),[L,F]=_.useState(null),Z=k(null),J=k(null),G=()=>J.current?.textArea||null,{setValue:ne,formatValue:Y}=wc(e,t),Q=Sc(f,d),{isOutOfRange:ee,dataCount:se}=Cc({countConfig:Q,value:Y,maxLength:a}),ce=_c({countConfig:Q,getTarget:()=>J.current?.textArea||null}),oe=()=>{G()?.focus()};Te(O,()=>({resizableTextArea:J.current,focus:oe,blur:()=>{G()?.blur()},nativeElement:Z.current?.nativeElement||G()})),K(()=>{z(ue=>!g&&ue)},[g]);let de=(ue,pe)=>{let Me=ce(pe,D.current);ne(Me),Ja(ue.currentTarget,ue,r,Me)},ve=ue=>{D.current=!0,s?.(ue)},ae=ue=>{D.current=!1,de(ue,ue.currentTarget.value),l?.(ue)},le=ue=>{de(ue,ue.target.value)},Se=ue=>{ue.key==="Enter"&&S&&!ue.nativeEvent.isComposing&&S(ue),R?.(ue)},we=ue=>{z(!0),o?.(ue)},q=ue=>{z(!1),n?.(ue)},ke=ue=>{ne(""),oe();let pe=G();pe&&Ja(pe,ue,r)},fe=c;Q.show&&(fe=_.createElement(_.Fragment,null,fe,_.createElement("span",{className:E(`${u}-data-count`,h?.count),style:b?.count},se)));let me=ue=>{v?.(ue),G()?.style.height&&F(!0)},Ce=!w&&!d&&!i;return _.createElement($c,{ref:Z,value:Y,allowClear:i,handleReset:ke,suffix:fe,prefixCls:u,classNames:{...h,affixWrapper:E(h?.affixWrapper,{[`${u}-show-count`]:d,[`${u}-textarea-allow-clear`]:i})},disabled:g,focused:P,className:E(m,ee&&`${u}-out-of-range`),style:{...p,...L&&!Ce?{height:"auto"}:{}},dataAttrs:typeof se=="string"?{affixWrapper:{"data-count":se}}:void 0,styles:b,hidden:x,readOnly:C,onClear:$},_.createElement(W$,G$({},N,{autoSize:w,maxLength:a,onKeyDown:Se,onChange:le,onFocus:we,onBlur:q,onCompositionStart:ve,onCompositionEnd:ae,className:E(h?.textarea),style:{resize:p?.resize,...b?.textarea},disabled:g,prefixCls:u,onResize:me,ref:J,readOnly:C})))}),q$=_F;var dk=uk;var wF=(e,t,o,n)=>{let r=M(he),{variant:i,[e]:a}=r,s=M(vP),l=n?r[n]:void 0,c=a?.variant??l?.variant,u=typeof t<"u"||o===!1||typeof s<"u"||typeof c<"u"||typeof i<"u",d;typeof t<"u"?d=t:o===!1?d="borderless":d=s??c??i??"outlined";let f=yx.includes(d);return[d,f,u]},Af=wF;function X$(e,t){let o=k([]),n=()=>{o.current.push(setTimeout(()=>{e.current?.input&&e.current?.input.getAttribute("type")==="password"&&e.current?.input.hasAttribute("value")&&e.current?.input.removeAttribute("value")}))};return K(()=>(t&&n(),()=>o.current.forEach(r=>{r&&clearTimeout(r)})),[t]),n}function Ec(e){return Ie(e,{inputAffixPadding:e.paddingXXS})}var Rc=e=>{let{controlHeight:t,fontSize:o,lineHeight:n,lineWidth:r,lineWidthFocus:i,controlHeightSM:a,controlHeightLG:s,fontSizeLG:l,lineHeightLG:c,paddingSM:u,controlPaddingHorizontalSM:d,controlPaddingHorizontal:f,colorFillAlter:m,colorPrimaryHover:p,colorPrimary:g,controlOutlineWidth:x,controlOutline:h,colorErrorOutline:b,colorWarningOutline:v,colorBgContainer:$,inputFontSize:S,inputFontSizeLG:C,inputFontSizeSM:w}=e,R=S||o,N=w||R,O=C||l,P=Math.round((t-R*n)/2*10)/10-r,z=Math.round((a-N*n)/2*10)/10-r,D=Math.ceil((s-O*c)/2*10)/10-r;return{lineWidthFocus:i===0?0:r,paddingBlock:Math.max(P,0),paddingBlockSM:Math.max(z,0),paddingBlockLG:Math.max(D,0),paddingInline:u-r,paddingInlineSM:d-r,paddingInlineLG:f-r,addonBg:m,activeBorderColor:g,hoverBorderColor:p,activeShadow:`0 0 0 ${x}px ${h}`,errorActiveShadow:`0 0 0 ${x}px ${b}`,warningActiveShadow:`0 0 0 ${x}px ${v}`,hoverBg:$,activeBg:$,inputFontSize:R,inputFontSizeLG:O,inputFontSizeSM:N}};var EF=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),K$=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorderDisabled,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":{...EF(Ie(e,{hoverBorderColor:e.colorBorderDisabled,hoverBg:e.colorBgContainerDisabled}))}}),xk=(e,t)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:t.borderColor,"&:hover":{borderColor:t.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:t.activeBorderColor,boxShadow:t.activeShadow,outline:0,backgroundColor:e.activeBg}}),fk=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:{...xk(e,t),[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}},[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:t.borderColor}}),yk=(e,t)=>({"&-outlined":{...xk(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow}),[`&${e.componentCls}-disabled, &[disabled]`]:{...K$(e)},...fk(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorErrorAffix}),...fk(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarningAffix}),...t}}),mk=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:t.addonBorderColor,color:t.addonColor}}}),bk=e=>({"&-outlined":{[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${B(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},...mk(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText}),...mk(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText}),[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:{...K$(e)}}}}),$k="&:focus-visible, &:has(input:focus-visible), &:has(textarea:focus-visible)",Sk=(e,t)=>({outline:`${B(e.lineWidthFocus)} ${e.lineType} ${t}`,outlineOffset:B(e.calc(e.lineWidth).mul(-1).equal()),transition:["outline-offset","outline"].map(o=>`${o} 0s`).join(", ")}),pk=(e,t)=>({"&, & input, & textarea":{color:t.color},[$k]:Sk(e,t.color),[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}}),Ck=(e,t)=>{let{componentCls:o}=e;return{"&-borderless":{background:"transparent",border:"none",paddingBlock:e.calc(e.paddingBlock).add(e.lineWidth).equal(),[`&${o}-sm, &${o}-affix-wrapper-sm`]:{paddingBlock:e.calc(e.paddingBlockSM).add(e.lineWidth).equal()},[`&${o}-lg, &${o}-affix-wrapper-lg`]:{paddingBlock:e.calc(e.paddingBlockLG).add(e.lineWidth).equal()},"&:focus, &:focus-within":{outline:"none"},[$k]:Sk(e,e.activeBorderColor),[`&${o}-disabled, &[disabled]`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${o}-status-error`]:pk(e,{color:e.colorError,affixColor:e.colorErrorAffix}),[`&${o}-status-warning`]:pk(e,{color:e.colorWarning,affixColor:e.colorWarningAffix}),...t}}},_k=(e,t)=>({background:t.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:t?.inputColor??"unset"},"&:hover":{background:t.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:t.activeBorderColor,backgroundColor:e.activeBg}}),gk=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:{..._k(e,t),[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}}}),wk=(e,t)=>({"&-filled":{..._k(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor,inputColor:e.colorText}),[`&${e.componentCls}-disabled, &[disabled]`]:{...K$(e)},...gk(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorErrorAffix}),...gk(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarningAffix}),...t}}),hk=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{background:t.addonBg,color:t.addonColor}}}),Ek=e=>({"&-filled":{[`${e.componentCls}-group-addon`]:{background:e.colorFillTertiary,"&:last-child":{position:"static"}},...hk(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText}),...hk(e,{status:"warning",addonBg:e.colorWarningBg,addonColor:e.colorWarningText}),[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${B(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${B(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${B(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${B(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${B(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${B(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}}}),Rk=(e,t)=>({background:e.colorBgContainer,borderWidth:`${B(e.lineWidth)} 0`,borderStyle:`${e.lineType} none`,borderColor:`transparent transparent ${t.borderColor} transparent`,borderRadius:0,"&:hover":{borderColor:`transparent transparent ${t.hoverBorderColor} transparent`,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:`transparent transparent ${t.activeBorderColor} transparent`,outline:0,backgroundColor:e.activeBg}}),vk=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:{...Rk(e,t),[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}},[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:`transparent transparent ${t.borderColor} transparent`}}),Ik=(e,t)=>({"&-underlined":{...Rk(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow}),[`&${e.componentCls}-disabled, &[disabled]`]:{color:e.colorTextDisabled,boxShadow:"none",cursor:"not-allowed","&:hover":{borderColor:`transparent transparent ${e.colorBorder} transparent`}},"input[disabled], textarea[disabled]":{cursor:"not-allowed"},...vk(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorErrorAffix}),...vk(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarningAffix}),...t}});var RF=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}});var Pk=e=>{let{paddingBlockLG:t,lineHeightLG:o,borderRadiusLG:n,paddingInlineLG:r}=e;return{padding:`${B(t)} ${B(r)}`,fontSize:e.inputFontSizeLG,lineHeight:o,borderRadius:n}},Nk=e=>({padding:`${B(e.paddingBlockSM)} ${B(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),kk=(e,t={})=>({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${B(e.paddingBlock)} ${B(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`,...RF(e.colorTextPlaceholder),"&-lg":{...Pk(e),...t.largeStyle},"&-sm":{...Nk(e),...t.smallStyle},"&-rtl, &-textarea-rtl":{direction:"rtl"}}),IF=e=>{let{componentCls:t,antCls:o}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:{...Pk(e)},[`&-sm ${t}, &-sm > ${t}-group-addon`]:{...Nk(e)},[`&-lg ${o}-select-single`]:{height:e.controlHeightLG},[`&-sm ${o}-select-single`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${B(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${o}-select`]:{margin:`${B(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${B(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${o}-select-single:not(${o}-select-customize-input):not(${o}-pagination-size-changer)`]:{backgroundColor:"inherit",border:`${B(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}},[`${o}-cascader-picker`]:{margin:`-9px ${B(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${o}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[t]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${o}-select`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${o}-select`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0},"&:not(:first-child)":{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:{display:"block",...Vd(),[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[`
224
+ & > ${t}-affix-wrapper,
225
+ & > ${t}-number-affix-wrapper,
226
+ & > ${o}-picker-range
227
+ `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderInlineEndWidth:e.lineWidth},[t]:{float:"none"},[`& > ${o}-select,
228
+ & > ${o}-select-auto-complete ${t},
229
+ & > ${o}-cascader-picker ${t},
230
+ & > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover, &:focus":{zIndex:1}},[`& > ${o}-select-focused`]:{zIndex:1},[`& > ${o}-select > ${o}-select-arrow`]:{zIndex:1},[`& > *:first-child,
231
+ & > ${o}-select:first-child,
232
+ & > ${o}-select-auto-complete:first-child ${t},
233
+ & > ${o}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child,
234
+ & > ${o}-select:last-child,
235
+ & > ${o}-cascader-picker:last-child ${t},
236
+ & > ${o}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${o}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),[`${t}-affix-wrapper`]:{}}}}},PF=e=>{let{componentCls:t,controlHeightSM:o,lineWidth:n,calc:r}=e,a=r(o).sub(r(n).mul(2)).sub(16).div(2).equal();return{[t]:{...hr(e),...kk(e),...yk(e),...wk(e),...Ck(e),...Ik(e),'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:o,paddingTop:a,paddingBottom:a}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{appearance:"none"}}}},NF=e=>{let{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,padding:0,lineHeight:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,border:"none",outline:"none",backgroundColor:"transparent","&:hover":{color:e.colorIcon},"&:focus-visible":{color:e.colorIcon,borderRadius:e.borderRadiusSM,...uc(e)},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${B(e.inputAffixPadding)}`}}}},kF=e=>{let{componentCls:t,inputAffixPadding:o,colorTextDescription:n,motionDurationSlow:r,colorIcon:i,colorIconHover:a}=e,s=`${t}-affix-wrapper`,l=`${t}-affix-wrapper-disabled`;return{[s]:{...kk(e),display:"inline-flex","&-focused, &:focus":{zIndex:1},[`> input${t}`]:{padding:0},[`> input${t}, > textarea${t}`]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[t]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:n,direction:"ltr"},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:o},"&-suffix":{marginInlineStart:o},"&-password-icon":{display:"inline-flex",color:i,cursor:"pointer",transition:`all ${r}`,"&:hover":{color:a}}},...NF(e)},[`${t}-underlined`]:{borderRadius:0},[l]:{[`${t}-password-icon`]:{color:i,cursor:"not-allowed","&:hover":{color:i}}}}},zF=e=>{let{componentCls:t,borderRadiusLG:o,borderRadiusSM:n}=e;return{[`${t}-group`]:{...hr(e),...IF(e),"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:o,fontSize:e.inputFontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:n}},...bk(e),...Ek(e),[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}}},TF=e=>{let{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},Df=Ae(["Input","Shared"],e=>{let t=Ie(e,Ec(e));return[PF(t),kF(t)]},Rc,{resetFont:!1}),zk=Ae(["Input","Component"],e=>{let t=Ie(e,Ec(e));return[zF(t),TF(t),Oa(t,{focus:!0,focusElCls:`${t.componentCls}-affix-wrapper-focused`})]},Rc,{resetFont:!1});function Tk(e){return!!(e.prefix||e.suffix||e.allowClear||e.showCount)}var OF=re((e,t)=>{let{prefixCls:o,bordered:n=!0,status:r,size:i,disabled:a,onBlur:s,onFocus:l,suffix:c,allowClear:u,addonAfter:d,addonBefore:f,className:m,style:p,styles:g,rootClassName:x,onChange:h,classNames:b,variant:v,...$}=e,{getPrefixCls:S,direction:C,allowClear:w,autoComplete:R,className:N,style:O,classNames:P,styles:z}=Xe("input"),D=S("input",o),L=k(null),F=Pr(D),[Z,J]=Df(D,x);zk(D,F);let{compactSize:G,compactItemClassnames:ne}=Tn(D,C),Y=or(De=>i??G??De),Q=_.useContext(Rn),ee=a??Q,se={...e,size:Y,disabled:ee},ce=qe(O),oe=qe(p),[de,ve]=tt([P,b],[z,ce,g,oe],{props:se}),{status:ae,hasFeedback:le,feedbackIcon:Se}=M(Fa),we=Tf(ae,r),q=Tk(e)||!!le,ke=k(q),fe=X$(L,!0),me=De=>{fe(),s?.(De)},Ce=De=>{fe(),l?.(De)},ue=De=>{fe(),h?.(De)},pe=(le||c)&&_.createElement(_.Fragment,null,c,le&&Se),Me=Jd({allowClear:u,contextAllowClear:w,componentName:"Input"}),[at,Tt]=Af("input",v,n);return _.createElement(dk,{ref:_r(t,L),prefixCls:D,autoComplete:R,...$,disabled:ee,onBlur:me,onFocus:Ce,style:ve.root,styles:ve,suffix:pe,allowClear:Me,className:E(m,x,J,F,ne,N,de.root),onChange:ue,addonBefore:f&&_.createElement($i,{form:!0,space:!0},f),addonAfter:d&&_.createElement($i,{form:!0,space:!0},d),classNames:{...de,input:E({[`${D}-sm`]:Y==="small",[`${D}-lg`]:Y==="large",[`${D}-rtl`]:C==="rtl"},de.input,Z),variant:E({[`${D}-${at}`]:Tt},Ci(D,we)),affixWrapper:E({[`${D}-affix-wrapper-sm`]:Y==="small",[`${D}-affix-wrapper-lg`]:Y==="large",[`${D}-affix-wrapper-rtl`]:C==="rtl"},Z),wrapper:E({[`${D}-group-rtl`]:C==="rtl"},Z),groupWrapper:E({[`${D}-group-wrapper-sm`]:Y==="small",[`${D}-group-wrapper-lg`]:Y==="large",[`${D}-group-wrapper-rtl`]:C==="rtl",[`${D}-group-wrapper-${at}`]:Tt},Ci(`${D}-group-wrapper`,we,le),Z)}})}),Fve=OF;var AF=e=>{let{componentCls:t,paddingLG:o}=e,n=`${t}-textarea`;return{[`textarea${t}`]:{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}`,resize:"vertical","@media (hover: none) and (pointer: coarse)":{resize:"none"},[`&${t}-mouse-active`]:{transition:`all ${e.motionDurationSlow}, height 0s, width 0s`}},[`${t}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[n]:{position:"relative","&-show-count":{[`${t}-data-count`]:{position:"absolute",bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`
237
+ &-allow-clear > ${t},
238
+ &-affix-wrapper${n}-has-feedback ${t}
239
+ `]:{paddingInlineEnd:o},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingInline,insetBlockStart:e.paddingXS},[`${n}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${t}-affix-wrapper-rtl`]:{[`${t}-suffix`]:{[`${t}-data-count`]:{direction:"ltr",insetInlineStart:0}}},[`&-affix-wrapper${t}-affix-wrapper-sm`]:{[`${t}-suffix`]:{[`${t}-clear-icon`]:{insetInlineEnd:e.paddingInlineSM}}}}}},Ok=Ae(["Input","TextArea"],e=>{let t=Ie(e,Ec(e));return AF(t)},Rc,{resetFont:!1});var DF=re((e,t)=>{let{prefixCls:o,bordered:n=!0,size:r,disabled:i,status:a,allowClear:s,classNames:l,rootClassName:c,className:u,style:d,styles:f,variant:m,showCount:p,onMouseDown:g,onResize:x,...h}=e,{getPrefixCls:b,direction:v,allowClear:$,autoComplete:S,className:C,style:w,classNames:R,styles:N}=Xe("textArea"),O=M(Rn),P=i??O,{status:z,hasFeedback:D,feedbackIcon:L}=M(Fa),F=Tf(z,a),Z=qe(w),J=qe(d),[G,ne]=tt([R,l],[N,Z,f,J],{props:e}),Y=k(null);Te(t,()=>({resizableTextArea:Y.current?.resizableTextArea,focus:ue=>{ua(Y.current?.resizableTextArea?.textArea,ue)},blur:()=>Y.current?.blur(),nativeElement:Y.current?.nativeElement||null}));let Q=b("input",o),ee=Pr(Q),[se,ce]=Df(Q,c);Ok(Q,ee);let{compactSize:oe,compactItemClassnames:de}=Tn(Q,v),ve=or(ue=>r??oe??ue),[ae,le]=Af("textArea",m,n),Se=Jd({allowClear:s,contextAllowClear:$,componentName:"TextArea"}),[we,q]=W(!1),[ke,fe]=W(!1),me=ue=>{q(!0),g?.(ue);let pe=()=>{q(!1),document.removeEventListener("mouseup",pe)};document.addEventListener("mouseup",pe)},Ce=ue=>{if(x?.(ue),we&&Le(getComputedStyle)){let pe=Y.current?.nativeElement?.querySelector("textarea");pe&&getComputedStyle(pe).resize==="both"&&fe(!0)}};return y(q$,{autoComplete:S,...h,style:ne.root,styles:ne,disabled:P,allowClear:Se,className:E(ce,ee,u,c,de,C,G.root,{[`${Q}-textarea-affix-wrapper-resize-dirty`]:ke}),classNames:{...G,textarea:E({[`${Q}-sm`]:ve==="small",[`${Q}-lg`]:ve==="large"},se,G.textarea,we&&`${Q}-mouse-active`),variant:E({[`${Q}-${ae}`]:le},Ci(Q,F)),affixWrapper:E(`${Q}-textarea-affix-wrapper`,{[`${Q}-affix-wrapper-rtl`]:v==="rtl",[`${Q}-affix-wrapper-sm`]:ve==="small",[`${Q}-affix-wrapper-lg`]:ve==="large",[`${Q}-textarea-show-count`]:p||e.count?.show},se)},prefixCls:Q,suffix:D&&y("span",{className:`${Q}-textarea-suffix`},L),showCount:p,ref:Y,onResize:Ce,onMouseDown:me})}),cxe=DF;var Ak=["xxxl","xxl","xl","lg","md","sm","xs"],mxe=[].concat(Ak).reverse(),MF=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`,xxxl:`(min-width: ${e.screenXXXL}px)`}),jF=e=>{let t=e,o=[].concat(Ak).reverse();return o.forEach((n,r)=>{let i=n.toUpperCase(),a=`screen${i}Min`,s=`screen${i}`;if(!(t[a]<=t[s]))throw new Error(`${a}<=${s} fails : !(${t[a]}<=${t[s]})`);if(r<o.length-1){let l=`screen${i}Max`;if(!(t[s]<=t[l]))throw new Error(`${s}<=${l} fails : !(${t[s]}<=${t[l]})`);let u=`screen${o[r+1].toUpperCase()}Min`;if(!(t[l]<=t[u]))throw new Error(`${l}<=${u} fails : !(${t[l]}<=${t[u]})`)}}),e};var LF=()=>{let[,e]=ut(),t=MF(jF(e));return _.useMemo(()=>{let o=new Map,n=-1,r={};return{responsiveMap:t,matchHandlers:{},dispatch(i){return r=i,o.forEach(a=>{a(r)}),o.size>=1},subscribe(i){return o.size||this.register(),n+=1,o.set(n,i),i(r),n},unsubscribe(i){o.delete(i),o.size||this.unregister()},register(){Object.entries(t).forEach(([i,a])=>{let s=({matches:c})=>{this.dispatch({...r,[i]:c})},l=window.matchMedia(a);Le(l.addEventListener)&&l.addEventListener("change",s),this.matchHandlers[a]={mql:l,listener:s},s(l)})},unregister(){Object.values(t).forEach(i=>{let a=this.matchHandlers[i];Le(a?.mql.removeEventListener)&&a.mql.removeEventListener("change",a?.listener)}),o.clear()}}},[t])},Dk=LF;function FF(e=!0,t={}){let o=k(t),[,n]=eI(),r=Dk();return et(()=>{let i=r.subscribe(a=>{o.current=a,e&&n()});return()=>r.unsubscribe(i)},[e]),o.current}var yxe=FF;export{zo as a,tn as b,Ct as c,be as d,y as e,re as f,Vr as g,rn as h,ft as i,M as j,K as k,Te as l,A as m,k as n,W as o,lz as p,GF as q,qF as r,JF as s,YF as t,E as u,xe as v,et as w,sa as x,Tr as y,St as z,vu as A,Yr as B,_r as C,gn as D,Qr as E,Yn as F,Qn as G,kw as H,LO as I,mr as J,xo as K,wr as L,zt as M,Ht as N,xx as O,he as P,Xe as Q,Cy as R,tr as S,Et as T,Zt as U,mt as V,pr as W,bo as X,Be as Y,Le as Z,qe as _,tt as $,B as aa,L0 as ba,er as ca,Wt as da,Gx as ea,gd as fa,Bo as ga,zd as ha,Rn as ia,gi as ja,Ie as ka,rJ as la,hr as ma,uc as na,Pn as oa,oJ as pa,Ae as qa,Ho as ra,gt as sa,SR as ta,Pr as ua,qr as va,Ba as wa,kn as xa,Ha as ya,Ta as za,zn as Aa,Nn as Ba,Wte as Ca,or as Da,Tn as Ea,aI as Fa,QD as Ga,gI as Ha,Aa as Ia,io as Ja,An as Ka,mf as La,fP as Ma,gf as Na,jI as Oa,Oie as Pa,jie as Qa,Lie as Ra,Fie as Sa,Uie as Ta,Fa as Ua,hP as Va,vP as Wa,rce as Xa,oce as Ya,VP as Za,sfe as _a,Mfe as $a,RL as ab,sw as bb,Ak as cb,mxe as db,yxe as eb,Jfe as fb,bme as gb,jme as hb,YN as ib,zge as jb,Tf as kb,phe as lb,Af as mb,X$ as nb,Ec as ob,Rc as pb,zk as qb,Fve as rb,cxe as sb,aw as tb,cw as ub,Ee as vb,ow as wb,nB as xb,Jv as yb,gO as zb,bB as Ab};
240
+ /*! Bundled license information:
241
+
242
+ react-is/cjs/react-is.production.js:
243
+ (**
244
+ * @license React
245
+ * react-is.production.js
246
+ *
247
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
248
+ *
249
+ * This source code is licensed under the MIT license found in the
250
+ * LICENSE file in the root directory of this source tree.
251
+ *)
252
+ */