@velocity-astro/cms-admin 0.1.0-beta.12 → 0.1.0-beta.14

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.
@@ -60,7 +60,7 @@ Error generating stack: `+e.message+`
60
60
 
61
61
  `)}return o.write(`payload.value = newResult;`),o.write(`return payload;`),o.compile()},o,s=Sl,c=!bu.jitless,l=c&&Cl.value,u=t.catchall,d;e._zod.parse=(i,f)=>{d??=r.value;let p=i.value;return s(p)?c&&l&&f?.async===!1&&f.jitless!==!0?(o||=a(t.shape),i=o(i,f),u?Vf([],p,i,f,d,e,f?.abortEarly===!0):i):n(i,f):(i.issues.push({expected:`object`,code:`invalid_type`,input:p,inst:e}),i)}});function Wf(e,t,n,r){for(let n of e)if(n.issues.length===0)return t.value=n.value,t;let i=e.filter(e=>!Ul(e));return i.length===1?(t.value=i[0].value,i[0]):(t.issues.push({code:`invalid_union`,input:t.value,inst:n,errors:e.map(e=>e.issues.map(e=>Yl(e,r,xu())))}),t)}var Gf=B(`$ZodUnion`,(e,t)=>{Vd.init(e,t),uu(e,`optin`,e=>e.def.options.some(e=>e._zod.optin===`defaulted`)?`defaulted`:e.def.options.some(e=>e._zod.optin!==void 0)?`optional`:void 0),uu(e,`optout`,e=>e.def.options.some(e=>e._zod.optout===`optional`)?`optional`:void 0),uu(e,`values`,e=>{if(e.def.options.every(e=>e._zod.values))return new Set(e.def.options.flatMap(e=>Array.from(e._zod.values)))}),uu(e,`pattern`,e=>{if(e.def.options.every(e=>e._zod.pattern)){let t=e.def.options.map(e=>e._zod.pattern);return RegExp(`^(${t.map(e=>cl(e.source)).join(`|`)})$`)}});let n=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(r,i)=>{if(n)return n(r,i);let a=!1,o=[];for(let e of t.options){let t=e._zod.run({value:r.value,issues:[]},i);if(t instanceof Promise)o.push(t),a=!0;else{if(t.issues.length===0)return t;o.push(t)}}return a?Promise.all(o).then(t=>Wf(t,r,e,i)):Wf(o,r,e,i)}});function Kf(e){let t=new Map;for(let n of e.options){let r=n._zod.propValues?.[e.discriminator];if(!r||r.size===0)throw Error(`Invalid discriminated union option at index "${e.options.indexOf(n)}"`);for(let e of r)if(t.has(e)){if(e!==void 0)throw Error(`Duplicate discriminator value "${String(e)}"`);t.set(e,null)}else t.set(e,n)}return t}var qf=B(`$ZodDiscriminatedUnion`,(e,t)=>{t.inclusive=!1,Gf.init(e,t);let n=e._zod.parse;uu(e,`propValues`,e=>{let t={},n=0;for(let r of e.def.options){let i=r._zod.propValues;if(!i||Object.keys(i).length===0)throw Error(`Invalid discriminated union option at index "${e.def.options.indexOf(r)}"`);i[e.def.discriminator]?.has(void 0)&&n++;for(let[e,n]of Object.entries(i)){Object.prototype.hasOwnProperty.call(t,e)||dl(t,e,new Set);for(let r of n)t[e].add(r)}}return!e.def.unionFallback&&n>1&&t[e.def.discriminator]?.delete(void 0),t}),t.options.forEach((e,n)=>{let r=fl(e._zod.def);if(r&&!Object.prototype.hasOwnProperty.call(r,t.discriminator))throw Error(`Invalid discriminated union option at index "${n}"`)});let r=ol(()=>Kf(t));e._zod.parse=(i,a)=>{let o=i.value;if(!Sl(o))return i.issues.push({code:`invalid_type`,expected:`object`,input:o,inst:e}),i;let s=o?.[t.discriminator],c=r.value.get(s);return c&&(s!==void 0||a.direction!==`backward`)?c._zod.run(i,a):t.unionFallback||a.direction===`backward`?n(i,a):(i.issues.push({code:`invalid_union`,errors:[],note:`No matching discriminator`,discriminator:t.discriminator,options:Array.from(r.value.keys()).filter(e=>r.value.get(e)!==null),input:o,path:[t.discriminator],inst:e}),i)}}),Jf=B(`$ZodIntersection`,(e,t)=>{Vd.init(e,t),e._zod.parse=(e,n)=>{let r=e.value,i=t.left._zod.run({value:r,issues:[]},n),a=t.right._zod.run({value:r,issues:[]},n);return i instanceof Promise||a instanceof Promise?Promise.all([i,a]).then(([t,n])=>Xf(e,t,n)):Xf(e,i,a)}});function Yf(e,t){if(e===t||e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(wl(e)&&wl(t)){let n=Object.keys(t),r=Object.keys(e).filter(e=>n.indexOf(e)!==-1),i={...e,...t};Object.prototype.hasOwnProperty.call(i,`__proto__`)&&delete i.__proto__;for(let n of r){if(n===`__proto__`)continue;let r=Yf(e[n],t[n]);if(!r.valid)return{valid:!1,mergeErrorPath:[n,...r.mergeErrorPath]};i[n]=r.data}return{valid:!0,data:i}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let n=[];for(let r=0;r<e.length;r++){let i=e[r],a=t[r],o=Yf(i,a);if(!o.valid)return{valid:!1,mergeErrorPath:[r,...o.mergeErrorPath]};n.push(o.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function Xf(e,t,n){let r=new Map,i,a=new Map,o=(e,t)=>{let n;if(e.code===`unrecognized_keys`&&!e.path?.length)i??=e,n=e.keys;else if(e.code===`invalid_key`&&e.origin===`record`&&e.path?.length===1){let t=String(e.path[0]);a.has(t)||a.set(t,e),n=[t]}else return!1;for(let e of n)r.has(e)||r.set(e,{}),r.get(e)[t]=!0;return!0};for(let n of t.issues)o(n,`l`)||e.issues.push(n);for(let t of n.issues)o(t,`r`)||e.issues.push(t);let s=[...r].filter(([,e])=>e.l&&e.r).map(([e])=>e);if(s.length){let t=i?s.filter(e=>i.keys.includes(e)):[];t.length&&e.issues.push({...i,keys:t});for(let n of s)!t.includes(n)&&a.has(n)&&e.issues.push(a.get(n))}let c=Yf(t.value,n.value);if(!c.valid){if(Ul(e))return e;throw Error(`Unmergable intersection. Error path: ${JSON.stringify(c.mergeErrorPath)}`)}return e.value=c.data,e}var Zf=B(`$ZodEnum`,(e,t)=>{Vd.init(e,t);let n=nl(t.entries),r=new Set(n);e._zod.values=r,uu(e,`pattern`,e=>{let t=nl(e.def.entries).filter(e=>El.has(typeof e));return RegExp(t.length?`^(${t.map(e=>Dl(e.toString())).join(`|`)})$`:`^[^\\s\\S]$`)}),e._zod.parse=(t,i)=>{let a=t.value;return r.has(a)||t.issues.push({code:`invalid_value`,values:n,input:a,inst:e}),t}}),Qf=B(`$ZodLiteral`,(e,t)=>{Vd.init(e,t);let n=new Set(t.values);e._zod.values=n,uu(e,`pattern`,e=>{let t=e.def.values;return RegExp(t.length?`^(${t.map(e=>typeof e==`string`?Dl(e):e?Dl(e.toString()):String(e)).join(`|`)})$`:`^[^\\s\\S]$`)}),e._zod.parse=(r,i)=>{let a=r.value;return n.has(a)||r.issues.push({code:`invalid_value`,values:t.values,input:a,inst:e}),r}}),$f=B(`$ZodTransform`,(e,t)=>{Vd.init(e,t),e._zod.optin=`optional`,bu.memoizer?.guard(e),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new yu(e.constructor.name);let i=t.transform(n.value,n);if(r.async)return(i instanceof Promise?i:Promise.resolve(i)).then(e=>(n.value=e,n));if(i instanceof Promise)throw new vu;return n.value=i,n}});function ep(e,t){return e.value=t.issues.length?void 0:t.value,e}var tp=B(`$ZodOptional`,(e,t)=>{Vd.init(e,t),uu(e,`optin`,e=>e.def.innerType._zod.optin===`defaulted`?`defaulted`:`optional`),e._zod.optout=`optional`,uu(e,`values`,e=>{let t=e.def.innerType._zod.values;return t?new Set([...t,void 0]):void 0}),uu(e,`pattern`,e=>{let t=e.def.innerType._zod.pattern;return t?RegExp(`^(${cl(t.source)})?$`):void 0}),e._zod.parse=(e,n)=>{if(e.value===void 0){if(t.innerType._zod.optin!==`defaulted`)return e;let r=t.innerType._zod.run({value:e.value,issues:[]},n);return r instanceof Promise?r.then(t=>ep(e,t)):ep(e,r)}return t.innerType._zod.run(e,n)}}),np=B(`$ZodExactOptional`,(e,t)=>{tp.init(e,t),uu(e,`values`,e=>e.def.innerType._zod.values),uu(e,`pattern`,e=>e.def.innerType._zod.pattern),e._zod.parse=(e,n)=>t.innerType._zod.run(e,n)}),rp=B(`$ZodNullable`,(e,t)=>{Vd.init(e,t),uu(e,`optin`,e=>e.def.innerType._zod.optin),uu(e,`optout`,e=>e.def.innerType._zod.optout),uu(e,`pattern`,e=>{let t=e.def.innerType._zod.pattern;return t?RegExp(`^(${cl(t.source)}|null)$`):void 0}),uu(e,`values`,e=>e.def.innerType._zod.values?new Set([...e.def.innerType._zod.values,null]):void 0),e._zod.parse=(e,n)=>e.value===null?e:t.innerType._zod.run(e,n)}),ip=B(`$ZodDefault`,(e,t)=>{Vd.init(e,t),e._zod.optin=`defaulted`,uu(e,`values`,e=>e.def.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);if(e.value===void 0)return e.value=t.defaultValue,e;let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(e=>ap(e,t)):ap(r,t)}});function ap(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}var op=B(`$ZodPrefault`,(e,t)=>{Vd.init(e,t),e._zod.optin=`defaulted`,uu(e,`values`,e=>e.def.innerType._zod.values),e._zod.parse=(e,n)=>(n.direction===`backward`||e.value===void 0&&(e.value=t.defaultValue),t.innerType._zod.run(e,n))}),sp=B(`$ZodNonOptional`,(e,t)=>{Vd.init(e,t),uu(e,`values`,e=>{let t=e.def.innerType._zod.values;return t?new Set([...t].filter(e=>e!==void 0)):void 0}),e._zod.parse=(n,r)=>{let i=t.innerType._zod.run(n,r);return i instanceof Promise?i.then(t=>cp(t,e)):cp(i,e)}});function cp(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:`invalid_type`,expected:`nonoptional`,input:e.value,inst:t}),e}function lp(e,t,n,r){return t.issues.length?(e.value=n.catchValue({...t,value:e.value,error:{issues:t.issues.map(e=>Yl(e,r,xu()))},input:e.value}),e):(e.value=t.value,t.memo&&(e.memo=!0),e)}var up=B(`$ZodCatch`,(e,t)=>{Vd.init(e,t),uu(e,`optin`,e=>e.def.innerType._zod.optin===`defaulted`?`defaulted`:`optional`),uu(e,`optout`,e=>e.def.innerType._zod.optout),uu(e,`values`,e=>e.def.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run({value:e.value,issues:[]},n);return r instanceof Promise?r.then(r=>lp(e,r,t,n)):lp(e,r,t,n)}}),dp=B(`$ZodPipe`,(e,t)=>{Vd.init(e,t),uu(e,`values`,e=>e.def.in._zod.values),uu(e,`optin`,e=>e.def.in._zod.optin),uu(e,`optout`,e=>e.def.out._zod.optout),uu(e,`propValues`,e=>e.def.in._zod.propValues),e._zod.parse=(e,n)=>{if(n.direction===`backward`){let r=t.out._zod.run(e,n);return r instanceof Promise?r.then(e=>fp(e,t.in,n)):fp(r,t.in,n)}let r=t.in._zod.run(e,n);return r instanceof Promise?r.then(e=>fp(e,t.out,n)):fp(r,t.out,n)}});function fp(e,t,n){return e.issues.some(e=>e.code!==`unrecognized_keys`)?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},n)}var pp=B(`$ZodPreprocess`,(e,t)=>{dp.init(e,t)}),mp=B(`$ZodReadonly`,(e,t)=>{Vd.init(e,t),uu(e,`propValues`,e=>e.def.innerType._zod.propValues),uu(e,`values`,e=>e.def.innerType._zod.values),uu(e,`optin`,e=>e.def.innerType?._zod?.optin),uu(e,`optout`,e=>e.def.innerType?._zod?.optout),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(hp):hp(r)}});function hp(e){return e.memo||(e.value=Object.freeze(e.value)),e}var gp=B(`$ZodLazy`,(e,t)=>{Vd.init(e,t),ul(e._zod,`innerType`,()=>{let e=t;return e._cachedInner||=t.getter(),e._cachedInner}),uu(e,`pattern`,e=>e.innerType?._zod?.pattern),uu(e,`propValues`,e=>e.innerType?._zod?.propValues),uu(e,`optin`,e=>e.innerType?._zod?.optin??void 0),uu(e,`optout`,e=>e.innerType?._zod?.optout??void 0),e._zod.parse=(t,n)=>e._zod.innerType._zod.run(t,n)}),_p=B(`$ZodCustom`,(e,t)=>{Ed.init(e,t),Vd.init(e,t),e._zod.parse=(e,t)=>e,e._zod.check=n=>{let r=n.value,i=t.fn(r);if(i instanceof Promise)return i.then(t=>vp(t,n,r,e));vp(i,n,r,e)}});function vp(e,t,n,r){if(!e){let e={code:`custom`,input:n,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(e.params=r._zod.def.params),t.issues.push(eu(e))}}var yp=class extends Error{constructor(){super(`Cannot parse a reference cycle that closes through a transform`),this.name=`ZodCyclicError`}},bp=`~memo`,xp=[];function Sp(e){return typeof e==`object`&&!!e}function Cp(e){return e.map(e=>e.path?{...e,path:e.path.slice()}:{...e})}var wp=new WeakMap,Tp=0,Ep=1,Dp=2;function Op(e,t,n){let r=wp.get(e);if(r!==void 0)return r?Dp:Tp;if(t.has(e))return Dp;t.add(e);let i=Tp,a=e=>{if(i!==Dp&&e?._zod){let r=Op(e,t,n);r>i&&(i=r)}},o=(e,r)=>{let i=Tp;for(let a of Reflect.ownKeys(e)){let o=Object.getOwnPropertyDescriptor(e,a);if(r&&!o.enumerable)continue;let s=o.get?Ep:o.value?._zod?Op(o.value,t,n):Tp;s>i&&(i=s)}return i},s=e=>{e>i&&(i=e)},c=e._zod.def;switch(c.type){case`object`:{let e=fl(c);s(e?o(e,!0):Ep),a(c.catchall);break}case`array`:a(c.element);break;case`tuple`:for(let e of c.items)a(e);a(c.rest);break;case`record`:case`map`:a(c.keyType),a(c.valueType);break;case`set`:a(c.valueType);break;case`union`:for(let e of c.options)a(e);break;case`intersection`:a(c.left),a(c.right);break;case`optional`:case`nullable`:case`default`:case`prefault`:case`catch`:case`readonly`:case`nonoptional`:case`promise`:case`success`:a(c.innerType);break;case`pipe`:a(c.in),a(c.out);break;case`function`:a(c.input),a(c.output);break;case`lazy`:{let r=c._cachedInner??(n?e._zod.innerType:void 0);s(r?Op(r,t,!1):Ep);break}case`template_literal`:case`string`:case`number`:case`int`:case`boolean`:case`bigint`:case`symbol`:case`undefined`:case`null`:case`void`:case`never`:case`any`:case`unknown`:case`date`:case`nan`:case`enum`:case`literal`:case`file`:case`transform`:case`custom`:break;default:for(let e in c){let t=Object.getOwnPropertyDescriptor(c,e);if(!t||t.get)continue;let n=t.value;if(n&&typeof n==`object`){if(n._zod)a(n);else if(Array.isArray(n))for(let e of n)a(e)}}}return t.delete(e),kp(e,i)}function kp(e,t){return t!==Ep&&wp.set(e,t===Dp),t}function Ap(e,t){let n=e.buckets.get(t);return n||(n=new WeakMap,e.buckets.set(t,n)),n}var jp,Mp=[],Np={alloc(e,t,n){let r=jp;if(!r)return n;jp=void 0;let i={value:n,issues:null};return r.set(t.value,i),Mp.push(i),n},guard(e){var t;(t=e._zod).deferred??(t.deferred=[]),e._zod.deferred.push(()=>{let t=e._zod.parse,n=(e,n)=>{if(n.direction!==`backward`&&Fp(n,e.value))throw new yp;return t(e,n)};e._zod.parse=n,e._zod.run===t&&(e._zod.run=n)})},attach(e){var t;let n,r=!1,i,a;(t=e._zod).deferred??(t.deferred=[]),e._zod.deferred.push(()=>{let t=e._zod.parse,o=(s,c)=>{if(n===void 0){let i=Op(e,new Set,!1);if(i===Tp)return e._zod.parse=t,e._zod.run===o&&(e._zod.run=t),t(s,c);i===Dp||r?n=!0:r=!0}let l=s.value;if(!Sp(l))return t(s,c);let u=c[bp];u||(u={buckets:new WeakMap,backEdges:void 0},c[bp]=u);let d;i===c?d=a:(d=Ap(u,e),i=c,a=d);let f=d.get(l);if(f)return s.value=f.value,f.issues?f.issues.length&&s.issues.push(...Cp(f.issues)):(s.memo=!0,u.backEdges??(u.backEdges=new WeakSet),u.backEdges.add(f.value)),s;jp=d;let p=Mp.length,m=t(s,c);jp=void 0;let h=Mp.length>p?Mp.pop():void 0;return m instanceof Promise?m.then(e=>(h&&(h.issues=e.issues.length?Cp(e.issues):xp),e)):(h&&(h.issues=m.issues.length?Cp(m.issues):xp),m)};e._zod.parse=o,e._zod.run===t&&(e._zod.run=o)})}};function Pp(){return Np}function Fp(e,t){let n=e[bp]?.backEdges;return n!==void 0&&Sp(t)&&n.has(t)}var Ip=()=>{let e={string:{unit:`characters`,verb:`to have`},file:{unit:`bytes`,verb:`to have`},array:{unit:`items`,verb:`to have`},set:{unit:`items`,verb:`to have`},map:{unit:`entries`,verb:`to have`}};function t(t){return e[t]??null}let n={regex:`input`,email:`email address`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO datetime`,date:`ISO date`,time:`ISO time`,duration:`ISO duration`,ipv4:`IPv4 address`,ipv6:`IPv6 address`,mac:`MAC address`,cidrv4:`IPv4 range`,cidrv6:`IPv6 range`,base64:`base64-encoded string`,base64url:`base64url-encoded string`,json_string:`JSON string`,e164:`E.164 number`,currency_code:`currency code`,credit_card:`credit card number`,iban:`IBAN`,jwt:`JWT`,template_literal:`input`},r={nan:`NaN`};function i(e,t){return e===`number`&&typeof t==`number`&&!Number.isFinite(t)?String(t):r[e]??e}return e=>{switch(e.code){case`invalid_type`:return`Invalid input: expected ${i(e.expected)}, received ${i($l(e.input),e.input)}`;case`invalid_value`:return e.values.length===1?`Invalid input: expected ${Al(e.values[0])}`:`Invalid option: expected one of ${rl(e.values,`|`)}`;case`too_big`:{let n=e.exact?`exactly `:e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Too big: expected ${e.origin??`value`} to have ${n}${e.maximum.toString()} ${r.unit??`elements`}`:`Too big: expected ${e.origin??`value`} to be ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.exact?`exactly `:e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Too small: expected ${e.origin} to have ${n}${e.minimum.toString()} ${r.unit}`:`Too small: expected ${e.origin} to be ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Invalid string: must start with "${t.prefix}"`:t.format===`ends_with`?`Invalid string: must end with "${t.suffix}"`:t.format===`includes`?`Invalid string: must include "${t.includes}"`:t.format===`regex`?`Invalid string: must match pattern ${t.pattern}`:`Invalid ${n[t.format]??e.format}`}case`not_multiple_of`:return`Invalid number: must be a multiple of ${e.divisor}`;case`unrecognized_keys`:return`Unrecognized key${e.keys.length>1?`s`:``}: ${rl(e.keys,`, `)}`;case`invalid_key`:return`Invalid key in ${e.origin}`;case`invalid_union`:return e.options&&Array.isArray(e.options)&&e.options.length>0?`Invalid discriminator value. Expected ${e.options.map(e=>`'${e}'`).join(` | `)}`:e.inclusive===!1?`Invalid input: more than one option matched`:`Invalid input`;case`invalid_element`:return`Invalid value in ${e.origin}`;default:return`Invalid input`}}};function Lp(){return{localeError:Ip()}}var Rp,zp=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...t){let n=t[0];return this._map.set(e,n),n&&typeof n==`object`&&`id`in n&&this._idmap.set(n.id,e),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(e){let t=this._map.get(e);return t&&typeof t==`object`&&`id`in t&&this._idmap.delete(t.id),this._map.delete(e),this}get(e){let t=e._zod.parent;if(t){let n={...this.get(t)??{}};delete n.id;let r={...n,...this._map.get(e)};return Object.keys(r).length?r:void 0}return this._map.get(e)}has(e){return this._map.has(e)}};function Bp(){return new zp}(Rp=globalThis).__zod_globalRegistry??(Rp.__zod_globalRegistry=Bp());var Vp=globalThis.__zod_globalRegistry;function Hp(e){return e.checks&&=[...e.checks],e}function Up(e,t){return new e(Hp({type:`string`,...kl(t)}))}function Wp(e,t){return new e({type:`string`,format:`email`,check:`string_format`,abort:!1,...kl(t)})}function Gp(e,t){return new e({type:`string`,format:`guid`,check:`string_format`,abort:!1,...kl(t)})}function Kp(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,...kl(t)})}function qp(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v4`,...kl(t)})}function Jp(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v6`,...kl(t)})}function Yp(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v7`,...kl(t)})}function Xp(e,t){return new e({type:`string`,format:`url`,check:`string_format`,abort:!1,...kl(t)})}function Zp(e,t){return new e({type:`string`,format:`emoji`,check:`string_format`,abort:!1,...kl(t)})}function Qp(e,t){return new e({type:`string`,format:`nanoid`,check:`string_format`,abort:!1,...kl(t)})}function $p(e,t){return new e({type:`string`,format:`cuid`,check:`string_format`,abort:!1,...kl(t)})}function em(e,t){return new e({type:`string`,format:`cuid2`,check:`string_format`,abort:!1,...kl(t)})}function tm(e,t){return new e({type:`string`,format:`ulid`,check:`string_format`,abort:!1,...kl(t)})}function nm(e,t){return new e({type:`string`,format:`xid`,check:`string_format`,abort:!1,...kl(t)})}function rm(e,t){return new e({type:`string`,format:`ksuid`,check:`string_format`,abort:!1,...kl(t)})}function im(e,t){return new e({type:`string`,format:`ipv4`,check:`string_format`,abort:!1,...kl(t)})}function am(e,t){return new e({type:`string`,format:`ipv6`,check:`string_format`,abort:!1,...kl(t)})}function om(e,t){return new e({type:`string`,format:`cidrv4`,check:`string_format`,abort:!1,...kl(t)})}function sm(e,t){return new e({type:`string`,format:`cidrv6`,check:`string_format`,abort:!1,...kl(t)})}function cm(e,t){return new e({type:`string`,format:`base64`,check:`string_format`,abort:!1,...kl(t)})}function lm(e,t){return new e({type:`string`,format:`base64url`,check:`string_format`,abort:!1,...kl(t)})}function um(e,t){return new e({type:`string`,format:`e164`,check:`string_format`,abort:!1,...kl(t)})}function dm(e,t){return new e({type:`string`,format:`jwt`,check:`string_format`,abort:!1,...kl(t)})}function fm(e,t){return new e({type:`string`,format:`datetime`,check:`string_format`,offset:!1,local:!1,precision:null,...kl(t)})}function pm(e,t){return new e({type:`string`,format:`date`,check:`string_format`,...kl(t)})}function mm(e,t){return new e({type:`string`,format:`time`,check:`string_format`,precision:null,...kl(t)})}function hm(e,t){return new e({type:`string`,format:`duration`,check:`string_format`,...kl(t)})}function gm(e){return new e({type:`unknown`})}function _m(e,t){return new e({type:`never`,...kl(t)})}function vm(e,t){return new Od({check:`max_length`,...kl(t),maximum:e})}function ym(e,t){return new kd({check:`min_length`,...kl(t),minimum:e})}function bm(e,t){return new Ad({check:`length_equals`,...kl(t),length:e})}function xm(e,t){return new Md({check:`string_format`,format:`regex`,...kl(t),pattern:e})}function Sm(e){return new Nd({check:`string_format`,format:`lowercase`,...kl(e)})}function Cm(e){return new Pd({check:`string_format`,format:`uppercase`,...kl(e)})}function wm(e,t){return new Fd({check:`string_format`,format:`includes`,...kl(t),includes:e})}function Tm(e,t){return new Id({check:`string_format`,format:`starts_with`,...kl(t),prefix:e})}function Em(e,t){return new Ld({check:`string_format`,format:`ends_with`,...kl(t),suffix:e})}function Dm(e){return new Rd({check:`overwrite`,tx:e})}function Om(e){return Dm(t=>t.normalize(e))}function km(){return Dm(e=>e.trim())}function Am(){return Dm(e=>e.toLowerCase())}function jm(){return Dm(e=>e.toUpperCase())}function Mm(){return Dm(e=>bl(e))}function Nm(e,t,n){return new e({type:`array`,element:t,...kl(n)})}function Pm(e,t,n){return new e({type:`custom`,check:`custom`,fn:t,...kl(n)})}function Fm(e,t){let n=Im(t=>(t.addIssue=e=>{if(typeof e==`string`)t.issues.push(eu(e,t.value,n._zod.def));else{let r=e;r.fatal&&(r.continue=!1),r.code??=`custom`,`input`in r||(r.input=t.value),r.inst??=n,r.continue??=!n._zod.def.abort,t.issues.push(eu(r))}},e(t.value,t)),t);return n}function Im(e,t){let n=new Ed({check:`custom`,...kl(t)});return n._zod.check=e,n}function Lm(e,...t){for(let n of t)for(let t of Reflect.ownKeys(n))Object.prototype.propertyIsEnumerable.call(n,t)&&dl(e,t,n[t]);return e}function Rm(e){let t=e?.target??`draft-2020-12`;return t===`draft-4`&&(t=`draft-04`),t===`draft-7`&&(t=`draft-07`),{processors:e.processors??{},metadataRegistry:e?.metadata??Vp,target:t,unrepresentable:e?.unrepresentable??`throw`,override:e?.override??(()=>{}),io:e?.io??`output`,counter:0,seen:new Map,sharedDefsExtractedFor:void 0,sharedEmitDoneFor:void 0,cycles:e?.cycles??`ref`,reused:e?.reused??`inline`,intersections:[],deferred:[],external:e?.external??void 0}}function zm(e,t,n,r,i){let a=typeof t.unrepresentable==`function`?t.unrepresentable({zodSchema:e,path:r.path,message:i}):t.unrepresentable;if(a===`any`)return!1;if(a===void 0||a===`throw`)throw Error(i);return Object.assign(n,a),!0}function Bm(e,t,n={path:[],schemaPath:[]}){var r;let i=e._zod.def,a=t.seen.get(e);if(a)return a.count++,n.schemaPath.includes(e)&&(a.cycle=n.path),a.schema;let o={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,o),t.sharedDefsExtractedFor=void 0,t.sharedEmitDoneFor=void 0;let s=e._zod.toJSONSchema?.();if(s)o.schema=s;else{let r={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,o.schema,r);else{let n=o.schema,a=t.processors[i.type];if(!a)throw Error(`[toJSONSchema]: Non-representable type encountered: ${i.type}`);a(e,t,n,r)}let a=e._zod.parent;a&&(o.ref||=a,Bm(a,t,r),t.seen.get(a).isParent=!0)}let c=t.metadataRegistry.get(e);return c&&Lm(o.schema,c),t.io===`input`&&Xm(e)&&(delete o.schema.examples,delete o.schema.default),t.io===`input`&&`_prefault`in o.schema&&((r=o.schema).default??(r.default=o.schema._prefault)),delete o.schema._prefault,t.seen.get(e).schema}function Vm(e){return e.replace(/~/g,`~0`).replace(/\//g,`~1`)}function Hm(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);if(e.external&&e.sharedDefsExtractedFor===e.external)return;let r=new Map;for(let t of e.seen.entries()){let n=e.metadataRegistry.get(t[0])?.id;if(n){let e=r.get(n);if(e&&e!==t[0])throw Error(`Duplicate schema id "${n}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);r.set(n,t[0])}}let i=t=>{let r=e.target===`draft-2020-12`?`$defs`:`definitions`;if(e.external){let n=e.external.registry.get(t[0])?.id,i=e.external.uri??(e=>e);if(n)return{ref:i(n)};let a=t[1].defId??t[1].schema.id??`schema${e.counter++}`;return t[1].defId=a,{defId:a,ref:`${i(`__shared`)}#/${r}/${Vm(a)}`}}let i=`#/${r}/`;if(t[1]===n&&!t[1].schema.id)return{ref:`#`};let a=t[1].schema.id??`__schema${e.counter++}`;return{defId:a,ref:i+Vm(a)}},a=e=>{if(e[1].schema.$ref)return;let t=e[1],{ref:n,defId:r}=i(e);t.def={...t.schema},r&&(t.defId=r);let a=t.schema;for(let e in a)delete a[e];a.$ref=n};if(e.cycles===`throw`)for(let t of e.seen.entries()){let e=t[1];if(e.cycle)throw Error(`Cycle detected: #/${e.cycle?.join(`/`)}/<root>
62
62
 
63
- Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let n of e.seen.entries()){let r=n[1];if(t===n[0])a(n);else{if(e.external){let r=e.external.registry.get(n[0])?.id;if(t!==n[0]&&r){a(n);continue}}(e.metadataRegistry.get(n[0])?.id||r.cycle||r.count>1&&e.reused===`ref`)&&a(n)}}e.external&&(e.sharedDefsExtractedFor=e.external)}function Um(e){let t=e.anyOf;if(!Array.isArray(t)||t.length===0||e.type!==void 0)return;let n=[];for(let e of t){if(!e||typeof e!=`object`)return;Um(e);let t=Object.keys(e);if(t.length!==1||t[0]!==`type`)return;let r=e.type;for(let e of Array.isArray(r)?r:[r]){if(typeof e!=`string`)return;n.includes(e)||n.push(e)}}delete e.anyOf,e.type=n.length===1?n[0]:n}var Wm=new Set([`type`,`properties`,`required`,`additionalProperties`]),Gm=[`oneOf`,`anyOf`];function Km(e){let t=e.additionalProperties;return t===void 0||t===!1||typeof t!=`object`||!t?null:Object.keys(t).length?t:null}function qm(e){let t=[];for(let n of e){if(typeof n!=`object`||n.type!==`object`)return null;for(let e in n)if(!Wm.has(e))return null;t.push(n)}let n={},r=new Set;for(let e of t){for(let r in e.properties){if(Object.prototype.hasOwnProperty.call(n,r))continue;let e=[];for(let n of t){let t=n.properties?.[r]??Km(n);t!=null&&(e.some(e=>JSON.stringify(e)===JSON.stringify(t))||e.push(t))}dl(n,r,e.length===1?e[0]:qm(e)??{allOf:e})}for(let t of e.required??[])r.add(t)}let i={type:`object`,properties:n};if(r.size&&(i.required=[...r]),t.every(e=>e.additionalProperties===!1))i.additionalProperties=!1;else{let e=[];for(let n of t){let t=Km(n);t&&!e.some(e=>JSON.stringify(e)===JSON.stringify(t))&&e.push(t)}e.length===1?i.additionalProperties=e[0]:e.length>1&&(i.additionalProperties={allOf:e})}return i}function Jm(e){let t=e.allOf;if(!Array.isArray(t)||t.length<2)return;for(let t of Wm)if(t in e)return;let n=t.filter(e=>Gm.some(t=>Array.isArray(e[t]))),r=null;if(!n.length)r=qm(t);else{let e=n[0],i=Gm.find(t=>Array.isArray(e[t]));if(Object.keys(e).length!==1)return;let a=t.filter(t=>t!==e),o=e[i].map(e=>qm([...a,e]));if(o.some(e=>!e))return;r={[i]:o}}r&&(delete e.allOf,Lm(e,r))}function Ym(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);let r=t=>{let n=e.seen.get(t);if(n.ref===null)return;let i=n.def??n.schema,a={...i},o=n.ref;if(n.ref=null,o){r(o);let n=e.seen.get(o),s=n.schema;if(s.$ref&&(e.target===`draft-07`||e.target===`draft-04`||e.target===`openapi-3.0`)?(i.allOf=i.allOf??[],i.allOf.push(s)):Lm(i,s),Lm(i,a),t._zod.parent===o)for(let e in i)e!==`$ref`&&e!==`allOf`&&(e in a||delete i[e]);if(s.$ref&&n.def)for(let e in i)e!==`$ref`&&e!==`allOf`&&e in n.def&&JSON.stringify(i[e])===JSON.stringify(n.def[e])&&delete i[e]}let s=t._zod.parent;if(s&&s!==o){r(s);let t=e.seen.get(s);if(t?.schema.$ref&&(i.$ref=t.schema.$ref,t.def))for(let e in i)e!==`$ref`&&e!==`allOf`&&e in t.def&&JSON.stringify(i[e])===JSON.stringify(t.def[e])&&delete i[e]}e.override({zodSchema:t,jsonSchema:i,path:n.path??[]})};if(!e.external||e.sharedEmitDoneFor!==e.external){for(let t of[...e.seen.entries()].reverse())r(t[0]);if(e.target!==`openapi-3.0`)for(let t of e.seen.entries())Um(t[1].def??t[1].schema);for(let t of e.deferred)t();if(e.intersections.length){let t=new Map;for(let n of e.seen.values())for(let e of[n.schema,n.def]){let n=e?.allOf;if(!Array.isArray(n))continue;let r=t.get(n);r?r.push(e):t.set(n,[e])}for(let n of e.intersections)for(let e of t.get(n)??[])Jm(e)}}let i={};if(e.target===`draft-2020-12`?i.$schema=`https://json-schema.org/draft/2020-12/schema`:e.target===`draft-07`?i.$schema=`http://json-schema.org/draft-07/schema#`:e.target===`draft-04`?i.$schema=`http://json-schema.org/draft-04/schema#`:e.target,e.external?.uri){let n=e.external.registry.get(t)?.id;if(!n)throw Error("Schema is missing an `id` property");i.$id=e.external.uri(n)}Lm(i,n.defId?n.schema:n.def??n.schema);let a=e.metadataRegistry.get(t)?.id;a!==void 0&&i.id===a&&delete i.id;let o=e.external?.defs??{};if(!e.external||e.sharedEmitDoneFor!==e.external)for(let t of e.seen.entries()){let e=t[1];e.def&&e.defId&&(e.def.id===e.defId&&delete e.def.id,dl(o,e.defId,e.def))}e.external&&(e.sharedEmitDoneFor=e.external),e.external||Object.keys(o).length>0&&(e.target===`draft-2020-12`?i.$defs=o:i.definitions=o);try{let n=JSON.parse(JSON.stringify(i));return Object.defineProperty(n,"~standard",{value:{...t[`~standard`],jsonSchema:{input:Qm(t,`input`,e.processors),output:Qm(t,`output`,e.processors)}},enumerable:!1,writable:!1}),n}catch{throw Error(`Error converting schema to JSON.`)}}function Xm(e,t){let n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);let r=e._zod.def;if(r.type===`transform`)return!0;if(r.type===`array`)return Xm(r.element,n);if(r.type===`set`)return Xm(r.valueType,n);if(r.type===`lazy`)return Xm(r.getter(),n);if(r.type===`promise`||r.type===`optional`||r.type===`nonoptional`||r.type===`nullable`||r.type===`readonly`||r.type==="default"||r.type===`prefault`||r.type===`catch`)return Xm(r.innerType,n);if(r.type===`intersection`)return Xm(r.left,n)||Xm(r.right,n);if(r.type===`record`||r.type===`map`)return Xm(r.keyType,n)||Xm(r.valueType,n);if(r.type===`pipe`)return e._zod.traits.has(`$ZodCodec`)?!0:Xm(r.in,n)||Xm(r.out,n);if(r.type===`object`){for(let e in r.shape)if(Xm(r.shape[e],n))return!0;return!1}if(r.type===`union`){for(let e of r.options)if(Xm(e,n))return!0;return!1}if(r.type===`tuple`){for(let e of r.items)if(Xm(e,n))return!0;return!!(r.rest&&Xm(r.rest,n))}return!1}var Zm=(e,t={})=>n=>{let r=Rm({...n,processors:t});return Bm(e,r),Hm(r,e),Ym(r,e)},Qm=(e,t,n={})=>r=>{let{libraryOptions:i,target:a}=r??{},o=Rm({...i??{},target:a,io:t,processors:n});return Bm(e,o),Hm(o,e),Ym(o,e)},$m=(e,t,n)=>{(e[t]===void 0||n>e[t])&&(e[t]=n)},eh=(e,t,n)=>{(e[t]===void 0||n<e[t])&&(e[t]=n)},th=(e,t)=>{$m(e,`minimum`,t),eh(e,`maximum`,t)},nh=(e,t)=>{e.multipleOf??=[],e.multipleOf.includes(t)||e.multipleOf.push(t)},rh=(e,t)=>{e.patterns??=new Set,e.patterns.add(t)},ih=(e,t)=>{e.mime=e.mime?e.mime.filter(e=>t.includes(e)):[...t]},ah=(e,t)=>{e.format=t,t.includes(`int`)&&(e.isInt=!0)},oh=(e,t)=>$m(e,`minimum`,t.minimum),sh=(e,t)=>eh(e,`maximum`,t.maximum),ch=e=>(t,n)=>{ah(t,n.format);let[r,i]=e[n.format];$m(t,`minimum`,r),eh(t,`maximum`,i)},lh={greater_than:(e,t)=>$m(e,t.inclusive?`minimum`:`exclusiveMinimum`,t.value),less_than:(e,t)=>eh(e,t.inclusive?`maximum`:`exclusiveMaximum`,t.value),multiple_of:(e,t)=>nh(e,t.value),number_format:ch(Ml),bigint_format:ch(Nl),min_length:oh,max_length:sh,length_equals:(e,t)=>th(e,t.length),min_size:oh,max_size:sh,size_equals:(e,t)=>th(e,t.size),string_format:(e,t)=>{ah(e,t.format),t.pattern&&rh(e,t.pattern),(t.format===`base64`||t.format===`base64url`)&&(e.contentEncoding=t.format),(t.local||t.precision===-1)&&(e.laxFormat=!0)},mime_type:(e,t)=>ih(e,t.mime)};function uh(e){let t={},n=e._zod.def,r=e._zod.traits.has(`$ZodCheck`)?[e,...n.checks??[]]:n.checks??[];for(let e of r)lh[e._zod.def.check]?.(t,e._zod.def);let i=e._zod.bag;i.minimum!==void 0&&$m(t,`minimum`,i.minimum),i.exclusiveMinimum!==void 0&&$m(t,`exclusiveMinimum`,i.exclusiveMinimum),i.maximum!==void 0&&eh(t,`maximum`,i.maximum),i.exclusiveMaximum!==void 0&&eh(t,`exclusiveMaximum`,i.exclusiveMaximum),i.multipleOf!==void 0&&nh(t,i.multipleOf),i.format!==void 0&&(t.format??=i.format,i.format.includes(`int`)&&(t.isInt=!0)),i.mime&&ih(t,i.mime);for(let e of i.patterns??[])rh(t,e);return t}var dh={guid:`uuid`,url:`uri`,datetime:`date-time`,json_string:`json-string`,regex:``},fh=new Map([[wf,pd],[Ef,md]]),ph=e=>fh.get(e)??e,mh=(e,t,n,r)=>{let i=n;i.type=`string`;let{minimum:a,maximum:o,format:s,patterns:c,contentEncoding:l,laxFormat:u}=uh(e);if(typeof a==`number`&&(i.minLength=a),typeof o==`number`&&(i.maxLength=o),s&&(i.format=dh[s]??s,i.format===``&&delete i.format,(s===`time`||u)&&delete i.format),l&&(i.contentEncoding=l),c&&c.size>0){let e=[...c].map(ph);e.length===1?i.pattern=e[0].source:e.length>1&&(i.allOf=[...e.map(e=>({...t.target===`draft-07`||t.target===`draft-04`||t.target===`openapi-3.0`?{type:`string`}:{},pattern:e.source}))])}},hh=(e,t,n,r)=>{n.not={}},gh=(e,t,n,r)=>{let i=e._zod.def,a=nl(i.entries);a.length===0?n.not={}:(a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),n.enum=a)},_h=(e,t,n,r)=>{let i=e._zod.def;if(i.values.length===0){n.not={};return}let a=[];for(let o of i.values)if(o===void 0){if(zm(e,t,n,r,"Literal `undefined` cannot be represented in JSON Schema"))return}else if(typeof o==`bigint`){if(zm(e,t,n,r,`BigInt literals cannot be represented in JSON Schema`))return;a.push(Number(o))}else a.push(o);if(a.length!==0){if(a.length===1){let e=a[0];n.type=e===null?`null`:typeof e,t.target===`draft-04`||t.target===`openapi-3.0`?n.enum=[e]:n.const=e}else a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),a.every(e=>typeof e==`boolean`)&&(n.type=`boolean`),a.every(e=>e===null)&&(n.type=`null`),n.enum=a}},vh=(e,t,n,r)=>{zm(e,t,n,r,`Custom types cannot be represented in JSON Schema`)},yh=(e,t,n,r)=>{zm(e,t,n,r,`Transforms cannot be represented in JSON Schema`)},bh=(e,t,n,r)=>{let i=n,a=e._zod.def,{minimum:o,maximum:s}=uh(e);typeof o==`number`&&(i.minItems=o),typeof s==`number`&&(i.maxItems=s),i.type=`array`,i.items=Bm(a.element,t,{...r,path:[...r.path,`items`]})};function xh(e){let t=e._zod.def;return t.type===`pipe`&&t.in._zod.traits.has(`$ZodTransform`)?xh(t.out):t.type===`catch`?xh(t.innerType):e._zod.optin}var Sh=(e,t,n,r)=>{let i=n,a=e._zod.def,o=a.shape;if(Object.getOwnPropertySymbols(o).length&&zm(e,t,i,r,`Symbol keys cannot be represented in JSON Schema`))return;i.type=`object`,i.properties={};for(let e in o)dl(i.properties,e,Bm(o[e],t,{...r,path:[...r.path,`properties`,e]}));let s=[];for(let e of Object.keys(o)){let n=a.shape[e];(t.io===`input`?xh(n)===void 0:n._zod.optout===void 0)&&s.push(e)}s.length>0&&(i.required=s),a.catchall?._zod.def.type===`never`?i.additionalProperties=!1:a.catchall?a.catchall&&(i.additionalProperties=Bm(a.catchall,t,{...r,path:[...r.path,`additionalProperties`]})):t.io===`output`&&(i.additionalProperties=!1)},Ch=(e,t,n,r)=>{let i=e._zod.def,a=i.inclusive===!1,o=i.options.map((e,n)=>Bm(e,t,{...r,path:[...r.path,a?`oneOf`:`anyOf`,n]}));a?n.oneOf=o:n.anyOf=o},wh=(e,t,n,r)=>{let i=e._zod.def,a=Bm(i.left,t,{...r,path:[...r.path,`allOf`,0]}),o=Bm(i.right,t,{...r,path:[...r.path,`allOf`,1]}),s=e=>`allOf`in e&&Object.keys(e).length===1,c=[...s(a)?a.allOf:[a],...s(o)?o.allOf:[o]];n.allOf=c,t.intersections.push(c)},Th=(e,t,n,r)=>{let i=e._zod.def,a=Bm(i.innerType,t,r),o=t.seen.get(e);t.target===`openapi-3.0`?(o.ref=i.innerType,n.nullable=!0):n.anyOf=[a,{type:`null`}]},Eh=(e,t,n,r)=>{let i=e._zod.def;Bm(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},Dh=Symbol();function Oh(e,t,n,r,i){let a=!1,o=JSON.stringify(e,(e,t)=>typeof t==`bigint`?(a=!0,null):t);return a?(zm(t,n,r,i,`BigInt defaults cannot be represented in JSON Schema`),Dh):JSON.parse(o)}var kh=(e,t,n,r)=>{let i=e._zod.def;Bm(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType;let o=Oh(i.defaultValue,e,t,n,r);o!==Dh&&(n.default=o)},Ah=(e,t,n,r)=>{let i=e._zod.def;Bm(i.innerType,t,r);let a=t.seen.get(e);if(a.ref=i.innerType,t.io!==`input`)return;let o=Oh(i.defaultValue,e,t,n,r);o!==Dh&&(n._prefault=o)},jh=(e,t,n,r)=>{let i=e._zod.def;Bm(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType;let o;try{o=i.catchValue(void 0)}catch{zm(e,t,n,r,`Dynamic catch values are not supported in JSON Schema`);return}n.default=o},Mh=(e,t,n,r)=>{let i=e._zod.def,a=i.in._zod.traits.has(`$ZodTransform`),o=t.io===`input`?a?i.out:i.in:i.out;Bm(o,t,r);let s=t.seen.get(e);s.ref=o},Nh=(e,t,n,r)=>{let i=e._zod.def;Bm(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.readOnly=!0},Ph=(e,t,n,r)=>{let i=e._zod.def;Bm(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},Fh=(e,t,n,r)=>{let i=e._zod.innerType;Bm(i,t,r);let a=t.seen.get(e);a.ref=i},Ih=new WeakSet([Object.prototype,Error.prototype]);function Lh(e,t,n){Object.defineProperty(e,t,{configurable:!0,enumerable:!1,get(){let e=n(this);return Object.defineProperty(this,t,{value:e,configurable:!0,writable:!0}),e},set(e){Object.defineProperty(this,t,{value:e,configurable:!0,writable:!0})}})}var Rh=B(`ZodError`,(e,t)=>{Du.init(e,t),e.name=`ZodError`;let n=Object.getPrototypeOf(e);Ih.has(n)||(Ih.add(n),Lh(n,`format`,e=>t=>Au(e,t)),Lh(n,`flatten`,e=>t=>ku(e,t)),Lh(n,`addIssue`,e=>t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,il,2)}),Lh(n,`addIssues`,e=>t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,il,2)}),Object.defineProperty(n,"isEmpty",{configurable:!0,enumerable:!1,get(){return this.issues.length===0}}))},void 0,{Parent:Error}),zh=Mu(Rh),Bh=Nu(Rh),Vh=Pu(Rh),Hh=Iu(Rh),Uh=Hu(Rh),Wh=Uu(Rh),Gh=Wu(Rh),Kh=Gu(Rh),qh=Ku(Rh),Jh=qu(Rh),Yh=Ju(Rh),Xh=Yu(Rh);function Zh(){bu.localeError||xu(Lp())}function Qh(){bu.memoizer||xu({memoizer:Pp()})}var $h=B(`ZodType`,(e,t)=>(Zh(),Vd.init(e,t),e.def=t,e.type=t.type,e),{check(...e){let t=this.def;return this.clone(vl(t,{checks:[...t.checks??[],...e.map(e=>typeof e==`function`?{_zod:{check:e,def:{check:`custom`},onattach:[]}}:e)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,t){return Ol(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},refine(e,t){return this.check(o_(e,t))},superRefine(e,t){return this.check(s_(e,t))},overwrite(e){return this.check(Dm(e))},optional(){return Hg(this)},exactOptional(){return Wg(this)},nullable(){return Kg(this)},nullish(){return Hg(Kg(this))},nonoptional(e){return Qg(this,e)},array(){return Mg(this)},or(e){return Ig([this,e])},and(e){return nee(this,e)},transform(e){return e_(this,Bg(e))},default(e){return Jg(this,e)},prefault(e){return Xg(this,e)},catch(e){return see(this,e)},pipe(e){return e_(this,e)},readonly(){return n_(this)},describe(e){let t=this.clone();return Vp.add(t,{description:e}),t},meta(...e){if(e.length===0)return Vp.get(this);let t=this.clone();return Vp.add(t,e[0]),t},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(e,...t){return t.length===0?e(this):e(this,...t)},get"~standard"(){return ru(this,`~standard`,{...Wd(this),jsonSchema:{input:Qm(this,`input`),output:Qm(this,`output`)}})},set"~standard"(e){nu(this,`~standard`,e)},parse:function e(t,n){return zh(this,t,n,{callee:e})},parseAsync:async function e(t,n){return await Bh(this,t,n,{callee:e})},safeParse(e,t){return Vh(this,e,t)},async safeParseAsync(e,t){return Hh(this,e,t)},get spa(){return this?.safeParseAsync},set spa(e){nu(this,`spa`,e)},validate(e,t){return zu(this,e,t)},validateAsync(e,t){return Vu(this,e,t)},encode:function e(t,n){return Uh(this,t,n,{callee:e})},decode:function e(t,n){return Wh(this,t,n,{callee:e})},encodeAsync:async function e(t,n){return await Gh(this,t,n,{callee:e})},decodeAsync:async function e(t,n){return await Kh(this,t,n,{callee:e})},safeEncode(e,t){return qh(this,e,t)},safeDecode(e,t){return Jh(this,e,t)},async safeEncodeAsync(e,t){return Yh(this,e,t)},async safeDecodeAsync(e,t){return Xh(this,e,t)},toJSONSchema(e){return Zm(this,{})(e)},get description(){return Vp.get(this)?.description},get _def(){return this._zod.def}}),eg=B(`_ZodString`,(e,t)=>{Gd.init(e,t),$h.init(e,t),e._zod.processJSONSchema=(t,n,r)=>mh(e,t,n,r)},iu({format:e=>uh(e).format??null,minLength:e=>uh(e).minimum??null,maxLength:e=>uh(e).maximum??null},{regex(...e){return this.check(xm(...e))},includes(...e){return this.check(wm(...e))},startsWith(...e){return this.check(Tm(...e))},endsWith(...e){return this.check(Em(...e))},min(...e){return this.check(ym(...e))},max(...e){return this.check(vm(...e))},length(...e){return this.check(bm(...e))},nonempty(...e){return this.check(ym(1,...e))},lowercase(e){return this.check(Sm(e))},uppercase(e){return this.check(Cm(e))},trim(){return this.check(km())},normalize(...e){return this.check(Om(...e))},toLowerCase(){return this.check(Am())},toUpperCase(){return this.check(jm())},slugify(){return this.check(Mm())}})),tg=B(`ZodString`,(e,t)=>{Gd.init(e,t),eg.init(e,t)},{email(e){return this.check(Wp(cg,e))},url(e){return this.check(Xp(dg,e))},jwt(e){return this.check(dm(Eg,e))},emoji(e){return this.check(Zp(fg,e))},guid(e){return this.check(Gp(lg,e))},uuid(e){return this.check(Kp(ug,e))},uuidv4(e){return this.check(qp(ug,e))},uuidv6(e){return this.check(Jp(ug,e))},uuidv7(e){return this.check(Yp(ug,e))},nanoid(e){return this.check(Qp(pg,e))},cuid(e){return this.check($p(mg,e))},cuid2(e){return this.check(em(hg,e))},ulid(e){return this.check(tm(gg,e))},base64(e){return this.check(cm(Cg,e))},base64url(e){return this.check(lm(wg,e))},xid(e){return this.check(nm(_g,e))},ksuid(e){return this.check(rm(vg,e))},ipv4(e){return this.check(im(yg,e))},ipv6(e){return this.check(am(bg,e))},cidrv4(e){return this.check(om(xg,e))},cidrv6(e){return this.check(sm(Sg,e))},e164(e){return this.check(um(Tg,e))},datetime(e){return this.check(fm(ig,e))},date(e){return this.check(pm(ag,e))},time(e){return this.check(mm(og,e))},duration(e){return this.check(hm(sg,e))}});function ng(e){return Up(tg,e)}var rg=B(`ZodStringFormat`,(e,t)=>{Kd.init(e,t),eg.init(e,t)}),ig=B(`ZodISODateTime`,(e,t)=>{ff.init(e,t),rg.init(e,t)}),ag=B(`ZodISODate`,(e,t)=>{pf.init(e,t),rg.init(e,t)}),og=B(`ZodISOTime`,(e,t)=>{mf.init(e,t),rg.init(e,t)}),sg=B(`ZodISODuration`,(e,t)=>{hf.init(e,t),rg.init(e,t)}),cg=B(`ZodEmail`,(e,t)=>{Yd.init(e,t),rg.init(e,t)}),lg=B(`ZodGUID`,(e,t)=>{qd.init(e,t),rg.init(e,t)}),ug=B(`ZodUUID`,(e,t)=>{Jd.init(e,t),rg.init(e,t)}),dg=B(`ZodURL`,(e,t)=>{rf.init(e,t),rg.init(e,t)}),fg=B(`ZodEmoji`,(e,t)=>{af.init(e,t),rg.init(e,t)}),pg=B(`ZodNanoID`,(e,t)=>{of.init(e,t),rg.init(e,t)}),mg=B(`ZodCUID`,(e,t)=>{sf.init(e,t),rg.init(e,t)}),hg=B(`ZodCUID2`,(e,t)=>{cf.init(e,t),rg.init(e,t)}),gg=B(`ZodULID`,(e,t)=>{lf.init(e,t),rg.init(e,t)}),_g=B(`ZodXID`,(e,t)=>{uf.init(e,t),rg.init(e,t)}),vg=B(`ZodKSUID`,(e,t)=>{df.init(e,t),rg.init(e,t)}),yg=B(`ZodIPv4`,(e,t)=>{gf.init(e,t),rg.init(e,t)}),bg=B(`ZodIPv6`,(e,t)=>{yf.init(e,t),rg.init(e,t)}),xg=B(`ZodCIDRv4`,(e,t)=>{bf.init(e,t),rg.init(e,t)}),Sg=B(`ZodCIDRv6`,(e,t)=>{Sf.init(e,t),rg.init(e,t)}),Cg=B(`ZodBase64`,(e,t)=>{Tf.init(e,t),rg.init(e,t)}),wg=B(`ZodBase64URL`,(e,t)=>{Of.init(e,t),rg.init(e,t)}),Tg=B(`ZodE164`,(e,t)=>{kf.init(e,t),rg.init(e,t)}),Eg=B(`ZodJWT`,(e,t)=>{jf.init(e,t),rg.init(e,t)}),Dg=B(`ZodUnknown`,(e,t)=>{Mf.init(e,t),$h.init(e,t),e._zod.processJSONSchema=(e,t,n)=>void 0});function Og(){return gm(Dg)}var kg=B(`ZodNever`,(e,t)=>{Nf.init(e,t),$h.init(e,t),e._zod.processJSONSchema=(t,n,r)=>hh(e,t,n,r)});function Ag(e){return _m(kg,e)}var jg=B(`ZodArray`,(e,t)=>{Qh(),Lf.init(e,t),$h.init(e,t),e._zod.processJSONSchema=(t,n,r)=>bh(e,t,n,r),e.element=t.element},{min(e,t){return this.check(ym(e,t))},nonempty(e){return this.check(ym(1,e))},max(e,t){return this.check(vm(e,t))},length(e,t){return this.check(bm(e,t))},unwrap(){return this.element}});function Mg(e,t){return Nm(jg,e,t)}var Ng=B(`ZodObject`,(e,t)=>{Qh(),Uf.init(e,t),$h.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Sh(e,t,n,r),du(e,`shape`,e=>e._zod.def.shape,!1)},{keyof(){return ree(Object.keys(this._zod.def.shape))},catchall(e){return this.clone(vl(this._zod.def,{catchall:e}))},passthrough(){return this.clone(vl(this._zod.def,{catchall:Og()}))},loose(){return this.clone(vl(this._zod.def,{catchall:Og()}))},strict(){return this.clone(vl(this._zod.def,{catchall:Ag()}))},strip(){return this.clone(vl(this._zod.def,{catchall:void 0}))},extend(e){return Ll(this,e)},safeExtend(e){return zl(this,e)},merge(e){return Bl(this,e)},pick(e){return Pl(this,e)},omit(e){return Il(this,e)},partial(...e){return Vl(Vg,this,e[0])},exactPartial(...e){return Vl(Ug,this,e[0],`exactPartial`)},required(...e){return Hl(Zg,this,e[0])}});function Pg(e,t){return new Ng({type:`object`,shape:e??{},...kl(t)})}var Fg=B(`ZodUnion`,(e,t)=>{Gf.init(e,t),$h.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ch(e,t,n,r),e.options=t.options});function Ig(e,t){return new Fg({type:`union`,options:e,...kl(t)})}var eee=B(`ZodDiscriminatedUnion`,(e,t)=>{Fg.init(e,t),qf.init(e,t)});function Lg(e,t,n){return new eee({type:`union`,options:t,discriminator:e,...kl(n)})}var tee=B(`ZodIntersection`,(e,t)=>{Jf.init(e,t),$h.init(e,t),e._zod.processJSONSchema=(t,n,r)=>wh(e,t,n,r)});function nee(e,t){return new tee({type:`intersection`,left:e,right:t})}var Rg=B(`ZodEnum`,(e,t)=>{Zf.init(e,t),$h.init(e,t),e._zod.processJSONSchema=(t,n,r)=>gh(e,t,n,r),e.enum=t.entries,e.options=[...e._zod.values];let n=new Set(Object.keys(t.entries));e.extract=(e,r)=>{let i={};for(let r of e)if(n.has(r))i[r]=t.entries[r];else throw Error(`Key ${r} not found in enum`);return new Rg({...t,checks:[],...kl(r),entries:i})},e.exclude=(e,r)=>{let i={...t.entries};for(let t of e)if(n.has(t))delete i[t];else throw Error(`Key ${t} not found in enum`);return new Rg({...t,checks:[],...kl(r),entries:i})}});function ree(e,t){return new Rg({type:`enum`,entries:Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e,...kl(t)})}var iee=B(`ZodLiteral`,(e,t)=>{Qf.init(e,t),$h.init(e,t),e._zod.processJSONSchema=(t,n,r)=>_h(e,t,n,r),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function zg(e,t){return new iee({type:`literal`,values:Array.isArray(e)?e:[e],...kl(t)})}var aee=B(`ZodTransform`,(e,t)=>{Qh(),$f.init(e,t),$h.init(e,t),e._zod.processJSONSchema=(t,n,r)=>yh(e,t,n,r),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new yu(e.constructor.name);n.addIssue=r=>{if(typeof r==`string`)n.issues.push(eu(r,n.value,t));else{let t=r;t.fatal&&(t.continue=!1),t.code??=`custom`,`input`in t||(t.input=n.value),t.inst??=e,n.issues.push(eu(t))}};let i=t.transform(n.value,n);return i instanceof Promise?i.then(e=>(n.value=e,n)):(n.value=i,n)}});function Bg(e){return new aee({type:`transform`,transform:e})}var Vg=B(`ZodOptional`,(e,t)=>{tp.init(e,t),$h.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ph(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function Hg(e){return new Vg({type:`optional`,innerType:e})}var Ug=B(`ZodExactOptional`,(e,t)=>{np.init(e,t),$h.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ph(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function Wg(e){return new Ug({type:`optional`,innerType:e})}var Gg=B(`ZodNullable`,(e,t)=>{rp.init(e,t),$h.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Th(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function Kg(e){return new Gg({type:`nullable`,innerType:e})}var qg=B(`ZodDefault`,(e,t)=>{ip.init(e,t),$h.init(e,t),e._zod.processJSONSchema=(t,n,r)=>kh(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function Jg(e,t){return new qg({type:`default`,innerType:e,get defaultValue(){return typeof t==`function`?t():Tl(t)}})}var Yg=B(`ZodPrefault`,(e,t)=>{op.init(e,t),$h.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ah(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function Xg(e,t){return new Yg({type:`prefault`,innerType:e,get defaultValue(){return typeof t==`function`?t():Tl(t)}})}var Zg=B(`ZodNonOptional`,(e,t)=>{sp.init(e,t),$h.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Eh(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function Qg(e,t){return new Zg({type:`nonoptional`,innerType:e,...kl(t)})}var oee=B(`ZodCatch`,(e,t)=>{up.init(e,t),$h.init(e,t),e._zod.processJSONSchema=(t,n,r)=>jh(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function see(e,t){return new oee({type:`catch`,innerType:e,catchValue:typeof t==`function`?t:pu(t)})}var $g=B(`ZodPipe`,(e,t)=>{dp.init(e,t),$h.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Mh(e,t,n,r),e.in=t.in,e.out=t.out});function e_(e,t){return new $g({type:`pipe`,in:e,out:t})}var cee=B(`ZodPreprocess`,(e,t)=>{$g.init(e,t),pp.init(e,t)}),t_=B(`ZodReadonly`,(e,t)=>{mp.init(e,t),$h.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Nh(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function n_(e){return new t_({type:`readonly`,innerType:e})}var r_=B(`ZodLazy`,(e,t)=>{gp.init(e,t),$h.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Fh(e,t,n,r),e.unwrap=()=>e._zod.def.getter()});function i_(e){return new r_({type:`lazy`,getter:e})}var a_=B(`ZodCustom`,(e,t)=>{_p.init(e,t),$h.init(e,t),e._zod.processJSONSchema=(t,n,r)=>vh(e,t,n,r)});function o_(e,t={}){return Pm(a_,e,t)}function s_(e,t){return Fm(e,t)}function c_(e,t){return new cee({type:`pipe`,in:Bg(e),out:t})}function l_(e){return e.deletedAt===void 0}function u_(e){return e.deletedAt!==void 0}function d_(e){return e.published!==void 0&&e.published.revision!==e.revision}function f_(e){return e.filter(e=>e.deletedAt===void 0)}var p_=class extends Qc{code=`unknown_type`},m_=class{noun;#e=new Map;constructor(e){this.noun=e}register(e){if(this.#e.has(e.type))throw new $c(`A ${this.noun} named "${e.type}" is already registered.`);return this.#e.set(e.type,e),this}has(e){return this.#e.has(e)}get(e){let t=this.#e.get(e);if(!t){let t=[...this.#e.keys()].sort().join(`, `);throw new p_(`There is no ${this.noun} named "${e}". Registered: ${t}.`)}return t}list(){return[...this.#e.values()]}};function h_(e){return/^(?:https?:\/\/|mailto:|tel:)\S+$/i.test(e)?!0:/^(?:\/(?!\/)|#)\S*$/.test(e)}var g_=Lg(`type`,[Pg({type:zg(`bold`)}),Pg({type:zg(`italic`)}),Pg({type:zg(`link`),attrs:Pg({href:ng().max(2e3).refine(h_,`A link must be a web address, an email address, a phone number or a page of this site.`)})})]),__=Lg(`type`,[Pg({type:zg(`text`),text:ng().min(1),marks:Mg(g_).optional()}),Pg({type:zg(`hardBreak`)})]),v_=i_(()=>Lg(`type`,[Pg({type:zg(`paragraph`),content:Mg(__).optional()}),Pg({type:zg(`heading`),attrs:Pg({level:Ig([zg(2),zg(3)])}),content:Mg(__).optional()}),Pg({type:zg(`blockquote`),content:Mg(v_)}),Pg({type:zg(`bulletList`),content:Mg(y_)}),Pg({type:zg(`orderedList`),content:Mg(y_)})])),y_=Pg({type:zg(`listItem`),content:Mg(v_)}),b_=12,x_=e=>{let t=typeof e==`object`&&e?e.content:void 0;return Array.isArray(t)?1+Math.max(0,...t.map(x_)):1};function S_(e){return{type:`doc`,content:(typeof e==`string`?e.split(/\n+/):e).map(e=>e.trim()).filter(e=>e!==``).map(e=>({type:`paragraph`,content:[{type:`text`,text:e}]}))}}var lee=e=>typeof e==`string`||Array.isArray(e)&&e.every(e=>typeof e==`string`);c_(e=>lee(e)?S_(e):e,Pg({type:zg(`doc`),content:Mg(v_)}).refine(e=>x_(e)<=b_,`Lists and quotes are nested too deeply.`));var C_=[`bold`,`italic`,`link`,`headings`,`lists`,`quotes`];Pg({});var uee=/^(?:#(?:[0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})|(?:oklch|oklab|rgb|hsl)\([0-9.%,/ -]+\))$/i;function dee(e){return typeof e==`string`&&e.length<=64&&uee.test(e)}var w_=/^[a-z0-9]+(?:-[a-z0-9]+)*$/;function T_(e){return e.length<=200&&w_.test(e)}function E_(e){let t=e.split(`/`);return e.length<=200&&t.length<=5&&t.every(e=>w_.test(e))}var D_=`...slug`;function O_(e){return[e.urlPattern,...Object.values(e.localizedUrlPatterns??{})].some(e=>e?.includes(`[${D_}]`)===!0)}var k_=`$slug`,A_=[`resend`],j_=(e,t,n)=>[...n].every((n,r)=>e[t+r]===n.charCodeAt(0)),M_=(e,t)=>(e[t]??0)<<8|(e[t+1]??0),N_=(e,t)=>M_(e,t)*65536+M_(e,t+2),P_=(e,t)=>(e[t]??0)|(e[t+1]??0)<<8,F_=(e,t)=>P_(e,t)|(e[t+2]??0)<<16;function I_(e){return e.length<24||![137,80,78,71,13,10,26,10].every((t,n)=>e[n]===t)||!j_(e,12,`IHDR`)?null:{contentType:`image/png`,extension:`png`,width:N_(e,16),height:N_(e,20)}}function L_(e){if(e[0]!==255||e[1]!==216)return null;let t=2;for(;t+9<e.length;){if(e[t]!==255)return null;let n=e[t+1]??0;if(n===255)t+=1;else if(n===1||n>=208&&n<=215)t+=2;else{if(n>=192&&n<=207&&n!==196&&n!==200&&n!==204)return{contentType:`image/jpeg`,extension:`jpg`,width:M_(e,t+7),height:M_(e,t+5)};if(n===218||n===217)return null;t+=2+M_(e,t+2)}}return null}function R_(e){if(e.length<30||!j_(e,0,`RIFF`)||!j_(e,8,`WEBP`))return null;let t=(e,t)=>({contentType:`image/webp`,extension:`webp`,width:e,height:t});if(j_(e,12,`VP8X`))return t(F_(e,24)+1,F_(e,27)+1);if(j_(e,12,`VP8 `))return t(P_(e,26)&16383,P_(e,28)&16383);if(j_(e,12,`VP8L`)&&e[20]===47){let n=P_(e,21)+P_(e,23)*65536;return t((n&16383)+1,(Math.floor(n/16384)&16383)+1)}return null}function z_(e){let t=I_(e)??L_(e)??R_(e);return t&&t.width>0&&t.height>0?t:null}var B_=2560,V_=(e,t,n)=>t===n?e.urlPattern:e.localizedUrlPatterns?.[t],H_=e=>e.urlPattern!==void 0||Object.keys(e.localizedUrlPatterns??{}).length>0;function U_(e,t,n){let r=V_(e,t.locale,n);if(r===void 0)return null;let i=!0,a=r.replace(/\[([^\]]+)\]/g,(n,r)=>{if(r===`...slug`)return E_(t.slug)||(i=!1),t.slug===`index`?``:t.slug;let a=r===`slug`?void 0:f_(e.fields).find(e=>e.key===r),o=r===`slug`?t.slug:a?t.data[a.id]:void 0;return typeof o!=`string`||!/^[A-Za-z0-9][A-Za-z0-9._~-]*$/.test(o)?(i=!1,``):o});return i?`${a.replace(/\/{2,}/g,`/`).replace(/\/+$/,``)}/`:null}function W_(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`){if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=W_(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n)}return r}function G_(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=W_(e))&&(r&&(r+=` `),r+=t);return r}var K_=e=>typeof e==`boolean`?`${e}`:e===0?`0`:e,q_=G_,V=(e,t)=>n=>{if(t?.variants==null)return q_(e,n?.class,n?.className);let{variants:r,defaultVariants:i}=t,a=Object.keys(r).map(e=>{let t=n?.[e],a=i?.[e];if(t===null)return null;let o=K_(t)||K_(a);return r[e][o]}),o=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return r===void 0||(e[n]=r),e},{});return q_(e,a,t?.compoundVariants?.reduce((e,t)=>{let{class:n,className:r,...a}=t;return Object.entries(a).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...i,...o}[t]):{...i,...o}[t]===n})?[...e,n,r]:e},[]),n?.class,n?.className)},J_={0:`gap-0`,1:`gap-1`,2:`gap-2`,3:`gap-3`,4:`gap-4`,5:`gap-5`,6:`gap-6`,8:`gap-8`,10:`gap-10`,12:`gap-12`},Y_=V(``,{variants:{padding:{0:`p-0`,1:`p-1`,2:`p-2`,3:`p-3`,4:`p-4`,5:`p-5`,6:`p-6`,8:`p-8`,10:`p-10`,12:`p-12`},paddingX:{0:`px-0`,1:`px-1`,2:`px-2`,3:`px-3`,4:`px-4`,5:`px-5`,6:`px-6`,8:`px-8`,10:`px-10`,12:`px-4 md:px-12`},paddingY:{0:`py-0`,1:`py-1`,2:`py-2`,3:`py-3`,4:`py-4`,5:`py-5`,6:`py-6`,8:`py-8`,10:`py-6 md:py-10`,12:`py-12`},surface:{none:``,page:`bg-background`,subtle:`bg-background-secondary`,card:`bg-card`},border:{true:`border border-border`},radius:{none:``,sm:`rounded-sm`,md:`rounded-md`,lg:`rounded-lg`},shadow:{none:``,sm:`shadow-sm`,md:`shadow-md`},maxWidth:{none:``,xs:`max-w-sm`,sm:`max-w-md`,md:`max-w-2xl`,lg:`max-w-4xl`},grow:{true:`min-w-0 flex-1`}},defaultVariants:{surface:`none`,radius:`none`,shadow:`none`,maxWidth:`none`}});function X_({as:e=`div`,label:t,children:n,...r}){return(0,S.jsx)(e,{className:Y_(r),"aria-label":t,children:n})}var Z_=e=>e?.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase();function Q_(e,t,n=[]){if(t==null)throw Error(`[lucide]: iconNode is required when icon name is used`);return{name:Z_(e),size:24,node:t,...n.length>0?{aliases:n}:{}}}var $_=e=>{let t=``,n=!1;for(let r of e)r===`-`||r===`_`||r<=` `?n=t.length>0:(t.length===0?t+=r.toLowerCase():t+=n?r.toUpperCase():r,n=!1);return t},ev=e=>{let t=$_(e);return t.charAt(0).toUpperCase()+t.slice(1)},tv=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),nv={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":2,"stroke-linecap":`round`,"stroke-linejoin":`round`};function rv(e){return e!=null}function iv(e,t={}){let n=t.attributeNames??{},r=e=>n[e]??e,i=e.size??e.width??nv.width,a=e.size??e.height??nv.height,o=e.aliases?.filter(e=>typeof e==`string`&&e.trim()!==``).map(e=>`lucide-${e}`)??[],s=[...e.name?[`lucide-${e.name}`]:[],...o],c=t.className?.split(` `).filter(Boolean)??[],l=t.includeDefaultClasses===!1?tv(...c):tv(`lucide`,...s,...c),u=t.absoluteStrokeWidth?Number(t.strokeWidth??nv[`stroke-width`])*Number(e.size??e.width??nv.width)/Number(t.size??t.width??nv.width):t.strokeWidth??nv[`stroke-width`];return[`svg`,{...Object.entries(nv).reduce((e,[t,n])=>(e[r(t)]=n,e),{}),...`color`in t&&t.color&&{[r(`stroke`)]:t.color},...`size`in t&&rv(t.size)&&{[r(`width`)]:t.size,[r(`height`)]:t.size},...`width`in t&&rv(t.width)&&{[r(`width`)]:t.width},...`height`in t&&rv(t.height)&&{[r(`height`)]:t.height},[r(`stroke-width`)]:u,...l&&{[r(`class`)]:l},[r(`viewBox`)]:`0 0 ${i} ${a}`,...t.hasA11yProp===!1?{[r(`aria-hidden`)]:`true`}:{},...`attributes`in t&&t.attributes},e.node.map(e=>{let[n,i,a]=e,o=t.nonScalingStroke?{[r(`vector-effect`)]:`non-scaling-stroke`,...i}:i;return a?[n,o,a]:[n,o]})]}function av(e,t={}){return iv(e,{...t,attributeNames:{...t.attributeNames,class:`className`,"stroke-width":`strokeWidth`,"stroke-linecap":`strokeLinecap`,"stroke-linejoin":`strokeLinejoin`,"vector-effect":`vectorEffect`}})}var ov=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},sv=(0,x.createContext)({}),cv=()=>(0,x.useContext)(sv),lv=(0,x.forwardRef)(({color:e,size:t,width:n,height:r,strokeWidth:i,absoluteStrokeWidth:a,nonScalingStroke:o,className:s=``,children:c,iconNode:l=[],icon:u={node:l,aliases:[],size:24},...d},f)=>{let{size:p=24,strokeWidth:m=2,absoluteStrokeWidth:h=!1,nonScalingStroke:g=!1,color:_=`currentColor`,className:v=``}=cv()??{},y=!!c||ov(d),[b,S,C=[]]=av(u,{color:e??_,width:n??t??p,height:r??t??p,strokeWidth:i??m,absoluteStrokeWidth:a??h,nonScalingStroke:o??g,className:tv(v,s),hasA11yProp:y,attributes:d});return(0,x.createElement)(b,{ref:f,...S},[...C.map(([e,t])=>(0,x.createElement)(e,t)),...Array.isArray(c)?c:[c]])});function H(e,t=[],n=[]){let r=typeof e==`string`?Q_(e,t,n):e,i=(0,x.forwardRef)(({className:e,...t},n)=>(0,x.createElement)(lv,{ref:n,icon:r,className:e,...t}));return r.name&&(i.displayName=ev(r.name)),i}var uv={name:`archive`,size:24,node:[[`rect`,{width:`20`,height:`5`,x:`2`,y:`3`,rx:`1`,key:`1wp1u1`}],[`path`,{d:`M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8`,key:`1s80jp`}],[`path`,{d:`M10 12h4`,key:`a56b0p`}]]};uv.node;var dv=H(uv),fv={name:`arrow-down`,size:24,node:[[`path`,{d:`M12 5v14`,key:`s699le`}],[`path`,{d:`m19 12-7 7-7-7`,key:`1idqje`}]]};fv.node;var pv=H(fv),mv={name:`arrow-right-left`,size:24,node:[[`path`,{d:`m16 3 4 4-4 4`,key:`1x1c3m`}],[`path`,{d:`M20 7H4`,key:`zbl0bi`}],[`path`,{d:`m8 21-4-4 4-4`,key:`h9nckh`}],[`path`,{d:`M4 17h16`,key:`g4d7ey`}]]};mv.node;var hv=H(mv),gv={name:`arrow-right`,size:24,node:[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`m12 5 7 7-7 7`,key:`xquz4c`}]]};gv.node;var _v=H(gv),vv={name:`arrow-up`,size:24,node:[[`path`,{d:`m5 12 7-7 7 7`,key:`hav0vg`}],[`path`,{d:`M12 19V5`,key:`x0mq9r`}]]};vv.node;var yv=H(vv),bv={name:`badge-check`,size:24,node:[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`,key:`3c2336`}],[`path`,{d:`m16 9-5.5 5.5L8 12`,key:`xofnsj`}]],aliases:[`verified`]};bv.node;var fee=H(bv),xv={name:`blocks`,size:24,node:[[`path`,{d:`M10 22V7a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5a1 1 0 0 0-1-1H2`,key:`1ah6g2`}],[`rect`,{x:`14`,y:`2`,width:`8`,height:`8`,rx:`1`,key:`88lufb`}]]};xv.node;var Sv=H(xv),Cv={name:`building-complex`,size:24,node:[[`path`,{d:`M10 12h4`,key:`a56b0p`}],[`path`,{d:`M10 8h4`,key:`1sr2af`}],[`path`,{d:`M14 21v-3a2 2 0 0 0-4 0v3`,key:`1rgiei`}],[`path`,{d:`M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2`,key:`secmi2`}],[`path`,{d:`M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16`,key:`16ra0t`}]],aliases:[`building-2`]};Cv.node;var wv=H(Cv),Tv={name:`calendar-clock`,size:24,node:[[`path`,{d:`M16 14v2.2l1.6 1`,key:`fo4ql5`}],[`path`,{d:`M16 2v3`,key:`otl347`}],[`path`,{d:`M21 7.338V5a2 2 0 00-2-2H5a2 2 0 00-2 2v14a2 2 0 002 2h2.338`,key:`7hb8p4`}],[`path`,{d:`M3 9h5.859`,key:`numkqi`}],[`path`,{d:`M8 2v3`,key:`1ioesn`}],[`circle`,{cx:`16`,cy:`16`,r:`6`,key:`qoo3c4`}]]};Tv.node;var pee=H(Tv),Ev={name:`calendar-days`,size:24,node:[[`path`,{d:`M8 2v3`,key:`1ioesn`}],[`path`,{d:`M16 2v3`,key:`otl347`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`,key:`h1oib`}],[`path`,{d:`M3 9h18`,key:`1pudct`}],[`path`,{d:`M8 13h.01`,key:`1sbv64`}],[`path`,{d:`M12 13h.01`,key:`y0uutt`}],[`path`,{d:`M16 13h.01`,key:`wip0gl`}],[`path`,{d:`M8 17h.01`,key:`p3bg7i`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}],[`path`,{d:`M16 17h.01`,key:`ql8jdd`}]]};Ev.node;var Dv=H(Ev),Ov={name:`chart-no-axes-column`,size:24,node:[[`path`,{d:`M5 21v-6`,key:`1hz6c0`}],[`path`,{d:`M12 21V3`,key:`1lcnhd`}],[`path`,{d:`M19 21V9`,key:`unv183`}]],aliases:[`bar-chart-2`]};Ov.node;var mee=H(Ov),kv={name:`check`,size:24,node:[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]};kv.node;var Av=H(kv),jv={name:`chevron-down`,size:24,node:[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]};jv.node;var Mv=H(jv),Nv={name:`chevron-left`,size:24,node:[[`path`,{d:`m15 18-6-6 6-6`,key:`1wnfg3`}]]};Nv.node;var Pv=H(Nv),Fv={name:`chevron-right`,size:24,node:[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]};Fv.node;var Iv=H(Fv),Lv={name:`chevrons-up-down`,size:24,node:[[`path`,{d:`m7 15 5 5 5-5`,key:`1hf1tw`}],[`path`,{d:`m7 9 5-5 5 5`,key:`sgt6xg`}]]};Lv.node;var Rv=H(Lv),zv={name:`circle-check`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m16 9-5.5 5.5L8 12`,key:`xofnsj`}]],aliases:[`check-circle-2`]};zv.node;var Bv=H(zv),Vv={name:`circle-exclamation-point`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`12`,key:`1pkeuh`}],[`line`,{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`,key:`4dfq90`}]],aliases:[`alert-circle`,`circle-alert`]};Vv.node;var Hv=H(Vv),Uv={name:`circle-question-mark`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M9 9.5a3 2.5 0 016 0c0 2-2 2-3 3.5`,key:`1awbb0`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]],aliases:[`help-circle`,`circle-help`]};Uv.node;var Wv=H(Uv),Gv={name:`columns-2`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M12 3v18`,key:`108xh3`}]],aliases:[`columns`]};Gv.node;var Kv=H(Gv),qv={name:`columns-3`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M9 3v18`,key:`fh3hqa`}],[`path`,{d:`M15 3v18`,key:`14nvp0`}]],aliases:[`panels-left-right`]};qv.node;var Jv=H(qv),Yv={name:`contact`,size:24,node:[[`path`,{d:`M16 2v2`,key:`scm5qe`}],[`path`,{d:`M7 21v-2a2 2 0 012-2h6a2 2 0 012 2v2`,key:`k82dct`}],[`path`,{d:`M8 2v2`,key:`pbkmx`}],[`circle`,{cx:`12`,cy:`10`,r:`3`,key:`ilqhr7`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`,key:`h1oib`}]]};Yv.node;var Xv=H(Yv),Zv={name:`copy`,size:24,node:[[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`,key:`17jyea`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`,key:`zix9uf`}]]};Zv.node;var Qv=H(Zv),$v={name:`download`,size:24,node:[[`path`,{d:`M12 15V3`,key:`m9g1x1`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}],[`path`,{d:`m7 10 5 5 5-5`,key:`brsn70`}]]};$v.node;var ey=H($v),ty={name:`ellipsis`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`1`,key:`41hilf`}],[`circle`,{cx:`19`,cy:`12`,r:`1`,key:`1wjl8i`}],[`circle`,{cx:`5`,cy:`12`,r:`1`,key:`1pcz8c`}]],aliases:[`more-horizontal`]};ty.node;var ny=H(ty),ry={name:`external-link`,size:24,node:[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`M10 14 21 3`,key:`gplh6r`}],[`path`,{d:`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`,key:`a6xqqp`}]]};ry.node;var iy=H(ry),ay={name:`eye-off`,size:24,node:[[`path`,{d:`M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49`,key:`ct8e1f`}],[`path`,{d:`M14.084 14.158a3 3 0 0 1-4.242-4.242`,key:`151rxh`}],[`path`,{d:`M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143`,key:`13bj9a`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]};ay.node;var oy=H(ay),sy={name:`eye`,size:24,node:[[`path`,{d:`M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0`,key:`1nclc0`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]]};sy.node;var cy=H(sy),ly={name:`file-question-mark`,size:24,node:[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M9 9.5a3 2.5 0 016 0c0 2-2 2-3 3.5`,key:`1awbb0`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]],aliases:[`file-question`]};ly.node;var uy=H(ly),dy={name:`file-text`,size:24,node:[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10 9H8`,key:`b1mrlr`}],[`path`,{d:`M16 13H8`,key:`t4e002`}],[`path`,{d:`M16 17H8`,key:`z1uh3a`}]]};dy.node;var fy=H(dy),py={name:`file-up`,size:24,node:[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M12 12v6`,key:`3ahymv`}],[`path`,{d:`m15 15-3-3-3 3`,key:`15xj92`}]]};py.node;var my=H(py),hy={name:`gallery-horizontal`,size:24,node:[[`path`,{d:`M2 3v18`,key:`pzttux`}],[`rect`,{width:`12`,height:`18`,x:`6`,y:`3`,rx:`2`,key:`btr8bg`}],[`path`,{d:`M22 3v18`,key:`6jf3v`}]]};hy.node;var gy=H(hy),_y={name:`grip-vertical`,size:24,node:[[`circle`,{cx:`9`,cy:`12`,r:`1`,key:`1vctgf`}],[`circle`,{cx:`9`,cy:`5`,r:`1`,key:`hp0tcf`}],[`circle`,{cx:`9`,cy:`19`,r:`1`,key:`fkjjf6`}],[`circle`,{cx:`15`,cy:`12`,r:`1`,key:`1tmaij`}],[`circle`,{cx:`15`,cy:`5`,r:`1`,key:`19l28e`}],[`circle`,{cx:`15`,cy:`19`,r:`1`,key:`f4zoj3`}]]};_y.node;var vy=H(_y),yy={name:`hand-coins`,size:24,node:[[`path`,{d:`M11 15h2a2 2 0 1 0 0-4h-3c-.6 0-1.1.2-1.4.6L3 17`,key:`geh8rc`}],[`path`,{d:`m7 21 1.6-1.4c.3-.4.8-.6 1.4-.6h4c1.1 0 2.1-.4 2.8-1.2l4.6-4.4a2 2 0 0 0-2.75-2.91l-4.2 3.9`,key:`1fto5m`}],[`path`,{d:`m2 16 6 6`,key:`1pfhp9`}],[`circle`,{cx:`16`,cy:`9`,r:`2.9`,key:`1n0dlu`}],[`circle`,{cx:`6`,cy:`5`,r:`3`,key:`151irh`}]]};yy.node;var by=H(yy),xy={name:`hash`,size:24,node:[[`line`,{x1:`4`,x2:`20`,y1:`9`,y2:`9`,key:`4lhtct`}],[`line`,{x1:`4`,x2:`20`,y1:`15`,y2:`15`,key:`vyu0kd`}],[`line`,{x1:`10`,x2:`8`,y1:`3`,y2:`21`,key:`1ggp8o`}],[`line`,{x1:`16`,x2:`14`,y1:`3`,y2:`21`,key:`weycgp`}]]};xy.node;var Sy=H(xy),Cy={name:`house`,size:24,node:[[`path`,{d:`M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8`,key:`5wwlr5`}],[`path`,{d:`M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z`,key:`r6nss1`}]],aliases:[`home`]};Cy.node;var wy=H(Cy),Ty={name:`image-off`,size:24,node:[[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`,key:`a6p6uj`}],[`path`,{d:`M10.41 10.41a2 2 0 1 1-2.83-2.83`,key:`1bzlo9`}],[`line`,{x1:`13.5`,x2:`6`,y1:`13.5`,y2:`21`,key:`1q0aeu`}],[`line`,{x1:`18`,x2:`21`,y1:`12`,y2:`15`,key:`5mozeu`}],[`path`,{d:`M3.59 3.59A1.99 1.99 0 0 0 3 5v14a2 2 0 0 0 2 2h14c.55 0 1.052-.22 1.41-.59`,key:`mmje98`}],[`path`,{d:`M21 15V5a2 2 0 0 0-2-2H9`,key:`43el77`}]]};Ty.node;var Ey=H(Ty),Dy={name:`image`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`,key:`1m3agn`}],[`circle`,{cx:`9`,cy:`9`,r:`2`,key:`af1f0g`}],[`path`,{d:`m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21`,key:`1xmnt7`}]]};Dy.node;var Oy=H(Dy),ky={name:`images`,size:24,node:[[`path`,{d:`m22 11-1.296-1.296a2.4 2.4 0 0 0-3.408 0L11 16`,key:`9kzy35`}],[`path`,{d:`M4 8a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2`,key:`1t0f0t`}],[`circle`,{cx:`13`,cy:`7`,r:`1`,fill:`currentColor`,key:`1obus6`}],[`rect`,{x:`8`,y:`2`,width:`14`,height:`14`,rx:`2`,key:`1gvhby`}]]};ky.node;var Ay=H(ky),jy={name:`inbox`,size:24,node:[[`polyline`,{points:`22 12 16 12 14 15 10 15 8 12 2 12`,key:`o97t9d`}],[`path`,{d:`M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z`,key:`oot6mr`}]]};jy.node;var My=H(jy),Ny={name:`info`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 16v-4`,key:`1dtifu`}],[`path`,{d:`M12 8h.01`,key:`e9boi3`}]]};Ny.node;var Py=H(Ny),Fy={name:`key-round`,size:24,node:[[`path`,{d:`M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z`,key:`1s6t7t`}],[`circle`,{cx:`16.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`w0ekpg`}]]};Fy.node;var Iy=H(Fy),Ly={name:`languages`,size:24,node:[[`path`,{d:`m5 8 6 6`,key:`1wu5hv`}],[`path`,{d:`m4 14 6-6 2-3`,key:`1k1g8d`}],[`path`,{d:`M2 5h12`,key:`or177f`}],[`path`,{d:`M7 2h1`,key:`1t2jsx`}],[`path`,{d:`m22 22-5-10-5 10`,key:`don7ne`}],[`path`,{d:`M14 18h6`,key:`1m8k6r`}]]};Ly.node;var Ry=H(Ly),zy={name:`layers`,size:24,node:[[`path`,{d:`M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z`,key:`zw3jo`}],[`path`,{d:`M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12`,key:`1wduqc`}],[`path`,{d:`M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17`,key:`kqbvx6`}]],aliases:[`layers-3`]};zy.node;var By=H(zy),Vy={name:`layout-grid`,size:24,node:[[`rect`,{width:`7`,height:`7`,x:`3`,y:`3`,rx:`1`,key:`1g98yp`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`3`,rx:`1`,key:`6d4xhi`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`14`,rx:`1`,key:`nxv5o0`}],[`rect`,{width:`7`,height:`7`,x:`3`,y:`14`,rx:`1`,key:`1bb6yr`}]]};Vy.node;var Hy=H(Vy),Uy={name:`layout-list`,size:24,node:[[`rect`,{width:`7`,height:`7`,x:`3`,y:`3`,rx:`1`,key:`1g98yp`}],[`rect`,{width:`7`,height:`7`,x:`3`,y:`14`,rx:`1`,key:`1bb6yr`}],[`path`,{d:`M14 4h7`,key:`3xa0d5`}],[`path`,{d:`M14 9h7`,key:`1icrd9`}],[`path`,{d:`M14 15h7`,key:`1mj8o2`}],[`path`,{d:`M14 20h7`,key:`11slyb`}]]};Uy.node;var Wy=H(Uy),Gy={name:`layout-template`,size:24,node:[[`rect`,{width:`18`,height:`7`,x:`3`,y:`3`,rx:`1`,key:`f1a2em`}],[`rect`,{width:`9`,height:`7`,x:`3`,y:`14`,rx:`1`,key:`jqznyg`}],[`rect`,{width:`5`,height:`7`,x:`16`,y:`14`,rx:`1`,key:`q5h2i8`}]]};Gy.node;var Ky=H(Gy),qy={name:`letter-h`,size:24,node:[[`path`,{d:`M18 20V4`,key:`o2hl4u`}],[`path`,{d:`M6 12H18`,key:`1fx1vx`}],[`path`,{d:`M6 20V4`,key:`1w1bmo`}]],aliases:[`heading`]};qy.node;var Jy=H(qy),Yy={name:`list-checks`,size:24,node:[[`path`,{d:`M13 5h8`,key:`a7qcls`}],[`path`,{d:`M13 12h8`,key:`h98zly`}],[`path`,{d:`M13 19h8`,key:`c3s6r1`}],[`path`,{d:`m3 17 2 2 4-4`,key:`1jhpwq`}],[`path`,{d:`m3 7 2 2 4-4`,key:`1obspn`}]]};Yy.node;var Xy=H(Yy),Zy={name:`list-filter`,size:24,node:[[`path`,{d:`M2 5h20`,key:`1fs1ex`}],[`path`,{d:`M6 12h12`,key:`8npq4p`}],[`path`,{d:`M9 19h6`,key:`456am0`}]]};Zy.node;var Qy=H(Zy),$y={name:`list-plus`,size:24,node:[[`path`,{d:`M16 5H3`,key:`m91uny`}],[`path`,{d:`M11 12H3`,key:`51ecnj`}],[`path`,{d:`M16 19H3`,key:`zzsher`}],[`path`,{d:`M18 9v6`,key:`1twb98`}],[`path`,{d:`M21 12h-6`,key:`bt1uis`}]]};$y.node;var eb=H($y),tb={name:`list-tree`,size:24,node:[[`path`,{d:`M8 5h13`,key:`1pao27`}],[`path`,{d:`M13 12h8`,key:`h98zly`}],[`path`,{d:`M13 19h8`,key:`c3s6r1`}],[`path`,{d:`M3 10a2 2 0 0 0 2 2h3`,key:`1npucw`}],[`path`,{d:`M3 5v12a2 2 0 0 0 2 2h3`,key:`x1gjn2`}]]};tb.node;var nb=H(tb),rb={name:`list`,size:24,node:[[`path`,{d:`M3 5h.01`,key:`18ugdj`}],[`path`,{d:`M3 12h.01`,key:`nlz23k`}],[`path`,{d:`M3 19h.01`,key:`noohij`}],[`path`,{d:`M8 5h13`,key:`1pao27`}],[`path`,{d:`M8 12h13`,key:`1za7za`}],[`path`,{d:`M8 19h13`,key:`m83p4d`}]]};rb.node;var ib=H(rb),ab={name:`loader-circle`,size:24,node:[[`path`,{d:`M21 12a9 9 0 1 1-6.219-8.56`,key:`13zald`}]],aliases:[`loader-2`]};ab.node;var ob=H(ab),sb={name:`lock`,size:24,node:[[`rect`,{width:`18`,height:`11`,x:`3`,y:`11`,rx:`2`,ry:`2`,key:`1w4ew1`}],[`path`,{d:`M7 11V7a5 5 0 0 1 10 0v4`,key:`fwvmzm`}]]};sb.node;var hee=H(sb),cb={name:`log-out`,size:24,node:[[`path`,{d:`m16 17 5-5-5-5`,key:`1bji2h`}],[`path`,{d:`M21 12H9`,key:`dn1m92`}],[`path`,{d:`M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4`,key:`1uf3rs`}]]};cb.node;var gee=H(cb),lb={name:`mail`,size:24,node:[[`path`,{d:`m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7`,key:`132q7q`}],[`rect`,{x:`2`,y:`4`,width:`20`,height:`16`,rx:`2`,key:`izxlao`}]]};lb.node;var _ee=H(lb),ub={name:`map-pin`,size:24,node:[[`path`,{d:`M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0`,key:`1r0f0z`}],[`circle`,{cx:`12`,cy:`10`,r:`3`,key:`ilqhr7`}]]};ub.node;var db=H(ub),fb={name:`maximize-2`,size:24,node:[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`m21 3-7 7`,key:`1l2asr`}],[`path`,{d:`m3 21 7-7`,key:`tjx5ai`}],[`path`,{d:`M9 21H3v-6`,key:`wtvkvv`}]]};fb.node;var vee=H(fb),pb={name:`megaphone`,size:24,node:[[`path`,{d:`M11 6a13 13 0 0 0 8.4-2.8A1 1 0 0 1 21 4v12a1 1 0 0 1-1.6.8A13 13 0 0 0 11 14H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2z`,key:`q8bfy3`}],[`path`,{d:`M6 14a12 12 0 0 0 2.4 7.2 2 2 0 0 0 3.2-2.4A8 8 0 0 1 10 14`,key:`1853fq`}],[`path`,{d:`M8 6v8`,key:`15ugcq`}]]};pb.node;var yee=H(pb),mb={name:`menu`,size:24,node:[[`path`,{d:`M4 5h16`,key:`1tepv9`}],[`path`,{d:`M4 12h16`,key:`1lakjw`}],[`path`,{d:`M4 19h16`,key:`1djgab`}]]};mb.node;var bee=H(mb),hb={name:`message-circle`,size:24,node:[[`path`,{d:`M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719`,key:`1sd12s`}]]};hb.node;var gb=H(hb),_b={name:`message-square-quote`,size:24,node:[[`path`,{d:`M14 14a2 2 0 0 0 2-2V8h-2`,key:`1r06pg`}],[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`,key:`18887p`}],[`path`,{d:`M8 14a2 2 0 0 0 2-2V8H8`,key:`1jzu5j`}]]};_b.node;var xee=H(_b),vb={name:`minus`,size:24,node:[[`path`,{d:`M5 12h14`,key:`1ays0h`}]]};vb.node;var See=H(vb),yb={name:`monitor`,size:24,node:[[`rect`,{width:`20`,height:`14`,x:`2`,y:`3`,rx:`2`,key:`48i651`}],[`line`,{x1:`8`,x2:`16`,y1:`21`,y2:`21`,key:`1svkeh`}],[`line`,{x1:`12`,x2:`12`,y1:`17`,y2:`21`,key:`vw1qmm`}]]};yb.node;var Cee=H(yb),bb={name:`mouse-pointer-2`,size:24,node:[[`path`,{d:`M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z`,key:`edeuup`}]]};bb.node;var wee=H(bb),xb={name:`mouse-pointer-click`,size:24,node:[[`path`,{d:`M14 4.1 12 6`,key:`ita8i4`}],[`path`,{d:`m5.1 8-2.9-.8`,key:`1go3kf`}],[`path`,{d:`m6 12-1.9 2`,key:`mnht97`}],[`path`,{d:`M7.2 2.2 8 5.1`,key:`1cfko1`}],[`path`,{d:`M9.037 9.69a.498.498 0 0 1 .653-.653l11 4.5a.5.5 0 0 1-.074.949l-4.349 1.041a1 1 0 0 0-.74.739l-1.04 4.35a.5.5 0 0 1-.95.074z`,key:`s0h3yz`}]]};xb.node;var Tee=H(xb),Sb={name:`newspaper`,size:24,node:[[`path`,{d:`M15 18h-5`,key:`95g1m2`}],[`path`,{d:`M18 14h-8`,key:`sponae`}],[`path`,{d:`M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-4 0v-9a2 2 0 0 1 2-2h2`,key:`39pd36`}],[`rect`,{width:`8`,height:`4`,x:`10`,y:`6`,rx:`1`,key:`aywv1n`}]]};Sb.node;var Eee=H(Sb),Cb={name:`package`,size:24,node:[[`path`,{d:`M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z`,key:`1a0edw`}],[`path`,{d:`M12 22V12`,key:`d0xqtd`}],[`polyline`,{points:`3.29 7 12 12 20.71 7`,key:`ousv84`}],[`path`,{d:`m7.5 4.27 9 5.15`,key:`1c824w`}]]};Cb.node;var Dee=H(Cb),wb={name:`palette`,size:24,node:[[`path`,{d:`M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z`,key:`e79jfc`}],[`circle`,{cx:`13.5`,cy:`6.5`,r:`.5`,fill:`currentColor`,key:`1okk4w`}],[`circle`,{cx:`17.5`,cy:`10.5`,r:`.5`,fill:`currentColor`,key:`f64h9f`}],[`circle`,{cx:`6.5`,cy:`12.5`,r:`.5`,fill:`currentColor`,key:`qy21gx`}],[`circle`,{cx:`8.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`fotxhn`}]]};wb.node;var Tb=H(wb),Eb={name:`panel-right-close`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M15 3v18`,key:`14nvp0`}],[`path`,{d:`m8 9 3 3-3 3`,key:`12hl5m`}]]};Eb.node;var Db=H(Eb),Ob={name:`panel-right-open`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M15 3v18`,key:`14nvp0`}],[`path`,{d:`m10 15-3-3 3-3`,key:`1pgupc`}]]};Ob.node;var kb=H(Ob),Ab={name:`panel-top`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M3 9h18`,key:`1pudct`}]]};Ab.node;var jb=H(Ab),Mb={name:`panels-top-left`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M3 9h18`,key:`1pudct`}],[`path`,{d:`M9 21V9`,key:`1oto5p`}]],aliases:[`layout`]};Mb.node;var Nb=H(Mb),Pb={name:`pen-line`,size:24,node:[[`path`,{d:`M13 21h8`,key:`1jsn5i`}],[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`,key:`1a8usu`}]],aliases:[`edit-3`]};Pb.node;var Fb=H(Pb),Ib={name:`pencil`,size:24,node:[[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`,key:`1a8usu`}],[`path`,{d:`m15 5 4 4`,key:`1mk7zo`}]]};Ib.node;var Lb=H(Ib),Rb={name:`phone`,size:24,node:[[`path`,{d:`M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384`,key:`9njp5v`}]]};Rb.node;var zb=H(Rb),Bb={name:`play`,size:24,node:[[`path`,{d:`M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z`,key:`10ikf1`}]]};Bb.node;var Vb=H(Bb),Hb={name:`plug-zap`,size:24,node:[[`path`,{d:`M6.3 20.3a2.4 2.4 0 0 0 3.4 0L12 18l-6-6-2.3 2.3a2.4 2.4 0 0 0 0 3.4Z`,key:`goz73y`}],[`path`,{d:`m2 22 3-3`,key:`19mgm9`}],[`path`,{d:`M7.5 13.5 10 11`,key:`7xgeeb`}],[`path`,{d:`M10.5 16.5 13 14`,key:`10btkg`}],[`path`,{d:`m18 3-4 4h6l-4 4`,key:`16psg9`}]],aliases:[`plug-zap-2`]};Hb.node;var Ub=H(Hb),Wb={name:`plus`,size:24,node:[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`M12 5v14`,key:`s699le`}]]};Wb.node;var Gb=H(Wb),Kb={name:`puzzle`,size:24,node:[[`path`,{d:`M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z`,key:`w46dr5`}]]};Kb.node;var qb=H(Kb),Jb={name:`quote`,size:24,node:[[`path`,{d:`M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z`,key:`rib7q0`}],[`path`,{d:`M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z`,key:`1ymkrd`}]]};Jb.node;var Yb=H(Jb),Xb={name:`redo-2`,size:24,node:[[`path`,{d:`m15 14 5-5-5-5`,key:`12vg1m`}],[`path`,{d:`M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13`,key:`6uklza`}]]};Xb.node;var Zb=H(Xb),Qb={name:`rotate-ccw-clock`,size:24,node:[[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,key:`1357e3`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}],[`path`,{d:`M12 7v5l4 2`,key:`1fdv2h`}]],aliases:[`history`]};Qb.node;var $b=H(Qb),ex={name:`rotate-cw`,size:24,node:[[`path`,{d:`M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8`,key:`1p45f6`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}]]};ex.node;var tx=H(ex),nx={name:`rows-3`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M21 9H3`,key:`1338ky`}],[`path`,{d:`M21 15H3`,key:`9uk58r`}]],aliases:[`panels-top-bottom`]};nx.node;var rx=H(nx),ix={name:`save`,size:24,node:[[`path`,{d:`M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z`,key:`1c8476`}],[`path`,{d:`M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7`,key:`1ydtos`}],[`path`,{d:`M7 3v4a1 1 0 0 0 1 1h7`,key:`t51u73`}]]};ix.node;var ax=H(ix),ox={name:`search-x`,size:24,node:[[`path`,{d:`m13.5 8.5-5 5`,key:`1cs55j`}],[`path`,{d:`m8.5 8.5 5 5`,key:`a8mexj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}],[`path`,{d:`m21 21-4.3-4.3`,key:`1qie3q`}]]};ox.node;var sx=H(ox),cx={name:`search`,size:24,node:[[`path`,{d:`m21 21-4.34-4.34`,key:`14j7rj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}]]};cx.node;var lx=H(cx),ux={name:`send`,size:24,node:[[`path`,{d:`M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z`,key:`1ffxy3`}],[`path`,{d:`m21.854 2.147-10.94 10.939`,key:`12cjpa`}]]};ux.node;var dx=H(ux),fx={name:`settings-2`,size:24,node:[[`path`,{d:`M14 17H5`,key:`gfn3mx`}],[`path`,{d:`M19 7h-9`,key:`6i9tg`}],[`circle`,{cx:`17`,cy:`17`,r:`3`,key:`18b49y`}],[`circle`,{cx:`7`,cy:`7`,r:`3`,key:`dfmy0x`}]]};fx.node;var px=H(fx),mx={name:`settings`,size:24,node:[[`path`,{d:`M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915`,key:`1i5ecw`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]]};mx.node;var hx=H(mx),gx={name:`shapes`,size:24,node:[[`path`,{d:`M8.3 10a.7.7 0 0 1-.626-1.079L11.4 3a.7.7 0 0 1 1.198-.043L16.3 8.9a.7.7 0 0 1-.572 1.1Z`,key:`1bo67w`}],[`rect`,{x:`3`,y:`14`,width:`7`,height:`7`,rx:`1`,key:`1bkyp8`}],[`circle`,{cx:`17.5`,cy:`17.5`,r:`3.5`,key:`w3z12y`}]]};gx.node;var _x=H(gx),vx={name:`shield-check`,size:24,node:[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]};vx.node;var yx=H(vx),bx={name:`smartphone`,size:24,node:[[`rect`,{width:`14`,height:`20`,x:`5`,y:`2`,rx:`2`,ry:`2`,key:`1yt0o3`}],[`path`,{d:`M12 18h.01`,key:`mhygvu`}]]};bx.node;var xx=H(bx),Sx={name:`sparkles`,size:24,node:[[`path`,{d:`M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z`,key:`1s2grr`}],[`path`,{d:`M20 2v4`,key:`1rf3ol`}],[`path`,{d:`M22 4h-4`,key:`gwowj6`}],[`circle`,{cx:`4`,cy:`20`,r:`2`,key:`6kqj1y`}]],aliases:[`stars`]};Sx.node;var Oee=H(Sx),Cx={name:`star`,size:24,node:[[`path`,{d:`M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z`,key:`r04s7s`}]]};Cx.node;var kee=H(Cx),wx={name:`table`,size:24,node:[[`path`,{d:`M12 3v18`,key:`108xh3`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M3 9h18`,key:`1pudct`}],[`path`,{d:`M3 15h18`,key:`5xshup`}]]};wx.node;var Aee=H(wx),Tx={name:`tablet`,size:24,node:[[`rect`,{width:`16`,height:`20`,x:`4`,y:`2`,rx:`2`,ry:`2`,key:`76otgf`}],[`line`,{x1:`12`,x2:`12.01`,y1:`18`,y2:`18`,key:`1dp563`}]]};Tx.node;var jee=H(Tx),Ex={name:`tag`,size:24,node:[[`path`,{d:`M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z`,key:`vktsd0`}],[`circle`,{cx:`7.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`kqv944`}]]};Ex.node;var Dx=H(Ex),Ox={name:`text-align-start`,size:24,node:[[`path`,{d:`M21 5H3`,key:`1fi0y6`}],[`path`,{d:`M15 12H3`,key:`6jk70r`}],[`path`,{d:`M17 19H3`,key:`z6ezky`}]],aliases:[`text`,`align-left`]};Ox.node;var kx=H(Ox),Ax={name:`trash`,size:24,node:[[`path`,{d:`M10 11v6`,key:`nco0om`}],[`path`,{d:`M14 11v6`,key:`outv1u`}],[`path`,{d:`M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6`,key:`miytrc`}],[`path`,{d:`M3 6h18`,key:`d0wm0j`}],[`path`,{d:`M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2`,key:`e791ji`}]],aliases:[`trash-2`]};Ax.node;var jx=H(Ax),Mx={name:`type`,size:24,node:[[`path`,{d:`M12 4v16`,key:`1654pz`}],[`path`,{d:`M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2`,key:`e0r10z`}],[`path`,{d:`M9 20h6`,key:`s66wpe`}]]};Mx.node;var Mee=H(Mx),Nx={name:`undo-2`,size:24,node:[[`path`,{d:`M9 14 4 9l5-5`,key:`102s5s`}],[`path`,{d:`M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11`,key:`f3b9sd`}]]};Nx.node;var Px=H(Nx),Fx={name:`upload`,size:24,node:[[`path`,{d:`M12 3v12`,key:`1x0j5s`}],[`path`,{d:`m17 8-5-5-5 5`,key:`7q97r8`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}]]};Fx.node;var Ix=H(Fx),Lx={name:`user-plus`,size:24,node:[[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`,key:`1yyitq`}],[`circle`,{cx:`9`,cy:`7`,r:`4`,key:`nufk8`}],[`line`,{x1:`19`,x2:`19`,y1:`8`,y2:`14`,key:`1bvyxn`}],[`line`,{x1:`22`,x2:`16`,y1:`11`,y2:`11`,key:`1shjgl`}]]};Lx.node;var Nee=H(Lx),Rx={name:`user-round`,size:24,node:[[`circle`,{cx:`12`,cy:`8`,r:`5`,key:`1hypcn`}],[`path`,{d:`M20 21a8 8 0 0 0-16 0`,key:`rfgkzh`}]],aliases:[`user-2`]};Rx.node;var zx=H(Rx),Bx={name:`user-x`,size:24,node:[[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`,key:`1yyitq`}],[`circle`,{cx:`9`,cy:`7`,r:`4`,key:`nufk8`}],[`line`,{x1:`17`,x2:`22`,y1:`8`,y2:`13`,key:`3nzzx3`}],[`line`,{x1:`22`,x2:`17`,y1:`8`,y2:`13`,key:`1swrse`}]]};Bx.node;var Vx=H(Bx),Hx={name:`users`,size:24,node:[[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`,key:`1yyitq`}],[`path`,{d:`M16 3.128a4 4 0 0 1 0 7.744`,key:`16gr8j`}],[`path`,{d:`M22 21v-2a4 4 0 0 0-3-3.87`,key:`kshegd`}],[`circle`,{cx:`9`,cy:`7`,r:`4`,key:`nufk8`}]]};Hx.node;var Ux=H(Hx),Wx={name:`x`,size:24,node:[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]};Wx.node;var Gx=H(Wx);function Kx(...e){return(...t)=>{for(let n of e)typeof n==`function`&&n(...t)}}var qx=typeof document<`u`?x.useLayoutEffect:()=>{},Jx={prefix:String(Math.round(Math.random()*1e10)),current:0},Yx=x.createContext(Jx),Xx=x.createContext(!1);typeof window<`u`&&window.document&&window.document.createElement;var Zx=new WeakMap;function Qx(e=!1){let t=(0,x.useContext)(Yx),n=(0,x.useRef)(null);if(n.current===null&&!e){let e=x.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;if(e){let n=Zx.get(e);n==null?Zx.set(e,{id:t.current,state:e.memoizedState}):e.memoizedState!==n.state&&(t.current=n.id,Zx.delete(e))}n.current=++t.current}return n.current}function $x(e){let t=(0,x.useContext)(Yx),n=Qx(!!e),r=`react-aria${t.prefix}`;return e||`${r}-${n}`}function eS(e){let t=x.useId(),[n]=(0,x.useState)(aS()),r=n?`react-aria`:`react-aria${Jx.prefix}`;return e||`${r}-${t}`}var tS=typeof x.useId==`function`?eS:$x;function nS(){return!1}function rS(){return!0}function iS(e){return()=>{}}function aS(){return typeof x.useSyncExternalStore==`function`?x.useSyncExternalStore(iS,nS,rS):(0,x.useContext)(Xx)}function oS(e){let[t,n]=(0,x.useState)(e),r=(0,x.useRef)(t),i=(0,x.useRef)(null),a=(0,x.useRef)(()=>{if(!i.current)return;let e=i.current.next();e.done?i.current=null:r.current===e.value?a.current():n(e.value)});return qx(()=>{r.current=t,i.current&&a.current()}),[t,(0,x.useCallback)(e=>{i.current=e(r.current),a.current()},[a])]}var sS=!!(typeof window<`u`&&window.document&&window.document.createElement),cS=new Map,lS;typeof FinalizationRegistry<`u`&&(lS=new FinalizationRegistry(e=>{cS.delete(e)}));var uS=new WeakMap;function dS(e){let[t,n]=(0,x.useState)(e),r=(0,x.useRef)(null),i=tS(t),a=(0,x.useRef)(null),o=uS.get(a);if(lS&&o!==i&&(o!=null&&lS.unregister(a),lS.register(a,i,a),uS.set(a,i)),sS){let e=cS.get(i);e&&!e.includes(r)?e.push(r):cS.set(i,[r])}return qx(()=>{let e=i;return()=>{lS&&(lS.unregister(a),uS.delete(a)),cS.delete(e)}},[i]),(0,x.useEffect)(()=>{let e=r.current;return e&&n(e),()=>{e&&(r.current=null)}}),i}function fS(e,t){if(e===t)return e;let n=cS.get(e);if(n)return n.forEach(e=>e.current=t),t;let r=cS.get(t);return r?(r.forEach(t=>t.current=e),e):t}function pS(e=[]){let t=dS(),[n,r]=oS(t),i=(0,x.useCallback)(()=>{r(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,r]);return qx(i,[t,i,...e]),n}function mS(...e){return e.length===1&&e[0]?e[0]:t=>{let n=!1,r=e.map(e=>{let r=hS(e,t);return n||=typeof r==`function`,r});if(n)return()=>{r.forEach((t,n)=>{typeof t==`function`?t():hS(e[n],null)})}}}function hS(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function U(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let r=e[n];for(let e in r){let n=t[e],i=r[e];typeof n==`function`&&typeof i==`function`&&e[0]===`o`&&e[1]===`n`&&e.charCodeAt(2)>=65&&e.charCodeAt(2)<=90?t[e]=Kx(n,i):(e===`className`||e===`UNSAFE_className`)&&typeof n==`string`&&typeof i==`string`?t[e]=G_(n,i):e===`id`&&n&&i?t.id=fS(n,i):e===`ref`&&n&&i?t.ref=mS(n,i):t[e]=i===void 0?n:i}}return t}function gS(e){let t=(0,x.useRef)(null),n=(0,x.useRef)(void 0),r=(0,x.useCallback)(t=>{if(typeof e==`function`){let n=e,r=n(t);return()=>{typeof r==`function`?r():n(null)}}if(e)return e.current=t,()=>{e.current=null}},[e]);return(0,x.useMemo)(()=>({get current(){return t.current},set current(e){t.current=e,n.current&&=(n.current(),void 0),e!=null&&(n.current=r(e))}}),[r])}var _S=Symbol(`default`);function vS({values:e,children:t}){for(let[n,r]of e)t=x.createElement(n.Provider,{value:r},t);return t}function yS(e){let{className:t,style:n,children:r,defaultClassName:i,defaultChildren:a,defaultStyle:o,values:s,render:c}=e;return(0,x.useMemo)(()=>{let e,l,u;return e=typeof t==`function`?t({...s,defaultClassName:i}):t,l=typeof n==`function`?n({...s,defaultStyle:o||{}}):n,u=typeof r==`function`?r({...s,defaultChildren:a}):r??a,{className:e??i,style:l||o?{...o,...l}:void 0,children:u??a,"data-rac":``,render:c?e=>c(e,s):void 0}},[t,n,r,i,a,o,s,c])}function bS(e,t){return n=>t(typeof e==`function`?e(n):e,n)}function xS(e,t){let n=(0,x.useContext)(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||_S;if(!n.slots[e]){let e=new Intl.ListFormat().format(Object.keys(n.slots).map(e=>`"${e}"`)),r=t?`Invalid slot "${t}".`:`A slot prop is required.`;throw Error(`${r} Valid slot names are ${e}.`)}return n.slots[e]}return n}function SS(e,t,n){let{ref:r,...i}=xS(n,e.slot)||{},a=gS((0,x.useMemo)(()=>mS(t,r),[t,r])),o=U(i,e);return`style`in i&&i.style&&`style`in e&&e.style&&(o.style=typeof i.style==`function`||typeof e.style==`function`?t=>{let n=typeof i.style==`function`?i.style(t):i.style,r={...t.defaultStyle,...n},a=typeof e.style==`function`?e.style({...t,defaultStyle:r}):e.style;return{...r,...a}}:{...i.style,...e.style}),[o,a]}function CS(e=!0){let[t,n]=(0,x.useState)(e),r=(0,x.useRef)(!1),i=(0,x.useCallback)(e=>{r.current=!0,n(!!e)},[]);return qx(()=>{r.current||n(!1)},[]),[i,t]}function wS(e){let t=/^(data-.*)$/,n={};for(let r in e)t.test(r)||(n[r]=e[r]);return n}function TS(e,t,n){let{render:r,...i}=t,a=(0,x.useRef)(null),o=(0,x.useMemo)(()=>mS(n,a),[n,a]);qx(()=>{},[e,r]);let s={...i,ref:o};return r?r(s,void 0):x.createElement(e,s)}var ES={},W=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=ES[t];return n||(n=(0,x.forwardRef)(TS.bind(null,t)),ES[t]=n),n}}),DS=`react-aria-clear-focus`,OS=`react-aria-focus`,kS=e=>MS(e)?e.document:NS(e)?e:e?.ownerDocument??(typeof document<`u`?document:void 0),AS=e=>kS(e)?.defaultView??(typeof window<`u`?window:void 0);function jS(e){return typeof e==`object`&&!!e&&`nodeType`in e&&typeof e.nodeType==`number`}function MS(e){return typeof e==`object`&&!!e&&`window`in e&&e.window===e}function NS(e){return jS(e)&&e.nodeType===9}function PS(e){return jS(e)&&e.nodeType===11&&`host`in e}function FS(e,t,n,r){if(n==null||e==null)return()=>{};let i=Array.isArray(e)?e:[e];for(let e of i)e.addEventListener(t,n,r);return()=>{for(let e of i)e.removeEventListener(t,n,r)}}function IS(e,t,n,r){if(e==null)return()=>{};let i=[],a=Array.isArray(e)?e:[e];for(let e of a){let a=e.style.getPropertyValue(t),o=e.style.getPropertyPriority(t);e.style.setProperty(t,n,r),i.unshift(()=>{a?e.style.setProperty(t,a,o):e.style.removeProperty(t)})}return()=>{for(let e of i)e()}}var LS=!1;function RS(){return LS}function zS(e,t){if(!RS())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let n=t;for(;n!=null;){if(n===e)return!0;n=typeof n.assignedElements!=`function`&&n.assignedSlot?.parentNode?n.assignedSlot.parentNode:PS(n)?n.host:n.parentNode}return!1}var BS=(e=document)=>{if(!RS())return e.activeElement;let t=e.activeElement;for(;t&&`shadowRoot`in t&&t.shadowRoot?.activeElement;)t=t.shadowRoot.activeElement;return t};function G(e){if(RS()&&e.target instanceof Element&&e.target.shadowRoot){if(`composedPath`in e)return e.composedPath()[0]??null;if(`composedPath`in e.nativeEvent)return e.nativeEvent.composedPath()[0]??null}return e.target}function VS(e,t){if(t===null)return[];t??=AS(e);let n=[t];if(!RS()||!e||e===t)return n;let r=`getRootNode`in t?t.getRootNode():null,i=e.getRootNode()??null;for(;PS(i)&&i!==r;)n.push(i),i=i.host.getRootNode();return n}function HS(e){if(!e)return!1;let t=e.getRootNode(),n=AS(e);if(!(t instanceof n.Document||t instanceof n.ShadowRoot))return!1;let r=t.activeElement;return r!=null&&e.contains(r)}function US(e){let t=KS(kS(e));t!==e&&(t&&WS(t,e),e&&GS(e,t))}function WS(e,t){e.dispatchEvent(new FocusEvent(`blur`,{relatedTarget:t})),e.dispatchEvent(new FocusEvent(`focusout`,{bubbles:!0,relatedTarget:t}))}function GS(e,t){e.dispatchEvent(new FocusEvent(`focus`,{relatedTarget:t})),e.dispatchEvent(new FocusEvent(`focusin`,{bubbles:!0,relatedTarget:t}))}function KS(e){let t=BS(e),n=t?.getAttribute(`aria-activedescendant`);return n&&e.getElementById(n)||t}function qS(e){e.focus({preventScroll:!0})}var JS=typeof Element<`u`&&`checkVisibility`in Element.prototype;function YS(e){let t=AS(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:n,visibility:r}=e.style,i=n!==`none`&&r!==`hidden`&&r!==`collapse`;if(i){let{getComputedStyle:t}=AS(e),{display:n,visibility:r}=t(e);i=n!==`none`&&r!==`hidden`&&r!==`collapse`}return i}function XS(e,t){return!e.hasAttribute(`hidden`)&&!e.hasAttribute(`data-react-aria-prevent-focus`)&&(e.nodeName===`DETAILS`&&t&&t.nodeName!==`SUMMARY`?e.hasAttribute(`open`):!0)}function ZS(e,t){return JS?e.checkVisibility({visibilityProperty:!0})&&!e.closest(`[data-react-aria-prevent-focus]`):e.nodeName!==`#comment`&&YS(e)&&XS(e,t)&&(!e.parentElement||ZS(e.parentElement,e))}var QS=[`input:not([disabled]):not([type=hidden])`,`select:not([disabled])`,`textarea:not([disabled])`,`button:not([disabled])`,`a[href]`,`area[href]`,`summary`,`iframe`,`object`,`embed`,`audio[controls]`,`video[controls]`,`[contenteditable]:not([contenteditable^="false"])`,`permission`],$S=QS.join(`:not([hidden]),`)+`,[tabindex]:not([disabled]):not([hidden])`;QS.push(`[tabindex]:not([tabindex="-1"]):not([disabled])`);var eC=QS.join(`:not([hidden]):not([tabindex="-1"]),`);function tC(e,t){return e.matches($S)&&!rC(e)&&(t?.skipVisibilityCheck||ZS(e))}function nC(e){return e.matches(eC)&&ZS(e)&&!rC(e)}function rC(e){let t=e;for(;t!=null;){if(t instanceof AS(t).HTMLElement&&t.inert)return!0;t=t.parentElement}return!1}function iC(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function aC(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function oC(e){let t=(0,x.useRef)({isFocused:!1,observer:null});return qx(()=>{let e=t.current;return()=>{e.observer&&=(e.observer.disconnect(),null)}},[]),(0,x.useCallback)(n=>{let r=G(n);if(r instanceof HTMLButtonElement||r instanceof HTMLInputElement||r instanceof HTMLTextAreaElement||r instanceof HTMLSelectElement){t.current.isFocused=!0;let n=r;n.addEventListener(`focusout`,r=>{if(t.current.isFocused=!1,n.disabled){let t=iC(r);e?.(t)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&n.disabled){t.current.observer?.disconnect();let e=n===BS()?null:BS();n.dispatchEvent(new FocusEvent(`blur`,{relatedTarget:e})),n.dispatchEvent(new FocusEvent(`focusout`,{bubbles:!0,relatedTarget:e}))}}),t.current.observer.observe(n,{attributes:!0,attributeFilter:[`disabled`]})}},[e])}var sC=!1;function cC(e){for(;e&&!tC(e,{skipVisibilityCheck:!0});)e=e.parentElement;let t=BS(AS(e).document);if(!t||t===e)return;let n=e?.getRootNode(),r=n!=null&&PS(n)?n:AS(e),i=t=>t===e||jS(t)&&zS(e,t),a=e=>e===t||t!=null&&jS(e)&&zS(t,e);sC=!0;let o=!1,s=e=>{(a(G(e))||o)&&e.stopImmediatePropagation()},c=n=>{(a(G(n))||o)&&(n.stopImmediatePropagation(),!e&&!o&&(o=!0,qS(t),d()))},l=e=>{(i(G(e))||o)&&e.stopImmediatePropagation()},u=e=>{(i(G(e))||o)&&(e.stopImmediatePropagation(),o||(o=!0,qS(t),d()))};r.addEventListener(`blur`,s,!0),r.addEventListener(`focusout`,c,!0),r.addEventListener(`focusin`,u,!0),r.addEventListener(`focus`,l,!0);let d=()=>{cancelAnimationFrame(f),r.removeEventListener(`blur`,s,!0),r.removeEventListener(`focusout`,c,!0),r.removeEventListener(`focusin`,u,!0),r.removeEventListener(`focus`,l,!0),sC=!1,o=!1},f=requestAnimationFrame(d);return d}function lC(e){if(typeof window>`u`||window.navigator==null)return!1;let t=window.navigator.userAgentData?.brands;return Array.isArray(t)&&t.some(t=>e.test(t.brand))||e.test(window.navigator.userAgent)}function uC(e){return typeof window<`u`&&window.navigator!=null&&e.test(window.navigator.userAgentData?.platform||window.navigator.platform)}function dC(e){let t=null;return()=>(t??=e(),t)}var fC=dC(function(){return uC(/^Mac/i)}),pC=dC(function(){return uC(/^iPhone/i)}),mC=dC(function(){return uC(/^iPad/i)||fC()&&navigator.maxTouchPoints>1}),hC=dC(function(){return pC()||mC()}),gC=dC(function(){return fC()||hC()}),_C=dC(function(){return lC(/AppleWebKit/i)&&(hC()||!vC())}),vC=dC(function(){return lC(/Chrome|CriOS|CrMo/i)}),yC=dC(function(){return lC(/Android/i)});function bC(e){return e.pointerType===``&&e.isTrusted?!0:yC()&&e.pointerType?e.type===`click`&&e.buttons===1:e.detail===0&&!e.pointerType}function xC(e){return!yC()&&e.width===0&&e.height===0||yC()&&e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType===`mouse`}var SC=(0,x.createContext)({isNative:!0,open:OC,useHref:e=>e});function CC(e){let{children:t,navigate:n,useHref:r}=e,i=(0,x.useMemo)(()=>({isNative:!1,open:(e,t,r,i)=>{DC(e,e=>{TC(e,t)?n(r,i):EC(e,t)})},useHref:r||(e=>e)}),[n,r]);return x.createElement(SC.Provider,{value:i},t)}function wC(){return(0,x.useContext)(SC)}function TC(e,t){let n=e.getAttribute(`target`);return(!n||n===`_self`)&&e.origin===location.origin&&!e.hasAttribute(`download`)&&!t.metaKey&&!t.ctrlKey&&!t.altKey&&!t.shiftKey}function EC(e,t,n=!0){let{metaKey:r,ctrlKey:i,altKey:a,shiftKey:o}=t,s=_C()&&fC()&&!mC()?new KeyboardEvent(`keydown`,{keyIdentifier:`Enter`,metaKey:r,ctrlKey:i,altKey:a,shiftKey:o}):new MouseEvent(`click`,{metaKey:r,ctrlKey:i,altKey:a,shiftKey:o,detail:1,bubbles:!0,cancelable:!0});EC.isOpening=n,qS(e),e.dispatchEvent(s),EC.isOpening=!1}EC.isOpening=!1;function DC(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute(`data-href`)){let n=document.createElement(`a`);n.href=e.getAttribute(`data-href`),e.hasAttribute(`data-target`)&&(n.target=e.getAttribute(`data-target`)),e.hasAttribute(`data-rel`)&&(n.rel=e.getAttribute(`data-rel`)),e.hasAttribute(`data-download`)&&(n.download=e.getAttribute(`data-download`)),e.hasAttribute(`data-ping`)&&(n.ping=e.getAttribute(`data-ping`)),e.hasAttribute(`data-referrer-policy`)&&(n.referrerPolicy=e.getAttribute(`data-referrer-policy`)),e.appendChild(n),t(n),e.removeChild(n)}}function OC(e,t){DC(e,e=>EC(e,t))}function kC(e){let t=wC().useHref(e.href??``);return{"data-href":e.href?t:void 0,"data-target":e.target,"data-rel":e.rel,"data-download":e.download,"data-ping":e.ping,"data-referrer-policy":e.referrerPolicy}}function AC(e){let t=wC().useHref(e?.href??``),n={};if(e)for(let r of[`href`,`target`,`rel`,`download`,`ping`,`referrerPolicy`])r in e&&e[r]!==void 0&&(n[r]=r===`href`?t:e[r]);return n}function jC(e,t,n,r){!t.isNative&&e.currentTarget instanceof HTMLAnchorElement&&e.currentTarget.href&&!e.isDefaultPrevented()&&TC(e.currentTarget,e)&&n&&(e.preventDefault(),t.open(e.currentTarget,e,n,r))}var MC=null,NC=`keyboard`,PC=new Set,FC=new Map,IC=!1,LC=!1,RC={Tab:!0,Escape:!0};function zC(e,t){for(let n of PC)n(e,t)}function BC(e){return!(e.metaKey||!fC()&&e.altKey||e.ctrlKey||e.key===`Control`||e.key===`Shift`||e.key===`Meta`)}function VC(e){IC=!0,!EC.isOpening&&BC(e)&&(MC=`keyboard`,NC=`keyboard`,zC(`keyboard`,e))}function HC(e){MC=`pointer`,NC=`pointerType`in e?e.pointerType:`mouse`,(e.type===`mousedown`||e.type===`pointerdown`)&&(IC=!0,zC(`pointer`,e))}function UC(e){!EC.isOpening&&bC(e)&&(IC=!0,MC=`virtual`,NC=`virtual`)}function WC(e){if(sC)return;let t=G(e),n=AS(t),r=kS(t);t===n?LC=!0:t!==r&&e.isTrusted&&(!IC&&!LC&&(MC=`virtual`,NC=`virtual`,zC(`virtual`,e)),IC=!1,LC=!1)}function GC(){sC||(IC=!1,LC=!0)}function KC(e){let t=BS(kS(G(e)));queueMicrotask(()=>{BS(kS(G(e)))!==t&&ZC(`keyboard`)})}function qC(e){if(typeof window>`u`||typeof document>`u`)return;let t=AS(e),n=kS(e);if(FC.get(t))return;let r=t.HTMLElement.prototype.focus;Reflect.defineProperty(t.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:function(){IC=!0,r.apply(this,arguments)}}),n.addEventListener(`keydown`,VC,!0),n.addEventListener(`keyup`,VC,!0),n.addEventListener(`click`,UC,!0),n.addEventListener(`invalid`,KC,!0),t.addEventListener(`focus`,WC,!0),t.addEventListener(`blur`,GC,!1),typeof PointerEvent<`u`&&(n.addEventListener(`pointerdown`,HC,!0),n.addEventListener(`pointermove`,HC,!0),n.addEventListener(`pointerup`,HC,!0)),t.addEventListener(`beforeunload`,()=>{JC(e)},{once:!0}),FC.set(t,{focus:r})}var JC=(e,t)=>{let n=AS(e),r=kS(e);t&&r.removeEventListener(`DOMContentLoaded`,t),FC.has(n)&&(Reflect.defineProperty(n.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:FC.get(n).focus}),r.removeEventListener(`keydown`,VC,!0),r.removeEventListener(`keyup`,VC,!0),r.removeEventListener(`click`,UC,!0),r.removeEventListener(`invalid`,KC,!0),n.removeEventListener(`focus`,WC,!0),n.removeEventListener(`blur`,GC,!1),typeof PointerEvent<`u`&&(r.removeEventListener(`pointerdown`,HC,!0),r.removeEventListener(`pointermove`,HC,!0),r.removeEventListener(`pointerup`,HC,!0)),FC.delete(n))};function Pee(e){let t=kS(e),n;return t.readyState===`loading`?(n=()=>{qC(e)},t.addEventListener(`DOMContentLoaded`,n)):qC(e),()=>JC(e,n)}typeof document<`u`&&Pee();function YC(){return MC!==`pointer`}function XC(){return MC}function ZC(e){MC=e,NC=e===`pointer`?`mouse`:e,zC(e,null)}function Fee(){return NC}function QC(){qC();let[e,t]=(0,x.useState)(MC);return(0,x.useEffect)(()=>{let e=()=>{t(MC)};return PC.add(e),()=>{PC.delete(e)}},[]),aS()?null:e}var Iee=new Set([`checkbox`,`radio`,`range`,`color`,`file`,`image`,`button`,`submit`,`reset`]);function Lee(e,t,n){let r=n?G(n):void 0,i=kS(r),a=AS(r),o=a===void 0?HTMLInputElement:a.HTMLInputElement,s=a===void 0?HTMLTextAreaElement:a.HTMLTextAreaElement,c=a===void 0?HTMLElement:a.HTMLElement,l=a===void 0?KeyboardEvent:a.KeyboardEvent,u=BS(i);return e=e||u instanceof o&&!Iee.has(u.type)||u instanceof s||u instanceof c&&u.isContentEditable,!(e&&t===`keyboard`&&n instanceof l&&!RC[n.key])}function Ree(e,t,n){qC(),(0,x.useEffect)(()=>{if(n?.enabled===!1)return;let t=(t,r)=>{Lee(!!n?.isTextInput,t,r)&&e(YC())};return PC.add(t),()=>{PC.delete(t)}},t)}var $C={};$C={collectionLabel:`مقترحات`};var ew={};ew={collectionLabel:`Предложения`};var tw={};tw={collectionLabel:`Návrhy`};var nw={};nw={collectionLabel:`Forslag`};var rw={};rw={collectionLabel:`Empfehlungen`};var iw={};iw={collectionLabel:`Προτάσεις`};var aw={};aw={collectionLabel:`Suggestions`};var ow={};ow={collectionLabel:`Sugerencias`};var sw={};sw={collectionLabel:`Soovitused`};var cw={};cw={collectionLabel:`Ehdotukset`};var lw={};lw={collectionLabel:`Suggestions`};var uw={};uw={collectionLabel:`הצעות`};var dw={};dw={collectionLabel:`Prijedlozi`};var fw={};fw={collectionLabel:`Javaslatok`};var pw={};pw={collectionLabel:`Suggerimenti`};var mw={};mw={collectionLabel:`候補`};var hw={};hw={collectionLabel:`제안`};var gw={};gw={collectionLabel:`Pasiūlymai`};var _w={};_w={collectionLabel:`Ieteikumi`};var vw={};vw={collectionLabel:`Forslag`};var yw={};yw={collectionLabel:`Suggesties`};var bw={};bw={collectionLabel:`Sugestie`};var xw={};xw={collectionLabel:`Sugestões`};var Sw={};Sw={collectionLabel:`Sugestões`};var Cw={};Cw={collectionLabel:`Sugestii`};var ww={};ww={collectionLabel:`Предложения`};var Tw={};Tw={collectionLabel:`Návrhy`};var Ew={};Ew={collectionLabel:`Predlogi`};var Dw={};Dw={collectionLabel:`Predlozi`};var Ow={};Ow={collectionLabel:`Förslag`};var kw={};kw={collectionLabel:`Öneriler`};var Aw={};Aw={collectionLabel:`Пропозиції`};var jw={};jw={collectionLabel:`建议`};var Mw={};Mw={collectionLabel:`建議`};var Nw={};Nw={"ar-AE":$C,"bg-BG":ew,"cs-CZ":tw,"da-DK":nw,"de-DE":rw,"el-GR":iw,"en-US":aw,"es-ES":ow,"et-EE":sw,"fi-FI":cw,"fr-FR":lw,"he-IL":uw,"hr-HR":dw,"hu-HU":fw,"it-IT":pw,"ja-JP":mw,"ko-KR":hw,"lt-LT":gw,"lv-LV":_w,"nb-NO":vw,"nl-NL":yw,"pl-PL":bw,"pt-BR":xw,"pt-PT":Sw,"ro-RO":Cw,"ru-RU":ww,"sk-SK":Tw,"sl-SI":Ew,"sr-SP":Dw,"sv-SE":Ow,"tr-TR":kw,"uk-UA":Aw,"zh-CN":jw,"zh-TW":Mw};function Pw(e,t){let n=AS(t),r=kS(t);if(r==null||n==null)return;let i,a=`meta[name="${CSS.escape(e)}"], meta[property="${CSS.escape(e)}"]`,o=r.querySelector(a);return o&&o instanceof n.HTMLMetaElement&&(e===`csp-nonce`&&o.nonce&&(i??=o.nonce||void 0),o.content&&(i??=o.content||void 0)),e===`csp-nonce`&&(i??=n.__webpack_nonce__||globalThis.__webpack_nonce__||void 0),i}var Fw=100,Iw=600,Lw={isOpen:!1,screenWidth:0,screenHeight:0,screenAngle:0,screenTimeout:0,startTimeStamp:0,endTimeStamp:0,resizeTimeStamp:0,resizeTimeout:0},zee=new Set([`checkbox`,`radio`,`range`,`color`,`file`,`image`,`button`,`submit`,`reset`]);function Rw(){let e=Number(window.visualViewport?.width??window.innerWidth),t=Number(window.visualViewport?.height??window.innerHeight),n=Number(window.visualViewport?.scale??1);return{width:e*n,height:t*n,angle:window.screen.orientation?.angle??0}}function Bee(e){Lw.resizeTimeStamp<=e.timeStamp+50&&(Lw.resizeTimeStamp=e.timeStamp+150,window.clearTimeout(Lw.resizeTimeout),Lw.resizeTimeout=window.setTimeout(zw,150))}function zw(){let e=Pw(`viewport`);if(yC()&&e?.includes(`overlays-content`))return;let t=performance.now(),n=Rw(),r=t-Lw.startTimeStamp,i=Lw.screenHeight-n.height,a=Lw.screenAngle-n.angle;Math.abs(a)%180&&Lw.screenWidth-n.height<Fw&&(Lw.screenWidth=n.width,Lw.screenHeight=n.height,Lw.screenAngle=n.angle,i=0),r>Iw&&(window.clearTimeout(Lw.screenTimeout),Lw.screenTimeout=window.setTimeout(()=>{let e=Hw(document.hasFocus()?BS():null),t=Rw();Math.abs(Lw.screenAngle-t.angle)%180||Lw.isOpen&&e||(Lw.screenWidth=t.width,Lw.screenHeight=t.height,Lw.screenAngle=t.angle,Lw.isOpen=!1)},Iw)),r<=Iw&&i>=Fw&&(Lw.endTimeStamp=t),Lw.isOpen=i>=Fw}function Vee(){let e=Rw(),t=Lw.screenAngle-e.angle;if(Math.abs(t)%180&&!Lw.isOpen){let e=Lw.screenWidth;Lw.screenWidth=Lw.screenHeight,Lw.screenHeight=e}Lw.isOpen||(Lw.screenAngle=e.angle)}function Hee(e){let t=Hw(G(e)),n=performance.now(),r=Rw(),i=Lw.screenHeight-r.height;i<Fw&&t&&(Lw.screenWidth=r.width,Lw.screenHeight=r.height,Lw.screenAngle=r.angle,Lw.startTimeStamp=n),t&&window.clearTimeout(Lw.screenTimeout),i>=Fw&&t&&(Lw.endTimeStamp=n)}function Bw(){let e=Rw();FS(window.visualViewport,`resize`,_C()?zw:Bee),FS(window.screen.orientation,`change`,Vee),FS(window,`focus`,Hee,{capture:!0,passive:!0}),Lw.screenWidth=e.width,Lw.screenHeight=e.height,Lw.screenAngle=e.angle}typeof document<`u`&&(document.readyState===`loading`?FS(document,`DOMContentLoaded`,Bw):Bw());function Vw(){let e=Pw(`viewport`);return yC()&&e?.includes(`overlays-content`)?!1:Lw.isOpen?!0:Lw.startTimeStamp?Lw.endTimeStamp>=Lw.startTimeStamp?!0:performance.now()-Lw.startTimeStamp<=Iw?Lw.endTimeStamp>0||window.navigator.maxTouchPoints>0:!1:window.navigator.maxTouchPoints>0}function Hw(e){if(!(e instanceof Element)||!tC(e))return!1;let t=e instanceof HTMLTextAreaElement,n=e instanceof HTMLElement&&e.isContentEditable,r=e instanceof HTMLInputElement&&!zee.has(e.type);return t||n||r}function Uw(e){return fC()?e.metaKey:e.ctrlKey}function Ww(){return Lw.isOpen}var Gw=x.useInsertionEffect??qx;function Kw(e){let t=(0,x.useRef)(null);return Gw(()=>{t.current=e},[e]),(0,x.useCallback)((...e)=>{let n=t.current;return n?.(...e)},[])}function qw(e,t,n,r){let i=Kw(n),a=n==null;(0,x.useEffect)(()=>{if(!(a||e.current==null))return FS(e.current,t,i,r)},[e,t,r,a])}function Jw(e,t){let{id:n,"aria-label":r,"aria-labelledby":i}=e;return n=dS(n),i&&r?i=[...new Set([n,...i.trim().split(/\s+/)])].join(` `):i&&=i.trim().split(/\s+/).join(` `),!r&&!i&&t&&(r=t),{id:n,"aria-label":r,"aria-labelledby":i}}var Yw=new Set([`Arab`,`Syrc`,`Samr`,`Mand`,`Thaa`,`Mend`,`Nkoo`,`Adlm`,`Rohg`,`Hebr`]),Xw=new Set([`ae`,`ar`,`arc`,`bcc`,`bqi`,`ckb`,`dv`,`fa`,`glk`,`he`,`ku`,`mzn`,`nqo`,`pnb`,`ps`,`sd`,`ug`,`ur`,`yi`]);function Zw(e){if(Intl.Locale){let t=new Intl.Locale(e).maximize(),n=typeof t.getTextInfo==`function`?t.getTextInfo():t.textInfo;if(n)return n.direction===`rtl`;if(t.script)return Yw.has(t.script)}let t=e.split(`-`)[0];return Xw.has(t)}var Qw=Symbol.for(`react-aria.i18n.locale`);function $w(){let e=typeof window<`u`&&window[Qw]||typeof navigator<`u`&&(navigator.language||navigator.userLanguage)||`en-US`;try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e=`en-US`}return{locale:e,direction:Zw(e)?`rtl`:`ltr`}}var eT=$w(),tT=new Set;function nT(){eT=$w();for(let e of tT)e(eT)}function Uee(){let e=aS(),[t,n]=(0,x.useState)(eT);return(0,x.useEffect)(()=>(tT.size===0&&window.addEventListener(`languagechange`,nT),tT.add(n),()=>{tT.delete(n),tT.size===0&&window.removeEventListener(`languagechange`,nT)}),[]),e?{locale:typeof window<`u`&&window[Qw]||`en-US`,direction:`ltr`}:t}var Wee=x.createContext(null);function rT(){let e=Uee();return(0,x.useContext)(Wee)||e}var iT=Symbol.for(`react-aria.i18n.locale`),aT=Symbol.for(`react-aria.i18n.strings`),oT=void 0,sT=class e{constructor(e,t=`en-US`){this.strings=Object.fromEntries(Object.entries(e).filter(([,e])=>e)),this.defaultLocale=t}getStringForLocale(e,t){let n=this.getStringsForLocale(t)[e];if(!n)throw Error(`Could not find intl message ${e} in ${t} locale`);return n}getStringsForLocale(e){let t=this.strings[e];return t||(t=cT(e,this.strings,this.defaultLocale),this.strings[e]=t),t}static getGlobalDictionaryForPackage(t){if(typeof window>`u`)return null;let n=window[iT];if(oT===void 0){let t=window[aT];if(!t)return null;oT={};for(let r in t)oT[r]=new e({[n]:t[r]},n)}let r=oT?.[t];if(!r)throw Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return r}};function cT(e,t,n=`en-US`){if(t[e])return t[e];let r=lT(e),i=uT(e);if(i&&t[`${r}-${i}`])return t[`${r}-${i}`];if(t[r])return t[r];for(let e in t)if(e.startsWith(r+`-`))return t[e];return t[n]}function lT(e){return Intl.Locale?new Intl.Locale(e).language:e.split(`-`)[0]}function uT(e){if(Intl.Locale)return new Intl.Locale(e).script}var dT=new Map,fT=new Map,pT=class{constructor(e,t){this.locale=e,this.strings=t}format(e,t){let n=this.strings.getStringForLocale(e,this.locale);return typeof n==`function`?n(t,this):n}plural(e,t,n=`cardinal`){let r=t[`=`+e];if(r)return typeof r==`function`?r():r;let i=this.locale+`:`+n,a=dT.get(i);return a||(a=new Intl.PluralRules(this.locale,{type:n}),dT.set(i,a)),r=t[a.select(e)]||t.other,typeof r==`function`?r():r}number(e){let t=fT.get(this.locale);return t||(t=new Intl.NumberFormat(this.locale),fT.set(this.locale,t)),t.format(e)}select(e,t){let n=e[t]||e.other;return typeof n==`function`?n():n}},mT=new WeakMap;function hT(e){let t=mT.get(e);return t||(t=new sT(e),mT.set(e,t)),t}function gT(e,t){return t&&sT.getGlobalDictionaryForPackage(t)||hT(e)}function _T(e,t){let{locale:n}=rT(),r=gT(e,t);return(0,x.useMemo)(()=>new pT(n,r),[n,r])}function vT(e){return e&&e.__esModule?e.default:e}function yT(e,t){let{inputRef:n,collectionRef:r,filter:i,disableAutoFocusFirst:a=!1,disableVirtualFocus:o=!1}=e,s=dS(),c=(0,x.useRef)(void 0),l=(0,x.useRef)(!1),u=(0,x.useRef)(null),d=XC()===`virtual`&&(hC()||yC()),[f,p]=(0,x.useState)(!d&&!o),[m,h]=(0,x.useState)(!1),[g,_]=(0,x.useState)(!1);(0,x.useEffect)(()=>()=>clearTimeout(c.current),[]);let v=Kw(e=>{!e.isTrusted&&f&&n.current&&BS(kS(n.current))!==n.current&&Fee()!==`touch`&&n.current.focus();let i=G(e);!e.isTrusted&&i&&u.current!==i.id&&(clearTimeout(c.current),i===r.current?u.current&&!document.getElementById(u.current)&&(u.current=null,t.setFocusedNodeId(null)):l.current?(u.current=i.id,c.current=setTimeout(()=>{t.setFocusedNodeId(i.id)},500)):(u.current=i.id,t.setFocusedNodeId(i.id)),l.current=!1)}),[y,b]=(0,x.useState)(null),S=(0,x.useCallback)(e=>{b(e),e==null?h(!1):(e.getAttribute(`tabindex`)!=null&&p(!1),h(!0))},[]);qx(()=>(y?.addEventListener(`focusin`,v),()=>{y?.removeEventListener(`focusin`,v)}),[y]);let C=gS((0,x.useMemo)(()=>mS(r,S),[r,S])),w=(0,x.useCallback)(()=>{r.current?(l.current=!0,r.current?.dispatchEvent(new CustomEvent(OS,{cancelable:!0,bubbles:!0,detail:{focusStrategy:`first`}}))):_(!0)},[r]),T=(0,x.useCallback)(e=>{_(!1),US(BS()),u.current=null,t.setFocusedNodeId(null);let n=new CustomEvent(DS,{cancelable:!0,bubbles:!0,detail:{clearFocusKey:e}});clearTimeout(c.current),l.current=!1,r.current?.dispatchEvent(n)},[r,t]),E=(0,x.useRef)(``);qw(n,`beforeinput`,e=>{let{inputType:t}=e;E.current=t});let D=e=>{(E.current===`insertText`||E.current===`insertCompositionText`||E.current===`insertFromComposition`)&&!a?w():E.current&&(E.current.includes(`insert`)||E.current.includes(`delete`)||E.current.includes(`history`))&&(T(!0),KS(document)===n.current&&GS(n.current,null)),t.setInputValue(e)},O=(0,x.useRef)(null),k=e=>{if(O.current=G(e),e.nativeEvent.isComposing)return;let t=u.current;switch(t!==null&&kS(n.current).getElementById(t)==null&&(u.current=null,t=null),e.key){case`a`:if(Uw(e))return;break;case`Escape`:if(e.isDefaultPrevented())return;break;case` `:return;case`Tab`:`continuePropagation`in e&&e.continuePropagation();return;case`Home`:case`End`:case`PageDown`:case`PageUp`:case`ArrowUp`:case`ArrowDown`:case`ArrowRight`:case`ArrowLeft`:{if((e.key===`Home`||e.key===`End`)&&t==null&&e.shiftKey)return;if(e.key===`ArrowRight`||e.key===`ArrowLeft`){if(t==null){e.isPropagationStopped()||e.stopPropagation();return}break}e.preventDefault();let n=new CustomEvent(OS,{cancelable:!0,bubbles:!0});r.current?.dispatchEvent(n);break}}e.isPropagationStopped()||e.stopPropagation();let i=!0;if(r.current!==null){if(t==null)i=r.current?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type,e.nativeEvent))||!1;else{let n=document.getElementById(t);n&&(i=n?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type,e.nativeEvent))||!1)}}if(i)switch(e.key){case`ArrowLeft`:case`ArrowRight`:T();break;case`Enter`:t!=null&&document.getElementById(t)?.dispatchEvent(new PointerEvent(`click`,e.nativeEvent))}else e.preventDefault()},A=Kw(e=>{if(G(e)===O.current){e.stopImmediatePropagation();let t=u.current;t==null?r.current?.dispatchEvent(new KeyboardEvent(e.type,e)):document.getElementById(t)?.dispatchEvent(new KeyboardEvent(e.type,e))}});(0,x.useEffect)(()=>(document.addEventListener(`keyup`,A,!0),()=>{document.removeEventListener(`keyup`,A,!0)}),[]);let j=Jw({id:s,"aria-label":_T(vT(Nw),`@react-aria/autocomplete`).format(`collectionLabel`)}),M=(0,x.useCallback)((e,n)=>!i||i(e,t.inputValue,n),[t.inputValue,i]),ee=e=>{if(!e.isTrusted)return;let t=u.current?document.getElementById(u.current):null;t&&WS(t,e.relatedTarget)},N=e=>{if(e.isTrusted&&u.current&&document.getElementById(u.current)){let t=G(e);queueMicrotask(()=>{WS(t,r.current),GS(r.current,t)})}},P=e=>{e.button===0&&e.pointerType!==`touch`&&u.current!=null&&n.current!=null&&G(e)===n.current&&T()},te={value:t.inputValue,onChange:D},F={onKeyDown:k,"aria-activedescendant":t.focusedNodeId??void 0,onBlur:ee,onFocus:N,onPointerDown:P};return te={...te,...f&&m&&F,enterKeyHint:`go`,"aria-controls":m?s:void 0,"aria-autocomplete":`list`,autoCorrect:`off`,spellCheck:`false`,autoComplete:`off`},{inputProps:te,collectionProps:U(j,{shouldUseVirtualFocus:f,disallowTypeAhead:f,autoFocus:g?`first`:!1}),collectionRef:C,filter:i==null?void 0:M}}var bT=x.useInsertionEffect??x.useLayoutEffect;function xT(e,t,n){let[r,i]=(0,x.useState)(e||t),a=(0,x.useRef)(r),o=(0,x.useRef)(e!==void 0),s=e!==void 0;(0,x.useEffect)(()=>{o.current,o.current=s},[s]);let c=s?e:r;bT(()=>{a.current=c});let[,l]=(0,x.useReducer)(()=>({}),{});return[c,(0,x.useCallback)((e,...t)=>{let r=typeof e==`function`?e(a.current):e;Object.is(a.current,r)||(a.current=r,i(r),l(),n?.(r,...t))},[n])]}function ST(e){let{onInputChange:t,inputValue:n,defaultInputValue:r=``}=e,i=e=>{t&&t(e)},[a,o]=(0,x.useState)(null),[s,c]=xT(n,r,i);return{inputValue:s,setInputValue:c,focusedNodeId:a,setFocusedNodeId:o}}var Gee=(0,x.createContext)(null),Kee=(0,x.createContext)(null),CT=(0,x.createContext)(null),wT=(0,x.createContext)(null);function qee(e){e=U(xS(Gee,e.slot),e);let{filter:t,disableAutoFocusFirst:n}=e,r=ST(e),i=(0,x.useRef)(null),a=(0,x.useRef)(null),{inputProps:o,collectionProps:s,collectionRef:c,filter:l}=yT({...wS(e),filter:t,disableAutoFocusFirst:n,inputRef:i,collectionRef:a},r);return x.createElement(vS,{values:[[Kee,r],[wT,{...o,ref:i}],[CT,{...s,filter:l,ref:c}]]},e.children)}var TT=class{constructor(e){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=this.constructor.type,this.key=e}get childNodes(){throw Error(`childNodes is not supported`)}clone(){let e=new this.constructor(this.key);return e.value=this.value,e.level=this.level,e.hasChildNodes=this.hasChildNodes,e.rendered=this.rendered,e.textValue=this.textValue,e[`aria-label`]=this[`aria-label`],e.index=this.index,e.parentKey=this.parentKey,e.prevKey=this.prevKey,e.nextKey=this.nextKey,e.firstChildKey=this.firstChildKey,e.lastChildKey=this.lastChildKey,e.props=this.props,e.render=this.render,e.colSpan=this.colSpan,e.colIndex=this.colIndex,e}filter(e,t,n){let r=this.clone();return t.addDescendants(r,e),r}},ET=class extends TT{filter(e,t,n){let[r,i]=jT(e,t,this.firstChildKey,n),a=this.clone();return a.firstChildKey=r,a.lastChildKey=i,a}},Jee=class extends TT{static{this.type=`header`}},DT=class extends TT{static{this.type=`loader`}},OT=class extends ET{static{this.type=`item`}filter(e,t,n){if(n(this.textValue,this)){let n=this.clone();return t.addDescendants(n,e),n}return null}},kT=class extends ET{static{this.type=`section`}filter(e,t,n){let r=super.filter(e,t,n);if(r&&r.lastChildKey!==null){let t=e.getItem(r.lastChildKey);if(t&&t.type!==`header`)return r}return null}},AT=class{get size(){return this.itemCount}getKeys(){return this.keyMap.keys()}*[Symbol.iterator](){let e=this.firstKey==null?void 0:this.keyMap.get(this.firstKey);for(;e;)yield e,e=e.nextKey==null?void 0:this.keyMap.get(e.nextKey)}getChildren(e){let t=this.keyMap;return{*[Symbol.iterator](){let n=t.get(e),r=n?.firstChildKey==null?null:t.get(n.firstChildKey);for(;r;)yield r,r=r.nextKey==null?void 0:t.get(r.nextKey)}}}getKeyBefore(e){let t=this.keyMap.get(e);if(!t)return null;if(t.prevKey!=null){for(t=this.keyMap.get(t.prevKey);t&&t.type!==`item`&&t.lastChildKey!=null;)t=this.keyMap.get(t.lastChildKey);return t?.key??null}return t.parentKey}getKeyAfter(e){let t=this.keyMap.get(e);if(!t)return null;if(t.type!==`item`&&t.firstChildKey!=null)return t.firstChildKey;for(;t;){if(t.nextKey!=null)return t.nextKey;if(t.parentKey!=null)t=this.keyMap.get(t.parentKey);else return null}return null}getFirstKey(){return this.firstKey}getLastKey(){let e=this.lastKey==null?null:this.keyMap.get(this.lastKey);for(;e?.lastChildKey!=null;)e=this.keyMap.get(e.lastChildKey);return e?.key??null}getItem(e){return this.keyMap.get(e)??null}at(){throw Error(`Not implemented`)}clone(){let e=this.constructor,t=new e;return t.keyMap=new Map(this.keyMap),t.firstKey=this.firstKey,t.lastKey=this.lastKey,t.itemCount=this.itemCount,t}addNode(e){if(this.frozen)throw Error(`Cannot add a node to a frozen collection`);e.type===`item`&&this.keyMap.get(e.key)==null&&this.itemCount++,this.keyMap.set(e.key,e)}addDescendants(e,t){this.addNode(e);let n=t.getChildren(e.key);for(let e of n)this.addDescendants(e,t)}removeNode(e){if(this.frozen)throw Error(`Cannot remove a node to a frozen collection`);let t=this.keyMap.get(e);t!=null&&t.type===`item`&&this.itemCount--,this.keyMap.delete(e)}commit(e,t,n=!1){if(this.frozen)throw Error(`Cannot commit a frozen collection`);this.firstKey=e,this.lastKey=t,this.frozen=!n}filter(e){let t=new this.constructor,[n,r]=jT(this,t,this.firstKey,e);return t?.commit(n,r),t}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1,this.itemCount=0}};function jT(e,t,n,r){if(n==null)return[null,null];let i=null,a=null,o=e.getItem(n);for(;o!=null;){let n=o.filter(e,t,r);n!=null&&(n.nextKey=null,a&&(n.prevKey=a.key,a.nextKey=n.key),i??=n,t.addNode(n),a=n),o=o.nextKey==null?null:e.getItem(o.nextKey)}if(a&&a.type===`separator`){let e=a.prevKey;t.removeNode(a.key),e==null?a=null:(a=t.getItem(e),a.nextKey=null)}return[i?.key??null,a?.key??null]}var MT=class{constructor(e){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this._minInvalidChildIndex=null,this.ownerDocument=e}*[Symbol.iterator](){let e=this.firstChild;for(;e;)yield e,e=e.nextSibling}get firstChild(){return this._firstChild}set firstChild(e){this._firstChild=e,this.ownerDocument.markDirty(this)}get lastChild(){return this._lastChild}set lastChild(e){this._lastChild=e,this.ownerDocument.markDirty(this)}get previousSibling(){return this._previousSibling}set previousSibling(e){this._previousSibling=e,this.ownerDocument.markDirty(this)}get nextSibling(){return this._nextSibling}set nextSibling(e){this._nextSibling=e,this.ownerDocument.markDirty(this)}get parentNode(){return this._parentNode}set parentNode(e){this._parentNode=e,this.ownerDocument.markDirty(this)}get isConnected(){return this.parentNode?.isConnected||!1}invalidateChildIndices(e){(this._minInvalidChildIndex==null||!this._minInvalidChildIndex.isConnected||e.index<this._minInvalidChildIndex.index)&&(this._minInvalidChildIndex=e,this.ownerDocument.markDirty(this))}updateChildIndices(){let e=this._minInvalidChildIndex;for(;e;)e.index=e.previousSibling?e.previousSibling.index+1:0,e=e.nextSibling;this._minInvalidChildIndex=null}appendChild(e){e.parentNode&&e.parentNode.removeChild(e),this.firstChild??=e,this.lastChild?(this.lastChild.nextSibling=e,e.index=this.lastChild.index+1,e.previousSibling=this.lastChild):(e.previousSibling=null,e.index=0),e.parentNode=this,e.nextSibling=null,this.lastChild=e,this.ownerDocument.markDirty(this),this.isConnected&&this.ownerDocument.queueUpdate()}insertBefore(e,t){if(t==null)return this.appendChild(e);e.parentNode&&e.parentNode.removeChild(e),e.nextSibling=t,e.previousSibling=t.previousSibling,e.index=t.index-1,this.firstChild===t?this.firstChild=e:t.previousSibling&&(t.previousSibling.nextSibling=e),t.previousSibling=e,e.parentNode=t.parentNode,this.invalidateChildIndices(e),this.isConnected&&this.ownerDocument.queueUpdate()}removeChild(e){e.parentNode===this&&(this._minInvalidChildIndex===e&&(this._minInvalidChildIndex=null),e.nextSibling&&(this.invalidateChildIndices(e.nextSibling),e.nextSibling.previousSibling=e.previousSibling),e.previousSibling&&(e.previousSibling.nextSibling=e.nextSibling),this.firstChild===e&&(this.firstChild=e.nextSibling),this.lastChild===e&&(this.lastChild=e.previousSibling),e.parentNode=null,e.nextSibling=null,e.previousSibling=null,e.index=0,this.ownerDocument.markDirty(e),this.isConnected&&this.ownerDocument.queueUpdate())}addEventListener(){}removeEventListener(){}get previousVisibleSibling(){let e=this.previousSibling;for(;e&&e.isHidden;)e=e.previousSibling;return e}get nextVisibleSibling(){let e=this.nextSibling;for(;e&&e.isHidden;)e=e.nextSibling;return e}get firstVisibleChild(){let e=this.firstChild;for(;e&&e.isHidden;)e=e.nextSibling;return e}get lastVisibleChild(){let e=this.lastChild;for(;e&&e.isHidden;)e=e.previousSibling;return e}},NT=class e extends MT{constructor(e,t){super(t),this.nodeType=8,this.isMutated=!0,this._index=0,this.isHidden=!1,this.node=null}get index(){return this._index}set index(e){this._index=e,this.ownerDocument.markDirty(this)}get level(){return this.parentNode instanceof e?this.parentNode.level+ +(this.parentNode.node?.type===`item`):0}getMutableNode(){return this.node==null?null:(this.isMutated||=(this.node=this.node.clone(),!0),this.ownerDocument.markDirty(this),this.node)}updateNode(){let t=this.nextVisibleSibling,n=this.getMutableNode();if(n!=null&&(n.index=this.index,n.level=this.level,n.parentKey=this.parentNode instanceof e?this.parentNode.node?.key??null:null,n.prevKey=this.previousVisibleSibling?.node?.key??null,n.nextKey=t?.node?.key??null,n.hasChildNodes=!!this.firstChild,n.firstChildKey=this.firstVisibleChild?.node?.key??null,n.lastChildKey=this.lastVisibleChild?.node?.key??null,(n.colSpan!=null||n.colIndex!=null)&&t)){let e=(n.colIndex??n.index)+(n.colSpan??1);if(t.node!=null&&e!==t.node.colIndex){let n=t.getMutableNode();n.colIndex=e}}}setProps(e,t,n,r,i){let a,{value:o,textValue:s,id:c,...l}=e;if(this.node==null?(a=new n(c??`react-aria-${++this.ownerDocument.nodeId}`),this.node=a):a=this.getMutableNode(),l.ref=t,a.props=l,a.rendered=r,a.render=i,a.value=o,e[`aria-label`]&&(a[`aria-label`]=e[`aria-label`]),a.textValue=s||(typeof l.children==`string`?l.children:``)||e[`aria-label`]||``,c!=null&&c!==a.key)throw Error(`Cannot change the id of an item`);l.colSpan!=null&&(a.colSpan=l.colSpan),this.isConnected&&this.ownerDocument.queueUpdate()}get style(){let e=this;return{get display(){return e.isHidden?`none`:``},set display(t){let n=t===`none`;if(e.isHidden!==n){(e.parentNode?.firstVisibleChild===e||e.parentNode?.lastVisibleChild===e)&&e.ownerDocument.markDirty(e.parentNode);let t=e.previousVisibleSibling,r=e.nextVisibleSibling;t&&e.ownerDocument.markDirty(t),r&&e.ownerDocument.markDirty(r),e.isHidden=n,e.ownerDocument.markDirty(e)}}}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}},PT=class extends MT{constructor(e){super(null),this.nodeType=11,this.ownerDocument=this,this.dirtyNodes=new Set,this.isSSR=!1,this.nodeId=0,this.nodesByProps=new WeakMap,this.keyOwners=new Map,this.nextCollection=null,this.subscriptions=new Set,this.queuedRender=!1,this.inSubscription=!1,this.collection=e,this.nextCollection=e}get isConnected(){return!0}createElement(e){return new NT(e,this)}getMutableCollection(){return this.nextCollection||=this.collection.clone(),this.nextCollection}markDirty(e){this.dirtyNodes.add(e)}addNode(e){if(e.isHidden||e.node==null)return;let t=this.getMutableCollection();if(!t.getItem(e.node.key))for(let t of e)this.addNode(t);t.addNode(e.node)}removeNode(e){for(let t of e)this.removeNode(t);e.node&&this.getMutableCollection().removeNode(e.node.key)}getCollection(){return this.inSubscription||(this.queuedRender=!1,this.updateCollection()),this.collection}updateCollection(){for(let e of this.dirtyNodes)e instanceof NT&&(!e.isConnected||e.isHidden)?this.removeNode(e):e.updateChildIndices();for(let e of this.dirtyNodes)e instanceof NT?(e.isConnected&&!e.isHidden&&(e.updateNode(),this.addNode(e)),e.node&&this.dirtyNodes.delete(e),e.isMutated=!1):this.dirtyNodes.delete(e);this.nextCollection&&(this.nextCollection.commit(this.firstVisibleChild?.node?.key??null,this.lastVisibleChild?.node?.key??null,this.isSSR),this.isSSR||(this.collection=this.nextCollection,this.nextCollection=null))}queueUpdate(){if(!(this.dirtyNodes.size===0||this.queuedRender)){this.queuedRender=!0,this.inSubscription=!0,this.isSSR||(this.collection=this.collection.clone());for(let e of this.subscriptions)e();this.inSubscription=!1}}subscribe(e){return this.subscriptions.add(e),this.queuedRender&&e(),()=>this.subscriptions.delete(e)}resetAfterSSR(){this.isSSR&&(this.isSSR=!1,this.firstChild=null,this.lastChild=null,this.nodeId=0,this.keyOwners.clear())}};function FT(e){let{children:t,items:n,idScope:r,addIdAndValue:i,dependencies:a=[]}=e,o=(0,x.useMemo)(()=>void 0,[t]),s=(0,x.useMemo)(()=>new WeakMap,[...a,o]);return(0,x.useMemo)(()=>{if(n&&typeof t==`function`){let e=[];for(let a of n){let n=IT(a)?a:null,o=n?s.get(n):null;if(!o){o=t(a);let c=o.props.id??a?.key??a?.id;r!=null&&o.props.id==null&&c!=null&&(c=r+`:`+c);let l=c??e.length;o=(0,x.cloneElement)(o,i?{key:l,id:c,value:a}:{key:l}),n&&s.set(n,o)}e.push(o)}return e}if(typeof t!=`function`)return t},[t,n,s,r,i])}function IT(e){switch(typeof e){case`object`:return e!=null;case`function`:case`symbol`:return!0;default:return!1}}var LT=new Map,RT=new Set;function zT(e){return`propertyName`in e}function BT(e){let t=G(e);if(!zT(e)||!t)return;let n=LT.get(t);n||(n=new Set,LT.set(t,n),t.addEventListener(`transitioncancel`,VT,{once:!0})),n.add(e.propertyName)}function VT(e){let t=G(e);if(!zT(e)||!t)return;let n=LT.get(t);if(n&&(n.delete(e.propertyName),n.size===0&&(t.removeEventListener(`transitioncancel`,VT),LT.delete(t)),LT.size===0))for(let e of RT)e(!0),RT.delete(e)}function HT(){FS(document,`transitionrun`,BT),FS(document,`transitionend`,VT)}function UT(){for(let[e]of LT)`isConnected`in e&&!e.isConnected&&LT.delete(e)}typeof document<`u`&&(document.readyState===`loading`?FS(document,`DOMContentLoaded`,HT):HT());function WT(e){let t=window.requestAnimationFrame(()=>{if(UT(),LT.size===0)return e(!1);RT.add(e)});return()=>{window.cancelAnimationFrame(t),RT.delete(e)}}function GT(e){if(!e.isConnected)return;let t=kS(e);if(XC()===`virtual`){let n=BS(t);WT(()=>{let r=BS(t);(r===n||r===t.body)&&e.isConnected&&qS(e)})}else qS(e)}function KT(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:i}=e,a=(0,x.useCallback)(e=>{if(G(e)===e.currentTarget)return r&&r(e),i&&i(!1),!0},[r,i]),o=oC(a),s=(0,x.useCallback)(e=>{let t=G(e),r=kS(t),a=r?BS(r):BS();t===e.currentTarget&&t===a&&(n&&n(e),i&&i(!0),o(e))},[i,n,o]);return{focusProps:{onFocus:!t&&(n||i||r)?s:void 0,onBlur:!t&&(r||i)?a:void 0}}}function qT(e){if(e)return t=>{let n=!0;e({...t,preventDefault(){t.preventDefault()},isDefaultPrevented(){return t.isDefaultPrevented()},stopPropagation(){n=!0},continuePropagation(){n=!1,typeof t.continuePropagation==`function`&&t.continuePropagation()},isPropagationStopped(){return n}}),n&&!(typeof t.isPropagationStopped==`function`&&t.isPropagationStopped())&&t.stopPropagation()}}var JT=new Set([`shift`,`alt`,`control`,`meta`,`mod`]),YT=[`Alt`,`Control`,`Meta`,`Shift`];function XT(e){let t=new Set;return e.alt&&t.add(`Alt`),e.shift&&t.add(`Shift`),e.ctrl&&t.add(`Control`),e.meta&&t.add(`Meta`),e.mod&&t.add(fC()?`Meta`:`Control`),t}function ZT(e){let t=new Set;return e.altKey&&t.add(`Alt`),e.ctrlKey&&t.add(`Control`),e.metaKey&&t.add(`Meta`),e.shiftKey&&t.add(`Shift`),t}function QT(e){return YT.filter(t=>e.has(t))}function $T(e){let t=e.split(`+`).reduce((e,t)=>{let n=t.toLowerCase();return JT.has(n)?n===`shift`?e.shift=!0:n===`alt`?e.alt=!0:n===`control`?e.ctrl=!0:n===`meta`?e.meta=!0:n===`mod`&&(e.mod=!0):e.key=t,e},{shift:!1,alt:!1,ctrl:!1,meta:!1,mod:!1,key:``});if(t.key===``)throw Error(`Invalid keyboard shortcut: "${e}". Must include exactly one non-modifier key (e.g. "a", "Enter", "ArrowDown"). Combine any of Shift, Alt, Ctrl, Meta, and Mod.`);return t}function eE(e){return e.toLowerCase()}var tE={space:` `,esc:`escape`,del:`delete`,ins:`insert`,left:`arrowleft`,right:`arrowright`,up:`arrowup`,down:`arrowdown`,pageup:`pageup`,pagedown:`pagedown`};function nE(e){let t=eE(e);return tE[t]??t}function rE(e){let t=QT(XT(e)),n=nE(e.key);return t.length>0?`${t.join(`+`)}+${n}`:n}function iE(e){let t=QT(ZT(e)),n=eE(e.key);return(t.length>0?`${t.join(`+`)}+`:``)+n}function aE(e){let t=new Map;for(let[n,r]of Object.entries(e)){let e=$T(n);t.set(rE(e),r)}return e=>{let n=iE(e),r=t.get(n),i=r?.(e);i===void 0&&r!==void 0?i={shouldContinuePropagation:!1,shouldPreventDefault:!0}:typeof i==`boolean`&&(i={shouldContinuePropagation:!i,shouldPreventDefault:i}),i?.shouldPreventDefault&&e.preventDefault(),(!r||i?.shouldContinuePropagation)&&e.continuePropagation()}}function oE(e){let{shortcuts:t,allowRepeats:n=!1,allowComposing:r=!1}=e,i,a;if(t){let o=aE(t),s=qT(e=>{zS(e.currentTarget,G(e))?e.nativeEvent?.repeat&&!n||e.nativeEvent?.isComposing&&!r?e.continuePropagation():o(e):e.continuePropagation()}),c=qT(e=>{zS(e.currentTarget,G(e))&&(e.nativeEvent?.repeat&&!n||e.nativeEvent?.isComposing),e.continuePropagation()});i=e.onKeyDown?Kx(e.onKeyDown,s):s,a=e.onKeyUp?Kx(e.onKeyUp,c):c}else i=qT(e.onKeyDown),a=qT(e.onKeyUp);return{keyboardProps:e.isDisabled?{}:{onKeyDown:i,onKeyUp:a}}}function sE(e,t){qx(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}var cE=x.createContext(null);function lE(e){let t=(0,x.useContext)(cE)||{};sE(t,e);let{ref:n,...r}=t;return r}var uE=x.forwardRef(function(e,t){let{children:n,...r}=e,i=gS(t),a={...r,ref:i};return x.createElement(cE.Provider,{value:a},n)});function dE(e,t){let{focusProps:n}=KT(e),{keyboardProps:r}=oE(e),i=U(n,r),a=lE(t),o=e.isDisabled?{}:a,s=(0,x.useRef)(e.autoFocus);(0,x.useEffect)(()=>{s.current&&t.current&&GT(t.current),s.current=!1},[t]);let c=e.excludeFromTabOrder?-1:0;return e.isDisabled&&(c=void 0),{focusableProps:U({...i,tabIndex:c},o)}}typeof HTMLTemplateElement<`u`&&(Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.content.firstChild}}),Object.defineProperty(HTMLTemplateElement.prototype,"appendChild",{configurable:!0,enumerable:!0,value:function(e){return this.content.appendChild(e)}}),Object.defineProperty(HTMLTemplateElement.prototype,"removeChild",{configurable:!0,enumerable:!0,value:function(e){return this.content.removeChild(e)}}),Object.defineProperty(HTMLTemplateElement.prototype,"insertBefore",{configurable:!0,enumerable:!0,value:function(e,t){return this.content.insertBefore(e,t)}}));var fE=(0,x.createContext)(!1);function pE(e){if((0,x.useContext)(fE))return x.createElement(x.Fragment,null,e.children);let t=x.createElement(fE.Provider,{value:!0},e.children);return x.createElement(`template`,null,t)}function mE(e){let t=(t,n)=>(0,x.useContext)(fE)?null:e(t,n);return t.displayName=e.displayName||e.name,(0,x.forwardRef)(t)}function hE(){return(0,x.useContext)(fE)}var gE=o((e=>{var t=f();function n(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var r=typeof Object.is==`function`?Object.is:n,i=t.useState,a=t.useEffect,o=t.useLayoutEffect,s=t.useDebugValue;function c(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),c=r[0].inst,u=r[1];return o(function(){c.value=n,c.getSnapshot=t,l(c)&&u({inst:c})},[e,n,t]),a(function(){return l(c)&&u({inst:c}),e(function(){l(c)&&u({inst:c})})},[e]),s(n),n}function l(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!r(e,n)}catch{return!0}}function u(e,t){return t()}var d=typeof window>`u`||window.document===void 0||window.document.createElement===void 0?u:c;e.useSyncExternalStore=t.useSyncExternalStore===void 0?d:t.useSyncExternalStore})),_E=o(((e,t)=>{t.exports=gE()})),vE=c(g(),1),yE=_E(),bE=(0,x.createContext)(!1),xE=(0,x.createContext)(null);function SE(e){if((0,x.useContext)(xE))return e.content;let{collection:t,document:n}=EE(e.createCollection);return x.createElement(x.Fragment,null,x.createElement(pE,null,x.createElement(xE.Provider,{value:n},e.content)),x.createElement(CE,{render:e.children,collection:t}))}function CE({collection:e,render:t}){return t(e)}function wE(e,t,n){let r=aS(),i=(0,x.useRef)(r);i.current=r;let a=(0,x.useCallback)(()=>i.current?n():t(),[t,n]);return(0,yE.useSyncExternalStore)(e,a)}var TE=typeof x.useSyncExternalStore==`function`?x.useSyncExternalStore:wE;function EE(e){let[t]=(0,x.useState)(()=>new PT(e?.()||new AT));return{collection:TE((0,x.useCallback)(e=>t.subscribe(e),[t]),(0,x.useCallback)(()=>{let e=t.getCollection();return t.isSSR&&t.resetAfterSSR(),e},[t]),(0,x.useCallback)(()=>(t.isSSR=!0,t.getCollection()),[t])),document:t}}var DE=(0,x.createContext)(null);function OE(e){return class extends TT{static{this.type=e}}}function kE(e,t,n,r,i,a){typeof e==`string`&&(e=OE(e));let o=(0,x.useCallback)(i=>{i?.setProps(t,n,e,r,a)},[t,n,r,a,e]),s=(0,x.useContext)(DE);if(s){let o=s.ownerDocument.nodesByProps.get(t);return o||(o=s.ownerDocument.createElement(e.type),o.setProps(t,n,e,r,a),s.appendChild(o),s.ownerDocument.updateCollection(),s.ownerDocument.nodesByProps.set(t,o)),i?x.createElement(DE.Provider,{value:o},i):null}return x.createElement(e.type,{ref:o},i)}function AE(e,t){let n=({node:e})=>t(e.props,e.props.ref,e),r=(0,x.forwardRef)((r,i)=>{let a=(0,x.useContext)(cE);if(!(0,x.useContext)(bE)){if(t.length>=3)throw Error(t.name+` cannot be rendered outside a collection.`);return t(r,i)}return kE(e,r,i,`children`in r?r.children:null,null,e=>x.createElement(cE.Provider,{value:a},x.createElement(n,{node:e})))});return r.displayName=t.name,r}function jE(e,t,n=ME){let r=({node:e})=>t(e.props,e.props.ref,e),i=(0,x.forwardRef)((t,i)=>kE(e,t,i,null,n(t),e=>x.createElement(r,{node:e}))??x.createElement(x.Fragment,null));return i.displayName=t.name,i}function ME(e){return FT({...e,addIdAndValue:!0})}var NE=(0,x.createContext)(null);function PE(e){let t=(0,x.useContext)(NE),n=(t?.dependencies||[]).concat(e.dependencies),r=e.idScope??t?.idScope,i=ME({...e,idScope:r,dependencies:n});return(0,x.useContext)(xE)&&(i=x.createElement(Yee,null,i)),t=(0,x.useMemo)(()=>({dependencies:n,idScope:r}),[r,...n]),x.createElement(NE.Provider,{value:t},i)}function Yee({children:e}){let t=(0,x.useContext)(xE),n=(0,x.useMemo)(()=>x.createElement(xE.Provider,{value:null},x.createElement(bE.Provider,{value:!0},e)),[e]);return aS()?x.createElement(DE.Provider,{value:t},n):(0,vE.createPortal)(n,t)}var FE=(0,x.createContext)(null),IE={CollectionRoot({collection:e,renderDropIndicator:t}){return LE(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:n}){return LE(e,t,n)}};function LE(e,t,n){return FT({items:t?e.getChildren(t.key):e,dependencies:[n],children(t){if(t.type===`content`)return x.createElement(x.Fragment,null);let r=t.render(t);return!n||t.type!==`item`?r:x.createElement(x.Fragment,null,n({type:`item`,key:t.key,dropPosition:`before`}),r,Xee(e,t,n))}})}function Xee(e,t,n){let r=t.key,i=e.getKeyAfter(r),a=i==null?null:e.getItem(i);for(;a!=null&&a.type!==`item`;)i=e.getKeyAfter(a.key),a=i==null?null:e.getItem(i);let o=t.nextKey==null?null:e.getItem(t.nextKey);for(;o!=null&&o.type!==`item`;)o=o.nextKey==null?null:e.getItem(o.nextKey);let s=[];if(o==null){let r=t;for(;r?.type===`item`&&(!a||r.parentKey!==a.parentKey&&a.level<r.level);){let t=n({type:`item`,key:r.key,dropPosition:`after`});(0,x.isValidElement)(t)&&s.push((0,x.cloneElement)(t,{key:`${r.key}-after`})),r=r.parentKey==null?null:e.getItem(r.parentKey)}}return s}var RE=(0,x.createContext)(IE);function zE(e){return(0,x.useMemo)(()=>e==null?null:new Set([e]),[e])}var Zee=new Set([`id`]),Qee=new Set([`aria-label`,`aria-labelledby`,`aria-describedby`,`aria-details`]),$ee=new Set([`href`,`hrefLang`,`target`,`rel`,`download`,`ping`,`referrerPolicy`]),ete=new Set([`dir`,`lang`,`hidden`,`inert`,`translate`,`suppressHydrationWarning`]),BE=new Set(`onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart`.split(`.`)),tte=/^(data-.*)$/;function K(e,t={}){let{labelable:n,isLink:r,global:i,events:a=i,propNames:o}=t,s={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(Zee.has(t)||n&&Qee.has(t)||r&&$ee.has(t)||i&&ete.has(t)||a&&(BE.has(t)||t.endsWith(`Capture`)&&BE.has(t.slice(0,-7)))||o?.has(t)||tte.test(t))&&(s[t]=e[t]);return s}var VE=`default`,HE=``,UE=new WeakMap;function WE(e){if(hC()&&_C()){if(VE==="default"){let t=kS(e);HE=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect=`none`}VE=`disabled`}else if(e instanceof HTMLElement||e instanceof SVGElement){let t=`userSelect`in e.style?`userSelect`:`webkitUserSelect`;UE.set(e,e.style[t]),e.style[t]=`none`}}function GE(e){if(hC()&&_C()){if(VE!==`disabled`)return;VE=`restoring`,setTimeout(()=>{WT(()=>{if(VE===`restoring`){let t=kS(e);t.documentElement.style.webkitUserSelect===`none`&&(t.documentElement.style.webkitUserSelect=HE||``),HE=``,VE=`default`}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&UE.has(e)){let t=UE.get(e),n=`userSelect`in e.style?`userSelect`:`webkitUserSelect`;e.style[n]===`none`&&(e.style[n]=t),e.getAttribute(`style`)===``&&e.removeAttribute(`style`),UE.delete(e)}}var KE=new WeakMap;function qE(e){let t=kS(e),n=KE.get(t);return n??=Pw(`csp-nonce`,t),n!==void 0&&KE.set(t,n),n}var JE=x.createContext({register:()=>{}});JE.displayName=`PressResponderContext`;function YE(){let e=(0,x.useRef)(new Map),t=(0,x.useCallback)((t,n,r,i)=>{let a=i?.once?(...t)=>{e.current.delete(r),r(...t)}:r;e.current.set(r,{type:n,eventTarget:t,fn:a,options:i}),t.addEventListener(n,a,i)},[]),n=(0,x.useCallback)((t,n,r,i)=>{let a=e.current.get(r)?.fn||r;t.removeEventListener(n,a,i),e.current.delete(r)},[]),r=(0,x.useCallback)(()=>{e.current.forEach((e,t)=>{n(e.eventTarget,e.type,t,e.options)})},[n]);return(0,x.useEffect)(()=>r,[r]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:r}}function XE(e){let t=(0,x.useContext)(JE);if(t){let{register:n,ref:r,...i}=t;e=U(i,e),n()}return sE(t,e.ref),e}var ZE=class{#e;constructor(e,t,n,r){this.#e=!0;let i=(r?.target??n.currentTarget)?.getBoundingClientRect(),a,o=0,s,c=null;n.clientX!=null&&n.clientY!=null&&(s=n.clientX,c=n.clientY),i&&(s!=null&&c!=null?(a=s-i.left,o=c-i.top):(a=i.width/2,o=i.height/2)),this.type=e,this.pointerType=t,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey,this.x=a,this.y=o,this.key=n.key}continuePropagation(){this.#e=!1}get shouldStopPropagation(){return this.#e}},QE=Symbol(`linkClicked`),$E=`react-aria-pressable-style`,eD=`data-react-aria-pressable`;function tD(e){let{onPress:t,onPressChange:n,onPressStart:r,onPressEnd:i,onPressUp:a,onClick:o,isDisabled:s,isPressed:c,preventFocusOnPress:l,shouldCancelOnPointerExit:u,allowTextSelectionOnPress:d,ref:f,...p}=XE(e),[m,h]=(0,x.useState)(!1),g=(0,x.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:_,removeAllGlobalListeners:v}=YE(),y=(0,x.useCallback)((e,t)=>{let i=g.current;if(s||i.didFirePressStart)return!1;let a=!0;if(i.isTriggeringEvent=!0,r){let n=new ZE(`pressstart`,t,e);r(n),a=n.shouldStopPropagation}return n&&n(!0),i.isTriggeringEvent=!1,i.didFirePressStart=!0,h(!0),a},[s,r,n]),b=(0,x.useCallback)((e,r,a=!0)=>{let o=g.current;if(!o.didFirePressStart)return!1;o.didFirePressStart=!1,o.isTriggeringEvent=!0;let c=!0;if(i){let t=new ZE(`pressend`,r,e);i(t),c=t.shouldStopPropagation}if(n&&n(!1),h(!1),t&&a&&!s){let n=new ZE(`press`,r,e);t(n),c&&=n.shouldStopPropagation}return o.isTriggeringEvent=!1,c},[s,i,n,t]),S=Kw(b),C=Kw((0,x.useCallback)((e,t)=>{let n=g.current;if(s)return!1;if(a){n.isTriggeringEvent=!0;let r=new ZE(`pressup`,t,e);return a(r),n.isTriggeringEvent=!1,r.shouldStopPropagation}return!0},[s,a])),w=(0,x.useCallback)(e=>{let t=g.current;if(t.isPressed&&t.target){t.didFirePressStart&&t.pointerType!=null&&b(iD(t.target,e),t.pointerType,!1),t.isPressed=!1,t.isOverTarget=!1,t.activePointerId=null,t.pointerType=null,v(),d||GE(t.target);for(let e of t.disposables)e();t.disposables=[]}},[d,v,b]),T=Kw(w);(0,x.useEffect)(()=>{s&&g.current.isPressed&&T({currentTarget:g.current.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})},[s]);let E=(0,x.useCallback)(e=>{u&&w(e)},[u,w]),D=(0,x.useCallback)(e=>{s||o?.(e)},[s,o]),O=(0,x.useCallback)((e,t)=>{if(!s&&o){let n=new MouseEvent(`click`,e);aC(n,t),o(iC(n))}},[s,o]),k=(0,x.useMemo)(()=>{let e=g.current,t={onKeyDown(t){if(rD(t.nativeEvent,t.currentTarget)&&zS(t.currentTarget,G(t))){oD(G(t),t.key)&&t.preventDefault();let r=!0;!e.isPressed&&!t.repeat&&(e.target=t.currentTarget,e.isPressed=!0,e.pointerType=`keyboard`,r=y(t,`keyboard`));let i=t.currentTarget;_(kS(t.currentTarget),`keyup`,Kx(t=>{rD(t,i)&&!t.repeat&&zS(i,G(t))&&e.target&&C(iD(e.target,t),`keyboard`)},n),!0),r&&t.stopPropagation(),t.metaKey&&fC()&&e.metaKeyEvents?.set(t.key,t.nativeEvent)}else t.key===`Meta`&&(e.metaKeyEvents=new Map)},onClick(t){if((!t||zS(t.currentTarget,G(t)))&&t&&t.button===0&&!e.isTriggeringEvent&&!EC.isOpening){let n=!0;if(s&&t.preventDefault(),!e.ignoreEmulatedMouseEvents&&!e.isPressed&&(e.pointerType===`virtual`||bC(t.nativeEvent))){let e=y(t,`virtual`),r=C(t,`virtual`),i=S(t,`virtual`);D(t),n=e&&r&&i}else if(e.isPressed&&e.pointerType!==`keyboard`){let r=e.pointerType||t.nativeEvent.pointerType||`virtual`,i=C(iD(t.currentTarget,t),r),a=S(iD(t.currentTarget,t),r,!0);n=i&&a,e.isOverTarget=!1,D(t),T(t)}e.ignoreEmulatedMouseEvents=!1,n&&t.stopPropagation()}}},n=t=>{if(e.isPressed&&e.target&&rD(t,e.target)){oD(G(t),t.key)&&t.preventDefault();let n=G(t),r=zS(e.target,n);S(iD(e.target,t),`keyboard`,r),r&&O(t,e.target),v(),t.key!==`Enter`&&nD(e.target)&&zS(e.target,n)&&!t[QE]&&(t[QE]=!0,EC(e.target,t,!1)),e.isPressed=!1,e.metaKeyEvents?.delete(t.key)}else if(t.key===`Meta`&&e.metaKeyEvents?.size){let t=e.metaKeyEvents;e.metaKeyEvents=void 0;for(let n of t.values())e.target?.dispatchEvent(new KeyboardEvent(`keyup`,n))}};if(typeof PointerEvent<`u`){t.onPointerDown=t=>{if(t.button!==0||!zS(t.currentTarget,G(t)))return;if(xC(t.nativeEvent)){e.pointerType=`virtual`;return}e.pointerType=t.pointerType;let i=!0;if(!e.isPressed){e.isPressed=!0,e.isOverTarget=!0,e.activePointerId=t.pointerId,e.target=t.currentTarget,d||WE(e.target),i=y(t,e.pointerType);let a=G(t);`releasePointerCapture`in a&&(`hasPointerCapture`in a?a.hasPointerCapture(t.pointerId)&&a.releasePointerCapture(t.pointerId):a.releasePointerCapture(t.pointerId)),_(kS(t.currentTarget),`pointerup`,n,!1),_(kS(t.currentTarget),`pointercancel`,r,!1)}i&&t.stopPropagation()},t.onMouseDown=t=>{if(zS(t.currentTarget,G(t))&&t.button===0){if(l){let n=cC(t.target);n&&e.disposables.push(n)}t.stopPropagation()}},t.onPointerUp=t=>{zS(t.currentTarget,G(t))&&e.pointerType!==`virtual`&&t.button===0&&!e.isPressed&&C(t,e.pointerType||t.pointerType)},t.onPointerEnter=t=>{t.pointerId===e.activePointerId&&e.target&&!e.isOverTarget&&e.pointerType!=null&&(e.isOverTarget=!0,y(iD(e.target,t),e.pointerType))},t.onPointerLeave=t=>{t.pointerId===e.activePointerId&&e.target&&e.isOverTarget&&e.pointerType!=null&&(e.isOverTarget=!1,S(iD(e.target,t),e.pointerType,!1),E(t))};let n=t=>{if(t.pointerId===e.activePointerId&&e.isPressed&&t.button===0&&e.target){if(zS(e.target,G(t))&&e.pointerType!=null){let n=!1,r=setTimeout(()=>{e.isPressed&&e.target instanceof HTMLElement&&(n?T(t):(qS(e.target),e.target.click()))},80);_(t.currentTarget,`click`,()=>n=!0,!0),e.disposables.push(()=>clearTimeout(r))}else T(t);e.isOverTarget=!1}},r=e=>{T(e)};t.onDragStart=e=>{zS(e.currentTarget,G(e))&&T(e)}}return t},[_,s,l,v,d,E,y,D,O]);return(0,x.useEffect)(()=>{if(!f)return;let e=kS(f.current);if(!e||!e.head||e.getElementById($E))return;let t=e.createElement(`style`);t.id=$E;let n=qE(e);n&&(t.nonce=n),t.textContent=`
63
+ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let n of e.seen.entries()){let r=n[1];if(t===n[0])a(n);else{if(e.external){let r=e.external.registry.get(n[0])?.id;if(t!==n[0]&&r){a(n);continue}}(e.metadataRegistry.get(n[0])?.id||r.cycle||r.count>1&&e.reused===`ref`)&&a(n)}}e.external&&(e.sharedDefsExtractedFor=e.external)}function Um(e){let t=e.anyOf;if(!Array.isArray(t)||t.length===0||e.type!==void 0)return;let n=[];for(let e of t){if(!e||typeof e!=`object`)return;Um(e);let t=Object.keys(e);if(t.length!==1||t[0]!==`type`)return;let r=e.type;for(let e of Array.isArray(r)?r:[r]){if(typeof e!=`string`)return;n.includes(e)||n.push(e)}}delete e.anyOf,e.type=n.length===1?n[0]:n}var Wm=new Set([`type`,`properties`,`required`,`additionalProperties`]),Gm=[`oneOf`,`anyOf`];function Km(e){let t=e.additionalProperties;return t===void 0||t===!1||typeof t!=`object`||!t?null:Object.keys(t).length?t:null}function qm(e){let t=[];for(let n of e){if(typeof n!=`object`||n.type!==`object`)return null;for(let e in n)if(!Wm.has(e))return null;t.push(n)}let n={},r=new Set;for(let e of t){for(let r in e.properties){if(Object.prototype.hasOwnProperty.call(n,r))continue;let e=[];for(let n of t){let t=n.properties?.[r]??Km(n);t!=null&&(e.some(e=>JSON.stringify(e)===JSON.stringify(t))||e.push(t))}dl(n,r,e.length===1?e[0]:qm(e)??{allOf:e})}for(let t of e.required??[])r.add(t)}let i={type:`object`,properties:n};if(r.size&&(i.required=[...r]),t.every(e=>e.additionalProperties===!1))i.additionalProperties=!1;else{let e=[];for(let n of t){let t=Km(n);t&&!e.some(e=>JSON.stringify(e)===JSON.stringify(t))&&e.push(t)}e.length===1?i.additionalProperties=e[0]:e.length>1&&(i.additionalProperties={allOf:e})}return i}function Jm(e){let t=e.allOf;if(!Array.isArray(t)||t.length<2)return;for(let t of Wm)if(t in e)return;let n=t.filter(e=>Gm.some(t=>Array.isArray(e[t]))),r=null;if(!n.length)r=qm(t);else{let e=n[0],i=Gm.find(t=>Array.isArray(e[t]));if(Object.keys(e).length!==1)return;let a=t.filter(t=>t!==e),o=e[i].map(e=>qm([...a,e]));if(o.some(e=>!e))return;r={[i]:o}}r&&(delete e.allOf,Lm(e,r))}function Ym(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);let r=t=>{let n=e.seen.get(t);if(n.ref===null)return;let i=n.def??n.schema,a={...i},o=n.ref;if(n.ref=null,o){r(o);let n=e.seen.get(o),s=n.schema;if(s.$ref&&(e.target===`draft-07`||e.target===`draft-04`||e.target===`openapi-3.0`)?(i.allOf=i.allOf??[],i.allOf.push(s)):Lm(i,s),Lm(i,a),t._zod.parent===o)for(let e in i)e!==`$ref`&&e!==`allOf`&&(e in a||delete i[e]);if(s.$ref&&n.def)for(let e in i)e!==`$ref`&&e!==`allOf`&&e in n.def&&JSON.stringify(i[e])===JSON.stringify(n.def[e])&&delete i[e]}let s=t._zod.parent;if(s&&s!==o){r(s);let t=e.seen.get(s);if(t?.schema.$ref&&(i.$ref=t.schema.$ref,t.def))for(let e in i)e!==`$ref`&&e!==`allOf`&&e in t.def&&JSON.stringify(i[e])===JSON.stringify(t.def[e])&&delete i[e]}e.override({zodSchema:t,jsonSchema:i,path:n.path??[]})};if(!e.external||e.sharedEmitDoneFor!==e.external){for(let t of[...e.seen.entries()].reverse())r(t[0]);if(e.target!==`openapi-3.0`)for(let t of e.seen.entries())Um(t[1].def??t[1].schema);for(let t of e.deferred)t();if(e.intersections.length){let t=new Map;for(let n of e.seen.values())for(let e of[n.schema,n.def]){let n=e?.allOf;if(!Array.isArray(n))continue;let r=t.get(n);r?r.push(e):t.set(n,[e])}for(let n of e.intersections)for(let e of t.get(n)??[])Jm(e)}}let i={};if(e.target===`draft-2020-12`?i.$schema=`https://json-schema.org/draft/2020-12/schema`:e.target===`draft-07`?i.$schema=`http://json-schema.org/draft-07/schema#`:e.target===`draft-04`?i.$schema=`http://json-schema.org/draft-04/schema#`:e.target,e.external?.uri){let n=e.external.registry.get(t)?.id;if(!n)throw Error("Schema is missing an `id` property");i.$id=e.external.uri(n)}Lm(i,n.defId?n.schema:n.def??n.schema);let a=e.metadataRegistry.get(t)?.id;a!==void 0&&i.id===a&&delete i.id;let o=e.external?.defs??{};if(!e.external||e.sharedEmitDoneFor!==e.external)for(let t of e.seen.entries()){let e=t[1];e.def&&e.defId&&(e.def.id===e.defId&&delete e.def.id,dl(o,e.defId,e.def))}e.external&&(e.sharedEmitDoneFor=e.external),e.external||Object.keys(o).length>0&&(e.target===`draft-2020-12`?i.$defs=o:i.definitions=o);try{let n=JSON.parse(JSON.stringify(i));return Object.defineProperty(n,"~standard",{value:{...t[`~standard`],jsonSchema:{input:Qm(t,`input`,e.processors),output:Qm(t,`output`,e.processors)}},enumerable:!1,writable:!1}),n}catch{throw Error(`Error converting schema to JSON.`)}}function Xm(e,t){let n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);let r=e._zod.def;if(r.type===`transform`)return!0;if(r.type===`array`)return Xm(r.element,n);if(r.type===`set`)return Xm(r.valueType,n);if(r.type===`lazy`)return Xm(r.getter(),n);if(r.type===`promise`||r.type===`optional`||r.type===`nonoptional`||r.type===`nullable`||r.type===`readonly`||r.type==="default"||r.type===`prefault`||r.type===`catch`)return Xm(r.innerType,n);if(r.type===`intersection`)return Xm(r.left,n)||Xm(r.right,n);if(r.type===`record`||r.type===`map`)return Xm(r.keyType,n)||Xm(r.valueType,n);if(r.type===`pipe`)return e._zod.traits.has(`$ZodCodec`)?!0:Xm(r.in,n)||Xm(r.out,n);if(r.type===`object`){for(let e in r.shape)if(Xm(r.shape[e],n))return!0;return!1}if(r.type===`union`){for(let e of r.options)if(Xm(e,n))return!0;return!1}if(r.type===`tuple`){for(let e of r.items)if(Xm(e,n))return!0;return!!(r.rest&&Xm(r.rest,n))}return!1}var Zm=(e,t={})=>n=>{let r=Rm({...n,processors:t});return Bm(e,r),Hm(r,e),Ym(r,e)},Qm=(e,t,n={})=>r=>{let{libraryOptions:i,target:a}=r??{},o=Rm({...i??{},target:a,io:t,processors:n});return Bm(e,o),Hm(o,e),Ym(o,e)},$m=(e,t,n)=>{(e[t]===void 0||n>e[t])&&(e[t]=n)},eh=(e,t,n)=>{(e[t]===void 0||n<e[t])&&(e[t]=n)},th=(e,t)=>{$m(e,`minimum`,t),eh(e,`maximum`,t)},nh=(e,t)=>{e.multipleOf??=[],e.multipleOf.includes(t)||e.multipleOf.push(t)},rh=(e,t)=>{e.patterns??=new Set,e.patterns.add(t)},ih=(e,t)=>{e.mime=e.mime?e.mime.filter(e=>t.includes(e)):[...t]},ah=(e,t)=>{e.format=t,t.includes(`int`)&&(e.isInt=!0)},oh=(e,t)=>$m(e,`minimum`,t.minimum),sh=(e,t)=>eh(e,`maximum`,t.maximum),ch=e=>(t,n)=>{ah(t,n.format);let[r,i]=e[n.format];$m(t,`minimum`,r),eh(t,`maximum`,i)},lh={greater_than:(e,t)=>$m(e,t.inclusive?`minimum`:`exclusiveMinimum`,t.value),less_than:(e,t)=>eh(e,t.inclusive?`maximum`:`exclusiveMaximum`,t.value),multiple_of:(e,t)=>nh(e,t.value),number_format:ch(Ml),bigint_format:ch(Nl),min_length:oh,max_length:sh,length_equals:(e,t)=>th(e,t.length),min_size:oh,max_size:sh,size_equals:(e,t)=>th(e,t.size),string_format:(e,t)=>{ah(e,t.format),t.pattern&&rh(e,t.pattern),(t.format===`base64`||t.format===`base64url`)&&(e.contentEncoding=t.format),(t.local||t.precision===-1)&&(e.laxFormat=!0)},mime_type:(e,t)=>ih(e,t.mime)};function uh(e){let t={},n=e._zod.def,r=e._zod.traits.has(`$ZodCheck`)?[e,...n.checks??[]]:n.checks??[];for(let e of r)lh[e._zod.def.check]?.(t,e._zod.def);let i=e._zod.bag;i.minimum!==void 0&&$m(t,`minimum`,i.minimum),i.exclusiveMinimum!==void 0&&$m(t,`exclusiveMinimum`,i.exclusiveMinimum),i.maximum!==void 0&&eh(t,`maximum`,i.maximum),i.exclusiveMaximum!==void 0&&eh(t,`exclusiveMaximum`,i.exclusiveMaximum),i.multipleOf!==void 0&&nh(t,i.multipleOf),i.format!==void 0&&(t.format??=i.format,i.format.includes(`int`)&&(t.isInt=!0)),i.mime&&ih(t,i.mime);for(let e of i.patterns??[])rh(t,e);return t}var dh={guid:`uuid`,url:`uri`,datetime:`date-time`,json_string:`json-string`,regex:``},fh=new Map([[wf,pd],[Ef,md]]),ph=e=>fh.get(e)??e,mh=(e,t,n,r)=>{let i=n;i.type=`string`;let{minimum:a,maximum:o,format:s,patterns:c,contentEncoding:l,laxFormat:u}=uh(e);if(typeof a==`number`&&(i.minLength=a),typeof o==`number`&&(i.maxLength=o),s&&(i.format=dh[s]??s,i.format===``&&delete i.format,(s===`time`||u)&&delete i.format),l&&(i.contentEncoding=l),c&&c.size>0){let e=[...c].map(ph);e.length===1?i.pattern=e[0].source:e.length>1&&(i.allOf=[...e.map(e=>({...t.target===`draft-07`||t.target===`draft-04`||t.target===`openapi-3.0`?{type:`string`}:{},pattern:e.source}))])}},hh=(e,t,n,r)=>{n.not={}},gh=(e,t,n,r)=>{let i=e._zod.def,a=nl(i.entries);a.length===0?n.not={}:(a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),n.enum=a)},_h=(e,t,n,r)=>{let i=e._zod.def;if(i.values.length===0){n.not={};return}let a=[];for(let o of i.values)if(o===void 0){if(zm(e,t,n,r,"Literal `undefined` cannot be represented in JSON Schema"))return}else if(typeof o==`bigint`){if(zm(e,t,n,r,`BigInt literals cannot be represented in JSON Schema`))return;a.push(Number(o))}else a.push(o);if(a.length!==0){if(a.length===1){let e=a[0];n.type=e===null?`null`:typeof e,t.target===`draft-04`||t.target===`openapi-3.0`?n.enum=[e]:n.const=e}else a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),a.every(e=>typeof e==`boolean`)&&(n.type=`boolean`),a.every(e=>e===null)&&(n.type=`null`),n.enum=a}},vh=(e,t,n,r)=>{zm(e,t,n,r,`Custom types cannot be represented in JSON Schema`)},yh=(e,t,n,r)=>{zm(e,t,n,r,`Transforms cannot be represented in JSON Schema`)},bh=(e,t,n,r)=>{let i=n,a=e._zod.def,{minimum:o,maximum:s}=uh(e);typeof o==`number`&&(i.minItems=o),typeof s==`number`&&(i.maxItems=s),i.type=`array`,i.items=Bm(a.element,t,{...r,path:[...r.path,`items`]})};function xh(e){let t=e._zod.def;return t.type===`pipe`&&t.in._zod.traits.has(`$ZodTransform`)?xh(t.out):t.type===`catch`?xh(t.innerType):e._zod.optin}var Sh=(e,t,n,r)=>{let i=n,a=e._zod.def,o=a.shape;if(Object.getOwnPropertySymbols(o).length&&zm(e,t,i,r,`Symbol keys cannot be represented in JSON Schema`))return;i.type=`object`,i.properties={};for(let e in o)dl(i.properties,e,Bm(o[e],t,{...r,path:[...r.path,`properties`,e]}));let s=[];for(let e of Object.keys(o)){let n=a.shape[e];(t.io===`input`?xh(n)===void 0:n._zod.optout===void 0)&&s.push(e)}s.length>0&&(i.required=s),a.catchall?._zod.def.type===`never`?i.additionalProperties=!1:a.catchall?a.catchall&&(i.additionalProperties=Bm(a.catchall,t,{...r,path:[...r.path,`additionalProperties`]})):t.io===`output`&&(i.additionalProperties=!1)},Ch=(e,t,n,r)=>{let i=e._zod.def,a=i.inclusive===!1,o=i.options.map((e,n)=>Bm(e,t,{...r,path:[...r.path,a?`oneOf`:`anyOf`,n]}));a?n.oneOf=o:n.anyOf=o},wh=(e,t,n,r)=>{let i=e._zod.def,a=Bm(i.left,t,{...r,path:[...r.path,`allOf`,0]}),o=Bm(i.right,t,{...r,path:[...r.path,`allOf`,1]}),s=e=>`allOf`in e&&Object.keys(e).length===1,c=[...s(a)?a.allOf:[a],...s(o)?o.allOf:[o]];n.allOf=c,t.intersections.push(c)},Th=(e,t,n,r)=>{let i=e._zod.def,a=Bm(i.innerType,t,r),o=t.seen.get(e);t.target===`openapi-3.0`?(o.ref=i.innerType,n.nullable=!0):n.anyOf=[a,{type:`null`}]},Eh=(e,t,n,r)=>{let i=e._zod.def;Bm(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},Dh=Symbol();function Oh(e,t,n,r,i){let a=!1,o=JSON.stringify(e,(e,t)=>typeof t==`bigint`?(a=!0,null):t);return a?(zm(t,n,r,i,`BigInt defaults cannot be represented in JSON Schema`),Dh):JSON.parse(o)}var kh=(e,t,n,r)=>{let i=e._zod.def;Bm(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType;let o=Oh(i.defaultValue,e,t,n,r);o!==Dh&&(n.default=o)},Ah=(e,t,n,r)=>{let i=e._zod.def;Bm(i.innerType,t,r);let a=t.seen.get(e);if(a.ref=i.innerType,t.io!==`input`)return;let o=Oh(i.defaultValue,e,t,n,r);o!==Dh&&(n._prefault=o)},jh=(e,t,n,r)=>{let i=e._zod.def;Bm(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType;let o;try{o=i.catchValue(void 0)}catch{zm(e,t,n,r,`Dynamic catch values are not supported in JSON Schema`);return}n.default=o},Mh=(e,t,n,r)=>{let i=e._zod.def,a=i.in._zod.traits.has(`$ZodTransform`),o=t.io===`input`?a?i.out:i.in:i.out;Bm(o,t,r);let s=t.seen.get(e);s.ref=o},Nh=(e,t,n,r)=>{let i=e._zod.def;Bm(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.readOnly=!0},Ph=(e,t,n,r)=>{let i=e._zod.def;Bm(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},Fh=(e,t,n,r)=>{let i=e._zod.innerType;Bm(i,t,r);let a=t.seen.get(e);a.ref=i},Ih=new WeakSet([Object.prototype,Error.prototype]);function Lh(e,t,n){Object.defineProperty(e,t,{configurable:!0,enumerable:!1,get(){let e=n(this);return Object.defineProperty(this,t,{value:e,configurable:!0,writable:!0}),e},set(e){Object.defineProperty(this,t,{value:e,configurable:!0,writable:!0})}})}var Rh=B(`ZodError`,(e,t)=>{Du.init(e,t),e.name=`ZodError`;let n=Object.getPrototypeOf(e);Ih.has(n)||(Ih.add(n),Lh(n,`format`,e=>t=>Au(e,t)),Lh(n,`flatten`,e=>t=>ku(e,t)),Lh(n,`addIssue`,e=>t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,il,2)}),Lh(n,`addIssues`,e=>t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,il,2)}),Object.defineProperty(n,"isEmpty",{configurable:!0,enumerable:!1,get(){return this.issues.length===0}}))},void 0,{Parent:Error}),zh=Mu(Rh),Bh=Nu(Rh),Vh=Pu(Rh),Hh=Iu(Rh),Uh=Hu(Rh),Wh=Uu(Rh),Gh=Wu(Rh),Kh=Gu(Rh),qh=Ku(Rh),Jh=qu(Rh),Yh=Ju(Rh),Xh=Yu(Rh);function Zh(){bu.localeError||xu(Lp())}function Qh(){bu.memoizer||xu({memoizer:Pp()})}var $h=B(`ZodType`,(e,t)=>(Zh(),Vd.init(e,t),e.def=t,e.type=t.type,e),{check(...e){let t=this.def;return this.clone(vl(t,{checks:[...t.checks??[],...e.map(e=>typeof e==`function`?{_zod:{check:e,def:{check:`custom`},onattach:[]}}:e)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,t){return Ol(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},refine(e,t){return this.check(o_(e,t))},superRefine(e,t){return this.check(s_(e,t))},overwrite(e){return this.check(Dm(e))},optional(){return Hg(this)},exactOptional(){return Wg(this)},nullable(){return Kg(this)},nullish(){return Hg(Kg(this))},nonoptional(e){return Qg(this,e)},array(){return Mg(this)},or(e){return Ig([this,e])},and(e){return nee(this,e)},transform(e){return e_(this,Bg(e))},default(e){return Jg(this,e)},prefault(e){return Xg(this,e)},catch(e){return see(this,e)},pipe(e){return e_(this,e)},readonly(){return n_(this)},describe(e){let t=this.clone();return Vp.add(t,{description:e}),t},meta(...e){if(e.length===0)return Vp.get(this);let t=this.clone();return Vp.add(t,e[0]),t},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(e,...t){return t.length===0?e(this):e(this,...t)},get"~standard"(){return ru(this,`~standard`,{...Wd(this),jsonSchema:{input:Qm(this,`input`),output:Qm(this,`output`)}})},set"~standard"(e){nu(this,`~standard`,e)},parse:function e(t,n){return zh(this,t,n,{callee:e})},parseAsync:async function e(t,n){return await Bh(this,t,n,{callee:e})},safeParse(e,t){return Vh(this,e,t)},async safeParseAsync(e,t){return Hh(this,e,t)},get spa(){return this?.safeParseAsync},set spa(e){nu(this,`spa`,e)},validate(e,t){return zu(this,e,t)},validateAsync(e,t){return Vu(this,e,t)},encode:function e(t,n){return Uh(this,t,n,{callee:e})},decode:function e(t,n){return Wh(this,t,n,{callee:e})},encodeAsync:async function e(t,n){return await Gh(this,t,n,{callee:e})},decodeAsync:async function e(t,n){return await Kh(this,t,n,{callee:e})},safeEncode(e,t){return qh(this,e,t)},safeDecode(e,t){return Jh(this,e,t)},async safeEncodeAsync(e,t){return Yh(this,e,t)},async safeDecodeAsync(e,t){return Xh(this,e,t)},toJSONSchema(e){return Zm(this,{})(e)},get description(){return Vp.get(this)?.description},get _def(){return this._zod.def}}),eg=B(`_ZodString`,(e,t)=>{Gd.init(e,t),$h.init(e,t),e._zod.processJSONSchema=(t,n,r)=>mh(e,t,n,r)},iu({format:e=>uh(e).format??null,minLength:e=>uh(e).minimum??null,maxLength:e=>uh(e).maximum??null},{regex(...e){return this.check(xm(...e))},includes(...e){return this.check(wm(...e))},startsWith(...e){return this.check(Tm(...e))},endsWith(...e){return this.check(Em(...e))},min(...e){return this.check(ym(...e))},max(...e){return this.check(vm(...e))},length(...e){return this.check(bm(...e))},nonempty(...e){return this.check(ym(1,...e))},lowercase(e){return this.check(Sm(e))},uppercase(e){return this.check(Cm(e))},trim(){return this.check(km())},normalize(...e){return this.check(Om(...e))},toLowerCase(){return this.check(Am())},toUpperCase(){return this.check(jm())},slugify(){return this.check(Mm())}})),tg=B(`ZodString`,(e,t)=>{Gd.init(e,t),eg.init(e,t)},{email(e){return this.check(Wp(cg,e))},url(e){return this.check(Xp(dg,e))},jwt(e){return this.check(dm(Eg,e))},emoji(e){return this.check(Zp(fg,e))},guid(e){return this.check(Gp(lg,e))},uuid(e){return this.check(Kp(ug,e))},uuidv4(e){return this.check(qp(ug,e))},uuidv6(e){return this.check(Jp(ug,e))},uuidv7(e){return this.check(Yp(ug,e))},nanoid(e){return this.check(Qp(pg,e))},cuid(e){return this.check($p(mg,e))},cuid2(e){return this.check(em(hg,e))},ulid(e){return this.check(tm(gg,e))},base64(e){return this.check(cm(Cg,e))},base64url(e){return this.check(lm(wg,e))},xid(e){return this.check(nm(_g,e))},ksuid(e){return this.check(rm(vg,e))},ipv4(e){return this.check(im(yg,e))},ipv6(e){return this.check(am(bg,e))},cidrv4(e){return this.check(om(xg,e))},cidrv6(e){return this.check(sm(Sg,e))},e164(e){return this.check(um(Tg,e))},datetime(e){return this.check(fm(ig,e))},date(e){return this.check(pm(ag,e))},time(e){return this.check(mm(og,e))},duration(e){return this.check(hm(sg,e))}});function ng(e){return Up(tg,e)}var rg=B(`ZodStringFormat`,(e,t)=>{Kd.init(e,t),eg.init(e,t)}),ig=B(`ZodISODateTime`,(e,t)=>{ff.init(e,t),rg.init(e,t)}),ag=B(`ZodISODate`,(e,t)=>{pf.init(e,t),rg.init(e,t)}),og=B(`ZodISOTime`,(e,t)=>{mf.init(e,t),rg.init(e,t)}),sg=B(`ZodISODuration`,(e,t)=>{hf.init(e,t),rg.init(e,t)}),cg=B(`ZodEmail`,(e,t)=>{Yd.init(e,t),rg.init(e,t)}),lg=B(`ZodGUID`,(e,t)=>{qd.init(e,t),rg.init(e,t)}),ug=B(`ZodUUID`,(e,t)=>{Jd.init(e,t),rg.init(e,t)}),dg=B(`ZodURL`,(e,t)=>{rf.init(e,t),rg.init(e,t)}),fg=B(`ZodEmoji`,(e,t)=>{af.init(e,t),rg.init(e,t)}),pg=B(`ZodNanoID`,(e,t)=>{of.init(e,t),rg.init(e,t)}),mg=B(`ZodCUID`,(e,t)=>{sf.init(e,t),rg.init(e,t)}),hg=B(`ZodCUID2`,(e,t)=>{cf.init(e,t),rg.init(e,t)}),gg=B(`ZodULID`,(e,t)=>{lf.init(e,t),rg.init(e,t)}),_g=B(`ZodXID`,(e,t)=>{uf.init(e,t),rg.init(e,t)}),vg=B(`ZodKSUID`,(e,t)=>{df.init(e,t),rg.init(e,t)}),yg=B(`ZodIPv4`,(e,t)=>{gf.init(e,t),rg.init(e,t)}),bg=B(`ZodIPv6`,(e,t)=>{yf.init(e,t),rg.init(e,t)}),xg=B(`ZodCIDRv4`,(e,t)=>{bf.init(e,t),rg.init(e,t)}),Sg=B(`ZodCIDRv6`,(e,t)=>{Sf.init(e,t),rg.init(e,t)}),Cg=B(`ZodBase64`,(e,t)=>{Tf.init(e,t),rg.init(e,t)}),wg=B(`ZodBase64URL`,(e,t)=>{Of.init(e,t),rg.init(e,t)}),Tg=B(`ZodE164`,(e,t)=>{kf.init(e,t),rg.init(e,t)}),Eg=B(`ZodJWT`,(e,t)=>{jf.init(e,t),rg.init(e,t)}),Dg=B(`ZodUnknown`,(e,t)=>{Mf.init(e,t),$h.init(e,t),e._zod.processJSONSchema=(e,t,n)=>void 0});function Og(){return gm(Dg)}var kg=B(`ZodNever`,(e,t)=>{Nf.init(e,t),$h.init(e,t),e._zod.processJSONSchema=(t,n,r)=>hh(e,t,n,r)});function Ag(e){return _m(kg,e)}var jg=B(`ZodArray`,(e,t)=>{Qh(),Lf.init(e,t),$h.init(e,t),e._zod.processJSONSchema=(t,n,r)=>bh(e,t,n,r),e.element=t.element},{min(e,t){return this.check(ym(e,t))},nonempty(e){return this.check(ym(1,e))},max(e,t){return this.check(vm(e,t))},length(e,t){return this.check(bm(e,t))},unwrap(){return this.element}});function Mg(e,t){return Nm(jg,e,t)}var Ng=B(`ZodObject`,(e,t)=>{Qh(),Uf.init(e,t),$h.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Sh(e,t,n,r),du(e,`shape`,e=>e._zod.def.shape,!1)},{keyof(){return ree(Object.keys(this._zod.def.shape))},catchall(e){return this.clone(vl(this._zod.def,{catchall:e}))},passthrough(){return this.clone(vl(this._zod.def,{catchall:Og()}))},loose(){return this.clone(vl(this._zod.def,{catchall:Og()}))},strict(){return this.clone(vl(this._zod.def,{catchall:Ag()}))},strip(){return this.clone(vl(this._zod.def,{catchall:void 0}))},extend(e){return Ll(this,e)},safeExtend(e){return zl(this,e)},merge(e){return Bl(this,e)},pick(e){return Pl(this,e)},omit(e){return Il(this,e)},partial(...e){return Vl(Vg,this,e[0])},exactPartial(...e){return Vl(Ug,this,e[0],`exactPartial`)},required(...e){return Hl(Zg,this,e[0])}});function Pg(e,t){return new Ng({type:`object`,shape:e??{},...kl(t)})}var Fg=B(`ZodUnion`,(e,t)=>{Gf.init(e,t),$h.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ch(e,t,n,r),e.options=t.options});function Ig(e,t){return new Fg({type:`union`,options:e,...kl(t)})}var eee=B(`ZodDiscriminatedUnion`,(e,t)=>{Fg.init(e,t),qf.init(e,t)});function Lg(e,t,n){return new eee({type:`union`,options:t,discriminator:e,...kl(n)})}var tee=B(`ZodIntersection`,(e,t)=>{Jf.init(e,t),$h.init(e,t),e._zod.processJSONSchema=(t,n,r)=>wh(e,t,n,r)});function nee(e,t){return new tee({type:`intersection`,left:e,right:t})}var Rg=B(`ZodEnum`,(e,t)=>{Zf.init(e,t),$h.init(e,t),e._zod.processJSONSchema=(t,n,r)=>gh(e,t,n,r),e.enum=t.entries,e.options=[...e._zod.values];let n=new Set(Object.keys(t.entries));e.extract=(e,r)=>{let i={};for(let r of e)if(n.has(r))i[r]=t.entries[r];else throw Error(`Key ${r} not found in enum`);return new Rg({...t,checks:[],...kl(r),entries:i})},e.exclude=(e,r)=>{let i={...t.entries};for(let t of e)if(n.has(t))delete i[t];else throw Error(`Key ${t} not found in enum`);return new Rg({...t,checks:[],...kl(r),entries:i})}});function ree(e,t){return new Rg({type:`enum`,entries:Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e,...kl(t)})}var iee=B(`ZodLiteral`,(e,t)=>{Qf.init(e,t),$h.init(e,t),e._zod.processJSONSchema=(t,n,r)=>_h(e,t,n,r),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function zg(e,t){return new iee({type:`literal`,values:Array.isArray(e)?e:[e],...kl(t)})}var aee=B(`ZodTransform`,(e,t)=>{Qh(),$f.init(e,t),$h.init(e,t),e._zod.processJSONSchema=(t,n,r)=>yh(e,t,n,r),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new yu(e.constructor.name);n.addIssue=r=>{if(typeof r==`string`)n.issues.push(eu(r,n.value,t));else{let t=r;t.fatal&&(t.continue=!1),t.code??=`custom`,`input`in t||(t.input=n.value),t.inst??=e,n.issues.push(eu(t))}};let i=t.transform(n.value,n);return i instanceof Promise?i.then(e=>(n.value=e,n)):(n.value=i,n)}});function Bg(e){return new aee({type:`transform`,transform:e})}var Vg=B(`ZodOptional`,(e,t)=>{tp.init(e,t),$h.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ph(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function Hg(e){return new Vg({type:`optional`,innerType:e})}var Ug=B(`ZodExactOptional`,(e,t)=>{np.init(e,t),$h.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ph(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function Wg(e){return new Ug({type:`optional`,innerType:e})}var Gg=B(`ZodNullable`,(e,t)=>{rp.init(e,t),$h.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Th(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function Kg(e){return new Gg({type:`nullable`,innerType:e})}var qg=B(`ZodDefault`,(e,t)=>{ip.init(e,t),$h.init(e,t),e._zod.processJSONSchema=(t,n,r)=>kh(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function Jg(e,t){return new qg({type:`default`,innerType:e,get defaultValue(){return typeof t==`function`?t():Tl(t)}})}var Yg=B(`ZodPrefault`,(e,t)=>{op.init(e,t),$h.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ah(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function Xg(e,t){return new Yg({type:`prefault`,innerType:e,get defaultValue(){return typeof t==`function`?t():Tl(t)}})}var Zg=B(`ZodNonOptional`,(e,t)=>{sp.init(e,t),$h.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Eh(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function Qg(e,t){return new Zg({type:`nonoptional`,innerType:e,...kl(t)})}var oee=B(`ZodCatch`,(e,t)=>{up.init(e,t),$h.init(e,t),e._zod.processJSONSchema=(t,n,r)=>jh(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function see(e,t){return new oee({type:`catch`,innerType:e,catchValue:typeof t==`function`?t:pu(t)})}var $g=B(`ZodPipe`,(e,t)=>{dp.init(e,t),$h.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Mh(e,t,n,r),e.in=t.in,e.out=t.out});function e_(e,t){return new $g({type:`pipe`,in:e,out:t})}var cee=B(`ZodPreprocess`,(e,t)=>{$g.init(e,t),pp.init(e,t)}),t_=B(`ZodReadonly`,(e,t)=>{mp.init(e,t),$h.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Nh(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function n_(e){return new t_({type:`readonly`,innerType:e})}var r_=B(`ZodLazy`,(e,t)=>{gp.init(e,t),$h.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Fh(e,t,n,r),e.unwrap=()=>e._zod.def.getter()});function i_(e){return new r_({type:`lazy`,getter:e})}var a_=B(`ZodCustom`,(e,t)=>{_p.init(e,t),$h.init(e,t),e._zod.processJSONSchema=(t,n,r)=>vh(e,t,n,r)});function o_(e,t={}){return Pm(a_,e,t)}function s_(e,t){return Fm(e,t)}function c_(e,t){return new cee({type:`pipe`,in:Bg(e),out:t})}function l_(e){return e.deletedAt===void 0}function u_(e){return e.deletedAt!==void 0}function d_(e){return e.published!==void 0&&e.published.revision!==e.revision}function f_(e){return e.filter(e=>e.deletedAt===void 0)}var p_=class extends Qc{code=`unknown_type`},m_=class{noun;#e=new Map;constructor(e){this.noun=e}register(e){if(this.#e.has(e.type))throw new $c(`A ${this.noun} named "${e.type}" is already registered.`);return this.#e.set(e.type,e),this}has(e){return this.#e.has(e)}get(e){let t=this.#e.get(e);if(!t){let t=[...this.#e.keys()].sort().join(`, `);throw new p_(`There is no ${this.noun} named "${e}". Registered: ${t}.`)}return t}list(){return[...this.#e.values()]}};function h_(e){return/^(?:https?:\/\/|mailto:|tel:)\S+$/i.test(e)?!0:/^(?:\/(?!\/)|#)\S*$/.test(e)}var g_=Lg(`type`,[Pg({type:zg(`bold`)}),Pg({type:zg(`italic`)}),Pg({type:zg(`code`)}),Pg({type:zg(`link`),attrs:Pg({href:ng().max(2e3).refine(h_,`A link must be a web address, an email address, a phone number or a page of this site.`)})})]),__=Lg(`type`,[Pg({type:zg(`text`),text:ng().min(1),marks:Mg(g_).optional()}),Pg({type:zg(`hardBreak`)})]),v_=i_(()=>Lg(`type`,[Pg({type:zg(`paragraph`),content:Mg(__).optional()}),Pg({type:zg(`heading`),attrs:Pg({level:Ig([zg(2),zg(3)])}),content:Mg(__).optional()}),Pg({type:zg(`blockquote`),content:Mg(v_)}),Pg({type:zg(`bulletList`),content:Mg(y_)}),Pg({type:zg(`orderedList`),content:Mg(y_)})])),y_=Pg({type:zg(`listItem`),content:Mg(v_)}),b_=12,x_=e=>{let t=typeof e==`object`&&e?e.content:void 0;return Array.isArray(t)?1+Math.max(0,...t.map(x_)):1};function S_(e){return{type:`doc`,content:(typeof e==`string`?e.split(/\n+/):e).map(e=>e.trim()).filter(e=>e!==``).map(e=>({type:`paragraph`,content:[{type:`text`,text:e}]}))}}var lee=e=>typeof e==`string`||Array.isArray(e)&&e.every(e=>typeof e==`string`);c_(e=>lee(e)?S_(e):e,Pg({type:zg(`doc`),content:Mg(v_)}).refine(e=>x_(e)<=b_,`Lists and quotes are nested too deeply.`));var C_=[`bold`,`italic`,`code`,`link`,`headings`,`lists`,`quotes`];Pg({});var uee=/^(?:#(?:[0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})|(?:oklch|oklab|rgb|hsl)\([0-9.%,/ -]+\))$/i;function dee(e){return typeof e==`string`&&e.length<=64&&uee.test(e)}var w_=/^[a-z0-9]+(?:-[a-z0-9]+)*$/;function T_(e){return e.length<=200&&w_.test(e)}function E_(e){let t=e.split(`/`);return e.length<=200&&t.length<=5&&t.every(e=>w_.test(e))}var D_=`...slug`;function O_(e){return[e.urlPattern,...Object.values(e.localizedUrlPatterns??{})].some(e=>e?.includes(`[${D_}]`)===!0)}var k_=`$slug`,A_=[`resend`],j_=(e,t,n)=>[...n].every((n,r)=>e[t+r]===n.charCodeAt(0)),M_=(e,t)=>(e[t]??0)<<8|(e[t+1]??0),N_=(e,t)=>M_(e,t)*65536+M_(e,t+2),P_=(e,t)=>(e[t]??0)|(e[t+1]??0)<<8,F_=(e,t)=>P_(e,t)|(e[t+2]??0)<<16;function I_(e){return e.length<24||![137,80,78,71,13,10,26,10].every((t,n)=>e[n]===t)||!j_(e,12,`IHDR`)?null:{contentType:`image/png`,extension:`png`,width:N_(e,16),height:N_(e,20)}}function L_(e){if(e[0]!==255||e[1]!==216)return null;let t=2;for(;t+9<e.length;){if(e[t]!==255)return null;let n=e[t+1]??0;if(n===255)t+=1;else if(n===1||n>=208&&n<=215)t+=2;else{if(n>=192&&n<=207&&n!==196&&n!==200&&n!==204)return{contentType:`image/jpeg`,extension:`jpg`,width:M_(e,t+7),height:M_(e,t+5)};if(n===218||n===217)return null;t+=2+M_(e,t+2)}}return null}function R_(e){if(e.length<30||!j_(e,0,`RIFF`)||!j_(e,8,`WEBP`))return null;let t=(e,t)=>({contentType:`image/webp`,extension:`webp`,width:e,height:t});if(j_(e,12,`VP8X`))return t(F_(e,24)+1,F_(e,27)+1);if(j_(e,12,`VP8 `))return t(P_(e,26)&16383,P_(e,28)&16383);if(j_(e,12,`VP8L`)&&e[20]===47){let n=P_(e,21)+P_(e,23)*65536;return t((n&16383)+1,(Math.floor(n/16384)&16383)+1)}return null}function z_(e){let t=I_(e)??L_(e)??R_(e);return t&&t.width>0&&t.height>0?t:null}var B_=2560,V_=(e,t,n)=>t===n?e.urlPattern:e.localizedUrlPatterns?.[t],H_=e=>e.urlPattern!==void 0||Object.keys(e.localizedUrlPatterns??{}).length>0;function U_(e,t,n){let r=V_(e,t.locale,n);if(r===void 0)return null;let i=!0,a=r.replace(/\[([^\]]+)\]/g,(n,r)=>{if(r===`...slug`)return E_(t.slug)||(i=!1),t.slug===`index`?``:t.slug;let a=r===`slug`?void 0:f_(e.fields).find(e=>e.key===r),o=r===`slug`?t.slug:a?t.data[a.id]:void 0;return typeof o!=`string`||!/^[A-Za-z0-9][A-Za-z0-9._~-]*$/.test(o)?(i=!1,``):o});return i?`${a.replace(/\/{2,}/g,`/`).replace(/\/+$/,``)}/`:null}function W_(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`){if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=W_(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n)}return r}function G_(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=W_(e))&&(r&&(r+=` `),r+=t);return r}var K_=e=>typeof e==`boolean`?`${e}`:e===0?`0`:e,q_=G_,V=(e,t)=>n=>{if(t?.variants==null)return q_(e,n?.class,n?.className);let{variants:r,defaultVariants:i}=t,a=Object.keys(r).map(e=>{let t=n?.[e],a=i?.[e];if(t===null)return null;let o=K_(t)||K_(a);return r[e][o]}),o=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return r===void 0||(e[n]=r),e},{});return q_(e,a,t?.compoundVariants?.reduce((e,t)=>{let{class:n,className:r,...a}=t;return Object.entries(a).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...i,...o}[t]):{...i,...o}[t]===n})?[...e,n,r]:e},[]),n?.class,n?.className)},J_={0:`gap-0`,1:`gap-1`,2:`gap-2`,3:`gap-3`,4:`gap-4`,5:`gap-5`,6:`gap-6`,8:`gap-8`,10:`gap-10`,12:`gap-12`},Y_=V(``,{variants:{padding:{0:`p-0`,1:`p-1`,2:`p-2`,3:`p-3`,4:`p-4`,5:`p-5`,6:`p-6`,8:`p-8`,10:`p-10`,12:`p-12`},paddingX:{0:`px-0`,1:`px-1`,2:`px-2`,3:`px-3`,4:`px-4`,5:`px-5`,6:`px-6`,8:`px-8`,10:`px-10`,12:`px-4 md:px-12`},paddingY:{0:`py-0`,1:`py-1`,2:`py-2`,3:`py-3`,4:`py-4`,5:`py-5`,6:`py-6`,8:`py-8`,10:`py-6 md:py-10`,12:`py-12`},surface:{none:``,page:`bg-background`,subtle:`bg-background-secondary`,card:`bg-card`},border:{true:`border border-border`},radius:{none:``,sm:`rounded-sm`,md:`rounded-md`,lg:`rounded-lg`},shadow:{none:``,sm:`shadow-sm`,md:`shadow-md`},maxWidth:{none:``,xs:`max-w-sm`,sm:`max-w-md`,md:`max-w-2xl`,lg:`max-w-4xl`},grow:{true:`min-w-0 flex-1`}},defaultVariants:{surface:`none`,radius:`none`,shadow:`none`,maxWidth:`none`}});function X_({as:e=`div`,label:t,children:n,...r}){return(0,S.jsx)(e,{className:Y_(r),"aria-label":t,children:n})}var Z_=e=>e?.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase();function Q_(e,t,n=[]){if(t==null)throw Error(`[lucide]: iconNode is required when icon name is used`);return{name:Z_(e),size:24,node:t,...n.length>0?{aliases:n}:{}}}var $_=e=>{let t=``,n=!1;for(let r of e)r===`-`||r===`_`||r<=` `?n=t.length>0:(t.length===0?t+=r.toLowerCase():t+=n?r.toUpperCase():r,n=!1);return t},ev=e=>{let t=$_(e);return t.charAt(0).toUpperCase()+t.slice(1)},tv=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),nv={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":2,"stroke-linecap":`round`,"stroke-linejoin":`round`};function rv(e){return e!=null}function iv(e,t={}){let n=t.attributeNames??{},r=e=>n[e]??e,i=e.size??e.width??nv.width,a=e.size??e.height??nv.height,o=e.aliases?.filter(e=>typeof e==`string`&&e.trim()!==``).map(e=>`lucide-${e}`)??[],s=[...e.name?[`lucide-${e.name}`]:[],...o],c=t.className?.split(` `).filter(Boolean)??[],l=t.includeDefaultClasses===!1?tv(...c):tv(`lucide`,...s,...c),u=t.absoluteStrokeWidth?Number(t.strokeWidth??nv[`stroke-width`])*Number(e.size??e.width??nv.width)/Number(t.size??t.width??nv.width):t.strokeWidth??nv[`stroke-width`];return[`svg`,{...Object.entries(nv).reduce((e,[t,n])=>(e[r(t)]=n,e),{}),...`color`in t&&t.color&&{[r(`stroke`)]:t.color},...`size`in t&&rv(t.size)&&{[r(`width`)]:t.size,[r(`height`)]:t.size},...`width`in t&&rv(t.width)&&{[r(`width`)]:t.width},...`height`in t&&rv(t.height)&&{[r(`height`)]:t.height},[r(`stroke-width`)]:u,...l&&{[r(`class`)]:l},[r(`viewBox`)]:`0 0 ${i} ${a}`,...t.hasA11yProp===!1?{[r(`aria-hidden`)]:`true`}:{},...`attributes`in t&&t.attributes},e.node.map(e=>{let[n,i,a]=e,o=t.nonScalingStroke?{[r(`vector-effect`)]:`non-scaling-stroke`,...i}:i;return a?[n,o,a]:[n,o]})]}function av(e,t={}){return iv(e,{...t,attributeNames:{...t.attributeNames,class:`className`,"stroke-width":`strokeWidth`,"stroke-linecap":`strokeLinecap`,"stroke-linejoin":`strokeLinejoin`,"vector-effect":`vectorEffect`}})}var ov=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},sv=(0,x.createContext)({}),cv=()=>(0,x.useContext)(sv),lv=(0,x.forwardRef)(({color:e,size:t,width:n,height:r,strokeWidth:i,absoluteStrokeWidth:a,nonScalingStroke:o,className:s=``,children:c,iconNode:l=[],icon:u={node:l,aliases:[],size:24},...d},f)=>{let{size:p=24,strokeWidth:m=2,absoluteStrokeWidth:h=!1,nonScalingStroke:g=!1,color:_=`currentColor`,className:v=``}=cv()??{},y=!!c||ov(d),[b,S,C=[]]=av(u,{color:e??_,width:n??t??p,height:r??t??p,strokeWidth:i??m,absoluteStrokeWidth:a??h,nonScalingStroke:o??g,className:tv(v,s),hasA11yProp:y,attributes:d});return(0,x.createElement)(b,{ref:f,...S},[...C.map(([e,t])=>(0,x.createElement)(e,t)),...Array.isArray(c)?c:[c]])});function H(e,t=[],n=[]){let r=typeof e==`string`?Q_(e,t,n):e,i=(0,x.forwardRef)(({className:e,...t},n)=>(0,x.createElement)(lv,{ref:n,icon:r,className:e,...t}));return r.name&&(i.displayName=ev(r.name)),i}var uv={name:`archive`,size:24,node:[[`rect`,{width:`20`,height:`5`,x:`2`,y:`3`,rx:`1`,key:`1wp1u1`}],[`path`,{d:`M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8`,key:`1s80jp`}],[`path`,{d:`M10 12h4`,key:`a56b0p`}]]};uv.node;var dv=H(uv),fv={name:`arrow-down`,size:24,node:[[`path`,{d:`M12 5v14`,key:`s699le`}],[`path`,{d:`m19 12-7 7-7-7`,key:`1idqje`}]]};fv.node;var pv=H(fv),mv={name:`arrow-right-left`,size:24,node:[[`path`,{d:`m16 3 4 4-4 4`,key:`1x1c3m`}],[`path`,{d:`M20 7H4`,key:`zbl0bi`}],[`path`,{d:`m8 21-4-4 4-4`,key:`h9nckh`}],[`path`,{d:`M4 17h16`,key:`g4d7ey`}]]};mv.node;var hv=H(mv),gv={name:`arrow-right`,size:24,node:[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`m12 5 7 7-7 7`,key:`xquz4c`}]]};gv.node;var _v=H(gv),vv={name:`arrow-up`,size:24,node:[[`path`,{d:`m5 12 7-7 7 7`,key:`hav0vg`}],[`path`,{d:`M12 19V5`,key:`x0mq9r`}]]};vv.node;var yv=H(vv),bv={name:`badge-check`,size:24,node:[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`,key:`3c2336`}],[`path`,{d:`m16 9-5.5 5.5L8 12`,key:`xofnsj`}]],aliases:[`verified`]};bv.node;var fee=H(bv),xv={name:`blocks`,size:24,node:[[`path`,{d:`M10 22V7a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5a1 1 0 0 0-1-1H2`,key:`1ah6g2`}],[`rect`,{x:`14`,y:`2`,width:`8`,height:`8`,rx:`1`,key:`88lufb`}]]};xv.node;var Sv=H(xv),Cv={name:`building-complex`,size:24,node:[[`path`,{d:`M10 12h4`,key:`a56b0p`}],[`path`,{d:`M10 8h4`,key:`1sr2af`}],[`path`,{d:`M14 21v-3a2 2 0 0 0-4 0v3`,key:`1rgiei`}],[`path`,{d:`M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2`,key:`secmi2`}],[`path`,{d:`M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16`,key:`16ra0t`}]],aliases:[`building-2`]};Cv.node;var wv=H(Cv),Tv={name:`calendar-clock`,size:24,node:[[`path`,{d:`M16 14v2.2l1.6 1`,key:`fo4ql5`}],[`path`,{d:`M16 2v3`,key:`otl347`}],[`path`,{d:`M21 7.338V5a2 2 0 00-2-2H5a2 2 0 00-2 2v14a2 2 0 002 2h2.338`,key:`7hb8p4`}],[`path`,{d:`M3 9h5.859`,key:`numkqi`}],[`path`,{d:`M8 2v3`,key:`1ioesn`}],[`circle`,{cx:`16`,cy:`16`,r:`6`,key:`qoo3c4`}]]};Tv.node;var pee=H(Tv),Ev={name:`calendar-days`,size:24,node:[[`path`,{d:`M8 2v3`,key:`1ioesn`}],[`path`,{d:`M16 2v3`,key:`otl347`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`,key:`h1oib`}],[`path`,{d:`M3 9h18`,key:`1pudct`}],[`path`,{d:`M8 13h.01`,key:`1sbv64`}],[`path`,{d:`M12 13h.01`,key:`y0uutt`}],[`path`,{d:`M16 13h.01`,key:`wip0gl`}],[`path`,{d:`M8 17h.01`,key:`p3bg7i`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}],[`path`,{d:`M16 17h.01`,key:`ql8jdd`}]]};Ev.node;var Dv=H(Ev),Ov={name:`chart-no-axes-column`,size:24,node:[[`path`,{d:`M5 21v-6`,key:`1hz6c0`}],[`path`,{d:`M12 21V3`,key:`1lcnhd`}],[`path`,{d:`M19 21V9`,key:`unv183`}]],aliases:[`bar-chart-2`]};Ov.node;var mee=H(Ov),kv={name:`check`,size:24,node:[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]};kv.node;var Av=H(kv),jv={name:`chevron-down`,size:24,node:[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]};jv.node;var Mv=H(jv),Nv={name:`chevron-left`,size:24,node:[[`path`,{d:`m15 18-6-6 6-6`,key:`1wnfg3`}]]};Nv.node;var Pv=H(Nv),Fv={name:`chevron-right`,size:24,node:[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]};Fv.node;var Iv=H(Fv),Lv={name:`chevrons-up-down`,size:24,node:[[`path`,{d:`m7 15 5 5 5-5`,key:`1hf1tw`}],[`path`,{d:`m7 9 5-5 5 5`,key:`sgt6xg`}]]};Lv.node;var Rv=H(Lv),zv={name:`circle-check`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m16 9-5.5 5.5L8 12`,key:`xofnsj`}]],aliases:[`check-circle-2`]};zv.node;var Bv=H(zv),Vv={name:`circle-exclamation-point`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`12`,key:`1pkeuh`}],[`line`,{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`,key:`4dfq90`}]],aliases:[`alert-circle`,`circle-alert`]};Vv.node;var Hv=H(Vv),Uv={name:`circle-question-mark`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M9 9.5a3 2.5 0 016 0c0 2-2 2-3 3.5`,key:`1awbb0`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]],aliases:[`help-circle`,`circle-help`]};Uv.node;var Wv=H(Uv),Gv={name:`columns-2`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M12 3v18`,key:`108xh3`}]],aliases:[`columns`]};Gv.node;var Kv=H(Gv),qv={name:`columns-3`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M9 3v18`,key:`fh3hqa`}],[`path`,{d:`M15 3v18`,key:`14nvp0`}]],aliases:[`panels-left-right`]};qv.node;var Jv=H(qv),Yv={name:`contact`,size:24,node:[[`path`,{d:`M16 2v2`,key:`scm5qe`}],[`path`,{d:`M7 21v-2a2 2 0 012-2h6a2 2 0 012 2v2`,key:`k82dct`}],[`path`,{d:`M8 2v2`,key:`pbkmx`}],[`circle`,{cx:`12`,cy:`10`,r:`3`,key:`ilqhr7`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`,key:`h1oib`}]]};Yv.node;var Xv=H(Yv),Zv={name:`copy`,size:24,node:[[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`,key:`17jyea`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`,key:`zix9uf`}]]};Zv.node;var Qv=H(Zv),$v={name:`download`,size:24,node:[[`path`,{d:`M12 15V3`,key:`m9g1x1`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}],[`path`,{d:`m7 10 5 5 5-5`,key:`brsn70`}]]};$v.node;var ey=H($v),ty={name:`ellipsis`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`1`,key:`41hilf`}],[`circle`,{cx:`19`,cy:`12`,r:`1`,key:`1wjl8i`}],[`circle`,{cx:`5`,cy:`12`,r:`1`,key:`1pcz8c`}]],aliases:[`more-horizontal`]};ty.node;var ny=H(ty),ry={name:`external-link`,size:24,node:[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`M10 14 21 3`,key:`gplh6r`}],[`path`,{d:`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`,key:`a6xqqp`}]]};ry.node;var iy=H(ry),ay={name:`eye-off`,size:24,node:[[`path`,{d:`M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49`,key:`ct8e1f`}],[`path`,{d:`M14.084 14.158a3 3 0 0 1-4.242-4.242`,key:`151rxh`}],[`path`,{d:`M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143`,key:`13bj9a`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]};ay.node;var oy=H(ay),sy={name:`eye`,size:24,node:[[`path`,{d:`M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0`,key:`1nclc0`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]]};sy.node;var cy=H(sy),ly={name:`file-question-mark`,size:24,node:[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M9 9.5a3 2.5 0 016 0c0 2-2 2-3 3.5`,key:`1awbb0`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]],aliases:[`file-question`]};ly.node;var uy=H(ly),dy={name:`file-text`,size:24,node:[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10 9H8`,key:`b1mrlr`}],[`path`,{d:`M16 13H8`,key:`t4e002`}],[`path`,{d:`M16 17H8`,key:`z1uh3a`}]]};dy.node;var fy=H(dy),py={name:`file-up`,size:24,node:[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M12 12v6`,key:`3ahymv`}],[`path`,{d:`m15 15-3-3-3 3`,key:`15xj92`}]]};py.node;var my=H(py),hy={name:`gallery-horizontal`,size:24,node:[[`path`,{d:`M2 3v18`,key:`pzttux`}],[`rect`,{width:`12`,height:`18`,x:`6`,y:`3`,rx:`2`,key:`btr8bg`}],[`path`,{d:`M22 3v18`,key:`6jf3v`}]]};hy.node;var gy=H(hy),_y={name:`grip-vertical`,size:24,node:[[`circle`,{cx:`9`,cy:`12`,r:`1`,key:`1vctgf`}],[`circle`,{cx:`9`,cy:`5`,r:`1`,key:`hp0tcf`}],[`circle`,{cx:`9`,cy:`19`,r:`1`,key:`fkjjf6`}],[`circle`,{cx:`15`,cy:`12`,r:`1`,key:`1tmaij`}],[`circle`,{cx:`15`,cy:`5`,r:`1`,key:`19l28e`}],[`circle`,{cx:`15`,cy:`19`,r:`1`,key:`f4zoj3`}]]};_y.node;var vy=H(_y),yy={name:`hand-coins`,size:24,node:[[`path`,{d:`M11 15h2a2 2 0 1 0 0-4h-3c-.6 0-1.1.2-1.4.6L3 17`,key:`geh8rc`}],[`path`,{d:`m7 21 1.6-1.4c.3-.4.8-.6 1.4-.6h4c1.1 0 2.1-.4 2.8-1.2l4.6-4.4a2 2 0 0 0-2.75-2.91l-4.2 3.9`,key:`1fto5m`}],[`path`,{d:`m2 16 6 6`,key:`1pfhp9`}],[`circle`,{cx:`16`,cy:`9`,r:`2.9`,key:`1n0dlu`}],[`circle`,{cx:`6`,cy:`5`,r:`3`,key:`151irh`}]]};yy.node;var by=H(yy),xy={name:`hash`,size:24,node:[[`line`,{x1:`4`,x2:`20`,y1:`9`,y2:`9`,key:`4lhtct`}],[`line`,{x1:`4`,x2:`20`,y1:`15`,y2:`15`,key:`vyu0kd`}],[`line`,{x1:`10`,x2:`8`,y1:`3`,y2:`21`,key:`1ggp8o`}],[`line`,{x1:`16`,x2:`14`,y1:`3`,y2:`21`,key:`weycgp`}]]};xy.node;var Sy=H(xy),Cy={name:`house`,size:24,node:[[`path`,{d:`M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8`,key:`5wwlr5`}],[`path`,{d:`M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z`,key:`r6nss1`}]],aliases:[`home`]};Cy.node;var wy=H(Cy),Ty={name:`image-off`,size:24,node:[[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`,key:`a6p6uj`}],[`path`,{d:`M10.41 10.41a2 2 0 1 1-2.83-2.83`,key:`1bzlo9`}],[`line`,{x1:`13.5`,x2:`6`,y1:`13.5`,y2:`21`,key:`1q0aeu`}],[`line`,{x1:`18`,x2:`21`,y1:`12`,y2:`15`,key:`5mozeu`}],[`path`,{d:`M3.59 3.59A1.99 1.99 0 0 0 3 5v14a2 2 0 0 0 2 2h14c.55 0 1.052-.22 1.41-.59`,key:`mmje98`}],[`path`,{d:`M21 15V5a2 2 0 0 0-2-2H9`,key:`43el77`}]]};Ty.node;var Ey=H(Ty),Dy={name:`image`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`,key:`1m3agn`}],[`circle`,{cx:`9`,cy:`9`,r:`2`,key:`af1f0g`}],[`path`,{d:`m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21`,key:`1xmnt7`}]]};Dy.node;var Oy=H(Dy),ky={name:`images`,size:24,node:[[`path`,{d:`m22 11-1.296-1.296a2.4 2.4 0 0 0-3.408 0L11 16`,key:`9kzy35`}],[`path`,{d:`M4 8a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2`,key:`1t0f0t`}],[`circle`,{cx:`13`,cy:`7`,r:`1`,fill:`currentColor`,key:`1obus6`}],[`rect`,{x:`8`,y:`2`,width:`14`,height:`14`,rx:`2`,key:`1gvhby`}]]};ky.node;var Ay=H(ky),jy={name:`inbox`,size:24,node:[[`polyline`,{points:`22 12 16 12 14 15 10 15 8 12 2 12`,key:`o97t9d`}],[`path`,{d:`M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z`,key:`oot6mr`}]]};jy.node;var My=H(jy),Ny={name:`info`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 16v-4`,key:`1dtifu`}],[`path`,{d:`M12 8h.01`,key:`e9boi3`}]]};Ny.node;var Py=H(Ny),Fy={name:`key-round`,size:24,node:[[`path`,{d:`M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z`,key:`1s6t7t`}],[`circle`,{cx:`16.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`w0ekpg`}]]};Fy.node;var Iy=H(Fy),Ly={name:`languages`,size:24,node:[[`path`,{d:`m5 8 6 6`,key:`1wu5hv`}],[`path`,{d:`m4 14 6-6 2-3`,key:`1k1g8d`}],[`path`,{d:`M2 5h12`,key:`or177f`}],[`path`,{d:`M7 2h1`,key:`1t2jsx`}],[`path`,{d:`m22 22-5-10-5 10`,key:`don7ne`}],[`path`,{d:`M14 18h6`,key:`1m8k6r`}]]};Ly.node;var Ry=H(Ly),zy={name:`layers`,size:24,node:[[`path`,{d:`M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z`,key:`zw3jo`}],[`path`,{d:`M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12`,key:`1wduqc`}],[`path`,{d:`M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17`,key:`kqbvx6`}]],aliases:[`layers-3`]};zy.node;var By=H(zy),Vy={name:`layout-grid`,size:24,node:[[`rect`,{width:`7`,height:`7`,x:`3`,y:`3`,rx:`1`,key:`1g98yp`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`3`,rx:`1`,key:`6d4xhi`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`14`,rx:`1`,key:`nxv5o0`}],[`rect`,{width:`7`,height:`7`,x:`3`,y:`14`,rx:`1`,key:`1bb6yr`}]]};Vy.node;var Hy=H(Vy),Uy={name:`layout-list`,size:24,node:[[`rect`,{width:`7`,height:`7`,x:`3`,y:`3`,rx:`1`,key:`1g98yp`}],[`rect`,{width:`7`,height:`7`,x:`3`,y:`14`,rx:`1`,key:`1bb6yr`}],[`path`,{d:`M14 4h7`,key:`3xa0d5`}],[`path`,{d:`M14 9h7`,key:`1icrd9`}],[`path`,{d:`M14 15h7`,key:`1mj8o2`}],[`path`,{d:`M14 20h7`,key:`11slyb`}]]};Uy.node;var Wy=H(Uy),Gy={name:`layout-template`,size:24,node:[[`rect`,{width:`18`,height:`7`,x:`3`,y:`3`,rx:`1`,key:`f1a2em`}],[`rect`,{width:`9`,height:`7`,x:`3`,y:`14`,rx:`1`,key:`jqznyg`}],[`rect`,{width:`5`,height:`7`,x:`16`,y:`14`,rx:`1`,key:`q5h2i8`}]]};Gy.node;var Ky=H(Gy),qy={name:`letter-h`,size:24,node:[[`path`,{d:`M18 20V4`,key:`o2hl4u`}],[`path`,{d:`M6 12H18`,key:`1fx1vx`}],[`path`,{d:`M6 20V4`,key:`1w1bmo`}]],aliases:[`heading`]};qy.node;var Jy=H(qy),Yy={name:`list-checks`,size:24,node:[[`path`,{d:`M13 5h8`,key:`a7qcls`}],[`path`,{d:`M13 12h8`,key:`h98zly`}],[`path`,{d:`M13 19h8`,key:`c3s6r1`}],[`path`,{d:`m3 17 2 2 4-4`,key:`1jhpwq`}],[`path`,{d:`m3 7 2 2 4-4`,key:`1obspn`}]]};Yy.node;var Xy=H(Yy),Zy={name:`list-filter`,size:24,node:[[`path`,{d:`M2 5h20`,key:`1fs1ex`}],[`path`,{d:`M6 12h12`,key:`8npq4p`}],[`path`,{d:`M9 19h6`,key:`456am0`}]]};Zy.node;var Qy=H(Zy),$y={name:`list-plus`,size:24,node:[[`path`,{d:`M16 5H3`,key:`m91uny`}],[`path`,{d:`M11 12H3`,key:`51ecnj`}],[`path`,{d:`M16 19H3`,key:`zzsher`}],[`path`,{d:`M18 9v6`,key:`1twb98`}],[`path`,{d:`M21 12h-6`,key:`bt1uis`}]]};$y.node;var eb=H($y),tb={name:`list-tree`,size:24,node:[[`path`,{d:`M8 5h13`,key:`1pao27`}],[`path`,{d:`M13 12h8`,key:`h98zly`}],[`path`,{d:`M13 19h8`,key:`c3s6r1`}],[`path`,{d:`M3 10a2 2 0 0 0 2 2h3`,key:`1npucw`}],[`path`,{d:`M3 5v12a2 2 0 0 0 2 2h3`,key:`x1gjn2`}]]};tb.node;var nb=H(tb),rb={name:`list`,size:24,node:[[`path`,{d:`M3 5h.01`,key:`18ugdj`}],[`path`,{d:`M3 12h.01`,key:`nlz23k`}],[`path`,{d:`M3 19h.01`,key:`noohij`}],[`path`,{d:`M8 5h13`,key:`1pao27`}],[`path`,{d:`M8 12h13`,key:`1za7za`}],[`path`,{d:`M8 19h13`,key:`m83p4d`}]]};rb.node;var ib=H(rb),ab={name:`loader-circle`,size:24,node:[[`path`,{d:`M21 12a9 9 0 1 1-6.219-8.56`,key:`13zald`}]],aliases:[`loader-2`]};ab.node;var ob=H(ab),sb={name:`lock`,size:24,node:[[`rect`,{width:`18`,height:`11`,x:`3`,y:`11`,rx:`2`,ry:`2`,key:`1w4ew1`}],[`path`,{d:`M7 11V7a5 5 0 0 1 10 0v4`,key:`fwvmzm`}]]};sb.node;var hee=H(sb),cb={name:`log-out`,size:24,node:[[`path`,{d:`m16 17 5-5-5-5`,key:`1bji2h`}],[`path`,{d:`M21 12H9`,key:`dn1m92`}],[`path`,{d:`M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4`,key:`1uf3rs`}]]};cb.node;var gee=H(cb),lb={name:`mail`,size:24,node:[[`path`,{d:`m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7`,key:`132q7q`}],[`rect`,{x:`2`,y:`4`,width:`20`,height:`16`,rx:`2`,key:`izxlao`}]]};lb.node;var _ee=H(lb),ub={name:`map-pin`,size:24,node:[[`path`,{d:`M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0`,key:`1r0f0z`}],[`circle`,{cx:`12`,cy:`10`,r:`3`,key:`ilqhr7`}]]};ub.node;var db=H(ub),fb={name:`maximize-2`,size:24,node:[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`m21 3-7 7`,key:`1l2asr`}],[`path`,{d:`m3 21 7-7`,key:`tjx5ai`}],[`path`,{d:`M9 21H3v-6`,key:`wtvkvv`}]]};fb.node;var vee=H(fb),pb={name:`megaphone`,size:24,node:[[`path`,{d:`M11 6a13 13 0 0 0 8.4-2.8A1 1 0 0 1 21 4v12a1 1 0 0 1-1.6.8A13 13 0 0 0 11 14H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2z`,key:`q8bfy3`}],[`path`,{d:`M6 14a12 12 0 0 0 2.4 7.2 2 2 0 0 0 3.2-2.4A8 8 0 0 1 10 14`,key:`1853fq`}],[`path`,{d:`M8 6v8`,key:`15ugcq`}]]};pb.node;var yee=H(pb),mb={name:`menu`,size:24,node:[[`path`,{d:`M4 5h16`,key:`1tepv9`}],[`path`,{d:`M4 12h16`,key:`1lakjw`}],[`path`,{d:`M4 19h16`,key:`1djgab`}]]};mb.node;var bee=H(mb),hb={name:`message-circle`,size:24,node:[[`path`,{d:`M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719`,key:`1sd12s`}]]};hb.node;var gb=H(hb),_b={name:`message-square-quote`,size:24,node:[[`path`,{d:`M14 14a2 2 0 0 0 2-2V8h-2`,key:`1r06pg`}],[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`,key:`18887p`}],[`path`,{d:`M8 14a2 2 0 0 0 2-2V8H8`,key:`1jzu5j`}]]};_b.node;var xee=H(_b),vb={name:`minus`,size:24,node:[[`path`,{d:`M5 12h14`,key:`1ays0h`}]]};vb.node;var See=H(vb),yb={name:`monitor`,size:24,node:[[`rect`,{width:`20`,height:`14`,x:`2`,y:`3`,rx:`2`,key:`48i651`}],[`line`,{x1:`8`,x2:`16`,y1:`21`,y2:`21`,key:`1svkeh`}],[`line`,{x1:`12`,x2:`12`,y1:`17`,y2:`21`,key:`vw1qmm`}]]};yb.node;var Cee=H(yb),bb={name:`mouse-pointer-2`,size:24,node:[[`path`,{d:`M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z`,key:`edeuup`}]]};bb.node;var wee=H(bb),xb={name:`mouse-pointer-click`,size:24,node:[[`path`,{d:`M14 4.1 12 6`,key:`ita8i4`}],[`path`,{d:`m5.1 8-2.9-.8`,key:`1go3kf`}],[`path`,{d:`m6 12-1.9 2`,key:`mnht97`}],[`path`,{d:`M7.2 2.2 8 5.1`,key:`1cfko1`}],[`path`,{d:`M9.037 9.69a.498.498 0 0 1 .653-.653l11 4.5a.5.5 0 0 1-.074.949l-4.349 1.041a1 1 0 0 0-.74.739l-1.04 4.35a.5.5 0 0 1-.95.074z`,key:`s0h3yz`}]]};xb.node;var Tee=H(xb),Sb={name:`newspaper`,size:24,node:[[`path`,{d:`M15 18h-5`,key:`95g1m2`}],[`path`,{d:`M18 14h-8`,key:`sponae`}],[`path`,{d:`M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-4 0v-9a2 2 0 0 1 2-2h2`,key:`39pd36`}],[`rect`,{width:`8`,height:`4`,x:`10`,y:`6`,rx:`1`,key:`aywv1n`}]]};Sb.node;var Eee=H(Sb),Cb={name:`package`,size:24,node:[[`path`,{d:`M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z`,key:`1a0edw`}],[`path`,{d:`M12 22V12`,key:`d0xqtd`}],[`polyline`,{points:`3.29 7 12 12 20.71 7`,key:`ousv84`}],[`path`,{d:`m7.5 4.27 9 5.15`,key:`1c824w`}]]};Cb.node;var Dee=H(Cb),wb={name:`palette`,size:24,node:[[`path`,{d:`M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z`,key:`e79jfc`}],[`circle`,{cx:`13.5`,cy:`6.5`,r:`.5`,fill:`currentColor`,key:`1okk4w`}],[`circle`,{cx:`17.5`,cy:`10.5`,r:`.5`,fill:`currentColor`,key:`f64h9f`}],[`circle`,{cx:`6.5`,cy:`12.5`,r:`.5`,fill:`currentColor`,key:`qy21gx`}],[`circle`,{cx:`8.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`fotxhn`}]]};wb.node;var Tb=H(wb),Eb={name:`panel-right-close`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M15 3v18`,key:`14nvp0`}],[`path`,{d:`m8 9 3 3-3 3`,key:`12hl5m`}]]};Eb.node;var Db=H(Eb),Ob={name:`panel-right-open`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M15 3v18`,key:`14nvp0`}],[`path`,{d:`m10 15-3-3 3-3`,key:`1pgupc`}]]};Ob.node;var kb=H(Ob),Ab={name:`panel-top`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M3 9h18`,key:`1pudct`}]]};Ab.node;var jb=H(Ab),Mb={name:`panels-top-left`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M3 9h18`,key:`1pudct`}],[`path`,{d:`M9 21V9`,key:`1oto5p`}]],aliases:[`layout`]};Mb.node;var Nb=H(Mb),Pb={name:`pen-line`,size:24,node:[[`path`,{d:`M13 21h8`,key:`1jsn5i`}],[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`,key:`1a8usu`}]],aliases:[`edit-3`]};Pb.node;var Fb=H(Pb),Ib={name:`pencil`,size:24,node:[[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`,key:`1a8usu`}],[`path`,{d:`m15 5 4 4`,key:`1mk7zo`}]]};Ib.node;var Lb=H(Ib),Rb={name:`phone`,size:24,node:[[`path`,{d:`M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384`,key:`9njp5v`}]]};Rb.node;var zb=H(Rb),Bb={name:`play`,size:24,node:[[`path`,{d:`M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z`,key:`10ikf1`}]]};Bb.node;var Vb=H(Bb),Hb={name:`plug-zap`,size:24,node:[[`path`,{d:`M6.3 20.3a2.4 2.4 0 0 0 3.4 0L12 18l-6-6-2.3 2.3a2.4 2.4 0 0 0 0 3.4Z`,key:`goz73y`}],[`path`,{d:`m2 22 3-3`,key:`19mgm9`}],[`path`,{d:`M7.5 13.5 10 11`,key:`7xgeeb`}],[`path`,{d:`M10.5 16.5 13 14`,key:`10btkg`}],[`path`,{d:`m18 3-4 4h6l-4 4`,key:`16psg9`}]],aliases:[`plug-zap-2`]};Hb.node;var Ub=H(Hb),Wb={name:`plus`,size:24,node:[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`M12 5v14`,key:`s699le`}]]};Wb.node;var Gb=H(Wb),Kb={name:`puzzle`,size:24,node:[[`path`,{d:`M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z`,key:`w46dr5`}]]};Kb.node;var qb=H(Kb),Jb={name:`quote`,size:24,node:[[`path`,{d:`M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z`,key:`rib7q0`}],[`path`,{d:`M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z`,key:`1ymkrd`}]]};Jb.node;var Yb=H(Jb),Xb={name:`redo-2`,size:24,node:[[`path`,{d:`m15 14 5-5-5-5`,key:`12vg1m`}],[`path`,{d:`M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13`,key:`6uklza`}]]};Xb.node;var Zb=H(Xb),Qb={name:`rotate-ccw-clock`,size:24,node:[[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,key:`1357e3`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}],[`path`,{d:`M12 7v5l4 2`,key:`1fdv2h`}]],aliases:[`history`]};Qb.node;var $b=H(Qb),ex={name:`rotate-cw`,size:24,node:[[`path`,{d:`M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8`,key:`1p45f6`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}]]};ex.node;var tx=H(ex),nx={name:`rows-3`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M21 9H3`,key:`1338ky`}],[`path`,{d:`M21 15H3`,key:`9uk58r`}]],aliases:[`panels-top-bottom`]};nx.node;var rx=H(nx),ix={name:`save`,size:24,node:[[`path`,{d:`M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z`,key:`1c8476`}],[`path`,{d:`M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7`,key:`1ydtos`}],[`path`,{d:`M7 3v4a1 1 0 0 0 1 1h7`,key:`t51u73`}]]};ix.node;var ax=H(ix),ox={name:`search-x`,size:24,node:[[`path`,{d:`m13.5 8.5-5 5`,key:`1cs55j`}],[`path`,{d:`m8.5 8.5 5 5`,key:`a8mexj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}],[`path`,{d:`m21 21-4.3-4.3`,key:`1qie3q`}]]};ox.node;var sx=H(ox),cx={name:`search`,size:24,node:[[`path`,{d:`m21 21-4.34-4.34`,key:`14j7rj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}]]};cx.node;var lx=H(cx),ux={name:`send`,size:24,node:[[`path`,{d:`M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z`,key:`1ffxy3`}],[`path`,{d:`m21.854 2.147-10.94 10.939`,key:`12cjpa`}]]};ux.node;var dx=H(ux),fx={name:`settings-2`,size:24,node:[[`path`,{d:`M14 17H5`,key:`gfn3mx`}],[`path`,{d:`M19 7h-9`,key:`6i9tg`}],[`circle`,{cx:`17`,cy:`17`,r:`3`,key:`18b49y`}],[`circle`,{cx:`7`,cy:`7`,r:`3`,key:`dfmy0x`}]]};fx.node;var px=H(fx),mx={name:`settings`,size:24,node:[[`path`,{d:`M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915`,key:`1i5ecw`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]]};mx.node;var hx=H(mx),gx={name:`shapes`,size:24,node:[[`path`,{d:`M8.3 10a.7.7 0 0 1-.626-1.079L11.4 3a.7.7 0 0 1 1.198-.043L16.3 8.9a.7.7 0 0 1-.572 1.1Z`,key:`1bo67w`}],[`rect`,{x:`3`,y:`14`,width:`7`,height:`7`,rx:`1`,key:`1bkyp8`}],[`circle`,{cx:`17.5`,cy:`17.5`,r:`3.5`,key:`w3z12y`}]]};gx.node;var _x=H(gx),vx={name:`shield-check`,size:24,node:[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]};vx.node;var yx=H(vx),bx={name:`smartphone`,size:24,node:[[`rect`,{width:`14`,height:`20`,x:`5`,y:`2`,rx:`2`,ry:`2`,key:`1yt0o3`}],[`path`,{d:`M12 18h.01`,key:`mhygvu`}]]};bx.node;var xx=H(bx),Sx={name:`sparkles`,size:24,node:[[`path`,{d:`M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z`,key:`1s2grr`}],[`path`,{d:`M20 2v4`,key:`1rf3ol`}],[`path`,{d:`M22 4h-4`,key:`gwowj6`}],[`circle`,{cx:`4`,cy:`20`,r:`2`,key:`6kqj1y`}]],aliases:[`stars`]};Sx.node;var Oee=H(Sx),Cx={name:`star`,size:24,node:[[`path`,{d:`M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z`,key:`r04s7s`}]]};Cx.node;var kee=H(Cx),wx={name:`table`,size:24,node:[[`path`,{d:`M12 3v18`,key:`108xh3`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M3 9h18`,key:`1pudct`}],[`path`,{d:`M3 15h18`,key:`5xshup`}]]};wx.node;var Aee=H(wx),Tx={name:`tablet`,size:24,node:[[`rect`,{width:`16`,height:`20`,x:`4`,y:`2`,rx:`2`,ry:`2`,key:`76otgf`}],[`line`,{x1:`12`,x2:`12.01`,y1:`18`,y2:`18`,key:`1dp563`}]]};Tx.node;var jee=H(Tx),Ex={name:`tag`,size:24,node:[[`path`,{d:`M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z`,key:`vktsd0`}],[`circle`,{cx:`7.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`kqv944`}]]};Ex.node;var Dx=H(Ex),Ox={name:`text-align-start`,size:24,node:[[`path`,{d:`M21 5H3`,key:`1fi0y6`}],[`path`,{d:`M15 12H3`,key:`6jk70r`}],[`path`,{d:`M17 19H3`,key:`z6ezky`}]],aliases:[`text`,`align-left`]};Ox.node;var kx=H(Ox),Ax={name:`trash`,size:24,node:[[`path`,{d:`M10 11v6`,key:`nco0om`}],[`path`,{d:`M14 11v6`,key:`outv1u`}],[`path`,{d:`M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6`,key:`miytrc`}],[`path`,{d:`M3 6h18`,key:`d0wm0j`}],[`path`,{d:`M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2`,key:`e791ji`}]],aliases:[`trash-2`]};Ax.node;var jx=H(Ax),Mx={name:`type`,size:24,node:[[`path`,{d:`M12 4v16`,key:`1654pz`}],[`path`,{d:`M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2`,key:`e0r10z`}],[`path`,{d:`M9 20h6`,key:`s66wpe`}]]};Mx.node;var Mee=H(Mx),Nx={name:`undo-2`,size:24,node:[[`path`,{d:`M9 14 4 9l5-5`,key:`102s5s`}],[`path`,{d:`M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11`,key:`f3b9sd`}]]};Nx.node;var Px=H(Nx),Fx={name:`upload`,size:24,node:[[`path`,{d:`M12 3v12`,key:`1x0j5s`}],[`path`,{d:`m17 8-5-5-5 5`,key:`7q97r8`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}]]};Fx.node;var Ix=H(Fx),Lx={name:`user-plus`,size:24,node:[[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`,key:`1yyitq`}],[`circle`,{cx:`9`,cy:`7`,r:`4`,key:`nufk8`}],[`line`,{x1:`19`,x2:`19`,y1:`8`,y2:`14`,key:`1bvyxn`}],[`line`,{x1:`22`,x2:`16`,y1:`11`,y2:`11`,key:`1shjgl`}]]};Lx.node;var Nee=H(Lx),Rx={name:`user-round`,size:24,node:[[`circle`,{cx:`12`,cy:`8`,r:`5`,key:`1hypcn`}],[`path`,{d:`M20 21a8 8 0 0 0-16 0`,key:`rfgkzh`}]],aliases:[`user-2`]};Rx.node;var zx=H(Rx),Bx={name:`user-x`,size:24,node:[[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`,key:`1yyitq`}],[`circle`,{cx:`9`,cy:`7`,r:`4`,key:`nufk8`}],[`line`,{x1:`17`,x2:`22`,y1:`8`,y2:`13`,key:`3nzzx3`}],[`line`,{x1:`22`,x2:`17`,y1:`8`,y2:`13`,key:`1swrse`}]]};Bx.node;var Vx=H(Bx),Hx={name:`users`,size:24,node:[[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`,key:`1yyitq`}],[`path`,{d:`M16 3.128a4 4 0 0 1 0 7.744`,key:`16gr8j`}],[`path`,{d:`M22 21v-2a4 4 0 0 0-3-3.87`,key:`kshegd`}],[`circle`,{cx:`9`,cy:`7`,r:`4`,key:`nufk8`}]]};Hx.node;var Ux=H(Hx),Wx={name:`x`,size:24,node:[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]};Wx.node;var Gx=H(Wx);function Kx(...e){return(...t)=>{for(let n of e)typeof n==`function`&&n(...t)}}var qx=typeof document<`u`?x.useLayoutEffect:()=>{},Jx={prefix:String(Math.round(Math.random()*1e10)),current:0},Yx=x.createContext(Jx),Xx=x.createContext(!1);typeof window<`u`&&window.document&&window.document.createElement;var Zx=new WeakMap;function Qx(e=!1){let t=(0,x.useContext)(Yx),n=(0,x.useRef)(null);if(n.current===null&&!e){let e=x.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;if(e){let n=Zx.get(e);n==null?Zx.set(e,{id:t.current,state:e.memoizedState}):e.memoizedState!==n.state&&(t.current=n.id,Zx.delete(e))}n.current=++t.current}return n.current}function $x(e){let t=(0,x.useContext)(Yx),n=Qx(!!e),r=`react-aria${t.prefix}`;return e||`${r}-${n}`}function eS(e){let t=x.useId(),[n]=(0,x.useState)(aS()),r=n?`react-aria`:`react-aria${Jx.prefix}`;return e||`${r}-${t}`}var tS=typeof x.useId==`function`?eS:$x;function nS(){return!1}function rS(){return!0}function iS(e){return()=>{}}function aS(){return typeof x.useSyncExternalStore==`function`?x.useSyncExternalStore(iS,nS,rS):(0,x.useContext)(Xx)}function oS(e){let[t,n]=(0,x.useState)(e),r=(0,x.useRef)(t),i=(0,x.useRef)(null),a=(0,x.useRef)(()=>{if(!i.current)return;let e=i.current.next();e.done?i.current=null:r.current===e.value?a.current():n(e.value)});return qx(()=>{r.current=t,i.current&&a.current()}),[t,(0,x.useCallback)(e=>{i.current=e(r.current),a.current()},[a])]}var sS=!!(typeof window<`u`&&window.document&&window.document.createElement),cS=new Map,lS;typeof FinalizationRegistry<`u`&&(lS=new FinalizationRegistry(e=>{cS.delete(e)}));var uS=new WeakMap;function dS(e){let[t,n]=(0,x.useState)(e),r=(0,x.useRef)(null),i=tS(t),a=(0,x.useRef)(null),o=uS.get(a);if(lS&&o!==i&&(o!=null&&lS.unregister(a),lS.register(a,i,a),uS.set(a,i)),sS){let e=cS.get(i);e&&!e.includes(r)?e.push(r):cS.set(i,[r])}return qx(()=>{let e=i;return()=>{lS&&(lS.unregister(a),uS.delete(a)),cS.delete(e)}},[i]),(0,x.useEffect)(()=>{let e=r.current;return e&&n(e),()=>{e&&(r.current=null)}}),i}function fS(e,t){if(e===t)return e;let n=cS.get(e);if(n)return n.forEach(e=>e.current=t),t;let r=cS.get(t);return r?(r.forEach(t=>t.current=e),e):t}function pS(e=[]){let t=dS(),[n,r]=oS(t),i=(0,x.useCallback)(()=>{r(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,r]);return qx(i,[t,i,...e]),n}function mS(...e){return e.length===1&&e[0]?e[0]:t=>{let n=!1,r=e.map(e=>{let r=hS(e,t);return n||=typeof r==`function`,r});if(n)return()=>{r.forEach((t,n)=>{typeof t==`function`?t():hS(e[n],null)})}}}function hS(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function U(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let r=e[n];for(let e in r){let n=t[e],i=r[e];typeof n==`function`&&typeof i==`function`&&e[0]===`o`&&e[1]===`n`&&e.charCodeAt(2)>=65&&e.charCodeAt(2)<=90?t[e]=Kx(n,i):(e===`className`||e===`UNSAFE_className`)&&typeof n==`string`&&typeof i==`string`?t[e]=G_(n,i):e===`id`&&n&&i?t.id=fS(n,i):e===`ref`&&n&&i?t.ref=mS(n,i):t[e]=i===void 0?n:i}}return t}function gS(e){let t=(0,x.useRef)(null),n=(0,x.useRef)(void 0),r=(0,x.useCallback)(t=>{if(typeof e==`function`){let n=e,r=n(t);return()=>{typeof r==`function`?r():n(null)}}if(e)return e.current=t,()=>{e.current=null}},[e]);return(0,x.useMemo)(()=>({get current(){return t.current},set current(e){t.current=e,n.current&&=(n.current(),void 0),e!=null&&(n.current=r(e))}}),[r])}var _S=Symbol(`default`);function vS({values:e,children:t}){for(let[n,r]of e)t=x.createElement(n.Provider,{value:r},t);return t}function yS(e){let{className:t,style:n,children:r,defaultClassName:i,defaultChildren:a,defaultStyle:o,values:s,render:c}=e;return(0,x.useMemo)(()=>{let e,l,u;return e=typeof t==`function`?t({...s,defaultClassName:i}):t,l=typeof n==`function`?n({...s,defaultStyle:o||{}}):n,u=typeof r==`function`?r({...s,defaultChildren:a}):r??a,{className:e??i,style:l||o?{...o,...l}:void 0,children:u??a,"data-rac":``,render:c?e=>c(e,s):void 0}},[t,n,r,i,a,o,s,c])}function bS(e,t){return n=>t(typeof e==`function`?e(n):e,n)}function xS(e,t){let n=(0,x.useContext)(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||_S;if(!n.slots[e]){let e=new Intl.ListFormat().format(Object.keys(n.slots).map(e=>`"${e}"`)),r=t?`Invalid slot "${t}".`:`A slot prop is required.`;throw Error(`${r} Valid slot names are ${e}.`)}return n.slots[e]}return n}function SS(e,t,n){let{ref:r,...i}=xS(n,e.slot)||{},a=gS((0,x.useMemo)(()=>mS(t,r),[t,r])),o=U(i,e);return`style`in i&&i.style&&`style`in e&&e.style&&(o.style=typeof i.style==`function`||typeof e.style==`function`?t=>{let n=typeof i.style==`function`?i.style(t):i.style,r={...t.defaultStyle,...n},a=typeof e.style==`function`?e.style({...t,defaultStyle:r}):e.style;return{...r,...a}}:{...i.style,...e.style}),[o,a]}function CS(e=!0){let[t,n]=(0,x.useState)(e),r=(0,x.useRef)(!1),i=(0,x.useCallback)(e=>{r.current=!0,n(!!e)},[]);return qx(()=>{r.current||n(!1)},[]),[i,t]}function wS(e){let t=/^(data-.*)$/,n={};for(let r in e)t.test(r)||(n[r]=e[r]);return n}function TS(e,t,n){let{render:r,...i}=t,a=(0,x.useRef)(null),o=(0,x.useMemo)(()=>mS(n,a),[n,a]);qx(()=>{},[e,r]);let s={...i,ref:o};return r?r(s,void 0):x.createElement(e,s)}var ES={},W=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=ES[t];return n||(n=(0,x.forwardRef)(TS.bind(null,t)),ES[t]=n),n}}),DS=`react-aria-clear-focus`,OS=`react-aria-focus`,kS=e=>MS(e)?e.document:NS(e)?e:e?.ownerDocument??(typeof document<`u`?document:void 0),AS=e=>kS(e)?.defaultView??(typeof window<`u`?window:void 0);function jS(e){return typeof e==`object`&&!!e&&`nodeType`in e&&typeof e.nodeType==`number`}function MS(e){return typeof e==`object`&&!!e&&`window`in e&&e.window===e}function NS(e){return jS(e)&&e.nodeType===9}function PS(e){return jS(e)&&e.nodeType===11&&`host`in e}function FS(e,t,n,r){if(n==null||e==null)return()=>{};let i=Array.isArray(e)?e:[e];for(let e of i)e.addEventListener(t,n,r);return()=>{for(let e of i)e.removeEventListener(t,n,r)}}function IS(e,t,n,r){if(e==null)return()=>{};let i=[],a=Array.isArray(e)?e:[e];for(let e of a){let a=e.style.getPropertyValue(t),o=e.style.getPropertyPriority(t);e.style.setProperty(t,n,r),i.unshift(()=>{a?e.style.setProperty(t,a,o):e.style.removeProperty(t)})}return()=>{for(let e of i)e()}}var LS=!1;function RS(){return LS}function zS(e,t){if(!RS())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let n=t;for(;n!=null;){if(n===e)return!0;n=typeof n.assignedElements!=`function`&&n.assignedSlot?.parentNode?n.assignedSlot.parentNode:PS(n)?n.host:n.parentNode}return!1}var BS=(e=document)=>{if(!RS())return e.activeElement;let t=e.activeElement;for(;t&&`shadowRoot`in t&&t.shadowRoot?.activeElement;)t=t.shadowRoot.activeElement;return t};function G(e){if(RS()&&e.target instanceof Element&&e.target.shadowRoot){if(`composedPath`in e)return e.composedPath()[0]??null;if(`composedPath`in e.nativeEvent)return e.nativeEvent.composedPath()[0]??null}return e.target}function VS(e,t){if(t===null)return[];t??=AS(e);let n=[t];if(!RS()||!e||e===t)return n;let r=`getRootNode`in t?t.getRootNode():null,i=e.getRootNode()??null;for(;PS(i)&&i!==r;)n.push(i),i=i.host.getRootNode();return n}function HS(e){if(!e)return!1;let t=e.getRootNode(),n=AS(e);if(!(t instanceof n.Document||t instanceof n.ShadowRoot))return!1;let r=t.activeElement;return r!=null&&e.contains(r)}function US(e){let t=KS(kS(e));t!==e&&(t&&WS(t,e),e&&GS(e,t))}function WS(e,t){e.dispatchEvent(new FocusEvent(`blur`,{relatedTarget:t})),e.dispatchEvent(new FocusEvent(`focusout`,{bubbles:!0,relatedTarget:t}))}function GS(e,t){e.dispatchEvent(new FocusEvent(`focus`,{relatedTarget:t})),e.dispatchEvent(new FocusEvent(`focusin`,{bubbles:!0,relatedTarget:t}))}function KS(e){let t=BS(e),n=t?.getAttribute(`aria-activedescendant`);return n&&e.getElementById(n)||t}function qS(e){e.focus({preventScroll:!0})}var JS=typeof Element<`u`&&`checkVisibility`in Element.prototype;function YS(e){let t=AS(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:n,visibility:r}=e.style,i=n!==`none`&&r!==`hidden`&&r!==`collapse`;if(i){let{getComputedStyle:t}=AS(e),{display:n,visibility:r}=t(e);i=n!==`none`&&r!==`hidden`&&r!==`collapse`}return i}function XS(e,t){return!e.hasAttribute(`hidden`)&&!e.hasAttribute(`data-react-aria-prevent-focus`)&&(e.nodeName===`DETAILS`&&t&&t.nodeName!==`SUMMARY`?e.hasAttribute(`open`):!0)}function ZS(e,t){return JS?e.checkVisibility({visibilityProperty:!0})&&!e.closest(`[data-react-aria-prevent-focus]`):e.nodeName!==`#comment`&&YS(e)&&XS(e,t)&&(!e.parentElement||ZS(e.parentElement,e))}var QS=[`input:not([disabled]):not([type=hidden])`,`select:not([disabled])`,`textarea:not([disabled])`,`button:not([disabled])`,`a[href]`,`area[href]`,`summary`,`iframe`,`object`,`embed`,`audio[controls]`,`video[controls]`,`[contenteditable]:not([contenteditable^="false"])`,`permission`],$S=QS.join(`:not([hidden]),`)+`,[tabindex]:not([disabled]):not([hidden])`;QS.push(`[tabindex]:not([tabindex="-1"]):not([disabled])`);var eC=QS.join(`:not([hidden]):not([tabindex="-1"]),`);function tC(e,t){return e.matches($S)&&!rC(e)&&(t?.skipVisibilityCheck||ZS(e))}function nC(e){return e.matches(eC)&&ZS(e)&&!rC(e)}function rC(e){let t=e;for(;t!=null;){if(t instanceof AS(t).HTMLElement&&t.inert)return!0;t=t.parentElement}return!1}function iC(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function aC(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function oC(e){let t=(0,x.useRef)({isFocused:!1,observer:null});return qx(()=>{let e=t.current;return()=>{e.observer&&=(e.observer.disconnect(),null)}},[]),(0,x.useCallback)(n=>{let r=G(n);if(r instanceof HTMLButtonElement||r instanceof HTMLInputElement||r instanceof HTMLTextAreaElement||r instanceof HTMLSelectElement){t.current.isFocused=!0;let n=r;n.addEventListener(`focusout`,r=>{if(t.current.isFocused=!1,n.disabled){let t=iC(r);e?.(t)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&n.disabled){t.current.observer?.disconnect();let e=n===BS()?null:BS();n.dispatchEvent(new FocusEvent(`blur`,{relatedTarget:e})),n.dispatchEvent(new FocusEvent(`focusout`,{bubbles:!0,relatedTarget:e}))}}),t.current.observer.observe(n,{attributes:!0,attributeFilter:[`disabled`]})}},[e])}var sC=!1;function cC(e){for(;e&&!tC(e,{skipVisibilityCheck:!0});)e=e.parentElement;let t=BS(AS(e).document);if(!t||t===e)return;let n=e?.getRootNode(),r=n!=null&&PS(n)?n:AS(e),i=t=>t===e||jS(t)&&zS(e,t),a=e=>e===t||t!=null&&jS(e)&&zS(t,e);sC=!0;let o=!1,s=e=>{(a(G(e))||o)&&e.stopImmediatePropagation()},c=n=>{(a(G(n))||o)&&(n.stopImmediatePropagation(),!e&&!o&&(o=!0,qS(t),d()))},l=e=>{(i(G(e))||o)&&e.stopImmediatePropagation()},u=e=>{(i(G(e))||o)&&(e.stopImmediatePropagation(),o||(o=!0,qS(t),d()))};r.addEventListener(`blur`,s,!0),r.addEventListener(`focusout`,c,!0),r.addEventListener(`focusin`,u,!0),r.addEventListener(`focus`,l,!0);let d=()=>{cancelAnimationFrame(f),r.removeEventListener(`blur`,s,!0),r.removeEventListener(`focusout`,c,!0),r.removeEventListener(`focusin`,u,!0),r.removeEventListener(`focus`,l,!0),sC=!1,o=!1},f=requestAnimationFrame(d);return d}function lC(e){if(typeof window>`u`||window.navigator==null)return!1;let t=window.navigator.userAgentData?.brands;return Array.isArray(t)&&t.some(t=>e.test(t.brand))||e.test(window.navigator.userAgent)}function uC(e){return typeof window<`u`&&window.navigator!=null&&e.test(window.navigator.userAgentData?.platform||window.navigator.platform)}function dC(e){let t=null;return()=>(t??=e(),t)}var fC=dC(function(){return uC(/^Mac/i)}),pC=dC(function(){return uC(/^iPhone/i)}),mC=dC(function(){return uC(/^iPad/i)||fC()&&navigator.maxTouchPoints>1}),hC=dC(function(){return pC()||mC()}),gC=dC(function(){return fC()||hC()}),_C=dC(function(){return lC(/AppleWebKit/i)&&(hC()||!vC())}),vC=dC(function(){return lC(/Chrome|CriOS|CrMo/i)}),yC=dC(function(){return lC(/Android/i)});function bC(e){return e.pointerType===``&&e.isTrusted?!0:yC()&&e.pointerType?e.type===`click`&&e.buttons===1:e.detail===0&&!e.pointerType}function xC(e){return!yC()&&e.width===0&&e.height===0||yC()&&e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType===`mouse`}var SC=(0,x.createContext)({isNative:!0,open:OC,useHref:e=>e});function CC(e){let{children:t,navigate:n,useHref:r}=e,i=(0,x.useMemo)(()=>({isNative:!1,open:(e,t,r,i)=>{DC(e,e=>{TC(e,t)?n(r,i):EC(e,t)})},useHref:r||(e=>e)}),[n,r]);return x.createElement(SC.Provider,{value:i},t)}function wC(){return(0,x.useContext)(SC)}function TC(e,t){let n=e.getAttribute(`target`);return(!n||n===`_self`)&&e.origin===location.origin&&!e.hasAttribute(`download`)&&!t.metaKey&&!t.ctrlKey&&!t.altKey&&!t.shiftKey}function EC(e,t,n=!0){let{metaKey:r,ctrlKey:i,altKey:a,shiftKey:o}=t,s=_C()&&fC()&&!mC()?new KeyboardEvent(`keydown`,{keyIdentifier:`Enter`,metaKey:r,ctrlKey:i,altKey:a,shiftKey:o}):new MouseEvent(`click`,{metaKey:r,ctrlKey:i,altKey:a,shiftKey:o,detail:1,bubbles:!0,cancelable:!0});EC.isOpening=n,qS(e),e.dispatchEvent(s),EC.isOpening=!1}EC.isOpening=!1;function DC(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute(`data-href`)){let n=document.createElement(`a`);n.href=e.getAttribute(`data-href`),e.hasAttribute(`data-target`)&&(n.target=e.getAttribute(`data-target`)),e.hasAttribute(`data-rel`)&&(n.rel=e.getAttribute(`data-rel`)),e.hasAttribute(`data-download`)&&(n.download=e.getAttribute(`data-download`)),e.hasAttribute(`data-ping`)&&(n.ping=e.getAttribute(`data-ping`)),e.hasAttribute(`data-referrer-policy`)&&(n.referrerPolicy=e.getAttribute(`data-referrer-policy`)),e.appendChild(n),t(n),e.removeChild(n)}}function OC(e,t){DC(e,e=>EC(e,t))}function kC(e){let t=wC().useHref(e.href??``);return{"data-href":e.href?t:void 0,"data-target":e.target,"data-rel":e.rel,"data-download":e.download,"data-ping":e.ping,"data-referrer-policy":e.referrerPolicy}}function AC(e){let t=wC().useHref(e?.href??``),n={};if(e)for(let r of[`href`,`target`,`rel`,`download`,`ping`,`referrerPolicy`])r in e&&e[r]!==void 0&&(n[r]=r===`href`?t:e[r]);return n}function jC(e,t,n,r){!t.isNative&&e.currentTarget instanceof HTMLAnchorElement&&e.currentTarget.href&&!e.isDefaultPrevented()&&TC(e.currentTarget,e)&&n&&(e.preventDefault(),t.open(e.currentTarget,e,n,r))}var MC=null,NC=`keyboard`,PC=new Set,FC=new Map,IC=!1,LC=!1,RC={Tab:!0,Escape:!0};function zC(e,t){for(let n of PC)n(e,t)}function BC(e){return!(e.metaKey||!fC()&&e.altKey||e.ctrlKey||e.key===`Control`||e.key===`Shift`||e.key===`Meta`)}function VC(e){IC=!0,!EC.isOpening&&BC(e)&&(MC=`keyboard`,NC=`keyboard`,zC(`keyboard`,e))}function HC(e){MC=`pointer`,NC=`pointerType`in e?e.pointerType:`mouse`,(e.type===`mousedown`||e.type===`pointerdown`)&&(IC=!0,zC(`pointer`,e))}function UC(e){!EC.isOpening&&bC(e)&&(IC=!0,MC=`virtual`,NC=`virtual`)}function WC(e){if(sC)return;let t=G(e),n=AS(t),r=kS(t);t===n?LC=!0:t!==r&&e.isTrusted&&(!IC&&!LC&&(MC=`virtual`,NC=`virtual`,zC(`virtual`,e)),IC=!1,LC=!1)}function GC(){sC||(IC=!1,LC=!0)}function KC(e){let t=BS(kS(G(e)));queueMicrotask(()=>{BS(kS(G(e)))!==t&&ZC(`keyboard`)})}function qC(e){if(typeof window>`u`||typeof document>`u`)return;let t=AS(e),n=kS(e);if(FC.get(t))return;let r=t.HTMLElement.prototype.focus;Reflect.defineProperty(t.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:function(){IC=!0,r.apply(this,arguments)}}),n.addEventListener(`keydown`,VC,!0),n.addEventListener(`keyup`,VC,!0),n.addEventListener(`click`,UC,!0),n.addEventListener(`invalid`,KC,!0),t.addEventListener(`focus`,WC,!0),t.addEventListener(`blur`,GC,!1),typeof PointerEvent<`u`&&(n.addEventListener(`pointerdown`,HC,!0),n.addEventListener(`pointermove`,HC,!0),n.addEventListener(`pointerup`,HC,!0)),t.addEventListener(`beforeunload`,()=>{JC(e)},{once:!0}),FC.set(t,{focus:r})}var JC=(e,t)=>{let n=AS(e),r=kS(e);t&&r.removeEventListener(`DOMContentLoaded`,t),FC.has(n)&&(Reflect.defineProperty(n.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:FC.get(n).focus}),r.removeEventListener(`keydown`,VC,!0),r.removeEventListener(`keyup`,VC,!0),r.removeEventListener(`click`,UC,!0),r.removeEventListener(`invalid`,KC,!0),n.removeEventListener(`focus`,WC,!0),n.removeEventListener(`blur`,GC,!1),typeof PointerEvent<`u`&&(r.removeEventListener(`pointerdown`,HC,!0),r.removeEventListener(`pointermove`,HC,!0),r.removeEventListener(`pointerup`,HC,!0)),FC.delete(n))};function Pee(e){let t=kS(e),n;return t.readyState===`loading`?(n=()=>{qC(e)},t.addEventListener(`DOMContentLoaded`,n)):qC(e),()=>JC(e,n)}typeof document<`u`&&Pee();function YC(){return MC!==`pointer`}function XC(){return MC}function ZC(e){MC=e,NC=e===`pointer`?`mouse`:e,zC(e,null)}function Fee(){return NC}function QC(){qC();let[e,t]=(0,x.useState)(MC);return(0,x.useEffect)(()=>{let e=()=>{t(MC)};return PC.add(e),()=>{PC.delete(e)}},[]),aS()?null:e}var Iee=new Set([`checkbox`,`radio`,`range`,`color`,`file`,`image`,`button`,`submit`,`reset`]);function Lee(e,t,n){let r=n?G(n):void 0,i=kS(r),a=AS(r),o=a===void 0?HTMLInputElement:a.HTMLInputElement,s=a===void 0?HTMLTextAreaElement:a.HTMLTextAreaElement,c=a===void 0?HTMLElement:a.HTMLElement,l=a===void 0?KeyboardEvent:a.KeyboardEvent,u=BS(i);return e=e||u instanceof o&&!Iee.has(u.type)||u instanceof s||u instanceof c&&u.isContentEditable,!(e&&t===`keyboard`&&n instanceof l&&!RC[n.key])}function Ree(e,t,n){qC(),(0,x.useEffect)(()=>{if(n?.enabled===!1)return;let t=(t,r)=>{Lee(!!n?.isTextInput,t,r)&&e(YC())};return PC.add(t),()=>{PC.delete(t)}},t)}var $C={};$C={collectionLabel:`مقترحات`};var ew={};ew={collectionLabel:`Предложения`};var tw={};tw={collectionLabel:`Návrhy`};var nw={};nw={collectionLabel:`Forslag`};var rw={};rw={collectionLabel:`Empfehlungen`};var iw={};iw={collectionLabel:`Προτάσεις`};var aw={};aw={collectionLabel:`Suggestions`};var ow={};ow={collectionLabel:`Sugerencias`};var sw={};sw={collectionLabel:`Soovitused`};var cw={};cw={collectionLabel:`Ehdotukset`};var lw={};lw={collectionLabel:`Suggestions`};var uw={};uw={collectionLabel:`הצעות`};var dw={};dw={collectionLabel:`Prijedlozi`};var fw={};fw={collectionLabel:`Javaslatok`};var pw={};pw={collectionLabel:`Suggerimenti`};var mw={};mw={collectionLabel:`候補`};var hw={};hw={collectionLabel:`제안`};var gw={};gw={collectionLabel:`Pasiūlymai`};var _w={};_w={collectionLabel:`Ieteikumi`};var vw={};vw={collectionLabel:`Forslag`};var yw={};yw={collectionLabel:`Suggesties`};var bw={};bw={collectionLabel:`Sugestie`};var xw={};xw={collectionLabel:`Sugestões`};var Sw={};Sw={collectionLabel:`Sugestões`};var Cw={};Cw={collectionLabel:`Sugestii`};var ww={};ww={collectionLabel:`Предложения`};var Tw={};Tw={collectionLabel:`Návrhy`};var Ew={};Ew={collectionLabel:`Predlogi`};var Dw={};Dw={collectionLabel:`Predlozi`};var Ow={};Ow={collectionLabel:`Förslag`};var kw={};kw={collectionLabel:`Öneriler`};var Aw={};Aw={collectionLabel:`Пропозиції`};var jw={};jw={collectionLabel:`建议`};var Mw={};Mw={collectionLabel:`建議`};var Nw={};Nw={"ar-AE":$C,"bg-BG":ew,"cs-CZ":tw,"da-DK":nw,"de-DE":rw,"el-GR":iw,"en-US":aw,"es-ES":ow,"et-EE":sw,"fi-FI":cw,"fr-FR":lw,"he-IL":uw,"hr-HR":dw,"hu-HU":fw,"it-IT":pw,"ja-JP":mw,"ko-KR":hw,"lt-LT":gw,"lv-LV":_w,"nb-NO":vw,"nl-NL":yw,"pl-PL":bw,"pt-BR":xw,"pt-PT":Sw,"ro-RO":Cw,"ru-RU":ww,"sk-SK":Tw,"sl-SI":Ew,"sr-SP":Dw,"sv-SE":Ow,"tr-TR":kw,"uk-UA":Aw,"zh-CN":jw,"zh-TW":Mw};function Pw(e,t){let n=AS(t),r=kS(t);if(r==null||n==null)return;let i,a=`meta[name="${CSS.escape(e)}"], meta[property="${CSS.escape(e)}"]`,o=r.querySelector(a);return o&&o instanceof n.HTMLMetaElement&&(e===`csp-nonce`&&o.nonce&&(i??=o.nonce||void 0),o.content&&(i??=o.content||void 0)),e===`csp-nonce`&&(i??=n.__webpack_nonce__||globalThis.__webpack_nonce__||void 0),i}var Fw=100,Iw=600,Lw={isOpen:!1,screenWidth:0,screenHeight:0,screenAngle:0,screenTimeout:0,startTimeStamp:0,endTimeStamp:0,resizeTimeStamp:0,resizeTimeout:0},zee=new Set([`checkbox`,`radio`,`range`,`color`,`file`,`image`,`button`,`submit`,`reset`]);function Rw(){let e=Number(window.visualViewport?.width??window.innerWidth),t=Number(window.visualViewport?.height??window.innerHeight),n=Number(window.visualViewport?.scale??1);return{width:e*n,height:t*n,angle:window.screen.orientation?.angle??0}}function Bee(e){Lw.resizeTimeStamp<=e.timeStamp+50&&(Lw.resizeTimeStamp=e.timeStamp+150,window.clearTimeout(Lw.resizeTimeout),Lw.resizeTimeout=window.setTimeout(zw,150))}function zw(){let e=Pw(`viewport`);if(yC()&&e?.includes(`overlays-content`))return;let t=performance.now(),n=Rw(),r=t-Lw.startTimeStamp,i=Lw.screenHeight-n.height,a=Lw.screenAngle-n.angle;Math.abs(a)%180&&Lw.screenWidth-n.height<Fw&&(Lw.screenWidth=n.width,Lw.screenHeight=n.height,Lw.screenAngle=n.angle,i=0),r>Iw&&(window.clearTimeout(Lw.screenTimeout),Lw.screenTimeout=window.setTimeout(()=>{let e=Hw(document.hasFocus()?BS():null),t=Rw();Math.abs(Lw.screenAngle-t.angle)%180||Lw.isOpen&&e||(Lw.screenWidth=t.width,Lw.screenHeight=t.height,Lw.screenAngle=t.angle,Lw.isOpen=!1)},Iw)),r<=Iw&&i>=Fw&&(Lw.endTimeStamp=t),Lw.isOpen=i>=Fw}function Vee(){let e=Rw(),t=Lw.screenAngle-e.angle;if(Math.abs(t)%180&&!Lw.isOpen){let e=Lw.screenWidth;Lw.screenWidth=Lw.screenHeight,Lw.screenHeight=e}Lw.isOpen||(Lw.screenAngle=e.angle)}function Hee(e){let t=Hw(G(e)),n=performance.now(),r=Rw(),i=Lw.screenHeight-r.height;i<Fw&&t&&(Lw.screenWidth=r.width,Lw.screenHeight=r.height,Lw.screenAngle=r.angle,Lw.startTimeStamp=n),t&&window.clearTimeout(Lw.screenTimeout),i>=Fw&&t&&(Lw.endTimeStamp=n)}function Bw(){let e=Rw();FS(window.visualViewport,`resize`,_C()?zw:Bee),FS(window.screen.orientation,`change`,Vee),FS(window,`focus`,Hee,{capture:!0,passive:!0}),Lw.screenWidth=e.width,Lw.screenHeight=e.height,Lw.screenAngle=e.angle}typeof document<`u`&&(document.readyState===`loading`?FS(document,`DOMContentLoaded`,Bw):Bw());function Vw(){let e=Pw(`viewport`);return yC()&&e?.includes(`overlays-content`)?!1:Lw.isOpen?!0:Lw.startTimeStamp?Lw.endTimeStamp>=Lw.startTimeStamp?!0:performance.now()-Lw.startTimeStamp<=Iw?Lw.endTimeStamp>0||window.navigator.maxTouchPoints>0:!1:window.navigator.maxTouchPoints>0}function Hw(e){if(!(e instanceof Element)||!tC(e))return!1;let t=e instanceof HTMLTextAreaElement,n=e instanceof HTMLElement&&e.isContentEditable,r=e instanceof HTMLInputElement&&!zee.has(e.type);return t||n||r}function Uw(e){return fC()?e.metaKey:e.ctrlKey}function Ww(){return Lw.isOpen}var Gw=x.useInsertionEffect??qx;function Kw(e){let t=(0,x.useRef)(null);return Gw(()=>{t.current=e},[e]),(0,x.useCallback)((...e)=>{let n=t.current;return n?.(...e)},[])}function qw(e,t,n,r){let i=Kw(n),a=n==null;(0,x.useEffect)(()=>{if(!(a||e.current==null))return FS(e.current,t,i,r)},[e,t,r,a])}function Jw(e,t){let{id:n,"aria-label":r,"aria-labelledby":i}=e;return n=dS(n),i&&r?i=[...new Set([n,...i.trim().split(/\s+/)])].join(` `):i&&=i.trim().split(/\s+/).join(` `),!r&&!i&&t&&(r=t),{id:n,"aria-label":r,"aria-labelledby":i}}var Yw=new Set([`Arab`,`Syrc`,`Samr`,`Mand`,`Thaa`,`Mend`,`Nkoo`,`Adlm`,`Rohg`,`Hebr`]),Xw=new Set([`ae`,`ar`,`arc`,`bcc`,`bqi`,`ckb`,`dv`,`fa`,`glk`,`he`,`ku`,`mzn`,`nqo`,`pnb`,`ps`,`sd`,`ug`,`ur`,`yi`]);function Zw(e){if(Intl.Locale){let t=new Intl.Locale(e).maximize(),n=typeof t.getTextInfo==`function`?t.getTextInfo():t.textInfo;if(n)return n.direction===`rtl`;if(t.script)return Yw.has(t.script)}let t=e.split(`-`)[0];return Xw.has(t)}var Qw=Symbol.for(`react-aria.i18n.locale`);function $w(){let e=typeof window<`u`&&window[Qw]||typeof navigator<`u`&&(navigator.language||navigator.userLanguage)||`en-US`;try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e=`en-US`}return{locale:e,direction:Zw(e)?`rtl`:`ltr`}}var eT=$w(),tT=new Set;function nT(){eT=$w();for(let e of tT)e(eT)}function Uee(){let e=aS(),[t,n]=(0,x.useState)(eT);return(0,x.useEffect)(()=>(tT.size===0&&window.addEventListener(`languagechange`,nT),tT.add(n),()=>{tT.delete(n),tT.size===0&&window.removeEventListener(`languagechange`,nT)}),[]),e?{locale:typeof window<`u`&&window[Qw]||`en-US`,direction:`ltr`}:t}var Wee=x.createContext(null);function rT(){let e=Uee();return(0,x.useContext)(Wee)||e}var iT=Symbol.for(`react-aria.i18n.locale`),aT=Symbol.for(`react-aria.i18n.strings`),oT=void 0,sT=class e{constructor(e,t=`en-US`){this.strings=Object.fromEntries(Object.entries(e).filter(([,e])=>e)),this.defaultLocale=t}getStringForLocale(e,t){let n=this.getStringsForLocale(t)[e];if(!n)throw Error(`Could not find intl message ${e} in ${t} locale`);return n}getStringsForLocale(e){let t=this.strings[e];return t||(t=cT(e,this.strings,this.defaultLocale),this.strings[e]=t),t}static getGlobalDictionaryForPackage(t){if(typeof window>`u`)return null;let n=window[iT];if(oT===void 0){let t=window[aT];if(!t)return null;oT={};for(let r in t)oT[r]=new e({[n]:t[r]},n)}let r=oT?.[t];if(!r)throw Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return r}};function cT(e,t,n=`en-US`){if(t[e])return t[e];let r=lT(e),i=uT(e);if(i&&t[`${r}-${i}`])return t[`${r}-${i}`];if(t[r])return t[r];for(let e in t)if(e.startsWith(r+`-`))return t[e];return t[n]}function lT(e){return Intl.Locale?new Intl.Locale(e).language:e.split(`-`)[0]}function uT(e){if(Intl.Locale)return new Intl.Locale(e).script}var dT=new Map,fT=new Map,pT=class{constructor(e,t){this.locale=e,this.strings=t}format(e,t){let n=this.strings.getStringForLocale(e,this.locale);return typeof n==`function`?n(t,this):n}plural(e,t,n=`cardinal`){let r=t[`=`+e];if(r)return typeof r==`function`?r():r;let i=this.locale+`:`+n,a=dT.get(i);return a||(a=new Intl.PluralRules(this.locale,{type:n}),dT.set(i,a)),r=t[a.select(e)]||t.other,typeof r==`function`?r():r}number(e){let t=fT.get(this.locale);return t||(t=new Intl.NumberFormat(this.locale),fT.set(this.locale,t)),t.format(e)}select(e,t){let n=e[t]||e.other;return typeof n==`function`?n():n}},mT=new WeakMap;function hT(e){let t=mT.get(e);return t||(t=new sT(e),mT.set(e,t)),t}function gT(e,t){return t&&sT.getGlobalDictionaryForPackage(t)||hT(e)}function _T(e,t){let{locale:n}=rT(),r=gT(e,t);return(0,x.useMemo)(()=>new pT(n,r),[n,r])}function vT(e){return e&&e.__esModule?e.default:e}function yT(e,t){let{inputRef:n,collectionRef:r,filter:i,disableAutoFocusFirst:a=!1,disableVirtualFocus:o=!1}=e,s=dS(),c=(0,x.useRef)(void 0),l=(0,x.useRef)(!1),u=(0,x.useRef)(null),d=XC()===`virtual`&&(hC()||yC()),[f,p]=(0,x.useState)(!d&&!o),[m,h]=(0,x.useState)(!1),[g,_]=(0,x.useState)(!1);(0,x.useEffect)(()=>()=>clearTimeout(c.current),[]);let v=Kw(e=>{!e.isTrusted&&f&&n.current&&BS(kS(n.current))!==n.current&&Fee()!==`touch`&&n.current.focus();let i=G(e);!e.isTrusted&&i&&u.current!==i.id&&(clearTimeout(c.current),i===r.current?u.current&&!document.getElementById(u.current)&&(u.current=null,t.setFocusedNodeId(null)):l.current?(u.current=i.id,c.current=setTimeout(()=>{t.setFocusedNodeId(i.id)},500)):(u.current=i.id,t.setFocusedNodeId(i.id)),l.current=!1)}),[y,b]=(0,x.useState)(null),S=(0,x.useCallback)(e=>{b(e),e==null?h(!1):(e.getAttribute(`tabindex`)!=null&&p(!1),h(!0))},[]);qx(()=>(y?.addEventListener(`focusin`,v),()=>{y?.removeEventListener(`focusin`,v)}),[y]);let C=gS((0,x.useMemo)(()=>mS(r,S),[r,S])),w=(0,x.useCallback)(()=>{r.current?(l.current=!0,r.current?.dispatchEvent(new CustomEvent(OS,{cancelable:!0,bubbles:!0,detail:{focusStrategy:`first`}}))):_(!0)},[r]),T=(0,x.useCallback)(e=>{_(!1),US(BS()),u.current=null,t.setFocusedNodeId(null);let n=new CustomEvent(DS,{cancelable:!0,bubbles:!0,detail:{clearFocusKey:e}});clearTimeout(c.current),l.current=!1,r.current?.dispatchEvent(n)},[r,t]),E=(0,x.useRef)(``);qw(n,`beforeinput`,e=>{let{inputType:t}=e;E.current=t});let D=e=>{(E.current===`insertText`||E.current===`insertCompositionText`||E.current===`insertFromComposition`)&&!a?w():E.current&&(E.current.includes(`insert`)||E.current.includes(`delete`)||E.current.includes(`history`))&&(T(!0),KS(document)===n.current&&GS(n.current,null)),t.setInputValue(e)},O=(0,x.useRef)(null),k=e=>{if(O.current=G(e),e.nativeEvent.isComposing)return;let t=u.current;switch(t!==null&&kS(n.current).getElementById(t)==null&&(u.current=null,t=null),e.key){case`a`:if(Uw(e))return;break;case`Escape`:if(e.isDefaultPrevented())return;break;case` `:return;case`Tab`:`continuePropagation`in e&&e.continuePropagation();return;case`Home`:case`End`:case`PageDown`:case`PageUp`:case`ArrowUp`:case`ArrowDown`:case`ArrowRight`:case`ArrowLeft`:{if((e.key===`Home`||e.key===`End`)&&t==null&&e.shiftKey)return;if(e.key===`ArrowRight`||e.key===`ArrowLeft`){if(t==null){e.isPropagationStopped()||e.stopPropagation();return}break}e.preventDefault();let n=new CustomEvent(OS,{cancelable:!0,bubbles:!0});r.current?.dispatchEvent(n);break}}e.isPropagationStopped()||e.stopPropagation();let i=!0;if(r.current!==null){if(t==null)i=r.current?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type,e.nativeEvent))||!1;else{let n=document.getElementById(t);n&&(i=n?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type,e.nativeEvent))||!1)}}if(i)switch(e.key){case`ArrowLeft`:case`ArrowRight`:T();break;case`Enter`:t!=null&&document.getElementById(t)?.dispatchEvent(new PointerEvent(`click`,e.nativeEvent))}else e.preventDefault()},A=Kw(e=>{if(G(e)===O.current){e.stopImmediatePropagation();let t=u.current;t==null?r.current?.dispatchEvent(new KeyboardEvent(e.type,e)):document.getElementById(t)?.dispatchEvent(new KeyboardEvent(e.type,e))}});(0,x.useEffect)(()=>(document.addEventListener(`keyup`,A,!0),()=>{document.removeEventListener(`keyup`,A,!0)}),[]);let j=Jw({id:s,"aria-label":_T(vT(Nw),`@react-aria/autocomplete`).format(`collectionLabel`)}),M=(0,x.useCallback)((e,n)=>!i||i(e,t.inputValue,n),[t.inputValue,i]),ee=e=>{if(!e.isTrusted)return;let t=u.current?document.getElementById(u.current):null;t&&WS(t,e.relatedTarget)},N=e=>{if(e.isTrusted&&u.current&&document.getElementById(u.current)){let t=G(e);queueMicrotask(()=>{WS(t,r.current),GS(r.current,t)})}},P=e=>{e.button===0&&e.pointerType!==`touch`&&u.current!=null&&n.current!=null&&G(e)===n.current&&T()},te={value:t.inputValue,onChange:D},F={onKeyDown:k,"aria-activedescendant":t.focusedNodeId??void 0,onBlur:ee,onFocus:N,onPointerDown:P};return te={...te,...f&&m&&F,enterKeyHint:`go`,"aria-controls":m?s:void 0,"aria-autocomplete":`list`,autoCorrect:`off`,spellCheck:`false`,autoComplete:`off`},{inputProps:te,collectionProps:U(j,{shouldUseVirtualFocus:f,disallowTypeAhead:f,autoFocus:g?`first`:!1}),collectionRef:C,filter:i==null?void 0:M}}var bT=x.useInsertionEffect??x.useLayoutEffect;function xT(e,t,n){let[r,i]=(0,x.useState)(e||t),a=(0,x.useRef)(r),o=(0,x.useRef)(e!==void 0),s=e!==void 0;(0,x.useEffect)(()=>{o.current,o.current=s},[s]);let c=s?e:r;bT(()=>{a.current=c});let[,l]=(0,x.useReducer)(()=>({}),{});return[c,(0,x.useCallback)((e,...t)=>{let r=typeof e==`function`?e(a.current):e;Object.is(a.current,r)||(a.current=r,i(r),l(),n?.(r,...t))},[n])]}function ST(e){let{onInputChange:t,inputValue:n,defaultInputValue:r=``}=e,i=e=>{t&&t(e)},[a,o]=(0,x.useState)(null),[s,c]=xT(n,r,i);return{inputValue:s,setInputValue:c,focusedNodeId:a,setFocusedNodeId:o}}var Gee=(0,x.createContext)(null),Kee=(0,x.createContext)(null),CT=(0,x.createContext)(null),wT=(0,x.createContext)(null);function qee(e){e=U(xS(Gee,e.slot),e);let{filter:t,disableAutoFocusFirst:n}=e,r=ST(e),i=(0,x.useRef)(null),a=(0,x.useRef)(null),{inputProps:o,collectionProps:s,collectionRef:c,filter:l}=yT({...wS(e),filter:t,disableAutoFocusFirst:n,inputRef:i,collectionRef:a},r);return x.createElement(vS,{values:[[Kee,r],[wT,{...o,ref:i}],[CT,{...s,filter:l,ref:c}]]},e.children)}var TT=class{constructor(e){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=this.constructor.type,this.key=e}get childNodes(){throw Error(`childNodes is not supported`)}clone(){let e=new this.constructor(this.key);return e.value=this.value,e.level=this.level,e.hasChildNodes=this.hasChildNodes,e.rendered=this.rendered,e.textValue=this.textValue,e[`aria-label`]=this[`aria-label`],e.index=this.index,e.parentKey=this.parentKey,e.prevKey=this.prevKey,e.nextKey=this.nextKey,e.firstChildKey=this.firstChildKey,e.lastChildKey=this.lastChildKey,e.props=this.props,e.render=this.render,e.colSpan=this.colSpan,e.colIndex=this.colIndex,e}filter(e,t,n){let r=this.clone();return t.addDescendants(r,e),r}},ET=class extends TT{filter(e,t,n){let[r,i]=jT(e,t,this.firstChildKey,n),a=this.clone();return a.firstChildKey=r,a.lastChildKey=i,a}},Jee=class extends TT{static{this.type=`header`}},DT=class extends TT{static{this.type=`loader`}},OT=class extends ET{static{this.type=`item`}filter(e,t,n){if(n(this.textValue,this)){let n=this.clone();return t.addDescendants(n,e),n}return null}},kT=class extends ET{static{this.type=`section`}filter(e,t,n){let r=super.filter(e,t,n);if(r&&r.lastChildKey!==null){let t=e.getItem(r.lastChildKey);if(t&&t.type!==`header`)return r}return null}},AT=class{get size(){return this.itemCount}getKeys(){return this.keyMap.keys()}*[Symbol.iterator](){let e=this.firstKey==null?void 0:this.keyMap.get(this.firstKey);for(;e;)yield e,e=e.nextKey==null?void 0:this.keyMap.get(e.nextKey)}getChildren(e){let t=this.keyMap;return{*[Symbol.iterator](){let n=t.get(e),r=n?.firstChildKey==null?null:t.get(n.firstChildKey);for(;r;)yield r,r=r.nextKey==null?void 0:t.get(r.nextKey)}}}getKeyBefore(e){let t=this.keyMap.get(e);if(!t)return null;if(t.prevKey!=null){for(t=this.keyMap.get(t.prevKey);t&&t.type!==`item`&&t.lastChildKey!=null;)t=this.keyMap.get(t.lastChildKey);return t?.key??null}return t.parentKey}getKeyAfter(e){let t=this.keyMap.get(e);if(!t)return null;if(t.type!==`item`&&t.firstChildKey!=null)return t.firstChildKey;for(;t;){if(t.nextKey!=null)return t.nextKey;if(t.parentKey!=null)t=this.keyMap.get(t.parentKey);else return null}return null}getFirstKey(){return this.firstKey}getLastKey(){let e=this.lastKey==null?null:this.keyMap.get(this.lastKey);for(;e?.lastChildKey!=null;)e=this.keyMap.get(e.lastChildKey);return e?.key??null}getItem(e){return this.keyMap.get(e)??null}at(){throw Error(`Not implemented`)}clone(){let e=this.constructor,t=new e;return t.keyMap=new Map(this.keyMap),t.firstKey=this.firstKey,t.lastKey=this.lastKey,t.itemCount=this.itemCount,t}addNode(e){if(this.frozen)throw Error(`Cannot add a node to a frozen collection`);e.type===`item`&&this.keyMap.get(e.key)==null&&this.itemCount++,this.keyMap.set(e.key,e)}addDescendants(e,t){this.addNode(e);let n=t.getChildren(e.key);for(let e of n)this.addDescendants(e,t)}removeNode(e){if(this.frozen)throw Error(`Cannot remove a node to a frozen collection`);let t=this.keyMap.get(e);t!=null&&t.type===`item`&&this.itemCount--,this.keyMap.delete(e)}commit(e,t,n=!1){if(this.frozen)throw Error(`Cannot commit a frozen collection`);this.firstKey=e,this.lastKey=t,this.frozen=!n}filter(e){let t=new this.constructor,[n,r]=jT(this,t,this.firstKey,e);return t?.commit(n,r),t}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1,this.itemCount=0}};function jT(e,t,n,r){if(n==null)return[null,null];let i=null,a=null,o=e.getItem(n);for(;o!=null;){let n=o.filter(e,t,r);n!=null&&(n.nextKey=null,a&&(n.prevKey=a.key,a.nextKey=n.key),i??=n,t.addNode(n),a=n),o=o.nextKey==null?null:e.getItem(o.nextKey)}if(a&&a.type===`separator`){let e=a.prevKey;t.removeNode(a.key),e==null?a=null:(a=t.getItem(e),a.nextKey=null)}return[i?.key??null,a?.key??null]}var MT=class{constructor(e){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this._minInvalidChildIndex=null,this.ownerDocument=e}*[Symbol.iterator](){let e=this.firstChild;for(;e;)yield e,e=e.nextSibling}get firstChild(){return this._firstChild}set firstChild(e){this._firstChild=e,this.ownerDocument.markDirty(this)}get lastChild(){return this._lastChild}set lastChild(e){this._lastChild=e,this.ownerDocument.markDirty(this)}get previousSibling(){return this._previousSibling}set previousSibling(e){this._previousSibling=e,this.ownerDocument.markDirty(this)}get nextSibling(){return this._nextSibling}set nextSibling(e){this._nextSibling=e,this.ownerDocument.markDirty(this)}get parentNode(){return this._parentNode}set parentNode(e){this._parentNode=e,this.ownerDocument.markDirty(this)}get isConnected(){return this.parentNode?.isConnected||!1}invalidateChildIndices(e){(this._minInvalidChildIndex==null||!this._minInvalidChildIndex.isConnected||e.index<this._minInvalidChildIndex.index)&&(this._minInvalidChildIndex=e,this.ownerDocument.markDirty(this))}updateChildIndices(){let e=this._minInvalidChildIndex;for(;e;)e.index=e.previousSibling?e.previousSibling.index+1:0,e=e.nextSibling;this._minInvalidChildIndex=null}appendChild(e){e.parentNode&&e.parentNode.removeChild(e),this.firstChild??=e,this.lastChild?(this.lastChild.nextSibling=e,e.index=this.lastChild.index+1,e.previousSibling=this.lastChild):(e.previousSibling=null,e.index=0),e.parentNode=this,e.nextSibling=null,this.lastChild=e,this.ownerDocument.markDirty(this),this.isConnected&&this.ownerDocument.queueUpdate()}insertBefore(e,t){if(t==null)return this.appendChild(e);e.parentNode&&e.parentNode.removeChild(e),e.nextSibling=t,e.previousSibling=t.previousSibling,e.index=t.index-1,this.firstChild===t?this.firstChild=e:t.previousSibling&&(t.previousSibling.nextSibling=e),t.previousSibling=e,e.parentNode=t.parentNode,this.invalidateChildIndices(e),this.isConnected&&this.ownerDocument.queueUpdate()}removeChild(e){e.parentNode===this&&(this._minInvalidChildIndex===e&&(this._minInvalidChildIndex=null),e.nextSibling&&(this.invalidateChildIndices(e.nextSibling),e.nextSibling.previousSibling=e.previousSibling),e.previousSibling&&(e.previousSibling.nextSibling=e.nextSibling),this.firstChild===e&&(this.firstChild=e.nextSibling),this.lastChild===e&&(this.lastChild=e.previousSibling),e.parentNode=null,e.nextSibling=null,e.previousSibling=null,e.index=0,this.ownerDocument.markDirty(e),this.isConnected&&this.ownerDocument.queueUpdate())}addEventListener(){}removeEventListener(){}get previousVisibleSibling(){let e=this.previousSibling;for(;e&&e.isHidden;)e=e.previousSibling;return e}get nextVisibleSibling(){let e=this.nextSibling;for(;e&&e.isHidden;)e=e.nextSibling;return e}get firstVisibleChild(){let e=this.firstChild;for(;e&&e.isHidden;)e=e.nextSibling;return e}get lastVisibleChild(){let e=this.lastChild;for(;e&&e.isHidden;)e=e.previousSibling;return e}},NT=class e extends MT{constructor(e,t){super(t),this.nodeType=8,this.isMutated=!0,this._index=0,this.isHidden=!1,this.node=null}get index(){return this._index}set index(e){this._index=e,this.ownerDocument.markDirty(this)}get level(){return this.parentNode instanceof e?this.parentNode.level+ +(this.parentNode.node?.type===`item`):0}getMutableNode(){return this.node==null?null:(this.isMutated||=(this.node=this.node.clone(),!0),this.ownerDocument.markDirty(this),this.node)}updateNode(){let t=this.nextVisibleSibling,n=this.getMutableNode();if(n!=null&&(n.index=this.index,n.level=this.level,n.parentKey=this.parentNode instanceof e?this.parentNode.node?.key??null:null,n.prevKey=this.previousVisibleSibling?.node?.key??null,n.nextKey=t?.node?.key??null,n.hasChildNodes=!!this.firstChild,n.firstChildKey=this.firstVisibleChild?.node?.key??null,n.lastChildKey=this.lastVisibleChild?.node?.key??null,(n.colSpan!=null||n.colIndex!=null)&&t)){let e=(n.colIndex??n.index)+(n.colSpan??1);if(t.node!=null&&e!==t.node.colIndex){let n=t.getMutableNode();n.colIndex=e}}}setProps(e,t,n,r,i){let a,{value:o,textValue:s,id:c,...l}=e;if(this.node==null?(a=new n(c??`react-aria-${++this.ownerDocument.nodeId}`),this.node=a):a=this.getMutableNode(),l.ref=t,a.props=l,a.rendered=r,a.render=i,a.value=o,e[`aria-label`]&&(a[`aria-label`]=e[`aria-label`]),a.textValue=s||(typeof l.children==`string`?l.children:``)||e[`aria-label`]||``,c!=null&&c!==a.key)throw Error(`Cannot change the id of an item`);l.colSpan!=null&&(a.colSpan=l.colSpan),this.isConnected&&this.ownerDocument.queueUpdate()}get style(){let e=this;return{get display(){return e.isHidden?`none`:``},set display(t){let n=t===`none`;if(e.isHidden!==n){(e.parentNode?.firstVisibleChild===e||e.parentNode?.lastVisibleChild===e)&&e.ownerDocument.markDirty(e.parentNode);let t=e.previousVisibleSibling,r=e.nextVisibleSibling;t&&e.ownerDocument.markDirty(t),r&&e.ownerDocument.markDirty(r),e.isHidden=n,e.ownerDocument.markDirty(e)}}}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}},PT=class extends MT{constructor(e){super(null),this.nodeType=11,this.ownerDocument=this,this.dirtyNodes=new Set,this.isSSR=!1,this.nodeId=0,this.nodesByProps=new WeakMap,this.keyOwners=new Map,this.nextCollection=null,this.subscriptions=new Set,this.queuedRender=!1,this.inSubscription=!1,this.collection=e,this.nextCollection=e}get isConnected(){return!0}createElement(e){return new NT(e,this)}getMutableCollection(){return this.nextCollection||=this.collection.clone(),this.nextCollection}markDirty(e){this.dirtyNodes.add(e)}addNode(e){if(e.isHidden||e.node==null)return;let t=this.getMutableCollection();if(!t.getItem(e.node.key))for(let t of e)this.addNode(t);t.addNode(e.node)}removeNode(e){for(let t of e)this.removeNode(t);e.node&&this.getMutableCollection().removeNode(e.node.key)}getCollection(){return this.inSubscription||(this.queuedRender=!1,this.updateCollection()),this.collection}updateCollection(){for(let e of this.dirtyNodes)e instanceof NT&&(!e.isConnected||e.isHidden)?this.removeNode(e):e.updateChildIndices();for(let e of this.dirtyNodes)e instanceof NT?(e.isConnected&&!e.isHidden&&(e.updateNode(),this.addNode(e)),e.node&&this.dirtyNodes.delete(e),e.isMutated=!1):this.dirtyNodes.delete(e);this.nextCollection&&(this.nextCollection.commit(this.firstVisibleChild?.node?.key??null,this.lastVisibleChild?.node?.key??null,this.isSSR),this.isSSR||(this.collection=this.nextCollection,this.nextCollection=null))}queueUpdate(){if(!(this.dirtyNodes.size===0||this.queuedRender)){this.queuedRender=!0,this.inSubscription=!0,this.isSSR||(this.collection=this.collection.clone());for(let e of this.subscriptions)e();this.inSubscription=!1}}subscribe(e){return this.subscriptions.add(e),this.queuedRender&&e(),()=>this.subscriptions.delete(e)}resetAfterSSR(){this.isSSR&&(this.isSSR=!1,this.firstChild=null,this.lastChild=null,this.nodeId=0,this.keyOwners.clear())}};function FT(e){let{children:t,items:n,idScope:r,addIdAndValue:i,dependencies:a=[]}=e,o=(0,x.useMemo)(()=>void 0,[t]),s=(0,x.useMemo)(()=>new WeakMap,[...a,o]);return(0,x.useMemo)(()=>{if(n&&typeof t==`function`){let e=[];for(let a of n){let n=IT(a)?a:null,o=n?s.get(n):null;if(!o){o=t(a);let c=o.props.id??a?.key??a?.id;r!=null&&o.props.id==null&&c!=null&&(c=r+`:`+c);let l=c??e.length;o=(0,x.cloneElement)(o,i?{key:l,id:c,value:a}:{key:l}),n&&s.set(n,o)}e.push(o)}return e}if(typeof t!=`function`)return t},[t,n,s,r,i])}function IT(e){switch(typeof e){case`object`:return e!=null;case`function`:case`symbol`:return!0;default:return!1}}var LT=new Map,RT=new Set;function zT(e){return`propertyName`in e}function BT(e){let t=G(e);if(!zT(e)||!t)return;let n=LT.get(t);n||(n=new Set,LT.set(t,n),t.addEventListener(`transitioncancel`,VT,{once:!0})),n.add(e.propertyName)}function VT(e){let t=G(e);if(!zT(e)||!t)return;let n=LT.get(t);if(n&&(n.delete(e.propertyName),n.size===0&&(t.removeEventListener(`transitioncancel`,VT),LT.delete(t)),LT.size===0))for(let e of RT)e(!0),RT.delete(e)}function HT(){FS(document,`transitionrun`,BT),FS(document,`transitionend`,VT)}function UT(){for(let[e]of LT)`isConnected`in e&&!e.isConnected&&LT.delete(e)}typeof document<`u`&&(document.readyState===`loading`?FS(document,`DOMContentLoaded`,HT):HT());function WT(e){let t=window.requestAnimationFrame(()=>{if(UT(),LT.size===0)return e(!1);RT.add(e)});return()=>{window.cancelAnimationFrame(t),RT.delete(e)}}function GT(e){if(!e.isConnected)return;let t=kS(e);if(XC()===`virtual`){let n=BS(t);WT(()=>{let r=BS(t);(r===n||r===t.body)&&e.isConnected&&qS(e)})}else qS(e)}function KT(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:i}=e,a=(0,x.useCallback)(e=>{if(G(e)===e.currentTarget)return r&&r(e),i&&i(!1),!0},[r,i]),o=oC(a),s=(0,x.useCallback)(e=>{let t=G(e),r=kS(t),a=r?BS(r):BS();t===e.currentTarget&&t===a&&(n&&n(e),i&&i(!0),o(e))},[i,n,o]);return{focusProps:{onFocus:!t&&(n||i||r)?s:void 0,onBlur:!t&&(r||i)?a:void 0}}}function qT(e){if(e)return t=>{let n=!0;e({...t,preventDefault(){t.preventDefault()},isDefaultPrevented(){return t.isDefaultPrevented()},stopPropagation(){n=!0},continuePropagation(){n=!1,typeof t.continuePropagation==`function`&&t.continuePropagation()},isPropagationStopped(){return n}}),n&&!(typeof t.isPropagationStopped==`function`&&t.isPropagationStopped())&&t.stopPropagation()}}var JT=new Set([`shift`,`alt`,`control`,`meta`,`mod`]),YT=[`Alt`,`Control`,`Meta`,`Shift`];function XT(e){let t=new Set;return e.alt&&t.add(`Alt`),e.shift&&t.add(`Shift`),e.ctrl&&t.add(`Control`),e.meta&&t.add(`Meta`),e.mod&&t.add(fC()?`Meta`:`Control`),t}function ZT(e){let t=new Set;return e.altKey&&t.add(`Alt`),e.ctrlKey&&t.add(`Control`),e.metaKey&&t.add(`Meta`),e.shiftKey&&t.add(`Shift`),t}function QT(e){return YT.filter(t=>e.has(t))}function $T(e){let t=e.split(`+`).reduce((e,t)=>{let n=t.toLowerCase();return JT.has(n)?n===`shift`?e.shift=!0:n===`alt`?e.alt=!0:n===`control`?e.ctrl=!0:n===`meta`?e.meta=!0:n===`mod`&&(e.mod=!0):e.key=t,e},{shift:!1,alt:!1,ctrl:!1,meta:!1,mod:!1,key:``});if(t.key===``)throw Error(`Invalid keyboard shortcut: "${e}". Must include exactly one non-modifier key (e.g. "a", "Enter", "ArrowDown"). Combine any of Shift, Alt, Ctrl, Meta, and Mod.`);return t}function eE(e){return e.toLowerCase()}var tE={space:` `,esc:`escape`,del:`delete`,ins:`insert`,left:`arrowleft`,right:`arrowright`,up:`arrowup`,down:`arrowdown`,pageup:`pageup`,pagedown:`pagedown`};function nE(e){let t=eE(e);return tE[t]??t}function rE(e){let t=QT(XT(e)),n=nE(e.key);return t.length>0?`${t.join(`+`)}+${n}`:n}function iE(e){let t=QT(ZT(e)),n=eE(e.key);return(t.length>0?`${t.join(`+`)}+`:``)+n}function aE(e){let t=new Map;for(let[n,r]of Object.entries(e)){let e=$T(n);t.set(rE(e),r)}return e=>{let n=iE(e),r=t.get(n),i=r?.(e);i===void 0&&r!==void 0?i={shouldContinuePropagation:!1,shouldPreventDefault:!0}:typeof i==`boolean`&&(i={shouldContinuePropagation:!i,shouldPreventDefault:i}),i?.shouldPreventDefault&&e.preventDefault(),(!r||i?.shouldContinuePropagation)&&e.continuePropagation()}}function oE(e){let{shortcuts:t,allowRepeats:n=!1,allowComposing:r=!1}=e,i,a;if(t){let o=aE(t),s=qT(e=>{zS(e.currentTarget,G(e))?e.nativeEvent?.repeat&&!n||e.nativeEvent?.isComposing&&!r?e.continuePropagation():o(e):e.continuePropagation()}),c=qT(e=>{zS(e.currentTarget,G(e))&&(e.nativeEvent?.repeat&&!n||e.nativeEvent?.isComposing),e.continuePropagation()});i=e.onKeyDown?Kx(e.onKeyDown,s):s,a=e.onKeyUp?Kx(e.onKeyUp,c):c}else i=qT(e.onKeyDown),a=qT(e.onKeyUp);return{keyboardProps:e.isDisabled?{}:{onKeyDown:i,onKeyUp:a}}}function sE(e,t){qx(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}var cE=x.createContext(null);function lE(e){let t=(0,x.useContext)(cE)||{};sE(t,e);let{ref:n,...r}=t;return r}var uE=x.forwardRef(function(e,t){let{children:n,...r}=e,i=gS(t),a={...r,ref:i};return x.createElement(cE.Provider,{value:a},n)});function dE(e,t){let{focusProps:n}=KT(e),{keyboardProps:r}=oE(e),i=U(n,r),a=lE(t),o=e.isDisabled?{}:a,s=(0,x.useRef)(e.autoFocus);(0,x.useEffect)(()=>{s.current&&t.current&&GT(t.current),s.current=!1},[t]);let c=e.excludeFromTabOrder?-1:0;return e.isDisabled&&(c=void 0),{focusableProps:U({...i,tabIndex:c},o)}}typeof HTMLTemplateElement<`u`&&(Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.content.firstChild}}),Object.defineProperty(HTMLTemplateElement.prototype,"appendChild",{configurable:!0,enumerable:!0,value:function(e){return this.content.appendChild(e)}}),Object.defineProperty(HTMLTemplateElement.prototype,"removeChild",{configurable:!0,enumerable:!0,value:function(e){return this.content.removeChild(e)}}),Object.defineProperty(HTMLTemplateElement.prototype,"insertBefore",{configurable:!0,enumerable:!0,value:function(e,t){return this.content.insertBefore(e,t)}}));var fE=(0,x.createContext)(!1);function pE(e){if((0,x.useContext)(fE))return x.createElement(x.Fragment,null,e.children);let t=x.createElement(fE.Provider,{value:!0},e.children);return x.createElement(`template`,null,t)}function mE(e){let t=(t,n)=>(0,x.useContext)(fE)?null:e(t,n);return t.displayName=e.displayName||e.name,(0,x.forwardRef)(t)}function hE(){return(0,x.useContext)(fE)}var gE=o((e=>{var t=f();function n(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var r=typeof Object.is==`function`?Object.is:n,i=t.useState,a=t.useEffect,o=t.useLayoutEffect,s=t.useDebugValue;function c(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),c=r[0].inst,u=r[1];return o(function(){c.value=n,c.getSnapshot=t,l(c)&&u({inst:c})},[e,n,t]),a(function(){return l(c)&&u({inst:c}),e(function(){l(c)&&u({inst:c})})},[e]),s(n),n}function l(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!r(e,n)}catch{return!0}}function u(e,t){return t()}var d=typeof window>`u`||window.document===void 0||window.document.createElement===void 0?u:c;e.useSyncExternalStore=t.useSyncExternalStore===void 0?d:t.useSyncExternalStore})),_E=o(((e,t)=>{t.exports=gE()})),vE=c(g(),1),yE=_E(),bE=(0,x.createContext)(!1),xE=(0,x.createContext)(null);function SE(e){if((0,x.useContext)(xE))return e.content;let{collection:t,document:n}=EE(e.createCollection);return x.createElement(x.Fragment,null,x.createElement(pE,null,x.createElement(xE.Provider,{value:n},e.content)),x.createElement(CE,{render:e.children,collection:t}))}function CE({collection:e,render:t}){return t(e)}function wE(e,t,n){let r=aS(),i=(0,x.useRef)(r);i.current=r;let a=(0,x.useCallback)(()=>i.current?n():t(),[t,n]);return(0,yE.useSyncExternalStore)(e,a)}var TE=typeof x.useSyncExternalStore==`function`?x.useSyncExternalStore:wE;function EE(e){let[t]=(0,x.useState)(()=>new PT(e?.()||new AT));return{collection:TE((0,x.useCallback)(e=>t.subscribe(e),[t]),(0,x.useCallback)(()=>{let e=t.getCollection();return t.isSSR&&t.resetAfterSSR(),e},[t]),(0,x.useCallback)(()=>(t.isSSR=!0,t.getCollection()),[t])),document:t}}var DE=(0,x.createContext)(null);function OE(e){return class extends TT{static{this.type=e}}}function kE(e,t,n,r,i,a){typeof e==`string`&&(e=OE(e));let o=(0,x.useCallback)(i=>{i?.setProps(t,n,e,r,a)},[t,n,r,a,e]),s=(0,x.useContext)(DE);if(s){let o=s.ownerDocument.nodesByProps.get(t);return o||(o=s.ownerDocument.createElement(e.type),o.setProps(t,n,e,r,a),s.appendChild(o),s.ownerDocument.updateCollection(),s.ownerDocument.nodesByProps.set(t,o)),i?x.createElement(DE.Provider,{value:o},i):null}return x.createElement(e.type,{ref:o},i)}function AE(e,t){let n=({node:e})=>t(e.props,e.props.ref,e),r=(0,x.forwardRef)((r,i)=>{let a=(0,x.useContext)(cE);if(!(0,x.useContext)(bE)){if(t.length>=3)throw Error(t.name+` cannot be rendered outside a collection.`);return t(r,i)}return kE(e,r,i,`children`in r?r.children:null,null,e=>x.createElement(cE.Provider,{value:a},x.createElement(n,{node:e})))});return r.displayName=t.name,r}function jE(e,t,n=ME){let r=({node:e})=>t(e.props,e.props.ref,e),i=(0,x.forwardRef)((t,i)=>kE(e,t,i,null,n(t),e=>x.createElement(r,{node:e}))??x.createElement(x.Fragment,null));return i.displayName=t.name,i}function ME(e){return FT({...e,addIdAndValue:!0})}var NE=(0,x.createContext)(null);function PE(e){let t=(0,x.useContext)(NE),n=(t?.dependencies||[]).concat(e.dependencies),r=e.idScope??t?.idScope,i=ME({...e,idScope:r,dependencies:n});return(0,x.useContext)(xE)&&(i=x.createElement(Yee,null,i)),t=(0,x.useMemo)(()=>({dependencies:n,idScope:r}),[r,...n]),x.createElement(NE.Provider,{value:t},i)}function Yee({children:e}){let t=(0,x.useContext)(xE),n=(0,x.useMemo)(()=>x.createElement(xE.Provider,{value:null},x.createElement(bE.Provider,{value:!0},e)),[e]);return aS()?x.createElement(DE.Provider,{value:t},n):(0,vE.createPortal)(n,t)}var FE=(0,x.createContext)(null),IE={CollectionRoot({collection:e,renderDropIndicator:t}){return LE(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:n}){return LE(e,t,n)}};function LE(e,t,n){return FT({items:t?e.getChildren(t.key):e,dependencies:[n],children(t){if(t.type===`content`)return x.createElement(x.Fragment,null);let r=t.render(t);return!n||t.type!==`item`?r:x.createElement(x.Fragment,null,n({type:`item`,key:t.key,dropPosition:`before`}),r,Xee(e,t,n))}})}function Xee(e,t,n){let r=t.key,i=e.getKeyAfter(r),a=i==null?null:e.getItem(i);for(;a!=null&&a.type!==`item`;)i=e.getKeyAfter(a.key),a=i==null?null:e.getItem(i);let o=t.nextKey==null?null:e.getItem(t.nextKey);for(;o!=null&&o.type!==`item`;)o=o.nextKey==null?null:e.getItem(o.nextKey);let s=[];if(o==null){let r=t;for(;r?.type===`item`&&(!a||r.parentKey!==a.parentKey&&a.level<r.level);){let t=n({type:`item`,key:r.key,dropPosition:`after`});(0,x.isValidElement)(t)&&s.push((0,x.cloneElement)(t,{key:`${r.key}-after`})),r=r.parentKey==null?null:e.getItem(r.parentKey)}}return s}var RE=(0,x.createContext)(IE);function zE(e){return(0,x.useMemo)(()=>e==null?null:new Set([e]),[e])}var Zee=new Set([`id`]),Qee=new Set([`aria-label`,`aria-labelledby`,`aria-describedby`,`aria-details`]),$ee=new Set([`href`,`hrefLang`,`target`,`rel`,`download`,`ping`,`referrerPolicy`]),ete=new Set([`dir`,`lang`,`hidden`,`inert`,`translate`,`suppressHydrationWarning`]),BE=new Set(`onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart`.split(`.`)),tte=/^(data-.*)$/;function K(e,t={}){let{labelable:n,isLink:r,global:i,events:a=i,propNames:o}=t,s={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(Zee.has(t)||n&&Qee.has(t)||r&&$ee.has(t)||i&&ete.has(t)||a&&(BE.has(t)||t.endsWith(`Capture`)&&BE.has(t.slice(0,-7)))||o?.has(t)||tte.test(t))&&(s[t]=e[t]);return s}var VE=`default`,HE=``,UE=new WeakMap;function WE(e){if(hC()&&_C()){if(VE==="default"){let t=kS(e);HE=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect=`none`}VE=`disabled`}else if(e instanceof HTMLElement||e instanceof SVGElement){let t=`userSelect`in e.style?`userSelect`:`webkitUserSelect`;UE.set(e,e.style[t]),e.style[t]=`none`}}function GE(e){if(hC()&&_C()){if(VE!==`disabled`)return;VE=`restoring`,setTimeout(()=>{WT(()=>{if(VE===`restoring`){let t=kS(e);t.documentElement.style.webkitUserSelect===`none`&&(t.documentElement.style.webkitUserSelect=HE||``),HE=``,VE=`default`}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&UE.has(e)){let t=UE.get(e),n=`userSelect`in e.style?`userSelect`:`webkitUserSelect`;e.style[n]===`none`&&(e.style[n]=t),e.getAttribute(`style`)===``&&e.removeAttribute(`style`),UE.delete(e)}}var KE=new WeakMap;function qE(e){let t=kS(e),n=KE.get(t);return n??=Pw(`csp-nonce`,t),n!==void 0&&KE.set(t,n),n}var JE=x.createContext({register:()=>{}});JE.displayName=`PressResponderContext`;function YE(){let e=(0,x.useRef)(new Map),t=(0,x.useCallback)((t,n,r,i)=>{let a=i?.once?(...t)=>{e.current.delete(r),r(...t)}:r;e.current.set(r,{type:n,eventTarget:t,fn:a,options:i}),t.addEventListener(n,a,i)},[]),n=(0,x.useCallback)((t,n,r,i)=>{let a=e.current.get(r)?.fn||r;t.removeEventListener(n,a,i),e.current.delete(r)},[]),r=(0,x.useCallback)(()=>{e.current.forEach((e,t)=>{n(e.eventTarget,e.type,t,e.options)})},[n]);return(0,x.useEffect)(()=>r,[r]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:r}}function XE(e){let t=(0,x.useContext)(JE);if(t){let{register:n,ref:r,...i}=t;e=U(i,e),n()}return sE(t,e.ref),e}var ZE=class{#e;constructor(e,t,n,r){this.#e=!0;let i=(r?.target??n.currentTarget)?.getBoundingClientRect(),a,o=0,s,c=null;n.clientX!=null&&n.clientY!=null&&(s=n.clientX,c=n.clientY),i&&(s!=null&&c!=null?(a=s-i.left,o=c-i.top):(a=i.width/2,o=i.height/2)),this.type=e,this.pointerType=t,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey,this.x=a,this.y=o,this.key=n.key}continuePropagation(){this.#e=!1}get shouldStopPropagation(){return this.#e}},QE=Symbol(`linkClicked`),$E=`react-aria-pressable-style`,eD=`data-react-aria-pressable`;function tD(e){let{onPress:t,onPressChange:n,onPressStart:r,onPressEnd:i,onPressUp:a,onClick:o,isDisabled:s,isPressed:c,preventFocusOnPress:l,shouldCancelOnPointerExit:u,allowTextSelectionOnPress:d,ref:f,...p}=XE(e),[m,h]=(0,x.useState)(!1),g=(0,x.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:_,removeAllGlobalListeners:v}=YE(),y=(0,x.useCallback)((e,t)=>{let i=g.current;if(s||i.didFirePressStart)return!1;let a=!0;if(i.isTriggeringEvent=!0,r){let n=new ZE(`pressstart`,t,e);r(n),a=n.shouldStopPropagation}return n&&n(!0),i.isTriggeringEvent=!1,i.didFirePressStart=!0,h(!0),a},[s,r,n]),b=(0,x.useCallback)((e,r,a=!0)=>{let o=g.current;if(!o.didFirePressStart)return!1;o.didFirePressStart=!1,o.isTriggeringEvent=!0;let c=!0;if(i){let t=new ZE(`pressend`,r,e);i(t),c=t.shouldStopPropagation}if(n&&n(!1),h(!1),t&&a&&!s){let n=new ZE(`press`,r,e);t(n),c&&=n.shouldStopPropagation}return o.isTriggeringEvent=!1,c},[s,i,n,t]),S=Kw(b),C=Kw((0,x.useCallback)((e,t)=>{let n=g.current;if(s)return!1;if(a){n.isTriggeringEvent=!0;let r=new ZE(`pressup`,t,e);return a(r),n.isTriggeringEvent=!1,r.shouldStopPropagation}return!0},[s,a])),w=(0,x.useCallback)(e=>{let t=g.current;if(t.isPressed&&t.target){t.didFirePressStart&&t.pointerType!=null&&b(iD(t.target,e),t.pointerType,!1),t.isPressed=!1,t.isOverTarget=!1,t.activePointerId=null,t.pointerType=null,v(),d||GE(t.target);for(let e of t.disposables)e();t.disposables=[]}},[d,v,b]),T=Kw(w);(0,x.useEffect)(()=>{s&&g.current.isPressed&&T({currentTarget:g.current.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})},[s]);let E=(0,x.useCallback)(e=>{u&&w(e)},[u,w]),D=(0,x.useCallback)(e=>{s||o?.(e)},[s,o]),O=(0,x.useCallback)((e,t)=>{if(!s&&o){let n=new MouseEvent(`click`,e);aC(n,t),o(iC(n))}},[s,o]),k=(0,x.useMemo)(()=>{let e=g.current,t={onKeyDown(t){if(rD(t.nativeEvent,t.currentTarget)&&zS(t.currentTarget,G(t))){oD(G(t),t.key)&&t.preventDefault();let r=!0;!e.isPressed&&!t.repeat&&(e.target=t.currentTarget,e.isPressed=!0,e.pointerType=`keyboard`,r=y(t,`keyboard`));let i=t.currentTarget;_(kS(t.currentTarget),`keyup`,Kx(t=>{rD(t,i)&&!t.repeat&&zS(i,G(t))&&e.target&&C(iD(e.target,t),`keyboard`)},n),!0),r&&t.stopPropagation(),t.metaKey&&fC()&&e.metaKeyEvents?.set(t.key,t.nativeEvent)}else t.key===`Meta`&&(e.metaKeyEvents=new Map)},onClick(t){if((!t||zS(t.currentTarget,G(t)))&&t&&t.button===0&&!e.isTriggeringEvent&&!EC.isOpening){let n=!0;if(s&&t.preventDefault(),!e.ignoreEmulatedMouseEvents&&!e.isPressed&&(e.pointerType===`virtual`||bC(t.nativeEvent))){let e=y(t,`virtual`),r=C(t,`virtual`),i=S(t,`virtual`);D(t),n=e&&r&&i}else if(e.isPressed&&e.pointerType!==`keyboard`){let r=e.pointerType||t.nativeEvent.pointerType||`virtual`,i=C(iD(t.currentTarget,t),r),a=S(iD(t.currentTarget,t),r,!0);n=i&&a,e.isOverTarget=!1,D(t),T(t)}e.ignoreEmulatedMouseEvents=!1,n&&t.stopPropagation()}}},n=t=>{if(e.isPressed&&e.target&&rD(t,e.target)){oD(G(t),t.key)&&t.preventDefault();let n=G(t),r=zS(e.target,n);S(iD(e.target,t),`keyboard`,r),r&&O(t,e.target),v(),t.key!==`Enter`&&nD(e.target)&&zS(e.target,n)&&!t[QE]&&(t[QE]=!0,EC(e.target,t,!1)),e.isPressed=!1,e.metaKeyEvents?.delete(t.key)}else if(t.key===`Meta`&&e.metaKeyEvents?.size){let t=e.metaKeyEvents;e.metaKeyEvents=void 0;for(let n of t.values())e.target?.dispatchEvent(new KeyboardEvent(`keyup`,n))}};if(typeof PointerEvent<`u`){t.onPointerDown=t=>{if(t.button!==0||!zS(t.currentTarget,G(t)))return;if(xC(t.nativeEvent)){e.pointerType=`virtual`;return}e.pointerType=t.pointerType;let i=!0;if(!e.isPressed){e.isPressed=!0,e.isOverTarget=!0,e.activePointerId=t.pointerId,e.target=t.currentTarget,d||WE(e.target),i=y(t,e.pointerType);let a=G(t);`releasePointerCapture`in a&&(`hasPointerCapture`in a?a.hasPointerCapture(t.pointerId)&&a.releasePointerCapture(t.pointerId):a.releasePointerCapture(t.pointerId)),_(kS(t.currentTarget),`pointerup`,n,!1),_(kS(t.currentTarget),`pointercancel`,r,!1)}i&&t.stopPropagation()},t.onMouseDown=t=>{if(zS(t.currentTarget,G(t))&&t.button===0){if(l){let n=cC(t.target);n&&e.disposables.push(n)}t.stopPropagation()}},t.onPointerUp=t=>{zS(t.currentTarget,G(t))&&e.pointerType!==`virtual`&&t.button===0&&!e.isPressed&&C(t,e.pointerType||t.pointerType)},t.onPointerEnter=t=>{t.pointerId===e.activePointerId&&e.target&&!e.isOverTarget&&e.pointerType!=null&&(e.isOverTarget=!0,y(iD(e.target,t),e.pointerType))},t.onPointerLeave=t=>{t.pointerId===e.activePointerId&&e.target&&e.isOverTarget&&e.pointerType!=null&&(e.isOverTarget=!1,S(iD(e.target,t),e.pointerType,!1),E(t))};let n=t=>{if(t.pointerId===e.activePointerId&&e.isPressed&&t.button===0&&e.target){if(zS(e.target,G(t))&&e.pointerType!=null){let n=!1,r=setTimeout(()=>{e.isPressed&&e.target instanceof HTMLElement&&(n?T(t):(qS(e.target),e.target.click()))},80);_(t.currentTarget,`click`,()=>n=!0,!0),e.disposables.push(()=>clearTimeout(r))}else T(t);e.isOverTarget=!1}},r=e=>{T(e)};t.onDragStart=e=>{zS(e.currentTarget,G(e))&&T(e)}}return t},[_,s,l,v,d,E,y,D,O]);return(0,x.useEffect)(()=>{if(!f)return;let e=kS(f.current);if(!e||!e.head||e.getElementById($E))return;let t=e.createElement(`style`);t.id=$E;let n=qE(e);n&&(t.nonce=n),t.textContent=`
64
64
  @layer {
65
65
  [${eD}] {
66
66
  touch-action: pan-x pan-y pinch-zoom;
@@ -71,7 +71,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
71
71
  overscroll-behavior: contain;
72
72
  }
73
73
  }`,document.head.prepend(i);let o=e=>{e.touches.length===2||n||(!t||t===document.documentElement||t===document.body||t.scrollHeight===t.clientHeight&&t.scrollWidth===t.clientWidth)&&e.preventDefault()},s=gz(),c=Kx(FS(document,`touchstart`,r,{passive:!1,capture:!0}),FS(document,`touchmove`,o,{passive:!1,capture:!0}),hz());return()=>{e(),c(),i.remove(),s()}}function hz(){return FS(document,`blur`,e=>{let t=G(e),n=e.relatedTarget;n&&Hw(n)?n.focus():n||(t.parentElement?.closest(`[tabindex]`))?.focus({preventScroll:!0})},!0)}function gz(){let e=HTMLElement.prototype.focus;return Reflect.defineProperty(HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:function(t){if(e.call(this,{...t,preventScroll:!0}),!t||!t.preventScroll){let e=()=>{BS()===this&&_z(this)};sz(t=>t?e():cz(()=>e()))}}}),()=>{Reflect.defineProperty(HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:e})}}function _z(e){let t=document.scrollingElement||document.documentElement,n=e;for(;n&&n!==t&&n.isConnected;){let e=NA(n);if(e!==document.documentElement&&e!==document.body&&e!==n){let t=e.getBoundingClientRect(),r=n.getBoundingClientRect();if(r.top<t.top||r.bottom>t.top+n.clientHeight){let n=t.bottom;lz&&(n=Math.min(n,lz.offsetTop+lz.height));let i=r.top-t.top-((n-t.top)/2-r.height/2);e.scrollTo({top:Math.max(0,Math.min(e.scrollHeight-e.clientHeight,e.scrollTop+i)),behavior:`smooth`})}}n=e.parentElement}}function vz(e,t){let{triggerRef:n,popoverRef:r,groupRef:i,isNonModal:a,isKeyboardDismissDisabled:o,shouldCloseOnInteractOutside:s,...c}=e,l=c.trigger===`SubmenuTrigger`,{overlayProps:u,underlayProps:d}=QR({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!a||l,isKeyboardDismissDisabled:o,shouldCloseOnInteractOutside:s},i??r),{overlayProps:f,arrowProps:p,placement:m,triggerAnchorPoint:h}=KR({...c,targetRef:n,overlayRef:r,isOpen:t.isOpen,onClose:a&&!l?t.close:null,getTargetRect:c.getTargetRect??(t.point?()=>new DOMRect(t.point.x,t.point.y,0,0):void 0)});fz({isDisabled:a||!t.isOpen}),(0,x.useEffect)(()=>{if(t.isOpen&&r.current)return a?vR(i?.current??r.current):_R([i?.current??r.current],{shouldUseInert:!0})},[a,t.isOpen,r,i]);let{focusWithinProps:g}=uD(e);return{popoverProps:U(u,f,g),arrowProps:p,underlayProps:d,placement:m,triggerAnchorPoint:h}}var yz={};yz={dismiss:`تجاهل`};var bz={};bz={dismiss:`Отхвърляне`};var xz={};xz={dismiss:`Odstranit`};var Sz={};Sz={dismiss:`Luk`};var Cz={};Cz={dismiss:`Schließen`};var wz={};wz={dismiss:`Απόρριψη`};var Tz={};Tz={dismiss:`Dismiss`};var Ez={};Ez={dismiss:`Descartar`};var Dz={};Dz={dismiss:`Lõpeta`};var Oz={};Oz={dismiss:`Hylkää`};var kz={};kz={dismiss:`Rejeter`};var Az={};Az={dismiss:`התעלם`};var jz={};jz={dismiss:`Odbaci`};var Mz={};Mz={dismiss:`Elutasítás`};var Nz={};Nz={dismiss:`Ignora`};var Pz={};Pz={dismiss:`閉じる`};var Fz={};Fz={dismiss:`무시`};var Iz={};Iz={dismiss:`Atmesti`};var Lz={};Lz={dismiss:`Nerādīt`};var Rz={};Rz={dismiss:`Lukk`};var zz={};zz={dismiss:`Negeren`};var Bz={};Bz={dismiss:`Zignoruj`};var Vz={};Vz={dismiss:`Descartar`};var Hz={};Hz={dismiss:`Dispensar`};var Uz={};Uz={dismiss:`Revocare`};var Wz={};Wz={dismiss:`Пропустить`};var Gz={};Gz={dismiss:`Zrušiť`};var Kz={};Kz={dismiss:`Opusti`};var qz={};qz={dismiss:`Odbaci`};var Jz={};Jz={dismiss:`Avvisa`};var Yz={};Yz={dismiss:`Kapat`};var Xz={};Xz={dismiss:`Скасувати`};var Zz={};Zz={dismiss:`取消`};var Qz={};Qz={dismiss:`關閉`};var $z={};$z={"ar-AE":yz,"bg-BG":bz,"cs-CZ":xz,"da-DK":Sz,"de-DE":Cz,"el-GR":wz,"en-US":Tz,"es-ES":Ez,"et-EE":Dz,"fi-FI":Oz,"fr-FR":kz,"he-IL":Az,"hr-HR":jz,"hu-HU":Mz,"it-IT":Nz,"ja-JP":Pz,"ko-KR":Fz,"lt-LT":Iz,"lv-LV":Lz,"nb-NO":Rz,"nl-NL":zz,"pl-PL":Bz,"pt-BR":Vz,"pt-PT":Hz,"ro-RO":Uz,"ru-RU":Wz,"sk-SK":Gz,"sl-SI":Kz,"sr-SP":qz,"sv-SE":Jz,"tr-TR":Yz,"uk-UA":Xz,"zh-CN":Zz,"zh-TW":Qz};function eB(e){return e&&e.__esModule?e.default:e}function tB(e){let{onDismiss:t,...n}=e,r=Jw(n,_T(eB($z),`@react-aria/overlays`).format(`dismiss`)),i=()=>{t&&t()};return x.createElement(UA,null,x.createElement(`button`,{...r,tabIndex:-1,onClick:i,style:{width:1,height:1}}))}var nB=x.forwardRef(({children:e,...t},n)=>{let r=(0,x.useRef)(!1),i=(0,x.useContext)(JE),a=U(i||{},{...t,register(){r.current=!0,i&&i.register()}});return a.ref=gS(n||i?.ref),sE(i,a.ref),(0,x.useEffect)(()=>{r.current||=!0},[]),x.createElement(JE.Provider,{value:a},e)});function rB({children:e}){let t=(0,x.useMemo)(()=>({register:()=>{}}),[]);return x.createElement(JE.Provider,{value:t},e)}var iB=(0,x.createContext)({});function aB(e){let{getContainer:t}=e,{getContainer:n}=oB();return x.createElement(iB.Provider,{value:{getContainer:t===null?void 0:t??n}},e.children)}function oB(){return(0,x.useContext)(iB)??{}}var sB=x.createContext(null);function cB(e){let t=aS(),{portalContainer:n=t?null:document.body,isExiting:r}=e,[i,a]=(0,x.useState)(!1),o=(0,x.useMemo)(()=>({contain:i,setContain:a}),[i,a]),{getContainer:s}=oB();if(!e.portalContainer&&s&&(n=s()),!n)return null;let c=e.children;return e.disableFocusManagement||(c=x.createElement(qI,{restoreFocus:!0,contain:(e.shouldContainFocus||i)&&!r},c)),c=x.createElement(sB.Provider,{value:o},x.createElement(rB,null,x.createElement(cE.Provider,{value:null},c))),vE.createPortal(c,n)}function lB(){let e=(0,x.useContext)(sB)?.setContain;qx(()=>{e?.(!0)},[e])}function uB(e){let[t,n]=xT(e.isOpen,e.defaultOpen||!1,e.onOpenChange),[r,i]=(0,x.useState)(null);return{isOpen:t,setOpen:n,open:(0,x.useCallback)(()=>{n(!0)},[n]),close:(0,x.useCallback)(()=>{n(!1)},[n]),toggle:(0,x.useCallback)(()=>{n(!t)},[n,t]),point:r,setPoint:i}}function dB(e,t=!0,n){let[r,i]=(0,x.useState)(!0),a=r&&t;return qx(()=>{if(!t&&e.current)return Kx(IS(e.current,`opacity`,`0`),IS(e.current,`clip`,`rect(0 0 0 0)`),IS(e.current,`clip-path`,`inset(50%)`),IS(e.current,`mask-image`,`linear-gradient(#0000, #0000)`))},[e,t]),qx(()=>{if(a&&e.current&&`getAnimations`in e.current)for(let t of e.current.getAnimations())t instanceof CSSTransition&&t.cancel()},[e,a]),pB(e,a,n,(0,x.useCallback)(()=>i(!1),[])),a}function fB(e,t,n){let[r,i]=(0,x.useState)(t?`open`:`closed`);switch(r){case`open`:t||i(`exiting`);break;case`closed`:case`exiting`:t&&i(`open`)}let a=r===`exiting`;return pB(e,a,n,(0,x.useCallback)(()=>{i(e=>e===`exiting`?`closed`:e)},[])),a}function pB(e,t,n,r){let i=(0,x.useRef)(null),a=Kw(n);qx(()=>{if(t&&e.current&&i.current!==t){if(i.current=t,!(`getAnimations`in e.current)){r();return}let n=a?.(e.current),o=e.current.getAnimations().filter(e=>(typeof DocumentTimeline>`u`||e.timeline instanceof DocumentTimeline)&&e.playState===`running`);if(o.length===0&&!n){r();return}Promise.all([n,...o.map(e=>e.finished)]).then(()=>{(0,vE.flushSync)(()=>{r()})}).catch(()=>{})}i.current=t},[e,t,r])}var mB=(0,x.createContext)(null),hB=(0,x.createContext)(null),gB=(0,x.forwardRef)(function(e,t){[e,t]=SS(e,t,mB);let n=(0,x.useContext)(DV),r=uB(e),i=e.isOpen!=null||e.defaultOpen!=null||!n?r:n,a=fB(t,i.isOpen),o=e.isExiting||!e.shouldSkipAnimation&&a||!1,s=hE(),{direction:c}=rT();if(s){let t=e.children;return typeof t==`function`&&(t=t({trigger:e.trigger||null,placement:`bottom`,isEntering:!1,isExiting:!1,defaultChildren:null})),x.createElement(x.Fragment,null,t)}return i&&!i.isOpen&&!o?null:x.createElement(_B,{...e,triggerRef:e.triggerRef,state:i,popoverRef:t,isExiting:o,dir:c})});function _B({state:e,isExiting:t,UNSTABLE_portalContainer:n,clearContexts:r,...i}){let a=(0,x.useRef)(null),o=(0,x.useRef)(null),s=(0,x.useContext)(hB),c=s&&i.trigger===`SubmenuTrigger`,[l,u]=(0,x.useState)(!1),{popoverProps:d,underlayProps:f,arrowProps:p,placement:m,triggerAnchorPoint:h}=vz({...i,offset:i.offset??8,arrowRef:a,groupRef:c?s:o},e),g=i.popoverRef,_=dB(g,!!m&&l),v=i.isEntering||!i.shouldSkipAnimation&&_||!1,y=yS({...i,defaultClassName:`react-aria-Popover`,values:{trigger:i.trigger||null,placement:m,isEntering:v,isExiting:t}}),b=!i.isNonModal||i.trigger===`SubmenuTrigger`||i.trigger===`PreviewTrigger`,[S,C]=(0,x.useState)(i.trigger===`PreviewTrigger`);qx(()=>{g.current&&C(b&&!g.current.querySelector(`[role=dialog]`))},[g,b]),(0,x.useEffect)(()=>{S&&i.trigger!==`PreviewTrigger`&&(i.trigger!==`SubmenuTrigger`||XC()!==`pointer`)&&g.current&&!HS(g.current)&&GT(g.current)},[S,g,i.trigger]);let w=(0,x.useMemo)(()=>{let e=y.children;for(let t of[mB,...r??[]])e=x.createElement(t.Provider,{value:null},e);return e},[y.children,r]),[T,E]=(0,x.useState)(null),D=(0,x.useCallback)(()=>{i.triggerRef.current&&E(i.triggerRef.current.getBoundingClientRect().width+`px`)},[i.triggerRef]);qx(D,[D]),WR({ref:y.style?.[`--trigger-width`]?void 0:i.triggerRef,onResize:D});let O={...d.style,"--trigger-anchor-point":h?`${h.x}px ${h.y}px`:void 0,...y.style,"--trigger-width":y.style?.[`--trigger-width`]||T};qx(()=>sz(()=>u(!0)),[]);let k=x.createElement(W.div,{...U(K(i,{global:!0}),d),...y,id:S?i.id:void 0,role:S?`dialog`:void 0,tabIndex:S?-1:void 0,"aria-label":i[`aria-label`],"aria-labelledby":i[`aria-labelledby`],ref:g,slot:i.slot||void 0,style:O,dir:i.dir,"data-trigger":i.trigger,"data-placement":m,"data-entering":v||void 0,"data-exiting":t||void 0},!i.isNonModal&&x.createElement(tB,{onDismiss:e.close}),x.createElement(fR.Provider,{value:{...p,placement:m,ref:a}},w),x.createElement(tB,{onDismiss:e.close}));return c?x.createElement(cB,{...i,shouldContainFocus:S&&i.trigger!==`PreviewTrigger`,isExiting:t,portalContainer:n??s?.current??void 0},k):x.createElement(cB,{...i,shouldContainFocus:S&&i.trigger!==`PreviewTrigger`,isExiting:t,portalContainer:n},!i.isNonModal&&e.isOpen&&x.createElement(`div`,{"data-testid":`underlay`,...f,style:{position:`fixed`,inset:0}}),x.createElement(`div`,{ref:o,style:{display:`contents`}},x.createElement(hB.Provider,{value:o},k)))}var vB=(0,x.createContext)({}),yB={};yB={longPressMessage:`اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة`};var bB={};bB={longPressMessage:`Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто`};var xB={};xB={longPressMessage:`Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku`};var SB={};SB={longPressMessage:`Langt tryk eller tryk på Alt + pil ned for at åbne menuen`};var CB={};CB={longPressMessage:`Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen`};var wB={};wB={longPressMessage:`Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού`};var TB={};TB={longPressMessage:`Long press or press Alt + ArrowDown to open menu`};var EB={};EB={longPressMessage:`Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú`};var DB={};DB={longPressMessage:`Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool`};var OB={};OB={longPressMessage:`Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli`};var kB={};kB={longPressMessage:`Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu.`};var AB={};AB={longPressMessage:`לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט`};var jB={};jB={longPressMessage:`Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika`};var MB={};MB={longPressMessage:`Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához`};var NB={};NB={longPressMessage:`Premi a lungo o premi Alt + Freccia giù per aprire il menu`};var PB={};PB={longPressMessage:`長押しまたは Alt+下矢印キーでメニューを開く`};var FB={};FB={longPressMessage:`길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기`};var IB={};IB={longPressMessage:`Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“.`};var LB={};LB={longPressMessage:`Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa`};var RB={};RB={longPressMessage:`Langt trykk eller trykk Alt + PilNed for å åpne menyen`};var zB={};zB={longPressMessage:`Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen`};var BB={};BB={longPressMessage:`Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu`};var VB={};VB={longPressMessage:`Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu`};var HB={};HB={longPressMessage:`Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu`};var UB={};UB={longPressMessage:`Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul`};var WB={};WB={longPressMessage:`Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню`};var GB={};GB={longPressMessage:`Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol`};var KB={};KB={longPressMessage:`Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol`};var qB={};qB={longPressMessage:`Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni`};var JB={};JB={longPressMessage:`Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn`};var YB={};YB={longPressMessage:`Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın`};var XB={};XB={longPressMessage:`Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню`};var ZB={};ZB={longPressMessage:`长按或按 Alt + 向下方向键以打开菜单`};var QB={};QB={longPressMessage:`長按或按 Alt+向下鍵以開啟功能表`};var $B={};$B={"ar-AE":yB,"bg-BG":bB,"cs-CZ":xB,"da-DK":SB,"de-DE":CB,"el-GR":wB,"en-US":TB,"es-ES":EB,"et-EE":DB,"fi-FI":OB,"fr-FR":kB,"he-IL":AB,"hr-HR":jB,"hu-HU":MB,"it-IT":NB,"ja-JP":PB,"ko-KR":FB,"lt-LT":IB,"lv-LV":LB,"nb-NO":RB,"nl-NL":zB,"pl-PL":BB,"pt-BR":VB,"pt-PT":HB,"ro-RO":UB,"ru-RU":WB,"sk-SK":GB,"sl-SI":KB,"sr-SP":qB,"sv-SE":JB,"tr-TR":YB,"uk-UA":XB,"zh-CN":ZB,"zh-TW":QB};function eV(e){let{onContextMenu:t}=e,n=(0,x.useRef)(!1),{longPressProps:r}=SL({onLongPressStart(){n.current=!1},onLongPress(e){n.current?n.current=!1:t?.({target:e.target,x:e.x,y:e.y})}});return t?{contextMenuProps:U(hC()?r:{},{onContextMenu(e){e.stopPropagation(),e.preventDefault(),n.current=!0;let r=e.currentTarget.getBoundingClientRect();t({target:e.currentTarget,x:e.clientX-r.x,y:e.clientY-r.y})},onKeyDown(e){if(fC()&&e.ctrlKey&&e.key===`Enter`){n.current=!1;let r=e.currentTarget;e.stopPropagation(),setTimeout(()=>{if(n.current)n.current=!1;else{let e=r.getBoundingClientRect();t({target:r,x:e.width/2,y:e.height/2})}},10)}}})}:{contextMenuProps:{}}}function tV(e,t,n){let{type:r}=e,{isOpen:i}=t;(0,x.useEffect)(()=>{n&&n.current&&VR.set(n.current,t.close)});let a;r===`menu`?a=!0:r===`listbox`&&(a=`listbox`);let o=dS();return{triggerProps:{"aria-haspopup":a,"aria-expanded":i,"aria-controls":i?o:void 0,onPress:t.toggle},overlayProps:{id:o}}}function nV(e){return e&&e.__esModule?e.default:e}function rV(e,t,n){let{type:r=`menu`,isDisabled:i,trigger:a=`press`}=e,o=dS(),{triggerProps:s,overlayProps:c}=tV({type:r},t,n),l=(e,n,r=`first`)=>{if(!e||n.isDefaultPrevented())return!1;t.toggle(r)},{keyboardProps:u}=oE({isDisabled:i,shortcuts:{Enter:e=>l(a!==`longPress`,e,`first`)," ":e=>l(a!==`longPress`,e,`first`),ArrowDown:e=>l(a!==`longPress`,e,`first`),ArrowUp:e=>l(a!==`longPress`,e,`last`),"Alt+Enter":e=>l(a===`longPress`,e,`first`),"Alt+ ":e=>l(a===`longPress`,e,`first`),"Alt+ArrowDown":e=>l(!0,e,`first`),"Alt+ArrowUp":e=>l(!0,e,`last`)}}),d=_T(nV($B),`@react-aria/menu`),{longPressProps:f}=SL({isDisabled:i||a!==`longPress`,accessibilityDescription:d.format(`longPressMessage`),onLongPressStart(){t.close()},onLongPress(){t.open(`first`)}}),p={preventFocusOnPress:!0,onPressStart(e){e.pointerType!==`touch`&&e.pointerType!==`keyboard`&&!i&&(qS(e.target),t.open(e.pointerType===`virtual`?`first`:null))},onPress(e){e.pointerType===`touch`&&!i&&(qS(e.target),t.toggle())}};delete s.onPress;let{contextMenuProps:m}=eV({onContextMenu(e){let n=e.target.getBoundingClientRect();t.setPoint({x:n.x+e.x,y:n.y+e.y}),t.open()}});(0,x.useEffect)(()=>{if(t.isOpen&&a===`contextMenu`){let e=e=>{(e.button===2||e.button===0&&e.ctrlKey===!0)&&G(e)===document.body&&t.close()};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)}},[t,a]);let h;if(a===`press`)h={...p,...u};else if(a===`longPress`)h={...f,...u};else if(a===`contextMenu`){h=m;let{"aria-haspopup":e,"aria-expanded":t,"aria-controls":n,...r}=s;s=r}return{menuTriggerProps:{...s,...h,id:o},menuProps:{...c,"aria-labelledby":o,autoFocus:t.focusStrategy||!0,onClose:t.close}}}var iV=new WeakMap;function aV(e,t,n){let{shouldFocusWrap:r=!0,onKeyDown:i,onKeyUp:a,...o}=e;!e[`aria-label`]&&e[`aria-labelledby`];let s=K(e,{labelable:!0}),{listProps:c}=xL({...o,ref:n,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,shouldFocusWrap:r,linkBehavior:`override`});return iV.set(t,{onClose:e.onClose,onAction:e.onAction,shouldUseVirtualFocus:e.shouldUseVirtualFocus}),{menuProps:U(s,{onKeyDown:i,onKeyUp:a},{role:`menu`,...c,onKeyDown:t=>{(t.key!==`Escape`||e.shouldUseVirtualFocus)&&c.onKeyDown?.(t)}})}}function oV(e,t,n){let{id:r,key:i,closeOnSelect:a,shouldCloseOnSelect:o,isVirtualized:s,"aria-haspopup":c,onPressStart:l,onPressUp:u,onPress:d,onPressChange:f,onPressEnd:p,onClick:m,onHoverStart:h,onHoverChange:g,onHoverEnd:_,onKeyDown:v,onKeyUp:y,onFocus:b,onFocusChange:S,onBlur:C,selectionManager:w=t.selectionManager}=e,T=!!c,E=T&&e[`aria-expanded`]===`true`,D=e.isDisabled??w.isDisabled(i),O=e.isSelected??w.isSelected(i),k=iV.get(t),A=t.collection.getItem(i),j=e.onClose||k.onClose,M=wC(),ee=()=>{if(!T&&(A?.props?.onAction?A.props.onAction():e.onAction&&e.onAction(i),k.onAction)){let e=k.onAction;e(i,A?.value)}},N=`menuitem`;T||(w.selectionMode===`single`?N=`menuitemradio`:w.selectionMode===`multiple`&&(N=`menuitemcheckbox`));let P=pS(),te=pS(),F=pS(),ne={id:r,"aria-disabled":D||void 0,role:N,"aria-label":e[`aria-label`],"aria-labelledby":P,"aria-describedby":[e[`aria-describedby`],te,F].filter(Boolean).join(` `)||void 0,"aria-controls":e[`aria-controls`],"aria-haspopup":c,"aria-expanded":e[`aria-expanded`]};if(w.selectionMode!==`none`&&!T&&(ne[`aria-checked`]=O),s){let e=Number(A?.index);ne[`aria-posinset`]=Number.isNaN(e)?void 0:e+1,ne[`aria-setsize`]=NL(t.collection)}let re=(0,x.useRef)(!1),ie=e=>{f?.(e),re.current=e},ae=(0,x.useRef)(null),oe=e=>{e.pointerType!==`keyboard`&&(ae.current={pointerType:e.pointerType}),e.pointerType===`mouse`&&(re.current||e.target.click()),u?.(e)},se=e=>{m?.(e),ee(),jC(e,M,A.props.href,A?.props.routerOptions);let t=ae.current?.pointerType===`keyboard`?ae.current?.key===`Enter`||w.selectionMode===`none`||w.isLink(i):w.selectionMode!==`multiple`||w.isLink(i);t=o??a??t,j&&!T&&t&&j(),ae.current=null},{itemProps:ce,isFocused:le}=CL({id:r,selectionManager:w,key:i,ref:n,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:`none`,shouldUseVirtualFocus:k.shouldUseVirtualFocus}),{pressProps:ue,isPressed:de}=tD({onPressStart:l,onPress:d,onPressUp:oe,onPressChange:ie,onPressEnd:p,isDisabled:D}),{hoverProps:fe}=_D({isDisabled:D,onHoverStart(e){!YC()&&!(E&&c)&&(w.setFocused(!0),w.setFocusedKey(i)),h?.(e)},onHoverChange:g,onHoverEnd:_}),{keyboardProps:pe}=oE({shortcuts:{" ":e=>{ae.current={pointerType:`keyboard`,key:` `},G(e).click(),ZC(`keyboard`)},Enter:e=>{ae.current={pointerType:`keyboard`,key:`Enter`};let t=G(e);if(t.tagName!==`A`)t.click(),ZC(`keyboard`);else return ZC(`keyboard`),{shouldPreventDefault:!1,shouldContinuePropagation:!1}}},onKeyDown:v,onKeyUp:y}),{focusableProps:me}=dE({onBlur:C,onFocus:b,onFocusChange:S},n),I=K(A?.props);delete I.id;let he=AC(A?.props);return{menuItemProps:{...ne,...U(I,he,T?{onFocus:ce.onFocus,"data-collection":ce[`data-collection`],"data-key":ce[`data-key`]}:ce,ue,fe,pe,me,k.shouldUseVirtualFocus||T?{onMouseDown:e=>e.preventDefault()}:void 0,D?void 0:{onClick:se}),tabIndex:ce.tabIndex!=null&&E&&!k.shouldUseVirtualFocus?-1:ce.tabIndex},labelProps:{id:P},descriptionProps:{id:te},keyboardShortcutProps:{id:F},isFocused:le,isFocusVisible:le&&w.isFocused&&YC()&&!E,isSelected:O,isPressed:de,isDisabled:D}}function sV(e){let{heading:t,"aria-label":n}=e,r=dS();return{itemProps:{role:`presentation`},headingProps:t?{id:r,role:`presentation`}:{},groupProps:{role:`group`,"aria-label":n,"aria-labelledby":t?r:void 0}}}function cV(e){let t=uB(e),[n,r]=(0,x.useState)(null),[i,a]=(0,x.useState)([]),o=()=>{a([]),t.close()},s=(e,t)=>{a(n=>t>n.length?n:[...n.slice(0,t),e])},c=(e,t)=>{a(n=>n[t]===e?n.slice(0,t):n)};return{focusStrategy:n,...t,open(e=null){r(e),t.open()},toggle(e=null){r(e),t.toggle()},close(){o()},expandedKeysStack:i,openSubmenu:s,closeSubmenu:c}}var lV=class{constructor(e,{expandedKeys:t}={}){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=e,t||=new Set;let n=e=>{if(this.keyMap.set(e.key,e),e.childNodes&&(e.type===`section`||t.has(e.key)))for(let t of e.childNodes)n(t)};for(let t of e)n(t);let r=null,i=0;for(let[e,t]of this.keyMap)r?(r.nextKey=e,t.prevKey=r.key):(this.firstKey=e,t.prevKey=void 0),t.type===`item`&&(t.index=i++),r=t,r.nextKey=void 0;this.lastKey=r?.key??null}*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let t=this.keyMap.get(e);return t?t.prevKey??null:null}getKeyAfter(e){let t=this.keyMap.get(e);return t?t.nextKey??null:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(e){return this.keyMap.get(e)??null}at(e){let t=[...this.getKeys()];return this.getItem(t[e])}};function uV(e){let{onExpandedChange:t}=e,[n,r]=xT(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,t),i=LL(e),a=(0,x.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),o=WL(e,(0,x.useCallback)(e=>new lV(e,{expandedKeys:n}),[n]),null);return(0,x.useEffect)(()=>{i.focusedKey!=null&&!o.getItem(i.focusedKey)&&i.setFocusedKey(null)},[o,i.focusedKey]),{collection:o,expandedKeys:n,disabledKeys:a,toggleKey:e=>{r(dV(n,e))},setExpandedKeys:r,selectionManager:new zL(o,i)}}function dV(e,t){let n=new Set(e);return n.has(t)?n.delete(t):n.add(t),n}var fV=(0,x.createContext)(null),pV=(0,x.createContext)(null),mV=(0,x.createContext)(null),hV=(0,x.createContext)(null);function gV(e){let t=cV(e),n=(0,x.useRef)(null),{menuTriggerProps:r,menuProps:i}=rV({...e,type:`menu`},t,n),a=(0,x.useRef)(null);return hE()?null:x.createElement(vS,{values:[[fV,{...i,ref:a}],[DV,t],[mV,t],[mB,{trigger:`MenuTrigger`,triggerRef:n,scrollRef:a,placement:`bottom start`,"aria-labelledby":i[`aria-labelledby`],offset:e.trigger===`contextMenu`?0:void 0}]]},x.createElement(nB,{...r,ref:n,isPressed:t.isOpen},e.children))}var _V=(0,x.createContext)(null);(class extends TT{static{this.type=`submenutrigger`}filter(e,t,n){let r=e.getItem(this.firstChildKey);if(r&&n(r.textValue,this)){let n=this.clone();return t.addDescendants(n,e),n}return null}});var vV=(0,x.forwardRef)(function(e,t){return[e,t]=SS(e,t,fV),x.createElement(SE,{content:x.createElement(PE,e)},n=>x.createElement(yV,{props:e,collection:n,menuRef:t}))});function yV({props:e,collection:t,menuRef:n}){[e,n]=SS(e,n,CT);let{filter:r,...i}=e,a=(0,x.useMemo)(()=>r?t.filter(r):t,[t,r]),o=uV({...e,collection:a,children:void 0}),s=(0,x.useContext)(mV),{isVirtualized:c,CollectionRoot:l}=(0,x.useContext)(RE),{menuProps:u}=aV({...e,isVirtualized:c,onClose:e.onClose||s?.close},o,n),d=yS({...e,children:void 0,defaultClassName:`react-aria-Menu`,values:{isEmpty:o.collection.size===0}}),f=null;o.collection.size===0&&e.renderEmptyState&&(f=x.createElement(`div`,{role:`menuitem`,style:{display:`contents`}},e.renderEmptyState()));let p=K(e,{global:!0});return x.createElement(qI,null,x.createElement(W.div,{...U(p,d,u),ref:n,slot:e.slot||void 0,"data-empty":o.collection.size===0||void 0,onScroll:e.onScroll},x.createElement(vS,{values:[[pV,o],[BI,{elementType:`div`}],[FE,{name:`MenuSection`,render:xV}],[_V,{parentMenuRef:n,shouldUseVirtualFocus:i?.shouldUseVirtualFocus}],[CV,{shouldCloseOnSelect:e.shouldCloseOnSelect}],[CT,null],[wT,null],[hV,o.selectionManager],[mV,s??cV({})]]},x.createElement(LI,null,x.createElement(l,{collection:o.collection,persistedKeys:zE(o.selectionManager.focusedKey),scrollRef:n}))),f))}var bV=class extends zL{constructor(e,t){super(e.collection,t),this.parent=e}get focusedKey(){return this.parent.focusedKey}get isFocused(){return this.parent.isFocused}setFocusedKey(e,t){return this.parent.setFocusedKey(e,t)}setFocused(e){this.parent.setFocused(e)}get childFocusStrategy(){return this.parent.childFocusStrategy}};function xV(e,t,n,r=`react-aria-MenuSection`){let i=(0,x.useContext)(pV),{CollectionBranch:a}=(0,x.useContext)(RE),[o,s]=CS(),{headingProps:c,groupProps:l}=sV({heading:s,"aria-label":n.props[`aria-label`]??void 0}),u=yS({...e,id:void 0,children:void 0,defaultClassName:r,className:n.props?.className,style:n.props?.style,values:void 0}),d=(0,x.useContext)(hV),f=LL(e),p=e.selectionMode==null?d:new bV(d,f),m=xS(CV)?.shouldCloseOnSelect,h=K(e,{global:!0});return delete h.id,x.createElement(W.section,{...U(h,u,l),ref:t},x.createElement(vS,{values:[[PI,{...c,ref:o}],[hV,p],[CV,{shouldCloseOnSelect:e.shouldCloseOnSelect??m}]]},x.createElement(a,{collection:i.collection,parent:n})))}var SV=jE(kT,xV),CV=(0,x.createContext)(null),wV=AE(OT,function(e,t,n){[e,t]=SS(e,t,CV);let r=xS(CV)?.id,i=(0,x.useContext)(pV),a=gS(t),o=(0,x.useContext)(hV),{isVirtualized:s}=(0,x.useContext)(RE),{menuItemProps:c,labelProps:l,descriptionProps:u,keyboardShortcutProps:d,...f}=oV({...e,id:r,key:n.key,selectionManager:o,isVirtualized:s},i,a),{hoverProps:p,isHovered:m}=_D({isDisabled:f.isDisabled}),h=yS({...e,id:void 0,children:n.rendered,defaultClassName:`react-aria-MenuItem`,values:{...f,isHovered:m,isFocusVisible:f.isFocusVisible,selectionMode:o.selectionMode,selectionBehavior:o.selectionBehavior,hasSubmenu:!!e[`aria-haspopup`],isOpen:e[`aria-expanded`]===`true`}}),g=e.href?W.a:W.div,_=K(e,{global:!0});return delete _.id,delete _.onClick,x.createElement(g,{...U(_,h,c,p),ref:a,"data-disabled":f.isDisabled||void 0,"data-hovered":m||void 0,"data-focused":f.isFocused||void 0,"data-focus-visible":f.isFocusVisible||void 0,"data-pressed":f.isPressed||void 0,"data-selected":f.isSelected||void 0,"data-selection-mode":o.selectionMode===`none`?void 0:o.selectionMode,"data-has-submenu":!!e[`aria-haspopup`]||void 0,"data-open":e[`aria-expanded`]===`true`||void 0},x.createElement(vS,{values:[[aO,{slots:{[_S]:l,label:l,description:u}}],[vB,d],[RI,{isSelected:f.isSelected}]]},h.children))});AE(DT,function(e,t,n){let r=(0,x.useContext)(pV),{isLoading:i,onLoadMore:a,scrollOffset:o,...s}=e,c=(0,x.useRef)(null);JL((0,x.useMemo)(()=>({onLoadMore:a,collection:r?.collection,sentinelRef:c,scrollOffset:o}),[a,o,r?.collection]),c);let l=yS({...s,id:void 0,children:n.rendered,defaultClassName:`react-aria-MenuLoadingIndicator`,values:void 0});return x.createElement(x.Fragment,null,x.createElement(`div`,{style:{position:`relative`,width:0,height:0},inert:PL(!0)},x.createElement(`div`,{"data-testid":`loadMoreSentinel`,ref:c,style:{position:`absolute`,height:1,width:1}})),i&&l.children&&x.createElement(x.Fragment,null,x.createElement(W.div,{...U(K(e,{global:!0}),{tabIndex:-1}),...l,role:`menuitem`,ref:t},l.children)))});function TV(e,t){let{role:n=`dialog`,isEntering:r}=e,i=pS();i=e[`aria-label`]?void 0:i;let a=pS();a=n===`alertdialog`&&!e[`aria-describedby`]?a:void 0;let o=(0,x.useRef)(!1);(0,x.useEffect)(()=>{if(!r&&t.current&&!HS(t.current)){GT(t.current);let e=setTimeout(()=>{(BS()===t.current||BS()===document.body)&&(o.current=!0,t.current&&(t.current.blur(),GT(t.current)),o.current=!1)},500);return()=>{clearTimeout(e)}}},[t,r]),lB(),(0,x.useRef)(!1),(0,x.useEffect)(()=>{});let s=e[`aria-describedby`]??a;return{dialogProps:{...K(e,{labelable:!0}),role:n,tabIndex:-1,"aria-labelledby":e[`aria-labelledby`]??i,"aria-describedby":s,onBlur:e=>{o.current&&e.stopPropagation()}},titleProps:{id:i},contentProps:{id:a}}}var EV=(0,x.createContext)(null),DV=(0,x.createContext)(null);function OV(e){let t=cV(e),n=(0,x.useRef)(null),{triggerProps:r,overlayProps:i}=tV({type:`dialog`},t,n);return r.id=dS(),i[`aria-labelledby`]=r.id,hE()?null:x.createElement(vS,{values:[[DV,t],[mV,t],[EV,i],[mB,{trigger:`DialogTrigger`,triggerRef:n,id:i.id,"aria-labelledby":i[`aria-labelledby`]}]]},x.createElement(nB,{...r,ref:n,isPressed:t.isOpen},e.children))}var kV=(0,x.forwardRef)(function(e,t){let n=e[`aria-labelledby`];[e,t]=SS(e,t,EV);let{dialogProps:r,titleProps:i,contentProps:a}=TV({...e,"aria-labelledby":n},t),o=(0,x.useContext)(DV);!r[`aria-label`]&&!r[`aria-labelledby`]&&e[`aria-labelledby`]&&(r[`aria-labelledby`]=e[`aria-labelledby`]);let s=yS({defaultClassName:`react-aria-Dialog`,className:e.className,style:e.style,children:e.children,values:{close:o?.close||(()=>{})}}),c=K(e,{global:!0});return x.createElement(W.section,{...U(c,s,r),render:e.render,ref:t,slot:e.slot||void 0},x.createElement(vS,{values:[[rO,{slots:{[_S]:{},title:{...i,level:2}}}],[aO,{slots:{[_S]:{},description:a}}],[$D,{slots:{[_S]:{},close:{onPress:()=>o?.close()}}}]]},s.children))});function AV(e){let t=bL({usage:`search`,...e}),n=(0,x.useCallback)((e,n)=>n.length===0||(e=e.normalize(`NFC`),n=n.normalize(`NFC`),t.compare(e.slice(0,n.length),n)===0),[t]),r=(0,x.useCallback)((e,n)=>n.length===0||(e=e.normalize(`NFC`),n=n.normalize(`NFC`),t.compare(e.slice(-n.length),n)===0),[t]),i=(0,x.useCallback)((e,n)=>{if(n.length===0)return!0;e=e.normalize(`NFC`),n=n.normalize(`NFC`);let r=0,i=n.length;for(;r+i<=e.length;r++){let a=e.slice(r,r+i);if(t.compare(n,a)===0)return!0}return!1},[t]);return(0,x.useMemo)(()=>({startsWith:n,endsWith:r,contains:i}),[n,r,i])}function jV(e={}){let{locale:t}=rT();return(0,x.useMemo)(()=>new Intl.ListFormat(t,e),[t,e])}var MV=[`day`,`month`,`year`],NV={hour:1,minute:2,second:3};function PV(e,t){let{autoComplete:n,isDisabled:r,name:i}=e,{visuallyHiddenProps:a}=HA({style:{position:`fixed`,top:0,left:0}}),o=60;t.granularity===`second`?o=1:t.granularity===`hour`&&(o=3600);let s=``;t.value&&(s=t.granularity===`day`?IO(t.value).toString():LO(`timeZone`in t.value?nte(t.value):t.value).toString());let c=t.granularity===`day`?`date`:`datetime-local`,l=[`hour`,`minute`,`second`],u=0;return l.includes(t.granularity)&&(u=NV[t.granularity],l=l.slice(0,u)),{containerProps:{...a,"aria-hidden":!0,"data-react-aria-prevent-focus":!0,"data-a11y-ignore":`aria-hidden-focus`},inputProps:{tabIndex:-1,autoComplete:n,disabled:r,type:c,form:``,name:i,step:o,value:s,onChange:e=>{let n=G(e).value.toString();if(n)try{let e=fte(n);if(t.granularity===`day`&&(e=ik(n)),`setSegment`in t)for(let n in e)MV.includes(n)&&t.setSegment(n,e[n]),l.includes(n)&&t.setSegment(n,e[n]);t.setValue(e)}catch{}}}}}function FV(e){let{state:t}=e,{containerProps:n,inputProps:r}=PV({...e},t);return x.createElement(`div`,{...n,"data-testid":`hidden-dateinput-container`},x.createElement(`input`,r))}var IV={};IV={calendar:`التقويم`,day:`يوم`,dayPeriod:`ص/م`,endDate:`تاريخ الانتهاء`,era:`العصر`,hour:`الساعات`,minute:`الدقائق`,month:`الشهر`,second:`الثواني`,selectedDateDescription:e=>`\u{62A}\u{627}\u{631}\u{64A}\u{62E} \u{645}\u{62D}\u{62F}\u{62F}: ${e.date}`,selectedRangeDescription:e=>`\u{627}\u{644}\u{645}\u{62F}\u{649} \u{627}\u{644}\u{632}\u{645}\u{646}\u{64A} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}: ${e.startDate} \u{625}\u{644}\u{649} ${e.endDate}`,selectedTimeDescription:e=>`\u{627}\u{644}\u{648}\u{642}\u{62A} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}: ${e.time}`,startDate:`تاريخ البدء`,timeZoneName:`التوقيت`,weekday:`اليوم`,year:`السنة`};var LV={};LV={calendar:`Календар`,day:`ден`,dayPeriod:`пр.об./сл.об.`,endDate:`Крайна дата`,era:`ера`,hour:`час`,minute:`минута`,month:`месец`,second:`секунда`,selectedDateDescription:e=>`\u{418}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{430} \u{434}\u{430}\u{442}\u{430}: ${e.date}`,selectedRangeDescription:e=>`\u{418}\u{437}\u{431}\u{440}\u{430}\u{43D} \u{434}\u{438}\u{430}\u{43F}\u{430}\u{437}\u{43E}\u{43D}: ${e.startDate} \u{434}\u{43E} ${e.endDate}`,selectedTimeDescription:e=>`\u{418}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{43E} \u{432}\u{440}\u{435}\u{43C}\u{435}: ${e.time}`,startDate:`Начална дата`,timeZoneName:`часова зона`,weekday:`ден от седмицата`,year:`година`};var RV={};RV={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\xe9 datum: ${e.date}`,selectedRangeDescription:e=>`Vybran\xe9 obdob\xed: ${e.startDate} a\u{17E} ${e.endDate}`,selectedTimeDescription:e=>`Vybran\xfd \u{10D}as: ${e.time}`,startDate:`Počáteční datum`,timeZoneName:`časové pásmo`,weekday:`den v týdnu`,year:`rok`};var zV={};zV={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 BV={};BV={calendar:`Kalender`,day:`Tag`,dayPeriod:`Tageshälfte`,endDate:`Enddatum`,era:`Epoche`,hour:`Stunde`,minute:`Minute`,month:`Monat`,second:`Sekunde`,selectedDateDescription:e=>`Ausgew\xe4hltes Datum: ${e.date}`,selectedRangeDescription:e=>`Ausgew\xe4hlter Bereich: ${e.startDate} bis ${e.endDate}`,selectedTimeDescription:e=>`Ausgew\xe4hlte Zeit: ${e.time}`,startDate:`Startdatum`,timeZoneName:`Zeitzone`,weekday:`Wochentag`,year:`Jahr`};var VV={};VV={calendar:`Ημερολόγιο`,day:`ημέρα`,dayPeriod:`π.μ./μ.μ.`,endDate:`Ημερομηνία λήξης`,era:`περίοδος`,hour:`ώρα`,minute:`λεπτό`,month:`μήνας`,second:`δευτερόλεπτο`,selectedDateDescription:e=>`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3B7} \u{3B7}\u{3BC}\u{3B5}\u{3C1}\u{3BF}\u{3BC}\u{3B7}\u{3BD}\u{3AF}\u{3B1}: ${e.date}`,selectedRangeDescription:e=>`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3BF} \u{3B5}\u{3CD}\u{3C1}\u{3BF}\u{3C2}: ${e.startDate} \u{3AD}\u{3C9}\u{3C2} ${e.endDate}`,selectedTimeDescription:e=>`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3B7} \u{3CE}\u{3C1}\u{3B1}: ${e.time}`,startDate:`Ημερομηνία έναρξης`,timeZoneName:`ζώνη ώρας`,weekday:`καθημερινή`,year:`έτος`};var HV={};HV={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 UV={};UV={calendar:`Calendario`,day:`día`,dayPeriod:`a.\xA0m./p.\xA0m.`,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 WV={};WV={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\xe4ev: ${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 GV={};GV={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\xe4iv\xe4m\xe4\xe4r\xe4: ${e.date}`,selectedRangeDescription:e=>`Valittu aikav\xe4li: ${e.startDate} \u{2013} ${e.endDate}`,selectedTimeDescription:e=>`Valittu aika: ${e.time}`,startDate:`Alkamispäivä`,timeZoneName:`aikavyöhyke`,weekday:`viikonpäivä`,year:`vuosi`};var KV={};KV={calendar:`Calendrier`,day:`jour`,dayPeriod:`cadran`,endDate:`Date de fin`,era:`ère`,hour:`heure`,minute:`minute`,month:`mois`,second:`seconde`,selectedDateDescription:e=>`Date s\xe9lectionn\xe9e\xa0: ${e.date}`,selectedRangeDescription:e=>`Plage s\xe9lectionn\xe9e\xa0: ${e.startDate} au ${e.endDate}`,selectedTimeDescription:e=>`Heure choisie\xa0: ${e.time}`,startDate:`Date de début`,timeZoneName:`fuseau horaire`,weekday:`jour de la semaine`,year:`année`};var qV={};qV={calendar:`לוח שנה`,day:`יום`,dayPeriod:`לפנה״צ/אחה״צ`,endDate:`תאריך סיום`,era:`תקופה`,hour:`שעה`,minute:`דקה`,month:`חודש`,second:`שנייה`,selectedDateDescription:e=>`\u{5EA}\u{5D0}\u{5E8}\u{5D9}\u{5DA} \u{5E0}\u{5D1}\u{5D7}\u{5E8}: ${e.date}`,selectedRangeDescription:e=>`\u{5D8}\u{5D5}\u{5D5}\u{5D7} \u{5E0}\u{5D1}\u{5D7}\u{5E8}: ${e.startDate} \u{5E2}\u{5D3} ${e.endDate}`,selectedTimeDescription:e=>`\u{5D6}\u{5DE}\u{5DF} \u{5E0}\u{5D1}\u{5D7}\u{5E8}: ${e.time}`,startDate:`תאריך התחלה`,timeZoneName:`אזור זמן`,weekday:`יום בשבוע`,year:`שנה`};var JV={};JV={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 YV={};YV={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\xf6lt d\xe1tum: ${e.date}`,selectedRangeDescription:e=>`Kijel\xf6lt tartom\xe1ny: ${e.startDate}\u{2013}${e.endDate}`,selectedTimeDescription:e=>`Kijel\xf6lt id\u{151}: ${e.time}`,startDate:`Kezdő dátum`,timeZoneName:`időzóna`,weekday:`hét napja`,year:`év`};var XV={};XV={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 ZV={};ZV={calendar:`カレンダー`,day:`日`,dayPeriod:`午前/午後`,endDate:`終了日`,era:`時代`,hour:`時`,minute:`分`,month:`月`,second:`秒`,selectedDateDescription:e=>`\u{9078}\u{629E}\u{3057}\u{305F}\u{65E5}\u{4ED8} : ${e.date}`,selectedRangeDescription:e=>`\u{9078}\u{629E}\u{7BC4}\u{56F2} : ${e.startDate} \u{304B}\u{3089} ${e.endDate}`,selectedTimeDescription:e=>`\u{9078}\u{629E}\u{3057}\u{305F}\u{6642}\u{9593} : ${e.time}`,startDate:`開始日`,timeZoneName:`タイムゾーン`,weekday:`曜日`,year:`年`};var QV={};QV={calendar:`달력`,day:`일`,dayPeriod:`오전/오후`,endDate:`종료일`,era:`연호`,hour:`시`,minute:`분`,month:`월`,second:`초`,selectedDateDescription:e=>`\u{C120}\u{D0DD} \u{C77C}\u{C790}: ${e.date}`,selectedRangeDescription:e=>`\u{C120}\u{D0DD} \u{BC94}\u{C704}: ${e.startDate} ~ ${e.endDate}`,selectedTimeDescription:e=>`\u{C120}\u{D0DD} \u{C2DC}\u{AC04}: ${e.time}`,startDate:`시작일`,timeZoneName:`시간대`,weekday:`요일`,year:`년`};var $V={};$V={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 eH={};eH={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\u{12B}tais datums: ${e.date}`,selectedRangeDescription:e=>`Atlas\u{12B}tais diapazons: no ${e.startDate} l\u{12B}dz ${e.endDate}`,selectedTimeDescription:e=>`Atlas\u{12B}tais laiks: ${e.time}`,startDate:`Sākuma datums`,timeZoneName:`laika josla`,weekday:`nedēļas diena`,year:`gads`};var tH={};tH={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\xe5de: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tid: ${e.time}`,startDate:`Startdato`,timeZoneName:`tidssone`,weekday:`ukedag`,year:`år`};var nH={};nH={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 rH={};rH={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 iH={};iH={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 aH={};aH={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 oH={};oH={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\u{103} selectat\u{103}: ${e.date}`,selectedRangeDescription:e=>`Interval selectat: de la ${e.startDate} p\xe2n\u{103} la ${e.endDate}`,selectedTimeDescription:e=>`Ora selectat\u{103}: ${e.time}`,startDate:`Dată început`,timeZoneName:`fus orar`,weekday:`ziua din săptămână`,year:`an`};var sH={};sH={calendar:`Календарь`,day:`день`,dayPeriod:`AM/PM`,endDate:`Дата окончания`,era:`эра`,hour:`час`,minute:`минута`,month:`месяц`,second:`секунда`,selectedDateDescription:e=>`\u{412}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{430}\u{44F} \u{434}\u{430}\u{442}\u{430}: ${e.date}`,selectedRangeDescription:e=>`\u{412}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{44B}\u{439} \u{434}\u{438}\u{430}\u{43F}\u{430}\u{437}\u{43E}\u{43D}: \u{441} ${e.startDate} \u{43F}\u{43E} ${e.endDate}`,selectedTimeDescription:e=>`\u{412}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{43E}\u{435} \u{432}\u{440}\u{435}\u{43C}\u{44F}: ${e.time}`,startDate:`Дата начала`,timeZoneName:`часовой пояс`,weekday:`день недели`,year:`год`};var cH={};cH={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\xfd d\xe1tum: ${e.date}`,selectedRangeDescription:e=>`Vybrat\xfd rozsah: od ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Vybrat\xfd \u{10D}as: ${e.time}`,startDate:`Dátum začatia`,timeZoneName:`časové pásmo`,weekday:`deň týždňa`,year:`rok`};var lH={};lH={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\u{10D}je: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Izbrani \u{10D}as: ${e.time}`,startDate:`Datum začetka`,timeZoneName:`časovni pas`,weekday:`dan v tednu`,year:`leto`};var uH={};uH={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 dH={};dH={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 fH={};fH={calendar:`Takvim`,day:`gün`,dayPeriod:`ÖÖ/ÖS`,endDate:`Bitiş Tarihi`,era:`çağ`,hour:`saat`,minute:`dakika`,month:`ay`,second:`saniye`,selectedDateDescription:e=>`Se\xe7ilen Tarih: ${e.date}`,selectedRangeDescription:e=>`Se\xe7ilen Aral\u{131}k: ${e.startDate} - ${e.endDate}`,selectedTimeDescription:e=>`Se\xe7ilen Zaman: ${e.time}`,startDate:`Başlangıç Tarihi`,timeZoneName:`saat dilimi`,weekday:`haftanın günü`,year:`yıl`};var pH={};pH={calendar:`Календар`,day:`день`,dayPeriod:`дп/пп`,endDate:`Дата завершення`,era:`ера`,hour:`година`,minute:`хвилина`,month:`місяць`,second:`секунда`,selectedDateDescription:e=>`\u{412}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{430} \u{434}\u{430}\u{442}\u{430}: ${e.date}`,selectedRangeDescription:e=>`\u{412}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{438}\u{439} \u{434}\u{456}\u{430}\u{43F}\u{430}\u{437}\u{43E}\u{43D}: ${e.startDate} \u{2014} ${e.endDate}`,selectedTimeDescription:e=>`\u{412}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{438}\u{439} \u{447}\u{430}\u{441}: ${e.time}`,startDate:`Дата початку`,timeZoneName:`часовий пояс`,weekday:`день тижня`,year:`рік`};var mH={};mH={calendar:`日历`,day:`日`,dayPeriod:`上午/下午`,endDate:`结束日期`,era:`纪元`,hour:`小时`,minute:`分钟`,month:`月`,second:`秒`,selectedDateDescription:e=>`\u{9009}\u{5B9A}\u{7684}\u{65E5}\u{671F}\u{FF1A}${e.date}`,selectedRangeDescription:e=>`\u{9009}\u{5B9A}\u{7684}\u{8303}\u{56F4}\u{FF1A}${e.startDate} \u{81F3} ${e.endDate}`,selectedTimeDescription:e=>`\u{9009}\u{5B9A}\u{7684}\u{65F6}\u{95F4}\u{FF1A}${e.time}`,startDate:`开始日期`,timeZoneName:`时区`,weekday:`工作日`,year:`年`};var hH={};hH={calendar:`日曆`,day:`日`,dayPeriod:`上午/下午`,endDate:`結束日期`,era:`纪元`,hour:`小时`,minute:`分钟`,month:`月`,second:`秒`,selectedDateDescription:e=>`\u{9078}\u{5B9A}\u{7684}\u{65E5}\u{671F}\u{FF1A}${e.date}`,selectedRangeDescription:e=>`\u{9078}\u{5B9A}\u{7684}\u{7BC4}\u{570D}\u{FF1A}${e.startDate} \u{81F3} ${e.endDate}`,selectedTimeDescription:e=>`\u{9078}\u{5B9A}\u{7684}\u{6642}\u{9593}\u{FF1A}${e.time}`,startDate:`開始日期`,timeZoneName:`时区`,weekday:`工作日`,year:`年`};var gH={};gH={"ar-AE":IV,"bg-BG":LV,"cs-CZ":RV,"da-DK":zV,"de-DE":BV,"el-GR":VV,"en-US":HV,"es-ES":UV,"et-EE":WV,"fi-FI":GV,"fr-FR":KV,"he-IL":qV,"hr-HR":JV,"hu-HU":YV,"it-IT":XV,"ja-JP":ZV,"ko-KR":QV,"lt-LT":$V,"lv-LV":eH,"nb-NO":tH,"nl-NL":nH,"pl-PL":rH,"pt-BR":iH,"pt-PT":aH,"ro-RO":oH,"ru-RU":sH,"sk-SK":cH,"sl-SI":lH,"sr-SP":uH,"sv-SE":dH,"tr-TR":fH,"uk-UA":pH,"zh-CN":mH,"zh-TW":hH};function _H(e,t,n){let{direction:r}=rT(),i=(0,x.useMemo)(()=>oL(t),[t]),{keyboardProps:a}=oE({shortcuts:{"Alt+ArrowDown":()=>{if(`setOpen`in e)e.setOpen(!0);else return!1},"Alt+ArrowUp":()=>{if(`setOpen`in e)e.setOpen(!0);else return!1},ArrowLeft:e=>{if(n)return!1;if(r===`rtl`){if(t.current){let n=G(e),r=vH(t.current,n.getBoundingClientRect().left,-1);if(r){r.focus();return}}}else{i.focusPrevious();return}return!1},ArrowRight:e=>{if(n)return!1;if(r===`rtl`){if(t.current){let n=G(e),r=vH(t.current,n.getBoundingClientRect().left,1);if(r){r.focus();return}}}else{i.focusNext();return}return!1}},allowRepeats:!0}),o=()=>{if(!t.current)return;let e=window.event?G(window.event):null,n=aL(t.current,{tabbable:!0});if(e&&=(n.currentNode=e,n.previousNode()),!e){let t;do t=n.lastChild(),t&&(e=t);while(t)}for(;e?.hasAttribute(`data-placeholder`);){let t=n.previousNode();if(t&&t.hasAttribute(`data-placeholder`))e=t;else break}e&&e.focus()},{pressProps:s}=tD({preventFocusOnPress:!0,allowTextSelectionOnPress:!0,onPressStart(e){e.pointerType===`mouse`&&o()},onPress(e){(e.pointerType===`touch`||e.pointerType===`pen`)&&o()}});return U(s,a)}function vH(e,t,n){let r=aL(e,{tabbable:!0}),i=r.nextNode(),a=null,o=1/0;for(;i;){let e=i.getBoundingClientRect().left-t,s=Math.abs(e);Math.sign(e)===n&&s<o&&(a=i,o=s),i=r.nextNode()}return a}function yH(e){return e&&e.__esModule?e.default:e}var bH=new WeakMap,xH=`__reactAriaDateFieldRole`,SH=`__reactAriaDateFieldFocusManager`;function CH(e,t,n){let{isInvalid:r,validationErrors:i,validationDetails:a}=t.displayValidation,{labelProps:o,fieldProps:s,descriptionProps:c,errorMessageProps:l}=sj({...e,labelElementType:`span`,isInvalid:r,errorMessage:e.errorMessage||i}),u=(0,x.useRef)(null),{focusWithinProps:d}=uD({...e,onFocusWithin(n){u.current=t.value,e.onFocus?.(n)},onBlurWithin:n=>{t.confirmPlaceholder(),t.value!==u.current&&t.commitValidation(),e.onBlur?.(n)},onFocusWithinChange:e.onFocusChange}),f=_T(yH(gH),`@react-aria/datepicker`),p=t.maxGranularity===`hour`?`selectedTimeDescription`:`selectedDateDescription`,m=t.maxGranularity===`hour`?`time`:`date`,h=BA(t.value?f.format(p,{[m]:t.formatValue({month:`long`})}):``),g=e.__reactAriaDateFieldRole===`presentation`?s[`aria-describedby`]:[h[`aria-describedby`],s[`aria-describedby`]].filter(Boolean).join(` `)||void 0,_=e[SH],v=(0,x.useMemo)(()=>_||oL(n),[_,n]),y=_H(t,n,e[xH]===`presentation`);bH.set(t,{ariaLabel:e[`aria-label`],ariaLabelledBy:[o.id,e[`aria-labelledby`]].filter(Boolean).join(` `)||void 0,ariaDescribedBy:g,focusManager:v});let b=(0,x.useRef)(e.autoFocus),S;S=e.__reactAriaDateFieldRole===`presentation`?{role:`presentation`}:U(s,{role:`group`,"aria-disabled":e.isDisabled||void 0,"aria-describedby":g}),(0,x.useEffect)(()=>{b.current&&v.focusFirst(),b.current=!1},[v]),cj(e.inputRef,t.defaultValue,t.setValue),lj({...e,focus(){v.focusFirst()}},t,e.inputRef);let C={type:`hidden`,name:e.name,form:e.form,value:t.value?.toString()||``,disabled:e.isDisabled};e.validationBehavior===`native`&&(C.type=`text`,C.hidden=!0,C.required=e.isRequired,C.onChange=()=>{});let w=K(e);return{labelProps:{...o,onClick:()=>{v.focusFirst()}},fieldProps:U(w,S,y,d,{onKeyDown:e.onKeyDown,onKeyUp:e.onKeyUp,style:{unicodeBidi:`isolate`}}),inputProps:C,descriptionProps:c,errorMessageProps:l,isInvalid:r,validationErrors:i,validationDetails:a}}function wH(e){return e&&e.__esModule?e.default:e}function TH(){let{locale:e}=rT(),t=gT(wH(gH),`@react-aria/datepicker`);return(0,x.useMemo)(()=>{try{return new Intl.DisplayNames(e,{type:`dateTimeField`})}catch{return new EH(e,t)}},[e,t])}var EH=class{constructor(e,t){this.locale=e,this.dictionary=t}of(e){return this.dictionary.getStringForLocale(e,this.locale)}};function DH(e,t,n){let r=(0,x.useRef)(``),{locale:i,direction:a}=rT(),o=TH(),{ariaLabel:s,ariaLabelledBy:c,ariaDescribedBy:l,focusManager:u}=bH.get(t),d=e.isPlaceholder?``:e.text,f=(0,x.useMemo)(()=>t.dateFormatter.resolvedOptions(),[t.dateFormatter]),p=kA({month:`long`,timeZone:f.timeZone}),m=kA({hour:`numeric`,hour12:f.hour12,timeZone:f.timeZone});if(e.type===`month`&&!e.isPlaceholder){let e=p.format(t.dateValue);d=e===d?e:`${d} \u{2013} ${e}`}else e.type===`hour`&&!e.isPlaceholder&&(d=m.format(t.dateValue));let{spinButtonProps:h}=vP({value:e.value??void 0,textValue:d,minValue:e.minValue,maxValue:e.maxValue,isDisabled:t.isDisabled,isReadOnly:t.isReadOnly||!e.isEditable,isRequired:t.isRequired,onIncrement:()=>{r.current=``,t.increment(e.type)},onDecrement:()=>{r.current=``,t.decrement(e.type)},onIncrementPage:()=>{r.current=``,t.incrementPage(e.type)},onDecrementPage:()=>{r.current=``,t.decrementPage(e.type)},onIncrementToMax:()=>{r.current=``,t.incrementToMax(e.type)},onDecrementToMin:()=>{r.current=``,t.decrementToMin(e.type)}}),g=(0,x.useMemo)(()=>new AD(i,{maximumFractionDigits:0}),[i]),_=()=>{if(e.text===e.placeholder&&u.focusPrevious(),g.isValidPartialNumber(e.text)&&!t.isReadOnly&&!e.isPlaceholder){let n=e.text.slice(0,-1),i=g.parse(n);n=i===0?``:n,n.length===0||i===0?t.clearSegment(e.type):t.setSegment(e.type,i),r.current=n}else(e.type===`dayPeriod`||e.type===`era`)&&t.clearSegment(e.type)},{keyboardProps:v}=oE({shortcuts:{Backspace:()=>{_()},Delete:()=>{_()},"Mod+a":()=>{}},allowRepeats:!0}),{startsWith:y}=AV({sensitivity:`base`}),b=kA({hour:`numeric`,hour12:!0}),S=(0,x.useMemo)(()=>{let e=new Date;return e.setHours(0),b.formatToParts(e).find(e=>e.type===`dayPeriod`).value},[b]),C=(0,x.useMemo)(()=>{let e=new Date;return e.setHours(12),b.formatToParts(e).find(e=>e.type===`dayPeriod`).value},[b]),w=kA({year:`numeric`,era:`narrow`,timeZone:`UTC`}),T=(0,x.useMemo)(()=>{if(e.type!==`era`)return[];let n=RO(new lk(1,1,1),t.calendar),r=t.calendar.getEras().map(e=>{let t=n.set({year:1,month:1,day:1,era:e}).toDate(`UTC`);return{era:e,formatted:w.formatToParts(t).find(e=>e.type===`era`)?.value??e}}),i=OH(r.map(e=>e.formatted));if(i)for(let e of r)e.formatted=e.formatted.slice(i);return r},[w,t.calendar,e.type]),E=n=>{if(t.isDisabled||t.isReadOnly)return;let i=r.current+n;switch(e.type){case`dayPeriod`:if(y(S,n))t.setSegment(`dayPeriod`,0);else if(y(C,n))t.setSegment(`dayPeriod`,1);else break;u.focusNext();break;case`era`:{let e=T.find(e=>y(e.formatted,n));e&&(t.setSegment(`era`,e.era),u.focusNext());break}case`day`:case`hour`:case`minute`:case`second`:case`month`:case`year`:{if(!g.isValidPartialNumber(i))return;let a=g.parse(i),o=a;if(e.maxValue!==void 0&&a>e.maxValue&&(o=g.parse(n)),isNaN(a))return;t.setSegment(e.type,o),e.maxValue!==void 0&&(Number(a+`0`)>e.maxValue||i.length>=String(e.maxValue).length)?(r.current=``,u.focusNext()):r.current=i;break}}},D=()=>{r.current=``,n.current&&LA(n.current,{containingElement:NA(n.current)}),window.getSelection()?.collapse(n.current)};qw((0,x.useRef)(typeof document<`u`?document:null),`selectionchange`,()=>{let e=window.getSelection();e?.anchorNode&&zS(n.current,e?.anchorNode)&&BS()===n.current&&e.collapse(n.current)});let O=(0,x.useRef)(``);qw(n,`beforeinput`,r=>{if(n.current)switch(r.preventDefault(),r.inputType){case`deleteContentBackward`:case`deleteContentForward`:g.isValidPartialNumber(e.text)&&!t.isReadOnly&&_();break;case`insertCompositionText`:O.current=n.current.textContent,n.current.textContent=n.current.textContent;break;default:r.data!=null&&E(r.data)}}),qw(n,`input`,e=>{let{inputType:t,data:r}=e;t===`insertCompositionText`&&(n.current&&(n.current.textContent=O.current),r!=null&&(y(S,r)||y(C,r))&&E(r))}),qx(()=>{let e=n.current;return()=>{BS()===e&&(u.focusPrevious()||u.focusNext())}},[n,u]);let k=hC()||e.type===`timeZoneName`?{role:`textbox`,"aria-valuemax":null,"aria-valuemin":null,"aria-valuetext":null,"aria-valuenow":null}:{};e!==(0,x.useMemo)(()=>t.segments.find(e=>e.isEditable),[t.segments])&&!t.isInvalid&&(l=void 0);let A=dS(),j=!t.isDisabled&&!t.isReadOnly&&e.isEditable,M=Jw({"aria-label":`${e.type===`literal`?``:o.of(e.type)}${s?`, ${s}`:``}${c?`, `:``}`,"aria-labelledby":c});if(e.type===`literal`)return{segmentProps:{"aria-hidden":!0}};let ee={caretColor:`transparent`};if(a===`rtl`){ee.unicodeBidi=`embed`;let t=f[e.type];(t===`numeric`||t===`2-digit`)&&(ee.direction=`ltr`)}return{segmentProps:U(h,M,{id:A,...k,...v,"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:j,suppressContentEditableWarning:j,spellCheck:j?`false`:void 0,autoCorrect:j?`off`:void 0,enterKeyHint:j?`next`:void 0,inputMode:t.isDisabled||e.type===`dayPeriod`||e.type===`era`||!j?void 0:`numeric`,tabIndex:t.isDisabled?void 0:0,onFocus:D,style:ee,onPointerDown(e){e.stopPropagation()},onMouseDown(e){e.stopPropagation()}})}}function OH(e){e.sort();let t=e[0],n=e[e.length-1];for(let e=0;e<t.length;e++)if(t[e]!==n[e])return e;return 0}var kH={};kH={rangeOverflow:e=>`\u{64A}\u{62C}\u{628} \u{623}\u{646} \u{62A}\u{643}\u{648}\u{646} \u{627}\u{644}\u{642}\u{64A}\u{645}\u{629} ${e.maxValue} \u{623}\u{648} \u{642}\u{628}\u{644} \u{630}\u{644}\u{643}.`,rangeReversed:`تاريخ البدء يجب أن يكون قبل تاريخ الانتهاء.`,rangeUnderflow:e=>`\u{64A}\u{62C}\u{628} \u{623}\u{646} \u{62A}\u{643}\u{648}\u{646} \u{627}\u{644}\u{642}\u{64A}\u{645}\u{629} ${e.minValue} \u{623}\u{648} \u{628}\u{639}\u{62F} \u{630}\u{644}\u{643}.`,unavailableDate:`البيانات المحددة غير متاحة.`};var AH={};AH={rangeOverflow:e=>`\u{421}\u{442}\u{43E}\u{439}\u{43D}\u{43E}\u{441}\u{442}\u{442}\u{430} \u{442}\u{440}\u{44F}\u{431}\u{432}\u{430} \u{434}\u{430} \u{435} ${e.maxValue} \u{438}\u{43B}\u{438} \u{43F}\u{43E}-\u{440}\u{430}\u{43D}\u{43D}\u{430}.`,rangeReversed:`Началната дата трябва да е преди крайната.`,rangeUnderflow:e=>`\u{421}\u{442}\u{43E}\u{439}\u{43D}\u{43E}\u{441}\u{442}\u{442}\u{430} \u{442}\u{440}\u{44F}\u{431}\u{432}\u{430} \u{434}\u{430} \u{435} ${e.minValue} \u{438}\u{43B}\u{438} \u{43F}\u{43E}-\u{43A}\u{44A}\u{441}\u{43D}\u{43E}.`,unavailableDate:`Избраната дата не е налична.`};var jH={};jH={rangeOverflow:e=>`Hodnota mus\xed b\xfdt ${e.maxValue} nebo d\u{159}\xedv\u{11B}j\u{161}\xed.`,rangeReversed:`Datum zahájení musí předcházet datu ukončení.`,rangeUnderflow:e=>`Hodnota mus\xed b\xfdt ${e.minValue} nebo pozd\u{11B}j\u{161}\xed.`,unavailableDate:`Vybrané datum není k dispozici.`};var MH={};MH={rangeOverflow:e=>`V\xe6rdien skal v\xe6re ${e.maxValue} eller tidligere.`,rangeReversed:`Startdatoen skal være før slutdatoen.`,rangeUnderflow:e=>`V\xe6rdien skal v\xe6re ${e.minValue} eller nyere.`,unavailableDate:`Den valgte dato er ikke tilgængelig.`};var NH={};NH={rangeOverflow:e=>`Der Wert muss ${e.maxValue} oder fr\xfcher sein.`,rangeReversed:`Das Startdatum muss vor dem Enddatum liegen.`,rangeUnderflow:e=>`Der Wert muss ${e.minValue} oder sp\xe4ter sein.`,unavailableDate:`Das ausgewählte Datum ist nicht verfügbar.`};var PH={};PH={rangeOverflow:e=>`\u{397} \u{3C4}\u{3B9}\u{3BC}\u{3AE} \u{3C0}\u{3C1}\u{3AD}\u{3C0}\u{3B5}\u{3B9} \u{3BD}\u{3B1} \u{3B5}\u{3AF}\u{3BD}\u{3B1}\u{3B9} ${e.maxValue} \u{3AE} \u{3C0}\u{3B1}\u{3BB}\u{3B1}\u{3B9}\u{3CC}\u{3C4}\u{3B5}\u{3C1}\u{3B7}.`,rangeReversed:`Η ημερομηνία έναρξης πρέπει να είναι πριν από την ημερομηνία λήξης.`,rangeUnderflow:e=>`\u{397} \u{3C4}\u{3B9}\u{3BC}\u{3AE} \u{3C0}\u{3C1}\u{3AD}\u{3C0}\u{3B5}\u{3B9} \u{3BD}\u{3B1} \u{3B5}\u{3AF}\u{3BD}\u{3B1}\u{3B9} ${e.minValue} \u{3AE} \u{3BC}\u{3B5}\u{3C4}\u{3B1}\u{3B3}\u{3B5}\u{3BD}\u{3AD}\u{3C3}\u{3C4}\u{3B5}\u{3C1}\u{3B7}.`,unavailableDate:`Η επιλεγμένη ημερομηνία δεν είναι διαθέσιμη.`};var FH={};FH={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 IH={};IH={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 LH={};LH={rangeOverflow:e=>`V\xe4\xe4rtus peab olema ${e.maxValue} v\xf5i varasem.`,rangeReversed:`Alguskuupäev peab olema enne lõppkuupäeva.`,rangeUnderflow:e=>`V\xe4\xe4rtus peab olema ${e.minValue} v\xf5i hilisem.`,unavailableDate:`Valitud kuupäev pole saadaval.`};var RH={};RH={rangeOverflow:e=>`Arvon on oltava ${e.maxValue} tai sit\xe4 aikaisempi.`,rangeReversed:`Aloituspäivän on oltava ennen lopetuspäivää.`,rangeUnderflow:e=>`Arvon on oltava ${e.minValue} tai sit\xe4 my\xf6h\xe4isempi.`,unavailableDate:`Valittu päivämäärä ei ole käytettävissä.`};var zH={};zH={rangeOverflow:e=>`La valeur doit \xeatre ${e.maxValue} ou ant\xe9rieure.`,rangeReversed:`La date de début doit être antérieure à la date de fin.`,rangeUnderflow:e=>`La valeur doit \xeatre ${e.minValue} ou ult\xe9rieure.`,unavailableDate:`La date sélectionnée n’est pas disponible.`};var BH={};BH={rangeOverflow:e=>`\u{5D4}\u{5E2}\u{5E8}\u{5DA} \u{5D7}\u{5D9}\u{5D9}\u{5D1} \u{5DC}\u{5D4}\u{5D9}\u{5D5}\u{5EA} ${e.maxValue} \u{5D0}\u{5D5} \u{5DE}\u{5D5}\u{5E7}\u{5D3}\u{5DD} \u{5D9}\u{5D5}\u{5EA}\u{5E8}.`,rangeReversed:`תאריך ההתחלה חייב להיות לפני תאריך הסיום.`,rangeUnderflow:e=>`\u{5D4}\u{5E2}\u{5E8}\u{5DA} \u{5D7}\u{5D9}\u{5D9}\u{5D1} \u{5DC}\u{5D4}\u{5D9}\u{5D5}\u{5EA} ${e.minValue} \u{5D0}\u{5D5} \u{5DE}\u{5D0}\u{5D5}\u{5D7}\u{5E8} \u{5D9}\u{5D5}\u{5EA}\u{5E8}.`,unavailableDate:`התאריך הנבחר אינו זמין.`};var VH={};VH={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 HH={};HH={rangeOverflow:e=>`Az \xe9rt\xe9knek ${e.maxValue} vagy kor\xe1bbinak kell lennie.`,rangeReversed:`A kezdő dátumnak a befejező dátumnál korábbinak kell lennie.`,rangeUnderflow:e=>`Az \xe9rt\xe9knek ${e.minValue} vagy k\xe9s\u{151}bbinek kell lennie.`,unavailableDate:`A kiválasztott dátum nem érhető el.`};var UH={};UH={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 WH={};WH={rangeOverflow:e=>`\u{5024}\u{306F} ${e.maxValue} \u{4EE5}\u{4E0B}\u{306B}\u{3059}\u{308B}\u{5FC5}\u{8981}\u{304C}\u{3042}\u{308A}\u{307E}\u{3059}\u{3002}`,rangeReversed:`開始日は終了日より前にする必要があります。`,rangeUnderflow:e=>`\u{5024}\u{306F} ${e.minValue} \u{4EE5}\u{4E0A}\u{306B}\u{3059}\u{308B}\u{5FC5}\u{8981}\u{304C}\u{3042}\u{308A}\u{307E}\u{3059}\u{3002}`,unavailableDate:`選択した日付は使用できません。`};var GH={};GH={rangeOverflow:e=>`\u{AC12}\u{C740} ${e.maxValue} \u{C774}\u{C804}\u{C774}\u{C5B4}\u{C57C} \u{D569}\u{B2C8}\u{B2E4}.`,rangeReversed:`시작일은 종료일 이전이어야 합니다.`,rangeUnderflow:e=>`\u{AC12}\u{C740} ${e.minValue} \u{C774}\u{D6C4}\u{C5EC}\u{C57C} \u{D569}\u{B2C8}\u{B2E4}.`,unavailableDate:`선택한 날짜를 사용할 수 없습니다.`};var KH={};KH={rangeOverflow:e=>`Reik\u{161}m\u{117} turi b\u{16B}ti ${e.maxValue} arba ankstesn\u{117}.`,rangeReversed:`Pradžios data turi būti ankstesnė nei pabaigos data.`,rangeUnderflow:e=>`Reik\u{161}m\u{117} turi b\u{16B}ti ${e.minValue} arba naujesn\u{117}.`,unavailableDate:`Pasirinkta data nepasiekiama.`};var qH={};qH={rangeOverflow:e=>`V\u{113}rt\u{12B}bai ir j\u{101}b\u{16B}t ${e.maxValue} vai agr\u{101}kai.`,rangeReversed:`Sākuma datumam ir jābūt pirms beigu datuma.`,rangeUnderflow:e=>`V\u{113}rt\u{12B}bai ir j\u{101}b\u{16B}t ${e.minValue} vai v\u{113}l\u{101}kai.`,unavailableDate:`Atlasītais datums nav pieejams.`};var JH={};JH={rangeOverflow:e=>`Verdien m\xe5 v\xe6re ${e.maxValue} eller tidligere.`,rangeReversed:`Startdatoen må være før sluttdatoen.`,rangeUnderflow:e=>`Verdien m\xe5 v\xe6re ${e.minValue} eller senere.`,unavailableDate:`Valgt dato utilgjengelig.`};var YH={};YH={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 XH={};XH={rangeOverflow:e=>`Warto\u{15B}\u{107} musi mie\u{107} warto\u{15B}\u{107} ${e.maxValue} lub wcze\u{15B}niejsz\u{105}.`,rangeReversed:`Data rozpoczęcia musi być wcześniejsza niż data zakończenia.`,rangeUnderflow:e=>`Warto\u{15B}\u{107} musi mie\u{107} warto\u{15B}\u{107} ${e.minValue} lub p\xf3\u{17A}niejsz\u{105}.`,unavailableDate:`Wybrana data jest niedostępna.`};var ZH={};ZH={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 QH={};QH={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 $H={};$H={rangeOverflow:e=>`Valoarea trebuie s\u{103} fie ${e.maxValue} sau anterioar\u{103}.`,rangeReversed:`Data de început trebuie să fie anterioară datei de sfârșit.`,rangeUnderflow:e=>`Valoarea trebuie s\u{103} fie ${e.minValue} sau ulterioar\u{103}.`,unavailableDate:`Data selectată nu este disponibilă.`};var eU={};eU={rangeOverflow:e=>`\u{417}\u{43D}\u{430}\u{447}\u{435}\u{43D}\u{438}\u{435} \u{434}\u{43E}\u{43B}\u{436}\u{43D}\u{43E} \u{431}\u{44B}\u{442}\u{44C} \u{43D}\u{435} \u{43F}\u{43E}\u{437}\u{436}\u{435} ${e.maxValue}.`,rangeReversed:`Дата начала должна предшествовать дате окончания.`,rangeUnderflow:e=>`\u{417}\u{43D}\u{430}\u{447}\u{435}\u{43D}\u{438}\u{435} \u{434}\u{43E}\u{43B}\u{436}\u{43D}\u{43E} \u{431}\u{44B}\u{442}\u{44C} \u{43D}\u{435} \u{440}\u{430}\u{43D}\u{44C}\u{448}\u{435} ${e.minValue}.`,unavailableDate:`Выбранная дата недоступна.`};var tU={};tU={rangeOverflow:e=>`Hodnota mus\xed by\u{165} ${e.maxValue} alebo skor\u{161}ia.`,rangeReversed:`Dátum začiatku musí byť skorší ako dátum konca.`,rangeUnderflow:e=>`Hodnota mus\xed by\u{165} ${e.minValue} alebo neskor\u{161}ia.`,unavailableDate:`Vybratý dátum je nedostupný.`};var nU={};nU={rangeOverflow:e=>`Vrednost mora biti ${e.maxValue} ali starej\u{161}a.`,rangeReversed:`Začetni datum mora biti pred končnim datumom.`,rangeUnderflow:e=>`Vrednost mora biti ${e.minValue} ali novej\u{161}a.`,unavailableDate:`Izbrani datum ni na voljo.`};var rU={};rU={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 iU={};iU={rangeOverflow:e=>`V\xe4rdet m\xe5ste vara ${e.maxValue} eller tidigare.`,rangeReversed:`Startdatumet måste vara före slutdatumet.`,rangeUnderflow:e=>`V\xe4rdet m\xe5ste vara ${e.minValue} eller senare.`,unavailableDate:`Det valda datumet är inte tillgängligt.`};var aU={};aU={rangeOverflow:e=>`De\u{11F}er, ${e.maxValue} veya \xf6ncesi olmal\u{131}d\u{131}r.`,rangeReversed:`Başlangıç tarihi bitiş tarihinden önce olmalıdır.`,rangeUnderflow:e=>`De\u{11F}er, ${e.minValue} veya sonras\u{131} olmal\u{131}d\u{131}r.`,unavailableDate:`Seçilen tarih kullanılamıyor.`};var oU={};oU={rangeOverflow:e=>`\u{417}\u{43D}\u{430}\u{447}\u{435}\u{43D}\u{43D}\u{44F} \u{43C}\u{430}\u{454} \u{431}\u{443}\u{442}\u{438} \u{43D}\u{435} \u{43F}\u{456}\u{437}\u{43D}\u{456}\u{448}\u{435} ${e.maxValue}.`,rangeReversed:`Дата початку має передувати даті завершення.`,rangeUnderflow:e=>`\u{417}\u{43D}\u{430}\u{447}\u{435}\u{43D}\u{43D}\u{44F} \u{43C}\u{430}\u{454} \u{431}\u{443}\u{442}\u{438} \u{43D}\u{435} \u{440}\u{430}\u{43D}\u{456}\u{448}\u{435} ${e.minValue}.`,unavailableDate:`Вибрана дата недоступна.`};var sU={};sU={rangeOverflow:e=>`\u{503C}\u{5FC5}\u{987B}\u{662F} ${e.maxValue} \u{6216}\u{66F4}\u{65E9}\u{65E5}\u{671F}\u{3002}`,rangeReversed:`开始日期必须早于结束日期。`,rangeUnderflow:e=>`\u{503C}\u{5FC5}\u{987B}\u{662F} ${e.minValue} \u{6216}\u{66F4}\u{665A}\u{65E5}\u{671F}\u{3002}`,unavailableDate:`所选日期不可用。`};var cU={};cU={rangeOverflow:e=>`\u{503C}\u{5FC5}\u{9808}\u{662F} ${e.maxValue} \u{6216}\u{66F4}\u{65E9}\u{3002}`,rangeReversed:`開始日期必須在結束日期之前。`,rangeUnderflow:e=>`\u{503C}\u{5FC5}\u{9808}\u{662F} ${e.minValue} \u{6216}\u{66F4}\u{665A}\u{3002}`,unavailableDate:`所選日期無法使用。`};var lU={};lU={"ar-AE":kH,"bg-BG":AH,"cs-CZ":jH,"da-DK":MH,"de-DE":NH,"el-GR":PH,"en-US":FH,"es-ES":IH,"et-EE":LH,"fi-FI":RH,"fr-FR":zH,"he-IL":BH,"hr-HR":VH,"hu-HU":HH,"it-IT":UH,"ja-JP":WH,"ko-KR":GH,"lt-LT":KH,"lv-LV":qH,"nb-NO":JH,"nl-NL":YH,"pl-PL":XH,"pt-BR":ZH,"pt-PT":QH,"ro-RO":$H,"ru-RU":eU,"sk-SK":tU,"sl-SI":nU,"sr-SP":rU,"sv-SE":iU,"tr-TR":aU,"uk-UA":oU,"zh-CN":sU,"zh-TW":cU};function uU(e){return e&&e.__esModule?e.default:e}var dU=new sT(uU(lU));function fU(){let e=typeof navigator<`u`&&(navigator.language||navigator.userLanguage)||`en-US`;try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e=`en-US`}return e}function pU(e,t,n,r,i){let a=e!=null&&n!=null&&e.compare(n)>0,o=e!=null&&t!=null&&e.compare(t)<0,s=e!=null&&r?.(e)||!1,c=a||o||s,l=[];if(c){let e=fU(),r=new pT(e,sT.getGlobalDictionaryForPackage(`@react-stately/datepicker`)||dU),c=new xA(e,gU({},i)),u=c.resolvedOptions().timeZone;o&&t!=null&&l.push(r.format(`rangeUnderflow`,{minValue:c.format(t.toDate(u))})),a&&n!=null&&l.push(r.format(`rangeOverflow`,{maxValue:c.format(n.toDate(u))})),s&&l.push(r.format(`unavailableDate`))}return{isInvalid:c,validationErrors:l,validationDetails:{badInput:s,customError:!1,patternMismatch:!1,rangeOverflow:a,rangeUnderflow:o,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!c}}}var mU={year:`numeric`,month:`numeric`,day:`numeric`,hour:`numeric`,minute:`2-digit`,second:`2-digit`},hU={year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`,second:`2-digit`};function gU(e,t){e={...t.shouldForceLeadingZeros?hU:mU,...e};let n=t.granularity||`minute`,r=Object.keys(e),i=r.indexOf(t.maxGranularity??`year`);i<0&&(i=0);let a=r.indexOf(n);if(a<0&&(a=2),i>a)throw Error(`maxGranularity must be greater than granularity`);let o=r.slice(i,a+1).reduce((t,n)=>(t[n]=e[n],t),{});return t.hourCycle!=null&&(o.hour12=t.hourCycle===12),o.timeZone=t.timeZone||`UTC`,(n===`hour`||n===`minute`||n===`second`)&&t.timeZone&&!t.hideTimeZone&&(o.timeZoneName=`short`),t.showEra&&i===0&&(o.era=`short`),o}function _U(e,t){if(e===null)return null;if(e)return RO(e,t)}function vU(e,t,n,r){if(e)return _U(e,n);let i=RO(_O(r??CO()).set({hour:0,minute:0,second:0,millisecond:0}),n);return t===`year`||t===`month`||t===`day`?IO(i):r?i:LO(i)}function yU(e,t){let n=e&&`timeZone`in e?e.timeZone:void 0,r=e&&`minute`in e?`minute`:`day`;if(e&&t&&!(t in e))throw Error(`Invalid granularity `+t+` for value `+e.toString());let[i,a]=(0,x.useState)([r,n]);e&&(i[0]!==r||i[1]!==n)&&a([r,n]),t||=e?r:i[0];let o=e?n:i[1];return[t,o]}var bU=new sT({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`},is:{year:`áááá`,month:`mm`,day:`dd`},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`},nb:{year:`åååå`,month:`mm`,day:`dd`},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:`дд`},"sr-Latn":{year:`gggg`,month:`mm`,day:`dd`},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 xU(e,t,n){return e===`era`||e===`dayPeriod`?t:e===`year`||e===`month`||e===`day`?bU.getStringForLocale(e,n):`––`}var SU=class e{constructor(e,t,n){if(this.era=n?.era??null,this.calendar=e,this.year=n?.year??null,this.month=n?.month??null,this.day=n?.day??null,this.hour=n?.hour??null,this.hourCycle=t,this.dayPeriod=null,this.minute=n?.minute??null,this.second=n?.second??null,this.millisecond=n?.millisecond??null,this.offset=`offset`in(n??{})?n.offset:null,this.hour!=null){let[e,n]=wU(this.hour,t);this.dayPeriod=e,this.hour=n}}copy(){let t=new e(this.calendar,this.hourCycle);return t.era=this.era,t.year=this.year,t.month=this.month,t.day=this.day,t.hour=this.hour,t.dayPeriod=this.dayPeriod,t.minute=this.minute,t.second=this.second,t.millisecond=this.millisecond,t.offset=this.offset,t}isComplete(e){return e.every(e=>this[e]!=null)}validate(e,t){return t.every(t=>{if((t===`hour`||t===`dayPeriod`)&&`hour`in e){let[t,n]=wU(e.hour,this.hourCycle);return this.dayPeriod===t&&this.hour===n}return this[t]===e[t]})}isCleared(e){return e.every(e=>this[e]===null)}set(e,t,n){let r=this.copy();return r[e]=t,e===`hour`&&r.dayPeriod==null&&`hour`in n&&(r.dayPeriod=wU(n.hour,this.hourCycle)[0]),e===`year`&&r.era==null&&(r.era=n.era),e!==`second`&&e!==`literal`&&e!==`timeZoneName`&&(r.offset=null),r}clear(e){let t=this.copy();return t[e]=null,e===`year`&&(t.era=null),t.offset=null,t}cycle(e,t,n,r){let i=this.copy();if(i[e]==null&&e!==`dayPeriod`&&e!==`era`){if(e===`hour`&&`hour`in n){let[e,t]=wU(n.hour,this.hourCycle);i.dayPeriod=e,i.hour=t}else i[e]=n[e];return e===`year`&&i.era==null&&(i.era=n.era),i}switch(e){case`era`:{let e=this.calendar.getEras(),n=e.indexOf(i.era);n=CU(n,t,0,e.length-1),i.era=e[n];break}case`year`:{let r=new lk(this.calendar,this.era??n.era,this.year??n.year,this.month??1,this.day??1);r=r.cycle(e,t,{round:e===`year`}),i.era=r.era,i.year=r.year;break}case`month`:i.month=CU(i.month??1,t,1,this.calendar.getMaximumMonthsInYear());break;case`day`:i.day=CU(i.day??1,t,1,this.calendar.getMaximumDaysInMonth());break;case`hour`:{let e=r.some(e=>[`year`,`month`,`day`].includes(e));if(`timeZone`in n&&(!e||i.year!=null&&i.month!=null&&i.day!=null)){let e=this.toValue(n);e=e.cycle(`hour`,t,{hourCycle:this.hourCycle===`h12`?12:24,round:!1});let[r,a]=wU(e.hour,this.hourCycle);i.hour=a,i.dayPeriod=r,i.offset=e.offset}else{let e=i.hour??0,r=this.getSegmentLimits(`hour`);i.hour=CU(e,t,r.minValue,r.maxValue),i.dayPeriod==null&&`hour`in n&&(i.dayPeriod=wU(n.hour,this.hourCycle)[0])}break}case`dayPeriod`:i.dayPeriod=CU(i.dayPeriod??0,t,0,1);break;case`minute`:i.minute=CU(i.minute??0,t,0,59,!0);break;case`second`:i.second=CU(i.second??0,t,0,59,!0)}return i}toValue(e){if(`hour`in e){let t=this.hour;t==null?(this.hourCycle===`h12`||this.hourCycle===`h11`)&&(t=this.dayPeriod===1?12:0):t=TU(t,this.dayPeriod??0,this.hourCycle);let n=e.set({era:this.era??e.era,year:this.year??e.year,month:this.month??e.month,day:this.day??e.day,hour:t??e.hour,minute:this.minute??e.minute,second:this.second??e.second,millisecond:this.millisecond??e.millisecond});return`offset`in n&&this.offset!=null&&n.offset!==this.offset&&(n=n.add({milliseconds:n.offset-this.offset})),n}return e.set({era:this.era??e.era,year:this.year??e.year,month:this.month??e.month,day:this.day??e.day})}getSegmentLimits(e){switch(e){case`era`:{let e=this.calendar.getEras();return{value:this.era==null?e.length-1:e.indexOf(this.era),minValue:0,maxValue:e.length-1}}case`year`:return{value:this.year,minValue:1,maxValue:9999};case`month`:return{value:this.month,minValue:1,maxValue:this.calendar.getMaximumMonthsInYear()};case`day`:return{value:this.day,minValue:1,maxValue:this.calendar.getMaximumDaysInMonth()};case`dayPeriod`:return{value:this.dayPeriod,minValue:0,maxValue:1};case`hour`:{let e=0,t=23;return this.hourCycle===`h12`?(e=1,t=12):this.hourCycle===`h11`&&(e=0,t=11),{value:this.hour,minValue:e,maxValue:t}}case`minute`:return{value:this.minute,minValue:0,maxValue:59};case`second`:return{value:this.second,minValue:0,maxValue:59}}}};function CU(e,t,n,r,i=!1){if(i){e+=Math.sign(t),e<n&&(e=r);let i=Math.abs(t);e=t>0?Math.ceil(e/i)*i:Math.floor(e/i)*i,e>r&&(e=n)}else e+=t,e<n?e=r-(n-e-1):e>r&&(e=n+(e-r-1));return e}function wU(e,t){let n=+(e>=12);switch(t){case`h11`:e>=12&&(e-=12);break;case`h12`:e===0?e=12:e>12&&(e-=12);break;case`h23`:n=null;break;case`h24`:e+=1,n=null}return[n,e]}function TU(e,t,n){switch(n){case`h11`:t===1&&(e+=12);break;case`h12`:e===12&&(e=0),t===1&&(e+=12);break;case`h24`:--e}return e}var EU={year:!0,month:!0,day:!0,hour:!0,minute:!0,second:!0,dayPeriod:!0,era:!0},DU={year:5,month:2,day:7,hour:2,minute:15,second:15},Ite={dayperiod:`dayPeriod`,relatedYear:`year`,yearName:`literal`,unknown:`literal`};function OU(e){let{locale:t,createCalendar:n,hideTimeZone:r,isDisabled:i=!1,isReadOnly:a=!1,isRequired:o=!1,minValue:s,maxValue:c,isDateUnavailable:l}=e,u=e.value||e.defaultValue||e.placeholderValue||null,[d,f]=yU(u,e.granularity),p=f||`UTC`;if(u&&!(d in u))throw Error(`Invalid granularity `+d+` for value `+u.toString());let[m,h]=(0,x.useMemo)(()=>{let r=new xA(t,{dateStyle:`short`,timeStyle:`short`,hour12:e.hourCycle==null?void 0:e.hourCycle===12}).resolvedOptions();return[n(r.calendar),r.hourCycle]},[t,e.hourCycle,n]),[g,_]=xT(e.value,e.defaultValue??null,e.onChange),[v]=(0,x.useState)(g),y=(0,x.useMemo)(()=>_U(g,m)??null,[g,m]),[b,S]=(0,x.useState)(()=>new SU(m,h,y)),C=m.identifier===`gregory`&&b.era===`BC`,w=(0,x.useMemo)(()=>({granularity:d,maxGranularity:e.maxGranularity??`year`,timeZone:f,hideTimeZone:r,hourCycle:e.hourCycle,showEra:C,shouldForceLeadingZeros:e.shouldForceLeadingZeros}),[e.maxGranularity,d,e.hourCycle,e.shouldForceLeadingZeros,f,r,C]),T=(0,x.useMemo)(()=>gU({},w),[w]),E=(0,x.useMemo)(()=>new xA(t,T),[t,T]),D=(0,x.useMemo)(()=>E.resolvedOptions(),[E]),O=(0,x.useMemo)(()=>vU(e.placeholderValue,d,m,f),[e.placeholderValue,d,m,f]),k=(0,x.useMemo)(()=>{let t=h===`h11`||h===`h12`,n=[`era`,`year`,`month`,`day`,`hour`,...t?[`dayPeriod`]:[],`minute`,`second`],r=n.indexOf(e.maxGranularity||`era`),i=n.indexOf(d===`hour`&&t?`dayPeriod`:d);return n.slice(r,i+1)},[e.maxGranularity,d,h]),[A,j]=(0,x.useState)(y),[M,ee]=(0,x.useState)(m),[N,P]=(0,x.useState)(h);y===A&&h===N&&gO(m,M)||(b=new SU(m,h,y),j(y),ee(m),P(h),S(b));let te=t=>{if(!(e.isDisabled||e.isReadOnly)){if(t==null||t instanceof SU&&t.isCleared(k))S(new SU(m,h,y)),_(null);else if(!(t instanceof SU))t=RO(t,u?.calendar||new hO),S(new SU(m,h,y)),_(t);else{if(t.isComplete(k)){let e=t.toValue(y??O);if(t.validate(e,k)){let t=RO(e,u?.calendar||new hO);if(!g||t.compare(g)!==0){S(new SU(m,h,y)),_(t);return}}}S(t)}}},F=(0,x.useMemo)(()=>b.toValue(y??O).toDate(p),[b,p,y,O]),ne=(0,x.useMemo)(()=>Lte(F,b,E,D,m,t,d),[F,E,D,b,m,t,d]),re=(e,t)=>{te(b.cycle(e,t,O,k))},ie=(0,x.useMemo)(()=>pU(g,s,c,l,w),[g,s,c,l,w]),ae=QA({...e,value:g,builtinValidation:ie}),oe=ae.displayValidation.isInvalid,se=e.validationState||(oe?`invalid`:null);return{...ae,value:y,defaultValue:e.defaultValue??v,dateValue:F,calendar:m,setValue:te,segments:ne,dateFormatter:E,validationState:se,isInvalid:oe,granularity:d,maxGranularity:e.maxGranularity??`year`,isDisabled:i,isReadOnly:a,isRequired:o,increment(e){re(e,1)},decrement(e){re(e,-1)},incrementPage(e){re(e,DU[e]||1)},decrementPage(e){re(e,-(DU[e]||1))},incrementToMax(e){let t=e===`hour`&&h===`h12`?11:b.getSegmentLimits(e).maxValue;te(b.set(e,t,O))},decrementToMin(e){let t=e===`hour`&&h===`h12`?12:b.getSegmentLimits(e).minValue;te(b.set(e,t,O))},setSegment(e,t){te(b.set(e,t,O))},confirmPlaceholder(){if(!(e.isDisabled||e.isReadOnly)&&b.isComplete(k)){let e=RO(b.toValue(y??O),u?.calendar||new hO);g&&e.compare(g)===0||_(e),S(new SU(m,h,y))}},clearSegment(e){let t=b;e!==`timeZoneName`&&e!==`literal`&&(t=b.clear(e)),te(t)},formatValue(e){if(!y)return``;let n=gU(e,w);return new xA(t,n).format(F)},getDateFormatter(e,t){return new xA(e,gU({},{...w,...t}))}}}function Lte(e,t,n,r,i,a,o){let s=[`hour`,`minute`,`second`],c=n.formatToParts(e),l=new TD(a,{useGrouping:!1}),u=new TD(a,{useGrouping:!1,minimumIntegerDigits:2});for(let e of c)if(e.type===`year`||e.type===`month`||e.type===`day`||e.type===`hour`){let n=t[e.type]??0;e.value=r[e.type]===`2-digit`?u.format(n):l.format(n)}let d=[];for(let e of c){let n=Ite[e.type]||e.type,r=EU[n];n===`era`&&i.getEras().length===1&&(r=!1);let c=EU[n]&&t[e.type]==null,l=EU[n]?xU(n,e.value,a):null,u={type:n,text:c?l:e.value,...t.getSegmentLimits(n),isPlaceholder:c,placeholder:l,isEditable:r};n===`hour`?(d.push({type:`literal`,text:`⁦`,isPlaceholder:!1,placeholder:``,isEditable:!1}),d.push(u),n===o&&d.push({type:`literal`,text:`⁩`,isPlaceholder:!1,placeholder:``,isEditable:!1})):s.includes(n)&&n===o?(d.push(u),d.push({type:`literal`,text:`⁩`,isPlaceholder:!1,placeholder:``,isEditable:!1})):d.push(u)}return d}var kU=(0,x.createContext)(null),AU=(0,x.createContext)(null),jU=(0,x.createContext)(null),Rte=(0,x.forwardRef)(function(e,t){[e,t]=SS(e,t,kU);let{validationBehavior:n}=xS(ij)||{},r=e.validationBehavior??n??`native`,{locale:i}=rT(),a=OU({...e,locale:i,createCalendar:yA,validationBehavior:r}),o=(0,x.useRef)(null),[s,c]=CS(!e[`aria-label`]&&!e[`aria-labelledby`]),l=(0,x.useRef)(null),{labelProps:u,fieldProps:d,inputProps:f,descriptionProps:p,errorMessageProps:m,...h}=CH({...wS(e),label:c,inputRef:l,validationBehavior:r},a,o),g=yS({...wS(e),values:{state:a,isInvalid:a.isInvalid,isDisabled:a.isDisabled,isReadOnly:a.isReadOnly,isRequired:e.isRequired||!1},defaultClassName:`react-aria-DateField`}),_=K(e,{global:!0});return delete _.id,x.createElement(vS,{values:[[AU,a],[EN,{...d,ref:o,isInvalid:a.isInvalid,isDisabled:a.isDisabled}],[ON,{...f,ref:l}],[bD,{...u,ref:s,elementType:`span`}],[aO,{slots:{description:p,errorMessage:m}}],[WA,h]]},x.createElement(W.div,{..._,...g,ref:t,slot:e.slot||void 0,"data-invalid":a.isInvalid||void 0,"data-disabled":a.isDisabled||void 0,"data-readonly":a.isReadOnly||void 0,"data-required":e.isRequired||void 0}),x.createElement(FV,{autoComplete:e.autoComplete,name:e.name,isDisabled:e.isDisabled,state:a}))}),zte=(0,x.forwardRef)(function(e,t){let n=(0,x.useContext)(AU),r=(0,x.useContext)(jU);return n||r?x.createElement(MU,{...e,ref:t}):x.createElement(Bte,{...e,ref:t})}),Bte=(0,x.forwardRef)((e,t)=>{let[n,r]=SS({slot:e.slot},t,kU),{locale:i}=rT(),a=OU({...n,locale:i,createCalendar:yA}),o=(0,x.useRef)(null),{fieldProps:s,inputProps:c}=CH({...n,inputRef:o},a,r);return x.createElement(vS,{values:[[AU,a],[ON,{...c,ref:o}],[EN,{...s,ref:r,isInvalid:a.isInvalid,isDisabled:a.isDisabled}]]},x.createElement(MU,e))}),MU=(0,x.forwardRef)((e,t)=>{let{className:n,children:r}=e,i=(0,x.useContext)(AU),a=(0,x.useContext)(jU),o=i??a;return x.createElement(x.Fragment,null,x.createElement(DN,{...e,ref:t,slot:e.slot||void 0,className:n??`react-aria-DateInput`,isReadOnly:o.isReadOnly,isInvalid:o.isInvalid,isDisabled:o.isDisabled},o.segments.map((e,t)=>(0,x.cloneElement)(r(e),{key:t}))),x.createElement(AN,{className:``}))}),Vte=(0,x.forwardRef)(function({segment:e,...t},n){let r=(0,x.useContext)(AU),i=(0,x.useContext)(jU),a=r??i,o=gS(n),{segmentProps:s}=DH(e,a,o),{focusProps:c,isFocused:l,isFocusVisible:u}=dD(),{hoverProps:d,isHovered:f}=_D({...t,isDisabled:a.isDisabled||e.type===`literal`}),p=yS({...t,values:{...e,isReadOnly:a.isReadOnly,isInvalid:a.isInvalid,isDisabled:a.isDisabled,isHovered:f,isFocused:l,isFocusVisible:u},defaultChildren:e.text,defaultClassName:`react-aria-DateSegment`});return x.createElement(W.span,{...U(K(t,{global:!0}),s,c,d),...p,style:s.style,ref:o,"data-placeholder":e.isPlaceholder||void 0,"data-invalid":a.isInvalid||void 0,"data-readonly":a.isReadOnly||void 0,"data-disabled":a.isDisabled||void 0,"data-type":e.type,"data-hovered":f||void 0,"data-focused":l||void 0,"data-focus-visible":u||void 0})});function Hte(e,t,n){let{isDisabled:r}=e,i=dS(),a=dS(),o=aS(),s=(0,x.useRef)(null);qw(n,`beforematch`,(0,x.useCallback)(()=>{s.current=requestAnimationFrame(()=>{n.current&&n.current.setAttribute(`hidden`,`until-found`)}),(0,vE.flushSync)(()=>{t.toggle()})},[n,t]));let c=(0,x.useRef)(null);return qx(()=>{if(s.current&&cancelAnimationFrame(s.current),n.current&&!o){let e=n.current;c.current==null||typeof e.getAnimations!=`function`?t.isExpanded?(e.removeAttribute(`hidden`),e.style.setProperty(`--disclosure-panel-width`,`auto`),e.style.setProperty(`--disclosure-panel-height`,`auto`)):(e.setAttribute(`hidden`,`until-found`),e.style.setProperty(`--disclosure-panel-width`,`0px`),e.style.setProperty(`--disclosure-panel-height`,`0px`)):t.isExpanded!==c.current&&(t.isExpanded?(e.removeAttribute(`hidden`),e.style.setProperty(`--disclosure-panel-width`,e.scrollWidth+`px`),e.style.setProperty(`--disclosure-panel-height`,e.scrollHeight+`px`),Promise.all(e.getAnimations().map(e=>e.finished)).then(()=>{e.style.setProperty(`--disclosure-panel-width`,`auto`),e.style.setProperty(`--disclosure-panel-height`,`auto`)}).catch(()=>{})):(e.style.setProperty(`--disclosure-panel-width`,e.scrollWidth+`px`),e.style.setProperty(`--disclosure-panel-height`,e.scrollHeight+`px`),window.getComputedStyle(e).height,e.style.setProperty(`--disclosure-panel-width`,`0px`),e.style.setProperty(`--disclosure-panel-height`,`0px`),Promise.all(e.getAnimations().map(e=>e.finished)).then(()=>e.setAttribute(`hidden`,`until-found`)).catch(()=>{}))),c.current=t.isExpanded}},[r,n,t.isExpanded,o]),(0,x.useEffect)(()=>()=>{s.current&&cancelAnimationFrame(s.current)},[]),{buttonProps:{id:i,"aria-expanded":t.isExpanded,"aria-controls":a,onPress:e=>{!r&&e.pointerType!==`keyboard`&&t.toggle()},isDisabled:r,onPressStart(e){e.pointerType===`keyboard`&&!r&&t.toggle()}},panelProps:{id:a,role:`group`,"aria-labelledby":i,"aria-hidden":!t.isExpanded,hidden:o?!t.isExpanded:void 0}}}function Ute(e){let[t,n]=xT(e.isExpanded,e.defaultExpanded||!1,e.onExpandedChange);return{isExpanded:t,setExpanded:n,expand:(0,x.useCallback)(()=>{n(!0)},[n]),collapse:(0,x.useCallback)(()=>{n(!1)},[n]),toggle:(0,x.useCallback)(()=>{n(!t)},[n,t])}}var Wte=(0,x.createContext)(null),Gte=(0,x.createContext)(null),Kte=(0,x.createContext)(null),NU=(0,x.createContext)(null),qte=(0,x.forwardRef)(function(e,t){[e,t]=SS(e,t,Gte);let n=(0,x.useContext)(Wte),{id:r,...i}=e,a=dS();r||=a;let o=n?n.expandedKeys.has(r):e.isExpanded,s=Ute({...e,isExpanded:o,onExpandedChange(t){n&&n.toggleKey(r),e.onExpandedChange?.(t)}}),c=x.useRef(null),l=e.isDisabled||n?.isDisabled||!1,{buttonProps:u,panelProps:d}=Hte({...e,isExpanded:o,isDisabled:l},s,c),{isFocusVisible:f,focusProps:p}=dD({within:!0}),m=yS({...e,id:void 0,defaultClassName:`react-aria-Disclosure`,values:{isExpanded:s.isExpanded,isDisabled:l,isFocusVisibleWithin:f,state:s}}),h=K(i,{global:!0});return x.createElement(vS,{values:[[$D,{slots:{[_S]:{},trigger:u}}],[NU,{panelProps:d,panelRef:c}],[Kte,s]]},x.createElement(W.div,{...U(h,m,p),ref:t,"data-expanded":s.isExpanded||void 0,"data-disabled":l||void 0,"data-focus-visible-within":f||void 0},m.children))}),Jte=(0,x.forwardRef)(function(e,t){let{role:n=`group`}=e,{panelProps:r,panelRef:i}=(0,x.useContext)(NU),{isFocusVisible:a,focusProps:o}=dD({within:!0}),s=yS({...e,defaultClassName:`react-aria-DisclosurePanel`,values:{isFocusVisibleWithin:a}}),c=K(e,{global:!0,labelable:!0});return x.createElement(W.div,{...U(c,s,r,o),ref:mS(t,i),role:n,"data-focus-visible-within":a||void 0},x.createElement(vS,{values:[[$D,null]]},e.children))}),PU=function(e){return e[e.none=0]=`none`,e[e.cancel=0]=`cancel`,e[e.move=1]=`move`,e[e.copy=2]=`copy`,e[e.link=4]=`link`,e[e.all=7]=`all`,e}({}),FU={...PU,copyMove:3,copyLink:6,linkMove:5,all:7,uninitialized:7},IU=zU(FU);IU[7]=`all`;var LU={none:`cancel`,link:`link`,copy:`copy`,move:`move`},RU=zU(LU);function zU(e){let t={};for(let n in e)t[e[n]]=n;return t}var Yte=new Set([`text/plain`,`text/uri-list`,`text/html`]),BU=`application/vnd.react-aria.items+json`,Xte=`application/octet-stream`,Zte=Symbol();function VU(e){let t=new Set;for(let n of e)for(let e of Object.keys(n))t.add(e);return t}function HU(e){return e||=`virtual`,e===`pointer`&&(e=`virtual`),e===`virtual`&&typeof window<`u`&&typeof window.matchMedia==`function`&&window.matchMedia(`(pointer: coarse)`).matches&&(e=`touch`),e}function UU(){return HU(QC())}function WU(){return HU(XC())}function Qte(e,t){let n=new Map,r=!1,i=[];for(let e of t){let t=Object.keys(e);t.length>1&&(r=!0);let a={};for(let i of t){let t=n.get(i);t?r=!0:(t=[],n.set(i,t));let o=e[i];a[i]=o,t.push(o)}i.push(a)}for(let[t,r]of n)if(Yte.has(t)){let n=r.join(`
74
- `);e.items.add(n,t)}else e.items.add(r[0],t);if(r){let t=JSON.stringify(i);e.items.add(t,BU)}}var GU=class{constructor(e){this.types=new Set;let t=!1;for(let n of e.items)n.type!==`application/vnd.react-aria.items+json`&&(n.kind===`file`&&(t=!0),n.type?this.types.add(n.type):this.types.add(Xte));this.includesUnknownTypes=!t&&e.types.includes(`Files`)}has(e){if(Array.isArray(e))return e.some(e=>this.has(e));if(this.includesUnknownTypes||e===Zte&&this.types.has(`application/octet-stream`)||e===`*/*`)return!0;if(typeof e==`string`){if(e.endsWith(`/*`)){for(let t of this.types)if(t.startsWith(e.slice(0,-2)))return!0;return!1}return this.types.has(e)}return!1}};function $te(e){let t=[];if(!e)return t;let n=!1;if(e.types.includes(`application/vnd.react-aria.items+json`))try{let r=e.getData(BU),i=JSON.parse(r);for(let e of i)t.push({kind:`text`,types:new Set(Object.keys(e)),getText:t=>Promise.resolve(e[t])});n=!0}catch{}if(!n){let n=new Map;for(let r of e.items)if(r.kind===`string`)n.set(r.type||`application/octet-stream`,e.getData(r.type));else if(r.kind===`file`){if(typeof r.webkitGetAsEntry==`function`){let e=r.webkitGetAsEntry();if(!e)continue;e.isFile?t.push(KU(r.getAsFile())):e.isDirectory&&t.push(qU(e))}else t.push(KU(r.getAsFile()))}n.size>0&&t.push({kind:`text`,types:new Set(n.keys()),getText:e=>Promise.resolve(n.get(e))})}return t}function ene(e){return typeof e.text==`function`?e.text():new Promise((t,n)=>{let r=new FileReader;r.onload=()=>{t(r.result)},r.onerror=n,r.readAsText(e)})}function KU(e){if(!e)throw Error(`No file provided`);return{kind:`file`,type:e.type||`application/octet-stream`,name:e.name,getText:()=>ene(e),getFile:()=>Promise.resolve(e)}}function qU(e){return{kind:`directory`,name:e.name,getEntries:()=>tne(e)}}async function*tne(e){let t=e.createReader(),n;do{n=await new Promise((e,n)=>{t.readEntries(e,n)});for(let e of n)e.isFile?yield KU(await nne(e)):e.isDirectory&&(yield qU(e))}while(n.length>0)}function nne(e){return new Promise((t,n)=>e.file(t,n))}function JU(e){return e.kind===`text`}var YU={draggingKeys:new Set};function rne(e){YU=e}var XU;function ZU(e){XU=e}var QU=PU.none;function $U(e){QU=e}var eW=new Map,tW=new Map,nW=null,rW=new Set;function ine(e){return eW.set(e.element,e),nW?.updateValidDropTargets(),()=>{eW.delete(e.element),nW?.updateValidDropTargets()}}function ane(e,t){if(nW)throw Error(`Cannot begin dragging while already dragging`);nW=new une(e,t),requestAnimationFrame(()=>{nW&&(nW.setup(),WU()===`keyboard`&&nW.next())});for(let e of rW)e()}function one(){let[e,t]=(0,x.useState)(nW);return(0,x.useEffect)(()=>{let e=()=>t(nW);return rW.add(e),()=>{rW.delete(e)}},[]),e}function sne(){nW=null;for(let e of rW)e()}var iW=[`pointerdown`,`pointermove`,`pointerenter`,`pointerleave`,`pointerover`,`pointerout`,`pointerup`,`mousedown`,`mousemove`,`mouseenter`,`mouseleave`,`mouseover`,`mouseout`,`mouseup`,`touchstart`,`touchmove`,`touchend`,`focusin`,`focusout`],cne=[`pointerup`,`mouseup`,`touchend`],lne={keyboard:`dragStartedKeyboard`,touch:`dragStartedTouch`,virtual:`dragStartedVirtual`},une=class{constructor(e,t){this.validDropTargets=[],this.currentDropTarget=null,this.currentDropItem=null,this.dropOperation=null,this.mutationObserver=null,this.restoreAriaHidden=null,this.isVirtualClick=!1,this.dragTarget=e,this.stringFormatter=t,this.onKeyDown=this.onKeyDown.bind(this),this.onKeyUp=this.onKeyUp.bind(this),this.onFocus=this.onFocus.bind(this),this.onBlur=this.onBlur.bind(this),this.onClick=this.onClick.bind(this),this.onPointerDown=this.onPointerDown.bind(this),this.cancelEvent=this.cancelEvent.bind(this),this.initialFocused=!1}setup(){document.addEventListener(`keydown`,this.onKeyDown,!0),document.addEventListener(`keyup`,this.onKeyUp,!0),window.addEventListener(`focus`,this.onFocus,!0),window.addEventListener(`blur`,this.onBlur,!0),document.addEventListener(`click`,this.onClick,!0),document.addEventListener(`pointerdown`,this.onPointerDown,!0);for(let e of iW)document.addEventListener(e,this.cancelEvent,!0);this.mutationObserver=new MutationObserver(()=>this.updateValidDropTargets()),this.updateValidDropTargets(),YD(this.stringFormatter.format(lne[WU()]))}teardown(){document.removeEventListener(`keydown`,this.onKeyDown,!0),document.removeEventListener(`keyup`,this.onKeyUp,!0),window.removeEventListener(`focus`,this.onFocus,!0),window.removeEventListener(`blur`,this.onBlur,!0),document.removeEventListener(`click`,this.onClick,!0),document.removeEventListener(`pointerdown`,this.onPointerDown,!0);for(let e of iW)document.removeEventListener(e,this.cancelEvent,!0);this.mutationObserver?.disconnect(),this.restoreAriaHidden?.()}onKeyDown(e){this.cancelEvent(e),e.key===`Escape`?this.cancel():(e.key===`Tab`&&!(e.metaKey||e.altKey||e.ctrlKey)&&(e.shiftKey?this.previous():this.next()),typeof this.currentDropTarget?.onKeyDown==`function`&&this.currentDropTarget.onKeyDown(e,this.dragTarget))}onKeyUp(e){this.cancelEvent(e),e.key===`Enter`&&(e.altKey||zS(this.getCurrentActivateButton(),G(e))?this.activate(this.currentDropTarget,this.currentDropItem):this.drop())}getCurrentActivateButton(){return this.currentDropItem?.activateButtonRef?.current??this.currentDropTarget?.activateButtonRef?.current??null}onFocus(e){let t=this.getCurrentActivateButton(),n=G(e);if(n===t){this.cancelEvent(e);return}if(n!==this.dragTarget.element&&this.cancelEvent(e),!(n instanceof HTMLElement)||n===this.dragTarget.element)return;let r=this.validDropTargets.find(e=>e.element===n)||this.validDropTargets.find(e=>zS(e.element,n));if(!r){this.currentDropTarget?this.currentDropTarget.element.focus():this.dragTarget.element.focus();return}let i=tW.get(n);r&&this.setCurrentDropTarget(r,i)}onBlur(e){let t=this.getCurrentActivateButton();t&&e.relatedTarget===t?this.cancelEvent(e):(G(e)!==this.dragTarget.element&&this.cancelEvent(e),e.relatedTarget&&e.relatedTarget instanceof HTMLElement||(this.currentDropTarget?this.currentDropTarget.element.focus():this.dragTarget.element.focus()))}onClick(e){if(this.cancelEvent(e),bC(e)||this.isVirtualClick){let t=tW.values(),n=G(e),r=[...t].find(e=>e.element===n||zS(e.activateButtonRef?.current,n)),i=this.validDropTargets.find(e=>zS(e.element,n));if(zS(r?.activateButtonRef?.current??i?.activateButtonRef?.current,n)&&i){this.activate(i,r);return}if(G(e)===this.dragTarget.element){this.cancel();return}i&&(this.setCurrentDropTarget(i,r),this.drop(r))}}onPointerDown(e){this.cancelEvent(e),this.isVirtualClick=xC(e)}cancelEvent(e){let t=G(e);(e.type!==`focusin`&&e.type!==`focusout`||t!==this.dragTarget?.element&&t!==this.getCurrentActivateButton())&&(cne.includes(e.type)||e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation())}updateValidDropTargets(){if(!this.mutationObserver)return;if(this.mutationObserver.disconnect(),this.restoreAriaHidden&&this.restoreAriaHidden(),this.validDropTargets=dne(this.dragTarget),this.validDropTargets.length>0){let e=this.findNearestDropTarget();this.validDropTargets=[...this.validDropTargets.slice(e),...this.validDropTargets.slice(0,e)]}this.currentDropTarget&&!this.validDropTargets.includes(this.currentDropTarget)&&this.setCurrentDropTarget(this.validDropTargets[0]);let e=VU(this.dragTarget.items),t=[...tW.values()].filter(t=>typeof t.getDropOperation!=`function`||t.getDropOperation(e,this.dragTarget.allowedDropOperations)!==`cancel`),n=this.validDropTargets.filter(e=>!t.some(t=>zS(e.element,t.element)));this.restoreAriaHidden=_R([this.dragTarget.element,...t.flatMap(e=>e.activateButtonRef?.current?[e.element,e.activateButtonRef?.current]:[e.element]),...n.flatMap(e=>e.activateButtonRef?.current?[e.element,e.activateButtonRef?.current]:[e.element])],{shouldUseInert:!0}),this.mutationObserver.observe(document.body,{subtree:!0,attributes:!0,attributeFilter:[`aria-hidden`,`inert`]})}next(){if(!this.currentDropTarget){this.setCurrentDropTarget(this.validDropTargets[0]);return}let e=this.validDropTargets.indexOf(this.currentDropTarget);e<0?this.setCurrentDropTarget(this.validDropTargets[0]):e===this.validDropTargets.length-1?this.dragTarget.element.closest(`[aria-hidden="true"], [inert]`)?this.setCurrentDropTarget(this.validDropTargets[0]):(this.setCurrentDropTarget(null),this.dragTarget.element.focus()):this.setCurrentDropTarget(this.validDropTargets[e+1])}previous(){if(!this.currentDropTarget){this.setCurrentDropTarget(this.validDropTargets[this.validDropTargets.length-1]);return}let e=this.validDropTargets.indexOf(this.currentDropTarget);e<0?this.setCurrentDropTarget(this.validDropTargets[this.validDropTargets.length-1]):e===0?this.dragTarget.element.closest(`[aria-hidden="true"], [inert]`)?this.setCurrentDropTarget(this.validDropTargets[this.validDropTargets.length-1]):(this.setCurrentDropTarget(null),this.dragTarget.element.focus()):this.setCurrentDropTarget(this.validDropTargets[e-1])}findNearestDropTarget(){let e=this.dragTarget.element.getBoundingClientRect(),t=1/0,n=-1,r=-1;for(let i=0;i<this.validDropTargets.length;i++){let a=this.validDropTargets[i];r<0&&zS(a.element,this.dragTarget.element)&&(r=i);let o=a.element.getBoundingClientRect(),s=o.left-e.left,c=o.top-e.top,l=s*s+c*c;l<t&&(t=l,n=i)}return r>=0?r:n}setCurrentDropTarget(e,t){if(e!==this.currentDropTarget){if(this.currentDropTarget&&typeof this.currentDropTarget.onDropExit==`function`){let e=this.currentDropTarget.element.getBoundingClientRect();this.currentDropTarget.onDropExit({type:`dropexit`,x:e.left+e.width/2,y:e.top+e.height/2})}if(this.currentDropTarget=e,e){if(typeof e.onDropEnter==`function`){let t=e.element.getBoundingClientRect();e.onDropEnter({type:`dropenter`,x:t.left+t.width/2,y:t.top+t.height/2},this.dragTarget)}t||e?.element.focus()}}if(t!=null&&t!==this.currentDropItem&&(this.currentDropTarget&&typeof this.currentDropTarget.onDropTargetEnter==`function`&&this.currentDropTarget.onDropTargetEnter(t.target),t.element.focus(),this.currentDropItem=t,!this.initialFocused)){let e=t?.element.getAttribute(`aria-label`);e&&YD(e,`polite`),this.initialFocused=!0}}end(){if(this.teardown(),sne(),typeof this.dragTarget.onDragEnd==`function`){let e=(this.currentDropTarget&&this.dropOperation!==`cancel`?this.currentDropTarget:this.dragTarget).element.getBoundingClientRect();this.dragTarget.onDragEnd({type:`dragend`,x:e.x+e.width/2,y:e.y+e.height/2,dropOperation:this.dropOperation||`cancel`})}this.currentDropTarget&&!this.currentDropTarget.preventFocusOnDrop&&BS()?.dispatchEvent(new FocusEvent(`focusin`,{bubbles:!0})),this.setCurrentDropTarget(null)}cancel(){this.setCurrentDropTarget(null),this.end(),this.dragTarget.element.closest(`[aria-hidden="true"], [inert]`)||this.dragTarget.element.focus(),BS()?.dispatchEvent(new FocusEvent(`focusin`,{bubbles:!0})),YD(this.stringFormatter.format(`dropCanceled`))}drop(e){if(!this.currentDropTarget)this.cancel();else{if(typeof e?.getDropOperation==`function`){let t=VU(this.dragTarget.items);this.dropOperation=e.getDropOperation(t,this.dragTarget.allowedDropOperations)}else if(typeof this.currentDropTarget.getDropOperation==`function`){let e=VU(this.dragTarget.items);this.dropOperation=this.currentDropTarget.getDropOperation(e,this.dragTarget.allowedDropOperations)}else this.dropOperation=this.dragTarget.allowedDropOperations[0];if(typeof this.currentDropTarget.onDrop==`function`){let t=this.dragTarget.items.map(e=>({kind:`text`,types:new Set(Object.keys(e)),getText:t=>Promise.resolve(e[t])})),n=this.currentDropTarget.element.getBoundingClientRect();this.currentDropTarget.onDrop({type:`drop`,x:n.left+n.width/2,y:n.top+n.height/2,items:t,dropOperation:this.dropOperation},e?.target??null)}this.end(),YD(this.stringFormatter.format(`dropComplete`))}}activate(e,t){if(e&&typeof e.onDropActivate==`function`){let n=t?.target??null,r=e.element.getBoundingClientRect();e.onDropActivate({type:`dropactivate`,x:r.left+r.width/2,y:r.top+r.height/2},n)}}};function dne(e){let t=VU(e.items);return[...eW.values()].filter(n=>n.element.closest(`[aria-hidden="true"], [inert]`)?!1:typeof n.getDropOperation!=`function`||n.getDropOperation(t,e.allowedDropOperations)!==`cancel`)}var aW={};aW={dragDescriptionKeyboard:`اضغط Enter لبدء السحب.`,dragDescriptionKeyboardAlt:`اضغط على Alt + Enter لبدء السحب.`,dragDescriptionLongPress:`اضغط باستمرار لبدء السحب.`,dragDescriptionTouch:`اضغط مرتين لبدء السحب.`,dragDescriptionVirtual:`انقر لبدء السحب.`,dragItem:e=>`\u{627}\u{633}\u{62D}\u{628} ${e.itemText}`,dragSelectedItems:(e,t)=>`\u{627}\u{633}\u{62D}\u{628} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{639}\u{646}\u{635}\u{631} \u{645}\u{62D}\u{62F}\u{62F}`,other:()=>`${t.number(e.count)} \u{639}\u{646}\u{627}\u{635}\u{631} \u{645}\u{62D}\u{62F}\u{62F}\u{629}`})}`,dragSelectedKeyboard:(e,t)=>`\u{627}\u{636}\u{63A}\u{637} \u{639}\u{644}\u{649} Enter \u{644}\u{644}\u{633}\u{62D}\u{628} ${t.plural(e.count,{one:`عدد العناصر المختارة`,other:`عدد العناصر المختارة`})}.`,dragSelectedKeyboardAlt:(e,t)=>`\u{627}\u{636}\u{63A}\u{637} \u{639}\u{644}\u{649} \u{645}\u{641}\u{62A}\u{627}\u{62D}\u{64A} Alt + Enter \u{644}\u{644}\u{633}\u{62D}\u{628} ${t.plural(e.count,{one:`عدد العناصر المختارة`,other:`عدد العناصر المختارة`})}.`,dragSelectedLongPress:(e,t)=>`\u{627}\u{636}\u{63A}\u{637} \u{628}\u{627}\u{633}\u{62A}\u{645}\u{631}\u{627}\u{631} \u{644}\u{644}\u{633}\u{62D}\u{628} ${t.plural(e.count,{one:`عدد العناصر المختارة`,other:`عدد العناصر المختارة`})}.`,dragStartedKeyboard:`بدأ السحب. اضغط Tab للانتقال إلى موضع الإفلات، ثم اضغط Enter للإفلات، أو اضغط Escape للإلغاء.`,dragStartedTouch:`بدأ السحب. انتقل إلى موضع الإفلات، ثم اضغط مرتين للإفلات.`,dragStartedVirtual:`بدأ السحب. انتقل إلى مكان الإفلات، ثم انقر أو اضغط Enter للإفلات.`,dropCanceled:`تم إلغاء الإفلات.`,dropComplete:`اكتمل الإفلات.`,dropDescriptionKeyboard:`اضغط Enter للإفلات. اضغط Escape لإلغاء السحب.`,dropDescriptionTouch:`اضغط مرتين للإفلات.`,dropDescriptionVirtual:`انقر للإفلات.`,dropIndicator:`مؤشر الإفلات`,dropOnItem:e=>`\u{625}\u{641}\u{644}\u{627}\u{62A} ${e.itemText}`,dropOnRoot:`الإفلات`,endDragKeyboard:`السحب. اضغط Enter لإلغاء السحب.`,endDragTouch:`السحب. اضغط مرتين لإلغاء السحب.`,endDragVirtual:`السحب. انقر لإلغاء السحب.`,insertAfter:e=>`\u{623}\u{62F}\u{62E}\u{644} \u{628}\u{639}\u{62F} ${e.itemText}`,insertBefore:e=>`\u{623}\u{62F}\u{62E}\u{644} \u{642}\u{628}\u{644} ${e.itemText}`,insertBetween:e=>`\u{623}\u{62F}\u{62E}\u{644} \u{628}\u{64A}\u{646} ${e.beforeItemText} \u{648} ${e.afterItemText}`};var oW={};oW={dragDescriptionKeyboard:`Натиснете „Enter“, за да започнете да плъзгате.`,dragDescriptionKeyboardAlt:`Натиснете Alt + Enter, за да започнете да плъзгате.`,dragDescriptionLongPress:`Натиснете продължително, за да започнете да плъзгате.`,dragDescriptionTouch:`Натиснете двукратно, за да започнете да плъзгате.`,dragDescriptionVirtual:`Щракнете, за да започнете да плъзгате.`,dragItem:e=>`\u{41F}\u{43B}\u{44A}\u{437}\u{43D}\u{438} ${e.itemText}`,dragSelectedItems:(e,t)=>`\u{41F}\u{43B}\u{44A}\u{437}\u{43D}\u{438} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}`,other:()=>`${t.number(e.count)} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{438} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{430}`})}`,dragSelectedKeyboard:(e,t)=>`\u{41D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{435}\u{442}\u{435} Enter, \u{437}\u{430} \u{434}\u{430} \u{43F}\u{43B}\u{44A}\u{437}\u{43D}\u{435}\u{442}\u{435} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}`,other:()=>`${t.number(e.count)} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{438} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{438}`})}.`,dragSelectedKeyboardAlt:(e,t)=>`\u{41D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{435}\u{442}\u{435} Alt \u{438} Enter, \u{437}\u{430} \u{434}\u{430} \u{43F}\u{43B}\u{44A}\u{437}\u{43D}\u{435}\u{442}\u{435} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}`,other:()=>`${t.number(e.count)} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{438} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{438}`})}.`,dragSelectedLongPress:(e,t)=>`\u{41D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{435}\u{442}\u{435} \u{43F}\u{440}\u{43E}\u{434}\u{44A}\u{43B}\u{436}\u{438}\u{442}\u{435}\u{43B}\u{43D}\u{43E}, \u{437}\u{430} \u{434}\u{430} \u{43F}\u{43B}\u{44A}\u{437}\u{43D}\u{435}\u{442}\u{435} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}`,other:()=>`${t.number(e.count)} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{438} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{438}`})}.`,dragStartedKeyboard:`Започна плъзгане. Натиснете „Tab“, за да се придвижите до целта, след което натиснете „Enter“ за пускане или натиснете „Escape“ за отмяна.`,dragStartedTouch:`Започна плъзгане. Придвижете се до целта, след което натиснете двукратно, за да пуснете.`,dragStartedVirtual:`Започна плъзгане. Придвижете се до целта, след което щракнете или натиснете „Enter“ за пускане.`,dropCanceled:`Пускането е отменено.`,dropComplete:`Пускането е завършено.`,dropDescriptionKeyboard:`Натиснете „Enter“ за пускане. Натиснете „Escape“ за отмяна на плъзгането.`,dropDescriptionTouch:`Натиснете двукратно за пускане.`,dropDescriptionVirtual:`Щракнете за пускане.`,dropIndicator:`индикатор за пускане`,dropOnItem:e=>`\u{41F}\u{443}\u{441}\u{43D}\u{438} \u{432}\u{44A}\u{440}\u{445}\u{443} ${e.itemText}`,dropOnRoot:`Пусни върху`,endDragKeyboard:`Плъзгане. Натиснете „Enter“ за отмяна на плъзгането.`,endDragTouch:`Плъзгане. Натиснете двукратно за отмяна на плъзгането.`,endDragVirtual:`Плъзгане. Щракнете за отмяна.`,insertAfter:e=>`\u{412}\u{43C}\u{44A}\u{43A}\u{43D}\u{438} \u{441}\u{43B}\u{435}\u{434} ${e.itemText}`,insertBefore:e=>`\u{412}\u{43C}\u{44A}\u{43A}\u{43D}\u{438} \u{43F}\u{440}\u{435}\u{434}\u{438} ${e.itemText}`,insertBetween:e=>`\u{412}\u{43C}\u{44A}\u{43A}\u{43D}\u{438} \u{43C}\u{435}\u{436}\u{434}\u{443} ${e.beforeItemText} \u{438} ${e.afterItemText}`};var sW={};sW={dragDescriptionKeyboard:`Stisknutím klávesy Enter začnete s přetahováním.`,dragDescriptionKeyboardAlt:`Stisknutím Alt + Enter zahájíte přetahování.`,dragDescriptionLongPress:`Dlouhým stisknutím zahájíte přetahování.`,dragDescriptionTouch:`Poklepáním začnete s přetahováním.`,dragDescriptionVirtual:`Kliknutím začnete s přetahováním.`,dragItem:e=>`P\u{159}et\xe1hnout ${e.itemText}`,dragSelectedItems:(e,t)=>`P\u{159}et\xe1hnout ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou polo\u{17E}ku`,few:()=>`${t.number(e.count)} vybran\xe9 polo\u{17E}ky`,other:()=>`${t.number(e.count)} vybran\xfdch polo\u{17E}ek`})}`,dragSelectedKeyboard:(e,t)=>`Stisknut\xedm kl\xe1vesy Enter p\u{159}et\xe1hn\u{11B}te ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou polo\u{17E}ku`,other:()=>`${t.number(e.count)} vybran\xe9 polo\u{17E}ky`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Stisknut\xedm Alt + Enter p\u{159}et\xe1hn\u{11B}te ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou polo\u{17E}ku`,other:()=>`${t.number(e.count)} vybran\xe9 polo\u{17E}ky`})}.`,dragSelectedLongPress:(e,t)=>`Dlouh\xfdm stisknut\xedm p\u{159}et\xe1hnete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou polo\u{17E}ku`,other:()=>`${t.number(e.count)} vybran\xe9 polo\u{17E}ky`})}.`,dragStartedKeyboard:`Začněte s přetahováním. Po stisknutí klávesy Tab najděte požadovaný cíl a stisknutím klávesy Enter přetažení dokončete nebo stisknutím klávesy Esc akci zrušte.`,dragStartedTouch:`Začněte s přetahováním. Najděte požadovaný cíl a poklepáním přetažení dokončete.`,dragStartedVirtual:`Začněte s přetahováním. Najděte požadovaný cíl a kliknutím nebo stisknutím klávesy Enter přetažení dokončete.`,dropCanceled:`Přetažení bylo zrušeno.`,dropComplete:`Přetažení bylo dokončeno.`,dropDescriptionKeyboard:`Stisknutím klávesy Enter přetažení dokončete nebo stisknutím klávesy Esc akci zrušte.`,dropDescriptionTouch:`Poklepáním přetažení dokončete.`,dropDescriptionVirtual:`Kliknutím objekt přetáhněte.`,dropIndicator:`indikátor přetažení`,dropOnItem:e=>`P\u{159}et\xe1hnout na ${e.itemText}`,dropOnRoot:`Přetáhnout na`,endDragKeyboard:`Probíhá přetahování. Stisknutím klávesy Enter přetažení zrušíte.`,endDragTouch:`Probíhá přetahování. Poklepáním přetažení zrušíte.`,endDragVirtual:`Probíhá přetahování. Kliknutím přetažení zrušíte.`,insertAfter:e=>`Vlo\u{17E}it za ${e.itemText}`,insertBefore:e=>`Vlo\u{17E}it p\u{159}ed ${e.itemText}`,insertBetween:e=>`Vlo\u{17E}it mezi ${e.beforeItemText} a ${e.afterItemText}`};var cW={};cW={dragDescriptionKeyboard:`Tryk på Enter for at starte med at trække.`,dragDescriptionKeyboardAlt:`Tryk på Alt + Enter for at starte med at trække.`,dragDescriptionLongPress:`Tryk længe for at starte med at trække.`,dragDescriptionTouch:`Dobbelttryk for at starte med at trække.`,dragDescriptionVirtual:`Klik for at starte med at trække.`,dragItem:e=>`Tr\xe6k ${e.itemText}`,dragSelectedItems:(e,t)=>`Tr\xe6k ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}`,dragSelectedKeyboard:(e,t)=>`Tryk p\xe5 Enter for at tr\xe6kke ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgte element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Tryk p\xe5 Alt + Enter for at tr\xe6kke ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgte element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedLongPress:(e,t)=>`Tryk l\xe6nge for at tr\xe6kke ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgte element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragStartedKeyboard:`Startet med at trække. Tryk på Tab for at gå til et slip-mål, tryk derefter på Enter for at slippe, eller tryk på Escape for at annullere.`,dragStartedTouch:`Startet med at trække. Gå til et slip-mål, og dobbelttryk derefter for at slippe.`,dragStartedVirtual:`Startet med at trække. Gå til et slip-mål, og klik eller tryk derefter på enter for at slippe.`,dropCanceled:`Slip annulleret.`,dropComplete:`Slip fuldført.`,dropDescriptionKeyboard:`Tryk på Enter for at slippe. Tryk på Escape for at annullere trækning.`,dropDescriptionTouch:`Dobbelttryk for at slippe.`,dropDescriptionVirtual:`Klik for at slippe.`,dropIndicator:`slip-indikator`,dropOnItem:e=>`Slip p\xe5 ${e.itemText}`,dropOnRoot:`Slip på`,endDragKeyboard:`Trækning. Tryk på enter for at annullere træk.`,endDragTouch:`Trækning. Dobbelttryk for at annullere træk.`,endDragVirtual:`Trækning. Klik for at annullere trækning.`,insertAfter:e=>`Inds\xe6t efter ${e.itemText}`,insertBefore:e=>`Inds\xe6t f\xf8r ${e.itemText}`,insertBetween:e=>`Inds\xe6t mellem ${e.beforeItemText} og ${e.afterItemText}`};var lW={};lW={dragDescriptionKeyboard:`Drücken Sie die Eingabetaste, um den Ziehvorgang zu starten.`,dragDescriptionKeyboardAlt:`Alt + Eingabe drücken, um den Ziehvorgang zu starten.`,dragDescriptionLongPress:`Lang drücken, um mit dem Ziehen zu beginnen.`,dragDescriptionTouch:`Tippen Sie doppelt, um den Ziehvorgang zu starten.`,dragDescriptionVirtual:`Zum Starten des Ziehvorgangs klicken.`,dragItem:e=>`${e.itemText} ziehen`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgew\xe4hltes Objekt`,other:()=>`${t.number(e.count)} ausgew\xe4hlte Objekte`})} ziehen`,dragSelectedKeyboard:(e,t)=>`Eingabetaste dr\xfccken, um ${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgew\xe4hltes Element`,other:()=>`${t.number(e.count)} ausgew\xe4hlte Elemente`})} zu ziehen.`,dragSelectedKeyboardAlt:(e,t)=>`Alt + Eingabetaste dr\xfccken, um ${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgew\xe4hltes Element`,other:()=>`${t.number(e.count)} ausgew\xe4hlte Elemente`})} zu ziehen.`,dragSelectedLongPress:(e,t)=>`Lang dr\xfccken, um ${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgew\xe4hltes Element`,other:()=>`${t.number(e.count)} ausgew\xe4hlte Elemente`})} zu ziehen.`,dragStartedKeyboard:`Ziehvorgang gestartet. Drücken Sie die Tabulatortaste, um zu einem Ablegeziel zu navigieren und drücken Sie dann die Eingabetaste, um das Objekt abzulegen, oder Escape, um den Vorgang abzubrechen.`,dragStartedTouch:`Ziehvorgang gestartet. Navigieren Sie zu einem Ablegeziel und tippen Sie doppelt, um das Objekt abzulegen.`,dragStartedVirtual:`Ziehvorgang gestartet. Navigieren Sie zu einem Ablegeziel und klicken Sie oder drücken Sie die Eingabetaste, um das Objekt abzulegen.`,dropCanceled:`Ablegen abgebrochen.`,dropComplete:`Ablegen abgeschlossen.`,dropDescriptionKeyboard:`Drücken Sie die Eingabetaste, um das Objekt abzulegen. Drücken Sie Escape, um den Vorgang abzubrechen.`,dropDescriptionTouch:`Tippen Sie doppelt, um das Objekt abzulegen.`,dropDescriptionVirtual:`Zum Ablegen klicken.`,dropIndicator:`Ablegeanzeiger`,dropOnItem:e=>`Auf ${e.itemText} ablegen`,dropOnRoot:`Ablegen auf`,endDragKeyboard:`Ziehvorgang läuft. Drücken Sie die Eingabetaste, um den Vorgang abzubrechen.`,endDragTouch:`Ziehvorgang läuft. Tippen Sie doppelt, um den Vorgang abzubrechen.`,endDragVirtual:`Ziehvorgang läuft. Klicken Sie, um den Vorgang abzubrechen.`,insertAfter:e=>`Nach ${e.itemText} einf\xfcgen`,insertBefore:e=>`Vor ${e.itemText} einf\xfcgen`,insertBetween:e=>`Zwischen ${e.beforeItemText} und ${e.afterItemText} einf\xfcgen`};var uW={};uW={dragDescriptionKeyboard:`Πατήστε Enter για έναρξη της μεταφοράς.`,dragDescriptionKeyboardAlt:`Πατήστε Alt + Enter για έναρξη της μεταφοράς.`,dragDescriptionLongPress:`Πατήστε παρατεταμένα για να ξεκινήσετε τη μεταφορά.`,dragDescriptionTouch:`Πατήστε δύο φορές για έναρξη της μεταφοράς.`,dragDescriptionVirtual:`Κάντε κλικ για να ξεκινήσετε τη μεταφορά.`,dragItem:e=>`\u{39C}\u{3B5}\u{3C4}\u{3B1}\u{3C6}\u{3BF}\u{3C1}\u{3AC} ${e.itemText}`,dragSelectedItems:(e,t)=>`\u{39C}\u{3B5}\u{3C4}\u{3B1}\u{3C6}\u{3BF}\u{3C1}\u{3AC} \u{3C3}\u{3B5} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3BF} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF}`,other:()=>`${t.number(e.count)} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3B1} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3B1}`})}`,dragSelectedKeyboard:(e,t)=>`\u{3A0}\u{3B1}\u{3C4}\u{3AE}\u{3C3}\u{3C4}\u{3B5} Enter \u{3B3}\u{3B9}\u{3B1} \u{3BD}\u{3B1} \u{3C3}\u{3CD}\u{3C1}\u{3B5}\u{3C4}\u{3B5} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3BF} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF}`,other:()=>`${t.number(e.count)} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3B1} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3B1}`})}.`,dragSelectedKeyboardAlt:(e,t)=>`\u{3A0}\u{3B1}\u{3C4}\u{3AE}\u{3C3}\u{3C4}\u{3B5} Alt + Enter \u{3B3}\u{3B9}\u{3B1} \u{3BD}\u{3B1} \u{3C3}\u{3CD}\u{3C1}\u{3B5}\u{3C4}\u{3B5} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3BF} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF}`,other:()=>`${t.number(e.count)} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3B1} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3B1}`})}.`,dragSelectedLongPress:(e,t)=>`\u{3A0}\u{3B1}\u{3C4}\u{3AE}\u{3C3}\u{3C4}\u{3B5} \u{3C0}\u{3B1}\u{3C1}\u{3B1}\u{3C4}\u{3B5}\u{3C4}\u{3B1}\u{3BC}\u{3AD}\u{3BD}\u{3B1} \u{3B3}\u{3B9}\u{3B1} \u{3BD}\u{3B1} \u{3C3}\u{3CD}\u{3C1}\u{3B5}\u{3C4}\u{3B5} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3BF} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF}`,other:()=>`${t.number(e.count)} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3B1} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3B1}`})}.`,dragStartedKeyboard:`Η μεταφορά ξεκίνησε. Πατήστε το πλήκτρο Tab για να μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, πατήστε Enter για απόθεση ή πατήστε Escape για ακύρωση.`,dragStartedTouch:`Η μεταφορά ξεκίνησε. Μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, πατήστε δύο φορές για απόθεση.`,dragStartedVirtual:`Η μεταφορά ξεκίνησε. Μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, κάντε κλικ ή πατήστε Enter για απόθεση.`,dropCanceled:`Η απόθεση ακυρώθηκε.`,dropComplete:`Η απόθεση ολοκληρώθηκε.`,dropDescriptionKeyboard:`Πατήστε Enter για απόθεση. Πατήστε Escape για ακύρωση της μεταφοράς.`,dropDescriptionTouch:`Πατήστε δύο φορές για απόθεση.`,dropDescriptionVirtual:`Κάντε κλικ για απόθεση.`,dropIndicator:`δείκτης απόθεσης`,dropOnItem:e=>`\u{391}\u{3C0}\u{3CC}\u{3B8}\u{3B5}\u{3C3}\u{3B7} \u{3C3}\u{3B5} ${e.itemText}`,dropOnRoot:`Απόθεση σε`,endDragKeyboard:`Μεταφορά σε εξέλιξη. Πατήστε Enter για ακύρωση της μεταφοράς.`,endDragTouch:`Μεταφορά σε εξέλιξη. Πατήστε δύο φορές για ακύρωση της μεταφοράς.`,endDragVirtual:`Μεταφορά σε εξέλιξη. Κάντε κλικ για ακύρωση της μεταφοράς.`,insertAfter:e=>`\u{395}\u{3B9}\u{3C3}\u{3B1}\u{3B3}\u{3C9}\u{3B3}\u{3AE} \u{3BC}\u{3B5}\u{3C4}\u{3AC} \u{3B1}\u{3C0}\u{3CC} ${e.itemText}`,insertBefore:e=>`\u{395}\u{3B9}\u{3C3}\u{3B1}\u{3B3}\u{3C9}\u{3B3}\u{3AE} \u{3C0}\u{3C1}\u{3B9}\u{3BD} \u{3B1}\u{3C0}\u{3CC} ${e.itemText}`,insertBetween:e=>`\u{395}\u{3B9}\u{3C3}\u{3B1}\u{3B3}\u{3C9}\u{3B3}\u{3AE} \u{3BC}\u{3B5}\u{3C4}\u{3B1}\u{3BE}\u{3CD} ${e.beforeItemText} \u{3BA}\u{3B1}\u{3B9} ${e.afterItemText}`};var dW={};dW={dragItem:e=>`Drag ${e.itemText}`,dragSelectedItems:(e,t)=>`Drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}`,dragDescriptionKeyboard:`Press Enter to start dragging.`,dragDescriptionKeyboardAlt:`Press Alt + Enter to start dragging.`,dragDescriptionTouch:`Double tap to start dragging.`,dragDescriptionVirtual:`Click to start dragging.`,dragDescriptionLongPress:`Long press to start dragging.`,dragSelectedKeyboard:(e,t)=>`Press Enter to drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Press Alt + Enter to drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}.`,dragSelectedLongPress:(e,t)=>`Long press to drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}.`,dragStartedKeyboard:`Started dragging. Press Tab to navigate to a drop target, then press Enter to drop, or press Escape to cancel.`,dragStartedTouch:`Started dragging. Navigate to a drop target, then double tap to drop.`,dragStartedVirtual:`Started dragging. Navigate to a drop target, then click or press Enter to drop.`,endDragKeyboard:`Dragging. Press Enter to cancel drag.`,endDragTouch:`Dragging. Double tap to cancel drag.`,endDragVirtual:`Dragging. Click to cancel drag.`,dropDescriptionKeyboard:`Press Enter to drop. Press Escape to cancel drag.`,dropDescriptionTouch:`Double tap to drop.`,dropDescriptionVirtual:`Click to drop.`,dropCanceled:`Drop canceled.`,dropComplete:`Drop complete.`,dropIndicator:`drop indicator`,dropOnRoot:`Drop on`,dropOnItem:e=>`Drop on ${e.itemText}`,insertBefore:e=>`Insert before ${e.itemText}`,insertBetween:e=>`Insert between ${e.beforeItemText} and ${e.afterItemText}`,insertAfter:e=>`Insert after ${e.itemText}`};var fW={};fW={dragDescriptionKeyboard:`Pulse Intro para empezar a arrastrar.`,dragDescriptionKeyboardAlt:`Pulse Intro para empezar a arrastrar.`,dragDescriptionLongPress:`Mantenga pulsado para comenzar a arrastrar.`,dragDescriptionTouch:`Pulse dos veces para iniciar el arrastre.`,dragDescriptionVirtual:`Haga clic para iniciar el arrastre.`,dragItem:e=>`Arrastrar ${e.itemText}`,dragSelectedItems:(e,t)=>`Arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}`,dragSelectedKeyboard:(e,t)=>`Pulse Intro para arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pulse Alt + Intro para arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,dragSelectedLongPress:(e,t)=>`Mantenga pulsado para arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,dragStartedKeyboard:`Se ha empezado a arrastrar. Pulse el tabulador para ir al destino donde se vaya a colocar y, a continuación, pulse Intro para soltar, o pulse Escape para cancelar.`,dragStartedTouch:`Se ha empezado a arrastrar. Vaya al destino donde se vaya a colocar y, a continuación, pulse dos veces para soltar.`,dragStartedVirtual:`Se ha empezado a arrastrar. Vaya al destino donde se vaya a colocar y, a continuación, haga clic o pulse Intro para soltar.`,dropCanceled:`Se ha cancelado la colocación.`,dropComplete:`Colocación finalizada.`,dropDescriptionKeyboard:`Pulse Intro para soltar. Pulse Escape para cancelar el arrastre.`,dropDescriptionTouch:`Pulse dos veces para soltar.`,dropDescriptionVirtual:`Haga clic para soltar.`,dropIndicator:`indicador de colocación`,dropOnItem:e=>`Soltar en ${e.itemText}`,dropOnRoot:`Soltar en`,endDragKeyboard:`Arrastrando. Pulse Intro para cancelar el arrastre.`,endDragTouch:`Arrastrando. Pulse dos veces para cancelar el arrastre.`,endDragVirtual:`Arrastrando. Haga clic para cancelar el arrastre.`,insertAfter:e=>`Insertar despu\xe9s de ${e.itemText}`,insertBefore:e=>`Insertar antes de ${e.itemText}`,insertBetween:e=>`Insertar entre ${e.beforeItemText} y ${e.afterItemText}`};var pW={};pW={dragDescriptionKeyboard:`Lohistamise alustamiseks vajutage klahvi Enter.`,dragDescriptionKeyboardAlt:`Lohistamise alustamiseks vajutage klahvikombinatsiooni Alt + Enter.`,dragDescriptionLongPress:`Vajutage pikalt lohistamise alustamiseks.`,dragDescriptionTouch:`Topeltpuudutage lohistamise alustamiseks.`,dragDescriptionVirtual:`Klõpsake lohistamise alustamiseks.`,dragItem:e=>`Lohista ${e.itemText}`,dragSelectedItems:(e,t)=>`Lohista ${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud \xfcksust`,other:()=>`${t.number(e.count)} valitud \xfcksust`})}`,dragSelectedKeyboard:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud \xfcksuse`,other:()=>`${t.number(e.count)} valitud \xfcksuse`})} lohistamiseks vajutage sisestusklahvi Enter.`,dragSelectedKeyboardAlt:(e,t)=>`Lohistamiseks vajutage klahvikombinatsiooni Alt + Enter ${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud \xfcksuse`,other:()=>`${t.number(e.count)} valitud \xfcksuse`})} jaoks.`,dragSelectedLongPress:(e,t)=>`Pikk vajutus ${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud \xfcksuse`,other:()=>`${t.number(e.count)} valitud \xfcksuse`})} lohistamiseks.`,dragStartedKeyboard:`Alustati lohistamist. Kukutamise sihtmärgi juurde navigeerimiseks vajutage klahvi Tab, seejärel vajutage kukutamiseks klahvi Enter või loobumiseks klahvi Escape.`,dragStartedTouch:`Alustati lohistamist. Navigeerige kukutamise sihtmärgi juurde ja topeltpuudutage kukutamiseks.`,dragStartedVirtual:`Alustati lohistamist. Navigeerige kukutamise sihtmärgi juurde ja kukutamiseks klõpsake või vajutage klahvi Enter.`,dropCanceled:`Lohistamisest loobuti.`,dropComplete:`Lohistamine on tehtud.`,dropDescriptionKeyboard:`Kukutamiseks vajutage klahvi Enter. Lohistamisest loobumiseks vajutage klahvi Escape.`,dropDescriptionTouch:`Kukutamiseks topeltpuudutage.`,dropDescriptionVirtual:`Kukutamiseks klõpsake.`,dropIndicator:`lohistamise indikaator`,dropOnItem:e=>`Kukuta asukohta ${e.itemText}`,dropOnRoot:`Kukuta asukohta`,endDragKeyboard:`Lohistamine. Lohistamisest loobumiseks vajutage klahvi Enter.`,endDragTouch:`Lohistamine. Lohistamisest loobumiseks topeltpuudutage.`,endDragVirtual:`Lohistamine. Lohistamisest loobumiseks klõpsake.`,insertAfter:e=>`Sisesta ${e.itemText} j\xe4rele`,insertBefore:e=>`Sisesta ${e.itemText} ette`,insertBetween:e=>`Sisesta ${e.beforeItemText} ja ${e.afterItemText} vahele`};var mW={};mW={dragDescriptionKeyboard:`Aloita vetäminen painamalla Enter-näppäintä.`,dragDescriptionKeyboardAlt:`Aloita vetäminen painamalla Alt + Enter -näppäinyhdistelmää.`,dragDescriptionLongPress:`Aloita vetäminen pitämällä painettuna.`,dragDescriptionTouch:`Aloita vetäminen kaksoisnapauttamalla.`,dragDescriptionVirtual:`Aloita vetäminen napsauttamalla.`,dragItem:e=>`Ved\xe4 kohdetta ${e.itemText}`,dragSelectedItems:(e,t)=>`Ved\xe4 ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittua kohdetta`,other:()=>`${t.number(e.count)} valittua kohdetta`})}`,dragSelectedKeyboard:(e,t)=>`Ved\xe4 painamalla Enter ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittu kohde`,other:()=>`${t.number(e.count)} valittua kohdetta`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Ved\xe4 painamalla Alt + Enter ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittu kohde`,other:()=>`${t.number(e.count)} valittua kohdetta`})}.`,dragSelectedLongPress:(e,t)=>`Ved\xe4 pit\xe4m\xe4ll\xe4 painettuna ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittu kohde`,other:()=>`${t.number(e.count)} valittua kohdetta`})}.`,dragStartedKeyboard:`Vetäminen aloitettu. Siirry pudotuskohteeseen painamalla sarkainnäppäintä ja sitten pudota painamalla Enter-näppäintä tai peruuta painamalla Escape-näppäintä.`,dragStartedTouch:`Vetäminen aloitettu. Siirry pudotuskohteeseen ja pudota kaksoisnapauttamalla.`,dragStartedVirtual:`Vetäminen aloitettu. Siirry pudotuskohteeseen ja pudota napsauttamalla tai painamalla Enter-näppäintä.`,dropCanceled:`Pudotus peruutettu.`,dropComplete:`Pudotus suoritettu.`,dropDescriptionKeyboard:`Pudota painamalla Enter-näppäintä. Peruuta vetäminen painamalla Escape-näppäintä.`,dropDescriptionTouch:`Pudota kaksoisnapauttamalla.`,dropDescriptionVirtual:`Pudota napsauttamalla.`,dropIndicator:`pudotuksen ilmaisin`,dropOnItem:e=>`Pudota kohteeseen ${e.itemText}`,dropOnRoot:`Pudota kohteeseen`,endDragKeyboard:`Vedetään. Peruuta vetäminen painamalla Enter-näppäintä.`,endDragTouch:`Vedetään. Peruuta vetäminen kaksoisnapauttamalla.`,endDragVirtual:`Vedetään. Peruuta vetäminen napsauttamalla.`,insertAfter:e=>`Lis\xe4\xe4 kohteen ${e.itemText} j\xe4lkeen`,insertBefore:e=>`Lis\xe4\xe4 ennen kohdetta ${e.itemText}`,insertBetween:e=>`Lis\xe4\xe4 kohteiden ${e.beforeItemText} ja ${e.afterItemText} v\xe4liin`};var hW={};hW={dragDescriptionKeyboard:`Appuyez sur Entrée pour commencer le déplacement.`,dragDescriptionKeyboardAlt:`Appuyez sur Alt\xA0+\xA0Entrée pour commencer à faire glisser.`,dragDescriptionLongPress:`Appuyez de manière prolongée pour commencer à faire glisser.`,dragDescriptionTouch:`Touchez deux fois pour commencer le déplacement.`,dragDescriptionVirtual:`Cliquez pour commencer le déplacement.`,dragItem:e=>`D\xe9placer ${e.itemText}`,dragSelectedItems:(e,t)=>`D\xe9placer ${t.plural(e.count,{one:()=>`${t.number(e.count)} \xe9l\xe9ment s\xe9lectionn\xe9`,other:()=>`${t.number(e.count)} \xe9l\xe9ments s\xe9lectionn\xe9s`})}`,dragSelectedKeyboard:(e,t)=>`Appuyez sur Entr\xe9e pour faire glisser ${t.plural(e.count,{one:()=>`${t.number(e.count)} \xe9l\xe9ment s\xe9lectionn\xe9`,other:()=>`${t.number(e.count)} \xe9l\xe9ments s\xe9lectionn\xe9s`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Appuyez sur Alt\xa0+\xa0Entr\xe9e pour faire glisser ${t.plural(e.count,{one:()=>`${t.number(e.count)} \xe9l\xe9ment s\xe9lectionn\xe9`,other:()=>`${t.number(e.count)} \xe9l\xe9ments s\xe9lectionn\xe9s`})}.`,dragSelectedLongPress:(e,t)=>`Appuyez de mani\xe8re prolong\xe9e pour faire glisser ${t.plural(e.count,{one:()=>`${t.number(e.count)} \xe9l\xe9ment s\xe9lectionn\xe9`,other:()=>`${t.number(e.count)} \xe9l\xe9ments s\xe9lectionn\xe9s`})}.`,dragStartedKeyboard:`Déplacement commencé. Appuyez sur Tabulation pour accéder à une cible de dépôt, puis appuyez sur Entrée pour déposer, ou appuyez sur Échap pour annuler.`,dragStartedTouch:`Déplacement commencé. Accédez à une cible de dépôt, puis touchez deux fois pour déposer.`,dragStartedVirtual:`Déplacement commencé. Accédez à une cible de dépôt, puis cliquez ou appuyez sur Entrée pour déposer.`,dropCanceled:`Dépôt annulé.`,dropComplete:`Dépôt terminé.`,dropDescriptionKeyboard:`Appuyez sur Entrée pour déposer. Appuyez sur Échap pour annuler le déplacement.`,dropDescriptionTouch:`Touchez deux fois pour déposer.`,dropDescriptionVirtual:`Cliquez pour déposer.`,dropIndicator:`indicateur de dépôt`,dropOnItem:e=>`D\xe9poser sur ${e.itemText}`,dropOnRoot:`Déposer sur`,endDragKeyboard:`Déplacement. Appuyez sur Entrée pour annuler le déplacement.`,endDragTouch:`Déplacement. Touchez deux fois pour annuler le déplacement.`,endDragVirtual:`Déplacement. Cliquez pour annuler le déplacement.`,insertAfter:e=>`Ins\xe9rer apr\xe8s ${e.itemText}`,insertBefore:e=>`Ins\xe9rer avant ${e.itemText}`,insertBetween:e=>`Ins\xe9rer entre ${e.beforeItemText} et ${e.afterItemText}`};var gW={};gW={dragDescriptionKeyboard:`הקש על Enter כדי להתחיל לגרור.`,dragDescriptionKeyboardAlt:`הקש Alt + Enter כדי להתחיל לגרור.`,dragDescriptionLongPress:`לחץ לחיצה ארוכה כדי להתחיל לגרור.`,dragDescriptionTouch:`הקש פעמיים כדי להתחיל בגרירה.`,dragDescriptionVirtual:`לחץ כדי להתחיל לגרור.`,dragItem:e=>`\u{5D2}\u{5E8}\u{5D5}\u{5E8} \u{5D0}\u{5EA} ${e.itemText}`,dragSelectedItems:(e,t)=>`\u{5D2}\u{5E8}\u{5D5}\u{5E8} ${t.plural(e.count,{one:()=>`\u{5E4}\u{5E8}\u{5D9}\u{5D8} \u{5E0}\u{5D1}\u{5D7}\u{5E8} ${t.number(e.count)}`,other:()=>`${t.number(e.count)} \u{5E4}\u{5E8}\u{5D9}\u{5D8}\u{5D9}\u{5DD} \u{5E9}\u{5E0}\u{5D1}\u{5D7}\u{5E8}\u{5D5}`})}`,dragSelectedKeyboard:(e,t)=>`\u{5D4}\u{5E7}\u{5E9} \u{5E2}\u{5DC} Enter \u{5DB}\u{5D3}\u{5D9} \u{5DC}\u{5D2}\u{5E8}\u{5D5}\u{5E8} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{5E4}\u{5E8}\u{5D9}\u{5D8} \u{5E9}\u{5E0}\u{5D1}\u{5D7}\u{5E8}`,other:()=>`${t.number(e.count)} \u{5E4}\u{5E8}\u{5D9}\u{5D8}\u{5D9}\u{5DD} \u{5E9}\u{5E0}\u{5D1}\u{5D7}\u{5E8}\u{5D5}`})}.`,dragSelectedKeyboardAlt:(e,t)=>`\u{5D4}\u{5E7}\u{5E9} Alt + Enter \u{5DB}\u{5D3}\u{5D9} \u{5DC}\u{5D2}\u{5E8}\u{5D5}\u{5E8} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{5E4}\u{5E8}\u{5D9}\u{5D8} \u{5E9}\u{5E0}\u{5D1}\u{5D7}\u{5E8}`,other:()=>`${t.number(e.count)} \u{5E4}\u{5E8}\u{5D9}\u{5D8}\u{5D9}\u{5DD} \u{5E9}\u{5E0}\u{5D1}\u{5D7}\u{5E8}\u{5D5}`})}.`,dragSelectedLongPress:(e,t)=>`\u{5DC}\u{5D7}\u{5E5} \u{5DC}\u{5D7}\u{5D9}\u{5E6}\u{5D4} \u{5D0}\u{5E8}\u{5D5}\u{5DB}\u{5D4} \u{5DB}\u{5D3}\u{5D9} \u{5DC}\u{5D2}\u{5E8}\u{5D5}\u{5E8} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{5E4}\u{5E8}\u{5D9}\u{5D8} \u{5E9}\u{5E0}\u{5D1}\u{5D7}\u{5E8}`,other:()=>`${t.number(e.count)} \u{5E4}\u{5E8}\u{5D9}\u{5D8}\u{5D9}\u{5DD} \u{5E9}\u{5E0}\u{5D1}\u{5D7}\u{5E8}\u{5D5}`})}.`,dragStartedKeyboard:`התחלת לגרור. הקש על Tab כדי לנווט לנקודת הגרירה ולאחר מכן הקש על Enter כדי לשחרר או על Escape כדי לבטל.`,dragStartedTouch:`התחלת לגרור. נווט לנקודת השחרור ולאחר מכן הקש פעמיים כדי לשחרר.`,dragStartedVirtual:`התחלת לגרור. נווט לנקודת השחרור ולאחר מכן לחץ או הקש על Enter כדי לשחרר.`,dropCanceled:`השחרור בוטל.`,dropComplete:`השחרור הושלם.`,dropDescriptionKeyboard:`הקש על Enter כדי לשחרר. הקש על Escape כדי לבטל את הגרירה.`,dropDescriptionTouch:`הקש פעמיים כדי לשחרר.`,dropDescriptionVirtual:`לחץ כדי לשחרר.`,dropIndicator:`מחוון שחרור`,dropOnItem:e=>`\u{5E9}\u{5D7}\u{5E8}\u{5E8} \u{5E2}\u{5DC} ${e.itemText}`,dropOnRoot:`שחרר על`,endDragKeyboard:`גורר. הקש על Enter כדי לבטל את הגרירה.`,endDragTouch:`גורר. הקש פעמיים כדי לבטל את הגרירה.`,endDragVirtual:`גורר. לחץ כדי לבטל את הגרירה.`,insertAfter:e=>`\u{5D4}\u{5D5}\u{5E1}\u{5E3} \u{5D0}\u{5D7}\u{5E8}\u{5D9} ${e.itemText}`,insertBefore:e=>`\u{5D4}\u{5D5}\u{5E1}\u{5E3} \u{5DC}\u{5E4}\u{5E0}\u{5D9} ${e.itemText}`,insertBetween:e=>`\u{5D4}\u{5D5}\u{5E1}\u{5E3} \u{5D1}\u{5D9}\u{5DF} ${e.beforeItemText} \u{5DC}\u{5D1}\u{5D9}\u{5DF} ${e.afterItemText}`};var _W={};_W={dragDescriptionKeyboard:`Pritisnite Enter da biste počeli povlačiti.`,dragDescriptionKeyboardAlt:`Pritisnite Alt + Enter za početak povlačenja.`,dragDescriptionLongPress:`Dugo pritisnite za početak povlačenja.`,dragDescriptionTouch:`Dvaput dodirnite da biste počeli povlačiti.`,dragDescriptionVirtual:`Kliknite da biste počeli povlačiti.`,dragItem:e=>`Povucite stavku ${e.itemText}`,dragSelectedItems:(e,t)=>`Povucite ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabranu stavku`,other:()=>`ovoliko odabranih stavki: ${t.number(e.count)}`})}`,dragSelectedKeyboard:(e,t)=>`Pritisnite Enter za povla\u{10D}enje ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabrana stavka`,other:()=>`${t.number(e.count)} odabrane stavke`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pritisnite Alt + Enter za povla\u{10D}enje ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabrana stavka`,other:()=>`${t.number(e.count)} odabrane stavke`})}.`,dragSelectedLongPress:(e,t)=>`Dugo pritisnite za povla\u{10D}enje ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabrana stavka`,other:()=>`${t.number(e.count)} odabrane stavke`})}.`,dragStartedKeyboard:`Počeli ste povlačiti. Pritisnite tipku tabulatora da biste došli do cilja ispuštanja, a zatim Enter da biste ispustili stavku ili Escape da biste prekinuli povlačenje.`,dragStartedTouch:`Počeli ste povlačiti. Dođite do cilja ispuštanja, a zatim dvaput dodirnite da biste ispustili stavku.`,dragStartedVirtual:`Počeli ste povlačiti. Dođite do cilja ispuštanja, a zatim kliknite ili pritisnite Enter da biste ispustili stavku.`,dropCanceled:`Povlačenje je prekinuto.`,dropComplete:`Ispuštanje je dovršeno.`,dropDescriptionKeyboard:`Pritisnite Enter da biste ispustili stavku. Pritisnite Escape da biste prekinuli povlačenje.`,dropDescriptionTouch:`Dvaput dodirnite da biste ispustili stavku.`,dropDescriptionVirtual:`Kliknite da biste ispustili stavku.`,dropIndicator:`pokazatelj ispuštanja`,dropOnItem:e=>`Ispustite na stavku ${e.itemText}`,dropOnRoot:`Ispustite na`,endDragKeyboard:`Povlačenje. Pritisnite Enter da biste prekinuli povlačenje.`,endDragTouch:`Povlačenje. Dvaput dodirnite da biste prekinuli povlačenje.`,endDragVirtual:`Povlačenje. Kliknite da biste prekinuli povlačenje.`,insertAfter:e=>`Umetnite iza stavke ${e.itemText}`,insertBefore:e=>`Ispustite ispred stavke ${e.itemText}`,insertBetween:e=>`Umetnite izme\u{111}u stavki ${e.beforeItemText} i ${e.afterItemText}`};var vW={};vW={dragDescriptionKeyboard:`Nyomja le az Enter billentyűt a húzás megkezdéséhez.`,dragDescriptionKeyboardAlt:`Nyomja le az Alt + Enter billentyűket a húzás megkezdéséhez.`,dragDescriptionLongPress:`Hosszan nyomja meg a húzás elindításához.`,dragDescriptionTouch:`Koppintson duplán a húzás megkezdéséhez.`,dragDescriptionVirtual:`Kattintson a húzás megkezdéséhez.`,dragItem:e=>`${e.itemText} h\xfaz\xe1sa`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} kijel\xf6lt elem`,other:()=>`${t.number(e.count)} kijel\xf6lt elem`})} h\xfaz\xe1sa`,dragSelectedKeyboard:(e,t)=>`Nyomja meg az Entert ${t.plural(e.count,{one:()=>`${t.number(e.count)} kijel\xf6lt elem`,other:()=>`${t.number(e.count)} kijel\xf6lt elem`})} h\xfaz\xe1s\xe1hoz.`,dragSelectedKeyboardAlt:(e,t)=>`Nyomja meg az Alt + Enter billenty\u{171}ket ${t.plural(e.count,{one:()=>`${t.number(e.count)} kijel\xf6lt elem`,other:()=>`${t.number(e.count)} kijel\xf6lt elem`})} h\xfaz\xe1s\xe1hoz.`,dragSelectedLongPress:(e,t)=>`Tartsa lenyomva hosszan ${t.plural(e.count,{one:()=>`${t.number(e.count)} kijel\xf6lt elem`,other:()=>`${t.number(e.count)} kijel\xf6lt elem`})} h\xfaz\xe1s\xe1hoz.`,dragStartedKeyboard:`Húzás megkezdve. Nyomja le a Tab billentyűt az elengedési célhoz navigálásához, majd nyomja le az Enter billentyűt az elengedéshez, vagy nyomja le az Escape billentyűt a megszakításhoz.`,dragStartedTouch:`Húzás megkezdve. Navigáljon egy elengedési célhoz, majd koppintson duplán az elengedéshez.`,dragStartedVirtual:`Húzás megkezdve. Navigáljon egy elengedési célhoz, majd kattintson vagy nyomja le az Enter billentyűt az elengedéshez.`,dropCanceled:`Elengedés megszakítva.`,dropComplete:`Elengedés teljesítve.`,dropDescriptionKeyboard:`Nyomja le az Enter billentyűt az elengedéshez. Nyomja le az Escape billentyűt a húzás megszakításához.`,dropDescriptionTouch:`Koppintson duplán az elengedéshez.`,dropDescriptionVirtual:`Kattintson az elengedéshez.`,dropIndicator:`elengedésjelző`,dropOnItem:e=>`Elenged\xe9s erre: ${e.itemText}`,dropOnRoot:`Elengedés erre:`,endDragKeyboard:`Húzás folyamatban. Nyomja le az Enter billentyűt a húzás megszakításához.`,endDragTouch:`Húzás folyamatban. Koppintson duplán a húzás megszakításához.`,endDragVirtual:`Húzás folyamatban. Kattintson a húzás megszakításához.`,insertAfter:e=>`Besz\xfar\xe1s ${e.itemText} ut\xe1n`,insertBefore:e=>`Besz\xfar\xe1s ${e.itemText} el\xe9`,insertBetween:e=>`Besz\xfar\xe1s ${e.beforeItemText} \xe9s ${e.afterItemText} k\xf6z\xe9`};var yW={};yW={dragDescriptionKeyboard:`Premi Invio per iniziare a trascinare.`,dragDescriptionKeyboardAlt:`Premi Alt + Invio per iniziare a trascinare.`,dragDescriptionLongPress:`Premi a lungo per iniziare a trascinare.`,dragDescriptionTouch:`Tocca due volte per iniziare a trascinare.`,dragDescriptionVirtual:`Fai clic per iniziare a trascinare.`,dragItem:e=>`Trascina ${e.itemText}`,dragSelectedItems:(e,t)=>`Trascina ${t.plural(e.count,{one:()=>`${t.number(e.count)} altro elemento selezionato`,other:()=>`${t.number(e.count)} altri elementi selezionati`})}`,dragSelectedKeyboard:(e,t)=>`Premi Invio per trascinare ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Premi Alt + Invio per trascinare ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,dragSelectedLongPress:(e,t)=>`Premi a lungo per trascinare ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,dragStartedKeyboard:`Hai iniziato a trascinare. Premi Tab per arrivare sull’area di destinazione, quindi premi Invio per rilasciare o Esc per annullare.`,dragStartedTouch:`Hai iniziato a trascinare. Arriva sull’area di destinazione, quindi tocca due volte per rilasciare.`,dragStartedVirtual:`Hai iniziato a trascinare. Arriva sull’area di destinazione, quindi fai clic o premi Invio per rilasciare.`,dropCanceled:`Rilascio annullato.`,dropComplete:`Rilascio completato.`,dropDescriptionKeyboard:`Premi Invio per rilasciare. Premi Esc per annullare.`,dropDescriptionTouch:`Tocca due volte per rilasciare.`,dropDescriptionVirtual:`Fai clic per rilasciare.`,dropIndicator:`indicatore di rilascio`,dropOnItem:e=>`Rilascia su ${e.itemText}`,dropOnRoot:`Rilascia su`,endDragKeyboard:`Trascinamento. Premi Invio per annullare.`,endDragTouch:`Trascinamento. Tocca due volte per annullare.`,endDragVirtual:`Trascinamento. Fai clic per annullare.`,insertAfter:e=>`Inserisci dopo ${e.itemText}`,insertBefore:e=>`Inserisci prima di ${e.itemText}`,insertBetween:e=>`Inserisci tra ${e.beforeItemText} e ${e.afterItemText}`};var bW={};bW={dragDescriptionKeyboard:`Enter キーを押してドラッグを開始してください。`,dragDescriptionKeyboardAlt:`Alt+Enter キーを押してドラッグを開始します。`,dragDescriptionLongPress:`長押ししてドラッグを開始します。`,dragDescriptionTouch:`ダブルタップしてドラッグを開始します。`,dragDescriptionVirtual:`クリックしてドラッグを開始します。`,dragItem:e=>`${e.itemText} \u{3092}\u{30C9}\u{30E9}\u{30C3}\u{30B0}`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{500B}\u{306E}\u{9078}\u{629E}\u{9805}\u{76EE}`,other:()=>`${t.number(e.count)} \u{500B}\u{306E}\u{9078}\u{629E}\u{9805}\u{76EE}`})} \u{3092}\u{30C9}\u{30E9}\u{30C3}\u{30B0}`,dragSelectedKeyboard:(e,t)=>`Enter \u{30AD}\u{30FC}\u{3092}\u{62BC}\u{3057}\u{3066}\u{3001}${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{9078}\u{629E}\u{3057}\u{305F}\u{9805}\u{76EE}`,other:()=>`${t.number(e.count)} \u{9078}\u{629E}\u{3057}\u{305F}\u{9805}\u{76EE}`})}\u{3092}\u{30C9}\u{30E9}\u{30C3}\u{30B0}\u{3057}\u{307E}\u{3059}\u{3002}`,dragSelectedKeyboardAlt:(e,t)=>`Alt+Enter \u{30AD}\u{30FC}\u{3092}\u{62BC}\u{3057}\u{3066}\u{3001}${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{9078}\u{629E}\u{3057}\u{305F}\u{9805}\u{76EE}`,other:()=>`${t.number(e.count)} \u{9078}\u{629E}\u{3057}\u{305F}\u{9805}\u{76EE}`})}\u{3092}\u{30C9}\u{30E9}\u{30C3}\u{30B0}\u{3057}\u{307E}\u{3059}\u{3002}`,dragSelectedLongPress:(e,t)=>`\u{9577}\u{62BC}\u{3057}\u{3057}\u{3066}\u{3001}${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{9078}\u{629E}\u{3057}\u{305F}\u{9805}\u{76EE}`,other:()=>`${t.number(e.count)} \u{9078}\u{629E}\u{3057}\u{305F}\u{9805}\u{76EE}`})}\u{3092}\u{30C9}\u{30E9}\u{30C3}\u{30B0}\u{3057}\u{307E}\u{3059}\u{3002}`,dragStartedKeyboard:`ドラッグを開始します。Tab キーを押してドロップターゲットにいどうし、Enter キーを押してドロップするか、Esc キーを押してキャンセルします。`,dragStartedTouch:`ドラッグを開始しました。ドロップのターゲットに移動し、ダブルタップしてドロップします。`,dragStartedVirtual:`ドラッグを開始しました。ドロップのターゲットに移動し、クリックまたは Enter キーを押してドロップします。`,dropCanceled:`ドロップがキャンセルされました。`,dropComplete:`ドロップが完了しました。`,dropDescriptionKeyboard:`Enter キーを押してドロップします。Esc キーを押してドラッグをキャンセルします。`,dropDescriptionTouch:`ダブルタップしてドロップします。`,dropDescriptionVirtual:`クリックしてドロップします。`,dropIndicator:`ドロップインジケーター`,dropOnItem:e=>`${e.itemText} \u{306B}\u{30C9}\u{30ED}\u{30C3}\u{30D7}`,dropOnRoot:`ドロップ場所`,endDragKeyboard:`ドラッグしています。Enter キーを押してドラッグをキャンセルします。`,endDragTouch:`ドラッグしています。ダブルタップしてドラッグをキャンセルします。`,endDragVirtual:`ドラッグしています。クリックしてドラッグをキャンセルします。`,insertAfter:e=>`${e.itemText} \u{306E}\u{5F8C}\u{306B}\u{633F}\u{5165}`,insertBefore:e=>`${e.itemText} \u{306E}\u{524D}\u{306B}\u{633F}\u{5165}`,insertBetween:e=>`${e.beforeItemText} \u{3068} ${e.afterItemText} \u{306E}\u{9593}\u{306B}\u{633F}\u{5165}`};var xW={};xW={dragDescriptionKeyboard:`드래그를 시작하려면 Enter를 누르세요.`,dragDescriptionKeyboardAlt:`드래그를 시작하려면 Alt + Enter를 누르십시오.`,dragDescriptionLongPress:`드래그를 시작하려면 길게 누르십시오.`,dragDescriptionTouch:`드래그를 시작하려면 더블 탭하세요.`,dragDescriptionVirtual:`드래그를 시작하려면 클릭하세요.`,dragItem:e=>`${e.itemText} \u{B4DC}\u{B798}\u{ADF8}`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}\u{AC1C} \u{C120}\u{D0DD} \u{D56D}\u{BAA9}`,other:()=>`${t.number(e.count)}\u{AC1C} \u{C120}\u{D0DD} \u{D56D}\u{BAA9}`})} \u{B4DC}\u{B798}\u{ADF8}`,dragSelectedKeyboard:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}\u{AC1C} \u{C120}\u{D0DD} \u{D56D}\u{BAA9}`,other:()=>`${t.number(e.count)}\u{AC1C} \u{C120}\u{D0DD} \u{D56D}\u{BAA9}`})}\u{C744} \u{B4DC}\u{B798}\u{ADF8}\u{D558}\u{B824}\u{BA74} Enter\u{B97C} \u{B204}\u{B974}\u{C2ED}\u{C2DC}\u{C624}.`,dragSelectedKeyboardAlt:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}\u{AC1C} \u{C120}\u{D0DD} \u{D56D}\u{BAA9}`,other:()=>`${t.number(e.count)}\u{AC1C} \u{C120}\u{D0DD} \u{D56D}\u{BAA9}`})}\u{C744} \u{B4DC}\u{B798}\u{ADF8}\u{D558}\u{B824}\u{BA74} Alt + Enter\u{B97C} \u{B204}\u{B974}\u{C2ED}\u{C2DC}\u{C624}.`,dragSelectedLongPress:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}\u{AC1C} \u{C120}\u{D0DD} \u{D56D}\u{BAA9}`,other:()=>`${t.number(e.count)}\u{AC1C} \u{C120}\u{D0DD} \u{D56D}\u{BAA9}`})}\u{C744} \u{B4DC}\u{B798}\u{ADF8}\u{D558}\u{B824}\u{BA74} \u{AE38}\u{AC8C} \u{B204}\u{B974}\u{C2ED}\u{C2DC}\u{C624}.`,dragStartedKeyboard:`드래그가 시작되었습니다. Tab을 눌러 드롭 대상으로 이동한 다음 Enter를 눌러 드롭하거나 Esc를 눌러 취소하세요.`,dragStartedTouch:`드래그가 시작되었습니다. 드롭 대상으로 이동한 다음 더블 탭하여 드롭하세요.`,dragStartedVirtual:`드래그가 시작되었습니다. 드롭 대상으로 이동한 다음 클릭하거나 Enter를 눌러 드롭하세요.`,dropCanceled:`드롭이 취소되었습니다.`,dropComplete:`드롭이 완료되었습니다.`,dropDescriptionKeyboard:`드롭하려면 Enter를 누르세요. 드래그를 취소하려면 Esc를 누르세요.`,dropDescriptionTouch:`더블 탭하여 드롭하세요.`,dropDescriptionVirtual:`드롭하려면 클릭하세요.`,dropIndicator:`드롭 표시기`,dropOnItem:e=>`${e.itemText}\u{C5D0} \u{B4DC}\u{B86D}`,dropOnRoot:`드롭 대상`,endDragKeyboard:`드래그 중입니다. 드래그를 취소하려면 Enter를 누르세요.`,endDragTouch:`드래그 중입니다. 드래그를 취소하려면 더블 탭하세요.`,endDragVirtual:`드래그 중입니다. 드래그를 취소하려면 클릭하세요.`,insertAfter:e=>`${e.itemText} \u{C774}\u{D6C4}\u{C5D0} \u{C0BD}\u{C785}`,insertBefore:e=>`${e.itemText} \u{C774}\u{C804}\u{C5D0} \u{C0BD}\u{C785}`,insertBetween:e=>`${e.beforeItemText} \u{BC0F} ${e.afterItemText} \u{C0AC}\u{C774}\u{C5D0} \u{C0BD}\u{C785}`};var SW={};SW={dragDescriptionKeyboard:`Paspauskite „Enter“, kad pradėtumėte vilkti.`,dragDescriptionKeyboardAlt:`Paspauskite „Alt + Enter“, kad pradėtumėte vilkti.`,dragDescriptionLongPress:`Palaikykite nuspaudę, kad pradėtumėte vilkti.`,dragDescriptionTouch:`Palieskite dukart, kad pradėtumėte vilkti.`,dragDescriptionVirtual:`Spustelėkite, kad pradėtumėte vilkti.`,dragItem:e=>`Vilkti ${e.itemText}`,dragSelectedItems:(e,t)=>`Vilkti ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinkt\u{105} element\u{105}`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}`,dragSelectedKeyboard:(e,t)=>`Paspauskite \u{201E}Enter\u{201C}, jei norite nuvilkti ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinkt\u{105} element\u{105}`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Paspauskite \u{201E}Alt + Enter\u{201C}, kad nuvilktum\u{117}te ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinkt\u{105} element\u{105}`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}.`,dragSelectedLongPress:(e,t)=>`Nuspaud\u{119} palaikykite, kad nuvilktum\u{117}te ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinkt\u{105} element\u{105}`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}.`,dragStartedKeyboard:`Pradėta vilkti. Paspauskite „Tab“, kad pereitumėte į tiesioginę paskirties vietą, tada paspauskite „Enter“, kad numestumėte, arba „Escape“, kad atšauktumėte.`,dragStartedTouch:`Pradėta vilkti. Eikite į tiesioginę paskirties vietą, tada palieskite dukart, kad numestumėte.`,dragStartedVirtual:`Pradėta vilkti. Eikite į tiesioginę paskirties vietą ir spustelėkite arba paspauskite „Enter“, kad numestumėte.`,dropCanceled:`Numetimas atšauktas.`,dropComplete:`Numesta.`,dropDescriptionKeyboard:`Paspauskite „Enter“, kad numestumėte. Paspauskite „Escape“, kad atšauktumėte vilkimą.`,dropDescriptionTouch:`Palieskite dukart, kad numestumėte.`,dropDescriptionVirtual:`Spustelėkite, kad numestumėte.`,dropIndicator:`numetimo indikatorius`,dropOnItem:e=>`Numesti ant ${e.itemText}`,dropOnRoot:`Numesti ant`,endDragKeyboard:`Velkama. Paspauskite „Enter“, kad atšauktumėte vilkimą.`,endDragTouch:`Velkama. Spustelėkite dukart, kad atšauktumėte vilkimą.`,endDragVirtual:`Velkama. Spustelėkite, kad atšauktumėte vilkimą.`,insertAfter:e=>`\u{12E}terpti po ${e.itemText}`,insertBefore:e=>`\u{12E}terpti prie\u{161} ${e.itemText}`,insertBetween:e=>`\u{12E}terpti tarp ${e.beforeItemText} ir ${e.afterItemText}`};var CW={};CW={dragDescriptionKeyboard:`Nospiediet Enter, lai sāktu vilkšanu.`,dragDescriptionKeyboardAlt:`Nospiediet taustiņu kombināciju Alt+Enter, lai sāktu vilkšanu.`,dragDescriptionLongPress:`Turiet nospiestu, lai sāktu vilkšanu.`,dragDescriptionTouch:`Veiciet dubultskārienu, lai sāktu vilkšanu.`,dragDescriptionVirtual:`Noklikšķiniet, lai sāktu vilkšanu.`,dragItem:e=>`Velciet ${e.itemText}`,dragSelectedItems:(e,t)=>`Velciet ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlas\u{12B}to vienumu`,other:()=>`${t.number(e.count)} atlas\u{12B}tos vienumus`})}`,dragSelectedKeyboard:(e,t)=>`Nospiediet tausti\u{146}u Enter, lai vilktu ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlas\u{12B}to vienumu`,other:()=>`${t.number(e.count)} atlas\u{12B}tos vienumus`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Nospiediet tausti\u{146}u kombin\u{101}ciju Alt+Enter, lai vilktu ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlas\u{12B}to vienumu`,other:()=>`${t.number(e.count)} atlas\u{12B}tos vienumus`})}.`,dragSelectedLongPress:(e,t)=>`Turiet nospiestu, lai vilktu ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlas\u{12B}to vienumu`,other:()=>`${t.number(e.count)} atlas\u{12B}tos vienumus`})}.`,dragStartedKeyboard:`Uzsākta vilkšana. Nospiediet taustiņu Tab, lai pārietu uz nomešanas mērķi, pēc tam nospiediet Enter, lai nomestu, vai nospiediet Escape, lai atceltu.`,dragStartedTouch:`Uzsākta vilkšana. Pārejiet uz nomešanas mērķi, pēc tam veiciet dubultskārienu, lai nomestu.`,dragStartedVirtual:`Uzsākta vilkšana. Pārejiet uz nomešanas mērķi, pēc tam nospiediet Enter, lai nomestu.`,dropCanceled:`Nomešana atcelta.`,dropComplete:`Nomešana pabeigta.`,dropDescriptionKeyboard:`Nospiediet Enter, lai nomestu. Nospiediet Escape, lai atceltu vilkšanu.`,dropDescriptionTouch:`Veiciet dubultskārienu, lai nomestu.`,dropDescriptionVirtual:`Noklikšķiniet, lai nomestu.`,dropIndicator:`nomešanas indikators`,dropOnItem:e=>`Nometiet uz ${e.itemText}`,dropOnRoot:`Nometiet uz`,endDragKeyboard:`Notiek vilkšana. Nospiediet Enter, lai atceltu vilkšanu.`,endDragTouch:`Notiek vilkšana. Veiciet dubultskārienu, lai atceltu vilkšanu.`,endDragVirtual:`Notiek vilkšana. Noklikšķiniet, lai atceltu vilkšanu.`,insertAfter:e=>`Ievietojiet p\u{113}c ${e.itemText}`,insertBefore:e=>`Ievietojiet pirms ${e.itemText}`,insertBetween:e=>`Ievietojiet starp ${e.beforeItemText} un ${e.afterItemText}`};var wW={};wW={dragDescriptionKeyboard:`Trykk på Enter for å begynne å dra.`,dragDescriptionKeyboardAlt:`Trykk på Alt + Enter for å begynne å dra.`,dragDescriptionLongPress:`Trykk lenge for å begynne å dra.`,dragDescriptionTouch:`Dobbelttrykk for å begynne å dra.`,dragDescriptionVirtual:`Klikk for å begynne å dra.`,dragItem:e=>`Dra ${e.itemText}`,dragSelectedItems:(e,t)=>`Dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} merket element`,other:()=>`${t.number(e.count)} merkede elementer`})}`,dragSelectedKeyboard:(e,t)=>`Trykk Enter for \xe5 dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Trykk p\xe5 Alt + Enter for \xe5 dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedLongPress:(e,t)=>`Trykk lenge for \xe5 dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragStartedKeyboard:`Begynte å dra. Trykk på Tab for å navigere til et mål, og trykk deretter på Enter for å slippe eller på Esc for å avbryte.`,dragStartedTouch:`Begynte å dra. Naviger til et mål, og dobbelttrykk for å slippe.`,dragStartedVirtual:`Begynte å dra. Naviger til et mål, og klikk eller trykk på Enter for å slippe.`,dropCanceled:`Avbrøt slipping.`,dropComplete:`Slippingen er fullført.`,dropDescriptionKeyboard:`Trykk på Enter for å slippe. Trykk på Esc hvis du vil avbryte draingen.`,dropDescriptionTouch:`Dobbelttrykk for å slippe.`,dropDescriptionVirtual:`Klikk for å slippe.`,dropIndicator:`slippeindikator`,dropOnItem:e=>`Slipp p\xe5 ${e.itemText}`,dropOnRoot:`Slipp på`,endDragKeyboard:`Drar. Trykk på Enter hvis du vil avbryte.`,endDragTouch:`Drar. Dobbelttrykk hvis du vil avbryte.`,endDragVirtual:`Drar. Klikk hvis du vil avbryte.`,insertAfter:e=>`Sett inn etter ${e.itemText}`,insertBefore:e=>`Sett inn f\xf8r ${e.itemText}`,insertBetween:e=>`Sett inn mellom ${e.beforeItemText} og ${e.afterItemText}`};var TW={};TW={dragDescriptionKeyboard:`Druk op Enter om te slepen.`,dragDescriptionKeyboardAlt:`Druk op Alt + Enter om te slepen.`,dragDescriptionLongPress:`Houd lang ingedrukt om te slepen.`,dragDescriptionTouch:`Dubbeltik om te slepen.`,dragDescriptionVirtual:`Klik om met slepen te starten.`,dragItem:e=>`${e.itemText} slepen`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} slepen`,dragSelectedKeyboard:(e,t)=>`Druk op Enter om ${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} te slepen.`,dragSelectedKeyboardAlt:(e,t)=>`Druk op Alt + Enter om ${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} te slepen.`,dragSelectedLongPress:(e,t)=>`Houd lang ingedrukt om ${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} te slepen.`,dragStartedKeyboard:`Begonnen met slepen. Druk op Tab om naar een locatie te gaan. Druk dan op Enter om neer te zetten, of op Esc om te annuleren.`,dragStartedTouch:`Begonnen met slepen. Ga naar de gewenste locatie en dubbeltik om neer te zetten.`,dragStartedVirtual:`Begonnen met slepen. Ga naar de gewenste locatie en klik of druk op Enter om neer te zetten.`,dropCanceled:`Neerzetten geannuleerd.`,dropComplete:`Neerzetten voltooid.`,dropDescriptionKeyboard:`Druk op Enter om neer te zetten. Druk op Esc om het slepen te annuleren.`,dropDescriptionTouch:`Dubbeltik om neer te zetten.`,dropDescriptionVirtual:`Klik om neer te zetten.`,dropIndicator:`aanwijzer voor neerzetten`,dropOnItem:e=>`Neerzetten op ${e.itemText}`,dropOnRoot:`Neerzetten op`,endDragKeyboard:`Bezig met slepen. Druk op Enter om te annuleren.`,endDragTouch:`Bezig met slepen. Dubbeltik om te annuleren.`,endDragVirtual:`Bezig met slepen. Klik om te annuleren.`,insertAfter:e=>`Plaatsen na ${e.itemText}`,insertBefore:e=>`Plaatsen v\xf3\xf3r ${e.itemText}`,insertBetween:e=>`Plaatsen tussen ${e.beforeItemText} en ${e.afterItemText}`};var EW={};EW={dragDescriptionKeyboard:`Naciśnij Enter, aby rozpocząć przeciąganie.`,dragDescriptionKeyboardAlt:`Naciśnij Alt + Enter, aby rozpocząć przeciąganie.`,dragDescriptionLongPress:`Naciśnij i przytrzymaj, aby rozpocząć przeciąganie.`,dragDescriptionTouch:`Dotknij dwukrotnie, aby rozpocząć przeciąganie.`,dragDescriptionVirtual:`Kliknij, aby rozpocząć przeciąganie.`,dragItem:e=>`Przeci\u{105}gnij ${e.itemText}`,dragSelectedItems:(e,t)=>`Przeci\u{105}gnij ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybranych element\xf3w`})}`,dragSelectedKeyboard:(e,t)=>`Naci\u{15B}nij Enter, aby przeci\u{105}gn\u{105}\u{107} ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybrane(-ych) elementy(-\xf3w)`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Naci\u{15B}nij Alt + Enter, aby przeci\u{105}gn\u{105}\u{107} ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybrane(-ych) elementy(-\xf3w)`})}.`,dragSelectedLongPress:(e,t)=>`Naci\u{15B}nij i przytrzymaj, aby przeci\u{105}gn\u{105}\u{107} ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybrane(-ych) elementy(-\xf3w)`})}.`,dragStartedKeyboard:`Rozpoczęto przeciąganie. Naciśnij Tab, aby wybrać miejsce docelowe, a następnie naciśnij Enter, aby upuścić, lub Escape, aby anulować.`,dragStartedTouch:`Rozpoczęto przeciąganie. Wybierz miejsce, w którym chcesz upuścić element, a następnie dotknij dwukrotnie, aby upuścić.F`,dragStartedVirtual:`Rozpoczęto przeciąganie. Wybierz miejsce, w którym chcesz upuścić element, a następnie kliknij lub naciśnij Enter, aby upuścić.`,dropCanceled:`Anulowano upuszczenie.`,dropComplete:`Zakończono upuszczanie.`,dropDescriptionKeyboard:`Naciśnij Enter, aby upuścić. Naciśnij Escape, aby anulować przeciągnięcie.`,dropDescriptionTouch:`Dotknij dwukrotnie, aby upuścić.`,dropDescriptionVirtual:`Kliknij, aby upuścić.`,dropIndicator:`wskaźnik upuszczenia`,dropOnItem:e=>`Upu\u{15B}\u{107} na ${e.itemText}`,dropOnRoot:`Upuść`,endDragKeyboard:`Przeciąganie. Naciśnij Enter, aby anulować przeciągnięcie.`,endDragTouch:`Przeciąganie. Kliknij dwukrotnie, aby anulować przeciągnięcie.`,endDragVirtual:`Przeciąganie. Kliknij, aby anulować przeciąganie.`,insertAfter:e=>`Umie\u{15B}\u{107} za ${e.itemText}`,insertBefore:e=>`Umie\u{15B}\u{107} przed ${e.itemText}`,insertBetween:e=>`Umie\u{15B}\u{107} mi\u{119}dzy ${e.beforeItemText} i ${e.afterItemText}`};var DW={};DW={dragDescriptionKeyboard:`Pressione Enter para começar a arrastar.`,dragDescriptionKeyboardAlt:`Pressione Alt + Enter para começar a arrastar.`,dragDescriptionLongPress:`Pressione e segure para começar a arrastar.`,dragDescriptionTouch:`Toque duas vezes para começar a arrastar.`,dragDescriptionVirtual:`Clique para começar a arrastar.`,dragItem:e=>`Arrastar ${e.itemText}`,dragSelectedItems:(e,t)=>`Arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}`,dragSelectedKeyboard:(e,t)=>`Pressione Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pressione Alt + Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedLongPress:(e,t)=>`Pressione e segure para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragStartedKeyboard:`Comece a arrastar. Pressione Tab para navegar até um alvo e, em seguida, pressione Enter para soltar ou pressione Escape para cancelar.`,dragStartedTouch:`Comece a arrastar. Navegue até um alvo e toque duas vezes para soltar.`,dragStartedVirtual:`Comece a arrastar. Navegue até um alvo e clique ou pressione Enter para soltar.`,dropCanceled:`Liberação cancelada.`,dropComplete:`Liberação concluída.`,dropDescriptionKeyboard:`Pressione Enter para soltar. Pressione Escape para cancelar.`,dropDescriptionTouch:`Toque duas vezes para soltar.`,dropDescriptionVirtual:`Clique para soltar.`,dropIndicator:`indicador de liberação`,dropOnItem:e=>`Soltar em ${e.itemText}`,dropOnRoot:`Soltar`,endDragKeyboard:`Arrastando. Pressione Enter para cancelar.`,endDragTouch:`Arrastando. Toque duas vezes para cancelar.`,endDragVirtual:`Arrastando. Clique para cancelar.`,insertAfter:e=>`Inserir ap\xf3s ${e.itemText}`,insertBefore:e=>`Inserir antes de ${e.itemText}`,insertBetween:e=>`Inserir entre ${e.beforeItemText} e ${e.afterItemText}`};var OW={};OW={dragDescriptionKeyboard:`Prima Enter para iniciar o arrasto.`,dragDescriptionKeyboardAlt:`Prima Alt + Enter para iniciar o arrasto.`,dragDescriptionLongPress:`Prima longamente para começar a arrastar.`,dragDescriptionTouch:`Faça duplo toque para começar a arrastar.`,dragDescriptionVirtual:`Clique para iniciar o arrasto.`,dragItem:e=>`Arrastar ${e.itemText}`,dragSelectedItems:(e,t)=>`Arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}`,dragSelectedKeyboard:(e,t)=>`Prima Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Prima Alt + Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedLongPress:(e,t)=>`Prima longamente para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragStartedKeyboard:`Arrasto iniciado. Prima a tecla de tabulação para navegar para um destino para largar, e em seguida prima Enter para largar ou prima Escape para cancelar.`,dragStartedTouch:`Arrasto iniciado. Navegue para um destino para largar, e em seguida faça duplo toque para largar.`,dragStartedVirtual:`Arrasto iniciado. Navegue para um destino para largar, e em seguida clique ou prima Enter para largar.`,dropCanceled:`Largar cancelado.`,dropComplete:`Largar completo.`,dropDescriptionKeyboard:`Prima Enter para largar. Prima Escape para cancelar o arrasto.`,dropDescriptionTouch:`Faça duplo toque para largar.`,dropDescriptionVirtual:`Clique para largar.`,dropIndicator:`Indicador de largar`,dropOnItem:e=>`Largar em ${e.itemText}`,dropOnRoot:`Largar em`,endDragKeyboard:`A arrastar. Prima Enter para cancelar o arrasto.`,endDragTouch:`A arrastar. Faça duplo toque para cancelar o arrasto.`,endDragVirtual:`A arrastar. Clique para cancelar o arrasto.`,insertAfter:e=>`Inserir depois de ${e.itemText}`,insertBefore:e=>`Inserir antes de ${e.itemText}`,insertBetween:e=>`Inserir entre ${e.beforeItemText} e ${e.afterItemText}`};var kW={};kW={dragDescriptionKeyboard:`Apăsați pe Enter pentru a începe glisarea.`,dragDescriptionKeyboardAlt:`Apăsați pe Alt + Enter pentru a începe glisarea.`,dragDescriptionLongPress:`Apăsați lung pentru a începe glisarea.`,dragDescriptionTouch:`Atingeți de două ori pentru a începe să glisați.`,dragDescriptionVirtual:`Faceți clic pentru a începe glisarea.`,dragItem:e=>`Glisa\u{21B}i ${e.itemText}`,dragSelectedItems:(e,t)=>`Glisa\u{21B}i ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}`,dragSelectedKeyboard:(e,t)=>`Ap\u{103}sa\u{21B}i pe Enter pentru a glisa ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Ap\u{103}sa\u{21B}i pe Alt + Enter pentru a glisa ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,dragSelectedLongPress:(e,t)=>`Ap\u{103}sa\u{21B}i lung pentru a glisa ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,dragStartedKeyboard:`A început glisarea. Apăsați pe Tab pentru a naviga la o țintă de fixare, apoi apăsați pe Enter pentru a fixa sau apăsați pe Escape pentru a anula glisarea.`,dragStartedTouch:`A început glisarea. Navigați la o țintă de fixare, apoi atingeți de două ori pentru a fixa.`,dragStartedVirtual:`A început glisarea. Navigați la o țintă de fixare, apoi faceți clic sau apăsați pe Enter pentru a fixa.`,dropCanceled:`Fixare anulată.`,dropComplete:`Fixare finalizată.`,dropDescriptionKeyboard:`Apăsați pe Enter pentru a fixa. Apăsați pe Escape pentru a anula glisarea.`,dropDescriptionTouch:`Atingeți de două ori pentru a fixa.`,dropDescriptionVirtual:`Faceți clic pentru a fixa.`,dropIndicator:`indicator de fixare`,dropOnItem:e=>`Fixa\u{21B}i pe ${e.itemText}`,dropOnRoot:`Fixare pe`,endDragKeyboard:`Se glisează. Apăsați pe Enter pentru a anula glisarea.`,endDragTouch:`Se glisează. Atingeți de două ori pentru a anula glisarea.`,endDragVirtual:`Se glisează. Faceți clic pentru a anula glisarea.`,insertAfter:e=>`Insera\u{21B}i dup\u{103} ${e.itemText}`,insertBefore:e=>`Insera\u{21B}i \xeenainte de ${e.itemText}`,insertBetween:e=>`Insera\u{21B}i \xeentre ${e.beforeItemText} \u{219}i ${e.afterItemText}`};var AW={};AW={dragDescriptionKeyboard:`Нажмите клавишу Enter для начала перетаскивания.`,dragDescriptionKeyboardAlt:`Нажмите Alt + Enter, чтобы начать перетаскивать.`,dragDescriptionLongPress:`Нажмите и удерживайте, чтобы начать перетаскивать.`,dragDescriptionTouch:`Дважды нажмите для начала перетаскивания.`,dragDescriptionVirtual:`Щелкните для начала перетаскивания.`,dragItem:e=>`\u{41F}\u{435}\u{440}\u{435}\u{442}\u{430}\u{449}\u{438}\u{442}\u{44C} ${e.itemText}`,dragSelectedItems:(e,t)=>`\u{41F}\u{435}\u{440}\u{435}\u{442}\u{430}\u{449}\u{438}\u{442}\u{44C} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{44B}\u{439} \u{44D}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}`,other:()=>`${t.number(e.count)} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{44B}\u{445} \u{44D}\u{43B}\u{435}\u{43C}`})}`,dragSelectedKeyboard:(e,t)=>`\u{41D}\u{430}\u{436}\u{43C}\u{438}\u{442}\u{435} Enter \u{434}\u{43B}\u{44F} \u{43F}\u{435}\u{440}\u{435}\u{442}\u{430}\u{441}\u{43A}\u{438}\u{432}\u{430}\u{43D}\u{438}\u{44F} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{43E}\u{433}\u{43E} \u{44D}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{430}`,other:()=>`${t.number(e.count)} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{44B}\u{445} \u{44D}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{43E}\u{432}`})}.`,dragSelectedKeyboardAlt:(e,t)=>`\u{41D}\u{430}\u{436}\u{43C}\u{438}\u{442}\u{435} Alt + Enter \u{434}\u{43B}\u{44F} \u{43F}\u{435}\u{440}\u{435}\u{442}\u{430}\u{441}\u{43A}\u{438}\u{432}\u{430}\u{43D}\u{438}\u{44F} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{43E}\u{433}\u{43E} \u{44D}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{430}`,other:()=>`${t.number(e.count)} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{44B}\u{445} \u{44D}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{43E}\u{432}`})}.`,dragSelectedLongPress:(e,t)=>`\u{41D}\u{430}\u{436}\u{43C}\u{438}\u{442}\u{435} \u{438} \u{443}\u{434}\u{435}\u{440}\u{436}\u{438}\u{432}\u{430}\u{439}\u{442}\u{435} \u{434}\u{43B}\u{44F} \u{43F}\u{435}\u{440}\u{435}\u{442}\u{430}\u{441}\u{43A}\u{438}\u{432}\u{430}\u{43D}\u{438}\u{44F} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{43E}\u{433}\u{43E} \u{44D}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{430}`,other:()=>`${t.number(e.count)} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{44B}\u{445} \u{44D}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{43E}\u{432}`})}.`,dragStartedKeyboard:`Начато перетаскивание. Нажмите клавишу Tab для выбора цели, затем нажмите клавишу Enter, чтобы применить перетаскивание, или клавишу Escape для отмены действия.`,dragStartedTouch:`Начато перетаскивание. Выберите цель, затем дважды нажмите, чтобы применить перетаскивание.`,dragStartedVirtual:`Начато перетаскивание. Нажмите клавишу Tab для выбора цели, затем нажмите клавишу Enter, чтобы применить перетаскивание.`,dropCanceled:`Перетаскивание отменено.`,dropComplete:`Перетаскивание завершено.`,dropDescriptionKeyboard:`Нажмите клавишу Enter, чтобы применить перетаскивание. Нажмите клавишу Escape для отмены.`,dropDescriptionTouch:`Дважды нажмите, чтобы применить перетаскивание.`,dropDescriptionVirtual:`Щелкните, чтобы применить перетаскивание.`,dropIndicator:`индикатор перетаскивания`,dropOnItem:e=>`\u{41F}\u{435}\u{440}\u{435}\u{442}\u{430}\u{449}\u{438}\u{442}\u{44C} \u{43D}\u{430} ${e.itemText}`,dropOnRoot:`Перетащить на`,endDragKeyboard:`Перетаскивание. Нажмите клавишу Enter для отмены.`,endDragTouch:`Перетаскивание. Дважды нажмите для отмены.`,endDragVirtual:`Перетаскивание. Щелкните для отмены.`,insertAfter:e=>`\u{412}\u{441}\u{442}\u{430}\u{432}\u{438}\u{442}\u{44C} \u{43F}\u{43E}\u{441}\u{43B}\u{435} ${e.itemText}`,insertBefore:e=>`\u{412}\u{441}\u{442}\u{430}\u{432}\u{438}\u{442}\u{44C} \u{43F}\u{435}\u{440}\u{435}\u{434} ${e.itemText}`,insertBetween:e=>`\u{412}\u{441}\u{442}\u{430}\u{432}\u{438}\u{442}\u{44C} \u{43C}\u{435}\u{436}\u{434}\u{443} ${e.beforeItemText} \u{438} ${e.afterItemText}`};var jW={};jW={dragDescriptionKeyboard:`Stlačením klávesu Enter začnete presúvanie.`,dragDescriptionKeyboardAlt:`Stlačením klávesov Alt + Enter začnete presúvanie.`,dragDescriptionLongPress:`Dlhým stlačením začnete presúvanie.`,dragDescriptionTouch:`Dvojitým kliknutím začnete presúvanie.`,dragDescriptionVirtual:`Kliknutím začnete presúvanie.`,dragItem:e=>`Presun\xfa\u{165} polo\u{17E}ku ${e.itemText}`,dragSelectedItems:(e,t)=>`Presun\xfa\u{165} ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybrat\xfa polo\u{17E}ku`,other:()=>`${t.number(e.count)} vybrat\xe9 polo\u{17E}ky`})}`,dragSelectedKeyboard:(e,t)=>`Stla\u{10D}en\xedm kl\xe1vesu Enter presuniete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybrat\xfa polo\u{17E}ku`,other:()=>`${t.number(e.count)} vybrat\xfdch polo\u{17E}iek`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Stla\u{10D}en\xedm kl\xe1vesov Alt + Enter presuniete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybrat\xfa polo\u{17E}ku`,other:()=>`${t.number(e.count)} vybrat\xfdch polo\u{17E}iek`})}.`,dragSelectedLongPress:(e,t)=>`Dlh\xfdm stla\u{10D}en\xedm presuniete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybrat\xfa polo\u{17E}ku`,other:()=>`${t.number(e.count)} vybrat\xfdch polo\u{17E}iek`})}.`,dragStartedKeyboard:`Presúvanie sa začalo. Do cieľového umiestnenia prejdete stlačením klávesu Tab. Ak chcete položku umiestniť, stlačte kláves Enter alebo stlačte kláves Esc, ak chcete presúvanie zrušiť.`,dragStartedTouch:`Presúvanie sa začalo. Prejdite na cieľové umiestnenie a dvojitým kliknutím umiestnite položku.`,dragStartedVirtual:`Presúvanie sa začalo. Prejdite na cieľové umiestnenie a kliknutím alebo stlačením klávesu Enter umiestnite položku.`,dropCanceled:`Umiestnenie zrušené.`,dropComplete:`Umiestnenie dokončené.`,dropDescriptionKeyboard:`Stlačením klávesu Enter umiestnite položku. Stlačením klávesu Esc zrušíte presúvanie.`,dropDescriptionTouch:`Dvojitým kliknutím umiestnite položku.`,dropDescriptionVirtual:`Kliknutím umiestnite položku.`,dropIndicator:`indikátor umiestnenia`,dropOnItem:e=>`Umiestni\u{165} na polo\u{17E}ku ${e.itemText}`,dropOnRoot:`Umiestniť na`,endDragKeyboard:`Prebieha presúvanie. Ak ho chcete zrušiť, stlačte kláves Enter.`,endDragTouch:`Prebieha presúvanie. Dvojitým kliknutím ho môžete zrušiť.`,endDragVirtual:`Prebieha presúvanie.`,insertAfter:e=>`Vlo\u{17E}i\u{165} za polo\u{17E}ku ${e.itemText}`,insertBefore:e=>`Vlo\u{17E}i\u{165} pred polo\u{17E}ku ${e.itemText}`,insertBetween:e=>`Vlo\u{17E}i\u{165} medzi polo\u{17E}ky ${e.beforeItemText} a ${e.afterItemText}`};var MW={};MW={dragDescriptionKeyboard:`Pritisnite tipko Enter za začetek vlečenja.`,dragDescriptionKeyboardAlt:`Pritisnite tipki Alt + Enter za začetek vlečenja.`,dragDescriptionLongPress:`Pritisnite in zadržite za začetek vlečenja.`,dragDescriptionTouch:`Dvotapnite za začetek vlečenja.`,dragDescriptionVirtual:`Kliknite za začetek vlečenja.`,dragItem:e=>`Povleci ${e.itemText}`,dragSelectedItems:(e,t)=>`Povlecite ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbran element`,other:()=>`izbrane elemente (${t.number(e.count)})`})}`,dragSelectedKeyboard:(e,t)=>`Pritisnite tipko Enter, da povle\u{10D}ete ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbrani element`,other:()=>`${t.number(e.count)} izbranih elementov`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pritisnite tipki Alt + Enter, da povle\u{10D}ete ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbrani element`,other:()=>`${t.number(e.count)} izbranih elementov`})}.`,dragSelectedLongPress:(e,t)=>`Pritisnite in zadr\u{17E}ite, da povle\u{10D}ete ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbrani element`,other:()=>`${t.number(e.count)} izbranih elementov`})}.`,dragStartedKeyboard:`Vlečenje se je začelo. Pritisnite tipko Tab za pomik na mesto, kamor želite spustiti elemente, in pritisnite tipko Enter, da jih spustite, ali tipko Escape, da prekličete postopek.`,dragStartedTouch:`Vlečenje se je začelo. Pomaknite se na mesto, kamor želite spustiti elemente, in dvotapnite, da jih spustite.`,dragStartedVirtual:`Vlečenje se je začelo. Pomaknite se na mesto, kamor želite spustiti elemente, in kliknite ali pritisnite tipko Enter, da jih spustite.`,dropCanceled:`Spust je preklican.`,dropComplete:`Spust je končan.`,dropDescriptionKeyboard:`Pritisnite tipko Enter, da spustite. Pritisnite tipko Escape, da prekličete vlečenje.`,dropDescriptionTouch:`Dvotapnite, da spustite.`,dropDescriptionVirtual:`Kliknite, da spustite.`,dropIndicator:`indikator spusta`,dropOnItem:e=>`Spusti na mesto ${e.itemText}`,dropOnRoot:`Spusti na mesto`,endDragKeyboard:`Vlečenje. Pritisnite tipko Enter za preklic vlečenja.`,endDragTouch:`Vlečenje. Dvotapnite za preklic vlečenja.`,endDragVirtual:`Vlečenje. Kliknite, da prekličete vlečenje.`,insertAfter:e=>`Vstavi za ${e.itemText}`,insertBefore:e=>`Vstavi pred ${e.itemText}`,insertBetween:e=>`Vstavi med ${e.beforeItemText} in ${e.afterItemText}`};var NW={};NW={dragDescriptionKeyboard:`Pritisnite Enter da biste započeli prevlačenje.`,dragDescriptionKeyboardAlt:`Pritisnite Alt + Enter da biste započeli prevlačenje.`,dragDescriptionLongPress:`Pritisnite dugo da biste započeli prevlačenje.`,dragDescriptionTouch:`Dvaput dodirnite da biste započeli prevlačenje.`,dragDescriptionVirtual:`Kliknite da biste započeli prevlačenje.`,dragItem:e=>`Prevucite ${e.itemText}`,dragSelectedItems:(e,t)=>`Prevucite ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabrane stavke`})}`,dragSelectedKeyboard:(e,t)=>`Pritisnite Enter da biste prevukli ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabranih stavki`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pritisnite Alt + Enter da biste prevukli ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabranih stavki`})}.`,dragSelectedLongPress:(e,t)=>`Pritisnite dugo da biste prevukli ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabranih stavki`})}.`,dragStartedKeyboard:`Prevlačenje je započeto. Pritisnite Tab da biste otišli do cilja za otpuštanje, zatim pritisnite Enter za ispuštanje ili pritisnite Escape za otkazivanje.`,dragStartedTouch:`Prevlačenje je započeto. Idite do cilja za otpuštanje, a zatim dvaput dodirnite za otpuštanje.`,dragStartedVirtual:`Prevlačenje je započeto. Idite do cilja za otpuštanje, a zatim kliknite ili pritinite Enter za otpuštanje.`,dropCanceled:`Otpuštanje je otkazano.`,dropComplete:`Prevlačenje je završeno.`,dropDescriptionKeyboard:`Pritisnite Enter da biste otpustili. Pritisnite Escape da biste otkazali prevlačenje.`,dropDescriptionTouch:`Dvaput dodirnite za otpuštanje.`,dropDescriptionVirtual:`Kliknite za otpuštanje.`,dropIndicator:`Indikator otpuštanja`,dropOnItem:e=>`Otpusti na ${e.itemText}`,dropOnRoot:`Otpusti na`,endDragKeyboard:`Prevlačenje u toku. Pritisnite Enter da biste otkazali prevlačenje.`,endDragTouch:`Prevlačenje u toku. Dvaput dodirnite da biste otkazali prevlačenje.`,endDragVirtual:`Prevlačenje u toku. Kliknite da biste otkazali prevlačenje.`,insertAfter:e=>`Umetnite posle ${e.itemText}`,insertBefore:e=>`Umetnite ispred ${e.itemText}`,insertBetween:e=>`Umetnite izme\u{111}u ${e.beforeItemText} i ${e.afterItemText}`};var PW={};PW={dragDescriptionKeyboard:`Tryck på enter för att börja dra.`,dragDescriptionKeyboardAlt:`Tryck på Alt + Retur för att börja dra.`,dragDescriptionLongPress:`Tryck länge för att börja dra.`,dragDescriptionTouch:`Dubbeltryck för att börja dra.`,dragDescriptionVirtual:`Klicka för att börja dra.`,dragItem:e=>`Dra ${e.itemText}`,dragSelectedItems:(e,t)=>`Dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valt objekt`,other:()=>`${t.number(e.count)} valda objekt`})}`,dragSelectedKeyboard:(e,t)=>`Tryck p\xe5 Retur f\xf6r att dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Tryck p\xe5 Alt + Retur f\xf6r att dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,dragSelectedLongPress:(e,t)=>`Tryck l\xe4nge f\xf6r att dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,dragStartedKeyboard:`Börja dra. Tryck på tabb för att navigera till målet, tryck på enter för att släppa eller på escape för att avbryta.`,dragStartedTouch:`Börja dra. Navigera till ett mål och dubbeltryck för att släppa.`,dragStartedVirtual:`Börja dra. Navigera till ett mål och klicka eller tryck på enter för att släppa.`,dropCanceled:`Släppåtgärd avbröts.`,dropComplete:`Släppåtgärd klar.`,dropDescriptionKeyboard:`Tryck på enter för att släppa. Tryck på escape för att avbryta dragåtgärd.`,dropDescriptionTouch:`Dubbeltryck för att släppa.`,dropDescriptionVirtual:`Klicka för att släppa.`,dropIndicator:`släppindikator`,dropOnItem:e=>`Sl\xe4pp p\xe5 ${e.itemText}`,dropOnRoot:`Släpp på`,endDragKeyboard:`Drar. Tryck på enter för att avbryta dragåtgärd.`,endDragTouch:`Drar. Dubbeltryck för att avbryta dragåtgärd.`,endDragVirtual:`Drar. Klicka för att avbryta dragåtgärd.`,insertAfter:e=>`Infoga efter ${e.itemText}`,insertBefore:e=>`Infoga f\xf6re ${e.itemText}`,insertBetween:e=>`Infoga mellan ${e.beforeItemText} och ${e.afterItemText}`};var FW={};FW={dragDescriptionKeyboard:`Sürüklemeyi başlatmak için Enter'a basın.`,dragDescriptionKeyboardAlt:`Sürüklemeyi başlatmak için Alt + Enter'a basın.`,dragDescriptionLongPress:`Sürüklemeye başlamak için uzun basın.`,dragDescriptionTouch:`Sürüklemeyi başlatmak için çift tıklayın.`,dragDescriptionVirtual:`Sürüklemeyi başlatmak için tıklayın.`,dragItem:e=>`${e.itemText}\u{2019}i s\xfcr\xfckle`,dragSelectedItems:(e,t)=>`S\xfcr\xfckle ${t.plural(e.count,{one:()=>`${t.number(e.count)} se\xe7ili \xf6ge`,other:()=>`${t.number(e.count)} se\xe7ili \xf6ge`})}`,dragSelectedKeyboard:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} se\xe7ilmi\u{15F} \xf6\u{11F}e`,other:()=>`${t.number(e.count)} se\xe7ilmi\u{15F} \xf6\u{11F}e`})} \xf6\u{11F}esini s\xfcr\xfcklemek i\xe7in Enter'a bas\u{131}n.`,dragSelectedKeyboardAlt:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} se\xe7ilmi\u{15F} \xf6\u{11F}e`,other:()=>`${t.number(e.count)} se\xe7ilmi\u{15F} \xf6\u{11F}e`})} \xf6\u{11F}esini s\xfcr\xfcklemek i\xe7in Alt + Enter tu\u{15F}una bas\u{131}n.`,dragSelectedLongPress:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} se\xe7ilmi\u{15F} \xf6\u{11F}e`,other:()=>`${t.number(e.count)} se\xe7ilmi\u{15F} \xf6\u{11F}e`})} \xf6\u{11F}esini s\xfcr\xfcklemek i\xe7in uzun bas\u{131}n.`,dragStartedKeyboard:`Sürükleme başlatıldı. Bir bırakma hedefine gitmek için Tab’a basın, ardından bırakmak için Enter’a basın veya iptal etmek için Escape’e basın.`,dragStartedTouch:`Sürükleme başlatıldı. Bir bırakma hedefine gidin, ardından bırakmak için çift tıklayın.`,dragStartedVirtual:`Sürükleme başlatıldı. Bir bırakma hedefine gidin, ardından bırakmak için Enter’a tıklayın veya basın.`,dropCanceled:`Bırakma iptal edildi.`,dropComplete:`Bırakma tamamlandı.`,dropDescriptionKeyboard:`Bırakmak için Enter'a basın. Sürüklemeyi iptal etmek için Escape'e basın.`,dropDescriptionTouch:`Bırakmak için çift tıklayın.`,dropDescriptionVirtual:`Bırakmak için tıklayın.`,dropIndicator:`bırakma göstergesi`,dropOnItem:e=>`${e.itemText} \xfczerine b\u{131}rak`,dropOnRoot:`Bırakın`,endDragKeyboard:`Sürükleme. Sürüklemeyi iptal etmek için Enter'a basın.`,endDragTouch:`Sürükleme. Sürüklemeyi iptal etmek için çift tıklayın.`,endDragVirtual:`Sürükleme. Sürüklemeyi iptal etmek için tıklayın.`,insertAfter:e=>`${e.itemText}\u{2019}den sonra gir`,insertBefore:e=>`${e.itemText}\u{2019}den \xf6nce gir`,insertBetween:e=>`${e.beforeItemText} ve ${e.afterItemText} aras\u{131}na gir`};var IW={};IW={dragDescriptionKeyboard:`Натисніть Enter, щоб почати перетягування.`,dragDescriptionKeyboardAlt:`Натисніть Alt + Enter, щоб почати перетягування.`,dragDescriptionLongPress:`Натисніть і утримуйте, щоб почати перетягування.`,dragDescriptionTouch:`Натисніть двічі, щоб почати перетягування.`,dragDescriptionVirtual:`Натисніть, щоб почати перетягування.`,dragItem:e=>`\u{41F}\u{435}\u{440}\u{435}\u{442}\u{44F}\u{433}\u{43D}\u{443}\u{442}\u{438} ${e.itemText}`,dragSelectedItems:(e,t)=>`\u{41F}\u{435}\u{440}\u{435}\u{442}\u{44F}\u{433}\u{43D}\u{456}\u{442}\u{44C} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{438}\u{439} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}`,other:()=>`${t.number(e.count)} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{438}\u{445} \u{435}\u{43B}\u{435}\u{43C}`})}`,dragSelectedKeyboard:(e,t)=>`\u{41D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{456}\u{442}\u{44C} Enter, \u{449}\u{43E}\u{431} \u{43F}\u{435}\u{440}\u{435}\u{442}\u{44F}\u{433}\u{43D}\u{443}\u{442}\u{438} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{438}\u{439} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}`,other:()=>`${t.number(e.count)} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{438}\u{445} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{438}(-\u{456}\u{432})`})}.`,dragSelectedKeyboardAlt:(e,t)=>`\u{41D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{456}\u{442}\u{44C} Alt + Enter, \u{449}\u{43E}\u{431} \u{43F}\u{435}\u{440}\u{435}\u{442}\u{44F}\u{433}\u{43D}\u{443}\u{442}\u{438} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{438}\u{439} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}`,other:()=>`${t.number(e.count)} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{438}\u{445} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{438}(-\u{456}\u{432})`})}.`,dragSelectedLongPress:(e,t)=>`\u{423}\u{442}\u{440}\u{438}\u{43C}\u{443}\u{439}\u{442}\u{435}, \u{449}\u{43E}\u{431} \u{43F}\u{435}\u{440}\u{435}\u{442}\u{44F}\u{433}\u{43D}\u{443}\u{442}\u{438} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{438}\u{439} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}`,other:()=>`${t.number(e.count)} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{438}\u{445} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{438}(-\u{456}\u{432})`})}.`,dragStartedKeyboard:`Перетягування почалося. Натисніть Tab, щоб перейти до цілі перетягування, потім натисніть Enter, щоб перетягнути, або Escape, щоб скасувати.`,dragStartedTouch:`Перетягування почалося. Перейдіть до цілі перетягування, потім натисніть двічі, щоб перетягнути.`,dragStartedVirtual:`Перетягування почалося. Перейдіть до цілі перетягування, потім натисніть Enter, щоб перетягнути.`,dropCanceled:`Перетягування скасовано.`,dropComplete:`Перетягування завершено.`,dropDescriptionKeyboard:`Натисніть Enter, щоб перетягнути. Натисніть Escape, щоб скасувати перетягування.`,dropDescriptionTouch:`Натисніть двічі, щоб перетягнути.`,dropDescriptionVirtual:`Натисніть, щоб перетягнути.`,dropIndicator:`індикатор перетягування`,dropOnItem:e=>`\u{41F}\u{435}\u{440}\u{435}\u{442}\u{44F}\u{433}\u{43D}\u{443}\u{442}\u{438} \u{43D}\u{430} ${e.itemText}`,dropOnRoot:`Перетягнути на`,endDragKeyboard:`Триває перетягування. Натисніть Enter, щоб скасувати перетягування.`,endDragTouch:`Триває перетягування. Натисніть двічі, щоб скасувати перетягування.`,endDragVirtual:`Триває перетягування. Натисніть, щоб скасувати перетягування.`,insertAfter:e=>`\u{412}\u{441}\u{442}\u{430}\u{432}\u{438}\u{442}\u{438} \u{43F}\u{456}\u{441}\u{43B}\u{44F} ${e.itemText}`,insertBefore:e=>`\u{412}\u{441}\u{442}\u{430}\u{432}\u{438}\u{442}\u{438} \u{43F}\u{435}\u{440}\u{435}\u{434} ${e.itemText}`,insertBetween:e=>`\u{412}\u{441}\u{442}\u{430}\u{432}\u{438}\u{442}\u{438} \u{43C}\u{456}\u{436} ${e.beforeItemText} \u{456} ${e.afterItemText}`};var LW={};LW={dragDescriptionKeyboard:`按 Enter 开始拖动。`,dragDescriptionKeyboardAlt:`按 Alt + Enter 开始拖动。`,dragDescriptionLongPress:`长按以开始拖动。`,dragDescriptionTouch:`双击开始拖动。`,dragDescriptionVirtual:`单击开始拖动。`,dragItem:e=>`\u{62D6}\u{52A8} ${e.itemText}`,dragSelectedItems:(e,t)=>`\u{62D6}\u{52A8} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{9009}\u{4E2D}\u{9879}\u{76EE}`,other:()=>`${t.number(e.count)} \u{9009}\u{4E2D}\u{9879}\u{76EE}`})}`,dragSelectedKeyboard:(e,t)=>`\u{6309} Enter \u{4EE5}\u{62D6}\u{52A8} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{4E2A}\u{9009}\u{5B9A}\u{9879}`,other:()=>`${t.number(e.count)} \u{4E2A}\u{9009}\u{5B9A}\u{9879}`})}\u{3002}`,dragSelectedKeyboardAlt:(e,t)=>`\u{6309} Alt + Enter \u{4EE5}\u{62D6}\u{52A8} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{4E2A}\u{9009}\u{5B9A}\u{9879}`,other:()=>`${t.number(e.count)} \u{4E2A}\u{9009}\u{5B9A}\u{9879}`})}\u{3002}`,dragSelectedLongPress:(e,t)=>`\u{957F}\u{6309}\u{4EE5}\u{62D6}\u{52A8} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{4E2A}\u{9009}\u{5B9A}\u{9879}`,other:()=>`${t.number(e.count)} \u{4E2A}\u{9009}\u{5B9A}\u{9879}`})}\u{3002}`,dragStartedKeyboard:`已开始拖动。按 Tab 导航到放置目标,然后按 Enter 放置或按 Escape 取消。`,dragStartedTouch:`已开始拖动。导航到放置目标,然后双击放置。`,dragStartedVirtual:`已开始拖动。导航到放置目标,然后单击或按 Enter 放置。`,dropCanceled:`放置已取消。`,dropComplete:`放置已完成。`,dropDescriptionKeyboard:`按 Enter 放置。按 Escape 取消拖动。`,dropDescriptionTouch:`双击放置。`,dropDescriptionVirtual:`单击放置。`,dropIndicator:`放置标记`,dropOnItem:e=>`\u{653E}\u{7F6E}\u{4E8E} ${e.itemText}`,dropOnRoot:`放置于`,endDragKeyboard:`正在拖动。按 Enter 取消拖动。`,endDragTouch:`正在拖动。双击取消拖动。`,endDragVirtual:`正在拖动。单击取消拖动。`,insertAfter:e=>`\u{63D2}\u{5165}\u{5230} ${e.itemText} \u{4E4B}\u{540E}`,insertBefore:e=>`\u{63D2}\u{5165}\u{5230} ${e.itemText} \u{4E4B}\u{524D}`,insertBetween:e=>`\u{63D2}\u{5165}\u{5230} ${e.beforeItemText} \u{548C} ${e.afterItemText} \u{4E4B}\u{95F4}`};var RW={};RW={dragDescriptionKeyboard:`按 Enter 鍵以開始拖曳。`,dragDescriptionKeyboardAlt:`按 Alt+Enter 鍵以開始拖曳。`,dragDescriptionLongPress:`長按以開始拖曳。`,dragDescriptionTouch:`輕點兩下以開始拖曳。`,dragDescriptionVirtual:`按一下滑鼠以開始拖曳。`,dragItem:e=>`\u{62D6}\u{66F3}\u{300C}${e.itemText}\u{300D}`,dragSelectedItems:(e,t)=>`\u{62D6}\u{66F3} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{500B}\u{9078}\u{5B9A}\u{9805}\u{76EE}`,other:()=>`${t.number(e.count)} \u{500B}\u{9078}\u{5B9A}\u{9805}\u{76EE}`})}`,dragSelectedKeyboard:(e,t)=>`\u{6309} Enter \u{9375}\u{4EE5}\u{62D6}\u{66F3} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{500B}\u{9078}\u{5B9A}\u{9805}\u{76EE}`,other:()=>`${t.number(e.count)} \u{500B}\u{9078}\u{5B9A}\u{9805}\u{76EE}`})}\u{3002}`,dragSelectedKeyboardAlt:(e,t)=>`\u{6309} Alt+Enter \u{9375}\u{4EE5}\u{62D6}\u{66F3} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{500B}\u{9078}\u{5B9A}\u{9805}\u{76EE}`,other:()=>`${t.number(e.count)} \u{500B}\u{9078}\u{5B9A}\u{9805}\u{76EE}`})}\u{3002}`,dragSelectedLongPress:(e,t)=>`\u{9577}\u{6309}\u{4EE5}\u{62D6}\u{66F3} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{500B}\u{9078}\u{5B9A}\u{9805}\u{76EE}`,other:()=>`${t.number(e.count)} \u{500B}\u{9078}\u{5B9A}\u{9805}\u{76EE}`})}\u{3002}`,dragStartedKeyboard:`已開始拖曳。按 Tab 鍵以瀏覽至放置目標,然後按 Enter 鍵以放置,或按 Escape 鍵以取消。`,dragStartedTouch:`已開始拖曳。瀏覽至放置目標,然後輕點兩下以放置。`,dragStartedVirtual:`已開始拖曳。瀏覽至放置目標,然後按一下滑鼠或按 Enter 鍵以放置。`,dropCanceled:`放置已取消。`,dropComplete:`放置已完成。`,dropDescriptionKeyboard:`按 Enter 鍵以放置。按 Escape 鍵以取消拖曳。`,dropDescriptionTouch:`輕點兩下以放置。`,dropDescriptionVirtual:`按一下滑鼠以放置。`,dropIndicator:`放置指示器`,dropOnItem:e=>`\u{653E}\u{7F6E}\u{5728}\u{300C}${e.itemText}\u{300D}\u{4E0A}`,dropOnRoot:`放置在`,endDragKeyboard:`拖曳中。按 Enter 鍵以取消拖曳。`,endDragTouch:`拖曳中。輕點兩下以取消拖曳。`,endDragVirtual:`拖曳中。按一下滑鼠以取消拖曳。`,insertAfter:e=>`\u{63D2}\u{5165}\u{81F3}\u{300C}${e.itemText}\u{300D}\u{4E4B}\u{5F8C}`,insertBefore:e=>`\u{63D2}\u{5165}\u{81F3}\u{300C}${e.itemText}\u{300D}\u{4E4B}\u{524D}`,insertBetween:e=>`\u{63D2}\u{5165}\u{81F3}\u{300C}${e.beforeItemText}\u{300D}\u{548C}\u{300C}${e.afterItemText}\u{300D}\u{4E4B}\u{9593}`};var zW={};zW={"ar-AE":aW,"bg-BG":oW,"cs-CZ":sW,"da-DK":cW,"de-DE":lW,"el-GR":uW,"en-US":dW,"es-ES":fW,"et-EE":pW,"fi-FI":mW,"fr-FR":hW,"he-IL":gW,"hr-HR":_W,"hu-HU":vW,"it-IT":yW,"ja-JP":bW,"ko-KR":xW,"lt-LT":SW,"lv-LV":CW,"nb-NO":wW,"nl-NL":TW,"pl-PL":EW,"pt-BR":DW,"pt-PT":OW,"ro-RO":kW,"ru-RU":AW,"sk-SK":jW,"sl-SI":MW,"sr-SP":NW,"sv-SE":PW,"tr-TR":FW,"uk-UA":IW,"zh-CN":LW,"zh-TW":RW};function fne(e){return e&&e.__esModule?e.default:e}var pne={keyboard:`dropDescriptionKeyboard`,touch:`dropDescriptionTouch`,virtual:`dropDescriptionVirtual`};function mne(){let e=_T(fne(zW),`@react-aria/dnd`),t=UU();return{dropProps:{...BA(one()?e.format(pne[t]):``),onClick:()=>{}}}}var hne=800;function BW(e){let{hasDropButton:t,isDisabled:n}=e,[r,i]=(0,x.useState)(!1),a=(0,x.useRef)({x:0,y:0,dragOverElements:new Set,dropEffect:`none`,allowedOperations:PU.all,dropActivateTimer:void 0}).current,o=t=>{if(i(!0),typeof e.onDropEnter==`function`){let n=t.currentTarget.getBoundingClientRect();e.onDropEnter({type:`dropenter`,x:t.clientX-n.x,y:t.clientY-n.y})}},s=t=>{if(i(!1),typeof e.onDropExit==`function`){let n=t.currentTarget.getBoundingClientRect();e.onDropExit({type:`dropexit`,x:t.clientX-n.x,y:t.clientY-n.y})}},c=t=>{t.preventDefault(),t.stopPropagation();let n=VW(t);if(t.clientX===a.x&&t.clientY===a.y&&n===a.allowedOperations){t.dataTransfer.dropEffect=a.dropEffect;return}a.x=t.clientX,a.y=t.clientY;let r=a.dropEffect;if(n!==a.allowedOperations){let r=HW(n),i=r[0];if(typeof e.getDropOperation==`function`){let a=new GU(t.dataTransfer);i=UW(n,e.getDropOperation(a,r))}a.dropEffect=RU[i]||`none`}if(typeof e.getDropOperationForPoint==`function`){let r=new GU(t.dataTransfer),i=t.currentTarget.getBoundingClientRect(),o=UW(n,e.getDropOperationForPoint(r,HW(n),a.x-i.x,a.y-i.y));a.dropEffect=RU[o]||`none`}if(a.allowedOperations=n,t.dataTransfer.dropEffect=a.dropEffect,a.dropEffect===`none`&&r!==`none`?s(t):a.dropEffect!==`none`&&r===`none`&&o(t),typeof e.onDropMove==`function`&&a.dropEffect!==`none`){let n=t.currentTarget.getBoundingClientRect();e.onDropMove({type:`dropmove`,x:a.x-n.x,y:a.y-n.y})}if(clearTimeout(a.dropActivateTimer),e.onDropActivate&&typeof e.onDropActivate==`function`&&a.dropEffect!==`none`){let n=e.onDropActivate,r=t.currentTarget.getBoundingClientRect();a.dropActivateTimer=setTimeout(()=>{n({type:`dropactivate`,x:a.x-r.x,y:a.y-r.y})},hne)}},l=t=>{if(t.preventDefault(),t.stopPropagation(),a.dragOverElements.add(G(t)),a.dragOverElements.size>1)return;let n=VW(t),r=HW(n),i=r[0];if(typeof e.getDropOperation==`function`){let a=new GU(t.dataTransfer);i=UW(n,e.getDropOperation(a,r))}if(typeof e.getDropOperationForPoint==`function`){let a=new GU(t.dataTransfer),o=t.currentTarget.getBoundingClientRect();i=UW(n,e.getDropOperationForPoint(a,r,t.clientX-o.x,t.clientY-o.y))}a.x=t.clientX,a.y=t.clientY,a.allowedOperations=n,a.dropEffect=RU[i]||`none`,t.dataTransfer.dropEffect=a.dropEffect,i!==`cancel`&&o(t)},u=e=>{e.preventDefault(),e.stopPropagation();let t=G(e);if(a.dragOverElements.delete(t),t===e.currentTarget)for(let t of a.dragOverElements)zS(e.currentTarget,t)||a.dragOverElements.delete(t);a.dragOverElements.size>0||(a.dropEffect!==`none`&&s(e),clearTimeout(a.dropActivateTimer))},d=t=>{if(t.preventDefault(),t.stopPropagation(),ZU(a.dropEffect),typeof e.onDrop==`function`){let n=LU[a.dropEffect],r=$te(t.dataTransfer),i=t.currentTarget.getBoundingClientRect(),o={type:`drop`,x:t.clientX-i.x,y:t.clientY-i.y,items:r,dropOperation:n};e.onDrop(o)}let n={...YU};a.dragOverElements.clear(),s(t),clearTimeout(a.dropActivateTimer),n.draggingCollectionRef==null?ZU(void 0):rne(n)},f=Kw(t=>{typeof e.onDropEnter==`function`&&e.onDropEnter(t)}),p=Kw(t=>{typeof e.onDropExit==`function`&&e.onDropExit(t)}),m=Kw(t=>{typeof e.onDropActivate==`function`&&e.onDropActivate(t)}),h=Kw(t=>{typeof e.onDrop==`function`&&e.onDrop(t)}),g=Kw((t,n)=>e.getDropOperation?e.getDropOperation(t,n):n[0]),{ref:_}=e;qx(()=>{if(!n&&_.current)return ine({element:_.current,getDropOperation:g,onDropEnter(e){i(!0),f(e)},onDropExit(e){i(!1),p(e)},onDrop:h,onDropActivate:m})},[n,_]);let{dropProps:v}=mne();return n?{dropProps:{},dropButtonProps:{isDisabled:!0},isDropTarget:!1}:{dropProps:{...!t&&v,onDragEnter:l,onDragOver:c,onDragLeave:u,onDrop:d},dropButtonProps:{...t&&v},isDropTarget:r}}function VW(e){let t=FU[e.dataTransfer.effectAllowed];QU&&(t&=QU);let n=PU.none;return fC()?(e.altKey&&(n|=PU.copy),e.ctrlKey&&!mC()&&(n|=PU.link),e.metaKey&&(n|=PU.move)):(e.altKey&&(n|=PU.link),e.shiftKey&&(n|=PU.move),e.ctrlKey&&(n|=PU.copy)),n?t&n:t}function HW(e){let t=[];return e&PU.move&&t.push(`move`),e&PU.copy&&t.push(`copy`),e&PU.link&&t.push(`link`),t}function UW(e,t){return e&PU[t]?t:`cancel`}var WW=(0,x.forwardRef)(function(e,t){let{onSelect:n,acceptedFileTypes:r,allowsMultiple:i,defaultCamera:a,children:o,acceptDirectory:s,...c}=e,l=gS(t),u=K(c,{global:!0});return x.createElement(x.Fragment,null,x.createElement(nB,{onPress:()=>{l.current?.value&&(l.current.value=``),l.current?.click()}},o),x.createElement(AN,{...u,className:``,type:`file`,ref:l,onClick:e=>e.stopPropagation(),style:{display:`none`},accept:r?.toString(),onChange:e=>n?.(G(e).files),capture:a,multiple:i,webkitdirectory:s?``:void 0}))}),GW=new WeakMap;function KW(e,t){let{id:n}=GW.get(e)??{};if(!n)throw Error(`Unknown list`);return`${n}-${gne(t)}`}function gne(e){return typeof e==`string`?e.replace(/\s*/g,``):``+e}var qW={};qW={deselectedItem:e=>`${e.item} \u{63A}\u{64A}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,longPressToSelect:`اضغط مطولًا للدخول إلى وضع التحديد.`,select:`تحديد`,selectedAll:`جميع العناصر المحددة.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`لم يتم تحديد عناصر`,one:()=>`${t.number(e.count)} \u{639}\u{646}\u{635}\u{631} \u{645}\u{62D}\u{62F}\u{62F}`,other:()=>`${t.number(e.count)} \u{639}\u{646}\u{635}\u{631} \u{645}\u{62D}\u{62F}\u{62F}`})}.`,selectedItem:e=>`${e.item} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`};var JW={};JW={deselectedItem:e=>`${e.item} \u{43D}\u{435} \u{435} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`,longPressToSelect:`Натиснете и задръжте за да влезете в избирателен режим.`,select:`Изберете`,selectedAll:`Всички елементи са избрани.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Няма избрани елементи`,one:()=>`${t.number(e.count)} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}`,other:()=>`${t.number(e.count)} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{438} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{438}`})}.`,selectedItem:e=>`${e.item} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`};var YW={};YW={deselectedItem:e=>`Polo\u{17E}ka ${e.item} nen\xed vybr\xe1na.`,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\xe1na ${t.number(e.count)} polo\u{17E}ka`,other:()=>`Vybr\xe1no ${t.number(e.count)} polo\u{17E}ek`})}.`,selectedItem:e=>`Vybr\xe1na polo\u{17E}ka ${e.item}.`};var XW={};XW={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 ZW={};ZW={deselectedItem:e=>`${e.item} nicht ausgew\xe4hlt.`,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\xe4hlt`,other:()=>`${t.number(e.count)} Elemente ausgew\xe4hlt`})}.`,selectedItem:e=>`${e.item} ausgew\xe4hlt.`};var QW={};QW={deselectedItem:e=>`\u{394}\u{3B5}\u{3BD} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} \u{3C4}\u{3BF} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF} ${e.item}.`,longPressToSelect:`Πατήστε παρατεταμένα για να μπείτε σε λειτουργία επιλογής.`,select:`Επιλογή`,selectedAll:`Επιλέχθηκαν όλα τα στοιχεία.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Δεν επιλέχθηκαν στοιχεία`,one:()=>`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} ${t.number(e.count)} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF}`,other:()=>`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B1}\u{3BD} ${t.number(e.count)} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3B1}`})}.`,selectedItem:e=>`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} \u{3C4}\u{3BF} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF} ${e.item}.`};var $W={};$W={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 eG={};eG={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 tG={};tG={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)} \xfcksus valitud`,other:()=>`${t.number(e.count)} \xfcksust valitud`})}.`,selectedItem:e=>`${e.item} valitud.`};var nG={};nG={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 rG={};rG={deselectedItem:e=>`${e.item} non s\xe9lectionn\xe9.`,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)} \xe9l\xe9ment s\xe9lectionn\xe9`,other:()=>`${t.number(e.count)} \xe9l\xe9ments s\xe9lectionn\xe9s`})}.`,selectedItem:e=>`${e.item} s\xe9lectionn\xe9.`};var iG={};iG={deselectedItem:e=>`${e.item} \u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`,longPressToSelect:`הקשה ארוכה לכניסה למצב בחירה.`,select:`בחר`,selectedAll:`כל הפריטים נבחרו.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`לא נבחרו פריטים`,one:()=>`\u{5E4}\u{5E8}\u{5D9}\u{5D8} ${t.number(e.count)} \u{5E0}\u{5D1}\u{5D7}\u{5E8}`,other:()=>`${t.number(e.count)} \u{5E4}\u{5E8}\u{5D9}\u{5D8}\u{5D9}\u{5DD} \u{5E0}\u{5D1}\u{5D7}\u{5E8}\u{5D5}`})}.`,selectedItem:e=>`${e.item} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`};var aG={};aG={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 oG={};oG={deselectedItem:e=>`${e.item} nincs kijel\xf6lve.`,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\xf6lve`,other:()=>`${t.number(e.count)} elem kijel\xf6lve`})}.`,selectedItem:e=>`${e.item} kijel\xf6lve.`};var sG={};sG={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 cG={};cG={deselectedItem:e=>`${e.item} \u{304C}\u{9078}\u{629E}\u{3055}\u{308C}\u{3066}\u{3044}\u{307E}\u{305B}\u{3093}\u{3002}`,longPressToSelect:`長押しして選択モードを開きます。`,select:`選択`,selectedAll:`すべての項目を選択しました。`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`項目が選択されていません`,one:()=>`${t.number(e.count)} \u{9805}\u{76EE}\u{3092}\u{9078}\u{629E}\u{3057}\u{307E}\u{3057}\u{305F}`,other:()=>`${t.number(e.count)} \u{9805}\u{76EE}\u{3092}\u{9078}\u{629E}\u{3057}\u{307E}\u{3057}\u{305F}`})}\u{3002}`,selectedItem:e=>`${e.item} \u{3092}\u{9078}\u{629E}\u{3057}\u{307E}\u{3057}\u{305F}\u{3002}`};var lG={};lG={deselectedItem:e=>`${e.item}\u{C774}(\u{AC00}) \u{C120}\u{D0DD}\u{B418}\u{C9C0} \u{C54A}\u{C558}\u{C2B5}\u{B2C8}\u{B2E4}.`,longPressToSelect:`선택 모드로 들어가려면 길게 누르십시오.`,select:`선택`,selectedAll:`모든 항목이 선택되었습니다.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`선택된 항목이 없습니다`,one:()=>`${t.number(e.count)}\u{AC1C} \u{D56D}\u{BAA9}\u{C774} \u{C120}\u{D0DD}\u{B418}\u{C5C8}\u{C2B5}\u{B2C8}\u{B2E4}`,other:()=>`${t.number(e.count)}\u{AC1C} \u{D56D}\u{BAA9}\u{C774} \u{C120}\u{D0DD}\u{B418}\u{C5C8}\u{C2B5}\u{B2C8}\u{B2E4}`})}.`,selectedItem:e=>`${e.item}\u{C774}(\u{AC00}) \u{C120}\u{D0DD}\u{B418}\u{C5C8}\u{C2B5}\u{B2C8}\u{B2E4}.`};var uG={};uG={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\u{173}: ${t.number(e.count)}`})}.`,selectedItem:e=>`Pasirinkta: ${e.item}.`};var dG={};dG={deselectedItem:e=>`Vienums ${e.item} nav atlas\u{12B}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\u{12B}to vienumu skaits: ${t.number(e.count)}`,other:()=>`Atlas\u{12B}to vienumu skaits: ${t.number(e.count)}`})}.`,selectedItem:e=>`Atlas\u{12B}ts vienums ${e.item}.`};var fG={};fG={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 pG={};pG={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 mG={};mG={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\xf3w`})}.`,selectedItem:e=>`Zaznaczono ${e.item}.`};var hG={};hG={deselectedItem:e=>`${e.item} n\xe3o 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 gG={};gG={deselectedItem:e=>`${e.item} n\xe3o 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 _G={};_G={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 vG={};vG={deselectedItem:e=>`${e.item} \u{43D}\u{435} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,longPressToSelect:`Нажмите и удерживайте для входа в режим выбора.`,select:`Выбрать`,selectedAll:`Выбраны все элементы.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Нет выбранных элементов`,one:()=>`${t.number(e.count)} \u{44D}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}`,other:()=>`${t.number(e.count)} \u{44D}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{43E}\u{432} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}`})}.`,selectedItem:e=>`${e.item} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`};var yG={};yG={deselectedItem:e=>`Nevybrat\xe9 polo\u{17E}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\xe1 polo\u{17E}ka`,other:()=>`Po\u{10D}et vybrat\xfdch polo\u{17E}iek:${t.number(e.count)}`})}.`,selectedItem:e=>`Vybrat\xe9 polo\u{17E}ky: ${e.item}.`};var bG={};bG={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 xG={};xG={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 SG={};SG={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 CG={};CG={deselectedItem:e=>`${e.item} se\xe7ilmedi.`,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)} \xf6ge se\xe7ildi`,other:()=>`${t.number(e.count)} \xf6ge se\xe7ildi`})}.`,selectedItem:e=>`${e.item} se\xe7ildi.`};var wG={};wG={deselectedItem:e=>`${e.item} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,longPressToSelect:`Виконайте довге натиснення, щоб перейти в режим вибору.`,select:`Вибрати`,selectedAll:`Усі елементи вибрано.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Жодних елементів не вибрано`,one:()=>`${t.number(e.count)} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}`,other:()=>`\u{412}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{456}\u{432}: ${t.number(e.count)}`})}.`,selectedItem:e=>`${e.item} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`};var TG={};TG={deselectedItem:e=>`\u{672A}\u{9009}\u{62E9} ${e.item}\u{3002}`,longPressToSelect:`长按以进入选择模式。`,select:`选择`,selectedAll:`已选择所有项目。`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`未选择项目`,one:()=>`\u{5DF2}\u{9009}\u{62E9} ${t.number(e.count)} \u{4E2A}\u{9879}\u{76EE}`,other:()=>`\u{5DF2}\u{9009}\u{62E9} ${t.number(e.count)} \u{4E2A}\u{9879}\u{76EE}`})}\u{3002}`,selectedItem:e=>`\u{5DF2}\u{9009}\u{62E9} ${e.item}\u{3002}`};var EG={};EG={deselectedItem:e=>`\u{672A}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`,longPressToSelect:`長按以進入選擇模式。`,select:`選取`,selectedAll:`已選取所有項目。`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`未選取任何項目`,one:()=>`\u{5DF2}\u{9078}\u{53D6} ${t.number(e.count)} \u{500B}\u{9805}\u{76EE}`,other:()=>`\u{5DF2}\u{9078}\u{53D6} ${t.number(e.count)} \u{500B}\u{9805}\u{76EE}`})}\u{3002}`,selectedItem:e=>`\u{5DF2}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`};var DG={};DG={"ar-AE":qW,"bg-BG":JW,"cs-CZ":YW,"da-DK":XW,"de-DE":ZW,"el-GR":QW,"en-US":$W,"es-ES":eG,"et-EE":tG,"fi-FI":nG,"fr-FR":rG,"he-IL":iG,"hr-HR":aG,"hu-HU":oG,"it-IT":sG,"ja-JP":cG,"ko-KR":lG,"lt-LT":uG,"lv-LV":dG,"nb-NO":fG,"nl-NL":pG,"pl-PL":mG,"pt-BR":hG,"pt-PT":gG,"ro-RO":_G,"ru-RU":vG,"sk-SK":yG,"sl-SI":bG,"sr-SP":xG,"sv-SE":SG,"tr-TR":CG,"uk-UA":wG,"zh-CN":TG,"zh-TW":EG};function OG(e){return e&&e.__esModule?e.default:e}function kG(e,t){let{getRowText:n=e=>t.collection.getTextValue?.(e)??t.collection.getItem(e)?.textValue}=e,r=_T(OG(DG),`@react-aria/grid`),i=t.selectionManager.rawSelection,a=(0,x.useRef)(i),o=(0,x.useCallback)(()=>{if(!t.selectionManager.isFocused||i===a.current){a.current=i;return}let e=AG(i,a.current),o=AG(a.current,i),s=t.selectionManager.selectionBehavior===`replace`,c=[];if(t.selectionManager.selectedKeys.size===1&&s){let e=t.selectionManager.selectedKeys.keys().next().value;if(e!=null&&t.collection.getItem(e)){let t=n(e);t&&c.push(r.format(`selectedItem`,{item:t}))}}else if(e.size===1&&o.size===0){let t=e.keys().next().value;if(t!=null){let e=n(t);e&&c.push(r.format(`selectedItem`,{item:e}))}}else if(o.size===1&&e.size===0){let e=o.keys().next().value;if(e!=null&&t.collection.getItem(e)){let t=n(e);t&&c.push(r.format(`deselectedItem`,{item:t}))}}t.selectionManager.selectionMode===`multiple`&&(c.length===0||i===`all`||i.size>1||a.current===`all`||a.current?.size>1)&&c.push(i===`all`?r.format(`selectedAll`):r.format(`selectedCount`,{count:i.size})),c.length>0&&YD(c.join(` `)),a.current=i},[i,t.selectionManager.selectedKeys,t.selectionManager.isFocused,t.selectionManager.selectionBehavior,t.selectionManager.selectionMode,t.collection,n,r]);jA(()=>{if(t.selectionManager.isFocused)o();else{let e=requestAnimationFrame(o);return()=>cancelAnimationFrame(e)}},[i,t.selectionManager.isFocused])}function AG(e,t){let n=new Set;if(e===`all`||t===`all`)return n;for(let r of e.keys())t.has(r)||n.add(r);return n}function jG(e,t){let n=t?.isDisabled,[r,i]=(0,x.useState)(!1);return qx(()=>{if(e?.current&&!n){let t=()=>{if(e.current){let t=aL(e.current,{tabbable:!0});i(!!t.nextNode())}};t();let n=new MutationObserver(t);return n.observe(e.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:[`tabIndex`,`disabled`]}),()=>{n.disconnect()}}}),!n&&r}function MG(e){return e&&e.__esModule?e.default:e}function NG(e){let t=_T(MG(DG),`@react-aria/grid`),n=QC(),r=(n===`pointer`||n===`virtual`||n==null)&&typeof window<`u`&&`ontouchstart`in window;return BA((0,x.useMemo)(()=>{let n=e.selectionManager.selectionMode,i=e.selectionManager.selectionBehavior,a;return r&&(a=t.format(`longPressToSelect`)),i===`replace`&&n!==`none`&&e.hasItemActions?a:void 0},[e.selectionManager.selectionMode,e.selectionManager.selectionBehavior,e.hasItemActions,t,r]))}function PG(e,t,n){let{isVirtualized:r,keyboardDelegate:i,layoutDelegate:a,onAction:o,disallowTypeAhead:s,linkBehavior:c=`action`,keyboardNavigationBehavior:l=`arrow`,escapeKeyBehavior:u=`clearSelection`,shouldSelectOnPressUp:d}=e;!e[`aria-label`]&&!e[`aria-labelledby`]&&console.warn(`An aria-label or aria-labelledby prop is required for accessibility.`);let{listProps:f}=xL({selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,ref:n,keyboardDelegate:i,layoutDelegate:a,isVirtualized:r,selectOnFocus:t.selectionManager.selectionBehavior===`replace`,shouldFocusWrap:e.shouldFocusWrap,linkBehavior:c,disallowTypeAhead:s,autoFocus:e.autoFocus,escapeKeyBehavior:u,UNSTABLE_focusOnEntry:e.UNSTABLE_focusOnEntry}),p=dS(e.id);GW.set(t,{id:p,onAction:o,linkBehavior:c,keyboardNavigationBehavior:l,shouldSelectOnPressUp:d});let m=NG({selectionManager:t.selectionManager,hasItemActions:!!o}),h=jG(n,{isDisabled:t.collection.size!==0}),g=U(K(e,{labelable:!0}),{role:`grid`,id:p,"aria-multiselectable":t.selectionManager.selectionMode===`multiple`?`true`:void 0},t.collection.size===0?{tabIndex:h?-1:0}:f,m);return r&&(g[`aria-rowcount`]=t.collection.size,g[`aria-colcount`]=1),kG({},t),{gridProps:g}}var FG={expand:{ltr:`ArrowRight`,rtl:`ArrowLeft`},collapse:{ltr:`ArrowLeft`,rtl:`ArrowRight`}};function IG(e,t,n){let{node:r,isVirtualized:i,focusMode:a=`row`,allowsArrowNavigation:o}=e,{direction:s}=rT(),{onAction:c,linkBehavior:l,keyboardNavigationBehavior:u,shouldSelectOnPressUp:d}=GW.get(t),f=pS(),p=(0,x.useRef)(null),m=()=>{if(n.current!==null){if(a===`child`){if(HS(n.current)&&n.current!==BS(kS(n.current)))return;let e=aL(n.current,{tabbable:!0}).firstChild();if(e){GT(e),LA(e,{containingElement:NA(e)});return}}(p.current!=null&&r.key!==p.current||!HS(n.current))&&GT(n.current)}},h={},g=e.hasChildItems,_=t.selectionManager.isLink(r.key);if(r!=null&&`expandedKeys`in t){let e=t.collection.getChildren?.(r.key);g||=[...e??[]].length>1,c==null&&!_&&t.selectionManager.selectionMode===`none`&&g&&(c=()=>t.toggleKey(r.key));let n=g?t.expandedKeys.has(r.key):void 0,i=1,a=r.index;if(r.level>=0&&r?.parentKey!=null){let e=t.collection.getItem(r.parentKey);if(e){let n=zG(e,t.collection);i=[...n].filter(e=>e.type===`item`).length,a>0&&n[0].type!==`item`&&--a}}else i=[...t.collection].filter(e=>e.level===0&&e.type===`item`).length;h={"aria-expanded":n,"aria-level":r.level+1,"aria-posinset":a+1,"aria-setsize":i}}let{itemProps:v,...y}=CL({selectionManager:t.selectionManager,key:r.key,ref:n,isVirtualized:i,shouldSelectOnPressUp:e.shouldSelectOnPressUp||d,onAction:c||r.props?.onAction?Kx(r.props?.onAction,c?()=>c(r.key):void 0):void 0,focus:m,linkBehavior:l}),b=e=>{let i=BS(kS(n.current));if(!zS(e.currentTarget,G(e))||!n.current||!i)return;let a=aL(n.current);if(a.currentNode=i,!LG(e,t,r,g,s,i,n.current,o))switch(e.key){case`ArrowLeft`:if(u===`arrow`){let t=s===`rtl`?a.nextNode():a.previousNode();if(t)e.preventDefault(),e.stopPropagation(),GT(t),LA(t,{containingElement:NA(n.current)});else if(e.preventDefault(),e.stopPropagation(),s===`rtl`)GT(n.current),LA(n.current,{containingElement:NA(n.current)});else{a.currentNode=n.current;let e=RG(a);e&&(GT(e),LA(e,{containingElement:NA(n.current)}))}}break;case`ArrowRight`:if(u===`arrow`){let t=s===`rtl`?a.previousNode():a.nextNode();if(t)e.preventDefault(),e.stopPropagation(),GT(t),LA(t,{containingElement:NA(n.current)});else if(e.preventDefault(),e.stopPropagation(),s===`ltr`)GT(n.current),LA(n.current,{containingElement:NA(n.current)});else{a.currentNode=n.current;let e=RG(a);e&&(GT(e),LA(e,{containingElement:NA(n.current)}))}}break;case`ArrowUp`:case`ArrowDown`:!e.altKey&&zS(n.current,G(e))&&(e.stopPropagation(),e.preventDefault(),n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type,e.nativeEvent)))}},S=e=>{p.current=r.key,G(e)===n.current?a===`child`&&e.relatedTarget&&zS(n.current,e.relatedTarget)||requestAnimationFrame(()=>{a===`child`&&BS(kS(n.current))===n.current&&m()}):YC()||t.selectionManager.setFocusedKey(r.key)},C=e=>{let i=BS(kS(n.current));if(zS(e.currentTarget,G(e))&&n.current&&i){if(u===`tab`){if(G(e)!==n.current&&e.key!==`Tab`){e.stopPropagation();return}if(LG(e,t,r,g,s,i,n.current,o))return}if(e.key===`Tab`&&u===`tab`){let t=aL(n.current,{tabbable:!0});t.currentNode=i,(e.shiftKey?t.previousNode():t.nextNode())&&e.stopPropagation()}}},w=kC(r.props),T=U(v,y.hasAction?w:{},{role:`row`,onKeyDownCapture:u===`arrow`||o?b:void 0,onFocus:S,"aria-label":r[`aria-label`]||r.textValue||void 0,"aria-selected":t.selectionManager.canSelectItem(r.key)?t.selectionManager.isSelected(r.key):void 0,"aria-disabled":t.selectionManager.isDisabled(r.key)||void 0,"aria-labelledby":f&&(r[`aria-label`]||r.textValue)?`${KW(t,r.key)} ${f}`:void 0,id:KW(t,r.key)});a===`child`&&o&&u===`tab`&&(T.tabIndex=-1);let E=T.onKeyDown;if(T.onKeyDown=e=>{C(e),e.isPropagationStopped()||E?.(e)},i){let{collection:e}=t;T[`aria-rowindex`]=[...e].find(e=>e.type===`section`)?[...e.getKeys()].filter(t=>e.getItem(t)?.type!==`section`).findIndex(e=>e===r.key)+1:r.index+1}let D={role:`gridcell`,"aria-colindex":1};return{rowProps:{...U(T,h)},gridCellProps:D,descriptionProps:{id:f},...y}}function LG(e,t,n,r,i,a,o,s){if(!(`expandedKeys`in t)||!s&&a!==o)return!1;if(e.key===FG.expand[i]&&t.selectionManager.focusedKey===n.key&&r&&!t.expandedKeys.has(n.key))return t.toggleKey(n.key),e.stopPropagation(),!0;if(e.key===FG.collapse[i]&&t.selectionManager.focusedKey===n.key){if(r&&t.expandedKeys.has(n.key))return t.toggleKey(n.key),e.stopPropagation(),!0;if(!t.expandedKeys.has(n.key)&&n.parentKey&&t.collection.getItem(n.parentKey)?.type===`item`)return t.selectionManager.setFocusedKey(n.parentKey),e.stopPropagation(),!0}return!1}function RG(e){let t=null,n=null;do n=e.lastChild(),n&&(t=n);while(n);return t}function zG(e,t){let n=t.getChildren?.(e.key),r=n?Array.from(n):[],i=r.length>0?r[0]:null,a=[];for(;i;)a.push(i),i=i.nextKey==null?null:t.getItem(i.nextKey);return a}function BG(e){return e&&e.__esModule?e.default:e}function VG(e,t){let{key:n}=e,r=t.selectionManager,i=dS(),a=!t.selectionManager.canSelectItem(n),o=t.selectionManager.isSelected(n);return{checkboxProps:{id:i,"aria-label":_T(BG(DG),`@react-aria/grid`).format(`select`),isSelected:o,isDisabled:a,onChange:()=>r.toggleSelection(n)}}}function HG(e,t){let{key:n}=e,{checkboxProps:r}=VG(e,t);return{checkboxProps:{...r,"aria-labelledby":`${r.id} ${KW(t,n)}`}}}var UG=(0,x.createContext)(null),WG=(0,x.forwardRef)(function(e,t){return[e,t]=SS(e,t,UG),x.createElement(SE,{content:x.createElement(PE,e)},n=>x.createElement(GG,{props:e,collection:n,gridListRef:t}))});function GG({props:e,collection:t,gridListRef:n}){[e,n]=SS(e,n,CT);let{shouldUseVirtualFocus:r,filter:i,disallowTypeAhead:a,UNSTABLE_focusOnEntry:o,...s}=e,{dragAndDropHooks:c,keyboardNavigationBehavior:l=`arrow`,layout:u=`stack`,orientation:d=`vertical`}=e,{CollectionRoot:f,isVirtualized:p,layoutDelegate:m,dropTargetDelegate:h}=(0,x.useContext)(RE),g=KL(GL({...s,collection:t,children:void 0,layoutDelegate:m}),i),_=bL({usage:`search`,sensitivity:`base`}),{disabledBehavior:v,disabledKeys:y}=g.selectionManager,{direction:b}=rT(),S=(0,x.useMemo)(()=>new vL({collection:g.collection,collator:_,ref:n,disabledKeys:y,disabledBehavior:v,layoutDelegate:m,layout:u,orientation:d,direction:b}),[g.collection,n,u,d,y,v,m,_,b]),{gridProps:C}=PG({...s,keyboardDelegate:S,keyboardNavigationBehavior:u===`grid`?`tab`:l,isVirtualized:p,shouldSelectOnPressUp:e.shouldSelectOnPressUp,disallowTypeAhead:a,UNSTABLE_focusOnEntry:o},g,n),w=g.selectionManager,T=!!c?.useDraggableCollectionState,E=!!c?.useDroppableCollectionState;(0,x.useRef)(T),(0,x.useRef)(E),(0,x.useEffect)(()=>{},[T,E]);let D,O,k,A=!1,j=null,M=(0,x.useRef)(null);if(T&&c){D=c.useDraggableCollectionState({collection:g.collection,selectionManager:w,preview:c.renderDragPreview?M:void 0}),c.useDraggableCollection({},D,n);let e=c.DragPreview;j=c.renderDragPreview?x.createElement(e,{ref:M},c.renderDragPreview):null}if(E&&c){O=c.useDroppableCollectionState({collection:g.collection,selectionManager:w});let e=c.dropTargetDelegate||h||new c.ListDropTargetDelegate(t,n,{layout:u,direction:b,orientation:d});k=c.useDroppableCollection({keyboardDelegate:S,dropTargetDelegate:e},O,n),A=O.isDropTarget({type:`root`})}let{focusProps:ee,isFocused:N,isFocusVisible:P}=dD(),te=g.collection.size===0,F={isDropTarget:A,orientation:d,isEmpty:te,isFocused:N,isFocusVisible:P,layout:u,state:g},ne=yS({...e,children:void 0,defaultClassName:`react-aria-GridList`,values:F}),re=null;if(te&&e.renderEmptyState){let t=e.renderEmptyState(F);re=x.createElement(`div`,{role:`row`,"aria-rowindex":1,style:{display:`contents`}},x.createElement(`div`,{role:`gridcell`,style:{display:`contents`}},t))}let ie=K(e,{global:!0});return x.createElement(qI,null,x.createElement(W.div,{...U(ie,ne,C,ee,k?.collectionProps,null),ref:n,slot:e.slot||void 0,onScroll:e.onScroll,"data-drop-target":A||void 0,"data-empty":te||void 0,"data-focused":N||void 0,"data-focus-visible":P||void 0,"data-layout":u,"data-orientation":d},x.createElement(vS,{values:[[XL,g],[kI,{dragAndDropHooks:c,dragState:D,dropState:O}],[AI,{render:qG}]]},E&&x.createElement(XG,null),x.createElement(LI,null,x.createElement(f,{collection:g.collection,scrollRef:n,persistedKeys:NI(w,c,O),renderDropIndicator:MI(c,O)}))),re,j))}var KG=AE(OT,function(e,t,n){let r=(0,x.useContext)(XL),{dragAndDropHooks:i,dragState:a,dropState:o}=(0,x.useContext)(kI),s=gS(t),{isVirtualized:c}=(0,x.useContext)(RE),l=a&&!(a.isDisabled||a.selectionManager.isDisabled(n.key)),{rowProps:u,gridCellProps:d,descriptionProps:f,...p}=IG({node:n,shouldSelectOnPressUp:!!a,isVirtualized:c,focusMode:e.focusMode,allowsArrowNavigation:e.allowsArrowNavigation},r,s),{hoverProps:m,isHovered:h}=_D({isDisabled:!p.allowsSelection&&!p.hasAction&&!l,onHoverStart:n.props.onHoverStart,onHoverChange:n.props.onHoverChange,onHoverEnd:n.props.onHoverEnd}),{isFocusVisible:g,focusProps:_}=dD(),{isFocusVisible:v,focusProps:y}=dD({within:!0}),{checkboxProps:b}=HG({key:n.key},r),S=r.selectionManager.disabledBehavior===`all`&&p.isDisabled?{isDisabled:!0}:{},C=null;a&&i&&(C=i.useDraggableItem({key:n.key,hasDragButton:!0},a));let w=null,T=(0,x.useRef)(null),{visuallyHiddenProps:E}=HA();o&&i&&(w=i.useDropIndicator({target:{type:`item`,key:n.key,dropPosition:`on`}},o,T));let D=a&&a.isDragging(n.key),O=yS({...e,id:void 0,children:n.rendered,defaultClassName:`react-aria-GridListItem`,values:{...p,isHovered:h,isFocusVisible:g,isFocusVisibleWithin:v,selectionMode:r.selectionManager.selectionMode,selectionBehavior:r.selectionManager.selectionBehavior,allowsDragging:!!a,isDragging:D,isDropTarget:w?.isDropTarget,id:n.key,state:r}}),k=(0,x.useRef)(null);(0,x.useEffect)(()=>{a&&!k.current&&console.warn(`Draggable items in a GridList must contain a <Button slot="drag"> element so that keyboard and screen reader users can drag them.`)},[]),(0,x.useEffect)(()=>{n.textValue},[n.textValue]);let A=K(e,{global:!0});return delete A.id,delete A.onClick,x.createElement(x.Fragment,null,w&&!w.isHidden&&x.createElement(`div`,{role:`row`,style:{position:`absolute`}},x.createElement(`div`,{role:`gridcell`},x.createElement(`div`,{role:`button`,...E,...w?.dropIndicatorProps,ref:T}))),x.createElement(W.div,{...U(A,O,u,_,y,m,C?.dragProps),ref:s,"data-selected":p.isSelected||void 0,"data-disabled":p.isDisabled||void 0,"data-hovered":h||void 0,"data-focused":p.isFocused||void 0,"data-focus-visible":g||void 0,"data-focus-visible-within":v||void 0,"data-pressed":p.isPressed||void 0,"data-allows-dragging":!!a||void 0,"data-dragging":D||void 0,"data-drop-target":w?.isDropTarget||void 0,"data-selection-mode":r.selectionManager.selectionMode===`none`?void 0:r.selectionManager.selectionMode},x.createElement(`div`,{...d,style:{display:`contents`}},x.createElement(vS,{values:[[yj,{slots:{[_S]:{},selection:b}}],[bj,{slots:{[_S]:{},selection:b}}],[$D,{slots:{[_S]:S,drag:{...C?.dragButtonProps,ref:k,style:{pointerEvents:`none`}}}}],[aO,{slots:{[_S]:{},description:f}}],[RE,IE],[XL,null],[CT,null],[wT,null],[RI,{isSelected:p.isSelected}]]},O.children))))});function qG(e,t){t=gS(t);let{dragAndDropHooks:n,dropState:r}=(0,x.useContext)(kI),i=(0,x.useRef)(null),{dropIndicatorProps:a,isHidden:o,isDropTarget:s}=n.useDropIndicator(e,r,i);return o?null:x.createElement(YG,{...e,dropIndicatorProps:a,isDropTarget:s,buttonRef:i,ref:t})}function JG(e,t){let{dropIndicatorProps:n,isDropTarget:r,buttonRef:i,...a}=e,{visuallyHiddenProps:o}=HA(),s=yS({...a,defaultClassName:`react-aria-DropIndicator`,values:{isDropTarget:r}});return x.createElement(W.div,{...s,role:`row`,ref:t,"data-drop-target":r||void 0},x.createElement(`div`,{role:`gridcell`},x.createElement(`div`,{...o,role:`button`,...n,ref:i}),s.children))}var YG=(0,x.forwardRef)(JG);function XG(){let{dragAndDropHooks:e,dropState:t}=(0,x.useContext)(kI),n=(0,x.useRef)(null),{dropIndicatorProps:r}=e.useDropIndicator({target:{type:`root`}},t,n),i=t.isDropTarget({type:`root`}),{visuallyHiddenProps:a}=HA();return!i&&r[`aria-hidden`]?null:x.createElement(`div`,{role:`row`,"aria-hidden":r[`aria-hidden`],style:{position:`absolute`}},x.createElement(`div`,{role:`gridcell`},x.createElement(`div`,{role:`button`,...a,...r,ref:n})))}AE(DT,function(e,t,n){let r=(0,x.useContext)(XL),{isVirtualized:i}=(0,x.useContext)(RE),{isLoading:a,onLoadMore:o,scrollOffset:s,...c}=e,l=(0,x.useRef)(null);JL((0,x.useMemo)(()=>({onLoadMore:o,collection:r?.collection,sentinelRef:l,scrollOffset:s}),[o,s,l,r?.collection]),l);let u=yS({...c,id:void 0,children:n.rendered,defaultClassName:`react-aria-GridListLoadingIndicator`,values:void 0});return x.createElement(x.Fragment,null,x.createElement(`div`,{style:{position:`relative`,width:0,height:0},inert:PL(!0)},x.createElement(`div`,{"data-testid":`loadMoreSentinel`,ref:l,style:{position:`absolute`,height:1,width:1}})),a&&u.children&&x.createElement(W.div,{...u,...K(e,{global:!0}),role:`row`,ref:t},x.createElement(`div`,{"aria-colindex":i?1:void 0,role:`gridcell`},u.children)))});var ZG=1500,QG=500,$G={},eK=0,tK=!1,nK=null,rK=null;function iK(e={}){let{delay:t=ZG,closeDelay:n=QG}=e,{isOpen:r,open:i,close:a}=uB(e),[o,s]=(0,x.useState)(!1),c=(0,x.useMemo)(()=>`${++eK}`,[]),l=(0,x.useRef)(null),u=(0,x.useRef)(a),d=()=>{$G[c]=m},f=()=>{for(let e in $G)e!==c&&($G[e](!0,!0),delete $G[e])},p=e=>{l.current&&clearTimeout(l.current),l.current=null,f(),d(),s(!!e),tK=!0,i(),nK&&=(clearTimeout(nK),null),rK&&=(clearTimeout(rK),null)},m=(e,t)=>{s(!!t),e||n<=0?(l.current&&clearTimeout(l.current),l.current=null,u.current()):l.current||=setTimeout(()=>{l.current=null,u.current()},n),nK&&=(clearTimeout(nK),null),tK&&(rK&&clearTimeout(rK),rK=setTimeout(()=>{delete $G[c],rK=null,tK=!1},Math.max(QG,n)))},h=()=>{f(),d(),!r&&!tK?(nK&&clearTimeout(nK),nK=setTimeout(()=>{nK=null,tK=!0,p(!1)},t)):r||p(!0)};return(0,x.useEffect)(()=>{u.current=a},[a]),(0,x.useEffect)(()=>()=>{l.current&&clearTimeout(l.current),$G[c]&&delete $G[c]},[c]),{isOpen:r,shouldSkipAnimation:o,open:e=>{!e&&t>0&&!l.current?h():p(tK)},close:m}}function aK(e){let{progressBarProps:t,labelProps:n}=GD(e);return{meterProps:{...t,role:`meter`},labelProps:n}}var oK=(0,x.createContext)(null),sK=(0,x.forwardRef)(function(e,t){[e,t]=SS(e,t,oK);let{value:n=0,minValue:r=0,maxValue:i=100}=e;n=VD(n,r,i);let a=i-r,[o,s]=CS(!e[`aria-label`]&&!e[`aria-labelledby`]),{meterProps:c,labelProps:l}=aK({...e,label:s}),u=a===0?0:(n-r)/a*100,d=yS({...e,defaultClassName:`react-aria-Meter`,values:{percentage:u,valueText:c[`aria-valuetext`]}}),f=K(e,{global:!0});return x.createElement(W.div,{...U(f,d,c),ref:t,slot:e.slot||void 0},x.createElement(bD.Provider,{value:{...l,ref:o,elementType:`span`}},d.children))});function cK(e,t,n){let{overlayProps:r,underlayProps:i}=QR({...e,isOpen:t.isOpen,onClose:t.close},n);fz({isDisabled:!t.isOpen,UNSTABLE_overrideFocus:e.UNSTABLE_overrideFocus}),lB();let{isEntering:a}=e;return(0,x.useEffect)(()=>{if(t.isOpen&&n.current)return a?vR(n.current):_R([n.current],{shouldUseInert:!0})},[t.isOpen,a,n]),{modalProps:U(r),underlayProps:i}}var lK=typeof document<`u`&&window.visualViewport;function uK(){let e=aS(),t=(0,x.useRef)(null),[n,r]=(0,x.useState)(()=>e?{width:0,height:0}:dK());return(0,x.useEffect)(()=>{let e=e=>{r(t=>e.width===t.width&&e.height===t.height?t:e)},n=()=>{lK&&lK.scale>1||e(dK())},i=n=>{lK&&lK.scale>1||Hw(G(n))&&(t.current=sz(t=>{t||e({width:document.documentElement.clientWidth,height:document.documentElement.clientHeight})}))};return e(dK()),hC()&&_C()&&window.addEventListener(`blur`,i,!0),lK?lK.addEventListener(`resize`,n):window.addEventListener(`resize`,n),()=>{t.current?.(),hC()&&_C()&&window.removeEventListener(`blur`,i,!0),lK?lK.removeEventListener(`resize`,n):window.removeEventListener(`resize`,n)}},[]),n}function dK(){return{width:lK?Math.min(lK.width*lK.scale,document.documentElement.clientWidth):document.documentElement.clientWidth,height:lK?lK.height*lK.scale:document.documentElement.clientHeight}}var fK=(0,x.createContext)(null),pK=(0,x.createContext)(null),mK=(0,x.forwardRef)(function(e,t){if((0,x.useContext)(pK))return x.createElement(yK,{...e,modalRef:t},e.children);let{isDismissable:n,isKeyboardDismissDisabled:r,isOpen:i,defaultOpen:a,onOpenChange:o,children:s,isEntering:c,isExiting:l,UNSTABLE_portalContainer:u,shouldCloseOnInteractOutside:d,...f}=e;return x.createElement(gK,{isDismissable:n,isKeyboardDismissDisabled:r,isOpen:i,defaultOpen:a,onOpenChange:o,isEntering:c,isExiting:l,UNSTABLE_portalContainer:u,shouldCloseOnInteractOutside:d},x.createElement(yK,{...f,modalRef:t},s))});function hK(e,t){[e,t]=SS(e,t,fK);let n=(0,x.useContext)(DV),r=uB(e),i=e.isOpen!=null||e.defaultOpen!=null||!n?r:n,a=gS(t),o=(0,x.useRef)(null),s=fB(a,i.isOpen,e.onExit),c=(0,x.useRef)(null),l=fB(o,i.isOpen,e=>c.current?.(e)),u=s||l||e.isExiting||!1,d=aS();return!i.isOpen&&!u||d?null:x.createElement(_K,{...e,state:i,isExiting:u,overlayRef:a,modalRef:o,onExitRef:c})}var gK=(0,x.forwardRef)(hK);function _K({UNSTABLE_portalContainer:e,UNSTABLE_deferUntilEntered:t,...n}){let r=n.modalRef,{state:i}=n,[a,o]=(0,x.useState)(!1),s=dB(n.overlayRef,a,n.onEnter)||n.isEntering||!1,c=!!t&&(!a||s),{modalProps:l,underlayProps:u}=cK({...n,isEntering:c},i,r),d=(0,x.useContext)(EV),f=t?vK(d,{isEntering:c}):d,p=yS({...n,defaultClassName:`react-aria-ModalOverlay`,values:{isEntering:s,isExiting:n.isExiting,state:i}}),m=uK(),h,g;if(typeof document<`u`){let e=MA(document.body)?document.body:document.scrollingElement||document.documentElement,t=e.getBoundingClientRect().width%1,n=e.getBoundingClientRect().height%1;h=e.scrollWidth-t,g=e.scrollHeight-n}let _={...p.style,"--visual-viewport-width":m.width+`px`,"--visual-viewport-height":m.height+`px`,"--page-width":h===void 0?void 0:h+`px`,"--page-height":g===void 0?void 0:g+`px`};return qx(()=>sz(()=>o(!0)),[]),x.createElement(cB,{isExiting:n.isExiting,portalContainer:e},x.createElement(W.div,{...U(K(n,{global:!0}),u),...p,style:_,ref:n.overlayRef,"data-entering":s||void 0,"data-exiting":n.isExiting||void 0},x.createElement(vS,{values:[[pK,{modalProps:l,modalRef:r,isExiting:n.isExiting,onExitRef:n.onExitRef,isOpen:a,isDismissable:n.isDismissable}],[DV,i],[EV,f]]},p.children)))}function vK(e,t){if(e&&`slots`in e&&e.slots){let n={};for(let r in e.slots)n[r]={...e.slots[r],...t};return{...e,slots:n}}return{...e,...t}}function yK(e){let{modalProps:t,modalRef:n,isExiting:r,onExitRef:i,isDismissable:a,isOpen:o}=(0,x.useContext)(pK),s=(0,x.useContext)(DV),c=gS((0,x.useMemo)(()=>mS(e.modalRef,n),[e.modalRef,n])),l=dB(c,o,e.onEnter),u=yS({...e,defaultClassName:`react-aria-Modal`,values:{isEntering:l,isExiting:r,state:s}});return qx(()=>{i&&(i.current=e.onExit)}),x.createElement(W.div,{...U(K(e,{global:!0}),t),...u,ref:c,"data-entering":l||void 0,"data-exiting":r||void 0},a&&x.createElement(tB,{onDismiss:s.close}),u.children)}var bK=(0,x.createContext)(null),xK=(0,x.createContext)(null),SK=(0,x.forwardRef)(function(e,t){[e,t]=SS(e,t,bK);let{validationBehavior:n}=xS(ij)||{},r=e.validationBehavior??n??`native`,{locale:i}=rT(),a=pF({...e,locale:i,validationBehavior:r}),o=(0,x.useRef)(null),[s,c]=CS(!e[`aria-label`]&&!e[`aria-labelledby`]),{labelProps:l,groupProps:u,inputProps:d,incrementButtonProps:f,decrementButtonProps:p,descriptionProps:m,errorMessageProps:h,...g}=nF({...wS(e),label:c,validationBehavior:r},a,o),_=yS({...e,values:{state:a,isDisabled:e.isDisabled||!1,isInvalid:g.isInvalid||!1,isRequired:e.isRequired||!1,isReadOnly:e.isReadOnly||!1},defaultClassName:`react-aria-NumberField`}),v=K(e,{global:!0});return delete v.id,x.createElement(vS,{values:[[xK,a],[EN,u],[ON,{...d,ref:o}],[bD,{...l,ref:s}],[$D,{slots:{increment:f,decrement:p}}],[aO,{slots:{description:m,errorMessage:h}}],[WA,g]]},x.createElement(W.div,{...v,..._,ref:t,slot:e.slot||void 0,"data-disabled":e.isDisabled||void 0,"data-readonly":e.isReadOnly||void 0,"data-required":e.isRequired||void 0,"data-invalid":g.isInvalid||void 0}),e.name&&x.createElement(`input`,{type:`hidden`,name:e.name,form:e.form,value:isNaN(a.numberValue)?``:a.numberValue,disabled:e.isDisabled||void 0}))}),CK={};CK={"Clear search":`مسح البحث`};var wK={};wK={"Clear search":`Изчистване на търсене`};var TK={};TK={"Clear search":`Vymazat hledání`};var EK={};EK={"Clear search":`Ryd søgning`};var DK={};DK={"Clear search":`Suche zurücksetzen`};var OK={};OK={"Clear search":`Απαλοιφή αναζήτησης`};var kK={};kK={"Clear search":`Clear search`};var AK={};AK={"Clear search":`Borrar búsqueda`};var jK={};jK={"Clear search":`Tühjenda otsing`};var MK={};MK={"Clear search":`Tyhjennä haku`};var NK={};NK={"Clear search":`Effacer la recherche`};var PK={};PK={"Clear search":`נקה חיפוש`};var FK={};FK={"Clear search":`Obriši pretragu`};var IK={};IK={"Clear search":`Keresés törlése`};var LK={};LK={"Clear search":`Cancella ricerca`};var RK={};RK={"Clear search":`検索をクリア`};var zK={};zK={"Clear search":`검색 지우기`};var BK={};BK={"Clear search":`Išvalyti iešką`};var VK={};VK={"Clear search":`Notīrīt meklēšanu`};var HK={};HK={"Clear search":`Tøm søk`};var UK={};UK={"Clear search":`Zoekactie wissen`};var WK={};WK={"Clear search":`Wyczyść zawartość wyszukiwania`};var GK={};GK={"Clear search":`Limpar pesquisa`};var KK={};KK={"Clear search":`Limpar pesquisa`};var qK={};qK={"Clear search":`Ştergeţi căutarea`};var JK={};JK={"Clear search":`Очистить поиск`};var YK={};YK={"Clear search":`Vymazať vyhľadávanie`};var XK={};XK={"Clear search":`Počisti iskanje`};var ZK={};ZK={"Clear search":`Obriši pretragu`};var QK={};QK={"Clear search":`Rensa sökning`};var $K={};$K={"Clear search":`Aramayı temizle`};var eq={};eq={"Clear search":`Очистити пошук`};var tq={};tq={"Clear search":`清除搜索`};var nq={};nq={"Clear search":`清除搜尋條件`};var rq={};rq={"ar-AE":CK,"bg-BG":wK,"cs-CZ":TK,"da-DK":EK,"de-DE":DK,"el-GR":OK,"en-US":kK,"es-ES":AK,"et-EE":jK,"fi-FI":MK,"fr-FR":NK,"he-IL":PK,"hr-HR":FK,"hu-HU":IK,"it-IT":LK,"ja-JP":RK,"ko-KR":zK,"lt-LT":BK,"lv-LV":VK,"nb-NO":HK,"nl-NL":UK,"pl-PL":WK,"pt-BR":GK,"pt-PT":KK,"ro-RO":qK,"ru-RU":JK,"sk-SK":YK,"sl-SI":XK,"sr-SP":ZK,"sv-SE":QK,"tr-TR":$K,"uk-UA":eq,"zh-CN":tq,"zh-TW":nq};function iq(e){return e&&e.__esModule?e.default:e}function aq(e,t,n){let r=_T(iq(rq),`@react-aria/searchfield`),{isDisabled:i,isReadOnly:a,onSubmit:o,onClear:s,type:c=`search`}=e,{keyboardProps:l}=oE({isDisabled:i||a,shortcuts:{Enter:()=>{if(o)o(t.value);else return!1},Escape:()=>{if(t.value===``&&(!n.current||n.current.value===``))return!1;t.setValue(``),s?.()}}}),u=()=>{t.setValue(``),s&&s()},d=()=>{n.current?.focus()},{labelProps:f,inputProps:p,descriptionProps:m,errorMessageProps:h,...g}=jN({...e,value:t.value,onChange:t.setValue,onKeyDown:e.onKeyDown,onKeyUp:e.onKeyUp,type:c},n);return{labelProps:f,inputProps:U(l,{...p,defaultValue:void 0}),clearButtonProps:{"aria-label":r.format(`Clear search`),excludeFromTabOrder:!0,preventFocusOnPress:!0,isDisabled:i||a,onPress:u,onPressStart:d},descriptionProps:m,errorMessageProps:h,...g}}function oq(e){let[t,n]=xT(sq(e.value),sq(e.defaultValue)||``,e.onChange);return{value:t,setValue:n}}function sq(e){if(e!=null)return e.toString()}var cq=(0,x.createContext)(null),lq=mE(function(e,t){[e,t]=SS(e,t,cq);let{validationBehavior:n}=xS(ij)||{},r=e.validationBehavior??n??`native`,i=(0,x.useRef)(null);[e,i]=SS(e,i,wT);let[a,o]=CS(!e[`aria-label`]&&!e[`aria-labelledby`]),s=oq({...e,validationBehavior:r}),{labelProps:c,inputProps:l,clearButtonProps:u,descriptionProps:d,errorMessageProps:f,...p}=aq({...wS(e),label:o,validationBehavior:r},s,i),m=yS({...e,values:{isEmpty:s.value===``,isDisabled:e.isDisabled||!1,isInvalid:p.isInvalid||!1,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1,state:s},defaultClassName:`react-aria-SearchField`}),h=K(e,{global:!0});return delete h.id,x.createElement(W.div,{...h,...m,ref:t,slot:e.slot||void 0,"data-empty":s.value===``||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":p.isInvalid||void 0,"data-readonly":e.isReadOnly||void 0,"data-required":e.isRequired||void 0},x.createElement(vS,{values:[[bD,{...c,ref:a}],[ON,{...l,ref:i}],[$D,u],[aO,{slots:{description:d,errorMessage:f}}],[EN,{isInvalid:p.isInvalid,isDisabled:e.isDisabled||!1}],[WA,p]]},m.children))}),uq=new WeakMap;function dq(e,t,n){let{keyboardDelegate:r,isDisabled:i,isRequired:a,name:o,form:s,validationBehavior:c=`aria`}=e,l=bL({usage:`search`,sensitivity:`base`}),u=(0,x.useMemo)(()=>r||new vL(t.collection,t.disabledKeys,n,l),[r,t.collection,t.disabledKeys,l,n]),{menuTriggerProps:d,menuProps:f}=rV({isDisabled:i,type:`listbox`},t,n),{keyboardProps:p}=oE({shortcuts:{ArrowLeft:()=>{if(t.selectionManager.selectionMode===`multiple`)return!1;let e=t.selectedKey==null?u.getFirstKey?.():u.getKeyAbove?.(t.selectedKey);e!=null&&t.setSelectedKey(e)},ArrowRight:()=>{if(t.selectionManager.selectionMode===`multiple`)return!1;let e=t.selectedKey==null?u.getFirstKey?.():u.getKeyBelow?.(t.selectedKey);e!=null&&t.setSelectedKey(e)}},allowRepeats:!0,onKeyDown:e.onKeyDown,onKeyUp:e.onKeyUp}),{typeSelectProps:m}=mL({keyboardDelegate:u,selectionManager:t.selectionManager,onTypeSelect(e){t.setSelectedKey(e)}}),{isInvalid:h,validationErrors:g,validationDetails:_}=t.displayValidation,{labelProps:v,fieldProps:y,descriptionProps:b,errorMessageProps:S}=sj({...e,labelElementType:`span`,isInvalid:h,errorMessage:e.errorMessage||g});t.selectionManager.selectionMode===`multiple`&&(m={});let C=K(e,{labelable:!0}),w=U(m,d,y),T=dS();return uq.set(t,{isDisabled:i,isRequired:a,name:o,form:s,validationBehavior:c}),{labelProps:{...v,onClick:()=>{e.isDisabled||(n.current?.focus(),ZC(`keyboard`))}},triggerProps:U(C,{...w,isDisabled:i,onKeyDown:Kx(w.onKeyDown,p.onKeyDown),onKeyUp:p.onKeyUp,"aria-labelledby":[T,w[`aria-labelledby`],w[`aria-label`]&&!w[`aria-labelledby`]?w.id:null].filter(Boolean).join(` `),onFocus(n){t.isFocused||(e.onFocus&&e.onFocus(n),e.onFocusChange&&e.onFocusChange(!0),t.setFocused(!0))},onBlur(n){t.isOpen||(e.onBlur&&e.onBlur(n),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))}}),valueProps:{id:T},menuProps:{...f,onAction:void 0,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,disallowEmptySelection:!0,linkBehavior:`selection`,onBlur:n=>{zS(n.currentTarget,n.relatedTarget)||(e.onBlur&&e.onBlur(n),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))},"aria-labelledby":[y[`aria-labelledby`],w[`aria-label`]&&!y[`aria-labelledby`]?w.id:null].filter(Boolean).join(` `)},descriptionProps:b,errorMessageProps:S,isInvalid:h,validationErrors:g,validationDetails:_,hiddenSelectProps:{isDisabled:i,name:o,label:e.label,state:t,triggerRef:n,form:s}}}function fq(e,t,n){let r=uq.get(t)||{},{autoComplete:i,name:a=r.name,form:o=r.form,isDisabled:s=r.isDisabled}=e,{validationBehavior:c,isRequired:l}=r,{visuallyHiddenProps:u}=HA({style:{position:`fixed`,top:0,left:0}});cj(e.selectRef,t.defaultValue,t.setValue),lj({validationBehavior:c,focus:()=>n.current?.focus()},t,e.selectRef);let d=t.setValue,f=(0,x.useCallback)(e=>{let t=G(e);t.multiple?d(Array.from(t.selectedOptions,e=>e.value)):d(e.currentTarget.value)},[d]);return{containerProps:{...u,"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:s,multiple:t.selectionManager.selectionMode===`multiple`,required:c===`native`&&l,name:a,form:o,value:t.value??``,onChange:f,onInput:f}}}function pq(e){let{state:t,triggerRef:n,label:r,name:i,form:a,isDisabled:o}=e,s=(0,x.useRef)(null),c=(0,x.useRef)(null),{containerProps:l,selectProps:u}=fq({...e,selectRef:t.collection.size<=300?s:c},t,n),d=Array.isArray(t.value)?t.value:[t.value];if(t.collection.size<=300)return x.createElement(`div`,{...l,"data-testid":`hidden-select-container`},x.createElement(`label`,null,r,x.createElement(`select`,{...u,ref:s},x.createElement(`option`,{value:``,label:`\xA0`},`\xA0`),[...t.collection.getKeys()].map(e=>{let n=t.collection.getItem(e);if(n&&n.type===`item`)return x.createElement(`option`,{key:n.key,value:n.key},n.textValue)}),t.collection.size===0&&i&&d.map((e,t)=>x.createElement(`option`,{key:t,value:e??``})))));if(i){let{validationBehavior:e}=uq.get(t)||{};d.length===0&&(d=[null]);let n=d.map((t,n)=>{let r={type:`hidden`,autoComplete:u.autoComplete,name:i,form:a,disabled:o,value:t??``};return e===`native`?x.createElement(`input`,{key:n,...r,ref:n===0?c:null,style:{display:`none`},type:`text`,required:n===0&&u.required,onChange:()=>{}}):x.createElement(`input`,{key:n,...r,ref:n===0?c:null})});return x.createElement(x.Fragment,null,n)}return null}function mq(e){let{selectionMode:t=`single`,shouldCloseOnSelect:n=t===`single`}=e,r=uB(e),[i,a]=(0,x.useState)(null),o=(0,x.useMemo)(()=>e.defaultValue===void 0?t===`single`?e.defaultSelectedKey??null:[]:e.defaultValue,[e.defaultValue,e.defaultSelectedKey,t]),[s,c]=xT((0,x.useMemo)(()=>e.value===void 0?t===`single`?e.selectedKey:void 0:e.value,[e.value,e.selectedKey,t]),o,e.onChange),l=t===`single`&&Array.isArray(s)?s[0]:s,u=n=>{if(t===`single`){let t=Array.isArray(n)?n[0]??null:n;c(t),t!==l&&e.onSelectionChange?.(t)}else{let e=[];Array.isArray(n)?e=n:n!=null&&(e=[n]),c(e)}},d=GL({...e,selectionMode:t,disallowEmptySelection:t===`single`,allowDuplicateSelectionEvents:!0,selectedKeys:(0,x.useMemo)(()=>hq(l),[l]),onSelectionChange:e=>{if(e!==`all`){if(t===`single`){let t=e.values().next().value??null;u(t)}else u([...e]);n&&r.close(),m.commitValidation()}}}),f=d.selectionManager.firstSelectedKey,p=(0,x.useMemo)(()=>[...d.selectionManager.selectedKeys].map(e=>d.collection.getItem(e)).filter(e=>e!=null),[d.selectionManager.selectedKeys,d.collection]),m=QA({...e,value:Array.isArray(l)&&l.length===0?null:l}),[h,g]=(0,x.useState)(!1),[_]=(0,x.useState)(l);return{...m,...d,...r,value:l,defaultValue:o??_,setValue:u,selectedKey:f,setSelectedKey:u,selectedItem:p[0]??null,selectedItems:p,defaultSelectedKey:e.defaultSelectedKey??(e.selectionMode===`single`?_:null),focusStrategy:i,open(t=null){(d.collection.size!==0||e.allowsEmptyCollection)&&(a(t),r.open())},toggle(t=null){(d.collection.size!==0||e.allowsEmptyCollection)&&(a(t),r.toggle())},isFocused:h,setFocused:g}}function hq(e){if(e!==void 0)return e===null?[]:Array.isArray(e)?e:[e]}function gq(e){return e&&e.__esModule?e.default:e}var _q=(0,x.createContext)(null),vq=(0,x.createContext)(null),yq=mE(function(e,t){[e,t]=SS(e,t,_q);let{children:n,isDisabled:r=!1,isInvalid:i=!1,isRequired:a=!1}=e,o=(0,x.useMemo)(()=>typeof n==`function`?n({isOpen:!1,isDisabled:r,isInvalid:i,isRequired:a,isFocused:!1,isFocusVisible:!1,defaultChildren:null}):n,[n,r,i,a]);return x.createElement(SE,{content:o},n=>x.createElement(xq,{props:e,collection:n,selectRef:t}))}),bq=[bD,$D,aO];function xq({props:e,selectRef:t,collection:n}){let{validationBehavior:r}=xS(ij)||{},i=e.validationBehavior??r??`native`,a=mq({...e,collection:n,children:void 0,validationBehavior:i}),{isFocusVisible:o,focusProps:s}=dD({within:!0}),c=(0,x.useRef)(null),[l,u]=CS(!e[`aria-label`]&&!e[`aria-labelledby`]),{labelProps:d,triggerProps:f,valueProps:p,menuProps:m,descriptionProps:h,errorMessageProps:g,hiddenSelectProps:_,...v}=dq({...wS(e),label:u,validationBehavior:i},a,c),y=(0,x.useMemo)(()=>({isOpen:a.isOpen,isFocused:a.isFocused,isFocusVisible:o,isDisabled:e.isDisabled||!1,isInvalid:v.isInvalid||!1,isRequired:e.isRequired||!1}),[a.isOpen,a.isFocused,o,e.isDisabled,v.isInvalid,e.isRequired]),b=yS({...e,values:y,defaultClassName:`react-aria-Select`}),S=K(e,{global:!0});delete S.id;let C=(0,x.useRef)(null);return x.createElement(vS,{values:[[_q,e],[vq,a],[Sq,p],[bD,{...d,ref:l,elementType:`span`}],[$D,{...f,ref:c,isPressed:a.isOpen,autoFocus:e.autoFocus}],[DV,a],[mB,{trigger:`Select`,triggerRef:c,scrollRef:C,placement:`bottom start`,"aria-labelledby":m[`aria-labelledby`],clearContexts:bq}],[YL,{...m,ref:C}],[XL,a],[aO,{slots:{description:h,errorMessage:g}}],[WA,v]]},x.createElement(W.div,{...U(S,b,s),ref:t,slot:e.slot||void 0,"data-focused":a.isFocused||void 0,"data-focus-visible":o||void 0,"data-open":a.isOpen||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":v.isInvalid||void 0,"data-required":e.isRequired||void 0},b.children,x.createElement(pq,{..._,autoComplete:e.autoComplete})))}var Sq=(0,x.createContext)(null),Cq=mE(function(e,t){[e,t]=SS(e,t,Sq);let n=(0,x.useContext)(vq),{placeholder:r}=xS(_q),i=n.selectedItems.map(e=>{let t=e.props?.children;return typeof t==`function`&&(t=t({isHovered:!1,isPressed:!1,isSelected:!1,isFocused:!1,isFocusVisible:!1,isDisabled:!1,selectionMode:`single`,selectionBehavior:`toggle`})),t}),a=jV(),o=(0,x.useMemo)(()=>n.selectedItems.map(e=>e?.textValue),[n.selectedItems]),s=n.selectionManager.selectionMode,c=(0,x.useMemo)(()=>s===`single`?o[0]??``:a.format(o),[s,a,o]),l=(0,x.useMemo)(()=>{if(s===`single`)return i[0];let e=a.formatToParts(o);if(e.length===0)return null;let t=0;return e.map(e=>e.type===`element`?x.createElement(x.Fragment,{key:t},i[t++]):e.value)},[s,a,o,i]),u=_T(gq(OI),`react-aria-components`),d=yS({...e,defaultChildren:l??r??u.format(`selectPlaceholder`),defaultClassName:`react-aria-SelectValue`,values:{selectedItem:n.selectedItems[0]?.value??null,selectedItems:(0,x.useMemo)(()=>n.selectedItems.map(e=>e.value??null),[n.selectedItems]),selectedText:c,isPlaceholder:n.selectedItems.length===0,state:n}}),f=K(e,{global:!0});return x.createElement(W.span,{ref:t,...f,...d,"data-placeholder":n.selectedItems.length===0||void 0},x.createElement(aO.Provider,{value:void 0},d.children))});function wq(e,t,n){let{labelProps:r,inputProps:i,isSelected:a,...o}=hj(e,t,n);return{labelProps:r,inputProps:{...i,role:`switch`,checked:a},isSelected:a,...o}}for(var Tq=(0,x.createContext)(null),Eq=(0,x.createContext)(null),Dq=(0,x.forwardRef)(function(e,t){let{inputRef:n=null,...r}=e;[e,t]=SS(r,t,Tq);let i=gS((0,x.useMemo)(()=>mS(n,e.inputRef===void 0?null:e.inputRef),[n,e.inputRef])),a=_j(e),o=wq({...wS(e),children:typeof e.children==`function`||e.children},a,i);return x.createElement(vS,{values:[[Eq,a],[Oq,{...o,inputRef:i,defaultClassName:`react-aria-Switch`}]]},x.createElement(kq,{...e,ref:t}))}),Oq=(0,x.createContext)(null),kq=(0,x.forwardRef)(function(e,t){let{labelProps:n,inputProps:r,isSelected:i,isDisabled:a,isReadOnly:o,isPressed:s,isInvalid:c,inputRef:l,defaultClassName:u,isRequired:d}=(0,x.useContext)(Oq),{isFocused:f,isFocusVisible:p,focusProps:m}=dD(),h=a||o,g=(0,x.useContext)(Eq),{hoverProps:_,isHovered:v}=_D({...e,isDisabled:h}),y=yS({...e,defaultClassName:u,values:{isSelected:i,isPressed:s,isHovered:v,isFocused:f,isFocusVisible:p,isDisabled:a,isReadOnly:o,isInvalid:c,isRequired:d||!1,state:g}}),b=K(e,{global:!0});return delete b.id,delete b.onClick,x.createElement(W.label,{...U(b,n,_,y),ref:t,slot:e.slot||void 0,"data-selected":i||void 0,"data-pressed":s||void 0,"data-hovered":v||void 0,"data-focused":f||void 0,"data-focus-visible":p||void 0,"data-disabled":a||void 0,"data-readonly":o||void 0,"data-invalid":c||void 0,"data-required":d||void 0},x.createElement(UA,{elementType:`span`},x.createElement(`input`,{...U(r,m),ref:l})),y.children)}),Aq=10,jq=5,Mq=class{setup(e,t,n){this.delegate=e,this.state=t,this.direction=n}getDropTargetFromPoint(e,t,n){let r=this.delegate.getDropTargetFromPoint(e,t,n);return!r||r.type===`root`?r:this.resolveDropTarget(r,e,t,n)}resolveDropTarget(e,t,n,r){let i=this.pointerTracking,a=n-i.lastY,o=t-i.lastX,s=i.yDirection,c=i.xDirection;if(Math.abs(a)>jq&&(s=a>0?`down`:`up`,i.yDirection=s,i.lastY=n),Math.abs(o)>Aq&&(c=o>0?`right`:`left`,i.xDirection=c,i.lastX=t),e.dropPosition===`before`){let t=this.state.collection.getKeyBefore(e.key);for(;t!=null;){let e=this.state.collection.getItem(t);if(e?.type===`item`)break;t=e?.parentKey??null}if(t!=null){let n={type:`item`,key:t,dropPosition:`after`};r(n)&&(e=n)}}let l=this.getPotentialTargets(e,r);if(l.length===0)return{type:`root`};let u;return l.length>1?u=this.selectTarget(l,e,t,n,s,c):(u=l[0],i.boundaryContext=null),u}getPotentialTargets(e,t){if(e.dropPosition===`on`)return[e];let n=e,r=this.state.collection,i=r.getItem(n.key);for(;i&&i?.type!==`item`&&i.nextKey!=null;)n.key=i.nextKey,i=r.getItem(i.nextKey);let a=[n];if(i&&i.hasChildNodes&&this.state.expandedKeys.has(i.key)&&r.getChildren&&n.dropPosition===`after`){let e=i.firstChildKey==null?null:r.getItem(i.firstChildKey);for(;e&&e.type!==`item`;)e=e.nextKey==null?null:r.getItem(e.nextKey);if(e?.type===`item`){let n={type:`item`,key:e.key,dropPosition:`before`};return t(n)?[n]:[]}}if(i?.nextKey!=null)return[e];let o=i?.parentKey,s=[];for(;o!=null;){let e=r.getItem(o),n=e?.nextKey==null?null:r.getItem(e.nextKey);if(!n||n.parentKey!==o){if(e?.type===`item`){let e={type:`item`,key:o,dropPosition:`after`};t(e)&&s.push(e)}if(n)break}o=e?.parentKey}if(s.length>0&&a.push(...s),a.length===1){let e=r.getKeyAfter(n.key),a=e==null?null:r.getItem(e);if(e!=null&&a&&i&&a.level!=null&&i.level!=null&&a.level>i.level){let n={type:`item`,key:e,dropPosition:`before`};if(t(n))return[n]}}return a.filter(t)}selectTarget(e,t,n,r,i,a){if(e.length<2)return e[0];let o=this.pointerTracking,s=this.state.collection.getItem(t.key)?.parentKey;if(s==null)return e[0];o.boundaryContext&&o.boundaryContext.parentKey===s||(o.boundaryContext={parentKey:s,preferredTargetIndex:o.yDirection===`up`?e.length-1:0,lastSwitchY:r,lastSwitchX:n});let c=o.boundaryContext,l=Math.abs(n-c.lastSwitchX);if(Math.abs(r-c.lastSwitchY)>jq&&i){let t=c.preferredTargetIndex||0;i===`down`&&t===0?c.preferredTargetIndex=e.length-1:i===`up`&&t===e.length-1&&(c.preferredTargetIndex=0),o.xDirection=null}if(l>Aq&&a){let t=c.preferredTargetIndex||0;a===`left`?this.direction===`ltr`?t<e.length-1&&(c.preferredTargetIndex=t+1,c.lastSwitchX=n):t>0&&(c.preferredTargetIndex=t-1,c.lastSwitchX=n):a===`right`&&(this.direction===`ltr`?t>0&&(c.preferredTargetIndex=t-1,c.lastSwitchX=n):t<e.length-1&&(c.preferredTargetIndex=t+1,c.lastSwitchX=n)),o.yDirection=null}return e[Math.max(0,Math.min(c.preferredTargetIndex||0,e.length-1))]}constructor(){this.delegate=null,this.state=null,this.direction=`ltr`,this.pointerTracking={lastY:0,lastX:0,yDirection:null,xDirection:null,boundaryContext:null}}},Nq=class{constructor(e){this.keyMap=new Map,this.keyMap=new Map,this.columnCount=e?.columnCount,this.rows=[];let t=r=>{let i=this.keyMap.get(r.key);e.visitNode&&(r=e.visitNode(r)),this.keyMap.set(r.key,r);let a=new Set,o=null,s=!1;if(r.type===`item`){for(let e of r.childNodes)if(e.props?.colSpan!==void 0){s=!0;break}}for(let e of r.childNodes)e.type===`cell`&&s&&(e.colspan=e.props?.colSpan,e.colSpan=e.props?.colSpan,e.colIndex=o?(o.colIndex??o.index)+(o.colSpan??1):e.index),e.type===`cell`&&e.parentKey==null&&(e.parentKey=r.key),a.add(e.key),o?(o.nextKey=e.key,e.prevKey=o.key):e.prevKey=null,t(e),o=e;if(o&&(o.nextKey=null),i)for(let e of i.childNodes)a.has(e.key)||n(e)},n=e=>{this.keyMap.delete(e.key);for(let t of e.childNodes)this.keyMap.get(t.key)===t&&n(t)},r=null;for(let[n,i]of e.items.entries()){let e={...i,level:i.level??0,key:i.key??`row-`+n,type:i.type??`row`,value:i.value??null,hasChildNodes:!0,childNodes:[...i.childNodes],rendered:i.rendered,textValue:i.textValue??``,index:i.index??n};r?(r.nextKey=e.key,e.prevKey=r.key):e.prevKey=null,this.rows.push(e),t(e),r=e}r&&(r.nextKey=null)}*[Symbol.iterator](){yield*[...this.rows]}get size(){return[...this.rows].length}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let t=this.keyMap.get(e);return t?t.prevKey??null:null}getKeyAfter(e){let t=this.keyMap.get(e);return t?t.nextKey??null:null}getFirstKey(){return[...this.rows][0]?.key}getLastKey(){let e=[...this.rows];return e[e.length-1]?.key}getItem(e){return this.keyMap.get(e)??null}at(e){let t=[...this.getKeys()];return this.getItem(t[e])}getChildren(e){return this.keyMap.get(e)?.childNodes||[]}},Pq=`row-header-column-`+Math.random().toString(36).slice(2),Fq=`row-header-column-`+Math.random().toString(36).slice(2);Pq===Fq;)Fq=`row-header-column-`+Math.random().toString(36).slice(2);function Iq(e,t){if(t.length===0)return[];let n=[],r=new Map;for(let i of t){let t=i.parentKey,a=[i];for(;t!=null;){let n=e.get(t);if(!n)break;if(r.has(n)){n.colSpan??=0,n.colSpan++,n.colspan=n.colSpan;let{column:e,index:t}=r.get(n);if(t>a.length)break;for(let n=t;n<a.length;n++)e.splice(n,0,null);for(let t=a.length;t<e.length;t++)e[t]&&r.has(e[t])&&(r.get(e[t]).index=t)}else n.colSpan=1,n.colspan=1,a.push(n),r.set(n,{column:a,index:a.length-1});t=n.parentKey}n.push(a),i.index=n.length-1}let i=Math.max(...n.map(e=>e.length)),a=Array(i).fill(0).map(()=>[]),o=0;for(let e of n){let t=i-1;for(let n of e){if(n){let e=a[t],r=e.reduce((e,t)=>e+(t.colSpan??1),0);if(r<o){let i={type:`placeholder`,key:`placeholder-`+n.key,colspan:o-r,colSpan:o-r,index:r,value:null,rendered:null,level:t,hasChildNodes:!1,childNodes:[],textValue:``};e.length>0&&(e[e.length-1].nextKey=i.key,i.prevKey=e[e.length-1].key),e.push(i)}e.length>0&&(e[e.length-1].nextKey=n.key,n.prevKey=e[e.length-1].key),n.level=t,n.colIndex=o,e.push(n)}t--}o++}let s=0;for(let e of a){let n=e.reduce((e,t)=>e+(t.colSpan??1),0);if(n<t.length){let r={type:`placeholder`,key:`placeholder-`+e[e.length-1].key,colSpan:t.length-n,colspan:t.length-n,index:n,value:null,rendered:null,level:s,hasChildNodes:!1,childNodes:[],textValue:``,prevKey:e[e.length-1].key};e.push(r)}s++}return a.map((e,t)=>({type:`headerrow`,key:`headerrow-`+t,index:t,value:null,rendered:null,level:0,hasChildNodes:!0,childNodes:e,textValue:``}))}var Lq=class extends Nq{constructor(e,t,n){let r=new Set,i=null,a=[];if(n?.showSelectionCheckboxes){let e={type:`column`,key:Pq,value:null,textValue:``,level:0,index:+!!n?.showDragButtons,hasChildNodes:!1,rendered:null,childNodes:[],props:{isSelectionCell:!0}};a.unshift(e)}if(n?.showDragButtons){let e={type:`column`,key:Fq,value:null,textValue:``,level:0,index:0,hasChildNodes:!1,rendered:null,childNodes:[],props:{isDragButtonCell:!0}};a.unshift(e)}let o=[],s=new Map,c=e=>{switch(e.type){case`body`:i=e;break;case`column`:s.set(e.key,e),e.hasChildNodes||(a.push(e),e.props.isRowHeader&&r.add(e.key));break;case`item`:o.push(e);return}for(let t of e.childNodes)c(t)};for(let t of e)c(t);let l=Iq(s,a);if(l.forEach((e,t)=>o.splice(t,0,e)),super({columnCount:a.length,items:o,visitNode:e=>(e.column=a[e.index],e)}),this._size=0,this.columns=a,this.rowHeaderColumnKeys=r,this.body=i,this.headerRows=l,this._size=[...i.childNodes].length,this.rowHeaderColumnKeys.size===0){let e=this.columns.find(e=>!e.props?.isDragButtonCell&&!e.props?.isSelectionCell);e&&this.rowHeaderColumnKeys.add(e.key)}}*[Symbol.iterator](){yield*this.body.childNodes}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){return this.keyMap.get(e)?.prevKey??null}getKeyAfter(e){return this.keyMap.get(e)?.nextKey??null}getFirstKey(){return DL(this.body.childNodes)?.key??null}getLastKey(){return kL(this.body.childNodes)?.key??null}getItem(e){return e===this.body.key?this.body:this.keyMap.get(e)??null}at(e){let t=[...this.getKeys()];return this.getItem(t[e])}getChildren(e){if(e===this.body.key)return this.body.childNodes;let t=this.getItem(e);return t?.type===`item`?[...t.childNodes].filter(e=>e.type===`cell`):super.getChildren(e)}getTextValue(e){let t=this.getItem(e);if(!t)return``;if(t.textValue)return t.textValue;let n=this.rowHeaderColumnKeys;if(n){let e=[];for(let r of t.childNodes){let t=this.columns[r.index];if(n.has(t.key)&&r.textValue&&e.push(r.textValue),e.length===n.size)break}return e.join(` `)}return``}};function Rq(e){let{collection:t,focusMode:n}=e,r=e.UNSAFE_selectionState||LL(e),i=(0,x.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=r.setFocusedKey;r.setFocusedKey=(e,r)=>{if(n===`cell`&&e!=null){let n=t.getItem(e);if(n?.type===`item`){let i=EL(n,t);e=r===`last`?kL(i)?.key??null:DL(i)?.key??null}}a(e,r)};let o=(0,x.useMemo)(()=>new zL(t,r),[t,r]),s=(0,x.useRef)(null);return(0,x.useEffect)(()=>{if(r.focusedKey!=null&&s.current&&!t.getItem(r.focusedKey)){let e=s.current.getItem(r.focusedKey),n=e?.parentKey!=null&&(e.type===`cell`||e.type===`rowheader`||e.type===`column`)?s.current.getItem(e.parentKey):e;if(!n){r.setFocusedKey(null);return}let i=s.current.rows,a=t.rows,c=i.length-a.length,l=Math.min(c>1?Math.max(n.index-c+1,0):n.index,a.length-1),u=null;for(let e=Math.max(0,l);e<a.length;e++)if(!o.isDisabled(a[e].key)&&a[e].type!==`headerrow`){u=a[e];break}if(u===null){for(let e=l-1;e>=0;e--)if(!o.isDisabled(a[e].key)&&a[e].type!==`headerrow`){u=a[e];break}}if(u){let i=u.hasChildNodes?[...EL(u,t)]:[],a=u.hasChildNodes&&n!==e&&e&&e.index<i.length?i[e.index].key:u.key;r.setFocusedKey(a)}else r.setFocusedKey(null)}s.current=t},[t,o,r,r.focusedKey]),{collection:t,disabledKeys:i,isKeyboardNavigationDisabled:!1,selectionManager:o}}var zq={ascending:`descending`,descending:`ascending`};function Bq(e){let[t,n]=(0,x.useState)(!1),{selectionMode:r=`none`,showSelectionCheckboxes:i,showDragButtons:a,treeColumn:o=null}=e,s=(0,x.useMemo)(()=>({showSelectionCheckboxes:i&&r!==`none`,showDragButtons:a,selectionMode:r,columns:[]}),[e.children,i,r,a]),c=WL(e,(0,x.useCallback)(e=>new Lq(e,null,s),[s]),s),{disabledKeys:l,selectionManager:u}=Rq({...e,collection:c,disabledBehavior:e.disabledBehavior||`selection`}),[d,f]=xT(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,e.onExpandedChange);return{collection:c,disabledKeys:l,selectionManager:u,showSelectionCheckboxes:e.showSelectionCheckboxes||!1,sortDescriptor:e.sortDescriptor??null,isKeyboardNavigationDisabled:c.size===0||t,setKeyboardNavigationDisabled:n,sort(t,n){e.onSortChange?.({column:t,direction:n??(e.sortDescriptor?.column===t?zq[e.sortDescriptor.direction]:`ascending`)})},expandedKeys:d,toggleKey(e){f(t=>{let n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n})},treeColumn:o}}function Vq(e,t){let n=(0,x.useMemo)(()=>t?e.collection.filter(t):e.collection,[e.collection,t]),r=e.selectionManager.withCollection(n);return{...e,collection:n,selectionManager:r}}var Hq=class{constructor(e){if(this.collection=e.collection,this.disabledKeys=e.disabledKeys,this.disabledBehavior=e.disabledBehavior||`all`,this.direction=e.direction,this.collator=e.collator,!e.layout&&!e.ref)throw Error(`Either a layout or a ref must be specified.`);this.layoutDelegate=e.layoutDelegate||(e.layout?new Uq(e.layout):new _L(e.ref)),this.focusMode=e.focusMode??`row`}isCell(e){return e.type===`cell`}isRow(e){return e.type===`row`||e.type===`item`}isDisabled(e){return this.disabledBehavior===`all`&&(e.props?.isDisabled||this.disabledKeys.has(e.key))&&e.props?.disabledBehavior!==`selection`}findPreviousKey(e,t,n=!1){let r=e==null?this.collection.getLastKey():this.collection.getKeyBefore(e);for(;r!=null;){let e=this.collection.getItem(r);if(!e)return null;if((n||!this.isDisabled(e))&&(!t||t(e)))return r;r=this.collection.getKeyBefore(r)}return null}findNextKey(e,t,n=!1){let r=e==null?this.collection.getFirstKey():this.collection.getKeyAfter(e);for(;r!=null;){let e=this.collection.getItem(r);if(!e)return null;if((n||!this.isDisabled(e))&&(!t||t(e)))return r;if(r=this.collection.getKeyAfter(r),r==null)return null}return null}getKeyForItemInRowByIndex(e,t=0){if(t<0)return null;let n=this.collection.getItem(e);if(!n)return null;let r=0;for(let e of EL(n,this.collection)){if(e.colSpan&&e.colSpan+r>t||(e.colSpan&&(r=r+e.colSpan-1),r===t))return e.key??null;r++}return null}getKeyBelow(e,t){let n=e,r=this.collection.getItem(n);if(!r||(this.isCell(r)&&(n=r.parentKey??null),n==null))return null;if(n=this.findNextKey(n,e=>e.type===`item`,t?.includeDisabled),n!=null){if(this.isCell(r)){let e=r.colIndex?r.colIndex:r.index;return this.getKeyForItemInRowByIndex(n,e)}if(this.focusMode===`row`)return n}return null}getKeyAbove(e,t){let n=e,r=this.collection.getItem(n);if(!r||(this.isCell(r)&&(n=r.parentKey??null),n==null))return null;if(n=this.findPreviousKey(n,e=>e.type===`item`,t?.includeDisabled),n!=null){if(this.isCell(r)){let e=r.colIndex?r.colIndex:r.index;return this.getKeyForItemInRowByIndex(n,e)}if(this.focusMode===`row`)return n}return null}getKeyRightOf(e){let t=this.collection.getItem(e);if(!t)return null;if(this.isRow(t)){let e=EL(t,this.collection);return(this.direction===`rtl`?kL(e)?.key:DL(e)?.key)??null}if(this.isCell(t)&&t.parentKey!=null){let n=this.collection.getItem(t.parentKey);if(!n)return null;let r=EL(n,this.collection),i=(this.direction===`rtl`?OL(r,t.index-1):OL(r,t.index+1))??null;return i?i.key??null:this.focusMode===`row`?t.parentKey??null:(this.direction===`rtl`?this.getFirstKey(e):this.getLastKey(e))??null}return null}getKeyLeftOf(e){let t=this.collection.getItem(e);if(!t)return null;if(this.isRow(t)){let e=EL(t,this.collection);return(this.direction===`rtl`?DL(e)?.key:kL(e)?.key)??null}if(this.isCell(t)&&t.parentKey!=null){let n=this.collection.getItem(t.parentKey);if(!n)return null;let r=EL(n,this.collection),i=(this.direction===`rtl`?OL(r,t.index+1):OL(r,t.index-1))??null;return i?i.key??null:this.focusMode===`row`?t.parentKey??null:(this.direction===`rtl`?this.getLastKey(e):this.getFirstKey(e))??null}return null}getFirstKey(e,t){let n=e??null,r;if(n!=null){if(r=this.collection.getItem(n),!r)return null;if(this.isCell(r)&&!t&&r.parentKey!=null){let e=this.collection.getItem(r.parentKey);return e?DL(EL(e,this.collection))?.key??null:null}}if(n=this.findNextKey(void 0,e=>e.type===`item`),n!=null&&(r&&this.isCell(r)&&t||this.focusMode===`cell`)){let e=this.collection.getItem(n);if(!e)return null;n=DL(EL(e,this.collection))?.key??null}return n}getLastKey(e,t){let n=e??null,r;if(n!=null){if(r=this.collection.getItem(n),!r)return null;if(this.isCell(r)&&!t&&r.parentKey!=null){let e=this.collection.getItem(r.parentKey);return e?kL(EL(e,this.collection))?.key??null:null}}if(n=this.findPreviousKey(void 0,e=>e.type===`item`),n!=null&&(r&&this.isCell(r)&&t||this.focusMode===`cell`)){let e=this.collection.getItem(n);if(!e)return null;n=kL(EL(e,this.collection))?.key??null}return n}getKeyPageAbove(e){let t=e,n=this.layoutDelegate.getItemRect(t);if(!n)return null;let r=Math.max(0,n.y+n.height-this.layoutDelegate.getVisibleRect().height);for(;n&&n.y>r&&t!=null&&(t=this.getKeyAbove(t)??null,t!=null);)n=this.layoutDelegate.getItemRect(t);return t}getKeyPageBelow(e){let t=e,n=this.layoutDelegate.getItemRect(t);if(!n)return null;let r=this.layoutDelegate.getVisibleRect().height,i=Math.min(this.layoutDelegate.getContentSize().height,n.y+r);for(;n&&n.y+n.height<i;){let e=this.getKeyBelow(t);if(e==null)break;n=this.layoutDelegate.getItemRect(e),t=e}return t}getKeyForSearch(e,t){let n=t??null;if(!this.collator)return null;let r=this.collection;if(n=t??this.getFirstKey(),n==null)return null;let i=r.getItem(n);if(!i)return null;i.type===`cell`&&(n=i.parentKey??null);let a=!1;for(;n!=null;){let t=r.getItem(n);if(!t)return null;if(t.textValue){let n=t.textValue.slice(0,e.length);if(this.collator.compare(n,e)===0)return this.isRow(t)&&this.focusMode===`cell`?DL(EL(t,this.collection))?.key??null:t.key}n=this.findNextKey(n,e=>e.type===`item`),n==null&&!a&&(n=this.getFirstKey(),a=!0)}return null}},Uq=class{constructor(e){this.layout=e}getContentSize(){return this.layout.getContentSize()}getItemRect(e){return this.layout.getLayoutInfo(e)?.rect||null}getVisibleRect(){return this.layout.virtualizer.visibleRect}},Wq=new WeakMap;function Gq(e,t,n){let{isVirtualized:r,disallowTypeAhead:i,keyboardDelegate:a,focusMode:o,scrollRef:s,getRowText:c,onRowAction:l,onCellAction:u,escapeKeyBehavior:d=`clearSelection`,shouldSelectOnPressUp:f,keyboardNavigationBehavior:p=`arrow`}=e,{selectionManager:m}=t;!e[`aria-label`]&&!e[`aria-labelledby`]&&console.warn(`An aria-label or aria-labelledby prop is required for accessibility.`);let h=bL({usage:`search`,sensitivity:`base`}),{direction:g}=rT(),_=t.selectionManager.disabledBehavior,v=(0,x.useMemo)(()=>a||new Hq({collection:t.collection,disabledKeys:t.disabledKeys,disabledBehavior:_,ref:n,direction:g,collator:h,focusMode:o}),[a,t.collection,t.disabledKeys,_,n,g,h,o]),{collectionProps:y}=gL({ref:n,selectionManager:m,keyboardDelegate:v,isVirtualized:r,scrollRef:s,disallowTypeAhead:i,escapeKeyBehavior:d}),b=dS(e.id);Wq.set(t,{keyboardDelegate:v,actions:{onRowAction:l,onCellAction:u},shouldSelectOnPressUp:f,keyboardNavigationBehavior:p});let S=NG({selectionManager:m,hasItemActions:!!(l||u)}),C=K(e,{labelable:!0}),w=(0,x.useCallback)(e=>{m.isFocused?zS(e.currentTarget,G(e))||m.setFocused(!1):zS(e.currentTarget,G(e))&&m.setFocused(!0)},[m]),T=(0,x.useMemo)(()=>({onBlur:y.onBlur,onFocus:w}),[w,y.onBlur]),E=jG(n,{isDisabled:t.collection.size!==0}),D=U(C,{role:`grid`,id:b,"aria-multiselectable":m.selectionMode===`multiple`?`true`:void 0},t.isKeyboardNavigationDisabled?T:y,t.collection.size===0&&{tabIndex:E?-1:0}||void 0,S);return r&&(D[`aria-rowcount`]=t.collection.size,D[`aria-colcount`]=t.collection.columnCount),kG({getRowText:c},t),{gridProps:D}}var Kq=new WeakMap;function qq(e){return typeof e==`string`?e.replace(/\s*/g,``):``+e}function Jq(e,t){let n=Kq.get(e);if(!n)throw Error(`Unknown grid`);return`${n}-${qq(t)}`}function Yq(e,t,n){let r=Kq.get(e);if(!r)throw Error(`Unknown grid`);return`${r}-${qq(t)}-${qq(n)}`}function Xq(e,t){return[...e.collection.rowHeaderColumnKeys].map(n=>Yq(e,t,n)).join(` `)}var Zq={};Zq={ascending:`تصاعدي`,ascendingSort:e=>`\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62D}\u{633}\u{628} \u{627}\u{644}\u{639}\u{645}\u{648}\u{62F} ${e.columnName} \u{628}\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62A}\u{635}\u{627}\u{639}\u{62F}\u{64A}`,collapse:`طي`,columnSize:e=>`${e.value} \u{628}\u{627}\u{644}\u{628}\u{643}\u{633}\u{644}`,descending:`تنازلي`,descendingSort:e=>`\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62D}\u{633}\u{628} \u{627}\u{644}\u{639}\u{645}\u{648}\u{62F} ${e.columnName} \u{628}\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62A}\u{646}\u{627}\u{632}\u{644}\u{64A}`,expand:`تمديد`,resizerDescription:`اضغط على مفتاح Enter لبدء تغيير الحجم`,select:`تحديد`,selectAll:`تحديد الكل`,sortable:`عمود قابل للترتيب`};var Qq={};Qq={ascending:`възходящ`,ascendingSort:e=>`\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{430}\u{43D}\u{43E} \u{43F}\u{43E} \u{43A}\u{43E}\u{43B}\u{43E}\u{43D}\u{430} ${e.columnName} \u{432}\u{44A}\u{432} \u{432}\u{44A}\u{437}\u{445}\u{43E}\u{434}\u{44F}\u{449} \u{440}\u{435}\u{434}`,collapse:`Свиване`,columnSize:e=>`${e.value} \u{43F}\u{438}\u{43A}\u{441}\u{435}\u{43B}\u{430}`,descending:`низходящ`,descendingSort:e=>`\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{430}\u{43D}\u{43E} \u{43F}\u{43E} \u{43A}\u{43E}\u{43B}\u{43E}\u{43D}\u{430} ${e.columnName} \u{432} \u{43D}\u{438}\u{437}\u{445}\u{43E}\u{434}\u{44F}\u{449} \u{440}\u{435}\u{434}`,expand:`Разширяване`,resizerDescription:`Натиснете „Enter“, за да започнете да преоразмерявате`,select:`Изберете`,selectAll:`Изберете всичко`,sortable:`сортираща колона`};var $q={};$q={ascending:`vzestupně`,ascendingSort:e=>`\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,collapse:`Sbalit`,columnSize:e=>`${e.value} pixel\u{16F}`,descending:`sestupně`,descendingSort:e=>`\u{159}azeno sestupn\u{11B} podle sloupce ${e.columnName}`,expand:`Roztáhnout`,resizerDescription:`Stisknutím klávesy Enter začnete měnit velikost`,select:`Vybrat`,selectAll:`Vybrat vše`,sortable:`sloupec s možností řazení`};var eJ={};eJ={ascending:`stigende`,ascendingSort:e=>`sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,collapse:`Skjul`,columnSize:e=>`${e.value} pixels`,descending:`faldende`,descendingSort:e=>`sorteret efter kolonne ${e.columnName} i faldende r\xe6kkef\xf8lge`,expand:`Udvid`,resizerDescription:`Tryk på Enter for at ændre størrelse`,select:`Vælg`,selectAll:`Vælg alle`,sortable:`sorterbar kolonne`};var tJ={};tJ={ascending:`aufsteigend`,ascendingSort:e=>`sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,collapse:`Reduzieren`,columnSize:e=>`${e.value} Pixel`,descending:`absteigend`,descendingSort:e=>`sortiert nach Spalte ${e.columnName} in absteigender Reihenfolge`,expand:`Erweitern`,resizerDescription:`Eingabetaste zum Starten der Größenänderung drücken`,select:`Auswählen`,selectAll:`Alles auswählen`,sortable:`sortierbare Spalte`};var nJ={};nJ={ascending:`αύξουσα`,ascendingSort:e=>`\u{3B4}\u{3B9}\u{3B1}\u{3BB}\u{3BF}\u{3B3}\u{3AE} \u{3B1}\u{3BD}\u{3AC} \u{3C3}\u{3C4}\u{3AE}\u{3BB}\u{3B7} ${e.columnName} \u{3C3}\u{3B5} \u{3B1}\u{3CD}\u{3BE}\u{3BF}\u{3C5}\u{3C3}\u{3B1} \u{3C3}\u{3B5}\u{3B9}\u{3C1}\u{3AC}`,collapse:`Σύμπτυξη`,columnSize:e=>`${e.value} pixel`,descending:`φθίνουσα`,descendingSort:e=>`\u{3B4}\u{3B9}\u{3B1}\u{3BB}\u{3BF}\u{3B3}\u{3AE} \u{3B1}\u{3BD}\u{3AC} \u{3C3}\u{3C4}\u{3AE}\u{3BB}\u{3B7} ${e.columnName} \u{3C3}\u{3B5} \u{3C6}\u{3B8}\u{3AF}\u{3BD}\u{3BF}\u{3C5}\u{3C3}\u{3B1} \u{3C3}\u{3B5}\u{3B9}\u{3C1}\u{3AC}`,expand:`Ανάπτυξη`,resizerDescription:`Πατήστε Enter για έναρξη της αλλαγής μεγέθους`,select:`Επιλογή`,selectAll:`Επιλογή όλων`,sortable:`Στήλη διαλογής`};var rJ={};rJ={select:`Select`,selectAll:`Select All`,sortable:`sortable column`,ascending:`ascending`,descending:`descending`,ascendingSort:e=>`sorted by column ${e.columnName} in ascending order`,descendingSort:e=>`sorted by column ${e.columnName} in descending order`,columnSize:e=>`${e.value} pixels`,resizerDescription:`Press Enter to start resizing`,expand:`Expand`,collapse:`Collapse`};var iJ={};iJ={ascending:`ascendente`,ascendingSort:e=>`ordenado por columna ${e.columnName} en sentido ascendente`,collapse:`Contraer`,columnSize:e=>`${e.value} p\xedxeles`,descending:`descendente`,descendingSort:e=>`ordenado por columna ${e.columnName} en orden descendente`,expand:`Ampliar`,resizerDescription:`Pulse Intro para empezar a redimensionar`,select:`Seleccionar`,selectAll:`Seleccionar todos`,sortable:`columna ordenable`};var aJ={};aJ={ascending:`tõusev järjestus`,ascendingSort:e=>`sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,collapse:`Ahenda`,columnSize:e=>`${e.value} pikslit`,descending:`laskuv järjestus`,descendingSort:e=>`sorditud veeru j\xe4rgi ${e.columnName} laskuvas j\xe4rjestuses`,expand:`Laienda`,resizerDescription:`Suuruse muutmise alustamiseks vajutage klahvi Enter`,select:`Vali`,selectAll:`Vali kõik`,sortable:`sorditav veerg`};var oJ={};oJ={ascending:`nouseva`,ascendingSort:e=>`lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,collapse:`Pienennä`,columnSize:e=>`${e.value} pikseli\xe4`,descending:`laskeva`,descendingSort:e=>`lajiteltu sarakkeen ${e.columnName} mukaan laskevassa j\xe4rjestyksess\xe4`,expand:`Laajenna`,resizerDescription:`Aloita koon muutos painamalla Enter-näppäintä`,select:`Valitse`,selectAll:`Valitse kaikki`,sortable:`lajiteltava sarake`};var sJ={};sJ={ascending:`croissant`,ascendingSort:e=>`tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,collapse:`Réduire`,columnSize:e=>`${e.value}\xa0pixels`,descending:`décroissant`,descendingSort:e=>`tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre d\xe9croissant`,expand:`Développer`,resizerDescription:`Appuyez sur Entrée pour commencer le redimensionnement.`,select:`Sélectionner`,selectAll:`Sélectionner tout`,sortable:`colonne triable`};var cJ={};cJ={ascending:`עולה`,ascendingSort:e=>`\u{5DE}\u{5D5}\u{5D9}\u{5DF} \u{5DC}\u{5E4}\u{5D9} \u{5E2}\u{5DE}\u{5D5}\u{5D3}\u{5D4} ${e.columnName} \u{5D1}\u{5E1}\u{5D3}\u{5E8} \u{5E2}\u{5D5}\u{5DC}\u{5D4}`,collapse:`כווץ`,columnSize:e=>`${e.value} \u{5E4}\u{5D9}\u{5E7}\u{5E1}\u{5DC}\u{5D9}\u{5DD}`,descending:`יורד`,descendingSort:e=>`\u{5DE}\u{5D5}\u{5D9}\u{5DF} \u{5DC}\u{5E4}\u{5D9} \u{5E2}\u{5DE}\u{5D5}\u{5D3}\u{5D4} ${e.columnName} \u{5D1}\u{5E1}\u{5D3}\u{5E8} \u{5D9}\u{5D5}\u{5E8}\u{5D3}`,expand:`הרחב`,resizerDescription:`הקש Enter כדי לשנות את הגודל`,select:`בחר`,selectAll:`בחר הכול`,sortable:`עמודה שניתן למיין`};var lJ={};lJ={ascending:`rastući`,ascendingSort:e=>`razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,collapse:`Sažmi`,columnSize:e=>`${e.value} piksela`,descending:`padajući`,descendingSort:e=>`razvrstano po stupcima ${e.columnName} padaju\u{107}im redoslijedom`,expand:`Proširi`,resizerDescription:`Pritisnite Enter da biste započeli promenu veličine`,select:`Odaberite`,selectAll:`Odaberite sve`,sortable:`stupac koji se može razvrstati`};var uJ={};uJ={ascending:`növekvő`,ascendingSort:e=>`rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,collapse:`Összecsukás`,columnSize:e=>`${e.value} k\xe9ppont`,descending:`csökkenő`,descendingSort:e=>`rendezve a(z) ${e.columnName} oszlop szerint, cs\xf6kken\u{151} sorrendben`,expand:`Kibontás`,resizerDescription:`Nyomja le az Enter billentyűt az átméretezés megkezdéséhez`,select:`Kijelölés`,selectAll:`Összes kijelölése`,sortable:`rendezendő oszlop`};var dJ={};dJ={ascending:`crescente`,ascendingSort:e=>`in ordine crescente in base alla colonna ${e.columnName}`,collapse:`Comprimi`,columnSize:e=>`${e.value} pixel`,descending:`decrescente`,descendingSort:e=>`in ordine decrescente in base alla colonna ${e.columnName}`,expand:`Espandi`,resizerDescription:`Premi Invio per iniziare a ridimensionare`,select:`Seleziona`,selectAll:`Seleziona tutto`,sortable:`colonna ordinabile`};var fJ={};fJ={ascending:`昇順`,ascendingSort:e=>`\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,collapse:`折りたたむ`,columnSize:e=>`${e.value} \u{30D4}\u{30AF}\u{30BB}\u{30EB}`,descending:`降順`,descendingSort:e=>`\u{5217} ${e.columnName} \u{3092}\u{964D}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,expand:`展開`,resizerDescription:`Enter キーを押してサイズ変更を開始`,select:`選択`,selectAll:`すべて選択`,sortable:`並べ替え可能な列`};var pJ={};pJ={ascending:`오름차순`,ascendingSort:e=>`${e.columnName} \u{C5F4}\u{C744} \u{AE30}\u{C900}\u{C73C}\u{B85C} \u{C624}\u{B984}\u{CC28}\u{C21C}\u{C73C}\u{B85C} \u{C815}\u{B82C}\u{B428}`,collapse:`접기`,columnSize:e=>`${e.value} \u{D53D}\u{C140}`,descending:`내림차순`,descendingSort:e=>`${e.columnName} \u{C5F4}\u{C744} \u{AE30}\u{C900}\u{C73C}\u{B85C} \u{B0B4}\u{B9BC}\u{CC28}\u{C21C}\u{C73C}\u{B85C} \u{C815}\u{B82C}\u{B428}`,expand:`펼치기`,resizerDescription:`크기 조정을 시작하려면 Enter를 누르세요.`,select:`선택`,selectAll:`모두 선택`,sortable:`정렬 가능한 열`};var mJ={};mJ={ascending:`didėjančia tvarka`,ascendingSort:e=>`surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,collapse:`Sutraukti`,columnSize:e=>`${e.value} piks.`,descending:`mažėjančia tvarka`,descendingSort:e=>`surikiuota pagal stulpel\u{12F} ${e.columnName} ma\u{17E}\u{117}jan\u{10D}ia tvarka`,expand:`Išskleisti`,resizerDescription:`Paspauskite „Enter“, kad pradėtumėte keisti dydį`,select:`Pasirinkti`,selectAll:`Pasirinkti viską`,sortable:`rikiuojamas stulpelis`};var hJ={};hJ={ascending:`augošā secībā`,ascendingSort:e=>`k\u{101}rtots p\u{113}c kolonnas ${e.columnName} augo\u{161}\u{101} sec\u{12B}b\u{101}`,collapse:`Sakļaut`,columnSize:e=>`${e.value} pikse\u{13C}i`,descending:`dilstošā secībā`,descendingSort:e=>`k\u{101}rtots p\u{113}c kolonnas ${e.columnName} dilsto\u{161}\u{101} sec\u{12B}b\u{101}`,expand:`Izvērst`,resizerDescription:`Nospiediet Enter, lai sāktu izmēru mainīšanu`,select:`Atlasīt`,selectAll:`Atlasīt visu`,sortable:`kārtojamā kolonna`};var gJ={};gJ={ascending:`stigende`,ascendingSort:e=>`sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,collapse:`Skjul`,columnSize:e=>`${e.value} piksler`,descending:`synkende`,descendingSort:e=>`sortert etter kolonne ${e.columnName} i synkende rekkef\xf8lge`,expand:`Utvid`,resizerDescription:`Trykk på Enter for å starte størrelsesendring`,select:`Velg`,selectAll:`Velg alle`,sortable:`kolonne som kan sorteres`};var _J={};_J={ascending:`oplopend`,ascendingSort:e=>`gesorteerd in oplopende volgorde in kolom ${e.columnName}`,collapse:`Samenvouwen`,columnSize:e=>`${e.value} pixels`,descending:`aflopend`,descendingSort:e=>`gesorteerd in aflopende volgorde in kolom ${e.columnName}`,expand:`Uitvouwen`,resizerDescription:`Druk op Enter om het formaat te wijzigen`,select:`Selecteren`,selectAll:`Alles selecteren`,sortable:`sorteerbare kolom`};var vJ={};vJ={ascending:`rosnąco`,ascendingSort:e=>`posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,collapse:`Zwiń`,columnSize:e=>`Liczba pikseli: ${e.value}`,descending:`malejąco`,descendingSort:e=>`posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku malej\u{105}cym`,expand:`Rozwiń`,resizerDescription:`Naciśnij Enter, aby rozpocząć zmienianie rozmiaru`,select:`Zaznacz`,selectAll:`Zaznacz wszystko`,sortable:`kolumna z możliwością sortowania`};var yJ={};yJ={ascending:`crescente`,ascendingSort:e=>`classificado pela coluna ${e.columnName} em ordem crescente`,collapse:`Recolher`,columnSize:e=>`${e.value} pixels`,descending:`decrescente`,descendingSort:e=>`classificado pela coluna ${e.columnName} em ordem decrescente`,expand:`Expandir`,resizerDescription:`Pressione Enter para começar a redimensionar`,select:`Selecionar`,selectAll:`Selecionar tudo`,sortable:`coluna classificável`};var bJ={};bJ={ascending:`ascendente`,ascendingSort:e=>`Ordenar por coluna ${e.columnName} em ordem ascendente`,collapse:`Colapsar`,columnSize:e=>`${e.value} pixels`,descending:`descendente`,descendingSort:e=>`Ordenar por coluna ${e.columnName} em ordem descendente`,expand:`Expandir`,resizerDescription:`Prima Enter para iniciar o redimensionamento`,select:`Selecionar`,selectAll:`Selecionar tudo`,sortable:`Coluna ordenável`};var xJ={};xJ={ascending:`crescătoare`,ascendingSort:e=>`sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,collapse:`Restrângeți`,columnSize:e=>`${e.value} pixeli`,descending:`descrescătoare`,descendingSort:e=>`sortate dup\u{103} coloana ${e.columnName} \xeen ordine descresc\u{103}toare`,expand:`Extindeți`,resizerDescription:`Apăsați pe Enter pentru a începe redimensionarea`,select:`Selectare`,selectAll:`Selectare totală`,sortable:`coloană sortabilă`};var SJ={};SJ={ascending:`возрастание`,ascendingSort:e=>`\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{43E}\u{432}\u{430}\u{442}\u{44C} \u{441}\u{442}\u{43E}\u{43B}\u{431}\u{435}\u{446} ${e.columnName} \u{432} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{435} \u{432}\u{43E}\u{437}\u{440}\u{430}\u{441}\u{442}\u{430}\u{43D}\u{438}\u{44F}`,collapse:`Свернуть`,columnSize:e=>`${e.value} \u{43F}\u{438}\u{43A}\u{441}.`,descending:`убывание`,descendingSort:e=>`\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{43E}\u{432}\u{430}\u{442}\u{44C} \u{441}\u{442}\u{43E}\u{43B}\u{431}\u{435}\u{446} ${e.columnName} \u{432} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{435} \u{443}\u{431}\u{44B}\u{432}\u{430}\u{43D}\u{438}\u{44F}`,expand:`Развернуть`,resizerDescription:`Нажмите клавишу Enter для начала изменения размеров`,select:`Выбрать`,selectAll:`Выбрать все`,sortable:`сортируемый столбец`};var CJ={};CJ={ascending:`vzostupne`,ascendingSort:e=>`zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,collapse:`Zbaliť`,columnSize:e=>`Po\u{10D}et pixelov: ${e.value}`,descending:`zostupne`,descendingSort:e=>`zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,expand:`Rozbaliť`,resizerDescription:`Stlačením klávesu Enter začnete zmenu veľkosti`,select:`Vybrať`,selectAll:`Vybrať všetko`,sortable:`zoraditeľný stĺpec`};var wJ={};wJ={ascending:`naraščajoče`,ascendingSort:e=>`razvr\u{161}\u{10D}eno po stolpcu ${e.columnName} v nara\u{161}\u{10D}ajo\u{10D}em vrstnem redu`,collapse:`Strni`,columnSize:e=>`${e.value} slikovnih pik`,descending:`padajoče`,descendingSort:e=>`razvr\u{161}\u{10D}eno po stolpcu ${e.columnName} v padajo\u{10D}em vrstnem redu`,expand:`Razširi`,resizerDescription:`Pritisnite tipko Enter da začnete spreminjati velikost`,select:`Izberite`,selectAll:`Izberite vse`,sortable:`razvrstljivi stolpec`};var TJ={};TJ={ascending:`rastući`,ascendingSort:e=>`sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,collapse:`Skupi`,columnSize:e=>`${e.value} piksela`,descending:`padajući`,descendingSort:e=>`sortirano po kolonama ${e.columnName} padaju\u{107}im redosledom`,expand:`Proširi`,resizerDescription:`Pritisnite Enter da biste započeli promenu veličine`,select:`Izaberite`,selectAll:`Izaberite sve`,sortable:`kolona koja se može sortirati`};var EJ={};EJ={ascending:`stigande`,ascendingSort:e=>`sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,collapse:`Dölj`,columnSize:e=>`${e.value} pixlar`,descending:`fallande`,descendingSort:e=>`sorterat p\xe5 kolumn ${e.columnName} i fallande ordning`,expand:`Expandera`,resizerDescription:`Tryck på Retur för att börja ändra storlek`,select:`Markera`,selectAll:`Markera allt`,sortable:`sorterbar kolumn`};var DJ={};DJ={ascending:`artan sırada`,ascendingSort:e=>`${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,collapse:`Daralt`,columnSize:e=>`${e.value} piksel`,descending:`azalan sırada`,descendingSort:e=>`${e.columnName} s\xfctuna g\xf6re azalan d\xfczende s\u{131}rala`,expand:`Genişlet`,resizerDescription:`Yeniden boyutlandırmak için Enter'a basın`,select:`Seç`,selectAll:`Tümünü Seç`,sortable:`Sıralanabilir sütun`};var OJ={};OJ={ascending:`висхідний`,ascendingSort:e=>`\u{432}\u{456}\u{434}\u{441}\u{43E}\u{440}\u{442}\u{43E}\u{432}\u{430}\u{43D}\u{43E} \u{437}\u{430} \u{441}\u{442}\u{43E}\u{432}\u{43F}\u{446}\u{435}\u{43C} ${e.columnName} \u{443} \u{432}\u{438}\u{441}\u{445}\u{456}\u{434}\u{43D}\u{43E}\u{43C}\u{443} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{443}`,collapse:`Згорнути`,columnSize:e=>`${e.value} \u{43F}\u{456}\u{43A}\u{441}.`,descending:`низхідний`,descendingSort:e=>`\u{432}\u{456}\u{434}\u{441}\u{43E}\u{440}\u{442}\u{43E}\u{432}\u{430}\u{43D}\u{43E} \u{437}\u{430} \u{441}\u{442}\u{43E}\u{432}\u{43F}\u{446}\u{435}\u{43C} ${e.columnName} \u{443} \u{43D}\u{438}\u{437}\u{445}\u{456}\u{434}\u{43D}\u{43E}\u{43C}\u{443} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{443}`,expand:`Розгорнути`,resizerDescription:`Натисніть Enter, щоб почати зміну розміру`,select:`Вибрати`,selectAll:`Вибрати все`,sortable:`сортувальний стовпець`};var kJ={};kJ={ascending:`升序`,ascendingSort:e=>`\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,collapse:`折叠`,columnSize:e=>`${e.value} \u{50CF}\u{7D20}`,descending:`降序`,descendingSort:e=>`\u{6309}\u{5217} ${e.columnName} \u{964D}\u{5E8F}\u{6392}\u{5E8F}`,expand:`扩展`,resizerDescription:`按 Enter 开始调整大小。`,select:`选择`,selectAll:`全选`,sortable:`可排序的列`};var AJ={};AJ={ascending:`遞增`,ascendingSort:e=>`\u{5DF2}\u{4F9D}\u{64DA}\u{300C}${e.columnName}\u{300D}\u{6B04}\u{905E}\u{589E}\u{6392}\u{5E8F}`,collapse:`收合`,columnSize:e=>`${e.value} \u{50CF}\u{7D20}`,descending:`遞減`,descendingSort:e=>`\u{5DF2}\u{4F9D}\u{64DA}\u{300C}${e.columnName}\u{300D}\u{6B04}\u{905E}\u{6E1B}\u{6392}\u{5E8F}`,expand:`展開`,resizerDescription:`按 Enter 鍵以開始調整大小`,select:`選取`,selectAll:`全選`,sortable:`可排序的欄`};var jJ={};jJ={"ar-AE":Zq,"bg-BG":Qq,"cs-CZ":$q,"da-DK":eJ,"de-DE":tJ,"el-GR":nJ,"en-US":rJ,"es-ES":iJ,"et-EE":aJ,"fi-FI":oJ,"fr-FR":sJ,"he-IL":cJ,"hr-HR":lJ,"hu-HU":uJ,"it-IT":dJ,"ja-JP":fJ,"ko-KR":pJ,"lt-LT":mJ,"lv-LV":hJ,"nb-NO":gJ,"nl-NL":_J,"pl-PL":vJ,"pt-BR":yJ,"pt-PT":bJ,"ro-RO":xJ,"ru-RU":SJ,"sk-SK":CJ,"sl-SI":wJ,"sr-SP":TJ,"sv-SE":EJ,"tr-TR":DJ,"uk-UA":OJ,"zh-CN":kJ,"zh-TW":AJ};var MJ=class extends Hq{isCell(e){return e.type===`cell`||e.type===`rowheader`||e.type===`column`}getKeyBelow(e,t){let n=this.collection.getItem(e);if(!n)return null;if(n.type===`column`){let e=DL(EL(n,this.collection));if(e)return e.key;let t=this.getFirstKey();return t==null||!this.collection.getItem(t)?null:super.getKeyForItemInRowByIndex(t,n.index)}return super.getKeyBelow(e,t)}getKeyAbove(e,t){let n=this.collection.getItem(e);if(!n)return null;if(n.type===`column`){let e=n.parentKey==null?null:this.collection.getItem(n.parentKey);return e&&e.type===`column`?e.key:null}let r=super.getKeyAbove(e,t),i=r==null?null:this.collection.getItem(r);return i&&i.type!==`headerrow`?r:this.isCell(n)?this.collection.columns[n.index].key:this.collection.columns[0].key}findNextColumnKey(e){let t=this.findNextKey(e.key,e=>e.type===`column`);if(t!=null)return t;let n=this.collection.headerRows[e.level];for(let e of EL(n,this.collection))if(e.type===`column`)return e.key;return null}findPreviousColumnKey(e){let t=this.findPreviousKey(e.key,e=>e.type===`column`);if(t!=null)return t;let n=this.collection.headerRows[e.level],r=[...EL(n,this.collection)];for(let e=r.length-1;e>=0;e--){let t=r[e];if(t.type===`column`)return t.key}return null}getKeyRightOf(e){let t=this.collection.getItem(e);return t?t.type===`column`?this.direction===`rtl`?this.findPreviousColumnKey(t):this.findNextColumnKey(t):super.getKeyRightOf(e):null}getKeyLeftOf(e){let t=this.collection.getItem(e);return t?t.type===`column`?this.direction===`rtl`?this.findNextColumnKey(t):this.findPreviousColumnKey(t):super.getKeyLeftOf(e):null}getKeyForSearch(e,t){if(!this.collator)return null;let n=this.collection,r=t??this.getFirstKey();if(r==null)return null;let i=n.getItem(r);i?.type===`cell`&&(r=i.parentKey??null);let a=!1;for(;r!=null;){let o=n.getItem(r);if(!o)return null;if(o.textValue){let t=o.textValue.slice(0,e.length);if(this.collator.compare(t,e)===0)return o.key}for(let r of EL(o,this.collection)){let a=n.columns[r.index];if(n.rowHeaderColumnKeys.has(a.key)&&r.textValue){let a=r.textValue.slice(0,e.length);if(this.collator.compare(a,e)===0)return(t==null?i:n.getItem(t))?.type===`cell`?r.key:o.key}}r=this.getKeyBelow(r),r==null&&!a&&(r=this.getFirstKey(),a=!0)}return null}};function NJ(e){return e&&e.__esModule?e.default:e}function PJ(e,t,n){let{keyboardDelegate:r,isVirtualized:i,layoutDelegate:a,layout:o}=e,s=bL({usage:`search`,sensitivity:`base`}),{direction:c}=rT(),l=t.selectionManager.disabledBehavior,u=(0,x.useMemo)(()=>r||new MJ({collection:t.collection,disabledKeys:t.disabledKeys,disabledBehavior:l,ref:n,direction:c,collator:s,layoutDelegate:a,layout:o}),[r,t.collection,t.disabledKeys,l,n,c,s,a,o]),d=dS(e.id);Kq.set(t,d);let{gridProps:f}=Gq({...e,id:d,keyboardDelegate:u},t,n);i&&(f[`aria-rowcount`]=t.collection.size+t.collection.headerRows.length),t.treeColumn!=null&&(f.role=`treegrid`);let{column:p,direction:m}=t.sortDescriptor||{},h=_T(NJ(jJ),`@react-aria/table`),g=(0,x.useMemo)(()=>{let e=t.collection.columns.find(e=>e.key===p)?.textValue??``;return m&&p?h.format(`${m}Sort`,{columnName:e}):void 0},[m,p,t.collection.columns]),_=BA(g);return jA(()=>{g&&YD(g,`assertive`,500)},[g]),{gridProps:U(f,_,{"aria-describedby":[_[`aria-describedby`],f[`aria-describedby`]].filter(Boolean).join(` `)})}}function FJ(e,t,n){let{node:r,isVirtualized:i,focusMode:a,allowsArrowNavigation:o,shouldSelectOnPressUp:s,onAction:c}=e,{direction:l}=rT(),{keyboardDelegate:u,actions:{onCellAction:d},keyboardNavigationBehavior:f}=Wq.get(t),p=a??(f===`tab`?`cell`:`child`),m=(0,x.useRef)(null),h=(0,x.useRef)(null),g=()=>{if(n.current){let e=aL(n.current);if(p===`child`){let i=BS(kS(n.current));if(HS(n.current)&&n.current!==i)return;let a=kS(n.current);if(!i||i===a.body||i===n.current){let e=h.current;if(e&&m.current===r.key&&zS(n.current,e)){GT(e);return}}let o=t.selectionManager.childFocusStrategy===`last`?IJ(e):e.firstChild();if(o){GT(o);return}}(m.current!=null&&r.key!==m.current||!HS(n.current))&&GT(n.current)}},{itemProps:_,isPressed:v}=CL({selectionManager:t.selectionManager,key:r.key,ref:n,isVirtualized:i,focus:g,shouldSelectOnPressUp:s,onAction:d?()=>d(r.key):c,isDisabled:t.collection.size===0}),y=U(_,{role:`gridcell`,onKeyDownCapture:f!==`tab`||o?e=>{let i=BS(kS(n.current));if(!zS(e.currentTarget,G(e))||t.isKeyboardNavigationDisabled||!n.current||!i)return;let a=aL(n.current);switch(a.currentNode=i,e.key){case`ArrowLeft`:{let t=l===`rtl`?a.nextNode():a.previousNode();if(p===`child`&&t===n.current&&(t=null),e.preventDefault(),e.stopPropagation(),t)GT(t),LA(t,{containingElement:NA(n.current)});else{if(u.getKeyLeftOf?.(r.key)!==r.key){n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type,e.nativeEvent));break}p===`cell`&&l===`rtl`?(GT(n.current),LA(n.current,{containingElement:NA(n.current)})):(a.currentNode=n.current,t=l===`rtl`?a.firstChild():IJ(a),t&&(GT(t),LA(t,{containingElement:NA(n.current)})))}break}case`ArrowRight`:{let t=l===`rtl`?a.previousNode():a.nextNode();if(p===`child`&&t===n.current&&(t=null),e.preventDefault(),e.stopPropagation(),t)GT(t),LA(t,{containingElement:NA(n.current)});else{if(u.getKeyRightOf?.(r.key)!==r.key){n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type,e.nativeEvent));break}p===`cell`&&l===`ltr`?(GT(n.current),LA(n.current,{containingElement:NA(n.current)})):(a.currentNode=n.current,t=l===`rtl`?IJ(a):a.firstChild(),t&&(GT(t),LA(t,{containingElement:NA(n.current)})))}break}case`ArrowUp`:case`ArrowDown`:!e.altKey&&zS(n.current,G(e))&&(e.stopPropagation(),e.preventDefault(),n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type,e.nativeEvent)))}}:void 0,onKeyDown:f===`tab`?e=>{let r=BS(kS(n.current));if(zS(e.currentTarget,G(e))&&!t.isKeyboardNavigationDisabled&&n.current&&r){if(f===`tab`&&G(e)!==n.current&&e.key!==`Tab`)e.stopPropagation();else if(e.key===`Tab`&&f===`tab`){let t=aL(n.current,{tabbable:!0});t.currentNode=r,(e.shiftKey?t.previousNode():t.nextNode())&&e.stopPropagation()}}}:void 0,"aria-colspan":r.colSpan,"aria-colindex":r.colIndex==null?void 0:r.colIndex+1,colSpan:i?void 0:r.colSpan,onFocus:e=>{if(m.current=r.key,G(e)!==n.current){let i=G(e);n.current&&zS(n.current,i)&&(h.current=i),YC()||t.selectionManager.setFocusedKey(r.key)}else p===`child`&&e.relatedTarget&&zS(n.current,e.relatedTarget)||requestAnimationFrame(()=>{p===`child`&&BS(kS(n.current))===n.current&&g()})},...p===`child`&&f===`tab`?{tabIndex:-1}:{}});return i&&(y[`aria-colindex`]=(r.colIndex??r.index)+1),s&&y.tabIndex!=null&&y.onPointerDown==null&&(y.onPointerDown=e=>{let t=e.currentTarget,n=t.getAttribute(`tabindex`);t.removeAttribute(`tabindex`),requestAnimationFrame(()=>{n!=null&&t.setAttribute(`tabindex`,n)})}),{gridCellProps:y,isPressed:v}}function IJ(e){let t=null,n=null;do n=e.lastChild(),n&&(t=n);while(n);return t}function LJ(e){return e&&e.__esModule?e.default:e}function RJ(e,t,n){let{node:r}=e,i=r.props.allowsSorting,{gridCellProps:a}=FJ({focusMode:`child`,...e},t,n),o=r.props.isSelectionCell&&t.selectionManager.selectionMode===`single`,{pressProps:s,isPressed:c}=tD({isDisabled:!i||o,onPress(){t.sort(r.key)},ref:n}),{focusableProps:l}=dE({},n),u,d=t.sortDescriptor?.column===r.key,f=t.sortDescriptor?.direction;r.props.allowsSorting&&!yC()&&(u=d?f:`none`);let p=_T(LJ(jJ),`@react-aria/table`),m;i&&(m=`${p.format(`sortable`)}`,d&&f&&yC()&&(m=`${m}, ${p.format(f)}`));let h=BA(m),g=t.collection.size===0;return(0,x.useEffect)(()=>{g&&t.selectionManager.focusedKey===r.key&&t.selectionManager.setFocusedKey(null)},[g,t.selectionManager,r.key]),{columnHeaderProps:{...U(l,a,s,h,g?{tabIndex:-1}:null),role:`columnheader`,id:Jq(t,r.key),"aria-colspan":r.colSpan&&r.colSpan>1?r.colSpan:void 0,"aria-sort":u},isPressed:c}}function zJ(e,t,n){let{node:r,isVirtualized:i,shouldSelectOnPressUp:a,onAction:o}=e,{actions:s,shouldSelectOnPressUp:c}=Wq.get(t),l=s.onRowAction?()=>s.onRowAction?.(r.key):o,{itemProps:u,...d}=CL({selectionManager:t.selectionManager,key:r.key,ref:n,isVirtualized:i,shouldSelectOnPressUp:c||a,onAction:l||r?.props?.onAction?Kx(r?.props?.onAction,l):void 0,isDisabled:t.collection.size===0}),f=t.selectionManager.isSelected(r.key),p={role:`row`,"aria-selected":t.selectionManager.selectionMode===`none`?void 0:f,"aria-disabled":d.isDisabled||void 0,...u};return i&&(p[`aria-rowindex`]=r.index+1),{rowProps:p,...d}}function BJ(e){return e&&e.__esModule?e.default:e}var VJ={expand:{ltr:`ArrowRight`,rtl:`ArrowLeft`},collapse:{ltr:`ArrowLeft`,rtl:`ArrowRight`}};function HJ(e,t,n){let{node:r,isVirtualized:i}=e,{rowProps:a,...o}=zJ(e,t,n),{direction:s}=rT();i&&t.treeColumn==null?a[`aria-rowindex`]=r.index+1+t.collection.headerRows.length:delete a[`aria-rowindex`];let c=t.treeColumn!=null&&(t.expandedKeys===`all`||t.expandedKeys.has(r.key)),l=_T(BJ(jJ),`@react-aria/table`),u=Jw({"aria-label":c?l.format(`collapse`):l.format(`expand`),"aria-labelledby":Xq(t,r.key)}),d={},f={};if(t.treeColumn!=null){let e=t.collection.getItem(r.key);if(e!=null){let n=UJ(t.collection,r),i=e.props?.hasChildRows||e.props?.UNSTABLE_childItems||n?.type!==`cell`,a=t.collection.getItem(r.parentKey),c=a.type===`tablebody`||a.type===`body`,l=UJ(t.collection,a);for(;l&&l.type!==`item`&&l.prevKey!=null;)l=t.collection.getItem(l.prevKey);d={onKeyDown:n=>{n.key===VJ.expand[s]&&t.selectionManager.focusedKey===e.key&&i&&t.expandedKeys!==`all`&&!t.expandedKeys.has(e.key)?(t.toggleKey(e.key),n.stopPropagation()):n.key===VJ.collapse[s]&&t.selectionManager.focusedKey===e.key&&(t.expandedKeys===`all`?t.expandedKeys===`all`&&(t.toggleKey(e.key),n.stopPropagation()):i&&t.expandedKeys.has(e.key)?(t.toggleKey(e.key),n.stopPropagation()):!t.expandedKeys.has(e.key)&&e.parentKey!=null&&e.level>0&&(t.selectionManager.setFocusedKey(e.parentKey),n.stopPropagation()))},"aria-expanded":i?t.expandedKeys===`all`||t.expandedKeys.has(r.key):void 0,"aria-level":e.level+1,"aria-posinset":e.index-(c?0:t.collection.columnCount)+1,"aria-setsize":l.index-(c?0:t.collection.columnCount)+1},f={isDisabled:o.isDisabled,onPress:()=>{o.isDisabled||(t.toggleKey(r.key),t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(r.key))},excludeFromTabOrder:!0,preventFocusOnPress:!0,"data-react-aria-prevent-focus":!0,...u}}}let p=kC(r.props),m=o.hasAction?p:{};return{rowProps:{...U(a,d,m),"aria-labelledby":Xq(t,r.key)},expandButtonProps:f,...o}}function UJ(e,t){return`lastChildKey`in t?t.lastChildKey==null?null:e.getItem(t.lastChildKey):Array.from(t.childNodes).findLast(e=>e.parentKey===t.key)}function WJ(e,t,n){let{node:r,isVirtualized:i}=e,a={role:`row`};return i&&t.treeColumn==null&&(a[`aria-rowindex`]=r.index+1),{rowProps:a}}function GJ(e,t,n){let{gridCellProps:r,isPressed:i}=FJ(e,t,n),a=e.node.column?.key;return a!=null&&t.collection.rowHeaderColumnKeys.has(a)&&(r.role=`rowheader`,r.id=Yq(t,e.node.parentKey,a)),{gridCellProps:r,isPressed:i}}function KJ(e){return e&&e.__esModule?e.default:e}function qJ(e,t){let{key:n}=e,{checkboxProps:r}=VG(e,t);return{checkboxProps:{...r,"aria-labelledby":`${r.id} ${Xq(t,n)}`}}}function JJ(e){let{isEmpty:t,isSelectAll:n,selectionMode:r}=e.selectionManager;return{checkboxProps:{"aria-label":_T(KJ(jJ),`@react-aria/table`).format(r===`single`?`select`:`selectAll`),isSelected:n,isDisabled:r!==`multiple`||e.collection.size===0||e.collection.rows.length===1&&e.collection.rows[0].type===`loader`,isIndeterminate:!t&&!n,onChange:()=>e.selectionManager.toggleSelectAll()}}}function YJ(){return{rowGroupProps:{role:`rowgroup`}}}function XJ(){return YJ()}var ZJ=class extends AT{withExpandedKeys(e){let t=this.clone();return t.expandedKeys=e,t.frozen=this.frozen,t.rows=Array.from(t.getRows()),t}addNode(e){super.addNode(e),this.columnsDirty||=e.type===`column`,e.type===`tableheader`&&(this.head=e)}getRows(){let e=[];for(let t of this)(t.type===`tablebody`||t.type===`tablefooter`)&&e.push(...this.getChildren(t.key));return e}get body(){for(let e of this)if(e.type===`tablebody`)return e;return new gY(-2)}commit(e,t,n=!1){this.updateColumns(n),this.firstKey=e,this.lastKey=t,this.rows=[];for(let e of this.getRows()){let t=e.lastChildKey;if(t!=null){let e=this.getItem(t);for(;e&&e.type!==`cell`;)e=e.prevKey==null?null:this.getItem(e.prevKey);if(e){let t=(e.colIndex??e.index)+(e.colSpan??1);if(t!==this.columns.length&&!n)throw Error(`Cell count must match column count. Found ${t} cells and ${this.columns.length} columns.`)}}this.rows.push(e)}super.commit(e,t,n)}updateColumns(e){if(!this.columnsDirty)return;this.rowHeaderColumnKeys=new Set,this.columns=[];let t=new Map,n=e=>{e.type===`column`&&(t.set(e.key,e),e.hasChildNodes||(e.index=this.columns.length,this.columns.push(e),e.props.isRowHeader&&this.rowHeaderColumnKeys.add(e.key)));for(let t of this.getChildren(e.key))n(t)};for(let e of this.getChildren(this.head.key))n(e);if(this.headerRows=Iq(t,this.columns),this.columnsDirty=!1,this.rowHeaderColumnKeys.size===0&&this.columns.length>0&&!e)throw Error(`A table must have at least one Column with the isRowHeader prop set to true`)}get columnCount(){return this.columns.length}*[Symbol.iterator](){let e=this.firstKey;for(;e!=null;){let t=this.getItem(e);t&&(yield t),e=t?.nextKey??null}}getFirstKey(){for(let e of this)if(e.type===`tablebody`)return e.firstChildKey??null;return null}getLastKey(){let e=this.lastKey;if(e==null)return null;let t=this.getItem(e);for(;t?.lastChildKey!=null&&(t.type!==`item`||this.expandedKeys.has(t.key));)t=this.getItem(t.lastChildKey);return t?.key}getKeyAfter(e){let t=this.getItem(e);if(t?.type===`column`)return t.nextKey??null;if(!t)return null;if(t.type===`item`&&t.firstChildKey!=null&&this.expandedKeys.has(t.key)){let e=this.getItem(t.firstChildKey);for(;e;){if(e.type===`item`)return e.key;e=e.nextKey==null?null:this.getItem(e.nextKey)}}return super.getKeyAfter(e)}getKeyBefore(e){let t=this.getItem(e);if(t?.type===`column`)return t.prevKey??null;if(!t)return null;let n=null;if(t.prevKey!=null){for(t=this.getItem(t.prevKey);t&&(t.type!==`item`||this.expandedKeys.has(t.key))&&t.lastChildKey!=null;)t=this.getItem(t.lastChildKey);n=t?.key??null}return n??=t.parentKey,n!=null&&this.getItem(n)?.type===`tableheader`?null:n}getChildren(e){let t=this.getItem(e);if(!t){for(let t of this.headerRows)if(t.key===e)return t.childNodes}let n=this;return t?.type===`tablebody`||t?.type===`tablefooter`?{*[Symbol.iterator](){let e=t.firstChildKey,r=e==null?null:n.getItem(e);for(;r;){yield r;let e=n.getKeyAfter(r.key);if(r=e==null?null:n.getItem(e),r&&r.parentKey===t.parentKey)break}}}:{*[Symbol.iterator](){let t=n.getItem(e),r=t?.firstChildKey==null?null:n.getItem(t.firstChildKey);for(;r&&(yield r,r=r.nextKey==null?null:n.getItem(r.nextKey),t?.type!==`item`||r?.type===`cell`););}}}clone(){let e=super.clone();return e.headerRows=this.headerRows,e.columns=this.columns,e.rows=this.rows,e.rowHeaderColumnKeys=this.rowHeaderColumnKeys,e.head=this.head,e}getTextValue(e){let t=this.getItem(e);if(!t)return``;if(t.textValue)return t.textValue;let n=this.rowHeaderColumnKeys,r=[];for(let t of this.getChildren(e)){let e=this.columns[t.index];if(n.has(e.key)&&t.textValue&&r.push(t.textValue),r.length===n.size)break}return r.join(` `)}constructor(...e){super(...e),this.headerRows=[],this.columns=[],this.rows=[],this.rowHeaderColumnKeys=new Set,this.head=new sY(-1),this.columnsDirty=!0,this.expandedKeys=new Set}},QJ=(0,x.createContext)(null),$J=(0,x.createContext)(null),eY=(0,x.createContext)(null),tY=(0,x.createContext)(null),nY=(0,x.forwardRef)(function(e,t){[e,t]=SS(e,t,$J);let n=LL(e),{selectionBehavior:r,selectionMode:i,disallowEmptySelection:a}=n,o=!!e.dragAndDropHooks?.useDraggableCollectionState,s=(0,x.useMemo)(()=>({selectionBehavior:i===`none`?null:r,selectionMode:i,disallowEmptySelection:a,allowsDragging:o}),[r,i,a,o]),c=x.createElement(oY.Provider,{value:s},x.createElement(PE,e));return x.createElement(SE,{content:c,createCollection:()=>new ZJ},r=>x.createElement(aY,{props:e,forwardedRef:t,selectionState:n,collection:r}))}),rY=(0,x.forwardRef)(function(e,t){let{isVirtualized:n}=(0,x.useContext)(RE);return n?x.createElement(W.div,{...e,ref:t}):x.createElement(W.table,{...e,ref:t})}),iY={expand:{ltr:`ArrowRight`,rtl:`ArrowLeft`},collapse:{ltr:`ArrowLeft`,rtl:`ArrowRight`}};function aY({props:e,forwardedRef:t,selectionState:n,collection:r}){[e,t]=SS(e,t,CT);let{shouldUseVirtualFocus:i,disallowTypeAhead:a,filter:o,...s}=e,c=(0,x.useContext)(QJ);t=gS((0,x.useMemo)(()=>mS(t,c?.tableRef),[t,c?.tableRef]));let[l,u]=xT(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,e.onExpandedChange);r=(0,x.useMemo)(()=>r.withExpandedKeys(l),[r,l]);let d=Bq({...s,collection:r,children:void 0,UNSAFE_selectionState:n,expandedKeys:l,onExpandedChange:u}),f=Vq(d,o),{isVirtualized:p,layoutDelegate:m,dropTargetDelegate:h,CollectionRoot:g}=(0,x.useContext)(RE),{dragAndDropHooks:_}=e,{gridProps:v}=PJ({...s,layoutDelegate:m,isVirtualized:p},f,t),y=f.selectionManager,b=!!_?.useDraggableCollectionState,S=!!_?.useDroppableCollectionState;(0,x.useRef)(b),(0,x.useRef)(S),(0,x.useEffect)(()=>{},[b,S]);let C,w,T,E=!1,D=null,O=(0,x.useRef)(null),{direction:k}=rT(),[A]=(0,x.useState)(()=>new Mq);if(b&&_){C=_.useDraggableCollectionState({collection:f.collection,selectionManager:y,preview:_.renderDragPreview?O:void 0}),_.useDraggableCollection({},C,t);let e=_.DragPreview;D=_.renderDragPreview?x.createElement(e,{ref:O},_.renderDragPreview):null}if(S&&_){w=_.useDroppableCollectionState({collection:f.collection,selectionManager:y});let e=new vL({collection:f.collection,disabledKeys:y.disabledKeys,disabledBehavior:y.disabledBehavior,ref:t,layoutDelegate:m}),n=_.dropTargetDelegate||h||new _.ListDropTargetDelegate(r.rows,t);A.setup(n,d,k),T=_.useDroppableCollection({keyboardDelegate:e,dropTargetDelegate:A,onDropActivate:e=>{if(e.target.type===`item`){let t=e.target.key,n=d.collection.getItem(t),r=l.has(t);n&&n.hasChildNodes&&(!r||_?.isVirtualDragging?.())&&d.toggleKey(t)}},onKeyDown:e=>{let t=w?.target;if(t&&t.type===`item`&&t.dropPosition===`on`){let n=d.collection.getItem(t.key);(e.key===iY.expand[k]&&n?.hasChildNodes&&!d.expandedKeys.has(t.key)||e.key===iY.collapse[k]&&n?.hasChildNodes&&d.expandedKeys.has(t.key))&&d.toggleKey(t.key)}}},w,t),E=w.isDropTarget({type:`root`})}let{focusProps:j,isFocused:M,isFocusVisible:ee}=dD(),N=yS({...e,children:void 0,defaultClassName:`react-aria-Table`,values:{isDropTarget:E,isFocused:M,isFocusVisible:ee,state:f}}),P=!(!b||C?.isDisabled),te=N.style,F=null;c&&(F=c.useTableColumnResizeState({tableWidth:c.tableWidth},f),p||(te={...te,tableLayout:`fixed`,width:`min-content`}));let ne=K(e,{global:!0});return x.createElement(vS,{values:[[eY,f],[tY,F],[kI,{dragAndDropHooks:_,dragState:C,dropState:w}],[AI,{render:EY}],[CT,null],[wT,null]]},x.createElement(qI,null,x.createElement(rY,{...U(ne,N,v,j,T?.collectionProps),style:te,ref:t,slot:e.slot||void 0,onScroll:e.onScroll,"data-allows-dragging":P||void 0,"data-drop-target":E||void 0,"data-focused":M||void 0,"data-focus-visible":ee||void 0},x.createElement(LI,null,x.createElement(g,{collection:f.collection,scrollRef:c?.scrollRef??t,persistedKeys:NI(y,_,w)})))),D)}var oY=(0,x.createContext)(null),sY=class extends TT{static{this.type=`tableheader`}},cY=(0,x.forwardRef)(function(e,t){let{isVirtualized:n}=(0,x.useContext)(RE);return n?x.createElement(W.div,{...e,ref:t}):x.createElement(W.thead,{...e,ref:t})}),lY=jE(sY,(e,t)=>{let n=(0,x.useContext)(eY).collection,r=FT({items:n.headerRows,children:(0,x.useCallback)(e=>{switch(e.type){case`headerrow`:return x.createElement(dY,{item:e});default:throw Error(`Unsupported node type in TableHeader: `+e.type)}},[])}),{rowGroupProps:i}=XJ(),{hoverProps:a,isHovered:o}=_D({onHoverStart:e.onHoverStart,onHoverChange:e.onHoverChange,onHoverEnd:e.onHoverEnd}),s=yS({...e,children:void 0,defaultClassName:`react-aria-TableHeader`,values:{isHovered:o}});return x.createElement(cY,{...U(K(e,{global:!0}),i,a),...s,ref:t,"data-hovered":o||void 0},r)},e=>x.createElement(PE,{dependencies:e.dependencies,items:e.columns},e.children)),uY=(0,x.forwardRef)(function(e,t){let{isVirtualized:n}=(0,x.useContext)(RE);return n?x.createElement(`div`,{...e,ref:t}):x.createElement(`tr`,{...e,ref:t})});function dY({item:e}){let t=(0,x.useRef)(null),n=(0,x.useContext)(eY),{isVirtualized:r,CollectionBranch:i}=(0,x.useContext)(RE),{rowProps:a}=WJ({node:e,isVirtualized:r},n,t),{checkboxProps:o}=JJ(n);return x.createElement(uY,{...a,ref:t},x.createElement(vS,{values:[[yj,{slots:{selection:o}}],[bj,{slots:{selection:o}}]]},x.createElement(i,{collection:n.collection,parent:e})))}var fY=class extends TT{static{this.type=`column`}},pY=(0,x.forwardRef)(function(e,t){let{isVirtualized:n}=(0,x.useContext)(RE);return n?x.createElement(W.div,{...e,ref:t}):x.createElement(W.th,{...e,ref:t})}),mY=AE(fY,(e,t,n)=>{let r=gS(t),i=(0,x.useContext)(eY),{isVirtualized:a}=(0,x.useContext)(RE),{columnHeaderProps:o,isPressed:s}=RJ({node:n,isVirtualized:a,focusMode:e.focusMode,allowsArrowNavigation:e.allowsArrowNavigation},i,r),{isFocused:c,isFocusVisible:l,focusProps:u}=dD(),d=(0,x.useContext)(tY),f=!1;d&&(f=d.resizingColumn===n.key);let{hoverProps:p,isHovered:m}=_D({isDisabled:!e.allowsSorting}),h=yS({...e,id:void 0,children:n.rendered,defaultClassName:`react-aria-Column`,values:{isHovered:m,isPressed:s,isFocused:c,isFocusVisible:l,allowsSorting:n.props.allowsSorting,sortDirection:i.sortDescriptor?.column===n.key?i.sortDescriptor.direction:void 0,isResizing:f,startResize:()=>{if(d)d.startResize(n.key),i.setKeyboardNavigationDisabled(!0);else throw Error(`Wrap your <Table> in a <ResizableTableContainer> to enable column resizing`)},sort:e=>{i.sort(n.key,e)}}}),g=h.style;d&&(g={...g,width:d.getColumnWidth(n.key)});let _=K(e,{global:!0});return delete _.id,x.createElement(pY,{...U(_,o,u,p),...h,style:g,ref:r,"data-hovered":m||void 0,"data-pressed":s||void 0,"data-focused":c||void 0,"data-focus-visible":l||void 0,"data-resizing":f||void 0,"data-allows-sorting":n.props.allowsSorting||void 0,"data-sort-direction":i.sortDescriptor?.column===n.key?i.sortDescriptor.direction:void 0},x.createElement(vS,{values:[[hY,{column:n,triggerRef:r}],[RE,IE]]},h.children))}),hY=(0,x.createContext)(null),gY=class extends ET{static{this.type=`tablebody`}},_Y=(0,x.forwardRef)(function(e,t){let{isVirtualized:n}=(0,x.useContext)(RE);return n?x.createElement(W.div,{...e,ref:t}):x.createElement(W.tbody,{...e,ref:t})}),vY=jE(gY,(e,t,n)=>{let r=(0,x.useContext)(eY),{isVirtualized:i}=(0,x.useContext)(RE),a=r.collection,{CollectionBranch:o}=(0,x.useContext)(RE),{dragAndDropHooks:s,dropState:c}=(0,x.useContext)(kI),l=!!s?.useDroppableCollectionState&&!c?.isDisabled,u=l&&!!c&&(c.isDropTarget({type:`root`})??!1),d=a.size===0,f={isDropTarget:u,isEmpty:d},p=yS({...e,id:void 0,children:void 0,defaultClassName:`react-aria-TableBody`,values:f}),m,h=a.columnCount;if(d&&e.renderEmptyState&&r){let t={},n={},r={};i?(n[`aria-colspan`]=h,r={display:`contents`}):n.colSpan=h,m=x.createElement(xY,{role:`row`,...t,style:r},x.createElement(wY,{role:`rowheader`,...n,style:r},e.renderEmptyState(f)))}let{rowGroupProps:g}=XJ(),_=K(e,{global:!0});return x.createElement(_Y,{...U(_,p,g),ref:t,"data-empty":d||void 0},l&&x.createElement(jY,null),x.createElement(o,{collection:a,parent:n,renderDropIndicator:MI(s,c)}),m)});(class extends ET{static{this.type=`tablefooter`}});var yY=(0,x.createContext)({isFocusVisibleWithinRow:!1}),bY=class extends TT{static{this.type=`item`}filter(e,t,n){let r=e.getChildren(this.key);for(let i of r)if(n(i.textValue,i)){let n=this.clone();return t.addDescendants(n,e),n}return null}},xY=(0,x.forwardRef)(function(e,t){let{isVirtualized:n}=(0,x.useContext)(RE);return n?x.createElement(W.div,{...e,ref:t}):x.createElement(W.tr,{...e,ref:t})}),SY=jE(bY,(e,t,n)=>{let r=gS(t),i=(0,x.useContext)(eY),{dragAndDropHooks:a,dragState:o,dropState:s}=(0,x.useContext)(kI),{isVirtualized:c,CollectionBranch:l}=(0,x.useContext)(RE),u=o&&!(o.isDisabled||o.selectionManager.isDisabled(n.key)),{rowProps:d,expandButtonProps:f,...p}=HJ({node:n,shouldSelectOnPressUp:!!o,isVirtualized:c},i,r),{isFocused:m,isFocusVisible:h,focusProps:g}=dD(),{isFocusVisible:_,focusProps:v}=dD({within:!0}),{hoverProps:y,isHovered:b}=_D({isDisabled:!p.allowsSelection&&!p.hasAction&&!u,onHoverStart:e.onHoverStart,onHoverChange:e.onHoverChange,onHoverEnd:e.onHoverEnd}),{checkboxProps:S}=qJ({key:n.key},i),C;o&&a&&(C=a.useDraggableItem({key:n.key,hasDragButton:!0},o));let w,T=(0,x.useRef)(null),{visuallyHiddenProps:E}=HA();s&&a&&(w=a.useDropIndicator({target:{type:`item`,key:n.key,dropPosition:`on`}},s,T));let D=(0,x.useRef)(null);(0,x.useEffect)(()=>{o&&D.current},[]);let O=o&&o.isDragging(n.key),{children:k,...A}=e,j=e.hasChildItems||i.collection.getItem(n.lastChildKey)?.type!==`cell`,M=j&&i.expandedKeys.has(n.key),ee=yS({...A,id:void 0,defaultClassName:`react-aria-Row`,defaultStyle:{"--table-row-level":n.level+1},values:{...p,state:i,isHovered:b,isFocused:m,isFocusVisible:h,selectionMode:i.selectionManager.selectionMode,selectionBehavior:i.selectionManager.selectionBehavior,isDragging:O,isDropTarget:w?.isDropTarget,isFocusVisibleWithin:_,id:n.key,hasChildItems:j,isExpanded:M,level:n.level+1}}),N=K(e,{global:!0});return delete N.id,delete N.onClick,x.createElement(x.Fragment,null,w&&!w.isHidden&&x.createElement(xY,{role:`row`,style:{height:0}},x.createElement(wY,{role:`gridcell`,colSpan:i.collection.columnCount,style:{padding:0}},x.createElement(`div`,{role:`button`,...E,...w.dropIndicatorProps,ref:T}))),x.createElement(xY,{...U(N,ee,d,g,y,C?.dragProps,v),ref:r,"data-disabled":p.isDisabled||void 0,"data-selected":p.isSelected||void 0,"data-hovered":b||void 0,"data-focused":p.isFocused||void 0,"data-focus-visible":h||void 0,"data-pressed":p.isPressed||void 0,"data-dragging":O||void 0,"data-drop-target":w?.isDropTarget||void 0,"data-selection-mode":i.selectionManager.selectionMode===`none`?void 0:i.selectionManager.selectionMode,"data-focus-visible-within":_||void 0,"data-expanded":M||void 0,"data-has-child-items":j||void 0,"data-level":n.level+1},x.createElement(vS,{values:[[yj,{slots:{[_S]:{},selection:S}}],[bj,{slots:{[_S]:{},selection:S}}],[$D,{slots:{[_S]:{},chevron:f,drag:{...C?.dragButtonProps,ref:D,style:{pointerEvents:`none`}}}}],[RI,{isSelected:p.isSelected}],[yY,{isFocusVisibleWithinRow:_}]]},x.createElement(l,{collection:i.collection,parent:n}))))},e=>{if(e.id==null&&typeof e.children==`function`)throw Error(`No id detected for the Row element. The Row element requires a id to be provided to it when the cells are rendered dynamically.`);let t=[e.value].concat(e.dependencies);return x.createElement(PE,{dependencies:t,items:e.columns,idScope:e.id},e.children)}),CY=class extends TT{static{this.type=`cell`}},wY=(0,x.forwardRef)(function(e,t){let{isVirtualized:n}=(0,x.useContext)(RE);return n?x.createElement(W.div,{...e,ref:t}):x.createElement(W.td,{...e,ref:t})}),TY=AE(CY,(e,t,n)=>{let r=gS(t),i=(0,x.useContext)(eY),{dragState:a}=(0,x.useContext)(kI),{isVirtualized:o}=(0,x.useContext)(RE);n.column=i.collection.columns[n.index];let{gridCellProps:s,isPressed:c}=GJ({node:n,shouldSelectOnPressUp:!!a,isVirtualized:o,focusMode:e.focusMode,allowsArrowNavigation:e.allowsArrowNavigation},i,r),{isFocused:l,isFocusVisible:u,focusProps:d}=dD(),{hoverProps:f,isHovered:p}=_D({}),{isFocusVisibleWithinRow:m}=(0,x.useContext)(yY),h=n.parentKey!=null&&i.selectionManager.isSelected(n.parentKey),g=n.colIndex||n.index,_=i.collection.getItem(n.parentKey),v=_.props.hasChildItems||i.collection.getItem(_.lastChildKey)?.type!==`cell`,y=v&&i.expandedKeys.has(n.parentKey),b=i.selectionManager.isDisabled(n.parentKey),S=yS({...e,id:void 0,defaultClassName:`react-aria-Cell`,values:{isFocused:l,isFocusVisible:u,isFocusVisibleWithinRow:m,isPressed:c,isHovered:p,isSelected:h,id:n.key,columnIndex:g,hasChildItems:v,isExpanded:y,isDisabled:b,level:_.level+1,isTreeColumn:n.column.key===i.treeColumn}}),C=K(e,{global:!0});return delete C.id,x.createElement(wY,{...U(C,S,s,d,f),ref:r,"data-focused":l||void 0,"data-focus-visible":u||void 0,"data-focus-visible-within-row":m||void 0,"data-pressed":c||void 0,"data-selected":h||void 0,"data-column-index":g,"data-expanded":y||void 0,"data-has-child-items":v||void 0,"data-level":_.level+1,"data-tree-column":n.column.key===i.treeColumn||void 0,"data-disabled":b||void 0},x.createElement(RE.Provider,{value:IE},S.children))});function EY(e,t){t=gS(t);let{dragAndDropHooks:n,dropState:r}=(0,x.useContext)(kI),i=(0,x.useRef)(null),{dropIndicatorProps:a,isHidden:o,isDropTarget:s}=n.useDropIndicator(e,r,i);if(o)return null;let c=r&&e.target.type===`item`?(r.collection.getItem(e.target.key)?.level||0)+1:1;return x.createElement(AY,{...e,dropIndicatorProps:a,isDropTarget:s,buttonRef:i,level:c,ref:t})}var DY=(0,x.forwardRef)(function(e,t){let{isVirtualized:n}=(0,x.useContext)(RE);return n?x.createElement(W.div,{...e,ref:t}):x.createElement(W.tr,{...e,ref:t})}),OY=(0,x.forwardRef)(function(e,t){let{isVirtualized:n}=(0,x.useContext)(RE);return n?x.createElement(W.div,{...e,ref:t}):x.createElement(W.td,{...e,ref:t})});function kY(e,t){let{dropIndicatorProps:n,isDropTarget:r,buttonRef:i,level:a,...o}=e,s=(0,x.useContext)(eY),{visuallyHiddenProps:c}=HA(),l=yS({...o,defaultClassName:`react-aria-DropIndicator`,defaultStyle:{"--table-row-level":a+1},values:{isDropTarget:r}});return x.createElement(DY,{...K(e,{global:!0}),...l,role:`row`,ref:t,"data-drop-target":r||void 0,"aria-level":a},x.createElement(OY,{role:`gridcell`,colSpan:s.collection.columnCount,style:{padding:0}},x.createElement(`div`,{...c,role:`button`,...n,ref:i}),l.children))}var AY=(0,x.forwardRef)(kY);function jY(){let e=(0,x.useContext)(eY),{dragAndDropHooks:t,dropState:n}=(0,x.useContext)(kI),r=(0,x.useRef)(null),{dropIndicatorProps:i}=t.useDropIndicator({target:{type:`root`}},n,r),a=n.isDropTarget({type:`root`}),{visuallyHiddenProps:o}=HA();return!a&&i[`aria-hidden`]?null:x.createElement(xY,{role:`row`,"aria-hidden":i[`aria-hidden`],style:{height:0}},x.createElement(wY,{role:`gridcell`,colSpan:e.collection.columnCount,style:{padding:0}},x.createElement(`div`,{role:`button`,...o,...i,ref:r})))}AE(DT,function(e,t,n){let r=(0,x.useContext)(eY),{isVirtualized:i}=(0,x.useContext)(RE),{isLoading:a,onLoadMore:o,scrollOffset:s,...c}=e,l=r.collection.columns.length,u=(0,x.useRef)(null);JL((0,x.useMemo)(()=>({onLoadMore:o,collection:r?.collection,sentinelRef:u,scrollOffset:s}),[o,s,r?.collection]),u);let d=yS({...c,id:void 0,children:n.rendered,defaultClassName:`react-aria-TableLoadingIndicator`,defaultStyle:{"--table-row-level":n.level+1},values:void 0}),f={},p={},m={};return i?(p[`aria-colspan`]=l,m={display:`contents`}):p.colSpan=l,x.createElement(x.Fragment,null,x.createElement(xY,{style:{height:0},inert:PL(!0)},x.createElement(wY,{style:{padding:0,border:0}},x.createElement(`div`,{"data-testid":`loadMoreSentinel`,ref:u,style:{position:`relative`,height:1,width:1}}))),a&&d.children&&x.createElement(xY,{...U(K(e,{global:!0}),f),...d,role:`row`,ref:t,"aria-level":n.level+1,"data-level":n.level+1},x.createElement(wY,{role:`rowheader`,...p,style:m},d.children)))});var MY=new WeakMap;function NY(e,t,n){return e?(typeof t==`string`&&(t=t.replace(/\s+/g,``)),`${MY.get(e)}-${n}-${t}`):``}function PY(e,t,n){let{key:r,isDisabled:i,shouldSelectOnPressUp:a}=e,{selectionManager:o,selectedKey:s}=t,c=r===s,l=i||t.isDisabled||t.selectionManager.isDisabled(r),u=t.collection.getItem(r),{itemProps:d,isPressed:f}=CL({selectionManager:o,key:r,ref:n,isDisabled:l,shouldSelectOnPressUp:a??u?.props.href!=null,linkBehavior:`selection`}),p=NY(t,r,`tab`),m=NY(t,r,`tabpanel`),{tabIndex:h}=d,g=K(u?.props,{labelable:!0});delete g.id;let _=AC(u?.props),{focusableProps:v}=dE({...u?.props,isDisabled:l},n);return{tabProps:U(g,v,_,d,{id:p,"aria-selected":c,"aria-disabled":l||void 0,"aria-controls":c?m:void 0,tabIndex:l?void 0:h,role:`tab`}),isSelected:c,isDisabled:l,isPressed:f}}function FY(e,t,n){let r=jG(n)?void 0:0,i=NY(t,e.id??t?.selectedKey,`tabpanel`);return{tabPanelProps:U(Jw({...e,id:i,"aria-labelledby":NY(t,t?.selectedKey,`tab`)}),{tabIndex:r,role:`tabpanel`,"aria-describedby":e[`aria-describedby`],"aria-details":e[`aria-details`]})}}var IY=class{constructor(e,t,n,r=new Set){this.collection=e,this.flipDirection=t===`rtl`,this.disabledKeys=r,this.tabDirection=n===`horizontal`}getKeyLeftOf(e){return this.flipDirection?this.getNextKey(e):this.getPreviousKey(e)}getKeyRightOf(e){return this.flipDirection?this.getPreviousKey(e):this.getNextKey(e)}isDisabled(e){return this.disabledKeys.has(e)||!!this.collection.getItem(e)?.props?.isDisabled}getFirstKey(){let e=this.collection.getFirstKey();return e!=null&&this.isDisabled(e)&&(e=this.getNextKey(e)),e}getLastKey(){let e=this.collection.getLastKey();return e!=null&&this.isDisabled(e)&&(e=this.getPreviousKey(e)),e}getKeyAbove(e){return this.tabDirection?null:this.getPreviousKey(e)}getKeyBelow(e){return this.tabDirection?null:this.getNextKey(e)}getNextKey(e){let t=e;do t=this.collection.getKeyAfter(t),t??=this.collection.getFirstKey();while(t!=null&&this.isDisabled(t)&&t!==e);return t}getPreviousKey(e){let t=e;do t=this.collection.getKeyBefore(t),t??=this.collection.getLastKey();while(t!=null&&this.isDisabled(t)&&t!==e);return t}};function LY(e,t,n){let{orientation:r=`horizontal`,keyboardActivation:i=`automatic`}=e,{collection:a,selectionManager:o,disabledKeys:s}=t,{direction:c}=rT(),{collectionProps:l}=gL({ref:n,selectionManager:o,keyboardDelegate:(0,x.useMemo)(()=>new IY(a,c,r,s),[a,s,r,c]),selectOnFocus:i===`automatic`,disallowEmptySelection:!0,scrollRef:n,linkBehavior:`selection`}),u=dS();return MY.set(t,u),{tabListProps:{...U(l,Jw({...e,id:u})),role:`tablist`,"aria-orientation":r,tabIndex:void 0}}}function RY(e){let[t,n]=xT(e.selectedKey,e.defaultSelectedKey??null,e.onSelectionChange),r=(0,x.useMemo)(()=>t==null?[]:[t],[t]),{collection:i,disabledKeys:a,selectionManager:o}=GL({...e,selectionMode:`single`,disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:r,onSelectionChange:r=>{if(r===`all`)return;let i=r.values().next().value??null;i===t&&e.onSelectionChange&&e.onSelectionChange(i),n(i)}});return{collection:i,disabledKeys:a,selectionManager:o,selectedKey:t,setSelectedKey:n,selectedItem:t==null?null:i.getItem(t)}}function zY(e){let t=RY({...e,onSelectionChange:e.onSelectionChange?t=>{t!=null&&e.onSelectionChange?.(t)}:void 0,suppressTextValueWarning:!0,defaultSelectedKey:e.defaultSelectedKey??BY(e.collection,e.disabledKeys?new Set(e.disabledKeys):new Set)??void 0}),{selectionManager:n,collection:r,selectedKey:i}=t,a=(0,x.useRef)(i);return(0,x.useEffect)(()=>{let o=i;e.selectedKey==null&&(n.isEmpty||o==null||!r.getItem(o))&&(o=BY(r,t.disabledKeys),o!=null&&n.setSelectedKeys([o])),(o!=null&&n.focusedKey==null||!n.isFocused&&o!==a.current)&&n.setFocusedKey(o),a.current=o}),{...t,isDisabled:e.isDisabled||!1}}function BY(e,t){let n=null;if(e){for(n=e.getFirstKey();n!=null&&(t.has(n)||e.getItem(n)?.props?.isDisabled)&&n!==e.getLastKey();)n=e.getKeyAfter(n);n!=null&&(t.has(n)||e.getItem(n)?.props?.isDisabled)&&n===e.getLastKey()&&(n=e.getFirstKey())}return n}var VY=(0,x.createContext)(null),HY=(0,x.createContext)(null),UY=(0,x.forwardRef)(function(e,t){[e,t]=SS(e,t,VY);let{children:n,orientation:r=`horizontal`}=e;return n=(0,x.useMemo)(()=>typeof n==`function`?n({orientation:r,defaultChildren:null}):n,[n,r]),x.createElement(SE,{content:n},n=>x.createElement(WY,{props:e,collection:n,tabsRef:t}))});function WY({props:e,tabsRef:t,collection:n}){let{orientation:r=`horizontal`}=e,i=zY({...e,collection:n,children:void 0}),{focusProps:a,isFocused:o,isFocusVisible:s}=dD({within:!0}),c=(0,x.useMemo)(()=>({orientation:r,isFocusWithin:o,isFocusVisible:s}),[r,o,s]),l=yS({...e,defaultClassName:`react-aria-Tabs`,values:c}),u=K(e,{global:!0});return x.createElement(W.div,{...U(u,l,a),ref:t,slot:e.slot||void 0,"data-focused":o||void 0,"data-orientation":r,"data-focus-visible":s||void 0,"data-disabled":i.isDisabled||void 0},x.createElement(vS,{values:[[VY,e],[HY,i]]},l.children))}var GY=(0,x.forwardRef)(function(e,t){return(0,x.useContext)(HY)?x.createElement(KY,{props:e,forwardedRef:t}):x.createElement(PE,e)});function KY({props:e,forwardedRef:t}){let n=(0,x.useContext)(HY),{CollectionRoot:r}=(0,x.useContext)(RE),{orientation:i=`horizontal`,keyboardActivation:a=`automatic`}=xS(VY),o=gS(t),{tabListProps:s}=LY({...e,orientation:i,keyboardActivation:a},n,o),c=yS({...e,children:null,defaultClassName:`react-aria-TabList`,values:{orientation:i,state:n}}),l=K(e,{global:!0});return delete l.id,x.createElement(W.div,{...U(l,c,s),ref:o,"data-orientation":i||void 0},x.createElement(LI,null,x.createElement(r,{collection:n.collection,persistedKeys:zE(n.selectionManager.focusedKey)})))}var qY=AE(class extends TT{static{this.type=`item`}},(e,t,n)=>{let r=(0,x.useContext)(HY),i=gS(t),{tabProps:a,isSelected:o,isDisabled:s,isPressed:c}=PY({key:n.key,...e},r,i),{focusProps:l,isFocused:u,isFocusVisible:d}=dD(),{hoverProps:f,isHovered:p}=_D({isDisabled:s,onHoverStart:e.onHoverStart,onHoverEnd:e.onHoverEnd,onHoverChange:e.onHoverChange}),m=yS({...e,id:void 0,children:n.rendered,defaultClassName:`react-aria-Tab`,values:{isSelected:o,isDisabled:s,isFocused:u,isFocusVisible:d,isPressed:c,isHovered:p}}),h=n.props.href?W.a:W.div,g=K(e,{global:!0});return delete g.id,delete g.onClick,x.createElement(h,{...U(g,m,a,l,f),ref:i,"data-selected":o||void 0,"data-disabled":s||void 0,"data-focused":u||void 0,"data-focus-visible":d||void 0,"data-pressed":c||void 0,"data-hovered":p||void 0},x.createElement(RI.Provider,{value:{isSelected:o}},m.children))}),JY=mE(function(e,t){let n=(0,x.useContext)(HY),r=gS(t),i=n.selectedKey===e.id,[a,o]=(0,x.useState)(n.selectedKey==null?null:i);a==null&&n.selectedKey!=null?o(i):!i&&a&&o(!1);let s=fB(r,i);return!i&&!e.shouldForceMount&&!s?null:x.createElement(YY,{...e,tabPanelRef:r,isInitiallySelected:a||!1,isExiting:s})});function YY(e){let t=(0,x.useContext)(HY),{id:n,tabPanelRef:r,isInitiallySelected:i,isExiting:a,...o}=e,{tabPanelProps:s}=FY(e,t,r),{focusProps:c,isFocused:l,isFocusVisible:u}=dD(),d=t.selectedKey===e.id,f=dB(r)&&!i,p=yS({...e,defaultClassName:`react-aria-TabPanel`,values:{isFocused:l,isFocusVisible:u,isInert:PL(!d),isEntering:f,isExiting:a,state:t}}),m=K(o,{global:!0});delete m.id;let h=d?U(m,s,c,p):U(m,p);return x.createElement(W.div,{...h,ref:r,"data-focused":l||void 0,"data-focus-visible":u||void 0,inert:PL(!d||e.inert),"data-inert":d?void 0:`true`,"data-entering":f||void 0,"data-exiting":a||void 0},x.createElement(vS,{values:[[VY,null],[HY,null]]},x.createElement(RE.Provider,{value:IE},p.children)))}var XY=(0,x.createContext)({}),ZY=e=>{let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,...i}=e;return i},QY=(0,x.forwardRef)(function(e,t){[e,t]=SS(e,t,XY);let{hoverProps:n,isHovered:r}=_D(e),{isFocused:i,isFocusVisible:a,focusProps:o}=dD({isTextInput:!0,autoFocus:e.autoFocus}),s=!!e[`aria-invalid`]&&e[`aria-invalid`]!==`false`,c=yS({...e,values:{isHovered:r,isFocused:i,isFocusVisible:a,isDisabled:e.disabled||!1,isInvalid:s},defaultClassName:`react-aria-TextArea`});return x.createElement(W.textarea,{...U(ZY(e),o,n),...c,ref:t,"data-focused":i||void 0,"data-disabled":e.disabled||void 0,"data-hovered":r||void 0,"data-focus-visible":a||void 0,"data-invalid":s||void 0})}),$Y=(0,x.createContext)(null),eX=mE(function(e,t){[e,t]=SS(e,t,$Y);let{validationBehavior:n}=xS(ij)||{},r=e.validationBehavior??n??`native`,i=(0,x.useRef)(null);[e,i]=SS(e,i,wT);let[a,o]=CS(!e[`aria-label`]&&!e[`aria-labelledby`]),[s,c]=(0,x.useState)(`input`),{labelProps:l,inputProps:u,descriptionProps:d,errorMessageProps:f,...p}=jN({...wS(e),inputElementType:s,label:o,validationBehavior:r},i),m=(0,x.useCallback)(e=>{i.current=e,e&&c(e instanceof HTMLTextAreaElement?`textarea`:`input`)},[i]),h=yS({...e,values:{isDisabled:e.isDisabled||!1,isInvalid:p.isInvalid,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1},defaultClassName:`react-aria-TextField`}),g=K(e,{global:!0});return delete g.id,x.createElement(W.div,{...g,...h,ref:t,slot:e.slot||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":p.isInvalid||void 0,"data-readonly":e.isReadOnly||void 0,"data-required":e.isRequired||void 0},x.createElement(vS,{values:[[bD,{...l,ref:a}],[ON,{...u,ref:m}],[XY,{...u,ref:m}],[EN,{role:`presentation`,isInvalid:p.isInvalid,isDisabled:e.isDisabled||!1}],[aO,{slots:{description:d,errorMessage:f}}],[WA,p]]},h.children))}),tX={};tX={close:`إغلاق`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{625}\u{634}\u{639}\u{627}\u{631}`,other:()=>`${t.number(e.count)} \u{625}\u{634}\u{639}\u{627}\u{631}\u{627}\u{62A}`})}.`};var nX={};nX={close:`Затвори`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{438}\u{437}\u{432}\u{435}\u{441}\u{442}\u{438}\u{435}`,other:()=>`${t.number(e.count)} \u{438}\u{437}\u{432}\u{435}\u{441}\u{442}\u{438}\u{44F}`})}.`};var rX={};rX={close:`Zavřít`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ozn\xe1men\xed`,other:()=>`${t.number(e.count)} ozn\xe1men\xed`})}.`};var iX={};iX={close:`Luk`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} besked`,other:()=>`${t.number(e.count)} beskeder`})}.`};var aX={};aX={close:`Schließen`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} Benachrichtigung`,other:()=>`${t.number(e.count)} Benachrichtigungen`})}.`};var oX={};oX={close:`Κλείσιμο`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{3B5}\u{3B9}\u{3B4}\u{3BF}\u{3C0}\u{3BF}\u{3AF}\u{3B7}\u{3C3}\u{3B7}`,other:()=>`${t.number(e.count)} \u{3B5}\u{3B9}\u{3B4}\u{3BF}\u{3C0}\u{3BF}\u{3B9}\u{3AE}\u{3C3}\u{3B5}\u{3B9}\u{3C2}`})}.`};var sX={};sX={close:`Close`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`};var cX={};cX={close:`Cerrar`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificaci\xf3n`,other:()=>`${t.number(e.count)} notificaciones`})}.`};var lX={};lX={close:`Sule`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} teatis`,other:()=>`${t.number(e.count)} teatist`})}.`};var uX={};uX={close:`Sulje`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ilmoitus`,other:()=>`${t.number(e.count)} ilmoitusta`})}.`};var dX={};dX={close:`Fermer`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`};var fX={};fX={close:`סגור`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{5D4}\u{5EA}\u{5E8}\u{5D0}\u{5D4}`,other:()=>`${t.number(e.count)} \u{5D4}\u{5EA}\u{5E8}\u{5D0}\u{5D5}\u{5EA}`})}.`};var pX={};pX={close:`Zatvori`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obavijest`,other:()=>`${t.number(e.count)} obavijesti`})}.`};var mX={};mX={close:`Bezárás`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \xe9rtes\xedt\xe9s`,other:()=>`${t.number(e.count)} \xe9rtes\xedt\xe9s`})}.`};var hX={};hX={close:`Chiudi`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notifica`,other:()=>`${t.number(e.count)} notifiche`})}.`};var gX={};gX={close:`閉じる`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{500B}\u{306E}\u{901A}\u{77E5}`,other:()=>`${t.number(e.count)} \u{500B}\u{306E}\u{901A}\u{77E5}`})}\u{3002}`};var _X={};_X={close:`닫기`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}\u{AC1C} \u{C54C}\u{B9BC}`,other:()=>`${t.number(e.count)}\u{AC1C} \u{C54C}\u{B9BC}`})}.`};var vX={};vX={close:`Uždaryti`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} prane\u{161}imas`,other:()=>`${t.number(e.count)} prane\u{161}imai`})}.`};var yX={};yX={close:`Aizvērt`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} pazi\u{146}ojums`,other:()=>`${t.number(e.count)} pazi\u{146}ojumi`})}.`};var bX={};bX={close:`Lukk`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} varsling`,other:()=>`${t.number(e.count)} varsler`})}.`};var xX={};xX={close:`Sluiten`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} melding`,other:()=>`${t.number(e.count)} meldingen`})}.`};var SX={};SX={close:`Zamknij`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} powiadomienie`,few:()=>`${t.number(e.count)} powiadomienia`,many:()=>`${t.number(e.count)} powiadomie\u{144}`,other:()=>`${t.number(e.count)} powiadomienia`})}.`};var CX={};CX={close:`Fechar`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notifica\xe7\xe3o`,other:()=>`${t.number(e.count)} notifica\xe7\xf5es`})}.`};var wX={};wX={close:`Fechar`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notifica\xe7\xe3o`,other:()=>`${t.number(e.count)} notifica\xe7\xf5es`})}.`};var TX={};TX={close:`Închideţi`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificare`,other:()=>`${t.number(e.count)} notific\u{103}ri`})}.`};var EX={};EX={close:`Закрыть`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{443}\u{432}\u{435}\u{434}\u{43E}\u{43C}\u{43B}\u{435}\u{43D}\u{438}\u{435}`,other:()=>`${t.number(e.count)} \u{443}\u{432}\u{435}\u{434}\u{43E}\u{43C}\u{43B}\u{435}\u{43D}\u{438}\u{44F}`})}.`};var DX={};DX={close:`Zatvoriť`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ozn\xe1menie`,few:()=>`${t.number(e.count)} ozn\xe1menia`,other:()=>`${t.number(e.count)} ozn\xe1men\xed`})}.`};var OX={};OX={close:`Zapri`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obvestilo`,two:()=>`${t.number(e.count)} obvestili`,few:()=>`${t.number(e.count)} obvestila`,other:()=>`${t.number(e.count)} obvestil`})}.`};var kX={};kX={close:`Zatvori`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obave\u{161}tenje`,other:()=>`${t.number(e.count)} obave\u{161}tenja`})}.`};var AX={};AX={close:`Stäng`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} meddelande`,other:()=>`${t.number(e.count)} meddelanden`})}.`};var jX={};jX={close:`Kapat`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} bildirim`,other:()=>`${t.number(e.count)} bildirim`})}.`};var MX={};MX={close:`Закрити`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{441}\u{43F}\u{43E}\u{432}\u{456}\u{449}\u{435}\u{43D}\u{43D}\u{44F}`,other:()=>`${t.number(e.count)} \u{441}\u{43F}\u{43E}\u{432}\u{456}\u{449}\u{435}\u{43D}\u{43D}\u{44F}`})}.`};var NX={};NX={close:`关闭`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{4E2A}\u{901A}\u{77E5}`,other:()=>`${t.number(e.count)} \u{4E2A}\u{901A}\u{77E5}`})}\u{3002}`};var PX={};PX={close:`關閉`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{500B}\u{901A}\u{77E5}`,other:()=>`${t.number(e.count)} \u{500B}\u{901A}\u{77E5}`})}\u{3002}`};var FX={};FX={"ar-AE":tX,"bg-BG":nX,"cs-CZ":rX,"da-DK":iX,"de-DE":aX,"el-GR":oX,"en-US":sX,"es-ES":cX,"et-EE":lX,"fi-FI":uX,"fr-FR":dX,"he-IL":fX,"hr-HR":pX,"hu-HU":mX,"it-IT":hX,"ja-JP":gX,"ko-KR":_X,"lt-LT":vX,"lv-LV":yX,"nb-NO":bX,"nl-NL":xX,"pl-PL":SX,"pt-BR":CX,"pt-PT":wX,"ro-RO":TX,"ru-RU":EX,"sk-SK":DX,"sl-SI":OX,"sr-SP":kX,"sv-SE":AX,"tr-TR":jX,"uk-UA":MX,"zh-CN":NX,"zh-TW":PX};function IX(e){return e&&e.__esModule?e.default:e}function LX(e,t,n){let{key:r,timer:i,timeout:a}=e.toast;(0,x.useEffect)(()=>{if(i!=null&&a!=null)return i.reset(a),()=>{i.pause()}},[i,a]);let o=dS(),s=pS(),c=_T(IX(FX),`@react-aria/toast`),[l,u]=(0,x.useState)(!1);return qx(()=>{u(!0)},[]),{toastProps:{...K(e,{labelable:!0}),role:`alertdialog`,"aria-modal":`false`,"aria-labelledby":e[`aria-labelledby`]||o,"aria-describedby":e[`aria-describedby`]||s,tabIndex:0},contentProps:{role:`alert`,"aria-atomic":`true`,"aria-hidden":l?void 0:`true`},titleProps:{id:o},descriptionProps:{id:s},closeButtonProps:{"aria-label":c.format(`close`),onPress:()=>t.close(r)}}}var RX=1,zX=Symbol.for(`react-aria-landmark-manager`);function BX(e){return document.addEventListener(`react-aria-landmark-manager-change`,e),()=>document.removeEventListener(`react-aria-landmark-manager-change`,e)}function VX(){if(typeof document>`u`)return null;let e=document[zX];return e&&e.version>=RX?e:(document[zX]=new UX,document.dispatchEvent(new CustomEvent(`react-aria-landmark-manager-change`)),document[zX])}function HX(){return(0,yE.useSyncExternalStore)(BX,VX,VX)}var UX=class{constructor(){this.landmarks=[],this.isListening=!1,this.refCount=0,this.version=RX,this.f6Handler=this.f6Handler.bind(this),this.focusinHandler=this.focusinHandler.bind(this),this.focusoutHandler=this.focusoutHandler.bind(this)}setupIfNeeded(){this.isListening||=(document.addEventListener(`keydown`,this.f6Handler,{capture:!0}),document.addEventListener(`focusin`,this.focusinHandler,{capture:!0}),document.addEventListener(`focusout`,this.focusoutHandler,{capture:!0}),!0)}teardownIfNeeded(){!this.isListening||this.landmarks.length>0||this.refCount>0||(document.removeEventListener(`keydown`,this.f6Handler,{capture:!0}),document.removeEventListener(`focusin`,this.focusinHandler,{capture:!0}),document.removeEventListener(`focusout`,this.focusoutHandler,{capture:!0}),this.isListening=!1)}focusLandmark(e,t){this.landmarks.find(t=>t.ref.current===e)?.focus?.(t)}getLandmarksByRole(e){return new Set(this.landmarks.filter(t=>t.role===e))}getLandmarkByRole(e){return this.landmarks.find(t=>t.role===e)}addLandmark(e){if(this.setupIfNeeded(),this.landmarks.find(t=>t.ref===e.ref)||!e.ref.current)return;if(this.landmarks.filter(e=>e.role===`main`).length,this.landmarks.length===0){this.landmarks=[e],this.checkLabels(e.role);return}let t=0,n=this.landmarks.length-1;for(;t<=n;){let r=Math.floor((t+n)/2),i=e.ref.current.compareDocumentPosition(this.landmarks[r].ref.current);i&Node.DOCUMENT_POSITION_PRECEDING||i&Node.DOCUMENT_POSITION_CONTAINS?t=r+1:n=r-1}this.landmarks.splice(t,0,e),this.checkLabels(e.role)}updateLandmark(e){let t=this.landmarks.findIndex(t=>t.ref===e.ref);t>=0&&(this.landmarks[t]={...this.landmarks[t],...e},this.checkLabels(this.landmarks[t].role))}removeLandmark(e){this.landmarks=this.landmarks.filter(t=>t.ref!==e),this.teardownIfNeeded()}checkLabels(e){let t=this.getLandmarksByRole(e);t.size>1&&[...t].filter(e=>!e.label).length}closestLandmark(e){let t=new Map(this.landmarks.map(e=>[e.ref.current,e])),n=e;for(;n&&!t.has(n)&&n!==document.body&&n.parentElement;)n=n.parentElement;return t.get(n)}getNextLandmark(e,{backward:t}){let n=this.closestLandmark(e),r=t?this.landmarks.length-1:0;n&&(r=this.landmarks.indexOf(n)+(t?-1:1));let i=()=>{if(r<0){if(!e.dispatchEvent(new CustomEvent(`react-aria-landmark-navigation`,{detail:{direction:`backward`},bubbles:!0,cancelable:!0})))return!0;r=this.landmarks.length-1}else if(r>=this.landmarks.length){if(!e.dispatchEvent(new CustomEvent(`react-aria-landmark-navigation`,{detail:{direction:`forward`},bubbles:!0,cancelable:!0})))return!0;r=0}return r<0||r>=this.landmarks.length};if(i())return;let a=r;for(;this.landmarks[r].ref.current?.closest(`[aria-hidden=true]`);){if(r+=t?-1:1,i())return;if(r===a)break}return this.landmarks[r]}f6Handler(e){e.key===`F6`&&(e.altKey?this.focusMain():this.navigate(G(e),e.shiftKey))&&(e.preventDefault(),e.stopPropagation())}focusMain(){let e=this.getLandmarkByRole(`main`);return e&&e.ref.current&&e.ref.current.isConnected?(this.focusLandmark(e.ref.current,`forward`),!0):!1}navigate(e,t){let n=this.getNextLandmark(e,{backward:t});if(!n)return!1;if(n.lastFocused){let e=n.lastFocused;if(zS(document.body,e))return e.focus(),!0}return n.ref.current&&n.ref.current.isConnected?(this.focusLandmark(n.ref.current,t?`backward`:`forward`),!0):!1}focusinHandler(e){let t=this.closestLandmark(G(e));t&&t.ref.current!==G(e)&&this.updateLandmark({ref:t.ref,lastFocused:G(e)});let n=e.relatedTarget;if(n){let e=this.closestLandmark(n);e&&e.ref.current===n&&e.blur()}}focusoutHandler(e){let t=G(e),n=e.relatedTarget;if(!n||n===document){let e=this.closestLandmark(t);e&&e.ref.current===t&&e.blur()}}createLandmarkController(){let e=this;return e.refCount++,e.setupIfNeeded(),{navigate(t,n){let r=n?.from||document.activeElement;return e.navigate(r,t===`backward`)},focusNext(t){let n=t?.from||document.activeElement;return e.navigate(n,!1)},focusPrevious(t){let n=t?.from||document.activeElement;return e.navigate(n,!0)},focusMain(){return e.focusMain()},dispose(){e&&=(e.refCount--,e.teardownIfNeeded(),null)}}}registerLandmark(e){return this.landmarks.find(t=>t.ref===e.ref)?this.updateLandmark(e):this.addLandmark(e),()=>this.removeLandmark(e.ref)}};function WX(e,t){let{role:n,"aria-label":r,"aria-labelledby":i,focus:a}=e,o=HX(),s=r||i,[c,l]=(0,x.useState)(!1),u=(0,x.useCallback)(()=>{l(!0)},[l]),d=(0,x.useCallback)(()=>{l(!1)},[l]);return qx(()=>{if(o)return o.registerLandmark({ref:t,label:s,role:n,focus:a||u,blur:d})},[o,s,t,n,a,u,d]),(0,x.useEffect)(()=>{c&&t.current?.focus()},[c,t]),{landmarkProps:{role:n,tabIndex:c?-1:void 0,"aria-label":r,"aria-labelledby":i}}}function GX(e){return e&&e.__esModule?e.default:e}function KX(e,t,n){let r=_T(GX(FX),`@react-aria/toast`),{landmarkProps:i}=WX({role:`region`,"aria-label":e[`aria-label`]||r.format(`notifications`,{count:t.visibleToasts.length})},n),a=(0,x.useRef)(!1),o=(0,x.useRef)(!1),s=(0,x.useCallback)(()=>{a.current||o.current?t.pauseAll():t.resumeAll()},[t]),{hoverProps:c}=_D({onHoverStart:()=>{a.current=!0,s()},onHoverEnd:()=>{a.current=!1,s()}}),l=(0,x.useRef)([]),u=(0,x.useRef)(t.visibleToasts),d=(0,x.useRef)(null);qx(()=>{if(d.current===-1||t.visibleToasts.length===0||!n.current){l.current=[],u.current=t.visibleToasts;return}if(l.current=[...n.current.querySelectorAll(`[role="alertdialog"]`)],u.current.length===t.visibleToasts.length&&t.visibleToasts.every((e,t)=>e.key===u.current[t].key)){u.current=t.visibleToasts;return}let e=u.current.map((e,n)=>({...e,i:n,isRemoved:!t.visibleToasts.some(t=>e.key===t.key)})),r=e.findIndex(e=>e.i===d.current&&e.isRemoved);if(r>-1){if(XC()===`pointer`&&f.current?.isConnected)qS(f.current);else{let t=0,n,i;for(;t<=r;)e[t].isRemoved||(i=Math.max(0,t-1)),t++;for(;t<e.length;){if(!e[t].isRemoved){n=t-1;break}t++}i===void 0&&n===void 0&&(i=0),i>=0&&i<l.current.length?qS(l.current[i]):n>=0&&n<l.current.length&&qS(l.current[n])}}u.current=t.visibleToasts},[t.visibleToasts,n]);let f=(0,x.useRef)(null),{focusWithinProps:p}=uD({onFocusWithin:e=>{o.current=!0,f.current=e.relatedTarget,s()},onBlurWithin:()=>{o.current=!1,f.current=null,s()}});return(0,x.useEffect)(()=>{t.visibleToasts.length===0&&f.current?.isConnected&&(XC()===`pointer`?qS(f.current):f.current.focus(),f.current=null)},[n,t.visibleToasts.length]),(0,x.useEffect)(()=>()=>{f.current?.isConnected&&(XC()===`pointer`?qS(f.current):f.current.focus(),f.current=null)},[n]),{regionProps:U(i,c,p,{tabIndex:-1,"data-react-aria-top-layer":!0,onFocus:e=>{let t=G(e).closest(`[role="alertdialog"]`);d.current=l.current.findIndex(e=>e===t)},onBlur:()=>{d.current=-1}})}}function qX(e){let t=(0,x.useCallback)(t=>e.subscribe(t),[e]),n=(0,x.useCallback)(()=>e.visibleToasts,[e]);return{visibleToasts:(0,yE.useSyncExternalStore)(t,n,n),add:(t,n)=>e.add(t,n),close:t=>e.close(t),pauseAll:()=>e.pauseAll(),resumeAll:()=>e.resumeAll()}}var JX=class{constructor(e){this.queue=[],this.subscriptions=new Set,this.visibleToasts=[],this.maxVisibleToasts=e?.maxVisibleToasts??1/0,this.wrapUpdate=e?.wrapUpdate}runWithWrapUpdate(e,t){this.wrapUpdate?this.wrapUpdate(e,t):e()}subscribe(e){return this.subscriptions.add(e),()=>this.subscriptions.delete(e)}add(e,t={}){let n=`_`+Math.random().toString(36).slice(2),r={...t,content:e,key:n,timer:t.timeout?new YX(()=>this.close(n),t.timeout):void 0};return this.queue.unshift(r),this.updateVisibleToasts(`add`),n}close(e){let t=this.queue.findIndex(t=>t.key===e);t>=0&&(this.queue[t].onClose?.(),this.queue.splice(t,1)),this.updateVisibleToasts(`remove`)}updateVisibleToasts(e){this.visibleToasts=this.queue.slice(0,this.maxVisibleToasts),this.runWithWrapUpdate(()=>{for(let e of this.subscriptions)e()},e)}pauseAll(){for(let e of this.visibleToasts)e.timer&&e.timer.pause()}resumeAll(){for(let e of this.visibleToasts)e.timer&&e.timer.resume()}clear(){this.queue=[],this.updateVisibleToasts(`clear`)}},YX=class{constructor(e,t){this.startTime=null,this.remaining=t,this.callback=e}reset(e){this.remaining=e,this.resume()}pause(){this.timerId!=null&&(clearTimeout(this.timerId),this.timerId=null,this.remaining-=Date.now()-this.startTime)}resume(){this.remaining<=0||(this.startTime=Date.now(),this.timerId=setTimeout(()=>{this.timerId=null,this.remaining=0,this.callback()},this.remaining))}},XX=(0,x.createContext)(null),ZX=(0,x.forwardRef)(function(e,t){let n=aS(),r=qX(e.queue),i=gS(t),{regionProps:a}=KX(e,r,i),{focusProps:o,isFocused:s,isFocusVisible:c}=dD(),{hoverProps:l,isHovered:u}=_D({}),d=yS({...e,children:void 0,defaultClassName:`react-aria-ToastRegion`,values:{visibleToasts:r.visibleToasts,isHovered:u,isFocused:s,isFocusVisible:c}}),{direction:f}=rT(),p,{getContainer:m}=oB();n||(p=document.body,m&&(p=m()));let h=K(e,{global:!0}),g=x.createElement(XX.Provider,{value:r},x.createElement(W.div,{...U(h,d,a,o,l),dir:f,ref:i,"data-hovered":u||void 0,"data-focused":s||void 0,"data-focus-visible":c||void 0},typeof e.children==`function`?x.createElement(QX,{...e,render:void 0,className:void 0,style:{display:`contents`}},e.children):e.children));return r.visibleToasts.length>0&&p?(0,vE.createPortal)(g,p):null}),QX=(0,x.forwardRef)(function(e,t){let n=(0,x.useContext)(XX),{hoverProps:r,isHovered:i}=_D({}),a=yS({...e,children:void 0,defaultClassName:`react-aria-ToastList`,values:{visibleToasts:n.visibleToasts,isFocused:!1,isFocusVisible:!1,isHovered:i}});return x.createElement(W.ol,{...r,...a,ref:t},n.visibleToasts.map(t=>x.createElement(`li`,{key:t.key,style:{display:`contents`}},e.children({toast:t}))))}),$X=(0,x.forwardRef)(function(e,t){let n=(0,x.useContext)(XX),r=gS(t),{toastProps:i,contentProps:a,titleProps:o,descriptionProps:s,closeButtonProps:c}=LX(e,n,r),{focusProps:l,isFocused:u,isFocusVisible:d}=dD(),f=yS({...e,defaultClassName:`react-aria-Toast`,values:{toast:e.toast,isFocused:u,isFocusVisible:d}}),p=K(e,{global:!0});return x.createElement(W.div,{...U(p,f,i,l),ref:r,"data-focused":u||void 0,"data-focus-visible":d||void 0},x.createElement(vS,{values:[[eZ,a],[aO,{slots:{[_S]:{},title:o,description:s}}],[$D,{slots:{[_S]:{},close:c}}]]},f.children))}),eZ=(0,x.createContext)({}),tZ=(0,x.forwardRef)(function(e,t){return[e,t]=SS(e,t,eZ),x.createElement(W.div,{render:e.render,className:`react-aria-ToastContent`,...e,ref:t},e.children)});function nZ(e,t,n){let{isSelected:r}=t,{isPressed:i,buttonProps:a}=QD({...e,onPress:Kx(t.toggle,e.onPress)},n);return{isPressed:i,isSelected:r,isDisabled:e.isDisabled||!1,buttonProps:U(a,{"aria-pressed":r})}}function rZ(e,t){let{"aria-label":n,"aria-labelledby":r,orientation:i=`horizontal`}=e,[a,o]=(0,x.useState)(!1);qx(()=>{o(!!(t.current&&t.current.parentElement?.closest(`[role="toolbar"]`)))});let{direction:s}=rT(),c=s===`rtl`&&i===`horizontal`,l=oL(t),u=e=>{if(zS(e.currentTarget,G(e))){if(i===`horizontal`&&e.key===`ArrowRight`||i===`vertical`&&e.key===`ArrowDown`)c?l.focusPrevious():l.focusNext();else if(i===`horizontal`&&e.key===`ArrowLeft`||i===`vertical`&&e.key===`ArrowUp`)c?l.focusNext():l.focusPrevious();else if(e.key===`Tab`){d.current=BS(),e.shiftKey?l.focusFirst():l.focusLast();return}else return;e.stopPropagation(),e.preventDefault()}},d=(0,x.useRef)(null),f=e=>{!zS(e.currentTarget,e.relatedTarget)&&!d.current&&(d.current=G(e))},p=e=>{d.current&&!zS(e.currentTarget,e.relatedTarget)&&zS(t.current,G(e))&&(d.current?.focus(),d.current=null)};return{toolbarProps:{...K(e,{labelable:!0}),role:a?`group`:`toolbar`,"aria-orientation":i,"aria-label":n,"aria-labelledby":n==null?r:void 0,onKeyDownCapture:a?void 0:u,onFocusCapture:a?void 0:p,onBlurCapture:a?void 0:f}}}function iZ(e,t,n){let{isDisabled:r}=e,{toolbarProps:i}=rZ(e,n);return{groupProps:{...i,role:t.selectionMode===`single`?`radiogroup`:i.role,"aria-disabled":r}}}function aZ(e,t,n){let r={isSelected:t.selectedKeys.has(e.id),defaultSelected:!1,setSelected(n){t.setSelected(e.id,n)},toggle(){t.toggleKey(e.id)}},{isPressed:i,isSelected:a,isDisabled:o,buttonProps:s}=nZ({...e,id:void 0,isDisabled:e.isDisabled||t.isDisabled},r,n);return t.selectionMode===`single`&&(s.role=`radio`,s[`aria-checked`]=r.isSelected,delete s[`aria-pressed`]),{isPressed:i,isSelected:a,isDisabled:o,buttonProps:s}}function oZ(e){let{selectionMode:t=`single`,disallowEmptySelection:n,isDisabled:r=!1}=e,[i,a]=xT((0,x.useMemo)(()=>e.selectedKeys?new Set(e.selectedKeys):void 0,[e.selectedKeys]),(0,x.useMemo)(()=>e.defaultSelectedKeys?new Set(e.defaultSelectedKeys):new Set,[e.defaultSelectedKeys]),e.onSelectionChange);return{selectionMode:t,isDisabled:r,selectedKeys:i,setSelectedKeys:a,toggleKey(e){let r;t===`multiple`?(r=new Set(i),r.has(e)&&(!n||r.size>1)?r.delete(e):r.add(e)):r=new Set(i.has(e)&&!n?[]:[e]),a(r)},setSelected(e,t){t!==i.has(e)&&this.toggleKey(e)}}}var sZ=(0,x.createContext)({}),cZ=(0,x.createContext)(null),lZ=(0,x.forwardRef)(function(e,t){[e,t]=SS(e,t,sZ);let n=oZ(e),{groupProps:r}=iZ(e,n,t),i=yS({...e,values:{orientation:e.orientation||`horizontal`,isDisabled:n.isDisabled,state:n},defaultClassName:`react-aria-ToggleButtonGroup`}),a=K(e,{global:!0});return x.createElement(W.div,{...U(a,i,r),ref:t,slot:e.slot||void 0,"data-orientation":e.orientation||`horizontal`,"data-disabled":e.isDisabled||void 0},x.createElement(cZ.Provider,{value:n},x.createElement(LI,null,i.children)))}),uZ=(0,x.createContext)({}),dZ=(0,x.forwardRef)(function(e,t){[e,t]=SS(e,t,uZ);let n=(0,x.useContext)(cZ),r=_j(n&&e.id!=null?{isSelected:n.selectedKeys.has(e.id),onChange(t){n.setSelected(e.id,t)}}:e),{buttonProps:i,isPressed:a,isSelected:o,isDisabled:s}=n&&e.id!=null?aZ({...e,id:e.id},n,t):nZ({...e,id:e.id==null?void 0:String(e.id)},r,t),{focusProps:c,isFocused:l,isFocusVisible:u}=dD(e),{hoverProps:d,isHovered:f}=_D({...e,isDisabled:s}),p=yS({...e,id:void 0,values:{isHovered:f,isPressed:a,isFocused:l,isSelected:r.isSelected,isFocusVisible:u,isDisabled:s,state:r},defaultClassName:`react-aria-ToggleButton`}),m=K(e,{global:!0});return delete m.id,delete m.onClick,x.createElement(W.button,{...U(m,p,i,c,d),ref:t,slot:e.slot||void 0,"data-focused":l||void 0,"data-disabled":s||void 0,"data-pressed":a||void 0,"data-selected":o||void 0,"data-hovered":f||void 0,"data-focus-visible":u||void 0},x.createElement(RI.Provider,{value:{isSelected:o}},p.children))}),fZ=x.createContext(null);function pZ(e){let{children:t}=e,n=(0,x.useContext)(fZ),[r,i]=(0,x.useState)(0),a=(0,x.useMemo)(()=>({parent:n,modalCount:r,addModal(){i(e=>e+1),n&&n.addModal()},removeModal(){i(e=>e-1),n&&n.removeModal()}}),[n,r]);return x.createElement(fZ.Provider,{value:a},t)}function mZ(){let e=(0,x.useContext)(fZ);return{modalProviderProps:{"aria-hidden":e&&e.modalCount>0?!0:void 0}}}function hZ(e){let{modalProviderProps:t}=mZ();return x.createElement(`div`,{"data-overlay-container":!0,...e,...t})}function gZ(e){return x.createElement(pZ,null,x.createElement(hZ,e))}function _Z(e){let t=aS(),{portalContainer:n=t?null:document.body,...r}=e,{getContainer:i}=oB();if(!e.portalContainer&&i&&(n=i()),x.useEffect(()=>{if(n?.closest(`[data-overlay-container]`))throw Error(`An OverlayContainer must not be inside another container. Please change the portalContainer prop.`)},[n]),!n)return null;let a=x.createElement(gZ,r);return vE.createPortal(a,n)}function vZ(e,t){let n=K(e,{labelable:!0}),{hoverProps:r}=_D({onHoverStart:()=>t?.open(!0),onHoverEnd:()=>t?.close()});return{tooltipProps:U(n,r,{role:`tooltip`})}}function yZ(e,t,n){let{isDisabled:r,trigger:i,shouldCloseOnPress:a=!0}=e,o=dS(),s=(0,x.useRef)(!1),c=(0,x.useRef)(!1),l=()=>{(s.current||c.current)&&t.open(c.current)},u=e=>{!s.current&&!c.current&&t.close(e)};(0,x.useEffect)(()=>{let e=e=>{n&&n.current&&e.key===`Escape`&&(e.stopPropagation(),t.close(!0))};if(t.isOpen)return document.addEventListener(`keydown`,e,!0),()=>{document.removeEventListener(`keydown`,e,!0)}},[n,t]);let d=()=>{i!==`focus`&&(XC()===`pointer`?s.current=!0:s.current=!1,l())},f=()=>{i!==`focus`&&(c.current=!1,s.current=!1,u())},p=()=>{a&&(c.current=!1,s.current=!1,u(!0))},m=()=>{YC()&&(c.current=!0,l())},h=()=>{c.current=!1,s.current=!1,u(!0)},{hoverProps:g}=_D({isDisabled:r,onHoverStart:d,onHoverEnd:f}),{focusableProps:_}=dE({isDisabled:r,onFocus:m,onBlur:h},n);return{triggerProps:{"aria-describedby":t.isOpen?o:void 0,...U(_,g,{onPointerDown:p,onKeyDown:p}),tabIndex:void 0},tooltipProps:{id:o}}}var bZ=(0,x.createContext)(null),xZ=(0,x.createContext)(null);function SZ(e){let t=iK(e),n=(0,x.useRef)(null),{triggerProps:r,tooltipProps:i}=yZ(e,t,n);return x.createElement(vS,{values:[[bZ,t],[xZ,{...i,triggerRef:n}]]},x.createElement(uE,{...r,ref:n},e.children))}var CZ=(0,x.forwardRef)(function({UNSTABLE_portalContainer:e,...t},n){[t,n]=SS(t,n,xZ);let r=(0,x.useContext)(bZ),i=iK(t),a=t.isOpen!=null||t.defaultOpen!=null||!r?i:r,o=fB(n,a.isOpen),s=t.isExiting||!a.shouldSkipAnimation&&o||!1;return!a.isOpen&&!s?null:x.createElement(_Z,{portalContainer:e},x.createElement(wZ,{...t,tooltipRef:n,isExiting:s}))});function wZ(e){let t=(0,x.useContext)(bZ),n=(0,x.useRef)(null),{overlayProps:r,arrowProps:i,placement:a,triggerAnchorPoint:o}=KR({placement:e.placement||`top`,targetRef:e.triggerRef,overlayRef:e.tooltipRef,arrowRef:n,offset:e.offset,crossOffset:e.crossOffset,isOpen:t.isOpen,arrowBoundaryOffset:e.arrowBoundaryOffset,shouldFlip:e.shouldFlip,containerPadding:e.containerPadding,onClose:()=>t.close(!0)}),s=dB(e.tooltipRef,!!a),c=e.isEntering||!t.shouldSkipAnimation&&s||!1,l=yS({...e,defaultClassName:`react-aria-Tooltip`,values:{placement:a,isEntering:c,isExiting:e.isExiting,state:t}});e=U(e,r);let{tooltipProps:u}=vZ(e,t),d=K(e,{global:!0});return x.createElement(W.div,{...U(d,l,u),ref:e.tooltipRef,style:{...r.style,"--trigger-anchor-point":o?`${o.x}px ${o.y}px`:void 0,...l.style},"data-placement":a??void 0,"data-entering":c||void 0,"data-exiting":e.isExiting||void 0},x.createElement(fR.Provider,{value:{...i,placement:a,ref:n}},l.children))}function TZ(e){return e&&e.__esModule?e.default:e}var EZ={keyboard:{start:`dragDescriptionKeyboard`,end:`endDragKeyboard`},touch:{start:`dragDescriptionTouch`,end:`endDragTouch`},virtual:{start:`dragDescriptionVirtual`,end:`endDragVirtual`}};function DZ(e){let{hasDragButton:t,isDisabled:n}=e,r=_T(TZ(zW),`@react-aria/dnd`),i=(0,x.useRef)({options:e,x:0,y:0}).current;i.options=e;let a=(0,x.useRef)(null),[o,s]=(0,x.useState)(!1),c=e=>{a.current=e,s(!!e)},{addGlobalListener:l,removeAllGlobalListeners:u}=YE(),d=(0,x.useRef)(null),f=t=>{if(t.defaultPrevented)return;if(t.stopPropagation(),d.current===`virtual`){t.preventDefault(),g(G(t)),d.current=null;return}typeof e.onDragStart==`function`&&e.onDragStart({type:`dragstart`,x:t.clientX,y:t.clientY});let n=e.getItems();t.dataTransfer.clearData?.(),Qte(t.dataTransfer,n);let r=PU.all;if(typeof e.getAllowedDropOperations==`function`){let t=e.getAllowedDropOperations();r=PU.none;for(let e of t)r|=PU[e]||PU.none}$U(r);let a=IU[r]||`none`;t.dataTransfer.effectAllowed=a===`cancel`?`none`:a,typeof e.preview?.current==`function`&&e.preview.current(n,(e,n,r)=>{if(!e)return;let i=e.getBoundingClientRect(),a=t.currentTarget.getBoundingClientRect(),o=t.clientX-a.x,s=t.clientY-a.y;(o>i.width||s>i.height)&&(o=i.width/2,s=i.height/2);let c=o,l=s;typeof n==`number`&&typeof r==`number`&&(c=n,l=r),c=Math.max(0,Math.min(c,i.width)),l=Math.max(0,Math.min(l,i.height));let u=2*Math.round(i.height/2);e.style.height=`${u}px`,t.dataTransfer.setDragImage(e,c,l)}),l(window,`drop`,e=>{e.preventDefault(),e.stopPropagation(),console.warn(`Drags initiated from the React Aria useDrag hook may only be dropped on a target created with useDrop. This ensures that a keyboard and screen reader accessible alternative is available.`)},{once:!0}),i.x=t.clientX,i.y=t.clientY;let o=G(t);requestAnimationFrame(()=>{c(o)})},p=t=>{t.stopPropagation(),(t.clientX!==i.x||t.clientY!==i.y)&&(typeof e.onDragMove==`function`&&e.onDragMove({type:`dragmove`,x:t.clientX,y:t.clientY}),i.x=t.clientX,i.y=t.clientY)},m=t=>{if(t.stopPropagation(),typeof e.onDragEnd==`function`){let n={type:`dragend`,x:t.clientX,y:t.clientY,dropOperation:LU[t.dataTransfer.dropEffect]};XU&&(n.dropOperation=LU[XU]),e.onDragEnd(n)}c(null),u(),$U(PU.none),ZU(void 0)};(0,x.useEffect)(()=>()=>{if(a.current&&(!a.current.isConnected||parseInt(x.version,10)<17)){if(typeof i.options.onDragEnd==`function`){let e={type:`dragend`,x:0,y:0,dropOperation:LU[XU||`none`]};i.options.onDragEnd(e)}c(null),$U(PU.none),ZU(void 0)}},[i]);let h=e=>{(e.pointerType===`keyboard`||e.pointerType===`virtual`)&&g(e.target)},g=e=>{if(typeof i.options.onDragStart==`function`){let t=e.getBoundingClientRect();i.options.onDragStart({type:`dragstart`,x:t.x+t.width/2,y:t.y+t.height/2})}ane({element:e,items:i.options.getItems(),allowedDropOperations:typeof i.options.getAllowedDropOperations==`function`?i.options.getAllowedDropOperations():[`move`,`copy`,`link`],onDragEnd(e){c(null),typeof i.options.onDragEnd==`function`&&i.options.onDragEnd(e)}},r),c(e)},_=UU(),v=o?EZ[_].end:EZ[_].start,y=BA(r.format(v)),b={};return t||(b={...y,onPointerDown(e){if(d.current=xC(e.nativeEvent)?`virtual`:e.pointerType,e.width<1&&e.height<1&&hC()&&_C())d.current=`virtual`;else{let t=e.currentTarget.getBoundingClientRect(),n=e.clientX-t.x,r=e.clientY-t.y,i=t.width/2,a=t.height/2;Math.abs(n-i)<=.5&&Math.abs(r-a)<=.5?d.current=`virtual`:d.current=e.pointerType}},onKeyDownCapture(e){G(e)===e.currentTarget&&e.key===`Enter`&&(e.preventDefault(),e.stopPropagation())},onKeyUpCapture(e){G(e)===e.currentTarget&&e.key===`Enter`&&(e.preventDefault(),e.stopPropagation(),g(G(e)))},onClick(e){(bC(e.nativeEvent)||d.current===`virtual`)&&(e.preventDefault(),e.stopPropagation(),g(G(e)))}}),n?{dragProps:{draggable:`false`},dragButtonProps:{},isDragging:!1}:{dragProps:{...b,draggable:`true`,onDragStart:f,onDrag:p,onDragEnd:m},dragButtonProps:{...y,onPress:h},isDragging:o}}var OZ=V([`inline-flex shrink-0 cursor-default items-center justify-center gap-2 rounded-md font-medium whitespace-nowrap`,`motion-press`,`outline-none data-focus-visible:ring-2 data-focus-visible:ring-ring data-focus-visible:ring-offset-2 data-focus-visible:ring-offset-background`,`data-disabled:opacity-50`,`data-pending:opacity-70`],{variants:{variant:{primary:`bg-primary text-primary-foreground data-hovered:bg-primary-hover data-pressed:bg-primary-hover`,secondary:`border border-border bg-secondary text-secondary-foreground data-hovered:border-border-strong data-hovered:bg-secondary-hover data-pressed:bg-secondary-hover`,ghost:`text-foreground-secondary data-hovered:bg-secondary data-hovered:text-foreground data-pressed:bg-secondary-hover`,danger:`bg-destructive text-destructive-foreground data-hovered:opacity-90 data-pressed:opacity-90`,brand:`bg-brand-fill text-brand-ink data-hovered:bg-brand-fill-hover data-pressed:bg-brand-fill-hover`},size:{sm:`h-8 px-3 text-sm`,md:`h-10 px-4 text-base`},fullWidth:{true:`w-full`},collapses:{true:`max-md:aspect-square max-md:px-0`,false:``}},defaultVariants:{variant:`primary`,size:`md`,collapses:!1}}),kZ=V(``,{variants:{collapses:{true:`max-md:sr-only`,false:``}},defaultVariants:{collapses:!1}}),AZ={sm:14,md:16};function q({children:e,icon:t,onPress:n,type:r=`button`,isDisabled:i=!1,isPending:a=!1,autoFocus:o=!1,collapses:s=!1,size:c,...l}){let u=a?ob:t,d=s&&t!==void 0;return(0,S.jsxs)(eO,{className:OZ({size:c,...l,collapses:d}),type:r,isDisabled:i,isPending:a,autoFocus:o,...n&&{onPress:n},children:[u&&(0,S.jsx)(u,{"aria-hidden":!0,size:AZ[c??`md`],...a&&{className:`animate-spin`}}),d?(0,S.jsx)(`span`,{className:kZ({collapses:!0}),children:e}):e]})}var jZ=`flex min-w-0 flex-col rounded-xl border border-border bg-card`,MZ=V(`flex flex-1 flex-col`,{variants:{isFlush:{true:``,false:`gap-5 p-6`}},defaultVariants:{isFlush:!1}});function NZ({title:e,description:t,actions:n,footer:r,isFlush:i=!1,children:a}){let o=(0,x.useId)();return(0,S.jsxs)(`section`,{className:jZ,...e!==void 0&&{"aria-labelledby":o},children:[e!==void 0&&(0,S.jsxs)(`div`,{className:`flex items-start justify-between gap-4 border-b border-border px-6 py-4`,children:[(0,S.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-1`,children:[(0,S.jsx)(`h2`,{id:o,className:`font-display text-lg font-semibold text-foreground`,children:e}),t!==void 0&&(0,S.jsx)(`p`,{className:`text-sm text-foreground-muted`,children:t})]}),n!==void 0&&(0,S.jsx)(`div`,{className:`flex shrink-0 items-center gap-3`,children:n})]}),a!==void 0&&(0,S.jsx)(`div`,{className:MZ({isFlush:i}),children:a}),r!==void 0&&(0,S.jsx)(`div`,{className:`flex flex-wrap items-center gap-2 border-t border-border px-6 py-3`,children:r})]})}var PZ=`group inline-flex cursor-default items-center gap-2 text-base text-foreground data-disabled:text-foreground-muted`,FZ=`flex size-4 shrink-0 items-center justify-center rounded-sm border border-input-border bg-input text-primary-foreground transition-colors motion-fast group-data-hovered:border-border-strong group-data-selected:border-primary group-data-selected:bg-primary group-data-indeterminate:border-primary group-data-indeterminate:bg-primary group-data-focus-visible:ring-2 group-data-focus-visible:ring-ring group-data-focus-visible:ring-offset-2 group-data-focus-visible:ring-offset-background group-data-disabled:opacity-50`;function IZ({label:e,isSelected:t,defaultSelected:n,onChange:r,isIndeterminate:i=!1,isDisabled:a=!1,name:o,value:s}){return(0,S.jsx)(wj,{className:PZ,isIndeterminate:i,isDisabled:a,...t!==void 0&&{isSelected:t},...n!==void 0&&{defaultSelected:n},...r&&{onChange:r},...o!==void 0&&{name:o},...s!==void 0&&{value:s},children:t=>(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(`span`,{className:FZ,children:t.isIndeterminate?(0,S.jsx)(See,{"aria-hidden":!0,size:12}):t.isSelected&&(0,S.jsx)(Av,{"aria-hidden":!0,size:12})}),e]})})}var LZ=`text-sm font-medium text-foreground`,RZ=`sr-only`,zZ=`text-destructive`,BZ=`text-sm text-foreground-muted`,VZ=`motion-rise text-sm text-destructive`,HZ=`w-full rounded-md border border-input-border bg-input px-3 text-base text-foreground transition-colors motion-fast outline-none data-hovered:border-border-strong data-focused:border-input-focus data-focused:ring-1 data-focused:ring-input-focus data-focus-visible:border-input-focus data-focus-visible:ring-1 data-focus-visible:ring-input-focus data-invalid:border-destructive data-invalid:data-focused:ring-destructive data-disabled:bg-background-secondary data-disabled:text-foreground-muted`,UZ=`${HZ} h-10`,WZ=`layer-overlay motion-float overflow-auto rounded-md border border-border bg-background-elevated p-1 shadow-lg outline-none`,GZ=`flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-base outline-none data-focused:bg-secondary data-hovered:bg-secondary data-disabled:text-foreground-subtle`,KZ=V(`flex flex-col gap-1.5`,{variants:{width:{full:`w-full`,md:`w-80`,sm:`w-48`}},defaultVariants:{width:`full`}}),qZ=`flex items-center gap-2`,JZ=`flex size-10 shrink-0 cursor-default items-center justify-center rounded-md border border-input-border bg-input p-1 outline-none transition-colors motion-fast data-hovered:border-border-strong data-focus-visible:ring-2 data-focus-visible:ring-ring data-disabled:opacity-50`,YZ=`size-full rounded-sm`,XZ=`${UZ} min-w-0 flex-1 font-mono uppercase`,ZZ=`${WZ} p-3`,QZ=`flex w-56 flex-col gap-3 outline-none`,$Z=`aspect-square w-full rounded-md`,eQ=`size-5 rounded-full border-2 border-background shadow-md data-focus-visible:size-6 data-dragging:size-6`,tQ=`flex w-full flex-col`,nQ=`h-6 w-full rounded-md`,rQ=`${eQ} top-1/2`,iQ=`size-7 cursor-default rounded-md outline-none data-selected:ring-2 data-selected:ring-ring data-selected:ring-offset-2 data-selected:ring-offset-background-elevated data-focus-visible:ring-2 data-focus-visible:ring-ring`,aQ=`hsb(0, 0%, 50%)`;function oQ(e){if(e===void 0||e===``)return null;try{return KM(e)}catch{return null}}function sQ({label:e,isLabelHidden:t=!1,value:n,onChange:r,pickLabel:i,hueLabel:a,presets:o=[],presetsLabel:s,description:c,errorMessage:l,isRequired:u=!1,isDisabled:d=!1,width:f}){let p=oQ(n),m=p??KM(aQ),h=e=>r(e===null?void 0:e.toString(`hex`).toLowerCase()),g=o.flatMap(e=>oQ(e)===null?[]:[e]);return(0,S.jsxs)(bF,{className:KZ({width:f}),value:p,onChange:h,isRequired:u,isDisabled:d,isInvalid:l!==void 0,children:[(0,S.jsxs)(xD,{className:t?RZ:LZ,children:[e,u&&(0,S.jsx)(`span`,{"aria-hidden":!0,className:`text-destructive`,children:` *`})]}),(0,S.jsxs)(`div`,{className:qZ,children:[(0,S.jsxs)(OV,{children:[(0,S.jsx)(eO,{"aria-label":i,isDisabled:d,className:JZ,children:(0,S.jsx)(qF,{color:m,className:YZ})}),(0,S.jsx)(gB,{placement:`bottom start`,className:ZZ,children:(0,S.jsxs)(kV,{"aria-label":i,className:QZ,children:[(0,S.jsx)(TN,{value:m,onChange:h,colorSpace:`hsb`,xChannel:`saturation`,yChannel:`brightness`,className:$Z,children:(0,S.jsx)(Dj,{className:eQ})}),(0,S.jsxs)(UF,{value:m,onChange:h,colorSpace:`hsb`,channel:`hue`,className:tQ,children:[(0,S.jsx)(xD,{className:RZ,children:a}),(0,S.jsx)(RF,{className:nQ,children:(0,S.jsx)(Dj,{className:rQ})})]}),g.length>0&&(0,S.jsx)(uR,{"aria-label":s??i,...p!==null&&{value:p},onChange:h,className:`grid grid-cols-6 gap-2`,children:g.map(e=>(0,S.jsx)(dR,{color:e,className:iQ,children:(0,S.jsx)(qF,{className:`size-full rounded-md`})},e))})]})})]}),(0,S.jsx)(AN,{className:XZ})]}),c!==void 0&&(0,S.jsx)(oO,{slot:`description`,className:`text-sm text-foreground-muted`,children:c}),(0,S.jsx)(GA,{className:VZ,children:l})]})}var cQ=V(`flex flex-col gap-1.5`,{variants:{width:{full:`w-full`,md:`w-80`,sm:`w-48`}},defaultVariants:{width:`sm`}}),lQ=`${UZ} flex items-center tabular-nums data-focus-within:border-input-focus data-focus-within:ring-1 data-focus-within:ring-input-focus`,uQ=`rounded-sm px-0.5 outline-none data-placeholder:text-foreground-subtle data-focused:bg-primary data-focused:text-primary-foreground`;function dQ(e){if(e===null)return null;try{return ik(e)}catch{return null}}function fQ({label:e,isLabelHidden:t=!1,description:n,errorMessage:r,value:i,defaultValue:a,onChange:o,name:s,isRequired:c=!1,isDisabled:l=!1,isReadOnly:u=!1,width:d}){let f=a===void 0?null:dQ(a);return(0,S.jsxs)(Rte,{className:cQ({width:d}),isRequired:c,isDisabled:l,isReadOnly:u,isInvalid:r!==void 0,...i!==void 0&&{value:dQ(i)},...f&&{defaultValue:f},...o&&{onChange:e=>o(e?e.toString():null)},...s!==void 0&&{name:s},children:[(0,S.jsxs)(xD,{className:t?RZ:LZ,children:[e,c&&(0,S.jsx)(`span`,{"aria-hidden":!0,className:`text-destructive`,children:` *`})]}),(0,S.jsx)(zte,{className:lQ,children:e=>(0,S.jsx)(Vte,{segment:e,className:uQ})}),n!==void 0&&(0,S.jsx)(oO,{slot:`description`,className:`text-sm text-foreground-muted`,children:n}),(0,S.jsx)(GA,{className:VZ,children:r})]})}var pQ=`layer-toast motion-float rounded-md bg-foreground px-2 py-1 text-xs font-medium text-background shadow-md`;function mQ({content:e,children:t,placement:n=`top`}){return(0,S.jsxs)(SZ,{delay:500,children:[t,(0,S.jsx)(CZ,{className:pQ,placement:n,offset:6,children:e})]})}var hQ=V([`inline-flex shrink-0 cursor-default items-center justify-center rounded-md`,`motion-press`,`outline-none data-focus-visible:ring-2 data-focus-visible:ring-ring data-focus-visible:ring-offset-2 data-focus-visible:ring-offset-background`,`data-disabled:opacity-50`],{variants:{variant:{ghost:`text-foreground-secondary data-hovered:bg-secondary data-hovered:text-foreground data-pressed:bg-secondary-hover`,secondary:`border border-border bg-secondary text-secondary-foreground data-hovered:border-border-strong data-hovered:bg-secondary-hover data-pressed:bg-secondary-hover`},size:{sm:`size-8`,md:`size-10`}},defaultVariants:{variant:`ghost`,size:`md`}}),gQ={sm:16,md:18};function _Q({label:e,icon:t,onPress:n,isDisabled:r=!1,size:i,variant:a}){return(0,S.jsx)(mQ,{content:e,children:(0,S.jsx)(eO,{className:hQ({size:i,variant:a}),"aria-label":e,isDisabled:r,...n&&{onPress:n},children:(0,S.jsx)(t,{"aria-hidden":!0,size:gQ[i??`md`]})})})}var vQ=V(`fixed inset-0 layer-overlay flex bg-scrim motion-scrim`,{variants:{placement:{center:`items-center justify-center p-4`,side:`justify-end`}},defaultVariants:{placement:`center`}}),yQ=V(`flex w-full flex-col overflow-hidden border-border bg-background-elevated shadow-xl outline-none`,{variants:{placement:{center:`max-h-full rounded-lg border motion-pop`,side:`h-full border-l motion-sheet`},size:{sm:`max-w-sm`,md:`max-w-lg`,lg:`max-w-2xl`}},defaultVariants:{placement:`center`,size:`md`}}),bQ=V(`flex min-h-0 flex-col outline-none`,{variants:{placement:{center:``,side:`h-full`}},defaultVariants:{placement:`center`}}),xQ=`flex items-start justify-between gap-4 px-6 pt-5 pb-2`,SQ=`pt-1 text-lg font-semibold tracking-tight text-foreground`,CQ=`min-h-0 flex-1 overflow-auto px-6 py-2 text-base text-foreground-secondary`;function wQ({isOpen:e,onOpenChange:t,onClosed:n,title:r,children:i,footer:a,closeLabel:o,role:s=`dialog`,size:c,placement:l}){let u=(0,x.useRef)({isOpen:e,onClosed:n});(0,x.useEffect)(()=>{u.current={isOpen:e,onClosed:n}});let d=(0,x.useCallback)(()=>()=>{u.current.isOpen||u.current.onClosed?.()},[]);return(0,S.jsx)(gK,{ref:d,className:vQ({placement:l}),isOpen:e,onOpenChange:t,isDismissable:s===`dialog`,children:(0,S.jsx)(mK,{className:yQ({size:c,placement:l}),children:(0,S.jsx)(kV,{className:bQ({placement:l}),role:s,children:({close:e})=>(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)(`div`,{className:xQ,children:[(0,S.jsx)(iO,{slot:`title`,className:SQ,children:r}),o!==void 0&&(0,S.jsx)(_Q,{label:o,icon:Gx,size:`sm`,onPress:e})]}),(0,S.jsx)(`div`,{className:CQ,children:i}),a!==void 0&&(0,S.jsx)(`div`,{className:`flex items-center justify-end gap-2 px-6 pt-4 pb-5`,children:a})]})})})})}var TQ=V(`flex min-w-0 flex-col gap-4`,{variants:{frame:{box:`rounded-md border border-border p-4`,none:``}},defaultVariants:{frame:`box`}}),EQ=V(``,{variants:{hidden:{false:`${LZ} px-1`,true:`sr-only`}},defaultVariants:{hidden:!1}}),DQ=BZ;function OQ({legend:e,description:t,isLegendHidden:n=!1,children:r}){return(0,S.jsxs)(`fieldset`,{className:TQ({frame:n?`none`:`box`}),children:[(0,S.jsx)(`legend`,{className:EQ({hidden:n}),children:e}),t!==void 0&&(0,S.jsx)(`p`,{className:DQ,children:t}),r]})}var kQ={image:[`image/jpeg`,`image/png`,`image/webp`],csv:[`text/csv`,`.csv`]};function AQ({children:e,icon:t,accept:n,onSelect:r,isPending:i=!1,variant:a=`secondary`,size:o=`md`,collapses:s=!1}){return(0,S.jsx)(WW,{acceptedFileTypes:[...kQ[n]],onSelect:e=>{let t=e?.[0];t&&r(t)},children:(0,S.jsx)(q,{variant:a,size:o,isPending:i,collapses:s,...t&&{icon:t},children:e})})}var jQ=V(`flex flex-col`,{variants:{gap:J_},defaultVariants:{gap:4}});function MQ({onSubmit:e,label:t,children:n,gap:r}){return(0,S.jsx)(aj,{className:jQ({gap:r}),validationBehavior:`aria`,...t!==void 0&&{"aria-label":t},onSubmit:t=>{t.preventDefault(),e()},children:n})}var NQ=V(`grid`,{variants:{gap:J_,columns:{1:`grid-cols-1`,2:`grid-cols-1 md:grid-cols-2`,3:`grid-cols-1 md:grid-cols-3`,4:`grid-cols-2 md:grid-cols-4`}},defaultVariants:{gap:4,columns:2}});function PQ({as:e=`div`,children:t,...n}){return(0,S.jsx)(e,{className:NQ(n),children:t})}var FQ=V(`text-foreground tracking-tight`,{variants:{size:{sm:`text-base font-semibold`,md:`text-lg font-semibold`,lg:`text-xl font-semibold`,xl:`text-2xl font-semibold`,display:`font-display text-3xl font-bold`},truncate:{true:`truncate`,false:``}}}),IQ={1:`display`,2:`lg`,3:`md`,4:`sm`},LQ={1:`h1`,2:`h2`,3:`h3`,4:`h4`};function RQ({level:e,size:t,truncate:n,children:r}){let i=LQ[e];return(0,S.jsx)(i,{className:FQ({size:t??IQ[e],truncate:n}),children:r})}var zQ=V(`flex flex-row`,{variants:{gap:J_,align:{start:`items-start`,center:`items-center`,end:`items-end`,baseline:`items-baseline`,stretch:`items-stretch`},justify:{start:`justify-start`,center:`justify-center`,end:`justify-end`,between:`justify-between`},wrap:{true:`flex-wrap`}},defaultVariants:{gap:2,align:`center`,justify:`start`}});function BQ({as:e=`div`,children:t,...n}){return(0,S.jsx)(e,{className:zQ(n),children:t})}var VQ=V([`rounded-sm underline underline-offset-2 transition-colors motion-fast`,`outline-none data-focus-visible:ring-2 data-focus-visible:ring-ring data-focus-visible:ring-offset-2 data-focus-visible:ring-offset-background`,`data-disabled:no-underline data-disabled:opacity-50`],{variants:{tone:{default:`text-foreground decoration-border-strong data-hovered:decoration-current`,muted:`text-foreground-secondary decoration-border data-hovered:text-foreground data-hovered:decoration-current`}},defaultVariants:{tone:`default`}});function HQ({href:e,children:t,opensInNewTab:n=!1,isDisabled:r=!1,tone:i}){return(0,S.jsx)(yD,{className:VQ({tone:i}),href:e,isDisabled:r,...n&&{target:`_blank`,rel:`noopener noreferrer`},children:t})}var UQ=V(`shrink-0`,{variants:{size:{sm:`h-5 w-5`,md:`h-6 w-6`,lg:`h-8 w-8`}},defaultVariants:{size:`md`}}),WQ=`fill-brand-fill`,GQ=V(``,{variants:{tone:{default:`fill-foreground`,rail:`fill-rail-foreground`}},defaultVariants:{tone:`default`}}),KQ=`0 0 90 101`,qQ=`M35.1288 23.8398L45.1667 49.4151L56.2482 23.8398H87.1082C86.5647 23.3764 85.9776 22.9637 85.3616 22.5944L48.6165 0.704798C46.377 -0.0699896 43.4273 -0.439281 41.2675 0.842377L3.36286 23.3692C3.13819 23.5067 2.92801 23.666 2.72508 23.8326H35.1288V23.8398Z`,JQ=`M0.144951 28.8578C0.079723 29.2851 0.0434853 29.7123 0.0434853 30.1323L0 72.036C0 76.1778 1.95684 78.3936 5.26172 80.3631L39.4919 100.703L0.144951 28.8578Z`,YQ=`M89.9203 28.7058L50.0588 101L86.6661 79.1539C88.7027 77.9374 90 75.0265 90 72.6442L89.9783 29.6037C89.9783 29.2923 89.9493 28.9954 89.913 28.6985L89.9203 28.7058Z`;function XQ({label:e,size:t,tone:n}){return(0,S.jsxs)(`svg`,{role:`img`,"aria-label":e,viewBox:KQ,className:UQ({size:t}),children:[(0,S.jsx)(`path`,{className:WQ,d:qQ}),(0,S.jsx)(`path`,{className:GQ({tone:n}),d:JQ}),(0,S.jsx)(`path`,{className:GQ({tone:n}),d:YQ})]})}var ZQ=`flex min-h-dvh w-full flex-col items-center justify-center gap-5 bg-background bg-grid-clearing`,QQ=`h-auto w-16 overflow-visible`,$Q=`fill-border`,e$={top:`motion-mark-top`,left:`motion-mark-left`,right:`motion-mark-right`},t$={top:`fill-brand-fill motion-mark-colour-top`,left:`fill-foreground motion-mark-colour-left`,right:`fill-foreground motion-mark-colour-right`},n$=`text-sm font-medium text-foreground-subtle`,r$=[{id:`top`,d:qQ},{id:`left`,d:JQ},{id:`right`,d:YQ}];function i$({label:e}){return(0,S.jsxs)(`div`,{role:`status`,className:ZQ,children:[(0,S.jsx)(`svg`,{viewBox:KQ,"aria-hidden":`true`,className:QQ,children:r$.map(e=>(0,S.jsxs)(`g`,{className:e$[e.id],children:[(0,S.jsx)(`path`,{className:$Q,d:e.d}),(0,S.jsx)(`path`,{className:t$[e.id],d:e.d})]},e.id))}),(0,S.jsx)(`span`,{className:n$,children:e})]})}var a$=`${WZ} min-w-40`,o$=`outline-none`,s$=V(GZ,{variants:{tone:{default:`text-foreground`,danger:`text-destructive`}},defaultVariants:{tone:`default`}});function c$({trigger:e,actions:t,onAction:n,placement:r=`bottom end`}){return(0,S.jsxs)(gV,{children:[e,(0,S.jsx)(gB,{className:a$,placement:r,children:(0,S.jsx)(vV,{className:o$,onAction:e=>n(String(e)),disabledKeys:t.filter(e=>e.isDisabled).map(e=>e.id),children:t.map(({id:e,label:t,icon:n,tone:r})=>(0,S.jsxs)(wV,{id:e,className:s$({tone:r}),textValue:t,children:[n&&(0,S.jsx)(n,{"aria-hidden":!0,size:16}),t]},e))})})]})}var l$=V(`flex flex-col gap-1.5`,{variants:{width:{full:`w-full`,md:`w-80`,sm:`w-48`}},defaultVariants:{width:`sm`}}),u$=`${UZ} tabular-nums placeholder:text-foreground-subtle`;function d$({label:e,isLabelHidden:t=!1,description:n,errorMessage:r,value:i,defaultValue:a,onChange:o,minValue:s,maxValue:c,isInteger:l=!1,name:u,isRequired:d=!1,isDisabled:f=!1,isReadOnly:p=!1,width:m}){return(0,S.jsxs)(SK,{className:l$({width:m}),isRequired:d,isDisabled:f,isReadOnly:p,isInvalid:r!==void 0,formatOptions:l?{maximumFractionDigits:0}:{maximumFractionDigits:6},...i!==void 0&&{value:i??NaN},...a!==void 0&&{defaultValue:a},...o&&{onChange:e=>o(Number.isNaN(e)?null:e)},...s!==void 0&&{minValue:s},...c!==void 0&&{maxValue:c},...u!==void 0&&{name:u},children:[(0,S.jsxs)(xD,{className:t?RZ:LZ,children:[e,d&&(0,S.jsx)(`span`,{"aria-hidden":!0,className:`text-destructive`,children:` *`})]}),(0,S.jsx)(AN,{className:u$}),n!==void 0&&(0,S.jsx)(oO,{slot:`description`,className:`text-sm text-foreground-muted`,children:n}),(0,S.jsx)(GA,{className:VZ,children:r})]})}var f$=`group relative flex w-full items-center`,p$=`pointer-events-none absolute left-3 text-foreground-muted`,m$=`h-10 w-full rounded-lg border border-border-strong bg-background pr-9 pl-9 text-base text-foreground placeholder:text-foreground-subtle outline-none transition-colors motion-fast data-hovered:border-foreground-subtle data-focused:border-ring data-focused:ring-2 data-focused:ring-ring`,h$=`absolute right-2 flex h-6 w-6 items-center justify-center rounded-sm text-foreground-muted outline-none data-hovered:text-foreground data-focus-visible:ring-2 data-focus-visible:ring-ring group-data-empty:hidden`;function g$({label:e,placeholder:t,value:n,onChange:r,clearLabel:i}){return(0,S.jsxs)(lq,{"aria-label":e,className:f$,value:n,onChange:r,children:[(0,S.jsx)(lx,{"aria-hidden":!0,size:16,className:p$}),(0,S.jsx)(AN,{className:m$,...t!==void 0&&{placeholder:t}}),(0,S.jsx)(eO,{"aria-label":i,className:h$,children:(0,S.jsx)(Gx,{"aria-hidden":!0,size:16})})]})}var _$=`inline-flex flex-wrap gap-1`,v$=V([`inline-flex h-8 cursor-default items-center gap-2 rounded-md text-sm font-medium text-foreground-secondary`,`transition-colors motion-fast`,`outline-none data-hovered:text-foreground data-selected:bg-background-tertiary data-selected:text-foreground`,`data-focus-visible:ring-2 data-focus-visible:ring-ring data-disabled:text-foreground-subtle`],{variants:{isIconOnly:{true:`w-8 justify-center`,false:`px-3`}},defaultVariants:{isIconOnly:!1}}),y$=`sr-only`,b$=`flex min-w-0 flex-col items-start gap-2`,x$=LZ,S$=BZ,C$=VZ;function w$({label:e,options:t,selected:n,onChange:r,isLabelShown:i=!1,description:a,errorMessage:o,areLabelsHidden:s=!1}){let c=(0,S.jsx)(lZ,{"aria-label":e,className:_$,selectionMode:`single`,disallowEmptySelection:!0,selectedKeys:[n],onSelectionChange:e=>{let[t]=e;t!==void 0&&String(t)!==n&&r(String(t))},children:t.map(e=>{let t=e.icon,n=s&&t!==void 0,r=(0,S.jsxs)(dZ,{id:e.id,className:v$({isIconOnly:n}),isDisabled:e.isDisabled??!1,children:[e.swatch!==void 0&&(0,S.jsx)(`svg`,{"aria-hidden":`true`,viewBox:`0 0 16 16`,className:`h-4 w-4 shrink-0 stroke-border-strong`,children:(0,S.jsx)(`circle`,{cx:`8`,cy:`8`,r:`7`,fill:e.swatch})}),t&&(0,S.jsx)(t,{"aria-hidden":!0,size:16}),n?(0,S.jsx)(`span`,{className:y$,children:e.label}):e.label]},e.id);return n?(0,S.jsx)(mQ,{content:e.label,placement:`bottom`,children:r},e.id):r})});return!i&&a===void 0&&o===void 0?c:(0,S.jsxs)(`div`,{className:b$,children:[i&&(0,S.jsx)(`span`,{"aria-hidden":`true`,className:x$,children:e}),c,o===void 0?a!==void 0&&(0,S.jsx)(`p`,{className:S$,children:a}):(0,S.jsx)(`p`,{className:C$,children:o})]})}var T$=V(`flex flex-col gap-1.5`,{variants:{width:{full:`w-full`,md:`w-80`,sm:`w-48`}},defaultVariants:{width:`full`}}),E$=`${UZ} flex cursor-default items-center justify-between gap-2 text-left`,D$=`min-w-0 flex-1 truncate data-placeholder:text-foreground-subtle`,O$=`shrink-0 text-foreground-muted`,k$=`${WZ} max-h-72 min-w-(--trigger-width)`,A$=`outline-none`,j$=`${GZ} justify-between text-foreground`;function M$({label:e,isLabelHidden:t=!1,options:n,value:r,defaultValue:i,onChange:a,placeholder:o,description:s,errorMessage:c,isRequired:l=!1,isDisabled:u=!1,name:d,width:f}){return(0,S.jsxs)(yq,{className:T$({width:f}),isRequired:l,isDisabled:u,isInvalid:c!==void 0,...r!==void 0&&{value:r},...i!==void 0&&{defaultValue:i},...a&&{onChange:e=>e!==null&&a(String(e))},...o!==void 0&&{placeholder:o},...d!==void 0&&{name:d},children:[(0,S.jsxs)(xD,{className:t?RZ:LZ,children:[e,l&&(0,S.jsx)(`span`,{"aria-hidden":!0,className:`text-destructive`,children:` *`})]}),(0,S.jsxs)(eO,{className:E$,children:[(0,S.jsx)(Cq,{className:D$}),(0,S.jsx)(Mv,{"aria-hidden":!0,size:16,className:O$})]}),s!==void 0&&(0,S.jsx)(oO,{slot:`description`,className:`text-sm text-foreground-muted`,children:s}),(0,S.jsx)(GA,{className:VZ,children:c}),(0,S.jsx)(gB,{className:k$,children:(0,S.jsx)(ZL,{className:A$,children:n.map(e=>(0,S.jsx)(nR,{id:e.id,className:j$,textValue:e.label,children:t=>(0,S.jsxs)(S.Fragment,{children:[e.label,t.isSelected&&(0,S.jsx)(Av,{"aria-hidden":!0,size:16,className:`shrink-0 text-foreground-secondary`})]})},e.id))})})]})}var N$=V(`motion-skeleton block shrink-0 bg-background-tertiary`,{variants:{shape:{text:`h-4 rounded-sm`,title:`h-8 rounded-md`,control:`h-10 rounded-md`,block:`h-32 rounded-lg`,square:`size-10 rounded-md`},width:{full:`w-full`,"3/4":`w-3/4`,"1/2":`w-1/2`,"1/3":`w-1/3`,"1/4":`w-1/4`,sm:`w-24`,xs:`w-16`}},compoundVariants:[{shape:`square`,className:`w-10`}],defaultVariants:{shape:`text`,width:`full`}}),P$=`contents`,F$=`sr-only`;function I$({shape:e,width:t}){return(0,S.jsx)(`span`,{"aria-hidden":!0,className:N$({shape:e,width:e===`square`?null:t})})}function L$({label:e,children:t}){return(0,S.jsxs)(`div`,{role:`status`,className:P$,children:[(0,S.jsx)(`span`,{className:F$,children:e}),t]})}var R$=V(`inline-flex items-center gap-2 text-foreground-secondary`,{variants:{size:{sm:`text-sm`,md:`text-base`}},defaultVariants:{size:`md`}}),z$=`animate-spin`,B$=`sr-only`,V$={sm:16,md:20};function H$({label:e,showLabel:t=!1,size:n}){return(0,S.jsxs)(`span`,{role:`status`,className:R$({size:n}),children:[(0,S.jsx)(ob,{"aria-hidden":!0,size:V$[n??`md`],className:z$}),(0,S.jsx)(`span`,{className:t?void 0:B$,children:e})]})}var U$=V(`min-w-0 rounded-md transition-shadow motion-base`,{variants:{lit:{true:`ring-2 ring-ring ring-offset-4 ring-offset-card`,false:`ring-0 ring-transparent`}},defaultVariants:{lit:!1}}),W$=1600;function G$({at:e,children:t}){let n=(0,x.useRef)(null),[r,i]=(0,x.useState)(!1);return(0,x.useEffect)(()=>{if(e===void 0){i(!1);return}typeof n.current?.scrollIntoView==`function`&&n.current.scrollIntoView({block:`nearest`}),i(!0);let t=setTimeout(()=>i(!1),W$);return()=>clearTimeout(t)},[e]),(0,S.jsx)(`div`,{ref:n,className:U$({lit:r}),...r&&{"data-lit":``},children:t})}var K$=V(`flex flex-col`,{variants:{gap:J_,align:{stretch:`items-stretch`,start:`items-start`,center:`items-center`,end:`items-end`},fill:{true:`min-h-full`}},defaultVariants:{gap:4,align:`stretch`}});function J({as:e=`div`,children:t,...n}){return(0,S.jsx)(e,{className:K$(n),children:t})}var q$=`flex flex-col gap-1 rounded-xl border border-border bg-card px-5 py-4`,J$=`text-sm font-medium text-foreground-muted`,Y$=`font-display text-3xl font-bold text-foreground`;function X$({label:e,value:t,detail:n}){return(0,S.jsxs)(`div`,{role:`group`,"aria-label":e,className:q$,children:[(0,S.jsx)(`span`,{"aria-hidden":!0,className:J$,children:e}),(0,S.jsx)(`span`,{className:Y$,children:t}),n!==void 0&&(0,S.jsx)(`span`,{className:`text-sm text-foreground-muted`,children:n})]})}var Z$=`group inline-flex cursor-default items-center gap-2 text-base text-foreground data-disabled:text-foreground-muted`,Q$=`flex h-5 w-9 shrink-0 items-center rounded-full border border-transparent bg-border-strong p-0.5 transition-colors motion-base group-data-selected:bg-primary group-data-focus-visible:ring-2 group-data-focus-visible:ring-ring group-data-focus-visible:ring-offset-2 group-data-focus-visible:ring-offset-background group-data-disabled:opacity-50`,$$=`size-3.5 rounded-full bg-background shadow-sm transition-transform motion-base group-data-selected:translate-x-4`,e1=`sr-only`;function t1({label:e,isLabelHidden:t=!1,isSelected:n,defaultSelected:r,onChange:i,isDisabled:a=!1,name:o}){return(0,S.jsxs)(Dq,{className:Z$,isDisabled:a,...n!==void 0&&{isSelected:n},...r!==void 0&&{defaultSelected:r},...i&&{onChange:i},...o!==void 0&&{name:o},children:[(0,S.jsx)(`span`,{className:Q$,children:(0,S.jsx)(`span`,{className:$$})}),t?(0,S.jsx)(`span`,{className:e1,children:e}):e]})}var n1=V(`overflow-x-auto`,{variants:{frame:{card:`rounded-xl border border-border bg-card`,none:``}},defaultVariants:{frame:`card`}}),r1=`w-full border-separate border-spacing-0 text-left text-base outline-none`,i1={start:`text-left`,end:`text-right`},a1={true:`hidden md:table-cell`,false:``},o1=V([`border-b border-border px-4 py-2.5 text-xs font-semibold whitespace-nowrap text-foreground-muted`,`outline-none data-focus-visible:ring-2 data-focus-visible:ring-ring data-focus-visible:ring-inset`,`data-allows-sorting:cursor-default data-hovered:text-foreground`],{variants:{align:i1,isSecondary:a1},defaultVariants:{align:`start`,isSecondary:!1}}),s1=`inline-flex items-center gap-1`,c1=`group outline-none transition-colors motion-fast data-hovered:bg-background-secondary data-pressed:bg-background-tertiary data-focus-visible:ring-2 data-focus-visible:ring-ring data-focus-visible:ring-inset data-href:cursor-pointer data-action:cursor-pointer`,l1=V(`border-b border-border px-4 py-3 align-middle text-foreground outline-none group-last:border-b-0 data-focus-visible:ring-2 data-focus-visible:ring-ring data-focus-visible:ring-inset`,{variants:{align:i1,isSecondary:a1},defaultVariants:{align:`start`,isSecondary:!1}}),u1=`px-4 py-12 text-center text-foreground-muted`;function d1({label:e,columns:t,rows:n,onRowAction:r,sort:i,onSortChange:a,empty:o,frame:s=`card`}){return(0,S.jsx)(`div`,{className:n1({frame:s}),children:(0,S.jsxs)(nY,{"aria-label":e,className:r1,...i&&{sortDescriptor:i},...a&&{onSortChange:e=>a({column:String(e.column),direction:e.direction})},...r&&{onRowAction:e=>r(String(e))},children:[(0,S.jsx)(lY,{children:t.map((e,t)=>(0,S.jsx)(mY,{id:e.id,className:o1({align:e.align,isSecondary:t>0&&e.isSecondary===!0}),isRowHeader:t===0,allowsSorting:e.isSortable??!1,textValue:e.label,children:t=>(0,S.jsxs)(`span`,{className:s1,children:[e.label,t.sortDirection===`ascending`&&(0,S.jsx)(yv,{"aria-hidden":!0,size:14}),t.sortDirection===`descending`&&(0,S.jsx)(pv,{"aria-hidden":!0,size:14})]})},e.id))}),(0,S.jsx)(vY,{renderEmptyState:()=>(0,S.jsx)(`div`,{className:u1,children:o}),children:n.map(e=>(0,S.jsx)(SY,{id:e.id,className:c1,children:t.map((t,n)=>(0,S.jsx)(TY,{className:l1({align:t.align,isSecondary:n>0&&t.isSecondary===!0}),children:e.cells[t.id]},t.id))},e.id))})]})})}var f1=`flex flex-col gap-4`,p1=`flex gap-1 border-b border-border`,m1=`-mb-px cursor-default border-b-2 border-transparent px-3 py-2 text-base font-medium text-foreground-secondary transition-colors motion-fast outline-none data-hovered:text-foreground data-selected:border-primary data-selected:text-foreground data-focus-visible:rounded-sm data-focus-visible:ring-2 data-focus-visible:ring-ring data-disabled:text-foreground-subtle`,h1=`outline-none data-focus-visible:rounded-sm data-focus-visible:ring-2 data-focus-visible:ring-ring`;function g1({label:e,tabs:t,selected:n,defaultSelected:r,onChange:i}){return(0,S.jsxs)(UY,{className:f1,...n!==void 0&&{selectedKey:n},...r!==void 0&&{defaultSelectedKey:r},...i&&{onSelectionChange:e=>i(String(e))},children:[(0,S.jsx)(GY,{"aria-label":e,className:p1,children:t.map(e=>(0,S.jsx)(qY,{id:e.id,className:m1,isDisabled:e.isDisabled??!1,children:e.label},e.id))}),t.map(e=>(0,S.jsx)(JY,{id:e.id,className:h1,children:e.content},e.id))]})}var _1=V(`inline-flex h-6 items-center gap-1 rounded-md px-2 text-xs font-medium whitespace-nowrap`,{variants:{tone:{neutral:`bg-secondary text-secondary-foreground`,success:`bg-success-light text-success-foreground`,warning:`bg-warning-light text-warning-foreground`,danger:`bg-error-light text-error-foreground`,info:`bg-info-light text-info-foreground`}},defaultVariants:{tone:`neutral`}});function v1({icon:e,children:t,...n}){return(0,S.jsxs)(`span`,{className:_1(n),children:[e&&(0,S.jsx)(e,{"aria-hidden":!0,size:12}),t]})}var y1=V(``,{variants:{size:{xs:`text-xs`,sm:`text-sm`,base:`text-base`,lg:`text-lg`},tone:{default:`text-foreground`,secondary:`text-foreground-secondary`,muted:`text-foreground-muted`,danger:`text-destructive`,success:`text-success-foreground`},weight:{regular:`font-normal`,medium:`font-medium`,semibold:`font-semibold`},truncate:{true:`truncate`},mono:{true:`font-mono`}},defaultVariants:{size:`base`,tone:`default`,weight:`regular`}});function Y({as:e=`p`,children:t,...n}){return(0,S.jsx)(e,{className:y1(n),children:t})}var b1=V(`flex flex-col gap-1.5`,{variants:{width:{full:`w-full`,md:`w-80`,sm:`w-48`}},defaultVariants:{width:`full`}}),x1=`${UZ} placeholder:text-foreground-subtle`;function S1({label:e,isLabelHidden:t=!1,description:n,errorMessage:r,value:i,defaultValue:a,onChange:o,name:s,type:c=`text`,placeholder:l,autoComplete:u,isRequired:d=!1,isDisabled:f=!1,isReadOnly:p=!1,autoFocus:m=!1,width:h}){return(0,S.jsxs)(eX,{className:b1({width:h}),type:c,isRequired:d,isDisabled:f,isReadOnly:p,isInvalid:r!==void 0,autoFocus:m,...i!==void 0&&{value:i},...a!==void 0&&{defaultValue:a},...o&&{onChange:o},...s!==void 0&&{name:s},...u!==void 0&&{autoComplete:u},children:[(0,S.jsxs)(xD,{className:t?RZ:LZ,children:[e,d&&(0,S.jsx)(`span`,{"aria-hidden":!0,className:`text-destructive`,children:` *`})]}),(0,S.jsx)(AN,{className:x1,...l!==void 0&&{placeholder:l}}),n!==void 0&&(0,S.jsx)(oO,{slot:`description`,className:`text-sm text-foreground-muted`,children:n}),(0,S.jsx)(GA,{className:VZ,children:r})]})}var C1=V(`flex flex-col gap-1.5`,{variants:{width:{full:`w-full`,md:`w-80`}},defaultVariants:{width:`full`}}),w1=`${HZ} min-h-20 resize-y py-2 placeholder:text-foreground-subtle`;function T1({label:e,isLabelHidden:t=!1,description:n,errorMessage:r,value:i,defaultValue:a,onChange:o,name:s,placeholder:c,rows:l=4,isRequired:u=!1,isDisabled:d=!1,isReadOnly:f=!1,width:p}){return(0,S.jsxs)(eX,{className:C1({width:p}),isRequired:u,isDisabled:d,isReadOnly:f,isInvalid:r!==void 0,...i!==void 0&&{value:i},...a!==void 0&&{defaultValue:a},...o&&{onChange:o},...s!==void 0&&{name:s},children:[(0,S.jsxs)(xD,{className:t?RZ:LZ,children:[e,u&&(0,S.jsx)(`span`,{"aria-hidden":!0,className:`text-destructive`,children:` *`})]}),(0,S.jsx)(QY,{className:w1,rows:l,...c!==void 0&&{placeholder:c}}),n!==void 0&&(0,S.jsx)(oO,{slot:`description`,className:`text-sm text-foreground-muted`,children:n}),(0,S.jsx)(GA,{className:VZ,children:r})]})}var E1={size:{sm:`h-8 w-8`,md:`h-10 w-14`,lg:`h-14 w-20`,full:`aspect-video w-full`},shape:{rounded:`rounded-md`,circle:`rounded-full`}},D1={size:`md`,shape:`rounded`},O1=V(`shrink-0 border border-border bg-background-secondary object-cover`,{variants:E1,defaultVariants:D1}),k1=V(`flex shrink-0 items-center justify-center border border-dashed border-border-strong bg-background-secondary`,{variants:E1,defaultVariants:D1}),A1=`size-4 text-foreground-subtle`;function j1({src:e,size:t,shape:n}){return e===void 0?(0,S.jsx)(`span`,{"aria-hidden":`true`,className:k1({size:t,shape:n}),children:(0,S.jsx)(Ey,{className:A1})}):(0,S.jsx)(`img`,{src:e,alt:``,loading:`lazy`,className:O1({size:t,shape:n})})}var M1=`fixed bottom-4 right-4 layer-toast w-full max-w-sm outline-none`,N1=`toast-stack`,P1=`flex items-start gap-3 rounded-lg border border-border bg-background-elevated p-3 shadow-lg outline-none data-focus-visible:ring-2 data-focus-visible:ring-ring`,F1=V(`mt-0.5 shrink-0`,{variants:{tone:{neutral:`text-foreground-secondary`,success:`text-success`,danger:`text-destructive`}},defaultVariants:{tone:`neutral`}}),I1=`flex min-w-0 flex-1 flex-col gap-0.5 pt-0.5`,L1=`text-sm font-medium text-foreground`,R1=6e3,z1={neutral:Py,success:Bv,danger:Hv},B1=new JX({maxVisibleToasts:4});function X(e){let t=B1.add(e,e.tone===`danger`?{}:{timeout:R1});return()=>B1.close(t)}function V1(){B1.clear()}function H1({label:e,closeLabel:t}){return(0,S.jsx)(ZX,{queue:B1,"aria-label":e,className:M1,children:(0,S.jsx)(QX,{className:N1,children:({toast:e})=>{let n=e.content.tone??`neutral`,r=z1[n];return(0,S.jsxs)($X,{toast:e,className:P1,children:[(0,S.jsx)(r,{"aria-hidden":!0,size:18,className:F1({tone:n})}),(0,S.jsxs)(tZ,{className:I1,children:[(0,S.jsx)(oO,{slot:`title`,className:L1,children:e.content.title}),e.content.description!==void 0&&(0,S.jsx)(oO,{slot:`description`,className:`text-sm text-foreground-secondary`,children:e.content.description})]}),(0,S.jsx)(_Q,{label:t,icon:Gx,size:`sm`,onPress:()=>B1.close(e.key)})]})}})})}var U1=`flex w-full flex-col gap-2`,W1=`flex items-baseline justify-between gap-3 text-sm`,G1=`font-medium text-foreground-muted`,K1=`font-semibold text-foreground tabular-nums`,q1=`flex h-2 w-full overflow-hidden rounded-full bg-background-tertiary`,J1=V(`h-full rounded-full bg-brand-fill transition-all motion-slide`,{variants:{step:{0:`w-0`,1:`w-1/20`,2:`w-2/20`,3:`w-3/20`,4:`w-4/20`,5:`w-5/20`,6:`w-6/20`,7:`w-7/20`,8:`w-8/20`,9:`w-9/20`,10:`w-10/20`,11:`w-11/20`,12:`w-12/20`,13:`w-13/20`,14:`w-14/20`,15:`w-15/20`,16:`w-16/20`,17:`w-17/20`,18:`w-18/20`,19:`w-19/20`,20:`w-full`}},defaultVariants:{step:0}});function Y1({label:e,value:t,max:n,valueText:r}){return(0,S.jsx)(sK,{className:U1,value:Math.min(t,n),minValue:0,maxValue:n,valueLabel:r,children:({percentage:t,valueText:n})=>(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)(`span`,{className:W1,children:[(0,S.jsx)(xD,{className:G1,children:e}),(0,S.jsx)(`span`,{className:K1,children:n})]}),(0,S.jsx)(`span`,{className:q1,children:(0,S.jsx)(`span`,{className:J1({step:Math.min(20,Math.max(0,Math.round(t/5)))})})})]})})}var X1=`flex w-full flex-col gap-3`,Z1=`flex h-40 w-full items-end gap-1.5`,Q1=`flex h-full min-w-0 flex-1 flex-col items-center justify-end gap-1.5`,$1=`flex w-full flex-1 items-end border-b border-border`,e0=V(`w-full rounded-t-sm transition-all motion-slide`,{variants:{step:{0:`h-0`,1:`h-1/20`,2:`h-2/20`,3:`h-3/20`,4:`h-4/20`,5:`h-5/20`,6:`h-6/20`,7:`h-7/20`,8:`h-8/20`,9:`h-9/20`,10:`h-10/20`,11:`h-11/20`,12:`h-12/20`,13:`h-13/20`,14:`h-14/20`,15:`h-15/20`,16:`h-16/20`,17:`h-17/20`,18:`h-18/20`,19:`h-19/20`,20:`h-full`},isHighlighted:{true:`bg-brand-fill`,false:`bg-foreground-subtle`}},defaultVariants:{step:0,isHighlighted:!1}}),t0=`w-full truncate text-center text-xs text-foreground-muted`,n0=`flex w-full flex-col gap-3`,r0=`grid grid-cols-3 items-center gap-3`,i0=`truncate text-sm text-foreground-secondary`,a0=`col-span-2 flex items-center gap-3`,o0=`flex h-2.5 min-w-0 flex-1 rounded-full bg-background-tertiary`,s0=V(`h-full rounded-full transition-all motion-slide`,{variants:{step:{0:`w-0`,1:`w-1/20`,2:`w-2/20`,3:`w-3/20`,4:`w-4/20`,5:`w-5/20`,6:`w-6/20`,7:`w-7/20`,8:`w-8/20`,9:`w-9/20`,10:`w-10/20`,11:`w-11/20`,12:`w-12/20`,13:`w-13/20`,14:`w-14/20`,15:`w-15/20`,16:`w-16/20`,17:`w-17/20`,18:`w-18/20`,19:`w-19/20`,20:`w-full`},isHighlighted:{true:`bg-brand-fill`,false:`bg-foreground-subtle`}},defaultVariants:{step:0,isHighlighted:!1}}),c0=`w-20 shrink-0 text-right text-sm font-semibold text-foreground tabular-nums`,l0=`sr-only`,u0=(e,t)=>t<=0||e<=0?0:Math.min(20,Math.max(1,Math.round(e/t*20)));function d0({label:e,bars:t,layout:n=`columns`,highlightId:r}){let i=(0,x.useId)(),a=Math.max(0,...t.map(e=>e.value));return(0,S.jsxs)(`figure`,{className:X1,"aria-labelledby":i,children:[(0,S.jsx)(`figcaption`,{id:i,className:l0,children:e}),(0,S.jsx)(`ul`,{className:l0,children:t.map(e=>(0,S.jsx)(`li`,{children:`${e.label}: ${e.valueText}`},e.id))}),n===`columns`?(0,S.jsx)(`div`,{"aria-hidden":!0,className:Z1,children:t.map(e=>(0,S.jsxs)(`div`,{className:Q1,children:[(0,S.jsx)(`div`,{className:$1,children:(0,S.jsx)(`div`,{className:e0({step:u0(e.value,a),isHighlighted:e.id===r})})}),(0,S.jsx)(`span`,{className:t0,children:e.label})]},e.id))}):(0,S.jsx)(`div`,{"aria-hidden":!0,className:n0,children:t.map(e=>(0,S.jsxs)(`div`,{className:r0,children:[(0,S.jsx)(`span`,{className:i0,children:e.label}),(0,S.jsxs)(`span`,{className:a0,children:[(0,S.jsx)(`span`,{className:o0,children:(0,S.jsx)(`span`,{className:s0({step:u0(e.value,a),isHighlighted:e.id===r})})}),(0,S.jsx)(`span`,{className:c0,children:e.valueText})]})]},e.id))})]})}var f0=(0,x.createContext)(void 0);function p0(){return(0,x.useContext)(f0)}var m0=(0,x.createContext)(void 0);function h0(){return(0,x.useContext)(m0)}var g0=`flex h-dvh flex-col overflow-hidden bg-background text-foreground md:flex-row md:bg-rail`,_0=`sr-only layer-toast rounded-md bg-primary px-4 py-2 text-base font-medium text-primary-foreground focus:not-sr-only focus:fixed focus:top-2 focus:left-2`,v0=`hidden w-16 shrink-0 flex-col items-center gap-1 bg-rail px-2 py-3 md:flex`,y0=`flex h-11 w-11 shrink-0 items-center justify-center pb-2`,b0=`flex min-h-0 w-full flex-1 flex-col items-center gap-1 overflow-y-auto`,x0=V(`flex w-full flex-col items-center gap-1`,{variants:{place:{start:`border-t border-rail-border pt-2 first:border-t-0 first:pt-0`,end:`mt-auto pt-2`}},defaultVariants:{place:`start`}}),S0=`flex flex-col items-center gap-1`,C0=V([`relative flex h-11 w-11 items-center justify-center rounded-lg transition-colors motion-fast`,`outline-none data-focus-visible:ring-2 data-focus-visible:ring-rail-foreground`],{variants:{isCurrent:{true:`bg-rail-current text-rail-foreground`,false:`text-rail-muted data-hovered:bg-rail-hover data-hovered:text-rail-foreground`}},defaultVariants:{isCurrent:!1}}),w0=`sr-only`,T0=`flex h-11 w-11 shrink-0 items-center justify-center rounded-lg transition-colors motion-fast outline-none data-hovered:bg-rail-hover data-pressed:bg-rail-hover data-focus-visible:ring-2 data-focus-visible:ring-rail-foreground`,E0=V(`dark hidden shrink-0 overflow-hidden text-foreground transition-all motion-slide view-shell-places md:flex`,{variants:{isOpen:{true:`w-56`,false:`w-0`}},defaultVariants:{isOpen:!1}}),D0=V(`flex w-56 shrink-0 flex-col gap-5 overflow-y-auto px-3 py-5 transition-all motion-slide`,{variants:{isOpen:{true:`translate-x-0 opacity-100`,false:`-translate-x-4 opacity-0`}},defaultVariants:{isOpen:!1}}),O0=`flex min-w-0 flex-col gap-0.5 px-2.5`,k0=`truncate text-base font-bold text-foreground`,A0=`flex flex-col gap-0.5`,j0=V([`flex min-h-9 items-center gap-2.5 rounded-lg px-2.5 text-base transition-colors motion-fast`,`outline-none data-focus-visible:ring-2 data-focus-visible:ring-ring`],{variants:{isCurrent:{true:`bg-background-tertiary font-semibold text-foreground`,false:`font-medium text-foreground-muted data-hovered:bg-background-secondary data-hovered:text-foreground`}},defaultVariants:{isCurrent:!1}}),M0=`min-w-0 flex-1 truncate`,N0=`flex min-h-0 min-w-0 flex-1 flex-col view-shell-panel md:my-2 md:mr-2 md:overflow-hidden md:rounded-2xl md:border md:border-border md:bg-card md:shadow-sm`,P0=V(`flex min-h-14 shrink-0 items-center gap-2 border-b border-border bg-card px-3 md:min-h-16 md:gap-3 md:px-6`,{variants:{isHidden:{true:`md:hidden`,false:``}},defaultVariants:{isHidden:!1}}),F0=`flex min-w-0 flex-1 items-center`,I0=V([`flex h-10 min-w-0 shrink-0 items-center gap-2.5 rounded-lg border border-border bg-background px-3 text-base text-foreground-subtle transition-colors motion-fast`,`outline-none data-hovered:border-border-strong data-hovered:text-foreground-muted data-focus-visible:ring-2 data-focus-visible:ring-ring`],{variants:{isScreenLeadingBack:{true:`max-md:hidden`,false:`xl:w-52`}},defaultVariants:{isScreenLeadingBack:!1}}),L0=V(`sr-only min-w-0 flex-1 truncate text-left`,{variants:{isScreenLeadingBack:{true:``,false:`xl:not-sr-only xl:overflow-hidden xl:whitespace-nowrap`}},defaultVariants:{isScreenLeadingBack:!1}}),R0=V(`hidden shrink-0 rounded-sm border border-border px-1.5 font-mono text-xs text-foreground-subtle`,{variants:{isScreenLeadingBack:{true:``,false:`xl:block`}},defaultVariants:{isScreenLeadingBack:!1}}),z0=V([`h-10 w-10 shrink-0 items-center justify-center rounded-md text-foreground transition-colors motion-fast md:hidden`,`outline-none data-hovered:bg-background-tertiary data-pressed:bg-background-tertiary data-focus-visible:ring-2 data-focus-visible:ring-ring`],{variants:{isScreenLeadingBack:{true:`hidden`,false:`flex`}},defaultVariants:{isScreenLeadingBack:!1}}),B0=`fixed inset-0 layer-overlay flex bg-scrim motion-scrim`,V0=`h-full w-72 max-w-full border-r border-border bg-card shadow-xl outline-none motion-sheet-start`,H0=`flex h-full flex-col gap-4 overflow-y-auto px-3 py-5 outline-none`,U0=`flex flex-col gap-4`,W0=`flex w-full items-center gap-2.5 rounded-md px-2 py-1.5 text-left text-foreground-muted transition-colors motion-fast outline-none data-hovered:bg-background-tertiary data-pressed:bg-background-tertiary data-focus-visible:ring-2 data-focus-visible:ring-ring`,G0=`relative min-h-0 min-w-0 flex-1 overflow-auto bg-background outline-none`,K0=`main`,q0=e=>e.split(/\s+/).filter(Boolean).slice(0,2).map(e=>e.charAt(0).toUpperCase()).join(``);function J0({item:e,onPress:t}){let{label:n,href:r,icon:i,isCurrent:a=!1,count:o}=e;return(0,S.jsxs)(yD,{className:j0({isCurrent:a}),href:r,...a&&{"aria-current":`page`},...t&&{onPress:t},children:[i&&(0,S.jsx)(i,{"aria-hidden":!0,size:16}),(0,S.jsx)(`span`,{className:M0,children:n}),o!==void 0&&(0,S.jsx)(`span`,{className:`shrink-0 text-xs font-medium text-foreground-muted tabular-nums`,children:o})]})}function Y0({groups:e,onPress:t}){return e.map(e=>(0,S.jsxs)(`div`,{role:`group`,...e.label!==void 0&&{"aria-label":e.label},children:[e.label!==void 0&&(0,S.jsx)(`div`,{"aria-hidden":!0,className:`px-2.5 pb-1.5 text-xs font-semibold tracking-widest text-foreground-subtle uppercase`,children:e.label}),(0,S.jsx)(`ul`,{className:A0,children:e.items.map(e=>(0,S.jsx)(`li`,{children:(0,S.jsx)(J0,{item:e,onPress:t})},e.id))})]},e.id))}function X0({logoLabel:e,siteName:t,siteDetail:n,navLabel:r,nav:i,menuLabel:a,skipLabel:o,search:s,account:c,isBarHidden:l=!1,children:u}){let[d,f]=(0,x.useState)(null),[p,m]=(0,x.useState)(0),h=(0,x.useCallback)(e=>m(t=>Math.max(0,t+(e?1:-1))),[]),g=p>0,_=(0,S.jsxs)(`div`,{className:O0,children:[(0,S.jsx)(`span`,{className:k0,children:t}),n!==void 0&&(0,S.jsx)(`span`,{className:`truncate text-xs text-foreground-subtle`,children:n})]}),v=i.flatMap(e=>e.items).find(e=>e.isCurrent===!0&&(e.children?.length??0)>0),y=(0,x.useRef)(void 0);v!==void 0&&(y.current=v);let b=v??y.current,C=v!==void 0,w=c!==void 0&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(`span`,{className:`sr-only`,children:c.label}),(0,S.jsx)(`span`,{"aria-hidden":!0,className:`flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-rail-current text-xs font-bold text-rail-foreground`,children:q0(c.name)})]});return(0,S.jsxs)(`div`,{className:g0,children:[(0,S.jsx)(`a`,{className:_0,href:`#${K0}`,onClick:e=>{e.preventDefault(),document.getElementById(K0)?.focus()},children:o}),(0,S.jsxs)(`aside`,{className:v0,children:[(0,S.jsx)(`div`,{className:y0,children:(0,S.jsx)(XQ,{label:e,tone:`rail`})}),(0,S.jsx)(`nav`,{"aria-label":r,className:b0,children:i.map(e=>(0,S.jsx)(`div`,{role:`group`,className:x0({place:e.place}),...e.label!==void 0&&{"aria-label":e.label},children:(0,S.jsx)(`ul`,{className:S0,children:e.items.map(({id:e,label:t,href:n,icon:r,isCurrent:i=!1,count:a})=>(0,S.jsx)(`li`,{children:(0,S.jsx)(mQ,{content:t,placement:`right`,children:(0,S.jsxs)(yD,{className:C0({isCurrent:i}),href:n,...i&&{"aria-current":`page`},children:[r&&(0,S.jsx)(r,{"aria-hidden":!0,size:20}),(0,S.jsx)(`span`,{className:w0,children:t}),a!==void 0&&(0,S.jsx)(`span`,{"aria-hidden":!0,className:`absolute top-1 right-1 flex h-4 min-w-4 items-center justify-center rounded-full bg-rail-foreground px-1 text-xs font-bold text-rail`,children:a})]})})},e))})},e.id))}),c!==void 0&&(0,S.jsx)(c$,{placement:`top start`,actions:c.actions,onAction:c.onAction,trigger:(0,S.jsxs)(eO,{className:T0,children:[w,(0,S.jsxs)(`span`,{className:`sr-only`,children:[(0,S.jsx)(`span`,{children:c.name}),c.detail!==void 0&&(0,S.jsx)(`span`,{children:c.detail})]})]})})]}),(0,S.jsx)(`div`,{className:E0({isOpen:C}),inert:!C,...!C&&{"aria-hidden":!0},children:b?.children!==void 0&&(0,S.jsxs)(`nav`,{"aria-label":b.label,className:D0({isOpen:C}),children:[_,(0,S.jsx)(Y0,{groups:b.children})]})}),(0,S.jsxs)(`div`,{className:N0,children:[(0,S.jsxs)(`header`,{className:P0({isHidden:l}),children:[(0,S.jsxs)(OV,{children:[(0,S.jsx)(eO,{"aria-label":a,className:z0({isScreenLeadingBack:g}),children:(0,S.jsx)(bee,{"aria-hidden":!0,size:20})}),(0,S.jsx)(gK,{isDismissable:!0,className:B0,children:(0,S.jsx)(mK,{className:V0,children:(0,S.jsx)(kV,{"aria-label":a,className:H0,children:({close:e})=>(0,S.jsxs)(S.Fragment,{children:[_,(0,S.jsx)(`nav`,{"aria-label":r,className:U0,children:i.map(t=>(0,S.jsxs)(`div`,{role:`group`,...t.label!==void 0&&{"aria-label":t.label},children:[t.label!==void 0&&(0,S.jsx)(`div`,{"aria-hidden":!0,className:`px-2.5 pb-1.5 text-xs font-semibold tracking-widest text-foreground-subtle uppercase`,children:t.label}),(0,S.jsx)(`ul`,{className:A0,children:t.items.map(t=>(0,S.jsxs)(`li`,{children:[(0,S.jsx)(J0,{item:t,onPress:e}),t.children!==void 0&&t.children.length>0&&(0,S.jsx)(`div`,{className:`flex flex-col gap-0.5 border-l border-border pl-3 ml-4.5`,children:(0,S.jsx)(Y0,{groups:t.children,onPress:e})})]},t.id))})]},t.id))}),c!==void 0&&(0,S.jsx)(`div`,{className:`mt-auto border-t border-border pt-3`,children:(0,S.jsx)(c$,{placement:`top start`,actions:c.actions,onAction:c.onAction,trigger:(0,S.jsxs)(eO,{className:W0,children:[(0,S.jsx)(`span`,{className:`sr-only`,children:c.label}),(0,S.jsx)(`span`,{"aria-hidden":!0,className:`flex h-8 w-8 shrink-0 items-center justify-center rounded-full border border-border bg-background-tertiary text-xs font-semibold text-foreground`,children:q0(c.name)}),(0,S.jsxs)(`span`,{className:`flex min-w-0 flex-1 flex-col`,children:[(0,S.jsx)(`span`,{className:`truncate text-sm font-semibold text-foreground`,children:c.name}),c.detail!==void 0&&(0,S.jsx)(`span`,{className:`truncate text-xs text-foreground-muted`,children:c.detail})]}),(0,S.jsx)(Rv,{"aria-hidden":!0,size:14})]})})})]})})})})]}),(0,S.jsx)(`div`,{ref:f,className:F0}),s!==void 0&&(0,S.jsxs)(eO,{className:I0({isScreenLeadingBack:g}),onPress:s.onPress,children:[(0,S.jsx)(lx,{"aria-hidden":!0,size:16}),(0,S.jsx)(`span`,{className:L0({isScreenLeadingBack:g}),children:s.label}),s.shortcut!==void 0&&(0,S.jsx)(`kbd`,{"aria-hidden":!0,className:R0({isScreenLeadingBack:g}),children:s.shortcut})]})]}),(0,S.jsx)(`main`,{id:K0,tabIndex:-1,className:G0,children:(0,S.jsx)(f0,{value:d,children:(0,S.jsx)(m0,{value:h,children:u})})})]})]})}var Z0=`flex min-h-dvh items-center justify-center bg-background-secondary p-4 text-foreground`,Q0=`flex w-full max-w-sm flex-col gap-6 rounded-lg border border-border bg-background p-8 shadow-sm`,$0=`flex items-center`,e2=`flex flex-col gap-1`;function t2({brand:e,title:t,description:n,children:r,footer:i}){return(0,S.jsx)(`main`,{className:Z0,children:(0,S.jsxs)(`div`,{className:Q0,children:[(0,S.jsx)(`div`,{className:$0,children:e}),(0,S.jsxs)(`div`,{className:e2,children:[(0,S.jsx)(RQ,{level:1,size:`lg`,children:t}),n!==void 0&&(0,S.jsx)(Y,{tone:`secondary`,children:n})]}),r,i!==void 0&&(0,S.jsx)(`div`,{className:`border-t border-border pt-4`,children:i})]})})}var n2={default:`primary`,danger:`danger`};function r2({isOpen:e,onOpenChange:t,title:n,children:r,confirmLabel:i,cancelLabel:a,onConfirm:o,tone:s=`default`,isPending:c=!1}){return(0,S.jsx)(wQ,{isOpen:e,onOpenChange:t,title:n,role:`alertdialog`,size:`sm`,footer:(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(q,{variant:`secondary`,onPress:()=>t(!1),isDisabled:c,autoFocus:!0,children:a}),(0,S.jsx)(q,{variant:n2[s],onPress:o,isPending:c,children:i})]}),children:r})}var i2=`motion-rise flex flex-col items-center gap-4 px-6 py-12 text-center`,a2=`flex max-w-sm flex-col gap-1`;function o2({title:e,description:t,icon:n,action:r,level:i=2}){return(0,S.jsxs)(`div`,{className:i2,children:[n&&(0,S.jsx)(`span`,{className:`flex size-12 items-center justify-center rounded-full bg-secondary text-foreground-secondary`,children:(0,S.jsx)(n,{"aria-hidden":!0,size:24})}),(0,S.jsxs)(`div`,{className:a2,children:[(0,S.jsx)(RQ,{level:i,size:`md`,children:e}),t!==void 0&&(0,S.jsx)(Y,{tone:`secondary`,children:t})]}),r]})}var s2=V(`flex min-w-0 justify-between`,{variants:{place:{page:`flex-wrap items-start gap-x-6 gap-y-4`,bar:`flex-1 items-center gap-2 md:gap-4 md:py-2`}},defaultVariants:{place:`page`}}),c2=V(`flex min-w-0`,{variants:{place:{page:`flex-col gap-1`,bar:`flex-1 items-baseline gap-3`}},defaultVariants:{place:`page`}}),l2=V(`min-w-0`,{variants:{place:{page:``,bar:`hidden flex-1 md:block`}},defaultVariants:{place:`page`}}),u2=V(`flex max-w-full shrink-0 items-center`,{variants:{place:{page:`flex-wrap gap-2`,bar:`gap-1 md:gap-2`}},defaultVariants:{place:`page`}});function d2({title:e,description:t,actions:n,secondary:r}){let i=p0();if(i===null)return null;let a=i===void 0?`page`:`bar`,o=a===`bar`,s=o?`div`:`header`,c=r!==void 0&&r.actions.length>0?r:void 0,l=(0,S.jsxs)(s,{className:s2({place:a}),children:[(0,S.jsxs)(`div`,{className:c2({place:a}),children:[(0,S.jsx)(RQ,{level:1,...o&&{size:`lg`,truncate:!0},children:e}),t!==void 0&&(0,S.jsx)(`div`,{className:l2({place:a}),children:(0,S.jsx)(Y,{tone:o?`muted`:`secondary`,size:o?`sm`:`base`,truncate:o,children:t})})]}),(c!==void 0||n!==void 0)&&(0,S.jsxs)(`div`,{className:u2({place:a}),children:[c!==void 0&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(`div`,{className:`hidden items-center gap-2 md:flex`,children:c.actions.map(e=>(0,S.jsx)(q,{variant:e.variant??`secondary`,icon:e.icon,onPress:e.onPress,...e.isDisabled!==void 0&&{isDisabled:e.isDisabled},...e.isPending!==void 0&&{isPending:e.isPending},children:e.label},e.id))}),(0,S.jsx)(`div`,{className:`flex md:hidden`,children:(0,S.jsx)(c$,{placement:`bottom end`,trigger:(0,S.jsx)(_Q,{label:c.moreLabel,icon:ny}),actions:c.actions.map(({id:e,label:t,icon:n,tone:r,isDisabled:i})=>({id:e,label:t,icon:n,...r!==void 0&&{tone:r},...i!==void 0&&{isDisabled:i}})),onAction:e=>c.actions.find(t=>t.id===e)?.onPress()})})]}),n]})]});return i===void 0?l:(0,vE.createPortal)(l,i)}var f2=`flex min-w-0 flex-col gap-2`,p2=LZ,m2=BZ,h2=VZ,g2=`flex flex-col gap-2`,_2=`flex items-start gap-1`,v2=`min-w-0 flex-1`,y2=`flex h-10 shrink-0 items-center`,b2=`rounded-md border border-dashed border-border px-3 py-4 text-sm text-foreground-muted`,x2=`flex`;function S2({label:e,description:t,errorMessage:n,items:r,emptyText:i,addLabel:a,onAdd:o,onRemove:s,onMove:c,removeLabel:l,moveUpLabel:u,moveDownLabel:d,isFull:f=!1}){let p=(0,x.useId)();return(0,S.jsxs)(`div`,{role:`group`,"aria-labelledby":p,className:f2,children:[(0,S.jsx)(`span`,{id:p,className:p2,children:e}),t!==void 0&&(0,S.jsx)(`p`,{className:m2,children:t}),r.length===0?(0,S.jsx)(`p`,{className:b2,children:i}):(0,S.jsx)(`ol`,{className:g2,children:r.map((e,t)=>(0,S.jsxs)(`li`,{className:_2,children:[(0,S.jsx)(`div`,{className:v2,children:e.content}),(0,S.jsxs)(`div`,{className:y2,children:[(0,S.jsx)(_Q,{size:`sm`,icon:yv,label:u(t+1),isDisabled:t===0,onPress:()=>c(t,t-1)}),(0,S.jsx)(_Q,{size:`sm`,icon:pv,label:d(t+1),isDisabled:t===r.length-1,onPress:()=>c(t,t+1)}),(0,S.jsx)(_Q,{size:`sm`,icon:jx,label:l(t+1),onPress:()=>s(t)})]})]},e.id))}),n!==void 0&&(0,S.jsx)(`p`,{className:h2,children:n}),(0,S.jsx)(`div`,{className:x2,children:(0,S.jsx)(q,{variant:`secondary`,size:`sm`,icon:Gb,isDisabled:f,onPress:o,children:a})})]})}var C2=V(`flex items-center`,{variants:{across:{screen:`sticky top-0 layer-sticky flex-wrap gap-x-4 gap-y-2 border-b border-border bg-background px-4 py-3 md:px-6`,shell:`min-w-0 flex-1 gap-2 py-2 md:gap-4`,section:`sticky top-0 layer-sticky flex-wrap gap-x-4 gap-y-2 border-b border-border bg-background px-4 py-3 md:px-6`,window:`shrink-0 gap-2 border-b border-border bg-card px-3 py-2 md:gap-4`}},defaultVariants:{across:`screen`}}),w2=`inline-flex h-8 shrink-0 items-center justify-center gap-1.5 rounded-md border border-border-strong bg-background text-sm font-medium text-foreground w-8 md:w-auto md:pr-3 md:pl-2 transition-colors motion-fast outline-none data-hovered:bg-background-secondary data-focus-visible:ring-2 data-focus-visible:ring-ring`,T2=V(`flex min-w-0 items-center gap-3`,{variants:{hasCenter:{true:`flex-1 md:flex-none md:shrink`,false:`flex-1 basis-0 md:basis-48`}},defaultVariants:{hasCenter:!1}}),E2=`flex shrink-0 items-center gap-2 whitespace-nowrap`,D2=`flex max-w-full shrink-0 flex-wrap items-center justify-end gap-1 md:gap-2`;function O2({label:e,back:t,title:n,status:r,note:i,actions:a,center:o,across:s=`screen`}){let c=p0(),l=s===`screen`&&c!==void 0,u=h0(),d=l&&t!==void 0;if((0,x.useEffect)(()=>{if(d&&u!==void 0)return u(!0),()=>u(!1)},[d,u]),l&&c===null)return null;let f=(0,S.jsxs)(`div`,{role:`region`,"aria-label":e,className:C2({across:l?`shell`:s}),children:[t?.href!==void 0&&(0,S.jsxs)(yD,{href:t.href,className:w2,children:[(0,S.jsx)(Pv,{"aria-hidden":!0,size:16}),(0,S.jsx)(`span`,{className:`sr-only md:not-sr-only`,children:t.label})]}),t!==void 0&&t.href===void 0&&(0,S.jsxs)(eO,{className:w2,...t.onPress&&{onPress:t.onPress},children:[(0,S.jsx)(Pv,{"aria-hidden":!0,size:16}),(0,S.jsx)(`span`,{className:`sr-only md:not-sr-only`,children:t.label})]}),(0,S.jsxs)(`div`,{className:T2({hasCenter:o!==void 0}),children:[n!==void 0&&(0,S.jsx)(`h1`,{className:`min-w-0 truncate text-lg font-semibold text-foreground`,children:n}),(0,S.jsxs)(`div`,{className:E2,"aria-live":`polite`,children:[r,i!==void 0&&(0,S.jsx)(`span`,{className:`sr-only text-sm text-foreground-muted lg:not-sr-only`,children:i})]})]}),o!==void 0&&(0,S.jsx)(`div`,{className:`hidden min-w-0 flex-1 items-center justify-center md:flex`,children:o}),(0,S.jsx)(`div`,{className:D2,children:a})]});return l&&c?(0,vE.createPortal)(f,c):f}var k2=`flex min-w-0 flex-col gap-1.5`,A2=V(``,{variants:{isLabelHidden:{true:RZ,false:LZ}},defaultVariants:{isLabelHidden:!1}}),j2=zZ,M2=BZ,N2=VZ,P2=`flex min-w-0 items-center gap-3`,F2=`h-14 w-20 shrink-0 rounded-md border border-border bg-background-secondary object-cover`,I2=`flex h-14 w-20 shrink-0 items-center justify-center rounded-md border border-dashed border-border-strong bg-background-secondary`,L2=`size-5 text-foreground-subtle`,R2=`min-w-0 flex-1 truncate text-sm text-foreground-secondary`,z2=`grid grid-cols-2 gap-3 py-2 outline-none sm:grid-cols-3`,B2=`flex cursor-default flex-col gap-1.5 rounded-md border border-border bg-card p-1.5 outline-none transition-colors motion-fast data-hovered:border-border-strong data-focus-visible:ring-2 data-focus-visible:ring-input-focus data-selected:border-input-focus data-selected:ring-1 data-selected:ring-input-focus`,V2=`aspect-video w-full rounded-sm bg-background-secondary object-cover`,H2=`truncate px-0.5 text-sm text-foreground`,U2=`py-6 text-center text-sm text-foreground-muted`,W2=[`image/jpeg`,`image/png`,`image/webp`];function G2({label:e,isLabelHidden:t=!1,description:n,errorMessage:r,isRequired:i=!1,value:a,images:o,onChange:s,chooseLabel:c,changeLabel:l,noneText:u,dialogTitle:d,closeLabel:f,emptyText:p,onUpload:m,uploadLabel:h,uploadHint:g,uploadError:_,window:v}){let y=(0,x.useId)(),[b,C]=(0,x.useState)(!1),w=v?v.isOpen:b,T=v?v.onOpenChange:C,[E,D]=(0,x.useState)(!1),O=async e=>{if(e&&m){D(!0);try{await m(e),T(!1)}catch{}finally{D(!1)}}},k=o.find(e=>e.name===a),A=(0,S.jsxs)(wQ,{isOpen:w,onOpenChange:T,title:d,closeLabel:f,size:`lg`,children:[m&&h!==void 0&&(0,S.jsxs)(`div`,{className:`flex min-w-0 flex-wrap items-center gap-3 pt-2`,children:[(0,S.jsx)(WW,{acceptedFileTypes:W2,onSelect:e=>void O(e?.[0]),children:(0,S.jsx)(q,{variant:`secondary`,size:`sm`,icon:Ix,isPending:E,children:h})}),_===void 0?g!==void 0&&(0,S.jsx)(`p`,{className:`min-w-0 text-sm text-foreground-muted`,children:g}):(0,S.jsx)(`p`,{role:`alert`,className:`min-w-0 text-sm text-destructive`,children:_})]}),(0,S.jsx)(ZL,{"aria-label":d,layout:`grid`,selectionMode:`single`,autoFocus:!0,selectedKeys:a===null?[]:[a],onSelectionChange:e=>{let[t]=e===`all`?[]:[...e];typeof t==`string`&&s(t),T(!1)},renderEmptyState:()=>(0,S.jsx)(`p`,{className:U2,children:p}),className:z2,children:o.map(e=>(0,S.jsxs)(nR,{id:e.name,textValue:e.name,className:B2,children:[(0,S.jsx)(`img`,{src:e.url,alt:``,loading:`lazy`,className:V2}),(0,S.jsx)(`span`,{className:H2,children:e.name})]},e.name))})]});return v?A:(0,S.jsxs)(`div`,{role:`group`,"aria-labelledby":y,className:k2,children:[(0,S.jsxs)(`span`,{id:y,className:A2({isLabelHidden:t}),children:[e,i&&(0,S.jsx)(`span`,{"aria-hidden":`true`,className:j2,children:` *`})]}),(0,S.jsxs)(`div`,{className:P2,children:[k?(0,S.jsx)(`img`,{src:k.url,alt:``,loading:`lazy`,className:F2}):(0,S.jsx)(`span`,{className:I2,children:(0,S.jsx)(Ey,{"aria-hidden":`true`,className:L2})}),(0,S.jsx)(`span`,{className:R2,children:a??u}),(0,S.jsx)(q,{variant:`secondary`,size:`sm`,onPress:()=>T(!0),children:a===null?c:l})]}),n!==void 0&&(0,S.jsx)(`p`,{className:M2,children:n}),r!==void 0&&(0,S.jsx)(`p`,{className:N2,children:r}),A]})}var K2=`mx-auto flex w-full max-w-7xl flex-col gap-6 xl:flex-row xl:items-start`,q2=`flex min-w-0 flex-1 flex-col gap-6`,J2=`flex w-full shrink-0 flex-col gap-6 xl:sticky xl:top-8 xl:w-80`;function Y2({asideLabel:e,children:t,aside:n}){return(0,S.jsxs)(`div`,{className:K2,children:[(0,S.jsx)(`div`,{className:q2,children:t}),(0,S.jsx)(`aside`,{"aria-label":e,className:J2,children:n})]})}var X2=`grid grid-cols-2 gap-4 outline-none sm:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5`,Z2=`motion-press flex cursor-default flex-col gap-2 rounded-lg border border-border bg-card p-2 outline-none data-hovered:border-border-strong data-hovered:shadow-sm data-focus-visible:ring-2 data-focus-visible:ring-input-focus`,Q2=`aspect-video w-full rounded-md bg-background-secondary object-cover`,$2=`flex min-w-0 flex-col px-1 pb-1`,e4=`truncate text-sm font-medium text-foreground`,t4=`col-span-full py-10 text-center text-sm text-foreground-muted`;function n4({label:e,items:t,onAction:n,emptyText:r}){return(0,S.jsx)(WG,{"aria-label":e,layout:`grid`,onAction:e=>n(String(e)),renderEmptyState:()=>(0,S.jsx)(`p`,{className:t4,children:r}),className:X2,children:t.map(e=>(0,S.jsxs)(KG,{id:e.id,textValue:e.name,className:Z2,children:[(0,S.jsx)(`img`,{src:e.url,alt:``,loading:`lazy`,className:Q2}),(0,S.jsxs)(`span`,{className:$2,children:[(0,S.jsx)(`span`,{className:e4,children:e.name}),e.note!==void 0&&(0,S.jsx)(`span`,{className:`truncate text-sm text-foreground-muted`,children:e.note})]})]},e.id))})}var r4=`flex flex-col gap-4 pb-4 outline-none`,i4=`py-6 text-center text-sm text-foreground-muted`,a4=V(``,{variants:{layout:{rows:`flex flex-col gap-1`,cards:`grid grid-cols-2 gap-2 sm:grid-cols-3`}}}),o4=`col-span-full px-2 pb-1 text-xs font-medium tracking-wide text-foreground-muted uppercase`,s4=V([`flex cursor-default rounded-md p-2 outline-none`,`transition-colors motion-fast data-hovered:bg-secondary data-focused:bg-secondary`,`data-focus-visible:ring-2 data-focus-visible:ring-input-focus`],{variants:{layout:{rows:`items-center gap-3`,cards:`flex-col gap-2`}}}),c4=V(`grid shrink-0 place-items-center rounded-md bg-secondary text-secondary-foreground`,{variants:{layout:{rows:`size-9`,cards:`aspect-video w-full border border-border`}}}),l4=`flex min-w-0 flex-col`,u4=`text-sm font-medium text-foreground`;function d4({isOpen:e,onOpenChange:t,onClosed:n,title:r,closeLabel:i,groups:a,onChoose:o,emptyText:s}){let c=a.filter(e=>e.options.length>0),l=c.some(e=>e.options.some(e=>e.image!==void 0))?`cards`:`rows`;return(0,S.jsx)(wQ,{isOpen:e,onOpenChange:t,...n!==void 0&&{onClosed:n},title:r,closeLabel:i,size:l===`cards`?`lg`:`md`,children:c.length===0?(0,S.jsx)(`p`,{className:i4,children:s}):(0,S.jsx)(ZL,{"aria-label":r,autoFocus:`first`,selectionMode:`none`,layout:l===`cards`?`grid`:`stack`,className:r4,onAction:e=>{o(String(e)),t(!1)},children:c.map(e=>(0,S.jsxs)(tR,{id:`group:${e.id}`,className:a4({layout:l}),children:[(0,S.jsx)(FI,{className:o4,children:e.label}),e.options.map(({id:e,label:t,description:n,icon:r,image:i})=>(0,S.jsxs)(nR,{id:e,textValue:n===void 0?t:`${t} ${n}`,className:s4({layout:l}),children:[i===void 0?(r||l===`cards`)&&(0,S.jsx)(`span`,{className:c4({layout:l}),children:r&&(0,S.jsx)(r,{"aria-hidden":!0,size:18})}):(0,S.jsx)(j1,{src:i,size:`full`}),(0,S.jsxs)(`span`,{className:l4,children:[(0,S.jsx)(`span`,{className:u4,children:t}),n!==void 0&&(0,S.jsx)(`span`,{className:`text-sm text-foreground-secondary`,children:n})]})]},e))]},e.id))})})}var f4=`flex min-w-0 items-start gap-3 overflow-x-auto pb-2`,p4=V(`flex min-w-48 flex-1 basis-0 flex-col gap-2 rounded-lg border bg-background-secondary p-2 transition-colors motion-fast`,{variants:{state:{default:`border-border`,target:`border-ring ring-2 ring-ring`}},defaultVariants:{state:`default`}}),m4=`flex items-center justify-between gap-2 px-1 pt-1`,h4=`flex min-w-0 items-center gap-2 text-sm font-semibold text-foreground`,g4=`truncate`,_4=`shrink-0 text-sm text-foreground-muted`,v4=V(`size-2 shrink-0 rounded-full`,{variants:{tone:{neutral:`bg-foreground-subtle`,success:`bg-success`,danger:`bg-destructive`}},defaultVariants:{tone:`neutral`}}),y4=`flex flex-col gap-2`,b4=`rounded-md border border-dashed border-border px-3 py-6 text-center text-sm text-foreground-muted`,x4=V(`motion-rise flex min-w-0 items-start gap-1 rounded-md border border-border bg-card p-1 shadow-sm`,{variants:{state:{default:``,dragging:`opacity-50`}},defaultVariants:{state:`default`}}),S4=`flex min-w-0 flex-1 cursor-grab flex-col gap-1 rounded-sm px-2 py-1 text-left outline-none transition-colors motion-fast data-hovered:bg-secondary data-pressed:cursor-grabbing data-focus-visible:ring-2 data-focus-visible:ring-input-focus`,C4=`truncate text-sm font-medium text-foreground`,w4=`application/x-velocity-cms-board-card`;function T4({label:e,columns:t,emptyText:n,onOpen:r,onMove:i,moveLabel:a}){let o=new Map(t.flatMap(e=>e.items.map(t=>[t.id,e.id]))),s=(e,t)=>{o.get(e)!==t&&i(e,t)};return(0,S.jsx)(`div`,{role:`group`,"aria-label":e,className:f4,children:t.map(e=>(0,S.jsx)(E4,{column:e,columns:t,emptyText:n,onOpen:r,onMove:s,moveLabel:a},e.id))})}function E4({column:e,columns:t,emptyText:n,onOpen:r,onMove:i,moveLabel:a}){let o=(0,x.useId)(),s=(0,x.useRef)(null),[c,l]=(0,x.useState)(!1),{dropProps:u}=BW({ref:s,getDropOperation:e=>e.has(w4)?`move`:`cancel`,onDropEnter:()=>l(!0),onDropExit:()=>l(!1),onDrop:t=>{l(!1);let[n]=t.items.filter(JU);n?.getText(w4).then(t=>i(t,e.id))}}),d=t.filter(t=>t.id!==e.id).map(e=>({id:e.id,label:e.title}));return(0,S.jsxs)(`section`,{ref:s,"aria-labelledby":o,className:p4({state:c?`target`:`default`}),...u,children:[(0,S.jsxs)(`div`,{className:m4,children:[(0,S.jsxs)(`h3`,{id:o,className:h4,children:[(0,S.jsx)(`span`,{className:v4({tone:e.tone})}),(0,S.jsx)(`span`,{className:g4,children:e.title})]}),(0,S.jsx)(`span`,{className:_4,children:e.count})]}),e.items.length===0?(0,S.jsx)(`p`,{className:b4,children:n}):(0,S.jsx)(`ul`,{className:y4,children:e.items.map(e=>(0,S.jsx)(D4,{item:e,elsewhere:d,onOpen:r,onMove:i,moveLabel:a},e.id))}),e.more!==void 0&&(0,S.jsx)(`p`,{className:`px-1 text-sm text-foreground-muted`,children:e.more})]})}function D4({item:e,elsewhere:t,onOpen:n,onMove:r,moveLabel:i}){let{dragProps:a,isDragging:o}=DZ({getItems:()=>[{[w4]:e.id}],getAllowedDropOperations:()=>[`move`]});return(0,S.jsxs)(`li`,{className:x4({state:o?`dragging`:`default`}),...a,children:[(0,S.jsxs)(eO,{className:S4,onPress:()=>n(e.id),children:[(0,S.jsx)(`span`,{className:C4,children:e.title}),e.detail!==void 0&&(0,S.jsx)(`span`,{className:`truncate text-sm text-foreground-muted`,children:e.detail}),e.notes!==void 0&&e.notes.length>0&&(0,S.jsx)(`span`,{className:`flex flex-wrap items-center gap-1 pt-1`,children:e.notes.map(e=>(0,S.jsx)(v1,{tone:e.tone??`neutral`,children:e.text},e.text))})]}),t.length>0&&(0,S.jsx)(c$,{trigger:(0,S.jsx)(_Q,{size:`sm`,icon:hv,label:i(e.title)}),actions:t,onAction:t=>r(e.id,t)})]})}var O4=`flex min-w-0 flex-col gap-2`,k4=LZ,A4=BZ,j4=VZ,_ne=`flex flex-col gap-2`,M4=`rounded-md border border-dashed border-border px-3 py-6 text-center text-sm text-foreground-muted`,N4=`flex`,P4=V(`motion-rise min-w-0 rounded-lg border bg-card`,{variants:{state:{default:`border-border`,problem:`border-destructive`,dragging:`border-border opacity-50`,target:`border-ring ring-2 ring-ring`}},defaultVariants:{state:`default`}}),F4=`flex items-center gap-1 py-1 pr-2 pl-1`,I4=`grid h-8 w-6 shrink-0 cursor-grab place-items-center rounded-md text-foreground-subtle outline-none transition-colors motion-fast data-hovered:bg-secondary data-hovered:text-foreground data-pressed:cursor-grabbing data-focus-visible:ring-2 data-focus-visible:ring-input-focus`,L4=`min-w-0 flex-1`,R4=`flex w-full min-w-0 cursor-default items-center gap-3 rounded-md px-2 py-2 text-left outline-none transition-colors motion-fast data-hovered:bg-secondary data-focus-visible:ring-2 data-focus-visible:ring-input-focus`,z4=`shrink-0 text-foreground-muted`,B4=V(`hidden size-8 shrink-0 place-items-center rounded-md sm:grid`,{variants:{tone:{default:`bg-secondary text-secondary-foreground`,quiet:`bg-background-secondary text-foreground-subtle`}},defaultVariants:{tone:`default`}}),V4=`flex min-w-0 flex-1 flex-col`,H4=V(`truncate text-sm font-medium`,{variants:{tone:{default:`text-foreground`,quiet:`text-foreground-muted`}},defaultVariants:{tone:`default`}}),U4=`flex shrink-0 items-center`,W4=`border-t border-border p-4`;function G4({label:e,description:t,errorMessage:n,items:r,openIds:i,onOpenChange:a,emptyText:o,addLabel:s,onAdd:c,isFull:l=!1,onMove:u,onAction:d,moveUpLabel:f,moveDownLabel:p,moreLabel:m,dragLabel:h,revealId:g}){let _=(0,x.useId)(),v=r.map(e=>e.id),y=(0,x.useRef)(null);return(0,x.useEffect)(()=>{if(g===void 0)return;let e=[...y.current?.children??[]].find(e=>e instanceof HTMLElement&&e.dataset.section===g);e&&typeof e.scrollIntoView==`function`&&e.scrollIntoView({block:`nearest`})},[g]),(0,S.jsxs)(`div`,{role:`group`,"aria-labelledby":_,className:O4,children:[(0,S.jsx)(`span`,{id:_,className:k4,children:e}),t!==void 0&&(0,S.jsx)(`p`,{className:A4,children:t}),r.length===0?(0,S.jsx)(`p`,{className:M4,children:o}):(0,S.jsx)(`ol`,{ref:y,className:_ne,children:r.map((e,t)=>(0,S.jsx)(q4,{item:e,index:t,ids:v,isOpen:i.includes(e.id),onOpenChange:a,onMove:u,onAction:d,moveUpLabel:f,moveDownLabel:p,moreLabel:m,dragLabel:h},e.id))}),n!==void 0&&(0,S.jsx)(`p`,{className:j4,children:n}),(0,S.jsx)(`div`,{className:N4,children:(0,S.jsx)(q,{variant:`secondary`,size:`sm`,icon:Gb,isDisabled:l,onPress:c,children:s})})]})}var K4=`application/x-velocity-cms-section`;function q4({item:e,index:t,ids:n,isOpen:r,onOpenChange:i,onMove:a,onAction:o,moveUpLabel:s,moveDownLabel:c,moreLabel:l,dragLabel:u}){let{id:d,title:f,summary:p,icon:m,tag:h,problem:g,content:_,actions:v}=e,y=(0,x.useRef)(null),[b,C]=(0,x.useState)(null),{dragProps:w,dragButtonProps:T,isDragging:E}=DZ({hasDragButton:!0,getItems:()=>[{[K4]:d}],getAllowedDropOperations:()=>[`move`]}),{dropProps:D}=BW({ref:y,getDropOperation:e=>e.has(K4)?`move`:`cancel`,onDropEnter:()=>C(e=>e??`here`),onDropMove:e=>C(e.y<(y.current?.offsetHeight??0)/2?`before`:`after`),onDropExit:()=>C(null),onDrop:e=>{let r=b;C(null);let[i]=e.items.filter(JU);i?.getText(K4).then(e=>{let i=n.indexOf(e);if(i===-1)return;let o=r===`before`?t:r===`after`||i<t?t+1:t,s=i<o?o-1:o;s!==i&&a(i,s)})}}),O=h===void 0?`default`:`quiet`,k=r?Mv:Iv;return(0,S.jsxs)(`li`,{ref:y,"data-section":d,...D,children:[b===`before`&&(0,S.jsx)(`div`,{className:`my-1 h-0.5 rounded-full bg-ring`}),(0,S.jsxs)(qte,{className:P4({state:g===void 0?b===`here`?`target`:E?`dragging`:`default`:`problem`}),isExpanded:r,onExpandedChange:e=>i(d,e),children:[(0,S.jsxs)(`div`,{className:F4,...w,children:[(0,S.jsx)(eO,{...T,"aria-label":u(t+1),className:I4,children:(0,S.jsx)(vy,{"aria-hidden":!0,size:16})}),(0,S.jsx)(iO,{level:3,className:L4,children:(0,S.jsxs)(eO,{slot:`trigger`,className:R4,children:[(0,S.jsx)(k,{"aria-hidden":!0,size:16,className:z4}),m&&(0,S.jsx)(`span`,{className:B4({tone:O}),children:(0,S.jsx)(m,{"aria-hidden":!0,size:16})}),(0,S.jsxs)(`span`,{className:V4,children:[(0,S.jsx)(`span`,{className:H4({tone:O}),children:f}),(h!==void 0||p!==void 0)&&(0,S.jsxs)(`span`,{className:`flex min-w-0 items-center gap-2`,children:[p!==void 0&&(0,S.jsx)(`span`,{className:`min-w-0 truncate text-sm text-foreground-muted`,children:p}),h!==void 0&&(0,S.jsx)(v1,{children:h})]})]})]})}),(0,S.jsxs)(`div`,{className:U4,children:[(0,S.jsx)(_Q,{size:`sm`,icon:yv,label:s(t+1),isDisabled:t===0,onPress:()=>a(t,t-1)}),(0,S.jsx)(_Q,{size:`sm`,icon:pv,label:c(t+1),isDisabled:t===n.length-1,onPress:()=>a(t,t+1)}),(0,S.jsx)(c$,{trigger:(0,S.jsx)(_Q,{size:`sm`,icon:ny,label:l(t+1)}),actions:v,onAction:e=>o(d,e)})]})]}),g!==void 0&&!r&&(0,S.jsx)(`p`,{className:`px-4 pb-3 text-sm text-destructive`,children:g}),(0,S.jsx)(Jte,{children:(0,S.jsx)(`div`,{className:W4,children:_})})]}),b===`after`&&(0,S.jsx)(`div`,{className:`my-1 h-0.5 rounded-full bg-ring`})]})}var J4=V(`flex h-full min-h-0 flex-col overflow-hidden bg-background-secondary`,{variants:{isBare:{true:``,false:`rounded-lg border border-border`}},defaultVariants:{isBare:!1}}),Y4=V(`flex min-h-0 flex-1`,{variants:{isFitted:{true:`justify-start overflow-hidden`,false:`justify-center`}},defaultVariants:{isFitted:!1}}),X4={phone:384,tablet:768,full:1280},Z4=`m-auto max-w-sm px-6 text-center text-sm text-foreground-muted`,Q4=V(`bg-background`,{variants:{width:{phone:`border-x border-border`,tablet:`border-x border-border`,full:``},isFitted:{true:`max-w-none shrink-0 origin-top-left`,false:`h-full w-full transition-all motion-base`}},compoundVariants:[{width:`phone`,isFitted:!1,class:`max-w-sm`},{width:`tablet`,isFitted:!1,class:`max-w-3xl`}],defaultVariants:{width:`full`,isFitted:!1}}),$4=500,e3=`velocity-cms`,t3=250,n3=100,r3=.9,i3=[`up`,`down`,`duplicate`,`remove`,`addBefore`,`addAfter`],a3=[`up`,`down`,`duplicate`,`remove`];function o3({label:e,address:t,draft:n,note:r,toolbar:i,action:a,emptyText:o,onSectionPress:s,shownSectionId:c,shownAt:l=0,typable:u,onWords:d,tools:f,onSectionAction:p,onSectionMove:m,onSectionPicture:h,onSectionLink:g,onSectionItem:_,onSectionSwatch:v,onSectionSlot:y,onTextLink:b,onUndo:C,onRedo:w,onSave:T,escapes:E=0,isBare:D=!1,width:O}){let k=`preview-${(0,x.useId)().replaceAll(`:`,``)}`,A=(0,x.useRef)(null),j=(0,x.useRef)(null),M=(0,x.useRef)(!1),ee=u===void 0?void 0:JSON.stringify(u),N=f===void 0?void 0:JSON.stringify(f),P=(0,x.useRef)({onSectionPress:s,shownSectionId:c,onWords:d,places:ee,offered:N,onSectionAction:p,onSectionMove:m,onSectionPicture:h,onSectionLink:g,onSectionItem:_,onSectionSwatch:v,onSectionSlot:y,onTextLink:b,onUndo:C,onRedo:w,onSave:T});(0,x.useEffect)(()=>{P.current={onSectionPress:s,shownSectionId:c,onWords:d,places:ee,offered:N,onSectionAction:p,onSectionMove:m,onSectionPicture:h,onSectionLink:g,onSectionItem:_,onSectionSwatch:v,onSectionSlot:y,onTextLink:b,onUndo:C,onRedo:w,onSave:T}});let te=(0,x.useRef)(0),F=(0,x.useRef)(0),ne=(0,x.useRef)(!1),re=(0,x.useRef)(0),ie=(0,x.useRef)(0),ae=(0,x.useRef)(!1);(0,x.useEffect)(()=>{if(ie.current=Date.now(),t===void 0)return;let e=()=>{M.current=!0,ne.current=!1,A.current?.submit()};if(!M.current){e();return}if(Date.now()-te.current<t3&&!ne.current)return;if(ne.current=!0,Date.now()-F.current<500){F.current=0,e();return}let n=setTimeout(e,$4);return()=>clearTimeout(n)},[t,n]);let oe=(0,x.useRef)(null),[se,ce]=(0,x.useState)(null);(0,x.useEffect)(()=>{let e=oe.current;if(!e||typeof ResizeObserver>`u`)return;let t=()=>ce({width:e.clientWidth,height:e.clientHeight}),n=new ResizeObserver(t);return n.observe(e),t(),()=>n.disconnect()},[t===void 0]);let le=X4[O??`full`],ue=se===null||se.width<=0||se.width>=le*r3?1:se.width/le,de=ue<1,fe=(0,x.useRef)(1),pe=e=>{e!==fe.current&&(fe.current=e,j.current?.contentWindow?.postMessage({source:e3,type:`zoom`,scale:e},window.location.origin))},me=(0,x.useRef)(ue);(0,x.useEffect)(()=>{me.current=ue,pe(ue)},[ue]),(0,x.useEffect)(()=>{E>0&&j.current?.contentWindow?.postMessage({source:e3,type:`escape`},window.location.origin)},[E]);let I=(e,t=!1)=>{e!==void 0&&j.current?.contentWindow?.postMessage({source:e3,type:`show`,id:e,...t&&{still:t}},window.location.origin)},he=e=>{e!==void 0&&j.current?.contentWindow?.postMessage({source:e3,type:`typable`,places:JSON.parse(e)},window.location.origin)},ge=e=>{e!==void 0&&j.current?.contentWindow?.postMessage({source:e3,type:`tools`,...JSON.parse(e)},window.location.origin)};return(0,x.useEffect)(()=>{let e=e=>{if(e.origin!==window.location.origin||e.source!==j.current?.contentWindow)return;let t=e.data;if(t?.source===e3){if(t.type===`section`&&typeof t.id==`string`&&(typeof t.field==`string`?P.current.onSectionPress?.(t.id,t.field,t.form===!0):P.current.onSectionPress?.(t.id)),t.type===`words`&&typeof t.id==`string`&&typeof t.field==`string`&&typeof t.words==`string`&&(te.current=Date.now(),P.current.onWords?.(t.id,t.field,t.words)),(t.type===`act`||t.type===`move`||t.type===`item`||t.type===`swatch`||t.type===`undo`||t.type===`redo`)&&(F.current=Date.now()),t.type===`act`&&typeof t.id==`string`){let e=i3.find(e=>e===t.action);e&&P.current.onSectionAction?.(t.id,e)}if(t.type===`move`&&typeof t.id==`string`&&(typeof t.before==`string`||t.before===null)&&(typeof t.into==`string`?P.current.onSectionMove?.(t.id,t.before,t.into):P.current.onSectionMove?.(t.id,t.before)),t.type===`slot`&&typeof t.id==`string`&&typeof t.field==`string`&&P.current.onSectionSlot?.(t.id,t.field),t.type===`picture`&&typeof t.id==`string`&&typeof t.field==`string`&&P.current.onSectionPicture?.(t.id,t.field),t.type===`link`&&typeof t.id==`string`&&typeof t.field==`string`&&P.current.onSectionLink?.(t.id,t.field),t.type===`item`&&typeof t.id==`string`&&typeof t.field==`string`&&typeof t.at==`number`){let e=a3.find(e=>e===t.action);e&&P.current.onSectionItem?.(t.id,t.field,t.at,e)}if(t.type===`swatch`&&typeof t.id==`string`&&typeof t.field==`string`&&typeof t.value==`string`&&P.current.onSectionSwatch?.(t.id,t.field,t.value),t.type===`linkAsk`&&typeof t.href==`string`){let e=j.current?.contentWindow,n=t=>e?.postMessage({source:e3,type:`linkAnswer`,href:t},window.location.origin);P.current.onTextLink?P.current.onTextLink(t.href,n):n(null)}(t.type===`undo`||t.type===`redo`)&&(te.current=0,t.type===`undo`?P.current.onUndo?.():P.current.onRedo?.()),t.type===`save`&&P.current.onSave?.(),t.type===`ready`&&(fe.current=1,pe(me.current),he(P.current.places),ge(P.current.offered),I(P.current.shownSectionId,ae.current&&Math.abs(re.current-ie.current)>n3),ae.current=!0,re.current=0)}};return window.addEventListener(`message`,e),()=>window.removeEventListener(`message`,e)},[]),(0,x.useEffect)(()=>{re.current=Date.now(),I(c)},[c,l]),(0,x.useEffect)(()=>he(ee),[ee]),(0,x.useEffect)(()=>ge(N),[N]),(0,S.jsxs)(`div`,{className:J4({isBare:D}),children:[(r!==void 0||i!==void 0||a!==void 0)&&(0,S.jsxs)(`div`,{className:`flex flex-wrap items-center justify-between gap-3 border-b border-border bg-background px-3 py-2`,children:[a??(0,S.jsx)(`span`,{className:`min-w-0 truncate text-sm text-foreground-muted`,children:r}),i]}),(0,S.jsx)(`div`,{ref:oe,className:Y4({isFitted:de}),children:t===void 0?(0,S.jsx)(`p`,{className:Z4,children:o}):(0,S.jsxs)(S.Fragment,{children:[(0,vE.createPortal)((0,S.jsx)(`form`,{ref:A,method:`post`,action:t,target:k,hidden:!0,children:(0,S.jsx)(`input`,{type:`hidden`,name:`draft`,value:n,readOnly:!0})}),document.body),(0,S.jsx)(`iframe`,{ref:j,name:k,title:e,className:Q4({width:O,isFitted:de}),...de&&se!==null&&{style:{width:`${le}px`,height:`${se.height/ue}px`,transform:`scale(${ue})`}}})]})})]})}var s3=V(``,{variants:{view:{beside:`w-full`,whole:`dark fixed inset-0 layer-overlay flex flex-col bg-background text-foreground`}},defaultVariants:{view:`beside`}}),c3=V(`flex`,{variants:{view:{beside:`w-full flex-col gap-6 xl:flex-row xl:items-start`,whole:`min-h-0 flex-1`}},defaultVariants:{view:`beside`}}),l3=V(`flex min-w-0 flex-col gap-6`,{variants:{view:{beside:`xl:w-lg xl:shrink-0`,whole:`order-last max-w-full shrink-0 overflow-auto border-l border-border bg-card p-4`},isAway:{true:``,false:``}},compoundVariants:[{view:`whole`,isAway:!0,class:`hidden`}],defaultVariants:{view:`beside`,isAway:!1}}),u3=V(`flex min-w-0 max-w-full flex-col gap-6`,{variants:{width:{0:`md:w-80`,1:`md:w-88`,2:`md:w-96`,3:`md:w-104`,4:`md:w-112`,5:`md:w-120`,6:`md:w-128`,7:`md:w-136`,8:`md:w-144`,9:`md:w-160`}}}),d3=V(``,{variants:{width:{0:`w-48`,1:`w-52`,2:`w-56`,3:`w-60`,4:`w-64`,5:`w-72`,6:`w-80`,7:`w-96`}}}),f3=`flex min-w-0 flex-col gap-6`,p3=V(`min-w-0`,{variants:{view:{beside:`pane-tall xl:sticky xl:top-8 xl:flex-1`,whole:`min-h-0 flex-1 p-3`},isResizing:{true:`pointer-events-none select-none`,false:``}},defaultVariants:{view:`beside`,isResizing:!1}}),m3=V(`relative z-10 w-px shrink-0 cursor-col-resize touch-none bg-transparent transition-colors motion-fast outline-none hover:bg-border-strong before:absolute before:inset-y-0 before:-inset-x-1.5`,{variants:{place:{outline:`hidden lg:block`,form:`order-last max-md:hidden`},isActive:{true:`bg-brand-fill hover:bg-brand-fill`,false:``}},defaultVariants:{place:`outline`,isActive:!1}}),h3=(e,t)=>Math.min(t,Math.max(0,e));function g3({label:e,place:t,step:n,most:r,grows:i,onStep:a,onResizing:o}){let s=(0,x.useRef)(0),c=(0,x.useRef)(n),[l,u]=(0,x.useState)(!1),{focusProps:d,isFocusVisible:f}=dD(),{moveProps:p}=vN({onMoveStart:()=>{s.current=0,c.current=n,u(!0),o(!0)},onMove:({deltaX:e,pointerType:t})=>{t===`keyboard`?a(h3(n+Math.sign(e)*i,r)):(s.current+=e,a(h3(c.current+Math.round(s.current*i/32),r)))},onMoveEnd:()=>{u(!1),o(!1)}});return(0,S.jsx)(`div`,{role:`separator`,"aria-orientation":`vertical`,"aria-label":e,"aria-valuemin":0,"aria-valuemax":r,"aria-valuenow":n,tabIndex:0,...p,...d,className:m3({place:t,isActive:l||f})})}function _3({paneLabel:e,children:t,pane:n,bar:r,isFormAway:i=!1,outline:a,outlineLabel:o,sizes:s,onSizesChange:c,resizeLabels:l,view:u=`beside`}){let d=u===`whole`,[f,p]=(0,x.useState)({outline:3,form:6}),m=s??f,h=e=>{p(e),c?.(e)},[g,_]=(0,x.useState)(!1),v=(0,x.useRef)(null),y=(0,S.jsx)(`div`,{className:l3({view:u,isAway:d&&i}),children:(0,S.jsx)(`div`,{className:d?u3({width:m.form}):f3,children:t})});return(0,S.jsx)(qI,{contain:d,children:(0,S.jsx)(aB,{getContainer:()=>d&&v.current!==null?v.current:document.body,children:(0,S.jsxs)(`div`,{ref:v,className:s3({view:u}),children:[d&&r,(0,S.jsxs)(`div`,{className:c3({view:u}),children:[d&&a!==void 0&&(0,S.jsx)(`aside`,{"aria-label":o,className:`hidden shrink-0 flex-col overflow-auto border-r border-border bg-card p-3 lg:flex`,children:(0,S.jsx)(`div`,{className:d3({width:m.outline}),children:a})}),d&&a!==void 0&&l!==void 0&&(0,S.jsx)(g3,{label:l.outline,place:`outline`,step:m.outline,most:7,grows:1,onStep:e=>h({...m,outline:e}),onResizing:_}),d&&!i&&l!==void 0&&(0,S.jsx)(g3,{label:l.form,place:`form`,step:m.form,most:9,grows:-1,onStep:e=>h({...m,form:e}),onResizing:_}),y,(0,S.jsx)(`section`,{"aria-label":e,className:p3({view:u,isResizing:g}),children:n})]})]})})})}var v3=`fixed inset-0 layer-overlay flex items-start justify-center bg-scrim px-4 pt-24 motion-scrim`,y3=`flex max-h-112 w-full max-w-xl flex-col overflow-hidden rounded-xl border border-border bg-background-elevated shadow-xl outline-none motion-pop`,b3=`flex min-h-0 flex-col overflow-y-auto outline-none`,x3=`sticky top-0 layer-raised flex shrink-0 items-center gap-3 border-b border-border bg-background-elevated px-4 text-foreground-muted`,S3=`h-14 w-full min-w-0 bg-transparent text-lg text-foreground outline-none placeholder:text-foreground-subtle`,C3=`p-2 outline-none`,w3=`pb-1`,T3=`px-3 pt-2 pb-1 text-xs font-semibold tracking-widest text-foreground-subtle uppercase`,E3=`flex cursor-default items-center gap-3 rounded-lg px-3 py-2 text-base text-foreground outline-none data-focused:bg-background-tertiary data-hovered:bg-background-secondary`,D3=`min-w-0 flex-1 truncate font-medium`,O3=`px-3 py-8 text-center text-base text-foreground-muted`;function k3({isOpen:e,onOpenChange:t,label:n,placeholder:r,emptyText:i,groups:a,onAction:o,onSearch:s}){let{contains:c}=AV({sensitivity:`base`}),l=new Set(a.filter(e=>e.isFound===!0).flatMap(e=>e.items.map(e=>e.id)));return(0,S.jsx)(gK,{isOpen:e,onOpenChange:t,isDismissable:!0,className:v3,children:(0,S.jsx)(mK,{className:y3,children:(0,S.jsx)(kV,{"aria-label":n,className:b3,children:({close:e})=>(0,S.jsxs)(qee,{filter:(e,t,n)=>l.has(String(n.key))||c(e,t),...s!==void 0&&{onInputChange:s},children:[(0,S.jsxs)(lq,{"aria-label":r,autoFocus:!0,className:x3,children:[(0,S.jsx)(lx,{"aria-hidden":!0,size:18}),(0,S.jsx)(AN,{placeholder:r,className:S3})]}),(0,S.jsx)(vV,{"aria-label":n,className:C3,renderEmptyState:()=>(0,S.jsx)(`div`,{className:O3,children:i}),onAction:t=>{e(),o(String(t))},children:a.filter(e=>e.items.length>0).map(e=>(0,S.jsxs)(SV,{id:e.id,className:w3,children:[(0,S.jsx)(FI,{className:T3,children:e.label}),e.items.map(({id:e,label:t,detail:n,icon:r,keywords:i})=>(0,S.jsxs)(wV,{id:e,className:E3,textValue:[t,n,i].filter(e=>e!==void 0).join(` `),children:[r&&(0,S.jsx)(`span`,{"aria-hidden":!0,className:`flex h-8 w-8 shrink-0 items-center justify-center rounded-md border border-border bg-background text-foreground-muted`,children:(0,S.jsx)(r,{size:16})}),(0,S.jsx)(`span`,{className:D3,children:t}),n!==void 0&&(0,S.jsx)(`span`,{className:`shrink-0 text-sm text-foreground-subtle`,children:n})]},e))]},e.id))})]})})})})}var A3=`flex min-h-0 flex-col gap-2`,j3=`px-2 text-xs font-semibold tracking-widest text-foreground-subtle uppercase`,M3=`flex flex-col gap-0.5 outline-none`,N3=V([`flex min-h-9 cursor-default items-center gap-2.5 rounded-lg px-2 text-base text-foreground-secondary transition-colors motion-fast outline-none`,`data-hovered:bg-background-secondary data-hovered:text-foreground`,`data-focus-visible:ring-2 data-focus-visible:ring-ring data-focus-visible:ring-inset`,`data-selected:bg-background-tertiary data-selected:font-semibold data-selected:text-foreground`],{variants:{depth:{0:``,1:`pl-6`,2:`pl-10`,3:`pl-14`}},defaultVariants:{depth:0}}),P3=`min-w-0 flex-1 truncate`,F3=`px-2 py-3 text-sm text-foreground-muted`;function I3({title:e,items:t,currentId:n,onChoose:r,emptyText:i}){let a=(0,x.useId)();return(0,S.jsxs)(`div`,{className:A3,children:[(0,S.jsx)(`div`,{id:a,className:j3,children:e}),(0,S.jsx)(ZL,{"aria-labelledby":a,className:M3,items:t,selectionMode:`single`,selectedKeys:n===void 0?[]:[n],onSelectionChange:e=>{if(e===`all`)return;let[t]=[...e],i=t===void 0?n:String(t);i!==void 0&&r(i)},renderEmptyState:()=>(0,S.jsx)(`div`,{className:F3,children:i}),children:({id:e,label:t,depth:n=0,icon:r})=>(0,S.jsxs)(nR,{id:e,textValue:t,className:N3({depth:n}),children:[r&&(0,S.jsx)(`span`,{"aria-hidden":!0,className:`flex h-6 w-6 shrink-0 items-center justify-center rounded-md border border-border bg-background text-foreground-muted`,children:(0,S.jsx)(r,{size:14})}),(0,S.jsx)(`span`,{className:P3,children:t})]})})]})}var L3=`border-b border-border bg-background bg-grid`,R3=`mx-auto flex max-w-7xl flex-wrap items-center gap-10 px-4 py-8 sm:px-6 md:px-12 md:py-12`,z3=`flex min-w-0 flex-1 basis-96 flex-col gap-4`,B3=`max-w-2xl font-display text-4xl font-bold tracking-tight text-balance text-foreground md:text-5xl`,V3=`bg-transparent text-brand-text`;function H3(e,t){let n=t.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`),r=RegExp(`(?<![\\p{L}\\p{N}])${n}(?![\\p{L}\\p{N}])`,`u`).exec(e);return r?r.index:e.indexOf(t)}function U3(e,t){let n=t===void 0||t===``?-1:H3(e,t);return t===void 0||n<0?e:(0,S.jsxs)(S.Fragment,{children:[e.slice(0,n),(0,S.jsx)(`mark`,{className:V3,children:t}),e.slice(n+t.length)]})}function W3({eyebrow:e,title:t,highlight:n,description:r,actions:i,aside:a}){return(0,S.jsx)(`section`,{className:L3,children:(0,S.jsxs)(`div`,{className:R3,children:[(0,S.jsxs)(`div`,{className:z3,children:[e!==void 0&&(0,S.jsx)(`p`,{className:`text-xs font-semibold tracking-widest text-foreground-subtle uppercase`,children:e}),(0,S.jsx)(`h1`,{className:B3,children:U3(t,n)}),r!==void 0&&(0,S.jsx)(`p`,{className:`max-w-xl text-lg text-foreground-muted`,children:r}),i!==void 0&&(0,S.jsx)(`div`,{className:`flex flex-wrap gap-2 pt-2`,children:i})]}),a!==void 0&&(0,S.jsx)(`div`,{className:`hidden min-w-0 flex-1 basis-96 justify-center md:flex lg:justify-end`,children:a})]})})}var G3=`group relative w-full min-w-0 max-w-xl overflow-hidden rounded-xl border border-border bg-card shadow-xl transition-colors motion-base has-data-hovered:border-border-strong has-data-focus-visible:ring-2 has-data-focus-visible:ring-ring`,K3=`flex items-center gap-3 border-b border-border bg-background-secondary px-3.5 py-2.5`,q3=`flex shrink-0 gap-1.5`,J3=`h-2.5 w-2.5 rounded-full bg-border-strong`,Y3=`min-w-0 flex-1 truncate text-center font-mono text-xs text-foreground-subtle`,X3=`w-10 shrink-0`,Z3=V(`relative overflow-hidden bg-background`,{variants:{size:{md:`h-72`,sm:`h-40`}},defaultVariants:{size:`md`}}),Q3=V(`pointer-events-none absolute top-0 left-0 origin-top-left border-0`,{variants:{size:{md:`h-144 w-288 scale-50`,sm:`h-200 w-320 scale-20`}},defaultVariants:{size:`md`}}),$3=`flex items-center gap-3 border-t border-border px-4 py-3 text-sm`,e6=`shrink-0 font-semibold text-foreground outline-none after:absolute after:inset-0 group-hover:underline`;function t6({address:e,src:t,title:n,label:r,meta:i,href:a,onPress:o,size:s}){return(0,S.jsxs)(`div`,{className:G3,children:[(0,S.jsxs)(`div`,{"aria-hidden":!0,className:K3,children:[(0,S.jsxs)(`span`,{className:q3,children:[(0,S.jsx)(`span`,{className:J3}),(0,S.jsx)(`span`,{className:J3}),(0,S.jsx)(`span`,{className:J3})]}),(0,S.jsx)(`span`,{className:Y3,children:e}),(0,S.jsx)(`span`,{className:X3})]}),(0,S.jsx)(`div`,{className:Z3({size:s}),children:(0,S.jsx)(`iframe`,{src:t,title:n,loading:`lazy`,tabIndex:-1,"aria-hidden":!0,className:Q3({size:s})})}),(0,S.jsxs)(`div`,{className:$3,children:[i!==void 0&&(0,S.jsx)(`span`,{className:`min-w-0 flex-1 truncate text-foreground-muted`,children:i}),(0,S.jsx)(yD,{className:e6,...a!==void 0&&{href:a},...o!==void 0&&{onPress:o},children:r})]})]})}function n6({navigate:e,children:t}){return(0,S.jsx)(CC,{navigate:e,children:t})}function Z(e,t){return e[t]??e[t.split(`-`)[0]??t]??Object.values(e)[0]??``}function r6(e,t){try{return new Intl.DisplayNames(t,{type:`language`}).of(e)??e}catch{return e}}function i6(e,t){let n=e.titlePath??f_(e.fields).filter(e=>e.type===`text`).slice(0,1).map(e=>e.id),r=t;for(let e of n)r=typeof r==`object`&&r?r[e]:void 0;return typeof r==`string`&&r.trim()!==``?r:null}var a6=new Set([`id`,`block`]);function o6(e,t){return typeof e==`string`?t!==void 0&&a6.has(t)?[]:[e]:Array.isArray(e)?e.flatMap(e=>o6(e)):typeof e==`object`&&e?Object.entries(e).flatMap(([e,t])=>o6(t,e)):[]}function s6(e,t){let n=t.toLowerCase().split(/\s+/u).filter(e=>e.length>0);if(n.length===0)return!0;let r=[e.slug,...o6(e.data)].map(e=>e.toLowerCase());return n.every(e=>r.some(t=>t.includes(e)))}function c6(e,t,n){let r=e.fields,i=t,a;for(let e of n){if(a=r.find(t=>t.id===e&&t.deletedAt===void 0),!a)return null;i=typeof i==`object`&&i?i[e]:void 0,r=Array.isArray(a.options.fields)?a.options.fields:[]}return a?{field:a,value:i}:null}function l6(e,t){let n=e.list?.imagePath?c6(e,t,e.list.imagePath):null,r=Array.isArray(n?.value)?n.value[0]:n?.value;return typeof r==`string`&&r!==``?r:null}function u6(e){return e.publishAt===void 0?d_(e)?`unpublishedChanges`:e.status:`scheduled`}function d6(e,t,n){let{[t]:r,...i}=e;return n===void 0?i:{...i,[t]:n}}function f6(e,t){if(e===t)return!0;if(typeof e!=`object`||typeof t!=`object`||e===null||t===null||Array.isArray(e)!==Array.isArray(t))return!1;let n=e,r=t,i=Object.keys(n);return i.length===Object.keys(r).length&&i.every(e=>e in r&&f6(n[e],r[e]))}function p6(e,t){let n=t.split(`-`)[0]??t,r=new Map;for(let t of e)r.set(t.translationGroup,[...r.get(t.translationGroup)??[],t]);return[...r.values()].map(e=>{let r=e.find(e=>e.locale===t)??e.find(e=>e.locale.split(`-`)[0]===n)??e[0];if(!r)throw Error(`A group of translations has no entries.`);return{primary:r,versions:[r,...e.filter(e=>e!==r)]}})}function m6(e,t){let n=e.localizedUrlPatterns?.[t.locale]??e.urlPattern;return n===void 0?null:U_({urlPattern:n,fields:e.fields},t,t.locale)}var h6=new Set([`P`,`DIV`,`H1`,`H2`,`H3`,`H4`,`H5`,`H6`,`BLOCKQUOTE`,`UL`,`OL`,`LI`]),g6=e=>e.nodeType===1,_6=e=>g6(e)&&h6.has(e.tagName);function v6(e,t){let n=e=>t.some(t=>t.type===e);if((e.tagName===`B`||e.tagName===`STRONG`)&&!n(`bold`))return[{type:`bold`},...t];if((e.tagName===`I`||e.tagName===`EM`)&&!n(`italic`))return[{type:`italic`},...t];let r=e.tagName===`A`?(e.getAttribute(`href`)??``).trim():``;return r!==``&&h_(r)&&!n(`link`)?[{type:`link`,attrs:{href:r}},...t]:t}function y6(e,t=[]){let n=[];for(let r of e)if(r.nodeType===3){let e=(r.nodeValue??``).replace(/[\t\n\r ]+/g,` `);e!==``&&n.push(t.length>0?{type:`text`,text:e,marks:t}:{type:`text`,text:e})}else g6(r)&&(r.tagName===`BR`?n.push({type:`hardBreak`}):n.push(...y6(r.childNodes,v6(r,t))));return n}function b6(e){let t=[];for(let n of e){let e=t.at(-1);n.type===`text`&&e?.type===`text`&&JSON.stringify(e.marks??[])===JSON.stringify(n.marks??[])?t.splice(-1,1,{...e,text:`${e.text}${n.text}`.replace(/ {2,}/g,` `)}):t.push(n)}for(;t.at(-1)?.type===`hardBreak`;)t.pop();let n=(e,n)=>{let r=t.at(e);if(r?.type!==`text`)return;let i=n(r.text);i===``?t.splice(e,1):t.splice(e,1,{...r,text:i})};return n(0,e=>e.replace(/^ +/,``)),n(-1,e=>e.replace(/ +$/,``)),t.length>0?t:void 0}var x6=e=>{let t=b6(e);return t?{type:`paragraph`,content:t}:{type:`paragraph`}};function S6(e){let t=[],n=[],r=()=>{let e=b6(y6(n));e&&t.push({type:`paragraph`,content:e}),n=[]};for(let i of e){if(!_6(i)){n.push(i);continue}r();let e=i.tagName,a=[...i.childNodes].some(_6);if(e===`UL`||e===`OL`){let n=[...i.children].filter(e=>e.tagName===`LI`).map(e=>({type:`listItem`,content:C6(e)}));n.length>0&&t.push({type:e===`UL`?`bulletList`:`orderedList`,content:n})}else if(e===`BLOCKQUOTE`)t.push({type:`blockquote`,content:C6(i)});else if(a)t.push(...S6(i.childNodes));else if(/^H[1-6]$/.test(e)){let n=b6(y6(i.childNodes));t.push({type:`heading`,attrs:{level:e===`H1`||e===`H2`?2:3},...n&&{content:n}})}else t.push(x6(y6(i.childNodes)))}return r(),t}function C6(e){let t=S6(e.childNodes);return t.length>0?t:[{type:`paragraph`}]}function w6(e){let t=S6(new DOMParser().parseFromString(`<!doctype html><body>${e}`,`text/html`).body.childNodes);for(;t.at(-1)?.type===`paragraph`&&t.at(-1).content===void 0;)t.pop();return t.length>0?{type:`doc`,content:t}:void 0}var T6={app:{product:`Velocity`,moreActions:`More actions`,contentGroup:`Content`,home:`Home`,skipToContent:`Skip to content`,openMenu:`Open the menu`,mainNavigation:`Main`,notifications:`Notifications`,dismiss:`Dismiss`,loading:`Loading`,opening:`Opening the editor`,accountMenu:`Account`,signOut:`Sign out`,signedOut:`Signed out`,notSignedOut:`Not signed out`,sessionEnded:`You were signed out`,sessionEndedDescription:`Your session ended. Sign in again to continue.`,siteGroup:`Site`,people:`People`,settings:`Settings`,media:`Media`,trash:`Trash`,forms:`Forms`,contacts:`Contacts`,deals:`Deals`,plugins:`Manage plugins`,pluginsGroup:`Plugins`,types:`Content types`,audienceGroup:`Audience`,collectionsGroup:`Collections`,workspaceGroup:`Workspace`,search:`Search`,searchPlaceholder:`Search, jump to or create anything`,searchTitle:`Search and commands`,searchEmpty:`Nothing matches that.`,searching:`Searching…`,searchContentGroup:`Content`,searchContactsGroup:`Contacts`,searchUntitled:`Untitled`,searchShortcutCommand:`⌘K`,searchShortcutControl:`Ctrl K`,goToGroup:`Go to`,createGroup:`Create`,create:`Create`,createIn:e=>`New in ${e}`,passkeys:`Passkeys`,passkeyTitle:`Add a passkey`,passkeyDescription:`A passkey signs you in with your fingerprint, face or screen lock, with no email to wait for. Add one on each device you use, and remove one when you stop using its device.`,passkeyColumnName:`Passkey`,passkeyColumnAdded:`Added`,passkeyColumnActions:`Remove`,passkeyNone:`You have no passkeys yet.`,passkeyUnnamed:`Passkey with no name`,passkeyAddedUnknown:`Not known`,passkeyRemove:e=>`Remove ${e}`,passkeyRemoved:e=>`${e} removed`,passkeyRemovedDescription:`It can no longer sign you in. You can still use a sign-in link.`,passkeyNotRemoved:`The passkey was not removed`,passkeyDone:`Done`,passkeyName:`Name for this passkey`,passkeyNameHelp:`So you can tell your passkeys apart, such as "Work laptop".`,passkeyDefaultName:`This device`,passkeyAdd:`Add passkey`,passkeyAdded:`Passkey added`,passkeyAddedDescription:`Next time, choose "Sign in with a passkey".`,passkeyNotAdded:`No passkey was added`,somethingWentWrong:`Something went wrong`,screenFailed:`This screen could not be shown. Try again, and if it happens again, reload the page.`,screenNotFound:`There is no screen at this address. Choose one from the menu.`,tryAgain:`Try again`},signIn:{title:`Sign in`,description:`Use a passkey, or get a sign-in link by email. There is no password to remember.`,email:`Email`,emailMissing:`Enter your email address.`,emailInvalid:`Enter an email address, such as name@example.com.`,sendLink:`Email me a sign-in link`,usePasskey:`Sign in with a passkey`,linkSentTitle:`Check your email`,linkSent:e=>`If ${e} belongs to someone on this site, a sign-in link is on its way. It works once and expires in 10 minutes.`,useAnotherEmail:`Use a different email`,linkFailed:`That sign-in link has expired or was already used. Ask for a new one below.`,signedIn:e=>`Signed in as ${e}`,passkeyFailed:`The passkey did not work. Try again, or use a sign-in link instead.`},contentList:{description:e=>e===1?`1 entry`:`${e} entries`,columnTitle:`Title`,columnStatus:`Status`,columnLanguages:`Languages`,filter:`Show`,filterAll:`All`,filterPublished:`Published`,filterDrafts:`Drafts`,filterChanged:`Unpublished changes`,search:e=>`Search ${e.toLowerCase()}`,searchPlaceholder:`Search by title or address`,clearSearch:`Clear search`,noMatchesTitle:`Nothing matches`,noMatchesDescription:`Try another word, or show all entries.`,columnUpdated:`Updated`,untitled:`Untitled`,homePage:`Home page`,newEntry:`New entry`,emptyTitle:e=>`No ${e.toLowerCase()} yet`,emptyDescription:`Entries appear on the site as soon as they are published.`,noTypesTitle:`No content types yet`,noTypesDescription:`A content type describes one kind of content, such as listings or blog posts.`,typeNotFoundTitle:`This content type does not exist`,typeNotFoundDescription:`It may have been renamed or removed.`},schedule:{title:`Schedule`,close:`Close`,help:`What is saved when the time comes goes on the site, so you can keep working on it until then.`,saveFirst:`Save what you have typed first: what goes out is what is saved.`,current:e=>`Set to go on the site ${e}.`,missed:e=>`This did not go on the site at its time. ${e}`,day:`Day`,dayMissing:`Choose a day.`,time:`Time`,zone:e=>`Times are in your time zone, ${e.replaceAll(`_`,` `)}.`,confirm:`Schedule`,change:`Change the time`,cancel:`Cancel`,remove:`Take off the schedule`,set:`Scheduled`,setDescription:e=>`It goes on the site ${e}.`,notSet:`Not scheduled`,removed:`Taken off the schedule`,notRemoved:`Still scheduled`},history:{title:`History`,close:`Close`,help:`Every save, the latest first. Saves made in one go are shown as one. Bringing a version back makes a new save: nothing is lost, and the site changes only when you publish.`,saveFirst:`Save or undo what you have typed before bringing a version back.`,current:`Now`,onSite:`On the site`,when:(e,t)=>t?`${e}, by ${t}`:e,first:`First saved`,changed:e=>`Changed ${e.join(`, `)}`,published:`Published`,unpublished:`Taken off the site`,saved:`Saved`,sitting:e=>`${e} saves in one go`,showEach:`Show each`,showAsOne:`Show as one`,bringBack:`Bring back this version`,broughtBack:e=>`Version from ${e} brought back`,broughtBackDescription:`It is the working version now. Publish it to put it on the site.`,notBroughtBack:`Not brought back`},editor:{back:e=>`All ${e.toLowerCase()}`,newTitle:`New entry`,form:`Entry`,slug:`Slug`,slugDescription:e=>`The page's address on the site: ${e}`,slugAsIdentifier:`A short name other entries link to. It is not shown on the site, and stays the same in every language.`,slugMissing:`Enter a slug. It is the last part of the page's address.`,slugInvalid:`Use lowercase letters, numbers and hyphens, such as lake-house.`,slugPathDescription:e=>`The page's address on the site: ${e}. Put a slash between the parts to place it under another page, such as services/roofing. The slug index is the page at the top.`,slugHomeDescription:e=>`The page's address on the site: ${e}. The page whose slug is index is the one at the top.`,slugPathInvalid:`Use lowercase letters, numbers and hyphens, with a slash between the parts of a longer address, such as services/roofing.`,choose:`Choose one`,linkMissing:e=>`${e} (not found)`,formMissing:`A form that is no longer here`,formLoading:`Loading…`,formClosed:e=>`${e} (closed)`,noForms:`This site has no forms yet. Make one under Forms.`,linkNotLoaded:`The list to choose from could not be loaded. Reload the page to try again.`,linkAddressChoice:`Another address`,linkAddress:`Address`,linkAddressHelp:`A whole address such as https://example.com, or a path on this site such as /contact/.`,linkWhich:e=>`Which of ${e}`,linkGone:`No longer on the site`,linkLoading:`Loading…`,listEmpty:`Nothing here yet`,listAdd:`Add`,listItem:(e,t)=>`${e} ${t}`,listRemove:(e,t)=>`Remove ${e} ${t}`,listMoveUp:(e,t)=>`Move ${e} ${t} up`,listMoveDown:(e,t)=>`Move ${e} ${t} down`,listMore:(e,t)=>`More for ${e} ${t}`,listDrag:(e,t)=>`Drag ${e} ${t}`,listDuplicate:`Duplicate`,listRemoveRow:`Remove`,listProblems:e=>e===1?`1 thing to fix in here.`:`${e} things to fix in here.`,pagePane:`The page`,pageFrame:e=>`${e}, as it would look`,pageWidth:`Width`,pagePhone:`Phone`,pageTablet:`Tablet`,pageDesktop:`Desktop`,pageMoveUp:`Move up`,pageMoveDown:`Move down`,pageDuplicate:`Duplicate`,pageRemove:`Remove`,pageAdd:`Add section`,pageReorder:`Reorder sections`,pageReorderDone:`Done`,pageAddBefore:`Add a section above`,pageAddAfter:`Add a section below`,pagePicture:`Change image`,pageLink:`Edit link`,pageTextLinkProblem:`A link must be a web address, an email address, a phone number or a page of this site such as /contact/.`,pageItemUp:`Move earlier`,pageItemDown:`Move later`,pageItemDuplicate:`Duplicate`,pageItemRemove:`Remove`,pageLinkDone:`Done`,visualOpen:`Visual editor`,visualClose:`Exit`,resizeOutline:`Width of the sections`,resizeForm:`Width of the form`,switchLanguage:e=>`Edit in ${e}`,outlineTitle:`Sections`,outlineLabel:`Sections of the page`,outlineEmpty:`No sections yet. Add one in the panel on the right.`,visualShowForm:`Show the form`,visualHideForm:`Hide the form`,pageNotYet:`Save the page once to see it here.`,pageLoading:`Getting the page…`,pageNotShown:e=>`The page cannot be shown here. ${e}`,sectionsEmpty:`No sections yet. Add the first one to start the page.`,sectionAdd:`Add section`,sectionPickerTitle:`Add a section`,sectionPickerEmpty:`This site has no kinds of section to add yet. They come with its template.`,sectionOtherGroup:`Other`,sectionMoveUp:(e,t)=>`Move section ${t}, ${e}, up`,sectionMoveDown:(e,t)=>`Move section ${t}, ${e}, down`,sectionMore:(e,t)=>`More for section ${t}, ${e}`,sectionDrag:(e,t)=>`Drag section ${t}, ${e}`,sectionDuplicate:`Duplicate`,sectionHide:`Hide from the site`,sectionShow:`Show on the site`,sectionRemove:`Remove`,sectionHidden:`Hidden`,sectionRetired:`No longer used`,sectionRetiredNote:`The site's template no longer has this kind of section, so it is left off the site. Its content is kept in case the kind comes back.`,sectionUnknown:`Unknown section`,sectionNoFields:`This section has nothing to fill in.`,sectionProblems:e=>e===1?`1 thing to fix in this section.`:`${e} things to fix in this section.`,sectionRemoveTitle:e=>`Remove this ${e.toLowerCase()} section?`,sectionRemoveDescription:`What was written in it goes with it. Nothing changes on the site until you publish.`,sectionRemoveConfirm:`Remove section`,imageChoose:`Choose an image`,imageChange:`Change`,imageNone:`No image chosen`,imageMissing:`This image is no longer on the site. Choose another.`,imagesEmpty:`This site has no images to choose from yet.`,imagesLoading:`Loading the images…`,imagesNotLoaded:`The images could not be loaded. Reload the page to try again.`,imageUpload:`Upload an image`,imageUploadHint:e=>`JPEG, PNG or WebP, up to ${e} MB. Larger photos are made smaller first.`,imageNotRead:`The file could not be read. Choose it again.`,close:`Close`,richText:{toolbar:`Formatting`,bold:`Bold`,italic:`Italic`,heading:`Heading`,subheading:`Subheading`,bulletList:`Bulleted list`,numberedList:`Numbered list`,quote:`Quote`,link:`Link`,linkAddress:`Link address`,linkHelp:`A web address, or a page of this site such as /contact/.`,linkApply:`Apply`,linkRemove:`Remove link`},otherFields:`Other details`,addressSection:`Address on the site`,identifierSection:`Identifier`,aside:`Publishing details`,unsupportedField:`This kind of field cannot be edited here yet. Its content is kept as it is.`,saveBar:`Save and publish`,language:`Language`,saveDraft:`Save draft`,publish:`Publish`,publishChanges:`Publish changes`,viewOnSite:`View on the site`,unpublish:`Unpublish`,more:`More actions`,theme:`Theme`,pickColour:e=>`Choose ${e.toLowerCase()}`,hue:`Hue`,suggestedColours:`Suggested colours`,chooseFont:`Choose a font`,themeHide:`Hide the theme`,themeTitle:`Site theme`,themeHelp:e=>`The colors and fonts of the whole site, from the template's own. Try them on this page, then publish them. They are kept in Settings, under ${e}, and publishing them publishes what is saved there.`,themePublish:`Publish theme`,themeDiscard:`Discard`,themePublished:`Theme published`,themePublishedDescription:`Every page of the site now shows it.`,themeNotPublished:`The theme was not published`,undo:`Undo`,redo:`Redo`,trash:`Move to trash`,trashTitle:`Move this to the trash?`,trashDescription:`It leaves the lists and can be restored from the trash whenever you need it. Changes you have not saved are not kept.`,trashDescriptionPublished:`Visitors will no longer find it, and links to it will stop working. It can be restored from the trash as a draft. Changes you have not saved are not kept.`,schedule:`Schedule`,scheduleChange:`Change the schedule`,goesOut:e=>`Goes on the site ${e}`,missedSchedule:`Missed its time`,history:`History`,duplicate:`Duplicate`,duplicated:e=>`${e} duplicated`,duplicatedDescription:`This is the copy, as a draft. It holds what was last saved.`,notDuplicated:`Not duplicated`,trashed:e=>`${e} moved to the trash`,trashedDescription:`Restore it from Trash, under Site, whenever you need it.`,notTrashed:`Not moved to the trash`,inTrashTitle:`This is in the trash`,inTrashDescription:`Restore it to open it and change it again.`,openTrash:`Open the trash`,preview:`Preview`,imageUploaded:`Image uploaded`,imageUploadedDescription:`It is chosen for this field. Save the entry to keep it.`,notPreviewed:`No preview`,notSavedYet:`Not saved yet`,unsavedChanges:`Unsaved changes`,notAutosaved:`Not saved. Press "Save draft" to see why.`,saved:e=>`Saved ${e}`,draftSaved:`Draft saved`,draftSavedDescription:`Visitors do not see it until you publish.`,published:`Published`,publishedDescription:`Visitors can see it now.`,unpublished:`Unpublished`,unpublishedDescription:`It is off the site. Its content is kept as a draft.`,notSaved:`Not saved`,notPublished:`Not published`,notUnpublished:`Not unpublished`,fieldsNeedAttention:e=>e===1?`1 field needs attention.`:`${e} fields need attention.`,leaveTitle:`Leave without saving?`,leaveDescription:`What you changed here has not been saved. If you leave now, it is lost.`,leave:`Leave without saving`,keepEditing:`Keep editing`,unpublishTitle:`Take this off the site?`,unpublishDescription:`Visitors will no longer find it, and links to it will stop working. Its content is kept as a draft.`,cancel:`Cancel`,notFoundTitle:`This entry does not exist`,notFoundDescription:`It may have been deleted.`},trash:{title:`Trash`,description:`What was moved here is off the site and out of the lists. Restore anything you still need.`,columnName:`Name`,columnType:`Kind`,columnMoved:`Moved here`,columnActions:`Actions`,detail:(e,t)=>`${e} · ${t}`,typeArchived:`An archived content type`,restore:e=>`Restore ${e}`,restored:e=>`${e} restored`,restoredDescription:`It is back as a draft. Publish it to put it on the site again.`,notRestored:`Not restored`,delete:e=>`Delete ${e} for good`,deleteTitle:e=>`Delete ${e} for good?`,deleteDescription:`Its content and its history are removed and cannot be brought back.`,deleteConfirm:`Delete for good`,deleted:e=>`${e} deleted for good`,notDeleted:`Not deleted`,emptyTitle:`The trash is empty`,emptyDescription:`An entry you move to the trash waits here until you restore it or delete it for good.`},contactImport:{button:`Import`,title:`Import contacts`,lead:`Bring in contacts from a spreadsheet saved as a CSV file. Its first row should be the headings, and one column must hold email addresses. People you already have are never overwritten: they only gain what they lack.`,chooseFile:`Choose a CSV file`,emptyFile:`This file has no rows under its headings. Choose a CSV file with a row of headings and at least one row of contacts.`,tooManyRows:e=>`This file has more than ${e} rows. Split it into smaller files and import each.`,matchLead:e=>`${e} ${e===1?`row`:`rows`} found. Say what each column holds.`,column:e=>`Column "${e}"`,example:e=>`For example: ${e}`,skip:`Leave it out`,emailNeeded:`Say which column holds the email addresses. A contact needs one.`,bringIn:e=>`Import ${e} ${e===1?`row`:`rows`}`,done:e=>`${e} ${e===1?`contact`:`contacts`} added`,failed:`The import stopped`,added:e=>`${e} ${e===1?`contact was`:`contacts were`} added.`,filled:e=>`${e} you already had gained details they lacked.`,unchanged:e=>`${e} you already had were left as they are.`,leftOut:e=>`${e} ${e===1?`row was`:`rows were`} left out:`,rowProblem:(e,t)=>`Row ${e}: ${t}`,andMore:e=>`And ${e} more.`,close:`Done`},contacts:{title:`Contacts`,description:`Everyone who wrote to you through a form, and the people you added yourself.`,newContact:`New contact`,newContactTitle:`New contact`,search:`Search contacts`,searchPlaceholder:`Search by name, email or phone`,clearSearch:`Clear search`,columnName:`Name`,columnPhone:`Phone`,columnSource:`First came from`,columnAdded:`Added`,noName:`No name yet`,addedByHand:`Added by hand`,fromForm:e=>`${e} form`,fromFormOn:(e,t)=>`${e} form on ${t}`,aFormNowGone:`A form that is no longer here`,count:e=>e===1?`1 contact`:`${e} contacts`,emptyTitle:`No contacts yet`,emptyDescription:`When someone sends a form that asks for their email, they appear here. You can also add a contact yourself.`,nothingFoundTitle:`Nobody matches`,nothingFoundDescription:e=>`No contact has "${e}" in their name, email or phone.`,name:`Name`,email:`Email`,phone:`Phone`,emailNeeded:`Give the contact an email address.`,create:`Add contact`,created:e=>`${e} added`,notCreated:`The contact was not added`,backToContacts:`All contacts`,notFoundTitle:`No such contact`,notFoundDescription:`This contact was erased, or the address is wrong.`,noAccess:`Contacts are for owners and editors.`,edit:`Edit details`,editTitle:e=>`Edit ${e}`,save:`Save details`,saved:e=>`${e} saved`,notSaved:`The details were not saved`,details:`Details`,detailsLabel:`About this contact`,firstCameFrom:`First came from`,added:`Added`,notGiven:`Not given`,timeline:`Timeline`,timelineHelp:`What they sent you and what your team noted, newest first.`,timelineEmpty:`Nothing yet. Notes you add and forms they send will be listed here.`,sent:e=>`Sent the ${e} form`,sentUnknown:`Sent a form that is no longer here`,fromPage:e=>`From ${e}`,noteLabel:`Note`,movedLabel:`Moved`,movedFromTo:(e,t,n)=>`From ${e} to ${t}${n===void 0?``:`, by ${n}`}`,stageGone:`a stage that was removed`,note:`Add a note`,notePlaceholder:`Called back, wants a tour on Saturday`,noteHelp:`Only your team sees notes.`,addNote:`Add note`,noteAdded:`Note added`,noteNotAdded:`The note was not added`,deleteNote:`Delete note`,noteDeleted:`Note deleted`,noteNotDeleted:`The note was not deleted`,export:`Export`,exported:`File downloaded`,exportedDescription:`The file holds personal details. Keep it somewhere safe.`,notExported:`The file could not be made`,erase:`Erase`,eraseTitle:e=>`Erase ${e}?`,eraseDescription:`This deletes the contact, your notes about them and everything they sent through every form, for good. Use it when someone asks you to remove their details.`,eraseConfirm:`Erase for good`,erased:(e,t)=>t===0?`${e} erased`:t===1?`${e} erased, with 1 submission`:`${e} erased, with ${t} submissions`,notErased:`The contact was not erased`,view:`View`,viewList:`List`,viewBoard:`Board`,columnStage:`Stage`,columnOwner:`Looked after by`,columnFollowUp:`Follow up`,filterStage:`Stage`,allStages:`All stages`,filterOwner:`Looked after by`,everyone:`Everyone`,mine:`Me`,nobody:`Nobody`,someoneWhoLeft:`Someone who left`,nothingMatchesTitle:`Nobody matches`,nothingMatchesDescription:`No contact fits what you chose. Change the stage or who looks after them.`,stages:{new:`New`,contacted:`Contacted`,qualified:`Qualified`,won:`Won`,lost:`Lost`},board:`Pipeline`,boardEmpty:`Nobody here`,boardMore:e=>`${e} more, in the list`,move:e=>`Move ${e}`,moved:(e,t)=>`${e} moved to ${t}`,notMoved:`The contact was not moved`,work:`Follow-up`,workLabel:`Stage, owner and follow-up`,stage:`Stage`,owner:`Looked after by`,followUp:`Follow up on`,followUpHelp:`It shows on your Home screen when the day comes.`,stageSaved:e=>`Moved to ${e}`,ownerSaved:e=>`Now looked after by ${e}`,ownerCleared:`Nobody looks after this contact now`,followUpSaved:e=>`Follow-up set for ${e}`,followUpCleared:`Follow-up cleared`,notChanged:`The contact was not changed`,due:{overdue:`Overdue`,today:`Due today`},editStages:`Edit stages`,editStagesTitle:`Stages`,stagesHelp:`The steps a contact moves through, in order. New contacts start in the first.`,stagesRemoveNote:`Contacts in a stage you remove move to the first stage.`,stagesEmpty:`No stages. Add one.`,addStage:`Add stage`,stageName:`Name`,stageKind:`Counts as`,stageKinds:{open:`Open`,won:`Won`,lost:`Lost`},removeStage:e=>`Remove stage ${e}`,moveStageUp:e=>`Move stage ${e} up`,moveStageDown:e=>`Move stage ${e} down`,saveStages:`Save stages`,stagesSaved:`Stages saved`,stagesNotSaved:`The stages were not saved`,stageChance:`Chance, %`,pipelineSettings:`Deals and new contacts`,currency:`Currency`,currencyHelp:`Three letters, such as USD or EUR. Deal values are shown in it.`,monthlyTarget:`Monthly target`,monthlyTargetHelp:`What the team means to win each month, in the currency above. The deals screen shows how close this month is. Leave it empty for none.`,assignTo:`Give new contacts to`,assignToHelp:`A contact made by a form goes to whichever of these people looks after the fewest. Tick nobody to leave new contacts unassigned.`},deals:{title:`Deals`,description:`What your contacts may buy, by stage, and what it is likely to bring in.`,noAccess:`Deals are for owners and editors.`,open:`Open`,openDetail:`Worth of every deal still in play`,forecast:`Forecast`,forecastDetail:`Open deals, each counted by its stage's chance`,won:`Won`,wonDetail:`Worth of the deals you won`,targetLabel:e=>`${e} target`,targetProgress:(e,t,n)=>`${e} of ${t} · ${n}`,board:`Deals by stage`,boardEmpty:`No deals here`,boardMore:e=>`${e} more`,emptyTitle:`No deals yet`,emptyDescription:`Add a deal from a contact's page, with what it is worth. It then moves through your stages here.`,toContacts:`Go to contacts`,move:e=>`Move ${e}`,moved:(e,t)=>`${e} moved to ${t}`,notMoved:`The deal was not moved`,cardTitle:`Deals`,cardEmpty:`No deals with this contact yet.`,add:`Add deal`,addTitle:`New deal`,editTitle:e=>`Edit ${e}`,columnTitle:`Deal`,columnStage:`Stage`,columnValue:`Worth`,columnClose:`Expected`,name:`What it is about`,namePlaceholder:`Sale of 18 Alder Court`,nameNeeded:`Say what the deal is about.`,value:e=>`Worth, in ${e}`,stage:`Stage`,owner:`Looked after by`,closeOn:`Expected to close on`,create:`Add deal`,save:`Save deal`,created:e=>`${e} added`,saved:e=>`${e} saved`,notSaved:`The deal was not saved`,delete:`Delete deal`,deleted:e=>`${e} deleted`,notDeleted:`The deal was not deleted`,closes:e=>`Closes ${e}`,about:`On the site, it is about`,aboutNothing:`Nothing on the site`,aboutWhich:e=>`Which of ${e}`,aboutWhichOne:`Which one`,aboutGone:`No longer on the site`,aboutLoading:`Loading…`,entryCardEmpty:`No deals about this yet. Add one from a contact's page and choose this as what it is about.`,entryDeals:`Deals about this`},forms:{title:`Forms`,description:`The forms on your site, and what visitors sent through them.`,newForm:`New form`,newFormTitle:`New form`,formName:`Name`,formNameHelp:`What the form is called here and in the emails about it, such as Contact us.`,formKey:`Key`,formKeyHelp:`The name the site's pages use for it. Lowercase letters, numbers and hyphens.`,nameNeeded:`Give the form a name.`,keyNeeded:`Give the form a key.`,create:`Create form`,created:e=>`${e} created`,createdDescription:`Add the fields a visitor fills in.`,notCreated:`Not created`,columnName:`Name`,columnFields:`Fields`,columnNew:`New`,columnStatus:`Status`,columnActions:`Actions`,columnTrashed:`Moved here`,fieldCount:e=>e===1?`1 field`:`${e} fields`,newCount:e=>`${e} new`,noneNew:`None`,open:`Open`,closed:`Closed`,emptyTitle:`No forms yet`,emptyDescription:`A form collects what visitors send: a question, a request for a tour, a sign-up. Start with a contact form.`,trashedTitle:`Forms in the trash`,trashedHelp:`A form here takes no more submissions. What it was sent is kept until the form is deleted for good.`,restore:e=>`Restore ${e}`,restored:e=>`${e} restored`,notRestored:`Not restored`,delete:e=>`Delete ${e} for good`,deleteTitle:e=>`Delete ${e} for good?`,deleteDescription:`The form and everything visitors sent through it are removed and cannot be brought back.`,deleteConfirm:`Delete for good`,deleted:e=>`${e} deleted for good`,notDeleted:`Not deleted`,forget:`Forget a person`,forgetTitle:`Forget a person`,forgetHelp:`Deletes everything this person sent, through every form, for good. Use it when someone asks you to remove their details.`,forgetEmail:`Their email address`,forgetEmailNeeded:`Give the email address of the person to forget.`,forgetConfirm:`Delete what they sent`,forgotten:e=>e===0?`Nothing was found from that address`:e===1?`1 submission deleted`:`${e} submissions deleted`,notForgotten:`Not deleted`,notFoundTitle:`This form is not here`,notFoundDescription:`It may have been moved to the trash or deleted.`,backToForms:`All forms`,detail:(e,t)=>`Key: ${e} · ${t}`,tabs:`Parts of this form`,tabSubmissions:`Submissions`,tabFields:`Fields`,settings:`Settings`,trash:`Move to trash`,trashTitle:e=>`Move ${e} to the trash?`,trashDescription:`It takes no more submissions and leaves any page that shows it. What it was sent is kept, and the form can be restored.`,trashConfirm:`Move to trash`,trashed:e=>`${e} moved to the trash`,notTrashed:`Not moved`,statusFilter:`Which submissions to show`,statuses:{new:`New`,handled:`Handled`,spam:`Spam`},statusWithCount:(e,t)=>`${e} (${t})`,export:`Export as CSV`,exported:`Export saved`,exportedDescription:`The file holds personal details. Keep it somewhere safe.`,notExported:`Not exported`,columnFrom:`From`,columnSummary:`What they wrote`,columnReceived:`Received`,submissionsOf:e=>`Submissions of ${e}`,unknownSender:`No name given`,emptyNewTitle:`Nothing new`,emptyNewDescription:`What visitors send through this form arrives here.`,emptyHandledTitle:`Nothing handled yet`,emptyHandledDescription:`Mark a submission as handled once you have answered it.`,emptySpamTitle:`No spam`,emptySpamDescription:`Submissions that look automated are kept here, so a real one is never lost.`,noAccess:`Only owners and editors can read what visitors sent.`,submissionTitle:e=>`From ${e}`,received:e=>`Received ${e}`,sentFrom:e=>`Sent from ${e}`,handledAt:e=>`Handled ${e}`,yes:`Yes`,removedField:e=>`${e} (removed field)`,markHandled:`Mark as handled`,markNew:`Mark as new`,markSpam:`Mark as spam`,notSpam:`Not spam`,marked:{new:`Marked as new`,handled:`Marked as handled`,spam:`Marked as spam`},notMarked:`Not changed`,deleteSubmission:`Delete`,deleteSubmissionTitle:`Delete this submission?`,deleteSubmissionDescription:`It is removed for good and cannot be brought back.`,submissionDeleted:`Submission deleted`,submissionNotDeleted:`Not deleted`,addField:`Add field`,addFieldTitle:`Add a field`,editFieldTitle:e=>`Change ${e}`,fieldsOf:e=>`Fields of ${e}`,columnField:`Field`,columnKind:`Kind`,columnRules:`Rules`,required:`Required`,holds:{name:`Sender's name`,email:`Sender's email`,phone:`Sender's phone`},noFieldsTitle:`No fields yet`,noFieldsDescription:`Add what a visitor fills in: their name, their email, a message.`,fieldName:`Label`,fieldNameHelp:`What the visitor reads above the field.`,fieldKey:`Key`,fieldKeyHelp:`The name the site's pages and exports use for it.`,fieldHelp:`Help text`,fieldHelpHelp:`A short note shown with the field.`,fieldKind:`Kind`,fieldKindIs:e=>`Kind: ${e}. A different kind is a new field.`,fieldRequired:`A visitor must fill this in`,fieldNameNeeded:`Give the field a label.`,fieldKeyNeeded:`Give the field a key.`,fieldAdd:`Add field`,fieldSave:`Save field`,fieldAdded:e=>`${e} added`,fieldSaved:e=>`${e} saved`,fieldNotSaved:`Not saved`,moveUp:e=>`Move ${e} up`,moveDown:e=>`Move ${e} down`,edit:e=>`Change ${e}`,remove:e=>`Remove ${e}`,removeTitle:e=>`Remove ${e}?`,removeDescription:`Visitors are no longer asked for it. What was already sent under it is kept and still exported.`,removeConfirm:`Remove field`,removed:e=>`${e} removed`,notRemoved:`Not removed`,notMoved:`Not moved`,settingsTitle:e=>`Settings of ${e}`,isOpen:`Taking submissions`,isOpenHelp:`Switched off, the form leaves the site and what is sent to it is refused.`,notify:`Who is emailed`,notifyHelp:`One email address on each line. Each is told when the form is sent. Leave empty to tell nobody.`,senderName:`Field with the sender's name`,senderEmail:`Field with the sender's email`,senderPhone:`Field with the sender's phone`,senderHelp:`So a submission can be tied to a person, and a reply goes to them.`,noField:`None`,success:`Thank-you message`,successHelp:`What a visitor reads after sending. Left empty, the site's own words are used.`,submitLabel:`Button label`,submitLabelHelp:`Left empty, the site's own word is used.`,fills:e=>`Field that fills a contact's "${e}"`,fillsHelp:`The answer is kept on the sender's contact, in a field you added to contacts. It never replaces what is already there.`,startsDeal:`Start a deal about the page it was sent from`,startsDealHelp:`When this form is sent from the page of something deals can be about, such as a listing, the sender gets a deal about it. Turn that on for a kind of content in its settings.`,retention:`Days to keep submissions`,retentionHelp:`Older ones are deleted. Leave empty to keep them until someone deletes them.`,save:`Save settings`,saved:`Settings saved`,notSaved:`Not saved`},media:{title:`Media`,description:e=>e===1?`1 image`:`${e} images`,upload:`Upload an image`,uploadHint:e=>`JPEG, PNG or WebP, up to ${e} MB.`,uploaded:e=>`${e} was uploaded`,uploadedDescription:`Choose it in any image field.`,notUploaded:`The image was not uploaded`,notRead:`The file could not be read. Choose it again.`,search:`Search images`,searchPlaceholder:`Search by name`,clearSearch:`Clear search`,grid:`Images`,emptyTitle:`No images yet`,emptyDescription:`Images you upload here can be chosen in any image field.`,emptyNoUploads:`This site has nowhere to keep uploads yet. Images in the site's image folder appear here.`,noMatches:`No images match your search.`,fromSite:`Comes with the site`,dimensions:(e,t)=>`${e} × ${t}`,detailName:`Name`,detailNameHelp:`What an image field stores, and what the site's pages look it up by.`,detailSize:`Size`,detailFile:`File`,detailUploaded:`Uploaded`,fromSiteHelp:`It is part of the site's own files, so it is changed there and can't be removed here.`,kilobytes:e=>`${e} KB`,megabytes:e=>`${e} MB`,close:`Close`,remove:`Remove image`,removeTitle:e=>`Remove ${e}?`,removeDescription:`The file is deleted for good. An entry that shows this image will show nothing in its place until another is chosen.`,removed:e=>`${e} was removed`,notRemoved:`The image was not removed`},customFields:{button:`Custom fields`,close:`Close`,nameHelp:`What the team reads above the field.`,removeDescription:`The field is no longer shown or exported. What was filled in under it is kept.`,contact:{name:`Contacts`,title:`Custom fields for contacts`,help:`What you keep about each contact beyond their name, email and phone, such as a membership type or a budget.`,emptyDescription:`Add what you want to know about each contact. It shows on every contact, ready to fill in.`},deal:{name:`Deals`,title:`Custom fields for deals`,help:`What you keep about each deal beyond its name, value and stage, such as a product or a number of seats.`,emptyDescription:`Add what you want to know about each deal. It shows in every deal, ready to fill in.`}},plugins:{title:`Plugins`,description:`What you can add to this site. Activate a plugin to switch it on, and switch it off again at any time.`,may:e=>`May ${e.map(e=>`${e.charAt(0).toLowerCase()}${e.slice(1)}`).join(`, `)}`,version:e=>`Version ${e}`,states:{on:`Active`,off:`Available`,failed:`Could not start`,unsupported:`Needs another version`,invalid:`Left out`},active:e=>`${e} is active`,activated:e=>`${e} is active`,activatedDescription:`It is running on the whole site now.`,deactivated:e=>`${e} was switched off`,deactivatedDescription:`Its settings are kept for when you activate it again.`,notActivated:e=>`${e} could not start`,notSwitched:`The plugin was not switched`,settings:`Settings`,settingsTitle:e=>`${e} settings`,settingsSave:`Save settings`,settingsSaved:e=>`${e} settings saved`,settingsNotSaved:`The settings were not saved`,secretsTitle:`Keys and passwords`,secretsHelp:`Each is saved by itself, sealed, and never shown again.`,secretSaved:`Saved. It is not shown again.`,secretSave:e=>`Save ${e}`,secretReplace:e=>`Replace ${e}`,secretRemove:e=>`Remove ${e}`,secretKeep:`Keep the saved one`,secretWasSaved:e=>`${e} saved`,secretWasRemoved:e=>`${e} removed`,secretNotSaved:e=>`${e} was not saved`,activity:`Activity`,activityTitle:e=>`${e} activity`,activityHelp:`What this plugin was asked to send or do. Something that fails is tried again for about a day before it is given up on.`,activityEmptyTitle:`Nothing yet`,activityEmptyDescription:`What this plugin sends or does will be listed here as it happens.`,activityClose:`Close`,taskWhat:`What`,taskState:`State`,taskWhen:`Asked`,taskActions:`Try again`,taskStates:{waiting:`Waiting`,done:`Done`,failed:`Gave up`},taskTries:e=>e===1?`Tried once`:`Tried ${e} times`,taskNext:e=>`Next try ${e}`,taskNextSoon:`Next try within a minute`,taskRetry:e=>`Try ${e} again`,taskRetried:`It worked this time`,taskRetriedWaiting:`It failed again`,taskNotRetried:`It could not be tried again`,hasFailed:`Has failed`,failedAt:(e,t,n,r)=>`Failed ${e===1?`once`:`${e} times`} since the site started, last ${n} on "${t}": ${r}`,mayNothing:`Change nothing`,permissions:{"schema:write":`Change content types`,"entry:read":`Read content`,"entry:write":`Write drafts`,"entry:publish":`Publish`,"entry:delete":`Delete for good`,"form:write":`Change forms`,"submission:read":`Read what visitors send through forms`,"submission:manage":`Handle and delete what visitors send`,"contact:read":`Read contacts`,"contact:manage":`Change and erase contacts`,"user:manage":`Manage people`,"plugin:manage":`Manage plugins`,"settings:manage":`Change the site's settings`},adds:e=>`Adds ${e.join(`, `)}.`,addsScreen:e=>`the "${e}" screen in the sidebar`,addsPanel:e=>`the "${e}" panel on entries`,addsFieldTypes:e=>e===1?`a kind of field`:`${e} kinds of field`,addsChecks:e=>e===1?`a check before publishing`:`${e} checks before publishing`,addsPageHead:`titles and descriptions for search engines on the site's pages`,addsTasks:`deliveries that are tried again when they fail`,open:e=>`Open ${e}`,editorFailed:e=>`Its part of the editor could not be loaded: ${e}`,screenMissingTitle:`This screen is not here`,screenMissingDescription:`The plugin that added it may have been switched off. An owner can activate it again under Plugins.`,emptyTitle:`No plugins yet`,emptyDescription:`Plugins that are available for this site will be listed here, ready to activate.`},settings:{title:`Settings`,description:`What this site is and what it needs to run, set up here instead of on the server.`,tabsLabel:`Parts of the settings`,areas:{general:`General`,email:`Email`,storage:`Storage`,forms:`Forms and spam`,tokens:`Access tokens`},namesSite:e=>`${e} is also what this editor and the site's emails call the site, once it is published.`,ownersTitle:`Settings are for owners`,ownersDescription:`An owner of this site sets up its email, storage and forms here. Ask one if something needs changing.`,general:{title:`Site name`,description:`What this site is called in the editor, in the emails it sends and when someone adds a passkey.`,states:{server:`Set on the server`,code:`Set in the site's code`,host:`Set by your host`},fixed:e=>`Your host names this site: ${e}. Change it where you manage the site with your host.`,name:`Site name`,nameHelp:`Leave this empty to use the name the site's code gives.`,nameHelpWithDefault:e=>`Leave this empty to use the name the site's code gives: ${e}.`,save:`Save site name`,saved:`Site name saved`,savedDescription:`Emails use it from now on. The editor shows it once you reload the page.`,notSaved:`Site name not saved`},email:{title:`Email`,description:`Sign-in links, invitations and notices from forms are sent this way.`,states:{sending:`Sending`,off:`Not set up`,server:`Set on the server`,code:`Set in the site's code`,host:`Handled by your host`},offHelp:`Until this is set up, nobody is emailed: sign-in links are printed in the server's log, and notices from forms are not sent.`,fixed:{server:`This site's email is set up on the server, with the VELOCITY_CMS_RESEND_API_KEY and VELOCITY_CMS_EMAIL_FROM settings. They win over anything saved here. To set email up in the editor instead, remove both from the server.`,code:`This site sends email with a mailer of its own, named in its Astro config. It wins over anything saved here. To set email up in the editor instead, take the mailer out of the config.`,host:`Your host sends this site's email, so there is nothing to set up here.`},provider:`Email service`,providers:{resend:`Resend`},providerHelp:`Make an account with the service, verify your domain there, then create an API key.`,providerLinks:{resend:`https://resend.com/api-keys`},providerLink:e=>`Open your API keys at ${e}`,key:`API key`,keyHelp:`It is kept encrypted and never shown again once it is saved.`,keySaved:`A key is saved. It is kept encrypted and is not shown again.`,keyReplace:`Replace the key`,keyKeep:`Keep the saved key`,from:`Sender`,fromHelp:`The address your emails come from, on the domain you verified. Add a name if you like: Lakeshore Realty <hello@lakeshore.example>.`,save:`Save email settings`,saved:`Email settings saved`,savedDescription:`Email is now sent through these settings. Send a test to see it arrive.`,notSaved:`Email settings not saved`,test:`Send a test email`,testHelp:e=>`A test goes to you, at ${e}, and to nobody else.`,testAfterSave:`Save your changes before sending a test.`,testSent:`Test email sent`,testSentDescription:e=>`Look for it at ${e}. It can take a minute, and it may land in spam the first time.`,testNotSent:`Test email not sent`,stop:`Stop sending email`,stopTitle:`Stop sending email?`,stopDescription:`The saved API key is removed. Sign-in links will be printed in the server's log instead of emailed, so people can sign in only with a passkey or with help from whoever runs the server. Notices from forms stop too.`,stopConfirm:`Remove the key`,stopped:`Email is no longer sent`,stoppedDescription:`The API key was removed. Paste a new one to send email again.`},storage:{title:`Uploads`,description:`Where the images people upload in the editor are kept.`,states:{bucket:`Kept in your bucket`,folder:`Kept on the server's disk`,none:`No uploads yet`,server:`Set on the server`,code:`Set in the site's code`,host:`Handled by your host`},keepingHelp:{bucket:`Uploads are kept in the bucket below, which stays private: the site reads from it and serves the images itself.`,folder:`Uploads are kept in a folder on the server's disk. That suits a server of your own. On a host with no lasting disk, such as Vercel or Netlify, name a bucket here so uploads are not lost on the next deploy.`,none:`This site has nowhere to keep uploads, so people can only choose from the images it came with. Name a bucket here to take uploads.`},fixed:{server:`This site's uploads are set up on the server, with the VELOCITY_CMS_S3_ settings. They win over anything saved here. To choose the bucket in the editor instead, remove them from the server.`,code:`This site's code decides where uploads are kept, so there is nothing to set up here.`,host:`Your host keeps this site's uploads, so there is nothing to set up here.`},endpoint:`Service address`,endpointHelp:`Any service that speaks the S3 protocol. Cloudflare R2: https://<account id>.r2.cloudflarestorage.com. Amazon S3: https://s3.<region>.amazonaws.com.`,bucket:`Bucket name`,region:`Region`,regionHelp:`Leave this empty for Cloudflare R2. For Amazon S3, give the region the bucket is in, such as eu-west-1.`,accessKeyId:`Access key ID`,accessKeyIdHelp:`From a key that may read, write and delete in this bucket, and nothing else.`,secret:`Secret access key`,secretHelp:`It is kept encrypted and never shown again once it is saved.`,secretSaved:`A secret key is saved. It is kept encrypted and is not shown again.`,secretReplace:`Replace the secret key`,secretKeep:`Keep the saved secret key`,save:`Save storage settings`,saved:`Storage settings saved`,savedDescription:`New uploads go to this bucket. Test it to see that the keys work.`,notSaved:`Storage settings not saved`,test:`Test the bucket`,testAfterSave:`Save your changes before testing the bucket.`,testWorked:`The bucket works`,testWorkedDescription:`A small file was kept there, read back and removed.`,testFailed:`The bucket could not be used`,moveHelp:`Images uploaded so far are not moved. Ones on the server's disk keep showing from there; ones in another bucket need copying to the new one.`,stop:`Stop using this bucket`,stopTitle:`Stop using this bucket?`,stopDescription:`The saved secret key is removed. Images kept in the bucket stop showing on the site until it is connected again, and new uploads go to the server's disk, if it has one.`,stopConfirm:`Remove the secret key`,stopped:`The bucket is no longer used`,stoppedDescription:`The secret key was removed. Paste one to use the bucket again.`},forms:{title:`Spam check`,description:`Ask whoever sends a form to pass Cloudflare Turnstile, a check that they are a person. Most people never see it.`,states:{checking:`Checking senders`,off:`No spam check`},help:{checking:`Every form on the site shows the check. What is sent without passing it is kept under Spam, never lost. Someone whose browser runs no scripts cannot pass, so look at Spam now and then.`,off:`Forms already catch simple bots with a hidden field and a timer. To add Turnstile, make a widget for this site's domain in the Cloudflare dashboard, under Turnstile, and paste its two keys here. It is free.`},siteKey:`Site key`,siteKeyHelp:`The public one. It is part of every page that has a form.`,secret:`Secret key`,secretHelp:`It is kept encrypted and never shown again once it is saved.`,secretSaved:`A secret key is saved. It is kept encrypted and is not shown again.`,secretReplace:`Replace the secret key`,secretKeep:`Keep the saved secret key`,save:`Save spam check`,saved:`Spam check saved`,savedDescription:`Forms now show the check. Check the keys to see that Cloudflare knows them.`,notSaved:`Spam check not saved`,test:`Check the keys`,testAfterSave:`Save your changes before checking the keys.`,testHelp:`Checking asks Cloudflare whether it knows the secret key. To see the site key work, open a page with a form.`,testWorked:`Cloudflare knows the secret key`,testWorkedDescription:`Open a page with a form to see the check appear.`,testFailed:`The keys could not be checked`,stop:`Stop checking`,stopTitle:`Stop checking senders?`,stopDescription:`Both keys are removed and forms no longer show the check. The hidden field, the timer and the limit below still stand.`,stopConfirm:`Remove the keys`,stopped:`Senders are no longer checked`,stoppedDescription:`Both keys were removed. Paste them again to bring the check back.`,limitTitle:`Limit`,limitDescription:`How much one visitor can send before the forms ask them to wait.`,limit:`Messages from one address in ten minutes`,limitHelp:e=>`From 1 to ${e}. The CMS comes with 8. Raise it for an office where many people share one connection.`,limitSave:`Save limit`,limitSaved:`Limit saved`,limitSavedDescription:e=>e===1?`Forms take 1 message from one address in ten minutes.`:`Forms take ${e} messages from one address in ten minutes.`,limitNotSaved:`Limit not saved`},tokens:{title:`Access tokens`,description:`Let an AI agent or a script work with this site's content: Claude, ChatGPT, Cursor, or the velocity-cms command. A token acts through the same rules as a person.`,make:`Make a token`,empty:`No tokens yet`,emptyDescription:`Make one to connect an AI agent to this site. What it writes is a draft until someone publishes it, unless you allow it to publish.`,columnName:`Name`,columnMay:`May`,columnEnds:`Ends`,columnActions:`Take away`,hint:e=>`Ends in …${e}`,madeBy:e=>`Made by ${e}`,madeOnServer:`Made from the command line`,lastUsed:e=>`Last used ${e}`,neverUsed:`Not used yet`,roles:{owner:`Owner`,editor:`Writes and edits`,author:`Writes drafts`},publishes:`Publishes`,drafts:`Drafts only`,personal:`Contacts and forms`,revoke:e=>`Take away ${e}`,revokeTitle:e=>`Take away ${e}?`,revokeDescription:`Whatever uses it is refused from its next request. What it wrote stays.`,revokeConfirm:`Take it away`,revoked:e=>`${e} was taken away`,notRevoked:`Not taken away`,makeTitle:`Make an access token`,name:`What it is for`,nameHelp:`So you know it later, such as "Claude on my laptop".`,role:`What it may do`,roleMeans:{owner:``,editor:`Writes and edits every kind of content, and manages forms.`,author:`Writes and edits content, and nothing else.`},publish:`May publish`,publishHelp:`Left off, everything it writes waits as a draft for someone to publish.`,personalData:`May read contacts, deals and what forms received`,personalDataHelp:`These are people's personal details. Allow it only for an agent you trust with them.`,days:`Works for (days)`,daysHelp:`From 1 to 365. Make a new one when it ends.`,makeSend:`Make token`,made:`Token made`,notMade:`Token not made`,shownTitle:`Copy your token now`,shownDescription:`It is not shown again. Keep it like a password: whoever has it can do what it allows.`,shownField:`Token`,shownMcp:`To connect an agent, give it this site's MCP address and the token:`,mcpField:`MCP address`,mcpAddress:e=>`${e}/api/cms/mcp`,shownCommand:`Or for the velocity-cms command, put it in the site's .env as VELOCITY_CMS_TOKEN.`,done:`I have copied it`}},people:{title:`People`,description:`Everyone who can sign in to this site, and what each may do.`,invite:`Invite someone`,columnName:`Name`,columnRole:`Role`,columnActions:`Remove`,you:`You`,invitedTag:`Invited`,invitedHelp:`Has not signed in yet.`,roles:{owner:`Owner`,editor:`Editor`,author:`Author`},roleMeans:{owner:`Owners can do everything, including inviting and removing people.`,editor:`Editors write and publish content.`,author:`Authors write drafts. Someone else publishes them.`},roleOf:e=>`Role of ${e}`,roleChanged:(e,t)=>`${e}'s role is now ${t}`,roleNotChanged:`The role was not changed`,remove:e=>`Remove ${e}`,removeTitle:e=>`Remove ${e}?`,removeDescription:`They are signed out everywhere at once and can no longer sign in. What they wrote stays.`,removeConfirm:`Remove`,removed:e=>`${e} was removed`,notRemoved:`Not removed`,inviteTitle:`Invite someone`,name:`Name`,email:`Email`,emailHelp:`They sign in with a link sent to this address. There is no password.`,role:`Role`,inviteSend:`Send invitation`,invited:e=>`${e} was invited`,invitedDescription:e=>`An invitation is on its way to ${e}.`},builder:{title:`Content types`,description:`The kinds of content this site has, and the fields each one is made of.`,newType:`New content type`,columnName:`Name`,columnFields:`Fields`,columnAddress:`Address`,noAddress:`No page of its own`,fieldCount:e=>e===1?`1 field`:`${e} fields`,emptyTitle:`No content types yet`,emptyDescription:`A content type is one kind of thing the site shows, such as news, team members or testimonials.`,newTypeTitle:`New content type`,typeName:`Name`,typeNameHelp:`What its entries are, in the plural: "Testimonials".`,typeKey:`Key`,typeKeyHelp:`What the site's code calls it. It cannot be changed later.`,archive:`Archive`,archiveTitle:e=>`Archive ${e}?`,archiveDescription:`It leaves the editor, and its pages leave the site. Its fields and entries are kept, so you can restore it later from Content types.`,archiveConfirm:`Archive content type`,archived:e=>`${e} was archived`,archivedDescription:`Restore it from the list of archived content types.`,notArchived:`The content type was not archived`,archivedTitle:`Archived`,archivedHelp:`Out of the editor and off the site, with everything kept.`,archivedTypes:`Archived content types`,columnArchived:`Archived`,restoreType:e=>`Restore ${e}`,typeRestored:e=>`${e} was restored`,typeRestoredDescription:`It is back in the editor, and its published entries are back on the site.`,typeNotRestored:`The content type was not restored`,typeKind:`Kind`,kindCollection:`Many entries`,kindSingle:`One page`,kindCollectionHelp:`A collection, such as news posts or listings. It has a list, and each entry can have a page of its own.`,kindSingleHelp:`A single page, such as the home page or the contact page. It has one entry in each language.`,typeNameHelpSingle:`What the page is: "About".`,typeAddressSingle:`Address of the page`,typeAddressHelpSingle:`Where the page lives on the site, such as /about. Leave empty when it is only shown as part of other pages.`,typeAddress:`Address of its pages`,typeAddressHelp:`Where one entry lives on the site, such as /news/[slug]. Write [...slug] where pages may sit under other pages, as in /services/roofing. Leave empty when entries have no page of their own.`,typeCreate:`Create content type`,typeCreated:e=>`${e} was created`,typeCreatedDescription:`Add its fields next.`,typeNotCreated:`The content type was not created`,settings:`Settings`,settingsTitle:e=>`Settings for ${e}`,settingsSave:`Save settings`,settingsSaved:`Settings saved`,settingsNotSaved:`The settings were not saved`,keyIs:e=>`Key: ${e}`,viewEntries:`View entries`,notFoundTitle:`This content type does not exist`,notFoundDescription:`Check the address, or choose a content type from the list.`,backToTypes:`All content types`,backTo:e=>`Back to ${e}`,insideOf:(e,t)=>`The fields each ${e} of ${t} is made of.`,fieldsInside:e=>`Fields inside ${e}`,holdsFields:e=>e===1?`Holds 1 field`:`Holds ${e} fields`,sections:`Sections`,sectionsTitle:`Sections`,sectionsDescription:`The headings the editor groups this type's fields under. Removing a section removes no field: its fields move after the others.`,sectionsEmpty:`No sections. Every field is shown in one list.`,sectionAdd:`Add section`,sectionName:e=>`Name of section ${e}`,sectionAside:e=>`Show section ${e} beside the content`,sectionAsideLabel:`Beside the content`,sectionRemove:e=>`Remove section ${e}`,sectionMoveUp:e=>`Move section ${e} up`,sectionMoveDown:e=>`Move section ${e} down`,sectionsSave:`Save sections`,sectionsSaved:`Sections saved`,sectionsNotSaved:`The sections were not saved`,sectionNameNeeded:`Give every section a name.`,titleField:`Entries are called by`,titleFieldHelp:`The field whose value names an entry in lists.`,titleAutomatic:`The first text field`,listImage:`Picture in lists`,listImageHelp:`An image field shown before each entry's name.`,listImageNone:`No picture`,listColumns:`Columns in lists`,listColumnsHelp:`Fields that get a column each in the list of entries.`,crm:`Deals`,forDeals:`Deals can be about these`,forDealsHelp:`A deal can then name one of these entries as what it is about, and each entry lists the deals about it.`,fields:`Fields`,fieldsOf:e=>`Fields in ${e}`,otherFields:`Other fields`,otherFieldsDescription:`Shown after the sections.`,noFieldsTitle:`No fields yet`,noFieldsDescription:`Fields are what someone fills in for each entry: a title, a photo, a date.`,noFieldsHere:`No fields here yet.`,addField:`Add field`,columnField:`Field`,columnKind:`Kind`,columnRules:`Rules`,columnActions:`Actions`,required:`Required`,sameInEveryLanguage:`Same in every language`,moveUp:e=>`Move ${e} up`,moveDown:e=>`Move ${e} down`,edit:e=>`Edit ${e}`,remove:e=>`Remove ${e}`,notMoved:`The field was not moved`,addFieldTitle:`Add a field`,editFieldTitle:e=>`Edit ${e}`,kind:`Kind of field`,kindIs:e=>`Kind: ${e}. A field keeps its kind, so its content stays readable.`,fieldName:`Name`,fieldNameHelp:`What the editor calls this field.`,fieldKey:`Key`,fieldKeyHelp:`What the site's code calls it.`,fieldKeyHelpEdit:`What the site's code calls it. Pages that read this field need the new key if you change it. The content stays.`,fieldHelp:`Help text`,fieldHelpHelp:`A sentence under the field on what to put in it. Optional.`,fieldRequired:`Must be filled in before publishing`,fieldTranslated:`Each language has its own value`,section:`Section`,sectionHelp:`Where the editor shows this field.`,noSection:`After the sections`,fieldAdd:`Add field`,fieldSave:`Save field`,fieldAdded:e=>`${e} was added`,fieldNotAdded:`The field was not added`,fieldSaved:e=>`${e} was saved`,fieldNotSaved:`The field was not saved`,nameNeeded:`Give the field a name.`,typeNameNeeded:`Give the content type a name.`,keyNeeded:`Give it a key: lowercase letters and numbers, starting with a letter.`,settingsElsewhere:`This kind of field has settings that cannot be changed here yet. They are kept as they are.`,removeTitle:e=>`Remove ${e}?`,removeDescription:`The field disappears from the editor and the site. Its content is kept, so you can restore the field later.`,removeConfirm:`Remove field`,removed:e=>`${e} was removed`,notRemoved:`The field was not removed`,removedFields:`Removed fields`,removedFieldsDescription:`Their content is kept. Restore one to bring it back as it was.`,restore:`Restore`,restoreField:e=>`Restore ${e}`,restored:e=>`${e} was restored`,notRestored:`The field was not restored`,kinds:{text:{name:`Text`,description:`A line or a few paragraphs of plain words.`},richtext:{name:`Formatted text`,description:`Text with headings, lists, bold and links.`},number:{name:`Number`,description:`A price, a count, a measurement.`},boolean:{name:`Yes or no`,description:`A switch that is on or off.`},date:{name:`Date`,description:`A day on the calendar.`},url:{name:`Web address`,description:`A link to a page anywhere.`},email:{name:`Email address`,description:`An address to write to, such as an agent's.`},phone:{name:`Phone number`,description:`A number to call, as you would write it.`},select:{name:`Choice`,description:`One option from a list you write.`},color:{name:`Colour`,description:`A colour of the site, such as its brand colour, typed or picked.`},font:{name:`Font`,description:`One of the fonts the site's template offers, such as for headings.`},image:{name:`Image`,description:`One of the site's images, or a new upload.`},reference:{name:`Link to an entry`,description:`An entry of another content type, such as a listing's agent.`},link:{name:`Link`,description:`A page of this site, or an address anywhere. For menus and buttons.`},form:{name:`Form`,description:`One of the site's forms, for a section that shows it.`},list:{name:`List`,description:`Several of the same thing, in order: photos, features.`},group:{name:`Group`,description:`Several fields kept together, such as an address.`},blocks:{name:`Sections`,description:`The sections of a page, in order, each one a block the site's template provides.`}},textMultiline:`Several lines`,textMaxLength:`Longest text allowed`,textMaxLengthHelp:`In characters. Leave empty for no limit.`,richTextFormats:`What the text can have`,richTextFormatsHelp:`Paragraphs always. Untick what the page has no room for: the editor stops offering it, and anything pasted becomes plain paragraphs.`,richTextFormat:{bold:`Bold`,italic:`Italics`,link:`Links`,headings:`Headings`,lists:`Lists`,quotes:`Quotes`},numberMin:`Smallest number allowed`,numberMax:`Largest number allowed`,numberInteger:`Whole numbers only`,choices:`Options`,choicesHelp:`One per line. Entries store the option exactly as written here.`,choicesNeeded:`Write at least one option.`,referenceTo:`Links to entries of`,referenceNeeded:`Choose which content type it links to.`,listOf:`Each item is`,listOfHelp:`What the list holds. It cannot be changed once the field exists.`,listOfNeeded:`Choose what each item is.`},home:{greeting:{morning:e=>`Good morning, ${e}`,afternoon:e=>`Good afternoon, ${e}`,evening:e=>`Good evening, ${e}`},description:e=>`Here is where ${e} stands.`,headline:(e,t)=>t===0?`${e}. Everything is published.`:`${e}. ${t===1?`1 draft is`:`${t} drafts are`} waiting.`,siteWindowTitle:e=>`The home page of ${e}, as visitors see it`,editHomeShort:`Edit this page`,openSite:`Open the site`,publishedWhen:e=>`Published ${e}`,carryOn:e=>`Continue “${e}”`,asideLabel:`What came in`,byTypeTitle:`Content by type`,byTypeHelp:`How many entries each kind of content has.`,byTypeEmpty:`No entries yet.`,submissionsTitle:`Submissions`,submissionsHelp:e=>e===1?`1 in the last 14 days, spam left out`:`${e} in the last 14 days, spam left out`,submissionsOn:(e,t)=>`${e}: ${t===1?`1 submission`:`${t} submissions`}`,inboxTitle:`Inbox`,inboxNew:e=>`${e} new from your forms`,inboxEmpty:`Nothing new. Everything sent through your forms has been seen.`,allForms:`All forms`,pipelineTitle:`Pipeline`,pipelineDetail:(e,t)=>`${e} in open deals · ${t} forecast`,published:`Published`,publishedDetail:`On the site now`,drafts:`Drafts`,draftsDetail:`Not on the site yet`,changed:`Unpublished changes`,changedDetail:`Saved, waiting to be published`,editHome:`Edit the home page`,viewSite:`View the site`,recentTitle:`Recent changes`,recentEmpty:`Nothing has been written yet`,recentEmptyDescription:`Entries appear here as soon as someone saves one.`,columnType:`Type`,followUpsTitle:`Follow-ups`,followUpsHelp:`Contacts you look after that are due today or overdue.`,followUpsMore:e=>e===1?`1 more in Contacts`:`${e} more in Contacts`,allContacts:`All contacts`},status:{draft:`Draft`,scheduled:`Scheduled`,published:`Published`,unpublishedChanges:`Unpublished changes`}},E6=(0,x.createContext)({messages:T6,locale:`en`});function D6({messages:e=T6,locale:t=`en`,children:n}){return(0,S.jsx)(E6,{value:{messages:e,locale:t},children:n})}function Q(){return(0,x.useContext)(E6).messages}function O6(){return(0,x.useContext)(E6).locale}function k6(){return new m_(`field control`)}var A6=(0,x.createContext)(null);function j6({controls:e,children:t}){return(0,S.jsx)(A6,{value:e,children:t})}function M6(){let e=(0,x.useContext)(A6);if(!e)throw Error(`useFieldControls() was called outside <AdminApp>. Render the screen inside it.`);return e}function N6(e){let[t,n]=(0,x.useState)(!0);return{close:()=>n(!1),dialog:{isOpen:t,onOpenChange:n,onClosed:e}}}function P6(e){let[t,n]=(0,x.useState)(e);return e!==null&&e!==t&&n(e),e??t}var F6={"align-left":kx,"badge-check":fee,blocks:Sv,"building-2":wv,"calendar-days":Dv,"chart-no-axes-column":mee,"circle-help":Wv,"columns-2":Kv,"columns-3":Jv,contact:Xv,"gallery-horizontal":gy,hash:Sy,heading:Jy,house:wy,image:Oy,images:Ay,"layout-grid":Hy,"layout-list":Wy,"layout-template":Ky,list:ib,"list-checks":Xy,mail:_ee,"map-pin":db,megaphone:yee,"message-circle":gb,"message-square-quote":xee,"mouse-pointer-click":Tee,newspaper:Eee,"panel-top":jb,phone:zb,play:Vb,quote:Yb,"rows-3":rx,sparkles:Oee,star:kee,table:Aee,tag:Dx,text:kx,type:Mee,users:Ux};function I6(e){return(e===void 0?void 0:F6[e])??Sv}var L6=e=>typeof e==`object`&&!!e&&typeof e.id==`string`&&typeof e.block==`string`;function R6(e,t,n,r){let i={};for(let a of f_([...e])){let e=n[a.id];if(e===void 0)continue;let o=f_([...t]).find(e=>e.key===a.key&&e.type===a.type);if(!o)return;let s=r(a.type)?.carried,c=s?s(a,o,e,r):e;if(c===void 0)return;i[o.id]=c}return i}function z6(e,t,n,r){let i=e.find(e=>e.id===n.block),a=i&&t.find(e=>e.key===i.key&&e.retiredAt===void 0);if(!i||!a)return;if(a.id===i.id)return n;let o=R6(i.fields,a.fields,n.data,r);return o&&{...n,block:a.id,data:o}}var B6=e=>Array.isArray(e.options.fields)?e.options.fields:[],V6=e=>Array.isArray(e.options.blocks)?e.options.blocks:[],H6=(e,t,n,r)=>typeof n==`object`&&n?R6(B6(e),B6(t),n,r):n,U6=(e,t,n,r)=>{if(!Array.isArray(n))return n;let i=e=>{let t=e.options.of??{type:`text`};return{...e,type:t.type,options:t.options??{}}},a=r(i(e).type)?.carried;if(!a||i(e).type!==i(t).type)return i(e).type===i(t).type?n:void 0;let o=n.map(n=>a(i(e),i(t),n,r));return o.includes(void 0)?void 0:o},W6=(e,t,n,r)=>{if(!Array.isArray(n))return n;let i=n.map(n=>L6(n)?z6(V6(e),V6(t),n,r):void 0);return i.includes(void 0)?void 0:i};function G6({field:e,value:t,onChange:n,path:r,problems:i,isLabelHidden:a=!1}){let o=Q(),s=O6(),c=M6(),l=ns(),u=Z(e.label,s),d=l.data?.find(t=>t.type===e.type)?.editor;if(d===void 0||!c.has(d))return(0,S.jsx)(OQ,{legend:u,description:o.editor.unsupportedField});let{Component:f}=c.get(d),p=e.help?Z(e.help,s):void 0;return(0,S.jsx)(f,{field:e,label:u,help:p,isLabelHidden:a,value:t,onChange:n,path:r,problem:i.get(r),problems:i})}var K6=(0,x.createContext)(3);function q6({fields:e,values:t,onChange:n,pathOf:r,problems:i,perRow:a,spotlight:o}){let s=(0,x.useContext)(K6),c=a??s,l=M6(),u=ns(),d=e=>{let t=u.data?.find(t=>t.type===e.type)?.editor;return t!==void 0&&l.has(t)&&l.get(t).width===`compact`},f=[];for(let t of e){let e=f.at(-1),[n]=e??[];e&&n&&d(t)&&d(n)&&e.length<c?e.push(t):f.push([t])}let p=e=>(0,S.jsx)(G6,{field:e,value:t[e.id],onChange:t=>n(e,t),path:r(e),problems:i},e.id),m=e=>o===void 0?p(e):(0,S.jsx)(G$,{at:o.key===e.key?o.at:void 0,children:p(e)},e.id);return(0,S.jsx)(K6,{value:c,children:(0,S.jsx)(J,{gap:5,children:f.map(e=>{let[t]=e;return t?d(t)&&c>1?(0,S.jsx)(PQ,{columns:c,gap:4,children:e.map(m)},t.id):m(t):null})})})}function J6(){let e=M6(),t=ns();return n=>{let r=t.data?.find(e=>e.type===n)?.editor;return r!==void 0&&e.has(r)?e.get(r):void 0}}function Y6({field:e,value:t}){let n=J6()(e.type);return t==null||t===``?null:n?.Summary?(0,S.jsx)(n.Summary,{field:e,value:t}):typeof t!=`string`&&typeof t!=`number`?null:(0,S.jsx)(Y,{size:`sm`,children:String(t)})}var X6={},Z6=(0,x.createContext)(null);function Q6({children:e}){let[t,n]=(0,x.useState)(void 0),[r,i]=(0,x.useState)(void 0),[a,o]=(0,x.useState)(0),[s,c]=(0,x.useState)(X6),l=(0,x.useRef)(new Set),[u,d]=(0,x.useState)(void 0),f=(0,x.useRef)(new Set),p=(0,x.useRef)(new Set),m=(0,x.useRef)(new Set),h=(0,x.useRef)(new Set),g=(0,x.useRef)(new Set),_=(0,x.useRef)(new Set),v=(0,x.useRef)(new Set),y=(0,x.useMemo)(()=>({pressed:t,press:(e,t)=>n(n=>({id:e,...t!==void 0&&{field:t},at:(n?.at??0)+1})),opened:r,openedAt:a,open:e=>{i(e),o(e=>e+1)},typable:s,setTypable:e=>c(t=>JSON.stringify(t)===JSON.stringify(e)?t:e),typed:(e,t,n)=>l.current.forEach(r=>r(e,t,n)),onTyped:e=>(l.current.add(e),()=>void l.current.delete(e)),tools:u,setTools:e=>d(t=>JSON.stringify(t)===JSON.stringify(e)?t:e),acted:(e,t)=>f.current.forEach(n=>n(e,t)),onActed:e=>(f.current.add(e),()=>void f.current.delete(e)),dragged:(e,t,n)=>p.current.forEach(r=>r(e,t,n)),onDragged:e=>(p.current.add(e),()=>void p.current.delete(e)),pictured:(e,t)=>m.current.forEach(n=>n(e,t)),onPictured:e=>(m.current.add(e),()=>void m.current.delete(e)),linked:(e,t)=>h.current.forEach(n=>n(e,t)),onLinked:e=>(h.current.add(e),()=>void h.current.delete(e)),itemActed:(e,t,n,r)=>g.current.forEach(i=>i(e,t,n,r)),onItemActed:e=>(g.current.add(e),()=>void g.current.delete(e)),swatched:(e,t,n)=>_.current.forEach(r=>r(e,t,n)),onSwatched:e=>(_.current.add(e),()=>void _.current.delete(e)),slotted:(e,t)=>v.current.forEach(n=>n(e,t)),onSlotted:e=>(v.current.add(e),()=>void v.current.delete(e))}),[t,r,a,s,u]);return(0,S.jsx)(Z6,{value:y,children:e})}function $6(){return(0,x.useContext)(Z6)}var e8=()=>()=>void 0;function t8({children:e}){let t=(0,x.useContext)(Z6),n=(0,x.useMemo)(()=>t&&{...t,setTypable:()=>void 0,setTools:()=>void 0,onTyped:e8,onActed:e8,onDragged:e8,onPictured:e8,onLinked:e8,onItemActed:e8,onSwatched:e8,onSlotted:e8,isInside:!0},[t]);return(0,S.jsx)(Z6,{value:n,children:e})}var n8=.86,r8=(e,t)=>`${e.replace(/\.[^.]*$/,``)}.${t}`;function i8(e,t,n){let r=document.createElement(`canvas`);r.width=Math.max(1,Math.round(e.width*t)),r.height=Math.max(1,Math.round(e.height*t));let i=r.getContext(`2d`);return i?(n===`image/jpeg`&&(i.fillStyle=`#fff`,i.fillRect(0,0,r.width,r.height)),i.drawImage(e,0,0,r.width,r.height),new Promise(e=>r.toBlob(e,n,n8))):Promise.resolve(null)}async function a8(e,t){let n=new Uint8Array(await e.arrayBuffer()),r={fileName:e.name,bytes:n},i=z_(n);if(i!==null&&Math.max(i.width,i.height)<=2560&&n.length<=t||typeof createImageBitmap!=`function`)return r;let a=await createImageBitmap(e).catch(()=>null);if(!a)return r;try{let t=Math.min(1,B_/Math.max(a.width,a.height)),n=i?.contentType===`image/png`?`image/png`:`image/jpeg`,o=await i8(a,t,n);return o?{fileName:r8(e.name,n===`image/png`?`png`:`jpg`),bytes:new Uint8Array(await o.arrayBuffer())}:r}finally{a.close()}}var o8=e=>e.thumbnail??e.url,s8=e=>String(Math.round(e/1e5)/10);function c8({label:e,isLabelHidden:t=!1,help:n,problem:r,isRequired:i=!1,value:a,onChange:o,window:s}){let c=Q(),l=rs(),u=is().data??null,d=os(),[f,p]=(0,x.useState)(!1),m=async e=>{p(!1),d.reset();let t=await a8(e,u?.maxBytes??0).catch(()=>null);if(!t)throw p(!0),Error(c.editor.imageNotRead);o((await d.mutateAsync(t)).name),X({title:c.editor.imageUploaded,description:c.editor.imageUploadedDescription,tone:`success`})},h=f?c.editor.imageNotRead:d.error?.message,g=typeof a==`string`&&a!==``?a:null,_=g!==null&&l.isSuccess&&!l.data.some(e=>e.name===g),v=r??(l.isError?c.editor.imagesNotLoaded:_?c.editor.imageMissing:void 0);return(0,S.jsx)(G2,{label:e,isLabelHidden:t,value:g,images:(l.data??[]).map(e=>({...e,url:o8(e)})),onChange:o,isRequired:i,chooseLabel:c.editor.imageChoose,changeLabel:c.editor.imageChange,noneText:c.editor.imageNone,dialogTitle:c.editor.imageChoose,closeLabel:c.editor.close,emptyText:l.isPending?c.editor.imagesLoading:c.editor.imagesEmpty,...u&&{onUpload:m,uploadLabel:c.editor.imageUpload,uploadHint:c.editor.imageUploadHint(s8(u.maxBytes))},...h!==void 0&&{uploadError:h},...n!==void 0&&{description:n},...v!==void 0&&{errorMessage:v},...s!==void 0&&{window:s}})}var l8=e=>typeof e==`object`&&!!e&&typeof e.id==`string`&&typeof e.block==`string`;function u8(e,t,n){for(let r of f_(e.fields)){let e=t.data[r.id];if(typeof e==`string`&&e.trim()!==``&&n(r))return e}}var d8=e=>Array.isArray(e.options.blocks)?e.options.blocks:[],f8=e=>typeof e.options.max==`number`?e.options.max:void 0,p8=e=>e.max!==void 0&&e.sections.length>=e.max,m8=(e,t,n)=>e.to(e.sections.map(e=>e.id===t?{...e,data:n}:e));function h8(e,t){return[e,...e.sections.flatMap((n,r)=>{let i=b8(e.blocks,n);return!i||i.retiredAt!==void 0?[]:f_(i.fields).flatMap(i=>(t(i.type)?.sections?.(i,n.data[i.id],t)??[]).flatMap(a=>{let o=a.place===``?i.key:`${i.key}.${a.place}`;return h8({key:`${n.id}:${o}`,group:d8(a.field).filter(e=>e.retiredAt===void 0).map(e=>e.key).sort().join(`|`),blocks:d8(a.field),sections:a.sections.filter(l8),max:f8(a.field),path:`${e.path}.${r}.${o}`,inside:[...e.inside,n.id],to:t=>m8(e,n.id,d6(n.data,i.id,a.put(t)))},t)}))})]}function g8(e,t){for(let n of e){let e=n.sections.findIndex(e=>e.id===t),r=n.sections[e];if(r)return{list:n,at:e,section:r}}}function _8(e){if(Array.isArray(e))return e.map(e=>_8(e));if(typeof e!=`object`||!e)return e;let t=Object.fromEntries(Object.entries(e).map(([e,t])=>[e,_8(t)]));return l8(e)?{...t,id:crypto.randomUUID()}:t}function v8(e,t,n,r){let i=b8(e.blocks,t);return!i||i.retiredAt!==void 0?[]:f_(i.fields).flatMap(e=>{let i=r(e.type);return((i&&n(i,e,t.data[e.id]))??[]).map(n=>({...n,place:n.place===``?e.key:`${e.key}.${n.place}`,put:r=>d6(t.data,e.id,n.put(r))}))})}function y8({field:e,label:t,help:n,value:r,onChange:i,path:a,problem:o,problems:s}){let c=Q(),l=O6(),u=d8(e),d=Array.isArray(r)?r.filter(l8):[],f=f8(e),[p,m]=(0,x.useState)([]),[h,g]=(0,x.useState)(!1),[_,v]=(0,x.useState)({key:``,at:null}),[y,b]=(0,x.useState)(null),[C,w]=(0,x.useState)(null),[T,E]=(0,x.useState)(null),[D,O]=(0,x.useState)(null),k=J6(),A=$6(),j=A?.pressed,M=A?.opened,ee=e=>i(e.length===0?void 0:e),N=e=>h8({key:``,group:``,blocks:u,sections:e,max:f,path:a,inside:[],to:e=>e},k),P=N(d),te=P[0],F=(e,t)=>v8(e,t,(e,t,n)=>e.words?.(t,n,k),k),ne=(e,t)=>v8(e,t,(e,t,n)=>e.pictures?.(t,n,k),k),re=(e,t)=>v8(e,t,(e,t,n)=>e.links?.(t,n,k),k),ie=(e,t)=>v8(e,t,(e,t,n)=>e.lists?.(t,n,k),k),ae=(e,t)=>v8(e,t,(e,t,n)=>e.swatches?.(t,n,k),k),oe=(0,x.useRef)({sections:d,lists:P,listsOf:N,change:ee,wordsOf:F,itemsOf:ie,swatchesOf:ae});(0,x.useEffect)(()=>{oe.current={sections:d,lists:P,listsOf:N,change:ee,wordsOf:F,itemsOf:ie,swatchesOf:ae}});let se=e=>{m(t=>t.includes(e)?t:[...t,e]),A?.open(e)},ce=e=>{let t=[...g8(oe.current.lists,e)?.list.inside??[],e];m(e=>t.every(t=>e.includes(t))?e:[...new Set([...e,...t])])};(0,x.useEffect)(()=>{if(!j)return;ce(j.id);let[e]=j.field?.split(`.`)??[];O(e===void 0?null:{section:j.id,key:e,at:j.at})},[j]),(0,x.useEffect)(()=>{M!==void 0&&ce(M)},[M]);let le=A?.isInside===!0,ue=le?{}:Object.fromEntries(P.flatMap(e=>e.sections.map(t=>[t.id,F(e,t).map(({place:e})=>e)]))),de=JSON.stringify(ue),fe=A?.setTypable;(0,x.useEffect)(()=>fe?.(JSON.parse(de)),[fe,de]);let pe=A?.onTyped;(0,x.useEffect)(()=>pe?.((e,t,n)=>{let r=oe.current,i=g8(r.lists,e),a=i&&r.wordsOf(i.list,i.section).find(e=>e.place===t);if(!i||!a)return;let o=m8(i.list,e,a.put(n));oe.current={...r,sections:o,lists:r.listsOf(o)},r.change(o)}),[pe]);let me=e=>e?Z(e.label,l):c.editor.sectionUnknown,I=le?void 0:{labels:{up:c.editor.pageMoveUp,down:c.editor.pageMoveDown,duplicate:c.editor.pageDuplicate,remove:c.editor.pageRemove,add:c.editor.pageAdd,reorder:c.editor.pageReorder,done:c.editor.pageReorderDone,addBefore:c.editor.pageAddBefore,addAfter:c.editor.pageAddAfter,picture:c.editor.pagePicture,link:c.editor.pageLink,bold:c.editor.richText.bold,italic:c.editor.richText.italic,textLink:c.editor.richText.link,itemUp:c.editor.pageItemUp,itemDown:c.editor.pageItemDown,itemDuplicate:c.editor.pageItemDuplicate,itemRemove:c.editor.pageItemRemove},sections:Object.fromEntries(P.flatMap(e=>e.sections.map((t,n)=>[t.id,{name:me(b8(e.blocks,t)),up:n>0,down:n<e.sections.length-1,copy:!p8(e),add:!p8(e),pictures:ne(e,t).map(({place:e})=>e),links:re(e,t).map(({place:e})=>e),lists:ie(e,t).map(e=>({field:e.place,count:e.items.length,full:e.isFull})),swatches:ae(e,t).map(e=>({field:e.place,name:Z(e.field.label,l),...e.chosen!==void 0&&{chosen:e.chosen},choices:e.choices.map(e=>({value:e.value,name:e.name(l),colour:e.colour}))})),list:e.key,group:e.group}]))),slots:Object.fromEntries(P.slice(1).map(e=>[e.key,{group:e.group,empty:e.sections.length===0,full:p8(e)}]))},he=JSON.stringify(I),ge=A?.setTools;(0,x.useEffect)(()=>{he!==void 0&&ge?.(JSON.parse(he))},[ge,he]);let _e=e=>{let t=g8(P,e);t&&ee(t.list.to(t.list.sections.filter(t=>t.id!==e))),m(t=>t.filter(t=>t!==e))},ve=(e,t)=>{let n=g8(oe.current.lists,e);if(!n)return;let{list:r,at:i,section:a}=n;if(t===`duplicate`){if(p8(r))return;let e=_8(a);ee(r.to([...r.sections.slice(0,i+1),e,...r.sections.slice(i+1)])),se(e.id)}else t===`hide`?ee(r.to(r.sections.map(t=>t.id===e?{...t,hidden:!0}:t))):t===`show`?ee(r.to(r.sections.map(t=>t.id===e?{id:t.id,block:t.block,data:t.data}:t))):t===`remove`&&(Object.keys(a.data).length===0?_e(e):b(e))},ye=(e,t,n)=>{let r=[...e.sections],[i]=r.splice(t,1);i&&r.splice(n,0,i),ee(e.to(r))},be=(0,x.useRef)({act:ve,moveIn:ye});(0,x.useEffect)(()=>{be.current={act:ve,moveIn:ye}});let xe=A?.onActed,Se=A?.open;(0,x.useEffect)(()=>xe?.((e,t)=>{let n=g8(oe.current.lists,e);if(!n)return;let{list:r,at:i}=n;if(t===`up`||t===`down`){let n=t===`up`?i-1:i+1;if(n<0||n>=r.sections.length)return;be.current.moveIn(r,i,n),Se?.(e)}else if(t===`addBefore`||t===`addAfter`){if(p8(r))return;v({key:r.key,at:t===`addBefore`?i:i+1}),g(!0)}else be.current.act(e,t)}),[xe,Se]);let Ce=A?.onSlotted;(0,x.useEffect)(()=>Ce?.((e,t)=>{let n=oe.current.lists.find(n=>n.key===`${e}:${t}`);n&&!p8(n)&&(v({key:n.key,at:null}),g(!0))}),[Ce]);let we=A?.onSwatched;(0,x.useEffect)(()=>we?.((e,t,n)=>{let r=oe.current,i=g8(r.lists,e),a=i&&r.swatchesOf(i.list,i.section).find(e=>e.place===t);i&&a&&a.chosen!==n&&a.choices.some(e=>e.value===n)&&r.change(m8(i.list,e,a.put(n)))}),[we]);let Te=A?.onPictured;(0,x.useEffect)(()=>Te?.((e,t)=>w({section:e,place:t})),[Te]);let Ee=P6(C),De=Ee?g8(P,Ee.section):void 0,Oe=De&&ne(De.list,De.section).find(e=>e.place===Ee?.place),ke=A?.onItemActed;(0,x.useEffect)(()=>ke?.((e,t,n,r)=>{let i=oe.current,a=g8(i.lists,e),o=a&&i.itemsOf(a.list,a.section).find(e=>e.place===t),s=o?.items[n];if(!a||!o||n<0||n>=o.items.length)return;let c=[...o.items];if(r===`remove`)c.splice(n,1);else if(r===`duplicate`){if(o.isFull)return;c.splice(n+1,0,_8(s))}else{let e=r===`up`?n-1:n+1;if(e<0||e>=c.length)return;c.splice(n,1),c.splice(e,0,s)}i.change(m8(a.list,e,o.put(c)))}),[ke]);let Ae=A?.onLinked;(0,x.useEffect)(()=>Ae?.((e,t)=>E({section:e,place:t})),[Ae]);let je=P6(T),Me=je?g8(P,je.section):void 0,Ne=Me&&re(Me.list,Me.section).find(e=>e.place===je?.place),Pe=A?.onDragged;(0,x.useEffect)(()=>Pe?.((e,t,n)=>{let r=oe.current,i=g8(r.lists,e);if(!i)return;let a=i.list;if(n===void 0||n===a.key){let e=t===null?a.sections.length:a.sections.findIndex(e=>e.id===t);if(e<0)return;let n=e>i.at?e-1:e;if(n===i.at)return;be.current.moveIn(a,i.at,n)}else{let o=r.lists.find(e=>e.key===n);if(!o||o.group!==a.group||p8(o)||o.inside.includes(e))return;let s=a.to(a.sections.filter(t=>t.id!==e)),c=r.listsOf(s).find(e=>e.key===n);if(!c)return;let l=t===null?c.sections.length:c.sections.findIndex(e=>e.id===t);if(l<0)return;let u=z6(a.blocks,c.blocks,i.section,k);if(!u)return;r.change(c.to([...c.sections.slice(0,l),u,...c.sections.slice(l)]))}Se?.(e)}),[Pe,Se]);let Fe=P.find(e=>e.key===_.key)??te,Ie=new Map;for(let e of Fe?.blocks??[]){if(e.retiredAt!==void 0)continue;let t=e.group??c.editor.sectionOtherGroup,n=Ie.get(t)??[];n.push({id:e.id,label:Z(e.label,l),icon:I6(e.icon),...e.description!==void 0&&{description:Z(e.description,l)},...e.thumbnail!==void 0&&{image:e.thumbnail}}),Ie.set(t,n)}let Le=[...Ie].map(([e,t])=>({id:e,label:e,options:t})),Re=y===null?void 0:g8(P,y),ze=P6(Re?me(b8(Re.list.blocks,Re.section)):null);return(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(G4,{label:t,...n!==void 0&&{description:n},...o!==void 0&&{errorMessage:o},emptyText:c.editor.sectionsEmpty,addLabel:c.editor.sectionAdd,onAdd:()=>{v({key:``,at:null}),g(!0)},isFull:te!==void 0&&p8(te),openIds:p,revealId:j?.id,onOpenChange:(e,t)=>{O(null),t?se(e):m(t=>t.filter(t=>t!==e))},onMove:(e,t)=>{te&&ye(te,e,t)},onAction:ve,moveUpLabel:e=>c.editor.sectionMoveUp(me(b8(u,d[e-1])),e),moveDownLabel:e=>c.editor.sectionMoveDown(me(b8(u,d[e-1])),e),moreLabel:e=>c.editor.sectionMore(me(b8(u,d[e-1])),e),dragLabel:e=>c.editor.sectionDrag(me(b8(u,d[e-1])),e),items:d.map((e,t)=>{let n=b8(u,e),r=n===void 0||n.retiredAt!==void 0,i=n?f_(n.fields):[],o=`${a}.${t}.`,l=[...s.keys()].filter(e=>e.startsWith(o)).length,p=n?u8(n,e,e=>k(e.type)?.width!==`compact`&&k(e.type)?.pictures===void 0):void 0,m=e.hidden===!0;return{id:e.id,title:me(n),icon:I6(n?.icon),...p!==void 0&&{summary:p},...r?{tag:c.editor.sectionRetired}:m&&{tag:c.editor.sectionHidden},...l>0&&{problem:c.editor.sectionProblems(l)},actions:[...r?[]:[{id:`duplicate`,label:c.editor.sectionDuplicate,icon:Qv,isDisabled:f!==void 0&&d.length>=f},m?{id:`show`,label:c.editor.sectionShow,icon:cy}:{id:`hide`,label:c.editor.sectionHide,icon:oy}],{id:`remove`,label:c.editor.sectionRemove,icon:jx,tone:`danger`}],content:r?(0,S.jsx)(Y,{size:`sm`,tone:`muted`,children:c.editor.sectionRetiredNote}):i.length===0?(0,S.jsx)(Y,{size:`sm`,tone:`muted`,children:c.editor.sectionNoFields}):(0,S.jsx)(t8,{children:(0,S.jsx)(q6,{fields:i,values:e.data,onChange:(t,n)=>ee(d.map(r=>r.id===e.id?{...r,data:d6(r.data,t.id,n)}:r)),pathOf:e=>`${o}${e.key}`,problems:s,spotlight:D?.section===e.id?D:{}})})}})}),(0,S.jsx)(d4,{isOpen:h,onOpenChange:g,title:c.editor.sectionPickerTitle,closeLabel:c.editor.close,emptyText:c.editor.sectionPickerEmpty,groups:Le,onChoose:e=>{let t={id:crypto.randomUUID(),block:e,data:{}};if(!Fe)return;let n=_.at??Fe.sections.length;ee(Fe.to([...Fe.sections.slice(0,n),t,...Fe.sections.slice(n)])),se(t.id)}}),De&&Oe&&(0,S.jsx)(c8,{label:c.editor.pagePicture,value:Oe.name,onChange:e=>ee(m8(De.list,De.section.id,Oe.put(e))),window:{isOpen:C!==null,onOpenChange:e=>{e||w(null)}}}),Me&&Ne&&(0,S.jsx)(wQ,{isOpen:T!==null,onOpenChange:e=>{e||E(null)},title:c.editor.pageLink,closeLabel:c.editor.close,footer:(0,S.jsx)(q,{variant:`primary`,onPress:()=>E(null),children:c.editor.pageLinkDone}),children:(0,S.jsx)(q6,{fields:[Ne.field],values:{[Ne.field.id]:Ne.link},onChange:(e,t)=>ee(m8(Me.list,Me.section.id,Ne.put(t))),pathOf:()=>`${Me.list.path}.${Me.at}.${Ne.place}`,problems:s,perRow:1})}),(0,S.jsx)(r2,{isOpen:y!==null,onOpenChange:e=>{e||b(null)},title:c.editor.sectionRemoveTitle(ze??c.editor.sectionUnknown),confirmLabel:c.editor.sectionRemoveConfirm,cancelLabel:c.editor.cancel,tone:`danger`,onConfirm:()=>{y!==null&&_e(y),b(null)},children:c.editor.sectionRemoveDescription})]})}function b8(e,t){return t?e.find(e=>e.id===t.block):void 0}var x8=200,S8=`:address`,C8=e=>typeof e==`object`&&!!e&&!Array.isArray(e);function w8({type:e,chosen:t,onChange:n,problem:r}){let i=Q(),a=O6(),o=$o({type:e.key,limit:x8}),s=p6(o.data?.items??[],a).map(({primary:t})=>({id:t.translationGroup,label:i6(e,t.data)??t.slug})).sort((e,t)=>e.label.localeCompare(t.label,a)),c=t!==void 0&&!s.some(e=>e.id===t),l=r??(o.isError?i.editor.linkNotLoaded:void 0);return(0,S.jsx)(M$,{label:i.editor.linkWhich(Z(e.label,a)),options:c?[{id:t,label:o.isSuccess?i.editor.linkGone:i.editor.linkLoading},...s]:s,placeholder:i.editor.choose,onChange:n,isRequired:!0,...t!==void 0&&{value:t},...l!==void 0&&{errorMessage:l}})}function T8({field:e,label:t,help:n,isLabelHidden:r=!1,value:i,onChange:a,path:o,problem:s,problems:c}){let l=Q(),u=O6(),d=Io(),f=Array.isArray(e.options.to)?e.options.to:void 0,p=(d.data??[]).filter(e=>l_(e)&&e.urlPattern!==void 0&&(f===void 0||f.includes(e.key))),m=C8(i)?i:void 0,h=m?.kind===`address`?S8:typeof m?.type==`string`?m.type:void 0,[g,_]=(0,x.useState)(h),v=h??g,y=p.find(e=>e.key===v),b=c.get(`${o}.href`)??c.get(`${o}.entry`)??c.get(`${o}.type`)??c.get(`${o}.kind`)??s,C=[...p.map(e=>({id:e.key,label:Z(e.label,u)})),{id:S8,label:l.editor.linkAddressChoice}],w=v===void 0||C.some(e=>e.id===v);return(0,S.jsxs)(PQ,{columns:2,gap:4,children:[(0,S.jsx)(M$,{label:t,isLabelHidden:r,options:w||v===void 0?C:[{id:v,label:d.isSuccess?l.editor.linkMissing(v):v},...C],placeholder:l.editor.choose,isRequired:e.required,onChange:e=>{e!==v&&(_(e),a(void 0))},...v!==void 0&&{value:v},...n!==void 0&&{description:n},...v===void 0&&b!==void 0&&{errorMessage:b}}),v===S8&&(0,S.jsx)(S1,{label:l.editor.linkAddress,description:l.editor.linkAddressHelp,value:typeof m?.href==`string`?m.href:``,onChange:e=>a(e.trim()===``?void 0:{kind:`address`,href:e.trim()}),isRequired:!0,...b!==void 0&&{errorMessage:b}}),y!==void 0&&(0,S.jsx)(w8,{type:y,chosen:typeof m?.entry==`string`?m.entry:void 0,onChange:e=>a({kind:`entry`,type:y.key,entry:e}),problem:b})]})}var E8=`velocity-cms:reloaded-for-update`,D8=()=>{try{return window.sessionStorage.getItem(E8)!==null}catch{return!1}},O8=e=>{try{e?window.sessionStorage.setItem(E8,`1`):window.sessionStorage.removeItem(E8)}catch{}};async function k8(e){try{let t=await e();return O8(!1),t}catch(t){try{let t=await e();return O8(!1),t}catch{if(D8())throw t;return O8(!0),window.location.reload(),new Promise(()=>void 0)}}}var A8=`modulepreload`,j8=function(e,t){return new URL(e,t).href},M8={},N8=function(e){return e.pathname.endsWith(`.css`)},P8=function(e,t,n){if(t in e)return e[t];let r=n();if(!r){e[t]=void 0;return}let i=r.then(()=>{e[t]=void 0},n=>{throw e[t]=void 0,n});return e[t]=i,i},F8=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e,i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?new URL(import.meta.resolve(e)):new URL(e,import.meta.url)}r=o(t.map(t=>{t=j8(t,n);let r=s(t),i=N8(r);return P8(M8,r.href,()=>{if(e===void 0){e={all:new Set,styles:new Set};let t=document.getElementsByTagName(`link`);for(let n=t.length-1;n>=0;n--){let r=t[n];e.all.add(r.href),r.rel===`stylesheet`&&e.styles.add(r.href)}}if((i?e.styles:e.all).has(r.href))return;let t=document.createElement(`link`);if(t.rel=i?`stylesheet`:A8,i||(t.as=`script`),t.crossOrigin=``,t.href=r.href,a&&t.setAttribute(`nonce`,a),document.head.appendChild(t),i)return new Promise((e,n)=>{let i=a=>{t.removeEventListener(`load`,i),t.removeEventListener(`error`,i),a.type===`error`?n(Error(`Unable to preload CSS for ${r}`)):e(a)};t.addEventListener(`load`,i),t.addEventListener(`error`,i)})})}).filter(e=>e!==void 0))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})};function I8(e,t){let n=e.options[t];return typeof n==`number`?n:void 0}function L8({field:e,label:t,help:n,isLabelHidden:r=!1,value:i,onChange:a,problem:o}){let s={label:t,isLabelHidden:r,...n!==void 0&&{description:n},value:typeof i==`string`?i:``,onChange:e=>a(e===``?void 0:e),isRequired:e.required,...o!==void 0&&{errorMessage:o}};return e.options.multiline===!0?(0,S.jsx)(T1,{...s}):(0,S.jsx)(S1,{...s})}var R8=e=>function({field:t,label:n,help:r,isLabelHidden:i=!1,value:a,onChange:o,problem:s}){return(0,S.jsx)(S1,{type:e,label:n,isLabelHidden:i,value:typeof a==`string`?a:``,onChange:e=>o(e===``?void 0:e),isRequired:t.required,...r!==void 0&&{description:r},...s!==void 0&&{errorMessage:s}})},z8=R8(`url`),B8=R8(`email`),V8=R8(`tel`);function H8({field:e,label:t,help:n,isLabelHidden:r=!1,value:i,onChange:a,problem:o}){let s=I8(e,`min`),c=I8(e,`max`);return(0,S.jsx)(d$,{label:t,isLabelHidden:r,value:typeof i==`number`?i:null,onChange:e=>a(e??void 0),width:`full`,isInteger:e.options.integer===!0,isRequired:e.required,...s!==void 0&&{minValue:s},...c!==void 0&&{maxValue:c},...n!==void 0&&{description:n},...o!==void 0&&{errorMessage:o}})}function U8({field:e,label:t,help:n,isLabelHidden:r=!1,value:i,onChange:a,problem:o}){return(0,S.jsx)(fQ,{width:`full`,label:t,isLabelHidden:r,value:typeof i==`string`?i:null,onChange:e=>a(e??void 0),isRequired:e.required,...n!==void 0&&{description:n},...o!==void 0&&{errorMessage:o}})}function W8({label:e,value:t,onChange:n}){return(0,S.jsx)(t1,{label:e,isSelected:t===!0,onChange:n})}function G8({value:e}){let t=O6();return(0,S.jsx)(Y,{size:`sm`,children:typeof e==`number`?new Intl.NumberFormat(t).format(e):String(e)})}function K8(e,t,n){let r=(e.options.labels??{})[t];return r?Z(r,n):t}function q8({field:e,value:t}){let n=O6();return(0,S.jsx)(Y,{size:`sm`,children:K8(e,String(t),n)})}function J8(e){let t=Array.isArray(e.options.choices)?e.options.choices.filter(e=>typeof e==`string`):[],n=e.options.swatches??{},r=t.flatMap(e=>dee(n[e])?[{value:e,colour:n[e]}]:[]);return r.length===t.length?r:[]}var Y8=(e,t)=>typeof t==`string`&&e.some(e=>e.value===t)?t:e[0]?.value,X8=(e,t)=>{let n=J8(e);return n.length===0?[]:[{place:``,field:e,choices:n.map(t=>({...t,name:n=>K8(e,t.value,n)})),chosen:Y8(n,t),put:e=>e}]};function Z8({field:e,label:t,help:n,isLabelHidden:r=!1,value:i,onChange:a,problem:o}){let s=Q(),c=O6(),l=Array.isArray(e.options.choices)?e.options.choices.filter(e=>typeof e==`string`):[],u=J8(e);return u.length>0?(0,S.jsx)(w$,{label:t,isLabelShown:!r,...n!==void 0&&{description:n},options:u.map(t=>({id:t.value,label:K8(e,t.value,c),swatch:t.colour})),selected:Y8(u,i)??``,onChange:a,...o!==void 0&&{errorMessage:o}}):(0,S.jsx)(M$,{label:t,isLabelHidden:r,...n!==void 0&&{description:n},options:l.map(t=>({id:t,label:K8(e,t,c)})),placeholder:s.editor.choose,onChange:a,isRequired:e.required,...typeof i==`string`&&{value:i},...o!==void 0&&{errorMessage:o}})}function Q8({field:e,label:t,help:n,isLabelHidden:r=!1,value:i,onChange:a,problem:o}){let s=Q(),c=Array.isArray(e.options.presets)?e.options.presets.filter(e=>typeof e==`string`):[];return(0,S.jsx)(sQ,{label:t,isLabelHidden:r,pickLabel:s.editor.pickColour(t),hueLabel:s.editor.hue,...c.length>0&&{presets:c,presetsLabel:s.editor.suggestedColours},...typeof i==`string`&&{value:i},onChange:a,isRequired:e.required,...n!==void 0&&{description:n},...o!==void 0&&{errorMessage:o}})}function $8({value:e}){return(0,S.jsx)(Y,{size:`sm`,children:typeof e==`string`?e.toUpperCase():``})}function e5({field:e,label:t,help:n,isLabelHidden:r=!1,value:i,onChange:a,problem:o}){let s=Q(),c=O6(),l=Array.isArray(e.options.choices)?e.options.choices.filter(e=>typeof e==`string`):[];return(0,S.jsx)(M$,{label:t,isLabelHidden:r,...n!==void 0&&{description:n},options:l.map(t=>({id:t,label:K8(e,t,c)})),placeholder:s.editor.chooseFont,onChange:a,isRequired:e.required,...typeof i==`string`&&{value:i},...o!==void 0&&{errorMessage:o}})}var t5=200;function n5({field:e,label:t,help:n,isLabelHidden:r=!1,value:i,onChange:a,problem:o}){let s=Q(),c=O6(),l=typeof e.options.to==`string`?e.options.to:``,u=Io(),d=$o({type:l,limit:t5}),f=u.data?.find(e=>e.key===l),p=f?p6(d.data?.items??[],c).map(({primary:e})=>({id:e.slug,label:i6(f,e.data)??e.slug})):[],m=p.filter((e,t)=>p.findIndex(t=>t.id===e.id)===t).sort((e,t)=>e.label.localeCompare(t.label,c)),h=typeof i==`string`?i:void 0,g=h!==void 0&&!m.some(e=>e.id===h),_=o??(d.isError?s.editor.linkNotLoaded:void 0);return(0,S.jsx)(M$,{label:t,isLabelHidden:r,options:g?[{id:h,label:d.isSuccess?s.editor.linkMissing(h):h},...m]:m,placeholder:s.editor.choose,onChange:a,isRequired:e.required,...h!==void 0&&{value:h},...n!==void 0&&{description:n},..._!==void 0&&{errorMessage:_}})}function r5({field:e,label:t,help:n,isLabelHidden:r=!1,value:i,onChange:a,problem:o}){let s=Q(),c=O6(),l=Ss(),u=(l.data??[]).map(e=>({id:e.id,label:e.open?Z(e.label,c):s.editor.formClosed(Z(e.label,c))})).sort((e,t)=>e.label.localeCompare(t.label,c)),d=typeof i==`string`?i:void 0,f=d!==void 0&&!u.some(e=>e.id===d),p=o??(l.isError?s.editor.linkNotLoaded:void 0),m=(l.isSuccess&&u.length===0?s.editor.noForms:void 0)??n;return(0,S.jsx)(M$,{label:t,isLabelHidden:r,options:f?[{id:d,label:l.isSuccess?s.editor.formMissing:s.editor.formLoading},...u]:u,placeholder:s.editor.choose,onChange:a,isRequired:e.required,...d!==void 0&&{value:d},...m!==void 0&&{description:m},...p!==void 0&&{errorMessage:p}})}function i5({field:e,label:t,help:n,isLabelHidden:r=!1,value:i,onChange:a,problem:o}){return(0,S.jsx)(c8,{label:t,isLabelHidden:r,value:i,onChange:a,isRequired:e.required,...n!==void 0&&{help:n},...o!==void 0&&{problem:o}})}var a5=e=>typeof e==`string`||Array.isArray(e)&&e.every(e=>typeof e==`string`),o5=(0,x.lazy)(async()=>({default:(await k8(()=>F8(()=>import(`./RichTextEditor-YzcS4f00.js`),[],import.meta.url))).RichTextEditor}));function s5({field:e,label:t,help:n,isLabelHidden:r=!1,value:i,onChange:a,problem:o}){let s=Q(),c=a5(i)?S_(i):typeof i==`object`&&i?i:null,l=e.options.formats,u=Array.isArray(l)?C_.filter(e=>l.includes(e)):void 0;return(0,S.jsx)(x.Suspense,{fallback:(0,S.jsx)(L$,{label:s.app.loading,children:(0,S.jsxs)(J,{gap:2,children:[(0,S.jsx)(I$,{width:`sm`}),(0,S.jsx)(I$,{shape:`block`})]})}),children:(0,S.jsx)(o5,{label:t,isLabelHidden:r,value:c,onChange:e=>a(e??void 0),isRequired:e.required,words:s.editor.richText,...u!==void 0&&{formats:u},...n!==void 0&&{description:n},...o!==void 0&&{errorMessage:o}})})}function c5({field:e,label:t,help:n,isLabelHidden:r=!1,value:i,onChange:a,path:o,problem:s,problems:c}){let l=Array.isArray(e.options.fields)?f_(e.options.fields):[],u=typeof i==`object`&&i?i:{};return(0,S.jsxs)(OQ,{legend:t,isLegendHidden:r,...n!==void 0&&{description:n},children:[s!==void 0&&(0,S.jsx)(Y,{size:`sm`,tone:`danger`,children:s}),(0,S.jsx)(q6,{fields:l,values:u,onChange:(e,t)=>{let n=d6(u,e.id,t);a(Object.keys(n).length===0?void 0:n)},pathOf:e=>`${o}.${e.key}`,problems:c})]})}var l5=e=>e!=null,u5=(e,t)=>t===``?e:`${e}.${t}`,d5=(e,t)=>t==null||typeof t==`string`?[{place:``,put:e=>e===``?void 0:e}]:[],f5=(e,t)=>e.put(t),p5=()=>[{place:``,put:e=>w6(e)}];function m5(e,t,n,r){let i=Array.isArray(t.options.fields)?f_(t.options.fields):[],a=typeof n==`object`&&n?n:{};return i.flatMap(t=>(r(t.type)?.[e]?.(t,a[t.id],r)??[]).map(e=>({...e,place:u5(t.key,e.place),put:n=>{let r=d6(a,t.id,f5(e,n));return Object.keys(r).length===0?void 0:r}})))}function h5(e,t,n,r){let i=Array.isArray(n)?n:[],a=t.options.of??{type:`text`},o=r(a.type)?.[e];return o?i.flatMap((e,n)=>o({...t,id:`${t.id}.${n}`,key:String(n),type:a.type,required:!1,options:a.options??{}},e,r).map(e=>({...e,place:u5(String(n),e.place),put:t=>i.map((r,i)=>i===n?f5(e,t)??(typeof r==`string`?``:{}):r)}))):[]}var g5=(e,t,n)=>m5(`words`,e,t,n),_5=(e,t,n)=>h5(`words`,e,t,n),v5=(e,t,n)=>m5(`pictures`,e,t,n),y5=(e,t,n)=>h5(`pictures`,e,t,n),b5=(e,t,n)=>m5(`links`,e,t,n),x5=(e,t,n)=>h5(`links`,e,t,n),S5=(e,t,n)=>m5(`lists`,e,t,n),C5=(e,t,n)=>{let r=Array.isArray(t)?t:[],i=typeof e.options.max==`number`?e.options.max:void 0;return[{place:``,items:r,isFull:i!==void 0&&r.length>=i,put:e=>e.length===0?void 0:e},...h5(`lists`,e,t,n)]},w5=(e,t,n)=>m5(`sections`,e,t,n),T5=(e,t,n)=>h5(`sections`,e,t,n),E5=(e,t)=>[{place:``,field:e,sections:Array.isArray(t)?t:[],put:e=>e.length===0?void 0:e}],D5=(e,t)=>[{place:``,field:e,link:t,put:e=>e}],O5=(e,t)=>[{place:``,name:typeof t==`string`&&t!==``?t:null,put:e=>e}],k5=(e,t)=>({id:`stored-${t}`,value:e});function A5(e,t){let n=Array.isArray(e.options.fields)?f_(e.options.fields):[],r=typeof t==`object`&&t?t:{};for(let e of n){let t=r[e.id];if(typeof t==`string`&&t.trim()!==``)return t}}function j5({field:e,label:t,help:n,value:r,onChange:i,path:a,problem:o,problems:s}){let c=Q(),l=Array.isArray(r)?r:[],[u,d]=(0,x.useState)(()=>l.map(k5)),f=f6(u.map(e=>e.value).filter(l5),l)?u:l.map(k5),[p,m]=(0,x.useState)([]),h=e.options.of??{type:`text`},g=typeof e.options.max==`number`?e.options.max:void 0,_=e=>{d(e);let t=e.map(e=>e.value).filter(l5);i(t.length===0?void 0:t)},v=J6()(h.type)?.titleOf,y=n=>({id:`${e.id}.${n}`,key:String(n),type:h.type,label:{[M5]:c.editor.listItem(t,n+1)},translated:e.translated,required:!1,options:h.options??{}}),b=(e,t)=>{let n=[...f],[r]=n.splice(e,1);r&&n.splice(t,0,r),_(n)},C=(e,t)=>(0,S.jsx)(G6,{field:y(t),value:e.value,onChange:t=>_(f.map(n=>n.id===e.id?{...n,value:t}:n)),path:`${a}.${t}`,problems:s,isLabelHidden:!0}),w={label:t,...n!==void 0&&{description:n},...o!==void 0&&{errorMessage:o},emptyText:c.editor.listEmpty,addLabel:c.editor.listAdd,isFull:g!==void 0&&f.length>=g,onMove:b,moveUpLabel:e=>c.editor.listMoveUp(t,e),moveDownLabel:e=>c.editor.listMoveDown(t,e)},T=()=>{let e={id:crypto.randomUUID(),value:void 0};_([...f,e]),m(t=>[...t,e.id])};return v?(0,S.jsx)(G4,{...w,onAdd:T,openIds:p,onOpenChange:(e,t)=>m(n=>t?[...n,e]:n.filter(t=>t!==e)),moreLabel:e=>c.editor.listMore(t,e),dragLabel:e=>c.editor.listDrag(t,e),onAction:(e,t)=>{let n=f.findIndex(t=>t.id===e),r=f[n];r&&(t===`remove`?_(f.filter(t=>t.id!==e)):t===`duplicate`&&_([...f.slice(0,n+1),{id:crypto.randomUUID(),value:_8(r.value)},...f.slice(n+1)]))},items:f.map((e,n)=>{let r=`${a}.${n}`,i=[...s.keys()].filter(e=>e===r||e.startsWith(`${r}.`)).length;return{id:e.id,title:v(y(n),e.value)??c.editor.listItem(t,n+1),...i>0&&{problem:c.editor.listProblems(i)},actions:[{id:`duplicate`,label:c.editor.listDuplicate,icon:Qv,isDisabled:w.isFull},{id:`remove`,label:c.editor.listRemoveRow,icon:jx,tone:`danger`}],content:C(e,n)}})}):(0,S.jsx)(S2,{...w,onAdd:T,removeLabel:e=>c.editor.listRemove(t,e),onRemove:e=>_(f.filter((t,n)=>n!==e)),items:f.map((e,t)=>({id:e.id,content:C(e,t)}))})}var M5=`en`;function N5(){return k6().register({type:`text-input`,Component:L8,words:d5}).register({type:`url-input`,Component:z8}).register({type:`email-input`,Component:B8}).register({type:`phone-input`,Component:V8}).register({type:`number-input`,Component:H8,width:`compact`,Summary:G8,summaryAlign:`end`}).register({type:`date-picker`,Component:U8,width:`compact`}).register({type:`switch`,Component:W8}).register({type:`select`,Component:Z8,width:`compact`,Summary:q8,swatches:X8}).register({type:`color-picker`,Component:Q8,width:`compact`,Summary:$8,isLook:!0}).register({type:`font-picker`,Component:e5,width:`compact`,Summary:q8,isLook:!0}).register({type:`reference`,Component:n5,width:`compact`}).register({type:`form-picker`,Component:r5,width:`compact`}).register({type:`link`,Component:T8,links:D5}).register({type:`image`,Component:i5,pictures:O5}).register({type:`rich-text`,Component:s5,words:p5}).register({type:`group`,Component:c5,titleOf:A5,words:g5,pictures:v5,links:b5,lists:S5,sections:w5,carried:H6}).register({type:`list`,Component:j5,words:_5,pictures:y5,links:x5,lists:C5,sections:T5,carried:U6}).register({type:`blocks`,Component:y8,showsPage:!0,sections:E5,carried:W6})}var P5=[`general`,`email`,`storage`,`forms`,`tokens`],$={home:`/`,signIn:`/sign-in`,people:`/people`,media:`/media`,trash:`/trash`,forms:`/forms`,form:e=>`/forms/${encodeURIComponent(e)}`,contacts:`/contacts`,contact:e=>`/contacts/${encodeURIComponent(e)}`,deals:`/deals`,plugins:`/plugins`,pluginScreen:(e,t)=>`/plugins/${encodeURIComponent(e)}/${encodeURIComponent(t)}`,settings:(e=P5[0])=>`/settings/${e}`,settingsPage:e=>`/settings/page/${encodeURIComponent(e)}`,types:`/types`,type:(e,t=[])=>`/types/${encodeURIComponent(e)}${t.length>0?`?${new URLSearchParams(t.map(e=>[`in`,e]))}`:``}`,contentList:e=>`/content/${encodeURIComponent(e)}`,entry:(e,t)=>`/content/${encodeURIComponent(e)}/${encodeURIComponent(t)}`,visualEntry:(e,t)=>`/content/${encodeURIComponent(e)}/${encodeURIComponent(t)}?view=visual`,newEntry:e=>`/content/${encodeURIComponent(e)}/new`},F5={Box:X_,Button:q,Card:NZ,Checkbox:IZ,ConfirmDialog:r2,DateField:fQ,Dialog:wQ,EmptyState:o2,Fieldset:OQ,Form:MQ,Grid:PQ,Heading:RQ,Inline:BQ,Link:HQ,NumberField:d$,PageHeader:d2,SearchField:g$,Segmented:w$,Select:M$,Skeleton:I$,SkeletonGroup:L$,Spinner:H$,Split:Y2,Stack:J,Stat:X$,Switch:t1,Table:d1,Tabs:g1,Tag:v1,Text:Y,TextArea:T1,TextField:S1,Tooltip:mQ,toast:X};function I5(e){let t=e.endsWith(`/`)?e.slice(0,-1):e;return e=>import(new URL(`${t}/plugins/${encodeURIComponent(e)}.js`,location.origin).href)}var vne=/^[a-z][a-z0-9-]{0,39}$/,yne=e=>e instanceof Error?e.message:String(e),bne=class{#e={screens:[],panels:[],problems:new Map,settled:new Set};#t=new Set;#n=new Set;subscribe=e=>(this.#n.add(e),()=>void this.#n.delete(e));snapshot=()=>this.#e;#r(e){this.#e={...this.#e,...e};for(let e of this.#n)e()}follow(e,t){let n=new Set(e),r=[...this.#t].filter(e=>!n.has(e));if(r.length>0){for(let e of r)this.#t.delete(e);this.#r({screens:this.#e.screens.filter(e=>n.has(e.plugin)),panels:this.#e.panels.filter(e=>n.has(e.plugin)),problems:new Map([...this.#e.problems].filter(([e])=>n.has(e))),settled:new Set([...this.#e.settled].filter(e=>n.has(e)))})}for(let n of e)this.#t.has(n)||(this.#t.add(n),this.#i(n,t))}async#i(e,{loader:t,client:n,controls:r}){let i=[],a=[],o=(e,t)=>{if(typeof t!=`string`||!vne.test(t))throw Error(`A ${e} needs an id of lower-case letters, digits and dashes, and "${String(t)}" is not one.`)},s={name:e,React:x,ui:F5,client:{get:(t,r)=>n.callPlugin(e,`GET`,t,r?{query:r}:{}),post:(t,r)=>n.callPlugin(e,`POST`,t,{body:r}),put:(t,r)=>n.callPlugin(e,`PUT`,t,{body:r}),delete:(t,r)=>n.callPlugin(e,`DELETE`,t,{body:r})},links:{entry:(e,t)=>$.entry(e,t)},register:{control:e=>void(r.has(e.type)||r.register(e)),screen:t=>{o(`screen`,t.id),i.push({...t,plugin:e})},entryPanel:t=>{o(`panel`,t.id),a.push({...t,plugin:e})}}},c=null;try{let n=await t(e);if(typeof n.default!=`function`)throw Error(`Its editor file has no default export to run.`);n.default(s)}catch(e){c=yne(e)}this.#t.has(e)&&this.#r({...c===null&&{screens:[...this.#e.screens,...i],panels:[...this.#e.panels,...a]},...c!==null&&{problems:new Map([...this.#e.problems,[e,c]])},settled:new Set([...this.#e.settled,e])})}},L5=(0,x.createContext)(null);function xne({extensions:e,loader:t,children:n}){return(0,S.jsx)(L5,{value:{extensions:e,loader:t},children:n})}function R5(){let e=(0,x.useContext)(L5);if(!e)throw Error(`Plugin extensions were asked for outside <AdminApp>. Render the screen inside it.`);return e}function z5(){let{extensions:e}=R5();return(0,x.useSyncExternalStore)(e.subscribe,e.snapshot,e.snapshot)}function Sne(e){let{extensions:t,loader:n}=R5(),r=R(),i=M6(),a=Rc(e),{settled:o}=z5(),s=a.data?.map(e=>e.name),c=s?.join(`,`);return(0,x.useEffect)(()=>{c!==void 0&&t.follow(c===``?[]:c.split(`,`),{loader:n,client:r,controls:i})},[c,t,n,r,i]),!e||a.isError?!0:s!==void 0&&s.every(e=>o.has(e))}var Cne=`cms-boot`,wne=300,Tne=1e4,B5=1,V5=0,H5=!1,U5=!1,W5;function G5(){if(U5=!0,W5!==void 0&&clearTimeout(W5),typeof document>`u`)return;let e=document.getElementById(Cne);e!==null&&(e.dataset.ending=`true`,setTimeout(()=>e.remove(),wne))}function K5(){if(!(U5||B5>0)){if(V5===0)return G5();W5??=setTimeout(()=>{W5=void 0,B5===0&&G5()},Tne)}}function q5(e){if(U5)return()=>{};e===`frame`?B5+=1:V5+=1;let t=!1;return()=>{t||(t=!0,e===`frame`?--B5:--V5,setTimeout(K5,0))}}function Ene(){return q5(`frame`)}function Dne(){return q5(`screen`)}function One(){H5||(H5=!0,--B5,setTimeout(K5,0))}var kne=[0,1,2,3,4];function J5(){return(0,S.jsx)(NZ,{children:(0,S.jsx)(J,{gap:5,children:kne.map(e=>(0,S.jsxs)(BQ,{gap:6,children:[(0,S.jsx)(X_,{grow:!0,children:(0,S.jsxs)(J,{gap:2,children:[(0,S.jsx)(I$,{width:e%2==0?`1/3`:`1/4`}),(0,S.jsx)(I$,{width:`xs`})]})}),(0,S.jsx)(I$,{width:`sm`}),(0,S.jsx)(I$,{width:`sm`})]},e))})})}function Y5(){return(0,S.jsxs)(J,{gap:3,children:[(0,S.jsx)(I$,{shape:`title`,width:`1/4`}),(0,S.jsx)(I$,{width:`1/3`})]})}var Ane={table:()=>(0,S.jsx)(J5,{}),page:()=>(0,S.jsx)(X_,{paddingX:12,paddingY:10,children:(0,S.jsxs)(J,{gap:6,children:[(0,S.jsx)(Y5,{}),(0,S.jsx)(J5,{})]})}),summary:()=>(0,S.jsxs)(J,{gap:6,children:[(0,S.jsx)(PQ,{columns:3,gap:4,children:[0,1,2].map(e=>(0,S.jsx)(NZ,{children:(0,S.jsxs)(J,{gap:3,children:[(0,S.jsx)(I$,{width:`1/2`}),(0,S.jsx)(I$,{shape:`title`,width:`1/4`}),(0,S.jsx)(I$,{width:`3/4`})]})},e))}),(0,S.jsx)(J5,{})]}),form:()=>(0,S.jsx)(X_,{paddingX:12,paddingY:8,children:(0,S.jsxs)(J,{gap:6,children:[(0,S.jsx)(Y5,{}),(0,S.jsx)(NZ,{children:(0,S.jsxs)(J,{gap:5,children:[[0,1,2].map(e=>(0,S.jsxs)(J,{gap:2,children:[(0,S.jsx)(I$,{width:`sm`}),(0,S.jsx)(I$,{shape:`control`})]},e)),(0,S.jsxs)(J,{gap:2,children:[(0,S.jsx)(I$,{width:`sm`}),(0,S.jsx)(I$,{shape:`block`})]})]})})]})})};function X5({label:e,shape:t=`page`}){let n=Q();(0,x.useEffect)(Dne,[]);let r=e??n.app.loading;return t===`spinner`?(0,S.jsx)(X_,{padding:8,children:(0,S.jsx)(H$,{label:r,showLabel:!0})}):(0,S.jsx)(L$,{label:r,children:Ane[t]()})}function Z5({error:e,onRetry:t}){let n=Q();return(0,S.jsx)(o2,{icon:Hv,title:n.app.somethingWentWrong,description:e.message,action:(0,S.jsx)(q,{variant:`secondary`,onPress:t,children:n.app.tryAgain})})}function Q5(){let e=Zi();return(0,x.useCallback)((t,n)=>void e(t,{viewTransition:!0,...n}),[e])}function $5(){let e=Q().contacts.stages;return t=>t===void 0?``:t.label??e[t.id]??t.id}var e7={open:`neutral`,won:`success`,lost:`danger`};function t7(){let e=new Date,t=e=>String(e).padStart(2,`0`);return`${e.getFullYear()}-${t(e.getMonth()+1)}-${t(e.getDate())}`}function n7(){let e=Q(),t=O6(),n=t7();return r=>r<n?{text:e.contacts.due.overdue,tone:`danger`}:r===n?{text:e.contacts.due.today,tone:`warning`}:{text:r7(r,t),tone:`neutral`}}function r7(e,t){let n=new Date(`${e}T00:00:00`);return Number.isNaN(n.getTime())?e:new Intl.DateTimeFormat(t,{day:`numeric`,month:`short`,year:`numeric`}).format(n)}function i7(e){let t=Q();return n=>n===void 0?``:e?.find(e=>e.id===n)?.name??(e===void 0?``:t.contacts.someoneWhoLeft)}function a7(e){let t=O6();return n=>{try{return new Intl.NumberFormat(t,{style:`currency`,currency:e??`USD`,maximumFractionDigits:0}).format(n)}catch{return`${new Intl.NumberFormat(t).format(n)} ${e??``}`.trim()}}}var jne=new Map;function o7(e,t){let n=dc(),[r,i]=(0,x.useState)({}),[a,o]=(0,x.useState)(jne);return{fields:f_(n.data?.[e]??[]),values:{...t,...r},problems:a,change:(e,t)=>i(n=>({...n,[e]:t})),toSend:()=>Object.keys(r).length===0?{}:{data:Object.fromEntries(Object.entries(r).map(([e,t])=>[e,t??null]))},refused:e=>{let t=e instanceof No?e.issues.filter(e=>e.path[0]===`data`):[];o(new Map(t.map(e=>[e.path.slice(1).join(`.`),e.message])))}}}function s7({custom:e}){return(0,S.jsx)(S.Fragment,{children:e.fields.map(t=>(0,S.jsx)(G6,{field:t,value:e.values[t.id],onChange:n=>e.change(t.id,n),path:t.key,problems:e.problems},t.id))})}function c7(e,t,n){let r=URL.createObjectURL(new Blob([t],{type:n})),i=document.createElement(`a`);i.href=r,i.download=e,i.click(),URL.revokeObjectURL(r)}var Mne=[[`year`,31536e6],[`month`,2592e6],[`day`,864e5],[`hour`,36e5],[`minute`,6e4]];function l7(e,t,n=new Date){let r=new Intl.RelativeTimeFormat(t,{numeric:`auto`}),i=new Date(e).getTime()-n.getTime();for(let[e,t]of Mne)if(Math.abs(i)>=t)return r.format(Math.round(i/t),e);return r.format(0,`second`)}function u7(e){let t=Q(),n=O6();return r=>{if(!r.source)return t.contacts.addedByHand;let i=e?.find(e=>e.id===r.source?.formId);if(!i)return e===void 0?``:t.contacts.aFormNowGone;let a=Z(i.label,n);return r.source.page===void 0?t.contacts.fromForm(a):t.contacts.fromFormOn(a,r.source.page)}}function d7(e,t){return e==null?``:e===!0?t:typeof e==`string`?e:typeof e==`number`?String(e):JSON.stringify(e)}var Nne=200,f7=`:nothing`;function p7(){let e=O6(),t=Io(),n=(t.data??[]).filter(e=>l_(e)&&e.forDeals===!0),r=ts(n.map(e=>({type:e.key,limit:Nne}))),i=new Map;return n.forEach((t,n)=>{i.set(t.id,p6(r[n]?.data?.items??[],e).map(({primary:e})=>({id:e.translationGroup,label:i6(t,e.data)??e.slug})).sort((t,n)=>t.label.localeCompare(n.label,e)))}),{types:n,entriesOf:e=>i.get(e)??[],nameOf:e=>e===void 0?void 0:i.get(e.typeId)?.find(t=>t.id===e.entry)?.label,isLoaded:t.isSuccess&&r.every(e=>e.isSuccess)}}function Pne({subjects:e,about:t,onChange:n,problem:r}){let i=Q(),a=O6(),[o,s]=(0,x.useState)(t?.typeId??f7),c=t?.typeId??o;if(e.types.length===0&&t===void 0)return null;let l=[{id:f7,label:i.deals.aboutNothing},...e.types.map(e=>({id:e.id,label:Z(e.label,a)}))],u=e.types.find(e=>e.id===c),d=c===f7?[]:e.entriesOf(c),f=l.some(e=>e.id===c),p=t===void 0||d.some(e=>e.id===t.entry),m=e.isLoaded?i.deals.aboutGone:i.deals.aboutLoading;return(0,S.jsxs)(PQ,{columns:2,gap:3,children:[(0,S.jsx)(M$,{label:i.deals.about,options:f?l:[...l,{id:c,label:m}],value:c,onChange:e=>{e!==c&&(s(e),n(void 0))},...c===f7&&r!==void 0&&{errorMessage:r}}),c!==f7&&(0,S.jsx)(M$,{label:u?i.deals.aboutWhich(Z(u.label,a)):i.deals.aboutWhichOne,options:p||t===void 0?d:[{id:t.entry,label:m},...d],placeholder:i.editor.choose,onChange:e=>n({typeId:c,entry:e},d.find(t=>t.id===e)?.label),...t!==void 0&&{value:t.entry},...r!==void 0&&{errorMessage:r}})]})}var m7=`nobody`,h7={},g7=e=>e instanceof Error?e.message:String(e);function _7({deal:e,contact:t,pipeline:n,team:r,onClose:i}){let{close:a,dialog:o}=N6(i),s=Q(),c=$5(),l=Ys(),u=Xs(),d=Zs(),[f,p]=(0,x.useState)(e?.title??``),[m,h]=(0,x.useState)(e?.about),g=p7(),[_,v]=(0,x.useState)(e?.value??null),[y,b]=(0,x.useState)(e?.stage??n.stages[0]?.id??``),[C,w]=(0,x.useState)(e?e.ownerId??m7:t.ownerId??m7),[T,E]=(0,x.useState)(e?.closeOn??null),[D,O]=(0,x.useState)(h7),k=o7(`deal`,e?.data),A=n.currency??`USD`,j=e=>{e instanceof No&&O(Object.fromEntries(e.issues.map(e=>[String(e.path[0]),e.message]))),k.refused(e),X({title:s.deals.notSaved,description:g7(e),tone:`danger`})},M=()=>{if(f.trim()===``)return O({title:s.deals.nameNeeded});O(h7);let n=_??0;e?u.mutate({id:e.id,changes:{title:f,about:m??null,value:n,stage:y,ownerId:C===m7?null:C,closeOn:T,...k.toSend(),expectedRevision:e.revision}},{onSuccess:e=>{X({title:s.deals.saved(e.title),tone:`success`}),a()},onError:j}):l.mutate({contactId:t.id,title:f,...m&&{about:m},value:n,stage:y,...C!==m7&&{ownerId:C},...T!==null&&{closeOn:T},...k.toSend()},{onSuccess:e=>{X({title:s.deals.created(e.title),tone:`success`}),a()},onError:j})},ee=e?s.deals.editTitle(e.title):s.deals.addTitle,N=[{id:m7,label:s.contacts.nobody},...r.map(e=>({id:e.id,label:e.name})),...C!==m7&&!r.some(e=>e.id===C)?[{id:C,label:s.contacts.someoneWhoLeft}]:[]];return(0,S.jsx)(wQ,{...o,title:ee,closeLabel:s.app.dismiss,footer:(0,S.jsxs)(S.Fragment,{children:[e&&(0,S.jsx)(q,{variant:`ghost`,icon:jx,isPending:d.isPending,onPress:()=>d.mutate(e.id,{onSuccess:()=>{X({title:s.deals.deleted(e.title),tone:`success`}),a()},onError:e=>X({title:s.deals.notDeleted,description:g7(e),tone:`danger`})}),children:s.deals.delete}),(0,S.jsx)(q,{variant:`secondary`,onPress:a,children:s.editor.cancel}),(0,S.jsx)(q,{isPending:l.isPending||u.isPending,onPress:M,children:e?s.deals.save:s.deals.create})]}),children:(0,S.jsxs)(MQ,{label:ee,gap:4,onSubmit:M,children:[(0,S.jsx)(S1,{label:s.deals.name,placeholder:s.deals.namePlaceholder,value:f,onChange:p,isRequired:!0,autoFocus:!0,autoComplete:`off`,...D.title!==void 0&&{errorMessage:D.title}}),(0,S.jsx)(Pne,{subjects:g,about:m,problem:D.about,onChange:(e,t)=>{h(e),t!==void 0&&f.trim()===``&&p(t)}}),(0,S.jsxs)(PQ,{columns:2,gap:3,children:[(0,S.jsx)(d$,{label:s.deals.value(A),value:_,onChange:v,minValue:0,isInteger:!0,...D.value!==void 0&&{errorMessage:D.value}}),(0,S.jsx)(M$,{label:s.deals.stage,options:n.stages.map(e=>({id:e.id,label:c(e)})),value:y,onChange:b,...D.stage!==void 0&&{errorMessage:D.stage}}),(0,S.jsx)(M$,{label:s.deals.owner,options:N,value:C,onChange:w,...D.ownerId!==void 0&&{errorMessage:D.ownerId}}),(0,S.jsx)(fQ,{label:s.deals.closeOn,value:T,onChange:E,...D.closeOn!==void 0&&{errorMessage:D.closeOn}})]}),(0,S.jsx)(s7,{custom:k})]})})}function Fne({contact:e}){let t=Q(),n=O6(),r=Ws({contactId:e.id,limit:200}),i=lc(),a=pc(),o=$5(),s=a7(i.data?.currency),[c,l]=(0,x.useState)(null),u=[{id:`title`,label:t.deals.columnTitle},{id:`stage`,label:t.deals.columnStage},{id:`close`,label:t.deals.columnClose,isSecondary:!0},{id:`value`,label:t.deals.columnValue,align:`end`}],d=(r.data?.items??[]).map(e=>{let t=i.data?.stages.find(t=>t.id===e.stage);return{id:e.id,cells:{title:(0,S.jsx)(Y,{weight:`semibold`,children:e.title}),stage:t?(0,S.jsx)(v1,{tone:e7[t.kind],children:o(t)}):``,close:(0,S.jsx)(Y,{tone:`secondary`,children:e.closeOn===void 0?``:r7(e.closeOn,n)}),value:(0,S.jsx)(Y,{weight:`semibold`,children:s(e.value)})}}});return(0,S.jsxs)(NZ,{title:t.deals.cardTitle,children:[(0,S.jsxs)(J,{gap:4,children:[r.isPending&&(0,S.jsx)(X5,{shape:`table`}),r.isError&&(0,S.jsx)(Z5,{error:r.error,onRetry:()=>void r.refetch()}),r.isSuccess&&d.length===0&&(0,S.jsx)(Y,{tone:`muted`,children:t.deals.cardEmpty}),r.isSuccess&&d.length>0&&(0,S.jsx)(d1,{label:t.deals.cardTitle,columns:u,rows:d,onRowAction:e=>l(r.data.items.find(t=>t.id===e)??null)}),(0,S.jsx)(BQ,{children:(0,S.jsx)(q,{variant:`secondary`,size:`sm`,icon:Gb,isDisabled:!i.isSuccess,onPress:()=>l(`new`),children:t.deals.add})})]}),c!==null&&i.data&&(0,S.jsx)(_7,{...c!==`new`&&{deal:c},contact:e,pipeline:i.data,team:a.data??[],onClose:()=>l(null)})]})}var v7=`nobody`,Ine=`2000-01-01`,Lne=e=>e instanceof Error?e.message:String(e);function Rne({contact:e}){let t=Q(),n=O6(),r=lc(),i=pc(),a=bc(),o=$5(),[s,c]=(0,x.useState)(e.followUpAt??null),l=(n,r)=>a.mutate({id:e.id,changes:{...n,expectedRevision:e.revision}},{onSuccess:()=>X({title:r,tone:`success`}),onError:e=>X({title:t.contacts.notChanged,description:Lne(e),tone:`danger`})}),u=r.data?.stages??[],d=i.data??[],f=[{id:v7,label:t.contacts.nobody},...d.map(e=>({id:e.id,label:e.name})),...e.ownerId!==void 0&&i.isSuccess&&!d.some(t=>t.id===e.ownerId)?[{id:e.ownerId,label:t.contacts.someoneWhoLeft}]:[]];return(0,S.jsx)(NZ,{title:t.contacts.work,children:(0,S.jsxs)(J,{gap:4,children:[(0,S.jsx)(M$,{label:t.contacts.stage,options:u.map(e=>({id:e.id,label:o(e)})),value:e.stage,isDisabled:a.isPending||!r.isSuccess,onChange:n=>n!==e.stage&&l({stage:n},t.contacts.stageSaved(o(u.find(e=>e.id===n))))}),(0,S.jsx)(M$,{label:t.contacts.owner,options:f,value:e.ownerId??v7,isDisabled:a.isPending||!i.isSuccess,onChange:n=>{n!==(e.ownerId??v7)&&(n===v7?l({ownerId:null},t.contacts.ownerCleared):l({ownerId:n},t.contacts.ownerSaved(d.find(e=>e.id===n)?.name??``)))}}),(0,S.jsx)(fQ,{label:t.contacts.followUp,description:t.contacts.followUpHelp,value:s,isDisabled:a.isPending,onChange:r=>{c(r),r!==(e.followUpAt??null)&&(r===null?l({followUpAt:null},t.contacts.followUpCleared):r>=Ine&&l({followUpAt:r},t.contacts.followUpSaved(r7(r,n))))}})]})})}var y7={},zne={},b7=e=>e instanceof Error?e.message:String(e);function Bne(){let{contactId:e=``}=ta(),t=Q(),n=Fo();return n.data===null||n.data===void 0||n.data.role===`author`?(0,S.jsx)(o2,{icon:Xv,title:t.contacts.title,description:t.contacts.noAccess}):(0,S.jsx)(Vne,{id:e},e)}function Vne({id:e}){let t=Q(),n=mc(e);return n.isPending?(0,S.jsx)(X5,{}):n.isError?n.error instanceof No&&n.error.code===`not_found`?(0,S.jsx)(o2,{icon:Xv,title:t.contacts.notFoundTitle,description:t.contacts.notFoundDescription,action:(0,S.jsx)(HQ,{href:$.contacts,children:t.contacts.backToContacts})}):(0,S.jsx)(Z5,{error:n.error,onRetry:()=>void n.refetch()}):(0,S.jsx)(Hne,{contact:n.data})}function Hne({contact:e}){let t=Q(),n=O6(),r=Q5(),i=u7(Ss().data),a=wc(),o=xc(),[s,c]=(0,x.useState)(!1),[l,u]=(0,x.useState)(!1),d=e.name??e.email,f=dc(),p=e.data??zne,m=[[t.contacts.email,e.email],[t.contacts.phone,e.phone??t.contacts.notGiven],...f_(f.data?.contact??[]).map(e=>[Z(e.label,n),d7(p[e.id],t.forms.yes)||t.contacts.notGiven]),[t.contacts.firstCameFrom,i(e)],[t.contacts.added,l7(e.createdAt,n)]];return(0,S.jsxs)(X_,{paddingX:12,paddingY:10,children:[(0,S.jsxs)(J,{gap:6,children:[(0,S.jsxs)(J,{gap:2,children:[(0,S.jsx)(HQ,{href:$.contacts,children:t.contacts.backToContacts}),(0,S.jsx)(d2,{title:d,...e.name!==void 0&&{description:e.email},secondary:{moreLabel:t.app.moreActions,actions:[{id:`erase`,label:t.contacts.erase,icon:Vx,variant:`ghost`,tone:`danger`,onPress:()=>u(!0)},{id:`export`,label:t.contacts.export,icon:ey,isPending:a.isPending,onPress:()=>a.mutate(e.id,{onSuccess:n=>{c7(`contact-${e.email}.json`,n,`application/json;charset=utf-8`),X({title:t.contacts.exported,description:t.contacts.exportedDescription,tone:`success`})},onError:e=>X({title:t.contacts.notExported,description:b7(e),tone:`danger`})})}]},actions:(0,S.jsx)(q,{icon:Lb,collapses:!0,onPress:()=>c(!0),children:t.contacts.edit})})]}),(0,S.jsx)(Y2,{asideLabel:t.contacts.detailsLabel,aside:(0,S.jsxs)(J,{gap:4,children:[(0,S.jsx)(Rne,{contact:e}),(0,S.jsx)(NZ,{title:t.contacts.details,children:(0,S.jsx)(J,{gap:4,children:m.map(([e,t])=>(0,S.jsxs)(J,{gap:0,children:[(0,S.jsx)(Y,{size:`sm`,weight:`semibold`,tone:`secondary`,children:e}),(0,S.jsx)(Y,{children:t})]},e))})})]}),children:(0,S.jsxs)(J,{gap:6,children:[(0,S.jsx)(Fne,{contact:e}),(0,S.jsx)(Une,{contact:e})]})})]}),s&&(0,S.jsx)(Wne,{contact:e,onClose:()=>c(!1)}),(0,S.jsx)(r2,{isOpen:l,onOpenChange:u,title:t.contacts.eraseTitle(d),confirmLabel:t.contacts.eraseConfirm,cancelLabel:t.editor.cancel,tone:`danger`,isPending:o.isPending,onConfirm:()=>o.mutate(e.id,{onSuccess:e=>{X({title:t.contacts.erased(d,e),tone:`success`}),r($.contacts)},onError:e=>{X({title:t.contacts.notErased,description:b7(e),tone:`danger`}),u(!1)}}),children:t.contacts.eraseDescription})]})}function Une({contact:e}){let t=Q(),n=O6(),r=hc(e.id),i=Sc(),a=Cc(),[o,s]=(0,x.useState)(``),[c,l]=(0,x.useState)(null),u=lc(),d=pc(),f=$5(),p=e=>f((u.data?.stages??[]).find(t=>t.id===e))||t.contacts.stageGone,m=()=>{l(null),i.mutate({id:e.id,text:o},{onSuccess:()=>{s(``),X({title:t.contacts.noteAdded,tone:`success`})},onError:e=>{e instanceof No&&e.code===`validation_failed`&&l(e.issues[0]?.message??e.message),X({title:t.contacts.noteNotAdded,description:b7(e),tone:`danger`})}})},h=e=>e.split(`
74
+ `);e.items.add(n,t)}else e.items.add(r[0],t);if(r){let t=JSON.stringify(i);e.items.add(t,BU)}}var GU=class{constructor(e){this.types=new Set;let t=!1;for(let n of e.items)n.type!==`application/vnd.react-aria.items+json`&&(n.kind===`file`&&(t=!0),n.type?this.types.add(n.type):this.types.add(Xte));this.includesUnknownTypes=!t&&e.types.includes(`Files`)}has(e){if(Array.isArray(e))return e.some(e=>this.has(e));if(this.includesUnknownTypes||e===Zte&&this.types.has(`application/octet-stream`)||e===`*/*`)return!0;if(typeof e==`string`){if(e.endsWith(`/*`)){for(let t of this.types)if(t.startsWith(e.slice(0,-2)))return!0;return!1}return this.types.has(e)}return!1}};function $te(e){let t=[];if(!e)return t;let n=!1;if(e.types.includes(`application/vnd.react-aria.items+json`))try{let r=e.getData(BU),i=JSON.parse(r);for(let e of i)t.push({kind:`text`,types:new Set(Object.keys(e)),getText:t=>Promise.resolve(e[t])});n=!0}catch{}if(!n){let n=new Map;for(let r of e.items)if(r.kind===`string`)n.set(r.type||`application/octet-stream`,e.getData(r.type));else if(r.kind===`file`){if(typeof r.webkitGetAsEntry==`function`){let e=r.webkitGetAsEntry();if(!e)continue;e.isFile?t.push(KU(r.getAsFile())):e.isDirectory&&t.push(qU(e))}else t.push(KU(r.getAsFile()))}n.size>0&&t.push({kind:`text`,types:new Set(n.keys()),getText:e=>Promise.resolve(n.get(e))})}return t}function ene(e){return typeof e.text==`function`?e.text():new Promise((t,n)=>{let r=new FileReader;r.onload=()=>{t(r.result)},r.onerror=n,r.readAsText(e)})}function KU(e){if(!e)throw Error(`No file provided`);return{kind:`file`,type:e.type||`application/octet-stream`,name:e.name,getText:()=>ene(e),getFile:()=>Promise.resolve(e)}}function qU(e){return{kind:`directory`,name:e.name,getEntries:()=>tne(e)}}async function*tne(e){let t=e.createReader(),n;do{n=await new Promise((e,n)=>{t.readEntries(e,n)});for(let e of n)e.isFile?yield KU(await nne(e)):e.isDirectory&&(yield qU(e))}while(n.length>0)}function nne(e){return new Promise((t,n)=>e.file(t,n))}function JU(e){return e.kind===`text`}var YU={draggingKeys:new Set};function rne(e){YU=e}var XU;function ZU(e){XU=e}var QU=PU.none;function $U(e){QU=e}var eW=new Map,tW=new Map,nW=null,rW=new Set;function ine(e){return eW.set(e.element,e),nW?.updateValidDropTargets(),()=>{eW.delete(e.element),nW?.updateValidDropTargets()}}function ane(e,t){if(nW)throw Error(`Cannot begin dragging while already dragging`);nW=new une(e,t),requestAnimationFrame(()=>{nW&&(nW.setup(),WU()===`keyboard`&&nW.next())});for(let e of rW)e()}function one(){let[e,t]=(0,x.useState)(nW);return(0,x.useEffect)(()=>{let e=()=>t(nW);return rW.add(e),()=>{rW.delete(e)}},[]),e}function sne(){nW=null;for(let e of rW)e()}var iW=[`pointerdown`,`pointermove`,`pointerenter`,`pointerleave`,`pointerover`,`pointerout`,`pointerup`,`mousedown`,`mousemove`,`mouseenter`,`mouseleave`,`mouseover`,`mouseout`,`mouseup`,`touchstart`,`touchmove`,`touchend`,`focusin`,`focusout`],cne=[`pointerup`,`mouseup`,`touchend`],lne={keyboard:`dragStartedKeyboard`,touch:`dragStartedTouch`,virtual:`dragStartedVirtual`},une=class{constructor(e,t){this.validDropTargets=[],this.currentDropTarget=null,this.currentDropItem=null,this.dropOperation=null,this.mutationObserver=null,this.restoreAriaHidden=null,this.isVirtualClick=!1,this.dragTarget=e,this.stringFormatter=t,this.onKeyDown=this.onKeyDown.bind(this),this.onKeyUp=this.onKeyUp.bind(this),this.onFocus=this.onFocus.bind(this),this.onBlur=this.onBlur.bind(this),this.onClick=this.onClick.bind(this),this.onPointerDown=this.onPointerDown.bind(this),this.cancelEvent=this.cancelEvent.bind(this),this.initialFocused=!1}setup(){document.addEventListener(`keydown`,this.onKeyDown,!0),document.addEventListener(`keyup`,this.onKeyUp,!0),window.addEventListener(`focus`,this.onFocus,!0),window.addEventListener(`blur`,this.onBlur,!0),document.addEventListener(`click`,this.onClick,!0),document.addEventListener(`pointerdown`,this.onPointerDown,!0);for(let e of iW)document.addEventListener(e,this.cancelEvent,!0);this.mutationObserver=new MutationObserver(()=>this.updateValidDropTargets()),this.updateValidDropTargets(),YD(this.stringFormatter.format(lne[WU()]))}teardown(){document.removeEventListener(`keydown`,this.onKeyDown,!0),document.removeEventListener(`keyup`,this.onKeyUp,!0),window.removeEventListener(`focus`,this.onFocus,!0),window.removeEventListener(`blur`,this.onBlur,!0),document.removeEventListener(`click`,this.onClick,!0),document.removeEventListener(`pointerdown`,this.onPointerDown,!0);for(let e of iW)document.removeEventListener(e,this.cancelEvent,!0);this.mutationObserver?.disconnect(),this.restoreAriaHidden?.()}onKeyDown(e){this.cancelEvent(e),e.key===`Escape`?this.cancel():(e.key===`Tab`&&!(e.metaKey||e.altKey||e.ctrlKey)&&(e.shiftKey?this.previous():this.next()),typeof this.currentDropTarget?.onKeyDown==`function`&&this.currentDropTarget.onKeyDown(e,this.dragTarget))}onKeyUp(e){this.cancelEvent(e),e.key===`Enter`&&(e.altKey||zS(this.getCurrentActivateButton(),G(e))?this.activate(this.currentDropTarget,this.currentDropItem):this.drop())}getCurrentActivateButton(){return this.currentDropItem?.activateButtonRef?.current??this.currentDropTarget?.activateButtonRef?.current??null}onFocus(e){let t=this.getCurrentActivateButton(),n=G(e);if(n===t){this.cancelEvent(e);return}if(n!==this.dragTarget.element&&this.cancelEvent(e),!(n instanceof HTMLElement)||n===this.dragTarget.element)return;let r=this.validDropTargets.find(e=>e.element===n)||this.validDropTargets.find(e=>zS(e.element,n));if(!r){this.currentDropTarget?this.currentDropTarget.element.focus():this.dragTarget.element.focus();return}let i=tW.get(n);r&&this.setCurrentDropTarget(r,i)}onBlur(e){let t=this.getCurrentActivateButton();t&&e.relatedTarget===t?this.cancelEvent(e):(G(e)!==this.dragTarget.element&&this.cancelEvent(e),e.relatedTarget&&e.relatedTarget instanceof HTMLElement||(this.currentDropTarget?this.currentDropTarget.element.focus():this.dragTarget.element.focus()))}onClick(e){if(this.cancelEvent(e),bC(e)||this.isVirtualClick){let t=tW.values(),n=G(e),r=[...t].find(e=>e.element===n||zS(e.activateButtonRef?.current,n)),i=this.validDropTargets.find(e=>zS(e.element,n));if(zS(r?.activateButtonRef?.current??i?.activateButtonRef?.current,n)&&i){this.activate(i,r);return}if(G(e)===this.dragTarget.element){this.cancel();return}i&&(this.setCurrentDropTarget(i,r),this.drop(r))}}onPointerDown(e){this.cancelEvent(e),this.isVirtualClick=xC(e)}cancelEvent(e){let t=G(e);(e.type!==`focusin`&&e.type!==`focusout`||t!==this.dragTarget?.element&&t!==this.getCurrentActivateButton())&&(cne.includes(e.type)||e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation())}updateValidDropTargets(){if(!this.mutationObserver)return;if(this.mutationObserver.disconnect(),this.restoreAriaHidden&&this.restoreAriaHidden(),this.validDropTargets=dne(this.dragTarget),this.validDropTargets.length>0){let e=this.findNearestDropTarget();this.validDropTargets=[...this.validDropTargets.slice(e),...this.validDropTargets.slice(0,e)]}this.currentDropTarget&&!this.validDropTargets.includes(this.currentDropTarget)&&this.setCurrentDropTarget(this.validDropTargets[0]);let e=VU(this.dragTarget.items),t=[...tW.values()].filter(t=>typeof t.getDropOperation!=`function`||t.getDropOperation(e,this.dragTarget.allowedDropOperations)!==`cancel`),n=this.validDropTargets.filter(e=>!t.some(t=>zS(e.element,t.element)));this.restoreAriaHidden=_R([this.dragTarget.element,...t.flatMap(e=>e.activateButtonRef?.current?[e.element,e.activateButtonRef?.current]:[e.element]),...n.flatMap(e=>e.activateButtonRef?.current?[e.element,e.activateButtonRef?.current]:[e.element])],{shouldUseInert:!0}),this.mutationObserver.observe(document.body,{subtree:!0,attributes:!0,attributeFilter:[`aria-hidden`,`inert`]})}next(){if(!this.currentDropTarget){this.setCurrentDropTarget(this.validDropTargets[0]);return}let e=this.validDropTargets.indexOf(this.currentDropTarget);e<0?this.setCurrentDropTarget(this.validDropTargets[0]):e===this.validDropTargets.length-1?this.dragTarget.element.closest(`[aria-hidden="true"], [inert]`)?this.setCurrentDropTarget(this.validDropTargets[0]):(this.setCurrentDropTarget(null),this.dragTarget.element.focus()):this.setCurrentDropTarget(this.validDropTargets[e+1])}previous(){if(!this.currentDropTarget){this.setCurrentDropTarget(this.validDropTargets[this.validDropTargets.length-1]);return}let e=this.validDropTargets.indexOf(this.currentDropTarget);e<0?this.setCurrentDropTarget(this.validDropTargets[this.validDropTargets.length-1]):e===0?this.dragTarget.element.closest(`[aria-hidden="true"], [inert]`)?this.setCurrentDropTarget(this.validDropTargets[this.validDropTargets.length-1]):(this.setCurrentDropTarget(null),this.dragTarget.element.focus()):this.setCurrentDropTarget(this.validDropTargets[e-1])}findNearestDropTarget(){let e=this.dragTarget.element.getBoundingClientRect(),t=1/0,n=-1,r=-1;for(let i=0;i<this.validDropTargets.length;i++){let a=this.validDropTargets[i];r<0&&zS(a.element,this.dragTarget.element)&&(r=i);let o=a.element.getBoundingClientRect(),s=o.left-e.left,c=o.top-e.top,l=s*s+c*c;l<t&&(t=l,n=i)}return r>=0?r:n}setCurrentDropTarget(e,t){if(e!==this.currentDropTarget){if(this.currentDropTarget&&typeof this.currentDropTarget.onDropExit==`function`){let e=this.currentDropTarget.element.getBoundingClientRect();this.currentDropTarget.onDropExit({type:`dropexit`,x:e.left+e.width/2,y:e.top+e.height/2})}if(this.currentDropTarget=e,e){if(typeof e.onDropEnter==`function`){let t=e.element.getBoundingClientRect();e.onDropEnter({type:`dropenter`,x:t.left+t.width/2,y:t.top+t.height/2},this.dragTarget)}t||e?.element.focus()}}if(t!=null&&t!==this.currentDropItem&&(this.currentDropTarget&&typeof this.currentDropTarget.onDropTargetEnter==`function`&&this.currentDropTarget.onDropTargetEnter(t.target),t.element.focus(),this.currentDropItem=t,!this.initialFocused)){let e=t?.element.getAttribute(`aria-label`);e&&YD(e,`polite`),this.initialFocused=!0}}end(){if(this.teardown(),sne(),typeof this.dragTarget.onDragEnd==`function`){let e=(this.currentDropTarget&&this.dropOperation!==`cancel`?this.currentDropTarget:this.dragTarget).element.getBoundingClientRect();this.dragTarget.onDragEnd({type:`dragend`,x:e.x+e.width/2,y:e.y+e.height/2,dropOperation:this.dropOperation||`cancel`})}this.currentDropTarget&&!this.currentDropTarget.preventFocusOnDrop&&BS()?.dispatchEvent(new FocusEvent(`focusin`,{bubbles:!0})),this.setCurrentDropTarget(null)}cancel(){this.setCurrentDropTarget(null),this.end(),this.dragTarget.element.closest(`[aria-hidden="true"], [inert]`)||this.dragTarget.element.focus(),BS()?.dispatchEvent(new FocusEvent(`focusin`,{bubbles:!0})),YD(this.stringFormatter.format(`dropCanceled`))}drop(e){if(!this.currentDropTarget)this.cancel();else{if(typeof e?.getDropOperation==`function`){let t=VU(this.dragTarget.items);this.dropOperation=e.getDropOperation(t,this.dragTarget.allowedDropOperations)}else if(typeof this.currentDropTarget.getDropOperation==`function`){let e=VU(this.dragTarget.items);this.dropOperation=this.currentDropTarget.getDropOperation(e,this.dragTarget.allowedDropOperations)}else this.dropOperation=this.dragTarget.allowedDropOperations[0];if(typeof this.currentDropTarget.onDrop==`function`){let t=this.dragTarget.items.map(e=>({kind:`text`,types:new Set(Object.keys(e)),getText:t=>Promise.resolve(e[t])})),n=this.currentDropTarget.element.getBoundingClientRect();this.currentDropTarget.onDrop({type:`drop`,x:n.left+n.width/2,y:n.top+n.height/2,items:t,dropOperation:this.dropOperation},e?.target??null)}this.end(),YD(this.stringFormatter.format(`dropComplete`))}}activate(e,t){if(e&&typeof e.onDropActivate==`function`){let n=t?.target??null,r=e.element.getBoundingClientRect();e.onDropActivate({type:`dropactivate`,x:r.left+r.width/2,y:r.top+r.height/2},n)}}};function dne(e){let t=VU(e.items);return[...eW.values()].filter(n=>n.element.closest(`[aria-hidden="true"], [inert]`)?!1:typeof n.getDropOperation!=`function`||n.getDropOperation(t,e.allowedDropOperations)!==`cancel`)}var aW={};aW={dragDescriptionKeyboard:`اضغط Enter لبدء السحب.`,dragDescriptionKeyboardAlt:`اضغط على Alt + Enter لبدء السحب.`,dragDescriptionLongPress:`اضغط باستمرار لبدء السحب.`,dragDescriptionTouch:`اضغط مرتين لبدء السحب.`,dragDescriptionVirtual:`انقر لبدء السحب.`,dragItem:e=>`\u{627}\u{633}\u{62D}\u{628} ${e.itemText}`,dragSelectedItems:(e,t)=>`\u{627}\u{633}\u{62D}\u{628} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{639}\u{646}\u{635}\u{631} \u{645}\u{62D}\u{62F}\u{62F}`,other:()=>`${t.number(e.count)} \u{639}\u{646}\u{627}\u{635}\u{631} \u{645}\u{62D}\u{62F}\u{62F}\u{629}`})}`,dragSelectedKeyboard:(e,t)=>`\u{627}\u{636}\u{63A}\u{637} \u{639}\u{644}\u{649} Enter \u{644}\u{644}\u{633}\u{62D}\u{628} ${t.plural(e.count,{one:`عدد العناصر المختارة`,other:`عدد العناصر المختارة`})}.`,dragSelectedKeyboardAlt:(e,t)=>`\u{627}\u{636}\u{63A}\u{637} \u{639}\u{644}\u{649} \u{645}\u{641}\u{62A}\u{627}\u{62D}\u{64A} Alt + Enter \u{644}\u{644}\u{633}\u{62D}\u{628} ${t.plural(e.count,{one:`عدد العناصر المختارة`,other:`عدد العناصر المختارة`})}.`,dragSelectedLongPress:(e,t)=>`\u{627}\u{636}\u{63A}\u{637} \u{628}\u{627}\u{633}\u{62A}\u{645}\u{631}\u{627}\u{631} \u{644}\u{644}\u{633}\u{62D}\u{628} ${t.plural(e.count,{one:`عدد العناصر المختارة`,other:`عدد العناصر المختارة`})}.`,dragStartedKeyboard:`بدأ السحب. اضغط Tab للانتقال إلى موضع الإفلات، ثم اضغط Enter للإفلات، أو اضغط Escape للإلغاء.`,dragStartedTouch:`بدأ السحب. انتقل إلى موضع الإفلات، ثم اضغط مرتين للإفلات.`,dragStartedVirtual:`بدأ السحب. انتقل إلى مكان الإفلات، ثم انقر أو اضغط Enter للإفلات.`,dropCanceled:`تم إلغاء الإفلات.`,dropComplete:`اكتمل الإفلات.`,dropDescriptionKeyboard:`اضغط Enter للإفلات. اضغط Escape لإلغاء السحب.`,dropDescriptionTouch:`اضغط مرتين للإفلات.`,dropDescriptionVirtual:`انقر للإفلات.`,dropIndicator:`مؤشر الإفلات`,dropOnItem:e=>`\u{625}\u{641}\u{644}\u{627}\u{62A} ${e.itemText}`,dropOnRoot:`الإفلات`,endDragKeyboard:`السحب. اضغط Enter لإلغاء السحب.`,endDragTouch:`السحب. اضغط مرتين لإلغاء السحب.`,endDragVirtual:`السحب. انقر لإلغاء السحب.`,insertAfter:e=>`\u{623}\u{62F}\u{62E}\u{644} \u{628}\u{639}\u{62F} ${e.itemText}`,insertBefore:e=>`\u{623}\u{62F}\u{62E}\u{644} \u{642}\u{628}\u{644} ${e.itemText}`,insertBetween:e=>`\u{623}\u{62F}\u{62E}\u{644} \u{628}\u{64A}\u{646} ${e.beforeItemText} \u{648} ${e.afterItemText}`};var oW={};oW={dragDescriptionKeyboard:`Натиснете „Enter“, за да започнете да плъзгате.`,dragDescriptionKeyboardAlt:`Натиснете Alt + Enter, за да започнете да плъзгате.`,dragDescriptionLongPress:`Натиснете продължително, за да започнете да плъзгате.`,dragDescriptionTouch:`Натиснете двукратно, за да започнете да плъзгате.`,dragDescriptionVirtual:`Щракнете, за да започнете да плъзгате.`,dragItem:e=>`\u{41F}\u{43B}\u{44A}\u{437}\u{43D}\u{438} ${e.itemText}`,dragSelectedItems:(e,t)=>`\u{41F}\u{43B}\u{44A}\u{437}\u{43D}\u{438} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}`,other:()=>`${t.number(e.count)} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{438} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{430}`})}`,dragSelectedKeyboard:(e,t)=>`\u{41D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{435}\u{442}\u{435} Enter, \u{437}\u{430} \u{434}\u{430} \u{43F}\u{43B}\u{44A}\u{437}\u{43D}\u{435}\u{442}\u{435} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}`,other:()=>`${t.number(e.count)} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{438} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{438}`})}.`,dragSelectedKeyboardAlt:(e,t)=>`\u{41D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{435}\u{442}\u{435} Alt \u{438} Enter, \u{437}\u{430} \u{434}\u{430} \u{43F}\u{43B}\u{44A}\u{437}\u{43D}\u{435}\u{442}\u{435} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}`,other:()=>`${t.number(e.count)} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{438} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{438}`})}.`,dragSelectedLongPress:(e,t)=>`\u{41D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{435}\u{442}\u{435} \u{43F}\u{440}\u{43E}\u{434}\u{44A}\u{43B}\u{436}\u{438}\u{442}\u{435}\u{43B}\u{43D}\u{43E}, \u{437}\u{430} \u{434}\u{430} \u{43F}\u{43B}\u{44A}\u{437}\u{43D}\u{435}\u{442}\u{435} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}`,other:()=>`${t.number(e.count)} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{438} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{438}`})}.`,dragStartedKeyboard:`Започна плъзгане. Натиснете „Tab“, за да се придвижите до целта, след което натиснете „Enter“ за пускане или натиснете „Escape“ за отмяна.`,dragStartedTouch:`Започна плъзгане. Придвижете се до целта, след което натиснете двукратно, за да пуснете.`,dragStartedVirtual:`Започна плъзгане. Придвижете се до целта, след което щракнете или натиснете „Enter“ за пускане.`,dropCanceled:`Пускането е отменено.`,dropComplete:`Пускането е завършено.`,dropDescriptionKeyboard:`Натиснете „Enter“ за пускане. Натиснете „Escape“ за отмяна на плъзгането.`,dropDescriptionTouch:`Натиснете двукратно за пускане.`,dropDescriptionVirtual:`Щракнете за пускане.`,dropIndicator:`индикатор за пускане`,dropOnItem:e=>`\u{41F}\u{443}\u{441}\u{43D}\u{438} \u{432}\u{44A}\u{440}\u{445}\u{443} ${e.itemText}`,dropOnRoot:`Пусни върху`,endDragKeyboard:`Плъзгане. Натиснете „Enter“ за отмяна на плъзгането.`,endDragTouch:`Плъзгане. Натиснете двукратно за отмяна на плъзгането.`,endDragVirtual:`Плъзгане. Щракнете за отмяна.`,insertAfter:e=>`\u{412}\u{43C}\u{44A}\u{43A}\u{43D}\u{438} \u{441}\u{43B}\u{435}\u{434} ${e.itemText}`,insertBefore:e=>`\u{412}\u{43C}\u{44A}\u{43A}\u{43D}\u{438} \u{43F}\u{440}\u{435}\u{434}\u{438} ${e.itemText}`,insertBetween:e=>`\u{412}\u{43C}\u{44A}\u{43A}\u{43D}\u{438} \u{43C}\u{435}\u{436}\u{434}\u{443} ${e.beforeItemText} \u{438} ${e.afterItemText}`};var sW={};sW={dragDescriptionKeyboard:`Stisknutím klávesy Enter začnete s přetahováním.`,dragDescriptionKeyboardAlt:`Stisknutím Alt + Enter zahájíte přetahování.`,dragDescriptionLongPress:`Dlouhým stisknutím zahájíte přetahování.`,dragDescriptionTouch:`Poklepáním začnete s přetahováním.`,dragDescriptionVirtual:`Kliknutím začnete s přetahováním.`,dragItem:e=>`P\u{159}et\xe1hnout ${e.itemText}`,dragSelectedItems:(e,t)=>`P\u{159}et\xe1hnout ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou polo\u{17E}ku`,few:()=>`${t.number(e.count)} vybran\xe9 polo\u{17E}ky`,other:()=>`${t.number(e.count)} vybran\xfdch polo\u{17E}ek`})}`,dragSelectedKeyboard:(e,t)=>`Stisknut\xedm kl\xe1vesy Enter p\u{159}et\xe1hn\u{11B}te ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou polo\u{17E}ku`,other:()=>`${t.number(e.count)} vybran\xe9 polo\u{17E}ky`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Stisknut\xedm Alt + Enter p\u{159}et\xe1hn\u{11B}te ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou polo\u{17E}ku`,other:()=>`${t.number(e.count)} vybran\xe9 polo\u{17E}ky`})}.`,dragSelectedLongPress:(e,t)=>`Dlouh\xfdm stisknut\xedm p\u{159}et\xe1hnete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou polo\u{17E}ku`,other:()=>`${t.number(e.count)} vybran\xe9 polo\u{17E}ky`})}.`,dragStartedKeyboard:`Začněte s přetahováním. Po stisknutí klávesy Tab najděte požadovaný cíl a stisknutím klávesy Enter přetažení dokončete nebo stisknutím klávesy Esc akci zrušte.`,dragStartedTouch:`Začněte s přetahováním. Najděte požadovaný cíl a poklepáním přetažení dokončete.`,dragStartedVirtual:`Začněte s přetahováním. Najděte požadovaný cíl a kliknutím nebo stisknutím klávesy Enter přetažení dokončete.`,dropCanceled:`Přetažení bylo zrušeno.`,dropComplete:`Přetažení bylo dokončeno.`,dropDescriptionKeyboard:`Stisknutím klávesy Enter přetažení dokončete nebo stisknutím klávesy Esc akci zrušte.`,dropDescriptionTouch:`Poklepáním přetažení dokončete.`,dropDescriptionVirtual:`Kliknutím objekt přetáhněte.`,dropIndicator:`indikátor přetažení`,dropOnItem:e=>`P\u{159}et\xe1hnout na ${e.itemText}`,dropOnRoot:`Přetáhnout na`,endDragKeyboard:`Probíhá přetahování. Stisknutím klávesy Enter přetažení zrušíte.`,endDragTouch:`Probíhá přetahování. Poklepáním přetažení zrušíte.`,endDragVirtual:`Probíhá přetahování. Kliknutím přetažení zrušíte.`,insertAfter:e=>`Vlo\u{17E}it za ${e.itemText}`,insertBefore:e=>`Vlo\u{17E}it p\u{159}ed ${e.itemText}`,insertBetween:e=>`Vlo\u{17E}it mezi ${e.beforeItemText} a ${e.afterItemText}`};var cW={};cW={dragDescriptionKeyboard:`Tryk på Enter for at starte med at trække.`,dragDescriptionKeyboardAlt:`Tryk på Alt + Enter for at starte med at trække.`,dragDescriptionLongPress:`Tryk længe for at starte med at trække.`,dragDescriptionTouch:`Dobbelttryk for at starte med at trække.`,dragDescriptionVirtual:`Klik for at starte med at trække.`,dragItem:e=>`Tr\xe6k ${e.itemText}`,dragSelectedItems:(e,t)=>`Tr\xe6k ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}`,dragSelectedKeyboard:(e,t)=>`Tryk p\xe5 Enter for at tr\xe6kke ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgte element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Tryk p\xe5 Alt + Enter for at tr\xe6kke ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgte element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedLongPress:(e,t)=>`Tryk l\xe6nge for at tr\xe6kke ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgte element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragStartedKeyboard:`Startet med at trække. Tryk på Tab for at gå til et slip-mål, tryk derefter på Enter for at slippe, eller tryk på Escape for at annullere.`,dragStartedTouch:`Startet med at trække. Gå til et slip-mål, og dobbelttryk derefter for at slippe.`,dragStartedVirtual:`Startet med at trække. Gå til et slip-mål, og klik eller tryk derefter på enter for at slippe.`,dropCanceled:`Slip annulleret.`,dropComplete:`Slip fuldført.`,dropDescriptionKeyboard:`Tryk på Enter for at slippe. Tryk på Escape for at annullere trækning.`,dropDescriptionTouch:`Dobbelttryk for at slippe.`,dropDescriptionVirtual:`Klik for at slippe.`,dropIndicator:`slip-indikator`,dropOnItem:e=>`Slip p\xe5 ${e.itemText}`,dropOnRoot:`Slip på`,endDragKeyboard:`Trækning. Tryk på enter for at annullere træk.`,endDragTouch:`Trækning. Dobbelttryk for at annullere træk.`,endDragVirtual:`Trækning. Klik for at annullere trækning.`,insertAfter:e=>`Inds\xe6t efter ${e.itemText}`,insertBefore:e=>`Inds\xe6t f\xf8r ${e.itemText}`,insertBetween:e=>`Inds\xe6t mellem ${e.beforeItemText} og ${e.afterItemText}`};var lW={};lW={dragDescriptionKeyboard:`Drücken Sie die Eingabetaste, um den Ziehvorgang zu starten.`,dragDescriptionKeyboardAlt:`Alt + Eingabe drücken, um den Ziehvorgang zu starten.`,dragDescriptionLongPress:`Lang drücken, um mit dem Ziehen zu beginnen.`,dragDescriptionTouch:`Tippen Sie doppelt, um den Ziehvorgang zu starten.`,dragDescriptionVirtual:`Zum Starten des Ziehvorgangs klicken.`,dragItem:e=>`${e.itemText} ziehen`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgew\xe4hltes Objekt`,other:()=>`${t.number(e.count)} ausgew\xe4hlte Objekte`})} ziehen`,dragSelectedKeyboard:(e,t)=>`Eingabetaste dr\xfccken, um ${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgew\xe4hltes Element`,other:()=>`${t.number(e.count)} ausgew\xe4hlte Elemente`})} zu ziehen.`,dragSelectedKeyboardAlt:(e,t)=>`Alt + Eingabetaste dr\xfccken, um ${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgew\xe4hltes Element`,other:()=>`${t.number(e.count)} ausgew\xe4hlte Elemente`})} zu ziehen.`,dragSelectedLongPress:(e,t)=>`Lang dr\xfccken, um ${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgew\xe4hltes Element`,other:()=>`${t.number(e.count)} ausgew\xe4hlte Elemente`})} zu ziehen.`,dragStartedKeyboard:`Ziehvorgang gestartet. Drücken Sie die Tabulatortaste, um zu einem Ablegeziel zu navigieren und drücken Sie dann die Eingabetaste, um das Objekt abzulegen, oder Escape, um den Vorgang abzubrechen.`,dragStartedTouch:`Ziehvorgang gestartet. Navigieren Sie zu einem Ablegeziel und tippen Sie doppelt, um das Objekt abzulegen.`,dragStartedVirtual:`Ziehvorgang gestartet. Navigieren Sie zu einem Ablegeziel und klicken Sie oder drücken Sie die Eingabetaste, um das Objekt abzulegen.`,dropCanceled:`Ablegen abgebrochen.`,dropComplete:`Ablegen abgeschlossen.`,dropDescriptionKeyboard:`Drücken Sie die Eingabetaste, um das Objekt abzulegen. Drücken Sie Escape, um den Vorgang abzubrechen.`,dropDescriptionTouch:`Tippen Sie doppelt, um das Objekt abzulegen.`,dropDescriptionVirtual:`Zum Ablegen klicken.`,dropIndicator:`Ablegeanzeiger`,dropOnItem:e=>`Auf ${e.itemText} ablegen`,dropOnRoot:`Ablegen auf`,endDragKeyboard:`Ziehvorgang läuft. Drücken Sie die Eingabetaste, um den Vorgang abzubrechen.`,endDragTouch:`Ziehvorgang läuft. Tippen Sie doppelt, um den Vorgang abzubrechen.`,endDragVirtual:`Ziehvorgang läuft. Klicken Sie, um den Vorgang abzubrechen.`,insertAfter:e=>`Nach ${e.itemText} einf\xfcgen`,insertBefore:e=>`Vor ${e.itemText} einf\xfcgen`,insertBetween:e=>`Zwischen ${e.beforeItemText} und ${e.afterItemText} einf\xfcgen`};var uW={};uW={dragDescriptionKeyboard:`Πατήστε Enter για έναρξη της μεταφοράς.`,dragDescriptionKeyboardAlt:`Πατήστε Alt + Enter για έναρξη της μεταφοράς.`,dragDescriptionLongPress:`Πατήστε παρατεταμένα για να ξεκινήσετε τη μεταφορά.`,dragDescriptionTouch:`Πατήστε δύο φορές για έναρξη της μεταφοράς.`,dragDescriptionVirtual:`Κάντε κλικ για να ξεκινήσετε τη μεταφορά.`,dragItem:e=>`\u{39C}\u{3B5}\u{3C4}\u{3B1}\u{3C6}\u{3BF}\u{3C1}\u{3AC} ${e.itemText}`,dragSelectedItems:(e,t)=>`\u{39C}\u{3B5}\u{3C4}\u{3B1}\u{3C6}\u{3BF}\u{3C1}\u{3AC} \u{3C3}\u{3B5} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3BF} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF}`,other:()=>`${t.number(e.count)} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3B1} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3B1}`})}`,dragSelectedKeyboard:(e,t)=>`\u{3A0}\u{3B1}\u{3C4}\u{3AE}\u{3C3}\u{3C4}\u{3B5} Enter \u{3B3}\u{3B9}\u{3B1} \u{3BD}\u{3B1} \u{3C3}\u{3CD}\u{3C1}\u{3B5}\u{3C4}\u{3B5} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3BF} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF}`,other:()=>`${t.number(e.count)} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3B1} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3B1}`})}.`,dragSelectedKeyboardAlt:(e,t)=>`\u{3A0}\u{3B1}\u{3C4}\u{3AE}\u{3C3}\u{3C4}\u{3B5} Alt + Enter \u{3B3}\u{3B9}\u{3B1} \u{3BD}\u{3B1} \u{3C3}\u{3CD}\u{3C1}\u{3B5}\u{3C4}\u{3B5} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3BF} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF}`,other:()=>`${t.number(e.count)} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3B1} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3B1}`})}.`,dragSelectedLongPress:(e,t)=>`\u{3A0}\u{3B1}\u{3C4}\u{3AE}\u{3C3}\u{3C4}\u{3B5} \u{3C0}\u{3B1}\u{3C1}\u{3B1}\u{3C4}\u{3B5}\u{3C4}\u{3B1}\u{3BC}\u{3AD}\u{3BD}\u{3B1} \u{3B3}\u{3B9}\u{3B1} \u{3BD}\u{3B1} \u{3C3}\u{3CD}\u{3C1}\u{3B5}\u{3C4}\u{3B5} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3BF} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF}`,other:()=>`${t.number(e.count)} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3B1} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3B1}`})}.`,dragStartedKeyboard:`Η μεταφορά ξεκίνησε. Πατήστε το πλήκτρο Tab για να μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, πατήστε Enter για απόθεση ή πατήστε Escape για ακύρωση.`,dragStartedTouch:`Η μεταφορά ξεκίνησε. Μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, πατήστε δύο φορές για απόθεση.`,dragStartedVirtual:`Η μεταφορά ξεκίνησε. Μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, κάντε κλικ ή πατήστε Enter για απόθεση.`,dropCanceled:`Η απόθεση ακυρώθηκε.`,dropComplete:`Η απόθεση ολοκληρώθηκε.`,dropDescriptionKeyboard:`Πατήστε Enter για απόθεση. Πατήστε Escape για ακύρωση της μεταφοράς.`,dropDescriptionTouch:`Πατήστε δύο φορές για απόθεση.`,dropDescriptionVirtual:`Κάντε κλικ για απόθεση.`,dropIndicator:`δείκτης απόθεσης`,dropOnItem:e=>`\u{391}\u{3C0}\u{3CC}\u{3B8}\u{3B5}\u{3C3}\u{3B7} \u{3C3}\u{3B5} ${e.itemText}`,dropOnRoot:`Απόθεση σε`,endDragKeyboard:`Μεταφορά σε εξέλιξη. Πατήστε Enter για ακύρωση της μεταφοράς.`,endDragTouch:`Μεταφορά σε εξέλιξη. Πατήστε δύο φορές για ακύρωση της μεταφοράς.`,endDragVirtual:`Μεταφορά σε εξέλιξη. Κάντε κλικ για ακύρωση της μεταφοράς.`,insertAfter:e=>`\u{395}\u{3B9}\u{3C3}\u{3B1}\u{3B3}\u{3C9}\u{3B3}\u{3AE} \u{3BC}\u{3B5}\u{3C4}\u{3AC} \u{3B1}\u{3C0}\u{3CC} ${e.itemText}`,insertBefore:e=>`\u{395}\u{3B9}\u{3C3}\u{3B1}\u{3B3}\u{3C9}\u{3B3}\u{3AE} \u{3C0}\u{3C1}\u{3B9}\u{3BD} \u{3B1}\u{3C0}\u{3CC} ${e.itemText}`,insertBetween:e=>`\u{395}\u{3B9}\u{3C3}\u{3B1}\u{3B3}\u{3C9}\u{3B3}\u{3AE} \u{3BC}\u{3B5}\u{3C4}\u{3B1}\u{3BE}\u{3CD} ${e.beforeItemText} \u{3BA}\u{3B1}\u{3B9} ${e.afterItemText}`};var dW={};dW={dragItem:e=>`Drag ${e.itemText}`,dragSelectedItems:(e,t)=>`Drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}`,dragDescriptionKeyboard:`Press Enter to start dragging.`,dragDescriptionKeyboardAlt:`Press Alt + Enter to start dragging.`,dragDescriptionTouch:`Double tap to start dragging.`,dragDescriptionVirtual:`Click to start dragging.`,dragDescriptionLongPress:`Long press to start dragging.`,dragSelectedKeyboard:(e,t)=>`Press Enter to drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Press Alt + Enter to drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}.`,dragSelectedLongPress:(e,t)=>`Long press to drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}.`,dragStartedKeyboard:`Started dragging. Press Tab to navigate to a drop target, then press Enter to drop, or press Escape to cancel.`,dragStartedTouch:`Started dragging. Navigate to a drop target, then double tap to drop.`,dragStartedVirtual:`Started dragging. Navigate to a drop target, then click or press Enter to drop.`,endDragKeyboard:`Dragging. Press Enter to cancel drag.`,endDragTouch:`Dragging. Double tap to cancel drag.`,endDragVirtual:`Dragging. Click to cancel drag.`,dropDescriptionKeyboard:`Press Enter to drop. Press Escape to cancel drag.`,dropDescriptionTouch:`Double tap to drop.`,dropDescriptionVirtual:`Click to drop.`,dropCanceled:`Drop canceled.`,dropComplete:`Drop complete.`,dropIndicator:`drop indicator`,dropOnRoot:`Drop on`,dropOnItem:e=>`Drop on ${e.itemText}`,insertBefore:e=>`Insert before ${e.itemText}`,insertBetween:e=>`Insert between ${e.beforeItemText} and ${e.afterItemText}`,insertAfter:e=>`Insert after ${e.itemText}`};var fW={};fW={dragDescriptionKeyboard:`Pulse Intro para empezar a arrastrar.`,dragDescriptionKeyboardAlt:`Pulse Intro para empezar a arrastrar.`,dragDescriptionLongPress:`Mantenga pulsado para comenzar a arrastrar.`,dragDescriptionTouch:`Pulse dos veces para iniciar el arrastre.`,dragDescriptionVirtual:`Haga clic para iniciar el arrastre.`,dragItem:e=>`Arrastrar ${e.itemText}`,dragSelectedItems:(e,t)=>`Arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}`,dragSelectedKeyboard:(e,t)=>`Pulse Intro para arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pulse Alt + Intro para arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,dragSelectedLongPress:(e,t)=>`Mantenga pulsado para arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,dragStartedKeyboard:`Se ha empezado a arrastrar. Pulse el tabulador para ir al destino donde se vaya a colocar y, a continuación, pulse Intro para soltar, o pulse Escape para cancelar.`,dragStartedTouch:`Se ha empezado a arrastrar. Vaya al destino donde se vaya a colocar y, a continuación, pulse dos veces para soltar.`,dragStartedVirtual:`Se ha empezado a arrastrar. Vaya al destino donde se vaya a colocar y, a continuación, haga clic o pulse Intro para soltar.`,dropCanceled:`Se ha cancelado la colocación.`,dropComplete:`Colocación finalizada.`,dropDescriptionKeyboard:`Pulse Intro para soltar. Pulse Escape para cancelar el arrastre.`,dropDescriptionTouch:`Pulse dos veces para soltar.`,dropDescriptionVirtual:`Haga clic para soltar.`,dropIndicator:`indicador de colocación`,dropOnItem:e=>`Soltar en ${e.itemText}`,dropOnRoot:`Soltar en`,endDragKeyboard:`Arrastrando. Pulse Intro para cancelar el arrastre.`,endDragTouch:`Arrastrando. Pulse dos veces para cancelar el arrastre.`,endDragVirtual:`Arrastrando. Haga clic para cancelar el arrastre.`,insertAfter:e=>`Insertar despu\xe9s de ${e.itemText}`,insertBefore:e=>`Insertar antes de ${e.itemText}`,insertBetween:e=>`Insertar entre ${e.beforeItemText} y ${e.afterItemText}`};var pW={};pW={dragDescriptionKeyboard:`Lohistamise alustamiseks vajutage klahvi Enter.`,dragDescriptionKeyboardAlt:`Lohistamise alustamiseks vajutage klahvikombinatsiooni Alt + Enter.`,dragDescriptionLongPress:`Vajutage pikalt lohistamise alustamiseks.`,dragDescriptionTouch:`Topeltpuudutage lohistamise alustamiseks.`,dragDescriptionVirtual:`Klõpsake lohistamise alustamiseks.`,dragItem:e=>`Lohista ${e.itemText}`,dragSelectedItems:(e,t)=>`Lohista ${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud \xfcksust`,other:()=>`${t.number(e.count)} valitud \xfcksust`})}`,dragSelectedKeyboard:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud \xfcksuse`,other:()=>`${t.number(e.count)} valitud \xfcksuse`})} lohistamiseks vajutage sisestusklahvi Enter.`,dragSelectedKeyboardAlt:(e,t)=>`Lohistamiseks vajutage klahvikombinatsiooni Alt + Enter ${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud \xfcksuse`,other:()=>`${t.number(e.count)} valitud \xfcksuse`})} jaoks.`,dragSelectedLongPress:(e,t)=>`Pikk vajutus ${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud \xfcksuse`,other:()=>`${t.number(e.count)} valitud \xfcksuse`})} lohistamiseks.`,dragStartedKeyboard:`Alustati lohistamist. Kukutamise sihtmärgi juurde navigeerimiseks vajutage klahvi Tab, seejärel vajutage kukutamiseks klahvi Enter või loobumiseks klahvi Escape.`,dragStartedTouch:`Alustati lohistamist. Navigeerige kukutamise sihtmärgi juurde ja topeltpuudutage kukutamiseks.`,dragStartedVirtual:`Alustati lohistamist. Navigeerige kukutamise sihtmärgi juurde ja kukutamiseks klõpsake või vajutage klahvi Enter.`,dropCanceled:`Lohistamisest loobuti.`,dropComplete:`Lohistamine on tehtud.`,dropDescriptionKeyboard:`Kukutamiseks vajutage klahvi Enter. Lohistamisest loobumiseks vajutage klahvi Escape.`,dropDescriptionTouch:`Kukutamiseks topeltpuudutage.`,dropDescriptionVirtual:`Kukutamiseks klõpsake.`,dropIndicator:`lohistamise indikaator`,dropOnItem:e=>`Kukuta asukohta ${e.itemText}`,dropOnRoot:`Kukuta asukohta`,endDragKeyboard:`Lohistamine. Lohistamisest loobumiseks vajutage klahvi Enter.`,endDragTouch:`Lohistamine. Lohistamisest loobumiseks topeltpuudutage.`,endDragVirtual:`Lohistamine. Lohistamisest loobumiseks klõpsake.`,insertAfter:e=>`Sisesta ${e.itemText} j\xe4rele`,insertBefore:e=>`Sisesta ${e.itemText} ette`,insertBetween:e=>`Sisesta ${e.beforeItemText} ja ${e.afterItemText} vahele`};var mW={};mW={dragDescriptionKeyboard:`Aloita vetäminen painamalla Enter-näppäintä.`,dragDescriptionKeyboardAlt:`Aloita vetäminen painamalla Alt + Enter -näppäinyhdistelmää.`,dragDescriptionLongPress:`Aloita vetäminen pitämällä painettuna.`,dragDescriptionTouch:`Aloita vetäminen kaksoisnapauttamalla.`,dragDescriptionVirtual:`Aloita vetäminen napsauttamalla.`,dragItem:e=>`Ved\xe4 kohdetta ${e.itemText}`,dragSelectedItems:(e,t)=>`Ved\xe4 ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittua kohdetta`,other:()=>`${t.number(e.count)} valittua kohdetta`})}`,dragSelectedKeyboard:(e,t)=>`Ved\xe4 painamalla Enter ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittu kohde`,other:()=>`${t.number(e.count)} valittua kohdetta`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Ved\xe4 painamalla Alt + Enter ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittu kohde`,other:()=>`${t.number(e.count)} valittua kohdetta`})}.`,dragSelectedLongPress:(e,t)=>`Ved\xe4 pit\xe4m\xe4ll\xe4 painettuna ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittu kohde`,other:()=>`${t.number(e.count)} valittua kohdetta`})}.`,dragStartedKeyboard:`Vetäminen aloitettu. Siirry pudotuskohteeseen painamalla sarkainnäppäintä ja sitten pudota painamalla Enter-näppäintä tai peruuta painamalla Escape-näppäintä.`,dragStartedTouch:`Vetäminen aloitettu. Siirry pudotuskohteeseen ja pudota kaksoisnapauttamalla.`,dragStartedVirtual:`Vetäminen aloitettu. Siirry pudotuskohteeseen ja pudota napsauttamalla tai painamalla Enter-näppäintä.`,dropCanceled:`Pudotus peruutettu.`,dropComplete:`Pudotus suoritettu.`,dropDescriptionKeyboard:`Pudota painamalla Enter-näppäintä. Peruuta vetäminen painamalla Escape-näppäintä.`,dropDescriptionTouch:`Pudota kaksoisnapauttamalla.`,dropDescriptionVirtual:`Pudota napsauttamalla.`,dropIndicator:`pudotuksen ilmaisin`,dropOnItem:e=>`Pudota kohteeseen ${e.itemText}`,dropOnRoot:`Pudota kohteeseen`,endDragKeyboard:`Vedetään. Peruuta vetäminen painamalla Enter-näppäintä.`,endDragTouch:`Vedetään. Peruuta vetäminen kaksoisnapauttamalla.`,endDragVirtual:`Vedetään. Peruuta vetäminen napsauttamalla.`,insertAfter:e=>`Lis\xe4\xe4 kohteen ${e.itemText} j\xe4lkeen`,insertBefore:e=>`Lis\xe4\xe4 ennen kohdetta ${e.itemText}`,insertBetween:e=>`Lis\xe4\xe4 kohteiden ${e.beforeItemText} ja ${e.afterItemText} v\xe4liin`};var hW={};hW={dragDescriptionKeyboard:`Appuyez sur Entrée pour commencer le déplacement.`,dragDescriptionKeyboardAlt:`Appuyez sur Alt\xA0+\xA0Entrée pour commencer à faire glisser.`,dragDescriptionLongPress:`Appuyez de manière prolongée pour commencer à faire glisser.`,dragDescriptionTouch:`Touchez deux fois pour commencer le déplacement.`,dragDescriptionVirtual:`Cliquez pour commencer le déplacement.`,dragItem:e=>`D\xe9placer ${e.itemText}`,dragSelectedItems:(e,t)=>`D\xe9placer ${t.plural(e.count,{one:()=>`${t.number(e.count)} \xe9l\xe9ment s\xe9lectionn\xe9`,other:()=>`${t.number(e.count)} \xe9l\xe9ments s\xe9lectionn\xe9s`})}`,dragSelectedKeyboard:(e,t)=>`Appuyez sur Entr\xe9e pour faire glisser ${t.plural(e.count,{one:()=>`${t.number(e.count)} \xe9l\xe9ment s\xe9lectionn\xe9`,other:()=>`${t.number(e.count)} \xe9l\xe9ments s\xe9lectionn\xe9s`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Appuyez sur Alt\xa0+\xa0Entr\xe9e pour faire glisser ${t.plural(e.count,{one:()=>`${t.number(e.count)} \xe9l\xe9ment s\xe9lectionn\xe9`,other:()=>`${t.number(e.count)} \xe9l\xe9ments s\xe9lectionn\xe9s`})}.`,dragSelectedLongPress:(e,t)=>`Appuyez de mani\xe8re prolong\xe9e pour faire glisser ${t.plural(e.count,{one:()=>`${t.number(e.count)} \xe9l\xe9ment s\xe9lectionn\xe9`,other:()=>`${t.number(e.count)} \xe9l\xe9ments s\xe9lectionn\xe9s`})}.`,dragStartedKeyboard:`Déplacement commencé. Appuyez sur Tabulation pour accéder à une cible de dépôt, puis appuyez sur Entrée pour déposer, ou appuyez sur Échap pour annuler.`,dragStartedTouch:`Déplacement commencé. Accédez à une cible de dépôt, puis touchez deux fois pour déposer.`,dragStartedVirtual:`Déplacement commencé. Accédez à une cible de dépôt, puis cliquez ou appuyez sur Entrée pour déposer.`,dropCanceled:`Dépôt annulé.`,dropComplete:`Dépôt terminé.`,dropDescriptionKeyboard:`Appuyez sur Entrée pour déposer. Appuyez sur Échap pour annuler le déplacement.`,dropDescriptionTouch:`Touchez deux fois pour déposer.`,dropDescriptionVirtual:`Cliquez pour déposer.`,dropIndicator:`indicateur de dépôt`,dropOnItem:e=>`D\xe9poser sur ${e.itemText}`,dropOnRoot:`Déposer sur`,endDragKeyboard:`Déplacement. Appuyez sur Entrée pour annuler le déplacement.`,endDragTouch:`Déplacement. Touchez deux fois pour annuler le déplacement.`,endDragVirtual:`Déplacement. Cliquez pour annuler le déplacement.`,insertAfter:e=>`Ins\xe9rer apr\xe8s ${e.itemText}`,insertBefore:e=>`Ins\xe9rer avant ${e.itemText}`,insertBetween:e=>`Ins\xe9rer entre ${e.beforeItemText} et ${e.afterItemText}`};var gW={};gW={dragDescriptionKeyboard:`הקש על Enter כדי להתחיל לגרור.`,dragDescriptionKeyboardAlt:`הקש Alt + Enter כדי להתחיל לגרור.`,dragDescriptionLongPress:`לחץ לחיצה ארוכה כדי להתחיל לגרור.`,dragDescriptionTouch:`הקש פעמיים כדי להתחיל בגרירה.`,dragDescriptionVirtual:`לחץ כדי להתחיל לגרור.`,dragItem:e=>`\u{5D2}\u{5E8}\u{5D5}\u{5E8} \u{5D0}\u{5EA} ${e.itemText}`,dragSelectedItems:(e,t)=>`\u{5D2}\u{5E8}\u{5D5}\u{5E8} ${t.plural(e.count,{one:()=>`\u{5E4}\u{5E8}\u{5D9}\u{5D8} \u{5E0}\u{5D1}\u{5D7}\u{5E8} ${t.number(e.count)}`,other:()=>`${t.number(e.count)} \u{5E4}\u{5E8}\u{5D9}\u{5D8}\u{5D9}\u{5DD} \u{5E9}\u{5E0}\u{5D1}\u{5D7}\u{5E8}\u{5D5}`})}`,dragSelectedKeyboard:(e,t)=>`\u{5D4}\u{5E7}\u{5E9} \u{5E2}\u{5DC} Enter \u{5DB}\u{5D3}\u{5D9} \u{5DC}\u{5D2}\u{5E8}\u{5D5}\u{5E8} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{5E4}\u{5E8}\u{5D9}\u{5D8} \u{5E9}\u{5E0}\u{5D1}\u{5D7}\u{5E8}`,other:()=>`${t.number(e.count)} \u{5E4}\u{5E8}\u{5D9}\u{5D8}\u{5D9}\u{5DD} \u{5E9}\u{5E0}\u{5D1}\u{5D7}\u{5E8}\u{5D5}`})}.`,dragSelectedKeyboardAlt:(e,t)=>`\u{5D4}\u{5E7}\u{5E9} Alt + Enter \u{5DB}\u{5D3}\u{5D9} \u{5DC}\u{5D2}\u{5E8}\u{5D5}\u{5E8} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{5E4}\u{5E8}\u{5D9}\u{5D8} \u{5E9}\u{5E0}\u{5D1}\u{5D7}\u{5E8}`,other:()=>`${t.number(e.count)} \u{5E4}\u{5E8}\u{5D9}\u{5D8}\u{5D9}\u{5DD} \u{5E9}\u{5E0}\u{5D1}\u{5D7}\u{5E8}\u{5D5}`})}.`,dragSelectedLongPress:(e,t)=>`\u{5DC}\u{5D7}\u{5E5} \u{5DC}\u{5D7}\u{5D9}\u{5E6}\u{5D4} \u{5D0}\u{5E8}\u{5D5}\u{5DB}\u{5D4} \u{5DB}\u{5D3}\u{5D9} \u{5DC}\u{5D2}\u{5E8}\u{5D5}\u{5E8} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{5E4}\u{5E8}\u{5D9}\u{5D8} \u{5E9}\u{5E0}\u{5D1}\u{5D7}\u{5E8}`,other:()=>`${t.number(e.count)} \u{5E4}\u{5E8}\u{5D9}\u{5D8}\u{5D9}\u{5DD} \u{5E9}\u{5E0}\u{5D1}\u{5D7}\u{5E8}\u{5D5}`})}.`,dragStartedKeyboard:`התחלת לגרור. הקש על Tab כדי לנווט לנקודת הגרירה ולאחר מכן הקש על Enter כדי לשחרר או על Escape כדי לבטל.`,dragStartedTouch:`התחלת לגרור. נווט לנקודת השחרור ולאחר מכן הקש פעמיים כדי לשחרר.`,dragStartedVirtual:`התחלת לגרור. נווט לנקודת השחרור ולאחר מכן לחץ או הקש על Enter כדי לשחרר.`,dropCanceled:`השחרור בוטל.`,dropComplete:`השחרור הושלם.`,dropDescriptionKeyboard:`הקש על Enter כדי לשחרר. הקש על Escape כדי לבטל את הגרירה.`,dropDescriptionTouch:`הקש פעמיים כדי לשחרר.`,dropDescriptionVirtual:`לחץ כדי לשחרר.`,dropIndicator:`מחוון שחרור`,dropOnItem:e=>`\u{5E9}\u{5D7}\u{5E8}\u{5E8} \u{5E2}\u{5DC} ${e.itemText}`,dropOnRoot:`שחרר על`,endDragKeyboard:`גורר. הקש על Enter כדי לבטל את הגרירה.`,endDragTouch:`גורר. הקש פעמיים כדי לבטל את הגרירה.`,endDragVirtual:`גורר. לחץ כדי לבטל את הגרירה.`,insertAfter:e=>`\u{5D4}\u{5D5}\u{5E1}\u{5E3} \u{5D0}\u{5D7}\u{5E8}\u{5D9} ${e.itemText}`,insertBefore:e=>`\u{5D4}\u{5D5}\u{5E1}\u{5E3} \u{5DC}\u{5E4}\u{5E0}\u{5D9} ${e.itemText}`,insertBetween:e=>`\u{5D4}\u{5D5}\u{5E1}\u{5E3} \u{5D1}\u{5D9}\u{5DF} ${e.beforeItemText} \u{5DC}\u{5D1}\u{5D9}\u{5DF} ${e.afterItemText}`};var _W={};_W={dragDescriptionKeyboard:`Pritisnite Enter da biste počeli povlačiti.`,dragDescriptionKeyboardAlt:`Pritisnite Alt + Enter za početak povlačenja.`,dragDescriptionLongPress:`Dugo pritisnite za početak povlačenja.`,dragDescriptionTouch:`Dvaput dodirnite da biste počeli povlačiti.`,dragDescriptionVirtual:`Kliknite da biste počeli povlačiti.`,dragItem:e=>`Povucite stavku ${e.itemText}`,dragSelectedItems:(e,t)=>`Povucite ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabranu stavku`,other:()=>`ovoliko odabranih stavki: ${t.number(e.count)}`})}`,dragSelectedKeyboard:(e,t)=>`Pritisnite Enter za povla\u{10D}enje ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabrana stavka`,other:()=>`${t.number(e.count)} odabrane stavke`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pritisnite Alt + Enter za povla\u{10D}enje ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabrana stavka`,other:()=>`${t.number(e.count)} odabrane stavke`})}.`,dragSelectedLongPress:(e,t)=>`Dugo pritisnite za povla\u{10D}enje ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabrana stavka`,other:()=>`${t.number(e.count)} odabrane stavke`})}.`,dragStartedKeyboard:`Počeli ste povlačiti. Pritisnite tipku tabulatora da biste došli do cilja ispuštanja, a zatim Enter da biste ispustili stavku ili Escape da biste prekinuli povlačenje.`,dragStartedTouch:`Počeli ste povlačiti. Dođite do cilja ispuštanja, a zatim dvaput dodirnite da biste ispustili stavku.`,dragStartedVirtual:`Počeli ste povlačiti. Dođite do cilja ispuštanja, a zatim kliknite ili pritisnite Enter da biste ispustili stavku.`,dropCanceled:`Povlačenje je prekinuto.`,dropComplete:`Ispuštanje je dovršeno.`,dropDescriptionKeyboard:`Pritisnite Enter da biste ispustili stavku. Pritisnite Escape da biste prekinuli povlačenje.`,dropDescriptionTouch:`Dvaput dodirnite da biste ispustili stavku.`,dropDescriptionVirtual:`Kliknite da biste ispustili stavku.`,dropIndicator:`pokazatelj ispuštanja`,dropOnItem:e=>`Ispustite na stavku ${e.itemText}`,dropOnRoot:`Ispustite na`,endDragKeyboard:`Povlačenje. Pritisnite Enter da biste prekinuli povlačenje.`,endDragTouch:`Povlačenje. Dvaput dodirnite da biste prekinuli povlačenje.`,endDragVirtual:`Povlačenje. Kliknite da biste prekinuli povlačenje.`,insertAfter:e=>`Umetnite iza stavke ${e.itemText}`,insertBefore:e=>`Ispustite ispred stavke ${e.itemText}`,insertBetween:e=>`Umetnite izme\u{111}u stavki ${e.beforeItemText} i ${e.afterItemText}`};var vW={};vW={dragDescriptionKeyboard:`Nyomja le az Enter billentyűt a húzás megkezdéséhez.`,dragDescriptionKeyboardAlt:`Nyomja le az Alt + Enter billentyűket a húzás megkezdéséhez.`,dragDescriptionLongPress:`Hosszan nyomja meg a húzás elindításához.`,dragDescriptionTouch:`Koppintson duplán a húzás megkezdéséhez.`,dragDescriptionVirtual:`Kattintson a húzás megkezdéséhez.`,dragItem:e=>`${e.itemText} h\xfaz\xe1sa`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} kijel\xf6lt elem`,other:()=>`${t.number(e.count)} kijel\xf6lt elem`})} h\xfaz\xe1sa`,dragSelectedKeyboard:(e,t)=>`Nyomja meg az Entert ${t.plural(e.count,{one:()=>`${t.number(e.count)} kijel\xf6lt elem`,other:()=>`${t.number(e.count)} kijel\xf6lt elem`})} h\xfaz\xe1s\xe1hoz.`,dragSelectedKeyboardAlt:(e,t)=>`Nyomja meg az Alt + Enter billenty\u{171}ket ${t.plural(e.count,{one:()=>`${t.number(e.count)} kijel\xf6lt elem`,other:()=>`${t.number(e.count)} kijel\xf6lt elem`})} h\xfaz\xe1s\xe1hoz.`,dragSelectedLongPress:(e,t)=>`Tartsa lenyomva hosszan ${t.plural(e.count,{one:()=>`${t.number(e.count)} kijel\xf6lt elem`,other:()=>`${t.number(e.count)} kijel\xf6lt elem`})} h\xfaz\xe1s\xe1hoz.`,dragStartedKeyboard:`Húzás megkezdve. Nyomja le a Tab billentyűt az elengedési célhoz navigálásához, majd nyomja le az Enter billentyűt az elengedéshez, vagy nyomja le az Escape billentyűt a megszakításhoz.`,dragStartedTouch:`Húzás megkezdve. Navigáljon egy elengedési célhoz, majd koppintson duplán az elengedéshez.`,dragStartedVirtual:`Húzás megkezdve. Navigáljon egy elengedési célhoz, majd kattintson vagy nyomja le az Enter billentyűt az elengedéshez.`,dropCanceled:`Elengedés megszakítva.`,dropComplete:`Elengedés teljesítve.`,dropDescriptionKeyboard:`Nyomja le az Enter billentyűt az elengedéshez. Nyomja le az Escape billentyűt a húzás megszakításához.`,dropDescriptionTouch:`Koppintson duplán az elengedéshez.`,dropDescriptionVirtual:`Kattintson az elengedéshez.`,dropIndicator:`elengedésjelző`,dropOnItem:e=>`Elenged\xe9s erre: ${e.itemText}`,dropOnRoot:`Elengedés erre:`,endDragKeyboard:`Húzás folyamatban. Nyomja le az Enter billentyűt a húzás megszakításához.`,endDragTouch:`Húzás folyamatban. Koppintson duplán a húzás megszakításához.`,endDragVirtual:`Húzás folyamatban. Kattintson a húzás megszakításához.`,insertAfter:e=>`Besz\xfar\xe1s ${e.itemText} ut\xe1n`,insertBefore:e=>`Besz\xfar\xe1s ${e.itemText} el\xe9`,insertBetween:e=>`Besz\xfar\xe1s ${e.beforeItemText} \xe9s ${e.afterItemText} k\xf6z\xe9`};var yW={};yW={dragDescriptionKeyboard:`Premi Invio per iniziare a trascinare.`,dragDescriptionKeyboardAlt:`Premi Alt + Invio per iniziare a trascinare.`,dragDescriptionLongPress:`Premi a lungo per iniziare a trascinare.`,dragDescriptionTouch:`Tocca due volte per iniziare a trascinare.`,dragDescriptionVirtual:`Fai clic per iniziare a trascinare.`,dragItem:e=>`Trascina ${e.itemText}`,dragSelectedItems:(e,t)=>`Trascina ${t.plural(e.count,{one:()=>`${t.number(e.count)} altro elemento selezionato`,other:()=>`${t.number(e.count)} altri elementi selezionati`})}`,dragSelectedKeyboard:(e,t)=>`Premi Invio per trascinare ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Premi Alt + Invio per trascinare ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,dragSelectedLongPress:(e,t)=>`Premi a lungo per trascinare ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,dragStartedKeyboard:`Hai iniziato a trascinare. Premi Tab per arrivare sull’area di destinazione, quindi premi Invio per rilasciare o Esc per annullare.`,dragStartedTouch:`Hai iniziato a trascinare. Arriva sull’area di destinazione, quindi tocca due volte per rilasciare.`,dragStartedVirtual:`Hai iniziato a trascinare. Arriva sull’area di destinazione, quindi fai clic o premi Invio per rilasciare.`,dropCanceled:`Rilascio annullato.`,dropComplete:`Rilascio completato.`,dropDescriptionKeyboard:`Premi Invio per rilasciare. Premi Esc per annullare.`,dropDescriptionTouch:`Tocca due volte per rilasciare.`,dropDescriptionVirtual:`Fai clic per rilasciare.`,dropIndicator:`indicatore di rilascio`,dropOnItem:e=>`Rilascia su ${e.itemText}`,dropOnRoot:`Rilascia su`,endDragKeyboard:`Trascinamento. Premi Invio per annullare.`,endDragTouch:`Trascinamento. Tocca due volte per annullare.`,endDragVirtual:`Trascinamento. Fai clic per annullare.`,insertAfter:e=>`Inserisci dopo ${e.itemText}`,insertBefore:e=>`Inserisci prima di ${e.itemText}`,insertBetween:e=>`Inserisci tra ${e.beforeItemText} e ${e.afterItemText}`};var bW={};bW={dragDescriptionKeyboard:`Enter キーを押してドラッグを開始してください。`,dragDescriptionKeyboardAlt:`Alt+Enter キーを押してドラッグを開始します。`,dragDescriptionLongPress:`長押ししてドラッグを開始します。`,dragDescriptionTouch:`ダブルタップしてドラッグを開始します。`,dragDescriptionVirtual:`クリックしてドラッグを開始します。`,dragItem:e=>`${e.itemText} \u{3092}\u{30C9}\u{30E9}\u{30C3}\u{30B0}`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{500B}\u{306E}\u{9078}\u{629E}\u{9805}\u{76EE}`,other:()=>`${t.number(e.count)} \u{500B}\u{306E}\u{9078}\u{629E}\u{9805}\u{76EE}`})} \u{3092}\u{30C9}\u{30E9}\u{30C3}\u{30B0}`,dragSelectedKeyboard:(e,t)=>`Enter \u{30AD}\u{30FC}\u{3092}\u{62BC}\u{3057}\u{3066}\u{3001}${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{9078}\u{629E}\u{3057}\u{305F}\u{9805}\u{76EE}`,other:()=>`${t.number(e.count)} \u{9078}\u{629E}\u{3057}\u{305F}\u{9805}\u{76EE}`})}\u{3092}\u{30C9}\u{30E9}\u{30C3}\u{30B0}\u{3057}\u{307E}\u{3059}\u{3002}`,dragSelectedKeyboardAlt:(e,t)=>`Alt+Enter \u{30AD}\u{30FC}\u{3092}\u{62BC}\u{3057}\u{3066}\u{3001}${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{9078}\u{629E}\u{3057}\u{305F}\u{9805}\u{76EE}`,other:()=>`${t.number(e.count)} \u{9078}\u{629E}\u{3057}\u{305F}\u{9805}\u{76EE}`})}\u{3092}\u{30C9}\u{30E9}\u{30C3}\u{30B0}\u{3057}\u{307E}\u{3059}\u{3002}`,dragSelectedLongPress:(e,t)=>`\u{9577}\u{62BC}\u{3057}\u{3057}\u{3066}\u{3001}${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{9078}\u{629E}\u{3057}\u{305F}\u{9805}\u{76EE}`,other:()=>`${t.number(e.count)} \u{9078}\u{629E}\u{3057}\u{305F}\u{9805}\u{76EE}`})}\u{3092}\u{30C9}\u{30E9}\u{30C3}\u{30B0}\u{3057}\u{307E}\u{3059}\u{3002}`,dragStartedKeyboard:`ドラッグを開始します。Tab キーを押してドロップターゲットにいどうし、Enter キーを押してドロップするか、Esc キーを押してキャンセルします。`,dragStartedTouch:`ドラッグを開始しました。ドロップのターゲットに移動し、ダブルタップしてドロップします。`,dragStartedVirtual:`ドラッグを開始しました。ドロップのターゲットに移動し、クリックまたは Enter キーを押してドロップします。`,dropCanceled:`ドロップがキャンセルされました。`,dropComplete:`ドロップが完了しました。`,dropDescriptionKeyboard:`Enter キーを押してドロップします。Esc キーを押してドラッグをキャンセルします。`,dropDescriptionTouch:`ダブルタップしてドロップします。`,dropDescriptionVirtual:`クリックしてドロップします。`,dropIndicator:`ドロップインジケーター`,dropOnItem:e=>`${e.itemText} \u{306B}\u{30C9}\u{30ED}\u{30C3}\u{30D7}`,dropOnRoot:`ドロップ場所`,endDragKeyboard:`ドラッグしています。Enter キーを押してドラッグをキャンセルします。`,endDragTouch:`ドラッグしています。ダブルタップしてドラッグをキャンセルします。`,endDragVirtual:`ドラッグしています。クリックしてドラッグをキャンセルします。`,insertAfter:e=>`${e.itemText} \u{306E}\u{5F8C}\u{306B}\u{633F}\u{5165}`,insertBefore:e=>`${e.itemText} \u{306E}\u{524D}\u{306B}\u{633F}\u{5165}`,insertBetween:e=>`${e.beforeItemText} \u{3068} ${e.afterItemText} \u{306E}\u{9593}\u{306B}\u{633F}\u{5165}`};var xW={};xW={dragDescriptionKeyboard:`드래그를 시작하려면 Enter를 누르세요.`,dragDescriptionKeyboardAlt:`드래그를 시작하려면 Alt + Enter를 누르십시오.`,dragDescriptionLongPress:`드래그를 시작하려면 길게 누르십시오.`,dragDescriptionTouch:`드래그를 시작하려면 더블 탭하세요.`,dragDescriptionVirtual:`드래그를 시작하려면 클릭하세요.`,dragItem:e=>`${e.itemText} \u{B4DC}\u{B798}\u{ADF8}`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}\u{AC1C} \u{C120}\u{D0DD} \u{D56D}\u{BAA9}`,other:()=>`${t.number(e.count)}\u{AC1C} \u{C120}\u{D0DD} \u{D56D}\u{BAA9}`})} \u{B4DC}\u{B798}\u{ADF8}`,dragSelectedKeyboard:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}\u{AC1C} \u{C120}\u{D0DD} \u{D56D}\u{BAA9}`,other:()=>`${t.number(e.count)}\u{AC1C} \u{C120}\u{D0DD} \u{D56D}\u{BAA9}`})}\u{C744} \u{B4DC}\u{B798}\u{ADF8}\u{D558}\u{B824}\u{BA74} Enter\u{B97C} \u{B204}\u{B974}\u{C2ED}\u{C2DC}\u{C624}.`,dragSelectedKeyboardAlt:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}\u{AC1C} \u{C120}\u{D0DD} \u{D56D}\u{BAA9}`,other:()=>`${t.number(e.count)}\u{AC1C} \u{C120}\u{D0DD} \u{D56D}\u{BAA9}`})}\u{C744} \u{B4DC}\u{B798}\u{ADF8}\u{D558}\u{B824}\u{BA74} Alt + Enter\u{B97C} \u{B204}\u{B974}\u{C2ED}\u{C2DC}\u{C624}.`,dragSelectedLongPress:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}\u{AC1C} \u{C120}\u{D0DD} \u{D56D}\u{BAA9}`,other:()=>`${t.number(e.count)}\u{AC1C} \u{C120}\u{D0DD} \u{D56D}\u{BAA9}`})}\u{C744} \u{B4DC}\u{B798}\u{ADF8}\u{D558}\u{B824}\u{BA74} \u{AE38}\u{AC8C} \u{B204}\u{B974}\u{C2ED}\u{C2DC}\u{C624}.`,dragStartedKeyboard:`드래그가 시작되었습니다. Tab을 눌러 드롭 대상으로 이동한 다음 Enter를 눌러 드롭하거나 Esc를 눌러 취소하세요.`,dragStartedTouch:`드래그가 시작되었습니다. 드롭 대상으로 이동한 다음 더블 탭하여 드롭하세요.`,dragStartedVirtual:`드래그가 시작되었습니다. 드롭 대상으로 이동한 다음 클릭하거나 Enter를 눌러 드롭하세요.`,dropCanceled:`드롭이 취소되었습니다.`,dropComplete:`드롭이 완료되었습니다.`,dropDescriptionKeyboard:`드롭하려면 Enter를 누르세요. 드래그를 취소하려면 Esc를 누르세요.`,dropDescriptionTouch:`더블 탭하여 드롭하세요.`,dropDescriptionVirtual:`드롭하려면 클릭하세요.`,dropIndicator:`드롭 표시기`,dropOnItem:e=>`${e.itemText}\u{C5D0} \u{B4DC}\u{B86D}`,dropOnRoot:`드롭 대상`,endDragKeyboard:`드래그 중입니다. 드래그를 취소하려면 Enter를 누르세요.`,endDragTouch:`드래그 중입니다. 드래그를 취소하려면 더블 탭하세요.`,endDragVirtual:`드래그 중입니다. 드래그를 취소하려면 클릭하세요.`,insertAfter:e=>`${e.itemText} \u{C774}\u{D6C4}\u{C5D0} \u{C0BD}\u{C785}`,insertBefore:e=>`${e.itemText} \u{C774}\u{C804}\u{C5D0} \u{C0BD}\u{C785}`,insertBetween:e=>`${e.beforeItemText} \u{BC0F} ${e.afterItemText} \u{C0AC}\u{C774}\u{C5D0} \u{C0BD}\u{C785}`};var SW={};SW={dragDescriptionKeyboard:`Paspauskite „Enter“, kad pradėtumėte vilkti.`,dragDescriptionKeyboardAlt:`Paspauskite „Alt + Enter“, kad pradėtumėte vilkti.`,dragDescriptionLongPress:`Palaikykite nuspaudę, kad pradėtumėte vilkti.`,dragDescriptionTouch:`Palieskite dukart, kad pradėtumėte vilkti.`,dragDescriptionVirtual:`Spustelėkite, kad pradėtumėte vilkti.`,dragItem:e=>`Vilkti ${e.itemText}`,dragSelectedItems:(e,t)=>`Vilkti ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinkt\u{105} element\u{105}`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}`,dragSelectedKeyboard:(e,t)=>`Paspauskite \u{201E}Enter\u{201C}, jei norite nuvilkti ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinkt\u{105} element\u{105}`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Paspauskite \u{201E}Alt + Enter\u{201C}, kad nuvilktum\u{117}te ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinkt\u{105} element\u{105}`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}.`,dragSelectedLongPress:(e,t)=>`Nuspaud\u{119} palaikykite, kad nuvilktum\u{117}te ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinkt\u{105} element\u{105}`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}.`,dragStartedKeyboard:`Pradėta vilkti. Paspauskite „Tab“, kad pereitumėte į tiesioginę paskirties vietą, tada paspauskite „Enter“, kad numestumėte, arba „Escape“, kad atšauktumėte.`,dragStartedTouch:`Pradėta vilkti. Eikite į tiesioginę paskirties vietą, tada palieskite dukart, kad numestumėte.`,dragStartedVirtual:`Pradėta vilkti. Eikite į tiesioginę paskirties vietą ir spustelėkite arba paspauskite „Enter“, kad numestumėte.`,dropCanceled:`Numetimas atšauktas.`,dropComplete:`Numesta.`,dropDescriptionKeyboard:`Paspauskite „Enter“, kad numestumėte. Paspauskite „Escape“, kad atšauktumėte vilkimą.`,dropDescriptionTouch:`Palieskite dukart, kad numestumėte.`,dropDescriptionVirtual:`Spustelėkite, kad numestumėte.`,dropIndicator:`numetimo indikatorius`,dropOnItem:e=>`Numesti ant ${e.itemText}`,dropOnRoot:`Numesti ant`,endDragKeyboard:`Velkama. Paspauskite „Enter“, kad atšauktumėte vilkimą.`,endDragTouch:`Velkama. Spustelėkite dukart, kad atšauktumėte vilkimą.`,endDragVirtual:`Velkama. Spustelėkite, kad atšauktumėte vilkimą.`,insertAfter:e=>`\u{12E}terpti po ${e.itemText}`,insertBefore:e=>`\u{12E}terpti prie\u{161} ${e.itemText}`,insertBetween:e=>`\u{12E}terpti tarp ${e.beforeItemText} ir ${e.afterItemText}`};var CW={};CW={dragDescriptionKeyboard:`Nospiediet Enter, lai sāktu vilkšanu.`,dragDescriptionKeyboardAlt:`Nospiediet taustiņu kombināciju Alt+Enter, lai sāktu vilkšanu.`,dragDescriptionLongPress:`Turiet nospiestu, lai sāktu vilkšanu.`,dragDescriptionTouch:`Veiciet dubultskārienu, lai sāktu vilkšanu.`,dragDescriptionVirtual:`Noklikšķiniet, lai sāktu vilkšanu.`,dragItem:e=>`Velciet ${e.itemText}`,dragSelectedItems:(e,t)=>`Velciet ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlas\u{12B}to vienumu`,other:()=>`${t.number(e.count)} atlas\u{12B}tos vienumus`})}`,dragSelectedKeyboard:(e,t)=>`Nospiediet tausti\u{146}u Enter, lai vilktu ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlas\u{12B}to vienumu`,other:()=>`${t.number(e.count)} atlas\u{12B}tos vienumus`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Nospiediet tausti\u{146}u kombin\u{101}ciju Alt+Enter, lai vilktu ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlas\u{12B}to vienumu`,other:()=>`${t.number(e.count)} atlas\u{12B}tos vienumus`})}.`,dragSelectedLongPress:(e,t)=>`Turiet nospiestu, lai vilktu ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlas\u{12B}to vienumu`,other:()=>`${t.number(e.count)} atlas\u{12B}tos vienumus`})}.`,dragStartedKeyboard:`Uzsākta vilkšana. Nospiediet taustiņu Tab, lai pārietu uz nomešanas mērķi, pēc tam nospiediet Enter, lai nomestu, vai nospiediet Escape, lai atceltu.`,dragStartedTouch:`Uzsākta vilkšana. Pārejiet uz nomešanas mērķi, pēc tam veiciet dubultskārienu, lai nomestu.`,dragStartedVirtual:`Uzsākta vilkšana. Pārejiet uz nomešanas mērķi, pēc tam nospiediet Enter, lai nomestu.`,dropCanceled:`Nomešana atcelta.`,dropComplete:`Nomešana pabeigta.`,dropDescriptionKeyboard:`Nospiediet Enter, lai nomestu. Nospiediet Escape, lai atceltu vilkšanu.`,dropDescriptionTouch:`Veiciet dubultskārienu, lai nomestu.`,dropDescriptionVirtual:`Noklikšķiniet, lai nomestu.`,dropIndicator:`nomešanas indikators`,dropOnItem:e=>`Nometiet uz ${e.itemText}`,dropOnRoot:`Nometiet uz`,endDragKeyboard:`Notiek vilkšana. Nospiediet Enter, lai atceltu vilkšanu.`,endDragTouch:`Notiek vilkšana. Veiciet dubultskārienu, lai atceltu vilkšanu.`,endDragVirtual:`Notiek vilkšana. Noklikšķiniet, lai atceltu vilkšanu.`,insertAfter:e=>`Ievietojiet p\u{113}c ${e.itemText}`,insertBefore:e=>`Ievietojiet pirms ${e.itemText}`,insertBetween:e=>`Ievietojiet starp ${e.beforeItemText} un ${e.afterItemText}`};var wW={};wW={dragDescriptionKeyboard:`Trykk på Enter for å begynne å dra.`,dragDescriptionKeyboardAlt:`Trykk på Alt + Enter for å begynne å dra.`,dragDescriptionLongPress:`Trykk lenge for å begynne å dra.`,dragDescriptionTouch:`Dobbelttrykk for å begynne å dra.`,dragDescriptionVirtual:`Klikk for å begynne å dra.`,dragItem:e=>`Dra ${e.itemText}`,dragSelectedItems:(e,t)=>`Dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} merket element`,other:()=>`${t.number(e.count)} merkede elementer`})}`,dragSelectedKeyboard:(e,t)=>`Trykk Enter for \xe5 dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Trykk p\xe5 Alt + Enter for \xe5 dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedLongPress:(e,t)=>`Trykk lenge for \xe5 dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragStartedKeyboard:`Begynte å dra. Trykk på Tab for å navigere til et mål, og trykk deretter på Enter for å slippe eller på Esc for å avbryte.`,dragStartedTouch:`Begynte å dra. Naviger til et mål, og dobbelttrykk for å slippe.`,dragStartedVirtual:`Begynte å dra. Naviger til et mål, og klikk eller trykk på Enter for å slippe.`,dropCanceled:`Avbrøt slipping.`,dropComplete:`Slippingen er fullført.`,dropDescriptionKeyboard:`Trykk på Enter for å slippe. Trykk på Esc hvis du vil avbryte draingen.`,dropDescriptionTouch:`Dobbelttrykk for å slippe.`,dropDescriptionVirtual:`Klikk for å slippe.`,dropIndicator:`slippeindikator`,dropOnItem:e=>`Slipp p\xe5 ${e.itemText}`,dropOnRoot:`Slipp på`,endDragKeyboard:`Drar. Trykk på Enter hvis du vil avbryte.`,endDragTouch:`Drar. Dobbelttrykk hvis du vil avbryte.`,endDragVirtual:`Drar. Klikk hvis du vil avbryte.`,insertAfter:e=>`Sett inn etter ${e.itemText}`,insertBefore:e=>`Sett inn f\xf8r ${e.itemText}`,insertBetween:e=>`Sett inn mellom ${e.beforeItemText} og ${e.afterItemText}`};var TW={};TW={dragDescriptionKeyboard:`Druk op Enter om te slepen.`,dragDescriptionKeyboardAlt:`Druk op Alt + Enter om te slepen.`,dragDescriptionLongPress:`Houd lang ingedrukt om te slepen.`,dragDescriptionTouch:`Dubbeltik om te slepen.`,dragDescriptionVirtual:`Klik om met slepen te starten.`,dragItem:e=>`${e.itemText} slepen`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} slepen`,dragSelectedKeyboard:(e,t)=>`Druk op Enter om ${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} te slepen.`,dragSelectedKeyboardAlt:(e,t)=>`Druk op Alt + Enter om ${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} te slepen.`,dragSelectedLongPress:(e,t)=>`Houd lang ingedrukt om ${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} te slepen.`,dragStartedKeyboard:`Begonnen met slepen. Druk op Tab om naar een locatie te gaan. Druk dan op Enter om neer te zetten, of op Esc om te annuleren.`,dragStartedTouch:`Begonnen met slepen. Ga naar de gewenste locatie en dubbeltik om neer te zetten.`,dragStartedVirtual:`Begonnen met slepen. Ga naar de gewenste locatie en klik of druk op Enter om neer te zetten.`,dropCanceled:`Neerzetten geannuleerd.`,dropComplete:`Neerzetten voltooid.`,dropDescriptionKeyboard:`Druk op Enter om neer te zetten. Druk op Esc om het slepen te annuleren.`,dropDescriptionTouch:`Dubbeltik om neer te zetten.`,dropDescriptionVirtual:`Klik om neer te zetten.`,dropIndicator:`aanwijzer voor neerzetten`,dropOnItem:e=>`Neerzetten op ${e.itemText}`,dropOnRoot:`Neerzetten op`,endDragKeyboard:`Bezig met slepen. Druk op Enter om te annuleren.`,endDragTouch:`Bezig met slepen. Dubbeltik om te annuleren.`,endDragVirtual:`Bezig met slepen. Klik om te annuleren.`,insertAfter:e=>`Plaatsen na ${e.itemText}`,insertBefore:e=>`Plaatsen v\xf3\xf3r ${e.itemText}`,insertBetween:e=>`Plaatsen tussen ${e.beforeItemText} en ${e.afterItemText}`};var EW={};EW={dragDescriptionKeyboard:`Naciśnij Enter, aby rozpocząć przeciąganie.`,dragDescriptionKeyboardAlt:`Naciśnij Alt + Enter, aby rozpocząć przeciąganie.`,dragDescriptionLongPress:`Naciśnij i przytrzymaj, aby rozpocząć przeciąganie.`,dragDescriptionTouch:`Dotknij dwukrotnie, aby rozpocząć przeciąganie.`,dragDescriptionVirtual:`Kliknij, aby rozpocząć przeciąganie.`,dragItem:e=>`Przeci\u{105}gnij ${e.itemText}`,dragSelectedItems:(e,t)=>`Przeci\u{105}gnij ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybranych element\xf3w`})}`,dragSelectedKeyboard:(e,t)=>`Naci\u{15B}nij Enter, aby przeci\u{105}gn\u{105}\u{107} ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybrane(-ych) elementy(-\xf3w)`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Naci\u{15B}nij Alt + Enter, aby przeci\u{105}gn\u{105}\u{107} ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybrane(-ych) elementy(-\xf3w)`})}.`,dragSelectedLongPress:(e,t)=>`Naci\u{15B}nij i przytrzymaj, aby przeci\u{105}gn\u{105}\u{107} ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybrane(-ych) elementy(-\xf3w)`})}.`,dragStartedKeyboard:`Rozpoczęto przeciąganie. Naciśnij Tab, aby wybrać miejsce docelowe, a następnie naciśnij Enter, aby upuścić, lub Escape, aby anulować.`,dragStartedTouch:`Rozpoczęto przeciąganie. Wybierz miejsce, w którym chcesz upuścić element, a następnie dotknij dwukrotnie, aby upuścić.F`,dragStartedVirtual:`Rozpoczęto przeciąganie. Wybierz miejsce, w którym chcesz upuścić element, a następnie kliknij lub naciśnij Enter, aby upuścić.`,dropCanceled:`Anulowano upuszczenie.`,dropComplete:`Zakończono upuszczanie.`,dropDescriptionKeyboard:`Naciśnij Enter, aby upuścić. Naciśnij Escape, aby anulować przeciągnięcie.`,dropDescriptionTouch:`Dotknij dwukrotnie, aby upuścić.`,dropDescriptionVirtual:`Kliknij, aby upuścić.`,dropIndicator:`wskaźnik upuszczenia`,dropOnItem:e=>`Upu\u{15B}\u{107} na ${e.itemText}`,dropOnRoot:`Upuść`,endDragKeyboard:`Przeciąganie. Naciśnij Enter, aby anulować przeciągnięcie.`,endDragTouch:`Przeciąganie. Kliknij dwukrotnie, aby anulować przeciągnięcie.`,endDragVirtual:`Przeciąganie. Kliknij, aby anulować przeciąganie.`,insertAfter:e=>`Umie\u{15B}\u{107} za ${e.itemText}`,insertBefore:e=>`Umie\u{15B}\u{107} przed ${e.itemText}`,insertBetween:e=>`Umie\u{15B}\u{107} mi\u{119}dzy ${e.beforeItemText} i ${e.afterItemText}`};var DW={};DW={dragDescriptionKeyboard:`Pressione Enter para começar a arrastar.`,dragDescriptionKeyboardAlt:`Pressione Alt + Enter para começar a arrastar.`,dragDescriptionLongPress:`Pressione e segure para começar a arrastar.`,dragDescriptionTouch:`Toque duas vezes para começar a arrastar.`,dragDescriptionVirtual:`Clique para começar a arrastar.`,dragItem:e=>`Arrastar ${e.itemText}`,dragSelectedItems:(e,t)=>`Arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}`,dragSelectedKeyboard:(e,t)=>`Pressione Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pressione Alt + Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedLongPress:(e,t)=>`Pressione e segure para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragStartedKeyboard:`Comece a arrastar. Pressione Tab para navegar até um alvo e, em seguida, pressione Enter para soltar ou pressione Escape para cancelar.`,dragStartedTouch:`Comece a arrastar. Navegue até um alvo e toque duas vezes para soltar.`,dragStartedVirtual:`Comece a arrastar. Navegue até um alvo e clique ou pressione Enter para soltar.`,dropCanceled:`Liberação cancelada.`,dropComplete:`Liberação concluída.`,dropDescriptionKeyboard:`Pressione Enter para soltar. Pressione Escape para cancelar.`,dropDescriptionTouch:`Toque duas vezes para soltar.`,dropDescriptionVirtual:`Clique para soltar.`,dropIndicator:`indicador de liberação`,dropOnItem:e=>`Soltar em ${e.itemText}`,dropOnRoot:`Soltar`,endDragKeyboard:`Arrastando. Pressione Enter para cancelar.`,endDragTouch:`Arrastando. Toque duas vezes para cancelar.`,endDragVirtual:`Arrastando. Clique para cancelar.`,insertAfter:e=>`Inserir ap\xf3s ${e.itemText}`,insertBefore:e=>`Inserir antes de ${e.itemText}`,insertBetween:e=>`Inserir entre ${e.beforeItemText} e ${e.afterItemText}`};var OW={};OW={dragDescriptionKeyboard:`Prima Enter para iniciar o arrasto.`,dragDescriptionKeyboardAlt:`Prima Alt + Enter para iniciar o arrasto.`,dragDescriptionLongPress:`Prima longamente para começar a arrastar.`,dragDescriptionTouch:`Faça duplo toque para começar a arrastar.`,dragDescriptionVirtual:`Clique para iniciar o arrasto.`,dragItem:e=>`Arrastar ${e.itemText}`,dragSelectedItems:(e,t)=>`Arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}`,dragSelectedKeyboard:(e,t)=>`Prima Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Prima Alt + Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedLongPress:(e,t)=>`Prima longamente para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragStartedKeyboard:`Arrasto iniciado. Prima a tecla de tabulação para navegar para um destino para largar, e em seguida prima Enter para largar ou prima Escape para cancelar.`,dragStartedTouch:`Arrasto iniciado. Navegue para um destino para largar, e em seguida faça duplo toque para largar.`,dragStartedVirtual:`Arrasto iniciado. Navegue para um destino para largar, e em seguida clique ou prima Enter para largar.`,dropCanceled:`Largar cancelado.`,dropComplete:`Largar completo.`,dropDescriptionKeyboard:`Prima Enter para largar. Prima Escape para cancelar o arrasto.`,dropDescriptionTouch:`Faça duplo toque para largar.`,dropDescriptionVirtual:`Clique para largar.`,dropIndicator:`Indicador de largar`,dropOnItem:e=>`Largar em ${e.itemText}`,dropOnRoot:`Largar em`,endDragKeyboard:`A arrastar. Prima Enter para cancelar o arrasto.`,endDragTouch:`A arrastar. Faça duplo toque para cancelar o arrasto.`,endDragVirtual:`A arrastar. Clique para cancelar o arrasto.`,insertAfter:e=>`Inserir depois de ${e.itemText}`,insertBefore:e=>`Inserir antes de ${e.itemText}`,insertBetween:e=>`Inserir entre ${e.beforeItemText} e ${e.afterItemText}`};var kW={};kW={dragDescriptionKeyboard:`Apăsați pe Enter pentru a începe glisarea.`,dragDescriptionKeyboardAlt:`Apăsați pe Alt + Enter pentru a începe glisarea.`,dragDescriptionLongPress:`Apăsați lung pentru a începe glisarea.`,dragDescriptionTouch:`Atingeți de două ori pentru a începe să glisați.`,dragDescriptionVirtual:`Faceți clic pentru a începe glisarea.`,dragItem:e=>`Glisa\u{21B}i ${e.itemText}`,dragSelectedItems:(e,t)=>`Glisa\u{21B}i ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}`,dragSelectedKeyboard:(e,t)=>`Ap\u{103}sa\u{21B}i pe Enter pentru a glisa ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Ap\u{103}sa\u{21B}i pe Alt + Enter pentru a glisa ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,dragSelectedLongPress:(e,t)=>`Ap\u{103}sa\u{21B}i lung pentru a glisa ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,dragStartedKeyboard:`A început glisarea. Apăsați pe Tab pentru a naviga la o țintă de fixare, apoi apăsați pe Enter pentru a fixa sau apăsați pe Escape pentru a anula glisarea.`,dragStartedTouch:`A început glisarea. Navigați la o țintă de fixare, apoi atingeți de două ori pentru a fixa.`,dragStartedVirtual:`A început glisarea. Navigați la o țintă de fixare, apoi faceți clic sau apăsați pe Enter pentru a fixa.`,dropCanceled:`Fixare anulată.`,dropComplete:`Fixare finalizată.`,dropDescriptionKeyboard:`Apăsați pe Enter pentru a fixa. Apăsați pe Escape pentru a anula glisarea.`,dropDescriptionTouch:`Atingeți de două ori pentru a fixa.`,dropDescriptionVirtual:`Faceți clic pentru a fixa.`,dropIndicator:`indicator de fixare`,dropOnItem:e=>`Fixa\u{21B}i pe ${e.itemText}`,dropOnRoot:`Fixare pe`,endDragKeyboard:`Se glisează. Apăsați pe Enter pentru a anula glisarea.`,endDragTouch:`Se glisează. Atingeți de două ori pentru a anula glisarea.`,endDragVirtual:`Se glisează. Faceți clic pentru a anula glisarea.`,insertAfter:e=>`Insera\u{21B}i dup\u{103} ${e.itemText}`,insertBefore:e=>`Insera\u{21B}i \xeenainte de ${e.itemText}`,insertBetween:e=>`Insera\u{21B}i \xeentre ${e.beforeItemText} \u{219}i ${e.afterItemText}`};var AW={};AW={dragDescriptionKeyboard:`Нажмите клавишу Enter для начала перетаскивания.`,dragDescriptionKeyboardAlt:`Нажмите Alt + Enter, чтобы начать перетаскивать.`,dragDescriptionLongPress:`Нажмите и удерживайте, чтобы начать перетаскивать.`,dragDescriptionTouch:`Дважды нажмите для начала перетаскивания.`,dragDescriptionVirtual:`Щелкните для начала перетаскивания.`,dragItem:e=>`\u{41F}\u{435}\u{440}\u{435}\u{442}\u{430}\u{449}\u{438}\u{442}\u{44C} ${e.itemText}`,dragSelectedItems:(e,t)=>`\u{41F}\u{435}\u{440}\u{435}\u{442}\u{430}\u{449}\u{438}\u{442}\u{44C} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{44B}\u{439} \u{44D}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}`,other:()=>`${t.number(e.count)} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{44B}\u{445} \u{44D}\u{43B}\u{435}\u{43C}`})}`,dragSelectedKeyboard:(e,t)=>`\u{41D}\u{430}\u{436}\u{43C}\u{438}\u{442}\u{435} Enter \u{434}\u{43B}\u{44F} \u{43F}\u{435}\u{440}\u{435}\u{442}\u{430}\u{441}\u{43A}\u{438}\u{432}\u{430}\u{43D}\u{438}\u{44F} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{43E}\u{433}\u{43E} \u{44D}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{430}`,other:()=>`${t.number(e.count)} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{44B}\u{445} \u{44D}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{43E}\u{432}`})}.`,dragSelectedKeyboardAlt:(e,t)=>`\u{41D}\u{430}\u{436}\u{43C}\u{438}\u{442}\u{435} Alt + Enter \u{434}\u{43B}\u{44F} \u{43F}\u{435}\u{440}\u{435}\u{442}\u{430}\u{441}\u{43A}\u{438}\u{432}\u{430}\u{43D}\u{438}\u{44F} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{43E}\u{433}\u{43E} \u{44D}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{430}`,other:()=>`${t.number(e.count)} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{44B}\u{445} \u{44D}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{43E}\u{432}`})}.`,dragSelectedLongPress:(e,t)=>`\u{41D}\u{430}\u{436}\u{43C}\u{438}\u{442}\u{435} \u{438} \u{443}\u{434}\u{435}\u{440}\u{436}\u{438}\u{432}\u{430}\u{439}\u{442}\u{435} \u{434}\u{43B}\u{44F} \u{43F}\u{435}\u{440}\u{435}\u{442}\u{430}\u{441}\u{43A}\u{438}\u{432}\u{430}\u{43D}\u{438}\u{44F} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{43E}\u{433}\u{43E} \u{44D}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{430}`,other:()=>`${t.number(e.count)} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{44B}\u{445} \u{44D}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{43E}\u{432}`})}.`,dragStartedKeyboard:`Начато перетаскивание. Нажмите клавишу Tab для выбора цели, затем нажмите клавишу Enter, чтобы применить перетаскивание, или клавишу Escape для отмены действия.`,dragStartedTouch:`Начато перетаскивание. Выберите цель, затем дважды нажмите, чтобы применить перетаскивание.`,dragStartedVirtual:`Начато перетаскивание. Нажмите клавишу Tab для выбора цели, затем нажмите клавишу Enter, чтобы применить перетаскивание.`,dropCanceled:`Перетаскивание отменено.`,dropComplete:`Перетаскивание завершено.`,dropDescriptionKeyboard:`Нажмите клавишу Enter, чтобы применить перетаскивание. Нажмите клавишу Escape для отмены.`,dropDescriptionTouch:`Дважды нажмите, чтобы применить перетаскивание.`,dropDescriptionVirtual:`Щелкните, чтобы применить перетаскивание.`,dropIndicator:`индикатор перетаскивания`,dropOnItem:e=>`\u{41F}\u{435}\u{440}\u{435}\u{442}\u{430}\u{449}\u{438}\u{442}\u{44C} \u{43D}\u{430} ${e.itemText}`,dropOnRoot:`Перетащить на`,endDragKeyboard:`Перетаскивание. Нажмите клавишу Enter для отмены.`,endDragTouch:`Перетаскивание. Дважды нажмите для отмены.`,endDragVirtual:`Перетаскивание. Щелкните для отмены.`,insertAfter:e=>`\u{412}\u{441}\u{442}\u{430}\u{432}\u{438}\u{442}\u{44C} \u{43F}\u{43E}\u{441}\u{43B}\u{435} ${e.itemText}`,insertBefore:e=>`\u{412}\u{441}\u{442}\u{430}\u{432}\u{438}\u{442}\u{44C} \u{43F}\u{435}\u{440}\u{435}\u{434} ${e.itemText}`,insertBetween:e=>`\u{412}\u{441}\u{442}\u{430}\u{432}\u{438}\u{442}\u{44C} \u{43C}\u{435}\u{436}\u{434}\u{443} ${e.beforeItemText} \u{438} ${e.afterItemText}`};var jW={};jW={dragDescriptionKeyboard:`Stlačením klávesu Enter začnete presúvanie.`,dragDescriptionKeyboardAlt:`Stlačením klávesov Alt + Enter začnete presúvanie.`,dragDescriptionLongPress:`Dlhým stlačením začnete presúvanie.`,dragDescriptionTouch:`Dvojitým kliknutím začnete presúvanie.`,dragDescriptionVirtual:`Kliknutím začnete presúvanie.`,dragItem:e=>`Presun\xfa\u{165} polo\u{17E}ku ${e.itemText}`,dragSelectedItems:(e,t)=>`Presun\xfa\u{165} ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybrat\xfa polo\u{17E}ku`,other:()=>`${t.number(e.count)} vybrat\xe9 polo\u{17E}ky`})}`,dragSelectedKeyboard:(e,t)=>`Stla\u{10D}en\xedm kl\xe1vesu Enter presuniete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybrat\xfa polo\u{17E}ku`,other:()=>`${t.number(e.count)} vybrat\xfdch polo\u{17E}iek`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Stla\u{10D}en\xedm kl\xe1vesov Alt + Enter presuniete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybrat\xfa polo\u{17E}ku`,other:()=>`${t.number(e.count)} vybrat\xfdch polo\u{17E}iek`})}.`,dragSelectedLongPress:(e,t)=>`Dlh\xfdm stla\u{10D}en\xedm presuniete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybrat\xfa polo\u{17E}ku`,other:()=>`${t.number(e.count)} vybrat\xfdch polo\u{17E}iek`})}.`,dragStartedKeyboard:`Presúvanie sa začalo. Do cieľového umiestnenia prejdete stlačením klávesu Tab. Ak chcete položku umiestniť, stlačte kláves Enter alebo stlačte kláves Esc, ak chcete presúvanie zrušiť.`,dragStartedTouch:`Presúvanie sa začalo. Prejdite na cieľové umiestnenie a dvojitým kliknutím umiestnite položku.`,dragStartedVirtual:`Presúvanie sa začalo. Prejdite na cieľové umiestnenie a kliknutím alebo stlačením klávesu Enter umiestnite položku.`,dropCanceled:`Umiestnenie zrušené.`,dropComplete:`Umiestnenie dokončené.`,dropDescriptionKeyboard:`Stlačením klávesu Enter umiestnite položku. Stlačením klávesu Esc zrušíte presúvanie.`,dropDescriptionTouch:`Dvojitým kliknutím umiestnite položku.`,dropDescriptionVirtual:`Kliknutím umiestnite položku.`,dropIndicator:`indikátor umiestnenia`,dropOnItem:e=>`Umiestni\u{165} na polo\u{17E}ku ${e.itemText}`,dropOnRoot:`Umiestniť na`,endDragKeyboard:`Prebieha presúvanie. Ak ho chcete zrušiť, stlačte kláves Enter.`,endDragTouch:`Prebieha presúvanie. Dvojitým kliknutím ho môžete zrušiť.`,endDragVirtual:`Prebieha presúvanie.`,insertAfter:e=>`Vlo\u{17E}i\u{165} za polo\u{17E}ku ${e.itemText}`,insertBefore:e=>`Vlo\u{17E}i\u{165} pred polo\u{17E}ku ${e.itemText}`,insertBetween:e=>`Vlo\u{17E}i\u{165} medzi polo\u{17E}ky ${e.beforeItemText} a ${e.afterItemText}`};var MW={};MW={dragDescriptionKeyboard:`Pritisnite tipko Enter za začetek vlečenja.`,dragDescriptionKeyboardAlt:`Pritisnite tipki Alt + Enter za začetek vlečenja.`,dragDescriptionLongPress:`Pritisnite in zadržite za začetek vlečenja.`,dragDescriptionTouch:`Dvotapnite za začetek vlečenja.`,dragDescriptionVirtual:`Kliknite za začetek vlečenja.`,dragItem:e=>`Povleci ${e.itemText}`,dragSelectedItems:(e,t)=>`Povlecite ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbran element`,other:()=>`izbrane elemente (${t.number(e.count)})`})}`,dragSelectedKeyboard:(e,t)=>`Pritisnite tipko Enter, da povle\u{10D}ete ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbrani element`,other:()=>`${t.number(e.count)} izbranih elementov`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pritisnite tipki Alt + Enter, da povle\u{10D}ete ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbrani element`,other:()=>`${t.number(e.count)} izbranih elementov`})}.`,dragSelectedLongPress:(e,t)=>`Pritisnite in zadr\u{17E}ite, da povle\u{10D}ete ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbrani element`,other:()=>`${t.number(e.count)} izbranih elementov`})}.`,dragStartedKeyboard:`Vlečenje se je začelo. Pritisnite tipko Tab za pomik na mesto, kamor želite spustiti elemente, in pritisnite tipko Enter, da jih spustite, ali tipko Escape, da prekličete postopek.`,dragStartedTouch:`Vlečenje se je začelo. Pomaknite se na mesto, kamor želite spustiti elemente, in dvotapnite, da jih spustite.`,dragStartedVirtual:`Vlečenje se je začelo. Pomaknite se na mesto, kamor želite spustiti elemente, in kliknite ali pritisnite tipko Enter, da jih spustite.`,dropCanceled:`Spust je preklican.`,dropComplete:`Spust je končan.`,dropDescriptionKeyboard:`Pritisnite tipko Enter, da spustite. Pritisnite tipko Escape, da prekličete vlečenje.`,dropDescriptionTouch:`Dvotapnite, da spustite.`,dropDescriptionVirtual:`Kliknite, da spustite.`,dropIndicator:`indikator spusta`,dropOnItem:e=>`Spusti na mesto ${e.itemText}`,dropOnRoot:`Spusti na mesto`,endDragKeyboard:`Vlečenje. Pritisnite tipko Enter za preklic vlečenja.`,endDragTouch:`Vlečenje. Dvotapnite za preklic vlečenja.`,endDragVirtual:`Vlečenje. Kliknite, da prekličete vlečenje.`,insertAfter:e=>`Vstavi za ${e.itemText}`,insertBefore:e=>`Vstavi pred ${e.itemText}`,insertBetween:e=>`Vstavi med ${e.beforeItemText} in ${e.afterItemText}`};var NW={};NW={dragDescriptionKeyboard:`Pritisnite Enter da biste započeli prevlačenje.`,dragDescriptionKeyboardAlt:`Pritisnite Alt + Enter da biste započeli prevlačenje.`,dragDescriptionLongPress:`Pritisnite dugo da biste započeli prevlačenje.`,dragDescriptionTouch:`Dvaput dodirnite da biste započeli prevlačenje.`,dragDescriptionVirtual:`Kliknite da biste započeli prevlačenje.`,dragItem:e=>`Prevucite ${e.itemText}`,dragSelectedItems:(e,t)=>`Prevucite ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabrane stavke`})}`,dragSelectedKeyboard:(e,t)=>`Pritisnite Enter da biste prevukli ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabranih stavki`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pritisnite Alt + Enter da biste prevukli ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabranih stavki`})}.`,dragSelectedLongPress:(e,t)=>`Pritisnite dugo da biste prevukli ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabranih stavki`})}.`,dragStartedKeyboard:`Prevlačenje je započeto. Pritisnite Tab da biste otišli do cilja za otpuštanje, zatim pritisnite Enter za ispuštanje ili pritisnite Escape za otkazivanje.`,dragStartedTouch:`Prevlačenje je započeto. Idite do cilja za otpuštanje, a zatim dvaput dodirnite za otpuštanje.`,dragStartedVirtual:`Prevlačenje je započeto. Idite do cilja za otpuštanje, a zatim kliknite ili pritinite Enter za otpuštanje.`,dropCanceled:`Otpuštanje je otkazano.`,dropComplete:`Prevlačenje je završeno.`,dropDescriptionKeyboard:`Pritisnite Enter da biste otpustili. Pritisnite Escape da biste otkazali prevlačenje.`,dropDescriptionTouch:`Dvaput dodirnite za otpuštanje.`,dropDescriptionVirtual:`Kliknite za otpuštanje.`,dropIndicator:`Indikator otpuštanja`,dropOnItem:e=>`Otpusti na ${e.itemText}`,dropOnRoot:`Otpusti na`,endDragKeyboard:`Prevlačenje u toku. Pritisnite Enter da biste otkazali prevlačenje.`,endDragTouch:`Prevlačenje u toku. Dvaput dodirnite da biste otkazali prevlačenje.`,endDragVirtual:`Prevlačenje u toku. Kliknite da biste otkazali prevlačenje.`,insertAfter:e=>`Umetnite posle ${e.itemText}`,insertBefore:e=>`Umetnite ispred ${e.itemText}`,insertBetween:e=>`Umetnite izme\u{111}u ${e.beforeItemText} i ${e.afterItemText}`};var PW={};PW={dragDescriptionKeyboard:`Tryck på enter för att börja dra.`,dragDescriptionKeyboardAlt:`Tryck på Alt + Retur för att börja dra.`,dragDescriptionLongPress:`Tryck länge för att börja dra.`,dragDescriptionTouch:`Dubbeltryck för att börja dra.`,dragDescriptionVirtual:`Klicka för att börja dra.`,dragItem:e=>`Dra ${e.itemText}`,dragSelectedItems:(e,t)=>`Dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valt objekt`,other:()=>`${t.number(e.count)} valda objekt`})}`,dragSelectedKeyboard:(e,t)=>`Tryck p\xe5 Retur f\xf6r att dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Tryck p\xe5 Alt + Retur f\xf6r att dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,dragSelectedLongPress:(e,t)=>`Tryck l\xe4nge f\xf6r att dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,dragStartedKeyboard:`Börja dra. Tryck på tabb för att navigera till målet, tryck på enter för att släppa eller på escape för att avbryta.`,dragStartedTouch:`Börja dra. Navigera till ett mål och dubbeltryck för att släppa.`,dragStartedVirtual:`Börja dra. Navigera till ett mål och klicka eller tryck på enter för att släppa.`,dropCanceled:`Släppåtgärd avbröts.`,dropComplete:`Släppåtgärd klar.`,dropDescriptionKeyboard:`Tryck på enter för att släppa. Tryck på escape för att avbryta dragåtgärd.`,dropDescriptionTouch:`Dubbeltryck för att släppa.`,dropDescriptionVirtual:`Klicka för att släppa.`,dropIndicator:`släppindikator`,dropOnItem:e=>`Sl\xe4pp p\xe5 ${e.itemText}`,dropOnRoot:`Släpp på`,endDragKeyboard:`Drar. Tryck på enter för att avbryta dragåtgärd.`,endDragTouch:`Drar. Dubbeltryck för att avbryta dragåtgärd.`,endDragVirtual:`Drar. Klicka för att avbryta dragåtgärd.`,insertAfter:e=>`Infoga efter ${e.itemText}`,insertBefore:e=>`Infoga f\xf6re ${e.itemText}`,insertBetween:e=>`Infoga mellan ${e.beforeItemText} och ${e.afterItemText}`};var FW={};FW={dragDescriptionKeyboard:`Sürüklemeyi başlatmak için Enter'a basın.`,dragDescriptionKeyboardAlt:`Sürüklemeyi başlatmak için Alt + Enter'a basın.`,dragDescriptionLongPress:`Sürüklemeye başlamak için uzun basın.`,dragDescriptionTouch:`Sürüklemeyi başlatmak için çift tıklayın.`,dragDescriptionVirtual:`Sürüklemeyi başlatmak için tıklayın.`,dragItem:e=>`${e.itemText}\u{2019}i s\xfcr\xfckle`,dragSelectedItems:(e,t)=>`S\xfcr\xfckle ${t.plural(e.count,{one:()=>`${t.number(e.count)} se\xe7ili \xf6ge`,other:()=>`${t.number(e.count)} se\xe7ili \xf6ge`})}`,dragSelectedKeyboard:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} se\xe7ilmi\u{15F} \xf6\u{11F}e`,other:()=>`${t.number(e.count)} se\xe7ilmi\u{15F} \xf6\u{11F}e`})} \xf6\u{11F}esini s\xfcr\xfcklemek i\xe7in Enter'a bas\u{131}n.`,dragSelectedKeyboardAlt:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} se\xe7ilmi\u{15F} \xf6\u{11F}e`,other:()=>`${t.number(e.count)} se\xe7ilmi\u{15F} \xf6\u{11F}e`})} \xf6\u{11F}esini s\xfcr\xfcklemek i\xe7in Alt + Enter tu\u{15F}una bas\u{131}n.`,dragSelectedLongPress:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} se\xe7ilmi\u{15F} \xf6\u{11F}e`,other:()=>`${t.number(e.count)} se\xe7ilmi\u{15F} \xf6\u{11F}e`})} \xf6\u{11F}esini s\xfcr\xfcklemek i\xe7in uzun bas\u{131}n.`,dragStartedKeyboard:`Sürükleme başlatıldı. Bir bırakma hedefine gitmek için Tab’a basın, ardından bırakmak için Enter’a basın veya iptal etmek için Escape’e basın.`,dragStartedTouch:`Sürükleme başlatıldı. Bir bırakma hedefine gidin, ardından bırakmak için çift tıklayın.`,dragStartedVirtual:`Sürükleme başlatıldı. Bir bırakma hedefine gidin, ardından bırakmak için Enter’a tıklayın veya basın.`,dropCanceled:`Bırakma iptal edildi.`,dropComplete:`Bırakma tamamlandı.`,dropDescriptionKeyboard:`Bırakmak için Enter'a basın. Sürüklemeyi iptal etmek için Escape'e basın.`,dropDescriptionTouch:`Bırakmak için çift tıklayın.`,dropDescriptionVirtual:`Bırakmak için tıklayın.`,dropIndicator:`bırakma göstergesi`,dropOnItem:e=>`${e.itemText} \xfczerine b\u{131}rak`,dropOnRoot:`Bırakın`,endDragKeyboard:`Sürükleme. Sürüklemeyi iptal etmek için Enter'a basın.`,endDragTouch:`Sürükleme. Sürüklemeyi iptal etmek için çift tıklayın.`,endDragVirtual:`Sürükleme. Sürüklemeyi iptal etmek için tıklayın.`,insertAfter:e=>`${e.itemText}\u{2019}den sonra gir`,insertBefore:e=>`${e.itemText}\u{2019}den \xf6nce gir`,insertBetween:e=>`${e.beforeItemText} ve ${e.afterItemText} aras\u{131}na gir`};var IW={};IW={dragDescriptionKeyboard:`Натисніть Enter, щоб почати перетягування.`,dragDescriptionKeyboardAlt:`Натисніть Alt + Enter, щоб почати перетягування.`,dragDescriptionLongPress:`Натисніть і утримуйте, щоб почати перетягування.`,dragDescriptionTouch:`Натисніть двічі, щоб почати перетягування.`,dragDescriptionVirtual:`Натисніть, щоб почати перетягування.`,dragItem:e=>`\u{41F}\u{435}\u{440}\u{435}\u{442}\u{44F}\u{433}\u{43D}\u{443}\u{442}\u{438} ${e.itemText}`,dragSelectedItems:(e,t)=>`\u{41F}\u{435}\u{440}\u{435}\u{442}\u{44F}\u{433}\u{43D}\u{456}\u{442}\u{44C} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{438}\u{439} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}`,other:()=>`${t.number(e.count)} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{438}\u{445} \u{435}\u{43B}\u{435}\u{43C}`})}`,dragSelectedKeyboard:(e,t)=>`\u{41D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{456}\u{442}\u{44C} Enter, \u{449}\u{43E}\u{431} \u{43F}\u{435}\u{440}\u{435}\u{442}\u{44F}\u{433}\u{43D}\u{443}\u{442}\u{438} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{438}\u{439} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}`,other:()=>`${t.number(e.count)} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{438}\u{445} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{438}(-\u{456}\u{432})`})}.`,dragSelectedKeyboardAlt:(e,t)=>`\u{41D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{456}\u{442}\u{44C} Alt + Enter, \u{449}\u{43E}\u{431} \u{43F}\u{435}\u{440}\u{435}\u{442}\u{44F}\u{433}\u{43D}\u{443}\u{442}\u{438} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{438}\u{439} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}`,other:()=>`${t.number(e.count)} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{438}\u{445} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{438}(-\u{456}\u{432})`})}.`,dragSelectedLongPress:(e,t)=>`\u{423}\u{442}\u{440}\u{438}\u{43C}\u{443}\u{439}\u{442}\u{435}, \u{449}\u{43E}\u{431} \u{43F}\u{435}\u{440}\u{435}\u{442}\u{44F}\u{433}\u{43D}\u{443}\u{442}\u{438} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{438}\u{439} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}`,other:()=>`${t.number(e.count)} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{438}\u{445} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{438}(-\u{456}\u{432})`})}.`,dragStartedKeyboard:`Перетягування почалося. Натисніть Tab, щоб перейти до цілі перетягування, потім натисніть Enter, щоб перетягнути, або Escape, щоб скасувати.`,dragStartedTouch:`Перетягування почалося. Перейдіть до цілі перетягування, потім натисніть двічі, щоб перетягнути.`,dragStartedVirtual:`Перетягування почалося. Перейдіть до цілі перетягування, потім натисніть Enter, щоб перетягнути.`,dropCanceled:`Перетягування скасовано.`,dropComplete:`Перетягування завершено.`,dropDescriptionKeyboard:`Натисніть Enter, щоб перетягнути. Натисніть Escape, щоб скасувати перетягування.`,dropDescriptionTouch:`Натисніть двічі, щоб перетягнути.`,dropDescriptionVirtual:`Натисніть, щоб перетягнути.`,dropIndicator:`індикатор перетягування`,dropOnItem:e=>`\u{41F}\u{435}\u{440}\u{435}\u{442}\u{44F}\u{433}\u{43D}\u{443}\u{442}\u{438} \u{43D}\u{430} ${e.itemText}`,dropOnRoot:`Перетягнути на`,endDragKeyboard:`Триває перетягування. Натисніть Enter, щоб скасувати перетягування.`,endDragTouch:`Триває перетягування. Натисніть двічі, щоб скасувати перетягування.`,endDragVirtual:`Триває перетягування. Натисніть, щоб скасувати перетягування.`,insertAfter:e=>`\u{412}\u{441}\u{442}\u{430}\u{432}\u{438}\u{442}\u{438} \u{43F}\u{456}\u{441}\u{43B}\u{44F} ${e.itemText}`,insertBefore:e=>`\u{412}\u{441}\u{442}\u{430}\u{432}\u{438}\u{442}\u{438} \u{43F}\u{435}\u{440}\u{435}\u{434} ${e.itemText}`,insertBetween:e=>`\u{412}\u{441}\u{442}\u{430}\u{432}\u{438}\u{442}\u{438} \u{43C}\u{456}\u{436} ${e.beforeItemText} \u{456} ${e.afterItemText}`};var LW={};LW={dragDescriptionKeyboard:`按 Enter 开始拖动。`,dragDescriptionKeyboardAlt:`按 Alt + Enter 开始拖动。`,dragDescriptionLongPress:`长按以开始拖动。`,dragDescriptionTouch:`双击开始拖动。`,dragDescriptionVirtual:`单击开始拖动。`,dragItem:e=>`\u{62D6}\u{52A8} ${e.itemText}`,dragSelectedItems:(e,t)=>`\u{62D6}\u{52A8} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{9009}\u{4E2D}\u{9879}\u{76EE}`,other:()=>`${t.number(e.count)} \u{9009}\u{4E2D}\u{9879}\u{76EE}`})}`,dragSelectedKeyboard:(e,t)=>`\u{6309} Enter \u{4EE5}\u{62D6}\u{52A8} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{4E2A}\u{9009}\u{5B9A}\u{9879}`,other:()=>`${t.number(e.count)} \u{4E2A}\u{9009}\u{5B9A}\u{9879}`})}\u{3002}`,dragSelectedKeyboardAlt:(e,t)=>`\u{6309} Alt + Enter \u{4EE5}\u{62D6}\u{52A8} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{4E2A}\u{9009}\u{5B9A}\u{9879}`,other:()=>`${t.number(e.count)} \u{4E2A}\u{9009}\u{5B9A}\u{9879}`})}\u{3002}`,dragSelectedLongPress:(e,t)=>`\u{957F}\u{6309}\u{4EE5}\u{62D6}\u{52A8} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{4E2A}\u{9009}\u{5B9A}\u{9879}`,other:()=>`${t.number(e.count)} \u{4E2A}\u{9009}\u{5B9A}\u{9879}`})}\u{3002}`,dragStartedKeyboard:`已开始拖动。按 Tab 导航到放置目标,然后按 Enter 放置或按 Escape 取消。`,dragStartedTouch:`已开始拖动。导航到放置目标,然后双击放置。`,dragStartedVirtual:`已开始拖动。导航到放置目标,然后单击或按 Enter 放置。`,dropCanceled:`放置已取消。`,dropComplete:`放置已完成。`,dropDescriptionKeyboard:`按 Enter 放置。按 Escape 取消拖动。`,dropDescriptionTouch:`双击放置。`,dropDescriptionVirtual:`单击放置。`,dropIndicator:`放置标记`,dropOnItem:e=>`\u{653E}\u{7F6E}\u{4E8E} ${e.itemText}`,dropOnRoot:`放置于`,endDragKeyboard:`正在拖动。按 Enter 取消拖动。`,endDragTouch:`正在拖动。双击取消拖动。`,endDragVirtual:`正在拖动。单击取消拖动。`,insertAfter:e=>`\u{63D2}\u{5165}\u{5230} ${e.itemText} \u{4E4B}\u{540E}`,insertBefore:e=>`\u{63D2}\u{5165}\u{5230} ${e.itemText} \u{4E4B}\u{524D}`,insertBetween:e=>`\u{63D2}\u{5165}\u{5230} ${e.beforeItemText} \u{548C} ${e.afterItemText} \u{4E4B}\u{95F4}`};var RW={};RW={dragDescriptionKeyboard:`按 Enter 鍵以開始拖曳。`,dragDescriptionKeyboardAlt:`按 Alt+Enter 鍵以開始拖曳。`,dragDescriptionLongPress:`長按以開始拖曳。`,dragDescriptionTouch:`輕點兩下以開始拖曳。`,dragDescriptionVirtual:`按一下滑鼠以開始拖曳。`,dragItem:e=>`\u{62D6}\u{66F3}\u{300C}${e.itemText}\u{300D}`,dragSelectedItems:(e,t)=>`\u{62D6}\u{66F3} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{500B}\u{9078}\u{5B9A}\u{9805}\u{76EE}`,other:()=>`${t.number(e.count)} \u{500B}\u{9078}\u{5B9A}\u{9805}\u{76EE}`})}`,dragSelectedKeyboard:(e,t)=>`\u{6309} Enter \u{9375}\u{4EE5}\u{62D6}\u{66F3} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{500B}\u{9078}\u{5B9A}\u{9805}\u{76EE}`,other:()=>`${t.number(e.count)} \u{500B}\u{9078}\u{5B9A}\u{9805}\u{76EE}`})}\u{3002}`,dragSelectedKeyboardAlt:(e,t)=>`\u{6309} Alt+Enter \u{9375}\u{4EE5}\u{62D6}\u{66F3} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{500B}\u{9078}\u{5B9A}\u{9805}\u{76EE}`,other:()=>`${t.number(e.count)} \u{500B}\u{9078}\u{5B9A}\u{9805}\u{76EE}`})}\u{3002}`,dragSelectedLongPress:(e,t)=>`\u{9577}\u{6309}\u{4EE5}\u{62D6}\u{66F3} ${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{500B}\u{9078}\u{5B9A}\u{9805}\u{76EE}`,other:()=>`${t.number(e.count)} \u{500B}\u{9078}\u{5B9A}\u{9805}\u{76EE}`})}\u{3002}`,dragStartedKeyboard:`已開始拖曳。按 Tab 鍵以瀏覽至放置目標,然後按 Enter 鍵以放置,或按 Escape 鍵以取消。`,dragStartedTouch:`已開始拖曳。瀏覽至放置目標,然後輕點兩下以放置。`,dragStartedVirtual:`已開始拖曳。瀏覽至放置目標,然後按一下滑鼠或按 Enter 鍵以放置。`,dropCanceled:`放置已取消。`,dropComplete:`放置已完成。`,dropDescriptionKeyboard:`按 Enter 鍵以放置。按 Escape 鍵以取消拖曳。`,dropDescriptionTouch:`輕點兩下以放置。`,dropDescriptionVirtual:`按一下滑鼠以放置。`,dropIndicator:`放置指示器`,dropOnItem:e=>`\u{653E}\u{7F6E}\u{5728}\u{300C}${e.itemText}\u{300D}\u{4E0A}`,dropOnRoot:`放置在`,endDragKeyboard:`拖曳中。按 Enter 鍵以取消拖曳。`,endDragTouch:`拖曳中。輕點兩下以取消拖曳。`,endDragVirtual:`拖曳中。按一下滑鼠以取消拖曳。`,insertAfter:e=>`\u{63D2}\u{5165}\u{81F3}\u{300C}${e.itemText}\u{300D}\u{4E4B}\u{5F8C}`,insertBefore:e=>`\u{63D2}\u{5165}\u{81F3}\u{300C}${e.itemText}\u{300D}\u{4E4B}\u{524D}`,insertBetween:e=>`\u{63D2}\u{5165}\u{81F3}\u{300C}${e.beforeItemText}\u{300D}\u{548C}\u{300C}${e.afterItemText}\u{300D}\u{4E4B}\u{9593}`};var zW={};zW={"ar-AE":aW,"bg-BG":oW,"cs-CZ":sW,"da-DK":cW,"de-DE":lW,"el-GR":uW,"en-US":dW,"es-ES":fW,"et-EE":pW,"fi-FI":mW,"fr-FR":hW,"he-IL":gW,"hr-HR":_W,"hu-HU":vW,"it-IT":yW,"ja-JP":bW,"ko-KR":xW,"lt-LT":SW,"lv-LV":CW,"nb-NO":wW,"nl-NL":TW,"pl-PL":EW,"pt-BR":DW,"pt-PT":OW,"ro-RO":kW,"ru-RU":AW,"sk-SK":jW,"sl-SI":MW,"sr-SP":NW,"sv-SE":PW,"tr-TR":FW,"uk-UA":IW,"zh-CN":LW,"zh-TW":RW};function fne(e){return e&&e.__esModule?e.default:e}var pne={keyboard:`dropDescriptionKeyboard`,touch:`dropDescriptionTouch`,virtual:`dropDescriptionVirtual`};function mne(){let e=_T(fne(zW),`@react-aria/dnd`),t=UU();return{dropProps:{...BA(one()?e.format(pne[t]):``),onClick:()=>{}}}}var hne=800;function BW(e){let{hasDropButton:t,isDisabled:n}=e,[r,i]=(0,x.useState)(!1),a=(0,x.useRef)({x:0,y:0,dragOverElements:new Set,dropEffect:`none`,allowedOperations:PU.all,dropActivateTimer:void 0}).current,o=t=>{if(i(!0),typeof e.onDropEnter==`function`){let n=t.currentTarget.getBoundingClientRect();e.onDropEnter({type:`dropenter`,x:t.clientX-n.x,y:t.clientY-n.y})}},s=t=>{if(i(!1),typeof e.onDropExit==`function`){let n=t.currentTarget.getBoundingClientRect();e.onDropExit({type:`dropexit`,x:t.clientX-n.x,y:t.clientY-n.y})}},c=t=>{t.preventDefault(),t.stopPropagation();let n=VW(t);if(t.clientX===a.x&&t.clientY===a.y&&n===a.allowedOperations){t.dataTransfer.dropEffect=a.dropEffect;return}a.x=t.clientX,a.y=t.clientY;let r=a.dropEffect;if(n!==a.allowedOperations){let r=HW(n),i=r[0];if(typeof e.getDropOperation==`function`){let a=new GU(t.dataTransfer);i=UW(n,e.getDropOperation(a,r))}a.dropEffect=RU[i]||`none`}if(typeof e.getDropOperationForPoint==`function`){let r=new GU(t.dataTransfer),i=t.currentTarget.getBoundingClientRect(),o=UW(n,e.getDropOperationForPoint(r,HW(n),a.x-i.x,a.y-i.y));a.dropEffect=RU[o]||`none`}if(a.allowedOperations=n,t.dataTransfer.dropEffect=a.dropEffect,a.dropEffect===`none`&&r!==`none`?s(t):a.dropEffect!==`none`&&r===`none`&&o(t),typeof e.onDropMove==`function`&&a.dropEffect!==`none`){let n=t.currentTarget.getBoundingClientRect();e.onDropMove({type:`dropmove`,x:a.x-n.x,y:a.y-n.y})}if(clearTimeout(a.dropActivateTimer),e.onDropActivate&&typeof e.onDropActivate==`function`&&a.dropEffect!==`none`){let n=e.onDropActivate,r=t.currentTarget.getBoundingClientRect();a.dropActivateTimer=setTimeout(()=>{n({type:`dropactivate`,x:a.x-r.x,y:a.y-r.y})},hne)}},l=t=>{if(t.preventDefault(),t.stopPropagation(),a.dragOverElements.add(G(t)),a.dragOverElements.size>1)return;let n=VW(t),r=HW(n),i=r[0];if(typeof e.getDropOperation==`function`){let a=new GU(t.dataTransfer);i=UW(n,e.getDropOperation(a,r))}if(typeof e.getDropOperationForPoint==`function`){let a=new GU(t.dataTransfer),o=t.currentTarget.getBoundingClientRect();i=UW(n,e.getDropOperationForPoint(a,r,t.clientX-o.x,t.clientY-o.y))}a.x=t.clientX,a.y=t.clientY,a.allowedOperations=n,a.dropEffect=RU[i]||`none`,t.dataTransfer.dropEffect=a.dropEffect,i!==`cancel`&&o(t)},u=e=>{e.preventDefault(),e.stopPropagation();let t=G(e);if(a.dragOverElements.delete(t),t===e.currentTarget)for(let t of a.dragOverElements)zS(e.currentTarget,t)||a.dragOverElements.delete(t);a.dragOverElements.size>0||(a.dropEffect!==`none`&&s(e),clearTimeout(a.dropActivateTimer))},d=t=>{if(t.preventDefault(),t.stopPropagation(),ZU(a.dropEffect),typeof e.onDrop==`function`){let n=LU[a.dropEffect],r=$te(t.dataTransfer),i=t.currentTarget.getBoundingClientRect(),o={type:`drop`,x:t.clientX-i.x,y:t.clientY-i.y,items:r,dropOperation:n};e.onDrop(o)}let n={...YU};a.dragOverElements.clear(),s(t),clearTimeout(a.dropActivateTimer),n.draggingCollectionRef==null?ZU(void 0):rne(n)},f=Kw(t=>{typeof e.onDropEnter==`function`&&e.onDropEnter(t)}),p=Kw(t=>{typeof e.onDropExit==`function`&&e.onDropExit(t)}),m=Kw(t=>{typeof e.onDropActivate==`function`&&e.onDropActivate(t)}),h=Kw(t=>{typeof e.onDrop==`function`&&e.onDrop(t)}),g=Kw((t,n)=>e.getDropOperation?e.getDropOperation(t,n):n[0]),{ref:_}=e;qx(()=>{if(!n&&_.current)return ine({element:_.current,getDropOperation:g,onDropEnter(e){i(!0),f(e)},onDropExit(e){i(!1),p(e)},onDrop:h,onDropActivate:m})},[n,_]);let{dropProps:v}=mne();return n?{dropProps:{},dropButtonProps:{isDisabled:!0},isDropTarget:!1}:{dropProps:{...!t&&v,onDragEnter:l,onDragOver:c,onDragLeave:u,onDrop:d},dropButtonProps:{...t&&v},isDropTarget:r}}function VW(e){let t=FU[e.dataTransfer.effectAllowed];QU&&(t&=QU);let n=PU.none;return fC()?(e.altKey&&(n|=PU.copy),e.ctrlKey&&!mC()&&(n|=PU.link),e.metaKey&&(n|=PU.move)):(e.altKey&&(n|=PU.link),e.shiftKey&&(n|=PU.move),e.ctrlKey&&(n|=PU.copy)),n?t&n:t}function HW(e){let t=[];return e&PU.move&&t.push(`move`),e&PU.copy&&t.push(`copy`),e&PU.link&&t.push(`link`),t}function UW(e,t){return e&PU[t]?t:`cancel`}var WW=(0,x.forwardRef)(function(e,t){let{onSelect:n,acceptedFileTypes:r,allowsMultiple:i,defaultCamera:a,children:o,acceptDirectory:s,...c}=e,l=gS(t),u=K(c,{global:!0});return x.createElement(x.Fragment,null,x.createElement(nB,{onPress:()=>{l.current?.value&&(l.current.value=``),l.current?.click()}},o),x.createElement(AN,{...u,className:``,type:`file`,ref:l,onClick:e=>e.stopPropagation(),style:{display:`none`},accept:r?.toString(),onChange:e=>n?.(G(e).files),capture:a,multiple:i,webkitdirectory:s?``:void 0}))}),GW=new WeakMap;function KW(e,t){let{id:n}=GW.get(e)??{};if(!n)throw Error(`Unknown list`);return`${n}-${gne(t)}`}function gne(e){return typeof e==`string`?e.replace(/\s*/g,``):``+e}var qW={};qW={deselectedItem:e=>`${e.item} \u{63A}\u{64A}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,longPressToSelect:`اضغط مطولًا للدخول إلى وضع التحديد.`,select:`تحديد`,selectedAll:`جميع العناصر المحددة.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`لم يتم تحديد عناصر`,one:()=>`${t.number(e.count)} \u{639}\u{646}\u{635}\u{631} \u{645}\u{62D}\u{62F}\u{62F}`,other:()=>`${t.number(e.count)} \u{639}\u{646}\u{635}\u{631} \u{645}\u{62D}\u{62F}\u{62F}`})}.`,selectedItem:e=>`${e.item} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`};var JW={};JW={deselectedItem:e=>`${e.item} \u{43D}\u{435} \u{435} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`,longPressToSelect:`Натиснете и задръжте за да влезете в избирателен режим.`,select:`Изберете`,selectedAll:`Всички елементи са избрани.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Няма избрани елементи`,one:()=>`${t.number(e.count)} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}`,other:()=>`${t.number(e.count)} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{438} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{438}`})}.`,selectedItem:e=>`${e.item} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`};var YW={};YW={deselectedItem:e=>`Polo\u{17E}ka ${e.item} nen\xed vybr\xe1na.`,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\xe1na ${t.number(e.count)} polo\u{17E}ka`,other:()=>`Vybr\xe1no ${t.number(e.count)} polo\u{17E}ek`})}.`,selectedItem:e=>`Vybr\xe1na polo\u{17E}ka ${e.item}.`};var XW={};XW={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 ZW={};ZW={deselectedItem:e=>`${e.item} nicht ausgew\xe4hlt.`,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\xe4hlt`,other:()=>`${t.number(e.count)} Elemente ausgew\xe4hlt`})}.`,selectedItem:e=>`${e.item} ausgew\xe4hlt.`};var QW={};QW={deselectedItem:e=>`\u{394}\u{3B5}\u{3BD} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} \u{3C4}\u{3BF} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF} ${e.item}.`,longPressToSelect:`Πατήστε παρατεταμένα για να μπείτε σε λειτουργία επιλογής.`,select:`Επιλογή`,selectedAll:`Επιλέχθηκαν όλα τα στοιχεία.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Δεν επιλέχθηκαν στοιχεία`,one:()=>`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} ${t.number(e.count)} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF}`,other:()=>`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B1}\u{3BD} ${t.number(e.count)} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3B1}`})}.`,selectedItem:e=>`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} \u{3C4}\u{3BF} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF} ${e.item}.`};var $W={};$W={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 eG={};eG={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 tG={};tG={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)} \xfcksus valitud`,other:()=>`${t.number(e.count)} \xfcksust valitud`})}.`,selectedItem:e=>`${e.item} valitud.`};var nG={};nG={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 rG={};rG={deselectedItem:e=>`${e.item} non s\xe9lectionn\xe9.`,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)} \xe9l\xe9ment s\xe9lectionn\xe9`,other:()=>`${t.number(e.count)} \xe9l\xe9ments s\xe9lectionn\xe9s`})}.`,selectedItem:e=>`${e.item} s\xe9lectionn\xe9.`};var iG={};iG={deselectedItem:e=>`${e.item} \u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`,longPressToSelect:`הקשה ארוכה לכניסה למצב בחירה.`,select:`בחר`,selectedAll:`כל הפריטים נבחרו.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`לא נבחרו פריטים`,one:()=>`\u{5E4}\u{5E8}\u{5D9}\u{5D8} ${t.number(e.count)} \u{5E0}\u{5D1}\u{5D7}\u{5E8}`,other:()=>`${t.number(e.count)} \u{5E4}\u{5E8}\u{5D9}\u{5D8}\u{5D9}\u{5DD} \u{5E0}\u{5D1}\u{5D7}\u{5E8}\u{5D5}`})}.`,selectedItem:e=>`${e.item} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`};var aG={};aG={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 oG={};oG={deselectedItem:e=>`${e.item} nincs kijel\xf6lve.`,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\xf6lve`,other:()=>`${t.number(e.count)} elem kijel\xf6lve`})}.`,selectedItem:e=>`${e.item} kijel\xf6lve.`};var sG={};sG={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 cG={};cG={deselectedItem:e=>`${e.item} \u{304C}\u{9078}\u{629E}\u{3055}\u{308C}\u{3066}\u{3044}\u{307E}\u{305B}\u{3093}\u{3002}`,longPressToSelect:`長押しして選択モードを開きます。`,select:`選択`,selectedAll:`すべての項目を選択しました。`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`項目が選択されていません`,one:()=>`${t.number(e.count)} \u{9805}\u{76EE}\u{3092}\u{9078}\u{629E}\u{3057}\u{307E}\u{3057}\u{305F}`,other:()=>`${t.number(e.count)} \u{9805}\u{76EE}\u{3092}\u{9078}\u{629E}\u{3057}\u{307E}\u{3057}\u{305F}`})}\u{3002}`,selectedItem:e=>`${e.item} \u{3092}\u{9078}\u{629E}\u{3057}\u{307E}\u{3057}\u{305F}\u{3002}`};var lG={};lG={deselectedItem:e=>`${e.item}\u{C774}(\u{AC00}) \u{C120}\u{D0DD}\u{B418}\u{C9C0} \u{C54A}\u{C558}\u{C2B5}\u{B2C8}\u{B2E4}.`,longPressToSelect:`선택 모드로 들어가려면 길게 누르십시오.`,select:`선택`,selectedAll:`모든 항목이 선택되었습니다.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`선택된 항목이 없습니다`,one:()=>`${t.number(e.count)}\u{AC1C} \u{D56D}\u{BAA9}\u{C774} \u{C120}\u{D0DD}\u{B418}\u{C5C8}\u{C2B5}\u{B2C8}\u{B2E4}`,other:()=>`${t.number(e.count)}\u{AC1C} \u{D56D}\u{BAA9}\u{C774} \u{C120}\u{D0DD}\u{B418}\u{C5C8}\u{C2B5}\u{B2C8}\u{B2E4}`})}.`,selectedItem:e=>`${e.item}\u{C774}(\u{AC00}) \u{C120}\u{D0DD}\u{B418}\u{C5C8}\u{C2B5}\u{B2C8}\u{B2E4}.`};var uG={};uG={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\u{173}: ${t.number(e.count)}`})}.`,selectedItem:e=>`Pasirinkta: ${e.item}.`};var dG={};dG={deselectedItem:e=>`Vienums ${e.item} nav atlas\u{12B}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\u{12B}to vienumu skaits: ${t.number(e.count)}`,other:()=>`Atlas\u{12B}to vienumu skaits: ${t.number(e.count)}`})}.`,selectedItem:e=>`Atlas\u{12B}ts vienums ${e.item}.`};var fG={};fG={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 pG={};pG={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 mG={};mG={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\xf3w`})}.`,selectedItem:e=>`Zaznaczono ${e.item}.`};var hG={};hG={deselectedItem:e=>`${e.item} n\xe3o 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 gG={};gG={deselectedItem:e=>`${e.item} n\xe3o 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 _G={};_G={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 vG={};vG={deselectedItem:e=>`${e.item} \u{43D}\u{435} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,longPressToSelect:`Нажмите и удерживайте для входа в режим выбора.`,select:`Выбрать`,selectedAll:`Выбраны все элементы.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Нет выбранных элементов`,one:()=>`${t.number(e.count)} \u{44D}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}`,other:()=>`${t.number(e.count)} \u{44D}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{43E}\u{432} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}`})}.`,selectedItem:e=>`${e.item} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`};var yG={};yG={deselectedItem:e=>`Nevybrat\xe9 polo\u{17E}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\xe1 polo\u{17E}ka`,other:()=>`Po\u{10D}et vybrat\xfdch polo\u{17E}iek:${t.number(e.count)}`})}.`,selectedItem:e=>`Vybrat\xe9 polo\u{17E}ky: ${e.item}.`};var bG={};bG={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 xG={};xG={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 SG={};SG={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 CG={};CG={deselectedItem:e=>`${e.item} se\xe7ilmedi.`,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)} \xf6ge se\xe7ildi`,other:()=>`${t.number(e.count)} \xf6ge se\xe7ildi`})}.`,selectedItem:e=>`${e.item} se\xe7ildi.`};var wG={};wG={deselectedItem:e=>`${e.item} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,longPressToSelect:`Виконайте довге натиснення, щоб перейти в режим вибору.`,select:`Вибрати`,selectedAll:`Усі елементи вибрано.`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`Жодних елементів не вибрано`,one:()=>`${t.number(e.count)} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}`,other:()=>`\u{412}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{456}\u{432}: ${t.number(e.count)}`})}.`,selectedItem:e=>`${e.item} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`};var TG={};TG={deselectedItem:e=>`\u{672A}\u{9009}\u{62E9} ${e.item}\u{3002}`,longPressToSelect:`长按以进入选择模式。`,select:`选择`,selectedAll:`已选择所有项目。`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`未选择项目`,one:()=>`\u{5DF2}\u{9009}\u{62E9} ${t.number(e.count)} \u{4E2A}\u{9879}\u{76EE}`,other:()=>`\u{5DF2}\u{9009}\u{62E9} ${t.number(e.count)} \u{4E2A}\u{9879}\u{76EE}`})}\u{3002}`,selectedItem:e=>`\u{5DF2}\u{9009}\u{62E9} ${e.item}\u{3002}`};var EG={};EG={deselectedItem:e=>`\u{672A}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`,longPressToSelect:`長按以進入選擇模式。`,select:`選取`,selectedAll:`已選取所有項目。`,selectedCount:(e,t)=>`${t.plural(e.count,{"=0":`未選取任何項目`,one:()=>`\u{5DF2}\u{9078}\u{53D6} ${t.number(e.count)} \u{500B}\u{9805}\u{76EE}`,other:()=>`\u{5DF2}\u{9078}\u{53D6} ${t.number(e.count)} \u{500B}\u{9805}\u{76EE}`})}\u{3002}`,selectedItem:e=>`\u{5DF2}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`};var DG={};DG={"ar-AE":qW,"bg-BG":JW,"cs-CZ":YW,"da-DK":XW,"de-DE":ZW,"el-GR":QW,"en-US":$W,"es-ES":eG,"et-EE":tG,"fi-FI":nG,"fr-FR":rG,"he-IL":iG,"hr-HR":aG,"hu-HU":oG,"it-IT":sG,"ja-JP":cG,"ko-KR":lG,"lt-LT":uG,"lv-LV":dG,"nb-NO":fG,"nl-NL":pG,"pl-PL":mG,"pt-BR":hG,"pt-PT":gG,"ro-RO":_G,"ru-RU":vG,"sk-SK":yG,"sl-SI":bG,"sr-SP":xG,"sv-SE":SG,"tr-TR":CG,"uk-UA":wG,"zh-CN":TG,"zh-TW":EG};function OG(e){return e&&e.__esModule?e.default:e}function kG(e,t){let{getRowText:n=e=>t.collection.getTextValue?.(e)??t.collection.getItem(e)?.textValue}=e,r=_T(OG(DG),`@react-aria/grid`),i=t.selectionManager.rawSelection,a=(0,x.useRef)(i),o=(0,x.useCallback)(()=>{if(!t.selectionManager.isFocused||i===a.current){a.current=i;return}let e=AG(i,a.current),o=AG(a.current,i),s=t.selectionManager.selectionBehavior===`replace`,c=[];if(t.selectionManager.selectedKeys.size===1&&s){let e=t.selectionManager.selectedKeys.keys().next().value;if(e!=null&&t.collection.getItem(e)){let t=n(e);t&&c.push(r.format(`selectedItem`,{item:t}))}}else if(e.size===1&&o.size===0){let t=e.keys().next().value;if(t!=null){let e=n(t);e&&c.push(r.format(`selectedItem`,{item:e}))}}else if(o.size===1&&e.size===0){let e=o.keys().next().value;if(e!=null&&t.collection.getItem(e)){let t=n(e);t&&c.push(r.format(`deselectedItem`,{item:t}))}}t.selectionManager.selectionMode===`multiple`&&(c.length===0||i===`all`||i.size>1||a.current===`all`||a.current?.size>1)&&c.push(i===`all`?r.format(`selectedAll`):r.format(`selectedCount`,{count:i.size})),c.length>0&&YD(c.join(` `)),a.current=i},[i,t.selectionManager.selectedKeys,t.selectionManager.isFocused,t.selectionManager.selectionBehavior,t.selectionManager.selectionMode,t.collection,n,r]);jA(()=>{if(t.selectionManager.isFocused)o();else{let e=requestAnimationFrame(o);return()=>cancelAnimationFrame(e)}},[i,t.selectionManager.isFocused])}function AG(e,t){let n=new Set;if(e===`all`||t===`all`)return n;for(let r of e.keys())t.has(r)||n.add(r);return n}function jG(e,t){let n=t?.isDisabled,[r,i]=(0,x.useState)(!1);return qx(()=>{if(e?.current&&!n){let t=()=>{if(e.current){let t=aL(e.current,{tabbable:!0});i(!!t.nextNode())}};t();let n=new MutationObserver(t);return n.observe(e.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:[`tabIndex`,`disabled`]}),()=>{n.disconnect()}}}),!n&&r}function MG(e){return e&&e.__esModule?e.default:e}function NG(e){let t=_T(MG(DG),`@react-aria/grid`),n=QC(),r=(n===`pointer`||n===`virtual`||n==null)&&typeof window<`u`&&`ontouchstart`in window;return BA((0,x.useMemo)(()=>{let n=e.selectionManager.selectionMode,i=e.selectionManager.selectionBehavior,a;return r&&(a=t.format(`longPressToSelect`)),i===`replace`&&n!==`none`&&e.hasItemActions?a:void 0},[e.selectionManager.selectionMode,e.selectionManager.selectionBehavior,e.hasItemActions,t,r]))}function PG(e,t,n){let{isVirtualized:r,keyboardDelegate:i,layoutDelegate:a,onAction:o,disallowTypeAhead:s,linkBehavior:c=`action`,keyboardNavigationBehavior:l=`arrow`,escapeKeyBehavior:u=`clearSelection`,shouldSelectOnPressUp:d}=e;!e[`aria-label`]&&!e[`aria-labelledby`]&&console.warn(`An aria-label or aria-labelledby prop is required for accessibility.`);let{listProps:f}=xL({selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,ref:n,keyboardDelegate:i,layoutDelegate:a,isVirtualized:r,selectOnFocus:t.selectionManager.selectionBehavior===`replace`,shouldFocusWrap:e.shouldFocusWrap,linkBehavior:c,disallowTypeAhead:s,autoFocus:e.autoFocus,escapeKeyBehavior:u,UNSTABLE_focusOnEntry:e.UNSTABLE_focusOnEntry}),p=dS(e.id);GW.set(t,{id:p,onAction:o,linkBehavior:c,keyboardNavigationBehavior:l,shouldSelectOnPressUp:d});let m=NG({selectionManager:t.selectionManager,hasItemActions:!!o}),h=jG(n,{isDisabled:t.collection.size!==0}),g=U(K(e,{labelable:!0}),{role:`grid`,id:p,"aria-multiselectable":t.selectionManager.selectionMode===`multiple`?`true`:void 0},t.collection.size===0?{tabIndex:h?-1:0}:f,m);return r&&(g[`aria-rowcount`]=t.collection.size,g[`aria-colcount`]=1),kG({},t),{gridProps:g}}var FG={expand:{ltr:`ArrowRight`,rtl:`ArrowLeft`},collapse:{ltr:`ArrowLeft`,rtl:`ArrowRight`}};function IG(e,t,n){let{node:r,isVirtualized:i,focusMode:a=`row`,allowsArrowNavigation:o}=e,{direction:s}=rT(),{onAction:c,linkBehavior:l,keyboardNavigationBehavior:u,shouldSelectOnPressUp:d}=GW.get(t),f=pS(),p=(0,x.useRef)(null),m=()=>{if(n.current!==null){if(a===`child`){if(HS(n.current)&&n.current!==BS(kS(n.current)))return;let e=aL(n.current,{tabbable:!0}).firstChild();if(e){GT(e),LA(e,{containingElement:NA(e)});return}}(p.current!=null&&r.key!==p.current||!HS(n.current))&&GT(n.current)}},h={},g=e.hasChildItems,_=t.selectionManager.isLink(r.key);if(r!=null&&`expandedKeys`in t){let e=t.collection.getChildren?.(r.key);g||=[...e??[]].length>1,c==null&&!_&&t.selectionManager.selectionMode===`none`&&g&&(c=()=>t.toggleKey(r.key));let n=g?t.expandedKeys.has(r.key):void 0,i=1,a=r.index;if(r.level>=0&&r?.parentKey!=null){let e=t.collection.getItem(r.parentKey);if(e){let n=zG(e,t.collection);i=[...n].filter(e=>e.type===`item`).length,a>0&&n[0].type!==`item`&&--a}}else i=[...t.collection].filter(e=>e.level===0&&e.type===`item`).length;h={"aria-expanded":n,"aria-level":r.level+1,"aria-posinset":a+1,"aria-setsize":i}}let{itemProps:v,...y}=CL({selectionManager:t.selectionManager,key:r.key,ref:n,isVirtualized:i,shouldSelectOnPressUp:e.shouldSelectOnPressUp||d,onAction:c||r.props?.onAction?Kx(r.props?.onAction,c?()=>c(r.key):void 0):void 0,focus:m,linkBehavior:l}),b=e=>{let i=BS(kS(n.current));if(!zS(e.currentTarget,G(e))||!n.current||!i)return;let a=aL(n.current);if(a.currentNode=i,!LG(e,t,r,g,s,i,n.current,o))switch(e.key){case`ArrowLeft`:if(u===`arrow`){let t=s===`rtl`?a.nextNode():a.previousNode();if(t)e.preventDefault(),e.stopPropagation(),GT(t),LA(t,{containingElement:NA(n.current)});else if(e.preventDefault(),e.stopPropagation(),s===`rtl`)GT(n.current),LA(n.current,{containingElement:NA(n.current)});else{a.currentNode=n.current;let e=RG(a);e&&(GT(e),LA(e,{containingElement:NA(n.current)}))}}break;case`ArrowRight`:if(u===`arrow`){let t=s===`rtl`?a.previousNode():a.nextNode();if(t)e.preventDefault(),e.stopPropagation(),GT(t),LA(t,{containingElement:NA(n.current)});else if(e.preventDefault(),e.stopPropagation(),s===`ltr`)GT(n.current),LA(n.current,{containingElement:NA(n.current)});else{a.currentNode=n.current;let e=RG(a);e&&(GT(e),LA(e,{containingElement:NA(n.current)}))}}break;case`ArrowUp`:case`ArrowDown`:!e.altKey&&zS(n.current,G(e))&&(e.stopPropagation(),e.preventDefault(),n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type,e.nativeEvent)))}},S=e=>{p.current=r.key,G(e)===n.current?a===`child`&&e.relatedTarget&&zS(n.current,e.relatedTarget)||requestAnimationFrame(()=>{a===`child`&&BS(kS(n.current))===n.current&&m()}):YC()||t.selectionManager.setFocusedKey(r.key)},C=e=>{let i=BS(kS(n.current));if(zS(e.currentTarget,G(e))&&n.current&&i){if(u===`tab`){if(G(e)!==n.current&&e.key!==`Tab`){e.stopPropagation();return}if(LG(e,t,r,g,s,i,n.current,o))return}if(e.key===`Tab`&&u===`tab`){let t=aL(n.current,{tabbable:!0});t.currentNode=i,(e.shiftKey?t.previousNode():t.nextNode())&&e.stopPropagation()}}},w=kC(r.props),T=U(v,y.hasAction?w:{},{role:`row`,onKeyDownCapture:u===`arrow`||o?b:void 0,onFocus:S,"aria-label":r[`aria-label`]||r.textValue||void 0,"aria-selected":t.selectionManager.canSelectItem(r.key)?t.selectionManager.isSelected(r.key):void 0,"aria-disabled":t.selectionManager.isDisabled(r.key)||void 0,"aria-labelledby":f&&(r[`aria-label`]||r.textValue)?`${KW(t,r.key)} ${f}`:void 0,id:KW(t,r.key)});a===`child`&&o&&u===`tab`&&(T.tabIndex=-1);let E=T.onKeyDown;if(T.onKeyDown=e=>{C(e),e.isPropagationStopped()||E?.(e)},i){let{collection:e}=t;T[`aria-rowindex`]=[...e].find(e=>e.type===`section`)?[...e.getKeys()].filter(t=>e.getItem(t)?.type!==`section`).findIndex(e=>e===r.key)+1:r.index+1}let D={role:`gridcell`,"aria-colindex":1};return{rowProps:{...U(T,h)},gridCellProps:D,descriptionProps:{id:f},...y}}function LG(e,t,n,r,i,a,o,s){if(!(`expandedKeys`in t)||!s&&a!==o)return!1;if(e.key===FG.expand[i]&&t.selectionManager.focusedKey===n.key&&r&&!t.expandedKeys.has(n.key))return t.toggleKey(n.key),e.stopPropagation(),!0;if(e.key===FG.collapse[i]&&t.selectionManager.focusedKey===n.key){if(r&&t.expandedKeys.has(n.key))return t.toggleKey(n.key),e.stopPropagation(),!0;if(!t.expandedKeys.has(n.key)&&n.parentKey&&t.collection.getItem(n.parentKey)?.type===`item`)return t.selectionManager.setFocusedKey(n.parentKey),e.stopPropagation(),!0}return!1}function RG(e){let t=null,n=null;do n=e.lastChild(),n&&(t=n);while(n);return t}function zG(e,t){let n=t.getChildren?.(e.key),r=n?Array.from(n):[],i=r.length>0?r[0]:null,a=[];for(;i;)a.push(i),i=i.nextKey==null?null:t.getItem(i.nextKey);return a}function BG(e){return e&&e.__esModule?e.default:e}function VG(e,t){let{key:n}=e,r=t.selectionManager,i=dS(),a=!t.selectionManager.canSelectItem(n),o=t.selectionManager.isSelected(n);return{checkboxProps:{id:i,"aria-label":_T(BG(DG),`@react-aria/grid`).format(`select`),isSelected:o,isDisabled:a,onChange:()=>r.toggleSelection(n)}}}function HG(e,t){let{key:n}=e,{checkboxProps:r}=VG(e,t);return{checkboxProps:{...r,"aria-labelledby":`${r.id} ${KW(t,n)}`}}}var UG=(0,x.createContext)(null),WG=(0,x.forwardRef)(function(e,t){return[e,t]=SS(e,t,UG),x.createElement(SE,{content:x.createElement(PE,e)},n=>x.createElement(GG,{props:e,collection:n,gridListRef:t}))});function GG({props:e,collection:t,gridListRef:n}){[e,n]=SS(e,n,CT);let{shouldUseVirtualFocus:r,filter:i,disallowTypeAhead:a,UNSTABLE_focusOnEntry:o,...s}=e,{dragAndDropHooks:c,keyboardNavigationBehavior:l=`arrow`,layout:u=`stack`,orientation:d=`vertical`}=e,{CollectionRoot:f,isVirtualized:p,layoutDelegate:m,dropTargetDelegate:h}=(0,x.useContext)(RE),g=KL(GL({...s,collection:t,children:void 0,layoutDelegate:m}),i),_=bL({usage:`search`,sensitivity:`base`}),{disabledBehavior:v,disabledKeys:y}=g.selectionManager,{direction:b}=rT(),S=(0,x.useMemo)(()=>new vL({collection:g.collection,collator:_,ref:n,disabledKeys:y,disabledBehavior:v,layoutDelegate:m,layout:u,orientation:d,direction:b}),[g.collection,n,u,d,y,v,m,_,b]),{gridProps:C}=PG({...s,keyboardDelegate:S,keyboardNavigationBehavior:u===`grid`?`tab`:l,isVirtualized:p,shouldSelectOnPressUp:e.shouldSelectOnPressUp,disallowTypeAhead:a,UNSTABLE_focusOnEntry:o},g,n),w=g.selectionManager,T=!!c?.useDraggableCollectionState,E=!!c?.useDroppableCollectionState;(0,x.useRef)(T),(0,x.useRef)(E),(0,x.useEffect)(()=>{},[T,E]);let D,O,k,A=!1,j=null,M=(0,x.useRef)(null);if(T&&c){D=c.useDraggableCollectionState({collection:g.collection,selectionManager:w,preview:c.renderDragPreview?M:void 0}),c.useDraggableCollection({},D,n);let e=c.DragPreview;j=c.renderDragPreview?x.createElement(e,{ref:M},c.renderDragPreview):null}if(E&&c){O=c.useDroppableCollectionState({collection:g.collection,selectionManager:w});let e=c.dropTargetDelegate||h||new c.ListDropTargetDelegate(t,n,{layout:u,direction:b,orientation:d});k=c.useDroppableCollection({keyboardDelegate:S,dropTargetDelegate:e},O,n),A=O.isDropTarget({type:`root`})}let{focusProps:ee,isFocused:N,isFocusVisible:P}=dD(),te=g.collection.size===0,F={isDropTarget:A,orientation:d,isEmpty:te,isFocused:N,isFocusVisible:P,layout:u,state:g},ne=yS({...e,children:void 0,defaultClassName:`react-aria-GridList`,values:F}),re=null;if(te&&e.renderEmptyState){let t=e.renderEmptyState(F);re=x.createElement(`div`,{role:`row`,"aria-rowindex":1,style:{display:`contents`}},x.createElement(`div`,{role:`gridcell`,style:{display:`contents`}},t))}let ie=K(e,{global:!0});return x.createElement(qI,null,x.createElement(W.div,{...U(ie,ne,C,ee,k?.collectionProps,null),ref:n,slot:e.slot||void 0,onScroll:e.onScroll,"data-drop-target":A||void 0,"data-empty":te||void 0,"data-focused":N||void 0,"data-focus-visible":P||void 0,"data-layout":u,"data-orientation":d},x.createElement(vS,{values:[[XL,g],[kI,{dragAndDropHooks:c,dragState:D,dropState:O}],[AI,{render:qG}]]},E&&x.createElement(XG,null),x.createElement(LI,null,x.createElement(f,{collection:g.collection,scrollRef:n,persistedKeys:NI(w,c,O),renderDropIndicator:MI(c,O)}))),re,j))}var KG=AE(OT,function(e,t,n){let r=(0,x.useContext)(XL),{dragAndDropHooks:i,dragState:a,dropState:o}=(0,x.useContext)(kI),s=gS(t),{isVirtualized:c}=(0,x.useContext)(RE),l=a&&!(a.isDisabled||a.selectionManager.isDisabled(n.key)),{rowProps:u,gridCellProps:d,descriptionProps:f,...p}=IG({node:n,shouldSelectOnPressUp:!!a,isVirtualized:c,focusMode:e.focusMode,allowsArrowNavigation:e.allowsArrowNavigation},r,s),{hoverProps:m,isHovered:h}=_D({isDisabled:!p.allowsSelection&&!p.hasAction&&!l,onHoverStart:n.props.onHoverStart,onHoverChange:n.props.onHoverChange,onHoverEnd:n.props.onHoverEnd}),{isFocusVisible:g,focusProps:_}=dD(),{isFocusVisible:v,focusProps:y}=dD({within:!0}),{checkboxProps:b}=HG({key:n.key},r),S=r.selectionManager.disabledBehavior===`all`&&p.isDisabled?{isDisabled:!0}:{},C=null;a&&i&&(C=i.useDraggableItem({key:n.key,hasDragButton:!0},a));let w=null,T=(0,x.useRef)(null),{visuallyHiddenProps:E}=HA();o&&i&&(w=i.useDropIndicator({target:{type:`item`,key:n.key,dropPosition:`on`}},o,T));let D=a&&a.isDragging(n.key),O=yS({...e,id:void 0,children:n.rendered,defaultClassName:`react-aria-GridListItem`,values:{...p,isHovered:h,isFocusVisible:g,isFocusVisibleWithin:v,selectionMode:r.selectionManager.selectionMode,selectionBehavior:r.selectionManager.selectionBehavior,allowsDragging:!!a,isDragging:D,isDropTarget:w?.isDropTarget,id:n.key,state:r}}),k=(0,x.useRef)(null);(0,x.useEffect)(()=>{a&&!k.current&&console.warn(`Draggable items in a GridList must contain a <Button slot="drag"> element so that keyboard and screen reader users can drag them.`)},[]),(0,x.useEffect)(()=>{n.textValue},[n.textValue]);let A=K(e,{global:!0});return delete A.id,delete A.onClick,x.createElement(x.Fragment,null,w&&!w.isHidden&&x.createElement(`div`,{role:`row`,style:{position:`absolute`}},x.createElement(`div`,{role:`gridcell`},x.createElement(`div`,{role:`button`,...E,...w?.dropIndicatorProps,ref:T}))),x.createElement(W.div,{...U(A,O,u,_,y,m,C?.dragProps),ref:s,"data-selected":p.isSelected||void 0,"data-disabled":p.isDisabled||void 0,"data-hovered":h||void 0,"data-focused":p.isFocused||void 0,"data-focus-visible":g||void 0,"data-focus-visible-within":v||void 0,"data-pressed":p.isPressed||void 0,"data-allows-dragging":!!a||void 0,"data-dragging":D||void 0,"data-drop-target":w?.isDropTarget||void 0,"data-selection-mode":r.selectionManager.selectionMode===`none`?void 0:r.selectionManager.selectionMode},x.createElement(`div`,{...d,style:{display:`contents`}},x.createElement(vS,{values:[[yj,{slots:{[_S]:{},selection:b}}],[bj,{slots:{[_S]:{},selection:b}}],[$D,{slots:{[_S]:S,drag:{...C?.dragButtonProps,ref:k,style:{pointerEvents:`none`}}}}],[aO,{slots:{[_S]:{},description:f}}],[RE,IE],[XL,null],[CT,null],[wT,null],[RI,{isSelected:p.isSelected}]]},O.children))))});function qG(e,t){t=gS(t);let{dragAndDropHooks:n,dropState:r}=(0,x.useContext)(kI),i=(0,x.useRef)(null),{dropIndicatorProps:a,isHidden:o,isDropTarget:s}=n.useDropIndicator(e,r,i);return o?null:x.createElement(YG,{...e,dropIndicatorProps:a,isDropTarget:s,buttonRef:i,ref:t})}function JG(e,t){let{dropIndicatorProps:n,isDropTarget:r,buttonRef:i,...a}=e,{visuallyHiddenProps:o}=HA(),s=yS({...a,defaultClassName:`react-aria-DropIndicator`,values:{isDropTarget:r}});return x.createElement(W.div,{...s,role:`row`,ref:t,"data-drop-target":r||void 0},x.createElement(`div`,{role:`gridcell`},x.createElement(`div`,{...o,role:`button`,...n,ref:i}),s.children))}var YG=(0,x.forwardRef)(JG);function XG(){let{dragAndDropHooks:e,dropState:t}=(0,x.useContext)(kI),n=(0,x.useRef)(null),{dropIndicatorProps:r}=e.useDropIndicator({target:{type:`root`}},t,n),i=t.isDropTarget({type:`root`}),{visuallyHiddenProps:a}=HA();return!i&&r[`aria-hidden`]?null:x.createElement(`div`,{role:`row`,"aria-hidden":r[`aria-hidden`],style:{position:`absolute`}},x.createElement(`div`,{role:`gridcell`},x.createElement(`div`,{role:`button`,...a,...r,ref:n})))}AE(DT,function(e,t,n){let r=(0,x.useContext)(XL),{isVirtualized:i}=(0,x.useContext)(RE),{isLoading:a,onLoadMore:o,scrollOffset:s,...c}=e,l=(0,x.useRef)(null);JL((0,x.useMemo)(()=>({onLoadMore:o,collection:r?.collection,sentinelRef:l,scrollOffset:s}),[o,s,l,r?.collection]),l);let u=yS({...c,id:void 0,children:n.rendered,defaultClassName:`react-aria-GridListLoadingIndicator`,values:void 0});return x.createElement(x.Fragment,null,x.createElement(`div`,{style:{position:`relative`,width:0,height:0},inert:PL(!0)},x.createElement(`div`,{"data-testid":`loadMoreSentinel`,ref:l,style:{position:`absolute`,height:1,width:1}})),a&&u.children&&x.createElement(W.div,{...u,...K(e,{global:!0}),role:`row`,ref:t},x.createElement(`div`,{"aria-colindex":i?1:void 0,role:`gridcell`},u.children)))});var ZG=1500,QG=500,$G={},eK=0,tK=!1,nK=null,rK=null;function iK(e={}){let{delay:t=ZG,closeDelay:n=QG}=e,{isOpen:r,open:i,close:a}=uB(e),[o,s]=(0,x.useState)(!1),c=(0,x.useMemo)(()=>`${++eK}`,[]),l=(0,x.useRef)(null),u=(0,x.useRef)(a),d=()=>{$G[c]=m},f=()=>{for(let e in $G)e!==c&&($G[e](!0,!0),delete $G[e])},p=e=>{l.current&&clearTimeout(l.current),l.current=null,f(),d(),s(!!e),tK=!0,i(),nK&&=(clearTimeout(nK),null),rK&&=(clearTimeout(rK),null)},m=(e,t)=>{s(!!t),e||n<=0?(l.current&&clearTimeout(l.current),l.current=null,u.current()):l.current||=setTimeout(()=>{l.current=null,u.current()},n),nK&&=(clearTimeout(nK),null),tK&&(rK&&clearTimeout(rK),rK=setTimeout(()=>{delete $G[c],rK=null,tK=!1},Math.max(QG,n)))},h=()=>{f(),d(),!r&&!tK?(nK&&clearTimeout(nK),nK=setTimeout(()=>{nK=null,tK=!0,p(!1)},t)):r||p(!0)};return(0,x.useEffect)(()=>{u.current=a},[a]),(0,x.useEffect)(()=>()=>{l.current&&clearTimeout(l.current),$G[c]&&delete $G[c]},[c]),{isOpen:r,shouldSkipAnimation:o,open:e=>{!e&&t>0&&!l.current?h():p(tK)},close:m}}function aK(e){let{progressBarProps:t,labelProps:n}=GD(e);return{meterProps:{...t,role:`meter`},labelProps:n}}var oK=(0,x.createContext)(null),sK=(0,x.forwardRef)(function(e,t){[e,t]=SS(e,t,oK);let{value:n=0,minValue:r=0,maxValue:i=100}=e;n=VD(n,r,i);let a=i-r,[o,s]=CS(!e[`aria-label`]&&!e[`aria-labelledby`]),{meterProps:c,labelProps:l}=aK({...e,label:s}),u=a===0?0:(n-r)/a*100,d=yS({...e,defaultClassName:`react-aria-Meter`,values:{percentage:u,valueText:c[`aria-valuetext`]}}),f=K(e,{global:!0});return x.createElement(W.div,{...U(f,d,c),ref:t,slot:e.slot||void 0},x.createElement(bD.Provider,{value:{...l,ref:o,elementType:`span`}},d.children))});function cK(e,t,n){let{overlayProps:r,underlayProps:i}=QR({...e,isOpen:t.isOpen,onClose:t.close},n);fz({isDisabled:!t.isOpen,UNSTABLE_overrideFocus:e.UNSTABLE_overrideFocus}),lB();let{isEntering:a}=e;return(0,x.useEffect)(()=>{if(t.isOpen&&n.current)return a?vR(n.current):_R([n.current],{shouldUseInert:!0})},[t.isOpen,a,n]),{modalProps:U(r),underlayProps:i}}var lK=typeof document<`u`&&window.visualViewport;function uK(){let e=aS(),t=(0,x.useRef)(null),[n,r]=(0,x.useState)(()=>e?{width:0,height:0}:dK());return(0,x.useEffect)(()=>{let e=e=>{r(t=>e.width===t.width&&e.height===t.height?t:e)},n=()=>{lK&&lK.scale>1||e(dK())},i=n=>{lK&&lK.scale>1||Hw(G(n))&&(t.current=sz(t=>{t||e({width:document.documentElement.clientWidth,height:document.documentElement.clientHeight})}))};return e(dK()),hC()&&_C()&&window.addEventListener(`blur`,i,!0),lK?lK.addEventListener(`resize`,n):window.addEventListener(`resize`,n),()=>{t.current?.(),hC()&&_C()&&window.removeEventListener(`blur`,i,!0),lK?lK.removeEventListener(`resize`,n):window.removeEventListener(`resize`,n)}},[]),n}function dK(){return{width:lK?Math.min(lK.width*lK.scale,document.documentElement.clientWidth):document.documentElement.clientWidth,height:lK?lK.height*lK.scale:document.documentElement.clientHeight}}var fK=(0,x.createContext)(null),pK=(0,x.createContext)(null),mK=(0,x.forwardRef)(function(e,t){if((0,x.useContext)(pK))return x.createElement(yK,{...e,modalRef:t},e.children);let{isDismissable:n,isKeyboardDismissDisabled:r,isOpen:i,defaultOpen:a,onOpenChange:o,children:s,isEntering:c,isExiting:l,UNSTABLE_portalContainer:u,shouldCloseOnInteractOutside:d,...f}=e;return x.createElement(gK,{isDismissable:n,isKeyboardDismissDisabled:r,isOpen:i,defaultOpen:a,onOpenChange:o,isEntering:c,isExiting:l,UNSTABLE_portalContainer:u,shouldCloseOnInteractOutside:d},x.createElement(yK,{...f,modalRef:t},s))});function hK(e,t){[e,t]=SS(e,t,fK);let n=(0,x.useContext)(DV),r=uB(e),i=e.isOpen!=null||e.defaultOpen!=null||!n?r:n,a=gS(t),o=(0,x.useRef)(null),s=fB(a,i.isOpen,e.onExit),c=(0,x.useRef)(null),l=fB(o,i.isOpen,e=>c.current?.(e)),u=s||l||e.isExiting||!1,d=aS();return!i.isOpen&&!u||d?null:x.createElement(_K,{...e,state:i,isExiting:u,overlayRef:a,modalRef:o,onExitRef:c})}var gK=(0,x.forwardRef)(hK);function _K({UNSTABLE_portalContainer:e,UNSTABLE_deferUntilEntered:t,...n}){let r=n.modalRef,{state:i}=n,[a,o]=(0,x.useState)(!1),s=dB(n.overlayRef,a,n.onEnter)||n.isEntering||!1,c=!!t&&(!a||s),{modalProps:l,underlayProps:u}=cK({...n,isEntering:c},i,r),d=(0,x.useContext)(EV),f=t?vK(d,{isEntering:c}):d,p=yS({...n,defaultClassName:`react-aria-ModalOverlay`,values:{isEntering:s,isExiting:n.isExiting,state:i}}),m=uK(),h,g;if(typeof document<`u`){let e=MA(document.body)?document.body:document.scrollingElement||document.documentElement,t=e.getBoundingClientRect().width%1,n=e.getBoundingClientRect().height%1;h=e.scrollWidth-t,g=e.scrollHeight-n}let _={...p.style,"--visual-viewport-width":m.width+`px`,"--visual-viewport-height":m.height+`px`,"--page-width":h===void 0?void 0:h+`px`,"--page-height":g===void 0?void 0:g+`px`};return qx(()=>sz(()=>o(!0)),[]),x.createElement(cB,{isExiting:n.isExiting,portalContainer:e},x.createElement(W.div,{...U(K(n,{global:!0}),u),...p,style:_,ref:n.overlayRef,"data-entering":s||void 0,"data-exiting":n.isExiting||void 0},x.createElement(vS,{values:[[pK,{modalProps:l,modalRef:r,isExiting:n.isExiting,onExitRef:n.onExitRef,isOpen:a,isDismissable:n.isDismissable}],[DV,i],[EV,f]]},p.children)))}function vK(e,t){if(e&&`slots`in e&&e.slots){let n={};for(let r in e.slots)n[r]={...e.slots[r],...t};return{...e,slots:n}}return{...e,...t}}function yK(e){let{modalProps:t,modalRef:n,isExiting:r,onExitRef:i,isDismissable:a,isOpen:o}=(0,x.useContext)(pK),s=(0,x.useContext)(DV),c=gS((0,x.useMemo)(()=>mS(e.modalRef,n),[e.modalRef,n])),l=dB(c,o,e.onEnter),u=yS({...e,defaultClassName:`react-aria-Modal`,values:{isEntering:l,isExiting:r,state:s}});return qx(()=>{i&&(i.current=e.onExit)}),x.createElement(W.div,{...U(K(e,{global:!0}),t),...u,ref:c,"data-entering":l||void 0,"data-exiting":r||void 0},a&&x.createElement(tB,{onDismiss:s.close}),u.children)}var bK=(0,x.createContext)(null),xK=(0,x.createContext)(null),SK=(0,x.forwardRef)(function(e,t){[e,t]=SS(e,t,bK);let{validationBehavior:n}=xS(ij)||{},r=e.validationBehavior??n??`native`,{locale:i}=rT(),a=pF({...e,locale:i,validationBehavior:r}),o=(0,x.useRef)(null),[s,c]=CS(!e[`aria-label`]&&!e[`aria-labelledby`]),{labelProps:l,groupProps:u,inputProps:d,incrementButtonProps:f,decrementButtonProps:p,descriptionProps:m,errorMessageProps:h,...g}=nF({...wS(e),label:c,validationBehavior:r},a,o),_=yS({...e,values:{state:a,isDisabled:e.isDisabled||!1,isInvalid:g.isInvalid||!1,isRequired:e.isRequired||!1,isReadOnly:e.isReadOnly||!1},defaultClassName:`react-aria-NumberField`}),v=K(e,{global:!0});return delete v.id,x.createElement(vS,{values:[[xK,a],[EN,u],[ON,{...d,ref:o}],[bD,{...l,ref:s}],[$D,{slots:{increment:f,decrement:p}}],[aO,{slots:{description:m,errorMessage:h}}],[WA,g]]},x.createElement(W.div,{...v,..._,ref:t,slot:e.slot||void 0,"data-disabled":e.isDisabled||void 0,"data-readonly":e.isReadOnly||void 0,"data-required":e.isRequired||void 0,"data-invalid":g.isInvalid||void 0}),e.name&&x.createElement(`input`,{type:`hidden`,name:e.name,form:e.form,value:isNaN(a.numberValue)?``:a.numberValue,disabled:e.isDisabled||void 0}))}),CK={};CK={"Clear search":`مسح البحث`};var wK={};wK={"Clear search":`Изчистване на търсене`};var TK={};TK={"Clear search":`Vymazat hledání`};var EK={};EK={"Clear search":`Ryd søgning`};var DK={};DK={"Clear search":`Suche zurücksetzen`};var OK={};OK={"Clear search":`Απαλοιφή αναζήτησης`};var kK={};kK={"Clear search":`Clear search`};var AK={};AK={"Clear search":`Borrar búsqueda`};var jK={};jK={"Clear search":`Tühjenda otsing`};var MK={};MK={"Clear search":`Tyhjennä haku`};var NK={};NK={"Clear search":`Effacer la recherche`};var PK={};PK={"Clear search":`נקה חיפוש`};var FK={};FK={"Clear search":`Obriši pretragu`};var IK={};IK={"Clear search":`Keresés törlése`};var LK={};LK={"Clear search":`Cancella ricerca`};var RK={};RK={"Clear search":`検索をクリア`};var zK={};zK={"Clear search":`검색 지우기`};var BK={};BK={"Clear search":`Išvalyti iešką`};var VK={};VK={"Clear search":`Notīrīt meklēšanu`};var HK={};HK={"Clear search":`Tøm søk`};var UK={};UK={"Clear search":`Zoekactie wissen`};var WK={};WK={"Clear search":`Wyczyść zawartość wyszukiwania`};var GK={};GK={"Clear search":`Limpar pesquisa`};var KK={};KK={"Clear search":`Limpar pesquisa`};var qK={};qK={"Clear search":`Ştergeţi căutarea`};var JK={};JK={"Clear search":`Очистить поиск`};var YK={};YK={"Clear search":`Vymazať vyhľadávanie`};var XK={};XK={"Clear search":`Počisti iskanje`};var ZK={};ZK={"Clear search":`Obriši pretragu`};var QK={};QK={"Clear search":`Rensa sökning`};var $K={};$K={"Clear search":`Aramayı temizle`};var eq={};eq={"Clear search":`Очистити пошук`};var tq={};tq={"Clear search":`清除搜索`};var nq={};nq={"Clear search":`清除搜尋條件`};var rq={};rq={"ar-AE":CK,"bg-BG":wK,"cs-CZ":TK,"da-DK":EK,"de-DE":DK,"el-GR":OK,"en-US":kK,"es-ES":AK,"et-EE":jK,"fi-FI":MK,"fr-FR":NK,"he-IL":PK,"hr-HR":FK,"hu-HU":IK,"it-IT":LK,"ja-JP":RK,"ko-KR":zK,"lt-LT":BK,"lv-LV":VK,"nb-NO":HK,"nl-NL":UK,"pl-PL":WK,"pt-BR":GK,"pt-PT":KK,"ro-RO":qK,"ru-RU":JK,"sk-SK":YK,"sl-SI":XK,"sr-SP":ZK,"sv-SE":QK,"tr-TR":$K,"uk-UA":eq,"zh-CN":tq,"zh-TW":nq};function iq(e){return e&&e.__esModule?e.default:e}function aq(e,t,n){let r=_T(iq(rq),`@react-aria/searchfield`),{isDisabled:i,isReadOnly:a,onSubmit:o,onClear:s,type:c=`search`}=e,{keyboardProps:l}=oE({isDisabled:i||a,shortcuts:{Enter:()=>{if(o)o(t.value);else return!1},Escape:()=>{if(t.value===``&&(!n.current||n.current.value===``))return!1;t.setValue(``),s?.()}}}),u=()=>{t.setValue(``),s&&s()},d=()=>{n.current?.focus()},{labelProps:f,inputProps:p,descriptionProps:m,errorMessageProps:h,...g}=jN({...e,value:t.value,onChange:t.setValue,onKeyDown:e.onKeyDown,onKeyUp:e.onKeyUp,type:c},n);return{labelProps:f,inputProps:U(l,{...p,defaultValue:void 0}),clearButtonProps:{"aria-label":r.format(`Clear search`),excludeFromTabOrder:!0,preventFocusOnPress:!0,isDisabled:i||a,onPress:u,onPressStart:d},descriptionProps:m,errorMessageProps:h,...g}}function oq(e){let[t,n]=xT(sq(e.value),sq(e.defaultValue)||``,e.onChange);return{value:t,setValue:n}}function sq(e){if(e!=null)return e.toString()}var cq=(0,x.createContext)(null),lq=mE(function(e,t){[e,t]=SS(e,t,cq);let{validationBehavior:n}=xS(ij)||{},r=e.validationBehavior??n??`native`,i=(0,x.useRef)(null);[e,i]=SS(e,i,wT);let[a,o]=CS(!e[`aria-label`]&&!e[`aria-labelledby`]),s=oq({...e,validationBehavior:r}),{labelProps:c,inputProps:l,clearButtonProps:u,descriptionProps:d,errorMessageProps:f,...p}=aq({...wS(e),label:o,validationBehavior:r},s,i),m=yS({...e,values:{isEmpty:s.value===``,isDisabled:e.isDisabled||!1,isInvalid:p.isInvalid||!1,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1,state:s},defaultClassName:`react-aria-SearchField`}),h=K(e,{global:!0});return delete h.id,x.createElement(W.div,{...h,...m,ref:t,slot:e.slot||void 0,"data-empty":s.value===``||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":p.isInvalid||void 0,"data-readonly":e.isReadOnly||void 0,"data-required":e.isRequired||void 0},x.createElement(vS,{values:[[bD,{...c,ref:a}],[ON,{...l,ref:i}],[$D,u],[aO,{slots:{description:d,errorMessage:f}}],[EN,{isInvalid:p.isInvalid,isDisabled:e.isDisabled||!1}],[WA,p]]},m.children))}),uq=new WeakMap;function dq(e,t,n){let{keyboardDelegate:r,isDisabled:i,isRequired:a,name:o,form:s,validationBehavior:c=`aria`}=e,l=bL({usage:`search`,sensitivity:`base`}),u=(0,x.useMemo)(()=>r||new vL(t.collection,t.disabledKeys,n,l),[r,t.collection,t.disabledKeys,l,n]),{menuTriggerProps:d,menuProps:f}=rV({isDisabled:i,type:`listbox`},t,n),{keyboardProps:p}=oE({shortcuts:{ArrowLeft:()=>{if(t.selectionManager.selectionMode===`multiple`)return!1;let e=t.selectedKey==null?u.getFirstKey?.():u.getKeyAbove?.(t.selectedKey);e!=null&&t.setSelectedKey(e)},ArrowRight:()=>{if(t.selectionManager.selectionMode===`multiple`)return!1;let e=t.selectedKey==null?u.getFirstKey?.():u.getKeyBelow?.(t.selectedKey);e!=null&&t.setSelectedKey(e)}},allowRepeats:!0,onKeyDown:e.onKeyDown,onKeyUp:e.onKeyUp}),{typeSelectProps:m}=mL({keyboardDelegate:u,selectionManager:t.selectionManager,onTypeSelect(e){t.setSelectedKey(e)}}),{isInvalid:h,validationErrors:g,validationDetails:_}=t.displayValidation,{labelProps:v,fieldProps:y,descriptionProps:b,errorMessageProps:S}=sj({...e,labelElementType:`span`,isInvalid:h,errorMessage:e.errorMessage||g});t.selectionManager.selectionMode===`multiple`&&(m={});let C=K(e,{labelable:!0}),w=U(m,d,y),T=dS();return uq.set(t,{isDisabled:i,isRequired:a,name:o,form:s,validationBehavior:c}),{labelProps:{...v,onClick:()=>{e.isDisabled||(n.current?.focus(),ZC(`keyboard`))}},triggerProps:U(C,{...w,isDisabled:i,onKeyDown:Kx(w.onKeyDown,p.onKeyDown),onKeyUp:p.onKeyUp,"aria-labelledby":[T,w[`aria-labelledby`],w[`aria-label`]&&!w[`aria-labelledby`]?w.id:null].filter(Boolean).join(` `),onFocus(n){t.isFocused||(e.onFocus&&e.onFocus(n),e.onFocusChange&&e.onFocusChange(!0),t.setFocused(!0))},onBlur(n){t.isOpen||(e.onBlur&&e.onBlur(n),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))}}),valueProps:{id:T},menuProps:{...f,onAction:void 0,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,disallowEmptySelection:!0,linkBehavior:`selection`,onBlur:n=>{zS(n.currentTarget,n.relatedTarget)||(e.onBlur&&e.onBlur(n),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))},"aria-labelledby":[y[`aria-labelledby`],w[`aria-label`]&&!y[`aria-labelledby`]?w.id:null].filter(Boolean).join(` `)},descriptionProps:b,errorMessageProps:S,isInvalid:h,validationErrors:g,validationDetails:_,hiddenSelectProps:{isDisabled:i,name:o,label:e.label,state:t,triggerRef:n,form:s}}}function fq(e,t,n){let r=uq.get(t)||{},{autoComplete:i,name:a=r.name,form:o=r.form,isDisabled:s=r.isDisabled}=e,{validationBehavior:c,isRequired:l}=r,{visuallyHiddenProps:u}=HA({style:{position:`fixed`,top:0,left:0}});cj(e.selectRef,t.defaultValue,t.setValue),lj({validationBehavior:c,focus:()=>n.current?.focus()},t,e.selectRef);let d=t.setValue,f=(0,x.useCallback)(e=>{let t=G(e);t.multiple?d(Array.from(t.selectedOptions,e=>e.value)):d(e.currentTarget.value)},[d]);return{containerProps:{...u,"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:s,multiple:t.selectionManager.selectionMode===`multiple`,required:c===`native`&&l,name:a,form:o,value:t.value??``,onChange:f,onInput:f}}}function pq(e){let{state:t,triggerRef:n,label:r,name:i,form:a,isDisabled:o}=e,s=(0,x.useRef)(null),c=(0,x.useRef)(null),{containerProps:l,selectProps:u}=fq({...e,selectRef:t.collection.size<=300?s:c},t,n),d=Array.isArray(t.value)?t.value:[t.value];if(t.collection.size<=300)return x.createElement(`div`,{...l,"data-testid":`hidden-select-container`},x.createElement(`label`,null,r,x.createElement(`select`,{...u,ref:s},x.createElement(`option`,{value:``,label:`\xA0`},`\xA0`),[...t.collection.getKeys()].map(e=>{let n=t.collection.getItem(e);if(n&&n.type===`item`)return x.createElement(`option`,{key:n.key,value:n.key},n.textValue)}),t.collection.size===0&&i&&d.map((e,t)=>x.createElement(`option`,{key:t,value:e??``})))));if(i){let{validationBehavior:e}=uq.get(t)||{};d.length===0&&(d=[null]);let n=d.map((t,n)=>{let r={type:`hidden`,autoComplete:u.autoComplete,name:i,form:a,disabled:o,value:t??``};return e===`native`?x.createElement(`input`,{key:n,...r,ref:n===0?c:null,style:{display:`none`},type:`text`,required:n===0&&u.required,onChange:()=>{}}):x.createElement(`input`,{key:n,...r,ref:n===0?c:null})});return x.createElement(x.Fragment,null,n)}return null}function mq(e){let{selectionMode:t=`single`,shouldCloseOnSelect:n=t===`single`}=e,r=uB(e),[i,a]=(0,x.useState)(null),o=(0,x.useMemo)(()=>e.defaultValue===void 0?t===`single`?e.defaultSelectedKey??null:[]:e.defaultValue,[e.defaultValue,e.defaultSelectedKey,t]),[s,c]=xT((0,x.useMemo)(()=>e.value===void 0?t===`single`?e.selectedKey:void 0:e.value,[e.value,e.selectedKey,t]),o,e.onChange),l=t===`single`&&Array.isArray(s)?s[0]:s,u=n=>{if(t===`single`){let t=Array.isArray(n)?n[0]??null:n;c(t),t!==l&&e.onSelectionChange?.(t)}else{let e=[];Array.isArray(n)?e=n:n!=null&&(e=[n]),c(e)}},d=GL({...e,selectionMode:t,disallowEmptySelection:t===`single`,allowDuplicateSelectionEvents:!0,selectedKeys:(0,x.useMemo)(()=>hq(l),[l]),onSelectionChange:e=>{if(e!==`all`){if(t===`single`){let t=e.values().next().value??null;u(t)}else u([...e]);n&&r.close(),m.commitValidation()}}}),f=d.selectionManager.firstSelectedKey,p=(0,x.useMemo)(()=>[...d.selectionManager.selectedKeys].map(e=>d.collection.getItem(e)).filter(e=>e!=null),[d.selectionManager.selectedKeys,d.collection]),m=QA({...e,value:Array.isArray(l)&&l.length===0?null:l}),[h,g]=(0,x.useState)(!1),[_]=(0,x.useState)(l);return{...m,...d,...r,value:l,defaultValue:o??_,setValue:u,selectedKey:f,setSelectedKey:u,selectedItem:p[0]??null,selectedItems:p,defaultSelectedKey:e.defaultSelectedKey??(e.selectionMode===`single`?_:null),focusStrategy:i,open(t=null){(d.collection.size!==0||e.allowsEmptyCollection)&&(a(t),r.open())},toggle(t=null){(d.collection.size!==0||e.allowsEmptyCollection)&&(a(t),r.toggle())},isFocused:h,setFocused:g}}function hq(e){if(e!==void 0)return e===null?[]:Array.isArray(e)?e:[e]}function gq(e){return e&&e.__esModule?e.default:e}var _q=(0,x.createContext)(null),vq=(0,x.createContext)(null),yq=mE(function(e,t){[e,t]=SS(e,t,_q);let{children:n,isDisabled:r=!1,isInvalid:i=!1,isRequired:a=!1}=e,o=(0,x.useMemo)(()=>typeof n==`function`?n({isOpen:!1,isDisabled:r,isInvalid:i,isRequired:a,isFocused:!1,isFocusVisible:!1,defaultChildren:null}):n,[n,r,i,a]);return x.createElement(SE,{content:o},n=>x.createElement(xq,{props:e,collection:n,selectRef:t}))}),bq=[bD,$D,aO];function xq({props:e,selectRef:t,collection:n}){let{validationBehavior:r}=xS(ij)||{},i=e.validationBehavior??r??`native`,a=mq({...e,collection:n,children:void 0,validationBehavior:i}),{isFocusVisible:o,focusProps:s}=dD({within:!0}),c=(0,x.useRef)(null),[l,u]=CS(!e[`aria-label`]&&!e[`aria-labelledby`]),{labelProps:d,triggerProps:f,valueProps:p,menuProps:m,descriptionProps:h,errorMessageProps:g,hiddenSelectProps:_,...v}=dq({...wS(e),label:u,validationBehavior:i},a,c),y=(0,x.useMemo)(()=>({isOpen:a.isOpen,isFocused:a.isFocused,isFocusVisible:o,isDisabled:e.isDisabled||!1,isInvalid:v.isInvalid||!1,isRequired:e.isRequired||!1}),[a.isOpen,a.isFocused,o,e.isDisabled,v.isInvalid,e.isRequired]),b=yS({...e,values:y,defaultClassName:`react-aria-Select`}),S=K(e,{global:!0});delete S.id;let C=(0,x.useRef)(null);return x.createElement(vS,{values:[[_q,e],[vq,a],[Sq,p],[bD,{...d,ref:l,elementType:`span`}],[$D,{...f,ref:c,isPressed:a.isOpen,autoFocus:e.autoFocus}],[DV,a],[mB,{trigger:`Select`,triggerRef:c,scrollRef:C,placement:`bottom start`,"aria-labelledby":m[`aria-labelledby`],clearContexts:bq}],[YL,{...m,ref:C}],[XL,a],[aO,{slots:{description:h,errorMessage:g}}],[WA,v]]},x.createElement(W.div,{...U(S,b,s),ref:t,slot:e.slot||void 0,"data-focused":a.isFocused||void 0,"data-focus-visible":o||void 0,"data-open":a.isOpen||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":v.isInvalid||void 0,"data-required":e.isRequired||void 0},b.children,x.createElement(pq,{..._,autoComplete:e.autoComplete})))}var Sq=(0,x.createContext)(null),Cq=mE(function(e,t){[e,t]=SS(e,t,Sq);let n=(0,x.useContext)(vq),{placeholder:r}=xS(_q),i=n.selectedItems.map(e=>{let t=e.props?.children;return typeof t==`function`&&(t=t({isHovered:!1,isPressed:!1,isSelected:!1,isFocused:!1,isFocusVisible:!1,isDisabled:!1,selectionMode:`single`,selectionBehavior:`toggle`})),t}),a=jV(),o=(0,x.useMemo)(()=>n.selectedItems.map(e=>e?.textValue),[n.selectedItems]),s=n.selectionManager.selectionMode,c=(0,x.useMemo)(()=>s===`single`?o[0]??``:a.format(o),[s,a,o]),l=(0,x.useMemo)(()=>{if(s===`single`)return i[0];let e=a.formatToParts(o);if(e.length===0)return null;let t=0;return e.map(e=>e.type===`element`?x.createElement(x.Fragment,{key:t},i[t++]):e.value)},[s,a,o,i]),u=_T(gq(OI),`react-aria-components`),d=yS({...e,defaultChildren:l??r??u.format(`selectPlaceholder`),defaultClassName:`react-aria-SelectValue`,values:{selectedItem:n.selectedItems[0]?.value??null,selectedItems:(0,x.useMemo)(()=>n.selectedItems.map(e=>e.value??null),[n.selectedItems]),selectedText:c,isPlaceholder:n.selectedItems.length===0,state:n}}),f=K(e,{global:!0});return x.createElement(W.span,{ref:t,...f,...d,"data-placeholder":n.selectedItems.length===0||void 0},x.createElement(aO.Provider,{value:void 0},d.children))});function wq(e,t,n){let{labelProps:r,inputProps:i,isSelected:a,...o}=hj(e,t,n);return{labelProps:r,inputProps:{...i,role:`switch`,checked:a},isSelected:a,...o}}for(var Tq=(0,x.createContext)(null),Eq=(0,x.createContext)(null),Dq=(0,x.forwardRef)(function(e,t){let{inputRef:n=null,...r}=e;[e,t]=SS(r,t,Tq);let i=gS((0,x.useMemo)(()=>mS(n,e.inputRef===void 0?null:e.inputRef),[n,e.inputRef])),a=_j(e),o=wq({...wS(e),children:typeof e.children==`function`||e.children},a,i);return x.createElement(vS,{values:[[Eq,a],[Oq,{...o,inputRef:i,defaultClassName:`react-aria-Switch`}]]},x.createElement(kq,{...e,ref:t}))}),Oq=(0,x.createContext)(null),kq=(0,x.forwardRef)(function(e,t){let{labelProps:n,inputProps:r,isSelected:i,isDisabled:a,isReadOnly:o,isPressed:s,isInvalid:c,inputRef:l,defaultClassName:u,isRequired:d}=(0,x.useContext)(Oq),{isFocused:f,isFocusVisible:p,focusProps:m}=dD(),h=a||o,g=(0,x.useContext)(Eq),{hoverProps:_,isHovered:v}=_D({...e,isDisabled:h}),y=yS({...e,defaultClassName:u,values:{isSelected:i,isPressed:s,isHovered:v,isFocused:f,isFocusVisible:p,isDisabled:a,isReadOnly:o,isInvalid:c,isRequired:d||!1,state:g}}),b=K(e,{global:!0});return delete b.id,delete b.onClick,x.createElement(W.label,{...U(b,n,_,y),ref:t,slot:e.slot||void 0,"data-selected":i||void 0,"data-pressed":s||void 0,"data-hovered":v||void 0,"data-focused":f||void 0,"data-focus-visible":p||void 0,"data-disabled":a||void 0,"data-readonly":o||void 0,"data-invalid":c||void 0,"data-required":d||void 0},x.createElement(UA,{elementType:`span`},x.createElement(`input`,{...U(r,m),ref:l})),y.children)}),Aq=10,jq=5,Mq=class{setup(e,t,n){this.delegate=e,this.state=t,this.direction=n}getDropTargetFromPoint(e,t,n){let r=this.delegate.getDropTargetFromPoint(e,t,n);return!r||r.type===`root`?r:this.resolveDropTarget(r,e,t,n)}resolveDropTarget(e,t,n,r){let i=this.pointerTracking,a=n-i.lastY,o=t-i.lastX,s=i.yDirection,c=i.xDirection;if(Math.abs(a)>jq&&(s=a>0?`down`:`up`,i.yDirection=s,i.lastY=n),Math.abs(o)>Aq&&(c=o>0?`right`:`left`,i.xDirection=c,i.lastX=t),e.dropPosition===`before`){let t=this.state.collection.getKeyBefore(e.key);for(;t!=null;){let e=this.state.collection.getItem(t);if(e?.type===`item`)break;t=e?.parentKey??null}if(t!=null){let n={type:`item`,key:t,dropPosition:`after`};r(n)&&(e=n)}}let l=this.getPotentialTargets(e,r);if(l.length===0)return{type:`root`};let u;return l.length>1?u=this.selectTarget(l,e,t,n,s,c):(u=l[0],i.boundaryContext=null),u}getPotentialTargets(e,t){if(e.dropPosition===`on`)return[e];let n=e,r=this.state.collection,i=r.getItem(n.key);for(;i&&i?.type!==`item`&&i.nextKey!=null;)n.key=i.nextKey,i=r.getItem(i.nextKey);let a=[n];if(i&&i.hasChildNodes&&this.state.expandedKeys.has(i.key)&&r.getChildren&&n.dropPosition===`after`){let e=i.firstChildKey==null?null:r.getItem(i.firstChildKey);for(;e&&e.type!==`item`;)e=e.nextKey==null?null:r.getItem(e.nextKey);if(e?.type===`item`){let n={type:`item`,key:e.key,dropPosition:`before`};return t(n)?[n]:[]}}if(i?.nextKey!=null)return[e];let o=i?.parentKey,s=[];for(;o!=null;){let e=r.getItem(o),n=e?.nextKey==null?null:r.getItem(e.nextKey);if(!n||n.parentKey!==o){if(e?.type===`item`){let e={type:`item`,key:o,dropPosition:`after`};t(e)&&s.push(e)}if(n)break}o=e?.parentKey}if(s.length>0&&a.push(...s),a.length===1){let e=r.getKeyAfter(n.key),a=e==null?null:r.getItem(e);if(e!=null&&a&&i&&a.level!=null&&i.level!=null&&a.level>i.level){let n={type:`item`,key:e,dropPosition:`before`};if(t(n))return[n]}}return a.filter(t)}selectTarget(e,t,n,r,i,a){if(e.length<2)return e[0];let o=this.pointerTracking,s=this.state.collection.getItem(t.key)?.parentKey;if(s==null)return e[0];o.boundaryContext&&o.boundaryContext.parentKey===s||(o.boundaryContext={parentKey:s,preferredTargetIndex:o.yDirection===`up`?e.length-1:0,lastSwitchY:r,lastSwitchX:n});let c=o.boundaryContext,l=Math.abs(n-c.lastSwitchX);if(Math.abs(r-c.lastSwitchY)>jq&&i){let t=c.preferredTargetIndex||0;i===`down`&&t===0?c.preferredTargetIndex=e.length-1:i===`up`&&t===e.length-1&&(c.preferredTargetIndex=0),o.xDirection=null}if(l>Aq&&a){let t=c.preferredTargetIndex||0;a===`left`?this.direction===`ltr`?t<e.length-1&&(c.preferredTargetIndex=t+1,c.lastSwitchX=n):t>0&&(c.preferredTargetIndex=t-1,c.lastSwitchX=n):a===`right`&&(this.direction===`ltr`?t>0&&(c.preferredTargetIndex=t-1,c.lastSwitchX=n):t<e.length-1&&(c.preferredTargetIndex=t+1,c.lastSwitchX=n)),o.yDirection=null}return e[Math.max(0,Math.min(c.preferredTargetIndex||0,e.length-1))]}constructor(){this.delegate=null,this.state=null,this.direction=`ltr`,this.pointerTracking={lastY:0,lastX:0,yDirection:null,xDirection:null,boundaryContext:null}}},Nq=class{constructor(e){this.keyMap=new Map,this.keyMap=new Map,this.columnCount=e?.columnCount,this.rows=[];let t=r=>{let i=this.keyMap.get(r.key);e.visitNode&&(r=e.visitNode(r)),this.keyMap.set(r.key,r);let a=new Set,o=null,s=!1;if(r.type===`item`){for(let e of r.childNodes)if(e.props?.colSpan!==void 0){s=!0;break}}for(let e of r.childNodes)e.type===`cell`&&s&&(e.colspan=e.props?.colSpan,e.colSpan=e.props?.colSpan,e.colIndex=o?(o.colIndex??o.index)+(o.colSpan??1):e.index),e.type===`cell`&&e.parentKey==null&&(e.parentKey=r.key),a.add(e.key),o?(o.nextKey=e.key,e.prevKey=o.key):e.prevKey=null,t(e),o=e;if(o&&(o.nextKey=null),i)for(let e of i.childNodes)a.has(e.key)||n(e)},n=e=>{this.keyMap.delete(e.key);for(let t of e.childNodes)this.keyMap.get(t.key)===t&&n(t)},r=null;for(let[n,i]of e.items.entries()){let e={...i,level:i.level??0,key:i.key??`row-`+n,type:i.type??`row`,value:i.value??null,hasChildNodes:!0,childNodes:[...i.childNodes],rendered:i.rendered,textValue:i.textValue??``,index:i.index??n};r?(r.nextKey=e.key,e.prevKey=r.key):e.prevKey=null,this.rows.push(e),t(e),r=e}r&&(r.nextKey=null)}*[Symbol.iterator](){yield*[...this.rows]}get size(){return[...this.rows].length}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let t=this.keyMap.get(e);return t?t.prevKey??null:null}getKeyAfter(e){let t=this.keyMap.get(e);return t?t.nextKey??null:null}getFirstKey(){return[...this.rows][0]?.key}getLastKey(){let e=[...this.rows];return e[e.length-1]?.key}getItem(e){return this.keyMap.get(e)??null}at(e){let t=[...this.getKeys()];return this.getItem(t[e])}getChildren(e){return this.keyMap.get(e)?.childNodes||[]}},Pq=`row-header-column-`+Math.random().toString(36).slice(2),Fq=`row-header-column-`+Math.random().toString(36).slice(2);Pq===Fq;)Fq=`row-header-column-`+Math.random().toString(36).slice(2);function Iq(e,t){if(t.length===0)return[];let n=[],r=new Map;for(let i of t){let t=i.parentKey,a=[i];for(;t!=null;){let n=e.get(t);if(!n)break;if(r.has(n)){n.colSpan??=0,n.colSpan++,n.colspan=n.colSpan;let{column:e,index:t}=r.get(n);if(t>a.length)break;for(let n=t;n<a.length;n++)e.splice(n,0,null);for(let t=a.length;t<e.length;t++)e[t]&&r.has(e[t])&&(r.get(e[t]).index=t)}else n.colSpan=1,n.colspan=1,a.push(n),r.set(n,{column:a,index:a.length-1});t=n.parentKey}n.push(a),i.index=n.length-1}let i=Math.max(...n.map(e=>e.length)),a=Array(i).fill(0).map(()=>[]),o=0;for(let e of n){let t=i-1;for(let n of e){if(n){let e=a[t],r=e.reduce((e,t)=>e+(t.colSpan??1),0);if(r<o){let i={type:`placeholder`,key:`placeholder-`+n.key,colspan:o-r,colSpan:o-r,index:r,value:null,rendered:null,level:t,hasChildNodes:!1,childNodes:[],textValue:``};e.length>0&&(e[e.length-1].nextKey=i.key,i.prevKey=e[e.length-1].key),e.push(i)}e.length>0&&(e[e.length-1].nextKey=n.key,n.prevKey=e[e.length-1].key),n.level=t,n.colIndex=o,e.push(n)}t--}o++}let s=0;for(let e of a){let n=e.reduce((e,t)=>e+(t.colSpan??1),0);if(n<t.length){let r={type:`placeholder`,key:`placeholder-`+e[e.length-1].key,colSpan:t.length-n,colspan:t.length-n,index:n,value:null,rendered:null,level:s,hasChildNodes:!1,childNodes:[],textValue:``,prevKey:e[e.length-1].key};e.push(r)}s++}return a.map((e,t)=>({type:`headerrow`,key:`headerrow-`+t,index:t,value:null,rendered:null,level:0,hasChildNodes:!0,childNodes:e,textValue:``}))}var Lq=class extends Nq{constructor(e,t,n){let r=new Set,i=null,a=[];if(n?.showSelectionCheckboxes){let e={type:`column`,key:Pq,value:null,textValue:``,level:0,index:+!!n?.showDragButtons,hasChildNodes:!1,rendered:null,childNodes:[],props:{isSelectionCell:!0}};a.unshift(e)}if(n?.showDragButtons){let e={type:`column`,key:Fq,value:null,textValue:``,level:0,index:0,hasChildNodes:!1,rendered:null,childNodes:[],props:{isDragButtonCell:!0}};a.unshift(e)}let o=[],s=new Map,c=e=>{switch(e.type){case`body`:i=e;break;case`column`:s.set(e.key,e),e.hasChildNodes||(a.push(e),e.props.isRowHeader&&r.add(e.key));break;case`item`:o.push(e);return}for(let t of e.childNodes)c(t)};for(let t of e)c(t);let l=Iq(s,a);if(l.forEach((e,t)=>o.splice(t,0,e)),super({columnCount:a.length,items:o,visitNode:e=>(e.column=a[e.index],e)}),this._size=0,this.columns=a,this.rowHeaderColumnKeys=r,this.body=i,this.headerRows=l,this._size=[...i.childNodes].length,this.rowHeaderColumnKeys.size===0){let e=this.columns.find(e=>!e.props?.isDragButtonCell&&!e.props?.isSelectionCell);e&&this.rowHeaderColumnKeys.add(e.key)}}*[Symbol.iterator](){yield*this.body.childNodes}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){return this.keyMap.get(e)?.prevKey??null}getKeyAfter(e){return this.keyMap.get(e)?.nextKey??null}getFirstKey(){return DL(this.body.childNodes)?.key??null}getLastKey(){return kL(this.body.childNodes)?.key??null}getItem(e){return e===this.body.key?this.body:this.keyMap.get(e)??null}at(e){let t=[...this.getKeys()];return this.getItem(t[e])}getChildren(e){if(e===this.body.key)return this.body.childNodes;let t=this.getItem(e);return t?.type===`item`?[...t.childNodes].filter(e=>e.type===`cell`):super.getChildren(e)}getTextValue(e){let t=this.getItem(e);if(!t)return``;if(t.textValue)return t.textValue;let n=this.rowHeaderColumnKeys;if(n){let e=[];for(let r of t.childNodes){let t=this.columns[r.index];if(n.has(t.key)&&r.textValue&&e.push(r.textValue),e.length===n.size)break}return e.join(` `)}return``}};function Rq(e){let{collection:t,focusMode:n}=e,r=e.UNSAFE_selectionState||LL(e),i=(0,x.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=r.setFocusedKey;r.setFocusedKey=(e,r)=>{if(n===`cell`&&e!=null){let n=t.getItem(e);if(n?.type===`item`){let i=EL(n,t);e=r===`last`?kL(i)?.key??null:DL(i)?.key??null}}a(e,r)};let o=(0,x.useMemo)(()=>new zL(t,r),[t,r]),s=(0,x.useRef)(null);return(0,x.useEffect)(()=>{if(r.focusedKey!=null&&s.current&&!t.getItem(r.focusedKey)){let e=s.current.getItem(r.focusedKey),n=e?.parentKey!=null&&(e.type===`cell`||e.type===`rowheader`||e.type===`column`)?s.current.getItem(e.parentKey):e;if(!n){r.setFocusedKey(null);return}let i=s.current.rows,a=t.rows,c=i.length-a.length,l=Math.min(c>1?Math.max(n.index-c+1,0):n.index,a.length-1),u=null;for(let e=Math.max(0,l);e<a.length;e++)if(!o.isDisabled(a[e].key)&&a[e].type!==`headerrow`){u=a[e];break}if(u===null){for(let e=l-1;e>=0;e--)if(!o.isDisabled(a[e].key)&&a[e].type!==`headerrow`){u=a[e];break}}if(u){let i=u.hasChildNodes?[...EL(u,t)]:[],a=u.hasChildNodes&&n!==e&&e&&e.index<i.length?i[e.index].key:u.key;r.setFocusedKey(a)}else r.setFocusedKey(null)}s.current=t},[t,o,r,r.focusedKey]),{collection:t,disabledKeys:i,isKeyboardNavigationDisabled:!1,selectionManager:o}}var zq={ascending:`descending`,descending:`ascending`};function Bq(e){let[t,n]=(0,x.useState)(!1),{selectionMode:r=`none`,showSelectionCheckboxes:i,showDragButtons:a,treeColumn:o=null}=e,s=(0,x.useMemo)(()=>({showSelectionCheckboxes:i&&r!==`none`,showDragButtons:a,selectionMode:r,columns:[]}),[e.children,i,r,a]),c=WL(e,(0,x.useCallback)(e=>new Lq(e,null,s),[s]),s),{disabledKeys:l,selectionManager:u}=Rq({...e,collection:c,disabledBehavior:e.disabledBehavior||`selection`}),[d,f]=xT(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,e.onExpandedChange);return{collection:c,disabledKeys:l,selectionManager:u,showSelectionCheckboxes:e.showSelectionCheckboxes||!1,sortDescriptor:e.sortDescriptor??null,isKeyboardNavigationDisabled:c.size===0||t,setKeyboardNavigationDisabled:n,sort(t,n){e.onSortChange?.({column:t,direction:n??(e.sortDescriptor?.column===t?zq[e.sortDescriptor.direction]:`ascending`)})},expandedKeys:d,toggleKey(e){f(t=>{let n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n})},treeColumn:o}}function Vq(e,t){let n=(0,x.useMemo)(()=>t?e.collection.filter(t):e.collection,[e.collection,t]),r=e.selectionManager.withCollection(n);return{...e,collection:n,selectionManager:r}}var Hq=class{constructor(e){if(this.collection=e.collection,this.disabledKeys=e.disabledKeys,this.disabledBehavior=e.disabledBehavior||`all`,this.direction=e.direction,this.collator=e.collator,!e.layout&&!e.ref)throw Error(`Either a layout or a ref must be specified.`);this.layoutDelegate=e.layoutDelegate||(e.layout?new Uq(e.layout):new _L(e.ref)),this.focusMode=e.focusMode??`row`}isCell(e){return e.type===`cell`}isRow(e){return e.type===`row`||e.type===`item`}isDisabled(e){return this.disabledBehavior===`all`&&(e.props?.isDisabled||this.disabledKeys.has(e.key))&&e.props?.disabledBehavior!==`selection`}findPreviousKey(e,t,n=!1){let r=e==null?this.collection.getLastKey():this.collection.getKeyBefore(e);for(;r!=null;){let e=this.collection.getItem(r);if(!e)return null;if((n||!this.isDisabled(e))&&(!t||t(e)))return r;r=this.collection.getKeyBefore(r)}return null}findNextKey(e,t,n=!1){let r=e==null?this.collection.getFirstKey():this.collection.getKeyAfter(e);for(;r!=null;){let e=this.collection.getItem(r);if(!e)return null;if((n||!this.isDisabled(e))&&(!t||t(e)))return r;if(r=this.collection.getKeyAfter(r),r==null)return null}return null}getKeyForItemInRowByIndex(e,t=0){if(t<0)return null;let n=this.collection.getItem(e);if(!n)return null;let r=0;for(let e of EL(n,this.collection)){if(e.colSpan&&e.colSpan+r>t||(e.colSpan&&(r=r+e.colSpan-1),r===t))return e.key??null;r++}return null}getKeyBelow(e,t){let n=e,r=this.collection.getItem(n);if(!r||(this.isCell(r)&&(n=r.parentKey??null),n==null))return null;if(n=this.findNextKey(n,e=>e.type===`item`,t?.includeDisabled),n!=null){if(this.isCell(r)){let e=r.colIndex?r.colIndex:r.index;return this.getKeyForItemInRowByIndex(n,e)}if(this.focusMode===`row`)return n}return null}getKeyAbove(e,t){let n=e,r=this.collection.getItem(n);if(!r||(this.isCell(r)&&(n=r.parentKey??null),n==null))return null;if(n=this.findPreviousKey(n,e=>e.type===`item`,t?.includeDisabled),n!=null){if(this.isCell(r)){let e=r.colIndex?r.colIndex:r.index;return this.getKeyForItemInRowByIndex(n,e)}if(this.focusMode===`row`)return n}return null}getKeyRightOf(e){let t=this.collection.getItem(e);if(!t)return null;if(this.isRow(t)){let e=EL(t,this.collection);return(this.direction===`rtl`?kL(e)?.key:DL(e)?.key)??null}if(this.isCell(t)&&t.parentKey!=null){let n=this.collection.getItem(t.parentKey);if(!n)return null;let r=EL(n,this.collection),i=(this.direction===`rtl`?OL(r,t.index-1):OL(r,t.index+1))??null;return i?i.key??null:this.focusMode===`row`?t.parentKey??null:(this.direction===`rtl`?this.getFirstKey(e):this.getLastKey(e))??null}return null}getKeyLeftOf(e){let t=this.collection.getItem(e);if(!t)return null;if(this.isRow(t)){let e=EL(t,this.collection);return(this.direction===`rtl`?DL(e)?.key:kL(e)?.key)??null}if(this.isCell(t)&&t.parentKey!=null){let n=this.collection.getItem(t.parentKey);if(!n)return null;let r=EL(n,this.collection),i=(this.direction===`rtl`?OL(r,t.index+1):OL(r,t.index-1))??null;return i?i.key??null:this.focusMode===`row`?t.parentKey??null:(this.direction===`rtl`?this.getLastKey(e):this.getFirstKey(e))??null}return null}getFirstKey(e,t){let n=e??null,r;if(n!=null){if(r=this.collection.getItem(n),!r)return null;if(this.isCell(r)&&!t&&r.parentKey!=null){let e=this.collection.getItem(r.parentKey);return e?DL(EL(e,this.collection))?.key??null:null}}if(n=this.findNextKey(void 0,e=>e.type===`item`),n!=null&&(r&&this.isCell(r)&&t||this.focusMode===`cell`)){let e=this.collection.getItem(n);if(!e)return null;n=DL(EL(e,this.collection))?.key??null}return n}getLastKey(e,t){let n=e??null,r;if(n!=null){if(r=this.collection.getItem(n),!r)return null;if(this.isCell(r)&&!t&&r.parentKey!=null){let e=this.collection.getItem(r.parentKey);return e?kL(EL(e,this.collection))?.key??null:null}}if(n=this.findPreviousKey(void 0,e=>e.type===`item`),n!=null&&(r&&this.isCell(r)&&t||this.focusMode===`cell`)){let e=this.collection.getItem(n);if(!e)return null;n=kL(EL(e,this.collection))?.key??null}return n}getKeyPageAbove(e){let t=e,n=this.layoutDelegate.getItemRect(t);if(!n)return null;let r=Math.max(0,n.y+n.height-this.layoutDelegate.getVisibleRect().height);for(;n&&n.y>r&&t!=null&&(t=this.getKeyAbove(t)??null,t!=null);)n=this.layoutDelegate.getItemRect(t);return t}getKeyPageBelow(e){let t=e,n=this.layoutDelegate.getItemRect(t);if(!n)return null;let r=this.layoutDelegate.getVisibleRect().height,i=Math.min(this.layoutDelegate.getContentSize().height,n.y+r);for(;n&&n.y+n.height<i;){let e=this.getKeyBelow(t);if(e==null)break;n=this.layoutDelegate.getItemRect(e),t=e}return t}getKeyForSearch(e,t){let n=t??null;if(!this.collator)return null;let r=this.collection;if(n=t??this.getFirstKey(),n==null)return null;let i=r.getItem(n);if(!i)return null;i.type===`cell`&&(n=i.parentKey??null);let a=!1;for(;n!=null;){let t=r.getItem(n);if(!t)return null;if(t.textValue){let n=t.textValue.slice(0,e.length);if(this.collator.compare(n,e)===0)return this.isRow(t)&&this.focusMode===`cell`?DL(EL(t,this.collection))?.key??null:t.key}n=this.findNextKey(n,e=>e.type===`item`),n==null&&!a&&(n=this.getFirstKey(),a=!0)}return null}},Uq=class{constructor(e){this.layout=e}getContentSize(){return this.layout.getContentSize()}getItemRect(e){return this.layout.getLayoutInfo(e)?.rect||null}getVisibleRect(){return this.layout.virtualizer.visibleRect}},Wq=new WeakMap;function Gq(e,t,n){let{isVirtualized:r,disallowTypeAhead:i,keyboardDelegate:a,focusMode:o,scrollRef:s,getRowText:c,onRowAction:l,onCellAction:u,escapeKeyBehavior:d=`clearSelection`,shouldSelectOnPressUp:f,keyboardNavigationBehavior:p=`arrow`}=e,{selectionManager:m}=t;!e[`aria-label`]&&!e[`aria-labelledby`]&&console.warn(`An aria-label or aria-labelledby prop is required for accessibility.`);let h=bL({usage:`search`,sensitivity:`base`}),{direction:g}=rT(),_=t.selectionManager.disabledBehavior,v=(0,x.useMemo)(()=>a||new Hq({collection:t.collection,disabledKeys:t.disabledKeys,disabledBehavior:_,ref:n,direction:g,collator:h,focusMode:o}),[a,t.collection,t.disabledKeys,_,n,g,h,o]),{collectionProps:y}=gL({ref:n,selectionManager:m,keyboardDelegate:v,isVirtualized:r,scrollRef:s,disallowTypeAhead:i,escapeKeyBehavior:d}),b=dS(e.id);Wq.set(t,{keyboardDelegate:v,actions:{onRowAction:l,onCellAction:u},shouldSelectOnPressUp:f,keyboardNavigationBehavior:p});let S=NG({selectionManager:m,hasItemActions:!!(l||u)}),C=K(e,{labelable:!0}),w=(0,x.useCallback)(e=>{m.isFocused?zS(e.currentTarget,G(e))||m.setFocused(!1):zS(e.currentTarget,G(e))&&m.setFocused(!0)},[m]),T=(0,x.useMemo)(()=>({onBlur:y.onBlur,onFocus:w}),[w,y.onBlur]),E=jG(n,{isDisabled:t.collection.size!==0}),D=U(C,{role:`grid`,id:b,"aria-multiselectable":m.selectionMode===`multiple`?`true`:void 0},t.isKeyboardNavigationDisabled?T:y,t.collection.size===0&&{tabIndex:E?-1:0}||void 0,S);return r&&(D[`aria-rowcount`]=t.collection.size,D[`aria-colcount`]=t.collection.columnCount),kG({getRowText:c},t),{gridProps:D}}var Kq=new WeakMap;function qq(e){return typeof e==`string`?e.replace(/\s*/g,``):``+e}function Jq(e,t){let n=Kq.get(e);if(!n)throw Error(`Unknown grid`);return`${n}-${qq(t)}`}function Yq(e,t,n){let r=Kq.get(e);if(!r)throw Error(`Unknown grid`);return`${r}-${qq(t)}-${qq(n)}`}function Xq(e,t){return[...e.collection.rowHeaderColumnKeys].map(n=>Yq(e,t,n)).join(` `)}var Zq={};Zq={ascending:`تصاعدي`,ascendingSort:e=>`\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62D}\u{633}\u{628} \u{627}\u{644}\u{639}\u{645}\u{648}\u{62F} ${e.columnName} \u{628}\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62A}\u{635}\u{627}\u{639}\u{62F}\u{64A}`,collapse:`طي`,columnSize:e=>`${e.value} \u{628}\u{627}\u{644}\u{628}\u{643}\u{633}\u{644}`,descending:`تنازلي`,descendingSort:e=>`\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62D}\u{633}\u{628} \u{627}\u{644}\u{639}\u{645}\u{648}\u{62F} ${e.columnName} \u{628}\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62A}\u{646}\u{627}\u{632}\u{644}\u{64A}`,expand:`تمديد`,resizerDescription:`اضغط على مفتاح Enter لبدء تغيير الحجم`,select:`تحديد`,selectAll:`تحديد الكل`,sortable:`عمود قابل للترتيب`};var Qq={};Qq={ascending:`възходящ`,ascendingSort:e=>`\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{430}\u{43D}\u{43E} \u{43F}\u{43E} \u{43A}\u{43E}\u{43B}\u{43E}\u{43D}\u{430} ${e.columnName} \u{432}\u{44A}\u{432} \u{432}\u{44A}\u{437}\u{445}\u{43E}\u{434}\u{44F}\u{449} \u{440}\u{435}\u{434}`,collapse:`Свиване`,columnSize:e=>`${e.value} \u{43F}\u{438}\u{43A}\u{441}\u{435}\u{43B}\u{430}`,descending:`низходящ`,descendingSort:e=>`\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{430}\u{43D}\u{43E} \u{43F}\u{43E} \u{43A}\u{43E}\u{43B}\u{43E}\u{43D}\u{430} ${e.columnName} \u{432} \u{43D}\u{438}\u{437}\u{445}\u{43E}\u{434}\u{44F}\u{449} \u{440}\u{435}\u{434}`,expand:`Разширяване`,resizerDescription:`Натиснете „Enter“, за да започнете да преоразмерявате`,select:`Изберете`,selectAll:`Изберете всичко`,sortable:`сортираща колона`};var $q={};$q={ascending:`vzestupně`,ascendingSort:e=>`\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,collapse:`Sbalit`,columnSize:e=>`${e.value} pixel\u{16F}`,descending:`sestupně`,descendingSort:e=>`\u{159}azeno sestupn\u{11B} podle sloupce ${e.columnName}`,expand:`Roztáhnout`,resizerDescription:`Stisknutím klávesy Enter začnete měnit velikost`,select:`Vybrat`,selectAll:`Vybrat vše`,sortable:`sloupec s možností řazení`};var eJ={};eJ={ascending:`stigende`,ascendingSort:e=>`sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,collapse:`Skjul`,columnSize:e=>`${e.value} pixels`,descending:`faldende`,descendingSort:e=>`sorteret efter kolonne ${e.columnName} i faldende r\xe6kkef\xf8lge`,expand:`Udvid`,resizerDescription:`Tryk på Enter for at ændre størrelse`,select:`Vælg`,selectAll:`Vælg alle`,sortable:`sorterbar kolonne`};var tJ={};tJ={ascending:`aufsteigend`,ascendingSort:e=>`sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,collapse:`Reduzieren`,columnSize:e=>`${e.value} Pixel`,descending:`absteigend`,descendingSort:e=>`sortiert nach Spalte ${e.columnName} in absteigender Reihenfolge`,expand:`Erweitern`,resizerDescription:`Eingabetaste zum Starten der Größenänderung drücken`,select:`Auswählen`,selectAll:`Alles auswählen`,sortable:`sortierbare Spalte`};var nJ={};nJ={ascending:`αύξουσα`,ascendingSort:e=>`\u{3B4}\u{3B9}\u{3B1}\u{3BB}\u{3BF}\u{3B3}\u{3AE} \u{3B1}\u{3BD}\u{3AC} \u{3C3}\u{3C4}\u{3AE}\u{3BB}\u{3B7} ${e.columnName} \u{3C3}\u{3B5} \u{3B1}\u{3CD}\u{3BE}\u{3BF}\u{3C5}\u{3C3}\u{3B1} \u{3C3}\u{3B5}\u{3B9}\u{3C1}\u{3AC}`,collapse:`Σύμπτυξη`,columnSize:e=>`${e.value} pixel`,descending:`φθίνουσα`,descendingSort:e=>`\u{3B4}\u{3B9}\u{3B1}\u{3BB}\u{3BF}\u{3B3}\u{3AE} \u{3B1}\u{3BD}\u{3AC} \u{3C3}\u{3C4}\u{3AE}\u{3BB}\u{3B7} ${e.columnName} \u{3C3}\u{3B5} \u{3C6}\u{3B8}\u{3AF}\u{3BD}\u{3BF}\u{3C5}\u{3C3}\u{3B1} \u{3C3}\u{3B5}\u{3B9}\u{3C1}\u{3AC}`,expand:`Ανάπτυξη`,resizerDescription:`Πατήστε Enter για έναρξη της αλλαγής μεγέθους`,select:`Επιλογή`,selectAll:`Επιλογή όλων`,sortable:`Στήλη διαλογής`};var rJ={};rJ={select:`Select`,selectAll:`Select All`,sortable:`sortable column`,ascending:`ascending`,descending:`descending`,ascendingSort:e=>`sorted by column ${e.columnName} in ascending order`,descendingSort:e=>`sorted by column ${e.columnName} in descending order`,columnSize:e=>`${e.value} pixels`,resizerDescription:`Press Enter to start resizing`,expand:`Expand`,collapse:`Collapse`};var iJ={};iJ={ascending:`ascendente`,ascendingSort:e=>`ordenado por columna ${e.columnName} en sentido ascendente`,collapse:`Contraer`,columnSize:e=>`${e.value} p\xedxeles`,descending:`descendente`,descendingSort:e=>`ordenado por columna ${e.columnName} en orden descendente`,expand:`Ampliar`,resizerDescription:`Pulse Intro para empezar a redimensionar`,select:`Seleccionar`,selectAll:`Seleccionar todos`,sortable:`columna ordenable`};var aJ={};aJ={ascending:`tõusev järjestus`,ascendingSort:e=>`sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,collapse:`Ahenda`,columnSize:e=>`${e.value} pikslit`,descending:`laskuv järjestus`,descendingSort:e=>`sorditud veeru j\xe4rgi ${e.columnName} laskuvas j\xe4rjestuses`,expand:`Laienda`,resizerDescription:`Suuruse muutmise alustamiseks vajutage klahvi Enter`,select:`Vali`,selectAll:`Vali kõik`,sortable:`sorditav veerg`};var oJ={};oJ={ascending:`nouseva`,ascendingSort:e=>`lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,collapse:`Pienennä`,columnSize:e=>`${e.value} pikseli\xe4`,descending:`laskeva`,descendingSort:e=>`lajiteltu sarakkeen ${e.columnName} mukaan laskevassa j\xe4rjestyksess\xe4`,expand:`Laajenna`,resizerDescription:`Aloita koon muutos painamalla Enter-näppäintä`,select:`Valitse`,selectAll:`Valitse kaikki`,sortable:`lajiteltava sarake`};var sJ={};sJ={ascending:`croissant`,ascendingSort:e=>`tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,collapse:`Réduire`,columnSize:e=>`${e.value}\xa0pixels`,descending:`décroissant`,descendingSort:e=>`tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre d\xe9croissant`,expand:`Développer`,resizerDescription:`Appuyez sur Entrée pour commencer le redimensionnement.`,select:`Sélectionner`,selectAll:`Sélectionner tout`,sortable:`colonne triable`};var cJ={};cJ={ascending:`עולה`,ascendingSort:e=>`\u{5DE}\u{5D5}\u{5D9}\u{5DF} \u{5DC}\u{5E4}\u{5D9} \u{5E2}\u{5DE}\u{5D5}\u{5D3}\u{5D4} ${e.columnName} \u{5D1}\u{5E1}\u{5D3}\u{5E8} \u{5E2}\u{5D5}\u{5DC}\u{5D4}`,collapse:`כווץ`,columnSize:e=>`${e.value} \u{5E4}\u{5D9}\u{5E7}\u{5E1}\u{5DC}\u{5D9}\u{5DD}`,descending:`יורד`,descendingSort:e=>`\u{5DE}\u{5D5}\u{5D9}\u{5DF} \u{5DC}\u{5E4}\u{5D9} \u{5E2}\u{5DE}\u{5D5}\u{5D3}\u{5D4} ${e.columnName} \u{5D1}\u{5E1}\u{5D3}\u{5E8} \u{5D9}\u{5D5}\u{5E8}\u{5D3}`,expand:`הרחב`,resizerDescription:`הקש Enter כדי לשנות את הגודל`,select:`בחר`,selectAll:`בחר הכול`,sortable:`עמודה שניתן למיין`};var lJ={};lJ={ascending:`rastući`,ascendingSort:e=>`razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,collapse:`Sažmi`,columnSize:e=>`${e.value} piksela`,descending:`padajući`,descendingSort:e=>`razvrstano po stupcima ${e.columnName} padaju\u{107}im redoslijedom`,expand:`Proširi`,resizerDescription:`Pritisnite Enter da biste započeli promenu veličine`,select:`Odaberite`,selectAll:`Odaberite sve`,sortable:`stupac koji se može razvrstati`};var uJ={};uJ={ascending:`növekvő`,ascendingSort:e=>`rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,collapse:`Összecsukás`,columnSize:e=>`${e.value} k\xe9ppont`,descending:`csökkenő`,descendingSort:e=>`rendezve a(z) ${e.columnName} oszlop szerint, cs\xf6kken\u{151} sorrendben`,expand:`Kibontás`,resizerDescription:`Nyomja le az Enter billentyűt az átméretezés megkezdéséhez`,select:`Kijelölés`,selectAll:`Összes kijelölése`,sortable:`rendezendő oszlop`};var dJ={};dJ={ascending:`crescente`,ascendingSort:e=>`in ordine crescente in base alla colonna ${e.columnName}`,collapse:`Comprimi`,columnSize:e=>`${e.value} pixel`,descending:`decrescente`,descendingSort:e=>`in ordine decrescente in base alla colonna ${e.columnName}`,expand:`Espandi`,resizerDescription:`Premi Invio per iniziare a ridimensionare`,select:`Seleziona`,selectAll:`Seleziona tutto`,sortable:`colonna ordinabile`};var fJ={};fJ={ascending:`昇順`,ascendingSort:e=>`\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,collapse:`折りたたむ`,columnSize:e=>`${e.value} \u{30D4}\u{30AF}\u{30BB}\u{30EB}`,descending:`降順`,descendingSort:e=>`\u{5217} ${e.columnName} \u{3092}\u{964D}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,expand:`展開`,resizerDescription:`Enter キーを押してサイズ変更を開始`,select:`選択`,selectAll:`すべて選択`,sortable:`並べ替え可能な列`};var pJ={};pJ={ascending:`오름차순`,ascendingSort:e=>`${e.columnName} \u{C5F4}\u{C744} \u{AE30}\u{C900}\u{C73C}\u{B85C} \u{C624}\u{B984}\u{CC28}\u{C21C}\u{C73C}\u{B85C} \u{C815}\u{B82C}\u{B428}`,collapse:`접기`,columnSize:e=>`${e.value} \u{D53D}\u{C140}`,descending:`내림차순`,descendingSort:e=>`${e.columnName} \u{C5F4}\u{C744} \u{AE30}\u{C900}\u{C73C}\u{B85C} \u{B0B4}\u{B9BC}\u{CC28}\u{C21C}\u{C73C}\u{B85C} \u{C815}\u{B82C}\u{B428}`,expand:`펼치기`,resizerDescription:`크기 조정을 시작하려면 Enter를 누르세요.`,select:`선택`,selectAll:`모두 선택`,sortable:`정렬 가능한 열`};var mJ={};mJ={ascending:`didėjančia tvarka`,ascendingSort:e=>`surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,collapse:`Sutraukti`,columnSize:e=>`${e.value} piks.`,descending:`mažėjančia tvarka`,descendingSort:e=>`surikiuota pagal stulpel\u{12F} ${e.columnName} ma\u{17E}\u{117}jan\u{10D}ia tvarka`,expand:`Išskleisti`,resizerDescription:`Paspauskite „Enter“, kad pradėtumėte keisti dydį`,select:`Pasirinkti`,selectAll:`Pasirinkti viską`,sortable:`rikiuojamas stulpelis`};var hJ={};hJ={ascending:`augošā secībā`,ascendingSort:e=>`k\u{101}rtots p\u{113}c kolonnas ${e.columnName} augo\u{161}\u{101} sec\u{12B}b\u{101}`,collapse:`Sakļaut`,columnSize:e=>`${e.value} pikse\u{13C}i`,descending:`dilstošā secībā`,descendingSort:e=>`k\u{101}rtots p\u{113}c kolonnas ${e.columnName} dilsto\u{161}\u{101} sec\u{12B}b\u{101}`,expand:`Izvērst`,resizerDescription:`Nospiediet Enter, lai sāktu izmēru mainīšanu`,select:`Atlasīt`,selectAll:`Atlasīt visu`,sortable:`kārtojamā kolonna`};var gJ={};gJ={ascending:`stigende`,ascendingSort:e=>`sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,collapse:`Skjul`,columnSize:e=>`${e.value} piksler`,descending:`synkende`,descendingSort:e=>`sortert etter kolonne ${e.columnName} i synkende rekkef\xf8lge`,expand:`Utvid`,resizerDescription:`Trykk på Enter for å starte størrelsesendring`,select:`Velg`,selectAll:`Velg alle`,sortable:`kolonne som kan sorteres`};var _J={};_J={ascending:`oplopend`,ascendingSort:e=>`gesorteerd in oplopende volgorde in kolom ${e.columnName}`,collapse:`Samenvouwen`,columnSize:e=>`${e.value} pixels`,descending:`aflopend`,descendingSort:e=>`gesorteerd in aflopende volgorde in kolom ${e.columnName}`,expand:`Uitvouwen`,resizerDescription:`Druk op Enter om het formaat te wijzigen`,select:`Selecteren`,selectAll:`Alles selecteren`,sortable:`sorteerbare kolom`};var vJ={};vJ={ascending:`rosnąco`,ascendingSort:e=>`posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,collapse:`Zwiń`,columnSize:e=>`Liczba pikseli: ${e.value}`,descending:`malejąco`,descendingSort:e=>`posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku malej\u{105}cym`,expand:`Rozwiń`,resizerDescription:`Naciśnij Enter, aby rozpocząć zmienianie rozmiaru`,select:`Zaznacz`,selectAll:`Zaznacz wszystko`,sortable:`kolumna z możliwością sortowania`};var yJ={};yJ={ascending:`crescente`,ascendingSort:e=>`classificado pela coluna ${e.columnName} em ordem crescente`,collapse:`Recolher`,columnSize:e=>`${e.value} pixels`,descending:`decrescente`,descendingSort:e=>`classificado pela coluna ${e.columnName} em ordem decrescente`,expand:`Expandir`,resizerDescription:`Pressione Enter para começar a redimensionar`,select:`Selecionar`,selectAll:`Selecionar tudo`,sortable:`coluna classificável`};var bJ={};bJ={ascending:`ascendente`,ascendingSort:e=>`Ordenar por coluna ${e.columnName} em ordem ascendente`,collapse:`Colapsar`,columnSize:e=>`${e.value} pixels`,descending:`descendente`,descendingSort:e=>`Ordenar por coluna ${e.columnName} em ordem descendente`,expand:`Expandir`,resizerDescription:`Prima Enter para iniciar o redimensionamento`,select:`Selecionar`,selectAll:`Selecionar tudo`,sortable:`Coluna ordenável`};var xJ={};xJ={ascending:`crescătoare`,ascendingSort:e=>`sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,collapse:`Restrângeți`,columnSize:e=>`${e.value} pixeli`,descending:`descrescătoare`,descendingSort:e=>`sortate dup\u{103} coloana ${e.columnName} \xeen ordine descresc\u{103}toare`,expand:`Extindeți`,resizerDescription:`Apăsați pe Enter pentru a începe redimensionarea`,select:`Selectare`,selectAll:`Selectare totală`,sortable:`coloană sortabilă`};var SJ={};SJ={ascending:`возрастание`,ascendingSort:e=>`\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{43E}\u{432}\u{430}\u{442}\u{44C} \u{441}\u{442}\u{43E}\u{43B}\u{431}\u{435}\u{446} ${e.columnName} \u{432} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{435} \u{432}\u{43E}\u{437}\u{440}\u{430}\u{441}\u{442}\u{430}\u{43D}\u{438}\u{44F}`,collapse:`Свернуть`,columnSize:e=>`${e.value} \u{43F}\u{438}\u{43A}\u{441}.`,descending:`убывание`,descendingSort:e=>`\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{43E}\u{432}\u{430}\u{442}\u{44C} \u{441}\u{442}\u{43E}\u{43B}\u{431}\u{435}\u{446} ${e.columnName} \u{432} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{435} \u{443}\u{431}\u{44B}\u{432}\u{430}\u{43D}\u{438}\u{44F}`,expand:`Развернуть`,resizerDescription:`Нажмите клавишу Enter для начала изменения размеров`,select:`Выбрать`,selectAll:`Выбрать все`,sortable:`сортируемый столбец`};var CJ={};CJ={ascending:`vzostupne`,ascendingSort:e=>`zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,collapse:`Zbaliť`,columnSize:e=>`Po\u{10D}et pixelov: ${e.value}`,descending:`zostupne`,descendingSort:e=>`zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,expand:`Rozbaliť`,resizerDescription:`Stlačením klávesu Enter začnete zmenu veľkosti`,select:`Vybrať`,selectAll:`Vybrať všetko`,sortable:`zoraditeľný stĺpec`};var wJ={};wJ={ascending:`naraščajoče`,ascendingSort:e=>`razvr\u{161}\u{10D}eno po stolpcu ${e.columnName} v nara\u{161}\u{10D}ajo\u{10D}em vrstnem redu`,collapse:`Strni`,columnSize:e=>`${e.value} slikovnih pik`,descending:`padajoče`,descendingSort:e=>`razvr\u{161}\u{10D}eno po stolpcu ${e.columnName} v padajo\u{10D}em vrstnem redu`,expand:`Razširi`,resizerDescription:`Pritisnite tipko Enter da začnete spreminjati velikost`,select:`Izberite`,selectAll:`Izberite vse`,sortable:`razvrstljivi stolpec`};var TJ={};TJ={ascending:`rastući`,ascendingSort:e=>`sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,collapse:`Skupi`,columnSize:e=>`${e.value} piksela`,descending:`padajući`,descendingSort:e=>`sortirano po kolonama ${e.columnName} padaju\u{107}im redosledom`,expand:`Proširi`,resizerDescription:`Pritisnite Enter da biste započeli promenu veličine`,select:`Izaberite`,selectAll:`Izaberite sve`,sortable:`kolona koja se može sortirati`};var EJ={};EJ={ascending:`stigande`,ascendingSort:e=>`sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,collapse:`Dölj`,columnSize:e=>`${e.value} pixlar`,descending:`fallande`,descendingSort:e=>`sorterat p\xe5 kolumn ${e.columnName} i fallande ordning`,expand:`Expandera`,resizerDescription:`Tryck på Retur för att börja ändra storlek`,select:`Markera`,selectAll:`Markera allt`,sortable:`sorterbar kolumn`};var DJ={};DJ={ascending:`artan sırada`,ascendingSort:e=>`${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,collapse:`Daralt`,columnSize:e=>`${e.value} piksel`,descending:`azalan sırada`,descendingSort:e=>`${e.columnName} s\xfctuna g\xf6re azalan d\xfczende s\u{131}rala`,expand:`Genişlet`,resizerDescription:`Yeniden boyutlandırmak için Enter'a basın`,select:`Seç`,selectAll:`Tümünü Seç`,sortable:`Sıralanabilir sütun`};var OJ={};OJ={ascending:`висхідний`,ascendingSort:e=>`\u{432}\u{456}\u{434}\u{441}\u{43E}\u{440}\u{442}\u{43E}\u{432}\u{430}\u{43D}\u{43E} \u{437}\u{430} \u{441}\u{442}\u{43E}\u{432}\u{43F}\u{446}\u{435}\u{43C} ${e.columnName} \u{443} \u{432}\u{438}\u{441}\u{445}\u{456}\u{434}\u{43D}\u{43E}\u{43C}\u{443} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{443}`,collapse:`Згорнути`,columnSize:e=>`${e.value} \u{43F}\u{456}\u{43A}\u{441}.`,descending:`низхідний`,descendingSort:e=>`\u{432}\u{456}\u{434}\u{441}\u{43E}\u{440}\u{442}\u{43E}\u{432}\u{430}\u{43D}\u{43E} \u{437}\u{430} \u{441}\u{442}\u{43E}\u{432}\u{43F}\u{446}\u{435}\u{43C} ${e.columnName} \u{443} \u{43D}\u{438}\u{437}\u{445}\u{456}\u{434}\u{43D}\u{43E}\u{43C}\u{443} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{443}`,expand:`Розгорнути`,resizerDescription:`Натисніть Enter, щоб почати зміну розміру`,select:`Вибрати`,selectAll:`Вибрати все`,sortable:`сортувальний стовпець`};var kJ={};kJ={ascending:`升序`,ascendingSort:e=>`\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,collapse:`折叠`,columnSize:e=>`${e.value} \u{50CF}\u{7D20}`,descending:`降序`,descendingSort:e=>`\u{6309}\u{5217} ${e.columnName} \u{964D}\u{5E8F}\u{6392}\u{5E8F}`,expand:`扩展`,resizerDescription:`按 Enter 开始调整大小。`,select:`选择`,selectAll:`全选`,sortable:`可排序的列`};var AJ={};AJ={ascending:`遞增`,ascendingSort:e=>`\u{5DF2}\u{4F9D}\u{64DA}\u{300C}${e.columnName}\u{300D}\u{6B04}\u{905E}\u{589E}\u{6392}\u{5E8F}`,collapse:`收合`,columnSize:e=>`${e.value} \u{50CF}\u{7D20}`,descending:`遞減`,descendingSort:e=>`\u{5DF2}\u{4F9D}\u{64DA}\u{300C}${e.columnName}\u{300D}\u{6B04}\u{905E}\u{6E1B}\u{6392}\u{5E8F}`,expand:`展開`,resizerDescription:`按 Enter 鍵以開始調整大小`,select:`選取`,selectAll:`全選`,sortable:`可排序的欄`};var jJ={};jJ={"ar-AE":Zq,"bg-BG":Qq,"cs-CZ":$q,"da-DK":eJ,"de-DE":tJ,"el-GR":nJ,"en-US":rJ,"es-ES":iJ,"et-EE":aJ,"fi-FI":oJ,"fr-FR":sJ,"he-IL":cJ,"hr-HR":lJ,"hu-HU":uJ,"it-IT":dJ,"ja-JP":fJ,"ko-KR":pJ,"lt-LT":mJ,"lv-LV":hJ,"nb-NO":gJ,"nl-NL":_J,"pl-PL":vJ,"pt-BR":yJ,"pt-PT":bJ,"ro-RO":xJ,"ru-RU":SJ,"sk-SK":CJ,"sl-SI":wJ,"sr-SP":TJ,"sv-SE":EJ,"tr-TR":DJ,"uk-UA":OJ,"zh-CN":kJ,"zh-TW":AJ};var MJ=class extends Hq{isCell(e){return e.type===`cell`||e.type===`rowheader`||e.type===`column`}getKeyBelow(e,t){let n=this.collection.getItem(e);if(!n)return null;if(n.type===`column`){let e=DL(EL(n,this.collection));if(e)return e.key;let t=this.getFirstKey();return t==null||!this.collection.getItem(t)?null:super.getKeyForItemInRowByIndex(t,n.index)}return super.getKeyBelow(e,t)}getKeyAbove(e,t){let n=this.collection.getItem(e);if(!n)return null;if(n.type===`column`){let e=n.parentKey==null?null:this.collection.getItem(n.parentKey);return e&&e.type===`column`?e.key:null}let r=super.getKeyAbove(e,t),i=r==null?null:this.collection.getItem(r);return i&&i.type!==`headerrow`?r:this.isCell(n)?this.collection.columns[n.index].key:this.collection.columns[0].key}findNextColumnKey(e){let t=this.findNextKey(e.key,e=>e.type===`column`);if(t!=null)return t;let n=this.collection.headerRows[e.level];for(let e of EL(n,this.collection))if(e.type===`column`)return e.key;return null}findPreviousColumnKey(e){let t=this.findPreviousKey(e.key,e=>e.type===`column`);if(t!=null)return t;let n=this.collection.headerRows[e.level],r=[...EL(n,this.collection)];for(let e=r.length-1;e>=0;e--){let t=r[e];if(t.type===`column`)return t.key}return null}getKeyRightOf(e){let t=this.collection.getItem(e);return t?t.type===`column`?this.direction===`rtl`?this.findPreviousColumnKey(t):this.findNextColumnKey(t):super.getKeyRightOf(e):null}getKeyLeftOf(e){let t=this.collection.getItem(e);return t?t.type===`column`?this.direction===`rtl`?this.findNextColumnKey(t):this.findPreviousColumnKey(t):super.getKeyLeftOf(e):null}getKeyForSearch(e,t){if(!this.collator)return null;let n=this.collection,r=t??this.getFirstKey();if(r==null)return null;let i=n.getItem(r);i?.type===`cell`&&(r=i.parentKey??null);let a=!1;for(;r!=null;){let o=n.getItem(r);if(!o)return null;if(o.textValue){let t=o.textValue.slice(0,e.length);if(this.collator.compare(t,e)===0)return o.key}for(let r of EL(o,this.collection)){let a=n.columns[r.index];if(n.rowHeaderColumnKeys.has(a.key)&&r.textValue){let a=r.textValue.slice(0,e.length);if(this.collator.compare(a,e)===0)return(t==null?i:n.getItem(t))?.type===`cell`?r.key:o.key}}r=this.getKeyBelow(r),r==null&&!a&&(r=this.getFirstKey(),a=!0)}return null}};function NJ(e){return e&&e.__esModule?e.default:e}function PJ(e,t,n){let{keyboardDelegate:r,isVirtualized:i,layoutDelegate:a,layout:o}=e,s=bL({usage:`search`,sensitivity:`base`}),{direction:c}=rT(),l=t.selectionManager.disabledBehavior,u=(0,x.useMemo)(()=>r||new MJ({collection:t.collection,disabledKeys:t.disabledKeys,disabledBehavior:l,ref:n,direction:c,collator:s,layoutDelegate:a,layout:o}),[r,t.collection,t.disabledKeys,l,n,c,s,a,o]),d=dS(e.id);Kq.set(t,d);let{gridProps:f}=Gq({...e,id:d,keyboardDelegate:u},t,n);i&&(f[`aria-rowcount`]=t.collection.size+t.collection.headerRows.length),t.treeColumn!=null&&(f.role=`treegrid`);let{column:p,direction:m}=t.sortDescriptor||{},h=_T(NJ(jJ),`@react-aria/table`),g=(0,x.useMemo)(()=>{let e=t.collection.columns.find(e=>e.key===p)?.textValue??``;return m&&p?h.format(`${m}Sort`,{columnName:e}):void 0},[m,p,t.collection.columns]),_=BA(g);return jA(()=>{g&&YD(g,`assertive`,500)},[g]),{gridProps:U(f,_,{"aria-describedby":[_[`aria-describedby`],f[`aria-describedby`]].filter(Boolean).join(` `)})}}function FJ(e,t,n){let{node:r,isVirtualized:i,focusMode:a,allowsArrowNavigation:o,shouldSelectOnPressUp:s,onAction:c}=e,{direction:l}=rT(),{keyboardDelegate:u,actions:{onCellAction:d},keyboardNavigationBehavior:f}=Wq.get(t),p=a??(f===`tab`?`cell`:`child`),m=(0,x.useRef)(null),h=(0,x.useRef)(null),g=()=>{if(n.current){let e=aL(n.current);if(p===`child`){let i=BS(kS(n.current));if(HS(n.current)&&n.current!==i)return;let a=kS(n.current);if(!i||i===a.body||i===n.current){let e=h.current;if(e&&m.current===r.key&&zS(n.current,e)){GT(e);return}}let o=t.selectionManager.childFocusStrategy===`last`?IJ(e):e.firstChild();if(o){GT(o);return}}(m.current!=null&&r.key!==m.current||!HS(n.current))&&GT(n.current)}},{itemProps:_,isPressed:v}=CL({selectionManager:t.selectionManager,key:r.key,ref:n,isVirtualized:i,focus:g,shouldSelectOnPressUp:s,onAction:d?()=>d(r.key):c,isDisabled:t.collection.size===0}),y=U(_,{role:`gridcell`,onKeyDownCapture:f!==`tab`||o?e=>{let i=BS(kS(n.current));if(!zS(e.currentTarget,G(e))||t.isKeyboardNavigationDisabled||!n.current||!i)return;let a=aL(n.current);switch(a.currentNode=i,e.key){case`ArrowLeft`:{let t=l===`rtl`?a.nextNode():a.previousNode();if(p===`child`&&t===n.current&&(t=null),e.preventDefault(),e.stopPropagation(),t)GT(t),LA(t,{containingElement:NA(n.current)});else{if(u.getKeyLeftOf?.(r.key)!==r.key){n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type,e.nativeEvent));break}p===`cell`&&l===`rtl`?(GT(n.current),LA(n.current,{containingElement:NA(n.current)})):(a.currentNode=n.current,t=l===`rtl`?a.firstChild():IJ(a),t&&(GT(t),LA(t,{containingElement:NA(n.current)})))}break}case`ArrowRight`:{let t=l===`rtl`?a.previousNode():a.nextNode();if(p===`child`&&t===n.current&&(t=null),e.preventDefault(),e.stopPropagation(),t)GT(t),LA(t,{containingElement:NA(n.current)});else{if(u.getKeyRightOf?.(r.key)!==r.key){n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type,e.nativeEvent));break}p===`cell`&&l===`ltr`?(GT(n.current),LA(n.current,{containingElement:NA(n.current)})):(a.currentNode=n.current,t=l===`rtl`?IJ(a):a.firstChild(),t&&(GT(t),LA(t,{containingElement:NA(n.current)})))}break}case`ArrowUp`:case`ArrowDown`:!e.altKey&&zS(n.current,G(e))&&(e.stopPropagation(),e.preventDefault(),n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type,e.nativeEvent)))}}:void 0,onKeyDown:f===`tab`?e=>{let r=BS(kS(n.current));if(zS(e.currentTarget,G(e))&&!t.isKeyboardNavigationDisabled&&n.current&&r){if(f===`tab`&&G(e)!==n.current&&e.key!==`Tab`)e.stopPropagation();else if(e.key===`Tab`&&f===`tab`){let t=aL(n.current,{tabbable:!0});t.currentNode=r,(e.shiftKey?t.previousNode():t.nextNode())&&e.stopPropagation()}}}:void 0,"aria-colspan":r.colSpan,"aria-colindex":r.colIndex==null?void 0:r.colIndex+1,colSpan:i?void 0:r.colSpan,onFocus:e=>{if(m.current=r.key,G(e)!==n.current){let i=G(e);n.current&&zS(n.current,i)&&(h.current=i),YC()||t.selectionManager.setFocusedKey(r.key)}else p===`child`&&e.relatedTarget&&zS(n.current,e.relatedTarget)||requestAnimationFrame(()=>{p===`child`&&BS(kS(n.current))===n.current&&g()})},...p===`child`&&f===`tab`?{tabIndex:-1}:{}});return i&&(y[`aria-colindex`]=(r.colIndex??r.index)+1),s&&y.tabIndex!=null&&y.onPointerDown==null&&(y.onPointerDown=e=>{let t=e.currentTarget,n=t.getAttribute(`tabindex`);t.removeAttribute(`tabindex`),requestAnimationFrame(()=>{n!=null&&t.setAttribute(`tabindex`,n)})}),{gridCellProps:y,isPressed:v}}function IJ(e){let t=null,n=null;do n=e.lastChild(),n&&(t=n);while(n);return t}function LJ(e){return e&&e.__esModule?e.default:e}function RJ(e,t,n){let{node:r}=e,i=r.props.allowsSorting,{gridCellProps:a}=FJ({focusMode:`child`,...e},t,n),o=r.props.isSelectionCell&&t.selectionManager.selectionMode===`single`,{pressProps:s,isPressed:c}=tD({isDisabled:!i||o,onPress(){t.sort(r.key)},ref:n}),{focusableProps:l}=dE({},n),u,d=t.sortDescriptor?.column===r.key,f=t.sortDescriptor?.direction;r.props.allowsSorting&&!yC()&&(u=d?f:`none`);let p=_T(LJ(jJ),`@react-aria/table`),m;i&&(m=`${p.format(`sortable`)}`,d&&f&&yC()&&(m=`${m}, ${p.format(f)}`));let h=BA(m),g=t.collection.size===0;return(0,x.useEffect)(()=>{g&&t.selectionManager.focusedKey===r.key&&t.selectionManager.setFocusedKey(null)},[g,t.selectionManager,r.key]),{columnHeaderProps:{...U(l,a,s,h,g?{tabIndex:-1}:null),role:`columnheader`,id:Jq(t,r.key),"aria-colspan":r.colSpan&&r.colSpan>1?r.colSpan:void 0,"aria-sort":u},isPressed:c}}function zJ(e,t,n){let{node:r,isVirtualized:i,shouldSelectOnPressUp:a,onAction:o}=e,{actions:s,shouldSelectOnPressUp:c}=Wq.get(t),l=s.onRowAction?()=>s.onRowAction?.(r.key):o,{itemProps:u,...d}=CL({selectionManager:t.selectionManager,key:r.key,ref:n,isVirtualized:i,shouldSelectOnPressUp:c||a,onAction:l||r?.props?.onAction?Kx(r?.props?.onAction,l):void 0,isDisabled:t.collection.size===0}),f=t.selectionManager.isSelected(r.key),p={role:`row`,"aria-selected":t.selectionManager.selectionMode===`none`?void 0:f,"aria-disabled":d.isDisabled||void 0,...u};return i&&(p[`aria-rowindex`]=r.index+1),{rowProps:p,...d}}function BJ(e){return e&&e.__esModule?e.default:e}var VJ={expand:{ltr:`ArrowRight`,rtl:`ArrowLeft`},collapse:{ltr:`ArrowLeft`,rtl:`ArrowRight`}};function HJ(e,t,n){let{node:r,isVirtualized:i}=e,{rowProps:a,...o}=zJ(e,t,n),{direction:s}=rT();i&&t.treeColumn==null?a[`aria-rowindex`]=r.index+1+t.collection.headerRows.length:delete a[`aria-rowindex`];let c=t.treeColumn!=null&&(t.expandedKeys===`all`||t.expandedKeys.has(r.key)),l=_T(BJ(jJ),`@react-aria/table`),u=Jw({"aria-label":c?l.format(`collapse`):l.format(`expand`),"aria-labelledby":Xq(t,r.key)}),d={},f={};if(t.treeColumn!=null){let e=t.collection.getItem(r.key);if(e!=null){let n=UJ(t.collection,r),i=e.props?.hasChildRows||e.props?.UNSTABLE_childItems||n?.type!==`cell`,a=t.collection.getItem(r.parentKey),c=a.type===`tablebody`||a.type===`body`,l=UJ(t.collection,a);for(;l&&l.type!==`item`&&l.prevKey!=null;)l=t.collection.getItem(l.prevKey);d={onKeyDown:n=>{n.key===VJ.expand[s]&&t.selectionManager.focusedKey===e.key&&i&&t.expandedKeys!==`all`&&!t.expandedKeys.has(e.key)?(t.toggleKey(e.key),n.stopPropagation()):n.key===VJ.collapse[s]&&t.selectionManager.focusedKey===e.key&&(t.expandedKeys===`all`?t.expandedKeys===`all`&&(t.toggleKey(e.key),n.stopPropagation()):i&&t.expandedKeys.has(e.key)?(t.toggleKey(e.key),n.stopPropagation()):!t.expandedKeys.has(e.key)&&e.parentKey!=null&&e.level>0&&(t.selectionManager.setFocusedKey(e.parentKey),n.stopPropagation()))},"aria-expanded":i?t.expandedKeys===`all`||t.expandedKeys.has(r.key):void 0,"aria-level":e.level+1,"aria-posinset":e.index-(c?0:t.collection.columnCount)+1,"aria-setsize":l.index-(c?0:t.collection.columnCount)+1},f={isDisabled:o.isDisabled,onPress:()=>{o.isDisabled||(t.toggleKey(r.key),t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(r.key))},excludeFromTabOrder:!0,preventFocusOnPress:!0,"data-react-aria-prevent-focus":!0,...u}}}let p=kC(r.props),m=o.hasAction?p:{};return{rowProps:{...U(a,d,m),"aria-labelledby":Xq(t,r.key)},expandButtonProps:f,...o}}function UJ(e,t){return`lastChildKey`in t?t.lastChildKey==null?null:e.getItem(t.lastChildKey):Array.from(t.childNodes).findLast(e=>e.parentKey===t.key)}function WJ(e,t,n){let{node:r,isVirtualized:i}=e,a={role:`row`};return i&&t.treeColumn==null&&(a[`aria-rowindex`]=r.index+1),{rowProps:a}}function GJ(e,t,n){let{gridCellProps:r,isPressed:i}=FJ(e,t,n),a=e.node.column?.key;return a!=null&&t.collection.rowHeaderColumnKeys.has(a)&&(r.role=`rowheader`,r.id=Yq(t,e.node.parentKey,a)),{gridCellProps:r,isPressed:i}}function KJ(e){return e&&e.__esModule?e.default:e}function qJ(e,t){let{key:n}=e,{checkboxProps:r}=VG(e,t);return{checkboxProps:{...r,"aria-labelledby":`${r.id} ${Xq(t,n)}`}}}function JJ(e){let{isEmpty:t,isSelectAll:n,selectionMode:r}=e.selectionManager;return{checkboxProps:{"aria-label":_T(KJ(jJ),`@react-aria/table`).format(r===`single`?`select`:`selectAll`),isSelected:n,isDisabled:r!==`multiple`||e.collection.size===0||e.collection.rows.length===1&&e.collection.rows[0].type===`loader`,isIndeterminate:!t&&!n,onChange:()=>e.selectionManager.toggleSelectAll()}}}function YJ(){return{rowGroupProps:{role:`rowgroup`}}}function XJ(){return YJ()}var ZJ=class extends AT{withExpandedKeys(e){let t=this.clone();return t.expandedKeys=e,t.frozen=this.frozen,t.rows=Array.from(t.getRows()),t}addNode(e){super.addNode(e),this.columnsDirty||=e.type===`column`,e.type===`tableheader`&&(this.head=e)}getRows(){let e=[];for(let t of this)(t.type===`tablebody`||t.type===`tablefooter`)&&e.push(...this.getChildren(t.key));return e}get body(){for(let e of this)if(e.type===`tablebody`)return e;return new gY(-2)}commit(e,t,n=!1){this.updateColumns(n),this.firstKey=e,this.lastKey=t,this.rows=[];for(let e of this.getRows()){let t=e.lastChildKey;if(t!=null){let e=this.getItem(t);for(;e&&e.type!==`cell`;)e=e.prevKey==null?null:this.getItem(e.prevKey);if(e){let t=(e.colIndex??e.index)+(e.colSpan??1);if(t!==this.columns.length&&!n)throw Error(`Cell count must match column count. Found ${t} cells and ${this.columns.length} columns.`)}}this.rows.push(e)}super.commit(e,t,n)}updateColumns(e){if(!this.columnsDirty)return;this.rowHeaderColumnKeys=new Set,this.columns=[];let t=new Map,n=e=>{e.type===`column`&&(t.set(e.key,e),e.hasChildNodes||(e.index=this.columns.length,this.columns.push(e),e.props.isRowHeader&&this.rowHeaderColumnKeys.add(e.key)));for(let t of this.getChildren(e.key))n(t)};for(let e of this.getChildren(this.head.key))n(e);if(this.headerRows=Iq(t,this.columns),this.columnsDirty=!1,this.rowHeaderColumnKeys.size===0&&this.columns.length>0&&!e)throw Error(`A table must have at least one Column with the isRowHeader prop set to true`)}get columnCount(){return this.columns.length}*[Symbol.iterator](){let e=this.firstKey;for(;e!=null;){let t=this.getItem(e);t&&(yield t),e=t?.nextKey??null}}getFirstKey(){for(let e of this)if(e.type===`tablebody`)return e.firstChildKey??null;return null}getLastKey(){let e=this.lastKey;if(e==null)return null;let t=this.getItem(e);for(;t?.lastChildKey!=null&&(t.type!==`item`||this.expandedKeys.has(t.key));)t=this.getItem(t.lastChildKey);return t?.key}getKeyAfter(e){let t=this.getItem(e);if(t?.type===`column`)return t.nextKey??null;if(!t)return null;if(t.type===`item`&&t.firstChildKey!=null&&this.expandedKeys.has(t.key)){let e=this.getItem(t.firstChildKey);for(;e;){if(e.type===`item`)return e.key;e=e.nextKey==null?null:this.getItem(e.nextKey)}}return super.getKeyAfter(e)}getKeyBefore(e){let t=this.getItem(e);if(t?.type===`column`)return t.prevKey??null;if(!t)return null;let n=null;if(t.prevKey!=null){for(t=this.getItem(t.prevKey);t&&(t.type!==`item`||this.expandedKeys.has(t.key))&&t.lastChildKey!=null;)t=this.getItem(t.lastChildKey);n=t?.key??null}return n??=t.parentKey,n!=null&&this.getItem(n)?.type===`tableheader`?null:n}getChildren(e){let t=this.getItem(e);if(!t){for(let t of this.headerRows)if(t.key===e)return t.childNodes}let n=this;return t?.type===`tablebody`||t?.type===`tablefooter`?{*[Symbol.iterator](){let e=t.firstChildKey,r=e==null?null:n.getItem(e);for(;r;){yield r;let e=n.getKeyAfter(r.key);if(r=e==null?null:n.getItem(e),r&&r.parentKey===t.parentKey)break}}}:{*[Symbol.iterator](){let t=n.getItem(e),r=t?.firstChildKey==null?null:n.getItem(t.firstChildKey);for(;r&&(yield r,r=r.nextKey==null?null:n.getItem(r.nextKey),t?.type!==`item`||r?.type===`cell`););}}}clone(){let e=super.clone();return e.headerRows=this.headerRows,e.columns=this.columns,e.rows=this.rows,e.rowHeaderColumnKeys=this.rowHeaderColumnKeys,e.head=this.head,e}getTextValue(e){let t=this.getItem(e);if(!t)return``;if(t.textValue)return t.textValue;let n=this.rowHeaderColumnKeys,r=[];for(let t of this.getChildren(e)){let e=this.columns[t.index];if(n.has(e.key)&&t.textValue&&r.push(t.textValue),r.length===n.size)break}return r.join(` `)}constructor(...e){super(...e),this.headerRows=[],this.columns=[],this.rows=[],this.rowHeaderColumnKeys=new Set,this.head=new sY(-1),this.columnsDirty=!0,this.expandedKeys=new Set}},QJ=(0,x.createContext)(null),$J=(0,x.createContext)(null),eY=(0,x.createContext)(null),tY=(0,x.createContext)(null),nY=(0,x.forwardRef)(function(e,t){[e,t]=SS(e,t,$J);let n=LL(e),{selectionBehavior:r,selectionMode:i,disallowEmptySelection:a}=n,o=!!e.dragAndDropHooks?.useDraggableCollectionState,s=(0,x.useMemo)(()=>({selectionBehavior:i===`none`?null:r,selectionMode:i,disallowEmptySelection:a,allowsDragging:o}),[r,i,a,o]),c=x.createElement(oY.Provider,{value:s},x.createElement(PE,e));return x.createElement(SE,{content:c,createCollection:()=>new ZJ},r=>x.createElement(aY,{props:e,forwardedRef:t,selectionState:n,collection:r}))}),rY=(0,x.forwardRef)(function(e,t){let{isVirtualized:n}=(0,x.useContext)(RE);return n?x.createElement(W.div,{...e,ref:t}):x.createElement(W.table,{...e,ref:t})}),iY={expand:{ltr:`ArrowRight`,rtl:`ArrowLeft`},collapse:{ltr:`ArrowLeft`,rtl:`ArrowRight`}};function aY({props:e,forwardedRef:t,selectionState:n,collection:r}){[e,t]=SS(e,t,CT);let{shouldUseVirtualFocus:i,disallowTypeAhead:a,filter:o,...s}=e,c=(0,x.useContext)(QJ);t=gS((0,x.useMemo)(()=>mS(t,c?.tableRef),[t,c?.tableRef]));let[l,u]=xT(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,e.onExpandedChange);r=(0,x.useMemo)(()=>r.withExpandedKeys(l),[r,l]);let d=Bq({...s,collection:r,children:void 0,UNSAFE_selectionState:n,expandedKeys:l,onExpandedChange:u}),f=Vq(d,o),{isVirtualized:p,layoutDelegate:m,dropTargetDelegate:h,CollectionRoot:g}=(0,x.useContext)(RE),{dragAndDropHooks:_}=e,{gridProps:v}=PJ({...s,layoutDelegate:m,isVirtualized:p},f,t),y=f.selectionManager,b=!!_?.useDraggableCollectionState,S=!!_?.useDroppableCollectionState;(0,x.useRef)(b),(0,x.useRef)(S),(0,x.useEffect)(()=>{},[b,S]);let C,w,T,E=!1,D=null,O=(0,x.useRef)(null),{direction:k}=rT(),[A]=(0,x.useState)(()=>new Mq);if(b&&_){C=_.useDraggableCollectionState({collection:f.collection,selectionManager:y,preview:_.renderDragPreview?O:void 0}),_.useDraggableCollection({},C,t);let e=_.DragPreview;D=_.renderDragPreview?x.createElement(e,{ref:O},_.renderDragPreview):null}if(S&&_){w=_.useDroppableCollectionState({collection:f.collection,selectionManager:y});let e=new vL({collection:f.collection,disabledKeys:y.disabledKeys,disabledBehavior:y.disabledBehavior,ref:t,layoutDelegate:m}),n=_.dropTargetDelegate||h||new _.ListDropTargetDelegate(r.rows,t);A.setup(n,d,k),T=_.useDroppableCollection({keyboardDelegate:e,dropTargetDelegate:A,onDropActivate:e=>{if(e.target.type===`item`){let t=e.target.key,n=d.collection.getItem(t),r=l.has(t);n&&n.hasChildNodes&&(!r||_?.isVirtualDragging?.())&&d.toggleKey(t)}},onKeyDown:e=>{let t=w?.target;if(t&&t.type===`item`&&t.dropPosition===`on`){let n=d.collection.getItem(t.key);(e.key===iY.expand[k]&&n?.hasChildNodes&&!d.expandedKeys.has(t.key)||e.key===iY.collapse[k]&&n?.hasChildNodes&&d.expandedKeys.has(t.key))&&d.toggleKey(t.key)}}},w,t),E=w.isDropTarget({type:`root`})}let{focusProps:j,isFocused:M,isFocusVisible:ee}=dD(),N=yS({...e,children:void 0,defaultClassName:`react-aria-Table`,values:{isDropTarget:E,isFocused:M,isFocusVisible:ee,state:f}}),P=!(!b||C?.isDisabled),te=N.style,F=null;c&&(F=c.useTableColumnResizeState({tableWidth:c.tableWidth},f),p||(te={...te,tableLayout:`fixed`,width:`min-content`}));let ne=K(e,{global:!0});return x.createElement(vS,{values:[[eY,f],[tY,F],[kI,{dragAndDropHooks:_,dragState:C,dropState:w}],[AI,{render:EY}],[CT,null],[wT,null]]},x.createElement(qI,null,x.createElement(rY,{...U(ne,N,v,j,T?.collectionProps),style:te,ref:t,slot:e.slot||void 0,onScroll:e.onScroll,"data-allows-dragging":P||void 0,"data-drop-target":E||void 0,"data-focused":M||void 0,"data-focus-visible":ee||void 0},x.createElement(LI,null,x.createElement(g,{collection:f.collection,scrollRef:c?.scrollRef??t,persistedKeys:NI(y,_,w)})))),D)}var oY=(0,x.createContext)(null),sY=class extends TT{static{this.type=`tableheader`}},cY=(0,x.forwardRef)(function(e,t){let{isVirtualized:n}=(0,x.useContext)(RE);return n?x.createElement(W.div,{...e,ref:t}):x.createElement(W.thead,{...e,ref:t})}),lY=jE(sY,(e,t)=>{let n=(0,x.useContext)(eY).collection,r=FT({items:n.headerRows,children:(0,x.useCallback)(e=>{switch(e.type){case`headerrow`:return x.createElement(dY,{item:e});default:throw Error(`Unsupported node type in TableHeader: `+e.type)}},[])}),{rowGroupProps:i}=XJ(),{hoverProps:a,isHovered:o}=_D({onHoverStart:e.onHoverStart,onHoverChange:e.onHoverChange,onHoverEnd:e.onHoverEnd}),s=yS({...e,children:void 0,defaultClassName:`react-aria-TableHeader`,values:{isHovered:o}});return x.createElement(cY,{...U(K(e,{global:!0}),i,a),...s,ref:t,"data-hovered":o||void 0},r)},e=>x.createElement(PE,{dependencies:e.dependencies,items:e.columns},e.children)),uY=(0,x.forwardRef)(function(e,t){let{isVirtualized:n}=(0,x.useContext)(RE);return n?x.createElement(`div`,{...e,ref:t}):x.createElement(`tr`,{...e,ref:t})});function dY({item:e}){let t=(0,x.useRef)(null),n=(0,x.useContext)(eY),{isVirtualized:r,CollectionBranch:i}=(0,x.useContext)(RE),{rowProps:a}=WJ({node:e,isVirtualized:r},n,t),{checkboxProps:o}=JJ(n);return x.createElement(uY,{...a,ref:t},x.createElement(vS,{values:[[yj,{slots:{selection:o}}],[bj,{slots:{selection:o}}]]},x.createElement(i,{collection:n.collection,parent:e})))}var fY=class extends TT{static{this.type=`column`}},pY=(0,x.forwardRef)(function(e,t){let{isVirtualized:n}=(0,x.useContext)(RE);return n?x.createElement(W.div,{...e,ref:t}):x.createElement(W.th,{...e,ref:t})}),mY=AE(fY,(e,t,n)=>{let r=gS(t),i=(0,x.useContext)(eY),{isVirtualized:a}=(0,x.useContext)(RE),{columnHeaderProps:o,isPressed:s}=RJ({node:n,isVirtualized:a,focusMode:e.focusMode,allowsArrowNavigation:e.allowsArrowNavigation},i,r),{isFocused:c,isFocusVisible:l,focusProps:u}=dD(),d=(0,x.useContext)(tY),f=!1;d&&(f=d.resizingColumn===n.key);let{hoverProps:p,isHovered:m}=_D({isDisabled:!e.allowsSorting}),h=yS({...e,id:void 0,children:n.rendered,defaultClassName:`react-aria-Column`,values:{isHovered:m,isPressed:s,isFocused:c,isFocusVisible:l,allowsSorting:n.props.allowsSorting,sortDirection:i.sortDescriptor?.column===n.key?i.sortDescriptor.direction:void 0,isResizing:f,startResize:()=>{if(d)d.startResize(n.key),i.setKeyboardNavigationDisabled(!0);else throw Error(`Wrap your <Table> in a <ResizableTableContainer> to enable column resizing`)},sort:e=>{i.sort(n.key,e)}}}),g=h.style;d&&(g={...g,width:d.getColumnWidth(n.key)});let _=K(e,{global:!0});return delete _.id,x.createElement(pY,{...U(_,o,u,p),...h,style:g,ref:r,"data-hovered":m||void 0,"data-pressed":s||void 0,"data-focused":c||void 0,"data-focus-visible":l||void 0,"data-resizing":f||void 0,"data-allows-sorting":n.props.allowsSorting||void 0,"data-sort-direction":i.sortDescriptor?.column===n.key?i.sortDescriptor.direction:void 0},x.createElement(vS,{values:[[hY,{column:n,triggerRef:r}],[RE,IE]]},h.children))}),hY=(0,x.createContext)(null),gY=class extends ET{static{this.type=`tablebody`}},_Y=(0,x.forwardRef)(function(e,t){let{isVirtualized:n}=(0,x.useContext)(RE);return n?x.createElement(W.div,{...e,ref:t}):x.createElement(W.tbody,{...e,ref:t})}),vY=jE(gY,(e,t,n)=>{let r=(0,x.useContext)(eY),{isVirtualized:i}=(0,x.useContext)(RE),a=r.collection,{CollectionBranch:o}=(0,x.useContext)(RE),{dragAndDropHooks:s,dropState:c}=(0,x.useContext)(kI),l=!!s?.useDroppableCollectionState&&!c?.isDisabled,u=l&&!!c&&(c.isDropTarget({type:`root`})??!1),d=a.size===0,f={isDropTarget:u,isEmpty:d},p=yS({...e,id:void 0,children:void 0,defaultClassName:`react-aria-TableBody`,values:f}),m,h=a.columnCount;if(d&&e.renderEmptyState&&r){let t={},n={},r={};i?(n[`aria-colspan`]=h,r={display:`contents`}):n.colSpan=h,m=x.createElement(xY,{role:`row`,...t,style:r},x.createElement(wY,{role:`rowheader`,...n,style:r},e.renderEmptyState(f)))}let{rowGroupProps:g}=XJ(),_=K(e,{global:!0});return x.createElement(_Y,{...U(_,p,g),ref:t,"data-empty":d||void 0},l&&x.createElement(jY,null),x.createElement(o,{collection:a,parent:n,renderDropIndicator:MI(s,c)}),m)});(class extends ET{static{this.type=`tablefooter`}});var yY=(0,x.createContext)({isFocusVisibleWithinRow:!1}),bY=class extends TT{static{this.type=`item`}filter(e,t,n){let r=e.getChildren(this.key);for(let i of r)if(n(i.textValue,i)){let n=this.clone();return t.addDescendants(n,e),n}return null}},xY=(0,x.forwardRef)(function(e,t){let{isVirtualized:n}=(0,x.useContext)(RE);return n?x.createElement(W.div,{...e,ref:t}):x.createElement(W.tr,{...e,ref:t})}),SY=jE(bY,(e,t,n)=>{let r=gS(t),i=(0,x.useContext)(eY),{dragAndDropHooks:a,dragState:o,dropState:s}=(0,x.useContext)(kI),{isVirtualized:c,CollectionBranch:l}=(0,x.useContext)(RE),u=o&&!(o.isDisabled||o.selectionManager.isDisabled(n.key)),{rowProps:d,expandButtonProps:f,...p}=HJ({node:n,shouldSelectOnPressUp:!!o,isVirtualized:c},i,r),{isFocused:m,isFocusVisible:h,focusProps:g}=dD(),{isFocusVisible:_,focusProps:v}=dD({within:!0}),{hoverProps:y,isHovered:b}=_D({isDisabled:!p.allowsSelection&&!p.hasAction&&!u,onHoverStart:e.onHoverStart,onHoverChange:e.onHoverChange,onHoverEnd:e.onHoverEnd}),{checkboxProps:S}=qJ({key:n.key},i),C;o&&a&&(C=a.useDraggableItem({key:n.key,hasDragButton:!0},o));let w,T=(0,x.useRef)(null),{visuallyHiddenProps:E}=HA();s&&a&&(w=a.useDropIndicator({target:{type:`item`,key:n.key,dropPosition:`on`}},s,T));let D=(0,x.useRef)(null);(0,x.useEffect)(()=>{o&&D.current},[]);let O=o&&o.isDragging(n.key),{children:k,...A}=e,j=e.hasChildItems||i.collection.getItem(n.lastChildKey)?.type!==`cell`,M=j&&i.expandedKeys.has(n.key),ee=yS({...A,id:void 0,defaultClassName:`react-aria-Row`,defaultStyle:{"--table-row-level":n.level+1},values:{...p,state:i,isHovered:b,isFocused:m,isFocusVisible:h,selectionMode:i.selectionManager.selectionMode,selectionBehavior:i.selectionManager.selectionBehavior,isDragging:O,isDropTarget:w?.isDropTarget,isFocusVisibleWithin:_,id:n.key,hasChildItems:j,isExpanded:M,level:n.level+1}}),N=K(e,{global:!0});return delete N.id,delete N.onClick,x.createElement(x.Fragment,null,w&&!w.isHidden&&x.createElement(xY,{role:`row`,style:{height:0}},x.createElement(wY,{role:`gridcell`,colSpan:i.collection.columnCount,style:{padding:0}},x.createElement(`div`,{role:`button`,...E,...w.dropIndicatorProps,ref:T}))),x.createElement(xY,{...U(N,ee,d,g,y,C?.dragProps,v),ref:r,"data-disabled":p.isDisabled||void 0,"data-selected":p.isSelected||void 0,"data-hovered":b||void 0,"data-focused":p.isFocused||void 0,"data-focus-visible":h||void 0,"data-pressed":p.isPressed||void 0,"data-dragging":O||void 0,"data-drop-target":w?.isDropTarget||void 0,"data-selection-mode":i.selectionManager.selectionMode===`none`?void 0:i.selectionManager.selectionMode,"data-focus-visible-within":_||void 0,"data-expanded":M||void 0,"data-has-child-items":j||void 0,"data-level":n.level+1},x.createElement(vS,{values:[[yj,{slots:{[_S]:{},selection:S}}],[bj,{slots:{[_S]:{},selection:S}}],[$D,{slots:{[_S]:{},chevron:f,drag:{...C?.dragButtonProps,ref:D,style:{pointerEvents:`none`}}}}],[RI,{isSelected:p.isSelected}],[yY,{isFocusVisibleWithinRow:_}]]},x.createElement(l,{collection:i.collection,parent:n}))))},e=>{if(e.id==null&&typeof e.children==`function`)throw Error(`No id detected for the Row element. The Row element requires a id to be provided to it when the cells are rendered dynamically.`);let t=[e.value].concat(e.dependencies);return x.createElement(PE,{dependencies:t,items:e.columns,idScope:e.id},e.children)}),CY=class extends TT{static{this.type=`cell`}},wY=(0,x.forwardRef)(function(e,t){let{isVirtualized:n}=(0,x.useContext)(RE);return n?x.createElement(W.div,{...e,ref:t}):x.createElement(W.td,{...e,ref:t})}),TY=AE(CY,(e,t,n)=>{let r=gS(t),i=(0,x.useContext)(eY),{dragState:a}=(0,x.useContext)(kI),{isVirtualized:o}=(0,x.useContext)(RE);n.column=i.collection.columns[n.index];let{gridCellProps:s,isPressed:c}=GJ({node:n,shouldSelectOnPressUp:!!a,isVirtualized:o,focusMode:e.focusMode,allowsArrowNavigation:e.allowsArrowNavigation},i,r),{isFocused:l,isFocusVisible:u,focusProps:d}=dD(),{hoverProps:f,isHovered:p}=_D({}),{isFocusVisibleWithinRow:m}=(0,x.useContext)(yY),h=n.parentKey!=null&&i.selectionManager.isSelected(n.parentKey),g=n.colIndex||n.index,_=i.collection.getItem(n.parentKey),v=_.props.hasChildItems||i.collection.getItem(_.lastChildKey)?.type!==`cell`,y=v&&i.expandedKeys.has(n.parentKey),b=i.selectionManager.isDisabled(n.parentKey),S=yS({...e,id:void 0,defaultClassName:`react-aria-Cell`,values:{isFocused:l,isFocusVisible:u,isFocusVisibleWithinRow:m,isPressed:c,isHovered:p,isSelected:h,id:n.key,columnIndex:g,hasChildItems:v,isExpanded:y,isDisabled:b,level:_.level+1,isTreeColumn:n.column.key===i.treeColumn}}),C=K(e,{global:!0});return delete C.id,x.createElement(wY,{...U(C,S,s,d,f),ref:r,"data-focused":l||void 0,"data-focus-visible":u||void 0,"data-focus-visible-within-row":m||void 0,"data-pressed":c||void 0,"data-selected":h||void 0,"data-column-index":g,"data-expanded":y||void 0,"data-has-child-items":v||void 0,"data-level":_.level+1,"data-tree-column":n.column.key===i.treeColumn||void 0,"data-disabled":b||void 0},x.createElement(RE.Provider,{value:IE},S.children))});function EY(e,t){t=gS(t);let{dragAndDropHooks:n,dropState:r}=(0,x.useContext)(kI),i=(0,x.useRef)(null),{dropIndicatorProps:a,isHidden:o,isDropTarget:s}=n.useDropIndicator(e,r,i);if(o)return null;let c=r&&e.target.type===`item`?(r.collection.getItem(e.target.key)?.level||0)+1:1;return x.createElement(AY,{...e,dropIndicatorProps:a,isDropTarget:s,buttonRef:i,level:c,ref:t})}var DY=(0,x.forwardRef)(function(e,t){let{isVirtualized:n}=(0,x.useContext)(RE);return n?x.createElement(W.div,{...e,ref:t}):x.createElement(W.tr,{...e,ref:t})}),OY=(0,x.forwardRef)(function(e,t){let{isVirtualized:n}=(0,x.useContext)(RE);return n?x.createElement(W.div,{...e,ref:t}):x.createElement(W.td,{...e,ref:t})});function kY(e,t){let{dropIndicatorProps:n,isDropTarget:r,buttonRef:i,level:a,...o}=e,s=(0,x.useContext)(eY),{visuallyHiddenProps:c}=HA(),l=yS({...o,defaultClassName:`react-aria-DropIndicator`,defaultStyle:{"--table-row-level":a+1},values:{isDropTarget:r}});return x.createElement(DY,{...K(e,{global:!0}),...l,role:`row`,ref:t,"data-drop-target":r||void 0,"aria-level":a},x.createElement(OY,{role:`gridcell`,colSpan:s.collection.columnCount,style:{padding:0}},x.createElement(`div`,{...c,role:`button`,...n,ref:i}),l.children))}var AY=(0,x.forwardRef)(kY);function jY(){let e=(0,x.useContext)(eY),{dragAndDropHooks:t,dropState:n}=(0,x.useContext)(kI),r=(0,x.useRef)(null),{dropIndicatorProps:i}=t.useDropIndicator({target:{type:`root`}},n,r),a=n.isDropTarget({type:`root`}),{visuallyHiddenProps:o}=HA();return!a&&i[`aria-hidden`]?null:x.createElement(xY,{role:`row`,"aria-hidden":i[`aria-hidden`],style:{height:0}},x.createElement(wY,{role:`gridcell`,colSpan:e.collection.columnCount,style:{padding:0}},x.createElement(`div`,{role:`button`,...o,...i,ref:r})))}AE(DT,function(e,t,n){let r=(0,x.useContext)(eY),{isVirtualized:i}=(0,x.useContext)(RE),{isLoading:a,onLoadMore:o,scrollOffset:s,...c}=e,l=r.collection.columns.length,u=(0,x.useRef)(null);JL((0,x.useMemo)(()=>({onLoadMore:o,collection:r?.collection,sentinelRef:u,scrollOffset:s}),[o,s,r?.collection]),u);let d=yS({...c,id:void 0,children:n.rendered,defaultClassName:`react-aria-TableLoadingIndicator`,defaultStyle:{"--table-row-level":n.level+1},values:void 0}),f={},p={},m={};return i?(p[`aria-colspan`]=l,m={display:`contents`}):p.colSpan=l,x.createElement(x.Fragment,null,x.createElement(xY,{style:{height:0},inert:PL(!0)},x.createElement(wY,{style:{padding:0,border:0}},x.createElement(`div`,{"data-testid":`loadMoreSentinel`,ref:u,style:{position:`relative`,height:1,width:1}}))),a&&d.children&&x.createElement(xY,{...U(K(e,{global:!0}),f),...d,role:`row`,ref:t,"aria-level":n.level+1,"data-level":n.level+1},x.createElement(wY,{role:`rowheader`,...p,style:m},d.children)))});var MY=new WeakMap;function NY(e,t,n){return e?(typeof t==`string`&&(t=t.replace(/\s+/g,``)),`${MY.get(e)}-${n}-${t}`):``}function PY(e,t,n){let{key:r,isDisabled:i,shouldSelectOnPressUp:a}=e,{selectionManager:o,selectedKey:s}=t,c=r===s,l=i||t.isDisabled||t.selectionManager.isDisabled(r),u=t.collection.getItem(r),{itemProps:d,isPressed:f}=CL({selectionManager:o,key:r,ref:n,isDisabled:l,shouldSelectOnPressUp:a??u?.props.href!=null,linkBehavior:`selection`}),p=NY(t,r,`tab`),m=NY(t,r,`tabpanel`),{tabIndex:h}=d,g=K(u?.props,{labelable:!0});delete g.id;let _=AC(u?.props),{focusableProps:v}=dE({...u?.props,isDisabled:l},n);return{tabProps:U(g,v,_,d,{id:p,"aria-selected":c,"aria-disabled":l||void 0,"aria-controls":c?m:void 0,tabIndex:l?void 0:h,role:`tab`}),isSelected:c,isDisabled:l,isPressed:f}}function FY(e,t,n){let r=jG(n)?void 0:0,i=NY(t,e.id??t?.selectedKey,`tabpanel`);return{tabPanelProps:U(Jw({...e,id:i,"aria-labelledby":NY(t,t?.selectedKey,`tab`)}),{tabIndex:r,role:`tabpanel`,"aria-describedby":e[`aria-describedby`],"aria-details":e[`aria-details`]})}}var IY=class{constructor(e,t,n,r=new Set){this.collection=e,this.flipDirection=t===`rtl`,this.disabledKeys=r,this.tabDirection=n===`horizontal`}getKeyLeftOf(e){return this.flipDirection?this.getNextKey(e):this.getPreviousKey(e)}getKeyRightOf(e){return this.flipDirection?this.getPreviousKey(e):this.getNextKey(e)}isDisabled(e){return this.disabledKeys.has(e)||!!this.collection.getItem(e)?.props?.isDisabled}getFirstKey(){let e=this.collection.getFirstKey();return e!=null&&this.isDisabled(e)&&(e=this.getNextKey(e)),e}getLastKey(){let e=this.collection.getLastKey();return e!=null&&this.isDisabled(e)&&(e=this.getPreviousKey(e)),e}getKeyAbove(e){return this.tabDirection?null:this.getPreviousKey(e)}getKeyBelow(e){return this.tabDirection?null:this.getNextKey(e)}getNextKey(e){let t=e;do t=this.collection.getKeyAfter(t),t??=this.collection.getFirstKey();while(t!=null&&this.isDisabled(t)&&t!==e);return t}getPreviousKey(e){let t=e;do t=this.collection.getKeyBefore(t),t??=this.collection.getLastKey();while(t!=null&&this.isDisabled(t)&&t!==e);return t}};function LY(e,t,n){let{orientation:r=`horizontal`,keyboardActivation:i=`automatic`}=e,{collection:a,selectionManager:o,disabledKeys:s}=t,{direction:c}=rT(),{collectionProps:l}=gL({ref:n,selectionManager:o,keyboardDelegate:(0,x.useMemo)(()=>new IY(a,c,r,s),[a,s,r,c]),selectOnFocus:i===`automatic`,disallowEmptySelection:!0,scrollRef:n,linkBehavior:`selection`}),u=dS();return MY.set(t,u),{tabListProps:{...U(l,Jw({...e,id:u})),role:`tablist`,"aria-orientation":r,tabIndex:void 0}}}function RY(e){let[t,n]=xT(e.selectedKey,e.defaultSelectedKey??null,e.onSelectionChange),r=(0,x.useMemo)(()=>t==null?[]:[t],[t]),{collection:i,disabledKeys:a,selectionManager:o}=GL({...e,selectionMode:`single`,disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:r,onSelectionChange:r=>{if(r===`all`)return;let i=r.values().next().value??null;i===t&&e.onSelectionChange&&e.onSelectionChange(i),n(i)}});return{collection:i,disabledKeys:a,selectionManager:o,selectedKey:t,setSelectedKey:n,selectedItem:t==null?null:i.getItem(t)}}function zY(e){let t=RY({...e,onSelectionChange:e.onSelectionChange?t=>{t!=null&&e.onSelectionChange?.(t)}:void 0,suppressTextValueWarning:!0,defaultSelectedKey:e.defaultSelectedKey??BY(e.collection,e.disabledKeys?new Set(e.disabledKeys):new Set)??void 0}),{selectionManager:n,collection:r,selectedKey:i}=t,a=(0,x.useRef)(i);return(0,x.useEffect)(()=>{let o=i;e.selectedKey==null&&(n.isEmpty||o==null||!r.getItem(o))&&(o=BY(r,t.disabledKeys),o!=null&&n.setSelectedKeys([o])),(o!=null&&n.focusedKey==null||!n.isFocused&&o!==a.current)&&n.setFocusedKey(o),a.current=o}),{...t,isDisabled:e.isDisabled||!1}}function BY(e,t){let n=null;if(e){for(n=e.getFirstKey();n!=null&&(t.has(n)||e.getItem(n)?.props?.isDisabled)&&n!==e.getLastKey();)n=e.getKeyAfter(n);n!=null&&(t.has(n)||e.getItem(n)?.props?.isDisabled)&&n===e.getLastKey()&&(n=e.getFirstKey())}return n}var VY=(0,x.createContext)(null),HY=(0,x.createContext)(null),UY=(0,x.forwardRef)(function(e,t){[e,t]=SS(e,t,VY);let{children:n,orientation:r=`horizontal`}=e;return n=(0,x.useMemo)(()=>typeof n==`function`?n({orientation:r,defaultChildren:null}):n,[n,r]),x.createElement(SE,{content:n},n=>x.createElement(WY,{props:e,collection:n,tabsRef:t}))});function WY({props:e,tabsRef:t,collection:n}){let{orientation:r=`horizontal`}=e,i=zY({...e,collection:n,children:void 0}),{focusProps:a,isFocused:o,isFocusVisible:s}=dD({within:!0}),c=(0,x.useMemo)(()=>({orientation:r,isFocusWithin:o,isFocusVisible:s}),[r,o,s]),l=yS({...e,defaultClassName:`react-aria-Tabs`,values:c}),u=K(e,{global:!0});return x.createElement(W.div,{...U(u,l,a),ref:t,slot:e.slot||void 0,"data-focused":o||void 0,"data-orientation":r,"data-focus-visible":s||void 0,"data-disabled":i.isDisabled||void 0},x.createElement(vS,{values:[[VY,e],[HY,i]]},l.children))}var GY=(0,x.forwardRef)(function(e,t){return(0,x.useContext)(HY)?x.createElement(KY,{props:e,forwardedRef:t}):x.createElement(PE,e)});function KY({props:e,forwardedRef:t}){let n=(0,x.useContext)(HY),{CollectionRoot:r}=(0,x.useContext)(RE),{orientation:i=`horizontal`,keyboardActivation:a=`automatic`}=xS(VY),o=gS(t),{tabListProps:s}=LY({...e,orientation:i,keyboardActivation:a},n,o),c=yS({...e,children:null,defaultClassName:`react-aria-TabList`,values:{orientation:i,state:n}}),l=K(e,{global:!0});return delete l.id,x.createElement(W.div,{...U(l,c,s),ref:o,"data-orientation":i||void 0},x.createElement(LI,null,x.createElement(r,{collection:n.collection,persistedKeys:zE(n.selectionManager.focusedKey)})))}var qY=AE(class extends TT{static{this.type=`item`}},(e,t,n)=>{let r=(0,x.useContext)(HY),i=gS(t),{tabProps:a,isSelected:o,isDisabled:s,isPressed:c}=PY({key:n.key,...e},r,i),{focusProps:l,isFocused:u,isFocusVisible:d}=dD(),{hoverProps:f,isHovered:p}=_D({isDisabled:s,onHoverStart:e.onHoverStart,onHoverEnd:e.onHoverEnd,onHoverChange:e.onHoverChange}),m=yS({...e,id:void 0,children:n.rendered,defaultClassName:`react-aria-Tab`,values:{isSelected:o,isDisabled:s,isFocused:u,isFocusVisible:d,isPressed:c,isHovered:p}}),h=n.props.href?W.a:W.div,g=K(e,{global:!0});return delete g.id,delete g.onClick,x.createElement(h,{...U(g,m,a,l,f),ref:i,"data-selected":o||void 0,"data-disabled":s||void 0,"data-focused":u||void 0,"data-focus-visible":d||void 0,"data-pressed":c||void 0,"data-hovered":p||void 0},x.createElement(RI.Provider,{value:{isSelected:o}},m.children))}),JY=mE(function(e,t){let n=(0,x.useContext)(HY),r=gS(t),i=n.selectedKey===e.id,[a,o]=(0,x.useState)(n.selectedKey==null?null:i);a==null&&n.selectedKey!=null?o(i):!i&&a&&o(!1);let s=fB(r,i);return!i&&!e.shouldForceMount&&!s?null:x.createElement(YY,{...e,tabPanelRef:r,isInitiallySelected:a||!1,isExiting:s})});function YY(e){let t=(0,x.useContext)(HY),{id:n,tabPanelRef:r,isInitiallySelected:i,isExiting:a,...o}=e,{tabPanelProps:s}=FY(e,t,r),{focusProps:c,isFocused:l,isFocusVisible:u}=dD(),d=t.selectedKey===e.id,f=dB(r)&&!i,p=yS({...e,defaultClassName:`react-aria-TabPanel`,values:{isFocused:l,isFocusVisible:u,isInert:PL(!d),isEntering:f,isExiting:a,state:t}}),m=K(o,{global:!0});delete m.id;let h=d?U(m,s,c,p):U(m,p);return x.createElement(W.div,{...h,ref:r,"data-focused":l||void 0,"data-focus-visible":u||void 0,inert:PL(!d||e.inert),"data-inert":d?void 0:`true`,"data-entering":f||void 0,"data-exiting":a||void 0},x.createElement(vS,{values:[[VY,null],[HY,null]]},x.createElement(RE.Provider,{value:IE},p.children)))}var XY=(0,x.createContext)({}),ZY=e=>{let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,...i}=e;return i},QY=(0,x.forwardRef)(function(e,t){[e,t]=SS(e,t,XY);let{hoverProps:n,isHovered:r}=_D(e),{isFocused:i,isFocusVisible:a,focusProps:o}=dD({isTextInput:!0,autoFocus:e.autoFocus}),s=!!e[`aria-invalid`]&&e[`aria-invalid`]!==`false`,c=yS({...e,values:{isHovered:r,isFocused:i,isFocusVisible:a,isDisabled:e.disabled||!1,isInvalid:s},defaultClassName:`react-aria-TextArea`});return x.createElement(W.textarea,{...U(ZY(e),o,n),...c,ref:t,"data-focused":i||void 0,"data-disabled":e.disabled||void 0,"data-hovered":r||void 0,"data-focus-visible":a||void 0,"data-invalid":s||void 0})}),$Y=(0,x.createContext)(null),eX=mE(function(e,t){[e,t]=SS(e,t,$Y);let{validationBehavior:n}=xS(ij)||{},r=e.validationBehavior??n??`native`,i=(0,x.useRef)(null);[e,i]=SS(e,i,wT);let[a,o]=CS(!e[`aria-label`]&&!e[`aria-labelledby`]),[s,c]=(0,x.useState)(`input`),{labelProps:l,inputProps:u,descriptionProps:d,errorMessageProps:f,...p}=jN({...wS(e),inputElementType:s,label:o,validationBehavior:r},i),m=(0,x.useCallback)(e=>{i.current=e,e&&c(e instanceof HTMLTextAreaElement?`textarea`:`input`)},[i]),h=yS({...e,values:{isDisabled:e.isDisabled||!1,isInvalid:p.isInvalid,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1},defaultClassName:`react-aria-TextField`}),g=K(e,{global:!0});return delete g.id,x.createElement(W.div,{...g,...h,ref:t,slot:e.slot||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":p.isInvalid||void 0,"data-readonly":e.isReadOnly||void 0,"data-required":e.isRequired||void 0},x.createElement(vS,{values:[[bD,{...l,ref:a}],[ON,{...u,ref:m}],[XY,{...u,ref:m}],[EN,{role:`presentation`,isInvalid:p.isInvalid,isDisabled:e.isDisabled||!1}],[aO,{slots:{description:d,errorMessage:f}}],[WA,p]]},h.children))}),tX={};tX={close:`إغلاق`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{625}\u{634}\u{639}\u{627}\u{631}`,other:()=>`${t.number(e.count)} \u{625}\u{634}\u{639}\u{627}\u{631}\u{627}\u{62A}`})}.`};var nX={};nX={close:`Затвори`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{438}\u{437}\u{432}\u{435}\u{441}\u{442}\u{438}\u{435}`,other:()=>`${t.number(e.count)} \u{438}\u{437}\u{432}\u{435}\u{441}\u{442}\u{438}\u{44F}`})}.`};var rX={};rX={close:`Zavřít`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ozn\xe1men\xed`,other:()=>`${t.number(e.count)} ozn\xe1men\xed`})}.`};var iX={};iX={close:`Luk`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} besked`,other:()=>`${t.number(e.count)} beskeder`})}.`};var aX={};aX={close:`Schließen`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} Benachrichtigung`,other:()=>`${t.number(e.count)} Benachrichtigungen`})}.`};var oX={};oX={close:`Κλείσιμο`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{3B5}\u{3B9}\u{3B4}\u{3BF}\u{3C0}\u{3BF}\u{3AF}\u{3B7}\u{3C3}\u{3B7}`,other:()=>`${t.number(e.count)} \u{3B5}\u{3B9}\u{3B4}\u{3BF}\u{3C0}\u{3BF}\u{3B9}\u{3AE}\u{3C3}\u{3B5}\u{3B9}\u{3C2}`})}.`};var sX={};sX={close:`Close`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`};var cX={};cX={close:`Cerrar`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificaci\xf3n`,other:()=>`${t.number(e.count)} notificaciones`})}.`};var lX={};lX={close:`Sule`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} teatis`,other:()=>`${t.number(e.count)} teatist`})}.`};var uX={};uX={close:`Sulje`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ilmoitus`,other:()=>`${t.number(e.count)} ilmoitusta`})}.`};var dX={};dX={close:`Fermer`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`};var fX={};fX={close:`סגור`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{5D4}\u{5EA}\u{5E8}\u{5D0}\u{5D4}`,other:()=>`${t.number(e.count)} \u{5D4}\u{5EA}\u{5E8}\u{5D0}\u{5D5}\u{5EA}`})}.`};var pX={};pX={close:`Zatvori`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obavijest`,other:()=>`${t.number(e.count)} obavijesti`})}.`};var mX={};mX={close:`Bezárás`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \xe9rtes\xedt\xe9s`,other:()=>`${t.number(e.count)} \xe9rtes\xedt\xe9s`})}.`};var hX={};hX={close:`Chiudi`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notifica`,other:()=>`${t.number(e.count)} notifiche`})}.`};var gX={};gX={close:`閉じる`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{500B}\u{306E}\u{901A}\u{77E5}`,other:()=>`${t.number(e.count)} \u{500B}\u{306E}\u{901A}\u{77E5}`})}\u{3002}`};var _X={};_X={close:`닫기`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}\u{AC1C} \u{C54C}\u{B9BC}`,other:()=>`${t.number(e.count)}\u{AC1C} \u{C54C}\u{B9BC}`})}.`};var vX={};vX={close:`Uždaryti`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} prane\u{161}imas`,other:()=>`${t.number(e.count)} prane\u{161}imai`})}.`};var yX={};yX={close:`Aizvērt`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} pazi\u{146}ojums`,other:()=>`${t.number(e.count)} pazi\u{146}ojumi`})}.`};var bX={};bX={close:`Lukk`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} varsling`,other:()=>`${t.number(e.count)} varsler`})}.`};var xX={};xX={close:`Sluiten`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} melding`,other:()=>`${t.number(e.count)} meldingen`})}.`};var SX={};SX={close:`Zamknij`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} powiadomienie`,few:()=>`${t.number(e.count)} powiadomienia`,many:()=>`${t.number(e.count)} powiadomie\u{144}`,other:()=>`${t.number(e.count)} powiadomienia`})}.`};var CX={};CX={close:`Fechar`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notifica\xe7\xe3o`,other:()=>`${t.number(e.count)} notifica\xe7\xf5es`})}.`};var wX={};wX={close:`Fechar`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notifica\xe7\xe3o`,other:()=>`${t.number(e.count)} notifica\xe7\xf5es`})}.`};var TX={};TX={close:`Închideţi`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificare`,other:()=>`${t.number(e.count)} notific\u{103}ri`})}.`};var EX={};EX={close:`Закрыть`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{443}\u{432}\u{435}\u{434}\u{43E}\u{43C}\u{43B}\u{435}\u{43D}\u{438}\u{435}`,other:()=>`${t.number(e.count)} \u{443}\u{432}\u{435}\u{434}\u{43E}\u{43C}\u{43B}\u{435}\u{43D}\u{438}\u{44F}`})}.`};var DX={};DX={close:`Zatvoriť`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ozn\xe1menie`,few:()=>`${t.number(e.count)} ozn\xe1menia`,other:()=>`${t.number(e.count)} ozn\xe1men\xed`})}.`};var OX={};OX={close:`Zapri`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obvestilo`,two:()=>`${t.number(e.count)} obvestili`,few:()=>`${t.number(e.count)} obvestila`,other:()=>`${t.number(e.count)} obvestil`})}.`};var kX={};kX={close:`Zatvori`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obave\u{161}tenje`,other:()=>`${t.number(e.count)} obave\u{161}tenja`})}.`};var AX={};AX={close:`Stäng`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} meddelande`,other:()=>`${t.number(e.count)} meddelanden`})}.`};var jX={};jX={close:`Kapat`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} bildirim`,other:()=>`${t.number(e.count)} bildirim`})}.`};var MX={};MX={close:`Закрити`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{441}\u{43F}\u{43E}\u{432}\u{456}\u{449}\u{435}\u{43D}\u{43D}\u{44F}`,other:()=>`${t.number(e.count)} \u{441}\u{43F}\u{43E}\u{432}\u{456}\u{449}\u{435}\u{43D}\u{43D}\u{44F}`})}.`};var NX={};NX={close:`关闭`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{4E2A}\u{901A}\u{77E5}`,other:()=>`${t.number(e.count)} \u{4E2A}\u{901A}\u{77E5}`})}\u{3002}`};var PX={};PX={close:`關閉`,notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} \u{500B}\u{901A}\u{77E5}`,other:()=>`${t.number(e.count)} \u{500B}\u{901A}\u{77E5}`})}\u{3002}`};var FX={};FX={"ar-AE":tX,"bg-BG":nX,"cs-CZ":rX,"da-DK":iX,"de-DE":aX,"el-GR":oX,"en-US":sX,"es-ES":cX,"et-EE":lX,"fi-FI":uX,"fr-FR":dX,"he-IL":fX,"hr-HR":pX,"hu-HU":mX,"it-IT":hX,"ja-JP":gX,"ko-KR":_X,"lt-LT":vX,"lv-LV":yX,"nb-NO":bX,"nl-NL":xX,"pl-PL":SX,"pt-BR":CX,"pt-PT":wX,"ro-RO":TX,"ru-RU":EX,"sk-SK":DX,"sl-SI":OX,"sr-SP":kX,"sv-SE":AX,"tr-TR":jX,"uk-UA":MX,"zh-CN":NX,"zh-TW":PX};function IX(e){return e&&e.__esModule?e.default:e}function LX(e,t,n){let{key:r,timer:i,timeout:a}=e.toast;(0,x.useEffect)(()=>{if(i!=null&&a!=null)return i.reset(a),()=>{i.pause()}},[i,a]);let o=dS(),s=pS(),c=_T(IX(FX),`@react-aria/toast`),[l,u]=(0,x.useState)(!1);return qx(()=>{u(!0)},[]),{toastProps:{...K(e,{labelable:!0}),role:`alertdialog`,"aria-modal":`false`,"aria-labelledby":e[`aria-labelledby`]||o,"aria-describedby":e[`aria-describedby`]||s,tabIndex:0},contentProps:{role:`alert`,"aria-atomic":`true`,"aria-hidden":l?void 0:`true`},titleProps:{id:o},descriptionProps:{id:s},closeButtonProps:{"aria-label":c.format(`close`),onPress:()=>t.close(r)}}}var RX=1,zX=Symbol.for(`react-aria-landmark-manager`);function BX(e){return document.addEventListener(`react-aria-landmark-manager-change`,e),()=>document.removeEventListener(`react-aria-landmark-manager-change`,e)}function VX(){if(typeof document>`u`)return null;let e=document[zX];return e&&e.version>=RX?e:(document[zX]=new UX,document.dispatchEvent(new CustomEvent(`react-aria-landmark-manager-change`)),document[zX])}function HX(){return(0,yE.useSyncExternalStore)(BX,VX,VX)}var UX=class{constructor(){this.landmarks=[],this.isListening=!1,this.refCount=0,this.version=RX,this.f6Handler=this.f6Handler.bind(this),this.focusinHandler=this.focusinHandler.bind(this),this.focusoutHandler=this.focusoutHandler.bind(this)}setupIfNeeded(){this.isListening||=(document.addEventListener(`keydown`,this.f6Handler,{capture:!0}),document.addEventListener(`focusin`,this.focusinHandler,{capture:!0}),document.addEventListener(`focusout`,this.focusoutHandler,{capture:!0}),!0)}teardownIfNeeded(){!this.isListening||this.landmarks.length>0||this.refCount>0||(document.removeEventListener(`keydown`,this.f6Handler,{capture:!0}),document.removeEventListener(`focusin`,this.focusinHandler,{capture:!0}),document.removeEventListener(`focusout`,this.focusoutHandler,{capture:!0}),this.isListening=!1)}focusLandmark(e,t){this.landmarks.find(t=>t.ref.current===e)?.focus?.(t)}getLandmarksByRole(e){return new Set(this.landmarks.filter(t=>t.role===e))}getLandmarkByRole(e){return this.landmarks.find(t=>t.role===e)}addLandmark(e){if(this.setupIfNeeded(),this.landmarks.find(t=>t.ref===e.ref)||!e.ref.current)return;if(this.landmarks.filter(e=>e.role===`main`).length,this.landmarks.length===0){this.landmarks=[e],this.checkLabels(e.role);return}let t=0,n=this.landmarks.length-1;for(;t<=n;){let r=Math.floor((t+n)/2),i=e.ref.current.compareDocumentPosition(this.landmarks[r].ref.current);i&Node.DOCUMENT_POSITION_PRECEDING||i&Node.DOCUMENT_POSITION_CONTAINS?t=r+1:n=r-1}this.landmarks.splice(t,0,e),this.checkLabels(e.role)}updateLandmark(e){let t=this.landmarks.findIndex(t=>t.ref===e.ref);t>=0&&(this.landmarks[t]={...this.landmarks[t],...e},this.checkLabels(this.landmarks[t].role))}removeLandmark(e){this.landmarks=this.landmarks.filter(t=>t.ref!==e),this.teardownIfNeeded()}checkLabels(e){let t=this.getLandmarksByRole(e);t.size>1&&[...t].filter(e=>!e.label).length}closestLandmark(e){let t=new Map(this.landmarks.map(e=>[e.ref.current,e])),n=e;for(;n&&!t.has(n)&&n!==document.body&&n.parentElement;)n=n.parentElement;return t.get(n)}getNextLandmark(e,{backward:t}){let n=this.closestLandmark(e),r=t?this.landmarks.length-1:0;n&&(r=this.landmarks.indexOf(n)+(t?-1:1));let i=()=>{if(r<0){if(!e.dispatchEvent(new CustomEvent(`react-aria-landmark-navigation`,{detail:{direction:`backward`},bubbles:!0,cancelable:!0})))return!0;r=this.landmarks.length-1}else if(r>=this.landmarks.length){if(!e.dispatchEvent(new CustomEvent(`react-aria-landmark-navigation`,{detail:{direction:`forward`},bubbles:!0,cancelable:!0})))return!0;r=0}return r<0||r>=this.landmarks.length};if(i())return;let a=r;for(;this.landmarks[r].ref.current?.closest(`[aria-hidden=true]`);){if(r+=t?-1:1,i())return;if(r===a)break}return this.landmarks[r]}f6Handler(e){e.key===`F6`&&(e.altKey?this.focusMain():this.navigate(G(e),e.shiftKey))&&(e.preventDefault(),e.stopPropagation())}focusMain(){let e=this.getLandmarkByRole(`main`);return e&&e.ref.current&&e.ref.current.isConnected?(this.focusLandmark(e.ref.current,`forward`),!0):!1}navigate(e,t){let n=this.getNextLandmark(e,{backward:t});if(!n)return!1;if(n.lastFocused){let e=n.lastFocused;if(zS(document.body,e))return e.focus(),!0}return n.ref.current&&n.ref.current.isConnected?(this.focusLandmark(n.ref.current,t?`backward`:`forward`),!0):!1}focusinHandler(e){let t=this.closestLandmark(G(e));t&&t.ref.current!==G(e)&&this.updateLandmark({ref:t.ref,lastFocused:G(e)});let n=e.relatedTarget;if(n){let e=this.closestLandmark(n);e&&e.ref.current===n&&e.blur()}}focusoutHandler(e){let t=G(e),n=e.relatedTarget;if(!n||n===document){let e=this.closestLandmark(t);e&&e.ref.current===t&&e.blur()}}createLandmarkController(){let e=this;return e.refCount++,e.setupIfNeeded(),{navigate(t,n){let r=n?.from||document.activeElement;return e.navigate(r,t===`backward`)},focusNext(t){let n=t?.from||document.activeElement;return e.navigate(n,!1)},focusPrevious(t){let n=t?.from||document.activeElement;return e.navigate(n,!0)},focusMain(){return e.focusMain()},dispose(){e&&=(e.refCount--,e.teardownIfNeeded(),null)}}}registerLandmark(e){return this.landmarks.find(t=>t.ref===e.ref)?this.updateLandmark(e):this.addLandmark(e),()=>this.removeLandmark(e.ref)}};function WX(e,t){let{role:n,"aria-label":r,"aria-labelledby":i,focus:a}=e,o=HX(),s=r||i,[c,l]=(0,x.useState)(!1),u=(0,x.useCallback)(()=>{l(!0)},[l]),d=(0,x.useCallback)(()=>{l(!1)},[l]);return qx(()=>{if(o)return o.registerLandmark({ref:t,label:s,role:n,focus:a||u,blur:d})},[o,s,t,n,a,u,d]),(0,x.useEffect)(()=>{c&&t.current?.focus()},[c,t]),{landmarkProps:{role:n,tabIndex:c?-1:void 0,"aria-label":r,"aria-labelledby":i}}}function GX(e){return e&&e.__esModule?e.default:e}function KX(e,t,n){let r=_T(GX(FX),`@react-aria/toast`),{landmarkProps:i}=WX({role:`region`,"aria-label":e[`aria-label`]||r.format(`notifications`,{count:t.visibleToasts.length})},n),a=(0,x.useRef)(!1),o=(0,x.useRef)(!1),s=(0,x.useCallback)(()=>{a.current||o.current?t.pauseAll():t.resumeAll()},[t]),{hoverProps:c}=_D({onHoverStart:()=>{a.current=!0,s()},onHoverEnd:()=>{a.current=!1,s()}}),l=(0,x.useRef)([]),u=(0,x.useRef)(t.visibleToasts),d=(0,x.useRef)(null);qx(()=>{if(d.current===-1||t.visibleToasts.length===0||!n.current){l.current=[],u.current=t.visibleToasts;return}if(l.current=[...n.current.querySelectorAll(`[role="alertdialog"]`)],u.current.length===t.visibleToasts.length&&t.visibleToasts.every((e,t)=>e.key===u.current[t].key)){u.current=t.visibleToasts;return}let e=u.current.map((e,n)=>({...e,i:n,isRemoved:!t.visibleToasts.some(t=>e.key===t.key)})),r=e.findIndex(e=>e.i===d.current&&e.isRemoved);if(r>-1){if(XC()===`pointer`&&f.current?.isConnected)qS(f.current);else{let t=0,n,i;for(;t<=r;)e[t].isRemoved||(i=Math.max(0,t-1)),t++;for(;t<e.length;){if(!e[t].isRemoved){n=t-1;break}t++}i===void 0&&n===void 0&&(i=0),i>=0&&i<l.current.length?qS(l.current[i]):n>=0&&n<l.current.length&&qS(l.current[n])}}u.current=t.visibleToasts},[t.visibleToasts,n]);let f=(0,x.useRef)(null),{focusWithinProps:p}=uD({onFocusWithin:e=>{o.current=!0,f.current=e.relatedTarget,s()},onBlurWithin:()=>{o.current=!1,f.current=null,s()}});return(0,x.useEffect)(()=>{t.visibleToasts.length===0&&f.current?.isConnected&&(XC()===`pointer`?qS(f.current):f.current.focus(),f.current=null)},[n,t.visibleToasts.length]),(0,x.useEffect)(()=>()=>{f.current?.isConnected&&(XC()===`pointer`?qS(f.current):f.current.focus(),f.current=null)},[n]),{regionProps:U(i,c,p,{tabIndex:-1,"data-react-aria-top-layer":!0,onFocus:e=>{let t=G(e).closest(`[role="alertdialog"]`);d.current=l.current.findIndex(e=>e===t)},onBlur:()=>{d.current=-1}})}}function qX(e){let t=(0,x.useCallback)(t=>e.subscribe(t),[e]),n=(0,x.useCallback)(()=>e.visibleToasts,[e]);return{visibleToasts:(0,yE.useSyncExternalStore)(t,n,n),add:(t,n)=>e.add(t,n),close:t=>e.close(t),pauseAll:()=>e.pauseAll(),resumeAll:()=>e.resumeAll()}}var JX=class{constructor(e){this.queue=[],this.subscriptions=new Set,this.visibleToasts=[],this.maxVisibleToasts=e?.maxVisibleToasts??1/0,this.wrapUpdate=e?.wrapUpdate}runWithWrapUpdate(e,t){this.wrapUpdate?this.wrapUpdate(e,t):e()}subscribe(e){return this.subscriptions.add(e),()=>this.subscriptions.delete(e)}add(e,t={}){let n=`_`+Math.random().toString(36).slice(2),r={...t,content:e,key:n,timer:t.timeout?new YX(()=>this.close(n),t.timeout):void 0};return this.queue.unshift(r),this.updateVisibleToasts(`add`),n}close(e){let t=this.queue.findIndex(t=>t.key===e);t>=0&&(this.queue[t].onClose?.(),this.queue.splice(t,1)),this.updateVisibleToasts(`remove`)}updateVisibleToasts(e){this.visibleToasts=this.queue.slice(0,this.maxVisibleToasts),this.runWithWrapUpdate(()=>{for(let e of this.subscriptions)e()},e)}pauseAll(){for(let e of this.visibleToasts)e.timer&&e.timer.pause()}resumeAll(){for(let e of this.visibleToasts)e.timer&&e.timer.resume()}clear(){this.queue=[],this.updateVisibleToasts(`clear`)}},YX=class{constructor(e,t){this.startTime=null,this.remaining=t,this.callback=e}reset(e){this.remaining=e,this.resume()}pause(){this.timerId!=null&&(clearTimeout(this.timerId),this.timerId=null,this.remaining-=Date.now()-this.startTime)}resume(){this.remaining<=0||(this.startTime=Date.now(),this.timerId=setTimeout(()=>{this.timerId=null,this.remaining=0,this.callback()},this.remaining))}},XX=(0,x.createContext)(null),ZX=(0,x.forwardRef)(function(e,t){let n=aS(),r=qX(e.queue),i=gS(t),{regionProps:a}=KX(e,r,i),{focusProps:o,isFocused:s,isFocusVisible:c}=dD(),{hoverProps:l,isHovered:u}=_D({}),d=yS({...e,children:void 0,defaultClassName:`react-aria-ToastRegion`,values:{visibleToasts:r.visibleToasts,isHovered:u,isFocused:s,isFocusVisible:c}}),{direction:f}=rT(),p,{getContainer:m}=oB();n||(p=document.body,m&&(p=m()));let h=K(e,{global:!0}),g=x.createElement(XX.Provider,{value:r},x.createElement(W.div,{...U(h,d,a,o,l),dir:f,ref:i,"data-hovered":u||void 0,"data-focused":s||void 0,"data-focus-visible":c||void 0},typeof e.children==`function`?x.createElement(QX,{...e,render:void 0,className:void 0,style:{display:`contents`}},e.children):e.children));return r.visibleToasts.length>0&&p?(0,vE.createPortal)(g,p):null}),QX=(0,x.forwardRef)(function(e,t){let n=(0,x.useContext)(XX),{hoverProps:r,isHovered:i}=_D({}),a=yS({...e,children:void 0,defaultClassName:`react-aria-ToastList`,values:{visibleToasts:n.visibleToasts,isFocused:!1,isFocusVisible:!1,isHovered:i}});return x.createElement(W.ol,{...r,...a,ref:t},n.visibleToasts.map(t=>x.createElement(`li`,{key:t.key,style:{display:`contents`}},e.children({toast:t}))))}),$X=(0,x.forwardRef)(function(e,t){let n=(0,x.useContext)(XX),r=gS(t),{toastProps:i,contentProps:a,titleProps:o,descriptionProps:s,closeButtonProps:c}=LX(e,n,r),{focusProps:l,isFocused:u,isFocusVisible:d}=dD(),f=yS({...e,defaultClassName:`react-aria-Toast`,values:{toast:e.toast,isFocused:u,isFocusVisible:d}}),p=K(e,{global:!0});return x.createElement(W.div,{...U(p,f,i,l),ref:r,"data-focused":u||void 0,"data-focus-visible":d||void 0},x.createElement(vS,{values:[[eZ,a],[aO,{slots:{[_S]:{},title:o,description:s}}],[$D,{slots:{[_S]:{},close:c}}]]},f.children))}),eZ=(0,x.createContext)({}),tZ=(0,x.forwardRef)(function(e,t){return[e,t]=SS(e,t,eZ),x.createElement(W.div,{render:e.render,className:`react-aria-ToastContent`,...e,ref:t},e.children)});function nZ(e,t,n){let{isSelected:r}=t,{isPressed:i,buttonProps:a}=QD({...e,onPress:Kx(t.toggle,e.onPress)},n);return{isPressed:i,isSelected:r,isDisabled:e.isDisabled||!1,buttonProps:U(a,{"aria-pressed":r})}}function rZ(e,t){let{"aria-label":n,"aria-labelledby":r,orientation:i=`horizontal`}=e,[a,o]=(0,x.useState)(!1);qx(()=>{o(!!(t.current&&t.current.parentElement?.closest(`[role="toolbar"]`)))});let{direction:s}=rT(),c=s===`rtl`&&i===`horizontal`,l=oL(t),u=e=>{if(zS(e.currentTarget,G(e))){if(i===`horizontal`&&e.key===`ArrowRight`||i===`vertical`&&e.key===`ArrowDown`)c?l.focusPrevious():l.focusNext();else if(i===`horizontal`&&e.key===`ArrowLeft`||i===`vertical`&&e.key===`ArrowUp`)c?l.focusNext():l.focusPrevious();else if(e.key===`Tab`){d.current=BS(),e.shiftKey?l.focusFirst():l.focusLast();return}else return;e.stopPropagation(),e.preventDefault()}},d=(0,x.useRef)(null),f=e=>{!zS(e.currentTarget,e.relatedTarget)&&!d.current&&(d.current=G(e))},p=e=>{d.current&&!zS(e.currentTarget,e.relatedTarget)&&zS(t.current,G(e))&&(d.current?.focus(),d.current=null)};return{toolbarProps:{...K(e,{labelable:!0}),role:a?`group`:`toolbar`,"aria-orientation":i,"aria-label":n,"aria-labelledby":n==null?r:void 0,onKeyDownCapture:a?void 0:u,onFocusCapture:a?void 0:p,onBlurCapture:a?void 0:f}}}function iZ(e,t,n){let{isDisabled:r}=e,{toolbarProps:i}=rZ(e,n);return{groupProps:{...i,role:t.selectionMode===`single`?`radiogroup`:i.role,"aria-disabled":r}}}function aZ(e,t,n){let r={isSelected:t.selectedKeys.has(e.id),defaultSelected:!1,setSelected(n){t.setSelected(e.id,n)},toggle(){t.toggleKey(e.id)}},{isPressed:i,isSelected:a,isDisabled:o,buttonProps:s}=nZ({...e,id:void 0,isDisabled:e.isDisabled||t.isDisabled},r,n);return t.selectionMode===`single`&&(s.role=`radio`,s[`aria-checked`]=r.isSelected,delete s[`aria-pressed`]),{isPressed:i,isSelected:a,isDisabled:o,buttonProps:s}}function oZ(e){let{selectionMode:t=`single`,disallowEmptySelection:n,isDisabled:r=!1}=e,[i,a]=xT((0,x.useMemo)(()=>e.selectedKeys?new Set(e.selectedKeys):void 0,[e.selectedKeys]),(0,x.useMemo)(()=>e.defaultSelectedKeys?new Set(e.defaultSelectedKeys):new Set,[e.defaultSelectedKeys]),e.onSelectionChange);return{selectionMode:t,isDisabled:r,selectedKeys:i,setSelectedKeys:a,toggleKey(e){let r;t===`multiple`?(r=new Set(i),r.has(e)&&(!n||r.size>1)?r.delete(e):r.add(e)):r=new Set(i.has(e)&&!n?[]:[e]),a(r)},setSelected(e,t){t!==i.has(e)&&this.toggleKey(e)}}}var sZ=(0,x.createContext)({}),cZ=(0,x.createContext)(null),lZ=(0,x.forwardRef)(function(e,t){[e,t]=SS(e,t,sZ);let n=oZ(e),{groupProps:r}=iZ(e,n,t),i=yS({...e,values:{orientation:e.orientation||`horizontal`,isDisabled:n.isDisabled,state:n},defaultClassName:`react-aria-ToggleButtonGroup`}),a=K(e,{global:!0});return x.createElement(W.div,{...U(a,i,r),ref:t,slot:e.slot||void 0,"data-orientation":e.orientation||`horizontal`,"data-disabled":e.isDisabled||void 0},x.createElement(cZ.Provider,{value:n},x.createElement(LI,null,i.children)))}),uZ=(0,x.createContext)({}),dZ=(0,x.forwardRef)(function(e,t){[e,t]=SS(e,t,uZ);let n=(0,x.useContext)(cZ),r=_j(n&&e.id!=null?{isSelected:n.selectedKeys.has(e.id),onChange(t){n.setSelected(e.id,t)}}:e),{buttonProps:i,isPressed:a,isSelected:o,isDisabled:s}=n&&e.id!=null?aZ({...e,id:e.id},n,t):nZ({...e,id:e.id==null?void 0:String(e.id)},r,t),{focusProps:c,isFocused:l,isFocusVisible:u}=dD(e),{hoverProps:d,isHovered:f}=_D({...e,isDisabled:s}),p=yS({...e,id:void 0,values:{isHovered:f,isPressed:a,isFocused:l,isSelected:r.isSelected,isFocusVisible:u,isDisabled:s,state:r},defaultClassName:`react-aria-ToggleButton`}),m=K(e,{global:!0});return delete m.id,delete m.onClick,x.createElement(W.button,{...U(m,p,i,c,d),ref:t,slot:e.slot||void 0,"data-focused":l||void 0,"data-disabled":s||void 0,"data-pressed":a||void 0,"data-selected":o||void 0,"data-hovered":f||void 0,"data-focus-visible":u||void 0},x.createElement(RI.Provider,{value:{isSelected:o}},p.children))}),fZ=x.createContext(null);function pZ(e){let{children:t}=e,n=(0,x.useContext)(fZ),[r,i]=(0,x.useState)(0),a=(0,x.useMemo)(()=>({parent:n,modalCount:r,addModal(){i(e=>e+1),n&&n.addModal()},removeModal(){i(e=>e-1),n&&n.removeModal()}}),[n,r]);return x.createElement(fZ.Provider,{value:a},t)}function mZ(){let e=(0,x.useContext)(fZ);return{modalProviderProps:{"aria-hidden":e&&e.modalCount>0?!0:void 0}}}function hZ(e){let{modalProviderProps:t}=mZ();return x.createElement(`div`,{"data-overlay-container":!0,...e,...t})}function gZ(e){return x.createElement(pZ,null,x.createElement(hZ,e))}function _Z(e){let t=aS(),{portalContainer:n=t?null:document.body,...r}=e,{getContainer:i}=oB();if(!e.portalContainer&&i&&(n=i()),x.useEffect(()=>{if(n?.closest(`[data-overlay-container]`))throw Error(`An OverlayContainer must not be inside another container. Please change the portalContainer prop.`)},[n]),!n)return null;let a=x.createElement(gZ,r);return vE.createPortal(a,n)}function vZ(e,t){let n=K(e,{labelable:!0}),{hoverProps:r}=_D({onHoverStart:()=>t?.open(!0),onHoverEnd:()=>t?.close()});return{tooltipProps:U(n,r,{role:`tooltip`})}}function yZ(e,t,n){let{isDisabled:r,trigger:i,shouldCloseOnPress:a=!0}=e,o=dS(),s=(0,x.useRef)(!1),c=(0,x.useRef)(!1),l=()=>{(s.current||c.current)&&t.open(c.current)},u=e=>{!s.current&&!c.current&&t.close(e)};(0,x.useEffect)(()=>{let e=e=>{n&&n.current&&e.key===`Escape`&&(e.stopPropagation(),t.close(!0))};if(t.isOpen)return document.addEventListener(`keydown`,e,!0),()=>{document.removeEventListener(`keydown`,e,!0)}},[n,t]);let d=()=>{i!==`focus`&&(XC()===`pointer`?s.current=!0:s.current=!1,l())},f=()=>{i!==`focus`&&(c.current=!1,s.current=!1,u())},p=()=>{a&&(c.current=!1,s.current=!1,u(!0))},m=()=>{YC()&&(c.current=!0,l())},h=()=>{c.current=!1,s.current=!1,u(!0)},{hoverProps:g}=_D({isDisabled:r,onHoverStart:d,onHoverEnd:f}),{focusableProps:_}=dE({isDisabled:r,onFocus:m,onBlur:h},n);return{triggerProps:{"aria-describedby":t.isOpen?o:void 0,...U(_,g,{onPointerDown:p,onKeyDown:p}),tabIndex:void 0},tooltipProps:{id:o}}}var bZ=(0,x.createContext)(null),xZ=(0,x.createContext)(null);function SZ(e){let t=iK(e),n=(0,x.useRef)(null),{triggerProps:r,tooltipProps:i}=yZ(e,t,n);return x.createElement(vS,{values:[[bZ,t],[xZ,{...i,triggerRef:n}]]},x.createElement(uE,{...r,ref:n},e.children))}var CZ=(0,x.forwardRef)(function({UNSTABLE_portalContainer:e,...t},n){[t,n]=SS(t,n,xZ);let r=(0,x.useContext)(bZ),i=iK(t),a=t.isOpen!=null||t.defaultOpen!=null||!r?i:r,o=fB(n,a.isOpen),s=t.isExiting||!a.shouldSkipAnimation&&o||!1;return!a.isOpen&&!s?null:x.createElement(_Z,{portalContainer:e},x.createElement(wZ,{...t,tooltipRef:n,isExiting:s}))});function wZ(e){let t=(0,x.useContext)(bZ),n=(0,x.useRef)(null),{overlayProps:r,arrowProps:i,placement:a,triggerAnchorPoint:o}=KR({placement:e.placement||`top`,targetRef:e.triggerRef,overlayRef:e.tooltipRef,arrowRef:n,offset:e.offset,crossOffset:e.crossOffset,isOpen:t.isOpen,arrowBoundaryOffset:e.arrowBoundaryOffset,shouldFlip:e.shouldFlip,containerPadding:e.containerPadding,onClose:()=>t.close(!0)}),s=dB(e.tooltipRef,!!a),c=e.isEntering||!t.shouldSkipAnimation&&s||!1,l=yS({...e,defaultClassName:`react-aria-Tooltip`,values:{placement:a,isEntering:c,isExiting:e.isExiting,state:t}});e=U(e,r);let{tooltipProps:u}=vZ(e,t),d=K(e,{global:!0});return x.createElement(W.div,{...U(d,l,u),ref:e.tooltipRef,style:{...r.style,"--trigger-anchor-point":o?`${o.x}px ${o.y}px`:void 0,...l.style},"data-placement":a??void 0,"data-entering":c||void 0,"data-exiting":e.isExiting||void 0},x.createElement(fR.Provider,{value:{...i,placement:a,ref:n}},l.children))}function TZ(e){return e&&e.__esModule?e.default:e}var EZ={keyboard:{start:`dragDescriptionKeyboard`,end:`endDragKeyboard`},touch:{start:`dragDescriptionTouch`,end:`endDragTouch`},virtual:{start:`dragDescriptionVirtual`,end:`endDragVirtual`}};function DZ(e){let{hasDragButton:t,isDisabled:n}=e,r=_T(TZ(zW),`@react-aria/dnd`),i=(0,x.useRef)({options:e,x:0,y:0}).current;i.options=e;let a=(0,x.useRef)(null),[o,s]=(0,x.useState)(!1),c=e=>{a.current=e,s(!!e)},{addGlobalListener:l,removeAllGlobalListeners:u}=YE(),d=(0,x.useRef)(null),f=t=>{if(t.defaultPrevented)return;if(t.stopPropagation(),d.current===`virtual`){t.preventDefault(),g(G(t)),d.current=null;return}typeof e.onDragStart==`function`&&e.onDragStart({type:`dragstart`,x:t.clientX,y:t.clientY});let n=e.getItems();t.dataTransfer.clearData?.(),Qte(t.dataTransfer,n);let r=PU.all;if(typeof e.getAllowedDropOperations==`function`){let t=e.getAllowedDropOperations();r=PU.none;for(let e of t)r|=PU[e]||PU.none}$U(r);let a=IU[r]||`none`;t.dataTransfer.effectAllowed=a===`cancel`?`none`:a,typeof e.preview?.current==`function`&&e.preview.current(n,(e,n,r)=>{if(!e)return;let i=e.getBoundingClientRect(),a=t.currentTarget.getBoundingClientRect(),o=t.clientX-a.x,s=t.clientY-a.y;(o>i.width||s>i.height)&&(o=i.width/2,s=i.height/2);let c=o,l=s;typeof n==`number`&&typeof r==`number`&&(c=n,l=r),c=Math.max(0,Math.min(c,i.width)),l=Math.max(0,Math.min(l,i.height));let u=2*Math.round(i.height/2);e.style.height=`${u}px`,t.dataTransfer.setDragImage(e,c,l)}),l(window,`drop`,e=>{e.preventDefault(),e.stopPropagation(),console.warn(`Drags initiated from the React Aria useDrag hook may only be dropped on a target created with useDrop. This ensures that a keyboard and screen reader accessible alternative is available.`)},{once:!0}),i.x=t.clientX,i.y=t.clientY;let o=G(t);requestAnimationFrame(()=>{c(o)})},p=t=>{t.stopPropagation(),(t.clientX!==i.x||t.clientY!==i.y)&&(typeof e.onDragMove==`function`&&e.onDragMove({type:`dragmove`,x:t.clientX,y:t.clientY}),i.x=t.clientX,i.y=t.clientY)},m=t=>{if(t.stopPropagation(),typeof e.onDragEnd==`function`){let n={type:`dragend`,x:t.clientX,y:t.clientY,dropOperation:LU[t.dataTransfer.dropEffect]};XU&&(n.dropOperation=LU[XU]),e.onDragEnd(n)}c(null),u(),$U(PU.none),ZU(void 0)};(0,x.useEffect)(()=>()=>{if(a.current&&(!a.current.isConnected||parseInt(x.version,10)<17)){if(typeof i.options.onDragEnd==`function`){let e={type:`dragend`,x:0,y:0,dropOperation:LU[XU||`none`]};i.options.onDragEnd(e)}c(null),$U(PU.none),ZU(void 0)}},[i]);let h=e=>{(e.pointerType===`keyboard`||e.pointerType===`virtual`)&&g(e.target)},g=e=>{if(typeof i.options.onDragStart==`function`){let t=e.getBoundingClientRect();i.options.onDragStart({type:`dragstart`,x:t.x+t.width/2,y:t.y+t.height/2})}ane({element:e,items:i.options.getItems(),allowedDropOperations:typeof i.options.getAllowedDropOperations==`function`?i.options.getAllowedDropOperations():[`move`,`copy`,`link`],onDragEnd(e){c(null),typeof i.options.onDragEnd==`function`&&i.options.onDragEnd(e)}},r),c(e)},_=UU(),v=o?EZ[_].end:EZ[_].start,y=BA(r.format(v)),b={};return t||(b={...y,onPointerDown(e){if(d.current=xC(e.nativeEvent)?`virtual`:e.pointerType,e.width<1&&e.height<1&&hC()&&_C())d.current=`virtual`;else{let t=e.currentTarget.getBoundingClientRect(),n=e.clientX-t.x,r=e.clientY-t.y,i=t.width/2,a=t.height/2;Math.abs(n-i)<=.5&&Math.abs(r-a)<=.5?d.current=`virtual`:d.current=e.pointerType}},onKeyDownCapture(e){G(e)===e.currentTarget&&e.key===`Enter`&&(e.preventDefault(),e.stopPropagation())},onKeyUpCapture(e){G(e)===e.currentTarget&&e.key===`Enter`&&(e.preventDefault(),e.stopPropagation(),g(G(e)))},onClick(e){(bC(e.nativeEvent)||d.current===`virtual`)&&(e.preventDefault(),e.stopPropagation(),g(G(e)))}}),n?{dragProps:{draggable:`false`},dragButtonProps:{},isDragging:!1}:{dragProps:{...b,draggable:`true`,onDragStart:f,onDrag:p,onDragEnd:m},dragButtonProps:{...y,onPress:h},isDragging:o}}var OZ=V([`inline-flex shrink-0 cursor-default items-center justify-center gap-2 rounded-md font-medium whitespace-nowrap`,`motion-press`,`outline-none data-focus-visible:ring-2 data-focus-visible:ring-ring data-focus-visible:ring-offset-2 data-focus-visible:ring-offset-background`,`data-disabled:opacity-50`,`data-pending:opacity-70`],{variants:{variant:{primary:`bg-primary text-primary-foreground data-hovered:bg-primary-hover data-pressed:bg-primary-hover`,secondary:`border border-border bg-secondary text-secondary-foreground data-hovered:border-border-strong data-hovered:bg-secondary-hover data-pressed:bg-secondary-hover`,ghost:`text-foreground-secondary data-hovered:bg-secondary data-hovered:text-foreground data-pressed:bg-secondary-hover`,danger:`bg-destructive text-destructive-foreground data-hovered:opacity-90 data-pressed:opacity-90`,brand:`bg-brand-fill text-brand-ink data-hovered:bg-brand-fill-hover data-pressed:bg-brand-fill-hover`},size:{sm:`h-8 px-3 text-sm`,md:`h-10 px-4 text-base`},fullWidth:{true:`w-full`},collapses:{true:`max-md:aspect-square max-md:px-0`,false:``}},defaultVariants:{variant:`primary`,size:`md`,collapses:!1}}),kZ=V(``,{variants:{collapses:{true:`max-md:sr-only`,false:``}},defaultVariants:{collapses:!1}}),AZ={sm:14,md:16};function q({children:e,icon:t,onPress:n,type:r=`button`,isDisabled:i=!1,isPending:a=!1,autoFocus:o=!1,collapses:s=!1,size:c,...l}){let u=a?ob:t,d=s&&t!==void 0;return(0,S.jsxs)(eO,{className:OZ({size:c,...l,collapses:d}),type:r,isDisabled:i,isPending:a,autoFocus:o,...n&&{onPress:n},children:[u&&(0,S.jsx)(u,{"aria-hidden":!0,size:AZ[c??`md`],...a&&{className:`animate-spin`}}),d?(0,S.jsx)(`span`,{className:kZ({collapses:!0}),children:e}):e]})}var jZ=`flex min-w-0 flex-col rounded-xl border border-border bg-card`,MZ=V(`flex flex-1 flex-col`,{variants:{isFlush:{true:``,false:`gap-5 p-6`}},defaultVariants:{isFlush:!1}});function NZ({title:e,description:t,actions:n,footer:r,isFlush:i=!1,children:a}){let o=(0,x.useId)();return(0,S.jsxs)(`section`,{className:jZ,...e!==void 0&&{"aria-labelledby":o},children:[e!==void 0&&(0,S.jsxs)(`div`,{className:`flex items-start justify-between gap-4 border-b border-border px-6 py-4`,children:[(0,S.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-1`,children:[(0,S.jsx)(`h2`,{id:o,className:`font-display text-lg font-semibold text-foreground`,children:e}),t!==void 0&&(0,S.jsx)(`p`,{className:`text-sm text-foreground-muted`,children:t})]}),n!==void 0&&(0,S.jsx)(`div`,{className:`flex shrink-0 items-center gap-3`,children:n})]}),a!==void 0&&(0,S.jsx)(`div`,{className:MZ({isFlush:i}),children:a}),r!==void 0&&(0,S.jsx)(`div`,{className:`flex flex-wrap items-center gap-2 border-t border-border px-6 py-3`,children:r})]})}var PZ=`group inline-flex cursor-default items-center gap-2 text-base text-foreground data-disabled:text-foreground-muted`,FZ=`flex size-4 shrink-0 items-center justify-center rounded-sm border border-input-border bg-input text-primary-foreground transition-colors motion-fast group-data-hovered:border-border-strong group-data-selected:border-primary group-data-selected:bg-primary group-data-indeterminate:border-primary group-data-indeterminate:bg-primary group-data-focus-visible:ring-2 group-data-focus-visible:ring-ring group-data-focus-visible:ring-offset-2 group-data-focus-visible:ring-offset-background group-data-disabled:opacity-50`;function IZ({label:e,isSelected:t,defaultSelected:n,onChange:r,isIndeterminate:i=!1,isDisabled:a=!1,name:o,value:s}){return(0,S.jsx)(wj,{className:PZ,isIndeterminate:i,isDisabled:a,...t!==void 0&&{isSelected:t},...n!==void 0&&{defaultSelected:n},...r&&{onChange:r},...o!==void 0&&{name:o},...s!==void 0&&{value:s},children:t=>(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(`span`,{className:FZ,children:t.isIndeterminate?(0,S.jsx)(See,{"aria-hidden":!0,size:12}):t.isSelected&&(0,S.jsx)(Av,{"aria-hidden":!0,size:12})}),e]})})}var LZ=`text-sm font-medium text-foreground`,RZ=`sr-only`,zZ=`text-destructive`,BZ=`text-sm text-foreground-muted`,VZ=`motion-rise text-sm text-destructive`,HZ=`w-full rounded-md border border-input-border bg-input px-3 text-base text-foreground transition-colors motion-fast outline-none data-hovered:border-border-strong data-focused:border-input-focus data-focused:ring-1 data-focused:ring-input-focus data-focus-visible:border-input-focus data-focus-visible:ring-1 data-focus-visible:ring-input-focus data-invalid:border-destructive data-invalid:data-focused:ring-destructive data-disabled:bg-background-secondary data-disabled:text-foreground-muted`,UZ=`${HZ} h-10`,WZ=`layer-overlay motion-float overflow-auto rounded-md border border-border bg-background-elevated p-1 shadow-lg outline-none`,GZ=`flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-base outline-none data-focused:bg-secondary data-hovered:bg-secondary data-disabled:text-foreground-subtle`,KZ=V(`flex flex-col gap-1.5`,{variants:{width:{full:`w-full`,md:`w-80`,sm:`w-48`}},defaultVariants:{width:`full`}}),qZ=`flex items-center gap-2`,JZ=`flex size-10 shrink-0 cursor-default items-center justify-center rounded-md border border-input-border bg-input p-1 outline-none transition-colors motion-fast data-hovered:border-border-strong data-focus-visible:ring-2 data-focus-visible:ring-ring data-disabled:opacity-50`,YZ=`size-full rounded-sm`,XZ=`${UZ} min-w-0 flex-1 font-mono uppercase`,ZZ=`${WZ} p-3`,QZ=`flex w-56 flex-col gap-3 outline-none`,$Z=`aspect-square w-full rounded-md`,eQ=`size-5 rounded-full border-2 border-background shadow-md data-focus-visible:size-6 data-dragging:size-6`,tQ=`flex w-full flex-col`,nQ=`h-6 w-full rounded-md`,rQ=`${eQ} top-1/2`,iQ=`size-7 cursor-default rounded-md outline-none data-selected:ring-2 data-selected:ring-ring data-selected:ring-offset-2 data-selected:ring-offset-background-elevated data-focus-visible:ring-2 data-focus-visible:ring-ring`,aQ=`hsb(0, 0%, 50%)`;function oQ(e){if(e===void 0||e===``)return null;try{return KM(e)}catch{return null}}function sQ({label:e,isLabelHidden:t=!1,value:n,onChange:r,pickLabel:i,hueLabel:a,presets:o=[],presetsLabel:s,description:c,errorMessage:l,isRequired:u=!1,isDisabled:d=!1,width:f}){let p=oQ(n),m=p??KM(aQ),h=e=>r(e===null?void 0:e.toString(`hex`).toLowerCase()),g=o.flatMap(e=>oQ(e)===null?[]:[e]);return(0,S.jsxs)(bF,{className:KZ({width:f}),value:p,onChange:h,isRequired:u,isDisabled:d,isInvalid:l!==void 0,children:[(0,S.jsxs)(xD,{className:t?RZ:LZ,children:[e,u&&(0,S.jsx)(`span`,{"aria-hidden":!0,className:`text-destructive`,children:` *`})]}),(0,S.jsxs)(`div`,{className:qZ,children:[(0,S.jsxs)(OV,{children:[(0,S.jsx)(eO,{"aria-label":i,isDisabled:d,className:JZ,children:(0,S.jsx)(qF,{color:m,className:YZ})}),(0,S.jsx)(gB,{placement:`bottom start`,className:ZZ,children:(0,S.jsxs)(kV,{"aria-label":i,className:QZ,children:[(0,S.jsx)(TN,{value:m,onChange:h,colorSpace:`hsb`,xChannel:`saturation`,yChannel:`brightness`,className:$Z,children:(0,S.jsx)(Dj,{className:eQ})}),(0,S.jsxs)(UF,{value:m,onChange:h,colorSpace:`hsb`,channel:`hue`,className:tQ,children:[(0,S.jsx)(xD,{className:RZ,children:a}),(0,S.jsx)(RF,{className:nQ,children:(0,S.jsx)(Dj,{className:rQ})})]}),g.length>0&&(0,S.jsx)(uR,{"aria-label":s??i,...p!==null&&{value:p},onChange:h,className:`grid grid-cols-6 gap-2`,children:g.map(e=>(0,S.jsx)(dR,{color:e,className:iQ,children:(0,S.jsx)(qF,{className:`size-full rounded-md`})},e))})]})})]}),(0,S.jsx)(AN,{className:XZ})]}),c!==void 0&&(0,S.jsx)(oO,{slot:`description`,className:`text-sm text-foreground-muted`,children:c}),(0,S.jsx)(GA,{className:VZ,children:l})]})}var cQ=V(`flex flex-col gap-1.5`,{variants:{width:{full:`w-full`,md:`w-80`,sm:`w-48`}},defaultVariants:{width:`sm`}}),lQ=`${UZ} flex items-center tabular-nums data-focus-within:border-input-focus data-focus-within:ring-1 data-focus-within:ring-input-focus`,uQ=`rounded-sm px-0.5 outline-none data-placeholder:text-foreground-subtle data-focused:bg-primary data-focused:text-primary-foreground`;function dQ(e){if(e===null)return null;try{return ik(e)}catch{return null}}function fQ({label:e,isLabelHidden:t=!1,description:n,errorMessage:r,value:i,defaultValue:a,onChange:o,name:s,isRequired:c=!1,isDisabled:l=!1,isReadOnly:u=!1,width:d}){let f=a===void 0?null:dQ(a);return(0,S.jsxs)(Rte,{className:cQ({width:d}),isRequired:c,isDisabled:l,isReadOnly:u,isInvalid:r!==void 0,...i!==void 0&&{value:dQ(i)},...f&&{defaultValue:f},...o&&{onChange:e=>o(e?e.toString():null)},...s!==void 0&&{name:s},children:[(0,S.jsxs)(xD,{className:t?RZ:LZ,children:[e,c&&(0,S.jsx)(`span`,{"aria-hidden":!0,className:`text-destructive`,children:` *`})]}),(0,S.jsx)(zte,{className:lQ,children:e=>(0,S.jsx)(Vte,{segment:e,className:uQ})}),n!==void 0&&(0,S.jsx)(oO,{slot:`description`,className:`text-sm text-foreground-muted`,children:n}),(0,S.jsx)(GA,{className:VZ,children:r})]})}var pQ=`layer-toast motion-float rounded-md bg-foreground px-2 py-1 text-xs font-medium text-background shadow-md`;function mQ({content:e,children:t,placement:n=`top`}){return(0,S.jsxs)(SZ,{delay:500,children:[t,(0,S.jsx)(CZ,{className:pQ,placement:n,offset:6,children:e})]})}var hQ=V([`inline-flex shrink-0 cursor-default items-center justify-center rounded-md`,`motion-press`,`outline-none data-focus-visible:ring-2 data-focus-visible:ring-ring data-focus-visible:ring-offset-2 data-focus-visible:ring-offset-background`,`data-disabled:opacity-50`],{variants:{variant:{ghost:`text-foreground-secondary data-hovered:bg-secondary data-hovered:text-foreground data-pressed:bg-secondary-hover`,secondary:`border border-border bg-secondary text-secondary-foreground data-hovered:border-border-strong data-hovered:bg-secondary-hover data-pressed:bg-secondary-hover`},size:{sm:`size-8`,md:`size-10`}},defaultVariants:{variant:`ghost`,size:`md`}}),gQ={sm:16,md:18};function _Q({label:e,icon:t,onPress:n,isDisabled:r=!1,size:i,variant:a}){return(0,S.jsx)(mQ,{content:e,children:(0,S.jsx)(eO,{className:hQ({size:i,variant:a}),"aria-label":e,isDisabled:r,...n&&{onPress:n},children:(0,S.jsx)(t,{"aria-hidden":!0,size:gQ[i??`md`]})})})}var vQ=V(`fixed inset-0 layer-overlay flex bg-scrim motion-scrim`,{variants:{placement:{center:`items-center justify-center p-4`,side:`justify-end`}},defaultVariants:{placement:`center`}}),yQ=V(`flex w-full flex-col overflow-hidden border-border bg-background-elevated shadow-xl outline-none`,{variants:{placement:{center:`max-h-full rounded-lg border motion-pop`,side:`h-full border-l motion-sheet`},size:{sm:`max-w-sm`,md:`max-w-lg`,lg:`max-w-2xl`}},defaultVariants:{placement:`center`,size:`md`}}),bQ=V(`flex min-h-0 flex-col outline-none`,{variants:{placement:{center:``,side:`h-full`}},defaultVariants:{placement:`center`}}),xQ=`flex items-start justify-between gap-4 px-6 pt-5 pb-2`,SQ=`pt-1 text-lg font-semibold tracking-tight text-foreground`,CQ=`min-h-0 flex-1 overflow-auto px-6 py-2 text-base text-foreground-secondary`;function wQ({isOpen:e,onOpenChange:t,onClosed:n,title:r,children:i,footer:a,closeLabel:o,role:s=`dialog`,size:c,placement:l}){let u=(0,x.useRef)({isOpen:e,onClosed:n});(0,x.useEffect)(()=>{u.current={isOpen:e,onClosed:n}});let d=(0,x.useCallback)(()=>()=>{u.current.isOpen||u.current.onClosed?.()},[]);return(0,S.jsx)(gK,{ref:d,className:vQ({placement:l}),isOpen:e,onOpenChange:t,isDismissable:s===`dialog`,children:(0,S.jsx)(mK,{className:yQ({size:c,placement:l}),children:(0,S.jsx)(kV,{className:bQ({placement:l}),role:s,children:({close:e})=>(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)(`div`,{className:xQ,children:[(0,S.jsx)(iO,{slot:`title`,className:SQ,children:r}),o!==void 0&&(0,S.jsx)(_Q,{label:o,icon:Gx,size:`sm`,onPress:e})]}),(0,S.jsx)(`div`,{className:CQ,children:i}),a!==void 0&&(0,S.jsx)(`div`,{className:`flex items-center justify-end gap-2 px-6 pt-4 pb-5`,children:a})]})})})})}var TQ=V(`flex min-w-0 flex-col gap-4`,{variants:{frame:{box:`rounded-md border border-border p-4`,none:``}},defaultVariants:{frame:`box`}}),EQ=V(``,{variants:{hidden:{false:`${LZ} px-1`,true:`sr-only`}},defaultVariants:{hidden:!1}}),DQ=BZ;function OQ({legend:e,description:t,isLegendHidden:n=!1,children:r}){return(0,S.jsxs)(`fieldset`,{className:TQ({frame:n?`none`:`box`}),children:[(0,S.jsx)(`legend`,{className:EQ({hidden:n}),children:e}),t!==void 0&&(0,S.jsx)(`p`,{className:DQ,children:t}),r]})}var kQ={image:[`image/jpeg`,`image/png`,`image/webp`],csv:[`text/csv`,`.csv`]};function AQ({children:e,icon:t,accept:n,onSelect:r,isPending:i=!1,variant:a=`secondary`,size:o=`md`,collapses:s=!1}){return(0,S.jsx)(WW,{acceptedFileTypes:[...kQ[n]],onSelect:e=>{let t=e?.[0];t&&r(t)},children:(0,S.jsx)(q,{variant:a,size:o,isPending:i,collapses:s,...t&&{icon:t},children:e})})}var jQ=V(`flex flex-col`,{variants:{gap:J_},defaultVariants:{gap:4}});function MQ({onSubmit:e,label:t,children:n,gap:r}){return(0,S.jsx)(aj,{className:jQ({gap:r}),validationBehavior:`aria`,...t!==void 0&&{"aria-label":t},onSubmit:t=>{t.preventDefault(),e()},children:n})}var NQ=V(`grid`,{variants:{gap:J_,columns:{1:`grid-cols-1`,2:`grid-cols-1 md:grid-cols-2`,3:`grid-cols-1 md:grid-cols-3`,4:`grid-cols-2 md:grid-cols-4`}},defaultVariants:{gap:4,columns:2}});function PQ({as:e=`div`,children:t,...n}){return(0,S.jsx)(e,{className:NQ(n),children:t})}var FQ=V(`text-foreground tracking-tight`,{variants:{size:{sm:`text-base font-semibold`,md:`text-lg font-semibold`,lg:`text-xl font-semibold`,xl:`text-2xl font-semibold`,display:`font-display text-3xl font-bold`},truncate:{true:`truncate`,false:``}}}),IQ={1:`display`,2:`lg`,3:`md`,4:`sm`},LQ={1:`h1`,2:`h2`,3:`h3`,4:`h4`};function RQ({level:e,size:t,truncate:n,children:r}){let i=LQ[e];return(0,S.jsx)(i,{className:FQ({size:t??IQ[e],truncate:n}),children:r})}var zQ=V(`flex flex-row`,{variants:{gap:J_,align:{start:`items-start`,center:`items-center`,end:`items-end`,baseline:`items-baseline`,stretch:`items-stretch`},justify:{start:`justify-start`,center:`justify-center`,end:`justify-end`,between:`justify-between`},wrap:{true:`flex-wrap`}},defaultVariants:{gap:2,align:`center`,justify:`start`}});function BQ({as:e=`div`,children:t,...n}){return(0,S.jsx)(e,{className:zQ(n),children:t})}var VQ=V([`rounded-sm underline underline-offset-2 transition-colors motion-fast`,`outline-none data-focus-visible:ring-2 data-focus-visible:ring-ring data-focus-visible:ring-offset-2 data-focus-visible:ring-offset-background`,`data-disabled:no-underline data-disabled:opacity-50`],{variants:{tone:{default:`text-foreground decoration-border-strong data-hovered:decoration-current`,muted:`text-foreground-secondary decoration-border data-hovered:text-foreground data-hovered:decoration-current`}},defaultVariants:{tone:`default`}});function HQ({href:e,children:t,opensInNewTab:n=!1,isDisabled:r=!1,tone:i}){return(0,S.jsx)(yD,{className:VQ({tone:i}),href:e,isDisabled:r,...n&&{target:`_blank`,rel:`noopener noreferrer`},children:t})}var UQ=V(`shrink-0`,{variants:{size:{sm:`h-5 w-5`,md:`h-6 w-6`,lg:`h-8 w-8`}},defaultVariants:{size:`md`}}),WQ=`fill-brand-fill`,GQ=V(``,{variants:{tone:{default:`fill-foreground`,rail:`fill-rail-foreground`}},defaultVariants:{tone:`default`}}),KQ=`0 0 90 101`,qQ=`M35.1288 23.8398L45.1667 49.4151L56.2482 23.8398H87.1082C86.5647 23.3764 85.9776 22.9637 85.3616 22.5944L48.6165 0.704798C46.377 -0.0699896 43.4273 -0.439281 41.2675 0.842377L3.36286 23.3692C3.13819 23.5067 2.92801 23.666 2.72508 23.8326H35.1288V23.8398Z`,JQ=`M0.144951 28.8578C0.079723 29.2851 0.0434853 29.7123 0.0434853 30.1323L0 72.036C0 76.1778 1.95684 78.3936 5.26172 80.3631L39.4919 100.703L0.144951 28.8578Z`,YQ=`M89.9203 28.7058L50.0588 101L86.6661 79.1539C88.7027 77.9374 90 75.0265 90 72.6442L89.9783 29.6037C89.9783 29.2923 89.9493 28.9954 89.913 28.6985L89.9203 28.7058Z`;function XQ({label:e,size:t,tone:n}){return(0,S.jsxs)(`svg`,{role:`img`,"aria-label":e,viewBox:KQ,className:UQ({size:t}),children:[(0,S.jsx)(`path`,{className:WQ,d:qQ}),(0,S.jsx)(`path`,{className:GQ({tone:n}),d:JQ}),(0,S.jsx)(`path`,{className:GQ({tone:n}),d:YQ})]})}var ZQ=`flex min-h-dvh w-full flex-col items-center justify-center gap-5 bg-background bg-grid-clearing`,QQ=`h-auto w-16 overflow-visible`,$Q=`fill-border`,e$={top:`motion-mark-top`,left:`motion-mark-left`,right:`motion-mark-right`},t$={top:`fill-brand-fill motion-mark-colour-top`,left:`fill-foreground motion-mark-colour-left`,right:`fill-foreground motion-mark-colour-right`},n$=`text-sm font-medium text-foreground-subtle`,r$=[{id:`top`,d:qQ},{id:`left`,d:JQ},{id:`right`,d:YQ}];function i$({label:e}){return(0,S.jsxs)(`div`,{role:`status`,className:ZQ,children:[(0,S.jsx)(`svg`,{viewBox:KQ,"aria-hidden":`true`,className:QQ,children:r$.map(e=>(0,S.jsxs)(`g`,{className:e$[e.id],children:[(0,S.jsx)(`path`,{className:$Q,d:e.d}),(0,S.jsx)(`path`,{className:t$[e.id],d:e.d})]},e.id))}),(0,S.jsx)(`span`,{className:n$,children:e})]})}var a$=`${WZ} min-w-40`,o$=`outline-none`,s$=V(GZ,{variants:{tone:{default:`text-foreground`,danger:`text-destructive`}},defaultVariants:{tone:`default`}});function c$({trigger:e,actions:t,onAction:n,placement:r=`bottom end`}){return(0,S.jsxs)(gV,{children:[e,(0,S.jsx)(gB,{className:a$,placement:r,children:(0,S.jsx)(vV,{className:o$,onAction:e=>n(String(e)),disabledKeys:t.filter(e=>e.isDisabled).map(e=>e.id),children:t.map(({id:e,label:t,icon:n,tone:r})=>(0,S.jsxs)(wV,{id:e,className:s$({tone:r}),textValue:t,children:[n&&(0,S.jsx)(n,{"aria-hidden":!0,size:16}),t]},e))})})]})}var l$=V(`flex flex-col gap-1.5`,{variants:{width:{full:`w-full`,md:`w-80`,sm:`w-48`}},defaultVariants:{width:`sm`}}),u$=`${UZ} tabular-nums placeholder:text-foreground-subtle`;function d$({label:e,isLabelHidden:t=!1,description:n,errorMessage:r,value:i,defaultValue:a,onChange:o,minValue:s,maxValue:c,isInteger:l=!1,name:u,isRequired:d=!1,isDisabled:f=!1,isReadOnly:p=!1,width:m}){return(0,S.jsxs)(SK,{className:l$({width:m}),isRequired:d,isDisabled:f,isReadOnly:p,isInvalid:r!==void 0,formatOptions:l?{maximumFractionDigits:0}:{maximumFractionDigits:6},...i!==void 0&&{value:i??NaN},...a!==void 0&&{defaultValue:a},...o&&{onChange:e=>o(Number.isNaN(e)?null:e)},...s!==void 0&&{minValue:s},...c!==void 0&&{maxValue:c},...u!==void 0&&{name:u},children:[(0,S.jsxs)(xD,{className:t?RZ:LZ,children:[e,d&&(0,S.jsx)(`span`,{"aria-hidden":!0,className:`text-destructive`,children:` *`})]}),(0,S.jsx)(AN,{className:u$}),n!==void 0&&(0,S.jsx)(oO,{slot:`description`,className:`text-sm text-foreground-muted`,children:n}),(0,S.jsx)(GA,{className:VZ,children:r})]})}var f$=`group relative flex w-full items-center`,p$=`pointer-events-none absolute left-3 text-foreground-muted`,m$=`h-10 w-full rounded-lg border border-border-strong bg-background pr-9 pl-9 text-base text-foreground placeholder:text-foreground-subtle outline-none transition-colors motion-fast data-hovered:border-foreground-subtle data-focused:border-ring data-focused:ring-2 data-focused:ring-ring`,h$=`absolute right-2 flex h-6 w-6 items-center justify-center rounded-sm text-foreground-muted outline-none data-hovered:text-foreground data-focus-visible:ring-2 data-focus-visible:ring-ring group-data-empty:hidden`;function g$({label:e,placeholder:t,value:n,onChange:r,clearLabel:i}){return(0,S.jsxs)(lq,{"aria-label":e,className:f$,value:n,onChange:r,children:[(0,S.jsx)(lx,{"aria-hidden":!0,size:16,className:p$}),(0,S.jsx)(AN,{className:m$,...t!==void 0&&{placeholder:t}}),(0,S.jsx)(eO,{"aria-label":i,className:h$,children:(0,S.jsx)(Gx,{"aria-hidden":!0,size:16})})]})}var _$=`inline-flex flex-wrap gap-1`,v$=V([`inline-flex h-8 cursor-default items-center gap-2 rounded-md text-sm font-medium text-foreground-secondary`,`transition-colors motion-fast`,`outline-none data-hovered:text-foreground data-selected:bg-background-tertiary data-selected:text-foreground`,`data-focus-visible:ring-2 data-focus-visible:ring-ring data-disabled:text-foreground-subtle`],{variants:{isIconOnly:{true:`w-8 justify-center`,false:`px-3`}},defaultVariants:{isIconOnly:!1}}),y$=`sr-only`,b$=`flex min-w-0 flex-col items-start gap-2`,x$=LZ,S$=BZ,C$=VZ;function w$({label:e,options:t,selected:n,onChange:r,isLabelShown:i=!1,description:a,errorMessage:o,areLabelsHidden:s=!1}){let c=(0,S.jsx)(lZ,{"aria-label":e,className:_$,selectionMode:`single`,disallowEmptySelection:!0,selectedKeys:[n],onSelectionChange:e=>{let[t]=e;t!==void 0&&String(t)!==n&&r(String(t))},children:t.map(e=>{let t=e.icon,n=s&&t!==void 0,r=(0,S.jsxs)(dZ,{id:e.id,className:v$({isIconOnly:n}),isDisabled:e.isDisabled??!1,children:[e.swatch!==void 0&&(0,S.jsx)(`svg`,{"aria-hidden":`true`,viewBox:`0 0 16 16`,className:`h-4 w-4 shrink-0 stroke-border-strong`,children:(0,S.jsx)(`circle`,{cx:`8`,cy:`8`,r:`7`,fill:e.swatch})}),t&&(0,S.jsx)(t,{"aria-hidden":!0,size:16}),n?(0,S.jsx)(`span`,{className:y$,children:e.label}):e.label]},e.id);return n?(0,S.jsx)(mQ,{content:e.label,placement:`bottom`,children:r},e.id):r})});return!i&&a===void 0&&o===void 0?c:(0,S.jsxs)(`div`,{className:b$,children:[i&&(0,S.jsx)(`span`,{"aria-hidden":`true`,className:x$,children:e}),c,o===void 0?a!==void 0&&(0,S.jsx)(`p`,{className:S$,children:a}):(0,S.jsx)(`p`,{className:C$,children:o})]})}var T$=V(`flex flex-col gap-1.5`,{variants:{width:{full:`w-full`,md:`w-80`,sm:`w-48`}},defaultVariants:{width:`full`}}),E$=`${UZ} flex cursor-default items-center justify-between gap-2 text-left`,D$=`min-w-0 flex-1 truncate data-placeholder:text-foreground-subtle`,O$=`shrink-0 text-foreground-muted`,k$=`${WZ} max-h-72 min-w-(--trigger-width)`,A$=`outline-none`,j$=`${GZ} justify-between text-foreground`;function M$({label:e,isLabelHidden:t=!1,options:n,value:r,defaultValue:i,onChange:a,placeholder:o,description:s,errorMessage:c,isRequired:l=!1,isDisabled:u=!1,name:d,width:f}){return(0,S.jsxs)(yq,{className:T$({width:f}),isRequired:l,isDisabled:u,isInvalid:c!==void 0,...r!==void 0&&{value:r},...i!==void 0&&{defaultValue:i},...a&&{onChange:e=>e!==null&&a(String(e))},...o!==void 0&&{placeholder:o},...d!==void 0&&{name:d},children:[(0,S.jsxs)(xD,{className:t?RZ:LZ,children:[e,l&&(0,S.jsx)(`span`,{"aria-hidden":!0,className:`text-destructive`,children:` *`})]}),(0,S.jsxs)(eO,{className:E$,children:[(0,S.jsx)(Cq,{className:D$}),(0,S.jsx)(Mv,{"aria-hidden":!0,size:16,className:O$})]}),s!==void 0&&(0,S.jsx)(oO,{slot:`description`,className:`text-sm text-foreground-muted`,children:s}),(0,S.jsx)(GA,{className:VZ,children:c}),(0,S.jsx)(gB,{className:k$,children:(0,S.jsx)(ZL,{className:A$,children:n.map(e=>(0,S.jsx)(nR,{id:e.id,className:j$,textValue:e.label,children:t=>(0,S.jsxs)(S.Fragment,{children:[e.label,t.isSelected&&(0,S.jsx)(Av,{"aria-hidden":!0,size:16,className:`shrink-0 text-foreground-secondary`})]})},e.id))})})]})}var N$=V(`motion-skeleton block shrink-0 bg-background-tertiary`,{variants:{shape:{text:`h-4 rounded-sm`,title:`h-8 rounded-md`,control:`h-10 rounded-md`,block:`h-32 rounded-lg`,square:`size-10 rounded-md`},width:{full:`w-full`,"3/4":`w-3/4`,"1/2":`w-1/2`,"1/3":`w-1/3`,"1/4":`w-1/4`,sm:`w-24`,xs:`w-16`}},compoundVariants:[{shape:`square`,className:`w-10`}],defaultVariants:{shape:`text`,width:`full`}}),P$=`contents`,F$=`sr-only`;function I$({shape:e,width:t}){return(0,S.jsx)(`span`,{"aria-hidden":!0,className:N$({shape:e,width:e===`square`?null:t})})}function L$({label:e,children:t}){return(0,S.jsxs)(`div`,{role:`status`,className:P$,children:[(0,S.jsx)(`span`,{className:F$,children:e}),t]})}var R$=V(`inline-flex items-center gap-2 text-foreground-secondary`,{variants:{size:{sm:`text-sm`,md:`text-base`}},defaultVariants:{size:`md`}}),z$=`animate-spin`,B$=`sr-only`,V$={sm:16,md:20};function H$({label:e,showLabel:t=!1,size:n}){return(0,S.jsxs)(`span`,{role:`status`,className:R$({size:n}),children:[(0,S.jsx)(ob,{"aria-hidden":!0,size:V$[n??`md`],className:z$}),(0,S.jsx)(`span`,{className:t?void 0:B$,children:e})]})}var U$=V(`min-w-0 rounded-md transition-shadow motion-base`,{variants:{lit:{true:`ring-2 ring-ring ring-offset-4 ring-offset-card`,false:`ring-0 ring-transparent`}},defaultVariants:{lit:!1}}),W$=1600;function G$({at:e,children:t}){let n=(0,x.useRef)(null),[r,i]=(0,x.useState)(!1);return(0,x.useEffect)(()=>{if(e===void 0){i(!1);return}typeof n.current?.scrollIntoView==`function`&&n.current.scrollIntoView({block:`nearest`}),i(!0);let t=setTimeout(()=>i(!1),W$);return()=>clearTimeout(t)},[e]),(0,S.jsx)(`div`,{ref:n,className:U$({lit:r}),...r&&{"data-lit":``},children:t})}var K$=V(`flex flex-col`,{variants:{gap:J_,align:{stretch:`items-stretch`,start:`items-start`,center:`items-center`,end:`items-end`},fill:{true:`min-h-full`}},defaultVariants:{gap:4,align:`stretch`}});function J({as:e=`div`,children:t,...n}){return(0,S.jsx)(e,{className:K$(n),children:t})}var q$=`flex flex-col gap-1 rounded-xl border border-border bg-card px-5 py-4`,J$=`text-sm font-medium text-foreground-muted`,Y$=`font-display text-3xl font-bold text-foreground`;function X$({label:e,value:t,detail:n}){return(0,S.jsxs)(`div`,{role:`group`,"aria-label":e,className:q$,children:[(0,S.jsx)(`span`,{"aria-hidden":!0,className:J$,children:e}),(0,S.jsx)(`span`,{className:Y$,children:t}),n!==void 0&&(0,S.jsx)(`span`,{className:`text-sm text-foreground-muted`,children:n})]})}var Z$=`group inline-flex cursor-default items-center gap-2 text-base text-foreground data-disabled:text-foreground-muted`,Q$=`flex h-5 w-9 shrink-0 items-center rounded-full border border-transparent bg-border-strong p-0.5 transition-colors motion-base group-data-selected:bg-primary group-data-focus-visible:ring-2 group-data-focus-visible:ring-ring group-data-focus-visible:ring-offset-2 group-data-focus-visible:ring-offset-background group-data-disabled:opacity-50`,$$=`size-3.5 rounded-full bg-background shadow-sm transition-transform motion-base group-data-selected:translate-x-4`,e1=`sr-only`;function t1({label:e,isLabelHidden:t=!1,isSelected:n,defaultSelected:r,onChange:i,isDisabled:a=!1,name:o}){return(0,S.jsxs)(Dq,{className:Z$,isDisabled:a,...n!==void 0&&{isSelected:n},...r!==void 0&&{defaultSelected:r},...i&&{onChange:i},...o!==void 0&&{name:o},children:[(0,S.jsx)(`span`,{className:Q$,children:(0,S.jsx)(`span`,{className:$$})}),t?(0,S.jsx)(`span`,{className:e1,children:e}):e]})}var n1=V(`overflow-x-auto`,{variants:{frame:{card:`rounded-xl border border-border bg-card`,none:``}},defaultVariants:{frame:`card`}}),r1=`w-full border-separate border-spacing-0 text-left text-base outline-none`,i1={start:`text-left`,end:`text-right`},a1={true:`hidden md:table-cell`,false:``},o1=V([`border-b border-border px-4 py-2.5 text-xs font-semibold whitespace-nowrap text-foreground-muted`,`outline-none data-focus-visible:ring-2 data-focus-visible:ring-ring data-focus-visible:ring-inset`,`data-allows-sorting:cursor-default data-hovered:text-foreground`],{variants:{align:i1,isSecondary:a1},defaultVariants:{align:`start`,isSecondary:!1}}),s1=`inline-flex items-center gap-1`,c1=`group outline-none transition-colors motion-fast data-hovered:bg-background-secondary data-pressed:bg-background-tertiary data-focus-visible:ring-2 data-focus-visible:ring-ring data-focus-visible:ring-inset data-href:cursor-pointer data-action:cursor-pointer`,l1=V(`border-b border-border px-4 py-3 align-middle text-foreground outline-none group-last:border-b-0 data-focus-visible:ring-2 data-focus-visible:ring-ring data-focus-visible:ring-inset`,{variants:{align:i1,isSecondary:a1},defaultVariants:{align:`start`,isSecondary:!1}}),u1=`px-4 py-12 text-center text-foreground-muted`;function d1({label:e,columns:t,rows:n,onRowAction:r,sort:i,onSortChange:a,empty:o,frame:s=`card`}){return(0,S.jsx)(`div`,{className:n1({frame:s}),children:(0,S.jsxs)(nY,{"aria-label":e,className:r1,...i&&{sortDescriptor:i},...a&&{onSortChange:e=>a({column:String(e.column),direction:e.direction})},...r&&{onRowAction:e=>r(String(e))},children:[(0,S.jsx)(lY,{children:t.map((e,t)=>(0,S.jsx)(mY,{id:e.id,className:o1({align:e.align,isSecondary:t>0&&e.isSecondary===!0}),isRowHeader:t===0,allowsSorting:e.isSortable??!1,textValue:e.label,children:t=>(0,S.jsxs)(`span`,{className:s1,children:[e.label,t.sortDirection===`ascending`&&(0,S.jsx)(yv,{"aria-hidden":!0,size:14}),t.sortDirection===`descending`&&(0,S.jsx)(pv,{"aria-hidden":!0,size:14})]})},e.id))}),(0,S.jsx)(vY,{renderEmptyState:()=>(0,S.jsx)(`div`,{className:u1,children:o}),children:n.map(e=>(0,S.jsx)(SY,{id:e.id,className:c1,children:t.map((t,n)=>(0,S.jsx)(TY,{className:l1({align:t.align,isSecondary:n>0&&t.isSecondary===!0}),children:e.cells[t.id]},t.id))},e.id))})]})})}var f1=`flex flex-col gap-4`,p1=`flex gap-1 border-b border-border`,m1=`-mb-px cursor-default border-b-2 border-transparent px-3 py-2 text-base font-medium text-foreground-secondary transition-colors motion-fast outline-none data-hovered:text-foreground data-selected:border-primary data-selected:text-foreground data-focus-visible:rounded-sm data-focus-visible:ring-2 data-focus-visible:ring-ring data-disabled:text-foreground-subtle`,h1=`outline-none data-focus-visible:rounded-sm data-focus-visible:ring-2 data-focus-visible:ring-ring`;function g1({label:e,tabs:t,selected:n,defaultSelected:r,onChange:i}){return(0,S.jsxs)(UY,{className:f1,...n!==void 0&&{selectedKey:n},...r!==void 0&&{defaultSelectedKey:r},...i&&{onSelectionChange:e=>i(String(e))},children:[(0,S.jsx)(GY,{"aria-label":e,className:p1,children:t.map(e=>(0,S.jsx)(qY,{id:e.id,className:m1,isDisabled:e.isDisabled??!1,children:e.label},e.id))}),t.map(e=>(0,S.jsx)(JY,{id:e.id,className:h1,children:e.content},e.id))]})}var _1=V(`inline-flex h-6 items-center gap-1 rounded-md px-2 text-xs font-medium whitespace-nowrap`,{variants:{tone:{neutral:`bg-secondary text-secondary-foreground`,success:`bg-success-light text-success-foreground`,warning:`bg-warning-light text-warning-foreground`,danger:`bg-error-light text-error-foreground`,info:`bg-info-light text-info-foreground`}},defaultVariants:{tone:`neutral`}});function v1({icon:e,children:t,...n}){return(0,S.jsxs)(`span`,{className:_1(n),children:[e&&(0,S.jsx)(e,{"aria-hidden":!0,size:12}),t]})}var y1=V(``,{variants:{size:{xs:`text-xs`,sm:`text-sm`,base:`text-base`,lg:`text-lg`},tone:{default:`text-foreground`,secondary:`text-foreground-secondary`,muted:`text-foreground-muted`,danger:`text-destructive`,success:`text-success-foreground`},weight:{regular:`font-normal`,medium:`font-medium`,semibold:`font-semibold`},truncate:{true:`truncate`},mono:{true:`font-mono`}},defaultVariants:{size:`base`,tone:`default`,weight:`regular`}});function Y({as:e=`p`,children:t,...n}){return(0,S.jsx)(e,{className:y1(n),children:t})}var b1=V(`flex flex-col gap-1.5`,{variants:{width:{full:`w-full`,md:`w-80`,sm:`w-48`}},defaultVariants:{width:`full`}}),x1=`${UZ} placeholder:text-foreground-subtle`;function S1({label:e,isLabelHidden:t=!1,description:n,errorMessage:r,value:i,defaultValue:a,onChange:o,name:s,type:c=`text`,placeholder:l,autoComplete:u,isRequired:d=!1,isDisabled:f=!1,isReadOnly:p=!1,autoFocus:m=!1,width:h}){return(0,S.jsxs)(eX,{className:b1({width:h}),type:c,isRequired:d,isDisabled:f,isReadOnly:p,isInvalid:r!==void 0,autoFocus:m,...i!==void 0&&{value:i},...a!==void 0&&{defaultValue:a},...o&&{onChange:o},...s!==void 0&&{name:s},...u!==void 0&&{autoComplete:u},children:[(0,S.jsxs)(xD,{className:t?RZ:LZ,children:[e,d&&(0,S.jsx)(`span`,{"aria-hidden":!0,className:`text-destructive`,children:` *`})]}),(0,S.jsx)(AN,{className:x1,...l!==void 0&&{placeholder:l}}),n!==void 0&&(0,S.jsx)(oO,{slot:`description`,className:`text-sm text-foreground-muted`,children:n}),(0,S.jsx)(GA,{className:VZ,children:r})]})}var C1=V(`flex flex-col gap-1.5`,{variants:{width:{full:`w-full`,md:`w-80`}},defaultVariants:{width:`full`}}),w1=`${HZ} min-h-20 resize-y py-2 placeholder:text-foreground-subtle`;function T1({label:e,isLabelHidden:t=!1,description:n,errorMessage:r,value:i,defaultValue:a,onChange:o,name:s,placeholder:c,rows:l=4,isRequired:u=!1,isDisabled:d=!1,isReadOnly:f=!1,width:p}){return(0,S.jsxs)(eX,{className:C1({width:p}),isRequired:u,isDisabled:d,isReadOnly:f,isInvalid:r!==void 0,...i!==void 0&&{value:i},...a!==void 0&&{defaultValue:a},...o&&{onChange:o},...s!==void 0&&{name:s},children:[(0,S.jsxs)(xD,{className:t?RZ:LZ,children:[e,u&&(0,S.jsx)(`span`,{"aria-hidden":!0,className:`text-destructive`,children:` *`})]}),(0,S.jsx)(QY,{className:w1,rows:l,...c!==void 0&&{placeholder:c}}),n!==void 0&&(0,S.jsx)(oO,{slot:`description`,className:`text-sm text-foreground-muted`,children:n}),(0,S.jsx)(GA,{className:VZ,children:r})]})}var E1={size:{sm:`h-8 w-8`,md:`h-10 w-14`,lg:`h-14 w-20`,full:`aspect-video w-full`},shape:{rounded:`rounded-md`,circle:`rounded-full`}},D1={size:`md`,shape:`rounded`},O1=V(`shrink-0 border border-border bg-background-secondary object-cover`,{variants:E1,defaultVariants:D1}),k1=V(`flex shrink-0 items-center justify-center border border-dashed border-border-strong bg-background-secondary`,{variants:E1,defaultVariants:D1}),A1=`size-4 text-foreground-subtle`;function j1({src:e,size:t,shape:n}){return e===void 0?(0,S.jsx)(`span`,{"aria-hidden":`true`,className:k1({size:t,shape:n}),children:(0,S.jsx)(Ey,{className:A1})}):(0,S.jsx)(`img`,{src:e,alt:``,loading:`lazy`,className:O1({size:t,shape:n})})}var M1=`fixed bottom-4 right-4 layer-toast w-full max-w-sm outline-none`,N1=`toast-stack`,P1=`flex items-start gap-3 rounded-lg border border-border bg-background-elevated p-3 shadow-lg outline-none data-focus-visible:ring-2 data-focus-visible:ring-ring`,F1=V(`mt-0.5 shrink-0`,{variants:{tone:{neutral:`text-foreground-secondary`,success:`text-success`,danger:`text-destructive`}},defaultVariants:{tone:`neutral`}}),I1=`flex min-w-0 flex-1 flex-col gap-0.5 pt-0.5`,L1=`text-sm font-medium text-foreground`,R1=6e3,z1={neutral:Py,success:Bv,danger:Hv},B1=new JX({maxVisibleToasts:4});function X(e){let t=B1.add(e,e.tone===`danger`?{}:{timeout:R1});return()=>B1.close(t)}function V1(){B1.clear()}function H1({label:e,closeLabel:t}){return(0,S.jsx)(ZX,{queue:B1,"aria-label":e,className:M1,children:(0,S.jsx)(QX,{className:N1,children:({toast:e})=>{let n=e.content.tone??`neutral`,r=z1[n];return(0,S.jsxs)($X,{toast:e,className:P1,children:[(0,S.jsx)(r,{"aria-hidden":!0,size:18,className:F1({tone:n})}),(0,S.jsxs)(tZ,{className:I1,children:[(0,S.jsx)(oO,{slot:`title`,className:L1,children:e.content.title}),e.content.description!==void 0&&(0,S.jsx)(oO,{slot:`description`,className:`text-sm text-foreground-secondary`,children:e.content.description})]}),(0,S.jsx)(_Q,{label:t,icon:Gx,size:`sm`,onPress:()=>B1.close(e.key)})]})}})})}var U1=`flex w-full flex-col gap-2`,W1=`flex items-baseline justify-between gap-3 text-sm`,G1=`font-medium text-foreground-muted`,K1=`font-semibold text-foreground tabular-nums`,q1=`flex h-2 w-full overflow-hidden rounded-full bg-background-tertiary`,J1=V(`h-full rounded-full bg-brand-fill transition-all motion-slide`,{variants:{step:{0:`w-0`,1:`w-1/20`,2:`w-2/20`,3:`w-3/20`,4:`w-4/20`,5:`w-5/20`,6:`w-6/20`,7:`w-7/20`,8:`w-8/20`,9:`w-9/20`,10:`w-10/20`,11:`w-11/20`,12:`w-12/20`,13:`w-13/20`,14:`w-14/20`,15:`w-15/20`,16:`w-16/20`,17:`w-17/20`,18:`w-18/20`,19:`w-19/20`,20:`w-full`}},defaultVariants:{step:0}});function Y1({label:e,value:t,max:n,valueText:r}){return(0,S.jsx)(sK,{className:U1,value:Math.min(t,n),minValue:0,maxValue:n,valueLabel:r,children:({percentage:t,valueText:n})=>(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)(`span`,{className:W1,children:[(0,S.jsx)(xD,{className:G1,children:e}),(0,S.jsx)(`span`,{className:K1,children:n})]}),(0,S.jsx)(`span`,{className:q1,children:(0,S.jsx)(`span`,{className:J1({step:Math.min(20,Math.max(0,Math.round(t/5)))})})})]})})}var X1=`flex w-full flex-col gap-3`,Z1=`flex h-40 w-full items-end gap-1.5`,Q1=`flex h-full min-w-0 flex-1 flex-col items-center justify-end gap-1.5`,$1=`flex w-full flex-1 items-end border-b border-border`,e0=V(`w-full rounded-t-sm transition-all motion-slide`,{variants:{step:{0:`h-0`,1:`h-1/20`,2:`h-2/20`,3:`h-3/20`,4:`h-4/20`,5:`h-5/20`,6:`h-6/20`,7:`h-7/20`,8:`h-8/20`,9:`h-9/20`,10:`h-10/20`,11:`h-11/20`,12:`h-12/20`,13:`h-13/20`,14:`h-14/20`,15:`h-15/20`,16:`h-16/20`,17:`h-17/20`,18:`h-18/20`,19:`h-19/20`,20:`h-full`},isHighlighted:{true:`bg-brand-fill`,false:`bg-foreground-subtle`}},defaultVariants:{step:0,isHighlighted:!1}}),t0=`w-full truncate text-center text-xs text-foreground-muted`,n0=`flex w-full flex-col gap-3`,r0=`grid grid-cols-3 items-center gap-3`,i0=`truncate text-sm text-foreground-secondary`,a0=`col-span-2 flex items-center gap-3`,o0=`flex h-2.5 min-w-0 flex-1 rounded-full bg-background-tertiary`,s0=V(`h-full rounded-full transition-all motion-slide`,{variants:{step:{0:`w-0`,1:`w-1/20`,2:`w-2/20`,3:`w-3/20`,4:`w-4/20`,5:`w-5/20`,6:`w-6/20`,7:`w-7/20`,8:`w-8/20`,9:`w-9/20`,10:`w-10/20`,11:`w-11/20`,12:`w-12/20`,13:`w-13/20`,14:`w-14/20`,15:`w-15/20`,16:`w-16/20`,17:`w-17/20`,18:`w-18/20`,19:`w-19/20`,20:`w-full`},isHighlighted:{true:`bg-brand-fill`,false:`bg-foreground-subtle`}},defaultVariants:{step:0,isHighlighted:!1}}),c0=`w-20 shrink-0 text-right text-sm font-semibold text-foreground tabular-nums`,l0=`sr-only`,u0=(e,t)=>t<=0||e<=0?0:Math.min(20,Math.max(1,Math.round(e/t*20)));function d0({label:e,bars:t,layout:n=`columns`,highlightId:r}){let i=(0,x.useId)(),a=Math.max(0,...t.map(e=>e.value));return(0,S.jsxs)(`figure`,{className:X1,"aria-labelledby":i,children:[(0,S.jsx)(`figcaption`,{id:i,className:l0,children:e}),(0,S.jsx)(`ul`,{className:l0,children:t.map(e=>(0,S.jsx)(`li`,{children:`${e.label}: ${e.valueText}`},e.id))}),n===`columns`?(0,S.jsx)(`div`,{"aria-hidden":!0,className:Z1,children:t.map(e=>(0,S.jsxs)(`div`,{className:Q1,children:[(0,S.jsx)(`div`,{className:$1,children:(0,S.jsx)(`div`,{className:e0({step:u0(e.value,a),isHighlighted:e.id===r})})}),(0,S.jsx)(`span`,{className:t0,children:e.label})]},e.id))}):(0,S.jsx)(`div`,{"aria-hidden":!0,className:n0,children:t.map(e=>(0,S.jsxs)(`div`,{className:r0,children:[(0,S.jsx)(`span`,{className:i0,children:e.label}),(0,S.jsxs)(`span`,{className:a0,children:[(0,S.jsx)(`span`,{className:o0,children:(0,S.jsx)(`span`,{className:s0({step:u0(e.value,a),isHighlighted:e.id===r})})}),(0,S.jsx)(`span`,{className:c0,children:e.valueText})]})]},e.id))})]})}var f0=(0,x.createContext)(void 0);function p0(){return(0,x.useContext)(f0)}var m0=(0,x.createContext)(void 0);function h0(){return(0,x.useContext)(m0)}var g0=`flex h-dvh flex-col overflow-hidden bg-background text-foreground md:flex-row md:bg-rail`,_0=`sr-only layer-toast rounded-md bg-primary px-4 py-2 text-base font-medium text-primary-foreground focus:not-sr-only focus:fixed focus:top-2 focus:left-2`,v0=`hidden w-16 shrink-0 flex-col items-center gap-1 bg-rail px-2 py-3 md:flex`,y0=`flex h-11 w-11 shrink-0 items-center justify-center pb-2`,b0=`flex min-h-0 w-full flex-1 flex-col items-center gap-1 overflow-y-auto`,x0=V(`flex w-full flex-col items-center gap-1`,{variants:{place:{start:`border-t border-rail-border pt-2 first:border-t-0 first:pt-0`,end:`mt-auto pt-2`}},defaultVariants:{place:`start`}}),S0=`flex flex-col items-center gap-1`,C0=V([`relative flex h-11 w-11 items-center justify-center rounded-lg transition-colors motion-fast`,`outline-none data-focus-visible:ring-2 data-focus-visible:ring-rail-foreground`],{variants:{isCurrent:{true:`bg-rail-current text-rail-foreground`,false:`text-rail-muted data-hovered:bg-rail-hover data-hovered:text-rail-foreground`}},defaultVariants:{isCurrent:!1}}),w0=`sr-only`,T0=`flex h-11 w-11 shrink-0 items-center justify-center rounded-lg transition-colors motion-fast outline-none data-hovered:bg-rail-hover data-pressed:bg-rail-hover data-focus-visible:ring-2 data-focus-visible:ring-rail-foreground`,E0=V(`dark hidden shrink-0 overflow-hidden text-foreground transition-all motion-slide view-shell-places md:flex`,{variants:{isOpen:{true:`w-56`,false:`w-0`}},defaultVariants:{isOpen:!1}}),D0=V(`flex w-56 shrink-0 flex-col gap-5 overflow-y-auto px-3 py-5 transition-all motion-slide`,{variants:{isOpen:{true:`translate-x-0 opacity-100`,false:`-translate-x-4 opacity-0`}},defaultVariants:{isOpen:!1}}),O0=`flex min-w-0 flex-col gap-0.5 px-2.5`,k0=`truncate text-base font-bold text-foreground`,A0=`flex flex-col gap-0.5`,j0=V([`flex min-h-9 items-center gap-2.5 rounded-lg px-2.5 text-base transition-colors motion-fast`,`outline-none data-focus-visible:ring-2 data-focus-visible:ring-ring`],{variants:{isCurrent:{true:`bg-background-tertiary font-semibold text-foreground`,false:`font-medium text-foreground-muted data-hovered:bg-background-secondary data-hovered:text-foreground`}},defaultVariants:{isCurrent:!1}}),M0=`min-w-0 flex-1 truncate`,N0=`flex min-h-0 min-w-0 flex-1 flex-col view-shell-panel md:my-2 md:mr-2 md:overflow-hidden md:rounded-2xl md:border md:border-border md:bg-card md:shadow-sm`,P0=V(`flex min-h-14 shrink-0 items-center gap-2 border-b border-border bg-card px-3 md:min-h-16 md:gap-3 md:px-6`,{variants:{isHidden:{true:`md:hidden`,false:``}},defaultVariants:{isHidden:!1}}),F0=`flex min-w-0 flex-1 items-center`,I0=V([`flex h-10 min-w-0 shrink-0 items-center gap-2.5 rounded-lg border border-border bg-background px-3 text-base text-foreground-subtle transition-colors motion-fast`,`outline-none data-hovered:border-border-strong data-hovered:text-foreground-muted data-focus-visible:ring-2 data-focus-visible:ring-ring`],{variants:{isScreenLeadingBack:{true:`max-md:hidden`,false:`xl:w-52`}},defaultVariants:{isScreenLeadingBack:!1}}),L0=V(`sr-only min-w-0 flex-1 truncate text-left`,{variants:{isScreenLeadingBack:{true:``,false:`xl:not-sr-only xl:overflow-hidden xl:whitespace-nowrap`}},defaultVariants:{isScreenLeadingBack:!1}}),R0=V(`hidden shrink-0 rounded-sm border border-border px-1.5 font-mono text-xs text-foreground-subtle`,{variants:{isScreenLeadingBack:{true:``,false:`xl:block`}},defaultVariants:{isScreenLeadingBack:!1}}),z0=V([`h-10 w-10 shrink-0 items-center justify-center rounded-md text-foreground transition-colors motion-fast md:hidden`,`outline-none data-hovered:bg-background-tertiary data-pressed:bg-background-tertiary data-focus-visible:ring-2 data-focus-visible:ring-ring`],{variants:{isScreenLeadingBack:{true:`hidden`,false:`flex`}},defaultVariants:{isScreenLeadingBack:!1}}),B0=`fixed inset-0 layer-overlay flex bg-scrim motion-scrim`,V0=`h-full w-72 max-w-full border-r border-border bg-card shadow-xl outline-none motion-sheet-start`,H0=`flex h-full flex-col gap-4 overflow-y-auto px-3 py-5 outline-none`,U0=`flex flex-col gap-4`,W0=`flex w-full items-center gap-2.5 rounded-md px-2 py-1.5 text-left text-foreground-muted transition-colors motion-fast outline-none data-hovered:bg-background-tertiary data-pressed:bg-background-tertiary data-focus-visible:ring-2 data-focus-visible:ring-ring`,G0=`relative min-h-0 min-w-0 flex-1 overflow-auto bg-background outline-none`,K0=`main`,q0=e=>e.split(/\s+/).filter(Boolean).slice(0,2).map(e=>e.charAt(0).toUpperCase()).join(``);function J0({item:e,onPress:t}){let{label:n,href:r,icon:i,isCurrent:a=!1,count:o}=e;return(0,S.jsxs)(yD,{className:j0({isCurrent:a}),href:r,...a&&{"aria-current":`page`},...t&&{onPress:t},children:[i&&(0,S.jsx)(i,{"aria-hidden":!0,size:16}),(0,S.jsx)(`span`,{className:M0,children:n}),o!==void 0&&(0,S.jsx)(`span`,{className:`shrink-0 text-xs font-medium text-foreground-muted tabular-nums`,children:o})]})}function Y0({groups:e,onPress:t}){return e.map(e=>(0,S.jsxs)(`div`,{role:`group`,...e.label!==void 0&&{"aria-label":e.label},children:[e.label!==void 0&&(0,S.jsx)(`div`,{"aria-hidden":!0,className:`px-2.5 pb-1.5 text-xs font-semibold tracking-widest text-foreground-subtle uppercase`,children:e.label}),(0,S.jsx)(`ul`,{className:A0,children:e.items.map(e=>(0,S.jsx)(`li`,{children:(0,S.jsx)(J0,{item:e,onPress:t})},e.id))})]},e.id))}function X0({logoLabel:e,siteName:t,siteDetail:n,navLabel:r,nav:i,menuLabel:a,skipLabel:o,search:s,account:c,isBarHidden:l=!1,children:u}){let[d,f]=(0,x.useState)(null),[p,m]=(0,x.useState)(0),h=(0,x.useCallback)(e=>m(t=>Math.max(0,t+(e?1:-1))),[]),g=p>0,_=(0,S.jsxs)(`div`,{className:O0,children:[(0,S.jsx)(`span`,{className:k0,children:t}),n!==void 0&&(0,S.jsx)(`span`,{className:`truncate text-xs text-foreground-subtle`,children:n})]}),v=i.flatMap(e=>e.items).find(e=>e.isCurrent===!0&&(e.children?.length??0)>0),y=(0,x.useRef)(void 0);v!==void 0&&(y.current=v);let b=v??y.current,C=v!==void 0,w=c!==void 0&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(`span`,{className:`sr-only`,children:c.label}),(0,S.jsx)(`span`,{"aria-hidden":!0,className:`flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-rail-current text-xs font-bold text-rail-foreground`,children:q0(c.name)})]});return(0,S.jsxs)(`div`,{className:g0,children:[(0,S.jsx)(`a`,{className:_0,href:`#${K0}`,onClick:e=>{e.preventDefault(),document.getElementById(K0)?.focus()},children:o}),(0,S.jsxs)(`aside`,{className:v0,children:[(0,S.jsx)(`div`,{className:y0,children:(0,S.jsx)(XQ,{label:e,tone:`rail`})}),(0,S.jsx)(`nav`,{"aria-label":r,className:b0,children:i.map(e=>(0,S.jsx)(`div`,{role:`group`,className:x0({place:e.place}),...e.label!==void 0&&{"aria-label":e.label},children:(0,S.jsx)(`ul`,{className:S0,children:e.items.map(({id:e,label:t,href:n,icon:r,isCurrent:i=!1,count:a})=>(0,S.jsx)(`li`,{children:(0,S.jsx)(mQ,{content:t,placement:`right`,children:(0,S.jsxs)(yD,{className:C0({isCurrent:i}),href:n,...i&&{"aria-current":`page`},children:[r&&(0,S.jsx)(r,{"aria-hidden":!0,size:20}),(0,S.jsx)(`span`,{className:w0,children:t}),a!==void 0&&(0,S.jsx)(`span`,{"aria-hidden":!0,className:`absolute top-1 right-1 flex h-4 min-w-4 items-center justify-center rounded-full bg-rail-foreground px-1 text-xs font-bold text-rail`,children:a})]})})},e))})},e.id))}),c!==void 0&&(0,S.jsx)(c$,{placement:`top start`,actions:c.actions,onAction:c.onAction,trigger:(0,S.jsxs)(eO,{className:T0,children:[w,(0,S.jsxs)(`span`,{className:`sr-only`,children:[(0,S.jsx)(`span`,{children:c.name}),c.detail!==void 0&&(0,S.jsx)(`span`,{children:c.detail})]})]})})]}),(0,S.jsx)(`div`,{className:E0({isOpen:C}),inert:!C,...!C&&{"aria-hidden":!0},children:b?.children!==void 0&&(0,S.jsxs)(`nav`,{"aria-label":b.label,className:D0({isOpen:C}),children:[_,(0,S.jsx)(Y0,{groups:b.children})]})}),(0,S.jsxs)(`div`,{className:N0,children:[(0,S.jsxs)(`header`,{className:P0({isHidden:l}),children:[(0,S.jsxs)(OV,{children:[(0,S.jsx)(eO,{"aria-label":a,className:z0({isScreenLeadingBack:g}),children:(0,S.jsx)(bee,{"aria-hidden":!0,size:20})}),(0,S.jsx)(gK,{isDismissable:!0,className:B0,children:(0,S.jsx)(mK,{className:V0,children:(0,S.jsx)(kV,{"aria-label":a,className:H0,children:({close:e})=>(0,S.jsxs)(S.Fragment,{children:[_,(0,S.jsx)(`nav`,{"aria-label":r,className:U0,children:i.map(t=>(0,S.jsxs)(`div`,{role:`group`,...t.label!==void 0&&{"aria-label":t.label},children:[t.label!==void 0&&(0,S.jsx)(`div`,{"aria-hidden":!0,className:`px-2.5 pb-1.5 text-xs font-semibold tracking-widest text-foreground-subtle uppercase`,children:t.label}),(0,S.jsx)(`ul`,{className:A0,children:t.items.map(t=>(0,S.jsxs)(`li`,{children:[(0,S.jsx)(J0,{item:t,onPress:e}),t.children!==void 0&&t.children.length>0&&(0,S.jsx)(`div`,{className:`flex flex-col gap-0.5 border-l border-border pl-3 ml-4.5`,children:(0,S.jsx)(Y0,{groups:t.children,onPress:e})})]},t.id))})]},t.id))}),c!==void 0&&(0,S.jsx)(`div`,{className:`mt-auto border-t border-border pt-3`,children:(0,S.jsx)(c$,{placement:`top start`,actions:c.actions,onAction:c.onAction,trigger:(0,S.jsxs)(eO,{className:W0,children:[(0,S.jsx)(`span`,{className:`sr-only`,children:c.label}),(0,S.jsx)(`span`,{"aria-hidden":!0,className:`flex h-8 w-8 shrink-0 items-center justify-center rounded-full border border-border bg-background-tertiary text-xs font-semibold text-foreground`,children:q0(c.name)}),(0,S.jsxs)(`span`,{className:`flex min-w-0 flex-1 flex-col`,children:[(0,S.jsx)(`span`,{className:`truncate text-sm font-semibold text-foreground`,children:c.name}),c.detail!==void 0&&(0,S.jsx)(`span`,{className:`truncate text-xs text-foreground-muted`,children:c.detail})]}),(0,S.jsx)(Rv,{"aria-hidden":!0,size:14})]})})})]})})})})]}),(0,S.jsx)(`div`,{ref:f,className:F0}),s!==void 0&&(0,S.jsxs)(eO,{className:I0({isScreenLeadingBack:g}),onPress:s.onPress,children:[(0,S.jsx)(lx,{"aria-hidden":!0,size:16}),(0,S.jsx)(`span`,{className:L0({isScreenLeadingBack:g}),children:s.label}),s.shortcut!==void 0&&(0,S.jsx)(`kbd`,{"aria-hidden":!0,className:R0({isScreenLeadingBack:g}),children:s.shortcut})]})]}),(0,S.jsx)(`main`,{id:K0,tabIndex:-1,className:G0,children:(0,S.jsx)(f0,{value:d,children:(0,S.jsx)(m0,{value:h,children:u})})})]})]})}var Z0=`flex min-h-dvh items-center justify-center bg-background-secondary p-4 text-foreground`,Q0=`flex w-full max-w-sm flex-col gap-6 rounded-lg border border-border bg-background p-8 shadow-sm`,$0=`flex items-center`,e2=`flex flex-col gap-1`;function t2({brand:e,title:t,description:n,children:r,footer:i}){return(0,S.jsx)(`main`,{className:Z0,children:(0,S.jsxs)(`div`,{className:Q0,children:[(0,S.jsx)(`div`,{className:$0,children:e}),(0,S.jsxs)(`div`,{className:e2,children:[(0,S.jsx)(RQ,{level:1,size:`lg`,children:t}),n!==void 0&&(0,S.jsx)(Y,{tone:`secondary`,children:n})]}),r,i!==void 0&&(0,S.jsx)(`div`,{className:`border-t border-border pt-4`,children:i})]})})}var n2={default:`primary`,danger:`danger`};function r2({isOpen:e,onOpenChange:t,title:n,children:r,confirmLabel:i,cancelLabel:a,onConfirm:o,tone:s=`default`,isPending:c=!1}){return(0,S.jsx)(wQ,{isOpen:e,onOpenChange:t,title:n,role:`alertdialog`,size:`sm`,footer:(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(q,{variant:`secondary`,onPress:()=>t(!1),isDisabled:c,autoFocus:!0,children:a}),(0,S.jsx)(q,{variant:n2[s],onPress:o,isPending:c,children:i})]}),children:r})}var i2=`motion-rise flex flex-col items-center gap-4 px-6 py-12 text-center`,a2=`flex max-w-sm flex-col gap-1`;function o2({title:e,description:t,icon:n,action:r,level:i=2}){return(0,S.jsxs)(`div`,{className:i2,children:[n&&(0,S.jsx)(`span`,{className:`flex size-12 items-center justify-center rounded-full bg-secondary text-foreground-secondary`,children:(0,S.jsx)(n,{"aria-hidden":!0,size:24})}),(0,S.jsxs)(`div`,{className:a2,children:[(0,S.jsx)(RQ,{level:i,size:`md`,children:e}),t!==void 0&&(0,S.jsx)(Y,{tone:`secondary`,children:t})]}),r]})}var s2=V(`flex min-w-0 justify-between`,{variants:{place:{page:`flex-wrap items-start gap-x-6 gap-y-4`,bar:`flex-1 items-center gap-2 md:gap-4 md:py-2`}},defaultVariants:{place:`page`}}),c2=V(`flex min-w-0`,{variants:{place:{page:`flex-col gap-1`,bar:`flex-1 items-baseline gap-3`}},defaultVariants:{place:`page`}}),l2=V(`min-w-0`,{variants:{place:{page:``,bar:`hidden flex-1 md:block`}},defaultVariants:{place:`page`}}),u2=V(`flex max-w-full shrink-0 items-center`,{variants:{place:{page:`flex-wrap gap-2`,bar:`gap-1 md:gap-2`}},defaultVariants:{place:`page`}});function d2({title:e,description:t,actions:n,secondary:r}){let i=p0();if(i===null)return null;let a=i===void 0?`page`:`bar`,o=a===`bar`,s=o?`div`:`header`,c=r!==void 0&&r.actions.length>0?r:void 0,l=(0,S.jsxs)(s,{className:s2({place:a}),children:[(0,S.jsxs)(`div`,{className:c2({place:a}),children:[(0,S.jsx)(RQ,{level:1,...o&&{size:`lg`,truncate:!0},children:e}),t!==void 0&&(0,S.jsx)(`div`,{className:l2({place:a}),children:(0,S.jsx)(Y,{tone:o?`muted`:`secondary`,size:o?`sm`:`base`,truncate:o,children:t})})]}),(c!==void 0||n!==void 0)&&(0,S.jsxs)(`div`,{className:u2({place:a}),children:[c!==void 0&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(`div`,{className:`hidden items-center gap-2 md:flex`,children:c.actions.map(e=>(0,S.jsx)(q,{variant:e.variant??`secondary`,icon:e.icon,onPress:e.onPress,...e.isDisabled!==void 0&&{isDisabled:e.isDisabled},...e.isPending!==void 0&&{isPending:e.isPending},children:e.label},e.id))}),(0,S.jsx)(`div`,{className:`flex md:hidden`,children:(0,S.jsx)(c$,{placement:`bottom end`,trigger:(0,S.jsx)(_Q,{label:c.moreLabel,icon:ny}),actions:c.actions.map(({id:e,label:t,icon:n,tone:r,isDisabled:i})=>({id:e,label:t,icon:n,...r!==void 0&&{tone:r},...i!==void 0&&{isDisabled:i}})),onAction:e=>c.actions.find(t=>t.id===e)?.onPress()})})]}),n]})]});return i===void 0?l:(0,vE.createPortal)(l,i)}var f2=`flex min-w-0 flex-col gap-2`,p2=LZ,m2=BZ,h2=VZ,g2=`flex flex-col gap-2`,_2=`flex items-start gap-1`,v2=`min-w-0 flex-1`,y2=`flex h-10 shrink-0 items-center`,b2=`rounded-md border border-dashed border-border px-3 py-4 text-sm text-foreground-muted`,x2=`flex`;function S2({label:e,description:t,errorMessage:n,items:r,emptyText:i,addLabel:a,onAdd:o,onRemove:s,onMove:c,removeLabel:l,moveUpLabel:u,moveDownLabel:d,isFull:f=!1}){let p=(0,x.useId)();return(0,S.jsxs)(`div`,{role:`group`,"aria-labelledby":p,className:f2,children:[(0,S.jsx)(`span`,{id:p,className:p2,children:e}),t!==void 0&&(0,S.jsx)(`p`,{className:m2,children:t}),r.length===0?(0,S.jsx)(`p`,{className:b2,children:i}):(0,S.jsx)(`ol`,{className:g2,children:r.map((e,t)=>(0,S.jsxs)(`li`,{className:_2,children:[(0,S.jsx)(`div`,{className:v2,children:e.content}),(0,S.jsxs)(`div`,{className:y2,children:[(0,S.jsx)(_Q,{size:`sm`,icon:yv,label:u(t+1),isDisabled:t===0,onPress:()=>c(t,t-1)}),(0,S.jsx)(_Q,{size:`sm`,icon:pv,label:d(t+1),isDisabled:t===r.length-1,onPress:()=>c(t,t+1)}),(0,S.jsx)(_Q,{size:`sm`,icon:jx,label:l(t+1),onPress:()=>s(t)})]})]},e.id))}),n!==void 0&&(0,S.jsx)(`p`,{className:h2,children:n}),(0,S.jsx)(`div`,{className:x2,children:(0,S.jsx)(q,{variant:`secondary`,size:`sm`,icon:Gb,isDisabled:f,onPress:o,children:a})})]})}var C2=V(`flex items-center`,{variants:{across:{screen:`sticky top-0 layer-sticky flex-wrap gap-x-4 gap-y-2 border-b border-border bg-background px-4 py-3 md:px-6`,shell:`min-w-0 flex-1 gap-2 py-2 md:gap-4`,section:`sticky top-0 layer-sticky flex-wrap gap-x-4 gap-y-2 border-b border-border bg-background px-4 py-3 md:px-6`,window:`shrink-0 gap-2 border-b border-border bg-card px-3 py-2 md:gap-4`}},defaultVariants:{across:`screen`}}),w2=`inline-flex h-8 shrink-0 items-center justify-center gap-1.5 rounded-md border border-border-strong bg-background text-sm font-medium text-foreground w-8 md:w-auto md:pr-3 md:pl-2 transition-colors motion-fast outline-none data-hovered:bg-background-secondary data-focus-visible:ring-2 data-focus-visible:ring-ring`,T2=V(`flex min-w-0 items-center gap-3`,{variants:{hasCenter:{true:`flex-1 md:flex-none md:shrink`,false:`flex-1 basis-0 md:basis-48`}},defaultVariants:{hasCenter:!1}}),E2=`flex shrink-0 items-center gap-2 whitespace-nowrap`,D2=`flex max-w-full shrink-0 flex-wrap items-center justify-end gap-1 md:gap-2`;function O2({label:e,back:t,title:n,status:r,note:i,actions:a,center:o,across:s=`screen`}){let c=p0(),l=s===`screen`&&c!==void 0,u=h0(),d=l&&t!==void 0;if((0,x.useEffect)(()=>{if(d&&u!==void 0)return u(!0),()=>u(!1)},[d,u]),l&&c===null)return null;let f=(0,S.jsxs)(`div`,{role:`region`,"aria-label":e,className:C2({across:l?`shell`:s}),children:[t?.href!==void 0&&(0,S.jsxs)(yD,{href:t.href,className:w2,children:[(0,S.jsx)(Pv,{"aria-hidden":!0,size:16}),(0,S.jsx)(`span`,{className:`sr-only md:not-sr-only`,children:t.label})]}),t!==void 0&&t.href===void 0&&(0,S.jsxs)(eO,{className:w2,...t.onPress&&{onPress:t.onPress},children:[(0,S.jsx)(Pv,{"aria-hidden":!0,size:16}),(0,S.jsx)(`span`,{className:`sr-only md:not-sr-only`,children:t.label})]}),(0,S.jsxs)(`div`,{className:T2({hasCenter:o!==void 0}),children:[n!==void 0&&(0,S.jsx)(`h1`,{className:`min-w-0 truncate text-lg font-semibold text-foreground`,children:n}),(0,S.jsxs)(`div`,{className:E2,"aria-live":`polite`,children:[r,i!==void 0&&(0,S.jsx)(`span`,{className:`sr-only text-sm text-foreground-muted lg:not-sr-only`,children:i})]})]}),o!==void 0&&(0,S.jsx)(`div`,{className:`hidden min-w-0 flex-1 items-center justify-center md:flex`,children:o}),(0,S.jsx)(`div`,{className:D2,children:a})]});return l&&c?(0,vE.createPortal)(f,c):f}var k2=`flex min-w-0 flex-col gap-1.5`,A2=V(``,{variants:{isLabelHidden:{true:RZ,false:LZ}},defaultVariants:{isLabelHidden:!1}}),j2=zZ,M2=BZ,N2=VZ,P2=`flex min-w-0 items-center gap-3`,F2=`h-14 w-20 shrink-0 rounded-md border border-border bg-background-secondary object-cover`,I2=`flex h-14 w-20 shrink-0 items-center justify-center rounded-md border border-dashed border-border-strong bg-background-secondary`,L2=`size-5 text-foreground-subtle`,R2=`min-w-0 flex-1 truncate text-sm text-foreground-secondary`,z2=`grid grid-cols-2 gap-3 py-2 outline-none sm:grid-cols-3`,B2=`flex cursor-default flex-col gap-1.5 rounded-md border border-border bg-card p-1.5 outline-none transition-colors motion-fast data-hovered:border-border-strong data-focus-visible:ring-2 data-focus-visible:ring-input-focus data-selected:border-input-focus data-selected:ring-1 data-selected:ring-input-focus`,V2=`aspect-video w-full rounded-sm bg-background-secondary object-cover`,H2=`truncate px-0.5 text-sm text-foreground`,U2=`py-6 text-center text-sm text-foreground-muted`,W2=[`image/jpeg`,`image/png`,`image/webp`];function G2({label:e,isLabelHidden:t=!1,description:n,errorMessage:r,isRequired:i=!1,value:a,images:o,onChange:s,chooseLabel:c,changeLabel:l,noneText:u,dialogTitle:d,closeLabel:f,emptyText:p,onUpload:m,uploadLabel:h,uploadHint:g,uploadError:_,window:v}){let y=(0,x.useId)(),[b,C]=(0,x.useState)(!1),w=v?v.isOpen:b,T=v?v.onOpenChange:C,[E,D]=(0,x.useState)(!1),O=async e=>{if(e&&m){D(!0);try{await m(e),T(!1)}catch{}finally{D(!1)}}},k=o.find(e=>e.name===a),A=(0,S.jsxs)(wQ,{isOpen:w,onOpenChange:T,title:d,closeLabel:f,size:`lg`,children:[m&&h!==void 0&&(0,S.jsxs)(`div`,{className:`flex min-w-0 flex-wrap items-center gap-3 pt-2`,children:[(0,S.jsx)(WW,{acceptedFileTypes:W2,onSelect:e=>void O(e?.[0]),children:(0,S.jsx)(q,{variant:`secondary`,size:`sm`,icon:Ix,isPending:E,children:h})}),_===void 0?g!==void 0&&(0,S.jsx)(`p`,{className:`min-w-0 text-sm text-foreground-muted`,children:g}):(0,S.jsx)(`p`,{role:`alert`,className:`min-w-0 text-sm text-destructive`,children:_})]}),(0,S.jsx)(ZL,{"aria-label":d,layout:`grid`,selectionMode:`single`,autoFocus:!0,selectedKeys:a===null?[]:[a],onSelectionChange:e=>{let[t]=e===`all`?[]:[...e];typeof t==`string`&&s(t),T(!1)},renderEmptyState:()=>(0,S.jsx)(`p`,{className:U2,children:p}),className:z2,children:o.map(e=>(0,S.jsxs)(nR,{id:e.name,textValue:e.name,className:B2,children:[(0,S.jsx)(`img`,{src:e.url,alt:``,loading:`lazy`,className:V2}),(0,S.jsx)(`span`,{className:H2,children:e.name})]},e.name))})]});return v?A:(0,S.jsxs)(`div`,{role:`group`,"aria-labelledby":y,className:k2,children:[(0,S.jsxs)(`span`,{id:y,className:A2({isLabelHidden:t}),children:[e,i&&(0,S.jsx)(`span`,{"aria-hidden":`true`,className:j2,children:` *`})]}),(0,S.jsxs)(`div`,{className:P2,children:[k?(0,S.jsx)(`img`,{src:k.url,alt:``,loading:`lazy`,className:F2}):(0,S.jsx)(`span`,{className:I2,children:(0,S.jsx)(Ey,{"aria-hidden":`true`,className:L2})}),(0,S.jsx)(`span`,{className:R2,children:a??u}),(0,S.jsx)(q,{variant:`secondary`,size:`sm`,onPress:()=>T(!0),children:a===null?c:l})]}),n!==void 0&&(0,S.jsx)(`p`,{className:M2,children:n}),r!==void 0&&(0,S.jsx)(`p`,{className:N2,children:r}),A]})}var K2=`mx-auto flex w-full max-w-7xl flex-col gap-6 xl:flex-row xl:items-start`,q2=`flex min-w-0 flex-1 flex-col gap-6`,J2=`flex w-full shrink-0 flex-col gap-6 xl:sticky xl:top-8 xl:w-80`;function Y2({asideLabel:e,children:t,aside:n}){return(0,S.jsxs)(`div`,{className:K2,children:[(0,S.jsx)(`div`,{className:q2,children:t}),(0,S.jsx)(`aside`,{"aria-label":e,className:J2,children:n})]})}var X2=`grid grid-cols-2 gap-4 outline-none sm:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5`,Z2=`motion-press flex cursor-default flex-col gap-2 rounded-lg border border-border bg-card p-2 outline-none data-hovered:border-border-strong data-hovered:shadow-sm data-focus-visible:ring-2 data-focus-visible:ring-input-focus`,Q2=`aspect-video w-full rounded-md bg-background-secondary object-cover`,$2=`flex min-w-0 flex-col px-1 pb-1`,e4=`truncate text-sm font-medium text-foreground`,t4=`col-span-full py-10 text-center text-sm text-foreground-muted`;function n4({label:e,items:t,onAction:n,emptyText:r}){return(0,S.jsx)(WG,{"aria-label":e,layout:`grid`,onAction:e=>n(String(e)),renderEmptyState:()=>(0,S.jsx)(`p`,{className:t4,children:r}),className:X2,children:t.map(e=>(0,S.jsxs)(KG,{id:e.id,textValue:e.name,className:Z2,children:[(0,S.jsx)(`img`,{src:e.url,alt:``,loading:`lazy`,className:Q2}),(0,S.jsxs)(`span`,{className:$2,children:[(0,S.jsx)(`span`,{className:e4,children:e.name}),e.note!==void 0&&(0,S.jsx)(`span`,{className:`truncate text-sm text-foreground-muted`,children:e.note})]})]},e.id))})}var r4=`flex flex-col gap-4 pb-4 outline-none`,i4=`py-6 text-center text-sm text-foreground-muted`,a4=V(``,{variants:{layout:{rows:`flex flex-col gap-1`,cards:`grid grid-cols-2 gap-2 sm:grid-cols-3`}}}),o4=`col-span-full px-2 pb-1 text-xs font-medium tracking-wide text-foreground-muted uppercase`,s4=V([`flex cursor-default rounded-md p-2 outline-none`,`transition-colors motion-fast data-hovered:bg-secondary data-focused:bg-secondary`,`data-focus-visible:ring-2 data-focus-visible:ring-input-focus`],{variants:{layout:{rows:`items-center gap-3`,cards:`flex-col gap-2`}}}),c4=V(`grid shrink-0 place-items-center rounded-md bg-secondary text-secondary-foreground`,{variants:{layout:{rows:`size-9`,cards:`aspect-video w-full border border-border`}}}),l4=`flex min-w-0 flex-col`,u4=`text-sm font-medium text-foreground`;function d4({isOpen:e,onOpenChange:t,onClosed:n,title:r,closeLabel:i,groups:a,onChoose:o,emptyText:s}){let c=a.filter(e=>e.options.length>0),l=c.some(e=>e.options.some(e=>e.image!==void 0))?`cards`:`rows`;return(0,S.jsx)(wQ,{isOpen:e,onOpenChange:t,...n!==void 0&&{onClosed:n},title:r,closeLabel:i,size:l===`cards`?`lg`:`md`,children:c.length===0?(0,S.jsx)(`p`,{className:i4,children:s}):(0,S.jsx)(ZL,{"aria-label":r,autoFocus:`first`,selectionMode:`none`,layout:l===`cards`?`grid`:`stack`,className:r4,onAction:e=>{o(String(e)),t(!1)},children:c.map(e=>(0,S.jsxs)(tR,{id:`group:${e.id}`,className:a4({layout:l}),children:[(0,S.jsx)(FI,{className:o4,children:e.label}),e.options.map(({id:e,label:t,description:n,icon:r,image:i})=>(0,S.jsxs)(nR,{id:e,textValue:n===void 0?t:`${t} ${n}`,className:s4({layout:l}),children:[i===void 0?(r||l===`cards`)&&(0,S.jsx)(`span`,{className:c4({layout:l}),children:r&&(0,S.jsx)(r,{"aria-hidden":!0,size:18})}):(0,S.jsx)(j1,{src:i,size:`full`}),(0,S.jsxs)(`span`,{className:l4,children:[(0,S.jsx)(`span`,{className:u4,children:t}),n!==void 0&&(0,S.jsx)(`span`,{className:`text-sm text-foreground-secondary`,children:n})]})]},e))]},e.id))})})}var f4=`flex min-w-0 items-start gap-3 overflow-x-auto pb-2`,p4=V(`flex min-w-48 flex-1 basis-0 flex-col gap-2 rounded-lg border bg-background-secondary p-2 transition-colors motion-fast`,{variants:{state:{default:`border-border`,target:`border-ring ring-2 ring-ring`}},defaultVariants:{state:`default`}}),m4=`flex items-center justify-between gap-2 px-1 pt-1`,h4=`flex min-w-0 items-center gap-2 text-sm font-semibold text-foreground`,g4=`truncate`,_4=`shrink-0 text-sm text-foreground-muted`,v4=V(`size-2 shrink-0 rounded-full`,{variants:{tone:{neutral:`bg-foreground-subtle`,success:`bg-success`,danger:`bg-destructive`}},defaultVariants:{tone:`neutral`}}),y4=`flex flex-col gap-2`,b4=`rounded-md border border-dashed border-border px-3 py-6 text-center text-sm text-foreground-muted`,x4=V(`motion-rise flex min-w-0 items-start gap-1 rounded-md border border-border bg-card p-1 shadow-sm`,{variants:{state:{default:``,dragging:`opacity-50`}},defaultVariants:{state:`default`}}),S4=`flex min-w-0 flex-1 cursor-grab flex-col gap-1 rounded-sm px-2 py-1 text-left outline-none transition-colors motion-fast data-hovered:bg-secondary data-pressed:cursor-grabbing data-focus-visible:ring-2 data-focus-visible:ring-input-focus`,C4=`truncate text-sm font-medium text-foreground`,w4=`application/x-velocity-cms-board-card`;function T4({label:e,columns:t,emptyText:n,onOpen:r,onMove:i,moveLabel:a}){let o=new Map(t.flatMap(e=>e.items.map(t=>[t.id,e.id]))),s=(e,t)=>{o.get(e)!==t&&i(e,t)};return(0,S.jsx)(`div`,{role:`group`,"aria-label":e,className:f4,children:t.map(e=>(0,S.jsx)(E4,{column:e,columns:t,emptyText:n,onOpen:r,onMove:s,moveLabel:a},e.id))})}function E4({column:e,columns:t,emptyText:n,onOpen:r,onMove:i,moveLabel:a}){let o=(0,x.useId)(),s=(0,x.useRef)(null),[c,l]=(0,x.useState)(!1),{dropProps:u}=BW({ref:s,getDropOperation:e=>e.has(w4)?`move`:`cancel`,onDropEnter:()=>l(!0),onDropExit:()=>l(!1),onDrop:t=>{l(!1);let[n]=t.items.filter(JU);n?.getText(w4).then(t=>i(t,e.id))}}),d=t.filter(t=>t.id!==e.id).map(e=>({id:e.id,label:e.title}));return(0,S.jsxs)(`section`,{ref:s,"aria-labelledby":o,className:p4({state:c?`target`:`default`}),...u,children:[(0,S.jsxs)(`div`,{className:m4,children:[(0,S.jsxs)(`h3`,{id:o,className:h4,children:[(0,S.jsx)(`span`,{className:v4({tone:e.tone})}),(0,S.jsx)(`span`,{className:g4,children:e.title})]}),(0,S.jsx)(`span`,{className:_4,children:e.count})]}),e.items.length===0?(0,S.jsx)(`p`,{className:b4,children:n}):(0,S.jsx)(`ul`,{className:y4,children:e.items.map(e=>(0,S.jsx)(D4,{item:e,elsewhere:d,onOpen:r,onMove:i,moveLabel:a},e.id))}),e.more!==void 0&&(0,S.jsx)(`p`,{className:`px-1 text-sm text-foreground-muted`,children:e.more})]})}function D4({item:e,elsewhere:t,onOpen:n,onMove:r,moveLabel:i}){let{dragProps:a,isDragging:o}=DZ({getItems:()=>[{[w4]:e.id}],getAllowedDropOperations:()=>[`move`]});return(0,S.jsxs)(`li`,{className:x4({state:o?`dragging`:`default`}),...a,children:[(0,S.jsxs)(eO,{className:S4,onPress:()=>n(e.id),children:[(0,S.jsx)(`span`,{className:C4,children:e.title}),e.detail!==void 0&&(0,S.jsx)(`span`,{className:`truncate text-sm text-foreground-muted`,children:e.detail}),e.notes!==void 0&&e.notes.length>0&&(0,S.jsx)(`span`,{className:`flex flex-wrap items-center gap-1 pt-1`,children:e.notes.map(e=>(0,S.jsx)(v1,{tone:e.tone??`neutral`,children:e.text},e.text))})]}),t.length>0&&(0,S.jsx)(c$,{trigger:(0,S.jsx)(_Q,{size:`sm`,icon:hv,label:i(e.title)}),actions:t,onAction:t=>r(e.id,t)})]})}var O4=`flex min-w-0 flex-col gap-2`,k4=LZ,A4=BZ,j4=VZ,_ne=`flex flex-col gap-2`,M4=`rounded-md border border-dashed border-border px-3 py-6 text-center text-sm text-foreground-muted`,N4=`flex`,P4=V(`motion-rise min-w-0 rounded-lg border bg-card`,{variants:{state:{default:`border-border`,problem:`border-destructive`,dragging:`border-border opacity-50`,target:`border-ring ring-2 ring-ring`}},defaultVariants:{state:`default`}}),F4=`flex items-center gap-1 py-1 pr-2 pl-1`,I4=`grid h-8 w-6 shrink-0 cursor-grab place-items-center rounded-md text-foreground-subtle outline-none transition-colors motion-fast data-hovered:bg-secondary data-hovered:text-foreground data-pressed:cursor-grabbing data-focus-visible:ring-2 data-focus-visible:ring-input-focus`,L4=`min-w-0 flex-1`,R4=`flex w-full min-w-0 cursor-default items-center gap-3 rounded-md px-2 py-2 text-left outline-none transition-colors motion-fast data-hovered:bg-secondary data-focus-visible:ring-2 data-focus-visible:ring-input-focus`,z4=`shrink-0 text-foreground-muted`,B4=V(`hidden size-8 shrink-0 place-items-center rounded-md sm:grid`,{variants:{tone:{default:`bg-secondary text-secondary-foreground`,quiet:`bg-background-secondary text-foreground-subtle`}},defaultVariants:{tone:`default`}}),V4=`flex min-w-0 flex-1 flex-col`,H4=V(`truncate text-sm font-medium`,{variants:{tone:{default:`text-foreground`,quiet:`text-foreground-muted`}},defaultVariants:{tone:`default`}}),U4=`flex shrink-0 items-center`,W4=`border-t border-border p-4`;function G4({label:e,description:t,errorMessage:n,items:r,openIds:i,onOpenChange:a,emptyText:o,addLabel:s,onAdd:c,isFull:l=!1,onMove:u,onAction:d,moveUpLabel:f,moveDownLabel:p,moreLabel:m,dragLabel:h,revealId:g}){let _=(0,x.useId)(),v=r.map(e=>e.id),y=(0,x.useRef)(null);return(0,x.useEffect)(()=>{if(g===void 0)return;let e=[...y.current?.children??[]].find(e=>e instanceof HTMLElement&&e.dataset.section===g);e&&typeof e.scrollIntoView==`function`&&e.scrollIntoView({block:`nearest`})},[g]),(0,S.jsxs)(`div`,{role:`group`,"aria-labelledby":_,className:O4,children:[(0,S.jsx)(`span`,{id:_,className:k4,children:e}),t!==void 0&&(0,S.jsx)(`p`,{className:A4,children:t}),r.length===0?(0,S.jsx)(`p`,{className:M4,children:o}):(0,S.jsx)(`ol`,{ref:y,className:_ne,children:r.map((e,t)=>(0,S.jsx)(q4,{item:e,index:t,ids:v,isOpen:i.includes(e.id),onOpenChange:a,onMove:u,onAction:d,moveUpLabel:f,moveDownLabel:p,moreLabel:m,dragLabel:h},e.id))}),n!==void 0&&(0,S.jsx)(`p`,{className:j4,children:n}),(0,S.jsx)(`div`,{className:N4,children:(0,S.jsx)(q,{variant:`secondary`,size:`sm`,icon:Gb,isDisabled:l,onPress:c,children:s})})]})}var K4=`application/x-velocity-cms-section`;function q4({item:e,index:t,ids:n,isOpen:r,onOpenChange:i,onMove:a,onAction:o,moveUpLabel:s,moveDownLabel:c,moreLabel:l,dragLabel:u}){let{id:d,title:f,summary:p,icon:m,tag:h,problem:g,content:_,actions:v}=e,y=(0,x.useRef)(null),[b,C]=(0,x.useState)(null),{dragProps:w,dragButtonProps:T,isDragging:E}=DZ({hasDragButton:!0,getItems:()=>[{[K4]:d}],getAllowedDropOperations:()=>[`move`]}),{dropProps:D}=BW({ref:y,getDropOperation:e=>e.has(K4)?`move`:`cancel`,onDropEnter:()=>C(e=>e??`here`),onDropMove:e=>C(e.y<(y.current?.offsetHeight??0)/2?`before`:`after`),onDropExit:()=>C(null),onDrop:e=>{let r=b;C(null);let[i]=e.items.filter(JU);i?.getText(K4).then(e=>{let i=n.indexOf(e);if(i===-1)return;let o=r===`before`?t:r===`after`||i<t?t+1:t,s=i<o?o-1:o;s!==i&&a(i,s)})}}),O=h===void 0?`default`:`quiet`,k=r?Mv:Iv;return(0,S.jsxs)(`li`,{ref:y,"data-section":d,...D,children:[b===`before`&&(0,S.jsx)(`div`,{className:`my-1 h-0.5 rounded-full bg-ring`}),(0,S.jsxs)(qte,{className:P4({state:g===void 0?b===`here`?`target`:E?`dragging`:`default`:`problem`}),isExpanded:r,onExpandedChange:e=>i(d,e),children:[(0,S.jsxs)(`div`,{className:F4,...w,children:[(0,S.jsx)(eO,{...T,"aria-label":u(t+1),className:I4,children:(0,S.jsx)(vy,{"aria-hidden":!0,size:16})}),(0,S.jsx)(iO,{level:3,className:L4,children:(0,S.jsxs)(eO,{slot:`trigger`,className:R4,children:[(0,S.jsx)(k,{"aria-hidden":!0,size:16,className:z4}),m&&(0,S.jsx)(`span`,{className:B4({tone:O}),children:(0,S.jsx)(m,{"aria-hidden":!0,size:16})}),(0,S.jsxs)(`span`,{className:V4,children:[(0,S.jsx)(`span`,{className:H4({tone:O}),children:f}),(h!==void 0||p!==void 0)&&(0,S.jsxs)(`span`,{className:`flex min-w-0 items-center gap-2`,children:[p!==void 0&&(0,S.jsx)(`span`,{className:`min-w-0 truncate text-sm text-foreground-muted`,children:p}),h!==void 0&&(0,S.jsx)(v1,{children:h})]})]})]})}),(0,S.jsxs)(`div`,{className:U4,children:[(0,S.jsx)(_Q,{size:`sm`,icon:yv,label:s(t+1),isDisabled:t===0,onPress:()=>a(t,t-1)}),(0,S.jsx)(_Q,{size:`sm`,icon:pv,label:c(t+1),isDisabled:t===n.length-1,onPress:()=>a(t,t+1)}),(0,S.jsx)(c$,{trigger:(0,S.jsx)(_Q,{size:`sm`,icon:ny,label:l(t+1)}),actions:v,onAction:e=>o(d,e)})]})]}),g!==void 0&&!r&&(0,S.jsx)(`p`,{className:`px-4 pb-3 text-sm text-destructive`,children:g}),(0,S.jsx)(Jte,{children:(0,S.jsx)(`div`,{className:W4,children:_})})]}),b===`after`&&(0,S.jsx)(`div`,{className:`my-1 h-0.5 rounded-full bg-ring`})]})}var J4=V(`flex h-full min-h-0 flex-col overflow-hidden bg-background-secondary`,{variants:{isBare:{true:``,false:`rounded-lg border border-border`}},defaultVariants:{isBare:!1}}),Y4=V(`flex min-h-0 flex-1`,{variants:{isFitted:{true:`justify-start overflow-hidden`,false:`justify-center`}},defaultVariants:{isFitted:!1}}),X4={phone:384,tablet:768,full:1280},Z4=`m-auto max-w-sm px-6 text-center text-sm text-foreground-muted`,Q4=V(`bg-background`,{variants:{width:{phone:`border-x border-border`,tablet:`border-x border-border`,full:``},isFitted:{true:`max-w-none shrink-0 origin-top-left`,false:`h-full w-full transition-all motion-base`}},compoundVariants:[{width:`phone`,isFitted:!1,class:`max-w-sm`},{width:`tablet`,isFitted:!1,class:`max-w-3xl`}],defaultVariants:{width:`full`,isFitted:!1}}),$4=500,e3=`velocity-cms`,t3=250,n3=100,r3=.9,i3=[`up`,`down`,`duplicate`,`remove`,`addBefore`,`addAfter`],a3=[`up`,`down`,`duplicate`,`remove`];function o3({label:e,address:t,draft:n,note:r,toolbar:i,action:a,emptyText:o,onSectionPress:s,shownSectionId:c,shownAt:l=0,typable:u,onWords:d,tools:f,onSectionAction:p,onSectionMove:m,onSectionPicture:h,onSectionLink:g,onSectionItem:_,onSectionSwatch:v,onSectionSlot:y,onTextLink:b,onUndo:C,onRedo:w,onSave:T,escapes:E=0,isBare:D=!1,width:O}){let k=`preview-${(0,x.useId)().replaceAll(`:`,``)}`,A=(0,x.useRef)(null),j=(0,x.useRef)(null),M=(0,x.useRef)(!1),ee=u===void 0?void 0:JSON.stringify(u),N=f===void 0?void 0:JSON.stringify(f),P=(0,x.useRef)({onSectionPress:s,shownSectionId:c,onWords:d,places:ee,offered:N,onSectionAction:p,onSectionMove:m,onSectionPicture:h,onSectionLink:g,onSectionItem:_,onSectionSwatch:v,onSectionSlot:y,onTextLink:b,onUndo:C,onRedo:w,onSave:T});(0,x.useEffect)(()=>{P.current={onSectionPress:s,shownSectionId:c,onWords:d,places:ee,offered:N,onSectionAction:p,onSectionMove:m,onSectionPicture:h,onSectionLink:g,onSectionItem:_,onSectionSwatch:v,onSectionSlot:y,onTextLink:b,onUndo:C,onRedo:w,onSave:T}});let te=(0,x.useRef)(0),F=(0,x.useRef)(0),ne=(0,x.useRef)(!1),re=(0,x.useRef)(0),ie=(0,x.useRef)(0),ae=(0,x.useRef)(!1);(0,x.useEffect)(()=>{if(ie.current=Date.now(),t===void 0)return;let e=()=>{M.current=!0,ne.current=!1,A.current?.submit()};if(!M.current){e();return}if(Date.now()-te.current<t3&&!ne.current)return;if(ne.current=!0,Date.now()-F.current<500){F.current=0,e();return}let n=setTimeout(e,$4);return()=>clearTimeout(n)},[t,n]);let oe=(0,x.useRef)(null),[se,ce]=(0,x.useState)(null);(0,x.useEffect)(()=>{let e=oe.current;if(!e||typeof ResizeObserver>`u`)return;let t=()=>ce({width:e.clientWidth,height:e.clientHeight}),n=new ResizeObserver(t);return n.observe(e),t(),()=>n.disconnect()},[t===void 0]);let le=X4[O??`full`],ue=se===null||se.width<=0||se.width>=le*r3?1:se.width/le,de=ue<1,fe=(0,x.useRef)(1),pe=e=>{e!==fe.current&&(fe.current=e,j.current?.contentWindow?.postMessage({source:e3,type:`zoom`,scale:e},window.location.origin))},me=(0,x.useRef)(ue);(0,x.useEffect)(()=>{me.current=ue,pe(ue)},[ue]),(0,x.useEffect)(()=>{E>0&&j.current?.contentWindow?.postMessage({source:e3,type:`escape`},window.location.origin)},[E]);let I=(e,t=!1)=>{e!==void 0&&j.current?.contentWindow?.postMessage({source:e3,type:`show`,id:e,...t&&{still:t}},window.location.origin)},he=e=>{e!==void 0&&j.current?.contentWindow?.postMessage({source:e3,type:`typable`,places:JSON.parse(e)},window.location.origin)},ge=e=>{e!==void 0&&j.current?.contentWindow?.postMessage({source:e3,type:`tools`,...JSON.parse(e)},window.location.origin)};return(0,x.useEffect)(()=>{let e=e=>{if(e.origin!==window.location.origin||e.source!==j.current?.contentWindow)return;let t=e.data;if(t?.source===e3){if(t.type===`section`&&typeof t.id==`string`&&(typeof t.field==`string`?P.current.onSectionPress?.(t.id,t.field,t.form===!0):P.current.onSectionPress?.(t.id)),t.type===`words`&&typeof t.id==`string`&&typeof t.field==`string`&&typeof t.words==`string`&&(te.current=Date.now(),P.current.onWords?.(t.id,t.field,t.words)),(t.type===`act`||t.type===`move`||t.type===`item`||t.type===`swatch`||t.type===`undo`||t.type===`redo`)&&(F.current=Date.now()),t.type===`act`&&typeof t.id==`string`){let e=i3.find(e=>e===t.action);e&&P.current.onSectionAction?.(t.id,e)}if(t.type===`move`&&typeof t.id==`string`&&(typeof t.before==`string`||t.before===null)&&(typeof t.into==`string`?P.current.onSectionMove?.(t.id,t.before,t.into):P.current.onSectionMove?.(t.id,t.before)),t.type===`slot`&&typeof t.id==`string`&&typeof t.field==`string`&&P.current.onSectionSlot?.(t.id,t.field),t.type===`picture`&&typeof t.id==`string`&&typeof t.field==`string`&&P.current.onSectionPicture?.(t.id,t.field),t.type===`link`&&typeof t.id==`string`&&typeof t.field==`string`&&P.current.onSectionLink?.(t.id,t.field),t.type===`item`&&typeof t.id==`string`&&typeof t.field==`string`&&typeof t.at==`number`){let e=a3.find(e=>e===t.action);e&&P.current.onSectionItem?.(t.id,t.field,t.at,e)}if(t.type===`swatch`&&typeof t.id==`string`&&typeof t.field==`string`&&typeof t.value==`string`&&P.current.onSectionSwatch?.(t.id,t.field,t.value),t.type===`linkAsk`&&typeof t.href==`string`){let e=j.current?.contentWindow,n=t=>e?.postMessage({source:e3,type:`linkAnswer`,href:t},window.location.origin);P.current.onTextLink?P.current.onTextLink(t.href,n):n(null)}(t.type===`undo`||t.type===`redo`)&&(te.current=0,t.type===`undo`?P.current.onUndo?.():P.current.onRedo?.()),t.type===`save`&&P.current.onSave?.(),t.type===`ready`&&(fe.current=1,pe(me.current),he(P.current.places),ge(P.current.offered),I(P.current.shownSectionId,ae.current&&Math.abs(re.current-ie.current)>n3),ae.current=!0,re.current=0)}};return window.addEventListener(`message`,e),()=>window.removeEventListener(`message`,e)},[]),(0,x.useEffect)(()=>{re.current=Date.now(),I(c)},[c,l]),(0,x.useEffect)(()=>he(ee),[ee]),(0,x.useEffect)(()=>ge(N),[N]),(0,S.jsxs)(`div`,{className:J4({isBare:D}),children:[(r!==void 0||i!==void 0||a!==void 0)&&(0,S.jsxs)(`div`,{className:`flex flex-wrap items-center justify-between gap-3 border-b border-border bg-background px-3 py-2`,children:[a??(0,S.jsx)(`span`,{className:`min-w-0 truncate text-sm text-foreground-muted`,children:r}),i]}),(0,S.jsx)(`div`,{ref:oe,className:Y4({isFitted:de}),children:t===void 0?(0,S.jsx)(`p`,{className:Z4,children:o}):(0,S.jsxs)(S.Fragment,{children:[(0,vE.createPortal)((0,S.jsx)(`form`,{ref:A,method:`post`,action:t,target:k,hidden:!0,children:(0,S.jsx)(`input`,{type:`hidden`,name:`draft`,value:n,readOnly:!0})}),document.body),(0,S.jsx)(`iframe`,{ref:j,name:k,title:e,className:Q4({width:O,isFitted:de}),...de&&se!==null&&{style:{width:`${le}px`,height:`${se.height/ue}px`,transform:`scale(${ue})`}}})]})})]})}var s3=V(``,{variants:{view:{beside:`w-full`,whole:`dark fixed inset-0 layer-overlay flex flex-col bg-background text-foreground`}},defaultVariants:{view:`beside`}}),c3=V(`flex`,{variants:{view:{beside:`w-full flex-col gap-6 xl:flex-row xl:items-start`,whole:`min-h-0 flex-1`}},defaultVariants:{view:`beside`}}),l3=V(`flex min-w-0 flex-col gap-6`,{variants:{view:{beside:`xl:w-lg xl:shrink-0`,whole:`order-last max-w-full shrink-0 overflow-auto border-l border-border bg-card p-4`},isAway:{true:``,false:``}},compoundVariants:[{view:`whole`,isAway:!0,class:`hidden`}],defaultVariants:{view:`beside`,isAway:!1}}),u3=V(`flex min-w-0 max-w-full flex-col gap-6`,{variants:{width:{0:`md:w-80`,1:`md:w-88`,2:`md:w-96`,3:`md:w-104`,4:`md:w-112`,5:`md:w-120`,6:`md:w-128`,7:`md:w-136`,8:`md:w-144`,9:`md:w-160`}}}),d3=V(``,{variants:{width:{0:`w-48`,1:`w-52`,2:`w-56`,3:`w-60`,4:`w-64`,5:`w-72`,6:`w-80`,7:`w-96`}}}),f3=`flex min-w-0 flex-col gap-6`,p3=V(`min-w-0`,{variants:{view:{beside:`pane-tall xl:sticky xl:top-8 xl:flex-1`,whole:`min-h-0 flex-1 p-3`},isResizing:{true:`pointer-events-none select-none`,false:``}},defaultVariants:{view:`beside`,isResizing:!1}}),m3=V(`relative z-10 w-px shrink-0 cursor-col-resize touch-none bg-transparent transition-colors motion-fast outline-none hover:bg-border-strong before:absolute before:inset-y-0 before:-inset-x-1.5`,{variants:{place:{outline:`hidden lg:block`,form:`order-last max-md:hidden`},isActive:{true:`bg-brand-fill hover:bg-brand-fill`,false:``}},defaultVariants:{place:`outline`,isActive:!1}}),h3=(e,t)=>Math.min(t,Math.max(0,e));function g3({label:e,place:t,step:n,most:r,grows:i,onStep:a,onResizing:o}){let s=(0,x.useRef)(0),c=(0,x.useRef)(n),[l,u]=(0,x.useState)(!1),{focusProps:d,isFocusVisible:f}=dD(),{moveProps:p}=vN({onMoveStart:()=>{s.current=0,c.current=n,u(!0),o(!0)},onMove:({deltaX:e,pointerType:t})=>{t===`keyboard`?a(h3(n+Math.sign(e)*i,r)):(s.current+=e,a(h3(c.current+Math.round(s.current*i/32),r)))},onMoveEnd:()=>{u(!1),o(!1)}});return(0,S.jsx)(`div`,{role:`separator`,"aria-orientation":`vertical`,"aria-label":e,"aria-valuemin":0,"aria-valuemax":r,"aria-valuenow":n,tabIndex:0,...p,...d,className:m3({place:t,isActive:l||f})})}function _3({paneLabel:e,children:t,pane:n,bar:r,isFormAway:i=!1,outline:a,outlineLabel:o,sizes:s,onSizesChange:c,resizeLabels:l,view:u=`beside`}){let d=u===`whole`,[f,p]=(0,x.useState)({outline:3,form:6}),m=s??f,h=e=>{p(e),c?.(e)},[g,_]=(0,x.useState)(!1),v=(0,x.useRef)(null),y=(0,S.jsx)(`div`,{className:l3({view:u,isAway:d&&i}),children:(0,S.jsx)(`div`,{className:d?u3({width:m.form}):f3,children:t})});return(0,S.jsx)(qI,{contain:d,children:(0,S.jsx)(aB,{getContainer:()=>d&&v.current!==null?v.current:document.body,children:(0,S.jsxs)(`div`,{ref:v,className:s3({view:u}),children:[d&&r,(0,S.jsxs)(`div`,{className:c3({view:u}),children:[d&&a!==void 0&&(0,S.jsx)(`aside`,{"aria-label":o,className:`hidden shrink-0 flex-col overflow-auto border-r border-border bg-card p-3 lg:flex`,children:(0,S.jsx)(`div`,{className:d3({width:m.outline}),children:a})}),d&&a!==void 0&&l!==void 0&&(0,S.jsx)(g3,{label:l.outline,place:`outline`,step:m.outline,most:7,grows:1,onStep:e=>h({...m,outline:e}),onResizing:_}),d&&!i&&l!==void 0&&(0,S.jsx)(g3,{label:l.form,place:`form`,step:m.form,most:9,grows:-1,onStep:e=>h({...m,form:e}),onResizing:_}),y,(0,S.jsx)(`section`,{"aria-label":e,className:p3({view:u,isResizing:g}),children:n})]})]})})})}var v3=`fixed inset-0 layer-overlay flex items-start justify-center bg-scrim px-4 pt-24 motion-scrim`,y3=`flex max-h-112 w-full max-w-xl flex-col overflow-hidden rounded-xl border border-border bg-background-elevated shadow-xl outline-none motion-pop`,b3=`flex min-h-0 flex-col overflow-y-auto outline-none`,x3=`sticky top-0 layer-raised flex shrink-0 items-center gap-3 border-b border-border bg-background-elevated px-4 text-foreground-muted`,S3=`h-14 w-full min-w-0 bg-transparent text-lg text-foreground outline-none placeholder:text-foreground-subtle`,C3=`p-2 outline-none`,w3=`pb-1`,T3=`px-3 pt-2 pb-1 text-xs font-semibold tracking-widest text-foreground-subtle uppercase`,E3=`flex cursor-default items-center gap-3 rounded-lg px-3 py-2 text-base text-foreground outline-none data-focused:bg-background-tertiary data-hovered:bg-background-secondary`,D3=`min-w-0 flex-1 truncate font-medium`,O3=`px-3 py-8 text-center text-base text-foreground-muted`;function k3({isOpen:e,onOpenChange:t,label:n,placeholder:r,emptyText:i,groups:a,onAction:o,onSearch:s}){let{contains:c}=AV({sensitivity:`base`}),l=new Set(a.filter(e=>e.isFound===!0).flatMap(e=>e.items.map(e=>e.id)));return(0,S.jsx)(gK,{isOpen:e,onOpenChange:t,isDismissable:!0,className:v3,children:(0,S.jsx)(mK,{className:y3,children:(0,S.jsx)(kV,{"aria-label":n,className:b3,children:({close:e})=>(0,S.jsxs)(qee,{filter:(e,t,n)=>l.has(String(n.key))||c(e,t),...s!==void 0&&{onInputChange:s},children:[(0,S.jsxs)(lq,{"aria-label":r,autoFocus:!0,className:x3,children:[(0,S.jsx)(lx,{"aria-hidden":!0,size:18}),(0,S.jsx)(AN,{placeholder:r,className:S3})]}),(0,S.jsx)(vV,{"aria-label":n,className:C3,renderEmptyState:()=>(0,S.jsx)(`div`,{className:O3,children:i}),onAction:t=>{e(),o(String(t))},children:a.filter(e=>e.items.length>0).map(e=>(0,S.jsxs)(SV,{id:e.id,className:w3,children:[(0,S.jsx)(FI,{className:T3,children:e.label}),e.items.map(({id:e,label:t,detail:n,icon:r,keywords:i})=>(0,S.jsxs)(wV,{id:e,className:E3,textValue:[t,n,i].filter(e=>e!==void 0).join(` `),children:[r&&(0,S.jsx)(`span`,{"aria-hidden":!0,className:`flex h-8 w-8 shrink-0 items-center justify-center rounded-md border border-border bg-background text-foreground-muted`,children:(0,S.jsx)(r,{size:16})}),(0,S.jsx)(`span`,{className:D3,children:t}),n!==void 0&&(0,S.jsx)(`span`,{className:`shrink-0 text-sm text-foreground-subtle`,children:n})]},e))]},e.id))})]})})})})}var A3=`flex min-h-0 flex-col gap-2`,j3=`px-2 text-xs font-semibold tracking-widest text-foreground-subtle uppercase`,M3=`flex flex-col gap-0.5 outline-none`,N3=V([`flex min-h-9 cursor-default items-center gap-2.5 rounded-lg px-2 text-base text-foreground-secondary transition-colors motion-fast outline-none`,`data-hovered:bg-background-secondary data-hovered:text-foreground`,`data-focus-visible:ring-2 data-focus-visible:ring-ring data-focus-visible:ring-inset`,`data-selected:bg-background-tertiary data-selected:font-semibold data-selected:text-foreground`],{variants:{depth:{0:``,1:`pl-6`,2:`pl-10`,3:`pl-14`}},defaultVariants:{depth:0}}),P3=`min-w-0 flex-1 truncate`,F3=`px-2 py-3 text-sm text-foreground-muted`;function I3({title:e,items:t,currentId:n,onChoose:r,emptyText:i}){let a=(0,x.useId)();return(0,S.jsxs)(`div`,{className:A3,children:[(0,S.jsx)(`div`,{id:a,className:j3,children:e}),(0,S.jsx)(ZL,{"aria-labelledby":a,className:M3,items:t,selectionMode:`single`,selectedKeys:n===void 0?[]:[n],onSelectionChange:e=>{if(e===`all`)return;let[t]=[...e],i=t===void 0?n:String(t);i!==void 0&&r(i)},renderEmptyState:()=>(0,S.jsx)(`div`,{className:F3,children:i}),children:({id:e,label:t,depth:n=0,icon:r})=>(0,S.jsxs)(nR,{id:e,textValue:t,className:N3({depth:n}),children:[r&&(0,S.jsx)(`span`,{"aria-hidden":!0,className:`flex h-6 w-6 shrink-0 items-center justify-center rounded-md border border-border bg-background text-foreground-muted`,children:(0,S.jsx)(r,{size:14})}),(0,S.jsx)(`span`,{className:P3,children:t})]})})]})}var L3=`border-b border-border bg-background bg-grid`,R3=`mx-auto flex max-w-7xl flex-wrap items-center gap-10 px-4 py-8 sm:px-6 md:px-12 md:py-12`,z3=`flex min-w-0 flex-1 basis-96 flex-col gap-4`,B3=`max-w-2xl font-display text-4xl font-bold tracking-tight text-balance text-foreground md:text-5xl`,V3=`bg-transparent text-brand-text`;function H3(e,t){let n=t.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`),r=RegExp(`(?<![\\p{L}\\p{N}])${n}(?![\\p{L}\\p{N}])`,`u`).exec(e);return r?r.index:e.indexOf(t)}function U3(e,t){let n=t===void 0||t===``?-1:H3(e,t);return t===void 0||n<0?e:(0,S.jsxs)(S.Fragment,{children:[e.slice(0,n),(0,S.jsx)(`mark`,{className:V3,children:t}),e.slice(n+t.length)]})}function W3({eyebrow:e,title:t,highlight:n,description:r,actions:i,aside:a}){return(0,S.jsx)(`section`,{className:L3,children:(0,S.jsxs)(`div`,{className:R3,children:[(0,S.jsxs)(`div`,{className:z3,children:[e!==void 0&&(0,S.jsx)(`p`,{className:`text-xs font-semibold tracking-widest text-foreground-subtle uppercase`,children:e}),(0,S.jsx)(`h1`,{className:B3,children:U3(t,n)}),r!==void 0&&(0,S.jsx)(`p`,{className:`max-w-xl text-lg text-foreground-muted`,children:r}),i!==void 0&&(0,S.jsx)(`div`,{className:`flex flex-wrap gap-2 pt-2`,children:i})]}),a!==void 0&&(0,S.jsx)(`div`,{className:`hidden min-w-0 flex-1 basis-96 justify-center md:flex lg:justify-end`,children:a})]})})}var G3=`group relative w-full min-w-0 max-w-xl overflow-hidden rounded-xl border border-border bg-card shadow-xl transition-colors motion-base has-data-hovered:border-border-strong has-data-focus-visible:ring-2 has-data-focus-visible:ring-ring`,K3=`flex items-center gap-3 border-b border-border bg-background-secondary px-3.5 py-2.5`,q3=`flex shrink-0 gap-1.5`,J3=`h-2.5 w-2.5 rounded-full bg-border-strong`,Y3=`min-w-0 flex-1 truncate text-center font-mono text-xs text-foreground-subtle`,X3=`w-10 shrink-0`,Z3=V(`relative overflow-hidden bg-background`,{variants:{size:{md:`h-72`,sm:`h-40`}},defaultVariants:{size:`md`}}),Q3=V(`pointer-events-none absolute top-0 left-0 origin-top-left border-0`,{variants:{size:{md:`h-144 w-288 scale-50`,sm:`h-200 w-320 scale-20`}},defaultVariants:{size:`md`}}),$3=`flex items-center gap-3 border-t border-border px-4 py-3 text-sm`,e6=`shrink-0 font-semibold text-foreground outline-none after:absolute after:inset-0 group-hover:underline`;function t6({address:e,src:t,title:n,label:r,meta:i,href:a,onPress:o,size:s}){return(0,S.jsxs)(`div`,{className:G3,children:[(0,S.jsxs)(`div`,{"aria-hidden":!0,className:K3,children:[(0,S.jsxs)(`span`,{className:q3,children:[(0,S.jsx)(`span`,{className:J3}),(0,S.jsx)(`span`,{className:J3}),(0,S.jsx)(`span`,{className:J3})]}),(0,S.jsx)(`span`,{className:Y3,children:e}),(0,S.jsx)(`span`,{className:X3})]}),(0,S.jsx)(`div`,{className:Z3({size:s}),children:(0,S.jsx)(`iframe`,{src:t,title:n,loading:`lazy`,tabIndex:-1,"aria-hidden":!0,className:Q3({size:s})})}),(0,S.jsxs)(`div`,{className:$3,children:[i!==void 0&&(0,S.jsx)(`span`,{className:`min-w-0 flex-1 truncate text-foreground-muted`,children:i}),(0,S.jsx)(yD,{className:e6,...a!==void 0&&{href:a},...o!==void 0&&{onPress:o},children:r})]})]})}function n6({navigate:e,children:t}){return(0,S.jsx)(CC,{navigate:e,children:t})}function Z(e,t){return e[t]??e[t.split(`-`)[0]??t]??Object.values(e)[0]??``}function r6(e,t){try{return new Intl.DisplayNames(t,{type:`language`}).of(e)??e}catch{return e}}function i6(e,t){let n=e.titlePath??f_(e.fields).filter(e=>e.type===`text`).slice(0,1).map(e=>e.id),r=t;for(let e of n)r=typeof r==`object`&&r?r[e]:void 0;return typeof r==`string`&&r.trim()!==``?r:null}var a6=new Set([`id`,`block`]);function o6(e,t){return typeof e==`string`?t!==void 0&&a6.has(t)?[]:[e]:Array.isArray(e)?e.flatMap(e=>o6(e)):typeof e==`object`&&e?Object.entries(e).flatMap(([e,t])=>o6(t,e)):[]}function s6(e,t){let n=t.toLowerCase().split(/\s+/u).filter(e=>e.length>0);if(n.length===0)return!0;let r=[e.slug,...o6(e.data)].map(e=>e.toLowerCase());return n.every(e=>r.some(t=>t.includes(e)))}function c6(e,t,n){let r=e.fields,i=t,a;for(let e of n){if(a=r.find(t=>t.id===e&&t.deletedAt===void 0),!a)return null;i=typeof i==`object`&&i?i[e]:void 0,r=Array.isArray(a.options.fields)?a.options.fields:[]}return a?{field:a,value:i}:null}function l6(e,t){let n=e.list?.imagePath?c6(e,t,e.list.imagePath):null,r=Array.isArray(n?.value)?n.value[0]:n?.value;return typeof r==`string`&&r!==``?r:null}function u6(e){return e.publishAt===void 0?d_(e)?`unpublishedChanges`:e.status:`scheduled`}function d6(e,t,n){let{[t]:r,...i}=e;return n===void 0?i:{...i,[t]:n}}function f6(e,t){if(e===t)return!0;if(typeof e!=`object`||typeof t!=`object`||e===null||t===null||Array.isArray(e)!==Array.isArray(t))return!1;let n=e,r=t,i=Object.keys(n);return i.length===Object.keys(r).length&&i.every(e=>e in r&&f6(n[e],r[e]))}function p6(e,t){let n=t.split(`-`)[0]??t,r=new Map;for(let t of e)r.set(t.translationGroup,[...r.get(t.translationGroup)??[],t]);return[...r.values()].map(e=>{let r=e.find(e=>e.locale===t)??e.find(e=>e.locale.split(`-`)[0]===n)??e[0];if(!r)throw Error(`A group of translations has no entries.`);return{primary:r,versions:[r,...e.filter(e=>e!==r)]}})}function m6(e,t){let n=e.localizedUrlPatterns?.[t.locale]??e.urlPattern;return n===void 0?null:U_({urlPattern:n,fields:e.fields},t,t.locale)}var h6=new Set([`P`,`DIV`,`H1`,`H2`,`H3`,`H4`,`H5`,`H6`,`BLOCKQUOTE`,`UL`,`OL`,`LI`]),g6=e=>e.nodeType===1,_6=e=>g6(e)&&h6.has(e.tagName);function v6(e,t){let n=e=>t.some(t=>t.type===e);if((e.tagName===`B`||e.tagName===`STRONG`)&&!n(`bold`))return[{type:`bold`},...t];if((e.tagName===`I`||e.tagName===`EM`)&&!n(`italic`))return[{type:`italic`},...t];if(e.tagName===`CODE`&&!n(`code`))return[{type:`code`},...t];let r=e.tagName===`A`?(e.getAttribute(`href`)??``).trim():``;return r!==``&&h_(r)&&!n(`link`)?[{type:`link`,attrs:{href:r}},...t]:t}function y6(e,t=[]){let n=[];for(let r of e)if(r.nodeType===3){let e=(r.nodeValue??``).replace(/[\t\n\r ]+/g,` `);e!==``&&n.push(t.length>0?{type:`text`,text:e,marks:t}:{type:`text`,text:e})}else g6(r)&&(r.tagName===`BR`?n.push({type:`hardBreak`}):n.push(...y6(r.childNodes,v6(r,t))));return n}function b6(e){let t=[];for(let n of e){let e=t.at(-1);n.type===`text`&&e?.type===`text`&&JSON.stringify(e.marks??[])===JSON.stringify(n.marks??[])?t.splice(-1,1,{...e,text:`${e.text}${n.text}`.replace(/ {2,}/g,` `)}):t.push(n)}for(;t.at(-1)?.type===`hardBreak`;)t.pop();let n=(e,n)=>{let r=t.at(e);if(r?.type!==`text`)return;let i=n(r.text);i===``?t.splice(e,1):t.splice(e,1,{...r,text:i})};return n(0,e=>e.replace(/^ +/,``)),n(-1,e=>e.replace(/ +$/,``)),t.length>0?t:void 0}var x6=e=>{let t=b6(e);return t?{type:`paragraph`,content:t}:{type:`paragraph`}};function S6(e){let t=[],n=[],r=()=>{let e=b6(y6(n));e&&t.push({type:`paragraph`,content:e}),n=[]};for(let i of e){if(!_6(i)){n.push(i);continue}r();let e=i.tagName,a=[...i.childNodes].some(_6);if(e===`UL`||e===`OL`){let n=[...i.children].filter(e=>e.tagName===`LI`).map(e=>({type:`listItem`,content:C6(e)}));n.length>0&&t.push({type:e===`UL`?`bulletList`:`orderedList`,content:n})}else if(e===`BLOCKQUOTE`)t.push({type:`blockquote`,content:C6(i)});else if(a)t.push(...S6(i.childNodes));else if(/^H[1-6]$/.test(e)){let n=b6(y6(i.childNodes));t.push({type:`heading`,attrs:{level:e===`H1`||e===`H2`?2:3},...n&&{content:n}})}else t.push(x6(y6(i.childNodes)))}return r(),t}function C6(e){let t=S6(e.childNodes);return t.length>0?t:[{type:`paragraph`}]}function w6(e){let t=S6(new DOMParser().parseFromString(`<!doctype html><body>${e}`,`text/html`).body.childNodes);for(;t.at(-1)?.type===`paragraph`&&t.at(-1).content===void 0;)t.pop();return t.length>0?{type:`doc`,content:t}:void 0}var T6={app:{product:`Velocity`,moreActions:`More actions`,contentGroup:`Content`,home:`Home`,skipToContent:`Skip to content`,openMenu:`Open the menu`,mainNavigation:`Main`,notifications:`Notifications`,dismiss:`Dismiss`,loading:`Loading`,opening:`Opening the editor`,accountMenu:`Account`,signOut:`Sign out`,signedOut:`Signed out`,notSignedOut:`Not signed out`,sessionEnded:`You were signed out`,sessionEndedDescription:`Your session ended. Sign in again to continue.`,siteGroup:`Site`,people:`People`,settings:`Settings`,media:`Media`,trash:`Trash`,forms:`Forms`,contacts:`Contacts`,deals:`Deals`,plugins:`Manage plugins`,pluginsGroup:`Plugins`,types:`Content types`,audienceGroup:`Audience`,collectionsGroup:`Collections`,workspaceGroup:`Workspace`,search:`Search`,searchPlaceholder:`Search, jump to or create anything`,searchTitle:`Search and commands`,searchEmpty:`Nothing matches that.`,searching:`Searching…`,searchContentGroup:`Content`,searchContactsGroup:`Contacts`,searchUntitled:`Untitled`,searchShortcutCommand:`⌘K`,searchShortcutControl:`Ctrl K`,goToGroup:`Go to`,createGroup:`Create`,create:`Create`,createIn:e=>`New in ${e}`,passkeys:`Passkeys`,passkeyTitle:`Add a passkey`,passkeyDescription:`A passkey signs you in with your fingerprint, face or screen lock, with no email to wait for. Add one on each device you use, and remove one when you stop using its device.`,passkeyColumnName:`Passkey`,passkeyColumnAdded:`Added`,passkeyColumnActions:`Remove`,passkeyNone:`You have no passkeys yet.`,passkeyUnnamed:`Passkey with no name`,passkeyAddedUnknown:`Not known`,passkeyRemove:e=>`Remove ${e}`,passkeyRemoved:e=>`${e} removed`,passkeyRemovedDescription:`It can no longer sign you in. You can still use a sign-in link.`,passkeyNotRemoved:`The passkey was not removed`,passkeyDone:`Done`,passkeyName:`Name for this passkey`,passkeyNameHelp:`So you can tell your passkeys apart, such as "Work laptop".`,passkeyDefaultName:`This device`,passkeyAdd:`Add passkey`,passkeyAdded:`Passkey added`,passkeyAddedDescription:`Next time, choose "Sign in with a passkey".`,passkeyNotAdded:`No passkey was added`,somethingWentWrong:`Something went wrong`,screenFailed:`This screen could not be shown. Try again, and if it happens again, reload the page.`,screenNotFound:`There is no screen at this address. Choose one from the menu.`,tryAgain:`Try again`},signIn:{title:`Sign in`,description:`Use a passkey, or get a sign-in link by email. There is no password to remember.`,email:`Email`,emailMissing:`Enter your email address.`,emailInvalid:`Enter an email address, such as name@example.com.`,sendLink:`Email me a sign-in link`,usePasskey:`Sign in with a passkey`,linkSentTitle:`Check your email`,linkSent:e=>`If ${e} belongs to someone on this site, a sign-in link is on its way. It works once and expires in 10 minutes.`,useAnotherEmail:`Use a different email`,linkFailed:`That sign-in link has expired or was already used. Ask for a new one below.`,signedIn:e=>`Signed in as ${e}`,passkeyFailed:`The passkey did not work. Try again, or use a sign-in link instead.`},contentList:{description:e=>e===1?`1 entry`:`${e} entries`,columnTitle:`Title`,columnStatus:`Status`,columnLanguages:`Languages`,filter:`Show`,filterAll:`All`,filterPublished:`Published`,filterDrafts:`Drafts`,filterChanged:`Unpublished changes`,search:e=>`Search ${e.toLowerCase()}`,searchPlaceholder:`Search by title or address`,clearSearch:`Clear search`,noMatchesTitle:`Nothing matches`,noMatchesDescription:`Try another word, or show all entries.`,columnUpdated:`Updated`,untitled:`Untitled`,homePage:`Home page`,newEntry:`New entry`,emptyTitle:e=>`No ${e.toLowerCase()} yet`,emptyDescription:`Entries appear on the site as soon as they are published.`,noTypesTitle:`No content types yet`,noTypesDescription:`A content type describes one kind of content, such as listings or blog posts.`,typeNotFoundTitle:`This content type does not exist`,typeNotFoundDescription:`It may have been renamed or removed.`},schedule:{title:`Schedule`,close:`Close`,help:`What is saved when the time comes goes on the site, so you can keep working on it until then.`,saveFirst:`Save what you have typed first: what goes out is what is saved.`,current:e=>`Set to go on the site ${e}.`,missed:e=>`This did not go on the site at its time. ${e}`,day:`Day`,dayMissing:`Choose a day.`,time:`Time`,zone:e=>`Times are in your time zone, ${e.replaceAll(`_`,` `)}.`,confirm:`Schedule`,change:`Change the time`,cancel:`Cancel`,remove:`Take off the schedule`,set:`Scheduled`,setDescription:e=>`It goes on the site ${e}.`,notSet:`Not scheduled`,removed:`Taken off the schedule`,notRemoved:`Still scheduled`},history:{title:`History`,close:`Close`,help:`Every save, the latest first. Saves made in one go are shown as one. Bringing a version back makes a new save: nothing is lost, and the site changes only when you publish.`,saveFirst:`Save or undo what you have typed before bringing a version back.`,current:`Now`,onSite:`On the site`,when:(e,t)=>t?`${e}, by ${t}`:e,first:`First saved`,changed:e=>`Changed ${e.join(`, `)}`,published:`Published`,unpublished:`Taken off the site`,saved:`Saved`,sitting:e=>`${e} saves in one go`,showEach:`Show each`,showAsOne:`Show as one`,bringBack:`Bring back this version`,broughtBack:e=>`Version from ${e} brought back`,broughtBackDescription:`It is the working version now. Publish it to put it on the site.`,notBroughtBack:`Not brought back`},editor:{back:e=>`All ${e.toLowerCase()}`,newTitle:`New entry`,form:`Entry`,slug:`Slug`,slugDescription:e=>`The page's address on the site: ${e}`,slugAsIdentifier:`A short name other entries link to. It is not shown on the site, and stays the same in every language.`,slugMissing:`Enter a slug. It is the last part of the page's address.`,slugInvalid:`Use lowercase letters, numbers and hyphens, such as lake-house.`,slugPathDescription:e=>`The page's address on the site: ${e}. Put a slash between the parts to place it under another page, such as services/roofing. The slug index is the page at the top.`,slugHomeDescription:e=>`The page's address on the site: ${e}. The page whose slug is index is the one at the top.`,slugPathInvalid:`Use lowercase letters, numbers and hyphens, with a slash between the parts of a longer address, such as services/roofing.`,choose:`Choose one`,linkMissing:e=>`${e} (not found)`,formMissing:`A form that is no longer here`,formLoading:`Loading…`,formClosed:e=>`${e} (closed)`,noForms:`This site has no forms yet. Make one under Forms.`,linkNotLoaded:`The list to choose from could not be loaded. Reload the page to try again.`,linkAddressChoice:`Another address`,linkAddress:`Address`,linkAddressHelp:`A whole address such as https://example.com, or a path on this site such as /contact/.`,linkWhich:e=>`Which of ${e}`,linkGone:`No longer on the site`,linkLoading:`Loading…`,listEmpty:`Nothing here yet`,listAdd:`Add`,listItem:(e,t)=>`${e} ${t}`,listRemove:(e,t)=>`Remove ${e} ${t}`,listMoveUp:(e,t)=>`Move ${e} ${t} up`,listMoveDown:(e,t)=>`Move ${e} ${t} down`,listMore:(e,t)=>`More for ${e} ${t}`,listDrag:(e,t)=>`Drag ${e} ${t}`,listDuplicate:`Duplicate`,listRemoveRow:`Remove`,listProblems:e=>e===1?`1 thing to fix in here.`:`${e} things to fix in here.`,pagePane:`The page`,pageFrame:e=>`${e}, as it would look`,pageWidth:`Width`,pagePhone:`Phone`,pageTablet:`Tablet`,pageDesktop:`Desktop`,pageMoveUp:`Move up`,pageMoveDown:`Move down`,pageDuplicate:`Duplicate`,pageRemove:`Remove`,pageAdd:`Add section`,pageReorder:`Reorder sections`,pageReorderDone:`Done`,pageAddBefore:`Add a section above`,pageAddAfter:`Add a section below`,pagePicture:`Change image`,pageLink:`Edit link`,pageTextLinkProblem:`A link must be a web address, an email address, a phone number or a page of this site such as /contact/.`,pageItemUp:`Move earlier`,pageItemDown:`Move later`,pageItemDuplicate:`Duplicate`,pageItemRemove:`Remove`,pageLinkDone:`Done`,visualOpen:`Visual editor`,visualClose:`Exit`,resizeOutline:`Width of the sections`,resizeForm:`Width of the form`,switchLanguage:e=>`Edit in ${e}`,outlineTitle:`Sections`,outlineLabel:`Sections of the page`,outlineEmpty:`No sections yet. Add one in the panel on the right.`,visualShowForm:`Show the form`,visualHideForm:`Hide the form`,pageNotYet:`Save the page once to see it here.`,pageLoading:`Getting the page…`,pageNotShown:e=>`The page cannot be shown here. ${e}`,sectionsEmpty:`No sections yet. Add the first one to start the page.`,sectionAdd:`Add section`,sectionPickerTitle:`Add a section`,sectionPickerEmpty:`This site has no kinds of section to add yet. They come with its template.`,sectionOtherGroup:`Other`,sectionMoveUp:(e,t)=>`Move section ${t}, ${e}, up`,sectionMoveDown:(e,t)=>`Move section ${t}, ${e}, down`,sectionMore:(e,t)=>`More for section ${t}, ${e}`,sectionDrag:(e,t)=>`Drag section ${t}, ${e}`,sectionDuplicate:`Duplicate`,sectionHide:`Hide from the site`,sectionShow:`Show on the site`,sectionRemove:`Remove`,sectionHidden:`Hidden`,sectionRetired:`No longer used`,sectionRetiredNote:`The site's template no longer has this kind of section, so it is left off the site. Its content is kept in case the kind comes back.`,sectionUnknown:`Unknown section`,sectionNoFields:`This section has nothing to fill in.`,sectionProblems:e=>e===1?`1 thing to fix in this section.`:`${e} things to fix in this section.`,sectionRemoveTitle:e=>`Remove this ${e.toLowerCase()} section?`,sectionRemoveDescription:`What was written in it goes with it. Nothing changes on the site until you publish.`,sectionRemoveConfirm:`Remove section`,imageChoose:`Choose an image`,imageChange:`Change`,imageNone:`No image chosen`,imageMissing:`This image is no longer on the site. Choose another.`,imagesEmpty:`This site has no images to choose from yet.`,imagesLoading:`Loading the images…`,imagesNotLoaded:`The images could not be loaded. Reload the page to try again.`,imageUpload:`Upload an image`,imageUploadHint:e=>`JPEG, PNG or WebP, up to ${e} MB. Larger photos are made smaller first.`,imageNotRead:`The file could not be read. Choose it again.`,close:`Close`,richText:{toolbar:`Formatting`,bold:`Bold`,italic:`Italic`,code:`Code`,heading:`Heading`,subheading:`Subheading`,bulletList:`Bulleted list`,numberedList:`Numbered list`,quote:`Quote`,link:`Link`,linkAddress:`Link address`,linkHelp:`A web address, or a page of this site such as /contact/.`,linkApply:`Apply`,linkRemove:`Remove link`},otherFields:`Other details`,addressSection:`Address on the site`,identifierSection:`Identifier`,aside:`Publishing details`,unsupportedField:`This kind of field cannot be edited here yet. Its content is kept as it is.`,saveBar:`Save and publish`,language:`Language`,saveDraft:`Save draft`,publish:`Publish`,publishChanges:`Publish changes`,viewOnSite:`View on the site`,unpublish:`Unpublish`,more:`More actions`,theme:`Theme`,pickColour:e=>`Choose ${e.toLowerCase()}`,hue:`Hue`,suggestedColours:`Suggested colours`,chooseFont:`Choose a font`,themeHide:`Hide the theme`,themeTitle:`Site theme`,themeHelp:e=>`The colors and fonts of the whole site, from the template's own. Try them on this page, then publish them. They are kept in Settings, under ${e}, and publishing them publishes what is saved there.`,themePublish:`Publish theme`,themeDiscard:`Discard`,themePublished:`Theme published`,themePublishedDescription:`Every page of the site now shows it.`,themeNotPublished:`The theme was not published`,undo:`Undo`,redo:`Redo`,trash:`Move to trash`,trashTitle:`Move this to the trash?`,trashDescription:`It leaves the lists and can be restored from the trash whenever you need it. Changes you have not saved are not kept.`,trashDescriptionPublished:`Visitors will no longer find it, and links to it will stop working. It can be restored from the trash as a draft. Changes you have not saved are not kept.`,schedule:`Schedule`,scheduleChange:`Change the schedule`,goesOut:e=>`Goes on the site ${e}`,missedSchedule:`Missed its time`,history:`History`,duplicate:`Duplicate`,duplicated:e=>`${e} duplicated`,duplicatedDescription:`This is the copy, as a draft. It holds what was last saved.`,notDuplicated:`Not duplicated`,trashed:e=>`${e} moved to the trash`,trashedDescription:`Restore it from Trash, under Site, whenever you need it.`,notTrashed:`Not moved to the trash`,inTrashTitle:`This is in the trash`,inTrashDescription:`Restore it to open it and change it again.`,openTrash:`Open the trash`,preview:`Preview`,imageUploaded:`Image uploaded`,imageUploadedDescription:`It is chosen for this field. Save the entry to keep it.`,notPreviewed:`No preview`,notSavedYet:`Not saved yet`,unsavedChanges:`Unsaved changes`,notAutosaved:`Not saved. Press "Save draft" to see why.`,saved:e=>`Saved ${e}`,draftSaved:`Draft saved`,draftSavedDescription:`Visitors do not see it until you publish.`,published:`Published`,publishedDescription:`Visitors can see it now.`,unpublished:`Unpublished`,unpublishedDescription:`It is off the site. Its content is kept as a draft.`,notSaved:`Not saved`,notPublished:`Not published`,notUnpublished:`Not unpublished`,fieldsNeedAttention:e=>e===1?`1 field needs attention.`:`${e} fields need attention.`,leaveTitle:`Leave without saving?`,leaveDescription:`What you changed here has not been saved. If you leave now, it is lost.`,leave:`Leave without saving`,keepEditing:`Keep editing`,unpublishTitle:`Take this off the site?`,unpublishDescription:`Visitors will no longer find it, and links to it will stop working. Its content is kept as a draft.`,cancel:`Cancel`,notFoundTitle:`This entry does not exist`,notFoundDescription:`It may have been deleted.`},trash:{title:`Trash`,description:`What was moved here is off the site and out of the lists. Restore anything you still need.`,columnName:`Name`,columnType:`Kind`,columnMoved:`Moved here`,columnActions:`Actions`,detail:(e,t)=>`${e} · ${t}`,typeArchived:`An archived content type`,restore:e=>`Restore ${e}`,restored:e=>`${e} restored`,restoredDescription:`It is back as a draft. Publish it to put it on the site again.`,notRestored:`Not restored`,delete:e=>`Delete ${e} for good`,deleteTitle:e=>`Delete ${e} for good?`,deleteDescription:`Its content and its history are removed and cannot be brought back.`,deleteConfirm:`Delete for good`,deleted:e=>`${e} deleted for good`,notDeleted:`Not deleted`,emptyTitle:`The trash is empty`,emptyDescription:`An entry you move to the trash waits here until you restore it or delete it for good.`},contactImport:{button:`Import`,title:`Import contacts`,lead:`Bring in contacts from a spreadsheet saved as a CSV file. Its first row should be the headings, and one column must hold email addresses. People you already have are never overwritten: they only gain what they lack.`,chooseFile:`Choose a CSV file`,emptyFile:`This file has no rows under its headings. Choose a CSV file with a row of headings and at least one row of contacts.`,tooManyRows:e=>`This file has more than ${e} rows. Split it into smaller files and import each.`,matchLead:e=>`${e} ${e===1?`row`:`rows`} found. Say what each column holds.`,column:e=>`Column "${e}"`,example:e=>`For example: ${e}`,skip:`Leave it out`,emailNeeded:`Say which column holds the email addresses. A contact needs one.`,bringIn:e=>`Import ${e} ${e===1?`row`:`rows`}`,done:e=>`${e} ${e===1?`contact`:`contacts`} added`,failed:`The import stopped`,added:e=>`${e} ${e===1?`contact was`:`contacts were`} added.`,filled:e=>`${e} you already had gained details they lacked.`,unchanged:e=>`${e} you already had were left as they are.`,leftOut:e=>`${e} ${e===1?`row was`:`rows were`} left out:`,rowProblem:(e,t)=>`Row ${e}: ${t}`,andMore:e=>`And ${e} more.`,close:`Done`},contacts:{title:`Contacts`,description:`Everyone who wrote to you through a form, and the people you added yourself.`,newContact:`New contact`,newContactTitle:`New contact`,search:`Search contacts`,searchPlaceholder:`Search by name, email or phone`,clearSearch:`Clear search`,columnName:`Name`,columnPhone:`Phone`,columnSource:`First came from`,columnAdded:`Added`,noName:`No name yet`,addedByHand:`Added by hand`,fromForm:e=>`${e} form`,fromFormOn:(e,t)=>`${e} form on ${t}`,aFormNowGone:`A form that is no longer here`,count:e=>e===1?`1 contact`:`${e} contacts`,emptyTitle:`No contacts yet`,emptyDescription:`When someone sends a form that asks for their email, they appear here. You can also add a contact yourself.`,nothingFoundTitle:`Nobody matches`,nothingFoundDescription:e=>`No contact has "${e}" in their name, email or phone.`,name:`Name`,email:`Email`,phone:`Phone`,emailNeeded:`Give the contact an email address.`,create:`Add contact`,created:e=>`${e} added`,notCreated:`The contact was not added`,backToContacts:`All contacts`,notFoundTitle:`No such contact`,notFoundDescription:`This contact was erased, or the address is wrong.`,noAccess:`Contacts are for owners and editors.`,edit:`Edit details`,editTitle:e=>`Edit ${e}`,save:`Save details`,saved:e=>`${e} saved`,notSaved:`The details were not saved`,details:`Details`,detailsLabel:`About this contact`,firstCameFrom:`First came from`,added:`Added`,notGiven:`Not given`,timeline:`Timeline`,timelineHelp:`What they sent you and what your team noted, newest first.`,timelineEmpty:`Nothing yet. Notes you add and forms they send will be listed here.`,sent:e=>`Sent the ${e} form`,sentUnknown:`Sent a form that is no longer here`,fromPage:e=>`From ${e}`,noteLabel:`Note`,movedLabel:`Moved`,movedFromTo:(e,t,n)=>`From ${e} to ${t}${n===void 0?``:`, by ${n}`}`,stageGone:`a stage that was removed`,note:`Add a note`,notePlaceholder:`Called back, wants a tour on Saturday`,noteHelp:`Only your team sees notes.`,addNote:`Add note`,noteAdded:`Note added`,noteNotAdded:`The note was not added`,deleteNote:`Delete note`,noteDeleted:`Note deleted`,noteNotDeleted:`The note was not deleted`,export:`Export`,exported:`File downloaded`,exportedDescription:`The file holds personal details. Keep it somewhere safe.`,notExported:`The file could not be made`,erase:`Erase`,eraseTitle:e=>`Erase ${e}?`,eraseDescription:`This deletes the contact, your notes about them and everything they sent through every form, for good. Use it when someone asks you to remove their details.`,eraseConfirm:`Erase for good`,erased:(e,t)=>t===0?`${e} erased`:t===1?`${e} erased, with 1 submission`:`${e} erased, with ${t} submissions`,notErased:`The contact was not erased`,view:`View`,viewList:`List`,viewBoard:`Board`,columnStage:`Stage`,columnOwner:`Looked after by`,columnFollowUp:`Follow up`,filterStage:`Stage`,allStages:`All stages`,filterOwner:`Looked after by`,everyone:`Everyone`,mine:`Me`,nobody:`Nobody`,someoneWhoLeft:`Someone who left`,nothingMatchesTitle:`Nobody matches`,nothingMatchesDescription:`No contact fits what you chose. Change the stage or who looks after them.`,stages:{new:`New`,contacted:`Contacted`,qualified:`Qualified`,won:`Won`,lost:`Lost`},board:`Pipeline`,boardEmpty:`Nobody here`,boardMore:e=>`${e} more, in the list`,move:e=>`Move ${e}`,moved:(e,t)=>`${e} moved to ${t}`,notMoved:`The contact was not moved`,work:`Follow-up`,workLabel:`Stage, owner and follow-up`,stage:`Stage`,owner:`Looked after by`,followUp:`Follow up on`,followUpHelp:`It shows on your Home screen when the day comes.`,stageSaved:e=>`Moved to ${e}`,ownerSaved:e=>`Now looked after by ${e}`,ownerCleared:`Nobody looks after this contact now`,followUpSaved:e=>`Follow-up set for ${e}`,followUpCleared:`Follow-up cleared`,notChanged:`The contact was not changed`,due:{overdue:`Overdue`,today:`Due today`},editStages:`Edit stages`,editStagesTitle:`Stages`,stagesHelp:`The steps a contact moves through, in order. New contacts start in the first.`,stagesRemoveNote:`Contacts in a stage you remove move to the first stage.`,stagesEmpty:`No stages. Add one.`,addStage:`Add stage`,stageName:`Name`,stageKind:`Counts as`,stageKinds:{open:`Open`,won:`Won`,lost:`Lost`},removeStage:e=>`Remove stage ${e}`,moveStageUp:e=>`Move stage ${e} up`,moveStageDown:e=>`Move stage ${e} down`,saveStages:`Save stages`,stagesSaved:`Stages saved`,stagesNotSaved:`The stages were not saved`,stageChance:`Chance, %`,pipelineSettings:`Deals and new contacts`,currency:`Currency`,currencyHelp:`Three letters, such as USD or EUR. Deal values are shown in it.`,monthlyTarget:`Monthly target`,monthlyTargetHelp:`What the team means to win each month, in the currency above. The deals screen shows how close this month is. Leave it empty for none.`,assignTo:`Give new contacts to`,assignToHelp:`A contact made by a form goes to whichever of these people looks after the fewest. Tick nobody to leave new contacts unassigned.`},deals:{title:`Deals`,description:`What your contacts may buy, by stage, and what it is likely to bring in.`,noAccess:`Deals are for owners and editors.`,open:`Open`,openDetail:`Worth of every deal still in play`,forecast:`Forecast`,forecastDetail:`Open deals, each counted by its stage's chance`,won:`Won`,wonDetail:`Worth of the deals you won`,targetLabel:e=>`${e} target`,targetProgress:(e,t,n)=>`${e} of ${t} · ${n}`,board:`Deals by stage`,boardEmpty:`No deals here`,boardMore:e=>`${e} more`,emptyTitle:`No deals yet`,emptyDescription:`Add a deal from a contact's page, with what it is worth. It then moves through your stages here.`,toContacts:`Go to contacts`,move:e=>`Move ${e}`,moved:(e,t)=>`${e} moved to ${t}`,notMoved:`The deal was not moved`,cardTitle:`Deals`,cardEmpty:`No deals with this contact yet.`,add:`Add deal`,addTitle:`New deal`,editTitle:e=>`Edit ${e}`,columnTitle:`Deal`,columnStage:`Stage`,columnValue:`Worth`,columnClose:`Expected`,name:`What it is about`,namePlaceholder:`Sale of 18 Alder Court`,nameNeeded:`Say what the deal is about.`,value:e=>`Worth, in ${e}`,stage:`Stage`,owner:`Looked after by`,closeOn:`Expected to close on`,create:`Add deal`,save:`Save deal`,created:e=>`${e} added`,saved:e=>`${e} saved`,notSaved:`The deal was not saved`,delete:`Delete deal`,deleted:e=>`${e} deleted`,notDeleted:`The deal was not deleted`,closes:e=>`Closes ${e}`,about:`On the site, it is about`,aboutNothing:`Nothing on the site`,aboutWhich:e=>`Which of ${e}`,aboutWhichOne:`Which one`,aboutGone:`No longer on the site`,aboutLoading:`Loading…`,entryCardEmpty:`No deals about this yet. Add one from a contact's page and choose this as what it is about.`,entryDeals:`Deals about this`},forms:{title:`Forms`,description:`The forms on your site, and what visitors sent through them.`,newForm:`New form`,newFormTitle:`New form`,formName:`Name`,formNameHelp:`What the form is called here and in the emails about it, such as Contact us.`,formKey:`Key`,formKeyHelp:`The name the site's pages use for it. Lowercase letters, numbers and hyphens.`,nameNeeded:`Give the form a name.`,keyNeeded:`Give the form a key.`,create:`Create form`,created:e=>`${e} created`,createdDescription:`Add the fields a visitor fills in.`,notCreated:`Not created`,columnName:`Name`,columnFields:`Fields`,columnNew:`New`,columnStatus:`Status`,columnActions:`Actions`,columnTrashed:`Moved here`,fieldCount:e=>e===1?`1 field`:`${e} fields`,newCount:e=>`${e} new`,noneNew:`None`,open:`Open`,closed:`Closed`,emptyTitle:`No forms yet`,emptyDescription:`A form collects what visitors send: a question, a request for a tour, a sign-up. Start with a contact form.`,trashedTitle:`Forms in the trash`,trashedHelp:`A form here takes no more submissions. What it was sent is kept until the form is deleted for good.`,restore:e=>`Restore ${e}`,restored:e=>`${e} restored`,notRestored:`Not restored`,delete:e=>`Delete ${e} for good`,deleteTitle:e=>`Delete ${e} for good?`,deleteDescription:`The form and everything visitors sent through it are removed and cannot be brought back.`,deleteConfirm:`Delete for good`,deleted:e=>`${e} deleted for good`,notDeleted:`Not deleted`,forget:`Forget a person`,forgetTitle:`Forget a person`,forgetHelp:`Deletes everything this person sent, through every form, for good. Use it when someone asks you to remove their details.`,forgetEmail:`Their email address`,forgetEmailNeeded:`Give the email address of the person to forget.`,forgetConfirm:`Delete what they sent`,forgotten:e=>e===0?`Nothing was found from that address`:e===1?`1 submission deleted`:`${e} submissions deleted`,notForgotten:`Not deleted`,notFoundTitle:`This form is not here`,notFoundDescription:`It may have been moved to the trash or deleted.`,backToForms:`All forms`,detail:(e,t)=>`Key: ${e} · ${t}`,tabs:`Parts of this form`,tabSubmissions:`Submissions`,tabFields:`Fields`,settings:`Settings`,trash:`Move to trash`,trashTitle:e=>`Move ${e} to the trash?`,trashDescription:`It takes no more submissions and leaves any page that shows it. What it was sent is kept, and the form can be restored.`,trashConfirm:`Move to trash`,trashed:e=>`${e} moved to the trash`,notTrashed:`Not moved`,statusFilter:`Which submissions to show`,statuses:{new:`New`,handled:`Handled`,spam:`Spam`},statusWithCount:(e,t)=>`${e} (${t})`,export:`Export as CSV`,exported:`Export saved`,exportedDescription:`The file holds personal details. Keep it somewhere safe.`,notExported:`Not exported`,columnFrom:`From`,columnSummary:`What they wrote`,columnReceived:`Received`,submissionsOf:e=>`Submissions of ${e}`,unknownSender:`No name given`,emptyNewTitle:`Nothing new`,emptyNewDescription:`What visitors send through this form arrives here.`,emptyHandledTitle:`Nothing handled yet`,emptyHandledDescription:`Mark a submission as handled once you have answered it.`,emptySpamTitle:`No spam`,emptySpamDescription:`Submissions that look automated are kept here, so a real one is never lost.`,noAccess:`Only owners and editors can read what visitors sent.`,submissionTitle:e=>`From ${e}`,received:e=>`Received ${e}`,sentFrom:e=>`Sent from ${e}`,handledAt:e=>`Handled ${e}`,yes:`Yes`,removedField:e=>`${e} (removed field)`,markHandled:`Mark as handled`,markNew:`Mark as new`,markSpam:`Mark as spam`,notSpam:`Not spam`,marked:{new:`Marked as new`,handled:`Marked as handled`,spam:`Marked as spam`},notMarked:`Not changed`,deleteSubmission:`Delete`,deleteSubmissionTitle:`Delete this submission?`,deleteSubmissionDescription:`It is removed for good and cannot be brought back.`,submissionDeleted:`Submission deleted`,submissionNotDeleted:`Not deleted`,addField:`Add field`,addFieldTitle:`Add a field`,editFieldTitle:e=>`Change ${e}`,fieldsOf:e=>`Fields of ${e}`,columnField:`Field`,columnKind:`Kind`,columnRules:`Rules`,required:`Required`,holds:{name:`Sender's name`,email:`Sender's email`,phone:`Sender's phone`},noFieldsTitle:`No fields yet`,noFieldsDescription:`Add what a visitor fills in: their name, their email, a message.`,fieldName:`Label`,fieldNameHelp:`What the visitor reads above the field.`,fieldKey:`Key`,fieldKeyHelp:`The name the site's pages and exports use for it.`,fieldHelp:`Help text`,fieldHelpHelp:`A short note shown with the field.`,fieldKind:`Kind`,fieldKindIs:e=>`Kind: ${e}. A different kind is a new field.`,fieldRequired:`A visitor must fill this in`,fieldNameNeeded:`Give the field a label.`,fieldKeyNeeded:`Give the field a key.`,fieldAdd:`Add field`,fieldSave:`Save field`,fieldAdded:e=>`${e} added`,fieldSaved:e=>`${e} saved`,fieldNotSaved:`Not saved`,moveUp:e=>`Move ${e} up`,moveDown:e=>`Move ${e} down`,edit:e=>`Change ${e}`,remove:e=>`Remove ${e}`,removeTitle:e=>`Remove ${e}?`,removeDescription:`Visitors are no longer asked for it. What was already sent under it is kept and still exported.`,removeConfirm:`Remove field`,removed:e=>`${e} removed`,notRemoved:`Not removed`,notMoved:`Not moved`,settingsTitle:e=>`Settings of ${e}`,isOpen:`Taking submissions`,isOpenHelp:`Switched off, the form leaves the site and what is sent to it is refused.`,notify:`Who is emailed`,notifyHelp:`One email address on each line. Each is told when the form is sent. Leave empty to tell nobody.`,senderName:`Field with the sender's name`,senderEmail:`Field with the sender's email`,senderPhone:`Field with the sender's phone`,senderHelp:`So a submission can be tied to a person, and a reply goes to them.`,noField:`None`,success:`Thank-you message`,successHelp:`What a visitor reads after sending. Left empty, the site's own words are used.`,submitLabel:`Button label`,submitLabelHelp:`Left empty, the site's own word is used.`,fills:e=>`Field that fills a contact's "${e}"`,fillsHelp:`The answer is kept on the sender's contact, in a field you added to contacts. It never replaces what is already there.`,startsDeal:`Start a deal about the page it was sent from`,startsDealHelp:`When this form is sent from the page of something deals can be about, such as a listing, the sender gets a deal about it. Turn that on for a kind of content in its settings.`,retention:`Days to keep submissions`,retentionHelp:`Older ones are deleted. Leave empty to keep them until someone deletes them.`,save:`Save settings`,saved:`Settings saved`,notSaved:`Not saved`},media:{title:`Media`,description:e=>e===1?`1 image`:`${e} images`,upload:`Upload an image`,uploadHint:e=>`JPEG, PNG or WebP, up to ${e} MB.`,uploaded:e=>`${e} was uploaded`,uploadedDescription:`Choose it in any image field.`,notUploaded:`The image was not uploaded`,notRead:`The file could not be read. Choose it again.`,search:`Search images`,searchPlaceholder:`Search by name`,clearSearch:`Clear search`,grid:`Images`,emptyTitle:`No images yet`,emptyDescription:`Images you upload here can be chosen in any image field.`,emptyNoUploads:`This site has nowhere to keep uploads yet. Images in the site's image folder appear here.`,noMatches:`No images match your search.`,fromSite:`Comes with the site`,dimensions:(e,t)=>`${e} × ${t}`,detailName:`Name`,detailNameHelp:`What an image field stores, and what the site's pages look it up by.`,detailSize:`Size`,detailFile:`File`,detailUploaded:`Uploaded`,fromSiteHelp:`It is part of the site's own files, so it is changed there and can't be removed here.`,kilobytes:e=>`${e} KB`,megabytes:e=>`${e} MB`,close:`Close`,remove:`Remove image`,removeTitle:e=>`Remove ${e}?`,removeDescription:`The file is deleted for good. An entry that shows this image will show nothing in its place until another is chosen.`,removed:e=>`${e} was removed`,notRemoved:`The image was not removed`},customFields:{button:`Custom fields`,close:`Close`,nameHelp:`What the team reads above the field.`,removeDescription:`The field is no longer shown or exported. What was filled in under it is kept.`,contact:{name:`Contacts`,title:`Custom fields for contacts`,help:`What you keep about each contact beyond their name, email and phone, such as a membership type or a budget.`,emptyDescription:`Add what you want to know about each contact. It shows on every contact, ready to fill in.`},deal:{name:`Deals`,title:`Custom fields for deals`,help:`What you keep about each deal beyond its name, value and stage, such as a product or a number of seats.`,emptyDescription:`Add what you want to know about each deal. It shows in every deal, ready to fill in.`}},plugins:{title:`Plugins`,description:`What you can add to this site. Activate a plugin to switch it on, and switch it off again at any time.`,may:e=>`May ${e.map(e=>`${e.charAt(0).toLowerCase()}${e.slice(1)}`).join(`, `)}`,version:e=>`Version ${e}`,states:{on:`Active`,off:`Available`,failed:`Could not start`,unsupported:`Needs another version`,invalid:`Left out`},active:e=>`${e} is active`,activated:e=>`${e} is active`,activatedDescription:`It is running on the whole site now.`,deactivated:e=>`${e} was switched off`,deactivatedDescription:`Its settings are kept for when you activate it again.`,notActivated:e=>`${e} could not start`,notSwitched:`The plugin was not switched`,settings:`Settings`,settingsTitle:e=>`${e} settings`,settingsSave:`Save settings`,settingsSaved:e=>`${e} settings saved`,settingsNotSaved:`The settings were not saved`,secretsTitle:`Keys and passwords`,secretsHelp:`Each is saved by itself, sealed, and never shown again.`,secretSaved:`Saved. It is not shown again.`,secretSave:e=>`Save ${e}`,secretReplace:e=>`Replace ${e}`,secretRemove:e=>`Remove ${e}`,secretKeep:`Keep the saved one`,secretWasSaved:e=>`${e} saved`,secretWasRemoved:e=>`${e} removed`,secretNotSaved:e=>`${e} was not saved`,activity:`Activity`,activityTitle:e=>`${e} activity`,activityHelp:`What this plugin was asked to send or do. Something that fails is tried again for about a day before it is given up on.`,activityEmptyTitle:`Nothing yet`,activityEmptyDescription:`What this plugin sends or does will be listed here as it happens.`,activityClose:`Close`,taskWhat:`What`,taskState:`State`,taskWhen:`Asked`,taskActions:`Try again`,taskStates:{waiting:`Waiting`,done:`Done`,failed:`Gave up`},taskTries:e=>e===1?`Tried once`:`Tried ${e} times`,taskNext:e=>`Next try ${e}`,taskNextSoon:`Next try within a minute`,taskRetry:e=>`Try ${e} again`,taskRetried:`It worked this time`,taskRetriedWaiting:`It failed again`,taskNotRetried:`It could not be tried again`,hasFailed:`Has failed`,failedAt:(e,t,n,r)=>`Failed ${e===1?`once`:`${e} times`} since the site started, last ${n} on "${t}": ${r}`,mayNothing:`Change nothing`,permissions:{"schema:write":`Change content types`,"entry:read":`Read content`,"entry:write":`Write drafts`,"entry:publish":`Publish`,"entry:delete":`Delete for good`,"form:write":`Change forms`,"submission:read":`Read what visitors send through forms`,"submission:manage":`Handle and delete what visitors send`,"contact:read":`Read contacts`,"contact:manage":`Change and erase contacts`,"user:manage":`Manage people`,"plugin:manage":`Manage plugins`,"settings:manage":`Change the site's settings`},adds:e=>`Adds ${e.join(`, `)}.`,addsScreen:e=>`the "${e}" screen in the sidebar`,addsPanel:e=>`the "${e}" panel on entries`,addsFieldTypes:e=>e===1?`a kind of field`:`${e} kinds of field`,addsChecks:e=>e===1?`a check before publishing`:`${e} checks before publishing`,addsPageHead:`titles and descriptions for search engines on the site's pages`,addsTasks:`deliveries that are tried again when they fail`,open:e=>`Open ${e}`,editorFailed:e=>`Its part of the editor could not be loaded: ${e}`,screenMissingTitle:`This screen is not here`,screenMissingDescription:`The plugin that added it may have been switched off. An owner can activate it again under Plugins.`,emptyTitle:`No plugins yet`,emptyDescription:`Plugins that are available for this site will be listed here, ready to activate.`},settings:{title:`Settings`,description:`What this site is and what it needs to run, set up here instead of on the server.`,tabsLabel:`Parts of the settings`,areas:{general:`General`,email:`Email`,storage:`Storage`,forms:`Forms and spam`,tokens:`Access tokens`},namesSite:e=>`${e} is also what this editor and the site's emails call the site, once it is published.`,ownersTitle:`Settings are for owners`,ownersDescription:`An owner of this site sets up its email, storage and forms here. Ask one if something needs changing.`,general:{title:`Site name`,description:`What this site is called in the editor, in the emails it sends and when someone adds a passkey.`,states:{server:`Set on the server`,code:`Set in the site's code`,host:`Set by your host`},fixed:e=>`Your host names this site: ${e}. Change it where you manage the site with your host.`,name:`Site name`,nameHelp:`Leave this empty to use the name the site's code gives.`,nameHelpWithDefault:e=>`Leave this empty to use the name the site's code gives: ${e}.`,save:`Save site name`,saved:`Site name saved`,savedDescription:`Emails use it from now on. The editor shows it once you reload the page.`,notSaved:`Site name not saved`},email:{title:`Email`,description:`Sign-in links, invitations and notices from forms are sent this way.`,states:{sending:`Sending`,off:`Not set up`,server:`Set on the server`,code:`Set in the site's code`,host:`Handled by your host`},offHelp:`Until this is set up, nobody is emailed: sign-in links are printed in the server's log, and notices from forms are not sent.`,fixed:{server:`This site's email is set up on the server, with the VELOCITY_CMS_RESEND_API_KEY and VELOCITY_CMS_EMAIL_FROM settings. They win over anything saved here. To set email up in the editor instead, remove both from the server.`,code:`This site sends email with a mailer of its own, named in its Astro config. It wins over anything saved here. To set email up in the editor instead, take the mailer out of the config.`,host:`Your host sends this site's email, so there is nothing to set up here.`},provider:`Email service`,providers:{resend:`Resend`},providerHelp:`Make an account with the service, verify your domain there, then create an API key.`,providerLinks:{resend:`https://resend.com/api-keys`},providerLink:e=>`Open your API keys at ${e}`,key:`API key`,keyHelp:`It is kept encrypted and never shown again once it is saved.`,keySaved:`A key is saved. It is kept encrypted and is not shown again.`,keyReplace:`Replace the key`,keyKeep:`Keep the saved key`,from:`Sender`,fromHelp:`The address your emails come from, on the domain you verified. Add a name if you like: Lakeshore Realty <hello@lakeshore.example>.`,save:`Save email settings`,saved:`Email settings saved`,savedDescription:`Email is now sent through these settings. Send a test to see it arrive.`,notSaved:`Email settings not saved`,test:`Send a test email`,testHelp:e=>`A test goes to you, at ${e}, and to nobody else.`,testAfterSave:`Save your changes before sending a test.`,testSent:`Test email sent`,testSentDescription:e=>`Look for it at ${e}. It can take a minute, and it may land in spam the first time.`,testNotSent:`Test email not sent`,stop:`Stop sending email`,stopTitle:`Stop sending email?`,stopDescription:`The saved API key is removed. Sign-in links will be printed in the server's log instead of emailed, so people can sign in only with a passkey or with help from whoever runs the server. Notices from forms stop too.`,stopConfirm:`Remove the key`,stopped:`Email is no longer sent`,stoppedDescription:`The API key was removed. Paste a new one to send email again.`},storage:{title:`Uploads`,description:`Where the images people upload in the editor are kept.`,states:{bucket:`Kept in your bucket`,folder:`Kept on the server's disk`,none:`No uploads yet`,server:`Set on the server`,code:`Set in the site's code`,host:`Handled by your host`},keepingHelp:{bucket:`Uploads are kept in the bucket below, which stays private: the site reads from it and serves the images itself.`,folder:`Uploads are kept in a folder on the server's disk. That suits a server of your own. On a host with no lasting disk, such as Vercel or Netlify, name a bucket here so uploads are not lost on the next deploy.`,none:`This site has nowhere to keep uploads, so people can only choose from the images it came with. Name a bucket here to take uploads.`},fixed:{server:`This site's uploads are set up on the server, with the VELOCITY_CMS_S3_ settings. They win over anything saved here. To choose the bucket in the editor instead, remove them from the server.`,code:`This site's code decides where uploads are kept, so there is nothing to set up here.`,host:`Your host keeps this site's uploads, so there is nothing to set up here.`},endpoint:`Service address`,endpointHelp:`Any service that speaks the S3 protocol. Cloudflare R2: https://<account id>.r2.cloudflarestorage.com. Amazon S3: https://s3.<region>.amazonaws.com.`,bucket:`Bucket name`,region:`Region`,regionHelp:`Leave this empty for Cloudflare R2. For Amazon S3, give the region the bucket is in, such as eu-west-1.`,accessKeyId:`Access key ID`,accessKeyIdHelp:`From a key that may read, write and delete in this bucket, and nothing else.`,secret:`Secret access key`,secretHelp:`It is kept encrypted and never shown again once it is saved.`,secretSaved:`A secret key is saved. It is kept encrypted and is not shown again.`,secretReplace:`Replace the secret key`,secretKeep:`Keep the saved secret key`,save:`Save storage settings`,saved:`Storage settings saved`,savedDescription:`New uploads go to this bucket. Test it to see that the keys work.`,notSaved:`Storage settings not saved`,test:`Test the bucket`,testAfterSave:`Save your changes before testing the bucket.`,testWorked:`The bucket works`,testWorkedDescription:`A small file was kept there, read back and removed.`,testFailed:`The bucket could not be used`,moveHelp:`Images uploaded so far are not moved. Ones on the server's disk keep showing from there; ones in another bucket need copying to the new one.`,stop:`Stop using this bucket`,stopTitle:`Stop using this bucket?`,stopDescription:`The saved secret key is removed. Images kept in the bucket stop showing on the site until it is connected again, and new uploads go to the server's disk, if it has one.`,stopConfirm:`Remove the secret key`,stopped:`The bucket is no longer used`,stoppedDescription:`The secret key was removed. Paste one to use the bucket again.`},forms:{title:`Spam check`,description:`Ask whoever sends a form to pass Cloudflare Turnstile, a check that they are a person. Most people never see it.`,states:{checking:`Checking senders`,off:`No spam check`},help:{checking:`Every form on the site shows the check. What is sent without passing it is kept under Spam, never lost. Someone whose browser runs no scripts cannot pass, so look at Spam now and then.`,off:`Forms already catch simple bots with a hidden field and a timer. To add Turnstile, make a widget for this site's domain in the Cloudflare dashboard, under Turnstile, and paste its two keys here. It is free.`},siteKey:`Site key`,siteKeyHelp:`The public one. It is part of every page that has a form.`,secret:`Secret key`,secretHelp:`It is kept encrypted and never shown again once it is saved.`,secretSaved:`A secret key is saved. It is kept encrypted and is not shown again.`,secretReplace:`Replace the secret key`,secretKeep:`Keep the saved secret key`,save:`Save spam check`,saved:`Spam check saved`,savedDescription:`Forms now show the check. Check the keys to see that Cloudflare knows them.`,notSaved:`Spam check not saved`,test:`Check the keys`,testAfterSave:`Save your changes before checking the keys.`,testHelp:`Checking asks Cloudflare whether it knows the secret key. To see the site key work, open a page with a form.`,testWorked:`Cloudflare knows the secret key`,testWorkedDescription:`Open a page with a form to see the check appear.`,testFailed:`The keys could not be checked`,stop:`Stop checking`,stopTitle:`Stop checking senders?`,stopDescription:`Both keys are removed and forms no longer show the check. The hidden field, the timer and the limit below still stand.`,stopConfirm:`Remove the keys`,stopped:`Senders are no longer checked`,stoppedDescription:`Both keys were removed. Paste them again to bring the check back.`,limitTitle:`Limit`,limitDescription:`How much one visitor can send before the forms ask them to wait.`,limit:`Messages from one address in ten minutes`,limitHelp:e=>`From 1 to ${e}. The CMS comes with 8. Raise it for an office where many people share one connection.`,limitSave:`Save limit`,limitSaved:`Limit saved`,limitSavedDescription:e=>e===1?`Forms take 1 message from one address in ten minutes.`:`Forms take ${e} messages from one address in ten minutes.`,limitNotSaved:`Limit not saved`},tokens:{title:`Access tokens`,description:`Let an AI agent or a script work with this site's content: Claude, ChatGPT, Cursor, or the velocity-cms command. A token acts through the same rules as a person.`,make:`Make a token`,empty:`No tokens yet`,emptyDescription:`Make one to connect an AI agent to this site. What it writes is a draft until someone publishes it, unless you allow it to publish.`,columnName:`Name`,columnMay:`May`,columnEnds:`Ends`,columnActions:`Take away`,hint:e=>`Ends in …${e}`,madeBy:e=>`Made by ${e}`,madeOnServer:`Made from the command line`,lastUsed:e=>`Last used ${e}`,neverUsed:`Not used yet`,roles:{owner:`Owner`,editor:`Writes and edits`,author:`Writes drafts`},publishes:`Publishes`,drafts:`Drafts only`,personal:`Contacts and forms`,revoke:e=>`Take away ${e}`,revokeTitle:e=>`Take away ${e}?`,revokeDescription:`Whatever uses it is refused from its next request. What it wrote stays.`,revokeConfirm:`Take it away`,revoked:e=>`${e} was taken away`,notRevoked:`Not taken away`,makeTitle:`Make an access token`,name:`What it is for`,nameHelp:`So you know it later, such as "Claude on my laptop".`,role:`What it may do`,roleMeans:{owner:``,editor:`Writes and edits every kind of content, and manages forms.`,author:`Writes and edits content, and nothing else.`},publish:`May publish`,publishHelp:`Left off, everything it writes waits as a draft for someone to publish.`,personalData:`May read contacts, deals and what forms received`,personalDataHelp:`These are people's personal details. Allow it only for an agent you trust with them.`,days:`Works for (days)`,daysHelp:`From 1 to 365. Make a new one when it ends.`,makeSend:`Make token`,made:`Token made`,notMade:`Token not made`,shownTitle:`Copy your token now`,shownDescription:`It is not shown again. Keep it like a password: whoever has it can do what it allows.`,shownField:`Token`,shownMcp:`To connect an agent, give it this site's MCP address and the token:`,mcpField:`MCP address`,mcpAddress:e=>`${e}/api/cms/mcp`,shownCommand:`Or for the velocity-cms command, put it in the site's .env as VELOCITY_CMS_TOKEN.`,done:`I have copied it`}},people:{title:`People`,description:`Everyone who can sign in to this site, and what each may do.`,invite:`Invite someone`,columnName:`Name`,columnRole:`Role`,columnActions:`Remove`,you:`You`,invitedTag:`Invited`,invitedHelp:`Has not signed in yet.`,roles:{owner:`Owner`,editor:`Editor`,author:`Author`},roleMeans:{owner:`Owners can do everything, including inviting and removing people.`,editor:`Editors write and publish content.`,author:`Authors write drafts. Someone else publishes them.`},roleOf:e=>`Role of ${e}`,roleChanged:(e,t)=>`${e}'s role is now ${t}`,roleNotChanged:`The role was not changed`,remove:e=>`Remove ${e}`,removeTitle:e=>`Remove ${e}?`,removeDescription:`They are signed out everywhere at once and can no longer sign in. What they wrote stays.`,removeConfirm:`Remove`,removed:e=>`${e} was removed`,notRemoved:`Not removed`,inviteTitle:`Invite someone`,name:`Name`,email:`Email`,emailHelp:`They sign in with a link sent to this address. There is no password.`,role:`Role`,inviteSend:`Send invitation`,invited:e=>`${e} was invited`,invitedDescription:e=>`An invitation is on its way to ${e}.`},builder:{title:`Content types`,description:`The kinds of content this site has, and the fields each one is made of.`,newType:`New content type`,columnName:`Name`,columnFields:`Fields`,columnAddress:`Address`,noAddress:`No page of its own`,fieldCount:e=>e===1?`1 field`:`${e} fields`,emptyTitle:`No content types yet`,emptyDescription:`A content type is one kind of thing the site shows, such as news, team members or testimonials.`,newTypeTitle:`New content type`,typeName:`Name`,typeNameHelp:`What its entries are, in the plural: "Testimonials".`,typeKey:`Key`,typeKeyHelp:`What the site's code calls it. It cannot be changed later.`,archive:`Archive`,archiveTitle:e=>`Archive ${e}?`,archiveDescription:`It leaves the editor, and its pages leave the site. Its fields and entries are kept, so you can restore it later from Content types.`,archiveConfirm:`Archive content type`,archived:e=>`${e} was archived`,archivedDescription:`Restore it from the list of archived content types.`,notArchived:`The content type was not archived`,archivedTitle:`Archived`,archivedHelp:`Out of the editor and off the site, with everything kept.`,archivedTypes:`Archived content types`,columnArchived:`Archived`,restoreType:e=>`Restore ${e}`,typeRestored:e=>`${e} was restored`,typeRestoredDescription:`It is back in the editor, and its published entries are back on the site.`,typeNotRestored:`The content type was not restored`,typeKind:`Kind`,kindCollection:`Many entries`,kindSingle:`One page`,kindCollectionHelp:`A collection, such as news posts or listings. It has a list, and each entry can have a page of its own.`,kindSingleHelp:`A single page, such as the home page or the contact page. It has one entry in each language.`,typeNameHelpSingle:`What the page is: "About".`,typeAddressSingle:`Address of the page`,typeAddressHelpSingle:`Where the page lives on the site, such as /about. Leave empty when it is only shown as part of other pages.`,typeAddress:`Address of its pages`,typeAddressHelp:`Where one entry lives on the site, such as /news/[slug]. Write [...slug] where pages may sit under other pages, as in /services/roofing. Leave empty when entries have no page of their own.`,typeCreate:`Create content type`,typeCreated:e=>`${e} was created`,typeCreatedDescription:`Add its fields next.`,typeNotCreated:`The content type was not created`,settings:`Settings`,settingsTitle:e=>`Settings for ${e}`,settingsSave:`Save settings`,settingsSaved:`Settings saved`,settingsNotSaved:`The settings were not saved`,keyIs:e=>`Key: ${e}`,viewEntries:`View entries`,notFoundTitle:`This content type does not exist`,notFoundDescription:`Check the address, or choose a content type from the list.`,backToTypes:`All content types`,backTo:e=>`Back to ${e}`,insideOf:(e,t)=>`The fields each ${e} of ${t} is made of.`,fieldsInside:e=>`Fields inside ${e}`,holdsFields:e=>e===1?`Holds 1 field`:`Holds ${e} fields`,sections:`Sections`,sectionsTitle:`Sections`,sectionsDescription:`The headings the editor groups this type's fields under. Removing a section removes no field: its fields move after the others.`,sectionsEmpty:`No sections. Every field is shown in one list.`,sectionAdd:`Add section`,sectionName:e=>`Name of section ${e}`,sectionAside:e=>`Show section ${e} beside the content`,sectionAsideLabel:`Beside the content`,sectionRemove:e=>`Remove section ${e}`,sectionMoveUp:e=>`Move section ${e} up`,sectionMoveDown:e=>`Move section ${e} down`,sectionsSave:`Save sections`,sectionsSaved:`Sections saved`,sectionsNotSaved:`The sections were not saved`,sectionNameNeeded:`Give every section a name.`,titleField:`Entries are called by`,titleFieldHelp:`The field whose value names an entry in lists.`,titleAutomatic:`The first text field`,listImage:`Picture in lists`,listImageHelp:`An image field shown before each entry's name.`,listImageNone:`No picture`,listColumns:`Columns in lists`,listColumnsHelp:`Fields that get a column each in the list of entries.`,crm:`Deals`,forDeals:`Deals can be about these`,forDealsHelp:`A deal can then name one of these entries as what it is about, and each entry lists the deals about it.`,fields:`Fields`,fieldsOf:e=>`Fields in ${e}`,otherFields:`Other fields`,otherFieldsDescription:`Shown after the sections.`,noFieldsTitle:`No fields yet`,noFieldsDescription:`Fields are what someone fills in for each entry: a title, a photo, a date.`,noFieldsHere:`No fields here yet.`,addField:`Add field`,columnField:`Field`,columnKind:`Kind`,columnRules:`Rules`,columnActions:`Actions`,required:`Required`,sameInEveryLanguage:`Same in every language`,moveUp:e=>`Move ${e} up`,moveDown:e=>`Move ${e} down`,edit:e=>`Edit ${e}`,remove:e=>`Remove ${e}`,notMoved:`The field was not moved`,addFieldTitle:`Add a field`,editFieldTitle:e=>`Edit ${e}`,kind:`Kind of field`,kindIs:e=>`Kind: ${e}. A field keeps its kind, so its content stays readable.`,fieldName:`Name`,fieldNameHelp:`What the editor calls this field.`,fieldKey:`Key`,fieldKeyHelp:`What the site's code calls it.`,fieldKeyHelpEdit:`What the site's code calls it. Pages that read this field need the new key if you change it. The content stays.`,fieldHelp:`Help text`,fieldHelpHelp:`A sentence under the field on what to put in it. Optional.`,fieldRequired:`Must be filled in before publishing`,fieldTranslated:`Each language has its own value`,section:`Section`,sectionHelp:`Where the editor shows this field.`,noSection:`After the sections`,fieldAdd:`Add field`,fieldSave:`Save field`,fieldAdded:e=>`${e} was added`,fieldNotAdded:`The field was not added`,fieldSaved:e=>`${e} was saved`,fieldNotSaved:`The field was not saved`,nameNeeded:`Give the field a name.`,typeNameNeeded:`Give the content type a name.`,keyNeeded:`Give it a key: lowercase letters and numbers, starting with a letter.`,settingsElsewhere:`This kind of field has settings that cannot be changed here yet. They are kept as they are.`,removeTitle:e=>`Remove ${e}?`,removeDescription:`The field disappears from the editor and the site. Its content is kept, so you can restore the field later.`,removeConfirm:`Remove field`,removed:e=>`${e} was removed`,notRemoved:`The field was not removed`,removedFields:`Removed fields`,removedFieldsDescription:`Their content is kept. Restore one to bring it back as it was.`,restore:`Restore`,restoreField:e=>`Restore ${e}`,restored:e=>`${e} was restored`,notRestored:`The field was not restored`,kinds:{text:{name:`Text`,description:`A line or a few paragraphs of plain words.`},richtext:{name:`Formatted text`,description:`Text with headings, lists, bold and links.`},number:{name:`Number`,description:`A price, a count, a measurement.`},boolean:{name:`Yes or no`,description:`A switch that is on or off.`},date:{name:`Date`,description:`A day on the calendar.`},url:{name:`Web address`,description:`A link to a page anywhere.`},email:{name:`Email address`,description:`An address to write to, such as an agent's.`},phone:{name:`Phone number`,description:`A number to call, as you would write it.`},select:{name:`Choice`,description:`One option from a list you write.`},color:{name:`Colour`,description:`A colour of the site, such as its brand colour, typed or picked.`},font:{name:`Font`,description:`One of the fonts the site's template offers, such as for headings.`},image:{name:`Image`,description:`One of the site's images, or a new upload.`},reference:{name:`Link to an entry`,description:`An entry of another content type, such as a listing's agent.`},link:{name:`Link`,description:`A page of this site, or an address anywhere. For menus and buttons.`},form:{name:`Form`,description:`One of the site's forms, for a section that shows it.`},list:{name:`List`,description:`Several of the same thing, in order: photos, features.`},group:{name:`Group`,description:`Several fields kept together, such as an address.`},blocks:{name:`Sections`,description:`The sections of a page, in order, each one a block the site's template provides.`}},textMultiline:`Several lines`,textMaxLength:`Longest text allowed`,textMaxLengthHelp:`In characters. Leave empty for no limit.`,richTextFormats:`What the text can have`,richTextFormatsHelp:`Paragraphs always. Untick what the page has no room for: the editor stops offering it, and anything pasted becomes plain paragraphs.`,richTextFormat:{bold:`Bold`,italic:`Italics`,code:`Code`,link:`Links`,headings:`Headings`,lists:`Lists`,quotes:`Quotes`},numberMin:`Smallest number allowed`,numberMax:`Largest number allowed`,numberInteger:`Whole numbers only`,choices:`Options`,choicesHelp:`One per line. Entries store the option exactly as written here.`,choicesNeeded:`Write at least one option.`,referenceTo:`Links to entries of`,referenceNeeded:`Choose which content type it links to.`,listOf:`Each item is`,listOfHelp:`What the list holds. It cannot be changed once the field exists.`,listOfNeeded:`Choose what each item is.`},home:{greeting:{morning:e=>`Good morning, ${e}`,afternoon:e=>`Good afternoon, ${e}`,evening:e=>`Good evening, ${e}`},description:e=>`Here is where ${e} stands.`,headline:(e,t)=>t===0?`${e}. Everything is published.`:`${e}. ${t===1?`1 draft is`:`${t} drafts are`} waiting.`,siteWindowTitle:e=>`The home page of ${e}, as visitors see it`,editHomeShort:`Edit this page`,openSite:`Open the site`,publishedWhen:e=>`Published ${e}`,carryOn:e=>`Continue “${e}”`,asideLabel:`What came in`,byTypeTitle:`Content by type`,byTypeHelp:`How many entries each kind of content has.`,byTypeEmpty:`No entries yet.`,submissionsTitle:`Submissions`,submissionsHelp:e=>e===1?`1 in the last 14 days, spam left out`:`${e} in the last 14 days, spam left out`,submissionsOn:(e,t)=>`${e}: ${t===1?`1 submission`:`${t} submissions`}`,inboxTitle:`Inbox`,inboxNew:e=>`${e} new from your forms`,inboxEmpty:`Nothing new. Everything sent through your forms has been seen.`,allForms:`All forms`,pipelineTitle:`Pipeline`,pipelineDetail:(e,t)=>`${e} in open deals · ${t} forecast`,published:`Published`,publishedDetail:`On the site now`,drafts:`Drafts`,draftsDetail:`Not on the site yet`,changed:`Unpublished changes`,changedDetail:`Saved, waiting to be published`,editHome:`Edit the home page`,viewSite:`View the site`,recentTitle:`Recent changes`,recentEmpty:`Nothing has been written yet`,recentEmptyDescription:`Entries appear here as soon as someone saves one.`,columnType:`Type`,followUpsTitle:`Follow-ups`,followUpsHelp:`Contacts you look after that are due today or overdue.`,followUpsMore:e=>e===1?`1 more in Contacts`:`${e} more in Contacts`,allContacts:`All contacts`},status:{draft:`Draft`,scheduled:`Scheduled`,published:`Published`,unpublishedChanges:`Unpublished changes`}},E6=(0,x.createContext)({messages:T6,locale:`en`});function D6({messages:e=T6,locale:t=`en`,children:n}){return(0,S.jsx)(E6,{value:{messages:e,locale:t},children:n})}function Q(){return(0,x.useContext)(E6).messages}function O6(){return(0,x.useContext)(E6).locale}function k6(){return new m_(`field control`)}var A6=(0,x.createContext)(null);function j6({controls:e,children:t}){return(0,S.jsx)(A6,{value:e,children:t})}function M6(){let e=(0,x.useContext)(A6);if(!e)throw Error(`useFieldControls() was called outside <AdminApp>. Render the screen inside it.`);return e}function N6(e){let[t,n]=(0,x.useState)(!0);return{close:()=>n(!1),dialog:{isOpen:t,onOpenChange:n,onClosed:e}}}function P6(e){let[t,n]=(0,x.useState)(e);return e!==null&&e!==t&&n(e),e??t}var F6={"align-left":kx,"badge-check":fee,blocks:Sv,"building-2":wv,"calendar-days":Dv,"chart-no-axes-column":mee,"circle-help":Wv,"columns-2":Kv,"columns-3":Jv,contact:Xv,"gallery-horizontal":gy,hash:Sy,heading:Jy,house:wy,image:Oy,images:Ay,"layout-grid":Hy,"layout-list":Wy,"layout-template":Ky,list:ib,"list-checks":Xy,mail:_ee,"map-pin":db,megaphone:yee,"message-circle":gb,"message-square-quote":xee,"mouse-pointer-click":Tee,newspaper:Eee,"panel-top":jb,phone:zb,play:Vb,quote:Yb,"rows-3":rx,sparkles:Oee,star:kee,table:Aee,tag:Dx,text:kx,type:Mee,users:Ux};function I6(e){return(e===void 0?void 0:F6[e])??Sv}var L6=e=>typeof e==`object`&&!!e&&typeof e.id==`string`&&typeof e.block==`string`;function R6(e,t,n,r){let i={};for(let a of f_([...e])){let e=n[a.id];if(e===void 0)continue;let o=f_([...t]).find(e=>e.key===a.key&&e.type===a.type);if(!o)return;let s=r(a.type)?.carried,c=s?s(a,o,e,r):e;if(c===void 0)return;i[o.id]=c}return i}function z6(e,t,n,r){let i=e.find(e=>e.id===n.block),a=i&&t.find(e=>e.key===i.key&&e.retiredAt===void 0);if(!i||!a)return;if(a.id===i.id)return n;let o=R6(i.fields,a.fields,n.data,r);return o&&{...n,block:a.id,data:o}}var B6=e=>Array.isArray(e.options.fields)?e.options.fields:[],V6=e=>Array.isArray(e.options.blocks)?e.options.blocks:[],H6=(e,t,n,r)=>typeof n==`object`&&n?R6(B6(e),B6(t),n,r):n,U6=(e,t,n,r)=>{if(!Array.isArray(n))return n;let i=e=>{let t=e.options.of??{type:`text`};return{...e,type:t.type,options:t.options??{}}},a=r(i(e).type)?.carried;if(!a||i(e).type!==i(t).type)return i(e).type===i(t).type?n:void 0;let o=n.map(n=>a(i(e),i(t),n,r));return o.includes(void 0)?void 0:o},W6=(e,t,n,r)=>{if(!Array.isArray(n))return n;let i=n.map(n=>L6(n)?z6(V6(e),V6(t),n,r):void 0);return i.includes(void 0)?void 0:i};function G6({field:e,value:t,onChange:n,path:r,problems:i,isLabelHidden:a=!1}){let o=Q(),s=O6(),c=M6(),l=ns(),u=Z(e.label,s),d=l.data?.find(t=>t.type===e.type)?.editor;if(d===void 0||!c.has(d))return(0,S.jsx)(OQ,{legend:u,description:o.editor.unsupportedField});let{Component:f}=c.get(d),p=e.help?Z(e.help,s):void 0;return(0,S.jsx)(f,{field:e,label:u,help:p,isLabelHidden:a,value:t,onChange:n,path:r,problem:i.get(r),problems:i})}var K6=(0,x.createContext)(3);function q6({fields:e,values:t,onChange:n,pathOf:r,problems:i,perRow:a,spotlight:o}){let s=(0,x.useContext)(K6),c=a??s,l=M6(),u=ns(),d=e=>{let t=u.data?.find(t=>t.type===e.type)?.editor;return t!==void 0&&l.has(t)&&l.get(t).width===`compact`},f=[];for(let t of e){let e=f.at(-1),[n]=e??[];e&&n&&d(t)&&d(n)&&e.length<c?e.push(t):f.push([t])}let p=e=>(0,S.jsx)(G6,{field:e,value:t[e.id],onChange:t=>n(e,t),path:r(e),problems:i},e.id),m=e=>o===void 0?p(e):(0,S.jsx)(G$,{at:o.key===e.key?o.at:void 0,children:p(e)},e.id);return(0,S.jsx)(K6,{value:c,children:(0,S.jsx)(J,{gap:5,children:f.map(e=>{let[t]=e;return t?d(t)&&c>1?(0,S.jsx)(PQ,{columns:c,gap:4,children:e.map(m)},t.id):m(t):null})})})}function J6(){let e=M6(),t=ns();return n=>{let r=t.data?.find(e=>e.type===n)?.editor;return r!==void 0&&e.has(r)?e.get(r):void 0}}function Y6({field:e,value:t}){let n=J6()(e.type);return t==null||t===``?null:n?.Summary?(0,S.jsx)(n.Summary,{field:e,value:t}):typeof t!=`string`&&typeof t!=`number`?null:(0,S.jsx)(Y,{size:`sm`,children:String(t)})}var X6={},Z6=(0,x.createContext)(null);function Q6({children:e}){let[t,n]=(0,x.useState)(void 0),[r,i]=(0,x.useState)(void 0),[a,o]=(0,x.useState)(0),[s,c]=(0,x.useState)(X6),l=(0,x.useRef)(new Set),[u,d]=(0,x.useState)(void 0),f=(0,x.useRef)(new Set),p=(0,x.useRef)(new Set),m=(0,x.useRef)(new Set),h=(0,x.useRef)(new Set),g=(0,x.useRef)(new Set),_=(0,x.useRef)(new Set),v=(0,x.useRef)(new Set),y=(0,x.useMemo)(()=>({pressed:t,press:(e,t)=>n(n=>({id:e,...t!==void 0&&{field:t},at:(n?.at??0)+1})),opened:r,openedAt:a,open:e=>{i(e),o(e=>e+1)},typable:s,setTypable:e=>c(t=>JSON.stringify(t)===JSON.stringify(e)?t:e),typed:(e,t,n)=>l.current.forEach(r=>r(e,t,n)),onTyped:e=>(l.current.add(e),()=>void l.current.delete(e)),tools:u,setTools:e=>d(t=>JSON.stringify(t)===JSON.stringify(e)?t:e),acted:(e,t)=>f.current.forEach(n=>n(e,t)),onActed:e=>(f.current.add(e),()=>void f.current.delete(e)),dragged:(e,t,n)=>p.current.forEach(r=>r(e,t,n)),onDragged:e=>(p.current.add(e),()=>void p.current.delete(e)),pictured:(e,t)=>m.current.forEach(n=>n(e,t)),onPictured:e=>(m.current.add(e),()=>void m.current.delete(e)),linked:(e,t)=>h.current.forEach(n=>n(e,t)),onLinked:e=>(h.current.add(e),()=>void h.current.delete(e)),itemActed:(e,t,n,r)=>g.current.forEach(i=>i(e,t,n,r)),onItemActed:e=>(g.current.add(e),()=>void g.current.delete(e)),swatched:(e,t,n)=>_.current.forEach(r=>r(e,t,n)),onSwatched:e=>(_.current.add(e),()=>void _.current.delete(e)),slotted:(e,t)=>v.current.forEach(n=>n(e,t)),onSlotted:e=>(v.current.add(e),()=>void v.current.delete(e))}),[t,r,a,s,u]);return(0,S.jsx)(Z6,{value:y,children:e})}function $6(){return(0,x.useContext)(Z6)}var e8=()=>()=>void 0;function t8({children:e}){let t=(0,x.useContext)(Z6),n=(0,x.useMemo)(()=>t&&{...t,setTypable:()=>void 0,setTools:()=>void 0,onTyped:e8,onActed:e8,onDragged:e8,onPictured:e8,onLinked:e8,onItemActed:e8,onSwatched:e8,onSlotted:e8,isInside:!0},[t]);return(0,S.jsx)(Z6,{value:n,children:e})}var n8=.86,r8=(e,t)=>`${e.replace(/\.[^.]*$/,``)}.${t}`;function i8(e,t,n){let r=document.createElement(`canvas`);r.width=Math.max(1,Math.round(e.width*t)),r.height=Math.max(1,Math.round(e.height*t));let i=r.getContext(`2d`);return i?(n===`image/jpeg`&&(i.fillStyle=`#fff`,i.fillRect(0,0,r.width,r.height)),i.drawImage(e,0,0,r.width,r.height),new Promise(e=>r.toBlob(e,n,n8))):Promise.resolve(null)}async function a8(e,t){let n=new Uint8Array(await e.arrayBuffer()),r={fileName:e.name,bytes:n},i=z_(n);if(i!==null&&Math.max(i.width,i.height)<=2560&&n.length<=t||typeof createImageBitmap!=`function`)return r;let a=await createImageBitmap(e).catch(()=>null);if(!a)return r;try{let t=Math.min(1,B_/Math.max(a.width,a.height)),n=i?.contentType===`image/png`?`image/png`:`image/jpeg`,o=await i8(a,t,n);return o?{fileName:r8(e.name,n===`image/png`?`png`:`jpg`),bytes:new Uint8Array(await o.arrayBuffer())}:r}finally{a.close()}}var o8=e=>e.thumbnail??e.url,s8=e=>String(Math.round(e/1e5)/10);function c8({label:e,isLabelHidden:t=!1,help:n,problem:r,isRequired:i=!1,value:a,onChange:o,window:s}){let c=Q(),l=rs(),u=is().data??null,d=os(),[f,p]=(0,x.useState)(!1),m=async e=>{p(!1),d.reset();let t=await a8(e,u?.maxBytes??0).catch(()=>null);if(!t)throw p(!0),Error(c.editor.imageNotRead);o((await d.mutateAsync(t)).name),X({title:c.editor.imageUploaded,description:c.editor.imageUploadedDescription,tone:`success`})},h=f?c.editor.imageNotRead:d.error?.message,g=typeof a==`string`&&a!==``?a:null,_=g!==null&&l.isSuccess&&!l.data.some(e=>e.name===g),v=r??(l.isError?c.editor.imagesNotLoaded:_?c.editor.imageMissing:void 0);return(0,S.jsx)(G2,{label:e,isLabelHidden:t,value:g,images:(l.data??[]).map(e=>({...e,url:o8(e)})),onChange:o,isRequired:i,chooseLabel:c.editor.imageChoose,changeLabel:c.editor.imageChange,noneText:c.editor.imageNone,dialogTitle:c.editor.imageChoose,closeLabel:c.editor.close,emptyText:l.isPending?c.editor.imagesLoading:c.editor.imagesEmpty,...u&&{onUpload:m,uploadLabel:c.editor.imageUpload,uploadHint:c.editor.imageUploadHint(s8(u.maxBytes))},...h!==void 0&&{uploadError:h},...n!==void 0&&{description:n},...v!==void 0&&{errorMessage:v},...s!==void 0&&{window:s}})}var l8=e=>typeof e==`object`&&!!e&&typeof e.id==`string`&&typeof e.block==`string`;function u8(e,t,n){for(let r of f_(e.fields)){let e=t.data[r.id];if(typeof e==`string`&&e.trim()!==``&&n(r))return e}}var d8=e=>Array.isArray(e.options.blocks)?e.options.blocks:[],f8=e=>typeof e.options.max==`number`?e.options.max:void 0,p8=e=>e.max!==void 0&&e.sections.length>=e.max,m8=(e,t,n)=>e.to(e.sections.map(e=>e.id===t?{...e,data:n}:e));function h8(e,t){return[e,...e.sections.flatMap((n,r)=>{let i=b8(e.blocks,n);return!i||i.retiredAt!==void 0?[]:f_(i.fields).flatMap(i=>(t(i.type)?.sections?.(i,n.data[i.id],t)??[]).flatMap(a=>{let o=a.place===``?i.key:`${i.key}.${a.place}`;return h8({key:`${n.id}:${o}`,group:d8(a.field).filter(e=>e.retiredAt===void 0).map(e=>e.key).sort().join(`|`),blocks:d8(a.field),sections:a.sections.filter(l8),max:f8(a.field),path:`${e.path}.${r}.${o}`,inside:[...e.inside,n.id],to:t=>m8(e,n.id,d6(n.data,i.id,a.put(t)))},t)}))})]}function g8(e,t){for(let n of e){let e=n.sections.findIndex(e=>e.id===t),r=n.sections[e];if(r)return{list:n,at:e,section:r}}}function _8(e){if(Array.isArray(e))return e.map(e=>_8(e));if(typeof e!=`object`||!e)return e;let t=Object.fromEntries(Object.entries(e).map(([e,t])=>[e,_8(t)]));return l8(e)?{...t,id:crypto.randomUUID()}:t}function v8(e,t,n,r){let i=b8(e.blocks,t);return!i||i.retiredAt!==void 0?[]:f_(i.fields).flatMap(e=>{let i=r(e.type);return((i&&n(i,e,t.data[e.id]))??[]).map(n=>({...n,place:n.place===``?e.key:`${e.key}.${n.place}`,put:r=>d6(t.data,e.id,n.put(r))}))})}function y8({field:e,label:t,help:n,value:r,onChange:i,path:a,problem:o,problems:s}){let c=Q(),l=O6(),u=d8(e),d=Array.isArray(r)?r.filter(l8):[],f=f8(e),[p,m]=(0,x.useState)([]),[h,g]=(0,x.useState)(!1),[_,v]=(0,x.useState)({key:``,at:null}),[y,b]=(0,x.useState)(null),[C,w]=(0,x.useState)(null),[T,E]=(0,x.useState)(null),[D,O]=(0,x.useState)(null),k=J6(),A=$6(),j=A?.pressed,M=A?.opened,ee=e=>i(e.length===0?void 0:e),N=e=>h8({key:``,group:``,blocks:u,sections:e,max:f,path:a,inside:[],to:e=>e},k),P=N(d),te=P[0],F=(e,t)=>v8(e,t,(e,t,n)=>e.words?.(t,n,k),k),ne=(e,t)=>v8(e,t,(e,t,n)=>e.pictures?.(t,n,k),k),re=(e,t)=>v8(e,t,(e,t,n)=>e.links?.(t,n,k),k),ie=(e,t)=>v8(e,t,(e,t,n)=>e.lists?.(t,n,k),k),ae=(e,t)=>v8(e,t,(e,t,n)=>e.swatches?.(t,n,k),k),oe=(0,x.useRef)({sections:d,lists:P,listsOf:N,change:ee,wordsOf:F,itemsOf:ie,swatchesOf:ae});(0,x.useEffect)(()=>{oe.current={sections:d,lists:P,listsOf:N,change:ee,wordsOf:F,itemsOf:ie,swatchesOf:ae}});let se=e=>{m(t=>t.includes(e)?t:[...t,e]),A?.open(e)},ce=e=>{let t=[...g8(oe.current.lists,e)?.list.inside??[],e];m(e=>t.every(t=>e.includes(t))?e:[...new Set([...e,...t])])};(0,x.useEffect)(()=>{if(!j)return;ce(j.id);let[e]=j.field?.split(`.`)??[];O(e===void 0?null:{section:j.id,key:e,at:j.at})},[j]),(0,x.useEffect)(()=>{M!==void 0&&ce(M)},[M]);let le=A?.isInside===!0,ue=le?{}:Object.fromEntries(P.flatMap(e=>e.sections.map(t=>[t.id,F(e,t).map(({place:e})=>e)]))),de=JSON.stringify(ue),fe=A?.setTypable;(0,x.useEffect)(()=>fe?.(JSON.parse(de)),[fe,de]);let pe=A?.onTyped;(0,x.useEffect)(()=>pe?.((e,t,n)=>{let r=oe.current,i=g8(r.lists,e),a=i&&r.wordsOf(i.list,i.section).find(e=>e.place===t);if(!i||!a)return;let o=m8(i.list,e,a.put(n));oe.current={...r,sections:o,lists:r.listsOf(o)},r.change(o)}),[pe]);let me=e=>e?Z(e.label,l):c.editor.sectionUnknown,I=le?void 0:{labels:{up:c.editor.pageMoveUp,down:c.editor.pageMoveDown,duplicate:c.editor.pageDuplicate,remove:c.editor.pageRemove,add:c.editor.pageAdd,reorder:c.editor.pageReorder,done:c.editor.pageReorderDone,addBefore:c.editor.pageAddBefore,addAfter:c.editor.pageAddAfter,picture:c.editor.pagePicture,link:c.editor.pageLink,bold:c.editor.richText.bold,italic:c.editor.richText.italic,textLink:c.editor.richText.link,itemUp:c.editor.pageItemUp,itemDown:c.editor.pageItemDown,itemDuplicate:c.editor.pageItemDuplicate,itemRemove:c.editor.pageItemRemove},sections:Object.fromEntries(P.flatMap(e=>e.sections.map((t,n)=>[t.id,{name:me(b8(e.blocks,t)),up:n>0,down:n<e.sections.length-1,copy:!p8(e),add:!p8(e),pictures:ne(e,t).map(({place:e})=>e),links:re(e,t).map(({place:e})=>e),lists:ie(e,t).map(e=>({field:e.place,count:e.items.length,full:e.isFull})),swatches:ae(e,t).map(e=>({field:e.place,name:Z(e.field.label,l),...e.chosen!==void 0&&{chosen:e.chosen},choices:e.choices.map(e=>({value:e.value,name:e.name(l),colour:e.colour}))})),list:e.key,group:e.group}]))),slots:Object.fromEntries(P.slice(1).map(e=>[e.key,{group:e.group,empty:e.sections.length===0,full:p8(e)}]))},he=JSON.stringify(I),ge=A?.setTools;(0,x.useEffect)(()=>{he!==void 0&&ge?.(JSON.parse(he))},[ge,he]);let _e=e=>{let t=g8(P,e);t&&ee(t.list.to(t.list.sections.filter(t=>t.id!==e))),m(t=>t.filter(t=>t!==e))},ve=(e,t)=>{let n=g8(oe.current.lists,e);if(!n)return;let{list:r,at:i,section:a}=n;if(t===`duplicate`){if(p8(r))return;let e=_8(a);ee(r.to([...r.sections.slice(0,i+1),e,...r.sections.slice(i+1)])),se(e.id)}else t===`hide`?ee(r.to(r.sections.map(t=>t.id===e?{...t,hidden:!0}:t))):t===`show`?ee(r.to(r.sections.map(t=>t.id===e?{id:t.id,block:t.block,data:t.data}:t))):t===`remove`&&(Object.keys(a.data).length===0?_e(e):b(e))},ye=(e,t,n)=>{let r=[...e.sections],[i]=r.splice(t,1);i&&r.splice(n,0,i),ee(e.to(r))},be=(0,x.useRef)({act:ve,moveIn:ye});(0,x.useEffect)(()=>{be.current={act:ve,moveIn:ye}});let xe=A?.onActed,Se=A?.open;(0,x.useEffect)(()=>xe?.((e,t)=>{let n=g8(oe.current.lists,e);if(!n)return;let{list:r,at:i}=n;if(t===`up`||t===`down`){let n=t===`up`?i-1:i+1;if(n<0||n>=r.sections.length)return;be.current.moveIn(r,i,n),Se?.(e)}else if(t===`addBefore`||t===`addAfter`){if(p8(r))return;v({key:r.key,at:t===`addBefore`?i:i+1}),g(!0)}else be.current.act(e,t)}),[xe,Se]);let Ce=A?.onSlotted;(0,x.useEffect)(()=>Ce?.((e,t)=>{let n=oe.current.lists.find(n=>n.key===`${e}:${t}`);n&&!p8(n)&&(v({key:n.key,at:null}),g(!0))}),[Ce]);let we=A?.onSwatched;(0,x.useEffect)(()=>we?.((e,t,n)=>{let r=oe.current,i=g8(r.lists,e),a=i&&r.swatchesOf(i.list,i.section).find(e=>e.place===t);i&&a&&a.chosen!==n&&a.choices.some(e=>e.value===n)&&r.change(m8(i.list,e,a.put(n)))}),[we]);let Te=A?.onPictured;(0,x.useEffect)(()=>Te?.((e,t)=>w({section:e,place:t})),[Te]);let Ee=P6(C),De=Ee?g8(P,Ee.section):void 0,Oe=De&&ne(De.list,De.section).find(e=>e.place===Ee?.place),ke=A?.onItemActed;(0,x.useEffect)(()=>ke?.((e,t,n,r)=>{let i=oe.current,a=g8(i.lists,e),o=a&&i.itemsOf(a.list,a.section).find(e=>e.place===t),s=o?.items[n];if(!a||!o||n<0||n>=o.items.length)return;let c=[...o.items];if(r===`remove`)c.splice(n,1);else if(r===`duplicate`){if(o.isFull)return;c.splice(n+1,0,_8(s))}else{let e=r===`up`?n-1:n+1;if(e<0||e>=c.length)return;c.splice(n,1),c.splice(e,0,s)}i.change(m8(a.list,e,o.put(c)))}),[ke]);let Ae=A?.onLinked;(0,x.useEffect)(()=>Ae?.((e,t)=>E({section:e,place:t})),[Ae]);let je=P6(T),Me=je?g8(P,je.section):void 0,Ne=Me&&re(Me.list,Me.section).find(e=>e.place===je?.place),Pe=A?.onDragged;(0,x.useEffect)(()=>Pe?.((e,t,n)=>{let r=oe.current,i=g8(r.lists,e);if(!i)return;let a=i.list;if(n===void 0||n===a.key){let e=t===null?a.sections.length:a.sections.findIndex(e=>e.id===t);if(e<0)return;let n=e>i.at?e-1:e;if(n===i.at)return;be.current.moveIn(a,i.at,n)}else{let o=r.lists.find(e=>e.key===n);if(!o||o.group!==a.group||p8(o)||o.inside.includes(e))return;let s=a.to(a.sections.filter(t=>t.id!==e)),c=r.listsOf(s).find(e=>e.key===n);if(!c)return;let l=t===null?c.sections.length:c.sections.findIndex(e=>e.id===t);if(l<0)return;let u=z6(a.blocks,c.blocks,i.section,k);if(!u)return;r.change(c.to([...c.sections.slice(0,l),u,...c.sections.slice(l)]))}Se?.(e)}),[Pe,Se]);let Fe=P.find(e=>e.key===_.key)??te,Ie=new Map;for(let e of Fe?.blocks??[]){if(e.retiredAt!==void 0)continue;let t=e.group??c.editor.sectionOtherGroup,n=Ie.get(t)??[];n.push({id:e.id,label:Z(e.label,l),icon:I6(e.icon),...e.description!==void 0&&{description:Z(e.description,l)},...e.thumbnail!==void 0&&{image:e.thumbnail}}),Ie.set(t,n)}let Le=[...Ie].map(([e,t])=>({id:e,label:e,options:t})),Re=y===null?void 0:g8(P,y),ze=P6(Re?me(b8(Re.list.blocks,Re.section)):null);return(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(G4,{label:t,...n!==void 0&&{description:n},...o!==void 0&&{errorMessage:o},emptyText:c.editor.sectionsEmpty,addLabel:c.editor.sectionAdd,onAdd:()=>{v({key:``,at:null}),g(!0)},isFull:te!==void 0&&p8(te),openIds:p,revealId:j?.id,onOpenChange:(e,t)=>{O(null),t?se(e):m(t=>t.filter(t=>t!==e))},onMove:(e,t)=>{te&&ye(te,e,t)},onAction:ve,moveUpLabel:e=>c.editor.sectionMoveUp(me(b8(u,d[e-1])),e),moveDownLabel:e=>c.editor.sectionMoveDown(me(b8(u,d[e-1])),e),moreLabel:e=>c.editor.sectionMore(me(b8(u,d[e-1])),e),dragLabel:e=>c.editor.sectionDrag(me(b8(u,d[e-1])),e),items:d.map((e,t)=>{let n=b8(u,e),r=n===void 0||n.retiredAt!==void 0,i=n?f_(n.fields):[],o=`${a}.${t}.`,l=[...s.keys()].filter(e=>e.startsWith(o)).length,p=n?u8(n,e,e=>k(e.type)?.width!==`compact`&&k(e.type)?.pictures===void 0):void 0,m=e.hidden===!0;return{id:e.id,title:me(n),icon:I6(n?.icon),...p!==void 0&&{summary:p},...r?{tag:c.editor.sectionRetired}:m&&{tag:c.editor.sectionHidden},...l>0&&{problem:c.editor.sectionProblems(l)},actions:[...r?[]:[{id:`duplicate`,label:c.editor.sectionDuplicate,icon:Qv,isDisabled:f!==void 0&&d.length>=f},m?{id:`show`,label:c.editor.sectionShow,icon:cy}:{id:`hide`,label:c.editor.sectionHide,icon:oy}],{id:`remove`,label:c.editor.sectionRemove,icon:jx,tone:`danger`}],content:r?(0,S.jsx)(Y,{size:`sm`,tone:`muted`,children:c.editor.sectionRetiredNote}):i.length===0?(0,S.jsx)(Y,{size:`sm`,tone:`muted`,children:c.editor.sectionNoFields}):(0,S.jsx)(t8,{children:(0,S.jsx)(q6,{fields:i,values:e.data,onChange:(t,n)=>ee(d.map(r=>r.id===e.id?{...r,data:d6(r.data,t.id,n)}:r)),pathOf:e=>`${o}${e.key}`,problems:s,spotlight:D?.section===e.id?D:{}})})}})}),(0,S.jsx)(d4,{isOpen:h,onOpenChange:g,title:c.editor.sectionPickerTitle,closeLabel:c.editor.close,emptyText:c.editor.sectionPickerEmpty,groups:Le,onChoose:e=>{let t={id:crypto.randomUUID(),block:e,data:{}};if(!Fe)return;let n=_.at??Fe.sections.length;ee(Fe.to([...Fe.sections.slice(0,n),t,...Fe.sections.slice(n)])),se(t.id)}}),De&&Oe&&(0,S.jsx)(c8,{label:c.editor.pagePicture,value:Oe.name,onChange:e=>ee(m8(De.list,De.section.id,Oe.put(e))),window:{isOpen:C!==null,onOpenChange:e=>{e||w(null)}}}),Me&&Ne&&(0,S.jsx)(wQ,{isOpen:T!==null,onOpenChange:e=>{e||E(null)},title:c.editor.pageLink,closeLabel:c.editor.close,footer:(0,S.jsx)(q,{variant:`primary`,onPress:()=>E(null),children:c.editor.pageLinkDone}),children:(0,S.jsx)(q6,{fields:[Ne.field],values:{[Ne.field.id]:Ne.link},onChange:(e,t)=>ee(m8(Me.list,Me.section.id,Ne.put(t))),pathOf:()=>`${Me.list.path}.${Me.at}.${Ne.place}`,problems:s,perRow:1})}),(0,S.jsx)(r2,{isOpen:y!==null,onOpenChange:e=>{e||b(null)},title:c.editor.sectionRemoveTitle(ze??c.editor.sectionUnknown),confirmLabel:c.editor.sectionRemoveConfirm,cancelLabel:c.editor.cancel,tone:`danger`,onConfirm:()=>{y!==null&&_e(y),b(null)},children:c.editor.sectionRemoveDescription})]})}function b8(e,t){return t?e.find(e=>e.id===t.block):void 0}var x8=200,S8=`:address`,C8=e=>typeof e==`object`&&!!e&&!Array.isArray(e);function w8({type:e,chosen:t,onChange:n,problem:r}){let i=Q(),a=O6(),o=$o({type:e.key,limit:x8}),s=p6(o.data?.items??[],a).map(({primary:t})=>({id:t.translationGroup,label:i6(e,t.data)??t.slug})).sort((e,t)=>e.label.localeCompare(t.label,a)),c=t!==void 0&&!s.some(e=>e.id===t),l=r??(o.isError?i.editor.linkNotLoaded:void 0);return(0,S.jsx)(M$,{label:i.editor.linkWhich(Z(e.label,a)),options:c?[{id:t,label:o.isSuccess?i.editor.linkGone:i.editor.linkLoading},...s]:s,placeholder:i.editor.choose,onChange:n,isRequired:!0,...t!==void 0&&{value:t},...l!==void 0&&{errorMessage:l}})}function T8({field:e,label:t,help:n,isLabelHidden:r=!1,value:i,onChange:a,path:o,problem:s,problems:c}){let l=Q(),u=O6(),d=Io(),f=Array.isArray(e.options.to)?e.options.to:void 0,p=(d.data??[]).filter(e=>l_(e)&&e.urlPattern!==void 0&&(f===void 0||f.includes(e.key))),m=C8(i)?i:void 0,h=m?.kind===`address`?S8:typeof m?.type==`string`?m.type:void 0,[g,_]=(0,x.useState)(h),v=h??g,y=p.find(e=>e.key===v),b=c.get(`${o}.href`)??c.get(`${o}.entry`)??c.get(`${o}.type`)??c.get(`${o}.kind`)??s,C=[...p.map(e=>({id:e.key,label:Z(e.label,u)})),{id:S8,label:l.editor.linkAddressChoice}],w=v===void 0||C.some(e=>e.id===v);return(0,S.jsxs)(PQ,{columns:2,gap:4,children:[(0,S.jsx)(M$,{label:t,isLabelHidden:r,options:w||v===void 0?C:[{id:v,label:d.isSuccess?l.editor.linkMissing(v):v},...C],placeholder:l.editor.choose,isRequired:e.required,onChange:e=>{e!==v&&(_(e),a(void 0))},...v!==void 0&&{value:v},...n!==void 0&&{description:n},...v===void 0&&b!==void 0&&{errorMessage:b}}),v===S8&&(0,S.jsx)(S1,{label:l.editor.linkAddress,description:l.editor.linkAddressHelp,value:typeof m?.href==`string`?m.href:``,onChange:e=>a(e.trim()===``?void 0:{kind:`address`,href:e.trim()}),isRequired:!0,...b!==void 0&&{errorMessage:b}}),y!==void 0&&(0,S.jsx)(w8,{type:y,chosen:typeof m?.entry==`string`?m.entry:void 0,onChange:e=>a({kind:`entry`,type:y.key,entry:e}),problem:b})]})}var E8=`velocity-cms:reloaded-for-update`,D8=()=>{try{return window.sessionStorage.getItem(E8)!==null}catch{return!1}},O8=e=>{try{e?window.sessionStorage.setItem(E8,`1`):window.sessionStorage.removeItem(E8)}catch{}};async function k8(e){try{let t=await e();return O8(!1),t}catch(t){try{let t=await e();return O8(!1),t}catch{if(D8())throw t;return O8(!0),window.location.reload(),new Promise(()=>void 0)}}}var A8=`modulepreload`,j8=function(e,t){return new URL(e,t).href},M8={},N8=function(e){return e.pathname.endsWith(`.css`)},P8=function(e,t,n){if(t in e)return e[t];let r=n();if(!r){e[t]=void 0;return}let i=r.then(()=>{e[t]=void 0},n=>{throw e[t]=void 0,n});return e[t]=i,i},F8=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e,i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?new URL(import.meta.resolve(e)):new URL(e,import.meta.url)}r=o(t.map(t=>{t=j8(t,n);let r=s(t),i=N8(r);return P8(M8,r.href,()=>{if(e===void 0){e={all:new Set,styles:new Set};let t=document.getElementsByTagName(`link`);for(let n=t.length-1;n>=0;n--){let r=t[n];e.all.add(r.href),r.rel===`stylesheet`&&e.styles.add(r.href)}}if((i?e.styles:e.all).has(r.href))return;let t=document.createElement(`link`);if(t.rel=i?`stylesheet`:A8,i||(t.as=`script`),t.crossOrigin=``,t.href=r.href,a&&t.setAttribute(`nonce`,a),document.head.appendChild(t),i)return new Promise((e,n)=>{let i=a=>{t.removeEventListener(`load`,i),t.removeEventListener(`error`,i),a.type===`error`?n(Error(`Unable to preload CSS for ${r}`)):e(a)};t.addEventListener(`load`,i),t.addEventListener(`error`,i)})})}).filter(e=>e!==void 0))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})};function I8(e,t){let n=e.options[t];return typeof n==`number`?n:void 0}function L8({field:e,label:t,help:n,isLabelHidden:r=!1,value:i,onChange:a,problem:o}){let s={label:t,isLabelHidden:r,...n!==void 0&&{description:n},value:typeof i==`string`?i:``,onChange:e=>a(e===``?void 0:e),isRequired:e.required,...o!==void 0&&{errorMessage:o}};return e.options.multiline===!0?(0,S.jsx)(T1,{...s}):(0,S.jsx)(S1,{...s})}var R8=e=>function({field:t,label:n,help:r,isLabelHidden:i=!1,value:a,onChange:o,problem:s}){return(0,S.jsx)(S1,{type:e,label:n,isLabelHidden:i,value:typeof a==`string`?a:``,onChange:e=>o(e===``?void 0:e),isRequired:t.required,...r!==void 0&&{description:r},...s!==void 0&&{errorMessage:s}})},z8=R8(`url`),B8=R8(`email`),V8=R8(`tel`);function H8({field:e,label:t,help:n,isLabelHidden:r=!1,value:i,onChange:a,problem:o}){let s=I8(e,`min`),c=I8(e,`max`);return(0,S.jsx)(d$,{label:t,isLabelHidden:r,value:typeof i==`number`?i:null,onChange:e=>a(e??void 0),width:`full`,isInteger:e.options.integer===!0,isRequired:e.required,...s!==void 0&&{minValue:s},...c!==void 0&&{maxValue:c},...n!==void 0&&{description:n},...o!==void 0&&{errorMessage:o}})}function U8({field:e,label:t,help:n,isLabelHidden:r=!1,value:i,onChange:a,problem:o}){return(0,S.jsx)(fQ,{width:`full`,label:t,isLabelHidden:r,value:typeof i==`string`?i:null,onChange:e=>a(e??void 0),isRequired:e.required,...n!==void 0&&{description:n},...o!==void 0&&{errorMessage:o}})}function W8({label:e,value:t,onChange:n}){return(0,S.jsx)(t1,{label:e,isSelected:t===!0,onChange:n})}function G8({value:e}){let t=O6();return(0,S.jsx)(Y,{size:`sm`,children:typeof e==`number`?new Intl.NumberFormat(t).format(e):String(e)})}function K8(e,t,n){let r=(e.options.labels??{})[t];return r?Z(r,n):t}function q8({field:e,value:t}){let n=O6();return(0,S.jsx)(Y,{size:`sm`,children:K8(e,String(t),n)})}function J8(e){let t=Array.isArray(e.options.choices)?e.options.choices.filter(e=>typeof e==`string`):[],n=e.options.swatches??{},r=t.flatMap(e=>dee(n[e])?[{value:e,colour:n[e]}]:[]);return r.length===t.length?r:[]}var Y8=(e,t)=>typeof t==`string`&&e.some(e=>e.value===t)?t:e[0]?.value,X8=(e,t)=>{let n=J8(e);return n.length===0?[]:[{place:``,field:e,choices:n.map(t=>({...t,name:n=>K8(e,t.value,n)})),chosen:Y8(n,t),put:e=>e}]};function Z8({field:e,label:t,help:n,isLabelHidden:r=!1,value:i,onChange:a,problem:o}){let s=Q(),c=O6(),l=Array.isArray(e.options.choices)?e.options.choices.filter(e=>typeof e==`string`):[],u=J8(e);return u.length>0?(0,S.jsx)(w$,{label:t,isLabelShown:!r,...n!==void 0&&{description:n},options:u.map(t=>({id:t.value,label:K8(e,t.value,c),swatch:t.colour})),selected:Y8(u,i)??``,onChange:a,...o!==void 0&&{errorMessage:o}}):(0,S.jsx)(M$,{label:t,isLabelHidden:r,...n!==void 0&&{description:n},options:l.map(t=>({id:t,label:K8(e,t,c)})),placeholder:s.editor.choose,onChange:a,isRequired:e.required,...typeof i==`string`&&{value:i},...o!==void 0&&{errorMessage:o}})}function Q8({field:e,label:t,help:n,isLabelHidden:r=!1,value:i,onChange:a,problem:o}){let s=Q(),c=Array.isArray(e.options.presets)?e.options.presets.filter(e=>typeof e==`string`):[];return(0,S.jsx)(sQ,{label:t,isLabelHidden:r,pickLabel:s.editor.pickColour(t),hueLabel:s.editor.hue,...c.length>0&&{presets:c,presetsLabel:s.editor.suggestedColours},...typeof i==`string`&&{value:i},onChange:a,isRequired:e.required,...n!==void 0&&{description:n},...o!==void 0&&{errorMessage:o}})}function $8({value:e}){return(0,S.jsx)(Y,{size:`sm`,children:typeof e==`string`?e.toUpperCase():``})}function e5({field:e,label:t,help:n,isLabelHidden:r=!1,value:i,onChange:a,problem:o}){let s=Q(),c=O6(),l=Array.isArray(e.options.choices)?e.options.choices.filter(e=>typeof e==`string`):[];return(0,S.jsx)(M$,{label:t,isLabelHidden:r,...n!==void 0&&{description:n},options:l.map(t=>({id:t,label:K8(e,t,c)})),placeholder:s.editor.chooseFont,onChange:a,isRequired:e.required,...typeof i==`string`&&{value:i},...o!==void 0&&{errorMessage:o}})}var t5=200;function n5({field:e,label:t,help:n,isLabelHidden:r=!1,value:i,onChange:a,problem:o}){let s=Q(),c=O6(),l=typeof e.options.to==`string`?e.options.to:``,u=Io(),d=$o({type:l,limit:t5}),f=u.data?.find(e=>e.key===l),p=f?p6(d.data?.items??[],c).map(({primary:e})=>({id:e.slug,label:i6(f,e.data)??e.slug})):[],m=p.filter((e,t)=>p.findIndex(t=>t.id===e.id)===t).sort((e,t)=>e.label.localeCompare(t.label,c)),h=typeof i==`string`?i:void 0,g=h!==void 0&&!m.some(e=>e.id===h),_=o??(d.isError?s.editor.linkNotLoaded:void 0);return(0,S.jsx)(M$,{label:t,isLabelHidden:r,options:g?[{id:h,label:d.isSuccess?s.editor.linkMissing(h):h},...m]:m,placeholder:s.editor.choose,onChange:a,isRequired:e.required,...h!==void 0&&{value:h},...n!==void 0&&{description:n},..._!==void 0&&{errorMessage:_}})}function r5({field:e,label:t,help:n,isLabelHidden:r=!1,value:i,onChange:a,problem:o}){let s=Q(),c=O6(),l=Ss(),u=(l.data??[]).map(e=>({id:e.id,label:e.open?Z(e.label,c):s.editor.formClosed(Z(e.label,c))})).sort((e,t)=>e.label.localeCompare(t.label,c)),d=typeof i==`string`?i:void 0,f=d!==void 0&&!u.some(e=>e.id===d),p=o??(l.isError?s.editor.linkNotLoaded:void 0),m=(l.isSuccess&&u.length===0?s.editor.noForms:void 0)??n;return(0,S.jsx)(M$,{label:t,isLabelHidden:r,options:f?[{id:d,label:l.isSuccess?s.editor.formMissing:s.editor.formLoading},...u]:u,placeholder:s.editor.choose,onChange:a,isRequired:e.required,...d!==void 0&&{value:d},...m!==void 0&&{description:m},...p!==void 0&&{errorMessage:p}})}function i5({field:e,label:t,help:n,isLabelHidden:r=!1,value:i,onChange:a,problem:o}){return(0,S.jsx)(c8,{label:t,isLabelHidden:r,value:i,onChange:a,isRequired:e.required,...n!==void 0&&{help:n},...o!==void 0&&{problem:o}})}var a5=e=>typeof e==`string`||Array.isArray(e)&&e.every(e=>typeof e==`string`),o5=(0,x.lazy)(async()=>({default:(await k8(()=>F8(()=>import(`./RichTextEditor-pY85lC3u.js`),[],import.meta.url))).RichTextEditor}));function s5({field:e,label:t,help:n,isLabelHidden:r=!1,value:i,onChange:a,problem:o}){let s=Q(),c=a5(i)?S_(i):typeof i==`object`&&i?i:null,l=e.options.formats,u=Array.isArray(l)?C_.filter(e=>l.includes(e)):void 0;return(0,S.jsx)(x.Suspense,{fallback:(0,S.jsx)(L$,{label:s.app.loading,children:(0,S.jsxs)(J,{gap:2,children:[(0,S.jsx)(I$,{width:`sm`}),(0,S.jsx)(I$,{shape:`block`})]})}),children:(0,S.jsx)(o5,{label:t,isLabelHidden:r,value:c,onChange:e=>a(e??void 0),isRequired:e.required,words:s.editor.richText,...u!==void 0&&{formats:u},...n!==void 0&&{description:n},...o!==void 0&&{errorMessage:o}})})}function c5({field:e,label:t,help:n,isLabelHidden:r=!1,value:i,onChange:a,path:o,problem:s,problems:c}){let l=Array.isArray(e.options.fields)?f_(e.options.fields):[],u=typeof i==`object`&&i?i:{};return(0,S.jsxs)(OQ,{legend:t,isLegendHidden:r,...n!==void 0&&{description:n},children:[s!==void 0&&(0,S.jsx)(Y,{size:`sm`,tone:`danger`,children:s}),(0,S.jsx)(q6,{fields:l,values:u,onChange:(e,t)=>{let n=d6(u,e.id,t);a(Object.keys(n).length===0?void 0:n)},pathOf:e=>`${o}.${e.key}`,problems:c})]})}var l5=e=>e!=null,u5=(e,t)=>t===``?e:`${e}.${t}`,d5=(e,t)=>t==null||typeof t==`string`?[{place:``,put:e=>e===``?void 0:e}]:[],f5=(e,t)=>e.put(t),p5=()=>[{place:``,put:e=>w6(e)}];function m5(e,t,n,r){let i=Array.isArray(t.options.fields)?f_(t.options.fields):[],a=typeof n==`object`&&n?n:{};return i.flatMap(t=>(r(t.type)?.[e]?.(t,a[t.id],r)??[]).map(e=>({...e,place:u5(t.key,e.place),put:n=>{let r=d6(a,t.id,f5(e,n));return Object.keys(r).length===0?void 0:r}})))}function h5(e,t,n,r){let i=Array.isArray(n)?n:[],a=t.options.of??{type:`text`},o=r(a.type)?.[e];return o?i.flatMap((e,n)=>o({...t,id:`${t.id}.${n}`,key:String(n),type:a.type,required:!1,options:a.options??{}},e,r).map(e=>({...e,place:u5(String(n),e.place),put:t=>i.map((r,i)=>i===n?f5(e,t)??(typeof r==`string`?``:{}):r)}))):[]}var g5=(e,t,n)=>m5(`words`,e,t,n),_5=(e,t,n)=>h5(`words`,e,t,n),v5=(e,t,n)=>m5(`pictures`,e,t,n),y5=(e,t,n)=>h5(`pictures`,e,t,n),b5=(e,t,n)=>m5(`links`,e,t,n),x5=(e,t,n)=>h5(`links`,e,t,n),S5=(e,t,n)=>m5(`lists`,e,t,n),C5=(e,t,n)=>{let r=Array.isArray(t)?t:[],i=typeof e.options.max==`number`?e.options.max:void 0;return[{place:``,items:r,isFull:i!==void 0&&r.length>=i,put:e=>e.length===0?void 0:e},...h5(`lists`,e,t,n)]},w5=(e,t,n)=>m5(`sections`,e,t,n),T5=(e,t,n)=>h5(`sections`,e,t,n),E5=(e,t)=>[{place:``,field:e,sections:Array.isArray(t)?t:[],put:e=>e.length===0?void 0:e}],D5=(e,t)=>[{place:``,field:e,link:t,put:e=>e}],O5=(e,t)=>[{place:``,name:typeof t==`string`&&t!==``?t:null,put:e=>e}],k5=(e,t)=>({id:`stored-${t}`,value:e});function A5(e,t){let n=Array.isArray(e.options.fields)?f_(e.options.fields):[],r=typeof t==`object`&&t?t:{};for(let e of n){let t=r[e.id];if(typeof t==`string`&&t.trim()!==``)return t}}function j5({field:e,label:t,help:n,value:r,onChange:i,path:a,problem:o,problems:s}){let c=Q(),l=Array.isArray(r)?r:[],[u,d]=(0,x.useState)(()=>l.map(k5)),f=f6(u.map(e=>e.value).filter(l5),l)?u:l.map(k5),[p,m]=(0,x.useState)([]),h=e.options.of??{type:`text`},g=typeof e.options.max==`number`?e.options.max:void 0,_=e=>{d(e);let t=e.map(e=>e.value).filter(l5);i(t.length===0?void 0:t)},v=J6()(h.type)?.titleOf,y=n=>({id:`${e.id}.${n}`,key:String(n),type:h.type,label:{[M5]:c.editor.listItem(t,n+1)},translated:e.translated,required:!1,options:h.options??{}}),b=(e,t)=>{let n=[...f],[r]=n.splice(e,1);r&&n.splice(t,0,r),_(n)},C=(e,t)=>(0,S.jsx)(G6,{field:y(t),value:e.value,onChange:t=>_(f.map(n=>n.id===e.id?{...n,value:t}:n)),path:`${a}.${t}`,problems:s,isLabelHidden:!0}),w={label:t,...n!==void 0&&{description:n},...o!==void 0&&{errorMessage:o},emptyText:c.editor.listEmpty,addLabel:c.editor.listAdd,isFull:g!==void 0&&f.length>=g,onMove:b,moveUpLabel:e=>c.editor.listMoveUp(t,e),moveDownLabel:e=>c.editor.listMoveDown(t,e)},T=()=>{let e={id:crypto.randomUUID(),value:void 0};_([...f,e]),m(t=>[...t,e.id])};return v?(0,S.jsx)(G4,{...w,onAdd:T,openIds:p,onOpenChange:(e,t)=>m(n=>t?[...n,e]:n.filter(t=>t!==e)),moreLabel:e=>c.editor.listMore(t,e),dragLabel:e=>c.editor.listDrag(t,e),onAction:(e,t)=>{let n=f.findIndex(t=>t.id===e),r=f[n];r&&(t===`remove`?_(f.filter(t=>t.id!==e)):t===`duplicate`&&_([...f.slice(0,n+1),{id:crypto.randomUUID(),value:_8(r.value)},...f.slice(n+1)]))},items:f.map((e,n)=>{let r=`${a}.${n}`,i=[...s.keys()].filter(e=>e===r||e.startsWith(`${r}.`)).length;return{id:e.id,title:v(y(n),e.value)??c.editor.listItem(t,n+1),...i>0&&{problem:c.editor.listProblems(i)},actions:[{id:`duplicate`,label:c.editor.listDuplicate,icon:Qv,isDisabled:w.isFull},{id:`remove`,label:c.editor.listRemoveRow,icon:jx,tone:`danger`}],content:C(e,n)}})}):(0,S.jsx)(S2,{...w,onAdd:T,removeLabel:e=>c.editor.listRemove(t,e),onRemove:e=>_(f.filter((t,n)=>n!==e)),items:f.map((e,t)=>({id:e.id,content:C(e,t)}))})}var M5=`en`;function N5(){return k6().register({type:`text-input`,Component:L8,words:d5}).register({type:`url-input`,Component:z8}).register({type:`email-input`,Component:B8}).register({type:`phone-input`,Component:V8}).register({type:`number-input`,Component:H8,width:`compact`,Summary:G8,summaryAlign:`end`}).register({type:`date-picker`,Component:U8,width:`compact`}).register({type:`switch`,Component:W8}).register({type:`select`,Component:Z8,width:`compact`,Summary:q8,swatches:X8}).register({type:`color-picker`,Component:Q8,width:`compact`,Summary:$8,isLook:!0}).register({type:`font-picker`,Component:e5,width:`compact`,Summary:q8,isLook:!0}).register({type:`reference`,Component:n5,width:`compact`}).register({type:`form-picker`,Component:r5,width:`compact`}).register({type:`link`,Component:T8,links:D5}).register({type:`image`,Component:i5,pictures:O5}).register({type:`rich-text`,Component:s5,words:p5}).register({type:`group`,Component:c5,titleOf:A5,words:g5,pictures:v5,links:b5,lists:S5,sections:w5,carried:H6}).register({type:`list`,Component:j5,words:_5,pictures:y5,links:x5,lists:C5,sections:T5,carried:U6}).register({type:`blocks`,Component:y8,showsPage:!0,sections:E5,carried:W6})}var P5=[`general`,`email`,`storage`,`forms`,`tokens`],$={home:`/`,signIn:`/sign-in`,people:`/people`,media:`/media`,trash:`/trash`,forms:`/forms`,form:e=>`/forms/${encodeURIComponent(e)}`,contacts:`/contacts`,contact:e=>`/contacts/${encodeURIComponent(e)}`,deals:`/deals`,plugins:`/plugins`,pluginScreen:(e,t)=>`/plugins/${encodeURIComponent(e)}/${encodeURIComponent(t)}`,settings:(e=P5[0])=>`/settings/${e}`,settingsPage:e=>`/settings/page/${encodeURIComponent(e)}`,types:`/types`,type:(e,t=[])=>`/types/${encodeURIComponent(e)}${t.length>0?`?${new URLSearchParams(t.map(e=>[`in`,e]))}`:``}`,contentList:e=>`/content/${encodeURIComponent(e)}`,entry:(e,t)=>`/content/${encodeURIComponent(e)}/${encodeURIComponent(t)}`,visualEntry:(e,t)=>`/content/${encodeURIComponent(e)}/${encodeURIComponent(t)}?view=visual`,newEntry:e=>`/content/${encodeURIComponent(e)}/new`},F5={Box:X_,Button:q,Card:NZ,Checkbox:IZ,ConfirmDialog:r2,DateField:fQ,Dialog:wQ,EmptyState:o2,Fieldset:OQ,Form:MQ,Grid:PQ,Heading:RQ,Inline:BQ,Link:HQ,NumberField:d$,PageHeader:d2,SearchField:g$,Segmented:w$,Select:M$,Skeleton:I$,SkeletonGroup:L$,Spinner:H$,Split:Y2,Stack:J,Stat:X$,Switch:t1,Table:d1,Tabs:g1,Tag:v1,Text:Y,TextArea:T1,TextField:S1,Tooltip:mQ,toast:X};function I5(e){let t=e.endsWith(`/`)?e.slice(0,-1):e;return e=>import(new URL(`${t}/plugins/${encodeURIComponent(e)}.js`,location.origin).href)}var vne=/^[a-z][a-z0-9-]{0,39}$/,yne=e=>e instanceof Error?e.message:String(e),bne=class{#e={screens:[],panels:[],problems:new Map,settled:new Set};#t=new Set;#n=new Set;subscribe=e=>(this.#n.add(e),()=>void this.#n.delete(e));snapshot=()=>this.#e;#r(e){this.#e={...this.#e,...e};for(let e of this.#n)e()}follow(e,t){let n=new Set(e),r=[...this.#t].filter(e=>!n.has(e));if(r.length>0){for(let e of r)this.#t.delete(e);this.#r({screens:this.#e.screens.filter(e=>n.has(e.plugin)),panels:this.#e.panels.filter(e=>n.has(e.plugin)),problems:new Map([...this.#e.problems].filter(([e])=>n.has(e))),settled:new Set([...this.#e.settled].filter(e=>n.has(e)))})}for(let n of e)this.#t.has(n)||(this.#t.add(n),this.#i(n,t))}async#i(e,{loader:t,client:n,controls:r}){let i=[],a=[],o=(e,t)=>{if(typeof t!=`string`||!vne.test(t))throw Error(`A ${e} needs an id of lower-case letters, digits and dashes, and "${String(t)}" is not one.`)},s={name:e,React:x,ui:F5,client:{get:(t,r)=>n.callPlugin(e,`GET`,t,r?{query:r}:{}),post:(t,r)=>n.callPlugin(e,`POST`,t,{body:r}),put:(t,r)=>n.callPlugin(e,`PUT`,t,{body:r}),delete:(t,r)=>n.callPlugin(e,`DELETE`,t,{body:r})},links:{entry:(e,t)=>$.entry(e,t)},register:{control:e=>void(r.has(e.type)||r.register(e)),screen:t=>{o(`screen`,t.id),i.push({...t,plugin:e})},entryPanel:t=>{o(`panel`,t.id),a.push({...t,plugin:e})}}},c=null;try{let n=await t(e);if(typeof n.default!=`function`)throw Error(`Its editor file has no default export to run.`);n.default(s)}catch(e){c=yne(e)}this.#t.has(e)&&this.#r({...c===null&&{screens:[...this.#e.screens,...i],panels:[...this.#e.panels,...a]},...c!==null&&{problems:new Map([...this.#e.problems,[e,c]])},settled:new Set([...this.#e.settled,e])})}},L5=(0,x.createContext)(null);function xne({extensions:e,loader:t,children:n}){return(0,S.jsx)(L5,{value:{extensions:e,loader:t},children:n})}function R5(){let e=(0,x.useContext)(L5);if(!e)throw Error(`Plugin extensions were asked for outside <AdminApp>. Render the screen inside it.`);return e}function z5(){let{extensions:e}=R5();return(0,x.useSyncExternalStore)(e.subscribe,e.snapshot,e.snapshot)}function Sne(e){let{extensions:t,loader:n}=R5(),r=R(),i=M6(),a=Rc(e),{settled:o}=z5(),s=a.data?.map(e=>e.name),c=s?.join(`,`);return(0,x.useEffect)(()=>{c!==void 0&&t.follow(c===``?[]:c.split(`,`),{loader:n,client:r,controls:i})},[c,t,n,r,i]),!e||a.isError?!0:s!==void 0&&s.every(e=>o.has(e))}var Cne=`cms-boot`,wne=300,Tne=1e4,B5=1,V5=0,H5=!1,U5=!1,W5;function G5(){if(U5=!0,W5!==void 0&&clearTimeout(W5),typeof document>`u`)return;let e=document.getElementById(Cne);e!==null&&(e.dataset.ending=`true`,setTimeout(()=>e.remove(),wne))}function K5(){if(!(U5||B5>0)){if(V5===0)return G5();W5??=setTimeout(()=>{W5=void 0,B5===0&&G5()},Tne)}}function q5(e){if(U5)return()=>{};e===`frame`?B5+=1:V5+=1;let t=!1;return()=>{t||(t=!0,e===`frame`?--B5:--V5,setTimeout(K5,0))}}function Ene(){return q5(`frame`)}function Dne(){return q5(`screen`)}function One(){H5||(H5=!0,--B5,setTimeout(K5,0))}var kne=[0,1,2,3,4];function J5(){return(0,S.jsx)(NZ,{children:(0,S.jsx)(J,{gap:5,children:kne.map(e=>(0,S.jsxs)(BQ,{gap:6,children:[(0,S.jsx)(X_,{grow:!0,children:(0,S.jsxs)(J,{gap:2,children:[(0,S.jsx)(I$,{width:e%2==0?`1/3`:`1/4`}),(0,S.jsx)(I$,{width:`xs`})]})}),(0,S.jsx)(I$,{width:`sm`}),(0,S.jsx)(I$,{width:`sm`})]},e))})})}function Y5(){return(0,S.jsxs)(J,{gap:3,children:[(0,S.jsx)(I$,{shape:`title`,width:`1/4`}),(0,S.jsx)(I$,{width:`1/3`})]})}var Ane={table:()=>(0,S.jsx)(J5,{}),page:()=>(0,S.jsx)(X_,{paddingX:12,paddingY:10,children:(0,S.jsxs)(J,{gap:6,children:[(0,S.jsx)(Y5,{}),(0,S.jsx)(J5,{})]})}),summary:()=>(0,S.jsxs)(J,{gap:6,children:[(0,S.jsx)(PQ,{columns:3,gap:4,children:[0,1,2].map(e=>(0,S.jsx)(NZ,{children:(0,S.jsxs)(J,{gap:3,children:[(0,S.jsx)(I$,{width:`1/2`}),(0,S.jsx)(I$,{shape:`title`,width:`1/4`}),(0,S.jsx)(I$,{width:`3/4`})]})},e))}),(0,S.jsx)(J5,{})]}),form:()=>(0,S.jsx)(X_,{paddingX:12,paddingY:8,children:(0,S.jsxs)(J,{gap:6,children:[(0,S.jsx)(Y5,{}),(0,S.jsx)(NZ,{children:(0,S.jsxs)(J,{gap:5,children:[[0,1,2].map(e=>(0,S.jsxs)(J,{gap:2,children:[(0,S.jsx)(I$,{width:`sm`}),(0,S.jsx)(I$,{shape:`control`})]},e)),(0,S.jsxs)(J,{gap:2,children:[(0,S.jsx)(I$,{width:`sm`}),(0,S.jsx)(I$,{shape:`block`})]})]})})]})})};function X5({label:e,shape:t=`page`}){let n=Q();(0,x.useEffect)(Dne,[]);let r=e??n.app.loading;return t===`spinner`?(0,S.jsx)(X_,{padding:8,children:(0,S.jsx)(H$,{label:r,showLabel:!0})}):(0,S.jsx)(L$,{label:r,children:Ane[t]()})}function Z5({error:e,onRetry:t}){let n=Q();return(0,S.jsx)(o2,{icon:Hv,title:n.app.somethingWentWrong,description:e.message,action:(0,S.jsx)(q,{variant:`secondary`,onPress:t,children:n.app.tryAgain})})}function Q5(){let e=Zi();return(0,x.useCallback)((t,n)=>void e(t,{viewTransition:!0,...n}),[e])}function $5(){let e=Q().contacts.stages;return t=>t===void 0?``:t.label??e[t.id]??t.id}var e7={open:`neutral`,won:`success`,lost:`danger`};function t7(){let e=new Date,t=e=>String(e).padStart(2,`0`);return`${e.getFullYear()}-${t(e.getMonth()+1)}-${t(e.getDate())}`}function n7(){let e=Q(),t=O6(),n=t7();return r=>r<n?{text:e.contacts.due.overdue,tone:`danger`}:r===n?{text:e.contacts.due.today,tone:`warning`}:{text:r7(r,t),tone:`neutral`}}function r7(e,t){let n=new Date(`${e}T00:00:00`);return Number.isNaN(n.getTime())?e:new Intl.DateTimeFormat(t,{day:`numeric`,month:`short`,year:`numeric`}).format(n)}function i7(e){let t=Q();return n=>n===void 0?``:e?.find(e=>e.id===n)?.name??(e===void 0?``:t.contacts.someoneWhoLeft)}function a7(e){let t=O6();return n=>{try{return new Intl.NumberFormat(t,{style:`currency`,currency:e??`USD`,maximumFractionDigits:0}).format(n)}catch{return`${new Intl.NumberFormat(t).format(n)} ${e??``}`.trim()}}}var jne=new Map;function o7(e,t){let n=dc(),[r,i]=(0,x.useState)({}),[a,o]=(0,x.useState)(jne);return{fields:f_(n.data?.[e]??[]),values:{...t,...r},problems:a,change:(e,t)=>i(n=>({...n,[e]:t})),toSend:()=>Object.keys(r).length===0?{}:{data:Object.fromEntries(Object.entries(r).map(([e,t])=>[e,t??null]))},refused:e=>{let t=e instanceof No?e.issues.filter(e=>e.path[0]===`data`):[];o(new Map(t.map(e=>[e.path.slice(1).join(`.`),e.message])))}}}function s7({custom:e}){return(0,S.jsx)(S.Fragment,{children:e.fields.map(t=>(0,S.jsx)(G6,{field:t,value:e.values[t.id],onChange:n=>e.change(t.id,n),path:t.key,problems:e.problems},t.id))})}function c7(e,t,n){let r=URL.createObjectURL(new Blob([t],{type:n})),i=document.createElement(`a`);i.href=r,i.download=e,i.click(),URL.revokeObjectURL(r)}var Mne=[[`year`,31536e6],[`month`,2592e6],[`day`,864e5],[`hour`,36e5],[`minute`,6e4]];function l7(e,t,n=new Date){let r=new Intl.RelativeTimeFormat(t,{numeric:`auto`}),i=new Date(e).getTime()-n.getTime();for(let[e,t]of Mne)if(Math.abs(i)>=t)return r.format(Math.round(i/t),e);return r.format(0,`second`)}function u7(e){let t=Q(),n=O6();return r=>{if(!r.source)return t.contacts.addedByHand;let i=e?.find(e=>e.id===r.source?.formId);if(!i)return e===void 0?``:t.contacts.aFormNowGone;let a=Z(i.label,n);return r.source.page===void 0?t.contacts.fromForm(a):t.contacts.fromFormOn(a,r.source.page)}}function d7(e,t){return e==null?``:e===!0?t:typeof e==`string`?e:typeof e==`number`?String(e):JSON.stringify(e)}var Nne=200,f7=`:nothing`;function p7(){let e=O6(),t=Io(),n=(t.data??[]).filter(e=>l_(e)&&e.forDeals===!0),r=ts(n.map(e=>({type:e.key,limit:Nne}))),i=new Map;return n.forEach((t,n)=>{i.set(t.id,p6(r[n]?.data?.items??[],e).map(({primary:e})=>({id:e.translationGroup,label:i6(t,e.data)??e.slug})).sort((t,n)=>t.label.localeCompare(n.label,e)))}),{types:n,entriesOf:e=>i.get(e)??[],nameOf:e=>e===void 0?void 0:i.get(e.typeId)?.find(t=>t.id===e.entry)?.label,isLoaded:t.isSuccess&&r.every(e=>e.isSuccess)}}function Pne({subjects:e,about:t,onChange:n,problem:r}){let i=Q(),a=O6(),[o,s]=(0,x.useState)(t?.typeId??f7),c=t?.typeId??o;if(e.types.length===0&&t===void 0)return null;let l=[{id:f7,label:i.deals.aboutNothing},...e.types.map(e=>({id:e.id,label:Z(e.label,a)}))],u=e.types.find(e=>e.id===c),d=c===f7?[]:e.entriesOf(c),f=l.some(e=>e.id===c),p=t===void 0||d.some(e=>e.id===t.entry),m=e.isLoaded?i.deals.aboutGone:i.deals.aboutLoading;return(0,S.jsxs)(PQ,{columns:2,gap:3,children:[(0,S.jsx)(M$,{label:i.deals.about,options:f?l:[...l,{id:c,label:m}],value:c,onChange:e=>{e!==c&&(s(e),n(void 0))},...c===f7&&r!==void 0&&{errorMessage:r}}),c!==f7&&(0,S.jsx)(M$,{label:u?i.deals.aboutWhich(Z(u.label,a)):i.deals.aboutWhichOne,options:p||t===void 0?d:[{id:t.entry,label:m},...d],placeholder:i.editor.choose,onChange:e=>n({typeId:c,entry:e},d.find(t=>t.id===e)?.label),...t!==void 0&&{value:t.entry},...r!==void 0&&{errorMessage:r}})]})}var m7=`nobody`,h7={},g7=e=>e instanceof Error?e.message:String(e);function _7({deal:e,contact:t,pipeline:n,team:r,onClose:i}){let{close:a,dialog:o}=N6(i),s=Q(),c=$5(),l=Ys(),u=Xs(),d=Zs(),[f,p]=(0,x.useState)(e?.title??``),[m,h]=(0,x.useState)(e?.about),g=p7(),[_,v]=(0,x.useState)(e?.value??null),[y,b]=(0,x.useState)(e?.stage??n.stages[0]?.id??``),[C,w]=(0,x.useState)(e?e.ownerId??m7:t.ownerId??m7),[T,E]=(0,x.useState)(e?.closeOn??null),[D,O]=(0,x.useState)(h7),k=o7(`deal`,e?.data),A=n.currency??`USD`,j=e=>{e instanceof No&&O(Object.fromEntries(e.issues.map(e=>[String(e.path[0]),e.message]))),k.refused(e),X({title:s.deals.notSaved,description:g7(e),tone:`danger`})},M=()=>{if(f.trim()===``)return O({title:s.deals.nameNeeded});O(h7);let n=_??0;e?u.mutate({id:e.id,changes:{title:f,about:m??null,value:n,stage:y,ownerId:C===m7?null:C,closeOn:T,...k.toSend(),expectedRevision:e.revision}},{onSuccess:e=>{X({title:s.deals.saved(e.title),tone:`success`}),a()},onError:j}):l.mutate({contactId:t.id,title:f,...m&&{about:m},value:n,stage:y,...C!==m7&&{ownerId:C},...T!==null&&{closeOn:T},...k.toSend()},{onSuccess:e=>{X({title:s.deals.created(e.title),tone:`success`}),a()},onError:j})},ee=e?s.deals.editTitle(e.title):s.deals.addTitle,N=[{id:m7,label:s.contacts.nobody},...r.map(e=>({id:e.id,label:e.name})),...C!==m7&&!r.some(e=>e.id===C)?[{id:C,label:s.contacts.someoneWhoLeft}]:[]];return(0,S.jsx)(wQ,{...o,title:ee,closeLabel:s.app.dismiss,footer:(0,S.jsxs)(S.Fragment,{children:[e&&(0,S.jsx)(q,{variant:`ghost`,icon:jx,isPending:d.isPending,onPress:()=>d.mutate(e.id,{onSuccess:()=>{X({title:s.deals.deleted(e.title),tone:`success`}),a()},onError:e=>X({title:s.deals.notDeleted,description:g7(e),tone:`danger`})}),children:s.deals.delete}),(0,S.jsx)(q,{variant:`secondary`,onPress:a,children:s.editor.cancel}),(0,S.jsx)(q,{isPending:l.isPending||u.isPending,onPress:M,children:e?s.deals.save:s.deals.create})]}),children:(0,S.jsxs)(MQ,{label:ee,gap:4,onSubmit:M,children:[(0,S.jsx)(S1,{label:s.deals.name,placeholder:s.deals.namePlaceholder,value:f,onChange:p,isRequired:!0,autoFocus:!0,autoComplete:`off`,...D.title!==void 0&&{errorMessage:D.title}}),(0,S.jsx)(Pne,{subjects:g,about:m,problem:D.about,onChange:(e,t)=>{h(e),t!==void 0&&f.trim()===``&&p(t)}}),(0,S.jsxs)(PQ,{columns:2,gap:3,children:[(0,S.jsx)(d$,{label:s.deals.value(A),value:_,onChange:v,minValue:0,isInteger:!0,...D.value!==void 0&&{errorMessage:D.value}}),(0,S.jsx)(M$,{label:s.deals.stage,options:n.stages.map(e=>({id:e.id,label:c(e)})),value:y,onChange:b,...D.stage!==void 0&&{errorMessage:D.stage}}),(0,S.jsx)(M$,{label:s.deals.owner,options:N,value:C,onChange:w,...D.ownerId!==void 0&&{errorMessage:D.ownerId}}),(0,S.jsx)(fQ,{label:s.deals.closeOn,value:T,onChange:E,...D.closeOn!==void 0&&{errorMessage:D.closeOn}})]}),(0,S.jsx)(s7,{custom:k})]})})}function Fne({contact:e}){let t=Q(),n=O6(),r=Ws({contactId:e.id,limit:200}),i=lc(),a=pc(),o=$5(),s=a7(i.data?.currency),[c,l]=(0,x.useState)(null),u=[{id:`title`,label:t.deals.columnTitle},{id:`stage`,label:t.deals.columnStage},{id:`close`,label:t.deals.columnClose,isSecondary:!0},{id:`value`,label:t.deals.columnValue,align:`end`}],d=(r.data?.items??[]).map(e=>{let t=i.data?.stages.find(t=>t.id===e.stage);return{id:e.id,cells:{title:(0,S.jsx)(Y,{weight:`semibold`,children:e.title}),stage:t?(0,S.jsx)(v1,{tone:e7[t.kind],children:o(t)}):``,close:(0,S.jsx)(Y,{tone:`secondary`,children:e.closeOn===void 0?``:r7(e.closeOn,n)}),value:(0,S.jsx)(Y,{weight:`semibold`,children:s(e.value)})}}});return(0,S.jsxs)(NZ,{title:t.deals.cardTitle,children:[(0,S.jsxs)(J,{gap:4,children:[r.isPending&&(0,S.jsx)(X5,{shape:`table`}),r.isError&&(0,S.jsx)(Z5,{error:r.error,onRetry:()=>void r.refetch()}),r.isSuccess&&d.length===0&&(0,S.jsx)(Y,{tone:`muted`,children:t.deals.cardEmpty}),r.isSuccess&&d.length>0&&(0,S.jsx)(d1,{label:t.deals.cardTitle,columns:u,rows:d,onRowAction:e=>l(r.data.items.find(t=>t.id===e)??null)}),(0,S.jsx)(BQ,{children:(0,S.jsx)(q,{variant:`secondary`,size:`sm`,icon:Gb,isDisabled:!i.isSuccess,onPress:()=>l(`new`),children:t.deals.add})})]}),c!==null&&i.data&&(0,S.jsx)(_7,{...c!==`new`&&{deal:c},contact:e,pipeline:i.data,team:a.data??[],onClose:()=>l(null)})]})}var v7=`nobody`,Ine=`2000-01-01`,Lne=e=>e instanceof Error?e.message:String(e);function Rne({contact:e}){let t=Q(),n=O6(),r=lc(),i=pc(),a=bc(),o=$5(),[s,c]=(0,x.useState)(e.followUpAt??null),l=(n,r)=>a.mutate({id:e.id,changes:{...n,expectedRevision:e.revision}},{onSuccess:()=>X({title:r,tone:`success`}),onError:e=>X({title:t.contacts.notChanged,description:Lne(e),tone:`danger`})}),u=r.data?.stages??[],d=i.data??[],f=[{id:v7,label:t.contacts.nobody},...d.map(e=>({id:e.id,label:e.name})),...e.ownerId!==void 0&&i.isSuccess&&!d.some(t=>t.id===e.ownerId)?[{id:e.ownerId,label:t.contacts.someoneWhoLeft}]:[]];return(0,S.jsx)(NZ,{title:t.contacts.work,children:(0,S.jsxs)(J,{gap:4,children:[(0,S.jsx)(M$,{label:t.contacts.stage,options:u.map(e=>({id:e.id,label:o(e)})),value:e.stage,isDisabled:a.isPending||!r.isSuccess,onChange:n=>n!==e.stage&&l({stage:n},t.contacts.stageSaved(o(u.find(e=>e.id===n))))}),(0,S.jsx)(M$,{label:t.contacts.owner,options:f,value:e.ownerId??v7,isDisabled:a.isPending||!i.isSuccess,onChange:n=>{n!==(e.ownerId??v7)&&(n===v7?l({ownerId:null},t.contacts.ownerCleared):l({ownerId:n},t.contacts.ownerSaved(d.find(e=>e.id===n)?.name??``)))}}),(0,S.jsx)(fQ,{label:t.contacts.followUp,description:t.contacts.followUpHelp,value:s,isDisabled:a.isPending,onChange:r=>{c(r),r!==(e.followUpAt??null)&&(r===null?l({followUpAt:null},t.contacts.followUpCleared):r>=Ine&&l({followUpAt:r},t.contacts.followUpSaved(r7(r,n))))}})]})})}var y7={},zne={},b7=e=>e instanceof Error?e.message:String(e);function Bne(){let{contactId:e=``}=ta(),t=Q(),n=Fo();return n.data===null||n.data===void 0||n.data.role===`author`?(0,S.jsx)(o2,{icon:Xv,title:t.contacts.title,description:t.contacts.noAccess}):(0,S.jsx)(Vne,{id:e},e)}function Vne({id:e}){let t=Q(),n=mc(e);return n.isPending?(0,S.jsx)(X5,{}):n.isError?n.error instanceof No&&n.error.code===`not_found`?(0,S.jsx)(o2,{icon:Xv,title:t.contacts.notFoundTitle,description:t.contacts.notFoundDescription,action:(0,S.jsx)(HQ,{href:$.contacts,children:t.contacts.backToContacts})}):(0,S.jsx)(Z5,{error:n.error,onRetry:()=>void n.refetch()}):(0,S.jsx)(Hne,{contact:n.data})}function Hne({contact:e}){let t=Q(),n=O6(),r=Q5(),i=u7(Ss().data),a=wc(),o=xc(),[s,c]=(0,x.useState)(!1),[l,u]=(0,x.useState)(!1),d=e.name??e.email,f=dc(),p=e.data??zne,m=[[t.contacts.email,e.email],[t.contacts.phone,e.phone??t.contacts.notGiven],...f_(f.data?.contact??[]).map(e=>[Z(e.label,n),d7(p[e.id],t.forms.yes)||t.contacts.notGiven]),[t.contacts.firstCameFrom,i(e)],[t.contacts.added,l7(e.createdAt,n)]];return(0,S.jsxs)(X_,{paddingX:12,paddingY:10,children:[(0,S.jsxs)(J,{gap:6,children:[(0,S.jsxs)(J,{gap:2,children:[(0,S.jsx)(HQ,{href:$.contacts,children:t.contacts.backToContacts}),(0,S.jsx)(d2,{title:d,...e.name!==void 0&&{description:e.email},secondary:{moreLabel:t.app.moreActions,actions:[{id:`erase`,label:t.contacts.erase,icon:Vx,variant:`ghost`,tone:`danger`,onPress:()=>u(!0)},{id:`export`,label:t.contacts.export,icon:ey,isPending:a.isPending,onPress:()=>a.mutate(e.id,{onSuccess:n=>{c7(`contact-${e.email}.json`,n,`application/json;charset=utf-8`),X({title:t.contacts.exported,description:t.contacts.exportedDescription,tone:`success`})},onError:e=>X({title:t.contacts.notExported,description:b7(e),tone:`danger`})})}]},actions:(0,S.jsx)(q,{icon:Lb,collapses:!0,onPress:()=>c(!0),children:t.contacts.edit})})]}),(0,S.jsx)(Y2,{asideLabel:t.contacts.detailsLabel,aside:(0,S.jsxs)(J,{gap:4,children:[(0,S.jsx)(Rne,{contact:e}),(0,S.jsx)(NZ,{title:t.contacts.details,children:(0,S.jsx)(J,{gap:4,children:m.map(([e,t])=>(0,S.jsxs)(J,{gap:0,children:[(0,S.jsx)(Y,{size:`sm`,weight:`semibold`,tone:`secondary`,children:e}),(0,S.jsx)(Y,{children:t})]},e))})})]}),children:(0,S.jsxs)(J,{gap:6,children:[(0,S.jsx)(Fne,{contact:e}),(0,S.jsx)(Une,{contact:e})]})})]}),s&&(0,S.jsx)(Wne,{contact:e,onClose:()=>c(!1)}),(0,S.jsx)(r2,{isOpen:l,onOpenChange:u,title:t.contacts.eraseTitle(d),confirmLabel:t.contacts.eraseConfirm,cancelLabel:t.editor.cancel,tone:`danger`,isPending:o.isPending,onConfirm:()=>o.mutate(e.id,{onSuccess:e=>{X({title:t.contacts.erased(d,e),tone:`success`}),r($.contacts)},onError:e=>{X({title:t.contacts.notErased,description:b7(e),tone:`danger`}),u(!1)}}),children:t.contacts.eraseDescription})]})}function Une({contact:e}){let t=Q(),n=O6(),r=hc(e.id),i=Sc(),a=Cc(),[o,s]=(0,x.useState)(``),[c,l]=(0,x.useState)(null),u=lc(),d=pc(),f=$5(),p=e=>f((u.data?.stages??[]).find(t=>t.id===e))||t.contacts.stageGone,m=()=>{l(null),i.mutate({id:e.id,text:o},{onSuccess:()=>{s(``),X({title:t.contacts.noteAdded,tone:`success`})},onError:e=>{e instanceof No&&e.code===`validation_failed`&&l(e.issues[0]?.message??e.message),X({title:t.contacts.noteNotAdded,description:b7(e),tone:`danger`})}})},h=e=>e.split(`
75
75
  `).map((e,t)=>(0,S.jsx)(Y,{children:e},t)),g=r=>r.kind===`stage`?(0,S.jsxs)(J,{gap:1,children:[(0,S.jsxs)(BQ,{gap:2,children:[(0,S.jsx)(v1,{children:t.contacts.movedLabel}),(0,S.jsx)(Y,{size:`sm`,tone:`muted`,children:l7(r.at,n)})]}),(0,S.jsx)(Y,{children:t.contacts.movedFromTo(p(r.from),p(r.to),(d.data??[]).find(e=>e.id===r.by)?.name)})]},r.id):r.kind===`note`?(0,S.jsxs)(J,{gap:2,children:[(0,S.jsxs)(BQ,{gap:2,justify:`between`,children:[(0,S.jsxs)(BQ,{gap:2,children:[(0,S.jsx)(v1,{children:t.contacts.noteLabel}),(0,S.jsx)(Y,{size:`sm`,tone:`muted`,children:l7(r.at,n)})]}),(0,S.jsx)(q,{variant:`ghost`,size:`sm`,isPending:a.isPending&&a.variables.noteId===r.note.id,onPress:()=>a.mutate({id:e.id,noteId:r.note.id},{onSuccess:()=>X({title:t.contacts.noteDeleted,tone:`success`}),onError:e=>X({title:t.contacts.noteNotDeleted,description:b7(e),tone:`danger`})}),children:t.contacts.deleteNote})]}),(0,S.jsx)(J,{gap:0,children:h(r.note.text)})]},r.note.id):(0,S.jsxs)(J,{gap:3,children:[(0,S.jsxs)(J,{gap:0,children:[(0,S.jsxs)(BQ,{gap:2,children:[(0,S.jsx)(v1,{tone:`info`,children:r.formLabel?t.contacts.sent(Z(r.formLabel,n)):t.contacts.sentUnknown}),(0,S.jsx)(Y,{size:`sm`,tone:`muted`,children:l7(r.at,n)})]}),r.submission.page!==void 0&&(0,S.jsx)(Y,{size:`sm`,tone:`muted`,children:t.contacts.fromPage(r.submission.page)})]}),r.answers.map(e=>(0,S.jsxs)(J,{gap:0,children:[(0,S.jsx)(Y,{size:`sm`,weight:`semibold`,tone:`secondary`,children:Z(e.label,n)}),h(d7(e.value,t.forms.yes))]},e.key))]},r.submission.id);return(0,S.jsxs)(J,{gap:6,children:[(0,S.jsx)(NZ,{title:t.contacts.note,children:(0,S.jsxs)(MQ,{label:t.contacts.note,gap:3,onSubmit:m,children:[(0,S.jsx)(T1,{label:t.contacts.note,isLabelHidden:!0,description:t.contacts.noteHelp,placeholder:t.contacts.notePlaceholder,value:o,onChange:s,...c!==null&&{errorMessage:c}}),(0,S.jsx)(BQ,{justify:`end`,children:(0,S.jsx)(q,{variant:`secondary`,isPending:i.isPending,isDisabled:o.trim()===``,onPress:m,children:t.contacts.addNote})})]})}),(0,S.jsxs)(NZ,{title:t.contacts.timeline,description:t.contacts.timelineHelp,children:[r.isPending&&(0,S.jsx)(X5,{shape:`summary`}),r.isError&&(0,S.jsx)(Z5,{error:r.error,onRetry:()=>void r.refetch()}),r.isSuccess&&r.data.length===0&&(0,S.jsx)(Y,{tone:`muted`,children:t.contacts.timelineEmpty}),r.isSuccess&&r.data.length>0&&(0,S.jsx)(J,{gap:6,children:r.data.map(g)})]})]})}function Wne({contact:e,onClose:t}){let{close:n,dialog:r}=N6(t),i=Q(),a=bc(),[o,s]=(0,x.useState)(e.name??``),[c,l]=(0,x.useState)(e.email),[u,d]=(0,x.useState)(e.phone??``),[f,p]=(0,x.useState)(y7),m=o7(`contact`,e.data),h=()=>{if(c.trim()===``)return p({email:i.contacts.emailNeeded});p(y7),a.mutate({id:e.id,changes:{email:c,name:o.trim()===``?null:o,phone:u.trim()===``?null:u,...m.toSend(),expectedRevision:e.revision}},{onSuccess:e=>{X({title:i.contacts.saved(e.name??e.email),tone:`success`}),n()},onError:e=>{e instanceof No&&p(Object.fromEntries(e.issues.map(e=>[String(e.path[0]),e.message]))),m.refused(e),X({title:i.contacts.notSaved,description:b7(e),tone:`danger`})}})};return(0,S.jsx)(wQ,{...r,title:i.contacts.editTitle(e.name??e.email),closeLabel:i.app.dismiss,footer:(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(q,{variant:`secondary`,onPress:n,children:i.editor.cancel}),(0,S.jsx)(q,{isPending:a.isPending,onPress:h,children:i.contacts.save})]}),children:(0,S.jsxs)(MQ,{label:i.contacts.editTitle(e.name??e.email),gap:4,onSubmit:h,children:[(0,S.jsx)(S1,{label:i.contacts.name,value:o,onChange:s,autoFocus:!0,autoComplete:`off`,...f.name!==void 0&&{errorMessage:f.name}}),(0,S.jsx)(S1,{label:i.contacts.email,type:`email`,value:c,onChange:l,isRequired:!0,autoComplete:`off`,...f.email!==void 0&&{errorMessage:f.email}}),(0,S.jsx)(S1,{label:i.contacts.phone,type:`tel`,value:u,onChange:d,autoComplete:`off`,...f.phone!==void 0&&{errorMessage:f.phone}}),(0,S.jsx)(s7,{custom:m})]})})}var x7=e=>typeof e==`number`?e:null,S7=(e,t,n)=>{let{[t]:r,...i}=e;return n==null?i:{...i,[t]:n}};function Gne({options:e,onChange:t}){let n=Q();return(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(IZ,{label:n.builder.textMultiline,isSelected:e.multiline===!0,onChange:n=>t(S7(e,`multiline`,n))}),(0,S.jsx)(d$,{label:n.builder.textMaxLength,description:n.builder.textMaxLengthHelp,value:x7(e.maxLength),minValue:1,isInteger:!0,onChange:n=>t(S7(e,`maxLength`,n))})]})}function Kne({options:e,onChange:t}){let n=Q(),r=Array.isArray(e.formats)?e.formats:C_,i=(n,i)=>{let a=C_.filter(e=>e===n?i:r.includes(e));t(S7(e,`formats`,a.length===C_.length?void 0:a))};return(0,S.jsx)(OQ,{legend:n.builder.richTextFormats,description:n.builder.richTextFormatsHelp,children:C_.map(e=>(0,S.jsx)(IZ,{label:n.builder.richTextFormat[e],isSelected:r.includes(e),onChange:t=>i(e,t)},e))})}function qne({options:e,onChange:t}){let n=Q();return(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(d$,{label:n.builder.numberMin,value:x7(e.min),onChange:n=>t(S7(e,`min`,n))}),(0,S.jsx)(d$,{label:n.builder.numberMax,value:x7(e.max),onChange:n=>t(S7(e,`max`,n))}),(0,S.jsx)(IZ,{label:n.builder.numberInteger,isSelected:e.integer===!0,onChange:n=>t(S7(e,`integer`,n))})]})}var Jne=e=>[...new Set(e.split(`
76
76
  `).map(e=>e.trim()).filter(Boolean))];function C7({options:e,onChange:t,problem:n}){let r=Q(),[i,a]=(0,x.useState)(()=>(e.choices??[]).join(`
77
77
  `));return(0,S.jsx)(T1,{label:r.builder.choices,description:r.builder.choicesHelp,rows:5,isRequired:!0,value:i,onChange:n=>{a(n),t({...e,choices:Jne(n)})},...n!==void 0&&{errorMessage:n}})}function Yne({options:e,onChange:t,problem:n}){let r=Q(),i=O6(),a=Io();return(0,S.jsx)(M$,{label:r.builder.referenceTo,isRequired:!0,options:(a.data??[]).map(e=>({id:e.key,label:Z(e.label,i)})),...typeof e.to==`string`&&e.to!==``&&{value:e.to},onChange:n=>t({...e,to:n}),...n!==void 0&&{errorMessage:n}})}function Xne({options:e,onChange:t,isExisting:n,problem:r}){let i=Q(),a=e.of,o=w7.list().filter(e=>e.canBeListed===!0||e.type===a?.type);return(0,S.jsx)(M$,{label:i.builder.listOf,description:i.builder.listOfHelp,isRequired:!0,isDisabled:n,options:o.map(e=>({id:e.type,label:i.builder.kinds[e.type]?.name??e.type})),...a?.type!==void 0&&{value:a.type},onChange:n=>t({...e,of:{type:n,options:w7.get(n).initial}}),...r!==void 0&&{errorMessage:r}})}var w7=new m_(`field settings`).register({type:`text`,initial:{},Component:Gne,canBeListed:!0}).register({type:`richtext`,initial:{},Component:Kne,canBeListed:!0}).register({type:`number`,initial:{},Component:qne,canBeListed:!0}).register({type:`boolean`,initial:{}}).register({type:`date`,initial:{},canBeListed:!0}).register({type:`url`,initial:{},canBeListed:!0}).register({type:`email`,initial:{},canBeListed:!0}).register({type:`phone`,initial:{},canBeListed:!0}).register({type:`select`,initial:{choices:[]},Component:C7,problem:(e,t)=>(e.choices??[]).length===0?t.builder.choicesNeeded:void 0}).register({type:`color`,initial:{}}).register({type:`font`,initial:{choices:[]},Component:C7,problem:(e,t)=>(e.choices??[]).length===0?t.builder.choicesNeeded:void 0}).register({type:`image`,initial:{},canBeListed:!0}).register({type:`reference`,initial:{},Component:Yne,problem:(e,t)=>typeof e.to==`string`&&e.to!==``?void 0:t.builder.referenceNeeded}).register({type:`link`,initial:{},canBeListed:!0}).register({type:`form`,initial:{}}).register({type:`group`,initial:{fields:[]},canBeListed:!0,inner:e=>Array.isArray(e.fields)?e.fields:[]}).register({type:`list`,initial:{},Component:Xne,inner:e=>{let t=e.of;return t?.type!==void 0&&w7.has(t.type)?w7.get(t.type).inner?.(t.options??{})??null:null},problem:(e,t)=>typeof e.of?.type==`string`?void 0:t.builder.listOfNeeded});function T7(e){return w7.has(e.type)?w7.get(e.type).inner?.(e.options)??null:null}function E7(e){return e.normalize(`NFKD`).replace(/[̀-ͯ]/g,``).toLowerCase().split(/[^a-z0-9]+/).filter(Boolean)}var D7=e=>{let[t=``,...n]=e,r=t.replace(/^[0-9]+/,``);return r===``?n.length>0?D7(n):[]:[r,...n]};function O7(e){return D7(E7(e)).map((e,t)=>t===0?e:`${e.charAt(0).toUpperCase()}${e.slice(1)}`).join(``)}function k7(e){return D7(E7(e)).join(`-`)}function A7(e){return{id:e.id,key:e.key,type:e.type,label:e.label,...e.help!==void 0&&{help:e.help},required:e.required,options:e.options}}function Zne(e,t,n){let r=e.findIndex(e=>e.id===t),i=r+n;if(r<0||i<0||i>=e.length)return[...e];let a=[...e],[o]=a.splice(r,1);return o&&a.splice(i,0,o),a}var j7={},M7=e=>e instanceof Error?e.message:String(e);function N7({set:e,field:t,onClose:n}){let{close:r,dialog:i}=N6(n),a=Q(),o=O6(),s=o.split(`-`)[0]??o,c=ns(),[l,u]=(0,x.useState)(t?.type??`text`),[d,f]=(0,x.useState)(t?Z(t.label,o):``),[p,m]=(0,x.useState)(t?.key??null),[h,g]=(0,x.useState)(t?.help?Z(t.help,o):``),[_,v]=(0,x.useState)(t?.required??!1),[y,b]=(0,x.useState)(t?.options??w7.get(`text`).initial),[C,w]=(0,x.useState)(j7),T=p??O7(d),E=w7.has(l)?w7.get(l):null,D=e=>a.builder.kinds[e]?.name??e,O=(c.data??[]).filter(e=>e.takesSubmissions&&w7.has(e.type)).map(e=>({id:e.type,label:D(e.type)})),k=()=>{let n={...d.trim()===``&&{label:a.forms.fieldNameNeeded},...T===``&&{key:a.forms.fieldKeyNeeded},...E?.problem?.(y,a)!==void 0&&{options:E.problem(y,a)}};if(w(n),Object.keys(n).length>0)return;let i=h.trim(),{help:o,...c}=t?A7(t):{key:T,type:l,label:{}},u={...c,key:T,label:{...t?.label,[s]:d.trim()},...i!==``&&{help:{...t?.help,[s]:i}},required:e.canRequire&&_,options:y},f=e.fields.map(A7);e.save(t?f.map(e=>e.id===t.id?u:e):[...f,u],{onSuccess:()=>{X({title:t?a.forms.fieldSaved(d.trim()):a.forms.fieldAdded(d.trim()),tone:`success`}),r()},onError:e=>{w({[e instanceof No&&e.code===`conflict`?`key`:`options`]:M7(e)}),X({title:a.forms.fieldNotSaved,description:M7(e),tone:`danger`})}})},A=t?a.forms.editFieldTitle(Z(t.label,o)):a.forms.addFieldTitle;return(0,S.jsx)(wQ,{...i,placement:`side`,title:A,closeLabel:a.app.dismiss,footer:(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(q,{variant:`secondary`,onPress:r,children:a.editor.cancel}),(0,S.jsx)(q,{isPending:e.isPending,onPress:k,children:t?a.forms.fieldSave:a.forms.fieldAdd})]}),children:(0,S.jsxs)(MQ,{label:A,gap:4,onSubmit:k,children:[t?(0,S.jsx)(Y,{size:`sm`,tone:`muted`,children:a.forms.fieldKindIs(D(l))}):(0,S.jsx)(M$,{label:a.forms.fieldKind,options:O,value:l,description:a.builder.kinds[l]?.description??``,onChange:e=>{u(e),b(w7.get(e).initial),w(j7)}}),(0,S.jsx)(S1,{label:a.forms.fieldName,description:e.words.nameHelp,value:d,onChange:f,isRequired:!0,autoFocus:!0,autoComplete:`off`,...C.label!==void 0&&{errorMessage:C.label}}),(0,S.jsx)(S1,{label:a.forms.fieldKey,description:a.forms.fieldKeyHelp,value:T,onChange:m,isRequired:!0,autoComplete:`off`,...C.key!==void 0&&{errorMessage:C.key}}),(0,S.jsx)(S1,{label:a.forms.fieldHelp,description:a.forms.fieldHelpHelp,value:h,onChange:g,autoComplete:`off`}),E?.Component&&(0,S.jsx)(E.Component,{options:y,onChange:b,isExisting:t!==void 0,problem:C.options}),!E?.Component&&C.options!==void 0&&(0,S.jsx)(Y,{tone:`danger`,children:C.options}),e.canRequire&&(0,S.jsx)(IZ,{label:a.forms.fieldRequired,isSelected:_,onChange:v})]})})}var P7=e=>e instanceof Error?e.message:String(e);function F7({set:e,mayChange:t}){let n=Q(),r=O6(),[i,a]=(0,x.useState)(!1),[o,s]=(0,x.useState)(null),[c,l]=(0,x.useState)(null),u=P6(c),{fields:d}=e,f=d.map(A7),p=e=>Z(e.label,r),m=(t,r)=>e.save(Zne(f,t.id,r),{onError:e=>X({title:n.forms.notMoved,description:P7(e),tone:`danger`})}),h=[{id:`field`,label:n.forms.columnField},{id:`kind`,label:n.forms.columnKind},{id:`rules`,label:n.forms.columnRules,isSecondary:!0},...t?[{id:`actions`,label:n.forms.columnActions,align:`end`}]:[]],g=d.map((t,r)=>({id:t.id,cells:{field:(0,S.jsxs)(J,{gap:0,children:[(0,S.jsx)(Y,{weight:`semibold`,children:p(t)}),(0,S.jsx)(Y,{size:`sm`,tone:`muted`,children:t.key})]}),kind:(0,S.jsx)(v1,{children:n.builder.kinds[t.type]?.name??t.type}),rules:(0,S.jsxs)(BQ,{gap:2,children:[t.required&&(0,S.jsx)(v1,{tone:`info`,children:n.forms.required}),e.tagsOf?.(t)]}),actions:(0,S.jsxs)(BQ,{gap:1,justify:`end`,children:[(0,S.jsx)(_Q,{size:`sm`,label:n.forms.moveUp(p(t)),icon:yv,isDisabled:r===0||e.isPending,onPress:()=>m(t,-1)}),(0,S.jsx)(_Q,{size:`sm`,label:n.forms.moveDown(p(t)),icon:pv,isDisabled:r===d.length-1||e.isPending,onPress:()=>m(t,1)}),(0,S.jsx)(_Q,{size:`sm`,label:n.forms.edit(p(t)),icon:Lb,onPress:()=>s(t)}),(0,S.jsx)(_Q,{size:`sm`,label:n.forms.remove(p(t)),icon:jx,onPress:()=>l(t)})]})}})),_=(0,S.jsx)(q,{icon:Gb,onPress:()=>a(!0),children:n.forms.addField});return(0,S.jsxs)(J,{gap:4,children:[d.length===0&&(0,S.jsx)(o2,{icon:eb,title:n.forms.noFieldsTitle,description:e.words.emptyDescription,...t&&{action:_}}),d.length>0&&(0,S.jsxs)(S.Fragment,{children:[t&&(0,S.jsx)(BQ,{justify:`end`,children:_}),(0,S.jsx)(d1,{label:n.forms.fieldsOf(e.name),columns:h,rows:g})]}),i&&(0,S.jsx)(N7,{set:e,onClose:()=>a(!1)}),o&&(0,S.jsx)(N7,{set:e,field:o,onClose:()=>s(null)}),(0,S.jsx)(r2,{isOpen:c!==null,onOpenChange:e=>!e&&l(null),title:n.forms.removeTitle(u?p(u):``),confirmLabel:n.forms.removeConfirm,cancelLabel:n.editor.cancel,tone:`danger`,isPending:e.isPending,onConfirm:()=>{c&&e.save(f.filter(e=>e.id!==c.id),{onSuccess:()=>X({title:n.forms.removed(p(c)),tone:`success`}),onError:e=>X({title:n.forms.notRemoved,description:P7(e),tone:`danger`}),onSettled:()=>l(null)})},children:e.words.removeDescription})]})}function I7({of:e,onClose:t}){let{close:n,dialog:r}=N6(t),i=Q(),a=dc(),o=fc(),s=i.customFields[e],c=a.data?{name:s.name,fields:f_(a.data[e]),isPending:o.isPending,save:(t,n)=>o.mutate({[e]:t,expectedRevision:a.data.revision},n),canRequire:!1,words:{emptyDescription:s.emptyDescription,nameHelp:i.customFields.nameHelp,removeDescription:i.customFields.removeDescription}}:null;return(0,S.jsx)(wQ,{...r,title:s.title,closeLabel:i.app.dismiss,size:`lg`,footer:(0,S.jsx)(q,{variant:`secondary`,onPress:n,children:i.customFields.close}),children:(0,S.jsxs)(J,{gap:4,children:[(0,S.jsx)(Y,{tone:`secondary`,children:s.help}),a.isPending&&(0,S.jsx)(X5,{shape:`table`}),a.isError&&(0,S.jsx)(Z5,{error:a.error,onRetry:()=>void a.refetch()}),c&&(0,S.jsx)(F7,{set:c,mayChange:!0})]})})}var Qne=50,$ne=e=>e instanceof Error?e.message:String(e);function ere(){let e=Q(),t=Fo(),n=lc(),[r,i]=(0,x.useState)(!1);return t.data===null||t.data===void 0||t.data.role===`author`?(0,S.jsx)(o2,{icon:by,title:e.deals.title,description:e.deals.noAccess}):(0,S.jsxs)(X_,{paddingX:12,paddingY:10,children:[(0,S.jsxs)(J,{gap:6,children:[(0,S.jsx)(d2,{title:e.deals.title,description:e.deals.description,secondary:{moreLabel:e.app.moreActions,actions:[{id:`fields`,label:e.customFields.button,icon:eb,onPress:()=>i(!0)}]}}),n.isPending&&(0,S.jsx)(X5,{shape:`summary`}),n.isError&&(0,S.jsx)(Z5,{error:n.error,onRetry:()=>void n.refetch()}),n.isSuccess&&(0,S.jsx)(tre,{pipeline:n.data})]}),r&&(0,S.jsx)(I7,{of:`deal`,onClose:()=>i(!1)})]})}function tre({pipeline:e}){let t=Q(),n=O6(),r=$5(),i=a7(e.currency),a=qs(),o=pc(),s=Bs({limit:200}),c=Gs(e.stages.map(e=>({stage:e.id,limit:Qne}))),l=p7(),u=Xs(),[d,f]=(0,x.useState)(null),p=c.find(e=>e.isError);if(p)return(0,S.jsx)(Z5,{error:p.error,onRetry:()=>void p.refetch()});if(a.isError)return(0,S.jsx)(Z5,{error:a.error,onRetry:()=>void a.refetch()});if(a.isPending||c.some(e=>e.isPending))return(0,S.jsx)(X5,{shape:`summary`});let m=a.data;if(m.stages.reduce((e,t)=>e+t.count,0)===0)return(0,S.jsx)(o2,{icon:by,title:t.deals.emptyTitle,description:t.deals.emptyDescription,action:(0,S.jsx)(HQ,{href:$.contacts,children:t.deals.toContacts})});let h=new Map((s.data?.items??[]).map(e=>[e.id,e.name??e.email])),g=u.isPending&&u.variables.changes.stage!==void 0?{id:u.variables.id,stage:u.variables.changes.stage}:void 0,_=c.flatMap(e=>e.data?.items??[]),v=new Map(_.map(e=>[e.id,e])),y=e.stages.map((e,a)=>{let o=c[a]?.data?.items??[],s=g?o.filter(e=>e.id!==g.id):o,u=g&&g.stage===e.id?v.get(g.id):void 0,d=u?[u,...s]:s,f=m.stages.find(t=>t.stage===e.id),p=f?.count??0;return{id:e.id,title:r(e),count:i(f?.value??0),tone:e7[e.kind],items:d.map(r=>{let a=h.get(r.contactId),o=l.nameOf(r.about);return{id:r.id,title:r.title,...a!==void 0&&{detail:a},notes:[{text:i(r.value)},...o!==void 0&&o!==r.title?[{text:o}]:[],...r.closeOn!==void 0&&e.kind===`open`?[{text:t.deals.closes(r7(r.closeOn,n))}]:[]]}}),...p>o.length&&{more:t.deals.boardMore(p-o.length)}}});return(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)(PQ,{columns:3,gap:4,children:[(0,S.jsx)(X$,{label:t.deals.open,value:i(m.open),detail:t.deals.openDetail}),(0,S.jsx)(X$,{label:t.deals.forecast,value:i(m.weighted),detail:t.deals.forecastDetail}),(0,S.jsx)(X$,{label:t.deals.won,value:i(m.won),detail:t.deals.wonDetail})]}),e.monthlyTarget!==void 0&&(0,S.jsx)(nre,{pipeline:e,target:e.monthlyTarget}),(0,S.jsx)(T4,{label:t.deals.board,columns:y,emptyText:t.deals.boardEmpty,onOpen:e=>f(v.get(e)??null),moveLabel:t.deals.move,onMove:(n,i)=>{let a=v.get(n);a&&!u.isPending&&u.mutate({id:n,changes:{stage:i,expectedRevision:a.revision}},{onSuccess:()=>X({title:t.deals.moved(a.title,r(e.stages.find(e=>e.id===i))),tone:`success`}),onError:e=>X({title:t.deals.notMoved,description:$ne(e),tone:`danger`})})}}),d&&(0,S.jsx)(_7,{deal:d,contact:{id:d.contactId},pipeline:e,team:o.data??[],onClose:()=>f(null)})]})}function nre({pipeline:e,target:t}){let n=Q(),r=O6(),i=a7(e.currency),a=Ks(e.stages.filter(e=>e.kind===`won`).map(e=>e.id)),o=a.find(e=>e.isError);if(o)return(0,S.jsx)(Z5,{error:o.error,onRetry:()=>void o.refetch()});if(a.some(e=>e.isPending))return(0,S.jsx)(X5,{shape:`summary`});let s=new Date,c=new Date(s.getFullYear(),s.getMonth(),1).getTime(),l=a.flatMap(e=>e.data?.items??[]).filter(e=>e.closedAt!==void 0&&new Date(e.closedAt).getTime()>=c).reduce((e,t)=>e+t.value,0),u=new Intl.DateTimeFormat(r,{month:`long`}).format(s),d=new Intl.NumberFormat(r,{style:`percent`,maximumFractionDigits:0}).format(l/t);return(0,S.jsx)(X_,{surface:`card`,border:!0,radius:`lg`,padding:5,children:(0,S.jsx)(Y1,{label:n.deals.targetLabel(u),value:l,max:t,valueText:n.deals.targetProgress(i(l),i(t),d)})})}var rre=5e3;function ire(e){let t=e.replace(/^\uFEFF/,``),n=t.split(/\r?\n/,1)[0]??``,r=e=>n.split(e).length-1,i=[`,`,`;`,` `].reduce((e,t)=>r(t)>r(e)?t:e,`,`),a=[],o=[],s=``,c=!1,l=()=>{o.push(s.trim()),s=``},u=()=>{l(),o.some(e=>e!==``)&&a.push(o),o=[]};for(let e=0;e<t.length;e+=1){let n=t[e];c?n===`"`?t[e+1]===`"`?(s+=`"`,e+=1):c=!1:s+=n:n===`"`&&s.trim()===``?(s=``,c=!0):n===i?l():n===`