arize-phoenix 10.0.0__py3-none-any.whl → 10.0.2__py3-none-any.whl

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.

Potentially problematic release.


This version of arize-phoenix might be problematic. Click here for more details.

@@ -558,13 +558,13 @@ No matching component was found for:
558
558
  --`.concat(a),s="",u=m8e(e),l=!0,N.label=1;case 1:return l?[4,u.next()]:[3,3];case 2:for(c=N.sent(),f=c.value,d=c.done,h=typeof f=="string"?f:r.decode(f),g=s.length-o.length+1,l=!d,s+=h,m=s.indexOf(o,g);m>-1;){if(v=void 0,T=[s.slice(0,m),s.slice(m+o.length)],v=T[0],s=T[1],y=v.indexOf(`\r
559
559
  \r
560
560
  `),O=O8e(v.slice(0,y)),x=O["content-type"],x&&x.toLowerCase().indexOf("application/json")===-1)throw new Error("Unsupported patch content type: application/json is required.");if(C=v.slice(y),C){if(w=x8e(e,C),Object.keys(w).length>1||"data"in w||"incremental"in w||"errors"in w||"payload"in w)if(a8e(w)){if(E={},"payload"in w){if(Object.keys(w).length===1&&w.payload===null)return[2];E=Qf({},w.payload)}"errors"in w&&(E=Qf(Qf({},E),{extensions:Qf(Qf({},"extensions"in E?E.extensions:null),(P={},P[v8e]=w.errors,P))})),t(E)}else t(w);else if(Object.keys(w).length===1&&"hasNext"in w&&!w.hasNext)return[2]}m=s.indexOf(o)}return[3,1];case 3:return[2]}})})}function O8e(e){var t={};return e.split(`
561
- `).forEach(function(r){var n=r.indexOf(":");if(n>-1){var i=r.slice(0,n).trim().toLowerCase(),a=r.slice(n+1).trim();t[i]=a}}),t}function x8e(e,t){if(e.status>=300){var r=function(){try{return JSON.parse(t)}catch{return t}};g8e(e,r(),"Response not successful: Received status code ".concat(e.status))}try{return JSON.parse(t)}catch(i){var n=i;throw n.name="ServerParseError",n.response=e,n.statusCode=e.status,n.bodyText=t,n}}function _8e(e,t){e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}var S8e=function(e,t){var r;try{r=JSON.stringify(e)}catch(i){var n=n8e(42,t,i.message);throw n.parseError=i,n}return r},w8e={accept:"*/*","content-type":"application/json"},E8e={method:"POST"},HZ={headers:w8e,options:E8e};function $8e(e){var t=Qf(Qf({},HZ.options),{headers:Qf(Qf(Qf({},e||{}),HZ.headers),{accept:"multipart/mixed;boundary=graphql;subscriptionSpec=1.0,application/json"})});return t}var C8e=Kd(function(){return fetch});function bht(e,t){var r=t===void 0?{}:t,n=r.fetch,i=r.headers;return function(o,s){var u={operationName:o.name,variables:s,query:o.text||""},l=$8e(i||{});return XAe.Observable.create(function(c){try{l.body=S8e(u,"Payload")}catch(h){c.error(h)}var f=n||Kd(function(){return fetch})||C8e,d=c.next.bind(c);f(e,l).then(function(h){var g,m=(g=h.headers)===null||g===void 0?void 0:g.get("content-type");if(m!==null&&/^multipart\/mixed/i.test(m))return b8e(h,d);c.error(new Error("Expected multipart response"))}).then(function(){c.complete()}).catch(function(h){_8e(h,c)})})}}var Jn;(function(e){e.assertEqual=i=>i;function t(i){}e.assertIs=t;function r(i){throw new Error}e.assertNever=r,e.arrayToEnum=i=>{const a={};for(const o of i)a[o]=o;return a},e.getValidEnumValues=i=>{const a=e.objectKeys(i).filter(s=>typeof i[i[s]]!="number"),o={};for(const s of a)o[s]=i[s];return e.objectValues(o)},e.objectValues=i=>e.objectKeys(i).map(function(a){return i[a]}),e.objectKeys=typeof Object.keys=="function"?i=>Object.keys(i):i=>{const a=[];for(const o in i)Object.prototype.hasOwnProperty.call(i,o)&&a.push(o);return a},e.find=(i,a)=>{for(const o of i)if(a(o))return o},e.isInteger=typeof Number.isInteger=="function"?i=>Number.isInteger(i):i=>typeof i=="number"&&isFinite(i)&&Math.floor(i)===i;function n(i,a=" | "){return i.map(o=>typeof o=="string"?`'${o}'`:o).join(a)}e.joinValues=n,e.jsonStringifyReplacer=(i,a)=>typeof a=="bigint"?a.toString():a})(Jn||(Jn={}));var s9;(function(e){e.mergeShapes=(t,r)=>({...t,...r})})(s9||(s9={}));const rr=Jn.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Hm=e=>{switch(typeof e){case"undefined":return rr.undefined;case"string":return rr.string;case"number":return isNaN(e)?rr.nan:rr.number;case"boolean":return rr.boolean;case"function":return rr.function;case"bigint":return rr.bigint;case"symbol":return rr.symbol;case"object":return Array.isArray(e)?rr.array:e===null?rr.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?rr.promise:typeof Map<"u"&&e instanceof Map?rr.map:typeof Set<"u"&&e instanceof Set?rr.set:typeof Date<"u"&&e instanceof Date?rr.date:rr.object;default:return rr.unknown}},Tt=Jn.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),P8e=e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:");class tf extends Error{constructor(t){super(),this.issues=[],this.addIssue=n=>{this.issues=[...this.issues,n]},this.addIssues=(n=[])=>{this.issues=[...this.issues,...n]};const r=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,r):this.__proto__=r,this.name="ZodError",this.issues=t}get errors(){return this.issues}format(t){const r=t||function(a){return a.message},n={_errors:[]},i=a=>{for(const o of a.issues)if(o.code==="invalid_union")o.unionErrors.map(i);else if(o.code==="invalid_return_type")i(o.returnTypeError);else if(o.code==="invalid_arguments")i(o.argumentsError);else if(o.path.length===0)n._errors.push(r(o));else{let s=n,u=0;for(;u<o.path.length;){const l=o.path[u];u===o.path.length-1?(s[l]=s[l]||{_errors:[]},s[l]._errors.push(r(o))):s[l]=s[l]||{_errors:[]},s=s[l],u++}}};return i(this),n}static assert(t){if(!(t instanceof tf))throw new Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,Jn.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=r=>r.message){const r={},n=[];for(const i of this.issues)i.path.length>0?(r[i.path[0]]=r[i.path[0]]||[],r[i.path[0]].push(t(i))):n.push(t(i));return{formErrors:n,fieldErrors:r}}get formErrors(){return this.flatten()}}tf.create=e=>new tf(e);const qb=(e,t)=>{let r;switch(e.code){case Tt.invalid_type:e.received===rr.undefined?r="Required":r=`Expected ${e.expected}, received ${e.received}`;break;case Tt.invalid_literal:r=`Invalid literal value, expected ${JSON.stringify(e.expected,Jn.jsonStringifyReplacer)}`;break;case Tt.unrecognized_keys:r=`Unrecognized key(s) in object: ${Jn.joinValues(e.keys,", ")}`;break;case Tt.invalid_union:r="Invalid input";break;case Tt.invalid_union_discriminator:r=`Invalid discriminator value. Expected ${Jn.joinValues(e.options)}`;break;case Tt.invalid_enum_value:r=`Invalid enum value. Expected ${Jn.joinValues(e.options)}, received '${e.received}'`;break;case Tt.invalid_arguments:r="Invalid function arguments";break;case Tt.invalid_return_type:r="Invalid function return type";break;case Tt.invalid_date:r="Invalid date";break;case Tt.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(r=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(r=`${r} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?r=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?r=`Invalid input: must end with "${e.validation.endsWith}"`:Jn.assertNever(e.validation):e.validation!=="regex"?r=`Invalid ${e.validation}`:r="Invalid";break;case Tt.too_small:e.type==="array"?r=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?r=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?r=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?r=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:r="Invalid input";break;case Tt.too_big:e.type==="array"?r=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?r=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?r=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?r=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?r=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:r="Invalid input";break;case Tt.custom:r="Invalid input";break;case Tt.invalid_intersection_types:r="Intersection results could not be merged";break;case Tt.not_multiple_of:r=`Number must be a multiple of ${e.multipleOf}`;break;case Tt.not_finite:r="Number must be finite";break;default:r=t.defaultError,Jn.assertNever(e)}return{message:r}};let qce=qb;function D8e(e){qce=e}function I2(){return qce}const M2=e=>{const{data:t,path:r,errorMaps:n,issueData:i}=e,a=[...r,...i.path||[]],o={...i,path:a};if(i.message!==void 0)return{...i,path:a,message:i.message};let s="";const u=n.filter(l=>!!l).slice().reverse();for(const l of u)s=l(o,{data:t,defaultError:s}).message;return{...i,path:a,message:s}},R8e=[];function Xt(e,t){const r=I2(),n=M2({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,r,r===qb?void 0:qb].filter(i=>!!i)});e.common.issues.push(n)}class Du{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,r){const n=[];for(const i of r){if(i.status==="aborted")return Wr;i.status==="dirty"&&t.dirty(),n.push(i.value)}return{status:t.value,value:n}}static async mergeObjectAsync(t,r){const n=[];for(const i of r){const a=await i.key,o=await i.value;n.push({key:a,value:o})}return Du.mergeObjectSync(t,n)}static mergeObjectSync(t,r){const n={};for(const i of r){const{key:a,value:o}=i;if(a.status==="aborted"||o.status==="aborted")return Wr;a.status==="dirty"&&t.dirty(),o.status==="dirty"&&t.dirty(),a.value!=="__proto__"&&(typeof o.value<"u"||i.alwaysSet)&&(n[a.value]=o.value)}return{status:t.value,value:n}}}const Wr=Object.freeze({status:"aborted"}),ab=e=>({status:"dirty",value:e}),vl=e=>({status:"valid",value:e}),u9=e=>e.status==="aborted",l9=e=>e.status==="dirty",aS=e=>e.status==="valid",oS=e=>typeof Promise<"u"&&e instanceof Promise;function N2(e,t,r,n){if(typeof t=="function"?e!==t||!0:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return t.get(e)}function Uce(e,t,r,n,i){if(typeof t=="function"?e!==t||!0:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return t.set(e,r),r}var yr;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t==null?void 0:t.message})(yr||(yr={}));var c_,f_;class mp{constructor(t,r,n,i){this._cachedPath=[],this.parent=t,this.data=r,this._path=n,this._key=i}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const YZ=(e,t)=>{if(aS(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const r=new tf(e.common.issues);return this._error=r,this._error}}};function dn(e){if(!e)return{};const{errorMap:t,invalid_type_error:r,required_error:n,description:i}=e;if(t&&(r||n))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:i}:{errorMap:(o,s)=>{var u,l;const{message:c}=e;return o.code==="invalid_enum_value"?{message:c??s.defaultError}:typeof s.data>"u"?{message:(u=c??n)!==null&&u!==void 0?u:s.defaultError}:o.code!=="invalid_type"?{message:s.defaultError}:{message:(l=c??r)!==null&&l!==void 0?l:s.defaultError}},description:i}}class Dn{constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(t){return Hm(t.data)}_getOrReturnCtx(t,r){return r||{common:t.parent.common,data:t.data,parsedType:Hm(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new Du,ctx:{common:t.parent.common,data:t.data,parsedType:Hm(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const r=this._parse(t);if(oS(r))throw new Error("Synchronous parse encountered promise.");return r}_parseAsync(t){const r=this._parse(t);return Promise.resolve(r)}parse(t,r){const n=this.safeParse(t,r);if(n.success)return n.data;throw n.error}safeParse(t,r){var n;const i={common:{issues:[],async:(n=r==null?void 0:r.async)!==null&&n!==void 0?n:!1,contextualErrorMap:r==null?void 0:r.errorMap},path:(r==null?void 0:r.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Hm(t)},a=this._parseSync({data:t,path:i.path,parent:i});return YZ(i,a)}async parseAsync(t,r){const n=await this.safeParseAsync(t,r);if(n.success)return n.data;throw n.error}async safeParseAsync(t,r){const n={common:{issues:[],contextualErrorMap:r==null?void 0:r.errorMap,async:!0},path:(r==null?void 0:r.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Hm(t)},i=this._parse({data:t,path:n.path,parent:n}),a=await(oS(i)?i:Promise.resolve(i));return YZ(n,a)}refine(t,r){const n=i=>typeof r=="string"||typeof r>"u"?{message:r}:typeof r=="function"?r(i):r;return this._refinement((i,a)=>{const o=t(i),s=()=>a.addIssue({code:Tt.custom,...n(i)});return typeof Promise<"u"&&o instanceof Promise?o.then(u=>u?!0:(s(),!1)):o?!0:(s(),!1)})}refinement(t,r){return this._refinement((n,i)=>t(n)?!0:(i.addIssue(typeof r=="function"?r(n,i):r),!1))}_refinement(t){return new ih({schema:this,typeName:Ft.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}optional(){return fp.create(this,this._def)}nullable(){return xg.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Gd.create(this,this._def)}promise(){return Vb.create(this,this._def)}or(t){return cS.create([this,t],this._def)}and(t){return fS.create(this,t,this._def)}transform(t){return new ih({...dn(this._def),schema:this,typeName:Ft.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const r=typeof t=="function"?t:()=>t;return new gS({...dn(this._def),innerType:this,defaultValue:r,typeName:Ft.ZodDefault})}brand(){return new sL({typeName:Ft.ZodBranded,type:this,...dn(this._def)})}catch(t){const r=typeof t=="function"?t:()=>t;return new vS({...dn(this._def),innerType:this,catchValue:r,typeName:Ft.ZodCatch})}describe(t){const r=this.constructor;return new r({...this._def,description:t})}pipe(t){return uw.create(this,t)}readonly(){return yS.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const k8e=/^c[^\s-]{8,}$/i,T8e=/^[0-9a-z]+$/,A8e=/^[0-9A-HJKMNP-TV-Z]{26}$/,F8e=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,I8e=/^[a-z0-9_-]{21}$/i,M8e=/^[-+]?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)?)??$/,N8e=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,L8e="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let $T;const z8e=/^(?:(?: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])$/,Q8e=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,B8e=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,Vce="((\\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])))",q8e=new RegExp(`^${Vce}$`);function jce(e){let t="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\.\\d+)?`),t}function U8e(e){return new RegExp(`^${jce(e)}$`)}function Wce(e){let t=`${Vce}T${jce(e)}`;const r=[];return r.push(e.local?"Z?":"Z"),e.offset&&r.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${r.join("|")})`,new RegExp(`^${t}$`)}function V8e(e,t){return!!((t==="v4"||!t)&&z8e.test(e)||(t==="v6"||!t)&&Q8e.test(e))}class Yd extends Dn{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==rr.string){const a=this._getOrReturnCtx(t);return Xt(a,{code:Tt.invalid_type,expected:rr.string,received:a.parsedType}),Wr}const n=new Du;let i;for(const a of this._def.checks)if(a.kind==="min")t.data.length<a.value&&(i=this._getOrReturnCtx(t,i),Xt(i,{code:Tt.too_small,minimum:a.value,type:"string",inclusive:!0,exact:!1,message:a.message}),n.dirty());else if(a.kind==="max")t.data.length>a.value&&(i=this._getOrReturnCtx(t,i),Xt(i,{code:Tt.too_big,maximum:a.value,type:"string",inclusive:!0,exact:!1,message:a.message}),n.dirty());else if(a.kind==="length"){const o=t.data.length>a.value,s=t.data.length<a.value;(o||s)&&(i=this._getOrReturnCtx(t,i),o?Xt(i,{code:Tt.too_big,maximum:a.value,type:"string",inclusive:!0,exact:!0,message:a.message}):s&&Xt(i,{code:Tt.too_small,minimum:a.value,type:"string",inclusive:!0,exact:!0,message:a.message}),n.dirty())}else if(a.kind==="email")N8e.test(t.data)||(i=this._getOrReturnCtx(t,i),Xt(i,{validation:"email",code:Tt.invalid_string,message:a.message}),n.dirty());else if(a.kind==="emoji")$T||($T=new RegExp(L8e,"u")),$T.test(t.data)||(i=this._getOrReturnCtx(t,i),Xt(i,{validation:"emoji",code:Tt.invalid_string,message:a.message}),n.dirty());else if(a.kind==="uuid")F8e.test(t.data)||(i=this._getOrReturnCtx(t,i),Xt(i,{validation:"uuid",code:Tt.invalid_string,message:a.message}),n.dirty());else if(a.kind==="nanoid")I8e.test(t.data)||(i=this._getOrReturnCtx(t,i),Xt(i,{validation:"nanoid",code:Tt.invalid_string,message:a.message}),n.dirty());else if(a.kind==="cuid")k8e.test(t.data)||(i=this._getOrReturnCtx(t,i),Xt(i,{validation:"cuid",code:Tt.invalid_string,message:a.message}),n.dirty());else if(a.kind==="cuid2")T8e.test(t.data)||(i=this._getOrReturnCtx(t,i),Xt(i,{validation:"cuid2",code:Tt.invalid_string,message:a.message}),n.dirty());else if(a.kind==="ulid")A8e.test(t.data)||(i=this._getOrReturnCtx(t,i),Xt(i,{validation:"ulid",code:Tt.invalid_string,message:a.message}),n.dirty());else if(a.kind==="url")try{new URL(t.data)}catch{i=this._getOrReturnCtx(t,i),Xt(i,{validation:"url",code:Tt.invalid_string,message:a.message}),n.dirty()}else a.kind==="regex"?(a.regex.lastIndex=0,a.regex.test(t.data)||(i=this._getOrReturnCtx(t,i),Xt(i,{validation:"regex",code:Tt.invalid_string,message:a.message}),n.dirty())):a.kind==="trim"?t.data=t.data.trim():a.kind==="includes"?t.data.includes(a.value,a.position)||(i=this._getOrReturnCtx(t,i),Xt(i,{code:Tt.invalid_string,validation:{includes:a.value,position:a.position},message:a.message}),n.dirty()):a.kind==="toLowerCase"?t.data=t.data.toLowerCase():a.kind==="toUpperCase"?t.data=t.data.toUpperCase():a.kind==="startsWith"?t.data.startsWith(a.value)||(i=this._getOrReturnCtx(t,i),Xt(i,{code:Tt.invalid_string,validation:{startsWith:a.value},message:a.message}),n.dirty()):a.kind==="endsWith"?t.data.endsWith(a.value)||(i=this._getOrReturnCtx(t,i),Xt(i,{code:Tt.invalid_string,validation:{endsWith:a.value},message:a.message}),n.dirty()):a.kind==="datetime"?Wce(a).test(t.data)||(i=this._getOrReturnCtx(t,i),Xt(i,{code:Tt.invalid_string,validation:"datetime",message:a.message}),n.dirty()):a.kind==="date"?q8e.test(t.data)||(i=this._getOrReturnCtx(t,i),Xt(i,{code:Tt.invalid_string,validation:"date",message:a.message}),n.dirty()):a.kind==="time"?U8e(a).test(t.data)||(i=this._getOrReturnCtx(t,i),Xt(i,{code:Tt.invalid_string,validation:"time",message:a.message}),n.dirty()):a.kind==="duration"?M8e.test(t.data)||(i=this._getOrReturnCtx(t,i),Xt(i,{validation:"duration",code:Tt.invalid_string,message:a.message}),n.dirty()):a.kind==="ip"?V8e(t.data,a.version)||(i=this._getOrReturnCtx(t,i),Xt(i,{validation:"ip",code:Tt.invalid_string,message:a.message}),n.dirty()):a.kind==="base64"?B8e.test(t.data)||(i=this._getOrReturnCtx(t,i),Xt(i,{validation:"base64",code:Tt.invalid_string,message:a.message}),n.dirty()):Jn.assertNever(a);return{status:n.value,value:t.data}}_regex(t,r,n){return this.refinement(i=>t.test(i),{validation:r,code:Tt.invalid_string,...yr.errToObj(n)})}_addCheck(t){return new Yd({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...yr.errToObj(t)})}url(t){return this._addCheck({kind:"url",...yr.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...yr.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...yr.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...yr.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...yr.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...yr.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...yr.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...yr.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...yr.errToObj(t)})}datetime(t){var r,n;return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,offset:(r=t==null?void 0:t.offset)!==null&&r!==void 0?r:!1,local:(n=t==null?void 0:t.local)!==null&&n!==void 0?n:!1,...yr.errToObj(t==null?void 0:t.message)})}date(t){return this._addCheck({kind:"date",message:t})}time(t){return typeof t=="string"?this._addCheck({kind:"time",precision:null,message:t}):this._addCheck({kind:"time",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,...yr.errToObj(t==null?void 0:t.message)})}duration(t){return this._addCheck({kind:"duration",...yr.errToObj(t)})}regex(t,r){return this._addCheck({kind:"regex",regex:t,...yr.errToObj(r)})}includes(t,r){return this._addCheck({kind:"includes",value:t,position:r==null?void 0:r.position,...yr.errToObj(r==null?void 0:r.message)})}startsWith(t,r){return this._addCheck({kind:"startsWith",value:t,...yr.errToObj(r)})}endsWith(t,r){return this._addCheck({kind:"endsWith",value:t,...yr.errToObj(r)})}min(t,r){return this._addCheck({kind:"min",value:t,...yr.errToObj(r)})}max(t,r){return this._addCheck({kind:"max",value:t,...yr.errToObj(r)})}length(t,r){return this._addCheck({kind:"length",value:t,...yr.errToObj(r)})}nonempty(t){return this.min(1,yr.errToObj(t))}trim(){return new Yd({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Yd({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Yd({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}get isDate(){return!!this._def.checks.find(t=>t.kind==="date")}get isTime(){return!!this._def.checks.find(t=>t.kind==="time")}get isDuration(){return!!this._def.checks.find(t=>t.kind==="duration")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(t=>t.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get isBase64(){return!!this._def.checks.find(t=>t.kind==="base64")}get minLength(){let t=null;for(const r of this._def.checks)r.kind==="min"&&(t===null||r.value>t)&&(t=r.value);return t}get maxLength(){let t=null;for(const r of this._def.checks)r.kind==="max"&&(t===null||r.value<t)&&(t=r.value);return t}}Yd.create=e=>{var t;return new Yd({checks:[],typeName:Ft.ZodString,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0?t:!1,...dn(e)})};function j8e(e,t){const r=(e.toString().split(".")[1]||"").length,n=(t.toString().split(".")[1]||"").length,i=r>n?r:n,a=parseInt(e.toFixed(i).replace(".","")),o=parseInt(t.toFixed(i).replace(".",""));return a%o/Math.pow(10,i)}class yg extends Dn{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==rr.number){const a=this._getOrReturnCtx(t);return Xt(a,{code:Tt.invalid_type,expected:rr.number,received:a.parsedType}),Wr}let n;const i=new Du;for(const a of this._def.checks)a.kind==="int"?Jn.isInteger(t.data)||(n=this._getOrReturnCtx(t,n),Xt(n,{code:Tt.invalid_type,expected:"integer",received:"float",message:a.message}),i.dirty()):a.kind==="min"?(a.inclusive?t.data<a.value:t.data<=a.value)&&(n=this._getOrReturnCtx(t,n),Xt(n,{code:Tt.too_small,minimum:a.value,type:"number",inclusive:a.inclusive,exact:!1,message:a.message}),i.dirty()):a.kind==="max"?(a.inclusive?t.data>a.value:t.data>=a.value)&&(n=this._getOrReturnCtx(t,n),Xt(n,{code:Tt.too_big,maximum:a.value,type:"number",inclusive:a.inclusive,exact:!1,message:a.message}),i.dirty()):a.kind==="multipleOf"?j8e(t.data,a.value)!==0&&(n=this._getOrReturnCtx(t,n),Xt(n,{code:Tt.not_multiple_of,multipleOf:a.value,message:a.message}),i.dirty()):a.kind==="finite"?Number.isFinite(t.data)||(n=this._getOrReturnCtx(t,n),Xt(n,{code:Tt.not_finite,message:a.message}),i.dirty()):Jn.assertNever(a);return{status:i.value,value:t.data}}gte(t,r){return this.setLimit("min",t,!0,yr.toString(r))}gt(t,r){return this.setLimit("min",t,!1,yr.toString(r))}lte(t,r){return this.setLimit("max",t,!0,yr.toString(r))}lt(t,r){return this.setLimit("max",t,!1,yr.toString(r))}setLimit(t,r,n,i){return new yg({...this._def,checks:[...this._def.checks,{kind:t,value:r,inclusive:n,message:yr.toString(i)}]})}_addCheck(t){return new yg({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:yr.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:yr.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:yr.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:yr.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:yr.toString(t)})}multipleOf(t,r){return this._addCheck({kind:"multipleOf",value:t,message:yr.toString(r)})}finite(t){return this._addCheck({kind:"finite",message:yr.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:yr.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:yr.toString(t)})}get minValue(){let t=null;for(const r of this._def.checks)r.kind==="min"&&(t===null||r.value>t)&&(t=r.value);return t}get maxValue(){let t=null;for(const r of this._def.checks)r.kind==="max"&&(t===null||r.value<t)&&(t=r.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind==="int"||t.kind==="multipleOf"&&Jn.isInteger(t.value))}get isFinite(){let t=null,r=null;for(const n of this._def.checks){if(n.kind==="finite"||n.kind==="int"||n.kind==="multipleOf")return!0;n.kind==="min"?(r===null||n.value>r)&&(r=n.value):n.kind==="max"&&(t===null||n.value<t)&&(t=n.value)}return Number.isFinite(r)&&Number.isFinite(t)}}yg.create=e=>new yg({checks:[],typeName:Ft.ZodNumber,coerce:(e==null?void 0:e.coerce)||!1,...dn(e)});class bg extends Dn{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce&&(t.data=BigInt(t.data)),this._getType(t)!==rr.bigint){const a=this._getOrReturnCtx(t);return Xt(a,{code:Tt.invalid_type,expected:rr.bigint,received:a.parsedType}),Wr}let n;const i=new Du;for(const a of this._def.checks)a.kind==="min"?(a.inclusive?t.data<a.value:t.data<=a.value)&&(n=this._getOrReturnCtx(t,n),Xt(n,{code:Tt.too_small,type:"bigint",minimum:a.value,inclusive:a.inclusive,message:a.message}),i.dirty()):a.kind==="max"?(a.inclusive?t.data>a.value:t.data>=a.value)&&(n=this._getOrReturnCtx(t,n),Xt(n,{code:Tt.too_big,type:"bigint",maximum:a.value,inclusive:a.inclusive,message:a.message}),i.dirty()):a.kind==="multipleOf"?t.data%a.value!==BigInt(0)&&(n=this._getOrReturnCtx(t,n),Xt(n,{code:Tt.not_multiple_of,multipleOf:a.value,message:a.message}),i.dirty()):Jn.assertNever(a);return{status:i.value,value:t.data}}gte(t,r){return this.setLimit("min",t,!0,yr.toString(r))}gt(t,r){return this.setLimit("min",t,!1,yr.toString(r))}lte(t,r){return this.setLimit("max",t,!0,yr.toString(r))}lt(t,r){return this.setLimit("max",t,!1,yr.toString(r))}setLimit(t,r,n,i){return new bg({...this._def,checks:[...this._def.checks,{kind:t,value:r,inclusive:n,message:yr.toString(i)}]})}_addCheck(t){return new bg({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:yr.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:yr.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:yr.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:yr.toString(t)})}multipleOf(t,r){return this._addCheck({kind:"multipleOf",value:t,message:yr.toString(r)})}get minValue(){let t=null;for(const r of this._def.checks)r.kind==="min"&&(t===null||r.value>t)&&(t=r.value);return t}get maxValue(){let t=null;for(const r of this._def.checks)r.kind==="max"&&(t===null||r.value<t)&&(t=r.value);return t}}bg.create=e=>{var t;return new bg({checks:[],typeName:Ft.ZodBigInt,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0?t:!1,...dn(e)})};class sS extends Dn{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==rr.boolean){const n=this._getOrReturnCtx(t);return Xt(n,{code:Tt.invalid_type,expected:rr.boolean,received:n.parsedType}),Wr}return vl(t.data)}}sS.create=e=>new sS({typeName:Ft.ZodBoolean,coerce:(e==null?void 0:e.coerce)||!1,...dn(e)});class Oy extends Dn{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==rr.date){const a=this._getOrReturnCtx(t);return Xt(a,{code:Tt.invalid_type,expected:rr.date,received:a.parsedType}),Wr}if(isNaN(t.data.getTime())){const a=this._getOrReturnCtx(t);return Xt(a,{code:Tt.invalid_date}),Wr}const n=new Du;let i;for(const a of this._def.checks)a.kind==="min"?t.data.getTime()<a.value&&(i=this._getOrReturnCtx(t,i),Xt(i,{code:Tt.too_small,message:a.message,inclusive:!0,exact:!1,minimum:a.value,type:"date"}),n.dirty()):a.kind==="max"?t.data.getTime()>a.value&&(i=this._getOrReturnCtx(t,i),Xt(i,{code:Tt.too_big,message:a.message,inclusive:!0,exact:!1,maximum:a.value,type:"date"}),n.dirty()):Jn.assertNever(a);return{status:n.value,value:new Date(t.data.getTime())}}_addCheck(t){return new Oy({...this._def,checks:[...this._def.checks,t]})}min(t,r){return this._addCheck({kind:"min",value:t.getTime(),message:yr.toString(r)})}max(t,r){return this._addCheck({kind:"max",value:t.getTime(),message:yr.toString(r)})}get minDate(){let t=null;for(const r of this._def.checks)r.kind==="min"&&(t===null||r.value>t)&&(t=r.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const r of this._def.checks)r.kind==="max"&&(t===null||r.value<t)&&(t=r.value);return t!=null?new Date(t):null}}Oy.create=e=>new Oy({checks:[],coerce:(e==null?void 0:e.coerce)||!1,typeName:Ft.ZodDate,...dn(e)});class L2 extends Dn{_parse(t){if(this._getType(t)!==rr.symbol){const n=this._getOrReturnCtx(t);return Xt(n,{code:Tt.invalid_type,expected:rr.symbol,received:n.parsedType}),Wr}return vl(t.data)}}L2.create=e=>new L2({typeName:Ft.ZodSymbol,...dn(e)});class uS extends Dn{_parse(t){if(this._getType(t)!==rr.undefined){const n=this._getOrReturnCtx(t);return Xt(n,{code:Tt.invalid_type,expected:rr.undefined,received:n.parsedType}),Wr}return vl(t.data)}}uS.create=e=>new uS({typeName:Ft.ZodUndefined,...dn(e)});class lS extends Dn{_parse(t){if(this._getType(t)!==rr.null){const n=this._getOrReturnCtx(t);return Xt(n,{code:Tt.invalid_type,expected:rr.null,received:n.parsedType}),Wr}return vl(t.data)}}lS.create=e=>new lS({typeName:Ft.ZodNull,...dn(e)});class Ub extends Dn{constructor(){super(...arguments),this._any=!0}_parse(t){return vl(t.data)}}Ub.create=e=>new Ub({typeName:Ft.ZodAny,...dn(e)});class ay extends Dn{constructor(){super(...arguments),this._unknown=!0}_parse(t){return vl(t.data)}}ay.create=e=>new ay({typeName:Ft.ZodUnknown,...dn(e)});class B0 extends Dn{_parse(t){const r=this._getOrReturnCtx(t);return Xt(r,{code:Tt.invalid_type,expected:rr.never,received:r.parsedType}),Wr}}B0.create=e=>new B0({typeName:Ft.ZodNever,...dn(e)});class z2 extends Dn{_parse(t){if(this._getType(t)!==rr.undefined){const n=this._getOrReturnCtx(t);return Xt(n,{code:Tt.invalid_type,expected:rr.void,received:n.parsedType}),Wr}return vl(t.data)}}z2.create=e=>new z2({typeName:Ft.ZodVoid,...dn(e)});class Gd extends Dn{_parse(t){const{ctx:r,status:n}=this._processInputParams(t),i=this._def;if(r.parsedType!==rr.array)return Xt(r,{code:Tt.invalid_type,expected:rr.array,received:r.parsedType}),Wr;if(i.exactLength!==null){const o=r.data.length>i.exactLength.value,s=r.data.length<i.exactLength.value;(o||s)&&(Xt(r,{code:o?Tt.too_big:Tt.too_small,minimum:s?i.exactLength.value:void 0,maximum:o?i.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:i.exactLength.message}),n.dirty())}if(i.minLength!==null&&r.data.length<i.minLength.value&&(Xt(r,{code:Tt.too_small,minimum:i.minLength.value,type:"array",inclusive:!0,exact:!1,message:i.minLength.message}),n.dirty()),i.maxLength!==null&&r.data.length>i.maxLength.value&&(Xt(r,{code:Tt.too_big,maximum:i.maxLength.value,type:"array",inclusive:!0,exact:!1,message:i.maxLength.message}),n.dirty()),r.common.async)return Promise.all([...r.data].map((o,s)=>i.type._parseAsync(new mp(r,o,r.path,s)))).then(o=>Du.mergeArray(n,o));const a=[...r.data].map((o,s)=>i.type._parseSync(new mp(r,o,r.path,s)));return Du.mergeArray(n,a)}get element(){return this._def.type}min(t,r){return new Gd({...this._def,minLength:{value:t,message:yr.toString(r)}})}max(t,r){return new Gd({...this._def,maxLength:{value:t,message:yr.toString(r)}})}length(t,r){return new Gd({...this._def,exactLength:{value:t,message:yr.toString(r)}})}nonempty(t){return this.min(1,t)}}Gd.create=(e,t)=>new Gd({type:e,minLength:null,maxLength:null,exactLength:null,typeName:Ft.ZodArray,...dn(t)});function W1(e){if(e instanceof ka){const t={};for(const r in e.shape){const n=e.shape[r];t[r]=fp.create(W1(n))}return new ka({...e._def,shape:()=>t})}else return e instanceof Gd?new Gd({...e._def,type:W1(e.element)}):e instanceof fp?fp.create(W1(e.unwrap())):e instanceof xg?xg.create(W1(e.unwrap())):e instanceof gp?gp.create(e.items.map(t=>W1(t))):e}class ka extends Dn{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),r=Jn.objectKeys(t);return this._cached={shape:t,keys:r}}_parse(t){if(this._getType(t)!==rr.object){const l=this._getOrReturnCtx(t);return Xt(l,{code:Tt.invalid_type,expected:rr.object,received:l.parsedType}),Wr}const{status:n,ctx:i}=this._processInputParams(t),{shape:a,keys:o}=this._getCached(),s=[];if(!(this._def.catchall instanceof B0&&this._def.unknownKeys==="strip"))for(const l in i.data)o.includes(l)||s.push(l);const u=[];for(const l of o){const c=a[l],f=i.data[l];u.push({key:{status:"valid",value:l},value:c._parse(new mp(i,f,i.path,l)),alwaysSet:l in i.data})}if(this._def.catchall instanceof B0){const l=this._def.unknownKeys;if(l==="passthrough")for(const c of s)u.push({key:{status:"valid",value:c},value:{status:"valid",value:i.data[c]}});else if(l==="strict")s.length>0&&(Xt(i,{code:Tt.unrecognized_keys,keys:s}),n.dirty());else if(l!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const l=this._def.catchall;for(const c of s){const f=i.data[c];u.push({key:{status:"valid",value:c},value:l._parse(new mp(i,f,i.path,c)),alwaysSet:c in i.data})}}return i.common.async?Promise.resolve().then(async()=>{const l=[];for(const c of u){const f=await c.key,d=await c.value;l.push({key:f,value:d,alwaysSet:c.alwaysSet})}return l}).then(l=>Du.mergeObjectSync(n,l)):Du.mergeObjectSync(n,u)}get shape(){return this._def.shape()}strict(t){return yr.errToObj,new ka({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(r,n)=>{var i,a,o,s;const u=(o=(a=(i=this._def).errorMap)===null||a===void 0?void 0:a.call(i,r,n).message)!==null&&o!==void 0?o:n.defaultError;return r.code==="unrecognized_keys"?{message:(s=yr.errToObj(t).message)!==null&&s!==void 0?s:u}:{message:u}}}:{}})}strip(){return new ka({...this._def,unknownKeys:"strip"})}passthrough(){return new ka({...this._def,unknownKeys:"passthrough"})}extend(t){return new ka({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new ka({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:Ft.ZodObject})}setKey(t,r){return this.augment({[t]:r})}catchall(t){return new ka({...this._def,catchall:t})}pick(t){const r={};return Jn.objectKeys(t).forEach(n=>{t[n]&&this.shape[n]&&(r[n]=this.shape[n])}),new ka({...this._def,shape:()=>r})}omit(t){const r={};return Jn.objectKeys(this.shape).forEach(n=>{t[n]||(r[n]=this.shape[n])}),new ka({...this._def,shape:()=>r})}deepPartial(){return W1(this)}partial(t){const r={};return Jn.objectKeys(this.shape).forEach(n=>{const i=this.shape[n];t&&!t[n]?r[n]=i:r[n]=i.optional()}),new ka({...this._def,shape:()=>r})}required(t){const r={};return Jn.objectKeys(this.shape).forEach(n=>{if(t&&!t[n])r[n]=this.shape[n];else{let a=this.shape[n];for(;a instanceof fp;)a=a._def.innerType;r[n]=a}}),new ka({...this._def,shape:()=>r})}keyof(){return Zce(Jn.objectKeys(this.shape))}}ka.create=(e,t)=>new ka({shape:()=>e,unknownKeys:"strip",catchall:B0.create(),typeName:Ft.ZodObject,...dn(t)});ka.strictCreate=(e,t)=>new ka({shape:()=>e,unknownKeys:"strict",catchall:B0.create(),typeName:Ft.ZodObject,...dn(t)});ka.lazycreate=(e,t)=>new ka({shape:e,unknownKeys:"strip",catchall:B0.create(),typeName:Ft.ZodObject,...dn(t)});class cS extends Dn{_parse(t){const{ctx:r}=this._processInputParams(t),n=this._def.options;function i(a){for(const s of a)if(s.result.status==="valid")return s.result;for(const s of a)if(s.result.status==="dirty")return r.common.issues.push(...s.ctx.common.issues),s.result;const o=a.map(s=>new tf(s.ctx.common.issues));return Xt(r,{code:Tt.invalid_union,unionErrors:o}),Wr}if(r.common.async)return Promise.all(n.map(async a=>{const o={...r,common:{...r.common,issues:[]},parent:null};return{result:await a._parseAsync({data:r.data,path:r.path,parent:o}),ctx:o}})).then(i);{let a;const o=[];for(const u of n){const l={...r,common:{...r.common,issues:[]},parent:null},c=u._parseSync({data:r.data,path:r.path,parent:l});if(c.status==="valid")return c;c.status==="dirty"&&!a&&(a={result:c,ctx:l}),l.common.issues.length&&o.push(l.common.issues)}if(a)return r.common.issues.push(...a.ctx.common.issues),a.result;const s=o.map(u=>new tf(u));return Xt(r,{code:Tt.invalid_union,unionErrors:s}),Wr}}get options(){return this._def.options}}cS.create=(e,t)=>new cS({options:e,typeName:Ft.ZodUnion,...dn(t)});const c0=e=>e instanceof hS?c0(e.schema):e instanceof ih?c0(e.innerType()):e instanceof pS?[e.value]:e instanceof Og?e.options:e instanceof mS?Jn.objectValues(e.enum):e instanceof gS?c0(e._def.innerType):e instanceof uS?[void 0]:e instanceof lS?[null]:e instanceof fp?[void 0,...c0(e.unwrap())]:e instanceof xg?[null,...c0(e.unwrap())]:e instanceof sL||e instanceof yS?c0(e.unwrap()):e instanceof vS?c0(e._def.innerType):[];class q$ extends Dn{_parse(t){const{ctx:r}=this._processInputParams(t);if(r.parsedType!==rr.object)return Xt(r,{code:Tt.invalid_type,expected:rr.object,received:r.parsedType}),Wr;const n=this.discriminator,i=r.data[n],a=this.optionsMap.get(i);return a?r.common.async?a._parseAsync({data:r.data,path:r.path,parent:r}):a._parseSync({data:r.data,path:r.path,parent:r}):(Xt(r,{code:Tt.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),Wr)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(t,r,n){const i=new Map;for(const a of r){const o=c0(a.shape[t]);if(!o.length)throw new Error(`A discriminator value for key \`${t}\` could not be extracted from all schema options`);for(const s of o){if(i.has(s))throw new Error(`Discriminator property ${String(t)} has duplicate value ${String(s)}`);i.set(s,a)}}return new q$({typeName:Ft.ZodDiscriminatedUnion,discriminator:t,options:r,optionsMap:i,...dn(n)})}}function c9(e,t){const r=Hm(e),n=Hm(t);if(e===t)return{valid:!0,data:e};if(r===rr.object&&n===rr.object){const i=Jn.objectKeys(t),a=Jn.objectKeys(e).filter(s=>i.indexOf(s)!==-1),o={...e,...t};for(const s of a){const u=c9(e[s],t[s]);if(!u.valid)return{valid:!1};o[s]=u.data}return{valid:!0,data:o}}else if(r===rr.array&&n===rr.array){if(e.length!==t.length)return{valid:!1};const i=[];for(let a=0;a<e.length;a++){const o=e[a],s=t[a],u=c9(o,s);if(!u.valid)return{valid:!1};i.push(u.data)}return{valid:!0,data:i}}else return r===rr.date&&n===rr.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}class fS extends Dn{_parse(t){const{status:r,ctx:n}=this._processInputParams(t),i=(a,o)=>{if(u9(a)||u9(o))return Wr;const s=c9(a.value,o.value);return s.valid?((l9(a)||l9(o))&&r.dirty(),{status:r.value,value:s.data}):(Xt(n,{code:Tt.invalid_intersection_types}),Wr)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([a,o])=>i(a,o)):i(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}}fS.create=(e,t,r)=>new fS({left:e,right:t,typeName:Ft.ZodIntersection,...dn(r)});class gp extends Dn{_parse(t){const{status:r,ctx:n}=this._processInputParams(t);if(n.parsedType!==rr.array)return Xt(n,{code:Tt.invalid_type,expected:rr.array,received:n.parsedType}),Wr;if(n.data.length<this._def.items.length)return Xt(n,{code:Tt.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),Wr;!this._def.rest&&n.data.length>this._def.items.length&&(Xt(n,{code:Tt.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),r.dirty());const a=[...n.data].map((o,s)=>{const u=this._def.items[s]||this._def.rest;return u?u._parse(new mp(n,o,n.path,s)):null}).filter(o=>!!o);return n.common.async?Promise.all(a).then(o=>Du.mergeArray(r,o)):Du.mergeArray(r,a)}get items(){return this._def.items}rest(t){return new gp({...this._def,rest:t})}}gp.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new gp({items:e,typeName:Ft.ZodTuple,rest:null,...dn(t)})};class dS extends Dn{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:r,ctx:n}=this._processInputParams(t);if(n.parsedType!==rr.object)return Xt(n,{code:Tt.invalid_type,expected:rr.object,received:n.parsedType}),Wr;const i=[],a=this._def.keyType,o=this._def.valueType;for(const s in n.data)i.push({key:a._parse(new mp(n,s,n.path,s)),value:o._parse(new mp(n,n.data[s],n.path,s)),alwaysSet:s in n.data});return n.common.async?Du.mergeObjectAsync(r,i):Du.mergeObjectSync(r,i)}get element(){return this._def.valueType}static create(t,r,n){return r instanceof Dn?new dS({keyType:t,valueType:r,typeName:Ft.ZodRecord,...dn(n)}):new dS({keyType:Yd.create(),valueType:t,typeName:Ft.ZodRecord,...dn(r)})}}class Q2 extends Dn{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:r,ctx:n}=this._processInputParams(t);if(n.parsedType!==rr.map)return Xt(n,{code:Tt.invalid_type,expected:rr.map,received:n.parsedType}),Wr;const i=this._def.keyType,a=this._def.valueType,o=[...n.data.entries()].map(([s,u],l)=>({key:i._parse(new mp(n,s,n.path,[l,"key"])),value:a._parse(new mp(n,u,n.path,[l,"value"]))}));if(n.common.async){const s=new Map;return Promise.resolve().then(async()=>{for(const u of o){const l=await u.key,c=await u.value;if(l.status==="aborted"||c.status==="aborted")return Wr;(l.status==="dirty"||c.status==="dirty")&&r.dirty(),s.set(l.value,c.value)}return{status:r.value,value:s}})}else{const s=new Map;for(const u of o){const l=u.key,c=u.value;if(l.status==="aborted"||c.status==="aborted")return Wr;(l.status==="dirty"||c.status==="dirty")&&r.dirty(),s.set(l.value,c.value)}return{status:r.value,value:s}}}}Q2.create=(e,t,r)=>new Q2({valueType:t,keyType:e,typeName:Ft.ZodMap,...dn(r)});class xy extends Dn{_parse(t){const{status:r,ctx:n}=this._processInputParams(t);if(n.parsedType!==rr.set)return Xt(n,{code:Tt.invalid_type,expected:rr.set,received:n.parsedType}),Wr;const i=this._def;i.minSize!==null&&n.data.size<i.minSize.value&&(Xt(n,{code:Tt.too_small,minimum:i.minSize.value,type:"set",inclusive:!0,exact:!1,message:i.minSize.message}),r.dirty()),i.maxSize!==null&&n.data.size>i.maxSize.value&&(Xt(n,{code:Tt.too_big,maximum:i.maxSize.value,type:"set",inclusive:!0,exact:!1,message:i.maxSize.message}),r.dirty());const a=this._def.valueType;function o(u){const l=new Set;for(const c of u){if(c.status==="aborted")return Wr;c.status==="dirty"&&r.dirty(),l.add(c.value)}return{status:r.value,value:l}}const s=[...n.data.values()].map((u,l)=>a._parse(new mp(n,u,n.path,l)));return n.common.async?Promise.all(s).then(u=>o(u)):o(s)}min(t,r){return new xy({...this._def,minSize:{value:t,message:yr.toString(r)}})}max(t,r){return new xy({...this._def,maxSize:{value:t,message:yr.toString(r)}})}size(t,r){return this.min(t,r).max(t,r)}nonempty(t){return this.min(1,t)}}xy.create=(e,t)=>new xy({valueType:e,minSize:null,maxSize:null,typeName:Ft.ZodSet,...dn(t)});class _b extends Dn{constructor(){super(...arguments),this.validate=this.implement}_parse(t){const{ctx:r}=this._processInputParams(t);if(r.parsedType!==rr.function)return Xt(r,{code:Tt.invalid_type,expected:rr.function,received:r.parsedType}),Wr;function n(s,u){return M2({data:s,path:r.path,errorMaps:[r.common.contextualErrorMap,r.schemaErrorMap,I2(),qb].filter(l=>!!l),issueData:{code:Tt.invalid_arguments,argumentsError:u}})}function i(s,u){return M2({data:s,path:r.path,errorMaps:[r.common.contextualErrorMap,r.schemaErrorMap,I2(),qb].filter(l=>!!l),issueData:{code:Tt.invalid_return_type,returnTypeError:u}})}const a={errorMap:r.common.contextualErrorMap},o=r.data;if(this._def.returns instanceof Vb){const s=this;return vl(async function(...u){const l=new tf([]),c=await s._def.args.parseAsync(u,a).catch(h=>{throw l.addIssue(n(u,h)),l}),f=await Reflect.apply(o,this,c);return await s._def.returns._def.type.parseAsync(f,a).catch(h=>{throw l.addIssue(i(f,h)),l})})}else{const s=this;return vl(function(...u){const l=s._def.args.safeParse(u,a);if(!l.success)throw new tf([n(u,l.error)]);const c=Reflect.apply(o,this,l.data),f=s._def.returns.safeParse(c,a);if(!f.success)throw new tf([i(c,f.error)]);return f.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...t){return new _b({...this._def,args:gp.create(t).rest(ay.create())})}returns(t){return new _b({...this._def,returns:t})}implement(t){return this.parse(t)}strictImplement(t){return this.parse(t)}static create(t,r,n){return new _b({args:t||gp.create([]).rest(ay.create()),returns:r||ay.create(),typeName:Ft.ZodFunction,...dn(n)})}}class hS extends Dn{get schema(){return this._def.getter()}_parse(t){const{ctx:r}=this._processInputParams(t);return this._def.getter()._parse({data:r.data,path:r.path,parent:r})}}hS.create=(e,t)=>new hS({getter:e,typeName:Ft.ZodLazy,...dn(t)});class pS extends Dn{_parse(t){if(t.data!==this._def.value){const r=this._getOrReturnCtx(t);return Xt(r,{received:r.data,code:Tt.invalid_literal,expected:this._def.value}),Wr}return{status:"valid",value:t.data}}get value(){return this._def.value}}pS.create=(e,t)=>new pS({value:e,typeName:Ft.ZodLiteral,...dn(t)});function Zce(e,t){return new Og({values:e,typeName:Ft.ZodEnum,...dn(t)})}class Og extends Dn{constructor(){super(...arguments),c_.set(this,void 0)}_parse(t){if(typeof t.data!="string"){const r=this._getOrReturnCtx(t),n=this._def.values;return Xt(r,{expected:Jn.joinValues(n),received:r.parsedType,code:Tt.invalid_type}),Wr}if(N2(this,c_)||Uce(this,c_,new Set(this._def.values)),!N2(this,c_).has(t.data)){const r=this._getOrReturnCtx(t),n=this._def.values;return Xt(r,{received:r.data,code:Tt.invalid_enum_value,options:n}),Wr}return vl(t.data)}get options(){return this._def.values}get enum(){const t={};for(const r of this._def.values)t[r]=r;return t}get Values(){const t={};for(const r of this._def.values)t[r]=r;return t}get Enum(){const t={};for(const r of this._def.values)t[r]=r;return t}extract(t,r=this._def){return Og.create(t,{...this._def,...r})}exclude(t,r=this._def){return Og.create(this.options.filter(n=>!t.includes(n)),{...this._def,...r})}}c_=new WeakMap;Og.create=Zce;class mS extends Dn{constructor(){super(...arguments),f_.set(this,void 0)}_parse(t){const r=Jn.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(t);if(n.parsedType!==rr.string&&n.parsedType!==rr.number){const i=Jn.objectValues(r);return Xt(n,{expected:Jn.joinValues(i),received:n.parsedType,code:Tt.invalid_type}),Wr}if(N2(this,f_)||Uce(this,f_,new Set(Jn.getValidEnumValues(this._def.values))),!N2(this,f_).has(t.data)){const i=Jn.objectValues(r);return Xt(n,{received:n.data,code:Tt.invalid_enum_value,options:i}),Wr}return vl(t.data)}get enum(){return this._def.values}}f_=new WeakMap;mS.create=(e,t)=>new mS({values:e,typeName:Ft.ZodNativeEnum,...dn(t)});class Vb extends Dn{unwrap(){return this._def.type}_parse(t){const{ctx:r}=this._processInputParams(t);if(r.parsedType!==rr.promise&&r.common.async===!1)return Xt(r,{code:Tt.invalid_type,expected:rr.promise,received:r.parsedType}),Wr;const n=r.parsedType===rr.promise?r.data:Promise.resolve(r.data);return vl(n.then(i=>this._def.type.parseAsync(i,{path:r.path,errorMap:r.common.contextualErrorMap})))}}Vb.create=(e,t)=>new Vb({type:e,typeName:Ft.ZodPromise,...dn(t)});class ih extends Dn{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===Ft.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:r,ctx:n}=this._processInputParams(t),i=this._def.effect||null,a={addIssue:o=>{Xt(n,o),o.fatal?r.abort():r.dirty()},get path(){return n.path}};if(a.addIssue=a.addIssue.bind(a),i.type==="preprocess"){const o=i.transform(n.data,a);if(n.common.async)return Promise.resolve(o).then(async s=>{if(r.value==="aborted")return Wr;const u=await this._def.schema._parseAsync({data:s,path:n.path,parent:n});return u.status==="aborted"?Wr:u.status==="dirty"||r.value==="dirty"?ab(u.value):u});{if(r.value==="aborted")return Wr;const s=this._def.schema._parseSync({data:o,path:n.path,parent:n});return s.status==="aborted"?Wr:s.status==="dirty"||r.value==="dirty"?ab(s.value):s}}if(i.type==="refinement"){const o=s=>{const u=i.refinement(s,a);if(n.common.async)return Promise.resolve(u);if(u instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return s};if(n.common.async===!1){const s=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return s.status==="aborted"?Wr:(s.status==="dirty"&&r.dirty(),o(s.value),{status:r.value,value:s.value})}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(s=>s.status==="aborted"?Wr:(s.status==="dirty"&&r.dirty(),o(s.value).then(()=>({status:r.value,value:s.value}))))}if(i.type==="transform")if(n.common.async===!1){const o=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!aS(o))return o;const s=i.transform(o.value,a);if(s instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:r.value,value:s}}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(o=>aS(o)?Promise.resolve(i.transform(o.value,a)).then(s=>({status:r.value,value:s})):o);Jn.assertNever(i)}}ih.create=(e,t,r)=>new ih({schema:e,typeName:Ft.ZodEffects,effect:t,...dn(r)});ih.createWithPreprocess=(e,t,r)=>new ih({schema:t,effect:{type:"preprocess",transform:e},typeName:Ft.ZodEffects,...dn(r)});class fp extends Dn{_parse(t){return this._getType(t)===rr.undefined?vl(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}fp.create=(e,t)=>new fp({innerType:e,typeName:Ft.ZodOptional,...dn(t)});class xg extends Dn{_parse(t){return this._getType(t)===rr.null?vl(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}xg.create=(e,t)=>new xg({innerType:e,typeName:Ft.ZodNullable,...dn(t)});class gS extends Dn{_parse(t){const{ctx:r}=this._processInputParams(t);let n=r.data;return r.parsedType===rr.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:r.path,parent:r})}removeDefault(){return this._def.innerType}}gS.create=(e,t)=>new gS({innerType:e,typeName:Ft.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...dn(t)});class vS extends Dn{_parse(t){const{ctx:r}=this._processInputParams(t),n={...r,common:{...r.common,issues:[]}},i=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return oS(i)?i.then(a=>({status:"valid",value:a.status==="valid"?a.value:this._def.catchValue({get error(){return new tf(n.common.issues)},input:n.data})})):{status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new tf(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}}vS.create=(e,t)=>new vS({innerType:e,typeName:Ft.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...dn(t)});class B2 extends Dn{_parse(t){if(this._getType(t)!==rr.nan){const n=this._getOrReturnCtx(t);return Xt(n,{code:Tt.invalid_type,expected:rr.nan,received:n.parsedType}),Wr}return{status:"valid",value:t.data}}}B2.create=e=>new B2({typeName:Ft.ZodNaN,...dn(e)});const W8e=Symbol("zod_brand");class sL extends Dn{_parse(t){const{ctx:r}=this._processInputParams(t),n=r.data;return this._def.type._parse({data:n,path:r.path,parent:r})}unwrap(){return this._def.type}}class uw extends Dn{_parse(t){const{status:r,ctx:n}=this._processInputParams(t);if(n.common.async)return(async()=>{const a=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return a.status==="aborted"?Wr:a.status==="dirty"?(r.dirty(),ab(a.value)):this._def.out._parseAsync({data:a.value,path:n.path,parent:n})})();{const i=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return i.status==="aborted"?Wr:i.status==="dirty"?(r.dirty(),{status:"dirty",value:i.value}):this._def.out._parseSync({data:i.value,path:n.path,parent:n})}}static create(t,r){return new uw({in:t,out:r,typeName:Ft.ZodPipeline})}}class yS extends Dn{_parse(t){const r=this._def.innerType._parse(t),n=i=>(aS(i)&&(i.value=Object.freeze(i.value)),i);return oS(r)?r.then(i=>n(i)):n(r)}unwrap(){return this._def.innerType}}yS.create=(e,t)=>new yS({innerType:e,typeName:Ft.ZodReadonly,...dn(t)});function Kce(e,t={},r){return e?Ub.create().superRefine((n,i)=>{var a,o;if(!e(n)){const s=typeof t=="function"?t(n):typeof t=="string"?{message:t}:t,u=(o=(a=s.fatal)!==null&&a!==void 0?a:r)!==null&&o!==void 0?o:!0,l=typeof s=="string"?{message:s}:s;i.addIssue({code:"custom",...l,fatal:u})}}):Ub.create()}const Z8e={object:ka.lazycreate};var Ft;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(Ft||(Ft={}));const K8e=(e,t={message:`Input not instance of ${e.name}`})=>Kce(r=>r instanceof e,t),Hce=Yd.create,Yce=yg.create,H8e=B2.create,Y8e=bg.create,Gce=sS.create,G8e=Oy.create,X8e=L2.create,J8e=uS.create,eFe=lS.create,tFe=Ub.create,rFe=ay.create,nFe=B0.create,iFe=z2.create,aFe=Gd.create,oFe=ka.create,sFe=ka.strictCreate,uFe=cS.create,lFe=q$.create,cFe=fS.create,fFe=gp.create,dFe=dS.create,hFe=Q2.create,pFe=xy.create,mFe=_b.create,gFe=hS.create,vFe=pS.create,yFe=Og.create,bFe=mS.create,OFe=Vb.create,GZ=ih.create,xFe=fp.create,_Fe=xg.create,SFe=ih.createWithPreprocess,wFe=uw.create,EFe=()=>Hce().optional(),$Fe=()=>Yce().optional(),CFe=()=>Gce().optional(),PFe={string:e=>Yd.create({...e,coerce:!0}),number:e=>yg.create({...e,coerce:!0}),boolean:e=>sS.create({...e,coerce:!0}),bigint:e=>bg.create({...e,coerce:!0}),date:e=>Oy.create({...e,coerce:!0})},DFe=Wr;var Oht=Object.freeze({__proto__:null,defaultErrorMap:qb,setErrorMap:D8e,getErrorMap:I2,makeIssue:M2,EMPTY_PATH:R8e,addIssueToContext:Xt,ParseStatus:Du,INVALID:Wr,DIRTY:ab,OK:vl,isAborted:u9,isDirty:l9,isValid:aS,isAsync:oS,get util(){return Jn},get objectUtil(){return s9},ZodParsedType:rr,getParsedType:Hm,ZodType:Dn,datetimeRegex:Wce,ZodString:Yd,ZodNumber:yg,ZodBigInt:bg,ZodBoolean:sS,ZodDate:Oy,ZodSymbol:L2,ZodUndefined:uS,ZodNull:lS,ZodAny:Ub,ZodUnknown:ay,ZodNever:B0,ZodVoid:z2,ZodArray:Gd,ZodObject:ka,ZodUnion:cS,ZodDiscriminatedUnion:q$,ZodIntersection:fS,ZodTuple:gp,ZodRecord:dS,ZodMap:Q2,ZodSet:xy,ZodFunction:_b,ZodLazy:hS,ZodLiteral:pS,ZodEnum:Og,ZodNativeEnum:mS,ZodPromise:Vb,ZodEffects:ih,ZodTransformer:ih,ZodOptional:fp,ZodNullable:xg,ZodDefault:gS,ZodCatch:vS,ZodNaN:B2,BRAND:W8e,ZodBranded:sL,ZodPipeline:uw,ZodReadonly:yS,custom:Kce,Schema:Dn,ZodSchema:Dn,late:Z8e,get ZodFirstPartyTypeKind(){return Ft},coerce:PFe,any:tFe,array:aFe,bigint:Y8e,boolean:Gce,date:G8e,discriminatedUnion:lFe,effect:GZ,enum:yFe,function:mFe,instanceof:K8e,intersection:cFe,lazy:gFe,literal:vFe,map:hFe,nan:H8e,nativeEnum:bFe,never:nFe,null:eFe,nullable:_Fe,number:Yce,object:oFe,oboolean:CFe,onumber:$Fe,optional:xFe,ostring:EFe,pipeline:wFe,preprocess:SFe,promise:OFe,record:dFe,set:pFe,strictObject:sFe,string:Hce,symbol:X8e,transformer:GZ,tuple:fFe,undefined:J8e,union:uFe,unknown:rFe,void:iFe,NEVER:DFe,ZodIssueCode:Tt,quotelessJson:P8e,ZodError:tf});const Xce=1024;let RFe=0;class CT{constructor(t,r){this.from=t,this.to=r}}class oa{constructor(t={}){this.id=RFe++,this.perNode=!!t.perNode,this.deserialize=t.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(t){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof t!="function"&&(t=ah.match(t)),r=>{let n=t(r);return n===void 0?null:[this,n]}}}oa.closedBy=new oa({deserialize:e=>e.split(" ")});oa.openedBy=new oa({deserialize:e=>e.split(" ")});oa.group=new oa({deserialize:e=>e.split(" ")});oa.isolate=new oa({deserialize:e=>{if(e&&e!="rtl"&&e!="ltr"&&e!="auto")throw new RangeError("Invalid value for isolate: "+e);return e||"auto"}});oa.contextHash=new oa({perNode:!0});oa.lookAhead=new oa({perNode:!0});oa.mounted=new oa({perNode:!0});class q2{constructor(t,r,n){this.tree=t,this.overlay=r,this.parser=n}static get(t){return t&&t.props&&t.props[oa.mounted.id]}}const kFe=Object.create(null);class ah{constructor(t,r,n,i=0){this.name=t,this.props=r,this.id=n,this.flags=i}static define(t){let r=t.props&&t.props.length?Object.create(null):kFe,n=(t.top?1:0)|(t.skipped?2:0)|(t.error?4:0)|(t.name==null?8:0),i=new ah(t.name||"",r,t.id,n);if(t.props){for(let a of t.props)if(Array.isArray(a)||(a=a(i)),a){if(a[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");r[a[0].id]=a[1]}}return i}prop(t){return this.props[t.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(t){if(typeof t=="string"){if(this.name==t)return!0;let r=this.prop(oa.group);return r?r.indexOf(t)>-1:!1}return this.id==t}static match(t){let r=Object.create(null);for(let n in t)for(let i of n.split(" "))r[i]=t[n];return n=>{for(let i=n.prop(oa.group),a=-1;a<(i?i.length:0);a++){let o=r[a<0?n.name:i[a]];if(o)return o}}}}ah.none=new ah("",Object.create(null),0,8);class uL{constructor(t){this.types=t;for(let r=0;r<t.length;r++)if(t[r].id!=r)throw new RangeError("Node type ids should correspond to array positions when creating a node set")}extend(...t){let r=[];for(let n of this.types){let i=null;for(let a of t){let o=a(n);o&&(i||(i=Object.assign({},n.props)),i[o[0].id]=o[1])}r.push(i?new ah(n.name,i,n.id,n.flags):n)}return new uL(r)}}const z3=new WeakMap,XZ=new WeakMap;var su;(function(e){e[e.ExcludeBuffers=1]="ExcludeBuffers",e[e.IncludeAnonymous=2]="IncludeAnonymous",e[e.IgnoreMounts=4]="IgnoreMounts",e[e.IgnoreOverlays=8]="IgnoreOverlays"})(su||(su={}));class dc{constructor(t,r,n,i,a){if(this.type=t,this.children=r,this.positions=n,this.length=i,this.props=null,a&&a.length){this.props=Object.create(null);for(let[o,s]of a)this.props[typeof o=="number"?o:o.id]=s}}toString(){let t=q2.get(this);if(t&&!t.overlay)return t.tree.toString();let r="";for(let n of this.children){let i=n.toString();i&&(r&&(r+=","),r+=i)}return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(r.length?"("+r+")":""):r}cursor(t=0){return new d9(this.topNode,t)}cursorAt(t,r=0,n=0){let i=z3.get(this)||this.topNode,a=new d9(i);return a.moveTo(t,r),z3.set(this,a._tree),a}get topNode(){return new hc(this,0,0,null)}resolve(t,r=0){let n=bS(z3.get(this)||this.topNode,t,r,!1);return z3.set(this,n),n}resolveInner(t,r=0){let n=bS(XZ.get(this)||this.topNode,t,r,!0);return XZ.set(this,n),n}resolveStack(t,r=0){return FFe(this,t,r)}iterate(t){let{enter:r,leave:n,from:i=0,to:a=this.length}=t,o=t.mode||0,s=(o&su.IncludeAnonymous)>0;for(let u=this.cursor(o|su.IncludeAnonymous);;){let l=!1;if(u.from<=a&&u.to>=i&&(!s&&u.type.isAnonymous||r(u)!==!1)){if(u.firstChild())continue;l=!0}for(;l&&n&&(s||!u.type.isAnonymous)&&n(u),!u.nextSibling();){if(!u.parent())return;l=!0}}}prop(t){return t.perNode?this.props?this.props[t.id]:void 0:this.type.prop(t)}get propValues(){let t=[];if(this.props)for(let r in this.props)t.push([+r,this.props[r]]);return t}balance(t={}){return this.children.length<=8?this:fL(ah.none,this.children,this.positions,0,this.children.length,0,this.length,(r,n,i)=>new dc(this.type,r,n,i,this.propValues),t.makeTree||((r,n,i)=>new dc(ah.none,r,n,i)))}static build(t){return IFe(t)}}dc.empty=new dc(ah.none,[],[],0);class lL{constructor(t,r){this.buffer=t,this.index=r}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new lL(this.buffer,this.index)}}class _g{constructor(t,r,n){this.buffer=t,this.length=r,this.set=n}get type(){return ah.none}toString(){let t=[];for(let r=0;r<this.buffer.length;)t.push(this.childString(r)),r=this.buffer[r+3];return t.join(",")}childString(t){let r=this.buffer[t],n=this.buffer[t+3],i=this.set.types[r],a=i.name;if(/\W/.test(a)&&!i.isError&&(a=JSON.stringify(a)),t+=4,n==t)return a;let o=[];for(;t<n;)o.push(this.childString(t)),t=this.buffer[t+3];return a+"("+o.join(",")+")"}findChild(t,r,n,i,a){let{buffer:o}=this,s=-1;for(let u=t;u!=r&&!(Jce(a,i,o[u+1],o[u+2])&&(s=u,n>0));u=o[u+3]);return s}slice(t,r,n){let i=this.buffer,a=new Uint16Array(r-t),o=0;for(let s=t,u=0;s<r;){a[u++]=i[s++],a[u++]=i[s++]-n;let l=a[u++]=i[s++]-n;a[u++]=i[s++]-t,o=Math.max(o,l)}return new _g(a,o,this.set)}}function Jce(e,t,r,n){switch(e){case-2:return r<t;case-1:return n>=t&&r<t;case 0:return r<t&&n>t;case 1:return r<=t&&n>t;case 2:return n>t;case 4:return!0}}function bS(e,t,r,n){for(var i;e.from==e.to||(r<1?e.from>=t:e.from>t)||(r>-1?e.to<=t:e.to<t);){let o=!n&&e instanceof hc&&e.index<0?null:e.parent;if(!o)return e;e=o}let a=n?0:su.IgnoreOverlays;if(n)for(let o=e,s=o.parent;s;o=s,s=o.parent)o instanceof hc&&o.index<0&&((i=s.enter(t,r,a))===null||i===void 0?void 0:i.from)!=o.from&&(e=s);for(;;){let o=e.enter(t,r,a);if(!o)return e;e=o}}class efe{cursor(t=0){return new d9(this,t)}getChild(t,r=null,n=null){let i=JZ(this,t,r,n);return i.length?i[0]:null}getChildren(t,r=null,n=null){return JZ(this,t,r,n)}resolve(t,r=0){return bS(this,t,r,!1)}resolveInner(t,r=0){return bS(this,t,r,!0)}matchContext(t){return f9(this,t)}enterUnfinishedNodesBefore(t){let r=this.childBefore(t),n=this;for(;r;){let i=r.lastChild;if(!i||i.to!=r.to)break;i.type.isError&&i.from==i.to?(n=r,r=i.prevSibling):r=i}return n}get node(){return this}get next(){return this.parent}}class hc extends efe{constructor(t,r,n,i){super(),this._tree=t,this.from=r,this.index=n,this._parent=i}get type(){return this._tree.type}get name(){return this._tree.type.name}get to(){return this.from+this._tree.length}nextChild(t,r,n,i,a=0){for(let o=this;;){for(let{children:s,positions:u}=o._tree,l=r>0?s.length:-1;t!=l;t+=r){let c=s[t],f=u[t]+o.from;if(Jce(i,n,f,f+c.length)){if(c instanceof _g){if(a&su.ExcludeBuffers)continue;let d=c.findChild(0,c.buffer.length,r,n-f,i);if(d>-1)return new ip(new TFe(o,c,t,f),null,d)}else if(a&su.IncludeAnonymous||!c.type.isAnonymous||cL(c)){let d;if(!(a&su.IgnoreMounts)&&(d=q2.get(c))&&!d.overlay)return new hc(d.tree,f,t,o);let h=new hc(c,f,t,o);return a&su.IncludeAnonymous||!h.type.isAnonymous?h:h.nextChild(r<0?c.children.length-1:0,r,n,i)}}}if(a&su.IncludeAnonymous||!o.type.isAnonymous||(o.index>=0?t=o.index+r:t=r<0?-1:o._parent._tree.children.length,o=o._parent,!o))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(t){return this.nextChild(0,1,t,2)}childBefore(t){return this.nextChild(this._tree.children.length-1,-1,t,-2)}enter(t,r,n=0){let i;if(!(n&su.IgnoreOverlays)&&(i=q2.get(this._tree))&&i.overlay){let a=t-this.from;for(let{from:o,to:s}of i.overlay)if((r>0?o<=a:o<a)&&(r<0?s>=a:s>a))return new hc(i.tree,i.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,t,r,n)}nextSignificantParent(){let t=this;for(;t.type.isAnonymous&&t._parent;)t=t._parent;return t}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function JZ(e,t,r,n){let i=e.cursor(),a=[];if(!i.firstChild())return a;if(r!=null){for(let o=!1;!o;)if(o=i.type.is(r),!i.nextSibling())return a}for(;;){if(n!=null&&i.type.is(n))return a;if(i.type.is(t)&&a.push(i.node),!i.nextSibling())return n==null?a:[]}}function f9(e,t,r=t.length-1){for(let n=e.parent;r>=0;n=n.parent){if(!n)return!1;if(!n.type.isAnonymous){if(t[r]&&t[r]!=n.name)return!1;r--}}return!0}class TFe{constructor(t,r,n,i){this.parent=t,this.buffer=r,this.index=n,this.start=i}}class ip extends efe{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(t,r,n){super(),this.context=t,this._parent=r,this.index=n,this.type=t.buffer.set.types[t.buffer.buffer[n]]}child(t,r,n){let{buffer:i}=this.context,a=i.findChild(this.index+4,i.buffer[this.index+3],t,r-this.context.start,n);return a<0?null:new ip(this.context,this,a)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(t){return this.child(1,t,2)}childBefore(t){return this.child(-1,t,-2)}enter(t,r,n=0){if(n&su.ExcludeBuffers)return null;let{buffer:i}=this.context,a=i.findChild(this.index+4,i.buffer[this.index+3],r>0?1:-1,t-this.context.start,r);return a<0?null:new ip(this.context,this,a)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(t){return this._parent?null:this.context.parent.nextChild(this.context.index+t,t,0,4)}get nextSibling(){let{buffer:t}=this.context,r=t.buffer[this.index+3];return r<(this._parent?t.buffer[this._parent.index+3]:t.buffer.length)?new ip(this.context,this._parent,r):this.externalSibling(1)}get prevSibling(){let{buffer:t}=this.context,r=this._parent?this._parent.index+4:0;return this.index==r?this.externalSibling(-1):new ip(this.context,this._parent,t.findChild(r,this.index,-1,0,4))}get tree(){return null}toTree(){let t=[],r=[],{buffer:n}=this.context,i=this.index+4,a=n.buffer[this.index+3];if(a>i){let o=n.buffer[this.index+1];t.push(n.slice(i,a,o)),r.push(0)}return new dc(this.type,t,r,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function tfe(e){if(!e.length)return null;let t=0,r=e[0];for(let a=1;a<e.length;a++){let o=e[a];(o.from>r.from||o.to<r.to)&&(r=o,t=a)}let n=r instanceof hc&&r.index<0?null:r.parent,i=e.slice();return n?i[t]=n:i.splice(t,1),new AFe(i,r)}class AFe{constructor(t,r){this.heads=t,this.node=r}get next(){return tfe(this.heads)}}function FFe(e,t,r){let n=e.resolveInner(t,r),i=null;for(let a=n instanceof hc?n:n.context.parent;a;a=a.parent)if(a.index<0){let o=a.parent;(i||(i=[n])).push(o.resolve(t,r)),a=o}else{let o=q2.get(a.tree);if(o&&o.overlay&&o.overlay[0].from<=t&&o.overlay[o.overlay.length-1].to>=t){let s=new hc(o.tree,o.overlay[0].from+a.from,-1,a);(i||(i=[n])).push(bS(s,t,r,!1))}}return i?tfe(i):n}class d9{get name(){return this.type.name}constructor(t,r=0){if(this.mode=r,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,t instanceof hc)this.yieldNode(t);else{this._tree=t.context.parent,this.buffer=t.context;for(let n=t._parent;n;n=n._parent)this.stack.unshift(n.index);this.bufferNode=t,this.yieldBuf(t.index)}}yieldNode(t){return t?(this._tree=t,this.type=t.type,this.from=t.from,this.to=t.to,!0):!1}yieldBuf(t,r){this.index=t;let{start:n,buffer:i}=this.buffer;return this.type=r||i.set.types[i.buffer[t]],this.from=n+i.buffer[t+1],this.to=n+i.buffer[t+2],!0}yield(t){return t?t instanceof hc?(this.buffer=null,this.yieldNode(t)):(this.buffer=t.context,this.yieldBuf(t.index,t.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(t,r,n){if(!this.buffer)return this.yield(this._tree.nextChild(t<0?this._tree._tree.children.length-1:0,t,r,n,this.mode));let{buffer:i}=this.buffer,a=i.findChild(this.index+4,i.buffer[this.index+3],t,r-this.buffer.start,n);return a<0?!1:(this.stack.push(this.index),this.yieldBuf(a))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(t){return this.enterChild(1,t,2)}childBefore(t){return this.enterChild(-1,t,-2)}enter(t,r,n=this.mode){return this.buffer?n&su.ExcludeBuffers?!1:this.enterChild(1,t,r):this.yield(this._tree.enter(t,r,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&su.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let t=this.mode&su.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(t)}sibling(t){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+t,t,0,4,this.mode)):!1;let{buffer:r}=this.buffer,n=this.stack.length-1;if(t<0){let i=n<0?0:this.stack[n]+4;if(this.index!=i)return this.yieldBuf(r.findChild(i,this.index,-1,0,4))}else{let i=r.buffer[this.index+3];if(i<(n<0?r.buffer.length:r.buffer[this.stack[n]+3]))return this.yieldBuf(i)}return n<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+t,t,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(t){let r,n,{buffer:i}=this;if(i){if(t>0){if(this.index<i.buffer.buffer.length)return!1}else for(let a=0;a<this.index;a++)if(i.buffer.buffer[a+3]<this.index)return!1;({index:r,parent:n}=i)}else({index:r,_parent:n}=this._tree);for(;n;{index:r,_parent:n}=n)if(r>-1)for(let a=r+t,o=t<0?-1:n._tree.children.length;a!=o;a+=t){let s=n._tree.children[a];if(this.mode&su.IncludeAnonymous||s instanceof _g||!s.type.isAnonymous||cL(s))return!1}return!0}move(t,r){if(r&&this.enterChild(t,0,4))return!0;for(;;){if(this.sibling(t))return!0;if(this.atLastNode(t)||!this.parent())return!1}}next(t=!0){return this.move(1,t)}prev(t=!0){return this.move(-1,t)}moveTo(t,r=0){for(;(this.from==this.to||(r<1?this.from>=t:this.from>t)||(r>-1?this.to<=t:this.to<t))&&this.parent(););for(;this.enterChild(1,t,r););return this}get node(){if(!this.buffer)return this._tree;let t=this.bufferNode,r=null,n=0;if(t&&t.context==this.buffer)e:for(let i=this.index,a=this.stack.length;a>=0;){for(let o=t;o;o=o._parent)if(o.index==i){if(i==this.index)return o;r=o,n=a+1;break e}i=this.stack[--a]}for(let i=n;i<this.stack.length;i++)r=new ip(this.buffer,r,this.stack[i]);return this.bufferNode=new ip(this.buffer,r,this.index)}get tree(){return this.buffer?null:this._tree._tree}iterate(t,r){for(let n=0;;){let i=!1;if(this.type.isAnonymous||t(this)!==!1){if(this.firstChild()){n++;continue}this.type.isAnonymous||(i=!0)}for(;i&&r&&r(this),i=this.type.isAnonymous,!this.nextSibling();){if(!n)return;this.parent(),n--,i=!0}}}matchContext(t){if(!this.buffer)return f9(this.node,t);let{buffer:r}=this.buffer,{types:n}=r.set;for(let i=t.length-1,a=this.stack.length-1;i>=0;a--){if(a<0)return f9(this.node,t,i);let o=n[r.buffer[this.stack[a]]];if(!o.isAnonymous){if(t[i]&&t[i]!=o.name)return!1;i--}}return!0}}function cL(e){return e.children.some(t=>t instanceof _g||!t.type.isAnonymous||cL(t))}function IFe(e){var t;let{buffer:r,nodeSet:n,maxBufferLength:i=Xce,reused:a=[],minRepeatType:o=n.types.length}=e,s=Array.isArray(r)?new lL(r,r.length):r,u=n.types,l=0,c=0;function f(w,E,T,P,L,N){let{id:B,start:j,end:A,size:H}=s,k=c;for(;H<0;)if(s.next(),H==-1){let M=a[B];T.push(M),P.push(j-w);return}else if(H==-3){l=B;return}else if(H==-4){c=B;return}else throw new RangeError(`Unrecognized record size: ${H}`);let Q=u[B],V,I,q=j-w;if(A-j<=i&&(I=v(s.pos-E,L))){let M=new Uint16Array(I.size-I.skip),z=s.pos-I.size,G=M.length;for(;s.pos>z;)G=y(I.start,M,G);V=new _g(M,A-I.start,n),q=I.start-w}else{let M=s.pos-H;s.next();let z=[],G=[],K=B>=o?B:-1,te=0,ae=A;for(;s.pos>M;)K>=0&&s.id==K&&s.size>=0?(s.end<=ae-i&&(g(z,G,j,te,s.end,ae,K,k),te=z.length,ae=s.end),s.next()):N>2500?d(j,M,z,G):f(j,M,z,G,K,N+1);if(K>=0&&te>0&&te<z.length&&g(z,G,j,te,j,ae,K,k),z.reverse(),G.reverse(),K>-1&&te>0){let ie=h(Q);V=fL(Q,z,G,0,z.length,0,A-j,ie,ie)}else V=m(Q,z,G,A-j,k-A)}T.push(V),P.push(q)}function d(w,E,T,P){let L=[],N=0,B=-1;for(;s.pos>E;){let{id:j,start:A,end:H,size:k}=s;if(k>4)s.next();else{if(B>-1&&A<B)break;B<0&&(B=H-i),L.push(j,A,H),N++,s.next()}}if(N){let j=new Uint16Array(N*4),A=L[L.length-2];for(let H=L.length-3,k=0;H>=0;H-=3)j[k++]=L[H],j[k++]=L[H+1]-A,j[k++]=L[H+2]-A,j[k++]=k;T.push(new _g(j,L[2]-A,n)),P.push(A-w)}}function h(w){return(E,T,P)=>{let L=0,N=E.length-1,B,j;if(N>=0&&(B=E[N])instanceof dc){if(!N&&B.type==w&&B.length==P)return B;(j=B.prop(oa.lookAhead))&&(L=T[N]+B.length+j)}return m(w,E,T,P,L)}}function g(w,E,T,P,L,N,B,j){let A=[],H=[];for(;w.length>P;)A.push(w.pop()),H.push(E.pop()+T-L);w.push(m(n.types[B],A,H,N-L,j-N)),E.push(L-T)}function m(w,E,T,P,L=0,N){if(l){let B=[oa.contextHash,l];N=N?[B].concat(N):[B]}if(L>25){let B=[oa.lookAhead,L];N=N?[B].concat(N):[B]}return new dc(w,E,T,P,N)}function v(w,E){let T=s.fork(),P=0,L=0,N=0,B=T.end-i,j={size:0,start:0,skip:0};e:for(let A=T.pos-w;T.pos>A;){let H=T.size;if(T.id==E&&H>=0){j.size=P,j.start=L,j.skip=N,N+=4,P+=4,T.next();continue}let k=T.pos-H;if(H<0||k<A||T.start<B)break;let Q=T.id>=o?4:0,V=T.start;for(T.next();T.pos>k;){if(T.size<0)if(T.size==-3)Q+=4;else break e;else T.id>=o&&(Q+=4);T.next()}L=V,P+=H,N+=Q}return(E<0||P==w)&&(j.size=P,j.start=L,j.skip=N),j.size>4?j:void 0}function y(w,E,T){let{id:P,start:L,end:N,size:B}=s;if(s.next(),B>=0&&P<o){let j=T;if(B>4){let A=s.pos-(B-4);for(;s.pos>A;)T=y(w,E,T)}E[--T]=j,E[--T]=N-w,E[--T]=L-w,E[--T]=P}else B==-3?l=P:B==-4&&(c=P);return T}let O=[],x=[];for(;s.pos>0;)f(e.start||0,e.bufferStart||0,O,x,-1,0);let C=(t=e.length)!==null&&t!==void 0?t:O.length?x[0]+O[0].length:0;return new dc(u[e.topID],O.reverse(),x.reverse(),C)}const eK=new WeakMap;function NE(e,t){if(!e.isAnonymous||t instanceof _g||t.type!=e)return 1;let r=eK.get(t);if(r==null){r=1;for(let n of t.children){if(n.type!=e||!(n instanceof dc)){r=1;break}r+=NE(e,n)}eK.set(t,r)}return r}function fL(e,t,r,n,i,a,o,s,u){let l=0;for(let g=n;g<i;g++)l+=NE(e,t[g]);let c=Math.ceil(l*1.5/8),f=[],d=[];function h(g,m,v,y,O){for(let x=v;x<y;){let C=x,w=m[x],E=NE(e,g[x]);for(x++;x<y;x++){let T=NE(e,g[x]);if(E+T>=c)break;E+=T}if(x==C+1){if(E>c){let T=g[C];h(T.children,T.positions,0,T.children.length,m[C]+O);continue}f.push(g[C])}else{let T=m[x-1]+g[x-1].length-w;f.push(fL(e,g,m,C,x,w,T,null,u))}d.push(w+O-a)}}return h(t,r,n,i,0),(s||u)(f,d,o)}class xht{constructor(){this.map=new WeakMap}setBuffer(t,r,n){let i=this.map.get(t);i||this.map.set(t,i=new Map),i.set(r,n)}getBuffer(t,r){let n=this.map.get(t);return n&&n.get(r)}set(t,r){t instanceof ip?this.setBuffer(t.context.buffer,t.index,r):t instanceof hc&&this.map.set(t.tree,r)}get(t){return t instanceof ip?this.getBuffer(t.context.buffer,t.index):t instanceof hc?this.map.get(t.tree):void 0}cursorSet(t,r){t.buffer?this.setBuffer(t.buffer.buffer,t.index,r):this.map.set(t.tree,r)}cursorGet(t){return t.buffer?this.getBuffer(t.buffer.buffer,t.index):this.map.get(t.tree)}}class h9{constructor(t,r,n,i,a=!1,o=!1){this.from=t,this.to=r,this.tree=n,this.offset=i,this.open=(a?1:0)|(o?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(t,r=[],n=!1){let i=[new h9(0,t.length,t,0,!1,n)];for(let a of r)a.to>t.length&&i.push(a);return i}static applyChanges(t,r,n=128){if(!r.length)return t;let i=[],a=1,o=t.length?t[0]:null;for(let s=0,u=0,l=0;;s++){let c=s<r.length?r[s]:null,f=c?c.fromA:1e9;if(f-u>=n)for(;o&&o.from<f;){let d=o;if(u>=d.from||f<=d.to||l){let h=Math.max(d.from,u)-l,g=Math.min(d.to,f)-l;d=h>=g?null:new h9(h,g,d.tree,d.offset+l,s>0,!!c)}if(d&&i.push(d),o.to>f)break;o=a<t.length?t[a++]:null}if(!c)break;u=c.toA,l=c.toA-c.toB}return i}}let MFe=class{startParse(t,r,n){return typeof t=="string"&&(t=new NFe(t)),n=n?n.length?n.map(i=>new CT(i.from,i.to)):[new CT(0,0)]:[new CT(0,t.length)],this.createParse(t,r||[],n)}parse(t,r,n){let i=this.startParse(t,r,n);for(;;){let a=i.advance();if(a)return a}}};class NFe{constructor(t){this.string=t}get length(){return this.string.length}chunk(t){return this.string.slice(t)}get lineChunks(){return!1}read(t,r){return this.string.slice(t,r)}}new oa({perNode:!0});var Q3={},tK;function Sht(){if(tK)return Q3;tK=1;let e=[],t=[];(()=>{let d="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(h=>h?parseInt(h,36):1);for(let h=0,g=0;h<d.length;h++)(h%2?t:e).push(g=g+d[h])})();function r(d){if(d<768)return!1;for(let h=0,g=e.length;;){let m=h+g>>1;if(d<e[m])g=m;else if(d>=t[m])h=m+1;else return!0;if(h==g)return!1}}function n(d){return d>=127462&&d<=127487}const i=8205;function a(d,h,g=!0,m=!0){return(g?o:s)(d,h,m)}function o(d,h,g){if(h==d.length)return h;h&&l(d.charCodeAt(h))&&c(d.charCodeAt(h-1))&&h--;let m=u(d,h);for(h+=f(m);h<d.length;){let v=u(d,h);if(m==i||v==i||g&&r(v))h+=f(v),m=v;else if(n(v)){let y=0,O=h-2;for(;O>=0&&n(u(d,O));)y++,O-=2;if(y%2==0)break;h+=2}else break}return h}function s(d,h,g){for(;h>0;){let m=o(d,h-2,g);if(m<h)return m;h--}return 0}function u(d,h){let g=d.charCodeAt(h);if(!c(g)||h+1==d.length)return g;let m=d.charCodeAt(h+1);return l(m)?(g-55296<<10)+(m-56320)+65536:g}function l(d){return d>=56320&&d<57344}function c(d){return d>=55296&&d<56320}function f(d){return d<65536?1:2}return Q3.findClusterBreak=a,Q3.isExtendingChar=r,Q3}const p9="ͼ",rK=typeof Symbol>"u"?"__"+p9:Symbol.for(p9),m9=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),nK=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};class wht{constructor(t,r){this.rules=[];let{finish:n}=r||{};function i(o){return/^@/.test(o)?[o]:o.split(/,\s*/)}function a(o,s,u,l){let c=[],f=/^@(\w+)\b/.exec(o[0]),d=f&&f[1]=="keyframes";if(f&&s==null)return u.push(o[0]+";");for(let h in s){let g=s[h];if(/&/.test(h))a(h.split(/,\s*/).map(m=>o.map(v=>m.replace(/&/,v))).reduce((m,v)=>m.concat(v)),g,u);else if(g&&typeof g=="object"){if(!f)throw new RangeError("The value of a property ("+h+") should be a primitive value.");a(i(h),g,c,d)}else g!=null&&c.push(h.replace(/_.*/,"").replace(/[A-Z]/g,m=>"-"+m.toLowerCase())+": "+g+";")}(c.length||d)&&u.push((n&&!f&&!l?o.map(n):o).join(", ")+" {"+c.join(" ")+"}")}for(let o in t)a(i(o),t[o],this.rules)}getRules(){return this.rules.join(`
562
- `)}static newName(){let t=nK[rK]||1;return nK[rK]=t+1,p9+t.toString(36)}static mount(t,r,n){let i=t[m9],a=n&&n.nonce;i?a&&i.setNonce(a):i=new LFe(t,a),i.mount(Array.isArray(r)?r:[r],t)}}let iK=new Map;class LFe{constructor(t,r){let n=t.ownerDocument||t,i=n.defaultView;if(!t.head&&t.adoptedStyleSheets&&i.CSSStyleSheet){let a=iK.get(n);if(a)return t[m9]=a;this.sheet=new i.CSSStyleSheet,iK.set(n,this)}else this.styleTag=n.createElement("style"),r&&this.styleTag.setAttribute("nonce",r);this.modules=[],t[m9]=this}mount(t,r){let n=this.sheet,i=0,a=0;for(let o=0;o<t.length;o++){let s=t[o],u=this.modules.indexOf(s);if(u<a&&u>-1&&(this.modules.splice(u,1),a--,u=-1),u==-1){if(this.modules.splice(a++,0,s),n)for(let l=0;l<s.rules.length;l++)n.insertRule(s.rules[l],i++)}else{for(;a<u;)i+=this.modules[a++].rules.length;i+=s.rules.length,a++}}if(n)r.adoptedStyleSheets.indexOf(this.sheet)<0&&(r.adoptedStyleSheets=[this.sheet,...r.adoptedStyleSheets]);else{let o="";for(let u=0;u<this.modules.length;u++)o+=this.modules[u].getRules()+`
563
- `;this.styleTag.textContent=o;let s=r.head||r;this.styleTag.parentNode!=s&&s.insertBefore(this.styleTag,s.firstChild)}}setNonce(t){this.styleTag&&this.styleTag.getAttribute("nonce")!=t&&this.styleTag.setAttribute("nonce",t)}}var _y={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},U2={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},zFe=typeof navigator<"u"&&/Mac/.test(navigator.platform),QFe=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var uu=0;uu<10;uu++)_y[48+uu]=_y[96+uu]=String(uu);for(var uu=1;uu<=24;uu++)_y[uu+111]="F"+uu;for(var uu=65;uu<=90;uu++)_y[uu]=String.fromCharCode(uu+32),U2[uu]=String.fromCharCode(uu);for(var PT in _y)U2.hasOwnProperty(PT)||(U2[PT]=_y[PT]);function Eht(e){var t=zFe&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||QFe&&e.shiftKey&&e.key&&e.key.length==1||e.key=="Unidentified",r=!t&&e.key||(e.shiftKey?U2:_y)[e.keyCode]||e.key||"Unidentified";return r=="Esc"&&(r="Escape"),r=="Del"&&(r="Delete"),r=="Left"&&(r="ArrowLeft"),r=="Up"&&(r="ArrowUp"),r=="Right"&&(r="ArrowRight"),r=="Down"&&(r="ArrowDown"),r}let BFe=0;class Lf{constructor(t,r,n,i){this.name=t,this.set=r,this.base=n,this.modified=i,this.id=BFe++}toString(){let{name:t}=this;for(let r of this.modified)r.name&&(t=`${r.name}(${t})`);return t}static define(t,r){let n=typeof t=="string"?t:"?";if(t instanceof Lf&&(r=t),r!=null&&r.base)throw new Error("Can not derive from a modified tag");let i=new Lf(n,[],null,[]);if(i.set.push(i),r)for(let a of r.set)i.set.push(a);return i}static defineModifier(t){let r=new V2(t);return n=>n.modified.indexOf(r)>-1?n:V2.get(n.base||n,n.modified.concat(r).sort((i,a)=>i.id-a.id))}}let qFe=0;class V2{constructor(t){this.name=t,this.instances=[],this.id=qFe++}static get(t,r){if(!r.length)return t;let n=r[0].instances.find(s=>s.base==t&&UFe(r,s.modified));if(n)return n;let i=[],a=new Lf(t.name,i,t,r);for(let s of r)s.instances.push(a);let o=VFe(r);for(let s of t.set)if(!s.modified.length)for(let u of o)i.push(V2.get(s,u));return a}}function UFe(e,t){return e.length==t.length&&e.every((r,n)=>r==t[n])}function VFe(e){let t=[[]];for(let r=0;r<e.length;r++)for(let n=0,i=t.length;n<i;n++)t.push(t[n].concat(e[r]));return t.sort((r,n)=>n.length-r.length)}function rfe(e){let t=Object.create(null);for(let r in e){let n=e[r];Array.isArray(n)||(n=[n]);for(let i of r.split(" "))if(i){let a=[],o=2,s=i;for(let f=0;;){if(s=="..."&&f>0&&f+3==i.length){o=1;break}let d=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(s);if(!d)throw new RangeError("Invalid path: "+i);if(a.push(d[0]=="*"?"":d[0][0]=='"'?JSON.parse(d[0]):d[0]),f+=d[0].length,f==i.length)break;let h=i[f++];if(f==i.length&&h=="!"){o=0;break}if(h!="/")throw new RangeError("Invalid path: "+i);s=i.slice(f)}let u=a.length-1,l=a[u];if(!l)throw new RangeError("Invalid path: "+i);let c=new j2(n,o,u>0?a.slice(0,u):null);t[l]=c.sort(t[l])}}return nfe.add(t)}const nfe=new oa;class j2{constructor(t,r,n,i){this.tags=t,this.mode=r,this.context=n,this.next=i}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(t){return!t||t.depth<this.depth?(this.next=t,this):(t.next=this.sort(t.next),t)}get depth(){return this.context?this.context.length:0}}j2.empty=new j2([],2,null);function jFe(e,t){let r=Object.create(null);for(let a of e)if(!Array.isArray(a.tag))r[a.tag.id]=a.class;else for(let o of a.tag)r[o.id]=a.class;let{scope:n,all:i=null}=t||{};return{style:a=>{let o=i;for(let s of a)for(let u of s.set){let l=r[u.id];if(l){o=o?o+" "+l:l;break}}return o},scope:n}}function WFe(e,t){let r=null;for(let n of e){let i=n.style(t);i&&(r=r?r+" "+i:i)}return r}function $ht(e,t,r,n=0,i=e.length){let a=new ZFe(n,Array.isArray(t)?t:[t],r);a.highlightRange(e.cursor(),n,i,"",a.highlighters),a.flush(i)}class ZFe{constructor(t,r,n){this.at=t,this.highlighters=r,this.span=n,this.class=""}startSpan(t,r){r!=this.class&&(this.flush(t),t>this.at&&(this.at=t),this.class=r)}flush(t){t>this.at&&this.class&&this.span(this.at,t,this.class)}highlightRange(t,r,n,i,a){let{type:o,from:s,to:u}=t;if(s>=n||u<=r)return;o.isTop&&(a=this.highlighters.filter(h=>!h.scope||h.scope(o)));let l=i,c=KFe(t)||j2.empty,f=WFe(a,c.tags);if(f&&(l&&(l+=" "),l+=f,c.mode==1&&(i+=(i?" ":"")+f)),this.startSpan(Math.max(r,s),l),c.opaque)return;let d=t.tree&&t.tree.prop(oa.mounted);if(d&&d.overlay){let h=t.node.enter(d.overlay[0].from+s,1),g=this.highlighters.filter(v=>!v.scope||v.scope(d.tree.type)),m=t.firstChild();for(let v=0,y=s;;v++){let O=v<d.overlay.length?d.overlay[v]:null,x=O?O.from+s:u,C=Math.max(r,y),w=Math.min(n,x);if(C<w&&m)for(;t.from<w&&(this.highlightRange(t,C,w,i,a),this.startSpan(Math.min(w,t.to),l),!(t.to>=x||!t.nextSibling())););if(!O||x>n)break;y=O.to+s,y>r&&(this.highlightRange(h.cursor(),Math.max(r,O.from+s),Math.min(n,y),"",g),this.startSpan(Math.min(n,y),l))}m&&t.parent()}else if(t.firstChild()){d&&(i="");do if(!(t.to<=r)){if(t.from>=n)break;this.highlightRange(t,r,n,i,a),this.startSpan(Math.min(n,t.to),l)}while(t.nextSibling());t.parent()}}}function KFe(e){let t=e.type.prop(nfe);for(;t&&t.context&&!e.matchContext(t.context);)t=t.next;return t||null}const jt=Lf.define,B3=jt(),Vm=jt(),aK=jt(Vm),oK=jt(Vm),jm=jt(),q3=jt(jm),DT=jt(jm),Zh=jt(),yv=jt(Zh),Vh=jt(),jh=jt(),g9=jt(),vx=jt(g9),U3=jt(),st={comment:B3,lineComment:jt(B3),blockComment:jt(B3),docComment:jt(B3),name:Vm,variableName:jt(Vm),typeName:aK,tagName:jt(aK),propertyName:oK,attributeName:jt(oK),className:jt(Vm),labelName:jt(Vm),namespace:jt(Vm),macroName:jt(Vm),literal:jm,string:q3,docString:jt(q3),character:jt(q3),attributeValue:jt(q3),number:DT,integer:jt(DT),float:jt(DT),bool:jt(jm),regexp:jt(jm),escape:jt(jm),color:jt(jm),url:jt(jm),keyword:Vh,self:jt(Vh),null:jt(Vh),atom:jt(Vh),unit:jt(Vh),modifier:jt(Vh),operatorKeyword:jt(Vh),controlKeyword:jt(Vh),definitionKeyword:jt(Vh),moduleKeyword:jt(Vh),operator:jh,derefOperator:jt(jh),arithmeticOperator:jt(jh),logicOperator:jt(jh),bitwiseOperator:jt(jh),compareOperator:jt(jh),updateOperator:jt(jh),definitionOperator:jt(jh),typeOperator:jt(jh),controlOperator:jt(jh),punctuation:g9,separator:jt(g9),bracket:vx,angleBracket:jt(vx),squareBracket:jt(vx),paren:jt(vx),brace:jt(vx),content:Zh,heading:yv,heading1:jt(yv),heading2:jt(yv),heading3:jt(yv),heading4:jt(yv),heading5:jt(yv),heading6:jt(yv),contentSeparator:jt(Zh),list:jt(Zh),quote:jt(Zh),emphasis:jt(Zh),strong:jt(Zh),link:jt(Zh),monospace:jt(Zh),strikethrough:jt(Zh),inserted:jt(),deleted:jt(),changed:jt(),invalid:jt(),meta:U3,documentMeta:jt(U3),annotation:jt(U3),processingInstruction:jt(U3),definition:Lf.defineModifier("definition"),constant:Lf.defineModifier("constant"),function:Lf.defineModifier("function"),standard:Lf.defineModifier("standard"),local:Lf.defineModifier("local"),special:Lf.defineModifier("special")};for(let e in st){let t=st[e];t instanceof Lf&&(t.name=e)}jFe([{tag:st.link,class:"tok-link"},{tag:st.heading,class:"tok-heading"},{tag:st.emphasis,class:"tok-emphasis"},{tag:st.strong,class:"tok-strong"},{tag:st.keyword,class:"tok-keyword"},{tag:st.atom,class:"tok-atom"},{tag:st.bool,class:"tok-bool"},{tag:st.url,class:"tok-url"},{tag:st.labelName,class:"tok-labelName"},{tag:st.inserted,class:"tok-inserted"},{tag:st.deleted,class:"tok-deleted"},{tag:st.literal,class:"tok-literal"},{tag:st.string,class:"tok-string"},{tag:st.number,class:"tok-number"},{tag:[st.regexp,st.escape,st.special(st.string)],class:"tok-string2"},{tag:st.variableName,class:"tok-variableName"},{tag:st.local(st.variableName),class:"tok-variableName tok-local"},{tag:st.definition(st.variableName),class:"tok-variableName tok-definition"},{tag:st.special(st.variableName),class:"tok-variableName2"},{tag:st.definition(st.propertyName),class:"tok-propertyName tok-definition"},{tag:st.typeName,class:"tok-typeName"},{tag:st.namespace,class:"tok-namespace"},{tag:st.className,class:"tok-className"},{tag:st.macroName,class:"tok-macroName"},{tag:st.propertyName,class:"tok-propertyName"},{tag:st.operator,class:"tok-operator"},{tag:st.comment,class:"tok-comment"},{tag:st.meta,class:"tok-meta"},{tag:st.invalid,class:"tok-invalid"},{tag:st.punctuation,class:"tok-punctuation"}]);var sK={};class W2{constructor(t,r,n,i,a,o,s,u,l,c=0,f){this.p=t,this.stack=r,this.state=n,this.reducePos=i,this.pos=a,this.score=o,this.buffer=s,this.bufferBase=u,this.curContext=l,this.lookAhead=c,this.parent=f}toString(){return`[${this.stack.filter((t,r)=>r%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(t,r,n=0){let i=t.parser.context;return new W2(t,[],r,n,n,0,[],0,i?new uK(i,i.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(t,r){this.stack.push(this.state,r,this.bufferBase+this.buffer.length),this.state=t}reduce(t){var r;let n=t>>19,i=t&65535,{parser:a}=this.p,o=this.reducePos<this.pos-25;o&&this.setLookAhead(this.pos);let s=a.dynamicPrecedence(i);if(s&&(this.score+=s),n==0){this.pushState(a.getGoto(this.state,i,!0),this.reducePos),i<a.minRepeatTerm&&this.storeNode(i,this.reducePos,this.reducePos,o?8:4,!0),this.reduceContext(i,this.reducePos);return}let u=this.stack.length-(n-1)*3-(t&262144?6:0),l=u?this.stack[u-2]:this.p.ranges[0].from,c=this.reducePos-l;c>=2e3&&!(!((r=this.p.parser.nodeSet.types[i])===null||r===void 0)&&r.isAnonymous)&&(l==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=c):this.p.lastBigReductionSize<c&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=l,this.p.lastBigReductionSize=c));let f=u?this.stack[u-1]:0,d=this.bufferBase+this.buffer.length-f;if(i<a.minRepeatTerm||t&131072){let h=a.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(i,l,h,d+4,!0)}if(t&262144)this.state=this.stack[u];else{let h=this.stack[u-3];this.state=a.getGoto(h,i,!0)}for(;this.stack.length>u;)this.stack.pop();this.reduceContext(i,l)}storeNode(t,r,n,i=4,a=!1){if(t==0&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let o=this,s=this.buffer.length;if(s==0&&o.parent&&(s=o.bufferBase-o.parent.bufferBase,o=o.parent),s>0&&o.buffer[s-4]==0&&o.buffer[s-1]>-1){if(r==n)return;if(o.buffer[s-2]>=r){o.buffer[s-2]=n;return}}}if(!a||this.pos==n)this.buffer.push(t,r,n,i);else{let o=this.buffer.length;if(o>0&&this.buffer[o-4]!=0){let s=!1;for(let u=o;u>0&&this.buffer[u-2]>n;u-=4)if(this.buffer[u-1]>=0){s=!0;break}if(s)for(;o>0&&this.buffer[o-2]>n;)this.buffer[o]=this.buffer[o-4],this.buffer[o+1]=this.buffer[o-3],this.buffer[o+2]=this.buffer[o-2],this.buffer[o+3]=this.buffer[o-1],o-=4,i>4&&(i-=4)}this.buffer[o]=t,this.buffer[o+1]=r,this.buffer[o+2]=n,this.buffer[o+3]=i}}shift(t,r,n,i){if(t&131072)this.pushState(t&65535,this.pos);else if((t&262144)==0){let a=t,{parser:o}=this.p;(i>this.pos||r<=o.maxNode)&&(this.pos=i,o.stateFlag(a,1)||(this.reducePos=i)),this.pushState(a,n),this.shiftContext(r,n),r<=o.maxNode&&this.buffer.push(r,n,i,4)}else this.pos=i,this.shiftContext(r,n),r<=this.p.parser.maxNode&&this.buffer.push(r,n,i,4)}apply(t,r,n,i){t&65536?this.reduce(t):this.shift(t,r,n,i)}useNode(t,r){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=t)&&(this.p.reused.push(t),n++);let i=this.pos;this.reducePos=this.pos=i+t.length,this.pushState(r,i),this.buffer.push(n,i,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,t,this,this.p.stream.reset(this.pos-t.length)))}split(){let t=this,r=t.buffer.length;for(;r>0&&t.buffer[r-2]>t.reducePos;)r-=4;let n=t.buffer.slice(r),i=t.bufferBase+r;for(;t&&i==t.bufferBase;)t=t.parent;return new W2(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,i,this.curContext,this.lookAhead,t)}recoverByDelete(t,r){let n=t<=this.p.parser.maxNode;n&&this.storeNode(t,this.pos,r,4),this.storeNode(0,this.pos,r,n?8:4),this.pos=this.reducePos=r,this.score-=190}canShift(t){for(let r=new HFe(this);;){let n=this.p.parser.stateSlot(r.state,4)||this.p.parser.hasAction(r.state,t);if(n==0)return!1;if((n&65536)==0)return!0;r.reduce(n)}}recoverByInsert(t){if(this.stack.length>=300)return[];let r=this.p.parser.nextStates(this.state);if(r.length>8||this.stack.length>=120){let i=[];for(let a=0,o;a<r.length;a+=2)(o=r[a+1])!=this.state&&this.p.parser.hasAction(o,t)&&i.push(r[a],o);if(this.stack.length<120)for(let a=0;i.length<8&&a<r.length;a+=2){let o=r[a+1];i.some((s,u)=>u&1&&s==o)||i.push(r[a],o)}r=i}let n=[];for(let i=0;i<r.length&&n.length<4;i+=2){let a=r[i+1];if(a==this.state)continue;let o=this.split();o.pushState(a,this.pos),o.storeNode(0,o.pos,o.pos,4,!0),o.shiftContext(r[i],this.pos),o.reducePos=this.pos,o.score-=200,n.push(o)}return n}forceReduce(){let{parser:t}=this.p,r=t.stateSlot(this.state,5);if((r&65536)==0)return!1;if(!t.validAction(this.state,r)){let n=r>>19,i=r&65535,a=this.stack.length-n*3;if(a<0||t.getGoto(this.stack[a],i,!1)<0){let o=this.findForcedReduction();if(o==null)return!1;r=o}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(r),!0}findForcedReduction(){let{parser:t}=this.p,r=[],n=(i,a)=>{if(!r.includes(i))return r.push(i),t.allActions(i,o=>{if(!(o&393216))if(o&65536){let s=(o>>19)-a;if(s>1){let u=o&65535,l=this.stack.length-s*3;if(l>=0&&t.getGoto(this.stack[l],u,!1)>=0)return s<<19|65536|u}}else{let s=n(o,a+1);if(s!=null)return s}})};return n(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:t}=this.p;return t.data[t.stateSlot(this.state,1)]==65535&&!t.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(t){if(this.state!=t.state||this.stack.length!=t.stack.length)return!1;for(let r=0;r<this.stack.length;r+=3)if(this.stack[r]!=t.stack[r])return!1;return!0}get parser(){return this.p.parser}dialectEnabled(t){return this.p.parser.dialect.flags[t]}shiftContext(t,r){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,t,this,this.p.stream.reset(r)))}reduceContext(t,r){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,t,this,this.p.stream.reset(r)))}emitContext(){let t=this.buffer.length-1;(t<0||this.buffer[t]!=-3)&&this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)}emitLookAhead(){let t=this.buffer.length-1;(t<0||this.buffer[t]!=-4)&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(t){if(t!=this.curContext.context){let r=new uK(this.curContext.tracker,t);r.hash!=this.curContext.hash&&this.emitContext(),this.curContext=r}}setLookAhead(t){t>this.lookAhead&&(this.emitLookAhead(),this.lookAhead=t)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class uK{constructor(t,r){this.tracker=t,this.context=r,this.hash=t.strict?t.hash(r):0}}class HFe{constructor(t){this.start=t,this.state=t.state,this.stack=t.stack,this.base=this.stack.length}reduce(t){let r=t&65535,n=t>>19;n==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(n-1)*3;let i=this.start.p.parser.getGoto(this.stack[this.base-3],r,!0);this.state=i}}class Z2{constructor(t,r,n){this.stack=t,this.pos=r,this.index=n,this.buffer=t.buffer,this.index==0&&this.maybeNext()}static create(t,r=t.bufferBase+t.buffer.length){return new Z2(t,r,r-t.bufferBase)}maybeNext(){let t=this.stack.parent;t!=null&&(this.index=this.stack.bufferBase-t.bufferBase,this.stack=t,this.buffer=t.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new Z2(this.stack,this.pos,this.index)}}function d_(e,t=Uint16Array){if(typeof e!="string")return e;let r=null;for(let n=0,i=0;n<e.length;){let a=0;for(;;){let o=e.charCodeAt(n++),s=!1;if(o==126){a=65535;break}o>=92&&o--,o>=34&&o--;let u=o-32;if(u>=46&&(u-=46,s=!0),a+=u,s)break;a*=46}r?r[i++]=a:r=new t(a)}return r}class LE{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const lK=new LE;class YFe{constructor(t,r){this.input=t,this.ranges=r,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=lK,this.rangeIndex=0,this.pos=this.chunkPos=r[0].from,this.range=r[0],this.end=r[r.length-1].to,this.readNext()}resolveOffset(t,r){let n=this.range,i=this.rangeIndex,a=this.pos+t;for(;a<n.from;){if(!i)return null;let o=this.ranges[--i];a-=n.from-o.to,n=o}for(;r<0?a>n.to:a>=n.to;){if(i==this.ranges.length-1)return null;let o=this.ranges[++i];a+=o.from-n.to,n=o}return a}clipPos(t){if(t>=this.range.from&&t<this.range.to)return t;for(let r of this.ranges)if(r.to>t)return Math.max(t,r.from);return this.end}peek(t){let r=this.chunkOff+t,n,i;if(r>=0&&r<this.chunk.length)n=this.pos+t,i=this.chunk.charCodeAt(r);else{let a=this.resolveOffset(t,1);if(a==null)return-1;if(n=a,n>=this.chunk2Pos&&n<this.chunk2Pos+this.chunk2.length)i=this.chunk2.charCodeAt(n-this.chunk2Pos);else{let o=this.rangeIndex,s=this.range;for(;s.to<=n;)s=this.ranges[++o];this.chunk2=this.input.chunk(this.chunk2Pos=n),n+this.chunk2.length>s.to&&(this.chunk2=this.chunk2.slice(0,s.to-n)),i=this.chunk2.charCodeAt(0)}}return n>=this.token.lookAhead&&(this.token.lookAhead=n+1),i}acceptToken(t,r=0){let n=r?this.resolveOffset(r,-1):this.pos;if(n==null||n<this.token.start)throw new RangeError("Token end out of bounds");this.token.value=t,this.token.end=n}acceptTokenTo(t,r){this.token.value=t,this.token.end=r}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:t,chunkPos:r}=this;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=t,this.chunk2Pos=r,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;let t=this.input.chunk(this.pos),r=this.pos+t.length;this.chunk=r>this.range.to?t.slice(0,this.range.to-this.pos):t,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(t=1){for(this.chunkOff+=t;this.pos+t>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();t-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=t,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(t,r){if(r?(this.token=r,r.start=t,r.lookAhead=t+1,r.value=r.extended=-1):this.token=lK,this.pos!=t){if(this.pos=t,t==this.end)return this.setDone(),this;for(;t<this.range.from;)this.range=this.ranges[--this.rangeIndex];for(;t>=this.range.to;)this.range=this.ranges[++this.rangeIndex];t>=this.chunkPos&&t<this.chunkPos+this.chunk.length?this.chunkOff=t-this.chunkPos:(this.chunk="",this.chunkOff=0),this.readNext()}return this}read(t,r){if(t>=this.chunkPos&&r<=this.chunkPos+this.chunk.length)return this.chunk.slice(t-this.chunkPos,r-this.chunkPos);if(t>=this.chunk2Pos&&r<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(t-this.chunk2Pos,r-this.chunk2Pos);if(t>=this.range.from&&r<=this.range.to)return this.input.read(t,r);let n="";for(let i of this.ranges){if(i.from>=r)break;i.to>t&&(n+=this.input.read(Math.max(i.from,t),Math.min(i.to,r)))}return n}}class Sb{constructor(t,r){this.data=t,this.id=r}token(t,r){let{parser:n}=r.p;ife(this.data,t,r,this.id,n.data,n.tokenPrecTable)}}Sb.prototype.contextual=Sb.prototype.fallback=Sb.prototype.extend=!1;class v9{constructor(t,r,n){this.precTable=r,this.elseToken=n,this.data=typeof t=="string"?d_(t):t}token(t,r){let n=t.pos,i=0;for(;;){let a=t.next<0,o=t.resolveOffset(1,1);if(ife(this.data,t,r,0,this.data,this.precTable),t.token.value>-1)break;if(this.elseToken==null)return;if(a||i++,o==null)break;t.reset(o,t.token)}i&&(t.reset(n,t.token),t.acceptToken(this.elseToken,i))}}v9.prototype.contextual=Sb.prototype.fallback=Sb.prototype.extend=!1;class zg{constructor(t,r={}){this.token=t,this.contextual=!!r.contextual,this.fallback=!!r.fallback,this.extend=!!r.extend}}function ife(e,t,r,n,i,a){let o=0,s=1<<n,{dialect:u}=r.p.parser;e:for(;(s&e[o])!=0;){let l=e[o+1];for(let h=o+3;h<l;h+=2)if((e[h+1]&s)>0){let g=e[h];if(u.allows(g)&&(t.token.value==-1||t.token.value==g||GFe(g,t.token.value,i,a))){t.acceptToken(g);break}}let c=t.next,f=0,d=e[o+2];if(t.next<0&&d>f&&e[l+d*3-3]==65535){o=e[l+d*3-1];continue e}for(;f<d;){let h=f+d>>1,g=l+h+(h<<1),m=e[g],v=e[g+1]||65536;if(c<m)d=h;else if(c>=v)f=h+1;else{o=e[g+2],t.advance();continue e}}break}}function cK(e,t,r){for(let n=t,i;(i=e[n])!=65535;n++)if(i==r)return n-t;return-1}function GFe(e,t,r,n){let i=cK(r,n,t);return i<0||cK(r,n,e)<i}const Wc=typeof process<"u"&&sK&&/\bparse\b/.test(sK.LOG);let RT=null;function fK(e,t,r){let n=e.cursor(su.IncludeAnonymous);for(n.moveTo(t);;)if(!(r<0?n.childBefore(t):n.childAfter(t)))for(;;){if((r<0?n.to<t:n.from>t)&&!n.type.isError)return r<0?Math.max(0,Math.min(n.to-1,t-25)):Math.min(e.length,Math.max(n.from+1,t+25));if(r<0?n.prevSibling():n.nextSibling())break;if(!n.parent())return r<0?0:e.length}}class XFe{constructor(t,r){this.fragments=t,this.nodeSet=r,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let t=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(t){for(this.safeFrom=t.openStart?fK(t.tree,t.from+t.offset,1)-t.offset:t.from,this.safeTo=t.openEnd?fK(t.tree,t.to+t.offset,-1)-t.offset:t.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(t.tree),this.start.push(-t.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(t){if(t<this.nextStart)return null;for(;this.fragment&&this.safeTo<=t;)this.nextFragment();if(!this.fragment)return null;for(;;){let r=this.trees.length-1;if(r<0)return this.nextFragment(),null;let n=this.trees[r],i=this.index[r];if(i==n.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let a=n.children[i],o=this.start[r]+n.positions[i];if(o>t)return this.nextStart=o,null;if(a instanceof dc){if(o==t){if(o<this.safeFrom)return null;let s=o+a.length;if(s<=this.safeTo){let u=a.prop(oa.lookAhead);if(!u||s+u<this.fragment.to)return a}}this.index[r]++,o+a.length>=Math.max(this.safeFrom,t)&&(this.trees.push(a),this.start.push(o),this.index.push(0))}else this.index[r]++,this.nextStart=o+a.length}}}class JFe{constructor(t,r){this.stream=r,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=t.tokenizers.map(n=>new LE)}getActions(t){let r=0,n=null,{parser:i}=t.p,{tokenizers:a}=i,o=i.stateSlot(t.state,3),s=t.curContext?t.curContext.hash:0,u=0;for(let l=0;l<a.length;l++){if((1<<l&o)==0)continue;let c=a[l],f=this.tokens[l];if(!(n&&!c.fallback)&&((c.contextual||f.start!=t.pos||f.mask!=o||f.context!=s)&&(this.updateCachedToken(f,c,t),f.mask=o,f.context=s),f.lookAhead>f.end+25&&(u=Math.max(f.lookAhead,u)),f.value!=0)){let d=r;if(f.extended>-1&&(r=this.addActions(t,f.extended,f.end,r)),r=this.addActions(t,f.value,f.end,r),!c.extend&&(n=f,r>d))break}}for(;this.actions.length>r;)this.actions.pop();return u&&t.setLookAhead(u),!n&&t.pos==this.stream.end&&(n=new LE,n.value=t.p.parser.eofTerm,n.start=n.end=t.pos,r=this.addActions(t,n.value,n.end,r)),this.mainToken=n,this.actions}getMainToken(t){if(this.mainToken)return this.mainToken;let r=new LE,{pos:n,p:i}=t;return r.start=n,r.end=Math.min(n+1,i.stream.end),r.value=n==i.stream.end?i.parser.eofTerm:0,r}updateCachedToken(t,r,n){let i=this.stream.clipPos(n.pos);if(r.token(this.stream.reset(i,t),n),t.value>-1){let{parser:a}=n.p;for(let o=0;o<a.specialized.length;o++)if(a.specialized[o]==t.value){let s=a.specializers[o](this.stream.read(t.start,t.end),n);if(s>=0&&n.p.parser.dialect.allows(s>>1)){(s&1)==0?t.value=s>>1:t.extended=s>>1;break}}}else t.value=0,t.end=this.stream.clipPos(i+1)}putAction(t,r,n,i){for(let a=0;a<i;a+=3)if(this.actions[a]==t)return i;return this.actions[i++]=t,this.actions[i++]=r,this.actions[i++]=n,i}addActions(t,r,n,i){let{state:a}=t,{parser:o}=t.p,{data:s}=o;for(let u=0;u<2;u++)for(let l=o.stateSlot(a,u?2:1);;l+=3){if(s[l]==65535)if(s[l+1]==1)l=x0(s,l+2);else{i==0&&s[l+1]==2&&(i=this.putAction(x0(s,l+2),r,n,i));break}s[l]==r&&(i=this.putAction(x0(s,l+1),r,n,i))}return i}}class e7e{constructor(t,r,n,i){this.parser=t,this.input=r,this.ranges=i,this.recovering=0,this.nextStackID=9812,this.minStackPos=0,this.reused=[],this.stoppedAt=null,this.lastBigReductionStart=-1,this.lastBigReductionSize=0,this.bigReductionCount=0,this.stream=new YFe(r,i),this.tokens=new JFe(t,this.stream),this.topTerm=t.top[1];let{from:a}=i[0];this.stacks=[W2.start(this,t.top[0],a)],this.fragments=n.length&&this.stream.end-a>t.bufferLength*4?new XFe(n,t.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let t=this.stacks,r=this.minStackPos,n=this.stacks=[],i,a;if(this.bigReductionCount>300&&t.length==1){let[o]=t;for(;o.forceReduce()&&o.stack.length&&o.stack[o.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let o=0;o<t.length;o++){let s=t[o];for(;;){if(this.tokens.mainToken=null,s.pos>r)n.push(s);else{if(this.advanceStack(s,n,t))continue;{i||(i=[],a=[]),i.push(s);let u=this.tokens.getMainToken(s);a.push(u.value,u.end)}}break}}if(!n.length){let o=i&&r7e(i);if(o)return Wc&&console.log("Finish with "+this.stackID(o)),this.stackToTree(o);if(this.parser.strict)throw Wc&&i&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+r);this.recovering||(this.recovering=5)}if(this.recovering&&i){let o=this.stoppedAt!=null&&i[0].pos>this.stoppedAt?i[0]:this.runRecovery(i,a,n);if(o)return Wc&&console.log("Force-finish "+this.stackID(o)),this.stackToTree(o.forceAll())}if(this.recovering){let o=this.recovering==1?1:this.recovering*3;if(n.length>o)for(n.sort((s,u)=>u.score-s.score);n.length>o;)n.pop();n.some(s=>s.reducePos>r)&&this.recovering--}else if(n.length>1){e:for(let o=0;o<n.length-1;o++){let s=n[o];for(let u=o+1;u<n.length;u++){let l=n[u];if(s.sameState(l)||s.buffer.length>500&&l.buffer.length>500)if((s.score-l.score||s.buffer.length-l.buffer.length)>0)n.splice(u--,1);else{n.splice(o--,1);continue e}}}n.length>12&&n.splice(12,n.length-12)}this.minStackPos=n[0].pos;for(let o=1;o<n.length;o++)n[o].pos<this.minStackPos&&(this.minStackPos=n[o].pos);return null}stopAt(t){if(this.stoppedAt!=null&&this.stoppedAt<t)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=t}advanceStack(t,r,n){let i=t.pos,{parser:a}=this,o=Wc?this.stackID(t)+" -> ":"";if(this.stoppedAt!=null&&i>this.stoppedAt)return t.forceReduce()?t:null;if(this.fragments){let l=t.curContext&&t.curContext.tracker.strict,c=l?t.curContext.hash:0;for(let f=this.fragments.nodeAt(i);f;){let d=this.parser.nodeSet.types[f.type.id]==f.type?a.getGoto(t.state,f.type.id):-1;if(d>-1&&f.length&&(!l||(f.prop(oa.contextHash)||0)==c))return t.useNode(f,d),Wc&&console.log(o+this.stackID(t)+` (via reuse of ${a.getName(f.type.id)})`),!0;if(!(f instanceof dc)||f.children.length==0||f.positions[0]>0)break;let h=f.children[0];if(h instanceof dc&&f.positions[0]==0)f=h;else break}}let s=a.stateSlot(t.state,4);if(s>0)return t.reduce(s),Wc&&console.log(o+this.stackID(t)+` (via always-reduce ${a.getName(s&65535)})`),!0;if(t.stack.length>=8400)for(;t.stack.length>6e3&&t.forceReduce(););let u=this.tokens.getActions(t);for(let l=0;l<u.length;){let c=u[l++],f=u[l++],d=u[l++],h=l==u.length||!n,g=h?t:t.split(),m=this.tokens.mainToken;if(g.apply(c,f,m?m.start:g.pos,d),Wc&&console.log(o+this.stackID(g)+` (via ${(c&65536)==0?"shift":`reduce of ${a.getName(c&65535)}`} for ${a.getName(f)} @ ${i}${g==t?"":", split"})`),h)return!0;g.pos>i?r.push(g):n.push(g)}return!1}advanceFully(t,r){let n=t.pos;for(;;){if(!this.advanceStack(t,null,null))return!1;if(t.pos>n)return dK(t,r),!0}}runRecovery(t,r,n){let i=null,a=!1;for(let o=0;o<t.length;o++){let s=t[o],u=r[o<<1],l=r[(o<<1)+1],c=Wc?this.stackID(s)+" -> ":"";if(s.deadEnd&&(a||(a=!0,s.restart(),Wc&&console.log(c+this.stackID(s)+" (restarted)"),this.advanceFully(s,n))))continue;let f=s.split(),d=c;for(let h=0;f.forceReduce()&&h<10&&(Wc&&console.log(d+this.stackID(f)+" (via force-reduce)"),!this.advanceFully(f,n));h++)Wc&&(d=this.stackID(f)+" -> ");for(let h of s.recoverByInsert(u))Wc&&console.log(c+this.stackID(h)+" (via recover-insert)"),this.advanceFully(h,n);this.stream.end>s.pos?(l==s.pos&&(l++,u=0),s.recoverByDelete(u,l),Wc&&console.log(c+this.stackID(s)+` (via recover-delete ${this.parser.getName(u)})`),dK(s,n)):(!i||i.score<s.score)&&(i=s)}return i}stackToTree(t){return t.close(),dc.build({buffer:Z2.create(t),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:t.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}stackID(t){let r=(RT||(RT=new WeakMap)).get(t);return r||RT.set(t,r=String.fromCodePoint(this.nextStackID++)),r+t}}function dK(e,t){for(let r=0;r<t.length;r++){let n=t[r];if(n.pos==e.pos&&n.sameState(e)){t[r].score<e.score&&(t[r]=e);return}}t.push(e)}class t7e{constructor(t,r,n){this.source=t,this.flags=r,this.disabled=n}allows(t){return!this.disabled||this.disabled[t]==0}}const kT=e=>e;class afe{constructor(t){this.start=t.start,this.shift=t.shift||kT,this.reduce=t.reduce||kT,this.reuse=t.reuse||kT,this.hash=t.hash||(()=>0),this.strict=t.strict!==!1}}class OS extends MFe{constructor(t){if(super(),this.wrappers=[],t.version!=14)throw new RangeError(`Parser version (${t.version}) doesn't match runtime version (14)`);let r=t.nodeNames.split(" ");this.minRepeatTerm=r.length;for(let s=0;s<t.repeatNodeCount;s++)r.push("");let n=Object.keys(t.topRules).map(s=>t.topRules[s][1]),i=[];for(let s=0;s<r.length;s++)i.push([]);function a(s,u,l){i[s].push([u,u.deserialize(String(l))])}if(t.nodeProps)for(let s of t.nodeProps){let u=s[0];typeof u=="string"&&(u=oa[u]);for(let l=1;l<s.length;){let c=s[l++];if(c>=0)a(c,u,s[l++]);else{let f=s[l+-c];for(let d=-c;d>0;d--)a(s[l++],u,f);l++}}}this.nodeSet=new uL(r.map((s,u)=>ah.define({name:u>=this.minRepeatTerm?void 0:s,id:u,props:i[u],top:n.indexOf(u)>-1,error:u==0,skipped:t.skippedNodes&&t.skippedNodes.indexOf(u)>-1}))),t.propSources&&(this.nodeSet=this.nodeSet.extend(...t.propSources)),this.strict=!1,this.bufferLength=Xce;let o=d_(t.tokenData);this.context=t.context,this.specializerSpecs=t.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let s=0;s<this.specializerSpecs.length;s++)this.specialized[s]=this.specializerSpecs[s].term;this.specializers=this.specializerSpecs.map(hK),this.states=d_(t.states,Uint32Array),this.data=d_(t.stateData),this.goto=d_(t.goto),this.maxTerm=t.maxTerm,this.tokenizers=t.tokenizers.map(s=>typeof s=="number"?new Sb(o,s):s),this.topRules=t.topRules,this.dialects=t.dialects||{},this.dynamicPrecedences=t.dynamicPrecedences||null,this.tokenPrecTable=t.tokenPrec,this.termNames=t.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(t,r,n){let i=new e7e(this,t,r,n);for(let a of this.wrappers)i=a(i,t,r,n);return i}getGoto(t,r,n=!1){let i=this.goto;if(r>=i[0])return-1;for(let a=i[r+1];;){let o=i[a++],s=o&1,u=i[a++];if(s&&n)return u;for(let l=a+(o>>1);a<l;a++)if(i[a]==t)return u;if(s)return-1}}hasAction(t,r){let n=this.data;for(let i=0;i<2;i++)for(let a=this.stateSlot(t,i?2:1),o;;a+=3){if((o=n[a])==65535)if(n[a+1]==1)o=n[a=x0(n,a+2)];else{if(n[a+1]==2)return x0(n,a+2);break}if(o==r||o==0)return x0(n,a+1)}return 0}stateSlot(t,r){return this.states[t*6+r]}stateFlag(t,r){return(this.stateSlot(t,0)&r)>0}validAction(t,r){return!!this.allActions(t,n=>n==r?!0:null)}allActions(t,r){let n=this.stateSlot(t,4),i=n?r(n):void 0;for(let a=this.stateSlot(t,1);i==null;a+=3){if(this.data[a]==65535)if(this.data[a+1]==1)a=x0(this.data,a+2);else break;i=r(x0(this.data,a+1))}return i}nextStates(t){let r=[];for(let n=this.stateSlot(t,1);;n+=3){if(this.data[n]==65535)if(this.data[n+1]==1)n=x0(this.data,n+2);else break;if((this.data[n+2]&1)==0){let i=this.data[n+1];r.some((a,o)=>o&1&&a==i)||r.push(this.data[n],i)}}return r}configure(t){let r=Object.assign(Object.create(OS.prototype),this);if(t.props&&(r.nodeSet=this.nodeSet.extend(...t.props)),t.top){let n=this.topRules[t.top];if(!n)throw new RangeError(`Invalid top rule name ${t.top}`);r.top=n}return t.tokenizers&&(r.tokenizers=this.tokenizers.map(n=>{let i=t.tokenizers.find(a=>a.from==n);return i?i.to:n})),t.specializers&&(r.specializers=this.specializers.slice(),r.specializerSpecs=this.specializerSpecs.map((n,i)=>{let a=t.specializers.find(s=>s.from==n.external);if(!a)return n;let o=Object.assign(Object.assign({},n),{external:a.to});return r.specializers[i]=hK(o),o})),t.contextTracker&&(r.context=t.contextTracker),t.dialect&&(r.dialect=this.parseDialect(t.dialect)),t.strict!=null&&(r.strict=t.strict),t.wrap&&(r.wrappers=r.wrappers.concat(t.wrap)),t.bufferLength!=null&&(r.bufferLength=t.bufferLength),r}hasWrappers(){return this.wrappers.length>0}getName(t){return this.termNames?this.termNames[t]:String(t<=this.maxNode&&this.nodeSet.types[t].name||t)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(t){let r=this.dynamicPrecedences;return r==null?0:r[t]||0}parseDialect(t){let r=Object.keys(this.dialects),n=r.map(()=>!1);if(t)for(let a of t.split(" ")){let o=r.indexOf(a);o>=0&&(n[o]=!0)}let i=null;for(let a=0;a<r.length;a++)if(!n[a])for(let o=this.dialects[r[a]],s;(s=this.data[o++])!=65535;)(i||(i=new Uint8Array(this.maxTerm+1)))[s]=1;return new t7e(t,n,i)}static deserialize(t){return new OS(t)}}function x0(e,t){return e[t]|e[t+1]<<16}function r7e(e){let t=null;for(let r of e){let n=r.p.stoppedAt;(r.pos==r.p.stream.end||n!=null&&r.pos>n)&&r.p.parser.stateFlag(r.state,2)&&(!t||t.score<r.score)&&(t=r)}return t}function hK(e){if(e.external){let t=e.extend?1:0;return(r,n)=>e.external(r,n)<<1|t}return e.get}const n7e=Symbol("Let zodToJsonSchema decide on which parser to use"),pK={name:void 0,$refStrategy:"root",basePath:["#"],effectStrategy:"input",pipeStrategy:"all",dateStrategy:"format:date-time",mapStrategy:"entries",removeAdditionalStrategy:"passthrough",definitionPath:"definitions",target:"jsonSchema7",strictUnions:!1,definitions:{},errorMessages:!1,markdownDescription:!1,patternStrategy:"escape",applyRegexFlags:!1,emailStrategy:"format:email",base64Strategy:"contentEncoding:base64",nameStrategy:"ref"},i7e=e=>typeof e=="string"?{...pK,name:e}:{...pK,...e},a7e=e=>{const t=i7e(e),r=t.name!==void 0?[...t.basePath,t.definitionPath,t.name]:t.basePath;return{...t,currentPath:r,propertyPath:void 0,seen:new Map(Object.entries(t.definitions).map(([n,i])=>[i._def,{def:i._def,path:[...t.basePath,t.definitionPath,n],jsonSchema:void 0}]))}};function ofe(e,t,r,n){n!=null&&n.errorMessages&&r&&(e.errorMessage={...e.errorMessage,[t]:r})}function Ci(e,t,r,n,i){e[t]=r,ofe(e,t,n,i)}function o7e(){return{}}function s7e(e,t){var n,i;const r={type:"array"};return((i=(n=e.type)==null?void 0:n._def)==null?void 0:i.typeName)!==Ft.ZodAny&&(r.items=li(e.type._def,{...t,currentPath:[...t.currentPath,"items"]})),e.minLength&&Ci(r,"minItems",e.minLength.value,e.minLength.message,t),e.maxLength&&Ci(r,"maxItems",e.maxLength.value,e.maxLength.message,t),e.exactLength&&(Ci(r,"minItems",e.exactLength.value,e.exactLength.message,t),Ci(r,"maxItems",e.exactLength.value,e.exactLength.message,t)),r}function u7e(e,t){const r={type:"integer",format:"int64"};if(!e.checks)return r;for(const n of e.checks)switch(n.kind){case"min":t.target==="jsonSchema7"?n.inclusive?Ci(r,"minimum",n.value,n.message,t):Ci(r,"exclusiveMinimum",n.value,n.message,t):(n.inclusive||(r.exclusiveMinimum=!0),Ci(r,"minimum",n.value,n.message,t));break;case"max":t.target==="jsonSchema7"?n.inclusive?Ci(r,"maximum",n.value,n.message,t):Ci(r,"exclusiveMaximum",n.value,n.message,t):(n.inclusive||(r.exclusiveMaximum=!0),Ci(r,"maximum",n.value,n.message,t));break;case"multipleOf":Ci(r,"multipleOf",n.value,n.message,t);break}return r}function l7e(){return{type:"boolean"}}function c7e(e,t){return li(e.type._def,t)}const f7e=(e,t)=>li(e.innerType._def,t);function sfe(e,t,r){const n=r??t.dateStrategy;if(Array.isArray(n))return{anyOf:n.map((i,a)=>sfe(e,t,i))};switch(n){case"string":case"format:date-time":return{type:"string",format:"date-time"};case"format:date":return{type:"string",format:"date"};case"integer":return d7e(e,t)}}const d7e=(e,t)=>{const r={type:"integer",format:"unix-time"};if(t.target==="openApi3")return r;for(const n of e.checks)switch(n.kind){case"min":Ci(r,"minimum",n.value,n.message,t);break;case"max":Ci(r,"maximum",n.value,n.message,t);break}return r};function h7e(e,t){return{...li(e.innerType._def,t),default:e.defaultValue()}}function p7e(e,t){return t.effectStrategy==="input"?li(e.schema._def,t):{}}function m7e(e){return{type:"string",enum:e.values}}const g7e=e=>"type"in e&&e.type==="string"?!1:"allOf"in e;function v7e(e,t){const r=[li(e.left._def,{...t,currentPath:[...t.currentPath,"allOf","0"]}),li(e.right._def,{...t,currentPath:[...t.currentPath,"allOf","1"]})].filter(a=>!!a);let n=t.target==="jsonSchema2019-09"?{unevaluatedProperties:!1}:void 0;const i=[];return r.forEach(a=>{if(g7e(a))i.push(...a.allOf),a.unevaluatedProperties===void 0&&(n=void 0);else{let o=a;if("additionalProperties"in a&&a.additionalProperties===!1){const{additionalProperties:s,...u}=a;o=u}else n=void 0;i.push(o)}}),i.length?{allOf:i,...n}:void 0}function y7e(e,t){const r=typeof e.value;return r!=="bigint"&&r!=="number"&&r!=="boolean"&&r!=="string"?{type:Array.isArray(e.value)?"array":"object"}:t.target==="openApi3"?{type:r==="bigint"?"integer":r,enum:[e.value]}:{type:r==="bigint"?"integer":r,const:e.value}}let TT;const bv={cuid:/^[cC][^\s-]{8,}$/,cuid2:/^[0-9a-z]+$/,ulid:/^[0-9A-HJKMNP-TV-Z]{26}$/,email:/^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-\.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9\-]*\.)+[a-zA-Z]{2,}$/,emoji:()=>(TT===void 0&&(TT=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),TT),base64:/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,nanoid:/^[a-zA-Z0-9_-]{21}$/};function ufe(e,t){const r={type:"string"};function n(i){return t.patternStrategy==="escape"?b7e(i):i}if(e.checks)for(const i of e.checks)switch(i.kind){case"min":Ci(r,"minLength",typeof r.minLength=="number"?Math.max(r.minLength,i.value):i.value,i.message,t);break;case"max":Ci(r,"maxLength",typeof r.maxLength=="number"?Math.min(r.maxLength,i.value):i.value,i.message,t);break;case"email":switch(t.emailStrategy){case"format:email":Qd(r,"email",i.message,t);break;case"format:idn-email":Qd(r,"idn-email",i.message,t);break;case"pattern:zod":Bd(r,bv.email,i.message,t);break}break;case"url":Qd(r,"uri",i.message,t);break;case"uuid":Qd(r,"uuid",i.message,t);break;case"regex":Bd(r,i.regex,i.message,t);break;case"cuid":Bd(r,bv.cuid,i.message,t);break;case"cuid2":Bd(r,bv.cuid2,i.message,t);break;case"startsWith":Bd(r,RegExp(`^${n(i.value)}`),i.message,t);break;case"endsWith":Bd(r,RegExp(`${n(i.value)}$`),i.message,t);break;case"datetime":Qd(r,"date-time",i.message,t);break;case"date":Qd(r,"date",i.message,t);break;case"time":Qd(r,"time",i.message,t);break;case"duration":Qd(r,"duration",i.message,t);break;case"length":Ci(r,"minLength",typeof r.minLength=="number"?Math.max(r.minLength,i.value):i.value,i.message,t),Ci(r,"maxLength",typeof r.maxLength=="number"?Math.min(r.maxLength,i.value):i.value,i.message,t);break;case"includes":{Bd(r,RegExp(n(i.value)),i.message,t);break}case"ip":{i.version!=="v6"&&Qd(r,"ipv4",i.message,t),i.version!=="v4"&&Qd(r,"ipv6",i.message,t);break}case"emoji":Bd(r,bv.emoji,i.message,t);break;case"ulid":{Bd(r,bv.ulid,i.message,t);break}case"base64":{switch(t.base64Strategy){case"format:binary":{Qd(r,"binary",i.message,t);break}case"contentEncoding:base64":{Ci(r,"contentEncoding","base64",i.message,t);break}case"pattern:zod":{Bd(r,bv.base64,i.message,t);break}}break}case"nanoid":Bd(r,bv.nanoid,i.message,t)}return r}const b7e=e=>Array.from(e).map(t=>/[a-zA-Z0-9]/.test(t)?t:`\\${t}`).join(""),Qd=(e,t,r,n)=>{var i;e.format||(i=e.anyOf)!=null&&i.some(a=>a.format)?(e.anyOf||(e.anyOf=[]),e.format&&(e.anyOf.push({format:e.format,...e.errorMessage&&n.errorMessages&&{errorMessage:{format:e.errorMessage.format}}}),delete e.format,e.errorMessage&&(delete e.errorMessage.format,Object.keys(e.errorMessage).length===0&&delete e.errorMessage)),e.anyOf.push({format:t,...r&&n.errorMessages&&{errorMessage:{format:r}}})):Ci(e,"format",t,r,n)},Bd=(e,t,r,n)=>{var i;e.pattern||(i=e.allOf)!=null&&i.some(a=>a.pattern)?(e.allOf||(e.allOf=[]),e.pattern&&(e.allOf.push({pattern:e.pattern,...e.errorMessage&&n.errorMessages&&{errorMessage:{pattern:e.errorMessage.pattern}}}),delete e.pattern,e.errorMessage&&(delete e.errorMessage.pattern,Object.keys(e.errorMessage).length===0&&delete e.errorMessage)),e.allOf.push({pattern:mK(t,n),...r&&n.errorMessages&&{errorMessage:{pattern:r}}})):Ci(e,"pattern",mK(t,n),r,n)},mK=(e,t)=>{var l;const r=typeof e=="function"?e():e;if(!t.applyRegexFlags||!r.flags)return r.source;const n={i:r.flags.includes("i"),m:r.flags.includes("m"),s:r.flags.includes("s")},i=n.i?r.source.toLowerCase():r.source;let a="",o=!1,s=!1,u=!1;for(let c=0;c<i.length;c++){if(o){a+=i[c],o=!1;continue}if(n.i){if(s){if(i[c].match(/[a-z]/)){u?(a+=i[c],a+=`${i[c-2]}-${i[c]}`.toUpperCase(),u=!1):i[c+1]==="-"&&((l=i[c+2])!=null&&l.match(/[a-z]/))?(a+=i[c],u=!0):a+=`${i[c]}${i[c].toUpperCase()}`;continue}}else if(i[c].match(/[a-z]/)){a+=`[${i[c]}${i[c].toUpperCase()}]`;continue}}if(n.m){if(i[c]==="^"){a+=`(^|(?<=[\r
561
+ `).forEach(function(r){var n=r.indexOf(":");if(n>-1){var i=r.slice(0,n).trim().toLowerCase(),a=r.slice(n+1).trim();t[i]=a}}),t}function x8e(e,t){if(e.status>=300){var r=function(){try{return JSON.parse(t)}catch{return t}};g8e(e,r(),"Response not successful: Received status code ".concat(e.status))}try{return JSON.parse(t)}catch(i){var n=i;throw n.name="ServerParseError",n.response=e,n.statusCode=e.status,n.bodyText=t,n}}function _8e(e,t){e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}var S8e=function(e,t){var r;try{r=JSON.stringify(e)}catch(i){var n=n8e(42,t,i.message);throw n.parseError=i,n}return r},w8e={accept:"*/*","content-type":"application/json"},E8e={method:"POST"},HZ={headers:w8e,options:E8e};function $8e(e){var t=Qf(Qf({},HZ.options),{headers:Qf(Qf(Qf({},e||{}),HZ.headers),{accept:"multipart/mixed;boundary=graphql;subscriptionSpec=1.0,application/json"})});return t}var C8e=Kd(function(){return fetch});function bht(e,t){var r=t===void 0?{}:t,n=r.fetch,i=r.headers;return function(o,s){var u={operationName:o.name,variables:s,query:o.text||""},l=$8e(i||{});return XAe.Observable.create(function(c){try{l.body=S8e(u,"Payload")}catch(h){c.error(h)}var f=n||Kd(function(){return fetch})||C8e,d=c.next.bind(c);f(e,l).then(function(h){var g,m=(g=h.headers)===null||g===void 0?void 0:g.get("content-type");if(m!==null&&/^multipart\/mixed/i.test(m))return b8e(h,d);c.error(new Error("Expected multipart response"))}).then(function(){c.complete()}).catch(function(h){_8e(h,c)})})}}var P8e="Invariant failed";function Oht(e,t){if(!e)throw new Error(P8e)}var Jn;(function(e){e.assertEqual=i=>i;function t(i){}e.assertIs=t;function r(i){throw new Error}e.assertNever=r,e.arrayToEnum=i=>{const a={};for(const o of i)a[o]=o;return a},e.getValidEnumValues=i=>{const a=e.objectKeys(i).filter(s=>typeof i[i[s]]!="number"),o={};for(const s of a)o[s]=i[s];return e.objectValues(o)},e.objectValues=i=>e.objectKeys(i).map(function(a){return i[a]}),e.objectKeys=typeof Object.keys=="function"?i=>Object.keys(i):i=>{const a=[];for(const o in i)Object.prototype.hasOwnProperty.call(i,o)&&a.push(o);return a},e.find=(i,a)=>{for(const o of i)if(a(o))return o},e.isInteger=typeof Number.isInteger=="function"?i=>Number.isInteger(i):i=>typeof i=="number"&&isFinite(i)&&Math.floor(i)===i;function n(i,a=" | "){return i.map(o=>typeof o=="string"?`'${o}'`:o).join(a)}e.joinValues=n,e.jsonStringifyReplacer=(i,a)=>typeof a=="bigint"?a.toString():a})(Jn||(Jn={}));var s9;(function(e){e.mergeShapes=(t,r)=>({...t,...r})})(s9||(s9={}));const rr=Jn.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Hm=e=>{switch(typeof e){case"undefined":return rr.undefined;case"string":return rr.string;case"number":return isNaN(e)?rr.nan:rr.number;case"boolean":return rr.boolean;case"function":return rr.function;case"bigint":return rr.bigint;case"symbol":return rr.symbol;case"object":return Array.isArray(e)?rr.array:e===null?rr.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?rr.promise:typeof Map<"u"&&e instanceof Map?rr.map:typeof Set<"u"&&e instanceof Set?rr.set:typeof Date<"u"&&e instanceof Date?rr.date:rr.object;default:return rr.unknown}},Tt=Jn.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),D8e=e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:");class tf extends Error{constructor(t){super(),this.issues=[],this.addIssue=n=>{this.issues=[...this.issues,n]},this.addIssues=(n=[])=>{this.issues=[...this.issues,...n]};const r=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,r):this.__proto__=r,this.name="ZodError",this.issues=t}get errors(){return this.issues}format(t){const r=t||function(a){return a.message},n={_errors:[]},i=a=>{for(const o of a.issues)if(o.code==="invalid_union")o.unionErrors.map(i);else if(o.code==="invalid_return_type")i(o.returnTypeError);else if(o.code==="invalid_arguments")i(o.argumentsError);else if(o.path.length===0)n._errors.push(r(o));else{let s=n,u=0;for(;u<o.path.length;){const l=o.path[u];u===o.path.length-1?(s[l]=s[l]||{_errors:[]},s[l]._errors.push(r(o))):s[l]=s[l]||{_errors:[]},s=s[l],u++}}};return i(this),n}static assert(t){if(!(t instanceof tf))throw new Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,Jn.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=r=>r.message){const r={},n=[];for(const i of this.issues)i.path.length>0?(r[i.path[0]]=r[i.path[0]]||[],r[i.path[0]].push(t(i))):n.push(t(i));return{formErrors:n,fieldErrors:r}}get formErrors(){return this.flatten()}}tf.create=e=>new tf(e);const qb=(e,t)=>{let r;switch(e.code){case Tt.invalid_type:e.received===rr.undefined?r="Required":r=`Expected ${e.expected}, received ${e.received}`;break;case Tt.invalid_literal:r=`Invalid literal value, expected ${JSON.stringify(e.expected,Jn.jsonStringifyReplacer)}`;break;case Tt.unrecognized_keys:r=`Unrecognized key(s) in object: ${Jn.joinValues(e.keys,", ")}`;break;case Tt.invalid_union:r="Invalid input";break;case Tt.invalid_union_discriminator:r=`Invalid discriminator value. Expected ${Jn.joinValues(e.options)}`;break;case Tt.invalid_enum_value:r=`Invalid enum value. Expected ${Jn.joinValues(e.options)}, received '${e.received}'`;break;case Tt.invalid_arguments:r="Invalid function arguments";break;case Tt.invalid_return_type:r="Invalid function return type";break;case Tt.invalid_date:r="Invalid date";break;case Tt.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(r=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(r=`${r} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?r=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?r=`Invalid input: must end with "${e.validation.endsWith}"`:Jn.assertNever(e.validation):e.validation!=="regex"?r=`Invalid ${e.validation}`:r="Invalid";break;case Tt.too_small:e.type==="array"?r=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?r=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?r=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?r=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:r="Invalid input";break;case Tt.too_big:e.type==="array"?r=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?r=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?r=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?r=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?r=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:r="Invalid input";break;case Tt.custom:r="Invalid input";break;case Tt.invalid_intersection_types:r="Intersection results could not be merged";break;case Tt.not_multiple_of:r=`Number must be a multiple of ${e.multipleOf}`;break;case Tt.not_finite:r="Number must be finite";break;default:r=t.defaultError,Jn.assertNever(e)}return{message:r}};let qce=qb;function R8e(e){qce=e}function I2(){return qce}const M2=e=>{const{data:t,path:r,errorMaps:n,issueData:i}=e,a=[...r,...i.path||[]],o={...i,path:a};if(i.message!==void 0)return{...i,path:a,message:i.message};let s="";const u=n.filter(l=>!!l).slice().reverse();for(const l of u)s=l(o,{data:t,defaultError:s}).message;return{...i,path:a,message:s}},k8e=[];function Xt(e,t){const r=I2(),n=M2({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,r,r===qb?void 0:qb].filter(i=>!!i)});e.common.issues.push(n)}class Du{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,r){const n=[];for(const i of r){if(i.status==="aborted")return Wr;i.status==="dirty"&&t.dirty(),n.push(i.value)}return{status:t.value,value:n}}static async mergeObjectAsync(t,r){const n=[];for(const i of r){const a=await i.key,o=await i.value;n.push({key:a,value:o})}return Du.mergeObjectSync(t,n)}static mergeObjectSync(t,r){const n={};for(const i of r){const{key:a,value:o}=i;if(a.status==="aborted"||o.status==="aborted")return Wr;a.status==="dirty"&&t.dirty(),o.status==="dirty"&&t.dirty(),a.value!=="__proto__"&&(typeof o.value<"u"||i.alwaysSet)&&(n[a.value]=o.value)}return{status:t.value,value:n}}}const Wr=Object.freeze({status:"aborted"}),ab=e=>({status:"dirty",value:e}),vl=e=>({status:"valid",value:e}),u9=e=>e.status==="aborted",l9=e=>e.status==="dirty",aS=e=>e.status==="valid",oS=e=>typeof Promise<"u"&&e instanceof Promise;function N2(e,t,r,n){if(typeof t=="function"?e!==t||!0:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return t.get(e)}function Uce(e,t,r,n,i){if(typeof t=="function"?e!==t||!0:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return t.set(e,r),r}var yr;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t==null?void 0:t.message})(yr||(yr={}));var c_,f_;class mp{constructor(t,r,n,i){this._cachedPath=[],this.parent=t,this.data=r,this._path=n,this._key=i}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const YZ=(e,t)=>{if(aS(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const r=new tf(e.common.issues);return this._error=r,this._error}}};function dn(e){if(!e)return{};const{errorMap:t,invalid_type_error:r,required_error:n,description:i}=e;if(t&&(r||n))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:i}:{errorMap:(o,s)=>{var u,l;const{message:c}=e;return o.code==="invalid_enum_value"?{message:c??s.defaultError}:typeof s.data>"u"?{message:(u=c??n)!==null&&u!==void 0?u:s.defaultError}:o.code!=="invalid_type"?{message:s.defaultError}:{message:(l=c??r)!==null&&l!==void 0?l:s.defaultError}},description:i}}class Dn{constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(t){return Hm(t.data)}_getOrReturnCtx(t,r){return r||{common:t.parent.common,data:t.data,parsedType:Hm(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new Du,ctx:{common:t.parent.common,data:t.data,parsedType:Hm(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const r=this._parse(t);if(oS(r))throw new Error("Synchronous parse encountered promise.");return r}_parseAsync(t){const r=this._parse(t);return Promise.resolve(r)}parse(t,r){const n=this.safeParse(t,r);if(n.success)return n.data;throw n.error}safeParse(t,r){var n;const i={common:{issues:[],async:(n=r==null?void 0:r.async)!==null&&n!==void 0?n:!1,contextualErrorMap:r==null?void 0:r.errorMap},path:(r==null?void 0:r.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Hm(t)},a=this._parseSync({data:t,path:i.path,parent:i});return YZ(i,a)}async parseAsync(t,r){const n=await this.safeParseAsync(t,r);if(n.success)return n.data;throw n.error}async safeParseAsync(t,r){const n={common:{issues:[],contextualErrorMap:r==null?void 0:r.errorMap,async:!0},path:(r==null?void 0:r.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Hm(t)},i=this._parse({data:t,path:n.path,parent:n}),a=await(oS(i)?i:Promise.resolve(i));return YZ(n,a)}refine(t,r){const n=i=>typeof r=="string"||typeof r>"u"?{message:r}:typeof r=="function"?r(i):r;return this._refinement((i,a)=>{const o=t(i),s=()=>a.addIssue({code:Tt.custom,...n(i)});return typeof Promise<"u"&&o instanceof Promise?o.then(u=>u?!0:(s(),!1)):o?!0:(s(),!1)})}refinement(t,r){return this._refinement((n,i)=>t(n)?!0:(i.addIssue(typeof r=="function"?r(n,i):r),!1))}_refinement(t){return new ih({schema:this,typeName:Ft.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}optional(){return fp.create(this,this._def)}nullable(){return xg.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Gd.create(this,this._def)}promise(){return Vb.create(this,this._def)}or(t){return cS.create([this,t],this._def)}and(t){return fS.create(this,t,this._def)}transform(t){return new ih({...dn(this._def),schema:this,typeName:Ft.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const r=typeof t=="function"?t:()=>t;return new gS({...dn(this._def),innerType:this,defaultValue:r,typeName:Ft.ZodDefault})}brand(){return new sL({typeName:Ft.ZodBranded,type:this,...dn(this._def)})}catch(t){const r=typeof t=="function"?t:()=>t;return new vS({...dn(this._def),innerType:this,catchValue:r,typeName:Ft.ZodCatch})}describe(t){const r=this.constructor;return new r({...this._def,description:t})}pipe(t){return uw.create(this,t)}readonly(){return yS.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const T8e=/^c[^\s-]{8,}$/i,A8e=/^[0-9a-z]+$/,F8e=/^[0-9A-HJKMNP-TV-Z]{26}$/,I8e=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,M8e=/^[a-z0-9_-]{21}$/i,N8e=/^[-+]?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)?)??$/,L8e=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,z8e="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let $T;const Q8e=/^(?:(?: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])$/,B8e=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,q8e=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,Vce="((\\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])))",U8e=new RegExp(`^${Vce}$`);function jce(e){let t="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\.\\d+)?`),t}function V8e(e){return new RegExp(`^${jce(e)}$`)}function Wce(e){let t=`${Vce}T${jce(e)}`;const r=[];return r.push(e.local?"Z?":"Z"),e.offset&&r.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${r.join("|")})`,new RegExp(`^${t}$`)}function j8e(e,t){return!!((t==="v4"||!t)&&Q8e.test(e)||(t==="v6"||!t)&&B8e.test(e))}class Yd extends Dn{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==rr.string){const a=this._getOrReturnCtx(t);return Xt(a,{code:Tt.invalid_type,expected:rr.string,received:a.parsedType}),Wr}const n=new Du;let i;for(const a of this._def.checks)if(a.kind==="min")t.data.length<a.value&&(i=this._getOrReturnCtx(t,i),Xt(i,{code:Tt.too_small,minimum:a.value,type:"string",inclusive:!0,exact:!1,message:a.message}),n.dirty());else if(a.kind==="max")t.data.length>a.value&&(i=this._getOrReturnCtx(t,i),Xt(i,{code:Tt.too_big,maximum:a.value,type:"string",inclusive:!0,exact:!1,message:a.message}),n.dirty());else if(a.kind==="length"){const o=t.data.length>a.value,s=t.data.length<a.value;(o||s)&&(i=this._getOrReturnCtx(t,i),o?Xt(i,{code:Tt.too_big,maximum:a.value,type:"string",inclusive:!0,exact:!0,message:a.message}):s&&Xt(i,{code:Tt.too_small,minimum:a.value,type:"string",inclusive:!0,exact:!0,message:a.message}),n.dirty())}else if(a.kind==="email")L8e.test(t.data)||(i=this._getOrReturnCtx(t,i),Xt(i,{validation:"email",code:Tt.invalid_string,message:a.message}),n.dirty());else if(a.kind==="emoji")$T||($T=new RegExp(z8e,"u")),$T.test(t.data)||(i=this._getOrReturnCtx(t,i),Xt(i,{validation:"emoji",code:Tt.invalid_string,message:a.message}),n.dirty());else if(a.kind==="uuid")I8e.test(t.data)||(i=this._getOrReturnCtx(t,i),Xt(i,{validation:"uuid",code:Tt.invalid_string,message:a.message}),n.dirty());else if(a.kind==="nanoid")M8e.test(t.data)||(i=this._getOrReturnCtx(t,i),Xt(i,{validation:"nanoid",code:Tt.invalid_string,message:a.message}),n.dirty());else if(a.kind==="cuid")T8e.test(t.data)||(i=this._getOrReturnCtx(t,i),Xt(i,{validation:"cuid",code:Tt.invalid_string,message:a.message}),n.dirty());else if(a.kind==="cuid2")A8e.test(t.data)||(i=this._getOrReturnCtx(t,i),Xt(i,{validation:"cuid2",code:Tt.invalid_string,message:a.message}),n.dirty());else if(a.kind==="ulid")F8e.test(t.data)||(i=this._getOrReturnCtx(t,i),Xt(i,{validation:"ulid",code:Tt.invalid_string,message:a.message}),n.dirty());else if(a.kind==="url")try{new URL(t.data)}catch{i=this._getOrReturnCtx(t,i),Xt(i,{validation:"url",code:Tt.invalid_string,message:a.message}),n.dirty()}else a.kind==="regex"?(a.regex.lastIndex=0,a.regex.test(t.data)||(i=this._getOrReturnCtx(t,i),Xt(i,{validation:"regex",code:Tt.invalid_string,message:a.message}),n.dirty())):a.kind==="trim"?t.data=t.data.trim():a.kind==="includes"?t.data.includes(a.value,a.position)||(i=this._getOrReturnCtx(t,i),Xt(i,{code:Tt.invalid_string,validation:{includes:a.value,position:a.position},message:a.message}),n.dirty()):a.kind==="toLowerCase"?t.data=t.data.toLowerCase():a.kind==="toUpperCase"?t.data=t.data.toUpperCase():a.kind==="startsWith"?t.data.startsWith(a.value)||(i=this._getOrReturnCtx(t,i),Xt(i,{code:Tt.invalid_string,validation:{startsWith:a.value},message:a.message}),n.dirty()):a.kind==="endsWith"?t.data.endsWith(a.value)||(i=this._getOrReturnCtx(t,i),Xt(i,{code:Tt.invalid_string,validation:{endsWith:a.value},message:a.message}),n.dirty()):a.kind==="datetime"?Wce(a).test(t.data)||(i=this._getOrReturnCtx(t,i),Xt(i,{code:Tt.invalid_string,validation:"datetime",message:a.message}),n.dirty()):a.kind==="date"?U8e.test(t.data)||(i=this._getOrReturnCtx(t,i),Xt(i,{code:Tt.invalid_string,validation:"date",message:a.message}),n.dirty()):a.kind==="time"?V8e(a).test(t.data)||(i=this._getOrReturnCtx(t,i),Xt(i,{code:Tt.invalid_string,validation:"time",message:a.message}),n.dirty()):a.kind==="duration"?N8e.test(t.data)||(i=this._getOrReturnCtx(t,i),Xt(i,{validation:"duration",code:Tt.invalid_string,message:a.message}),n.dirty()):a.kind==="ip"?j8e(t.data,a.version)||(i=this._getOrReturnCtx(t,i),Xt(i,{validation:"ip",code:Tt.invalid_string,message:a.message}),n.dirty()):a.kind==="base64"?q8e.test(t.data)||(i=this._getOrReturnCtx(t,i),Xt(i,{validation:"base64",code:Tt.invalid_string,message:a.message}),n.dirty()):Jn.assertNever(a);return{status:n.value,value:t.data}}_regex(t,r,n){return this.refinement(i=>t.test(i),{validation:r,code:Tt.invalid_string,...yr.errToObj(n)})}_addCheck(t){return new Yd({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...yr.errToObj(t)})}url(t){return this._addCheck({kind:"url",...yr.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...yr.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...yr.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...yr.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...yr.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...yr.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...yr.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...yr.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...yr.errToObj(t)})}datetime(t){var r,n;return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,offset:(r=t==null?void 0:t.offset)!==null&&r!==void 0?r:!1,local:(n=t==null?void 0:t.local)!==null&&n!==void 0?n:!1,...yr.errToObj(t==null?void 0:t.message)})}date(t){return this._addCheck({kind:"date",message:t})}time(t){return typeof t=="string"?this._addCheck({kind:"time",precision:null,message:t}):this._addCheck({kind:"time",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,...yr.errToObj(t==null?void 0:t.message)})}duration(t){return this._addCheck({kind:"duration",...yr.errToObj(t)})}regex(t,r){return this._addCheck({kind:"regex",regex:t,...yr.errToObj(r)})}includes(t,r){return this._addCheck({kind:"includes",value:t,position:r==null?void 0:r.position,...yr.errToObj(r==null?void 0:r.message)})}startsWith(t,r){return this._addCheck({kind:"startsWith",value:t,...yr.errToObj(r)})}endsWith(t,r){return this._addCheck({kind:"endsWith",value:t,...yr.errToObj(r)})}min(t,r){return this._addCheck({kind:"min",value:t,...yr.errToObj(r)})}max(t,r){return this._addCheck({kind:"max",value:t,...yr.errToObj(r)})}length(t,r){return this._addCheck({kind:"length",value:t,...yr.errToObj(r)})}nonempty(t){return this.min(1,yr.errToObj(t))}trim(){return new Yd({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Yd({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Yd({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}get isDate(){return!!this._def.checks.find(t=>t.kind==="date")}get isTime(){return!!this._def.checks.find(t=>t.kind==="time")}get isDuration(){return!!this._def.checks.find(t=>t.kind==="duration")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(t=>t.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get isBase64(){return!!this._def.checks.find(t=>t.kind==="base64")}get minLength(){let t=null;for(const r of this._def.checks)r.kind==="min"&&(t===null||r.value>t)&&(t=r.value);return t}get maxLength(){let t=null;for(const r of this._def.checks)r.kind==="max"&&(t===null||r.value<t)&&(t=r.value);return t}}Yd.create=e=>{var t;return new Yd({checks:[],typeName:Ft.ZodString,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0?t:!1,...dn(e)})};function W8e(e,t){const r=(e.toString().split(".")[1]||"").length,n=(t.toString().split(".")[1]||"").length,i=r>n?r:n,a=parseInt(e.toFixed(i).replace(".","")),o=parseInt(t.toFixed(i).replace(".",""));return a%o/Math.pow(10,i)}class yg extends Dn{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==rr.number){const a=this._getOrReturnCtx(t);return Xt(a,{code:Tt.invalid_type,expected:rr.number,received:a.parsedType}),Wr}let n;const i=new Du;for(const a of this._def.checks)a.kind==="int"?Jn.isInteger(t.data)||(n=this._getOrReturnCtx(t,n),Xt(n,{code:Tt.invalid_type,expected:"integer",received:"float",message:a.message}),i.dirty()):a.kind==="min"?(a.inclusive?t.data<a.value:t.data<=a.value)&&(n=this._getOrReturnCtx(t,n),Xt(n,{code:Tt.too_small,minimum:a.value,type:"number",inclusive:a.inclusive,exact:!1,message:a.message}),i.dirty()):a.kind==="max"?(a.inclusive?t.data>a.value:t.data>=a.value)&&(n=this._getOrReturnCtx(t,n),Xt(n,{code:Tt.too_big,maximum:a.value,type:"number",inclusive:a.inclusive,exact:!1,message:a.message}),i.dirty()):a.kind==="multipleOf"?W8e(t.data,a.value)!==0&&(n=this._getOrReturnCtx(t,n),Xt(n,{code:Tt.not_multiple_of,multipleOf:a.value,message:a.message}),i.dirty()):a.kind==="finite"?Number.isFinite(t.data)||(n=this._getOrReturnCtx(t,n),Xt(n,{code:Tt.not_finite,message:a.message}),i.dirty()):Jn.assertNever(a);return{status:i.value,value:t.data}}gte(t,r){return this.setLimit("min",t,!0,yr.toString(r))}gt(t,r){return this.setLimit("min",t,!1,yr.toString(r))}lte(t,r){return this.setLimit("max",t,!0,yr.toString(r))}lt(t,r){return this.setLimit("max",t,!1,yr.toString(r))}setLimit(t,r,n,i){return new yg({...this._def,checks:[...this._def.checks,{kind:t,value:r,inclusive:n,message:yr.toString(i)}]})}_addCheck(t){return new yg({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:yr.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:yr.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:yr.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:yr.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:yr.toString(t)})}multipleOf(t,r){return this._addCheck({kind:"multipleOf",value:t,message:yr.toString(r)})}finite(t){return this._addCheck({kind:"finite",message:yr.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:yr.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:yr.toString(t)})}get minValue(){let t=null;for(const r of this._def.checks)r.kind==="min"&&(t===null||r.value>t)&&(t=r.value);return t}get maxValue(){let t=null;for(const r of this._def.checks)r.kind==="max"&&(t===null||r.value<t)&&(t=r.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind==="int"||t.kind==="multipleOf"&&Jn.isInteger(t.value))}get isFinite(){let t=null,r=null;for(const n of this._def.checks){if(n.kind==="finite"||n.kind==="int"||n.kind==="multipleOf")return!0;n.kind==="min"?(r===null||n.value>r)&&(r=n.value):n.kind==="max"&&(t===null||n.value<t)&&(t=n.value)}return Number.isFinite(r)&&Number.isFinite(t)}}yg.create=e=>new yg({checks:[],typeName:Ft.ZodNumber,coerce:(e==null?void 0:e.coerce)||!1,...dn(e)});class bg extends Dn{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce&&(t.data=BigInt(t.data)),this._getType(t)!==rr.bigint){const a=this._getOrReturnCtx(t);return Xt(a,{code:Tt.invalid_type,expected:rr.bigint,received:a.parsedType}),Wr}let n;const i=new Du;for(const a of this._def.checks)a.kind==="min"?(a.inclusive?t.data<a.value:t.data<=a.value)&&(n=this._getOrReturnCtx(t,n),Xt(n,{code:Tt.too_small,type:"bigint",minimum:a.value,inclusive:a.inclusive,message:a.message}),i.dirty()):a.kind==="max"?(a.inclusive?t.data>a.value:t.data>=a.value)&&(n=this._getOrReturnCtx(t,n),Xt(n,{code:Tt.too_big,type:"bigint",maximum:a.value,inclusive:a.inclusive,message:a.message}),i.dirty()):a.kind==="multipleOf"?t.data%a.value!==BigInt(0)&&(n=this._getOrReturnCtx(t,n),Xt(n,{code:Tt.not_multiple_of,multipleOf:a.value,message:a.message}),i.dirty()):Jn.assertNever(a);return{status:i.value,value:t.data}}gte(t,r){return this.setLimit("min",t,!0,yr.toString(r))}gt(t,r){return this.setLimit("min",t,!1,yr.toString(r))}lte(t,r){return this.setLimit("max",t,!0,yr.toString(r))}lt(t,r){return this.setLimit("max",t,!1,yr.toString(r))}setLimit(t,r,n,i){return new bg({...this._def,checks:[...this._def.checks,{kind:t,value:r,inclusive:n,message:yr.toString(i)}]})}_addCheck(t){return new bg({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:yr.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:yr.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:yr.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:yr.toString(t)})}multipleOf(t,r){return this._addCheck({kind:"multipleOf",value:t,message:yr.toString(r)})}get minValue(){let t=null;for(const r of this._def.checks)r.kind==="min"&&(t===null||r.value>t)&&(t=r.value);return t}get maxValue(){let t=null;for(const r of this._def.checks)r.kind==="max"&&(t===null||r.value<t)&&(t=r.value);return t}}bg.create=e=>{var t;return new bg({checks:[],typeName:Ft.ZodBigInt,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0?t:!1,...dn(e)})};class sS extends Dn{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==rr.boolean){const n=this._getOrReturnCtx(t);return Xt(n,{code:Tt.invalid_type,expected:rr.boolean,received:n.parsedType}),Wr}return vl(t.data)}}sS.create=e=>new sS({typeName:Ft.ZodBoolean,coerce:(e==null?void 0:e.coerce)||!1,...dn(e)});class Oy extends Dn{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==rr.date){const a=this._getOrReturnCtx(t);return Xt(a,{code:Tt.invalid_type,expected:rr.date,received:a.parsedType}),Wr}if(isNaN(t.data.getTime())){const a=this._getOrReturnCtx(t);return Xt(a,{code:Tt.invalid_date}),Wr}const n=new Du;let i;for(const a of this._def.checks)a.kind==="min"?t.data.getTime()<a.value&&(i=this._getOrReturnCtx(t,i),Xt(i,{code:Tt.too_small,message:a.message,inclusive:!0,exact:!1,minimum:a.value,type:"date"}),n.dirty()):a.kind==="max"?t.data.getTime()>a.value&&(i=this._getOrReturnCtx(t,i),Xt(i,{code:Tt.too_big,message:a.message,inclusive:!0,exact:!1,maximum:a.value,type:"date"}),n.dirty()):Jn.assertNever(a);return{status:n.value,value:new Date(t.data.getTime())}}_addCheck(t){return new Oy({...this._def,checks:[...this._def.checks,t]})}min(t,r){return this._addCheck({kind:"min",value:t.getTime(),message:yr.toString(r)})}max(t,r){return this._addCheck({kind:"max",value:t.getTime(),message:yr.toString(r)})}get minDate(){let t=null;for(const r of this._def.checks)r.kind==="min"&&(t===null||r.value>t)&&(t=r.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const r of this._def.checks)r.kind==="max"&&(t===null||r.value<t)&&(t=r.value);return t!=null?new Date(t):null}}Oy.create=e=>new Oy({checks:[],coerce:(e==null?void 0:e.coerce)||!1,typeName:Ft.ZodDate,...dn(e)});class L2 extends Dn{_parse(t){if(this._getType(t)!==rr.symbol){const n=this._getOrReturnCtx(t);return Xt(n,{code:Tt.invalid_type,expected:rr.symbol,received:n.parsedType}),Wr}return vl(t.data)}}L2.create=e=>new L2({typeName:Ft.ZodSymbol,...dn(e)});class uS extends Dn{_parse(t){if(this._getType(t)!==rr.undefined){const n=this._getOrReturnCtx(t);return Xt(n,{code:Tt.invalid_type,expected:rr.undefined,received:n.parsedType}),Wr}return vl(t.data)}}uS.create=e=>new uS({typeName:Ft.ZodUndefined,...dn(e)});class lS extends Dn{_parse(t){if(this._getType(t)!==rr.null){const n=this._getOrReturnCtx(t);return Xt(n,{code:Tt.invalid_type,expected:rr.null,received:n.parsedType}),Wr}return vl(t.data)}}lS.create=e=>new lS({typeName:Ft.ZodNull,...dn(e)});class Ub extends Dn{constructor(){super(...arguments),this._any=!0}_parse(t){return vl(t.data)}}Ub.create=e=>new Ub({typeName:Ft.ZodAny,...dn(e)});class ay extends Dn{constructor(){super(...arguments),this._unknown=!0}_parse(t){return vl(t.data)}}ay.create=e=>new ay({typeName:Ft.ZodUnknown,...dn(e)});class B0 extends Dn{_parse(t){const r=this._getOrReturnCtx(t);return Xt(r,{code:Tt.invalid_type,expected:rr.never,received:r.parsedType}),Wr}}B0.create=e=>new B0({typeName:Ft.ZodNever,...dn(e)});class z2 extends Dn{_parse(t){if(this._getType(t)!==rr.undefined){const n=this._getOrReturnCtx(t);return Xt(n,{code:Tt.invalid_type,expected:rr.void,received:n.parsedType}),Wr}return vl(t.data)}}z2.create=e=>new z2({typeName:Ft.ZodVoid,...dn(e)});class Gd extends Dn{_parse(t){const{ctx:r,status:n}=this._processInputParams(t),i=this._def;if(r.parsedType!==rr.array)return Xt(r,{code:Tt.invalid_type,expected:rr.array,received:r.parsedType}),Wr;if(i.exactLength!==null){const o=r.data.length>i.exactLength.value,s=r.data.length<i.exactLength.value;(o||s)&&(Xt(r,{code:o?Tt.too_big:Tt.too_small,minimum:s?i.exactLength.value:void 0,maximum:o?i.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:i.exactLength.message}),n.dirty())}if(i.minLength!==null&&r.data.length<i.minLength.value&&(Xt(r,{code:Tt.too_small,minimum:i.minLength.value,type:"array",inclusive:!0,exact:!1,message:i.minLength.message}),n.dirty()),i.maxLength!==null&&r.data.length>i.maxLength.value&&(Xt(r,{code:Tt.too_big,maximum:i.maxLength.value,type:"array",inclusive:!0,exact:!1,message:i.maxLength.message}),n.dirty()),r.common.async)return Promise.all([...r.data].map((o,s)=>i.type._parseAsync(new mp(r,o,r.path,s)))).then(o=>Du.mergeArray(n,o));const a=[...r.data].map((o,s)=>i.type._parseSync(new mp(r,o,r.path,s)));return Du.mergeArray(n,a)}get element(){return this._def.type}min(t,r){return new Gd({...this._def,minLength:{value:t,message:yr.toString(r)}})}max(t,r){return new Gd({...this._def,maxLength:{value:t,message:yr.toString(r)}})}length(t,r){return new Gd({...this._def,exactLength:{value:t,message:yr.toString(r)}})}nonempty(t){return this.min(1,t)}}Gd.create=(e,t)=>new Gd({type:e,minLength:null,maxLength:null,exactLength:null,typeName:Ft.ZodArray,...dn(t)});function W1(e){if(e instanceof ka){const t={};for(const r in e.shape){const n=e.shape[r];t[r]=fp.create(W1(n))}return new ka({...e._def,shape:()=>t})}else return e instanceof Gd?new Gd({...e._def,type:W1(e.element)}):e instanceof fp?fp.create(W1(e.unwrap())):e instanceof xg?xg.create(W1(e.unwrap())):e instanceof gp?gp.create(e.items.map(t=>W1(t))):e}class ka extends Dn{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),r=Jn.objectKeys(t);return this._cached={shape:t,keys:r}}_parse(t){if(this._getType(t)!==rr.object){const l=this._getOrReturnCtx(t);return Xt(l,{code:Tt.invalid_type,expected:rr.object,received:l.parsedType}),Wr}const{status:n,ctx:i}=this._processInputParams(t),{shape:a,keys:o}=this._getCached(),s=[];if(!(this._def.catchall instanceof B0&&this._def.unknownKeys==="strip"))for(const l in i.data)o.includes(l)||s.push(l);const u=[];for(const l of o){const c=a[l],f=i.data[l];u.push({key:{status:"valid",value:l},value:c._parse(new mp(i,f,i.path,l)),alwaysSet:l in i.data})}if(this._def.catchall instanceof B0){const l=this._def.unknownKeys;if(l==="passthrough")for(const c of s)u.push({key:{status:"valid",value:c},value:{status:"valid",value:i.data[c]}});else if(l==="strict")s.length>0&&(Xt(i,{code:Tt.unrecognized_keys,keys:s}),n.dirty());else if(l!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const l=this._def.catchall;for(const c of s){const f=i.data[c];u.push({key:{status:"valid",value:c},value:l._parse(new mp(i,f,i.path,c)),alwaysSet:c in i.data})}}return i.common.async?Promise.resolve().then(async()=>{const l=[];for(const c of u){const f=await c.key,d=await c.value;l.push({key:f,value:d,alwaysSet:c.alwaysSet})}return l}).then(l=>Du.mergeObjectSync(n,l)):Du.mergeObjectSync(n,u)}get shape(){return this._def.shape()}strict(t){return yr.errToObj,new ka({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(r,n)=>{var i,a,o,s;const u=(o=(a=(i=this._def).errorMap)===null||a===void 0?void 0:a.call(i,r,n).message)!==null&&o!==void 0?o:n.defaultError;return r.code==="unrecognized_keys"?{message:(s=yr.errToObj(t).message)!==null&&s!==void 0?s:u}:{message:u}}}:{}})}strip(){return new ka({...this._def,unknownKeys:"strip"})}passthrough(){return new ka({...this._def,unknownKeys:"passthrough"})}extend(t){return new ka({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new ka({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:Ft.ZodObject})}setKey(t,r){return this.augment({[t]:r})}catchall(t){return new ka({...this._def,catchall:t})}pick(t){const r={};return Jn.objectKeys(t).forEach(n=>{t[n]&&this.shape[n]&&(r[n]=this.shape[n])}),new ka({...this._def,shape:()=>r})}omit(t){const r={};return Jn.objectKeys(this.shape).forEach(n=>{t[n]||(r[n]=this.shape[n])}),new ka({...this._def,shape:()=>r})}deepPartial(){return W1(this)}partial(t){const r={};return Jn.objectKeys(this.shape).forEach(n=>{const i=this.shape[n];t&&!t[n]?r[n]=i:r[n]=i.optional()}),new ka({...this._def,shape:()=>r})}required(t){const r={};return Jn.objectKeys(this.shape).forEach(n=>{if(t&&!t[n])r[n]=this.shape[n];else{let a=this.shape[n];for(;a instanceof fp;)a=a._def.innerType;r[n]=a}}),new ka({...this._def,shape:()=>r})}keyof(){return Zce(Jn.objectKeys(this.shape))}}ka.create=(e,t)=>new ka({shape:()=>e,unknownKeys:"strip",catchall:B0.create(),typeName:Ft.ZodObject,...dn(t)});ka.strictCreate=(e,t)=>new ka({shape:()=>e,unknownKeys:"strict",catchall:B0.create(),typeName:Ft.ZodObject,...dn(t)});ka.lazycreate=(e,t)=>new ka({shape:e,unknownKeys:"strip",catchall:B0.create(),typeName:Ft.ZodObject,...dn(t)});class cS extends Dn{_parse(t){const{ctx:r}=this._processInputParams(t),n=this._def.options;function i(a){for(const s of a)if(s.result.status==="valid")return s.result;for(const s of a)if(s.result.status==="dirty")return r.common.issues.push(...s.ctx.common.issues),s.result;const o=a.map(s=>new tf(s.ctx.common.issues));return Xt(r,{code:Tt.invalid_union,unionErrors:o}),Wr}if(r.common.async)return Promise.all(n.map(async a=>{const o={...r,common:{...r.common,issues:[]},parent:null};return{result:await a._parseAsync({data:r.data,path:r.path,parent:o}),ctx:o}})).then(i);{let a;const o=[];for(const u of n){const l={...r,common:{...r.common,issues:[]},parent:null},c=u._parseSync({data:r.data,path:r.path,parent:l});if(c.status==="valid")return c;c.status==="dirty"&&!a&&(a={result:c,ctx:l}),l.common.issues.length&&o.push(l.common.issues)}if(a)return r.common.issues.push(...a.ctx.common.issues),a.result;const s=o.map(u=>new tf(u));return Xt(r,{code:Tt.invalid_union,unionErrors:s}),Wr}}get options(){return this._def.options}}cS.create=(e,t)=>new cS({options:e,typeName:Ft.ZodUnion,...dn(t)});const c0=e=>e instanceof hS?c0(e.schema):e instanceof ih?c0(e.innerType()):e instanceof pS?[e.value]:e instanceof Og?e.options:e instanceof mS?Jn.objectValues(e.enum):e instanceof gS?c0(e._def.innerType):e instanceof uS?[void 0]:e instanceof lS?[null]:e instanceof fp?[void 0,...c0(e.unwrap())]:e instanceof xg?[null,...c0(e.unwrap())]:e instanceof sL||e instanceof yS?c0(e.unwrap()):e instanceof vS?c0(e._def.innerType):[];class q$ extends Dn{_parse(t){const{ctx:r}=this._processInputParams(t);if(r.parsedType!==rr.object)return Xt(r,{code:Tt.invalid_type,expected:rr.object,received:r.parsedType}),Wr;const n=this.discriminator,i=r.data[n],a=this.optionsMap.get(i);return a?r.common.async?a._parseAsync({data:r.data,path:r.path,parent:r}):a._parseSync({data:r.data,path:r.path,parent:r}):(Xt(r,{code:Tt.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),Wr)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(t,r,n){const i=new Map;for(const a of r){const o=c0(a.shape[t]);if(!o.length)throw new Error(`A discriminator value for key \`${t}\` could not be extracted from all schema options`);for(const s of o){if(i.has(s))throw new Error(`Discriminator property ${String(t)} has duplicate value ${String(s)}`);i.set(s,a)}}return new q$({typeName:Ft.ZodDiscriminatedUnion,discriminator:t,options:r,optionsMap:i,...dn(n)})}}function c9(e,t){const r=Hm(e),n=Hm(t);if(e===t)return{valid:!0,data:e};if(r===rr.object&&n===rr.object){const i=Jn.objectKeys(t),a=Jn.objectKeys(e).filter(s=>i.indexOf(s)!==-1),o={...e,...t};for(const s of a){const u=c9(e[s],t[s]);if(!u.valid)return{valid:!1};o[s]=u.data}return{valid:!0,data:o}}else if(r===rr.array&&n===rr.array){if(e.length!==t.length)return{valid:!1};const i=[];for(let a=0;a<e.length;a++){const o=e[a],s=t[a],u=c9(o,s);if(!u.valid)return{valid:!1};i.push(u.data)}return{valid:!0,data:i}}else return r===rr.date&&n===rr.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}class fS extends Dn{_parse(t){const{status:r,ctx:n}=this._processInputParams(t),i=(a,o)=>{if(u9(a)||u9(o))return Wr;const s=c9(a.value,o.value);return s.valid?((l9(a)||l9(o))&&r.dirty(),{status:r.value,value:s.data}):(Xt(n,{code:Tt.invalid_intersection_types}),Wr)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([a,o])=>i(a,o)):i(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}}fS.create=(e,t,r)=>new fS({left:e,right:t,typeName:Ft.ZodIntersection,...dn(r)});class gp extends Dn{_parse(t){const{status:r,ctx:n}=this._processInputParams(t);if(n.parsedType!==rr.array)return Xt(n,{code:Tt.invalid_type,expected:rr.array,received:n.parsedType}),Wr;if(n.data.length<this._def.items.length)return Xt(n,{code:Tt.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),Wr;!this._def.rest&&n.data.length>this._def.items.length&&(Xt(n,{code:Tt.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),r.dirty());const a=[...n.data].map((o,s)=>{const u=this._def.items[s]||this._def.rest;return u?u._parse(new mp(n,o,n.path,s)):null}).filter(o=>!!o);return n.common.async?Promise.all(a).then(o=>Du.mergeArray(r,o)):Du.mergeArray(r,a)}get items(){return this._def.items}rest(t){return new gp({...this._def,rest:t})}}gp.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new gp({items:e,typeName:Ft.ZodTuple,rest:null,...dn(t)})};class dS extends Dn{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:r,ctx:n}=this._processInputParams(t);if(n.parsedType!==rr.object)return Xt(n,{code:Tt.invalid_type,expected:rr.object,received:n.parsedType}),Wr;const i=[],a=this._def.keyType,o=this._def.valueType;for(const s in n.data)i.push({key:a._parse(new mp(n,s,n.path,s)),value:o._parse(new mp(n,n.data[s],n.path,s)),alwaysSet:s in n.data});return n.common.async?Du.mergeObjectAsync(r,i):Du.mergeObjectSync(r,i)}get element(){return this._def.valueType}static create(t,r,n){return r instanceof Dn?new dS({keyType:t,valueType:r,typeName:Ft.ZodRecord,...dn(n)}):new dS({keyType:Yd.create(),valueType:t,typeName:Ft.ZodRecord,...dn(r)})}}class Q2 extends Dn{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:r,ctx:n}=this._processInputParams(t);if(n.parsedType!==rr.map)return Xt(n,{code:Tt.invalid_type,expected:rr.map,received:n.parsedType}),Wr;const i=this._def.keyType,a=this._def.valueType,o=[...n.data.entries()].map(([s,u],l)=>({key:i._parse(new mp(n,s,n.path,[l,"key"])),value:a._parse(new mp(n,u,n.path,[l,"value"]))}));if(n.common.async){const s=new Map;return Promise.resolve().then(async()=>{for(const u of o){const l=await u.key,c=await u.value;if(l.status==="aborted"||c.status==="aborted")return Wr;(l.status==="dirty"||c.status==="dirty")&&r.dirty(),s.set(l.value,c.value)}return{status:r.value,value:s}})}else{const s=new Map;for(const u of o){const l=u.key,c=u.value;if(l.status==="aborted"||c.status==="aborted")return Wr;(l.status==="dirty"||c.status==="dirty")&&r.dirty(),s.set(l.value,c.value)}return{status:r.value,value:s}}}}Q2.create=(e,t,r)=>new Q2({valueType:t,keyType:e,typeName:Ft.ZodMap,...dn(r)});class xy extends Dn{_parse(t){const{status:r,ctx:n}=this._processInputParams(t);if(n.parsedType!==rr.set)return Xt(n,{code:Tt.invalid_type,expected:rr.set,received:n.parsedType}),Wr;const i=this._def;i.minSize!==null&&n.data.size<i.minSize.value&&(Xt(n,{code:Tt.too_small,minimum:i.minSize.value,type:"set",inclusive:!0,exact:!1,message:i.minSize.message}),r.dirty()),i.maxSize!==null&&n.data.size>i.maxSize.value&&(Xt(n,{code:Tt.too_big,maximum:i.maxSize.value,type:"set",inclusive:!0,exact:!1,message:i.maxSize.message}),r.dirty());const a=this._def.valueType;function o(u){const l=new Set;for(const c of u){if(c.status==="aborted")return Wr;c.status==="dirty"&&r.dirty(),l.add(c.value)}return{status:r.value,value:l}}const s=[...n.data.values()].map((u,l)=>a._parse(new mp(n,u,n.path,l)));return n.common.async?Promise.all(s).then(u=>o(u)):o(s)}min(t,r){return new xy({...this._def,minSize:{value:t,message:yr.toString(r)}})}max(t,r){return new xy({...this._def,maxSize:{value:t,message:yr.toString(r)}})}size(t,r){return this.min(t,r).max(t,r)}nonempty(t){return this.min(1,t)}}xy.create=(e,t)=>new xy({valueType:e,minSize:null,maxSize:null,typeName:Ft.ZodSet,...dn(t)});class _b extends Dn{constructor(){super(...arguments),this.validate=this.implement}_parse(t){const{ctx:r}=this._processInputParams(t);if(r.parsedType!==rr.function)return Xt(r,{code:Tt.invalid_type,expected:rr.function,received:r.parsedType}),Wr;function n(s,u){return M2({data:s,path:r.path,errorMaps:[r.common.contextualErrorMap,r.schemaErrorMap,I2(),qb].filter(l=>!!l),issueData:{code:Tt.invalid_arguments,argumentsError:u}})}function i(s,u){return M2({data:s,path:r.path,errorMaps:[r.common.contextualErrorMap,r.schemaErrorMap,I2(),qb].filter(l=>!!l),issueData:{code:Tt.invalid_return_type,returnTypeError:u}})}const a={errorMap:r.common.contextualErrorMap},o=r.data;if(this._def.returns instanceof Vb){const s=this;return vl(async function(...u){const l=new tf([]),c=await s._def.args.parseAsync(u,a).catch(h=>{throw l.addIssue(n(u,h)),l}),f=await Reflect.apply(o,this,c);return await s._def.returns._def.type.parseAsync(f,a).catch(h=>{throw l.addIssue(i(f,h)),l})})}else{const s=this;return vl(function(...u){const l=s._def.args.safeParse(u,a);if(!l.success)throw new tf([n(u,l.error)]);const c=Reflect.apply(o,this,l.data),f=s._def.returns.safeParse(c,a);if(!f.success)throw new tf([i(c,f.error)]);return f.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...t){return new _b({...this._def,args:gp.create(t).rest(ay.create())})}returns(t){return new _b({...this._def,returns:t})}implement(t){return this.parse(t)}strictImplement(t){return this.parse(t)}static create(t,r,n){return new _b({args:t||gp.create([]).rest(ay.create()),returns:r||ay.create(),typeName:Ft.ZodFunction,...dn(n)})}}class hS extends Dn{get schema(){return this._def.getter()}_parse(t){const{ctx:r}=this._processInputParams(t);return this._def.getter()._parse({data:r.data,path:r.path,parent:r})}}hS.create=(e,t)=>new hS({getter:e,typeName:Ft.ZodLazy,...dn(t)});class pS extends Dn{_parse(t){if(t.data!==this._def.value){const r=this._getOrReturnCtx(t);return Xt(r,{received:r.data,code:Tt.invalid_literal,expected:this._def.value}),Wr}return{status:"valid",value:t.data}}get value(){return this._def.value}}pS.create=(e,t)=>new pS({value:e,typeName:Ft.ZodLiteral,...dn(t)});function Zce(e,t){return new Og({values:e,typeName:Ft.ZodEnum,...dn(t)})}class Og extends Dn{constructor(){super(...arguments),c_.set(this,void 0)}_parse(t){if(typeof t.data!="string"){const r=this._getOrReturnCtx(t),n=this._def.values;return Xt(r,{expected:Jn.joinValues(n),received:r.parsedType,code:Tt.invalid_type}),Wr}if(N2(this,c_)||Uce(this,c_,new Set(this._def.values)),!N2(this,c_).has(t.data)){const r=this._getOrReturnCtx(t),n=this._def.values;return Xt(r,{received:r.data,code:Tt.invalid_enum_value,options:n}),Wr}return vl(t.data)}get options(){return this._def.values}get enum(){const t={};for(const r of this._def.values)t[r]=r;return t}get Values(){const t={};for(const r of this._def.values)t[r]=r;return t}get Enum(){const t={};for(const r of this._def.values)t[r]=r;return t}extract(t,r=this._def){return Og.create(t,{...this._def,...r})}exclude(t,r=this._def){return Og.create(this.options.filter(n=>!t.includes(n)),{...this._def,...r})}}c_=new WeakMap;Og.create=Zce;class mS extends Dn{constructor(){super(...arguments),f_.set(this,void 0)}_parse(t){const r=Jn.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(t);if(n.parsedType!==rr.string&&n.parsedType!==rr.number){const i=Jn.objectValues(r);return Xt(n,{expected:Jn.joinValues(i),received:n.parsedType,code:Tt.invalid_type}),Wr}if(N2(this,f_)||Uce(this,f_,new Set(Jn.getValidEnumValues(this._def.values))),!N2(this,f_).has(t.data)){const i=Jn.objectValues(r);return Xt(n,{received:n.data,code:Tt.invalid_enum_value,options:i}),Wr}return vl(t.data)}get enum(){return this._def.values}}f_=new WeakMap;mS.create=(e,t)=>new mS({values:e,typeName:Ft.ZodNativeEnum,...dn(t)});class Vb extends Dn{unwrap(){return this._def.type}_parse(t){const{ctx:r}=this._processInputParams(t);if(r.parsedType!==rr.promise&&r.common.async===!1)return Xt(r,{code:Tt.invalid_type,expected:rr.promise,received:r.parsedType}),Wr;const n=r.parsedType===rr.promise?r.data:Promise.resolve(r.data);return vl(n.then(i=>this._def.type.parseAsync(i,{path:r.path,errorMap:r.common.contextualErrorMap})))}}Vb.create=(e,t)=>new Vb({type:e,typeName:Ft.ZodPromise,...dn(t)});class ih extends Dn{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===Ft.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:r,ctx:n}=this._processInputParams(t),i=this._def.effect||null,a={addIssue:o=>{Xt(n,o),o.fatal?r.abort():r.dirty()},get path(){return n.path}};if(a.addIssue=a.addIssue.bind(a),i.type==="preprocess"){const o=i.transform(n.data,a);if(n.common.async)return Promise.resolve(o).then(async s=>{if(r.value==="aborted")return Wr;const u=await this._def.schema._parseAsync({data:s,path:n.path,parent:n});return u.status==="aborted"?Wr:u.status==="dirty"||r.value==="dirty"?ab(u.value):u});{if(r.value==="aborted")return Wr;const s=this._def.schema._parseSync({data:o,path:n.path,parent:n});return s.status==="aborted"?Wr:s.status==="dirty"||r.value==="dirty"?ab(s.value):s}}if(i.type==="refinement"){const o=s=>{const u=i.refinement(s,a);if(n.common.async)return Promise.resolve(u);if(u instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return s};if(n.common.async===!1){const s=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return s.status==="aborted"?Wr:(s.status==="dirty"&&r.dirty(),o(s.value),{status:r.value,value:s.value})}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(s=>s.status==="aborted"?Wr:(s.status==="dirty"&&r.dirty(),o(s.value).then(()=>({status:r.value,value:s.value}))))}if(i.type==="transform")if(n.common.async===!1){const o=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!aS(o))return o;const s=i.transform(o.value,a);if(s instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:r.value,value:s}}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(o=>aS(o)?Promise.resolve(i.transform(o.value,a)).then(s=>({status:r.value,value:s})):o);Jn.assertNever(i)}}ih.create=(e,t,r)=>new ih({schema:e,typeName:Ft.ZodEffects,effect:t,...dn(r)});ih.createWithPreprocess=(e,t,r)=>new ih({schema:t,effect:{type:"preprocess",transform:e},typeName:Ft.ZodEffects,...dn(r)});class fp extends Dn{_parse(t){return this._getType(t)===rr.undefined?vl(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}fp.create=(e,t)=>new fp({innerType:e,typeName:Ft.ZodOptional,...dn(t)});class xg extends Dn{_parse(t){return this._getType(t)===rr.null?vl(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}xg.create=(e,t)=>new xg({innerType:e,typeName:Ft.ZodNullable,...dn(t)});class gS extends Dn{_parse(t){const{ctx:r}=this._processInputParams(t);let n=r.data;return r.parsedType===rr.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:r.path,parent:r})}removeDefault(){return this._def.innerType}}gS.create=(e,t)=>new gS({innerType:e,typeName:Ft.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...dn(t)});class vS extends Dn{_parse(t){const{ctx:r}=this._processInputParams(t),n={...r,common:{...r.common,issues:[]}},i=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return oS(i)?i.then(a=>({status:"valid",value:a.status==="valid"?a.value:this._def.catchValue({get error(){return new tf(n.common.issues)},input:n.data})})):{status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new tf(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}}vS.create=(e,t)=>new vS({innerType:e,typeName:Ft.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...dn(t)});class B2 extends Dn{_parse(t){if(this._getType(t)!==rr.nan){const n=this._getOrReturnCtx(t);return Xt(n,{code:Tt.invalid_type,expected:rr.nan,received:n.parsedType}),Wr}return{status:"valid",value:t.data}}}B2.create=e=>new B2({typeName:Ft.ZodNaN,...dn(e)});const Z8e=Symbol("zod_brand");class sL extends Dn{_parse(t){const{ctx:r}=this._processInputParams(t),n=r.data;return this._def.type._parse({data:n,path:r.path,parent:r})}unwrap(){return this._def.type}}class uw extends Dn{_parse(t){const{status:r,ctx:n}=this._processInputParams(t);if(n.common.async)return(async()=>{const a=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return a.status==="aborted"?Wr:a.status==="dirty"?(r.dirty(),ab(a.value)):this._def.out._parseAsync({data:a.value,path:n.path,parent:n})})();{const i=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return i.status==="aborted"?Wr:i.status==="dirty"?(r.dirty(),{status:"dirty",value:i.value}):this._def.out._parseSync({data:i.value,path:n.path,parent:n})}}static create(t,r){return new uw({in:t,out:r,typeName:Ft.ZodPipeline})}}class yS extends Dn{_parse(t){const r=this._def.innerType._parse(t),n=i=>(aS(i)&&(i.value=Object.freeze(i.value)),i);return oS(r)?r.then(i=>n(i)):n(r)}unwrap(){return this._def.innerType}}yS.create=(e,t)=>new yS({innerType:e,typeName:Ft.ZodReadonly,...dn(t)});function Kce(e,t={},r){return e?Ub.create().superRefine((n,i)=>{var a,o;if(!e(n)){const s=typeof t=="function"?t(n):typeof t=="string"?{message:t}:t,u=(o=(a=s.fatal)!==null&&a!==void 0?a:r)!==null&&o!==void 0?o:!0,l=typeof s=="string"?{message:s}:s;i.addIssue({code:"custom",...l,fatal:u})}}):Ub.create()}const K8e={object:ka.lazycreate};var Ft;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(Ft||(Ft={}));const H8e=(e,t={message:`Input not instance of ${e.name}`})=>Kce(r=>r instanceof e,t),Hce=Yd.create,Yce=yg.create,Y8e=B2.create,G8e=bg.create,Gce=sS.create,X8e=Oy.create,J8e=L2.create,eFe=uS.create,tFe=lS.create,rFe=Ub.create,nFe=ay.create,iFe=B0.create,aFe=z2.create,oFe=Gd.create,sFe=ka.create,uFe=ka.strictCreate,lFe=cS.create,cFe=q$.create,fFe=fS.create,dFe=gp.create,hFe=dS.create,pFe=Q2.create,mFe=xy.create,gFe=_b.create,vFe=hS.create,yFe=pS.create,bFe=Og.create,OFe=mS.create,xFe=Vb.create,GZ=ih.create,_Fe=fp.create,SFe=xg.create,wFe=ih.createWithPreprocess,EFe=uw.create,$Fe=()=>Hce().optional(),CFe=()=>Yce().optional(),PFe=()=>Gce().optional(),DFe={string:e=>Yd.create({...e,coerce:!0}),number:e=>yg.create({...e,coerce:!0}),boolean:e=>sS.create({...e,coerce:!0}),bigint:e=>bg.create({...e,coerce:!0}),date:e=>Oy.create({...e,coerce:!0})},RFe=Wr;var xht=Object.freeze({__proto__:null,defaultErrorMap:qb,setErrorMap:R8e,getErrorMap:I2,makeIssue:M2,EMPTY_PATH:k8e,addIssueToContext:Xt,ParseStatus:Du,INVALID:Wr,DIRTY:ab,OK:vl,isAborted:u9,isDirty:l9,isValid:aS,isAsync:oS,get util(){return Jn},get objectUtil(){return s9},ZodParsedType:rr,getParsedType:Hm,ZodType:Dn,datetimeRegex:Wce,ZodString:Yd,ZodNumber:yg,ZodBigInt:bg,ZodBoolean:sS,ZodDate:Oy,ZodSymbol:L2,ZodUndefined:uS,ZodNull:lS,ZodAny:Ub,ZodUnknown:ay,ZodNever:B0,ZodVoid:z2,ZodArray:Gd,ZodObject:ka,ZodUnion:cS,ZodDiscriminatedUnion:q$,ZodIntersection:fS,ZodTuple:gp,ZodRecord:dS,ZodMap:Q2,ZodSet:xy,ZodFunction:_b,ZodLazy:hS,ZodLiteral:pS,ZodEnum:Og,ZodNativeEnum:mS,ZodPromise:Vb,ZodEffects:ih,ZodTransformer:ih,ZodOptional:fp,ZodNullable:xg,ZodDefault:gS,ZodCatch:vS,ZodNaN:B2,BRAND:Z8e,ZodBranded:sL,ZodPipeline:uw,ZodReadonly:yS,custom:Kce,Schema:Dn,ZodSchema:Dn,late:K8e,get ZodFirstPartyTypeKind(){return Ft},coerce:DFe,any:rFe,array:oFe,bigint:G8e,boolean:Gce,date:X8e,discriminatedUnion:cFe,effect:GZ,enum:bFe,function:gFe,instanceof:H8e,intersection:fFe,lazy:vFe,literal:yFe,map:pFe,nan:Y8e,nativeEnum:OFe,never:iFe,null:tFe,nullable:SFe,number:Yce,object:sFe,oboolean:PFe,onumber:CFe,optional:_Fe,ostring:$Fe,pipeline:EFe,preprocess:wFe,promise:xFe,record:hFe,set:mFe,strictObject:uFe,string:Hce,symbol:J8e,transformer:GZ,tuple:dFe,undefined:eFe,union:lFe,unknown:nFe,void:aFe,NEVER:RFe,ZodIssueCode:Tt,quotelessJson:D8e,ZodError:tf});const Xce=1024;let kFe=0;class CT{constructor(t,r){this.from=t,this.to=r}}class oa{constructor(t={}){this.id=kFe++,this.perNode=!!t.perNode,this.deserialize=t.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(t){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof t!="function"&&(t=ah.match(t)),r=>{let n=t(r);return n===void 0?null:[this,n]}}}oa.closedBy=new oa({deserialize:e=>e.split(" ")});oa.openedBy=new oa({deserialize:e=>e.split(" ")});oa.group=new oa({deserialize:e=>e.split(" ")});oa.isolate=new oa({deserialize:e=>{if(e&&e!="rtl"&&e!="ltr"&&e!="auto")throw new RangeError("Invalid value for isolate: "+e);return e||"auto"}});oa.contextHash=new oa({perNode:!0});oa.lookAhead=new oa({perNode:!0});oa.mounted=new oa({perNode:!0});class q2{constructor(t,r,n){this.tree=t,this.overlay=r,this.parser=n}static get(t){return t&&t.props&&t.props[oa.mounted.id]}}const TFe=Object.create(null);class ah{constructor(t,r,n,i=0){this.name=t,this.props=r,this.id=n,this.flags=i}static define(t){let r=t.props&&t.props.length?Object.create(null):TFe,n=(t.top?1:0)|(t.skipped?2:0)|(t.error?4:0)|(t.name==null?8:0),i=new ah(t.name||"",r,t.id,n);if(t.props){for(let a of t.props)if(Array.isArray(a)||(a=a(i)),a){if(a[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");r[a[0].id]=a[1]}}return i}prop(t){return this.props[t.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(t){if(typeof t=="string"){if(this.name==t)return!0;let r=this.prop(oa.group);return r?r.indexOf(t)>-1:!1}return this.id==t}static match(t){let r=Object.create(null);for(let n in t)for(let i of n.split(" "))r[i]=t[n];return n=>{for(let i=n.prop(oa.group),a=-1;a<(i?i.length:0);a++){let o=r[a<0?n.name:i[a]];if(o)return o}}}}ah.none=new ah("",Object.create(null),0,8);class uL{constructor(t){this.types=t;for(let r=0;r<t.length;r++)if(t[r].id!=r)throw new RangeError("Node type ids should correspond to array positions when creating a node set")}extend(...t){let r=[];for(let n of this.types){let i=null;for(let a of t){let o=a(n);o&&(i||(i=Object.assign({},n.props)),i[o[0].id]=o[1])}r.push(i?new ah(n.name,i,n.id,n.flags):n)}return new uL(r)}}const z3=new WeakMap,XZ=new WeakMap;var su;(function(e){e[e.ExcludeBuffers=1]="ExcludeBuffers",e[e.IncludeAnonymous=2]="IncludeAnonymous",e[e.IgnoreMounts=4]="IgnoreMounts",e[e.IgnoreOverlays=8]="IgnoreOverlays"})(su||(su={}));class dc{constructor(t,r,n,i,a){if(this.type=t,this.children=r,this.positions=n,this.length=i,this.props=null,a&&a.length){this.props=Object.create(null);for(let[o,s]of a)this.props[typeof o=="number"?o:o.id]=s}}toString(){let t=q2.get(this);if(t&&!t.overlay)return t.tree.toString();let r="";for(let n of this.children){let i=n.toString();i&&(r&&(r+=","),r+=i)}return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(r.length?"("+r+")":""):r}cursor(t=0){return new d9(this.topNode,t)}cursorAt(t,r=0,n=0){let i=z3.get(this)||this.topNode,a=new d9(i);return a.moveTo(t,r),z3.set(this,a._tree),a}get topNode(){return new hc(this,0,0,null)}resolve(t,r=0){let n=bS(z3.get(this)||this.topNode,t,r,!1);return z3.set(this,n),n}resolveInner(t,r=0){let n=bS(XZ.get(this)||this.topNode,t,r,!0);return XZ.set(this,n),n}resolveStack(t,r=0){return IFe(this,t,r)}iterate(t){let{enter:r,leave:n,from:i=0,to:a=this.length}=t,o=t.mode||0,s=(o&su.IncludeAnonymous)>0;for(let u=this.cursor(o|su.IncludeAnonymous);;){let l=!1;if(u.from<=a&&u.to>=i&&(!s&&u.type.isAnonymous||r(u)!==!1)){if(u.firstChild())continue;l=!0}for(;l&&n&&(s||!u.type.isAnonymous)&&n(u),!u.nextSibling();){if(!u.parent())return;l=!0}}}prop(t){return t.perNode?this.props?this.props[t.id]:void 0:this.type.prop(t)}get propValues(){let t=[];if(this.props)for(let r in this.props)t.push([+r,this.props[r]]);return t}balance(t={}){return this.children.length<=8?this:fL(ah.none,this.children,this.positions,0,this.children.length,0,this.length,(r,n,i)=>new dc(this.type,r,n,i,this.propValues),t.makeTree||((r,n,i)=>new dc(ah.none,r,n,i)))}static build(t){return MFe(t)}}dc.empty=new dc(ah.none,[],[],0);class lL{constructor(t,r){this.buffer=t,this.index=r}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new lL(this.buffer,this.index)}}class _g{constructor(t,r,n){this.buffer=t,this.length=r,this.set=n}get type(){return ah.none}toString(){let t=[];for(let r=0;r<this.buffer.length;)t.push(this.childString(r)),r=this.buffer[r+3];return t.join(",")}childString(t){let r=this.buffer[t],n=this.buffer[t+3],i=this.set.types[r],a=i.name;if(/\W/.test(a)&&!i.isError&&(a=JSON.stringify(a)),t+=4,n==t)return a;let o=[];for(;t<n;)o.push(this.childString(t)),t=this.buffer[t+3];return a+"("+o.join(",")+")"}findChild(t,r,n,i,a){let{buffer:o}=this,s=-1;for(let u=t;u!=r&&!(Jce(a,i,o[u+1],o[u+2])&&(s=u,n>0));u=o[u+3]);return s}slice(t,r,n){let i=this.buffer,a=new Uint16Array(r-t),o=0;for(let s=t,u=0;s<r;){a[u++]=i[s++],a[u++]=i[s++]-n;let l=a[u++]=i[s++]-n;a[u++]=i[s++]-t,o=Math.max(o,l)}return new _g(a,o,this.set)}}function Jce(e,t,r,n){switch(e){case-2:return r<t;case-1:return n>=t&&r<t;case 0:return r<t&&n>t;case 1:return r<=t&&n>t;case 2:return n>t;case 4:return!0}}function bS(e,t,r,n){for(var i;e.from==e.to||(r<1?e.from>=t:e.from>t)||(r>-1?e.to<=t:e.to<t);){let o=!n&&e instanceof hc&&e.index<0?null:e.parent;if(!o)return e;e=o}let a=n?0:su.IgnoreOverlays;if(n)for(let o=e,s=o.parent;s;o=s,s=o.parent)o instanceof hc&&o.index<0&&((i=s.enter(t,r,a))===null||i===void 0?void 0:i.from)!=o.from&&(e=s);for(;;){let o=e.enter(t,r,a);if(!o)return e;e=o}}class efe{cursor(t=0){return new d9(this,t)}getChild(t,r=null,n=null){let i=JZ(this,t,r,n);return i.length?i[0]:null}getChildren(t,r=null,n=null){return JZ(this,t,r,n)}resolve(t,r=0){return bS(this,t,r,!1)}resolveInner(t,r=0){return bS(this,t,r,!0)}matchContext(t){return f9(this,t)}enterUnfinishedNodesBefore(t){let r=this.childBefore(t),n=this;for(;r;){let i=r.lastChild;if(!i||i.to!=r.to)break;i.type.isError&&i.from==i.to?(n=r,r=i.prevSibling):r=i}return n}get node(){return this}get next(){return this.parent}}class hc extends efe{constructor(t,r,n,i){super(),this._tree=t,this.from=r,this.index=n,this._parent=i}get type(){return this._tree.type}get name(){return this._tree.type.name}get to(){return this.from+this._tree.length}nextChild(t,r,n,i,a=0){for(let o=this;;){for(let{children:s,positions:u}=o._tree,l=r>0?s.length:-1;t!=l;t+=r){let c=s[t],f=u[t]+o.from;if(Jce(i,n,f,f+c.length)){if(c instanceof _g){if(a&su.ExcludeBuffers)continue;let d=c.findChild(0,c.buffer.length,r,n-f,i);if(d>-1)return new ip(new AFe(o,c,t,f),null,d)}else if(a&su.IncludeAnonymous||!c.type.isAnonymous||cL(c)){let d;if(!(a&su.IgnoreMounts)&&(d=q2.get(c))&&!d.overlay)return new hc(d.tree,f,t,o);let h=new hc(c,f,t,o);return a&su.IncludeAnonymous||!h.type.isAnonymous?h:h.nextChild(r<0?c.children.length-1:0,r,n,i)}}}if(a&su.IncludeAnonymous||!o.type.isAnonymous||(o.index>=0?t=o.index+r:t=r<0?-1:o._parent._tree.children.length,o=o._parent,!o))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(t){return this.nextChild(0,1,t,2)}childBefore(t){return this.nextChild(this._tree.children.length-1,-1,t,-2)}enter(t,r,n=0){let i;if(!(n&su.IgnoreOverlays)&&(i=q2.get(this._tree))&&i.overlay){let a=t-this.from;for(let{from:o,to:s}of i.overlay)if((r>0?o<=a:o<a)&&(r<0?s>=a:s>a))return new hc(i.tree,i.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,t,r,n)}nextSignificantParent(){let t=this;for(;t.type.isAnonymous&&t._parent;)t=t._parent;return t}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function JZ(e,t,r,n){let i=e.cursor(),a=[];if(!i.firstChild())return a;if(r!=null){for(let o=!1;!o;)if(o=i.type.is(r),!i.nextSibling())return a}for(;;){if(n!=null&&i.type.is(n))return a;if(i.type.is(t)&&a.push(i.node),!i.nextSibling())return n==null?a:[]}}function f9(e,t,r=t.length-1){for(let n=e.parent;r>=0;n=n.parent){if(!n)return!1;if(!n.type.isAnonymous){if(t[r]&&t[r]!=n.name)return!1;r--}}return!0}class AFe{constructor(t,r,n,i){this.parent=t,this.buffer=r,this.index=n,this.start=i}}class ip extends efe{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(t,r,n){super(),this.context=t,this._parent=r,this.index=n,this.type=t.buffer.set.types[t.buffer.buffer[n]]}child(t,r,n){let{buffer:i}=this.context,a=i.findChild(this.index+4,i.buffer[this.index+3],t,r-this.context.start,n);return a<0?null:new ip(this.context,this,a)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(t){return this.child(1,t,2)}childBefore(t){return this.child(-1,t,-2)}enter(t,r,n=0){if(n&su.ExcludeBuffers)return null;let{buffer:i}=this.context,a=i.findChild(this.index+4,i.buffer[this.index+3],r>0?1:-1,t-this.context.start,r);return a<0?null:new ip(this.context,this,a)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(t){return this._parent?null:this.context.parent.nextChild(this.context.index+t,t,0,4)}get nextSibling(){let{buffer:t}=this.context,r=t.buffer[this.index+3];return r<(this._parent?t.buffer[this._parent.index+3]:t.buffer.length)?new ip(this.context,this._parent,r):this.externalSibling(1)}get prevSibling(){let{buffer:t}=this.context,r=this._parent?this._parent.index+4:0;return this.index==r?this.externalSibling(-1):new ip(this.context,this._parent,t.findChild(r,this.index,-1,0,4))}get tree(){return null}toTree(){let t=[],r=[],{buffer:n}=this.context,i=this.index+4,a=n.buffer[this.index+3];if(a>i){let o=n.buffer[this.index+1];t.push(n.slice(i,a,o)),r.push(0)}return new dc(this.type,t,r,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function tfe(e){if(!e.length)return null;let t=0,r=e[0];for(let a=1;a<e.length;a++){let o=e[a];(o.from>r.from||o.to<r.to)&&(r=o,t=a)}let n=r instanceof hc&&r.index<0?null:r.parent,i=e.slice();return n?i[t]=n:i.splice(t,1),new FFe(i,r)}class FFe{constructor(t,r){this.heads=t,this.node=r}get next(){return tfe(this.heads)}}function IFe(e,t,r){let n=e.resolveInner(t,r),i=null;for(let a=n instanceof hc?n:n.context.parent;a;a=a.parent)if(a.index<0){let o=a.parent;(i||(i=[n])).push(o.resolve(t,r)),a=o}else{let o=q2.get(a.tree);if(o&&o.overlay&&o.overlay[0].from<=t&&o.overlay[o.overlay.length-1].to>=t){let s=new hc(o.tree,o.overlay[0].from+a.from,-1,a);(i||(i=[n])).push(bS(s,t,r,!1))}}return i?tfe(i):n}class d9{get name(){return this.type.name}constructor(t,r=0){if(this.mode=r,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,t instanceof hc)this.yieldNode(t);else{this._tree=t.context.parent,this.buffer=t.context;for(let n=t._parent;n;n=n._parent)this.stack.unshift(n.index);this.bufferNode=t,this.yieldBuf(t.index)}}yieldNode(t){return t?(this._tree=t,this.type=t.type,this.from=t.from,this.to=t.to,!0):!1}yieldBuf(t,r){this.index=t;let{start:n,buffer:i}=this.buffer;return this.type=r||i.set.types[i.buffer[t]],this.from=n+i.buffer[t+1],this.to=n+i.buffer[t+2],!0}yield(t){return t?t instanceof hc?(this.buffer=null,this.yieldNode(t)):(this.buffer=t.context,this.yieldBuf(t.index,t.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(t,r,n){if(!this.buffer)return this.yield(this._tree.nextChild(t<0?this._tree._tree.children.length-1:0,t,r,n,this.mode));let{buffer:i}=this.buffer,a=i.findChild(this.index+4,i.buffer[this.index+3],t,r-this.buffer.start,n);return a<0?!1:(this.stack.push(this.index),this.yieldBuf(a))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(t){return this.enterChild(1,t,2)}childBefore(t){return this.enterChild(-1,t,-2)}enter(t,r,n=this.mode){return this.buffer?n&su.ExcludeBuffers?!1:this.enterChild(1,t,r):this.yield(this._tree.enter(t,r,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&su.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let t=this.mode&su.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(t)}sibling(t){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+t,t,0,4,this.mode)):!1;let{buffer:r}=this.buffer,n=this.stack.length-1;if(t<0){let i=n<0?0:this.stack[n]+4;if(this.index!=i)return this.yieldBuf(r.findChild(i,this.index,-1,0,4))}else{let i=r.buffer[this.index+3];if(i<(n<0?r.buffer.length:r.buffer[this.stack[n]+3]))return this.yieldBuf(i)}return n<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+t,t,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(t){let r,n,{buffer:i}=this;if(i){if(t>0){if(this.index<i.buffer.buffer.length)return!1}else for(let a=0;a<this.index;a++)if(i.buffer.buffer[a+3]<this.index)return!1;({index:r,parent:n}=i)}else({index:r,_parent:n}=this._tree);for(;n;{index:r,_parent:n}=n)if(r>-1)for(let a=r+t,o=t<0?-1:n._tree.children.length;a!=o;a+=t){let s=n._tree.children[a];if(this.mode&su.IncludeAnonymous||s instanceof _g||!s.type.isAnonymous||cL(s))return!1}return!0}move(t,r){if(r&&this.enterChild(t,0,4))return!0;for(;;){if(this.sibling(t))return!0;if(this.atLastNode(t)||!this.parent())return!1}}next(t=!0){return this.move(1,t)}prev(t=!0){return this.move(-1,t)}moveTo(t,r=0){for(;(this.from==this.to||(r<1?this.from>=t:this.from>t)||(r>-1?this.to<=t:this.to<t))&&this.parent(););for(;this.enterChild(1,t,r););return this}get node(){if(!this.buffer)return this._tree;let t=this.bufferNode,r=null,n=0;if(t&&t.context==this.buffer)e:for(let i=this.index,a=this.stack.length;a>=0;){for(let o=t;o;o=o._parent)if(o.index==i){if(i==this.index)return o;r=o,n=a+1;break e}i=this.stack[--a]}for(let i=n;i<this.stack.length;i++)r=new ip(this.buffer,r,this.stack[i]);return this.bufferNode=new ip(this.buffer,r,this.index)}get tree(){return this.buffer?null:this._tree._tree}iterate(t,r){for(let n=0;;){let i=!1;if(this.type.isAnonymous||t(this)!==!1){if(this.firstChild()){n++;continue}this.type.isAnonymous||(i=!0)}for(;i&&r&&r(this),i=this.type.isAnonymous,!this.nextSibling();){if(!n)return;this.parent(),n--,i=!0}}}matchContext(t){if(!this.buffer)return f9(this.node,t);let{buffer:r}=this.buffer,{types:n}=r.set;for(let i=t.length-1,a=this.stack.length-1;i>=0;a--){if(a<0)return f9(this.node,t,i);let o=n[r.buffer[this.stack[a]]];if(!o.isAnonymous){if(t[i]&&t[i]!=o.name)return!1;i--}}return!0}}function cL(e){return e.children.some(t=>t instanceof _g||!t.type.isAnonymous||cL(t))}function MFe(e){var t;let{buffer:r,nodeSet:n,maxBufferLength:i=Xce,reused:a=[],minRepeatType:o=n.types.length}=e,s=Array.isArray(r)?new lL(r,r.length):r,u=n.types,l=0,c=0;function f(w,E,T,P,L,N){let{id:B,start:j,end:A,size:H}=s,k=c;for(;H<0;)if(s.next(),H==-1){let M=a[B];T.push(M),P.push(j-w);return}else if(H==-3){l=B;return}else if(H==-4){c=B;return}else throw new RangeError(`Unrecognized record size: ${H}`);let Q=u[B],V,I,q=j-w;if(A-j<=i&&(I=v(s.pos-E,L))){let M=new Uint16Array(I.size-I.skip),z=s.pos-I.size,G=M.length;for(;s.pos>z;)G=y(I.start,M,G);V=new _g(M,A-I.start,n),q=I.start-w}else{let M=s.pos-H;s.next();let z=[],G=[],K=B>=o?B:-1,te=0,ae=A;for(;s.pos>M;)K>=0&&s.id==K&&s.size>=0?(s.end<=ae-i&&(g(z,G,j,te,s.end,ae,K,k),te=z.length,ae=s.end),s.next()):N>2500?d(j,M,z,G):f(j,M,z,G,K,N+1);if(K>=0&&te>0&&te<z.length&&g(z,G,j,te,j,ae,K,k),z.reverse(),G.reverse(),K>-1&&te>0){let ie=h(Q);V=fL(Q,z,G,0,z.length,0,A-j,ie,ie)}else V=m(Q,z,G,A-j,k-A)}T.push(V),P.push(q)}function d(w,E,T,P){let L=[],N=0,B=-1;for(;s.pos>E;){let{id:j,start:A,end:H,size:k}=s;if(k>4)s.next();else{if(B>-1&&A<B)break;B<0&&(B=H-i),L.push(j,A,H),N++,s.next()}}if(N){let j=new Uint16Array(N*4),A=L[L.length-2];for(let H=L.length-3,k=0;H>=0;H-=3)j[k++]=L[H],j[k++]=L[H+1]-A,j[k++]=L[H+2]-A,j[k++]=k;T.push(new _g(j,L[2]-A,n)),P.push(A-w)}}function h(w){return(E,T,P)=>{let L=0,N=E.length-1,B,j;if(N>=0&&(B=E[N])instanceof dc){if(!N&&B.type==w&&B.length==P)return B;(j=B.prop(oa.lookAhead))&&(L=T[N]+B.length+j)}return m(w,E,T,P,L)}}function g(w,E,T,P,L,N,B,j){let A=[],H=[];for(;w.length>P;)A.push(w.pop()),H.push(E.pop()+T-L);w.push(m(n.types[B],A,H,N-L,j-N)),E.push(L-T)}function m(w,E,T,P,L=0,N){if(l){let B=[oa.contextHash,l];N=N?[B].concat(N):[B]}if(L>25){let B=[oa.lookAhead,L];N=N?[B].concat(N):[B]}return new dc(w,E,T,P,N)}function v(w,E){let T=s.fork(),P=0,L=0,N=0,B=T.end-i,j={size:0,start:0,skip:0};e:for(let A=T.pos-w;T.pos>A;){let H=T.size;if(T.id==E&&H>=0){j.size=P,j.start=L,j.skip=N,N+=4,P+=4,T.next();continue}let k=T.pos-H;if(H<0||k<A||T.start<B)break;let Q=T.id>=o?4:0,V=T.start;for(T.next();T.pos>k;){if(T.size<0)if(T.size==-3)Q+=4;else break e;else T.id>=o&&(Q+=4);T.next()}L=V,P+=H,N+=Q}return(E<0||P==w)&&(j.size=P,j.start=L,j.skip=N),j.size>4?j:void 0}function y(w,E,T){let{id:P,start:L,end:N,size:B}=s;if(s.next(),B>=0&&P<o){let j=T;if(B>4){let A=s.pos-(B-4);for(;s.pos>A;)T=y(w,E,T)}E[--T]=j,E[--T]=N-w,E[--T]=L-w,E[--T]=P}else B==-3?l=P:B==-4&&(c=P);return T}let O=[],x=[];for(;s.pos>0;)f(e.start||0,e.bufferStart||0,O,x,-1,0);let C=(t=e.length)!==null&&t!==void 0?t:O.length?x[0]+O[0].length:0;return new dc(u[e.topID],O.reverse(),x.reverse(),C)}const eK=new WeakMap;function NE(e,t){if(!e.isAnonymous||t instanceof _g||t.type!=e)return 1;let r=eK.get(t);if(r==null){r=1;for(let n of t.children){if(n.type!=e||!(n instanceof dc)){r=1;break}r+=NE(e,n)}eK.set(t,r)}return r}function fL(e,t,r,n,i,a,o,s,u){let l=0;for(let g=n;g<i;g++)l+=NE(e,t[g]);let c=Math.ceil(l*1.5/8),f=[],d=[];function h(g,m,v,y,O){for(let x=v;x<y;){let C=x,w=m[x],E=NE(e,g[x]);for(x++;x<y;x++){let T=NE(e,g[x]);if(E+T>=c)break;E+=T}if(x==C+1){if(E>c){let T=g[C];h(T.children,T.positions,0,T.children.length,m[C]+O);continue}f.push(g[C])}else{let T=m[x-1]+g[x-1].length-w;f.push(fL(e,g,m,C,x,w,T,null,u))}d.push(w+O-a)}}return h(t,r,n,i,0),(s||u)(f,d,o)}class _ht{constructor(){this.map=new WeakMap}setBuffer(t,r,n){let i=this.map.get(t);i||this.map.set(t,i=new Map),i.set(r,n)}getBuffer(t,r){let n=this.map.get(t);return n&&n.get(r)}set(t,r){t instanceof ip?this.setBuffer(t.context.buffer,t.index,r):t instanceof hc&&this.map.set(t.tree,r)}get(t){return t instanceof ip?this.getBuffer(t.context.buffer,t.index):t instanceof hc?this.map.get(t.tree):void 0}cursorSet(t,r){t.buffer?this.setBuffer(t.buffer.buffer,t.index,r):this.map.set(t.tree,r)}cursorGet(t){return t.buffer?this.getBuffer(t.buffer.buffer,t.index):this.map.get(t.tree)}}class h9{constructor(t,r,n,i,a=!1,o=!1){this.from=t,this.to=r,this.tree=n,this.offset=i,this.open=(a?1:0)|(o?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(t,r=[],n=!1){let i=[new h9(0,t.length,t,0,!1,n)];for(let a of r)a.to>t.length&&i.push(a);return i}static applyChanges(t,r,n=128){if(!r.length)return t;let i=[],a=1,o=t.length?t[0]:null;for(let s=0,u=0,l=0;;s++){let c=s<r.length?r[s]:null,f=c?c.fromA:1e9;if(f-u>=n)for(;o&&o.from<f;){let d=o;if(u>=d.from||f<=d.to||l){let h=Math.max(d.from,u)-l,g=Math.min(d.to,f)-l;d=h>=g?null:new h9(h,g,d.tree,d.offset+l,s>0,!!c)}if(d&&i.push(d),o.to>f)break;o=a<t.length?t[a++]:null}if(!c)break;u=c.toA,l=c.toA-c.toB}return i}}let NFe=class{startParse(t,r,n){return typeof t=="string"&&(t=new LFe(t)),n=n?n.length?n.map(i=>new CT(i.from,i.to)):[new CT(0,0)]:[new CT(0,t.length)],this.createParse(t,r||[],n)}parse(t,r,n){let i=this.startParse(t,r,n);for(;;){let a=i.advance();if(a)return a}}};class LFe{constructor(t){this.string=t}get length(){return this.string.length}chunk(t){return this.string.slice(t)}get lineChunks(){return!1}read(t,r){return this.string.slice(t,r)}}new oa({perNode:!0});var Q3={},tK;function wht(){if(tK)return Q3;tK=1;let e=[],t=[];(()=>{let d="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,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4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(h=>h?parseInt(h,36):1);for(let h=0,g=0;h<d.length;h++)(h%2?t:e).push(g=g+d[h])})();function r(d){if(d<768)return!1;for(let h=0,g=e.length;;){let m=h+g>>1;if(d<e[m])g=m;else if(d>=t[m])h=m+1;else return!0;if(h==g)return!1}}function n(d){return d>=127462&&d<=127487}const i=8205;function a(d,h,g=!0,m=!0){return(g?o:s)(d,h,m)}function o(d,h,g){if(h==d.length)return h;h&&l(d.charCodeAt(h))&&c(d.charCodeAt(h-1))&&h--;let m=u(d,h);for(h+=f(m);h<d.length;){let v=u(d,h);if(m==i||v==i||g&&r(v))h+=f(v),m=v;else if(n(v)){let y=0,O=h-2;for(;O>=0&&n(u(d,O));)y++,O-=2;if(y%2==0)break;h+=2}else break}return h}function s(d,h,g){for(;h>0;){let m=o(d,h-2,g);if(m<h)return m;h--}return 0}function u(d,h){let g=d.charCodeAt(h);if(!c(g)||h+1==d.length)return g;let m=d.charCodeAt(h+1);return l(m)?(g-55296<<10)+(m-56320)+65536:g}function l(d){return d>=56320&&d<57344}function c(d){return d>=55296&&d<56320}function f(d){return d<65536?1:2}return Q3.findClusterBreak=a,Q3.isExtendingChar=r,Q3}const p9="ͼ",rK=typeof Symbol>"u"?"__"+p9:Symbol.for(p9),m9=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),nK=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};class Eht{constructor(t,r){this.rules=[];let{finish:n}=r||{};function i(o){return/^@/.test(o)?[o]:o.split(/,\s*/)}function a(o,s,u,l){let c=[],f=/^@(\w+)\b/.exec(o[0]),d=f&&f[1]=="keyframes";if(f&&s==null)return u.push(o[0]+";");for(let h in s){let g=s[h];if(/&/.test(h))a(h.split(/,\s*/).map(m=>o.map(v=>m.replace(/&/,v))).reduce((m,v)=>m.concat(v)),g,u);else if(g&&typeof g=="object"){if(!f)throw new RangeError("The value of a property ("+h+") should be a primitive value.");a(i(h),g,c,d)}else g!=null&&c.push(h.replace(/_.*/,"").replace(/[A-Z]/g,m=>"-"+m.toLowerCase())+": "+g+";")}(c.length||d)&&u.push((n&&!f&&!l?o.map(n):o).join(", ")+" {"+c.join(" ")+"}")}for(let o in t)a(i(o),t[o],this.rules)}getRules(){return this.rules.join(`
562
+ `)}static newName(){let t=nK[rK]||1;return nK[rK]=t+1,p9+t.toString(36)}static mount(t,r,n){let i=t[m9],a=n&&n.nonce;i?a&&i.setNonce(a):i=new zFe(t,a),i.mount(Array.isArray(r)?r:[r],t)}}let iK=new Map;class zFe{constructor(t,r){let n=t.ownerDocument||t,i=n.defaultView;if(!t.head&&t.adoptedStyleSheets&&i.CSSStyleSheet){let a=iK.get(n);if(a)return t[m9]=a;this.sheet=new i.CSSStyleSheet,iK.set(n,this)}else this.styleTag=n.createElement("style"),r&&this.styleTag.setAttribute("nonce",r);this.modules=[],t[m9]=this}mount(t,r){let n=this.sheet,i=0,a=0;for(let o=0;o<t.length;o++){let s=t[o],u=this.modules.indexOf(s);if(u<a&&u>-1&&(this.modules.splice(u,1),a--,u=-1),u==-1){if(this.modules.splice(a++,0,s),n)for(let l=0;l<s.rules.length;l++)n.insertRule(s.rules[l],i++)}else{for(;a<u;)i+=this.modules[a++].rules.length;i+=s.rules.length,a++}}if(n)r.adoptedStyleSheets.indexOf(this.sheet)<0&&(r.adoptedStyleSheets=[this.sheet,...r.adoptedStyleSheets]);else{let o="";for(let u=0;u<this.modules.length;u++)o+=this.modules[u].getRules()+`
563
+ `;this.styleTag.textContent=o;let s=r.head||r;this.styleTag.parentNode!=s&&s.insertBefore(this.styleTag,s.firstChild)}}setNonce(t){this.styleTag&&this.styleTag.getAttribute("nonce")!=t&&this.styleTag.setAttribute("nonce",t)}}var _y={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},U2={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},QFe=typeof navigator<"u"&&/Mac/.test(navigator.platform),BFe=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var uu=0;uu<10;uu++)_y[48+uu]=_y[96+uu]=String(uu);for(var uu=1;uu<=24;uu++)_y[uu+111]="F"+uu;for(var uu=65;uu<=90;uu++)_y[uu]=String.fromCharCode(uu+32),U2[uu]=String.fromCharCode(uu);for(var PT in _y)U2.hasOwnProperty(PT)||(U2[PT]=_y[PT]);function $ht(e){var t=QFe&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||BFe&&e.shiftKey&&e.key&&e.key.length==1||e.key=="Unidentified",r=!t&&e.key||(e.shiftKey?U2:_y)[e.keyCode]||e.key||"Unidentified";return r=="Esc"&&(r="Escape"),r=="Del"&&(r="Delete"),r=="Left"&&(r="ArrowLeft"),r=="Up"&&(r="ArrowUp"),r=="Right"&&(r="ArrowRight"),r=="Down"&&(r="ArrowDown"),r}let qFe=0;class Lf{constructor(t,r,n,i){this.name=t,this.set=r,this.base=n,this.modified=i,this.id=qFe++}toString(){let{name:t}=this;for(let r of this.modified)r.name&&(t=`${r.name}(${t})`);return t}static define(t,r){let n=typeof t=="string"?t:"?";if(t instanceof Lf&&(r=t),r!=null&&r.base)throw new Error("Can not derive from a modified tag");let i=new Lf(n,[],null,[]);if(i.set.push(i),r)for(let a of r.set)i.set.push(a);return i}static defineModifier(t){let r=new V2(t);return n=>n.modified.indexOf(r)>-1?n:V2.get(n.base||n,n.modified.concat(r).sort((i,a)=>i.id-a.id))}}let UFe=0;class V2{constructor(t){this.name=t,this.instances=[],this.id=UFe++}static get(t,r){if(!r.length)return t;let n=r[0].instances.find(s=>s.base==t&&VFe(r,s.modified));if(n)return n;let i=[],a=new Lf(t.name,i,t,r);for(let s of r)s.instances.push(a);let o=jFe(r);for(let s of t.set)if(!s.modified.length)for(let u of o)i.push(V2.get(s,u));return a}}function VFe(e,t){return e.length==t.length&&e.every((r,n)=>r==t[n])}function jFe(e){let t=[[]];for(let r=0;r<e.length;r++)for(let n=0,i=t.length;n<i;n++)t.push(t[n].concat(e[r]));return t.sort((r,n)=>n.length-r.length)}function rfe(e){let t=Object.create(null);for(let r in e){let n=e[r];Array.isArray(n)||(n=[n]);for(let i of r.split(" "))if(i){let a=[],o=2,s=i;for(let f=0;;){if(s=="..."&&f>0&&f+3==i.length){o=1;break}let d=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(s);if(!d)throw new RangeError("Invalid path: "+i);if(a.push(d[0]=="*"?"":d[0][0]=='"'?JSON.parse(d[0]):d[0]),f+=d[0].length,f==i.length)break;let h=i[f++];if(f==i.length&&h=="!"){o=0;break}if(h!="/")throw new RangeError("Invalid path: "+i);s=i.slice(f)}let u=a.length-1,l=a[u];if(!l)throw new RangeError("Invalid path: "+i);let c=new j2(n,o,u>0?a.slice(0,u):null);t[l]=c.sort(t[l])}}return nfe.add(t)}const nfe=new oa;class j2{constructor(t,r,n,i){this.tags=t,this.mode=r,this.context=n,this.next=i}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(t){return!t||t.depth<this.depth?(this.next=t,this):(t.next=this.sort(t.next),t)}get depth(){return this.context?this.context.length:0}}j2.empty=new j2([],2,null);function WFe(e,t){let r=Object.create(null);for(let a of e)if(!Array.isArray(a.tag))r[a.tag.id]=a.class;else for(let o of a.tag)r[o.id]=a.class;let{scope:n,all:i=null}=t||{};return{style:a=>{let o=i;for(let s of a)for(let u of s.set){let l=r[u.id];if(l){o=o?o+" "+l:l;break}}return o},scope:n}}function ZFe(e,t){let r=null;for(let n of e){let i=n.style(t);i&&(r=r?r+" "+i:i)}return r}function Cht(e,t,r,n=0,i=e.length){let a=new KFe(n,Array.isArray(t)?t:[t],r);a.highlightRange(e.cursor(),n,i,"",a.highlighters),a.flush(i)}class KFe{constructor(t,r,n){this.at=t,this.highlighters=r,this.span=n,this.class=""}startSpan(t,r){r!=this.class&&(this.flush(t),t>this.at&&(this.at=t),this.class=r)}flush(t){t>this.at&&this.class&&this.span(this.at,t,this.class)}highlightRange(t,r,n,i,a){let{type:o,from:s,to:u}=t;if(s>=n||u<=r)return;o.isTop&&(a=this.highlighters.filter(h=>!h.scope||h.scope(o)));let l=i,c=HFe(t)||j2.empty,f=ZFe(a,c.tags);if(f&&(l&&(l+=" "),l+=f,c.mode==1&&(i+=(i?" ":"")+f)),this.startSpan(Math.max(r,s),l),c.opaque)return;let d=t.tree&&t.tree.prop(oa.mounted);if(d&&d.overlay){let h=t.node.enter(d.overlay[0].from+s,1),g=this.highlighters.filter(v=>!v.scope||v.scope(d.tree.type)),m=t.firstChild();for(let v=0,y=s;;v++){let O=v<d.overlay.length?d.overlay[v]:null,x=O?O.from+s:u,C=Math.max(r,y),w=Math.min(n,x);if(C<w&&m)for(;t.from<w&&(this.highlightRange(t,C,w,i,a),this.startSpan(Math.min(w,t.to),l),!(t.to>=x||!t.nextSibling())););if(!O||x>n)break;y=O.to+s,y>r&&(this.highlightRange(h.cursor(),Math.max(r,O.from+s),Math.min(n,y),"",g),this.startSpan(Math.min(n,y),l))}m&&t.parent()}else if(t.firstChild()){d&&(i="");do if(!(t.to<=r)){if(t.from>=n)break;this.highlightRange(t,r,n,i,a),this.startSpan(Math.min(n,t.to),l)}while(t.nextSibling());t.parent()}}}function HFe(e){let t=e.type.prop(nfe);for(;t&&t.context&&!e.matchContext(t.context);)t=t.next;return t||null}const jt=Lf.define,B3=jt(),Vm=jt(),aK=jt(Vm),oK=jt(Vm),jm=jt(),q3=jt(jm),DT=jt(jm),Zh=jt(),yv=jt(Zh),Vh=jt(),jh=jt(),g9=jt(),vx=jt(g9),U3=jt(),st={comment:B3,lineComment:jt(B3),blockComment:jt(B3),docComment:jt(B3),name:Vm,variableName:jt(Vm),typeName:aK,tagName:jt(aK),propertyName:oK,attributeName:jt(oK),className:jt(Vm),labelName:jt(Vm),namespace:jt(Vm),macroName:jt(Vm),literal:jm,string:q3,docString:jt(q3),character:jt(q3),attributeValue:jt(q3),number:DT,integer:jt(DT),float:jt(DT),bool:jt(jm),regexp:jt(jm),escape:jt(jm),color:jt(jm),url:jt(jm),keyword:Vh,self:jt(Vh),null:jt(Vh),atom:jt(Vh),unit:jt(Vh),modifier:jt(Vh),operatorKeyword:jt(Vh),controlKeyword:jt(Vh),definitionKeyword:jt(Vh),moduleKeyword:jt(Vh),operator:jh,derefOperator:jt(jh),arithmeticOperator:jt(jh),logicOperator:jt(jh),bitwiseOperator:jt(jh),compareOperator:jt(jh),updateOperator:jt(jh),definitionOperator:jt(jh),typeOperator:jt(jh),controlOperator:jt(jh),punctuation:g9,separator:jt(g9),bracket:vx,angleBracket:jt(vx),squareBracket:jt(vx),paren:jt(vx),brace:jt(vx),content:Zh,heading:yv,heading1:jt(yv),heading2:jt(yv),heading3:jt(yv),heading4:jt(yv),heading5:jt(yv),heading6:jt(yv),contentSeparator:jt(Zh),list:jt(Zh),quote:jt(Zh),emphasis:jt(Zh),strong:jt(Zh),link:jt(Zh),monospace:jt(Zh),strikethrough:jt(Zh),inserted:jt(),deleted:jt(),changed:jt(),invalid:jt(),meta:U3,documentMeta:jt(U3),annotation:jt(U3),processingInstruction:jt(U3),definition:Lf.defineModifier("definition"),constant:Lf.defineModifier("constant"),function:Lf.defineModifier("function"),standard:Lf.defineModifier("standard"),local:Lf.defineModifier("local"),special:Lf.defineModifier("special")};for(let e in st){let t=st[e];t instanceof Lf&&(t.name=e)}WFe([{tag:st.link,class:"tok-link"},{tag:st.heading,class:"tok-heading"},{tag:st.emphasis,class:"tok-emphasis"},{tag:st.strong,class:"tok-strong"},{tag:st.keyword,class:"tok-keyword"},{tag:st.atom,class:"tok-atom"},{tag:st.bool,class:"tok-bool"},{tag:st.url,class:"tok-url"},{tag:st.labelName,class:"tok-labelName"},{tag:st.inserted,class:"tok-inserted"},{tag:st.deleted,class:"tok-deleted"},{tag:st.literal,class:"tok-literal"},{tag:st.string,class:"tok-string"},{tag:st.number,class:"tok-number"},{tag:[st.regexp,st.escape,st.special(st.string)],class:"tok-string2"},{tag:st.variableName,class:"tok-variableName"},{tag:st.local(st.variableName),class:"tok-variableName tok-local"},{tag:st.definition(st.variableName),class:"tok-variableName tok-definition"},{tag:st.special(st.variableName),class:"tok-variableName2"},{tag:st.definition(st.propertyName),class:"tok-propertyName tok-definition"},{tag:st.typeName,class:"tok-typeName"},{tag:st.namespace,class:"tok-namespace"},{tag:st.className,class:"tok-className"},{tag:st.macroName,class:"tok-macroName"},{tag:st.propertyName,class:"tok-propertyName"},{tag:st.operator,class:"tok-operator"},{tag:st.comment,class:"tok-comment"},{tag:st.meta,class:"tok-meta"},{tag:st.invalid,class:"tok-invalid"},{tag:st.punctuation,class:"tok-punctuation"}]);var sK={};class W2{constructor(t,r,n,i,a,o,s,u,l,c=0,f){this.p=t,this.stack=r,this.state=n,this.reducePos=i,this.pos=a,this.score=o,this.buffer=s,this.bufferBase=u,this.curContext=l,this.lookAhead=c,this.parent=f}toString(){return`[${this.stack.filter((t,r)=>r%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(t,r,n=0){let i=t.parser.context;return new W2(t,[],r,n,n,0,[],0,i?new uK(i,i.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(t,r){this.stack.push(this.state,r,this.bufferBase+this.buffer.length),this.state=t}reduce(t){var r;let n=t>>19,i=t&65535,{parser:a}=this.p,o=this.reducePos<this.pos-25;o&&this.setLookAhead(this.pos);let s=a.dynamicPrecedence(i);if(s&&(this.score+=s),n==0){this.pushState(a.getGoto(this.state,i,!0),this.reducePos),i<a.minRepeatTerm&&this.storeNode(i,this.reducePos,this.reducePos,o?8:4,!0),this.reduceContext(i,this.reducePos);return}let u=this.stack.length-(n-1)*3-(t&262144?6:0),l=u?this.stack[u-2]:this.p.ranges[0].from,c=this.reducePos-l;c>=2e3&&!(!((r=this.p.parser.nodeSet.types[i])===null||r===void 0)&&r.isAnonymous)&&(l==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=c):this.p.lastBigReductionSize<c&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=l,this.p.lastBigReductionSize=c));let f=u?this.stack[u-1]:0,d=this.bufferBase+this.buffer.length-f;if(i<a.minRepeatTerm||t&131072){let h=a.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(i,l,h,d+4,!0)}if(t&262144)this.state=this.stack[u];else{let h=this.stack[u-3];this.state=a.getGoto(h,i,!0)}for(;this.stack.length>u;)this.stack.pop();this.reduceContext(i,l)}storeNode(t,r,n,i=4,a=!1){if(t==0&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let o=this,s=this.buffer.length;if(s==0&&o.parent&&(s=o.bufferBase-o.parent.bufferBase,o=o.parent),s>0&&o.buffer[s-4]==0&&o.buffer[s-1]>-1){if(r==n)return;if(o.buffer[s-2]>=r){o.buffer[s-2]=n;return}}}if(!a||this.pos==n)this.buffer.push(t,r,n,i);else{let o=this.buffer.length;if(o>0&&this.buffer[o-4]!=0){let s=!1;for(let u=o;u>0&&this.buffer[u-2]>n;u-=4)if(this.buffer[u-1]>=0){s=!0;break}if(s)for(;o>0&&this.buffer[o-2]>n;)this.buffer[o]=this.buffer[o-4],this.buffer[o+1]=this.buffer[o-3],this.buffer[o+2]=this.buffer[o-2],this.buffer[o+3]=this.buffer[o-1],o-=4,i>4&&(i-=4)}this.buffer[o]=t,this.buffer[o+1]=r,this.buffer[o+2]=n,this.buffer[o+3]=i}}shift(t,r,n,i){if(t&131072)this.pushState(t&65535,this.pos);else if((t&262144)==0){let a=t,{parser:o}=this.p;(i>this.pos||r<=o.maxNode)&&(this.pos=i,o.stateFlag(a,1)||(this.reducePos=i)),this.pushState(a,n),this.shiftContext(r,n),r<=o.maxNode&&this.buffer.push(r,n,i,4)}else this.pos=i,this.shiftContext(r,n),r<=this.p.parser.maxNode&&this.buffer.push(r,n,i,4)}apply(t,r,n,i){t&65536?this.reduce(t):this.shift(t,r,n,i)}useNode(t,r){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=t)&&(this.p.reused.push(t),n++);let i=this.pos;this.reducePos=this.pos=i+t.length,this.pushState(r,i),this.buffer.push(n,i,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,t,this,this.p.stream.reset(this.pos-t.length)))}split(){let t=this,r=t.buffer.length;for(;r>0&&t.buffer[r-2]>t.reducePos;)r-=4;let n=t.buffer.slice(r),i=t.bufferBase+r;for(;t&&i==t.bufferBase;)t=t.parent;return new W2(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,i,this.curContext,this.lookAhead,t)}recoverByDelete(t,r){let n=t<=this.p.parser.maxNode;n&&this.storeNode(t,this.pos,r,4),this.storeNode(0,this.pos,r,n?8:4),this.pos=this.reducePos=r,this.score-=190}canShift(t){for(let r=new YFe(this);;){let n=this.p.parser.stateSlot(r.state,4)||this.p.parser.hasAction(r.state,t);if(n==0)return!1;if((n&65536)==0)return!0;r.reduce(n)}}recoverByInsert(t){if(this.stack.length>=300)return[];let r=this.p.parser.nextStates(this.state);if(r.length>8||this.stack.length>=120){let i=[];for(let a=0,o;a<r.length;a+=2)(o=r[a+1])!=this.state&&this.p.parser.hasAction(o,t)&&i.push(r[a],o);if(this.stack.length<120)for(let a=0;i.length<8&&a<r.length;a+=2){let o=r[a+1];i.some((s,u)=>u&1&&s==o)||i.push(r[a],o)}r=i}let n=[];for(let i=0;i<r.length&&n.length<4;i+=2){let a=r[i+1];if(a==this.state)continue;let o=this.split();o.pushState(a,this.pos),o.storeNode(0,o.pos,o.pos,4,!0),o.shiftContext(r[i],this.pos),o.reducePos=this.pos,o.score-=200,n.push(o)}return n}forceReduce(){let{parser:t}=this.p,r=t.stateSlot(this.state,5);if((r&65536)==0)return!1;if(!t.validAction(this.state,r)){let n=r>>19,i=r&65535,a=this.stack.length-n*3;if(a<0||t.getGoto(this.stack[a],i,!1)<0){let o=this.findForcedReduction();if(o==null)return!1;r=o}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(r),!0}findForcedReduction(){let{parser:t}=this.p,r=[],n=(i,a)=>{if(!r.includes(i))return r.push(i),t.allActions(i,o=>{if(!(o&393216))if(o&65536){let s=(o>>19)-a;if(s>1){let u=o&65535,l=this.stack.length-s*3;if(l>=0&&t.getGoto(this.stack[l],u,!1)>=0)return s<<19|65536|u}}else{let s=n(o,a+1);if(s!=null)return s}})};return n(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:t}=this.p;return t.data[t.stateSlot(this.state,1)]==65535&&!t.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(t){if(this.state!=t.state||this.stack.length!=t.stack.length)return!1;for(let r=0;r<this.stack.length;r+=3)if(this.stack[r]!=t.stack[r])return!1;return!0}get parser(){return this.p.parser}dialectEnabled(t){return this.p.parser.dialect.flags[t]}shiftContext(t,r){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,t,this,this.p.stream.reset(r)))}reduceContext(t,r){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,t,this,this.p.stream.reset(r)))}emitContext(){let t=this.buffer.length-1;(t<0||this.buffer[t]!=-3)&&this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)}emitLookAhead(){let t=this.buffer.length-1;(t<0||this.buffer[t]!=-4)&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(t){if(t!=this.curContext.context){let r=new uK(this.curContext.tracker,t);r.hash!=this.curContext.hash&&this.emitContext(),this.curContext=r}}setLookAhead(t){t>this.lookAhead&&(this.emitLookAhead(),this.lookAhead=t)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class uK{constructor(t,r){this.tracker=t,this.context=r,this.hash=t.strict?t.hash(r):0}}class YFe{constructor(t){this.start=t,this.state=t.state,this.stack=t.stack,this.base=this.stack.length}reduce(t){let r=t&65535,n=t>>19;n==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(n-1)*3;let i=this.start.p.parser.getGoto(this.stack[this.base-3],r,!0);this.state=i}}class Z2{constructor(t,r,n){this.stack=t,this.pos=r,this.index=n,this.buffer=t.buffer,this.index==0&&this.maybeNext()}static create(t,r=t.bufferBase+t.buffer.length){return new Z2(t,r,r-t.bufferBase)}maybeNext(){let t=this.stack.parent;t!=null&&(this.index=this.stack.bufferBase-t.bufferBase,this.stack=t,this.buffer=t.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new Z2(this.stack,this.pos,this.index)}}function d_(e,t=Uint16Array){if(typeof e!="string")return e;let r=null;for(let n=0,i=0;n<e.length;){let a=0;for(;;){let o=e.charCodeAt(n++),s=!1;if(o==126){a=65535;break}o>=92&&o--,o>=34&&o--;let u=o-32;if(u>=46&&(u-=46,s=!0),a+=u,s)break;a*=46}r?r[i++]=a:r=new t(a)}return r}class LE{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const lK=new LE;class GFe{constructor(t,r){this.input=t,this.ranges=r,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=lK,this.rangeIndex=0,this.pos=this.chunkPos=r[0].from,this.range=r[0],this.end=r[r.length-1].to,this.readNext()}resolveOffset(t,r){let n=this.range,i=this.rangeIndex,a=this.pos+t;for(;a<n.from;){if(!i)return null;let o=this.ranges[--i];a-=n.from-o.to,n=o}for(;r<0?a>n.to:a>=n.to;){if(i==this.ranges.length-1)return null;let o=this.ranges[++i];a+=o.from-n.to,n=o}return a}clipPos(t){if(t>=this.range.from&&t<this.range.to)return t;for(let r of this.ranges)if(r.to>t)return Math.max(t,r.from);return this.end}peek(t){let r=this.chunkOff+t,n,i;if(r>=0&&r<this.chunk.length)n=this.pos+t,i=this.chunk.charCodeAt(r);else{let a=this.resolveOffset(t,1);if(a==null)return-1;if(n=a,n>=this.chunk2Pos&&n<this.chunk2Pos+this.chunk2.length)i=this.chunk2.charCodeAt(n-this.chunk2Pos);else{let o=this.rangeIndex,s=this.range;for(;s.to<=n;)s=this.ranges[++o];this.chunk2=this.input.chunk(this.chunk2Pos=n),n+this.chunk2.length>s.to&&(this.chunk2=this.chunk2.slice(0,s.to-n)),i=this.chunk2.charCodeAt(0)}}return n>=this.token.lookAhead&&(this.token.lookAhead=n+1),i}acceptToken(t,r=0){let n=r?this.resolveOffset(r,-1):this.pos;if(n==null||n<this.token.start)throw new RangeError("Token end out of bounds");this.token.value=t,this.token.end=n}acceptTokenTo(t,r){this.token.value=t,this.token.end=r}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:t,chunkPos:r}=this;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=t,this.chunk2Pos=r,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;let t=this.input.chunk(this.pos),r=this.pos+t.length;this.chunk=r>this.range.to?t.slice(0,this.range.to-this.pos):t,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(t=1){for(this.chunkOff+=t;this.pos+t>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();t-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=t,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(t,r){if(r?(this.token=r,r.start=t,r.lookAhead=t+1,r.value=r.extended=-1):this.token=lK,this.pos!=t){if(this.pos=t,t==this.end)return this.setDone(),this;for(;t<this.range.from;)this.range=this.ranges[--this.rangeIndex];for(;t>=this.range.to;)this.range=this.ranges[++this.rangeIndex];t>=this.chunkPos&&t<this.chunkPos+this.chunk.length?this.chunkOff=t-this.chunkPos:(this.chunk="",this.chunkOff=0),this.readNext()}return this}read(t,r){if(t>=this.chunkPos&&r<=this.chunkPos+this.chunk.length)return this.chunk.slice(t-this.chunkPos,r-this.chunkPos);if(t>=this.chunk2Pos&&r<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(t-this.chunk2Pos,r-this.chunk2Pos);if(t>=this.range.from&&r<=this.range.to)return this.input.read(t,r);let n="";for(let i of this.ranges){if(i.from>=r)break;i.to>t&&(n+=this.input.read(Math.max(i.from,t),Math.min(i.to,r)))}return n}}class Sb{constructor(t,r){this.data=t,this.id=r}token(t,r){let{parser:n}=r.p;ife(this.data,t,r,this.id,n.data,n.tokenPrecTable)}}Sb.prototype.contextual=Sb.prototype.fallback=Sb.prototype.extend=!1;class v9{constructor(t,r,n){this.precTable=r,this.elseToken=n,this.data=typeof t=="string"?d_(t):t}token(t,r){let n=t.pos,i=0;for(;;){let a=t.next<0,o=t.resolveOffset(1,1);if(ife(this.data,t,r,0,this.data,this.precTable),t.token.value>-1)break;if(this.elseToken==null)return;if(a||i++,o==null)break;t.reset(o,t.token)}i&&(t.reset(n,t.token),t.acceptToken(this.elseToken,i))}}v9.prototype.contextual=Sb.prototype.fallback=Sb.prototype.extend=!1;class zg{constructor(t,r={}){this.token=t,this.contextual=!!r.contextual,this.fallback=!!r.fallback,this.extend=!!r.extend}}function ife(e,t,r,n,i,a){let o=0,s=1<<n,{dialect:u}=r.p.parser;e:for(;(s&e[o])!=0;){let l=e[o+1];for(let h=o+3;h<l;h+=2)if((e[h+1]&s)>0){let g=e[h];if(u.allows(g)&&(t.token.value==-1||t.token.value==g||XFe(g,t.token.value,i,a))){t.acceptToken(g);break}}let c=t.next,f=0,d=e[o+2];if(t.next<0&&d>f&&e[l+d*3-3]==65535){o=e[l+d*3-1];continue e}for(;f<d;){let h=f+d>>1,g=l+h+(h<<1),m=e[g],v=e[g+1]||65536;if(c<m)d=h;else if(c>=v)f=h+1;else{o=e[g+2],t.advance();continue e}}break}}function cK(e,t,r){for(let n=t,i;(i=e[n])!=65535;n++)if(i==r)return n-t;return-1}function XFe(e,t,r,n){let i=cK(r,n,t);return i<0||cK(r,n,e)<i}const Wc=typeof process<"u"&&sK&&/\bparse\b/.test(sK.LOG);let RT=null;function fK(e,t,r){let n=e.cursor(su.IncludeAnonymous);for(n.moveTo(t);;)if(!(r<0?n.childBefore(t):n.childAfter(t)))for(;;){if((r<0?n.to<t:n.from>t)&&!n.type.isError)return r<0?Math.max(0,Math.min(n.to-1,t-25)):Math.min(e.length,Math.max(n.from+1,t+25));if(r<0?n.prevSibling():n.nextSibling())break;if(!n.parent())return r<0?0:e.length}}class JFe{constructor(t,r){this.fragments=t,this.nodeSet=r,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let t=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(t){for(this.safeFrom=t.openStart?fK(t.tree,t.from+t.offset,1)-t.offset:t.from,this.safeTo=t.openEnd?fK(t.tree,t.to+t.offset,-1)-t.offset:t.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(t.tree),this.start.push(-t.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(t){if(t<this.nextStart)return null;for(;this.fragment&&this.safeTo<=t;)this.nextFragment();if(!this.fragment)return null;for(;;){let r=this.trees.length-1;if(r<0)return this.nextFragment(),null;let n=this.trees[r],i=this.index[r];if(i==n.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let a=n.children[i],o=this.start[r]+n.positions[i];if(o>t)return this.nextStart=o,null;if(a instanceof dc){if(o==t){if(o<this.safeFrom)return null;let s=o+a.length;if(s<=this.safeTo){let u=a.prop(oa.lookAhead);if(!u||s+u<this.fragment.to)return a}}this.index[r]++,o+a.length>=Math.max(this.safeFrom,t)&&(this.trees.push(a),this.start.push(o),this.index.push(0))}else this.index[r]++,this.nextStart=o+a.length}}}class e7e{constructor(t,r){this.stream=r,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=t.tokenizers.map(n=>new LE)}getActions(t){let r=0,n=null,{parser:i}=t.p,{tokenizers:a}=i,o=i.stateSlot(t.state,3),s=t.curContext?t.curContext.hash:0,u=0;for(let l=0;l<a.length;l++){if((1<<l&o)==0)continue;let c=a[l],f=this.tokens[l];if(!(n&&!c.fallback)&&((c.contextual||f.start!=t.pos||f.mask!=o||f.context!=s)&&(this.updateCachedToken(f,c,t),f.mask=o,f.context=s),f.lookAhead>f.end+25&&(u=Math.max(f.lookAhead,u)),f.value!=0)){let d=r;if(f.extended>-1&&(r=this.addActions(t,f.extended,f.end,r)),r=this.addActions(t,f.value,f.end,r),!c.extend&&(n=f,r>d))break}}for(;this.actions.length>r;)this.actions.pop();return u&&t.setLookAhead(u),!n&&t.pos==this.stream.end&&(n=new LE,n.value=t.p.parser.eofTerm,n.start=n.end=t.pos,r=this.addActions(t,n.value,n.end,r)),this.mainToken=n,this.actions}getMainToken(t){if(this.mainToken)return this.mainToken;let r=new LE,{pos:n,p:i}=t;return r.start=n,r.end=Math.min(n+1,i.stream.end),r.value=n==i.stream.end?i.parser.eofTerm:0,r}updateCachedToken(t,r,n){let i=this.stream.clipPos(n.pos);if(r.token(this.stream.reset(i,t),n),t.value>-1){let{parser:a}=n.p;for(let o=0;o<a.specialized.length;o++)if(a.specialized[o]==t.value){let s=a.specializers[o](this.stream.read(t.start,t.end),n);if(s>=0&&n.p.parser.dialect.allows(s>>1)){(s&1)==0?t.value=s>>1:t.extended=s>>1;break}}}else t.value=0,t.end=this.stream.clipPos(i+1)}putAction(t,r,n,i){for(let a=0;a<i;a+=3)if(this.actions[a]==t)return i;return this.actions[i++]=t,this.actions[i++]=r,this.actions[i++]=n,i}addActions(t,r,n,i){let{state:a}=t,{parser:o}=t.p,{data:s}=o;for(let u=0;u<2;u++)for(let l=o.stateSlot(a,u?2:1);;l+=3){if(s[l]==65535)if(s[l+1]==1)l=x0(s,l+2);else{i==0&&s[l+1]==2&&(i=this.putAction(x0(s,l+2),r,n,i));break}s[l]==r&&(i=this.putAction(x0(s,l+1),r,n,i))}return i}}class t7e{constructor(t,r,n,i){this.parser=t,this.input=r,this.ranges=i,this.recovering=0,this.nextStackID=9812,this.minStackPos=0,this.reused=[],this.stoppedAt=null,this.lastBigReductionStart=-1,this.lastBigReductionSize=0,this.bigReductionCount=0,this.stream=new GFe(r,i),this.tokens=new e7e(t,this.stream),this.topTerm=t.top[1];let{from:a}=i[0];this.stacks=[W2.start(this,t.top[0],a)],this.fragments=n.length&&this.stream.end-a>t.bufferLength*4?new JFe(n,t.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let t=this.stacks,r=this.minStackPos,n=this.stacks=[],i,a;if(this.bigReductionCount>300&&t.length==1){let[o]=t;for(;o.forceReduce()&&o.stack.length&&o.stack[o.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let o=0;o<t.length;o++){let s=t[o];for(;;){if(this.tokens.mainToken=null,s.pos>r)n.push(s);else{if(this.advanceStack(s,n,t))continue;{i||(i=[],a=[]),i.push(s);let u=this.tokens.getMainToken(s);a.push(u.value,u.end)}}break}}if(!n.length){let o=i&&n7e(i);if(o)return Wc&&console.log("Finish with "+this.stackID(o)),this.stackToTree(o);if(this.parser.strict)throw Wc&&i&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+r);this.recovering||(this.recovering=5)}if(this.recovering&&i){let o=this.stoppedAt!=null&&i[0].pos>this.stoppedAt?i[0]:this.runRecovery(i,a,n);if(o)return Wc&&console.log("Force-finish "+this.stackID(o)),this.stackToTree(o.forceAll())}if(this.recovering){let o=this.recovering==1?1:this.recovering*3;if(n.length>o)for(n.sort((s,u)=>u.score-s.score);n.length>o;)n.pop();n.some(s=>s.reducePos>r)&&this.recovering--}else if(n.length>1){e:for(let o=0;o<n.length-1;o++){let s=n[o];for(let u=o+1;u<n.length;u++){let l=n[u];if(s.sameState(l)||s.buffer.length>500&&l.buffer.length>500)if((s.score-l.score||s.buffer.length-l.buffer.length)>0)n.splice(u--,1);else{n.splice(o--,1);continue e}}}n.length>12&&n.splice(12,n.length-12)}this.minStackPos=n[0].pos;for(let o=1;o<n.length;o++)n[o].pos<this.minStackPos&&(this.minStackPos=n[o].pos);return null}stopAt(t){if(this.stoppedAt!=null&&this.stoppedAt<t)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=t}advanceStack(t,r,n){let i=t.pos,{parser:a}=this,o=Wc?this.stackID(t)+" -> ":"";if(this.stoppedAt!=null&&i>this.stoppedAt)return t.forceReduce()?t:null;if(this.fragments){let l=t.curContext&&t.curContext.tracker.strict,c=l?t.curContext.hash:0;for(let f=this.fragments.nodeAt(i);f;){let d=this.parser.nodeSet.types[f.type.id]==f.type?a.getGoto(t.state,f.type.id):-1;if(d>-1&&f.length&&(!l||(f.prop(oa.contextHash)||0)==c))return t.useNode(f,d),Wc&&console.log(o+this.stackID(t)+` (via reuse of ${a.getName(f.type.id)})`),!0;if(!(f instanceof dc)||f.children.length==0||f.positions[0]>0)break;let h=f.children[0];if(h instanceof dc&&f.positions[0]==0)f=h;else break}}let s=a.stateSlot(t.state,4);if(s>0)return t.reduce(s),Wc&&console.log(o+this.stackID(t)+` (via always-reduce ${a.getName(s&65535)})`),!0;if(t.stack.length>=8400)for(;t.stack.length>6e3&&t.forceReduce(););let u=this.tokens.getActions(t);for(let l=0;l<u.length;){let c=u[l++],f=u[l++],d=u[l++],h=l==u.length||!n,g=h?t:t.split(),m=this.tokens.mainToken;if(g.apply(c,f,m?m.start:g.pos,d),Wc&&console.log(o+this.stackID(g)+` (via ${(c&65536)==0?"shift":`reduce of ${a.getName(c&65535)}`} for ${a.getName(f)} @ ${i}${g==t?"":", split"})`),h)return!0;g.pos>i?r.push(g):n.push(g)}return!1}advanceFully(t,r){let n=t.pos;for(;;){if(!this.advanceStack(t,null,null))return!1;if(t.pos>n)return dK(t,r),!0}}runRecovery(t,r,n){let i=null,a=!1;for(let o=0;o<t.length;o++){let s=t[o],u=r[o<<1],l=r[(o<<1)+1],c=Wc?this.stackID(s)+" -> ":"";if(s.deadEnd&&(a||(a=!0,s.restart(),Wc&&console.log(c+this.stackID(s)+" (restarted)"),this.advanceFully(s,n))))continue;let f=s.split(),d=c;for(let h=0;f.forceReduce()&&h<10&&(Wc&&console.log(d+this.stackID(f)+" (via force-reduce)"),!this.advanceFully(f,n));h++)Wc&&(d=this.stackID(f)+" -> ");for(let h of s.recoverByInsert(u))Wc&&console.log(c+this.stackID(h)+" (via recover-insert)"),this.advanceFully(h,n);this.stream.end>s.pos?(l==s.pos&&(l++,u=0),s.recoverByDelete(u,l),Wc&&console.log(c+this.stackID(s)+` (via recover-delete ${this.parser.getName(u)})`),dK(s,n)):(!i||i.score<s.score)&&(i=s)}return i}stackToTree(t){return t.close(),dc.build({buffer:Z2.create(t),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:t.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}stackID(t){let r=(RT||(RT=new WeakMap)).get(t);return r||RT.set(t,r=String.fromCodePoint(this.nextStackID++)),r+t}}function dK(e,t){for(let r=0;r<t.length;r++){let n=t[r];if(n.pos==e.pos&&n.sameState(e)){t[r].score<e.score&&(t[r]=e);return}}t.push(e)}class r7e{constructor(t,r,n){this.source=t,this.flags=r,this.disabled=n}allows(t){return!this.disabled||this.disabled[t]==0}}const kT=e=>e;class afe{constructor(t){this.start=t.start,this.shift=t.shift||kT,this.reduce=t.reduce||kT,this.reuse=t.reuse||kT,this.hash=t.hash||(()=>0),this.strict=t.strict!==!1}}class OS extends NFe{constructor(t){if(super(),this.wrappers=[],t.version!=14)throw new RangeError(`Parser version (${t.version}) doesn't match runtime version (14)`);let r=t.nodeNames.split(" ");this.minRepeatTerm=r.length;for(let s=0;s<t.repeatNodeCount;s++)r.push("");let n=Object.keys(t.topRules).map(s=>t.topRules[s][1]),i=[];for(let s=0;s<r.length;s++)i.push([]);function a(s,u,l){i[s].push([u,u.deserialize(String(l))])}if(t.nodeProps)for(let s of t.nodeProps){let u=s[0];typeof u=="string"&&(u=oa[u]);for(let l=1;l<s.length;){let c=s[l++];if(c>=0)a(c,u,s[l++]);else{let f=s[l+-c];for(let d=-c;d>0;d--)a(s[l++],u,f);l++}}}this.nodeSet=new uL(r.map((s,u)=>ah.define({name:u>=this.minRepeatTerm?void 0:s,id:u,props:i[u],top:n.indexOf(u)>-1,error:u==0,skipped:t.skippedNodes&&t.skippedNodes.indexOf(u)>-1}))),t.propSources&&(this.nodeSet=this.nodeSet.extend(...t.propSources)),this.strict=!1,this.bufferLength=Xce;let o=d_(t.tokenData);this.context=t.context,this.specializerSpecs=t.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let s=0;s<this.specializerSpecs.length;s++)this.specialized[s]=this.specializerSpecs[s].term;this.specializers=this.specializerSpecs.map(hK),this.states=d_(t.states,Uint32Array),this.data=d_(t.stateData),this.goto=d_(t.goto),this.maxTerm=t.maxTerm,this.tokenizers=t.tokenizers.map(s=>typeof s=="number"?new Sb(o,s):s),this.topRules=t.topRules,this.dialects=t.dialects||{},this.dynamicPrecedences=t.dynamicPrecedences||null,this.tokenPrecTable=t.tokenPrec,this.termNames=t.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(t,r,n){let i=new t7e(this,t,r,n);for(let a of this.wrappers)i=a(i,t,r,n);return i}getGoto(t,r,n=!1){let i=this.goto;if(r>=i[0])return-1;for(let a=i[r+1];;){let o=i[a++],s=o&1,u=i[a++];if(s&&n)return u;for(let l=a+(o>>1);a<l;a++)if(i[a]==t)return u;if(s)return-1}}hasAction(t,r){let n=this.data;for(let i=0;i<2;i++)for(let a=this.stateSlot(t,i?2:1),o;;a+=3){if((o=n[a])==65535)if(n[a+1]==1)o=n[a=x0(n,a+2)];else{if(n[a+1]==2)return x0(n,a+2);break}if(o==r||o==0)return x0(n,a+1)}return 0}stateSlot(t,r){return this.states[t*6+r]}stateFlag(t,r){return(this.stateSlot(t,0)&r)>0}validAction(t,r){return!!this.allActions(t,n=>n==r?!0:null)}allActions(t,r){let n=this.stateSlot(t,4),i=n?r(n):void 0;for(let a=this.stateSlot(t,1);i==null;a+=3){if(this.data[a]==65535)if(this.data[a+1]==1)a=x0(this.data,a+2);else break;i=r(x0(this.data,a+1))}return i}nextStates(t){let r=[];for(let n=this.stateSlot(t,1);;n+=3){if(this.data[n]==65535)if(this.data[n+1]==1)n=x0(this.data,n+2);else break;if((this.data[n+2]&1)==0){let i=this.data[n+1];r.some((a,o)=>o&1&&a==i)||r.push(this.data[n],i)}}return r}configure(t){let r=Object.assign(Object.create(OS.prototype),this);if(t.props&&(r.nodeSet=this.nodeSet.extend(...t.props)),t.top){let n=this.topRules[t.top];if(!n)throw new RangeError(`Invalid top rule name ${t.top}`);r.top=n}return t.tokenizers&&(r.tokenizers=this.tokenizers.map(n=>{let i=t.tokenizers.find(a=>a.from==n);return i?i.to:n})),t.specializers&&(r.specializers=this.specializers.slice(),r.specializerSpecs=this.specializerSpecs.map((n,i)=>{let a=t.specializers.find(s=>s.from==n.external);if(!a)return n;let o=Object.assign(Object.assign({},n),{external:a.to});return r.specializers[i]=hK(o),o})),t.contextTracker&&(r.context=t.contextTracker),t.dialect&&(r.dialect=this.parseDialect(t.dialect)),t.strict!=null&&(r.strict=t.strict),t.wrap&&(r.wrappers=r.wrappers.concat(t.wrap)),t.bufferLength!=null&&(r.bufferLength=t.bufferLength),r}hasWrappers(){return this.wrappers.length>0}getName(t){return this.termNames?this.termNames[t]:String(t<=this.maxNode&&this.nodeSet.types[t].name||t)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(t){let r=this.dynamicPrecedences;return r==null?0:r[t]||0}parseDialect(t){let r=Object.keys(this.dialects),n=r.map(()=>!1);if(t)for(let a of t.split(" ")){let o=r.indexOf(a);o>=0&&(n[o]=!0)}let i=null;for(let a=0;a<r.length;a++)if(!n[a])for(let o=this.dialects[r[a]],s;(s=this.data[o++])!=65535;)(i||(i=new Uint8Array(this.maxTerm+1)))[s]=1;return new r7e(t,n,i)}static deserialize(t){return new OS(t)}}function x0(e,t){return e[t]|e[t+1]<<16}function n7e(e){let t=null;for(let r of e){let n=r.p.stoppedAt;(r.pos==r.p.stream.end||n!=null&&r.pos>n)&&r.p.parser.stateFlag(r.state,2)&&(!t||t.score<r.score)&&(t=r)}return t}function hK(e){if(e.external){let t=e.extend?1:0;return(r,n)=>e.external(r,n)<<1|t}return e.get}const i7e=Symbol("Let zodToJsonSchema decide on which parser to use"),pK={name:void 0,$refStrategy:"root",basePath:["#"],effectStrategy:"input",pipeStrategy:"all",dateStrategy:"format:date-time",mapStrategy:"entries",removeAdditionalStrategy:"passthrough",definitionPath:"definitions",target:"jsonSchema7",strictUnions:!1,definitions:{},errorMessages:!1,markdownDescription:!1,patternStrategy:"escape",applyRegexFlags:!1,emailStrategy:"format:email",base64Strategy:"contentEncoding:base64",nameStrategy:"ref"},a7e=e=>typeof e=="string"?{...pK,name:e}:{...pK,...e},o7e=e=>{const t=a7e(e),r=t.name!==void 0?[...t.basePath,t.definitionPath,t.name]:t.basePath;return{...t,currentPath:r,propertyPath:void 0,seen:new Map(Object.entries(t.definitions).map(([n,i])=>[i._def,{def:i._def,path:[...t.basePath,t.definitionPath,n],jsonSchema:void 0}]))}};function ofe(e,t,r,n){n!=null&&n.errorMessages&&r&&(e.errorMessage={...e.errorMessage,[t]:r})}function Ci(e,t,r,n,i){e[t]=r,ofe(e,t,n,i)}function s7e(){return{}}function u7e(e,t){var n,i;const r={type:"array"};return((i=(n=e.type)==null?void 0:n._def)==null?void 0:i.typeName)!==Ft.ZodAny&&(r.items=li(e.type._def,{...t,currentPath:[...t.currentPath,"items"]})),e.minLength&&Ci(r,"minItems",e.minLength.value,e.minLength.message,t),e.maxLength&&Ci(r,"maxItems",e.maxLength.value,e.maxLength.message,t),e.exactLength&&(Ci(r,"minItems",e.exactLength.value,e.exactLength.message,t),Ci(r,"maxItems",e.exactLength.value,e.exactLength.message,t)),r}function l7e(e,t){const r={type:"integer",format:"int64"};if(!e.checks)return r;for(const n of e.checks)switch(n.kind){case"min":t.target==="jsonSchema7"?n.inclusive?Ci(r,"minimum",n.value,n.message,t):Ci(r,"exclusiveMinimum",n.value,n.message,t):(n.inclusive||(r.exclusiveMinimum=!0),Ci(r,"minimum",n.value,n.message,t));break;case"max":t.target==="jsonSchema7"?n.inclusive?Ci(r,"maximum",n.value,n.message,t):Ci(r,"exclusiveMaximum",n.value,n.message,t):(n.inclusive||(r.exclusiveMaximum=!0),Ci(r,"maximum",n.value,n.message,t));break;case"multipleOf":Ci(r,"multipleOf",n.value,n.message,t);break}return r}function c7e(){return{type:"boolean"}}function f7e(e,t){return li(e.type._def,t)}const d7e=(e,t)=>li(e.innerType._def,t);function sfe(e,t,r){const n=r??t.dateStrategy;if(Array.isArray(n))return{anyOf:n.map((i,a)=>sfe(e,t,i))};switch(n){case"string":case"format:date-time":return{type:"string",format:"date-time"};case"format:date":return{type:"string",format:"date"};case"integer":return h7e(e,t)}}const h7e=(e,t)=>{const r={type:"integer",format:"unix-time"};if(t.target==="openApi3")return r;for(const n of e.checks)switch(n.kind){case"min":Ci(r,"minimum",n.value,n.message,t);break;case"max":Ci(r,"maximum",n.value,n.message,t);break}return r};function p7e(e,t){return{...li(e.innerType._def,t),default:e.defaultValue()}}function m7e(e,t){return t.effectStrategy==="input"?li(e.schema._def,t):{}}function g7e(e){return{type:"string",enum:e.values}}const v7e=e=>"type"in e&&e.type==="string"?!1:"allOf"in e;function y7e(e,t){const r=[li(e.left._def,{...t,currentPath:[...t.currentPath,"allOf","0"]}),li(e.right._def,{...t,currentPath:[...t.currentPath,"allOf","1"]})].filter(a=>!!a);let n=t.target==="jsonSchema2019-09"?{unevaluatedProperties:!1}:void 0;const i=[];return r.forEach(a=>{if(v7e(a))i.push(...a.allOf),a.unevaluatedProperties===void 0&&(n=void 0);else{let o=a;if("additionalProperties"in a&&a.additionalProperties===!1){const{additionalProperties:s,...u}=a;o=u}else n=void 0;i.push(o)}}),i.length?{allOf:i,...n}:void 0}function b7e(e,t){const r=typeof e.value;return r!=="bigint"&&r!=="number"&&r!=="boolean"&&r!=="string"?{type:Array.isArray(e.value)?"array":"object"}:t.target==="openApi3"?{type:r==="bigint"?"integer":r,enum:[e.value]}:{type:r==="bigint"?"integer":r,const:e.value}}let TT;const bv={cuid:/^[cC][^\s-]{8,}$/,cuid2:/^[0-9a-z]+$/,ulid:/^[0-9A-HJKMNP-TV-Z]{26}$/,email:/^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-\.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9\-]*\.)+[a-zA-Z]{2,}$/,emoji:()=>(TT===void 0&&(TT=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),TT),base64:/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,nanoid:/^[a-zA-Z0-9_-]{21}$/};function ufe(e,t){const r={type:"string"};function n(i){return t.patternStrategy==="escape"?O7e(i):i}if(e.checks)for(const i of e.checks)switch(i.kind){case"min":Ci(r,"minLength",typeof r.minLength=="number"?Math.max(r.minLength,i.value):i.value,i.message,t);break;case"max":Ci(r,"maxLength",typeof r.maxLength=="number"?Math.min(r.maxLength,i.value):i.value,i.message,t);break;case"email":switch(t.emailStrategy){case"format:email":Qd(r,"email",i.message,t);break;case"format:idn-email":Qd(r,"idn-email",i.message,t);break;case"pattern:zod":Bd(r,bv.email,i.message,t);break}break;case"url":Qd(r,"uri",i.message,t);break;case"uuid":Qd(r,"uuid",i.message,t);break;case"regex":Bd(r,i.regex,i.message,t);break;case"cuid":Bd(r,bv.cuid,i.message,t);break;case"cuid2":Bd(r,bv.cuid2,i.message,t);break;case"startsWith":Bd(r,RegExp(`^${n(i.value)}`),i.message,t);break;case"endsWith":Bd(r,RegExp(`${n(i.value)}$`),i.message,t);break;case"datetime":Qd(r,"date-time",i.message,t);break;case"date":Qd(r,"date",i.message,t);break;case"time":Qd(r,"time",i.message,t);break;case"duration":Qd(r,"duration",i.message,t);break;case"length":Ci(r,"minLength",typeof r.minLength=="number"?Math.max(r.minLength,i.value):i.value,i.message,t),Ci(r,"maxLength",typeof r.maxLength=="number"?Math.min(r.maxLength,i.value):i.value,i.message,t);break;case"includes":{Bd(r,RegExp(n(i.value)),i.message,t);break}case"ip":{i.version!=="v6"&&Qd(r,"ipv4",i.message,t),i.version!=="v4"&&Qd(r,"ipv6",i.message,t);break}case"emoji":Bd(r,bv.emoji,i.message,t);break;case"ulid":{Bd(r,bv.ulid,i.message,t);break}case"base64":{switch(t.base64Strategy){case"format:binary":{Qd(r,"binary",i.message,t);break}case"contentEncoding:base64":{Ci(r,"contentEncoding","base64",i.message,t);break}case"pattern:zod":{Bd(r,bv.base64,i.message,t);break}}break}case"nanoid":Bd(r,bv.nanoid,i.message,t)}return r}const O7e=e=>Array.from(e).map(t=>/[a-zA-Z0-9]/.test(t)?t:`\\${t}`).join(""),Qd=(e,t,r,n)=>{var i;e.format||(i=e.anyOf)!=null&&i.some(a=>a.format)?(e.anyOf||(e.anyOf=[]),e.format&&(e.anyOf.push({format:e.format,...e.errorMessage&&n.errorMessages&&{errorMessage:{format:e.errorMessage.format}}}),delete e.format,e.errorMessage&&(delete e.errorMessage.format,Object.keys(e.errorMessage).length===0&&delete e.errorMessage)),e.anyOf.push({format:t,...r&&n.errorMessages&&{errorMessage:{format:r}}})):Ci(e,"format",t,r,n)},Bd=(e,t,r,n)=>{var i;e.pattern||(i=e.allOf)!=null&&i.some(a=>a.pattern)?(e.allOf||(e.allOf=[]),e.pattern&&(e.allOf.push({pattern:e.pattern,...e.errorMessage&&n.errorMessages&&{errorMessage:{pattern:e.errorMessage.pattern}}}),delete e.pattern,e.errorMessage&&(delete e.errorMessage.pattern,Object.keys(e.errorMessage).length===0&&delete e.errorMessage)),e.allOf.push({pattern:mK(t,n),...r&&n.errorMessages&&{errorMessage:{pattern:r}}})):Ci(e,"pattern",mK(t,n),r,n)},mK=(e,t)=>{var l;const r=typeof e=="function"?e():e;if(!t.applyRegexFlags||!r.flags)return r.source;const n={i:r.flags.includes("i"),m:r.flags.includes("m"),s:r.flags.includes("s")},i=n.i?r.source.toLowerCase():r.source;let a="",o=!1,s=!1,u=!1;for(let c=0;c<i.length;c++){if(o){a+=i[c],o=!1;continue}if(n.i){if(s){if(i[c].match(/[a-z]/)){u?(a+=i[c],a+=`${i[c-2]}-${i[c]}`.toUpperCase(),u=!1):i[c+1]==="-"&&((l=i[c+2])!=null&&l.match(/[a-z]/))?(a+=i[c],u=!0):a+=`${i[c]}${i[c].toUpperCase()}`;continue}}else if(i[c].match(/[a-z]/)){a+=`[${i[c]}${i[c].toUpperCase()}]`;continue}}if(n.m){if(i[c]==="^"){a+=`(^|(?<=[\r
564
564
  ]))`;continue}else if(i[c]==="$"){a+=`($|(?=[\r
565
565
  ]))`;continue}}if(n.s&&i[c]==="."){a+=s?`${i[c]}\r
566
566
  `:`[${i[c]}\r
567
- ]`;continue}a+=i[c],i[c]==="\\"?o=!0:s&&i[c]==="]"?s=!1:!s&&i[c]==="["&&(s=!0)}try{const c=new RegExp(a)}catch{return console.warn(`Could not convert regex pattern at ${t.currentPath.join("/")} to a flag-independent form! Falling back to the flag-ignorant source`),r.source}return a};function lfe(e,t){var n,i,a,o;if(t.target==="openApi3"&&((n=e.keyType)==null?void 0:n._def.typeName)===Ft.ZodEnum)return{type:"object",required:e.keyType._def.values,properties:e.keyType._def.values.reduce((s,u)=>({...s,[u]:li(e.valueType._def,{...t,currentPath:[...t.currentPath,"properties",u]})??{}}),{}),additionalProperties:!1};const r={type:"object",additionalProperties:li(e.valueType._def,{...t,currentPath:[...t.currentPath,"additionalProperties"]})??{}};if(t.target==="openApi3")return r;if(((i=e.keyType)==null?void 0:i._def.typeName)===Ft.ZodString&&((a=e.keyType._def.checks)!=null&&a.length)){const s=Object.entries(ufe(e.keyType._def,t)).reduce((u,[l,c])=>l==="type"?u:{...u,[l]:c},{});return{...r,propertyNames:s}}else if(((o=e.keyType)==null?void 0:o._def.typeName)===Ft.ZodEnum)return{...r,propertyNames:{enum:e.keyType._def.values}};return r}function O7e(e,t){if(t.mapStrategy==="record")return lfe(e,t);const r=li(e.keyType._def,{...t,currentPath:[...t.currentPath,"items","items","0"]})||{},n=li(e.valueType._def,{...t,currentPath:[...t.currentPath,"items","items","1"]})||{};return{type:"array",maxItems:125,items:{type:"array",items:[r,n],minItems:2,maxItems:2}}}function x7e(e){const t=e.values,n=Object.keys(e.values).filter(a=>typeof t[t[a]]!="number").map(a=>t[a]),i=Array.from(new Set(n.map(a=>typeof a)));return{type:i.length===1?i[0]==="string"?"string":"number":["string","number"],enum:n}}function _7e(){return{not:{}}}function S7e(e){return e.target==="openApi3"?{enum:["null"],nullable:!0}:{type:"null"}}const K2={ZodString:"string",ZodNumber:"number",ZodBigInt:"integer",ZodBoolean:"boolean",ZodNull:"null"};function w7e(e,t){if(t.target==="openApi3")return gK(e,t);const r=e.options instanceof Map?Array.from(e.options.values()):e.options;if(r.every(n=>n._def.typeName in K2&&(!n._def.checks||!n._def.checks.length))){const n=r.reduce((i,a)=>{const o=K2[a._def.typeName];return o&&!i.includes(o)?[...i,o]:i},[]);return{type:n.length>1?n:n[0]}}else if(r.every(n=>n._def.typeName==="ZodLiteral"&&!n.description)){const n=r.reduce((i,a)=>{const o=typeof a._def.value;switch(o){case"string":case"number":case"boolean":return[...i,o];case"bigint":return[...i,"integer"];case"object":if(a._def.value===null)return[...i,"null"];case"symbol":case"undefined":case"function":default:return i}},[]);if(n.length===r.length){const i=n.filter((a,o,s)=>s.indexOf(a)===o);return{type:i.length>1?i:i[0],enum:r.reduce((a,o)=>a.includes(o._def.value)?a:[...a,o._def.value],[])}}}else if(r.every(n=>n._def.typeName==="ZodEnum"))return{type:"string",enum:r.reduce((n,i)=>[...n,...i._def.values.filter(a=>!n.includes(a))],[])};return gK(e,t)}const gK=(e,t)=>{const r=(e.options instanceof Map?Array.from(e.options.values()):e.options).map((n,i)=>li(n._def,{...t,currentPath:[...t.currentPath,"anyOf",`${i}`]})).filter(n=>!!n&&(!t.strictUnions||typeof n=="object"&&Object.keys(n).length>0));return r.length?{anyOf:r}:void 0};function E7e(e,t){if(["ZodString","ZodNumber","ZodBigInt","ZodBoolean","ZodNull"].includes(e.innerType._def.typeName)&&(!e.innerType._def.checks||!e.innerType._def.checks.length))return t.target==="openApi3"?{type:K2[e.innerType._def.typeName],nullable:!0}:{type:[K2[e.innerType._def.typeName],"null"]};if(t.target==="openApi3"){const n=li(e.innerType._def,{...t,currentPath:[...t.currentPath]});return n&&"$ref"in n?{allOf:[n],nullable:!0}:n&&{...n,nullable:!0}}const r=li(e.innerType._def,{...t,currentPath:[...t.currentPath,"anyOf","0"]});return r&&{anyOf:[r,{type:"null"}]}}function $7e(e,t){const r={type:"number"};if(!e.checks)return r;for(const n of e.checks)switch(n.kind){case"int":r.type="integer",ofe(r,"type",n.message,t);break;case"min":t.target==="jsonSchema7"?n.inclusive?Ci(r,"minimum",n.value,n.message,t):Ci(r,"exclusiveMinimum",n.value,n.message,t):(n.inclusive||(r.exclusiveMinimum=!0),Ci(r,"minimum",n.value,n.message,t));break;case"max":t.target==="jsonSchema7"?n.inclusive?Ci(r,"maximum",n.value,n.message,t):Ci(r,"exclusiveMaximum",n.value,n.message,t):(n.inclusive||(r.exclusiveMaximum=!0),Ci(r,"maximum",n.value,n.message,t));break;case"multipleOf":Ci(r,"multipleOf",n.value,n.message,t);break}return r}function C7e(e,t){return t.removeAdditionalStrategy==="strict"?e.catchall._def.typeName==="ZodNever"?e.unknownKeys!=="strict":li(e.catchall._def,{...t,currentPath:[...t.currentPath,"additionalProperties"]})??!0:e.catchall._def.typeName==="ZodNever"?e.unknownKeys==="passthrough":li(e.catchall._def,{...t,currentPath:[...t.currentPath,"additionalProperties"]})??!0}function P7e(e,t){const r={type:"object",...Object.entries(e.shape()).reduce((n,[i,a])=>{if(a===void 0||a._def===void 0)return n;const o=li(a._def,{...t,currentPath:[...t.currentPath,"properties",i],propertyPath:[...t.currentPath,"properties",i]});return o===void 0?n:{properties:{...n.properties,[i]:o},required:a.isOptional()?n.required:[...n.required,i]}},{properties:{},required:[]}),additionalProperties:C7e(e,t)};return r.required.length||delete r.required,r}const D7e=(e,t)=>{var n;if(t.currentPath.toString()===((n=t.propertyPath)==null?void 0:n.toString()))return li(e.innerType._def,t);const r=li(e.innerType._def,{...t,currentPath:[...t.currentPath,"anyOf","1"]});return r?{anyOf:[{not:{}},r]}:{}},R7e=(e,t)=>{if(t.pipeStrategy==="input")return li(e.in._def,t);if(t.pipeStrategy==="output")return li(e.out._def,t);const r=li(e.in._def,{...t,currentPath:[...t.currentPath,"allOf","0"]}),n=li(e.out._def,{...t,currentPath:[...t.currentPath,"allOf",r?"1":"0"]});return{allOf:[r,n].filter(i=>i!==void 0)}};function k7e(e,t){return li(e.type._def,t)}function T7e(e,t){const n={type:"array",uniqueItems:!0,items:li(e.valueType._def,{...t,currentPath:[...t.currentPath,"items"]})};return e.minSize&&Ci(n,"minItems",e.minSize.value,e.minSize.message,t),e.maxSize&&Ci(n,"maxItems",e.maxSize.value,e.maxSize.message,t),n}function A7e(e,t){return e.rest?{type:"array",minItems:e.items.length,items:e.items.map((r,n)=>li(r._def,{...t,currentPath:[...t.currentPath,"items",`${n}`]})).reduce((r,n)=>n===void 0?r:[...r,n],[]),additionalItems:li(e.rest._def,{...t,currentPath:[...t.currentPath,"additionalItems"]})}:{type:"array",minItems:e.items.length,maxItems:e.items.length,items:e.items.map((r,n)=>li(r._def,{...t,currentPath:[...t.currentPath,"items",`${n}`]})).reduce((r,n)=>n===void 0?r:[...r,n],[])}}function F7e(){return{not:{}}}function I7e(){return{}}const M7e=(e,t)=>li(e.innerType._def,t);function li(e,t,r=!1){var o;const n=t.seen.get(e);if(t.override){const s=(o=t.override)==null?void 0:o.call(t,e,t,n,r);if(s!==n7e)return s}if(n&&!r){const s=N7e(n,t);if(s!==void 0)return s}const i={def:e,path:t.currentPath,jsonSchema:void 0};t.seen.set(e,i);const a=z7e(e,e.typeName,t);return a&&Q7e(e,t,a),i.jsonSchema=a,a}const N7e=(e,t)=>{switch(t.$refStrategy){case"root":return{$ref:e.path.join("/")};case"relative":return{$ref:L7e(t.currentPath,e.path)};case"none":case"seen":return e.path.length<t.currentPath.length&&e.path.every((r,n)=>t.currentPath[n]===r)?(console.warn(`Recursive reference detected at ${t.currentPath.join("/")}! Defaulting to any`),{}):t.$refStrategy==="seen"?{}:void 0}},L7e=(e,t)=>{let r=0;for(;r<e.length&&r<t.length&&e[r]===t[r];r++);return[(e.length-r).toString(),...t.slice(r)].join("/")},z7e=(e,t,r)=>{switch(t){case Ft.ZodString:return ufe(e,r);case Ft.ZodNumber:return $7e(e,r);case Ft.ZodObject:return P7e(e,r);case Ft.ZodBigInt:return u7e(e,r);case Ft.ZodBoolean:return l7e();case Ft.ZodDate:return sfe(e,r);case Ft.ZodUndefined:return F7e();case Ft.ZodNull:return S7e(r);case Ft.ZodArray:return s7e(e,r);case Ft.ZodUnion:case Ft.ZodDiscriminatedUnion:return w7e(e,r);case Ft.ZodIntersection:return v7e(e,r);case Ft.ZodTuple:return A7e(e,r);case Ft.ZodRecord:return lfe(e,r);case Ft.ZodLiteral:return y7e(e,r);case Ft.ZodEnum:return m7e(e);case Ft.ZodNativeEnum:return x7e(e);case Ft.ZodNullable:return E7e(e,r);case Ft.ZodOptional:return D7e(e,r);case Ft.ZodMap:return O7e(e,r);case Ft.ZodSet:return T7e(e,r);case Ft.ZodLazy:return li(e.getter()._def,r);case Ft.ZodPromise:return k7e(e,r);case Ft.ZodNaN:case Ft.ZodNever:return _7e();case Ft.ZodEffects:return p7e(e,r);case Ft.ZodAny:return o7e();case Ft.ZodUnknown:return I7e();case Ft.ZodDefault:return h7e(e,r);case Ft.ZodBranded:return c7e(e,r);case Ft.ZodReadonly:return M7e(e,r);case Ft.ZodCatch:return f7e(e,r);case Ft.ZodPipeline:return R7e(e,r);case Ft.ZodFunction:case Ft.ZodVoid:case Ft.ZodSymbol:return;default:return(n=>{})()}},Q7e=(e,t,r)=>(e.description&&(r.description=e.description,t.markdownDescription&&(r.markdownDescription=e.description)),r),Cht=(e,t)=>{const r=a7e(t),n=typeof t=="object"&&t.definitions?Object.entries(t.definitions).reduce((u,[l,c])=>({...u,[l]:li(c._def,{...r,currentPath:[...r.basePath,r.definitionPath,l]},!0)??{}}),{}):void 0,i=typeof t=="string"?t:(t==null?void 0:t.nameStrategy)==="title"||t==null?void 0:t.name,a=li(e._def,i===void 0?r:{...r,currentPath:[...r.basePath,r.definitionPath,i]},!1)??{},o=typeof t=="object"&&t.name!==void 0&&t.nameStrategy==="title"?t.name:void 0;o!==void 0&&(a.title=o);const s=i===void 0?n?{...a,[r.definitionPath]:n}:a:{$ref:[...r.$refStrategy==="relative"?[]:r.basePath,r.definitionPath,i].join("/"),[r.definitionPath]:{...n,[i]:a}};return r.target==="jsonSchema7"?s.$schema="http://json-schema.org/draft-07/schema#":r.target==="jsonSchema2019-09"&&(s.$schema="https://json-schema.org/draft/2019-09/schema#"),s};var Pht={output:"output",llm:"llm",retrieval:"retrieval",reranker:"reranker",message:"message",document:"document",embedding:"embedding",tool:"tool",tool_call:"tool_call",user:"user"},Dht={provider:"provider",model_name:"model_name",input_messages:"input_messages",output_messages:"output_messages",invocation_parameters:"invocation_parameters",prompts:"prompts",prompt_template:"prompt_template",tools:"tools"},Rht={documents:"documents"},kht={input_documents:"input_documents",output_documents:"output_documents",query:"query"},Tht={embeddings:"embeddings",text:"text",model_name:"model_name"},Aht={name:"name",description:"description",parameters:"parameters",json_schema:"json_schema"},Fht={role:"role",content:"content",contents:"contents",name:"name",function_call_name:"function_call_name",function_call_arguments_json:"function_call_arguments_json",tool_calls:"tool_calls",tool_call_id:"tool_call_id"},Iht={id:"id",content:"content",score:"score",metadata:"metadata"},Mht={id:"id"},vK;(function(e){e.LLM="LLM",e.CHAIN="CHAIN",e.TOOL="TOOL",e.RETRIEVER="RETRIEVER",e.RERANKER="RERANKER",e.EMBEDDING="EMBEDDING",e.AGENT="AGENT",e.GUARDRAIL="GUARDRAIL",e.EVALUATOR="EVALUATOR"})(vK||(vK={}));var yK;(function(e){e.TEXT="text/plain",e.JSON="application/json"})(yK||(yK={}));var bK;(function(e){e.OPENAI="openai",e.ANTHROPIC="anthropic",e.MISTRALAI="mistralai",e.COHERE="cohere",e.VERTEXAI="vertexai"})(bK||(bK={}));var OK;(function(e){e.OPENAI="openai",e.ANTHROPIC="anthropic",e.MISTRALAI="mistralai",e.COHERE="cohere",e.GOOGLE="google",e.AWS="aws",e.AZURE="azure"})(OK||(OK={}));function y9(){return y9=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},y9.apply(this,arguments)}var cfe=["shift","alt","meta","mod","ctrl"],B7e={esc:"escape",return:"enter",".":"period",",":"comma","-":"slash"," ":"space","`":"backquote","#":"backslash","+":"bracketright",ShiftLeft:"shift",ShiftRight:"shift",AltLeft:"alt",AltRight:"alt",MetaLeft:"meta",MetaRight:"meta",OSLeft:"meta",OSRight:"meta",ControlLeft:"ctrl",ControlRight:"ctrl"};function ng(e){return(B7e[e]||e).trim().toLowerCase().replace(/key|digit|numpad|arrow/,"")}function q7e(e){return cfe.includes(e)}function AT(e,t){return t===void 0&&(t=","),e.split(t)}function FT(e,t,r){t===void 0&&(t="+");var n=e.toLocaleLowerCase().split(t).map(function(o){return ng(o)}),i={alt:n.includes("alt"),ctrl:n.includes("ctrl")||n.includes("control"),shift:n.includes("shift"),meta:n.includes("meta"),mod:n.includes("mod")},a=n.filter(function(o){return!cfe.includes(o)});return y9({},i,{keys:a,description:r})}(function(){typeof document<"u"&&(document.addEventListener("keydown",function(e){e.key!==void 0&&ffe([ng(e.key),ng(e.code)])}),document.addEventListener("keyup",function(e){e.key!==void 0&&dfe([ng(e.key),ng(e.code)])})),typeof window<"u"&&window.addEventListener("blur",function(){ig.clear()})})();var ig=new Set;function dL(e){return Array.isArray(e)}function U7e(e,t){t===void 0&&(t=",");var r=dL(e)?e:e.split(t);return r.every(function(n){return ig.has(n.trim().toLowerCase())})}function ffe(e){var t=Array.isArray(e)?e:[e];ig.has("meta")&&ig.forEach(function(r){return!q7e(r)&&ig.delete(r.toLowerCase())}),t.forEach(function(r){return ig.add(r.toLowerCase())})}function dfe(e){var t=Array.isArray(e)?e:[e];e==="meta"?ig.clear():t.forEach(function(r){return ig.delete(r.toLowerCase())})}function V7e(e,t,r){(typeof r=="function"&&r(e,t)||r===!0)&&e.preventDefault()}function j7e(e,t,r){return typeof r=="function"?r(e,t):r===!0||r===void 0}function W7e(e){return hfe(e,["input","textarea","select"])}function hfe(e,t){var r=e.target;t===void 0&&(t=!1);var n=r&&r.tagName;return dL(t)?!!(n&&t&&t.some(function(i){return i.toLowerCase()===n.toLowerCase()})):!!(n&&t&&t===!0)}function Z7e(e,t){return e.length===0&&t?(console.warn('A hotkey has the "scopes" option set, however no active scopes were found. If you want to use the global scopes feature, you need to wrap your app in a <HotkeysProvider>'),!0):t?e.some(function(r){return t.includes(r)})||e.includes("*"):!0}var K7e=function(t,r,n){n===void 0&&(n=!1);var i=r.alt,a=r.meta,o=r.mod,s=r.shift,u=r.ctrl,l=r.keys,c=t.key,f=t.code,d=t.ctrlKey,h=t.metaKey,g=t.shiftKey,m=t.altKey,v=ng(f),y=c.toLowerCase();if(!(l!=null&&l.includes(v))&&!(l!=null&&l.includes(y))&&!["ctrl","control","unknown","meta","alt","shift","os"].includes(v))return!1;if(!n){if(i===!m&&y!=="alt"||s===!g&&y!=="shift")return!1;if(o){if(!h&&!d)return!1}else if(a===!h&&y!=="meta"&&y!=="os"||u===!d&&y!=="ctrl"&&y!=="control")return!1}return l&&l.length===1&&(l.includes(y)||l.includes(v))?!0:l?U7e(l):!l},H7e=F.createContext(void 0),Y7e=function(){return F.useContext(H7e)};function pfe(e,t){return e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(e).length===Object.keys(t).length&&Object.keys(e).reduce(function(r,n){return r&&pfe(e[n],t[n])},!0):e===t}var G7e=F.createContext({hotkeys:[],enabledScopes:[],toggleScope:function(){},enableScope:function(){},disableScope:function(){}}),X7e=function(){return F.useContext(G7e)};function J7e(e){var t=F.useRef(void 0);return pfe(t.current,e)||(t.current=e),t.current}var xK=function(t){t.stopPropagation(),t.preventDefault(),t.stopImmediatePropagation()},eIe=typeof window<"u"?F.useLayoutEffect:F.useEffect;function Nht(e,t,r,n){var i=F.useRef(null),a=F.useRef(!1),o=r instanceof Array?n instanceof Array?void 0:n:r,s=dL(e)?e.join(o==null?void 0:o.splitKey):e,u=r instanceof Array?r:n instanceof Array?n:void 0,l=F.useCallback(t,u??[]),c=F.useRef(l);u?c.current=l:c.current=t;var f=J7e(o),d=X7e(),h=d.enabledScopes,g=Y7e();return eIe(function(){if(!((f==null?void 0:f.enabled)===!1||!Z7e(h,f==null?void 0:f.scopes))){var m=function(C,w){var E;if(w===void 0&&(w=!1),!(W7e(C)&&!hfe(C,f==null?void 0:f.enableOnFormTags))){if(i.current!==null){var T=i.current.getRootNode();if((T instanceof Document||T instanceof ShadowRoot)&&T.activeElement!==i.current&&!i.current.contains(T.activeElement)){xK(C);return}}(E=C.target)!=null&&E.isContentEditable&&!(f!=null&&f.enableOnContentEditable)||AT(s,f==null?void 0:f.splitKey).forEach(function(P){var L,N=FT(P,f==null?void 0:f.combinationKey);if(K7e(C,N,f==null?void 0:f.ignoreModifiers)||(L=N.keys)!=null&&L.includes("*")){if(f!=null&&f.ignoreEventWhen!=null&&f.ignoreEventWhen(C)||w&&a.current)return;if(V7e(C,N,f==null?void 0:f.preventDefault),!j7e(C,N,f==null?void 0:f.enabled)){xK(C);return}c.current(C,N),w||(a.current=!0)}})}},v=function(C){C.key!==void 0&&(ffe(ng(C.code)),((f==null?void 0:f.keydown)===void 0&&(f==null?void 0:f.keyup)!==!0||f!=null&&f.keydown)&&m(C))},y=function(C){C.key!==void 0&&(dfe(ng(C.code)),a.current=!1,f!=null&&f.keyup&&m(C,!0))},O=i.current||(o==null?void 0:o.document)||document;return O.addEventListener("keyup",y),O.addEventListener("keydown",v),g&&AT(s,f==null?void 0:f.splitKey).forEach(function(x){return g.addHotkey(FT(x,f==null?void 0:f.combinationKey,f==null?void 0:f.description))}),function(){O.removeEventListener("keyup",y),O.removeEventListener("keydown",v),g&&AT(s,f==null?void 0:f.splitKey).forEach(function(x){return g.removeHotkey(FT(x,f==null?void 0:f.combinationKey,f==null?void 0:f.description))})}}},[s,f,h]),i}F.createContext(null);F.createContext(null);F.createContext(null);F.createContext(null);F.createContext(null);const mfe=F.createContext({}),xS=Symbol("default");function Na({values:e,children:t}){for(let[r,n]of e)t=$e.createElement(r.Provider,{value:n},t);return t}function _n(e){let{className:t,style:r,children:n,defaultClassName:i,defaultChildren:a,defaultStyle:o,values:s}=e;return F.useMemo(()=>{let u,l,c;return typeof t=="function"?u=t({...s,defaultClassName:i}):u=t,typeof r=="function"?l=r({...s,defaultStyle:o||{}}):l=r,typeof n=="function"?c=n({...s,defaultChildren:a}):n==null?c=a:c=n,{className:u??i,style:l||o?{...o,...l}:void 0,children:c??a,"data-rac":""}},[t,r,n,i,a,o,s])}function Jf(e,t){let r=F.useContext(e);if(t===null)return null;if(r&&typeof r=="object"&&"slots"in r&&r.slots){let n=t||xS;if(!r.slots[n]){let i=new Intl.ListFormat().format(Object.keys(r.slots).map(o=>`"${o}"`)),a=t?`Invalid slot "${t}".`:"A slot prop is required.";throw new Error(`${a} Valid slot names are ${i}.`)}return r.slots[n]}return r}function Un(e,t,r){let n=Jf(r,e.slot)||{},{ref:i,...a}=n,o=yl(F.useMemo(()=>uO(t,i),[t,i])),s=Qt(a,e);return"style"in a&&a.style&&"style"in e&&e.style&&(typeof a.style=="function"||typeof e.style=="function"?s.style=u=>{let l=typeof a.style=="function"?a.style(u):a.style,c={...u.defaultStyle,...l},f=typeof e.style=="function"?e.style({...u,defaultStyle:c}):e.style;return{...c,...f}}:s.style={...a.style,...e.style}),[s,o]}function ed(e=!0){let[t,r]=F.useState(e),n=F.useRef(!1),i=F.useCallback(a=>{n.current=!0,r(!!a)},[]);return Nn(()=>{n.current||r(!1)},[]),[i,t]}function q0(e){const t=/^(data-.*)$/;let r={};for(const n in e)t.test(n)||(r[n]=e[n]);return r}class hL{get childNodes(){throw new Error("childNodes is not supported")}clone(){let t=new hL(this.type,this.key);return t.value=this.value,t.level=this.level,t.hasChildNodes=this.hasChildNodes,t.rendered=this.rendered,t.textValue=this.textValue,t["aria-label"]=this["aria-label"],t.index=this.index,t.parentKey=this.parentKey,t.prevKey=this.prevKey,t.nextKey=this.nextKey,t.firstChildKey=this.firstChildKey,t.lastChildKey=this.lastChildKey,t.props=this.props,t.render=this.render,t.colSpan=this.colSpan,t.colIndex=this.colIndex,t}constructor(t,r){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue="",this["aria-label"]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.colSpan=null,this.colIndex=null,this.type=t,this.key=r}}class pL{get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}*[Symbol.iterator](){let t=this.firstKey!=null?this.keyMap.get(this.firstKey):void 0;for(;t;)yield t,t=t.nextKey!=null?this.keyMap.get(t.nextKey):void 0}getChildren(t){let r=this.keyMap;return{*[Symbol.iterator](){let n=r.get(t),i=(n==null?void 0:n.firstChildKey)!=null?r.get(n.firstChildKey):null;for(;i;)yield i,i=i.nextKey!=null?r.get(i.nextKey):void 0}}}getKeyBefore(t){let r=this.keyMap.get(t);if(!r)return null;if(r.prevKey!=null){for(r=this.keyMap.get(r.prevKey);r&&r.type!=="item"&&r.lastChildKey!=null;)r=this.keyMap.get(r.lastChildKey);var n;return(n=r==null?void 0:r.key)!==null&&n!==void 0?n:null}return r.parentKey}getKeyAfter(t){let r=this.keyMap.get(t);if(!r)return null;if(r.type!=="item"&&r.firstChildKey!=null)return r.firstChildKey;for(;r;){if(r.nextKey!=null)return r.nextKey;if(r.parentKey!=null)r=this.keyMap.get(r.parentKey);else return null}return null}getFirstKey(){return this.firstKey}getLastKey(){let t=this.lastKey!=null?this.keyMap.get(this.lastKey):null;for(;(t==null?void 0:t.lastChildKey)!=null;)t=this.keyMap.get(t.lastChildKey);var r;return(r=t==null?void 0:t.key)!==null&&r!==void 0?r:null}getItem(t){var r;return(r=this.keyMap.get(t))!==null&&r!==void 0?r:null}at(){throw new Error("Not implemented")}clone(){let t=this.constructor,r=new t;return r.keyMap=new Map(this.keyMap),r.firstKey=this.firstKey,r.lastKey=this.lastKey,r}addNode(t){if(this.frozen)throw new Error("Cannot add a node to a frozen collection");this.keyMap.set(t.key,t)}removeNode(t){if(this.frozen)throw new Error("Cannot remove a node to a frozen collection");this.keyMap.delete(t)}commit(t,r,n=!1){if(this.frozen)throw new Error("Cannot commit a frozen collection");this.firstKey=t,this.lastKey=r,this.frozen=!n}UNSTABLE_filter(t){let r=new pL,n=null;for(let i of this)if(i.type==="section"&&i.hasChildNodes){let a=i.clone(),o=null;for(let s of this.getChildren(i.key))if(_K(s,t,this,r)){let u=s.clone();o==null&&(a.firstChildKey=u.key),r.firstKey==null&&(r.firstKey=a.key),o&&o.parentKey===u.parentKey?(o.nextKey=u.key,u.prevKey=o.key):u.prevKey=null,u.nextKey=null,r.addNode(u),o=u}o&&(o.type!=="header"?(a.lastChildKey=o.key,n==null?a.prevKey=null:(n.type==="section"||n.type==="separator")&&(n.nextKey=a.key,a.prevKey=n.key),a.nextKey=null,n=a,r.addNode(a)):(r.firstKey===a.key&&(r.firstKey=null),r.removeNode(o.key)))}else if(i.type==="separator"){let a=i.clone();a.nextKey=null,(n==null?void 0:n.type)==="section"&&(n.nextKey=a.key,a.prevKey=n.key,n=a,r.addNode(a))}else{let a=i.clone();_K(a,t,this,r)&&(r.firstKey==null&&(r.firstKey=a.key),n!=null&&n.type!=="section"&&n.type!=="separator"&&n.parentKey===a.parentKey?(n.nextKey=a.key,a.prevKey=n.key):a.prevKey=null,a.nextKey=null,r.addNode(a),n=a)}if((n==null?void 0:n.type)==="separator"&&n.nextKey===null){let i;n.prevKey!=null&&(i=r.getItem(n.prevKey),i.nextKey=null),r.removeNode(n.key),n=i}return r.lastKey=(n==null?void 0:n.key)||null,r}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1}}function _K(e,t,r,n){if(e.type==="subdialogtrigger"||e.type==="submenutrigger"){let i=[...r.getChildren(e.key)][0];if(i&&t(i.textValue)){let a=i.clone();return n.addNode(a),!0}else return!1}else return e.type==="header"?!0:t(e.textValue)}class gfe{*[Symbol.iterator](){let t=this.firstChild;for(;t;)yield t,t=t.nextSibling}get firstChild(){return this._firstChild}set firstChild(t){this._firstChild=t,this.ownerDocument.markDirty(this)}get lastChild(){return this._lastChild}set lastChild(t){this._lastChild=t,this.ownerDocument.markDirty(this)}get previousSibling(){return this._previousSibling}set previousSibling(t){this._previousSibling=t,this.ownerDocument.markDirty(this)}get nextSibling(){return this._nextSibling}set nextSibling(t){this._nextSibling=t,this.ownerDocument.markDirty(this)}get parentNode(){return this._parentNode}set parentNode(t){this._parentNode=t,this.ownerDocument.markDirty(this)}get isConnected(){var t;return((t=this.parentNode)===null||t===void 0?void 0:t.isConnected)||!1}appendChild(t){this.ownerDocument.startTransaction(),t.parentNode&&t.parentNode.removeChild(t),this.firstChild==null&&(this.firstChild=t),this.lastChild?(this.lastChild.nextSibling=t,t.index=this.lastChild.index+1,t.previousSibling=this.lastChild):(t.previousSibling=null,t.index=0),t.parentNode=this,t.nextSibling=null,this.lastChild=t,this.ownerDocument.markDirty(this),t.hasSetProps&&this.ownerDocument.addNode(t),this.ownerDocument.endTransaction(),this.ownerDocument.queueUpdate()}insertBefore(t,r){if(r==null)return this.appendChild(t);this.ownerDocument.startTransaction(),t.parentNode&&t.parentNode.removeChild(t),t.nextSibling=r,t.previousSibling=r.previousSibling,t.index=r.index,this.firstChild===r?this.firstChild=t:r.previousSibling&&(r.previousSibling.nextSibling=t),r.previousSibling=t,t.parentNode=r.parentNode;let n=r;for(;n;)n.index++,n=n.nextSibling;t.hasSetProps&&this.ownerDocument.addNode(t),this.ownerDocument.endTransaction(),this.ownerDocument.queueUpdate()}removeChild(t){if(t.parentNode!==this||!this.ownerDocument.isMounted)return;this.ownerDocument.startTransaction();let r=t.nextSibling;for(;r;)r.index--,r=r.nextSibling;t.nextSibling&&(t.nextSibling.previousSibling=t.previousSibling),t.previousSibling&&(t.previousSibling.nextSibling=t.nextSibling),this.firstChild===t&&(this.firstChild=t.nextSibling),this.lastChild===t&&(this.lastChild=t.previousSibling),t.parentNode=null,t.nextSibling=null,t.previousSibling=null,t.index=0,this.ownerDocument.removeNode(t),this.ownerDocument.endTransaction(),this.ownerDocument.queueUpdate()}addEventListener(){}removeEventListener(){}constructor(t){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this.ownerDocument=t}}class _S extends gfe{get index(){return this._index}set index(t){this._index=t,this.ownerDocument.markDirty(this)}get level(){return this.parentNode instanceof _S?this.parentNode.level+(this.node.type==="item"?1:0):0}updateNode(){var t,r,n,i;let a=this.ownerDocument.getMutableNode(this);a.index=this.index,a.level=this.level,a.parentKey=this.parentNode instanceof _S?this.parentNode.node.key:null;var o;a.prevKey=(o=(t=this.previousSibling)===null||t===void 0?void 0:t.node.key)!==null&&o!==void 0?o:null;var s;a.nextKey=(s=(r=this.nextSibling)===null||r===void 0?void 0:r.node.key)!==null&&s!==void 0?s:null,a.hasChildNodes=!!this.firstChild;var u;a.firstChildKey=(u=(n=this.firstChild)===null||n===void 0?void 0:n.node.key)!==null&&u!==void 0?u:null;var l;if(a.lastChildKey=(l=(i=this.lastChild)===null||i===void 0?void 0:i.node.key)!==null&&l!==void 0?l:null,(a.colSpan!=null||a.colIndex!=null)&&this.nextSibling){var c,f;let d=((c=a.colIndex)!==null&&c!==void 0?c:a.index)+((f=a.colSpan)!==null&&f!==void 0?f:1);if(d!==this.nextSibling.node.colIndex){let h=this.ownerDocument.getMutableNode(this.nextSibling);h.colIndex=d}}}setProps(t,r,n,i){let a=this.ownerDocument.getMutableNode(this),{value:o,textValue:s,id:u,...l}=t;if(l.ref=r,a.props=l,a.rendered=n,a.render=i,a.value=o,a.textValue=s||(typeof l.children=="string"?l.children:"")||t["aria-label"]||"",u!=null&&u!==a.key){if(this.hasSetProps)throw new Error("Cannot change the id of an item");a.key=u}l.colSpan!=null&&(a.colSpan=l.colSpan),this.hasSetProps||(this.ownerDocument.addNode(this),this.ownerDocument.endTransaction(),this.hasSetProps=!0),this.ownerDocument.queueUpdate()}get style(){return{}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}constructor(t,r){super(r),this.nodeType=8,this._index=0,this.hasSetProps=!1,this.node=new hL(t,`react-aria-${++r.nodeId}`),this.ownerDocument.startTransaction()}}class tIe extends gfe{get isConnected(){return this.isMounted}createElement(t){return new _S(t,this)}getMutableNode(t){let r=t.node;return this.mutatedNodes.has(t)||(r=t.node.clone(),this.mutatedNodes.add(t),t.node=r),this.markDirty(t),r}getMutableCollection(){return!this.isSSR&&!this.collectionMutated&&(this.collection=this.collection.clone(),this.collectionMutated=!0),this.collection}markDirty(t){this.dirtyNodes.add(t)}startTransaction(){this.transactionCount++}endTransaction(){this.transactionCount--}addNode(t){let r=this.getMutableCollection();if(!r.getItem(t.node.key)){r.addNode(t.node);for(let n of t)this.addNode(n)}this.markDirty(t)}removeNode(t){for(let n of t)this.removeNode(n);this.getMutableCollection().removeNode(t.node.key),this.markDirty(t)}getCollection(){return this.transactionCount>0?this.collection:(this.updateCollection(),this.collection)}updateCollection(){for(let a of this.dirtyNodes)a instanceof _S&&a.isConnected&&a.updateNode();if(this.dirtyNodes.clear(),this.mutatedNodes.size||this.collectionMutated){var t,r;let a=this.getMutableCollection();for(let o of this.mutatedNodes)o.isConnected&&a.addNode(o.node);this.mutatedNodes.clear();var n,i;a.commit((n=(t=this.firstChild)===null||t===void 0?void 0:t.node.key)!==null&&n!==void 0?n:null,(i=(r=this.lastChild)===null||r===void 0?void 0:r.node.key)!==null&&i!==void 0?i:null,this.isSSR)}this.collectionMutated=!1}queueUpdate(){if(!(this.dirtyNodes.size===0||this.transactionCount>0))for(let t of this.subscriptions)t()}subscribe(t){return this.subscriptions.add(t),()=>this.subscriptions.delete(t)}resetAfterSSR(){this.isSSR&&(this.isSSR=!1,this.firstChild=null,this.lastChild=null,this.nodeId=0)}constructor(t){super(null),this.nodeType=11,this.ownerDocument=this,this.dirtyNodes=new Set,this.isSSR=!1,this.nodeId=0,this.nodesByProps=new WeakMap,this.isMounted=!0,this.mutatedNodes=new Set,this.subscriptions=new Set,this.transactionCount=0,this.collection=t,this.collectionMutated=!0}}function vfe(e){let{children:t,items:r,idScope:n,addIdAndValue:i,dependencies:a=[]}=e,o=F.useMemo(()=>new WeakMap,a);return F.useMemo(()=>{if(r&&typeof t=="function"){let l=[];for(let c of r){let f=o.get(c);if(!f){f=t(c);var s,u;let d=(u=(s=f.props.id)!==null&&s!==void 0?s:c.key)!==null&&u!==void 0?u:c.id;if(d==null)throw new Error("Could not determine key for item");n&&(d=n+":"+d),f=F.cloneElement(f,i?{key:d,id:d,value:c}:{key:d}),o.set(c,f)}l.push(f)}return l}else if(typeof t!="function")return t},[t,r,o,n,i])}if(typeof HTMLTemplateElement<"u"){const e=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild").get;Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.dataset.reactAriaHidden?this.content.firstChild:e.call(this)}})}const H2=F.createContext(!1);function rIe(e){if(F.useContext(H2))return $e.createElement($e.Fragment,null,e.children);let r=$e.createElement(H2.Provider,{value:!0},e.children);return $e.createElement("template",{"data-react-aria-hidden":!0},r)}function gO(e){let t=(r,n)=>F.useContext(H2)?null:e(r,n);return t.displayName=e.displayName||e.name,F.forwardRef(t)}function nIe(){return F.useContext(H2)}var IT={exports:{}},MT={};/**
567
+ ]`;continue}a+=i[c],i[c]==="\\"?o=!0:s&&i[c]==="]"?s=!1:!s&&i[c]==="["&&(s=!0)}try{const c=new RegExp(a)}catch{return console.warn(`Could not convert regex pattern at ${t.currentPath.join("/")} to a flag-independent form! Falling back to the flag-ignorant source`),r.source}return a};function lfe(e,t){var n,i,a,o;if(t.target==="openApi3"&&((n=e.keyType)==null?void 0:n._def.typeName)===Ft.ZodEnum)return{type:"object",required:e.keyType._def.values,properties:e.keyType._def.values.reduce((s,u)=>({...s,[u]:li(e.valueType._def,{...t,currentPath:[...t.currentPath,"properties",u]})??{}}),{}),additionalProperties:!1};const r={type:"object",additionalProperties:li(e.valueType._def,{...t,currentPath:[...t.currentPath,"additionalProperties"]})??{}};if(t.target==="openApi3")return r;if(((i=e.keyType)==null?void 0:i._def.typeName)===Ft.ZodString&&((a=e.keyType._def.checks)!=null&&a.length)){const s=Object.entries(ufe(e.keyType._def,t)).reduce((u,[l,c])=>l==="type"?u:{...u,[l]:c},{});return{...r,propertyNames:s}}else if(((o=e.keyType)==null?void 0:o._def.typeName)===Ft.ZodEnum)return{...r,propertyNames:{enum:e.keyType._def.values}};return r}function x7e(e,t){if(t.mapStrategy==="record")return lfe(e,t);const r=li(e.keyType._def,{...t,currentPath:[...t.currentPath,"items","items","0"]})||{},n=li(e.valueType._def,{...t,currentPath:[...t.currentPath,"items","items","1"]})||{};return{type:"array",maxItems:125,items:{type:"array",items:[r,n],minItems:2,maxItems:2}}}function _7e(e){const t=e.values,n=Object.keys(e.values).filter(a=>typeof t[t[a]]!="number").map(a=>t[a]),i=Array.from(new Set(n.map(a=>typeof a)));return{type:i.length===1?i[0]==="string"?"string":"number":["string","number"],enum:n}}function S7e(){return{not:{}}}function w7e(e){return e.target==="openApi3"?{enum:["null"],nullable:!0}:{type:"null"}}const K2={ZodString:"string",ZodNumber:"number",ZodBigInt:"integer",ZodBoolean:"boolean",ZodNull:"null"};function E7e(e,t){if(t.target==="openApi3")return gK(e,t);const r=e.options instanceof Map?Array.from(e.options.values()):e.options;if(r.every(n=>n._def.typeName in K2&&(!n._def.checks||!n._def.checks.length))){const n=r.reduce((i,a)=>{const o=K2[a._def.typeName];return o&&!i.includes(o)?[...i,o]:i},[]);return{type:n.length>1?n:n[0]}}else if(r.every(n=>n._def.typeName==="ZodLiteral"&&!n.description)){const n=r.reduce((i,a)=>{const o=typeof a._def.value;switch(o){case"string":case"number":case"boolean":return[...i,o];case"bigint":return[...i,"integer"];case"object":if(a._def.value===null)return[...i,"null"];case"symbol":case"undefined":case"function":default:return i}},[]);if(n.length===r.length){const i=n.filter((a,o,s)=>s.indexOf(a)===o);return{type:i.length>1?i:i[0],enum:r.reduce((a,o)=>a.includes(o._def.value)?a:[...a,o._def.value],[])}}}else if(r.every(n=>n._def.typeName==="ZodEnum"))return{type:"string",enum:r.reduce((n,i)=>[...n,...i._def.values.filter(a=>!n.includes(a))],[])};return gK(e,t)}const gK=(e,t)=>{const r=(e.options instanceof Map?Array.from(e.options.values()):e.options).map((n,i)=>li(n._def,{...t,currentPath:[...t.currentPath,"anyOf",`${i}`]})).filter(n=>!!n&&(!t.strictUnions||typeof n=="object"&&Object.keys(n).length>0));return r.length?{anyOf:r}:void 0};function $7e(e,t){if(["ZodString","ZodNumber","ZodBigInt","ZodBoolean","ZodNull"].includes(e.innerType._def.typeName)&&(!e.innerType._def.checks||!e.innerType._def.checks.length))return t.target==="openApi3"?{type:K2[e.innerType._def.typeName],nullable:!0}:{type:[K2[e.innerType._def.typeName],"null"]};if(t.target==="openApi3"){const n=li(e.innerType._def,{...t,currentPath:[...t.currentPath]});return n&&"$ref"in n?{allOf:[n],nullable:!0}:n&&{...n,nullable:!0}}const r=li(e.innerType._def,{...t,currentPath:[...t.currentPath,"anyOf","0"]});return r&&{anyOf:[r,{type:"null"}]}}function C7e(e,t){const r={type:"number"};if(!e.checks)return r;for(const n of e.checks)switch(n.kind){case"int":r.type="integer",ofe(r,"type",n.message,t);break;case"min":t.target==="jsonSchema7"?n.inclusive?Ci(r,"minimum",n.value,n.message,t):Ci(r,"exclusiveMinimum",n.value,n.message,t):(n.inclusive||(r.exclusiveMinimum=!0),Ci(r,"minimum",n.value,n.message,t));break;case"max":t.target==="jsonSchema7"?n.inclusive?Ci(r,"maximum",n.value,n.message,t):Ci(r,"exclusiveMaximum",n.value,n.message,t):(n.inclusive||(r.exclusiveMaximum=!0),Ci(r,"maximum",n.value,n.message,t));break;case"multipleOf":Ci(r,"multipleOf",n.value,n.message,t);break}return r}function P7e(e,t){return t.removeAdditionalStrategy==="strict"?e.catchall._def.typeName==="ZodNever"?e.unknownKeys!=="strict":li(e.catchall._def,{...t,currentPath:[...t.currentPath,"additionalProperties"]})??!0:e.catchall._def.typeName==="ZodNever"?e.unknownKeys==="passthrough":li(e.catchall._def,{...t,currentPath:[...t.currentPath,"additionalProperties"]})??!0}function D7e(e,t){const r={type:"object",...Object.entries(e.shape()).reduce((n,[i,a])=>{if(a===void 0||a._def===void 0)return n;const o=li(a._def,{...t,currentPath:[...t.currentPath,"properties",i],propertyPath:[...t.currentPath,"properties",i]});return o===void 0?n:{properties:{...n.properties,[i]:o},required:a.isOptional()?n.required:[...n.required,i]}},{properties:{},required:[]}),additionalProperties:P7e(e,t)};return r.required.length||delete r.required,r}const R7e=(e,t)=>{var n;if(t.currentPath.toString()===((n=t.propertyPath)==null?void 0:n.toString()))return li(e.innerType._def,t);const r=li(e.innerType._def,{...t,currentPath:[...t.currentPath,"anyOf","1"]});return r?{anyOf:[{not:{}},r]}:{}},k7e=(e,t)=>{if(t.pipeStrategy==="input")return li(e.in._def,t);if(t.pipeStrategy==="output")return li(e.out._def,t);const r=li(e.in._def,{...t,currentPath:[...t.currentPath,"allOf","0"]}),n=li(e.out._def,{...t,currentPath:[...t.currentPath,"allOf",r?"1":"0"]});return{allOf:[r,n].filter(i=>i!==void 0)}};function T7e(e,t){return li(e.type._def,t)}function A7e(e,t){const n={type:"array",uniqueItems:!0,items:li(e.valueType._def,{...t,currentPath:[...t.currentPath,"items"]})};return e.minSize&&Ci(n,"minItems",e.minSize.value,e.minSize.message,t),e.maxSize&&Ci(n,"maxItems",e.maxSize.value,e.maxSize.message,t),n}function F7e(e,t){return e.rest?{type:"array",minItems:e.items.length,items:e.items.map((r,n)=>li(r._def,{...t,currentPath:[...t.currentPath,"items",`${n}`]})).reduce((r,n)=>n===void 0?r:[...r,n],[]),additionalItems:li(e.rest._def,{...t,currentPath:[...t.currentPath,"additionalItems"]})}:{type:"array",minItems:e.items.length,maxItems:e.items.length,items:e.items.map((r,n)=>li(r._def,{...t,currentPath:[...t.currentPath,"items",`${n}`]})).reduce((r,n)=>n===void 0?r:[...r,n],[])}}function I7e(){return{not:{}}}function M7e(){return{}}const N7e=(e,t)=>li(e.innerType._def,t);function li(e,t,r=!1){var o;const n=t.seen.get(e);if(t.override){const s=(o=t.override)==null?void 0:o.call(t,e,t,n,r);if(s!==i7e)return s}if(n&&!r){const s=L7e(n,t);if(s!==void 0)return s}const i={def:e,path:t.currentPath,jsonSchema:void 0};t.seen.set(e,i);const a=Q7e(e,e.typeName,t);return a&&B7e(e,t,a),i.jsonSchema=a,a}const L7e=(e,t)=>{switch(t.$refStrategy){case"root":return{$ref:e.path.join("/")};case"relative":return{$ref:z7e(t.currentPath,e.path)};case"none":case"seen":return e.path.length<t.currentPath.length&&e.path.every((r,n)=>t.currentPath[n]===r)?(console.warn(`Recursive reference detected at ${t.currentPath.join("/")}! Defaulting to any`),{}):t.$refStrategy==="seen"?{}:void 0}},z7e=(e,t)=>{let r=0;for(;r<e.length&&r<t.length&&e[r]===t[r];r++);return[(e.length-r).toString(),...t.slice(r)].join("/")},Q7e=(e,t,r)=>{switch(t){case Ft.ZodString:return ufe(e,r);case Ft.ZodNumber:return C7e(e,r);case Ft.ZodObject:return D7e(e,r);case Ft.ZodBigInt:return l7e(e,r);case Ft.ZodBoolean:return c7e();case Ft.ZodDate:return sfe(e,r);case Ft.ZodUndefined:return I7e();case Ft.ZodNull:return w7e(r);case Ft.ZodArray:return u7e(e,r);case Ft.ZodUnion:case Ft.ZodDiscriminatedUnion:return E7e(e,r);case Ft.ZodIntersection:return y7e(e,r);case Ft.ZodTuple:return F7e(e,r);case Ft.ZodRecord:return lfe(e,r);case Ft.ZodLiteral:return b7e(e,r);case Ft.ZodEnum:return g7e(e);case Ft.ZodNativeEnum:return _7e(e);case Ft.ZodNullable:return $7e(e,r);case Ft.ZodOptional:return R7e(e,r);case Ft.ZodMap:return x7e(e,r);case Ft.ZodSet:return A7e(e,r);case Ft.ZodLazy:return li(e.getter()._def,r);case Ft.ZodPromise:return T7e(e,r);case Ft.ZodNaN:case Ft.ZodNever:return S7e();case Ft.ZodEffects:return m7e(e,r);case Ft.ZodAny:return s7e();case Ft.ZodUnknown:return M7e();case Ft.ZodDefault:return p7e(e,r);case Ft.ZodBranded:return f7e(e,r);case Ft.ZodReadonly:return N7e(e,r);case Ft.ZodCatch:return d7e(e,r);case Ft.ZodPipeline:return k7e(e,r);case Ft.ZodFunction:case Ft.ZodVoid:case Ft.ZodSymbol:return;default:return(n=>{})()}},B7e=(e,t,r)=>(e.description&&(r.description=e.description,t.markdownDescription&&(r.markdownDescription=e.description)),r),Pht=(e,t)=>{const r=o7e(t),n=typeof t=="object"&&t.definitions?Object.entries(t.definitions).reduce((u,[l,c])=>({...u,[l]:li(c._def,{...r,currentPath:[...r.basePath,r.definitionPath,l]},!0)??{}}),{}):void 0,i=typeof t=="string"?t:(t==null?void 0:t.nameStrategy)==="title"||t==null?void 0:t.name,a=li(e._def,i===void 0?r:{...r,currentPath:[...r.basePath,r.definitionPath,i]},!1)??{},o=typeof t=="object"&&t.name!==void 0&&t.nameStrategy==="title"?t.name:void 0;o!==void 0&&(a.title=o);const s=i===void 0?n?{...a,[r.definitionPath]:n}:a:{$ref:[...r.$refStrategy==="relative"?[]:r.basePath,r.definitionPath,i].join("/"),[r.definitionPath]:{...n,[i]:a}};return r.target==="jsonSchema7"?s.$schema="http://json-schema.org/draft-07/schema#":r.target==="jsonSchema2019-09"&&(s.$schema="https://json-schema.org/draft/2019-09/schema#"),s};var Dht={output:"output",llm:"llm",retrieval:"retrieval",reranker:"reranker",message:"message",document:"document",embedding:"embedding",tool:"tool",tool_call:"tool_call",user:"user"},Rht={provider:"provider",model_name:"model_name",input_messages:"input_messages",output_messages:"output_messages",invocation_parameters:"invocation_parameters",prompts:"prompts",prompt_template:"prompt_template",tools:"tools"},kht={documents:"documents"},Tht={input_documents:"input_documents",output_documents:"output_documents",query:"query"},Aht={embeddings:"embeddings",text:"text",model_name:"model_name"},Fht={name:"name",description:"description",parameters:"parameters",json_schema:"json_schema"},Iht={role:"role",content:"content",contents:"contents",name:"name",function_call_name:"function_call_name",function_call_arguments_json:"function_call_arguments_json",tool_calls:"tool_calls",tool_call_id:"tool_call_id"},Mht={id:"id",content:"content",score:"score",metadata:"metadata"},Nht={id:"id"},vK;(function(e){e.LLM="LLM",e.CHAIN="CHAIN",e.TOOL="TOOL",e.RETRIEVER="RETRIEVER",e.RERANKER="RERANKER",e.EMBEDDING="EMBEDDING",e.AGENT="AGENT",e.GUARDRAIL="GUARDRAIL",e.EVALUATOR="EVALUATOR"})(vK||(vK={}));var yK;(function(e){e.TEXT="text/plain",e.JSON="application/json"})(yK||(yK={}));var bK;(function(e){e.OPENAI="openai",e.ANTHROPIC="anthropic",e.MISTRALAI="mistralai",e.COHERE="cohere",e.VERTEXAI="vertexai"})(bK||(bK={}));var OK;(function(e){e.OPENAI="openai",e.ANTHROPIC="anthropic",e.MISTRALAI="mistralai",e.COHERE="cohere",e.GOOGLE="google",e.AWS="aws",e.AZURE="azure"})(OK||(OK={}));function y9(){return y9=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},y9.apply(this,arguments)}var cfe=["shift","alt","meta","mod","ctrl"],q7e={esc:"escape",return:"enter",".":"period",",":"comma","-":"slash"," ":"space","`":"backquote","#":"backslash","+":"bracketright",ShiftLeft:"shift",ShiftRight:"shift",AltLeft:"alt",AltRight:"alt",MetaLeft:"meta",MetaRight:"meta",OSLeft:"meta",OSRight:"meta",ControlLeft:"ctrl",ControlRight:"ctrl"};function ng(e){return(q7e[e]||e).trim().toLowerCase().replace(/key|digit|numpad|arrow/,"")}function U7e(e){return cfe.includes(e)}function AT(e,t){return t===void 0&&(t=","),e.split(t)}function FT(e,t,r){t===void 0&&(t="+");var n=e.toLocaleLowerCase().split(t).map(function(o){return ng(o)}),i={alt:n.includes("alt"),ctrl:n.includes("ctrl")||n.includes("control"),shift:n.includes("shift"),meta:n.includes("meta"),mod:n.includes("mod")},a=n.filter(function(o){return!cfe.includes(o)});return y9({},i,{keys:a,description:r})}(function(){typeof document<"u"&&(document.addEventListener("keydown",function(e){e.key!==void 0&&ffe([ng(e.key),ng(e.code)])}),document.addEventListener("keyup",function(e){e.key!==void 0&&dfe([ng(e.key),ng(e.code)])})),typeof window<"u"&&window.addEventListener("blur",function(){ig.clear()})})();var ig=new Set;function dL(e){return Array.isArray(e)}function V7e(e,t){t===void 0&&(t=",");var r=dL(e)?e:e.split(t);return r.every(function(n){return ig.has(n.trim().toLowerCase())})}function ffe(e){var t=Array.isArray(e)?e:[e];ig.has("meta")&&ig.forEach(function(r){return!U7e(r)&&ig.delete(r.toLowerCase())}),t.forEach(function(r){return ig.add(r.toLowerCase())})}function dfe(e){var t=Array.isArray(e)?e:[e];e==="meta"?ig.clear():t.forEach(function(r){return ig.delete(r.toLowerCase())})}function j7e(e,t,r){(typeof r=="function"&&r(e,t)||r===!0)&&e.preventDefault()}function W7e(e,t,r){return typeof r=="function"?r(e,t):r===!0||r===void 0}function Z7e(e){return hfe(e,["input","textarea","select"])}function hfe(e,t){var r=e.target;t===void 0&&(t=!1);var n=r&&r.tagName;return dL(t)?!!(n&&t&&t.some(function(i){return i.toLowerCase()===n.toLowerCase()})):!!(n&&t&&t===!0)}function K7e(e,t){return e.length===0&&t?(console.warn('A hotkey has the "scopes" option set, however no active scopes were found. If you want to use the global scopes feature, you need to wrap your app in a <HotkeysProvider>'),!0):t?e.some(function(r){return t.includes(r)})||e.includes("*"):!0}var H7e=function(t,r,n){n===void 0&&(n=!1);var i=r.alt,a=r.meta,o=r.mod,s=r.shift,u=r.ctrl,l=r.keys,c=t.key,f=t.code,d=t.ctrlKey,h=t.metaKey,g=t.shiftKey,m=t.altKey,v=ng(f),y=c.toLowerCase();if(!(l!=null&&l.includes(v))&&!(l!=null&&l.includes(y))&&!["ctrl","control","unknown","meta","alt","shift","os"].includes(v))return!1;if(!n){if(i===!m&&y!=="alt"||s===!g&&y!=="shift")return!1;if(o){if(!h&&!d)return!1}else if(a===!h&&y!=="meta"&&y!=="os"||u===!d&&y!=="ctrl"&&y!=="control")return!1}return l&&l.length===1&&(l.includes(y)||l.includes(v))?!0:l?V7e(l):!l},Y7e=F.createContext(void 0),G7e=function(){return F.useContext(Y7e)};function pfe(e,t){return e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(e).length===Object.keys(t).length&&Object.keys(e).reduce(function(r,n){return r&&pfe(e[n],t[n])},!0):e===t}var X7e=F.createContext({hotkeys:[],enabledScopes:[],toggleScope:function(){},enableScope:function(){},disableScope:function(){}}),J7e=function(){return F.useContext(X7e)};function eIe(e){var t=F.useRef(void 0);return pfe(t.current,e)||(t.current=e),t.current}var xK=function(t){t.stopPropagation(),t.preventDefault(),t.stopImmediatePropagation()},tIe=typeof window<"u"?F.useLayoutEffect:F.useEffect;function Lht(e,t,r,n){var i=F.useRef(null),a=F.useRef(!1),o=r instanceof Array?n instanceof Array?void 0:n:r,s=dL(e)?e.join(o==null?void 0:o.splitKey):e,u=r instanceof Array?r:n instanceof Array?n:void 0,l=F.useCallback(t,u??[]),c=F.useRef(l);u?c.current=l:c.current=t;var f=eIe(o),d=J7e(),h=d.enabledScopes,g=G7e();return tIe(function(){if(!((f==null?void 0:f.enabled)===!1||!K7e(h,f==null?void 0:f.scopes))){var m=function(C,w){var E;if(w===void 0&&(w=!1),!(Z7e(C)&&!hfe(C,f==null?void 0:f.enableOnFormTags))){if(i.current!==null){var T=i.current.getRootNode();if((T instanceof Document||T instanceof ShadowRoot)&&T.activeElement!==i.current&&!i.current.contains(T.activeElement)){xK(C);return}}(E=C.target)!=null&&E.isContentEditable&&!(f!=null&&f.enableOnContentEditable)||AT(s,f==null?void 0:f.splitKey).forEach(function(P){var L,N=FT(P,f==null?void 0:f.combinationKey);if(H7e(C,N,f==null?void 0:f.ignoreModifiers)||(L=N.keys)!=null&&L.includes("*")){if(f!=null&&f.ignoreEventWhen!=null&&f.ignoreEventWhen(C)||w&&a.current)return;if(j7e(C,N,f==null?void 0:f.preventDefault),!W7e(C,N,f==null?void 0:f.enabled)){xK(C);return}c.current(C,N),w||(a.current=!0)}})}},v=function(C){C.key!==void 0&&(ffe(ng(C.code)),((f==null?void 0:f.keydown)===void 0&&(f==null?void 0:f.keyup)!==!0||f!=null&&f.keydown)&&m(C))},y=function(C){C.key!==void 0&&(dfe(ng(C.code)),a.current=!1,f!=null&&f.keyup&&m(C,!0))},O=i.current||(o==null?void 0:o.document)||document;return O.addEventListener("keyup",y),O.addEventListener("keydown",v),g&&AT(s,f==null?void 0:f.splitKey).forEach(function(x){return g.addHotkey(FT(x,f==null?void 0:f.combinationKey,f==null?void 0:f.description))}),function(){O.removeEventListener("keyup",y),O.removeEventListener("keydown",v),g&&AT(s,f==null?void 0:f.splitKey).forEach(function(x){return g.removeHotkey(FT(x,f==null?void 0:f.combinationKey,f==null?void 0:f.description))})}}},[s,f,h]),i}F.createContext(null);F.createContext(null);F.createContext(null);F.createContext(null);F.createContext(null);const mfe=F.createContext({}),xS=Symbol("default");function Na({values:e,children:t}){for(let[r,n]of e)t=$e.createElement(r.Provider,{value:n},t);return t}function _n(e){let{className:t,style:r,children:n,defaultClassName:i,defaultChildren:a,defaultStyle:o,values:s}=e;return F.useMemo(()=>{let u,l,c;return typeof t=="function"?u=t({...s,defaultClassName:i}):u=t,typeof r=="function"?l=r({...s,defaultStyle:o||{}}):l=r,typeof n=="function"?c=n({...s,defaultChildren:a}):n==null?c=a:c=n,{className:u??i,style:l||o?{...o,...l}:void 0,children:c??a,"data-rac":""}},[t,r,n,i,a,o,s])}function Jf(e,t){let r=F.useContext(e);if(t===null)return null;if(r&&typeof r=="object"&&"slots"in r&&r.slots){let n=t||xS;if(!r.slots[n]){let i=new Intl.ListFormat().format(Object.keys(r.slots).map(o=>`"${o}"`)),a=t?`Invalid slot "${t}".`:"A slot prop is required.";throw new Error(`${a} Valid slot names are ${i}.`)}return r.slots[n]}return r}function Un(e,t,r){let n=Jf(r,e.slot)||{},{ref:i,...a}=n,o=yl(F.useMemo(()=>uO(t,i),[t,i])),s=Qt(a,e);return"style"in a&&a.style&&"style"in e&&e.style&&(typeof a.style=="function"||typeof e.style=="function"?s.style=u=>{let l=typeof a.style=="function"?a.style(u):a.style,c={...u.defaultStyle,...l},f=typeof e.style=="function"?e.style({...u,defaultStyle:c}):e.style;return{...c,...f}}:s.style={...a.style,...e.style}),[s,o]}function ed(e=!0){let[t,r]=F.useState(e),n=F.useRef(!1),i=F.useCallback(a=>{n.current=!0,r(!!a)},[]);return Nn(()=>{n.current||r(!1)},[]),[i,t]}function q0(e){const t=/^(data-.*)$/;let r={};for(const n in e)t.test(n)||(r[n]=e[n]);return r}class hL{get childNodes(){throw new Error("childNodes is not supported")}clone(){let t=new hL(this.type,this.key);return t.value=this.value,t.level=this.level,t.hasChildNodes=this.hasChildNodes,t.rendered=this.rendered,t.textValue=this.textValue,t["aria-label"]=this["aria-label"],t.index=this.index,t.parentKey=this.parentKey,t.prevKey=this.prevKey,t.nextKey=this.nextKey,t.firstChildKey=this.firstChildKey,t.lastChildKey=this.lastChildKey,t.props=this.props,t.render=this.render,t.colSpan=this.colSpan,t.colIndex=this.colIndex,t}constructor(t,r){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue="",this["aria-label"]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.colSpan=null,this.colIndex=null,this.type=t,this.key=r}}class pL{get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}*[Symbol.iterator](){let t=this.firstKey!=null?this.keyMap.get(this.firstKey):void 0;for(;t;)yield t,t=t.nextKey!=null?this.keyMap.get(t.nextKey):void 0}getChildren(t){let r=this.keyMap;return{*[Symbol.iterator](){let n=r.get(t),i=(n==null?void 0:n.firstChildKey)!=null?r.get(n.firstChildKey):null;for(;i;)yield i,i=i.nextKey!=null?r.get(i.nextKey):void 0}}}getKeyBefore(t){let r=this.keyMap.get(t);if(!r)return null;if(r.prevKey!=null){for(r=this.keyMap.get(r.prevKey);r&&r.type!=="item"&&r.lastChildKey!=null;)r=this.keyMap.get(r.lastChildKey);var n;return(n=r==null?void 0:r.key)!==null&&n!==void 0?n:null}return r.parentKey}getKeyAfter(t){let r=this.keyMap.get(t);if(!r)return null;if(r.type!=="item"&&r.firstChildKey!=null)return r.firstChildKey;for(;r;){if(r.nextKey!=null)return r.nextKey;if(r.parentKey!=null)r=this.keyMap.get(r.parentKey);else return null}return null}getFirstKey(){return this.firstKey}getLastKey(){let t=this.lastKey!=null?this.keyMap.get(this.lastKey):null;for(;(t==null?void 0:t.lastChildKey)!=null;)t=this.keyMap.get(t.lastChildKey);var r;return(r=t==null?void 0:t.key)!==null&&r!==void 0?r:null}getItem(t){var r;return(r=this.keyMap.get(t))!==null&&r!==void 0?r:null}at(){throw new Error("Not implemented")}clone(){let t=this.constructor,r=new t;return r.keyMap=new Map(this.keyMap),r.firstKey=this.firstKey,r.lastKey=this.lastKey,r}addNode(t){if(this.frozen)throw new Error("Cannot add a node to a frozen collection");this.keyMap.set(t.key,t)}removeNode(t){if(this.frozen)throw new Error("Cannot remove a node to a frozen collection");this.keyMap.delete(t)}commit(t,r,n=!1){if(this.frozen)throw new Error("Cannot commit a frozen collection");this.firstKey=t,this.lastKey=r,this.frozen=!n}UNSTABLE_filter(t){let r=new pL,n=null;for(let i of this)if(i.type==="section"&&i.hasChildNodes){let a=i.clone(),o=null;for(let s of this.getChildren(i.key))if(_K(s,t,this,r)){let u=s.clone();o==null&&(a.firstChildKey=u.key),r.firstKey==null&&(r.firstKey=a.key),o&&o.parentKey===u.parentKey?(o.nextKey=u.key,u.prevKey=o.key):u.prevKey=null,u.nextKey=null,r.addNode(u),o=u}o&&(o.type!=="header"?(a.lastChildKey=o.key,n==null?a.prevKey=null:(n.type==="section"||n.type==="separator")&&(n.nextKey=a.key,a.prevKey=n.key),a.nextKey=null,n=a,r.addNode(a)):(r.firstKey===a.key&&(r.firstKey=null),r.removeNode(o.key)))}else if(i.type==="separator"){let a=i.clone();a.nextKey=null,(n==null?void 0:n.type)==="section"&&(n.nextKey=a.key,a.prevKey=n.key,n=a,r.addNode(a))}else{let a=i.clone();_K(a,t,this,r)&&(r.firstKey==null&&(r.firstKey=a.key),n!=null&&n.type!=="section"&&n.type!=="separator"&&n.parentKey===a.parentKey?(n.nextKey=a.key,a.prevKey=n.key):a.prevKey=null,a.nextKey=null,r.addNode(a),n=a)}if((n==null?void 0:n.type)==="separator"&&n.nextKey===null){let i;n.prevKey!=null&&(i=r.getItem(n.prevKey),i.nextKey=null),r.removeNode(n.key),n=i}return r.lastKey=(n==null?void 0:n.key)||null,r}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1}}function _K(e,t,r,n){if(e.type==="subdialogtrigger"||e.type==="submenutrigger"){let i=[...r.getChildren(e.key)][0];if(i&&t(i.textValue)){let a=i.clone();return n.addNode(a),!0}else return!1}else return e.type==="header"?!0:t(e.textValue)}class gfe{*[Symbol.iterator](){let t=this.firstChild;for(;t;)yield t,t=t.nextSibling}get firstChild(){return this._firstChild}set firstChild(t){this._firstChild=t,this.ownerDocument.markDirty(this)}get lastChild(){return this._lastChild}set lastChild(t){this._lastChild=t,this.ownerDocument.markDirty(this)}get previousSibling(){return this._previousSibling}set previousSibling(t){this._previousSibling=t,this.ownerDocument.markDirty(this)}get nextSibling(){return this._nextSibling}set nextSibling(t){this._nextSibling=t,this.ownerDocument.markDirty(this)}get parentNode(){return this._parentNode}set parentNode(t){this._parentNode=t,this.ownerDocument.markDirty(this)}get isConnected(){var t;return((t=this.parentNode)===null||t===void 0?void 0:t.isConnected)||!1}appendChild(t){this.ownerDocument.startTransaction(),t.parentNode&&t.parentNode.removeChild(t),this.firstChild==null&&(this.firstChild=t),this.lastChild?(this.lastChild.nextSibling=t,t.index=this.lastChild.index+1,t.previousSibling=this.lastChild):(t.previousSibling=null,t.index=0),t.parentNode=this,t.nextSibling=null,this.lastChild=t,this.ownerDocument.markDirty(this),t.hasSetProps&&this.ownerDocument.addNode(t),this.ownerDocument.endTransaction(),this.ownerDocument.queueUpdate()}insertBefore(t,r){if(r==null)return this.appendChild(t);this.ownerDocument.startTransaction(),t.parentNode&&t.parentNode.removeChild(t),t.nextSibling=r,t.previousSibling=r.previousSibling,t.index=r.index,this.firstChild===r?this.firstChild=t:r.previousSibling&&(r.previousSibling.nextSibling=t),r.previousSibling=t,t.parentNode=r.parentNode;let n=r;for(;n;)n.index++,n=n.nextSibling;t.hasSetProps&&this.ownerDocument.addNode(t),this.ownerDocument.endTransaction(),this.ownerDocument.queueUpdate()}removeChild(t){if(t.parentNode!==this||!this.ownerDocument.isMounted)return;this.ownerDocument.startTransaction();let r=t.nextSibling;for(;r;)r.index--,r=r.nextSibling;t.nextSibling&&(t.nextSibling.previousSibling=t.previousSibling),t.previousSibling&&(t.previousSibling.nextSibling=t.nextSibling),this.firstChild===t&&(this.firstChild=t.nextSibling),this.lastChild===t&&(this.lastChild=t.previousSibling),t.parentNode=null,t.nextSibling=null,t.previousSibling=null,t.index=0,this.ownerDocument.removeNode(t),this.ownerDocument.endTransaction(),this.ownerDocument.queueUpdate()}addEventListener(){}removeEventListener(){}constructor(t){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this.ownerDocument=t}}class _S extends gfe{get index(){return this._index}set index(t){this._index=t,this.ownerDocument.markDirty(this)}get level(){return this.parentNode instanceof _S?this.parentNode.level+(this.node.type==="item"?1:0):0}updateNode(){var t,r,n,i;let a=this.ownerDocument.getMutableNode(this);a.index=this.index,a.level=this.level,a.parentKey=this.parentNode instanceof _S?this.parentNode.node.key:null;var o;a.prevKey=(o=(t=this.previousSibling)===null||t===void 0?void 0:t.node.key)!==null&&o!==void 0?o:null;var s;a.nextKey=(s=(r=this.nextSibling)===null||r===void 0?void 0:r.node.key)!==null&&s!==void 0?s:null,a.hasChildNodes=!!this.firstChild;var u;a.firstChildKey=(u=(n=this.firstChild)===null||n===void 0?void 0:n.node.key)!==null&&u!==void 0?u:null;var l;if(a.lastChildKey=(l=(i=this.lastChild)===null||i===void 0?void 0:i.node.key)!==null&&l!==void 0?l:null,(a.colSpan!=null||a.colIndex!=null)&&this.nextSibling){var c,f;let d=((c=a.colIndex)!==null&&c!==void 0?c:a.index)+((f=a.colSpan)!==null&&f!==void 0?f:1);if(d!==this.nextSibling.node.colIndex){let h=this.ownerDocument.getMutableNode(this.nextSibling);h.colIndex=d}}}setProps(t,r,n,i){let a=this.ownerDocument.getMutableNode(this),{value:o,textValue:s,id:u,...l}=t;if(l.ref=r,a.props=l,a.rendered=n,a.render=i,a.value=o,a.textValue=s||(typeof l.children=="string"?l.children:"")||t["aria-label"]||"",u!=null&&u!==a.key){if(this.hasSetProps)throw new Error("Cannot change the id of an item");a.key=u}l.colSpan!=null&&(a.colSpan=l.colSpan),this.hasSetProps||(this.ownerDocument.addNode(this),this.ownerDocument.endTransaction(),this.hasSetProps=!0),this.ownerDocument.queueUpdate()}get style(){return{}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}constructor(t,r){super(r),this.nodeType=8,this._index=0,this.hasSetProps=!1,this.node=new hL(t,`react-aria-${++r.nodeId}`),this.ownerDocument.startTransaction()}}class rIe extends gfe{get isConnected(){return this.isMounted}createElement(t){return new _S(t,this)}getMutableNode(t){let r=t.node;return this.mutatedNodes.has(t)||(r=t.node.clone(),this.mutatedNodes.add(t),t.node=r),this.markDirty(t),r}getMutableCollection(){return!this.isSSR&&!this.collectionMutated&&(this.collection=this.collection.clone(),this.collectionMutated=!0),this.collection}markDirty(t){this.dirtyNodes.add(t)}startTransaction(){this.transactionCount++}endTransaction(){this.transactionCount--}addNode(t){let r=this.getMutableCollection();if(!r.getItem(t.node.key)){r.addNode(t.node);for(let n of t)this.addNode(n)}this.markDirty(t)}removeNode(t){for(let n of t)this.removeNode(n);this.getMutableCollection().removeNode(t.node.key),this.markDirty(t)}getCollection(){return this.transactionCount>0?this.collection:(this.updateCollection(),this.collection)}updateCollection(){for(let a of this.dirtyNodes)a instanceof _S&&a.isConnected&&a.updateNode();if(this.dirtyNodes.clear(),this.mutatedNodes.size||this.collectionMutated){var t,r;let a=this.getMutableCollection();for(let o of this.mutatedNodes)o.isConnected&&a.addNode(o.node);this.mutatedNodes.clear();var n,i;a.commit((n=(t=this.firstChild)===null||t===void 0?void 0:t.node.key)!==null&&n!==void 0?n:null,(i=(r=this.lastChild)===null||r===void 0?void 0:r.node.key)!==null&&i!==void 0?i:null,this.isSSR)}this.collectionMutated=!1}queueUpdate(){if(!(this.dirtyNodes.size===0||this.transactionCount>0))for(let t of this.subscriptions)t()}subscribe(t){return this.subscriptions.add(t),()=>this.subscriptions.delete(t)}resetAfterSSR(){this.isSSR&&(this.isSSR=!1,this.firstChild=null,this.lastChild=null,this.nodeId=0)}constructor(t){super(null),this.nodeType=11,this.ownerDocument=this,this.dirtyNodes=new Set,this.isSSR=!1,this.nodeId=0,this.nodesByProps=new WeakMap,this.isMounted=!0,this.mutatedNodes=new Set,this.subscriptions=new Set,this.transactionCount=0,this.collection=t,this.collectionMutated=!0}}function vfe(e){let{children:t,items:r,idScope:n,addIdAndValue:i,dependencies:a=[]}=e,o=F.useMemo(()=>new WeakMap,a);return F.useMemo(()=>{if(r&&typeof t=="function"){let l=[];for(let c of r){let f=o.get(c);if(!f){f=t(c);var s,u;let d=(u=(s=f.props.id)!==null&&s!==void 0?s:c.key)!==null&&u!==void 0?u:c.id;if(d==null)throw new Error("Could not determine key for item");n&&(d=n+":"+d),f=F.cloneElement(f,i?{key:d,id:d,value:c}:{key:d}),o.set(c,f)}l.push(f)}return l}else if(typeof t!="function")return t},[t,r,o,n,i])}if(typeof HTMLTemplateElement<"u"){const e=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild").get;Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.dataset.reactAriaHidden?this.content.firstChild:e.call(this)}})}const H2=F.createContext(!1);function nIe(e){if(F.useContext(H2))return $e.createElement($e.Fragment,null,e.children);let r=$e.createElement(H2.Provider,{value:!0},e.children);return $e.createElement("template",{"data-react-aria-hidden":!0},r)}function gO(e){let t=(r,n)=>F.useContext(H2)?null:e(r,n);return t.displayName=e.displayName||e.name,F.forwardRef(t)}function iIe(){return F.useContext(H2)}var IT={exports:{}},MT={};/**
568
568
  * @license React
569
569
  * use-sync-external-store-shim.production.js
570
570
  *
@@ -572,7 +572,7 @@ No matching component was found for:
572
572
  *
573
573
  * This source code is licensed under the MIT license found in the
574
574
  * LICENSE file in the root directory of this source tree.
575
- */var SK;function iIe(){if(SK)return MT;SK=1;var e=Pr();function t(f,d){return f===d&&(f!==0||1/f===1/d)||f!==f&&d!==d}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,i=e.useEffect,a=e.useLayoutEffect,o=e.useDebugValue;function s(f,d){var h=d(),g=n({inst:{value:h,getSnapshot:d}}),m=g[0].inst,v=g[1];return a(function(){m.value=h,m.getSnapshot=d,u(m)&&v({inst:m})},[f,h,d]),i(function(){return u(m)&&v({inst:m}),f(function(){u(m)&&v({inst:m})})},[f]),o(h),h}function u(f){var d=f.getSnapshot;f=f.value;try{var h=d();return!r(f,h)}catch{return!0}}function l(f,d){return d()}var c=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?l:s;return MT.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:c,MT}var wK;function aIe(){return wK||(wK=1,IT.exports=iIe()),IT.exports}var oIe=aIe();const yfe=F.createContext(!1),SS=F.createContext(null);function lw(e){if(F.useContext(SS))return e.content;let{collection:r,document:n}=cIe(e.createCollection);return $e.createElement($e.Fragment,null,$e.createElement(rIe,null,$e.createElement(SS.Provider,{value:n},e.content)),$e.createElement(sIe,{render:e.children,collection:r}))}function sIe({collection:e,render:t}){return t(e)}function uIe(e,t,r){let n=fh(),i=F.useRef(n);i.current=n;let a=F.useCallback(()=>i.current?r():t(),[t,r]);return oIe.useSyncExternalStore(e,a)}const lIe=typeof $e.useSyncExternalStore=="function"?$e.useSyncExternalStore:uIe;function cIe(e){let[t]=F.useState(()=>new tIe((e==null?void 0:e())||new pL)),r=F.useCallback(o=>t.subscribe(o),[t]),n=F.useCallback(()=>{let o=t.getCollection();return t.isSSR&&t.resetAfterSSR(),o},[t]),i=F.useCallback(()=>(t.isSSR=!0,t.getCollection()),[t]),a=lIe(r,n,i);return Nn(()=>(t.isMounted=!0,()=>{t.isMounted=!1}),[t]),{collection:a,document:t}}const b9=F.createContext(null);function fIe(e,t,r,n,i,a){let o=F.useCallback(u=>{u==null||u.setProps(t,r,n,a)},[t,r,n,a]),s=F.useContext(b9);if(s){let u=s.ownerDocument.nodesByProps.get(t);return u||(u=s.ownerDocument.createElement(e),u.setProps(t,r,n,a),s.appendChild(u),s.ownerDocument.updateCollection(),s.ownerDocument.nodesByProps.set(t,u)),i?$e.createElement(b9.Provider,{value:u},i):null}return $e.createElement(e,{ref:o},i)}function mL(e,t){let r=({node:i})=>t(i.props,i.props.ref,i),n=F.forwardRef((i,a)=>{let o=F.useContext(E2);if(!F.useContext(yfe)){if(t.length>=3)throw new Error(t.name+" cannot be rendered outside a collection.");return t(i,a)}return fIe(e,i,a,"children"in i?i.children:null,null,u=>$e.createElement(E2.Provider,{value:o},$e.createElement(r,{node:u})))});return n.displayName=t.name,n}function dIe(e){return vfe({...e,addIdAndValue:!0})}const EK=F.createContext(null);function gL(e){let t=F.useContext(EK),r=((t==null?void 0:t.dependencies)||[]).concat(e.dependencies),n=e.idScope||(t==null?void 0:t.idScope),i=dIe({...e,idScope:n,dependencies:r});return F.useContext(SS)&&(i=$e.createElement(hIe,null,i)),t=F.useMemo(()=>({dependencies:r,idScope:n}),[n,...r]),$e.createElement(EK.Provider,{value:t},i)}function hIe({children:e}){let t=F.useContext(SS),r=F.useMemo(()=>$e.createElement(SS.Provider,{value:null},$e.createElement(yfe.Provider,{value:!0},e)),[e]);return fh()?$e.createElement(b9.Provider,{value:t},r):dl.createPortal(r,t)}function bfe(e,t){let{elementType:r="button",isDisabled:n,onPress:i,onPressStart:a,onPressEnd:o,onPressUp:s,onPressChange:u,preventFocusOnPress:l,allowFocusWhenDisabled:c,onClick:f,href:d,target:h,rel:g,type:m="button"}=e,v;r==="button"?v={type:m,disabled:n}:v={role:"button",href:r==="a"&&!n?d:void 0,target:r==="a"?h:void 0,type:r==="input"?m:void 0,disabled:r==="input"?n:void 0,"aria-disabled":!n||r==="input"?void 0:n,rel:r==="a"?g:void 0};let{pressProps:y,isPressed:O}=mg({onPressStart:a,onPressEnd:o,onPressChange:u,onPress:i,onPressUp:s,isDisabled:n,preventFocusOnPress:l,ref:t}),{focusableProps:x}=Ng(e,t);c&&(x.tabIndex=n?-1:x.tabIndex);let C=Qt(x,y,Jr(e,{labelable:!0}));return{isPressed:O,buttonProps:Qt(v,C,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],"aria-current":e["aria-current"],onClick:w=>{f&&(f(w),console.warn("onClick is deprecated, please use onPress"))}})}}function Ofe(e,t,r){const{isSelected:n}=t,{isPressed:i,buttonProps:a}=bfe({...e,onPress:Kf(t.toggle,e.onPress)},r);return{isPressed:i,isSelected:n,isDisabled:e.isDisabled||!1,buttonProps:Qt(a,{"aria-pressed":n})}}function pIe(e,t){const{"aria-label":r,"aria-labelledby":n,orientation:i="horizontal"}=e;let[a,o]=F.useState(!1);Nn(()=>{var g;o(!!(t.current&&(!((g=t.current.parentElement)===null||g===void 0)&&g.closest('[role="toolbar"]'))))});const{direction:s}=Ha(),u=s==="rtl"&&i==="horizontal";let l=qN(t);const c=g=>{if(g.currentTarget.contains(g.target)){if(i==="horizontal"&&g.key==="ArrowRight"||i==="vertical"&&g.key==="ArrowDown")u?l.focusPrevious():l.focusNext();else if(i==="horizontal"&&g.key==="ArrowLeft"||i==="vertical"&&g.key==="ArrowUp")u?l.focusNext():l.focusPrevious();else if(g.key==="Tab"){g.stopPropagation(),f.current=document.activeElement,g.shiftKey?l.focusFirst():l.focusLast();return}else return;g.stopPropagation(),g.preventDefault()}},f=F.useRef(null),d=g=>{!g.currentTarget.contains(g.relatedTarget)&&!f.current&&(f.current=g.target)},h=g=>{var m;if(f.current&&!g.currentTarget.contains(g.relatedTarget)&&(!((m=t.current)===null||m===void 0)&&m.contains(g.target))){var v;(v=f.current)===null||v===void 0||v.focus(),f.current=null}};return{toolbarProps:{...Jr(e,{labelable:!0}),role:a?"group":"toolbar","aria-orientation":i,"aria-label":r,"aria-labelledby":r==null?n:void 0,onKeyDownCapture:a?void 0:c,onFocusCapture:a?void 0:h,onBlurCapture:a?void 0:d}}}function mIe(e,t,r){let{isDisabled:n}=e,{toolbarProps:i}=pIe(e,r);return{groupProps:{...i,role:t.selectionMode==="single"?"radiogroup":i.role,"aria-disabled":n}}}function gIe(e,t,r){let n={isSelected:t.selectedKeys.has(e.id),setSelected(u){t.setSelected(e.id,u)},toggle(){t.toggleKey(e.id)}},{isPressed:i,isSelected:a,isDisabled:o,buttonProps:s}=Ofe({...e,id:void 0,isDisabled:e.isDisabled||t.isDisabled},n,r);return t.selectionMode==="single"&&(s.role="radio",s["aria-checked"]=n.isSelected,delete s["aria-pressed"]),{isPressed:i,isSelected:a,isDisabled:o,buttonProps:s}}const xfe=7e3;let Rf=null;function oy(e,t="assertive",r=xfe){Rf?Rf.announce(e,t,r):(Rf=new yIe,(typeof IS_REACT_ACT_ENVIRONMENT=="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u")?Rf.announce(e,t,r):setTimeout(()=>{Rf!=null&&Rf.isAttached()&&(Rf==null||Rf.announce(e,t,r))},100))}function vIe(e){Rf&&Rf.clear(e)}class yIe{isAttached(){var t;return(t=this.node)===null||t===void 0?void 0:t.isConnected}createLog(t){let r=document.createElement("div");return r.setAttribute("role","log"),r.setAttribute("aria-live",t),r.setAttribute("aria-relevant","additions"),r}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(t,r="assertive",n=xfe){var i,a;if(!this.node)return;let o=document.createElement("div");typeof t=="object"?(o.setAttribute("role","img"),o.setAttribute("aria-labelledby",t["aria-labelledby"])):o.textContent=t,r==="assertive"?(i=this.assertiveLog)===null||i===void 0||i.appendChild(o):(a=this.politeLog)===null||a===void 0||a.appendChild(o),t!==""&&setTimeout(()=>{o.remove()},n)}clear(t){this.node&&((!t||t==="assertive")&&this.assertiveLog&&(this.assertiveLog.innerHTML=""),(!t||t==="polite")&&this.politeLog&&(this.politeLog.innerHTML=""))}constructor(){this.node=null,this.assertiveLog=null,this.politeLog=null,typeof document<"u"&&(this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node))}}const _fe={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},Sfe={..._fe,customError:!0,valid:!1},yx={isInvalid:!1,validationDetails:_fe,validationErrors:[]},wfe=F.createContext({}),Y2="__formValidationState"+Date.now();function vO(e){if(e[Y2]){let{realtimeValidation:t,displayValidation:r,updateValidation:n,resetValidation:i,commitValidation:a}=e[Y2];return{realtimeValidation:t,displayValidation:r,updateValidation:n,resetValidation:i,commitValidation:a}}return bIe(e)}function bIe(e){let{isInvalid:t,validationState:r,name:n,value:i,builtinValidation:a,validate:o,validationBehavior:s="aria"}=e;r&&(t||(t=r==="invalid"));let u=t!==void 0?{isInvalid:t,validationErrors:[],validationDetails:Sfe}:null,l=F.useMemo(()=>{if(!o||i==null)return null;let N=OIe(o,i);return $K(N)},[o,i]);a!=null&&a.validationDetails.valid&&(a=void 0);let c=F.useContext(wfe),f=F.useMemo(()=>n?Array.isArray(n)?n.flatMap(N=>O9(c[N])):O9(c[n]):[],[c,n]),[d,h]=F.useState(c),[g,m]=F.useState(!1);c!==d&&(h(c),m(!1));let v=F.useMemo(()=>$K(g?[]:f),[g,f]),y=F.useRef(yx),[O,x]=F.useState(yx),C=F.useRef(yx),w=()=>{if(!E)return;T(!1);let N=l||a||y.current;NT(N,C.current)||(C.current=N,x(N))},[E,T]=F.useState(!1);return F.useEffect(w),{realtimeValidation:u||v||l||a||yx,displayValidation:s==="native"?u||v||O:u||v||l||a||O,updateValidation(N){s==="aria"&&!NT(O,N)?x(N):y.current=N},resetValidation(){let N=yx;NT(N,C.current)||(C.current=N,x(N)),s==="native"&&T(!1),m(!0)},commitValidation(){s==="native"&&T(!0),m(!0)}}}function O9(e){return e?Array.isArray(e)?e:[e]:[]}function OIe(e,t){if(typeof e=="function"){let r=e(t);if(r&&typeof r!="boolean")return O9(r)}return[]}function $K(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:Sfe}:null}function NT(e,t){return e===t?!0:!!e&&!!t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((r,n)=>r===t.validationErrors[n])&&Object.entries(e.validationDetails).every(([r,n])=>t.validationDetails[r]===n)}function U$(e,t,r){let{validationBehavior:n,focus:i}=e;Nn(()=>{if(n==="native"&&(r!=null&&r.current)&&!r.current.disabled){let u=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";r.current.setCustomValidity(u),r.current.hasAttribute("title")||(r.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation(_Ie(r.current))}});let a=Aa(()=>{t.resetValidation()}),o=Aa(u=>{var l;t.displayValidation.isInvalid||t.commitValidation();let c=r==null||(l=r.current)===null||l===void 0?void 0:l.form;if(!u.defaultPrevented&&r&&c&&SIe(c)===r.current){var f;i?i():(f=r.current)===null||f===void 0||f.focus(),QN("keyboard")}u.preventDefault()}),s=Aa(()=>{t.commitValidation()});F.useEffect(()=>{let u=r==null?void 0:r.current;if(!u)return;let l=u.form;return u.addEventListener("invalid",o),u.addEventListener("change",s),l==null||l.addEventListener("reset",a),()=>{u.removeEventListener("invalid",o),u.removeEventListener("change",s),l==null||l.removeEventListener("reset",a)}},[r,o,s,a,n])}function xIe(e){let t=e.validity;return{badInput:t.badInput,customError:t.customError,patternMismatch:t.patternMismatch,rangeOverflow:t.rangeOverflow,rangeUnderflow:t.rangeUnderflow,stepMismatch:t.stepMismatch,tooLong:t.tooLong,tooShort:t.tooShort,typeMismatch:t.typeMismatch,valueMissing:t.valueMissing,valid:t.valid}}function _Ie(e){return{isInvalid:!e.validity.valid,validationDetails:xIe(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function SIe(e){for(let t=0;t<e.elements.length;t++){let r=e.elements[t];if(!r.validity.valid)return r}return null}function V$(e){let{id:t,label:r,"aria-labelledby":n,"aria-label":i,labelElementType:a="label"}=e;t=Bi(t);let o=Bi(),s={};r?(n=n?`${o} ${n}`:o,s={id:o,htmlFor:a==="label"?t:void 0}):!n&&!i&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let u=vy({id:t,"aria-label":i,"aria-labelledby":n});return{labelProps:s,fieldProps:u}}function cw(e){let{description:t,errorMessage:r,isInvalid:n,validationState:i}=e,{labelProps:a,fieldProps:o}=V$(e),s=I0([!!t,!!r,n,i]),u=I0([!!t,!!r,n,i]);return o=Qt(o,{"aria-describedby":[s,u,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:a,fieldProps:o,descriptionProps:{id:s},errorMessageProps:{id:u}}}function wIe(e={}){let{isReadOnly:t}=e,[r,n]=Ka(e.isSelected,e.defaultSelected||!1,e.onChange);function i(o){t||n(o)}function a(){t||n(!r)}return{isSelected:r,setSelected:i,toggle:a}}function EIe(e){let{selectionMode:t="single",disallowEmptySelection:r,isDisabled:n=!1}=e,[i,a]=Ka(F.useMemo(()=>e.selectedKeys?new Set(e.selectedKeys):void 0,[e.selectedKeys]),F.useMemo(()=>e.defaultSelectedKeys?new Set(e.defaultSelectedKeys):new Set,[e.defaultSelectedKeys]),e.onSelectionChange);return{selectionMode:t,isDisabled:n,selectedKeys:i,setSelectedKeys:a,toggleKey(o){let s;t==="multiple"?(s=new Set(i),s.has(o)&&(!r||s.size>1)?s.delete(o):s.add(o)):s=new Set(i.has(o)&&!r?[]:[o]),a(s)},setSelected(o,s){s!==i.has(o)&&this.toggleKey(o)}}}const $Ie=0,CIe=100,PIe=1;function DIe(e){const{isDisabled:t=!1,minValue:r=$Ie,maxValue:n=CIe,numberFormatter:i,step:a=PIe,orientation:o="horizontal"}=e;let s=F.useMemo(()=>{let z=(n-r)/10;return z=ss(z,0,z+a,a),Math.max(z,a)},[a,n,r]),u=F.useCallback(z=>z==null?void 0:z.map((G,K)=>{let te=K===0?r:z[K-1],ae=K===z.length-1?n:z[K+1];return ss(G,te,ae,a)}),[r,n,a]),l=F.useMemo(()=>u(PK(e.value)),[e.value]),c=F.useMemo(()=>{var z;return u((z=PK(e.defaultValue))!==null&&z!==void 0?z:[r])},[e.defaultValue,r]),f=DK(e.value,e.defaultValue,e.onChange),d=DK(e.value,e.defaultValue,e.onChangeEnd);const[h,g]=Ka(l,c,f),[m,v]=F.useState(new Array(h.length).fill(!1)),y=F.useRef(new Array(h.length).fill(!0)),[O,x]=F.useState(void 0),C=F.useRef(h),w=F.useRef(m);let E=z=>{C.current=z,g(z)},T=z=>{w.current=z,v(z)};function P(z){return(z-r)/(n-r)}function L(z){return z===0?r:h[z-1]}function N(z){return z===h.length-1?n:h[z+1]}function B(z){return y.current[z]}function j(z,G){y.current[z]=G}function A(z,G){if(t||!B(z))return;const K=L(z),te=N(z);G=ss(G,K,te,a);let ae=CK(C.current,z,G);E(ae)}function H(z,G){if(t||!B(z))return;G&&(C.current=h);const K=w.current[z];w.current=CK(w.current,z,G),T(w.current),d&&K&&!w.current.some(Boolean)&&d(C.current)}function k(z){return i.format(z)}function Q(z,G){A(z,I(G))}function V(z){return Math.round((z-r)/a)*a+r}function I(z){const G=z*(n-r)+r;return Cu(V(G),r,n)}function q(z,G=1){let K=Math.max(G,a);A(z,ss(h[z]+K,r,n,a))}function M(z,G=1){let K=Math.max(G,a);A(z,ss(h[z]-K,r,n,a))}return{values:h,getThumbValue:z=>h[z],setThumbValue:A,setThumbPercent:Q,isThumbDragging:z=>m[z],setThumbDragging:H,focusedThumb:O,setFocusedThumb:x,getThumbPercent:z=>P(h[z]),getValuePercent:P,getThumbValueLabel:z=>k(h[z]),getFormattedValue:k,getThumbMinValue:L,getThumbMaxValue:N,getPercentValue:I,isThumbEditable:B,setThumbEditable:j,incrementThumb:q,decrementThumb:M,step:a,pageSize:s,orientation:o,isDisabled:t}}function CK(e,t,r){return e[t]===r?e:[...e.slice(0,t),r,...e.slice(t+1)]}function PK(e){if(e!=null)return Array.isArray(e)?e:[e]}function DK(e,t,r){return n=>{typeof e=="number"||typeof t=="number"?r==null||r(n[0]):r==null||r(n)}}function RIe(e){let{minValue:t,maxValue:r,step:n,formatOptions:i,value:a,defaultValue:o=NaN,onChange:s,locale:u,isDisabled:l,isReadOnly:c}=e;a===null&&(a=NaN),a!==void 0&&!isNaN(a)&&(n!==void 0&&!isNaN(n)?a=ss(a,t,r,n):a=Cu(a,t,r)),isNaN(o)||(n!==void 0&&!isNaN(n)?o=ss(o,t,r,n):o=Cu(o,t,r));let[f,d]=Ka(a,isNaN(o)?NaN:o,s),[h,g]=F.useState(()=>isNaN(f)?"":new W_(u,i).format(f)),m=F.useMemo(()=>new EN(u,i),[u,i]),v=F.useMemo(()=>m.getNumberingSystem(h),[m,h]),y=F.useMemo(()=>new W_(u,{...i,numberingSystem:v}),[u,i,v]),O=F.useMemo(()=>y.resolvedOptions(),[y]),x=F.useCallback(G=>isNaN(G)||G===null?"":y.format(G),[y]),C=vO({...e,value:f}),w=n!==void 0&&!isNaN(n)?n:1;O.style==="percent"&&(n===void 0||isNaN(n))&&(w=.01);let[E,T]=F.useState(f),[P,L]=F.useState(u),[N,B]=F.useState(i);(!Object.is(f,E)||u!==P||i!==N)&&(g(x(f)),T(f),L(u),B(i));let j=F.useMemo(()=>m.parse(h),[m,h]),A=()=>{if(!h.length){d(NaN),g(a===void 0?"":x(f));return}if(isNaN(j)){g(x(f));return}let G;n===void 0||isNaN(n)?G=Cu(j,t,r):G=ss(j,t,r,n),G=m.parse(x(G)),d(G),g(x(a===void 0?G:f))},H=(G,K=0)=>{let te=j;if(isNaN(te)){let ae=isNaN(K)?0:K;return ss(ae,t,r,w)}else{let ae=ss(te,t,r,w);return G==="+"&&ae>te||G==="-"&&ae<te?ae:ss(LT(G,te,w),t,r,w)}},k=()=>{let G=H("+",t);G===f&&g(x(G)),d(G),C.commitValidation()},Q=()=>{let G=H("-",r);G===f&&g(x(G)),d(G),C.commitValidation()},V=()=>{r!=null&&(d(ss(r,t,r,w)),C.commitValidation())},I=()=>{t!=null&&(d(t),C.commitValidation())},q=F.useMemo(()=>!l&&!c&&(isNaN(j)||r===void 0||isNaN(r)||ss(j,t,r,w)>j||LT("+",j,w)<=r),[l,c,t,r,w,j]),M=F.useMemo(()=>!l&&!c&&(isNaN(j)||t===void 0||isNaN(t)||ss(j,t,r,w)<j||LT("-",j,w)>=t),[l,c,t,r,w,j]);return{...C,validate:G=>m.isValidPartialNumber(G,t,r),increment:k,incrementToMax:V,decrement:Q,decrementToMin:I,canIncrement:q,canDecrement:M,minValue:t,maxValue:r,numberValue:j,setNumberValue:d,setInputValue:g,inputValue:h,commit:A}}function LT(e,t,r){let n=e==="+"?t+r:t-r;if(t%1!==0||r%1!==0){const i=t.toString().split("."),a=r.toString().split("."),o=i[1]&&i[1].length||0,s=a[1]&&a[1].length||0,u=Math.pow(10,Math.max(o,s));t=Math.round(t*u),r=Math.round(r*u),n=e==="+"?t+r:t-r,n/=u}return n}const vL=new WeakMap;function x9(e,t){let r=vL.get(e);if(!r)throw new Error("Unknown slider state");return`${r.id}-${t}`}function kIe(e,t,r){let{labelProps:n,fieldProps:i}=V$(e),a=e.orientation==="vertical";var o;vL.set(t,{id:(o=n.id)!==null&&o!==void 0?o:i.id,"aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]});let{direction:s}=Ha(),{addGlobalListener:u,removeGlobalListener:l}=Mg();const c=F.useRef(null),f=s==="rtl",d=F.useRef(null),{moveProps:h}=mue({onMoveStart(){d.current=null},onMove({deltaX:y,deltaY:O}){if(!r.current)return;let{height:x,width:C}=r.current.getBoundingClientRect(),w=a?x:C;d.current==null&&c.current!=null&&(d.current=t.getThumbPercent(c.current)*w);let E=a?O:y;if((a||f)&&(E=-E),d.current+=E,c.current!=null&&r.current){const T=Cu(d.current/w,0,1);t.setThumbPercent(c.current,T)}},onMoveEnd(){c.current!=null&&(t.setThumbDragging(c.current,!1),c.current=null)}});let g=F.useRef(void 0),m=(y,O,x,C)=>{if(r.current&&!e.isDisabled&&t.values.every((w,E)=>!t.isThumbDragging(E))){let{height:w,width:E,top:T,left:P}=r.current.getBoundingClientRect(),L=a?w:E,A=((a?C:x)-(a?T:P))/L;(s==="rtl"||a)&&(A=1-A);let H=t.getPercentValue(A),k,Q=t.values.findIndex(V=>H-V<0);if(Q===0)k=Q;else if(Q===-1)k=t.values.length-1;else{let V=t.values[Q-1],I=t.values[Q];Math.abs(V-H)<Math.abs(I-H)?k=Q-1:k=Q}k>=0&&t.isThumbEditable(k)?(y.preventDefault(),c.current=k,t.setFocusedThumb(k),g.current=O,t.setThumbDragging(c.current,!0),t.setThumbValue(k,H),u(window,"mouseup",v,!1),u(window,"touchend",v,!1),u(window,"pointerup",v,!1)):c.current=null}},v=y=>{var O,x;((x=y.pointerId)!==null&&x!==void 0?x:(O=y.changedTouches)===null||O===void 0?void 0:O[0].identifier)===g.current&&(c.current!=null&&(t.setThumbDragging(c.current,!1),c.current=null),l(window,"mouseup",v,!1),l(window,"touchend",v,!1),l(window,"pointerup",v,!1))};return"htmlFor"in n&&n.htmlFor&&(delete n.htmlFor,n.onClick=()=>{var y;(y=document.getElementById(x9(t,0)))===null||y===void 0||y.focus(),QN("keyboard")}),{labelProps:n,groupProps:{role:"group",...i},trackProps:Qt({onMouseDown(y){y.button!==0||y.altKey||y.ctrlKey||y.metaKey||m(y,void 0,y.clientX,y.clientY)},onPointerDown(y){y.pointerType==="mouse"&&(y.button!==0||y.altKey||y.ctrlKey||y.metaKey)||m(y,y.pointerId,y.clientX,y.clientY)},onTouchStart(y){m(y,y.changedTouches[0].identifier,y.changedTouches[0].clientX,y.changedTouches[0].clientY)},style:{position:"relative",touchAction:"none"}},h),outputProps:{htmlFor:t.values.map((y,O)=>x9(t,O)).join(" "),"aria-live":"off"}}}function TIe(e,t){let{index:r=0,isRequired:n,validationState:i,isInvalid:a,trackRef:o,inputRef:s,orientation:u=t.orientation,name:l}=e,c=e.isDisabled||t.isDisabled,f=u==="vertical",{direction:d}=Ha(),{addGlobalListener:h,removeGlobalListener:g}=Mg(),m=vL.get(t);var v;const{labelProps:y,fieldProps:O}=V$({...e,id:x9(t,r),"aria-labelledby":`${m.id} ${(v=e["aria-labelledby"])!==null&&v!==void 0?v:""}`.trim()}),x=t.values[r],C=F.useCallback(()=>{s.current&&rh(s.current)},[s]),w=t.focusedThumb===r;F.useEffect(()=>{w&&C()},[w,C]);let E=d==="rtl",T=F.useRef(null),{keyboardProps:P}=BN({onKeyDown(Q){let{getThumbMaxValue:V,getThumbMinValue:I,decrementThumb:q,incrementThumb:M,setThumbValue:z,setThumbDragging:G,pageSize:K}=t;if(!/^(PageUp|PageDown|Home|End)$/.test(Q.key)){Q.continuePropagation();return}switch(Q.preventDefault(),G(r,!0),Q.key){case"PageUp":M(r,K);break;case"PageDown":q(r,K);break;case"Home":z(r,I(r));break;case"End":z(r,V(r));break}G(r,!1)}}),{moveProps:L}=mue({onMoveStart(){T.current=null,t.setThumbDragging(r,!0)},onMove({deltaX:Q,deltaY:V,pointerType:I,shiftKey:q}){const{getThumbPercent:M,setThumbPercent:z,decrementThumb:G,incrementThumb:K,step:te,pageSize:ae}=t;if(!o.current)return;let{width:ie,height:Se}=o.current.getBoundingClientRect(),pe=f?Se:ie;if(T.current==null&&(T.current=M(r)*pe),I==="keyboard")Q>0&&E||Q<0&&!E||V>0?G(r,q?ae:te):K(r,q?ae:te);else{let xe=f?V:Q;(f||E)&&(xe=-xe),T.current+=xe,z(r,Cu(T.current/pe,0,1))}},onMoveEnd(){t.setThumbDragging(r,!1)}});t.setThumbEditable(r,!c);const{focusableProps:N}=Ng(Qt(e,{onFocus:()=>t.setFocusedThumb(r),onBlur:()=>t.setFocusedThumb(void 0)}),s);let B=F.useRef(void 0),j=Q=>{C(),B.current=Q,t.setThumbDragging(r,!0),h(window,"mouseup",A,!1),h(window,"touchend",A,!1),h(window,"pointerup",A,!1)},A=Q=>{var V,I;((I=Q.pointerId)!==null&&I!==void 0?I:(V=Q.changedTouches)===null||V===void 0?void 0:V[0].identifier)===B.current&&(C(),t.setThumbDragging(r,!1),g(window,"mouseup",A,!1),g(window,"touchend",A,!1),g(window,"pointerup",A,!1))},H=t.getThumbPercent(r);(f||d==="rtl")&&(H=1-H);let k=c?{}:Qt(P,L,{onMouseDown:Q=>{Q.button!==0||Q.altKey||Q.ctrlKey||Q.metaKey||j()},onPointerDown:Q=>{Q.button!==0||Q.altKey||Q.ctrlKey||Q.metaKey||j(Q.pointerId)},onTouchStart:Q=>{j(Q.changedTouches[0].identifier)}});return fO(s,x,Q=>{t.setThumbValue(r,Q)}),{inputProps:Qt(N,O,{type:"range",tabIndex:c?void 0:0,min:t.getThumbMinValue(r),max:t.getThumbMaxValue(r),step:t.step,value:x,name:l,disabled:c,"aria-orientation":u,"aria-valuetext":t.getThumbValueLabel(r),"aria-required":n||void 0,"aria-invalid":a||i==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-describedby":[m["aria-describedby"],e["aria-describedby"]].filter(Boolean).join(" "),"aria-details":[m["aria-details"],e["aria-details"]].filter(Boolean).join(" "),onChange:Q=>{t.setThumbValue(r,parseFloat(Q.target.value))}}),thumbProps:{...k,style:{position:"absolute",[f?"top":"left"]:`${H*100}%`,transform:"translate(-50%, -50%)",touchAction:"none"}},labelProps:y,isDragging:t.isThumbDragging(r),isDisabled:c,isFocused:w}}function j$(e,t){let{inputElementType:r="input",isDisabled:n=!1,isRequired:i=!1,isReadOnly:a=!1,type:o="text",validationBehavior:s="aria"}=e,[u,l]=Ka(e.value,e.defaultValue||"",e.onChange),{focusableProps:c}=Ng(e,t),f=vO({...e,value:u}),{isInvalid:d,validationErrors:h,validationDetails:g}=f.displayValidation,{labelProps:m,fieldProps:v,descriptionProps:y,errorMessageProps:O}=cw({...e,isInvalid:d,errorMessage:e.errorMessage||h}),x=Jr(e,{labelable:!0});const C={type:o,pattern:e.pattern};return fO(t,u,l),U$(e,f,t),F.useEffect(()=>{if(t.current instanceof cc(t.current).HTMLTextAreaElement){let w=t.current;Object.defineProperty(w,"defaultValue",{get:()=>w.value,set:()=>{},configurable:!0})}},[t]),{labelProps:m,inputProps:Qt(x,r==="input"?C:void 0,{disabled:n,readOnly:a,required:i&&s==="native","aria-required":i&&s==="aria"||void 0,"aria-invalid":d||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],"aria-controls":e["aria-controls"],value:u,onChange:w=>l(w.target.value),autoComplete:e.autoComplete,autoCapitalize:e.autoCapitalize,maxLength:e.maxLength,minLength:e.minLength,name:e.name,placeholder:e.placeholder,inputMode:e.inputMode,autoCorrect:e.autoCorrect,spellCheck:e.spellCheck,[parseInt($e.version,10)>=17?"enterKeyHint":"enterkeyhint"]:e.enterKeyHint,onCopy:e.onCopy,onCut:e.onCut,onPaste:e.onPaste,onCompositionEnd:e.onCompositionEnd,onCompositionStart:e.onCompositionStart,onCompositionUpdate:e.onCompositionUpdate,onSelect:e.onSelect,onBeforeInput:e.onBeforeInput,onInput:e.onInput,...c,...v}),descriptionProps:y,errorMessageProps:O,isInvalid:d,validationErrors:h,validationDetails:g}}function RK(){return typeof window<"u"&&window.InputEvent&&typeof InputEvent.prototype.getTargetRanges=="function"}function AIe(e,t,r){let n=Aa(f=>{let d=r.current;if(!d)return;let h=null;switch(f.inputType){case"historyUndo":case"historyRedo":return;case"insertLineBreak":return;case"deleteContent":case"deleteByCut":case"deleteByDrag":h=d.value.slice(0,d.selectionStart)+d.value.slice(d.selectionEnd);break;case"deleteContentForward":h=d.selectionEnd===d.selectionStart?d.value.slice(0,d.selectionStart)+d.value.slice(d.selectionEnd+1):d.value.slice(0,d.selectionStart)+d.value.slice(d.selectionEnd);break;case"deleteContentBackward":h=d.selectionEnd===d.selectionStart?d.value.slice(0,d.selectionStart-1)+d.value.slice(d.selectionStart):d.value.slice(0,d.selectionStart)+d.value.slice(d.selectionEnd);break;case"deleteSoftLineBackward":case"deleteHardLineBackward":h=d.value.slice(d.selectionStart);break;default:f.data!=null&&(h=d.value.slice(0,d.selectionStart)+f.data+d.value.slice(d.selectionEnd));break}(h==null||!t.validate(h))&&f.preventDefault()});F.useEffect(()=>{if(!RK()||!r.current)return;let f=r.current;return f.addEventListener("beforeinput",n,!1),()=>{f.removeEventListener("beforeinput",n,!1)}},[r,n]);let i=RK()?null:f=>{let d=f.target.value.slice(0,f.target.selectionStart)+f.data+f.target.value.slice(f.target.selectionEnd);t.validate(d)||f.preventDefault()},{labelProps:a,inputProps:o,descriptionProps:s,errorMessageProps:u,...l}=j$(e,r),c=F.useRef(null);return{inputProps:Qt(o,{onBeforeInput:i,onCompositionStart(){let{value:f,selectionStart:d,selectionEnd:h}=r.current;c.current={value:f,selectionStart:d,selectionEnd:h}},onCompositionEnd(){if(r.current&&!t.validate(r.current.value)){let{value:f,selectionStart:d,selectionEnd:h}=c.current;r.current.value=f,r.current.setSelectionRange(d,h),t.setInputValue(f)}}}),labelProps:a,descriptionProps:s,errorMessageProps:u,...l}}var Efe={};Efe={Empty:"فارغ"};var $fe={};$fe={Empty:"Изпразни"};var Cfe={};Cfe={Empty:"Prázdné"};var Pfe={};Pfe={Empty:"Tom"};var Dfe={};Dfe={Empty:"Leer"};var Rfe={};Rfe={Empty:"Άδειο"};var kfe={};kfe={Empty:"Empty"};var Tfe={};Tfe={Empty:"Vacío"};var Afe={};Afe={Empty:"Tühjenda"};var Ffe={};Ffe={Empty:"Tyhjä"};var Ife={};Ife={Empty:"Vide"};var Mfe={};Mfe={Empty:"ריק"};var Nfe={};Nfe={Empty:"Prazno"};var Lfe={};Lfe={Empty:"Üres"};var zfe={};zfe={Empty:"Vuoto"};var Qfe={};Qfe={Empty:"空"};var Bfe={};Bfe={Empty:"비어 있음"};var qfe={};qfe={Empty:"Tuščias"};var Ufe={};Ufe={Empty:"Tukšs"};var Vfe={};Vfe={Empty:"Tom"};var jfe={};jfe={Empty:"Leeg"};var Wfe={};Wfe={Empty:"Pusty"};var Zfe={};Zfe={Empty:"Vazio"};var Kfe={};Kfe={Empty:"Vazio"};var Hfe={};Hfe={Empty:"Gol"};var Yfe={};Yfe={Empty:"Не заполнено"};var Gfe={};Gfe={Empty:"Prázdne"};var Xfe={};Xfe={Empty:"Prazen"};var Jfe={};Jfe={Empty:"Prazno"};var ede={};ede={Empty:"Tomt"};var tde={};tde={Empty:"Boş"};var rde={};rde={Empty:"Пусто"};var nde={};nde={Empty:"空"};var ide={};ide={Empty:"空白"};var ade={};ade={"ar-AE":Efe,"bg-BG":$fe,"cs-CZ":Cfe,"da-DK":Pfe,"de-DE":Dfe,"el-GR":Rfe,"en-US":kfe,"es-ES":Tfe,"et-EE":Afe,"fi-FI":Ffe,"fr-FR":Ife,"he-IL":Mfe,"hr-HR":Nfe,"hu-HU":Lfe,"it-IT":zfe,"ja-JP":Qfe,"ko-KR":Bfe,"lt-LT":qfe,"lv-LV":Ufe,"nb-NO":Vfe,"nl-NL":jfe,"pl-PL":Wfe,"pt-BR":Zfe,"pt-PT":Kfe,"ro-RO":Hfe,"ru-RU":Yfe,"sk-SK":Gfe,"sl-SI":Xfe,"sr-SP":Jfe,"sv-SE":ede,"tr-TR":tde,"uk-UA":rde,"zh-CN":nde,"zh-TW":ide};function FIe(e){return e&&e.__esModule?e.default:e}function ode(e){const t=F.useRef(void 0);let{value:r,textValue:n,minValue:i,maxValue:a,isDisabled:o,isReadOnly:s,isRequired:u,onIncrement:l,onIncrementPage:c,onDecrement:f,onDecrementPage:d,onDecrementToMin:h,onIncrementToMax:g}=e;const m=dh(FIe(ade),"@react-aria/spinbutton"),v=()=>clearTimeout(t.current);F.useEffect(()=>()=>v(),[]);let y=B=>{if(!(B.ctrlKey||B.metaKey||B.shiftKey||B.altKey||s))switch(B.key){case"PageUp":if(c){B.preventDefault(),c==null||c();break}case"ArrowUp":case"Up":l&&(B.preventDefault(),l==null||l());break;case"PageDown":if(d){B.preventDefault(),d==null||d();break}case"ArrowDown":case"Down":f&&(B.preventDefault(),f==null||f());break;case"Home":h&&(B.preventDefault(),h==null||h());break;case"End":g&&(B.preventDefault(),g==null||g());break}},O=F.useRef(!1),x=()=>{O.current=!0},C=()=>{O.current=!1},w=n===""?m.format("Empty"):(n||`${r}`).replace("-","−");F.useEffect(()=>{O.current&&(vIe("assertive"),oy(w,"assertive"))},[w]);const E=Aa(B=>{v(),l==null||l(),t.current=window.setTimeout(()=>{(a===void 0||isNaN(a)||r===void 0||isNaN(r)||r<a)&&E(60)},B)}),T=Aa(B=>{v(),f==null||f(),t.current=window.setTimeout(()=>{(i===void 0||isNaN(i)||r===void 0||isNaN(r)||r>i)&&T(60)},B)});let P=B=>{B.preventDefault()},{addGlobalListener:L,removeAllGlobalListeners:N}=Mg();return{spinButtonProps:{role:"spinbutton","aria-valuenow":r!==void 0&&!isNaN(r)?r:void 0,"aria-valuetext":w,"aria-valuemin":i,"aria-valuemax":a,"aria-disabled":o||void 0,"aria-readonly":s||void 0,"aria-required":u||void 0,onKeyDown:y,onFocus:x,onBlur:C},incrementButtonProps:{onPressStart:()=>{E(400),L(window,"contextmenu",P)},onPressEnd:()=>{v(),N()},onFocus:x,onBlur:C},decrementButtonProps:{onPressStart:()=>{T(400),L(window,"contextmenu",P)},onPressEnd:()=>{v(),N()},onFocus:x,onBlur:C}}}var sde={};sde={decrease:e=>`خفض ${e.fieldLabel}`,increase:e=>`زيادة ${e.fieldLabel}`,numberField:"حقل رقمي"};var ude={};ude={decrease:e=>`Намаляване ${e.fieldLabel}`,increase:e=>`Усилване ${e.fieldLabel}`,numberField:"Номер на полето"};var lde={};lde={decrease:e=>`Snížit ${e.fieldLabel}`,increase:e=>`Zvýšit ${e.fieldLabel}`,numberField:"Číselné pole"};var cde={};cde={decrease:e=>`Reducer ${e.fieldLabel}`,increase:e=>`Øg ${e.fieldLabel}`,numberField:"Talfelt"};var fde={};fde={decrease:e=>`${e.fieldLabel} verringern`,increase:e=>`${e.fieldLabel} erhöhen`,numberField:"Nummernfeld"};var dde={};dde={decrease:e=>`Μείωση ${e.fieldLabel}`,increase:e=>`Αύξηση ${e.fieldLabel}`,numberField:"Πεδίο αριθμού"};var hde={};hde={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var pde={};pde={decrease:e=>`Reducir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var mde={};mde={decrease:e=>`Vähenda ${e.fieldLabel}`,increase:e=>`Suurenda ${e.fieldLabel}`,numberField:"Numbri väli"};var gde={};gde={decrease:e=>`Vähennä ${e.fieldLabel}`,increase:e=>`Lisää ${e.fieldLabel}`,numberField:"Numerokenttä"};var vde={};vde={decrease:e=>`Diminuer ${e.fieldLabel}`,increase:e=>`Augmenter ${e.fieldLabel}`,numberField:"Champ de nombre"};var yde={};yde={decrease:e=>`הקטן ${e.fieldLabel}`,increase:e=>`הגדל ${e.fieldLabel}`,numberField:"שדה מספר"};var bde={};bde={decrease:e=>`Smanji ${e.fieldLabel}`,increase:e=>`Povećaj ${e.fieldLabel}`,numberField:"Polje broja"};var Ode={};Ode={decrease:e=>`${e.fieldLabel} csökkentése`,increase:e=>`${e.fieldLabel} növelése`,numberField:"Számmező"};var xde={};xde={decrease:e=>`Riduci ${e.fieldLabel}`,increase:e=>`Aumenta ${e.fieldLabel}`,numberField:"Campo numero"};var _de={};_de={decrease:e=>`${e.fieldLabel}を縮小`,increase:e=>`${e.fieldLabel}を拡大`,numberField:"数値フィールド"};var Sde={};Sde={decrease:e=>`${e.fieldLabel} 감소`,increase:e=>`${e.fieldLabel} 증가`,numberField:"번호 필드"};var wde={};wde={decrease:e=>`Sumažinti ${e.fieldLabel}`,increase:e=>`Padidinti ${e.fieldLabel}`,numberField:"Numerio laukas"};var Ede={};Ede={decrease:e=>`Samazināšana ${e.fieldLabel}`,increase:e=>`Palielināšana ${e.fieldLabel}`,numberField:"Skaitļu lauks"};var $de={};$de={decrease:e=>`Reduser ${e.fieldLabel}`,increase:e=>`Øk ${e.fieldLabel}`,numberField:"Tallfelt"};var Cde={};Cde={decrease:e=>`${e.fieldLabel} verlagen`,increase:e=>`${e.fieldLabel} verhogen`,numberField:"Getalveld"};var Pde={};Pde={decrease:e=>`Zmniejsz ${e.fieldLabel}`,increase:e=>`Zwiększ ${e.fieldLabel}`,numberField:"Pole numeru"};var Dde={};Dde={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var Rde={};Rde={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo numérico"};var kde={};kde={decrease:e=>`Scădere ${e.fieldLabel}`,increase:e=>`Creștere ${e.fieldLabel}`,numberField:"Câmp numeric"};var Tde={};Tde={decrease:e=>`Уменьшение ${e.fieldLabel}`,increase:e=>`Увеличение ${e.fieldLabel}`,numberField:"Числовое поле"};var Ade={};Ade={decrease:e=>`Znížiť ${e.fieldLabel}`,increase:e=>`Zvýšiť ${e.fieldLabel}`,numberField:"Číselné pole"};var Fde={};Fde={decrease:e=>`Upadati ${e.fieldLabel}`,increase:e=>`Povečajte ${e.fieldLabel}`,numberField:"Številčno polje"};var Ide={};Ide={decrease:e=>`Smanji ${e.fieldLabel}`,increase:e=>`Povećaj ${e.fieldLabel}`,numberField:"Polje broja"};var Mde={};Mde={decrease:e=>`Minska ${e.fieldLabel}`,increase:e=>`Öka ${e.fieldLabel}`,numberField:"Nummerfält"};var Nde={};Nde={decrease:e=>`${e.fieldLabel} azalt`,increase:e=>`${e.fieldLabel} arttır`,numberField:"Sayı alanı"};var Lde={};Lde={decrease:e=>`Зменшити ${e.fieldLabel}`,increase:e=>`Збільшити ${e.fieldLabel}`,numberField:"Поле номера"};var zde={};zde={decrease:e=>`降低 ${e.fieldLabel}`,increase:e=>`提高 ${e.fieldLabel}`,numberField:"数字字段"};var Qde={};Qde={decrease:e=>`縮小 ${e.fieldLabel}`,increase:e=>`放大 ${e.fieldLabel}`,numberField:"數字欄位"};var Bde={};Bde={"ar-AE":sde,"bg-BG":ude,"cs-CZ":lde,"da-DK":cde,"de-DE":fde,"el-GR":dde,"en-US":hde,"es-ES":pde,"et-EE":mde,"fi-FI":gde,"fr-FR":vde,"he-IL":yde,"hr-HR":bde,"hu-HU":Ode,"it-IT":xde,"ja-JP":_de,"ko-KR":Sde,"lt-LT":wde,"lv-LV":Ede,"nb-NO":$de,"nl-NL":Cde,"pl-PL":Pde,"pt-BR":Dde,"pt-PT":Rde,"ro-RO":kde,"ru-RU":Tde,"sk-SK":Ade,"sl-SI":Fde,"sr-SP":Ide,"sv-SE":Mde,"tr-TR":Nde,"uk-UA":Lde,"zh-CN":zde,"zh-TW":Qde};function IIe(e){return e&&e.__esModule?e.default:e}function MIe(e,t,r){let{id:n,decrementAriaLabel:i,incrementAriaLabel:a,isDisabled:o,isReadOnly:s,isRequired:u,minValue:l,maxValue:c,autoFocus:f,label:d,formatOptions:h,onBlur:g=()=>{},onFocus:m,onFocusChange:v,onKeyDown:y,onKeyUp:O,description:x,errorMessage:C,isWheelDisabled:w,...E}=e,{increment:T,incrementToMax:P,decrement:L,decrementToMin:N,numberValue:B,inputValue:j,commit:A,commitValidation:H}=t;const k=dh(IIe(Bde),"@react-aria/numberfield");let Q=Bi(n),{focusProps:V}=T$({onBlur(){A()}}),I=qI(h),q=F.useMemo(()=>I.resolvedOptions(),[I]),M=qI({...h,currencySign:void 0}),z=F.useMemo(()=>isNaN(B)?"":M.format(B),[M,B]),{spinButtonProps:G,incrementButtonProps:K,decrementButtonProps:te}=ode({isDisabled:o,isReadOnly:s,isRequired:u,maxValue:c,minValue:l,onIncrement:T,onIncrementToMax:P,onDecrement:L,onDecrementToMin:N,value:B,textValue:z}),[ae,ie]=F.useState(!1),{focusWithinProps:Se}=Lg({isDisabled:o,onFocusWithinChange:ie}),pe=F.useCallback(Mt=>{Math.abs(Mt.deltaY)<=Math.abs(Mt.deltaX)||(Mt.deltaY>0?T():Mt.deltaY<0&&L())},[L,T]);vke({onScroll:pe,isDisabled:w||o||s||!ae},r);var Oe;let me=((Oe=q.maximumFractionDigits)!==null&&Oe!==void 0?Oe:0)>0,ne=t.minValue===void 0||isNaN(t.minValue)||t.minValue<0,se="numeric";Jse()?ne?se="text":me&&(se="decimal"):P$()&&(ne?se="numeric":me&&(se="decimal"));let X=Mt=>{t.validate(Mt)&&t.setInputValue(Mt)},re=Jr(e),he=F.useCallback(Mt=>{Mt.key==="Enter"?(A(),H()):Mt.continuePropagation()},[A,H]),{isInvalid:ge,validationErrors:le,validationDetails:ve}=t.displayValidation,{labelProps:_e,inputProps:De,descriptionProps:Te,errorMessageProps:ke}=AIe({...E,...re,name:void 0,label:d,autoFocus:f,isDisabled:o,isReadOnly:s,isRequired:u,validate:void 0,[Y2]:t,value:j,defaultValue:void 0,autoComplete:"off","aria-label":e["aria-label"]||void 0,"aria-labelledby":e["aria-labelledby"]||void 0,id:Q,type:"text",inputMode:se,onChange:X,onBlur:g,onFocus:m,onFocusChange:v,onKeyDown:F.useMemo(()=>Kf(he,y),[he,y]),onKeyUp:O,description:x,errorMessage:C},t,r);fO(r,t.numberValue,t.setNumberValue);let Be=Qt(G,V,De,{role:null,"aria-roledescription":lO()?null:k.format("numberField"),"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null,autoCorrect:"off",spellCheck:"false"});e.validationBehavior==="native"&&(Be["aria-required"]=void 0);let rt=Mt=>{var zt;document.activeElement!==r.current&&(Mt.pointerType==="mouse"?(zt=r.current)===null||zt===void 0||zt.focus():Mt.target.focus())},Le=e["aria-label"]||(typeof e.label=="string"?e.label:""),Ve;Le||(Ve=e.label!=null?_e.id:e["aria-labelledby"]);let at=Bi(),bt=Bi(),_t=Qt(K,{"aria-label":a||k.format("increase",{fieldLabel:Le}).trim(),id:Ve&&!a?at:null,"aria-labelledby":Ve&&!a?`${at} ${Ve}`:null,"aria-controls":Q,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canIncrement,onPressStart:rt}),pt=Qt(te,{"aria-label":i||k.format("decrease",{fieldLabel:Le}).trim(),id:Ve&&!i?bt:null,"aria-labelledby":Ve&&!i?`${bt} ${Ve}`:null,"aria-controls":Q,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canDecrement,onPressStart:rt});return{groupProps:{...Se,role:"group","aria-disabled":o,"aria-invalid":ge?"true":void 0},labelProps:_e,inputProps:Be,incrementButtonProps:_t,decrementButtonProps:pt,errorMessageProps:ke,descriptionProps:Te,isInvalid:ge,validationErrors:le,validationDetails:ve}}var qde={};qde={buttonLabel:"عرض المقترحات",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} خيار`,other:()=>`${t.number(e.optionCount)} خيارات`})} متاحة.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`المجموعة المدخلة ${e.groupTitle}, مع ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} خيار`,other:()=>`${t.number(e.groupCount)} خيارات`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", محدد",other:""},e.isSelected)}`,listboxLabel:"مقترحات",selectedAnnouncement:e=>`${e.optionText}، محدد`};var Ude={};Ude={buttonLabel:"Покажи предложения",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} опция`,other:()=>`${t.number(e.optionCount)} опции`})} на разположение.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Въведена група ${e.groupTitle}, с ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} опция`,other:()=>`${t.number(e.groupCount)} опции`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", избрани",other:""},e.isSelected)}`,listboxLabel:"Предложения",selectedAnnouncement:e=>`${e.optionText}, избрани`};var Vde={};Vde={buttonLabel:"Zobrazit doporučení",countAnnouncement:(e,t)=>`K dispozici ${t.plural(e.optionCount,{one:()=>`je ${t.number(e.optionCount)} možnost`,other:()=>`jsou/je ${t.number(e.optionCount)} možnosti/-í`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadaná skupina „${e.groupTitle}“ ${t.plural(e.groupCount,{one:()=>`s ${t.number(e.groupCount)} možností`,other:()=>`se ${t.number(e.groupCount)} možnostmi`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:" (vybráno)",other:""},e.isSelected)}`,listboxLabel:"Návrhy",selectedAnnouncement:e=>`${e.optionText}, vybráno`};var jde={};jde={buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} mulighed tilgængelig`,other:()=>`${t.number(e.optionCount)} muligheder tilgængelige`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angivet gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} mulighed`,other:()=>`${t.number(e.groupCount)} muligheder`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`};var Wde={};Wde={buttonLabel:"Empfehlungen anzeigen",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} Option`,other:()=>`${t.number(e.optionCount)} Optionen`})} verfügbar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Eingetretene Gruppe ${e.groupTitle}, mit ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} Option`,other:()=>`${t.number(e.groupCount)} Optionen`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", ausgewählt",other:""},e.isSelected)}`,listboxLabel:"Empfehlungen",selectedAnnouncement:e=>`${e.optionText}, ausgewählt`};var Zde={};Zde={buttonLabel:"Προβολή προτάσεων",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} επιλογή`,other:()=>`${t.number(e.optionCount)} επιλογές `})} διαθέσιμες.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Εισαγμένη ομάδα ${e.groupTitle}, με ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} επιλογή`,other:()=>`${t.number(e.groupCount)} επιλογές`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", επιλεγμένο",other:""},e.isSelected)}`,listboxLabel:"Προτάσεις",selectedAnnouncement:e=>`${e.optionText}, επιλέχθηκε`};var Kde={};Kde={focusAnnouncement:(e,t)=>`${t.select({true:()=>`Entered group ${e.groupTitle}, with ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selected",other:""},e.isSelected)}`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} available.`,selectedAnnouncement:e=>`${e.optionText}, selected`,buttonLabel:"Show suggestions",listboxLabel:"Suggestions"};var Hde={};Hde={buttonLabel:"Mostrar sugerencias",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opción`,other:()=>`${t.number(e.optionCount)} opciones`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Se ha unido al grupo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opción`,other:()=>`${t.number(e.groupCount)} opciones`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", seleccionado",other:""},e.isSelected)}`,listboxLabel:"Sugerencias",selectedAnnouncement:e=>`${e.optionText}, seleccionado`};var Yde={};Yde={buttonLabel:"Kuva soovitused",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} valik`,other:()=>`${t.number(e.optionCount)} valikud`})} saadaval.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Sisestatud rühm ${e.groupTitle}, valikuga ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} valik`,other:()=>`${t.number(e.groupCount)} valikud`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valitud",other:""},e.isSelected)}`,listboxLabel:"Soovitused",selectedAnnouncement:e=>`${e.optionText}, valitud`};var Gde={};Gde={buttonLabel:"Näytä ehdotukset",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} vaihtoehto`,other:()=>`${t.number(e.optionCount)} vaihtoehdot`})} saatavilla.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Mentiin ryhmään ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} vaihtoehdon`,other:()=>`${t.number(e.groupCount)} vaihtoehdon`})} kanssa.`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valittu",other:""},e.isSelected)}`,listboxLabel:"Ehdotukset",selectedAnnouncement:e=>`${e.optionText}, valittu`};var Xde={};Xde={buttonLabel:"Afficher les suggestions",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groupe ${e.groupTitle} rejoint, avec ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", sélectionné(s)",other:""},e.isSelected)}`,listboxLabel:"Suggestions",selectedAnnouncement:e=>`${e.optionText}, sélectionné`};var Jde={};Jde={buttonLabel:"הצג הצעות",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`אפשרות ${t.number(e.optionCount)}`,other:()=>`${t.number(e.optionCount)} אפשרויות`})} במצב זמין.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`נכנס לקבוצה ${e.groupTitle}, עם ${t.plural(e.groupCount,{one:()=>`אפשרות ${t.number(e.groupCount)}`,other:()=>`${t.number(e.groupCount)} אפשרויות`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", נבחר",other:""},e.isSelected)}`,listboxLabel:"הצעות",selectedAnnouncement:e=>`${e.optionText}, נבחר`};var ehe={};ehe={buttonLabel:"Prikaži prijedloge",countAnnouncement:(e,t)=>`Dostupno još: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} opcije/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", odabranih",other:""},e.isSelected)}`,listboxLabel:"Prijedlozi",selectedAnnouncement:e=>`${e.optionText}, odabrano`};var the={};the={buttonLabel:"Javaslatok megjelenítése",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} lehetőség`,other:()=>`${t.number(e.optionCount)} lehetőség`})} áll rendelkezésre.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Belépett a(z) ${e.groupTitle} csoportba, amely ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} lehetőséget`,other:()=>`${t.number(e.groupCount)} lehetőséget`})} tartalmaz. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", kijelölve",other:""},e.isSelected)}`,listboxLabel:"Javaslatok",selectedAnnouncement:e=>`${e.optionText}, kijelölve`};var rhe={};rhe={buttonLabel:"Mostra suggerimenti",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opzione disponibile`,other:()=>`${t.number(e.optionCount)} opzioni disponibili`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingresso nel gruppo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opzione`,other:()=>`${t.number(e.groupCount)} opzioni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selezionato",other:""},e.isSelected)}`,listboxLabel:"Suggerimenti",selectedAnnouncement:e=>`${e.optionText}, selezionato`};var nhe={};nhe={buttonLabel:"候補を表示",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 個のオプション`,other:()=>`${t.number(e.optionCount)} 個のオプション`})}を利用できます。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`入力されたグループ ${e.groupTitle}、${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 個のオプション`,other:()=>`${t.number(e.groupCount)} 個のオプション`})}を含む。`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:"、選択済み",other:""},e.isSelected)}`,listboxLabel:"候補",selectedAnnouncement:e=>`${e.optionText}、選択済み`};var ihe={};ihe={buttonLabel:"제안 사항 표시",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)}개 옵션`,other:()=>`${t.number(e.optionCount)}개 옵션`})}을 사용할 수 있습니다.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`입력한 그룹 ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)}개 옵션`,other:()=>`${t.number(e.groupCount)}개 옵션`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 선택됨",other:""},e.isSelected)}`,listboxLabel:"제안",selectedAnnouncement:e=>`${e.optionText}, 선택됨`};var ahe={};ahe={buttonLabel:"Rodyti pasiūlymus",countAnnouncement:(e,t)=>`Yra ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} parinktis`,other:()=>`${t.number(e.optionCount)} parinktys (-ių)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Įvesta grupė ${e.groupTitle}, su ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} parinktimi`,other:()=>`${t.number(e.groupCount)} parinktimis (-ių)`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", pasirinkta",other:""},e.isSelected)}`,listboxLabel:"Pasiūlymai",selectedAnnouncement:e=>`${e.optionText}, pasirinkta`};var ohe={};ohe={buttonLabel:"Rādīt ieteikumus",countAnnouncement:(e,t)=>`Pieejamo opciju skaits: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcijas`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ievadīta grupa ${e.groupTitle}, ar ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opciju`,other:()=>`${t.number(e.groupCount)} opcijām`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", atlasīta",other:""},e.isSelected)}`,listboxLabel:"Ieteikumi",selectedAnnouncement:e=>`${e.optionText}, atlasīta`};var she={};she={buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativer`})} finnes.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angitt gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativer`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`};var uhe={};uhe={buttonLabel:"Suggesties weergeven",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} optie`,other:()=>`${t.number(e.optionCount)} opties`})} beschikbaar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groep ${e.groupTitle} ingevoerd met ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} optie`,other:()=>`${t.number(e.groupCount)} opties`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", geselecteerd",other:""},e.isSelected)}`,listboxLabel:"Suggesties",selectedAnnouncement:e=>`${e.optionText}, geselecteerd`};var lhe={};lhe={buttonLabel:"Wyświetlaj sugestie",countAnnouncement:(e,t)=>`dostępna/dostępne(-nych) ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcja`,other:()=>`${t.number(e.optionCount)} opcje(-i)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Dołączono do grupy ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcją`,other:()=>`${t.number(e.groupCount)} opcjami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", wybrano",other:""},e.isSelected)}`,listboxLabel:"Sugestie",selectedAnnouncement:e=>`${e.optionText}, wybrano`};var che={};che={buttonLabel:"Mostrar sugestões",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opção`,other:()=>`${t.number(e.optionCount)} opções`})} disponível.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo inserido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opção`,other:()=>`${t.number(e.groupCount)} opções`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugestões",selectedAnnouncement:e=>`${e.optionText}, selecionado`};var fhe={};fhe={buttonLabel:"Apresentar sugestões",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opção`,other:()=>`${t.number(e.optionCount)} opções`})} disponível.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo introduzido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opção`,other:()=>`${t.number(e.groupCount)} opções`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugestões",selectedAnnouncement:e=>`${e.optionText}, selecionado`};var dhe={};dhe={buttonLabel:"Afișare sugestii",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opțiune`,other:()=>`${t.number(e.optionCount)} opțiuni`})} disponibile.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grup ${e.groupTitle} introdus, cu ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opțiune`,other:()=>`${t.number(e.groupCount)} opțiuni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selectat",other:""},e.isSelected)}`,listboxLabel:"Sugestii",selectedAnnouncement:e=>`${e.optionText}, selectat`};var hhe={};hhe={buttonLabel:"Показать предложения",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} параметр`,other:()=>`${t.number(e.optionCount)} параметров`})} доступно.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Введенная группа ${e.groupTitle}, с ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} параметром`,other:()=>`${t.number(e.groupCount)} параметрами`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", выбранными",other:""},e.isSelected)}`,listboxLabel:"Предложения",selectedAnnouncement:e=>`${e.optionText}, выбрано`};var phe={};phe={buttonLabel:"Zobraziť návrhy",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} možnosť`,other:()=>`${t.number(e.optionCount)} možnosti/-í`})} k dispozícii.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadaná skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} možnosťou`,other:()=>`${t.number(e.groupCount)} možnosťami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", vybraté",other:""},e.isSelected)}`,listboxLabel:"Návrhy",selectedAnnouncement:e=>`${e.optionText}, vybraté`};var mhe={};mhe={buttonLabel:"Prikaži predloge",countAnnouncement:(e,t)=>`Na voljo je ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Vnesena skupina ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcija`,other:()=>`${t.number(e.groupCount)} opcije`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izbrano",other:""},e.isSelected)}`,listboxLabel:"Predlogi",selectedAnnouncement:e=>`${e.optionText}, izbrano`};var ghe={};ghe={buttonLabel:"Prikaži predloge",countAnnouncement:(e,t)=>`Dostupno još: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena grupa ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} optione/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izabranih",other:""},e.isSelected)}`,listboxLabel:"Predlozi",selectedAnnouncement:e=>`${e.optionText}, izabrano`};var vhe={};vhe={buttonLabel:"Visa förslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativ`})} tillgängliga.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingick i gruppen ${e.groupTitle} med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativ`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valda",other:""},e.isSelected)}`,listboxLabel:"Förslag",selectedAnnouncement:e=>`${e.optionText}, valda`};var yhe={};yhe={buttonLabel:"Önerileri göster",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} seçenek`,other:()=>`${t.number(e.optionCount)} seçenekler`})} kullanılabilir.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Girilen grup ${e.groupTitle}, ile ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} seçenek`,other:()=>`${t.number(e.groupCount)} seçenekler`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", seçildi",other:""},e.isSelected)}`,listboxLabel:"Öneriler",selectedAnnouncement:e=>`${e.optionText}, seçildi`};var bhe={};bhe={buttonLabel:"Показати пропозиції",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} параметр`,other:()=>`${t.number(e.optionCount)} параметри(-ів)`})} доступно.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Введена група ${e.groupTitle}, з ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} параметр`,other:()=>`${t.number(e.groupCount)} параметри(-ів)`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", вибрано",other:""},e.isSelected)}`,listboxLabel:"Пропозиції",selectedAnnouncement:e=>`${e.optionText}, вибрано`};var Ohe={};Ohe={buttonLabel:"显示建议",countAnnouncement:(e,t)=>`有 ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 个选项`,other:()=>`${t.number(e.optionCount)} 个选项`})}可用。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`进入了 ${e.groupTitle} 组,其中有 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 个选项`,other:()=>`${t.number(e.groupCount)} 个选项`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 已选择",other:""},e.isSelected)}`,listboxLabel:"建议",selectedAnnouncement:e=>`${e.optionText}, 已选择`};var xhe={};xhe={buttonLabel:"顯示建議",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 選項`,other:()=>`${t.number(e.optionCount)} 選項`})} 可用。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`輸入的群組 ${e.groupTitle}, 有 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 選項`,other:()=>`${t.number(e.groupCount)} 選項`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 已選取",other:""},e.isSelected)}`,listboxLabel:"建議",selectedAnnouncement:e=>`${e.optionText}, 已選取`};var _he={};_he={"ar-AE":qde,"bg-BG":Ude,"cs-CZ":Vde,"da-DK":jde,"de-DE":Wde,"el-GR":Zde,"en-US":Kde,"es-ES":Hde,"et-EE":Yde,"fi-FI":Gde,"fr-FR":Xde,"he-IL":Jde,"hr-HR":ehe,"hu-HU":the,"it-IT":rhe,"ja-JP":nhe,"ko-KR":ihe,"lt-LT":ahe,"lv-LV":ohe,"nb-NO":she,"nl-NL":uhe,"pl-PL":lhe,"pt-BR":che,"pt-PT":fhe,"ro-RO":dhe,"ru-RU":hhe,"sk-SK":phe,"sl-SI":mhe,"sr-SP":ghe,"sv-SE":vhe,"tr-TR":yhe,"uk-UA":bhe,"zh-CN":Ohe,"zh-TW":xhe};const W$=new WeakMap;function NIe(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function She(e,t){let r=W$.get(e);if(!r)throw new Error("Unknown list");return`${r.id}-option-${NIe(t)}`}function LIe(e,t,r){let n=Jr(e,{labelable:!0}),i=e.selectionBehavior||"toggle",a=e.linkBehavior||(i==="replace"?"action":"override");i==="toggle"&&a==="action"&&(a="override");let{listProps:o}=ZN({...e,ref:r,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,linkBehavior:a}),{focusWithinProps:s}=Lg({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),u=Bi(e.id);W$.set(t,{id:u,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction,linkBehavior:a});let{labelProps:l,fieldProps:c}=V$({...e,id:u,labelElementType:"span"});return{labelProps:l,listBoxProps:Qt(n,s,t.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox",...Qt(c,o)})}}function zIe(e,t,r){var n,i;let{key:a}=e,o=W$.get(t);var s;let u=(s=e.isDisabled)!==null&&s!==void 0?s:t.selectionManager.isDisabled(a);var l;let c=(l=e.isSelected)!==null&&l!==void 0?l:t.selectionManager.isSelected(a);var f;let d=(f=e.shouldSelectOnPressUp)!==null&&f!==void 0?f:o==null?void 0:o.shouldSelectOnPressUp;var h;let g=(h=e.shouldFocusOnHover)!==null&&h!==void 0?h:o==null?void 0:o.shouldFocusOnHover;var m;let v=(m=e.shouldUseVirtualFocus)!==null&&m!==void 0?m:o==null?void 0:o.shouldUseVirtualFocus;var y;let O=(y=e.isVirtualized)!==null&&y!==void 0?y:o==null?void 0:o.isVirtualized,x=I0(),C=I0(),w={role:"option","aria-disabled":u||void 0,"aria-selected":t.selectionManager.selectionMode!=="none"?c:void 0};z0()&&FN()||(w["aria-label"]=e["aria-label"],w["aria-labelledby"]=x,w["aria-describedby"]=C);let E=t.collection.getItem(a);if(O){let V=Number(E==null?void 0:E.index);w["aria-posinset"]=Number.isNaN(V)?void 0:V+1,w["aria-setsize"]=KN(t.collection)}let T=o!=null&&o.onAction?()=>{var V;return o==null||(V=o.onAction)===null||V===void 0?void 0:V.call(o,a)}:void 0,P=She(t,a),{itemProps:L,isPressed:N,isFocused:B,hasAction:j,allowsSelection:A}=F$({selectionManager:t.selectionManager,key:a,ref:r,shouldSelectOnPressUp:d,allowsDifferentPressOrigin:d&&g,isVirtualized:O,shouldUseVirtualFocus:v,isDisabled:u,onAction:T||!(E==null||(n=E.props)===null||n===void 0)&&n.onAction?Kf(E==null||(i=E.props)===null||i===void 0?void 0:i.onAction,T):void 0,linkBehavior:o==null?void 0:o.linkBehavior,id:P}),{hoverProps:H}=Ru({isDisabled:u||!g,onHoverStart(){gg()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(a))}}),k=Jr(E==null?void 0:E.props);delete k.id;let Q=IN(E==null?void 0:E.props);return{optionProps:{...w,...Qt(k,L,H,Q),id:P},labelProps:{id:x},descriptionProps:{id:C},isFocused:B,isFocusVisible:B&&t.selectionManager.isFocused&&gg(),isSelected:c,isDisabled:u,isPressed:N,allowsSelection:A,hasAction:j}}function QIe(e){let{heading:t,"aria-label":r}=e,n=Bi();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":r,"aria-labelledby":t?n:void 0}}}function BIe(e){return e&&e.__esModule?e.default:e}function qIe(e,t){let{buttonRef:r,popoverRef:n,inputRef:i,listBoxRef:a,keyboardDelegate:o,layoutDelegate:s,shouldFocusWrap:u,isReadOnly:l,isDisabled:c}=e,f=F.useRef(null);r=r??f;let d=dh(BIe(_he),"@react-aria/combobox"),{menuTriggerProps:h,menuProps:g}=vle({type:"listbox",isDisabled:c||l},t,r);W$.set(t,{id:g.id});let{collection:m}=t,{disabledKeys:v}=t.selectionManager,y=F.useMemo(()=>o||new aw({collection:m,disabledKeys:v,ref:a,layoutDelegate:s}),[o,s,m,v,a]),{collectionProps:O}=WN({selectionManager:t.selectionManager,keyboardDelegate:y,disallowTypeAhead:!0,disallowEmptySelection:!0,shouldFocusWrap:u,ref:i,isVirtualized:!0}),x=cO(),C=me=>{if(!me.nativeEvent.isComposing)switch(me.key){case"Enter":case"Tab":if(t.isOpen&&me.key==="Enter"&&me.preventDefault(),t.isOpen&&a.current&&t.selectionManager.focusedKey!=null&&t.selectionManager.isLink(t.selectionManager.focusedKey)){let ne=a.current.querySelector(`[data-key="${CSS.escape(t.selectionManager.focusedKey.toString())}"]`);if(me.key==="Enter"&&ne instanceof HTMLAnchorElement){let se=t.collection.getItem(t.selectionManager.focusedKey);se&&x.open(ne,me,se.props.href,se.props.routerOptions)}t.close()}else t.commit();break;case"Escape":(t.selectedKey!==null||t.inputValue===""||e.allowsCustomValue)&&me.continuePropagation(),t.revert();break;case"ArrowDown":t.open("first","manual");break;case"ArrowUp":t.open("last","manual");break;case"ArrowLeft":case"ArrowRight":t.selectionManager.setFocusedKey(null);break}},w=me=>{var ne;let se=(r==null?void 0:r.current)&&r.current===me.relatedTarget,X=(ne=n.current)===null||ne===void 0?void 0:ne.contains(me.relatedTarget);se||X||(e.onBlur&&e.onBlur(me),t.setFocused(!1))},E=me=>{t.isFocused||(e.onFocus&&e.onFocus(me),t.setFocused(!0))},{isInvalid:T,validationErrors:P,validationDetails:L}=t.displayValidation,{labelProps:N,inputProps:B,descriptionProps:j,errorMessageProps:A}=j$({...e,onChange:t.setInputValue,onKeyDown:l?e.onKeyDown:Kf(t.isOpen&&O.onKeyDown,C,e.onKeyDown),onBlur:w,value:t.inputValue,onFocus:E,autoComplete:"off",validate:void 0,[Y2]:t},i),H=me=>{if(me.pointerType==="touch"){var ne;(ne=i.current)===null||ne===void 0||ne.focus(),t.toggle(null,"manual")}},k=me=>{if(me.pointerType!=="touch"){var ne;(ne=i.current)===null||ne===void 0||ne.focus(),t.toggle(me.pointerType==="keyboard"||me.pointerType==="virtual"?"first":null,"manual")}},Q=vy({id:h.id,"aria-label":d.format("buttonLabel"),"aria-labelledby":e["aria-labelledby"]||N.id}),V=vy({id:g.id,"aria-label":d.format("listboxLabel"),"aria-labelledby":e["aria-labelledby"]||N.id}),I=F.useRef(0),q=me=>{if(c||l)return;if(me.timeStamp-I.current<500){var ne;me.preventDefault(),(ne=i.current)===null||ne===void 0||ne.focus();return}let se=me.target.getBoundingClientRect(),X=me.changedTouches[0],re=Math.ceil(se.left+.5*se.width),he=Math.ceil(se.top+.5*se.height);if(X.clientX===re&&X.clientY===he){var ge;me.preventDefault(),(ge=i.current)===null||ge===void 0||ge.focus(),t.toggle(null,"manual"),I.current=me.timeStamp}},M=t.selectionManager.focusedKey!=null&&t.isOpen?t.collection.getItem(t.selectionManager.focusedKey):void 0;var z;let G=(z=M==null?void 0:M.parentKey)!==null&&z!==void 0?z:null;var K;let te=(K=t.selectionManager.focusedKey)!==null&&K!==void 0?K:null,ae=F.useRef(G),ie=F.useRef(te);F.useEffect(()=>{if(kE()&&M!=null&&te!=null&&te!==ie.current){let ne=t.selectionManager.isSelected(te),se=G!=null?t.collection.getItem(G):null,X=(se==null?void 0:se["aria-label"])||(typeof(se==null?void 0:se.rendered)=="string"?se.rendered:"")||"";var me;let re=d.format("focusAnnouncement",{isGroupChange:(me=se&&G!==ae.current)!==null&&me!==void 0?me:!1,groupTitle:X,groupCount:se?[...I$(se,t.collection)].length:0,optionText:M["aria-label"]||M.textValue||"",isSelected:ne});oy(re)}ae.current=G,ie.current=te});let Se=KN(t.collection),pe=F.useRef(Se),xe=F.useRef(t.isOpen);F.useEffect(()=>{let me=t.isOpen!==xe.current&&(t.selectionManager.focusedKey==null||kE());if(t.isOpen&&(me||Se!==pe.current)){let ne=d.format("countAnnouncement",{optionCount:Se});oy(ne)}pe.current=Se,xe.current=t.isOpen});let Oe=F.useRef(t.selectedKey);return F.useEffect(()=>{if(kE()&&t.isFocused&&t.selectedItem&&t.selectedKey!==Oe.current){let me=t.selectedItem["aria-label"]||t.selectedItem.textValue||"",ne=d.format("selectedAnnouncement",{optionText:me});oy(ne)}Oe.current=t.selectedKey}),F.useEffect(()=>{if(t.isOpen)return jN([i.current,n.current].filter(me=>me!=null))},[t.isOpen,i,n]),iue(()=>{!M&&i.current&&Ds(ui(i.current))===i.current&&Due(i.current,null)},[M]),{labelProps:N,buttonProps:{...h,...Q,excludeFromTabOrder:!0,preventFocusOnPress:!0,onPress:H,onPressStart:k,isDisabled:c||l},inputProps:Qt(B,{role:"combobox","aria-expanded":h["aria-expanded"],"aria-controls":t.isOpen?g.id:void 0,"aria-autocomplete":"list","aria-activedescendant":M?She(t,M.key):void 0,onTouchEnd:q,autoCorrect:"off",spellCheck:"false"}),listBoxProps:Qt(g,V,{autoFocus:t.focusStrategy,shouldUseVirtualFocus:!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,linkBehavior:"selection"}),descriptionProps:j,errorMessageProps:A,isInvalid:T,validationErrors:P,validationDetails:L}}var whe={};whe={calendar:"التقويم",day:"يوم",dayPeriod:"ص/م",endDate:"تاريخ الانتهاء",era:"العصر",hour:"الساعات",minute:"الدقائق",month:"الشهر",second:"الثواني",selectedDateDescription:e=>`تاريخ محدد: ${e.date}`,selectedRangeDescription:e=>`المدى الزمني المحدد: ${e.startDate} إلى ${e.endDate}`,selectedTimeDescription:e=>`الوقت المحدد: ${e.time}`,startDate:"تاريخ البدء",timeZoneName:"التوقيت",weekday:"اليوم",year:"السنة"};var Ehe={};Ehe={calendar:"Календар",day:"ден",dayPeriod:"пр.об./сл.об.",endDate:"Крайна дата",era:"ера",hour:"час",minute:"минута",month:"месец",second:"секунда",selectedDateDescription:e=>`Избрана дата: ${e.date}`,selectedRangeDescription:e=>`Избран диапазон: ${e.startDate} до ${e.endDate}`,selectedTimeDescription:e=>`Избрано време: ${e.time}`,startDate:"Начална дата",timeZoneName:"часова зона",weekday:"ден от седмицата",year:"година"};var $he={};$he={calendar:"Kalendář",day:"den",dayPeriod:"část dne",endDate:"Konečné datum",era:"letopočet",hour:"hodina",minute:"minuta",month:"měsíc",second:"sekunda",selectedDateDescription:e=>`Vybrané datum: ${e.date}`,selectedRangeDescription:e=>`Vybrané období: ${e.startDate} až ${e.endDate}`,selectedTimeDescription:e=>`Vybraný čas: ${e.time}`,startDate:"Počáteční datum",timeZoneName:"časové pásmo",weekday:"den v týdnu",year:"rok"};var Che={};Che={calendar:"Kalender",day:"dag",dayPeriod:"AM/PM",endDate:"Slutdato",era:"æra",hour:"time",minute:"minut",month:"måned",second:"sekund",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt interval: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tidspunkt: ${e.time}`,startDate:"Startdato",timeZoneName:"tidszone",weekday:"ugedag",year:"år"};var Phe={};Phe={calendar:"Kalender",day:"Tag",dayPeriod:"Tageshälfte",endDate:"Enddatum",era:"Epoche",hour:"Stunde",minute:"Minute",month:"Monat",second:"Sekunde",selectedDateDescription:e=>`Ausgewähltes Datum: ${e.date}`,selectedRangeDescription:e=>`Ausgewählter Bereich: ${e.startDate} bis ${e.endDate}`,selectedTimeDescription:e=>`Ausgewählte Zeit: ${e.time}`,startDate:"Anfangsdatum",timeZoneName:"Zeitzone",weekday:"Wochentag",year:"Jahr"};var Dhe={};Dhe={calendar:"Ημερολόγιο",day:"ημέρα",dayPeriod:"π.μ./μ.μ.",endDate:"Ημερομηνία λήξης",era:"περίοδος",hour:"ώρα",minute:"λεπτό",month:"μήνας",second:"δευτερόλεπτο",selectedDateDescription:e=>`Επιλεγμένη ημερομηνία: ${e.date}`,selectedRangeDescription:e=>`Επιλεγμένο εύρος: ${e.startDate} έως ${e.endDate}`,selectedTimeDescription:e=>`Επιλεγμένη ώρα: ${e.time}`,startDate:"Ημερομηνία έναρξης",timeZoneName:"ζώνη ώρας",weekday:"καθημερινή",year:"έτος"};var Rhe={};Rhe={era:"era",year:"year",month:"month",day:"day",hour:"hour",minute:"minute",second:"second",dayPeriod:"AM/PM",calendar:"Calendar",startDate:"Start Date",endDate:"End Date",weekday:"day of the week",timeZoneName:"time zone",selectedDateDescription:e=>`Selected Date: ${e.date}`,selectedRangeDescription:e=>`Selected Range: ${e.startDate} to ${e.endDate}`,selectedTimeDescription:e=>`Selected Time: ${e.time}`};var khe={};khe={calendar:"Calendario",day:"día",dayPeriod:"a. m./p. m.",endDate:"Fecha final",era:"era",hour:"hora",minute:"minuto",month:"mes",second:"segundo",selectedDateDescription:e=>`Fecha seleccionada: ${e.date}`,selectedRangeDescription:e=>`Rango seleccionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora seleccionada: ${e.time}`,startDate:"Fecha de inicio",timeZoneName:"zona horaria",weekday:"día de la semana",year:"año"};var The={};The={calendar:"Kalender",day:"päev",dayPeriod:"enne/pärast lõunat",endDate:"Lõppkuupäev",era:"ajastu",hour:"tund",minute:"minut",month:"kuu",second:"sekund",selectedDateDescription:e=>`Valitud kuupäev: ${e.date}`,selectedRangeDescription:e=>`Valitud vahemik: ${e.startDate} kuni ${e.endDate}`,selectedTimeDescription:e=>`Valitud aeg: ${e.time}`,startDate:"Alguskuupäev",timeZoneName:"ajavöönd",weekday:"nädalapäev",year:"aasta"};var Ahe={};Ahe={calendar:"Kalenteri",day:"päivä",dayPeriod:"vuorokaudenaika",endDate:"Päättymispäivä",era:"aikakausi",hour:"tunti",minute:"minuutti",month:"kuukausi",second:"sekunti",selectedDateDescription:e=>`Valittu päivämäärä: ${e.date}`,selectedRangeDescription:e=>`Valittu aikaväli: ${e.startDate} – ${e.endDate}`,selectedTimeDescription:e=>`Valittu aika: ${e.time}`,startDate:"Alkamispäivä",timeZoneName:"aikavyöhyke",weekday:"viikonpäivä",year:"vuosi"};var Fhe={};Fhe={calendar:"Calendrier",day:"jour",dayPeriod:"cadran",endDate:"Date de fin",era:"ère",hour:"heure",minute:"minute",month:"mois",second:"seconde",selectedDateDescription:e=>`Date sélectionnée : ${e.date}`,selectedRangeDescription:e=>`Plage sélectionnée : ${e.startDate} au ${e.endDate}`,selectedTimeDescription:e=>`Heure choisie : ${e.time}`,startDate:"Date de début",timeZoneName:"fuseau horaire",weekday:"jour de la semaine",year:"année"};var Ihe={};Ihe={calendar:"לוח שנה",day:"יום",dayPeriod:"לפנה״צ/אחה״צ",endDate:"תאריך סיום",era:"תקופה",hour:"שעה",minute:"דקה",month:"חודש",second:"שנייה",selectedDateDescription:e=>`תאריך נבחר: ${e.date}`,selectedRangeDescription:e=>`טווח נבחר: ${e.startDate} עד ${e.endDate}`,selectedTimeDescription:e=>`זמן נבחר: ${e.time}`,startDate:"תאריך התחלה",timeZoneName:"אזור זמן",weekday:"יום בשבוע",year:"שנה"};var Mhe={};Mhe={calendar:"Kalendar",day:"dan",dayPeriod:"AM/PM",endDate:"Datum završetka",era:"era",hour:"sat",minute:"minuta",month:"mjesec",second:"sekunda",selectedDateDescription:e=>`Odabrani datum: ${e.date}`,selectedRangeDescription:e=>`Odabrani raspon: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Odabrano vrijeme: ${e.time}`,startDate:"Datum početka",timeZoneName:"vremenska zona",weekday:"dan u tjednu",year:"godina"};var Nhe={};Nhe={calendar:"Naptár",day:"nap",dayPeriod:"napszak",endDate:"Befejező dátum",era:"éra",hour:"óra",minute:"perc",month:"hónap",second:"másodperc",selectedDateDescription:e=>`Kijelölt dátum: ${e.date}`,selectedRangeDescription:e=>`Kijelölt tartomány: ${e.startDate}–${e.endDate}`,selectedTimeDescription:e=>`Kijelölt idő: ${e.time}`,startDate:"Kezdő dátum",timeZoneName:"időzóna",weekday:"hét napja",year:"év"};var Lhe={};Lhe={calendar:"Calendario",day:"giorno",dayPeriod:"AM/PM",endDate:"Data finale",era:"era",hour:"ora",minute:"minuto",month:"mese",second:"secondo",selectedDateDescription:e=>`Data selezionata: ${e.date}`,selectedRangeDescription:e=>`Intervallo selezionato: da ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Ora selezionata: ${e.time}`,startDate:"Data iniziale",timeZoneName:"fuso orario",weekday:"giorno della settimana",year:"anno"};var zhe={};zhe={calendar:"カレンダー",day:"日",dayPeriod:"午前/午後",endDate:"終了日",era:"時代",hour:"時",minute:"分",month:"月",second:"秒",selectedDateDescription:e=>`選択した日付 : ${e.date}`,selectedRangeDescription:e=>`選択範囲 : ${e.startDate} から ${e.endDate}`,selectedTimeDescription:e=>`選択した時間 : ${e.time}`,startDate:"開始日",timeZoneName:"タイムゾーン",weekday:"曜日",year:"年"};var Qhe={};Qhe={calendar:"달력",day:"일",dayPeriod:"오전/오후",endDate:"종료일",era:"연호",hour:"시",minute:"분",month:"월",second:"초",selectedDateDescription:e=>`선택 일자: ${e.date}`,selectedRangeDescription:e=>`선택 범위: ${e.startDate} ~ ${e.endDate}`,selectedTimeDescription:e=>`선택 시간: ${e.time}`,startDate:"시작일",timeZoneName:"시간대",weekday:"요일",year:"년"};var Bhe={};Bhe={calendar:"Kalendorius",day:"diena",dayPeriod:"iki pietų / po pietų",endDate:"Pabaigos data",era:"era",hour:"valanda",minute:"minutė",month:"mėnuo",second:"sekundė",selectedDateDescription:e=>`Pasirinkta data: ${e.date}`,selectedRangeDescription:e=>`Pasirinktas intervalas: nuo ${e.startDate} iki ${e.endDate}`,selectedTimeDescription:e=>`Pasirinktas laikas: ${e.time}`,startDate:"Pradžios data",timeZoneName:"laiko juosta",weekday:"savaitės diena",year:"metai"};var qhe={};qhe={calendar:"Kalendārs",day:"diena",dayPeriod:"priekšpusdienā/pēcpusdienā",endDate:"Beigu datums",era:"ēra",hour:"stundas",minute:"minūtes",month:"mēnesis",second:"sekundes",selectedDateDescription:e=>`Atlasītais datums: ${e.date}`,selectedRangeDescription:e=>`Atlasītais diapazons: no ${e.startDate} līdz ${e.endDate}`,selectedTimeDescription:e=>`Atlasītais laiks: ${e.time}`,startDate:"Sākuma datums",timeZoneName:"laika josla",weekday:"nedēļas diena",year:"gads"};var Uhe={};Uhe={calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Sluttdato",era:"tidsalder",hour:"time",minute:"minutt",month:"måned",second:"sekund",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt område: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tid: ${e.time}`,startDate:"Startdato",timeZoneName:"tidssone",weekday:"ukedag",year:"år"};var Vhe={};Vhe={calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Einddatum",era:"tijdperk",hour:"uur",minute:"minuut",month:"maand",second:"seconde",selectedDateDescription:e=>`Geselecteerde datum: ${e.date}`,selectedRangeDescription:e=>`Geselecteerd bereik: ${e.startDate} tot ${e.endDate}`,selectedTimeDescription:e=>`Geselecteerde tijd: ${e.time}`,startDate:"Startdatum",timeZoneName:"tijdzone",weekday:"dag van de week",year:"jaar"};var jhe={};jhe={calendar:"Kalendarz",day:"dzień",dayPeriod:"rano / po południu / wieczorem",endDate:"Data końcowa",era:"era",hour:"godzina",minute:"minuta",month:"miesiąc",second:"sekunda",selectedDateDescription:e=>`Wybrana data: ${e.date}`,selectedRangeDescription:e=>`Wybrany zakres: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Wybrany czas: ${e.time}`,startDate:"Data początkowa",timeZoneName:"strefa czasowa",weekday:"dzień tygodnia",year:"rok"};var Whe={};Whe={calendar:"Calendário",day:"dia",dayPeriod:"AM/PM",endDate:"Data final",era:"era",hour:"hora",minute:"minuto",month:"mês",second:"segundo",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora selecionada: ${e.time}`,startDate:"Data inicial",timeZoneName:"fuso horário",weekday:"dia da semana",year:"ano"};var Zhe={};Zhe={calendar:"Calendário",day:"dia",dayPeriod:"am/pm",endDate:"Data de Término",era:"era",hour:"hora",minute:"minuto",month:"mês",second:"segundo",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora selecionada: ${e.time}`,startDate:"Data de Início",timeZoneName:"fuso horário",weekday:"dia da semana",year:"ano"};var Khe={};Khe={calendar:"Calendar",day:"zi",dayPeriod:"a.m/p.m.",endDate:"Dată final",era:"eră",hour:"oră",minute:"minut",month:"lună",second:"secundă",selectedDateDescription:e=>`Dată selectată: ${e.date}`,selectedRangeDescription:e=>`Interval selectat: de la ${e.startDate} până la ${e.endDate}`,selectedTimeDescription:e=>`Ora selectată: ${e.time}`,startDate:"Dată început",timeZoneName:"fus orar",weekday:"ziua din săptămână",year:"an"};var Hhe={};Hhe={calendar:"Календарь",day:"день",dayPeriod:"AM/PM",endDate:"Дата окончания",era:"эра",hour:"час",minute:"минута",month:"месяц",second:"секунда",selectedDateDescription:e=>`Выбранная дата: ${e.date}`,selectedRangeDescription:e=>`Выбранный диапазон: с ${e.startDate} по ${e.endDate}`,selectedTimeDescription:e=>`Выбранное время: ${e.time}`,startDate:"Дата начала",timeZoneName:"часовой пояс",weekday:"день недели",year:"год"};var Yhe={};Yhe={calendar:"Kalendár",day:"deň",dayPeriod:"AM/PM",endDate:"Dátum ukončenia",era:"letopočet",hour:"hodina",minute:"minúta",month:"mesiac",second:"sekunda",selectedDateDescription:e=>`Vybratý dátum: ${e.date}`,selectedRangeDescription:e=>`Vybratý rozsah: od ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Vybratý čas: ${e.time}`,startDate:"Dátum začatia",timeZoneName:"časové pásmo",weekday:"deň týždňa",year:"rok"};var Ghe={};Ghe={calendar:"Koledar",day:"dan",dayPeriod:"dop/pop",endDate:"Datum konca",era:"doba",hour:"ura",minute:"minuta",month:"mesec",second:"sekunda",selectedDateDescription:e=>`Izbrani datum: ${e.date}`,selectedRangeDescription:e=>`Izbrano območje: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Izbrani čas: ${e.time}`,startDate:"Datum začetka",timeZoneName:"časovni pas",weekday:"dan v tednu",year:"leto"};var Xhe={};Xhe={calendar:"Kalendar",day:"дан",dayPeriod:"пре подне/по подне",endDate:"Datum završetka",era:"ера",hour:"сат",minute:"минут",month:"месец",second:"секунд",selectedDateDescription:e=>`Izabrani datum: ${e.date}`,selectedRangeDescription:e=>`Izabrani opseg: od ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Izabrano vreme: ${e.time}`,startDate:"Datum početka",timeZoneName:"временска зона",weekday:"дан у недељи",year:"година"};var Jhe={};Jhe={calendar:"Kalender",day:"dag",dayPeriod:"fm/em",endDate:"Slutdatum",era:"era",hour:"timme",minute:"minut",month:"månad",second:"sekund",selectedDateDescription:e=>`Valt datum: ${e.date}`,selectedRangeDescription:e=>`Valt intervall: ${e.startDate} till ${e.endDate}`,selectedTimeDescription:e=>`Vald tid: ${e.time}`,startDate:"Startdatum",timeZoneName:"tidszon",weekday:"veckodag",year:"år"};var epe={};epe={calendar:"Takvim",day:"gün",dayPeriod:"ÖÖ/ÖS",endDate:"Bitiş Tarihi",era:"çağ",hour:"saat",minute:"dakika",month:"ay",second:"saniye",selectedDateDescription:e=>`Seçilen Tarih: ${e.date}`,selectedRangeDescription:e=>`Seçilen Aralık: ${e.startDate} - ${e.endDate}`,selectedTimeDescription:e=>`Seçilen Zaman: ${e.time}`,startDate:"Başlangıç Tarihi",timeZoneName:"saat dilimi",weekday:"haftanın günü",year:"yıl"};var tpe={};tpe={calendar:"Календар",day:"день",dayPeriod:"дп/пп",endDate:"Дата завершення",era:"ера",hour:"година",minute:"хвилина",month:"місяць",second:"секунда",selectedDateDescription:e=>`Вибрана дата: ${e.date}`,selectedRangeDescription:e=>`Вибраний діапазон: ${e.startDate} — ${e.endDate}`,selectedTimeDescription:e=>`Вибраний час: ${e.time}`,startDate:"Дата початку",timeZoneName:"часовий пояс",weekday:"день тижня",year:"рік"};var rpe={};rpe={calendar:"日历",day:"日",dayPeriod:"上午/下午",endDate:"结束日期",era:"纪元",hour:"小时",minute:"分钟",month:"月",second:"秒",selectedDateDescription:e=>`选定的日期:${e.date}`,selectedRangeDescription:e=>`选定的范围:${e.startDate} 至 ${e.endDate}`,selectedTimeDescription:e=>`选定的时间:${e.time}`,startDate:"开始日期",timeZoneName:"时区",weekday:"工作日",year:"年"};var npe={};npe={calendar:"日曆",day:"日",dayPeriod:"上午/下午",endDate:"結束日期",era:"纪元",hour:"小时",minute:"分钟",month:"月",second:"秒",selectedDateDescription:e=>`選定的日期:${e.date}`,selectedRangeDescription:e=>`選定的範圍:${e.startDate} 至 ${e.endDate}`,selectedTimeDescription:e=>`選定的時間:${e.time}`,startDate:"開始日期",timeZoneName:"时区",weekday:"工作日",year:"年"};var yL={};yL={"ar-AE":whe,"bg-BG":Ehe,"cs-CZ":$he,"da-DK":Che,"de-DE":Phe,"el-GR":Dhe,"en-US":Rhe,"es-ES":khe,"et-EE":The,"fi-FI":Ahe,"fr-FR":Fhe,"he-IL":Ihe,"hr-HR":Mhe,"hu-HU":Nhe,"it-IT":Lhe,"ja-JP":zhe,"ko-KR":Qhe,"lt-LT":Bhe,"lv-LV":qhe,"nb-NO":Uhe,"nl-NL":Vhe,"pl-PL":jhe,"pt-BR":Whe,"pt-PT":Zhe,"ro-RO":Khe,"ru-RU":Hhe,"sk-SK":Yhe,"sl-SI":Ghe,"sr-SP":Xhe,"sv-SE":Jhe,"tr-TR":epe,"uk-UA":tpe,"zh-CN":rpe,"zh-TW":npe};function UIe(e,t,r){let{direction:n}=Ha(),i=F.useMemo(()=>qN(t),[t]),a=u=>{if(u.currentTarget.contains(u.target)&&(u.altKey&&(u.key==="ArrowDown"||u.key==="ArrowUp")&&"setOpen"in e&&(u.preventDefault(),u.stopPropagation(),e.setOpen(!0)),!r))switch(u.key){case"ArrowLeft":if(u.preventDefault(),u.stopPropagation(),n==="rtl"){if(t.current){let l=u.target,c=kK(t.current,l.getBoundingClientRect().left,-1);c&&c.focus()}}else i.focusPrevious();break;case"ArrowRight":if(u.preventDefault(),u.stopPropagation(),n==="rtl"){if(t.current){let l=u.target,c=kK(t.current,l.getBoundingClientRect().left,1);c&&c.focus()}}else i.focusNext();break}},o=()=>{var u;if(!t.current)return;let l=(u=window.event)===null||u===void 0?void 0:u.target,c=ls(t.current,{tabbable:!0});if(l&&(c.currentNode=l,l=c.previousNode()),!l){let f;do f=c.lastChild(),f&&(l=f);while(f)}for(;l!=null&&l.hasAttribute("data-placeholder");){let f=c.previousNode();if(f&&f.hasAttribute("data-placeholder"))l=f;else break}l&&l.focus()},{pressProps:s}=mg({preventFocusOnPress:!0,allowTextSelectionOnPress:!0,onPressStart(u){u.pointerType==="mouse"&&o()},onPress(u){u.pointerType!=="mouse"&&o()}});return Qt(s,{onKeyDown:a})}function kK(e,t,r){let n=ls(e,{tabbable:!0}),i=n.nextNode(),a=null,o=1/0;for(;i;){let u=i.getBoundingClientRect().left-t,l=Math.abs(u);Math.sign(u)===r&&l<o&&(a=i,o=l),i=n.nextNode()}return a}function VIe(e){return e&&e.__esModule?e.default:e}const ipe=new WeakMap,zT="__role_"+Date.now(),jIe="__focusManager_"+Date.now();function bL(e,t,r){var n;let{isInvalid:i,validationErrors:a,validationDetails:o}=t.displayValidation,{labelProps:s,fieldProps:u,descriptionProps:l,errorMessageProps:c}=cw({...e,labelElementType:"span",isInvalid:i,errorMessage:e.errorMessage||a}),f=F.useRef(null),{focusWithinProps:d}=Lg({...e,onFocusWithin(N){var B;f.current=t.value,(B=e.onFocus)===null||B===void 0||B.call(e,N)},onBlurWithin:N=>{var B;t.confirmPlaceholder(),t.value!==f.current&&t.commitValidation(),(B=e.onBlur)===null||B===void 0||B.call(e,N)},onFocusWithinChange:e.onFocusChange}),h=dh(VIe(yL),"@react-aria/datepicker"),g=t.maxGranularity==="hour"?"selectedTimeDescription":"selectedDateDescription",m=t.maxGranularity==="hour"?"time":"date",v=t.value?h.format(g,{[m]:t.formatValue({month:"long"})}):"",y=D$(v),O=e[zT]==="presentation"?u["aria-describedby"]:[y["aria-describedby"],u["aria-describedby"]].filter(Boolean).join(" ")||void 0,x=e[jIe],C=F.useMemo(()=>x||qN(r),[x,r]),w=UIe(t,r,e[zT]==="presentation");ipe.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:[s.id,e["aria-labelledby"]].filter(Boolean).join(" ")||void 0,ariaDescribedBy:O,focusManager:C});let E=F.useRef(e.autoFocus),T;e[zT]==="presentation"?T={role:"presentation"}:T=Qt(u,{role:"group","aria-disabled":e.isDisabled||void 0,"aria-describedby":O}),F.useEffect(()=>{E.current&&C.focusFirst(),E.current=!1},[C]),fO(e.inputRef,t.value,t.setValue),U$({...e,focus(){C.focusFirst()}},t,e.inputRef);let P={type:"hidden",name:e.name,value:((n=t.value)===null||n===void 0?void 0:n.toString())||"",disabled:e.isDisabled};e.validationBehavior==="native"&&(P.type="text",P.hidden=!0,P.required=e.isRequired,P.onChange=()=>{});let L=Jr(e);return{labelProps:{...s,onClick:()=>{C.focusFirst()}},fieldProps:Qt(L,T,w,d,{onKeyDown(N){e.onKeyDown&&e.onKeyDown(N)},onKeyUp(N){e.onKeyUp&&e.onKeyUp(N)},style:{unicodeBidi:"isolate"}}),inputProps:P,descriptionProps:l,errorMessageProps:c,isInvalid:i,validationErrors:a,validationDetails:o}}function WIe(e,t,r){var n;let i=bL(e,t,r);return i.inputProps.value=((n=t.timeValue)===null||n===void 0?void 0:n.toString())||"",i}function ZIe(e){return e&&e.__esModule?e.default:e}function KIe(){let{locale:e}=Ha(),t=yue(ZIe(yL),"@react-aria/datepicker");return F.useMemo(()=>{try{return new Intl.DisplayNames(e,{type:"dateTimeField"})}catch{return new HIe(e,t)}},[e,t])}class HIe{of(t){return this.dictionary.getStringForLocale(t,this.locale)}constructor(t,r){this.locale=t,this.dictionary=r}}function YIe(e,t,r){let n=F.useRef(""),{locale:i,direction:a}=Ha(),o=KIe(),{ariaLabel:s,ariaLabelledBy:u,ariaDescribedBy:l,focusManager:c}=ipe.get(t),f=e.isPlaceholder?"":e.text,d=F.useMemo(()=>t.dateFormatter.resolvedOptions(),[t.dateFormatter]),h=S3({month:"long",timeZone:d.timeZone}),g=S3({hour:"numeric",hour12:d.hour12,timeZone:d.timeZone});if(e.type==="month"&&!e.isPlaceholder){let M=h.format(t.dateValue);f=M!==f?`${f} – ${M}`:M}else e.type==="hour"&&!e.isPlaceholder&&(f=g.format(t.dateValue));let{spinButtonProps:m}=ode({value:e.value,textValue:f,minValue:e.minValue,maxValue:e.maxValue,isDisabled:t.isDisabled,isReadOnly:t.isReadOnly||!e.isEditable,isRequired:t.isRequired,onIncrement:()=>{n.current="",t.increment(e.type)},onDecrement:()=>{n.current="",t.decrement(e.type)},onIncrementPage:()=>{n.current="",t.incrementPage(e.type)},onDecrementPage:()=>{n.current="",t.decrementPage(e.type)},onIncrementToMax:()=>{n.current="",e.maxValue!==void 0&&t.setSegment(e.type,e.maxValue)},onDecrementToMin:()=>{n.current="",e.minValue!==void 0&&t.setSegment(e.type,e.minValue)}}),v=F.useMemo(()=>new EN(i,{maximumFractionDigits:0}),[i]),y=()=>{if(e.text===e.placeholder&&c.focusPrevious(),v.isValidPartialNumber(e.text)&&!t.isReadOnly&&!e.isPlaceholder){let M=e.text.slice(0,-1),z=v.parse(M);M=z===0?"":M,M.length===0||z===0?t.clearSegment(e.type):t.setSegment(e.type,z),n.current=M}else e.type==="dayPeriod"&&t.clearSegment(e.type)},O=M=>{if(M.key==="a"&&(z0()?M.metaKey:M.ctrlKey)&&M.preventDefault(),!(M.ctrlKey||M.metaKey||M.shiftKey||M.altKey))switch(M.key){case"Backspace":case"Delete":M.preventDefault(),M.stopPropagation(),y();break}},{startsWith:x}=bue({sensitivity:"base"}),C=S3({hour:"numeric",hour12:!0}),w=F.useMemo(()=>{let M=new Date;return M.setHours(0),C.formatToParts(M).find(z=>z.type==="dayPeriod").value},[C]),E=F.useMemo(()=>{let M=new Date;return M.setHours(12),C.formatToParts(M).find(z=>z.type==="dayPeriod").value},[C]),T=S3({year:"numeric",era:"narrow",timeZone:"UTC"}),P=F.useMemo(()=>{if(e.type!=="era")return[];let M=ml(new qo(1,1,1),t.calendar),z=t.calendar.getEras().map(K=>{let te=M.set({year:1,month:1,day:1,era:K}).toDate("UTC"),ie=T.formatToParts(te).find(Se=>Se.type==="era").value;return{era:K,formatted:ie}}),G=GIe(z.map(K=>K.formatted));if(G)for(let K of z)K.formatted=K.formatted.slice(G);return z},[T,t.calendar,e.type]),L=M=>{if(t.isDisabled||t.isReadOnly)return;let z=n.current+M;switch(e.type){case"dayPeriod":if(x(w,M))t.setSegment("dayPeriod",0);else if(x(E,M))t.setSegment("dayPeriod",12);else break;c.focusNext();break;case"era":{let G=P.find(K=>x(K.formatted,M));G&&(t.setSegment("era",G.era),c.focusNext());break}case"day":case"hour":case"minute":case"second":case"month":case"year":{if(!v.isValidPartialNumber(z))return;let G=v.parse(z),K=G,te=e.minValue===0;if(e.type==="hour"&&t.dateFormatter.resolvedOptions().hour12){switch(t.dateFormatter.resolvedOptions().hourCycle){case"h11":G>11&&(K=v.parse(M));break;case"h12":te=!1,G>12&&(K=v.parse(M));break}e.value!==void 0&&e.value>=12&&G>1&&(G+=12)}else e.maxValue!==void 0&&G>e.maxValue&&(K=v.parse(M));if(isNaN(G))return;let ae=K!==0||te;ae&&t.setSegment(e.type,K),e.maxValue!==void 0&&(+(G+"0")>e.maxValue||z.length>=String(e.maxValue).length)?(n.current="",ae&&c.focusNext()):n.current=z;break}}},N=()=>{n.current="",r.current&&O0(r.current,{containingElement:b0(r.current)});let M=window.getSelection();M==null||M.collapse(r.current)},B=F.useRef(typeof document<"u"?document:null);k0(B,"selectionchange",()=>{var M;let z=window.getSelection();z!=null&&z.anchorNode&&(!((M=r.current)===null||M===void 0)&&M.contains(z==null?void 0:z.anchorNode))&&z.collapse(r.current)});let j=F.useRef("");k0(r,"beforeinput",M=>{if(r.current)switch(M.preventDefault(),M.inputType){case"deleteContentBackward":case"deleteContentForward":v.isValidPartialNumber(e.text)&&!t.isReadOnly&&y();break;case"insertCompositionText":j.current=r.current.textContent,r.current.textContent=r.current.textContent;break;default:M.data!=null&&L(M.data);break}}),k0(r,"input",M=>{let{inputType:z,data:G}=M;switch(z){case"insertCompositionText":r.current&&(r.current.textContent=j.current),G!=null&&(x(w,G)||x(E,G))&&L(G);break}}),Nn(()=>{let M=r.current;return()=>{document.activeElement===M&&(c.focusPrevious()||c.focusNext())}},[r,c]);let A=lO()||e.type==="timeZoneName"?{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuetext":null,"aria-valuenow":null}:{},H=F.useMemo(()=>t.segments.find(M=>M.isEditable),[t.segments]);e!==H&&!t.isInvalid&&(l=void 0);let k=Bi(),Q=!t.isDisabled&&!t.isReadOnly&&e.isEditable,V=e.type==="literal"?"":o.of(e.type),I=vy({"aria-label":`${V}${s?`, ${s}`:""}${u?", ":""}`,"aria-labelledby":u});if(e.type==="literal")return{segmentProps:{"aria-hidden":!0}};let q={caretColor:"transparent"};if(a==="rtl"){q.unicodeBidi="embed";let M=d[e.type];(M==="numeric"||M==="2-digit")&&(q.direction="ltr")}return{segmentProps:Qt(m,I,{id:k,...A,"aria-invalid":t.isInvalid?"true":void 0,"aria-describedby":l,"aria-readonly":t.isReadOnly||!e.isEditable?"true":void 0,"data-placeholder":e.isPlaceholder||void 0,contentEditable:Q,suppressContentEditableWarning:Q,spellCheck:Q?"false":void 0,autoCorrect:Q?"off":void 0,[parseInt($e.version,10)>=17?"enterKeyHint":"enterkeyhint"]:Q?"next":void 0,inputMode:t.isDisabled||e.type==="dayPeriod"||e.type==="era"||!Q?void 0:"numeric",tabIndex:t.isDisabled?void 0:0,onKeyDown:O,onFocus:N,style:q,onPointerDown(M){M.stopPropagation()},onMouseDown(M){M.stopPropagation()}})}}function GIe(e){e.sort();let t=e[0],r=e[e.length-1];for(let n=0;n<t.length;n++)if(t[n]!==r[n])return n;return 0}function XIe(e,t){let{role:r="dialog"}=e,n=I0();n=e["aria-label"]?void 0:n;let i=F.useRef(!1);return F.useEffect(()=>{if(t.current&&!t.current.contains(document.activeElement)){cl(t.current);let a=setTimeout(()=>{document.activeElement===t.current&&(i.current=!0,t.current&&(t.current.blur(),cl(t.current)),i.current=!1)},500);return()=>{clearTimeout(a)}}},[t]),gle(),{dialogProps:{...Jr(e,{labelable:!0}),role:r,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]||n,onBlur:a=>{i.current&&a.stopPropagation()}},titleProps:{id:n}}}function JIe(e,t,r){let{isDisabled:n}=e,i=Bi(),a=Bi(),s=!fh()&&"onbeforematch"in document.body,u=F.useRef(null),l=F.useCallback(()=>{u.current=requestAnimationFrame(()=>{r.current&&r.current.setAttribute("hidden","until-found")}),dl.flushSync(()=>{t.toggle()})},[r,t]);return k0(r,"beforematch",s?l:null),Nn(()=>{u.current&&cancelAnimationFrame(u.current),s&&r.current&&!n&&(t.isExpanded?r.current.removeAttribute("hidden"):r.current.setAttribute("hidden","until-found"))},[n,r,t.isExpanded,s]),F.useEffect(()=>()=>{u.current&&cancelAnimationFrame(u.current)},[]),{buttonProps:{id:i,"aria-expanded":t.isExpanded,"aria-controls":a,onPress:c=>{!n&&c.pointerType!=="keyboard"&&t.toggle()},isDisabled:n,onPressStart(c){c.pointerType==="keyboard"&&!n&&t.toggle()}},panelProps:{id:a,role:"group","aria-labelledby":i,"aria-hidden":!t.isExpanded,hidden:s?!0:!t.isExpanded}}}const OL=new WeakMap;function TK(e,t){var r;let{id:n}=(r=OL.get(e))!==null&&r!==void 0?r:{};if(!n)throw new Error("Unknown list");return`${n}-${e9e(t)}`}function e9e(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}var ape={};ape={deselectedItem:e=>`${e.item} غير المحدد`,longPressToSelect:"اضغط مطولًا للدخول إلى وضع التحديد.",select:"تحديد",selectedAll:"جميع العناصر المحددة.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"لم يتم تحديد عناصر",one:()=>`${t.number(e.count)} عنصر محدد`,other:()=>`${t.number(e.count)} عنصر محدد`})}.`,selectedItem:e=>`${e.item} المحدد`};var ope={};ope={deselectedItem:e=>`${e.item} не е избран.`,longPressToSelect:"Натиснете и задръжте за да влезете в избирателен режим.",select:"Изберете",selectedAll:"Всички елементи са избрани.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Няма избрани елементи",one:()=>`${t.number(e.count)} избран елемент`,other:()=>`${t.number(e.count)} избрани елементи`})}.`,selectedItem:e=>`${e.item} избран.`};var spe={};spe={deselectedItem:e=>`Položka ${e.item} není vybrána.`,longPressToSelect:"Dlouhým stisknutím přejdete do režimu výběru.",select:"Vybrat",selectedAll:"Vybrány všechny položky.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nevybrány žádné položky",one:()=>`Vybrána ${t.number(e.count)} položka`,other:()=>`Vybráno ${t.number(e.count)} položek`})}.`,selectedItem:e=>`Vybrána položka ${e.item}.`};var upe={};upe={deselectedItem:e=>`${e.item} ikke valgt.`,longPressToSelect:"Lav et langt tryk for at aktivere valgtilstand.",select:"Vælg",selectedAll:"Alle elementer valgt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ingen elementer valgt",one:()=>`${t.number(e.count)} element valgt`,other:()=>`${t.number(e.count)} elementer valgt`})}.`,selectedItem:e=>`${e.item} valgt.`};var lpe={};lpe={deselectedItem:e=>`${e.item} nicht ausgewählt.`,longPressToSelect:"Gedrückt halten, um Auswahlmodus zu öffnen.",select:"Auswählen",selectedAll:"Alle Elemente ausgewählt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Keine Elemente ausgewählt",one:()=>`${t.number(e.count)} Element ausgewählt`,other:()=>`${t.number(e.count)} Elemente ausgewählt`})}.`,selectedItem:e=>`${e.item} ausgewählt.`};var cpe={};cpe={deselectedItem:e=>`Δεν επιλέχθηκε το στοιχείο ${e.item}.`,longPressToSelect:"Πατήστε παρατεταμένα για να μπείτε σε λειτουργία επιλογής.",select:"Επιλογή",selectedAll:"Επιλέχθηκαν όλα τα στοιχεία.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Δεν επιλέχθηκαν στοιχεία",one:()=>`Επιλέχθηκε ${t.number(e.count)} στοιχείο`,other:()=>`Επιλέχθηκαν ${t.number(e.count)} στοιχεία`})}.`,selectedItem:e=>`Επιλέχθηκε το στοιχείο ${e.item}.`};var fpe={};fpe={deselectedItem:e=>`${e.item} not selected.`,select:"Select",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"No items selected",one:()=>`${t.number(e.count)} item selected`,other:()=>`${t.number(e.count)} items selected`})}.`,selectedAll:"All items selected.",selectedItem:e=>`${e.item} selected.`,longPressToSelect:"Long press to enter selection mode."};var dpe={};dpe={deselectedItem:e=>`${e.item} no seleccionado.`,longPressToSelect:"Mantenga pulsado para abrir el modo de selección.",select:"Seleccionar",selectedAll:"Todos los elementos seleccionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ningún elemento seleccionado",one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,selectedItem:e=>`${e.item} seleccionado.`};var hpe={};hpe={deselectedItem:e=>`${e.item} pole valitud.`,longPressToSelect:"Valikurežiimi sisenemiseks vajutage pikalt.",select:"Vali",selectedAll:"Kõik üksused valitud.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Üksusi pole valitud",one:()=>`${t.number(e.count)} üksus valitud`,other:()=>`${t.number(e.count)} üksust valitud`})}.`,selectedItem:e=>`${e.item} valitud.`};var ppe={};ppe={deselectedItem:e=>`Kohdetta ${e.item} ei valittu.`,longPressToSelect:"Siirry valintatilaan painamalla pitkään.",select:"Valitse",selectedAll:"Kaikki kohteet valittu.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ei yhtään kohdetta valittu",one:()=>`${t.number(e.count)} kohde valittu`,other:()=>`${t.number(e.count)} kohdetta valittu`})}.`,selectedItem:e=>`${e.item} valittu.`};var mpe={};mpe={deselectedItem:e=>`${e.item} non sélectionné.`,longPressToSelect:"Appuyez de manière prolongée pour passer en mode de sélection.",select:"Sélectionner",selectedAll:"Tous les éléments sélectionnés.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Aucun élément sélectionné",one:()=>`${t.number(e.count)} élément sélectionné`,other:()=>`${t.number(e.count)} éléments sélectionnés`})}.`,selectedItem:e=>`${e.item} sélectionné.`};var gpe={};gpe={deselectedItem:e=>`${e.item} לא נבחר.`,longPressToSelect:"הקשה ארוכה לכניסה למצב בחירה.",select:"בחר",selectedAll:"כל הפריטים נבחרו.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"לא נבחרו פריטים",one:()=>`פריט ${t.number(e.count)} נבחר`,other:()=>`${t.number(e.count)} פריטים נבחרו`})}.`,selectedItem:e=>`${e.item} נבחר.`};var vpe={};vpe={deselectedItem:e=>`Stavka ${e.item} nije odabrana.`,longPressToSelect:"Dugo pritisnite za ulazak u način odabira.",select:"Odaberite",selectedAll:"Odabrane su sve stavke.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nije odabrana nijedna stavka",one:()=>`Odabrana je ${t.number(e.count)} stavka`,other:()=>`Odabrano je ${t.number(e.count)} stavki`})}.`,selectedItem:e=>`Stavka ${e.item} je odabrana.`};var ype={};ype={deselectedItem:e=>`${e.item} nincs kijelölve.`,longPressToSelect:"Nyomja hosszan a kijelöléshez.",select:"Kijelölés",selectedAll:"Az összes elem kijelölve.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Egy elem sincs kijelölve",one:()=>`${t.number(e.count)} elem kijelölve`,other:()=>`${t.number(e.count)} elem kijelölve`})}.`,selectedItem:e=>`${e.item} kijelölve.`};var bpe={};bpe={deselectedItem:e=>`${e.item} non selezionato.`,longPressToSelect:"Premi a lungo per passare alla modalità di selezione.",select:"Seleziona",selectedAll:"Tutti gli elementi selezionati.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nessun elemento selezionato",one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,selectedItem:e=>`${e.item} selezionato.`};var Ope={};Ope={deselectedItem:e=>`${e.item} が選択されていません。`,longPressToSelect:"長押しして選択モードを開きます。",select:"選択",selectedAll:"すべての項目を選択しました。",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"項目が選択されていません",one:()=>`${t.number(e.count)} 項目を選択しました`,other:()=>`${t.number(e.count)} 項目を選択しました`})}。`,selectedItem:e=>`${e.item} を選択しました。`};var xpe={};xpe={deselectedItem:e=>`${e.item}이(가) 선택되지 않았습니다.`,longPressToSelect:"선택 모드로 들어가려면 길게 누르십시오.",select:"선택",selectedAll:"모든 항목이 선택되었습니다.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"선택된 항목이 없습니다",one:()=>`${t.number(e.count)}개 항목이 선택되었습니다`,other:()=>`${t.number(e.count)}개 항목이 선택되었습니다`})}.`,selectedItem:e=>`${e.item}이(가) 선택되었습니다.`};var _pe={};_pe={deselectedItem:e=>`${e.item} nepasirinkta.`,longPressToSelect:"Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",select:"Pasirinkti",selectedAll:"Pasirinkti visi elementai.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nepasirinktas nė vienas elementas",one:()=>`Pasirinktas ${t.number(e.count)} elementas`,other:()=>`Pasirinkta elementų: ${t.number(e.count)}`})}.`,selectedItem:e=>`Pasirinkta: ${e.item}.`};var Spe={};Spe={deselectedItem:e=>`Vienums ${e.item} nav atlasīts.`,longPressToSelect:"Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",select:"Atlasīt",selectedAll:"Atlasīti visi vienumi.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nav atlasīts neviens vienums",one:()=>`Atlasīto vienumu skaits: ${t.number(e.count)}`,other:()=>`Atlasīto vienumu skaits: ${t.number(e.count)}`})}.`,selectedItem:e=>`Atlasīts vienums ${e.item}.`};var wpe={};wpe={deselectedItem:e=>`${e.item} er ikke valgt.`,longPressToSelect:"Bruk et langt trykk for å gå inn i valgmodus.",select:"Velg",selectedAll:"Alle elementer er valgt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ingen elementer er valgt",one:()=>`${t.number(e.count)} element er valgt`,other:()=>`${t.number(e.count)} elementer er valgt`})}.`,selectedItem:e=>`${e.item} er valgt.`};var Epe={};Epe={deselectedItem:e=>`${e.item} niet geselecteerd.`,longPressToSelect:"Druk lang om de selectiemodus te openen.",select:"Selecteren",selectedAll:"Alle items geselecteerd.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Geen items geselecteerd",one:()=>`${t.number(e.count)} item geselecteerd`,other:()=>`${t.number(e.count)} items geselecteerd`})}.`,selectedItem:e=>`${e.item} geselecteerd.`};var $pe={};$pe={deselectedItem:e=>`Nie zaznaczono ${e.item}.`,longPressToSelect:"Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",select:"Zaznacz",selectedAll:"Wszystkie zaznaczone elementy.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nie zaznaczono żadnych elementów",one:()=>`${t.number(e.count)} zaznaczony element`,other:()=>`${t.number(e.count)} zaznaczonych elementów`})}.`,selectedItem:e=>`Zaznaczono ${e.item}.`};var Cpe={};Cpe={deselectedItem:e=>`${e.item} não selecionado.`,longPressToSelect:"Mantenha pressionado para entrar no modo de seleção.",select:"Selecionar",selectedAll:"Todos os itens selecionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nenhum item selecionado",one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}.`,selectedItem:e=>`${e.item} selecionado.`};var Ppe={};Ppe={deselectedItem:e=>`${e.item} não selecionado.`,longPressToSelect:"Prima continuamente para entrar no modo de seleção.",select:"Selecionar",selectedAll:"Todos os itens selecionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nenhum item selecionado",one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}.`,selectedItem:e=>`${e.item} selecionado.`};var Dpe={};Dpe={deselectedItem:e=>`${e.item} neselectat.`,longPressToSelect:"Apăsați lung pentru a intra în modul de selectare.",select:"Selectare",selectedAll:"Toate elementele selectate.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Niciun element selectat",one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,selectedItem:e=>`${e.item} selectat.`};var Rpe={};Rpe={deselectedItem:e=>`${e.item} не выбрано.`,longPressToSelect:"Нажмите и удерживайте для входа в режим выбора.",select:"Выбрать",selectedAll:"Выбраны все элементы.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Нет выбранных элементов",one:()=>`${t.number(e.count)} элемент выбран`,other:()=>`${t.number(e.count)} элементов выбрано`})}.`,selectedItem:e=>`${e.item} выбрано.`};var kpe={};kpe={deselectedItem:e=>`Nevybraté položky: ${e.item}.`,longPressToSelect:"Dlhším stlačením prejdite do režimu výberu.",select:"Vybrať",selectedAll:"Všetky vybraté položky.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Žiadne vybraté položky",one:()=>`${t.number(e.count)} vybratá položka`,other:()=>`Počet vybratých položiek:${t.number(e.count)}`})}.`,selectedItem:e=>`Vybraté položky: ${e.item}.`};var Tpe={};Tpe={deselectedItem:e=>`Element ${e.item} ni izbran.`,longPressToSelect:"Za izbirni način pritisnite in dlje časa držite.",select:"Izberite",selectedAll:"Vsi elementi so izbrani.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Noben element ni izbran",one:()=>`${t.number(e.count)} element je izbran`,other:()=>`${t.number(e.count)} elementov je izbranih`})}.`,selectedItem:e=>`Element ${e.item} je izbran.`};var Ape={};Ape={deselectedItem:e=>`${e.item} nije izabrano.`,longPressToSelect:"Dugo pritisnite za ulazak u režim biranja.",select:"Izaberite",selectedAll:"Izabrane su sve stavke.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nije izabrana nijedna stavka",one:()=>`Izabrana je ${t.number(e.count)} stavka`,other:()=>`Izabrano je ${t.number(e.count)} stavki`})}.`,selectedItem:e=>`${e.item} je izabrano.`};var Fpe={};Fpe={deselectedItem:e=>`${e.item} ej markerat.`,longPressToSelect:"Tryck länge när du vill öppna väljarläge.",select:"Markera",selectedAll:"Alla markerade objekt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Inga markerade objekt",one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,selectedItem:e=>`${e.item} markerat.`};var Ipe={};Ipe={deselectedItem:e=>`${e.item} seçilmedi.`,longPressToSelect:"Seçim moduna girmek için uzun basın.",select:"Seç",selectedAll:"Tüm ögeler seçildi.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Hiçbir öge seçilmedi",one:()=>`${t.number(e.count)} öge seçildi`,other:()=>`${t.number(e.count)} öge seçildi`})}.`,selectedItem:e=>`${e.item} seçildi.`};var Mpe={};Mpe={deselectedItem:e=>`${e.item} не вибрано.`,longPressToSelect:"Виконайте довге натиснення, щоб перейти в режим вибору.",select:"Вибрати",selectedAll:"Усі елементи вибрано.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Жодних елементів не вибрано",one:()=>`${t.number(e.count)} елемент вибрано`,other:()=>`Вибрано елементів: ${t.number(e.count)}`})}.`,selectedItem:e=>`${e.item} вибрано.`};var Npe={};Npe={deselectedItem:e=>`未选择 ${e.item}。`,longPressToSelect:"长按以进入选择模式。",select:"选择",selectedAll:"已选择所有项目。",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"未选择项目",one:()=>`已选择 ${t.number(e.count)} 个项目`,other:()=>`已选择 ${t.number(e.count)} 个项目`})}。`,selectedItem:e=>`已选择 ${e.item}。`};var Lpe={};Lpe={deselectedItem:e=>`未選取「${e.item}」。`,longPressToSelect:"長按以進入選擇模式。",select:"選取",selectedAll:"已選取所有項目。",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"未選取任何項目",one:()=>`已選取 ${t.number(e.count)} 個項目`,other:()=>`已選取 ${t.number(e.count)} 個項目`})}。`,selectedItem:e=>`已選取「${e.item}」。`};var xL={};xL={"ar-AE":ape,"bg-BG":ope,"cs-CZ":spe,"da-DK":upe,"de-DE":lpe,"el-GR":cpe,"en-US":fpe,"es-ES":dpe,"et-EE":hpe,"fi-FI":ppe,"fr-FR":mpe,"he-IL":gpe,"hr-HR":vpe,"hu-HU":ype,"it-IT":bpe,"ja-JP":Ope,"ko-KR":xpe,"lt-LT":_pe,"lv-LV":Spe,"nb-NO":wpe,"nl-NL":Epe,"pl-PL":$pe,"pt-BR":Cpe,"pt-PT":Ppe,"ro-RO":Dpe,"ru-RU":Rpe,"sk-SK":kpe,"sl-SI":Tpe,"sr-SP":Ape,"sv-SE":Fpe,"tr-TR":Ipe,"uk-UA":Mpe,"zh-CN":Npe,"zh-TW":Lpe};function t9e(e){return e&&e.__esModule?e.default:e}function r9e(e,t){let{getRowText:r=s=>{var u,l,c,f;return(f=(u=(l=t.collection).getTextValue)===null||u===void 0?void 0:u.call(l,s))!==null&&f!==void 0?f:(c=t.collection.getItem(s))===null||c===void 0?void 0:c.textValue}}=e,n=dh(t9e(xL),"@react-aria/grid"),i=t.selectionManager.rawSelection,a=F.useRef(i),o=Aa(()=>{var s;if(!t.selectionManager.isFocused||i===a.current){a.current=i;return}let u=AK(i,a.current),l=AK(a.current,i),c=t.selectionManager.selectionBehavior==="replace",f=[];if(t.selectionManager.selectedKeys.size===1&&c){if(t.collection.getItem(t.selectionManager.selectedKeys.keys().next().value)){let d=r(t.selectionManager.selectedKeys.keys().next().value);d&&f.push(n.format("selectedItem",{item:d}))}}else if(u.size===1&&l.size===0){let d=r(u.keys().next().value);d&&f.push(n.format("selectedItem",{item:d}))}else if(l.size===1&&u.size===0&&t.collection.getItem(l.keys().next().value)){let d=r(l.keys().next().value);d&&f.push(n.format("deselectedItem",{item:d}))}t.selectionManager.selectionMode==="multiple"&&(f.length===0||i==="all"||i.size>1||a.current==="all"||((s=a.current)===null||s===void 0?void 0:s.size)>1)&&f.push(i==="all"?n.format("selectedAll"):n.format("selectedCount",{count:i.size})),f.length>0&&oy(f.join(" ")),a.current=i});iue(()=>{if(t.selectionManager.isFocused)o();else{let s=requestAnimationFrame(o);return()=>cancelAnimationFrame(s)}},[i,t.selectionManager.isFocused])}function AK(e,t){let r=new Set;if(e==="all"||t==="all")return r;for(let n of e.keys())t.has(n)||r.add(n);return r}function n9e(e){return e&&e.__esModule?e.default:e}function i9e(e){let t=dh(n9e(xL),"@react-aria/grid"),r=pue(),n=(r==="pointer"||r==="virtual"||r==null)&&typeof window<"u"&&"ontouchstart"in window,i=F.useMemo(()=>{let o=e.selectionManager.selectionMode,s=e.selectionManager.selectionBehavior,u;return n&&(u=t.format("longPressToSelect")),s==="replace"&&o!=="none"&&e.hasItemActions?u:void 0},[e.selectionManager.selectionMode,e.selectionManager.selectionBehavior,e.hasItemActions,t,n]);return D$(i)}function a9e(e,t,r){let{isVirtualized:n,keyboardDelegate:i,layoutDelegate:a,onAction:o,disallowTypeAhead:s,linkBehavior:u="action",keyboardNavigationBehavior:l="arrow"}=e;!e["aria-label"]&&!e["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let{listProps:c}=ZN({selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,ref:r,keyboardDelegate:i,layoutDelegate:a,isVirtualized:n,selectOnFocus:t.selectionManager.selectionBehavior==="replace",shouldFocusWrap:e.shouldFocusWrap,linkBehavior:u,disallowTypeAhead:s,autoFocus:e.autoFocus}),f=Bi(e.id);OL.set(t,{id:f,onAction:o,linkBehavior:u,keyboardNavigationBehavior:l});let d=i9e({selectionManager:t.selectionManager,hasItemActions:!!o}),h=Cue(r,{isDisabled:t.collection.size!==0}),g=Jr(e,{labelable:!0}),m=Qt(g,{role:"grid",id:f,"aria-multiselectable":t.selectionManager.selectionMode==="multiple"?"true":void 0},t.collection.size===0?{tabIndex:h?-1:0}:c,d);return n&&(m["aria-rowcount"]=t.collection.size,m["aria-colcount"]=1),r9e({},t),{gridProps:m}}const FK={expand:{ltr:"ArrowRight",rtl:"ArrowLeft"},collapse:{ltr:"ArrowLeft",rtl:"ArrowRight"}};function o9e(e,t,r){var n,i;let{node:a,isVirtualized:o,shouldSelectOnPressUp:s}=e,{direction:u}=Ha(),{onAction:l,linkBehavior:c,keyboardNavigationBehavior:f}=OL.get(t),d=I0(),h=F.useRef(null),g=()=>{var Q;r.current!==null&&(h.current!=null&&a.key!==h.current||!(!((Q=r.current)===null||Q===void 0)&&Q.contains(document.activeElement)))&&cl(r.current)},m={},v=e.hasChildItems,y=t.selectionManager.isLink(a.key);if(a!=null&&"expandedKeys"in t){var O,x,C;let Q=(O=(x=t.collection).getChildren)===null||O===void 0?void 0:O.call(x,a.key);v=v||[...Q??[]].length>1,l==null&&!y&&t.selectionManager.selectionMode==="none"&&v&&(l=()=>t.toggleKey(a.key));let V=v?t.expandedKeys.has(a.key):void 0,I=1;var w;if(a.level>0&&(a==null?void 0:a.parentKey)!=null){let q=t.collection.getItem(a.parentKey);if(q){var E,T;let M=(E=(T=t.collection).getChildren)===null||E===void 0?void 0:E.call(T,q.key);I=v5e(M).index+1}}else I=((w=(C=[...t.collection].filter(q=>q.level===0).at(-1))===null||C===void 0?void 0:C.index)!==null&&w!==void 0?w:0)+1;m={"aria-expanded":V,"aria-level":a.level+1,"aria-posinset":(a==null?void 0:a.index)+1,"aria-setsize":I}}let{itemProps:P,...L}=F$({selectionManager:t.selectionManager,key:a.key,ref:r,isVirtualized:o,shouldSelectOnPressUp:s,onAction:l||!((n=a.props)===null||n===void 0)&&n.onAction?Kf((i=a.props)===null||i===void 0?void 0:i.onAction,l?()=>l(a.key):void 0):void 0,focus:g,linkBehavior:c}),N=Q=>{if(!Q.currentTarget.contains(Q.target)||!r.current||!document.activeElement)return;let V=ls(r.current);if(V.currentNode=document.activeElement,"expandedKeys"in t&&document.activeElement===r.current){if(Q.key===FK.expand[u]&&t.selectionManager.focusedKey===a.key&&v&&!t.expandedKeys.has(a.key)){t.toggleKey(a.key),Q.stopPropagation();return}else if(Q.key===FK.collapse[u]&&t.selectionManager.focusedKey===a.key&&v&&t.expandedKeys.has(a.key)){t.toggleKey(a.key),Q.stopPropagation();return}}switch(Q.key){case"ArrowLeft":if(f==="arrow"){let q=u==="rtl"?V.nextNode():V.previousNode();if(q)Q.preventDefault(),Q.stopPropagation(),cl(q),O0(q,{containingElement:b0(r.current)});else if(Q.preventDefault(),Q.stopPropagation(),u==="rtl")cl(r.current),O0(r.current,{containingElement:b0(r.current)});else{V.currentNode=r.current;let M=IK(V);M&&(cl(M),O0(M,{containingElement:b0(r.current)}))}}break;case"ArrowRight":if(f==="arrow"){let q=u==="rtl"?V.previousNode():V.nextNode();if(q)Q.preventDefault(),Q.stopPropagation(),cl(q),O0(q,{containingElement:b0(r.current)});else if(Q.preventDefault(),Q.stopPropagation(),u==="ltr")cl(r.current),O0(r.current,{containingElement:b0(r.current)});else{V.currentNode=r.current;let M=IK(V);M&&(cl(M),O0(M,{containingElement:b0(r.current)}))}}break;case"ArrowUp":case"ArrowDown":if(!Q.altKey&&r.current.contains(Q.target)){var I;Q.stopPropagation(),Q.preventDefault(),(I=r.current.parentElement)===null||I===void 0||I.dispatchEvent(new KeyboardEvent(Q.nativeEvent.type,Q.nativeEvent))}break;case"Tab":if(f==="tab"){let q=ls(r.current,{tabbable:!0});q.currentNode=document.activeElement,(Q.shiftKey?q.previousNode():q.nextNode())&&Q.stopPropagation()}}},B=Q=>{if(h.current=a.key,Q.target!==r.current){gg()||t.selectionManager.setFocusedKey(a.key);return}},j=rue(a.props),A=L.hasAction?j:{},H=Qt(P,A,{role:"row",onKeyDownCapture:N,onFocus:B,"aria-label":a.textValue||void 0,"aria-selected":t.selectionManager.canSelectItem(a.key)?t.selectionManager.isSelected(a.key):void 0,"aria-disabled":t.selectionManager.isDisabled(a.key)||void 0,"aria-labelledby":d&&a.textValue?`${TK(t,a.key)} ${d}`:void 0,id:TK(t,a.key)});o&&(H["aria-rowindex"]=a.index+1);let k={role:"gridcell","aria-colindex":1};return{rowProps:{...Qt(H,m)},gridCellProps:k,descriptionProps:{id:d},...L}}function IK(e){let t=null,r=null;do r=e.lastChild(),r&&(t=r);while(r);return t}const zpe=new WeakMap;function s9e(e,t,r){let{value:n,children:i,"aria-label":a,"aria-labelledby":o}=e;const s=e.isDisabled||t.isDisabled;let u=i!=null,l=a!=null||o!=null;!u&&!l&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let c=t.selectedValue===n,f=P=>{P.stopPropagation(),t.setSelectedValue(n)},{pressProps:d,isPressed:h}=mg({isDisabled:s}),{pressProps:g,isPressed:m}=mg({isDisabled:s,onPress(){var P;t.setSelectedValue(n),(P=r.current)===null||P===void 0||P.focus()}}),{focusableProps:v}=Ng(Qt(e,{onFocus:()=>t.setLastFocusedValue(n)}),r),y=Qt(d,v),O=Jr(e,{labelable:!0}),x=-1;t.selectedValue!=null?t.selectedValue===n&&(x=0):(t.lastFocusedValue===n||t.lastFocusedValue==null)&&(x=0),s&&(x=void 0);let{name:C,descriptionId:w,errorMessageId:E,validationBehavior:T}=zpe.get(t);return fO(r,t.selectedValue,t.setSelectedValue),U$({validationBehavior:T},t,r),{labelProps:Qt(g,{onClick:P=>P.preventDefault()}),inputProps:Qt(O,{...y,type:"radio",name:C,tabIndex:x,disabled:s,required:t.isRequired&&T==="native",checked:c,value:n,onChange:f,"aria-describedby":[e["aria-describedby"],t.isInvalid?E:null,w].filter(Boolean).join(" ")||void 0}),isDisabled:s,isSelected:c,isPressed:h||m}}function u9e(e,t){let{name:r,isReadOnly:n,isRequired:i,isDisabled:a,orientation:o="vertical",validationBehavior:s="aria"}=e,{direction:u}=Ha(),{isInvalid:l,validationErrors:c,validationDetails:f}=t.displayValidation,{labelProps:d,fieldProps:h,descriptionProps:g,errorMessageProps:m}=cw({...e,labelElementType:"span",isInvalid:t.isInvalid,errorMessage:e.errorMessage||c}),v=Jr(e,{labelable:!0}),{focusWithinProps:y}=Lg({onBlurWithin(C){var w;(w=e.onBlur)===null||w===void 0||w.call(e,C),t.selectedValue||t.setLastFocusedValue(null)},onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),O=C=>{let w;switch(C.key){case"ArrowRight":u==="rtl"&&o!=="vertical"?w="prev":w="next";break;case"ArrowLeft":u==="rtl"&&o!=="vertical"?w="next":w="prev";break;case"ArrowDown":w="next";break;case"ArrowUp":w="prev";break;default:return}C.preventDefault();let E=ls(C.currentTarget,{from:C.target}),T;w==="next"?(T=E.nextNode(),T||(E.currentNode=C.currentTarget,T=E.firstChild())):(T=E.previousNode(),T||(E.currentNode=C.currentTarget,T=E.lastChild())),T&&(T.focus(),t.setSelectedValue(T.value))},x=Bi(r);return zpe.set(t,{name:x,descriptionId:g.id,errorMessageId:m.id,validationBehavior:s}),{radioGroupProps:Qt(v,{role:"radiogroup",onKeyDown:O,"aria-invalid":t.isInvalid||void 0,"aria-errormessage":e["aria-errormessage"],"aria-readonly":n||void 0,"aria-required":i||void 0,"aria-disabled":a||void 0,"aria-orientation":o,...h,...y}),labelProps:d,descriptionProps:g,errorMessageProps:m,isInvalid:l,validationErrors:c,validationDetails:f}}var Qpe={};Qpe={"Clear search":"مسح البحث"};var Bpe={};Bpe={"Clear search":"Изчистване на търсене"};var qpe={};qpe={"Clear search":"Vymazat hledání"};var Upe={};Upe={"Clear search":"Ryd søgning"};var Vpe={};Vpe={"Clear search":"Suche zurücksetzen"};var jpe={};jpe={"Clear search":"Απαλοιφή αναζήτησης"};var Wpe={};Wpe={"Clear search":"Clear search"};var Zpe={};Zpe={"Clear search":"Borrar búsqueda"};var Kpe={};Kpe={"Clear search":"Tühjenda otsing"};var Hpe={};Hpe={"Clear search":"Tyhjennä haku"};var Ype={};Ype={"Clear search":"Effacer la recherche"};var Gpe={};Gpe={"Clear search":"נקה חיפוש"};var Xpe={};Xpe={"Clear search":"Obriši pretragu"};var Jpe={};Jpe={"Clear search":"Keresés törlése"};var e0e={};e0e={"Clear search":"Cancella ricerca"};var t0e={};t0e={"Clear search":"検索をクリア"};var r0e={};r0e={"Clear search":"검색 지우기"};var n0e={};n0e={"Clear search":"Išvalyti iešką"};var i0e={};i0e={"Clear search":"Notīrīt meklēšanu"};var a0e={};a0e={"Clear search":"Tøm søk"};var o0e={};o0e={"Clear search":"Zoekactie wissen"};var s0e={};s0e={"Clear search":"Wyczyść zawartość wyszukiwania"};var u0e={};u0e={"Clear search":"Limpar pesquisa"};var l0e={};l0e={"Clear search":"Limpar pesquisa"};var c0e={};c0e={"Clear search":"Ştergeţi căutarea"};var f0e={};f0e={"Clear search":"Очистить поиск"};var d0e={};d0e={"Clear search":"Vymazať vyhľadávanie"};var h0e={};h0e={"Clear search":"Počisti iskanje"};var p0e={};p0e={"Clear search":"Obriši pretragu"};var m0e={};m0e={"Clear search":"Rensa sökning"};var g0e={};g0e={"Clear search":"Aramayı temizle"};var v0e={};v0e={"Clear search":"Очистити пошук"};var y0e={};y0e={"Clear search":"清除搜索"};var b0e={};b0e={"Clear search":"清除搜尋條件"};var O0e={};O0e={"ar-AE":Qpe,"bg-BG":Bpe,"cs-CZ":qpe,"da-DK":Upe,"de-DE":Vpe,"el-GR":jpe,"en-US":Wpe,"es-ES":Zpe,"et-EE":Kpe,"fi-FI":Hpe,"fr-FR":Ype,"he-IL":Gpe,"hr-HR":Xpe,"hu-HU":Jpe,"it-IT":e0e,"ja-JP":t0e,"ko-KR":r0e,"lt-LT":n0e,"lv-LV":i0e,"nb-NO":a0e,"nl-NL":o0e,"pl-PL":s0e,"pt-BR":u0e,"pt-PT":l0e,"ro-RO":c0e,"ru-RU":f0e,"sk-SK":d0e,"sl-SI":h0e,"sr-SP":p0e,"sv-SE":m0e,"tr-TR":g0e,"uk-UA":v0e,"zh-CN":y0e,"zh-TW":b0e};function l9e(e){return e&&e.__esModule?e.default:e}function c9e(e,t,r){let n=dh(l9e(O0e),"@react-aria/searchfield"),{isDisabled:i,isReadOnly:a,onSubmit:o,onClear:s,type:u="search"}=e,l=y=>{const O=y.key;O==="Enter"&&(i||a)&&y.preventDefault(),!(i||a)&&(O==="Enter"&&o&&(y.preventDefault(),o(t.value)),O==="Escape"&&(t.value===""&&(!r.current||r.current.value==="")?y.continuePropagation():(y.preventDefault(),t.setValue(""),s&&s())))},c=()=>{t.setValue(""),s&&s()},f=()=>{var y;(y=r.current)===null||y===void 0||y.focus()},{labelProps:d,inputProps:h,descriptionProps:g,errorMessageProps:m,...v}=j$({...e,value:t.value,onChange:t.setValue,onKeyDown:a?e.onKeyDown:Kf(l,e.onKeyDown),type:u},r);return{labelProps:d,inputProps:{...h,defaultValue:void 0},clearButtonProps:{"aria-label":n.format("Clear search"),excludeFromTabOrder:!0,preventFocusOnPress:!0,isDisabled:i||a,onPress:c,onPressStart:f},descriptionProps:g,errorMessageProps:m,...v}}const x0e=new WeakMap;function f9e(e,t,r){let{keyboardDelegate:n,isDisabled:i,isRequired:a,name:o,validationBehavior:s="aria"}=e,u=A$({usage:"search",sensitivity:"base"}),l=F.useMemo(()=>n||new aw(t.collection,t.disabledKeys,r,u),[n,t.collection,t.disabledKeys,u]),{menuTriggerProps:c,menuProps:f}=vle({isDisabled:i,type:"listbox"},t,r),d=P=>{switch(P.key){case"ArrowLeft":{var L,N;P.preventDefault();let A=t.selectedKey!=null?(L=l.getKeyAbove)===null||L===void 0?void 0:L.call(l,t.selectedKey):(N=l.getFirstKey)===null||N===void 0?void 0:N.call(l);A&&t.setSelectedKey(A);break}case"ArrowRight":{var B,j;P.preventDefault();let A=t.selectedKey!=null?(B=l.getKeyBelow)===null||B===void 0?void 0:B.call(l,t.selectedKey):(j=l.getFirstKey)===null||j===void 0?void 0:j.call(l);A&&t.setSelectedKey(A);break}}},{typeSelectProps:h}=Ole({keyboardDelegate:l,selectionManager:t.selectionManager,onTypeSelect(P){t.setSelectedKey(P)}}),{isInvalid:g,validationErrors:m,validationDetails:v}=t.displayValidation,{labelProps:y,fieldProps:O,descriptionProps:x,errorMessageProps:C}=cw({...e,labelElementType:"span",isInvalid:g,errorMessage:e.errorMessage||m});h.onKeyDown=h.onKeyDownCapture,delete h.onKeyDownCapture;let w=Jr(e,{labelable:!0}),E=Qt(h,c,O),T=Bi();return x0e.set(t,{isDisabled:i,isRequired:a,name:o,validationBehavior:s}),{labelProps:{...y,onClick:()=>{if(!e.isDisabled){var P;(P=r.current)===null||P===void 0||P.focus(),QN("keyboard")}}},triggerProps:Qt(w,{...E,isDisabled:i,onKeyDown:Kf(E.onKeyDown,d,e.onKeyDown),onKeyUp:e.onKeyUp,"aria-labelledby":[T,E["aria-labelledby"],E["aria-label"]&&!E["aria-labelledby"]?E.id:null].filter(Boolean).join(" "),onFocus(P){t.isFocused||(e.onFocus&&e.onFocus(P),e.onFocusChange&&e.onFocusChange(!0),t.setFocused(!0))},onBlur(P){t.isOpen||(e.onBlur&&e.onBlur(P),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))}}),valueProps:{id:T},menuProps:{...f,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,disallowEmptySelection:!0,linkBehavior:"selection",onBlur:P=>{P.currentTarget.contains(P.relatedTarget)||(e.onBlur&&e.onBlur(P),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))},"aria-labelledby":[O["aria-labelledby"],E["aria-label"]&&!O["aria-labelledby"]?E.id:null].filter(Boolean).join(" ")},descriptionProps:x,errorMessageProps:C,isInvalid:g,validationErrors:m,validationDetails:v}}function d9e(e,t,r){let n=x0e.get(t)||{},{autoComplete:i,name:a=n.name,isDisabled:o=n.isDisabled}=e,{validationBehavior:s,isRequired:u}=n,{visuallyHiddenProps:l}=ple();fO(e.selectRef,t.selectedKey,t.setSelectedKey),U$({validationBehavior:s,focus:()=>{var f;return(f=r.current)===null||f===void 0?void 0:f.focus()}},t,e.selectRef);var c;return{containerProps:{...l,"aria-hidden":!0,"data-react-aria-prevent-focus":!0,"data-a11y-ignore":"aria-hidden-focus"},inputProps:{style:{display:"none"}},selectProps:{tabIndex:-1,autoComplete:i,disabled:o,required:s==="native"&&u,name:a,value:(c=t.selectedKey)!==null&&c!==void 0?c:void 0,onChange:f=>t.setSelectedKey(f.target.value)}}}function h9e(e){let{state:t,triggerRef:r,label:n,name:i,isDisabled:a}=e,o=F.useRef(null),{containerProps:s,selectProps:u}=d9e({...e,selectRef:o},t,r);var l;return t.collection.size<=300?$e.createElement("div",{...s,"data-testid":"hidden-select-container"},$e.createElement("label",null,n,$e.createElement("select",{...u,ref:o},$e.createElement("option",null),[...t.collection.getKeys()].map(c=>{let f=t.collection.getItem(c);if(f&&f.type==="item")return $e.createElement("option",{key:f.key,value:f.key},f.textValue)})))):i?$e.createElement("input",{type:"hidden",autoComplete:u.autoComplete,name:i,disabled:a,value:(l=t.selectedKey)!==null&&l!==void 0?l:""}):null}const _0e=new WeakMap;function G2(e,t,r){return e?(typeof t=="string"&&(t=t.replace(/\s+/g,"")),`${_0e.get(e)}-${r}-${t}`):""}function p9e(e,t,r){let{key:n,isDisabled:i,shouldSelectOnPressUp:a}=e,{selectionManager:o,selectedKey:s}=t,u=n===s,l=i||t.isDisabled||t.selectionManager.isDisabled(n),{itemProps:c,isPressed:f}=F$({selectionManager:o,key:n,ref:r,isDisabled:l,shouldSelectOnPressUp:a,linkBehavior:"selection"}),d=G2(t,n,"tab"),h=G2(t,n,"tabpanel"),{tabIndex:g}=c,m=t.collection.getItem(n),v=Jr(m==null?void 0:m.props,{labelable:!0});delete v.id;let y=IN(m==null?void 0:m.props),{focusableProps:O}=Ng({isDisabled:l},r);return{tabProps:Qt(v,O,y,c,{id:d,"aria-selected":u,"aria-disabled":l||void 0,"aria-controls":u?h:void 0,tabIndex:l?void 0:g,role:"tab"}),isSelected:u,isDisabled:l,isPressed:f}}function m9e(e,t,r){let n=Cue(r)?void 0:0;var i;const a=G2(t,(i=e.id)!==null&&i!==void 0?i:t==null?void 0:t.selectedKey,"tabpanel"),o=vy({...e,id:a,"aria-labelledby":G2(t,t==null?void 0:t.selectedKey,"tab")});return{tabPanelProps:Qt(o,{tabIndex:n,role:"tabpanel","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]})}}class g9e{getKeyLeftOf(t){return this.flipDirection?this.getNextKey(t):this.getPreviousKey(t)}getKeyRightOf(t){return this.flipDirection?this.getPreviousKey(t):this.getNextKey(t)}isDisabled(t){var r,n;return this.disabledKeys.has(t)||!!(!((n=this.collection.getItem(t))===null||n===void 0||(r=n.props)===null||r===void 0)&&r.isDisabled)}getFirstKey(){let t=this.collection.getFirstKey();return t!=null&&this.isDisabled(t)&&(t=this.getNextKey(t)),t}getLastKey(){let t=this.collection.getLastKey();return t!=null&&this.isDisabled(t)&&(t=this.getPreviousKey(t)),t}getKeyAbove(t){return this.tabDirection?null:this.getPreviousKey(t)}getKeyBelow(t){return this.tabDirection?null:this.getNextKey(t)}getNextKey(t){do t=this.collection.getKeyAfter(t),t==null&&(t=this.collection.getFirstKey());while(this.isDisabled(t));return t}getPreviousKey(t){do t=this.collection.getKeyBefore(t),t==null&&(t=this.collection.getLastKey());while(this.isDisabled(t));return t}constructor(t,r,n,i=new Set){this.collection=t,this.flipDirection=r==="rtl"&&n==="horizontal",this.disabledKeys=i,this.tabDirection=n==="horizontal"}}function v9e(e,t,r){let{orientation:n="horizontal",keyboardActivation:i="automatic"}=e,{collection:a,selectionManager:o,disabledKeys:s}=t,{direction:u}=Ha(),l=F.useMemo(()=>new g9e(a,u,n,s),[a,s,n,u]),{collectionProps:c}=WN({ref:r,selectionManager:o,keyboardDelegate:l,selectOnFocus:i==="automatic",disallowEmptySelection:!0,scrollRef:r,linkBehavior:"selection"}),f=Bi();_0e.set(t,f);let d=vy({...e,id:f});return{tabListProps:{...Qt(c,d),role:"tablist","aria-orientation":n,tabIndex:void 0}}}const S0e=new WeakMap;function y9e(e,t,r){let{direction:n}=Ha(),i=e.keyboardDelegate||new aw({collection:t.collection,ref:r,orientation:"horizontal",direction:n,disabledKeys:t.disabledKeys,disabledBehavior:t.selectionManager.disabledBehavior}),{labelProps:a,fieldProps:o,descriptionProps:s,errorMessageProps:u}=cw({...e,labelElementType:"span"}),{gridProps:l}=a9e({...e,...o,keyboardDelegate:i,shouldFocusWrap:!0,linkBehavior:"override"},t,r),[c,f]=F.useState(!1),{focusWithinProps:d}=Lg({onFocusWithinChange:f}),h=Jr(e),g=F.useRef(t.collection.size);return F.useEffect(()=>{r.current&&g.current>0&&t.collection.size===0&&c&&r.current.focus(),g.current=t.collection.size},[t.collection.size,c,r]),S0e.set(t,{onRemove:e.onRemove}),{gridProps:Qt(l,h,{role:t.collection.size?"grid":null,"aria-atomic":!1,"aria-relevant":"additions","aria-live":c?"polite":"off",...d,...o}),labelProps:a,descriptionProps:s,errorMessageProps:u}}var w0e={};w0e={removeButtonLabel:"إزالة",removeDescription:"اضغط على مفتاح DELETE لإزالة علامة."};var E0e={};E0e={removeButtonLabel:"Премахване",removeDescription:"Натиснете Delete, за да премахнете маркера."};var $0e={};$0e={removeButtonLabel:"Odebrat",removeDescription:"Stisknutím klávesy Delete odeberete značku."};var C0e={};C0e={removeButtonLabel:"Fjern",removeDescription:"Tryk på Slet for at fjerne tag."};var P0e={};P0e={removeButtonLabel:"Entfernen",removeDescription:"Auf „Löschen“ drücken, um das Tag zu entfernen."};var D0e={};D0e={removeButtonLabel:"Κατάργηση",removeDescription:"Πατήστε Διαγραφή για να καταργήσετε την ετικέτα."};var R0e={};R0e={removeDescription:"Press Delete to remove tag.",removeButtonLabel:"Remove"};var k0e={};k0e={removeButtonLabel:"Quitar",removeDescription:"Pulse Eliminar para quitar la etiqueta."};var T0e={};T0e={removeButtonLabel:"Eemalda",removeDescription:"Sildi eemaldamiseks vajutage kustutusklahvi Delete."};var A0e={};A0e={removeButtonLabel:"Poista",removeDescription:"Poista tunniste painamalla Poista-painiketta."};var F0e={};F0e={removeButtonLabel:"Supprimer",removeDescription:"Appuyez sur Supprimer pour supprimer l’étiquette."};var I0e={};I0e={removeButtonLabel:"הסר",removeDescription:"לחץ על מחק כדי להסיר תג."};var M0e={};M0e={removeButtonLabel:"Ukloni",removeDescription:"Pritisnite Delete za uklanjanje oznake."};var N0e={};N0e={removeButtonLabel:"Eltávolítás",removeDescription:"Nyomja meg a Delete billentyűt a címke eltávolításához."};var L0e={};L0e={removeButtonLabel:"Rimuovi",removeDescription:"Premi Elimina per rimuovere il tag."};var z0e={};z0e={removeButtonLabel:"削除",removeDescription:"タグを削除するには、Delete キーを押します。"};var Q0e={};Q0e={removeButtonLabel:"제거",removeDescription:"태그를 제거하려면 Delete 키를 누르십시오."};var B0e={};B0e={removeButtonLabel:"Pašalinti",removeDescription:"Norėdami pašalinti žymą, paspauskite „Delete“ klavišą."};var q0e={};q0e={removeButtonLabel:"Noņemt",removeDescription:"Nospiediet Delete [Dzēst], lai noņemtu tagu."};var U0e={};U0e={removeButtonLabel:"Fjern",removeDescription:"Trykk på Slett for å fjerne taggen."};var V0e={};V0e={removeButtonLabel:"Verwijderen",removeDescription:"Druk op Verwijderen om de tag te verwijderen."};var j0e={};j0e={removeButtonLabel:"Usuń",removeDescription:"Naciśnij Usuń, aby usunąć znacznik."};var W0e={};W0e={removeButtonLabel:"Remover",removeDescription:"Pressione Delete para remover a tag."};var Z0e={};Z0e={removeButtonLabel:"Eliminar",removeDescription:"Prima Delete para eliminar a tag."};var K0e={};K0e={removeButtonLabel:"Îndepărtaţi",removeDescription:"Apăsați pe Delete (Ștergere) pentru a elimina eticheta."};var H0e={};H0e={removeButtonLabel:"Удалить",removeDescription:"Нажмите DELETE, чтобы удалить тег."};var Y0e={};Y0e={removeButtonLabel:"Odstrániť",removeDescription:"Ak chcete odstrániť značku, stlačte kláves Delete."};var G0e={};G0e={removeButtonLabel:"Odstrani",removeDescription:"Pritisnite Delete, da odstranite oznako."};var X0e={};X0e={removeButtonLabel:"Ukloni",removeDescription:"Pritisnite Obriši da biste uklonili oznaku."};var J0e={};J0e={removeButtonLabel:"Ta bort",removeDescription:"Tryck på Radera för att ta bort taggen."};var eme={};eme={removeButtonLabel:"Kaldır",removeDescription:"Etiketi kaldırmak için Sil tuşuna basın."};var tme={};tme={removeButtonLabel:"Вилучити",removeDescription:"Натисніть Delete, щоб вилучити тег."};var rme={};rme={removeButtonLabel:"删除",removeDescription:"按下“删除”以删除标记。"};var nme={};nme={removeButtonLabel:"移除",removeDescription:"按 Delete 鍵以移除標記。"};var ime={};ime={"ar-AE":w0e,"bg-BG":E0e,"cs-CZ":$0e,"da-DK":C0e,"de-DE":P0e,"el-GR":D0e,"en-US":R0e,"es-ES":k0e,"et-EE":T0e,"fi-FI":A0e,"fr-FR":F0e,"he-IL":I0e,"hr-HR":M0e,"hu-HU":N0e,"it-IT":L0e,"ja-JP":z0e,"ko-KR":Q0e,"lt-LT":B0e,"lv-LV":q0e,"nb-NO":U0e,"nl-NL":V0e,"pl-PL":j0e,"pt-BR":W0e,"pt-PT":Z0e,"ro-RO":K0e,"ru-RU":H0e,"sk-SK":Y0e,"sl-SI":G0e,"sr-SP":X0e,"sv-SE":J0e,"tr-TR":eme,"uk-UA":tme,"zh-CN":rme,"zh-TW":nme};function b9e(e){return e&&e.__esModule?e.default:e}function O9e(e,t,r){let{item:n}=e,i=dh(b9e(ime),"@react-aria/tag"),a=Bi(),{onRemove:o}=S0e.get(t)||{},{rowProps:s,gridCellProps:u,...l}=o9e({node:n},t,r);delete s.onKeyDownCapture;let{descriptionProps:c,...f}=l,d=t.disabledKeys.has(n.key)||n.props.isDisabled,h=T=>{if(T.key==="Delete"||T.key==="Backspace"){if(d)return;T.preventDefault(),t.selectionManager.isSelected(n.key)?o==null||o(new Set(t.selectionManager.selectedKeys)):o==null||o(new Set([n.key]))}},g=pue();g==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(g="pointer");let m=o&&(g==="keyboard"||g==="virtual")?i.format("removeDescription"):"",v=D$(m),y=n.key===t.selectionManager.focusedKey,O=t.selectionManager.focusedKey!=null,x=-1;!d&&(y||!O)&&(x=0);let C=Jr(n.props),w=rue(n.props),{focusableProps:E}=Ng({isDisabled:d},r);return{removeButtonProps:{"aria-label":i.format("removeButtonLabel"),"aria-labelledby":`${a} ${s.id}`,isDisabled:d,id:a,onPress:()=>o?o(new Set([n.key])):null,excludeFromTabOrder:!0},rowProps:Qt(E,s,C,w,{tabIndex:x,onKeyDown:o?h:void 0,"aria-describedby":v["aria-describedby"]}),gridCellProps:Qt(u,{"aria-errormessage":e["aria-errormessage"],"aria-label":e["aria-label"]}),...f,allowsRemoving:!!o}}function x9e(e,t){let r=Jr(e,{labelable:!0}),{hoverProps:n}=Ru({onHoverStart:()=>t==null?void 0:t.open(!0),onHoverEnd:()=>t==null?void 0:t.close()});return{tooltipProps:Qt(r,n,{role:"tooltip"})}}function _9e(e,t,r){let{isDisabled:n,trigger:i}=e,a=Bi(),o=F.useRef(!1),s=F.useRef(!1),u=()=>{(o.current||s.current)&&t.open(s.current)},l=y=>{!o.current&&!s.current&&t.close(y)};F.useEffect(()=>{let y=O=>{r&&r.current&&O.key==="Escape"&&(O.stopPropagation(),t.close(!0))};if(t.isOpen)return document.addEventListener("keydown",y,!0),()=>{document.removeEventListener("keydown",y,!0)}},[r,t]);let c=()=>{i!=="focus"&&(J_()==="pointer"?o.current=!0:o.current=!1,u())},f=()=>{i!=="focus"&&(s.current=!1,o.current=!1,l())},d=()=>{s.current=!1,o.current=!1,l(!0)},h=()=>{gg()&&(s.current=!0,u())},g=()=>{s.current=!1,o.current=!1,l(!0)},{hoverProps:m}=Ru({isDisabled:n,onHoverStart:c,onHoverEnd:f}),{focusableProps:v}=Ng({isDisabled:n,onFocus:h,onBlur:g},r);return{triggerProps:{"aria-describedby":t.isOpen?a:void 0,...Qt(v,m,{onPointerDown:d,onKeyDown:d,tabIndex:void 0})},tooltipProps:{id:a}}}const vp=F.createContext({});let S9e=e=>{let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,...i}=e;return i};const w9e=gO(function(t,r){[t,r]=Un(t,r,vp);let{hoverProps:n,isHovered:i}=Ru(t),{isFocused:a,isFocusVisible:o,focusProps:s}=cu({isTextInput:!0,autoFocus:t.autoFocus}),u=!!t["aria-invalid"]&&t["aria-invalid"]!=="false",l=_n({...t,values:{isHovered:i,isFocused:a,isFocusVisible:o,isDisabled:t.disabled||!1,isInvalid:u},defaultClassName:"react-aria-Input"});return $e.createElement("input",{...Qt(S9e(t),s,n),...l,ref:r,"data-focused":a||void 0,"data-disabled":t.disabled||void 0,"data-hovered":i||void 0,"data-focus-visible":o||void 0,"data-invalid":u||void 0})}),td=F.createContext({}),Lht=gO(function(t,r){[t,r]=Un(t,r,td);let{elementType:n="label",...i}=t;return $e.createElement(n,{className:"react-aria-Label",...i,ref:r})}),E9e=F.createContext(null),$9e=new Set(["form","formAction","formEncType","formMethod","formNoValidate","formTarget","name","value"]),J0=F.createContext({}),zht=gO(function(t,r){[t,r]=Un(t,r,J0),t=C9e(t);let n=t,{isPending:i}=n,{buttonProps:a,isPressed:o}=bfe(t,r),{focusProps:s,isFocused:u,isFocusVisible:l}=cu(t),{hoverProps:c,isHovered:f}=Ru({...t,isDisabled:t.isDisabled||i}),d={isHovered:f,isPressed:(n.isPressed||o)&&!i,isFocused:u,isFocusVisible:l,isDisabled:t.isDisabled||!1,isPending:i??!1},h=_n({...t,values:d,defaultClassName:"react-aria-Button"}),g=Bi(a.id),m=Bi(),v=a["aria-labelledby"];i&&(v?v=`${v} ${m}`:a["aria-label"]&&(v=`${g} ${m}`));let y=F.useRef(i);return F.useEffect(()=>{let O={"aria-labelledby":v||g};(!y.current&&u&&i||y.current&&u&&!i)&&oy(O,"assertive"),y.current=i},[i,u,v,g]),$e.createElement("button",{...Jr(t,{propNames:$9e}),...Qt(a,s,c),...h,type:a.type==="submit"&&i?"button":a.type,id:g,ref:r,"aria-labelledby":v,slot:t.slot||void 0,"aria-disabled":i?"true":a["aria-disabled"],"data-disabled":t.isDisabled||void 0,"data-pressed":d.isPressed||void 0,"data-hovered":f||void 0,"data-focused":u||void 0,"data-pending":i||void 0,"data-focus-visible":l||void 0},$e.createElement(E9e.Provider,{value:{id:m}},h.children))});function C9e(e){return e.isPending&&(e.onPress=void 0,e.onPressStart=void 0,e.onPressEnd=void 0,e.onPressChange=void 0,e.onPressUp=void 0,e.onKeyDown=void 0,e.onKeyUp=void 0,e.onClick=void 0,e.href=void 0),e}const rd=F.createContext({}),P9e=F.forwardRef(function(t,r){[t,r]=Un(t,r,rd);let{elementType:n="span",...i}=t;return $e.createElement(n,{className:"react-aria-Text",...i,ref:r})}),_p=F.createContext(null),Qht=F.forwardRef(function(t,r){let n=F.useContext(_p);return n!=null&&n.isInvalid?$e.createElement(D9e,{...t,ref:r}):null}),D9e=F.forwardRef((e,t)=>{let r=F.useContext(_p),n=Jr(e),i=_n({...e,defaultClassName:"react-aria-FieldError",defaultChildren:r.validationErrors.length===0?void 0:r.validationErrors.join(" "),values:r});return i.children==null?null:$e.createElement(P9e,{slot:"errorMessage",...n,...i,ref:t})});class _9{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let r=this.keyMap.get(t);var n;return r&&(n=r.prevKey)!==null&&n!==void 0?n:null}getKeyAfter(t){let r=this.keyMap.get(t);var n;return r&&(n=r.nextKey)!==null&&n!==void 0?n:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){var r;return(r=this.keyMap.get(t))!==null&&r!==void 0?r:null}at(t){const r=[...this.getKeys()];return this.getItem(r[t])}getChildren(t){let r=this.keyMap.get(t);return(r==null?void 0:r.childNodes)||[]}constructor(t){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=t;let r=o=>{if(this.keyMap.set(o.key,o),o.childNodes&&o.type==="section")for(let s of o.childNodes)r(s)};for(let o of t)r(o);let n=null,i=0;for(let[o,s]of this.keyMap)n?(n.nextKey=o,s.prevKey=n.key):(this.firstKey=o,s.prevKey=void 0),s.type==="item"&&(s.index=i++),n=s,n.nextKey=void 0;var a;this.lastKey=(a=n==null?void 0:n.key)!==null&&a!==void 0?a:null}}function _L(e){let{filter:t,layoutDelegate:r}=e,n=_le(e),i=F.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=F.useCallback(l=>t?new _9(t(l)):new _9(l),[t]),o=F.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),s=xle(e,a,o),u=F.useMemo(()=>new M$(s,n,{layoutDelegate:r}),[s,n,r]);return ame(s,u),{collection:s,disabledKeys:i,selectionManager:u}}function R9e(e,t){let r=F.useMemo(()=>t?e.collection.UNSTABLE_filter(t):e.collection,[e.collection,t]),n=e.selectionManager.withCollection(r);return ame(r,n),{collection:r,selectionManager:n,disabledKeys:e.disabledKeys}}function ame(e,t){const r=F.useRef(null);F.useEffect(()=>{if(t.focusedKey!=null&&!e.getItem(t.focusedKey)&&r.current){const c=r.current.getItem(t.focusedKey),f=[...r.current.getKeys()].map(y=>{const O=r.current.getItem(y);return(O==null?void 0:O.type)==="item"?O:null}).filter(y=>y!==null),d=[...e.getKeys()].map(y=>{const O=e.getItem(y);return(O==null?void 0:O.type)==="item"?O:null}).filter(y=>y!==null);var n,i;const h=((n=f==null?void 0:f.length)!==null&&n!==void 0?n:0)-((i=d==null?void 0:d.length)!==null&&i!==void 0?i:0);var a,o,s;let g=Math.min(h>1?Math.max(((a=c==null?void 0:c.index)!==null&&a!==void 0?a:0)-h+1,0):(o=c==null?void 0:c.index)!==null&&o!==void 0?o:0,((s=d==null?void 0:d.length)!==null&&s!==void 0?s:0)-1),m=null,v=!1;for(;g>=0;){if(!t.isDisabled(d[g].key)){m=d[g];break}if(g<d.length-1&&!v)g++;else{v=!0;var u,l;g>((u=c==null?void 0:c.index)!==null&&u!==void 0?u:0)&&(g=(l=c==null?void 0:c.index)!==null&&l!==void 0?l:0),g--}}t.setFocusedKey(m?m.key:null)}r.current=e},[e,t])}function SL(e){var t;let[r,n]=Ka(e.selectedKey,(t=e.defaultSelectedKey)!==null&&t!==void 0?t:null,e.onSelectionChange),i=F.useMemo(()=>r!=null?[r]:[],[r]),{collection:a,disabledKeys:o,selectionManager:s}=_L({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:i,onSelectionChange:l=>{if(l==="all")return;var c;let f=(c=l.values().next().value)!==null&&c!==void 0?c:null;f===r&&e.onSelectionChange&&e.onSelectionChange(f),n(f)}}),u=r!=null?a.getItem(r):null;return{collection:a,disabledKeys:o,selectionManager:s,selectedKey:r,setSelectedKey:n,selectedItem:u}}function k9e(e){var t;let{defaultFilter:r,menuTrigger:n="input",allowsEmptyCollection:i=!1,allowsCustomValue:a,shouldCloseOnBlur:o=!0}=e,[s,u]=F.useState(!1),[l,c]=F.useState(!1),[f,d]=F.useState(null),h=ve=>{e.onSelectionChange&&e.onSelectionChange(ve),ve===y&&(te(),z())};var g;let{collection:m,selectionManager:v,selectedKey:y,setSelectedKey:O,selectedItem:x,disabledKeys:C}=SL({...e,onSelectionChange:h,items:(g=e.items)!==null&&g!==void 0?g:e.defaultItems}),w=e.defaultInputValue;if(w==null){var E,T;y==null?w="":w=(T=(E=m.getItem(y))===null||E===void 0?void 0:E.textValue)!==null&&T!==void 0?T:""}let[P,L]=Ka(e.inputValue,w,e.onInputChange),N=m,B=F.useMemo(()=>e.items!=null||!r?m:T9e(m,P,r),[m,P,r,e.items]),[j,A]=F.useState(B),H=F.useRef("focus"),Q=dO({...e,onOpenChange:ve=>{e.onOpenChange&&e.onOpenChange(ve,ve?H.current:void 0),v.setFocused(ve),ve||v.setFocusedKey(null)},isOpen:void 0,defaultOpen:void 0}),V=(ve=null,_e)=>{let De=_e==="manual"||_e==="focus"&&n==="focus";(i||B.size>0||De&&N.size>0||e.items)&&(De&&!Q.isOpen&&e.items===void 0&&u(!0),H.current=_e,d(ve),Q.open())},I=(ve=null,_e)=>{let De=_e==="manual"||_e==="focus"&&n==="focus";!(i||B.size>0||De&&N.size>0||e.items)&&!Q.isOpen||(De&&!Q.isOpen&&e.items===void 0&&u(!0),Q.isOpen||(H.current=_e),M(ve))},q=F.useCallback(()=>{A(s?N:B)},[s,N,B]),M=F.useCallback((ve=null)=>{Q.isOpen&&q(),d(ve),Q.toggle()},[Q,q]),z=F.useCallback(()=>{Q.isOpen&&(q(),Q.close())},[Q,q]),[G,K]=F.useState(P),te=()=>{var ve,_e;let De=y!=null&&(_e=(ve=m.getItem(y))===null||ve===void 0?void 0:ve.textValue)!==null&&_e!==void 0?_e:"";K(De),L(De)};var ae,ie;let Se=F.useRef((ie=(ae=e.selectedKey)!==null&&ae!==void 0?ae:e.defaultSelectedKey)!==null&&ie!==void 0?ie:null);var pe;let xe=F.useRef(y!=null&&(pe=(t=m.getItem(y))===null||t===void 0?void 0:t.textValue)!==null&&pe!==void 0?pe:"");F.useEffect(()=>{var ve;l&&(B.size>0||i)&&!Q.isOpen&&P!==G&&n!=="manual"&&V(null,"input"),!s&&!i&&Q.isOpen&&B.size===0&&z(),y!=null&&y!==Se.current&&z(),P!==G&&(v.setFocusedKey(null),u(!1),P===""&&(e.inputValue===void 0||e.selectedKey===void 0)&&O(null)),y!==Se.current&&(e.inputValue===void 0||e.selectedKey===void 0)?te():G!==P&&K(P);var _e;let De=y!=null&&(_e=(ve=m.getItem(y))===null||ve===void 0?void 0:ve.textValue)!==null&&_e!==void 0?_e:"";!l&&y!=null&&e.inputValue===void 0&&y===Se.current&&xe.current!==De&&(K(De),L(De)),Se.current=y,xe.current=De});let Oe=vO({...e,value:F.useMemo(()=>({inputValue:P,selectedKey:y}),[P,y])}),me=()=>{a&&y==null?ne():se()},ne=()=>{Se.current=null,O(null),z()},se=()=>{if(e.selectedKey!==void 0&&e.inputValue!==void 0){var ve,_e;(ve=e.onSelectionChange)===null||ve===void 0||ve.call(e,y);var De;let Te=y!=null&&(De=(_e=m.getItem(y))===null||_e===void 0?void 0:_e.textValue)!==null&&De!==void 0?De:"";K(Te),z()}else te(),z()};const X=()=>{if(a){var ve,_e;const De=y!=null&&(_e=(ve=m.getItem(y))===null||ve===void 0?void 0:ve.textValue)!==null&&_e!==void 0?_e:"";P===De?se():ne()}else se()};let re=()=>{Q.isOpen&&v.focusedKey!=null?y===v.focusedKey?se():O(v.focusedKey):X()},he=F.useRef(P),ge=ve=>{ve?(he.current=P,n==="focus"&&!e.isReadOnly&&V(null,"focus")):(o&&X(),P!==he.current&&Oe.commitValidation()),c(ve)},le=F.useMemo(()=>Q.isOpen?s?N:B:j,[Q.isOpen,N,B,s,j]);return{...Oe,...Q,focusStrategy:f,toggle:I,open:V,close:X,selectionManager:v,selectedKey:y,setSelectedKey:O,disabledKeys:C,isFocused:l,setFocused:ge,selectedItem:x,collection:le,inputValue:P,setInputValue:L,commit:re,revert:me}}function T9e(e,t,r){return new _9(ome(e,e,t,r))}function ome(e,t,r,n){let i=[];for(let a of t)if(a.type==="section"&&a.hasChildNodes){let o=ome(e,I$(a,e),r,n);[...o].some(s=>s.type==="item")&&i.push({...a,childNodes:o})}else a.type==="item"&&n(a.textValue,r)?i.push({...a}):a.type!=="item"&&i.push({...a});return i}var sme={};sme={rangeOverflow:e=>`يجب أن تكون القيمة ${e.maxValue} أو قبل ذلك.`,rangeReversed:"تاريخ البدء يجب أن يكون قبل تاريخ الانتهاء.",rangeUnderflow:e=>`يجب أن تكون القيمة ${e.minValue} أو بعد ذلك.`,unavailableDate:"البيانات المحددة غير متاحة."};var ume={};ume={rangeOverflow:e=>`Стойността трябва да е ${e.maxValue} или по-ранна.`,rangeReversed:"Началната дата трябва да е преди крайната.",rangeUnderflow:e=>`Стойността трябва да е ${e.minValue} или по-късно.`,unavailableDate:"Избраната дата не е налична."};var lme={};lme={rangeOverflow:e=>`Hodnota musí být ${e.maxValue} nebo dřívější.`,rangeReversed:"Datum zahájení musí předcházet datu ukončení.",rangeUnderflow:e=>`Hodnota musí být ${e.minValue} nebo pozdější.`,unavailableDate:"Vybrané datum není k dispozici."};var cme={};cme={rangeOverflow:e=>`Værdien skal være ${e.maxValue} eller tidligere.`,rangeReversed:"Startdatoen skal være før slutdatoen.",rangeUnderflow:e=>`Værdien skal være ${e.minValue} eller nyere.`,unavailableDate:"Den valgte dato er ikke tilgængelig."};var fme={};fme={rangeOverflow:e=>`Der Wert muss ${e.maxValue} oder früher sein.`,rangeReversed:"Das Anfangsdatum muss vor dem Enddatum liegen.",rangeUnderflow:e=>`Der Wert muss ${e.minValue} oder später sein.`,unavailableDate:"Das ausgewählte Datum ist nicht verfügbar."};var dme={};dme={rangeOverflow:e=>`Η τιμή πρέπει να είναι ${e.maxValue} ή παλαιότερη.`,rangeReversed:"Η ημερομηνία έναρξης πρέπει να είναι πριν από την ημερομηνία λήξης.",rangeUnderflow:e=>`Η τιμή πρέπει να είναι ${e.minValue} ή μεταγενέστερη.`,unavailableDate:"Η επιλεγμένη ημερομηνία δεν είναι διαθέσιμη."};var hme={};hme={rangeUnderflow:e=>`Value must be ${e.minValue} or later.`,rangeOverflow:e=>`Value must be ${e.maxValue} or earlier.`,rangeReversed:"Start date must be before end date.",unavailableDate:"Selected date unavailable."};var pme={};pme={rangeOverflow:e=>`El valor debe ser ${e.maxValue} o anterior.`,rangeReversed:"La fecha de inicio debe ser anterior a la fecha de finalización.",rangeUnderflow:e=>`El valor debe ser ${e.minValue} o posterior.`,unavailableDate:"Fecha seleccionada no disponible."};var mme={};mme={rangeOverflow:e=>`Väärtus peab olema ${e.maxValue} või varasem.`,rangeReversed:"Alguskuupäev peab olema enne lõppkuupäeva.",rangeUnderflow:e=>`Väärtus peab olema ${e.minValue} või hilisem.`,unavailableDate:"Valitud kuupäev pole saadaval."};var gme={};gme={rangeOverflow:e=>`Arvon on oltava ${e.maxValue} tai sitä aikaisempi.`,rangeReversed:"Aloituspäivän on oltava ennen lopetuspäivää.",rangeUnderflow:e=>`Arvon on oltava ${e.minValue} tai sitä myöhäisempi.`,unavailableDate:"Valittu päivämäärä ei ole käytettävissä."};var vme={};vme={rangeOverflow:e=>`La valeur doit être ${e.maxValue} ou antérieure.`,rangeReversed:"La date de début doit être antérieure à la date de fin.",rangeUnderflow:e=>`La valeur doit être ${e.minValue} ou ultérieure.`,unavailableDate:"La date sélectionnée n’est pas disponible."};var yme={};yme={rangeOverflow:e=>`הערך חייב להיות ${e.maxValue} או מוקדם יותר.`,rangeReversed:"תאריך ההתחלה חייב להיות לפני תאריך הסיום.",rangeUnderflow:e=>`הערך חייב להיות ${e.minValue} או מאוחר יותר.`,unavailableDate:"התאריך הנבחר אינו זמין."};var bme={};bme={rangeOverflow:e=>`Vrijednost mora biti ${e.maxValue} ili ranije.`,rangeReversed:"Datum početka mora biti prije datuma završetka.",rangeUnderflow:e=>`Vrijednost mora biti ${e.minValue} ili kasnije.`,unavailableDate:"Odabrani datum nije dostupan."};var Ome={};Ome={rangeOverflow:e=>`Az értéknek ${e.maxValue} vagy korábbinak kell lennie.`,rangeReversed:"A kezdő dátumnak a befejező dátumnál korábbinak kell lennie.",rangeUnderflow:e=>`Az értéknek ${e.minValue} vagy későbbinek kell lennie.`,unavailableDate:"A kiválasztott dátum nem érhető el."};var xme={};xme={rangeOverflow:e=>`Il valore deve essere ${e.maxValue} o precedente.`,rangeReversed:"La data di inizio deve essere antecedente alla data di fine.",rangeUnderflow:e=>`Il valore deve essere ${e.minValue} o successivo.`,unavailableDate:"Data selezionata non disponibile."};var _me={};_me={rangeOverflow:e=>`値は ${e.maxValue} 以下にする必要があります。`,rangeReversed:"開始日は終了日より前にする必要があります。",rangeUnderflow:e=>`値は ${e.minValue} 以上にする必要があります。`,unavailableDate:"選択した日付は使用できません。"};var Sme={};Sme={rangeOverflow:e=>`값은 ${e.maxValue} 이전이어야 합니다.`,rangeReversed:"시작일은 종료일 이전이어야 합니다.",rangeUnderflow:e=>`값은 ${e.minValue} 이상이어야 합니다.`,unavailableDate:"선택한 날짜를 사용할 수 없습니다."};var wme={};wme={rangeOverflow:e=>`Reikšmė turi būti ${e.maxValue} arba ankstesnė.`,rangeReversed:"Pradžios data turi būti ankstesnė nei pabaigos data.",rangeUnderflow:e=>`Reikšmė turi būti ${e.minValue} arba naujesnė.`,unavailableDate:"Pasirinkta data nepasiekiama."};var Eme={};Eme={rangeOverflow:e=>`Vērtībai ir jābūt ${e.maxValue} vai agrākai.`,rangeReversed:"Sākuma datumam ir jābūt pirms beigu datuma.",rangeUnderflow:e=>`Vērtībai ir jābūt ${e.minValue} vai vēlākai.`,unavailableDate:"Atlasītais datums nav pieejams."};var $me={};$me={rangeOverflow:e=>`Verdien må være ${e.maxValue} eller tidligere.`,rangeReversed:"Startdatoen må være før sluttdatoen.",rangeUnderflow:e=>`Verdien må være ${e.minValue} eller senere.`,unavailableDate:"Valgt dato utilgjengelig."};var Cme={};Cme={rangeOverflow:e=>`Waarde moet ${e.maxValue} of eerder zijn.`,rangeReversed:"De startdatum moet voor de einddatum liggen.",rangeUnderflow:e=>`Waarde moet ${e.minValue} of later zijn.`,unavailableDate:"Geselecteerde datum niet beschikbaar."};var Pme={};Pme={rangeOverflow:e=>`Wartość musi mieć wartość ${e.maxValue} lub wcześniejszą.`,rangeReversed:"Data rozpoczęcia musi być wcześniejsza niż data zakończenia.",rangeUnderflow:e=>`Wartość musi mieć wartość ${e.minValue} lub późniejszą.`,unavailableDate:"Wybrana data jest niedostępna."};var Dme={};Dme={rangeOverflow:e=>`O valor deve ser ${e.maxValue} ou anterior.`,rangeReversed:"A data inicial deve ser anterior à data final.",rangeUnderflow:e=>`O valor deve ser ${e.minValue} ou posterior.`,unavailableDate:"Data selecionada indisponível."};var Rme={};Rme={rangeOverflow:e=>`O valor tem de ser ${e.maxValue} ou anterior.`,rangeReversed:"A data de início deve ser anterior à data de fim.",rangeUnderflow:e=>`O valor tem de ser ${e.minValue} ou posterior.`,unavailableDate:"Data selecionada indisponível."};var kme={};kme={rangeOverflow:e=>`Valoarea trebuie să fie ${e.maxValue} sau anterioară.`,rangeReversed:"Data de început trebuie să fie anterioară datei de sfârșit.",rangeUnderflow:e=>`Valoarea trebuie să fie ${e.minValue} sau ulterioară.`,unavailableDate:"Data selectată nu este disponibilă."};var Tme={};Tme={rangeOverflow:e=>`Значение должно быть не позже ${e.maxValue}.`,rangeReversed:"Дата начала должна предшествовать дате окончания.",rangeUnderflow:e=>`Значение должно быть не раньше ${e.minValue}.`,unavailableDate:"Выбранная дата недоступна."};var Ame={};Ame={rangeOverflow:e=>`Hodnota musí byť ${e.maxValue} alebo skoršia.`,rangeReversed:"Dátum začiatku musí byť skorší ako dátum konca.",rangeUnderflow:e=>`Hodnota musí byť ${e.minValue} alebo neskoršia.`,unavailableDate:"Vybratý dátum je nedostupný."};var Fme={};Fme={rangeOverflow:e=>`Vrednost mora biti ${e.maxValue} ali starejša.`,rangeReversed:"Začetni datum mora biti pred končnim datumom.",rangeUnderflow:e=>`Vrednost mora biti ${e.minValue} ali novejša.`,unavailableDate:"Izbrani datum ni na voljo."};var Ime={};Ime={rangeOverflow:e=>`Vrednost mora da bude ${e.maxValue} ili starija.`,rangeReversed:"Datum početka mora biti pre datuma završetka.",rangeUnderflow:e=>`Vrednost mora da bude ${e.minValue} ili novija.`,unavailableDate:"Izabrani datum nije dostupan."};var Mme={};Mme={rangeOverflow:e=>`Värdet måste vara ${e.maxValue} eller tidigare.`,rangeReversed:"Startdatumet måste vara före slutdatumet.",rangeUnderflow:e=>`Värdet måste vara ${e.minValue} eller senare.`,unavailableDate:"Det valda datumet är inte tillgängligt."};var Nme={};Nme={rangeOverflow:e=>`Değer, ${e.maxValue} veya öncesi olmalıdır.`,rangeReversed:"Başlangıç tarihi bitiş tarihinden önce olmalıdır.",rangeUnderflow:e=>`Değer, ${e.minValue} veya sonrası olmalıdır.`,unavailableDate:"Seçilen tarih kullanılamıyor."};var Lme={};Lme={rangeOverflow:e=>`Значення має бути не пізніше ${e.maxValue}.`,rangeReversed:"Дата початку має передувати даті завершення.",rangeUnderflow:e=>`Значення має бути не раніше ${e.minValue}.`,unavailableDate:"Вибрана дата недоступна."};var zme={};zme={rangeOverflow:e=>`值必须是 ${e.maxValue} 或更早日期。`,rangeReversed:"开始日期必须早于结束日期。",rangeUnderflow:e=>`值必须是 ${e.minValue} 或更晚日期。`,unavailableDate:"所选日期不可用。"};var Qme={};Qme={rangeOverflow:e=>`值必須是 ${e.maxValue} 或更早。`,rangeReversed:"開始日期必須在結束日期之前。",rangeUnderflow:e=>`值必須是 ${e.minValue} 或更晚。`,unavailableDate:"所選日期無法使用。"};var Bme={};Bme={"ar-AE":sme,"bg-BG":ume,"cs-CZ":lme,"da-DK":cme,"de-DE":fme,"el-GR":dme,"en-US":hme,"es-ES":pme,"et-EE":mme,"fi-FI":gme,"fr-FR":vme,"he-IL":yme,"hr-HR":bme,"hu-HU":Ome,"it-IT":xme,"ja-JP":_me,"ko-KR":Sme,"lt-LT":wme,"lv-LV":Eme,"nb-NO":$me,"nl-NL":Cme,"pl-PL":Pme,"pt-BR":Dme,"pt-PT":Rme,"ro-RO":kme,"ru-RU":Tme,"sk-SK":Ame,"sl-SI":Fme,"sr-SP":Ime,"sv-SE":Mme,"tr-TR":Nme,"uk-UA":Lme,"zh-CN":zme,"zh-TW":Qme};function A9e(e){return e&&e.__esModule?e.default:e}const F9e=new H0(A9e(Bme));function I9e(){return typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US"}function M9e(e,t,r,n,i){let a=e!=null&&r!=null&&e.compare(r)>0,o=e!=null&&t!=null&&e.compare(t)<0,s=e!=null&&(n==null?void 0:n(e))||!1,u=a||o||s,l=[];if(u){let c=I9e(),f=H0.getGlobalDictionaryForPackage("@react-stately/datepicker")||F9e,d=new mN(c,f),h=new J1(c,zE({},i)),g=h.resolvedOptions().timeZone;o&&t!=null&&l.push(d.format("rangeUnderflow",{minValue:h.format(t.toDate(g))})),a&&r!=null&&l.push(d.format("rangeOverflow",{maxValue:h.format(r.toDate(g))})),s&&l.push(d.format("unavailableDate"))}return{isInvalid:u,validationErrors:l,validationDetails:{badInput:s,customError:!1,patternMismatch:!1,rangeOverflow:a,rangeUnderflow:o,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!u}}}const N9e={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"},L9e={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"};function zE(e,t){e={...t.shouldForceLeadingZeros?L9e:N9e,...e};let n=t.granularity||"minute",i=Object.keys(e);var a;let o=i.indexOf((a=t.maxGranularity)!==null&&a!==void 0?a:"year");o<0&&(o=0);let s=i.indexOf(n);if(s<0&&(s=2),o>s)throw new Error("maxGranularity must be greater than granularity");let u=i.slice(o,s+1).reduce((c,f)=>(c[f]=e[f],c),{});return t.hourCycle!=null&&(u.hour12=t.hourCycle===12),u.timeZone=t.timeZone||"UTC",(n==="hour"||n==="minute"||n==="second")&&t.timeZone&&!t.hideTimeZone&&(u.timeZoneName="short"),t.showEra&&o===0&&(u.era="short"),u}function qme(e,t){if(e===null)return null;if(e)return ml(e,t)}function bx(e,t,r,n){if(e)return qme(e,r);let i=ml(zie(n??nw()).set({hour:0,minute:0,second:0,millisecond:0}),r);return t==="year"||t==="month"||t==="day"?jie(i):n?i:pg(i)}function z9e(e,t){let r=e&&"timeZone"in e?e.timeZone:void 0,n=e&&"minute"in e?"minute":"day";if(e&&t&&!(t in e))throw new Error("Invalid granularity "+t+" for value "+e.toString());let[i,a]=F.useState([n,r]);e&&(i[0]!==n||i[1]!==r)&&a([n,r]),t||(t=e?n:i[0]);let o=e?r:i[1];return[t,o]}const Q9e=new H0({ach:{year:"mwaka",month:"dwe",day:"nino"},af:{year:"jjjj",month:"mm",day:"dd"},am:{year:"ዓዓዓዓ",month:"ሚሜ",day:"ቀቀ"},an:{year:"aaaa",month:"mm",day:"dd"},ar:{year:"سنة",month:"شهر",day:"يوم"},ast:{year:"aaaa",month:"mm",day:"dd"},az:{year:"iiii",month:"aa",day:"gg"},be:{year:"гггг",month:"мм",day:"дд"},bg:{year:"гггг",month:"мм",day:"дд"},bn:{year:"yyyy",month:"মিমি",day:"dd"},br:{year:"bbbb",month:"mm",day:"dd"},bs:{year:"gggg",month:"mm",day:"dd"},ca:{year:"aaaa",month:"mm",day:"dd"},cak:{year:"jjjj",month:"ii",day:"q'q'"},ckb:{year:"ساڵ",month:"مانگ",day:"ڕۆژ"},cs:{year:"rrrr",month:"mm",day:"dd"},cy:{year:"bbbb",month:"mm",day:"dd"},da:{year:"åååå",month:"mm",day:"dd"},de:{year:"jjjj",month:"mm",day:"tt"},dsb:{year:"llll",month:"mm",day:"źź"},el:{year:"εεεε",month:"μμ",day:"ηη"},en:{year:"yyyy",month:"mm",day:"dd"},eo:{year:"jjjj",month:"mm",day:"tt"},es:{year:"aaaa",month:"mm",day:"dd"},et:{year:"aaaa",month:"kk",day:"pp"},eu:{year:"uuuu",month:"hh",day:"ee"},fa:{year:"سال",month:"ماه",day:"روز"},ff:{year:"hhhh",month:"ll",day:"ññ"},fi:{year:"vvvv",month:"kk",day:"pp"},fr:{year:"aaaa",month:"mm",day:"jj"},fy:{year:"jjjj",month:"mm",day:"dd"},ga:{year:"bbbb",month:"mm",day:"ll"},gd:{year:"bbbb",month:"mm",day:"ll"},gl:{year:"aaaa",month:"mm",day:"dd"},he:{year:"שנה",month:"חודש",day:"יום"},hr:{year:"gggg",month:"mm",day:"dd"},hsb:{year:"llll",month:"mm",day:"dd"},hu:{year:"éééé",month:"hh",day:"nn"},ia:{year:"aaaa",month:"mm",day:"dd"},id:{year:"tttt",month:"bb",day:"hh"},it:{year:"aaaa",month:"mm",day:"gg"},ja:{year:"年",month:"月",day:"日"},ka:{year:"წწწწ",month:"თთ",day:"რრ"},kk:{year:"жжжж",month:"аа",day:"кк"},kn:{year:"ವವವವ",month:"ಮಿಮೀ",day:"ದಿದಿ"},ko:{year:"연도",month:"월",day:"일"},lb:{year:"jjjj",month:"mm",day:"dd"},lo:{year:"ປປປປ",month:"ດດ",day:"ວວ"},lt:{year:"mmmm",month:"mm",day:"dd"},lv:{year:"gggg",month:"mm",day:"dd"},meh:{year:"aaaa",month:"mm",day:"dd"},ml:{year:"വർഷം",month:"മാസം",day:"തീയതി"},ms:{year:"tttt",month:"mm",day:"hh"},nl:{year:"jjjj",month:"mm",day:"dd"},nn:{year:"åååå",month:"mm",day:"dd"},no:{year:"åååå",month:"mm",day:"dd"},oc:{year:"aaaa",month:"mm",day:"jj"},pl:{year:"rrrr",month:"mm",day:"dd"},pt:{year:"aaaa",month:"mm",day:"dd"},rm:{year:"oooo",month:"mm",day:"dd"},ro:{year:"aaaa",month:"ll",day:"zz"},ru:{year:"гггг",month:"мм",day:"дд"},sc:{year:"aaaa",month:"mm",day:"dd"},scn:{year:"aaaa",month:"mm",day:"jj"},sk:{year:"rrrr",month:"mm",day:"dd"},sl:{year:"llll",month:"mm",day:"dd"},sr:{year:"гггг",month:"мм",day:"дд"},sv:{year:"åååå",month:"mm",day:"dd"},szl:{year:"rrrr",month:"mm",day:"dd"},tg:{year:"сссс",month:"мм",day:"рр"},th:{year:"ปปปป",month:"ดด",day:"วว"},tr:{year:"yyyy",month:"aa",day:"gg"},uk:{year:"рррр",month:"мм",day:"дд"},"zh-CN":{year:"年",month:"月",day:"日"},"zh-TW":{year:"年",month:"月",day:"日"}},"en");function B9e(e,t,r){return e==="era"||e==="dayPeriod"?t:e==="year"||e==="month"||e==="day"?Q9e.getStringForLocale(e,r):"––"}const QE={year:!0,month:!0,day:!0,hour:!0,minute:!0,second:!0,dayPeriod:!0,era:!0},MK={year:5,month:2,day:7,hour:2,minute:15,second:15},q9e={dayperiod:"dayPeriod"};function wL(e){let{locale:t,createCalendar:r,hideTimeZone:n,isDisabled:i=!1,isReadOnly:a=!1,isRequired:o=!1,minValue:s,maxValue:u,isDateUnavailable:l}=e,c=e.value||e.defaultValue||e.placeholderValue||null,[f,d]=z9e(c,e.granularity),h=d||"UTC";if(c&&!(f in c))throw new Error("Invalid granularity "+f+" for value "+c.toString());let g=F.useMemo(()=>new J1(t),[t]),m=F.useMemo(()=>r(g.resolvedOptions().calendar),[r,g]);var v;let[y,O]=Ka(e.value,(v=e.defaultValue)!==null&&v!==void 0?v:null,e.onChange),x=F.useMemo(()=>{var pe;return(pe=qme(y,m))!==null&&pe!==void 0?pe:null},[y,m]),[C,w]=F.useState(()=>bx(e.placeholderValue,f,m,d)),E=x||C,T=m.identifier==="gregory"&&E.era==="BC",P=F.useMemo(()=>{var pe;return{granularity:f,maxGranularity:(pe=e.maxGranularity)!==null&&pe!==void 0?pe:"year",timeZone:d,hideTimeZone:n,hourCycle:e.hourCycle,showEra:T,shouldForceLeadingZeros:e.shouldForceLeadingZeros}},[e.maxGranularity,f,e.hourCycle,e.shouldForceLeadingZeros,d,n,T]),L=F.useMemo(()=>zE({},P),[P]),N=F.useMemo(()=>new J1(t,L),[t,L]),B=F.useMemo(()=>N.resolvedOptions(),[N]),j=F.useMemo(()=>N.formatToParts(new Date).filter(pe=>QE[pe.type]).reduce((pe,xe)=>(pe[xe.type]=!0,pe),{}),[N]),[A,H]=F.useState(()=>e.value||e.defaultValue?{...j}:{}),k=F.useRef(null),Q=F.useRef(m.identifier);F.useEffect(()=>{m.identifier!==Q.current&&(Q.current=m.identifier,w(pe=>Object.keys(A).length>0?ml(pe,m):bx(e.placeholderValue,f,m,d)))},[m,f,A,d,e.placeholderValue]),y&&Object.keys(A).length<Object.keys(j).length&&(A={...j},H(A)),y==null&&Object.keys(A).length===Object.keys(j).length&&(A={},H(A),w(bx(e.placeholderValue,f,m,d)));let V=x&&Object.keys(A).length>=Object.keys(j).length?x:C,I=pe=>{if(e.isDisabled||e.isReadOnly)return;let xe=Object.keys(A),Oe=Object.keys(j);pe==null?(O(null),w(bx(e.placeholderValue,f,m,d)),H({})):xe.length>=Oe.length||xe.length===Oe.length-1&&j.dayPeriod&&!A.dayPeriod&&k.current!=="dayPeriod"?(pe=ml(pe,(c==null?void 0:c.calendar)||new rf),O(pe)):w(pe),k.current=null},q=F.useMemo(()=>V.toDate(h),[V,h]),M=F.useMemo(()=>U9e(q,A,N,B,V,m,t,f),[q,A,N,B,V,m,t,f]);j.era&&A.year&&!A.era?(A.era=!0,H({...A})):!j.era&&A.era&&(delete A.era,H({...A}));let z=pe=>{A[pe]=!0,pe==="year"&&j.era&&(A.era=!0),H({...A})},G=(pe,xe)=>{if(A[pe])I(V9e(V,pe,xe,B));else{z(pe);let Oe=Object.keys(A),me=Object.keys(j);(Oe.length>=me.length||Oe.length===me.length-1&&j.dayPeriod&&!A.dayPeriod)&&I(V)}},K=F.useMemo(()=>M9e(y,s,u,l,P),[y,s,u,l,P]),te=vO({...e,value:y,builtinValidation:K}),ae=te.displayValidation.isInvalid,ie=e.validationState||(ae?"invalid":null);var Se;return{...te,value:x,dateValue:q,calendar:m,setValue:I,segments:M,dateFormatter:N,validationState:ie,isInvalid:ae,granularity:f,maxGranularity:(Se=e.maxGranularity)!==null&&Se!==void 0?Se:"year",isDisabled:i,isReadOnly:a,isRequired:o,increment(pe){G(pe,1)},decrement(pe){G(pe,-1)},incrementPage(pe){G(pe,MK[pe]||1)},decrementPage(pe){G(pe,-(MK[pe]||1))},setSegment(pe,xe){z(pe),I(j9e(V,pe,xe,B))},confirmPlaceholder(){if(e.isDisabled||e.isReadOnly)return;let pe=Object.keys(A),xe=Object.keys(j);pe.length===xe.length-1&&j.dayPeriod&&!A.dayPeriod&&(A={...j},H(A),I(V.copy()))},clearSegment(pe){delete A[pe],k.current=pe,H({...A});let xe=bx(e.placeholderValue,f,m,d),Oe=V;if(pe==="dayPeriod"&&"hour"in V&&"hour"in xe){let me=V.hour>=12,ne=xe.hour>=12;me&&!ne?Oe=V.set({hour:V.hour-12}):!me&&ne&&(Oe=V.set({hour:V.hour+12}))}else pe==="hour"&&"hour"in V&&V.hour>=12&&A.dayPeriod?Oe=V.set({hour:xe.hour+12}):pe in V&&(Oe=V.set({[pe]:xe[pe]}));O(null),I(Oe)},formatValue(pe){if(!x)return"";let xe=zE(pe,P);return new J1(t,xe).format(q)},getDateFormatter(pe,xe){let Oe={...P,...xe},me=zE({},Oe);return new J1(pe,me)}}}function U9e(e,t,r,n,i,a,o,s){let u=["hour","minute","second"],l=r.formatToParts(e),c=[];for(let f of l){let d=QE[f.type];f.type==="era"&&a.getEras().length===1&&(d=!1);let h=QE[f.type]&&!t[f.type],g=QE[f.type]?B9e(f.type,f.value,o):null,m={type:q9e[f.type]||f.type,text:h?g:f.value,...V3(i,f.type,n),isPlaceholder:h,placeholder:g,isEditable:d};f.type==="hour"?(c.push({type:"literal",text:"⁦",...V3(i,"literal",n),isPlaceholder:!1,placeholder:"",isEditable:!1}),c.push(m),f.type===s&&c.push({type:"literal",text:"⁩",...V3(i,"literal",n),isPlaceholder:!1,placeholder:"",isEditable:!1})):u.includes(f.type)&&f.type===s?(c.push(m),c.push({type:"literal",text:"⁩",...V3(i,"literal",n),isPlaceholder:!1,placeholder:"",isEditable:!1})):c.push(m)}return c}function V3(e,t,r){switch(t){case"era":{let n=e.calendar.getEras();return{value:n.indexOf(e.era),minValue:0,maxValue:n.length-1}}case"year":return{value:e.year,minValue:1,maxValue:e.calendar.getYearsInEra(e)};case"month":return{value:e.month,minValue:L$e(e),maxValue:e.calendar.getMonthsInYear(e)};case"day":return{value:e.day,minValue:z$e(e),maxValue:e.calendar.getDaysInMonth(e)}}if("hour"in e)switch(t){case"dayPeriod":return{value:e.hour>=12?12:0,minValue:0,maxValue:12};case"hour":if(r.hour12){let n=e.hour>=12;return{value:e.hour,minValue:n?12:0,maxValue:n?23:11}}return{value:e.hour,minValue:0,maxValue:23};case"minute":return{value:e.minute,minValue:0,maxValue:59};case"second":return{value:e.second,minValue:0,maxValue:59}}return{}}function V9e(e,t,r,n){switch(t){case"era":case"year":case"month":case"day":return e.cycle(t,r,{round:t==="year"})}if("hour"in e)switch(t){case"dayPeriod":{let i=e.hour,a=i>=12;return e.set({hour:a?i-12:i+12})}case"hour":case"minute":case"second":return e.cycle(t,r,{round:t!=="hour",hourCycle:n.hour12?12:24})}throw new Error("Unknown segment: "+t)}function j9e(e,t,r,n){switch(t){case"day":case"month":case"year":case"era":return e.set({[t]:r})}if("hour"in e&&typeof r=="number")switch(t){case"dayPeriod":{let i=e.hour,a=i>=12;return r>=12===a?e:e.set({hour:a?i-12:i+12})}case"hour":if(n.hour12){let a=e.hour>=12;!a&&r===12&&(r=0),a&&r<12&&(r+=12)}case"minute":case"second":return e.set({[t]:r})}throw new Error("Unknown segment: "+t)}function W9e(e){let{placeholderValue:t=new x$,minValue:r,maxValue:n,granularity:i,validate:a}=e;var o;let[s,u]=Ka(e.value,(o=e.defaultValue)!==null&&o!==void 0?o:null,e.onChange),l=s||t,c=l&&"day"in l?l:void 0,f=e.defaultValue&&"timeZone"in e.defaultValue?e.defaultValue.timeZone:void 0,d=F.useMemo(()=>{let x=l&&"timeZone"in l?l.timeZone:void 0;return(x||f)&&t?Wie(Ox(t),x||f):Ox(t)},[t,l,f]),h=F.useMemo(()=>Ox(r,c),[r,c]),g=F.useMemo(()=>Ox(n,c),[n,c]),m=F.useMemo(()=>s&&"day"in s?pj(s):s,[s]),v=F.useMemo(()=>s==null?null:Ox(s),[s]);return{...wL({...e,value:v,defaultValue:void 0,minValue:h,maxValue:g,onChange:x=>{u(c||f?x:x&&pj(x))},granularity:i||"minute",maxGranularity:"hour",placeholderValue:d??void 0,createCalendar:()=>new rf,validate:F.useCallback(()=>a==null?void 0:a(s),[a,s])}),timeValue:m}}function Ox(e,t=N$e(nw())){return e?"day"in e?e:pg(t,e):null}function Z9e(e){let[t,r]=Ka(e.isExpanded,e.defaultExpanded||!1,e.onExpandedChange);const n=F.useCallback(()=>{r(!0)},[r]),i=F.useCallback(()=>{r(!1)},[r]),a=F.useCallback(()=>{r(!t)},[r,t]);return{isExpanded:t,setExpanded:r,expand:n,collapse:i,toggle:a}}function K9e(e){let{allowsMultipleExpanded:t=!1,isDisabled:r=!1}=e,[n,i]=Ka(F.useMemo(()=>e.expandedKeys?new Set(e.expandedKeys):void 0,[e.expandedKeys]),F.useMemo(()=>e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,[e.defaultExpandedKeys]),e.onExpandedChange);return F.useEffect(()=>{!t&&n.size>1&&i(new Set([n.values().next().value]))}),{allowsMultipleExpanded:t,isDisabled:r,expandedKeys:n,setExpandedKeys:i,toggleKey(a){let o;t?(o=new Set(n),o.has(a)?o.delete(a):o.add(a)):o=new Set(n.has(a)?[]:[a]),i(o)}}}let H9e=Math.round(Math.random()*1e10),Y9e=0;function G9e(e){let t=F.useMemo(()=>e.name||`radio-group-${H9e}-${++Y9e}`,[e.name]);var r;let[n,i]=Ka(e.value,(r=e.defaultValue)!==null&&r!==void 0?r:null,e.onChange),[a,o]=F.useState(null),s=vO({...e,value:n}),u=c=>{!e.isReadOnly&&!e.isDisabled&&(i(c),s.commitValidation())},l=s.displayValidation.isInvalid;return{...s,name:t,selectedValue:n,setSelectedValue:u,lastFocusedValue:a,setLastFocusedValue:o,isDisabled:e.isDisabled||!1,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1,validationState:e.validationState||(l?"invalid":null),isInvalid:l}}function X9e(e){let[t,r]=Ka(NK(e.value),NK(e.defaultValue)||"",e.onChange);return{value:t,setValue:r}}function NK(e){if(e!=null)return e.toString()}function J9e(e){let t=dO(e),[r,n]=F.useState(null),i=SL({...e,onSelectionChange:u=>{e.onSelectionChange!=null&&e.onSelectionChange(u),t.close(),a.commitValidation()}}),a=vO({...e,value:i.selectedKey}),[o,s]=F.useState(!1);return{...a,...i,...t,focusStrategy:r,open(u=null){i.collection.size!==0&&(n(u),t.open())},toggle(u=null){i.collection.size!==0&&(n(u),t.toggle())},isFocused:o,setFocused:s}}function eMe(e){var t,r;let n=SL({...e,suppressTextValueWarning:!0,defaultSelectedKey:(r=(t=e.defaultSelectedKey)!==null&&t!==void 0?t:LK(e.collection,e.disabledKeys?new Set(e.disabledKeys):new Set))!==null&&r!==void 0?r:void 0}),{selectionManager:i,collection:a,selectedKey:o}=n,s=F.useRef(o);return F.useEffect(()=>{let u=o;e.selectedKey==null&&(i.isEmpty||u==null||!a.getItem(u))&&(u=LK(a,n.disabledKeys),u!=null&&i.setSelectedKeys([u])),(u!=null&&i.focusedKey==null||!i.isFocused&&u!==s.current)&&i.setFocusedKey(u),s.current=u}),{...n,isDisabled:e.isDisabled||!1}}function LK(e,t){let r=null;if(e){var n,i,a,o;for(r=e.getFirstKey();r!=null&&(t.has(r)||!((i=e.getItem(r))===null||i===void 0||(n=i.props)===null||n===void 0)&&n.isDisabled)&&r!==e.getLastKey();)r=e.getKeyAfter(r);r!=null&&(t.has(r)||!((o=e.getItem(r))===null||o===void 0||(a=o.props)===null||a===void 0)&&a.isDisabled)&&r===e.getLastKey()&&(r=e.getFirstKey())}return r}const tMe=1500,zK=500;let Ov={},rMe=0,xx=!1,o0=null,xv=null;function Ume(e={}){let{delay:t=tMe,closeDelay:r=zK}=e,{isOpen:n,open:i,close:a}=dO(e),o=F.useMemo(()=>`${++rMe}`,[]),s=F.useRef(null),u=F.useRef(a),l=()=>{Ov[o]=d},c=()=>{for(let g in Ov)g!==o&&(Ov[g](!0),delete Ov[g])},f=()=>{s.current&&clearTimeout(s.current),s.current=null,c(),l(),xx=!0,i(),o0&&(clearTimeout(o0),o0=null),xv&&(clearTimeout(xv),xv=null)},d=g=>{g||r<=0?(s.current&&clearTimeout(s.current),s.current=null,u.current()):s.current||(s.current=setTimeout(()=>{s.current=null,u.current()},r)),o0&&(clearTimeout(o0),o0=null),xx&&(xv&&clearTimeout(xv),xv=setTimeout(()=>{delete Ov[o],xv=null,xx=!1},Math.max(zK,r)))},h=()=>{c(),l(),!n&&!o0&&!xx?o0=setTimeout(()=>{o0=null,xx=!0,f()},t):n||f()};return F.useEffect(()=>{u.current=a},[a]),F.useEffect(()=>()=>{s.current&&clearTimeout(s.current),Ov[o]&&delete Ov[o]},[o]),{isOpen:n,open:g=>{!g&&t>0&&!s.current?h():f()},close:d}}const yp=F.createContext(null),Bht=F.forwardRef(function(t,r){[t,r]=Un(t,r,yp);let{validationErrors:n,validationBehavior:i="native",children:a,className:o,...s}=t;return $e.createElement("form",{noValidate:i!=="native",...s,ref:r,className:o||"react-aria-Form"},$e.createElement(yp.Provider,{value:{...t,validationBehavior:i}},$e.createElement(wfe.Provider,{value:n??{}},a)))}),Fy=F.createContext({}),nMe=F.forwardRef(function(t,r){[t,r]=Un(t,r,Fy);let{isDisabled:n,isInvalid:i,onHoverStart:a,onHoverChange:o,onHoverEnd:s,...u}=t,{hoverProps:l,isHovered:c}=Ru({onHoverStart:a,onHoverChange:o,onHoverEnd:s,isDisabled:n}),{isFocused:f,isFocusVisible:d,focusProps:h}=cu({within:!0});n??(n=!!t["aria-disabled"]&&t["aria-disabled"]!=="false"),i??(i=!!t["aria-invalid"]&&t["aria-invalid"]!=="false");let g=_n({...t,values:{isHovered:c,isFocusWithin:f,isFocusVisible:d,isDisabled:n,isInvalid:i},defaultClassName:"react-aria-Group"});var m,v;return $e.createElement("div",{...Qt(u,h,l),...g,ref:r,role:(m=t.role)!==null&&m!==void 0?m:"group",slot:(v=t.slot)!==null&&v!==void 0?v:void 0,"data-focus-within":f||void 0,"data-hovered":c||void 0,"data-focus-visible":d||void 0,"data-disabled":n||void 0,"data-invalid":i||void 0},g.children)}),iMe=F.createContext(null),qht=gO(function(t,r){[t,r]=Un(t,r,iMe);let{validationBehavior:n}=Jf(yp)||{};var i,a;let o=(a=(i=t.validationBehavior)!==null&&i!==void 0?i:n)!==null&&a!==void 0?a:"native",s=F.useRef(null),[u,l]=Un({},s,vp),[c,f]=ed(!t["aria-label"]&&!t["aria-labelledby"]),d=X9e({...t,validationBehavior:o}),{labelProps:h,inputProps:g,clearButtonProps:m,descriptionProps:v,errorMessageProps:y,...O}=c9e({...q0(t),label:f,validationBehavior:o},d,l),x=_n({...t,values:{isEmpty:d.value==="",isDisabled:t.isDisabled||!1,isInvalid:O.isInvalid||!1,state:d},defaultClassName:"react-aria-SearchField"}),C=Jr(t);return delete C.id,$e.createElement("div",{...C,...x,ref:r,slot:t.slot||void 0,"data-empty":d.value===""||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":O.isInvalid||void 0},$e.createElement(Na,{values:[[td,{...h,ref:c}],[vp,{...Qt(g,u),ref:l}],[J0,m],[rd,{slots:{description:v,errorMessage:y}}],[Fy,{isInvalid:O.isInvalid,isDisabled:t.isDisabled||!1}],[_p,O]]},x.children))}),Vme=F.createContext({});let aMe=e=>{let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,...i}=e;return i};const Uht=F.forwardRef(function(t,r){[t,r]=Un(t,r,Vme);let{hoverProps:n,isHovered:i}=Ru(t),{isFocused:a,isFocusVisible:o,focusProps:s}=cu({isTextInput:!0,autoFocus:t.autoFocus}),u=!!t["aria-invalid"]&&t["aria-invalid"]!=="false",l=_n({...t,values:{isHovered:i,isFocused:a,isFocusVisible:o,isDisabled:t.disabled||!1,isInvalid:u},defaultClassName:"react-aria-TextArea"});return $e.createElement("textarea",{...Qt(aMe(t),s,n),...l,ref:r,"data-focused":a||void 0,"data-disabled":t.disabled||void 0,"data-hovered":i||void 0,"data-focus-visible":o||void 0,"data-invalid":u||void 0})}),oMe=F.createContext(null),Vht=gO(function(t,r){[t,r]=Un(t,r,oMe);let{validationBehavior:n}=Jf(yp)||{};var i,a;let o=(a=(i=t.validationBehavior)!==null&&i!==void 0?i:n)!==null&&a!==void 0?a:"native",s=F.useRef(null),[u,l]=Un({},s,vp),[c,f]=ed(!t["aria-label"]&&!t["aria-labelledby"]),[d,h]=F.useState("input"),{labelProps:g,inputProps:m,descriptionProps:v,errorMessageProps:y,...O}=j$({...q0(t),inputElementType:d,label:f,validationBehavior:o},l),x=F.useCallback(E=>{l.current=E,E&&h(E instanceof HTMLTextAreaElement?"textarea":"input")},[l]),C=_n({...t,values:{isDisabled:t.isDisabled||!1,isInvalid:O.isInvalid,isReadOnly:t.isReadOnly||!1,isRequired:t.isRequired||!1},defaultClassName:"react-aria-TextField"}),w=Jr(t);return delete w.id,$e.createElement("div",{...w,...C,ref:r,slot:t.slot||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":O.isInvalid||void 0,"data-readonly":t.isReadOnly||void 0,"data-required":t.isRequired||void 0},$e.createElement(Na,{values:[[td,{...g,ref:c}],[vp,{...Qt(m,u),ref:x}],[Vme,{...m,ref:x}],[rd,{slots:{description:v,errorMessage:y}}],[_p,O]]},C.children))}),sMe=F.createContext(null),uMe=F.createContext(null),EL={CollectionRoot({collection:e,renderDropIndicator:t}){return QK(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:r}){return QK(e,t,r)}};function QK(e,t,r){return vfe({items:t?e.getChildren(t.key):e,dependencies:[r],children(n){var i;let a=n.render(n);if(!r||n.type!=="item")return a;let o=n.key,s=e.getKeyAfter(o);return $e.createElement($e.Fragment,null,r({type:"item",key:o,dropPosition:"before"}),a,(s==null||((i=e.getItem(s))===null||i===void 0?void 0:i.type)!=="item")&&r({type:"item",key:o,dropPosition:"after"}))}})}const Iy=F.createContext(EL);function jme(e){return F.useMemo(()=>e!=null?new Set([e]):null,[e])}var Wme={};Wme={colorSwatchPicker:"تغييرات الألوان",dropzoneLabel:"DropZone",selectPlaceholder:"حدد عنصرًا",tableResizer:"أداة تغيير الحجم"};var Zme={};Zme={colorSwatchPicker:"Цветови мостри",dropzoneLabel:"DropZone",selectPlaceholder:"Изберете предмет",tableResizer:"Преоразмерител"};var Kme={};Kme={colorSwatchPicker:"Vzorky barev",dropzoneLabel:"Místo pro přetažení",selectPlaceholder:"Vyberte položku",tableResizer:"Změna velikosti"};var Hme={};Hme={colorSwatchPicker:"Farveprøver",dropzoneLabel:"DropZone",selectPlaceholder:"Vælg et element",tableResizer:"Størrelsesændring"};var Yme={};Yme={colorSwatchPicker:"Farbfelder",dropzoneLabel:"Ablegebereich",selectPlaceholder:"Element wählen",tableResizer:"Größenanpassung"};var Gme={};Gme={colorSwatchPicker:"Χρωματικά δείγματα",dropzoneLabel:"DropZone",selectPlaceholder:"Επιλέξτε ένα αντικείμενο",tableResizer:"Αλλαγή μεγέθους"};var Xme={};Xme={selectPlaceholder:"Select an item",tableResizer:"Resizer",dropzoneLabel:"DropZone",colorSwatchPicker:"Color swatches"};var Jme={};Jme={colorSwatchPicker:"Muestras de colores",dropzoneLabel:"DropZone",selectPlaceholder:"Seleccionar un artículo",tableResizer:"Cambiador de tamaño"};var ege={};ege={colorSwatchPicker:"Värvinäidised",dropzoneLabel:"DropZone",selectPlaceholder:"Valige üksus",tableResizer:"Suuruse muutja"};var tge={};tge={colorSwatchPicker:"Värimallit",dropzoneLabel:"DropZone",selectPlaceholder:"Valitse kohde",tableResizer:"Koon muuttaja"};var rge={};rge={colorSwatchPicker:"Échantillons de couleurs",dropzoneLabel:"DropZone",selectPlaceholder:"Sélectionner un élément",tableResizer:"Redimensionneur"};var nge={};nge={colorSwatchPicker:"דוגמיות צבע",dropzoneLabel:"DropZone",selectPlaceholder:"בחר פריט",tableResizer:"שינוי גודל"};var ige={};ige={colorSwatchPicker:"Uzorci boja",dropzoneLabel:"Zona spuštanja",selectPlaceholder:"Odaberite stavku",tableResizer:"Promjena veličine"};var age={};age={colorSwatchPicker:"Színtárak",dropzoneLabel:"DropZone",selectPlaceholder:"Válasszon ki egy elemet",tableResizer:"Átméretező"};var oge={};oge={colorSwatchPicker:"Campioni di colore",dropzoneLabel:"Zona di rilascio",selectPlaceholder:"Seleziona un elemento",tableResizer:"Ridimensionamento"};var sge={};sge={colorSwatchPicker:"カラースウォッチ",dropzoneLabel:"ドロップゾーン",selectPlaceholder:"項目を選択",tableResizer:"サイズ変更ツール"};var uge={};uge={colorSwatchPicker:"색상 견본",dropzoneLabel:"드롭 영역",selectPlaceholder:"항목 선택",tableResizer:"크기 조정기"};var lge={};lge={colorSwatchPicker:"Spalvų pavyzdžiai",dropzoneLabel:"„DropZone“",selectPlaceholder:"Pasirinkite elementą",tableResizer:"Dydžio keitiklis"};var cge={};cge={colorSwatchPicker:"Krāsu paraugi",dropzoneLabel:"DropZone",selectPlaceholder:"Izvēlēties vienumu",tableResizer:"Izmēra mainītājs"};var fge={};fge={colorSwatchPicker:"Fargekart",dropzoneLabel:"Droppsone",selectPlaceholder:"Velg et element",tableResizer:"Størrelsesendrer"};var dge={};dge={colorSwatchPicker:"kleurstalen",dropzoneLabel:"DropZone",selectPlaceholder:"Selecteer een item",tableResizer:"Resizer"};var hge={};hge={colorSwatchPicker:"Próbki kolorów",dropzoneLabel:"Strefa upuszczania",selectPlaceholder:"Wybierz element",tableResizer:"Zmiana rozmiaru"};var pge={};pge={colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"};var mge={};mge={colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"};var gge={};gge={colorSwatchPicker:"Specimene de culoare",dropzoneLabel:"Zonă de plasare",selectPlaceholder:"Selectați un element",tableResizer:"Instrument de redimensionare"};var vge={};vge={colorSwatchPicker:"Цветовые образцы",dropzoneLabel:"DropZone",selectPlaceholder:"Выберите элемент",tableResizer:"Средство изменения размера"};var yge={};yge={colorSwatchPicker:"Vzorkovníky farieb",dropzoneLabel:"DropZone",selectPlaceholder:"Vyberte položku",tableResizer:"Nástroj na zmenu veľkosti"};var bge={};bge={colorSwatchPicker:"Barvne palete",dropzoneLabel:"DropZone",selectPlaceholder:"Izberite element",tableResizer:"Spreminjanje velikosti"};var Oge={};Oge={colorSwatchPicker:"Uzorci boje",dropzoneLabel:"DropZone",selectPlaceholder:"Izaberite stavku",tableResizer:"Promena veličine"};var xge={};xge={colorSwatchPicker:"Färgrutor",dropzoneLabel:"DropZone",selectPlaceholder:"Välj en artikel",tableResizer:"Storleksändrare"};var _ge={};_ge={colorSwatchPicker:"Renk örnekleri",dropzoneLabel:"Bırakma Bölgesi",selectPlaceholder:"Bir öğe seçin",tableResizer:"Yeniden boyutlandırıcı"};var Sge={};Sge={colorSwatchPicker:"Зразки кольорів",dropzoneLabel:"DropZone",selectPlaceholder:"Виберіть елемент",tableResizer:"Засіб змінення розміру"};var wge={};wge={colorSwatchPicker:"颜色色板",dropzoneLabel:"放置区域",selectPlaceholder:"选择一个项目",tableResizer:"尺寸调整器"};var Ege={};Ege={colorSwatchPicker:"色票",dropzoneLabel:"放置區",selectPlaceholder:"選取項目",tableResizer:"大小調整器"};var $ge={};$ge={"ar-AE":Wme,"bg-BG":Zme,"cs-CZ":Kme,"da-DK":Hme,"de-DE":Yme,"el-GR":Gme,"en-US":Xme,"es-ES":Jme,"et-EE":ege,"fi-FI":tge,"fr-FR":rge,"he-IL":nge,"hr-HR":ige,"hu-HU":age,"it-IT":oge,"ja-JP":sge,"ko-KR":uge,"lt-LT":lge,"lv-LV":cge,"nb-NO":fge,"nl-NL":dge,"pl-PL":hge,"pt-BR":pge,"pt-PT":mge,"ro-RO":gge,"ru-RU":vge,"sk-SK":yge,"sl-SI":bge,"sr-SP":Oge,"sv-SE":xge,"tr-TR":_ge,"uk-UA":Sge,"zh-CN":wge,"zh-TW":Ege};const Z$=F.createContext({}),Cge=F.createContext(null),lMe=F.forwardRef(function(t,r){let{render:n}=F.useContext(Cge);return $e.createElement($e.Fragment,null,n(t,r))});function Pge(e,t){var r;let n=e==null?void 0:e.renderDropIndicator,i=e==null||(r=e.isVirtualDragging)===null||r===void 0?void 0:r.call(e),a=F.useCallback(o=>{if(i||t!=null&&t.isDropTarget(o))return n?n(o):$e.createElement(lMe,{target:o})},[t==null?void 0:t.target,i,n]);return e!=null&&e.useDropIndicator?a:void 0}function cMe(e,t,r){var n,i;let a=e.focusedKey,o=null;if(!(t==null||(n=t.isVirtualDragging)===null||n===void 0)&&n.call(t)&&(r==null||(i=r.target)===null||i===void 0?void 0:i.type)==="item"){o=r.target.key;var s;r.target.dropPosition==="after"&&(o=(s=r.collection.getKeyAfter(o))!==null&&s!==void 0?s:o)}return F.useMemo(()=>new Set([a,o].filter(u=>u!=null)),[a,o])}const fMe=F.createContext({}),dMe=F.createContext({}),fw=F.createContext(null),Sp=F.createContext(null),jht=F.forwardRef(function(t,r){[t,r]=Un(t,r,fw);let n=F.useContext(Sp);return n?$e.createElement(Dge,{state:n,props:t,listBoxRef:r}):$e.createElement(lw,{content:$e.createElement(gL,t)},i=>$e.createElement(hMe,{props:t,listBoxRef:r,collection:i}))});function hMe({props:e,listBoxRef:t,collection:r}){e={...e,collection:r,children:null,items:null};let{layoutDelegate:n}=F.useContext(Iy),i=_L({...e,layoutDelegate:n});return $e.createElement(Dge,{state:i,props:e,listBoxRef:t})}function Dge({state:e,props:t,listBoxRef:r}){let{filter:n,collectionProps:i,collectionRef:a}=F.useContext(sMe)||{};t=F.useMemo(()=>i?{...t,...i}:t,[t,i]);let{dragAndDropHooks:o,layout:s="stack",orientation:u="vertical"}=t;r=yl(F.useMemo(()=>uO(r,a!==void 0?a:null),[a,r]));let l=R9e(e,n),{collection:c,selectionManager:f}=l,d=!!(o!=null&&o.useDraggableCollectionState),h=!!(o!=null&&o.useDroppableCollectionState),{direction:g}=Ha(),{disabledBehavior:m,disabledKeys:v}=f,y=A$({usage:"search",sensitivity:"base"}),{isVirtualized:O,layoutDelegate:x,dropTargetDelegate:C,CollectionRoot:w}=F.useContext(Iy),E=F.useMemo(()=>t.keyboardDelegate||new aw({collection:c,collator:y,ref:r,disabledKeys:v,disabledBehavior:m,layout:s,orientation:u,direction:g,layoutDelegate:x}),[c,y,r,m,v,u,g,t.keyboardDelegate,s,x]),{listBoxProps:T}=LIe({...t,shouldSelectOnPressUp:d||t.shouldSelectOnPressUp,keyboardDelegate:E,isVirtualized:O},l,r),P=F.useRef(d),L=F.useRef(h);F.useEffect(()=>{P.current!==d&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),L.current!==h&&console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.")},[d,h]);let N,B,j,A=!1,H=null,k=F.useRef(null);if(d&&o){N=o.useDraggableCollectionState({collection:c,selectionManager:f,preview:o.renderDragPreview?k:void 0}),o.useDraggableCollection({},N,r);let G=o.DragPreview;H=o.renderDragPreview?$e.createElement(G,{ref:k},o.renderDragPreview):null}if(h&&o){B=o.useDroppableCollectionState({collection:c,selectionManager:f});let G=o.dropTargetDelegate||C||new o.ListDropTargetDelegate(c,r,{orientation:u,layout:s,direction:g});j=o.useDroppableCollection({keyboardDelegate:E,dropTargetDelegate:G},B,r),A=B.isDropTarget({type:"root"})}let{focusProps:Q,isFocused:V,isFocusVisible:I}=cu(),q={isDropTarget:A,isEmpty:l.collection.size===0,isFocused:V,isFocusVisible:I,layout:t.layout||"stack",state:l},M=_n({className:t.className,style:t.style,defaultClassName:"react-aria-ListBox",values:q}),z=null;return l.collection.size===0&&t.renderEmptyState&&(z=$e.createElement("div",{role:"option",style:{display:"contents"}},t.renderEmptyState(q))),$e.createElement(wue,null,$e.createElement("div",{...Jr(t),...Qt(T,Q,j==null?void 0:j.collectionProps),...M,ref:r,slot:t.slot||void 0,onScroll:t.onScroll,"data-drop-target":A||void 0,"data-empty":l.collection.size===0||void 0,"data-focused":V||void 0,"data-focus-visible":I||void 0,"data-layout":t.layout||"stack","data-orientation":t.orientation||"vertical"},$e.createElement(Na,{values:[[fw,t],[Sp,l],[Z$,{dragAndDropHooks:o,dragState:N,dropState:B}],[dMe,{elementType:"div"}],[Cge,{render:mMe}],[uMe,{name:"ListBoxSection",render:pMe}]]},$e.createElement(w,{collection:c,scrollRef:r,persistedKeys:cMe(f,o,B),renderDropIndicator:Pge(o,B)})),z,H))}function pMe(e,t,r,n="react-aria-ListBoxSection"){let i=F.useContext(Sp),{dragAndDropHooks:a,dropState:o}=F.useContext(Z$),{CollectionBranch:s}=F.useContext(Iy),[u,l]=ed();var c;let{headingProps:f,groupProps:d}=QIe({heading:l,"aria-label":(c=e["aria-label"])!==null&&c!==void 0?c:void 0}),h=_n({defaultClassName:n,className:e.className,style:e.style,values:{}});return $e.createElement("section",{...Jr(e),...d,...h,ref:t},$e.createElement(fMe.Provider,{value:{...f,ref:u}},$e.createElement(s,{collection:i.collection,parent:r,renderDropIndicator:Pge(a,o)})))}const Wht=mL("item",function(t,r,n){let i=yl(r),a=F.useContext(Sp),{dragAndDropHooks:o,dragState:s,dropState:u}=F.useContext(Z$),{optionProps:l,labelProps:c,descriptionProps:f,...d}=zIe({key:n.key,"aria-label":t==null?void 0:t["aria-label"]},a,i),{hoverProps:h,isHovered:g}=Ru({isDisabled:!d.allowsSelection&&!d.hasAction,onHoverStart:n.props.onHoverStart,onHoverChange:n.props.onHoverChange,onHoverEnd:n.props.onHoverEnd}),m=null;s&&o&&(m=o.useDraggableItem({key:n.key},s));let v=null;u&&o&&(v=o.useDroppableItem({target:{type:"item",key:n.key,dropPosition:"on"}},u,i));let y=s&&s.isDragging(n.key),O=_n({...t,id:void 0,children:t.children,defaultClassName:"react-aria-ListBoxItem",values:{...d,isHovered:g,selectionMode:a.selectionManager.selectionMode,selectionBehavior:a.selectionManager.selectionBehavior,allowsDragging:!!s,isDragging:y,isDropTarget:v==null?void 0:v.isDropTarget}});F.useEffect(()=>{n.textValue||console.warn("A `textValue` prop is required for <ListBoxItem> elements with non-plain text children in order to support accessibility features such as type to select.")},[n.textValue]);let x=t.href?"a":"div";return $e.createElement(x,{...Qt(l,h,m==null?void 0:m.dragProps,v==null?void 0:v.dropProps),...O,ref:i,"data-allows-dragging":!!s||void 0,"data-selected":d.isSelected||void 0,"data-disabled":d.isDisabled||void 0,"data-hovered":g||void 0,"data-focused":d.isFocused||void 0,"data-focus-visible":d.isFocusVisible||void 0,"data-pressed":d.isPressed||void 0,"data-dragging":y||void 0,"data-drop-target":(v==null?void 0:v.isDropTarget)||void 0,"data-selection-mode":a.selectionManager.selectionMode==="none"?void 0:a.selectionManager.selectionMode},$e.createElement(Na,{values:[[rd,{slots:{[xS]:c,label:c,description:f}}]]},O.children))});function mMe(e,t){t=yl(t);let{dragAndDropHooks:r,dropState:n}=F.useContext(Z$),{dropIndicatorProps:i,isHidden:a,isDropTarget:o}=r.useDropIndicator(e,n,t);return a?null:$e.createElement(vMe,{...e,dropIndicatorProps:i,isDropTarget:o,ref:t})}function gMe(e,t){let{dropIndicatorProps:r,isDropTarget:n,...i}=e,a=_n({...i,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:n}});return $e.createElement("div",{...r,...a,role:"option",ref:t,"data-drop-target":n||void 0})}const vMe=F.forwardRef(gMe),yMe=F.createContext(null),K$=F.createContext(null),$L=F.createContext(null),Rge=F.createContext(null),Zht=F.forwardRef(function(t,r){[t,r]=Un(t,r,yMe);let n=F.useRef(null),i=qI(t.formatOptions),a=DIe({...t,numberFormatter:i}),[o,s]=ed(!t["aria-label"]&&!t["aria-labelledby"]),{groupProps:u,trackProps:l,labelProps:c,outputProps:f}=kIe({...t,label:s},a,n),d=_n({...t,values:{orientation:a.orientation,isDisabled:a.isDisabled,state:a},defaultClassName:"react-aria-Slider"}),h=Jr(t);return delete h.id,$e.createElement(Na,{values:[[K$,a],[$L,{...l,ref:n}],[Rge,f],[td,{...c,ref:o}]]},$e.createElement("div",{...h,...u,...d,ref:r,slot:t.slot||void 0,"data-orientation":a.orientation,"data-disabled":a.isDisabled||void 0}))}),Kht=F.forwardRef(function(t,r){[t,r]=Un(t,r,Rge);let{children:n,style:i,className:a,...o}=t,s=F.useContext(K$),u=_n({className:a,style:i,children:n,defaultChildren:s.getThumbValueLabel(0),defaultClassName:"react-aria-SliderOutput",values:{orientation:s.orientation,isDisabled:s.isDisabled,state:s}});return $e.createElement("output",{...o,...u,ref:r,"data-orientation":s.orientation||void 0,"data-disabled":s.isDisabled||void 0})}),Hht=F.forwardRef(function(t,r){[t,r]=Un(t,r,$L);let n=F.useContext(K$),{onHoverStart:i,onHoverEnd:a,onHoverChange:o,...s}=t,{hoverProps:u,isHovered:l}=Ru({onHoverStart:i,onHoverEnd:a,onHoverChange:o}),c=_n({...t,defaultClassName:"react-aria-SliderTrack",values:{orientation:n.orientation,isDisabled:n.isDisabled,isHovered:l,state:n}});return $e.createElement("div",{...Qt(s,u),...c,ref:r,"data-hovered":l||void 0,"data-orientation":n.orientation||void 0,"data-disabled":n.isDisabled||void 0})}),Yht=F.forwardRef(function(t,r){let{inputRef:n=null}=t,i=F.useContext(K$),{ref:a}=Jf($L),{index:o=0}=t,s=F.useRef(null),u=n||s,[l,c]=ed(!t["aria-label"]&&!t["aria-labelledby"]),{thumbProps:f,inputProps:d,labelProps:h,isDragging:g,isFocused:m,isDisabled:v}=TIe({...t,index:o,trackRef:a,inputRef:u,label:c},i),{focusProps:y,isFocusVisible:O}=cu(),{hoverProps:x,isHovered:C}=Ru(t),w=_n({...t,defaultClassName:"react-aria-SliderThumb",values:{state:i,isHovered:C,isDragging:g,isFocused:m,isFocusVisible:O,isDisabled:v}}),E=Jr(t);return delete E.id,$e.createElement("div",{...Qt(E,f,x),...w,ref:r,style:{...f.style,...w.style},"data-hovered":C||void 0,"data-dragging":g||void 0,"data-focused":m||void 0,"data-focus-visible":O||void 0,"data-disabled":v||void 0},$e.createElement(VN,null,$e.createElement("input",{ref:u,...Qt(d,y)})),$e.createElement(Na,{values:[[td,{...h,ref:l}]]},w.children))}),CL=F.createContext({placement:"bottom"}),Ght=F.forwardRef(function(t,r){[t,r]=Un(t,r,CL);let n=t.placement,i={position:"absolute",transform:n==="top"||n==="bottom"?"translateX(-50%)":"translateY(-50%)"};n!=null&&(i[n]="100%");let a=_n({...t,defaultClassName:"react-aria-OverlayArrow",values:{placement:n}});return a.style&&Object.keys(a.style).forEach(o=>a.style[o]===void 0&&delete a.style[o]),$e.createElement("div",{...t,...a,style:{...i,...a.style},ref:r,"data-placement":n})}),H$=F.createContext(null),BK=F.createContext(null),Xht=F.forwardRef(function(t,r){[t,r]=Un(t,r,H$);let n=F.useContext(Qg),i=dO(t),a=t.isOpen!=null||t.defaultOpen!=null||!n?i:n,o=x2(r,a.isOpen)||t.isExiting||!1,s=nIe(),{direction:u}=Ha();if(s){let l=t.children;return typeof l=="function"&&(l=l({trigger:t.trigger||null,placement:"bottom",isEntering:!1,isExiting:!1,defaultChildren:null})),$e.createElement($e.Fragment,null,l)}return a&&!a.isOpen&&!o?null:$e.createElement(bMe,{...t,triggerRef:t.triggerRef,state:a,popoverRef:r,isExiting:o,dir:u})});function bMe({state:e,isExiting:t,UNSTABLE_portalContainer:r,...n}){let i=F.useRef(null),[a,o]=F.useState(0),s=F.useRef(null),u=F.useContext(BK),l=u&&n.trigger==="SubmenuTrigger";Nn(()=>{i.current&&e.isOpen&&o(i.current.getBoundingClientRect().width)},[e.isOpen,i]);var c;let{popoverProps:f,underlayProps:d,arrowProps:h,placement:g}=i5e({...n,offset:(c=n.offset)!==null&&c!==void 0?c:8,arrowSize:a,groupRef:l?u:s},e),m=n.popoverRef,v=R$(m,!!g)||n.isEntering||!1,y=_n({...n,defaultClassName:"react-aria-Popover",values:{trigger:n.trigger||null,placement:g,isEntering:v,isExiting:t}}),O=!n.isNonModal||n.trigger==="SubmenuTrigger",[x,C]=F.useState(!1);Nn(()=>{m.current&&C(O&&!m.current.querySelector("[role=dialog]"))},[m,O]),F.useEffect(()=>{x&&m.current&&!m.current.contains(document.activeElement)&&cl(m.current)},[x,m]);let w={...f.style,...y.style},E=$e.createElement("div",{...Qt(Jr(n),f),...y,role:x?"dialog":void 0,tabIndex:x?-1:void 0,"aria-label":n["aria-label"],"aria-labelledby":n["aria-labelledby"],ref:m,slot:n.slot||void 0,style:w,dir:n.dir,"data-trigger":n.trigger,"data-placement":g,"data-entering":v||void 0,"data-exiting":t||void 0},!n.isNonModal&&$e.createElement(HI,{onDismiss:e.close}),$e.createElement(CL.Provider,{value:{...h,placement:g,ref:i}},y.children),$e.createElement(HI,{onDismiss:e.close}));if(!l)return $e.createElement(YI,{...n,shouldContainFocus:x,isExiting:t,portalContainer:r},!n.isNonModal&&e.isOpen&&$e.createElement("div",{"data-testid":"underlay",...d,style:{position:"fixed",inset:0}}),$e.createElement("div",{ref:s,style:{display:"contents"}},$e.createElement(BK.Provider,{value:s},E)));var T;return $e.createElement(YI,{...n,shouldContainFocus:x,isExiting:t,portalContainer:(T=r??(u==null?void 0:u.current))!==null&&T!==void 0?T:void 0},E)}const OMe=F.createContext(null),kge=F.createContext(null),Qg=F.createContext(null);function Jht(e){let t=y5e(e),r=F.useRef(null),{triggerProps:n,overlayProps:i}=kue({type:"dialog"},t,r);return n.id=Bi(),i["aria-labelledby"]=n.id,$e.createElement(Na,{values:[[Qg,t],[OMe,t],[kge,i],[H$,{trigger:"DialogTrigger",triggerRef:r,"aria-labelledby":i["aria-labelledby"]}]]},$e.createElement(hke,{...n,ref:r,isPressed:t.isOpen},e.children))}const ept=F.forwardRef(function(t,r){let n=t["aria-labelledby"];[t,r]=Un(t,r,kge);let{dialogProps:i,titleProps:a}=XIe({...t,"aria-labelledby":n},r),o=F.useContext(Qg);!i["aria-label"]&&!i["aria-labelledby"]&&(t["aria-labelledby"]?i["aria-labelledby"]=t["aria-labelledby"]:console.warn('If a Dialog does not contain a <Heading slot="title">, it must have an aria-label or aria-labelledby attribute for accessibility.'));let s=_n({defaultClassName:"react-aria-Dialog",className:t.className,style:t.style,children:t.children,values:{close:(o==null?void 0:o.close)||(()=>{})}});return $e.createElement("section",{...Jr(t),...i,...s,ref:r,slot:t.slot||void 0},$e.createElement(Na,{values:[[mfe,{slots:{[xS]:{},title:{...a,level:2}}}],[J0,{slots:{[xS]:{},close:{onPress:()=>o==null?void 0:o.close()}}}]]},s.children))}),xMe=F.createContext(null),_Me=F.createContext(null),tpt=F.forwardRef(function(t,r){[t,r]=Un(t,r,xMe);let{children:n,isDisabled:i=!1,isInvalid:a=!1,isRequired:o=!1}=t,s=F.useMemo(()=>{var u;return $e.createElement(fw.Provider,{value:{items:(u=t.items)!==null&&u!==void 0?u:t.defaultItems}},typeof n=="function"?n({isOpen:!1,isDisabled:i,isInvalid:a,isRequired:o,defaultChildren:null}):n)},[n,i,a,o,t.items,t.defaultItems]);return $e.createElement(lw,{content:s},u=>$e.createElement(SMe,{props:t,collection:u,comboBoxRef:r}))});function SMe({props:e,collection:t,comboBoxRef:r}){let{name:n,formValue:i="key",allowsCustomValue:a}=e;a&&(i="text");let{validationBehavior:o}=Jf(yp)||{};var s,u;let l=(u=(s=e.validationBehavior)!==null&&s!==void 0?s:o)!==null&&u!==void 0?u:"native",{contains:c}=bue({sensitivity:"base"}),f=k9e({defaultFilter:e.defaultFilter||c,...e,items:e.items,children:void 0,collection:t,validationBehavior:l}),d=F.useRef(null),h=F.useRef(null),g=F.useRef(null),m=F.useRef(null),[v,y]=ed(!e["aria-label"]&&!e["aria-labelledby"]),{buttonProps:O,inputProps:x,listBoxProps:C,labelProps:w,descriptionProps:E,errorMessageProps:T,...P}=qIe({...q0(e),label:y,inputRef:h,buttonRef:d,listBoxRef:g,popoverRef:m,name:i==="text"?n:void 0,validationBehavior:l},f),[L,N]=F.useState(null),B=F.useCallback(()=>{if(h.current){var Q;let V=(Q=d.current)===null||Q===void 0?void 0:Q.getBoundingClientRect(),I=h.current.getBoundingClientRect(),q=V?Math.min(V.left,I.left):I.left,M=V?Math.max(V.right,I.right):I.right;N(M-q+"px")}},[d,h,N]);O2({ref:h,onResize:B});let j=F.useMemo(()=>({isOpen:f.isOpen,isDisabled:e.isDisabled||!1,isInvalid:P.isInvalid||!1,isRequired:e.isRequired||!1}),[f.isOpen,e.isDisabled,P.isInvalid,e.isRequired]),A=_n({...e,values:j,defaultClassName:"react-aria-ComboBox"}),H=Jr(e);delete H.id;var k;return $e.createElement(Na,{values:[[_Me,f],[td,{...w,ref:v}],[J0,{...O,ref:d,isPressed:f.isOpen}],[vp,{...x,ref:h}],[Qg,f],[H$,{ref:m,triggerRef:h,scrollRef:g,placement:"bottom start",isNonModal:!0,trigger:"ComboBox",style:{"--trigger-width":L}}],[fw,{...C,ref:g}],[Sp,f],[rd,{slots:{description:E,errorMessage:T}}],[Fy,{isInvalid:P.isInvalid,isDisabled:e.isDisabled||!1}],[_p,P]]},$e.createElement("div",{...H,...A,ref:r,slot:e.slot||void 0,"data-focused":f.isFocused||void 0,"data-open":f.isOpen||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":P.isInvalid||void 0,"data-required":e.isRequired||void 0}),n&&i==="key"&&$e.createElement("input",{type:"hidden",name:n,value:(k=f.selectedKey)!==null&&k!==void 0?k:""}))}const Tge=F.createContext(null),wMe=F.createContext(null),dw=F.createContext(null),Y$=F.createContext(null),rpt=F.forwardRef(function(t,r){[t,r]=Un(t,r,Tge);let{validationBehavior:n}=Jf(yp)||{};var i,a;let o=(a=(i=t.validationBehavior)!==null&&i!==void 0?i:n)!==null&&a!==void 0?a:"native",{locale:s}=Ha(),u=wL({...t,locale:s,createCalendar:fae,validationBehavior:o}),l=F.useRef(null),[c,f]=ed(!t["aria-label"]&&!t["aria-labelledby"]),d=F.useRef(null),{labelProps:h,fieldProps:g,inputProps:m,descriptionProps:v,errorMessageProps:y,...O}=bL({...q0(t),label:f,inputRef:d,validationBehavior:o},u,l),x=_n({...q0(t),values:{state:u,isInvalid:u.isInvalid,isDisabled:u.isDisabled},defaultClassName:"react-aria-DateField"}),C=Jr(t);return delete C.id,$e.createElement(Na,{values:[[dw,u],[Fy,{...g,ref:l,isInvalid:u.isInvalid}],[vp,{...m,ref:d}],[td,{...h,ref:c,elementType:"span"}],[rd,{slots:{description:v,errorMessage:y}}],[_p,O]]},$e.createElement("div",{...C,...x,ref:r,slot:t.slot||void 0,"data-invalid":u.isInvalid||void 0}))}),npt=F.forwardRef(function(t,r){[t,r]=Un(t,r,wMe);let{validationBehavior:n}=Jf(yp)||{};var i,a;let o=(a=(i=t.validationBehavior)!==null&&i!==void 0?i:n)!==null&&a!==void 0?a:"native",{locale:s}=Ha(),u=W9e({...t,locale:s,validationBehavior:o}),l=F.useRef(null),[c,f]=ed(!t["aria-label"]&&!t["aria-labelledby"]),d=F.useRef(null),{labelProps:h,fieldProps:g,inputProps:m,descriptionProps:v,errorMessageProps:y,...O}=WIe({...q0(t),label:f,inputRef:d,validationBehavior:o},u,l),x=_n({...t,values:{state:u,isInvalid:u.isInvalid,isDisabled:u.isDisabled},defaultClassName:"react-aria-TimeField"}),C=Jr(t);return delete C.id,$e.createElement(Na,{values:[[Y$,u],[Fy,{...g,ref:l,isInvalid:u.isInvalid}],[vp,{...m,ref:d}],[td,{...h,ref:c,elementType:"span"}],[rd,{slots:{description:v,errorMessage:y}}],[_p,O]]},$e.createElement("div",{...C,...x,ref:r,slot:t.slot||void 0,"data-invalid":u.isInvalid||void 0}))}),ipt=F.forwardRef(function(t,r){let n=F.useContext(dw),i=F.useContext(Y$);return n||i?$e.createElement(Age,{...t,ref:r}):$e.createElement(EMe,{...t,ref:r})}),EMe=F.forwardRef((e,t)=>{let[r,n]=Un({slot:e.slot},t,Tge),{locale:i}=Ha(),a=wL({...r,locale:i,createCalendar:fae}),o=F.useRef(null),{fieldProps:s,inputProps:u}=bL({...r,inputRef:o},a,n);return $e.createElement(Na,{values:[[dw,a],[vp,{...u,ref:o}],[Fy,{...s,ref:n,isInvalid:a.isInvalid}]]},$e.createElement(Age,e))}),Age=F.forwardRef((e,t)=>{let{className:r,children:n}=e,i=F.useContext(dw),a=F.useContext(Y$),o=i??a;return $e.createElement($e.Fragment,null,$e.createElement(nMe,{...e,ref:t,slot:e.slot||void 0,className:r??"react-aria-DateInput",isInvalid:o.isInvalid},o.segments.map((s,u)=>F.cloneElement(n(s),{key:u}))),$e.createElement(w9e,null))}),apt=F.forwardRef(function({segment:t,...r},n){let i=F.useContext(dw),a=F.useContext(Y$),o=i??a,s=yl(n),{segmentProps:u}=YIe(t,o,s),{focusProps:l,isFocused:c,isFocusVisible:f}=cu(),{hoverProps:d,isHovered:h}=Ru({...r,isDisabled:o.isDisabled||t.type==="literal"}),g=_n({...r,values:{...t,isReadOnly:!t.isEditable,isInvalid:o.isInvalid,isDisabled:o.isDisabled,isHovered:h,isFocused:c,isFocusVisible:f},defaultChildren:t.text,defaultClassName:"react-aria-DateSegment"});return $e.createElement("span",{...Qt(Jr(r),u,l,d),...g,style:u.style,ref:s,"data-placeholder":t.isPlaceholder||void 0,"data-invalid":o.isInvalid||void 0,"data-readonly":!t.isEditable||void 0,"data-disabled":o.isDisabled||void 0,"data-type":t.type,"data-hovered":h||void 0,"data-focused":c||void 0,"data-focus-visible":f||void 0})}),Fge=F.createContext(null),opt=F.forwardRef(function(t,r){let n=K9e(t),i=_n({...t,defaultClassName:"react-aria-DisclosureGroup",values:{isDisabled:n.isDisabled,state:n}}),a=Jr(t);return $e.createElement("div",{...a,...i,ref:r,"data-disabled":t.isDisabled||void 0},$e.createElement(Fge.Provider,{value:n},i.children))}),$Me=F.createContext(null),CMe=F.createContext(null),Ige=F.createContext(null),spt=F.forwardRef(function(t,r){[t,r]=Un(t,r,$Me);let n=F.useContext(Fge),{id:i,...a}=t,o=Bi();i||(i=o);let s=n?n.expandedKeys.has(i):t.isExpanded,u=Z9e({...t,isExpanded:s,onExpandedChange(y){var O;n&&n.toggleKey(i),(O=t.onExpandedChange)===null||O===void 0||O.call(t,y)}}),l=$e.useRef(null),c=t.isDisabled||(n==null?void 0:n.isDisabled)||!1,{buttonProps:f,panelProps:d}=JIe({...t,isExpanded:s,isDisabled:c},u,l),{isFocusVisible:h,focusProps:g}=cu({within:!0}),m=_n({...t,id:void 0,defaultClassName:"react-aria-Disclosure",values:{isExpanded:u.isExpanded,isDisabled:c,isFocusVisibleWithin:h,state:u}}),v=Jr(a);return $e.createElement(Na,{values:[[J0,{slots:{[xS]:{},trigger:f}}],[Ige,{panelProps:d,panelRef:l}],[CMe,u]]},$e.createElement("div",{ref:r,"data-expanded":u.isExpanded||void 0,"data-disabled":c||void 0,"data-focus-visible-within":h||void 0,...v,...g,...m},m.children))}),upt=F.forwardRef(function(t,r){let{role:n="group"}=t,{panelProps:i,panelRef:a}=F.useContext(Ige),{isFocusVisible:o,focusProps:s}=cu({within:!0}),u=_n({...t,defaultClassName:"react-aria-DisclosurePanel",values:{isFocusVisibleWithin:o}}),l=Jr(t);return $e.createElement("div",{...l,ref:uO(r,a),...Qt(i,s),...u,role:n,"data-focus-visible-within":o||void 0},$e.createElement(Na,{values:[[J0,null]]},t.children))}),lpt=F.forwardRef(function(t,r){[t,r]=Un(t,r,mfe);let{children:n,level:i=3,className:a,...o}=t,s=`h${i}`;return $e.createElement(s,{...o,ref:r,className:a??"react-aria-Heading"},n)}),PMe=F.createContext(null),PL=F.createContext(null),cpt=F.forwardRef(function(t,r){if(F.useContext(PL))return $e.createElement(qK,{...t,modalRef:r},t.children);let{isDismissable:i,isKeyboardDismissDisabled:a,isOpen:o,defaultOpen:s,onOpenChange:u,children:l,isEntering:c,isExiting:f,UNSTABLE_portalContainer:d,shouldCloseOnInteractOutside:h,...g}=t;return $e.createElement(RMe,{isDismissable:i,isKeyboardDismissDisabled:a,isOpen:o,defaultOpen:s,onOpenChange:u,isEntering:c,isExiting:f,UNSTABLE_portalContainer:d,shouldCloseOnInteractOutside:h},$e.createElement(qK,{...g,modalRef:r},l))});function DMe(e,t){[e,t]=Un(e,t,PMe);let r=F.useContext(Qg),n=dO(e),i=e.isOpen!=null||e.defaultOpen!=null||!r?n:r,a=yl(t),o=F.useRef(null),s=x2(a,i.isOpen),u=x2(o,i.isOpen),l=s||u||e.isExiting||!1,c=fh();return!i.isOpen&&!l||c?null:$e.createElement(kMe,{...e,state:i,isExiting:l,overlayRef:a,modalRef:o})}const RMe=F.forwardRef(DMe);function kMe({UNSTABLE_portalContainer:e,...t}){let r=t.modalRef,{state:n}=t,{modalProps:i,underlayProps:a}=s5e(t,n,r),o=R$(t.overlayRef)||t.isEntering||!1,s=_n({...t,defaultClassName:"react-aria-ModalOverlay",values:{isEntering:o,isExiting:t.isExiting,state:n}}),u=URe(),l={...s.style,"--visual-viewport-height":u.height+"px"};return $e.createElement(YI,{isExiting:t.isExiting,portalContainer:e},$e.createElement("div",{...Qt(Jr(t),a),...s,style:l,ref:t.overlayRef,"data-entering":o||void 0,"data-exiting":t.isExiting||void 0},$e.createElement(Na,{values:[[PL,{modalProps:i,modalRef:r,isExiting:t.isExiting,isDismissable:t.isDismissable}],[Qg,n]]},s.children)))}function qK(e){let{modalProps:t,modalRef:r,isExiting:n,isDismissable:i}=F.useContext(PL),a=F.useContext(Qg),o=F.useMemo(()=>uO(e.modalRef,r),[e.modalRef,r]),s=yl(o),u=R$(s),l=_n({...e,defaultClassName:"react-aria-Modal",values:{isEntering:u,isExiting:n,state:a}});return $e.createElement("div",{...Qt(Jr(e),t),...l,ref:s,"data-entering":u||void 0,"data-exiting":n||void 0},i&&$e.createElement(HI,{onDismiss:a.close}),l.children)}const TMe=F.createContext(null),AMe=F.createContext(null),fpt=F.forwardRef(function(t,r){[t,r]=Un(t,r,TMe);let{validationBehavior:n}=Jf(yp)||{};var i,a;let o=(a=(i=t.validationBehavior)!==null&&i!==void 0?i:n)!==null&&a!==void 0?a:"native",{locale:s}=Ha(),u=RIe({...t,locale:s,validationBehavior:o}),l=F.useRef(null),[c,f]=ed(!t["aria-label"]&&!t["aria-labelledby"]),{labelProps:d,groupProps:h,inputProps:g,incrementButtonProps:m,decrementButtonProps:v,descriptionProps:y,errorMessageProps:O,...x}=MIe({...q0(t),label:f,validationBehavior:o},u,l),C=_n({...t,values:{state:u,isDisabled:t.isDisabled||!1,isInvalid:x.isInvalid||!1,isRequired:t.isRequired||!1},defaultClassName:"react-aria-NumberField"}),w=Jr(t);return delete w.id,$e.createElement(Na,{values:[[AMe,u],[Fy,h],[vp,{...g,ref:l}],[td,{...d,ref:c}],[J0,{slots:{increment:m,decrement:v}}],[rd,{slots:{description:y,errorMessage:O}}],[_p,x]]},$e.createElement("div",{...w,...C,ref:r,slot:t.slot||void 0,"data-disabled":t.isDisabled||void 0,"data-required":t.isRequired||void 0,"data-invalid":x.isInvalid||void 0}),t.name&&$e.createElement("input",{type:"hidden",name:t.name,value:isNaN(u.numberValue)?"":u.numberValue}))}),FMe=F.createContext(null),IMe=F.createContext(null),Mge=F.createContext(null),dpt=F.forwardRef(function(t,r){[t,r]=Un(t,r,FMe);let{validationBehavior:n}=Jf(yp)||{};var i,a;let o=(a=(i=t.validationBehavior)!==null&&i!==void 0?i:n)!==null&&a!==void 0?a:"native",s=G9e({...t,validationBehavior:o}),[u,l]=ed(!t["aria-label"]&&!t["aria-labelledby"]),{radioGroupProps:c,labelProps:f,descriptionProps:d,errorMessageProps:h,...g}=u9e({...t,label:l,validationBehavior:o},s),m=_n({...t,values:{orientation:t.orientation||"vertical",isDisabled:s.isDisabled,isReadOnly:s.isReadOnly,isRequired:s.isRequired,isInvalid:s.isInvalid,state:s},defaultClassName:"react-aria-RadioGroup"});return $e.createElement("div",{...c,...m,ref:r,slot:t.slot||void 0,"data-orientation":t.orientation||"vertical","data-invalid":s.isInvalid||void 0,"data-disabled":s.isDisabled||void 0,"data-readonly":s.isReadOnly||void 0,"data-required":s.isRequired||void 0},$e.createElement(Na,{values:[[Mge,s],[td,{...f,ref:u,elementType:"span"}],[rd,{slots:{description:d,errorMessage:h}}],[_p,g]]},m.children))}),hpt=F.forwardRef(function(t,r){let{inputRef:n=null,...i}=t;[t,r]=Un(i,r,IMe);let a=$e.useContext(Mge),o=yl(uO(n,t.inputRef!==void 0?t.inputRef:null)),{labelProps:s,inputProps:u,isSelected:l,isDisabled:c,isPressed:f}=s9e({...q0(t),children:typeof t.children=="function"?!0:t.children},a,o),{isFocused:d,isFocusVisible:h,focusProps:g}=cu(),m=c||a.isReadOnly,{hoverProps:v,isHovered:y}=Ru({...t,isDisabled:m}),O=_n({...t,defaultClassName:"react-aria-Radio",values:{isSelected:l,isPressed:f,isHovered:y,isFocused:d,isFocusVisible:h,isDisabled:c,isReadOnly:a.isReadOnly,isInvalid:a.isInvalid,isRequired:a.isRequired}}),x=Jr(t);return delete x.id,$e.createElement("label",{...Qt(x,s,v,O),ref:r,"data-selected":l||void 0,"data-pressed":f||void 0,"data-hovered":y||void 0,"data-focused":d||void 0,"data-focus-visible":h||void 0,"data-disabled":c||void 0,"data-readonly":a.isReadOnly||void 0,"data-invalid":a.isInvalid||void 0,"data-required":a.isRequired||void 0},$e.createElement(VN,{elementType:"span"},$e.createElement("input",{...Qt(u,g),ref:o})),O.children)});function MMe(e){return e&&e.__esModule?e.default:e}const DL=F.createContext(null),Nge=F.createContext(null),ppt=F.forwardRef(function(t,r){[t,r]=Un(t,r,DL);let{children:n,isDisabled:i=!1,isInvalid:a=!1,isRequired:o=!1}=t,s=F.useMemo(()=>typeof n=="function"?n({isOpen:!1,isDisabled:i,isInvalid:a,isRequired:o,isFocused:!1,isFocusVisible:!1,defaultChildren:null}):n,[n,i,a,o]);return $e.createElement(lw,{content:s},u=>$e.createElement(NMe,{props:t,collection:u,selectRef:r}))});function NMe({props:e,selectRef:t,collection:r}){let{validationBehavior:n}=Jf(yp)||{};var i,a;let o=(a=(i=e.validationBehavior)!==null&&i!==void 0?i:n)!==null&&a!==void 0?a:"native",s=J9e({...e,collection:r,children:void 0,validationBehavior:o}),{isFocusVisible:u,focusProps:l}=cu({within:!0}),c=F.useRef(null),[f,d]=ed(!e["aria-label"]&&!e["aria-labelledby"]),{labelProps:h,triggerProps:g,valueProps:m,menuProps:v,descriptionProps:y,errorMessageProps:O,...x}=f9e({...q0(e),label:d,validationBehavior:o},s,c),[C,w]=F.useState(null),E=F.useCallback(()=>{c.current&&w(c.current.offsetWidth+"px")},[c]);O2({ref:c,onResize:E});let T=F.useMemo(()=>({isOpen:s.isOpen,isFocused:s.isFocused,isFocusVisible:u,isDisabled:e.isDisabled||!1,isInvalid:x.isInvalid||!1,isRequired:e.isRequired||!1}),[s.isOpen,s.isFocused,u,e.isDisabled,x.isInvalid,e.isRequired]),P=_n({...e,values:T,defaultClassName:"react-aria-Select"}),L=Jr(e);delete L.id;let N=F.useRef(null);return $e.createElement(Na,{values:[[DL,e],[Nge,s],[Lge,m],[td,{...h,ref:f,elementType:"span"}],[J0,{...g,ref:c,isPressed:s.isOpen}],[Qg,s],[H$,{trigger:"Select",triggerRef:c,scrollRef:N,placement:"bottom start",style:{"--trigger-width":C},"aria-labelledby":v["aria-labelledby"]}],[fw,{...v,ref:N}],[Sp,s],[rd,{slots:{description:y,errorMessage:O}}],[_p,x]]},$e.createElement("div",{...L,...P,...l,ref:t,slot:e.slot||void 0,"data-focused":s.isFocused||void 0,"data-focus-visible":u||void 0,"data-open":s.isOpen||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":x.isInvalid||void 0,"data-required":e.isRequired||void 0}),$e.createElement(h9e,{autoComplete:e.autoComplete,state:s,triggerRef:c,label:d,name:e.name,isDisabled:e.isDisabled}))}const Lge=F.createContext(null),mpt=F.forwardRef(function(t,r){var n,i;[t,r]=Un(t,r,Lge);let a=F.useContext(Nge),{placeholder:o}=Jf(DL),s=a.selectedKey!=null?a.collection.getItem(a.selectedKey):null,u=s==null?void 0:s.props.children;typeof u=="function"&&(u=u({isHovered:!1,isPressed:!1,isSelected:!1,isFocused:!1,isFocusVisible:!1,isDisabled:!1,selectionMode:"single",selectionBehavior:"toggle"}));let l=dh(MMe($ge),"react-aria-components");var c,f,d;let h=_n({...t,defaultChildren:(c=u??o)!==null&&c!==void 0?c:l.format("selectPlaceholder"),defaultClassName:"react-aria-SelectValue",values:{selectedItem:(f=(n=a.selectedItem)===null||n===void 0?void 0:n.value)!==null&&f!==void 0?f:null,selectedText:(d=(i=a.selectedItem)===null||i===void 0?void 0:i.textValue)!==null&&d!==void 0?d:null,isPlaceholder:!s}}),g=Jr(t);return $e.createElement("span",{ref:r,...g,...h,"data-placeholder":!s||void 0},$e.createElement(rd.Provider,{value:void 0},h.children))}),G$=F.createContext(null),jb=F.createContext(null),gpt=F.forwardRef(function(t,r){[t,r]=Un(t,r,G$);let{children:n,orientation:i="horizontal"}=t;return n=F.useMemo(()=>typeof n=="function"?n({orientation:i,defaultChildren:null}):n,[n,i]),$e.createElement(lw,{content:n},a=>$e.createElement(LMe,{props:t,collection:a,tabsRef:r}))});function LMe({props:e,tabsRef:t,collection:r}){let{orientation:n="horizontal"}=e,i=eMe({...e,collection:r,children:void 0}),{focusProps:a,isFocused:o,isFocusVisible:s}=cu({within:!0}),u=F.useMemo(()=>({orientation:n,isFocusWithin:o,isFocusVisible:s}),[n,o,s]),l=_n({...e,defaultClassName:"react-aria-Tabs",values:u});return $e.createElement("div",{...Jr(e),...a,...l,ref:t,slot:e.slot||void 0,"data-focused":o||void 0,"data-orientation":n,"data-focus-visible":s||void 0,"data-disabled":i.isDisabled||void 0},$e.createElement(Na,{values:[[G$,e],[jb,i]]},l.children))}const vpt=F.forwardRef(function(t,r){return F.useContext(jb)?$e.createElement(zMe,{props:t,forwardedRef:r}):$e.createElement(gL,t)});function zMe({props:e,forwardedRef:t}){let r=F.useContext(jb),{CollectionRoot:n}=F.useContext(Iy),{orientation:i="horizontal",keyboardActivation:a="automatic"}=Jf(G$),o=yl(t),{tabListProps:s}=v9e({...e,orientation:i,keyboardActivation:a},r,o),u=_n({...e,children:null,defaultClassName:"react-aria-TabList",values:{orientation:i,state:r}}),l=Jr(e);return delete l.id,$e.createElement("div",{...l,...s,ref:o,...u,"data-orientation":i||void 0},$e.createElement(n,{collection:r.collection,persistedKeys:jme(r.selectionManager.focusedKey)}))}const ypt=mL("item",(e,t,r)=>{let n=F.useContext(jb),i=yl(t),{tabProps:a,isSelected:o,isDisabled:s,isPressed:u}=p9e({key:r.key,...e},n,i),{focusProps:l,isFocused:c,isFocusVisible:f}=cu(),{hoverProps:d,isHovered:h}=Ru({isDisabled:s,onHoverStart:e.onHoverStart,onHoverEnd:e.onHoverEnd,onHoverChange:e.onHoverChange}),g=_n({...e,id:void 0,children:r.rendered,defaultClassName:"react-aria-Tab",values:{isSelected:o,isDisabled:s,isFocused:c,isFocusVisible:f,isPressed:u,isHovered:h}}),m=r.props.href?"a":"div";return $e.createElement(m,{...Qt(a,l,d,g),ref:i,"data-selected":o||void 0,"data-disabled":s||void 0,"data-focused":c||void 0,"data-focus-visible":f||void 0,"data-pressed":u||void 0,"data-hovered":h||void 0},g.children)}),bpt=gO(function(t,r){const n=F.useContext(jb);let i=yl(r),{tabPanelProps:a}=m9e(t,n,i),{focusProps:o,isFocused:s,isFocusVisible:u}=cu(),l=n.selectedKey===t.id,c=_n({...t,defaultClassName:"react-aria-TabPanel",values:{isFocused:s,isFocusVisible:u,isInert:!l,state:n}});if(!l&&!t.shouldForceMount)return null;let f=Jr(t);delete f.id;let d=l?Qt(f,a,o,c):c;return $e.createElement("div",{...d,ref:i,"data-focused":s||void 0,"data-focus-visible":u||void 0,inert:ZRe(!l),"data-inert":l?void 0:"true"},$e.createElement(Na,{values:[[G$,null],[jb,null]]},$e.createElement(Iy.Provider,{value:EL},c.children)))}),QMe=F.createContext(null),zge=F.createContext(null),Opt=F.forwardRef(function(t,r){return[t,r]=Un(t,r,QMe),$e.createElement(lw,{content:t.children},n=>$e.createElement(BMe,{props:t,forwardedRef:r,collection:n}))});function BMe({props:e,forwardedRef:t,collection:r}){let n=F.useRef(null),[i,a]=ed(!e["aria-label"]&&!e["aria-labelledby"]),o=_L({...e,children:void 0,collection:r}),s=Jr(e),u=Object.fromEntries(Object.entries(s).map(([g])=>[g,void 0])),{gridProps:l,labelProps:c,descriptionProps:f,errorMessageProps:d}=y9e({...e,...u,label:a},o,n);var h;return $e.createElement("div",{...s,ref:t,slot:e.slot||void 0,className:(h=e.className)!==null&&h!==void 0?h:"react-aria-TagGroup",style:e.style},$e.createElement(Na,{values:[[td,{...c,elementType:"span",ref:i}],[zge,{...l,ref:n}],[Sp,o],[rd,{slots:{description:f,errorMessage:d}}]]},e.children))}const xpt=F.forwardRef(function(t,r){return F.useContext(Sp)?$e.createElement(qMe,{props:t,forwardedRef:r}):$e.createElement(gL,t)});function qMe({props:e,forwardedRef:t}){let r=F.useContext(Sp),{CollectionRoot:n}=F.useContext(Iy),[i,a]=Un(e,t,zge);delete i.items,delete i.renderEmptyState;let{focusProps:o,isFocused:s,isFocusVisible:u}=cu(),l={isEmpty:r.collection.size===0,isFocused:s,isFocusVisible:u,state:r},c=_n({className:e.className,style:e.style,defaultClassName:"react-aria-TagList",values:l}),f=jme(r.selectionManager.focusedKey);return $e.createElement("div",{...Qt(i,o),...c,ref:a,"data-empty":r.collection.size===0||void 0,"data-focused":s||void 0,"data-focus-visible":u||void 0},r.collection.size===0&&e.renderEmptyState?e.renderEmptyState(l):$e.createElement(n,{collection:r.collection,persistedKeys:f}))}const _pt=mL("item",(e,t,r)=>{let n=F.useContext(Sp),i=yl(t),{focusProps:a,isFocusVisible:o}=cu({within:!0}),{rowProps:s,gridCellProps:u,removeButtonProps:l,...c}=O9e({item:r},n,i),{hoverProps:f,isHovered:d}=Ru({isDisabled:!c.allowsSelection,onHoverStart:r.props.onHoverStart,onHoverChange:r.props.onHoverChange,onHoverEnd:r.props.onHoverEnd}),h=_n({...e,id:void 0,children:r.rendered,defaultClassName:"react-aria-Tag",values:{...c,isFocusVisible:o,isHovered:d,selectionMode:n.selectionManager.selectionMode,selectionBehavior:n.selectionManager.selectionBehavior}});return F.useEffect(()=>{r.textValue||console.warn("A `textValue` prop is required for <Tag> elements with non-plain text children for accessibility.")},[r.textValue]),$e.createElement("div",{ref:i,...h,...Qt(Jr(e),s,a,f),"data-selected":c.isSelected||void 0,"data-disabled":c.isDisabled||void 0,"data-hovered":d||void 0,"data-focused":c.isFocused||void 0,"data-focus-visible":o||void 0,"data-pressed":c.isPressed||void 0,"data-allows-removing":c.allowsRemoving||void 0,"data-selection-mode":n.selectionManager.selectionMode==="none"?void 0:n.selectionManager.selectionMode},$e.createElement("div",{...u,style:{display:"contents"}},$e.createElement(Na,{values:[[J0,{slots:{remove:l}}],[Iy,EL]]},h.children)))}),UMe=F.createContext({}),Qge=F.createContext(null),Spt=F.forwardRef(function(t,r){[t,r]=Un(t,r,UMe);let n=EIe(t),{groupProps:i}=mIe(t,n,r),a=_n({...t,values:{isDisabled:n.isDisabled,state:n},defaultClassName:"react-aria-ToggleButtonGroup"});return $e.createElement("div",{...i,...a,ref:r,slot:t.slot||void 0,"data-orientation":t.orientation||"horizontal","data-disabled":t.isDisabled||void 0},$e.createElement(Qge.Provider,{value:n},a.children))}),VMe=F.createContext({}),wpt=F.forwardRef(function(t,r){[t,r]=Un(t,r,VMe);let n=F.useContext(Qge),i=wIe(n&&t.id!=null?{isSelected:n.selectedKeys.has(t.id),onChange(m){n.setSelected(t.id,m)}}:t),{buttonProps:a,isPressed:o,isSelected:s,isDisabled:u}=n&&t.id!=null?gIe({...t,id:t.id},n,r):Ofe({...t,id:t.id!=null?String(t.id):void 0},i,r),{focusProps:l,isFocused:c,isFocusVisible:f}=cu(t),{hoverProps:d,isHovered:h}=Ru(t),g=_n({...t,id:void 0,values:{isHovered:h,isPressed:o,isFocused:c,isSelected:i.isSelected,isFocusVisible:f,isDisabled:u,state:i},defaultClassName:"react-aria-ToggleButton"});return $e.createElement("button",{...Qt(a,l,d),...g,ref:r,slot:t.slot||void 0,"data-focused":c||void 0,"data-disabled":u||void 0,"data-pressed":o||void 0,"data-selected":s||void 0,"data-hovered":h||void 0,"data-focus-visible":f||void 0})}),RL=F.createContext(null),Bge=F.createContext(null);function Ept(e){let t=Ume(e),r=F.useRef(null),{triggerProps:n,tooltipProps:i}=_9e(e,t,r);return $e.createElement(Na,{values:[[RL,t],[Bge,{...i,triggerRef:r}]]},$e.createElement(dke,{...n,ref:r},e.children))}const $pt=F.forwardRef(function({UNSTABLE_portalContainer:t,...r},n){[r,n]=Un(r,n,Bge);let i=F.useContext(RL),a=Ume(r),o=r.isOpen!=null||r.defaultOpen!=null||!i?a:i,s=x2(n,o.isOpen)||r.isExiting||!1;return!o.isOpen&&!s?null:$e.createElement(t5e,{portalContainer:t},$e.createElement(jMe,{...r,tooltipRef:n,isExiting:s}))});function jMe(e){let t=F.useContext(RL),r=F.useRef(null),[n,i]=F.useState(0);Nn(()=>{r.current&&t.isOpen&&i(r.current.getBoundingClientRect().width)},[t.isOpen,r]);let{overlayProps:a,arrowProps:o,placement:s}=_ue({placement:e.placement||"top",targetRef:e.triggerRef,overlayRef:e.tooltipRef,offset:e.offset,crossOffset:e.crossOffset,isOpen:t.isOpen,arrowSize:n,arrowBoundaryOffset:e.arrowBoundaryOffset,shouldFlip:e.shouldFlip,onClose:()=>t.close(!0)}),u=R$(e.tooltipRef,!!s)||e.isEntering||!1,l=_n({...e,defaultClassName:"react-aria-Tooltip",values:{placement:s,isEntering:u,isExiting:e.isExiting,state:t}});e=Qt(e,a);let{tooltipProps:c}=x9e(e,t);return $e.createElement("div",{...c,ref:e.tooltipRef,...l,style:{...a.style,...l.style},"data-placement":s??void 0,"data-entering":u||void 0,"data-exiting":e.isExiting||void 0},$e.createElement(CL.Provider,{value:{...o,placement:s,ref:r}},l.children))}var _x={},UK;function WMe(){if(UK)return _x;UK=1,Object.defineProperty(_x,"__esModule",{value:!0}),_x.parse=o,_x.serialize=l;const e=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,t=/^[\u0021-\u003A\u003C-\u007E]*$/,r=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,n=/^[\u0020-\u003A\u003D-\u007E]*$/,i=Object.prototype.toString,a=(()=>{const d=function(){};return d.prototype=Object.create(null),d})();function o(d,h){const g=new a,m=d.length;if(m<2)return g;const v=(h==null?void 0:h.decode)||c;let y=0;do{const O=d.indexOf("=",y);if(O===-1)break;const x=d.indexOf(";",y),C=x===-1?m:x;if(O>C){y=d.lastIndexOf(";",O-1)+1;continue}const w=s(d,y,O),E=u(d,O,w),T=d.slice(w,E);if(g[T]===void 0){let P=s(d,O+1,C),L=u(d,C,P);const N=v(d.slice(P,L));g[T]=N}y=C+1}while(y<m);return g}function s(d,h,g){do{const m=d.charCodeAt(h);if(m!==32&&m!==9)return h}while(++h<g);return g}function u(d,h,g){for(;h>g;){const m=d.charCodeAt(--h);if(m!==32&&m!==9)return h+1}return g}function l(d,h,g){const m=(g==null?void 0:g.encode)||encodeURIComponent;if(!e.test(d))throw new TypeError(`argument name is invalid: ${d}`);const v=m(h);if(!t.test(v))throw new TypeError(`argument val is invalid: ${h}`);let y=d+"="+v;if(!g)return y;if(g.maxAge!==void 0){if(!Number.isInteger(g.maxAge))throw new TypeError(`option maxAge is invalid: ${g.maxAge}`);y+="; Max-Age="+g.maxAge}if(g.domain){if(!r.test(g.domain))throw new TypeError(`option domain is invalid: ${g.domain}`);y+="; Domain="+g.domain}if(g.path){if(!n.test(g.path))throw new TypeError(`option path is invalid: ${g.path}`);y+="; Path="+g.path}if(g.expires){if(!f(g.expires)||!Number.isFinite(g.expires.valueOf()))throw new TypeError(`option expires is invalid: ${g.expires}`);y+="; Expires="+g.expires.toUTCString()}if(g.httpOnly&&(y+="; HttpOnly"),g.secure&&(y+="; Secure"),g.partitioned&&(y+="; Partitioned"),g.priority)switch(typeof g.priority=="string"?g.priority.toLowerCase():void 0){case"low":y+="; Priority=Low";break;case"medium":y+="; Priority=Medium";break;case"high":y+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${g.priority}`)}if(g.sameSite)switch(typeof g.sameSite=="string"?g.sameSite.toLowerCase():g.sameSite){case!0:case"strict":y+="; SameSite=Strict";break;case"lax":y+="; SameSite=Lax";break;case"none":y+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${g.sameSite}`)}return y}function c(d){if(d.indexOf("%")===-1)return d;try{return decodeURIComponent(d)}catch{return d}}function f(d){return i.call(d)==="[object Date]"}return _x}WMe();/**
575
+ */var SK;function aIe(){if(SK)return MT;SK=1;var e=Pr();function t(f,d){return f===d&&(f!==0||1/f===1/d)||f!==f&&d!==d}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,i=e.useEffect,a=e.useLayoutEffect,o=e.useDebugValue;function s(f,d){var h=d(),g=n({inst:{value:h,getSnapshot:d}}),m=g[0].inst,v=g[1];return a(function(){m.value=h,m.getSnapshot=d,u(m)&&v({inst:m})},[f,h,d]),i(function(){return u(m)&&v({inst:m}),f(function(){u(m)&&v({inst:m})})},[f]),o(h),h}function u(f){var d=f.getSnapshot;f=f.value;try{var h=d();return!r(f,h)}catch{return!0}}function l(f,d){return d()}var c=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?l:s;return MT.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:c,MT}var wK;function oIe(){return wK||(wK=1,IT.exports=aIe()),IT.exports}var sIe=oIe();const yfe=F.createContext(!1),SS=F.createContext(null);function lw(e){if(F.useContext(SS))return e.content;let{collection:r,document:n}=fIe(e.createCollection);return $e.createElement($e.Fragment,null,$e.createElement(nIe,null,$e.createElement(SS.Provider,{value:n},e.content)),$e.createElement(uIe,{render:e.children,collection:r}))}function uIe({collection:e,render:t}){return t(e)}function lIe(e,t,r){let n=fh(),i=F.useRef(n);i.current=n;let a=F.useCallback(()=>i.current?r():t(),[t,r]);return sIe.useSyncExternalStore(e,a)}const cIe=typeof $e.useSyncExternalStore=="function"?$e.useSyncExternalStore:lIe;function fIe(e){let[t]=F.useState(()=>new rIe((e==null?void 0:e())||new pL)),r=F.useCallback(o=>t.subscribe(o),[t]),n=F.useCallback(()=>{let o=t.getCollection();return t.isSSR&&t.resetAfterSSR(),o},[t]),i=F.useCallback(()=>(t.isSSR=!0,t.getCollection()),[t]),a=cIe(r,n,i);return Nn(()=>(t.isMounted=!0,()=>{t.isMounted=!1}),[t]),{collection:a,document:t}}const b9=F.createContext(null);function dIe(e,t,r,n,i,a){let o=F.useCallback(u=>{u==null||u.setProps(t,r,n,a)},[t,r,n,a]),s=F.useContext(b9);if(s){let u=s.ownerDocument.nodesByProps.get(t);return u||(u=s.ownerDocument.createElement(e),u.setProps(t,r,n,a),s.appendChild(u),s.ownerDocument.updateCollection(),s.ownerDocument.nodesByProps.set(t,u)),i?$e.createElement(b9.Provider,{value:u},i):null}return $e.createElement(e,{ref:o},i)}function mL(e,t){let r=({node:i})=>t(i.props,i.props.ref,i),n=F.forwardRef((i,a)=>{let o=F.useContext(E2);if(!F.useContext(yfe)){if(t.length>=3)throw new Error(t.name+" cannot be rendered outside a collection.");return t(i,a)}return dIe(e,i,a,"children"in i?i.children:null,null,u=>$e.createElement(E2.Provider,{value:o},$e.createElement(r,{node:u})))});return n.displayName=t.name,n}function hIe(e){return vfe({...e,addIdAndValue:!0})}const EK=F.createContext(null);function gL(e){let t=F.useContext(EK),r=((t==null?void 0:t.dependencies)||[]).concat(e.dependencies),n=e.idScope||(t==null?void 0:t.idScope),i=hIe({...e,idScope:n,dependencies:r});return F.useContext(SS)&&(i=$e.createElement(pIe,null,i)),t=F.useMemo(()=>({dependencies:r,idScope:n}),[n,...r]),$e.createElement(EK.Provider,{value:t},i)}function pIe({children:e}){let t=F.useContext(SS),r=F.useMemo(()=>$e.createElement(SS.Provider,{value:null},$e.createElement(yfe.Provider,{value:!0},e)),[e]);return fh()?$e.createElement(b9.Provider,{value:t},r):dl.createPortal(r,t)}function bfe(e,t){let{elementType:r="button",isDisabled:n,onPress:i,onPressStart:a,onPressEnd:o,onPressUp:s,onPressChange:u,preventFocusOnPress:l,allowFocusWhenDisabled:c,onClick:f,href:d,target:h,rel:g,type:m="button"}=e,v;r==="button"?v={type:m,disabled:n}:v={role:"button",href:r==="a"&&!n?d:void 0,target:r==="a"?h:void 0,type:r==="input"?m:void 0,disabled:r==="input"?n:void 0,"aria-disabled":!n||r==="input"?void 0:n,rel:r==="a"?g:void 0};let{pressProps:y,isPressed:O}=mg({onPressStart:a,onPressEnd:o,onPressChange:u,onPress:i,onPressUp:s,isDisabled:n,preventFocusOnPress:l,ref:t}),{focusableProps:x}=Ng(e,t);c&&(x.tabIndex=n?-1:x.tabIndex);let C=Qt(x,y,Jr(e,{labelable:!0}));return{isPressed:O,buttonProps:Qt(v,C,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],"aria-current":e["aria-current"],onClick:w=>{f&&(f(w),console.warn("onClick is deprecated, please use onPress"))}})}}function Ofe(e,t,r){const{isSelected:n}=t,{isPressed:i,buttonProps:a}=bfe({...e,onPress:Kf(t.toggle,e.onPress)},r);return{isPressed:i,isSelected:n,isDisabled:e.isDisabled||!1,buttonProps:Qt(a,{"aria-pressed":n})}}function mIe(e,t){const{"aria-label":r,"aria-labelledby":n,orientation:i="horizontal"}=e;let[a,o]=F.useState(!1);Nn(()=>{var g;o(!!(t.current&&(!((g=t.current.parentElement)===null||g===void 0)&&g.closest('[role="toolbar"]'))))});const{direction:s}=Ha(),u=s==="rtl"&&i==="horizontal";let l=qN(t);const c=g=>{if(g.currentTarget.contains(g.target)){if(i==="horizontal"&&g.key==="ArrowRight"||i==="vertical"&&g.key==="ArrowDown")u?l.focusPrevious():l.focusNext();else if(i==="horizontal"&&g.key==="ArrowLeft"||i==="vertical"&&g.key==="ArrowUp")u?l.focusNext():l.focusPrevious();else if(g.key==="Tab"){g.stopPropagation(),f.current=document.activeElement,g.shiftKey?l.focusFirst():l.focusLast();return}else return;g.stopPropagation(),g.preventDefault()}},f=F.useRef(null),d=g=>{!g.currentTarget.contains(g.relatedTarget)&&!f.current&&(f.current=g.target)},h=g=>{var m;if(f.current&&!g.currentTarget.contains(g.relatedTarget)&&(!((m=t.current)===null||m===void 0)&&m.contains(g.target))){var v;(v=f.current)===null||v===void 0||v.focus(),f.current=null}};return{toolbarProps:{...Jr(e,{labelable:!0}),role:a?"group":"toolbar","aria-orientation":i,"aria-label":r,"aria-labelledby":r==null?n:void 0,onKeyDownCapture:a?void 0:c,onFocusCapture:a?void 0:h,onBlurCapture:a?void 0:d}}}function gIe(e,t,r){let{isDisabled:n}=e,{toolbarProps:i}=mIe(e,r);return{groupProps:{...i,role:t.selectionMode==="single"?"radiogroup":i.role,"aria-disabled":n}}}function vIe(e,t,r){let n={isSelected:t.selectedKeys.has(e.id),setSelected(u){t.setSelected(e.id,u)},toggle(){t.toggleKey(e.id)}},{isPressed:i,isSelected:a,isDisabled:o,buttonProps:s}=Ofe({...e,id:void 0,isDisabled:e.isDisabled||t.isDisabled},n,r);return t.selectionMode==="single"&&(s.role="radio",s["aria-checked"]=n.isSelected,delete s["aria-pressed"]),{isPressed:i,isSelected:a,isDisabled:o,buttonProps:s}}const xfe=7e3;let Rf=null;function oy(e,t="assertive",r=xfe){Rf?Rf.announce(e,t,r):(Rf=new bIe,(typeof IS_REACT_ACT_ENVIRONMENT=="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u")?Rf.announce(e,t,r):setTimeout(()=>{Rf!=null&&Rf.isAttached()&&(Rf==null||Rf.announce(e,t,r))},100))}function yIe(e){Rf&&Rf.clear(e)}class bIe{isAttached(){var t;return(t=this.node)===null||t===void 0?void 0:t.isConnected}createLog(t){let r=document.createElement("div");return r.setAttribute("role","log"),r.setAttribute("aria-live",t),r.setAttribute("aria-relevant","additions"),r}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(t,r="assertive",n=xfe){var i,a;if(!this.node)return;let o=document.createElement("div");typeof t=="object"?(o.setAttribute("role","img"),o.setAttribute("aria-labelledby",t["aria-labelledby"])):o.textContent=t,r==="assertive"?(i=this.assertiveLog)===null||i===void 0||i.appendChild(o):(a=this.politeLog)===null||a===void 0||a.appendChild(o),t!==""&&setTimeout(()=>{o.remove()},n)}clear(t){this.node&&((!t||t==="assertive")&&this.assertiveLog&&(this.assertiveLog.innerHTML=""),(!t||t==="polite")&&this.politeLog&&(this.politeLog.innerHTML=""))}constructor(){this.node=null,this.assertiveLog=null,this.politeLog=null,typeof document<"u"&&(this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node))}}const _fe={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},Sfe={..._fe,customError:!0,valid:!1},yx={isInvalid:!1,validationDetails:_fe,validationErrors:[]},wfe=F.createContext({}),Y2="__formValidationState"+Date.now();function vO(e){if(e[Y2]){let{realtimeValidation:t,displayValidation:r,updateValidation:n,resetValidation:i,commitValidation:a}=e[Y2];return{realtimeValidation:t,displayValidation:r,updateValidation:n,resetValidation:i,commitValidation:a}}return OIe(e)}function OIe(e){let{isInvalid:t,validationState:r,name:n,value:i,builtinValidation:a,validate:o,validationBehavior:s="aria"}=e;r&&(t||(t=r==="invalid"));let u=t!==void 0?{isInvalid:t,validationErrors:[],validationDetails:Sfe}:null,l=F.useMemo(()=>{if(!o||i==null)return null;let N=xIe(o,i);return $K(N)},[o,i]);a!=null&&a.validationDetails.valid&&(a=void 0);let c=F.useContext(wfe),f=F.useMemo(()=>n?Array.isArray(n)?n.flatMap(N=>O9(c[N])):O9(c[n]):[],[c,n]),[d,h]=F.useState(c),[g,m]=F.useState(!1);c!==d&&(h(c),m(!1));let v=F.useMemo(()=>$K(g?[]:f),[g,f]),y=F.useRef(yx),[O,x]=F.useState(yx),C=F.useRef(yx),w=()=>{if(!E)return;T(!1);let N=l||a||y.current;NT(N,C.current)||(C.current=N,x(N))},[E,T]=F.useState(!1);return F.useEffect(w),{realtimeValidation:u||v||l||a||yx,displayValidation:s==="native"?u||v||O:u||v||l||a||O,updateValidation(N){s==="aria"&&!NT(O,N)?x(N):y.current=N},resetValidation(){let N=yx;NT(N,C.current)||(C.current=N,x(N)),s==="native"&&T(!1),m(!0)},commitValidation(){s==="native"&&T(!0),m(!0)}}}function O9(e){return e?Array.isArray(e)?e:[e]:[]}function xIe(e,t){if(typeof e=="function"){let r=e(t);if(r&&typeof r!="boolean")return O9(r)}return[]}function $K(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:Sfe}:null}function NT(e,t){return e===t?!0:!!e&&!!t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((r,n)=>r===t.validationErrors[n])&&Object.entries(e.validationDetails).every(([r,n])=>t.validationDetails[r]===n)}function U$(e,t,r){let{validationBehavior:n,focus:i}=e;Nn(()=>{if(n==="native"&&(r!=null&&r.current)&&!r.current.disabled){let u=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";r.current.setCustomValidity(u),r.current.hasAttribute("title")||(r.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation(SIe(r.current))}});let a=Aa(()=>{t.resetValidation()}),o=Aa(u=>{var l;t.displayValidation.isInvalid||t.commitValidation();let c=r==null||(l=r.current)===null||l===void 0?void 0:l.form;if(!u.defaultPrevented&&r&&c&&wIe(c)===r.current){var f;i?i():(f=r.current)===null||f===void 0||f.focus(),QN("keyboard")}u.preventDefault()}),s=Aa(()=>{t.commitValidation()});F.useEffect(()=>{let u=r==null?void 0:r.current;if(!u)return;let l=u.form;return u.addEventListener("invalid",o),u.addEventListener("change",s),l==null||l.addEventListener("reset",a),()=>{u.removeEventListener("invalid",o),u.removeEventListener("change",s),l==null||l.removeEventListener("reset",a)}},[r,o,s,a,n])}function _Ie(e){let t=e.validity;return{badInput:t.badInput,customError:t.customError,patternMismatch:t.patternMismatch,rangeOverflow:t.rangeOverflow,rangeUnderflow:t.rangeUnderflow,stepMismatch:t.stepMismatch,tooLong:t.tooLong,tooShort:t.tooShort,typeMismatch:t.typeMismatch,valueMissing:t.valueMissing,valid:t.valid}}function SIe(e){return{isInvalid:!e.validity.valid,validationDetails:_Ie(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function wIe(e){for(let t=0;t<e.elements.length;t++){let r=e.elements[t];if(!r.validity.valid)return r}return null}function V$(e){let{id:t,label:r,"aria-labelledby":n,"aria-label":i,labelElementType:a="label"}=e;t=Bi(t);let o=Bi(),s={};r?(n=n?`${o} ${n}`:o,s={id:o,htmlFor:a==="label"?t:void 0}):!n&&!i&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let u=vy({id:t,"aria-label":i,"aria-labelledby":n});return{labelProps:s,fieldProps:u}}function cw(e){let{description:t,errorMessage:r,isInvalid:n,validationState:i}=e,{labelProps:a,fieldProps:o}=V$(e),s=I0([!!t,!!r,n,i]),u=I0([!!t,!!r,n,i]);return o=Qt(o,{"aria-describedby":[s,u,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:a,fieldProps:o,descriptionProps:{id:s},errorMessageProps:{id:u}}}function EIe(e={}){let{isReadOnly:t}=e,[r,n]=Ka(e.isSelected,e.defaultSelected||!1,e.onChange);function i(o){t||n(o)}function a(){t||n(!r)}return{isSelected:r,setSelected:i,toggle:a}}function $Ie(e){let{selectionMode:t="single",disallowEmptySelection:r,isDisabled:n=!1}=e,[i,a]=Ka(F.useMemo(()=>e.selectedKeys?new Set(e.selectedKeys):void 0,[e.selectedKeys]),F.useMemo(()=>e.defaultSelectedKeys?new Set(e.defaultSelectedKeys):new Set,[e.defaultSelectedKeys]),e.onSelectionChange);return{selectionMode:t,isDisabled:n,selectedKeys:i,setSelectedKeys:a,toggleKey(o){let s;t==="multiple"?(s=new Set(i),s.has(o)&&(!r||s.size>1)?s.delete(o):s.add(o)):s=new Set(i.has(o)&&!r?[]:[o]),a(s)},setSelected(o,s){s!==i.has(o)&&this.toggleKey(o)}}}const CIe=0,PIe=100,DIe=1;function RIe(e){const{isDisabled:t=!1,minValue:r=CIe,maxValue:n=PIe,numberFormatter:i,step:a=DIe,orientation:o="horizontal"}=e;let s=F.useMemo(()=>{let z=(n-r)/10;return z=ss(z,0,z+a,a),Math.max(z,a)},[a,n,r]),u=F.useCallback(z=>z==null?void 0:z.map((G,K)=>{let te=K===0?r:z[K-1],ae=K===z.length-1?n:z[K+1];return ss(G,te,ae,a)}),[r,n,a]),l=F.useMemo(()=>u(PK(e.value)),[e.value]),c=F.useMemo(()=>{var z;return u((z=PK(e.defaultValue))!==null&&z!==void 0?z:[r])},[e.defaultValue,r]),f=DK(e.value,e.defaultValue,e.onChange),d=DK(e.value,e.defaultValue,e.onChangeEnd);const[h,g]=Ka(l,c,f),[m,v]=F.useState(new Array(h.length).fill(!1)),y=F.useRef(new Array(h.length).fill(!0)),[O,x]=F.useState(void 0),C=F.useRef(h),w=F.useRef(m);let E=z=>{C.current=z,g(z)},T=z=>{w.current=z,v(z)};function P(z){return(z-r)/(n-r)}function L(z){return z===0?r:h[z-1]}function N(z){return z===h.length-1?n:h[z+1]}function B(z){return y.current[z]}function j(z,G){y.current[z]=G}function A(z,G){if(t||!B(z))return;const K=L(z),te=N(z);G=ss(G,K,te,a);let ae=CK(C.current,z,G);E(ae)}function H(z,G){if(t||!B(z))return;G&&(C.current=h);const K=w.current[z];w.current=CK(w.current,z,G),T(w.current),d&&K&&!w.current.some(Boolean)&&d(C.current)}function k(z){return i.format(z)}function Q(z,G){A(z,I(G))}function V(z){return Math.round((z-r)/a)*a+r}function I(z){const G=z*(n-r)+r;return Cu(V(G),r,n)}function q(z,G=1){let K=Math.max(G,a);A(z,ss(h[z]+K,r,n,a))}function M(z,G=1){let K=Math.max(G,a);A(z,ss(h[z]-K,r,n,a))}return{values:h,getThumbValue:z=>h[z],setThumbValue:A,setThumbPercent:Q,isThumbDragging:z=>m[z],setThumbDragging:H,focusedThumb:O,setFocusedThumb:x,getThumbPercent:z=>P(h[z]),getValuePercent:P,getThumbValueLabel:z=>k(h[z]),getFormattedValue:k,getThumbMinValue:L,getThumbMaxValue:N,getPercentValue:I,isThumbEditable:B,setThumbEditable:j,incrementThumb:q,decrementThumb:M,step:a,pageSize:s,orientation:o,isDisabled:t}}function CK(e,t,r){return e[t]===r?e:[...e.slice(0,t),r,...e.slice(t+1)]}function PK(e){if(e!=null)return Array.isArray(e)?e:[e]}function DK(e,t,r){return n=>{typeof e=="number"||typeof t=="number"?r==null||r(n[0]):r==null||r(n)}}function kIe(e){let{minValue:t,maxValue:r,step:n,formatOptions:i,value:a,defaultValue:o=NaN,onChange:s,locale:u,isDisabled:l,isReadOnly:c}=e;a===null&&(a=NaN),a!==void 0&&!isNaN(a)&&(n!==void 0&&!isNaN(n)?a=ss(a,t,r,n):a=Cu(a,t,r)),isNaN(o)||(n!==void 0&&!isNaN(n)?o=ss(o,t,r,n):o=Cu(o,t,r));let[f,d]=Ka(a,isNaN(o)?NaN:o,s),[h,g]=F.useState(()=>isNaN(f)?"":new W_(u,i).format(f)),m=F.useMemo(()=>new EN(u,i),[u,i]),v=F.useMemo(()=>m.getNumberingSystem(h),[m,h]),y=F.useMemo(()=>new W_(u,{...i,numberingSystem:v}),[u,i,v]),O=F.useMemo(()=>y.resolvedOptions(),[y]),x=F.useCallback(G=>isNaN(G)||G===null?"":y.format(G),[y]),C=vO({...e,value:f}),w=n!==void 0&&!isNaN(n)?n:1;O.style==="percent"&&(n===void 0||isNaN(n))&&(w=.01);let[E,T]=F.useState(f),[P,L]=F.useState(u),[N,B]=F.useState(i);(!Object.is(f,E)||u!==P||i!==N)&&(g(x(f)),T(f),L(u),B(i));let j=F.useMemo(()=>m.parse(h),[m,h]),A=()=>{if(!h.length){d(NaN),g(a===void 0?"":x(f));return}if(isNaN(j)){g(x(f));return}let G;n===void 0||isNaN(n)?G=Cu(j,t,r):G=ss(j,t,r,n),G=m.parse(x(G)),d(G),g(x(a===void 0?G:f))},H=(G,K=0)=>{let te=j;if(isNaN(te)){let ae=isNaN(K)?0:K;return ss(ae,t,r,w)}else{let ae=ss(te,t,r,w);return G==="+"&&ae>te||G==="-"&&ae<te?ae:ss(LT(G,te,w),t,r,w)}},k=()=>{let G=H("+",t);G===f&&g(x(G)),d(G),C.commitValidation()},Q=()=>{let G=H("-",r);G===f&&g(x(G)),d(G),C.commitValidation()},V=()=>{r!=null&&(d(ss(r,t,r,w)),C.commitValidation())},I=()=>{t!=null&&(d(t),C.commitValidation())},q=F.useMemo(()=>!l&&!c&&(isNaN(j)||r===void 0||isNaN(r)||ss(j,t,r,w)>j||LT("+",j,w)<=r),[l,c,t,r,w,j]),M=F.useMemo(()=>!l&&!c&&(isNaN(j)||t===void 0||isNaN(t)||ss(j,t,r,w)<j||LT("-",j,w)>=t),[l,c,t,r,w,j]);return{...C,validate:G=>m.isValidPartialNumber(G,t,r),increment:k,incrementToMax:V,decrement:Q,decrementToMin:I,canIncrement:q,canDecrement:M,minValue:t,maxValue:r,numberValue:j,setNumberValue:d,setInputValue:g,inputValue:h,commit:A}}function LT(e,t,r){let n=e==="+"?t+r:t-r;if(t%1!==0||r%1!==0){const i=t.toString().split("."),a=r.toString().split("."),o=i[1]&&i[1].length||0,s=a[1]&&a[1].length||0,u=Math.pow(10,Math.max(o,s));t=Math.round(t*u),r=Math.round(r*u),n=e==="+"?t+r:t-r,n/=u}return n}const vL=new WeakMap;function x9(e,t){let r=vL.get(e);if(!r)throw new Error("Unknown slider state");return`${r.id}-${t}`}function TIe(e,t,r){let{labelProps:n,fieldProps:i}=V$(e),a=e.orientation==="vertical";var o;vL.set(t,{id:(o=n.id)!==null&&o!==void 0?o:i.id,"aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]});let{direction:s}=Ha(),{addGlobalListener:u,removeGlobalListener:l}=Mg();const c=F.useRef(null),f=s==="rtl",d=F.useRef(null),{moveProps:h}=mue({onMoveStart(){d.current=null},onMove({deltaX:y,deltaY:O}){if(!r.current)return;let{height:x,width:C}=r.current.getBoundingClientRect(),w=a?x:C;d.current==null&&c.current!=null&&(d.current=t.getThumbPercent(c.current)*w);let E=a?O:y;if((a||f)&&(E=-E),d.current+=E,c.current!=null&&r.current){const T=Cu(d.current/w,0,1);t.setThumbPercent(c.current,T)}},onMoveEnd(){c.current!=null&&(t.setThumbDragging(c.current,!1),c.current=null)}});let g=F.useRef(void 0),m=(y,O,x,C)=>{if(r.current&&!e.isDisabled&&t.values.every((w,E)=>!t.isThumbDragging(E))){let{height:w,width:E,top:T,left:P}=r.current.getBoundingClientRect(),L=a?w:E,A=((a?C:x)-(a?T:P))/L;(s==="rtl"||a)&&(A=1-A);let H=t.getPercentValue(A),k,Q=t.values.findIndex(V=>H-V<0);if(Q===0)k=Q;else if(Q===-1)k=t.values.length-1;else{let V=t.values[Q-1],I=t.values[Q];Math.abs(V-H)<Math.abs(I-H)?k=Q-1:k=Q}k>=0&&t.isThumbEditable(k)?(y.preventDefault(),c.current=k,t.setFocusedThumb(k),g.current=O,t.setThumbDragging(c.current,!0),t.setThumbValue(k,H),u(window,"mouseup",v,!1),u(window,"touchend",v,!1),u(window,"pointerup",v,!1)):c.current=null}},v=y=>{var O,x;((x=y.pointerId)!==null&&x!==void 0?x:(O=y.changedTouches)===null||O===void 0?void 0:O[0].identifier)===g.current&&(c.current!=null&&(t.setThumbDragging(c.current,!1),c.current=null),l(window,"mouseup",v,!1),l(window,"touchend",v,!1),l(window,"pointerup",v,!1))};return"htmlFor"in n&&n.htmlFor&&(delete n.htmlFor,n.onClick=()=>{var y;(y=document.getElementById(x9(t,0)))===null||y===void 0||y.focus(),QN("keyboard")}),{labelProps:n,groupProps:{role:"group",...i},trackProps:Qt({onMouseDown(y){y.button!==0||y.altKey||y.ctrlKey||y.metaKey||m(y,void 0,y.clientX,y.clientY)},onPointerDown(y){y.pointerType==="mouse"&&(y.button!==0||y.altKey||y.ctrlKey||y.metaKey)||m(y,y.pointerId,y.clientX,y.clientY)},onTouchStart(y){m(y,y.changedTouches[0].identifier,y.changedTouches[0].clientX,y.changedTouches[0].clientY)},style:{position:"relative",touchAction:"none"}},h),outputProps:{htmlFor:t.values.map((y,O)=>x9(t,O)).join(" "),"aria-live":"off"}}}function AIe(e,t){let{index:r=0,isRequired:n,validationState:i,isInvalid:a,trackRef:o,inputRef:s,orientation:u=t.orientation,name:l}=e,c=e.isDisabled||t.isDisabled,f=u==="vertical",{direction:d}=Ha(),{addGlobalListener:h,removeGlobalListener:g}=Mg(),m=vL.get(t);var v;const{labelProps:y,fieldProps:O}=V$({...e,id:x9(t,r),"aria-labelledby":`${m.id} ${(v=e["aria-labelledby"])!==null&&v!==void 0?v:""}`.trim()}),x=t.values[r],C=F.useCallback(()=>{s.current&&rh(s.current)},[s]),w=t.focusedThumb===r;F.useEffect(()=>{w&&C()},[w,C]);let E=d==="rtl",T=F.useRef(null),{keyboardProps:P}=BN({onKeyDown(Q){let{getThumbMaxValue:V,getThumbMinValue:I,decrementThumb:q,incrementThumb:M,setThumbValue:z,setThumbDragging:G,pageSize:K}=t;if(!/^(PageUp|PageDown|Home|End)$/.test(Q.key)){Q.continuePropagation();return}switch(Q.preventDefault(),G(r,!0),Q.key){case"PageUp":M(r,K);break;case"PageDown":q(r,K);break;case"Home":z(r,I(r));break;case"End":z(r,V(r));break}G(r,!1)}}),{moveProps:L}=mue({onMoveStart(){T.current=null,t.setThumbDragging(r,!0)},onMove({deltaX:Q,deltaY:V,pointerType:I,shiftKey:q}){const{getThumbPercent:M,setThumbPercent:z,decrementThumb:G,incrementThumb:K,step:te,pageSize:ae}=t;if(!o.current)return;let{width:ie,height:Se}=o.current.getBoundingClientRect(),pe=f?Se:ie;if(T.current==null&&(T.current=M(r)*pe),I==="keyboard")Q>0&&E||Q<0&&!E||V>0?G(r,q?ae:te):K(r,q?ae:te);else{let xe=f?V:Q;(f||E)&&(xe=-xe),T.current+=xe,z(r,Cu(T.current/pe,0,1))}},onMoveEnd(){t.setThumbDragging(r,!1)}});t.setThumbEditable(r,!c);const{focusableProps:N}=Ng(Qt(e,{onFocus:()=>t.setFocusedThumb(r),onBlur:()=>t.setFocusedThumb(void 0)}),s);let B=F.useRef(void 0),j=Q=>{C(),B.current=Q,t.setThumbDragging(r,!0),h(window,"mouseup",A,!1),h(window,"touchend",A,!1),h(window,"pointerup",A,!1)},A=Q=>{var V,I;((I=Q.pointerId)!==null&&I!==void 0?I:(V=Q.changedTouches)===null||V===void 0?void 0:V[0].identifier)===B.current&&(C(),t.setThumbDragging(r,!1),g(window,"mouseup",A,!1),g(window,"touchend",A,!1),g(window,"pointerup",A,!1))},H=t.getThumbPercent(r);(f||d==="rtl")&&(H=1-H);let k=c?{}:Qt(P,L,{onMouseDown:Q=>{Q.button!==0||Q.altKey||Q.ctrlKey||Q.metaKey||j()},onPointerDown:Q=>{Q.button!==0||Q.altKey||Q.ctrlKey||Q.metaKey||j(Q.pointerId)},onTouchStart:Q=>{j(Q.changedTouches[0].identifier)}});return fO(s,x,Q=>{t.setThumbValue(r,Q)}),{inputProps:Qt(N,O,{type:"range",tabIndex:c?void 0:0,min:t.getThumbMinValue(r),max:t.getThumbMaxValue(r),step:t.step,value:x,name:l,disabled:c,"aria-orientation":u,"aria-valuetext":t.getThumbValueLabel(r),"aria-required":n||void 0,"aria-invalid":a||i==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-describedby":[m["aria-describedby"],e["aria-describedby"]].filter(Boolean).join(" "),"aria-details":[m["aria-details"],e["aria-details"]].filter(Boolean).join(" "),onChange:Q=>{t.setThumbValue(r,parseFloat(Q.target.value))}}),thumbProps:{...k,style:{position:"absolute",[f?"top":"left"]:`${H*100}%`,transform:"translate(-50%, -50%)",touchAction:"none"}},labelProps:y,isDragging:t.isThumbDragging(r),isDisabled:c,isFocused:w}}function j$(e,t){let{inputElementType:r="input",isDisabled:n=!1,isRequired:i=!1,isReadOnly:a=!1,type:o="text",validationBehavior:s="aria"}=e,[u,l]=Ka(e.value,e.defaultValue||"",e.onChange),{focusableProps:c}=Ng(e,t),f=vO({...e,value:u}),{isInvalid:d,validationErrors:h,validationDetails:g}=f.displayValidation,{labelProps:m,fieldProps:v,descriptionProps:y,errorMessageProps:O}=cw({...e,isInvalid:d,errorMessage:e.errorMessage||h}),x=Jr(e,{labelable:!0});const C={type:o,pattern:e.pattern};return fO(t,u,l),U$(e,f,t),F.useEffect(()=>{if(t.current instanceof cc(t.current).HTMLTextAreaElement){let w=t.current;Object.defineProperty(w,"defaultValue",{get:()=>w.value,set:()=>{},configurable:!0})}},[t]),{labelProps:m,inputProps:Qt(x,r==="input"?C:void 0,{disabled:n,readOnly:a,required:i&&s==="native","aria-required":i&&s==="aria"||void 0,"aria-invalid":d||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],"aria-controls":e["aria-controls"],value:u,onChange:w=>l(w.target.value),autoComplete:e.autoComplete,autoCapitalize:e.autoCapitalize,maxLength:e.maxLength,minLength:e.minLength,name:e.name,placeholder:e.placeholder,inputMode:e.inputMode,autoCorrect:e.autoCorrect,spellCheck:e.spellCheck,[parseInt($e.version,10)>=17?"enterKeyHint":"enterkeyhint"]:e.enterKeyHint,onCopy:e.onCopy,onCut:e.onCut,onPaste:e.onPaste,onCompositionEnd:e.onCompositionEnd,onCompositionStart:e.onCompositionStart,onCompositionUpdate:e.onCompositionUpdate,onSelect:e.onSelect,onBeforeInput:e.onBeforeInput,onInput:e.onInput,...c,...v}),descriptionProps:y,errorMessageProps:O,isInvalid:d,validationErrors:h,validationDetails:g}}function RK(){return typeof window<"u"&&window.InputEvent&&typeof InputEvent.prototype.getTargetRanges=="function"}function FIe(e,t,r){let n=Aa(f=>{let d=r.current;if(!d)return;let h=null;switch(f.inputType){case"historyUndo":case"historyRedo":return;case"insertLineBreak":return;case"deleteContent":case"deleteByCut":case"deleteByDrag":h=d.value.slice(0,d.selectionStart)+d.value.slice(d.selectionEnd);break;case"deleteContentForward":h=d.selectionEnd===d.selectionStart?d.value.slice(0,d.selectionStart)+d.value.slice(d.selectionEnd+1):d.value.slice(0,d.selectionStart)+d.value.slice(d.selectionEnd);break;case"deleteContentBackward":h=d.selectionEnd===d.selectionStart?d.value.slice(0,d.selectionStart-1)+d.value.slice(d.selectionStart):d.value.slice(0,d.selectionStart)+d.value.slice(d.selectionEnd);break;case"deleteSoftLineBackward":case"deleteHardLineBackward":h=d.value.slice(d.selectionStart);break;default:f.data!=null&&(h=d.value.slice(0,d.selectionStart)+f.data+d.value.slice(d.selectionEnd));break}(h==null||!t.validate(h))&&f.preventDefault()});F.useEffect(()=>{if(!RK()||!r.current)return;let f=r.current;return f.addEventListener("beforeinput",n,!1),()=>{f.removeEventListener("beforeinput",n,!1)}},[r,n]);let i=RK()?null:f=>{let d=f.target.value.slice(0,f.target.selectionStart)+f.data+f.target.value.slice(f.target.selectionEnd);t.validate(d)||f.preventDefault()},{labelProps:a,inputProps:o,descriptionProps:s,errorMessageProps:u,...l}=j$(e,r),c=F.useRef(null);return{inputProps:Qt(o,{onBeforeInput:i,onCompositionStart(){let{value:f,selectionStart:d,selectionEnd:h}=r.current;c.current={value:f,selectionStart:d,selectionEnd:h}},onCompositionEnd(){if(r.current&&!t.validate(r.current.value)){let{value:f,selectionStart:d,selectionEnd:h}=c.current;r.current.value=f,r.current.setSelectionRange(d,h),t.setInputValue(f)}}}),labelProps:a,descriptionProps:s,errorMessageProps:u,...l}}var Efe={};Efe={Empty:"فارغ"};var $fe={};$fe={Empty:"Изпразни"};var Cfe={};Cfe={Empty:"Prázdné"};var Pfe={};Pfe={Empty:"Tom"};var Dfe={};Dfe={Empty:"Leer"};var Rfe={};Rfe={Empty:"Άδειο"};var kfe={};kfe={Empty:"Empty"};var Tfe={};Tfe={Empty:"Vacío"};var Afe={};Afe={Empty:"Tühjenda"};var Ffe={};Ffe={Empty:"Tyhjä"};var Ife={};Ife={Empty:"Vide"};var Mfe={};Mfe={Empty:"ריק"};var Nfe={};Nfe={Empty:"Prazno"};var Lfe={};Lfe={Empty:"Üres"};var zfe={};zfe={Empty:"Vuoto"};var Qfe={};Qfe={Empty:"空"};var Bfe={};Bfe={Empty:"비어 있음"};var qfe={};qfe={Empty:"Tuščias"};var Ufe={};Ufe={Empty:"Tukšs"};var Vfe={};Vfe={Empty:"Tom"};var jfe={};jfe={Empty:"Leeg"};var Wfe={};Wfe={Empty:"Pusty"};var Zfe={};Zfe={Empty:"Vazio"};var Kfe={};Kfe={Empty:"Vazio"};var Hfe={};Hfe={Empty:"Gol"};var Yfe={};Yfe={Empty:"Не заполнено"};var Gfe={};Gfe={Empty:"Prázdne"};var Xfe={};Xfe={Empty:"Prazen"};var Jfe={};Jfe={Empty:"Prazno"};var ede={};ede={Empty:"Tomt"};var tde={};tde={Empty:"Boş"};var rde={};rde={Empty:"Пусто"};var nde={};nde={Empty:"空"};var ide={};ide={Empty:"空白"};var ade={};ade={"ar-AE":Efe,"bg-BG":$fe,"cs-CZ":Cfe,"da-DK":Pfe,"de-DE":Dfe,"el-GR":Rfe,"en-US":kfe,"es-ES":Tfe,"et-EE":Afe,"fi-FI":Ffe,"fr-FR":Ife,"he-IL":Mfe,"hr-HR":Nfe,"hu-HU":Lfe,"it-IT":zfe,"ja-JP":Qfe,"ko-KR":Bfe,"lt-LT":qfe,"lv-LV":Ufe,"nb-NO":Vfe,"nl-NL":jfe,"pl-PL":Wfe,"pt-BR":Zfe,"pt-PT":Kfe,"ro-RO":Hfe,"ru-RU":Yfe,"sk-SK":Gfe,"sl-SI":Xfe,"sr-SP":Jfe,"sv-SE":ede,"tr-TR":tde,"uk-UA":rde,"zh-CN":nde,"zh-TW":ide};function IIe(e){return e&&e.__esModule?e.default:e}function ode(e){const t=F.useRef(void 0);let{value:r,textValue:n,minValue:i,maxValue:a,isDisabled:o,isReadOnly:s,isRequired:u,onIncrement:l,onIncrementPage:c,onDecrement:f,onDecrementPage:d,onDecrementToMin:h,onIncrementToMax:g}=e;const m=dh(IIe(ade),"@react-aria/spinbutton"),v=()=>clearTimeout(t.current);F.useEffect(()=>()=>v(),[]);let y=B=>{if(!(B.ctrlKey||B.metaKey||B.shiftKey||B.altKey||s))switch(B.key){case"PageUp":if(c){B.preventDefault(),c==null||c();break}case"ArrowUp":case"Up":l&&(B.preventDefault(),l==null||l());break;case"PageDown":if(d){B.preventDefault(),d==null||d();break}case"ArrowDown":case"Down":f&&(B.preventDefault(),f==null||f());break;case"Home":h&&(B.preventDefault(),h==null||h());break;case"End":g&&(B.preventDefault(),g==null||g());break}},O=F.useRef(!1),x=()=>{O.current=!0},C=()=>{O.current=!1},w=n===""?m.format("Empty"):(n||`${r}`).replace("-","−");F.useEffect(()=>{O.current&&(yIe("assertive"),oy(w,"assertive"))},[w]);const E=Aa(B=>{v(),l==null||l(),t.current=window.setTimeout(()=>{(a===void 0||isNaN(a)||r===void 0||isNaN(r)||r<a)&&E(60)},B)}),T=Aa(B=>{v(),f==null||f(),t.current=window.setTimeout(()=>{(i===void 0||isNaN(i)||r===void 0||isNaN(r)||r>i)&&T(60)},B)});let P=B=>{B.preventDefault()},{addGlobalListener:L,removeAllGlobalListeners:N}=Mg();return{spinButtonProps:{role:"spinbutton","aria-valuenow":r!==void 0&&!isNaN(r)?r:void 0,"aria-valuetext":w,"aria-valuemin":i,"aria-valuemax":a,"aria-disabled":o||void 0,"aria-readonly":s||void 0,"aria-required":u||void 0,onKeyDown:y,onFocus:x,onBlur:C},incrementButtonProps:{onPressStart:()=>{E(400),L(window,"contextmenu",P)},onPressEnd:()=>{v(),N()},onFocus:x,onBlur:C},decrementButtonProps:{onPressStart:()=>{T(400),L(window,"contextmenu",P)},onPressEnd:()=>{v(),N()},onFocus:x,onBlur:C}}}var sde={};sde={decrease:e=>`خفض ${e.fieldLabel}`,increase:e=>`زيادة ${e.fieldLabel}`,numberField:"حقل رقمي"};var ude={};ude={decrease:e=>`Намаляване ${e.fieldLabel}`,increase:e=>`Усилване ${e.fieldLabel}`,numberField:"Номер на полето"};var lde={};lde={decrease:e=>`Snížit ${e.fieldLabel}`,increase:e=>`Zvýšit ${e.fieldLabel}`,numberField:"Číselné pole"};var cde={};cde={decrease:e=>`Reducer ${e.fieldLabel}`,increase:e=>`Øg ${e.fieldLabel}`,numberField:"Talfelt"};var fde={};fde={decrease:e=>`${e.fieldLabel} verringern`,increase:e=>`${e.fieldLabel} erhöhen`,numberField:"Nummernfeld"};var dde={};dde={decrease:e=>`Μείωση ${e.fieldLabel}`,increase:e=>`Αύξηση ${e.fieldLabel}`,numberField:"Πεδίο αριθμού"};var hde={};hde={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var pde={};pde={decrease:e=>`Reducir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var mde={};mde={decrease:e=>`Vähenda ${e.fieldLabel}`,increase:e=>`Suurenda ${e.fieldLabel}`,numberField:"Numbri väli"};var gde={};gde={decrease:e=>`Vähennä ${e.fieldLabel}`,increase:e=>`Lisää ${e.fieldLabel}`,numberField:"Numerokenttä"};var vde={};vde={decrease:e=>`Diminuer ${e.fieldLabel}`,increase:e=>`Augmenter ${e.fieldLabel}`,numberField:"Champ de nombre"};var yde={};yde={decrease:e=>`הקטן ${e.fieldLabel}`,increase:e=>`הגדל ${e.fieldLabel}`,numberField:"שדה מספר"};var bde={};bde={decrease:e=>`Smanji ${e.fieldLabel}`,increase:e=>`Povećaj ${e.fieldLabel}`,numberField:"Polje broja"};var Ode={};Ode={decrease:e=>`${e.fieldLabel} csökkentése`,increase:e=>`${e.fieldLabel} növelése`,numberField:"Számmező"};var xde={};xde={decrease:e=>`Riduci ${e.fieldLabel}`,increase:e=>`Aumenta ${e.fieldLabel}`,numberField:"Campo numero"};var _de={};_de={decrease:e=>`${e.fieldLabel}を縮小`,increase:e=>`${e.fieldLabel}を拡大`,numberField:"数値フィールド"};var Sde={};Sde={decrease:e=>`${e.fieldLabel} 감소`,increase:e=>`${e.fieldLabel} 증가`,numberField:"번호 필드"};var wde={};wde={decrease:e=>`Sumažinti ${e.fieldLabel}`,increase:e=>`Padidinti ${e.fieldLabel}`,numberField:"Numerio laukas"};var Ede={};Ede={decrease:e=>`Samazināšana ${e.fieldLabel}`,increase:e=>`Palielināšana ${e.fieldLabel}`,numberField:"Skaitļu lauks"};var $de={};$de={decrease:e=>`Reduser ${e.fieldLabel}`,increase:e=>`Øk ${e.fieldLabel}`,numberField:"Tallfelt"};var Cde={};Cde={decrease:e=>`${e.fieldLabel} verlagen`,increase:e=>`${e.fieldLabel} verhogen`,numberField:"Getalveld"};var Pde={};Pde={decrease:e=>`Zmniejsz ${e.fieldLabel}`,increase:e=>`Zwiększ ${e.fieldLabel}`,numberField:"Pole numeru"};var Dde={};Dde={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var Rde={};Rde={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo numérico"};var kde={};kde={decrease:e=>`Scădere ${e.fieldLabel}`,increase:e=>`Creștere ${e.fieldLabel}`,numberField:"Câmp numeric"};var Tde={};Tde={decrease:e=>`Уменьшение ${e.fieldLabel}`,increase:e=>`Увеличение ${e.fieldLabel}`,numberField:"Числовое поле"};var Ade={};Ade={decrease:e=>`Znížiť ${e.fieldLabel}`,increase:e=>`Zvýšiť ${e.fieldLabel}`,numberField:"Číselné pole"};var Fde={};Fde={decrease:e=>`Upadati ${e.fieldLabel}`,increase:e=>`Povečajte ${e.fieldLabel}`,numberField:"Številčno polje"};var Ide={};Ide={decrease:e=>`Smanji ${e.fieldLabel}`,increase:e=>`Povećaj ${e.fieldLabel}`,numberField:"Polje broja"};var Mde={};Mde={decrease:e=>`Minska ${e.fieldLabel}`,increase:e=>`Öka ${e.fieldLabel}`,numberField:"Nummerfält"};var Nde={};Nde={decrease:e=>`${e.fieldLabel} azalt`,increase:e=>`${e.fieldLabel} arttır`,numberField:"Sayı alanı"};var Lde={};Lde={decrease:e=>`Зменшити ${e.fieldLabel}`,increase:e=>`Збільшити ${e.fieldLabel}`,numberField:"Поле номера"};var zde={};zde={decrease:e=>`降低 ${e.fieldLabel}`,increase:e=>`提高 ${e.fieldLabel}`,numberField:"数字字段"};var Qde={};Qde={decrease:e=>`縮小 ${e.fieldLabel}`,increase:e=>`放大 ${e.fieldLabel}`,numberField:"數字欄位"};var Bde={};Bde={"ar-AE":sde,"bg-BG":ude,"cs-CZ":lde,"da-DK":cde,"de-DE":fde,"el-GR":dde,"en-US":hde,"es-ES":pde,"et-EE":mde,"fi-FI":gde,"fr-FR":vde,"he-IL":yde,"hr-HR":bde,"hu-HU":Ode,"it-IT":xde,"ja-JP":_de,"ko-KR":Sde,"lt-LT":wde,"lv-LV":Ede,"nb-NO":$de,"nl-NL":Cde,"pl-PL":Pde,"pt-BR":Dde,"pt-PT":Rde,"ro-RO":kde,"ru-RU":Tde,"sk-SK":Ade,"sl-SI":Fde,"sr-SP":Ide,"sv-SE":Mde,"tr-TR":Nde,"uk-UA":Lde,"zh-CN":zde,"zh-TW":Qde};function MIe(e){return e&&e.__esModule?e.default:e}function NIe(e,t,r){let{id:n,decrementAriaLabel:i,incrementAriaLabel:a,isDisabled:o,isReadOnly:s,isRequired:u,minValue:l,maxValue:c,autoFocus:f,label:d,formatOptions:h,onBlur:g=()=>{},onFocus:m,onFocusChange:v,onKeyDown:y,onKeyUp:O,description:x,errorMessage:C,isWheelDisabled:w,...E}=e,{increment:T,incrementToMax:P,decrement:L,decrementToMin:N,numberValue:B,inputValue:j,commit:A,commitValidation:H}=t;const k=dh(MIe(Bde),"@react-aria/numberfield");let Q=Bi(n),{focusProps:V}=T$({onBlur(){A()}}),I=qI(h),q=F.useMemo(()=>I.resolvedOptions(),[I]),M=qI({...h,currencySign:void 0}),z=F.useMemo(()=>isNaN(B)?"":M.format(B),[M,B]),{spinButtonProps:G,incrementButtonProps:K,decrementButtonProps:te}=ode({isDisabled:o,isReadOnly:s,isRequired:u,maxValue:c,minValue:l,onIncrement:T,onIncrementToMax:P,onDecrement:L,onDecrementToMin:N,value:B,textValue:z}),[ae,ie]=F.useState(!1),{focusWithinProps:Se}=Lg({isDisabled:o,onFocusWithinChange:ie}),pe=F.useCallback(Mt=>{Math.abs(Mt.deltaY)<=Math.abs(Mt.deltaX)||(Mt.deltaY>0?T():Mt.deltaY<0&&L())},[L,T]);vke({onScroll:pe,isDisabled:w||o||s||!ae},r);var Oe;let me=((Oe=q.maximumFractionDigits)!==null&&Oe!==void 0?Oe:0)>0,ne=t.minValue===void 0||isNaN(t.minValue)||t.minValue<0,se="numeric";Jse()?ne?se="text":me&&(se="decimal"):P$()&&(ne?se="numeric":me&&(se="decimal"));let X=Mt=>{t.validate(Mt)&&t.setInputValue(Mt)},re=Jr(e),he=F.useCallback(Mt=>{Mt.key==="Enter"?(A(),H()):Mt.continuePropagation()},[A,H]),{isInvalid:ge,validationErrors:le,validationDetails:ve}=t.displayValidation,{labelProps:_e,inputProps:De,descriptionProps:Te,errorMessageProps:ke}=FIe({...E,...re,name:void 0,label:d,autoFocus:f,isDisabled:o,isReadOnly:s,isRequired:u,validate:void 0,[Y2]:t,value:j,defaultValue:void 0,autoComplete:"off","aria-label":e["aria-label"]||void 0,"aria-labelledby":e["aria-labelledby"]||void 0,id:Q,type:"text",inputMode:se,onChange:X,onBlur:g,onFocus:m,onFocusChange:v,onKeyDown:F.useMemo(()=>Kf(he,y),[he,y]),onKeyUp:O,description:x,errorMessage:C},t,r);fO(r,t.numberValue,t.setNumberValue);let Be=Qt(G,V,De,{role:null,"aria-roledescription":lO()?null:k.format("numberField"),"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null,autoCorrect:"off",spellCheck:"false"});e.validationBehavior==="native"&&(Be["aria-required"]=void 0);let rt=Mt=>{var zt;document.activeElement!==r.current&&(Mt.pointerType==="mouse"?(zt=r.current)===null||zt===void 0||zt.focus():Mt.target.focus())},Le=e["aria-label"]||(typeof e.label=="string"?e.label:""),Ve;Le||(Ve=e.label!=null?_e.id:e["aria-labelledby"]);let at=Bi(),bt=Bi(),_t=Qt(K,{"aria-label":a||k.format("increase",{fieldLabel:Le}).trim(),id:Ve&&!a?at:null,"aria-labelledby":Ve&&!a?`${at} ${Ve}`:null,"aria-controls":Q,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canIncrement,onPressStart:rt}),pt=Qt(te,{"aria-label":i||k.format("decrease",{fieldLabel:Le}).trim(),id:Ve&&!i?bt:null,"aria-labelledby":Ve&&!i?`${bt} ${Ve}`:null,"aria-controls":Q,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canDecrement,onPressStart:rt});return{groupProps:{...Se,role:"group","aria-disabled":o,"aria-invalid":ge?"true":void 0},labelProps:_e,inputProps:Be,incrementButtonProps:_t,decrementButtonProps:pt,errorMessageProps:ke,descriptionProps:Te,isInvalid:ge,validationErrors:le,validationDetails:ve}}var qde={};qde={buttonLabel:"عرض المقترحات",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} خيار`,other:()=>`${t.number(e.optionCount)} خيارات`})} متاحة.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`المجموعة المدخلة ${e.groupTitle}, مع ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} خيار`,other:()=>`${t.number(e.groupCount)} خيارات`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", محدد",other:""},e.isSelected)}`,listboxLabel:"مقترحات",selectedAnnouncement:e=>`${e.optionText}، محدد`};var Ude={};Ude={buttonLabel:"Покажи предложения",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} опция`,other:()=>`${t.number(e.optionCount)} опции`})} на разположение.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Въведена група ${e.groupTitle}, с ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} опция`,other:()=>`${t.number(e.groupCount)} опции`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", избрани",other:""},e.isSelected)}`,listboxLabel:"Предложения",selectedAnnouncement:e=>`${e.optionText}, избрани`};var Vde={};Vde={buttonLabel:"Zobrazit doporučení",countAnnouncement:(e,t)=>`K dispozici ${t.plural(e.optionCount,{one:()=>`je ${t.number(e.optionCount)} možnost`,other:()=>`jsou/je ${t.number(e.optionCount)} možnosti/-í`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadaná skupina „${e.groupTitle}“ ${t.plural(e.groupCount,{one:()=>`s ${t.number(e.groupCount)} možností`,other:()=>`se ${t.number(e.groupCount)} možnostmi`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:" (vybráno)",other:""},e.isSelected)}`,listboxLabel:"Návrhy",selectedAnnouncement:e=>`${e.optionText}, vybráno`};var jde={};jde={buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} mulighed tilgængelig`,other:()=>`${t.number(e.optionCount)} muligheder tilgængelige`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angivet gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} mulighed`,other:()=>`${t.number(e.groupCount)} muligheder`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`};var Wde={};Wde={buttonLabel:"Empfehlungen anzeigen",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} Option`,other:()=>`${t.number(e.optionCount)} Optionen`})} verfügbar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Eingetretene Gruppe ${e.groupTitle}, mit ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} Option`,other:()=>`${t.number(e.groupCount)} Optionen`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", ausgewählt",other:""},e.isSelected)}`,listboxLabel:"Empfehlungen",selectedAnnouncement:e=>`${e.optionText}, ausgewählt`};var Zde={};Zde={buttonLabel:"Προβολή προτάσεων",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} επιλογή`,other:()=>`${t.number(e.optionCount)} επιλογές `})} διαθέσιμες.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Εισαγμένη ομάδα ${e.groupTitle}, με ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} επιλογή`,other:()=>`${t.number(e.groupCount)} επιλογές`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", επιλεγμένο",other:""},e.isSelected)}`,listboxLabel:"Προτάσεις",selectedAnnouncement:e=>`${e.optionText}, επιλέχθηκε`};var Kde={};Kde={focusAnnouncement:(e,t)=>`${t.select({true:()=>`Entered group ${e.groupTitle}, with ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selected",other:""},e.isSelected)}`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} available.`,selectedAnnouncement:e=>`${e.optionText}, selected`,buttonLabel:"Show suggestions",listboxLabel:"Suggestions"};var Hde={};Hde={buttonLabel:"Mostrar sugerencias",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opción`,other:()=>`${t.number(e.optionCount)} opciones`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Se ha unido al grupo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opción`,other:()=>`${t.number(e.groupCount)} opciones`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", seleccionado",other:""},e.isSelected)}`,listboxLabel:"Sugerencias",selectedAnnouncement:e=>`${e.optionText}, seleccionado`};var Yde={};Yde={buttonLabel:"Kuva soovitused",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} valik`,other:()=>`${t.number(e.optionCount)} valikud`})} saadaval.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Sisestatud rühm ${e.groupTitle}, valikuga ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} valik`,other:()=>`${t.number(e.groupCount)} valikud`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valitud",other:""},e.isSelected)}`,listboxLabel:"Soovitused",selectedAnnouncement:e=>`${e.optionText}, valitud`};var Gde={};Gde={buttonLabel:"Näytä ehdotukset",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} vaihtoehto`,other:()=>`${t.number(e.optionCount)} vaihtoehdot`})} saatavilla.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Mentiin ryhmään ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} vaihtoehdon`,other:()=>`${t.number(e.groupCount)} vaihtoehdon`})} kanssa.`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valittu",other:""},e.isSelected)}`,listboxLabel:"Ehdotukset",selectedAnnouncement:e=>`${e.optionText}, valittu`};var Xde={};Xde={buttonLabel:"Afficher les suggestions",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groupe ${e.groupTitle} rejoint, avec ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", sélectionné(s)",other:""},e.isSelected)}`,listboxLabel:"Suggestions",selectedAnnouncement:e=>`${e.optionText}, sélectionné`};var Jde={};Jde={buttonLabel:"הצג הצעות",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`אפשרות ${t.number(e.optionCount)}`,other:()=>`${t.number(e.optionCount)} אפשרויות`})} במצב זמין.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`נכנס לקבוצה ${e.groupTitle}, עם ${t.plural(e.groupCount,{one:()=>`אפשרות ${t.number(e.groupCount)}`,other:()=>`${t.number(e.groupCount)} אפשרויות`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", נבחר",other:""},e.isSelected)}`,listboxLabel:"הצעות",selectedAnnouncement:e=>`${e.optionText}, נבחר`};var ehe={};ehe={buttonLabel:"Prikaži prijedloge",countAnnouncement:(e,t)=>`Dostupno još: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} opcije/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", odabranih",other:""},e.isSelected)}`,listboxLabel:"Prijedlozi",selectedAnnouncement:e=>`${e.optionText}, odabrano`};var the={};the={buttonLabel:"Javaslatok megjelenítése",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} lehetőség`,other:()=>`${t.number(e.optionCount)} lehetőség`})} áll rendelkezésre.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Belépett a(z) ${e.groupTitle} csoportba, amely ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} lehetőséget`,other:()=>`${t.number(e.groupCount)} lehetőséget`})} tartalmaz. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", kijelölve",other:""},e.isSelected)}`,listboxLabel:"Javaslatok",selectedAnnouncement:e=>`${e.optionText}, kijelölve`};var rhe={};rhe={buttonLabel:"Mostra suggerimenti",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opzione disponibile`,other:()=>`${t.number(e.optionCount)} opzioni disponibili`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingresso nel gruppo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opzione`,other:()=>`${t.number(e.groupCount)} opzioni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selezionato",other:""},e.isSelected)}`,listboxLabel:"Suggerimenti",selectedAnnouncement:e=>`${e.optionText}, selezionato`};var nhe={};nhe={buttonLabel:"候補を表示",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 個のオプション`,other:()=>`${t.number(e.optionCount)} 個のオプション`})}を利用できます。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`入力されたグループ ${e.groupTitle}、${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 個のオプション`,other:()=>`${t.number(e.groupCount)} 個のオプション`})}を含む。`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:"、選択済み",other:""},e.isSelected)}`,listboxLabel:"候補",selectedAnnouncement:e=>`${e.optionText}、選択済み`};var ihe={};ihe={buttonLabel:"제안 사항 표시",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)}개 옵션`,other:()=>`${t.number(e.optionCount)}개 옵션`})}을 사용할 수 있습니다.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`입력한 그룹 ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)}개 옵션`,other:()=>`${t.number(e.groupCount)}개 옵션`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 선택됨",other:""},e.isSelected)}`,listboxLabel:"제안",selectedAnnouncement:e=>`${e.optionText}, 선택됨`};var ahe={};ahe={buttonLabel:"Rodyti pasiūlymus",countAnnouncement:(e,t)=>`Yra ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} parinktis`,other:()=>`${t.number(e.optionCount)} parinktys (-ių)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Įvesta grupė ${e.groupTitle}, su ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} parinktimi`,other:()=>`${t.number(e.groupCount)} parinktimis (-ių)`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", pasirinkta",other:""},e.isSelected)}`,listboxLabel:"Pasiūlymai",selectedAnnouncement:e=>`${e.optionText}, pasirinkta`};var ohe={};ohe={buttonLabel:"Rādīt ieteikumus",countAnnouncement:(e,t)=>`Pieejamo opciju skaits: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcijas`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ievadīta grupa ${e.groupTitle}, ar ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opciju`,other:()=>`${t.number(e.groupCount)} opcijām`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", atlasīta",other:""},e.isSelected)}`,listboxLabel:"Ieteikumi",selectedAnnouncement:e=>`${e.optionText}, atlasīta`};var she={};she={buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativer`})} finnes.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angitt gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativer`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`};var uhe={};uhe={buttonLabel:"Suggesties weergeven",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} optie`,other:()=>`${t.number(e.optionCount)} opties`})} beschikbaar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groep ${e.groupTitle} ingevoerd met ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} optie`,other:()=>`${t.number(e.groupCount)} opties`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", geselecteerd",other:""},e.isSelected)}`,listboxLabel:"Suggesties",selectedAnnouncement:e=>`${e.optionText}, geselecteerd`};var lhe={};lhe={buttonLabel:"Wyświetlaj sugestie",countAnnouncement:(e,t)=>`dostępna/dostępne(-nych) ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcja`,other:()=>`${t.number(e.optionCount)} opcje(-i)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Dołączono do grupy ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcją`,other:()=>`${t.number(e.groupCount)} opcjami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", wybrano",other:""},e.isSelected)}`,listboxLabel:"Sugestie",selectedAnnouncement:e=>`${e.optionText}, wybrano`};var che={};che={buttonLabel:"Mostrar sugestões",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opção`,other:()=>`${t.number(e.optionCount)} opções`})} disponível.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo inserido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opção`,other:()=>`${t.number(e.groupCount)} opções`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugestões",selectedAnnouncement:e=>`${e.optionText}, selecionado`};var fhe={};fhe={buttonLabel:"Apresentar sugestões",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opção`,other:()=>`${t.number(e.optionCount)} opções`})} disponível.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo introduzido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opção`,other:()=>`${t.number(e.groupCount)} opções`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugestões",selectedAnnouncement:e=>`${e.optionText}, selecionado`};var dhe={};dhe={buttonLabel:"Afișare sugestii",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opțiune`,other:()=>`${t.number(e.optionCount)} opțiuni`})} disponibile.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grup ${e.groupTitle} introdus, cu ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opțiune`,other:()=>`${t.number(e.groupCount)} opțiuni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selectat",other:""},e.isSelected)}`,listboxLabel:"Sugestii",selectedAnnouncement:e=>`${e.optionText}, selectat`};var hhe={};hhe={buttonLabel:"Показать предложения",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} параметр`,other:()=>`${t.number(e.optionCount)} параметров`})} доступно.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Введенная группа ${e.groupTitle}, с ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} параметром`,other:()=>`${t.number(e.groupCount)} параметрами`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", выбранными",other:""},e.isSelected)}`,listboxLabel:"Предложения",selectedAnnouncement:e=>`${e.optionText}, выбрано`};var phe={};phe={buttonLabel:"Zobraziť návrhy",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} možnosť`,other:()=>`${t.number(e.optionCount)} možnosti/-í`})} k dispozícii.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadaná skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} možnosťou`,other:()=>`${t.number(e.groupCount)} možnosťami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", vybraté",other:""},e.isSelected)}`,listboxLabel:"Návrhy",selectedAnnouncement:e=>`${e.optionText}, vybraté`};var mhe={};mhe={buttonLabel:"Prikaži predloge",countAnnouncement:(e,t)=>`Na voljo je ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Vnesena skupina ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcija`,other:()=>`${t.number(e.groupCount)} opcije`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izbrano",other:""},e.isSelected)}`,listboxLabel:"Predlogi",selectedAnnouncement:e=>`${e.optionText}, izbrano`};var ghe={};ghe={buttonLabel:"Prikaži predloge",countAnnouncement:(e,t)=>`Dostupno još: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena grupa ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} optione/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izabranih",other:""},e.isSelected)}`,listboxLabel:"Predlozi",selectedAnnouncement:e=>`${e.optionText}, izabrano`};var vhe={};vhe={buttonLabel:"Visa förslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativ`})} tillgängliga.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingick i gruppen ${e.groupTitle} med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativ`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valda",other:""},e.isSelected)}`,listboxLabel:"Förslag",selectedAnnouncement:e=>`${e.optionText}, valda`};var yhe={};yhe={buttonLabel:"Önerileri göster",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} seçenek`,other:()=>`${t.number(e.optionCount)} seçenekler`})} kullanılabilir.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Girilen grup ${e.groupTitle}, ile ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} seçenek`,other:()=>`${t.number(e.groupCount)} seçenekler`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", seçildi",other:""},e.isSelected)}`,listboxLabel:"Öneriler",selectedAnnouncement:e=>`${e.optionText}, seçildi`};var bhe={};bhe={buttonLabel:"Показати пропозиції",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} параметр`,other:()=>`${t.number(e.optionCount)} параметри(-ів)`})} доступно.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Введена група ${e.groupTitle}, з ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} параметр`,other:()=>`${t.number(e.groupCount)} параметри(-ів)`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", вибрано",other:""},e.isSelected)}`,listboxLabel:"Пропозиції",selectedAnnouncement:e=>`${e.optionText}, вибрано`};var Ohe={};Ohe={buttonLabel:"显示建议",countAnnouncement:(e,t)=>`有 ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 个选项`,other:()=>`${t.number(e.optionCount)} 个选项`})}可用。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`进入了 ${e.groupTitle} 组,其中有 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 个选项`,other:()=>`${t.number(e.groupCount)} 个选项`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 已选择",other:""},e.isSelected)}`,listboxLabel:"建议",selectedAnnouncement:e=>`${e.optionText}, 已选择`};var xhe={};xhe={buttonLabel:"顯示建議",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 選項`,other:()=>`${t.number(e.optionCount)} 選項`})} 可用。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`輸入的群組 ${e.groupTitle}, 有 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 選項`,other:()=>`${t.number(e.groupCount)} 選項`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 已選取",other:""},e.isSelected)}`,listboxLabel:"建議",selectedAnnouncement:e=>`${e.optionText}, 已選取`};var _he={};_he={"ar-AE":qde,"bg-BG":Ude,"cs-CZ":Vde,"da-DK":jde,"de-DE":Wde,"el-GR":Zde,"en-US":Kde,"es-ES":Hde,"et-EE":Yde,"fi-FI":Gde,"fr-FR":Xde,"he-IL":Jde,"hr-HR":ehe,"hu-HU":the,"it-IT":rhe,"ja-JP":nhe,"ko-KR":ihe,"lt-LT":ahe,"lv-LV":ohe,"nb-NO":she,"nl-NL":uhe,"pl-PL":lhe,"pt-BR":che,"pt-PT":fhe,"ro-RO":dhe,"ru-RU":hhe,"sk-SK":phe,"sl-SI":mhe,"sr-SP":ghe,"sv-SE":vhe,"tr-TR":yhe,"uk-UA":bhe,"zh-CN":Ohe,"zh-TW":xhe};const W$=new WeakMap;function LIe(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function She(e,t){let r=W$.get(e);if(!r)throw new Error("Unknown list");return`${r.id}-option-${LIe(t)}`}function zIe(e,t,r){let n=Jr(e,{labelable:!0}),i=e.selectionBehavior||"toggle",a=e.linkBehavior||(i==="replace"?"action":"override");i==="toggle"&&a==="action"&&(a="override");let{listProps:o}=ZN({...e,ref:r,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,linkBehavior:a}),{focusWithinProps:s}=Lg({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),u=Bi(e.id);W$.set(t,{id:u,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction,linkBehavior:a});let{labelProps:l,fieldProps:c}=V$({...e,id:u,labelElementType:"span"});return{labelProps:l,listBoxProps:Qt(n,s,t.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox",...Qt(c,o)})}}function QIe(e,t,r){var n,i;let{key:a}=e,o=W$.get(t);var s;let u=(s=e.isDisabled)!==null&&s!==void 0?s:t.selectionManager.isDisabled(a);var l;let c=(l=e.isSelected)!==null&&l!==void 0?l:t.selectionManager.isSelected(a);var f;let d=(f=e.shouldSelectOnPressUp)!==null&&f!==void 0?f:o==null?void 0:o.shouldSelectOnPressUp;var h;let g=(h=e.shouldFocusOnHover)!==null&&h!==void 0?h:o==null?void 0:o.shouldFocusOnHover;var m;let v=(m=e.shouldUseVirtualFocus)!==null&&m!==void 0?m:o==null?void 0:o.shouldUseVirtualFocus;var y;let O=(y=e.isVirtualized)!==null&&y!==void 0?y:o==null?void 0:o.isVirtualized,x=I0(),C=I0(),w={role:"option","aria-disabled":u||void 0,"aria-selected":t.selectionManager.selectionMode!=="none"?c:void 0};z0()&&FN()||(w["aria-label"]=e["aria-label"],w["aria-labelledby"]=x,w["aria-describedby"]=C);let E=t.collection.getItem(a);if(O){let V=Number(E==null?void 0:E.index);w["aria-posinset"]=Number.isNaN(V)?void 0:V+1,w["aria-setsize"]=KN(t.collection)}let T=o!=null&&o.onAction?()=>{var V;return o==null||(V=o.onAction)===null||V===void 0?void 0:V.call(o,a)}:void 0,P=She(t,a),{itemProps:L,isPressed:N,isFocused:B,hasAction:j,allowsSelection:A}=F$({selectionManager:t.selectionManager,key:a,ref:r,shouldSelectOnPressUp:d,allowsDifferentPressOrigin:d&&g,isVirtualized:O,shouldUseVirtualFocus:v,isDisabled:u,onAction:T||!(E==null||(n=E.props)===null||n===void 0)&&n.onAction?Kf(E==null||(i=E.props)===null||i===void 0?void 0:i.onAction,T):void 0,linkBehavior:o==null?void 0:o.linkBehavior,id:P}),{hoverProps:H}=Ru({isDisabled:u||!g,onHoverStart(){gg()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(a))}}),k=Jr(E==null?void 0:E.props);delete k.id;let Q=IN(E==null?void 0:E.props);return{optionProps:{...w,...Qt(k,L,H,Q),id:P},labelProps:{id:x},descriptionProps:{id:C},isFocused:B,isFocusVisible:B&&t.selectionManager.isFocused&&gg(),isSelected:c,isDisabled:u,isPressed:N,allowsSelection:A,hasAction:j}}function BIe(e){let{heading:t,"aria-label":r}=e,n=Bi();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":r,"aria-labelledby":t?n:void 0}}}function qIe(e){return e&&e.__esModule?e.default:e}function UIe(e,t){let{buttonRef:r,popoverRef:n,inputRef:i,listBoxRef:a,keyboardDelegate:o,layoutDelegate:s,shouldFocusWrap:u,isReadOnly:l,isDisabled:c}=e,f=F.useRef(null);r=r??f;let d=dh(qIe(_he),"@react-aria/combobox"),{menuTriggerProps:h,menuProps:g}=vle({type:"listbox",isDisabled:c||l},t,r);W$.set(t,{id:g.id});let{collection:m}=t,{disabledKeys:v}=t.selectionManager,y=F.useMemo(()=>o||new aw({collection:m,disabledKeys:v,ref:a,layoutDelegate:s}),[o,s,m,v,a]),{collectionProps:O}=WN({selectionManager:t.selectionManager,keyboardDelegate:y,disallowTypeAhead:!0,disallowEmptySelection:!0,shouldFocusWrap:u,ref:i,isVirtualized:!0}),x=cO(),C=me=>{if(!me.nativeEvent.isComposing)switch(me.key){case"Enter":case"Tab":if(t.isOpen&&me.key==="Enter"&&me.preventDefault(),t.isOpen&&a.current&&t.selectionManager.focusedKey!=null&&t.selectionManager.isLink(t.selectionManager.focusedKey)){let ne=a.current.querySelector(`[data-key="${CSS.escape(t.selectionManager.focusedKey.toString())}"]`);if(me.key==="Enter"&&ne instanceof HTMLAnchorElement){let se=t.collection.getItem(t.selectionManager.focusedKey);se&&x.open(ne,me,se.props.href,se.props.routerOptions)}t.close()}else t.commit();break;case"Escape":(t.selectedKey!==null||t.inputValue===""||e.allowsCustomValue)&&me.continuePropagation(),t.revert();break;case"ArrowDown":t.open("first","manual");break;case"ArrowUp":t.open("last","manual");break;case"ArrowLeft":case"ArrowRight":t.selectionManager.setFocusedKey(null);break}},w=me=>{var ne;let se=(r==null?void 0:r.current)&&r.current===me.relatedTarget,X=(ne=n.current)===null||ne===void 0?void 0:ne.contains(me.relatedTarget);se||X||(e.onBlur&&e.onBlur(me),t.setFocused(!1))},E=me=>{t.isFocused||(e.onFocus&&e.onFocus(me),t.setFocused(!0))},{isInvalid:T,validationErrors:P,validationDetails:L}=t.displayValidation,{labelProps:N,inputProps:B,descriptionProps:j,errorMessageProps:A}=j$({...e,onChange:t.setInputValue,onKeyDown:l?e.onKeyDown:Kf(t.isOpen&&O.onKeyDown,C,e.onKeyDown),onBlur:w,value:t.inputValue,onFocus:E,autoComplete:"off",validate:void 0,[Y2]:t},i),H=me=>{if(me.pointerType==="touch"){var ne;(ne=i.current)===null||ne===void 0||ne.focus(),t.toggle(null,"manual")}},k=me=>{if(me.pointerType!=="touch"){var ne;(ne=i.current)===null||ne===void 0||ne.focus(),t.toggle(me.pointerType==="keyboard"||me.pointerType==="virtual"?"first":null,"manual")}},Q=vy({id:h.id,"aria-label":d.format("buttonLabel"),"aria-labelledby":e["aria-labelledby"]||N.id}),V=vy({id:g.id,"aria-label":d.format("listboxLabel"),"aria-labelledby":e["aria-labelledby"]||N.id}),I=F.useRef(0),q=me=>{if(c||l)return;if(me.timeStamp-I.current<500){var ne;me.preventDefault(),(ne=i.current)===null||ne===void 0||ne.focus();return}let se=me.target.getBoundingClientRect(),X=me.changedTouches[0],re=Math.ceil(se.left+.5*se.width),he=Math.ceil(se.top+.5*se.height);if(X.clientX===re&&X.clientY===he){var ge;me.preventDefault(),(ge=i.current)===null||ge===void 0||ge.focus(),t.toggle(null,"manual"),I.current=me.timeStamp}},M=t.selectionManager.focusedKey!=null&&t.isOpen?t.collection.getItem(t.selectionManager.focusedKey):void 0;var z;let G=(z=M==null?void 0:M.parentKey)!==null&&z!==void 0?z:null;var K;let te=(K=t.selectionManager.focusedKey)!==null&&K!==void 0?K:null,ae=F.useRef(G),ie=F.useRef(te);F.useEffect(()=>{if(kE()&&M!=null&&te!=null&&te!==ie.current){let ne=t.selectionManager.isSelected(te),se=G!=null?t.collection.getItem(G):null,X=(se==null?void 0:se["aria-label"])||(typeof(se==null?void 0:se.rendered)=="string"?se.rendered:"")||"";var me;let re=d.format("focusAnnouncement",{isGroupChange:(me=se&&G!==ae.current)!==null&&me!==void 0?me:!1,groupTitle:X,groupCount:se?[...I$(se,t.collection)].length:0,optionText:M["aria-label"]||M.textValue||"",isSelected:ne});oy(re)}ae.current=G,ie.current=te});let Se=KN(t.collection),pe=F.useRef(Se),xe=F.useRef(t.isOpen);F.useEffect(()=>{let me=t.isOpen!==xe.current&&(t.selectionManager.focusedKey==null||kE());if(t.isOpen&&(me||Se!==pe.current)){let ne=d.format("countAnnouncement",{optionCount:Se});oy(ne)}pe.current=Se,xe.current=t.isOpen});let Oe=F.useRef(t.selectedKey);return F.useEffect(()=>{if(kE()&&t.isFocused&&t.selectedItem&&t.selectedKey!==Oe.current){let me=t.selectedItem["aria-label"]||t.selectedItem.textValue||"",ne=d.format("selectedAnnouncement",{optionText:me});oy(ne)}Oe.current=t.selectedKey}),F.useEffect(()=>{if(t.isOpen)return jN([i.current,n.current].filter(me=>me!=null))},[t.isOpen,i,n]),iue(()=>{!M&&i.current&&Ds(ui(i.current))===i.current&&Due(i.current,null)},[M]),{labelProps:N,buttonProps:{...h,...Q,excludeFromTabOrder:!0,preventFocusOnPress:!0,onPress:H,onPressStart:k,isDisabled:c||l},inputProps:Qt(B,{role:"combobox","aria-expanded":h["aria-expanded"],"aria-controls":t.isOpen?g.id:void 0,"aria-autocomplete":"list","aria-activedescendant":M?She(t,M.key):void 0,onTouchEnd:q,autoCorrect:"off",spellCheck:"false"}),listBoxProps:Qt(g,V,{autoFocus:t.focusStrategy,shouldUseVirtualFocus:!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,linkBehavior:"selection"}),descriptionProps:j,errorMessageProps:A,isInvalid:T,validationErrors:P,validationDetails:L}}var whe={};whe={calendar:"التقويم",day:"يوم",dayPeriod:"ص/م",endDate:"تاريخ الانتهاء",era:"العصر",hour:"الساعات",minute:"الدقائق",month:"الشهر",second:"الثواني",selectedDateDescription:e=>`تاريخ محدد: ${e.date}`,selectedRangeDescription:e=>`المدى الزمني المحدد: ${e.startDate} إلى ${e.endDate}`,selectedTimeDescription:e=>`الوقت المحدد: ${e.time}`,startDate:"تاريخ البدء",timeZoneName:"التوقيت",weekday:"اليوم",year:"السنة"};var Ehe={};Ehe={calendar:"Календар",day:"ден",dayPeriod:"пр.об./сл.об.",endDate:"Крайна дата",era:"ера",hour:"час",minute:"минута",month:"месец",second:"секунда",selectedDateDescription:e=>`Избрана дата: ${e.date}`,selectedRangeDescription:e=>`Избран диапазон: ${e.startDate} до ${e.endDate}`,selectedTimeDescription:e=>`Избрано време: ${e.time}`,startDate:"Начална дата",timeZoneName:"часова зона",weekday:"ден от седмицата",year:"година"};var $he={};$he={calendar:"Kalendář",day:"den",dayPeriod:"část dne",endDate:"Konečné datum",era:"letopočet",hour:"hodina",minute:"minuta",month:"měsíc",second:"sekunda",selectedDateDescription:e=>`Vybrané datum: ${e.date}`,selectedRangeDescription:e=>`Vybrané období: ${e.startDate} až ${e.endDate}`,selectedTimeDescription:e=>`Vybraný čas: ${e.time}`,startDate:"Počáteční datum",timeZoneName:"časové pásmo",weekday:"den v týdnu",year:"rok"};var Che={};Che={calendar:"Kalender",day:"dag",dayPeriod:"AM/PM",endDate:"Slutdato",era:"æra",hour:"time",minute:"minut",month:"måned",second:"sekund",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt interval: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tidspunkt: ${e.time}`,startDate:"Startdato",timeZoneName:"tidszone",weekday:"ugedag",year:"år"};var Phe={};Phe={calendar:"Kalender",day:"Tag",dayPeriod:"Tageshälfte",endDate:"Enddatum",era:"Epoche",hour:"Stunde",minute:"Minute",month:"Monat",second:"Sekunde",selectedDateDescription:e=>`Ausgewähltes Datum: ${e.date}`,selectedRangeDescription:e=>`Ausgewählter Bereich: ${e.startDate} bis ${e.endDate}`,selectedTimeDescription:e=>`Ausgewählte Zeit: ${e.time}`,startDate:"Anfangsdatum",timeZoneName:"Zeitzone",weekday:"Wochentag",year:"Jahr"};var Dhe={};Dhe={calendar:"Ημερολόγιο",day:"ημέρα",dayPeriod:"π.μ./μ.μ.",endDate:"Ημερομηνία λήξης",era:"περίοδος",hour:"ώρα",minute:"λεπτό",month:"μήνας",second:"δευτερόλεπτο",selectedDateDescription:e=>`Επιλεγμένη ημερομηνία: ${e.date}`,selectedRangeDescription:e=>`Επιλεγμένο εύρος: ${e.startDate} έως ${e.endDate}`,selectedTimeDescription:e=>`Επιλεγμένη ώρα: ${e.time}`,startDate:"Ημερομηνία έναρξης",timeZoneName:"ζώνη ώρας",weekday:"καθημερινή",year:"έτος"};var Rhe={};Rhe={era:"era",year:"year",month:"month",day:"day",hour:"hour",minute:"minute",second:"second",dayPeriod:"AM/PM",calendar:"Calendar",startDate:"Start Date",endDate:"End Date",weekday:"day of the week",timeZoneName:"time zone",selectedDateDescription:e=>`Selected Date: ${e.date}`,selectedRangeDescription:e=>`Selected Range: ${e.startDate} to ${e.endDate}`,selectedTimeDescription:e=>`Selected Time: ${e.time}`};var khe={};khe={calendar:"Calendario",day:"día",dayPeriod:"a. m./p. m.",endDate:"Fecha final",era:"era",hour:"hora",minute:"minuto",month:"mes",second:"segundo",selectedDateDescription:e=>`Fecha seleccionada: ${e.date}`,selectedRangeDescription:e=>`Rango seleccionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora seleccionada: ${e.time}`,startDate:"Fecha de inicio",timeZoneName:"zona horaria",weekday:"día de la semana",year:"año"};var The={};The={calendar:"Kalender",day:"päev",dayPeriod:"enne/pärast lõunat",endDate:"Lõppkuupäev",era:"ajastu",hour:"tund",minute:"minut",month:"kuu",second:"sekund",selectedDateDescription:e=>`Valitud kuupäev: ${e.date}`,selectedRangeDescription:e=>`Valitud vahemik: ${e.startDate} kuni ${e.endDate}`,selectedTimeDescription:e=>`Valitud aeg: ${e.time}`,startDate:"Alguskuupäev",timeZoneName:"ajavöönd",weekday:"nädalapäev",year:"aasta"};var Ahe={};Ahe={calendar:"Kalenteri",day:"päivä",dayPeriod:"vuorokaudenaika",endDate:"Päättymispäivä",era:"aikakausi",hour:"tunti",minute:"minuutti",month:"kuukausi",second:"sekunti",selectedDateDescription:e=>`Valittu päivämäärä: ${e.date}`,selectedRangeDescription:e=>`Valittu aikaväli: ${e.startDate} – ${e.endDate}`,selectedTimeDescription:e=>`Valittu aika: ${e.time}`,startDate:"Alkamispäivä",timeZoneName:"aikavyöhyke",weekday:"viikonpäivä",year:"vuosi"};var Fhe={};Fhe={calendar:"Calendrier",day:"jour",dayPeriod:"cadran",endDate:"Date de fin",era:"ère",hour:"heure",minute:"minute",month:"mois",second:"seconde",selectedDateDescription:e=>`Date sélectionnée : ${e.date}`,selectedRangeDescription:e=>`Plage sélectionnée : ${e.startDate} au ${e.endDate}`,selectedTimeDescription:e=>`Heure choisie : ${e.time}`,startDate:"Date de début",timeZoneName:"fuseau horaire",weekday:"jour de la semaine",year:"année"};var Ihe={};Ihe={calendar:"לוח שנה",day:"יום",dayPeriod:"לפנה״צ/אחה״צ",endDate:"תאריך סיום",era:"תקופה",hour:"שעה",minute:"דקה",month:"חודש",second:"שנייה",selectedDateDescription:e=>`תאריך נבחר: ${e.date}`,selectedRangeDescription:e=>`טווח נבחר: ${e.startDate} עד ${e.endDate}`,selectedTimeDescription:e=>`זמן נבחר: ${e.time}`,startDate:"תאריך התחלה",timeZoneName:"אזור זמן",weekday:"יום בשבוע",year:"שנה"};var Mhe={};Mhe={calendar:"Kalendar",day:"dan",dayPeriod:"AM/PM",endDate:"Datum završetka",era:"era",hour:"sat",minute:"minuta",month:"mjesec",second:"sekunda",selectedDateDescription:e=>`Odabrani datum: ${e.date}`,selectedRangeDescription:e=>`Odabrani raspon: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Odabrano vrijeme: ${e.time}`,startDate:"Datum početka",timeZoneName:"vremenska zona",weekday:"dan u tjednu",year:"godina"};var Nhe={};Nhe={calendar:"Naptár",day:"nap",dayPeriod:"napszak",endDate:"Befejező dátum",era:"éra",hour:"óra",minute:"perc",month:"hónap",second:"másodperc",selectedDateDescription:e=>`Kijelölt dátum: ${e.date}`,selectedRangeDescription:e=>`Kijelölt tartomány: ${e.startDate}–${e.endDate}`,selectedTimeDescription:e=>`Kijelölt idő: ${e.time}`,startDate:"Kezdő dátum",timeZoneName:"időzóna",weekday:"hét napja",year:"év"};var Lhe={};Lhe={calendar:"Calendario",day:"giorno",dayPeriod:"AM/PM",endDate:"Data finale",era:"era",hour:"ora",minute:"minuto",month:"mese",second:"secondo",selectedDateDescription:e=>`Data selezionata: ${e.date}`,selectedRangeDescription:e=>`Intervallo selezionato: da ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Ora selezionata: ${e.time}`,startDate:"Data iniziale",timeZoneName:"fuso orario",weekday:"giorno della settimana",year:"anno"};var zhe={};zhe={calendar:"カレンダー",day:"日",dayPeriod:"午前/午後",endDate:"終了日",era:"時代",hour:"時",minute:"分",month:"月",second:"秒",selectedDateDescription:e=>`選択した日付 : ${e.date}`,selectedRangeDescription:e=>`選択範囲 : ${e.startDate} から ${e.endDate}`,selectedTimeDescription:e=>`選択した時間 : ${e.time}`,startDate:"開始日",timeZoneName:"タイムゾーン",weekday:"曜日",year:"年"};var Qhe={};Qhe={calendar:"달력",day:"일",dayPeriod:"오전/오후",endDate:"종료일",era:"연호",hour:"시",minute:"분",month:"월",second:"초",selectedDateDescription:e=>`선택 일자: ${e.date}`,selectedRangeDescription:e=>`선택 범위: ${e.startDate} ~ ${e.endDate}`,selectedTimeDescription:e=>`선택 시간: ${e.time}`,startDate:"시작일",timeZoneName:"시간대",weekday:"요일",year:"년"};var Bhe={};Bhe={calendar:"Kalendorius",day:"diena",dayPeriod:"iki pietų / po pietų",endDate:"Pabaigos data",era:"era",hour:"valanda",minute:"minutė",month:"mėnuo",second:"sekundė",selectedDateDescription:e=>`Pasirinkta data: ${e.date}`,selectedRangeDescription:e=>`Pasirinktas intervalas: nuo ${e.startDate} iki ${e.endDate}`,selectedTimeDescription:e=>`Pasirinktas laikas: ${e.time}`,startDate:"Pradžios data",timeZoneName:"laiko juosta",weekday:"savaitės diena",year:"metai"};var qhe={};qhe={calendar:"Kalendārs",day:"diena",dayPeriod:"priekšpusdienā/pēcpusdienā",endDate:"Beigu datums",era:"ēra",hour:"stundas",minute:"minūtes",month:"mēnesis",second:"sekundes",selectedDateDescription:e=>`Atlasītais datums: ${e.date}`,selectedRangeDescription:e=>`Atlasītais diapazons: no ${e.startDate} līdz ${e.endDate}`,selectedTimeDescription:e=>`Atlasītais laiks: ${e.time}`,startDate:"Sākuma datums",timeZoneName:"laika josla",weekday:"nedēļas diena",year:"gads"};var Uhe={};Uhe={calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Sluttdato",era:"tidsalder",hour:"time",minute:"minutt",month:"måned",second:"sekund",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt område: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tid: ${e.time}`,startDate:"Startdato",timeZoneName:"tidssone",weekday:"ukedag",year:"år"};var Vhe={};Vhe={calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Einddatum",era:"tijdperk",hour:"uur",minute:"minuut",month:"maand",second:"seconde",selectedDateDescription:e=>`Geselecteerde datum: ${e.date}`,selectedRangeDescription:e=>`Geselecteerd bereik: ${e.startDate} tot ${e.endDate}`,selectedTimeDescription:e=>`Geselecteerde tijd: ${e.time}`,startDate:"Startdatum",timeZoneName:"tijdzone",weekday:"dag van de week",year:"jaar"};var jhe={};jhe={calendar:"Kalendarz",day:"dzień",dayPeriod:"rano / po południu / wieczorem",endDate:"Data końcowa",era:"era",hour:"godzina",minute:"minuta",month:"miesiąc",second:"sekunda",selectedDateDescription:e=>`Wybrana data: ${e.date}`,selectedRangeDescription:e=>`Wybrany zakres: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Wybrany czas: ${e.time}`,startDate:"Data początkowa",timeZoneName:"strefa czasowa",weekday:"dzień tygodnia",year:"rok"};var Whe={};Whe={calendar:"Calendário",day:"dia",dayPeriod:"AM/PM",endDate:"Data final",era:"era",hour:"hora",minute:"minuto",month:"mês",second:"segundo",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora selecionada: ${e.time}`,startDate:"Data inicial",timeZoneName:"fuso horário",weekday:"dia da semana",year:"ano"};var Zhe={};Zhe={calendar:"Calendário",day:"dia",dayPeriod:"am/pm",endDate:"Data de Término",era:"era",hour:"hora",minute:"minuto",month:"mês",second:"segundo",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora selecionada: ${e.time}`,startDate:"Data de Início",timeZoneName:"fuso horário",weekday:"dia da semana",year:"ano"};var Khe={};Khe={calendar:"Calendar",day:"zi",dayPeriod:"a.m/p.m.",endDate:"Dată final",era:"eră",hour:"oră",minute:"minut",month:"lună",second:"secundă",selectedDateDescription:e=>`Dată selectată: ${e.date}`,selectedRangeDescription:e=>`Interval selectat: de la ${e.startDate} până la ${e.endDate}`,selectedTimeDescription:e=>`Ora selectată: ${e.time}`,startDate:"Dată început",timeZoneName:"fus orar",weekday:"ziua din săptămână",year:"an"};var Hhe={};Hhe={calendar:"Календарь",day:"день",dayPeriod:"AM/PM",endDate:"Дата окончания",era:"эра",hour:"час",minute:"минута",month:"месяц",second:"секунда",selectedDateDescription:e=>`Выбранная дата: ${e.date}`,selectedRangeDescription:e=>`Выбранный диапазон: с ${e.startDate} по ${e.endDate}`,selectedTimeDescription:e=>`Выбранное время: ${e.time}`,startDate:"Дата начала",timeZoneName:"часовой пояс",weekday:"день недели",year:"год"};var Yhe={};Yhe={calendar:"Kalendár",day:"deň",dayPeriod:"AM/PM",endDate:"Dátum ukončenia",era:"letopočet",hour:"hodina",minute:"minúta",month:"mesiac",second:"sekunda",selectedDateDescription:e=>`Vybratý dátum: ${e.date}`,selectedRangeDescription:e=>`Vybratý rozsah: od ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Vybratý čas: ${e.time}`,startDate:"Dátum začatia",timeZoneName:"časové pásmo",weekday:"deň týždňa",year:"rok"};var Ghe={};Ghe={calendar:"Koledar",day:"dan",dayPeriod:"dop/pop",endDate:"Datum konca",era:"doba",hour:"ura",minute:"minuta",month:"mesec",second:"sekunda",selectedDateDescription:e=>`Izbrani datum: ${e.date}`,selectedRangeDescription:e=>`Izbrano območje: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Izbrani čas: ${e.time}`,startDate:"Datum začetka",timeZoneName:"časovni pas",weekday:"dan v tednu",year:"leto"};var Xhe={};Xhe={calendar:"Kalendar",day:"дан",dayPeriod:"пре подне/по подне",endDate:"Datum završetka",era:"ера",hour:"сат",minute:"минут",month:"месец",second:"секунд",selectedDateDescription:e=>`Izabrani datum: ${e.date}`,selectedRangeDescription:e=>`Izabrani opseg: od ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Izabrano vreme: ${e.time}`,startDate:"Datum početka",timeZoneName:"временска зона",weekday:"дан у недељи",year:"година"};var Jhe={};Jhe={calendar:"Kalender",day:"dag",dayPeriod:"fm/em",endDate:"Slutdatum",era:"era",hour:"timme",minute:"minut",month:"månad",second:"sekund",selectedDateDescription:e=>`Valt datum: ${e.date}`,selectedRangeDescription:e=>`Valt intervall: ${e.startDate} till ${e.endDate}`,selectedTimeDescription:e=>`Vald tid: ${e.time}`,startDate:"Startdatum",timeZoneName:"tidszon",weekday:"veckodag",year:"år"};var epe={};epe={calendar:"Takvim",day:"gün",dayPeriod:"ÖÖ/ÖS",endDate:"Bitiş Tarihi",era:"çağ",hour:"saat",minute:"dakika",month:"ay",second:"saniye",selectedDateDescription:e=>`Seçilen Tarih: ${e.date}`,selectedRangeDescription:e=>`Seçilen Aralık: ${e.startDate} - ${e.endDate}`,selectedTimeDescription:e=>`Seçilen Zaman: ${e.time}`,startDate:"Başlangıç Tarihi",timeZoneName:"saat dilimi",weekday:"haftanın günü",year:"yıl"};var tpe={};tpe={calendar:"Календар",day:"день",dayPeriod:"дп/пп",endDate:"Дата завершення",era:"ера",hour:"година",minute:"хвилина",month:"місяць",second:"секунда",selectedDateDescription:e=>`Вибрана дата: ${e.date}`,selectedRangeDescription:e=>`Вибраний діапазон: ${e.startDate} — ${e.endDate}`,selectedTimeDescription:e=>`Вибраний час: ${e.time}`,startDate:"Дата початку",timeZoneName:"часовий пояс",weekday:"день тижня",year:"рік"};var rpe={};rpe={calendar:"日历",day:"日",dayPeriod:"上午/下午",endDate:"结束日期",era:"纪元",hour:"小时",minute:"分钟",month:"月",second:"秒",selectedDateDescription:e=>`选定的日期:${e.date}`,selectedRangeDescription:e=>`选定的范围:${e.startDate} 至 ${e.endDate}`,selectedTimeDescription:e=>`选定的时间:${e.time}`,startDate:"开始日期",timeZoneName:"时区",weekday:"工作日",year:"年"};var npe={};npe={calendar:"日曆",day:"日",dayPeriod:"上午/下午",endDate:"結束日期",era:"纪元",hour:"小时",minute:"分钟",month:"月",second:"秒",selectedDateDescription:e=>`選定的日期:${e.date}`,selectedRangeDescription:e=>`選定的範圍:${e.startDate} 至 ${e.endDate}`,selectedTimeDescription:e=>`選定的時間:${e.time}`,startDate:"開始日期",timeZoneName:"时区",weekday:"工作日",year:"年"};var yL={};yL={"ar-AE":whe,"bg-BG":Ehe,"cs-CZ":$he,"da-DK":Che,"de-DE":Phe,"el-GR":Dhe,"en-US":Rhe,"es-ES":khe,"et-EE":The,"fi-FI":Ahe,"fr-FR":Fhe,"he-IL":Ihe,"hr-HR":Mhe,"hu-HU":Nhe,"it-IT":Lhe,"ja-JP":zhe,"ko-KR":Qhe,"lt-LT":Bhe,"lv-LV":qhe,"nb-NO":Uhe,"nl-NL":Vhe,"pl-PL":jhe,"pt-BR":Whe,"pt-PT":Zhe,"ro-RO":Khe,"ru-RU":Hhe,"sk-SK":Yhe,"sl-SI":Ghe,"sr-SP":Xhe,"sv-SE":Jhe,"tr-TR":epe,"uk-UA":tpe,"zh-CN":rpe,"zh-TW":npe};function VIe(e,t,r){let{direction:n}=Ha(),i=F.useMemo(()=>qN(t),[t]),a=u=>{if(u.currentTarget.contains(u.target)&&(u.altKey&&(u.key==="ArrowDown"||u.key==="ArrowUp")&&"setOpen"in e&&(u.preventDefault(),u.stopPropagation(),e.setOpen(!0)),!r))switch(u.key){case"ArrowLeft":if(u.preventDefault(),u.stopPropagation(),n==="rtl"){if(t.current){let l=u.target,c=kK(t.current,l.getBoundingClientRect().left,-1);c&&c.focus()}}else i.focusPrevious();break;case"ArrowRight":if(u.preventDefault(),u.stopPropagation(),n==="rtl"){if(t.current){let l=u.target,c=kK(t.current,l.getBoundingClientRect().left,1);c&&c.focus()}}else i.focusNext();break}},o=()=>{var u;if(!t.current)return;let l=(u=window.event)===null||u===void 0?void 0:u.target,c=ls(t.current,{tabbable:!0});if(l&&(c.currentNode=l,l=c.previousNode()),!l){let f;do f=c.lastChild(),f&&(l=f);while(f)}for(;l!=null&&l.hasAttribute("data-placeholder");){let f=c.previousNode();if(f&&f.hasAttribute("data-placeholder"))l=f;else break}l&&l.focus()},{pressProps:s}=mg({preventFocusOnPress:!0,allowTextSelectionOnPress:!0,onPressStart(u){u.pointerType==="mouse"&&o()},onPress(u){u.pointerType!=="mouse"&&o()}});return Qt(s,{onKeyDown:a})}function kK(e,t,r){let n=ls(e,{tabbable:!0}),i=n.nextNode(),a=null,o=1/0;for(;i;){let u=i.getBoundingClientRect().left-t,l=Math.abs(u);Math.sign(u)===r&&l<o&&(a=i,o=l),i=n.nextNode()}return a}function jIe(e){return e&&e.__esModule?e.default:e}const ipe=new WeakMap,zT="__role_"+Date.now(),WIe="__focusManager_"+Date.now();function bL(e,t,r){var n;let{isInvalid:i,validationErrors:a,validationDetails:o}=t.displayValidation,{labelProps:s,fieldProps:u,descriptionProps:l,errorMessageProps:c}=cw({...e,labelElementType:"span",isInvalid:i,errorMessage:e.errorMessage||a}),f=F.useRef(null),{focusWithinProps:d}=Lg({...e,onFocusWithin(N){var B;f.current=t.value,(B=e.onFocus)===null||B===void 0||B.call(e,N)},onBlurWithin:N=>{var B;t.confirmPlaceholder(),t.value!==f.current&&t.commitValidation(),(B=e.onBlur)===null||B===void 0||B.call(e,N)},onFocusWithinChange:e.onFocusChange}),h=dh(jIe(yL),"@react-aria/datepicker"),g=t.maxGranularity==="hour"?"selectedTimeDescription":"selectedDateDescription",m=t.maxGranularity==="hour"?"time":"date",v=t.value?h.format(g,{[m]:t.formatValue({month:"long"})}):"",y=D$(v),O=e[zT]==="presentation"?u["aria-describedby"]:[y["aria-describedby"],u["aria-describedby"]].filter(Boolean).join(" ")||void 0,x=e[WIe],C=F.useMemo(()=>x||qN(r),[x,r]),w=VIe(t,r,e[zT]==="presentation");ipe.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:[s.id,e["aria-labelledby"]].filter(Boolean).join(" ")||void 0,ariaDescribedBy:O,focusManager:C});let E=F.useRef(e.autoFocus),T;e[zT]==="presentation"?T={role:"presentation"}:T=Qt(u,{role:"group","aria-disabled":e.isDisabled||void 0,"aria-describedby":O}),F.useEffect(()=>{E.current&&C.focusFirst(),E.current=!1},[C]),fO(e.inputRef,t.value,t.setValue),U$({...e,focus(){C.focusFirst()}},t,e.inputRef);let P={type:"hidden",name:e.name,value:((n=t.value)===null||n===void 0?void 0:n.toString())||"",disabled:e.isDisabled};e.validationBehavior==="native"&&(P.type="text",P.hidden=!0,P.required=e.isRequired,P.onChange=()=>{});let L=Jr(e);return{labelProps:{...s,onClick:()=>{C.focusFirst()}},fieldProps:Qt(L,T,w,d,{onKeyDown(N){e.onKeyDown&&e.onKeyDown(N)},onKeyUp(N){e.onKeyUp&&e.onKeyUp(N)},style:{unicodeBidi:"isolate"}}),inputProps:P,descriptionProps:l,errorMessageProps:c,isInvalid:i,validationErrors:a,validationDetails:o}}function ZIe(e,t,r){var n;let i=bL(e,t,r);return i.inputProps.value=((n=t.timeValue)===null||n===void 0?void 0:n.toString())||"",i}function KIe(e){return e&&e.__esModule?e.default:e}function HIe(){let{locale:e}=Ha(),t=yue(KIe(yL),"@react-aria/datepicker");return F.useMemo(()=>{try{return new Intl.DisplayNames(e,{type:"dateTimeField"})}catch{return new YIe(e,t)}},[e,t])}class YIe{of(t){return this.dictionary.getStringForLocale(t,this.locale)}constructor(t,r){this.locale=t,this.dictionary=r}}function GIe(e,t,r){let n=F.useRef(""),{locale:i,direction:a}=Ha(),o=HIe(),{ariaLabel:s,ariaLabelledBy:u,ariaDescribedBy:l,focusManager:c}=ipe.get(t),f=e.isPlaceholder?"":e.text,d=F.useMemo(()=>t.dateFormatter.resolvedOptions(),[t.dateFormatter]),h=S3({month:"long",timeZone:d.timeZone}),g=S3({hour:"numeric",hour12:d.hour12,timeZone:d.timeZone});if(e.type==="month"&&!e.isPlaceholder){let M=h.format(t.dateValue);f=M!==f?`${f} – ${M}`:M}else e.type==="hour"&&!e.isPlaceholder&&(f=g.format(t.dateValue));let{spinButtonProps:m}=ode({value:e.value,textValue:f,minValue:e.minValue,maxValue:e.maxValue,isDisabled:t.isDisabled,isReadOnly:t.isReadOnly||!e.isEditable,isRequired:t.isRequired,onIncrement:()=>{n.current="",t.increment(e.type)},onDecrement:()=>{n.current="",t.decrement(e.type)},onIncrementPage:()=>{n.current="",t.incrementPage(e.type)},onDecrementPage:()=>{n.current="",t.decrementPage(e.type)},onIncrementToMax:()=>{n.current="",e.maxValue!==void 0&&t.setSegment(e.type,e.maxValue)},onDecrementToMin:()=>{n.current="",e.minValue!==void 0&&t.setSegment(e.type,e.minValue)}}),v=F.useMemo(()=>new EN(i,{maximumFractionDigits:0}),[i]),y=()=>{if(e.text===e.placeholder&&c.focusPrevious(),v.isValidPartialNumber(e.text)&&!t.isReadOnly&&!e.isPlaceholder){let M=e.text.slice(0,-1),z=v.parse(M);M=z===0?"":M,M.length===0||z===0?t.clearSegment(e.type):t.setSegment(e.type,z),n.current=M}else e.type==="dayPeriod"&&t.clearSegment(e.type)},O=M=>{if(M.key==="a"&&(z0()?M.metaKey:M.ctrlKey)&&M.preventDefault(),!(M.ctrlKey||M.metaKey||M.shiftKey||M.altKey))switch(M.key){case"Backspace":case"Delete":M.preventDefault(),M.stopPropagation(),y();break}},{startsWith:x}=bue({sensitivity:"base"}),C=S3({hour:"numeric",hour12:!0}),w=F.useMemo(()=>{let M=new Date;return M.setHours(0),C.formatToParts(M).find(z=>z.type==="dayPeriod").value},[C]),E=F.useMemo(()=>{let M=new Date;return M.setHours(12),C.formatToParts(M).find(z=>z.type==="dayPeriod").value},[C]),T=S3({year:"numeric",era:"narrow",timeZone:"UTC"}),P=F.useMemo(()=>{if(e.type!=="era")return[];let M=ml(new qo(1,1,1),t.calendar),z=t.calendar.getEras().map(K=>{let te=M.set({year:1,month:1,day:1,era:K}).toDate("UTC"),ie=T.formatToParts(te).find(Se=>Se.type==="era").value;return{era:K,formatted:ie}}),G=XIe(z.map(K=>K.formatted));if(G)for(let K of z)K.formatted=K.formatted.slice(G);return z},[T,t.calendar,e.type]),L=M=>{if(t.isDisabled||t.isReadOnly)return;let z=n.current+M;switch(e.type){case"dayPeriod":if(x(w,M))t.setSegment("dayPeriod",0);else if(x(E,M))t.setSegment("dayPeriod",12);else break;c.focusNext();break;case"era":{let G=P.find(K=>x(K.formatted,M));G&&(t.setSegment("era",G.era),c.focusNext());break}case"day":case"hour":case"minute":case"second":case"month":case"year":{if(!v.isValidPartialNumber(z))return;let G=v.parse(z),K=G,te=e.minValue===0;if(e.type==="hour"&&t.dateFormatter.resolvedOptions().hour12){switch(t.dateFormatter.resolvedOptions().hourCycle){case"h11":G>11&&(K=v.parse(M));break;case"h12":te=!1,G>12&&(K=v.parse(M));break}e.value!==void 0&&e.value>=12&&G>1&&(G+=12)}else e.maxValue!==void 0&&G>e.maxValue&&(K=v.parse(M));if(isNaN(G))return;let ae=K!==0||te;ae&&t.setSegment(e.type,K),e.maxValue!==void 0&&(+(G+"0")>e.maxValue||z.length>=String(e.maxValue).length)?(n.current="",ae&&c.focusNext()):n.current=z;break}}},N=()=>{n.current="",r.current&&O0(r.current,{containingElement:b0(r.current)});let M=window.getSelection();M==null||M.collapse(r.current)},B=F.useRef(typeof document<"u"?document:null);k0(B,"selectionchange",()=>{var M;let z=window.getSelection();z!=null&&z.anchorNode&&(!((M=r.current)===null||M===void 0)&&M.contains(z==null?void 0:z.anchorNode))&&z.collapse(r.current)});let j=F.useRef("");k0(r,"beforeinput",M=>{if(r.current)switch(M.preventDefault(),M.inputType){case"deleteContentBackward":case"deleteContentForward":v.isValidPartialNumber(e.text)&&!t.isReadOnly&&y();break;case"insertCompositionText":j.current=r.current.textContent,r.current.textContent=r.current.textContent;break;default:M.data!=null&&L(M.data);break}}),k0(r,"input",M=>{let{inputType:z,data:G}=M;switch(z){case"insertCompositionText":r.current&&(r.current.textContent=j.current),G!=null&&(x(w,G)||x(E,G))&&L(G);break}}),Nn(()=>{let M=r.current;return()=>{document.activeElement===M&&(c.focusPrevious()||c.focusNext())}},[r,c]);let A=lO()||e.type==="timeZoneName"?{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuetext":null,"aria-valuenow":null}:{},H=F.useMemo(()=>t.segments.find(M=>M.isEditable),[t.segments]);e!==H&&!t.isInvalid&&(l=void 0);let k=Bi(),Q=!t.isDisabled&&!t.isReadOnly&&e.isEditable,V=e.type==="literal"?"":o.of(e.type),I=vy({"aria-label":`${V}${s?`, ${s}`:""}${u?", ":""}`,"aria-labelledby":u});if(e.type==="literal")return{segmentProps:{"aria-hidden":!0}};let q={caretColor:"transparent"};if(a==="rtl"){q.unicodeBidi="embed";let M=d[e.type];(M==="numeric"||M==="2-digit")&&(q.direction="ltr")}return{segmentProps:Qt(m,I,{id:k,...A,"aria-invalid":t.isInvalid?"true":void 0,"aria-describedby":l,"aria-readonly":t.isReadOnly||!e.isEditable?"true":void 0,"data-placeholder":e.isPlaceholder||void 0,contentEditable:Q,suppressContentEditableWarning:Q,spellCheck:Q?"false":void 0,autoCorrect:Q?"off":void 0,[parseInt($e.version,10)>=17?"enterKeyHint":"enterkeyhint"]:Q?"next":void 0,inputMode:t.isDisabled||e.type==="dayPeriod"||e.type==="era"||!Q?void 0:"numeric",tabIndex:t.isDisabled?void 0:0,onKeyDown:O,onFocus:N,style:q,onPointerDown(M){M.stopPropagation()},onMouseDown(M){M.stopPropagation()}})}}function XIe(e){e.sort();let t=e[0],r=e[e.length-1];for(let n=0;n<t.length;n++)if(t[n]!==r[n])return n;return 0}function JIe(e,t){let{role:r="dialog"}=e,n=I0();n=e["aria-label"]?void 0:n;let i=F.useRef(!1);return F.useEffect(()=>{if(t.current&&!t.current.contains(document.activeElement)){cl(t.current);let a=setTimeout(()=>{document.activeElement===t.current&&(i.current=!0,t.current&&(t.current.blur(),cl(t.current)),i.current=!1)},500);return()=>{clearTimeout(a)}}},[t]),gle(),{dialogProps:{...Jr(e,{labelable:!0}),role:r,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]||n,onBlur:a=>{i.current&&a.stopPropagation()}},titleProps:{id:n}}}function e9e(e,t,r){let{isDisabled:n}=e,i=Bi(),a=Bi(),s=!fh()&&"onbeforematch"in document.body,u=F.useRef(null),l=F.useCallback(()=>{u.current=requestAnimationFrame(()=>{r.current&&r.current.setAttribute("hidden","until-found")}),dl.flushSync(()=>{t.toggle()})},[r,t]);return k0(r,"beforematch",s?l:null),Nn(()=>{u.current&&cancelAnimationFrame(u.current),s&&r.current&&!n&&(t.isExpanded?r.current.removeAttribute("hidden"):r.current.setAttribute("hidden","until-found"))},[n,r,t.isExpanded,s]),F.useEffect(()=>()=>{u.current&&cancelAnimationFrame(u.current)},[]),{buttonProps:{id:i,"aria-expanded":t.isExpanded,"aria-controls":a,onPress:c=>{!n&&c.pointerType!=="keyboard"&&t.toggle()},isDisabled:n,onPressStart(c){c.pointerType==="keyboard"&&!n&&t.toggle()}},panelProps:{id:a,role:"group","aria-labelledby":i,"aria-hidden":!t.isExpanded,hidden:s?!0:!t.isExpanded}}}const OL=new WeakMap;function TK(e,t){var r;let{id:n}=(r=OL.get(e))!==null&&r!==void 0?r:{};if(!n)throw new Error("Unknown list");return`${n}-${t9e(t)}`}function t9e(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}var ape={};ape={deselectedItem:e=>`${e.item} غير المحدد`,longPressToSelect:"اضغط مطولًا للدخول إلى وضع التحديد.",select:"تحديد",selectedAll:"جميع العناصر المحددة.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"لم يتم تحديد عناصر",one:()=>`${t.number(e.count)} عنصر محدد`,other:()=>`${t.number(e.count)} عنصر محدد`})}.`,selectedItem:e=>`${e.item} المحدد`};var ope={};ope={deselectedItem:e=>`${e.item} не е избран.`,longPressToSelect:"Натиснете и задръжте за да влезете в избирателен режим.",select:"Изберете",selectedAll:"Всички елементи са избрани.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Няма избрани елементи",one:()=>`${t.number(e.count)} избран елемент`,other:()=>`${t.number(e.count)} избрани елементи`})}.`,selectedItem:e=>`${e.item} избран.`};var spe={};spe={deselectedItem:e=>`Položka ${e.item} není vybrána.`,longPressToSelect:"Dlouhým stisknutím přejdete do režimu výběru.",select:"Vybrat",selectedAll:"Vybrány všechny položky.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nevybrány žádné položky",one:()=>`Vybrána ${t.number(e.count)} položka`,other:()=>`Vybráno ${t.number(e.count)} položek`})}.`,selectedItem:e=>`Vybrána položka ${e.item}.`};var upe={};upe={deselectedItem:e=>`${e.item} ikke valgt.`,longPressToSelect:"Lav et langt tryk for at aktivere valgtilstand.",select:"Vælg",selectedAll:"Alle elementer valgt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ingen elementer valgt",one:()=>`${t.number(e.count)} element valgt`,other:()=>`${t.number(e.count)} elementer valgt`})}.`,selectedItem:e=>`${e.item} valgt.`};var lpe={};lpe={deselectedItem:e=>`${e.item} nicht ausgewählt.`,longPressToSelect:"Gedrückt halten, um Auswahlmodus zu öffnen.",select:"Auswählen",selectedAll:"Alle Elemente ausgewählt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Keine Elemente ausgewählt",one:()=>`${t.number(e.count)} Element ausgewählt`,other:()=>`${t.number(e.count)} Elemente ausgewählt`})}.`,selectedItem:e=>`${e.item} ausgewählt.`};var cpe={};cpe={deselectedItem:e=>`Δεν επιλέχθηκε το στοιχείο ${e.item}.`,longPressToSelect:"Πατήστε παρατεταμένα για να μπείτε σε λειτουργία επιλογής.",select:"Επιλογή",selectedAll:"Επιλέχθηκαν όλα τα στοιχεία.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Δεν επιλέχθηκαν στοιχεία",one:()=>`Επιλέχθηκε ${t.number(e.count)} στοιχείο`,other:()=>`Επιλέχθηκαν ${t.number(e.count)} στοιχεία`})}.`,selectedItem:e=>`Επιλέχθηκε το στοιχείο ${e.item}.`};var fpe={};fpe={deselectedItem:e=>`${e.item} not selected.`,select:"Select",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"No items selected",one:()=>`${t.number(e.count)} item selected`,other:()=>`${t.number(e.count)} items selected`})}.`,selectedAll:"All items selected.",selectedItem:e=>`${e.item} selected.`,longPressToSelect:"Long press to enter selection mode."};var dpe={};dpe={deselectedItem:e=>`${e.item} no seleccionado.`,longPressToSelect:"Mantenga pulsado para abrir el modo de selección.",select:"Seleccionar",selectedAll:"Todos los elementos seleccionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ningún elemento seleccionado",one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,selectedItem:e=>`${e.item} seleccionado.`};var hpe={};hpe={deselectedItem:e=>`${e.item} pole valitud.`,longPressToSelect:"Valikurežiimi sisenemiseks vajutage pikalt.",select:"Vali",selectedAll:"Kõik üksused valitud.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Üksusi pole valitud",one:()=>`${t.number(e.count)} üksus valitud`,other:()=>`${t.number(e.count)} üksust valitud`})}.`,selectedItem:e=>`${e.item} valitud.`};var ppe={};ppe={deselectedItem:e=>`Kohdetta ${e.item} ei valittu.`,longPressToSelect:"Siirry valintatilaan painamalla pitkään.",select:"Valitse",selectedAll:"Kaikki kohteet valittu.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ei yhtään kohdetta valittu",one:()=>`${t.number(e.count)} kohde valittu`,other:()=>`${t.number(e.count)} kohdetta valittu`})}.`,selectedItem:e=>`${e.item} valittu.`};var mpe={};mpe={deselectedItem:e=>`${e.item} non sélectionné.`,longPressToSelect:"Appuyez de manière prolongée pour passer en mode de sélection.",select:"Sélectionner",selectedAll:"Tous les éléments sélectionnés.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Aucun élément sélectionné",one:()=>`${t.number(e.count)} élément sélectionné`,other:()=>`${t.number(e.count)} éléments sélectionnés`})}.`,selectedItem:e=>`${e.item} sélectionné.`};var gpe={};gpe={deselectedItem:e=>`${e.item} לא נבחר.`,longPressToSelect:"הקשה ארוכה לכניסה למצב בחירה.",select:"בחר",selectedAll:"כל הפריטים נבחרו.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"לא נבחרו פריטים",one:()=>`פריט ${t.number(e.count)} נבחר`,other:()=>`${t.number(e.count)} פריטים נבחרו`})}.`,selectedItem:e=>`${e.item} נבחר.`};var vpe={};vpe={deselectedItem:e=>`Stavka ${e.item} nije odabrana.`,longPressToSelect:"Dugo pritisnite za ulazak u način odabira.",select:"Odaberite",selectedAll:"Odabrane su sve stavke.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nije odabrana nijedna stavka",one:()=>`Odabrana je ${t.number(e.count)} stavka`,other:()=>`Odabrano je ${t.number(e.count)} stavki`})}.`,selectedItem:e=>`Stavka ${e.item} je odabrana.`};var ype={};ype={deselectedItem:e=>`${e.item} nincs kijelölve.`,longPressToSelect:"Nyomja hosszan a kijelöléshez.",select:"Kijelölés",selectedAll:"Az összes elem kijelölve.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Egy elem sincs kijelölve",one:()=>`${t.number(e.count)} elem kijelölve`,other:()=>`${t.number(e.count)} elem kijelölve`})}.`,selectedItem:e=>`${e.item} kijelölve.`};var bpe={};bpe={deselectedItem:e=>`${e.item} non selezionato.`,longPressToSelect:"Premi a lungo per passare alla modalità di selezione.",select:"Seleziona",selectedAll:"Tutti gli elementi selezionati.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nessun elemento selezionato",one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,selectedItem:e=>`${e.item} selezionato.`};var Ope={};Ope={deselectedItem:e=>`${e.item} が選択されていません。`,longPressToSelect:"長押しして選択モードを開きます。",select:"選択",selectedAll:"すべての項目を選択しました。",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"項目が選択されていません",one:()=>`${t.number(e.count)} 項目を選択しました`,other:()=>`${t.number(e.count)} 項目を選択しました`})}。`,selectedItem:e=>`${e.item} を選択しました。`};var xpe={};xpe={deselectedItem:e=>`${e.item}이(가) 선택되지 않았습니다.`,longPressToSelect:"선택 모드로 들어가려면 길게 누르십시오.",select:"선택",selectedAll:"모든 항목이 선택되었습니다.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"선택된 항목이 없습니다",one:()=>`${t.number(e.count)}개 항목이 선택되었습니다`,other:()=>`${t.number(e.count)}개 항목이 선택되었습니다`})}.`,selectedItem:e=>`${e.item}이(가) 선택되었습니다.`};var _pe={};_pe={deselectedItem:e=>`${e.item} nepasirinkta.`,longPressToSelect:"Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",select:"Pasirinkti",selectedAll:"Pasirinkti visi elementai.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nepasirinktas nė vienas elementas",one:()=>`Pasirinktas ${t.number(e.count)} elementas`,other:()=>`Pasirinkta elementų: ${t.number(e.count)}`})}.`,selectedItem:e=>`Pasirinkta: ${e.item}.`};var Spe={};Spe={deselectedItem:e=>`Vienums ${e.item} nav atlasīts.`,longPressToSelect:"Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",select:"Atlasīt",selectedAll:"Atlasīti visi vienumi.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nav atlasīts neviens vienums",one:()=>`Atlasīto vienumu skaits: ${t.number(e.count)}`,other:()=>`Atlasīto vienumu skaits: ${t.number(e.count)}`})}.`,selectedItem:e=>`Atlasīts vienums ${e.item}.`};var wpe={};wpe={deselectedItem:e=>`${e.item} er ikke valgt.`,longPressToSelect:"Bruk et langt trykk for å gå inn i valgmodus.",select:"Velg",selectedAll:"Alle elementer er valgt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ingen elementer er valgt",one:()=>`${t.number(e.count)} element er valgt`,other:()=>`${t.number(e.count)} elementer er valgt`})}.`,selectedItem:e=>`${e.item} er valgt.`};var Epe={};Epe={deselectedItem:e=>`${e.item} niet geselecteerd.`,longPressToSelect:"Druk lang om de selectiemodus te openen.",select:"Selecteren",selectedAll:"Alle items geselecteerd.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Geen items geselecteerd",one:()=>`${t.number(e.count)} item geselecteerd`,other:()=>`${t.number(e.count)} items geselecteerd`})}.`,selectedItem:e=>`${e.item} geselecteerd.`};var $pe={};$pe={deselectedItem:e=>`Nie zaznaczono ${e.item}.`,longPressToSelect:"Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",select:"Zaznacz",selectedAll:"Wszystkie zaznaczone elementy.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nie zaznaczono żadnych elementów",one:()=>`${t.number(e.count)} zaznaczony element`,other:()=>`${t.number(e.count)} zaznaczonych elementów`})}.`,selectedItem:e=>`Zaznaczono ${e.item}.`};var Cpe={};Cpe={deselectedItem:e=>`${e.item} não selecionado.`,longPressToSelect:"Mantenha pressionado para entrar no modo de seleção.",select:"Selecionar",selectedAll:"Todos os itens selecionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nenhum item selecionado",one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}.`,selectedItem:e=>`${e.item} selecionado.`};var Ppe={};Ppe={deselectedItem:e=>`${e.item} não selecionado.`,longPressToSelect:"Prima continuamente para entrar no modo de seleção.",select:"Selecionar",selectedAll:"Todos os itens selecionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nenhum item selecionado",one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}.`,selectedItem:e=>`${e.item} selecionado.`};var Dpe={};Dpe={deselectedItem:e=>`${e.item} neselectat.`,longPressToSelect:"Apăsați lung pentru a intra în modul de selectare.",select:"Selectare",selectedAll:"Toate elementele selectate.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Niciun element selectat",one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,selectedItem:e=>`${e.item} selectat.`};var Rpe={};Rpe={deselectedItem:e=>`${e.item} не выбрано.`,longPressToSelect:"Нажмите и удерживайте для входа в режим выбора.",select:"Выбрать",selectedAll:"Выбраны все элементы.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Нет выбранных элементов",one:()=>`${t.number(e.count)} элемент выбран`,other:()=>`${t.number(e.count)} элементов выбрано`})}.`,selectedItem:e=>`${e.item} выбрано.`};var kpe={};kpe={deselectedItem:e=>`Nevybraté položky: ${e.item}.`,longPressToSelect:"Dlhším stlačením prejdite do režimu výberu.",select:"Vybrať",selectedAll:"Všetky vybraté položky.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Žiadne vybraté položky",one:()=>`${t.number(e.count)} vybratá položka`,other:()=>`Počet vybratých položiek:${t.number(e.count)}`})}.`,selectedItem:e=>`Vybraté položky: ${e.item}.`};var Tpe={};Tpe={deselectedItem:e=>`Element ${e.item} ni izbran.`,longPressToSelect:"Za izbirni način pritisnite in dlje časa držite.",select:"Izberite",selectedAll:"Vsi elementi so izbrani.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Noben element ni izbran",one:()=>`${t.number(e.count)} element je izbran`,other:()=>`${t.number(e.count)} elementov je izbranih`})}.`,selectedItem:e=>`Element ${e.item} je izbran.`};var Ape={};Ape={deselectedItem:e=>`${e.item} nije izabrano.`,longPressToSelect:"Dugo pritisnite za ulazak u režim biranja.",select:"Izaberite",selectedAll:"Izabrane su sve stavke.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nije izabrana nijedna stavka",one:()=>`Izabrana je ${t.number(e.count)} stavka`,other:()=>`Izabrano je ${t.number(e.count)} stavki`})}.`,selectedItem:e=>`${e.item} je izabrano.`};var Fpe={};Fpe={deselectedItem:e=>`${e.item} ej markerat.`,longPressToSelect:"Tryck länge när du vill öppna väljarläge.",select:"Markera",selectedAll:"Alla markerade objekt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Inga markerade objekt",one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,selectedItem:e=>`${e.item} markerat.`};var Ipe={};Ipe={deselectedItem:e=>`${e.item} seçilmedi.`,longPressToSelect:"Seçim moduna girmek için uzun basın.",select:"Seç",selectedAll:"Tüm ögeler seçildi.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Hiçbir öge seçilmedi",one:()=>`${t.number(e.count)} öge seçildi`,other:()=>`${t.number(e.count)} öge seçildi`})}.`,selectedItem:e=>`${e.item} seçildi.`};var Mpe={};Mpe={deselectedItem:e=>`${e.item} не вибрано.`,longPressToSelect:"Виконайте довге натиснення, щоб перейти в режим вибору.",select:"Вибрати",selectedAll:"Усі елементи вибрано.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Жодних елементів не вибрано",one:()=>`${t.number(e.count)} елемент вибрано`,other:()=>`Вибрано елементів: ${t.number(e.count)}`})}.`,selectedItem:e=>`${e.item} вибрано.`};var Npe={};Npe={deselectedItem:e=>`未选择 ${e.item}。`,longPressToSelect:"长按以进入选择模式。",select:"选择",selectedAll:"已选择所有项目。",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"未选择项目",one:()=>`已选择 ${t.number(e.count)} 个项目`,other:()=>`已选择 ${t.number(e.count)} 个项目`})}。`,selectedItem:e=>`已选择 ${e.item}。`};var Lpe={};Lpe={deselectedItem:e=>`未選取「${e.item}」。`,longPressToSelect:"長按以進入選擇模式。",select:"選取",selectedAll:"已選取所有項目。",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"未選取任何項目",one:()=>`已選取 ${t.number(e.count)} 個項目`,other:()=>`已選取 ${t.number(e.count)} 個項目`})}。`,selectedItem:e=>`已選取「${e.item}」。`};var xL={};xL={"ar-AE":ape,"bg-BG":ope,"cs-CZ":spe,"da-DK":upe,"de-DE":lpe,"el-GR":cpe,"en-US":fpe,"es-ES":dpe,"et-EE":hpe,"fi-FI":ppe,"fr-FR":mpe,"he-IL":gpe,"hr-HR":vpe,"hu-HU":ype,"it-IT":bpe,"ja-JP":Ope,"ko-KR":xpe,"lt-LT":_pe,"lv-LV":Spe,"nb-NO":wpe,"nl-NL":Epe,"pl-PL":$pe,"pt-BR":Cpe,"pt-PT":Ppe,"ro-RO":Dpe,"ru-RU":Rpe,"sk-SK":kpe,"sl-SI":Tpe,"sr-SP":Ape,"sv-SE":Fpe,"tr-TR":Ipe,"uk-UA":Mpe,"zh-CN":Npe,"zh-TW":Lpe};function r9e(e){return e&&e.__esModule?e.default:e}function n9e(e,t){let{getRowText:r=s=>{var u,l,c,f;return(f=(u=(l=t.collection).getTextValue)===null||u===void 0?void 0:u.call(l,s))!==null&&f!==void 0?f:(c=t.collection.getItem(s))===null||c===void 0?void 0:c.textValue}}=e,n=dh(r9e(xL),"@react-aria/grid"),i=t.selectionManager.rawSelection,a=F.useRef(i),o=Aa(()=>{var s;if(!t.selectionManager.isFocused||i===a.current){a.current=i;return}let u=AK(i,a.current),l=AK(a.current,i),c=t.selectionManager.selectionBehavior==="replace",f=[];if(t.selectionManager.selectedKeys.size===1&&c){if(t.collection.getItem(t.selectionManager.selectedKeys.keys().next().value)){let d=r(t.selectionManager.selectedKeys.keys().next().value);d&&f.push(n.format("selectedItem",{item:d}))}}else if(u.size===1&&l.size===0){let d=r(u.keys().next().value);d&&f.push(n.format("selectedItem",{item:d}))}else if(l.size===1&&u.size===0&&t.collection.getItem(l.keys().next().value)){let d=r(l.keys().next().value);d&&f.push(n.format("deselectedItem",{item:d}))}t.selectionManager.selectionMode==="multiple"&&(f.length===0||i==="all"||i.size>1||a.current==="all"||((s=a.current)===null||s===void 0?void 0:s.size)>1)&&f.push(i==="all"?n.format("selectedAll"):n.format("selectedCount",{count:i.size})),f.length>0&&oy(f.join(" ")),a.current=i});iue(()=>{if(t.selectionManager.isFocused)o();else{let s=requestAnimationFrame(o);return()=>cancelAnimationFrame(s)}},[i,t.selectionManager.isFocused])}function AK(e,t){let r=new Set;if(e==="all"||t==="all")return r;for(let n of e.keys())t.has(n)||r.add(n);return r}function i9e(e){return e&&e.__esModule?e.default:e}function a9e(e){let t=dh(i9e(xL),"@react-aria/grid"),r=pue(),n=(r==="pointer"||r==="virtual"||r==null)&&typeof window<"u"&&"ontouchstart"in window,i=F.useMemo(()=>{let o=e.selectionManager.selectionMode,s=e.selectionManager.selectionBehavior,u;return n&&(u=t.format("longPressToSelect")),s==="replace"&&o!=="none"&&e.hasItemActions?u:void 0},[e.selectionManager.selectionMode,e.selectionManager.selectionBehavior,e.hasItemActions,t,n]);return D$(i)}function o9e(e,t,r){let{isVirtualized:n,keyboardDelegate:i,layoutDelegate:a,onAction:o,disallowTypeAhead:s,linkBehavior:u="action",keyboardNavigationBehavior:l="arrow"}=e;!e["aria-label"]&&!e["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let{listProps:c}=ZN({selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,ref:r,keyboardDelegate:i,layoutDelegate:a,isVirtualized:n,selectOnFocus:t.selectionManager.selectionBehavior==="replace",shouldFocusWrap:e.shouldFocusWrap,linkBehavior:u,disallowTypeAhead:s,autoFocus:e.autoFocus}),f=Bi(e.id);OL.set(t,{id:f,onAction:o,linkBehavior:u,keyboardNavigationBehavior:l});let d=a9e({selectionManager:t.selectionManager,hasItemActions:!!o}),h=Cue(r,{isDisabled:t.collection.size!==0}),g=Jr(e,{labelable:!0}),m=Qt(g,{role:"grid",id:f,"aria-multiselectable":t.selectionManager.selectionMode==="multiple"?"true":void 0},t.collection.size===0?{tabIndex:h?-1:0}:c,d);return n&&(m["aria-rowcount"]=t.collection.size,m["aria-colcount"]=1),n9e({},t),{gridProps:m}}const FK={expand:{ltr:"ArrowRight",rtl:"ArrowLeft"},collapse:{ltr:"ArrowLeft",rtl:"ArrowRight"}};function s9e(e,t,r){var n,i;let{node:a,isVirtualized:o,shouldSelectOnPressUp:s}=e,{direction:u}=Ha(),{onAction:l,linkBehavior:c,keyboardNavigationBehavior:f}=OL.get(t),d=I0(),h=F.useRef(null),g=()=>{var Q;r.current!==null&&(h.current!=null&&a.key!==h.current||!(!((Q=r.current)===null||Q===void 0)&&Q.contains(document.activeElement)))&&cl(r.current)},m={},v=e.hasChildItems,y=t.selectionManager.isLink(a.key);if(a!=null&&"expandedKeys"in t){var O,x,C;let Q=(O=(x=t.collection).getChildren)===null||O===void 0?void 0:O.call(x,a.key);v=v||[...Q??[]].length>1,l==null&&!y&&t.selectionManager.selectionMode==="none"&&v&&(l=()=>t.toggleKey(a.key));let V=v?t.expandedKeys.has(a.key):void 0,I=1;var w;if(a.level>0&&(a==null?void 0:a.parentKey)!=null){let q=t.collection.getItem(a.parentKey);if(q){var E,T;let M=(E=(T=t.collection).getChildren)===null||E===void 0?void 0:E.call(T,q.key);I=v5e(M).index+1}}else I=((w=(C=[...t.collection].filter(q=>q.level===0).at(-1))===null||C===void 0?void 0:C.index)!==null&&w!==void 0?w:0)+1;m={"aria-expanded":V,"aria-level":a.level+1,"aria-posinset":(a==null?void 0:a.index)+1,"aria-setsize":I}}let{itemProps:P,...L}=F$({selectionManager:t.selectionManager,key:a.key,ref:r,isVirtualized:o,shouldSelectOnPressUp:s,onAction:l||!((n=a.props)===null||n===void 0)&&n.onAction?Kf((i=a.props)===null||i===void 0?void 0:i.onAction,l?()=>l(a.key):void 0):void 0,focus:g,linkBehavior:c}),N=Q=>{if(!Q.currentTarget.contains(Q.target)||!r.current||!document.activeElement)return;let V=ls(r.current);if(V.currentNode=document.activeElement,"expandedKeys"in t&&document.activeElement===r.current){if(Q.key===FK.expand[u]&&t.selectionManager.focusedKey===a.key&&v&&!t.expandedKeys.has(a.key)){t.toggleKey(a.key),Q.stopPropagation();return}else if(Q.key===FK.collapse[u]&&t.selectionManager.focusedKey===a.key&&v&&t.expandedKeys.has(a.key)){t.toggleKey(a.key),Q.stopPropagation();return}}switch(Q.key){case"ArrowLeft":if(f==="arrow"){let q=u==="rtl"?V.nextNode():V.previousNode();if(q)Q.preventDefault(),Q.stopPropagation(),cl(q),O0(q,{containingElement:b0(r.current)});else if(Q.preventDefault(),Q.stopPropagation(),u==="rtl")cl(r.current),O0(r.current,{containingElement:b0(r.current)});else{V.currentNode=r.current;let M=IK(V);M&&(cl(M),O0(M,{containingElement:b0(r.current)}))}}break;case"ArrowRight":if(f==="arrow"){let q=u==="rtl"?V.previousNode():V.nextNode();if(q)Q.preventDefault(),Q.stopPropagation(),cl(q),O0(q,{containingElement:b0(r.current)});else if(Q.preventDefault(),Q.stopPropagation(),u==="ltr")cl(r.current),O0(r.current,{containingElement:b0(r.current)});else{V.currentNode=r.current;let M=IK(V);M&&(cl(M),O0(M,{containingElement:b0(r.current)}))}}break;case"ArrowUp":case"ArrowDown":if(!Q.altKey&&r.current.contains(Q.target)){var I;Q.stopPropagation(),Q.preventDefault(),(I=r.current.parentElement)===null||I===void 0||I.dispatchEvent(new KeyboardEvent(Q.nativeEvent.type,Q.nativeEvent))}break;case"Tab":if(f==="tab"){let q=ls(r.current,{tabbable:!0});q.currentNode=document.activeElement,(Q.shiftKey?q.previousNode():q.nextNode())&&Q.stopPropagation()}}},B=Q=>{if(h.current=a.key,Q.target!==r.current){gg()||t.selectionManager.setFocusedKey(a.key);return}},j=rue(a.props),A=L.hasAction?j:{},H=Qt(P,A,{role:"row",onKeyDownCapture:N,onFocus:B,"aria-label":a.textValue||void 0,"aria-selected":t.selectionManager.canSelectItem(a.key)?t.selectionManager.isSelected(a.key):void 0,"aria-disabled":t.selectionManager.isDisabled(a.key)||void 0,"aria-labelledby":d&&a.textValue?`${TK(t,a.key)} ${d}`:void 0,id:TK(t,a.key)});o&&(H["aria-rowindex"]=a.index+1);let k={role:"gridcell","aria-colindex":1};return{rowProps:{...Qt(H,m)},gridCellProps:k,descriptionProps:{id:d},...L}}function IK(e){let t=null,r=null;do r=e.lastChild(),r&&(t=r);while(r);return t}const zpe=new WeakMap;function u9e(e,t,r){let{value:n,children:i,"aria-label":a,"aria-labelledby":o}=e;const s=e.isDisabled||t.isDisabled;let u=i!=null,l=a!=null||o!=null;!u&&!l&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let c=t.selectedValue===n,f=P=>{P.stopPropagation(),t.setSelectedValue(n)},{pressProps:d,isPressed:h}=mg({isDisabled:s}),{pressProps:g,isPressed:m}=mg({isDisabled:s,onPress(){var P;t.setSelectedValue(n),(P=r.current)===null||P===void 0||P.focus()}}),{focusableProps:v}=Ng(Qt(e,{onFocus:()=>t.setLastFocusedValue(n)}),r),y=Qt(d,v),O=Jr(e,{labelable:!0}),x=-1;t.selectedValue!=null?t.selectedValue===n&&(x=0):(t.lastFocusedValue===n||t.lastFocusedValue==null)&&(x=0),s&&(x=void 0);let{name:C,descriptionId:w,errorMessageId:E,validationBehavior:T}=zpe.get(t);return fO(r,t.selectedValue,t.setSelectedValue),U$({validationBehavior:T},t,r),{labelProps:Qt(g,{onClick:P=>P.preventDefault()}),inputProps:Qt(O,{...y,type:"radio",name:C,tabIndex:x,disabled:s,required:t.isRequired&&T==="native",checked:c,value:n,onChange:f,"aria-describedby":[e["aria-describedby"],t.isInvalid?E:null,w].filter(Boolean).join(" ")||void 0}),isDisabled:s,isSelected:c,isPressed:h||m}}function l9e(e,t){let{name:r,isReadOnly:n,isRequired:i,isDisabled:a,orientation:o="vertical",validationBehavior:s="aria"}=e,{direction:u}=Ha(),{isInvalid:l,validationErrors:c,validationDetails:f}=t.displayValidation,{labelProps:d,fieldProps:h,descriptionProps:g,errorMessageProps:m}=cw({...e,labelElementType:"span",isInvalid:t.isInvalid,errorMessage:e.errorMessage||c}),v=Jr(e,{labelable:!0}),{focusWithinProps:y}=Lg({onBlurWithin(C){var w;(w=e.onBlur)===null||w===void 0||w.call(e,C),t.selectedValue||t.setLastFocusedValue(null)},onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),O=C=>{let w;switch(C.key){case"ArrowRight":u==="rtl"&&o!=="vertical"?w="prev":w="next";break;case"ArrowLeft":u==="rtl"&&o!=="vertical"?w="next":w="prev";break;case"ArrowDown":w="next";break;case"ArrowUp":w="prev";break;default:return}C.preventDefault();let E=ls(C.currentTarget,{from:C.target}),T;w==="next"?(T=E.nextNode(),T||(E.currentNode=C.currentTarget,T=E.firstChild())):(T=E.previousNode(),T||(E.currentNode=C.currentTarget,T=E.lastChild())),T&&(T.focus(),t.setSelectedValue(T.value))},x=Bi(r);return zpe.set(t,{name:x,descriptionId:g.id,errorMessageId:m.id,validationBehavior:s}),{radioGroupProps:Qt(v,{role:"radiogroup",onKeyDown:O,"aria-invalid":t.isInvalid||void 0,"aria-errormessage":e["aria-errormessage"],"aria-readonly":n||void 0,"aria-required":i||void 0,"aria-disabled":a||void 0,"aria-orientation":o,...h,...y}),labelProps:d,descriptionProps:g,errorMessageProps:m,isInvalid:l,validationErrors:c,validationDetails:f}}var Qpe={};Qpe={"Clear search":"مسح البحث"};var Bpe={};Bpe={"Clear search":"Изчистване на търсене"};var qpe={};qpe={"Clear search":"Vymazat hledání"};var Upe={};Upe={"Clear search":"Ryd søgning"};var Vpe={};Vpe={"Clear search":"Suche zurücksetzen"};var jpe={};jpe={"Clear search":"Απαλοιφή αναζήτησης"};var Wpe={};Wpe={"Clear search":"Clear search"};var Zpe={};Zpe={"Clear search":"Borrar búsqueda"};var Kpe={};Kpe={"Clear search":"Tühjenda otsing"};var Hpe={};Hpe={"Clear search":"Tyhjennä haku"};var Ype={};Ype={"Clear search":"Effacer la recherche"};var Gpe={};Gpe={"Clear search":"נקה חיפוש"};var Xpe={};Xpe={"Clear search":"Obriši pretragu"};var Jpe={};Jpe={"Clear search":"Keresés törlése"};var e0e={};e0e={"Clear search":"Cancella ricerca"};var t0e={};t0e={"Clear search":"検索をクリア"};var r0e={};r0e={"Clear search":"검색 지우기"};var n0e={};n0e={"Clear search":"Išvalyti iešką"};var i0e={};i0e={"Clear search":"Notīrīt meklēšanu"};var a0e={};a0e={"Clear search":"Tøm søk"};var o0e={};o0e={"Clear search":"Zoekactie wissen"};var s0e={};s0e={"Clear search":"Wyczyść zawartość wyszukiwania"};var u0e={};u0e={"Clear search":"Limpar pesquisa"};var l0e={};l0e={"Clear search":"Limpar pesquisa"};var c0e={};c0e={"Clear search":"Ştergeţi căutarea"};var f0e={};f0e={"Clear search":"Очистить поиск"};var d0e={};d0e={"Clear search":"Vymazať vyhľadávanie"};var h0e={};h0e={"Clear search":"Počisti iskanje"};var p0e={};p0e={"Clear search":"Obriši pretragu"};var m0e={};m0e={"Clear search":"Rensa sökning"};var g0e={};g0e={"Clear search":"Aramayı temizle"};var v0e={};v0e={"Clear search":"Очистити пошук"};var y0e={};y0e={"Clear search":"清除搜索"};var b0e={};b0e={"Clear search":"清除搜尋條件"};var O0e={};O0e={"ar-AE":Qpe,"bg-BG":Bpe,"cs-CZ":qpe,"da-DK":Upe,"de-DE":Vpe,"el-GR":jpe,"en-US":Wpe,"es-ES":Zpe,"et-EE":Kpe,"fi-FI":Hpe,"fr-FR":Ype,"he-IL":Gpe,"hr-HR":Xpe,"hu-HU":Jpe,"it-IT":e0e,"ja-JP":t0e,"ko-KR":r0e,"lt-LT":n0e,"lv-LV":i0e,"nb-NO":a0e,"nl-NL":o0e,"pl-PL":s0e,"pt-BR":u0e,"pt-PT":l0e,"ro-RO":c0e,"ru-RU":f0e,"sk-SK":d0e,"sl-SI":h0e,"sr-SP":p0e,"sv-SE":m0e,"tr-TR":g0e,"uk-UA":v0e,"zh-CN":y0e,"zh-TW":b0e};function c9e(e){return e&&e.__esModule?e.default:e}function f9e(e,t,r){let n=dh(c9e(O0e),"@react-aria/searchfield"),{isDisabled:i,isReadOnly:a,onSubmit:o,onClear:s,type:u="search"}=e,l=y=>{const O=y.key;O==="Enter"&&(i||a)&&y.preventDefault(),!(i||a)&&(O==="Enter"&&o&&(y.preventDefault(),o(t.value)),O==="Escape"&&(t.value===""&&(!r.current||r.current.value==="")?y.continuePropagation():(y.preventDefault(),t.setValue(""),s&&s())))},c=()=>{t.setValue(""),s&&s()},f=()=>{var y;(y=r.current)===null||y===void 0||y.focus()},{labelProps:d,inputProps:h,descriptionProps:g,errorMessageProps:m,...v}=j$({...e,value:t.value,onChange:t.setValue,onKeyDown:a?e.onKeyDown:Kf(l,e.onKeyDown),type:u},r);return{labelProps:d,inputProps:{...h,defaultValue:void 0},clearButtonProps:{"aria-label":n.format("Clear search"),excludeFromTabOrder:!0,preventFocusOnPress:!0,isDisabled:i||a,onPress:c,onPressStart:f},descriptionProps:g,errorMessageProps:m,...v}}const x0e=new WeakMap;function d9e(e,t,r){let{keyboardDelegate:n,isDisabled:i,isRequired:a,name:o,validationBehavior:s="aria"}=e,u=A$({usage:"search",sensitivity:"base"}),l=F.useMemo(()=>n||new aw(t.collection,t.disabledKeys,r,u),[n,t.collection,t.disabledKeys,u]),{menuTriggerProps:c,menuProps:f}=vle({isDisabled:i,type:"listbox"},t,r),d=P=>{switch(P.key){case"ArrowLeft":{var L,N;P.preventDefault();let A=t.selectedKey!=null?(L=l.getKeyAbove)===null||L===void 0?void 0:L.call(l,t.selectedKey):(N=l.getFirstKey)===null||N===void 0?void 0:N.call(l);A&&t.setSelectedKey(A);break}case"ArrowRight":{var B,j;P.preventDefault();let A=t.selectedKey!=null?(B=l.getKeyBelow)===null||B===void 0?void 0:B.call(l,t.selectedKey):(j=l.getFirstKey)===null||j===void 0?void 0:j.call(l);A&&t.setSelectedKey(A);break}}},{typeSelectProps:h}=Ole({keyboardDelegate:l,selectionManager:t.selectionManager,onTypeSelect(P){t.setSelectedKey(P)}}),{isInvalid:g,validationErrors:m,validationDetails:v}=t.displayValidation,{labelProps:y,fieldProps:O,descriptionProps:x,errorMessageProps:C}=cw({...e,labelElementType:"span",isInvalid:g,errorMessage:e.errorMessage||m});h.onKeyDown=h.onKeyDownCapture,delete h.onKeyDownCapture;let w=Jr(e,{labelable:!0}),E=Qt(h,c,O),T=Bi();return x0e.set(t,{isDisabled:i,isRequired:a,name:o,validationBehavior:s}),{labelProps:{...y,onClick:()=>{if(!e.isDisabled){var P;(P=r.current)===null||P===void 0||P.focus(),QN("keyboard")}}},triggerProps:Qt(w,{...E,isDisabled:i,onKeyDown:Kf(E.onKeyDown,d,e.onKeyDown),onKeyUp:e.onKeyUp,"aria-labelledby":[T,E["aria-labelledby"],E["aria-label"]&&!E["aria-labelledby"]?E.id:null].filter(Boolean).join(" "),onFocus(P){t.isFocused||(e.onFocus&&e.onFocus(P),e.onFocusChange&&e.onFocusChange(!0),t.setFocused(!0))},onBlur(P){t.isOpen||(e.onBlur&&e.onBlur(P),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))}}),valueProps:{id:T},menuProps:{...f,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,disallowEmptySelection:!0,linkBehavior:"selection",onBlur:P=>{P.currentTarget.contains(P.relatedTarget)||(e.onBlur&&e.onBlur(P),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))},"aria-labelledby":[O["aria-labelledby"],E["aria-label"]&&!O["aria-labelledby"]?E.id:null].filter(Boolean).join(" ")},descriptionProps:x,errorMessageProps:C,isInvalid:g,validationErrors:m,validationDetails:v}}function h9e(e,t,r){let n=x0e.get(t)||{},{autoComplete:i,name:a=n.name,isDisabled:o=n.isDisabled}=e,{validationBehavior:s,isRequired:u}=n,{visuallyHiddenProps:l}=ple();fO(e.selectRef,t.selectedKey,t.setSelectedKey),U$({validationBehavior:s,focus:()=>{var f;return(f=r.current)===null||f===void 0?void 0:f.focus()}},t,e.selectRef);var c;return{containerProps:{...l,"aria-hidden":!0,"data-react-aria-prevent-focus":!0,"data-a11y-ignore":"aria-hidden-focus"},inputProps:{style:{display:"none"}},selectProps:{tabIndex:-1,autoComplete:i,disabled:o,required:s==="native"&&u,name:a,value:(c=t.selectedKey)!==null&&c!==void 0?c:void 0,onChange:f=>t.setSelectedKey(f.target.value)}}}function p9e(e){let{state:t,triggerRef:r,label:n,name:i,isDisabled:a}=e,o=F.useRef(null),{containerProps:s,selectProps:u}=h9e({...e,selectRef:o},t,r);var l;return t.collection.size<=300?$e.createElement("div",{...s,"data-testid":"hidden-select-container"},$e.createElement("label",null,n,$e.createElement("select",{...u,ref:o},$e.createElement("option",null),[...t.collection.getKeys()].map(c=>{let f=t.collection.getItem(c);if(f&&f.type==="item")return $e.createElement("option",{key:f.key,value:f.key},f.textValue)})))):i?$e.createElement("input",{type:"hidden",autoComplete:u.autoComplete,name:i,disabled:a,value:(l=t.selectedKey)!==null&&l!==void 0?l:""}):null}const _0e=new WeakMap;function G2(e,t,r){return e?(typeof t=="string"&&(t=t.replace(/\s+/g,"")),`${_0e.get(e)}-${r}-${t}`):""}function m9e(e,t,r){let{key:n,isDisabled:i,shouldSelectOnPressUp:a}=e,{selectionManager:o,selectedKey:s}=t,u=n===s,l=i||t.isDisabled||t.selectionManager.isDisabled(n),{itemProps:c,isPressed:f}=F$({selectionManager:o,key:n,ref:r,isDisabled:l,shouldSelectOnPressUp:a,linkBehavior:"selection"}),d=G2(t,n,"tab"),h=G2(t,n,"tabpanel"),{tabIndex:g}=c,m=t.collection.getItem(n),v=Jr(m==null?void 0:m.props,{labelable:!0});delete v.id;let y=IN(m==null?void 0:m.props),{focusableProps:O}=Ng({isDisabled:l},r);return{tabProps:Qt(v,O,y,c,{id:d,"aria-selected":u,"aria-disabled":l||void 0,"aria-controls":u?h:void 0,tabIndex:l?void 0:g,role:"tab"}),isSelected:u,isDisabled:l,isPressed:f}}function g9e(e,t,r){let n=Cue(r)?void 0:0;var i;const a=G2(t,(i=e.id)!==null&&i!==void 0?i:t==null?void 0:t.selectedKey,"tabpanel"),o=vy({...e,id:a,"aria-labelledby":G2(t,t==null?void 0:t.selectedKey,"tab")});return{tabPanelProps:Qt(o,{tabIndex:n,role:"tabpanel","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]})}}class v9e{getKeyLeftOf(t){return this.flipDirection?this.getNextKey(t):this.getPreviousKey(t)}getKeyRightOf(t){return this.flipDirection?this.getPreviousKey(t):this.getNextKey(t)}isDisabled(t){var r,n;return this.disabledKeys.has(t)||!!(!((n=this.collection.getItem(t))===null||n===void 0||(r=n.props)===null||r===void 0)&&r.isDisabled)}getFirstKey(){let t=this.collection.getFirstKey();return t!=null&&this.isDisabled(t)&&(t=this.getNextKey(t)),t}getLastKey(){let t=this.collection.getLastKey();return t!=null&&this.isDisabled(t)&&(t=this.getPreviousKey(t)),t}getKeyAbove(t){return this.tabDirection?null:this.getPreviousKey(t)}getKeyBelow(t){return this.tabDirection?null:this.getNextKey(t)}getNextKey(t){do t=this.collection.getKeyAfter(t),t==null&&(t=this.collection.getFirstKey());while(this.isDisabled(t));return t}getPreviousKey(t){do t=this.collection.getKeyBefore(t),t==null&&(t=this.collection.getLastKey());while(this.isDisabled(t));return t}constructor(t,r,n,i=new Set){this.collection=t,this.flipDirection=r==="rtl"&&n==="horizontal",this.disabledKeys=i,this.tabDirection=n==="horizontal"}}function y9e(e,t,r){let{orientation:n="horizontal",keyboardActivation:i="automatic"}=e,{collection:a,selectionManager:o,disabledKeys:s}=t,{direction:u}=Ha(),l=F.useMemo(()=>new v9e(a,u,n,s),[a,s,n,u]),{collectionProps:c}=WN({ref:r,selectionManager:o,keyboardDelegate:l,selectOnFocus:i==="automatic",disallowEmptySelection:!0,scrollRef:r,linkBehavior:"selection"}),f=Bi();_0e.set(t,f);let d=vy({...e,id:f});return{tabListProps:{...Qt(c,d),role:"tablist","aria-orientation":n,tabIndex:void 0}}}const S0e=new WeakMap;function b9e(e,t,r){let{direction:n}=Ha(),i=e.keyboardDelegate||new aw({collection:t.collection,ref:r,orientation:"horizontal",direction:n,disabledKeys:t.disabledKeys,disabledBehavior:t.selectionManager.disabledBehavior}),{labelProps:a,fieldProps:o,descriptionProps:s,errorMessageProps:u}=cw({...e,labelElementType:"span"}),{gridProps:l}=o9e({...e,...o,keyboardDelegate:i,shouldFocusWrap:!0,linkBehavior:"override"},t,r),[c,f]=F.useState(!1),{focusWithinProps:d}=Lg({onFocusWithinChange:f}),h=Jr(e),g=F.useRef(t.collection.size);return F.useEffect(()=>{r.current&&g.current>0&&t.collection.size===0&&c&&r.current.focus(),g.current=t.collection.size},[t.collection.size,c,r]),S0e.set(t,{onRemove:e.onRemove}),{gridProps:Qt(l,h,{role:t.collection.size?"grid":null,"aria-atomic":!1,"aria-relevant":"additions","aria-live":c?"polite":"off",...d,...o}),labelProps:a,descriptionProps:s,errorMessageProps:u}}var w0e={};w0e={removeButtonLabel:"إزالة",removeDescription:"اضغط على مفتاح DELETE لإزالة علامة."};var E0e={};E0e={removeButtonLabel:"Премахване",removeDescription:"Натиснете Delete, за да премахнете маркера."};var $0e={};$0e={removeButtonLabel:"Odebrat",removeDescription:"Stisknutím klávesy Delete odeberete značku."};var C0e={};C0e={removeButtonLabel:"Fjern",removeDescription:"Tryk på Slet for at fjerne tag."};var P0e={};P0e={removeButtonLabel:"Entfernen",removeDescription:"Auf „Löschen“ drücken, um das Tag zu entfernen."};var D0e={};D0e={removeButtonLabel:"Κατάργηση",removeDescription:"Πατήστε Διαγραφή για να καταργήσετε την ετικέτα."};var R0e={};R0e={removeDescription:"Press Delete to remove tag.",removeButtonLabel:"Remove"};var k0e={};k0e={removeButtonLabel:"Quitar",removeDescription:"Pulse Eliminar para quitar la etiqueta."};var T0e={};T0e={removeButtonLabel:"Eemalda",removeDescription:"Sildi eemaldamiseks vajutage kustutusklahvi Delete."};var A0e={};A0e={removeButtonLabel:"Poista",removeDescription:"Poista tunniste painamalla Poista-painiketta."};var F0e={};F0e={removeButtonLabel:"Supprimer",removeDescription:"Appuyez sur Supprimer pour supprimer l’étiquette."};var I0e={};I0e={removeButtonLabel:"הסר",removeDescription:"לחץ על מחק כדי להסיר תג."};var M0e={};M0e={removeButtonLabel:"Ukloni",removeDescription:"Pritisnite Delete za uklanjanje oznake."};var N0e={};N0e={removeButtonLabel:"Eltávolítás",removeDescription:"Nyomja meg a Delete billentyűt a címke eltávolításához."};var L0e={};L0e={removeButtonLabel:"Rimuovi",removeDescription:"Premi Elimina per rimuovere il tag."};var z0e={};z0e={removeButtonLabel:"削除",removeDescription:"タグを削除するには、Delete キーを押します。"};var Q0e={};Q0e={removeButtonLabel:"제거",removeDescription:"태그를 제거하려면 Delete 키를 누르십시오."};var B0e={};B0e={removeButtonLabel:"Pašalinti",removeDescription:"Norėdami pašalinti žymą, paspauskite „Delete“ klavišą."};var q0e={};q0e={removeButtonLabel:"Noņemt",removeDescription:"Nospiediet Delete [Dzēst], lai noņemtu tagu."};var U0e={};U0e={removeButtonLabel:"Fjern",removeDescription:"Trykk på Slett for å fjerne taggen."};var V0e={};V0e={removeButtonLabel:"Verwijderen",removeDescription:"Druk op Verwijderen om de tag te verwijderen."};var j0e={};j0e={removeButtonLabel:"Usuń",removeDescription:"Naciśnij Usuń, aby usunąć znacznik."};var W0e={};W0e={removeButtonLabel:"Remover",removeDescription:"Pressione Delete para remover a tag."};var Z0e={};Z0e={removeButtonLabel:"Eliminar",removeDescription:"Prima Delete para eliminar a tag."};var K0e={};K0e={removeButtonLabel:"Îndepărtaţi",removeDescription:"Apăsați pe Delete (Ștergere) pentru a elimina eticheta."};var H0e={};H0e={removeButtonLabel:"Удалить",removeDescription:"Нажмите DELETE, чтобы удалить тег."};var Y0e={};Y0e={removeButtonLabel:"Odstrániť",removeDescription:"Ak chcete odstrániť značku, stlačte kláves Delete."};var G0e={};G0e={removeButtonLabel:"Odstrani",removeDescription:"Pritisnite Delete, da odstranite oznako."};var X0e={};X0e={removeButtonLabel:"Ukloni",removeDescription:"Pritisnite Obriši da biste uklonili oznaku."};var J0e={};J0e={removeButtonLabel:"Ta bort",removeDescription:"Tryck på Radera för att ta bort taggen."};var eme={};eme={removeButtonLabel:"Kaldır",removeDescription:"Etiketi kaldırmak için Sil tuşuna basın."};var tme={};tme={removeButtonLabel:"Вилучити",removeDescription:"Натисніть Delete, щоб вилучити тег."};var rme={};rme={removeButtonLabel:"删除",removeDescription:"按下“删除”以删除标记。"};var nme={};nme={removeButtonLabel:"移除",removeDescription:"按 Delete 鍵以移除標記。"};var ime={};ime={"ar-AE":w0e,"bg-BG":E0e,"cs-CZ":$0e,"da-DK":C0e,"de-DE":P0e,"el-GR":D0e,"en-US":R0e,"es-ES":k0e,"et-EE":T0e,"fi-FI":A0e,"fr-FR":F0e,"he-IL":I0e,"hr-HR":M0e,"hu-HU":N0e,"it-IT":L0e,"ja-JP":z0e,"ko-KR":Q0e,"lt-LT":B0e,"lv-LV":q0e,"nb-NO":U0e,"nl-NL":V0e,"pl-PL":j0e,"pt-BR":W0e,"pt-PT":Z0e,"ro-RO":K0e,"ru-RU":H0e,"sk-SK":Y0e,"sl-SI":G0e,"sr-SP":X0e,"sv-SE":J0e,"tr-TR":eme,"uk-UA":tme,"zh-CN":rme,"zh-TW":nme};function O9e(e){return e&&e.__esModule?e.default:e}function x9e(e,t,r){let{item:n}=e,i=dh(O9e(ime),"@react-aria/tag"),a=Bi(),{onRemove:o}=S0e.get(t)||{},{rowProps:s,gridCellProps:u,...l}=s9e({node:n},t,r);delete s.onKeyDownCapture;let{descriptionProps:c,...f}=l,d=t.disabledKeys.has(n.key)||n.props.isDisabled,h=T=>{if(T.key==="Delete"||T.key==="Backspace"){if(d)return;T.preventDefault(),t.selectionManager.isSelected(n.key)?o==null||o(new Set(t.selectionManager.selectedKeys)):o==null||o(new Set([n.key]))}},g=pue();g==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(g="pointer");let m=o&&(g==="keyboard"||g==="virtual")?i.format("removeDescription"):"",v=D$(m),y=n.key===t.selectionManager.focusedKey,O=t.selectionManager.focusedKey!=null,x=-1;!d&&(y||!O)&&(x=0);let C=Jr(n.props),w=rue(n.props),{focusableProps:E}=Ng({isDisabled:d},r);return{removeButtonProps:{"aria-label":i.format("removeButtonLabel"),"aria-labelledby":`${a} ${s.id}`,isDisabled:d,id:a,onPress:()=>o?o(new Set([n.key])):null,excludeFromTabOrder:!0},rowProps:Qt(E,s,C,w,{tabIndex:x,onKeyDown:o?h:void 0,"aria-describedby":v["aria-describedby"]}),gridCellProps:Qt(u,{"aria-errormessage":e["aria-errormessage"],"aria-label":e["aria-label"]}),...f,allowsRemoving:!!o}}function _9e(e,t){let r=Jr(e,{labelable:!0}),{hoverProps:n}=Ru({onHoverStart:()=>t==null?void 0:t.open(!0),onHoverEnd:()=>t==null?void 0:t.close()});return{tooltipProps:Qt(r,n,{role:"tooltip"})}}function S9e(e,t,r){let{isDisabled:n,trigger:i}=e,a=Bi(),o=F.useRef(!1),s=F.useRef(!1),u=()=>{(o.current||s.current)&&t.open(s.current)},l=y=>{!o.current&&!s.current&&t.close(y)};F.useEffect(()=>{let y=O=>{r&&r.current&&O.key==="Escape"&&(O.stopPropagation(),t.close(!0))};if(t.isOpen)return document.addEventListener("keydown",y,!0),()=>{document.removeEventListener("keydown",y,!0)}},[r,t]);let c=()=>{i!=="focus"&&(J_()==="pointer"?o.current=!0:o.current=!1,u())},f=()=>{i!=="focus"&&(s.current=!1,o.current=!1,l())},d=()=>{s.current=!1,o.current=!1,l(!0)},h=()=>{gg()&&(s.current=!0,u())},g=()=>{s.current=!1,o.current=!1,l(!0)},{hoverProps:m}=Ru({isDisabled:n,onHoverStart:c,onHoverEnd:f}),{focusableProps:v}=Ng({isDisabled:n,onFocus:h,onBlur:g},r);return{triggerProps:{"aria-describedby":t.isOpen?a:void 0,...Qt(v,m,{onPointerDown:d,onKeyDown:d,tabIndex:void 0})},tooltipProps:{id:a}}}const vp=F.createContext({});let w9e=e=>{let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,...i}=e;return i};const E9e=gO(function(t,r){[t,r]=Un(t,r,vp);let{hoverProps:n,isHovered:i}=Ru(t),{isFocused:a,isFocusVisible:o,focusProps:s}=cu({isTextInput:!0,autoFocus:t.autoFocus}),u=!!t["aria-invalid"]&&t["aria-invalid"]!=="false",l=_n({...t,values:{isHovered:i,isFocused:a,isFocusVisible:o,isDisabled:t.disabled||!1,isInvalid:u},defaultClassName:"react-aria-Input"});return $e.createElement("input",{...Qt(w9e(t),s,n),...l,ref:r,"data-focused":a||void 0,"data-disabled":t.disabled||void 0,"data-hovered":i||void 0,"data-focus-visible":o||void 0,"data-invalid":u||void 0})}),td=F.createContext({}),zht=gO(function(t,r){[t,r]=Un(t,r,td);let{elementType:n="label",...i}=t;return $e.createElement(n,{className:"react-aria-Label",...i,ref:r})}),$9e=F.createContext(null),C9e=new Set(["form","formAction","formEncType","formMethod","formNoValidate","formTarget","name","value"]),J0=F.createContext({}),Qht=gO(function(t,r){[t,r]=Un(t,r,J0),t=P9e(t);let n=t,{isPending:i}=n,{buttonProps:a,isPressed:o}=bfe(t,r),{focusProps:s,isFocused:u,isFocusVisible:l}=cu(t),{hoverProps:c,isHovered:f}=Ru({...t,isDisabled:t.isDisabled||i}),d={isHovered:f,isPressed:(n.isPressed||o)&&!i,isFocused:u,isFocusVisible:l,isDisabled:t.isDisabled||!1,isPending:i??!1},h=_n({...t,values:d,defaultClassName:"react-aria-Button"}),g=Bi(a.id),m=Bi(),v=a["aria-labelledby"];i&&(v?v=`${v} ${m}`:a["aria-label"]&&(v=`${g} ${m}`));let y=F.useRef(i);return F.useEffect(()=>{let O={"aria-labelledby":v||g};(!y.current&&u&&i||y.current&&u&&!i)&&oy(O,"assertive"),y.current=i},[i,u,v,g]),$e.createElement("button",{...Jr(t,{propNames:C9e}),...Qt(a,s,c),...h,type:a.type==="submit"&&i?"button":a.type,id:g,ref:r,"aria-labelledby":v,slot:t.slot||void 0,"aria-disabled":i?"true":a["aria-disabled"],"data-disabled":t.isDisabled||void 0,"data-pressed":d.isPressed||void 0,"data-hovered":f||void 0,"data-focused":u||void 0,"data-pending":i||void 0,"data-focus-visible":l||void 0},$e.createElement($9e.Provider,{value:{id:m}},h.children))});function P9e(e){return e.isPending&&(e.onPress=void 0,e.onPressStart=void 0,e.onPressEnd=void 0,e.onPressChange=void 0,e.onPressUp=void 0,e.onKeyDown=void 0,e.onKeyUp=void 0,e.onClick=void 0,e.href=void 0),e}const rd=F.createContext({}),D9e=F.forwardRef(function(t,r){[t,r]=Un(t,r,rd);let{elementType:n="span",...i}=t;return $e.createElement(n,{className:"react-aria-Text",...i,ref:r})}),_p=F.createContext(null),Bht=F.forwardRef(function(t,r){let n=F.useContext(_p);return n!=null&&n.isInvalid?$e.createElement(R9e,{...t,ref:r}):null}),R9e=F.forwardRef((e,t)=>{let r=F.useContext(_p),n=Jr(e),i=_n({...e,defaultClassName:"react-aria-FieldError",defaultChildren:r.validationErrors.length===0?void 0:r.validationErrors.join(" "),values:r});return i.children==null?null:$e.createElement(D9e,{slot:"errorMessage",...n,...i,ref:t})});class _9{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let r=this.keyMap.get(t);var n;return r&&(n=r.prevKey)!==null&&n!==void 0?n:null}getKeyAfter(t){let r=this.keyMap.get(t);var n;return r&&(n=r.nextKey)!==null&&n!==void 0?n:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){var r;return(r=this.keyMap.get(t))!==null&&r!==void 0?r:null}at(t){const r=[...this.getKeys()];return this.getItem(r[t])}getChildren(t){let r=this.keyMap.get(t);return(r==null?void 0:r.childNodes)||[]}constructor(t){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=t;let r=o=>{if(this.keyMap.set(o.key,o),o.childNodes&&o.type==="section")for(let s of o.childNodes)r(s)};for(let o of t)r(o);let n=null,i=0;for(let[o,s]of this.keyMap)n?(n.nextKey=o,s.prevKey=n.key):(this.firstKey=o,s.prevKey=void 0),s.type==="item"&&(s.index=i++),n=s,n.nextKey=void 0;var a;this.lastKey=(a=n==null?void 0:n.key)!==null&&a!==void 0?a:null}}function _L(e){let{filter:t,layoutDelegate:r}=e,n=_le(e),i=F.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=F.useCallback(l=>t?new _9(t(l)):new _9(l),[t]),o=F.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),s=xle(e,a,o),u=F.useMemo(()=>new M$(s,n,{layoutDelegate:r}),[s,n,r]);return ame(s,u),{collection:s,disabledKeys:i,selectionManager:u}}function k9e(e,t){let r=F.useMemo(()=>t?e.collection.UNSTABLE_filter(t):e.collection,[e.collection,t]),n=e.selectionManager.withCollection(r);return ame(r,n),{collection:r,selectionManager:n,disabledKeys:e.disabledKeys}}function ame(e,t){const r=F.useRef(null);F.useEffect(()=>{if(t.focusedKey!=null&&!e.getItem(t.focusedKey)&&r.current){const c=r.current.getItem(t.focusedKey),f=[...r.current.getKeys()].map(y=>{const O=r.current.getItem(y);return(O==null?void 0:O.type)==="item"?O:null}).filter(y=>y!==null),d=[...e.getKeys()].map(y=>{const O=e.getItem(y);return(O==null?void 0:O.type)==="item"?O:null}).filter(y=>y!==null);var n,i;const h=((n=f==null?void 0:f.length)!==null&&n!==void 0?n:0)-((i=d==null?void 0:d.length)!==null&&i!==void 0?i:0);var a,o,s;let g=Math.min(h>1?Math.max(((a=c==null?void 0:c.index)!==null&&a!==void 0?a:0)-h+1,0):(o=c==null?void 0:c.index)!==null&&o!==void 0?o:0,((s=d==null?void 0:d.length)!==null&&s!==void 0?s:0)-1),m=null,v=!1;for(;g>=0;){if(!t.isDisabled(d[g].key)){m=d[g];break}if(g<d.length-1&&!v)g++;else{v=!0;var u,l;g>((u=c==null?void 0:c.index)!==null&&u!==void 0?u:0)&&(g=(l=c==null?void 0:c.index)!==null&&l!==void 0?l:0),g--}}t.setFocusedKey(m?m.key:null)}r.current=e},[e,t])}function SL(e){var t;let[r,n]=Ka(e.selectedKey,(t=e.defaultSelectedKey)!==null&&t!==void 0?t:null,e.onSelectionChange),i=F.useMemo(()=>r!=null?[r]:[],[r]),{collection:a,disabledKeys:o,selectionManager:s}=_L({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:i,onSelectionChange:l=>{if(l==="all")return;var c;let f=(c=l.values().next().value)!==null&&c!==void 0?c:null;f===r&&e.onSelectionChange&&e.onSelectionChange(f),n(f)}}),u=r!=null?a.getItem(r):null;return{collection:a,disabledKeys:o,selectionManager:s,selectedKey:r,setSelectedKey:n,selectedItem:u}}function T9e(e){var t;let{defaultFilter:r,menuTrigger:n="input",allowsEmptyCollection:i=!1,allowsCustomValue:a,shouldCloseOnBlur:o=!0}=e,[s,u]=F.useState(!1),[l,c]=F.useState(!1),[f,d]=F.useState(null),h=ve=>{e.onSelectionChange&&e.onSelectionChange(ve),ve===y&&(te(),z())};var g;let{collection:m,selectionManager:v,selectedKey:y,setSelectedKey:O,selectedItem:x,disabledKeys:C}=SL({...e,onSelectionChange:h,items:(g=e.items)!==null&&g!==void 0?g:e.defaultItems}),w=e.defaultInputValue;if(w==null){var E,T;y==null?w="":w=(T=(E=m.getItem(y))===null||E===void 0?void 0:E.textValue)!==null&&T!==void 0?T:""}let[P,L]=Ka(e.inputValue,w,e.onInputChange),N=m,B=F.useMemo(()=>e.items!=null||!r?m:A9e(m,P,r),[m,P,r,e.items]),[j,A]=F.useState(B),H=F.useRef("focus"),Q=dO({...e,onOpenChange:ve=>{e.onOpenChange&&e.onOpenChange(ve,ve?H.current:void 0),v.setFocused(ve),ve||v.setFocusedKey(null)},isOpen:void 0,defaultOpen:void 0}),V=(ve=null,_e)=>{let De=_e==="manual"||_e==="focus"&&n==="focus";(i||B.size>0||De&&N.size>0||e.items)&&(De&&!Q.isOpen&&e.items===void 0&&u(!0),H.current=_e,d(ve),Q.open())},I=(ve=null,_e)=>{let De=_e==="manual"||_e==="focus"&&n==="focus";!(i||B.size>0||De&&N.size>0||e.items)&&!Q.isOpen||(De&&!Q.isOpen&&e.items===void 0&&u(!0),Q.isOpen||(H.current=_e),M(ve))},q=F.useCallback(()=>{A(s?N:B)},[s,N,B]),M=F.useCallback((ve=null)=>{Q.isOpen&&q(),d(ve),Q.toggle()},[Q,q]),z=F.useCallback(()=>{Q.isOpen&&(q(),Q.close())},[Q,q]),[G,K]=F.useState(P),te=()=>{var ve,_e;let De=y!=null&&(_e=(ve=m.getItem(y))===null||ve===void 0?void 0:ve.textValue)!==null&&_e!==void 0?_e:"";K(De),L(De)};var ae,ie;let Se=F.useRef((ie=(ae=e.selectedKey)!==null&&ae!==void 0?ae:e.defaultSelectedKey)!==null&&ie!==void 0?ie:null);var pe;let xe=F.useRef(y!=null&&(pe=(t=m.getItem(y))===null||t===void 0?void 0:t.textValue)!==null&&pe!==void 0?pe:"");F.useEffect(()=>{var ve;l&&(B.size>0||i)&&!Q.isOpen&&P!==G&&n!=="manual"&&V(null,"input"),!s&&!i&&Q.isOpen&&B.size===0&&z(),y!=null&&y!==Se.current&&z(),P!==G&&(v.setFocusedKey(null),u(!1),P===""&&(e.inputValue===void 0||e.selectedKey===void 0)&&O(null)),y!==Se.current&&(e.inputValue===void 0||e.selectedKey===void 0)?te():G!==P&&K(P);var _e;let De=y!=null&&(_e=(ve=m.getItem(y))===null||ve===void 0?void 0:ve.textValue)!==null&&_e!==void 0?_e:"";!l&&y!=null&&e.inputValue===void 0&&y===Se.current&&xe.current!==De&&(K(De),L(De)),Se.current=y,xe.current=De});let Oe=vO({...e,value:F.useMemo(()=>({inputValue:P,selectedKey:y}),[P,y])}),me=()=>{a&&y==null?ne():se()},ne=()=>{Se.current=null,O(null),z()},se=()=>{if(e.selectedKey!==void 0&&e.inputValue!==void 0){var ve,_e;(ve=e.onSelectionChange)===null||ve===void 0||ve.call(e,y);var De;let Te=y!=null&&(De=(_e=m.getItem(y))===null||_e===void 0?void 0:_e.textValue)!==null&&De!==void 0?De:"";K(Te),z()}else te(),z()};const X=()=>{if(a){var ve,_e;const De=y!=null&&(_e=(ve=m.getItem(y))===null||ve===void 0?void 0:ve.textValue)!==null&&_e!==void 0?_e:"";P===De?se():ne()}else se()};let re=()=>{Q.isOpen&&v.focusedKey!=null?y===v.focusedKey?se():O(v.focusedKey):X()},he=F.useRef(P),ge=ve=>{ve?(he.current=P,n==="focus"&&!e.isReadOnly&&V(null,"focus")):(o&&X(),P!==he.current&&Oe.commitValidation()),c(ve)},le=F.useMemo(()=>Q.isOpen?s?N:B:j,[Q.isOpen,N,B,s,j]);return{...Oe,...Q,focusStrategy:f,toggle:I,open:V,close:X,selectionManager:v,selectedKey:y,setSelectedKey:O,disabledKeys:C,isFocused:l,setFocused:ge,selectedItem:x,collection:le,inputValue:P,setInputValue:L,commit:re,revert:me}}function A9e(e,t,r){return new _9(ome(e,e,t,r))}function ome(e,t,r,n){let i=[];for(let a of t)if(a.type==="section"&&a.hasChildNodes){let o=ome(e,I$(a,e),r,n);[...o].some(s=>s.type==="item")&&i.push({...a,childNodes:o})}else a.type==="item"&&n(a.textValue,r)?i.push({...a}):a.type!=="item"&&i.push({...a});return i}var sme={};sme={rangeOverflow:e=>`يجب أن تكون القيمة ${e.maxValue} أو قبل ذلك.`,rangeReversed:"تاريخ البدء يجب أن يكون قبل تاريخ الانتهاء.",rangeUnderflow:e=>`يجب أن تكون القيمة ${e.minValue} أو بعد ذلك.`,unavailableDate:"البيانات المحددة غير متاحة."};var ume={};ume={rangeOverflow:e=>`Стойността трябва да е ${e.maxValue} или по-ранна.`,rangeReversed:"Началната дата трябва да е преди крайната.",rangeUnderflow:e=>`Стойността трябва да е ${e.minValue} или по-късно.`,unavailableDate:"Избраната дата не е налична."};var lme={};lme={rangeOverflow:e=>`Hodnota musí být ${e.maxValue} nebo dřívější.`,rangeReversed:"Datum zahájení musí předcházet datu ukončení.",rangeUnderflow:e=>`Hodnota musí být ${e.minValue} nebo pozdější.`,unavailableDate:"Vybrané datum není k dispozici."};var cme={};cme={rangeOverflow:e=>`Værdien skal være ${e.maxValue} eller tidligere.`,rangeReversed:"Startdatoen skal være før slutdatoen.",rangeUnderflow:e=>`Værdien skal være ${e.minValue} eller nyere.`,unavailableDate:"Den valgte dato er ikke tilgængelig."};var fme={};fme={rangeOverflow:e=>`Der Wert muss ${e.maxValue} oder früher sein.`,rangeReversed:"Das Anfangsdatum muss vor dem Enddatum liegen.",rangeUnderflow:e=>`Der Wert muss ${e.minValue} oder später sein.`,unavailableDate:"Das ausgewählte Datum ist nicht verfügbar."};var dme={};dme={rangeOverflow:e=>`Η τιμή πρέπει να είναι ${e.maxValue} ή παλαιότερη.`,rangeReversed:"Η ημερομηνία έναρξης πρέπει να είναι πριν από την ημερομηνία λήξης.",rangeUnderflow:e=>`Η τιμή πρέπει να είναι ${e.minValue} ή μεταγενέστερη.`,unavailableDate:"Η επιλεγμένη ημερομηνία δεν είναι διαθέσιμη."};var hme={};hme={rangeUnderflow:e=>`Value must be ${e.minValue} or later.`,rangeOverflow:e=>`Value must be ${e.maxValue} or earlier.`,rangeReversed:"Start date must be before end date.",unavailableDate:"Selected date unavailable."};var pme={};pme={rangeOverflow:e=>`El valor debe ser ${e.maxValue} o anterior.`,rangeReversed:"La fecha de inicio debe ser anterior a la fecha de finalización.",rangeUnderflow:e=>`El valor debe ser ${e.minValue} o posterior.`,unavailableDate:"Fecha seleccionada no disponible."};var mme={};mme={rangeOverflow:e=>`Väärtus peab olema ${e.maxValue} või varasem.`,rangeReversed:"Alguskuupäev peab olema enne lõppkuupäeva.",rangeUnderflow:e=>`Väärtus peab olema ${e.minValue} või hilisem.`,unavailableDate:"Valitud kuupäev pole saadaval."};var gme={};gme={rangeOverflow:e=>`Arvon on oltava ${e.maxValue} tai sitä aikaisempi.`,rangeReversed:"Aloituspäivän on oltava ennen lopetuspäivää.",rangeUnderflow:e=>`Arvon on oltava ${e.minValue} tai sitä myöhäisempi.`,unavailableDate:"Valittu päivämäärä ei ole käytettävissä."};var vme={};vme={rangeOverflow:e=>`La valeur doit être ${e.maxValue} ou antérieure.`,rangeReversed:"La date de début doit être antérieure à la date de fin.",rangeUnderflow:e=>`La valeur doit être ${e.minValue} ou ultérieure.`,unavailableDate:"La date sélectionnée n’est pas disponible."};var yme={};yme={rangeOverflow:e=>`הערך חייב להיות ${e.maxValue} או מוקדם יותר.`,rangeReversed:"תאריך ההתחלה חייב להיות לפני תאריך הסיום.",rangeUnderflow:e=>`הערך חייב להיות ${e.minValue} או מאוחר יותר.`,unavailableDate:"התאריך הנבחר אינו זמין."};var bme={};bme={rangeOverflow:e=>`Vrijednost mora biti ${e.maxValue} ili ranije.`,rangeReversed:"Datum početka mora biti prije datuma završetka.",rangeUnderflow:e=>`Vrijednost mora biti ${e.minValue} ili kasnije.`,unavailableDate:"Odabrani datum nije dostupan."};var Ome={};Ome={rangeOverflow:e=>`Az értéknek ${e.maxValue} vagy korábbinak kell lennie.`,rangeReversed:"A kezdő dátumnak a befejező dátumnál korábbinak kell lennie.",rangeUnderflow:e=>`Az értéknek ${e.minValue} vagy későbbinek kell lennie.`,unavailableDate:"A kiválasztott dátum nem érhető el."};var xme={};xme={rangeOverflow:e=>`Il valore deve essere ${e.maxValue} o precedente.`,rangeReversed:"La data di inizio deve essere antecedente alla data di fine.",rangeUnderflow:e=>`Il valore deve essere ${e.minValue} o successivo.`,unavailableDate:"Data selezionata non disponibile."};var _me={};_me={rangeOverflow:e=>`値は ${e.maxValue} 以下にする必要があります。`,rangeReversed:"開始日は終了日より前にする必要があります。",rangeUnderflow:e=>`値は ${e.minValue} 以上にする必要があります。`,unavailableDate:"選択した日付は使用できません。"};var Sme={};Sme={rangeOverflow:e=>`값은 ${e.maxValue} 이전이어야 합니다.`,rangeReversed:"시작일은 종료일 이전이어야 합니다.",rangeUnderflow:e=>`값은 ${e.minValue} 이상이어야 합니다.`,unavailableDate:"선택한 날짜를 사용할 수 없습니다."};var wme={};wme={rangeOverflow:e=>`Reikšmė turi būti ${e.maxValue} arba ankstesnė.`,rangeReversed:"Pradžios data turi būti ankstesnė nei pabaigos data.",rangeUnderflow:e=>`Reikšmė turi būti ${e.minValue} arba naujesnė.`,unavailableDate:"Pasirinkta data nepasiekiama."};var Eme={};Eme={rangeOverflow:e=>`Vērtībai ir jābūt ${e.maxValue} vai agrākai.`,rangeReversed:"Sākuma datumam ir jābūt pirms beigu datuma.",rangeUnderflow:e=>`Vērtībai ir jābūt ${e.minValue} vai vēlākai.`,unavailableDate:"Atlasītais datums nav pieejams."};var $me={};$me={rangeOverflow:e=>`Verdien må være ${e.maxValue} eller tidligere.`,rangeReversed:"Startdatoen må være før sluttdatoen.",rangeUnderflow:e=>`Verdien må være ${e.minValue} eller senere.`,unavailableDate:"Valgt dato utilgjengelig."};var Cme={};Cme={rangeOverflow:e=>`Waarde moet ${e.maxValue} of eerder zijn.`,rangeReversed:"De startdatum moet voor de einddatum liggen.",rangeUnderflow:e=>`Waarde moet ${e.minValue} of later zijn.`,unavailableDate:"Geselecteerde datum niet beschikbaar."};var Pme={};Pme={rangeOverflow:e=>`Wartość musi mieć wartość ${e.maxValue} lub wcześniejszą.`,rangeReversed:"Data rozpoczęcia musi być wcześniejsza niż data zakończenia.",rangeUnderflow:e=>`Wartość musi mieć wartość ${e.minValue} lub późniejszą.`,unavailableDate:"Wybrana data jest niedostępna."};var Dme={};Dme={rangeOverflow:e=>`O valor deve ser ${e.maxValue} ou anterior.`,rangeReversed:"A data inicial deve ser anterior à data final.",rangeUnderflow:e=>`O valor deve ser ${e.minValue} ou posterior.`,unavailableDate:"Data selecionada indisponível."};var Rme={};Rme={rangeOverflow:e=>`O valor tem de ser ${e.maxValue} ou anterior.`,rangeReversed:"A data de início deve ser anterior à data de fim.",rangeUnderflow:e=>`O valor tem de ser ${e.minValue} ou posterior.`,unavailableDate:"Data selecionada indisponível."};var kme={};kme={rangeOverflow:e=>`Valoarea trebuie să fie ${e.maxValue} sau anterioară.`,rangeReversed:"Data de început trebuie să fie anterioară datei de sfârșit.",rangeUnderflow:e=>`Valoarea trebuie să fie ${e.minValue} sau ulterioară.`,unavailableDate:"Data selectată nu este disponibilă."};var Tme={};Tme={rangeOverflow:e=>`Значение должно быть не позже ${e.maxValue}.`,rangeReversed:"Дата начала должна предшествовать дате окончания.",rangeUnderflow:e=>`Значение должно быть не раньше ${e.minValue}.`,unavailableDate:"Выбранная дата недоступна."};var Ame={};Ame={rangeOverflow:e=>`Hodnota musí byť ${e.maxValue} alebo skoršia.`,rangeReversed:"Dátum začiatku musí byť skorší ako dátum konca.",rangeUnderflow:e=>`Hodnota musí byť ${e.minValue} alebo neskoršia.`,unavailableDate:"Vybratý dátum je nedostupný."};var Fme={};Fme={rangeOverflow:e=>`Vrednost mora biti ${e.maxValue} ali starejša.`,rangeReversed:"Začetni datum mora biti pred končnim datumom.",rangeUnderflow:e=>`Vrednost mora biti ${e.minValue} ali novejša.`,unavailableDate:"Izbrani datum ni na voljo."};var Ime={};Ime={rangeOverflow:e=>`Vrednost mora da bude ${e.maxValue} ili starija.`,rangeReversed:"Datum početka mora biti pre datuma završetka.",rangeUnderflow:e=>`Vrednost mora da bude ${e.minValue} ili novija.`,unavailableDate:"Izabrani datum nije dostupan."};var Mme={};Mme={rangeOverflow:e=>`Värdet måste vara ${e.maxValue} eller tidigare.`,rangeReversed:"Startdatumet måste vara före slutdatumet.",rangeUnderflow:e=>`Värdet måste vara ${e.minValue} eller senare.`,unavailableDate:"Det valda datumet är inte tillgängligt."};var Nme={};Nme={rangeOverflow:e=>`Değer, ${e.maxValue} veya öncesi olmalıdır.`,rangeReversed:"Başlangıç tarihi bitiş tarihinden önce olmalıdır.",rangeUnderflow:e=>`Değer, ${e.minValue} veya sonrası olmalıdır.`,unavailableDate:"Seçilen tarih kullanılamıyor."};var Lme={};Lme={rangeOverflow:e=>`Значення має бути не пізніше ${e.maxValue}.`,rangeReversed:"Дата початку має передувати даті завершення.",rangeUnderflow:e=>`Значення має бути не раніше ${e.minValue}.`,unavailableDate:"Вибрана дата недоступна."};var zme={};zme={rangeOverflow:e=>`值必须是 ${e.maxValue} 或更早日期。`,rangeReversed:"开始日期必须早于结束日期。",rangeUnderflow:e=>`值必须是 ${e.minValue} 或更晚日期。`,unavailableDate:"所选日期不可用。"};var Qme={};Qme={rangeOverflow:e=>`值必須是 ${e.maxValue} 或更早。`,rangeReversed:"開始日期必須在結束日期之前。",rangeUnderflow:e=>`值必須是 ${e.minValue} 或更晚。`,unavailableDate:"所選日期無法使用。"};var Bme={};Bme={"ar-AE":sme,"bg-BG":ume,"cs-CZ":lme,"da-DK":cme,"de-DE":fme,"el-GR":dme,"en-US":hme,"es-ES":pme,"et-EE":mme,"fi-FI":gme,"fr-FR":vme,"he-IL":yme,"hr-HR":bme,"hu-HU":Ome,"it-IT":xme,"ja-JP":_me,"ko-KR":Sme,"lt-LT":wme,"lv-LV":Eme,"nb-NO":$me,"nl-NL":Cme,"pl-PL":Pme,"pt-BR":Dme,"pt-PT":Rme,"ro-RO":kme,"ru-RU":Tme,"sk-SK":Ame,"sl-SI":Fme,"sr-SP":Ime,"sv-SE":Mme,"tr-TR":Nme,"uk-UA":Lme,"zh-CN":zme,"zh-TW":Qme};function F9e(e){return e&&e.__esModule?e.default:e}const I9e=new H0(F9e(Bme));function M9e(){return typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US"}function N9e(e,t,r,n,i){let a=e!=null&&r!=null&&e.compare(r)>0,o=e!=null&&t!=null&&e.compare(t)<0,s=e!=null&&(n==null?void 0:n(e))||!1,u=a||o||s,l=[];if(u){let c=M9e(),f=H0.getGlobalDictionaryForPackage("@react-stately/datepicker")||I9e,d=new mN(c,f),h=new J1(c,zE({},i)),g=h.resolvedOptions().timeZone;o&&t!=null&&l.push(d.format("rangeUnderflow",{minValue:h.format(t.toDate(g))})),a&&r!=null&&l.push(d.format("rangeOverflow",{maxValue:h.format(r.toDate(g))})),s&&l.push(d.format("unavailableDate"))}return{isInvalid:u,validationErrors:l,validationDetails:{badInput:s,customError:!1,patternMismatch:!1,rangeOverflow:a,rangeUnderflow:o,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!u}}}const L9e={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"},z9e={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"};function zE(e,t){e={...t.shouldForceLeadingZeros?z9e:L9e,...e};let n=t.granularity||"minute",i=Object.keys(e);var a;let o=i.indexOf((a=t.maxGranularity)!==null&&a!==void 0?a:"year");o<0&&(o=0);let s=i.indexOf(n);if(s<0&&(s=2),o>s)throw new Error("maxGranularity must be greater than granularity");let u=i.slice(o,s+1).reduce((c,f)=>(c[f]=e[f],c),{});return t.hourCycle!=null&&(u.hour12=t.hourCycle===12),u.timeZone=t.timeZone||"UTC",(n==="hour"||n==="minute"||n==="second")&&t.timeZone&&!t.hideTimeZone&&(u.timeZoneName="short"),t.showEra&&o===0&&(u.era="short"),u}function qme(e,t){if(e===null)return null;if(e)return ml(e,t)}function bx(e,t,r,n){if(e)return qme(e,r);let i=ml(zie(n??nw()).set({hour:0,minute:0,second:0,millisecond:0}),r);return t==="year"||t==="month"||t==="day"?jie(i):n?i:pg(i)}function Q9e(e,t){let r=e&&"timeZone"in e?e.timeZone:void 0,n=e&&"minute"in e?"minute":"day";if(e&&t&&!(t in e))throw new Error("Invalid granularity "+t+" for value "+e.toString());let[i,a]=F.useState([n,r]);e&&(i[0]!==n||i[1]!==r)&&a([n,r]),t||(t=e?n:i[0]);let o=e?r:i[1];return[t,o]}const B9e=new H0({ach:{year:"mwaka",month:"dwe",day:"nino"},af:{year:"jjjj",month:"mm",day:"dd"},am:{year:"ዓዓዓዓ",month:"ሚሜ",day:"ቀቀ"},an:{year:"aaaa",month:"mm",day:"dd"},ar:{year:"سنة",month:"شهر",day:"يوم"},ast:{year:"aaaa",month:"mm",day:"dd"},az:{year:"iiii",month:"aa",day:"gg"},be:{year:"гггг",month:"мм",day:"дд"},bg:{year:"гггг",month:"мм",day:"дд"},bn:{year:"yyyy",month:"মিমি",day:"dd"},br:{year:"bbbb",month:"mm",day:"dd"},bs:{year:"gggg",month:"mm",day:"dd"},ca:{year:"aaaa",month:"mm",day:"dd"},cak:{year:"jjjj",month:"ii",day:"q'q'"},ckb:{year:"ساڵ",month:"مانگ",day:"ڕۆژ"},cs:{year:"rrrr",month:"mm",day:"dd"},cy:{year:"bbbb",month:"mm",day:"dd"},da:{year:"åååå",month:"mm",day:"dd"},de:{year:"jjjj",month:"mm",day:"tt"},dsb:{year:"llll",month:"mm",day:"źź"},el:{year:"εεεε",month:"μμ",day:"ηη"},en:{year:"yyyy",month:"mm",day:"dd"},eo:{year:"jjjj",month:"mm",day:"tt"},es:{year:"aaaa",month:"mm",day:"dd"},et:{year:"aaaa",month:"kk",day:"pp"},eu:{year:"uuuu",month:"hh",day:"ee"},fa:{year:"سال",month:"ماه",day:"روز"},ff:{year:"hhhh",month:"ll",day:"ññ"},fi:{year:"vvvv",month:"kk",day:"pp"},fr:{year:"aaaa",month:"mm",day:"jj"},fy:{year:"jjjj",month:"mm",day:"dd"},ga:{year:"bbbb",month:"mm",day:"ll"},gd:{year:"bbbb",month:"mm",day:"ll"},gl:{year:"aaaa",month:"mm",day:"dd"},he:{year:"שנה",month:"חודש",day:"יום"},hr:{year:"gggg",month:"mm",day:"dd"},hsb:{year:"llll",month:"mm",day:"dd"},hu:{year:"éééé",month:"hh",day:"nn"},ia:{year:"aaaa",month:"mm",day:"dd"},id:{year:"tttt",month:"bb",day:"hh"},it:{year:"aaaa",month:"mm",day:"gg"},ja:{year:"年",month:"月",day:"日"},ka:{year:"წწწწ",month:"თთ",day:"რრ"},kk:{year:"жжжж",month:"аа",day:"кк"},kn:{year:"ವವವವ",month:"ಮಿಮೀ",day:"ದಿದಿ"},ko:{year:"연도",month:"월",day:"일"},lb:{year:"jjjj",month:"mm",day:"dd"},lo:{year:"ປປປປ",month:"ດດ",day:"ວວ"},lt:{year:"mmmm",month:"mm",day:"dd"},lv:{year:"gggg",month:"mm",day:"dd"},meh:{year:"aaaa",month:"mm",day:"dd"},ml:{year:"വർഷം",month:"മാസം",day:"തീയതി"},ms:{year:"tttt",month:"mm",day:"hh"},nl:{year:"jjjj",month:"mm",day:"dd"},nn:{year:"åååå",month:"mm",day:"dd"},no:{year:"åååå",month:"mm",day:"dd"},oc:{year:"aaaa",month:"mm",day:"jj"},pl:{year:"rrrr",month:"mm",day:"dd"},pt:{year:"aaaa",month:"mm",day:"dd"},rm:{year:"oooo",month:"mm",day:"dd"},ro:{year:"aaaa",month:"ll",day:"zz"},ru:{year:"гггг",month:"мм",day:"дд"},sc:{year:"aaaa",month:"mm",day:"dd"},scn:{year:"aaaa",month:"mm",day:"jj"},sk:{year:"rrrr",month:"mm",day:"dd"},sl:{year:"llll",month:"mm",day:"dd"},sr:{year:"гггг",month:"мм",day:"дд"},sv:{year:"åååå",month:"mm",day:"dd"},szl:{year:"rrrr",month:"mm",day:"dd"},tg:{year:"сссс",month:"мм",day:"рр"},th:{year:"ปปปป",month:"ดด",day:"วว"},tr:{year:"yyyy",month:"aa",day:"gg"},uk:{year:"рррр",month:"мм",day:"дд"},"zh-CN":{year:"年",month:"月",day:"日"},"zh-TW":{year:"年",month:"月",day:"日"}},"en");function q9e(e,t,r){return e==="era"||e==="dayPeriod"?t:e==="year"||e==="month"||e==="day"?B9e.getStringForLocale(e,r):"––"}const QE={year:!0,month:!0,day:!0,hour:!0,minute:!0,second:!0,dayPeriod:!0,era:!0},MK={year:5,month:2,day:7,hour:2,minute:15,second:15},U9e={dayperiod:"dayPeriod"};function wL(e){let{locale:t,createCalendar:r,hideTimeZone:n,isDisabled:i=!1,isReadOnly:a=!1,isRequired:o=!1,minValue:s,maxValue:u,isDateUnavailable:l}=e,c=e.value||e.defaultValue||e.placeholderValue||null,[f,d]=Q9e(c,e.granularity),h=d||"UTC";if(c&&!(f in c))throw new Error("Invalid granularity "+f+" for value "+c.toString());let g=F.useMemo(()=>new J1(t),[t]),m=F.useMemo(()=>r(g.resolvedOptions().calendar),[r,g]);var v;let[y,O]=Ka(e.value,(v=e.defaultValue)!==null&&v!==void 0?v:null,e.onChange),x=F.useMemo(()=>{var pe;return(pe=qme(y,m))!==null&&pe!==void 0?pe:null},[y,m]),[C,w]=F.useState(()=>bx(e.placeholderValue,f,m,d)),E=x||C,T=m.identifier==="gregory"&&E.era==="BC",P=F.useMemo(()=>{var pe;return{granularity:f,maxGranularity:(pe=e.maxGranularity)!==null&&pe!==void 0?pe:"year",timeZone:d,hideTimeZone:n,hourCycle:e.hourCycle,showEra:T,shouldForceLeadingZeros:e.shouldForceLeadingZeros}},[e.maxGranularity,f,e.hourCycle,e.shouldForceLeadingZeros,d,n,T]),L=F.useMemo(()=>zE({},P),[P]),N=F.useMemo(()=>new J1(t,L),[t,L]),B=F.useMemo(()=>N.resolvedOptions(),[N]),j=F.useMemo(()=>N.formatToParts(new Date).filter(pe=>QE[pe.type]).reduce((pe,xe)=>(pe[xe.type]=!0,pe),{}),[N]),[A,H]=F.useState(()=>e.value||e.defaultValue?{...j}:{}),k=F.useRef(null),Q=F.useRef(m.identifier);F.useEffect(()=>{m.identifier!==Q.current&&(Q.current=m.identifier,w(pe=>Object.keys(A).length>0?ml(pe,m):bx(e.placeholderValue,f,m,d)))},[m,f,A,d,e.placeholderValue]),y&&Object.keys(A).length<Object.keys(j).length&&(A={...j},H(A)),y==null&&Object.keys(A).length===Object.keys(j).length&&(A={},H(A),w(bx(e.placeholderValue,f,m,d)));let V=x&&Object.keys(A).length>=Object.keys(j).length?x:C,I=pe=>{if(e.isDisabled||e.isReadOnly)return;let xe=Object.keys(A),Oe=Object.keys(j);pe==null?(O(null),w(bx(e.placeholderValue,f,m,d)),H({})):xe.length>=Oe.length||xe.length===Oe.length-1&&j.dayPeriod&&!A.dayPeriod&&k.current!=="dayPeriod"?(pe=ml(pe,(c==null?void 0:c.calendar)||new rf),O(pe)):w(pe),k.current=null},q=F.useMemo(()=>V.toDate(h),[V,h]),M=F.useMemo(()=>V9e(q,A,N,B,V,m,t,f),[q,A,N,B,V,m,t,f]);j.era&&A.year&&!A.era?(A.era=!0,H({...A})):!j.era&&A.era&&(delete A.era,H({...A}));let z=pe=>{A[pe]=!0,pe==="year"&&j.era&&(A.era=!0),H({...A})},G=(pe,xe)=>{if(A[pe])I(j9e(V,pe,xe,B));else{z(pe);let Oe=Object.keys(A),me=Object.keys(j);(Oe.length>=me.length||Oe.length===me.length-1&&j.dayPeriod&&!A.dayPeriod)&&I(V)}},K=F.useMemo(()=>N9e(y,s,u,l,P),[y,s,u,l,P]),te=vO({...e,value:y,builtinValidation:K}),ae=te.displayValidation.isInvalid,ie=e.validationState||(ae?"invalid":null);var Se;return{...te,value:x,dateValue:q,calendar:m,setValue:I,segments:M,dateFormatter:N,validationState:ie,isInvalid:ae,granularity:f,maxGranularity:(Se=e.maxGranularity)!==null&&Se!==void 0?Se:"year",isDisabled:i,isReadOnly:a,isRequired:o,increment(pe){G(pe,1)},decrement(pe){G(pe,-1)},incrementPage(pe){G(pe,MK[pe]||1)},decrementPage(pe){G(pe,-(MK[pe]||1))},setSegment(pe,xe){z(pe),I(W9e(V,pe,xe,B))},confirmPlaceholder(){if(e.isDisabled||e.isReadOnly)return;let pe=Object.keys(A),xe=Object.keys(j);pe.length===xe.length-1&&j.dayPeriod&&!A.dayPeriod&&(A={...j},H(A),I(V.copy()))},clearSegment(pe){delete A[pe],k.current=pe,H({...A});let xe=bx(e.placeholderValue,f,m,d),Oe=V;if(pe==="dayPeriod"&&"hour"in V&&"hour"in xe){let me=V.hour>=12,ne=xe.hour>=12;me&&!ne?Oe=V.set({hour:V.hour-12}):!me&&ne&&(Oe=V.set({hour:V.hour+12}))}else pe==="hour"&&"hour"in V&&V.hour>=12&&A.dayPeriod?Oe=V.set({hour:xe.hour+12}):pe in V&&(Oe=V.set({[pe]:xe[pe]}));O(null),I(Oe)},formatValue(pe){if(!x)return"";let xe=zE(pe,P);return new J1(t,xe).format(q)},getDateFormatter(pe,xe){let Oe={...P,...xe},me=zE({},Oe);return new J1(pe,me)}}}function V9e(e,t,r,n,i,a,o,s){let u=["hour","minute","second"],l=r.formatToParts(e),c=[];for(let f of l){let d=QE[f.type];f.type==="era"&&a.getEras().length===1&&(d=!1);let h=QE[f.type]&&!t[f.type],g=QE[f.type]?q9e(f.type,f.value,o):null,m={type:U9e[f.type]||f.type,text:h?g:f.value,...V3(i,f.type,n),isPlaceholder:h,placeholder:g,isEditable:d};f.type==="hour"?(c.push({type:"literal",text:"⁦",...V3(i,"literal",n),isPlaceholder:!1,placeholder:"",isEditable:!1}),c.push(m),f.type===s&&c.push({type:"literal",text:"⁩",...V3(i,"literal",n),isPlaceholder:!1,placeholder:"",isEditable:!1})):u.includes(f.type)&&f.type===s?(c.push(m),c.push({type:"literal",text:"⁩",...V3(i,"literal",n),isPlaceholder:!1,placeholder:"",isEditable:!1})):c.push(m)}return c}function V3(e,t,r){switch(t){case"era":{let n=e.calendar.getEras();return{value:n.indexOf(e.era),minValue:0,maxValue:n.length-1}}case"year":return{value:e.year,minValue:1,maxValue:e.calendar.getYearsInEra(e)};case"month":return{value:e.month,minValue:L$e(e),maxValue:e.calendar.getMonthsInYear(e)};case"day":return{value:e.day,minValue:z$e(e),maxValue:e.calendar.getDaysInMonth(e)}}if("hour"in e)switch(t){case"dayPeriod":return{value:e.hour>=12?12:0,minValue:0,maxValue:12};case"hour":if(r.hour12){let n=e.hour>=12;return{value:e.hour,minValue:n?12:0,maxValue:n?23:11}}return{value:e.hour,minValue:0,maxValue:23};case"minute":return{value:e.minute,minValue:0,maxValue:59};case"second":return{value:e.second,minValue:0,maxValue:59}}return{}}function j9e(e,t,r,n){switch(t){case"era":case"year":case"month":case"day":return e.cycle(t,r,{round:t==="year"})}if("hour"in e)switch(t){case"dayPeriod":{let i=e.hour,a=i>=12;return e.set({hour:a?i-12:i+12})}case"hour":case"minute":case"second":return e.cycle(t,r,{round:t!=="hour",hourCycle:n.hour12?12:24})}throw new Error("Unknown segment: "+t)}function W9e(e,t,r,n){switch(t){case"day":case"month":case"year":case"era":return e.set({[t]:r})}if("hour"in e&&typeof r=="number")switch(t){case"dayPeriod":{let i=e.hour,a=i>=12;return r>=12===a?e:e.set({hour:a?i-12:i+12})}case"hour":if(n.hour12){let a=e.hour>=12;!a&&r===12&&(r=0),a&&r<12&&(r+=12)}case"minute":case"second":return e.set({[t]:r})}throw new Error("Unknown segment: "+t)}function Z9e(e){let{placeholderValue:t=new x$,minValue:r,maxValue:n,granularity:i,validate:a}=e;var o;let[s,u]=Ka(e.value,(o=e.defaultValue)!==null&&o!==void 0?o:null,e.onChange),l=s||t,c=l&&"day"in l?l:void 0,f=e.defaultValue&&"timeZone"in e.defaultValue?e.defaultValue.timeZone:void 0,d=F.useMemo(()=>{let x=l&&"timeZone"in l?l.timeZone:void 0;return(x||f)&&t?Wie(Ox(t),x||f):Ox(t)},[t,l,f]),h=F.useMemo(()=>Ox(r,c),[r,c]),g=F.useMemo(()=>Ox(n,c),[n,c]),m=F.useMemo(()=>s&&"day"in s?pj(s):s,[s]),v=F.useMemo(()=>s==null?null:Ox(s),[s]);return{...wL({...e,value:v,defaultValue:void 0,minValue:h,maxValue:g,onChange:x=>{u(c||f?x:x&&pj(x))},granularity:i||"minute",maxGranularity:"hour",placeholderValue:d??void 0,createCalendar:()=>new rf,validate:F.useCallback(()=>a==null?void 0:a(s),[a,s])}),timeValue:m}}function Ox(e,t=N$e(nw())){return e?"day"in e?e:pg(t,e):null}function K9e(e){let[t,r]=Ka(e.isExpanded,e.defaultExpanded||!1,e.onExpandedChange);const n=F.useCallback(()=>{r(!0)},[r]),i=F.useCallback(()=>{r(!1)},[r]),a=F.useCallback(()=>{r(!t)},[r,t]);return{isExpanded:t,setExpanded:r,expand:n,collapse:i,toggle:a}}function H9e(e){let{allowsMultipleExpanded:t=!1,isDisabled:r=!1}=e,[n,i]=Ka(F.useMemo(()=>e.expandedKeys?new Set(e.expandedKeys):void 0,[e.expandedKeys]),F.useMemo(()=>e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,[e.defaultExpandedKeys]),e.onExpandedChange);return F.useEffect(()=>{!t&&n.size>1&&i(new Set([n.values().next().value]))}),{allowsMultipleExpanded:t,isDisabled:r,expandedKeys:n,setExpandedKeys:i,toggleKey(a){let o;t?(o=new Set(n),o.has(a)?o.delete(a):o.add(a)):o=new Set(n.has(a)?[]:[a]),i(o)}}}let Y9e=Math.round(Math.random()*1e10),G9e=0;function X9e(e){let t=F.useMemo(()=>e.name||`radio-group-${Y9e}-${++G9e}`,[e.name]);var r;let[n,i]=Ka(e.value,(r=e.defaultValue)!==null&&r!==void 0?r:null,e.onChange),[a,o]=F.useState(null),s=vO({...e,value:n}),u=c=>{!e.isReadOnly&&!e.isDisabled&&(i(c),s.commitValidation())},l=s.displayValidation.isInvalid;return{...s,name:t,selectedValue:n,setSelectedValue:u,lastFocusedValue:a,setLastFocusedValue:o,isDisabled:e.isDisabled||!1,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1,validationState:e.validationState||(l?"invalid":null),isInvalid:l}}function J9e(e){let[t,r]=Ka(NK(e.value),NK(e.defaultValue)||"",e.onChange);return{value:t,setValue:r}}function NK(e){if(e!=null)return e.toString()}function eMe(e){let t=dO(e),[r,n]=F.useState(null),i=SL({...e,onSelectionChange:u=>{e.onSelectionChange!=null&&e.onSelectionChange(u),t.close(),a.commitValidation()}}),a=vO({...e,value:i.selectedKey}),[o,s]=F.useState(!1);return{...a,...i,...t,focusStrategy:r,open(u=null){i.collection.size!==0&&(n(u),t.open())},toggle(u=null){i.collection.size!==0&&(n(u),t.toggle())},isFocused:o,setFocused:s}}function tMe(e){var t,r;let n=SL({...e,suppressTextValueWarning:!0,defaultSelectedKey:(r=(t=e.defaultSelectedKey)!==null&&t!==void 0?t:LK(e.collection,e.disabledKeys?new Set(e.disabledKeys):new Set))!==null&&r!==void 0?r:void 0}),{selectionManager:i,collection:a,selectedKey:o}=n,s=F.useRef(o);return F.useEffect(()=>{let u=o;e.selectedKey==null&&(i.isEmpty||u==null||!a.getItem(u))&&(u=LK(a,n.disabledKeys),u!=null&&i.setSelectedKeys([u])),(u!=null&&i.focusedKey==null||!i.isFocused&&u!==s.current)&&i.setFocusedKey(u),s.current=u}),{...n,isDisabled:e.isDisabled||!1}}function LK(e,t){let r=null;if(e){var n,i,a,o;for(r=e.getFirstKey();r!=null&&(t.has(r)||!((i=e.getItem(r))===null||i===void 0||(n=i.props)===null||n===void 0)&&n.isDisabled)&&r!==e.getLastKey();)r=e.getKeyAfter(r);r!=null&&(t.has(r)||!((o=e.getItem(r))===null||o===void 0||(a=o.props)===null||a===void 0)&&a.isDisabled)&&r===e.getLastKey()&&(r=e.getFirstKey())}return r}const rMe=1500,zK=500;let Ov={},nMe=0,xx=!1,o0=null,xv=null;function Ume(e={}){let{delay:t=rMe,closeDelay:r=zK}=e,{isOpen:n,open:i,close:a}=dO(e),o=F.useMemo(()=>`${++nMe}`,[]),s=F.useRef(null),u=F.useRef(a),l=()=>{Ov[o]=d},c=()=>{for(let g in Ov)g!==o&&(Ov[g](!0),delete Ov[g])},f=()=>{s.current&&clearTimeout(s.current),s.current=null,c(),l(),xx=!0,i(),o0&&(clearTimeout(o0),o0=null),xv&&(clearTimeout(xv),xv=null)},d=g=>{g||r<=0?(s.current&&clearTimeout(s.current),s.current=null,u.current()):s.current||(s.current=setTimeout(()=>{s.current=null,u.current()},r)),o0&&(clearTimeout(o0),o0=null),xx&&(xv&&clearTimeout(xv),xv=setTimeout(()=>{delete Ov[o],xv=null,xx=!1},Math.max(zK,r)))},h=()=>{c(),l(),!n&&!o0&&!xx?o0=setTimeout(()=>{o0=null,xx=!0,f()},t):n||f()};return F.useEffect(()=>{u.current=a},[a]),F.useEffect(()=>()=>{s.current&&clearTimeout(s.current),Ov[o]&&delete Ov[o]},[o]),{isOpen:n,open:g=>{!g&&t>0&&!s.current?h():f()},close:d}}const yp=F.createContext(null),qht=F.forwardRef(function(t,r){[t,r]=Un(t,r,yp);let{validationErrors:n,validationBehavior:i="native",children:a,className:o,...s}=t;return $e.createElement("form",{noValidate:i!=="native",...s,ref:r,className:o||"react-aria-Form"},$e.createElement(yp.Provider,{value:{...t,validationBehavior:i}},$e.createElement(wfe.Provider,{value:n??{}},a)))}),Fy=F.createContext({}),iMe=F.forwardRef(function(t,r){[t,r]=Un(t,r,Fy);let{isDisabled:n,isInvalid:i,onHoverStart:a,onHoverChange:o,onHoverEnd:s,...u}=t,{hoverProps:l,isHovered:c}=Ru({onHoverStart:a,onHoverChange:o,onHoverEnd:s,isDisabled:n}),{isFocused:f,isFocusVisible:d,focusProps:h}=cu({within:!0});n??(n=!!t["aria-disabled"]&&t["aria-disabled"]!=="false"),i??(i=!!t["aria-invalid"]&&t["aria-invalid"]!=="false");let g=_n({...t,values:{isHovered:c,isFocusWithin:f,isFocusVisible:d,isDisabled:n,isInvalid:i},defaultClassName:"react-aria-Group"});var m,v;return $e.createElement("div",{...Qt(u,h,l),...g,ref:r,role:(m=t.role)!==null&&m!==void 0?m:"group",slot:(v=t.slot)!==null&&v!==void 0?v:void 0,"data-focus-within":f||void 0,"data-hovered":c||void 0,"data-focus-visible":d||void 0,"data-disabled":n||void 0,"data-invalid":i||void 0},g.children)}),aMe=F.createContext(null),Uht=gO(function(t,r){[t,r]=Un(t,r,aMe);let{validationBehavior:n}=Jf(yp)||{};var i,a;let o=(a=(i=t.validationBehavior)!==null&&i!==void 0?i:n)!==null&&a!==void 0?a:"native",s=F.useRef(null),[u,l]=Un({},s,vp),[c,f]=ed(!t["aria-label"]&&!t["aria-labelledby"]),d=J9e({...t,validationBehavior:o}),{labelProps:h,inputProps:g,clearButtonProps:m,descriptionProps:v,errorMessageProps:y,...O}=f9e({...q0(t),label:f,validationBehavior:o},d,l),x=_n({...t,values:{isEmpty:d.value==="",isDisabled:t.isDisabled||!1,isInvalid:O.isInvalid||!1,state:d},defaultClassName:"react-aria-SearchField"}),C=Jr(t);return delete C.id,$e.createElement("div",{...C,...x,ref:r,slot:t.slot||void 0,"data-empty":d.value===""||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":O.isInvalid||void 0},$e.createElement(Na,{values:[[td,{...h,ref:c}],[vp,{...Qt(g,u),ref:l}],[J0,m],[rd,{slots:{description:v,errorMessage:y}}],[Fy,{isInvalid:O.isInvalid,isDisabled:t.isDisabled||!1}],[_p,O]]},x.children))}),Vme=F.createContext({});let oMe=e=>{let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,...i}=e;return i};const Vht=F.forwardRef(function(t,r){[t,r]=Un(t,r,Vme);let{hoverProps:n,isHovered:i}=Ru(t),{isFocused:a,isFocusVisible:o,focusProps:s}=cu({isTextInput:!0,autoFocus:t.autoFocus}),u=!!t["aria-invalid"]&&t["aria-invalid"]!=="false",l=_n({...t,values:{isHovered:i,isFocused:a,isFocusVisible:o,isDisabled:t.disabled||!1,isInvalid:u},defaultClassName:"react-aria-TextArea"});return $e.createElement("textarea",{...Qt(oMe(t),s,n),...l,ref:r,"data-focused":a||void 0,"data-disabled":t.disabled||void 0,"data-hovered":i||void 0,"data-focus-visible":o||void 0,"data-invalid":u||void 0})}),sMe=F.createContext(null),jht=gO(function(t,r){[t,r]=Un(t,r,sMe);let{validationBehavior:n}=Jf(yp)||{};var i,a;let o=(a=(i=t.validationBehavior)!==null&&i!==void 0?i:n)!==null&&a!==void 0?a:"native",s=F.useRef(null),[u,l]=Un({},s,vp),[c,f]=ed(!t["aria-label"]&&!t["aria-labelledby"]),[d,h]=F.useState("input"),{labelProps:g,inputProps:m,descriptionProps:v,errorMessageProps:y,...O}=j$({...q0(t),inputElementType:d,label:f,validationBehavior:o},l),x=F.useCallback(E=>{l.current=E,E&&h(E instanceof HTMLTextAreaElement?"textarea":"input")},[l]),C=_n({...t,values:{isDisabled:t.isDisabled||!1,isInvalid:O.isInvalid,isReadOnly:t.isReadOnly||!1,isRequired:t.isRequired||!1},defaultClassName:"react-aria-TextField"}),w=Jr(t);return delete w.id,$e.createElement("div",{...w,...C,ref:r,slot:t.slot||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":O.isInvalid||void 0,"data-readonly":t.isReadOnly||void 0,"data-required":t.isRequired||void 0},$e.createElement(Na,{values:[[td,{...g,ref:c}],[vp,{...Qt(m,u),ref:x}],[Vme,{...m,ref:x}],[rd,{slots:{description:v,errorMessage:y}}],[_p,O]]},C.children))}),uMe=F.createContext(null),lMe=F.createContext(null),EL={CollectionRoot({collection:e,renderDropIndicator:t}){return QK(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:r}){return QK(e,t,r)}};function QK(e,t,r){return vfe({items:t?e.getChildren(t.key):e,dependencies:[r],children(n){var i;let a=n.render(n);if(!r||n.type!=="item")return a;let o=n.key,s=e.getKeyAfter(o);return $e.createElement($e.Fragment,null,r({type:"item",key:o,dropPosition:"before"}),a,(s==null||((i=e.getItem(s))===null||i===void 0?void 0:i.type)!=="item")&&r({type:"item",key:o,dropPosition:"after"}))}})}const Iy=F.createContext(EL);function jme(e){return F.useMemo(()=>e!=null?new Set([e]):null,[e])}var Wme={};Wme={colorSwatchPicker:"تغييرات الألوان",dropzoneLabel:"DropZone",selectPlaceholder:"حدد عنصرًا",tableResizer:"أداة تغيير الحجم"};var Zme={};Zme={colorSwatchPicker:"Цветови мостри",dropzoneLabel:"DropZone",selectPlaceholder:"Изберете предмет",tableResizer:"Преоразмерител"};var Kme={};Kme={colorSwatchPicker:"Vzorky barev",dropzoneLabel:"Místo pro přetažení",selectPlaceholder:"Vyberte položku",tableResizer:"Změna velikosti"};var Hme={};Hme={colorSwatchPicker:"Farveprøver",dropzoneLabel:"DropZone",selectPlaceholder:"Vælg et element",tableResizer:"Størrelsesændring"};var Yme={};Yme={colorSwatchPicker:"Farbfelder",dropzoneLabel:"Ablegebereich",selectPlaceholder:"Element wählen",tableResizer:"Größenanpassung"};var Gme={};Gme={colorSwatchPicker:"Χρωματικά δείγματα",dropzoneLabel:"DropZone",selectPlaceholder:"Επιλέξτε ένα αντικείμενο",tableResizer:"Αλλαγή μεγέθους"};var Xme={};Xme={selectPlaceholder:"Select an item",tableResizer:"Resizer",dropzoneLabel:"DropZone",colorSwatchPicker:"Color swatches"};var Jme={};Jme={colorSwatchPicker:"Muestras de colores",dropzoneLabel:"DropZone",selectPlaceholder:"Seleccionar un artículo",tableResizer:"Cambiador de tamaño"};var ege={};ege={colorSwatchPicker:"Värvinäidised",dropzoneLabel:"DropZone",selectPlaceholder:"Valige üksus",tableResizer:"Suuruse muutja"};var tge={};tge={colorSwatchPicker:"Värimallit",dropzoneLabel:"DropZone",selectPlaceholder:"Valitse kohde",tableResizer:"Koon muuttaja"};var rge={};rge={colorSwatchPicker:"Échantillons de couleurs",dropzoneLabel:"DropZone",selectPlaceholder:"Sélectionner un élément",tableResizer:"Redimensionneur"};var nge={};nge={colorSwatchPicker:"דוגמיות צבע",dropzoneLabel:"DropZone",selectPlaceholder:"בחר פריט",tableResizer:"שינוי גודל"};var ige={};ige={colorSwatchPicker:"Uzorci boja",dropzoneLabel:"Zona spuštanja",selectPlaceholder:"Odaberite stavku",tableResizer:"Promjena veličine"};var age={};age={colorSwatchPicker:"Színtárak",dropzoneLabel:"DropZone",selectPlaceholder:"Válasszon ki egy elemet",tableResizer:"Átméretező"};var oge={};oge={colorSwatchPicker:"Campioni di colore",dropzoneLabel:"Zona di rilascio",selectPlaceholder:"Seleziona un elemento",tableResizer:"Ridimensionamento"};var sge={};sge={colorSwatchPicker:"カラースウォッチ",dropzoneLabel:"ドロップゾーン",selectPlaceholder:"項目を選択",tableResizer:"サイズ変更ツール"};var uge={};uge={colorSwatchPicker:"색상 견본",dropzoneLabel:"드롭 영역",selectPlaceholder:"항목 선택",tableResizer:"크기 조정기"};var lge={};lge={colorSwatchPicker:"Spalvų pavyzdžiai",dropzoneLabel:"„DropZone“",selectPlaceholder:"Pasirinkite elementą",tableResizer:"Dydžio keitiklis"};var cge={};cge={colorSwatchPicker:"Krāsu paraugi",dropzoneLabel:"DropZone",selectPlaceholder:"Izvēlēties vienumu",tableResizer:"Izmēra mainītājs"};var fge={};fge={colorSwatchPicker:"Fargekart",dropzoneLabel:"Droppsone",selectPlaceholder:"Velg et element",tableResizer:"Størrelsesendrer"};var dge={};dge={colorSwatchPicker:"kleurstalen",dropzoneLabel:"DropZone",selectPlaceholder:"Selecteer een item",tableResizer:"Resizer"};var hge={};hge={colorSwatchPicker:"Próbki kolorów",dropzoneLabel:"Strefa upuszczania",selectPlaceholder:"Wybierz element",tableResizer:"Zmiana rozmiaru"};var pge={};pge={colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"};var mge={};mge={colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"};var gge={};gge={colorSwatchPicker:"Specimene de culoare",dropzoneLabel:"Zonă de plasare",selectPlaceholder:"Selectați un element",tableResizer:"Instrument de redimensionare"};var vge={};vge={colorSwatchPicker:"Цветовые образцы",dropzoneLabel:"DropZone",selectPlaceholder:"Выберите элемент",tableResizer:"Средство изменения размера"};var yge={};yge={colorSwatchPicker:"Vzorkovníky farieb",dropzoneLabel:"DropZone",selectPlaceholder:"Vyberte položku",tableResizer:"Nástroj na zmenu veľkosti"};var bge={};bge={colorSwatchPicker:"Barvne palete",dropzoneLabel:"DropZone",selectPlaceholder:"Izberite element",tableResizer:"Spreminjanje velikosti"};var Oge={};Oge={colorSwatchPicker:"Uzorci boje",dropzoneLabel:"DropZone",selectPlaceholder:"Izaberite stavku",tableResizer:"Promena veličine"};var xge={};xge={colorSwatchPicker:"Färgrutor",dropzoneLabel:"DropZone",selectPlaceholder:"Välj en artikel",tableResizer:"Storleksändrare"};var _ge={};_ge={colorSwatchPicker:"Renk örnekleri",dropzoneLabel:"Bırakma Bölgesi",selectPlaceholder:"Bir öğe seçin",tableResizer:"Yeniden boyutlandırıcı"};var Sge={};Sge={colorSwatchPicker:"Зразки кольорів",dropzoneLabel:"DropZone",selectPlaceholder:"Виберіть елемент",tableResizer:"Засіб змінення розміру"};var wge={};wge={colorSwatchPicker:"颜色色板",dropzoneLabel:"放置区域",selectPlaceholder:"选择一个项目",tableResizer:"尺寸调整器"};var Ege={};Ege={colorSwatchPicker:"色票",dropzoneLabel:"放置區",selectPlaceholder:"選取項目",tableResizer:"大小調整器"};var $ge={};$ge={"ar-AE":Wme,"bg-BG":Zme,"cs-CZ":Kme,"da-DK":Hme,"de-DE":Yme,"el-GR":Gme,"en-US":Xme,"es-ES":Jme,"et-EE":ege,"fi-FI":tge,"fr-FR":rge,"he-IL":nge,"hr-HR":ige,"hu-HU":age,"it-IT":oge,"ja-JP":sge,"ko-KR":uge,"lt-LT":lge,"lv-LV":cge,"nb-NO":fge,"nl-NL":dge,"pl-PL":hge,"pt-BR":pge,"pt-PT":mge,"ro-RO":gge,"ru-RU":vge,"sk-SK":yge,"sl-SI":bge,"sr-SP":Oge,"sv-SE":xge,"tr-TR":_ge,"uk-UA":Sge,"zh-CN":wge,"zh-TW":Ege};const Z$=F.createContext({}),Cge=F.createContext(null),cMe=F.forwardRef(function(t,r){let{render:n}=F.useContext(Cge);return $e.createElement($e.Fragment,null,n(t,r))});function Pge(e,t){var r;let n=e==null?void 0:e.renderDropIndicator,i=e==null||(r=e.isVirtualDragging)===null||r===void 0?void 0:r.call(e),a=F.useCallback(o=>{if(i||t!=null&&t.isDropTarget(o))return n?n(o):$e.createElement(cMe,{target:o})},[t==null?void 0:t.target,i,n]);return e!=null&&e.useDropIndicator?a:void 0}function fMe(e,t,r){var n,i;let a=e.focusedKey,o=null;if(!(t==null||(n=t.isVirtualDragging)===null||n===void 0)&&n.call(t)&&(r==null||(i=r.target)===null||i===void 0?void 0:i.type)==="item"){o=r.target.key;var s;r.target.dropPosition==="after"&&(o=(s=r.collection.getKeyAfter(o))!==null&&s!==void 0?s:o)}return F.useMemo(()=>new Set([a,o].filter(u=>u!=null)),[a,o])}const dMe=F.createContext({}),hMe=F.createContext({}),fw=F.createContext(null),Sp=F.createContext(null),Wht=F.forwardRef(function(t,r){[t,r]=Un(t,r,fw);let n=F.useContext(Sp);return n?$e.createElement(Dge,{state:n,props:t,listBoxRef:r}):$e.createElement(lw,{content:$e.createElement(gL,t)},i=>$e.createElement(pMe,{props:t,listBoxRef:r,collection:i}))});function pMe({props:e,listBoxRef:t,collection:r}){e={...e,collection:r,children:null,items:null};let{layoutDelegate:n}=F.useContext(Iy),i=_L({...e,layoutDelegate:n});return $e.createElement(Dge,{state:i,props:e,listBoxRef:t})}function Dge({state:e,props:t,listBoxRef:r}){let{filter:n,collectionProps:i,collectionRef:a}=F.useContext(uMe)||{};t=F.useMemo(()=>i?{...t,...i}:t,[t,i]);let{dragAndDropHooks:o,layout:s="stack",orientation:u="vertical"}=t;r=yl(F.useMemo(()=>uO(r,a!==void 0?a:null),[a,r]));let l=k9e(e,n),{collection:c,selectionManager:f}=l,d=!!(o!=null&&o.useDraggableCollectionState),h=!!(o!=null&&o.useDroppableCollectionState),{direction:g}=Ha(),{disabledBehavior:m,disabledKeys:v}=f,y=A$({usage:"search",sensitivity:"base"}),{isVirtualized:O,layoutDelegate:x,dropTargetDelegate:C,CollectionRoot:w}=F.useContext(Iy),E=F.useMemo(()=>t.keyboardDelegate||new aw({collection:c,collator:y,ref:r,disabledKeys:v,disabledBehavior:m,layout:s,orientation:u,direction:g,layoutDelegate:x}),[c,y,r,m,v,u,g,t.keyboardDelegate,s,x]),{listBoxProps:T}=zIe({...t,shouldSelectOnPressUp:d||t.shouldSelectOnPressUp,keyboardDelegate:E,isVirtualized:O},l,r),P=F.useRef(d),L=F.useRef(h);F.useEffect(()=>{P.current!==d&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),L.current!==h&&console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.")},[d,h]);let N,B,j,A=!1,H=null,k=F.useRef(null);if(d&&o){N=o.useDraggableCollectionState({collection:c,selectionManager:f,preview:o.renderDragPreview?k:void 0}),o.useDraggableCollection({},N,r);let G=o.DragPreview;H=o.renderDragPreview?$e.createElement(G,{ref:k},o.renderDragPreview):null}if(h&&o){B=o.useDroppableCollectionState({collection:c,selectionManager:f});let G=o.dropTargetDelegate||C||new o.ListDropTargetDelegate(c,r,{orientation:u,layout:s,direction:g});j=o.useDroppableCollection({keyboardDelegate:E,dropTargetDelegate:G},B,r),A=B.isDropTarget({type:"root"})}let{focusProps:Q,isFocused:V,isFocusVisible:I}=cu(),q={isDropTarget:A,isEmpty:l.collection.size===0,isFocused:V,isFocusVisible:I,layout:t.layout||"stack",state:l},M=_n({className:t.className,style:t.style,defaultClassName:"react-aria-ListBox",values:q}),z=null;return l.collection.size===0&&t.renderEmptyState&&(z=$e.createElement("div",{role:"option",style:{display:"contents"}},t.renderEmptyState(q))),$e.createElement(wue,null,$e.createElement("div",{...Jr(t),...Qt(T,Q,j==null?void 0:j.collectionProps),...M,ref:r,slot:t.slot||void 0,onScroll:t.onScroll,"data-drop-target":A||void 0,"data-empty":l.collection.size===0||void 0,"data-focused":V||void 0,"data-focus-visible":I||void 0,"data-layout":t.layout||"stack","data-orientation":t.orientation||"vertical"},$e.createElement(Na,{values:[[fw,t],[Sp,l],[Z$,{dragAndDropHooks:o,dragState:N,dropState:B}],[hMe,{elementType:"div"}],[Cge,{render:gMe}],[lMe,{name:"ListBoxSection",render:mMe}]]},$e.createElement(w,{collection:c,scrollRef:r,persistedKeys:fMe(f,o,B),renderDropIndicator:Pge(o,B)})),z,H))}function mMe(e,t,r,n="react-aria-ListBoxSection"){let i=F.useContext(Sp),{dragAndDropHooks:a,dropState:o}=F.useContext(Z$),{CollectionBranch:s}=F.useContext(Iy),[u,l]=ed();var c;let{headingProps:f,groupProps:d}=BIe({heading:l,"aria-label":(c=e["aria-label"])!==null&&c!==void 0?c:void 0}),h=_n({defaultClassName:n,className:e.className,style:e.style,values:{}});return $e.createElement("section",{...Jr(e),...d,...h,ref:t},$e.createElement(dMe.Provider,{value:{...f,ref:u}},$e.createElement(s,{collection:i.collection,parent:r,renderDropIndicator:Pge(a,o)})))}const Zht=mL("item",function(t,r,n){let i=yl(r),a=F.useContext(Sp),{dragAndDropHooks:o,dragState:s,dropState:u}=F.useContext(Z$),{optionProps:l,labelProps:c,descriptionProps:f,...d}=QIe({key:n.key,"aria-label":t==null?void 0:t["aria-label"]},a,i),{hoverProps:h,isHovered:g}=Ru({isDisabled:!d.allowsSelection&&!d.hasAction,onHoverStart:n.props.onHoverStart,onHoverChange:n.props.onHoverChange,onHoverEnd:n.props.onHoverEnd}),m=null;s&&o&&(m=o.useDraggableItem({key:n.key},s));let v=null;u&&o&&(v=o.useDroppableItem({target:{type:"item",key:n.key,dropPosition:"on"}},u,i));let y=s&&s.isDragging(n.key),O=_n({...t,id:void 0,children:t.children,defaultClassName:"react-aria-ListBoxItem",values:{...d,isHovered:g,selectionMode:a.selectionManager.selectionMode,selectionBehavior:a.selectionManager.selectionBehavior,allowsDragging:!!s,isDragging:y,isDropTarget:v==null?void 0:v.isDropTarget}});F.useEffect(()=>{n.textValue||console.warn("A `textValue` prop is required for <ListBoxItem> elements with non-plain text children in order to support accessibility features such as type to select.")},[n.textValue]);let x=t.href?"a":"div";return $e.createElement(x,{...Qt(l,h,m==null?void 0:m.dragProps,v==null?void 0:v.dropProps),...O,ref:i,"data-allows-dragging":!!s||void 0,"data-selected":d.isSelected||void 0,"data-disabled":d.isDisabled||void 0,"data-hovered":g||void 0,"data-focused":d.isFocused||void 0,"data-focus-visible":d.isFocusVisible||void 0,"data-pressed":d.isPressed||void 0,"data-dragging":y||void 0,"data-drop-target":(v==null?void 0:v.isDropTarget)||void 0,"data-selection-mode":a.selectionManager.selectionMode==="none"?void 0:a.selectionManager.selectionMode},$e.createElement(Na,{values:[[rd,{slots:{[xS]:c,label:c,description:f}}]]},O.children))});function gMe(e,t){t=yl(t);let{dragAndDropHooks:r,dropState:n}=F.useContext(Z$),{dropIndicatorProps:i,isHidden:a,isDropTarget:o}=r.useDropIndicator(e,n,t);return a?null:$e.createElement(yMe,{...e,dropIndicatorProps:i,isDropTarget:o,ref:t})}function vMe(e,t){let{dropIndicatorProps:r,isDropTarget:n,...i}=e,a=_n({...i,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:n}});return $e.createElement("div",{...r,...a,role:"option",ref:t,"data-drop-target":n||void 0})}const yMe=F.forwardRef(vMe),bMe=F.createContext(null),K$=F.createContext(null),$L=F.createContext(null),Rge=F.createContext(null),Kht=F.forwardRef(function(t,r){[t,r]=Un(t,r,bMe);let n=F.useRef(null),i=qI(t.formatOptions),a=RIe({...t,numberFormatter:i}),[o,s]=ed(!t["aria-label"]&&!t["aria-labelledby"]),{groupProps:u,trackProps:l,labelProps:c,outputProps:f}=TIe({...t,label:s},a,n),d=_n({...t,values:{orientation:a.orientation,isDisabled:a.isDisabled,state:a},defaultClassName:"react-aria-Slider"}),h=Jr(t);return delete h.id,$e.createElement(Na,{values:[[K$,a],[$L,{...l,ref:n}],[Rge,f],[td,{...c,ref:o}]]},$e.createElement("div",{...h,...u,...d,ref:r,slot:t.slot||void 0,"data-orientation":a.orientation,"data-disabled":a.isDisabled||void 0}))}),Hht=F.forwardRef(function(t,r){[t,r]=Un(t,r,Rge);let{children:n,style:i,className:a,...o}=t,s=F.useContext(K$),u=_n({className:a,style:i,children:n,defaultChildren:s.getThumbValueLabel(0),defaultClassName:"react-aria-SliderOutput",values:{orientation:s.orientation,isDisabled:s.isDisabled,state:s}});return $e.createElement("output",{...o,...u,ref:r,"data-orientation":s.orientation||void 0,"data-disabled":s.isDisabled||void 0})}),Yht=F.forwardRef(function(t,r){[t,r]=Un(t,r,$L);let n=F.useContext(K$),{onHoverStart:i,onHoverEnd:a,onHoverChange:o,...s}=t,{hoverProps:u,isHovered:l}=Ru({onHoverStart:i,onHoverEnd:a,onHoverChange:o}),c=_n({...t,defaultClassName:"react-aria-SliderTrack",values:{orientation:n.orientation,isDisabled:n.isDisabled,isHovered:l,state:n}});return $e.createElement("div",{...Qt(s,u),...c,ref:r,"data-hovered":l||void 0,"data-orientation":n.orientation||void 0,"data-disabled":n.isDisabled||void 0})}),Ght=F.forwardRef(function(t,r){let{inputRef:n=null}=t,i=F.useContext(K$),{ref:a}=Jf($L),{index:o=0}=t,s=F.useRef(null),u=n||s,[l,c]=ed(!t["aria-label"]&&!t["aria-labelledby"]),{thumbProps:f,inputProps:d,labelProps:h,isDragging:g,isFocused:m,isDisabled:v}=AIe({...t,index:o,trackRef:a,inputRef:u,label:c},i),{focusProps:y,isFocusVisible:O}=cu(),{hoverProps:x,isHovered:C}=Ru(t),w=_n({...t,defaultClassName:"react-aria-SliderThumb",values:{state:i,isHovered:C,isDragging:g,isFocused:m,isFocusVisible:O,isDisabled:v}}),E=Jr(t);return delete E.id,$e.createElement("div",{...Qt(E,f,x),...w,ref:r,style:{...f.style,...w.style},"data-hovered":C||void 0,"data-dragging":g||void 0,"data-focused":m||void 0,"data-focus-visible":O||void 0,"data-disabled":v||void 0},$e.createElement(VN,null,$e.createElement("input",{ref:u,...Qt(d,y)})),$e.createElement(Na,{values:[[td,{...h,ref:l}]]},w.children))}),CL=F.createContext({placement:"bottom"}),Xht=F.forwardRef(function(t,r){[t,r]=Un(t,r,CL);let n=t.placement,i={position:"absolute",transform:n==="top"||n==="bottom"?"translateX(-50%)":"translateY(-50%)"};n!=null&&(i[n]="100%");let a=_n({...t,defaultClassName:"react-aria-OverlayArrow",values:{placement:n}});return a.style&&Object.keys(a.style).forEach(o=>a.style[o]===void 0&&delete a.style[o]),$e.createElement("div",{...t,...a,style:{...i,...a.style},ref:r,"data-placement":n})}),H$=F.createContext(null),BK=F.createContext(null),Jht=F.forwardRef(function(t,r){[t,r]=Un(t,r,H$);let n=F.useContext(Qg),i=dO(t),a=t.isOpen!=null||t.defaultOpen!=null||!n?i:n,o=x2(r,a.isOpen)||t.isExiting||!1,s=iIe(),{direction:u}=Ha();if(s){let l=t.children;return typeof l=="function"&&(l=l({trigger:t.trigger||null,placement:"bottom",isEntering:!1,isExiting:!1,defaultChildren:null})),$e.createElement($e.Fragment,null,l)}return a&&!a.isOpen&&!o?null:$e.createElement(OMe,{...t,triggerRef:t.triggerRef,state:a,popoverRef:r,isExiting:o,dir:u})});function OMe({state:e,isExiting:t,UNSTABLE_portalContainer:r,...n}){let i=F.useRef(null),[a,o]=F.useState(0),s=F.useRef(null),u=F.useContext(BK),l=u&&n.trigger==="SubmenuTrigger";Nn(()=>{i.current&&e.isOpen&&o(i.current.getBoundingClientRect().width)},[e.isOpen,i]);var c;let{popoverProps:f,underlayProps:d,arrowProps:h,placement:g}=i5e({...n,offset:(c=n.offset)!==null&&c!==void 0?c:8,arrowSize:a,groupRef:l?u:s},e),m=n.popoverRef,v=R$(m,!!g)||n.isEntering||!1,y=_n({...n,defaultClassName:"react-aria-Popover",values:{trigger:n.trigger||null,placement:g,isEntering:v,isExiting:t}}),O=!n.isNonModal||n.trigger==="SubmenuTrigger",[x,C]=F.useState(!1);Nn(()=>{m.current&&C(O&&!m.current.querySelector("[role=dialog]"))},[m,O]),F.useEffect(()=>{x&&m.current&&!m.current.contains(document.activeElement)&&cl(m.current)},[x,m]);let w={...f.style,...y.style},E=$e.createElement("div",{...Qt(Jr(n),f),...y,role:x?"dialog":void 0,tabIndex:x?-1:void 0,"aria-label":n["aria-label"],"aria-labelledby":n["aria-labelledby"],ref:m,slot:n.slot||void 0,style:w,dir:n.dir,"data-trigger":n.trigger,"data-placement":g,"data-entering":v||void 0,"data-exiting":t||void 0},!n.isNonModal&&$e.createElement(HI,{onDismiss:e.close}),$e.createElement(CL.Provider,{value:{...h,placement:g,ref:i}},y.children),$e.createElement(HI,{onDismiss:e.close}));if(!l)return $e.createElement(YI,{...n,shouldContainFocus:x,isExiting:t,portalContainer:r},!n.isNonModal&&e.isOpen&&$e.createElement("div",{"data-testid":"underlay",...d,style:{position:"fixed",inset:0}}),$e.createElement("div",{ref:s,style:{display:"contents"}},$e.createElement(BK.Provider,{value:s},E)));var T;return $e.createElement(YI,{...n,shouldContainFocus:x,isExiting:t,portalContainer:(T=r??(u==null?void 0:u.current))!==null&&T!==void 0?T:void 0},E)}const xMe=F.createContext(null),kge=F.createContext(null),Qg=F.createContext(null);function ept(e){let t=y5e(e),r=F.useRef(null),{triggerProps:n,overlayProps:i}=kue({type:"dialog"},t,r);return n.id=Bi(),i["aria-labelledby"]=n.id,$e.createElement(Na,{values:[[Qg,t],[xMe,t],[kge,i],[H$,{trigger:"DialogTrigger",triggerRef:r,"aria-labelledby":i["aria-labelledby"]}]]},$e.createElement(hke,{...n,ref:r,isPressed:t.isOpen},e.children))}const tpt=F.forwardRef(function(t,r){let n=t["aria-labelledby"];[t,r]=Un(t,r,kge);let{dialogProps:i,titleProps:a}=JIe({...t,"aria-labelledby":n},r),o=F.useContext(Qg);!i["aria-label"]&&!i["aria-labelledby"]&&(t["aria-labelledby"]?i["aria-labelledby"]=t["aria-labelledby"]:console.warn('If a Dialog does not contain a <Heading slot="title">, it must have an aria-label or aria-labelledby attribute for accessibility.'));let s=_n({defaultClassName:"react-aria-Dialog",className:t.className,style:t.style,children:t.children,values:{close:(o==null?void 0:o.close)||(()=>{})}});return $e.createElement("section",{...Jr(t),...i,...s,ref:r,slot:t.slot||void 0},$e.createElement(Na,{values:[[mfe,{slots:{[xS]:{},title:{...a,level:2}}}],[J0,{slots:{[xS]:{},close:{onPress:()=>o==null?void 0:o.close()}}}]]},s.children))}),_Me=F.createContext(null),SMe=F.createContext(null),rpt=F.forwardRef(function(t,r){[t,r]=Un(t,r,_Me);let{children:n,isDisabled:i=!1,isInvalid:a=!1,isRequired:o=!1}=t,s=F.useMemo(()=>{var u;return $e.createElement(fw.Provider,{value:{items:(u=t.items)!==null&&u!==void 0?u:t.defaultItems}},typeof n=="function"?n({isOpen:!1,isDisabled:i,isInvalid:a,isRequired:o,defaultChildren:null}):n)},[n,i,a,o,t.items,t.defaultItems]);return $e.createElement(lw,{content:s},u=>$e.createElement(wMe,{props:t,collection:u,comboBoxRef:r}))});function wMe({props:e,collection:t,comboBoxRef:r}){let{name:n,formValue:i="key",allowsCustomValue:a}=e;a&&(i="text");let{validationBehavior:o}=Jf(yp)||{};var s,u;let l=(u=(s=e.validationBehavior)!==null&&s!==void 0?s:o)!==null&&u!==void 0?u:"native",{contains:c}=bue({sensitivity:"base"}),f=T9e({defaultFilter:e.defaultFilter||c,...e,items:e.items,children:void 0,collection:t,validationBehavior:l}),d=F.useRef(null),h=F.useRef(null),g=F.useRef(null),m=F.useRef(null),[v,y]=ed(!e["aria-label"]&&!e["aria-labelledby"]),{buttonProps:O,inputProps:x,listBoxProps:C,labelProps:w,descriptionProps:E,errorMessageProps:T,...P}=UIe({...q0(e),label:y,inputRef:h,buttonRef:d,listBoxRef:g,popoverRef:m,name:i==="text"?n:void 0,validationBehavior:l},f),[L,N]=F.useState(null),B=F.useCallback(()=>{if(h.current){var Q;let V=(Q=d.current)===null||Q===void 0?void 0:Q.getBoundingClientRect(),I=h.current.getBoundingClientRect(),q=V?Math.min(V.left,I.left):I.left,M=V?Math.max(V.right,I.right):I.right;N(M-q+"px")}},[d,h,N]);O2({ref:h,onResize:B});let j=F.useMemo(()=>({isOpen:f.isOpen,isDisabled:e.isDisabled||!1,isInvalid:P.isInvalid||!1,isRequired:e.isRequired||!1}),[f.isOpen,e.isDisabled,P.isInvalid,e.isRequired]),A=_n({...e,values:j,defaultClassName:"react-aria-ComboBox"}),H=Jr(e);delete H.id;var k;return $e.createElement(Na,{values:[[SMe,f],[td,{...w,ref:v}],[J0,{...O,ref:d,isPressed:f.isOpen}],[vp,{...x,ref:h}],[Qg,f],[H$,{ref:m,triggerRef:h,scrollRef:g,placement:"bottom start",isNonModal:!0,trigger:"ComboBox",style:{"--trigger-width":L}}],[fw,{...C,ref:g}],[Sp,f],[rd,{slots:{description:E,errorMessage:T}}],[Fy,{isInvalid:P.isInvalid,isDisabled:e.isDisabled||!1}],[_p,P]]},$e.createElement("div",{...H,...A,ref:r,slot:e.slot||void 0,"data-focused":f.isFocused||void 0,"data-open":f.isOpen||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":P.isInvalid||void 0,"data-required":e.isRequired||void 0}),n&&i==="key"&&$e.createElement("input",{type:"hidden",name:n,value:(k=f.selectedKey)!==null&&k!==void 0?k:""}))}const Tge=F.createContext(null),EMe=F.createContext(null),dw=F.createContext(null),Y$=F.createContext(null),npt=F.forwardRef(function(t,r){[t,r]=Un(t,r,Tge);let{validationBehavior:n}=Jf(yp)||{};var i,a;let o=(a=(i=t.validationBehavior)!==null&&i!==void 0?i:n)!==null&&a!==void 0?a:"native",{locale:s}=Ha(),u=wL({...t,locale:s,createCalendar:fae,validationBehavior:o}),l=F.useRef(null),[c,f]=ed(!t["aria-label"]&&!t["aria-labelledby"]),d=F.useRef(null),{labelProps:h,fieldProps:g,inputProps:m,descriptionProps:v,errorMessageProps:y,...O}=bL({...q0(t),label:f,inputRef:d,validationBehavior:o},u,l),x=_n({...q0(t),values:{state:u,isInvalid:u.isInvalid,isDisabled:u.isDisabled},defaultClassName:"react-aria-DateField"}),C=Jr(t);return delete C.id,$e.createElement(Na,{values:[[dw,u],[Fy,{...g,ref:l,isInvalid:u.isInvalid}],[vp,{...m,ref:d}],[td,{...h,ref:c,elementType:"span"}],[rd,{slots:{description:v,errorMessage:y}}],[_p,O]]},$e.createElement("div",{...C,...x,ref:r,slot:t.slot||void 0,"data-invalid":u.isInvalid||void 0}))}),ipt=F.forwardRef(function(t,r){[t,r]=Un(t,r,EMe);let{validationBehavior:n}=Jf(yp)||{};var i,a;let o=(a=(i=t.validationBehavior)!==null&&i!==void 0?i:n)!==null&&a!==void 0?a:"native",{locale:s}=Ha(),u=Z9e({...t,locale:s,validationBehavior:o}),l=F.useRef(null),[c,f]=ed(!t["aria-label"]&&!t["aria-labelledby"]),d=F.useRef(null),{labelProps:h,fieldProps:g,inputProps:m,descriptionProps:v,errorMessageProps:y,...O}=ZIe({...q0(t),label:f,inputRef:d,validationBehavior:o},u,l),x=_n({...t,values:{state:u,isInvalid:u.isInvalid,isDisabled:u.isDisabled},defaultClassName:"react-aria-TimeField"}),C=Jr(t);return delete C.id,$e.createElement(Na,{values:[[Y$,u],[Fy,{...g,ref:l,isInvalid:u.isInvalid}],[vp,{...m,ref:d}],[td,{...h,ref:c,elementType:"span"}],[rd,{slots:{description:v,errorMessage:y}}],[_p,O]]},$e.createElement("div",{...C,...x,ref:r,slot:t.slot||void 0,"data-invalid":u.isInvalid||void 0}))}),apt=F.forwardRef(function(t,r){let n=F.useContext(dw),i=F.useContext(Y$);return n||i?$e.createElement(Age,{...t,ref:r}):$e.createElement($Me,{...t,ref:r})}),$Me=F.forwardRef((e,t)=>{let[r,n]=Un({slot:e.slot},t,Tge),{locale:i}=Ha(),a=wL({...r,locale:i,createCalendar:fae}),o=F.useRef(null),{fieldProps:s,inputProps:u}=bL({...r,inputRef:o},a,n);return $e.createElement(Na,{values:[[dw,a],[vp,{...u,ref:o}],[Fy,{...s,ref:n,isInvalid:a.isInvalid}]]},$e.createElement(Age,e))}),Age=F.forwardRef((e,t)=>{let{className:r,children:n}=e,i=F.useContext(dw),a=F.useContext(Y$),o=i??a;return $e.createElement($e.Fragment,null,$e.createElement(iMe,{...e,ref:t,slot:e.slot||void 0,className:r??"react-aria-DateInput",isInvalid:o.isInvalid},o.segments.map((s,u)=>F.cloneElement(n(s),{key:u}))),$e.createElement(E9e,null))}),opt=F.forwardRef(function({segment:t,...r},n){let i=F.useContext(dw),a=F.useContext(Y$),o=i??a,s=yl(n),{segmentProps:u}=GIe(t,o,s),{focusProps:l,isFocused:c,isFocusVisible:f}=cu(),{hoverProps:d,isHovered:h}=Ru({...r,isDisabled:o.isDisabled||t.type==="literal"}),g=_n({...r,values:{...t,isReadOnly:!t.isEditable,isInvalid:o.isInvalid,isDisabled:o.isDisabled,isHovered:h,isFocused:c,isFocusVisible:f},defaultChildren:t.text,defaultClassName:"react-aria-DateSegment"});return $e.createElement("span",{...Qt(Jr(r),u,l,d),...g,style:u.style,ref:s,"data-placeholder":t.isPlaceholder||void 0,"data-invalid":o.isInvalid||void 0,"data-readonly":!t.isEditable||void 0,"data-disabled":o.isDisabled||void 0,"data-type":t.type,"data-hovered":h||void 0,"data-focused":c||void 0,"data-focus-visible":f||void 0})}),Fge=F.createContext(null),spt=F.forwardRef(function(t,r){let n=H9e(t),i=_n({...t,defaultClassName:"react-aria-DisclosureGroup",values:{isDisabled:n.isDisabled,state:n}}),a=Jr(t);return $e.createElement("div",{...a,...i,ref:r,"data-disabled":t.isDisabled||void 0},$e.createElement(Fge.Provider,{value:n},i.children))}),CMe=F.createContext(null),PMe=F.createContext(null),Ige=F.createContext(null),upt=F.forwardRef(function(t,r){[t,r]=Un(t,r,CMe);let n=F.useContext(Fge),{id:i,...a}=t,o=Bi();i||(i=o);let s=n?n.expandedKeys.has(i):t.isExpanded,u=K9e({...t,isExpanded:s,onExpandedChange(y){var O;n&&n.toggleKey(i),(O=t.onExpandedChange)===null||O===void 0||O.call(t,y)}}),l=$e.useRef(null),c=t.isDisabled||(n==null?void 0:n.isDisabled)||!1,{buttonProps:f,panelProps:d}=e9e({...t,isExpanded:s,isDisabled:c},u,l),{isFocusVisible:h,focusProps:g}=cu({within:!0}),m=_n({...t,id:void 0,defaultClassName:"react-aria-Disclosure",values:{isExpanded:u.isExpanded,isDisabled:c,isFocusVisibleWithin:h,state:u}}),v=Jr(a);return $e.createElement(Na,{values:[[J0,{slots:{[xS]:{},trigger:f}}],[Ige,{panelProps:d,panelRef:l}],[PMe,u]]},$e.createElement("div",{ref:r,"data-expanded":u.isExpanded||void 0,"data-disabled":c||void 0,"data-focus-visible-within":h||void 0,...v,...g,...m},m.children))}),lpt=F.forwardRef(function(t,r){let{role:n="group"}=t,{panelProps:i,panelRef:a}=F.useContext(Ige),{isFocusVisible:o,focusProps:s}=cu({within:!0}),u=_n({...t,defaultClassName:"react-aria-DisclosurePanel",values:{isFocusVisibleWithin:o}}),l=Jr(t);return $e.createElement("div",{...l,ref:uO(r,a),...Qt(i,s),...u,role:n,"data-focus-visible-within":o||void 0},$e.createElement(Na,{values:[[J0,null]]},t.children))}),cpt=F.forwardRef(function(t,r){[t,r]=Un(t,r,mfe);let{children:n,level:i=3,className:a,...o}=t,s=`h${i}`;return $e.createElement(s,{...o,ref:r,className:a??"react-aria-Heading"},n)}),DMe=F.createContext(null),PL=F.createContext(null),fpt=F.forwardRef(function(t,r){if(F.useContext(PL))return $e.createElement(qK,{...t,modalRef:r},t.children);let{isDismissable:i,isKeyboardDismissDisabled:a,isOpen:o,defaultOpen:s,onOpenChange:u,children:l,isEntering:c,isExiting:f,UNSTABLE_portalContainer:d,shouldCloseOnInteractOutside:h,...g}=t;return $e.createElement(kMe,{isDismissable:i,isKeyboardDismissDisabled:a,isOpen:o,defaultOpen:s,onOpenChange:u,isEntering:c,isExiting:f,UNSTABLE_portalContainer:d,shouldCloseOnInteractOutside:h},$e.createElement(qK,{...g,modalRef:r},l))});function RMe(e,t){[e,t]=Un(e,t,DMe);let r=F.useContext(Qg),n=dO(e),i=e.isOpen!=null||e.defaultOpen!=null||!r?n:r,a=yl(t),o=F.useRef(null),s=x2(a,i.isOpen),u=x2(o,i.isOpen),l=s||u||e.isExiting||!1,c=fh();return!i.isOpen&&!l||c?null:$e.createElement(TMe,{...e,state:i,isExiting:l,overlayRef:a,modalRef:o})}const kMe=F.forwardRef(RMe);function TMe({UNSTABLE_portalContainer:e,...t}){let r=t.modalRef,{state:n}=t,{modalProps:i,underlayProps:a}=s5e(t,n,r),o=R$(t.overlayRef)||t.isEntering||!1,s=_n({...t,defaultClassName:"react-aria-ModalOverlay",values:{isEntering:o,isExiting:t.isExiting,state:n}}),u=URe(),l={...s.style,"--visual-viewport-height":u.height+"px"};return $e.createElement(YI,{isExiting:t.isExiting,portalContainer:e},$e.createElement("div",{...Qt(Jr(t),a),...s,style:l,ref:t.overlayRef,"data-entering":o||void 0,"data-exiting":t.isExiting||void 0},$e.createElement(Na,{values:[[PL,{modalProps:i,modalRef:r,isExiting:t.isExiting,isDismissable:t.isDismissable}],[Qg,n]]},s.children)))}function qK(e){let{modalProps:t,modalRef:r,isExiting:n,isDismissable:i}=F.useContext(PL),a=F.useContext(Qg),o=F.useMemo(()=>uO(e.modalRef,r),[e.modalRef,r]),s=yl(o),u=R$(s),l=_n({...e,defaultClassName:"react-aria-Modal",values:{isEntering:u,isExiting:n,state:a}});return $e.createElement("div",{...Qt(Jr(e),t),...l,ref:s,"data-entering":u||void 0,"data-exiting":n||void 0},i&&$e.createElement(HI,{onDismiss:a.close}),l.children)}const AMe=F.createContext(null),FMe=F.createContext(null),dpt=F.forwardRef(function(t,r){[t,r]=Un(t,r,AMe);let{validationBehavior:n}=Jf(yp)||{};var i,a;let o=(a=(i=t.validationBehavior)!==null&&i!==void 0?i:n)!==null&&a!==void 0?a:"native",{locale:s}=Ha(),u=kIe({...t,locale:s,validationBehavior:o}),l=F.useRef(null),[c,f]=ed(!t["aria-label"]&&!t["aria-labelledby"]),{labelProps:d,groupProps:h,inputProps:g,incrementButtonProps:m,decrementButtonProps:v,descriptionProps:y,errorMessageProps:O,...x}=NIe({...q0(t),label:f,validationBehavior:o},u,l),C=_n({...t,values:{state:u,isDisabled:t.isDisabled||!1,isInvalid:x.isInvalid||!1,isRequired:t.isRequired||!1},defaultClassName:"react-aria-NumberField"}),w=Jr(t);return delete w.id,$e.createElement(Na,{values:[[FMe,u],[Fy,h],[vp,{...g,ref:l}],[td,{...d,ref:c}],[J0,{slots:{increment:m,decrement:v}}],[rd,{slots:{description:y,errorMessage:O}}],[_p,x]]},$e.createElement("div",{...w,...C,ref:r,slot:t.slot||void 0,"data-disabled":t.isDisabled||void 0,"data-required":t.isRequired||void 0,"data-invalid":x.isInvalid||void 0}),t.name&&$e.createElement("input",{type:"hidden",name:t.name,value:isNaN(u.numberValue)?"":u.numberValue}))}),IMe=F.createContext(null),MMe=F.createContext(null),Mge=F.createContext(null),hpt=F.forwardRef(function(t,r){[t,r]=Un(t,r,IMe);let{validationBehavior:n}=Jf(yp)||{};var i,a;let o=(a=(i=t.validationBehavior)!==null&&i!==void 0?i:n)!==null&&a!==void 0?a:"native",s=X9e({...t,validationBehavior:o}),[u,l]=ed(!t["aria-label"]&&!t["aria-labelledby"]),{radioGroupProps:c,labelProps:f,descriptionProps:d,errorMessageProps:h,...g}=l9e({...t,label:l,validationBehavior:o},s),m=_n({...t,values:{orientation:t.orientation||"vertical",isDisabled:s.isDisabled,isReadOnly:s.isReadOnly,isRequired:s.isRequired,isInvalid:s.isInvalid,state:s},defaultClassName:"react-aria-RadioGroup"});return $e.createElement("div",{...c,...m,ref:r,slot:t.slot||void 0,"data-orientation":t.orientation||"vertical","data-invalid":s.isInvalid||void 0,"data-disabled":s.isDisabled||void 0,"data-readonly":s.isReadOnly||void 0,"data-required":s.isRequired||void 0},$e.createElement(Na,{values:[[Mge,s],[td,{...f,ref:u,elementType:"span"}],[rd,{slots:{description:d,errorMessage:h}}],[_p,g]]},m.children))}),ppt=F.forwardRef(function(t,r){let{inputRef:n=null,...i}=t;[t,r]=Un(i,r,MMe);let a=$e.useContext(Mge),o=yl(uO(n,t.inputRef!==void 0?t.inputRef:null)),{labelProps:s,inputProps:u,isSelected:l,isDisabled:c,isPressed:f}=u9e({...q0(t),children:typeof t.children=="function"?!0:t.children},a,o),{isFocused:d,isFocusVisible:h,focusProps:g}=cu(),m=c||a.isReadOnly,{hoverProps:v,isHovered:y}=Ru({...t,isDisabled:m}),O=_n({...t,defaultClassName:"react-aria-Radio",values:{isSelected:l,isPressed:f,isHovered:y,isFocused:d,isFocusVisible:h,isDisabled:c,isReadOnly:a.isReadOnly,isInvalid:a.isInvalid,isRequired:a.isRequired}}),x=Jr(t);return delete x.id,$e.createElement("label",{...Qt(x,s,v,O),ref:r,"data-selected":l||void 0,"data-pressed":f||void 0,"data-hovered":y||void 0,"data-focused":d||void 0,"data-focus-visible":h||void 0,"data-disabled":c||void 0,"data-readonly":a.isReadOnly||void 0,"data-invalid":a.isInvalid||void 0,"data-required":a.isRequired||void 0},$e.createElement(VN,{elementType:"span"},$e.createElement("input",{...Qt(u,g),ref:o})),O.children)});function NMe(e){return e&&e.__esModule?e.default:e}const DL=F.createContext(null),Nge=F.createContext(null),mpt=F.forwardRef(function(t,r){[t,r]=Un(t,r,DL);let{children:n,isDisabled:i=!1,isInvalid:a=!1,isRequired:o=!1}=t,s=F.useMemo(()=>typeof n=="function"?n({isOpen:!1,isDisabled:i,isInvalid:a,isRequired:o,isFocused:!1,isFocusVisible:!1,defaultChildren:null}):n,[n,i,a,o]);return $e.createElement(lw,{content:s},u=>$e.createElement(LMe,{props:t,collection:u,selectRef:r}))});function LMe({props:e,selectRef:t,collection:r}){let{validationBehavior:n}=Jf(yp)||{};var i,a;let o=(a=(i=e.validationBehavior)!==null&&i!==void 0?i:n)!==null&&a!==void 0?a:"native",s=eMe({...e,collection:r,children:void 0,validationBehavior:o}),{isFocusVisible:u,focusProps:l}=cu({within:!0}),c=F.useRef(null),[f,d]=ed(!e["aria-label"]&&!e["aria-labelledby"]),{labelProps:h,triggerProps:g,valueProps:m,menuProps:v,descriptionProps:y,errorMessageProps:O,...x}=d9e({...q0(e),label:d,validationBehavior:o},s,c),[C,w]=F.useState(null),E=F.useCallback(()=>{c.current&&w(c.current.offsetWidth+"px")},[c]);O2({ref:c,onResize:E});let T=F.useMemo(()=>({isOpen:s.isOpen,isFocused:s.isFocused,isFocusVisible:u,isDisabled:e.isDisabled||!1,isInvalid:x.isInvalid||!1,isRequired:e.isRequired||!1}),[s.isOpen,s.isFocused,u,e.isDisabled,x.isInvalid,e.isRequired]),P=_n({...e,values:T,defaultClassName:"react-aria-Select"}),L=Jr(e);delete L.id;let N=F.useRef(null);return $e.createElement(Na,{values:[[DL,e],[Nge,s],[Lge,m],[td,{...h,ref:f,elementType:"span"}],[J0,{...g,ref:c,isPressed:s.isOpen}],[Qg,s],[H$,{trigger:"Select",triggerRef:c,scrollRef:N,placement:"bottom start",style:{"--trigger-width":C},"aria-labelledby":v["aria-labelledby"]}],[fw,{...v,ref:N}],[Sp,s],[rd,{slots:{description:y,errorMessage:O}}],[_p,x]]},$e.createElement("div",{...L,...P,...l,ref:t,slot:e.slot||void 0,"data-focused":s.isFocused||void 0,"data-focus-visible":u||void 0,"data-open":s.isOpen||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":x.isInvalid||void 0,"data-required":e.isRequired||void 0}),$e.createElement(p9e,{autoComplete:e.autoComplete,state:s,triggerRef:c,label:d,name:e.name,isDisabled:e.isDisabled}))}const Lge=F.createContext(null),gpt=F.forwardRef(function(t,r){var n,i;[t,r]=Un(t,r,Lge);let a=F.useContext(Nge),{placeholder:o}=Jf(DL),s=a.selectedKey!=null?a.collection.getItem(a.selectedKey):null,u=s==null?void 0:s.props.children;typeof u=="function"&&(u=u({isHovered:!1,isPressed:!1,isSelected:!1,isFocused:!1,isFocusVisible:!1,isDisabled:!1,selectionMode:"single",selectionBehavior:"toggle"}));let l=dh(NMe($ge),"react-aria-components");var c,f,d;let h=_n({...t,defaultChildren:(c=u??o)!==null&&c!==void 0?c:l.format("selectPlaceholder"),defaultClassName:"react-aria-SelectValue",values:{selectedItem:(f=(n=a.selectedItem)===null||n===void 0?void 0:n.value)!==null&&f!==void 0?f:null,selectedText:(d=(i=a.selectedItem)===null||i===void 0?void 0:i.textValue)!==null&&d!==void 0?d:null,isPlaceholder:!s}}),g=Jr(t);return $e.createElement("span",{ref:r,...g,...h,"data-placeholder":!s||void 0},$e.createElement(rd.Provider,{value:void 0},h.children))}),G$=F.createContext(null),jb=F.createContext(null),vpt=F.forwardRef(function(t,r){[t,r]=Un(t,r,G$);let{children:n,orientation:i="horizontal"}=t;return n=F.useMemo(()=>typeof n=="function"?n({orientation:i,defaultChildren:null}):n,[n,i]),$e.createElement(lw,{content:n},a=>$e.createElement(zMe,{props:t,collection:a,tabsRef:r}))});function zMe({props:e,tabsRef:t,collection:r}){let{orientation:n="horizontal"}=e,i=tMe({...e,collection:r,children:void 0}),{focusProps:a,isFocused:o,isFocusVisible:s}=cu({within:!0}),u=F.useMemo(()=>({orientation:n,isFocusWithin:o,isFocusVisible:s}),[n,o,s]),l=_n({...e,defaultClassName:"react-aria-Tabs",values:u});return $e.createElement("div",{...Jr(e),...a,...l,ref:t,slot:e.slot||void 0,"data-focused":o||void 0,"data-orientation":n,"data-focus-visible":s||void 0,"data-disabled":i.isDisabled||void 0},$e.createElement(Na,{values:[[G$,e],[jb,i]]},l.children))}const ypt=F.forwardRef(function(t,r){return F.useContext(jb)?$e.createElement(QMe,{props:t,forwardedRef:r}):$e.createElement(gL,t)});function QMe({props:e,forwardedRef:t}){let r=F.useContext(jb),{CollectionRoot:n}=F.useContext(Iy),{orientation:i="horizontal",keyboardActivation:a="automatic"}=Jf(G$),o=yl(t),{tabListProps:s}=y9e({...e,orientation:i,keyboardActivation:a},r,o),u=_n({...e,children:null,defaultClassName:"react-aria-TabList",values:{orientation:i,state:r}}),l=Jr(e);return delete l.id,$e.createElement("div",{...l,...s,ref:o,...u,"data-orientation":i||void 0},$e.createElement(n,{collection:r.collection,persistedKeys:jme(r.selectionManager.focusedKey)}))}const bpt=mL("item",(e,t,r)=>{let n=F.useContext(jb),i=yl(t),{tabProps:a,isSelected:o,isDisabled:s,isPressed:u}=m9e({key:r.key,...e},n,i),{focusProps:l,isFocused:c,isFocusVisible:f}=cu(),{hoverProps:d,isHovered:h}=Ru({isDisabled:s,onHoverStart:e.onHoverStart,onHoverEnd:e.onHoverEnd,onHoverChange:e.onHoverChange}),g=_n({...e,id:void 0,children:r.rendered,defaultClassName:"react-aria-Tab",values:{isSelected:o,isDisabled:s,isFocused:c,isFocusVisible:f,isPressed:u,isHovered:h}}),m=r.props.href?"a":"div";return $e.createElement(m,{...Qt(a,l,d,g),ref:i,"data-selected":o||void 0,"data-disabled":s||void 0,"data-focused":c||void 0,"data-focus-visible":f||void 0,"data-pressed":u||void 0,"data-hovered":h||void 0},g.children)}),Opt=gO(function(t,r){const n=F.useContext(jb);let i=yl(r),{tabPanelProps:a}=g9e(t,n,i),{focusProps:o,isFocused:s,isFocusVisible:u}=cu(),l=n.selectedKey===t.id,c=_n({...t,defaultClassName:"react-aria-TabPanel",values:{isFocused:s,isFocusVisible:u,isInert:!l,state:n}});if(!l&&!t.shouldForceMount)return null;let f=Jr(t);delete f.id;let d=l?Qt(f,a,o,c):c;return $e.createElement("div",{...d,ref:i,"data-focused":s||void 0,"data-focus-visible":u||void 0,inert:ZRe(!l),"data-inert":l?void 0:"true"},$e.createElement(Na,{values:[[G$,null],[jb,null]]},$e.createElement(Iy.Provider,{value:EL},c.children)))}),BMe=F.createContext(null),zge=F.createContext(null),xpt=F.forwardRef(function(t,r){return[t,r]=Un(t,r,BMe),$e.createElement(lw,{content:t.children},n=>$e.createElement(qMe,{props:t,forwardedRef:r,collection:n}))});function qMe({props:e,forwardedRef:t,collection:r}){let n=F.useRef(null),[i,a]=ed(!e["aria-label"]&&!e["aria-labelledby"]),o=_L({...e,children:void 0,collection:r}),s=Jr(e),u=Object.fromEntries(Object.entries(s).map(([g])=>[g,void 0])),{gridProps:l,labelProps:c,descriptionProps:f,errorMessageProps:d}=b9e({...e,...u,label:a},o,n);var h;return $e.createElement("div",{...s,ref:t,slot:e.slot||void 0,className:(h=e.className)!==null&&h!==void 0?h:"react-aria-TagGroup",style:e.style},$e.createElement(Na,{values:[[td,{...c,elementType:"span",ref:i}],[zge,{...l,ref:n}],[Sp,o],[rd,{slots:{description:f,errorMessage:d}}]]},e.children))}const _pt=F.forwardRef(function(t,r){return F.useContext(Sp)?$e.createElement(UMe,{props:t,forwardedRef:r}):$e.createElement(gL,t)});function UMe({props:e,forwardedRef:t}){let r=F.useContext(Sp),{CollectionRoot:n}=F.useContext(Iy),[i,a]=Un(e,t,zge);delete i.items,delete i.renderEmptyState;let{focusProps:o,isFocused:s,isFocusVisible:u}=cu(),l={isEmpty:r.collection.size===0,isFocused:s,isFocusVisible:u,state:r},c=_n({className:e.className,style:e.style,defaultClassName:"react-aria-TagList",values:l}),f=jme(r.selectionManager.focusedKey);return $e.createElement("div",{...Qt(i,o),...c,ref:a,"data-empty":r.collection.size===0||void 0,"data-focused":s||void 0,"data-focus-visible":u||void 0},r.collection.size===0&&e.renderEmptyState?e.renderEmptyState(l):$e.createElement(n,{collection:r.collection,persistedKeys:f}))}const Spt=mL("item",(e,t,r)=>{let n=F.useContext(Sp),i=yl(t),{focusProps:a,isFocusVisible:o}=cu({within:!0}),{rowProps:s,gridCellProps:u,removeButtonProps:l,...c}=x9e({item:r},n,i),{hoverProps:f,isHovered:d}=Ru({isDisabled:!c.allowsSelection,onHoverStart:r.props.onHoverStart,onHoverChange:r.props.onHoverChange,onHoverEnd:r.props.onHoverEnd}),h=_n({...e,id:void 0,children:r.rendered,defaultClassName:"react-aria-Tag",values:{...c,isFocusVisible:o,isHovered:d,selectionMode:n.selectionManager.selectionMode,selectionBehavior:n.selectionManager.selectionBehavior}});return F.useEffect(()=>{r.textValue||console.warn("A `textValue` prop is required for <Tag> elements with non-plain text children for accessibility.")},[r.textValue]),$e.createElement("div",{ref:i,...h,...Qt(Jr(e),s,a,f),"data-selected":c.isSelected||void 0,"data-disabled":c.isDisabled||void 0,"data-hovered":d||void 0,"data-focused":c.isFocused||void 0,"data-focus-visible":o||void 0,"data-pressed":c.isPressed||void 0,"data-allows-removing":c.allowsRemoving||void 0,"data-selection-mode":n.selectionManager.selectionMode==="none"?void 0:n.selectionManager.selectionMode},$e.createElement("div",{...u,style:{display:"contents"}},$e.createElement(Na,{values:[[J0,{slots:{remove:l}}],[Iy,EL]]},h.children)))}),VMe=F.createContext({}),Qge=F.createContext(null),wpt=F.forwardRef(function(t,r){[t,r]=Un(t,r,VMe);let n=$Ie(t),{groupProps:i}=gIe(t,n,r),a=_n({...t,values:{isDisabled:n.isDisabled,state:n},defaultClassName:"react-aria-ToggleButtonGroup"});return $e.createElement("div",{...i,...a,ref:r,slot:t.slot||void 0,"data-orientation":t.orientation||"horizontal","data-disabled":t.isDisabled||void 0},$e.createElement(Qge.Provider,{value:n},a.children))}),jMe=F.createContext({}),Ept=F.forwardRef(function(t,r){[t,r]=Un(t,r,jMe);let n=F.useContext(Qge),i=EIe(n&&t.id!=null?{isSelected:n.selectedKeys.has(t.id),onChange(m){n.setSelected(t.id,m)}}:t),{buttonProps:a,isPressed:o,isSelected:s,isDisabled:u}=n&&t.id!=null?vIe({...t,id:t.id},n,r):Ofe({...t,id:t.id!=null?String(t.id):void 0},i,r),{focusProps:l,isFocused:c,isFocusVisible:f}=cu(t),{hoverProps:d,isHovered:h}=Ru(t),g=_n({...t,id:void 0,values:{isHovered:h,isPressed:o,isFocused:c,isSelected:i.isSelected,isFocusVisible:f,isDisabled:u,state:i},defaultClassName:"react-aria-ToggleButton"});return $e.createElement("button",{...Qt(a,l,d),...g,ref:r,slot:t.slot||void 0,"data-focused":c||void 0,"data-disabled":u||void 0,"data-pressed":o||void 0,"data-selected":s||void 0,"data-hovered":h||void 0,"data-focus-visible":f||void 0})}),RL=F.createContext(null),Bge=F.createContext(null);function $pt(e){let t=Ume(e),r=F.useRef(null),{triggerProps:n,tooltipProps:i}=S9e(e,t,r);return $e.createElement(Na,{values:[[RL,t],[Bge,{...i,triggerRef:r}]]},$e.createElement(dke,{...n,ref:r},e.children))}const Cpt=F.forwardRef(function({UNSTABLE_portalContainer:t,...r},n){[r,n]=Un(r,n,Bge);let i=F.useContext(RL),a=Ume(r),o=r.isOpen!=null||r.defaultOpen!=null||!i?a:i,s=x2(n,o.isOpen)||r.isExiting||!1;return!o.isOpen&&!s?null:$e.createElement(t5e,{portalContainer:t},$e.createElement(WMe,{...r,tooltipRef:n,isExiting:s}))});function WMe(e){let t=F.useContext(RL),r=F.useRef(null),[n,i]=F.useState(0);Nn(()=>{r.current&&t.isOpen&&i(r.current.getBoundingClientRect().width)},[t.isOpen,r]);let{overlayProps:a,arrowProps:o,placement:s}=_ue({placement:e.placement||"top",targetRef:e.triggerRef,overlayRef:e.tooltipRef,offset:e.offset,crossOffset:e.crossOffset,isOpen:t.isOpen,arrowSize:n,arrowBoundaryOffset:e.arrowBoundaryOffset,shouldFlip:e.shouldFlip,onClose:()=>t.close(!0)}),u=R$(e.tooltipRef,!!s)||e.isEntering||!1,l=_n({...e,defaultClassName:"react-aria-Tooltip",values:{placement:s,isEntering:u,isExiting:e.isExiting,state:t}});e=Qt(e,a);let{tooltipProps:c}=_9e(e,t);return $e.createElement("div",{...c,ref:e.tooltipRef,...l,style:{...a.style,...l.style},"data-placement":s??void 0,"data-entering":u||void 0,"data-exiting":e.isExiting||void 0},$e.createElement(CL.Provider,{value:{...o,placement:s,ref:r}},l.children))}var _x={},UK;function ZMe(){if(UK)return _x;UK=1,Object.defineProperty(_x,"__esModule",{value:!0}),_x.parse=o,_x.serialize=l;const e=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,t=/^[\u0021-\u003A\u003C-\u007E]*$/,r=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,n=/^[\u0020-\u003A\u003D-\u007E]*$/,i=Object.prototype.toString,a=(()=>{const d=function(){};return d.prototype=Object.create(null),d})();function o(d,h){const g=new a,m=d.length;if(m<2)return g;const v=(h==null?void 0:h.decode)||c;let y=0;do{const O=d.indexOf("=",y);if(O===-1)break;const x=d.indexOf(";",y),C=x===-1?m:x;if(O>C){y=d.lastIndexOf(";",O-1)+1;continue}const w=s(d,y,O),E=u(d,O,w),T=d.slice(w,E);if(g[T]===void 0){let P=s(d,O+1,C),L=u(d,C,P);const N=v(d.slice(P,L));g[T]=N}y=C+1}while(y<m);return g}function s(d,h,g){do{const m=d.charCodeAt(h);if(m!==32&&m!==9)return h}while(++h<g);return g}function u(d,h,g){for(;h>g;){const m=d.charCodeAt(--h);if(m!==32&&m!==9)return h+1}return g}function l(d,h,g){const m=(g==null?void 0:g.encode)||encodeURIComponent;if(!e.test(d))throw new TypeError(`argument name is invalid: ${d}`);const v=m(h);if(!t.test(v))throw new TypeError(`argument val is invalid: ${h}`);let y=d+"="+v;if(!g)return y;if(g.maxAge!==void 0){if(!Number.isInteger(g.maxAge))throw new TypeError(`option maxAge is invalid: ${g.maxAge}`);y+="; Max-Age="+g.maxAge}if(g.domain){if(!r.test(g.domain))throw new TypeError(`option domain is invalid: ${g.domain}`);y+="; Domain="+g.domain}if(g.path){if(!n.test(g.path))throw new TypeError(`option path is invalid: ${g.path}`);y+="; Path="+g.path}if(g.expires){if(!f(g.expires)||!Number.isFinite(g.expires.valueOf()))throw new TypeError(`option expires is invalid: ${g.expires}`);y+="; Expires="+g.expires.toUTCString()}if(g.httpOnly&&(y+="; HttpOnly"),g.secure&&(y+="; Secure"),g.partitioned&&(y+="; Partitioned"),g.priority)switch(typeof g.priority=="string"?g.priority.toLowerCase():void 0){case"low":y+="; Priority=Low";break;case"medium":y+="; Priority=Medium";break;case"high":y+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${g.priority}`)}if(g.sameSite)switch(typeof g.sameSite=="string"?g.sameSite.toLowerCase():g.sameSite){case!0:case"strict":y+="; SameSite=Strict";break;case"lax":y+="; SameSite=Lax";break;case"none":y+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${g.sameSite}`)}return y}function c(d){if(d.indexOf("%")===-1)return d;try{return decodeURIComponent(d)}catch{return d}}function f(d){return i.call(d)==="[object Date]"}return _x}ZMe();/**
576
576
  * react-router v7.5.2
577
577
  *
578
578
  * Copyright (c) Remix Software Inc.
@@ -581,10 +581,10 @@ No matching component was found for:
581
581
  * LICENSE.md file in the root directory of this source tree.
582
582
  *
583
583
  * @license MIT
584
- */var qge=e=>{throw TypeError(e)},ZMe=(e,t,r)=>t.has(e)||qge("Cannot "+r),QT=(e,t,r)=>(ZMe(e,t,"read from private field"),r?r.call(e):t.get(e)),KMe=(e,t,r)=>t.has(e)?qge("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),VK="popstate";function HMe(e={}){function t(n,i){let{pathname:a,search:o,hash:s}=n.location;return wS("",{pathname:a,search:o,hash:s},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function r(n,i){return typeof i=="string"?i:Sg(i)}return GMe(t,r,null,e)}function xn(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Wa(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function YMe(){return Math.random().toString(36).substring(2,10)}function jK(e,t){return{usr:e.state,key:e.key,idx:t}}function wS(e,t,r=null,n){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?Bg(t):t,state:r,key:t&&t.key||n||YMe()}}function Sg({pathname:e="/",search:t="",hash:r=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function Bg(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substring(r),e=e.substring(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substring(n),e=e.substring(0,n)),e&&(t.pathname=e)}return t}function GMe(e,t,r,n={}){let{window:i=document.defaultView,v5Compat:a=!1}=n,o=i.history,s="POP",u=null,l=c();l==null&&(l=0,o.replaceState({...o.state,idx:l},""));function c(){return(o.state||{idx:null}).idx}function f(){s="POP";let v=c(),y=v==null?null:v-l;l=v,u&&u({action:s,location:m.location,delta:y})}function d(v,y){s="PUSH";let O=wS(m.location,v,y);l=c()+1;let x=jK(O,l),C=m.createHref(O);try{o.pushState(x,"",C)}catch(w){if(w instanceof DOMException&&w.name==="DataCloneError")throw w;i.location.assign(C)}a&&u&&u({action:s,location:m.location,delta:1})}function h(v,y){s="REPLACE";let O=wS(m.location,v,y);l=c();let x=jK(O,l),C=m.createHref(O);o.replaceState(x,"",C),a&&u&&u({action:s,location:m.location,delta:0})}function g(v){let y=i.location.origin!=="null"?i.location.origin:i.location.href,O=typeof v=="string"?v:Sg(v);return O=O.replace(/ $/,"%20"),xn(y,`No window.location.(origin|href) available to create URL for href: ${O}`),new URL(O,y)}let m={get action(){return s},get location(){return e(i,o)},listen(v){if(u)throw new Error("A history only accepts one active listener");return i.addEventListener(VK,f),u=v,()=>{i.removeEventListener(VK,f),u=null}},createHref(v){return t(i,v)},createURL:g,encodeLocation(v){let y=g(v);return{pathname:y.pathname,search:y.search,hash:y.hash}},push:d,replace:h,go(v){return o.go(v)}};return m}var h_,WK=class{constructor(e){if(KMe(this,h_,new Map),e)for(let[t,r]of e)this.set(t,r)}get(e){if(QT(this,h_).has(e))return QT(this,h_).get(e);if(e.defaultValue!==void 0)return e.defaultValue;throw new Error("No value found for context")}set(e,t){QT(this,h_).set(e,t)}};h_=new WeakMap;var XMe=new Set(["lazy","caseSensitive","path","id","index","children"]);function JMe(e){return XMe.has(e)}var eNe=new Set(["lazy","caseSensitive","path","id","index","unstable_middleware","children"]);function tNe(e){return eNe.has(e)}function rNe(e){return e.index===!0}function X2(e,t,r=[],n={}){return e.map((i,a)=>{let o=[...r,String(a)],s=typeof i.id=="string"?i.id:o.join("-");if(xn(i.index!==!0||!i.children,"Cannot specify children on an index route"),xn(!n[s],`Found a route id collision on id "${s}". Route id's must be globally unique within Data Router usages`),rNe(i)){let u={...i,...t(i),id:s};return n[s]=u,u}else{let u={...i,...t(i),id:s,children:void 0};return n[s]=u,i.children&&(u.children=X2(i.children,t,o,n)),u}})}function Ym(e,t,r="/"){return BE(e,t,r,!1)}function BE(e,t,r,n){let i=typeof t=="string"?Bg(t):t,a=mc(i.pathname||"/",r);if(a==null)return null;let o=Vge(e);nNe(o);let s=null;for(let u=0;s==null&&u<o.length;++u){let l=pNe(a);s=dNe(o[u],l,n)}return s}function Uge(e,t){let{route:r,pathname:n,params:i}=e;return{id:r.id,pathname:n,params:i,data:t[r.id],handle:r.handle}}function Vge(e,t=[],r=[],n=""){let i=(a,o,s)=>{let u={relativePath:s===void 0?a.path||"":s,caseSensitive:a.caseSensitive===!0,childrenIndex:o,route:a};u.relativePath.startsWith("/")&&(xn(u.relativePath.startsWith(n),`Absolute route path "${u.relativePath}" nested under path "${n}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),u.relativePath=u.relativePath.slice(n.length));let l=dp([n,u.relativePath]),c=r.concat(u);a.children&&a.children.length>0&&(xn(a.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${l}".`),Vge(a.children,t,c,l)),!(a.path==null&&!a.index)&&t.push({path:l,score:cNe(l,a.index),routesMeta:c})};return e.forEach((a,o)=>{var s;if(a.path===""||!((s=a.path)!=null&&s.includes("?")))i(a,o);else for(let u of jge(a.path))i(a,o,u)}),t}function jge(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,i=r.endsWith("?"),a=r.replace(/\?$/,"");if(n.length===0)return i?[a,""]:[a];let o=jge(n.join("/")),s=[];return s.push(...o.map(u=>u===""?a:[a,u].join("/"))),i&&s.push(...o),s.map(u=>e.startsWith("/")&&u===""?"/":u)}function nNe(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:fNe(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}var iNe=/^:[\w-]+$/,aNe=3,oNe=2,sNe=1,uNe=10,lNe=-2,ZK=e=>e==="*";function cNe(e,t){let r=e.split("/"),n=r.length;return r.some(ZK)&&(n+=lNe),t&&(n+=oNe),r.filter(i=>!ZK(i)).reduce((i,a)=>i+(iNe.test(a)?aNe:a===""?sNe:uNe),n)}function fNe(e,t){return e.length===t.length&&e.slice(0,-1).every((n,i)=>n===t[i])?e[e.length-1]-t[t.length-1]:0}function dNe(e,t,r=!1){let{routesMeta:n}=e,i={},a="/",o=[];for(let s=0;s<n.length;++s){let u=n[s],l=s===n.length-1,c=a==="/"?t:t.slice(a.length)||"/",f=J2({path:u.relativePath,caseSensitive:u.caseSensitive,end:l},c),d=u.route;if(!f&&l&&r&&!n[n.length-1].route.index&&(f=J2({path:u.relativePath,caseSensitive:u.caseSensitive,end:!1},c)),!f)return null;Object.assign(i,f.params),o.push({params:i,pathname:dp([a,f.pathname]),pathnameBase:vNe(dp([a,f.pathnameBase])),route:d}),f.pathnameBase!=="/"&&(a=dp([a,f.pathnameBase]))}return o}function J2(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,n]=hNe(e.path,e.caseSensitive,e.end),i=t.match(r);if(!i)return null;let a=i[0],o=a.replace(/(.)\/+$/,"$1"),s=i.slice(1);return{params:n.reduce((l,{paramName:c,isOptional:f},d)=>{if(c==="*"){let g=s[d]||"";o=a.slice(0,a.length-g.length).replace(/(.)\/+$/,"$1")}const h=s[d];return f&&!h?l[c]=void 0:l[c]=(h||"").replace(/%2F/g,"/"),l},{}),pathname:a,pathnameBase:o,pattern:e}}function hNe(e,t=!1,r=!0){Wa(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let n=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,s,u)=>(n.push({paramName:s,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(n.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),n]}function pNe(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Wa(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function mc(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}function mNe(e,t="/"){let{pathname:r,search:n="",hash:i=""}=typeof e=="string"?Bg(e):e;return{pathname:r?r.startsWith("/")?r:gNe(r,t):t,search:yNe(n),hash:bNe(i)}}function gNe(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?r.length>1&&r.pop():i!=="."&&r.push(i)}),r.length>1?r.join("/"):"/"}function BT(e,t,r,n){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(n)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Wge(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function X$(e){let t=Wge(e);return t.map((r,n)=>n===t.length-1?r.pathname:r.pathnameBase)}function J$(e,t,r,n=!1){let i;typeof e=="string"?i=Bg(e):(i={...e},xn(!i.pathname||!i.pathname.includes("?"),BT("?","pathname","search",i)),xn(!i.pathname||!i.pathname.includes("#"),BT("#","pathname","hash",i)),xn(!i.search||!i.search.includes("#"),BT("#","search","hash",i)));let a=e===""||i.pathname==="",o=a?"/":i.pathname,s;if(o==null)s=r;else{let f=t.length-1;if(!n&&o.startsWith("..")){let d=o.split("/");for(;d[0]==="..";)d.shift(),f-=1;i.pathname=d.join("/")}s=f>=0?t[f]:"/"}let u=mNe(i,s),l=o&&o!=="/"&&o.endsWith("/"),c=(a||o===".")&&r.endsWith("/");return!u.pathname.endsWith("/")&&(l||c)&&(u.pathname+="/"),u}var dp=e=>e.join("/").replace(/\/\/+/g,"/"),vNe=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),yNe=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,bNe=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,Cpt=(e,t=302)=>{let r=t;typeof r=="number"?r={status:r}:typeof r.status>"u"&&(r.status=302);let n=new Headers(r.headers);return n.set("Location",e),new Response(null,{...r,headers:n})},e4=class{constructor(e,t,r,n=!1){this.status=e,this.statusText=t||"",this.internal=n,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}};function ES(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var Zge=["POST","PUT","PATCH","DELETE"],ONe=new Set(Zge),xNe=["GET",...Zge],_Ne=new Set(xNe),SNe=new Set([301,302,303,307,308]),wNe=new Set([307,308]),qT={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},ENe={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Z1={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},kL=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,$Ne=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),Kge="remix-router-transitions",Hge=Symbol("ResetLoaderData");function CNe(e){const t=e.window?e.window:typeof window<"u"?window:void 0,r=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u";xn(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let n=e.hydrationRouteProperties||[],i=e.mapRouteProperties||$Ne,a={},o=X2(e.routes,i,void 0,a),s,u=e.basename||"/",l=e.dataStrategy||TNe,c={unstable_middleware:!1,...e.future},f=null,d=new Set,h=null,g=null,m=null,v=e.hydrationData!=null,y=Ym(o,e.history.location,u),O=!1,x=null;if(y==null&&!e.patchRoutesOnNavigation){let ze=Ff(404,{pathname:e.history.location.pathname}),{matches:We,route:Je}=aH(o);y=We,x={[Je.id]:ze}}y&&!e.hydrationData&&Tr(y,o,e.history.location.pathname).active&&(y=null);let C;if(y)if(y.some(ze=>ze.route.lazy))C=!1;else if(!y.some(ze=>ze.route.loader))C=!0;else{let ze=e.hydrationData?e.hydrationData.loaderData:null,We=e.hydrationData?e.hydrationData.errors:null;if(We){let Je=y.findIndex(lt=>We[lt.route.id]!==void 0);C=y.slice(0,Je+1).every(lt=>!w9(lt.route,ze,We))}else C=y.every(Je=>!w9(Je.route,ze,We))}else{C=!1,y=[];let ze=Tr(null,o,e.history.location.pathname);ze.active&&ze.matches&&(O=!0,y=ze.matches)}let w,E={historyAction:e.history.action,location:e.history.location,matches:y,initialized:C,navigation:qT,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||x,fetchers:new Map,blockers:new Map},T="POP",P=!1,L,N=!1,B=new Map,j=null,A=!1,H=!1,k=new Set,Q=new Map,V=0,I=-1,q=new Map,M=new Set,z=new Map,G=new Map,K=new Set,te=new Map,ae,ie=null;function Se(){if(f=e.history.listen(({action:ze,location:We,delta:Je})=>{if(ae){ae(),ae=void 0;return}Wa(te.size===0||Je!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let lt=mt({currentLocation:E.location,nextLocation:We,historyAction:ze});if(lt&&Je!=null){let St=new Promise(Ut=>{ae=Ut});e.history.go(Je*-1),ct(lt,{state:"blocked",location:We,proceed(){ct(lt,{state:"proceeding",proceed:void 0,reset:void 0,location:We}),St.then(()=>e.history.go(Je))},reset(){let Ut=new Map(E.blockers);Ut.set(lt,Z1),Oe({blockers:Ut})}});return}return X(ze,We)}),r){UNe(t,B);let ze=()=>VNe(t,B);t.addEventListener("pagehide",ze),j=()=>t.removeEventListener("pagehide",ze)}return E.initialized||X("POP",E.location,{initialHydration:!0}),w}function pe(){f&&f(),j&&j(),d.clear(),L&&L.abort(),E.fetchers.forEach((ze,We)=>bt(We)),E.blockers.forEach((ze,We)=>Ye(We))}function xe(ze){return d.add(ze),()=>d.delete(ze)}function Oe(ze,We={}){E={...E,...ze};let Je=[],lt=[];E.fetchers.forEach((St,Ut)=>{St.state==="idle"&&(K.has(Ut)?Je.push(Ut):lt.push(Ut))}),K.forEach(St=>{!E.fetchers.has(St)&&!Q.has(St)&&Je.push(St)}),[...d].forEach(St=>St(E,{deletedFetchers:Je,viewTransitionOpts:We.viewTransitionOpts,flushSync:We.flushSync===!0})),Je.forEach(St=>bt(St)),lt.forEach(St=>E.fetchers.delete(St))}function me(ze,We,{flushSync:Je}={}){var ar,Ar;let lt=E.actionData!=null&&E.navigation.formMethod!=null&&Gc(E.navigation.formMethod)&&E.navigation.state==="loading"&&((ar=ze.state)==null?void 0:ar._isRedirect)!==!0,St;We.actionData?Object.keys(We.actionData).length>0?St=We.actionData:St=null:lt?St=E.actionData:St=null;let Ut=We.loaderData?nH(E.loaderData,We.loaderData,We.matches||[],We.errors):E.loaderData,Jt=E.blockers;Jt.size>0&&(Jt=new Map(Jt),Jt.forEach((cr,Fr)=>Jt.set(Fr,Z1)));let Rt=P===!0||E.navigation.formMethod!=null&&Gc(E.navigation.formMethod)&&((Ar=ze.state)==null?void 0:Ar._isRedirect)!==!0;s&&(o=s,s=void 0),A||T==="POP"||(T==="PUSH"?e.history.push(ze,ze.state):T==="REPLACE"&&e.history.replace(ze,ze.state));let Zt;if(T==="POP"){let cr=B.get(E.location.pathname);cr&&cr.has(ze.pathname)?Zt={currentLocation:E.location,nextLocation:ze}:B.has(ze.pathname)&&(Zt={currentLocation:ze,nextLocation:E.location})}else if(N){let cr=B.get(E.location.pathname);cr?cr.add(ze.pathname):(cr=new Set([ze.pathname]),B.set(E.location.pathname,cr)),Zt={currentLocation:E.location,nextLocation:ze}}Oe({...We,actionData:St,loaderData:Ut,historyAction:T,location:ze,initialized:!0,navigation:qT,revalidation:"idle",restoreScrollPosition:pr(ze,We.matches||E.matches),preventScrollReset:Rt,blockers:Jt},{viewTransitionOpts:Zt,flushSync:Je===!0}),T="POP",P=!1,N=!1,A=!1,H=!1,ie==null||ie.resolve(),ie=null}async function ne(ze,We){if(typeof ze=="number"){e.history.go(ze);return}let Je=S9(E.location,E.matches,u,ze,We==null?void 0:We.fromRouteId,We==null?void 0:We.relative),{path:lt,submission:St,error:Ut}=KK(!1,Je,We),Jt=E.location,Rt=wS(E.location,lt,We&&We.state);Rt={...Rt,...e.history.encodeLocation(Rt)};let Zt=We&&We.replace!=null?We.replace:void 0,ar="PUSH";Zt===!0?ar="REPLACE":Zt===!1||St!=null&&Gc(St.formMethod)&&St.formAction===E.location.pathname+E.location.search&&(ar="REPLACE");let Ar=We&&"preventScrollReset"in We?We.preventScrollReset===!0:void 0,cr=(We&&We.flushSync)===!0,Fr=mt({currentLocation:Jt,nextLocation:Rt,historyAction:ar});if(Fr){ct(Fr,{state:"blocked",location:Rt,proceed(){ct(Fr,{state:"proceeding",proceed:void 0,reset:void 0,location:Rt}),ne(ze,We)},reset(){let hn=new Map(E.blockers);hn.set(Fr,Z1),Oe({blockers:hn})}});return}await X(ar,Rt,{submission:St,pendingError:Ut,preventScrollReset:Ar,replace:We&&We.replace,enableViewTransition:We&&We.viewTransition,flushSync:cr})}function se(){ie||(ie=jNe()),rt(),Oe({revalidation:"loading"});let ze=ie.promise;return E.navigation.state==="submitting"?ze:E.navigation.state==="idle"?(X(E.historyAction,E.location,{startUninterruptedRevalidation:!0}),ze):(X(T||E.historyAction,E.navigation.location,{overrideNavigation:E.navigation,enableViewTransition:N===!0}),ze)}async function X(ze,We,Je){L&&L.abort(),L=null,T=ze,A=(Je&&Je.startUninterruptedRevalidation)===!0,Ht(E.location,E.matches),P=(Je&&Je.preventScrollReset)===!0,N=(Je&&Je.enableViewTransition)===!0;let lt=s||o,St=Je&&Je.overrideNavigation,Ut=Je!=null&&Je.initialHydration&&E.matches&&E.matches.length>0&&!O?E.matches:Ym(lt,We,u),Jt=(Je&&Je.flushSync)===!0;if(Ut&&E.initialized&&!H&&LNe(E.location,We)&&!(Je&&Je.submission&&Gc(Je.submission.formMethod))){me(We,{matches:Ut},{flushSync:Jt});return}let Rt=Tr(Ut,lt,We.pathname);if(Rt.active&&Rt.matches&&(Ut=Rt.matches),!Ut){let{error:Vi,notFoundMatches:_a,route:pn}=Nt(We.pathname);me(We,{matches:_a,loaderData:{},errors:{[pn.id]:Vi}},{flushSync:Jt});return}L=new AbortController;let Zt=K1(e.history,We,L.signal,Je&&Je.submission),ar=new WK(e.unstable_getContext?await e.unstable_getContext():void 0),Ar;if(Je&&Je.pendingError)Ar=[zv(Ut).route.id,{type:"error",error:Je.pendingError}];else if(Je&&Je.submission&&Gc(Je.submission.formMethod)){let Vi=await re(Zt,We,Je.submission,Ut,ar,Rt.active,Je&&Je.initialHydration===!0,{replace:Je.replace,flushSync:Jt});if(Vi.shortCircuited)return;if(Vi.pendingActionResult){let[_a,pn]=Vi.pendingActionResult;if(Yc(pn)&&ES(pn.error)&&pn.error.status===404){L=null,me(We,{matches:Vi.matches,loaderData:{},errors:{[_a]:pn.error}});return}}Ut=Vi.matches||Ut,Ar=Vi.pendingActionResult,St=UT(We,Je.submission),Jt=!1,Rt.active=!1,Zt=K1(e.history,Zt.url,Zt.signal)}let{shortCircuited:cr,matches:Fr,loaderData:hn,errors:di}=await he(Zt,We,Ut,ar,Rt.active,St,Je&&Je.submission,Je&&Je.fetcherSubmission,Je&&Je.replace,Je&&Je.initialHydration===!0,Jt,Ar);cr||(L=null,me(We,{matches:Fr||Ut,...iH(Ar),loaderData:hn,errors:di}))}async function re(ze,We,Je,lt,St,Ut,Jt,Rt={}){rt();let Zt=BNe(We,Je);if(Oe({navigation:Zt},{flushSync:Rt.flushSync===!0}),Ut){let cr=await Yr(lt,We.pathname,ze.signal);if(cr.type==="aborted")return{shortCircuited:!0};if(cr.type==="error"){let Fr=zv(cr.partialMatches).route.id;return{matches:cr.partialMatches,pendingActionResult:[Fr,{type:"error",error:cr.error}]}}else if(cr.matches)lt=cr.matches;else{let{notFoundMatches:Fr,error:hn,route:di}=Nt(We.pathname);return{matches:Fr,pendingActionResult:[di.id,{type:"error",error:hn}]}}}let ar,Ar=p_(lt,We);if(!Ar.route.action&&!Ar.route.lazy)ar={type:"error",error:Ff(405,{method:ze.method,pathname:We.pathname,routeId:Ar.route.id})};else{let cr=wb(i,a,ze,lt,Ar,Jt?[]:n,St),Fr=await ke(ze,cr,St,null);if(ar=Fr[Ar.route.id],!ar){for(let hn of lt)if(Fr[hn.route.id]){ar=Fr[hn.route.id];break}}if(ze.signal.aborted)return{shortCircuited:!0}}if(Kv(ar)){let cr;return Rt&&Rt.replace!=null?cr=Rt.replace:cr=eH(ar.response.headers.get("Location"),new URL(ze.url),u)===E.location.pathname+E.location.search,await Te(ze,ar,!0,{submission:Je,replace:cr}),{shortCircuited:!0}}if(Yc(ar)){let cr=zv(lt,Ar.route.id);return(Rt&&Rt.replace)!==!0&&(T="PUSH"),{matches:lt,pendingActionResult:[cr.route.id,ar]}}return{matches:lt,pendingActionResult:[Ar.route.id,ar]}}async function he(ze,We,Je,lt,St,Ut,Jt,Rt,Zt,ar,Ar,cr){let Fr=Ut||UT(We,Jt),hn=Jt||Rt||sH(Fr),di=!A&&!ar;if(St){if(di){let Sa=ge(cr);Oe({navigation:Fr,...Sa!==void 0?{actionData:Sa}:{}},{flushSync:Ar})}let gn=await Yr(Je,We.pathname,ze.signal);if(gn.type==="aborted")return{shortCircuited:!0};if(gn.type==="error"){let Sa=zv(gn.partialMatches).route.id;return{matches:gn.partialMatches,loaderData:{},errors:{[Sa]:gn.error}}}else if(gn.matches)Je=gn.matches;else{let{error:Sa,notFoundMatches:ma,route:La}=Nt(We.pathname);return{matches:ma,loaderData:{},errors:{[La.id]:Sa}}}}let Vi=s||o,{dsMatches:_a,revalidatingFetchers:pn}=HK(ze,lt,i,a,e.history,E,Je,hn,We,ar?[]:n,ar===!0,H,k,K,z,M,Vi,u,cr);if(I=++V,!e.dataStrategy&&!_a.some(gn=>gn.shouldLoad)&&pn.length===0){let gn=zt();return me(We,{matches:Je,loaderData:{},errors:cr&&Yc(cr[1])?{[cr[0]]:cr[1].error}:null,...iH(cr),...gn?{fetchers:new Map(E.fetchers)}:{}},{flushSync:Ar}),{shortCircuited:!0}}if(di){let gn={};if(!St){gn.navigation=Fr;let Sa=ge(cr);Sa!==void 0&&(gn.actionData=Sa)}pn.length>0&&(gn.fetchers=le(pn)),Oe(gn,{flushSync:Ar})}pn.forEach(gn=>{pt(gn.key),gn.controller&&Q.set(gn.key,gn.controller)});let bl=()=>pn.forEach(gn=>pt(gn.key));L&&L.signal.addEventListener("abort",bl);let{loaderResults:Ts,fetcherResults:Tu}=await Be(_a,pn,ze,lt);if(ze.signal.aborted)return{shortCircuited:!0};L&&L.signal.removeEventListener("abort",bl),pn.forEach(gn=>Q.delete(gn.key));let ir=j3(Ts);if(ir)return await Te(ze,ir.result,!0,{replace:Zt}),{shortCircuited:!0};if(ir=j3(Tu),ir)return M.add(ir.key),await Te(ze,ir.result,!0,{replace:Zt}),{shortCircuited:!0};let{loaderData:_o,errors:mn}=rH(E,Je,Ts,cr,pn,Tu);ar&&E.errors&&(mn={...E.errors,...mn});let Au=zt(),Uo=Gt(I),fu=Au||Uo||pn.length>0;return{matches:Je,loaderData:_o,errors:mn,...fu?{fetchers:new Map(E.fetchers)}:{}}}function ge(ze){if(ze&&!Yc(ze[1]))return{[ze[0]]:ze[1].data};if(E.actionData)return Object.keys(E.actionData).length===0?null:E.actionData}function le(ze){return ze.forEach(We=>{let Je=E.fetchers.get(We.key),lt=Sx(void 0,Je?Je.data:void 0);E.fetchers.set(We.key,lt)}),new Map(E.fetchers)}async function ve(ze,We,Je,lt){pt(ze);let St=(lt&&lt.flushSync)===!0,Ut=s||o,Jt=S9(E.location,E.matches,u,Je,We,lt==null?void 0:lt.relative),Rt=Ym(Ut,Jt,u),Zt=Tr(Rt,Ut,Jt);if(Zt.active&&Zt.matches&&(Rt=Zt.matches),!Rt){Ve(ze,We,Ff(404,{pathname:Jt}),{flushSync:St});return}let{path:ar,submission:Ar,error:cr}=KK(!0,Jt,lt);if(cr){Ve(ze,We,cr,{flushSync:St});return}let Fr=p_(Rt,ar),hn=new WK(e.unstable_getContext?await e.unstable_getContext():void 0),di=(lt&&lt.preventScrollReset)===!0;if(Ar&&Gc(Ar.formMethod)){await _e(ze,We,ar,Fr,Rt,hn,Zt.active,St,di,Ar);return}z.set(ze,{routeId:We,path:ar}),await De(ze,We,ar,Fr,Rt,hn,Zt.active,St,di,Ar)}async function _e(ze,We,Je,lt,St,Ut,Jt,Rt,Zt,ar){rt(),z.delete(ze);function Ar(Sr){if(!Sr.route.action&&!Sr.route.lazy){let ln=Ff(405,{method:ar.formMethod,pathname:Je,routeId:We});return Ve(ze,We,ln,{flushSync:Rt}),!0}return!1}if(!Jt&&Ar(lt))return;let cr=E.fetchers.get(ze);Le(ze,qNe(ar,cr),{flushSync:Rt});let Fr=new AbortController,hn=K1(e.history,Je,Fr.signal,ar);if(Jt){let Sr=await Yr(St,Je,hn.signal,ze);if(Sr.type==="aborted")return;if(Sr.type==="error"){Ve(ze,We,Sr.error,{flushSync:Rt});return}else if(Sr.matches){if(St=Sr.matches,lt=p_(St,Je),Ar(lt))return}else{Ve(ze,We,Ff(404,{pathname:Je}),{flushSync:Rt});return}}Q.set(ze,Fr);let di=V,Vi=wb(i,a,hn,St,lt,n,Ut),pn=(await ke(hn,Vi,Ut,ze))[lt.route.id];if(hn.signal.aborted){Q.get(ze)===Fr&&Q.delete(ze);return}if(K.has(ze)){if(Kv(pn)||Yc(pn)){Le(ze,zm(void 0));return}}else{if(Kv(pn))if(Q.delete(ze),I>di){Le(ze,zm(void 0));return}else return M.add(ze),Le(ze,Sx(ar)),Te(hn,pn,!1,{fetcherSubmission:ar,preventScrollReset:Zt});if(Yc(pn)){Ve(ze,We,pn.error);return}}let bl=E.navigation.location||E.location,Ts=K1(e.history,bl,Fr.signal),Tu=s||o,ir=E.navigation.state!=="idle"?Ym(Tu,E.navigation.location,u):E.matches;xn(ir,"Didn't find any matches after fetcher action");let _o=++V;q.set(ze,_o);let mn=Sx(ar,pn.data);E.fetchers.set(ze,mn);let{dsMatches:Au,revalidatingFetchers:Uo}=HK(Ts,Ut,i,a,e.history,E,ir,ar,bl,n,!1,H,k,K,z,M,Tu,u,[lt.route.id,pn]);Uo.filter(Sr=>Sr.key!==ze).forEach(Sr=>{let ln=Sr.key,ji=E.fetchers.get(ln),cn=Sx(void 0,ji?ji.data:void 0);E.fetchers.set(ln,cn),pt(ln),Sr.controller&&Q.set(ln,Sr.controller)}),Oe({fetchers:new Map(E.fetchers)});let fu=()=>Uo.forEach(Sr=>pt(Sr.key));Fr.signal.addEventListener("abort",fu);let{loaderResults:gn,fetcherResults:Sa}=await Be(Au,Uo,Ts,Ut);if(Fr.signal.aborted)return;Fr.signal.removeEventListener("abort",fu),q.delete(ze),Q.delete(ze),Uo.forEach(Sr=>Q.delete(Sr.key));let ma=j3(gn);if(ma)return Te(Ts,ma.result,!1,{preventScrollReset:Zt});if(ma=j3(Sa),ma)return M.add(ma.key),Te(Ts,ma.result,!1,{preventScrollReset:Zt});let{loaderData:La,errors:Br}=rH(E,ir,gn,void 0,Uo,Sa);if(E.fetchers.has(ze)){let Sr=zm(pn.data);E.fetchers.set(ze,Sr)}Gt(_o),E.navigation.state==="loading"&&_o>I?(xn(T,"Expected pending action"),L&&L.abort(),me(E.navigation.location,{matches:ir,loaderData:La,errors:Br,fetchers:new Map(E.fetchers)})):(Oe({errors:Br,loaderData:nH(E.loaderData,La,ir,Br),fetchers:new Map(E.fetchers)}),H=!1)}async function De(ze,We,Je,lt,St,Ut,Jt,Rt,Zt,ar){let Ar=E.fetchers.get(ze);Le(ze,Sx(ar,Ar?Ar.data:void 0),{flushSync:Rt});let cr=new AbortController,Fr=K1(e.history,Je,cr.signal);if(Jt){let pn=await Yr(St,Je,Fr.signal,ze);if(pn.type==="aborted")return;if(pn.type==="error"){Ve(ze,We,pn.error,{flushSync:Rt});return}else if(pn.matches)St=pn.matches,lt=p_(St,Je);else{Ve(ze,We,Ff(404,{pathname:Je}),{flushSync:Rt});return}}Q.set(ze,cr);let hn=V,di=wb(i,a,Fr,St,lt,n,Ut),_a=(await ke(Fr,di,Ut,ze))[lt.route.id];if(Q.get(ze)===cr&&Q.delete(ze),!Fr.signal.aborted){if(K.has(ze)){Le(ze,zm(void 0));return}if(Kv(_a))if(I>hn){Le(ze,zm(void 0));return}else{M.add(ze),await Te(Fr,_a,!1,{preventScrollReset:Zt});return}if(Yc(_a)){Ve(ze,We,_a.error);return}Le(ze,zm(_a.data))}}async function Te(ze,We,Je,{submission:lt,fetcherSubmission:St,preventScrollReset:Ut,replace:Jt}={}){We.response.headers.has("X-Remix-Revalidate")&&(H=!0);let Rt=We.response.headers.get("Location");xn(Rt,"Expected a Location header on the redirect Response"),Rt=eH(Rt,new URL(ze.url),u);let Zt=wS(E.location,Rt,{_isRedirect:!0});if(r){let di=!1;if(We.response.headers.has("X-Remix-Reload-Document"))di=!0;else if(kL.test(Rt)){const Vi=e.history.createURL(Rt);di=Vi.origin!==t.location.origin||mc(Vi.pathname,u)==null}if(di){Jt?t.location.replace(Rt):t.location.assign(Rt);return}}L=null;let ar=Jt===!0||We.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:Ar,formAction:cr,formEncType:Fr}=E.navigation;!lt&&!St&&Ar&&cr&&Fr&&(lt=sH(E.navigation));let hn=lt||St;if(wNe.has(We.response.status)&&hn&&Gc(hn.formMethod))await X(ar,Zt,{submission:{...hn,formAction:Rt},preventScrollReset:Ut||P,enableViewTransition:Je?N:void 0});else{let di=UT(Zt,lt);await X(ar,Zt,{overrideNavigation:di,fetcherSubmission:St,preventScrollReset:Ut||P,enableViewTransition:Je?N:void 0})}}async function ke(ze,We,Je,lt){let St,Ut={};try{St=await ANe(l,ze,We,lt,Je,!1)}catch(Jt){return We.filter(Rt=>Rt.shouldLoad).forEach(Rt=>{Ut[Rt.route.id]={type:"error",error:Jt}}),Ut}for(let[Jt,Rt]of Object.entries(St))if(zNe(Rt)){let Zt=Rt.result;Ut[Jt]={type:"redirect",response:MNe(Zt,ze,Jt,We,u)}}else Ut[Jt]=await INe(Rt);return Ut}async function Be(ze,We,Je,lt){let St=ke(Je,ze,lt,null),Ut=Promise.all(We.map(async Zt=>{if(Zt.matches&&Zt.match&&Zt.request&&Zt.controller){let Ar=(await ke(Zt.request,Zt.matches,lt,Zt.key))[Zt.match.route.id];return{[Zt.key]:Ar}}else return Promise.resolve({[Zt.key]:{type:"error",error:Ff(404,{pathname:Zt.path})}})})),Jt=await St,Rt=(await Ut).reduce((Zt,ar)=>Object.assign(Zt,ar),{});return{loaderResults:Jt,fetcherResults:Rt}}function rt(){H=!0,z.forEach((ze,We)=>{Q.has(We)&&k.add(We),pt(We)})}function Le(ze,We,Je={}){E.fetchers.set(ze,We),Oe({fetchers:new Map(E.fetchers)},{flushSync:(Je&&Je.flushSync)===!0})}function Ve(ze,We,Je,lt={}){let St=zv(E.matches,We);bt(ze),Oe({errors:{[St.route.id]:Je},fetchers:new Map(E.fetchers)},{flushSync:(lt&&lt.flushSync)===!0})}function at(ze){return G.set(ze,(G.get(ze)||0)+1),K.has(ze)&&K.delete(ze),E.fetchers.get(ze)||ENe}function bt(ze){let We=E.fetchers.get(ze);Q.has(ze)&&!(We&&We.state==="loading"&&q.has(ze))&&pt(ze),z.delete(ze),q.delete(ze),M.delete(ze),K.delete(ze),k.delete(ze),E.fetchers.delete(ze)}function _t(ze){let We=(G.get(ze)||0)-1;We<=0?(G.delete(ze),K.add(ze)):G.set(ze,We),Oe({fetchers:new Map(E.fetchers)})}function pt(ze){let We=Q.get(ze);We&&(We.abort(),Q.delete(ze))}function Mt(ze){for(let We of ze){let Je=at(We),lt=zm(Je.data);E.fetchers.set(We,lt)}}function zt(){let ze=[],We=!1;for(let Je of M){let lt=E.fetchers.get(Je);xn(lt,`Expected fetcher: ${Je}`),lt.state==="loading"&&(M.delete(Je),ze.push(Je),We=!0)}return Mt(ze),We}function Gt(ze){let We=[];for(let[Je,lt]of q)if(lt<ze){let St=E.fetchers.get(Je);xn(St,`Expected fetcher: ${Je}`),St.state==="loading"&&(pt(Je),q.delete(Je),We.push(Je))}return Mt(We),We.length>0}function Ie(ze,We){let Je=E.blockers.get(ze)||Z1;return te.get(ze)!==We&&te.set(ze,We),Je}function Ye(ze){E.blockers.delete(ze),te.delete(ze)}function ct(ze,We){let Je=E.blockers.get(ze)||Z1;xn(Je.state==="unblocked"&&We.state==="blocked"||Je.state==="blocked"&&We.state==="blocked"||Je.state==="blocked"&&We.state==="proceeding"||Je.state==="blocked"&&We.state==="unblocked"||Je.state==="proceeding"&&We.state==="unblocked",`Invalid blocker state transition: ${Je.state} -> ${We.state}`);let lt=new Map(E.blockers);lt.set(ze,We),Oe({blockers:lt})}function mt({currentLocation:ze,nextLocation:We,historyAction:Je}){if(te.size===0)return;te.size>1&&Wa(!1,"A router only supports one blocker at a time");let lt=Array.from(te.entries()),[St,Ut]=lt[lt.length-1],Jt=E.blockers.get(St);if(!(Jt&&Jt.state==="proceeding")&&Ut({currentLocation:ze,nextLocation:We,historyAction:Je}))return St}function Nt(ze){let We=Ff(404,{pathname:ze}),Je=s||o,{matches:lt,route:St}=aH(Je);return{notFoundMatches:lt,route:St,error:We}}function qt(ze,We,Je){if(h=ze,m=We,g=Je||null,!v&&E.navigation===qT){v=!0;let lt=pr(E.location,E.matches);lt!=null&&Oe({restoreScrollPosition:lt})}return()=>{h=null,m=null,g=null}}function Dt(ze,We){return g&&g(ze,We.map(lt=>Uge(lt,E.loaderData)))||ze.key}function Ht(ze,We){if(h&&m){let Je=Dt(ze,We);h[Je]=m()}}function pr(ze,We){if(h){let Je=Dt(ze,We),lt=h[Je];if(typeof lt=="number")return lt}return null}function Tr(ze,We,Je){if(e.patchRoutesOnNavigation)if(ze){if(Object.keys(ze[0].params).length>0)return{active:!0,matches:BE(We,Je,u,!0)}}else return{active:!0,matches:BE(We,Je,u,!0)||[]};return{active:!1,matches:null}}async function Yr(ze,We,Je,lt){if(!e.patchRoutesOnNavigation)return{type:"success",matches:ze};let St=ze;for(;;){let Ut=s==null,Jt=s||o,Rt=a;try{await e.patchRoutesOnNavigation({signal:Je,path:We,matches:St,fetcherKey:lt,patch:(Ar,cr)=>{Je.aborted||YK(Ar,cr,Jt,Rt,i)}})}catch(Ar){return{type:"error",error:Ar,partialMatches:St}}finally{Ut&&!Je.aborted&&(o=[...o])}if(Je.aborted)return{type:"aborted"};let Zt=Ym(Jt,We,u);if(Zt)return{type:"success",matches:Zt};let ar=BE(Jt,We,u,!0);if(!ar||St.length===ar.length&&St.every((Ar,cr)=>Ar.route.id===ar[cr].route.id))return{type:"success",matches:null};St=ar}}function Ln(ze){a={},s=X2(ze,i,void 0,a)}function Rn(ze,We){let Je=s==null;YK(ze,We,s||o,a,i),Je&&(o=[...o],Oe({}))}return w={get basename(){return u},get future(){return c},get state(){return E},get routes(){return o},get window(){return t},initialize:Se,subscribe:xe,enableScrollRestoration:qt,navigate:ne,fetch:ve,revalidate:se,createHref:ze=>e.history.createHref(ze),encodeLocation:ze=>e.history.encodeLocation(ze),getFetcher:at,deleteFetcher:_t,dispose:pe,getBlocker:Ie,deleteBlocker:Ye,patchRoutes:Rn,_internalFetchControllers:Q,_internalSetRoutes:Ln},w}function PNe(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function S9(e,t,r,n,i,a){let o,s;if(i){o=[];for(let l of t)if(o.push(l),l.route.id===i){s=l;break}}else o=t,s=t[t.length-1];let u=J$(n||".",X$(o),mc(e.pathname,r)||e.pathname,a==="path");if(n==null&&(u.search=e.search,u.hash=e.hash),(n==null||n===""||n===".")&&s){let l=TL(u.search);if(s.route.index&&!l)u.search=u.search?u.search.replace(/^\?/,"?index&"):"?index";else if(!s.route.index&&l){let c=new URLSearchParams(u.search),f=c.getAll("index");c.delete("index"),f.filter(h=>h).forEach(h=>c.append("index",h));let d=c.toString();u.search=d?`?${d}`:""}}return r!=="/"&&(u.pathname=u.pathname==="/"?r:dp([r,u.pathname])),Sg(u)}function KK(e,t,r){if(!r||!PNe(r))return{path:t};if(r.formMethod&&!QNe(r.formMethod))return{path:t,error:Ff(405,{method:r.formMethod})};let n=()=>({path:t,error:Ff(400,{type:"invalid-body"})}),a=(r.formMethod||"get").toUpperCase(),o=tve(t);if(r.body!==void 0){if(r.formEncType==="text/plain"){if(!Gc(a))return n();let f=typeof r.body=="string"?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((d,[h,g])=>`${d}${h}=${g}
585
- `,""):String(r.body);return{path:t,submission:{formMethod:a,formAction:o,formEncType:r.formEncType,formData:void 0,json:void 0,text:f}}}else if(r.formEncType==="application/json"){if(!Gc(a))return n();try{let f=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:t,submission:{formMethod:a,formAction:o,formEncType:r.formEncType,formData:void 0,json:f,text:void 0}}}catch{return n()}}}xn(typeof FormData=="function","FormData is not available in this environment");let s,u;if(r.formData)s=$9(r.formData),u=r.formData;else if(r.body instanceof FormData)s=$9(r.body),u=r.body;else if(r.body instanceof URLSearchParams)s=r.body,u=tH(s);else if(r.body==null)s=new URLSearchParams,u=new FormData;else try{s=new URLSearchParams(r.body),u=tH(s)}catch{return n()}let l={formMethod:a,formAction:o,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:u,json:void 0,text:void 0};if(Gc(l.formMethod))return{path:t,submission:l};let c=Bg(t);return e&&c.search&&TL(c.search)&&s.append("index",""),c.search=`?${s}`,{path:Sg(c),submission:l}}function HK(e,t,r,n,i,a,o,s,u,l,c,f,d,h,g,m,v,y,O){var j;let x=O?Yc(O[1])?O[1].error:O[1].data:void 0,C=i.createURL(a.location),w=i.createURL(u),E;if(c&&a.errors){let A=Object.keys(a.errors)[0];E=o.findIndex(H=>H.route.id===A)}else if(O&&Yc(O[1])){let A=O[0];E=o.findIndex(H=>H.route.id===A)-1}let T=O?O[1].statusCode:void 0,P=T&&T>=400,L={currentUrl:C,currentParams:((j=a.matches[0])==null?void 0:j.params)||{},nextUrl:w,nextParams:o[0].params,...s,actionResult:x,actionStatus:T},N=o.map((A,H)=>{let{route:k}=A,Q=null;if(E!=null&&H>E?Q=!1:k.lazy?Q=!0:k.loader==null?Q=!1:c?Q=w9(k,a.loaderData,a.errors):DNe(a.loaderData,a.matches[H],A)&&(Q=!0),Q!==null)return E9(r,n,e,A,l,t,Q);let V=P?!1:f||C.pathname+C.search===w.pathname+w.search||C.search!==w.search||RNe(a.matches[H],A),I={...L,defaultShouldRevalidate:V},q=t4(A,I);return E9(r,n,e,A,l,t,q,I)}),B=[];return g.forEach((A,H)=>{if(c||!o.some(z=>z.route.id===A.routeId)||h.has(H))return;let k=Ym(v,A.path,y);if(!k){B.push({key:H,routeId:A.routeId,path:A.path,matches:null,match:null,request:null,controller:null});return}if(m.has(H))return;let Q=a.fetchers.get(H),V=p_(k,A.path),I=new AbortController,q=K1(i,A.path,I.signal),M=null;if(d.has(H))d.delete(H),M=wb(r,n,q,k,V,l,t);else if(Q&&Q.state!=="idle"&&Q.data===void 0)f&&(M=wb(r,n,q,k,V,l,t));else{let z={...L,defaultShouldRevalidate:P?!1:f};t4(V,z)&&(M=wb(r,n,q,k,V,l,t,z))}M&&B.push({key:H,routeId:A.routeId,path:A.path,matches:M,match:V,request:q,controller:I})}),{dsMatches:N,revalidatingFetchers:B}}function w9(e,t,r){if(e.lazy)return!0;if(!e.loader)return!1;let n=t!=null&&t[e.id]!==void 0,i=r!=null&&r[e.id]!==void 0;return!n&&i?!1:typeof e.loader=="function"&&e.loader.hydrate===!0?!0:!n&&!i}function DNe(e,t,r){let n=!t||r.route.id!==t.route.id,i=!e.hasOwnProperty(r.route.id);return n||i}function RNe(e,t){let r=e.route.path;return e.pathname!==t.pathname||r!=null&&r.endsWith("*")&&e.params["*"]!==t.params["*"]}function t4(e,t){if(e.route.shouldRevalidate){let r=e.route.shouldRevalidate(t);if(typeof r=="boolean")return r}return t.defaultShouldRevalidate}function YK(e,t,r,n,i){let a;if(e){let u=n[e];xn(u,`No route found to patch children into: routeId = ${e}`),u.children||(u.children=[]),a=u.children}else a=r;let o=t.filter(u=>!a.some(l=>Yge(u,l))),s=X2(o,i,[e||"_","patch",String((a==null?void 0:a.length)||"0")],n);a.push(...s)}function Yge(e,t){return"id"in e&&"id"in t&&e.id===t.id?!0:e.index===t.index&&e.path===t.path&&e.caseSensitive===t.caseSensitive?(!e.children||e.children.length===0)&&(!t.children||t.children.length===0)?!0:e.children.every((r,n)=>{var i;return(i=t.children)==null?void 0:i.some(a=>Yge(r,a))}):!1}var GK=new WeakMap,Gge=({key:e,route:t,manifest:r,mapRouteProperties:n})=>{let i=r[t.id];if(xn(i,"No route found in manifest"),!i.lazy||typeof i.lazy!="object")return;let a=i.lazy[e];if(!a)return;let o=GK.get(i);o||(o={},GK.set(i,o));let s=o[e];if(s)return s;let u=(async()=>{let l=JMe(e),f=i[e]!==void 0&&e!=="hasErrorBoundary";if(l)Wa(!l,"Route property "+e+" is not a supported lazy route property. This property will be ignored."),o[e]=Promise.resolve();else if(f)Wa(!1,`Route "${i.id}" has a static property "${e}" defined. The lazy property will be ignored.`);else{let d=await a();d!=null&&(Object.assign(i,{[e]:d}),Object.assign(i,n(i)))}typeof i.lazy=="object"&&(i.lazy[e]=void 0,Object.values(i.lazy).every(d=>d===void 0)&&(i.lazy=void 0))})();return o[e]=u,u},XK=new WeakMap;function kNe(e,t,r,n,i){let a=r[e.id];if(xn(a,"No route found in manifest"),!e.lazy)return{lazyRoutePromise:void 0,lazyHandlerPromise:void 0};if(typeof e.lazy=="function"){let c=XK.get(a);if(c)return{lazyRoutePromise:c,lazyHandlerPromise:c};let f=(async()=>{xn(typeof e.lazy=="function","No lazy route function found");let d=await e.lazy(),h={};for(let g in d){let m=d[g];if(m===void 0)continue;let v=tNe(g),O=a[g]!==void 0&&g!=="hasErrorBoundary";v?Wa(!v,"Route property "+g+" is not a supported property to be returned from a lazy route function. This property will be ignored."):O?Wa(!O,`Route "${a.id}" has a static property "${g}" defined but its lazy function is also returning a value for this property. The lazy route property "${g}" will be ignored.`):h[g]=m}Object.assign(a,h),Object.assign(a,{...n(a),lazy:void 0})})();return XK.set(a,f),f.catch(()=>{}),{lazyRoutePromise:f,lazyHandlerPromise:f}}let o=Object.keys(e.lazy),s=[],u;for(let c of o){if(i&&i.includes(c))continue;let f=Gge({key:c,route:e,manifest:r,mapRouteProperties:n});f&&(s.push(f),c===t&&(u=f))}let l=s.length>0?Promise.all(s).then(()=>{}):void 0;return l==null||l.catch(()=>{}),u==null||u.catch(()=>{}),{lazyRoutePromise:l,lazyHandlerPromise:u}}async function JK(e){let t=e.matches.filter(i=>i.shouldLoad),r={};return(await Promise.all(t.map(i=>i.resolve()))).forEach((i,a)=>{r[t[a].route.id]=i}),r}async function TNe(e){return e.matches.some(t=>t.route.unstable_middleware)?Xge(e,!1,()=>JK(e),(t,r)=>({[r]:{type:"error",result:t}})):JK(e)}async function Xge(e,t,r,n){let{matches:i,request:a,params:o,context:s}=e,u={handlerResult:void 0};try{let l=i.flatMap(f=>f.route.unstable_middleware?f.route.unstable_middleware.map(d=>[f.route.id,d]):[]),c=await Jge({request:a,params:o,context:s},l,t,u,r);return t?c:u.handlerResult}catch(l){if(!u.middlewareError)throw l;let c=await n(u.middlewareError.error,u.middlewareError.routeId);return u.handlerResult?Object.assign(u.handlerResult,c):c}}async function Jge(e,t,r,n,i,a=0){let{request:o}=e;if(o.signal.aborted)throw o.signal.reason?o.signal.reason:new Error(`Request aborted without an \`AbortSignal.reason\`: ${o.method} ${o.url}`);let s=t[a];if(!s)return n.handlerResult=await i(),n.handlerResult;let[u,l]=s,c=!1,f,d=async()=>{if(c)throw new Error("You may only call `next()` once per middleware");c=!0,await Jge(e,t,r,n,i,a+1)};try{let h=await l({request:e.request,params:e.params,context:e.context},d);return c?h===void 0?f:h:d()}catch(h){throw n.middlewareError?n.middlewareError.error!==h&&(n.middlewareError={routeId:u,error:h}):n.middlewareError={routeId:u,error:h},h}}function eve(e,t,r,n,i){let a=Gge({key:"unstable_middleware",route:n.route,manifest:t,mapRouteProperties:e}),o=kNe(n.route,Gc(r.method)?"action":"loader",t,e,i);return{middleware:a,route:o.lazyRoutePromise,handler:o.lazyHandlerPromise}}function E9(e,t,r,n,i,a,o,s=null){let u=!1,l=eve(e,t,r,n,i);return{...n,_lazyPromises:l,shouldLoad:o,unstable_shouldRevalidateArgs:s,unstable_shouldCallHandler(c){return u=!0,s?typeof c=="boolean"?t4(n,{...s,defaultShouldRevalidate:c}):t4(n,s):o},resolve(c){return u||o||c&&r.method==="GET"&&(n.route.lazy||n.route.loader)?FNe({request:r,match:n,lazyHandlerPromise:l==null?void 0:l.handler,lazyRoutePromise:l==null?void 0:l.route,handlerOverride:c,scopedContext:a}):Promise.resolve({type:"data",result:void 0})}}}function wb(e,t,r,n,i,a,o,s=null){return n.map(u=>u.route.id!==i.route.id?{...u,shouldLoad:!1,unstable_shouldRevalidateArgs:s,unstable_shouldCallHandler:()=>!1,_lazyPromises:eve(e,t,r,u,a),resolve:()=>Promise.resolve({type:"data",result:void 0})}:E9(e,t,r,u,a,o,!0,s))}async function ANe(e,t,r,n,i,a){r.some(l=>{var c;return(c=l._lazyPromises)==null?void 0:c.middleware})&&await Promise.all(r.map(l=>{var c;return(c=l._lazyPromises)==null?void 0:c.middleware}));let o={request:t,params:r[0].params,context:i,matches:r},u=await e({...o,fetcherKey:n,unstable_runClientMiddleware:l=>{let c=o;return Xge(c,!1,()=>l({...c,fetcherKey:n,unstable_runClientMiddleware:()=>{throw new Error("Cannot call `unstable_runClientMiddleware()` from within an `unstable_runClientMiddleware` handler")}}),(f,d)=>({[d]:{type:"error",result:f}}))}});try{await Promise.all(r.flatMap(l=>{var c,f;return[(c=l._lazyPromises)==null?void 0:c.handler,(f=l._lazyPromises)==null?void 0:f.route]}))}catch{}return u}async function FNe({request:e,match:t,lazyHandlerPromise:r,lazyRoutePromise:n,handlerOverride:i,scopedContext:a}){let o,s,u=Gc(e.method),l=u?"action":"loader",c=f=>{let d,h=new Promise((v,y)=>d=y);s=()=>d(),e.signal.addEventListener("abort",s);let g=v=>typeof f!="function"?Promise.reject(new Error(`You cannot call the handler for a route which defines a boolean "${l}" [routeId: ${t.route.id}]`)):f({request:e,params:t.params,context:a},...v!==void 0?[v]:[]),m=(async()=>{try{return{type:"data",result:await(i?i(y=>g(y)):g())}}catch(v){return{type:"error",result:v}}})();return Promise.race([m,h])};try{let f=u?t.route.action:t.route.loader;if(r||n)if(f){let d,[h]=await Promise.all([c(f).catch(g=>{d=g}),r,n]);if(d!==void 0)throw d;o=h}else{await r;let d=u?t.route.action:t.route.loader;if(d)[o]=await Promise.all([c(d),n]);else if(l==="action"){let h=new URL(e.url),g=h.pathname+h.search;throw Ff(405,{method:e.method,pathname:g,routeId:t.route.id})}else return{type:"data",result:void 0}}else if(f)o=await c(f);else{let d=new URL(e.url),h=d.pathname+d.search;throw Ff(404,{pathname:h})}}catch(f){return{type:"error",result:f}}finally{s&&e.signal.removeEventListener("abort",s)}return o}async function INe(e){var n,i,a,o,s,u;let{result:t,type:r}=e;if(rve(t)){let l;try{let c=t.headers.get("Content-Type");c&&/\bapplication\/json\b/.test(c)?t.body==null?l=null:l=await t.json():l=await t.text()}catch(c){return{type:"error",error:c}}return r==="error"?{type:"error",error:new e4(t.status,t.statusText,l),statusCode:t.status,headers:t.headers}:{type:"data",data:l,statusCode:t.status,headers:t.headers}}return r==="error"?oH(t)?t.data instanceof Error?{type:"error",error:t.data,statusCode:(n=t.init)==null?void 0:n.status,headers:(i=t.init)!=null&&i.headers?new Headers(t.init.headers):void 0}:{type:"error",error:new e4(((a=t.init)==null?void 0:a.status)||500,void 0,t.data),statusCode:ES(t)?t.status:void 0,headers:(o=t.init)!=null&&o.headers?new Headers(t.init.headers):void 0}:{type:"error",error:t,statusCode:ES(t)?t.status:void 0}:oH(t)?{type:"data",data:t.data,statusCode:(s=t.init)==null?void 0:s.status,headers:(u=t.init)!=null&&u.headers?new Headers(t.init.headers):void 0}:{type:"data",data:t}}function MNe(e,t,r,n,i){let a=e.headers.get("Location");if(xn(a,"Redirects returned/thrown from loaders/actions must have a Location header"),!kL.test(a)){let o=n.slice(0,n.findIndex(s=>s.route.id===r)+1);a=S9(new URL(t.url),o,i,a),e.headers.set("Location",a)}return e}function eH(e,t,r){if(kL.test(e)){let n=e,i=n.startsWith("//")?new URL(t.protocol+n):new URL(n),a=mc(i.pathname,r)!=null;if(i.origin===t.origin&&a)return i.pathname+i.search+i.hash}return e}function K1(e,t,r,n){let i=e.createURL(tve(t)).toString(),a={signal:r};if(n&&Gc(n.formMethod)){let{formMethod:o,formEncType:s}=n;a.method=o.toUpperCase(),s==="application/json"?(a.headers=new Headers({"Content-Type":s}),a.body=JSON.stringify(n.json)):s==="text/plain"?a.body=n.text:s==="application/x-www-form-urlencoded"&&n.formData?a.body=$9(n.formData):a.body=n.formData}return new Request(i,a)}function $9(e){let t=new URLSearchParams;for(let[r,n]of e.entries())t.append(r,typeof n=="string"?n:n.name);return t}function tH(e){let t=new FormData;for(let[r,n]of e.entries())t.append(r,n);return t}function NNe(e,t,r,n=!1,i=!1){let a={},o=null,s,u=!1,l={},c=r&&Yc(r[1])?r[1].error:void 0;return e.forEach(f=>{if(!(f.route.id in t))return;let d=f.route.id,h=t[d];if(xn(!Kv(h),"Cannot handle redirect results in processLoaderData"),Yc(h)){let g=h.error;if(c!==void 0&&(g=c,c=void 0),o=o||{},i)o[d]=g;else{let m=zv(e,d);o[m.route.id]==null&&(o[m.route.id]=g)}n||(a[d]=Hge),u||(u=!0,s=ES(h.error)?h.error.status:500),h.headers&&(l[d]=h.headers)}else a[d]=h.data,h.statusCode&&h.statusCode!==200&&!u&&(s=h.statusCode),h.headers&&(l[d]=h.headers)}),c!==void 0&&r&&(o={[r[0]]:c},a[r[0]]=void 0),{loaderData:a,errors:o,statusCode:s||200,loaderHeaders:l}}function rH(e,t,r,n,i,a){let{loaderData:o,errors:s}=NNe(t,r,n);return i.filter(u=>!u.matches||u.matches.some(l=>l.shouldLoad)).forEach(u=>{let{key:l,match:c,controller:f}=u,d=a[l];if(xn(d,"Did not find corresponding fetcher result"),!(f&&f.signal.aborted))if(Yc(d)){let h=zv(e.matches,c==null?void 0:c.route.id);s&&s[h.route.id]||(s={...s,[h.route.id]:d.error}),e.fetchers.delete(l)}else if(Kv(d))xn(!1,"Unhandled fetcher revalidation redirect");else{let h=zm(d.data);e.fetchers.set(l,h)}}),{loaderData:o,errors:s}}function nH(e,t,r,n){let i=Object.entries(t).filter(([,a])=>a!==Hge).reduce((a,[o,s])=>(a[o]=s,a),{});for(let a of r){let o=a.route.id;if(!t.hasOwnProperty(o)&&e.hasOwnProperty(o)&&a.route.loader&&(i[o]=e[o]),n&&n.hasOwnProperty(o))break}return i}function iH(e){return e?Yc(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function zv(e,t){return(t?e.slice(0,e.findIndex(n=>n.route.id===t)+1):[...e]).reverse().find(n=>n.route.hasErrorBoundary===!0)||e[0]}function aH(e){let t=e.length===1?e[0]:e.find(r=>r.index||!r.path||r.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function Ff(e,{pathname:t,routeId:r,method:n,type:i,message:a}={}){let o="Unknown Server Error",s="Unknown @remix-run/router error";return e===400?(o="Bad Request",n&&t&&r?s=`You made a ${n} request to "${t}" but did not provide a \`loader\` for route "${r}", so there is no way to handle the request.`:i==="invalid-body"&&(s="Unable to encode submission body")):e===403?(o="Forbidden",s=`Route "${r}" does not match URL "${t}"`):e===404?(o="Not Found",s=`No route matches URL "${t}"`):e===405&&(o="Method Not Allowed",n&&t&&r?s=`You made a ${n.toUpperCase()} request to "${t}" but did not provide an \`action\` for route "${r}", so there is no way to handle the request.`:n&&(s=`Invalid request method "${n.toUpperCase()}"`)),new e4(e||500,o,new Error(s),!0)}function j3(e){let t=Object.entries(e);for(let r=t.length-1;r>=0;r--){let[n,i]=t[r];if(Kv(i))return{key:n,result:i}}}function tve(e){let t=typeof e=="string"?Bg(e):e;return Sg({...t,hash:""})}function LNe(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function zNe(e){return rve(e.result)&&SNe.has(e.result.status)}function Yc(e){return e.type==="error"}function Kv(e){return(e&&e.type)==="redirect"}function oH(e){return typeof e=="object"&&e!=null&&"type"in e&&"data"in e&&"init"in e&&e.type==="DataWithResponseInit"}function rve(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function QNe(e){return _Ne.has(e.toUpperCase())}function Gc(e){return ONe.has(e.toUpperCase())}function TL(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function p_(e,t){let r=typeof t=="string"?Bg(t).search:t.search;if(e[e.length-1].route.index&&TL(r||""))return e[e.length-1];let n=Wge(e);return n[n.length-1]}function sH(e){let{formMethod:t,formAction:r,formEncType:n,text:i,formData:a,json:o}=e;if(!(!t||!r||!n)){if(i!=null)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:void 0,text:i};if(a!=null)return{formMethod:t,formAction:r,formEncType:n,formData:a,json:void 0,text:void 0};if(o!==void 0)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:o,text:void 0}}}function UT(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function BNe(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function Sx(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function qNe(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function zm(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function UNe(e,t){try{let r=e.sessionStorage.getItem(Kge);if(r){let n=JSON.parse(r);for(let[i,a]of Object.entries(n||{}))a&&Array.isArray(a)&&t.set(i,new Set(a||[]))}}catch{}}function VNe(e,t){if(t.size>0){let r={};for(let[n,i]of t)r[n]=[...i];try{e.sessionStorage.setItem(Kge,JSON.stringify(r))}catch(n){Wa(!1,`Failed to save applied view transitions in sessionStorage (${n}).`)}}}function jNe(){let e,t,r=new Promise((n,i)=>{e=async a=>{n(a);try{await r}catch{}},t=async a=>{i(a);try{await r}catch{}}});return{promise:r,resolve:e,reject:t}}var My=F.createContext(null);My.displayName="DataRouter";var hw=F.createContext(null);hw.displayName="DataRouterState";var AL=F.createContext({isTransitioning:!1});AL.displayName="ViewTransition";var nve=F.createContext(new Map);nve.displayName="Fetchers";var WNe=F.createContext(null);WNe.displayName="Await";var hh=F.createContext(null);hh.displayName="Navigation";var eC=F.createContext(null);eC.displayName="Location";var nd=F.createContext({outlet:null,matches:[],isDataRoute:!1});nd.displayName="Route";var FL=F.createContext(null);FL.displayName="RouteError";function ZNe(e,{relative:t}={}){xn(yO(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:n}=F.useContext(hh),{hash:i,pathname:a,search:o}=pw(e,{relative:t}),s=a;return r!=="/"&&(s=a==="/"?r:dp([r,a])),n.createHref({pathname:s,search:o,hash:i})}function yO(){return F.useContext(eC)!=null}function em(){return xn(yO(),"useLocation() may be used only in the context of a <Router> component."),F.useContext(eC).location}var ive="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function ave(e){F.useContext(hh).static||F.useLayoutEffect(e)}function IL(){let{isDataRoute:e}=F.useContext(nd);return e?sLe():KNe()}function KNe(){xn(yO(),"useNavigate() may be used only in the context of a <Router> component.");let e=F.useContext(My),{basename:t,navigator:r}=F.useContext(hh),{matches:n}=F.useContext(nd),{pathname:i}=em(),a=JSON.stringify(X$(n)),o=F.useRef(!1);return ave(()=>{o.current=!0}),F.useCallback((u,l={})=>{if(Wa(o.current,ive),!o.current)return;if(typeof u=="number"){r.go(u);return}let c=J$(u,JSON.parse(a),i,l.relative==="path");e==null&&t!=="/"&&(c.pathname=c.pathname==="/"?t:dp([t,c.pathname])),(l.replace?r.replace:r.push)(c,l.state,l)},[t,r,a,i,e])}var HNe=F.createContext(null);function YNe(e){let t=F.useContext(nd).outlet;return t&&F.createElement(HNe.Provider,{value:e},t)}function Ppt(){let{matches:e}=F.useContext(nd),t=e[e.length-1];return t?t.params:{}}function pw(e,{relative:t}={}){let{matches:r}=F.useContext(nd),{pathname:n}=em(),i=JSON.stringify(X$(r));return F.useMemo(()=>J$(e,JSON.parse(i),n,t==="path"),[e,i,n,t])}function GNe(e,t,r,n){xn(yO(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:i,static:a}=F.useContext(hh),{matches:o}=F.useContext(nd),s=o[o.length-1],u=s?s.params:{},l=s?s.pathname:"/",c=s?s.pathnameBase:"/",f=s&&s.route;{let O=f&&f.path||"";ove(l,!f||O.endsWith("*")||O.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${l}" (under <Route path="${O}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
584
+ */var qge=e=>{throw TypeError(e)},KMe=(e,t,r)=>t.has(e)||qge("Cannot "+r),QT=(e,t,r)=>(KMe(e,t,"read from private field"),r?r.call(e):t.get(e)),HMe=(e,t,r)=>t.has(e)?qge("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),VK="popstate";function YMe(e={}){function t(n,i){let{pathname:a,search:o,hash:s}=n.location;return wS("",{pathname:a,search:o,hash:s},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function r(n,i){return typeof i=="string"?i:Sg(i)}return XMe(t,r,null,e)}function xn(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Wa(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function GMe(){return Math.random().toString(36).substring(2,10)}function jK(e,t){return{usr:e.state,key:e.key,idx:t}}function wS(e,t,r=null,n){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?Bg(t):t,state:r,key:t&&t.key||n||GMe()}}function Sg({pathname:e="/",search:t="",hash:r=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function Bg(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substring(r),e=e.substring(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substring(n),e=e.substring(0,n)),e&&(t.pathname=e)}return t}function XMe(e,t,r,n={}){let{window:i=document.defaultView,v5Compat:a=!1}=n,o=i.history,s="POP",u=null,l=c();l==null&&(l=0,o.replaceState({...o.state,idx:l},""));function c(){return(o.state||{idx:null}).idx}function f(){s="POP";let v=c(),y=v==null?null:v-l;l=v,u&&u({action:s,location:m.location,delta:y})}function d(v,y){s="PUSH";let O=wS(m.location,v,y);l=c()+1;let x=jK(O,l),C=m.createHref(O);try{o.pushState(x,"",C)}catch(w){if(w instanceof DOMException&&w.name==="DataCloneError")throw w;i.location.assign(C)}a&&u&&u({action:s,location:m.location,delta:1})}function h(v,y){s="REPLACE";let O=wS(m.location,v,y);l=c();let x=jK(O,l),C=m.createHref(O);o.replaceState(x,"",C),a&&u&&u({action:s,location:m.location,delta:0})}function g(v){let y=i.location.origin!=="null"?i.location.origin:i.location.href,O=typeof v=="string"?v:Sg(v);return O=O.replace(/ $/,"%20"),xn(y,`No window.location.(origin|href) available to create URL for href: ${O}`),new URL(O,y)}let m={get action(){return s},get location(){return e(i,o)},listen(v){if(u)throw new Error("A history only accepts one active listener");return i.addEventListener(VK,f),u=v,()=>{i.removeEventListener(VK,f),u=null}},createHref(v){return t(i,v)},createURL:g,encodeLocation(v){let y=g(v);return{pathname:y.pathname,search:y.search,hash:y.hash}},push:d,replace:h,go(v){return o.go(v)}};return m}var h_,WK=class{constructor(e){if(HMe(this,h_,new Map),e)for(let[t,r]of e)this.set(t,r)}get(e){if(QT(this,h_).has(e))return QT(this,h_).get(e);if(e.defaultValue!==void 0)return e.defaultValue;throw new Error("No value found for context")}set(e,t){QT(this,h_).set(e,t)}};h_=new WeakMap;var JMe=new Set(["lazy","caseSensitive","path","id","index","children"]);function eNe(e){return JMe.has(e)}var tNe=new Set(["lazy","caseSensitive","path","id","index","unstable_middleware","children"]);function rNe(e){return tNe.has(e)}function nNe(e){return e.index===!0}function X2(e,t,r=[],n={}){return e.map((i,a)=>{let o=[...r,String(a)],s=typeof i.id=="string"?i.id:o.join("-");if(xn(i.index!==!0||!i.children,"Cannot specify children on an index route"),xn(!n[s],`Found a route id collision on id "${s}". Route id's must be globally unique within Data Router usages`),nNe(i)){let u={...i,...t(i),id:s};return n[s]=u,u}else{let u={...i,...t(i),id:s,children:void 0};return n[s]=u,i.children&&(u.children=X2(i.children,t,o,n)),u}})}function Ym(e,t,r="/"){return BE(e,t,r,!1)}function BE(e,t,r,n){let i=typeof t=="string"?Bg(t):t,a=mc(i.pathname||"/",r);if(a==null)return null;let o=Vge(e);iNe(o);let s=null;for(let u=0;s==null&&u<o.length;++u){let l=mNe(a);s=hNe(o[u],l,n)}return s}function Uge(e,t){let{route:r,pathname:n,params:i}=e;return{id:r.id,pathname:n,params:i,data:t[r.id],handle:r.handle}}function Vge(e,t=[],r=[],n=""){let i=(a,o,s)=>{let u={relativePath:s===void 0?a.path||"":s,caseSensitive:a.caseSensitive===!0,childrenIndex:o,route:a};u.relativePath.startsWith("/")&&(xn(u.relativePath.startsWith(n),`Absolute route path "${u.relativePath}" nested under path "${n}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),u.relativePath=u.relativePath.slice(n.length));let l=dp([n,u.relativePath]),c=r.concat(u);a.children&&a.children.length>0&&(xn(a.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${l}".`),Vge(a.children,t,c,l)),!(a.path==null&&!a.index)&&t.push({path:l,score:fNe(l,a.index),routesMeta:c})};return e.forEach((a,o)=>{var s;if(a.path===""||!((s=a.path)!=null&&s.includes("?")))i(a,o);else for(let u of jge(a.path))i(a,o,u)}),t}function jge(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,i=r.endsWith("?"),a=r.replace(/\?$/,"");if(n.length===0)return i?[a,""]:[a];let o=jge(n.join("/")),s=[];return s.push(...o.map(u=>u===""?a:[a,u].join("/"))),i&&s.push(...o),s.map(u=>e.startsWith("/")&&u===""?"/":u)}function iNe(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:dNe(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}var aNe=/^:[\w-]+$/,oNe=3,sNe=2,uNe=1,lNe=10,cNe=-2,ZK=e=>e==="*";function fNe(e,t){let r=e.split("/"),n=r.length;return r.some(ZK)&&(n+=cNe),t&&(n+=sNe),r.filter(i=>!ZK(i)).reduce((i,a)=>i+(aNe.test(a)?oNe:a===""?uNe:lNe),n)}function dNe(e,t){return e.length===t.length&&e.slice(0,-1).every((n,i)=>n===t[i])?e[e.length-1]-t[t.length-1]:0}function hNe(e,t,r=!1){let{routesMeta:n}=e,i={},a="/",o=[];for(let s=0;s<n.length;++s){let u=n[s],l=s===n.length-1,c=a==="/"?t:t.slice(a.length)||"/",f=J2({path:u.relativePath,caseSensitive:u.caseSensitive,end:l},c),d=u.route;if(!f&&l&&r&&!n[n.length-1].route.index&&(f=J2({path:u.relativePath,caseSensitive:u.caseSensitive,end:!1},c)),!f)return null;Object.assign(i,f.params),o.push({params:i,pathname:dp([a,f.pathname]),pathnameBase:yNe(dp([a,f.pathnameBase])),route:d}),f.pathnameBase!=="/"&&(a=dp([a,f.pathnameBase]))}return o}function J2(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,n]=pNe(e.path,e.caseSensitive,e.end),i=t.match(r);if(!i)return null;let a=i[0],o=a.replace(/(.)\/+$/,"$1"),s=i.slice(1);return{params:n.reduce((l,{paramName:c,isOptional:f},d)=>{if(c==="*"){let g=s[d]||"";o=a.slice(0,a.length-g.length).replace(/(.)\/+$/,"$1")}const h=s[d];return f&&!h?l[c]=void 0:l[c]=(h||"").replace(/%2F/g,"/"),l},{}),pathname:a,pathnameBase:o,pattern:e}}function pNe(e,t=!1,r=!0){Wa(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let n=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,s,u)=>(n.push({paramName:s,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(n.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),n]}function mNe(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Wa(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function mc(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}function gNe(e,t="/"){let{pathname:r,search:n="",hash:i=""}=typeof e=="string"?Bg(e):e;return{pathname:r?r.startsWith("/")?r:vNe(r,t):t,search:bNe(n),hash:ONe(i)}}function vNe(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?r.length>1&&r.pop():i!=="."&&r.push(i)}),r.length>1?r.join("/"):"/"}function BT(e,t,r,n){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(n)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Wge(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function X$(e){let t=Wge(e);return t.map((r,n)=>n===t.length-1?r.pathname:r.pathnameBase)}function J$(e,t,r,n=!1){let i;typeof e=="string"?i=Bg(e):(i={...e},xn(!i.pathname||!i.pathname.includes("?"),BT("?","pathname","search",i)),xn(!i.pathname||!i.pathname.includes("#"),BT("#","pathname","hash",i)),xn(!i.search||!i.search.includes("#"),BT("#","search","hash",i)));let a=e===""||i.pathname==="",o=a?"/":i.pathname,s;if(o==null)s=r;else{let f=t.length-1;if(!n&&o.startsWith("..")){let d=o.split("/");for(;d[0]==="..";)d.shift(),f-=1;i.pathname=d.join("/")}s=f>=0?t[f]:"/"}let u=gNe(i,s),l=o&&o!=="/"&&o.endsWith("/"),c=(a||o===".")&&r.endsWith("/");return!u.pathname.endsWith("/")&&(l||c)&&(u.pathname+="/"),u}var dp=e=>e.join("/").replace(/\/\/+/g,"/"),yNe=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),bNe=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,ONe=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,Ppt=(e,t=302)=>{let r=t;typeof r=="number"?r={status:r}:typeof r.status>"u"&&(r.status=302);let n=new Headers(r.headers);return n.set("Location",e),new Response(null,{...r,headers:n})},e4=class{constructor(e,t,r,n=!1){this.status=e,this.statusText=t||"",this.internal=n,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}};function ES(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var Zge=["POST","PUT","PATCH","DELETE"],xNe=new Set(Zge),_Ne=["GET",...Zge],SNe=new Set(_Ne),wNe=new Set([301,302,303,307,308]),ENe=new Set([307,308]),qT={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},$Ne={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Z1={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},kL=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,CNe=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),Kge="remix-router-transitions",Hge=Symbol("ResetLoaderData");function PNe(e){const t=e.window?e.window:typeof window<"u"?window:void 0,r=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u";xn(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let n=e.hydrationRouteProperties||[],i=e.mapRouteProperties||CNe,a={},o=X2(e.routes,i,void 0,a),s,u=e.basename||"/",l=e.dataStrategy||ANe,c={unstable_middleware:!1,...e.future},f=null,d=new Set,h=null,g=null,m=null,v=e.hydrationData!=null,y=Ym(o,e.history.location,u),O=!1,x=null;if(y==null&&!e.patchRoutesOnNavigation){let ze=Ff(404,{pathname:e.history.location.pathname}),{matches:We,route:Je}=aH(o);y=We,x={[Je.id]:ze}}y&&!e.hydrationData&&Tr(y,o,e.history.location.pathname).active&&(y=null);let C;if(y)if(y.some(ze=>ze.route.lazy))C=!1;else if(!y.some(ze=>ze.route.loader))C=!0;else{let ze=e.hydrationData?e.hydrationData.loaderData:null,We=e.hydrationData?e.hydrationData.errors:null;if(We){let Je=y.findIndex(lt=>We[lt.route.id]!==void 0);C=y.slice(0,Je+1).every(lt=>!w9(lt.route,ze,We))}else C=y.every(Je=>!w9(Je.route,ze,We))}else{C=!1,y=[];let ze=Tr(null,o,e.history.location.pathname);ze.active&&ze.matches&&(O=!0,y=ze.matches)}let w,E={historyAction:e.history.action,location:e.history.location,matches:y,initialized:C,navigation:qT,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||x,fetchers:new Map,blockers:new Map},T="POP",P=!1,L,N=!1,B=new Map,j=null,A=!1,H=!1,k=new Set,Q=new Map,V=0,I=-1,q=new Map,M=new Set,z=new Map,G=new Map,K=new Set,te=new Map,ae,ie=null;function Se(){if(f=e.history.listen(({action:ze,location:We,delta:Je})=>{if(ae){ae(),ae=void 0;return}Wa(te.size===0||Je!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let lt=mt({currentLocation:E.location,nextLocation:We,historyAction:ze});if(lt&&Je!=null){let St=new Promise(Ut=>{ae=Ut});e.history.go(Je*-1),ct(lt,{state:"blocked",location:We,proceed(){ct(lt,{state:"proceeding",proceed:void 0,reset:void 0,location:We}),St.then(()=>e.history.go(Je))},reset(){let Ut=new Map(E.blockers);Ut.set(lt,Z1),Oe({blockers:Ut})}});return}return X(ze,We)}),r){VNe(t,B);let ze=()=>jNe(t,B);t.addEventListener("pagehide",ze),j=()=>t.removeEventListener("pagehide",ze)}return E.initialized||X("POP",E.location,{initialHydration:!0}),w}function pe(){f&&f(),j&&j(),d.clear(),L&&L.abort(),E.fetchers.forEach((ze,We)=>bt(We)),E.blockers.forEach((ze,We)=>Ye(We))}function xe(ze){return d.add(ze),()=>d.delete(ze)}function Oe(ze,We={}){E={...E,...ze};let Je=[],lt=[];E.fetchers.forEach((St,Ut)=>{St.state==="idle"&&(K.has(Ut)?Je.push(Ut):lt.push(Ut))}),K.forEach(St=>{!E.fetchers.has(St)&&!Q.has(St)&&Je.push(St)}),[...d].forEach(St=>St(E,{deletedFetchers:Je,viewTransitionOpts:We.viewTransitionOpts,flushSync:We.flushSync===!0})),Je.forEach(St=>bt(St)),lt.forEach(St=>E.fetchers.delete(St))}function me(ze,We,{flushSync:Je}={}){var ar,Ar;let lt=E.actionData!=null&&E.navigation.formMethod!=null&&Gc(E.navigation.formMethod)&&E.navigation.state==="loading"&&((ar=ze.state)==null?void 0:ar._isRedirect)!==!0,St;We.actionData?Object.keys(We.actionData).length>0?St=We.actionData:St=null:lt?St=E.actionData:St=null;let Ut=We.loaderData?nH(E.loaderData,We.loaderData,We.matches||[],We.errors):E.loaderData,Jt=E.blockers;Jt.size>0&&(Jt=new Map(Jt),Jt.forEach((cr,Fr)=>Jt.set(Fr,Z1)));let Rt=P===!0||E.navigation.formMethod!=null&&Gc(E.navigation.formMethod)&&((Ar=ze.state)==null?void 0:Ar._isRedirect)!==!0;s&&(o=s,s=void 0),A||T==="POP"||(T==="PUSH"?e.history.push(ze,ze.state):T==="REPLACE"&&e.history.replace(ze,ze.state));let Zt;if(T==="POP"){let cr=B.get(E.location.pathname);cr&&cr.has(ze.pathname)?Zt={currentLocation:E.location,nextLocation:ze}:B.has(ze.pathname)&&(Zt={currentLocation:ze,nextLocation:E.location})}else if(N){let cr=B.get(E.location.pathname);cr?cr.add(ze.pathname):(cr=new Set([ze.pathname]),B.set(E.location.pathname,cr)),Zt={currentLocation:E.location,nextLocation:ze}}Oe({...We,actionData:St,loaderData:Ut,historyAction:T,location:ze,initialized:!0,navigation:qT,revalidation:"idle",restoreScrollPosition:pr(ze,We.matches||E.matches),preventScrollReset:Rt,blockers:Jt},{viewTransitionOpts:Zt,flushSync:Je===!0}),T="POP",P=!1,N=!1,A=!1,H=!1,ie==null||ie.resolve(),ie=null}async function ne(ze,We){if(typeof ze=="number"){e.history.go(ze);return}let Je=S9(E.location,E.matches,u,ze,We==null?void 0:We.fromRouteId,We==null?void 0:We.relative),{path:lt,submission:St,error:Ut}=KK(!1,Je,We),Jt=E.location,Rt=wS(E.location,lt,We&&We.state);Rt={...Rt,...e.history.encodeLocation(Rt)};let Zt=We&&We.replace!=null?We.replace:void 0,ar="PUSH";Zt===!0?ar="REPLACE":Zt===!1||St!=null&&Gc(St.formMethod)&&St.formAction===E.location.pathname+E.location.search&&(ar="REPLACE");let Ar=We&&"preventScrollReset"in We?We.preventScrollReset===!0:void 0,cr=(We&&We.flushSync)===!0,Fr=mt({currentLocation:Jt,nextLocation:Rt,historyAction:ar});if(Fr){ct(Fr,{state:"blocked",location:Rt,proceed(){ct(Fr,{state:"proceeding",proceed:void 0,reset:void 0,location:Rt}),ne(ze,We)},reset(){let hn=new Map(E.blockers);hn.set(Fr,Z1),Oe({blockers:hn})}});return}await X(ar,Rt,{submission:St,pendingError:Ut,preventScrollReset:Ar,replace:We&&We.replace,enableViewTransition:We&&We.viewTransition,flushSync:cr})}function se(){ie||(ie=WNe()),rt(),Oe({revalidation:"loading"});let ze=ie.promise;return E.navigation.state==="submitting"?ze:E.navigation.state==="idle"?(X(E.historyAction,E.location,{startUninterruptedRevalidation:!0}),ze):(X(T||E.historyAction,E.navigation.location,{overrideNavigation:E.navigation,enableViewTransition:N===!0}),ze)}async function X(ze,We,Je){L&&L.abort(),L=null,T=ze,A=(Je&&Je.startUninterruptedRevalidation)===!0,Ht(E.location,E.matches),P=(Je&&Je.preventScrollReset)===!0,N=(Je&&Je.enableViewTransition)===!0;let lt=s||o,St=Je&&Je.overrideNavigation,Ut=Je!=null&&Je.initialHydration&&E.matches&&E.matches.length>0&&!O?E.matches:Ym(lt,We,u),Jt=(Je&&Je.flushSync)===!0;if(Ut&&E.initialized&&!H&&zNe(E.location,We)&&!(Je&&Je.submission&&Gc(Je.submission.formMethod))){me(We,{matches:Ut},{flushSync:Jt});return}let Rt=Tr(Ut,lt,We.pathname);if(Rt.active&&Rt.matches&&(Ut=Rt.matches),!Ut){let{error:Vi,notFoundMatches:_a,route:pn}=Nt(We.pathname);me(We,{matches:_a,loaderData:{},errors:{[pn.id]:Vi}},{flushSync:Jt});return}L=new AbortController;let Zt=K1(e.history,We,L.signal,Je&&Je.submission),ar=new WK(e.unstable_getContext?await e.unstable_getContext():void 0),Ar;if(Je&&Je.pendingError)Ar=[zv(Ut).route.id,{type:"error",error:Je.pendingError}];else if(Je&&Je.submission&&Gc(Je.submission.formMethod)){let Vi=await re(Zt,We,Je.submission,Ut,ar,Rt.active,Je&&Je.initialHydration===!0,{replace:Je.replace,flushSync:Jt});if(Vi.shortCircuited)return;if(Vi.pendingActionResult){let[_a,pn]=Vi.pendingActionResult;if(Yc(pn)&&ES(pn.error)&&pn.error.status===404){L=null,me(We,{matches:Vi.matches,loaderData:{},errors:{[_a]:pn.error}});return}}Ut=Vi.matches||Ut,Ar=Vi.pendingActionResult,St=UT(We,Je.submission),Jt=!1,Rt.active=!1,Zt=K1(e.history,Zt.url,Zt.signal)}let{shortCircuited:cr,matches:Fr,loaderData:hn,errors:di}=await he(Zt,We,Ut,ar,Rt.active,St,Je&&Je.submission,Je&&Je.fetcherSubmission,Je&&Je.replace,Je&&Je.initialHydration===!0,Jt,Ar);cr||(L=null,me(We,{matches:Fr||Ut,...iH(Ar),loaderData:hn,errors:di}))}async function re(ze,We,Je,lt,St,Ut,Jt,Rt={}){rt();let Zt=qNe(We,Je);if(Oe({navigation:Zt},{flushSync:Rt.flushSync===!0}),Ut){let cr=await Yr(lt,We.pathname,ze.signal);if(cr.type==="aborted")return{shortCircuited:!0};if(cr.type==="error"){let Fr=zv(cr.partialMatches).route.id;return{matches:cr.partialMatches,pendingActionResult:[Fr,{type:"error",error:cr.error}]}}else if(cr.matches)lt=cr.matches;else{let{notFoundMatches:Fr,error:hn,route:di}=Nt(We.pathname);return{matches:Fr,pendingActionResult:[di.id,{type:"error",error:hn}]}}}let ar,Ar=p_(lt,We);if(!Ar.route.action&&!Ar.route.lazy)ar={type:"error",error:Ff(405,{method:ze.method,pathname:We.pathname,routeId:Ar.route.id})};else{let cr=wb(i,a,ze,lt,Ar,Jt?[]:n,St),Fr=await ke(ze,cr,St,null);if(ar=Fr[Ar.route.id],!ar){for(let hn of lt)if(Fr[hn.route.id]){ar=Fr[hn.route.id];break}}if(ze.signal.aborted)return{shortCircuited:!0}}if(Kv(ar)){let cr;return Rt&&Rt.replace!=null?cr=Rt.replace:cr=eH(ar.response.headers.get("Location"),new URL(ze.url),u)===E.location.pathname+E.location.search,await Te(ze,ar,!0,{submission:Je,replace:cr}),{shortCircuited:!0}}if(Yc(ar)){let cr=zv(lt,Ar.route.id);return(Rt&&Rt.replace)!==!0&&(T="PUSH"),{matches:lt,pendingActionResult:[cr.route.id,ar]}}return{matches:lt,pendingActionResult:[Ar.route.id,ar]}}async function he(ze,We,Je,lt,St,Ut,Jt,Rt,Zt,ar,Ar,cr){let Fr=Ut||UT(We,Jt),hn=Jt||Rt||sH(Fr),di=!A&&!ar;if(St){if(di){let Sa=ge(cr);Oe({navigation:Fr,...Sa!==void 0?{actionData:Sa}:{}},{flushSync:Ar})}let gn=await Yr(Je,We.pathname,ze.signal);if(gn.type==="aborted")return{shortCircuited:!0};if(gn.type==="error"){let Sa=zv(gn.partialMatches).route.id;return{matches:gn.partialMatches,loaderData:{},errors:{[Sa]:gn.error}}}else if(gn.matches)Je=gn.matches;else{let{error:Sa,notFoundMatches:ma,route:La}=Nt(We.pathname);return{matches:ma,loaderData:{},errors:{[La.id]:Sa}}}}let Vi=s||o,{dsMatches:_a,revalidatingFetchers:pn}=HK(ze,lt,i,a,e.history,E,Je,hn,We,ar?[]:n,ar===!0,H,k,K,z,M,Vi,u,cr);if(I=++V,!e.dataStrategy&&!_a.some(gn=>gn.shouldLoad)&&pn.length===0){let gn=zt();return me(We,{matches:Je,loaderData:{},errors:cr&&Yc(cr[1])?{[cr[0]]:cr[1].error}:null,...iH(cr),...gn?{fetchers:new Map(E.fetchers)}:{}},{flushSync:Ar}),{shortCircuited:!0}}if(di){let gn={};if(!St){gn.navigation=Fr;let Sa=ge(cr);Sa!==void 0&&(gn.actionData=Sa)}pn.length>0&&(gn.fetchers=le(pn)),Oe(gn,{flushSync:Ar})}pn.forEach(gn=>{pt(gn.key),gn.controller&&Q.set(gn.key,gn.controller)});let bl=()=>pn.forEach(gn=>pt(gn.key));L&&L.signal.addEventListener("abort",bl);let{loaderResults:Ts,fetcherResults:Tu}=await Be(_a,pn,ze,lt);if(ze.signal.aborted)return{shortCircuited:!0};L&&L.signal.removeEventListener("abort",bl),pn.forEach(gn=>Q.delete(gn.key));let ir=j3(Ts);if(ir)return await Te(ze,ir.result,!0,{replace:Zt}),{shortCircuited:!0};if(ir=j3(Tu),ir)return M.add(ir.key),await Te(ze,ir.result,!0,{replace:Zt}),{shortCircuited:!0};let{loaderData:_o,errors:mn}=rH(E,Je,Ts,cr,pn,Tu);ar&&E.errors&&(mn={...E.errors,...mn});let Au=zt(),Uo=Gt(I),fu=Au||Uo||pn.length>0;return{matches:Je,loaderData:_o,errors:mn,...fu?{fetchers:new Map(E.fetchers)}:{}}}function ge(ze){if(ze&&!Yc(ze[1]))return{[ze[0]]:ze[1].data};if(E.actionData)return Object.keys(E.actionData).length===0?null:E.actionData}function le(ze){return ze.forEach(We=>{let Je=E.fetchers.get(We.key),lt=Sx(void 0,Je?Je.data:void 0);E.fetchers.set(We.key,lt)}),new Map(E.fetchers)}async function ve(ze,We,Je,lt){pt(ze);let St=(lt&&lt.flushSync)===!0,Ut=s||o,Jt=S9(E.location,E.matches,u,Je,We,lt==null?void 0:lt.relative),Rt=Ym(Ut,Jt,u),Zt=Tr(Rt,Ut,Jt);if(Zt.active&&Zt.matches&&(Rt=Zt.matches),!Rt){Ve(ze,We,Ff(404,{pathname:Jt}),{flushSync:St});return}let{path:ar,submission:Ar,error:cr}=KK(!0,Jt,lt);if(cr){Ve(ze,We,cr,{flushSync:St});return}let Fr=p_(Rt,ar),hn=new WK(e.unstable_getContext?await e.unstable_getContext():void 0),di=(lt&&lt.preventScrollReset)===!0;if(Ar&&Gc(Ar.formMethod)){await _e(ze,We,ar,Fr,Rt,hn,Zt.active,St,di,Ar);return}z.set(ze,{routeId:We,path:ar}),await De(ze,We,ar,Fr,Rt,hn,Zt.active,St,di,Ar)}async function _e(ze,We,Je,lt,St,Ut,Jt,Rt,Zt,ar){rt(),z.delete(ze);function Ar(Sr){if(!Sr.route.action&&!Sr.route.lazy){let ln=Ff(405,{method:ar.formMethod,pathname:Je,routeId:We});return Ve(ze,We,ln,{flushSync:Rt}),!0}return!1}if(!Jt&&Ar(lt))return;let cr=E.fetchers.get(ze);Le(ze,UNe(ar,cr),{flushSync:Rt});let Fr=new AbortController,hn=K1(e.history,Je,Fr.signal,ar);if(Jt){let Sr=await Yr(St,Je,hn.signal,ze);if(Sr.type==="aborted")return;if(Sr.type==="error"){Ve(ze,We,Sr.error,{flushSync:Rt});return}else if(Sr.matches){if(St=Sr.matches,lt=p_(St,Je),Ar(lt))return}else{Ve(ze,We,Ff(404,{pathname:Je}),{flushSync:Rt});return}}Q.set(ze,Fr);let di=V,Vi=wb(i,a,hn,St,lt,n,Ut),pn=(await ke(hn,Vi,Ut,ze))[lt.route.id];if(hn.signal.aborted){Q.get(ze)===Fr&&Q.delete(ze);return}if(K.has(ze)){if(Kv(pn)||Yc(pn)){Le(ze,zm(void 0));return}}else{if(Kv(pn))if(Q.delete(ze),I>di){Le(ze,zm(void 0));return}else return M.add(ze),Le(ze,Sx(ar)),Te(hn,pn,!1,{fetcherSubmission:ar,preventScrollReset:Zt});if(Yc(pn)){Ve(ze,We,pn.error);return}}let bl=E.navigation.location||E.location,Ts=K1(e.history,bl,Fr.signal),Tu=s||o,ir=E.navigation.state!=="idle"?Ym(Tu,E.navigation.location,u):E.matches;xn(ir,"Didn't find any matches after fetcher action");let _o=++V;q.set(ze,_o);let mn=Sx(ar,pn.data);E.fetchers.set(ze,mn);let{dsMatches:Au,revalidatingFetchers:Uo}=HK(Ts,Ut,i,a,e.history,E,ir,ar,bl,n,!1,H,k,K,z,M,Tu,u,[lt.route.id,pn]);Uo.filter(Sr=>Sr.key!==ze).forEach(Sr=>{let ln=Sr.key,ji=E.fetchers.get(ln),cn=Sx(void 0,ji?ji.data:void 0);E.fetchers.set(ln,cn),pt(ln),Sr.controller&&Q.set(ln,Sr.controller)}),Oe({fetchers:new Map(E.fetchers)});let fu=()=>Uo.forEach(Sr=>pt(Sr.key));Fr.signal.addEventListener("abort",fu);let{loaderResults:gn,fetcherResults:Sa}=await Be(Au,Uo,Ts,Ut);if(Fr.signal.aborted)return;Fr.signal.removeEventListener("abort",fu),q.delete(ze),Q.delete(ze),Uo.forEach(Sr=>Q.delete(Sr.key));let ma=j3(gn);if(ma)return Te(Ts,ma.result,!1,{preventScrollReset:Zt});if(ma=j3(Sa),ma)return M.add(ma.key),Te(Ts,ma.result,!1,{preventScrollReset:Zt});let{loaderData:La,errors:Br}=rH(E,ir,gn,void 0,Uo,Sa);if(E.fetchers.has(ze)){let Sr=zm(pn.data);E.fetchers.set(ze,Sr)}Gt(_o),E.navigation.state==="loading"&&_o>I?(xn(T,"Expected pending action"),L&&L.abort(),me(E.navigation.location,{matches:ir,loaderData:La,errors:Br,fetchers:new Map(E.fetchers)})):(Oe({errors:Br,loaderData:nH(E.loaderData,La,ir,Br),fetchers:new Map(E.fetchers)}),H=!1)}async function De(ze,We,Je,lt,St,Ut,Jt,Rt,Zt,ar){let Ar=E.fetchers.get(ze);Le(ze,Sx(ar,Ar?Ar.data:void 0),{flushSync:Rt});let cr=new AbortController,Fr=K1(e.history,Je,cr.signal);if(Jt){let pn=await Yr(St,Je,Fr.signal,ze);if(pn.type==="aborted")return;if(pn.type==="error"){Ve(ze,We,pn.error,{flushSync:Rt});return}else if(pn.matches)St=pn.matches,lt=p_(St,Je);else{Ve(ze,We,Ff(404,{pathname:Je}),{flushSync:Rt});return}}Q.set(ze,cr);let hn=V,di=wb(i,a,Fr,St,lt,n,Ut),_a=(await ke(Fr,di,Ut,ze))[lt.route.id];if(Q.get(ze)===cr&&Q.delete(ze),!Fr.signal.aborted){if(K.has(ze)){Le(ze,zm(void 0));return}if(Kv(_a))if(I>hn){Le(ze,zm(void 0));return}else{M.add(ze),await Te(Fr,_a,!1,{preventScrollReset:Zt});return}if(Yc(_a)){Ve(ze,We,_a.error);return}Le(ze,zm(_a.data))}}async function Te(ze,We,Je,{submission:lt,fetcherSubmission:St,preventScrollReset:Ut,replace:Jt}={}){We.response.headers.has("X-Remix-Revalidate")&&(H=!0);let Rt=We.response.headers.get("Location");xn(Rt,"Expected a Location header on the redirect Response"),Rt=eH(Rt,new URL(ze.url),u);let Zt=wS(E.location,Rt,{_isRedirect:!0});if(r){let di=!1;if(We.response.headers.has("X-Remix-Reload-Document"))di=!0;else if(kL.test(Rt)){const Vi=e.history.createURL(Rt);di=Vi.origin!==t.location.origin||mc(Vi.pathname,u)==null}if(di){Jt?t.location.replace(Rt):t.location.assign(Rt);return}}L=null;let ar=Jt===!0||We.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:Ar,formAction:cr,formEncType:Fr}=E.navigation;!lt&&!St&&Ar&&cr&&Fr&&(lt=sH(E.navigation));let hn=lt||St;if(ENe.has(We.response.status)&&hn&&Gc(hn.formMethod))await X(ar,Zt,{submission:{...hn,formAction:Rt},preventScrollReset:Ut||P,enableViewTransition:Je?N:void 0});else{let di=UT(Zt,lt);await X(ar,Zt,{overrideNavigation:di,fetcherSubmission:St,preventScrollReset:Ut||P,enableViewTransition:Je?N:void 0})}}async function ke(ze,We,Je,lt){let St,Ut={};try{St=await FNe(l,ze,We,lt,Je,!1)}catch(Jt){return We.filter(Rt=>Rt.shouldLoad).forEach(Rt=>{Ut[Rt.route.id]={type:"error",error:Jt}}),Ut}for(let[Jt,Rt]of Object.entries(St))if(QNe(Rt)){let Zt=Rt.result;Ut[Jt]={type:"redirect",response:NNe(Zt,ze,Jt,We,u)}}else Ut[Jt]=await MNe(Rt);return Ut}async function Be(ze,We,Je,lt){let St=ke(Je,ze,lt,null),Ut=Promise.all(We.map(async Zt=>{if(Zt.matches&&Zt.match&&Zt.request&&Zt.controller){let Ar=(await ke(Zt.request,Zt.matches,lt,Zt.key))[Zt.match.route.id];return{[Zt.key]:Ar}}else return Promise.resolve({[Zt.key]:{type:"error",error:Ff(404,{pathname:Zt.path})}})})),Jt=await St,Rt=(await Ut).reduce((Zt,ar)=>Object.assign(Zt,ar),{});return{loaderResults:Jt,fetcherResults:Rt}}function rt(){H=!0,z.forEach((ze,We)=>{Q.has(We)&&k.add(We),pt(We)})}function Le(ze,We,Je={}){E.fetchers.set(ze,We),Oe({fetchers:new Map(E.fetchers)},{flushSync:(Je&&Je.flushSync)===!0})}function Ve(ze,We,Je,lt={}){let St=zv(E.matches,We);bt(ze),Oe({errors:{[St.route.id]:Je},fetchers:new Map(E.fetchers)},{flushSync:(lt&&lt.flushSync)===!0})}function at(ze){return G.set(ze,(G.get(ze)||0)+1),K.has(ze)&&K.delete(ze),E.fetchers.get(ze)||$Ne}function bt(ze){let We=E.fetchers.get(ze);Q.has(ze)&&!(We&&We.state==="loading"&&q.has(ze))&&pt(ze),z.delete(ze),q.delete(ze),M.delete(ze),K.delete(ze),k.delete(ze),E.fetchers.delete(ze)}function _t(ze){let We=(G.get(ze)||0)-1;We<=0?(G.delete(ze),K.add(ze)):G.set(ze,We),Oe({fetchers:new Map(E.fetchers)})}function pt(ze){let We=Q.get(ze);We&&(We.abort(),Q.delete(ze))}function Mt(ze){for(let We of ze){let Je=at(We),lt=zm(Je.data);E.fetchers.set(We,lt)}}function zt(){let ze=[],We=!1;for(let Je of M){let lt=E.fetchers.get(Je);xn(lt,`Expected fetcher: ${Je}`),lt.state==="loading"&&(M.delete(Je),ze.push(Je),We=!0)}return Mt(ze),We}function Gt(ze){let We=[];for(let[Je,lt]of q)if(lt<ze){let St=E.fetchers.get(Je);xn(St,`Expected fetcher: ${Je}`),St.state==="loading"&&(pt(Je),q.delete(Je),We.push(Je))}return Mt(We),We.length>0}function Ie(ze,We){let Je=E.blockers.get(ze)||Z1;return te.get(ze)!==We&&te.set(ze,We),Je}function Ye(ze){E.blockers.delete(ze),te.delete(ze)}function ct(ze,We){let Je=E.blockers.get(ze)||Z1;xn(Je.state==="unblocked"&&We.state==="blocked"||Je.state==="blocked"&&We.state==="blocked"||Je.state==="blocked"&&We.state==="proceeding"||Je.state==="blocked"&&We.state==="unblocked"||Je.state==="proceeding"&&We.state==="unblocked",`Invalid blocker state transition: ${Je.state} -> ${We.state}`);let lt=new Map(E.blockers);lt.set(ze,We),Oe({blockers:lt})}function mt({currentLocation:ze,nextLocation:We,historyAction:Je}){if(te.size===0)return;te.size>1&&Wa(!1,"A router only supports one blocker at a time");let lt=Array.from(te.entries()),[St,Ut]=lt[lt.length-1],Jt=E.blockers.get(St);if(!(Jt&&Jt.state==="proceeding")&&Ut({currentLocation:ze,nextLocation:We,historyAction:Je}))return St}function Nt(ze){let We=Ff(404,{pathname:ze}),Je=s||o,{matches:lt,route:St}=aH(Je);return{notFoundMatches:lt,route:St,error:We}}function qt(ze,We,Je){if(h=ze,m=We,g=Je||null,!v&&E.navigation===qT){v=!0;let lt=pr(E.location,E.matches);lt!=null&&Oe({restoreScrollPosition:lt})}return()=>{h=null,m=null,g=null}}function Dt(ze,We){return g&&g(ze,We.map(lt=>Uge(lt,E.loaderData)))||ze.key}function Ht(ze,We){if(h&&m){let Je=Dt(ze,We);h[Je]=m()}}function pr(ze,We){if(h){let Je=Dt(ze,We),lt=h[Je];if(typeof lt=="number")return lt}return null}function Tr(ze,We,Je){if(e.patchRoutesOnNavigation)if(ze){if(Object.keys(ze[0].params).length>0)return{active:!0,matches:BE(We,Je,u,!0)}}else return{active:!0,matches:BE(We,Je,u,!0)||[]};return{active:!1,matches:null}}async function Yr(ze,We,Je,lt){if(!e.patchRoutesOnNavigation)return{type:"success",matches:ze};let St=ze;for(;;){let Ut=s==null,Jt=s||o,Rt=a;try{await e.patchRoutesOnNavigation({signal:Je,path:We,matches:St,fetcherKey:lt,patch:(Ar,cr)=>{Je.aborted||YK(Ar,cr,Jt,Rt,i)}})}catch(Ar){return{type:"error",error:Ar,partialMatches:St}}finally{Ut&&!Je.aborted&&(o=[...o])}if(Je.aborted)return{type:"aborted"};let Zt=Ym(Jt,We,u);if(Zt)return{type:"success",matches:Zt};let ar=BE(Jt,We,u,!0);if(!ar||St.length===ar.length&&St.every((Ar,cr)=>Ar.route.id===ar[cr].route.id))return{type:"success",matches:null};St=ar}}function Ln(ze){a={},s=X2(ze,i,void 0,a)}function Rn(ze,We){let Je=s==null;YK(ze,We,s||o,a,i),Je&&(o=[...o],Oe({}))}return w={get basename(){return u},get future(){return c},get state(){return E},get routes(){return o},get window(){return t},initialize:Se,subscribe:xe,enableScrollRestoration:qt,navigate:ne,fetch:ve,revalidate:se,createHref:ze=>e.history.createHref(ze),encodeLocation:ze=>e.history.encodeLocation(ze),getFetcher:at,deleteFetcher:_t,dispose:pe,getBlocker:Ie,deleteBlocker:Ye,patchRoutes:Rn,_internalFetchControllers:Q,_internalSetRoutes:Ln},w}function DNe(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function S9(e,t,r,n,i,a){let o,s;if(i){o=[];for(let l of t)if(o.push(l),l.route.id===i){s=l;break}}else o=t,s=t[t.length-1];let u=J$(n||".",X$(o),mc(e.pathname,r)||e.pathname,a==="path");if(n==null&&(u.search=e.search,u.hash=e.hash),(n==null||n===""||n===".")&&s){let l=TL(u.search);if(s.route.index&&!l)u.search=u.search?u.search.replace(/^\?/,"?index&"):"?index";else if(!s.route.index&&l){let c=new URLSearchParams(u.search),f=c.getAll("index");c.delete("index"),f.filter(h=>h).forEach(h=>c.append("index",h));let d=c.toString();u.search=d?`?${d}`:""}}return r!=="/"&&(u.pathname=u.pathname==="/"?r:dp([r,u.pathname])),Sg(u)}function KK(e,t,r){if(!r||!DNe(r))return{path:t};if(r.formMethod&&!BNe(r.formMethod))return{path:t,error:Ff(405,{method:r.formMethod})};let n=()=>({path:t,error:Ff(400,{type:"invalid-body"})}),a=(r.formMethod||"get").toUpperCase(),o=tve(t);if(r.body!==void 0){if(r.formEncType==="text/plain"){if(!Gc(a))return n();let f=typeof r.body=="string"?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((d,[h,g])=>`${d}${h}=${g}
585
+ `,""):String(r.body);return{path:t,submission:{formMethod:a,formAction:o,formEncType:r.formEncType,formData:void 0,json:void 0,text:f}}}else if(r.formEncType==="application/json"){if(!Gc(a))return n();try{let f=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:t,submission:{formMethod:a,formAction:o,formEncType:r.formEncType,formData:void 0,json:f,text:void 0}}}catch{return n()}}}xn(typeof FormData=="function","FormData is not available in this environment");let s,u;if(r.formData)s=$9(r.formData),u=r.formData;else if(r.body instanceof FormData)s=$9(r.body),u=r.body;else if(r.body instanceof URLSearchParams)s=r.body,u=tH(s);else if(r.body==null)s=new URLSearchParams,u=new FormData;else try{s=new URLSearchParams(r.body),u=tH(s)}catch{return n()}let l={formMethod:a,formAction:o,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:u,json:void 0,text:void 0};if(Gc(l.formMethod))return{path:t,submission:l};let c=Bg(t);return e&&c.search&&TL(c.search)&&s.append("index",""),c.search=`?${s}`,{path:Sg(c),submission:l}}function HK(e,t,r,n,i,a,o,s,u,l,c,f,d,h,g,m,v,y,O){var j;let x=O?Yc(O[1])?O[1].error:O[1].data:void 0,C=i.createURL(a.location),w=i.createURL(u),E;if(c&&a.errors){let A=Object.keys(a.errors)[0];E=o.findIndex(H=>H.route.id===A)}else if(O&&Yc(O[1])){let A=O[0];E=o.findIndex(H=>H.route.id===A)-1}let T=O?O[1].statusCode:void 0,P=T&&T>=400,L={currentUrl:C,currentParams:((j=a.matches[0])==null?void 0:j.params)||{},nextUrl:w,nextParams:o[0].params,...s,actionResult:x,actionStatus:T},N=o.map((A,H)=>{let{route:k}=A,Q=null;if(E!=null&&H>E?Q=!1:k.lazy?Q=!0:k.loader==null?Q=!1:c?Q=w9(k,a.loaderData,a.errors):RNe(a.loaderData,a.matches[H],A)&&(Q=!0),Q!==null)return E9(r,n,e,A,l,t,Q);let V=P?!1:f||C.pathname+C.search===w.pathname+w.search||C.search!==w.search||kNe(a.matches[H],A),I={...L,defaultShouldRevalidate:V},q=t4(A,I);return E9(r,n,e,A,l,t,q,I)}),B=[];return g.forEach((A,H)=>{if(c||!o.some(z=>z.route.id===A.routeId)||h.has(H))return;let k=Ym(v,A.path,y);if(!k){B.push({key:H,routeId:A.routeId,path:A.path,matches:null,match:null,request:null,controller:null});return}if(m.has(H))return;let Q=a.fetchers.get(H),V=p_(k,A.path),I=new AbortController,q=K1(i,A.path,I.signal),M=null;if(d.has(H))d.delete(H),M=wb(r,n,q,k,V,l,t);else if(Q&&Q.state!=="idle"&&Q.data===void 0)f&&(M=wb(r,n,q,k,V,l,t));else{let z={...L,defaultShouldRevalidate:P?!1:f};t4(V,z)&&(M=wb(r,n,q,k,V,l,t,z))}M&&B.push({key:H,routeId:A.routeId,path:A.path,matches:M,match:V,request:q,controller:I})}),{dsMatches:N,revalidatingFetchers:B}}function w9(e,t,r){if(e.lazy)return!0;if(!e.loader)return!1;let n=t!=null&&t[e.id]!==void 0,i=r!=null&&r[e.id]!==void 0;return!n&&i?!1:typeof e.loader=="function"&&e.loader.hydrate===!0?!0:!n&&!i}function RNe(e,t,r){let n=!t||r.route.id!==t.route.id,i=!e.hasOwnProperty(r.route.id);return n||i}function kNe(e,t){let r=e.route.path;return e.pathname!==t.pathname||r!=null&&r.endsWith("*")&&e.params["*"]!==t.params["*"]}function t4(e,t){if(e.route.shouldRevalidate){let r=e.route.shouldRevalidate(t);if(typeof r=="boolean")return r}return t.defaultShouldRevalidate}function YK(e,t,r,n,i){let a;if(e){let u=n[e];xn(u,`No route found to patch children into: routeId = ${e}`),u.children||(u.children=[]),a=u.children}else a=r;let o=t.filter(u=>!a.some(l=>Yge(u,l))),s=X2(o,i,[e||"_","patch",String((a==null?void 0:a.length)||"0")],n);a.push(...s)}function Yge(e,t){return"id"in e&&"id"in t&&e.id===t.id?!0:e.index===t.index&&e.path===t.path&&e.caseSensitive===t.caseSensitive?(!e.children||e.children.length===0)&&(!t.children||t.children.length===0)?!0:e.children.every((r,n)=>{var i;return(i=t.children)==null?void 0:i.some(a=>Yge(r,a))}):!1}var GK=new WeakMap,Gge=({key:e,route:t,manifest:r,mapRouteProperties:n})=>{let i=r[t.id];if(xn(i,"No route found in manifest"),!i.lazy||typeof i.lazy!="object")return;let a=i.lazy[e];if(!a)return;let o=GK.get(i);o||(o={},GK.set(i,o));let s=o[e];if(s)return s;let u=(async()=>{let l=eNe(e),f=i[e]!==void 0&&e!=="hasErrorBoundary";if(l)Wa(!l,"Route property "+e+" is not a supported lazy route property. This property will be ignored."),o[e]=Promise.resolve();else if(f)Wa(!1,`Route "${i.id}" has a static property "${e}" defined. The lazy property will be ignored.`);else{let d=await a();d!=null&&(Object.assign(i,{[e]:d}),Object.assign(i,n(i)))}typeof i.lazy=="object"&&(i.lazy[e]=void 0,Object.values(i.lazy).every(d=>d===void 0)&&(i.lazy=void 0))})();return o[e]=u,u},XK=new WeakMap;function TNe(e,t,r,n,i){let a=r[e.id];if(xn(a,"No route found in manifest"),!e.lazy)return{lazyRoutePromise:void 0,lazyHandlerPromise:void 0};if(typeof e.lazy=="function"){let c=XK.get(a);if(c)return{lazyRoutePromise:c,lazyHandlerPromise:c};let f=(async()=>{xn(typeof e.lazy=="function","No lazy route function found");let d=await e.lazy(),h={};for(let g in d){let m=d[g];if(m===void 0)continue;let v=rNe(g),O=a[g]!==void 0&&g!=="hasErrorBoundary";v?Wa(!v,"Route property "+g+" is not a supported property to be returned from a lazy route function. This property will be ignored."):O?Wa(!O,`Route "${a.id}" has a static property "${g}" defined but its lazy function is also returning a value for this property. The lazy route property "${g}" will be ignored.`):h[g]=m}Object.assign(a,h),Object.assign(a,{...n(a),lazy:void 0})})();return XK.set(a,f),f.catch(()=>{}),{lazyRoutePromise:f,lazyHandlerPromise:f}}let o=Object.keys(e.lazy),s=[],u;for(let c of o){if(i&&i.includes(c))continue;let f=Gge({key:c,route:e,manifest:r,mapRouteProperties:n});f&&(s.push(f),c===t&&(u=f))}let l=s.length>0?Promise.all(s).then(()=>{}):void 0;return l==null||l.catch(()=>{}),u==null||u.catch(()=>{}),{lazyRoutePromise:l,lazyHandlerPromise:u}}async function JK(e){let t=e.matches.filter(i=>i.shouldLoad),r={};return(await Promise.all(t.map(i=>i.resolve()))).forEach((i,a)=>{r[t[a].route.id]=i}),r}async function ANe(e){return e.matches.some(t=>t.route.unstable_middleware)?Xge(e,!1,()=>JK(e),(t,r)=>({[r]:{type:"error",result:t}})):JK(e)}async function Xge(e,t,r,n){let{matches:i,request:a,params:o,context:s}=e,u={handlerResult:void 0};try{let l=i.flatMap(f=>f.route.unstable_middleware?f.route.unstable_middleware.map(d=>[f.route.id,d]):[]),c=await Jge({request:a,params:o,context:s},l,t,u,r);return t?c:u.handlerResult}catch(l){if(!u.middlewareError)throw l;let c=await n(u.middlewareError.error,u.middlewareError.routeId);return u.handlerResult?Object.assign(u.handlerResult,c):c}}async function Jge(e,t,r,n,i,a=0){let{request:o}=e;if(o.signal.aborted)throw o.signal.reason?o.signal.reason:new Error(`Request aborted without an \`AbortSignal.reason\`: ${o.method} ${o.url}`);let s=t[a];if(!s)return n.handlerResult=await i(),n.handlerResult;let[u,l]=s,c=!1,f,d=async()=>{if(c)throw new Error("You may only call `next()` once per middleware");c=!0,await Jge(e,t,r,n,i,a+1)};try{let h=await l({request:e.request,params:e.params,context:e.context},d);return c?h===void 0?f:h:d()}catch(h){throw n.middlewareError?n.middlewareError.error!==h&&(n.middlewareError={routeId:u,error:h}):n.middlewareError={routeId:u,error:h},h}}function eve(e,t,r,n,i){let a=Gge({key:"unstable_middleware",route:n.route,manifest:t,mapRouteProperties:e}),o=TNe(n.route,Gc(r.method)?"action":"loader",t,e,i);return{middleware:a,route:o.lazyRoutePromise,handler:o.lazyHandlerPromise}}function E9(e,t,r,n,i,a,o,s=null){let u=!1,l=eve(e,t,r,n,i);return{...n,_lazyPromises:l,shouldLoad:o,unstable_shouldRevalidateArgs:s,unstable_shouldCallHandler(c){return u=!0,s?typeof c=="boolean"?t4(n,{...s,defaultShouldRevalidate:c}):t4(n,s):o},resolve(c){return u||o||c&&r.method==="GET"&&(n.route.lazy||n.route.loader)?INe({request:r,match:n,lazyHandlerPromise:l==null?void 0:l.handler,lazyRoutePromise:l==null?void 0:l.route,handlerOverride:c,scopedContext:a}):Promise.resolve({type:"data",result:void 0})}}}function wb(e,t,r,n,i,a,o,s=null){return n.map(u=>u.route.id!==i.route.id?{...u,shouldLoad:!1,unstable_shouldRevalidateArgs:s,unstable_shouldCallHandler:()=>!1,_lazyPromises:eve(e,t,r,u,a),resolve:()=>Promise.resolve({type:"data",result:void 0})}:E9(e,t,r,u,a,o,!0,s))}async function FNe(e,t,r,n,i,a){r.some(l=>{var c;return(c=l._lazyPromises)==null?void 0:c.middleware})&&await Promise.all(r.map(l=>{var c;return(c=l._lazyPromises)==null?void 0:c.middleware}));let o={request:t,params:r[0].params,context:i,matches:r},u=await e({...o,fetcherKey:n,unstable_runClientMiddleware:l=>{let c=o;return Xge(c,!1,()=>l({...c,fetcherKey:n,unstable_runClientMiddleware:()=>{throw new Error("Cannot call `unstable_runClientMiddleware()` from within an `unstable_runClientMiddleware` handler")}}),(f,d)=>({[d]:{type:"error",result:f}}))}});try{await Promise.all(r.flatMap(l=>{var c,f;return[(c=l._lazyPromises)==null?void 0:c.handler,(f=l._lazyPromises)==null?void 0:f.route]}))}catch{}return u}async function INe({request:e,match:t,lazyHandlerPromise:r,lazyRoutePromise:n,handlerOverride:i,scopedContext:a}){let o,s,u=Gc(e.method),l=u?"action":"loader",c=f=>{let d,h=new Promise((v,y)=>d=y);s=()=>d(),e.signal.addEventListener("abort",s);let g=v=>typeof f!="function"?Promise.reject(new Error(`You cannot call the handler for a route which defines a boolean "${l}" [routeId: ${t.route.id}]`)):f({request:e,params:t.params,context:a},...v!==void 0?[v]:[]),m=(async()=>{try{return{type:"data",result:await(i?i(y=>g(y)):g())}}catch(v){return{type:"error",result:v}}})();return Promise.race([m,h])};try{let f=u?t.route.action:t.route.loader;if(r||n)if(f){let d,[h]=await Promise.all([c(f).catch(g=>{d=g}),r,n]);if(d!==void 0)throw d;o=h}else{await r;let d=u?t.route.action:t.route.loader;if(d)[o]=await Promise.all([c(d),n]);else if(l==="action"){let h=new URL(e.url),g=h.pathname+h.search;throw Ff(405,{method:e.method,pathname:g,routeId:t.route.id})}else return{type:"data",result:void 0}}else if(f)o=await c(f);else{let d=new URL(e.url),h=d.pathname+d.search;throw Ff(404,{pathname:h})}}catch(f){return{type:"error",result:f}}finally{s&&e.signal.removeEventListener("abort",s)}return o}async function MNe(e){var n,i,a,o,s,u;let{result:t,type:r}=e;if(rve(t)){let l;try{let c=t.headers.get("Content-Type");c&&/\bapplication\/json\b/.test(c)?t.body==null?l=null:l=await t.json():l=await t.text()}catch(c){return{type:"error",error:c}}return r==="error"?{type:"error",error:new e4(t.status,t.statusText,l),statusCode:t.status,headers:t.headers}:{type:"data",data:l,statusCode:t.status,headers:t.headers}}return r==="error"?oH(t)?t.data instanceof Error?{type:"error",error:t.data,statusCode:(n=t.init)==null?void 0:n.status,headers:(i=t.init)!=null&&i.headers?new Headers(t.init.headers):void 0}:{type:"error",error:new e4(((a=t.init)==null?void 0:a.status)||500,void 0,t.data),statusCode:ES(t)?t.status:void 0,headers:(o=t.init)!=null&&o.headers?new Headers(t.init.headers):void 0}:{type:"error",error:t,statusCode:ES(t)?t.status:void 0}:oH(t)?{type:"data",data:t.data,statusCode:(s=t.init)==null?void 0:s.status,headers:(u=t.init)!=null&&u.headers?new Headers(t.init.headers):void 0}:{type:"data",data:t}}function NNe(e,t,r,n,i){let a=e.headers.get("Location");if(xn(a,"Redirects returned/thrown from loaders/actions must have a Location header"),!kL.test(a)){let o=n.slice(0,n.findIndex(s=>s.route.id===r)+1);a=S9(new URL(t.url),o,i,a),e.headers.set("Location",a)}return e}function eH(e,t,r){if(kL.test(e)){let n=e,i=n.startsWith("//")?new URL(t.protocol+n):new URL(n),a=mc(i.pathname,r)!=null;if(i.origin===t.origin&&a)return i.pathname+i.search+i.hash}return e}function K1(e,t,r,n){let i=e.createURL(tve(t)).toString(),a={signal:r};if(n&&Gc(n.formMethod)){let{formMethod:o,formEncType:s}=n;a.method=o.toUpperCase(),s==="application/json"?(a.headers=new Headers({"Content-Type":s}),a.body=JSON.stringify(n.json)):s==="text/plain"?a.body=n.text:s==="application/x-www-form-urlencoded"&&n.formData?a.body=$9(n.formData):a.body=n.formData}return new Request(i,a)}function $9(e){let t=new URLSearchParams;for(let[r,n]of e.entries())t.append(r,typeof n=="string"?n:n.name);return t}function tH(e){let t=new FormData;for(let[r,n]of e.entries())t.append(r,n);return t}function LNe(e,t,r,n=!1,i=!1){let a={},o=null,s,u=!1,l={},c=r&&Yc(r[1])?r[1].error:void 0;return e.forEach(f=>{if(!(f.route.id in t))return;let d=f.route.id,h=t[d];if(xn(!Kv(h),"Cannot handle redirect results in processLoaderData"),Yc(h)){let g=h.error;if(c!==void 0&&(g=c,c=void 0),o=o||{},i)o[d]=g;else{let m=zv(e,d);o[m.route.id]==null&&(o[m.route.id]=g)}n||(a[d]=Hge),u||(u=!0,s=ES(h.error)?h.error.status:500),h.headers&&(l[d]=h.headers)}else a[d]=h.data,h.statusCode&&h.statusCode!==200&&!u&&(s=h.statusCode),h.headers&&(l[d]=h.headers)}),c!==void 0&&r&&(o={[r[0]]:c},a[r[0]]=void 0),{loaderData:a,errors:o,statusCode:s||200,loaderHeaders:l}}function rH(e,t,r,n,i,a){let{loaderData:o,errors:s}=LNe(t,r,n);return i.filter(u=>!u.matches||u.matches.some(l=>l.shouldLoad)).forEach(u=>{let{key:l,match:c,controller:f}=u,d=a[l];if(xn(d,"Did not find corresponding fetcher result"),!(f&&f.signal.aborted))if(Yc(d)){let h=zv(e.matches,c==null?void 0:c.route.id);s&&s[h.route.id]||(s={...s,[h.route.id]:d.error}),e.fetchers.delete(l)}else if(Kv(d))xn(!1,"Unhandled fetcher revalidation redirect");else{let h=zm(d.data);e.fetchers.set(l,h)}}),{loaderData:o,errors:s}}function nH(e,t,r,n){let i=Object.entries(t).filter(([,a])=>a!==Hge).reduce((a,[o,s])=>(a[o]=s,a),{});for(let a of r){let o=a.route.id;if(!t.hasOwnProperty(o)&&e.hasOwnProperty(o)&&a.route.loader&&(i[o]=e[o]),n&&n.hasOwnProperty(o))break}return i}function iH(e){return e?Yc(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function zv(e,t){return(t?e.slice(0,e.findIndex(n=>n.route.id===t)+1):[...e]).reverse().find(n=>n.route.hasErrorBoundary===!0)||e[0]}function aH(e){let t=e.length===1?e[0]:e.find(r=>r.index||!r.path||r.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function Ff(e,{pathname:t,routeId:r,method:n,type:i,message:a}={}){let o="Unknown Server Error",s="Unknown @remix-run/router error";return e===400?(o="Bad Request",n&&t&&r?s=`You made a ${n} request to "${t}" but did not provide a \`loader\` for route "${r}", so there is no way to handle the request.`:i==="invalid-body"&&(s="Unable to encode submission body")):e===403?(o="Forbidden",s=`Route "${r}" does not match URL "${t}"`):e===404?(o="Not Found",s=`No route matches URL "${t}"`):e===405&&(o="Method Not Allowed",n&&t&&r?s=`You made a ${n.toUpperCase()} request to "${t}" but did not provide an \`action\` for route "${r}", so there is no way to handle the request.`:n&&(s=`Invalid request method "${n.toUpperCase()}"`)),new e4(e||500,o,new Error(s),!0)}function j3(e){let t=Object.entries(e);for(let r=t.length-1;r>=0;r--){let[n,i]=t[r];if(Kv(i))return{key:n,result:i}}}function tve(e){let t=typeof e=="string"?Bg(e):e;return Sg({...t,hash:""})}function zNe(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function QNe(e){return rve(e.result)&&wNe.has(e.result.status)}function Yc(e){return e.type==="error"}function Kv(e){return(e&&e.type)==="redirect"}function oH(e){return typeof e=="object"&&e!=null&&"type"in e&&"data"in e&&"init"in e&&e.type==="DataWithResponseInit"}function rve(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function BNe(e){return SNe.has(e.toUpperCase())}function Gc(e){return xNe.has(e.toUpperCase())}function TL(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function p_(e,t){let r=typeof t=="string"?Bg(t).search:t.search;if(e[e.length-1].route.index&&TL(r||""))return e[e.length-1];let n=Wge(e);return n[n.length-1]}function sH(e){let{formMethod:t,formAction:r,formEncType:n,text:i,formData:a,json:o}=e;if(!(!t||!r||!n)){if(i!=null)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:void 0,text:i};if(a!=null)return{formMethod:t,formAction:r,formEncType:n,formData:a,json:void 0,text:void 0};if(o!==void 0)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:o,text:void 0}}}function UT(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function qNe(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function Sx(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function UNe(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function zm(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function VNe(e,t){try{let r=e.sessionStorage.getItem(Kge);if(r){let n=JSON.parse(r);for(let[i,a]of Object.entries(n||{}))a&&Array.isArray(a)&&t.set(i,new Set(a||[]))}}catch{}}function jNe(e,t){if(t.size>0){let r={};for(let[n,i]of t)r[n]=[...i];try{e.sessionStorage.setItem(Kge,JSON.stringify(r))}catch(n){Wa(!1,`Failed to save applied view transitions in sessionStorage (${n}).`)}}}function WNe(){let e,t,r=new Promise((n,i)=>{e=async a=>{n(a);try{await r}catch{}},t=async a=>{i(a);try{await r}catch{}}});return{promise:r,resolve:e,reject:t}}var My=F.createContext(null);My.displayName="DataRouter";var hw=F.createContext(null);hw.displayName="DataRouterState";var AL=F.createContext({isTransitioning:!1});AL.displayName="ViewTransition";var nve=F.createContext(new Map);nve.displayName="Fetchers";var ZNe=F.createContext(null);ZNe.displayName="Await";var hh=F.createContext(null);hh.displayName="Navigation";var eC=F.createContext(null);eC.displayName="Location";var nd=F.createContext({outlet:null,matches:[],isDataRoute:!1});nd.displayName="Route";var FL=F.createContext(null);FL.displayName="RouteError";function KNe(e,{relative:t}={}){xn(yO(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:n}=F.useContext(hh),{hash:i,pathname:a,search:o}=pw(e,{relative:t}),s=a;return r!=="/"&&(s=a==="/"?r:dp([r,a])),n.createHref({pathname:s,search:o,hash:i})}function yO(){return F.useContext(eC)!=null}function em(){return xn(yO(),"useLocation() may be used only in the context of a <Router> component."),F.useContext(eC).location}var ive="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function ave(e){F.useContext(hh).static||F.useLayoutEffect(e)}function IL(){let{isDataRoute:e}=F.useContext(nd);return e?uLe():HNe()}function HNe(){xn(yO(),"useNavigate() may be used only in the context of a <Router> component.");let e=F.useContext(My),{basename:t,navigator:r}=F.useContext(hh),{matches:n}=F.useContext(nd),{pathname:i}=em(),a=JSON.stringify(X$(n)),o=F.useRef(!1);return ave(()=>{o.current=!0}),F.useCallback((u,l={})=>{if(Wa(o.current,ive),!o.current)return;if(typeof u=="number"){r.go(u);return}let c=J$(u,JSON.parse(a),i,l.relative==="path");e==null&&t!=="/"&&(c.pathname=c.pathname==="/"?t:dp([t,c.pathname])),(l.replace?r.replace:r.push)(c,l.state,l)},[t,r,a,i,e])}var YNe=F.createContext(null);function GNe(e){let t=F.useContext(nd).outlet;return t&&F.createElement(YNe.Provider,{value:e},t)}function Dpt(){let{matches:e}=F.useContext(nd),t=e[e.length-1];return t?t.params:{}}function pw(e,{relative:t}={}){let{matches:r}=F.useContext(nd),{pathname:n}=em(),i=JSON.stringify(X$(r));return F.useMemo(()=>J$(e,JSON.parse(i),n,t==="path"),[e,i,n,t])}function XNe(e,t,r,n){xn(yO(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:i,static:a}=F.useContext(hh),{matches:o}=F.useContext(nd),s=o[o.length-1],u=s?s.params:{},l=s?s.pathname:"/",c=s?s.pathnameBase:"/",f=s&&s.route;{let O=f&&f.path||"";ove(l,!f||O.endsWith("*")||O.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${l}" (under <Route path="${O}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
586
586
 
587
- Please change the parent <Route path="${O}"> to <Route path="${O==="/"?"*":`${O}/*`}">.`)}let d=em(),h;h=d;let g=h.pathname||"/",m=g;if(c!=="/"){let O=c.replace(/^\//,"").split("/");m="/"+g.replace(/^\//,"").split("/").slice(O.length).join("/")}let v=!a&&r&&r.matches&&r.matches.length>0?r.matches:Ym(e,{pathname:m});return Wa(f||v!=null,`No routes matched location "${h.pathname}${h.search}${h.hash}" `),Wa(v==null||v[v.length-1].route.element!==void 0||v[v.length-1].route.Component!==void 0||v[v.length-1].route.lazy!==void 0,`Matched leaf route at location "${h.pathname}${h.search}${h.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`),rLe(v&&v.map(O=>Object.assign({},O,{params:Object.assign({},u,O.params),pathname:dp([c,i.encodeLocation?i.encodeLocation(O.pathname).pathname:O.pathname]),pathnameBase:O.pathnameBase==="/"?c:dp([c,i.encodeLocation?i.encodeLocation(O.pathnameBase).pathname:O.pathnameBase])})),o,r,n)}function XNe(){let e=aLe(),t=ES(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,n="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:n},a={padding:"2px 4px",backgroundColor:n},o=null;return console.error("Error handled by React Router default ErrorBoundary:",e),o=F.createElement(F.Fragment,null,F.createElement("p",null,"💿 Hey developer 👋"),F.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",F.createElement("code",{style:a},"ErrorBoundary")," or"," ",F.createElement("code",{style:a},"errorElement")," prop on your route.")),F.createElement(F.Fragment,null,F.createElement("h2",null,"Unexpected Application Error!"),F.createElement("h3",{style:{fontStyle:"italic"}},t),r?F.createElement("pre",{style:i},r):null,o)}var JNe=F.createElement(XNe,null),eLe=class extends F.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error!==void 0?F.createElement(nd.Provider,{value:this.props.routeContext},F.createElement(FL.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function tLe({routeContext:e,match:t,children:r}){let n=F.useContext(My);return n&&n.static&&n.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(n.staticContext._deepestRenderedBoundaryId=t.route.id),F.createElement(nd.Provider,{value:e},r)}function rLe(e,t=[],r=null,n=null){if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let i=e,a=r==null?void 0:r.errors;if(a!=null){let u=i.findIndex(l=>l.route.id&&(a==null?void 0:a[l.route.id])!==void 0);xn(u>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`),i=i.slice(0,Math.min(i.length,u+1))}let o=!1,s=-1;if(r)for(let u=0;u<i.length;u++){let l=i[u];if((l.route.HydrateFallback||l.route.hydrateFallbackElement)&&(s=u),l.route.id){let{loaderData:c,errors:f}=r,d=l.route.loader&&!c.hasOwnProperty(l.route.id)&&(!f||f[l.route.id]===void 0);if(l.route.lazy||d){o=!0,s>=0?i=i.slice(0,s+1):i=[i[0]];break}}}return i.reduceRight((u,l,c)=>{let f,d=!1,h=null,g=null;r&&(f=a&&l.route.id?a[l.route.id]:void 0,h=l.route.errorElement||JNe,o&&(s<0&&c===0?(ove("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),d=!0,g=null):s===c&&(d=!0,g=l.route.hydrateFallbackElement||null)));let m=t.concat(i.slice(0,c+1)),v=()=>{let y;return f?y=h:d?y=g:l.route.Component?y=F.createElement(l.route.Component,null):l.route.element?y=l.route.element:y=u,F.createElement(tLe,{match:l,routeContext:{outlet:u,matches:m,isDataRoute:r!=null},children:y})};return r&&(l.route.ErrorBoundary||l.route.errorElement||c===0)?F.createElement(eLe,{location:r.location,revalidation:r.revalidation,component:h,error:f,children:v(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):v()},null)}function ML(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function NL(e){let t=F.useContext(My);return xn(t,ML(e)),t}function bO(e){let t=F.useContext(hw);return xn(t,ML(e)),t}function nLe(e){let t=F.useContext(nd);return xn(t,ML(e)),t}function tC(e){let t=nLe(e),r=t.matches[t.matches.length-1];return xn(r.route.id,`${e} can only be used on routes that contain a unique "id"`),r.route.id}function iLe(){return tC("useRouteId")}function Dpt(){let e=NL("useRevalidator"),t=bO("useRevalidator");return F.useMemo(()=>({async revalidate(){await e.router.revalidate()},state:t.revalidation}),[e.router,t.revalidation])}function Rpt(){let{matches:e,loaderData:t}=bO("useMatches");return F.useMemo(()=>e.map(r=>Uge(r,t)),[e,t])}function kpt(){let e=bO("useLoaderData"),t=tC("useLoaderData");return e.loaderData[t]}function Tpt(e){return bO("useRouteLoaderData").loaderData[e]}function aLe(){var n;let e=F.useContext(FL),t=bO("useRouteError"),r=tC("useRouteError");return e!==void 0?e:(n=t.errors)==null?void 0:n[r]}var oLe=0;function Apt(e){let{router:t,basename:r}=NL("useBlocker"),n=bO("useBlocker"),[i,a]=F.useState(""),o=F.useCallback(s=>{if(typeof e!="function")return!!e;if(r==="/")return e(s);let{currentLocation:u,nextLocation:l,historyAction:c}=s;return e({currentLocation:{...u,pathname:mc(u.pathname,r)||u.pathname},nextLocation:{...l,pathname:mc(l.pathname,r)||l.pathname},historyAction:c})},[r,e]);return F.useEffect(()=>{let s=String(++oLe);return a(s),()=>t.deleteBlocker(s)},[t]),F.useEffect(()=>{i!==""&&t.getBlocker(i,o)},[t,i,o]),i&&n.blockers.has(i)?n.blockers.get(i):Z1}function sLe(){let{router:e}=NL("useNavigate"),t=tC("useNavigate"),r=F.useRef(!1);return ave(()=>{r.current=!0}),F.useCallback(async(i,a={})=>{Wa(r.current,ive),r.current&&(typeof i=="number"?e.navigate(i):await e.navigate(i,{fromRouteId:t,...a}))},[e,t])}var uH={};function ove(e,t,r){!t&&!uH[e]&&(uH[e]=!0,Wa(!1,r))}var lH={};function cH(e,t){!e&&!lH[t]&&(lH[t]=!0,console.warn(t))}function uLe(e){let t={hasErrorBoundary:e.hasErrorBoundary||e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&(e.element&&Wa(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(t,{element:F.createElement(e.Component),Component:void 0})),e.HydrateFallback&&(e.hydrateFallbackElement&&Wa(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(t,{hydrateFallbackElement:F.createElement(e.HydrateFallback),HydrateFallback:void 0})),e.ErrorBoundary&&(e.errorElement&&Wa(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(t,{errorElement:F.createElement(e.ErrorBoundary),ErrorBoundary:void 0})),t}var lLe=["HydrateFallback","hydrateFallbackElement"],cLe=class{constructor(){this.status="pending",this.promise=new Promise((e,t)=>{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",e(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",t(r))}})}};function fLe({router:e,flushSync:t}){let[r,n]=F.useState(e.state),[i,a]=F.useState(),[o,s]=F.useState({isTransitioning:!1}),[u,l]=F.useState(),[c,f]=F.useState(),[d,h]=F.useState(),g=F.useRef(new Map),m=F.useCallback((x,{deletedFetchers:C,flushSync:w,viewTransitionOpts:E})=>{x.fetchers.forEach((P,L)=>{P.data!==void 0&&g.current.set(L,P.data)}),C.forEach(P=>g.current.delete(P)),cH(w===!1||t!=null,'You provided the `flushSync` option to a router update, but you are not using the `<RouterProvider>` from `react-router/dom` so `ReactDOM.flushSync()` is unavailable. Please update your app to `import { RouterProvider } from "react-router/dom"` and ensure you have `react-dom` installed as a dependency to use the `flushSync` option.');let T=e.window!=null&&e.window.document!=null&&typeof e.window.document.startViewTransition=="function";if(cH(E==null||T,"You provided the `viewTransition` option to a router update, but you do not appear to be running in a DOM environment as `window.startViewTransition` is not available."),!E||!T){t&&w?t(()=>n(x)):F.startTransition(()=>n(x));return}if(t&&w){t(()=>{c&&(u&&u.resolve(),c.skipTransition()),s({isTransitioning:!0,flushSync:!0,currentLocation:E.currentLocation,nextLocation:E.nextLocation})});let P=e.window.document.startViewTransition(()=>{t(()=>n(x))});P.finished.finally(()=>{t(()=>{l(void 0),f(void 0),a(void 0),s({isTransitioning:!1})})}),t(()=>f(P));return}c?(u&&u.resolve(),c.skipTransition(),h({state:x,currentLocation:E.currentLocation,nextLocation:E.nextLocation})):(a(x),s({isTransitioning:!0,flushSync:!1,currentLocation:E.currentLocation,nextLocation:E.nextLocation}))},[e.window,t,c,u]);F.useLayoutEffect(()=>e.subscribe(m),[e,m]),F.useEffect(()=>{o.isTransitioning&&!o.flushSync&&l(new cLe)},[o]),F.useEffect(()=>{if(u&&i&&e.window){let x=i,C=u.promise,w=e.window.document.startViewTransition(async()=>{F.startTransition(()=>n(x)),await C});w.finished.finally(()=>{l(void 0),f(void 0),a(void 0),s({isTransitioning:!1})}),f(w)}},[i,u,e.window]),F.useEffect(()=>{u&&i&&r.location.key===i.location.key&&u.resolve()},[u,c,r.location,i]),F.useEffect(()=>{!o.isTransitioning&&d&&(a(d.state),s({isTransitioning:!0,flushSync:!1,currentLocation:d.currentLocation,nextLocation:d.nextLocation}),h(void 0))},[o.isTransitioning,d]);let v=F.useMemo(()=>({createHref:e.createHref,encodeLocation:e.encodeLocation,go:x=>e.navigate(x),push:(x,C,w)=>e.navigate(x,{state:C,preventScrollReset:w==null?void 0:w.preventScrollReset}),replace:(x,C,w)=>e.navigate(x,{replace:!0,state:C,preventScrollReset:w==null?void 0:w.preventScrollReset})}),[e]),y=e.basename||"/",O=F.useMemo(()=>({router:e,navigator:v,static:!1,basename:y}),[e,v,y]);return F.createElement(F.Fragment,null,F.createElement(My.Provider,{value:O},F.createElement(hw.Provider,{value:r},F.createElement(nve.Provider,{value:g.current},F.createElement(AL.Provider,{value:o},F.createElement(mLe,{basename:y,location:r.location,navigationType:r.historyAction,navigator:v},F.createElement(dLe,{routes:e.routes,future:e.future,state:r})))))),null)}var dLe=F.memo(hLe);function hLe({routes:e,future:t,state:r}){return GNe(e,void 0,r,t)}function Fpt({to:e,replace:t,state:r,relative:n}){xn(yO(),"<Navigate> may be used only in the context of a <Router> component.");let{static:i}=F.useContext(hh);Wa(!i,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:a}=F.useContext(nd),{pathname:o}=em(),s=IL(),u=J$(e,X$(a),o,n==="path"),l=JSON.stringify(u);return F.useEffect(()=>{s(JSON.parse(l),{replace:t,state:r,relative:n})},[s,l,n,t,r]),null}function Ipt(e){return YNe(e.context)}function pLe(e){xn(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function mLe({basename:e="/",children:t=null,location:r,navigationType:n="POP",navigator:i,static:a=!1}){xn(!yO(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let o=e.replace(/^\/*/,"/"),s=F.useMemo(()=>({basename:o,navigator:i,static:a,future:{}}),[o,i,a]);typeof r=="string"&&(r=Bg(r));let{pathname:u="/",search:l="",hash:c="",state:f=null,key:d="default"}=r,h=F.useMemo(()=>{let g=mc(u,o);return g==null?null:{location:{pathname:g,search:l,hash:c,state:f,key:d},navigationType:n}},[o,u,l,c,f,d,n]);return Wa(h!=null,`<Router basename="${o}"> is not able to match the URL "${u}${l}${c}" because it does not start with the basename, so the <Router> won't render anything.`),h==null?null:F.createElement(hh.Provider,{value:s},F.createElement(eC.Provider,{children:t,value:h}))}function C9(e,t=[]){let r=[];return F.Children.forEach(e,(n,i)=>{if(!F.isValidElement(n))return;let a=[...t,i];if(n.type===F.Fragment){r.push.apply(r,C9(n.props.children,a));return}xn(n.type===pLe,`[${typeof n.type=="string"?n.type:n.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),xn(!n.props.index||!n.props.children,"An index route cannot have child routes.");let o={id:n.props.id||a.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,loader:n.props.loader,action:n.props.action,hydrateFallbackElement:n.props.hydrateFallbackElement,HydrateFallback:n.props.HydrateFallback,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.hasErrorBoundary===!0||n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&&(o.children=C9(n.props.children,a)),r.push(o)}),r}var Mpt=C9,qE="get",UE="application/x-www-form-urlencoded";function rC(e){return e!=null&&typeof e.tagName=="string"}function gLe(e){return rC(e)&&e.tagName.toLowerCase()==="button"}function vLe(e){return rC(e)&&e.tagName.toLowerCase()==="form"}function yLe(e){return rC(e)&&e.tagName.toLowerCase()==="input"}function bLe(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function OLe(e,t){return e.button===0&&(!t||t==="_self")&&!bLe(e)}function P9(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,r)=>{let n=e[r];return t.concat(Array.isArray(n)?n.map(i=>[r,i]):[[r,n]])},[]))}function xLe(e,t){let r=P9(e);return t&&t.forEach((n,i)=>{r.has(i)||t.getAll(i).forEach(a=>{r.append(i,a)})}),r}var W3=null;function _Le(){if(W3===null)try{new FormData(document.createElement("form"),0),W3=!1}catch{W3=!0}return W3}var SLe=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function VT(e){return e!=null&&!SLe.has(e)?(Wa(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${UE}"`),null):e}function wLe(e,t){let r,n,i,a,o;if(vLe(e)){let s=e.getAttribute("action");n=s?mc(s,t):null,r=e.getAttribute("method")||qE,i=VT(e.getAttribute("enctype"))||UE,a=new FormData(e)}else if(gLe(e)||yLe(e)&&(e.type==="submit"||e.type==="image")){let s=e.form;if(s==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let u=e.getAttribute("formaction")||s.getAttribute("action");if(n=u?mc(u,t):null,r=e.getAttribute("formmethod")||s.getAttribute("method")||qE,i=VT(e.getAttribute("formenctype"))||VT(s.getAttribute("enctype"))||UE,a=new FormData(s,e),!_Le()){let{name:l,type:c,value:f}=e;if(c==="image"){let d=l?`${l}.`:"";a.append(`${d}x`,"0"),a.append(`${d}y`,"0")}else l&&a.append(l,f)}}else{if(rC(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=qE,n=null,i=UE,o=e}return a&&i==="text/plain"&&(o=a,a=void 0),{action:n,method:r.toLowerCase(),encType:i,formData:a,body:o}}function LL(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}async function ELe(e,t){if(e.id in t)return t[e.id];try{let r=await import(e.module);return t[e.id]=r,r}catch(r){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(r),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function $Le(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function CLe(e,t,r){let n=await Promise.all(e.map(async i=>{let a=t.routes[i.route.id];if(a){let o=await ELe(a,r);return o.links?o.links():[]}return[]}));return kLe(n.flat(1).filter($Le).filter(i=>i.rel==="stylesheet"||i.rel==="preload").map(i=>i.rel==="stylesheet"?{...i,rel:"prefetch",as:"style"}:{...i,rel:"prefetch"}))}function fH(e,t,r,n,i,a){let o=(u,l)=>r[l]?u.route.id!==r[l].route.id:!0,s=(u,l)=>{var c;return r[l].pathname!==u.pathname||((c=r[l].route.path)==null?void 0:c.endsWith("*"))&&r[l].params["*"]!==u.params["*"]};return a==="assets"?t.filter((u,l)=>o(u,l)||s(u,l)):a==="data"?t.filter((u,l)=>{var f;let c=n.routes[u.route.id];if(!c||!c.hasLoader)return!1;if(o(u,l)||s(u,l))return!0;if(u.route.shouldRevalidate){let d=u.route.shouldRevalidate({currentUrl:new URL(i.pathname+i.search+i.hash,window.origin),currentParams:((f=r[0])==null?void 0:f.params)||{},nextUrl:new URL(e,window.origin),nextParams:u.params,defaultShouldRevalidate:!0});if(typeof d=="boolean")return d}return!0}):[]}function PLe(e,t,{includeHydrateFallback:r}={}){return DLe(e.map(n=>{let i=t.routes[n.route.id];if(!i)return[];let a=[i.module];return i.clientActionModule&&(a=a.concat(i.clientActionModule)),i.clientLoaderModule&&(a=a.concat(i.clientLoaderModule)),r&&i.hydrateFallbackModule&&(a=a.concat(i.hydrateFallbackModule)),i.imports&&(a=a.concat(i.imports)),a}).flat(1))}function DLe(e){return[...new Set(e)]}function RLe(e){let t={},r=Object.keys(e).sort();for(let n of r)t[n]=e[n];return t}function kLe(e,t){let r=new Set;return new Set(t),e.reduce((n,i)=>{let a=JSON.stringify(RLe(i));return r.has(a)||(r.add(a),n.push({key:a,link:i})),n},[])}var TLe=new Set([100,101,204,205]);function ALe(e,t){let r=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return r.pathname==="/"?r.pathname="_root.data":t&&mc(r.pathname,t)==="/"?r.pathname=`${t.replace(/\/$/,"")}/_root.data`:r.pathname=`${r.pathname.replace(/\/$/,"")}.data`,r}function sve(){let e=F.useContext(My);return LL(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function FLe(){let e=F.useContext(hw);return LL(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var zL=F.createContext(void 0);zL.displayName="FrameworkContext";function uve(){let e=F.useContext(zL);return LL(e,"You must render this element inside a <HydratedRouter> element"),e}function ILe(e,t){let r=F.useContext(zL),[n,i]=F.useState(!1),[a,o]=F.useState(!1),{onFocus:s,onBlur:u,onMouseEnter:l,onMouseLeave:c,onTouchStart:f}=t,d=F.useRef(null);F.useEffect(()=>{if(e==="render"&&o(!0),e==="viewport"){let m=y=>{y.forEach(O=>{o(O.isIntersecting)})},v=new IntersectionObserver(m,{threshold:.5});return d.current&&v.observe(d.current),()=>{v.disconnect()}}},[e]),F.useEffect(()=>{if(n){let m=setTimeout(()=>{o(!0)},100);return()=>{clearTimeout(m)}}},[n]);let h=()=>{i(!0)},g=()=>{i(!1),o(!1)};return r?e!=="intent"?[a,d,{}]:[a,d,{onFocus:wx(s,h),onBlur:wx(u,g),onMouseEnter:wx(l,h),onMouseLeave:wx(c,g),onTouchStart:wx(f,h)}]:[!1,d,{}]}function wx(e,t){return r=>{e&&e(r),r.defaultPrevented||t(r)}}function MLe({page:e,...t}){let{router:r}=sve(),n=F.useMemo(()=>Ym(r.routes,e,r.basename),[r.routes,e,r.basename]);return n?F.createElement(LLe,{page:e,matches:n,...t}):null}function NLe(e){let{manifest:t,routeModules:r}=uve(),[n,i]=F.useState([]);return F.useEffect(()=>{let a=!1;return CLe(e,t,r).then(o=>{a||i(o)}),()=>{a=!0}},[e,t,r]),n}function LLe({page:e,matches:t,...r}){let n=em(),{manifest:i,routeModules:a}=uve(),{basename:o}=sve(),{loaderData:s,matches:u}=FLe(),l=F.useMemo(()=>fH(e,t,u,i,n,"data"),[e,t,u,i,n]),c=F.useMemo(()=>fH(e,t,u,i,n,"assets"),[e,t,u,i,n]),f=F.useMemo(()=>{if(e===n.pathname+n.search+n.hash)return[];let g=new Set,m=!1;if(t.forEach(y=>{var x;let O=i.routes[y.route.id];!O||!O.hasLoader||(!l.some(C=>C.route.id===y.route.id)&&y.route.id in s&&((x=a[y.route.id])!=null&&x.shouldRevalidate)||O.hasClientLoader?m=!0:g.add(y.route.id))}),g.size===0)return[];let v=ALe(e,o);return m&&g.size>0&&v.searchParams.set("_routes",t.filter(y=>g.has(y.route.id)).map(y=>y.route.id).join(",")),[v.pathname+v.search]},[o,s,n,i,l,t,e,a]),d=F.useMemo(()=>PLe(c,i),[c,i]),h=NLe(c);return F.createElement(F.Fragment,null,f.map(g=>F.createElement("link",{key:g,rel:"prefetch",as:"fetch",href:g,...r})),d.map(g=>F.createElement("link",{key:g,rel:"modulepreload",href:g,...r})),h.map(({key:g,link:m})=>F.createElement("link",{key:g,...m})))}function zLe(...e){return t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})}}var lve=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{lve&&(window.__reactRouterVersion="7.5.2")}catch{}function Npt(e,t){return CNe({basename:t==null?void 0:t.basename,unstable_getContext:t==null?void 0:t.unstable_getContext,future:t==null?void 0:t.future,history:HMe({window:t==null?void 0:t.window}),hydrationData:(t==null?void 0:t.hydrationData)||QLe(),routes:e,mapRouteProperties:uLe,hydrationRouteProperties:lLe,dataStrategy:t==null?void 0:t.dataStrategy,patchRoutesOnNavigation:t==null?void 0:t.patchRoutesOnNavigation,window:t==null?void 0:t.window}).initialize()}function QLe(){let e=window==null?void 0:window.__staticRouterHydrationData;return e&&e.errors&&(e={...e,errors:BLe(e.errors)}),e}function BLe(e){if(!e)return null;let t=Object.entries(e),r={};for(let[n,i]of t)if(i&&i.__type==="RouteErrorResponse")r[n]=new e4(i.status,i.statusText,i.data,i.internal===!0);else if(i&&i.__type==="Error"){if(i.__subType){let a=window[i.__subType];if(typeof a=="function")try{let o=new a(i.message);o.stack="",r[n]=o}catch{}}if(r[n]==null){let a=new Error(i.message);a.stack="",r[n]=a}}else r[n]=i;return r}var cve=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,fve=F.forwardRef(function({onClick:t,discover:r="render",prefetch:n="none",relative:i,reloadDocument:a,replace:o,state:s,target:u,to:l,preventScrollReset:c,viewTransition:f,...d},h){let{basename:g}=F.useContext(hh),m=typeof l=="string"&&cve.test(l),v,y=!1;if(typeof l=="string"&&m&&(v=l,lve))try{let L=new URL(window.location.href),N=l.startsWith("//")?new URL(L.protocol+l):new URL(l),B=mc(N.pathname,g);N.origin===L.origin&&B!=null?l=B+N.search+N.hash:y=!0}catch{Wa(!1,`<Link to="${l}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let O=ZNe(l,{relative:i}),[x,C,w]=ILe(n,d),E=jLe(l,{replace:o,state:s,target:u,preventScrollReset:c,relative:i,viewTransition:f});function T(L){t&&t(L),L.defaultPrevented||E(L)}let P=F.createElement("a",{...d,...w,href:v||O,onClick:y||a?t:T,ref:zLe(h,C),target:u,"data-discover":!m&&r==="render"?"true":void 0});return x&&!m?F.createElement(F.Fragment,null,P,F.createElement(MLe,{page:O})):P});fve.displayName="Link";var qLe=F.forwardRef(function({"aria-current":t="page",caseSensitive:r=!1,className:n="",end:i=!1,style:a,to:o,viewTransition:s,children:u,...l},c){let f=pw(o,{relative:l.relative}),d=em(),h=F.useContext(hw),{navigator:g,basename:m}=F.useContext(hh),v=h!=null&&YLe(f)&&s===!0,y=g.encodeLocation?g.encodeLocation(f).pathname:f.pathname,O=d.pathname,x=h&&h.navigation&&h.navigation.location?h.navigation.location.pathname:null;r||(O=O.toLowerCase(),x=x?x.toLowerCase():null,y=y.toLowerCase()),x&&m&&(x=mc(x,m)||x);const C=y!=="/"&&y.endsWith("/")?y.length-1:y.length;let w=O===y||!i&&O.startsWith(y)&&O.charAt(C)==="/",E=x!=null&&(x===y||!i&&x.startsWith(y)&&x.charAt(y.length)==="/"),T={isActive:w,isPending:E,isTransitioning:v},P=w?t:void 0,L;typeof n=="function"?L=n(T):L=[n,w?"active":null,E?"pending":null,v?"transitioning":null].filter(Boolean).join(" ");let N=typeof a=="function"?a(T):a;return F.createElement(fve,{...l,"aria-current":P,className:L,ref:c,style:N,to:o,viewTransition:s},typeof u=="function"?u(T):u)});qLe.displayName="NavLink";var ULe=F.forwardRef(({discover:e="render",fetcherKey:t,navigate:r,reloadDocument:n,replace:i,state:a,method:o=qE,action:s,onSubmit:u,relative:l,preventScrollReset:c,viewTransition:f,...d},h)=>{let g=KLe(),m=HLe(s,{relative:l}),v=o.toLowerCase()==="get"?"get":"post",y=typeof s=="string"&&cve.test(s),O=x=>{if(u&&u(x),x.defaultPrevented)return;x.preventDefault();let C=x.nativeEvent.submitter,w=(C==null?void 0:C.getAttribute("formmethod"))||o;g(C||x.currentTarget,{fetcherKey:t,method:w,navigate:r,replace:i,state:a,relative:l,preventScrollReset:c,viewTransition:f})};return F.createElement("form",{ref:h,method:v,action:m,onSubmit:n?u:O,...d,"data-discover":!y&&e==="render"?"true":void 0})});ULe.displayName="Form";function VLe(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function dve(e){let t=F.useContext(My);return xn(t,VLe(e)),t}function jLe(e,{target:t,replace:r,state:n,preventScrollReset:i,relative:a,viewTransition:o}={}){let s=IL(),u=em(),l=pw(e,{relative:a});return F.useCallback(c=>{if(OLe(c,t)){c.preventDefault();let f=r!==void 0?r:Sg(u)===Sg(l);s(e,{replace:f,state:n,preventScrollReset:i,relative:a,viewTransition:o})}},[u,s,l,r,n,t,e,i,a,o])}function Lpt(e){Wa(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=F.useRef(P9(e)),r=F.useRef(!1),n=em(),i=F.useMemo(()=>xLe(n.search,r.current?null:t.current),[n.search]),a=IL(),o=F.useCallback((s,u)=>{const l=P9(typeof s=="function"?s(i):s);r.current=!0,a("?"+l,u)},[a,i]);return[i,o]}var WLe=0,ZLe=()=>`__${String(++WLe)}__`;function KLe(){let{router:e}=dve("useSubmit"),{basename:t}=F.useContext(hh),r=iLe();return F.useCallback(async(n,i={})=>{let{action:a,method:o,encType:s,formData:u,body:l}=wLe(n,t);if(i.navigate===!1){let c=i.fetcherKey||ZLe();await e.fetch(c,r,i.action||a,{preventScrollReset:i.preventScrollReset,formData:u,body:l,formMethod:i.method||o,formEncType:i.encType||s,flushSync:i.flushSync})}else await e.navigate(i.action||a,{preventScrollReset:i.preventScrollReset,formData:u,body:l,formMethod:i.method||o,formEncType:i.encType||s,replace:i.replace,state:i.state,fromRouteId:r,flushSync:i.flushSync,viewTransition:i.viewTransition})},[e,t,r])}function HLe(e,{relative:t}={}){let{basename:r}=F.useContext(hh),n=F.useContext(nd);xn(n,"useFormAction must be used inside a RouteContext");let[i]=n.matches.slice(-1),a={...pw(e||".",{relative:t})},o=em();if(e==null){a.search=o.search;let s=new URLSearchParams(a.search),u=s.getAll("index");if(u.some(c=>c==="")){s.delete("index"),u.filter(f=>f).forEach(f=>s.append("index",f));let c=s.toString();a.search=c?`?${c}`:""}}return(!e||e===".")&&i.route.index&&(a.search=a.search?a.search.replace(/^\?/,"?index&"):"?index"),r!=="/"&&(a.pathname=a.pathname==="/"?r:dp([r,a.pathname])),Sg(a)}function YLe(e,t={}){let r=F.useContext(AL);xn(r!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:n}=dve("useViewTransitionState"),i=pw(e,{relative:t.relative});if(!r.isTransitioning)return!1;let a=mc(r.currentLocation.pathname,n)||r.currentLocation.pathname,o=mc(r.nextLocation.pathname,n)||r.nextLocation.pathname;return J2(i.pathname,o)!=null||J2(i.pathname,a)!=null}new TextEncoder;[...TLe];var jT,dH;function GLe(){return dH||(dH=1,jT=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,r=[],n=0;n<e.rangeCount;n++)r.push(e.getRangeAt(n));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null;break}return e.removeAllRanges(),function(){e.type==="Caret"&&e.removeAllRanges(),e.rangeCount||r.forEach(function(i){e.addRange(i)}),t&&t.focus()}}),jT}var WT,hH;function XLe(){if(hH)return WT;hH=1;var e=GLe(),t={"text/plain":"Text","text/html":"Url",default:"Text"},r="Copy to clipboard: #{key}, Enter";function n(a){var o=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return a.replace(/#{\s*key\s*}/g,o)}function i(a,o){var s,u,l,c,f,d,h=!1;o||(o={}),s=o.debug||!1;try{l=e(),c=document.createRange(),f=document.getSelection(),d=document.createElement("span"),d.textContent=a,d.ariaHidden="true",d.style.all="unset",d.style.position="fixed",d.style.top=0,d.style.clip="rect(0, 0, 0, 0)",d.style.whiteSpace="pre",d.style.webkitUserSelect="text",d.style.MozUserSelect="text",d.style.msUserSelect="text",d.style.userSelect="text",d.addEventListener("copy",function(m){if(m.stopPropagation(),o.format)if(m.preventDefault(),typeof m.clipboardData>"u"){s&&console.warn("unable to use e.clipboardData"),s&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var v=t[o.format]||t.default;window.clipboardData.setData(v,a)}else m.clipboardData.clearData(),m.clipboardData.setData(o.format,a);o.onCopy&&(m.preventDefault(),o.onCopy(m.clipboardData))}),document.body.appendChild(d),c.selectNodeContents(d),f.addRange(c);var g=document.execCommand("copy");if(!g)throw new Error("copy command was unsuccessful");h=!0}catch(m){s&&console.error("unable to copy using execCommand: ",m),s&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(o.format||"text",a),o.onCopy&&o.onCopy(window.clipboardData),h=!0}catch(v){s&&console.error("unable to copy using clipboardData: ",v),s&&console.error("falling back to prompt"),u=n("message"in o?o.message:r),window.prompt(u,a)}}finally{f&&(typeof f.removeRange=="function"?f.removeRange(c):f.removeAllRanges()),d&&document.body.removeChild(d),l()}return h}return WT=i,WT}var JLe=XLe();const zpt=an(JLe),ZT=new Date,KT=new Date;function fs(e,t,r,n){function i(a){return e(a=arguments.length===0?new Date:new Date(+a)),a}return i.floor=a=>(e(a=new Date(+a)),a),i.ceil=a=>(e(a=new Date(a-1)),t(a,1),e(a),a),i.round=a=>{const o=i(a),s=i.ceil(a);return a-o<s-a?o:s},i.offset=(a,o)=>(t(a=new Date(+a),o==null?1:Math.floor(o)),a),i.range=(a,o,s)=>{const u=[];if(a=i.ceil(a),s=s==null?1:Math.floor(s),!(a<o)||!(s>0))return u;let l;do u.push(l=new Date(+a)),t(a,s),e(a);while(l<a&&a<o);return u},i.filter=a=>fs(o=>{if(o>=o)for(;e(o),!a(o);)o.setTime(o-1)},(o,s)=>{if(o>=o)if(s<0)for(;++s<=0;)for(;t(o,-1),!a(o););else for(;--s>=0;)for(;t(o,1),!a(o););}),r&&(i.count=(a,o)=>(ZT.setTime(+a),KT.setTime(+o),e(ZT),e(KT),Math.floor(r(ZT,KT))),i.every=a=>(a=Math.floor(a),!isFinite(a)||!(a>0)?null:a>1?i.filter(n?o=>n(o)%a===0:o=>i.count(0,o)%a===0):i)),i}const r4=fs(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);r4.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?fs(t=>{t.setTime(Math.floor(t/e)*e)},(t,r)=>{t.setTime(+t+r*e)},(t,r)=>(r-t)/e):r4);r4.range;const T0=1e3,Vf=T0*60,A0=Vf*60,U0=A0*24,QL=U0*7,pH=U0*30,HT=U0*365,Hv=fs(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*T0)},(e,t)=>(t-e)/T0,e=>e.getUTCSeconds());Hv.range;const BL=fs(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*T0)},(e,t)=>{e.setTime(+e+t*Vf)},(e,t)=>(t-e)/Vf,e=>e.getMinutes());BL.range;const qL=fs(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*Vf)},(e,t)=>(t-e)/Vf,e=>e.getUTCMinutes());qL.range;const UL=fs(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*T0-e.getMinutes()*Vf)},(e,t)=>{e.setTime(+e+t*A0)},(e,t)=>(t-e)/A0,e=>e.getHours());UL.range;const VL=fs(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*A0)},(e,t)=>(t-e)/A0,e=>e.getUTCHours());VL.range;const mw=fs(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Vf)/U0,e=>e.getDate()-1);mw.range;const nC=fs(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/U0,e=>e.getUTCDate()-1);nC.range;const hve=fs(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/U0,e=>Math.floor(e/U0));hve.range;function Ny(e){return fs(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(t,r)=>{t.setDate(t.getDate()+r*7)},(t,r)=>(r-t-(r.getTimezoneOffset()-t.getTimezoneOffset())*Vf)/QL)}const iC=Ny(0),n4=Ny(1),eze=Ny(2),tze=Ny(3),Wb=Ny(4),rze=Ny(5),nze=Ny(6);iC.range;n4.range;eze.range;tze.range;Wb.range;rze.range;nze.range;function Ly(e){return fs(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(t,r)=>{t.setUTCDate(t.getUTCDate()+r*7)},(t,r)=>(r-t)/QL)}const aC=Ly(0),i4=Ly(1),ize=Ly(2),aze=Ly(3),Zb=Ly(4),oze=Ly(5),sze=Ly(6);aC.range;i4.range;ize.range;aze.range;Zb.range;oze.range;sze.range;const jL=fs(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());jL.range;const WL=fs(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());WL.range;const V0=fs(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());V0.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:fs(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,r)=>{t.setFullYear(t.getFullYear()+r*e)});V0.range;const j0=fs(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());j0.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:fs(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,r)=>{t.setUTCFullYear(t.getUTCFullYear()+r*e)});j0.range;function lg(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function uze(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function ZL(e){let t,r,n;e.length!==2?(t=lg,r=(s,u)=>lg(e(s),u),n=(s,u)=>e(s)-u):(t=e===lg||e===uze?e:lze,r=e,n=e);function i(s,u,l=0,c=s.length){if(l<c){if(t(u,u)!==0)return c;do{const f=l+c>>>1;r(s[f],u)<0?l=f+1:c=f}while(l<c)}return l}function a(s,u,l=0,c=s.length){if(l<c){if(t(u,u)!==0)return c;do{const f=l+c>>>1;r(s[f],u)<=0?l=f+1:c=f}while(l<c)}return l}function o(s,u,l=0,c=s.length){const f=i(s,u,l,c-1);return f>l&&n(s[f-1],u)>-n(s[f],u)?f-1:f}return{left:i,center:o,right:a}}function lze(){return 0}function pve(e){return e===null?NaN:+e}function*cze(e,t){for(let r of e)r!=null&&(r=+r)>=r&&(yield r)}const fze=ZL(lg),gw=fze.right;ZL(pve).center;class mH extends Map{constructor(t,r=pze){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:r}}),t!=null)for(const[n,i]of t)this.set(n,i)}get(t){return super.get(gH(this,t))}has(t){return super.has(gH(this,t))}set(t,r){return super.set(dze(this,t),r)}delete(t){return super.delete(hze(this,t))}}function gH({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):r}function dze({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):(e.set(n,r),r)}function hze({_intern:e,_key:t},r){const n=t(r);return e.has(n)&&(r=e.get(n),e.delete(n)),r}function pze(e){return e!==null&&typeof e=="object"?e.valueOf():e}function mze(e=lg){if(e===lg)return mve;if(typeof e!="function")throw new TypeError("compare is not a function");return(t,r)=>{const n=e(t,r);return n||n===0?n:(e(r,r)===0)-(e(t,t)===0)}}function mve(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(e<t?-1:e>t?1:0)}const gze=Math.sqrt(50),vze=Math.sqrt(10),yze=Math.sqrt(2);function a4(e,t,r){const n=(t-e)/Math.max(0,r),i=Math.floor(Math.log10(n)),a=n/Math.pow(10,i),o=a>=gze?10:a>=vze?5:a>=yze?2:1;let s,u,l;return i<0?(l=Math.pow(10,-i)/o,s=Math.round(e*l),u=Math.round(t*l),s/l<e&&++s,u/l>t&&--u,l=-l):(l=Math.pow(10,i)*o,s=Math.round(e/l),u=Math.round(t/l),s*l<e&&++s,u*l>t&&--u),u<s&&.5<=r&&r<2?a4(e,t,r*2):[s,u,l]}function D9(e,t,r){if(t=+t,e=+e,r=+r,!(r>0))return[];if(e===t)return[e];const n=t<e,[i,a,o]=n?a4(t,e,r):a4(e,t,r);if(!(a>=i))return[];const s=a-i+1,u=new Array(s);if(n)if(o<0)for(let l=0;l<s;++l)u[l]=(a-l)/-o;else for(let l=0;l<s;++l)u[l]=(a-l)*o;else if(o<0)for(let l=0;l<s;++l)u[l]=(i+l)/-o;else for(let l=0;l<s;++l)u[l]=(i+l)*o;return u}function R9(e,t,r){return t=+t,e=+e,r=+r,a4(e,t,r)[2]}function k9(e,t,r){t=+t,e=+e,r=+r;const n=t<e,i=n?R9(t,e,r):R9(e,t,r);return(n?-1:1)*(i<0?1/-i:i)}function vH(e,t){let r;for(const n of e)n!=null&&(r<n||r===void 0&&n>=n)&&(r=n);return r}function yH(e,t){let r;for(const n of e)n!=null&&(r>n||r===void 0&&n>=n)&&(r=n);return r}function gve(e,t,r=0,n=1/0,i){if(t=Math.floor(t),r=Math.floor(Math.max(0,r)),n=Math.floor(Math.min(e.length-1,n)),!(r<=t&&t<=n))return e;for(i=i===void 0?mve:mze(i);n>r;){if(n-r>600){const u=n-r+1,l=t-r+1,c=Math.log(u),f=.5*Math.exp(2*c/3),d=.5*Math.sqrt(c*f*(u-f)/u)*(l-u/2<0?-1:1),h=Math.max(r,Math.floor(t-l*f/u+d)),g=Math.min(n,Math.floor(t+(u-l)*f/u+d));gve(e,t,h,g,i)}const a=e[t];let o=r,s=n;for(Ex(e,r,t),i(e[n],a)>0&&Ex(e,r,n);o<s;){for(Ex(e,o,s),++o,--s;i(e[o],a)<0;)++o;for(;i(e[s],a)>0;)--s}i(e[r],a)===0?Ex(e,r,s):(++s,Ex(e,s,n)),s<=t&&(r=s+1),t<=s&&(n=s-1)}return e}function Ex(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}function bze(e,t,r){if(e=Float64Array.from(cze(e)),!(!(n=e.length)||isNaN(t=+t))){if(t<=0||n<2)return yH(e);if(t>=1)return vH(e);var n,i=(n-1)*t,a=Math.floor(i),o=vH(gve(e,a).subarray(0,a+1)),s=yH(e.subarray(a+1));return o+(s-o)*(i-a)}}function Oze(e,t,r=pve){if(!(!(n=e.length)||isNaN(t=+t))){if(t<=0||n<2)return+r(e[0],0,e);if(t>=1)return+r(e[n-1],n-1,e);var n,i=(n-1)*t,a=Math.floor(i),o=+r(e[a],a,e),s=+r(e[a+1],a+1,e);return o+(s-o)*(i-a)}}function xze(e,t,r){e=+e,t=+t,r=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+r;for(var n=-1,i=Math.max(0,Math.ceil((t-e)/r))|0,a=new Array(i);++n<i;)a[n]=e+n*r;return a}function vve(e,t,r,n,i,a){const o=[[Hv,1,T0],[Hv,5,5*T0],[Hv,15,15*T0],[Hv,30,30*T0],[a,1,Vf],[a,5,5*Vf],[a,15,15*Vf],[a,30,30*Vf],[i,1,A0],[i,3,3*A0],[i,6,6*A0],[i,12,12*A0],[n,1,U0],[n,2,2*U0],[r,1,QL],[t,1,pH],[t,3,3*pH],[e,1,HT]];function s(l,c,f){const d=c<l;d&&([l,c]=[c,l]);const h=f&&typeof f.range=="function"?f:u(l,c,f),g=h?h.range(l,+c+1):[];return d?g.reverse():g}function u(l,c,f){const d=Math.abs(c-l)/f,h=ZL(([,,v])=>v).right(o,d);if(h===o.length)return e.every(k9(l/HT,c/HT,f));if(h===0)return r4.every(Math.max(k9(l,c,f),1));const[g,m]=o[d/o[h-1][2]<o[h][2]/d?h-1:h];return g.every(m)}return[s,u]}const[_ze,Sze]=vve(j0,WL,aC,hve,VL,qL),[wze,Eze]=vve(V0,jL,iC,mw,UL,BL);function YT(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function GT(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function $x(e,t,r){return{y:e,m:t,d:r,H:0,M:0,S:0,L:0}}function $ze(e){var t=e.dateTime,r=e.date,n=e.time,i=e.periods,a=e.days,o=e.shortDays,s=e.months,u=e.shortMonths,l=Cx(i),c=Px(i),f=Cx(a),d=Px(a),h=Cx(o),g=Px(o),m=Cx(s),v=Px(s),y=Cx(u),O=Px(u),x={a:V,A:I,b:q,B:M,c:null,d:wH,e:wH,f:Hze,g:aQe,G:sQe,H:Wze,I:Zze,j:Kze,L:yve,m:Yze,M:Gze,p:z,q:G,Q:CH,s:PH,S:Xze,u:Jze,U:eQe,V:tQe,w:rQe,W:nQe,x:null,X:null,y:iQe,Y:oQe,Z:uQe,"%":$H},C={a:K,A:te,b:ae,B:ie,c:null,d:EH,e:EH,f:dQe,g:_Qe,G:wQe,H:lQe,I:cQe,j:fQe,L:Ove,m:hQe,M:pQe,p:Se,q:pe,Q:CH,s:PH,S:mQe,u:gQe,U:vQe,V:yQe,w:bQe,W:OQe,x:null,X:null,y:xQe,Y:SQe,Z:EQe,"%":$H},w={a:N,A:B,b:j,B:A,c:H,d:_H,e:_H,f:qze,g:xH,G:OH,H:SH,I:SH,j:Lze,L:Bze,m:Nze,M:zze,p:L,q:Mze,Q:Vze,s:jze,S:Qze,u:kze,U:Tze,V:Aze,w:Rze,W:Fze,x:k,X:Q,y:xH,Y:OH,Z:Ize,"%":Uze};x.x=E(r,x),x.X=E(n,x),x.c=E(t,x),C.x=E(r,C),C.X=E(n,C),C.c=E(t,C);function E(xe,Oe){return function(me){var ne=[],se=-1,X=0,re=xe.length,he,ge,le;for(me instanceof Date||(me=new Date(+me));++se<re;)xe.charCodeAt(se)===37&&(ne.push(xe.slice(X,se)),(ge=bH[he=xe.charAt(++se)])!=null?he=xe.charAt(++se):ge=he==="e"?" ":"0",(le=Oe[he])&&(he=le(me,ge)),ne.push(he),X=se+1);return ne.push(xe.slice(X,se)),ne.join("")}}function T(xe,Oe){return function(me){var ne=$x(1900,void 0,1),se=P(ne,xe,me+="",0),X,re;if(se!=me.length)return null;if("Q"in ne)return new Date(ne.Q);if("s"in ne)return new Date(ne.s*1e3+("L"in ne?ne.L:0));if(Oe&&!("Z"in ne)&&(ne.Z=0),"p"in ne&&(ne.H=ne.H%12+ne.p*12),ne.m===void 0&&(ne.m="q"in ne?ne.q:0),"V"in ne){if(ne.V<1||ne.V>53)return null;"w"in ne||(ne.w=1),"Z"in ne?(X=GT($x(ne.y,0,1)),re=X.getUTCDay(),X=re>4||re===0?i4.ceil(X):i4(X),X=nC.offset(X,(ne.V-1)*7),ne.y=X.getUTCFullYear(),ne.m=X.getUTCMonth(),ne.d=X.getUTCDate()+(ne.w+6)%7):(X=YT($x(ne.y,0,1)),re=X.getDay(),X=re>4||re===0?n4.ceil(X):n4(X),X=mw.offset(X,(ne.V-1)*7),ne.y=X.getFullYear(),ne.m=X.getMonth(),ne.d=X.getDate()+(ne.w+6)%7)}else("W"in ne||"U"in ne)&&("w"in ne||(ne.w="u"in ne?ne.u%7:"W"in ne?1:0),re="Z"in ne?GT($x(ne.y,0,1)).getUTCDay():YT($x(ne.y,0,1)).getDay(),ne.m=0,ne.d="W"in ne?(ne.w+6)%7+ne.W*7-(re+5)%7:ne.w+ne.U*7-(re+6)%7);return"Z"in ne?(ne.H+=ne.Z/100|0,ne.M+=ne.Z%100,GT(ne)):YT(ne)}}function P(xe,Oe,me,ne){for(var se=0,X=Oe.length,re=me.length,he,ge;se<X;){if(ne>=re)return-1;if(he=Oe.charCodeAt(se++),he===37){if(he=Oe.charAt(se++),ge=w[he in bH?Oe.charAt(se++):he],!ge||(ne=ge(xe,me,ne))<0)return-1}else if(he!=me.charCodeAt(ne++))return-1}return ne}function L(xe,Oe,me){var ne=l.exec(Oe.slice(me));return ne?(xe.p=c.get(ne[0].toLowerCase()),me+ne[0].length):-1}function N(xe,Oe,me){var ne=h.exec(Oe.slice(me));return ne?(xe.w=g.get(ne[0].toLowerCase()),me+ne[0].length):-1}function B(xe,Oe,me){var ne=f.exec(Oe.slice(me));return ne?(xe.w=d.get(ne[0].toLowerCase()),me+ne[0].length):-1}function j(xe,Oe,me){var ne=y.exec(Oe.slice(me));return ne?(xe.m=O.get(ne[0].toLowerCase()),me+ne[0].length):-1}function A(xe,Oe,me){var ne=m.exec(Oe.slice(me));return ne?(xe.m=v.get(ne[0].toLowerCase()),me+ne[0].length):-1}function H(xe,Oe,me){return P(xe,t,Oe,me)}function k(xe,Oe,me){return P(xe,r,Oe,me)}function Q(xe,Oe,me){return P(xe,n,Oe,me)}function V(xe){return o[xe.getDay()]}function I(xe){return a[xe.getDay()]}function q(xe){return u[xe.getMonth()]}function M(xe){return s[xe.getMonth()]}function z(xe){return i[+(xe.getHours()>=12)]}function G(xe){return 1+~~(xe.getMonth()/3)}function K(xe){return o[xe.getUTCDay()]}function te(xe){return a[xe.getUTCDay()]}function ae(xe){return u[xe.getUTCMonth()]}function ie(xe){return s[xe.getUTCMonth()]}function Se(xe){return i[+(xe.getUTCHours()>=12)]}function pe(xe){return 1+~~(xe.getUTCMonth()/3)}return{format:function(xe){var Oe=E(xe+="",x);return Oe.toString=function(){return xe},Oe},parse:function(xe){var Oe=T(xe+="",!1);return Oe.toString=function(){return xe},Oe},utcFormat:function(xe){var Oe=E(xe+="",C);return Oe.toString=function(){return xe},Oe},utcParse:function(xe){var Oe=T(xe+="",!0);return Oe.toString=function(){return xe},Oe}}}var bH={"-":"",_:" ",0:"0"},ks=/^\s*\d+/,Cze=/^%/,Pze=/[\\^$*+?|[\]().{}]/g;function fi(e,t,r){var n=e<0?"-":"",i=(n?-e:e)+"",a=i.length;return n+(a<r?new Array(r-a+1).join(t)+i:i)}function Dze(e){return e.replace(Pze,"\\$&")}function Cx(e){return new RegExp("^(?:"+e.map(Dze).join("|")+")","i")}function Px(e){return new Map(e.map((t,r)=>[t.toLowerCase(),r]))}function Rze(e,t,r){var n=ks.exec(t.slice(r,r+1));return n?(e.w=+n[0],r+n[0].length):-1}function kze(e,t,r){var n=ks.exec(t.slice(r,r+1));return n?(e.u=+n[0],r+n[0].length):-1}function Tze(e,t,r){var n=ks.exec(t.slice(r,r+2));return n?(e.U=+n[0],r+n[0].length):-1}function Aze(e,t,r){var n=ks.exec(t.slice(r,r+2));return n?(e.V=+n[0],r+n[0].length):-1}function Fze(e,t,r){var n=ks.exec(t.slice(r,r+2));return n?(e.W=+n[0],r+n[0].length):-1}function OH(e,t,r){var n=ks.exec(t.slice(r,r+4));return n?(e.y=+n[0],r+n[0].length):-1}function xH(e,t,r){var n=ks.exec(t.slice(r,r+2));return n?(e.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function Ize(e,t,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(r,r+6));return n?(e.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function Mze(e,t,r){var n=ks.exec(t.slice(r,r+1));return n?(e.q=n[0]*3-3,r+n[0].length):-1}function Nze(e,t,r){var n=ks.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function _H(e,t,r){var n=ks.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function Lze(e,t,r){var n=ks.exec(t.slice(r,r+3));return n?(e.m=0,e.d=+n[0],r+n[0].length):-1}function SH(e,t,r){var n=ks.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function zze(e,t,r){var n=ks.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function Qze(e,t,r){var n=ks.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function Bze(e,t,r){var n=ks.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function qze(e,t,r){var n=ks.exec(t.slice(r,r+6));return n?(e.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function Uze(e,t,r){var n=Cze.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function Vze(e,t,r){var n=ks.exec(t.slice(r));return n?(e.Q=+n[0],r+n[0].length):-1}function jze(e,t,r){var n=ks.exec(t.slice(r));return n?(e.s=+n[0],r+n[0].length):-1}function wH(e,t){return fi(e.getDate(),t,2)}function Wze(e,t){return fi(e.getHours(),t,2)}function Zze(e,t){return fi(e.getHours()%12||12,t,2)}function Kze(e,t){return fi(1+mw.count(V0(e),e),t,3)}function yve(e,t){return fi(e.getMilliseconds(),t,3)}function Hze(e,t){return yve(e,t)+"000"}function Yze(e,t){return fi(e.getMonth()+1,t,2)}function Gze(e,t){return fi(e.getMinutes(),t,2)}function Xze(e,t){return fi(e.getSeconds(),t,2)}function Jze(e){var t=e.getDay();return t===0?7:t}function eQe(e,t){return fi(iC.count(V0(e)-1,e),t,2)}function bve(e){var t=e.getDay();return t>=4||t===0?Wb(e):Wb.ceil(e)}function tQe(e,t){return e=bve(e),fi(Wb.count(V0(e),e)+(V0(e).getDay()===4),t,2)}function rQe(e){return e.getDay()}function nQe(e,t){return fi(n4.count(V0(e)-1,e),t,2)}function iQe(e,t){return fi(e.getFullYear()%100,t,2)}function aQe(e,t){return e=bve(e),fi(e.getFullYear()%100,t,2)}function oQe(e,t){return fi(e.getFullYear()%1e4,t,4)}function sQe(e,t){var r=e.getDay();return e=r>=4||r===0?Wb(e):Wb.ceil(e),fi(e.getFullYear()%1e4,t,4)}function uQe(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+fi(t/60|0,"0",2)+fi(t%60,"0",2)}function EH(e,t){return fi(e.getUTCDate(),t,2)}function lQe(e,t){return fi(e.getUTCHours(),t,2)}function cQe(e,t){return fi(e.getUTCHours()%12||12,t,2)}function fQe(e,t){return fi(1+nC.count(j0(e),e),t,3)}function Ove(e,t){return fi(e.getUTCMilliseconds(),t,3)}function dQe(e,t){return Ove(e,t)+"000"}function hQe(e,t){return fi(e.getUTCMonth()+1,t,2)}function pQe(e,t){return fi(e.getUTCMinutes(),t,2)}function mQe(e,t){return fi(e.getUTCSeconds(),t,2)}function gQe(e){var t=e.getUTCDay();return t===0?7:t}function vQe(e,t){return fi(aC.count(j0(e)-1,e),t,2)}function xve(e){var t=e.getUTCDay();return t>=4||t===0?Zb(e):Zb.ceil(e)}function yQe(e,t){return e=xve(e),fi(Zb.count(j0(e),e)+(j0(e).getUTCDay()===4),t,2)}function bQe(e){return e.getUTCDay()}function OQe(e,t){return fi(i4.count(j0(e)-1,e),t,2)}function xQe(e,t){return fi(e.getUTCFullYear()%100,t,2)}function _Qe(e,t){return e=xve(e),fi(e.getUTCFullYear()%100,t,2)}function SQe(e,t){return fi(e.getUTCFullYear()%1e4,t,4)}function wQe(e,t){var r=e.getUTCDay();return e=r>=4||r===0?Zb(e):Zb.ceil(e),fi(e.getUTCFullYear()%1e4,t,4)}function EQe(){return"+0000"}function $H(){return"%"}function CH(e){return+e}function PH(e){return Math.floor(+e/1e3)}var C1,_ve,Sve;$Qe({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function $Qe(e){return C1=$ze(e),_ve=C1.format,C1.parse,Sve=C1.utcFormat,C1.utcParse,C1}var vw=e=>e.type==="checkbox",ob=e=>e instanceof Date,ul=e=>e==null;const wve=e=>typeof e=="object";var cs=e=>!ul(e)&&!Array.isArray(e)&&wve(e)&&!ob(e),Eve=e=>cs(e)&&e.target?vw(e.target)?e.target.checked:e.target.value:e,CQe=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,$ve=(e,t)=>e.has(CQe(t)),PQe=e=>{const t=e.constructor&&e.constructor.prototype;return cs(t)&&t.hasOwnProperty("isPrototypeOf")},KL=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function os(e){let t;const r=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(!(KL&&(e instanceof Blob||e instanceof FileList))&&(r||cs(e)))if(t=r?[]:{},!r&&!PQe(e))t=e;else for(const n in e)e.hasOwnProperty(n)&&(t[n]=os(e[n]));else return e;return t}var yw=e=>Array.isArray(e)?e.filter(Boolean):[],ia=e=>e===void 0,Lt=(e,t,r)=>{if(!t||!cs(e))return r;const n=yw(t.split(/[,[\].]+?/)).reduce((i,a)=>ul(i)?i:i[a],e);return ia(n)||n===e?ia(e[t])?r:e[t]:n},Xh=e=>typeof e=="boolean",HL=e=>/^\w*$/.test(e),Cve=e=>yw(e.replace(/["|']|\]/g,"").split(/\.|\[/)),Ai=(e,t,r)=>{let n=-1;const i=HL(t)?[t]:Cve(t),a=i.length,o=a-1;for(;++n<a;){const s=i[n];let u=r;if(n!==o){const l=e[s];u=cs(l)||Array.isArray(l)?l:isNaN(+i[n+1])?{}:[]}if(s==="__proto__")return;e[s]=u,e=e[s]}return e};const o4={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},Bf={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},s0={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},Pve=$e.createContext(null),oC=()=>$e.useContext(Pve),Qpt=e=>{const{children:t,...r}=e;return $e.createElement(Pve.Provider,{value:r},t)};var Dve=(e,t,r,n=!0)=>{const i={defaultValues:t._defaultValues};for(const a in e)Object.defineProperty(i,a,{get:()=>{const o=a;return t._proxyFormState[o]!==Bf.all&&(t._proxyFormState[o]=!n||Bf.all),r&&(r[o]=!0),e[o]}});return i},ic=e=>cs(e)&&!Object.keys(e).length,Rve=(e,t,r,n)=>{r(e);const{name:i,...a}=e;return ic(a)||Object.keys(a).length>=Object.keys(t).length||Object.keys(a).find(o=>t[o]===(!n||Bf.all))},fc=e=>Array.isArray(e)?e:[e],kve=(e,t,r)=>!e||!t||e===t||fc(e).some(n=>n&&(r?n===t:n.startsWith(t)||t.startsWith(n)));function sC(e){const t=$e.useRef(e);t.current=e,$e.useEffect(()=>{const r=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{r&&r.unsubscribe()}},[e.disabled])}function DQe(e){const t=oC(),{control:r=t.control,disabled:n,name:i,exact:a}=e||{},[o,s]=$e.useState(r._formState),u=$e.useRef(!0),l=$e.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),c=$e.useRef(i);return c.current=i,sC({disabled:n,next:f=>u.current&&kve(c.current,f.name,a)&&Rve(f,l.current,r._updateFormState)&&s({...r._formState,...f}),subject:r._subjects.state}),$e.useEffect(()=>(u.current=!0,l.current.isValid&&r._updateValid(!0),()=>{u.current=!1}),[r]),Dve(o,r,l.current,!1)}var ap=e=>typeof e=="string",Tve=(e,t,r,n,i)=>ap(e)?(n&&t.watch.add(e),Lt(r,e,i)):Array.isArray(e)?e.map(a=>(n&&t.watch.add(a),Lt(r,a))):(n&&(t.watchAll=!0),r);function RQe(e){const t=oC(),{control:r=t.control,name:n,defaultValue:i,disabled:a,exact:o}=e||{},s=$e.useRef(n);s.current=n,sC({disabled:a,subject:r._subjects.values,next:c=>{kve(s.current,c.name,o)&&l(os(Tve(s.current,r._names,c.values||r._formValues,!1,i)))}});const[u,l]=$e.useState(r._getWatch(n,i));return $e.useEffect(()=>r._removeUnmounted()),u}function kQe(e){const t=oC(),{name:r,disabled:n,control:i=t.control,shouldUnregister:a}=e,o=$ve(i._names.array,r),s=RQe({control:i,name:r,defaultValue:Lt(i._formValues,r,Lt(i._defaultValues,r,e.defaultValue)),exact:!0}),u=DQe({control:i,name:r}),l=$e.useRef(i.register(r,{...e.rules,value:s,...Xh(e.disabled)?{disabled:e.disabled}:{}}));return $e.useEffect(()=>{const c=i._options.shouldUnregister||a,f=(d,h)=>{const g=Lt(i._fields,d);g&&g._f&&(g._f.mount=h)};if(f(r,!0),c){const d=os(Lt(i._options.defaultValues,r));Ai(i._defaultValues,r,d),ia(Lt(i._formValues,r))&&Ai(i._formValues,r,d)}return()=>{(o?c&&!i._state.action:c)?i.unregister(r):f(r,!1)}},[r,i,o,a]),$e.useEffect(()=>{Lt(i._fields,r)&&i._updateDisabledField({disabled:n,fields:i._fields,name:r,value:Lt(i._fields,r)._f.value})},[n,r,i]),{field:{name:r,value:s,...Xh(n)||u.disabled?{disabled:u.disabled||n}:{},onChange:$e.useCallback(c=>l.current.onChange({target:{value:Eve(c),name:r},type:o4.CHANGE}),[r]),onBlur:$e.useCallback(()=>l.current.onBlur({target:{value:Lt(i._formValues,r),name:r},type:o4.BLUR}),[r,i]),ref:c=>{const f=Lt(i._fields,r);f&&c&&(f._f.ref={focus:()=>c.focus(),select:()=>c.select(),setCustomValidity:d=>c.setCustomValidity(d),reportValidity:()=>c.reportValidity()})}},formState:u,fieldState:Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!Lt(u.errors,r)},isDirty:{enumerable:!0,get:()=>!!Lt(u.dirtyFields,r)},isTouched:{enumerable:!0,get:()=>!!Lt(u.touchedFields,r)},isValidating:{enumerable:!0,get:()=>!!Lt(u.validatingFields,r)},error:{enumerable:!0,get:()=>Lt(u.errors,r)}})}}const Bpt=e=>e.render(kQe(e));var TQe=(e,t,r,n,i)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[n]:i||!0}}:{},Fm=()=>{const e=typeof performance>"u"?Date.now():performance.now()*1e3;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,t=>{const r=(Math.random()*16+e)%16|0;return(t=="x"?r:r&3|8).toString(16)})},XT=(e,t,r={})=>r.shouldFocus||ia(r.shouldFocus)?r.focusName||`${e}.${ia(r.focusIndex)?t:r.focusIndex}.`:"",P_=e=>({isOnSubmit:!e||e===Bf.onSubmit,isOnBlur:e===Bf.onBlur,isOnChange:e===Bf.onChange,isOnAll:e===Bf.all,isOnTouch:e===Bf.onTouched}),T9=(e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some(n=>e.startsWith(n)&&/^\.\w+/.test(e.slice(n.length))));const Eb=(e,t,r,n)=>{for(const i of r||Object.keys(e)){const a=Lt(e,i);if(a){const{_f:o,...s}=a;if(o){if(o.refs&&o.refs[0]&&t(o.refs[0],i)&&!n)break;if(o.ref&&t(o.ref,o.name)&&!n)break;Eb(s,t)}else cs(s)&&Eb(s,t)}}};var Ave=(e,t,r)=>{const n=fc(Lt(e,r));return Ai(n,"root",t[r]),Ai(e,r,n),e},YL=e=>e.type==="file",ag=e=>typeof e=="function",s4=e=>{if(!KL)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},VE=e=>ap(e),GL=e=>e.type==="radio",u4=e=>e instanceof RegExp;const DH={value:!1,isValid:!1},RH={value:!0,isValid:!0};var Fve=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter(r=>r&&r.checked&&!r.disabled).map(r=>r.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!ia(e[0].attributes.value)?ia(e[0].value)||e[0].value===""?RH:{value:e[0].value,isValid:!0}:RH:DH}return DH};const kH={isValid:!1,value:null};var Ive=e=>Array.isArray(e)?e.reduce((t,r)=>r&&r.checked&&!r.disabled?{isValid:!0,value:r.value}:t,kH):kH;function TH(e,t,r="validate"){if(VE(e)||Array.isArray(e)&&e.every(VE)||Xh(e)&&!e)return{type:r,message:VE(e)?e:"",ref:t}}var P1=e=>cs(e)&&!u4(e)?e:{value:e,message:""},A9=async(e,t,r,n,i)=>{const{ref:a,refs:o,required:s,maxLength:u,minLength:l,min:c,max:f,pattern:d,validate:h,name:g,valueAsNumber:m,mount:v,disabled:y}=e._f,O=Lt(t,g);if(!v||y)return{};const x=o?o[0]:a,C=j=>{n&&x.reportValidity&&(x.setCustomValidity(Xh(j)?"":j||""),x.reportValidity())},w={},E=GL(a),T=vw(a),P=E||T,L=(m||YL(a))&&ia(a.value)&&ia(O)||s4(a)&&a.value===""||O===""||Array.isArray(O)&&!O.length,N=TQe.bind(null,g,r,w),B=(j,A,H,k=s0.maxLength,Q=s0.minLength)=>{const V=j?A:H;w[g]={type:j?k:Q,message:V,ref:a,...N(j?k:Q,V)}};if(i?!Array.isArray(O)||!O.length:s&&(!P&&(L||ul(O))||Xh(O)&&!O||T&&!Fve(o).isValid||E&&!Ive(o).isValid)){const{value:j,message:A}=VE(s)?{value:!!s,message:s}:P1(s);if(j&&(w[g]={type:s0.required,message:A,ref:x,...N(s0.required,A)},!r))return C(A),w}if(!L&&(!ul(c)||!ul(f))){let j,A;const H=P1(f),k=P1(c);if(!ul(O)&&!isNaN(O)){const Q=a.valueAsNumber||O&&+O;ul(H.value)||(j=Q>H.value),ul(k.value)||(A=Q<k.value)}else{const Q=a.valueAsDate||new Date(O),V=M=>new Date(new Date().toDateString()+" "+M),I=a.type=="time",q=a.type=="week";ap(H.value)&&O&&(j=I?V(O)>V(H.value):q?O>H.value:Q>new Date(H.value)),ap(k.value)&&O&&(A=I?V(O)<V(k.value):q?O<k.value:Q<new Date(k.value))}if((j||A)&&(B(!!j,H.message,k.message,s0.max,s0.min),!r))return C(w[g].message),w}if((u||l)&&!L&&(ap(O)||i&&Array.isArray(O))){const j=P1(u),A=P1(l),H=!ul(j.value)&&O.length>+j.value,k=!ul(A.value)&&O.length<+A.value;if((H||k)&&(B(H,j.message,A.message),!r))return C(w[g].message),w}if(d&&!L&&ap(O)){const{value:j,message:A}=P1(d);if(u4(j)&&!O.match(j)&&(w[g]={type:s0.pattern,message:A,ref:a,...N(s0.pattern,A)},!r))return C(A),w}if(h){if(ag(h)){const j=await h(O,t),A=TH(j,x);if(A&&(w[g]={...A,...N(s0.validate,A.message)},!r))return C(A.message),w}else if(cs(h)){let j={};for(const A in h){if(!ic(j)&&!r)break;const H=TH(await h[A](O,t),x,A);H&&(j={...H,...N(A,H.message)},C(H.message),r&&(w[g]=j))}if(!ic(j)&&(w[g]={ref:x,...j},!r))return w}}return C(!0),w},JT=(e,t)=>[...e,...fc(t)],e6=e=>Array.isArray(e)?e.map(()=>{}):void 0;function t6(e,t,r){return[...e.slice(0,t),...fc(r),...e.slice(t)]}var r6=(e,t,r)=>Array.isArray(e)?(ia(e[r])&&(e[r]=void 0),e.splice(r,0,e.splice(t,1)[0]),e):[],n6=(e,t)=>[...fc(t),...fc(e)];function AQe(e,t){let r=0;const n=[...e];for(const i of t)n.splice(i-r,1),r++;return yw(n).length?n:[]}var i6=(e,t)=>ia(t)?[]:AQe(e,fc(t).sort((r,n)=>r-n)),a6=(e,t,r)=>{[e[t],e[r]]=[e[r],e[t]]};function FQe(e,t){const r=t.slice(0,-1).length;let n=0;for(;n<r;)e=ia(e)?n++:e[t[n++]];return e}function IQe(e){for(const t in e)if(e.hasOwnProperty(t)&&!ia(e[t]))return!1;return!0}function Mo(e,t){const r=Array.isArray(t)?t:HL(t)?[t]:Cve(t),n=r.length===1?e:FQe(e,r),i=r.length-1,a=r[i];return n&&delete n[a],i!==0&&(cs(n)&&ic(n)||Array.isArray(n)&&IQe(n))&&Mo(e,r.slice(0,-1)),e}var AH=(e,t,r)=>(e[t]=r,e);function qpt(e){const t=oC(),{control:r=t.control,name:n,keyName:i="id",shouldUnregister:a}=e,[o,s]=$e.useState(r._getFieldArray(n)),u=$e.useRef(r._getFieldArray(n).map(Fm)),l=$e.useRef(o),c=$e.useRef(n),f=$e.useRef(!1);c.current=n,l.current=o,r._names.array.add(n),e.rules&&r.register(n,e.rules),sC({next:({values:w,name:E})=>{if(E===c.current||!E){const T=Lt(w,c.current);Array.isArray(T)&&(s(T),u.current=T.map(Fm))}},subject:r._subjects.array});const d=$e.useCallback(w=>{f.current=!0,r._updateFieldArray(n,w)},[r,n]),h=(w,E)=>{const T=fc(os(w)),P=JT(r._getFieldArray(n),T);r._names.focus=XT(n,P.length-1,E),u.current=JT(u.current,T.map(Fm)),d(P),s(P),r._updateFieldArray(n,P,JT,{argA:e6(w)})},g=(w,E)=>{const T=fc(os(w)),P=n6(r._getFieldArray(n),T);r._names.focus=XT(n,0,E),u.current=n6(u.current,T.map(Fm)),d(P),s(P),r._updateFieldArray(n,P,n6,{argA:e6(w)})},m=w=>{const E=i6(r._getFieldArray(n),w);u.current=i6(u.current,w),d(E),s(E),r._updateFieldArray(n,E,i6,{argA:w})},v=(w,E,T)=>{const P=fc(os(E)),L=t6(r._getFieldArray(n),w,P);r._names.focus=XT(n,w,T),u.current=t6(u.current,w,P.map(Fm)),d(L),s(L),r._updateFieldArray(n,L,t6,{argA:w,argB:e6(E)})},y=(w,E)=>{const T=r._getFieldArray(n);a6(T,w,E),a6(u.current,w,E),d(T),s(T),r._updateFieldArray(n,T,a6,{argA:w,argB:E},!1)},O=(w,E)=>{const T=r._getFieldArray(n);r6(T,w,E),r6(u.current,w,E),d(T),s(T),r._updateFieldArray(n,T,r6,{argA:w,argB:E},!1)},x=(w,E)=>{const T=os(E),P=AH(r._getFieldArray(n),w,T);u.current=[...P].map((L,N)=>!L||N===w?Fm():u.current[N]),d(P),s([...P]),r._updateFieldArray(n,P,AH,{argA:w,argB:T},!0,!1)},C=w=>{const E=fc(os(w));u.current=E.map(Fm),d([...E]),s([...E]),r._updateFieldArray(n,[...E],T=>T,{},!0,!1)};return $e.useEffect(()=>{if(r._state.action=!1,T9(n,r._names)&&r._subjects.state.next({...r._formState}),f.current&&(!P_(r._options.mode).isOnSubmit||r._formState.isSubmitted))if(r._options.resolver)r._executeSchema([n]).then(w=>{const E=Lt(w.errors,n),T=Lt(r._formState.errors,n);(T?!E&&T.type||E&&(T.type!==E.type||T.message!==E.message):E&&E.type)&&(E?Ai(r._formState.errors,n,E):Mo(r._formState.errors,n),r._subjects.state.next({errors:r._formState.errors}))});else{const w=Lt(r._fields,n);w&&w._f&&!(P_(r._options.reValidateMode).isOnSubmit&&P_(r._options.mode).isOnSubmit)&&A9(w,r._formValues,r._options.criteriaMode===Bf.all,r._options.shouldUseNativeValidation,!0).then(E=>!ic(E)&&r._subjects.state.next({errors:Ave(r._formState.errors,E,n)}))}r._subjects.values.next({name:n,values:{...r._formValues}}),r._names.focus&&Eb(r._fields,(w,E)=>{if(r._names.focus&&E.startsWith(r._names.focus)&&w.focus)return w.focus(),1}),r._names.focus="",r._updateValid(),f.current=!1},[o,n,r]),$e.useEffect(()=>(!Lt(r._formValues,n)&&r._updateFieldArray(n),()=>{(r._options.shouldUnregister||a)&&r.unregister(n)}),[n,r,i,a]),{swap:$e.useCallback(y,[d,n,r]),move:$e.useCallback(O,[d,n,r]),prepend:$e.useCallback(g,[d,n,r]),append:$e.useCallback(h,[d,n,r]),remove:$e.useCallback(m,[d,n,r]),insert:$e.useCallback(v,[d,n,r]),update:$e.useCallback(x,[d,n,r]),replace:$e.useCallback(C,[d,n,r]),fields:$e.useMemo(()=>o.map((w,E)=>({...w,[i]:u.current[E]||Fm()})),[o,i])}}var o6=()=>{let e=[];return{get observers(){return e},next:i=>{for(const a of e)a.next&&a.next(i)},subscribe:i=>(e.push(i),{unsubscribe:()=>{e=e.filter(a=>a!==i)}}),unsubscribe:()=>{e=[]}}},l4=e=>ul(e)||!wve(e);function Yv(e,t){if(l4(e)||l4(t))return e===t;if(ob(e)&&ob(t))return e.getTime()===t.getTime();const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(const i of r){const a=e[i];if(!n.includes(i))return!1;if(i!=="ref"){const o=t[i];if(ob(a)&&ob(o)||cs(a)&&cs(o)||Array.isArray(a)&&Array.isArray(o)?!Yv(a,o):a!==o)return!1}}return!0}var Mve=e=>e.type==="select-multiple",MQe=e=>GL(e)||vw(e),s6=e=>s4(e)&&e.isConnected,Nve=e=>{for(const t in e)if(ag(e[t]))return!0;return!1};function c4(e,t={}){const r=Array.isArray(e);if(cs(e)||r)for(const n in e)Array.isArray(e[n])||cs(e[n])&&!Nve(e[n])?(t[n]=Array.isArray(e[n])?[]:{},c4(e[n],t[n])):ul(e[n])||(t[n]=!0);return t}function Lve(e,t,r){const n=Array.isArray(e);if(cs(e)||n)for(const i in e)Array.isArray(e[i])||cs(e[i])&&!Nve(e[i])?ia(t)||l4(r[i])?r[i]=Array.isArray(e[i])?c4(e[i],[]):{...c4(e[i])}:Lve(e[i],ul(t)?{}:t[i],r[i]):r[i]=!Yv(e[i],t[i]);return r}var Z3=(e,t)=>Lve(e,t,c4(t)),zve=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:n})=>ia(e)?e:t?e===""?NaN:e&&+e:r&&ap(e)?new Date(e):n?n(e):e;function u6(e){const t=e.ref;if(!(e.refs?e.refs.every(r=>r.disabled):t.disabled))return YL(t)?t.files:GL(t)?Ive(e.refs).value:Mve(t)?[...t.selectedOptions].map(({value:r})=>r):vw(t)?Fve(e.refs).value:zve(ia(t.value)?e.ref.value:t.value,e)}var NQe=(e,t,r,n)=>{const i={};for(const a of e){const o=Lt(t,a);o&&Ai(i,a,o._f)}return{criteriaMode:r,names:[...e],fields:i,shouldUseNativeValidation:n}},Dx=e=>ia(e)?e:u4(e)?e.source:cs(e)?u4(e.value)?e.value.source:e.value:e,LQe=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function FH(e,t,r){const n=Lt(e,r);if(n||HL(r))return{error:n,name:r};const i=r.split(".");for(;i.length;){const a=i.join("."),o=Lt(t,a),s=Lt(e,a);if(o&&!Array.isArray(o)&&r!==a)return{name:r};if(s&&s.type)return{name:a,error:s};i.pop()}return{name:r}}var zQe=(e,t,r,n,i)=>i.isOnAll?!1:!r&&i.isOnTouch?!(t||e):(r?n.isOnBlur:i.isOnBlur)?!e:(r?n.isOnChange:i.isOnChange)?e:!0,QQe=(e,t)=>!yw(Lt(e,t)).length&&Mo(e,t);const BQe={mode:Bf.onSubmit,reValidateMode:Bf.onChange,shouldFocusError:!0};function qQe(e={}){let t={...BQe,...e},r={submitCount:0,isDirty:!1,isLoading:ag(t.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1},n={},i=cs(t.defaultValues)||cs(t.values)?os(t.defaultValues||t.values)||{}:{},a=t.shouldUnregister?{}:os(i),o={action:!1,mount:!1,watch:!1},s={mount:new Set,unMount:new Set,array:new Set,watch:new Set},u,l=0;const c={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},f={values:o6(),array:o6(),state:o6()},d=P_(t.mode),h=P_(t.reValidateMode),g=t.criteriaMode===Bf.all,m=le=>ve=>{clearTimeout(l),l=setTimeout(le,ve)},v=async le=>{if(c.isValid||le){const ve=t.resolver?ic((await P()).errors):await N(n,!0);ve!==r.isValid&&f.state.next({isValid:ve})}},y=(le,ve)=>{(c.isValidating||c.validatingFields)&&((le||Array.from(s.mount)).forEach(_e=>{_e&&(ve?Ai(r.validatingFields,_e,ve):Mo(r.validatingFields,_e))}),f.state.next({validatingFields:r.validatingFields,isValidating:!ic(r.validatingFields)}))},O=(le,ve=[],_e,De,Te=!0,ke=!0)=>{if(De&&_e){if(o.action=!0,ke&&Array.isArray(Lt(n,le))){const Be=_e(Lt(n,le),De.argA,De.argB);Te&&Ai(n,le,Be)}if(ke&&Array.isArray(Lt(r.errors,le))){const Be=_e(Lt(r.errors,le),De.argA,De.argB);Te&&Ai(r.errors,le,Be),QQe(r.errors,le)}if(c.touchedFields&&ke&&Array.isArray(Lt(r.touchedFields,le))){const Be=_e(Lt(r.touchedFields,le),De.argA,De.argB);Te&&Ai(r.touchedFields,le,Be)}c.dirtyFields&&(r.dirtyFields=Z3(i,a)),f.state.next({name:le,isDirty:j(le,ve),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else Ai(a,le,ve)},x=(le,ve)=>{Ai(r.errors,le,ve),f.state.next({errors:r.errors})},C=le=>{r.errors=le,f.state.next({errors:r.errors,isValid:!1})},w=(le,ve,_e,De)=>{const Te=Lt(n,le);if(Te){const ke=Lt(a,le,ia(_e)?Lt(i,le):_e);ia(ke)||De&&De.defaultChecked||ve?Ai(a,le,ve?ke:u6(Te._f)):k(le,ke),o.mount&&v()}},E=(le,ve,_e,De,Te)=>{let ke=!1,Be=!1;const rt={name:le},Le=!!(Lt(n,le)&&Lt(n,le)._f&&Lt(n,le)._f.disabled);if(!_e||De){c.isDirty&&(Be=r.isDirty,r.isDirty=rt.isDirty=j(),ke=Be!==rt.isDirty);const Ve=Le||Yv(Lt(i,le),ve);Be=!!(!Le&&Lt(r.dirtyFields,le)),Ve||Le?Mo(r.dirtyFields,le):Ai(r.dirtyFields,le,!0),rt.dirtyFields=r.dirtyFields,ke=ke||c.dirtyFields&&Be!==!Ve}if(_e){const Ve=Lt(r.touchedFields,le);Ve||(Ai(r.touchedFields,le,_e),rt.touchedFields=r.touchedFields,ke=ke||c.touchedFields&&Ve!==_e)}return ke&&Te&&f.state.next(rt),ke?rt:{}},T=(le,ve,_e,De)=>{const Te=Lt(r.errors,le),ke=c.isValid&&Xh(ve)&&r.isValid!==ve;if(e.delayError&&_e?(u=m(()=>x(le,_e)),u(e.delayError)):(clearTimeout(l),u=null,_e?Ai(r.errors,le,_e):Mo(r.errors,le)),(_e?!Yv(Te,_e):Te)||!ic(De)||ke){const Be={...De,...ke&&Xh(ve)?{isValid:ve}:{},errors:r.errors,name:le};r={...r,...Be},f.state.next(Be)}},P=async le=>{y(le,!0);const ve=await t.resolver(a,t.context,NQe(le||s.mount,n,t.criteriaMode,t.shouldUseNativeValidation));return y(le),ve},L=async le=>{const{errors:ve}=await P(le);if(le)for(const _e of le){const De=Lt(ve,_e);De?Ai(r.errors,_e,De):Mo(r.errors,_e)}else r.errors=ve;return ve},N=async(le,ve,_e={valid:!0})=>{for(const De in le){const Te=le[De];if(Te){const{_f:ke,...Be}=Te;if(ke){const rt=s.array.has(ke.name);y([De],!0);const Le=await A9(Te,a,g,t.shouldUseNativeValidation&&!ve,rt);if(y([De]),Le[ke.name]&&(_e.valid=!1,ve))break;!ve&&(Lt(Le,ke.name)?rt?Ave(r.errors,Le,ke.name):Ai(r.errors,ke.name,Le[ke.name]):Mo(r.errors,ke.name))}Be&&await N(Be,ve,_e)}}return _e.valid},B=()=>{for(const le of s.unMount){const ve=Lt(n,le);ve&&(ve._f.refs?ve._f.refs.every(_e=>!s6(_e)):!s6(ve._f.ref))&&ie(le)}s.unMount=new Set},j=(le,ve)=>(le&&ve&&Ai(a,le,ve),!Yv(z(),i)),A=(le,ve,_e)=>Tve(le,s,{...o.mount?a:ia(ve)?i:ap(le)?{[le]:ve}:ve},_e,ve),H=le=>yw(Lt(o.mount?a:i,le,e.shouldUnregister?Lt(i,le,[]):[])),k=(le,ve,_e={})=>{const De=Lt(n,le);let Te=ve;if(De){const ke=De._f;ke&&(!ke.disabled&&Ai(a,le,zve(ve,ke)),Te=s4(ke.ref)&&ul(ve)?"":ve,Mve(ke.ref)?[...ke.ref.options].forEach(Be=>Be.selected=Te.includes(Be.value)):ke.refs?vw(ke.ref)?ke.refs.length>1?ke.refs.forEach(Be=>(!Be.defaultChecked||!Be.disabled)&&(Be.checked=Array.isArray(Te)?!!Te.find(rt=>rt===Be.value):Te===Be.value)):ke.refs[0]&&(ke.refs[0].checked=!!Te):ke.refs.forEach(Be=>Be.checked=Be.value===Te):YL(ke.ref)?ke.ref.value="":(ke.ref.value=Te,ke.ref.type||f.values.next({name:le,values:{...a}})))}(_e.shouldDirty||_e.shouldTouch)&&E(le,Te,_e.shouldTouch,_e.shouldDirty,!0),_e.shouldValidate&&M(le)},Q=(le,ve,_e)=>{for(const De in ve){const Te=ve[De],ke=`${le}.${De}`,Be=Lt(n,ke);(s.array.has(le)||!l4(Te)||Be&&!Be._f)&&!ob(Te)?Q(ke,Te,_e):k(ke,Te,_e)}},V=(le,ve,_e={})=>{const De=Lt(n,le),Te=s.array.has(le),ke=os(ve);Ai(a,le,ke),Te?(f.array.next({name:le,values:{...a}}),(c.isDirty||c.dirtyFields)&&_e.shouldDirty&&f.state.next({name:le,dirtyFields:Z3(i,a),isDirty:j(le,ke)})):De&&!De._f&&!ul(ke)?Q(le,ke,_e):k(le,ke,_e),T9(le,s)&&f.state.next({...r}),f.values.next({name:o.mount?le:void 0,values:{...a}})},I=async le=>{o.mount=!0;const ve=le.target;let _e=ve.name,De=!0;const Te=Lt(n,_e),ke=()=>ve.type?u6(Te._f):Eve(le),Be=rt=>{De=Number.isNaN(rt)||rt===Lt(a,_e,rt)};if(Te){let rt,Le;const Ve=ke(),at=le.type===o4.BLUR||le.type===o4.FOCUS_OUT,bt=!LQe(Te._f)&&!t.resolver&&!Lt(r.errors,_e)&&!Te._f.deps||zQe(at,Lt(r.touchedFields,_e),r.isSubmitted,h,d),_t=T9(_e,s,at);Ai(a,_e,Ve),at?(Te._f.onBlur&&Te._f.onBlur(le),u&&u(0)):Te._f.onChange&&Te._f.onChange(le);const pt=E(_e,Ve,at,!1),Mt=!ic(pt)||_t;if(!at&&f.values.next({name:_e,type:le.type,values:{...a}}),bt)return c.isValid&&v(),Mt&&f.state.next({name:_e,..._t?{}:pt});if(!at&&_t&&f.state.next({...r}),t.resolver){const{errors:zt}=await P([_e]);if(Be(Ve),De){const Gt=FH(r.errors,n,_e),Ie=FH(zt,n,Gt.name||_e);rt=Ie.error,_e=Ie.name,Le=ic(zt)}}else y([_e],!0),rt=(await A9(Te,a,g,t.shouldUseNativeValidation))[_e],y([_e]),Be(Ve),De&&(rt?Le=!1:c.isValid&&(Le=await N(n,!0)));De&&(Te._f.deps&&M(Te._f.deps),T(_e,Le,rt,pt))}},q=(le,ve)=>{if(Lt(r.errors,ve)&&le.focus)return le.focus(),1},M=async(le,ve={})=>{let _e,De;const Te=fc(le);if(t.resolver){const ke=await L(ia(le)?le:Te);_e=ic(ke),De=le?!Te.some(Be=>Lt(ke,Be)):_e}else le?(De=(await Promise.all(Te.map(async ke=>{const Be=Lt(n,ke);return await N(Be&&Be._f?{[ke]:Be}:Be)}))).every(Boolean),!(!De&&!r.isValid)&&v()):De=_e=await N(n);return f.state.next({...!ap(le)||c.isValid&&_e!==r.isValid?{}:{name:le},...t.resolver||!le?{isValid:_e}:{},errors:r.errors}),ve.shouldFocus&&!De&&Eb(n,q,le?Te:s.mount),De},z=le=>{const ve={...o.mount?a:i};return ia(le)?ve:ap(le)?Lt(ve,le):le.map(_e=>Lt(ve,_e))},G=(le,ve)=>({invalid:!!Lt((ve||r).errors,le),isDirty:!!Lt((ve||r).dirtyFields,le),error:Lt((ve||r).errors,le),isValidating:!!Lt(r.validatingFields,le),isTouched:!!Lt((ve||r).touchedFields,le)}),K=le=>{le&&fc(le).forEach(ve=>Mo(r.errors,ve)),f.state.next({errors:le?r.errors:{}})},te=(le,ve,_e)=>{const De=(Lt(n,le,{_f:{}})._f||{}).ref,Te=Lt(r.errors,le)||{},{ref:ke,message:Be,type:rt,...Le}=Te;Ai(r.errors,le,{...Le,...ve,ref:De}),f.state.next({name:le,errors:r.errors,isValid:!1}),_e&&_e.shouldFocus&&De&&De.focus&&De.focus()},ae=(le,ve)=>ag(le)?f.values.subscribe({next:_e=>le(A(void 0,ve),_e)}):A(le,ve,!0),ie=(le,ve={})=>{for(const _e of le?fc(le):s.mount)s.mount.delete(_e),s.array.delete(_e),ve.keepValue||(Mo(n,_e),Mo(a,_e)),!ve.keepError&&Mo(r.errors,_e),!ve.keepDirty&&Mo(r.dirtyFields,_e),!ve.keepTouched&&Mo(r.touchedFields,_e),!ve.keepIsValidating&&Mo(r.validatingFields,_e),!t.shouldUnregister&&!ve.keepDefaultValue&&Mo(i,_e);f.values.next({values:{...a}}),f.state.next({...r,...ve.keepDirty?{isDirty:j()}:{}}),!ve.keepIsValid&&v()},Se=({disabled:le,name:ve,field:_e,fields:De,value:Te})=>{if(Xh(le)&&o.mount||le){const ke=le?void 0:ia(Te)?u6(_e?_e._f:Lt(De,ve)._f):Te;Ai(a,ve,ke),E(ve,ke,!1,!1,!0)}},pe=(le,ve={})=>{let _e=Lt(n,le);const De=Xh(ve.disabled);return Ai(n,le,{..._e||{},_f:{..._e&&_e._f?_e._f:{ref:{name:le}},name:le,mount:!0,...ve}}),s.mount.add(le),_e?Se({field:_e,disabled:ve.disabled,name:le,value:ve.value}):w(le,!0,ve.value),{...De?{disabled:ve.disabled}:{},...t.progressive?{required:!!ve.required,min:Dx(ve.min),max:Dx(ve.max),minLength:Dx(ve.minLength),maxLength:Dx(ve.maxLength),pattern:Dx(ve.pattern)}:{},name:le,onChange:I,onBlur:I,ref:Te=>{if(Te){pe(le,ve),_e=Lt(n,le);const ke=ia(Te.value)&&Te.querySelectorAll&&Te.querySelectorAll("input,select,textarea")[0]||Te,Be=MQe(ke),rt=_e._f.refs||[];if(Be?rt.find(Le=>Le===ke):ke===_e._f.ref)return;Ai(n,le,{_f:{..._e._f,...Be?{refs:[...rt.filter(s6),ke,...Array.isArray(Lt(i,le))?[{}]:[]],ref:{type:ke.type,name:le}}:{ref:ke}}}),w(le,!1,void 0,ke)}else _e=Lt(n,le,{}),_e._f&&(_e._f.mount=!1),(t.shouldUnregister||ve.shouldUnregister)&&!($ve(s.array,le)&&o.action)&&s.unMount.add(le)}}},xe=()=>t.shouldFocusError&&Eb(n,q,s.mount),Oe=le=>{Xh(le)&&(f.state.next({disabled:le}),Eb(n,(ve,_e)=>{const De=Lt(n,_e);De&&(ve.disabled=De._f.disabled||le,Array.isArray(De._f.refs)&&De._f.refs.forEach(Te=>{Te.disabled=De._f.disabled||le}))},0,!1))},me=(le,ve)=>async _e=>{let De;_e&&(_e.preventDefault&&_e.preventDefault(),_e.persist&&_e.persist());let Te=os(a);if(f.state.next({isSubmitting:!0}),t.resolver){const{errors:ke,values:Be}=await P();r.errors=ke,Te=Be}else await N(n);if(Mo(r.errors,"root"),ic(r.errors)){f.state.next({errors:{}});try{await le(Te,_e)}catch(ke){De=ke}}else ve&&await ve({...r.errors},_e),xe(),setTimeout(xe);if(f.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:ic(r.errors)&&!De,submitCount:r.submitCount+1,errors:r.errors}),De)throw De},ne=(le,ve={})=>{Lt(n,le)&&(ia(ve.defaultValue)?V(le,os(Lt(i,le))):(V(le,ve.defaultValue),Ai(i,le,os(ve.defaultValue))),ve.keepTouched||Mo(r.touchedFields,le),ve.keepDirty||(Mo(r.dirtyFields,le),r.isDirty=ve.defaultValue?j(le,os(Lt(i,le))):j()),ve.keepError||(Mo(r.errors,le),c.isValid&&v()),f.state.next({...r}))},se=(le,ve={})=>{const _e=le?os(le):i,De=os(_e),Te=ic(le),ke=Te?i:De;if(ve.keepDefaultValues||(i=_e),!ve.keepValues){if(ve.keepDirtyValues)for(const Be of s.mount)Lt(r.dirtyFields,Be)?Ai(ke,Be,Lt(a,Be)):V(Be,Lt(ke,Be));else{if(KL&&ia(le))for(const Be of s.mount){const rt=Lt(n,Be);if(rt&&rt._f){const Le=Array.isArray(rt._f.refs)?rt._f.refs[0]:rt._f.ref;if(s4(Le)){const Ve=Le.closest("form");if(Ve){Ve.reset();break}}}}n={}}a=e.shouldUnregister?ve.keepDefaultValues?os(i):{}:os(ke),f.array.next({values:{...ke}}),f.values.next({values:{...ke}})}s={mount:ve.keepDirtyValues?s.mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},o.mount=!c.isValid||!!ve.keepIsValid||!!ve.keepDirtyValues,o.watch=!!e.shouldUnregister,f.state.next({submitCount:ve.keepSubmitCount?r.submitCount:0,isDirty:Te?!1:ve.keepDirty?r.isDirty:!!(ve.keepDefaultValues&&!Yv(le,i)),isSubmitted:ve.keepIsSubmitted?r.isSubmitted:!1,dirtyFields:Te?{}:ve.keepDirtyValues?ve.keepDefaultValues&&a?Z3(i,a):r.dirtyFields:ve.keepDefaultValues&&le?Z3(i,le):ve.keepDirty?r.dirtyFields:{},touchedFields:ve.keepTouched?r.touchedFields:{},errors:ve.keepErrors?r.errors:{},isSubmitSuccessful:ve.keepIsSubmitSuccessful?r.isSubmitSuccessful:!1,isSubmitting:!1})},X=(le,ve)=>se(ag(le)?le(a):le,ve);return{control:{register:pe,unregister:ie,getFieldState:G,handleSubmit:me,setError:te,_executeSchema:P,_getWatch:A,_getDirty:j,_updateValid:v,_removeUnmounted:B,_updateFieldArray:O,_updateDisabledField:Se,_getFieldArray:H,_reset:se,_resetDefaultValues:()=>ag(t.defaultValues)&&t.defaultValues().then(le=>{X(le,t.resetOptions),f.state.next({isLoading:!1})}),_updateFormState:le=>{r={...r,...le}},_disableForm:Oe,_subjects:f,_proxyFormState:c,_setErrors:C,get _fields(){return n},get _formValues(){return a},get _state(){return o},set _state(le){o=le},get _defaultValues(){return i},get _names(){return s},set _names(le){s=le},get _formState(){return r},set _formState(le){r=le},get _options(){return t},set _options(le){t={...t,...le}}},trigger:M,register:pe,handleSubmit:me,watch:ae,setValue:V,getValues:z,reset:X,resetField:ne,clearErrors:K,unregister:ie,setError:te,setFocus:(le,ve={})=>{const _e=Lt(n,le),De=_e&&_e._f;if(De){const Te=De.refs?De.refs[0]:De.ref;Te.focus&&(Te.focus(),ve.shouldSelect&&Te.select())}},getFieldState:G}}function Upt(e={}){const t=$e.useRef(),r=$e.useRef(),[n,i]=$e.useState({isDirty:!1,isValidating:!1,isLoading:ag(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:ag(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...qQe(e),formState:n});const a=t.current.control;return a._options=e,sC({subject:a._subjects.state,next:o=>{Rve(o,a._proxyFormState,a._updateFormState,!0)&&i({...a._formState})}}),$e.useEffect(()=>a._disableForm(e.disabled),[a,e.disabled]),$e.useEffect(()=>{if(a._proxyFormState.isDirty){const o=a._getDirty();o!==n.isDirty&&a._subjects.state.next({isDirty:o})}},[a,n.isDirty]),$e.useEffect(()=>{e.values&&!Yv(e.values,r.current)?(a._reset(e.values,a._options.resetOptions),r.current=e.values,i(o=>({...o}))):a._resetDefaultValues()},[e.values,a]),$e.useEffect(()=>{e.errors&&a._setErrors(e.errors)},[e.errors,a]),$e.useEffect(()=>{a._state.mount||(a._updateValid(),a._state.mount=!0),a._state.watch&&(a._state.watch=!1,a._subjects.state.next({...a._formState})),a._removeUnmounted()}),$e.useEffect(()=>{e.shouldUnregister&&a._subjects.values.next({values:a._getWatch()})},[e.shouldUnregister,a]),t.current.formState=Dve(n,a),t.current}/**
587
+ Please change the parent <Route path="${O}"> to <Route path="${O==="/"?"*":`${O}/*`}">.`)}let d=em(),h;h=d;let g=h.pathname||"/",m=g;if(c!=="/"){let O=c.replace(/^\//,"").split("/");m="/"+g.replace(/^\//,"").split("/").slice(O.length).join("/")}let v=!a&&r&&r.matches&&r.matches.length>0?r.matches:Ym(e,{pathname:m});return Wa(f||v!=null,`No routes matched location "${h.pathname}${h.search}${h.hash}" `),Wa(v==null||v[v.length-1].route.element!==void 0||v[v.length-1].route.Component!==void 0||v[v.length-1].route.lazy!==void 0,`Matched leaf route at location "${h.pathname}${h.search}${h.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`),nLe(v&&v.map(O=>Object.assign({},O,{params:Object.assign({},u,O.params),pathname:dp([c,i.encodeLocation?i.encodeLocation(O.pathname).pathname:O.pathname]),pathnameBase:O.pathnameBase==="/"?c:dp([c,i.encodeLocation?i.encodeLocation(O.pathnameBase).pathname:O.pathnameBase])})),o,r,n)}function JNe(){let e=oLe(),t=ES(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,n="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:n},a={padding:"2px 4px",backgroundColor:n},o=null;return console.error("Error handled by React Router default ErrorBoundary:",e),o=F.createElement(F.Fragment,null,F.createElement("p",null,"💿 Hey developer 👋"),F.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",F.createElement("code",{style:a},"ErrorBoundary")," or"," ",F.createElement("code",{style:a},"errorElement")," prop on your route.")),F.createElement(F.Fragment,null,F.createElement("h2",null,"Unexpected Application Error!"),F.createElement("h3",{style:{fontStyle:"italic"}},t),r?F.createElement("pre",{style:i},r):null,o)}var eLe=F.createElement(JNe,null),tLe=class extends F.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error!==void 0?F.createElement(nd.Provider,{value:this.props.routeContext},F.createElement(FL.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function rLe({routeContext:e,match:t,children:r}){let n=F.useContext(My);return n&&n.static&&n.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(n.staticContext._deepestRenderedBoundaryId=t.route.id),F.createElement(nd.Provider,{value:e},r)}function nLe(e,t=[],r=null,n=null){if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let i=e,a=r==null?void 0:r.errors;if(a!=null){let u=i.findIndex(l=>l.route.id&&(a==null?void 0:a[l.route.id])!==void 0);xn(u>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`),i=i.slice(0,Math.min(i.length,u+1))}let o=!1,s=-1;if(r)for(let u=0;u<i.length;u++){let l=i[u];if((l.route.HydrateFallback||l.route.hydrateFallbackElement)&&(s=u),l.route.id){let{loaderData:c,errors:f}=r,d=l.route.loader&&!c.hasOwnProperty(l.route.id)&&(!f||f[l.route.id]===void 0);if(l.route.lazy||d){o=!0,s>=0?i=i.slice(0,s+1):i=[i[0]];break}}}return i.reduceRight((u,l,c)=>{let f,d=!1,h=null,g=null;r&&(f=a&&l.route.id?a[l.route.id]:void 0,h=l.route.errorElement||eLe,o&&(s<0&&c===0?(ove("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),d=!0,g=null):s===c&&(d=!0,g=l.route.hydrateFallbackElement||null)));let m=t.concat(i.slice(0,c+1)),v=()=>{let y;return f?y=h:d?y=g:l.route.Component?y=F.createElement(l.route.Component,null):l.route.element?y=l.route.element:y=u,F.createElement(rLe,{match:l,routeContext:{outlet:u,matches:m,isDataRoute:r!=null},children:y})};return r&&(l.route.ErrorBoundary||l.route.errorElement||c===0)?F.createElement(tLe,{location:r.location,revalidation:r.revalidation,component:h,error:f,children:v(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):v()},null)}function ML(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function NL(e){let t=F.useContext(My);return xn(t,ML(e)),t}function bO(e){let t=F.useContext(hw);return xn(t,ML(e)),t}function iLe(e){let t=F.useContext(nd);return xn(t,ML(e)),t}function tC(e){let t=iLe(e),r=t.matches[t.matches.length-1];return xn(r.route.id,`${e} can only be used on routes that contain a unique "id"`),r.route.id}function aLe(){return tC("useRouteId")}function Rpt(){let e=NL("useRevalidator"),t=bO("useRevalidator");return F.useMemo(()=>({async revalidate(){await e.router.revalidate()},state:t.revalidation}),[e.router,t.revalidation])}function kpt(){let{matches:e,loaderData:t}=bO("useMatches");return F.useMemo(()=>e.map(r=>Uge(r,t)),[e,t])}function Tpt(){let e=bO("useLoaderData"),t=tC("useLoaderData");return e.loaderData[t]}function Apt(e){return bO("useRouteLoaderData").loaderData[e]}function oLe(){var n;let e=F.useContext(FL),t=bO("useRouteError"),r=tC("useRouteError");return e!==void 0?e:(n=t.errors)==null?void 0:n[r]}var sLe=0;function Fpt(e){let{router:t,basename:r}=NL("useBlocker"),n=bO("useBlocker"),[i,a]=F.useState(""),o=F.useCallback(s=>{if(typeof e!="function")return!!e;if(r==="/")return e(s);let{currentLocation:u,nextLocation:l,historyAction:c}=s;return e({currentLocation:{...u,pathname:mc(u.pathname,r)||u.pathname},nextLocation:{...l,pathname:mc(l.pathname,r)||l.pathname},historyAction:c})},[r,e]);return F.useEffect(()=>{let s=String(++sLe);return a(s),()=>t.deleteBlocker(s)},[t]),F.useEffect(()=>{i!==""&&t.getBlocker(i,o)},[t,i,o]),i&&n.blockers.has(i)?n.blockers.get(i):Z1}function uLe(){let{router:e}=NL("useNavigate"),t=tC("useNavigate"),r=F.useRef(!1);return ave(()=>{r.current=!0}),F.useCallback(async(i,a={})=>{Wa(r.current,ive),r.current&&(typeof i=="number"?e.navigate(i):await e.navigate(i,{fromRouteId:t,...a}))},[e,t])}var uH={};function ove(e,t,r){!t&&!uH[e]&&(uH[e]=!0,Wa(!1,r))}var lH={};function cH(e,t){!e&&!lH[t]&&(lH[t]=!0,console.warn(t))}function lLe(e){let t={hasErrorBoundary:e.hasErrorBoundary||e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&(e.element&&Wa(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(t,{element:F.createElement(e.Component),Component:void 0})),e.HydrateFallback&&(e.hydrateFallbackElement&&Wa(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(t,{hydrateFallbackElement:F.createElement(e.HydrateFallback),HydrateFallback:void 0})),e.ErrorBoundary&&(e.errorElement&&Wa(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(t,{errorElement:F.createElement(e.ErrorBoundary),ErrorBoundary:void 0})),t}var cLe=["HydrateFallback","hydrateFallbackElement"],fLe=class{constructor(){this.status="pending",this.promise=new Promise((e,t)=>{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",e(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",t(r))}})}};function dLe({router:e,flushSync:t}){let[r,n]=F.useState(e.state),[i,a]=F.useState(),[o,s]=F.useState({isTransitioning:!1}),[u,l]=F.useState(),[c,f]=F.useState(),[d,h]=F.useState(),g=F.useRef(new Map),m=F.useCallback((x,{deletedFetchers:C,flushSync:w,viewTransitionOpts:E})=>{x.fetchers.forEach((P,L)=>{P.data!==void 0&&g.current.set(L,P.data)}),C.forEach(P=>g.current.delete(P)),cH(w===!1||t!=null,'You provided the `flushSync` option to a router update, but you are not using the `<RouterProvider>` from `react-router/dom` so `ReactDOM.flushSync()` is unavailable. Please update your app to `import { RouterProvider } from "react-router/dom"` and ensure you have `react-dom` installed as a dependency to use the `flushSync` option.');let T=e.window!=null&&e.window.document!=null&&typeof e.window.document.startViewTransition=="function";if(cH(E==null||T,"You provided the `viewTransition` option to a router update, but you do not appear to be running in a DOM environment as `window.startViewTransition` is not available."),!E||!T){t&&w?t(()=>n(x)):F.startTransition(()=>n(x));return}if(t&&w){t(()=>{c&&(u&&u.resolve(),c.skipTransition()),s({isTransitioning:!0,flushSync:!0,currentLocation:E.currentLocation,nextLocation:E.nextLocation})});let P=e.window.document.startViewTransition(()=>{t(()=>n(x))});P.finished.finally(()=>{t(()=>{l(void 0),f(void 0),a(void 0),s({isTransitioning:!1})})}),t(()=>f(P));return}c?(u&&u.resolve(),c.skipTransition(),h({state:x,currentLocation:E.currentLocation,nextLocation:E.nextLocation})):(a(x),s({isTransitioning:!0,flushSync:!1,currentLocation:E.currentLocation,nextLocation:E.nextLocation}))},[e.window,t,c,u]);F.useLayoutEffect(()=>e.subscribe(m),[e,m]),F.useEffect(()=>{o.isTransitioning&&!o.flushSync&&l(new fLe)},[o]),F.useEffect(()=>{if(u&&i&&e.window){let x=i,C=u.promise,w=e.window.document.startViewTransition(async()=>{F.startTransition(()=>n(x)),await C});w.finished.finally(()=>{l(void 0),f(void 0),a(void 0),s({isTransitioning:!1})}),f(w)}},[i,u,e.window]),F.useEffect(()=>{u&&i&&r.location.key===i.location.key&&u.resolve()},[u,c,r.location,i]),F.useEffect(()=>{!o.isTransitioning&&d&&(a(d.state),s({isTransitioning:!0,flushSync:!1,currentLocation:d.currentLocation,nextLocation:d.nextLocation}),h(void 0))},[o.isTransitioning,d]);let v=F.useMemo(()=>({createHref:e.createHref,encodeLocation:e.encodeLocation,go:x=>e.navigate(x),push:(x,C,w)=>e.navigate(x,{state:C,preventScrollReset:w==null?void 0:w.preventScrollReset}),replace:(x,C,w)=>e.navigate(x,{replace:!0,state:C,preventScrollReset:w==null?void 0:w.preventScrollReset})}),[e]),y=e.basename||"/",O=F.useMemo(()=>({router:e,navigator:v,static:!1,basename:y}),[e,v,y]);return F.createElement(F.Fragment,null,F.createElement(My.Provider,{value:O},F.createElement(hw.Provider,{value:r},F.createElement(nve.Provider,{value:g.current},F.createElement(AL.Provider,{value:o},F.createElement(gLe,{basename:y,location:r.location,navigationType:r.historyAction,navigator:v},F.createElement(hLe,{routes:e.routes,future:e.future,state:r})))))),null)}var hLe=F.memo(pLe);function pLe({routes:e,future:t,state:r}){return XNe(e,void 0,r,t)}function Ipt({to:e,replace:t,state:r,relative:n}){xn(yO(),"<Navigate> may be used only in the context of a <Router> component.");let{static:i}=F.useContext(hh);Wa(!i,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:a}=F.useContext(nd),{pathname:o}=em(),s=IL(),u=J$(e,X$(a),o,n==="path"),l=JSON.stringify(u);return F.useEffect(()=>{s(JSON.parse(l),{replace:t,state:r,relative:n})},[s,l,n,t,r]),null}function Mpt(e){return GNe(e.context)}function mLe(e){xn(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function gLe({basename:e="/",children:t=null,location:r,navigationType:n="POP",navigator:i,static:a=!1}){xn(!yO(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let o=e.replace(/^\/*/,"/"),s=F.useMemo(()=>({basename:o,navigator:i,static:a,future:{}}),[o,i,a]);typeof r=="string"&&(r=Bg(r));let{pathname:u="/",search:l="",hash:c="",state:f=null,key:d="default"}=r,h=F.useMemo(()=>{let g=mc(u,o);return g==null?null:{location:{pathname:g,search:l,hash:c,state:f,key:d},navigationType:n}},[o,u,l,c,f,d,n]);return Wa(h!=null,`<Router basename="${o}"> is not able to match the URL "${u}${l}${c}" because it does not start with the basename, so the <Router> won't render anything.`),h==null?null:F.createElement(hh.Provider,{value:s},F.createElement(eC.Provider,{children:t,value:h}))}function C9(e,t=[]){let r=[];return F.Children.forEach(e,(n,i)=>{if(!F.isValidElement(n))return;let a=[...t,i];if(n.type===F.Fragment){r.push.apply(r,C9(n.props.children,a));return}xn(n.type===mLe,`[${typeof n.type=="string"?n.type:n.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),xn(!n.props.index||!n.props.children,"An index route cannot have child routes.");let o={id:n.props.id||a.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,loader:n.props.loader,action:n.props.action,hydrateFallbackElement:n.props.hydrateFallbackElement,HydrateFallback:n.props.HydrateFallback,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.hasErrorBoundary===!0||n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&&(o.children=C9(n.props.children,a)),r.push(o)}),r}var Npt=C9,qE="get",UE="application/x-www-form-urlencoded";function rC(e){return e!=null&&typeof e.tagName=="string"}function vLe(e){return rC(e)&&e.tagName.toLowerCase()==="button"}function yLe(e){return rC(e)&&e.tagName.toLowerCase()==="form"}function bLe(e){return rC(e)&&e.tagName.toLowerCase()==="input"}function OLe(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function xLe(e,t){return e.button===0&&(!t||t==="_self")&&!OLe(e)}function P9(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,r)=>{let n=e[r];return t.concat(Array.isArray(n)?n.map(i=>[r,i]):[[r,n]])},[]))}function _Le(e,t){let r=P9(e);return t&&t.forEach((n,i)=>{r.has(i)||t.getAll(i).forEach(a=>{r.append(i,a)})}),r}var W3=null;function SLe(){if(W3===null)try{new FormData(document.createElement("form"),0),W3=!1}catch{W3=!0}return W3}var wLe=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function VT(e){return e!=null&&!wLe.has(e)?(Wa(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${UE}"`),null):e}function ELe(e,t){let r,n,i,a,o;if(yLe(e)){let s=e.getAttribute("action");n=s?mc(s,t):null,r=e.getAttribute("method")||qE,i=VT(e.getAttribute("enctype"))||UE,a=new FormData(e)}else if(vLe(e)||bLe(e)&&(e.type==="submit"||e.type==="image")){let s=e.form;if(s==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let u=e.getAttribute("formaction")||s.getAttribute("action");if(n=u?mc(u,t):null,r=e.getAttribute("formmethod")||s.getAttribute("method")||qE,i=VT(e.getAttribute("formenctype"))||VT(s.getAttribute("enctype"))||UE,a=new FormData(s,e),!SLe()){let{name:l,type:c,value:f}=e;if(c==="image"){let d=l?`${l}.`:"";a.append(`${d}x`,"0"),a.append(`${d}y`,"0")}else l&&a.append(l,f)}}else{if(rC(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=qE,n=null,i=UE,o=e}return a&&i==="text/plain"&&(o=a,a=void 0),{action:n,method:r.toLowerCase(),encType:i,formData:a,body:o}}function LL(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}async function $Le(e,t){if(e.id in t)return t[e.id];try{let r=await import(e.module);return t[e.id]=r,r}catch(r){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(r),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function CLe(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function PLe(e,t,r){let n=await Promise.all(e.map(async i=>{let a=t.routes[i.route.id];if(a){let o=await $Le(a,r);return o.links?o.links():[]}return[]}));return TLe(n.flat(1).filter(CLe).filter(i=>i.rel==="stylesheet"||i.rel==="preload").map(i=>i.rel==="stylesheet"?{...i,rel:"prefetch",as:"style"}:{...i,rel:"prefetch"}))}function fH(e,t,r,n,i,a){let o=(u,l)=>r[l]?u.route.id!==r[l].route.id:!0,s=(u,l)=>{var c;return r[l].pathname!==u.pathname||((c=r[l].route.path)==null?void 0:c.endsWith("*"))&&r[l].params["*"]!==u.params["*"]};return a==="assets"?t.filter((u,l)=>o(u,l)||s(u,l)):a==="data"?t.filter((u,l)=>{var f;let c=n.routes[u.route.id];if(!c||!c.hasLoader)return!1;if(o(u,l)||s(u,l))return!0;if(u.route.shouldRevalidate){let d=u.route.shouldRevalidate({currentUrl:new URL(i.pathname+i.search+i.hash,window.origin),currentParams:((f=r[0])==null?void 0:f.params)||{},nextUrl:new URL(e,window.origin),nextParams:u.params,defaultShouldRevalidate:!0});if(typeof d=="boolean")return d}return!0}):[]}function DLe(e,t,{includeHydrateFallback:r}={}){return RLe(e.map(n=>{let i=t.routes[n.route.id];if(!i)return[];let a=[i.module];return i.clientActionModule&&(a=a.concat(i.clientActionModule)),i.clientLoaderModule&&(a=a.concat(i.clientLoaderModule)),r&&i.hydrateFallbackModule&&(a=a.concat(i.hydrateFallbackModule)),i.imports&&(a=a.concat(i.imports)),a}).flat(1))}function RLe(e){return[...new Set(e)]}function kLe(e){let t={},r=Object.keys(e).sort();for(let n of r)t[n]=e[n];return t}function TLe(e,t){let r=new Set;return new Set(t),e.reduce((n,i)=>{let a=JSON.stringify(kLe(i));return r.has(a)||(r.add(a),n.push({key:a,link:i})),n},[])}var ALe=new Set([100,101,204,205]);function FLe(e,t){let r=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return r.pathname==="/"?r.pathname="_root.data":t&&mc(r.pathname,t)==="/"?r.pathname=`${t.replace(/\/$/,"")}/_root.data`:r.pathname=`${r.pathname.replace(/\/$/,"")}.data`,r}function sve(){let e=F.useContext(My);return LL(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function ILe(){let e=F.useContext(hw);return LL(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var zL=F.createContext(void 0);zL.displayName="FrameworkContext";function uve(){let e=F.useContext(zL);return LL(e,"You must render this element inside a <HydratedRouter> element"),e}function MLe(e,t){let r=F.useContext(zL),[n,i]=F.useState(!1),[a,o]=F.useState(!1),{onFocus:s,onBlur:u,onMouseEnter:l,onMouseLeave:c,onTouchStart:f}=t,d=F.useRef(null);F.useEffect(()=>{if(e==="render"&&o(!0),e==="viewport"){let m=y=>{y.forEach(O=>{o(O.isIntersecting)})},v=new IntersectionObserver(m,{threshold:.5});return d.current&&v.observe(d.current),()=>{v.disconnect()}}},[e]),F.useEffect(()=>{if(n){let m=setTimeout(()=>{o(!0)},100);return()=>{clearTimeout(m)}}},[n]);let h=()=>{i(!0)},g=()=>{i(!1),o(!1)};return r?e!=="intent"?[a,d,{}]:[a,d,{onFocus:wx(s,h),onBlur:wx(u,g),onMouseEnter:wx(l,h),onMouseLeave:wx(c,g),onTouchStart:wx(f,h)}]:[!1,d,{}]}function wx(e,t){return r=>{e&&e(r),r.defaultPrevented||t(r)}}function NLe({page:e,...t}){let{router:r}=sve(),n=F.useMemo(()=>Ym(r.routes,e,r.basename),[r.routes,e,r.basename]);return n?F.createElement(zLe,{page:e,matches:n,...t}):null}function LLe(e){let{manifest:t,routeModules:r}=uve(),[n,i]=F.useState([]);return F.useEffect(()=>{let a=!1;return PLe(e,t,r).then(o=>{a||i(o)}),()=>{a=!0}},[e,t,r]),n}function zLe({page:e,matches:t,...r}){let n=em(),{manifest:i,routeModules:a}=uve(),{basename:o}=sve(),{loaderData:s,matches:u}=ILe(),l=F.useMemo(()=>fH(e,t,u,i,n,"data"),[e,t,u,i,n]),c=F.useMemo(()=>fH(e,t,u,i,n,"assets"),[e,t,u,i,n]),f=F.useMemo(()=>{if(e===n.pathname+n.search+n.hash)return[];let g=new Set,m=!1;if(t.forEach(y=>{var x;let O=i.routes[y.route.id];!O||!O.hasLoader||(!l.some(C=>C.route.id===y.route.id)&&y.route.id in s&&((x=a[y.route.id])!=null&&x.shouldRevalidate)||O.hasClientLoader?m=!0:g.add(y.route.id))}),g.size===0)return[];let v=FLe(e,o);return m&&g.size>0&&v.searchParams.set("_routes",t.filter(y=>g.has(y.route.id)).map(y=>y.route.id).join(",")),[v.pathname+v.search]},[o,s,n,i,l,t,e,a]),d=F.useMemo(()=>DLe(c,i),[c,i]),h=LLe(c);return F.createElement(F.Fragment,null,f.map(g=>F.createElement("link",{key:g,rel:"prefetch",as:"fetch",href:g,...r})),d.map(g=>F.createElement("link",{key:g,rel:"modulepreload",href:g,...r})),h.map(({key:g,link:m})=>F.createElement("link",{key:g,...m})))}function QLe(...e){return t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})}}var lve=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{lve&&(window.__reactRouterVersion="7.5.2")}catch{}function Lpt(e,t){return PNe({basename:t==null?void 0:t.basename,unstable_getContext:t==null?void 0:t.unstable_getContext,future:t==null?void 0:t.future,history:YMe({window:t==null?void 0:t.window}),hydrationData:(t==null?void 0:t.hydrationData)||BLe(),routes:e,mapRouteProperties:lLe,hydrationRouteProperties:cLe,dataStrategy:t==null?void 0:t.dataStrategy,patchRoutesOnNavigation:t==null?void 0:t.patchRoutesOnNavigation,window:t==null?void 0:t.window}).initialize()}function BLe(){let e=window==null?void 0:window.__staticRouterHydrationData;return e&&e.errors&&(e={...e,errors:qLe(e.errors)}),e}function qLe(e){if(!e)return null;let t=Object.entries(e),r={};for(let[n,i]of t)if(i&&i.__type==="RouteErrorResponse")r[n]=new e4(i.status,i.statusText,i.data,i.internal===!0);else if(i&&i.__type==="Error"){if(i.__subType){let a=window[i.__subType];if(typeof a=="function")try{let o=new a(i.message);o.stack="",r[n]=o}catch{}}if(r[n]==null){let a=new Error(i.message);a.stack="",r[n]=a}}else r[n]=i;return r}var cve=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,fve=F.forwardRef(function({onClick:t,discover:r="render",prefetch:n="none",relative:i,reloadDocument:a,replace:o,state:s,target:u,to:l,preventScrollReset:c,viewTransition:f,...d},h){let{basename:g}=F.useContext(hh),m=typeof l=="string"&&cve.test(l),v,y=!1;if(typeof l=="string"&&m&&(v=l,lve))try{let L=new URL(window.location.href),N=l.startsWith("//")?new URL(L.protocol+l):new URL(l),B=mc(N.pathname,g);N.origin===L.origin&&B!=null?l=B+N.search+N.hash:y=!0}catch{Wa(!1,`<Link to="${l}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let O=KNe(l,{relative:i}),[x,C,w]=MLe(n,d),E=WLe(l,{replace:o,state:s,target:u,preventScrollReset:c,relative:i,viewTransition:f});function T(L){t&&t(L),L.defaultPrevented||E(L)}let P=F.createElement("a",{...d,...w,href:v||O,onClick:y||a?t:T,ref:QLe(h,C),target:u,"data-discover":!m&&r==="render"?"true":void 0});return x&&!m?F.createElement(F.Fragment,null,P,F.createElement(NLe,{page:O})):P});fve.displayName="Link";var ULe=F.forwardRef(function({"aria-current":t="page",caseSensitive:r=!1,className:n="",end:i=!1,style:a,to:o,viewTransition:s,children:u,...l},c){let f=pw(o,{relative:l.relative}),d=em(),h=F.useContext(hw),{navigator:g,basename:m}=F.useContext(hh),v=h!=null&&GLe(f)&&s===!0,y=g.encodeLocation?g.encodeLocation(f).pathname:f.pathname,O=d.pathname,x=h&&h.navigation&&h.navigation.location?h.navigation.location.pathname:null;r||(O=O.toLowerCase(),x=x?x.toLowerCase():null,y=y.toLowerCase()),x&&m&&(x=mc(x,m)||x);const C=y!=="/"&&y.endsWith("/")?y.length-1:y.length;let w=O===y||!i&&O.startsWith(y)&&O.charAt(C)==="/",E=x!=null&&(x===y||!i&&x.startsWith(y)&&x.charAt(y.length)==="/"),T={isActive:w,isPending:E,isTransitioning:v},P=w?t:void 0,L;typeof n=="function"?L=n(T):L=[n,w?"active":null,E?"pending":null,v?"transitioning":null].filter(Boolean).join(" ");let N=typeof a=="function"?a(T):a;return F.createElement(fve,{...l,"aria-current":P,className:L,ref:c,style:N,to:o,viewTransition:s},typeof u=="function"?u(T):u)});ULe.displayName="NavLink";var VLe=F.forwardRef(({discover:e="render",fetcherKey:t,navigate:r,reloadDocument:n,replace:i,state:a,method:o=qE,action:s,onSubmit:u,relative:l,preventScrollReset:c,viewTransition:f,...d},h)=>{let g=HLe(),m=YLe(s,{relative:l}),v=o.toLowerCase()==="get"?"get":"post",y=typeof s=="string"&&cve.test(s),O=x=>{if(u&&u(x),x.defaultPrevented)return;x.preventDefault();let C=x.nativeEvent.submitter,w=(C==null?void 0:C.getAttribute("formmethod"))||o;g(C||x.currentTarget,{fetcherKey:t,method:w,navigate:r,replace:i,state:a,relative:l,preventScrollReset:c,viewTransition:f})};return F.createElement("form",{ref:h,method:v,action:m,onSubmit:n?u:O,...d,"data-discover":!y&&e==="render"?"true":void 0})});VLe.displayName="Form";function jLe(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function dve(e){let t=F.useContext(My);return xn(t,jLe(e)),t}function WLe(e,{target:t,replace:r,state:n,preventScrollReset:i,relative:a,viewTransition:o}={}){let s=IL(),u=em(),l=pw(e,{relative:a});return F.useCallback(c=>{if(xLe(c,t)){c.preventDefault();let f=r!==void 0?r:Sg(u)===Sg(l);s(e,{replace:f,state:n,preventScrollReset:i,relative:a,viewTransition:o})}},[u,s,l,r,n,t,e,i,a,o])}function zpt(e){Wa(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=F.useRef(P9(e)),r=F.useRef(!1),n=em(),i=F.useMemo(()=>_Le(n.search,r.current?null:t.current),[n.search]),a=IL(),o=F.useCallback((s,u)=>{const l=P9(typeof s=="function"?s(i):s);r.current=!0,a("?"+l,u)},[a,i]);return[i,o]}var ZLe=0,KLe=()=>`__${String(++ZLe)}__`;function HLe(){let{router:e}=dve("useSubmit"),{basename:t}=F.useContext(hh),r=aLe();return F.useCallback(async(n,i={})=>{let{action:a,method:o,encType:s,formData:u,body:l}=ELe(n,t);if(i.navigate===!1){let c=i.fetcherKey||KLe();await e.fetch(c,r,i.action||a,{preventScrollReset:i.preventScrollReset,formData:u,body:l,formMethod:i.method||o,formEncType:i.encType||s,flushSync:i.flushSync})}else await e.navigate(i.action||a,{preventScrollReset:i.preventScrollReset,formData:u,body:l,formMethod:i.method||o,formEncType:i.encType||s,replace:i.replace,state:i.state,fromRouteId:r,flushSync:i.flushSync,viewTransition:i.viewTransition})},[e,t,r])}function YLe(e,{relative:t}={}){let{basename:r}=F.useContext(hh),n=F.useContext(nd);xn(n,"useFormAction must be used inside a RouteContext");let[i]=n.matches.slice(-1),a={...pw(e||".",{relative:t})},o=em();if(e==null){a.search=o.search;let s=new URLSearchParams(a.search),u=s.getAll("index");if(u.some(c=>c==="")){s.delete("index"),u.filter(f=>f).forEach(f=>s.append("index",f));let c=s.toString();a.search=c?`?${c}`:""}}return(!e||e===".")&&i.route.index&&(a.search=a.search?a.search.replace(/^\?/,"?index&"):"?index"),r!=="/"&&(a.pathname=a.pathname==="/"?r:dp([r,a.pathname])),Sg(a)}function GLe(e,t={}){let r=F.useContext(AL);xn(r!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:n}=dve("useViewTransitionState"),i=pw(e,{relative:t.relative});if(!r.isTransitioning)return!1;let a=mc(r.currentLocation.pathname,n)||r.currentLocation.pathname,o=mc(r.nextLocation.pathname,n)||r.nextLocation.pathname;return J2(i.pathname,o)!=null||J2(i.pathname,a)!=null}new TextEncoder;[...ALe];var jT,dH;function XLe(){return dH||(dH=1,jT=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,r=[],n=0;n<e.rangeCount;n++)r.push(e.getRangeAt(n));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null;break}return e.removeAllRanges(),function(){e.type==="Caret"&&e.removeAllRanges(),e.rangeCount||r.forEach(function(i){e.addRange(i)}),t&&t.focus()}}),jT}var WT,hH;function JLe(){if(hH)return WT;hH=1;var e=XLe(),t={"text/plain":"Text","text/html":"Url",default:"Text"},r="Copy to clipboard: #{key}, Enter";function n(a){var o=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return a.replace(/#{\s*key\s*}/g,o)}function i(a,o){var s,u,l,c,f,d,h=!1;o||(o={}),s=o.debug||!1;try{l=e(),c=document.createRange(),f=document.getSelection(),d=document.createElement("span"),d.textContent=a,d.ariaHidden="true",d.style.all="unset",d.style.position="fixed",d.style.top=0,d.style.clip="rect(0, 0, 0, 0)",d.style.whiteSpace="pre",d.style.webkitUserSelect="text",d.style.MozUserSelect="text",d.style.msUserSelect="text",d.style.userSelect="text",d.addEventListener("copy",function(m){if(m.stopPropagation(),o.format)if(m.preventDefault(),typeof m.clipboardData>"u"){s&&console.warn("unable to use e.clipboardData"),s&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var v=t[o.format]||t.default;window.clipboardData.setData(v,a)}else m.clipboardData.clearData(),m.clipboardData.setData(o.format,a);o.onCopy&&(m.preventDefault(),o.onCopy(m.clipboardData))}),document.body.appendChild(d),c.selectNodeContents(d),f.addRange(c);var g=document.execCommand("copy");if(!g)throw new Error("copy command was unsuccessful");h=!0}catch(m){s&&console.error("unable to copy using execCommand: ",m),s&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(o.format||"text",a),o.onCopy&&o.onCopy(window.clipboardData),h=!0}catch(v){s&&console.error("unable to copy using clipboardData: ",v),s&&console.error("falling back to prompt"),u=n("message"in o?o.message:r),window.prompt(u,a)}}finally{f&&(typeof f.removeRange=="function"?f.removeRange(c):f.removeAllRanges()),d&&document.body.removeChild(d),l()}return h}return WT=i,WT}var eze=JLe();const Qpt=an(eze),ZT=new Date,KT=new Date;function fs(e,t,r,n){function i(a){return e(a=arguments.length===0?new Date:new Date(+a)),a}return i.floor=a=>(e(a=new Date(+a)),a),i.ceil=a=>(e(a=new Date(a-1)),t(a,1),e(a),a),i.round=a=>{const o=i(a),s=i.ceil(a);return a-o<s-a?o:s},i.offset=(a,o)=>(t(a=new Date(+a),o==null?1:Math.floor(o)),a),i.range=(a,o,s)=>{const u=[];if(a=i.ceil(a),s=s==null?1:Math.floor(s),!(a<o)||!(s>0))return u;let l;do u.push(l=new Date(+a)),t(a,s),e(a);while(l<a&&a<o);return u},i.filter=a=>fs(o=>{if(o>=o)for(;e(o),!a(o);)o.setTime(o-1)},(o,s)=>{if(o>=o)if(s<0)for(;++s<=0;)for(;t(o,-1),!a(o););else for(;--s>=0;)for(;t(o,1),!a(o););}),r&&(i.count=(a,o)=>(ZT.setTime(+a),KT.setTime(+o),e(ZT),e(KT),Math.floor(r(ZT,KT))),i.every=a=>(a=Math.floor(a),!isFinite(a)||!(a>0)?null:a>1?i.filter(n?o=>n(o)%a===0:o=>i.count(0,o)%a===0):i)),i}const r4=fs(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);r4.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?fs(t=>{t.setTime(Math.floor(t/e)*e)},(t,r)=>{t.setTime(+t+r*e)},(t,r)=>(r-t)/e):r4);r4.range;const T0=1e3,Vf=T0*60,A0=Vf*60,U0=A0*24,QL=U0*7,pH=U0*30,HT=U0*365,Hv=fs(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*T0)},(e,t)=>(t-e)/T0,e=>e.getUTCSeconds());Hv.range;const BL=fs(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*T0)},(e,t)=>{e.setTime(+e+t*Vf)},(e,t)=>(t-e)/Vf,e=>e.getMinutes());BL.range;const qL=fs(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*Vf)},(e,t)=>(t-e)/Vf,e=>e.getUTCMinutes());qL.range;const UL=fs(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*T0-e.getMinutes()*Vf)},(e,t)=>{e.setTime(+e+t*A0)},(e,t)=>(t-e)/A0,e=>e.getHours());UL.range;const VL=fs(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*A0)},(e,t)=>(t-e)/A0,e=>e.getUTCHours());VL.range;const mw=fs(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Vf)/U0,e=>e.getDate()-1);mw.range;const nC=fs(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/U0,e=>e.getUTCDate()-1);nC.range;const hve=fs(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/U0,e=>Math.floor(e/U0));hve.range;function Ny(e){return fs(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(t,r)=>{t.setDate(t.getDate()+r*7)},(t,r)=>(r-t-(r.getTimezoneOffset()-t.getTimezoneOffset())*Vf)/QL)}const iC=Ny(0),n4=Ny(1),tze=Ny(2),rze=Ny(3),Wb=Ny(4),nze=Ny(5),ize=Ny(6);iC.range;n4.range;tze.range;rze.range;Wb.range;nze.range;ize.range;function Ly(e){return fs(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(t,r)=>{t.setUTCDate(t.getUTCDate()+r*7)},(t,r)=>(r-t)/QL)}const aC=Ly(0),i4=Ly(1),aze=Ly(2),oze=Ly(3),Zb=Ly(4),sze=Ly(5),uze=Ly(6);aC.range;i4.range;aze.range;oze.range;Zb.range;sze.range;uze.range;const jL=fs(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());jL.range;const WL=fs(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());WL.range;const V0=fs(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());V0.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:fs(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,r)=>{t.setFullYear(t.getFullYear()+r*e)});V0.range;const j0=fs(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());j0.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:fs(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,r)=>{t.setUTCFullYear(t.getUTCFullYear()+r*e)});j0.range;function lg(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function lze(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function ZL(e){let t,r,n;e.length!==2?(t=lg,r=(s,u)=>lg(e(s),u),n=(s,u)=>e(s)-u):(t=e===lg||e===lze?e:cze,r=e,n=e);function i(s,u,l=0,c=s.length){if(l<c){if(t(u,u)!==0)return c;do{const f=l+c>>>1;r(s[f],u)<0?l=f+1:c=f}while(l<c)}return l}function a(s,u,l=0,c=s.length){if(l<c){if(t(u,u)!==0)return c;do{const f=l+c>>>1;r(s[f],u)<=0?l=f+1:c=f}while(l<c)}return l}function o(s,u,l=0,c=s.length){const f=i(s,u,l,c-1);return f>l&&n(s[f-1],u)>-n(s[f],u)?f-1:f}return{left:i,center:o,right:a}}function cze(){return 0}function pve(e){return e===null?NaN:+e}function*fze(e,t){for(let r of e)r!=null&&(r=+r)>=r&&(yield r)}const dze=ZL(lg),gw=dze.right;ZL(pve).center;class mH extends Map{constructor(t,r=mze){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:r}}),t!=null)for(const[n,i]of t)this.set(n,i)}get(t){return super.get(gH(this,t))}has(t){return super.has(gH(this,t))}set(t,r){return super.set(hze(this,t),r)}delete(t){return super.delete(pze(this,t))}}function gH({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):r}function hze({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):(e.set(n,r),r)}function pze({_intern:e,_key:t},r){const n=t(r);return e.has(n)&&(r=e.get(n),e.delete(n)),r}function mze(e){return e!==null&&typeof e=="object"?e.valueOf():e}function gze(e=lg){if(e===lg)return mve;if(typeof e!="function")throw new TypeError("compare is not a function");return(t,r)=>{const n=e(t,r);return n||n===0?n:(e(r,r)===0)-(e(t,t)===0)}}function mve(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(e<t?-1:e>t?1:0)}const vze=Math.sqrt(50),yze=Math.sqrt(10),bze=Math.sqrt(2);function a4(e,t,r){const n=(t-e)/Math.max(0,r),i=Math.floor(Math.log10(n)),a=n/Math.pow(10,i),o=a>=vze?10:a>=yze?5:a>=bze?2:1;let s,u,l;return i<0?(l=Math.pow(10,-i)/o,s=Math.round(e*l),u=Math.round(t*l),s/l<e&&++s,u/l>t&&--u,l=-l):(l=Math.pow(10,i)*o,s=Math.round(e/l),u=Math.round(t/l),s*l<e&&++s,u*l>t&&--u),u<s&&.5<=r&&r<2?a4(e,t,r*2):[s,u,l]}function D9(e,t,r){if(t=+t,e=+e,r=+r,!(r>0))return[];if(e===t)return[e];const n=t<e,[i,a,o]=n?a4(t,e,r):a4(e,t,r);if(!(a>=i))return[];const s=a-i+1,u=new Array(s);if(n)if(o<0)for(let l=0;l<s;++l)u[l]=(a-l)/-o;else for(let l=0;l<s;++l)u[l]=(a-l)*o;else if(o<0)for(let l=0;l<s;++l)u[l]=(i+l)/-o;else for(let l=0;l<s;++l)u[l]=(i+l)*o;return u}function R9(e,t,r){return t=+t,e=+e,r=+r,a4(e,t,r)[2]}function k9(e,t,r){t=+t,e=+e,r=+r;const n=t<e,i=n?R9(t,e,r):R9(e,t,r);return(n?-1:1)*(i<0?1/-i:i)}function vH(e,t){let r;for(const n of e)n!=null&&(r<n||r===void 0&&n>=n)&&(r=n);return r}function yH(e,t){let r;for(const n of e)n!=null&&(r>n||r===void 0&&n>=n)&&(r=n);return r}function gve(e,t,r=0,n=1/0,i){if(t=Math.floor(t),r=Math.floor(Math.max(0,r)),n=Math.floor(Math.min(e.length-1,n)),!(r<=t&&t<=n))return e;for(i=i===void 0?mve:gze(i);n>r;){if(n-r>600){const u=n-r+1,l=t-r+1,c=Math.log(u),f=.5*Math.exp(2*c/3),d=.5*Math.sqrt(c*f*(u-f)/u)*(l-u/2<0?-1:1),h=Math.max(r,Math.floor(t-l*f/u+d)),g=Math.min(n,Math.floor(t+(u-l)*f/u+d));gve(e,t,h,g,i)}const a=e[t];let o=r,s=n;for(Ex(e,r,t),i(e[n],a)>0&&Ex(e,r,n);o<s;){for(Ex(e,o,s),++o,--s;i(e[o],a)<0;)++o;for(;i(e[s],a)>0;)--s}i(e[r],a)===0?Ex(e,r,s):(++s,Ex(e,s,n)),s<=t&&(r=s+1),t<=s&&(n=s-1)}return e}function Ex(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}function Oze(e,t,r){if(e=Float64Array.from(fze(e)),!(!(n=e.length)||isNaN(t=+t))){if(t<=0||n<2)return yH(e);if(t>=1)return vH(e);var n,i=(n-1)*t,a=Math.floor(i),o=vH(gve(e,a).subarray(0,a+1)),s=yH(e.subarray(a+1));return o+(s-o)*(i-a)}}function xze(e,t,r=pve){if(!(!(n=e.length)||isNaN(t=+t))){if(t<=0||n<2)return+r(e[0],0,e);if(t>=1)return+r(e[n-1],n-1,e);var n,i=(n-1)*t,a=Math.floor(i),o=+r(e[a],a,e),s=+r(e[a+1],a+1,e);return o+(s-o)*(i-a)}}function _ze(e,t,r){e=+e,t=+t,r=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+r;for(var n=-1,i=Math.max(0,Math.ceil((t-e)/r))|0,a=new Array(i);++n<i;)a[n]=e+n*r;return a}function vve(e,t,r,n,i,a){const o=[[Hv,1,T0],[Hv,5,5*T0],[Hv,15,15*T0],[Hv,30,30*T0],[a,1,Vf],[a,5,5*Vf],[a,15,15*Vf],[a,30,30*Vf],[i,1,A0],[i,3,3*A0],[i,6,6*A0],[i,12,12*A0],[n,1,U0],[n,2,2*U0],[r,1,QL],[t,1,pH],[t,3,3*pH],[e,1,HT]];function s(l,c,f){const d=c<l;d&&([l,c]=[c,l]);const h=f&&typeof f.range=="function"?f:u(l,c,f),g=h?h.range(l,+c+1):[];return d?g.reverse():g}function u(l,c,f){const d=Math.abs(c-l)/f,h=ZL(([,,v])=>v).right(o,d);if(h===o.length)return e.every(k9(l/HT,c/HT,f));if(h===0)return r4.every(Math.max(k9(l,c,f),1));const[g,m]=o[d/o[h-1][2]<o[h][2]/d?h-1:h];return g.every(m)}return[s,u]}const[Sze,wze]=vve(j0,WL,aC,hve,VL,qL),[Eze,$ze]=vve(V0,jL,iC,mw,UL,BL);function YT(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function GT(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function $x(e,t,r){return{y:e,m:t,d:r,H:0,M:0,S:0,L:0}}function Cze(e){var t=e.dateTime,r=e.date,n=e.time,i=e.periods,a=e.days,o=e.shortDays,s=e.months,u=e.shortMonths,l=Cx(i),c=Px(i),f=Cx(a),d=Px(a),h=Cx(o),g=Px(o),m=Cx(s),v=Px(s),y=Cx(u),O=Px(u),x={a:V,A:I,b:q,B:M,c:null,d:wH,e:wH,f:Yze,g:oQe,G:uQe,H:Zze,I:Kze,j:Hze,L:yve,m:Gze,M:Xze,p:z,q:G,Q:CH,s:PH,S:Jze,u:eQe,U:tQe,V:rQe,w:nQe,W:iQe,x:null,X:null,y:aQe,Y:sQe,Z:lQe,"%":$H},C={a:K,A:te,b:ae,B:ie,c:null,d:EH,e:EH,f:hQe,g:SQe,G:EQe,H:cQe,I:fQe,j:dQe,L:Ove,m:pQe,M:mQe,p:Se,q:pe,Q:CH,s:PH,S:gQe,u:vQe,U:yQe,V:bQe,w:OQe,W:xQe,x:null,X:null,y:_Qe,Y:wQe,Z:$Qe,"%":$H},w={a:N,A:B,b:j,B:A,c:H,d:_H,e:_H,f:Uze,g:xH,G:OH,H:SH,I:SH,j:zze,L:qze,m:Lze,M:Qze,p:L,q:Nze,Q:jze,s:Wze,S:Bze,u:Tze,U:Aze,V:Fze,w:kze,W:Ize,x:k,X:Q,y:xH,Y:OH,Z:Mze,"%":Vze};x.x=E(r,x),x.X=E(n,x),x.c=E(t,x),C.x=E(r,C),C.X=E(n,C),C.c=E(t,C);function E(xe,Oe){return function(me){var ne=[],se=-1,X=0,re=xe.length,he,ge,le;for(me instanceof Date||(me=new Date(+me));++se<re;)xe.charCodeAt(se)===37&&(ne.push(xe.slice(X,se)),(ge=bH[he=xe.charAt(++se)])!=null?he=xe.charAt(++se):ge=he==="e"?" ":"0",(le=Oe[he])&&(he=le(me,ge)),ne.push(he),X=se+1);return ne.push(xe.slice(X,se)),ne.join("")}}function T(xe,Oe){return function(me){var ne=$x(1900,void 0,1),se=P(ne,xe,me+="",0),X,re;if(se!=me.length)return null;if("Q"in ne)return new Date(ne.Q);if("s"in ne)return new Date(ne.s*1e3+("L"in ne?ne.L:0));if(Oe&&!("Z"in ne)&&(ne.Z=0),"p"in ne&&(ne.H=ne.H%12+ne.p*12),ne.m===void 0&&(ne.m="q"in ne?ne.q:0),"V"in ne){if(ne.V<1||ne.V>53)return null;"w"in ne||(ne.w=1),"Z"in ne?(X=GT($x(ne.y,0,1)),re=X.getUTCDay(),X=re>4||re===0?i4.ceil(X):i4(X),X=nC.offset(X,(ne.V-1)*7),ne.y=X.getUTCFullYear(),ne.m=X.getUTCMonth(),ne.d=X.getUTCDate()+(ne.w+6)%7):(X=YT($x(ne.y,0,1)),re=X.getDay(),X=re>4||re===0?n4.ceil(X):n4(X),X=mw.offset(X,(ne.V-1)*7),ne.y=X.getFullYear(),ne.m=X.getMonth(),ne.d=X.getDate()+(ne.w+6)%7)}else("W"in ne||"U"in ne)&&("w"in ne||(ne.w="u"in ne?ne.u%7:"W"in ne?1:0),re="Z"in ne?GT($x(ne.y,0,1)).getUTCDay():YT($x(ne.y,0,1)).getDay(),ne.m=0,ne.d="W"in ne?(ne.w+6)%7+ne.W*7-(re+5)%7:ne.w+ne.U*7-(re+6)%7);return"Z"in ne?(ne.H+=ne.Z/100|0,ne.M+=ne.Z%100,GT(ne)):YT(ne)}}function P(xe,Oe,me,ne){for(var se=0,X=Oe.length,re=me.length,he,ge;se<X;){if(ne>=re)return-1;if(he=Oe.charCodeAt(se++),he===37){if(he=Oe.charAt(se++),ge=w[he in bH?Oe.charAt(se++):he],!ge||(ne=ge(xe,me,ne))<0)return-1}else if(he!=me.charCodeAt(ne++))return-1}return ne}function L(xe,Oe,me){var ne=l.exec(Oe.slice(me));return ne?(xe.p=c.get(ne[0].toLowerCase()),me+ne[0].length):-1}function N(xe,Oe,me){var ne=h.exec(Oe.slice(me));return ne?(xe.w=g.get(ne[0].toLowerCase()),me+ne[0].length):-1}function B(xe,Oe,me){var ne=f.exec(Oe.slice(me));return ne?(xe.w=d.get(ne[0].toLowerCase()),me+ne[0].length):-1}function j(xe,Oe,me){var ne=y.exec(Oe.slice(me));return ne?(xe.m=O.get(ne[0].toLowerCase()),me+ne[0].length):-1}function A(xe,Oe,me){var ne=m.exec(Oe.slice(me));return ne?(xe.m=v.get(ne[0].toLowerCase()),me+ne[0].length):-1}function H(xe,Oe,me){return P(xe,t,Oe,me)}function k(xe,Oe,me){return P(xe,r,Oe,me)}function Q(xe,Oe,me){return P(xe,n,Oe,me)}function V(xe){return o[xe.getDay()]}function I(xe){return a[xe.getDay()]}function q(xe){return u[xe.getMonth()]}function M(xe){return s[xe.getMonth()]}function z(xe){return i[+(xe.getHours()>=12)]}function G(xe){return 1+~~(xe.getMonth()/3)}function K(xe){return o[xe.getUTCDay()]}function te(xe){return a[xe.getUTCDay()]}function ae(xe){return u[xe.getUTCMonth()]}function ie(xe){return s[xe.getUTCMonth()]}function Se(xe){return i[+(xe.getUTCHours()>=12)]}function pe(xe){return 1+~~(xe.getUTCMonth()/3)}return{format:function(xe){var Oe=E(xe+="",x);return Oe.toString=function(){return xe},Oe},parse:function(xe){var Oe=T(xe+="",!1);return Oe.toString=function(){return xe},Oe},utcFormat:function(xe){var Oe=E(xe+="",C);return Oe.toString=function(){return xe},Oe},utcParse:function(xe){var Oe=T(xe+="",!0);return Oe.toString=function(){return xe},Oe}}}var bH={"-":"",_:" ",0:"0"},ks=/^\s*\d+/,Pze=/^%/,Dze=/[\\^$*+?|[\]().{}]/g;function fi(e,t,r){var n=e<0?"-":"",i=(n?-e:e)+"",a=i.length;return n+(a<r?new Array(r-a+1).join(t)+i:i)}function Rze(e){return e.replace(Dze,"\\$&")}function Cx(e){return new RegExp("^(?:"+e.map(Rze).join("|")+")","i")}function Px(e){return new Map(e.map((t,r)=>[t.toLowerCase(),r]))}function kze(e,t,r){var n=ks.exec(t.slice(r,r+1));return n?(e.w=+n[0],r+n[0].length):-1}function Tze(e,t,r){var n=ks.exec(t.slice(r,r+1));return n?(e.u=+n[0],r+n[0].length):-1}function Aze(e,t,r){var n=ks.exec(t.slice(r,r+2));return n?(e.U=+n[0],r+n[0].length):-1}function Fze(e,t,r){var n=ks.exec(t.slice(r,r+2));return n?(e.V=+n[0],r+n[0].length):-1}function Ize(e,t,r){var n=ks.exec(t.slice(r,r+2));return n?(e.W=+n[0],r+n[0].length):-1}function OH(e,t,r){var n=ks.exec(t.slice(r,r+4));return n?(e.y=+n[0],r+n[0].length):-1}function xH(e,t,r){var n=ks.exec(t.slice(r,r+2));return n?(e.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function Mze(e,t,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(r,r+6));return n?(e.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function Nze(e,t,r){var n=ks.exec(t.slice(r,r+1));return n?(e.q=n[0]*3-3,r+n[0].length):-1}function Lze(e,t,r){var n=ks.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function _H(e,t,r){var n=ks.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function zze(e,t,r){var n=ks.exec(t.slice(r,r+3));return n?(e.m=0,e.d=+n[0],r+n[0].length):-1}function SH(e,t,r){var n=ks.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function Qze(e,t,r){var n=ks.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function Bze(e,t,r){var n=ks.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function qze(e,t,r){var n=ks.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function Uze(e,t,r){var n=ks.exec(t.slice(r,r+6));return n?(e.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function Vze(e,t,r){var n=Pze.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function jze(e,t,r){var n=ks.exec(t.slice(r));return n?(e.Q=+n[0],r+n[0].length):-1}function Wze(e,t,r){var n=ks.exec(t.slice(r));return n?(e.s=+n[0],r+n[0].length):-1}function wH(e,t){return fi(e.getDate(),t,2)}function Zze(e,t){return fi(e.getHours(),t,2)}function Kze(e,t){return fi(e.getHours()%12||12,t,2)}function Hze(e,t){return fi(1+mw.count(V0(e),e),t,3)}function yve(e,t){return fi(e.getMilliseconds(),t,3)}function Yze(e,t){return yve(e,t)+"000"}function Gze(e,t){return fi(e.getMonth()+1,t,2)}function Xze(e,t){return fi(e.getMinutes(),t,2)}function Jze(e,t){return fi(e.getSeconds(),t,2)}function eQe(e){var t=e.getDay();return t===0?7:t}function tQe(e,t){return fi(iC.count(V0(e)-1,e),t,2)}function bve(e){var t=e.getDay();return t>=4||t===0?Wb(e):Wb.ceil(e)}function rQe(e,t){return e=bve(e),fi(Wb.count(V0(e),e)+(V0(e).getDay()===4),t,2)}function nQe(e){return e.getDay()}function iQe(e,t){return fi(n4.count(V0(e)-1,e),t,2)}function aQe(e,t){return fi(e.getFullYear()%100,t,2)}function oQe(e,t){return e=bve(e),fi(e.getFullYear()%100,t,2)}function sQe(e,t){return fi(e.getFullYear()%1e4,t,4)}function uQe(e,t){var r=e.getDay();return e=r>=4||r===0?Wb(e):Wb.ceil(e),fi(e.getFullYear()%1e4,t,4)}function lQe(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+fi(t/60|0,"0",2)+fi(t%60,"0",2)}function EH(e,t){return fi(e.getUTCDate(),t,2)}function cQe(e,t){return fi(e.getUTCHours(),t,2)}function fQe(e,t){return fi(e.getUTCHours()%12||12,t,2)}function dQe(e,t){return fi(1+nC.count(j0(e),e),t,3)}function Ove(e,t){return fi(e.getUTCMilliseconds(),t,3)}function hQe(e,t){return Ove(e,t)+"000"}function pQe(e,t){return fi(e.getUTCMonth()+1,t,2)}function mQe(e,t){return fi(e.getUTCMinutes(),t,2)}function gQe(e,t){return fi(e.getUTCSeconds(),t,2)}function vQe(e){var t=e.getUTCDay();return t===0?7:t}function yQe(e,t){return fi(aC.count(j0(e)-1,e),t,2)}function xve(e){var t=e.getUTCDay();return t>=4||t===0?Zb(e):Zb.ceil(e)}function bQe(e,t){return e=xve(e),fi(Zb.count(j0(e),e)+(j0(e).getUTCDay()===4),t,2)}function OQe(e){return e.getUTCDay()}function xQe(e,t){return fi(i4.count(j0(e)-1,e),t,2)}function _Qe(e,t){return fi(e.getUTCFullYear()%100,t,2)}function SQe(e,t){return e=xve(e),fi(e.getUTCFullYear()%100,t,2)}function wQe(e,t){return fi(e.getUTCFullYear()%1e4,t,4)}function EQe(e,t){var r=e.getUTCDay();return e=r>=4||r===0?Zb(e):Zb.ceil(e),fi(e.getUTCFullYear()%1e4,t,4)}function $Qe(){return"+0000"}function $H(){return"%"}function CH(e){return+e}function PH(e){return Math.floor(+e/1e3)}var C1,_ve,Sve;CQe({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function CQe(e){return C1=Cze(e),_ve=C1.format,C1.parse,Sve=C1.utcFormat,C1.utcParse,C1}var vw=e=>e.type==="checkbox",ob=e=>e instanceof Date,ul=e=>e==null;const wve=e=>typeof e=="object";var cs=e=>!ul(e)&&!Array.isArray(e)&&wve(e)&&!ob(e),Eve=e=>cs(e)&&e.target?vw(e.target)?e.target.checked:e.target.value:e,PQe=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,$ve=(e,t)=>e.has(PQe(t)),DQe=e=>{const t=e.constructor&&e.constructor.prototype;return cs(t)&&t.hasOwnProperty("isPrototypeOf")},KL=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function os(e){let t;const r=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(!(KL&&(e instanceof Blob||e instanceof FileList))&&(r||cs(e)))if(t=r?[]:{},!r&&!DQe(e))t=e;else for(const n in e)e.hasOwnProperty(n)&&(t[n]=os(e[n]));else return e;return t}var yw=e=>Array.isArray(e)?e.filter(Boolean):[],ia=e=>e===void 0,Lt=(e,t,r)=>{if(!t||!cs(e))return r;const n=yw(t.split(/[,[\].]+?/)).reduce((i,a)=>ul(i)?i:i[a],e);return ia(n)||n===e?ia(e[t])?r:e[t]:n},Xh=e=>typeof e=="boolean",HL=e=>/^\w*$/.test(e),Cve=e=>yw(e.replace(/["|']|\]/g,"").split(/\.|\[/)),Ai=(e,t,r)=>{let n=-1;const i=HL(t)?[t]:Cve(t),a=i.length,o=a-1;for(;++n<a;){const s=i[n];let u=r;if(n!==o){const l=e[s];u=cs(l)||Array.isArray(l)?l:isNaN(+i[n+1])?{}:[]}if(s==="__proto__")return;e[s]=u,e=e[s]}return e};const o4={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},Bf={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},s0={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},Pve=$e.createContext(null),oC=()=>$e.useContext(Pve),Bpt=e=>{const{children:t,...r}=e;return $e.createElement(Pve.Provider,{value:r},t)};var Dve=(e,t,r,n=!0)=>{const i={defaultValues:t._defaultValues};for(const a in e)Object.defineProperty(i,a,{get:()=>{const o=a;return t._proxyFormState[o]!==Bf.all&&(t._proxyFormState[o]=!n||Bf.all),r&&(r[o]=!0),e[o]}});return i},ic=e=>cs(e)&&!Object.keys(e).length,Rve=(e,t,r,n)=>{r(e);const{name:i,...a}=e;return ic(a)||Object.keys(a).length>=Object.keys(t).length||Object.keys(a).find(o=>t[o]===(!n||Bf.all))},fc=e=>Array.isArray(e)?e:[e],kve=(e,t,r)=>!e||!t||e===t||fc(e).some(n=>n&&(r?n===t:n.startsWith(t)||t.startsWith(n)));function sC(e){const t=$e.useRef(e);t.current=e,$e.useEffect(()=>{const r=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{r&&r.unsubscribe()}},[e.disabled])}function RQe(e){const t=oC(),{control:r=t.control,disabled:n,name:i,exact:a}=e||{},[o,s]=$e.useState(r._formState),u=$e.useRef(!0),l=$e.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),c=$e.useRef(i);return c.current=i,sC({disabled:n,next:f=>u.current&&kve(c.current,f.name,a)&&Rve(f,l.current,r._updateFormState)&&s({...r._formState,...f}),subject:r._subjects.state}),$e.useEffect(()=>(u.current=!0,l.current.isValid&&r._updateValid(!0),()=>{u.current=!1}),[r]),Dve(o,r,l.current,!1)}var ap=e=>typeof e=="string",Tve=(e,t,r,n,i)=>ap(e)?(n&&t.watch.add(e),Lt(r,e,i)):Array.isArray(e)?e.map(a=>(n&&t.watch.add(a),Lt(r,a))):(n&&(t.watchAll=!0),r);function kQe(e){const t=oC(),{control:r=t.control,name:n,defaultValue:i,disabled:a,exact:o}=e||{},s=$e.useRef(n);s.current=n,sC({disabled:a,subject:r._subjects.values,next:c=>{kve(s.current,c.name,o)&&l(os(Tve(s.current,r._names,c.values||r._formValues,!1,i)))}});const[u,l]=$e.useState(r._getWatch(n,i));return $e.useEffect(()=>r._removeUnmounted()),u}function TQe(e){const t=oC(),{name:r,disabled:n,control:i=t.control,shouldUnregister:a}=e,o=$ve(i._names.array,r),s=kQe({control:i,name:r,defaultValue:Lt(i._formValues,r,Lt(i._defaultValues,r,e.defaultValue)),exact:!0}),u=RQe({control:i,name:r}),l=$e.useRef(i.register(r,{...e.rules,value:s,...Xh(e.disabled)?{disabled:e.disabled}:{}}));return $e.useEffect(()=>{const c=i._options.shouldUnregister||a,f=(d,h)=>{const g=Lt(i._fields,d);g&&g._f&&(g._f.mount=h)};if(f(r,!0),c){const d=os(Lt(i._options.defaultValues,r));Ai(i._defaultValues,r,d),ia(Lt(i._formValues,r))&&Ai(i._formValues,r,d)}return()=>{(o?c&&!i._state.action:c)?i.unregister(r):f(r,!1)}},[r,i,o,a]),$e.useEffect(()=>{Lt(i._fields,r)&&i._updateDisabledField({disabled:n,fields:i._fields,name:r,value:Lt(i._fields,r)._f.value})},[n,r,i]),{field:{name:r,value:s,...Xh(n)||u.disabled?{disabled:u.disabled||n}:{},onChange:$e.useCallback(c=>l.current.onChange({target:{value:Eve(c),name:r},type:o4.CHANGE}),[r]),onBlur:$e.useCallback(()=>l.current.onBlur({target:{value:Lt(i._formValues,r),name:r},type:o4.BLUR}),[r,i]),ref:c=>{const f=Lt(i._fields,r);f&&c&&(f._f.ref={focus:()=>c.focus(),select:()=>c.select(),setCustomValidity:d=>c.setCustomValidity(d),reportValidity:()=>c.reportValidity()})}},formState:u,fieldState:Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!Lt(u.errors,r)},isDirty:{enumerable:!0,get:()=>!!Lt(u.dirtyFields,r)},isTouched:{enumerable:!0,get:()=>!!Lt(u.touchedFields,r)},isValidating:{enumerable:!0,get:()=>!!Lt(u.validatingFields,r)},error:{enumerable:!0,get:()=>Lt(u.errors,r)}})}}const qpt=e=>e.render(TQe(e));var AQe=(e,t,r,n,i)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[n]:i||!0}}:{},Fm=()=>{const e=typeof performance>"u"?Date.now():performance.now()*1e3;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,t=>{const r=(Math.random()*16+e)%16|0;return(t=="x"?r:r&3|8).toString(16)})},XT=(e,t,r={})=>r.shouldFocus||ia(r.shouldFocus)?r.focusName||`${e}.${ia(r.focusIndex)?t:r.focusIndex}.`:"",P_=e=>({isOnSubmit:!e||e===Bf.onSubmit,isOnBlur:e===Bf.onBlur,isOnChange:e===Bf.onChange,isOnAll:e===Bf.all,isOnTouch:e===Bf.onTouched}),T9=(e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some(n=>e.startsWith(n)&&/^\.\w+/.test(e.slice(n.length))));const Eb=(e,t,r,n)=>{for(const i of r||Object.keys(e)){const a=Lt(e,i);if(a){const{_f:o,...s}=a;if(o){if(o.refs&&o.refs[0]&&t(o.refs[0],i)&&!n)break;if(o.ref&&t(o.ref,o.name)&&!n)break;Eb(s,t)}else cs(s)&&Eb(s,t)}}};var Ave=(e,t,r)=>{const n=fc(Lt(e,r));return Ai(n,"root",t[r]),Ai(e,r,n),e},YL=e=>e.type==="file",ag=e=>typeof e=="function",s4=e=>{if(!KL)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},VE=e=>ap(e),GL=e=>e.type==="radio",u4=e=>e instanceof RegExp;const DH={value:!1,isValid:!1},RH={value:!0,isValid:!0};var Fve=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter(r=>r&&r.checked&&!r.disabled).map(r=>r.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!ia(e[0].attributes.value)?ia(e[0].value)||e[0].value===""?RH:{value:e[0].value,isValid:!0}:RH:DH}return DH};const kH={isValid:!1,value:null};var Ive=e=>Array.isArray(e)?e.reduce((t,r)=>r&&r.checked&&!r.disabled?{isValid:!0,value:r.value}:t,kH):kH;function TH(e,t,r="validate"){if(VE(e)||Array.isArray(e)&&e.every(VE)||Xh(e)&&!e)return{type:r,message:VE(e)?e:"",ref:t}}var P1=e=>cs(e)&&!u4(e)?e:{value:e,message:""},A9=async(e,t,r,n,i)=>{const{ref:a,refs:o,required:s,maxLength:u,minLength:l,min:c,max:f,pattern:d,validate:h,name:g,valueAsNumber:m,mount:v,disabled:y}=e._f,O=Lt(t,g);if(!v||y)return{};const x=o?o[0]:a,C=j=>{n&&x.reportValidity&&(x.setCustomValidity(Xh(j)?"":j||""),x.reportValidity())},w={},E=GL(a),T=vw(a),P=E||T,L=(m||YL(a))&&ia(a.value)&&ia(O)||s4(a)&&a.value===""||O===""||Array.isArray(O)&&!O.length,N=AQe.bind(null,g,r,w),B=(j,A,H,k=s0.maxLength,Q=s0.minLength)=>{const V=j?A:H;w[g]={type:j?k:Q,message:V,ref:a,...N(j?k:Q,V)}};if(i?!Array.isArray(O)||!O.length:s&&(!P&&(L||ul(O))||Xh(O)&&!O||T&&!Fve(o).isValid||E&&!Ive(o).isValid)){const{value:j,message:A}=VE(s)?{value:!!s,message:s}:P1(s);if(j&&(w[g]={type:s0.required,message:A,ref:x,...N(s0.required,A)},!r))return C(A),w}if(!L&&(!ul(c)||!ul(f))){let j,A;const H=P1(f),k=P1(c);if(!ul(O)&&!isNaN(O)){const Q=a.valueAsNumber||O&&+O;ul(H.value)||(j=Q>H.value),ul(k.value)||(A=Q<k.value)}else{const Q=a.valueAsDate||new Date(O),V=M=>new Date(new Date().toDateString()+" "+M),I=a.type=="time",q=a.type=="week";ap(H.value)&&O&&(j=I?V(O)>V(H.value):q?O>H.value:Q>new Date(H.value)),ap(k.value)&&O&&(A=I?V(O)<V(k.value):q?O<k.value:Q<new Date(k.value))}if((j||A)&&(B(!!j,H.message,k.message,s0.max,s0.min),!r))return C(w[g].message),w}if((u||l)&&!L&&(ap(O)||i&&Array.isArray(O))){const j=P1(u),A=P1(l),H=!ul(j.value)&&O.length>+j.value,k=!ul(A.value)&&O.length<+A.value;if((H||k)&&(B(H,j.message,A.message),!r))return C(w[g].message),w}if(d&&!L&&ap(O)){const{value:j,message:A}=P1(d);if(u4(j)&&!O.match(j)&&(w[g]={type:s0.pattern,message:A,ref:a,...N(s0.pattern,A)},!r))return C(A),w}if(h){if(ag(h)){const j=await h(O,t),A=TH(j,x);if(A&&(w[g]={...A,...N(s0.validate,A.message)},!r))return C(A.message),w}else if(cs(h)){let j={};for(const A in h){if(!ic(j)&&!r)break;const H=TH(await h[A](O,t),x,A);H&&(j={...H,...N(A,H.message)},C(H.message),r&&(w[g]=j))}if(!ic(j)&&(w[g]={ref:x,...j},!r))return w}}return C(!0),w},JT=(e,t)=>[...e,...fc(t)],e6=e=>Array.isArray(e)?e.map(()=>{}):void 0;function t6(e,t,r){return[...e.slice(0,t),...fc(r),...e.slice(t)]}var r6=(e,t,r)=>Array.isArray(e)?(ia(e[r])&&(e[r]=void 0),e.splice(r,0,e.splice(t,1)[0]),e):[],n6=(e,t)=>[...fc(t),...fc(e)];function FQe(e,t){let r=0;const n=[...e];for(const i of t)n.splice(i-r,1),r++;return yw(n).length?n:[]}var i6=(e,t)=>ia(t)?[]:FQe(e,fc(t).sort((r,n)=>r-n)),a6=(e,t,r)=>{[e[t],e[r]]=[e[r],e[t]]};function IQe(e,t){const r=t.slice(0,-1).length;let n=0;for(;n<r;)e=ia(e)?n++:e[t[n++]];return e}function MQe(e){for(const t in e)if(e.hasOwnProperty(t)&&!ia(e[t]))return!1;return!0}function Mo(e,t){const r=Array.isArray(t)?t:HL(t)?[t]:Cve(t),n=r.length===1?e:IQe(e,r),i=r.length-1,a=r[i];return n&&delete n[a],i!==0&&(cs(n)&&ic(n)||Array.isArray(n)&&MQe(n))&&Mo(e,r.slice(0,-1)),e}var AH=(e,t,r)=>(e[t]=r,e);function Upt(e){const t=oC(),{control:r=t.control,name:n,keyName:i="id",shouldUnregister:a}=e,[o,s]=$e.useState(r._getFieldArray(n)),u=$e.useRef(r._getFieldArray(n).map(Fm)),l=$e.useRef(o),c=$e.useRef(n),f=$e.useRef(!1);c.current=n,l.current=o,r._names.array.add(n),e.rules&&r.register(n,e.rules),sC({next:({values:w,name:E})=>{if(E===c.current||!E){const T=Lt(w,c.current);Array.isArray(T)&&(s(T),u.current=T.map(Fm))}},subject:r._subjects.array});const d=$e.useCallback(w=>{f.current=!0,r._updateFieldArray(n,w)},[r,n]),h=(w,E)=>{const T=fc(os(w)),P=JT(r._getFieldArray(n),T);r._names.focus=XT(n,P.length-1,E),u.current=JT(u.current,T.map(Fm)),d(P),s(P),r._updateFieldArray(n,P,JT,{argA:e6(w)})},g=(w,E)=>{const T=fc(os(w)),P=n6(r._getFieldArray(n),T);r._names.focus=XT(n,0,E),u.current=n6(u.current,T.map(Fm)),d(P),s(P),r._updateFieldArray(n,P,n6,{argA:e6(w)})},m=w=>{const E=i6(r._getFieldArray(n),w);u.current=i6(u.current,w),d(E),s(E),r._updateFieldArray(n,E,i6,{argA:w})},v=(w,E,T)=>{const P=fc(os(E)),L=t6(r._getFieldArray(n),w,P);r._names.focus=XT(n,w,T),u.current=t6(u.current,w,P.map(Fm)),d(L),s(L),r._updateFieldArray(n,L,t6,{argA:w,argB:e6(E)})},y=(w,E)=>{const T=r._getFieldArray(n);a6(T,w,E),a6(u.current,w,E),d(T),s(T),r._updateFieldArray(n,T,a6,{argA:w,argB:E},!1)},O=(w,E)=>{const T=r._getFieldArray(n);r6(T,w,E),r6(u.current,w,E),d(T),s(T),r._updateFieldArray(n,T,r6,{argA:w,argB:E},!1)},x=(w,E)=>{const T=os(E),P=AH(r._getFieldArray(n),w,T);u.current=[...P].map((L,N)=>!L||N===w?Fm():u.current[N]),d(P),s([...P]),r._updateFieldArray(n,P,AH,{argA:w,argB:T},!0,!1)},C=w=>{const E=fc(os(w));u.current=E.map(Fm),d([...E]),s([...E]),r._updateFieldArray(n,[...E],T=>T,{},!0,!1)};return $e.useEffect(()=>{if(r._state.action=!1,T9(n,r._names)&&r._subjects.state.next({...r._formState}),f.current&&(!P_(r._options.mode).isOnSubmit||r._formState.isSubmitted))if(r._options.resolver)r._executeSchema([n]).then(w=>{const E=Lt(w.errors,n),T=Lt(r._formState.errors,n);(T?!E&&T.type||E&&(T.type!==E.type||T.message!==E.message):E&&E.type)&&(E?Ai(r._formState.errors,n,E):Mo(r._formState.errors,n),r._subjects.state.next({errors:r._formState.errors}))});else{const w=Lt(r._fields,n);w&&w._f&&!(P_(r._options.reValidateMode).isOnSubmit&&P_(r._options.mode).isOnSubmit)&&A9(w,r._formValues,r._options.criteriaMode===Bf.all,r._options.shouldUseNativeValidation,!0).then(E=>!ic(E)&&r._subjects.state.next({errors:Ave(r._formState.errors,E,n)}))}r._subjects.values.next({name:n,values:{...r._formValues}}),r._names.focus&&Eb(r._fields,(w,E)=>{if(r._names.focus&&E.startsWith(r._names.focus)&&w.focus)return w.focus(),1}),r._names.focus="",r._updateValid(),f.current=!1},[o,n,r]),$e.useEffect(()=>(!Lt(r._formValues,n)&&r._updateFieldArray(n),()=>{(r._options.shouldUnregister||a)&&r.unregister(n)}),[n,r,i,a]),{swap:$e.useCallback(y,[d,n,r]),move:$e.useCallback(O,[d,n,r]),prepend:$e.useCallback(g,[d,n,r]),append:$e.useCallback(h,[d,n,r]),remove:$e.useCallback(m,[d,n,r]),insert:$e.useCallback(v,[d,n,r]),update:$e.useCallback(x,[d,n,r]),replace:$e.useCallback(C,[d,n,r]),fields:$e.useMemo(()=>o.map((w,E)=>({...w,[i]:u.current[E]||Fm()})),[o,i])}}var o6=()=>{let e=[];return{get observers(){return e},next:i=>{for(const a of e)a.next&&a.next(i)},subscribe:i=>(e.push(i),{unsubscribe:()=>{e=e.filter(a=>a!==i)}}),unsubscribe:()=>{e=[]}}},l4=e=>ul(e)||!wve(e);function Yv(e,t){if(l4(e)||l4(t))return e===t;if(ob(e)&&ob(t))return e.getTime()===t.getTime();const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(const i of r){const a=e[i];if(!n.includes(i))return!1;if(i!=="ref"){const o=t[i];if(ob(a)&&ob(o)||cs(a)&&cs(o)||Array.isArray(a)&&Array.isArray(o)?!Yv(a,o):a!==o)return!1}}return!0}var Mve=e=>e.type==="select-multiple",NQe=e=>GL(e)||vw(e),s6=e=>s4(e)&&e.isConnected,Nve=e=>{for(const t in e)if(ag(e[t]))return!0;return!1};function c4(e,t={}){const r=Array.isArray(e);if(cs(e)||r)for(const n in e)Array.isArray(e[n])||cs(e[n])&&!Nve(e[n])?(t[n]=Array.isArray(e[n])?[]:{},c4(e[n],t[n])):ul(e[n])||(t[n]=!0);return t}function Lve(e,t,r){const n=Array.isArray(e);if(cs(e)||n)for(const i in e)Array.isArray(e[i])||cs(e[i])&&!Nve(e[i])?ia(t)||l4(r[i])?r[i]=Array.isArray(e[i])?c4(e[i],[]):{...c4(e[i])}:Lve(e[i],ul(t)?{}:t[i],r[i]):r[i]=!Yv(e[i],t[i]);return r}var Z3=(e,t)=>Lve(e,t,c4(t)),zve=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:n})=>ia(e)?e:t?e===""?NaN:e&&+e:r&&ap(e)?new Date(e):n?n(e):e;function u6(e){const t=e.ref;if(!(e.refs?e.refs.every(r=>r.disabled):t.disabled))return YL(t)?t.files:GL(t)?Ive(e.refs).value:Mve(t)?[...t.selectedOptions].map(({value:r})=>r):vw(t)?Fve(e.refs).value:zve(ia(t.value)?e.ref.value:t.value,e)}var LQe=(e,t,r,n)=>{const i={};for(const a of e){const o=Lt(t,a);o&&Ai(i,a,o._f)}return{criteriaMode:r,names:[...e],fields:i,shouldUseNativeValidation:n}},Dx=e=>ia(e)?e:u4(e)?e.source:cs(e)?u4(e.value)?e.value.source:e.value:e,zQe=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function FH(e,t,r){const n=Lt(e,r);if(n||HL(r))return{error:n,name:r};const i=r.split(".");for(;i.length;){const a=i.join("."),o=Lt(t,a),s=Lt(e,a);if(o&&!Array.isArray(o)&&r!==a)return{name:r};if(s&&s.type)return{name:a,error:s};i.pop()}return{name:r}}var QQe=(e,t,r,n,i)=>i.isOnAll?!1:!r&&i.isOnTouch?!(t||e):(r?n.isOnBlur:i.isOnBlur)?!e:(r?n.isOnChange:i.isOnChange)?e:!0,BQe=(e,t)=>!yw(Lt(e,t)).length&&Mo(e,t);const qQe={mode:Bf.onSubmit,reValidateMode:Bf.onChange,shouldFocusError:!0};function UQe(e={}){let t={...qQe,...e},r={submitCount:0,isDirty:!1,isLoading:ag(t.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1},n={},i=cs(t.defaultValues)||cs(t.values)?os(t.defaultValues||t.values)||{}:{},a=t.shouldUnregister?{}:os(i),o={action:!1,mount:!1,watch:!1},s={mount:new Set,unMount:new Set,array:new Set,watch:new Set},u,l=0;const c={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},f={values:o6(),array:o6(),state:o6()},d=P_(t.mode),h=P_(t.reValidateMode),g=t.criteriaMode===Bf.all,m=le=>ve=>{clearTimeout(l),l=setTimeout(le,ve)},v=async le=>{if(c.isValid||le){const ve=t.resolver?ic((await P()).errors):await N(n,!0);ve!==r.isValid&&f.state.next({isValid:ve})}},y=(le,ve)=>{(c.isValidating||c.validatingFields)&&((le||Array.from(s.mount)).forEach(_e=>{_e&&(ve?Ai(r.validatingFields,_e,ve):Mo(r.validatingFields,_e))}),f.state.next({validatingFields:r.validatingFields,isValidating:!ic(r.validatingFields)}))},O=(le,ve=[],_e,De,Te=!0,ke=!0)=>{if(De&&_e){if(o.action=!0,ke&&Array.isArray(Lt(n,le))){const Be=_e(Lt(n,le),De.argA,De.argB);Te&&Ai(n,le,Be)}if(ke&&Array.isArray(Lt(r.errors,le))){const Be=_e(Lt(r.errors,le),De.argA,De.argB);Te&&Ai(r.errors,le,Be),BQe(r.errors,le)}if(c.touchedFields&&ke&&Array.isArray(Lt(r.touchedFields,le))){const Be=_e(Lt(r.touchedFields,le),De.argA,De.argB);Te&&Ai(r.touchedFields,le,Be)}c.dirtyFields&&(r.dirtyFields=Z3(i,a)),f.state.next({name:le,isDirty:j(le,ve),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else Ai(a,le,ve)},x=(le,ve)=>{Ai(r.errors,le,ve),f.state.next({errors:r.errors})},C=le=>{r.errors=le,f.state.next({errors:r.errors,isValid:!1})},w=(le,ve,_e,De)=>{const Te=Lt(n,le);if(Te){const ke=Lt(a,le,ia(_e)?Lt(i,le):_e);ia(ke)||De&&De.defaultChecked||ve?Ai(a,le,ve?ke:u6(Te._f)):k(le,ke),o.mount&&v()}},E=(le,ve,_e,De,Te)=>{let ke=!1,Be=!1;const rt={name:le},Le=!!(Lt(n,le)&&Lt(n,le)._f&&Lt(n,le)._f.disabled);if(!_e||De){c.isDirty&&(Be=r.isDirty,r.isDirty=rt.isDirty=j(),ke=Be!==rt.isDirty);const Ve=Le||Yv(Lt(i,le),ve);Be=!!(!Le&&Lt(r.dirtyFields,le)),Ve||Le?Mo(r.dirtyFields,le):Ai(r.dirtyFields,le,!0),rt.dirtyFields=r.dirtyFields,ke=ke||c.dirtyFields&&Be!==!Ve}if(_e){const Ve=Lt(r.touchedFields,le);Ve||(Ai(r.touchedFields,le,_e),rt.touchedFields=r.touchedFields,ke=ke||c.touchedFields&&Ve!==_e)}return ke&&Te&&f.state.next(rt),ke?rt:{}},T=(le,ve,_e,De)=>{const Te=Lt(r.errors,le),ke=c.isValid&&Xh(ve)&&r.isValid!==ve;if(e.delayError&&_e?(u=m(()=>x(le,_e)),u(e.delayError)):(clearTimeout(l),u=null,_e?Ai(r.errors,le,_e):Mo(r.errors,le)),(_e?!Yv(Te,_e):Te)||!ic(De)||ke){const Be={...De,...ke&&Xh(ve)?{isValid:ve}:{},errors:r.errors,name:le};r={...r,...Be},f.state.next(Be)}},P=async le=>{y(le,!0);const ve=await t.resolver(a,t.context,LQe(le||s.mount,n,t.criteriaMode,t.shouldUseNativeValidation));return y(le),ve},L=async le=>{const{errors:ve}=await P(le);if(le)for(const _e of le){const De=Lt(ve,_e);De?Ai(r.errors,_e,De):Mo(r.errors,_e)}else r.errors=ve;return ve},N=async(le,ve,_e={valid:!0})=>{for(const De in le){const Te=le[De];if(Te){const{_f:ke,...Be}=Te;if(ke){const rt=s.array.has(ke.name);y([De],!0);const Le=await A9(Te,a,g,t.shouldUseNativeValidation&&!ve,rt);if(y([De]),Le[ke.name]&&(_e.valid=!1,ve))break;!ve&&(Lt(Le,ke.name)?rt?Ave(r.errors,Le,ke.name):Ai(r.errors,ke.name,Le[ke.name]):Mo(r.errors,ke.name))}Be&&await N(Be,ve,_e)}}return _e.valid},B=()=>{for(const le of s.unMount){const ve=Lt(n,le);ve&&(ve._f.refs?ve._f.refs.every(_e=>!s6(_e)):!s6(ve._f.ref))&&ie(le)}s.unMount=new Set},j=(le,ve)=>(le&&ve&&Ai(a,le,ve),!Yv(z(),i)),A=(le,ve,_e)=>Tve(le,s,{...o.mount?a:ia(ve)?i:ap(le)?{[le]:ve}:ve},_e,ve),H=le=>yw(Lt(o.mount?a:i,le,e.shouldUnregister?Lt(i,le,[]):[])),k=(le,ve,_e={})=>{const De=Lt(n,le);let Te=ve;if(De){const ke=De._f;ke&&(!ke.disabled&&Ai(a,le,zve(ve,ke)),Te=s4(ke.ref)&&ul(ve)?"":ve,Mve(ke.ref)?[...ke.ref.options].forEach(Be=>Be.selected=Te.includes(Be.value)):ke.refs?vw(ke.ref)?ke.refs.length>1?ke.refs.forEach(Be=>(!Be.defaultChecked||!Be.disabled)&&(Be.checked=Array.isArray(Te)?!!Te.find(rt=>rt===Be.value):Te===Be.value)):ke.refs[0]&&(ke.refs[0].checked=!!Te):ke.refs.forEach(Be=>Be.checked=Be.value===Te):YL(ke.ref)?ke.ref.value="":(ke.ref.value=Te,ke.ref.type||f.values.next({name:le,values:{...a}})))}(_e.shouldDirty||_e.shouldTouch)&&E(le,Te,_e.shouldTouch,_e.shouldDirty,!0),_e.shouldValidate&&M(le)},Q=(le,ve,_e)=>{for(const De in ve){const Te=ve[De],ke=`${le}.${De}`,Be=Lt(n,ke);(s.array.has(le)||!l4(Te)||Be&&!Be._f)&&!ob(Te)?Q(ke,Te,_e):k(ke,Te,_e)}},V=(le,ve,_e={})=>{const De=Lt(n,le),Te=s.array.has(le),ke=os(ve);Ai(a,le,ke),Te?(f.array.next({name:le,values:{...a}}),(c.isDirty||c.dirtyFields)&&_e.shouldDirty&&f.state.next({name:le,dirtyFields:Z3(i,a),isDirty:j(le,ke)})):De&&!De._f&&!ul(ke)?Q(le,ke,_e):k(le,ke,_e),T9(le,s)&&f.state.next({...r}),f.values.next({name:o.mount?le:void 0,values:{...a}})},I=async le=>{o.mount=!0;const ve=le.target;let _e=ve.name,De=!0;const Te=Lt(n,_e),ke=()=>ve.type?u6(Te._f):Eve(le),Be=rt=>{De=Number.isNaN(rt)||rt===Lt(a,_e,rt)};if(Te){let rt,Le;const Ve=ke(),at=le.type===o4.BLUR||le.type===o4.FOCUS_OUT,bt=!zQe(Te._f)&&!t.resolver&&!Lt(r.errors,_e)&&!Te._f.deps||QQe(at,Lt(r.touchedFields,_e),r.isSubmitted,h,d),_t=T9(_e,s,at);Ai(a,_e,Ve),at?(Te._f.onBlur&&Te._f.onBlur(le),u&&u(0)):Te._f.onChange&&Te._f.onChange(le);const pt=E(_e,Ve,at,!1),Mt=!ic(pt)||_t;if(!at&&f.values.next({name:_e,type:le.type,values:{...a}}),bt)return c.isValid&&v(),Mt&&f.state.next({name:_e,..._t?{}:pt});if(!at&&_t&&f.state.next({...r}),t.resolver){const{errors:zt}=await P([_e]);if(Be(Ve),De){const Gt=FH(r.errors,n,_e),Ie=FH(zt,n,Gt.name||_e);rt=Ie.error,_e=Ie.name,Le=ic(zt)}}else y([_e],!0),rt=(await A9(Te,a,g,t.shouldUseNativeValidation))[_e],y([_e]),Be(Ve),De&&(rt?Le=!1:c.isValid&&(Le=await N(n,!0)));De&&(Te._f.deps&&M(Te._f.deps),T(_e,Le,rt,pt))}},q=(le,ve)=>{if(Lt(r.errors,ve)&&le.focus)return le.focus(),1},M=async(le,ve={})=>{let _e,De;const Te=fc(le);if(t.resolver){const ke=await L(ia(le)?le:Te);_e=ic(ke),De=le?!Te.some(Be=>Lt(ke,Be)):_e}else le?(De=(await Promise.all(Te.map(async ke=>{const Be=Lt(n,ke);return await N(Be&&Be._f?{[ke]:Be}:Be)}))).every(Boolean),!(!De&&!r.isValid)&&v()):De=_e=await N(n);return f.state.next({...!ap(le)||c.isValid&&_e!==r.isValid?{}:{name:le},...t.resolver||!le?{isValid:_e}:{},errors:r.errors}),ve.shouldFocus&&!De&&Eb(n,q,le?Te:s.mount),De},z=le=>{const ve={...o.mount?a:i};return ia(le)?ve:ap(le)?Lt(ve,le):le.map(_e=>Lt(ve,_e))},G=(le,ve)=>({invalid:!!Lt((ve||r).errors,le),isDirty:!!Lt((ve||r).dirtyFields,le),error:Lt((ve||r).errors,le),isValidating:!!Lt(r.validatingFields,le),isTouched:!!Lt((ve||r).touchedFields,le)}),K=le=>{le&&fc(le).forEach(ve=>Mo(r.errors,ve)),f.state.next({errors:le?r.errors:{}})},te=(le,ve,_e)=>{const De=(Lt(n,le,{_f:{}})._f||{}).ref,Te=Lt(r.errors,le)||{},{ref:ke,message:Be,type:rt,...Le}=Te;Ai(r.errors,le,{...Le,...ve,ref:De}),f.state.next({name:le,errors:r.errors,isValid:!1}),_e&&_e.shouldFocus&&De&&De.focus&&De.focus()},ae=(le,ve)=>ag(le)?f.values.subscribe({next:_e=>le(A(void 0,ve),_e)}):A(le,ve,!0),ie=(le,ve={})=>{for(const _e of le?fc(le):s.mount)s.mount.delete(_e),s.array.delete(_e),ve.keepValue||(Mo(n,_e),Mo(a,_e)),!ve.keepError&&Mo(r.errors,_e),!ve.keepDirty&&Mo(r.dirtyFields,_e),!ve.keepTouched&&Mo(r.touchedFields,_e),!ve.keepIsValidating&&Mo(r.validatingFields,_e),!t.shouldUnregister&&!ve.keepDefaultValue&&Mo(i,_e);f.values.next({values:{...a}}),f.state.next({...r,...ve.keepDirty?{isDirty:j()}:{}}),!ve.keepIsValid&&v()},Se=({disabled:le,name:ve,field:_e,fields:De,value:Te})=>{if(Xh(le)&&o.mount||le){const ke=le?void 0:ia(Te)?u6(_e?_e._f:Lt(De,ve)._f):Te;Ai(a,ve,ke),E(ve,ke,!1,!1,!0)}},pe=(le,ve={})=>{let _e=Lt(n,le);const De=Xh(ve.disabled);return Ai(n,le,{..._e||{},_f:{..._e&&_e._f?_e._f:{ref:{name:le}},name:le,mount:!0,...ve}}),s.mount.add(le),_e?Se({field:_e,disabled:ve.disabled,name:le,value:ve.value}):w(le,!0,ve.value),{...De?{disabled:ve.disabled}:{},...t.progressive?{required:!!ve.required,min:Dx(ve.min),max:Dx(ve.max),minLength:Dx(ve.minLength),maxLength:Dx(ve.maxLength),pattern:Dx(ve.pattern)}:{},name:le,onChange:I,onBlur:I,ref:Te=>{if(Te){pe(le,ve),_e=Lt(n,le);const ke=ia(Te.value)&&Te.querySelectorAll&&Te.querySelectorAll("input,select,textarea")[0]||Te,Be=NQe(ke),rt=_e._f.refs||[];if(Be?rt.find(Le=>Le===ke):ke===_e._f.ref)return;Ai(n,le,{_f:{..._e._f,...Be?{refs:[...rt.filter(s6),ke,...Array.isArray(Lt(i,le))?[{}]:[]],ref:{type:ke.type,name:le}}:{ref:ke}}}),w(le,!1,void 0,ke)}else _e=Lt(n,le,{}),_e._f&&(_e._f.mount=!1),(t.shouldUnregister||ve.shouldUnregister)&&!($ve(s.array,le)&&o.action)&&s.unMount.add(le)}}},xe=()=>t.shouldFocusError&&Eb(n,q,s.mount),Oe=le=>{Xh(le)&&(f.state.next({disabled:le}),Eb(n,(ve,_e)=>{const De=Lt(n,_e);De&&(ve.disabled=De._f.disabled||le,Array.isArray(De._f.refs)&&De._f.refs.forEach(Te=>{Te.disabled=De._f.disabled||le}))},0,!1))},me=(le,ve)=>async _e=>{let De;_e&&(_e.preventDefault&&_e.preventDefault(),_e.persist&&_e.persist());let Te=os(a);if(f.state.next({isSubmitting:!0}),t.resolver){const{errors:ke,values:Be}=await P();r.errors=ke,Te=Be}else await N(n);if(Mo(r.errors,"root"),ic(r.errors)){f.state.next({errors:{}});try{await le(Te,_e)}catch(ke){De=ke}}else ve&&await ve({...r.errors},_e),xe(),setTimeout(xe);if(f.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:ic(r.errors)&&!De,submitCount:r.submitCount+1,errors:r.errors}),De)throw De},ne=(le,ve={})=>{Lt(n,le)&&(ia(ve.defaultValue)?V(le,os(Lt(i,le))):(V(le,ve.defaultValue),Ai(i,le,os(ve.defaultValue))),ve.keepTouched||Mo(r.touchedFields,le),ve.keepDirty||(Mo(r.dirtyFields,le),r.isDirty=ve.defaultValue?j(le,os(Lt(i,le))):j()),ve.keepError||(Mo(r.errors,le),c.isValid&&v()),f.state.next({...r}))},se=(le,ve={})=>{const _e=le?os(le):i,De=os(_e),Te=ic(le),ke=Te?i:De;if(ve.keepDefaultValues||(i=_e),!ve.keepValues){if(ve.keepDirtyValues)for(const Be of s.mount)Lt(r.dirtyFields,Be)?Ai(ke,Be,Lt(a,Be)):V(Be,Lt(ke,Be));else{if(KL&&ia(le))for(const Be of s.mount){const rt=Lt(n,Be);if(rt&&rt._f){const Le=Array.isArray(rt._f.refs)?rt._f.refs[0]:rt._f.ref;if(s4(Le)){const Ve=Le.closest("form");if(Ve){Ve.reset();break}}}}n={}}a=e.shouldUnregister?ve.keepDefaultValues?os(i):{}:os(ke),f.array.next({values:{...ke}}),f.values.next({values:{...ke}})}s={mount:ve.keepDirtyValues?s.mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},o.mount=!c.isValid||!!ve.keepIsValid||!!ve.keepDirtyValues,o.watch=!!e.shouldUnregister,f.state.next({submitCount:ve.keepSubmitCount?r.submitCount:0,isDirty:Te?!1:ve.keepDirty?r.isDirty:!!(ve.keepDefaultValues&&!Yv(le,i)),isSubmitted:ve.keepIsSubmitted?r.isSubmitted:!1,dirtyFields:Te?{}:ve.keepDirtyValues?ve.keepDefaultValues&&a?Z3(i,a):r.dirtyFields:ve.keepDefaultValues&&le?Z3(i,le):ve.keepDirty?r.dirtyFields:{},touchedFields:ve.keepTouched?r.touchedFields:{},errors:ve.keepErrors?r.errors:{},isSubmitSuccessful:ve.keepIsSubmitSuccessful?r.isSubmitSuccessful:!1,isSubmitting:!1})},X=(le,ve)=>se(ag(le)?le(a):le,ve);return{control:{register:pe,unregister:ie,getFieldState:G,handleSubmit:me,setError:te,_executeSchema:P,_getWatch:A,_getDirty:j,_updateValid:v,_removeUnmounted:B,_updateFieldArray:O,_updateDisabledField:Se,_getFieldArray:H,_reset:se,_resetDefaultValues:()=>ag(t.defaultValues)&&t.defaultValues().then(le=>{X(le,t.resetOptions),f.state.next({isLoading:!1})}),_updateFormState:le=>{r={...r,...le}},_disableForm:Oe,_subjects:f,_proxyFormState:c,_setErrors:C,get _fields(){return n},get _formValues(){return a},get _state(){return o},set _state(le){o=le},get _defaultValues(){return i},get _names(){return s},set _names(le){s=le},get _formState(){return r},set _formState(le){r=le},get _options(){return t},set _options(le){t={...t,...le}}},trigger:M,register:pe,handleSubmit:me,watch:ae,setValue:V,getValues:z,reset:X,resetField:ne,clearErrors:K,unregister:ie,setError:te,setFocus:(le,ve={})=>{const _e=Lt(n,le),De=_e&&_e._f;if(De){const Te=De.refs?De.refs[0]:De.ref;Te.focus&&(Te.focus(),ve.shouldSelect&&Te.select())}},getFieldState:G}}function Vpt(e={}){const t=$e.useRef(),r=$e.useRef(),[n,i]=$e.useState({isDirty:!1,isValidating:!1,isLoading:ag(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:ag(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...UQe(e),formState:n});const a=t.current.control;return a._options=e,sC({subject:a._subjects.state,next:o=>{Rve(o,a._proxyFormState,a._updateFormState,!0)&&i({...a._formState})}}),$e.useEffect(()=>a._disableForm(e.disabled),[a,e.disabled]),$e.useEffect(()=>{if(a._proxyFormState.isDirty){const o=a._getDirty();o!==n.isDirty&&a._subjects.state.next({isDirty:o})}},[a,n.isDirty]),$e.useEffect(()=>{e.values&&!Yv(e.values,r.current)?(a._reset(e.values,a._options.resetOptions),r.current=e.values,i(o=>({...o}))):a._resetDefaultValues()},[e.values,a]),$e.useEffect(()=>{e.errors&&a._setErrors(e.errors)},[e.errors,a]),$e.useEffect(()=>{a._state.mount||(a._updateValid(),a._state.mount=!0),a._state.watch&&(a._state.watch=!1,a._subjects.state.next({...a._formState})),a._removeUnmounted()}),$e.useEffect(()=>{e.shouldUnregister&&a._subjects.values.next({values:a._getWatch()})},[e.shouldUnregister,a]),t.current.formState=Dve(n,a),t.current}/**
588
588
  * react-router v7.5.2
589
589
  *
590
590
  * Copyright (c) Remix Software Inc.
@@ -593,7 +593,7 @@ Please change the parent <Route path="${O}"> to <Route path="${O==="/"?"*":`${O}
593
593
  * LICENSE.md file in the root directory of this source tree.
594
594
  *
595
595
  * @license MIT
596
- */function Vpt(e){return F.createElement(fLe,{flushSync:dl.flushSync,...e})}var UQe="Invariant failed";function jpt(e,t){if(!e)throw new Error(UQe)}/**
596
+ */function jpt(e){return F.createElement(dLe,{flushSync:dl.flushSync,...e})}/**
597
597
  * table-core
598
598
  *
599
599
  * Copyright (c) TanStack
@@ -837,7 +837,7 @@ ${r.comment}`:r.comment}this.doc.range[2]=r.offset;break}default:this.errors.pus
837
837
  `+a,C=y.join(x);O=`[
838
838
  `+a+C+`,
839
839
  `+v+"]"}return i.pop(),a=v,O}};const DHe={parse:_He,stringify:PHe};var u0t=DHe;const RHe=1,_be=194,Sbe=195,kHe=196,iG=197,THe=198,AHe=199,FHe=200,IHe=2,wbe=3,aG=201,MHe=24,NHe=25,LHe=49,zHe=50,QHe=55,BHe=56,qHe=57,UHe=59,VHe=60,jHe=61,WHe=62,ZHe=63,KHe=65,HHe=238,YHe=71,GHe=241,XHe=242,JHe=243,eYe=244,tYe=245,rYe=246,nYe=247,iYe=248,Ebe=72,aYe=249,oYe=250,sYe=251,uYe=252,lYe=253,cYe=254,fYe=255,dYe=256,hYe=73,pYe=77,mYe=263,gYe=112,vYe=130,yYe=151,bYe=152,OYe=155,Ey=10,NS=13,Iz=32,TC=9,Mz=35,xYe=40,_Ye=46,nM=123,oG=125,$be=39,Cbe=34,SYe=92,wYe=111,EYe=120,$Ye=78,CYe=117,PYe=85,DYe=new Set([NHe,LHe,zHe,mYe,KHe,vYe,BHe,qHe,HHe,WHe,ZHe,Ebe,hYe,pYe,VHe,jHe,yYe,bYe,OYe,gYe]);function U6(e){return e==Ey||e==NS}function V6(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}const RYe=new zg((e,t)=>{let r;if(e.next<0)e.acceptToken(AHe);else if(t.context.flags&XE)U6(e.next)&&e.acceptToken(THe,1);else if(((r=e.peek(-1))<0||U6(r))&&t.canShift(iG)){let n=0;for(;e.next==Iz||e.next==TC;)e.advance(),n++;(e.next==Ey||e.next==NS||e.next==Mz)&&e.acceptToken(iG,-n)}else U6(e.next)&&e.acceptToken(kHe,1)},{contextual:!0}),kYe=new zg((e,t)=>{let r=t.context;if(r.flags)return;let n=e.peek(-1);if(n==Ey||n==NS){let i=0,a=0;for(;;){if(e.next==Iz)i++;else if(e.next==TC)i+=8-i%8;else break;e.advance(),a++}i!=r.indent&&e.next!=Ey&&e.next!=NS&&e.next!=Mz&&(i<r.indent?e.acceptToken(Sbe,-a):e.acceptToken(_be))}}),XE=1,Pbe=2,d0=4,h0=8,p0=16,m0=32;function JE(e,t,r){this.parent=e,this.indent=t,this.flags=r,this.hash=(e?e.hash+e.hash<<8:0)+t+(t<<4)+r+(r<<6)}const TYe=new JE(null,0,0);function AYe(e){let t=0;for(let r=0;r<e.length;r++)t+=e.charCodeAt(r)==TC?8-t%8:1;return t}const sG=new Map([[GHe,0],[XHe,d0],[JHe,h0],[eYe,h0|d0],[tYe,p0],[rYe,p0|d0],[nYe,p0|h0],[iYe,p0|h0|d0],[aYe,m0],[oYe,m0|d0],[sYe,m0|h0],[uYe,m0|h0|d0],[lYe,m0|p0],[cYe,m0|p0|d0],[fYe,m0|p0|h0],[dYe,m0|p0|h0|d0]].map(([e,t])=>[e,t|Pbe])),FYe=new afe({start:TYe,reduce(e,t,r,n){return e.flags&XE&&DYe.has(t)||(t==YHe||t==Ebe)&&e.flags&Pbe?e.parent:e},shift(e,t,r,n){return t==_be?new JE(e,AYe(n.read(n.pos,r.pos)),0):t==Sbe?e.parent:t==MHe||t==QHe||t==UHe||t==wbe?new JE(e,0,XE):sG.has(t)?new JE(e,0,sG.get(t)|e.flags&XE):e},hash(e){return e.hash}}),IYe=new zg(e=>{for(let t=0;t<5;t++){if(e.next!="print".charCodeAt(t))return;e.advance()}if(!/\w/.test(String.fromCharCode(e.next)))for(let t=0;;t++){let r=e.peek(t);if(!(r==Iz||r==TC)){r!=xYe&&r!=_Ye&&r!=Ey&&r!=NS&&r!=Mz&&e.acceptToken(RHe);return}}}),MYe=new zg((e,t)=>{let{flags:r}=t.context,n=r&d0?Cbe:$be,i=(r&h0)>0,a=!(r&p0),o=(r&m0)>0,s=e.pos;for(;!(e.next<0);)if(o&&e.next==nM)if(e.peek(1)==nM)e.advance(2);else{if(e.pos==s){e.acceptToken(wbe,1);return}break}else if(a&&e.next==SYe){if(e.pos==s){e.advance();let u=e.next;u>=0&&(e.advance(),NYe(e,u)),e.acceptToken(IHe);return}break}else if(e.next==n&&(!i||e.peek(1)==n&&e.peek(2)==n)){if(e.pos==s){e.acceptToken(aG,i?3:1);return}break}else if(e.next==Ey){if(i)e.advance();else if(e.pos==s){e.acceptToken(aG);return}break}else e.advance();e.pos>s&&e.acceptToken(FHe)});function NYe(e,t){if(t==wYe)for(let r=0;r<2&&e.next>=48&&e.next<=55;r++)e.advance();else if(t==EYe)for(let r=0;r<2&&V6(e.next);r++)e.advance();else if(t==CYe)for(let r=0;r<4&&V6(e.next);r++)e.advance();else if(t==PYe)for(let r=0;r<8&&V6(e.next);r++)e.advance();else if(t==$Ye&&e.next==nM){for(e.advance();e.next>=0&&e.next!=oG&&e.next!=$be&&e.next!=Cbe&&e.next!=Ey;)e.advance();e.next==oG&&e.advance()}}const LYe=rfe({'async "*" "**" FormatConversion FormatSpec':st.modifier,"for while if elif else try except finally return raise break continue with pass assert await yield match case":st.controlKeyword,"in not and or is del":st.operatorKeyword,"from def class global nonlocal lambda":st.definitionKeyword,import:st.moduleKeyword,"with as print":st.keyword,Boolean:st.bool,None:st.null,VariableName:st.variableName,"CallExpression/VariableName":st.function(st.variableName),"FunctionDefinition/VariableName":st.function(st.definition(st.variableName)),"ClassDefinition/VariableName":st.definition(st.className),PropertyName:st.propertyName,"CallExpression/MemberExpression/PropertyName":st.function(st.propertyName),Comment:st.lineComment,Number:st.number,String:st.string,FormatString:st.special(st.string),Escape:st.escape,UpdateOp:st.updateOperator,"ArithOp!":st.arithmeticOperator,BitOp:st.bitwiseOperator,CompareOp:st.compareOperator,AssignOp:st.definitionOperator,Ellipsis:st.punctuation,At:st.meta,"( )":st.paren,"[ ]":st.squareBracket,"{ }":st.brace,".":st.derefOperator,", ;":st.separator}),zYe={__proto__:null,await:44,or:54,and:56,in:60,not:62,is:64,if:70,else:72,lambda:76,yield:94,from:96,async:102,for:104,None:162,True:164,False:164,del:178,pass:182,break:186,continue:190,return:194,raise:202,import:206,as:208,global:212,nonlocal:214,assert:218,type:223,elif:236,while:240,try:246,except:248,finally:250,with:254,def:258,class:268,match:279,case:285},l0t=OS.deserialize({version:14,states:"##jO`QeOOP$}OSOOO&WQtO'#HUOOQS'#Co'#CoOOQS'#Cp'#CpO'vQdO'#CnO*UQtO'#HTOOQS'#HU'#HUOOQS'#DU'#DUOOQS'#HT'#HTO*rQdO'#D_O+VQdO'#DfO+gQdO'#DjO+zOWO'#DuO,VOWO'#DvO.[QtO'#GuOOQS'#Gu'#GuO'vQdO'#GtO0ZQtO'#GtOOQS'#Eb'#EbO0rQdO'#EcOOQS'#Gs'#GsO0|QdO'#GrOOQV'#Gr'#GrO1XQdO'#FYOOQS'#G^'#G^O1^QdO'#FXOOQV'#IS'#ISOOQV'#Gq'#GqOOQV'#Fq'#FqQ`QeOOO'vQdO'#CqO1lQdO'#C}O1sQdO'#DRO2RQdO'#HYO2cQtO'#EVO'vQdO'#EWOOQS'#EY'#EYOOQS'#E['#E[OOQS'#E^'#E^O2wQdO'#E`O3_QdO'#EdO3rQdO'#EfO3zQtO'#EfO1XQdO'#EiO0rQdO'#ElO1XQdO'#EnO0rQdO'#EtO0rQdO'#EwO4VQdO'#EyO4^QdO'#FOO4iQdO'#EzO0rQdO'#FOO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cR*s(SQ.l-sR/}/sR#QZR#V[R%Q!iQ%O!iV*c'm*d,g!]!lQ!n#c#p$R$d$p$u$v$w$x$y$z%e%j%p%q&`'O'g(q(|)j*o*x+w,v/q0gR%T!kT#]^#_Q%x#[R,{+YQ(m%xS+_(n(oQ,}+`Q-x,{S.n-y-zR/^.oT+Z(k+]Q$`}Q&g$QQ)o'PR+{)pQ$XzQ)W&qR+i)XQ$XzQ&o$WQ)W&qR+i)XQ#khW$Vz$W&q)XQ$[{Q&r$ZZ)R&l)S+f+g-RR$^|R)c&wXlOn)t,PQ$f!RR'Q$gQ$m!UR'R$hR*X'_Q*V'_V-g,`-h.TQ.d-lQ/P.^R/Q._U.]-l.^._Q/U.aQ/b.tQ/g.zU/i.|/j/yQ/n/RQ/|/oQ0O/tU0Q/u0S0[Q0]0UQ0a0ZR0b0^R/T.`R/d.t",nodeNames:"⚠ print Escape { Comment Script AssignStatement * BinaryExpression BitOp BitOp BitOp BitOp ArithOp ArithOp @ ArithOp ** UnaryExpression ArithOp BitOp AwaitExpression await ) ( ParenthesizedExpression BinaryExpression or and CompareOp in not is UnaryExpression ConditionalExpression if else LambdaExpression lambda ParamList VariableName AssignOp , : NamedExpression AssignOp YieldExpression yield from TupleExpression ComprehensionExpression async for LambdaExpression ] [ ArrayExpression ArrayComprehensionExpression } { DictionaryExpression DictionaryComprehensionExpression SetExpression SetComprehensionExpression CallExpression ArgList AssignOp MemberExpression . PropertyName Number String FormatString FormatReplacement FormatSelfDoc FormatConversion FormatSpec FormatReplacement FormatSelfDoc ContinuedString Ellipsis None Boolean TypeDef AssignOp UpdateStatement UpdateOp ExpressionStatement DeleteStatement del PassStatement pass BreakStatement break ContinueStatement continue ReturnStatement return YieldStatement PrintStatement RaiseStatement raise ImportStatement import as ScopeStatement global nonlocal AssertStatement assert TypeDefinition type TypeParamList TypeParam StatementGroup ; IfStatement Body elif WhileStatement while ForStatement TryStatement try except finally WithStatement with FunctionDefinition def ParamList AssignOp TypeDef ClassDefinition class DecoratedStatement Decorator At MatchStatement match MatchBody MatchClause case CapturePattern LiteralPattern ArithOp ArithOp AsPattern OrPattern LogicOp AttributePattern SequencePattern MappingPattern StarPattern ClassPattern PatternArgList KeywordPattern KeywordPattern Guard",maxTerm:277,context:FYe,nodeProps:[["isolate",-5,4,71,72,73,77,""],["group",-15,6,85,87,88,90,92,94,96,98,99,100,102,105,108,110,"Statement Statement",-22,8,18,21,25,40,49,50,56,57,60,61,62,63,64,67,70,71,72,79,80,81,82,"Expression",-10,114,116,119,121,122,126,128,133,135,138,"Statement",-9,143,144,147,148,150,151,152,153,154,"Pattern"],["openedBy",23,"(",54,"[",58,"{"],["closedBy",24,")",55,"]",59,"}"]],propSources:[LYe],skippedNodes:[0,4],repeatNodeCount:34,tokenData:"!2|~R!`OX%TXY%oY[%T[]%o]p%Tpq%oqr'ars)Yst*xtu%Tuv,dvw-hwx.Uxy/tyz0[z{0r{|2S|}2p}!O3W!O!P4_!P!Q:Z!Q!R;k!R![>_![!]Do!]!^Es!^!_FZ!_!`Gk!`!aHX!a!b%T!b!cIf!c!dJU!d!eK^!e!hJU!h!i!#f!i!tJU!t!u!,|!u!wJU!w!x!.t!x!}JU!}#O!0S#O#P&o#P#Q!0j#Q#R!1Q#R#SJU#S#T%T#T#UJU#U#VK^#V#YJU#Y#Z!#f#Z#fJU#f#g!,|#g#iJU#i#j!.t#j#oJU#o#p!1n#p#q!1s#q#r!2a#r#s!2f#s$g%T$g;'SJU;'S;=`KW<%lOJU`%YT&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%T`%lP;=`<%l%To%v]&n`%c_OX%TXY%oY[%T[]%o]p%Tpq%oq#O%T#O#P&o#P#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%To&tX&n`OY%TYZ%oZ]%T]^%o^#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tc'f[&n`O!_%T!_!`([!`#T%T#T#U(r#U#f%T#f#g(r#g#h(r#h#o%T#p#q%T#r;'S%T;'S;=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{Script:[0,5]},specialized:[{term:221,get:e=>zYe[e]||-1}],tokenPrec:7652}),QYe=312,uG=1,BYe=2,qYe=3,UYe=4,VYe=313,jYe=315,WYe=316,ZYe=5,KYe=6,HYe=0,iM=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],Dbe=125,YYe=59,aM=47,GYe=42,XYe=43,JYe=45,eGe=60,tGe=44,rGe=63,nGe=46,iGe=new afe({start:!1,shift(e,t){return t==ZYe||t==KYe||t==jYe?e:t==WYe},strict:!1}),aGe=new zg((e,t)=>{let{next:r}=e;(r==Dbe||r==-1||t.context)&&e.acceptToken(VYe)},{contextual:!0,fallback:!0}),oGe=new zg((e,t)=>{let{next:r}=e,n;iM.indexOf(r)>-1||r==aM&&((n=e.peek(1))==aM||n==GYe)||r!=Dbe&&r!=YYe&&r!=-1&&!t.context&&e.acceptToken(QYe)},{contextual:!0}),sGe=new zg((e,t)=>{let{next:r}=e;if(r==XYe||r==JYe){if(e.advance(),r==e.next){e.advance();let n=!t.context&&t.canShift(uG);e.acceptToken(n?uG:BYe)}}else r==rGe&&e.peek(1)==nGe&&(e.advance(),e.advance(),(e.next<48||e.next>57)&&e.acceptToken(qYe))},{contextual:!0});function j6(e,t){return e>=65&&e<=90||e>=97&&e<=122||e==95||e>=192||!t&&e>=48&&e<=57}const uGe=new zg((e,t)=>{if(e.next!=eGe||!t.dialectEnabled(HYe)||(e.advance(),e.next==aM))return;let r=0;for(;iM.indexOf(e.next)>-1;)e.advance(),r++;if(j6(e.next,!0)){for(e.advance(),r++;j6(e.next,!1);)e.advance(),r++;for(;iM.indexOf(e.next)>-1;)e.advance(),r++;if(e.next==tGe)return;for(let n=0;;n++){if(n==7){if(!j6(e.next,!0))return;break}if(e.next!="extends".charCodeAt(n))break;e.advance(),r++}}e.acceptToken(UYe,-r)}),lGe=rfe({"get set async static":st.modifier,"for while do if else switch try catch finally return throw break continue default case":st.controlKeyword,"in of await yield void typeof delete instanceof":st.operatorKeyword,"let var const using function class extends":st.definitionKeyword,"import export from":st.moduleKeyword,"with debugger as new":st.keyword,TemplateString:st.special(st.string),super:st.atom,BooleanLiteral:st.bool,this:st.self,null:st.null,Star:st.modifier,VariableName:st.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":st.function(st.variableName),VariableDefinition:st.definition(st.variableName),Label:st.labelName,PropertyName:st.propertyName,PrivatePropertyName:st.special(st.propertyName),"CallExpression/MemberExpression/PropertyName":st.function(st.propertyName),"FunctionDeclaration/VariableDefinition":st.function(st.definition(st.variableName)),"ClassDeclaration/VariableDefinition":st.definition(st.className),PropertyDefinition:st.definition(st.propertyName),PrivatePropertyDefinition:st.definition(st.special(st.propertyName)),UpdateOp:st.updateOperator,"LineComment Hashbang":st.lineComment,BlockComment:st.blockComment,Number:st.number,String:st.string,Escape:st.escape,ArithOp:st.arithmeticOperator,LogicOp:st.logicOperator,BitOp:st.bitwiseOperator,CompareOp:st.compareOperator,RegExp:st.regexp,Equals:st.definitionOperator,Arrow:st.function(st.punctuation),": Spread":st.punctuation,"( )":st.paren,"[ ]":st.squareBracket,"{ }":st.brace,"InterpolationStart InterpolationEnd":st.special(st.brace),".":st.derefOperator,", ;":st.separator,"@":st.meta,TypeName:st.typeName,TypeDefinition:st.definition(st.typeName),"type enum interface implements namespace module declare":st.definitionKeyword,"abstract global Privacy readonly override":st.modifier,"is keyof unique infer":st.operatorKeyword,JSXAttributeValue:st.attributeValue,JSXText:st.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":st.angleBracket,"JSXIdentifier JSXNameSpacedName":st.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":st.attributeName,"JSXBuiltin/JSXIdentifier":st.standard(st.tagName)}),cGe={__proto__:null,export:20,as:25,from:33,default:36,async:41,function:42,extends:54,this:58,true:66,false:66,null:78,void:82,typeof:86,super:102,new:136,delete:148,yield:157,await:161,class:166,public:229,private:229,protected:229,readonly:231,instanceof:250,satisfies:253,in:254,const:256,import:290,keyof:345,unique:349,infer:355,is:391,abstract:411,implements:413,type:415,let:418,var:420,using:423,interface:429,enum:433,namespace:439,module:441,declare:445,global:449,for:468,of:477,while:480,with:484,do:488,if:492,else:494,switch:498,case:504,try:510,catch:514,finally:518,return:522,throw:526,break:530,continue:534,debugger:538},fGe={__proto__:null,async:123,get:125,set:127,declare:189,public:191,private:191,protected:191,static:193,abstract:195,override:197,readonly:203,accessor:205,new:395},dGe={__proto__:null,"<":187},c0t=OS.deserialize({version:14,states:"$@QO%TQ^OOO%[Q^OOO'_Q`OOP(lOWOOO*zQ?NdO'#CiO+RO!bO'#CjO+aO#tO'#CjO+oO!0LbO'#D^O.QQ^O'#DdO.bQ^O'#DoO%[Q^O'#DwO0fQ^O'#EPOOQ?Mr'#EX'#EXO1PQWO'#EUOOQO'#Em'#EmOOQO'#Ih'#IhO1XQWO'#GpO1dQWO'#ElO1iQWO'#ElO3hQ?NdO'#JmO6[Q?NdO'#JnO6uQWO'#F[O6zQ&jO'#FsOOQ?Mr'#Fe'#FeO7VO,YO'#FeO7eQ7[O'#FzO9RQWO'#FyOOQ?Mr'#Jn'#JnOOQ?Mp'#Jm'#JmO9WQWO'#GtOOQU'#KZ'#KZO9cQWO'#IUO9hQ?MxO'#IVOOQU'#JZ'#JZOOQU'#IZ'#IZQ`Q^OOO`Q^OOO9pQMnO'#DsO9wQ^O'#D{O:OQ^O'#D}O9^QWO'#GpO:VQ7[O'#CoO:eQWO'#EkO:pQWO'#EvO:uQ7[O'#FdO;dQWO'#GpOOQO'#K['#K[O;iQWO'#K[O;wQWO'#GxO;wQWO'#GyO;wQWO'#G{O9^QWO'#HOO<nQWO'#HRO>VQWO'#CeO>gQWO'#H_O>oQWO'#HeO>oQWO'#HgO`Q^O'#HiO>oQWO'#HkO>oQWO'#HnO>tQWO'#HtO>yQ?MyO'#HzO%[Q^O'#H|O?UQ?MyO'#IOO?aQ?MyO'#IQO9hQ?MxO'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1a5eQ#p]R'f;QR)b$dY!uQ']-]1a5eQ'h!rS'r!v!yS't!z5gS-l'i'jQ-n'kR2u-mT#kZ%cS#jZ%cS%im,gU(c#h#i#lS.Q(d(eQ.U(fQ0i+WQ2z.RU2{.S.T.VS6l2|2}R8s6md#^W#W#Z%f(P(Y*U+T-{/er#gZm#h#i#l%c(d(e(f+W.R.S.T.V2|2}6mS*X$x*]Q/l*YQ1v,gQ2^,}Q4P/hQ6Z2UQ7[4QQ8k6[T<g'U+UV#aW%f*UU#`W%f*US(Q#W(YU(V#Z+T/eS-S'U+UT-v(P-{V'Z!e%g*VQ$lfR)t$qT)i$l)jR3w.|T*Z$x*]T*c${*UQ0l+`Q3P.^Q5i1cQ6q3TQ8V5lQ8v6pQ9j8UQ9|8uQ:b9lQ:j:OQ:r:cR:u:knqOXst!Z#d%k&o&q&r&t,k,p1|2PQ&i!VR,`&ftmOXst!U!V!Z#d%k&f&o&q&r&t,k,p1|2PR,g&lT%jm,gR1],PR,_&dQ&S|R+w&TR+m%}T&m!W&pT&n!W&pT2O,p2P",nodeNames:"⚠ ArithOp ArithOp ?. JSXStartTag LineComment BlockComment Script Hashbang ExportDeclaration export Star as VariableName String Escape from ; default FunctionDeclaration async function VariableDefinition > < TypeParamList TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewTarget new NewExpression ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression TypeArgList CompareOp < declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies in const CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression InstantiationExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast ArrowFunction TypeParamList SequenceExpression InstantiationExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem",maxTerm:376,context:iGe,nodeProps:[["isolate",-8,5,6,14,34,36,48,50,52,""],["group",-26,9,17,19,65,204,208,212,213,215,218,221,231,233,239,241,243,245,248,254,260,262,264,266,268,270,271,"Statement",-34,13,14,29,32,33,39,48,51,52,54,59,67,69,73,77,79,81,82,107,108,117,118,135,138,140,141,142,143,144,146,147,166,167,169,"Expression",-23,28,30,34,38,40,42,171,173,175,176,178,179,180,182,183,184,186,187,188,198,200,202,203,"Type",-3,85,100,106,"ClassItem"],["openedBy",23,"<",35,"InterpolationStart",53,"[",57,"{",70,"(",159,"JSXStartCloseTag"],["closedBy",24,">",37,"InterpolationEnd",47,"]",58,"}",71,")",164,"JSXEndTag"]],propSources:[lGe],skippedNodes:[0,5,6,274],repeatNodeCount:37,tokenData:"$Fq07[R!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tuEruvJSvwLkwx! Yxy!'iyz!(sz{!)}{|!,q|}!.O}!O!,q!O!P!/Y!P!Q!9j!Q!R#:O!R![#<_![!]#I_!]!^#Jk!^!_#Ku!_!`$![!`!a$$v!a!b$*T!b!c$,r!c!}Er!}#O$-|#O#P$/W#P#Q$4o#Q#R$5y#R#SEr#S#T$7W#T#o$8b#o#p$<r#p#q$=h#q#r$>x#r#s$@U#s$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$I|Er$I|$I}$Dk$I}$JO$Dk$JO$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$A`?HUOEr(n%d_$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&j&hT$h&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c&j&zP;=`<%l&c'|'U]$h&j(U!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!b(SU(U!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!b(iP;=`<%l'}'|(oP;=`<%l&}'[(y]$h&j(RpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;'S(r;'S;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~#jS!Q![#g!c!i#g#T#Z#g#q#r!P~#yP;=`<%l!P~$RO(^~~",141,335),new v9("j~RQYZXz{^~^O'{~~aP!P!Qd~iO'|~~",25,318)],topRules:{Script:[0,7],SingleExpression:[1,272],SingleClassItem:[2,273]},dialects:{jsx:0,ts:14725},dynamicPrecedences:{77:1,79:1,91:1,167:1,196:1},specialized:[{term:322,get:e=>cGe[e]||-1},{term:338,get:e=>fGe[e]||-1},{term:92,get:e=>dGe[e]||-1}],tokenPrec:14749});var wv={},Zc={},Ix={},Ev={},W6={},lG;function hGe(){return lG||(lG=1,Object.defineProperty(W6,"__esModule",{value:!0})),W6}var Mx={},Nx={},cG;function qy(){var t,r,n,i;if(cG)return Nx;cG=1,Object.defineProperty(Nx,"__esModule",{value:!0}),Nx.CronField=void 0;let e=(i=class{constructor(o,s=!1){Ti(this,t,!1);Ti(this,r,!1);Ti(this,n,[]);if(!Array.isArray(o))throw new Error(`${this.constructor.name} Validation error, values is not an array`);if(!(o.length>0))throw new Error(`${this.constructor.name} Validation error, values contains no values`);Cr(this,n,o.sort(i.sorter)),Cr(this,r,s),Cr(this,t,o.some(u=>typeof u=="string"&&u.indexOf("L")>=0))}static get min(){throw new Error("min must be overridden")}static get max(){throw new Error("max must be overridden")}static get chars(){return Object.freeze([])}static get validChars(){return/^[,*\d/-]+$/}static get constraints(){return{min:this.min,max:this.max,chars:this.chars,validChars:this.validChars}}get min(){return this.constructor.min}get max(){return this.constructor.max}get chars(){return this.constructor.chars}get hasLastChar(){return gt(this,t)}get isWildcard(){return gt(this,r)}get values(){return gt(this,n)}static sorter(o,s){const u=typeof o=="number",l=typeof s=="number";return u&&l?o-s:!u&&!l?o.localeCompare(s):u?-1:1}serialize(){return{wildcard:gt(this,r),values:gt(this,n)}}validate(){let o;const s=this.chars.length>0?` or chars ${this.chars.join("")}`:"",u=d=>h=>new RegExp(`^\\d{0,2}${h}$`).test(d),l=d=>(o=d,typeof d=="number"?d>=this.min&&d<=this.max:this.chars.some(u(d)));if(!gt(this,n).every(l))throw new Error(`${this.constructor.name} Validation error, got value ${o} expected range ${this.min}-${this.max}${s}`);const f=gt(this,n).find((d,h)=>gt(this,n).indexOf(d)!==h);if(f)throw new Error(`${this.constructor.name} Validation error, duplicate values found: ${f}`)}},t=new WeakMap,r=new WeakMap,n=new WeakMap,i);return Nx.CronField=e,Nx}var fG;function pGe(){if(fG)return Mx;fG=1,Object.defineProperty(Mx,"__esModule",{value:!0}),Mx.CronDayOfMonth=void 0;const e=qy(),t=1,r=31,n=Object.freeze(["L"]);let i=class extends e.CronField{static get min(){return t}static get max(){return r}static get chars(){return n}static get validChars(){return/^[?,*\dL/-]+$/}constructor(o,s=!1){super(o,s),this.validate()}get values(){return super.values}};return Mx.CronDayOfMonth=i,Mx}var Lx={},dG;function mGe(){if(dG)return Lx;dG=1,Object.defineProperty(Lx,"__esModule",{value:!0}),Lx.CronDayOfWeek=void 0;const e=qy(),t=0,r=7,n=Object.freeze(["L"]);let i=class extends e.CronField{static get min(){return t}static get max(){return r}static get chars(){return n}static get validChars(){return/^[?,*\dL#/-]+$/}constructor(o,s=!1){super(o,s),this.validate()}get values(){return super.values}};return Lx.CronDayOfWeek=i,Lx}var zx={},hG;function gGe(){if(hG)return zx;hG=1,Object.defineProperty(zx,"__esModule",{value:!0}),zx.CronHour=void 0;const e=qy(),t=0,r=23,n=Object.freeze([]);let i=class extends e.CronField{static get min(){return t}static get max(){return r}static get chars(){return n}constructor(o,s=!1){super(o,s),this.validate()}get values(){return super.values}};return zx.CronHour=i,zx}var Qx={},pG;function vGe(){if(pG)return Qx;pG=1,Object.defineProperty(Qx,"__esModule",{value:!0}),Qx.CronMinute=void 0;const e=qy(),t=0,r=59,n=Object.freeze([]);let i=class extends e.CronField{static get min(){return t}static get max(){return r}static get chars(){return n}constructor(o,s=!1){super(o,s),this.validate()}get values(){return super.values}};return Qx.CronMinute=i,Qx}var Bx={},Z6={},ec={},mG;function yGe(){if(mG)return ec;mG=1,Object.defineProperty(ec,"__esModule",{value:!0});class e extends Error{}class t extends e{constructor(W){super(`Invalid DateTime: ${W.toMessage()}`)}}class r extends e{constructor(W){super(`Invalid Interval: ${W.toMessage()}`)}}class n extends e{constructor(W){super(`Invalid Duration: ${W.toMessage()}`)}}class i extends e{}class a extends e{constructor(W){super(`Invalid unit ${W}`)}}class o extends e{}class s extends e{constructor(){super("Zone is an abstract class")}}const u="numeric",l="short",c="long",f={year:u,month:u,day:u},d={year:u,month:l,day:u},h={year:u,month:l,day:u,weekday:l},g={year:u,month:c,day:u},m={year:u,month:c,day:u,weekday:c},v={hour:u,minute:u},y={hour:u,minute:u,second:u},O={hour:u,minute:u,second:u,timeZoneName:l},x={hour:u,minute:u,second:u,timeZoneName:c},C={hour:u,minute:u,hourCycle:"h23"},w={hour:u,minute:u,second:u,hourCycle:"h23"},E={hour:u,minute:u,second:u,hourCycle:"h23",timeZoneName:l},T={hour:u,minute:u,second:u,hourCycle:"h23",timeZoneName:c},P={year:u,month:u,day:u,hour:u,minute:u},L={year:u,month:u,day:u,hour:u,minute:u,second:u},N={year:u,month:l,day:u,hour:u,minute:u},B={year:u,month:l,day:u,hour:u,minute:u,second:u},j={year:u,month:l,day:u,weekday:l,hour:u,minute:u},A={year:u,month:c,day:u,hour:u,minute:u,timeZoneName:l},H={year:u,month:c,day:u,hour:u,minute:u,second:u,timeZoneName:l},k={year:u,month:c,day:u,weekday:c,hour:u,minute:u,timeZoneName:c},Q={year:u,month:c,day:u,weekday:c,hour:u,minute:u,second:u,timeZoneName:c};class V{get type(){throw new s}get name(){throw new s}get ianaName(){return this.name}get isUniversal(){throw new s}offsetName(W,ue){throw new s}formatOffset(W,ue){throw new s}offset(W){throw new s}equals(W){throw new s}get isValid(){throw new s}}let I=null;class q extends V{static get instance(){return I===null&&(I=new q),I}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(W,{format:ue,locale:ye}){return Dp(W,ue,ye)}formatOffset(W,ue){return du(this.offset(W),ue)}offset(W){return-new Date(W).getTimezoneOffset()}equals(W){return W.type==="system"}get isValid(){return!0}}const M=new Map;function z(de){let W=M.get(de);return W===void 0&&(W=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:de,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),M.set(de,W)),W}const G={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function K(de,W){const ue=de.format(W).replace(/\u200E/g,""),ye=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(ue),[,Pe,Me,Qe,Xe,ut,Ot,br]=ye;return[Qe,Pe,Me,Xe,ut,Ot,br]}function te(de,W){const ue=de.formatToParts(W),ye=[];for(let Pe=0;Pe<ue.length;Pe++){const{type:Me,value:Qe}=ue[Pe],Xe=G[Me];Me==="era"?ye[Xe]=Qe:ir(Xe)||(ye[Xe]=parseInt(Qe,10))}return ye}const ae=new Map;class ie extends V{static create(W){let ue=ae.get(W);return ue===void 0&&ae.set(W,ue=new ie(W)),ue}static resetCache(){ae.clear(),M.clear()}static isValidSpecifier(W){return this.isValidZone(W)}static isValidZone(W){if(!W)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:W}).format(),!0}catch{return!1}}constructor(W){super(),this.zoneName=W,this.valid=ie.isValidZone(W)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(W,{format:ue,locale:ye}){return Dp(W,ue,ye,this.name)}formatOffset(W,ue){return du(this.offset(W),ue)}offset(W){if(!this.valid)return NaN;const ue=new Date(W);if(isNaN(ue))return NaN;const ye=z(this.name);let[Pe,Me,Qe,Xe,ut,Ot,br]=ye.formatToParts?te(ye,ue):K(ye,ue);Xe==="BC"&&(Pe=-Math.abs(Pe)+1);const tn=xl({year:Pe,month:Me,day:Qe,hour:ut===24?0:ut,minute:Ot,second:br,millisecond:0});let gr=+ue;const wn=gr%1e3;return gr-=wn>=0?wn:1e3+wn,(tn-gr)/(60*1e3)}equals(W){return W.type==="iana"&&W.name===this.name}get isValid(){return this.valid}}let Se={};function pe(de,W={}){const ue=JSON.stringify([de,W]);let ye=Se[ue];return ye||(ye=new Intl.ListFormat(de,W),Se[ue]=ye),ye}const xe=new Map;function Oe(de,W={}){const ue=JSON.stringify([de,W]);let ye=xe.get(ue);return ye===void 0&&(ye=new Intl.DateTimeFormat(de,W),xe.set(ue,ye)),ye}const me=new Map;function ne(de,W={}){const ue=JSON.stringify([de,W]);let ye=me.get(ue);return ye===void 0&&(ye=new Intl.NumberFormat(de,W),me.set(ue,ye)),ye}const se=new Map;function X(de,W={}){const{base:ue,...ye}=W,Pe=JSON.stringify([de,ye]);let Me=se.get(Pe);return Me===void 0&&(Me=new Intl.RelativeTimeFormat(de,W),se.set(Pe,Me)),Me}let re=null;function he(){return re||(re=new Intl.DateTimeFormat().resolvedOptions().locale,re)}const ge=new Map;function le(de){let W=ge.get(de);return W===void 0&&(W=new Intl.DateTimeFormat(de).resolvedOptions(),ge.set(de,W)),W}const ve=new Map;function _e(de){let W=ve.get(de);if(!W){const ue=new Intl.Locale(de);W="getWeekInfo"in ue?ue.getWeekInfo():ue.weekInfo,"minimalDays"in W||(W={..._t,...W}),ve.set(de,W)}return W}function De(de){const W=de.indexOf("-x-");W!==-1&&(de=de.substring(0,W));const ue=de.indexOf("-u-");if(ue===-1)return[de];{let ye,Pe;try{ye=Oe(de).resolvedOptions(),Pe=de}catch{const ut=de.substring(0,ue);ye=Oe(ut).resolvedOptions(),Pe=ut}const{numberingSystem:Me,calendar:Qe}=ye;return[Pe,Me,Qe]}}function Te(de,W,ue){return(ue||W)&&(de.includes("-u-")||(de+="-u"),ue&&(de+=`-ca-${ue}`),W&&(de+=`-nu-${W}`)),de}function ke(de){const W=[];for(let ue=1;ue<=12;ue++){const ye=Er.utc(2009,ue,1);W.push(de(ye))}return W}function Be(de){const W=[];for(let ue=1;ue<=7;ue++){const ye=Er.utc(2016,11,13+ue);W.push(de(ye))}return W}function rt(de,W,ue,ye){const Pe=de.listingMode();return Pe==="error"?null:Pe==="en"?ue(W):ye(W)}function Le(de){return de.numberingSystem&&de.numberingSystem!=="latn"?!1:de.numberingSystem==="latn"||!de.locale||de.locale.startsWith("en")||le(de.locale).numberingSystem==="latn"}class Ve{constructor(W,ue,ye){this.padTo=ye.padTo||0,this.floor=ye.floor||!1;const{padTo:Pe,floor:Me,...Qe}=ye;if(!ue||Object.keys(Qe).length>0){const Xe={useGrouping:!1,...ye};ye.padTo>0&&(Xe.minimumIntegerDigits=ye.padTo),this.inf=ne(W,Xe)}}format(W){if(this.inf){const ue=this.floor?Math.floor(W):W;return this.inf.format(ue)}else{const ue=this.floor?Math.floor(W):As(W,3);return cn(ue,this.padTo)}}}class at{constructor(W,ue,ye){this.opts=ye,this.originalZone=void 0;let Pe;if(this.opts.timeZone)this.dt=W;else if(W.zone.type==="fixed"){const Qe=-1*(W.offset/60),Xe=Qe>=0?`Etc/GMT+${Qe}`:`Etc/GMT${Qe}`;W.offset!==0&&ie.create(Xe).valid?(Pe=Xe,this.dt=W):(Pe="UTC",this.dt=W.offset===0?W:W.setZone("UTC").plus({minutes:W.offset}),this.originalZone=W.zone)}else W.zone.type==="system"?this.dt=W:W.zone.type==="iana"?(this.dt=W,Pe=W.zone.name):(Pe="UTC",this.dt=W.setZone("UTC").plus({minutes:W.offset}),this.originalZone=W.zone);const Me={...this.opts};Me.timeZone=Me.timeZone||Pe,this.dtf=Oe(ue,Me)}format(){return this.originalZone?this.formatToParts().map(({value:W})=>W).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const W=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?W.map(ue=>{if(ue.type==="timeZoneName"){const ye=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...ue,value:ye}}else return ue}):W}resolvedOptions(){return this.dtf.resolvedOptions()}}class bt{constructor(W,ue,ye){this.opts={style:"long",...ye},!ue&&fu()&&(this.rtf=X(W,ye))}format(W,ue){return this.rtf?this.rtf.format(W,ue):sd(ue,W,this.opts.numeric,this.opts.style!=="long")}formatToParts(W,ue){return this.rtf?this.rtf.formatToParts(W,ue):[]}}const _t={firstDay:1,minimalDays:4,weekend:[6,7]};class pt{static fromOpts(W){return pt.create(W.locale,W.numberingSystem,W.outputCalendar,W.weekSettings,W.defaultToEN)}static create(W,ue,ye,Pe,Me=!1){const Qe=W||lt.defaultLocale,Xe=Qe||(Me?"en-US":he()),ut=ue||lt.defaultNumberingSystem,Ot=ye||lt.defaultOutputCalendar,br=Sr(Pe)||lt.defaultWeekSettings;return new pt(Xe,ut,Ot,br,Qe)}static resetCache(){re=null,xe.clear(),me.clear(),se.clear(),ge.clear(),ve.clear()}static fromObject({locale:W,numberingSystem:ue,outputCalendar:ye,weekSettings:Pe}={}){return pt.create(W,ue,ye,Pe)}constructor(W,ue,ye,Pe,Me){const[Qe,Xe,ut]=De(W);this.locale=Qe,this.numberingSystem=ue||Xe||null,this.outputCalendar=ye||ut||null,this.weekSettings=Pe,this.intl=Te(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=Me,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=Le(this)),this.fastNumbersCached}listingMode(){const W=this.isEnglish(),ue=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return W&&ue?"en":"intl"}clone(W){return!W||Object.getOwnPropertyNames(W).length===0?this:pt.create(W.locale||this.specifiedLocale,W.numberingSystem||this.numberingSystem,W.outputCalendar||this.outputCalendar,Sr(W.weekSettings)||this.weekSettings,W.defaultToEN||!1)}redefaultToEN(W={}){return this.clone({...W,defaultToEN:!0})}redefaultToSystem(W={}){return this.clone({...W,defaultToEN:!1})}months(W,ue=!1){return rt(this,W,Iu,()=>{const ye=ue?{month:W,day:"numeric"}:{month:W},Pe=ue?"format":"standalone";return this.monthsCache[Pe][W]||(this.monthsCache[Pe][W]=ke(Me=>this.extract(Me,ye,"month"))),this.monthsCache[Pe][W]})}weekdays(W,ue=!1){return rt(this,W,hu,()=>{const ye=ue?{weekday:W,year:"numeric",month:"long",day:"numeric"}:{weekday:W},Pe=ue?"format":"standalone";return this.weekdaysCache[Pe][W]||(this.weekdaysCache[Pe][W]=Be(Me=>this.extract(Me,ye,"weekday"))),this.weekdaysCache[Pe][W]})}meridiems(){return rt(this,void 0,()=>Mu,()=>{if(!this.meridiemCache){const W={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[Er.utc(2016,11,13,9),Er.utc(2016,11,13,19)].map(ue=>this.extract(ue,W,"dayperiod"))}return this.meridiemCache})}eras(W){return rt(this,W,Wi,()=>{const ue={era:W};return this.eraCache[W]||(this.eraCache[W]=[Er.utc(-40,1,1),Er.utc(2017,1,1)].map(ye=>this.extract(ye,ue,"era"))),this.eraCache[W]})}extract(W,ue,ye){const Pe=this.dtFormatter(W,ue),Me=Pe.formatToParts(),Qe=Me.find(Xe=>Xe.type.toLowerCase()===ye);return Qe?Qe.value:null}numberFormatter(W={}){return new Ve(this.intl,W.forceSimple||this.fastNumbers,W)}dtFormatter(W,ue={}){return new at(W,this.intl,ue)}relFormatter(W={}){return new bt(this.intl,this.isEnglish(),W)}listFormatter(W={}){return pe(this.intl,W)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||le(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:gn()?_e(this.locale):_t}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(W){return this.locale===W.locale&&this.numberingSystem===W.numberingSystem&&this.outputCalendar===W.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Mt=null;class zt extends V{static get utcInstance(){return Mt===null&&(Mt=new zt(0)),Mt}static instance(W){return W===0?zt.utcInstance:new zt(W)}static parseSpecifier(W){if(W){const ue=W.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(ue)return new zt(Fs(ue[1],ue[2]))}return null}constructor(W){super(),this.fixed=W}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${du(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${du(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(W,ue){return du(this.fixed,ue)}get isUniversal(){return!0}offset(){return this.fixed}equals(W){return W.type==="fixed"&&W.fixed===this.fixed}get isValid(){return!0}}class Gt extends V{constructor(W){super(),this.zoneName=W}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function Ie(de,W){if(ir(de)||de===null)return W;if(de instanceof V)return de;if(Au(de)){const ue=de.toLowerCase();return ue==="default"?W:ue==="local"||ue==="system"?q.instance:ue==="utc"||ue==="gmt"?zt.utcInstance:zt.parseSpecifier(ue)||ie.create(de)}else return _o(de)?zt.instance(de):typeof de=="object"&&"offset"in de&&typeof de.offset=="function"?de:new Gt(de)}const Ye={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},ct={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},mt=Ye.hanidec.replace(/[\[|\]]/g,"").split("");function Nt(de){let W=parseInt(de,10);if(isNaN(W)){W="";for(let ue=0;ue<de.length;ue++){const ye=de.charCodeAt(ue);if(de[ue].search(Ye.hanidec)!==-1)W+=mt.indexOf(de[ue]);else for(const Pe in ct){const[Me,Qe]=ct[Pe];ye>=Me&&ye<=Qe&&(W+=ye-Me)}}return parseInt(W,10)}else return W}const qt=new Map;function Dt(){qt.clear()}function Ht({numberingSystem:de},W=""){const ue=de||"latn";let ye=qt.get(ue);ye===void 0&&(ye=new Map,qt.set(ue,ye));let Pe=ye.get(W);return Pe===void 0&&(Pe=new RegExp(`${Ye[ue]}${W}`),ye.set(W,Pe)),Pe}let pr=()=>Date.now(),Tr="system",Yr=null,Ln=null,Rn=null,ze=60,We,Je=null;class lt{static get now(){return pr}static set now(W){pr=W}static set defaultZone(W){Tr=W}static get defaultZone(){return Ie(Tr,q.instance)}static get defaultLocale(){return Yr}static set defaultLocale(W){Yr=W}static get defaultNumberingSystem(){return Ln}static set defaultNumberingSystem(W){Ln=W}static get defaultOutputCalendar(){return Rn}static set defaultOutputCalendar(W){Rn=W}static get defaultWeekSettings(){return Je}static set defaultWeekSettings(W){Je=Sr(W)}static get twoDigitCutoffYear(){return ze}static set twoDigitCutoffYear(W){ze=W%100}static get throwOnInvalid(){return We}static set throwOnInvalid(W){We=W}static resetCaches(){pt.resetCache(),ie.resetCache(),Er.resetCache(),Dt()}}class St{constructor(W,ue){this.reason=W,this.explanation=ue}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Ut=[0,31,59,90,120,151,181,212,243,273,304,334],Jt=[0,31,60,91,121,152,182,213,244,274,305,335];function Rt(de,W){return new St("unit out of range",`you specified ${W} (of type ${typeof W}) as a ${de}, which is invalid`)}function Zt(de,W,ue){const ye=new Date(Date.UTC(de,W-1,ue));de<100&&de>=0&&ye.setUTCFullYear(ye.getUTCFullYear()-1900);const Pe=ye.getUTCDay();return Pe===0?7:Pe}function ar(de,W,ue){return ue+(hs(de)?Jt:Ut)[W-1]}function Ar(de,W){const ue=hs(de)?Jt:Ut,ye=ue.findIndex(Me=>Me<W),Pe=W-ue[ye];return{month:ye+1,day:Pe}}function cr(de,W){return(de-W+7)%7+1}function Fr(de,W=4,ue=1){const{year:ye,month:Pe,day:Me}=de,Qe=ar(ye,Pe,Me),Xe=cr(Zt(ye,Pe,Me),ue);let ut=Math.floor((Qe-Xe+14-W)/7),Ot;return ut<1?(Ot=ye-1,ut=Fu(Ot,W,ue)):ut>Fu(ye,W,ue)?(Ot=ye+1,ut=1):Ot=ye,{weekYear:Ot,weekNumber:ut,weekday:Xe,...Sc(de)}}function hn(de,W=4,ue=1){const{weekYear:ye,weekNumber:Pe,weekday:Me}=de,Qe=cr(Zt(ye,1,W),ue),Xe=Ol(ye);let ut=Pe*7+Me-Qe-7+W,Ot;ut<1?(Ot=ye-1,ut+=Ol(Ot)):ut>Xe?(Ot=ye+1,ut-=Ol(ye)):Ot=ye;const{month:br,day:Zr}=Ar(Ot,ut);return{year:Ot,month:br,day:Zr,...Sc(de)}}function di(de){const{year:W,month:ue,day:ye}=de,Pe=ar(W,ue,ye);return{year:W,ordinal:Pe,...Sc(de)}}function Vi(de){const{year:W,ordinal:ue}=de,{month:ye,day:Pe}=Ar(W,ue);return{year:W,month:ye,day:Pe,...Sc(de)}}function _a(de,W){if(!ir(de.localWeekday)||!ir(de.localWeekNumber)||!ir(de.localWeekYear)){if(!ir(de.weekday)||!ir(de.weekNumber)||!ir(de.weekYear))throw new i("Cannot mix locale-based week fields with ISO-based week fields");return ir(de.localWeekday)||(de.weekday=de.localWeekday),ir(de.localWeekNumber)||(de.weekNumber=de.localWeekNumber),ir(de.localWeekYear)||(de.weekYear=de.localWeekYear),delete de.localWeekday,delete de.localWeekNumber,delete de.localWeekYear,{minDaysInFirstWeek:W.getMinDaysInFirstWeek(),startOfWeek:W.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function pn(de,W=4,ue=1){const ye=mn(de.weekYear),Pe=ln(de.weekNumber,1,Fu(de.weekYear,W,ue)),Me=ln(de.weekday,1,7);return ye?Pe?Me?!1:Rt("weekday",de.weekday):Rt("week",de.weekNumber):Rt("weekYear",de.weekYear)}function bl(de){const W=mn(de.year),ue=ln(de.ordinal,1,Ol(de.year));return W?ue?!1:Rt("ordinal",de.ordinal):Rt("year",de.year)}function Ts(de){const W=mn(de.year),ue=ln(de.month,1,12),ye=ln(de.day,1,xc(de.year,de.month));return W?ue?ye?!1:Rt("day",de.day):Rt("month",de.month):Rt("year",de.year)}function Tu(de){const{hour:W,minute:ue,second:ye,millisecond:Pe}=de,Me=ln(W,0,23)||W===24&&ue===0&&ye===0&&Pe===0,Qe=ln(ue,0,59),Xe=ln(ye,0,59),ut=ln(Pe,0,999);return Me?Qe?Xe?ut?!1:Rt("millisecond",Pe):Rt("second",ye):Rt("minute",ue):Rt("hour",W)}function ir(de){return typeof de>"u"}function _o(de){return typeof de=="number"}function mn(de){return typeof de=="number"&&de%1===0}function Au(de){return typeof de=="string"}function Uo(de){return Object.prototype.toString.call(de)==="[object Date]"}function fu(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function gn(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function Sa(de){return Array.isArray(de)?de:[de]}function ma(de,W,ue){if(de.length!==0)return de.reduce((ye,Pe)=>{const Me=[W(Pe),Pe];return ye&&ue(ye[0],Me[0])===ye[0]?ye:Me},null)[1]}function La(de,W){return W.reduce((ue,ye)=>(ue[ye]=de[ye],ue),{})}function Br(de,W){return Object.prototype.hasOwnProperty.call(de,W)}function Sr(de){if(de==null)return null;if(typeof de!="object")throw new o("Week settings must be an object");if(!ln(de.firstDay,1,7)||!ln(de.minimalDays,1,7)||!Array.isArray(de.weekend)||de.weekend.some(W=>!ln(W,1,7)))throw new o("Invalid week settings");return{firstDay:de.firstDay,minimalDays:de.minimalDays,weekend:Array.from(de.weekend)}}function ln(de,W,ue){return mn(de)&&de>=W&&de<=ue}function ji(de,W){return de-W*Math.floor(de/W)}function cn(de,W=2){const ue=de<0;let ye;return ue?ye="-"+(""+-de).padStart(W,"0"):ye=(""+de).padStart(W,"0"),ye}function Ya(de){if(!(ir(de)||de===null||de===""))return parseInt(de,10)}function wa(de){if(!(ir(de)||de===null||de===""))return parseFloat(de)}function ua(de){if(!(ir(de)||de===null||de==="")){const W=parseFloat("0."+de)*1e3;return Math.floor(W)}}function As(de,W,ue=!1){const ye=10**W;return(ue?Math.trunc:Math.round)(de*ye)/ye}function hs(de){return de%4===0&&(de%100!==0||de%400===0)}function Ol(de){return hs(de)?366:365}function xc(de,W){const ue=ji(W-1,12)+1,ye=de+(W-ue)/12;return ue===2?hs(ye)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][ue-1]}function xl(de){let W=Date.UTC(de.year,de.month-1,de.day,de.hour,de.minute,de.second,de.millisecond);return de.year<100&&de.year>=0&&(W=new Date(W),W.setUTCFullYear(de.year,de.month-1,de.day)),+W}function So(de,W,ue){return-cr(Zt(de,1,W),ue)+W-1}function Fu(de,W=4,ue=1){const ye=So(de,W,ue),Pe=So(de+1,W,ue);return(Ol(de)-ye+Pe)/7}function _c(de){return de>99?de:de>lt.twoDigitCutoffYear?1900+de:2e3+de}function Dp(de,W,ue,ye=null){const Pe=new Date(de),Me={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};ye&&(Me.timeZone=ye);const Qe={timeZoneName:W,...Me},Xe=new Intl.DateTimeFormat(ue,Qe).formatToParts(Pe).find(ut=>ut.type.toLowerCase()==="timezonename");return Xe?Xe.value:null}function Fs(de,W){let ue=parseInt(de,10);Number.isNaN(ue)&&(ue=0);const ye=parseInt(W,10)||0,Pe=ue<0||Object.is(ue,-0)?-ye:ye;return ue*60+Pe}function vn(de){const W=Number(de);if(typeof de=="boolean"||de===""||Number.isNaN(W))throw new o(`Invalid unit value ${de}`);return W}function wo(de,W){const ue={};for(const ye in de)if(Br(de,ye)){const Pe=de[ye];if(Pe==null)continue;ue[W(ye)]=vn(Pe)}return ue}function du(de,W){const ue=Math.trunc(Math.abs(de/60)),ye=Math.trunc(Math.abs(de%60)),Pe=de>=0?"+":"-";switch(W){case"short":return`${Pe}${cn(ue,2)}:${cn(ye,2)}`;case"narrow":return`${Pe}${ue}${ye>0?`:${ye}`:""}`;case"techie":return`${Pe}${cn(ue,2)}${cn(ye,2)}`;default:throw new RangeError(`Value format ${W} is out of range for property format`)}}function Sc(de){return La(de,["hour","minute","second","millisecond"])}const am=["January","February","March","April","May","June","July","August","September","October","November","December"],lf=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],od=["J","F","M","A","M","J","J","A","S","O","N","D"];function Iu(de){switch(de){case"narrow":return[...od];case"short":return[...lf];case"long":return[...am];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const cf=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Is=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],en=["M","T","W","T","F","S","S"];function hu(de){switch(de){case"narrow":return[...en];case"short":return[...Is];case"long":return[...cf];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Mu=["AM","PM"],ff=["Before Christ","Anno Domini"],_l=["BC","AD"],Zg=["B","A"];function Wi(de){switch(de){case"narrow":return[...Zg];case"short":return[..._l];case"long":return[...ff];default:return null}}function Nu(de){return Mu[de.hour<12?0:1]}function Kg(de,W){return hu(W)[de.weekday-1]}function vh(de,W){return Iu(W)[de.month-1]}function yh(de,W){return Wi(W)[de.year<0?0:1]}function sd(de,W,ue="always",ye=!1){const Pe={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},Me=["hours","minutes","seconds"].indexOf(de)===-1;if(ue==="auto"&&Me){const Zr=de==="days";switch(W){case 1:return Zr?"tomorrow":`next ${Pe[de][0]}`;case-1:return Zr?"yesterday":`last ${Pe[de][0]}`;case 0:return Zr?"today":`this ${Pe[de][0]}`}}const Qe=Object.is(W,-0)||W<0,Xe=Math.abs(W),ut=Xe===1,Ot=Pe[de],br=ye?ut?Ot[1]:Ot[2]||Ot[1]:ut?Pe[de][0]:de;return Qe?`${Xe} ${br} ago`:`in ${Xe} ${br}`}function Ms(de,W){let ue="";for(const ye of de)ye.literal?ue+=ye.val:ue+=W(ye.val);return ue}const Vn={D:f,DD:d,DDD:g,DDDD:m,t:v,tt:y,ttt:O,tttt:x,T:C,TT:w,TTT:E,TTTT:T,f:P,ff:N,fff:A,ffff:k,F:L,FF:B,FFF:H,FFFF:Q};class Ir{static create(W,ue={}){return new Ir(W,ue)}static parseFormat(W){let ue=null,ye="",Pe=!1;const Me=[];for(let Qe=0;Qe<W.length;Qe++){const Xe=W.charAt(Qe);Xe==="'"?(ye.length>0&&Me.push({literal:Pe||/^\s+$/.test(ye),val:ye}),ue=null,ye="",Pe=!Pe):Pe||Xe===ue?ye+=Xe:(ye.length>0&&Me.push({literal:/^\s+$/.test(ye),val:ye}),ye=Xe,ue=Xe)}return ye.length>0&&Me.push({literal:Pe||/^\s+$/.test(ye),val:ye}),Me}static macroTokenToFormatOpts(W){return Vn[W]}constructor(W,ue){this.opts=ue,this.loc=W,this.systemLoc=null}formatWithSystemDefault(W,ue){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(W,{...this.opts,...ue}).format()}dtFormatter(W,ue={}){return this.loc.dtFormatter(W,{...this.opts,...ue})}formatDateTime(W,ue){return this.dtFormatter(W,ue).format()}formatDateTimeParts(W,ue){return this.dtFormatter(W,ue).formatToParts()}formatInterval(W,ue){return this.dtFormatter(W.start,ue).dtf.formatRange(W.start.toJSDate(),W.end.toJSDate())}resolvedOptions(W,ue){return this.dtFormatter(W,ue).resolvedOptions()}num(W,ue=0){if(this.opts.forceSimple)return cn(W,ue);const ye={...this.opts};return ue>0&&(ye.padTo=ue),this.loc.numberFormatter(ye).format(W)}formatDateTimeFromString(W,ue){const ye=this.loc.listingMode()==="en",Pe=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",Me=(gr,wn)=>this.loc.extract(W,gr,wn),Qe=gr=>W.isOffsetFixed&&W.offset===0&&gr.allowZ?"Z":W.isValid?W.zone.formatOffset(W.ts,gr.format):"",Xe=()=>ye?Nu(W):Me({hour:"numeric",hourCycle:"h12"},"dayperiod"),ut=(gr,wn)=>ye?vh(W,gr):Me(wn?{month:gr}:{month:gr,day:"numeric"},"month"),Ot=(gr,wn)=>ye?Kg(W,gr):Me(wn?{weekday:gr}:{weekday:gr,month:"long",day:"numeric"},"weekday"),br=gr=>{const wn=Ir.macroTokenToFormatOpts(gr);return wn?this.formatWithSystemDefault(W,wn):gr},Zr=gr=>ye?yh(W,gr):Me({era:gr},"era"),tn=gr=>{switch(gr){case"S":return this.num(W.millisecond);case"u":case"SSS":return this.num(W.millisecond,3);case"s":return this.num(W.second);case"ss":return this.num(W.second,2);case"uu":return this.num(Math.floor(W.millisecond/10),2);case"uuu":return this.num(Math.floor(W.millisecond/100));case"m":return this.num(W.minute);case"mm":return this.num(W.minute,2);case"h":return this.num(W.hour%12===0?12:W.hour%12);case"hh":return this.num(W.hour%12===0?12:W.hour%12,2);case"H":return this.num(W.hour);case"HH":return this.num(W.hour,2);case"Z":return Qe({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return Qe({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return Qe({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return W.zone.offsetName(W.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return W.zone.offsetName(W.ts,{format:"long",locale:this.loc.locale});case"z":return W.zoneName;case"a":return Xe();case"d":return Pe?Me({day:"numeric"},"day"):this.num(W.day);case"dd":return Pe?Me({day:"2-digit"},"day"):this.num(W.day,2);case"c":return this.num(W.weekday);case"ccc":return Ot("short",!0);case"cccc":return Ot("long",!0);case"ccccc":return Ot("narrow",!0);case"E":return this.num(W.weekday);case"EEE":return Ot("short",!1);case"EEEE":return Ot("long",!1);case"EEEEE":return Ot("narrow",!1);case"L":return Pe?Me({month:"numeric",day:"numeric"},"month"):this.num(W.month);case"LL":return Pe?Me({month:"2-digit",day:"numeric"},"month"):this.num(W.month,2);case"LLL":return ut("short",!0);case"LLLL":return ut("long",!0);case"LLLLL":return ut("narrow",!0);case"M":return Pe?Me({month:"numeric"},"month"):this.num(W.month);case"MM":return Pe?Me({month:"2-digit"},"month"):this.num(W.month,2);case"MMM":return ut("short",!1);case"MMMM":return ut("long",!1);case"MMMMM":return ut("narrow",!1);case"y":return Pe?Me({year:"numeric"},"year"):this.num(W.year);case"yy":return Pe?Me({year:"2-digit"},"year"):this.num(W.year.toString().slice(-2),2);case"yyyy":return Pe?Me({year:"numeric"},"year"):this.num(W.year,4);case"yyyyyy":return Pe?Me({year:"numeric"},"year"):this.num(W.year,6);case"G":return Zr("short");case"GG":return Zr("long");case"GGGGG":return Zr("narrow");case"kk":return this.num(W.weekYear.toString().slice(-2),2);case"kkkk":return this.num(W.weekYear,4);case"W":return this.num(W.weekNumber);case"WW":return this.num(W.weekNumber,2);case"n":return this.num(W.localWeekNumber);case"nn":return this.num(W.localWeekNumber,2);case"ii":return this.num(W.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(W.localWeekYear,4);case"o":return this.num(W.ordinal);case"ooo":return this.num(W.ordinal,3);case"q":return this.num(W.quarter);case"qq":return this.num(W.quarter,2);case"X":return this.num(Math.floor(W.ts/1e3));case"x":return this.num(W.ts);default:return br(gr)}};return Ms(Ir.parseFormat(ue),tn)}formatDurationFromString(W,ue){const ye=ut=>{switch(ut[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},Pe=ut=>Ot=>{const br=ye(Ot);return br?this.num(ut.get(br),Ot.length):Ot},Me=Ir.parseFormat(ue),Qe=Me.reduce((ut,{literal:Ot,val:br})=>Ot?ut:ut.concat(br),[]),Xe=W.shiftTo(...Qe.map(ye).filter(ut=>ut));return Ms(Me,Pe(Xe))}}const za=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Ea(...de){const W=de.reduce((ue,ye)=>ue+ye.source,"");return RegExp(`^${W}$`)}function Lu(...de){return W=>de.reduce(([ue,ye,Pe],Me)=>{const[Qe,Xe,ut]=Me(W,Pe);return[{...ue,...Qe},Xe||ye,ut]},[{},null,1]).slice(0,2)}function Sl(de,...W){if(de==null)return[null,null];for(const[ue,ye]of W){const Pe=ue.exec(de);if(Pe)return ye(Pe)}return[null,null]}function ud(...de){return(W,ue)=>{const ye={};let Pe;for(Pe=0;Pe<de.length;Pe++)ye[de[Pe]]=Ya(W[ue+Pe]);return[ye,null,ue+Pe]}}const ld=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Vo=`(?:${ld.source}?(?:\\[(${za.source})\\])?)?`,bh=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Kn=RegExp(`${bh.source}${Vo}`),wc=RegExp(`(?:T${Kn.source})?`),Zi=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,df=/(\d{4})-?W(\d\d)(?:-?(\d))?/,zu=/(\d{4})-?(\d{3})/,Ki=ud("weekYear","weekNumber","weekDay"),cd=ud("year","ordinal"),Qa=/(\d{4})-(\d\d)-(\d\d)/,Qu=RegExp(`${bh.source} ?(?:${ld.source}|(${za.source}))?`),hf=RegExp(`(?: ${Qu.source})?`);function jo(de,W,ue){const ye=de[W];return ir(ye)?ue:Ya(ye)}function Ec(de,W){return[{year:jo(de,W),month:jo(de,W+1,1),day:jo(de,W+2,1)},null,W+3]}function Tn(de,W){return[{hours:jo(de,W,0),minutes:jo(de,W+1,0),seconds:jo(de,W+2,0),milliseconds:ua(de[W+3])},null,W+4]}function Ba(de,W){const ue=!de[W]&&!de[W+1],ye=Fs(de[W+1],de[W+2]),Pe=ue?null:zt.instance(ye);return[{},Pe,W+3]}function ri(de,W){const ue=de[W]?ie.create(de[W]):null;return[{},ue,W+1]}const pf=RegExp(`^T?${bh.source}$`),Oh=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function qa(de){const[W,ue,ye,Pe,Me,Qe,Xe,ut,Ot]=de,br=W[0]==="-",Zr=ut&&ut[0]==="-",tn=(gr,wn=!1)=>gr!==void 0&&(wn||gr&&br)?-gr:gr;return[{years:tn(wa(ue)),months:tn(wa(ye)),weeks:tn(wa(Pe)),days:tn(wa(Me)),hours:tn(wa(Qe)),minutes:tn(wa(Xe)),seconds:tn(wa(ut),ut==="-0"),milliseconds:tn(ua(Ot),Zr)}]}const Ns={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function wl(de,W,ue,ye,Pe,Me,Qe){const Xe={year:W.length===2?_c(Ya(W)):Ya(W),month:lf.indexOf(ue)+1,day:Ya(ye),hour:Ya(Pe),minute:Ya(Me)};return Qe&&(Xe.second=Ya(Qe)),de&&(Xe.weekday=de.length>3?cf.indexOf(de)+1:Is.indexOf(de)+1),Xe}const ni=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Ls(de){const[,W,ue,ye,Pe,Me,Qe,Xe,ut,Ot,br,Zr]=de,tn=wl(W,Pe,ye,ue,Me,Qe,Xe);let gr;return ut?gr=Ns[ut]:Ot?gr=0:gr=Fs(br,Zr),[tn,new zt(gr)]}function xh(de){return de.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const om=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,fd=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,_h=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Sh(de){const[,W,ue,ye,Pe,Me,Qe,Xe]=de;return[wl(W,Pe,ye,ue,Me,Qe,Xe),zt.utcInstance]}function sm(de){const[,W,ue,ye,Pe,Me,Qe,Xe]=de;return[wl(W,Xe,ue,ye,Pe,Me,Qe),zt.utcInstance]}const Rp=Ea(Zi,wc),mf=Ea(df,wc),zs=Ea(zu,wc),El=Ea(Kn),gf=Lu(Ec,Tn,Ba,ri),dd=Lu(Ki,Tn,Ba,ri),Eo=Lu(cd,Tn,Ba,ri),Ga=Lu(Tn,Ba,ri);function $l(de){return Sl(de,[Rp,gf],[mf,dd],[zs,Eo],[El,Ga])}function Bu(de){return Sl(xh(de),[ni,Ls])}function Qs(de){return Sl(de,[om,Sh],[fd,Sh],[_h,sm])}function qu(de){return Sl(de,[Oh,qa])}const um=Lu(Tn);function wh(de){return Sl(de,[pf,um])}const Xa=Ea(Qa,hf),$a=Ea(Qu),Fi=Lu(Tn,Ba,ri);function hi(de){return Sl(de,[Xa,gf],[$a,Fi])}const Cl="Invalid Duration",Wo={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},kp={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3},...Wo},$o=146097/400,Uu=146097/4800,Pl={years:{quarters:4,months:12,weeks:$o/7,days:$o,hours:$o*24,minutes:$o*24*60,seconds:$o*24*60*60,milliseconds:$o*24*60*60*1e3},quarters:{months:3,weeks:$o/28,days:$o/4,hours:$o*24/4,minutes:$o*24*60/4,seconds:$o*24*60*60/4,milliseconds:$o*24*60*60*1e3/4},months:{weeks:Uu/7,days:Uu,hours:Uu*24,minutes:Uu*24*60,seconds:Uu*24*60*60,milliseconds:Uu*24*60*60*1e3},...Wo},Zo=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],hd=Zo.slice(0).reverse();function Ko(de,W,ue=!1){const ye={values:ue?W.values:{...de.values,...W.values||{}},loc:de.loc.clone(W.loc),conversionAccuracy:W.conversionAccuracy||de.conversionAccuracy,matrix:W.matrix||de.matrix};return new Vr(ye)}function $c(de,W){var ue;let ye=(ue=W.milliseconds)!=null?ue:0;for(const Pe of hd.slice(1))W[Pe]&&(ye+=W[Pe]*de[Pe].milliseconds);return ye}function Dl(de,W){const ue=$c(de,W)<0?-1:1;Zo.reduceRight((ye,Pe)=>{if(ir(W[Pe]))return ye;if(ye){const Me=W[ye]*ue,Qe=de[Pe][ye],Xe=Math.floor(Me/Qe);W[Pe]+=Xe*ue,W[ye]-=Xe*Qe*ue}return Pe},null),Zo.reduce((ye,Pe)=>{if(ir(W[Pe]))return ye;if(ye){const Me=W[ye]%1;W[ye]-=Me,W[Pe]+=Me*de[ye][Pe]}return Pe},null)}function Ja(de){const W={};for(const[ue,ye]of Object.entries(de))ye!==0&&(W[ue]=ye);return W}class Vr{constructor(W){const ue=W.conversionAccuracy==="longterm"||!1;let ye=ue?Pl:kp;W.matrix&&(ye=W.matrix),this.values=W.values,this.loc=W.loc||pt.create(),this.conversionAccuracy=ue?"longterm":"casual",this.invalid=W.invalid||null,this.matrix=ye,this.isLuxonDuration=!0}static fromMillis(W,ue){return Vr.fromObject({milliseconds:W},ue)}static fromObject(W,ue={}){if(W==null||typeof W!="object")throw new o(`Duration.fromObject: argument expected to be an object, got ${W===null?"null":typeof W}`);return new Vr({values:wo(W,Vr.normalizeUnit),loc:pt.fromObject(ue),conversionAccuracy:ue.conversionAccuracy,matrix:ue.matrix})}static fromDurationLike(W){if(_o(W))return Vr.fromMillis(W);if(Vr.isDuration(W))return W;if(typeof W=="object")return Vr.fromObject(W);throw new o(`Unknown duration argument ${W} of type ${typeof W}`)}static fromISO(W,ue){const[ye]=qu(W);return ye?Vr.fromObject(ye,ue):Vr.invalid("unparsable",`the input "${W}" can't be parsed as ISO 8601`)}static fromISOTime(W,ue){const[ye]=wh(W);return ye?Vr.fromObject(ye,ue):Vr.invalid("unparsable",`the input "${W}" can't be parsed as ISO 8601`)}static invalid(W,ue=null){if(!W)throw new o("need to specify a reason the Duration is invalid");const ye=W instanceof St?W:new St(W,ue);if(lt.throwOnInvalid)throw new n(ye);return new Vr({invalid:ye})}static normalizeUnit(W){const ue={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[W&&W.toLowerCase()];if(!ue)throw new a(W);return ue}static isDuration(W){return W&&W.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(W,ue={}){const ye={...ue,floor:ue.round!==!1&&ue.floor!==!1};return this.isValid?Ir.create(this.loc,ye).formatDurationFromString(this,W):Cl}toHuman(W={}){if(!this.isValid)return Cl;const ue=Zo.map(ye=>{const Pe=this.values[ye];return ir(Pe)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...W,unit:ye.slice(0,-1)}).format(Pe)}).filter(ye=>ye);return this.loc.listFormatter({type:"conjunction",style:W.listStyle||"narrow",...W}).format(ue)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let W="P";return this.years!==0&&(W+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(W+=this.months+this.quarters*3+"M"),this.weeks!==0&&(W+=this.weeks+"W"),this.days!==0&&(W+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(W+="T"),this.hours!==0&&(W+=this.hours+"H"),this.minutes!==0&&(W+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(W+=As(this.seconds+this.milliseconds/1e3,3)+"S"),W==="P"&&(W+="T0S"),W}toISOTime(W={}){if(!this.isValid)return null;const ue=this.toMillis();return ue<0||ue>=864e5?null:(W={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...W,includeOffset:!1},Er.fromMillis(ue,{zone:"UTC"}).toISOTime(W))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?$c(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(W){if(!this.isValid)return this;const ue=Vr.fromDurationLike(W),ye={};for(const Pe of Zo)(Br(ue.values,Pe)||Br(this.values,Pe))&&(ye[Pe]=ue.get(Pe)+this.get(Pe));return Ko(this,{values:ye},!0)}minus(W){if(!this.isValid)return this;const ue=Vr.fromDurationLike(W);return this.plus(ue.negate())}mapUnits(W){if(!this.isValid)return this;const ue={};for(const ye of Object.keys(this.values))ue[ye]=vn(W(this.values[ye],ye));return Ko(this,{values:ue},!0)}get(W){return this[Vr.normalizeUnit(W)]}set(W){if(!this.isValid)return this;const ue={...this.values,...wo(W,Vr.normalizeUnit)};return Ko(this,{values:ue})}reconfigure({locale:W,numberingSystem:ue,conversionAccuracy:ye,matrix:Pe}={}){const Qe={loc:this.loc.clone({locale:W,numberingSystem:ue}),matrix:Pe,conversionAccuracy:ye};return Ko(this,Qe)}as(W){return this.isValid?this.shiftTo(W).get(W):NaN}normalize(){if(!this.isValid)return this;const W=this.toObject();return Dl(this.matrix,W),Ko(this,{values:W},!0)}rescale(){if(!this.isValid)return this;const W=Ja(this.normalize().shiftToAll().toObject());return Ko(this,{values:W},!0)}shiftTo(...W){if(!this.isValid)return this;if(W.length===0)return this;W=W.map(Qe=>Vr.normalizeUnit(Qe));const ue={},ye={},Pe=this.toObject();let Me;for(const Qe of Zo)if(W.indexOf(Qe)>=0){Me=Qe;let Xe=0;for(const Ot in ye)Xe+=this.matrix[Ot][Qe]*ye[Ot],ye[Ot]=0;_o(Pe[Qe])&&(Xe+=Pe[Qe]);const ut=Math.trunc(Xe);ue[Qe]=ut,ye[Qe]=(Xe*1e3-ut*1e3)/1e3}else _o(Pe[Qe])&&(ye[Qe]=Pe[Qe]);for(const Qe in ye)ye[Qe]!==0&&(ue[Me]+=Qe===Me?ye[Qe]:ye[Qe]/this.matrix[Me][Qe]);return Dl(this.matrix,ue),Ko(this,{values:ue},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const W={};for(const ue of Object.keys(this.values))W[ue]=this.values[ue]===0?0:-this.values[ue];return Ko(this,{values:W},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(W){if(!this.isValid||!W.isValid||!this.loc.equals(W.loc))return!1;function ue(ye,Pe){return ye===void 0||ye===0?Pe===void 0||Pe===0:ye===Pe}for(const ye of Zo)if(!ue(this.values[ye],W.values[ye]))return!1;return!0}}const Cc="Invalid Interval";function Vu(de,W){return!de||!de.isValid?bi.invalid("missing or invalid start"):!W||!W.isValid?bi.invalid("missing or invalid end"):W<de?bi.invalid("end before start",`The end of an interval must be after its start, but you had start=${de.toISO()} and end=${W.toISO()}`):null}class bi{constructor(W){this.s=W.start,this.e=W.end,this.invalid=W.invalid||null,this.isLuxonInterval=!0}static invalid(W,ue=null){if(!W)throw new o("need to specify a reason the Interval is invalid");const ye=W instanceof St?W:new St(W,ue);if(lt.throwOnInvalid)throw new r(ye);return new bi({invalid:ye})}static fromDateTimes(W,ue){const ye=mu(W),Pe=mu(ue),Me=Vu(ye,Pe);return Me??new bi({start:ye,end:Pe})}static after(W,ue){const ye=Vr.fromDurationLike(ue),Pe=mu(W);return bi.fromDateTimes(Pe,Pe.plus(ye))}static before(W,ue){const ye=Vr.fromDurationLike(ue),Pe=mu(W);return bi.fromDateTimes(Pe.minus(ye),Pe)}static fromISO(W,ue){const[ye,Pe]=(W||"").split("/",2);if(ye&&Pe){let Me,Qe;try{Me=Er.fromISO(ye,ue),Qe=Me.isValid}catch{Qe=!1}let Xe,ut;try{Xe=Er.fromISO(Pe,ue),ut=Xe.isValid}catch{ut=!1}if(Qe&&ut)return bi.fromDateTimes(Me,Xe);if(Qe){const Ot=Vr.fromISO(Pe,ue);if(Ot.isValid)return bi.after(Me,Ot)}else if(ut){const Ot=Vr.fromISO(ye,ue);if(Ot.isValid)return bi.before(Xe,Ot)}}return bi.invalid("unparsable",`the input "${W}" can't be parsed as ISO 8601`)}static isInterval(W){return W&&W.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(W="milliseconds"){return this.isValid?this.toDuration(W).get(W):NaN}count(W="milliseconds",ue){if(!this.isValid)return NaN;const ye=this.start.startOf(W,ue);let Pe;return ue!=null&&ue.useLocaleWeeks?Pe=this.end.reconfigure({locale:ye.locale}):Pe=this.end,Pe=Pe.startOf(W,ue),Math.floor(Pe.diff(ye,W).get(W))+(Pe.valueOf()!==this.end.valueOf())}hasSame(W){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,W):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(W){return this.isValid?this.s>W:!1}isBefore(W){return this.isValid?this.e<=W:!1}contains(W){return this.isValid?this.s<=W&&this.e>W:!1}set({start:W,end:ue}={}){return this.isValid?bi.fromDateTimes(W||this.s,ue||this.e):this}splitAt(...W){if(!this.isValid)return[];const ue=W.map(mu).filter(Qe=>this.contains(Qe)).sort((Qe,Xe)=>Qe.toMillis()-Xe.toMillis()),ye=[];let{s:Pe}=this,Me=0;for(;Pe<this.e;){const Qe=ue[Me]||this.e,Xe=+Qe>+this.e?this.e:Qe;ye.push(bi.fromDateTimes(Pe,Xe)),Pe=Xe,Me+=1}return ye}splitBy(W){const ue=Vr.fromDurationLike(W);if(!this.isValid||!ue.isValid||ue.as("milliseconds")===0)return[];let{s:ye}=this,Pe=1,Me;const Qe=[];for(;ye<this.e;){const Xe=this.start.plus(ue.mapUnits(ut=>ut*Pe));Me=+Xe>+this.e?this.e:Xe,Qe.push(bi.fromDateTimes(ye,Me)),ye=Me,Pe+=1}return Qe}divideEqually(W){return this.isValid?this.splitBy(this.length()/W).slice(0,W):[]}overlaps(W){return this.e>W.s&&this.s<W.e}abutsStart(W){return this.isValid?+this.e==+W.s:!1}abutsEnd(W){return this.isValid?+W.e==+this.s:!1}engulfs(W){return this.isValid?this.s<=W.s&&this.e>=W.e:!1}equals(W){return!this.isValid||!W.isValid?!1:this.s.equals(W.s)&&this.e.equals(W.e)}intersection(W){if(!this.isValid)return this;const ue=this.s>W.s?this.s:W.s,ye=this.e<W.e?this.e:W.e;return ue>=ye?null:bi.fromDateTimes(ue,ye)}union(W){if(!this.isValid)return this;const ue=this.s<W.s?this.s:W.s,ye=this.e>W.e?this.e:W.e;return bi.fromDateTimes(ue,ye)}static merge(W){const[ue,ye]=W.sort((Pe,Me)=>Pe.s-Me.s).reduce(([Pe,Me],Qe)=>Me?Me.overlaps(Qe)||Me.abutsStart(Qe)?[Pe,Me.union(Qe)]:[Pe.concat([Me]),Qe]:[Pe,Qe],[[],null]);return ye&&ue.push(ye),ue}static xor(W){let ue=null,ye=0;const Pe=[],Me=W.map(ut=>[{time:ut.s,type:"s"},{time:ut.e,type:"e"}]),Qe=Array.prototype.concat(...Me),Xe=Qe.sort((ut,Ot)=>ut.time-Ot.time);for(const ut of Xe)ye+=ut.type==="s"?1:-1,ye===1?ue=ut.time:(ue&&+ue!=+ut.time&&Pe.push(bi.fromDateTimes(ue,ut.time)),ue=null);return bi.merge(Pe)}difference(...W){return bi.xor([this].concat(W)).map(ue=>this.intersection(ue)).filter(ue=>ue&&!ue.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Cc}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(W=f,ue={}){return this.isValid?Ir.create(this.s.loc.clone(ue),W).formatInterval(this):Cc}toISO(W){return this.isValid?`${this.s.toISO(W)}/${this.e.toISO(W)}`:Cc}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Cc}toISOTime(W){return this.isValid?`${this.s.toISOTime(W)}/${this.e.toISOTime(W)}`:Cc}toFormat(W,{separator:ue=" – "}={}){return this.isValid?`${this.s.toFormat(W)}${ue}${this.e.toFormat(W)}`:Cc}toDuration(W,ue){return this.isValid?this.e.diff(this.s,W,ue):Vr.invalid(this.invalidReason)}mapEndpoints(W){return bi.fromDateTimes(W(this.s),W(this.e))}}class eo{static hasDST(W=lt.defaultZone){const ue=Er.now().setZone(W).set({month:12});return!W.isUniversal&&ue.offset!==ue.set({month:6}).offset}static isValidIANAZone(W){return ie.isValidZone(W)}static normalizeZone(W){return Ie(W,lt.defaultZone)}static getStartOfWeek({locale:W=null,locObj:ue=null}={}){return(ue||pt.create(W)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:W=null,locObj:ue=null}={}){return(ue||pt.create(W)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:W=null,locObj:ue=null}={}){return(ue||pt.create(W)).getWeekendDays().slice()}static months(W="long",{locale:ue=null,numberingSystem:ye=null,locObj:Pe=null,outputCalendar:Me="gregory"}={}){return(Pe||pt.create(ue,ye,Me)).months(W)}static monthsFormat(W="long",{locale:ue=null,numberingSystem:ye=null,locObj:Pe=null,outputCalendar:Me="gregory"}={}){return(Pe||pt.create(ue,ye,Me)).months(W,!0)}static weekdays(W="long",{locale:ue=null,numberingSystem:ye=null,locObj:Pe=null}={}){return(Pe||pt.create(ue,ye,null)).weekdays(W)}static weekdaysFormat(W="long",{locale:ue=null,numberingSystem:ye=null,locObj:Pe=null}={}){return(Pe||pt.create(ue,ye,null)).weekdays(W,!0)}static meridiems({locale:W=null}={}){return pt.create(W).meridiems()}static eras(W="short",{locale:ue=null}={}){return pt.create(ue,null,"gregory").eras(W)}static features(){return{relative:fu(),localeWeek:gn()}}}function pi(de,W){const ue=Pe=>Pe.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),ye=ue(W)-ue(de);return Math.floor(Vr.fromMillis(ye).as("days"))}function Rl(de,W,ue){const ye=[["years",(ut,Ot)=>Ot.year-ut.year],["quarters",(ut,Ot)=>Ot.quarter-ut.quarter+(Ot.year-ut.year)*4],["months",(ut,Ot)=>Ot.month-ut.month+(Ot.year-ut.year)*12],["weeks",(ut,Ot)=>{const br=pi(ut,Ot);return(br-br%7)/7}],["days",pi]],Pe={},Me=de;let Qe,Xe;for(const[ut,Ot]of ye)ue.indexOf(ut)>=0&&(Qe=ut,Pe[ut]=Ot(de,W),Xe=Me.plus(Pe),Xe>W?(Pe[ut]--,de=Me.plus(Pe),de>W&&(Xe=de,Pe[ut]--,de=Me.plus(Pe))):de=Xe);return[de,Pe,Xe,Qe]}function Pc(de,W,ue,ye){let[Pe,Me,Qe,Xe]=Rl(de,W,ue);const ut=W-Pe,Ot=ue.filter(Zr=>["hours","minutes","seconds","milliseconds"].indexOf(Zr)>=0);Ot.length===0&&(Qe<W&&(Qe=Pe.plus({[Xe]:1})),Qe!==Pe&&(Me[Xe]=(Me[Xe]||0)+ut/(Qe-Pe)));const br=Vr.fromObject(Me,ye);return Ot.length>0?Vr.fromMillis(ut,ye).shiftTo(...Ot).plus(br):br}const Bs="missing Intl.DateTimeFormat.formatToParts support";function Sn(de,W=ue=>ue){return{regex:de,deser:([ue])=>W(Nt(ue))}}const Tp="[  ]",ju=new RegExp(Tp,"g");function qe(de){return de.replace(/\./g,"\\.?").replace(ju,Tp)}function ht(de){return de.replace(/\./g,"").replace(ju," ").toLowerCase()}function et(de,W){return de===null?null:{regex:RegExp(de.map(qe).join("|")),deser:([ue])=>de.findIndex(ye=>ht(ue)===ht(ye))+W}}function Bt(de,W){return{regex:de,deser:([,ue,ye])=>Fs(ue,ye),groups:W}}function vr(de){return{regex:de,deser:([W])=>W}}function qr(de){return de.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function mi(de,W){const ue=Ht(W),ye=Ht(W,"{2}"),Pe=Ht(W,"{3}"),Me=Ht(W,"{4}"),Qe=Ht(W,"{6}"),Xe=Ht(W,"{1,2}"),ut=Ht(W,"{1,3}"),Ot=Ht(W,"{1,6}"),br=Ht(W,"{1,9}"),Zr=Ht(W,"{2,4}"),tn=Ht(W,"{4,6}"),gr=Ce=>({regex:RegExp(qr(Ce.val)),deser:([Po])=>Po,literal:!0}),Go=(Ce=>{if(de.literal)return gr(Ce);switch(Ce.val){case"G":return et(W.eras("short"),0);case"GG":return et(W.eras("long"),0);case"y":return Sn(Ot);case"yy":return Sn(Zr,_c);case"yyyy":return Sn(Me);case"yyyyy":return Sn(tn);case"yyyyyy":return Sn(Qe);case"M":return Sn(Xe);case"MM":return Sn(ye);case"MMM":return et(W.months("short",!0),1);case"MMMM":return et(W.months("long",!0),1);case"L":return Sn(Xe);case"LL":return Sn(ye);case"LLL":return et(W.months("short",!1),1);case"LLLL":return et(W.months("long",!1),1);case"d":return Sn(Xe);case"dd":return Sn(ye);case"o":return Sn(ut);case"ooo":return Sn(Pe);case"HH":return Sn(ye);case"H":return Sn(Xe);case"hh":return Sn(ye);case"h":return Sn(Xe);case"mm":return Sn(ye);case"m":return Sn(Xe);case"q":return Sn(Xe);case"qq":return Sn(ye);case"s":return Sn(Xe);case"ss":return Sn(ye);case"S":return Sn(ut);case"SSS":return Sn(Pe);case"u":return vr(br);case"uu":return vr(Xe);case"uuu":return Sn(ue);case"a":return et(W.meridiems(),0);case"kkkk":return Sn(Me);case"kk":return Sn(Zr,_c);case"W":return Sn(Xe);case"WW":return Sn(ye);case"E":case"c":return Sn(ue);case"EEE":return et(W.weekdays("short",!1),1);case"EEEE":return et(W.weekdays("long",!1),1);case"ccc":return et(W.weekdays("short",!0),1);case"cccc":return et(W.weekdays("long",!0),1);case"Z":case"ZZ":return Bt(new RegExp(`([+-]${Xe.source})(?::(${ye.source}))?`),2);case"ZZZ":return Bt(new RegExp(`([+-]${Xe.source})(${ye.source})?`),2);case"z":return vr(/[a-z_+-/]{1,256}?/i);case" ":return vr(/[^\S\n\r]/);default:return gr(Ce)}})(de)||{invalidReason:Bs};return Go.token=de,Go}const wr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function Hi(de,W,ue){const{type:ye,value:Pe}=de;if(ye==="literal"){const ut=/^\s+$/.test(Pe);return{literal:!ut,val:ut?" ":Pe}}const Me=W[ye];let Qe=ye;ye==="hour"&&(W.hour12!=null?Qe=W.hour12?"hour12":"hour24":W.hourCycle!=null?W.hourCycle==="h11"||W.hourCycle==="h12"?Qe="hour12":Qe="hour24":Qe=ue.hour12?"hour12":"hour24");let Xe=wr[Qe];if(typeof Xe=="object"&&(Xe=Xe[Me]),Xe)return{literal:!1,val:Xe}}function ga(de){return[`^${de.map(ue=>ue.regex).reduce((ue,ye)=>`${ue}(${ye.source})`,"")}$`,de]}function to(de,W,ue){const ye=de.match(W);if(ye){const Pe={};let Me=1;for(const Qe in ue)if(Br(ue,Qe)){const Xe=ue[Qe],ut=Xe.groups?Xe.groups+1:1;!Xe.literal&&Xe.token&&(Pe[Xe.token.val[0]]=Xe.deser(ye.slice(Me,Me+ut))),Me+=ut}return[ye,Pe]}else return[ye,{}]}function Ho(de){const W=Me=>{switch(Me){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let ue=null,ye;return ir(de.z)||(ue=ie.create(de.z)),ir(de.Z)||(ue||(ue=new zt(de.Z)),ye=de.Z),ir(de.q)||(de.M=(de.q-1)*3+1),ir(de.h)||(de.h<12&&de.a===1?de.h+=12:de.h===12&&de.a===0&&(de.h=0)),de.G===0&&de.y&&(de.y=-de.y),ir(de.u)||(de.S=ua(de.u)),[Object.keys(de).reduce((Me,Qe)=>{const Xe=W(Qe);return Xe&&(Me[Xe]=de[Qe]),Me},{}),ue,ye]}let Wu=null;function pu(){return Wu||(Wu=Er.fromMillis(1555555555555)),Wu}function Ii(de,W){if(de.literal)return de;const ue=Ir.macroTokenToFormatOpts(de.val),ye=ro(ue,W);return ye==null||ye.includes(void 0)?de:ye}function kl(de,W){return Array.prototype.concat(...de.map(ue=>Ii(ue,W)))}class yn{constructor(W,ue){if(this.locale=W,this.format=ue,this.tokens=kl(Ir.parseFormat(ue),W),this.units=this.tokens.map(ye=>mi(ye,W)),this.disqualifyingUnit=this.units.find(ye=>ye.invalidReason),!this.disqualifyingUnit){const[ye,Pe]=ga(this.units);this.regex=RegExp(ye,"i"),this.handlers=Pe}}explainFromTokens(W){if(this.isValid){const[ue,ye]=to(W,this.regex,this.handlers),[Pe,Me,Qe]=ye?Ho(ye):[null,null,void 0];if(Br(ye,"a")&&Br(ye,"H"))throw new i("Can't include meridiem when specifying 24-hour format");return{input:W,tokens:this.tokens,regex:this.regex,rawMatches:ue,matches:ye,result:Pe,zone:Me,specificOffset:Qe}}else return{input:W,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Zu(de,W,ue){return new yn(de,ue).explainFromTokens(W)}function ps(de,W,ue){const{result:ye,zone:Pe,specificOffset:Me,invalidReason:Qe}=Zu(de,W,ue);return[ye,Pe,Me,Qe]}function ro(de,W){if(!de)return null;const ye=Ir.create(W,de).dtFormatter(pu()),Pe=ye.formatToParts(),Me=ye.resolvedOptions();return Pe.map(Qe=>Hi(Qe,de,Me))}const ms="Invalid DateTime",md=864e13;function Ku(de){return new St("unsupported zone",`the zone "${de.name}" is not supported`)}function Tl(de){return de.weekData===null&&(de.weekData=Fr(de.c)),de.weekData}function gs(de){return de.localWeekData===null&&(de.localWeekData=Fr(de.c,de.loc.getMinDaysInFirstWeek(),de.loc.getStartOfWeek())),de.localWeekData}function vs(de,W){const ue={ts:de.ts,zone:de.zone,c:de.c,o:de.o,loc:de.loc,invalid:de.invalid};return new Er({...ue,...W,old:ue})}function gd(de,W,ue){let ye=de-W*60*1e3;const Pe=ue.offset(ye);if(W===Pe)return[ye,W];ye-=(Pe-W)*60*1e3;const Me=ue.offset(ye);return Pe===Me?[ye,Pe]:[de-Math.min(Pe,Me)*60*1e3,Math.max(Pe,Me)]}function no(de,W){de+=W*60*1e3;const ue=new Date(de);return{year:ue.getUTCFullYear(),month:ue.getUTCMonth()+1,day:ue.getUTCDate(),hour:ue.getUTCHours(),minute:ue.getUTCMinutes(),second:ue.getUTCSeconds(),millisecond:ue.getUTCMilliseconds()}}function Al(de,W,ue){return gd(xl(de),W,ue)}function Dc(de,W){const ue=de.o,ye=de.c.year+Math.trunc(W.years),Pe=de.c.month+Math.trunc(W.months)+Math.trunc(W.quarters)*3,Me={...de.c,year:ye,month:Pe,day:Math.min(de.c.day,xc(ye,Pe))+Math.trunc(W.days)+Math.trunc(W.weeks)*7},Qe=Vr.fromObject({years:W.years-Math.trunc(W.years),quarters:W.quarters-Math.trunc(W.quarters),months:W.months-Math.trunc(W.months),weeks:W.weeks-Math.trunc(W.weeks),days:W.days-Math.trunc(W.days),hours:W.hours,minutes:W.minutes,seconds:W.seconds,milliseconds:W.milliseconds}).as("milliseconds"),Xe=xl(Me);let[ut,Ot]=gd(Xe,ue,de.zone);return Qe!==0&&(ut+=Qe,Ot=de.zone.offset(ut)),{ts:ut,o:Ot}}function Yo(de,W,ue,ye,Pe,Me){const{setZone:Qe,zone:Xe}=ue;if(de&&Object.keys(de).length!==0||W){const ut=W||Xe,Ot=Er.fromObject(de,{...ue,zone:ut,specificOffset:Me});return Qe?Ot:Ot.setZone(Xe)}else return Er.invalid(new St("unparsable",`the input "${Pe}" can't be parsed as ${ye}`))}function vf(de,W,ue=!0){return de.isValid?Ir.create(pt.create("en-US"),{allowZ:ue,forceSimple:!0}).formatDateTimeFromString(de,W):null}function Co(de,W){const ue=de.c.year>9999||de.c.year<0;let ye="";return ue&&de.c.year>=0&&(ye+="+"),ye+=cn(de.c.year,ue?6:4),W?(ye+="-",ye+=cn(de.c.month),ye+="-",ye+=cn(de.c.day)):(ye+=cn(de.c.month),ye+=cn(de.c.day)),ye}function qs(de,W,ue,ye,Pe,Me){let Qe=cn(de.c.hour);return W?(Qe+=":",Qe+=cn(de.c.minute),(de.c.millisecond!==0||de.c.second!==0||!ue)&&(Qe+=":")):Qe+=cn(de.c.minute),(de.c.millisecond!==0||de.c.second!==0||!ue)&&(Qe+=cn(de.c.second),(de.c.millisecond!==0||!ye)&&(Qe+=".",Qe+=cn(de.c.millisecond,3))),Pe&&(de.isOffsetFixed&&de.offset===0&&!Me?Qe+="Z":de.o<0?(Qe+="-",Qe+=cn(Math.trunc(-de.o/60)),Qe+=":",Qe+=cn(Math.trunc(-de.o%60))):(Qe+="+",Qe+=cn(Math.trunc(de.o/60)),Qe+=":",Qe+=cn(Math.trunc(de.o%60)))),Me&&(Qe+="["+de.zone.ianaName+"]"),Qe}const Fl={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},yf={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},ai={ordinal:1,hour:0,minute:0,second:0,millisecond:0},vd=["year","month","day","hour","minute","second","millisecond"],Il=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Hu=["year","ordinal","hour","minute","second","millisecond"];function bf(de){const W={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[de.toLowerCase()];if(!W)throw new a(de);return W}function yd(de){switch(de.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return bf(de)}}function Rc(de){if(Yi===void 0&&(Yi=lt.now()),de.type!=="iana")return de.offset(Yi);const W=de.name;let ue=Eh.get(W);return ue===void 0&&(ue=de.offset(Yi),Eh.set(W,ue)),ue}function bd(de,W){const ue=Ie(W.zone,lt.defaultZone);if(!ue.isValid)return Er.invalid(Ku(ue));const ye=pt.fromObject(W);let Pe,Me;if(ir(de.year))Pe=lt.now();else{for(const ut of vd)ir(de[ut])&&(de[ut]=Fl[ut]);const Qe=Ts(de)||Tu(de);if(Qe)return Er.invalid(Qe);const Xe=Rc(ue);[Pe,Me]=Al(de,Xe,ue)}return new Er({ts:Pe,zone:ue,loc:ye,o:Me})}function Ml(de,W,ue){const ye=ir(ue.round)?!0:ue.round,Pe=(Qe,Xe)=>(Qe=As(Qe,ye||ue.calendary?0:2,!0),W.loc.clone(ue).relFormatter(ue).format(Qe,Xe)),Me=Qe=>ue.calendary?W.hasSame(de,Qe)?0:W.startOf(Qe).diff(de.startOf(Qe),Qe).get(Qe):W.diff(de,Qe).get(Qe);if(ue.unit)return Pe(Me(ue.unit),ue.unit);for(const Qe of ue.units){const Xe=Me(Qe);if(Math.abs(Xe)>=1)return Pe(Xe,Qe)}return Pe(de>W?-0:0,ue.units[ue.units.length-1])}function Mi(de){let W={},ue;return de.length>0&&typeof de[de.length-1]=="object"?(W=de[de.length-1],ue=Array.from(de).slice(0,de.length-1)):ue=Array.from(de),[W,ue]}let Yi;const Eh=new Map;class Er{constructor(W){const ue=W.zone||lt.defaultZone;let ye=W.invalid||(Number.isNaN(W.ts)?new St("invalid input"):null)||(ue.isValid?null:Ku(ue));this.ts=ir(W.ts)?lt.now():W.ts;let Pe=null,Me=null;if(!ye)if(W.old&&W.old.ts===this.ts&&W.old.zone.equals(ue))[Pe,Me]=[W.old.c,W.old.o];else{const Xe=_o(W.o)&&!W.old?W.o:ue.offset(this.ts);Pe=no(this.ts,Xe),ye=Number.isNaN(Pe.year)?new St("invalid input"):null,Pe=ye?null:Pe,Me=ye?null:Xe}this._zone=ue,this.loc=W.loc||pt.create(),this.invalid=ye,this.weekData=null,this.localWeekData=null,this.c=Pe,this.o=Me,this.isLuxonDateTime=!0}static now(){return new Er({})}static local(){const[W,ue]=Mi(arguments),[ye,Pe,Me,Qe,Xe,ut,Ot]=ue;return bd({year:ye,month:Pe,day:Me,hour:Qe,minute:Xe,second:ut,millisecond:Ot},W)}static utc(){const[W,ue]=Mi(arguments),[ye,Pe,Me,Qe,Xe,ut,Ot]=ue;return W.zone=zt.utcInstance,bd({year:ye,month:Pe,day:Me,hour:Qe,minute:Xe,second:ut,millisecond:Ot},W)}static fromJSDate(W,ue={}){const ye=Uo(W)?W.valueOf():NaN;if(Number.isNaN(ye))return Er.invalid("invalid input");const Pe=Ie(ue.zone,lt.defaultZone);return Pe.isValid?new Er({ts:ye,zone:Pe,loc:pt.fromObject(ue)}):Er.invalid(Ku(Pe))}static fromMillis(W,ue={}){if(_o(W))return W<-864e13||W>md?Er.invalid("Timestamp out of range"):new Er({ts:W,zone:Ie(ue.zone,lt.defaultZone),loc:pt.fromObject(ue)});throw new o(`fromMillis requires a numerical input, but received a ${typeof W} with value ${W}`)}static fromSeconds(W,ue={}){if(_o(W))return new Er({ts:W*1e3,zone:Ie(ue.zone,lt.defaultZone),loc:pt.fromObject(ue)});throw new o("fromSeconds requires a numerical input")}static fromObject(W,ue={}){W=W||{};const ye=Ie(ue.zone,lt.defaultZone);if(!ye.isValid)return Er.invalid(Ku(ye));const Pe=pt.fromObject(ue),Me=wo(W,yd),{minDaysInFirstWeek:Qe,startOfWeek:Xe}=_a(Me,Pe),ut=lt.now(),Ot=ir(ue.specificOffset)?ye.offset(ut):ue.specificOffset,br=!ir(Me.ordinal),Zr=!ir(Me.year),tn=!ir(Me.month)||!ir(Me.day),gr=Zr||tn,wn=Me.weekYear||Me.weekNumber;if((gr||br)&&wn)throw new i("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(tn&&br)throw new i("Can't mix ordinal dates with month/day");const Go=wn||Me.weekday&&!gr;let Ce,Po,io=no(ut,Ot);Go?(Ce=Il,Po=yf,io=Fr(io,Qe,Xe)):br?(Ce=Hu,Po=ai,io=di(io)):(Ce=vd,Po=Fl);let Ni=!1;for(const An of Ce){const Yu=Me[An];ir(Yu)?Ni?Me[An]=Po[An]:Me[An]=io[An]:Ni=!0}const fr=Go?pn(Me,Qe,Xe):br?bl(Me):Ts(Me),xd=fr||Tu(Me);if(xd)return Er.invalid(xd);const Ap=Go?hn(Me,Qe,Xe):br?Vi(Me):Me,[va,Hn]=Al(Ap,Ot,ye),zn=new Er({ts:va,zone:ye,o:Hn,loc:Pe});return Me.weekday&&gr&&W.weekday!==zn.weekday?Er.invalid("mismatched weekday",`you can't specify both a weekday of ${Me.weekday} and a date of ${zn.toISO()}`):zn.isValid?zn:Er.invalid(zn.invalid)}static fromISO(W,ue={}){const[ye,Pe]=$l(W);return Yo(ye,Pe,ue,"ISO 8601",W)}static fromRFC2822(W,ue={}){const[ye,Pe]=Bu(W);return Yo(ye,Pe,ue,"RFC 2822",W)}static fromHTTP(W,ue={}){const[ye,Pe]=Qs(W);return Yo(ye,Pe,ue,"HTTP",ue)}static fromFormat(W,ue,ye={}){if(ir(W)||ir(ue))throw new o("fromFormat requires an input string and a format");const{locale:Pe=null,numberingSystem:Me=null}=ye,Qe=pt.fromOpts({locale:Pe,numberingSystem:Me,defaultToEN:!0}),[Xe,ut,Ot,br]=ps(Qe,W,ue);return br?Er.invalid(br):Yo(Xe,ut,ye,`format ${ue}`,W,Ot)}static fromString(W,ue,ye={}){return Er.fromFormat(W,ue,ye)}static fromSQL(W,ue={}){const[ye,Pe]=hi(W);return Yo(ye,Pe,ue,"SQL",W)}static invalid(W,ue=null){if(!W)throw new o("need to specify a reason the DateTime is invalid");const ye=W instanceof St?W:new St(W,ue);if(lt.throwOnInvalid)throw new t(ye);return new Er({invalid:ye})}static isDateTime(W){return W&&W.isLuxonDateTime||!1}static parseFormatForOpts(W,ue={}){const ye=ro(W,pt.fromObject(ue));return ye?ye.map(Pe=>Pe?Pe.val:null).join(""):null}static expandFormat(W,ue={}){return kl(Ir.parseFormat(W),pt.fromObject(ue)).map(Pe=>Pe.val).join("")}static resetCache(){Yi=void 0,Eh.clear()}get(W){return this[W]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Tl(this).weekYear:NaN}get weekNumber(){return this.isValid?Tl(this).weekNumber:NaN}get weekday(){return this.isValid?Tl(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?gs(this).weekday:NaN}get localWeekNumber(){return this.isValid?gs(this).weekNumber:NaN}get localWeekYear(){return this.isValid?gs(this).weekYear:NaN}get ordinal(){return this.isValid?di(this.c).ordinal:NaN}get monthShort(){return this.isValid?eo.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?eo.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?eo.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?eo.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const W=864e5,ue=6e4,ye=xl(this.c),Pe=this.zone.offset(ye-W),Me=this.zone.offset(ye+W),Qe=this.zone.offset(ye-Pe*ue),Xe=this.zone.offset(ye-Me*ue);if(Qe===Xe)return[this];const ut=ye-Qe*ue,Ot=ye-Xe*ue,br=no(ut,Qe),Zr=no(Ot,Xe);return br.hour===Zr.hour&&br.minute===Zr.minute&&br.second===Zr.second&&br.millisecond===Zr.millisecond?[vs(this,{ts:ut}),vs(this,{ts:Ot})]:[this]}get isInLeapYear(){return hs(this.year)}get daysInMonth(){return xc(this.year,this.month)}get daysInYear(){return this.isValid?Ol(this.year):NaN}get weeksInWeekYear(){return this.isValid?Fu(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Fu(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(W={}){const{locale:ue,numberingSystem:ye,calendar:Pe}=Ir.create(this.loc.clone(W),W).resolvedOptions(this);return{locale:ue,numberingSystem:ye,outputCalendar:Pe}}toUTC(W=0,ue={}){return this.setZone(zt.instance(W),ue)}toLocal(){return this.setZone(lt.defaultZone)}setZone(W,{keepLocalTime:ue=!1,keepCalendarTime:ye=!1}={}){if(W=Ie(W,lt.defaultZone),W.equals(this.zone))return this;if(W.isValid){let Pe=this.ts;if(ue||ye){const Me=W.offset(this.ts),Qe=this.toObject();[Pe]=Al(Qe,Me,W)}return vs(this,{ts:Pe,zone:W})}else return Er.invalid(Ku(W))}reconfigure({locale:W,numberingSystem:ue,outputCalendar:ye}={}){const Pe=this.loc.clone({locale:W,numberingSystem:ue,outputCalendar:ye});return vs(this,{loc:Pe})}setLocale(W){return this.reconfigure({locale:W})}set(W){if(!this.isValid)return this;const ue=wo(W,yd),{minDaysInFirstWeek:ye,startOfWeek:Pe}=_a(ue,this.loc),Me=!ir(ue.weekYear)||!ir(ue.weekNumber)||!ir(ue.weekday),Qe=!ir(ue.ordinal),Xe=!ir(ue.year),ut=!ir(ue.month)||!ir(ue.day),Ot=Xe||ut,br=ue.weekYear||ue.weekNumber;if((Ot||Qe)&&br)throw new i("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(ut&&Qe)throw new i("Can't mix ordinal dates with month/day");let Zr;Me?Zr=hn({...Fr(this.c,ye,Pe),...ue},ye,Pe):ir(ue.ordinal)?(Zr={...this.toObject(),...ue},ir(ue.day)&&(Zr.day=Math.min(xc(Zr.year,Zr.month),Zr.day))):Zr=Vi({...di(this.c),...ue});const[tn,gr]=Al(Zr,this.o,this.zone);return vs(this,{ts:tn,o:gr})}plus(W){if(!this.isValid)return this;const ue=Vr.fromDurationLike(W);return vs(this,Dc(this,ue))}minus(W){if(!this.isValid)return this;const ue=Vr.fromDurationLike(W).negate();return vs(this,Dc(this,ue))}startOf(W,{useLocaleWeeks:ue=!1}={}){if(!this.isValid)return this;const ye={},Pe=Vr.normalizeUnit(W);switch(Pe){case"years":ye.month=1;case"quarters":case"months":ye.day=1;case"weeks":case"days":ye.hour=0;case"hours":ye.minute=0;case"minutes":ye.second=0;case"seconds":ye.millisecond=0;break}if(Pe==="weeks")if(ue){const Me=this.loc.getStartOfWeek(),{weekday:Qe}=this;Qe<Me&&(ye.weekNumber=this.weekNumber-1),ye.weekday=Me}else ye.weekday=1;if(Pe==="quarters"){const Me=Math.ceil(this.month/3);ye.month=(Me-1)*3+1}return this.set(ye)}endOf(W,ue){return this.isValid?this.plus({[W]:1}).startOf(W,ue).minus(1):this}toFormat(W,ue={}){return this.isValid?Ir.create(this.loc.redefaultToEN(ue)).formatDateTimeFromString(this,W):ms}toLocaleString(W=f,ue={}){return this.isValid?Ir.create(this.loc.clone(ue),W).formatDateTime(this):ms}toLocaleParts(W={}){return this.isValid?Ir.create(this.loc.clone(W),W).formatDateTimeParts(this):[]}toISO({format:W="extended",suppressSeconds:ue=!1,suppressMilliseconds:ye=!1,includeOffset:Pe=!0,extendedZone:Me=!1}={}){if(!this.isValid)return null;const Qe=W==="extended";let Xe=Co(this,Qe);return Xe+="T",Xe+=qs(this,Qe,ue,ye,Pe,Me),Xe}toISODate({format:W="extended"}={}){return this.isValid?Co(this,W==="extended"):null}toISOWeekDate(){return vf(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:W=!1,suppressSeconds:ue=!1,includeOffset:ye=!0,includePrefix:Pe=!1,extendedZone:Me=!1,format:Qe="extended"}={}){return this.isValid?(Pe?"T":"")+qs(this,Qe==="extended",ue,W,ye,Me):null}toRFC2822(){return vf(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return vf(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Co(this,!0):null}toSQLTime({includeOffset:W=!0,includeZone:ue=!1,includeOffsetSpace:ye=!0}={}){let Pe="HH:mm:ss.SSS";return(ue||W)&&(ye&&(Pe+=" "),ue?Pe+="z":W&&(Pe+="ZZ")),vf(this,Pe,!0)}toSQL(W={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(W)}`:null}toString(){return this.isValid?this.toISO():ms}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(W={}){if(!this.isValid)return{};const ue={...this.c};return W.includeConfig&&(ue.outputCalendar=this.outputCalendar,ue.numberingSystem=this.loc.numberingSystem,ue.locale=this.loc.locale),ue}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(W,ue="milliseconds",ye={}){if(!this.isValid||!W.isValid)return Vr.invalid("created by diffing an invalid DateTime");const Pe={locale:this.locale,numberingSystem:this.numberingSystem,...ye},Me=Sa(ue).map(Vr.normalizeUnit),Qe=W.valueOf()>this.valueOf(),Xe=Qe?this:W,ut=Qe?W:this,Ot=Pc(Xe,ut,Me,Pe);return Qe?Ot.negate():Ot}diffNow(W="milliseconds",ue={}){return this.diff(Er.now(),W,ue)}until(W){return this.isValid?bi.fromDateTimes(this,W):this}hasSame(W,ue,ye){if(!this.isValid)return!1;const Pe=W.valueOf(),Me=this.setZone(W.zone,{keepLocalTime:!0});return Me.startOf(ue,ye)<=Pe&&Pe<=Me.endOf(ue,ye)}equals(W){return this.isValid&&W.isValid&&this.valueOf()===W.valueOf()&&this.zone.equals(W.zone)&&this.loc.equals(W.loc)}toRelative(W={}){if(!this.isValid)return null;const ue=W.base||Er.fromObject({},{zone:this.zone}),ye=W.padding?this<ue?-W.padding:W.padding:0;let Pe=["years","months","days","hours","minutes","seconds"],Me=W.unit;return Array.isArray(W.unit)&&(Pe=W.unit,Me=void 0),Ml(ue,this.plus(ye),{...W,numeric:"always",units:Pe,unit:Me})}toRelativeCalendar(W={}){return this.isValid?Ml(W.base||Er.fromObject({},{zone:this.zone}),this,{...W,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...W){if(!W.every(Er.isDateTime))throw new o("min requires all arguments be DateTimes");return ma(W,ue=>ue.valueOf(),Math.min)}static max(...W){if(!W.every(Er.isDateTime))throw new o("max requires all arguments be DateTimes");return ma(W,ue=>ue.valueOf(),Math.max)}static fromFormatExplain(W,ue,ye={}){const{locale:Pe=null,numberingSystem:Me=null}=ye,Qe=pt.fromOpts({locale:Pe,numberingSystem:Me,defaultToEN:!0});return Zu(Qe,W,ue)}static fromStringExplain(W,ue,ye={}){return Er.fromFormatExplain(W,ue,ye)}static buildFormatParser(W,ue={}){const{locale:ye=null,numberingSystem:Pe=null}=ue,Me=pt.fromOpts({locale:ye,numberingSystem:Pe,defaultToEN:!0});return new yn(Me,W)}static fromFormatParser(W,ue,ye={}){if(ir(W)||ir(ue))throw new o("fromFormatParser requires an input string and a format parser");const{locale:Pe=null,numberingSystem:Me=null}=ye,Qe=pt.fromOpts({locale:Pe,numberingSystem:Me,defaultToEN:!0});if(!Qe.equals(ue.locale))throw new o(`fromFormatParser called with a locale of ${Qe}, but the format parser was created for ${ue.locale}`);const{result:Xe,zone:ut,specificOffset:Ot,invalidReason:br}=ue.explainFromTokens(W);return br?Er.invalid(br):Yo(Xe,ut,ye,`format ${ue.format}`,W,Ot)}static get DATE_SHORT(){return f}static get DATE_MED(){return d}static get DATE_MED_WITH_WEEKDAY(){return h}static get DATE_FULL(){return g}static get DATE_HUGE(){return m}static get TIME_SIMPLE(){return v}static get TIME_WITH_SECONDS(){return y}static get TIME_WITH_SHORT_OFFSET(){return O}static get TIME_WITH_LONG_OFFSET(){return x}static get TIME_24_SIMPLE(){return C}static get TIME_24_WITH_SECONDS(){return w}static get TIME_24_WITH_SHORT_OFFSET(){return E}static get TIME_24_WITH_LONG_OFFSET(){return T}static get DATETIME_SHORT(){return P}static get DATETIME_SHORT_WITH_SECONDS(){return L}static get DATETIME_MED(){return N}static get DATETIME_MED_WITH_SECONDS(){return B}static get DATETIME_MED_WITH_WEEKDAY(){return j}static get DATETIME_FULL(){return A}static get DATETIME_FULL_WITH_SECONDS(){return H}static get DATETIME_HUGE(){return k}static get DATETIME_HUGE_WITH_SECONDS(){return Q}}function mu(de){if(Er.isDateTime(de))return de;if(de&&de.valueOf&&_o(de.valueOf()))return Er.fromJSDate(de);if(de&&typeof de=="object")return Er.fromObject(de);throw new o(`Unknown datetime argument: ${de}, of type ${typeof de}`)}const Od="3.6.1";return ec.DateTime=Er,ec.Duration=Vr,ec.FixedOffsetZone=zt,ec.IANAZone=ie,ec.Info=eo,ec.Interval=bi,ec.InvalidZone=Gt,ec.Settings=lt,ec.SystemZone=q,ec.VERSION=Od,ec.Zone=V,ec}var gG;function AC(){return gG||(gG=1,function(e){var a,o,s,u,l,oM,f,Qm;Object.defineProperty(e,"__esModule",{value:!0}),e.CronDate=e.DAYS_IN_MONTH=e.DateMathOp=e.TimeUnit=void 0;const t=yGe();var r;(function(g){g.Second="Second",g.Minute="Minute",g.Hour="Hour",g.Day="Day",g.Month="Month",g.Year="Year"})(r||(e.TimeUnit=r={}));var n;(function(g){g.Add="Add",g.Subtract="Subtract"})(n||(e.DateMathOp=n={})),e.DAYS_IN_MONTH=Object.freeze([31,29,31,30,31,30,31,31,30,31,30,31]);const h=class h{constructor(m,v){Ti(this,f);Ti(this,a);Ti(this,o,null);Ti(this,s,null);Ti(this,u,{add:{[r.Year]:this.addYear.bind(this),[r.Month]:this.addMonth.bind(this),[r.Day]:this.addDay.bind(this),[r.Hour]:this.addHour.bind(this),[r.Minute]:this.addMinute.bind(this),[r.Second]:this.addSecond.bind(this)},subtract:{[r.Year]:this.subtractYear.bind(this),[r.Month]:this.subtractMonth.bind(this),[r.Day]:this.subtractDay.bind(this),[r.Hour]:this.subtractHour.bind(this),[r.Minute]:this.subtractMinute.bind(this),[r.Second]:this.subtractSecond.bind(this)}});const y={zone:v};if(m?m instanceof h?(Cr(this,a,gt(m,a)),Cr(this,o,gt(m,o)),Cr(this,s,gt(m,s))):m instanceof Date?Cr(this,a,t.DateTime.fromJSDate(m,y)):typeof m=="number"?Cr(this,a,t.DateTime.fromMillis(m,y)):(Cr(this,a,t.DateTime.fromISO(m,y)),gt(this,a).isValid||Cr(this,a,t.DateTime.fromRFC2822(m,y)),gt(this,a).isValid||Cr(this,a,t.DateTime.fromSQL(m,y)),gt(this,a).isValid||Cr(this,a,t.DateTime.fromFormat(m,"EEE, d MMM yyyy HH:mm:ss",y))):Cr(this,a,t.DateTime.local()),!gt(this,a).isValid)throw new Error(`CronDate: unhandled timestamp: ${m}`);v&&v!==gt(this,a).zoneName&&Cr(this,a,gt(this,a).setZone(v))}get dstStart(){return gt(this,o)}set dstStart(m){Cr(this,o,m)}get dstEnd(){return gt(this,s)}set dstEnd(m){Cr(this,s,m)}addYear(){Cr(this,a,gt(this,a).plus({years:1}))}addMonth(){Cr(this,a,gt(this,a).plus({months:1}).startOf("month"))}addDay(){Cr(this,a,gt(this,a).plus({days:1}).startOf("day"))}addHour(){Cr(this,a,gt(this,a).plus({hours:1}).startOf("hour"))}addMinute(){Cr(this,a,gt(this,a).plus({minutes:1}).startOf("minute"))}addSecond(){Cr(this,a,gt(this,a).plus({seconds:1}))}subtractYear(){Cr(this,a,gt(this,a).minus({years:1}))}subtractMonth(){Cr(this,a,gt(this,a).minus({months:1}).endOf("month").startOf("second"))}subtractDay(){Cr(this,a,gt(this,a).minus({days:1}).endOf("day").startOf("second"))}subtractHour(){Cr(this,a,gt(this,a).minus({hours:1}).endOf("hour").startOf("second"))}subtractMinute(){Cr(this,a,gt(this,a).minus({minutes:1}).endOf("minute").startOf("second"))}subtractSecond(){Cr(this,a,gt(this,a).minus({seconds:1}))}addUnit(m){gt(this,u).add[m]()}subtractUnit(m){gt(this,u).subtract[m]()}invokeDateOperation(m,v){if(m===n.Add){this.addUnit(v);return}if(m===n.Subtract){this.subtractUnit(v);return}throw new Error(`Invalid verb: ${m}`)}getDate(){return gt(this,a).day}getFullYear(){return gt(this,a).year}getDay(){const m=gt(this,a).weekday;return m===7?0:m}getMonth(){return gt(this,a).month-1}getHours(){return gt(this,a).hour}getMinutes(){return gt(this,a).minute}getSeconds(){return gt(this,a).second}getMilliseconds(){return gt(this,a).millisecond}getTime(){return gt(this,a).valueOf()}getUTCDate(){return Kr(this,f,Qm).call(this).day}getUTCFullYear(){return Kr(this,f,Qm).call(this).year}getUTCDay(){const m=Kr(this,f,Qm).call(this).weekday;return m===7?0:m}getUTCMonth(){return Kr(this,f,Qm).call(this).month-1}getUTCHours(){return Kr(this,f,Qm).call(this).hour}getUTCMinutes(){return Kr(this,f,Qm).call(this).minute}getUTCSeconds(){return Kr(this,f,Qm).call(this).second}toISOString(){return gt(this,a).toUTC().toISO()}toJSON(){return gt(this,a).toJSON()}setDate(m){Cr(this,a,gt(this,a).set({day:m}))}setFullYear(m){Cr(this,a,gt(this,a).set({year:m}))}setDay(m){Cr(this,a,gt(this,a).set({weekday:m}))}setMonth(m){Cr(this,a,gt(this,a).set({month:m+1}))}setHours(m){Cr(this,a,gt(this,a).set({hour:m}))}setMinutes(m){Cr(this,a,gt(this,a).set({minute:m}))}setSeconds(m){Cr(this,a,gt(this,a).set({second:m}))}setMilliseconds(m){Cr(this,a,gt(this,a).set({millisecond:m}))}toString(){return this.toDate().toString()}toDate(){return gt(this,a).toJSDate()}isLastDayOfMonth(){var y;const{day:m,month:v}=gt(this,a);if(v===2){const O=Kr(y=h,l,oM).call(y,gt(this,a).year);return m===e.DAYS_IN_MONTH[v-1]-(O?0:1)}return m===e.DAYS_IN_MONTH[v-1]}isLastWeekdayOfMonth(){var O;const{day:m,month:v}=gt(this,a);let y;return v===2?y=e.DAYS_IN_MONTH[v-1]-(Kr(O=h,l,oM).call(O,gt(this,a).year)?0:1):y=e.DAYS_IN_MONTH[v-1],m>y-7}applyDateOperation(m,v,y){if(v===r.Month||v===r.Day){this.invokeDateOperation(m,v);return}const O=this.getHours();this.invokeDateOperation(m,v);const x=this.getHours(),C=x-O;C===2?y!==24&&(this.dstStart=x):C===0&&this.getMinutes()===0&&this.getSeconds()===0&&y!==24&&(this.dstEnd=x)}};a=new WeakMap,o=new WeakMap,s=new WeakMap,u=new WeakMap,l=new WeakSet,oM=function(m){return m%4===0&&m%100!==0||m%400===0},f=new WeakSet,Qm=function(){return gt(this,a).toUTC()},Ti(h,l);let i=h;e.CronDate=i,e.default=i}(Z6)),Z6}var vG;function bGe(){if(vG)return Bx;vG=1,Object.defineProperty(Bx,"__esModule",{value:!0}),Bx.CronMonth=void 0;const e=AC(),t=qy(),r=1,n=12,i=Object.freeze([]);let a=class extends t.CronField{static get min(){return r}static get max(){return n}static get chars(){return i}static get daysInMonth(){return e.DAYS_IN_MONTH}constructor(s,u=!1){super(s,u),this.validate()}get values(){return super.values}};return Bx.CronMonth=a,Bx}var qx={},yG;function OGe(){if(yG)return qx;yG=1,Object.defineProperty(qx,"__esModule",{value:!0}),qx.CronSecond=void 0;const e=qy(),t=0,r=59,n=Object.freeze([]);let i=class extends e.CronField{static get min(){return t}static get max(){return r}static get chars(){return n}constructor(o,s=!1){super(o,s),this.validate()}get values(){return super.values}};return qx.CronSecond=i,qx}var bG;function Nz(){return bG||(bG=1,function(e){var t=Ev&&Ev.__createBinding||(Object.create?function(n,i,a,o){o===void 0&&(o=a);var s=Object.getOwnPropertyDescriptor(i,a);(!s||("get"in s?!i.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return i[a]}}),Object.defineProperty(n,o,s)}:function(n,i,a,o){o===void 0&&(o=a),n[o]=i[a]}),r=Ev&&Ev.__exportStar||function(n,i){for(var a in n)a!=="default"&&!Object.prototype.hasOwnProperty.call(i,a)&&t(i,n,a)};Object.defineProperty(e,"__esModule",{value:!0}),r(hGe(),e),r(pGe(),e),r(mGe(),e),r(qy(),e),r(gGe(),e),r(vGe(),e),r(bGe(),e),r(OGe(),e)}(Ev)),Ev}var OG;function Tbe(){var r,n,i,a,o,s,u,l,Rbe,kbe;if(OG)return Ix;OG=1,Object.defineProperty(Ix,"__esModule",{value:!0}),Ix.CronFieldCollection=void 0;const e=Nz();let t=(l=class{constructor({second:h,minute:g,hour:m,dayOfMonth:v,month:y,dayOfWeek:O}){Ti(this,r);Ti(this,n);Ti(this,i);Ti(this,a);Ti(this,o);Ti(this,s);if(!h)throw new Error("Validation error, Field second is missing");if(!g)throw new Error("Validation error, Field minute is missing");if(!m)throw new Error("Validation error, Field hour is missing");if(!v)throw new Error("Validation error, Field dayOfMonth is missing");if(!y)throw new Error("Validation error, Field month is missing");if(!O)throw new Error("Validation error, Field dayOfWeek is missing");if(y.values.length===1&&!v.hasLastChar&&!(parseInt(v.values[0],10)<=e.CronMonth.daysInMonth[y.values[0]-1]))throw new Error("Invalid explicit day of month definition");Cr(this,r,h),Cr(this,n,g),Cr(this,i,m),Cr(this,o,y),Cr(this,s,O),Cr(this,a,v)}static from(h,g){return new l({second:this.resolveField(e.CronSecond,h.second,g.second),minute:this.resolveField(e.CronMinute,h.minute,g.minute),hour:this.resolveField(e.CronHour,h.hour,g.hour),dayOfMonth:this.resolveField(e.CronDayOfMonth,h.dayOfMonth,g.dayOfMonth),month:this.resolveField(e.CronMonth,h.month,g.month),dayOfWeek:this.resolveField(e.CronDayOfWeek,h.dayOfWeek,g.dayOfWeek)})}static resolveField(h,g,m){return m?m instanceof e.CronField?m:new h(m):g}get second(){return gt(this,r)}get minute(){return gt(this,n)}get hour(){return gt(this,i)}get dayOfMonth(){return gt(this,a)}get month(){return gt(this,o)}get dayOfWeek(){return gt(this,s)}static compactField(h){if(h.length===0)return[];const g=[];let m;return h.forEach((v,y,O)=>{if(m===void 0){m={start:v,count:1};return}const x=O[y-1]||m.start,C=O[y+1];if(v==="L"||v==="W"){g.push(m),g.push({start:v,count:1}),m=void 0;return}if(m.step===void 0&&C!==void 0){const w=v-x,E=C-v;if(w<=E){m={...m,count:2,end:v,step:w};return}m.step=1}v-(m.end??0)===m.step?(m.count++,m.end=v):(m.count===1?g.push({start:m.start,count:1}):m.count===2?(g.push({start:m.start,count:1}),g.push({start:m.end??x,count:1})):g.push(m),m={start:v,count:1})}),m&&g.push(m),g}stringifyField(h){var y;let g=h.max,m=h.values;if(h instanceof e.CronDayOfWeek){g=6;const O=gt(this,s).values;m=O[O.length-1]===7?O.slice(0,-1):O}h instanceof e.CronDayOfMonth&&(g=gt(this,o).values.length===1?e.CronMonth.daysInMonth[gt(this,o).values[0]-1]:h.max);const v=l.compactField(m);if(v.length===1){const O=Kr(y=l,u,Rbe).call(y,v[0],h.min,g);if(O)return O}return v.map(O=>{var x;return O.count===1?O.start.toString():Kr(x=l,u,kbe).call(x,O,g)}).join(",")}stringify(h=!1){const g=[];return h&&g.push(this.stringifyField(gt(this,r))),g.push(this.stringifyField(gt(this,n)),this.stringifyField(gt(this,i)),this.stringifyField(gt(this,a)),this.stringifyField(gt(this,o)),this.stringifyField(gt(this,s))),g.join(" ")}serialize(){return{second:gt(this,r).serialize(),minute:gt(this,n).serialize(),hour:gt(this,i).serialize(),dayOfMonth:gt(this,a).serialize(),month:gt(this,o).serialize(),dayOfWeek:gt(this,s).serialize()}}},r=new WeakMap,n=new WeakMap,i=new WeakMap,a=new WeakMap,o=new WeakMap,s=new WeakMap,u=new WeakSet,Rbe=function(h,g,m){const v=h.step;return v?v===1&&h.start===g&&h.end&&h.end>=m?"*":v!==1&&h.start===g&&h.end&&h.end>=m-v+1?`*/${v}`:null:null},kbe=function(h,g){const m=h.step;if(m===1)return`${h.start}-${h.end}`;const v=h.start===0?h.count-1:h.count;if(!m)throw new Error("Unexpected range step");if(!h.end)throw new Error("Unexpected range end");if(m*v>h.end){const y=(x,C)=>{if(typeof h.start!="number")throw new Error("Unexpected range start");return C%m===0?h.start+C:null};if(typeof h.start!="number")throw new Error("Unexpected range start");const O={length:h.end-h.start+1};return Array.from(O,y).filter(x=>x!==null).join(",")}return h.end===g-m+1?`${h.start}/${m}`:`${h.start}-${h.end}/${m}`},Ti(l,u),l);return Ix.CronFieldCollection=t,Ix}var A1={},xG;function Ibe(){var n,i,a,o,s,u,l,c,f,Bm,Abe,g,sM,Fbe,H1;if(xG)return A1;xG=1,Object.defineProperty(A1,"__esModule",{value:!0}),A1.CronExpression=void 0;const e=AC(),t=1e4;let r=(f=class{constructor(x,C){Ti(this,g);Ti(this,n);Ti(this,i);Ti(this,a);Ti(this,o);Ti(this,s);Ti(this,u);Ti(this,l);Cr(this,n,C),Cr(this,i,C.tz),Cr(this,a,new e.CronDate(C.currentDate,gt(this,i))),Cr(this,o,C.startDate?new e.CronDate(C.startDate,gt(this,i)):null),Cr(this,s,C.endDate?new e.CronDate(C.endDate,gt(this,i)):null),Cr(this,u,C.nthDayOfWeek||0),Cr(this,l,x)}get fields(){return gt(this,l)}static fieldsToExpression(x,C){return new f(x,C||{})}next(){return Kr(this,g,H1).call(this)}prev(){return Kr(this,g,H1).call(this,!0)}hasNext(){const x=gt(this,a);try{return Kr(this,g,H1).call(this),!0}catch{return!1}finally{Cr(this,a,x)}}hasPrev(){const x=gt(this,a);try{return Kr(this,g,H1).call(this,!0),!0}catch{return!1}finally{Cr(this,a,x)}}take(x){const C=[];if(x>=0)for(let w=0;w<x;w++)try{C.push(this.next())}catch{return C}else for(let w=0;w>x;w--)try{C.push(this.prev())}catch{return C}return C}reset(x){Cr(this,a,new e.CronDate(x||gt(this,n).currentDate))}stringify(x=!1){return gt(this,l).stringify(x)}includesDate(x){const{second:C,minute:w,hour:E,month:T}=gt(this,l),P=new e.CronDate(x,gt(this,i));return!(!C.values.includes(P.getSeconds())||!w.values.includes(P.getMinutes())||!E.values.includes(P.getHours())||!T.values.includes(P.getMonth()+1)||!Kr(this,g,sM).call(this,P)||gt(this,u)>0&&Math.ceil(P.getDate()/7)!==gt(this,u))}toString(){return gt(this,n).expression||this.stringify(!0)}[Symbol.iterator](){return{next:()=>({value:Kr(this,g,H1).call(this),done:!this.hasNext()})}}},n=new WeakMap,i=new WeakMap,a=new WeakMap,o=new WeakMap,s=new WeakMap,u=new WeakMap,l=new WeakMap,c=new WeakSet,Bm=function(x,C){return C.some(w=>w===x)},Abe=function(x,C){const w=C.isLastWeekdayOfMonth();return x.some(E=>{const T=parseInt(E.toString().charAt(0),10)%7;if(Number.isNaN(T))throw new Error(`Invalid last weekday of the month expression: ${E}`);return C.getDay()===T&&w})},g=new WeakSet,sM=function(x){var N,B,j;const C=gt(this,l).dayOfMonth.isWildcard,w=!C,E=gt(this,l).dayOfWeek.isWildcard,T=!E,P=Kr(N=f,c,Bm).call(N,x.getDate(),gt(this,l).dayOfMonth.values)||gt(this,l).dayOfMonth.hasLastChar&&x.isLastDayOfMonth(),L=Kr(B=f,c,Bm).call(B,x.getDay(),gt(this,l).dayOfWeek.values)||gt(this,l).dayOfWeek.hasLastChar&&Kr(j=f,c,Abe).call(j,gt(this,l).dayOfWeek.values,x);return!!(w&&T&&(P||L)||P&&!T||C&&!E&&L)},Fbe=function(x,C,w){var N,B;const E=x.getHours(),T=Kr(N=f,c,Bm).call(N,E,gt(this,l).hour.values),P=x.dstStart===E,L=x.dstEnd===E;return!T&&!P?(x.dstStart=null,x.applyDateOperation(C,e.TimeUnit.Hour,gt(this,l).hour.values.length),!1):P&&!Kr(B=f,c,Bm).call(B,E-1,gt(this,l).hour.values)?(x.invokeDateOperation(C,e.TimeUnit.Hour),!1):L&&!w?(x.dstEnd=null,x.applyDateOperation(e.DateMathOp.Add,e.TimeUnit.Hour,gt(this,l).hour.values.length),!1):!0},H1=function(x=!1){var N,B,j;const C=x?e.DateMathOp.Subtract:e.DateMathOp.Add,w=new e.CronDate(gt(this,a)),E=gt(this,o),T=gt(this,s),P=w.getTime();let L=0;for(;L++<t;){if(L>t)throw new Error("Invalid expression, loop limit exceeded");if(x&&E&&E.getTime()>w.getTime())throw new Error("Out of the timespan range");if(!x&&T&&w.getTime()>T.getTime())throw new Error("Out of the timespan range");if(!Kr(this,g,sM).call(this,w)){w.applyDateOperation(C,e.TimeUnit.Day,gt(this,l).hour.values.length);continue}if(!(gt(this,u)<=0||Math.ceil(w.getDate()/7)===gt(this,u))){w.applyDateOperation(C,e.TimeUnit.Day,gt(this,l).hour.values.length);continue}if(!Kr(N=f,c,Bm).call(N,w.getMonth()+1,gt(this,l).month.values)){w.applyDateOperation(C,e.TimeUnit.Month,gt(this,l).hour.values.length);continue}if(Kr(this,g,Fbe).call(this,w,C,x)){if(!Kr(B=f,c,Bm).call(B,w.getMinutes(),gt(this,l).minute.values)){w.applyDateOperation(C,e.TimeUnit.Minute,gt(this,l).hour.values.length);continue}if(!Kr(j=f,c,Bm).call(j,w.getSeconds(),gt(this,l).second.values)){w.applyDateOperation(C,e.TimeUnit.Second,gt(this,l).hour.values.length);continue}if(P===w.getTime()){(C==="Add"||w.getMilliseconds()===0)&&w.applyDateOperation(C,e.TimeUnit.Second,gt(this,l).hour.values.length);continue}break}}return w.getMilliseconds()!==0&&w.setMilliseconds(0),Cr(this,a,w),w},Ti(f,c),f);return A1.CronExpression=r,A1.default=r,A1}var _G;function lM(){var l,Mbe,Av,Nbe,Lbe,zbe,Qbe,Bbe,uM,qbe,Ube;if(_G)return Zc;_G=1,Object.defineProperty(Zc,"__esModule",{value:!0}),Zc.CronExpressionParser=Zc.DayOfWeek=Zc.Months=Zc.CronUnit=Zc.PredefinedExpressions=void 0;const e=Tbe(),t=AC(),r=Ibe(),n=Nz();var i;(function(w){w["@yearly"]="0 0 0 1 1 *",w["@annually"]="0 0 0 1 1 *",w["@monthly"]="0 0 0 1 * *",w["@weekly"]="0 0 0 * * 0",w["@daily"]="0 0 0 * * *",w["@hourly"]="0 0 * * * *",w["@minutely"]="0 * * * * *",w["@secondly"]="* * * * * *",w["@weekdays"]="0 0 0 * * 1-5",w["@weekends"]="0 0 0 * * 0,6"})(i||(Zc.PredefinedExpressions=i={}));var a;(function(w){w.Second="Second",w.Minute="Minute",w.Hour="Hour",w.DayOfMonth="DayOfMonth",w.Month="Month",w.DayOfWeek="DayOfWeek"})(a||(Zc.CronUnit=a={}));var o;(function(w){w[w.jan=1]="jan",w[w.feb=2]="feb",w[w.mar=3]="mar",w[w.apr=4]="apr",w[w.may=5]="may",w[w.jun=6]="jun",w[w.jul=7]="jul",w[w.aug=8]="aug",w[w.sep=9]="sep",w[w.oct=10]="oct",w[w.nov=11]="nov",w[w.dec=12]="dec"})(o||(Zc.Months=o={}));var s;(function(w){w[w.sun=0]="sun",w[w.mon=1]="mon",w[w.tue=2]="tue",w[w.wed=3]="wed",w[w.thu=4]="thu",w[w.fri=5]="fri",w[w.sat=6]="sat"})(s||(Zc.DayOfWeek=s={}));const C=class C{static parse(E,T={}){var M,z,G,K,te,ae,ie,Se;const{strict:P=!1}=T,L=T.currentDate||new t.CronDate;E=i[E]||E;const N=Kr(M=C,l,Mbe).call(M,E,P);if(!(N.dayOfMonth==="*"||N.dayOfWeek==="*"||!P))throw new Error("Cannot use both dayOfMonth and dayOfWeek together in strict mode!");const B=Kr(z=C,l,Av).call(z,a.Second,N.second,n.CronSecond.constraints),j=Kr(G=C,l,Av).call(G,a.Minute,N.minute,n.CronMinute.constraints),A=Kr(K=C,l,Av).call(K,a.Hour,N.hour,n.CronHour.constraints),H=Kr(te=C,l,Av).call(te,a.Month,N.month,n.CronMonth.constraints),k=Kr(ae=C,l,Av).call(ae,a.DayOfMonth,N.dayOfMonth,n.CronDayOfMonth.constraints),{dayOfWeek:Q,nthDayOfWeek:V}=Kr(ie=C,l,qbe).call(ie,N.dayOfWeek),I=Kr(Se=C,l,Av).call(Se,a.DayOfWeek,Q,n.CronDayOfWeek.constraints),q=new e.CronFieldCollection({second:new n.CronSecond(B,["*","?"].includes(N.second)),minute:new n.CronMinute(j,["*","?"].includes(N.minute)),hour:new n.CronHour(A,["*","?"].includes(N.hour)),dayOfMonth:new n.CronDayOfMonth(k,["*","?"].includes(N.dayOfMonth)),month:new n.CronMonth(H,["*","?"].includes(N.month)),dayOfWeek:new n.CronDayOfWeek(I,["*","?"].includes(N.dayOfWeek))});return new r.CronExpression(q,{...T,expression:E,currentDate:L,nthDayOfWeek:V})}};l=new WeakSet,Mbe=function(E,T){if(T&&!E.length)throw new Error("Invalid cron expression");E=E||"0 * * * * *";const P=E.trim().split(/\s+/);if(T&&P.length<6)throw new Error("Invalid cron expression, expected 6 fields");if(P.length>6)throw new Error("Invalid cron expression, too many fields");const L=["*","*","*","*","*","0"];P.length<L.length&&P.unshift(...L.slice(P.length));const[N,B,j,A,H,k]=P;return{second:N,minute:B,hour:j,dayOfMonth:A,month:H,dayOfWeek:k}},Av=function(E,T,P){var L;if((E===a.Month||E===a.DayOfWeek)&&(T=T.replace(/[a-z]{3}/gi,N=>{N=N.toLowerCase();const B=o[N]||s[N];if(B===void 0)throw new Error(`Validation error, cannot resolve alias "${N}"`);return B.toString()})),!P.validChars.test(T))throw new Error(`Invalid characters, got value: ${T}`);return T=T.replace(/[*?]/g,P.min+"-"+P.max),Kr(L=C,l,Nbe).call(L,E,T,P)},Nbe=function(E,T,P){const L=[];function N(j,A){var H;if(Array.isArray(j))L.push(...j);else if(Kr(H=C,l,Ube).call(H,A,j))L.push(j);else{const k=parseInt(j.toString(),10);if(!(k>=A.min&&k<=A.max))throw new Error(`Constraint error, got value ${j} expected range ${A.min}-${A.max}`);L.push(E===a.DayOfWeek?k%7:j)}}return T.split(",").forEach(j=>{var A;if(!(j.length>0))throw new Error("Invalid list value format");N(Kr(A=C,l,Lbe).call(A,E,j,P),P)}),L},Lbe=function(E,T,P){var N,B;const L=T.split("/");if(L.length>2)throw new Error(`Invalid repeat: ${T}`);return L.length===2?(isNaN(parseInt(L[0],10))||(L[0]=`${L[0]}-${P.max}`),Kr(N=C,l,uM).call(N,E,L[0],parseInt(L[1],10),P)):Kr(B=C,l,uM).call(B,E,T,1,P)},zbe=function(E,T,P){if(!(!isNaN(E)&&!isNaN(T)&&E>=P.min&&T<=P.max))throw new Error(`Constraint error, got range ${E}-${T} expected range ${P.min}-${P.max}`);if(E>T)throw new Error(`Invalid range: ${E}-${T}, min(${E}) > max(${T})`)},Qbe=function(E){if(!(!isNaN(E)&&E>0))throw new Error(`Constraint error, cannot repeat at every ${E} time.`)},Bbe=function(E,T,P,L){const N=[];E===a.DayOfWeek&&P%7===0&&N.push(0);for(let B=T;B<=P;B+=L)N.indexOf(B)===-1&&N.push(B);return N},uM=function(E,T,P,L){const N=T.split("-");if(N.length<=1)return isNaN(+T)?T:+T;const[B,j]=N.map(A=>parseInt(A,10));return Kr(this,l,zbe).call(this,B,j,L),Kr(this,l,Qbe).call(this,P),Kr(this,l,Bbe).call(this,E,B,j,P)},qbe=function(E){const T=E.split("#");if(T.length<=1)return{dayOfWeek:T[0]};const P=+T[T.length-1],L=E.match(/([,-/])/);if(L!==null)throw new Error(`Constraint error, invalid dayOfWeek \`#\` and \`${L==null?void 0:L[0]}\` special characters are incompatible`);if(!(T.length<=2&&!isNaN(P)&&P>=1&&P<=5))throw new Error("Constraint error, invalid dayOfWeek occurrence number (#)");return{dayOfWeek:T[0],nthDayOfWeek:P}},Ube=function(E,T){return E.chars.some(P=>T.toString().includes(P))},Ti(C,l);let u=C;return Zc.CronExpressionParser=u,Zc}var Vd={};const xGe={},_Ge=Object.freeze(Object.defineProperty({__proto__:null,default:xGe},Symbol.toStringTag,{value:"Module"})),SG=BM(_Ge);var wG;function SGe(){var a,o,cM,Vbe;if(wG)return Vd;wG=1;var e=Vd&&Vd.__createBinding||(Object.create?function(l,c,f,d){d===void 0&&(d=f);var h=Object.getOwnPropertyDescriptor(c,f);(!h||("get"in h?!c.__esModule:h.writable||h.configurable))&&(h={enumerable:!0,get:function(){return c[f]}}),Object.defineProperty(l,d,h)}:function(l,c,f,d){d===void 0&&(d=f),l[d]=c[f]}),t=Vd&&Vd.__setModuleDefault||(Object.create?function(l,c){Object.defineProperty(l,"default",{enumerable:!0,value:c})}:function(l,c){l.default=c}),r=Vd&&Vd.__importStar||function(){var l=function(c){return l=Object.getOwnPropertyNames||function(f){var d=[];for(var h in f)Object.prototype.hasOwnProperty.call(f,h)&&(d[d.length]=h);return d},l(c)};return function(c){if(c&&c.__esModule)return c;var f={};if(c!=null)for(var d=l(c),h=0;h<d.length;h++)d[h]!=="default"&&e(f,c,d[h]);return t(f,c),f}}();Object.defineProperty(Vd,"__esModule",{value:!0}),Vd.CronFileParser=void 0;const n=lM();let i=(o=class{static async parseFile(c){var h;const{readFile:f}=await Promise.resolve().then(()=>r(SG)),d=await f(c,"utf8");return Kr(h=o,a,cM).call(h,d)}static parseFileSync(c){var h;const{readFileSync:f}=SG,d=f(c,"utf8");return Kr(h=o,a,cM).call(h,d)}},a=new WeakSet,cM=function(c){var h;const f=c.split(`
840
- `),d={variables:{},expressions:[],errors:{}};for(const g of f){const m=g.trim();if(m.length===0||m.startsWith("#"))continue;const v=m.match(/^(.*)=(.*)$/);if(v){const[,y,O]=v;d.variables[y]=O.replace(/["']/g,"");continue}try{const y=Kr(h=o,a,Vbe).call(h,m);d.expressions.push(y.interval)}catch(y){d.errors[m]=y}}return d},Vbe=function(c){const f=c.split(" ");return{interval:n.CronExpressionParser.parse(f.slice(0,5).join(" ")),command:f.slice(5,f.length)}},Ti(o,a),o);return Vd.CronFileParser=i,Vd}var EG;function wGe(){return EG||(EG=1,function(e){var t=wv&&wv.__createBinding||(Object.create?function(l,c,f,d){d===void 0&&(d=f);var h=Object.getOwnPropertyDescriptor(c,f);(!h||("get"in h?!c.__esModule:h.writable||h.configurable))&&(h={enumerable:!0,get:function(){return c[f]}}),Object.defineProperty(l,d,h)}:function(l,c,f,d){d===void 0&&(d=f),l[d]=c[f]}),r=wv&&wv.__exportStar||function(l,c){for(var f in l)f!=="default"&&!Object.prototype.hasOwnProperty.call(c,f)&&t(c,l,f)};Object.defineProperty(e,"__esModule",{value:!0}),e.CronFileParser=e.CronExpressionParser=e.CronExpression=e.CronFieldCollection=e.CronDate=void 0;const n=lM();var i=AC();Object.defineProperty(e,"CronDate",{enumerable:!0,get:function(){return i.CronDate}});var a=Tbe();Object.defineProperty(e,"CronFieldCollection",{enumerable:!0,get:function(){return a.CronFieldCollection}});var o=Ibe();Object.defineProperty(e,"CronExpression",{enumerable:!0,get:function(){return o.CronExpression}});var s=lM();Object.defineProperty(e,"CronExpressionParser",{enumerable:!0,get:function(){return s.CronExpressionParser}});var u=SGe();Object.defineProperty(e,"CronFileParser",{enumerable:!0,get:function(){return u.CronFileParser}}),r(Nz(),e),e.default=n.CronExpressionParser}(wv)),wv}var EGe=wGe();const v0t=an(EGe);var K6={exports:{}},$G;function $Ge(){return $G||($G=1,function(e,t){(function(n,i){e.exports=i()})(globalThis,()=>(()=>{var r={949:(o,s,u)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.CronParser=void 0;var l=u(515),c=function(){function f(d,h,g){h===void 0&&(h=!0),g===void 0&&(g=!1),this.expression=d,this.dayOfWeekStartIndexZero=h,this.monthStartIndexZero=g}return f.prototype.parse=function(){var d,h,g=(d=this.expression)!==null&&d!==void 0?d:"";if(g.startsWith("@")){var m=this.parseSpecial(this.expression);h=this.extractParts(m)}else h=this.extractParts(this.expression);return this.normalize(h),this.validate(h),h},f.prototype.parseSpecial=function(d){var h={"@yearly":"0 0 1 1 *","@annually":"0 0 1 1 *","@monthly":"0 0 1 * *","@weekly":"0 0 * * 0","@daily":"0 0 * * *","@midnight":"0 0 * * *","@hourly":"0 * * * *"},g=h[d];if(!g)throw new Error("Unknown special expression.");return g},f.prototype.extractParts=function(d){if(!this.expression)throw new Error("cron expression is empty");for(var h=d.trim().split(/[ ]+/),g=0;g<h.length;g++)if(h[g].includes(",")){var m=h[g].split(",").map(function(y){return y.trim()}).filter(function(y){return y!==""}).map(function(y){return isNaN(Number(y))?y:Number(y)}).filter(function(y){return y!==null&&y!==""});m.length===0&&m.push("*"),m.sort(function(y,O){return y!==null&&O!==null?y-O:0}),h[g]=m.map(function(y){return y!==null?y.toString():""}).join(",")}if(h.length<5)throw new Error("Expression has only ".concat(h.length," part").concat(h.length==1?"":"s",". At least 5 parts are required."));if(h.length==5)h.unshift(""),h.push("");else if(h.length==6){var v=/\d{4}$/.test(h[5])||h[4]=="?"||h[2]=="?";v?h.unshift(""):h.push("")}else if(h.length>7)throw new Error("Expression has ".concat(h.length," parts; too many!"));return h},f.prototype.normalize=function(d){var h=this;if(d[3]=d[3].replace("?","*"),d[5]=d[5].replace("?","*"),d[2]=d[2].replace("?","*"),d[0].indexOf("0/")==0&&(d[0]=d[0].replace("0/","*/")),d[1].indexOf("0/")==0&&(d[1]=d[1].replace("0/","*/")),d[2].indexOf("0/")==0&&(d[2]=d[2].replace("0/","*/")),d[3].indexOf("1/")==0&&(d[3]=d[3].replace("1/","*/")),d[4].indexOf("1/")==0&&(d[4]=d[4].replace("1/","*/")),d[6].indexOf("1/")==0&&(d[6]=d[6].replace("1/","*/")),d[5]=d[5].replace(/(^\d)|([^#/\s]\d)/g,function(w){var E=w.replace(/\D/,""),T=E;return h.dayOfWeekStartIndexZero?E=="7"&&(T="0"):T=(parseInt(E)-1).toString(),w.replace(E,T)}),d[5]=="L"&&(d[5]="6"),d[3]=="?"&&(d[3]="*"),d[3].indexOf("W")>-1&&(d[3].indexOf(",")>-1||d[3].indexOf("-")>-1))throw new Error("The 'W' character can be specified only when the day-of-month is a single day, not a range or list of days.");var g={SUN:0,MON:1,TUE:2,WED:3,THU:4,FRI:5,SAT:6};for(var m in g)d[5]=d[5].replace(new RegExp(m,"gi"),g[m].toString());d[4]=d[4].replace(/(^\d{1,2})|([^#/\s]\d{1,2})/g,function(w){var E=w.replace(/\D/,""),T=E;return h.monthStartIndexZero&&(T=(parseInt(E)+1).toString()),w.replace(E,T)});var v={JAN:1,FEB:2,MAR:3,APR:4,MAY:5,JUN:6,JUL:7,AUG:8,SEP:9,OCT:10,NOV:11,DEC:12};for(var y in v)d[4]=d[4].replace(new RegExp(y,"gi"),v[y].toString());d[0]=="0"&&(d[0]=""),!/\*|\-|\,|\//.test(d[2])&&(/\*|\//.test(d[1])||/\*|\//.test(d[0]))&&(d[2]+="-".concat(d[2]));for(var O=0;O<d.length;O++)if(d[O].indexOf(",")!=-1&&(d[O]=d[O].split(",").filter(function(w){return w!==""}).join(",")||"*"),d[O]=="*/1"&&(d[O]="*"),d[O].indexOf("/")>-1&&!/^\*|\-|\,/.test(d[O])){var x=null;switch(O){case 4:x="12";break;case 5:x="6";break;case 6:x="9999";break;default:x=null;break}if(x!==null){var C=d[O].split("/");d[O]="".concat(C[0],"-").concat(x,"/").concat(C[1])}}},f.prototype.validate=function(d){var h="0-9,\\-*/";this.validateOnlyExpectedCharactersFound(d[0],h),this.validateOnlyExpectedCharactersFound(d[1],h),this.validateOnlyExpectedCharactersFound(d[2],h),this.validateOnlyExpectedCharactersFound(d[3],"0-9,\\-*/LW"),this.validateOnlyExpectedCharactersFound(d[4],h),this.validateOnlyExpectedCharactersFound(d[5],"0-9,\\-*/L#"),this.validateOnlyExpectedCharactersFound(d[6],h),this.validateAnyRanges(d)},f.prototype.validateAnyRanges=function(d){l.default.secondRange(d[0]),l.default.minuteRange(d[1]),l.default.hourRange(d[2]),l.default.dayOfMonthRange(d[3]),l.default.monthRange(d[4],this.monthStartIndexZero),l.default.dayOfWeekRange(d[5],this.dayOfWeekStartIndexZero)},f.prototype.validateOnlyExpectedCharactersFound=function(d,h){var g=d.match(new RegExp("[^".concat(h,"]+"),"gi"));if(g&&g.length)throw new Error("Expression contains invalid values: '".concat(g.toString(),"'"))},f}();s.CronParser=c},333:(o,s,u)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.ExpressionDescriptor=void 0;var l=u(823),c=u(949),f=function(){function d(h,g){if(this.expression=h,this.options=g,this.expressionParts=new Array(5),!this.options.locale&&d.defaultLocale&&(this.options.locale=d.defaultLocale),!d.locales[this.options.locale]){var m=Object.keys(d.locales)[0];console.warn("Locale '".concat(this.options.locale,"' could not be found; falling back to '").concat(m,"'.")),this.options.locale=m}this.i18n=d.locales[this.options.locale],g.use24HourTimeFormat===void 0&&(g.use24HourTimeFormat=this.i18n.use24HourTimeFormatByDefault())}return d.toString=function(h,g){var m=g===void 0?{}:g,v=m.throwExceptionOnParseError,y=v===void 0?!0:v,O=m.verbose,x=O===void 0?!1:O,C=m.dayOfWeekStartIndexZero,w=C===void 0?!0:C,E=m.monthStartIndexZero,T=E===void 0?!1:E,P=m.use24HourTimeFormat,L=m.locale,N=L===void 0?null:L,B=m.tzOffset,j=B===void 0?0:B,A={throwExceptionOnParseError:y,verbose:x,dayOfWeekStartIndexZero:w,monthStartIndexZero:T,use24HourTimeFormat:P,locale:N,tzOffset:j};A.tzOffset&&console.warn("'tzOffset' option has been deprecated and will be removed in a future release.");var H=new d(h,A);return H.getFullDescription()},d.initialize=function(h,g){g===void 0&&(g="en"),d.specialCharacters=["/","-",",","*"],d.defaultLocale=g,h.load(d.locales)},d.prototype.getFullDescription=function(){var h="";try{var g=new c.CronParser(this.expression,this.options.dayOfWeekStartIndexZero,this.options.monthStartIndexZero);this.expressionParts=g.parse();var m=this.getTimeOfDayDescription(),v=this.getDayOfMonthDescription(),y=this.getMonthDescription(),O=this.getDayOfWeekDescription(),x=this.getYearDescription();h+=m+v+O+y+x,h=this.transformVerbosity(h,!!this.options.verbose),h=h.charAt(0).toLocaleUpperCase()+h.substr(1)}catch(C){if(!this.options.throwExceptionOnParseError)h=this.i18n.anErrorOccuredWhenGeneratingTheExpressionD();else throw"".concat(C)}return h},d.prototype.getTimeOfDayDescription=function(){var h=this.expressionParts[0],g=this.expressionParts[1],m=this.expressionParts[2],v="";if(!l.StringUtilities.containsAny(g,d.specialCharacters)&&!l.StringUtilities.containsAny(m,d.specialCharacters)&&!l.StringUtilities.containsAny(h,d.specialCharacters))v+=this.i18n.atSpace()+this.formatTime(m,g,h);else if(!h&&g.indexOf("-")>-1&&!(g.indexOf(",")>-1)&&!(g.indexOf("/")>-1)&&!l.StringUtilities.containsAny(m,d.specialCharacters)){var y=g.split("-");v+=l.StringUtilities.format(this.i18n.everyMinuteBetweenX0AndX1(),this.formatTime(m,y[0],""),this.formatTime(m,y[1],""))}else if(!h&&m.indexOf(",")>-1&&m.indexOf("-")==-1&&m.indexOf("/")==-1&&!l.StringUtilities.containsAny(g,d.specialCharacters)){var O=m.split(",");v+=this.i18n.at();for(var x=0;x<O.length;x++)v+=" ",v+=this.formatTime(O[x],g,""),x<O.length-2&&(v+=","),x==O.length-2&&(v+=this.i18n.spaceAnd())}else{var C=this.getSecondsDescription(),w=this.getMinutesDescription(),E=this.getHoursDescription();if(v+=C,v&&w&&(v+=", "),v+=w,w===E)return v;v&&E&&(v+=", "),v+=E}return v},d.prototype.getSecondsDescription=function(){var h=this,g=this.getSegmentDescription(this.expressionParts[0],this.i18n.everySecond(),function(m){return m},function(m){return l.StringUtilities.format(h.i18n.everyX0Seconds(m),m)},function(m){return h.i18n.secondsX0ThroughX1PastTheMinute()},function(m){return m=="0"?"":parseInt(m)<20?h.i18n.atX0SecondsPastTheMinute(m):h.i18n.atX0SecondsPastTheMinuteGt20()||h.i18n.atX0SecondsPastTheMinute(m)});return g},d.prototype.getMinutesDescription=function(){var h=this,g=this.expressionParts[0],m=this.expressionParts[2],v=this.getSegmentDescription(this.expressionParts[1],this.i18n.everyMinute(),function(y){return y},function(y){return l.StringUtilities.format(h.i18n.everyX0Minutes(y),y)},function(y){return h.i18n.minutesX0ThroughX1PastTheHour()},function(y){try{return y=="0"&&m.indexOf("/")==-1&&g==""?h.i18n.everyHour():parseInt(y)<20?h.i18n.atX0MinutesPastTheHour(y):h.i18n.atX0MinutesPastTheHourGt20()||h.i18n.atX0MinutesPastTheHour(y)}catch{return h.i18n.atX0MinutesPastTheHour(y)}});return v},d.prototype.getHoursDescription=function(){var h=this,g=this.expressionParts[2],m=0,v=[];g.split("/")[0].split(",").forEach(function(x){var C=x.split("-");C.length===2&&v.push({value:C[1],index:m+1}),m+=C.length});var y=0,O=this.getSegmentDescription(g,this.i18n.everyHour(),function(x){var C=v.find(function(E){return E.value===x&&E.index===y}),w=C&&h.expressionParts[1]!=="0";return y++,w?h.formatTime(x,"59",""):h.formatTime(x,"0","")},function(x){return l.StringUtilities.format(h.i18n.everyX0Hours(x),x)},function(x){return h.i18n.betweenX0AndX1()},function(x){return h.i18n.atX0()});return O},d.prototype.getDayOfWeekDescription=function(){var h=this,g=this.i18n.daysOfTheWeek(),m=null;return this.expressionParts[5]=="*"?m="":m=this.getSegmentDescription(this.expressionParts[5],this.i18n.commaEveryDay(),function(v,y){var O=v;v.indexOf("#")>-1?O=v.substring(0,v.indexOf("#")):v.indexOf("L")>-1&&(O=O.replace("L",""));var x=parseInt(O);if(h.options.tzOffset){var C=h.expressionParts[2],w=parseInt(C)+(h.options.tzOffset?h.options.tzOffset:0);w>=24?x++:w<0&&x--,x>6?x=0:x<0&&(x=6)}var E=h.i18n.daysOfTheWeekInCase?h.i18n.daysOfTheWeekInCase(y)[x]:g[x];if(v.indexOf("#")>-1){var T=null,P=v.substring(v.indexOf("#")+1),L=v.substring(0,v.indexOf("#"));switch(P){case"1":T=h.i18n.first(L);break;case"2":T=h.i18n.second(L);break;case"3":T=h.i18n.third(L);break;case"4":T=h.i18n.fourth(L);break;case"5":T=h.i18n.fifth(L);break}E=T+" "+E}return E},function(v){return parseInt(v)==1?"":l.StringUtilities.format(h.i18n.commaEveryX0DaysOfTheWeek(v),v)},function(v){var y=v.substring(0,v.indexOf("-")),O=h.expressionParts[3]!="*";return O?h.i18n.commaAndX0ThroughX1(y):h.i18n.commaX0ThroughX1(y)},function(v){var y=null;if(v.indexOf("#")>-1){var O=v.substring(v.indexOf("#")+1),x=v.substring(0,v.indexOf("#"));y=h.i18n.commaOnThe(O,x).trim()+h.i18n.spaceX0OfTheMonth()}else if(v.indexOf("L")>-1)y=h.i18n.commaOnTheLastX0OfTheMonth(v.replace("L",""));else{var C=h.expressionParts[3]!="*";y=C?h.i18n.commaAndOnX0():h.i18n.commaOnlyOnX0(v)}return y}),m},d.prototype.getMonthDescription=function(){var h=this,g=this.i18n.monthsOfTheYear(),m=this.getSegmentDescription(this.expressionParts[4],"",function(v,y){return y&&h.i18n.monthsOfTheYearInCase?h.i18n.monthsOfTheYearInCase(y)[parseInt(v)-1]:g[parseInt(v)-1]},function(v){return parseInt(v)==1?"":l.StringUtilities.format(h.i18n.commaEveryX0Months(v),v)},function(v){return h.i18n.commaMonthX0ThroughMonthX1()||h.i18n.commaX0ThroughX1()},function(v){return h.i18n.commaOnlyInMonthX0?h.i18n.commaOnlyInMonthX0():h.i18n.commaOnlyInX0()});return m},d.prototype.getDayOfMonthDescription=function(){var h=this,g=null,m=this.expressionParts[3];switch(m){case"L":g=this.i18n.commaOnTheLastDayOfTheMonth();break;case"WL":case"LW":g=this.i18n.commaOnTheLastWeekdayOfTheMonth();break;default:var v=m.match(/(\d{1,2}W)|(W\d{1,2})/);if(v){var y=parseInt(v[0].replace("W","")),O=y==1?this.i18n.firstWeekday():l.StringUtilities.format(this.i18n.weekdayNearestDayX0(),y.toString());g=l.StringUtilities.format(this.i18n.commaOnTheX0OfTheMonth(),O);break}else{var x=m.match(/L-(\d{1,2})/);if(x){var C=x[1];g=l.StringUtilities.format(this.i18n.commaDaysBeforeTheLastDayOfTheMonth(C),C);break}else{if(m=="*"&&this.expressionParts[5]!="*")return"";g=this.getSegmentDescription(m,this.i18n.commaEveryDay(),function(w){return w=="L"?h.i18n.lastDay():h.i18n.dayX0?l.StringUtilities.format(h.i18n.dayX0(),w):w},function(w){return w=="1"?h.i18n.commaEveryDay():h.i18n.commaEveryX0Days(w)},function(w){return h.i18n.commaBetweenDayX0AndX1OfTheMonth(w)},function(w){return h.i18n.commaOnDayX0OfTheMonth(w)})}break}}return g},d.prototype.getYearDescription=function(){var h=this,g=this.getSegmentDescription(this.expressionParts[6],"",function(m){return/^\d+$/.test(m)?new Date(parseInt(m),1).getFullYear().toString():m},function(m){return l.StringUtilities.format(h.i18n.commaEveryX0Years(m),m)},function(m){return h.i18n.commaYearX0ThroughYearX1()||h.i18n.commaX0ThroughX1()},function(m){return h.i18n.commaOnlyInYearX0?h.i18n.commaOnlyInYearX0():h.i18n.commaOnlyInX0()});return g},d.prototype.getSegmentDescription=function(h,g,m,v,y,O){var x=null,C=h.indexOf("/")>-1,w=h.indexOf("-")>-1,E=h.indexOf(",")>-1;if(!h)x="";else if(h==="*")x=g;else if(!C&&!w&&!E)x=l.StringUtilities.format(O(h),m(h));else if(E){for(var T=h.split(","),P="",L=0;L<T.length;L++)if(L>0&&T.length>2&&(P+=",",L<T.length-1&&(P+=" ")),L>0&&T.length>1&&(L==T.length-1||T.length==2)&&(P+="".concat(this.i18n.spaceAnd()," ")),T[L].indexOf("/")>-1||T[L].indexOf("-")>-1){var N=T[L].indexOf("-")>-1&&T[L].indexOf("/")==-1,B=this.getSegmentDescription(T[L],g,m,v,N?this.i18n.commaX0ThroughX1:y,O);N&&(B=B.replace(", ","")),P+=B}else C?P+=this.getSegmentDescription(T[L],g,m,v,y,O):P+=m(T[L]);C?x=P:x=l.StringUtilities.format(O(h),P)}else if(C){var T=h.split("/");if(x=l.StringUtilities.format(v(T[1]),T[1]),T[0].indexOf("-")>-1){var j=this.generateRangeSegmentDescription(T[0],y,m);j.indexOf(", ")!=0&&(x+=", "),x+=j}else if(T[0].indexOf("*")==-1){var A=l.StringUtilities.format(O(T[0]),m(T[0]));A=A.replace(", ",""),x+=l.StringUtilities.format(this.i18n.commaStartingX0(),A)}}else w&&(x=this.generateRangeSegmentDescription(h,y,m));return x},d.prototype.generateRangeSegmentDescription=function(h,g,m){var v="",y=h.split("-"),O=m(y[0],1),x=m(y[1],2),C=g(h);return v+=l.StringUtilities.format(C,O,x),v},d.prototype.formatTime=function(h,g,m){var v=0,y=0;this.options.tzOffset&&(v=this.options.tzOffset>0?Math.floor(this.options.tzOffset):Math.ceil(this.options.tzOffset),y=parseFloat((this.options.tzOffset%1).toFixed(2)),y!=0&&(y*=60));var O=parseInt(h)+v,x=parseInt(g)+y;x>=60?(x-=60,O+=1):x<0&&(x+=60,O-=1),O>=24?O=O-24:O<0&&(O=24+O);var C="",w=!1;this.options.use24HourTimeFormat||(w=!!(this.i18n.setPeriodBeforeTime&&this.i18n.setPeriodBeforeTime()),C=w?"".concat(this.getPeriod(O)," "):" ".concat(this.getPeriod(O)),O>12&&(O-=12),O===0&&(O=12));var E="";return m&&(E=":".concat(("00"+m).substring(m.length))),"".concat(w?C:"").concat(("00"+O.toString()).substring(O.toString().length),":").concat(("00"+x.toString()).substring(x.toString().length)).concat(E).concat(w?"":C)},d.prototype.transformVerbosity=function(h,g){if(!g&&(h=h.replace(new RegExp(", ".concat(this.i18n.everyMinute()),"g"),""),h=h.replace(new RegExp(", ".concat(this.i18n.everyHour()),"g"),""),h=h.replace(new RegExp(this.i18n.commaEveryDay(),"g"),""),h=h.replace(/\, ?$/,""),this.i18n.conciseVerbosityReplacements))for(var m=0,v=Object.entries(this.i18n.conciseVerbosityReplacements());m<v.length;m++){var y=v[m],O=y[0],x=y[1];h=h.replace(new RegExp(O,"g"),x)}return h},d.prototype.getPeriod=function(h){return h>=12?this.i18n.pm&&this.i18n.pm()||"PM":this.i18n.am&&this.i18n.am()||"AM"},d.locales={},d}();s.ExpressionDescriptor=f},747:(o,s,u)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.enLocaleLoader=void 0;var l=u(486),c=function(){function f(){}return f.prototype.load=function(d){d.en=new l.en},f}();s.enLocaleLoader=c},486:(o,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.en=void 0;var u=function(){function l(){}return l.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},l.prototype.atX0MinutesPastTheHourGt20=function(){return null},l.prototype.commaMonthX0ThroughMonthX1=function(){return null},l.prototype.commaYearX0ThroughYearX1=function(){return null},l.prototype.use24HourTimeFormatByDefault=function(){return!1},l.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"An error occurred when generating the expression description. Check the cron expression syntax."},l.prototype.everyMinute=function(){return"every minute"},l.prototype.everyHour=function(){return"every hour"},l.prototype.atSpace=function(){return"At "},l.prototype.everyMinuteBetweenX0AndX1=function(){return"Every minute between %s and %s"},l.prototype.at=function(){return"At"},l.prototype.spaceAnd=function(){return" and"},l.prototype.everySecond=function(){return"every second"},l.prototype.everyX0Seconds=function(){return"every %s seconds"},l.prototype.secondsX0ThroughX1PastTheMinute=function(){return"seconds %s through %s past the minute"},l.prototype.atX0SecondsPastTheMinute=function(){return"at %s seconds past the minute"},l.prototype.everyX0Minutes=function(){return"every %s minutes"},l.prototype.minutesX0ThroughX1PastTheHour=function(){return"minutes %s through %s past the hour"},l.prototype.atX0MinutesPastTheHour=function(){return"at %s minutes past the hour"},l.prototype.everyX0Hours=function(){return"every %s hours"},l.prototype.betweenX0AndX1=function(){return"between %s and %s"},l.prototype.atX0=function(){return"at %s"},l.prototype.commaEveryDay=function(){return", every day"},l.prototype.commaEveryX0DaysOfTheWeek=function(){return", every %s days of the week"},l.prototype.commaX0ThroughX1=function(){return", %s through %s"},l.prototype.commaAndX0ThroughX1=function(){return", %s through %s"},l.prototype.first=function(){return"first"},l.prototype.second=function(){return"second"},l.prototype.third=function(){return"third"},l.prototype.fourth=function(){return"fourth"},l.prototype.fifth=function(){return"fifth"},l.prototype.commaOnThe=function(){return", on the "},l.prototype.spaceX0OfTheMonth=function(){return" %s of the month"},l.prototype.lastDay=function(){return"the last day"},l.prototype.commaOnTheLastX0OfTheMonth=function(){return", on the last %s of the month"},l.prototype.commaOnlyOnX0=function(){return", only on %s"},l.prototype.commaAndOnX0=function(){return", and on %s"},l.prototype.commaEveryX0Months=function(){return", every %s months"},l.prototype.commaOnlyInX0=function(){return", only in %s"},l.prototype.commaOnTheLastDayOfTheMonth=function(){return", on the last day of the month"},l.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", on the last weekday of the month"},l.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", %s days before the last day of the month"},l.prototype.firstWeekday=function(){return"first weekday"},l.prototype.weekdayNearestDayX0=function(){return"weekday nearest day %s"},l.prototype.commaOnTheX0OfTheMonth=function(){return", on the %s of the month"},l.prototype.commaEveryX0Days=function(){return", every %s days"},l.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", between day %s and %s of the month"},l.prototype.commaOnDayX0OfTheMonth=function(){return", on day %s of the month"},l.prototype.commaEveryHour=function(){return", every hour"},l.prototype.commaEveryX0Years=function(){return", every %s years"},l.prototype.commaStartingX0=function(){return", starting %s"},l.prototype.daysOfTheWeek=function(){return["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},l.prototype.monthsOfTheYear=function(){return["January","February","March","April","May","June","July","August","September","October","November","December"]},l}();s.en=u},515:(o,s)=>{Object.defineProperty(s,"__esModule",{value:!0});function u(c,f){if(!c)throw new Error(f)}var l=function(){function c(){}return c.secondRange=function(f){for(var d=f.split(","),h=0;h<d.length;h++)if(!isNaN(parseInt(d[h],10))){var g=parseInt(d[h],10);u(g>=0&&g<=59,"seconds part must be >= 0 and <= 59")}},c.minuteRange=function(f){for(var d=f.split(","),h=0;h<d.length;h++)if(!isNaN(parseInt(d[h],10))){var g=parseInt(d[h],10);u(g>=0&&g<=59,"minutes part must be >= 0 and <= 59")}},c.hourRange=function(f){for(var d=f.split(","),h=0;h<d.length;h++)if(!isNaN(parseInt(d[h],10))){var g=parseInt(d[h],10);u(g>=0&&g<=23,"hours part must be >= 0 and <= 23")}},c.dayOfMonthRange=function(f){for(var d=f.split(","),h=0;h<d.length;h++)if(!isNaN(parseInt(d[h],10))){var g=parseInt(d[h],10);u(g>=1&&g<=31,"DOM part must be >= 1 and <= 31")}},c.monthRange=function(f,d){for(var h=f.split(","),g=0;g<h.length;g++)if(!isNaN(parseInt(h[g],10))){var m=parseInt(h[g],10);u(m>=1&&m<=12,d?"month part must be >= 0 and <= 11":"month part must be >= 1 and <= 12")}},c.dayOfWeekRange=function(f,d){for(var h=f.split(","),g=0;g<h.length;g++)if(!isNaN(parseInt(h[g],10))){var m=parseInt(h[g],10);u(m>=0&&m<=6,d?"DOW part must be >= 0 and <= 6":"DOW part must be >= 1 and <= 7")}},c}();s.default=l},823:(o,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.StringUtilities=void 0;var u=function(){function l(){}return l.format=function(c){for(var f=[],d=1;d<arguments.length;d++)f[d-1]=arguments[d];return c.replace(/%s/g,function(h){return f.shift()})},l.containsAny=function(c,f){return f.some(function(d){return c.indexOf(d)>-1})},l}();s.StringUtilities=u}},n={};function i(o){var s=n[o];if(s!==void 0)return s.exports;var u=n[o]={exports:{}};return r[o](u,u.exports,i),u.exports}var a={};return(()=>{var o=a;Object.defineProperty(o,"__esModule",{value:!0}),o.toString=void 0;var s=i(333),u=i(747);s.ExpressionDescriptor.initialize(new u.enLocaleLoader),o.default=s.ExpressionDescriptor;var l=s.ExpressionDescriptor.toString;o.toString=l})(),a})())}(K6)),K6.exports}var CGe=$Ge();const y0t=an(CGe);var H6,CG;function bc(){if(CG)return H6;CG=1;var e=Array.isArray;return H6=e,H6}var Y6,PG;function jbe(){if(PG)return Y6;PG=1;var e=typeof qf=="object"&&qf&&qf.Object===Object&&qf;return Y6=e,Y6}var G6,DG;function $p(){if(DG)return G6;DG=1;var e=jbe(),t=typeof self=="object"&&self&&self.Object===Object&&self,r=e||t||Function("return this")();return G6=r,G6}var X6,RG;function Pw(){if(RG)return X6;RG=1;var e=$p(),t=e.Symbol;return X6=t,X6}var J6,kG;function PGe(){if(kG)return J6;kG=1;var e=Pw(),t=Object.prototype,r=t.hasOwnProperty,n=t.toString,i=e?e.toStringTag:void 0;function a(o){var s=r.call(o,i),u=o[i];try{o[i]=void 0;var l=!0}catch{}var c=n.call(o);return l&&(s?o[i]=u:delete o[i]),c}return J6=a,J6}var eA,TG;function DGe(){if(TG)return eA;TG=1;var e=Object.prototype,t=e.toString;function r(n){return t.call(n)}return eA=r,eA}var tA,AG;function tm(){if(AG)return tA;AG=1;var e=Pw(),t=PGe(),r=DGe(),n="[object Null]",i="[object Undefined]",a=e?e.toStringTag:void 0;function o(s){return s==null?s===void 0?i:n:a&&a in Object(s)?t(s):r(s)}return tA=o,tA}var rA,FG;function rm(){if(FG)return rA;FG=1;function e(t){return t!=null&&typeof t=="object"}return rA=e,rA}var nA,IG;function PO(){if(IG)return nA;IG=1;var e=tm(),t=rm(),r="[object Symbol]";function n(i){return typeof i=="symbol"||t(i)&&e(i)==r}return nA=n,nA}var iA,MG;function Lz(){if(MG)return iA;MG=1;var e=bc(),t=PO(),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;function i(a,o){if(e(a))return!1;var s=typeof a;return s=="number"||s=="symbol"||s=="boolean"||a==null||t(a)?!0:n.test(a)||!r.test(a)||o!=null&&a in Object(o)}return iA=i,iA}var aA,NG;function qg(){if(NG)return aA;NG=1;function e(t){var r=typeof t;return t!=null&&(r=="object"||r=="function")}return aA=e,aA}var oA,LG;function zz(){if(LG)return oA;LG=1;var e=tm(),t=qg(),r="[object AsyncFunction]",n="[object Function]",i="[object GeneratorFunction]",a="[object Proxy]";function o(s){if(!t(s))return!1;var u=e(s);return u==n||u==i||u==r||u==a}return oA=o,oA}var sA,zG;function RGe(){if(zG)return sA;zG=1;var e=$p(),t=e["__core-js_shared__"];return sA=t,sA}var uA,QG;function kGe(){if(QG)return uA;QG=1;var e=RGe(),t=function(){var n=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}();function r(n){return!!t&&t in n}return uA=r,uA}var lA,BG;function Wbe(){if(BG)return lA;BG=1;var e=Function.prototype,t=e.toString;function r(n){if(n!=null){try{return t.call(n)}catch{}try{return n+""}catch{}}return""}return lA=r,lA}var cA,qG;function TGe(){if(qG)return cA;qG=1;var e=zz(),t=kGe(),r=qg(),n=Wbe(),i=/[\\^$.*+?()[\]{}|]/g,a=/^\[object .+?Constructor\]$/,o=Function.prototype,s=Object.prototype,u=o.toString,l=s.hasOwnProperty,c=RegExp("^"+u.call(l).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function f(d){if(!r(d)||t(d))return!1;var h=e(d)?c:a;return h.test(n(d))}return cA=f,cA}var fA,UG;function AGe(){if(UG)return fA;UG=1;function e(t,r){return t==null?void 0:t[r]}return fA=e,fA}var dA,VG;function Uy(){if(VG)return dA;VG=1;var e=TGe(),t=AGe();function r(n,i){var a=t(n,i);return e(a)?a:void 0}return dA=r,dA}var hA,jG;function FC(){if(jG)return hA;jG=1;var e=Uy(),t=e(Object,"create");return hA=t,hA}var pA,WG;function FGe(){if(WG)return pA;WG=1;var e=FC();function t(){this.__data__=e?e(null):{},this.size=0}return pA=t,pA}var mA,ZG;function IGe(){if(ZG)return mA;ZG=1;function e(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r}return mA=e,mA}var gA,KG;function MGe(){if(KG)return gA;KG=1;var e=FC(),t="__lodash_hash_undefined__",r=Object.prototype,n=r.hasOwnProperty;function i(a){var o=this.__data__;if(e){var s=o[a];return s===t?void 0:s}return n.call(o,a)?o[a]:void 0}return gA=i,gA}var vA,HG;function NGe(){if(HG)return vA;HG=1;var e=FC(),t=Object.prototype,r=t.hasOwnProperty;function n(i){var a=this.__data__;return e?a[i]!==void 0:r.call(a,i)}return vA=n,vA}var yA,YG;function LGe(){if(YG)return yA;YG=1;var e=FC(),t="__lodash_hash_undefined__";function r(n,i){var a=this.__data__;return this.size+=this.has(n)?0:1,a[n]=e&&i===void 0?t:i,this}return yA=r,yA}var bA,GG;function zGe(){if(GG)return bA;GG=1;var e=FGe(),t=IGe(),r=MGe(),n=NGe(),i=LGe();function a(o){var s=-1,u=o==null?0:o.length;for(this.clear();++s<u;){var l=o[s];this.set(l[0],l[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=r,a.prototype.has=n,a.prototype.set=i,bA=a,bA}var OA,XG;function QGe(){if(XG)return OA;XG=1;function e(){this.__data__=[],this.size=0}return OA=e,OA}var xA,JG;function Qz(){if(JG)return xA;JG=1;function e(t,r){return t===r||t!==t&&r!==r}return xA=e,xA}var _A,eX;function IC(){if(eX)return _A;eX=1;var e=Qz();function t(r,n){for(var i=r.length;i--;)if(e(r[i][0],n))return i;return-1}return _A=t,_A}var SA,tX;function BGe(){if(tX)return SA;tX=1;var e=IC(),t=Array.prototype,r=t.splice;function n(i){var a=this.__data__,o=e(a,i);if(o<0)return!1;var s=a.length-1;return o==s?a.pop():r.call(a,o,1),--this.size,!0}return SA=n,SA}var wA,rX;function qGe(){if(rX)return wA;rX=1;var e=IC();function t(r){var n=this.__data__,i=e(n,r);return i<0?void 0:n[i][1]}return wA=t,wA}var EA,nX;function UGe(){if(nX)return EA;nX=1;var e=IC();function t(r){return e(this.__data__,r)>-1}return EA=t,EA}var $A,iX;function VGe(){if(iX)return $A;iX=1;var e=IC();function t(r,n){var i=this.__data__,a=e(i,r);return a<0?(++this.size,i.push([r,n])):i[a][1]=n,this}return $A=t,$A}var CA,aX;function MC(){if(aX)return CA;aX=1;var e=QGe(),t=BGe(),r=qGe(),n=UGe(),i=VGe();function a(o){var s=-1,u=o==null?0:o.length;for(this.clear();++s<u;){var l=o[s];this.set(l[0],l[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=r,a.prototype.has=n,a.prototype.set=i,CA=a,CA}var PA,oX;function Bz(){if(oX)return PA;oX=1;var e=Uy(),t=$p(),r=e(t,"Map");return PA=r,PA}var DA,sX;function jGe(){if(sX)return DA;sX=1;var e=zGe(),t=MC(),r=Bz();function n(){this.size=0,this.__data__={hash:new e,map:new(r||t),string:new e}}return DA=n,DA}var RA,uX;function WGe(){if(uX)return RA;uX=1;function e(t){var r=typeof t;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?t!=="__proto__":t===null}return RA=e,RA}var kA,lX;function NC(){if(lX)return kA;lX=1;var e=WGe();function t(r,n){var i=r.__data__;return e(n)?i[typeof n=="string"?"string":"hash"]:i.map}return kA=t,kA}var TA,cX;function ZGe(){if(cX)return TA;cX=1;var e=NC();function t(r){var n=e(this,r).delete(r);return this.size-=n?1:0,n}return TA=t,TA}var AA,fX;function KGe(){if(fX)return AA;fX=1;var e=NC();function t(r){return e(this,r).get(r)}return AA=t,AA}var FA,dX;function HGe(){if(dX)return FA;dX=1;var e=NC();function t(r){return e(this,r).has(r)}return FA=t,FA}var IA,hX;function YGe(){if(hX)return IA;hX=1;var e=NC();function t(r,n){var i=e(this,r),a=i.size;return i.set(r,n),this.size+=i.size==a?0:1,this}return IA=t,IA}var MA,pX;function qz(){if(pX)return MA;pX=1;var e=jGe(),t=ZGe(),r=KGe(),n=HGe(),i=YGe();function a(o){var s=-1,u=o==null?0:o.length;for(this.clear();++s<u;){var l=o[s];this.set(l[0],l[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=r,a.prototype.has=n,a.prototype.set=i,MA=a,MA}var NA,mX;function Zbe(){if(mX)return NA;mX=1;var e=qz(),t="Expected a function";function r(n,i){if(typeof n!="function"||i!=null&&typeof i!="function")throw new TypeError(t);var a=function(){var o=arguments,s=i?i.apply(this,o):o[0],u=a.cache;if(u.has(s))return u.get(s);var l=n.apply(this,o);return a.cache=u.set(s,l)||u,l};return a.cache=new(r.Cache||e),a}return r.Cache=e,NA=r,NA}var LA,gX;function GGe(){if(gX)return LA;gX=1;var e=Zbe(),t=500;function r(n){var i=e(n,function(o){return a.size===t&&a.clear(),o}),a=i.cache;return i}return LA=r,LA}var zA,vX;function XGe(){if(vX)return zA;vX=1;var e=GGe(),t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,r=/\\(\\)?/g,n=e(function(i){var a=[];return i.charCodeAt(0)===46&&a.push(""),i.replace(t,function(o,s,u,l){a.push(u?l.replace(r,"$1"):s||o)}),a});return zA=n,zA}var QA,yX;function Uz(){if(yX)return QA;yX=1;function e(t,r){for(var n=-1,i=t==null?0:t.length,a=Array(i);++n<i;)a[n]=r(t[n],n,t);return a}return QA=e,QA}var BA,bX;function JGe(){if(bX)return BA;bX=1;var e=Pw(),t=Uz(),r=bc(),n=PO(),i=e?e.prototype:void 0,a=i?i.toString:void 0;function o(s){if(typeof s=="string")return s;if(r(s))return t(s,o)+"";if(n(s))return a?a.call(s):"";var u=s+"";return u=="0"&&1/s==-1/0?"-0":u}return BA=o,BA}var qA,OX;function Kbe(){if(OX)return qA;OX=1;var e=JGe();function t(r){return r==null?"":e(r)}return qA=t,qA}var UA,xX;function Hbe(){if(xX)return UA;xX=1;var e=bc(),t=Lz(),r=XGe(),n=Kbe();function i(a,o){return e(a)?a:t(a,o)?[a]:r(n(a))}return UA=i,UA}var VA,_X;function LC(){if(_X)return VA;_X=1;var e=PO();function t(r){if(typeof r=="string"||e(r))return r;var n=r+"";return n=="0"&&1/r==-1/0?"-0":n}return VA=t,VA}var jA,SX;function Vz(){if(SX)return jA;SX=1;var e=Hbe(),t=LC();function r(n,i){i=e(i,n);for(var a=0,o=i.length;n!=null&&a<o;)n=n[t(i[a++])];return a&&a==o?n:void 0}return jA=r,jA}var WA,wX;function Ybe(){if(wX)return WA;wX=1;var e=Vz();function t(r,n,i){var a=r==null?void 0:e(r,n);return a===void 0?i:a}return WA=t,WA}var eXe=Ybe();const b0t=an(eXe);var ZA,EX;function tXe(){if(EX)return ZA;EX=1;function e(t){return t==null}return ZA=e,ZA}var rXe=tXe();const O0t=an(rXe);var KA,$X;function nXe(){if($X)return KA;$X=1;var e=tm(),t=bc(),r=rm(),n="[object String]";function i(a){return typeof a=="string"||!t(a)&&r(a)&&e(a)==n}return KA=i,KA}var iXe=nXe();const x0t=an(iXe);var aXe=zz();const _0t=an(aXe);var oXe=qg();const S0t=an(oXe);var w0t=Cne(),HA,CX;function Gbe(){if(CX)return HA;CX=1;var e=tm(),t=rm(),r="[object Number]";function n(i){return typeof i=="number"||t(i)&&e(i)==r}return HA=n,HA}var YA,PX;function sXe(){if(PX)return YA;PX=1;var e=Gbe();function t(r){return e(r)&&r!=+r}return YA=t,YA}var uXe=sXe();const E0t=an(uXe);var lXe=Gbe();const $0t=an(lXe);var GA,DX;function cXe(){if(DX)return GA;DX=1;function e(t,r,n){var i=-1,a=t.length;r<0&&(r=-r>a?0:a+r),n=n>a?a:n,n<0&&(n+=a),a=r>n?0:n-r>>>0,r>>>=0;for(var o=Array(a);++i<a;)o[i]=t[i+r];return o}return GA=e,GA}var XA,RX;function fXe(){if(RX)return XA;RX=1;var e=cXe();function t(r,n,i){var a=r.length;return i=i===void 0?a:i,!n&&i>=a?r:e(r,n,i)}return XA=t,XA}var JA,kX;function Xbe(){if(kX)return JA;kX=1;var e="\\ud800-\\udfff",t="\\u0300-\\u036f",r="\\ufe20-\\ufe2f",n="\\u20d0-\\u20ff",i=t+r+n,a="\\ufe0e\\ufe0f",o="\\u200d",s=RegExp("["+o+e+i+a+"]");function u(l){return s.test(l)}return JA=u,JA}var e8,TX;function dXe(){if(TX)return e8;TX=1;function e(t){return t.split("")}return e8=e,e8}var t8,AX;function hXe(){if(AX)return t8;AX=1;var e="\\ud800-\\udfff",t="\\u0300-\\u036f",r="\\ufe20-\\ufe2f",n="\\u20d0-\\u20ff",i=t+r+n,a="\\ufe0e\\ufe0f",o="["+e+"]",s="["+i+"]",u="\\ud83c[\\udffb-\\udfff]",l="(?:"+s+"|"+u+")",c="[^"+e+"]",f="(?:\\ud83c[\\udde6-\\uddff]){2}",d="[\\ud800-\\udbff][\\udc00-\\udfff]",h="\\u200d",g=l+"?",m="["+a+"]?",v="(?:"+h+"(?:"+[c,f,d].join("|")+")"+m+g+")*",y=m+g+v,O="(?:"+[c+s+"?",s,f,d,o].join("|")+")",x=RegExp(u+"(?="+u+")|"+O+y,"g");function C(w){return w.match(x)||[]}return t8=C,t8}var r8,FX;function pXe(){if(FX)return r8;FX=1;var e=dXe(),t=Xbe(),r=hXe();function n(i){return t(i)?r(i):e(i)}return r8=n,r8}var n8,IX;function mXe(){if(IX)return n8;IX=1;var e=fXe(),t=Xbe(),r=pXe(),n=Kbe();function i(a){return function(o){o=n(o);var s=t(o)?r(o):void 0,u=s?s[0]:o.charAt(0),l=s?e(s,1).join(""):o.slice(1);return u[a]()+l}}return n8=i,n8}var i8,MX;function gXe(){if(MX)return i8;MX=1;var e=mXe(),t=e("toUpperCase");return i8=t,i8}var vXe=gXe();const C0t=an(vXe);function ta(e){return function(){return e}}const Jbe=Math.cos,P4=Math.sin,gh=Math.sqrt,D4=Math.PI,zC=2*D4,fM=Math.PI,dM=2*fM,Fv=1e-6,yXe=dM-Fv;function eOe(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=arguments[t]+e[t]}function bXe(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return eOe;const r=10**t;return function(n){this._+=n[0];for(let i=1,a=n.length;i<a;++i)this._+=Math.round(arguments[i]*r)/r+n[i]}}class OXe{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=t==null?eOe:bXe(t)}moveTo(t,r){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+r}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,r){this._append`L${this._x1=+t},${this._y1=+r}`}quadraticCurveTo(t,r,n,i){this._append`Q${+t},${+r},${this._x1=+n},${this._y1=+i}`}bezierCurveTo(t,r,n,i,a,o){this._append`C${+t},${+r},${+n},${+i},${this._x1=+a},${this._y1=+o}`}arcTo(t,r,n,i,a){if(t=+t,r=+r,n=+n,i=+i,a=+a,a<0)throw new Error(`negative radius: ${a}`);let o=this._x1,s=this._y1,u=n-t,l=i-r,c=o-t,f=s-r,d=c*c+f*f;if(this._x1===null)this._append`M${this._x1=t},${this._y1=r}`;else if(d>Fv)if(!(Math.abs(f*u-l*c)>Fv)||!a)this._append`L${this._x1=t},${this._y1=r}`;else{let h=n-o,g=i-s,m=u*u+l*l,v=h*h+g*g,y=Math.sqrt(m),O=Math.sqrt(d),x=a*Math.tan((fM-Math.acos((m+d-v)/(2*y*O)))/2),C=x/O,w=x/y;Math.abs(C-1)>Fv&&this._append`L${t+C*c},${r+C*f}`,this._append`A${a},${a},0,0,${+(f*h>c*g)},${this._x1=t+w*u},${this._y1=r+w*l}`}}arc(t,r,n,i,a,o){if(t=+t,r=+r,n=+n,o=!!o,n<0)throw new Error(`negative radius: ${n}`);let s=n*Math.cos(i),u=n*Math.sin(i),l=t+s,c=r+u,f=1^o,d=o?i-a:a-i;this._x1===null?this._append`M${l},${c}`:(Math.abs(this._x1-l)>Fv||Math.abs(this._y1-c)>Fv)&&this._append`L${l},${c}`,n&&(d<0&&(d=d%dM+dM),d>yXe?this._append`A${n},${n},0,1,${f},${t-s},${r-u}A${n},${n},0,1,${f},${this._x1=l},${this._y1=c}`:d>Fv&&this._append`A${n},${n},0,${+(d>=fM)},${f},${this._x1=t+n*Math.cos(a)},${this._y1=r+n*Math.sin(a)}`)}rect(t,r,n,i){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+r}h${n=+n}v${+i}h${-n}Z`}toString(){return this._}}function jz(e){let t=3;return e.digits=function(r){if(!arguments.length)return t;if(r==null)t=null;else{const n=Math.floor(r);if(!(n>=0))throw new RangeError(`invalid digits: ${r}`);t=n}return e},()=>new OXe(t)}function Wz(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function tOe(e){this._context=e}tOe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}};function rOe(e){return new tOe(e)}function nOe(e){return e[0]}function iOe(e){return e[1]}function xXe(e,t){var r=ta(!0),n=null,i=rOe,a=null,o=jz(s);e=typeof e=="function"?e:e===void 0?nOe:ta(e),t=typeof t=="function"?t:t===void 0?iOe:ta(t);function s(u){var l,c=(u=Wz(u)).length,f,d=!1,h;for(n==null&&(a=i(h=o())),l=0;l<=c;++l)!(l<c&&r(f=u[l],l,u))===d&&((d=!d)?a.lineStart():a.lineEnd()),d&&a.point(+e(f,l,u),+t(f,l,u));if(h)return a=null,h+""||null}return s.x=function(u){return arguments.length?(e=typeof u=="function"?u:ta(+u),s):e},s.y=function(u){return arguments.length?(t=typeof u=="function"?u:ta(+u),s):t},s.defined=function(u){return arguments.length?(r=typeof u=="function"?u:ta(!!u),s):r},s.curve=function(u){return arguments.length?(i=u,n!=null&&(a=i(n)),s):i},s.context=function(u){return arguments.length?(u==null?n=a=null:a=i(n=u),s):n},s}function P0t(e,t,r){var n=null,i=ta(!0),a=null,o=rOe,s=null,u=jz(l);e=typeof e=="function"?e:e===void 0?nOe:ta(+e),t=typeof t=="function"?t:ta(t===void 0?0:+t),r=typeof r=="function"?r:r===void 0?iOe:ta(+r);function l(f){var d,h,g,m=(f=Wz(f)).length,v,y=!1,O,x=new Array(m),C=new Array(m);for(a==null&&(s=o(O=u())),d=0;d<=m;++d){if(!(d<m&&i(v=f[d],d,f))===y)if(y=!y)h=d,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),g=d-1;g>=h;--g)s.point(x[g],C[g]);s.lineEnd(),s.areaEnd()}y&&(x[d]=+e(v,d,f),C[d]=+t(v,d,f),s.point(n?+n(v,d,f):x[d],r?+r(v,d,f):C[d]))}if(O)return s=null,O+""||null}function c(){return xXe().defined(i).curve(o).context(a)}return l.x=function(f){return arguments.length?(e=typeof f=="function"?f:ta(+f),n=null,l):e},l.x0=function(f){return arguments.length?(e=typeof f=="function"?f:ta(+f),l):e},l.x1=function(f){return arguments.length?(n=f==null?null:typeof f=="function"?f:ta(+f),l):n},l.y=function(f){return arguments.length?(t=typeof f=="function"?f:ta(+f),r=null,l):t},l.y0=function(f){return arguments.length?(t=typeof f=="function"?f:ta(+f),l):t},l.y1=function(f){return arguments.length?(r=f==null?null:typeof f=="function"?f:ta(+f),l):r},l.lineX0=l.lineY0=function(){return c().x(e).y(t)},l.lineY1=function(){return c().x(e).y(r)},l.lineX1=function(){return c().x(n).y(t)},l.defined=function(f){return arguments.length?(i=typeof f=="function"?f:ta(!!f),l):i},l.curve=function(f){return arguments.length?(o=f,a!=null&&(s=o(a)),l):o},l.context=function(f){return arguments.length?(f==null?a=s=null:s=o(a=f),l):a},l}class aOe{constructor(t,r){this._context=t,this._x=r}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(t,r){switch(t=+t,r=+r,this._point){case 0:{this._point=1,this._line?this._context.lineTo(t,r):this._context.moveTo(t,r);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,r,t,r):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+r)/2,t,this._y0,t,r);break}}this._x0=t,this._y0=r}}function D0t(e){return new aOe(e,!0)}function R0t(e){return new aOe(e,!1)}const _Xe={draw(e,t){const r=gh(t/D4);e.moveTo(r,0),e.arc(0,0,r,0,zC)}},k0t={draw(e,t){const r=gh(t/5)/2;e.moveTo(-3*r,-r),e.lineTo(-r,-r),e.lineTo(-r,-3*r),e.lineTo(r,-3*r),e.lineTo(r,-r),e.lineTo(3*r,-r),e.lineTo(3*r,r),e.lineTo(r,r),e.lineTo(r,3*r),e.lineTo(-r,3*r),e.lineTo(-r,r),e.lineTo(-3*r,r),e.closePath()}},oOe=gh(1/3),SXe=oOe*2,T0t={draw(e,t){const r=gh(t/SXe),n=r*oOe;e.moveTo(0,-r),e.lineTo(n,0),e.lineTo(0,r),e.lineTo(-n,0),e.closePath()}},A0t={draw(e,t){const r=gh(t),n=-r/2;e.rect(n,n,r,r)}},wXe=.8908130915292852,sOe=P4(D4/10)/P4(7*D4/10),EXe=P4(zC/10)*sOe,$Xe=-Jbe(zC/10)*sOe,F0t={draw(e,t){const r=gh(t*wXe),n=EXe*r,i=$Xe*r;e.moveTo(0,-r),e.lineTo(n,i);for(let a=1;a<5;++a){const o=zC*a/5,s=Jbe(o),u=P4(o);e.lineTo(u*r,-s*r),e.lineTo(s*n-u*i,u*n+s*i)}e.closePath()}},a8=gh(3),I0t={draw(e,t){const r=-gh(t/(a8*3));e.moveTo(0,r*2),e.lineTo(-a8*r,-r),e.lineTo(a8*r,-r),e.closePath()}},Pf=-.5,Df=gh(3)/2,hM=1/gh(12),CXe=(hM/2+1)*3,M0t={draw(e,t){const r=gh(t/CXe),n=r/2,i=r*hM,a=n,o=r*hM+r,s=-a,u=o;e.moveTo(n,i),e.lineTo(a,o),e.lineTo(s,u),e.lineTo(Pf*n-Df*i,Df*n+Pf*i),e.lineTo(Pf*a-Df*o,Df*a+Pf*o),e.lineTo(Pf*s-Df*u,Df*s+Pf*u),e.lineTo(Pf*n+Df*i,Pf*i-Df*n),e.lineTo(Pf*a+Df*o,Pf*o-Df*a),e.lineTo(Pf*s+Df*u,Pf*u-Df*s),e.closePath()}};function N0t(e,t){let r=null,n=jz(i);e=typeof e=="function"?e:ta(e||_Xe),t=typeof t=="function"?t:ta(t===void 0?64:+t);function i(){let a;if(r||(r=a=n()),e.apply(this,arguments).draw(r,+t.apply(this,arguments)),a)return r=null,a+""||null}return i.type=function(a){return arguments.length?(e=typeof a=="function"?a:ta(a),i):e},i.size=function(a){return arguments.length?(t=typeof a=="function"?a:ta(+a),i):t},i.context=function(a){return arguments.length?(r=a??null,i):r},i}function R4(){}function k4(e,t,r){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+r)/6)}function uOe(e){this._context=e}uOe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:k4(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:k4(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function L0t(e){return new uOe(e)}function lOe(e){this._context=e}lOe.prototype={areaStart:R4,areaEnd:R4,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:k4(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function z0t(e){return new lOe(e)}function cOe(e){this._context=e}cOe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+e)/6,n=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:k4(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function Q0t(e){return new cOe(e)}function fOe(e){this._context=e}fOe.prototype={areaStart:R4,areaEnd:R4,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function B0t(e){return new fOe(e)}function NX(e){return e<0?-1:1}function LX(e,t,r){var n=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(n||i<0&&-0),o=(r-e._y1)/(i||n<0&&-0),s=(a*i+o*n)/(n+i);return(NX(a)+NX(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function zX(e,t){var r=e._x1-e._x0;return r?(3*(e._y1-e._y0)/r-t)/2:t}function o8(e,t,r){var n=e._x0,i=e._y0,a=e._x1,o=e._y1,s=(a-n)/3;e._context.bezierCurveTo(n+s,i+s*t,a-s,o-s*r,a,o)}function T4(e){this._context=e}T4.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:o8(this,this._t0,zX(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var r=NaN;if(e=+e,t=+t,!(e===this._x1&&t===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,o8(this,zX(this,r=LX(this,e,t)),r);break;default:o8(this,this._t0,r=LX(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=r}}};function dOe(e){this._context=new hOe(e)}(dOe.prototype=Object.create(T4.prototype)).point=function(e,t){T4.prototype.point.call(this,t,e)};function hOe(e){this._context=e}hOe.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,r,n,i,a){this._context.bezierCurveTo(t,e,n,r,a,i)}};function q0t(e){return new T4(e)}function U0t(e){return new dOe(e)}function pOe(e){this._context=e}pOe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,r=e.length;if(r)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),r===2)this._context.lineTo(e[1],t[1]);else for(var n=QX(e),i=QX(t),a=0,o=1;o<r;++a,++o)this._context.bezierCurveTo(n[0][a],i[0][a],n[1][a],i[1][a],e[o],t[o]);(this._line||this._line!==0&&r===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}};function QX(e){var t,r=e.length-1,n,i=new Array(r),a=new Array(r),o=new Array(r);for(i[0]=0,a[0]=2,o[0]=e[0]+2*e[1],t=1;t<r-1;++t)i[t]=1,a[t]=4,o[t]=4*e[t]+2*e[t+1];for(i[r-1]=2,a[r-1]=7,o[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)n=i[t]/a[t-1],a[t]-=n,o[t]-=n*o[t-1];for(i[r-1]=o[r-1]/a[r-1],t=r-2;t>=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[r-1]=(e[r]+i[r-1])/2,t=0;t<r-1;++t)a[t]=2*e[t+1]-i[t+1];return[i,a]}function V0t(e){return new pOe(e)}function QC(e,t){this._context=e,this._t=t}QC.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var r=this._x*(1-this._t)+e*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,t)}break}}this._x=e,this._y=t}};function j0t(e){return new QC(e,.5)}function W0t(e){return new QC(e,0)}function Z0t(e){return new QC(e,1)}function LS(e,t){if((o=e.length)>1)for(var r=1,n,i,a=e[t[0]],o,s=a.length;r<o;++r)for(i=a,a=e[t[r]],n=0;n<s;++n)a[n][1]+=a[n][0]=isNaN(i[n][1])?i[n][0]:i[n][1]}function BX(e){for(var t=e.length,r=new Array(t);--t>=0;)r[t]=t;return r}function PXe(e,t){return e[t]}function DXe(e){const t=[];return t.key=e,t}function K0t(){var e=ta([]),t=BX,r=LS,n=PXe;function i(a){var o=Array.from(e.apply(this,arguments),DXe),s,u=o.length,l=-1,c;for(const f of a)for(s=0,++l;s<u;++s)(o[s][l]=[0,+n(f,o[s].key,l,a)]).data=f;for(s=0,c=Wz(t(o));s<u;++s)o[c[s]].index=s;return r(o,c),o}return i.keys=function(a){return arguments.length?(e=typeof a=="function"?a:ta(Array.from(a)),i):e},i.value=function(a){return arguments.length?(n=typeof a=="function"?a:ta(+a),i):n},i.order=function(a){return arguments.length?(t=a==null?BX:typeof a=="function"?a:ta(Array.from(a)),i):t},i.offset=function(a){return arguments.length?(r=a??LS,i):r},i}function H0t(e,t){if((n=e.length)>0){for(var r,n,i=0,a=e[0].length,o;i<a;++i){for(o=r=0;r<n;++r)o+=e[r][i][1]||0;if(o)for(r=0;r<n;++r)e[r][i][1]/=o}LS(e,t)}}function Y0t(e,t){if((i=e.length)>0){for(var r=0,n=e[t[0]],i,a=n.length;r<a;++r){for(var o=0,s=0;o<i;++o)s+=e[o][r][1]||0;n[r][1]+=n[r][0]=-s/2}LS(e,t)}}function G0t(e,t){if(!(!((o=e.length)>0)||!((a=(i=e[t[0]]).length)>0))){for(var r=0,n=1,i,a,o;n<a;++n){for(var s=0,u=0,l=0;s<o;++s){for(var c=e[t[s]],f=c[n][1]||0,d=c[n-1][1]||0,h=(f-d)/2,g=0;g<s;++g){var m=e[t[g]],v=m[n][1]||0,y=m[n-1][1]||0;h+=v-y}u+=f,l+=h*f}i[n-1][1]+=i[n-1][0]=r,u&&(r-=l/u)}i[n-1][1]+=i[n-1][0]=r,LS(e,t)}}var s8,qX;function RXe(){if(qX)return s8;qX=1;var e=MC();function t(){this.__data__=new e,this.size=0}return s8=t,s8}var u8,UX;function kXe(){if(UX)return u8;UX=1;function e(t){var r=this.__data__,n=r.delete(t);return this.size=r.size,n}return u8=e,u8}var l8,VX;function TXe(){if(VX)return l8;VX=1;function e(t){return this.__data__.get(t)}return l8=e,l8}var c8,jX;function AXe(){if(jX)return c8;jX=1;function e(t){return this.__data__.has(t)}return c8=e,c8}var f8,WX;function FXe(){if(WX)return f8;WX=1;var e=MC(),t=Bz(),r=qz(),n=200;function i(a,o){var s=this.__data__;if(s instanceof e){var u=s.__data__;if(!t||u.length<n-1)return u.push([a,o]),this.size=++s.size,this;s=this.__data__=new r(u)}return s.set(a,o),this.size=s.size,this}return f8=i,f8}var d8,ZX;function mOe(){if(ZX)return d8;ZX=1;var e=MC(),t=RXe(),r=kXe(),n=TXe(),i=AXe(),a=FXe();function o(s){var u=this.__data__=new e(s);this.size=u.size}return o.prototype.clear=t,o.prototype.delete=r,o.prototype.get=n,o.prototype.has=i,o.prototype.set=a,d8=o,d8}var h8,KX;function IXe(){if(KX)return h8;KX=1;var e="__lodash_hash_undefined__";function t(r){return this.__data__.set(r,e),this}return h8=t,h8}var p8,HX;function MXe(){if(HX)return p8;HX=1;function e(t){return this.__data__.has(t)}return p8=e,p8}var m8,YX;function gOe(){if(YX)return m8;YX=1;var e=qz(),t=IXe(),r=MXe();function n(i){var a=-1,o=i==null?0:i.length;for(this.__data__=new e;++a<o;)this.add(i[a])}return n.prototype.add=n.prototype.push=t,n.prototype.has=r,m8=n,m8}var g8,GX;function vOe(){if(GX)return g8;GX=1;function e(t,r){for(var n=-1,i=t==null?0:t.length;++n<i;)if(r(t[n],n,t))return!0;return!1}return g8=e,g8}var v8,XX;function yOe(){if(XX)return v8;XX=1;function e(t,r){return t.has(r)}return v8=e,v8}var y8,JX;function bOe(){if(JX)return y8;JX=1;var e=gOe(),t=vOe(),r=yOe(),n=1,i=2;function a(o,s,u,l,c,f){var d=u&n,h=o.length,g=s.length;if(h!=g&&!(d&&g>h))return!1;var m=f.get(o),v=f.get(s);if(m&&v)return m==s&&v==o;var y=-1,O=!0,x=u&i?new e:void 0;for(f.set(o,s),f.set(s,o);++y<h;){var C=o[y],w=s[y];if(l)var E=d?l(w,C,y,s,o,f):l(C,w,y,o,s,f);if(E!==void 0){if(E)continue;O=!1;break}if(x){if(!t(s,function(T,P){if(!r(x,P)&&(C===T||c(C,T,u,l,f)))return x.push(P)})){O=!1;break}}else if(!(C===w||c(C,w,u,l,f))){O=!1;break}}return f.delete(o),f.delete(s),O}return y8=a,y8}var b8,eJ;function NXe(){if(eJ)return b8;eJ=1;var e=$p(),t=e.Uint8Array;return b8=t,b8}var O8,tJ;function LXe(){if(tJ)return O8;tJ=1;function e(t){var r=-1,n=Array(t.size);return t.forEach(function(i,a){n[++r]=[a,i]}),n}return O8=e,O8}var x8,rJ;function Zz(){if(rJ)return x8;rJ=1;function e(t){var r=-1,n=Array(t.size);return t.forEach(function(i){n[++r]=i}),n}return x8=e,x8}var _8,nJ;function zXe(){if(nJ)return _8;nJ=1;var e=Pw(),t=NXe(),r=Qz(),n=bOe(),i=LXe(),a=Zz(),o=1,s=2,u="[object Boolean]",l="[object Date]",c="[object Error]",f="[object Map]",d="[object Number]",h="[object RegExp]",g="[object Set]",m="[object String]",v="[object Symbol]",y="[object ArrayBuffer]",O="[object DataView]",x=e?e.prototype:void 0,C=x?x.valueOf:void 0;function w(E,T,P,L,N,B,j){switch(P){case O:if(E.byteLength!=T.byteLength||E.byteOffset!=T.byteOffset)return!1;E=E.buffer,T=T.buffer;case y:return!(E.byteLength!=T.byteLength||!B(new t(E),new t(T)));case u:case l:case d:return r(+E,+T);case c:return E.name==T.name&&E.message==T.message;case h:case m:return E==T+"";case f:var A=i;case g:var H=L&o;if(A||(A=a),E.size!=T.size&&!H)return!1;var k=j.get(E);if(k)return k==T;L|=s,j.set(E,T);var Q=n(A(E),A(T),L,N,B,j);return j.delete(E),Q;case v:if(C)return C.call(E)==C.call(T)}return!1}return _8=w,_8}var S8,iJ;function OOe(){if(iJ)return S8;iJ=1;function e(t,r){for(var n=-1,i=r.length,a=t.length;++n<i;)t[a+n]=r[n];return t}return S8=e,S8}var w8,aJ;function QXe(){if(aJ)return w8;aJ=1;var e=OOe(),t=bc();function r(n,i,a){var o=i(n);return t(n)?o:e(o,a(n))}return w8=r,w8}var E8,oJ;function BXe(){if(oJ)return E8;oJ=1;function e(t,r){for(var n=-1,i=t==null?0:t.length,a=0,o=[];++n<i;){var s=t[n];r(s,n,t)&&(o[a++]=s)}return o}return E8=e,E8}var $8,sJ;function qXe(){if(sJ)return $8;sJ=1;function e(){return[]}return $8=e,$8}var C8,uJ;function UXe(){if(uJ)return C8;uJ=1;var e=BXe(),t=qXe(),r=Object.prototype,n=r.propertyIsEnumerable,i=Object.getOwnPropertySymbols,a=i?function(o){return o==null?[]:(o=Object(o),e(i(o),function(s){return n.call(o,s)}))}:t;return C8=a,C8}var P8,lJ;function VXe(){if(lJ)return P8;lJ=1;function e(t,r){for(var n=-1,i=Array(t);++n<t;)i[n]=r(n);return i}return P8=e,P8}var D8,cJ;function jXe(){if(cJ)return D8;cJ=1;var e=tm(),t=rm(),r="[object Arguments]";function n(i){return t(i)&&e(i)==r}return D8=n,D8}var R8,fJ;function Kz(){if(fJ)return R8;fJ=1;var e=jXe(),t=rm(),r=Object.prototype,n=r.hasOwnProperty,i=r.propertyIsEnumerable,a=e(function(){return arguments}())?e:function(o){return t(o)&&n.call(o,"callee")&&!i.call(o,"callee")};return R8=a,R8}var v_={exports:{}},k8,dJ;function WXe(){if(dJ)return k8;dJ=1;function e(){return!1}return k8=e,k8}v_.exports;var hJ;function xOe(){return hJ||(hJ=1,function(e,t){var r=$p(),n=WXe(),i=t&&!t.nodeType&&t,a=i&&!0&&e&&!e.nodeType&&e,o=a&&a.exports===i,s=o?r.Buffer:void 0,u=s?s.isBuffer:void 0,l=u||n;e.exports=l}(v_,v_.exports)),v_.exports}var T8,pJ;function Hz(){if(pJ)return T8;pJ=1;var e=9007199254740991,t=/^(?:0|[1-9]\d*)$/;function r(n,i){var a=typeof n;return i=i??e,!!i&&(a=="number"||a!="symbol"&&t.test(n))&&n>-1&&n%1==0&&n<i}return T8=r,T8}var A8,mJ;function Yz(){if(mJ)return A8;mJ=1;var e=9007199254740991;function t(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=e}return A8=t,A8}var F8,gJ;function ZXe(){if(gJ)return F8;gJ=1;var e=tm(),t=Yz(),r=rm(),n="[object Arguments]",i="[object Array]",a="[object Boolean]",o="[object Date]",s="[object Error]",u="[object Function]",l="[object Map]",c="[object Number]",f="[object Object]",d="[object RegExp]",h="[object Set]",g="[object String]",m="[object WeakMap]",v="[object ArrayBuffer]",y="[object DataView]",O="[object Float32Array]",x="[object Float64Array]",C="[object Int8Array]",w="[object Int16Array]",E="[object Int32Array]",T="[object Uint8Array]",P="[object Uint8ClampedArray]",L="[object Uint16Array]",N="[object Uint32Array]",B={};B[O]=B[x]=B[C]=B[w]=B[E]=B[T]=B[P]=B[L]=B[N]=!0,B[n]=B[i]=B[v]=B[a]=B[y]=B[o]=B[s]=B[u]=B[l]=B[c]=B[f]=B[d]=B[h]=B[g]=B[m]=!1;function j(A){return r(A)&&t(A.length)&&!!B[e(A)]}return F8=j,F8}var I8,vJ;function _Oe(){if(vJ)return I8;vJ=1;function e(t){return function(r){return t(r)}}return I8=e,I8}var y_={exports:{}};y_.exports;var yJ;function KXe(){return yJ||(yJ=1,function(e,t){var r=jbe(),n=t&&!t.nodeType&&t,i=n&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===n,o=a&&r.process,s=function(){try{var u=i&&i.require&&i.require("util").types;return u||o&&o.binding&&o.binding("util")}catch{}}();e.exports=s}(y_,y_.exports)),y_.exports}var M8,bJ;function SOe(){if(bJ)return M8;bJ=1;var e=ZXe(),t=_Oe(),r=KXe(),n=r&&r.isTypedArray,i=n?t(n):e;return M8=i,M8}var N8,OJ;function HXe(){if(OJ)return N8;OJ=1;var e=VXe(),t=Kz(),r=bc(),n=xOe(),i=Hz(),a=SOe(),o=Object.prototype,s=o.hasOwnProperty;function u(l,c){var f=r(l),d=!f&&t(l),h=!f&&!d&&n(l),g=!f&&!d&&!h&&a(l),m=f||d||h||g,v=m?e(l.length,String):[],y=v.length;for(var O in l)(c||s.call(l,O))&&!(m&&(O=="length"||h&&(O=="offset"||O=="parent")||g&&(O=="buffer"||O=="byteLength"||O=="byteOffset")||i(O,y)))&&v.push(O);return v}return N8=u,N8}var L8,xJ;function YXe(){if(xJ)return L8;xJ=1;var e=Object.prototype;function t(r){var n=r&&r.constructor,i=typeof n=="function"&&n.prototype||e;return r===i}return L8=t,L8}var z8,_J;function wOe(){if(_J)return z8;_J=1;function e(t,r){return function(n){return t(r(n))}}return z8=e,z8}var Q8,SJ;function GXe(){if(SJ)return Q8;SJ=1;var e=wOe(),t=e(Object.keys,Object);return Q8=t,Q8}var B8,wJ;function XXe(){if(wJ)return B8;wJ=1;var e=YXe(),t=GXe(),r=Object.prototype,n=r.hasOwnProperty;function i(a){if(!e(a))return t(a);var o=[];for(var s in Object(a))n.call(a,s)&&s!="constructor"&&o.push(s);return o}return B8=i,B8}var q8,EJ;function Dw(){if(EJ)return q8;EJ=1;var e=zz(),t=Yz();function r(n){return n!=null&&t(n.length)&&!e(n)}return q8=r,q8}var U8,$J;function BC(){if($J)return U8;$J=1;var e=HXe(),t=XXe(),r=Dw();function n(i){return r(i)?e(i):t(i)}return U8=n,U8}var V8,CJ;function JXe(){if(CJ)return V8;CJ=1;var e=QXe(),t=UXe(),r=BC();function n(i){return e(i,r,t)}return V8=n,V8}var j8,PJ;function eJe(){if(PJ)return j8;PJ=1;var e=JXe(),t=1,r=Object.prototype,n=r.hasOwnProperty;function i(a,o,s,u,l,c){var f=s&t,d=e(a),h=d.length,g=e(o),m=g.length;if(h!=m&&!f)return!1;for(var v=h;v--;){var y=d[v];if(!(f?y in o:n.call(o,y)))return!1}var O=c.get(a),x=c.get(o);if(O&&x)return O==o&&x==a;var C=!0;c.set(a,o),c.set(o,a);for(var w=f;++v<h;){y=d[v];var E=a[y],T=o[y];if(u)var P=f?u(T,E,y,o,a,c):u(E,T,y,a,o,c);if(!(P===void 0?E===T||l(E,T,s,u,c):P)){C=!1;break}w||(w=y=="constructor")}if(C&&!w){var L=a.constructor,N=o.constructor;L!=N&&"constructor"in a&&"constructor"in o&&!(typeof L=="function"&&L instanceof L&&typeof N=="function"&&N instanceof N)&&(C=!1)}return c.delete(a),c.delete(o),C}return j8=i,j8}var W8,DJ;function tJe(){if(DJ)return W8;DJ=1;var e=Uy(),t=$p(),r=e(t,"DataView");return W8=r,W8}var Z8,RJ;function rJe(){if(RJ)return Z8;RJ=1;var e=Uy(),t=$p(),r=e(t,"Promise");return Z8=r,Z8}var K8,kJ;function EOe(){if(kJ)return K8;kJ=1;var e=Uy(),t=$p(),r=e(t,"Set");return K8=r,K8}var H8,TJ;function nJe(){if(TJ)return H8;TJ=1;var e=Uy(),t=$p(),r=e(t,"WeakMap");return H8=r,H8}var Y8,AJ;function iJe(){if(AJ)return Y8;AJ=1;var e=tJe(),t=Bz(),r=rJe(),n=EOe(),i=nJe(),a=tm(),o=Wbe(),s="[object Map]",u="[object Object]",l="[object Promise]",c="[object Set]",f="[object WeakMap]",d="[object DataView]",h=o(e),g=o(t),m=o(r),v=o(n),y=o(i),O=a;return(e&&O(new e(new ArrayBuffer(1)))!=d||t&&O(new t)!=s||r&&O(r.resolve())!=l||n&&O(new n)!=c||i&&O(new i)!=f)&&(O=function(x){var C=a(x),w=C==u?x.constructor:void 0,E=w?o(w):"";if(E)switch(E){case h:return d;case g:return s;case m:return l;case v:return c;case y:return f}return C}),Y8=O,Y8}var G8,FJ;function aJe(){if(FJ)return G8;FJ=1;var e=mOe(),t=bOe(),r=zXe(),n=eJe(),i=iJe(),a=bc(),o=xOe(),s=SOe(),u=1,l="[object Arguments]",c="[object Array]",f="[object Object]",d=Object.prototype,h=d.hasOwnProperty;function g(m,v,y,O,x,C){var w=a(m),E=a(v),T=w?c:i(m),P=E?c:i(v);T=T==l?f:T,P=P==l?f:P;var L=T==f,N=P==f,B=T==P;if(B&&o(m)){if(!o(v))return!1;w=!0,L=!1}if(B&&!L)return C||(C=new e),w||s(m)?t(m,v,y,O,x,C):r(m,v,T,y,O,x,C);if(!(y&u)){var j=L&&h.call(m,"__wrapped__"),A=N&&h.call(v,"__wrapped__");if(j||A){var H=j?m.value():m,k=A?v.value():v;return C||(C=new e),x(H,k,y,O,C)}}return B?(C||(C=new e),n(m,v,y,O,x,C)):!1}return G8=g,G8}var X8,IJ;function Gz(){if(IJ)return X8;IJ=1;var e=aJe(),t=rm();function r(n,i,a,o,s){return n===i?!0:n==null||i==null||!t(n)&&!t(i)?n!==n&&i!==i:e(n,i,a,o,r,s)}return X8=r,X8}var J8,MJ;function oJe(){if(MJ)return J8;MJ=1;var e=mOe(),t=Gz(),r=1,n=2;function i(a,o,s,u){var l=s.length,c=l,f=!u;if(a==null)return!c;for(a=Object(a);l--;){var d=s[l];if(f&&d[2]?d[1]!==a[d[0]]:!(d[0]in a))return!1}for(;++l<c;){d=s[l];var h=d[0],g=a[h],m=d[1];if(f&&d[2]){if(g===void 0&&!(h in a))return!1}else{var v=new e;if(u)var y=u(g,m,h,a,o,v);if(!(y===void 0?t(m,g,r|n,u,v):y))return!1}}return!0}return J8=i,J8}var eF,NJ;function $Oe(){if(NJ)return eF;NJ=1;var e=qg();function t(r){return r===r&&!e(r)}return eF=t,eF}var tF,LJ;function sJe(){if(LJ)return tF;LJ=1;var e=$Oe(),t=BC();function r(n){for(var i=t(n),a=i.length;a--;){var o=i[a],s=n[o];i[a]=[o,s,e(s)]}return i}return tF=r,tF}var rF,zJ;function COe(){if(zJ)return rF;zJ=1;function e(t,r){return function(n){return n==null?!1:n[t]===r&&(r!==void 0||t in Object(n))}}return rF=e,rF}var nF,QJ;function uJe(){if(QJ)return nF;QJ=1;var e=oJe(),t=sJe(),r=COe();function n(i){var a=t(i);return a.length==1&&a[0][2]?r(a[0][0],a[0][1]):function(o){return o===i||e(o,i,a)}}return nF=n,nF}var iF,BJ;function lJe(){if(BJ)return iF;BJ=1;function e(t,r){return t!=null&&r in Object(t)}return iF=e,iF}var aF,qJ;function cJe(){if(qJ)return aF;qJ=1;var e=Hbe(),t=Kz(),r=bc(),n=Hz(),i=Yz(),a=LC();function o(s,u,l){u=e(u,s);for(var c=-1,f=u.length,d=!1;++c<f;){var h=a(u[c]);if(!(d=s!=null&&l(s,h)))break;s=s[h]}return d||++c!=f?d:(f=s==null?0:s.length,!!f&&i(f)&&n(h,f)&&(r(s)||t(s)))}return aF=o,aF}var oF,UJ;function fJe(){if(UJ)return oF;UJ=1;var e=lJe(),t=cJe();function r(n,i){return n!=null&&t(n,i,e)}return oF=r,oF}var sF,VJ;function dJe(){if(VJ)return sF;VJ=1;var e=Gz(),t=Ybe(),r=fJe(),n=Lz(),i=$Oe(),a=COe(),o=LC(),s=1,u=2;function l(c,f){return n(c)&&i(f)?a(o(c),f):function(d){var h=t(d,c);return h===void 0&&h===f?r(d,c):e(f,h,s|u)}}return sF=l,sF}var uF,jJ;function DO(){if(jJ)return uF;jJ=1;function e(t){return t}return uF=e,uF}var lF,WJ;function hJe(){if(WJ)return lF;WJ=1;function e(t){return function(r){return r==null?void 0:r[t]}}return lF=e,lF}var cF,ZJ;function pJe(){if(ZJ)return cF;ZJ=1;var e=Vz();function t(r){return function(n){return e(n,r)}}return cF=t,cF}var fF,KJ;function mJe(){if(KJ)return fF;KJ=1;var e=hJe(),t=pJe(),r=Lz(),n=LC();function i(a){return r(a)?e(n(a)):t(a)}return fF=i,fF}var dF,HJ;function Cp(){if(HJ)return dF;HJ=1;var e=uJe(),t=dJe(),r=DO(),n=bc(),i=mJe();function a(o){return typeof o=="function"?o:o==null?r:typeof o=="object"?n(o)?t(o[0],o[1]):e(o):i(o)}return dF=a,dF}var hF,YJ;function POe(){if(YJ)return hF;YJ=1;function e(t,r,n,i){for(var a=t.length,o=n+(i?1:-1);i?o--:++o<a;)if(r(t[o],o,t))return o;return-1}return hF=e,hF}var pF,GJ;function gJe(){if(GJ)return pF;GJ=1;function e(t){return t!==t}return pF=e,pF}var mF,XJ;function vJe(){if(XJ)return mF;XJ=1;function e(t,r,n){for(var i=n-1,a=t.length;++i<a;)if(t[i]===r)return i;return-1}return mF=e,mF}var gF,JJ;function yJe(){if(JJ)return gF;JJ=1;var e=POe(),t=gJe(),r=vJe();function n(i,a,o){return a===a?r(i,a,o):e(i,t,o)}return gF=n,gF}var vF,eee;function bJe(){if(eee)return vF;eee=1;var e=yJe();function t(r,n){var i=r==null?0:r.length;return!!i&&e(r,n,0)>-1}return vF=t,vF}var yF,tee;function OJe(){if(tee)return yF;tee=1;function e(t,r,n){for(var i=-1,a=t==null?0:t.length;++i<a;)if(n(r,t[i]))return!0;return!1}return yF=e,yF}var bF,ree;function xJe(){if(ree)return bF;ree=1;function e(){}return bF=e,bF}var OF,nee;function _Je(){if(nee)return OF;nee=1;var e=EOe(),t=xJe(),r=Zz(),n=1/0,i=e&&1/r(new e([,-0]))[1]==n?function(a){return new e(a)}:t;return OF=i,OF}var xF,iee;function SJe(){if(iee)return xF;iee=1;var e=gOe(),t=bJe(),r=OJe(),n=yOe(),i=_Je(),a=Zz(),o=200;function s(u,l,c){var f=-1,d=t,h=u.length,g=!0,m=[],v=m;if(c)g=!1,d=r;else if(h>=o){var y=l?null:i(u);if(y)return a(y);g=!1,d=n,v=new e}else v=l?[]:m;e:for(;++f<h;){var O=u[f],x=l?l(O):O;if(O=c||O!==0?O:0,g&&x===x){for(var C=v.length;C--;)if(v[C]===x)continue e;l&&v.push(x),m.push(O)}else d(v,x,c)||(v!==m&&v.push(x),m.push(O))}return m}return xF=s,xF}var _F,aee;function wJe(){if(aee)return _F;aee=1;var e=Cp(),t=SJe();function r(n,i){return n&&n.length?t(n,e(i,2)):[]}return _F=r,_F}var EJe=wJe();const X0t=an(EJe);var SF,oee;function $Je(){if(oee)return SF;oee=1;var e=Pw(),t=Kz(),r=bc(),n=e?e.isConcatSpreadable:void 0;function i(a){return r(a)||t(a)||!!(n&&a&&a[n])}return SF=i,SF}var wF,see;function DOe(){if(see)return wF;see=1;var e=OOe(),t=$Je();function r(n,i,a,o,s){var u=-1,l=n.length;for(a||(a=t),s||(s=[]);++u<l;){var c=n[u];i>0&&a(c)?i>1?r(c,i-1,a,o,s):e(s,c):o||(s[s.length]=c)}return s}return wF=r,wF}var EF,uee;function CJe(){if(uee)return EF;uee=1;function e(t){return function(r,n,i){for(var a=-1,o=Object(r),s=i(r),u=s.length;u--;){var l=s[t?u:++a];if(n(o[l],l,o)===!1)break}return r}}return EF=e,EF}var $F,lee;function PJe(){if(lee)return $F;lee=1;var e=CJe(),t=e();return $F=t,$F}var CF,cee;function ROe(){if(cee)return CF;cee=1;var e=PJe(),t=BC();function r(n,i){return n&&e(n,i,t)}return CF=r,CF}var PF,fee;function DJe(){if(fee)return PF;fee=1;var e=Dw();function t(r,n){return function(i,a){if(i==null)return i;if(!e(i))return r(i,a);for(var o=i.length,s=n?o:-1,u=Object(i);(n?s--:++s<o)&&a(u[s],s,u)!==!1;);return i}}return PF=t,PF}var DF,dee;function Xz(){if(dee)return DF;dee=1;var e=ROe(),t=DJe(),r=t(e);return DF=r,DF}var RF,hee;function kOe(){if(hee)return RF;hee=1;var e=Xz(),t=Dw();function r(n,i){var a=-1,o=t(n)?Array(n.length):[];return e(n,function(s,u,l){o[++a]=i(s,u,l)}),o}return RF=r,RF}var kF,pee;function RJe(){if(pee)return kF;pee=1;function e(t,r){var n=t.length;for(t.sort(r);n--;)t[n]=t[n].value;return t}return kF=e,kF}var TF,mee;function kJe(){if(mee)return TF;mee=1;var e=PO();function t(r,n){if(r!==n){var i=r!==void 0,a=r===null,o=r===r,s=e(r),u=n!==void 0,l=n===null,c=n===n,f=e(n);if(!l&&!f&&!s&&r>n||s&&u&&c&&!l&&!f||a&&u&&c||!i&&c||!o)return 1;if(!a&&!s&&!f&&r<n||f&&i&&o&&!a&&!s||l&&i&&o||!u&&o||!c)return-1}return 0}return TF=t,TF}var AF,gee;function TJe(){if(gee)return AF;gee=1;var e=kJe();function t(r,n,i){for(var a=-1,o=r.criteria,s=n.criteria,u=o.length,l=i.length;++a<u;){var c=e(o[a],s[a]);if(c){if(a>=l)return c;var f=i[a];return c*(f=="desc"?-1:1)}}return r.index-n.index}return AF=t,AF}var FF,vee;function AJe(){if(vee)return FF;vee=1;var e=Uz(),t=Vz(),r=Cp(),n=kOe(),i=RJe(),a=_Oe(),o=TJe(),s=DO(),u=bc();function l(c,f,d){f.length?f=e(f,function(m){return u(m)?function(v){return t(v,m.length===1?m[0]:m)}:m}):f=[s];var h=-1;f=e(f,a(r));var g=n(c,function(m,v,y){var O=e(f,function(x){return x(m)});return{criteria:O,index:++h,value:m}});return i(g,function(m,v){return o(m,v,d)})}return FF=l,FF}var IF,yee;function FJe(){if(yee)return IF;yee=1;function e(t,r,n){switch(n.length){case 0:return t.call(r);case 1:return t.call(r,n[0]);case 2:return t.call(r,n[0],n[1]);case 3:return t.call(r,n[0],n[1],n[2])}return t.apply(r,n)}return IF=e,IF}var MF,bee;function IJe(){if(bee)return MF;bee=1;var e=FJe(),t=Math.max;function r(n,i,a){return i=t(i===void 0?n.length-1:i,0),function(){for(var o=arguments,s=-1,u=t(o.length-i,0),l=Array(u);++s<u;)l[s]=o[i+s];s=-1;for(var c=Array(i+1);++s<i;)c[s]=o[s];return c[i]=a(l),e(n,this,c)}}return MF=r,MF}var NF,Oee;function MJe(){if(Oee)return NF;Oee=1;function e(t){return function(){return t}}return NF=e,NF}var LF,xee;function TOe(){if(xee)return LF;xee=1;var e=Uy(),t=function(){try{var r=e(Object,"defineProperty");return r({},"",{}),r}catch{}}();return LF=t,LF}var zF,_ee;function NJe(){if(_ee)return zF;_ee=1;var e=MJe(),t=TOe(),r=DO(),n=t?function(i,a){return t(i,"toString",{configurable:!0,enumerable:!1,value:e(a),writable:!0})}:r;return zF=n,zF}var QF,See;function LJe(){if(See)return QF;See=1;var e=800,t=16,r=Date.now;function n(i){var a=0,o=0;return function(){var s=r(),u=t-(s-o);if(o=s,u>0){if(++a>=e)return arguments[0]}else a=0;return i.apply(void 0,arguments)}}return QF=n,QF}var BF,wee;function zJe(){if(wee)return BF;wee=1;var e=NJe(),t=LJe(),r=t(e);return BF=r,BF}var qF,Eee;function QJe(){if(Eee)return qF;Eee=1;var e=DO(),t=IJe(),r=zJe();function n(i,a){return r(t(i,a,e),i+"")}return qF=n,qF}var UF,$ee;function qC(){if($ee)return UF;$ee=1;var e=Qz(),t=Dw(),r=Hz(),n=qg();function i(a,o,s){if(!n(s))return!1;var u=typeof o;return(u=="number"?t(s)&&r(o,s.length):u=="string"&&o in s)?e(s[o],a):!1}return UF=i,UF}var VF,Cee;function BJe(){if(Cee)return VF;Cee=1;var e=DOe(),t=AJe(),r=QJe(),n=qC(),i=r(function(a,o){if(a==null)return[];var s=o.length;return s>1&&n(a,o[0],o[1])?o=[]:s>2&&n(o[0],o[1],o[2])&&(o=[o[0]]),t(a,e(o,1),[])});return VF=i,VF}var qJe=BJe();const J0t=an(qJe);var jF,Pee;function UJe(){if(Pee)return jF;Pee=1;var e=$p(),t=function(){return e.Date.now()};return jF=t,jF}var WF,Dee;function VJe(){if(Dee)return WF;Dee=1;var e=/\s/;function t(r){for(var n=r.length;n--&&e.test(r.charAt(n)););return n}return WF=t,WF}var ZF,Ree;function jJe(){if(Ree)return ZF;Ree=1;var e=VJe(),t=/^\s+/;function r(n){return n&&n.slice(0,e(n)+1).replace(t,"")}return ZF=r,ZF}var KF,kee;function AOe(){if(kee)return KF;kee=1;var e=jJe(),t=qg(),r=PO(),n=NaN,i=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,o=/^0o[0-7]+$/i,s=parseInt;function u(l){if(typeof l=="number")return l;if(r(l))return n;if(t(l)){var c=typeof l.valueOf=="function"?l.valueOf():l;l=t(c)?c+"":c}if(typeof l!="string")return l===0?l:+l;l=e(l);var f=a.test(l);return f||o.test(l)?s(l.slice(2),f?2:8):i.test(l)?n:+l}return KF=u,KF}var HF,Tee;function FOe(){if(Tee)return HF;Tee=1;var e=qg(),t=UJe(),r=AOe(),n="Expected a function",i=Math.max,a=Math.min;function o(s,u,l){var c,f,d,h,g,m,v=0,y=!1,O=!1,x=!0;if(typeof s!="function")throw new TypeError(n);u=r(u)||0,e(l)&&(y=!!l.leading,O="maxWait"in l,d=O?i(r(l.maxWait)||0,u):d,x="trailing"in l?!!l.trailing:x);function C(A){var H=c,k=f;return c=f=void 0,v=A,h=s.apply(k,H),h}function w(A){return v=A,g=setTimeout(P,u),y?C(A):h}function E(A){var H=A-m,k=A-v,Q=u-H;return O?a(Q,d-k):Q}function T(A){var H=A-m,k=A-v;return m===void 0||H>=u||H<0||O&&k>=d}function P(){var A=t();if(T(A))return L(A);g=setTimeout(P,E(A))}function L(A){return g=void 0,x&&c?C(A):(c=f=void 0,h)}function N(){g!==void 0&&clearTimeout(g),v=0,c=m=f=g=void 0}function B(){return g===void 0?h:L(t())}function j(){var A=t(),H=T(A);if(c=arguments,f=this,m=A,H){if(g===void 0)return w(m);if(O)return clearTimeout(g),g=setTimeout(P,u),C(m)}return g===void 0&&(g=setTimeout(P,u)),h}return j.cancel=N,j.flush=B,j}return HF=o,HF}var YF,Aee;function WJe(){if(Aee)return YF;Aee=1;var e=FOe(),t=qg(),r="Expected a function";function n(i,a,o){var s=!0,u=!0;if(typeof i!="function")throw new TypeError(r);return t(o)&&(s="leading"in o?!!o.leading:s,u="trailing"in o?!!o.trailing:u),e(i,a,{leading:s,maxWait:a,trailing:u})}return YF=n,YF}var ZJe=WJe();const emt=an(ZJe);function ad(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}function nm(e,t){switch(arguments.length){case 0:break;case 1:{typeof e=="function"?this.interpolator(e):this.range(e);break}default:{this.domain(e),typeof t=="function"?this.interpolator(t):this.range(t);break}}return this}const pM=Symbol("implicit");function Jz(){var e=new mH,t=[],r=[],n=pM;function i(a){let o=e.get(a);if(o===void 0){if(n!==pM)return n;e.set(a,o=t.push(a)-1)}return r[o%r.length]}return i.domain=function(a){if(!arguments.length)return t.slice();t=[],e=new mH;for(const o of a)e.has(o)||e.set(o,t.push(o)-1);return i},i.range=function(a){return arguments.length?(r=Array.from(a),i):r.slice()},i.unknown=function(a){return arguments.length?(n=a,i):n},i.copy=function(){return Jz(t,r).unknown(n)},ad.apply(i,arguments),i}function eQ(){var e=Jz().unknown(void 0),t=e.domain,r=e.range,n=0,i=1,a,o,s=!1,u=0,l=0,c=.5;delete e.unknown;function f(){var d=t().length,h=i<n,g=h?i:n,m=h?n:i;a=(m-g)/Math.max(1,d-u+l*2),s&&(a=Math.floor(a)),g+=(m-g-a*(d-u))*c,o=a*(1-u),s&&(g=Math.round(g),o=Math.round(o));var v=xze(d).map(function(y){return g+a*y});return r(h?v.reverse():v)}return e.domain=function(d){return arguments.length?(t(d),f()):t()},e.range=function(d){return arguments.length?([n,i]=d,n=+n,i=+i,f()):[n,i]},e.rangeRound=function(d){return[n,i]=d,n=+n,i=+i,s=!0,f()},e.bandwidth=function(){return o},e.step=function(){return a},e.round=function(d){return arguments.length?(s=!!d,f()):s},e.padding=function(d){return arguments.length?(u=Math.min(1,l=+d),f()):u},e.paddingInner=function(d){return arguments.length?(u=Math.min(1,d),f()):u},e.paddingOuter=function(d){return arguments.length?(l=+d,f()):l},e.align=function(d){return arguments.length?(c=Math.max(0,Math.min(1,d)),f()):c},e.copy=function(){return eQ(t(),[n,i]).round(s).paddingInner(u).paddingOuter(l).align(c)},ad.apply(f(),arguments)}function IOe(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return IOe(t())},e}function KJe(){return IOe(eQ.apply(null,arguments).paddingInner(1))}function HJe(e){return function(){return e}}function A4(e){return+e}var Fee=[0,1];function gl(e){return e}function mM(e,t){return(t-=e=+e)?function(r){return(r-e)/t}:HJe(isNaN(t)?NaN:.5)}function YJe(e,t){var r;return e>t&&(r=e,e=t,t=r),function(n){return Math.max(e,Math.min(t,n))}}function GJe(e,t,r){var n=e[0],i=e[1],a=t[0],o=t[1];return i<n?(n=mM(i,n),a=r(o,a)):(n=mM(n,i),a=r(a,o)),function(s){return a(n(s))}}function XJe(e,t,r){var n=Math.min(e.length,t.length)-1,i=new Array(n),a=new Array(n),o=-1;for(e[n]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++o<n;)i[o]=mM(e[o],e[o+1]),a[o]=r(t[o],t[o+1]);return function(s){var u=gw(e,s,1,n)-1;return a[u](i[u](s))}}function Rw(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function UC(){var e=Fee,t=Fee,r=pO,n,i,a,o=gl,s,u,l;function c(){var d=Math.min(e.length,t.length);return o!==gl&&(o=YJe(e[0],e[d-1])),s=d>2?XJe:GJe,u=l=null,f}function f(d){return d==null||isNaN(d=+d)?a:(u||(u=s(e.map(n),t,r)))(n(o(d)))}return f.invert=function(d){return o(i((l||(l=s(t,e.map(n),k2)))(d)))},f.domain=function(d){return arguments.length?(e=Array.from(d,A4),c()):e.slice()},f.range=function(d){return arguments.length?(t=Array.from(d),c()):t.slice()},f.rangeRound=function(d){return t=Array.from(d),r=eL,c()},f.clamp=function(d){return arguments.length?(o=d?!0:gl,c()):o!==gl},f.interpolate=function(d){return arguments.length?(r=d,c()):r},f.unknown=function(d){return arguments.length?(a=d,f):a},function(d,h){return n=d,i=h,c()}}function tQ(){return UC()(gl,gl)}function MOe(e,t,r,n){var i=k9(e,t,r),a;switch(n=$S(n??",f"),n.type){case"s":{var o=Math.max(Math.abs(e),Math.abs(t));return n.precision==null&&!isNaN(a=BBe(i,o))&&(n.precision=a),Gve(n,o)}case"":case"e":case"g":case"p":case"r":{n.precision==null&&!isNaN(a=qBe(i,Math.max(Math.abs(e),Math.abs(t))))&&(n.precision=a-(n.type==="e"));break}case"f":case"%":{n.precision==null&&!isNaN(a=QBe(i))&&(n.precision=a-(n.type==="%")*2);break}}return rz(n)}function Ug(e){var t=e.domain;return e.ticks=function(r){var n=t();return D9(n[0],n[n.length-1],r??10)},e.tickFormat=function(r,n){var i=t();return MOe(i[0],i[i.length-1],r??10,n)},e.nice=function(r){r==null&&(r=10);var n=t(),i=0,a=n.length-1,o=n[i],s=n[a],u,l,c=10;for(s<o&&(l=o,o=s,s=l,l=i,i=a,a=l);c-- >0;){if(l=R9(o,s,r),l===u)return n[i]=o,n[a]=s,t(n);if(l>0)o=Math.floor(o/l)*l,s=Math.ceil(s/l)*l;else if(l<0)o=Math.ceil(o*l)/l,s=Math.floor(s*l)/l;else break;u=l}return e},e}function NOe(){var e=tQ();return e.copy=function(){return Rw(e,NOe())},ad.apply(e,arguments),Ug(e)}function LOe(e){var t;function r(n){return n==null||isNaN(n=+n)?t:n}return r.invert=r,r.domain=r.range=function(n){return arguments.length?(e=Array.from(n,A4),r):e.slice()},r.unknown=function(n){return arguments.length?(t=n,r):t},r.copy=function(){return LOe(e).unknown(t)},e=arguments.length?Array.from(e,A4):[0,1],Ug(r)}function zOe(e,t){e=e.slice();var r=0,n=e.length-1,i=e[r],a=e[n],o;return a<i&&(o=r,r=n,n=o,o=i,i=a,a=o),e[r]=t.floor(i),e[n]=t.ceil(a),e}function Iee(e){return Math.log(e)}function Mee(e){return Math.exp(e)}function JJe(e){return-Math.log(-e)}function eet(e){return-Math.exp(-e)}function tet(e){return isFinite(e)?+("1e"+e):e<0?0:e}function ret(e){return e===10?tet:e===Math.E?Math.exp:t=>Math.pow(e,t)}function net(e){return e===Math.E?Math.log:e===10&&Math.log10||e===2&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}function Nee(e){return(t,r)=>-e(-t,r)}function rQ(e){const t=e(Iee,Mee),r=t.domain;let n=10,i,a;function o(){return i=net(n),a=ret(n),r()[0]<0?(i=Nee(i),a=Nee(a),e(JJe,eet)):e(Iee,Mee),t}return t.base=function(s){return arguments.length?(n=+s,o()):n},t.domain=function(s){return arguments.length?(r(s),o()):r()},t.ticks=s=>{const u=r();let l=u[0],c=u[u.length-1];const f=c<l;f&&([l,c]=[c,l]);let d=i(l),h=i(c),g,m;const v=s==null?10:+s;let y=[];if(!(n%1)&&h-d<v){if(d=Math.floor(d),h=Math.ceil(h),l>0){for(;d<=h;++d)for(g=1;g<n;++g)if(m=d<0?g/a(-d):g*a(d),!(m<l)){if(m>c)break;y.push(m)}}else for(;d<=h;++d)for(g=n-1;g>=1;--g)if(m=d>0?g/a(-d):g*a(d),!(m<l)){if(m>c)break;y.push(m)}y.length*2<v&&(y=D9(l,c,v))}else y=D9(d,h,Math.min(h-d,v)).map(a);return f?y.reverse():y},t.tickFormat=(s,u)=>{if(s==null&&(s=10),u==null&&(u=n===10?"s":","),typeof u!="function"&&(!(n%1)&&(u=$S(u)).precision==null&&(u.trim=!0),u=rz(u)),s===1/0)return u;const l=Math.max(1,n*s/t.ticks().length);return c=>{let f=c/a(Math.round(i(c)));return f*n<n-.5&&(f*=n),f<=l?u(c):""}},t.nice=()=>r(zOe(r(),{floor:s=>a(Math.floor(i(s))),ceil:s=>a(Math.ceil(i(s)))})),t}function QOe(){const e=rQ(UC()).domain([1,10]);return e.copy=()=>Rw(e,QOe()).base(e.base()),ad.apply(e,arguments),e}function Lee(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function zee(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function nQ(e){var t=1,r=e(Lee(t),zee(t));return r.constant=function(n){return arguments.length?e(Lee(t=+n),zee(t)):t},Ug(r)}function BOe(){var e=nQ(UC());return e.copy=function(){return Rw(e,BOe()).constant(e.constant())},ad.apply(e,arguments)}function Qee(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function iet(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function aet(e){return e<0?-e*e:e*e}function iQ(e){var t=e(gl,gl),r=1;function n(){return r===1?e(gl,gl):r===.5?e(iet,aet):e(Qee(r),Qee(1/r))}return t.exponent=function(i){return arguments.length?(r=+i,n()):r},Ug(t)}function aQ(){var e=iQ(UC());return e.copy=function(){return Rw(e,aQ()).exponent(e.exponent())},ad.apply(e,arguments),e}function oet(){return aQ.apply(null,arguments).exponent(.5)}function Bee(e){return Math.sign(e)*e*e}function set(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function qOe(){var e=tQ(),t=[0,1],r=!1,n;function i(a){var o=set(e(a));return isNaN(o)?n:r?Math.round(o):o}return i.invert=function(a){return e.invert(Bee(a))},i.domain=function(a){return arguments.length?(e.domain(a),i):e.domain()},i.range=function(a){return arguments.length?(e.range((t=Array.from(a,A4)).map(Bee)),i):t.slice()},i.rangeRound=function(a){return i.range(a).round(!0)},i.round=function(a){return arguments.length?(r=!!a,i):r},i.clamp=function(a){return arguments.length?(e.clamp(a),i):e.clamp()},i.unknown=function(a){return arguments.length?(n=a,i):n},i.copy=function(){return qOe(e.domain(),t).round(r).clamp(e.clamp()).unknown(n)},ad.apply(i,arguments),Ug(i)}function UOe(){var e=[],t=[],r=[],n;function i(){var o=0,s=Math.max(1,t.length);for(r=new Array(s-1);++o<s;)r[o-1]=Oze(e,o/s);return a}function a(o){return o==null||isNaN(o=+o)?n:t[gw(r,o)]}return a.invertExtent=function(o){var s=t.indexOf(o);return s<0?[NaN,NaN]:[s>0?r[s-1]:e[0],s<r.length?r[s]:e[e.length-1]]},a.domain=function(o){if(!arguments.length)return e.slice();e=[];for(let s of o)s!=null&&!isNaN(s=+s)&&e.push(s);return e.sort(lg),i()},a.range=function(o){return arguments.length?(t=Array.from(o),i()):t.slice()},a.unknown=function(o){return arguments.length?(n=o,a):n},a.quantiles=function(){return r.slice()},a.copy=function(){return UOe().domain(e).range(t).unknown(n)},ad.apply(a,arguments)}function VOe(){var e=0,t=1,r=1,n=[.5],i=[0,1],a;function o(u){return u!=null&&u<=u?i[gw(n,u,0,r)]:a}function s(){var u=-1;for(n=new Array(r);++u<r;)n[u]=((u+1)*t-(u-r)*e)/(r+1);return o}return o.domain=function(u){return arguments.length?([e,t]=u,e=+e,t=+t,s()):[e,t]},o.range=function(u){return arguments.length?(r=(i=Array.from(u)).length-1,s()):i.slice()},o.invertExtent=function(u){var l=i.indexOf(u);return l<0?[NaN,NaN]:l<1?[e,n[0]]:l>=r?[n[r-1],t]:[n[l-1],n[l]]},o.unknown=function(u){return arguments.length&&(a=u),o},o.thresholds=function(){return n.slice()},o.copy=function(){return VOe().domain([e,t]).range(i).unknown(a)},ad.apply(Ug(o),arguments)}function jOe(){var e=[.5],t=[0,1],r,n=1;function i(a){return a!=null&&a<=a?t[gw(e,a,0,n)]:r}return i.domain=function(a){return arguments.length?(e=Array.from(a),n=Math.min(e.length,t.length-1),i):e.slice()},i.range=function(a){return arguments.length?(t=Array.from(a),n=Math.min(e.length,t.length-1),i):t.slice()},i.invertExtent=function(a){var o=t.indexOf(a);return[e[o-1],e[o]]},i.unknown=function(a){return arguments.length?(r=a,i):r},i.copy=function(){return jOe().domain(e).range(t).unknown(r)},ad.apply(i,arguments)}function uet(e){return new Date(e)}function cet(e){return e instanceof Date?+e:+new Date(+e)}function oQ(e,t,r,n,i,a,o,s,u,l){var c=tQ(),f=c.invert,d=c.domain,h=l(".%L"),g=l(":%S"),m=l("%I:%M"),v=l("%I %p"),y=l("%a %d"),O=l("%b %d"),x=l("%B"),C=l("%Y");function w(E){return(u(E)<E?h:s(E)<E?g:o(E)<E?m:a(E)<E?v:n(E)<E?i(E)<E?y:O:r(E)<E?x:C)(E)}return c.invert=function(E){return new Date(f(E))},c.domain=function(E){return arguments.length?d(Array.from(E,cet)):d().map(uet)},c.ticks=function(E){var T=d();return e(T[0],T[T.length-1],E??10)},c.tickFormat=function(E,T){return T==null?w:l(T)},c.nice=function(E){var T=d();return(!E||typeof E.range!="function")&&(E=t(T[0],T[T.length-1],E??10)),E?d(zOe(T,E)):c},c.copy=function(){return Rw(c,oQ(e,t,r,n,i,a,o,s,u,l))},c}function fet(){return ad.apply(oQ(wze,Eze,V0,jL,iC,mw,UL,BL,Hv,_ve).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function det(){return ad.apply(oQ(_ze,Sze,j0,WL,aC,nC,VL,qL,Hv,Sve).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function VC(){var e=0,t=1,r,n,i,a,o=gl,s=!1,u;function l(f){return f==null||isNaN(f=+f)?u:o(i===0?.5:(f=(a(f)-r)*i,s?Math.max(0,Math.min(1,f)):f))}l.domain=function(f){return arguments.length?([e,t]=f,r=a(e=+e),n=a(t=+t),i=r===n?0:1/(n-r),l):[e,t]},l.clamp=function(f){return arguments.length?(s=!!f,l):s},l.interpolator=function(f){return arguments.length?(o=f,l):o};function c(f){return function(d){var h,g;return arguments.length?([h,g]=d,o=f(h,g),l):[o(0),o(1)]}}return l.range=c(pO),l.rangeRound=c(eL),l.unknown=function(f){return arguments.length?(u=f,l):u},function(f){return a=f,r=f(e),n=f(t),i=r===n?0:1/(n-r),l}}function Vg(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function WOe(){var e=Ug(VC()(gl));return e.copy=function(){return Vg(e,WOe())},nm.apply(e,arguments)}function ZOe(){var e=rQ(VC()).domain([1,10]);return e.copy=function(){return Vg(e,ZOe()).base(e.base())},nm.apply(e,arguments)}function KOe(){var e=nQ(VC());return e.copy=function(){return Vg(e,KOe()).constant(e.constant())},nm.apply(e,arguments)}function sQ(){var e=iQ(VC());return e.copy=function(){return Vg(e,sQ()).exponent(e.exponent())},nm.apply(e,arguments)}function het(){return sQ.apply(null,arguments).exponent(.5)}function HOe(){var e=[],t=gl;function r(n){if(n!=null&&!isNaN(n=+n))return t((gw(e,n,1)-1)/(e.length-1))}return r.domain=function(n){if(!arguments.length)return e.slice();e=[];for(let i of n)i!=null&&!isNaN(i=+i)&&e.push(i);return e.sort(lg),r},r.interpolator=function(n){return arguments.length?(t=n,r):t},r.range=function(){return e.map((n,i)=>t(i/(e.length-1)))},r.quantiles=function(n){return Array.from({length:n+1},(i,a)=>bze(e,a/n))},r.copy=function(){return HOe(t).domain(e)},nm.apply(r,arguments)}function jC(){var e=0,t=.5,r=1,n=1,i,a,o,s,u,l=gl,c,f=!1,d;function h(m){return isNaN(m=+m)?d:(m=.5+((m=+c(m))-a)*(n*m<n*a?s:u),l(f?Math.max(0,Math.min(1,m)):m))}h.domain=function(m){return arguments.length?([e,t,r]=m,i=c(e=+e),a=c(t=+t),o=c(r=+r),s=i===a?0:.5/(a-i),u=a===o?0:.5/(o-a),n=a<i?-1:1,h):[e,t,r]},h.clamp=function(m){return arguments.length?(f=!!m,h):f},h.interpolator=function(m){return arguments.length?(l=m,h):l};function g(m){return function(v){var y,O,x;return arguments.length?([y,O,x]=v,l=J5e(m,[y,O,x]),h):[l(0),l(.5),l(1)]}}return h.range=g(pO),h.rangeRound=g(eL),h.unknown=function(m){return arguments.length?(d=m,h):d},function(m){return c=m,i=m(e),a=m(t),o=m(r),s=i===a?0:.5/(a-i),u=a===o?0:.5/(o-a),n=a<i?-1:1,h}}function YOe(){var e=Ug(jC()(gl));return e.copy=function(){return Vg(e,YOe())},nm.apply(e,arguments)}function GOe(){var e=rQ(jC()).domain([.1,1,10]);return e.copy=function(){return Vg(e,GOe()).base(e.base())},nm.apply(e,arguments)}function XOe(){var e=nQ(jC());return e.copy=function(){return Vg(e,XOe()).constant(e.constant())},nm.apply(e,arguments)}function uQ(){var e=iQ(jC());return e.copy=function(){return Vg(e,uQ()).exponent(e.exponent())},nm.apply(e,arguments)}function pet(){return uQ.apply(null,arguments).exponent(.5)}const tmt=Object.freeze(Object.defineProperty({__proto__:null,scaleBand:eQ,scaleDiverging:YOe,scaleDivergingLog:GOe,scaleDivergingPow:uQ,scaleDivergingSqrt:pet,scaleDivergingSymlog:XOe,scaleIdentity:LOe,scaleImplicit:pM,scaleLinear:NOe,scaleLog:QOe,scaleOrdinal:Jz,scalePoint:KJe,scalePow:aQ,scaleQuantile:UOe,scaleQuantize:VOe,scaleRadial:qOe,scaleSequential:WOe,scaleSequentialLog:ZOe,scaleSequentialPow:sQ,scaleSequentialQuantile:HOe,scaleSequentialSqrt:het,scaleSequentialSymlog:KOe,scaleSqrt:oet,scaleSymlog:BOe,scaleThreshold:jOe,scaleTime:fet,scaleUtc:det,tickFormat:MOe},Symbol.toStringTag,{value:"Module"}));var GF,qee;function WC(){if(qee)return GF;qee=1;var e=PO();function t(r,n,i){for(var a=-1,o=r.length;++a<o;){var s=r[a],u=n(s);if(u!=null&&(l===void 0?u===u&&!e(u):i(u,l)))var l=u,c=s}return c}return GF=t,GF}var XF,Uee;function JOe(){if(Uee)return XF;Uee=1;function e(t,r){return t>r}return XF=e,XF}var JF,Vee;function met(){if(Vee)return JF;Vee=1;var e=WC(),t=JOe(),r=DO();function n(i){return i&&i.length?e(i,r,t):void 0}return JF=n,JF}var get=met();const rmt=an(get);var e7,jee;function exe(){if(jee)return e7;jee=1;function e(t,r){return t<r}return e7=e,e7}var t7,Wee;function vet(){if(Wee)return t7;Wee=1;var e=WC(),t=exe(),r=DO();function n(i){return i&&i.length?e(i,r,t):void 0}return t7=n,t7}var yet=vet();const nmt=an(yet);var r7,Zee;function bet(){if(Zee)return r7;Zee=1;var e=Uz(),t=Cp(),r=kOe(),n=bc();function i(a,o){var s=n(a)?e:r;return s(a,t(o,3))}return r7=i,r7}var n7,Kee;function Oet(){if(Kee)return n7;Kee=1;var e=DOe(),t=bet();function r(n,i){return e(t(n,i),1)}return n7=r,n7}var xet=Oet();const imt=an(xet);var i7,Hee;function _et(){if(Hee)return i7;Hee=1;var e=Gz();function t(r,n){return e(r,n)}return i7=t,i7}var wet=_et();const amt=an(wet);var RO=1e9,Eet={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},cQ,Oa=!0,Gf="[DecimalError] ",sy=Gf+"Invalid argument: ",lQ=Gf+"Exponent out of range: ",kO=Math.floor,Iv=Math.pow,$et=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,Jc,$s=1e7,ha=7,txe=9007199254740991,F4=kO(txe/ha),sr={};sr.absoluteValue=sr.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e};sr.comparedTo=sr.cmp=function(e){var t,r,n,i,a=this;if(e=new a.constructor(e),a.s!==e.s)return a.s||-e.s;if(a.e!==e.e)return a.e>e.e^a.s<0?1:-1;for(n=a.d.length,i=e.d.length,t=0,r=n<i?n:i;t<r;++t)if(a.d[t]!==e.d[t])return a.d[t]>e.d[t]^a.s<0?1:-1;return n===i?0:n>i^a.s<0?1:-1};sr.decimalPlaces=sr.dp=function(){var e=this,t=e.d.length-1,r=(t-e.e)*ha;if(t=e.d[t],t)for(;t%10==0;t/=10)r--;return r<0?0:r};sr.dividedBy=sr.div=function(e){return L0(this,new this.constructor(e))};sr.dividedToIntegerBy=sr.idiv=function(e){var t=this,r=t.constructor;return Qi(L0(t,new r(e),0,1),r.precision)};sr.equals=sr.eq=function(e){return!this.cmp(e)};sr.exponent=function(){return Bo(this)};sr.greaterThan=sr.gt=function(e){return this.cmp(e)>0};sr.greaterThanOrEqualTo=sr.gte=function(e){return this.cmp(e)>=0};sr.isInteger=sr.isint=function(){return this.e>this.d.length-2};sr.isNegative=sr.isneg=function(){return this.s<0};sr.isPositive=sr.ispos=function(){return this.s>0};sr.isZero=function(){return this.s===0};sr.lessThan=sr.lt=function(e){return this.cmp(e)<0};sr.lessThanOrEqualTo=sr.lte=function(e){return this.cmp(e)<1};sr.logarithm=sr.log=function(e){var t,r=this,n=r.constructor,i=n.precision,a=i+5;if(e===void 0)e=new n(10);else if(e=new n(e),e.s<1||e.eq(Jc))throw Error(Gf+"NaN");if(r.s<1)throw Error(Gf+(r.s?"NaN":"-Infinity"));return r.eq(Jc)?new n(0):(Oa=!1,t=L0(zS(r,a),zS(e,a),a),Oa=!0,Qi(t,i))};sr.minus=sr.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?ixe(t,e):rxe(t,(e.s=-e.s,e))};sr.modulo=sr.mod=function(e){var t,r=this,n=r.constructor,i=n.precision;if(e=new n(e),!e.s)throw Error(Gf+"NaN");return r.s?(Oa=!1,t=L0(r,e,0,1).times(e),Oa=!0,r.minus(t)):Qi(new n(r),i)};sr.naturalExponential=sr.exp=function(){return nxe(this)};sr.naturalLogarithm=sr.ln=function(){return zS(this)};sr.negated=sr.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e};sr.plus=sr.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?rxe(t,e):ixe(t,(e.s=-e.s,e))};sr.precision=sr.sd=function(e){var t,r,n,i=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(sy+e);if(t=Bo(i)+1,n=i.d.length-1,r=n*ha+1,n=i.d[n],n){for(;n%10==0;n/=10)r--;for(n=i.d[0];n>=10;n/=10)r++}return e&&t>r?t:r};sr.squareRoot=sr.sqrt=function(){var e,t,r,n,i,a,o,s=this,u=s.constructor;if(s.s<1){if(!s.s)return new u(0);throw Error(Gf+"NaN")}for(e=Bo(s),Oa=!1,i=Math.sqrt(+s),i==0||i==1/0?(t=up(s.d),(t.length+e)%2==0&&(t+="0"),i=Math.sqrt(t),e=kO((e+1)/2)-(e<0||e%2),i==1/0?t="5e"+e:(t=i.toExponential(),t=t.slice(0,t.indexOf("e")+1)+e),n=new u(t)):n=new u(i.toString()),r=u.precision,i=o=r+3;;)if(a=n,n=a.plus(L0(s,a,o+2)).times(.5),up(a.d).slice(0,o)===(t=up(n.d)).slice(0,o)){if(t=t.slice(o-3,o+1),i==o&&t=="4999"){if(Qi(a,r+1,0),a.times(a).eq(s)){n=a;break}}else if(t!="9999")break;o+=4}return Oa=!0,Qi(n,r)};sr.times=sr.mul=function(e){var t,r,n,i,a,o,s,u,l,c=this,f=c.constructor,d=c.d,h=(e=new f(e)).d;if(!c.s||!e.s)return new f(0);for(e.s*=c.s,r=c.e+e.e,u=d.length,l=h.length,u<l&&(a=d,d=h,h=a,o=u,u=l,l=o),a=[],o=u+l,n=o;n--;)a.push(0);for(n=l;--n>=0;){for(t=0,i=u+n;i>n;)s=a[i]+h[n]*d[i-n-1]+t,a[i--]=s%$s|0,t=s/$s|0;a[i]=(a[i]+t)%$s|0}for(;!a[--o];)a.pop();return t?++r:a.shift(),e.d=a,e.e=r,Oa?Qi(e,f.precision):e};sr.toDecimalPlaces=sr.todp=function(e,t){var r=this,n=r.constructor;return r=new n(r),e===void 0?r:(Op(e,0,RO),t===void 0?t=n.rounding:Op(t,0,8),Qi(r,e+Bo(r)+1,t))};sr.toExponential=function(e,t){var r,n=this,i=n.constructor;return e===void 0?r=$y(n,!0):(Op(e,0,RO),t===void 0?t=i.rounding:Op(t,0,8),n=Qi(new i(n),e+1,t),r=$y(n,!0,e+1)),r};sr.toFixed=function(e,t){var r,n,i=this,a=i.constructor;return e===void 0?$y(i):(Op(e,0,RO),t===void 0?t=a.rounding:Op(t,0,8),n=Qi(new a(i),e+Bo(i)+1,t),r=$y(n.abs(),!1,e+Bo(n)+1),i.isneg()&&!i.isZero()?"-"+r:r)};sr.toInteger=sr.toint=function(){var e=this,t=e.constructor;return Qi(new t(e),Bo(e)+1,t.rounding)};sr.toNumber=function(){return+this};sr.toPower=sr.pow=function(e){var t,r,n,i,a,o,s=this,u=s.constructor,l=12,c=+(e=new u(e));if(!e.s)return new u(Jc);if(s=new u(s),!s.s){if(e.s<1)throw Error(Gf+"Infinity");return s}if(s.eq(Jc))return s;if(n=u.precision,e.eq(Jc))return Qi(s,n);if(t=e.e,r=e.d.length-1,o=t>=r,a=s.s,o){if((r=c<0?-c:c)<=txe){for(i=new u(Jc),t=Math.ceil(n/ha+4),Oa=!1;r%2&&(i=i.times(s),Gee(i.d,t)),r=kO(r/2),r!==0;)s=s.times(s),Gee(s.d,t);return Oa=!0,e.s<0?new u(Jc).div(i):Qi(i,n)}}else if(a<0)throw Error(Gf+"NaN");return a=a<0&&e.d[Math.max(t,r)]&1?-1:1,s.s=1,Oa=!1,i=e.times(zS(s,n+l)),Oa=!0,i=nxe(i),i.s=a,i};sr.toPrecision=function(e,t){var r,n,i=this,a=i.constructor;return e===void 0?(r=Bo(i),n=$y(i,r<=a.toExpNeg||r>=a.toExpPos)):(Op(e,1,RO),t===void 0?t=a.rounding:Op(t,0,8),i=Qi(new a(i),e,t),r=Bo(i),n=$y(i,e<=r||r<=a.toExpNeg,e)),n};sr.toSignificantDigits=sr.tosd=function(e,t){var r=this,n=r.constructor;return e===void 0?(e=n.precision,t=n.rounding):(Op(e,1,RO),t===void 0?t=n.rounding:Op(t,0,8)),Qi(new n(r),e,t)};sr.toString=sr.valueOf=sr.val=sr.toJSON=sr[Symbol.for("nodejs.util.inspect.custom")]=function(){var e=this,t=Bo(e),r=e.constructor;return $y(e,t<=r.toExpNeg||t>=r.toExpPos)};function rxe(e,t){var r,n,i,a,o,s,u,l,c=e.constructor,f=c.precision;if(!e.s||!t.s)return t.s||(t=new c(e)),Oa?Qi(t,f):t;if(u=e.d,l=t.d,o=e.e,i=t.e,u=u.slice(),a=o-i,a){for(a<0?(n=u,a=-a,s=l.length):(n=l,i=o,s=u.length),o=Math.ceil(f/ha),s=o>s?o+1:s+1,a>s&&(a=s,n.length=1),n.reverse();a--;)n.push(0);n.reverse()}for(s=u.length,a=l.length,s-a<0&&(a=s,n=l,l=u,u=n),r=0;a;)r=(u[--a]=u[a]+l[a]+r)/$s|0,u[a]%=$s;for(r&&(u.unshift(r),++i),s=u.length;u[--s]==0;)u.pop();return t.d=u,t.e=i,Oa?Qi(t,f):t}function Op(e,t,r){if(e!==~~e||e<t||e>r)throw Error(sy+e)}function up(e){var t,r,n,i=e.length-1,a="",o=e[0];if(i>0){for(a+=o,t=1;t<i;t++)n=e[t]+"",r=ha-n.length,r&&(a+=Zm(r)),a+=n;o=e[t],n=o+"",r=ha-n.length,r&&(a+=Zm(r))}else if(o===0)return"0";for(;o%10===0;)o/=10;return a+o}var L0=function(){function e(n,i){var a,o=0,s=n.length;for(n=n.slice();s--;)a=n[s]*i+o,n[s]=a%$s|0,o=a/$s|0;return o&&n.unshift(o),n}function t(n,i,a,o){var s,u;if(a!=o)u=a>o?1:-1;else for(s=u=0;s<a;s++)if(n[s]!=i[s]){u=n[s]>i[s]?1:-1;break}return u}function r(n,i,a){for(var o=0;a--;)n[a]-=o,o=n[a]<i[a]?1:0,n[a]=o*$s+n[a]-i[a];for(;!n[0]&&n.length>1;)n.shift()}return function(n,i,a,o){var s,u,l,c,f,d,h,g,m,v,y,O,x,C,w,E,T,P,L=n.constructor,N=n.s==i.s?1:-1,B=n.d,j=i.d;if(!n.s)return new L(n);if(!i.s)throw Error(Gf+"Division by zero");for(u=n.e-i.e,T=j.length,w=B.length,h=new L(N),g=h.d=[],l=0;j[l]==(B[l]||0);)++l;if(j[l]>(B[l]||0)&&--u,a==null?O=a=L.precision:o?O=a+(Bo(n)-Bo(i))+1:O=a,O<0)return new L(0);if(O=O/ha+2|0,l=0,T==1)for(c=0,j=j[0],O++;(l<w||c)&&O--;l++)x=c*$s+(B[l]||0),g[l]=x/j|0,c=x%j|0;else{for(c=$s/(j[0]+1)|0,c>1&&(j=e(j,c),B=e(B,c),T=j.length,w=B.length),C=T,m=B.slice(0,T),v=m.length;v<T;)m[v++]=0;P=j.slice(),P.unshift(0),E=j[0],j[1]>=$s/2&&++E;do c=0,s=t(j,m,T,v),s<0?(y=m[0],T!=v&&(y=y*$s+(m[1]||0)),c=y/E|0,c>1?(c>=$s&&(c=$s-1),f=e(j,c),d=f.length,v=m.length,s=t(f,m,d,v),s==1&&(c--,r(f,T<d?P:j,d))):(c==0&&(s=c=1),f=j.slice()),d=f.length,d<v&&f.unshift(0),r(m,f,v),s==-1&&(v=m.length,s=t(j,m,T,v),s<1&&(c++,r(m,T<v?P:j,v))),v=m.length):s===0&&(c++,m=[0]),g[l++]=c,s&&m[0]?m[v++]=B[C]||0:(m=[B[C]],v=1);while((C++<w||m[0]!==void 0)&&O--)}return g[0]||g.shift(),h.e=u,Qi(h,o?a+Bo(h)+1:a)}}();function nxe(e,t){var r,n,i,a,o,s,u=0,l=0,c=e.constructor,f=c.precision;if(Bo(e)>16)throw Error(lQ+Bo(e));if(!e.s)return new c(Jc);for(Oa=!1,s=f,o=new c(.03125);e.abs().gte(.1);)e=e.times(o),l+=5;for(n=Math.log(Iv(2,l))/Math.LN10*2+5|0,s+=n,r=i=a=new c(Jc),c.precision=s;;){if(i=Qi(i.times(e),s),r=r.times(++u),o=a.plus(L0(i,r,s)),up(o.d).slice(0,s)===up(a.d).slice(0,s)){for(;l--;)a=Qi(a.times(a),s);return c.precision=f,t==null?(Oa=!0,Qi(a,f)):a}a=o}}function Bo(e){for(var t=e.e*ha,r=e.d[0];r>=10;r/=10)t++;return t}function a7(e,t,r){if(t>e.LN10.sd())throw Oa=!0,r&&(e.precision=r),Error(Gf+"LN10 precision limit exceeded");return Qi(new e(e.LN10),t)}function Zm(e){for(var t="";e--;)t+="0";return t}function zS(e,t){var r,n,i,a,o,s,u,l,c,f=1,d=10,h=e,g=h.d,m=h.constructor,v=m.precision;if(h.s<1)throw Error(Gf+(h.s?"NaN":"-Infinity"));if(h.eq(Jc))return new m(0);if(t==null?(Oa=!1,l=v):l=t,h.eq(10))return t==null&&(Oa=!0),a7(m,l);if(l+=d,m.precision=l,r=up(g),n=r.charAt(0),a=Bo(h),Math.abs(a)<15e14){for(;n<7&&n!=1||n==1&&r.charAt(1)>3;)h=h.times(e),r=up(h.d),n=r.charAt(0),f++;a=Bo(h),n>1?(h=new m("0."+r),a++):h=new m(n+"."+r.slice(1))}else return u=a7(m,l+2,v).times(a+""),h=zS(new m(n+"."+r.slice(1)),l-d).plus(u),m.precision=v,t==null?(Oa=!0,Qi(h,v)):h;for(s=o=h=L0(h.minus(Jc),h.plus(Jc),l),c=Qi(h.times(h),l),i=3;;){if(o=Qi(o.times(c),l),u=s.plus(L0(o,new m(i),l)),up(u.d).slice(0,l)===up(s.d).slice(0,l))return s=s.times(2),a!==0&&(s=s.plus(a7(m,l+2,v).times(a+""))),s=L0(s,new m(f),l),m.precision=v,t==null?(Oa=!0,Qi(s,v)):s;s=u,i+=2}}function Yee(e,t){var r,n,i;for((r=t.indexOf("."))>-1&&(t=t.replace(".","")),(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length),n=0;t.charCodeAt(n)===48;)++n;for(i=t.length;t.charCodeAt(i-1)===48;)--i;if(t=t.slice(n,i),t){if(i-=n,r=r-n-1,e.e=kO(r/ha),e.d=[],n=(r+1)%ha,r<0&&(n+=ha),n<i){for(n&&e.d.push(+t.slice(0,n)),i-=ha;n<i;)e.d.push(+t.slice(n,n+=ha));t=t.slice(n),n=ha-t.length}else n-=i;for(;n--;)t+="0";if(e.d.push(+t),Oa&&(e.e>F4||e.e<-F4))throw Error(lQ+r)}else e.s=0,e.e=0,e.d=[0];return e}function Qi(e,t,r){var n,i,a,o,s,u,l,c,f=e.d;for(o=1,a=f[0];a>=10;a/=10)o++;if(n=t-o,n<0)n+=ha,i=t,l=f[c=0];else{if(c=Math.ceil((n+1)/ha),a=f.length,c>=a)return e;for(l=a=f[c],o=1;a>=10;a/=10)o++;n%=ha,i=n-ha+o}if(r!==void 0&&(a=Iv(10,o-i-1),s=l/a%10|0,u=t<0||f[c+1]!==void 0||l%a,u=r<4?(s||u)&&(r==0||r==(e.s<0?3:2)):s>5||s==5&&(r==4||u||r==6&&(n>0?i>0?l/Iv(10,o-i):0:f[c-1])%10&1||r==(e.s<0?8:7))),t<1||!f[0])return u?(a=Bo(e),f.length=1,t=t-a-1,f[0]=Iv(10,(ha-t%ha)%ha),e.e=kO(-t/ha)||0):(f.length=1,f[0]=e.e=e.s=0),e;if(n==0?(f.length=c,a=1,c--):(f.length=c+1,a=Iv(10,ha-n),f[c]=i>0?(l/Iv(10,o-i)%Iv(10,i)|0)*a:0),u)for(;;)if(c==0){(f[0]+=a)==$s&&(f[0]=1,++e.e);break}else{if(f[c]+=a,f[c]!=$s)break;f[c--]=0,a=1}for(n=f.length;f[--n]===0;)f.pop();if(Oa&&(e.e>F4||e.e<-F4))throw Error(lQ+Bo(e));return e}function ixe(e,t){var r,n,i,a,o,s,u,l,c,f,d=e.constructor,h=d.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new d(e),Oa?Qi(t,h):t;if(u=e.d,f=t.d,n=t.e,l=e.e,u=u.slice(),o=l-n,o){for(c=o<0,c?(r=u,o=-o,s=f.length):(r=f,n=l,s=u.length),i=Math.max(Math.ceil(h/ha),s)+2,o>i&&(o=i,r.length=1),r.reverse(),i=o;i--;)r.push(0);r.reverse()}else{for(i=u.length,s=f.length,c=i<s,c&&(s=i),i=0;i<s;i++)if(u[i]!=f[i]){c=u[i]<f[i];break}o=0}for(c&&(r=u,u=f,f=r,t.s=-t.s),s=u.length,i=f.length-s;i>0;--i)u[s++]=0;for(i=f.length;i>o;){if(u[--i]<f[i]){for(a=i;a&&u[--a]===0;)u[a]=$s-1;--u[a],u[i]+=$s}u[i]-=f[i]}for(;u[--s]===0;)u.pop();for(;u[0]===0;u.shift())--n;return u[0]?(t.d=u,t.e=n,Oa?Qi(t,h):t):new d(0)}function $y(e,t,r){var n,i=Bo(e),a=up(e.d),o=a.length;return t?(r&&(n=r-o)>0?a=a.charAt(0)+"."+a.slice(1)+Zm(n):o>1&&(a=a.charAt(0)+"."+a.slice(1)),a=a+(i<0?"e":"e+")+i):i<0?(a="0."+Zm(-i-1)+a,r&&(n=r-o)>0&&(a+=Zm(n))):i>=o?(a+=Zm(i+1-o),r&&(n=r-i-1)>0&&(a=a+"."+Zm(n))):((n=i+1)<o&&(a=a.slice(0,n)+"."+a.slice(n)),r&&(n=r-o)>0&&(i+1===o&&(a+="."),a+=Zm(n))),e.s<0?"-"+a:a}function Gee(e,t){if(e.length>t)return e.length=t,!0}function axe(e){var t,r,n;function i(a){var o=this;if(!(o instanceof i))return new i(a);if(o.constructor=i,a instanceof i){o.s=a.s,o.e=a.e,o.d=(a=a.d)?a.slice():a;return}if(typeof a=="number"){if(a*0!==0)throw Error(sy+a);if(a>0)o.s=1;else if(a<0)a=-a,o.s=-1;else{o.s=0,o.e=0,o.d=[0];return}if(a===~~a&&a<1e7){o.e=0,o.d=[a];return}return Yee(o,a.toString())}else if(typeof a!="string")throw Error(sy+a);if(a.charCodeAt(0)===45?(a=a.slice(1),o.s=-1):o.s=1,$et.test(a))Yee(o,a);else throw Error(sy+a)}if(i.prototype=sr,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=axe,i.config=i.set=Cet,e===void 0&&(e={}),e)for(n=["precision","rounding","toExpNeg","toExpPos","LN10"],t=0;t<n.length;)e.hasOwnProperty(r=n[t++])||(e[r]=this[r]);return i.config(e),i}function Cet(e){if(!e||typeof e!="object")throw Error(Gf+"Object expected");var t,r,n,i=["precision",1,RO,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<i.length;t+=3)if((n=e[r=i[t]])!==void 0)if(kO(n)===n&&n>=i[t+1]&&n<=i[t+2])this[r]=n;else throw Error(sy+r+": "+n);if((n=e[r="LN10"])!==void 0)if(n==Math.LN10)this[r]=new this(n);else throw Error(sy+r+": "+n);return this}var cQ=axe(Eet);Jc=new cQ(1);const omt=cQ;var o7,Xee;function Pet(){if(Xee)return o7;Xee=1;function e(t){var r=t==null?0:t.length;return r?t[r-1]:void 0}return o7=e,o7}var Det=Pet();const smt=an(Det);var Ret=Object.getOwnPropertyNames,ket=Object.getOwnPropertySymbols,Tet=Object.prototype.hasOwnProperty;function Jee(e,t){return function(n,i,a){return e(n,i,a)&&t(n,i,a)}}function hE(e){return function(r,n,i){if(!r||!n||typeof r!="object"||typeof n!="object")return e(r,n,i);var a=i.cache,o=a.get(r),s=a.get(n);if(o&&s)return o===n&&s===r;a.set(r,n),a.set(n,r);var u=e(r,n,i);return a.delete(r),a.delete(n),u}}function ete(e){return Ret(e).concat(ket(e))}var oxe=Object.hasOwn||function(e,t){return Tet.call(e,t)};function TO(e,t){return e||t?e===t:e===t||e!==e&&t!==t}var sxe="_owner",tte=Object.getOwnPropertyDescriptor,rte=Object.keys;function Aet(e,t,r){var n=e.length;if(t.length!==n)return!1;for(;n-- >0;)if(!r.equals(e[n],t[n],n,n,e,t,r))return!1;return!0}function Fet(e,t){return TO(e.getTime(),t.getTime())}function nte(e,t,r){if(e.size!==t.size)return!1;for(var n={},i=e.entries(),a=0,o,s;(o=i.next())&&!o.done;){for(var u=t.entries(),l=!1,c=0;(s=u.next())&&!s.done;){var f=o.value,d=f[0],h=f[1],g=s.value,m=g[0],v=g[1];!l&&!n[c]&&(l=r.equals(d,m,a,c,e,t,r)&&r.equals(h,v,d,m,e,t,r))&&(n[c]=!0),c++}if(!l)return!1;a++}return!0}function Iet(e,t,r){var n=rte(e),i=n.length;if(rte(t).length!==i)return!1;for(var a;i-- >0;)if(a=n[i],a===sxe&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof||!oxe(t,a)||!r.equals(e[a],t[a],a,a,e,t,r))return!1;return!0}function Ux(e,t,r){var n=ete(e),i=n.length;if(ete(t).length!==i)return!1;for(var a,o,s;i-- >0;)if(a=n[i],a===sxe&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof||!oxe(t,a)||!r.equals(e[a],t[a],a,a,e,t,r)||(o=tte(e,a),s=tte(t,a),(o||s)&&(!o||!s||o.configurable!==s.configurable||o.enumerable!==s.enumerable||o.writable!==s.writable)))return!1;return!0}function Met(e,t){return TO(e.valueOf(),t.valueOf())}function Net(e,t){return e.source===t.source&&e.flags===t.flags}function ite(e,t,r){if(e.size!==t.size)return!1;for(var n={},i=e.values(),a,o;(a=i.next())&&!a.done;){for(var s=t.values(),u=!1,l=0;(o=s.next())&&!o.done;)!u&&!n[l]&&(u=r.equals(a.value,o.value,a.value,o.value,e,t,r))&&(n[l]=!0),l++;if(!u)return!1}return!0}function Let(e,t){var r=e.length;if(t.length!==r)return!1;for(;r-- >0;)if(e[r]!==t[r])return!1;return!0}var zet="[object Arguments]",Qet="[object Boolean]",Bet="[object Date]",qet="[object Map]",Uet="[object Number]",Vet="[object Object]",jet="[object RegExp]",Wet="[object Set]",Zet="[object String]",Ket=Array.isArray,ate=typeof ArrayBuffer=="function"&&ArrayBuffer.isView?ArrayBuffer.isView:null,ote=Object.assign,Het=Object.prototype.toString.call.bind(Object.prototype.toString);function Yet(e){var t=e.areArraysEqual,r=e.areDatesEqual,n=e.areMapsEqual,i=e.areObjectsEqual,a=e.arePrimitiveWrappersEqual,o=e.areRegExpsEqual,s=e.areSetsEqual,u=e.areTypedArraysEqual;return function(c,f,d){if(c===f)return!0;if(c==null||f==null||typeof c!="object"||typeof f!="object")return c!==c&&f!==f;var h=c.constructor;if(h!==f.constructor)return!1;if(h===Object)return i(c,f,d);if(Ket(c))return t(c,f,d);if(ate!=null&&ate(c))return u(c,f,d);if(h===Date)return r(c,f,d);if(h===RegExp)return o(c,f,d);if(h===Map)return n(c,f,d);if(h===Set)return s(c,f,d);var g=Het(c);return g===Bet?r(c,f,d):g===jet?o(c,f,d):g===qet?n(c,f,d):g===Wet?s(c,f,d):g===Vet?typeof c.then!="function"&&typeof f.then!="function"&&i(c,f,d):g===zet?i(c,f,d):g===Qet||g===Uet||g===Zet?a(c,f,d):!1}}function Get(e){var t=e.circular,r=e.createCustomConfig,n=e.strict,i={areArraysEqual:n?Ux:Aet,areDatesEqual:Fet,areMapsEqual:n?Jee(nte,Ux):nte,areObjectsEqual:n?Ux:Iet,arePrimitiveWrappersEqual:Met,areRegExpsEqual:Net,areSetsEqual:n?Jee(ite,Ux):ite,areTypedArraysEqual:n?Ux:Let};if(r&&(i=ote({},i,r(i))),t){var a=hE(i.areArraysEqual),o=hE(i.areMapsEqual),s=hE(i.areObjectsEqual),u=hE(i.areSetsEqual);i=ote({},i,{areArraysEqual:a,areMapsEqual:o,areObjectsEqual:s,areSetsEqual:u})}return i}function Xet(e){return function(t,r,n,i,a,o,s){return e(t,r,s)}}function Jet(e){var t=e.circular,r=e.comparator,n=e.createState,i=e.equals,a=e.strict;if(n)return function(u,l){var c=n(),f=c.cache,d=f===void 0?t?new WeakMap:void 0:f,h=c.meta;return r(u,l,{cache:d,equals:i,meta:h,strict:a})};if(t)return function(u,l){return r(u,l,{cache:new WeakMap,equals:i,meta:void 0,strict:a})};var o={cache:void 0,equals:i,meta:void 0,strict:a};return function(u,l){return r(u,l,o)}}var ett=jg();jg({strict:!0});jg({circular:!0});jg({circular:!0,strict:!0});jg({createInternalComparator:function(){return TO}});jg({strict:!0,createInternalComparator:function(){return TO}});jg({circular:!0,createInternalComparator:function(){return TO}});jg({circular:!0,createInternalComparator:function(){return TO},strict:!0});function jg(e){e===void 0&&(e={});var t=e.circular,r=t===void 0?!1:t,n=e.createInternalComparator,i=e.createState,a=e.strict,o=a===void 0?!1:a,s=Get(e),u=Yet(s),l=n?n(u):Xet(u);return Jet({circular:r,comparator:u,createState:i,equals:l,strict:o})}function ttt(e){typeof requestAnimationFrame<"u"&&requestAnimationFrame(e)}function ste(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=-1,n=function i(a){r<0&&(r=a),a-r>t?(e(a),r=-1):ttt(i)};requestAnimationFrame(n)}function gM(e){"@babel/helpers - typeof";return gM=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},gM(e)}function rtt(e){return ott(e)||att(e)||itt(e)||ntt()}function ntt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
840
+ `),d={variables:{},expressions:[],errors:{}};for(const g of f){const m=g.trim();if(m.length===0||m.startsWith("#"))continue;const v=m.match(/^(.*)=(.*)$/);if(v){const[,y,O]=v;d.variables[y]=O.replace(/["']/g,"");continue}try{const y=Kr(h=o,a,Vbe).call(h,m);d.expressions.push(y.interval)}catch(y){d.errors[m]=y}}return d},Vbe=function(c){const f=c.split(" ");return{interval:n.CronExpressionParser.parse(f.slice(0,5).join(" ")),command:f.slice(5,f.length)}},Ti(o,a),o);return Vd.CronFileParser=i,Vd}var EG;function wGe(){return EG||(EG=1,function(e){var t=wv&&wv.__createBinding||(Object.create?function(l,c,f,d){d===void 0&&(d=f);var h=Object.getOwnPropertyDescriptor(c,f);(!h||("get"in h?!c.__esModule:h.writable||h.configurable))&&(h={enumerable:!0,get:function(){return c[f]}}),Object.defineProperty(l,d,h)}:function(l,c,f,d){d===void 0&&(d=f),l[d]=c[f]}),r=wv&&wv.__exportStar||function(l,c){for(var f in l)f!=="default"&&!Object.prototype.hasOwnProperty.call(c,f)&&t(c,l,f)};Object.defineProperty(e,"__esModule",{value:!0}),e.CronFileParser=e.CronExpressionParser=e.CronExpression=e.CronFieldCollection=e.CronDate=void 0;const n=lM();var i=AC();Object.defineProperty(e,"CronDate",{enumerable:!0,get:function(){return i.CronDate}});var a=Tbe();Object.defineProperty(e,"CronFieldCollection",{enumerable:!0,get:function(){return a.CronFieldCollection}});var o=Ibe();Object.defineProperty(e,"CronExpression",{enumerable:!0,get:function(){return o.CronExpression}});var s=lM();Object.defineProperty(e,"CronExpressionParser",{enumerable:!0,get:function(){return s.CronExpressionParser}});var u=SGe();Object.defineProperty(e,"CronFileParser",{enumerable:!0,get:function(){return u.CronFileParser}}),r(Nz(),e),e.default=n.CronExpressionParser}(wv)),wv}var EGe=wGe();const v0t=an(EGe);var K6={exports:{}},$G;function $Ge(){return $G||($G=1,function(e,t){(function(n,i){e.exports=i()})(globalThis,()=>(()=>{var r={949:(o,s,u)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.CronParser=void 0;var l=u(515),c=function(){function f(d,h,g){h===void 0&&(h=!0),g===void 0&&(g=!1),this.expression=d,this.dayOfWeekStartIndexZero=h,this.monthStartIndexZero=g}return f.prototype.parse=function(){var d,h,g=(d=this.expression)!==null&&d!==void 0?d:"";if(g.startsWith("@")){var m=this.parseSpecial(this.expression);h=this.extractParts(m)}else h=this.extractParts(this.expression);return this.normalize(h),this.validate(h),h},f.prototype.parseSpecial=function(d){var h={"@yearly":"0 0 1 1 *","@annually":"0 0 1 1 *","@monthly":"0 0 1 * *","@weekly":"0 0 * * 0","@daily":"0 0 * * *","@midnight":"0 0 * * *","@hourly":"0 * * * *"},g=h[d];if(!g)throw new Error("Unknown special expression.");return g},f.prototype.extractParts=function(d){if(!this.expression)throw new Error("cron expression is empty");for(var h=d.trim().split(/[ ]+/),g=0;g<h.length;g++)if(h[g].includes(",")){var m=h[g].split(",").map(function(y){return y.trim()}).filter(function(y){return y!==""}).map(function(y){return isNaN(Number(y))?y:Number(y)}).filter(function(y){return y!==null&&y!==""});m.length===0&&m.push("*"),m.sort(function(y,O){return y!==null&&O!==null?y-O:0}),h[g]=m.map(function(y){return y!==null?y.toString():""}).join(",")}if(h.length<5)throw new Error("Expression has only ".concat(h.length," part").concat(h.length==1?"":"s",". At least 5 parts are required."));if(h.length==5)h.unshift(""),h.push("");else if(h.length==6){var v=/\d{4}$/.test(h[5])||h[4]=="?"||h[2]=="?";v?h.unshift(""):h.push("")}else if(h.length>7)throw new Error("Expression has ".concat(h.length," parts; too many!"));return h},f.prototype.normalize=function(d){var h=this;if(d[3]=d[3].replace("?","*"),d[5]=d[5].replace("?","*"),d[2]=d[2].replace("?","*"),d[0].indexOf("0/")==0&&(d[0]=d[0].replace("0/","*/")),d[1].indexOf("0/")==0&&(d[1]=d[1].replace("0/","*/")),d[2].indexOf("0/")==0&&(d[2]=d[2].replace("0/","*/")),d[3].indexOf("1/")==0&&(d[3]=d[3].replace("1/","*/")),d[4].indexOf("1/")==0&&(d[4]=d[4].replace("1/","*/")),d[6].indexOf("1/")==0&&(d[6]=d[6].replace("1/","*/")),d[5]=d[5].replace(/(^\d)|([^#/\s]\d)/g,function(w){var E=w.replace(/\D/,""),T=E;return h.dayOfWeekStartIndexZero?E=="7"&&(T="0"):T=(parseInt(E)-1).toString(),w.replace(E,T)}),d[5]=="L"&&(d[5]="6"),d[3]=="?"&&(d[3]="*"),d[3].indexOf("W")>-1&&(d[3].indexOf(",")>-1||d[3].indexOf("-")>-1))throw new Error("The 'W' character can be specified only when the day-of-month is a single day, not a range or list of days.");var g={SUN:0,MON:1,TUE:2,WED:3,THU:4,FRI:5,SAT:6};for(var m in g)d[5]=d[5].replace(new RegExp(m,"gi"),g[m].toString());d[4]=d[4].replace(/(^\d{1,2})|([^#/\s]\d{1,2})/g,function(w){var E=w.replace(/\D/,""),T=E;return h.monthStartIndexZero&&(T=(parseInt(E)+1).toString()),w.replace(E,T)});var v={JAN:1,FEB:2,MAR:3,APR:4,MAY:5,JUN:6,JUL:7,AUG:8,SEP:9,OCT:10,NOV:11,DEC:12};for(var y in v)d[4]=d[4].replace(new RegExp(y,"gi"),v[y].toString());d[0]=="0"&&(d[0]=""),!/\*|\-|\,|\//.test(d[2])&&(/\*|\//.test(d[1])||/\*|\//.test(d[0]))&&(d[2]+="-".concat(d[2]));for(var O=0;O<d.length;O++)if(d[O].indexOf(",")!=-1&&(d[O]=d[O].split(",").filter(function(w){return w!==""}).join(",")||"*"),d[O]=="*/1"&&(d[O]="*"),d[O].indexOf("/")>-1&&!/^\*|\-|\,/.test(d[O])){var x=null;switch(O){case 4:x="12";break;case 5:x="6";break;case 6:x="9999";break;default:x=null;break}if(x!==null){var C=d[O].split("/");d[O]="".concat(C[0],"-").concat(x,"/").concat(C[1])}}},f.prototype.validate=function(d){var h="0-9,\\-*/";this.validateOnlyExpectedCharactersFound(d[0],h),this.validateOnlyExpectedCharactersFound(d[1],h),this.validateOnlyExpectedCharactersFound(d[2],h),this.validateOnlyExpectedCharactersFound(d[3],"0-9,\\-*/LW"),this.validateOnlyExpectedCharactersFound(d[4],h),this.validateOnlyExpectedCharactersFound(d[5],"0-9,\\-*/L#"),this.validateOnlyExpectedCharactersFound(d[6],h),this.validateAnyRanges(d)},f.prototype.validateAnyRanges=function(d){l.default.secondRange(d[0]),l.default.minuteRange(d[1]),l.default.hourRange(d[2]),l.default.dayOfMonthRange(d[3]),l.default.monthRange(d[4],this.monthStartIndexZero),l.default.dayOfWeekRange(d[5],this.dayOfWeekStartIndexZero)},f.prototype.validateOnlyExpectedCharactersFound=function(d,h){var g=d.match(new RegExp("[^".concat(h,"]+"),"gi"));if(g&&g.length)throw new Error("Expression contains invalid values: '".concat(g.toString(),"'"))},f}();s.CronParser=c},333:(o,s,u)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.ExpressionDescriptor=void 0;var l=u(823),c=u(949),f=function(){function d(h,g){if(this.expression=h,this.options=g,this.expressionParts=new Array(5),!this.options.locale&&d.defaultLocale&&(this.options.locale=d.defaultLocale),!d.locales[this.options.locale]){var m=Object.keys(d.locales)[0];console.warn("Locale '".concat(this.options.locale,"' could not be found; falling back to '").concat(m,"'.")),this.options.locale=m}this.i18n=d.locales[this.options.locale],g.use24HourTimeFormat===void 0&&(g.use24HourTimeFormat=this.i18n.use24HourTimeFormatByDefault())}return d.toString=function(h,g){var m=g===void 0?{}:g,v=m.throwExceptionOnParseError,y=v===void 0?!0:v,O=m.verbose,x=O===void 0?!1:O,C=m.dayOfWeekStartIndexZero,w=C===void 0?!0:C,E=m.monthStartIndexZero,T=E===void 0?!1:E,P=m.use24HourTimeFormat,L=m.locale,N=L===void 0?null:L,B=m.tzOffset,j=B===void 0?0:B,A={throwExceptionOnParseError:y,verbose:x,dayOfWeekStartIndexZero:w,monthStartIndexZero:T,use24HourTimeFormat:P,locale:N,tzOffset:j};A.tzOffset&&console.warn("'tzOffset' option has been deprecated and will be removed in a future release.");var H=new d(h,A);return H.getFullDescription()},d.initialize=function(h,g){g===void 0&&(g="en"),d.specialCharacters=["/","-",",","*"],d.defaultLocale=g,h.load(d.locales)},d.prototype.getFullDescription=function(){var h="";try{var g=new c.CronParser(this.expression,this.options.dayOfWeekStartIndexZero,this.options.monthStartIndexZero);this.expressionParts=g.parse();var m=this.getTimeOfDayDescription(),v=this.getDayOfMonthDescription(),y=this.getMonthDescription(),O=this.getDayOfWeekDescription(),x=this.getYearDescription();h+=m+v+O+y+x,h=this.transformVerbosity(h,!!this.options.verbose),h=h.charAt(0).toLocaleUpperCase()+h.substr(1)}catch(C){if(!this.options.throwExceptionOnParseError)h=this.i18n.anErrorOccuredWhenGeneratingTheExpressionD();else throw"".concat(C)}return h},d.prototype.getTimeOfDayDescription=function(){var h=this.expressionParts[0],g=this.expressionParts[1],m=this.expressionParts[2],v="";if(!l.StringUtilities.containsAny(g,d.specialCharacters)&&!l.StringUtilities.containsAny(m,d.specialCharacters)&&!l.StringUtilities.containsAny(h,d.specialCharacters))v+=this.i18n.atSpace()+this.formatTime(m,g,h);else if(!h&&g.indexOf("-")>-1&&!(g.indexOf(",")>-1)&&!(g.indexOf("/")>-1)&&!l.StringUtilities.containsAny(m,d.specialCharacters)){var y=g.split("-");v+=l.StringUtilities.format(this.i18n.everyMinuteBetweenX0AndX1(),this.formatTime(m,y[0],""),this.formatTime(m,y[1],""))}else if(!h&&m.indexOf(",")>-1&&m.indexOf("-")==-1&&m.indexOf("/")==-1&&!l.StringUtilities.containsAny(g,d.specialCharacters)){var O=m.split(",");v+=this.i18n.at();for(var x=0;x<O.length;x++)v+=" ",v+=this.formatTime(O[x],g,""),x<O.length-2&&(v+=","),x==O.length-2&&(v+=this.i18n.spaceAnd())}else{var C=this.getSecondsDescription(),w=this.getMinutesDescription(),E=this.getHoursDescription();if(v+=C,v&&w&&(v+=", "),v+=w,w===E)return v;v&&E&&(v+=", "),v+=E}return v},d.prototype.getSecondsDescription=function(){var h=this,g=this.getSegmentDescription(this.expressionParts[0],this.i18n.everySecond(),function(m){return m},function(m){return l.StringUtilities.format(h.i18n.everyX0Seconds(m),m)},function(m){return h.i18n.secondsX0ThroughX1PastTheMinute()},function(m){return m=="0"?"":parseInt(m)<20?h.i18n.atX0SecondsPastTheMinute(m):h.i18n.atX0SecondsPastTheMinuteGt20()||h.i18n.atX0SecondsPastTheMinute(m)});return g},d.prototype.getMinutesDescription=function(){var h=this,g=this.expressionParts[0],m=this.expressionParts[2],v=this.getSegmentDescription(this.expressionParts[1],this.i18n.everyMinute(),function(y){return y},function(y){return l.StringUtilities.format(h.i18n.everyX0Minutes(y),y)},function(y){return h.i18n.minutesX0ThroughX1PastTheHour()},function(y){try{return y=="0"&&m.indexOf("/")==-1&&g==""?h.i18n.everyHour():parseInt(y)<20?h.i18n.atX0MinutesPastTheHour(y):h.i18n.atX0MinutesPastTheHourGt20()||h.i18n.atX0MinutesPastTheHour(y)}catch{return h.i18n.atX0MinutesPastTheHour(y)}});return v},d.prototype.getHoursDescription=function(){var h=this,g=this.expressionParts[2],m=0,v=[];g.split("/")[0].split(",").forEach(function(x){var C=x.split("-");C.length===2&&v.push({value:C[1],index:m+1}),m+=C.length});var y=0,O=this.getSegmentDescription(g,this.i18n.everyHour(),function(x){var C=v.find(function(E){return E.value===x&&E.index===y}),w=C&&h.expressionParts[1]!=="0";return y++,w?h.formatTime(x,"59",""):h.formatTime(x,"0","")},function(x){return l.StringUtilities.format(h.i18n.everyX0Hours(x),x)},function(x){return h.i18n.betweenX0AndX1()},function(x){return h.i18n.atX0()});return O},d.prototype.getDayOfWeekDescription=function(){var h=this,g=this.i18n.daysOfTheWeek(),m=null;return this.expressionParts[5]=="*"?m="":m=this.getSegmentDescription(this.expressionParts[5],this.i18n.commaEveryDay(),function(v,y){var O=v;v.indexOf("#")>-1?O=v.substring(0,v.indexOf("#")):v.indexOf("L")>-1&&(O=O.replace("L",""));var x=parseInt(O);if(h.options.tzOffset){var C=h.expressionParts[2],w=parseInt(C)+(h.options.tzOffset?h.options.tzOffset:0);w>=24?x++:w<0&&x--,x>6?x=0:x<0&&(x=6)}var E=h.i18n.daysOfTheWeekInCase?h.i18n.daysOfTheWeekInCase(y)[x]:g[x];if(v.indexOf("#")>-1){var T=null,P=v.substring(v.indexOf("#")+1),L=v.substring(0,v.indexOf("#"));switch(P){case"1":T=h.i18n.first(L);break;case"2":T=h.i18n.second(L);break;case"3":T=h.i18n.third(L);break;case"4":T=h.i18n.fourth(L);break;case"5":T=h.i18n.fifth(L);break}E=T+" "+E}return E},function(v){return parseInt(v)==1?"":l.StringUtilities.format(h.i18n.commaEveryX0DaysOfTheWeek(v),v)},function(v){var y=v.substring(0,v.indexOf("-")),O=h.expressionParts[3]!="*";return O?h.i18n.commaAndX0ThroughX1(y):h.i18n.commaX0ThroughX1(y)},function(v){var y=null;if(v.indexOf("#")>-1){var O=v.substring(v.indexOf("#")+1),x=v.substring(0,v.indexOf("#"));y=h.i18n.commaOnThe(O,x).trim()+h.i18n.spaceX0OfTheMonth()}else if(v.indexOf("L")>-1)y=h.i18n.commaOnTheLastX0OfTheMonth(v.replace("L",""));else{var C=h.expressionParts[3]!="*";y=C?h.i18n.commaAndOnX0():h.i18n.commaOnlyOnX0(v)}return y}),m},d.prototype.getMonthDescription=function(){var h=this,g=this.i18n.monthsOfTheYear(),m=this.getSegmentDescription(this.expressionParts[4],"",function(v,y){return y&&h.i18n.monthsOfTheYearInCase?h.i18n.monthsOfTheYearInCase(y)[parseInt(v)-1]:g[parseInt(v)-1]},function(v){return parseInt(v)==1?"":l.StringUtilities.format(h.i18n.commaEveryX0Months(v),v)},function(v){return h.i18n.commaMonthX0ThroughMonthX1()||h.i18n.commaX0ThroughX1()},function(v){return h.i18n.commaOnlyInMonthX0?h.i18n.commaOnlyInMonthX0():h.i18n.commaOnlyInX0()});return m},d.prototype.getDayOfMonthDescription=function(){var h=this,g=null,m=this.expressionParts[3];switch(m){case"L":g=this.i18n.commaOnTheLastDayOfTheMonth();break;case"WL":case"LW":g=this.i18n.commaOnTheLastWeekdayOfTheMonth();break;default:var v=m.match(/(\d{1,2}W)|(W\d{1,2})/);if(v){var y=parseInt(v[0].replace("W","")),O=y==1?this.i18n.firstWeekday():l.StringUtilities.format(this.i18n.weekdayNearestDayX0(),y.toString());g=l.StringUtilities.format(this.i18n.commaOnTheX0OfTheMonth(),O);break}else{var x=m.match(/L-(\d{1,2})/);if(x){var C=x[1];g=l.StringUtilities.format(this.i18n.commaDaysBeforeTheLastDayOfTheMonth(C),C);break}else{if(m=="*"&&this.expressionParts[5]!="*")return"";g=this.getSegmentDescription(m,this.i18n.commaEveryDay(),function(w){return w=="L"?h.i18n.lastDay():h.i18n.dayX0?l.StringUtilities.format(h.i18n.dayX0(),w):w},function(w){return w=="1"?h.i18n.commaEveryDay():h.i18n.commaEveryX0Days(w)},function(w){return h.i18n.commaBetweenDayX0AndX1OfTheMonth(w)},function(w){return h.i18n.commaOnDayX0OfTheMonth(w)})}break}}return g},d.prototype.getYearDescription=function(){var h=this,g=this.getSegmentDescription(this.expressionParts[6],"",function(m){return/^\d+$/.test(m)?new Date(parseInt(m),1).getFullYear().toString():m},function(m){return l.StringUtilities.format(h.i18n.commaEveryX0Years(m),m)},function(m){return h.i18n.commaYearX0ThroughYearX1()||h.i18n.commaX0ThroughX1()},function(m){return h.i18n.commaOnlyInYearX0?h.i18n.commaOnlyInYearX0():h.i18n.commaOnlyInX0()});return g},d.prototype.getSegmentDescription=function(h,g,m,v,y,O){var x=null,C=h.indexOf("/")>-1,w=h.indexOf("-")>-1,E=h.indexOf(",")>-1;if(!h)x="";else if(h==="*")x=g;else if(!C&&!w&&!E)x=l.StringUtilities.format(O(h),m(h));else if(E){for(var T=h.split(","),P="",L=0;L<T.length;L++)if(L>0&&T.length>2&&(P+=",",L<T.length-1&&(P+=" ")),L>0&&T.length>1&&(L==T.length-1||T.length==2)&&(P+="".concat(this.i18n.spaceAnd()," ")),T[L].indexOf("/")>-1||T[L].indexOf("-")>-1){var N=T[L].indexOf("-")>-1&&T[L].indexOf("/")==-1,B=this.getSegmentDescription(T[L],g,m,v,N?this.i18n.commaX0ThroughX1:y,O);N&&(B=B.replace(", ","")),P+=B}else C?P+=this.getSegmentDescription(T[L],g,m,v,y,O):P+=m(T[L]);C?x=P:x=l.StringUtilities.format(O(h),P)}else if(C){var T=h.split("/");if(x=l.StringUtilities.format(v(T[1]),T[1]),T[0].indexOf("-")>-1){var j=this.generateRangeSegmentDescription(T[0],y,m);j.indexOf(", ")!=0&&(x+=", "),x+=j}else if(T[0].indexOf("*")==-1){var A=l.StringUtilities.format(O(T[0]),m(T[0]));A=A.replace(", ",""),x+=l.StringUtilities.format(this.i18n.commaStartingX0(),A)}}else w&&(x=this.generateRangeSegmentDescription(h,y,m));return x},d.prototype.generateRangeSegmentDescription=function(h,g,m){var v="",y=h.split("-"),O=m(y[0],1),x=m(y[1],2),C=g(h);return v+=l.StringUtilities.format(C,O,x),v},d.prototype.formatTime=function(h,g,m){var v=0,y=0;this.options.tzOffset&&(v=this.options.tzOffset>0?Math.floor(this.options.tzOffset):Math.ceil(this.options.tzOffset),y=parseFloat((this.options.tzOffset%1).toFixed(2)),y!=0&&(y*=60));var O=parseInt(h)+v,x=parseInt(g)+y;x>=60?(x-=60,O+=1):x<0&&(x+=60,O-=1),O>=24?O=O-24:O<0&&(O=24+O);var C="",w=!1;this.options.use24HourTimeFormat||(w=!!(this.i18n.setPeriodBeforeTime&&this.i18n.setPeriodBeforeTime()),C=w?"".concat(this.getPeriod(O)," "):" ".concat(this.getPeriod(O)),O>12&&(O-=12),O===0&&(O=12));var E="";return m&&(E=":".concat(("00"+m).substring(m.length))),"".concat(w?C:"").concat(("00"+O.toString()).substring(O.toString().length),":").concat(("00"+x.toString()).substring(x.toString().length)).concat(E).concat(w?"":C)},d.prototype.transformVerbosity=function(h,g){if(!g&&(h=h.replace(new RegExp(", ".concat(this.i18n.everyMinute()),"g"),""),h=h.replace(new RegExp(", ".concat(this.i18n.everyHour()),"g"),""),h=h.replace(new RegExp(this.i18n.commaEveryDay(),"g"),""),h=h.replace(/\, ?$/,""),this.i18n.conciseVerbosityReplacements))for(var m=0,v=Object.entries(this.i18n.conciseVerbosityReplacements());m<v.length;m++){var y=v[m],O=y[0],x=y[1];h=h.replace(new RegExp(O,"g"),x)}return h},d.prototype.getPeriod=function(h){return h>=12?this.i18n.pm&&this.i18n.pm()||"PM":this.i18n.am&&this.i18n.am()||"AM"},d.locales={},d}();s.ExpressionDescriptor=f},747:(o,s,u)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.enLocaleLoader=void 0;var l=u(486),c=function(){function f(){}return f.prototype.load=function(d){d.en=new l.en},f}();s.enLocaleLoader=c},486:(o,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.en=void 0;var u=function(){function l(){}return l.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},l.prototype.atX0MinutesPastTheHourGt20=function(){return null},l.prototype.commaMonthX0ThroughMonthX1=function(){return null},l.prototype.commaYearX0ThroughYearX1=function(){return null},l.prototype.use24HourTimeFormatByDefault=function(){return!1},l.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"An error occurred when generating the expression description. Check the cron expression syntax."},l.prototype.everyMinute=function(){return"every minute"},l.prototype.everyHour=function(){return"every hour"},l.prototype.atSpace=function(){return"At "},l.prototype.everyMinuteBetweenX0AndX1=function(){return"Every minute between %s and %s"},l.prototype.at=function(){return"At"},l.prototype.spaceAnd=function(){return" and"},l.prototype.everySecond=function(){return"every second"},l.prototype.everyX0Seconds=function(){return"every %s seconds"},l.prototype.secondsX0ThroughX1PastTheMinute=function(){return"seconds %s through %s past the minute"},l.prototype.atX0SecondsPastTheMinute=function(){return"at %s seconds past the minute"},l.prototype.everyX0Minutes=function(){return"every %s minutes"},l.prototype.minutesX0ThroughX1PastTheHour=function(){return"minutes %s through %s past the hour"},l.prototype.atX0MinutesPastTheHour=function(){return"at %s minutes past the hour"},l.prototype.everyX0Hours=function(){return"every %s hours"},l.prototype.betweenX0AndX1=function(){return"between %s and %s"},l.prototype.atX0=function(){return"at %s"},l.prototype.commaEveryDay=function(){return", every day"},l.prototype.commaEveryX0DaysOfTheWeek=function(){return", every %s days of the week"},l.prototype.commaX0ThroughX1=function(){return", %s through %s"},l.prototype.commaAndX0ThroughX1=function(){return", %s through %s"},l.prototype.first=function(){return"first"},l.prototype.second=function(){return"second"},l.prototype.third=function(){return"third"},l.prototype.fourth=function(){return"fourth"},l.prototype.fifth=function(){return"fifth"},l.prototype.commaOnThe=function(){return", on the "},l.prototype.spaceX0OfTheMonth=function(){return" %s of the month"},l.prototype.lastDay=function(){return"the last day"},l.prototype.commaOnTheLastX0OfTheMonth=function(){return", on the last %s of the month"},l.prototype.commaOnlyOnX0=function(){return", only on %s"},l.prototype.commaAndOnX0=function(){return", and on %s"},l.prototype.commaEveryX0Months=function(){return", every %s months"},l.prototype.commaOnlyInX0=function(){return", only in %s"},l.prototype.commaOnTheLastDayOfTheMonth=function(){return", on the last day of the month"},l.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", on the last weekday of the month"},l.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", %s days before the last day of the month"},l.prototype.firstWeekday=function(){return"first weekday"},l.prototype.weekdayNearestDayX0=function(){return"weekday nearest day %s"},l.prototype.commaOnTheX0OfTheMonth=function(){return", on the %s of the month"},l.prototype.commaEveryX0Days=function(){return", every %s days"},l.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", between day %s and %s of the month"},l.prototype.commaOnDayX0OfTheMonth=function(){return", on day %s of the month"},l.prototype.commaEveryHour=function(){return", every hour"},l.prototype.commaEveryX0Years=function(){return", every %s years"},l.prototype.commaStartingX0=function(){return", starting %s"},l.prototype.daysOfTheWeek=function(){return["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},l.prototype.monthsOfTheYear=function(){return["January","February","March","April","May","June","July","August","September","October","November","December"]},l}();s.en=u},515:(o,s)=>{Object.defineProperty(s,"__esModule",{value:!0});function u(c,f){if(!c)throw new Error(f)}var l=function(){function c(){}return c.secondRange=function(f){for(var d=f.split(","),h=0;h<d.length;h++)if(!isNaN(parseInt(d[h],10))){var g=parseInt(d[h],10);u(g>=0&&g<=59,"seconds part must be >= 0 and <= 59")}},c.minuteRange=function(f){for(var d=f.split(","),h=0;h<d.length;h++)if(!isNaN(parseInt(d[h],10))){var g=parseInt(d[h],10);u(g>=0&&g<=59,"minutes part must be >= 0 and <= 59")}},c.hourRange=function(f){for(var d=f.split(","),h=0;h<d.length;h++)if(!isNaN(parseInt(d[h],10))){var g=parseInt(d[h],10);u(g>=0&&g<=23,"hours part must be >= 0 and <= 23")}},c.dayOfMonthRange=function(f){for(var d=f.split(","),h=0;h<d.length;h++)if(!isNaN(parseInt(d[h],10))){var g=parseInt(d[h],10);u(g>=1&&g<=31,"DOM part must be >= 1 and <= 31")}},c.monthRange=function(f,d){for(var h=f.split(","),g=0;g<h.length;g++)if(!isNaN(parseInt(h[g],10))){var m=parseInt(h[g],10);u(m>=1&&m<=12,d?"month part must be >= 0 and <= 11":"month part must be >= 1 and <= 12")}},c.dayOfWeekRange=function(f,d){for(var h=f.split(","),g=0;g<h.length;g++)if(!isNaN(parseInt(h[g],10))){var m=parseInt(h[g],10);u(m>=0&&m<=6,d?"DOW part must be >= 0 and <= 6":"DOW part must be >= 1 and <= 7")}},c}();s.default=l},823:(o,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.StringUtilities=void 0;var u=function(){function l(){}return l.format=function(c){for(var f=[],d=1;d<arguments.length;d++)f[d-1]=arguments[d];return c.replace(/%s/g,function(h){return f.shift()})},l.containsAny=function(c,f){return f.some(function(d){return c.indexOf(d)>-1})},l}();s.StringUtilities=u}},n={};function i(o){var s=n[o];if(s!==void 0)return s.exports;var u=n[o]={exports:{}};return r[o](u,u.exports,i),u.exports}var a={};return(()=>{var o=a;Object.defineProperty(o,"__esModule",{value:!0}),o.toString=void 0;var s=i(333),u=i(747);s.ExpressionDescriptor.initialize(new u.enLocaleLoader),o.default=s.ExpressionDescriptor;var l=s.ExpressionDescriptor.toString;o.toString=l})(),a})())}(K6)),K6.exports}var CGe=$Ge();const y0t=an(CGe);var H6,CG;function bc(){if(CG)return H6;CG=1;var e=Array.isArray;return H6=e,H6}var Y6,PG;function jbe(){if(PG)return Y6;PG=1;var e=typeof qf=="object"&&qf&&qf.Object===Object&&qf;return Y6=e,Y6}var G6,DG;function $p(){if(DG)return G6;DG=1;var e=jbe(),t=typeof self=="object"&&self&&self.Object===Object&&self,r=e||t||Function("return this")();return G6=r,G6}var X6,RG;function Pw(){if(RG)return X6;RG=1;var e=$p(),t=e.Symbol;return X6=t,X6}var J6,kG;function PGe(){if(kG)return J6;kG=1;var e=Pw(),t=Object.prototype,r=t.hasOwnProperty,n=t.toString,i=e?e.toStringTag:void 0;function a(o){var s=r.call(o,i),u=o[i];try{o[i]=void 0;var l=!0}catch{}var c=n.call(o);return l&&(s?o[i]=u:delete o[i]),c}return J6=a,J6}var eA,TG;function DGe(){if(TG)return eA;TG=1;var e=Object.prototype,t=e.toString;function r(n){return t.call(n)}return eA=r,eA}var tA,AG;function tm(){if(AG)return tA;AG=1;var e=Pw(),t=PGe(),r=DGe(),n="[object Null]",i="[object Undefined]",a=e?e.toStringTag:void 0;function o(s){return s==null?s===void 0?i:n:a&&a in Object(s)?t(s):r(s)}return tA=o,tA}var rA,FG;function rm(){if(FG)return rA;FG=1;function e(t){return t!=null&&typeof t=="object"}return rA=e,rA}var nA,IG;function PO(){if(IG)return nA;IG=1;var e=tm(),t=rm(),r="[object Symbol]";function n(i){return typeof i=="symbol"||t(i)&&e(i)==r}return nA=n,nA}var iA,MG;function Lz(){if(MG)return iA;MG=1;var e=bc(),t=PO(),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;function i(a,o){if(e(a))return!1;var s=typeof a;return s=="number"||s=="symbol"||s=="boolean"||a==null||t(a)?!0:n.test(a)||!r.test(a)||o!=null&&a in Object(o)}return iA=i,iA}var aA,NG;function qg(){if(NG)return aA;NG=1;function e(t){var r=typeof t;return t!=null&&(r=="object"||r=="function")}return aA=e,aA}var oA,LG;function zz(){if(LG)return oA;LG=1;var e=tm(),t=qg(),r="[object AsyncFunction]",n="[object Function]",i="[object GeneratorFunction]",a="[object Proxy]";function o(s){if(!t(s))return!1;var u=e(s);return u==n||u==i||u==r||u==a}return oA=o,oA}var sA,zG;function RGe(){if(zG)return sA;zG=1;var e=$p(),t=e["__core-js_shared__"];return sA=t,sA}var uA,QG;function kGe(){if(QG)return uA;QG=1;var e=RGe(),t=function(){var n=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}();function r(n){return!!t&&t in n}return uA=r,uA}var lA,BG;function Wbe(){if(BG)return lA;BG=1;var e=Function.prototype,t=e.toString;function r(n){if(n!=null){try{return t.call(n)}catch{}try{return n+""}catch{}}return""}return lA=r,lA}var cA,qG;function TGe(){if(qG)return cA;qG=1;var e=zz(),t=kGe(),r=qg(),n=Wbe(),i=/[\\^$.*+?()[\]{}|]/g,a=/^\[object .+?Constructor\]$/,o=Function.prototype,s=Object.prototype,u=o.toString,l=s.hasOwnProperty,c=RegExp("^"+u.call(l).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function f(d){if(!r(d)||t(d))return!1;var h=e(d)?c:a;return h.test(n(d))}return cA=f,cA}var fA,UG;function AGe(){if(UG)return fA;UG=1;function e(t,r){return t==null?void 0:t[r]}return fA=e,fA}var dA,VG;function Uy(){if(VG)return dA;VG=1;var e=TGe(),t=AGe();function r(n,i){var a=t(n,i);return e(a)?a:void 0}return dA=r,dA}var hA,jG;function FC(){if(jG)return hA;jG=1;var e=Uy(),t=e(Object,"create");return hA=t,hA}var pA,WG;function FGe(){if(WG)return pA;WG=1;var e=FC();function t(){this.__data__=e?e(null):{},this.size=0}return pA=t,pA}var mA,ZG;function IGe(){if(ZG)return mA;ZG=1;function e(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r}return mA=e,mA}var gA,KG;function MGe(){if(KG)return gA;KG=1;var e=FC(),t="__lodash_hash_undefined__",r=Object.prototype,n=r.hasOwnProperty;function i(a){var o=this.__data__;if(e){var s=o[a];return s===t?void 0:s}return n.call(o,a)?o[a]:void 0}return gA=i,gA}var vA,HG;function NGe(){if(HG)return vA;HG=1;var e=FC(),t=Object.prototype,r=t.hasOwnProperty;function n(i){var a=this.__data__;return e?a[i]!==void 0:r.call(a,i)}return vA=n,vA}var yA,YG;function LGe(){if(YG)return yA;YG=1;var e=FC(),t="__lodash_hash_undefined__";function r(n,i){var a=this.__data__;return this.size+=this.has(n)?0:1,a[n]=e&&i===void 0?t:i,this}return yA=r,yA}var bA,GG;function zGe(){if(GG)return bA;GG=1;var e=FGe(),t=IGe(),r=MGe(),n=NGe(),i=LGe();function a(o){var s=-1,u=o==null?0:o.length;for(this.clear();++s<u;){var l=o[s];this.set(l[0],l[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=r,a.prototype.has=n,a.prototype.set=i,bA=a,bA}var OA,XG;function QGe(){if(XG)return OA;XG=1;function e(){this.__data__=[],this.size=0}return OA=e,OA}var xA,JG;function Qz(){if(JG)return xA;JG=1;function e(t,r){return t===r||t!==t&&r!==r}return xA=e,xA}var _A,eX;function IC(){if(eX)return _A;eX=1;var e=Qz();function t(r,n){for(var i=r.length;i--;)if(e(r[i][0],n))return i;return-1}return _A=t,_A}var SA,tX;function BGe(){if(tX)return SA;tX=1;var e=IC(),t=Array.prototype,r=t.splice;function n(i){var a=this.__data__,o=e(a,i);if(o<0)return!1;var s=a.length-1;return o==s?a.pop():r.call(a,o,1),--this.size,!0}return SA=n,SA}var wA,rX;function qGe(){if(rX)return wA;rX=1;var e=IC();function t(r){var n=this.__data__,i=e(n,r);return i<0?void 0:n[i][1]}return wA=t,wA}var EA,nX;function UGe(){if(nX)return EA;nX=1;var e=IC();function t(r){return e(this.__data__,r)>-1}return EA=t,EA}var $A,iX;function VGe(){if(iX)return $A;iX=1;var e=IC();function t(r,n){var i=this.__data__,a=e(i,r);return a<0?(++this.size,i.push([r,n])):i[a][1]=n,this}return $A=t,$A}var CA,aX;function MC(){if(aX)return CA;aX=1;var e=QGe(),t=BGe(),r=qGe(),n=UGe(),i=VGe();function a(o){var s=-1,u=o==null?0:o.length;for(this.clear();++s<u;){var l=o[s];this.set(l[0],l[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=r,a.prototype.has=n,a.prototype.set=i,CA=a,CA}var PA,oX;function Bz(){if(oX)return PA;oX=1;var e=Uy(),t=$p(),r=e(t,"Map");return PA=r,PA}var DA,sX;function jGe(){if(sX)return DA;sX=1;var e=zGe(),t=MC(),r=Bz();function n(){this.size=0,this.__data__={hash:new e,map:new(r||t),string:new e}}return DA=n,DA}var RA,uX;function WGe(){if(uX)return RA;uX=1;function e(t){var r=typeof t;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?t!=="__proto__":t===null}return RA=e,RA}var kA,lX;function NC(){if(lX)return kA;lX=1;var e=WGe();function t(r,n){var i=r.__data__;return e(n)?i[typeof n=="string"?"string":"hash"]:i.map}return kA=t,kA}var TA,cX;function ZGe(){if(cX)return TA;cX=1;var e=NC();function t(r){var n=e(this,r).delete(r);return this.size-=n?1:0,n}return TA=t,TA}var AA,fX;function KGe(){if(fX)return AA;fX=1;var e=NC();function t(r){return e(this,r).get(r)}return AA=t,AA}var FA,dX;function HGe(){if(dX)return FA;dX=1;var e=NC();function t(r){return e(this,r).has(r)}return FA=t,FA}var IA,hX;function YGe(){if(hX)return IA;hX=1;var e=NC();function t(r,n){var i=e(this,r),a=i.size;return i.set(r,n),this.size+=i.size==a?0:1,this}return IA=t,IA}var MA,pX;function qz(){if(pX)return MA;pX=1;var e=jGe(),t=ZGe(),r=KGe(),n=HGe(),i=YGe();function a(o){var s=-1,u=o==null?0:o.length;for(this.clear();++s<u;){var l=o[s];this.set(l[0],l[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=r,a.prototype.has=n,a.prototype.set=i,MA=a,MA}var NA,mX;function Zbe(){if(mX)return NA;mX=1;var e=qz(),t="Expected a function";function r(n,i){if(typeof n!="function"||i!=null&&typeof i!="function")throw new TypeError(t);var a=function(){var o=arguments,s=i?i.apply(this,o):o[0],u=a.cache;if(u.has(s))return u.get(s);var l=n.apply(this,o);return a.cache=u.set(s,l)||u,l};return a.cache=new(r.Cache||e),a}return r.Cache=e,NA=r,NA}var LA,gX;function GGe(){if(gX)return LA;gX=1;var e=Zbe(),t=500;function r(n){var i=e(n,function(o){return a.size===t&&a.clear(),o}),a=i.cache;return i}return LA=r,LA}var zA,vX;function XGe(){if(vX)return zA;vX=1;var e=GGe(),t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,r=/\\(\\)?/g,n=e(function(i){var a=[];return i.charCodeAt(0)===46&&a.push(""),i.replace(t,function(o,s,u,l){a.push(u?l.replace(r,"$1"):s||o)}),a});return zA=n,zA}var QA,yX;function Uz(){if(yX)return QA;yX=1;function e(t,r){for(var n=-1,i=t==null?0:t.length,a=Array(i);++n<i;)a[n]=r(t[n],n,t);return a}return QA=e,QA}var BA,bX;function JGe(){if(bX)return BA;bX=1;var e=Pw(),t=Uz(),r=bc(),n=PO(),i=e?e.prototype:void 0,a=i?i.toString:void 0;function o(s){if(typeof s=="string")return s;if(r(s))return t(s,o)+"";if(n(s))return a?a.call(s):"";var u=s+"";return u=="0"&&1/s==-1/0?"-0":u}return BA=o,BA}var qA,OX;function Kbe(){if(OX)return qA;OX=1;var e=JGe();function t(r){return r==null?"":e(r)}return qA=t,qA}var UA,xX;function Hbe(){if(xX)return UA;xX=1;var e=bc(),t=Lz(),r=XGe(),n=Kbe();function i(a,o){return e(a)?a:t(a,o)?[a]:r(n(a))}return UA=i,UA}var VA,_X;function LC(){if(_X)return VA;_X=1;var e=PO();function t(r){if(typeof r=="string"||e(r))return r;var n=r+"";return n=="0"&&1/r==-1/0?"-0":n}return VA=t,VA}var jA,SX;function Vz(){if(SX)return jA;SX=1;var e=Hbe(),t=LC();function r(n,i){i=e(i,n);for(var a=0,o=i.length;n!=null&&a<o;)n=n[t(i[a++])];return a&&a==o?n:void 0}return jA=r,jA}var WA,wX;function Ybe(){if(wX)return WA;wX=1;var e=Vz();function t(r,n,i){var a=r==null?void 0:e(r,n);return a===void 0?i:a}return WA=t,WA}var eXe=Ybe();const b0t=an(eXe);var ZA,EX;function tXe(){if(EX)return ZA;EX=1;function e(t){return t==null}return ZA=e,ZA}var rXe=tXe();const O0t=an(rXe);var KA,$X;function nXe(){if($X)return KA;$X=1;var e=tm(),t=bc(),r=rm(),n="[object String]";function i(a){return typeof a=="string"||!t(a)&&r(a)&&e(a)==n}return KA=i,KA}var iXe=nXe();const x0t=an(iXe);var aXe=zz();const _0t=an(aXe);var oXe=qg();const S0t=an(oXe);var w0t=Cne(),HA,CX;function Gbe(){if(CX)return HA;CX=1;var e=tm(),t=rm(),r="[object Number]";function n(i){return typeof i=="number"||t(i)&&e(i)==r}return HA=n,HA}var YA,PX;function sXe(){if(PX)return YA;PX=1;var e=Gbe();function t(r){return e(r)&&r!=+r}return YA=t,YA}var uXe=sXe();const E0t=an(uXe);var lXe=Gbe();const $0t=an(lXe);var GA,DX;function cXe(){if(DX)return GA;DX=1;function e(t,r,n){var i=-1,a=t.length;r<0&&(r=-r>a?0:a+r),n=n>a?a:n,n<0&&(n+=a),a=r>n?0:n-r>>>0,r>>>=0;for(var o=Array(a);++i<a;)o[i]=t[i+r];return o}return GA=e,GA}var XA,RX;function fXe(){if(RX)return XA;RX=1;var e=cXe();function t(r,n,i){var a=r.length;return i=i===void 0?a:i,!n&&i>=a?r:e(r,n,i)}return XA=t,XA}var JA,kX;function Xbe(){if(kX)return JA;kX=1;var e="\\ud800-\\udfff",t="\\u0300-\\u036f",r="\\ufe20-\\ufe2f",n="\\u20d0-\\u20ff",i=t+r+n,a="\\ufe0e\\ufe0f",o="\\u200d",s=RegExp("["+o+e+i+a+"]");function u(l){return s.test(l)}return JA=u,JA}var e8,TX;function dXe(){if(TX)return e8;TX=1;function e(t){return t.split("")}return e8=e,e8}var t8,AX;function hXe(){if(AX)return t8;AX=1;var e="\\ud800-\\udfff",t="\\u0300-\\u036f",r="\\ufe20-\\ufe2f",n="\\u20d0-\\u20ff",i=t+r+n,a="\\ufe0e\\ufe0f",o="["+e+"]",s="["+i+"]",u="\\ud83c[\\udffb-\\udfff]",l="(?:"+s+"|"+u+")",c="[^"+e+"]",f="(?:\\ud83c[\\udde6-\\uddff]){2}",d="[\\ud800-\\udbff][\\udc00-\\udfff]",h="\\u200d",g=l+"?",m="["+a+"]?",v="(?:"+h+"(?:"+[c,f,d].join("|")+")"+m+g+")*",y=m+g+v,O="(?:"+[c+s+"?",s,f,d,o].join("|")+")",x=RegExp(u+"(?="+u+")|"+O+y,"g");function C(w){return w.match(x)||[]}return t8=C,t8}var r8,FX;function pXe(){if(FX)return r8;FX=1;var e=dXe(),t=Xbe(),r=hXe();function n(i){return t(i)?r(i):e(i)}return r8=n,r8}var n8,IX;function mXe(){if(IX)return n8;IX=1;var e=fXe(),t=Xbe(),r=pXe(),n=Kbe();function i(a){return function(o){o=n(o);var s=t(o)?r(o):void 0,u=s?s[0]:o.charAt(0),l=s?e(s,1).join(""):o.slice(1);return u[a]()+l}}return n8=i,n8}var i8,MX;function gXe(){if(MX)return i8;MX=1;var e=mXe(),t=e("toUpperCase");return i8=t,i8}var vXe=gXe();const C0t=an(vXe);function ta(e){return function(){return e}}const Jbe=Math.cos,P4=Math.sin,gh=Math.sqrt,D4=Math.PI,zC=2*D4,fM=Math.PI,dM=2*fM,Fv=1e-6,yXe=dM-Fv;function eOe(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=arguments[t]+e[t]}function bXe(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return eOe;const r=10**t;return function(n){this._+=n[0];for(let i=1,a=n.length;i<a;++i)this._+=Math.round(arguments[i]*r)/r+n[i]}}class OXe{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=t==null?eOe:bXe(t)}moveTo(t,r){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+r}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,r){this._append`L${this._x1=+t},${this._y1=+r}`}quadraticCurveTo(t,r,n,i){this._append`Q${+t},${+r},${this._x1=+n},${this._y1=+i}`}bezierCurveTo(t,r,n,i,a,o){this._append`C${+t},${+r},${+n},${+i},${this._x1=+a},${this._y1=+o}`}arcTo(t,r,n,i,a){if(t=+t,r=+r,n=+n,i=+i,a=+a,a<0)throw new Error(`negative radius: ${a}`);let o=this._x1,s=this._y1,u=n-t,l=i-r,c=o-t,f=s-r,d=c*c+f*f;if(this._x1===null)this._append`M${this._x1=t},${this._y1=r}`;else if(d>Fv)if(!(Math.abs(f*u-l*c)>Fv)||!a)this._append`L${this._x1=t},${this._y1=r}`;else{let h=n-o,g=i-s,m=u*u+l*l,v=h*h+g*g,y=Math.sqrt(m),O=Math.sqrt(d),x=a*Math.tan((fM-Math.acos((m+d-v)/(2*y*O)))/2),C=x/O,w=x/y;Math.abs(C-1)>Fv&&this._append`L${t+C*c},${r+C*f}`,this._append`A${a},${a},0,0,${+(f*h>c*g)},${this._x1=t+w*u},${this._y1=r+w*l}`}}arc(t,r,n,i,a,o){if(t=+t,r=+r,n=+n,o=!!o,n<0)throw new Error(`negative radius: ${n}`);let s=n*Math.cos(i),u=n*Math.sin(i),l=t+s,c=r+u,f=1^o,d=o?i-a:a-i;this._x1===null?this._append`M${l},${c}`:(Math.abs(this._x1-l)>Fv||Math.abs(this._y1-c)>Fv)&&this._append`L${l},${c}`,n&&(d<0&&(d=d%dM+dM),d>yXe?this._append`A${n},${n},0,1,${f},${t-s},${r-u}A${n},${n},0,1,${f},${this._x1=l},${this._y1=c}`:d>Fv&&this._append`A${n},${n},0,${+(d>=fM)},${f},${this._x1=t+n*Math.cos(a)},${this._y1=r+n*Math.sin(a)}`)}rect(t,r,n,i){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+r}h${n=+n}v${+i}h${-n}Z`}toString(){return this._}}function jz(e){let t=3;return e.digits=function(r){if(!arguments.length)return t;if(r==null)t=null;else{const n=Math.floor(r);if(!(n>=0))throw new RangeError(`invalid digits: ${r}`);t=n}return e},()=>new OXe(t)}function Wz(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function tOe(e){this._context=e}tOe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}};function rOe(e){return new tOe(e)}function nOe(e){return e[0]}function iOe(e){return e[1]}function xXe(e,t){var r=ta(!0),n=null,i=rOe,a=null,o=jz(s);e=typeof e=="function"?e:e===void 0?nOe:ta(e),t=typeof t=="function"?t:t===void 0?iOe:ta(t);function s(u){var l,c=(u=Wz(u)).length,f,d=!1,h;for(n==null&&(a=i(h=o())),l=0;l<=c;++l)!(l<c&&r(f=u[l],l,u))===d&&((d=!d)?a.lineStart():a.lineEnd()),d&&a.point(+e(f,l,u),+t(f,l,u));if(h)return a=null,h+""||null}return s.x=function(u){return arguments.length?(e=typeof u=="function"?u:ta(+u),s):e},s.y=function(u){return arguments.length?(t=typeof u=="function"?u:ta(+u),s):t},s.defined=function(u){return arguments.length?(r=typeof u=="function"?u:ta(!!u),s):r},s.curve=function(u){return arguments.length?(i=u,n!=null&&(a=i(n)),s):i},s.context=function(u){return arguments.length?(u==null?n=a=null:a=i(n=u),s):n},s}function P0t(e,t,r){var n=null,i=ta(!0),a=null,o=rOe,s=null,u=jz(l);e=typeof e=="function"?e:e===void 0?nOe:ta(+e),t=typeof t=="function"?t:ta(t===void 0?0:+t),r=typeof r=="function"?r:r===void 0?iOe:ta(+r);function l(f){var d,h,g,m=(f=Wz(f)).length,v,y=!1,O,x=new Array(m),C=new Array(m);for(a==null&&(s=o(O=u())),d=0;d<=m;++d){if(!(d<m&&i(v=f[d],d,f))===y)if(y=!y)h=d,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),g=d-1;g>=h;--g)s.point(x[g],C[g]);s.lineEnd(),s.areaEnd()}y&&(x[d]=+e(v,d,f),C[d]=+t(v,d,f),s.point(n?+n(v,d,f):x[d],r?+r(v,d,f):C[d]))}if(O)return s=null,O+""||null}function c(){return xXe().defined(i).curve(o).context(a)}return l.x=function(f){return arguments.length?(e=typeof f=="function"?f:ta(+f),n=null,l):e},l.x0=function(f){return arguments.length?(e=typeof f=="function"?f:ta(+f),l):e},l.x1=function(f){return arguments.length?(n=f==null?null:typeof f=="function"?f:ta(+f),l):n},l.y=function(f){return arguments.length?(t=typeof f=="function"?f:ta(+f),r=null,l):t},l.y0=function(f){return arguments.length?(t=typeof f=="function"?f:ta(+f),l):t},l.y1=function(f){return arguments.length?(r=f==null?null:typeof f=="function"?f:ta(+f),l):r},l.lineX0=l.lineY0=function(){return c().x(e).y(t)},l.lineY1=function(){return c().x(e).y(r)},l.lineX1=function(){return c().x(n).y(t)},l.defined=function(f){return arguments.length?(i=typeof f=="function"?f:ta(!!f),l):i},l.curve=function(f){return arguments.length?(o=f,a!=null&&(s=o(a)),l):o},l.context=function(f){return arguments.length?(f==null?a=s=null:s=o(a=f),l):a},l}class aOe{constructor(t,r){this._context=t,this._x=r}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(t,r){switch(t=+t,r=+r,this._point){case 0:{this._point=1,this._line?this._context.lineTo(t,r):this._context.moveTo(t,r);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,r,t,r):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+r)/2,t,this._y0,t,r);break}}this._x0=t,this._y0=r}}function D0t(e){return new aOe(e,!0)}function R0t(e){return new aOe(e,!1)}const _Xe={draw(e,t){const r=gh(t/D4);e.moveTo(r,0),e.arc(0,0,r,0,zC)}},k0t={draw(e,t){const r=gh(t/5)/2;e.moveTo(-3*r,-r),e.lineTo(-r,-r),e.lineTo(-r,-3*r),e.lineTo(r,-3*r),e.lineTo(r,-r),e.lineTo(3*r,-r),e.lineTo(3*r,r),e.lineTo(r,r),e.lineTo(r,3*r),e.lineTo(-r,3*r),e.lineTo(-r,r),e.lineTo(-3*r,r),e.closePath()}},oOe=gh(1/3),SXe=oOe*2,T0t={draw(e,t){const r=gh(t/SXe),n=r*oOe;e.moveTo(0,-r),e.lineTo(n,0),e.lineTo(0,r),e.lineTo(-n,0),e.closePath()}},A0t={draw(e,t){const r=gh(t),n=-r/2;e.rect(n,n,r,r)}},wXe=.8908130915292852,sOe=P4(D4/10)/P4(7*D4/10),EXe=P4(zC/10)*sOe,$Xe=-Jbe(zC/10)*sOe,F0t={draw(e,t){const r=gh(t*wXe),n=EXe*r,i=$Xe*r;e.moveTo(0,-r),e.lineTo(n,i);for(let a=1;a<5;++a){const o=zC*a/5,s=Jbe(o),u=P4(o);e.lineTo(u*r,-s*r),e.lineTo(s*n-u*i,u*n+s*i)}e.closePath()}},a8=gh(3),I0t={draw(e,t){const r=-gh(t/(a8*3));e.moveTo(0,r*2),e.lineTo(-a8*r,-r),e.lineTo(a8*r,-r),e.closePath()}},Pf=-.5,Df=gh(3)/2,hM=1/gh(12),CXe=(hM/2+1)*3,M0t={draw(e,t){const r=gh(t/CXe),n=r/2,i=r*hM,a=n,o=r*hM+r,s=-a,u=o;e.moveTo(n,i),e.lineTo(a,o),e.lineTo(s,u),e.lineTo(Pf*n-Df*i,Df*n+Pf*i),e.lineTo(Pf*a-Df*o,Df*a+Pf*o),e.lineTo(Pf*s-Df*u,Df*s+Pf*u),e.lineTo(Pf*n+Df*i,Pf*i-Df*n),e.lineTo(Pf*a+Df*o,Pf*o-Df*a),e.lineTo(Pf*s+Df*u,Pf*u-Df*s),e.closePath()}};function N0t(e,t){let r=null,n=jz(i);e=typeof e=="function"?e:ta(e||_Xe),t=typeof t=="function"?t:ta(t===void 0?64:+t);function i(){let a;if(r||(r=a=n()),e.apply(this,arguments).draw(r,+t.apply(this,arguments)),a)return r=null,a+""||null}return i.type=function(a){return arguments.length?(e=typeof a=="function"?a:ta(a),i):e},i.size=function(a){return arguments.length?(t=typeof a=="function"?a:ta(+a),i):t},i.context=function(a){return arguments.length?(r=a??null,i):r},i}function R4(){}function k4(e,t,r){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+r)/6)}function uOe(e){this._context=e}uOe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:k4(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:k4(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function L0t(e){return new uOe(e)}function lOe(e){this._context=e}lOe.prototype={areaStart:R4,areaEnd:R4,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:k4(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function z0t(e){return new lOe(e)}function cOe(e){this._context=e}cOe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+e)/6,n=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:k4(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function Q0t(e){return new cOe(e)}function fOe(e){this._context=e}fOe.prototype={areaStart:R4,areaEnd:R4,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function B0t(e){return new fOe(e)}function NX(e){return e<0?-1:1}function LX(e,t,r){var n=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(n||i<0&&-0),o=(r-e._y1)/(i||n<0&&-0),s=(a*i+o*n)/(n+i);return(NX(a)+NX(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function zX(e,t){var r=e._x1-e._x0;return r?(3*(e._y1-e._y0)/r-t)/2:t}function o8(e,t,r){var n=e._x0,i=e._y0,a=e._x1,o=e._y1,s=(a-n)/3;e._context.bezierCurveTo(n+s,i+s*t,a-s,o-s*r,a,o)}function T4(e){this._context=e}T4.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:o8(this,this._t0,zX(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var r=NaN;if(e=+e,t=+t,!(e===this._x1&&t===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,o8(this,zX(this,r=LX(this,e,t)),r);break;default:o8(this,this._t0,r=LX(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=r}}};function dOe(e){this._context=new hOe(e)}(dOe.prototype=Object.create(T4.prototype)).point=function(e,t){T4.prototype.point.call(this,t,e)};function hOe(e){this._context=e}hOe.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,r,n,i,a){this._context.bezierCurveTo(t,e,n,r,a,i)}};function q0t(e){return new T4(e)}function U0t(e){return new dOe(e)}function pOe(e){this._context=e}pOe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,r=e.length;if(r)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),r===2)this._context.lineTo(e[1],t[1]);else for(var n=QX(e),i=QX(t),a=0,o=1;o<r;++a,++o)this._context.bezierCurveTo(n[0][a],i[0][a],n[1][a],i[1][a],e[o],t[o]);(this._line||this._line!==0&&r===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}};function QX(e){var t,r=e.length-1,n,i=new Array(r),a=new Array(r),o=new Array(r);for(i[0]=0,a[0]=2,o[0]=e[0]+2*e[1],t=1;t<r-1;++t)i[t]=1,a[t]=4,o[t]=4*e[t]+2*e[t+1];for(i[r-1]=2,a[r-1]=7,o[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)n=i[t]/a[t-1],a[t]-=n,o[t]-=n*o[t-1];for(i[r-1]=o[r-1]/a[r-1],t=r-2;t>=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[r-1]=(e[r]+i[r-1])/2,t=0;t<r-1;++t)a[t]=2*e[t+1]-i[t+1];return[i,a]}function V0t(e){return new pOe(e)}function QC(e,t){this._context=e,this._t=t}QC.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var r=this._x*(1-this._t)+e*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,t)}break}}this._x=e,this._y=t}};function j0t(e){return new QC(e,.5)}function W0t(e){return new QC(e,0)}function Z0t(e){return new QC(e,1)}function LS(e,t){if((o=e.length)>1)for(var r=1,n,i,a=e[t[0]],o,s=a.length;r<o;++r)for(i=a,a=e[t[r]],n=0;n<s;++n)a[n][1]+=a[n][0]=isNaN(i[n][1])?i[n][0]:i[n][1]}function BX(e){for(var t=e.length,r=new Array(t);--t>=0;)r[t]=t;return r}function PXe(e,t){return e[t]}function DXe(e){const t=[];return t.key=e,t}function K0t(){var e=ta([]),t=BX,r=LS,n=PXe;function i(a){var o=Array.from(e.apply(this,arguments),DXe),s,u=o.length,l=-1,c;for(const f of a)for(s=0,++l;s<u;++s)(o[s][l]=[0,+n(f,o[s].key,l,a)]).data=f;for(s=0,c=Wz(t(o));s<u;++s)o[c[s]].index=s;return r(o,c),o}return i.keys=function(a){return arguments.length?(e=typeof a=="function"?a:ta(Array.from(a)),i):e},i.value=function(a){return arguments.length?(n=typeof a=="function"?a:ta(+a),i):n},i.order=function(a){return arguments.length?(t=a==null?BX:typeof a=="function"?a:ta(Array.from(a)),i):t},i.offset=function(a){return arguments.length?(r=a??LS,i):r},i}function H0t(e,t){if((n=e.length)>0){for(var r,n,i=0,a=e[0].length,o;i<a;++i){for(o=r=0;r<n;++r)o+=e[r][i][1]||0;if(o)for(r=0;r<n;++r)e[r][i][1]/=o}LS(e,t)}}function Y0t(e,t){if((i=e.length)>0){for(var r=0,n=e[t[0]],i,a=n.length;r<a;++r){for(var o=0,s=0;o<i;++o)s+=e[o][r][1]||0;n[r][1]+=n[r][0]=-s/2}LS(e,t)}}function G0t(e,t){if(!(!((o=e.length)>0)||!((a=(i=e[t[0]]).length)>0))){for(var r=0,n=1,i,a,o;n<a;++n){for(var s=0,u=0,l=0;s<o;++s){for(var c=e[t[s]],f=c[n][1]||0,d=c[n-1][1]||0,h=(f-d)/2,g=0;g<s;++g){var m=e[t[g]],v=m[n][1]||0,y=m[n-1][1]||0;h+=v-y}u+=f,l+=h*f}i[n-1][1]+=i[n-1][0]=r,u&&(r-=l/u)}i[n-1][1]+=i[n-1][0]=r,LS(e,t)}}var s8,qX;function RXe(){if(qX)return s8;qX=1;var e=MC();function t(){this.__data__=new e,this.size=0}return s8=t,s8}var u8,UX;function kXe(){if(UX)return u8;UX=1;function e(t){var r=this.__data__,n=r.delete(t);return this.size=r.size,n}return u8=e,u8}var l8,VX;function TXe(){if(VX)return l8;VX=1;function e(t){return this.__data__.get(t)}return l8=e,l8}var c8,jX;function AXe(){if(jX)return c8;jX=1;function e(t){return this.__data__.has(t)}return c8=e,c8}var f8,WX;function FXe(){if(WX)return f8;WX=1;var e=MC(),t=Bz(),r=qz(),n=200;function i(a,o){var s=this.__data__;if(s instanceof e){var u=s.__data__;if(!t||u.length<n-1)return u.push([a,o]),this.size=++s.size,this;s=this.__data__=new r(u)}return s.set(a,o),this.size=s.size,this}return f8=i,f8}var d8,ZX;function mOe(){if(ZX)return d8;ZX=1;var e=MC(),t=RXe(),r=kXe(),n=TXe(),i=AXe(),a=FXe();function o(s){var u=this.__data__=new e(s);this.size=u.size}return o.prototype.clear=t,o.prototype.delete=r,o.prototype.get=n,o.prototype.has=i,o.prototype.set=a,d8=o,d8}var h8,KX;function IXe(){if(KX)return h8;KX=1;var e="__lodash_hash_undefined__";function t(r){return this.__data__.set(r,e),this}return h8=t,h8}var p8,HX;function MXe(){if(HX)return p8;HX=1;function e(t){return this.__data__.has(t)}return p8=e,p8}var m8,YX;function gOe(){if(YX)return m8;YX=1;var e=qz(),t=IXe(),r=MXe();function n(i){var a=-1,o=i==null?0:i.length;for(this.__data__=new e;++a<o;)this.add(i[a])}return n.prototype.add=n.prototype.push=t,n.prototype.has=r,m8=n,m8}var g8,GX;function vOe(){if(GX)return g8;GX=1;function e(t,r){for(var n=-1,i=t==null?0:t.length;++n<i;)if(r(t[n],n,t))return!0;return!1}return g8=e,g8}var v8,XX;function yOe(){if(XX)return v8;XX=1;function e(t,r){return t.has(r)}return v8=e,v8}var y8,JX;function bOe(){if(JX)return y8;JX=1;var e=gOe(),t=vOe(),r=yOe(),n=1,i=2;function a(o,s,u,l,c,f){var d=u&n,h=o.length,g=s.length;if(h!=g&&!(d&&g>h))return!1;var m=f.get(o),v=f.get(s);if(m&&v)return m==s&&v==o;var y=-1,O=!0,x=u&i?new e:void 0;for(f.set(o,s),f.set(s,o);++y<h;){var C=o[y],w=s[y];if(l)var E=d?l(w,C,y,s,o,f):l(C,w,y,o,s,f);if(E!==void 0){if(E)continue;O=!1;break}if(x){if(!t(s,function(T,P){if(!r(x,P)&&(C===T||c(C,T,u,l,f)))return x.push(P)})){O=!1;break}}else if(!(C===w||c(C,w,u,l,f))){O=!1;break}}return f.delete(o),f.delete(s),O}return y8=a,y8}var b8,eJ;function NXe(){if(eJ)return b8;eJ=1;var e=$p(),t=e.Uint8Array;return b8=t,b8}var O8,tJ;function LXe(){if(tJ)return O8;tJ=1;function e(t){var r=-1,n=Array(t.size);return t.forEach(function(i,a){n[++r]=[a,i]}),n}return O8=e,O8}var x8,rJ;function Zz(){if(rJ)return x8;rJ=1;function e(t){var r=-1,n=Array(t.size);return t.forEach(function(i){n[++r]=i}),n}return x8=e,x8}var _8,nJ;function zXe(){if(nJ)return _8;nJ=1;var e=Pw(),t=NXe(),r=Qz(),n=bOe(),i=LXe(),a=Zz(),o=1,s=2,u="[object Boolean]",l="[object Date]",c="[object Error]",f="[object Map]",d="[object Number]",h="[object RegExp]",g="[object Set]",m="[object String]",v="[object Symbol]",y="[object ArrayBuffer]",O="[object DataView]",x=e?e.prototype:void 0,C=x?x.valueOf:void 0;function w(E,T,P,L,N,B,j){switch(P){case O:if(E.byteLength!=T.byteLength||E.byteOffset!=T.byteOffset)return!1;E=E.buffer,T=T.buffer;case y:return!(E.byteLength!=T.byteLength||!B(new t(E),new t(T)));case u:case l:case d:return r(+E,+T);case c:return E.name==T.name&&E.message==T.message;case h:case m:return E==T+"";case f:var A=i;case g:var H=L&o;if(A||(A=a),E.size!=T.size&&!H)return!1;var k=j.get(E);if(k)return k==T;L|=s,j.set(E,T);var Q=n(A(E),A(T),L,N,B,j);return j.delete(E),Q;case v:if(C)return C.call(E)==C.call(T)}return!1}return _8=w,_8}var S8,iJ;function OOe(){if(iJ)return S8;iJ=1;function e(t,r){for(var n=-1,i=r.length,a=t.length;++n<i;)t[a+n]=r[n];return t}return S8=e,S8}var w8,aJ;function QXe(){if(aJ)return w8;aJ=1;var e=OOe(),t=bc();function r(n,i,a){var o=i(n);return t(n)?o:e(o,a(n))}return w8=r,w8}var E8,oJ;function BXe(){if(oJ)return E8;oJ=1;function e(t,r){for(var n=-1,i=t==null?0:t.length,a=0,o=[];++n<i;){var s=t[n];r(s,n,t)&&(o[a++]=s)}return o}return E8=e,E8}var $8,sJ;function qXe(){if(sJ)return $8;sJ=1;function e(){return[]}return $8=e,$8}var C8,uJ;function UXe(){if(uJ)return C8;uJ=1;var e=BXe(),t=qXe(),r=Object.prototype,n=r.propertyIsEnumerable,i=Object.getOwnPropertySymbols,a=i?function(o){return o==null?[]:(o=Object(o),e(i(o),function(s){return n.call(o,s)}))}:t;return C8=a,C8}var P8,lJ;function VXe(){if(lJ)return P8;lJ=1;function e(t,r){for(var n=-1,i=Array(t);++n<t;)i[n]=r(n);return i}return P8=e,P8}var D8,cJ;function jXe(){if(cJ)return D8;cJ=1;var e=tm(),t=rm(),r="[object Arguments]";function n(i){return t(i)&&e(i)==r}return D8=n,D8}var R8,fJ;function Kz(){if(fJ)return R8;fJ=1;var e=jXe(),t=rm(),r=Object.prototype,n=r.hasOwnProperty,i=r.propertyIsEnumerable,a=e(function(){return arguments}())?e:function(o){return t(o)&&n.call(o,"callee")&&!i.call(o,"callee")};return R8=a,R8}var v_={exports:{}},k8,dJ;function WXe(){if(dJ)return k8;dJ=1;function e(){return!1}return k8=e,k8}v_.exports;var hJ;function xOe(){return hJ||(hJ=1,function(e,t){var r=$p(),n=WXe(),i=t&&!t.nodeType&&t,a=i&&!0&&e&&!e.nodeType&&e,o=a&&a.exports===i,s=o?r.Buffer:void 0,u=s?s.isBuffer:void 0,l=u||n;e.exports=l}(v_,v_.exports)),v_.exports}var T8,pJ;function Hz(){if(pJ)return T8;pJ=1;var e=9007199254740991,t=/^(?:0|[1-9]\d*)$/;function r(n,i){var a=typeof n;return i=i??e,!!i&&(a=="number"||a!="symbol"&&t.test(n))&&n>-1&&n%1==0&&n<i}return T8=r,T8}var A8,mJ;function Yz(){if(mJ)return A8;mJ=1;var e=9007199254740991;function t(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=e}return A8=t,A8}var F8,gJ;function ZXe(){if(gJ)return F8;gJ=1;var e=tm(),t=Yz(),r=rm(),n="[object Arguments]",i="[object Array]",a="[object Boolean]",o="[object Date]",s="[object Error]",u="[object Function]",l="[object Map]",c="[object Number]",f="[object Object]",d="[object RegExp]",h="[object Set]",g="[object String]",m="[object WeakMap]",v="[object ArrayBuffer]",y="[object DataView]",O="[object Float32Array]",x="[object Float64Array]",C="[object Int8Array]",w="[object Int16Array]",E="[object Int32Array]",T="[object Uint8Array]",P="[object Uint8ClampedArray]",L="[object Uint16Array]",N="[object Uint32Array]",B={};B[O]=B[x]=B[C]=B[w]=B[E]=B[T]=B[P]=B[L]=B[N]=!0,B[n]=B[i]=B[v]=B[a]=B[y]=B[o]=B[s]=B[u]=B[l]=B[c]=B[f]=B[d]=B[h]=B[g]=B[m]=!1;function j(A){return r(A)&&t(A.length)&&!!B[e(A)]}return F8=j,F8}var I8,vJ;function _Oe(){if(vJ)return I8;vJ=1;function e(t){return function(r){return t(r)}}return I8=e,I8}var y_={exports:{}};y_.exports;var yJ;function KXe(){return yJ||(yJ=1,function(e,t){var r=jbe(),n=t&&!t.nodeType&&t,i=n&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===n,o=a&&r.process,s=function(){try{var u=i&&i.require&&i.require("util").types;return u||o&&o.binding&&o.binding("util")}catch{}}();e.exports=s}(y_,y_.exports)),y_.exports}var M8,bJ;function SOe(){if(bJ)return M8;bJ=1;var e=ZXe(),t=_Oe(),r=KXe(),n=r&&r.isTypedArray,i=n?t(n):e;return M8=i,M8}var N8,OJ;function HXe(){if(OJ)return N8;OJ=1;var e=VXe(),t=Kz(),r=bc(),n=xOe(),i=Hz(),a=SOe(),o=Object.prototype,s=o.hasOwnProperty;function u(l,c){var f=r(l),d=!f&&t(l),h=!f&&!d&&n(l),g=!f&&!d&&!h&&a(l),m=f||d||h||g,v=m?e(l.length,String):[],y=v.length;for(var O in l)(c||s.call(l,O))&&!(m&&(O=="length"||h&&(O=="offset"||O=="parent")||g&&(O=="buffer"||O=="byteLength"||O=="byteOffset")||i(O,y)))&&v.push(O);return v}return N8=u,N8}var L8,xJ;function YXe(){if(xJ)return L8;xJ=1;var e=Object.prototype;function t(r){var n=r&&r.constructor,i=typeof n=="function"&&n.prototype||e;return r===i}return L8=t,L8}var z8,_J;function wOe(){if(_J)return z8;_J=1;function e(t,r){return function(n){return t(r(n))}}return z8=e,z8}var Q8,SJ;function GXe(){if(SJ)return Q8;SJ=1;var e=wOe(),t=e(Object.keys,Object);return Q8=t,Q8}var B8,wJ;function XXe(){if(wJ)return B8;wJ=1;var e=YXe(),t=GXe(),r=Object.prototype,n=r.hasOwnProperty;function i(a){if(!e(a))return t(a);var o=[];for(var s in Object(a))n.call(a,s)&&s!="constructor"&&o.push(s);return o}return B8=i,B8}var q8,EJ;function Dw(){if(EJ)return q8;EJ=1;var e=zz(),t=Yz();function r(n){return n!=null&&t(n.length)&&!e(n)}return q8=r,q8}var U8,$J;function BC(){if($J)return U8;$J=1;var e=HXe(),t=XXe(),r=Dw();function n(i){return r(i)?e(i):t(i)}return U8=n,U8}var V8,CJ;function JXe(){if(CJ)return V8;CJ=1;var e=QXe(),t=UXe(),r=BC();function n(i){return e(i,r,t)}return V8=n,V8}var j8,PJ;function eJe(){if(PJ)return j8;PJ=1;var e=JXe(),t=1,r=Object.prototype,n=r.hasOwnProperty;function i(a,o,s,u,l,c){var f=s&t,d=e(a),h=d.length,g=e(o),m=g.length;if(h!=m&&!f)return!1;for(var v=h;v--;){var y=d[v];if(!(f?y in o:n.call(o,y)))return!1}var O=c.get(a),x=c.get(o);if(O&&x)return O==o&&x==a;var C=!0;c.set(a,o),c.set(o,a);for(var w=f;++v<h;){y=d[v];var E=a[y],T=o[y];if(u)var P=f?u(T,E,y,o,a,c):u(E,T,y,a,o,c);if(!(P===void 0?E===T||l(E,T,s,u,c):P)){C=!1;break}w||(w=y=="constructor")}if(C&&!w){var L=a.constructor,N=o.constructor;L!=N&&"constructor"in a&&"constructor"in o&&!(typeof L=="function"&&L instanceof L&&typeof N=="function"&&N instanceof N)&&(C=!1)}return c.delete(a),c.delete(o),C}return j8=i,j8}var W8,DJ;function tJe(){if(DJ)return W8;DJ=1;var e=Uy(),t=$p(),r=e(t,"DataView");return W8=r,W8}var Z8,RJ;function rJe(){if(RJ)return Z8;RJ=1;var e=Uy(),t=$p(),r=e(t,"Promise");return Z8=r,Z8}var K8,kJ;function EOe(){if(kJ)return K8;kJ=1;var e=Uy(),t=$p(),r=e(t,"Set");return K8=r,K8}var H8,TJ;function nJe(){if(TJ)return H8;TJ=1;var e=Uy(),t=$p(),r=e(t,"WeakMap");return H8=r,H8}var Y8,AJ;function iJe(){if(AJ)return Y8;AJ=1;var e=tJe(),t=Bz(),r=rJe(),n=EOe(),i=nJe(),a=tm(),o=Wbe(),s="[object Map]",u="[object Object]",l="[object Promise]",c="[object Set]",f="[object WeakMap]",d="[object DataView]",h=o(e),g=o(t),m=o(r),v=o(n),y=o(i),O=a;return(e&&O(new e(new ArrayBuffer(1)))!=d||t&&O(new t)!=s||r&&O(r.resolve())!=l||n&&O(new n)!=c||i&&O(new i)!=f)&&(O=function(x){var C=a(x),w=C==u?x.constructor:void 0,E=w?o(w):"";if(E)switch(E){case h:return d;case g:return s;case m:return l;case v:return c;case y:return f}return C}),Y8=O,Y8}var G8,FJ;function aJe(){if(FJ)return G8;FJ=1;var e=mOe(),t=bOe(),r=zXe(),n=eJe(),i=iJe(),a=bc(),o=xOe(),s=SOe(),u=1,l="[object Arguments]",c="[object Array]",f="[object Object]",d=Object.prototype,h=d.hasOwnProperty;function g(m,v,y,O,x,C){var w=a(m),E=a(v),T=w?c:i(m),P=E?c:i(v);T=T==l?f:T,P=P==l?f:P;var L=T==f,N=P==f,B=T==P;if(B&&o(m)){if(!o(v))return!1;w=!0,L=!1}if(B&&!L)return C||(C=new e),w||s(m)?t(m,v,y,O,x,C):r(m,v,T,y,O,x,C);if(!(y&u)){var j=L&&h.call(m,"__wrapped__"),A=N&&h.call(v,"__wrapped__");if(j||A){var H=j?m.value():m,k=A?v.value():v;return C||(C=new e),x(H,k,y,O,C)}}return B?(C||(C=new e),n(m,v,y,O,x,C)):!1}return G8=g,G8}var X8,IJ;function Gz(){if(IJ)return X8;IJ=1;var e=aJe(),t=rm();function r(n,i,a,o,s){return n===i?!0:n==null||i==null||!t(n)&&!t(i)?n!==n&&i!==i:e(n,i,a,o,r,s)}return X8=r,X8}var J8,MJ;function oJe(){if(MJ)return J8;MJ=1;var e=mOe(),t=Gz(),r=1,n=2;function i(a,o,s,u){var l=s.length,c=l,f=!u;if(a==null)return!c;for(a=Object(a);l--;){var d=s[l];if(f&&d[2]?d[1]!==a[d[0]]:!(d[0]in a))return!1}for(;++l<c;){d=s[l];var h=d[0],g=a[h],m=d[1];if(f&&d[2]){if(g===void 0&&!(h in a))return!1}else{var v=new e;if(u)var y=u(g,m,h,a,o,v);if(!(y===void 0?t(m,g,r|n,u,v):y))return!1}}return!0}return J8=i,J8}var eF,NJ;function $Oe(){if(NJ)return eF;NJ=1;var e=qg();function t(r){return r===r&&!e(r)}return eF=t,eF}var tF,LJ;function sJe(){if(LJ)return tF;LJ=1;var e=$Oe(),t=BC();function r(n){for(var i=t(n),a=i.length;a--;){var o=i[a],s=n[o];i[a]=[o,s,e(s)]}return i}return tF=r,tF}var rF,zJ;function COe(){if(zJ)return rF;zJ=1;function e(t,r){return function(n){return n==null?!1:n[t]===r&&(r!==void 0||t in Object(n))}}return rF=e,rF}var nF,QJ;function uJe(){if(QJ)return nF;QJ=1;var e=oJe(),t=sJe(),r=COe();function n(i){var a=t(i);return a.length==1&&a[0][2]?r(a[0][0],a[0][1]):function(o){return o===i||e(o,i,a)}}return nF=n,nF}var iF,BJ;function lJe(){if(BJ)return iF;BJ=1;function e(t,r){return t!=null&&r in Object(t)}return iF=e,iF}var aF,qJ;function cJe(){if(qJ)return aF;qJ=1;var e=Hbe(),t=Kz(),r=bc(),n=Hz(),i=Yz(),a=LC();function o(s,u,l){u=e(u,s);for(var c=-1,f=u.length,d=!1;++c<f;){var h=a(u[c]);if(!(d=s!=null&&l(s,h)))break;s=s[h]}return d||++c!=f?d:(f=s==null?0:s.length,!!f&&i(f)&&n(h,f)&&(r(s)||t(s)))}return aF=o,aF}var oF,UJ;function fJe(){if(UJ)return oF;UJ=1;var e=lJe(),t=cJe();function r(n,i){return n!=null&&t(n,i,e)}return oF=r,oF}var sF,VJ;function dJe(){if(VJ)return sF;VJ=1;var e=Gz(),t=Ybe(),r=fJe(),n=Lz(),i=$Oe(),a=COe(),o=LC(),s=1,u=2;function l(c,f){return n(c)&&i(f)?a(o(c),f):function(d){var h=t(d,c);return h===void 0&&h===f?r(d,c):e(f,h,s|u)}}return sF=l,sF}var uF,jJ;function DO(){if(jJ)return uF;jJ=1;function e(t){return t}return uF=e,uF}var lF,WJ;function hJe(){if(WJ)return lF;WJ=1;function e(t){return function(r){return r==null?void 0:r[t]}}return lF=e,lF}var cF,ZJ;function pJe(){if(ZJ)return cF;ZJ=1;var e=Vz();function t(r){return function(n){return e(n,r)}}return cF=t,cF}var fF,KJ;function mJe(){if(KJ)return fF;KJ=1;var e=hJe(),t=pJe(),r=Lz(),n=LC();function i(a){return r(a)?e(n(a)):t(a)}return fF=i,fF}var dF,HJ;function Cp(){if(HJ)return dF;HJ=1;var e=uJe(),t=dJe(),r=DO(),n=bc(),i=mJe();function a(o){return typeof o=="function"?o:o==null?r:typeof o=="object"?n(o)?t(o[0],o[1]):e(o):i(o)}return dF=a,dF}var hF,YJ;function POe(){if(YJ)return hF;YJ=1;function e(t,r,n,i){for(var a=t.length,o=n+(i?1:-1);i?o--:++o<a;)if(r(t[o],o,t))return o;return-1}return hF=e,hF}var pF,GJ;function gJe(){if(GJ)return pF;GJ=1;function e(t){return t!==t}return pF=e,pF}var mF,XJ;function vJe(){if(XJ)return mF;XJ=1;function e(t,r,n){for(var i=n-1,a=t.length;++i<a;)if(t[i]===r)return i;return-1}return mF=e,mF}var gF,JJ;function yJe(){if(JJ)return gF;JJ=1;var e=POe(),t=gJe(),r=vJe();function n(i,a,o){return a===a?r(i,a,o):e(i,t,o)}return gF=n,gF}var vF,eee;function bJe(){if(eee)return vF;eee=1;var e=yJe();function t(r,n){var i=r==null?0:r.length;return!!i&&e(r,n,0)>-1}return vF=t,vF}var yF,tee;function OJe(){if(tee)return yF;tee=1;function e(t,r,n){for(var i=-1,a=t==null?0:t.length;++i<a;)if(n(r,t[i]))return!0;return!1}return yF=e,yF}var bF,ree;function xJe(){if(ree)return bF;ree=1;function e(){}return bF=e,bF}var OF,nee;function _Je(){if(nee)return OF;nee=1;var e=EOe(),t=xJe(),r=Zz(),n=1/0,i=e&&1/r(new e([,-0]))[1]==n?function(a){return new e(a)}:t;return OF=i,OF}var xF,iee;function SJe(){if(iee)return xF;iee=1;var e=gOe(),t=bJe(),r=OJe(),n=yOe(),i=_Je(),a=Zz(),o=200;function s(u,l,c){var f=-1,d=t,h=u.length,g=!0,m=[],v=m;if(c)g=!1,d=r;else if(h>=o){var y=l?null:i(u);if(y)return a(y);g=!1,d=n,v=new e}else v=l?[]:m;e:for(;++f<h;){var O=u[f],x=l?l(O):O;if(O=c||O!==0?O:0,g&&x===x){for(var C=v.length;C--;)if(v[C]===x)continue e;l&&v.push(x),m.push(O)}else d(v,x,c)||(v!==m&&v.push(x),m.push(O))}return m}return xF=s,xF}var _F,aee;function wJe(){if(aee)return _F;aee=1;var e=Cp(),t=SJe();function r(n,i){return n&&n.length?t(n,e(i,2)):[]}return _F=r,_F}var EJe=wJe();const X0t=an(EJe);var SF,oee;function $Je(){if(oee)return SF;oee=1;var e=Pw(),t=Kz(),r=bc(),n=e?e.isConcatSpreadable:void 0;function i(a){return r(a)||t(a)||!!(n&&a&&a[n])}return SF=i,SF}var wF,see;function DOe(){if(see)return wF;see=1;var e=OOe(),t=$Je();function r(n,i,a,o,s){var u=-1,l=n.length;for(a||(a=t),s||(s=[]);++u<l;){var c=n[u];i>0&&a(c)?i>1?r(c,i-1,a,o,s):e(s,c):o||(s[s.length]=c)}return s}return wF=r,wF}var EF,uee;function CJe(){if(uee)return EF;uee=1;function e(t){return function(r,n,i){for(var a=-1,o=Object(r),s=i(r),u=s.length;u--;){var l=s[t?u:++a];if(n(o[l],l,o)===!1)break}return r}}return EF=e,EF}var $F,lee;function PJe(){if(lee)return $F;lee=1;var e=CJe(),t=e();return $F=t,$F}var CF,cee;function ROe(){if(cee)return CF;cee=1;var e=PJe(),t=BC();function r(n,i){return n&&e(n,i,t)}return CF=r,CF}var PF,fee;function DJe(){if(fee)return PF;fee=1;var e=Dw();function t(r,n){return function(i,a){if(i==null)return i;if(!e(i))return r(i,a);for(var o=i.length,s=n?o:-1,u=Object(i);(n?s--:++s<o)&&a(u[s],s,u)!==!1;);return i}}return PF=t,PF}var DF,dee;function Xz(){if(dee)return DF;dee=1;var e=ROe(),t=DJe(),r=t(e);return DF=r,DF}var RF,hee;function kOe(){if(hee)return RF;hee=1;var e=Xz(),t=Dw();function r(n,i){var a=-1,o=t(n)?Array(n.length):[];return e(n,function(s,u,l){o[++a]=i(s,u,l)}),o}return RF=r,RF}var kF,pee;function RJe(){if(pee)return kF;pee=1;function e(t,r){var n=t.length;for(t.sort(r);n--;)t[n]=t[n].value;return t}return kF=e,kF}var TF,mee;function kJe(){if(mee)return TF;mee=1;var e=PO();function t(r,n){if(r!==n){var i=r!==void 0,a=r===null,o=r===r,s=e(r),u=n!==void 0,l=n===null,c=n===n,f=e(n);if(!l&&!f&&!s&&r>n||s&&u&&c&&!l&&!f||a&&u&&c||!i&&c||!o)return 1;if(!a&&!s&&!f&&r<n||f&&i&&o&&!a&&!s||l&&i&&o||!u&&o||!c)return-1}return 0}return TF=t,TF}var AF,gee;function TJe(){if(gee)return AF;gee=1;var e=kJe();function t(r,n,i){for(var a=-1,o=r.criteria,s=n.criteria,u=o.length,l=i.length;++a<u;){var c=e(o[a],s[a]);if(c){if(a>=l)return c;var f=i[a];return c*(f=="desc"?-1:1)}}return r.index-n.index}return AF=t,AF}var FF,vee;function AJe(){if(vee)return FF;vee=1;var e=Uz(),t=Vz(),r=Cp(),n=kOe(),i=RJe(),a=_Oe(),o=TJe(),s=DO(),u=bc();function l(c,f,d){f.length?f=e(f,function(m){return u(m)?function(v){return t(v,m.length===1?m[0]:m)}:m}):f=[s];var h=-1;f=e(f,a(r));var g=n(c,function(m,v,y){var O=e(f,function(x){return x(m)});return{criteria:O,index:++h,value:m}});return i(g,function(m,v){return o(m,v,d)})}return FF=l,FF}var IF,yee;function FJe(){if(yee)return IF;yee=1;function e(t,r,n){switch(n.length){case 0:return t.call(r);case 1:return t.call(r,n[0]);case 2:return t.call(r,n[0],n[1]);case 3:return t.call(r,n[0],n[1],n[2])}return t.apply(r,n)}return IF=e,IF}var MF,bee;function IJe(){if(bee)return MF;bee=1;var e=FJe(),t=Math.max;function r(n,i,a){return i=t(i===void 0?n.length-1:i,0),function(){for(var o=arguments,s=-1,u=t(o.length-i,0),l=Array(u);++s<u;)l[s]=o[i+s];s=-1;for(var c=Array(i+1);++s<i;)c[s]=o[s];return c[i]=a(l),e(n,this,c)}}return MF=r,MF}var NF,Oee;function MJe(){if(Oee)return NF;Oee=1;function e(t){return function(){return t}}return NF=e,NF}var LF,xee;function TOe(){if(xee)return LF;xee=1;var e=Uy(),t=function(){try{var r=e(Object,"defineProperty");return r({},"",{}),r}catch{}}();return LF=t,LF}var zF,_ee;function NJe(){if(_ee)return zF;_ee=1;var e=MJe(),t=TOe(),r=DO(),n=t?function(i,a){return t(i,"toString",{configurable:!0,enumerable:!1,value:e(a),writable:!0})}:r;return zF=n,zF}var QF,See;function LJe(){if(See)return QF;See=1;var e=800,t=16,r=Date.now;function n(i){var a=0,o=0;return function(){var s=r(),u=t-(s-o);if(o=s,u>0){if(++a>=e)return arguments[0]}else a=0;return i.apply(void 0,arguments)}}return QF=n,QF}var BF,wee;function zJe(){if(wee)return BF;wee=1;var e=NJe(),t=LJe(),r=t(e);return BF=r,BF}var qF,Eee;function QJe(){if(Eee)return qF;Eee=1;var e=DO(),t=IJe(),r=zJe();function n(i,a){return r(t(i,a,e),i+"")}return qF=n,qF}var UF,$ee;function qC(){if($ee)return UF;$ee=1;var e=Qz(),t=Dw(),r=Hz(),n=qg();function i(a,o,s){if(!n(s))return!1;var u=typeof o;return(u=="number"?t(s)&&r(o,s.length):u=="string"&&o in s)?e(s[o],a):!1}return UF=i,UF}var VF,Cee;function BJe(){if(Cee)return VF;Cee=1;var e=DOe(),t=AJe(),r=QJe(),n=qC(),i=r(function(a,o){if(a==null)return[];var s=o.length;return s>1&&n(a,o[0],o[1])?o=[]:s>2&&n(o[0],o[1],o[2])&&(o=[o[0]]),t(a,e(o,1),[])});return VF=i,VF}var qJe=BJe();const J0t=an(qJe);var jF,Pee;function UJe(){if(Pee)return jF;Pee=1;var e=$p(),t=function(){return e.Date.now()};return jF=t,jF}var WF,Dee;function VJe(){if(Dee)return WF;Dee=1;var e=/\s/;function t(r){for(var n=r.length;n--&&e.test(r.charAt(n)););return n}return WF=t,WF}var ZF,Ree;function jJe(){if(Ree)return ZF;Ree=1;var e=VJe(),t=/^\s+/;function r(n){return n&&n.slice(0,e(n)+1).replace(t,"")}return ZF=r,ZF}var KF,kee;function AOe(){if(kee)return KF;kee=1;var e=jJe(),t=qg(),r=PO(),n=NaN,i=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,o=/^0o[0-7]+$/i,s=parseInt;function u(l){if(typeof l=="number")return l;if(r(l))return n;if(t(l)){var c=typeof l.valueOf=="function"?l.valueOf():l;l=t(c)?c+"":c}if(typeof l!="string")return l===0?l:+l;l=e(l);var f=a.test(l);return f||o.test(l)?s(l.slice(2),f?2:8):i.test(l)?n:+l}return KF=u,KF}var HF,Tee;function FOe(){if(Tee)return HF;Tee=1;var e=qg(),t=UJe(),r=AOe(),n="Expected a function",i=Math.max,a=Math.min;function o(s,u,l){var c,f,d,h,g,m,v=0,y=!1,O=!1,x=!0;if(typeof s!="function")throw new TypeError(n);u=r(u)||0,e(l)&&(y=!!l.leading,O="maxWait"in l,d=O?i(r(l.maxWait)||0,u):d,x="trailing"in l?!!l.trailing:x);function C(A){var H=c,k=f;return c=f=void 0,v=A,h=s.apply(k,H),h}function w(A){return v=A,g=setTimeout(P,u),y?C(A):h}function E(A){var H=A-m,k=A-v,Q=u-H;return O?a(Q,d-k):Q}function T(A){var H=A-m,k=A-v;return m===void 0||H>=u||H<0||O&&k>=d}function P(){var A=t();if(T(A))return L(A);g=setTimeout(P,E(A))}function L(A){return g=void 0,x&&c?C(A):(c=f=void 0,h)}function N(){g!==void 0&&clearTimeout(g),v=0,c=m=f=g=void 0}function B(){return g===void 0?h:L(t())}function j(){var A=t(),H=T(A);if(c=arguments,f=this,m=A,H){if(g===void 0)return w(m);if(O)return clearTimeout(g),g=setTimeout(P,u),C(m)}return g===void 0&&(g=setTimeout(P,u)),h}return j.cancel=N,j.flush=B,j}return HF=o,HF}var YF,Aee;function WJe(){if(Aee)return YF;Aee=1;var e=FOe(),t=qg(),r="Expected a function";function n(i,a,o){var s=!0,u=!0;if(typeof i!="function")throw new TypeError(r);return t(o)&&(s="leading"in o?!!o.leading:s,u="trailing"in o?!!o.trailing:u),e(i,a,{leading:s,maxWait:a,trailing:u})}return YF=n,YF}var ZJe=WJe();const emt=an(ZJe);function ad(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}function nm(e,t){switch(arguments.length){case 0:break;case 1:{typeof e=="function"?this.interpolator(e):this.range(e);break}default:{this.domain(e),typeof t=="function"?this.interpolator(t):this.range(t);break}}return this}const pM=Symbol("implicit");function Jz(){var e=new mH,t=[],r=[],n=pM;function i(a){let o=e.get(a);if(o===void 0){if(n!==pM)return n;e.set(a,o=t.push(a)-1)}return r[o%r.length]}return i.domain=function(a){if(!arguments.length)return t.slice();t=[],e=new mH;for(const o of a)e.has(o)||e.set(o,t.push(o)-1);return i},i.range=function(a){return arguments.length?(r=Array.from(a),i):r.slice()},i.unknown=function(a){return arguments.length?(n=a,i):n},i.copy=function(){return Jz(t,r).unknown(n)},ad.apply(i,arguments),i}function eQ(){var e=Jz().unknown(void 0),t=e.domain,r=e.range,n=0,i=1,a,o,s=!1,u=0,l=0,c=.5;delete e.unknown;function f(){var d=t().length,h=i<n,g=h?i:n,m=h?n:i;a=(m-g)/Math.max(1,d-u+l*2),s&&(a=Math.floor(a)),g+=(m-g-a*(d-u))*c,o=a*(1-u),s&&(g=Math.round(g),o=Math.round(o));var v=_ze(d).map(function(y){return g+a*y});return r(h?v.reverse():v)}return e.domain=function(d){return arguments.length?(t(d),f()):t()},e.range=function(d){return arguments.length?([n,i]=d,n=+n,i=+i,f()):[n,i]},e.rangeRound=function(d){return[n,i]=d,n=+n,i=+i,s=!0,f()},e.bandwidth=function(){return o},e.step=function(){return a},e.round=function(d){return arguments.length?(s=!!d,f()):s},e.padding=function(d){return arguments.length?(u=Math.min(1,l=+d),f()):u},e.paddingInner=function(d){return arguments.length?(u=Math.min(1,d),f()):u},e.paddingOuter=function(d){return arguments.length?(l=+d,f()):l},e.align=function(d){return arguments.length?(c=Math.max(0,Math.min(1,d)),f()):c},e.copy=function(){return eQ(t(),[n,i]).round(s).paddingInner(u).paddingOuter(l).align(c)},ad.apply(f(),arguments)}function IOe(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return IOe(t())},e}function KJe(){return IOe(eQ.apply(null,arguments).paddingInner(1))}function HJe(e){return function(){return e}}function A4(e){return+e}var Fee=[0,1];function gl(e){return e}function mM(e,t){return(t-=e=+e)?function(r){return(r-e)/t}:HJe(isNaN(t)?NaN:.5)}function YJe(e,t){var r;return e>t&&(r=e,e=t,t=r),function(n){return Math.max(e,Math.min(t,n))}}function GJe(e,t,r){var n=e[0],i=e[1],a=t[0],o=t[1];return i<n?(n=mM(i,n),a=r(o,a)):(n=mM(n,i),a=r(a,o)),function(s){return a(n(s))}}function XJe(e,t,r){var n=Math.min(e.length,t.length)-1,i=new Array(n),a=new Array(n),o=-1;for(e[n]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++o<n;)i[o]=mM(e[o],e[o+1]),a[o]=r(t[o],t[o+1]);return function(s){var u=gw(e,s,1,n)-1;return a[u](i[u](s))}}function Rw(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function UC(){var e=Fee,t=Fee,r=pO,n,i,a,o=gl,s,u,l;function c(){var d=Math.min(e.length,t.length);return o!==gl&&(o=YJe(e[0],e[d-1])),s=d>2?XJe:GJe,u=l=null,f}function f(d){return d==null||isNaN(d=+d)?a:(u||(u=s(e.map(n),t,r)))(n(o(d)))}return f.invert=function(d){return o(i((l||(l=s(t,e.map(n),k2)))(d)))},f.domain=function(d){return arguments.length?(e=Array.from(d,A4),c()):e.slice()},f.range=function(d){return arguments.length?(t=Array.from(d),c()):t.slice()},f.rangeRound=function(d){return t=Array.from(d),r=eL,c()},f.clamp=function(d){return arguments.length?(o=d?!0:gl,c()):o!==gl},f.interpolate=function(d){return arguments.length?(r=d,c()):r},f.unknown=function(d){return arguments.length?(a=d,f):a},function(d,h){return n=d,i=h,c()}}function tQ(){return UC()(gl,gl)}function MOe(e,t,r,n){var i=k9(e,t,r),a;switch(n=$S(n??",f"),n.type){case"s":{var o=Math.max(Math.abs(e),Math.abs(t));return n.precision==null&&!isNaN(a=BBe(i,o))&&(n.precision=a),Gve(n,o)}case"":case"e":case"g":case"p":case"r":{n.precision==null&&!isNaN(a=qBe(i,Math.max(Math.abs(e),Math.abs(t))))&&(n.precision=a-(n.type==="e"));break}case"f":case"%":{n.precision==null&&!isNaN(a=QBe(i))&&(n.precision=a-(n.type==="%")*2);break}}return rz(n)}function Ug(e){var t=e.domain;return e.ticks=function(r){var n=t();return D9(n[0],n[n.length-1],r??10)},e.tickFormat=function(r,n){var i=t();return MOe(i[0],i[i.length-1],r??10,n)},e.nice=function(r){r==null&&(r=10);var n=t(),i=0,a=n.length-1,o=n[i],s=n[a],u,l,c=10;for(s<o&&(l=o,o=s,s=l,l=i,i=a,a=l);c-- >0;){if(l=R9(o,s,r),l===u)return n[i]=o,n[a]=s,t(n);if(l>0)o=Math.floor(o/l)*l,s=Math.ceil(s/l)*l;else if(l<0)o=Math.ceil(o*l)/l,s=Math.floor(s*l)/l;else break;u=l}return e},e}function NOe(){var e=tQ();return e.copy=function(){return Rw(e,NOe())},ad.apply(e,arguments),Ug(e)}function LOe(e){var t;function r(n){return n==null||isNaN(n=+n)?t:n}return r.invert=r,r.domain=r.range=function(n){return arguments.length?(e=Array.from(n,A4),r):e.slice()},r.unknown=function(n){return arguments.length?(t=n,r):t},r.copy=function(){return LOe(e).unknown(t)},e=arguments.length?Array.from(e,A4):[0,1],Ug(r)}function zOe(e,t){e=e.slice();var r=0,n=e.length-1,i=e[r],a=e[n],o;return a<i&&(o=r,r=n,n=o,o=i,i=a,a=o),e[r]=t.floor(i),e[n]=t.ceil(a),e}function Iee(e){return Math.log(e)}function Mee(e){return Math.exp(e)}function JJe(e){return-Math.log(-e)}function eet(e){return-Math.exp(-e)}function tet(e){return isFinite(e)?+("1e"+e):e<0?0:e}function ret(e){return e===10?tet:e===Math.E?Math.exp:t=>Math.pow(e,t)}function net(e){return e===Math.E?Math.log:e===10&&Math.log10||e===2&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}function Nee(e){return(t,r)=>-e(-t,r)}function rQ(e){const t=e(Iee,Mee),r=t.domain;let n=10,i,a;function o(){return i=net(n),a=ret(n),r()[0]<0?(i=Nee(i),a=Nee(a),e(JJe,eet)):e(Iee,Mee),t}return t.base=function(s){return arguments.length?(n=+s,o()):n},t.domain=function(s){return arguments.length?(r(s),o()):r()},t.ticks=s=>{const u=r();let l=u[0],c=u[u.length-1];const f=c<l;f&&([l,c]=[c,l]);let d=i(l),h=i(c),g,m;const v=s==null?10:+s;let y=[];if(!(n%1)&&h-d<v){if(d=Math.floor(d),h=Math.ceil(h),l>0){for(;d<=h;++d)for(g=1;g<n;++g)if(m=d<0?g/a(-d):g*a(d),!(m<l)){if(m>c)break;y.push(m)}}else for(;d<=h;++d)for(g=n-1;g>=1;--g)if(m=d>0?g/a(-d):g*a(d),!(m<l)){if(m>c)break;y.push(m)}y.length*2<v&&(y=D9(l,c,v))}else y=D9(d,h,Math.min(h-d,v)).map(a);return f?y.reverse():y},t.tickFormat=(s,u)=>{if(s==null&&(s=10),u==null&&(u=n===10?"s":","),typeof u!="function"&&(!(n%1)&&(u=$S(u)).precision==null&&(u.trim=!0),u=rz(u)),s===1/0)return u;const l=Math.max(1,n*s/t.ticks().length);return c=>{let f=c/a(Math.round(i(c)));return f*n<n-.5&&(f*=n),f<=l?u(c):""}},t.nice=()=>r(zOe(r(),{floor:s=>a(Math.floor(i(s))),ceil:s=>a(Math.ceil(i(s)))})),t}function QOe(){const e=rQ(UC()).domain([1,10]);return e.copy=()=>Rw(e,QOe()).base(e.base()),ad.apply(e,arguments),e}function Lee(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function zee(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function nQ(e){var t=1,r=e(Lee(t),zee(t));return r.constant=function(n){return arguments.length?e(Lee(t=+n),zee(t)):t},Ug(r)}function BOe(){var e=nQ(UC());return e.copy=function(){return Rw(e,BOe()).constant(e.constant())},ad.apply(e,arguments)}function Qee(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function iet(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function aet(e){return e<0?-e*e:e*e}function iQ(e){var t=e(gl,gl),r=1;function n(){return r===1?e(gl,gl):r===.5?e(iet,aet):e(Qee(r),Qee(1/r))}return t.exponent=function(i){return arguments.length?(r=+i,n()):r},Ug(t)}function aQ(){var e=iQ(UC());return e.copy=function(){return Rw(e,aQ()).exponent(e.exponent())},ad.apply(e,arguments),e}function oet(){return aQ.apply(null,arguments).exponent(.5)}function Bee(e){return Math.sign(e)*e*e}function set(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function qOe(){var e=tQ(),t=[0,1],r=!1,n;function i(a){var o=set(e(a));return isNaN(o)?n:r?Math.round(o):o}return i.invert=function(a){return e.invert(Bee(a))},i.domain=function(a){return arguments.length?(e.domain(a),i):e.domain()},i.range=function(a){return arguments.length?(e.range((t=Array.from(a,A4)).map(Bee)),i):t.slice()},i.rangeRound=function(a){return i.range(a).round(!0)},i.round=function(a){return arguments.length?(r=!!a,i):r},i.clamp=function(a){return arguments.length?(e.clamp(a),i):e.clamp()},i.unknown=function(a){return arguments.length?(n=a,i):n},i.copy=function(){return qOe(e.domain(),t).round(r).clamp(e.clamp()).unknown(n)},ad.apply(i,arguments),Ug(i)}function UOe(){var e=[],t=[],r=[],n;function i(){var o=0,s=Math.max(1,t.length);for(r=new Array(s-1);++o<s;)r[o-1]=xze(e,o/s);return a}function a(o){return o==null||isNaN(o=+o)?n:t[gw(r,o)]}return a.invertExtent=function(o){var s=t.indexOf(o);return s<0?[NaN,NaN]:[s>0?r[s-1]:e[0],s<r.length?r[s]:e[e.length-1]]},a.domain=function(o){if(!arguments.length)return e.slice();e=[];for(let s of o)s!=null&&!isNaN(s=+s)&&e.push(s);return e.sort(lg),i()},a.range=function(o){return arguments.length?(t=Array.from(o),i()):t.slice()},a.unknown=function(o){return arguments.length?(n=o,a):n},a.quantiles=function(){return r.slice()},a.copy=function(){return UOe().domain(e).range(t).unknown(n)},ad.apply(a,arguments)}function VOe(){var e=0,t=1,r=1,n=[.5],i=[0,1],a;function o(u){return u!=null&&u<=u?i[gw(n,u,0,r)]:a}function s(){var u=-1;for(n=new Array(r);++u<r;)n[u]=((u+1)*t-(u-r)*e)/(r+1);return o}return o.domain=function(u){return arguments.length?([e,t]=u,e=+e,t=+t,s()):[e,t]},o.range=function(u){return arguments.length?(r=(i=Array.from(u)).length-1,s()):i.slice()},o.invertExtent=function(u){var l=i.indexOf(u);return l<0?[NaN,NaN]:l<1?[e,n[0]]:l>=r?[n[r-1],t]:[n[l-1],n[l]]},o.unknown=function(u){return arguments.length&&(a=u),o},o.thresholds=function(){return n.slice()},o.copy=function(){return VOe().domain([e,t]).range(i).unknown(a)},ad.apply(Ug(o),arguments)}function jOe(){var e=[.5],t=[0,1],r,n=1;function i(a){return a!=null&&a<=a?t[gw(e,a,0,n)]:r}return i.domain=function(a){return arguments.length?(e=Array.from(a),n=Math.min(e.length,t.length-1),i):e.slice()},i.range=function(a){return arguments.length?(t=Array.from(a),n=Math.min(e.length,t.length-1),i):t.slice()},i.invertExtent=function(a){var o=t.indexOf(a);return[e[o-1],e[o]]},i.unknown=function(a){return arguments.length?(r=a,i):r},i.copy=function(){return jOe().domain(e).range(t).unknown(r)},ad.apply(i,arguments)}function uet(e){return new Date(e)}function cet(e){return e instanceof Date?+e:+new Date(+e)}function oQ(e,t,r,n,i,a,o,s,u,l){var c=tQ(),f=c.invert,d=c.domain,h=l(".%L"),g=l(":%S"),m=l("%I:%M"),v=l("%I %p"),y=l("%a %d"),O=l("%b %d"),x=l("%B"),C=l("%Y");function w(E){return(u(E)<E?h:s(E)<E?g:o(E)<E?m:a(E)<E?v:n(E)<E?i(E)<E?y:O:r(E)<E?x:C)(E)}return c.invert=function(E){return new Date(f(E))},c.domain=function(E){return arguments.length?d(Array.from(E,cet)):d().map(uet)},c.ticks=function(E){var T=d();return e(T[0],T[T.length-1],E??10)},c.tickFormat=function(E,T){return T==null?w:l(T)},c.nice=function(E){var T=d();return(!E||typeof E.range!="function")&&(E=t(T[0],T[T.length-1],E??10)),E?d(zOe(T,E)):c},c.copy=function(){return Rw(c,oQ(e,t,r,n,i,a,o,s,u,l))},c}function fet(){return ad.apply(oQ(Eze,$ze,V0,jL,iC,mw,UL,BL,Hv,_ve).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function det(){return ad.apply(oQ(Sze,wze,j0,WL,aC,nC,VL,qL,Hv,Sve).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function VC(){var e=0,t=1,r,n,i,a,o=gl,s=!1,u;function l(f){return f==null||isNaN(f=+f)?u:o(i===0?.5:(f=(a(f)-r)*i,s?Math.max(0,Math.min(1,f)):f))}l.domain=function(f){return arguments.length?([e,t]=f,r=a(e=+e),n=a(t=+t),i=r===n?0:1/(n-r),l):[e,t]},l.clamp=function(f){return arguments.length?(s=!!f,l):s},l.interpolator=function(f){return arguments.length?(o=f,l):o};function c(f){return function(d){var h,g;return arguments.length?([h,g]=d,o=f(h,g),l):[o(0),o(1)]}}return l.range=c(pO),l.rangeRound=c(eL),l.unknown=function(f){return arguments.length?(u=f,l):u},function(f){return a=f,r=f(e),n=f(t),i=r===n?0:1/(n-r),l}}function Vg(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function WOe(){var e=Ug(VC()(gl));return e.copy=function(){return Vg(e,WOe())},nm.apply(e,arguments)}function ZOe(){var e=rQ(VC()).domain([1,10]);return e.copy=function(){return Vg(e,ZOe()).base(e.base())},nm.apply(e,arguments)}function KOe(){var e=nQ(VC());return e.copy=function(){return Vg(e,KOe()).constant(e.constant())},nm.apply(e,arguments)}function sQ(){var e=iQ(VC());return e.copy=function(){return Vg(e,sQ()).exponent(e.exponent())},nm.apply(e,arguments)}function het(){return sQ.apply(null,arguments).exponent(.5)}function HOe(){var e=[],t=gl;function r(n){if(n!=null&&!isNaN(n=+n))return t((gw(e,n,1)-1)/(e.length-1))}return r.domain=function(n){if(!arguments.length)return e.slice();e=[];for(let i of n)i!=null&&!isNaN(i=+i)&&e.push(i);return e.sort(lg),r},r.interpolator=function(n){return arguments.length?(t=n,r):t},r.range=function(){return e.map((n,i)=>t(i/(e.length-1)))},r.quantiles=function(n){return Array.from({length:n+1},(i,a)=>Oze(e,a/n))},r.copy=function(){return HOe(t).domain(e)},nm.apply(r,arguments)}function jC(){var e=0,t=.5,r=1,n=1,i,a,o,s,u,l=gl,c,f=!1,d;function h(m){return isNaN(m=+m)?d:(m=.5+((m=+c(m))-a)*(n*m<n*a?s:u),l(f?Math.max(0,Math.min(1,m)):m))}h.domain=function(m){return arguments.length?([e,t,r]=m,i=c(e=+e),a=c(t=+t),o=c(r=+r),s=i===a?0:.5/(a-i),u=a===o?0:.5/(o-a),n=a<i?-1:1,h):[e,t,r]},h.clamp=function(m){return arguments.length?(f=!!m,h):f},h.interpolator=function(m){return arguments.length?(l=m,h):l};function g(m){return function(v){var y,O,x;return arguments.length?([y,O,x]=v,l=J5e(m,[y,O,x]),h):[l(0),l(.5),l(1)]}}return h.range=g(pO),h.rangeRound=g(eL),h.unknown=function(m){return arguments.length?(d=m,h):d},function(m){return c=m,i=m(e),a=m(t),o=m(r),s=i===a?0:.5/(a-i),u=a===o?0:.5/(o-a),n=a<i?-1:1,h}}function YOe(){var e=Ug(jC()(gl));return e.copy=function(){return Vg(e,YOe())},nm.apply(e,arguments)}function GOe(){var e=rQ(jC()).domain([.1,1,10]);return e.copy=function(){return Vg(e,GOe()).base(e.base())},nm.apply(e,arguments)}function XOe(){var e=nQ(jC());return e.copy=function(){return Vg(e,XOe()).constant(e.constant())},nm.apply(e,arguments)}function uQ(){var e=iQ(jC());return e.copy=function(){return Vg(e,uQ()).exponent(e.exponent())},nm.apply(e,arguments)}function pet(){return uQ.apply(null,arguments).exponent(.5)}const tmt=Object.freeze(Object.defineProperty({__proto__:null,scaleBand:eQ,scaleDiverging:YOe,scaleDivergingLog:GOe,scaleDivergingPow:uQ,scaleDivergingSqrt:pet,scaleDivergingSymlog:XOe,scaleIdentity:LOe,scaleImplicit:pM,scaleLinear:NOe,scaleLog:QOe,scaleOrdinal:Jz,scalePoint:KJe,scalePow:aQ,scaleQuantile:UOe,scaleQuantize:VOe,scaleRadial:qOe,scaleSequential:WOe,scaleSequentialLog:ZOe,scaleSequentialPow:sQ,scaleSequentialQuantile:HOe,scaleSequentialSqrt:het,scaleSequentialSymlog:KOe,scaleSqrt:oet,scaleSymlog:BOe,scaleThreshold:jOe,scaleTime:fet,scaleUtc:det,tickFormat:MOe},Symbol.toStringTag,{value:"Module"}));var GF,qee;function WC(){if(qee)return GF;qee=1;var e=PO();function t(r,n,i){for(var a=-1,o=r.length;++a<o;){var s=r[a],u=n(s);if(u!=null&&(l===void 0?u===u&&!e(u):i(u,l)))var l=u,c=s}return c}return GF=t,GF}var XF,Uee;function JOe(){if(Uee)return XF;Uee=1;function e(t,r){return t>r}return XF=e,XF}var JF,Vee;function met(){if(Vee)return JF;Vee=1;var e=WC(),t=JOe(),r=DO();function n(i){return i&&i.length?e(i,r,t):void 0}return JF=n,JF}var get=met();const rmt=an(get);var e7,jee;function exe(){if(jee)return e7;jee=1;function e(t,r){return t<r}return e7=e,e7}var t7,Wee;function vet(){if(Wee)return t7;Wee=1;var e=WC(),t=exe(),r=DO();function n(i){return i&&i.length?e(i,r,t):void 0}return t7=n,t7}var yet=vet();const nmt=an(yet);var r7,Zee;function bet(){if(Zee)return r7;Zee=1;var e=Uz(),t=Cp(),r=kOe(),n=bc();function i(a,o){var s=n(a)?e:r;return s(a,t(o,3))}return r7=i,r7}var n7,Kee;function Oet(){if(Kee)return n7;Kee=1;var e=DOe(),t=bet();function r(n,i){return e(t(n,i),1)}return n7=r,n7}var xet=Oet();const imt=an(xet);var i7,Hee;function _et(){if(Hee)return i7;Hee=1;var e=Gz();function t(r,n){return e(r,n)}return i7=t,i7}var wet=_et();const amt=an(wet);var RO=1e9,Eet={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},cQ,Oa=!0,Gf="[DecimalError] ",sy=Gf+"Invalid argument: ",lQ=Gf+"Exponent out of range: ",kO=Math.floor,Iv=Math.pow,$et=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,Jc,$s=1e7,ha=7,txe=9007199254740991,F4=kO(txe/ha),sr={};sr.absoluteValue=sr.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e};sr.comparedTo=sr.cmp=function(e){var t,r,n,i,a=this;if(e=new a.constructor(e),a.s!==e.s)return a.s||-e.s;if(a.e!==e.e)return a.e>e.e^a.s<0?1:-1;for(n=a.d.length,i=e.d.length,t=0,r=n<i?n:i;t<r;++t)if(a.d[t]!==e.d[t])return a.d[t]>e.d[t]^a.s<0?1:-1;return n===i?0:n>i^a.s<0?1:-1};sr.decimalPlaces=sr.dp=function(){var e=this,t=e.d.length-1,r=(t-e.e)*ha;if(t=e.d[t],t)for(;t%10==0;t/=10)r--;return r<0?0:r};sr.dividedBy=sr.div=function(e){return L0(this,new this.constructor(e))};sr.dividedToIntegerBy=sr.idiv=function(e){var t=this,r=t.constructor;return Qi(L0(t,new r(e),0,1),r.precision)};sr.equals=sr.eq=function(e){return!this.cmp(e)};sr.exponent=function(){return Bo(this)};sr.greaterThan=sr.gt=function(e){return this.cmp(e)>0};sr.greaterThanOrEqualTo=sr.gte=function(e){return this.cmp(e)>=0};sr.isInteger=sr.isint=function(){return this.e>this.d.length-2};sr.isNegative=sr.isneg=function(){return this.s<0};sr.isPositive=sr.ispos=function(){return this.s>0};sr.isZero=function(){return this.s===0};sr.lessThan=sr.lt=function(e){return this.cmp(e)<0};sr.lessThanOrEqualTo=sr.lte=function(e){return this.cmp(e)<1};sr.logarithm=sr.log=function(e){var t,r=this,n=r.constructor,i=n.precision,a=i+5;if(e===void 0)e=new n(10);else if(e=new n(e),e.s<1||e.eq(Jc))throw Error(Gf+"NaN");if(r.s<1)throw Error(Gf+(r.s?"NaN":"-Infinity"));return r.eq(Jc)?new n(0):(Oa=!1,t=L0(zS(r,a),zS(e,a),a),Oa=!0,Qi(t,i))};sr.minus=sr.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?ixe(t,e):rxe(t,(e.s=-e.s,e))};sr.modulo=sr.mod=function(e){var t,r=this,n=r.constructor,i=n.precision;if(e=new n(e),!e.s)throw Error(Gf+"NaN");return r.s?(Oa=!1,t=L0(r,e,0,1).times(e),Oa=!0,r.minus(t)):Qi(new n(r),i)};sr.naturalExponential=sr.exp=function(){return nxe(this)};sr.naturalLogarithm=sr.ln=function(){return zS(this)};sr.negated=sr.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e};sr.plus=sr.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?rxe(t,e):ixe(t,(e.s=-e.s,e))};sr.precision=sr.sd=function(e){var t,r,n,i=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(sy+e);if(t=Bo(i)+1,n=i.d.length-1,r=n*ha+1,n=i.d[n],n){for(;n%10==0;n/=10)r--;for(n=i.d[0];n>=10;n/=10)r++}return e&&t>r?t:r};sr.squareRoot=sr.sqrt=function(){var e,t,r,n,i,a,o,s=this,u=s.constructor;if(s.s<1){if(!s.s)return new u(0);throw Error(Gf+"NaN")}for(e=Bo(s),Oa=!1,i=Math.sqrt(+s),i==0||i==1/0?(t=up(s.d),(t.length+e)%2==0&&(t+="0"),i=Math.sqrt(t),e=kO((e+1)/2)-(e<0||e%2),i==1/0?t="5e"+e:(t=i.toExponential(),t=t.slice(0,t.indexOf("e")+1)+e),n=new u(t)):n=new u(i.toString()),r=u.precision,i=o=r+3;;)if(a=n,n=a.plus(L0(s,a,o+2)).times(.5),up(a.d).slice(0,o)===(t=up(n.d)).slice(0,o)){if(t=t.slice(o-3,o+1),i==o&&t=="4999"){if(Qi(a,r+1,0),a.times(a).eq(s)){n=a;break}}else if(t!="9999")break;o+=4}return Oa=!0,Qi(n,r)};sr.times=sr.mul=function(e){var t,r,n,i,a,o,s,u,l,c=this,f=c.constructor,d=c.d,h=(e=new f(e)).d;if(!c.s||!e.s)return new f(0);for(e.s*=c.s,r=c.e+e.e,u=d.length,l=h.length,u<l&&(a=d,d=h,h=a,o=u,u=l,l=o),a=[],o=u+l,n=o;n--;)a.push(0);for(n=l;--n>=0;){for(t=0,i=u+n;i>n;)s=a[i]+h[n]*d[i-n-1]+t,a[i--]=s%$s|0,t=s/$s|0;a[i]=(a[i]+t)%$s|0}for(;!a[--o];)a.pop();return t?++r:a.shift(),e.d=a,e.e=r,Oa?Qi(e,f.precision):e};sr.toDecimalPlaces=sr.todp=function(e,t){var r=this,n=r.constructor;return r=new n(r),e===void 0?r:(Op(e,0,RO),t===void 0?t=n.rounding:Op(t,0,8),Qi(r,e+Bo(r)+1,t))};sr.toExponential=function(e,t){var r,n=this,i=n.constructor;return e===void 0?r=$y(n,!0):(Op(e,0,RO),t===void 0?t=i.rounding:Op(t,0,8),n=Qi(new i(n),e+1,t),r=$y(n,!0,e+1)),r};sr.toFixed=function(e,t){var r,n,i=this,a=i.constructor;return e===void 0?$y(i):(Op(e,0,RO),t===void 0?t=a.rounding:Op(t,0,8),n=Qi(new a(i),e+Bo(i)+1,t),r=$y(n.abs(),!1,e+Bo(n)+1),i.isneg()&&!i.isZero()?"-"+r:r)};sr.toInteger=sr.toint=function(){var e=this,t=e.constructor;return Qi(new t(e),Bo(e)+1,t.rounding)};sr.toNumber=function(){return+this};sr.toPower=sr.pow=function(e){var t,r,n,i,a,o,s=this,u=s.constructor,l=12,c=+(e=new u(e));if(!e.s)return new u(Jc);if(s=new u(s),!s.s){if(e.s<1)throw Error(Gf+"Infinity");return s}if(s.eq(Jc))return s;if(n=u.precision,e.eq(Jc))return Qi(s,n);if(t=e.e,r=e.d.length-1,o=t>=r,a=s.s,o){if((r=c<0?-c:c)<=txe){for(i=new u(Jc),t=Math.ceil(n/ha+4),Oa=!1;r%2&&(i=i.times(s),Gee(i.d,t)),r=kO(r/2),r!==0;)s=s.times(s),Gee(s.d,t);return Oa=!0,e.s<0?new u(Jc).div(i):Qi(i,n)}}else if(a<0)throw Error(Gf+"NaN");return a=a<0&&e.d[Math.max(t,r)]&1?-1:1,s.s=1,Oa=!1,i=e.times(zS(s,n+l)),Oa=!0,i=nxe(i),i.s=a,i};sr.toPrecision=function(e,t){var r,n,i=this,a=i.constructor;return e===void 0?(r=Bo(i),n=$y(i,r<=a.toExpNeg||r>=a.toExpPos)):(Op(e,1,RO),t===void 0?t=a.rounding:Op(t,0,8),i=Qi(new a(i),e,t),r=Bo(i),n=$y(i,e<=r||r<=a.toExpNeg,e)),n};sr.toSignificantDigits=sr.tosd=function(e,t){var r=this,n=r.constructor;return e===void 0?(e=n.precision,t=n.rounding):(Op(e,1,RO),t===void 0?t=n.rounding:Op(t,0,8)),Qi(new n(r),e,t)};sr.toString=sr.valueOf=sr.val=sr.toJSON=sr[Symbol.for("nodejs.util.inspect.custom")]=function(){var e=this,t=Bo(e),r=e.constructor;return $y(e,t<=r.toExpNeg||t>=r.toExpPos)};function rxe(e,t){var r,n,i,a,o,s,u,l,c=e.constructor,f=c.precision;if(!e.s||!t.s)return t.s||(t=new c(e)),Oa?Qi(t,f):t;if(u=e.d,l=t.d,o=e.e,i=t.e,u=u.slice(),a=o-i,a){for(a<0?(n=u,a=-a,s=l.length):(n=l,i=o,s=u.length),o=Math.ceil(f/ha),s=o>s?o+1:s+1,a>s&&(a=s,n.length=1),n.reverse();a--;)n.push(0);n.reverse()}for(s=u.length,a=l.length,s-a<0&&(a=s,n=l,l=u,u=n),r=0;a;)r=(u[--a]=u[a]+l[a]+r)/$s|0,u[a]%=$s;for(r&&(u.unshift(r),++i),s=u.length;u[--s]==0;)u.pop();return t.d=u,t.e=i,Oa?Qi(t,f):t}function Op(e,t,r){if(e!==~~e||e<t||e>r)throw Error(sy+e)}function up(e){var t,r,n,i=e.length-1,a="",o=e[0];if(i>0){for(a+=o,t=1;t<i;t++)n=e[t]+"",r=ha-n.length,r&&(a+=Zm(r)),a+=n;o=e[t],n=o+"",r=ha-n.length,r&&(a+=Zm(r))}else if(o===0)return"0";for(;o%10===0;)o/=10;return a+o}var L0=function(){function e(n,i){var a,o=0,s=n.length;for(n=n.slice();s--;)a=n[s]*i+o,n[s]=a%$s|0,o=a/$s|0;return o&&n.unshift(o),n}function t(n,i,a,o){var s,u;if(a!=o)u=a>o?1:-1;else for(s=u=0;s<a;s++)if(n[s]!=i[s]){u=n[s]>i[s]?1:-1;break}return u}function r(n,i,a){for(var o=0;a--;)n[a]-=o,o=n[a]<i[a]?1:0,n[a]=o*$s+n[a]-i[a];for(;!n[0]&&n.length>1;)n.shift()}return function(n,i,a,o){var s,u,l,c,f,d,h,g,m,v,y,O,x,C,w,E,T,P,L=n.constructor,N=n.s==i.s?1:-1,B=n.d,j=i.d;if(!n.s)return new L(n);if(!i.s)throw Error(Gf+"Division by zero");for(u=n.e-i.e,T=j.length,w=B.length,h=new L(N),g=h.d=[],l=0;j[l]==(B[l]||0);)++l;if(j[l]>(B[l]||0)&&--u,a==null?O=a=L.precision:o?O=a+(Bo(n)-Bo(i))+1:O=a,O<0)return new L(0);if(O=O/ha+2|0,l=0,T==1)for(c=0,j=j[0],O++;(l<w||c)&&O--;l++)x=c*$s+(B[l]||0),g[l]=x/j|0,c=x%j|0;else{for(c=$s/(j[0]+1)|0,c>1&&(j=e(j,c),B=e(B,c),T=j.length,w=B.length),C=T,m=B.slice(0,T),v=m.length;v<T;)m[v++]=0;P=j.slice(),P.unshift(0),E=j[0],j[1]>=$s/2&&++E;do c=0,s=t(j,m,T,v),s<0?(y=m[0],T!=v&&(y=y*$s+(m[1]||0)),c=y/E|0,c>1?(c>=$s&&(c=$s-1),f=e(j,c),d=f.length,v=m.length,s=t(f,m,d,v),s==1&&(c--,r(f,T<d?P:j,d))):(c==0&&(s=c=1),f=j.slice()),d=f.length,d<v&&f.unshift(0),r(m,f,v),s==-1&&(v=m.length,s=t(j,m,T,v),s<1&&(c++,r(m,T<v?P:j,v))),v=m.length):s===0&&(c++,m=[0]),g[l++]=c,s&&m[0]?m[v++]=B[C]||0:(m=[B[C]],v=1);while((C++<w||m[0]!==void 0)&&O--)}return g[0]||g.shift(),h.e=u,Qi(h,o?a+Bo(h)+1:a)}}();function nxe(e,t){var r,n,i,a,o,s,u=0,l=0,c=e.constructor,f=c.precision;if(Bo(e)>16)throw Error(lQ+Bo(e));if(!e.s)return new c(Jc);for(Oa=!1,s=f,o=new c(.03125);e.abs().gte(.1);)e=e.times(o),l+=5;for(n=Math.log(Iv(2,l))/Math.LN10*2+5|0,s+=n,r=i=a=new c(Jc),c.precision=s;;){if(i=Qi(i.times(e),s),r=r.times(++u),o=a.plus(L0(i,r,s)),up(o.d).slice(0,s)===up(a.d).slice(0,s)){for(;l--;)a=Qi(a.times(a),s);return c.precision=f,t==null?(Oa=!0,Qi(a,f)):a}a=o}}function Bo(e){for(var t=e.e*ha,r=e.d[0];r>=10;r/=10)t++;return t}function a7(e,t,r){if(t>e.LN10.sd())throw Oa=!0,r&&(e.precision=r),Error(Gf+"LN10 precision limit exceeded");return Qi(new e(e.LN10),t)}function Zm(e){for(var t="";e--;)t+="0";return t}function zS(e,t){var r,n,i,a,o,s,u,l,c,f=1,d=10,h=e,g=h.d,m=h.constructor,v=m.precision;if(h.s<1)throw Error(Gf+(h.s?"NaN":"-Infinity"));if(h.eq(Jc))return new m(0);if(t==null?(Oa=!1,l=v):l=t,h.eq(10))return t==null&&(Oa=!0),a7(m,l);if(l+=d,m.precision=l,r=up(g),n=r.charAt(0),a=Bo(h),Math.abs(a)<15e14){for(;n<7&&n!=1||n==1&&r.charAt(1)>3;)h=h.times(e),r=up(h.d),n=r.charAt(0),f++;a=Bo(h),n>1?(h=new m("0."+r),a++):h=new m(n+"."+r.slice(1))}else return u=a7(m,l+2,v).times(a+""),h=zS(new m(n+"."+r.slice(1)),l-d).plus(u),m.precision=v,t==null?(Oa=!0,Qi(h,v)):h;for(s=o=h=L0(h.minus(Jc),h.plus(Jc),l),c=Qi(h.times(h),l),i=3;;){if(o=Qi(o.times(c),l),u=s.plus(L0(o,new m(i),l)),up(u.d).slice(0,l)===up(s.d).slice(0,l))return s=s.times(2),a!==0&&(s=s.plus(a7(m,l+2,v).times(a+""))),s=L0(s,new m(f),l),m.precision=v,t==null?(Oa=!0,Qi(s,v)):s;s=u,i+=2}}function Yee(e,t){var r,n,i;for((r=t.indexOf("."))>-1&&(t=t.replace(".","")),(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length),n=0;t.charCodeAt(n)===48;)++n;for(i=t.length;t.charCodeAt(i-1)===48;)--i;if(t=t.slice(n,i),t){if(i-=n,r=r-n-1,e.e=kO(r/ha),e.d=[],n=(r+1)%ha,r<0&&(n+=ha),n<i){for(n&&e.d.push(+t.slice(0,n)),i-=ha;n<i;)e.d.push(+t.slice(n,n+=ha));t=t.slice(n),n=ha-t.length}else n-=i;for(;n--;)t+="0";if(e.d.push(+t),Oa&&(e.e>F4||e.e<-F4))throw Error(lQ+r)}else e.s=0,e.e=0,e.d=[0];return e}function Qi(e,t,r){var n,i,a,o,s,u,l,c,f=e.d;for(o=1,a=f[0];a>=10;a/=10)o++;if(n=t-o,n<0)n+=ha,i=t,l=f[c=0];else{if(c=Math.ceil((n+1)/ha),a=f.length,c>=a)return e;for(l=a=f[c],o=1;a>=10;a/=10)o++;n%=ha,i=n-ha+o}if(r!==void 0&&(a=Iv(10,o-i-1),s=l/a%10|0,u=t<0||f[c+1]!==void 0||l%a,u=r<4?(s||u)&&(r==0||r==(e.s<0?3:2)):s>5||s==5&&(r==4||u||r==6&&(n>0?i>0?l/Iv(10,o-i):0:f[c-1])%10&1||r==(e.s<0?8:7))),t<1||!f[0])return u?(a=Bo(e),f.length=1,t=t-a-1,f[0]=Iv(10,(ha-t%ha)%ha),e.e=kO(-t/ha)||0):(f.length=1,f[0]=e.e=e.s=0),e;if(n==0?(f.length=c,a=1,c--):(f.length=c+1,a=Iv(10,ha-n),f[c]=i>0?(l/Iv(10,o-i)%Iv(10,i)|0)*a:0),u)for(;;)if(c==0){(f[0]+=a)==$s&&(f[0]=1,++e.e);break}else{if(f[c]+=a,f[c]!=$s)break;f[c--]=0,a=1}for(n=f.length;f[--n]===0;)f.pop();if(Oa&&(e.e>F4||e.e<-F4))throw Error(lQ+Bo(e));return e}function ixe(e,t){var r,n,i,a,o,s,u,l,c,f,d=e.constructor,h=d.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new d(e),Oa?Qi(t,h):t;if(u=e.d,f=t.d,n=t.e,l=e.e,u=u.slice(),o=l-n,o){for(c=o<0,c?(r=u,o=-o,s=f.length):(r=f,n=l,s=u.length),i=Math.max(Math.ceil(h/ha),s)+2,o>i&&(o=i,r.length=1),r.reverse(),i=o;i--;)r.push(0);r.reverse()}else{for(i=u.length,s=f.length,c=i<s,c&&(s=i),i=0;i<s;i++)if(u[i]!=f[i]){c=u[i]<f[i];break}o=0}for(c&&(r=u,u=f,f=r,t.s=-t.s),s=u.length,i=f.length-s;i>0;--i)u[s++]=0;for(i=f.length;i>o;){if(u[--i]<f[i]){for(a=i;a&&u[--a]===0;)u[a]=$s-1;--u[a],u[i]+=$s}u[i]-=f[i]}for(;u[--s]===0;)u.pop();for(;u[0]===0;u.shift())--n;return u[0]?(t.d=u,t.e=n,Oa?Qi(t,h):t):new d(0)}function $y(e,t,r){var n,i=Bo(e),a=up(e.d),o=a.length;return t?(r&&(n=r-o)>0?a=a.charAt(0)+"."+a.slice(1)+Zm(n):o>1&&(a=a.charAt(0)+"."+a.slice(1)),a=a+(i<0?"e":"e+")+i):i<0?(a="0."+Zm(-i-1)+a,r&&(n=r-o)>0&&(a+=Zm(n))):i>=o?(a+=Zm(i+1-o),r&&(n=r-i-1)>0&&(a=a+"."+Zm(n))):((n=i+1)<o&&(a=a.slice(0,n)+"."+a.slice(n)),r&&(n=r-o)>0&&(i+1===o&&(a+="."),a+=Zm(n))),e.s<0?"-"+a:a}function Gee(e,t){if(e.length>t)return e.length=t,!0}function axe(e){var t,r,n;function i(a){var o=this;if(!(o instanceof i))return new i(a);if(o.constructor=i,a instanceof i){o.s=a.s,o.e=a.e,o.d=(a=a.d)?a.slice():a;return}if(typeof a=="number"){if(a*0!==0)throw Error(sy+a);if(a>0)o.s=1;else if(a<0)a=-a,o.s=-1;else{o.s=0,o.e=0,o.d=[0];return}if(a===~~a&&a<1e7){o.e=0,o.d=[a];return}return Yee(o,a.toString())}else if(typeof a!="string")throw Error(sy+a);if(a.charCodeAt(0)===45?(a=a.slice(1),o.s=-1):o.s=1,$et.test(a))Yee(o,a);else throw Error(sy+a)}if(i.prototype=sr,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=axe,i.config=i.set=Cet,e===void 0&&(e={}),e)for(n=["precision","rounding","toExpNeg","toExpPos","LN10"],t=0;t<n.length;)e.hasOwnProperty(r=n[t++])||(e[r]=this[r]);return i.config(e),i}function Cet(e){if(!e||typeof e!="object")throw Error(Gf+"Object expected");var t,r,n,i=["precision",1,RO,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<i.length;t+=3)if((n=e[r=i[t]])!==void 0)if(kO(n)===n&&n>=i[t+1]&&n<=i[t+2])this[r]=n;else throw Error(sy+r+": "+n);if((n=e[r="LN10"])!==void 0)if(n==Math.LN10)this[r]=new this(n);else throw Error(sy+r+": "+n);return this}var cQ=axe(Eet);Jc=new cQ(1);const omt=cQ;var o7,Xee;function Pet(){if(Xee)return o7;Xee=1;function e(t){var r=t==null?0:t.length;return r?t[r-1]:void 0}return o7=e,o7}var Det=Pet();const smt=an(Det);var Ret=Object.getOwnPropertyNames,ket=Object.getOwnPropertySymbols,Tet=Object.prototype.hasOwnProperty;function Jee(e,t){return function(n,i,a){return e(n,i,a)&&t(n,i,a)}}function hE(e){return function(r,n,i){if(!r||!n||typeof r!="object"||typeof n!="object")return e(r,n,i);var a=i.cache,o=a.get(r),s=a.get(n);if(o&&s)return o===n&&s===r;a.set(r,n),a.set(n,r);var u=e(r,n,i);return a.delete(r),a.delete(n),u}}function ete(e){return Ret(e).concat(ket(e))}var oxe=Object.hasOwn||function(e,t){return Tet.call(e,t)};function TO(e,t){return e||t?e===t:e===t||e!==e&&t!==t}var sxe="_owner",tte=Object.getOwnPropertyDescriptor,rte=Object.keys;function Aet(e,t,r){var n=e.length;if(t.length!==n)return!1;for(;n-- >0;)if(!r.equals(e[n],t[n],n,n,e,t,r))return!1;return!0}function Fet(e,t){return TO(e.getTime(),t.getTime())}function nte(e,t,r){if(e.size!==t.size)return!1;for(var n={},i=e.entries(),a=0,o,s;(o=i.next())&&!o.done;){for(var u=t.entries(),l=!1,c=0;(s=u.next())&&!s.done;){var f=o.value,d=f[0],h=f[1],g=s.value,m=g[0],v=g[1];!l&&!n[c]&&(l=r.equals(d,m,a,c,e,t,r)&&r.equals(h,v,d,m,e,t,r))&&(n[c]=!0),c++}if(!l)return!1;a++}return!0}function Iet(e,t,r){var n=rte(e),i=n.length;if(rte(t).length!==i)return!1;for(var a;i-- >0;)if(a=n[i],a===sxe&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof||!oxe(t,a)||!r.equals(e[a],t[a],a,a,e,t,r))return!1;return!0}function Ux(e,t,r){var n=ete(e),i=n.length;if(ete(t).length!==i)return!1;for(var a,o,s;i-- >0;)if(a=n[i],a===sxe&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof||!oxe(t,a)||!r.equals(e[a],t[a],a,a,e,t,r)||(o=tte(e,a),s=tte(t,a),(o||s)&&(!o||!s||o.configurable!==s.configurable||o.enumerable!==s.enumerable||o.writable!==s.writable)))return!1;return!0}function Met(e,t){return TO(e.valueOf(),t.valueOf())}function Net(e,t){return e.source===t.source&&e.flags===t.flags}function ite(e,t,r){if(e.size!==t.size)return!1;for(var n={},i=e.values(),a,o;(a=i.next())&&!a.done;){for(var s=t.values(),u=!1,l=0;(o=s.next())&&!o.done;)!u&&!n[l]&&(u=r.equals(a.value,o.value,a.value,o.value,e,t,r))&&(n[l]=!0),l++;if(!u)return!1}return!0}function Let(e,t){var r=e.length;if(t.length!==r)return!1;for(;r-- >0;)if(e[r]!==t[r])return!1;return!0}var zet="[object Arguments]",Qet="[object Boolean]",Bet="[object Date]",qet="[object Map]",Uet="[object Number]",Vet="[object Object]",jet="[object RegExp]",Wet="[object Set]",Zet="[object String]",Ket=Array.isArray,ate=typeof ArrayBuffer=="function"&&ArrayBuffer.isView?ArrayBuffer.isView:null,ote=Object.assign,Het=Object.prototype.toString.call.bind(Object.prototype.toString);function Yet(e){var t=e.areArraysEqual,r=e.areDatesEqual,n=e.areMapsEqual,i=e.areObjectsEqual,a=e.arePrimitiveWrappersEqual,o=e.areRegExpsEqual,s=e.areSetsEqual,u=e.areTypedArraysEqual;return function(c,f,d){if(c===f)return!0;if(c==null||f==null||typeof c!="object"||typeof f!="object")return c!==c&&f!==f;var h=c.constructor;if(h!==f.constructor)return!1;if(h===Object)return i(c,f,d);if(Ket(c))return t(c,f,d);if(ate!=null&&ate(c))return u(c,f,d);if(h===Date)return r(c,f,d);if(h===RegExp)return o(c,f,d);if(h===Map)return n(c,f,d);if(h===Set)return s(c,f,d);var g=Het(c);return g===Bet?r(c,f,d):g===jet?o(c,f,d):g===qet?n(c,f,d):g===Wet?s(c,f,d):g===Vet?typeof c.then!="function"&&typeof f.then!="function"&&i(c,f,d):g===zet?i(c,f,d):g===Qet||g===Uet||g===Zet?a(c,f,d):!1}}function Get(e){var t=e.circular,r=e.createCustomConfig,n=e.strict,i={areArraysEqual:n?Ux:Aet,areDatesEqual:Fet,areMapsEqual:n?Jee(nte,Ux):nte,areObjectsEqual:n?Ux:Iet,arePrimitiveWrappersEqual:Met,areRegExpsEqual:Net,areSetsEqual:n?Jee(ite,Ux):ite,areTypedArraysEqual:n?Ux:Let};if(r&&(i=ote({},i,r(i))),t){var a=hE(i.areArraysEqual),o=hE(i.areMapsEqual),s=hE(i.areObjectsEqual),u=hE(i.areSetsEqual);i=ote({},i,{areArraysEqual:a,areMapsEqual:o,areObjectsEqual:s,areSetsEqual:u})}return i}function Xet(e){return function(t,r,n,i,a,o,s){return e(t,r,s)}}function Jet(e){var t=e.circular,r=e.comparator,n=e.createState,i=e.equals,a=e.strict;if(n)return function(u,l){var c=n(),f=c.cache,d=f===void 0?t?new WeakMap:void 0:f,h=c.meta;return r(u,l,{cache:d,equals:i,meta:h,strict:a})};if(t)return function(u,l){return r(u,l,{cache:new WeakMap,equals:i,meta:void 0,strict:a})};var o={cache:void 0,equals:i,meta:void 0,strict:a};return function(u,l){return r(u,l,o)}}var ett=jg();jg({strict:!0});jg({circular:!0});jg({circular:!0,strict:!0});jg({createInternalComparator:function(){return TO}});jg({strict:!0,createInternalComparator:function(){return TO}});jg({circular:!0,createInternalComparator:function(){return TO}});jg({circular:!0,createInternalComparator:function(){return TO},strict:!0});function jg(e){e===void 0&&(e={});var t=e.circular,r=t===void 0?!1:t,n=e.createInternalComparator,i=e.createState,a=e.strict,o=a===void 0?!1:a,s=Get(e),u=Yet(s),l=n?n(u):Xet(u);return Jet({circular:r,comparator:u,createState:i,equals:l,strict:o})}function ttt(e){typeof requestAnimationFrame<"u"&&requestAnimationFrame(e)}function ste(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=-1,n=function i(a){r<0&&(r=a),a-r>t?(e(a),r=-1):ttt(i)};requestAnimationFrame(n)}function gM(e){"@babel/helpers - typeof";return gM=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},gM(e)}function rtt(e){return ott(e)||att(e)||itt(e)||ntt()}function ntt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
841
841
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function itt(e,t){if(e){if(typeof e=="string")return ute(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ute(e,t)}}function ute(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function att(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ott(e){if(Array.isArray(e))return e}function stt(){var e={},t=function(){return null},r=!1,n=function i(a){if(!r){if(Array.isArray(a)){if(!a.length)return;var o=a,s=rtt(o),u=s[0],l=s.slice(1);if(typeof u=="number"){ste(i.bind(null,l),u);return}i(u),ste(i.bind(null,l));return}gM(a)==="object"&&(e=a,t(e)),typeof a=="function"&&a()}};return{stop:function(){r=!0},start:function(a){r=!1,n(a)},subscribe:function(a){return t=a,function(){t=function(){return null}}}}}function QS(e){"@babel/helpers - typeof";return QS=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},QS(e)}function lte(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function cte(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?lte(Object(r),!0).forEach(function(n){uxe(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):lte(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function uxe(e,t,r){return t=utt(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function utt(e){var t=ltt(e,"string");return QS(t)==="symbol"?t:String(t)}function ltt(e,t){if(QS(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(QS(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var ctt=function(t,r){return[Object.keys(t),Object.keys(r)].reduce(function(n,i){return n.filter(function(a){return i.includes(a)})})},ftt=function(t){return t},dtt=function(t){return t.replace(/([A-Z])/g,function(r){return"-".concat(r.toLowerCase())})},A_=function(t,r){return Object.keys(r).reduce(function(n,i){return cte(cte({},n),{},uxe({},i,t(i,r[i])))},{})},fte=function(t,r,n){return t.map(function(i){return"".concat(dtt(i)," ").concat(r,"ms ").concat(n)}).join(",")};function htt(e,t){return gtt(e)||mtt(e,t)||lxe(e,t)||ptt()}function ptt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
842
842
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function mtt(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,i,a,o,s=[],u=!0,l=!1;try{if(a=(r=r.call(e)).next,t!==0)for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(c){l=!0,i=c}finally{try{if(!u&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function gtt(e){if(Array.isArray(e))return e}function vtt(e){return Ott(e)||btt(e)||lxe(e)||ytt()}function ytt(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
843
843
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function lxe(e,t){if(e){if(typeof e=="string")return vM(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return vM(e,t)}}function btt(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ott(e){if(Array.isArray(e))return vM(e)}function vM(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var I4=1e-4,cxe=function(t,r){return[0,3*t,3*r-6*t,3*t-3*r+1]},fxe=function(t,r){return t.map(function(n,i){return n*Math.pow(r,i)}).reduce(function(n,i){return n+i})},dte=function(t,r){return function(n){var i=cxe(t,r);return fxe(i,n)}},xtt=function(t,r){return function(n){var i=cxe(t,r),a=[].concat(vtt(i.map(function(o,s){return o*s}).slice(1)),[0]);return fxe(a,n)}},hte=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=r[0],a=r[1],o=r[2],s=r[3];if(r.length===1)switch(r[0]){case"linear":i=0,a=0,o=1,s=1;break;case"ease":i=.25,a=.1,o=.25,s=1;break;case"ease-in":i=.42,a=0,o=1,s=1;break;case"ease-out":i=.42,a=0,o=.58,s=1;break;case"ease-in-out":i=0,a=0,o=.58,s=1;break;default:{var u=r[0].split("(");if(u[0]==="cubic-bezier"&&u[1].split(")")[0].split(",").length===4){var l=u[1].split(")")[0].split(",").map(function(v){return parseFloat(v)}),c=htt(l,4);i=c[0],a=c[1],o=c[2],s=c[3]}}}var f=dte(i,o),d=dte(a,s),h=xtt(i,o),g=function(y){return y>1?1:y<0?0:y},m=function(y){for(var O=y>1?1:y,x=O,C=0;C<8;++C){var w=f(x)-O,E=h(x);if(Math.abs(w-O)<I4||E<I4)return d(x);x=g(x-w/E)}return d(x)};return m.isStepper=!1,m},_tt=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.stiff,n=r===void 0?100:r,i=t.damping,a=i===void 0?8:i,o=t.dt,s=o===void 0?17:o,u=function(c,f,d){var h=-(c-f)*n,g=d*a,m=d+(h-g)*s/1e3,v=d*s/1e3+c;return Math.abs(v-f)<I4&&Math.abs(m)<I4?[f,0]:[v,m]};return u.isStepper=!0,u.dt=s,u},Stt=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=r[0];if(typeof i=="string")switch(i){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return hte(i);case"spring":return _tt();default:if(i.split("(")[0]==="cubic-bezier")return hte(i)}return typeof i=="function"?i:null};function BS(e){"@babel/helpers - typeof";return BS=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},BS(e)}function pte(e){return $tt(e)||Ett(e)||dxe(e)||wtt()}function wtt(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
@@ -902,4 +902,4 @@ function print() { __p += __j.call(arguments, '') }
902
902
  To pick up a draggable item, press the space bar.
903
903
  While dragging, use the arrow keys to move the item.
904
904
  Press space again to drop the item in its new position, or press escape to cancel.
905
- `},act={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:r}=e;return r?"Draggable item "+t.id+" was moved over droppable area "+r.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:r}=e;return r?"Draggable item "+t.id+" was dropped over droppable area "+r.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function oct(e){let{announcements:t=act,container:r,hiddenTextDescribedById:n,screenReaderInstructions:i=ict}=e;const{announce:a,announcement:o}=tct(),s=Iw("DndLiveRegion"),[u,l]=F.useState(!1);if(F.useEffect(()=>{l(!0)},[]),rct(F.useMemo(()=>({onDragStart(f){let{active:d}=f;a(t.onDragStart({active:d}))},onDragMove(f){let{active:d,over:h}=f;t.onDragMove&&a(t.onDragMove({active:d,over:h}))},onDragOver(f){let{active:d,over:h}=f;a(t.onDragOver({active:d,over:h}))},onDragEnd(f){let{active:d,over:h}=f;a(t.onDragEnd({active:d,over:h}))},onDragCancel(f){let{active:d,over:h}=f;a(t.onDragCancel({active:d,over:h}))}}),[a,t])),!u)return null;const c=$e.createElement($e.Fragment,null,$e.createElement(Jlt,{id:n,value:i.draggable}),$e.createElement(ect,{id:s,announcement:o}));return r?dl.createPortal(c,r):c}var us;(function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"})(us||(us={}));function H4(){}function Dmt(e,t){return F.useMemo(()=>({sensor:e,options:t??{}}),[e,t])}function Rmt(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return F.useMemo(()=>[...t].filter(n=>n!=null),[...t])}const uh=Object.freeze({x:0,y:0});function sct(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function uct(e,t){let{data:{value:r}}=e,{data:{value:n}}=t;return r-n}function lct(e,t){let{data:{value:r}}=e,{data:{value:n}}=t;return n-r}function ane(e){let{left:t,top:r,height:n,width:i}=e;return[{x:t,y:r},{x:t+i,y:r},{x:t,y:r+n},{x:t+i,y:r+n}]}function W_e(e,t){if(!e||e.length===0)return null;const[r]=e;return r[t]}const cct=e=>{let{collisionRect:t,droppableRects:r,droppableContainers:n}=e;const i=ane(t),a=[];for(const o of n){const{id:s}=o,u=r.get(s);if(u){const l=ane(u),c=i.reduce((d,h,g)=>d+sct(l[g],h),0),f=Number((c/4).toFixed(4));a.push({id:s,data:{droppableContainer:o,value:f}})}}return a.sort(uct)};function fct(e,t){const r=Math.max(t.top,e.top),n=Math.max(t.left,e.left),i=Math.min(t.left+t.width,e.left+e.width),a=Math.min(t.top+t.height,e.top+e.height),o=i-n,s=a-r;if(n<i&&r<a){const u=t.width*t.height,l=e.width*e.height,c=o*s,f=c/(u+l-c);return Number(f.toFixed(4))}return 0}const dct=e=>{let{collisionRect:t,droppableRects:r,droppableContainers:n}=e;const i=[];for(const a of n){const{id:o}=a,s=r.get(o);if(s){const u=fct(s,t);u>0&&i.push({id:o,data:{droppableContainer:a,value:u}})}}return i.sort(lct)};function hct(e,t,r){return{...e,scaleX:t&&r?t.width/r.width:1,scaleY:t&&r?t.height/r.height:1}}function Z_e(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:uh}function pct(e){return function(r){for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];return i.reduce((o,s)=>({...o,top:o.top+e*s.y,bottom:o.bottom+e*s.y,left:o.left+e*s.x,right:o.right+e*s.x}),{...r})}}const mct=pct(1);function gct(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}else if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}function vct(e,t,r){const n=gct(t);if(!n)return e;const{scaleX:i,scaleY:a,x:o,y:s}=n,u=e.left-o-(1-i)*parseFloat(r),l=e.top-s-(1-a)*parseFloat(r.slice(r.indexOf(" ")+1)),c=i?e.width/i:e.width,f=a?e.height/a:e.height;return{width:c,height:f,top:l,right:u+c,bottom:l+f,left:u}}const yct={ignoreTransform:!1};function NO(e,t){t===void 0&&(t=yct);let r=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:l,transformOrigin:c}=Oc(e).getComputedStyle(e);l&&(r=vct(r,l,c))}const{top:n,left:i,width:a,height:o,bottom:s,right:u}=r;return{top:n,left:i,width:a,height:o,bottom:s,right:u}}function one(e){return NO(e,{ignoreTransform:!0})}function bct(e){const t=e.innerWidth,r=e.innerHeight;return{top:0,left:0,right:t,bottom:r,width:t,height:r}}function Oct(e,t){return t===void 0&&(t=Oc(e).getComputedStyle(e)),t.position==="fixed"}function xct(e,t){t===void 0&&(t=Oc(e).getComputedStyle(e));const r=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(i=>{const a=t[i];return typeof a=="string"?r.test(a):!1})}function aP(e,t){const r=[];function n(i){if(t!=null&&r.length>=t||!i)return r;if(LQ(i)&&i.scrollingElement!=null&&!r.includes(i.scrollingElement))return r.push(i.scrollingElement),r;if(!Aw(i)||U_e(i)||r.includes(i))return r;const a=Oc(e).getComputedStyle(i);return i!==e&&xct(i,a)&&r.push(i),Oct(i,a)?r:n(i.parentNode)}return e?n(e):r}function K_e(e){const[t]=aP(e,1);return t??null}function G7(e){return!iP||!e?null:IO(e)?e:NQ(e)?LQ(e)||e===MO(e).scrollingElement?window:Aw(e)?e:null:null}function H_e(e){return IO(e)?e.scrollX:e.scrollLeft}function Y_e(e){return IO(e)?e.scrollY:e.scrollTop}function NM(e){return{x:H_e(e),y:Y_e(e)}}var Cs;(function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"})(Cs||(Cs={}));function G_e(e){return!iP||!e?!1:e===document.scrollingElement}function X_e(e){const t={x:0,y:0},r=G_e(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},n={x:e.scrollWidth-r.width,y:e.scrollHeight-r.height},i=e.scrollTop<=t.y,a=e.scrollLeft<=t.x,o=e.scrollTop>=n.y,s=e.scrollLeft>=n.x;return{isTop:i,isLeft:a,isBottom:o,isRight:s,maxScroll:n,minScroll:t}}const _ct={x:.2,y:.2};function Sct(e,t,r,n,i){let{top:a,left:o,right:s,bottom:u}=r;n===void 0&&(n=10),i===void 0&&(i=_ct);const{isTop:l,isBottom:c,isLeft:f,isRight:d}=X_e(e),h={x:0,y:0},g={x:0,y:0},m={height:t.height*i.y,width:t.width*i.x};return!l&&a<=t.top+m.height?(h.y=Cs.Backward,g.y=n*Math.abs((t.top+m.height-a)/m.height)):!c&&u>=t.bottom-m.height&&(h.y=Cs.Forward,g.y=n*Math.abs((t.bottom-m.height-u)/m.height)),!d&&s>=t.right-m.width?(h.x=Cs.Forward,g.x=n*Math.abs((t.right-m.width-s)/m.width)):!f&&o<=t.left+m.width&&(h.x=Cs.Backward,g.x=n*Math.abs((t.left+m.width-o)/m.width)),{direction:h,speed:g}}function wct(e){if(e===document.scrollingElement){const{innerWidth:a,innerHeight:o}=window;return{top:0,left:0,right:a,bottom:o,width:a,height:o}}const{top:t,left:r,right:n,bottom:i}=e.getBoundingClientRect();return{top:t,left:r,right:n,bottom:i,width:e.clientWidth,height:e.clientHeight}}function J_e(e){return e.reduce((t,r)=>Fb(t,NM(r)),uh)}function Ect(e){return e.reduce((t,r)=>t+H_e(r),0)}function $ct(e){return e.reduce((t,r)=>t+Y_e(r),0)}function Cct(e,t){if(t===void 0&&(t=NO),!e)return;const{top:r,left:n,bottom:i,right:a}=t(e);K_e(e)&&(i<=0||a<=0||r>=window.innerHeight||n>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const Pct=[["x",["left","right"],Ect],["y",["top","bottom"],$ct]];class BQ{constructor(t,r){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const n=aP(r),i=J_e(n);this.rect={...t},this.width=t.width,this.height=t.height;for(const[a,o,s]of Pct)for(const u of o)Object.defineProperty(this,u,{get:()=>{const l=s(n),c=i[a]-l;return this.rect[u]+c},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class M_{constructor(t){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(r=>{var n;return(n=this.target)==null?void 0:n.removeEventListener(...r)})},this.target=t}add(t,r,n){var i;(i=this.target)==null||i.addEventListener(t,r,n),this.listeners.push([t,r,n])}}function Dct(e){const{EventTarget:t}=Oc(e);return e instanceof t?e:MO(e)}function X7(e,t){const r=Math.abs(e.x),n=Math.abs(e.y);return typeof t=="number"?Math.sqrt(r**2+n**2)>t:"x"in t&&"y"in t?r>t.x&&n>t.y:"x"in t?r>t.x:"y"in t?n>t.y:!1}var If;(function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"})(If||(If={}));function sne(e){e.preventDefault()}function Rct(e){e.stopPropagation()}var Xn;(function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter"})(Xn||(Xn={}));const eSe={start:[Xn.Space,Xn.Enter],cancel:[Xn.Esc],end:[Xn.Space,Xn.Enter]},kct=(e,t)=>{let{currentCoordinates:r}=t;switch(e.code){case Xn.Right:return{...r,x:r.x+25};case Xn.Left:return{...r,x:r.x-25};case Xn.Down:return{...r,y:r.y+25};case Xn.Up:return{...r,y:r.y-25}}};class tSe{constructor(t){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=t;const{event:{target:r}}=t;this.props=t,this.listeners=new M_(MO(r)),this.windowListeners=new M_(Oc(r)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(If.Resize,this.handleCancel),this.windowListeners.add(If.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(If.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:t,onStart:r}=this.props,n=t.node.current;n&&Cct(n),r(uh)}handleKeyDown(t){if(QQ(t)){const{active:r,context:n,options:i}=this.props,{keyboardCodes:a=eSe,coordinateGetter:o=kct,scrollBehavior:s="smooth"}=i,{code:u}=t;if(a.end.includes(u)){this.handleEnd(t);return}if(a.cancel.includes(u)){this.handleCancel(t);return}const{collisionRect:l}=n.current,c=l?{x:l.left,y:l.top}:uh;this.referenceCoordinates||(this.referenceCoordinates=c);const f=o(t,{active:r,context:n.current,currentCoordinates:c});if(f){const d=WS(f,c),h={x:0,y:0},{scrollableAncestors:g}=n.current;for(const m of g){const v=t.code,{isTop:y,isRight:O,isLeft:x,isBottom:C,maxScroll:w,minScroll:E}=X_e(m),T=wct(m),P={x:Math.min(v===Xn.Right?T.right-T.width/2:T.right,Math.max(v===Xn.Right?T.left:T.left+T.width/2,f.x)),y:Math.min(v===Xn.Down?T.bottom-T.height/2:T.bottom,Math.max(v===Xn.Down?T.top:T.top+T.height/2,f.y))},L=v===Xn.Right&&!O||v===Xn.Left&&!x,N=v===Xn.Down&&!C||v===Xn.Up&&!y;if(L&&P.x!==f.x){const B=m.scrollLeft+d.x,j=v===Xn.Right&&B<=w.x||v===Xn.Left&&B>=E.x;if(j&&!d.y){m.scrollTo({left:B,behavior:s});return}j?h.x=m.scrollLeft-B:h.x=v===Xn.Right?m.scrollLeft-w.x:m.scrollLeft-E.x,h.x&&m.scrollBy({left:-h.x,behavior:s});break}else if(N&&P.y!==f.y){const B=m.scrollTop+d.y,j=v===Xn.Down&&B<=w.y||v===Xn.Up&&B>=E.y;if(j&&!d.x){m.scrollTo({top:B,behavior:s});return}j?h.y=m.scrollTop-B:h.y=v===Xn.Down?m.scrollTop-w.y:m.scrollTop-E.y,h.y&&m.scrollBy({top:-h.y,behavior:s});break}}this.handleMove(t,Fb(WS(f,this.referenceCoordinates),h))}}}handleMove(t,r){const{onMove:n}=this.props;t.preventDefault(),n(r)}handleEnd(t){const{onEnd:r}=this.props;t.preventDefault(),this.detach(),r()}handleCancel(t){const{onCancel:r}=this.props;t.preventDefault(),this.detach(),r()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}tSe.activators=[{eventName:"onKeyDown",handler:(e,t,r)=>{let{keyboardCodes:n=eSe,onActivation:i}=t,{active:a}=r;const{code:o}=e.nativeEvent;if(n.start.includes(o)){const s=a.activatorNode.current;return s&&e.target!==s?!1:(e.preventDefault(),i==null||i({event:e.nativeEvent}),!0)}return!1}}];function une(e){return!!(e&&"distance"in e)}function lne(e){return!!(e&&"delay"in e)}class qQ{constructor(t,r,n){var i;n===void 0&&(n=Dct(t.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=t,this.events=r;const{event:a}=t,{target:o}=a;this.props=t,this.events=r,this.document=MO(o),this.documentListeners=new M_(this.document),this.listeners=new M_(n),this.windowListeners=new M_(Oc(o)),this.initialCoordinates=(i=MM(a))!=null?i:uh,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:t,props:{options:{activationConstraint:r,bypassActivationConstraint:n}}}=this;if(this.listeners.add(t.move.name,this.handleMove,{passive:!1}),this.listeners.add(t.end.name,this.handleEnd),this.windowListeners.add(If.Resize,this.handleCancel),this.windowListeners.add(If.DragStart,sne),this.windowListeners.add(If.VisibilityChange,this.handleCancel),this.windowListeners.add(If.ContextMenu,sne),this.documentListeners.add(If.Keydown,this.handleKeydown),r){if(n!=null&&n({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(lne(r)){this.timeoutId=setTimeout(this.handleStart,r.delay);return}if(une(r))return}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){const{initialCoordinates:t}=this,{onStart:r}=this.props;t&&(this.activated=!0,this.documentListeners.add(If.Click,Rct,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(If.SelectionChange,this.removeTextSelection),r(t))}handleMove(t){var r;const{activated:n,initialCoordinates:i,props:a}=this,{onMove:o,options:{activationConstraint:s}}=a;if(!i)return;const u=(r=MM(t))!=null?r:uh,l=WS(i,u);if(!n&&s){if(une(s)){if(s.tolerance!=null&&X7(l,s.tolerance))return this.handleCancel();if(X7(l,s.distance))return this.handleStart()}return lne(s)&&X7(l,s.tolerance)?this.handleCancel():void 0}t.cancelable&&t.preventDefault(),o(u)}handleEnd(){const{onEnd:t}=this.props;this.detach(),t()}handleCancel(){const{onCancel:t}=this.props;this.detach(),t()}handleKeydown(t){t.code===Xn.Esc&&this.handleCancel()}removeTextSelection(){var t;(t=this.document.getSelection())==null||t.removeAllRanges()}}const Tct={move:{name:"pointermove"},end:{name:"pointerup"}};class rSe extends qQ{constructor(t){const{event:r}=t,n=MO(r.target);super(t,Tct,n)}}rSe.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:n}=t;return!r.isPrimary||r.button!==0?!1:(n==null||n({event:r}),!0)}}];const Act={move:{name:"mousemove"},end:{name:"mouseup"}};var LM;(function(e){e[e.RightClick=2]="RightClick"})(LM||(LM={}));class Fct extends qQ{constructor(t){super(t,Act,MO(t.event.target))}}Fct.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:n}=t;return r.button===LM.RightClick?!1:(n==null||n({event:r}),!0)}}];const J7={move:{name:"touchmove"},end:{name:"touchend"}};class Ict extends qQ{constructor(t){super(t,J7)}static setup(){return window.addEventListener(J7.move.name,t,{capture:!1,passive:!1}),function(){window.removeEventListener(J7.move.name,t)};function t(){}}}Ict.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:n}=t;const{touches:i}=r;return i.length>1?!1:(n==null||n({event:r}),!0)}}];var N_;(function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"})(N_||(N_={}));var Y4;(function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"})(Y4||(Y4={}));function Mct(e){let{acceleration:t,activator:r=N_.Pointer,canScroll:n,draggingRect:i,enabled:a,interval:o=5,order:s=Y4.TreeOrder,pointerCoordinates:u,scrollableAncestors:l,scrollableAncestorRects:c,delta:f,threshold:d}=e;const h=Lct({delta:f,disabled:!a}),[g,m]=Klt(),v=F.useRef({x:0,y:0}),y=F.useRef({x:0,y:0}),O=F.useMemo(()=>{switch(r){case N_.Pointer:return u?{top:u.y,bottom:u.y,left:u.x,right:u.x}:null;case N_.DraggableRect:return i}},[r,i,u]),x=F.useRef(null),C=F.useCallback(()=>{const E=x.current;if(!E)return;const T=v.current.x*y.current.x,P=v.current.y*y.current.y;E.scrollBy(T,P)},[]),w=F.useMemo(()=>s===Y4.TreeOrder?[...l].reverse():l,[s,l]);F.useEffect(()=>{if(!a||!l.length||!O){m();return}for(const E of w){if((n==null?void 0:n(E))===!1)continue;const T=l.indexOf(E),P=c[T];if(!P)continue;const{direction:L,speed:N}=Sct(E,P,O,t,d);for(const B of["x","y"])h[B][L[B]]||(N[B]=0,L[B]=0);if(N.x>0||N.y>0){m(),x.current=E,g(C,o),v.current=N,y.current=L;return}}v.current={x:0,y:0},y.current={x:0,y:0},m()},[t,C,n,m,a,o,JSON.stringify(O),JSON.stringify(h),g,l,w,c,JSON.stringify(d)])}const Nct={x:{[Cs.Backward]:!1,[Cs.Forward]:!1},y:{[Cs.Backward]:!1,[Cs.Forward]:!1}};function Lct(e){let{delta:t,disabled:r}=e;const n=IM(t);return Fw(i=>{if(r||!n||!i)return Nct;const a={x:Math.sign(t.x-n.x),y:Math.sign(t.y-n.y)};return{x:{[Cs.Backward]:i.x[Cs.Backward]||a.x===-1,[Cs.Forward]:i.x[Cs.Forward]||a.x===1},y:{[Cs.Backward]:i.y[Cs.Backward]||a.y===-1,[Cs.Forward]:i.y[Cs.Forward]||a.y===1}}},[r,t,n])}function zct(e,t){const r=t!==null?e.get(t):void 0,n=r?r.node.current:null;return Fw(i=>{var a;return t===null?null:(a=n??i)!=null?a:null},[n,t])}function Qct(e,t){return F.useMemo(()=>e.reduce((r,n)=>{const{sensor:i}=n,a=i.activators.map(o=>({eventName:o.eventName,handler:t(o.handler,n)}));return[...r,...a]},[]),[e,t])}var ZS;(function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"})(ZS||(ZS={}));var zM;(function(e){e.Optimized="optimized"})(zM||(zM={}));const cne=new Map;function Bct(e,t){let{dragging:r,dependencies:n,config:i}=t;const[a,o]=F.useState(null),{frequency:s,measure:u,strategy:l}=i,c=F.useRef(e),f=v(),d=jS(f),h=F.useCallback(function(y){y===void 0&&(y=[]),!d.current&&o(O=>O===null?y:O.concat(y.filter(x=>!O.includes(x))))},[d]),g=F.useRef(null),m=Fw(y=>{if(f&&!r)return cne;if(!y||y===cne||c.current!==e||a!=null){const O=new Map;for(let x of e){if(!x)continue;if(a&&a.length>0&&!a.includes(x.id)&&x.rect.current){O.set(x.id,x.rect.current);continue}const C=x.node.current,w=C?new BQ(u(C),C):null;x.rect.current=w,w&&O.set(x.id,w)}return O}return y},[e,a,r,f,u]);return F.useEffect(()=>{c.current=e},[e]),F.useEffect(()=>{f||h()},[r,f]),F.useEffect(()=>{a&&a.length>0&&o(null)},[JSON.stringify(a)]),F.useEffect(()=>{f||typeof s!="number"||g.current!==null||(g.current=setTimeout(()=>{h(),g.current=null},s))},[s,f,h,...n]),{droppableRects:m,measureDroppableContainers:h,measuringScheduled:a!=null};function v(){switch(l){case ZS.Always:return!1;case ZS.BeforeDragging:return r;default:return!r}}}function nSe(e,t){return Fw(r=>e?r||(typeof t=="function"?t(e):e):null,[t,e])}function qct(e,t){return nSe(e,t)}function Uct(e){let{callback:t,disabled:r}=e;const n=zQ(t),i=F.useMemo(()=>{if(r||typeof window>"u"||typeof window.MutationObserver>"u")return;const{MutationObserver:a}=window;return new a(n)},[n,r]);return F.useEffect(()=>()=>i==null?void 0:i.disconnect(),[i]),i}function oP(e){let{callback:t,disabled:r}=e;const n=zQ(t),i=F.useMemo(()=>{if(r||typeof window>"u"||typeof window.ResizeObserver>"u")return;const{ResizeObserver:a}=window;return new a(n)},[r]);return F.useEffect(()=>()=>i==null?void 0:i.disconnect(),[i]),i}function Vct(e){return new BQ(NO(e),e)}function fne(e,t,r){t===void 0&&(t=Vct);const[n,i]=F.useReducer(s,null),a=Uct({callback(u){if(e)for(const l of u){const{type:c,target:f}=l;if(c==="childList"&&f instanceof HTMLElement&&f.contains(e)){i();break}}}}),o=oP({callback:i});return sh(()=>{i(),e?(o==null||o.observe(e),a==null||a.observe(document.body,{childList:!0,subtree:!0})):(o==null||o.disconnect(),a==null||a.disconnect())},[e]),n;function s(u){if(!e)return null;if(e.isConnected===!1){var l;return(l=u??r)!=null?l:null}const c=t(e);return JSON.stringify(u)===JSON.stringify(c)?u:c}}function jct(e){const t=nSe(e);return Z_e(e,t)}const dne=[];function Wct(e){const t=F.useRef(e),r=Fw(n=>e?n&&n!==dne&&e&&t.current&&e.parentNode===t.current.parentNode?n:aP(e):dne,[e]);return F.useEffect(()=>{t.current=e},[e]),r}function Zct(e){const[t,r]=F.useState(null),n=F.useRef(e),i=F.useCallback(a=>{const o=G7(a.target);o&&r(s=>s?(s.set(o,NM(o)),new Map(s)):null)},[]);return F.useEffect(()=>{const a=n.current;if(e!==a){o(a);const s=e.map(u=>{const l=G7(u);return l?(l.addEventListener("scroll",i,{passive:!0}),[l,NM(l)]):null}).filter(u=>u!=null);r(s.length?new Map(s):null),n.current=e}return()=>{o(e),o(a)};function o(s){s.forEach(u=>{const l=G7(u);l==null||l.removeEventListener("scroll",i)})}},[i,e]),F.useMemo(()=>e.length?t?Array.from(t.values()).reduce((a,o)=>Fb(a,o),uh):J_e(e):uh,[e,t])}function hne(e,t){t===void 0&&(t=[]);const r=F.useRef(null);return F.useEffect(()=>{r.current=null},t),F.useEffect(()=>{const n=e!==uh;n&&!r.current&&(r.current=e),!n&&r.current&&(r.current=null)},[e]),r.current?WS(e,r.current):uh}function Kct(e){F.useEffect(()=>{if(!iP)return;const t=e.map(r=>{let{sensor:n}=r;return n.setup==null?void 0:n.setup()});return()=>{for(const r of t)r==null||r()}},e.map(t=>{let{sensor:r}=t;return r}))}function Hct(e,t){return F.useMemo(()=>e.reduce((r,n)=>{let{eventName:i,handler:a}=n;return r[i]=o=>{a(o,t)},r},{}),[e,t])}function iSe(e){return F.useMemo(()=>e?bct(e):null,[e])}const eI=[];function Yct(e,t){t===void 0&&(t=NO);const[r]=e,n=iSe(r?Oc(r):null),[i,a]=F.useReducer(s,eI),o=oP({callback:a});return e.length>0&&i===eI&&a(),sh(()=>{e.length?e.forEach(u=>o==null?void 0:o.observe(u)):(o==null||o.disconnect(),a())},[e]),i;function s(){return e.length?e.map(u=>G_e(u)?n:new BQ(t(u),u)):eI}}function Gct(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return Aw(t)?t:e}function Xct(e){let{measure:t}=e;const[r,n]=F.useState(null),i=F.useCallback(l=>{for(const{target:c}of l)if(Aw(c)){n(f=>{const d=t(c);return f?{...f,width:d.width,height:d.height}:d});break}},[t]),a=oP({callback:i}),o=F.useCallback(l=>{const c=Gct(l);a==null||a.disconnect(),c&&(a==null||a.observe(c)),n(c?t(c):null)},[t,a]),[s,u]=Z4(o);return F.useMemo(()=>({nodeRef:s,rect:r,setRef:u}),[r,s,u])}const Jct=[{sensor:rSe,options:{}},{sensor:tSe,options:{}}],eft={current:{}},t2={draggable:{measure:one},droppable:{measure:one,strategy:ZS.WhileDragging,frequency:zM.Optimized},dragOverlay:{measure:NO}};class L_ extends Map{get(t){var r;return t!=null&&(r=super.get(t))!=null?r:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(t=>{let{disabled:r}=t;return!r})}getNodeFor(t){var r,n;return(r=(n=this.get(t))==null?void 0:n.node.current)!=null?r:void 0}}const tft={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new L_,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:H4},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:t2,measureDroppableContainers:H4,windowRect:null,measuringScheduled:!1},rft={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:H4,draggableNodes:new Map,over:null,measureDroppableContainers:H4},sP=F.createContext(rft),aSe=F.createContext(tft);function nft(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new L_}}}function ift(e,t){switch(t.type){case us.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case us.DragMove:return e.draggable.active?{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}}:e;case us.DragEnd:case us.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case us.RegisterDroppable:{const{element:r}=t,{id:n}=r,i=new L_(e.droppable.containers);return i.set(n,r),{...e,droppable:{...e.droppable,containers:i}}}case us.SetDroppableDisabled:{const{id:r,key:n,disabled:i}=t,a=e.droppable.containers.get(r);if(!a||n!==a.key)return e;const o=new L_(e.droppable.containers);return o.set(r,{...a,disabled:i}),{...e,droppable:{...e.droppable,containers:o}}}case us.UnregisterDroppable:{const{id:r,key:n}=t,i=e.droppable.containers.get(r);if(!i||n!==i.key)return e;const a=new L_(e.droppable.containers);return a.delete(r),{...e,droppable:{...e.droppable,containers:a}}}default:return e}}function aft(e){let{disabled:t}=e;const{active:r,activatorEvent:n,draggableNodes:i}=F.useContext(sP),a=IM(n),o=IM(r==null?void 0:r.id);return F.useEffect(()=>{if(!t&&!n&&a&&o!=null){if(!QQ(a)||document.activeElement===a.target)return;const s=i.get(o);if(!s)return;const{activatorNode:u,node:l}=s;if(!u.current&&!l.current)return;requestAnimationFrame(()=>{for(const c of[u.current,l.current]){if(!c)continue;const f=Glt(c);if(f){f.focus();break}}})}},[n,t,i,o,a]),null}function oft(e,t){let{transform:r,...n}=t;return e!=null&&e.length?e.reduce((i,a)=>a({transform:i,...n}),r):r}function sft(e){return F.useMemo(()=>({draggable:{...t2.draggable,...e==null?void 0:e.draggable},droppable:{...t2.droppable,...e==null?void 0:e.droppable},dragOverlay:{...t2.dragOverlay,...e==null?void 0:e.dragOverlay}}),[e==null?void 0:e.draggable,e==null?void 0:e.droppable,e==null?void 0:e.dragOverlay])}function uft(e){let{activeNode:t,measure:r,initialRect:n,config:i=!0}=e;const a=F.useRef(!1),{x:o,y:s}=typeof i=="boolean"?{x:i,y:i}:i;sh(()=>{if(!o&&!s||!t){a.current=!1;return}if(a.current||!n)return;const l=t==null?void 0:t.node.current;if(!l||l.isConnected===!1)return;const c=r(l),f=Z_e(c,n);if(o||(f.x=0),s||(f.y=0),a.current=!0,Math.abs(f.x)>0||Math.abs(f.y)>0){const d=K_e(l);d&&d.scrollBy({top:f.y,left:f.x})}},[t,o,s,n,r])}const oSe=F.createContext({...uh,scaleX:1,scaleY:1});var Km;(function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"})(Km||(Km={}));const kmt=F.memo(function(t){var r,n,i,a;let{id:o,accessibility:s,autoScroll:u=!0,children:l,sensors:c=Jct,collisionDetection:f=dct,measuring:d,modifiers:h,...g}=t;const m=F.useReducer(ift,void 0,nft),[v,y]=m,[O,x]=nct(),[C,w]=F.useState(Km.Uninitialized),E=C===Km.Initialized,{draggable:{active:T,nodes:P,translate:L},droppable:{containers:N}}=v,B=T?P.get(T):null,j=F.useRef({initial:null,translated:null}),A=F.useMemo(()=>{var Dt;return T!=null?{id:T,data:(Dt=B==null?void 0:B.data)!=null?Dt:eft,rect:j}:null},[T,B]),H=F.useRef(null),[k,Q]=F.useState(null),[V,I]=F.useState(null),q=jS(g,Object.values(g)),M=Iw("DndDescribedBy",o),z=F.useMemo(()=>N.getEnabled(),[N]),G=sft(d),{droppableRects:K,measureDroppableContainers:te,measuringScheduled:ae}=Bct(z,{dragging:E,dependencies:[L.x,L.y],config:G.droppable}),ie=zct(P,T),Se=F.useMemo(()=>V?MM(V):null,[V]),pe=qt(),xe=qct(ie,G.draggable.measure);uft({activeNode:T?P.get(T):null,config:pe.layoutShiftCompensation,initialRect:xe,measure:G.draggable.measure});const Oe=fne(ie,G.draggable.measure,xe),me=fne(ie?ie.parentElement:null),ne=F.useRef({activatorEvent:null,active:null,activeNode:ie,collisionRect:null,collisions:null,droppableRects:K,draggableNodes:P,draggingNode:null,draggingNodeRect:null,droppableContainers:N,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),se=N.getNodeFor((r=ne.current.over)==null?void 0:r.id),X=Xct({measure:G.dragOverlay.measure}),re=(n=X.nodeRef.current)!=null?n:ie,he=E?(i=X.rect)!=null?i:Oe:null,ge=!!(X.nodeRef.current&&X.rect),le=jct(ge?null:Oe),ve=iSe(re?Oc(re):null),_e=Wct(E?se??ie:null),De=Yct(_e),Te=oft(h,{transform:{x:L.x-le.x,y:L.y-le.y,scaleX:1,scaleY:1},activatorEvent:V,active:A,activeNodeRect:Oe,containerNodeRect:me,draggingNodeRect:he,over:ne.current.over,overlayNodeRect:X.rect,scrollableAncestors:_e,scrollableAncestorRects:De,windowRect:ve}),ke=Se?Fb(Se,L):null,Be=Zct(_e),rt=hne(Be),Le=hne(Be,[Oe]),Ve=Fb(Te,rt),at=he?mct(he,Te):null,bt=A&&at?f({active:A,collisionRect:at,droppableRects:K,droppableContainers:z,pointerCoordinates:ke}):null,_t=W_e(bt,"id"),[pt,Mt]=F.useState(null),zt=ge?Te:Fb(Te,Le),Gt=hct(zt,(a=pt==null?void 0:pt.rect)!=null?a:null,Oe),Ie=F.useCallback((Dt,Ht)=>{let{sensor:pr,options:Tr}=Ht;if(H.current==null)return;const Yr=P.get(H.current);if(!Yr)return;const Ln=Dt.nativeEvent,Rn=new pr({active:H.current,activeNode:Yr,event:Ln,options:Tr,context:ne,onStart(We){const Je=H.current;if(Je==null)return;const lt=P.get(Je);if(!lt)return;const{onDragStart:St}=q.current,Ut={active:{id:Je,data:lt.data,rect:j}};dl.unstable_batchedUpdates(()=>{St==null||St(Ut),w(Km.Initializing),y({type:us.DragStart,initialCoordinates:We,active:Je}),O({type:"onDragStart",event:Ut})})},onMove(We){y({type:us.DragMove,coordinates:We})},onEnd:ze(us.DragEnd),onCancel:ze(us.DragCancel)});dl.unstable_batchedUpdates(()=>{Q(Rn),I(Dt.nativeEvent)});function ze(We){return async function(){const{active:lt,collisions:St,over:Ut,scrollAdjustedTranslate:Jt}=ne.current;let Rt=null;if(lt&&Jt){const{cancelDrop:Zt}=q.current;Rt={activatorEvent:Ln,active:lt,collisions:St,delta:Jt,over:Ut},We===us.DragEnd&&typeof Zt=="function"&&await Promise.resolve(Zt(Rt))&&(We=us.DragCancel)}H.current=null,dl.unstable_batchedUpdates(()=>{y({type:We}),w(Km.Uninitialized),Mt(null),Q(null),I(null);const Zt=We===us.DragEnd?"onDragEnd":"onDragCancel";if(Rt){const ar=q.current[Zt];ar==null||ar(Rt),O({type:Zt,event:Rt})}})}}},[P]),Ye=F.useCallback((Dt,Ht)=>(pr,Tr)=>{const Yr=pr.nativeEvent,Ln=P.get(Tr);if(H.current!==null||!Ln||Yr.dndKit||Yr.defaultPrevented)return;const Rn={active:Ln};Dt(pr,Ht.options,Rn)===!0&&(Yr.dndKit={capturedBy:Ht.sensor},H.current=Tr,Ie(pr,Ht))},[P,Ie]),ct=Qct(c,Ye);Kct(c),sh(()=>{Oe&&C===Km.Initializing&&w(Km.Initialized)},[Oe,C]),F.useEffect(()=>{const{onDragMove:Dt}=q.current,{active:Ht,activatorEvent:pr,collisions:Tr,over:Yr}=ne.current;if(!Ht||!pr)return;const Ln={active:Ht,activatorEvent:pr,collisions:Tr,delta:{x:Ve.x,y:Ve.y},over:Yr};dl.unstable_batchedUpdates(()=>{Dt==null||Dt(Ln),O({type:"onDragMove",event:Ln})})},[Ve.x,Ve.y]),F.useEffect(()=>{const{active:Dt,activatorEvent:Ht,collisions:pr,droppableContainers:Tr,scrollAdjustedTranslate:Yr}=ne.current;if(!Dt||H.current==null||!Ht||!Yr)return;const{onDragOver:Ln}=q.current,Rn=Tr.get(_t),ze=Rn&&Rn.rect.current?{id:Rn.id,rect:Rn.rect.current,data:Rn.data,disabled:Rn.disabled}:null,We={active:Dt,activatorEvent:Ht,collisions:pr,delta:{x:Yr.x,y:Yr.y},over:ze};dl.unstable_batchedUpdates(()=>{Mt(ze),Ln==null||Ln(We),O({type:"onDragOver",event:We})})},[_t]),sh(()=>{ne.current={activatorEvent:V,active:A,activeNode:ie,collisionRect:at,collisions:bt,droppableRects:K,draggableNodes:P,draggingNode:re,draggingNodeRect:he,droppableContainers:N,over:pt,scrollableAncestors:_e,scrollAdjustedTranslate:Ve},j.current={initial:he,translated:at}},[A,ie,bt,at,P,re,he,K,N,pt,_e,Ve]),Mct({...pe,delta:L,draggingRect:at,pointerCoordinates:ke,scrollableAncestors:_e,scrollableAncestorRects:De});const mt=F.useMemo(()=>({active:A,activeNode:ie,activeNodeRect:Oe,activatorEvent:V,collisions:bt,containerNodeRect:me,dragOverlay:X,draggableNodes:P,droppableContainers:N,droppableRects:K,over:pt,measureDroppableContainers:te,scrollableAncestors:_e,scrollableAncestorRects:De,measuringConfiguration:G,measuringScheduled:ae,windowRect:ve}),[A,ie,Oe,V,bt,me,X,P,N,K,pt,te,_e,De,G,ae,ve]),Nt=F.useMemo(()=>({activatorEvent:V,activators:ct,active:A,activeNodeRect:Oe,ariaDescribedById:{draggable:M},dispatch:y,draggableNodes:P,over:pt,measureDroppableContainers:te}),[V,ct,A,Oe,y,M,P,pt,te]);return $e.createElement(j_e.Provider,{value:x},$e.createElement(sP.Provider,{value:Nt},$e.createElement(aSe.Provider,{value:mt},$e.createElement(oSe.Provider,{value:Gt},l)),$e.createElement(aft,{disabled:(s==null?void 0:s.restoreFocus)===!1})),$e.createElement(oct,{...s,hiddenTextDescribedById:M}));function qt(){const Dt=(k==null?void 0:k.autoScrollEnabled)===!1,Ht=typeof u=="object"?u.enabled===!1:u===!1,pr=E&&!Dt&&!Ht;return typeof u=="object"?{...u,enabled:pr}:{enabled:pr}}}),lft=F.createContext(null),pne="button",cft="Droppable";function fft(e){let{id:t,data:r,disabled:n=!1,attributes:i}=e;const a=Iw(cft),{activators:o,activatorEvent:s,active:u,activeNodeRect:l,ariaDescribedById:c,draggableNodes:f,over:d}=F.useContext(sP),{role:h=pne,roleDescription:g="draggable",tabIndex:m=0}=i??{},v=(u==null?void 0:u.id)===t,y=F.useContext(v?oSe:lft),[O,x]=Z4(),[C,w]=Z4(),E=Hct(o,t),T=jS(r);sh(()=>(f.set(t,{id:t,key:a,node:O,activatorNode:C,data:T}),()=>{const L=f.get(t);L&&L.key===a&&f.delete(t)}),[f,t]);const P=F.useMemo(()=>({role:h,tabIndex:m,"aria-disabled":n,"aria-pressed":v&&h===pne?!0:void 0,"aria-roledescription":g,"aria-describedby":c.draggable}),[n,h,m,v,g,c.draggable]);return{active:u,activatorEvent:s,activeNodeRect:l,attributes:P,isDragging:v,listeners:n?void 0:E,node:O,over:d,setNodeRef:x,setActivatorNodeRef:w,transform:y}}function dft(){return F.useContext(aSe)}const hft="Droppable",pft={timeout:25};function mft(e){let{data:t,disabled:r=!1,id:n,resizeObserverConfig:i}=e;const a=Iw(hft),{active:o,dispatch:s,over:u,measureDroppableContainers:l}=F.useContext(sP),c=F.useRef({disabled:r}),f=F.useRef(!1),d=F.useRef(null),h=F.useRef(null),{disabled:g,updateMeasurementsFor:m,timeout:v}={...pft,...i},y=jS(m??n),O=F.useCallback(()=>{if(!f.current){f.current=!0;return}h.current!=null&&clearTimeout(h.current),h.current=setTimeout(()=>{l(Array.isArray(y.current)?y.current:[y.current]),h.current=null},v)},[v]),x=oP({callback:O,disabled:g||!o}),C=F.useCallback((P,L)=>{x&&(L&&(x.unobserve(L),f.current=!1),P&&x.observe(P))},[x]),[w,E]=Z4(C),T=jS(t);return F.useEffect(()=>{!x||!w.current||(x.disconnect(),f.current=!1,x.observe(w.current))},[w,x]),sh(()=>(s({type:us.RegisterDroppable,element:{id:n,key:a,disabled:r,node:w,rect:d,data:T}}),()=>s({type:us.UnregisterDroppable,key:a,id:n})),[n]),F.useEffect(()=>{r!==c.current.disabled&&(s({type:us.SetDroppableDisabled,id:n,key:a,disabled:r}),c.current.disabled=r)},[n,a,r,s]),{active:o,rect:d,isOver:(u==null?void 0:u.id)===n,node:w,over:u,setNodeRef:E}}function sSe(e,t,r){const n=e.slice();return n.splice(r<0?n.length+r:r,0,n.splice(t,1)[0]),n}function gft(e,t){return e.reduce((r,n,i)=>{const a=t.get(n);return a&&(r[i]=a),r},Array(e.length))}function SE(e){return e!==null&&e>=0}function vft(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}function yft(e){return typeof e=="boolean"?{draggable:e,droppable:e}:e}const uSe=e=>{let{rects:t,activeIndex:r,overIndex:n,index:i}=e;const a=sSe(t,n,r),o=t[i],s=a[i];return!s||!o?null:{x:s.left-o.left,y:s.top-o.top,scaleX:s.width/o.width,scaleY:s.height/o.height}},lSe="Sortable",cSe=$e.createContext({activeIndex:-1,containerId:lSe,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:uSe,disabled:{draggable:!1,droppable:!1}});function Tmt(e){let{children:t,id:r,items:n,strategy:i=uSe,disabled:a=!1}=e;const{active:o,dragOverlay:s,droppableRects:u,over:l,measureDroppableContainers:c}=dft(),f=Iw(lSe,r),d=s.rect!==null,h=F.useMemo(()=>n.map(E=>typeof E=="object"&&"id"in E?E.id:E),[n]),g=o!=null,m=o?h.indexOf(o.id):-1,v=l?h.indexOf(l.id):-1,y=F.useRef(h),O=!vft(h,y.current),x=v!==-1&&m===-1||O,C=yft(a);sh(()=>{O&&g&&c(h)},[O,h,g,c]),F.useEffect(()=>{y.current=h},[h]);const w=F.useMemo(()=>({activeIndex:m,containerId:f,disabled:C,disableTransforms:x,items:h,overIndex:v,useDragOverlay:d,sortedRects:gft(h,u),strategy:i}),[m,f,C.draggable,C.droppable,x,h,v,u,d,i]);return $e.createElement(cSe.Provider,{value:w},t)}const bft=e=>{let{id:t,items:r,activeIndex:n,overIndex:i}=e;return sSe(r,n,i).indexOf(t)},Oft=e=>{let{containerId:t,isSorting:r,wasDragging:n,index:i,items:a,newIndex:o,previousItems:s,previousContainerId:u,transition:l}=e;return!l||!n||s!==a&&i===o?!1:r?!0:o!==i&&t===u},xft={duration:200,easing:"ease"},fSe="transform",_ft=K4.Transition.toString({property:fSe,duration:0,easing:"linear"}),Sft={roleDescription:"sortable"};function wft(e){let{disabled:t,index:r,node:n,rect:i}=e;const[a,o]=F.useState(null),s=F.useRef(r);return sh(()=>{if(!t&&r!==s.current&&n.current){const u=i.current;if(u){const l=NO(n.current,{ignoreTransform:!0}),c={x:u.left-l.left,y:u.top-l.top,scaleX:u.width/l.width,scaleY:u.height/l.height};(c.x||c.y)&&o(c)}}r!==s.current&&(s.current=r)},[t,r,n,i]),F.useEffect(()=>{a&&o(null)},[a]),a}function Amt(e){let{animateLayoutChanges:t=Oft,attributes:r,disabled:n,data:i,getNewIndex:a=bft,id:o,strategy:s,resizeObserverConfig:u,transition:l=xft}=e;const{items:c,containerId:f,activeIndex:d,disabled:h,disableTransforms:g,sortedRects:m,overIndex:v,useDragOverlay:y,strategy:O}=F.useContext(cSe),x=Eft(n,h),C=c.indexOf(o),w=F.useMemo(()=>({sortable:{containerId:f,index:C,items:c},...i}),[f,i,C,c]),E=F.useMemo(()=>c.slice(c.indexOf(o)),[c,o]),{rect:T,node:P,isOver:L,setNodeRef:N}=mft({id:o,data:w,disabled:x.droppable,resizeObserverConfig:{updateMeasurementsFor:E,...u}}),{active:B,activatorEvent:j,activeNodeRect:A,attributes:H,setNodeRef:k,listeners:Q,isDragging:V,over:I,setActivatorNodeRef:q,transform:M}=fft({id:o,data:w,attributes:{...Sft,...r},disabled:x.draggable}),z=Zlt(N,k),G=!!B,K=G&&!g&&SE(d)&&SE(v),te=!y&&V,ae=te&&K?M:null,Se=K?ae??(s??O)({rects:m,activeNodeRect:A,activeIndex:d,overIndex:v,index:C}):null,pe=SE(d)&&SE(v)?a({id:o,items:c,activeIndex:d,overIndex:v}):C,xe=B==null?void 0:B.id,Oe=F.useRef({activeId:xe,items:c,newIndex:pe,containerId:f}),me=c!==Oe.current.items,ne=t({active:B,containerId:f,isDragging:V,isSorting:G,id:o,index:C,items:c,newIndex:Oe.current.newIndex,previousItems:Oe.current.items,previousContainerId:Oe.current.containerId,transition:l,wasDragging:Oe.current.activeId!=null}),se=wft({disabled:!ne,index:C,node:P,rect:T});return F.useEffect(()=>{G&&Oe.current.newIndex!==pe&&(Oe.current.newIndex=pe),f!==Oe.current.containerId&&(Oe.current.containerId=f),c!==Oe.current.items&&(Oe.current.items=c)},[G,pe,f,c]),F.useEffect(()=>{if(xe===Oe.current.activeId)return;if(xe&&!Oe.current.activeId){Oe.current.activeId=xe;return}const re=setTimeout(()=>{Oe.current.activeId=xe},50);return()=>clearTimeout(re)},[xe]),{active:B,activeIndex:d,attributes:H,data:w,rect:T,index:C,newIndex:pe,items:c,isOver:L,isSorting:G,isDragging:V,listeners:Q,node:P,overIndex:v,over:I,setNodeRef:z,setActivatorNodeRef:q,setDroppableNodeRef:N,setDraggableNodeRef:k,transform:se??Se,transition:X()};function X(){if(se||me&&Oe.current.newIndex===C)return _ft;if(!(te&&!QQ(j)||!l)&&(G||ne))return K4.Transition.toString({...l,property:fSe})}}function Eft(e,t){var r,n;return typeof e=="boolean"?{draggable:e,droppable:!1}:{draggable:(r=e==null?void 0:e.draggable)!=null?r:t.draggable,droppable:(n=e==null?void 0:e.droppable)!=null?n:t.droppable}}function G4(e){if(!e)return!1;const t=e.data.current;return!!(t&&"sortable"in t&&typeof t.sortable=="object"&&"containerId"in t.sortable&&"items"in t.sortable&&"index"in t.sortable)}const $ft=[Xn.Down,Xn.Right,Xn.Up,Xn.Left],Fmt=(e,t)=>{let{context:{active:r,collisionRect:n,droppableRects:i,droppableContainers:a,over:o,scrollableAncestors:s}}=t;if($ft.includes(e.code)){if(e.preventDefault(),!r||!n)return;const u=[];a.getEnabled().forEach(f=>{if(!f||f!=null&&f.disabled)return;const d=i.get(f.id);if(d)switch(e.code){case Xn.Down:n.top<d.top&&u.push(f);break;case Xn.Up:n.top>d.top&&u.push(f);break;case Xn.Left:n.left>d.left&&u.push(f);break;case Xn.Right:n.left<d.left&&u.push(f);break}});const l=cct({collisionRect:n,droppableRects:i,droppableContainers:u});let c=W_e(l,"id");if(c===(o==null?void 0:o.id)&&l.length>1&&(c=l[1].id),c!=null){const f=a.get(r.id),d=a.get(c),h=d?i.get(d.id):null,g=d==null?void 0:d.node.current;if(g&&h&&f&&d){const v=aP(g).some((E,T)=>s[T]!==E),y=dSe(f,d),O=Cft(f,d),x=v||!y?{x:0,y:0}:{x:O?n.width-h.width:0,y:O?n.height-h.height:0},C={x:h.left,y:h.top};return x.x&&x.y?C:WS(C,x)}}}};function dSe(e,t){return!G4(e)||!G4(t)?!1:e.data.current.sortable.containerId===t.data.current.sortable.containerId}function Cft(e,t){return!G4(e)||!G4(t)||!dSe(e,t)?!1:e.data.current.sortable.index<t.data.current.sortable.index}var mne=Object.prototype.hasOwnProperty;function gne(e,t,r){for(r of e.keys())if(z_(r,t))return r}function z_(e,t){var r,n,i;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((n=e.length)===t.length)for(;n--&&z_(e[n],t[n]););return n===-1}if(r===Set){if(e.size!==t.size)return!1;for(n of e)if(i=n,i&&typeof i=="object"&&(i=gne(t,i),!i)||!t.has(i))return!1;return!0}if(r===Map){if(e.size!==t.size)return!1;for(n of e)if(i=n[0],i&&typeof i=="object"&&(i=gne(t,i),!i)||!z_(n[1],t.get(i)))return!1;return!0}if(r===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(r===DataView){if((n=e.byteLength)===t.byteLength)for(;n--&&e.getInt8(n)===t.getInt8(n););return n===-1}if(ArrayBuffer.isView(e)){if((n=e.byteLength)===t.byteLength)for(;n--&&e[n]===t[n];);return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(mne.call(e,r)&&++n&&!mne.call(t,r)||!(r in t)||!z_(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}function Pft(e){var t=F.useRef(e),r=F.useRef(0);return z_(e,t.current)||(t.current=e,r.current+=1),F.useMemo(function(){return t.current},[r.current])}function Imt(e,t){return F.useEffect(e,Pft(t))}export{Ha as $,Oht as A,Cht as B,uht as C,fve as D,wPe as E,zpt as F,P9e as G,Hj as H,lpt as I,Gft as J,opt as K,OS as L,spt as M,zht as N,upt as O,kft as P,Wht as Q,$e as R,Lht as S,w9e as T,Qht as U,jht as V,Xht as W,tpt as X,Xf as Y,nMe as Z,Vht as _,ght as a,wdt as a$,qht as a0,fpt as a1,_pt as a2,Opt as a3,xpt as a4,Ght as a5,cpt as a6,yht as a7,_ve as a8,ept as a9,udt as aA,Udt as aB,rz as aC,Uht as aD,ULe as aE,Gpt as aF,Hpt as aG,Kpt as aH,Wpt as aI,Ypt as aJ,qLe as aK,IL as aL,Rpt as aM,mpt as aN,Bdt as aO,rdt as aP,$mt as aQ,Cmt as aR,znt as aS,hnt as aT,Edt as aU,Nht as aV,wue as aW,jpt as aX,Emt as aY,Qpt as aZ,oC as a_,Jht as aa,rpt as ab,npt as ac,Upt as ad,nw as ae,ipt as af,apt as ag,Bpt as ah,Bht as ai,Mft as aj,dpt as ak,hpt as al,wpt as am,Spt as an,Kht as ao,Yht as ap,Hht as aq,Zht as ar,K$ as as,Jf as at,td as au,gpt as av,vpt as aw,ypt as ax,bpt as ay,ppt as az,M6e as b,odt as b$,em as b0,$pt as b1,Ept as b2,oht as b3,Jdt as b4,Q$ as b5,Ydt as b6,Pmt as b7,tdt as b8,edt as b9,Tpt as bA,Nnt as bB,Lpt as bC,Rht as bD,kht as bE,Tht as bF,Iht as bG,Rmt as bH,Dmt as bI,Tmt as bJ,sSe as bK,kmt as bL,Fmt as bM,tSe as bN,rSe as bO,Amt as bP,K4 as bQ,Apt as bR,Cpt as bS,Mht as bT,ldt as bU,Imt as bV,Fpt as bW,Zpt as bX,aLe as bY,j6e as bZ,dht as b_,aht as ba,Kdt as bb,eht as bc,Xdt as bd,rht as be,nht as bf,sht as bg,iht as bh,tht as bi,Fne as bj,Pht as bk,Fht as bl,Dht as bm,Aht as bn,kpt as bo,qpt as bp,Dpt as bq,v0t as br,y0t as bs,EGe as bt,Qdt as bu,wmt as bv,Ipt as bw,Ppt as bx,S0t as by,hht as bz,pht as c,Tdt as c$,adt as c0,Nft as c1,Vj as c2,Vft as c3,rb as c4,pp as c5,ci as c6,idt as c7,Idt as c8,G0 as c9,bdt as cA,b2 as cB,Cdt as cC,Uft as cD,pdt as cE,ydt as cF,aRe as cG,mdt as cH,Z_ as cI,gdt as cJ,nRe as cK,oRe as cL,kDe as cM,Zft as cN,Yft as cO,vse as cP,gse as cQ,Ndt as cR,Mdt as cS,N4e as cT,kdt as cU,Rdt as cV,Cu as cW,Sdt as cX,Fdt as cY,OPe as cZ,ACe as c_,K0 as ca,Xft as cb,Bft as cc,ndt as cd,PN as ce,Rie as cf,moe as cg,hPe as ch,jft as ci,_dt as cj,Odt as ck,zi as cl,uI as cm,zft as cn,xdt as co,Wft as cp,Kft as cq,Ddt as cr,$dt as cs,pN as ct,y5e as cu,vle as cv,Hft as cw,pae as cx,vdt as cy,Pdt as cz,lht as d,rmt as d$,Adt as d0,Jft as d1,Sht as d2,wht as d3,Eht as d4,_y as d5,U2 as d6,oa as d7,dc as d8,su as d9,b0t as dA,x0t as dB,_0t as dC,O0t as dD,w0t as dE,fN as dF,N0t as dG,C0t as dH,M0t as dI,I0t as dJ,F0t as dK,A0t as dL,T0t as dM,k0t as dN,_Xe as dO,X0t as dP,J0t as dQ,emt as dR,omt as dS,K0t as dT,BX as dU,G0t as dV,Y0t as dW,LS as dX,H0t as dY,imt as dZ,nmt as d_,h9 as da,MFe as db,ah as dc,jFe as dd,$ht as de,Jpt as df,e0t as dg,Xve as dh,VBe as di,Xpt as dj,t0t as dk,Ma as dl,RN as dm,ug as dn,oh as dp,i0t as dq,af as dr,s0t as ds,u0t as dt,n0t as du,l0t as dv,xht as dw,c0t as dx,$0t as dy,E0t as dz,K6e as e,amt as e0,eQ as e1,NOe as e2,KJe as e3,tmt as e4,smt as e5,P0t as e6,xXe as e7,W0t as e8,Z0t as e9,Mpt as eA,Vpt as eB,pLe as eC,Fft as eD,j0t as ea,V0t as eb,U0t as ec,q0t as ed,rOe as ee,B0t as ef,R0t as eg,D0t as eh,L0t as ei,Q0t as ej,z0t as ek,fQ as el,umt as em,lmt as en,cmt as eo,fmt as ep,dmt as eq,mmt as er,pmt as es,vmt as et,gmt as eu,hmt as ev,ymt as ew,Gdt as ex,o0t as ey,Npt as ez,Q6e as f,mht as g,cht as h,fht as i,Tft as j,vht as k,Aft as l,Vdt as m,jdt as n,Ift as o,Wdt as p,XAe as q,F as r,zZ as s,bht as t,Ldt as u,zdt as v,qdt as w,v9 as x,rfe as y,st as z};
905
+ `},act={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:r}=e;return r?"Draggable item "+t.id+" was moved over droppable area "+r.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:r}=e;return r?"Draggable item "+t.id+" was dropped over droppable area "+r.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function oct(e){let{announcements:t=act,container:r,hiddenTextDescribedById:n,screenReaderInstructions:i=ict}=e;const{announce:a,announcement:o}=tct(),s=Iw("DndLiveRegion"),[u,l]=F.useState(!1);if(F.useEffect(()=>{l(!0)},[]),rct(F.useMemo(()=>({onDragStart(f){let{active:d}=f;a(t.onDragStart({active:d}))},onDragMove(f){let{active:d,over:h}=f;t.onDragMove&&a(t.onDragMove({active:d,over:h}))},onDragOver(f){let{active:d,over:h}=f;a(t.onDragOver({active:d,over:h}))},onDragEnd(f){let{active:d,over:h}=f;a(t.onDragEnd({active:d,over:h}))},onDragCancel(f){let{active:d,over:h}=f;a(t.onDragCancel({active:d,over:h}))}}),[a,t])),!u)return null;const c=$e.createElement($e.Fragment,null,$e.createElement(Jlt,{id:n,value:i.draggable}),$e.createElement(ect,{id:s,announcement:o}));return r?dl.createPortal(c,r):c}var us;(function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"})(us||(us={}));function H4(){}function Dmt(e,t){return F.useMemo(()=>({sensor:e,options:t??{}}),[e,t])}function Rmt(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return F.useMemo(()=>[...t].filter(n=>n!=null),[...t])}const uh=Object.freeze({x:0,y:0});function sct(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function uct(e,t){let{data:{value:r}}=e,{data:{value:n}}=t;return r-n}function lct(e,t){let{data:{value:r}}=e,{data:{value:n}}=t;return n-r}function ane(e){let{left:t,top:r,height:n,width:i}=e;return[{x:t,y:r},{x:t+i,y:r},{x:t,y:r+n},{x:t+i,y:r+n}]}function W_e(e,t){if(!e||e.length===0)return null;const[r]=e;return r[t]}const cct=e=>{let{collisionRect:t,droppableRects:r,droppableContainers:n}=e;const i=ane(t),a=[];for(const o of n){const{id:s}=o,u=r.get(s);if(u){const l=ane(u),c=i.reduce((d,h,g)=>d+sct(l[g],h),0),f=Number((c/4).toFixed(4));a.push({id:s,data:{droppableContainer:o,value:f}})}}return a.sort(uct)};function fct(e,t){const r=Math.max(t.top,e.top),n=Math.max(t.left,e.left),i=Math.min(t.left+t.width,e.left+e.width),a=Math.min(t.top+t.height,e.top+e.height),o=i-n,s=a-r;if(n<i&&r<a){const u=t.width*t.height,l=e.width*e.height,c=o*s,f=c/(u+l-c);return Number(f.toFixed(4))}return 0}const dct=e=>{let{collisionRect:t,droppableRects:r,droppableContainers:n}=e;const i=[];for(const a of n){const{id:o}=a,s=r.get(o);if(s){const u=fct(s,t);u>0&&i.push({id:o,data:{droppableContainer:a,value:u}})}}return i.sort(lct)};function hct(e,t,r){return{...e,scaleX:t&&r?t.width/r.width:1,scaleY:t&&r?t.height/r.height:1}}function Z_e(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:uh}function pct(e){return function(r){for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];return i.reduce((o,s)=>({...o,top:o.top+e*s.y,bottom:o.bottom+e*s.y,left:o.left+e*s.x,right:o.right+e*s.x}),{...r})}}const mct=pct(1);function gct(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}else if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}function vct(e,t,r){const n=gct(t);if(!n)return e;const{scaleX:i,scaleY:a,x:o,y:s}=n,u=e.left-o-(1-i)*parseFloat(r),l=e.top-s-(1-a)*parseFloat(r.slice(r.indexOf(" ")+1)),c=i?e.width/i:e.width,f=a?e.height/a:e.height;return{width:c,height:f,top:l,right:u+c,bottom:l+f,left:u}}const yct={ignoreTransform:!1};function NO(e,t){t===void 0&&(t=yct);let r=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:l,transformOrigin:c}=Oc(e).getComputedStyle(e);l&&(r=vct(r,l,c))}const{top:n,left:i,width:a,height:o,bottom:s,right:u}=r;return{top:n,left:i,width:a,height:o,bottom:s,right:u}}function one(e){return NO(e,{ignoreTransform:!0})}function bct(e){const t=e.innerWidth,r=e.innerHeight;return{top:0,left:0,right:t,bottom:r,width:t,height:r}}function Oct(e,t){return t===void 0&&(t=Oc(e).getComputedStyle(e)),t.position==="fixed"}function xct(e,t){t===void 0&&(t=Oc(e).getComputedStyle(e));const r=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(i=>{const a=t[i];return typeof a=="string"?r.test(a):!1})}function aP(e,t){const r=[];function n(i){if(t!=null&&r.length>=t||!i)return r;if(LQ(i)&&i.scrollingElement!=null&&!r.includes(i.scrollingElement))return r.push(i.scrollingElement),r;if(!Aw(i)||U_e(i)||r.includes(i))return r;const a=Oc(e).getComputedStyle(i);return i!==e&&xct(i,a)&&r.push(i),Oct(i,a)?r:n(i.parentNode)}return e?n(e):r}function K_e(e){const[t]=aP(e,1);return t??null}function G7(e){return!iP||!e?null:IO(e)?e:NQ(e)?LQ(e)||e===MO(e).scrollingElement?window:Aw(e)?e:null:null}function H_e(e){return IO(e)?e.scrollX:e.scrollLeft}function Y_e(e){return IO(e)?e.scrollY:e.scrollTop}function NM(e){return{x:H_e(e),y:Y_e(e)}}var Cs;(function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"})(Cs||(Cs={}));function G_e(e){return!iP||!e?!1:e===document.scrollingElement}function X_e(e){const t={x:0,y:0},r=G_e(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},n={x:e.scrollWidth-r.width,y:e.scrollHeight-r.height},i=e.scrollTop<=t.y,a=e.scrollLeft<=t.x,o=e.scrollTop>=n.y,s=e.scrollLeft>=n.x;return{isTop:i,isLeft:a,isBottom:o,isRight:s,maxScroll:n,minScroll:t}}const _ct={x:.2,y:.2};function Sct(e,t,r,n,i){let{top:a,left:o,right:s,bottom:u}=r;n===void 0&&(n=10),i===void 0&&(i=_ct);const{isTop:l,isBottom:c,isLeft:f,isRight:d}=X_e(e),h={x:0,y:0},g={x:0,y:0},m={height:t.height*i.y,width:t.width*i.x};return!l&&a<=t.top+m.height?(h.y=Cs.Backward,g.y=n*Math.abs((t.top+m.height-a)/m.height)):!c&&u>=t.bottom-m.height&&(h.y=Cs.Forward,g.y=n*Math.abs((t.bottom-m.height-u)/m.height)),!d&&s>=t.right-m.width?(h.x=Cs.Forward,g.x=n*Math.abs((t.right-m.width-s)/m.width)):!f&&o<=t.left+m.width&&(h.x=Cs.Backward,g.x=n*Math.abs((t.left+m.width-o)/m.width)),{direction:h,speed:g}}function wct(e){if(e===document.scrollingElement){const{innerWidth:a,innerHeight:o}=window;return{top:0,left:0,right:a,bottom:o,width:a,height:o}}const{top:t,left:r,right:n,bottom:i}=e.getBoundingClientRect();return{top:t,left:r,right:n,bottom:i,width:e.clientWidth,height:e.clientHeight}}function J_e(e){return e.reduce((t,r)=>Fb(t,NM(r)),uh)}function Ect(e){return e.reduce((t,r)=>t+H_e(r),0)}function $ct(e){return e.reduce((t,r)=>t+Y_e(r),0)}function Cct(e,t){if(t===void 0&&(t=NO),!e)return;const{top:r,left:n,bottom:i,right:a}=t(e);K_e(e)&&(i<=0||a<=0||r>=window.innerHeight||n>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const Pct=[["x",["left","right"],Ect],["y",["top","bottom"],$ct]];class BQ{constructor(t,r){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const n=aP(r),i=J_e(n);this.rect={...t},this.width=t.width,this.height=t.height;for(const[a,o,s]of Pct)for(const u of o)Object.defineProperty(this,u,{get:()=>{const l=s(n),c=i[a]-l;return this.rect[u]+c},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class M_{constructor(t){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(r=>{var n;return(n=this.target)==null?void 0:n.removeEventListener(...r)})},this.target=t}add(t,r,n){var i;(i=this.target)==null||i.addEventListener(t,r,n),this.listeners.push([t,r,n])}}function Dct(e){const{EventTarget:t}=Oc(e);return e instanceof t?e:MO(e)}function X7(e,t){const r=Math.abs(e.x),n=Math.abs(e.y);return typeof t=="number"?Math.sqrt(r**2+n**2)>t:"x"in t&&"y"in t?r>t.x&&n>t.y:"x"in t?r>t.x:"y"in t?n>t.y:!1}var If;(function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"})(If||(If={}));function sne(e){e.preventDefault()}function Rct(e){e.stopPropagation()}var Xn;(function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter"})(Xn||(Xn={}));const eSe={start:[Xn.Space,Xn.Enter],cancel:[Xn.Esc],end:[Xn.Space,Xn.Enter]},kct=(e,t)=>{let{currentCoordinates:r}=t;switch(e.code){case Xn.Right:return{...r,x:r.x+25};case Xn.Left:return{...r,x:r.x-25};case Xn.Down:return{...r,y:r.y+25};case Xn.Up:return{...r,y:r.y-25}}};class tSe{constructor(t){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=t;const{event:{target:r}}=t;this.props=t,this.listeners=new M_(MO(r)),this.windowListeners=new M_(Oc(r)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(If.Resize,this.handleCancel),this.windowListeners.add(If.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(If.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:t,onStart:r}=this.props,n=t.node.current;n&&Cct(n),r(uh)}handleKeyDown(t){if(QQ(t)){const{active:r,context:n,options:i}=this.props,{keyboardCodes:a=eSe,coordinateGetter:o=kct,scrollBehavior:s="smooth"}=i,{code:u}=t;if(a.end.includes(u)){this.handleEnd(t);return}if(a.cancel.includes(u)){this.handleCancel(t);return}const{collisionRect:l}=n.current,c=l?{x:l.left,y:l.top}:uh;this.referenceCoordinates||(this.referenceCoordinates=c);const f=o(t,{active:r,context:n.current,currentCoordinates:c});if(f){const d=WS(f,c),h={x:0,y:0},{scrollableAncestors:g}=n.current;for(const m of g){const v=t.code,{isTop:y,isRight:O,isLeft:x,isBottom:C,maxScroll:w,minScroll:E}=X_e(m),T=wct(m),P={x:Math.min(v===Xn.Right?T.right-T.width/2:T.right,Math.max(v===Xn.Right?T.left:T.left+T.width/2,f.x)),y:Math.min(v===Xn.Down?T.bottom-T.height/2:T.bottom,Math.max(v===Xn.Down?T.top:T.top+T.height/2,f.y))},L=v===Xn.Right&&!O||v===Xn.Left&&!x,N=v===Xn.Down&&!C||v===Xn.Up&&!y;if(L&&P.x!==f.x){const B=m.scrollLeft+d.x,j=v===Xn.Right&&B<=w.x||v===Xn.Left&&B>=E.x;if(j&&!d.y){m.scrollTo({left:B,behavior:s});return}j?h.x=m.scrollLeft-B:h.x=v===Xn.Right?m.scrollLeft-w.x:m.scrollLeft-E.x,h.x&&m.scrollBy({left:-h.x,behavior:s});break}else if(N&&P.y!==f.y){const B=m.scrollTop+d.y,j=v===Xn.Down&&B<=w.y||v===Xn.Up&&B>=E.y;if(j&&!d.x){m.scrollTo({top:B,behavior:s});return}j?h.y=m.scrollTop-B:h.y=v===Xn.Down?m.scrollTop-w.y:m.scrollTop-E.y,h.y&&m.scrollBy({top:-h.y,behavior:s});break}}this.handleMove(t,Fb(WS(f,this.referenceCoordinates),h))}}}handleMove(t,r){const{onMove:n}=this.props;t.preventDefault(),n(r)}handleEnd(t){const{onEnd:r}=this.props;t.preventDefault(),this.detach(),r()}handleCancel(t){const{onCancel:r}=this.props;t.preventDefault(),this.detach(),r()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}tSe.activators=[{eventName:"onKeyDown",handler:(e,t,r)=>{let{keyboardCodes:n=eSe,onActivation:i}=t,{active:a}=r;const{code:o}=e.nativeEvent;if(n.start.includes(o)){const s=a.activatorNode.current;return s&&e.target!==s?!1:(e.preventDefault(),i==null||i({event:e.nativeEvent}),!0)}return!1}}];function une(e){return!!(e&&"distance"in e)}function lne(e){return!!(e&&"delay"in e)}class qQ{constructor(t,r,n){var i;n===void 0&&(n=Dct(t.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=t,this.events=r;const{event:a}=t,{target:o}=a;this.props=t,this.events=r,this.document=MO(o),this.documentListeners=new M_(this.document),this.listeners=new M_(n),this.windowListeners=new M_(Oc(o)),this.initialCoordinates=(i=MM(a))!=null?i:uh,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:t,props:{options:{activationConstraint:r,bypassActivationConstraint:n}}}=this;if(this.listeners.add(t.move.name,this.handleMove,{passive:!1}),this.listeners.add(t.end.name,this.handleEnd),this.windowListeners.add(If.Resize,this.handleCancel),this.windowListeners.add(If.DragStart,sne),this.windowListeners.add(If.VisibilityChange,this.handleCancel),this.windowListeners.add(If.ContextMenu,sne),this.documentListeners.add(If.Keydown,this.handleKeydown),r){if(n!=null&&n({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(lne(r)){this.timeoutId=setTimeout(this.handleStart,r.delay);return}if(une(r))return}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){const{initialCoordinates:t}=this,{onStart:r}=this.props;t&&(this.activated=!0,this.documentListeners.add(If.Click,Rct,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(If.SelectionChange,this.removeTextSelection),r(t))}handleMove(t){var r;const{activated:n,initialCoordinates:i,props:a}=this,{onMove:o,options:{activationConstraint:s}}=a;if(!i)return;const u=(r=MM(t))!=null?r:uh,l=WS(i,u);if(!n&&s){if(une(s)){if(s.tolerance!=null&&X7(l,s.tolerance))return this.handleCancel();if(X7(l,s.distance))return this.handleStart()}return lne(s)&&X7(l,s.tolerance)?this.handleCancel():void 0}t.cancelable&&t.preventDefault(),o(u)}handleEnd(){const{onEnd:t}=this.props;this.detach(),t()}handleCancel(){const{onCancel:t}=this.props;this.detach(),t()}handleKeydown(t){t.code===Xn.Esc&&this.handleCancel()}removeTextSelection(){var t;(t=this.document.getSelection())==null||t.removeAllRanges()}}const Tct={move:{name:"pointermove"},end:{name:"pointerup"}};class rSe extends qQ{constructor(t){const{event:r}=t,n=MO(r.target);super(t,Tct,n)}}rSe.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:n}=t;return!r.isPrimary||r.button!==0?!1:(n==null||n({event:r}),!0)}}];const Act={move:{name:"mousemove"},end:{name:"mouseup"}};var LM;(function(e){e[e.RightClick=2]="RightClick"})(LM||(LM={}));class Fct extends qQ{constructor(t){super(t,Act,MO(t.event.target))}}Fct.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:n}=t;return r.button===LM.RightClick?!1:(n==null||n({event:r}),!0)}}];const J7={move:{name:"touchmove"},end:{name:"touchend"}};class Ict extends qQ{constructor(t){super(t,J7)}static setup(){return window.addEventListener(J7.move.name,t,{capture:!1,passive:!1}),function(){window.removeEventListener(J7.move.name,t)};function t(){}}}Ict.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:n}=t;const{touches:i}=r;return i.length>1?!1:(n==null||n({event:r}),!0)}}];var N_;(function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"})(N_||(N_={}));var Y4;(function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"})(Y4||(Y4={}));function Mct(e){let{acceleration:t,activator:r=N_.Pointer,canScroll:n,draggingRect:i,enabled:a,interval:o=5,order:s=Y4.TreeOrder,pointerCoordinates:u,scrollableAncestors:l,scrollableAncestorRects:c,delta:f,threshold:d}=e;const h=Lct({delta:f,disabled:!a}),[g,m]=Klt(),v=F.useRef({x:0,y:0}),y=F.useRef({x:0,y:0}),O=F.useMemo(()=>{switch(r){case N_.Pointer:return u?{top:u.y,bottom:u.y,left:u.x,right:u.x}:null;case N_.DraggableRect:return i}},[r,i,u]),x=F.useRef(null),C=F.useCallback(()=>{const E=x.current;if(!E)return;const T=v.current.x*y.current.x,P=v.current.y*y.current.y;E.scrollBy(T,P)},[]),w=F.useMemo(()=>s===Y4.TreeOrder?[...l].reverse():l,[s,l]);F.useEffect(()=>{if(!a||!l.length||!O){m();return}for(const E of w){if((n==null?void 0:n(E))===!1)continue;const T=l.indexOf(E),P=c[T];if(!P)continue;const{direction:L,speed:N}=Sct(E,P,O,t,d);for(const B of["x","y"])h[B][L[B]]||(N[B]=0,L[B]=0);if(N.x>0||N.y>0){m(),x.current=E,g(C,o),v.current=N,y.current=L;return}}v.current={x:0,y:0},y.current={x:0,y:0},m()},[t,C,n,m,a,o,JSON.stringify(O),JSON.stringify(h),g,l,w,c,JSON.stringify(d)])}const Nct={x:{[Cs.Backward]:!1,[Cs.Forward]:!1},y:{[Cs.Backward]:!1,[Cs.Forward]:!1}};function Lct(e){let{delta:t,disabled:r}=e;const n=IM(t);return Fw(i=>{if(r||!n||!i)return Nct;const a={x:Math.sign(t.x-n.x),y:Math.sign(t.y-n.y)};return{x:{[Cs.Backward]:i.x[Cs.Backward]||a.x===-1,[Cs.Forward]:i.x[Cs.Forward]||a.x===1},y:{[Cs.Backward]:i.y[Cs.Backward]||a.y===-1,[Cs.Forward]:i.y[Cs.Forward]||a.y===1}}},[r,t,n])}function zct(e,t){const r=t!==null?e.get(t):void 0,n=r?r.node.current:null;return Fw(i=>{var a;return t===null?null:(a=n??i)!=null?a:null},[n,t])}function Qct(e,t){return F.useMemo(()=>e.reduce((r,n)=>{const{sensor:i}=n,a=i.activators.map(o=>({eventName:o.eventName,handler:t(o.handler,n)}));return[...r,...a]},[]),[e,t])}var ZS;(function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"})(ZS||(ZS={}));var zM;(function(e){e.Optimized="optimized"})(zM||(zM={}));const cne=new Map;function Bct(e,t){let{dragging:r,dependencies:n,config:i}=t;const[a,o]=F.useState(null),{frequency:s,measure:u,strategy:l}=i,c=F.useRef(e),f=v(),d=jS(f),h=F.useCallback(function(y){y===void 0&&(y=[]),!d.current&&o(O=>O===null?y:O.concat(y.filter(x=>!O.includes(x))))},[d]),g=F.useRef(null),m=Fw(y=>{if(f&&!r)return cne;if(!y||y===cne||c.current!==e||a!=null){const O=new Map;for(let x of e){if(!x)continue;if(a&&a.length>0&&!a.includes(x.id)&&x.rect.current){O.set(x.id,x.rect.current);continue}const C=x.node.current,w=C?new BQ(u(C),C):null;x.rect.current=w,w&&O.set(x.id,w)}return O}return y},[e,a,r,f,u]);return F.useEffect(()=>{c.current=e},[e]),F.useEffect(()=>{f||h()},[r,f]),F.useEffect(()=>{a&&a.length>0&&o(null)},[JSON.stringify(a)]),F.useEffect(()=>{f||typeof s!="number"||g.current!==null||(g.current=setTimeout(()=>{h(),g.current=null},s))},[s,f,h,...n]),{droppableRects:m,measureDroppableContainers:h,measuringScheduled:a!=null};function v(){switch(l){case ZS.Always:return!1;case ZS.BeforeDragging:return r;default:return!r}}}function nSe(e,t){return Fw(r=>e?r||(typeof t=="function"?t(e):e):null,[t,e])}function qct(e,t){return nSe(e,t)}function Uct(e){let{callback:t,disabled:r}=e;const n=zQ(t),i=F.useMemo(()=>{if(r||typeof window>"u"||typeof window.MutationObserver>"u")return;const{MutationObserver:a}=window;return new a(n)},[n,r]);return F.useEffect(()=>()=>i==null?void 0:i.disconnect(),[i]),i}function oP(e){let{callback:t,disabled:r}=e;const n=zQ(t),i=F.useMemo(()=>{if(r||typeof window>"u"||typeof window.ResizeObserver>"u")return;const{ResizeObserver:a}=window;return new a(n)},[r]);return F.useEffect(()=>()=>i==null?void 0:i.disconnect(),[i]),i}function Vct(e){return new BQ(NO(e),e)}function fne(e,t,r){t===void 0&&(t=Vct);const[n,i]=F.useReducer(s,null),a=Uct({callback(u){if(e)for(const l of u){const{type:c,target:f}=l;if(c==="childList"&&f instanceof HTMLElement&&f.contains(e)){i();break}}}}),o=oP({callback:i});return sh(()=>{i(),e?(o==null||o.observe(e),a==null||a.observe(document.body,{childList:!0,subtree:!0})):(o==null||o.disconnect(),a==null||a.disconnect())},[e]),n;function s(u){if(!e)return null;if(e.isConnected===!1){var l;return(l=u??r)!=null?l:null}const c=t(e);return JSON.stringify(u)===JSON.stringify(c)?u:c}}function jct(e){const t=nSe(e);return Z_e(e,t)}const dne=[];function Wct(e){const t=F.useRef(e),r=Fw(n=>e?n&&n!==dne&&e&&t.current&&e.parentNode===t.current.parentNode?n:aP(e):dne,[e]);return F.useEffect(()=>{t.current=e},[e]),r}function Zct(e){const[t,r]=F.useState(null),n=F.useRef(e),i=F.useCallback(a=>{const o=G7(a.target);o&&r(s=>s?(s.set(o,NM(o)),new Map(s)):null)},[]);return F.useEffect(()=>{const a=n.current;if(e!==a){o(a);const s=e.map(u=>{const l=G7(u);return l?(l.addEventListener("scroll",i,{passive:!0}),[l,NM(l)]):null}).filter(u=>u!=null);r(s.length?new Map(s):null),n.current=e}return()=>{o(e),o(a)};function o(s){s.forEach(u=>{const l=G7(u);l==null||l.removeEventListener("scroll",i)})}},[i,e]),F.useMemo(()=>e.length?t?Array.from(t.values()).reduce((a,o)=>Fb(a,o),uh):J_e(e):uh,[e,t])}function hne(e,t){t===void 0&&(t=[]);const r=F.useRef(null);return F.useEffect(()=>{r.current=null},t),F.useEffect(()=>{const n=e!==uh;n&&!r.current&&(r.current=e),!n&&r.current&&(r.current=null)},[e]),r.current?WS(e,r.current):uh}function Kct(e){F.useEffect(()=>{if(!iP)return;const t=e.map(r=>{let{sensor:n}=r;return n.setup==null?void 0:n.setup()});return()=>{for(const r of t)r==null||r()}},e.map(t=>{let{sensor:r}=t;return r}))}function Hct(e,t){return F.useMemo(()=>e.reduce((r,n)=>{let{eventName:i,handler:a}=n;return r[i]=o=>{a(o,t)},r},{}),[e,t])}function iSe(e){return F.useMemo(()=>e?bct(e):null,[e])}const eI=[];function Yct(e,t){t===void 0&&(t=NO);const[r]=e,n=iSe(r?Oc(r):null),[i,a]=F.useReducer(s,eI),o=oP({callback:a});return e.length>0&&i===eI&&a(),sh(()=>{e.length?e.forEach(u=>o==null?void 0:o.observe(u)):(o==null||o.disconnect(),a())},[e]),i;function s(){return e.length?e.map(u=>G_e(u)?n:new BQ(t(u),u)):eI}}function Gct(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return Aw(t)?t:e}function Xct(e){let{measure:t}=e;const[r,n]=F.useState(null),i=F.useCallback(l=>{for(const{target:c}of l)if(Aw(c)){n(f=>{const d=t(c);return f?{...f,width:d.width,height:d.height}:d});break}},[t]),a=oP({callback:i}),o=F.useCallback(l=>{const c=Gct(l);a==null||a.disconnect(),c&&(a==null||a.observe(c)),n(c?t(c):null)},[t,a]),[s,u]=Z4(o);return F.useMemo(()=>({nodeRef:s,rect:r,setRef:u}),[r,s,u])}const Jct=[{sensor:rSe,options:{}},{sensor:tSe,options:{}}],eft={current:{}},t2={draggable:{measure:one},droppable:{measure:one,strategy:ZS.WhileDragging,frequency:zM.Optimized},dragOverlay:{measure:NO}};class L_ extends Map{get(t){var r;return t!=null&&(r=super.get(t))!=null?r:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(t=>{let{disabled:r}=t;return!r})}getNodeFor(t){var r,n;return(r=(n=this.get(t))==null?void 0:n.node.current)!=null?r:void 0}}const tft={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new L_,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:H4},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:t2,measureDroppableContainers:H4,windowRect:null,measuringScheduled:!1},rft={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:H4,draggableNodes:new Map,over:null,measureDroppableContainers:H4},sP=F.createContext(rft),aSe=F.createContext(tft);function nft(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new L_}}}function ift(e,t){switch(t.type){case us.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case us.DragMove:return e.draggable.active?{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}}:e;case us.DragEnd:case us.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case us.RegisterDroppable:{const{element:r}=t,{id:n}=r,i=new L_(e.droppable.containers);return i.set(n,r),{...e,droppable:{...e.droppable,containers:i}}}case us.SetDroppableDisabled:{const{id:r,key:n,disabled:i}=t,a=e.droppable.containers.get(r);if(!a||n!==a.key)return e;const o=new L_(e.droppable.containers);return o.set(r,{...a,disabled:i}),{...e,droppable:{...e.droppable,containers:o}}}case us.UnregisterDroppable:{const{id:r,key:n}=t,i=e.droppable.containers.get(r);if(!i||n!==i.key)return e;const a=new L_(e.droppable.containers);return a.delete(r),{...e,droppable:{...e.droppable,containers:a}}}default:return e}}function aft(e){let{disabled:t}=e;const{active:r,activatorEvent:n,draggableNodes:i}=F.useContext(sP),a=IM(n),o=IM(r==null?void 0:r.id);return F.useEffect(()=>{if(!t&&!n&&a&&o!=null){if(!QQ(a)||document.activeElement===a.target)return;const s=i.get(o);if(!s)return;const{activatorNode:u,node:l}=s;if(!u.current&&!l.current)return;requestAnimationFrame(()=>{for(const c of[u.current,l.current]){if(!c)continue;const f=Glt(c);if(f){f.focus();break}}})}},[n,t,i,o,a]),null}function oft(e,t){let{transform:r,...n}=t;return e!=null&&e.length?e.reduce((i,a)=>a({transform:i,...n}),r):r}function sft(e){return F.useMemo(()=>({draggable:{...t2.draggable,...e==null?void 0:e.draggable},droppable:{...t2.droppable,...e==null?void 0:e.droppable},dragOverlay:{...t2.dragOverlay,...e==null?void 0:e.dragOverlay}}),[e==null?void 0:e.draggable,e==null?void 0:e.droppable,e==null?void 0:e.dragOverlay])}function uft(e){let{activeNode:t,measure:r,initialRect:n,config:i=!0}=e;const a=F.useRef(!1),{x:o,y:s}=typeof i=="boolean"?{x:i,y:i}:i;sh(()=>{if(!o&&!s||!t){a.current=!1;return}if(a.current||!n)return;const l=t==null?void 0:t.node.current;if(!l||l.isConnected===!1)return;const c=r(l),f=Z_e(c,n);if(o||(f.x=0),s||(f.y=0),a.current=!0,Math.abs(f.x)>0||Math.abs(f.y)>0){const d=K_e(l);d&&d.scrollBy({top:f.y,left:f.x})}},[t,o,s,n,r])}const oSe=F.createContext({...uh,scaleX:1,scaleY:1});var Km;(function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"})(Km||(Km={}));const kmt=F.memo(function(t){var r,n,i,a;let{id:o,accessibility:s,autoScroll:u=!0,children:l,sensors:c=Jct,collisionDetection:f=dct,measuring:d,modifiers:h,...g}=t;const m=F.useReducer(ift,void 0,nft),[v,y]=m,[O,x]=nct(),[C,w]=F.useState(Km.Uninitialized),E=C===Km.Initialized,{draggable:{active:T,nodes:P,translate:L},droppable:{containers:N}}=v,B=T?P.get(T):null,j=F.useRef({initial:null,translated:null}),A=F.useMemo(()=>{var Dt;return T!=null?{id:T,data:(Dt=B==null?void 0:B.data)!=null?Dt:eft,rect:j}:null},[T,B]),H=F.useRef(null),[k,Q]=F.useState(null),[V,I]=F.useState(null),q=jS(g,Object.values(g)),M=Iw("DndDescribedBy",o),z=F.useMemo(()=>N.getEnabled(),[N]),G=sft(d),{droppableRects:K,measureDroppableContainers:te,measuringScheduled:ae}=Bct(z,{dragging:E,dependencies:[L.x,L.y],config:G.droppable}),ie=zct(P,T),Se=F.useMemo(()=>V?MM(V):null,[V]),pe=qt(),xe=qct(ie,G.draggable.measure);uft({activeNode:T?P.get(T):null,config:pe.layoutShiftCompensation,initialRect:xe,measure:G.draggable.measure});const Oe=fne(ie,G.draggable.measure,xe),me=fne(ie?ie.parentElement:null),ne=F.useRef({activatorEvent:null,active:null,activeNode:ie,collisionRect:null,collisions:null,droppableRects:K,draggableNodes:P,draggingNode:null,draggingNodeRect:null,droppableContainers:N,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),se=N.getNodeFor((r=ne.current.over)==null?void 0:r.id),X=Xct({measure:G.dragOverlay.measure}),re=(n=X.nodeRef.current)!=null?n:ie,he=E?(i=X.rect)!=null?i:Oe:null,ge=!!(X.nodeRef.current&&X.rect),le=jct(ge?null:Oe),ve=iSe(re?Oc(re):null),_e=Wct(E?se??ie:null),De=Yct(_e),Te=oft(h,{transform:{x:L.x-le.x,y:L.y-le.y,scaleX:1,scaleY:1},activatorEvent:V,active:A,activeNodeRect:Oe,containerNodeRect:me,draggingNodeRect:he,over:ne.current.over,overlayNodeRect:X.rect,scrollableAncestors:_e,scrollableAncestorRects:De,windowRect:ve}),ke=Se?Fb(Se,L):null,Be=Zct(_e),rt=hne(Be),Le=hne(Be,[Oe]),Ve=Fb(Te,rt),at=he?mct(he,Te):null,bt=A&&at?f({active:A,collisionRect:at,droppableRects:K,droppableContainers:z,pointerCoordinates:ke}):null,_t=W_e(bt,"id"),[pt,Mt]=F.useState(null),zt=ge?Te:Fb(Te,Le),Gt=hct(zt,(a=pt==null?void 0:pt.rect)!=null?a:null,Oe),Ie=F.useCallback((Dt,Ht)=>{let{sensor:pr,options:Tr}=Ht;if(H.current==null)return;const Yr=P.get(H.current);if(!Yr)return;const Ln=Dt.nativeEvent,Rn=new pr({active:H.current,activeNode:Yr,event:Ln,options:Tr,context:ne,onStart(We){const Je=H.current;if(Je==null)return;const lt=P.get(Je);if(!lt)return;const{onDragStart:St}=q.current,Ut={active:{id:Je,data:lt.data,rect:j}};dl.unstable_batchedUpdates(()=>{St==null||St(Ut),w(Km.Initializing),y({type:us.DragStart,initialCoordinates:We,active:Je}),O({type:"onDragStart",event:Ut})})},onMove(We){y({type:us.DragMove,coordinates:We})},onEnd:ze(us.DragEnd),onCancel:ze(us.DragCancel)});dl.unstable_batchedUpdates(()=>{Q(Rn),I(Dt.nativeEvent)});function ze(We){return async function(){const{active:lt,collisions:St,over:Ut,scrollAdjustedTranslate:Jt}=ne.current;let Rt=null;if(lt&&Jt){const{cancelDrop:Zt}=q.current;Rt={activatorEvent:Ln,active:lt,collisions:St,delta:Jt,over:Ut},We===us.DragEnd&&typeof Zt=="function"&&await Promise.resolve(Zt(Rt))&&(We=us.DragCancel)}H.current=null,dl.unstable_batchedUpdates(()=>{y({type:We}),w(Km.Uninitialized),Mt(null),Q(null),I(null);const Zt=We===us.DragEnd?"onDragEnd":"onDragCancel";if(Rt){const ar=q.current[Zt];ar==null||ar(Rt),O({type:Zt,event:Rt})}})}}},[P]),Ye=F.useCallback((Dt,Ht)=>(pr,Tr)=>{const Yr=pr.nativeEvent,Ln=P.get(Tr);if(H.current!==null||!Ln||Yr.dndKit||Yr.defaultPrevented)return;const Rn={active:Ln};Dt(pr,Ht.options,Rn)===!0&&(Yr.dndKit={capturedBy:Ht.sensor},H.current=Tr,Ie(pr,Ht))},[P,Ie]),ct=Qct(c,Ye);Kct(c),sh(()=>{Oe&&C===Km.Initializing&&w(Km.Initialized)},[Oe,C]),F.useEffect(()=>{const{onDragMove:Dt}=q.current,{active:Ht,activatorEvent:pr,collisions:Tr,over:Yr}=ne.current;if(!Ht||!pr)return;const Ln={active:Ht,activatorEvent:pr,collisions:Tr,delta:{x:Ve.x,y:Ve.y},over:Yr};dl.unstable_batchedUpdates(()=>{Dt==null||Dt(Ln),O({type:"onDragMove",event:Ln})})},[Ve.x,Ve.y]),F.useEffect(()=>{const{active:Dt,activatorEvent:Ht,collisions:pr,droppableContainers:Tr,scrollAdjustedTranslate:Yr}=ne.current;if(!Dt||H.current==null||!Ht||!Yr)return;const{onDragOver:Ln}=q.current,Rn=Tr.get(_t),ze=Rn&&Rn.rect.current?{id:Rn.id,rect:Rn.rect.current,data:Rn.data,disabled:Rn.disabled}:null,We={active:Dt,activatorEvent:Ht,collisions:pr,delta:{x:Yr.x,y:Yr.y},over:ze};dl.unstable_batchedUpdates(()=>{Mt(ze),Ln==null||Ln(We),O({type:"onDragOver",event:We})})},[_t]),sh(()=>{ne.current={activatorEvent:V,active:A,activeNode:ie,collisionRect:at,collisions:bt,droppableRects:K,draggableNodes:P,draggingNode:re,draggingNodeRect:he,droppableContainers:N,over:pt,scrollableAncestors:_e,scrollAdjustedTranslate:Ve},j.current={initial:he,translated:at}},[A,ie,bt,at,P,re,he,K,N,pt,_e,Ve]),Mct({...pe,delta:L,draggingRect:at,pointerCoordinates:ke,scrollableAncestors:_e,scrollableAncestorRects:De});const mt=F.useMemo(()=>({active:A,activeNode:ie,activeNodeRect:Oe,activatorEvent:V,collisions:bt,containerNodeRect:me,dragOverlay:X,draggableNodes:P,droppableContainers:N,droppableRects:K,over:pt,measureDroppableContainers:te,scrollableAncestors:_e,scrollableAncestorRects:De,measuringConfiguration:G,measuringScheduled:ae,windowRect:ve}),[A,ie,Oe,V,bt,me,X,P,N,K,pt,te,_e,De,G,ae,ve]),Nt=F.useMemo(()=>({activatorEvent:V,activators:ct,active:A,activeNodeRect:Oe,ariaDescribedById:{draggable:M},dispatch:y,draggableNodes:P,over:pt,measureDroppableContainers:te}),[V,ct,A,Oe,y,M,P,pt,te]);return $e.createElement(j_e.Provider,{value:x},$e.createElement(sP.Provider,{value:Nt},$e.createElement(aSe.Provider,{value:mt},$e.createElement(oSe.Provider,{value:Gt},l)),$e.createElement(aft,{disabled:(s==null?void 0:s.restoreFocus)===!1})),$e.createElement(oct,{...s,hiddenTextDescribedById:M}));function qt(){const Dt=(k==null?void 0:k.autoScrollEnabled)===!1,Ht=typeof u=="object"?u.enabled===!1:u===!1,pr=E&&!Dt&&!Ht;return typeof u=="object"?{...u,enabled:pr}:{enabled:pr}}}),lft=F.createContext(null),pne="button",cft="Droppable";function fft(e){let{id:t,data:r,disabled:n=!1,attributes:i}=e;const a=Iw(cft),{activators:o,activatorEvent:s,active:u,activeNodeRect:l,ariaDescribedById:c,draggableNodes:f,over:d}=F.useContext(sP),{role:h=pne,roleDescription:g="draggable",tabIndex:m=0}=i??{},v=(u==null?void 0:u.id)===t,y=F.useContext(v?oSe:lft),[O,x]=Z4(),[C,w]=Z4(),E=Hct(o,t),T=jS(r);sh(()=>(f.set(t,{id:t,key:a,node:O,activatorNode:C,data:T}),()=>{const L=f.get(t);L&&L.key===a&&f.delete(t)}),[f,t]);const P=F.useMemo(()=>({role:h,tabIndex:m,"aria-disabled":n,"aria-pressed":v&&h===pne?!0:void 0,"aria-roledescription":g,"aria-describedby":c.draggable}),[n,h,m,v,g,c.draggable]);return{active:u,activatorEvent:s,activeNodeRect:l,attributes:P,isDragging:v,listeners:n?void 0:E,node:O,over:d,setNodeRef:x,setActivatorNodeRef:w,transform:y}}function dft(){return F.useContext(aSe)}const hft="Droppable",pft={timeout:25};function mft(e){let{data:t,disabled:r=!1,id:n,resizeObserverConfig:i}=e;const a=Iw(hft),{active:o,dispatch:s,over:u,measureDroppableContainers:l}=F.useContext(sP),c=F.useRef({disabled:r}),f=F.useRef(!1),d=F.useRef(null),h=F.useRef(null),{disabled:g,updateMeasurementsFor:m,timeout:v}={...pft,...i},y=jS(m??n),O=F.useCallback(()=>{if(!f.current){f.current=!0;return}h.current!=null&&clearTimeout(h.current),h.current=setTimeout(()=>{l(Array.isArray(y.current)?y.current:[y.current]),h.current=null},v)},[v]),x=oP({callback:O,disabled:g||!o}),C=F.useCallback((P,L)=>{x&&(L&&(x.unobserve(L),f.current=!1),P&&x.observe(P))},[x]),[w,E]=Z4(C),T=jS(t);return F.useEffect(()=>{!x||!w.current||(x.disconnect(),f.current=!1,x.observe(w.current))},[w,x]),sh(()=>(s({type:us.RegisterDroppable,element:{id:n,key:a,disabled:r,node:w,rect:d,data:T}}),()=>s({type:us.UnregisterDroppable,key:a,id:n})),[n]),F.useEffect(()=>{r!==c.current.disabled&&(s({type:us.SetDroppableDisabled,id:n,key:a,disabled:r}),c.current.disabled=r)},[n,a,r,s]),{active:o,rect:d,isOver:(u==null?void 0:u.id)===n,node:w,over:u,setNodeRef:E}}function sSe(e,t,r){const n=e.slice();return n.splice(r<0?n.length+r:r,0,n.splice(t,1)[0]),n}function gft(e,t){return e.reduce((r,n,i)=>{const a=t.get(n);return a&&(r[i]=a),r},Array(e.length))}function SE(e){return e!==null&&e>=0}function vft(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}function yft(e){return typeof e=="boolean"?{draggable:e,droppable:e}:e}const uSe=e=>{let{rects:t,activeIndex:r,overIndex:n,index:i}=e;const a=sSe(t,n,r),o=t[i],s=a[i];return!s||!o?null:{x:s.left-o.left,y:s.top-o.top,scaleX:s.width/o.width,scaleY:s.height/o.height}},lSe="Sortable",cSe=$e.createContext({activeIndex:-1,containerId:lSe,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:uSe,disabled:{draggable:!1,droppable:!1}});function Tmt(e){let{children:t,id:r,items:n,strategy:i=uSe,disabled:a=!1}=e;const{active:o,dragOverlay:s,droppableRects:u,over:l,measureDroppableContainers:c}=dft(),f=Iw(lSe,r),d=s.rect!==null,h=F.useMemo(()=>n.map(E=>typeof E=="object"&&"id"in E?E.id:E),[n]),g=o!=null,m=o?h.indexOf(o.id):-1,v=l?h.indexOf(l.id):-1,y=F.useRef(h),O=!vft(h,y.current),x=v!==-1&&m===-1||O,C=yft(a);sh(()=>{O&&g&&c(h)},[O,h,g,c]),F.useEffect(()=>{y.current=h},[h]);const w=F.useMemo(()=>({activeIndex:m,containerId:f,disabled:C,disableTransforms:x,items:h,overIndex:v,useDragOverlay:d,sortedRects:gft(h,u),strategy:i}),[m,f,C.draggable,C.droppable,x,h,v,u,d,i]);return $e.createElement(cSe.Provider,{value:w},t)}const bft=e=>{let{id:t,items:r,activeIndex:n,overIndex:i}=e;return sSe(r,n,i).indexOf(t)},Oft=e=>{let{containerId:t,isSorting:r,wasDragging:n,index:i,items:a,newIndex:o,previousItems:s,previousContainerId:u,transition:l}=e;return!l||!n||s!==a&&i===o?!1:r?!0:o!==i&&t===u},xft={duration:200,easing:"ease"},fSe="transform",_ft=K4.Transition.toString({property:fSe,duration:0,easing:"linear"}),Sft={roleDescription:"sortable"};function wft(e){let{disabled:t,index:r,node:n,rect:i}=e;const[a,o]=F.useState(null),s=F.useRef(r);return sh(()=>{if(!t&&r!==s.current&&n.current){const u=i.current;if(u){const l=NO(n.current,{ignoreTransform:!0}),c={x:u.left-l.left,y:u.top-l.top,scaleX:u.width/l.width,scaleY:u.height/l.height};(c.x||c.y)&&o(c)}}r!==s.current&&(s.current=r)},[t,r,n,i]),F.useEffect(()=>{a&&o(null)},[a]),a}function Amt(e){let{animateLayoutChanges:t=Oft,attributes:r,disabled:n,data:i,getNewIndex:a=bft,id:o,strategy:s,resizeObserverConfig:u,transition:l=xft}=e;const{items:c,containerId:f,activeIndex:d,disabled:h,disableTransforms:g,sortedRects:m,overIndex:v,useDragOverlay:y,strategy:O}=F.useContext(cSe),x=Eft(n,h),C=c.indexOf(o),w=F.useMemo(()=>({sortable:{containerId:f,index:C,items:c},...i}),[f,i,C,c]),E=F.useMemo(()=>c.slice(c.indexOf(o)),[c,o]),{rect:T,node:P,isOver:L,setNodeRef:N}=mft({id:o,data:w,disabled:x.droppable,resizeObserverConfig:{updateMeasurementsFor:E,...u}}),{active:B,activatorEvent:j,activeNodeRect:A,attributes:H,setNodeRef:k,listeners:Q,isDragging:V,over:I,setActivatorNodeRef:q,transform:M}=fft({id:o,data:w,attributes:{...Sft,...r},disabled:x.draggable}),z=Zlt(N,k),G=!!B,K=G&&!g&&SE(d)&&SE(v),te=!y&&V,ae=te&&K?M:null,Se=K?ae??(s??O)({rects:m,activeNodeRect:A,activeIndex:d,overIndex:v,index:C}):null,pe=SE(d)&&SE(v)?a({id:o,items:c,activeIndex:d,overIndex:v}):C,xe=B==null?void 0:B.id,Oe=F.useRef({activeId:xe,items:c,newIndex:pe,containerId:f}),me=c!==Oe.current.items,ne=t({active:B,containerId:f,isDragging:V,isSorting:G,id:o,index:C,items:c,newIndex:Oe.current.newIndex,previousItems:Oe.current.items,previousContainerId:Oe.current.containerId,transition:l,wasDragging:Oe.current.activeId!=null}),se=wft({disabled:!ne,index:C,node:P,rect:T});return F.useEffect(()=>{G&&Oe.current.newIndex!==pe&&(Oe.current.newIndex=pe),f!==Oe.current.containerId&&(Oe.current.containerId=f),c!==Oe.current.items&&(Oe.current.items=c)},[G,pe,f,c]),F.useEffect(()=>{if(xe===Oe.current.activeId)return;if(xe&&!Oe.current.activeId){Oe.current.activeId=xe;return}const re=setTimeout(()=>{Oe.current.activeId=xe},50);return()=>clearTimeout(re)},[xe]),{active:B,activeIndex:d,attributes:H,data:w,rect:T,index:C,newIndex:pe,items:c,isOver:L,isSorting:G,isDragging:V,listeners:Q,node:P,overIndex:v,over:I,setNodeRef:z,setActivatorNodeRef:q,setDroppableNodeRef:N,setDraggableNodeRef:k,transform:se??Se,transition:X()};function X(){if(se||me&&Oe.current.newIndex===C)return _ft;if(!(te&&!QQ(j)||!l)&&(G||ne))return K4.Transition.toString({...l,property:fSe})}}function Eft(e,t){var r,n;return typeof e=="boolean"?{draggable:e,droppable:!1}:{draggable:(r=e==null?void 0:e.draggable)!=null?r:t.draggable,droppable:(n=e==null?void 0:e.droppable)!=null?n:t.droppable}}function G4(e){if(!e)return!1;const t=e.data.current;return!!(t&&"sortable"in t&&typeof t.sortable=="object"&&"containerId"in t.sortable&&"items"in t.sortable&&"index"in t.sortable)}const $ft=[Xn.Down,Xn.Right,Xn.Up,Xn.Left],Fmt=(e,t)=>{let{context:{active:r,collisionRect:n,droppableRects:i,droppableContainers:a,over:o,scrollableAncestors:s}}=t;if($ft.includes(e.code)){if(e.preventDefault(),!r||!n)return;const u=[];a.getEnabled().forEach(f=>{if(!f||f!=null&&f.disabled)return;const d=i.get(f.id);if(d)switch(e.code){case Xn.Down:n.top<d.top&&u.push(f);break;case Xn.Up:n.top>d.top&&u.push(f);break;case Xn.Left:n.left>d.left&&u.push(f);break;case Xn.Right:n.left<d.left&&u.push(f);break}});const l=cct({collisionRect:n,droppableRects:i,droppableContainers:u});let c=W_e(l,"id");if(c===(o==null?void 0:o.id)&&l.length>1&&(c=l[1].id),c!=null){const f=a.get(r.id),d=a.get(c),h=d?i.get(d.id):null,g=d==null?void 0:d.node.current;if(g&&h&&f&&d){const v=aP(g).some((E,T)=>s[T]!==E),y=dSe(f,d),O=Cft(f,d),x=v||!y?{x:0,y:0}:{x:O?n.width-h.width:0,y:O?n.height-h.height:0},C={x:h.left,y:h.top};return x.x&&x.y?C:WS(C,x)}}}};function dSe(e,t){return!G4(e)||!G4(t)?!1:e.data.current.sortable.containerId===t.data.current.sortable.containerId}function Cft(e,t){return!G4(e)||!G4(t)||!dSe(e,t)?!1:e.data.current.sortable.index<t.data.current.sortable.index}var mne=Object.prototype.hasOwnProperty;function gne(e,t,r){for(r of e.keys())if(z_(r,t))return r}function z_(e,t){var r,n,i;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((n=e.length)===t.length)for(;n--&&z_(e[n],t[n]););return n===-1}if(r===Set){if(e.size!==t.size)return!1;for(n of e)if(i=n,i&&typeof i=="object"&&(i=gne(t,i),!i)||!t.has(i))return!1;return!0}if(r===Map){if(e.size!==t.size)return!1;for(n of e)if(i=n[0],i&&typeof i=="object"&&(i=gne(t,i),!i)||!z_(n[1],t.get(i)))return!1;return!0}if(r===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(r===DataView){if((n=e.byteLength)===t.byteLength)for(;n--&&e.getInt8(n)===t.getInt8(n););return n===-1}if(ArrayBuffer.isView(e)){if((n=e.byteLength)===t.byteLength)for(;n--&&e[n]===t[n];);return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(mne.call(e,r)&&++n&&!mne.call(t,r)||!(r in t)||!z_(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}function Pft(e){var t=F.useRef(e),r=F.useRef(0);return z_(e,t.current)||(t.current=e,r.current+=1),F.useMemo(function(){return t.current},[r.current])}function Imt(e,t){return F.useEffect(e,Pft(t))}export{Ha as $,st as A,xht as B,uht as C,Pht as D,fve as E,wPe as F,Qpt as G,D9e as H,Hj as I,cpt as J,Gft as K,OS as L,spt as M,upt as N,Qht as O,lpt as P,kft as Q,$e as R,Zht as S,zht as T,E9e as U,Bht as V,Wht as W,Jht as X,rpt as Y,Xf as Z,iMe as _,ght as a,wdt as a$,jht as a0,Uht as a1,dpt as a2,Spt as a3,xpt as a4,_pt as a5,Xht as a6,fpt as a7,yht as a8,_ve as a9,mpt as aA,udt as aB,Udt as aC,rz as aD,Vht as aE,VLe as aF,Gpt as aG,Hpt as aH,Kpt as aI,Wpt as aJ,Ypt as aK,ULe as aL,IL as aM,kpt as aN,gpt as aO,Bdt as aP,rdt as aQ,$mt as aR,Cmt as aS,znt as aT,hnt as aU,Edt as aV,Lht as aW,wue as aX,Emt as aY,Bpt as aZ,oC as a_,tpt as aa,ept as ab,npt as ac,ipt as ad,Vpt as ae,nw as af,apt as ag,opt as ah,qpt as ai,qht as aj,Mft as ak,hpt as al,ppt as am,Ept as an,wpt as ao,Hht as ap,Ght as aq,Yht as ar,Kht as as,K$ as at,Jf as au,td as av,vpt as aw,ypt as ax,bpt as ay,Opt as az,M6e as b,odt as b$,em as b0,Cpt as b1,$pt as b2,oht as b3,Jdt as b4,Q$ as b5,Ydt as b6,Pmt as b7,tdt as b8,edt as b9,Apt as bA,Nnt as bB,zpt as bC,kht as bD,Tht as bE,Aht as bF,Mht as bG,Rmt as bH,Dmt as bI,Tmt as bJ,sSe as bK,kmt as bL,Fmt as bM,tSe as bN,rSe as bO,Amt as bP,K4 as bQ,Fpt as bR,Ppt as bS,Nht as bT,ldt as bU,Imt as bV,Ipt as bW,Zpt as bX,oLe as bY,j6e as bZ,dht as b_,aht as ba,Kdt as bb,eht as bc,Xdt as bd,rht as be,nht as bf,sht as bg,iht as bh,tht as bi,Fne as bj,Dht as bk,Iht as bl,Rht as bm,Fht as bn,Tpt as bo,Upt as bp,Rpt as bq,v0t as br,y0t as bs,EGe as bt,Qdt as bu,wmt as bv,Mpt as bw,Dpt as bx,S0t as by,hht as bz,pht as c,Tdt as c$,adt as c0,Nft as c1,Vj as c2,Vft as c3,rb as c4,pp as c5,ci as c6,idt as c7,Idt as c8,G0 as c9,bdt as cA,b2 as cB,Cdt as cC,Uft as cD,pdt as cE,ydt as cF,aRe as cG,mdt as cH,Z_ as cI,gdt as cJ,nRe as cK,oRe as cL,kDe as cM,Zft as cN,Yft as cO,vse as cP,gse as cQ,Ndt as cR,Mdt as cS,N4e as cT,kdt as cU,Rdt as cV,Cu as cW,Sdt as cX,Fdt as cY,OPe as cZ,ACe as c_,K0 as ca,Xft as cb,Bft as cc,ndt as cd,PN as ce,Rie as cf,moe as cg,hPe as ch,jft as ci,_dt as cj,Odt as ck,zi as cl,uI as cm,zft as cn,xdt as co,Wft as cp,Kft as cq,Ddt as cr,$dt as cs,pN as ct,y5e as cu,vle as cv,Hft as cw,pae as cx,vdt as cy,Pdt as cz,lht as d,rmt as d$,Adt as d0,Jft as d1,wht as d2,Eht as d3,$ht as d4,_y as d5,U2 as d6,oa as d7,dc as d8,su as d9,b0t as dA,x0t as dB,_0t as dC,O0t as dD,w0t as dE,fN as dF,N0t as dG,C0t as dH,M0t as dI,I0t as dJ,F0t as dK,A0t as dL,T0t as dM,k0t as dN,_Xe as dO,X0t as dP,J0t as dQ,emt as dR,omt as dS,K0t as dT,BX as dU,G0t as dV,Y0t as dW,LS as dX,H0t as dY,imt as dZ,nmt as d_,h9 as da,NFe as db,ah as dc,WFe as dd,Cht as de,Jpt as df,e0t as dg,Xve as dh,VBe as di,Xpt as dj,t0t as dk,Ma as dl,RN as dm,ug as dn,oh as dp,i0t as dq,af as dr,s0t as ds,u0t as dt,n0t as du,l0t as dv,_ht as dw,c0t as dx,$0t as dy,E0t as dz,K6e as e,amt as e0,eQ as e1,NOe as e2,KJe as e3,tmt as e4,smt as e5,P0t as e6,xXe as e7,W0t as e8,Z0t as e9,Npt as eA,jpt as eB,mLe as eC,Fft as eD,j0t as ea,V0t as eb,U0t as ec,q0t as ed,rOe as ee,B0t as ef,R0t as eg,D0t as eh,L0t as ei,Q0t as ej,z0t as ek,fQ as el,umt as em,lmt as en,cmt as eo,fmt as ep,dmt as eq,mmt as er,pmt as es,vmt as et,gmt as eu,hmt as ev,ymt as ew,Gdt as ex,o0t as ey,Lpt as ez,Q6e as f,mht as g,cht as h,fht as i,Tft as j,vht as k,Aft as l,Vdt as m,jdt as n,Ift as o,Wdt as p,Oht as q,F as r,zZ as s,XAe as t,Ldt as u,bht as v,zdt as w,qdt as x,v9 as y,rfe as z};